@everymatrix/player-account-controller 1.94.19 → 1.94.21
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-BQJRUNwp.cjs → GeneralLogout-C4zscfCx.cjs} +1 -1
- package/components/{GeneralLogout-CwC7hmDR.js → GeneralLogout-CXb7OdeA.js} +69 -69
- package/components/{GeneralLogout-BzreXekz.js → GeneralLogout-CpE101GN.js} +53 -53
- package/components/{PlayerAccountBettingHistory-iBgxnZ1z.cjs → PlayerAccountBettingHistory-BEC5Dbk4.cjs} +1 -1
- package/components/{PlayerAccountBettingHistory-CpObxK27.js → PlayerAccountBettingHistory-D2UOjGmQ.js} +27 -27
- package/components/{PlayerAccountBettingHistory-t0Tk_p0g.js → PlayerAccountBettingHistory-DdxkAioI.js} +24 -24
- package/components/{PlayerAccountBiometrics-C5OncfaU.js → PlayerAccountBiometrics-BoITt8OK.js} +29 -29
- package/components/{PlayerAccountBiometrics-WqGiexBI.cjs → PlayerAccountBiometrics-CkHgmfP_.cjs} +1 -1
- package/components/{PlayerAccountBiometrics-D7yEbrsq.js → PlayerAccountBiometrics-DufGqDU4.js} +29 -29
- package/components/{PlayerAccountBiometricsAction-uCYyRh_C.js → PlayerAccountBiometricsAction-B5FkZd-r.js} +29 -29
- package/components/{PlayerAccountBiometricsAction-DGkhc1cZ.cjs → PlayerAccountBiometricsAction-CrfbCZc0.cjs} +1 -1
- package/components/{PlayerAccountBiometricsAction-BCPPui38.js → PlayerAccountBiometricsAction-Dpgb3qw8.js} +20 -20
- package/components/{PlayerAccountClosure-Ct4tBOGU.js → PlayerAccountClosure-BkZo4ds8.js} +8 -8
- package/components/{PlayerAccountClosure-CNXw7Sjx.cjs → PlayerAccountClosure-CTVdrvUs.cjs} +1 -1
- package/components/{PlayerAccountClosure-DLFNaf_2.js → PlayerAccountClosure-Rn4rUpUm.js} +24 -24
- package/components/{PlayerAccountController-KqshAWe2.cjs → PlayerAccountController-BBk-9TOg.cjs} +1 -1
- package/components/{PlayerAccountController-BHq1U_O6.js → PlayerAccountController-CO8cZYgr.js} +86 -86
- package/components/{PlayerAccountController-CKZCKQpN.js → PlayerAccountController-DgE57QwT.js} +86 -86
- package/components/{PlayerAccountGamingLimits-BdlTSpsU.cjs → PlayerAccountGamingLimits-B-5nWzRS.cjs} +1 -1
- package/components/{PlayerAccountGamingLimits-C3wWWcGH.js → PlayerAccountGamingLimits-CxpBIVY6.js} +32 -32
- package/components/{PlayerAccountGamingLimits-Z6Ce0MoG.js → PlayerAccountGamingLimits-V927kAz2.js} +30 -30
- package/components/{PlayerAccountGamingLimitsConfirmationModal-Cfk6gWz8.js → PlayerAccountGamingLimitsConfirmationModal-BveODcSU.js} +34 -34
- package/components/{PlayerAccountGamingLimitsConfirmationModal-B7CUyyZF.js → PlayerAccountGamingLimitsConfirmationModal-CG7r6PIK.js} +25 -25
- package/components/{PlayerAccountGamingLimitsConfirmationModal-DI6j94DD.cjs → PlayerAccountGamingLimitsConfirmationModal-CJgeqRLo.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsGroupEdit-qUGWNtii.cjs → PlayerAccountGamingLimitsGroupEdit-Cyu-XItn.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsGroupEdit-aCJcxI7C.js → PlayerAccountGamingLimitsGroupEdit-DXbMOl6-.js} +47 -47
- package/components/{PlayerAccountGamingLimitsGroupEdit-CoF5dXFM.js → PlayerAccountGamingLimitsGroupEdit-vujLn0t-.js} +47 -47
- package/components/{PlayerAccountGamingLimitsHistory2-D4p6d8iD.js → PlayerAccountGamingLimitsHistory2-C1J6OpLl.js} +35 -35
- package/components/{PlayerAccountGamingLimitsHistory2-5ux43rb0.cjs → PlayerAccountGamingLimitsHistory2-C6HksI_l.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsHistory2-D6yYPKgO.js → PlayerAccountGamingLimitsHistory2-ch2erx5S.js} +45 -45
- package/components/{PlayerAccountGamingLimitsInfoCard-DBbFlq2N.cjs → PlayerAccountGamingLimitsInfoCard-C-DFY5Ok.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsInfoCard-DD4VF0x7.js → PlayerAccountGamingLimitsInfoCard-C17cmXa_.js} +4 -4
- package/components/{PlayerAccountGamingLimitsInfoCard-DimpOAgW.js → PlayerAccountGamingLimitsInfoCard-g7I5qkLj.js} +4 -4
- package/components/{PlayerAccountGamingLimitsPage2Gm16-ByAD5XkL.js → PlayerAccountGamingLimitsPage2Gm16-5DbisV99.js} +105 -105
- package/components/{PlayerAccountGamingLimitsPage2Gm16-Cd6aLvED.cjs → PlayerAccountGamingLimitsPage2Gm16-BD2PAPr7.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsPage2Gm16-39Ko_0bM.js → PlayerAccountGamingLimitsPage2Gm16-vkWd1ihI.js} +1 -1
- package/components/{PlayerAccountGamingLimitsPopup-DpKQITZC.js → PlayerAccountGamingLimitsPopup-7JDTXTtQ.js} +19 -19
- package/components/{PlayerAccountGamingLimitsPopup-BLjM3dul.js → PlayerAccountGamingLimitsPopup-CBrl659u.js} +15 -15
- package/components/{PlayerAccountGamingLimitsPopup-BIRVIt7t.cjs → PlayerAccountGamingLimitsPopup-CvgPjhi-.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsWrapper2-o3uvZC1a.cjs → PlayerAccountGamingLimitsWrapper2-Bm2vuvTx.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsWrapper2-Bxh1v-ks.js → PlayerAccountGamingLimitsWrapper2-DWD-0F-D.js} +58 -58
- package/components/{PlayerAccountGamingLimitsWrapper2-D0oOCM5A.js → PlayerAccountGamingLimitsWrapper2-jQr15q3J.js} +54 -54
- package/components/{PlayerAccountGeneralConfirmationModal-Dbpjs0ok.cjs → PlayerAccountGeneralConfirmationModal-B_cFWoG1.cjs} +1 -1
- package/components/{PlayerAccountGeneralConfirmationModal-v1VPRGeY.js → PlayerAccountGeneralConfirmationModal-Bnwi7Hps.js} +38 -38
- package/components/{PlayerAccountGeneralConfirmationModal-XrxuJU94.js → PlayerAccountGeneralConfirmationModal-D7km7Zog.js} +35 -35
- package/components/{PlayerAccountMenu-D3ydI3e0.js → PlayerAccountMenu-7UYVqYH-.js} +23 -23
- package/components/{PlayerAccountMenu-p1bTKU9o.cjs → PlayerAccountMenu-CBhFGN5v.cjs} +1 -1
- package/components/{PlayerAccountMenu-DOwnMfBp.js → PlayerAccountMenu-D-jM_PCb.js} +23 -23
- package/components/{PlayerAccountModal-nLc5W2X1.cjs → PlayerAccountModal-BQZExMfG.cjs} +1 -1
- package/components/{PlayerAccountModal-DM8MYI4c.js → PlayerAccountModal-BxFPmZIg.js} +51 -51
- package/components/{PlayerAccountModal-CPowwN-K.js → PlayerAccountModal-InDwj5CZ.js} +55 -55
- package/components/{PlayerAccountNotifications-D2o0B9mY.js → PlayerAccountNotifications-BKQa6iL8.js} +29 -29
- package/components/{PlayerAccountNotifications-Bclx6LlP.cjs → PlayerAccountNotifications-C7bklpfG.cjs} +1 -1
- package/components/{PlayerAccountNotifications-BLDWrrxI.js → PlayerAccountNotifications-kDZBI187.js} +88 -88
- package/components/{PlayerAccountProductRestriction-DcrSkVJ-.cjs → PlayerAccountProductRestriction-B2pinL7l.cjs} +1 -1
- package/components/{PlayerAccountProductRestriction-CArQTQHH.js → PlayerAccountProductRestriction-CFIjlnOX.js} +3 -3
- package/components/{PlayerAccountProductRestriction-DHxrM48h.js → PlayerAccountProductRestriction-DbEkMKO3.js} +3 -3
- package/components/{PlayerAccountReviewFrequency-210Gkzzk.js → PlayerAccountReviewFrequency-BYWEOhzw.js} +30 -30
- package/components/{PlayerAccountReviewFrequency-maIKojuS.cjs → PlayerAccountReviewFrequency-DMwFO_R2.cjs} +1 -1
- package/components/{PlayerAccountReviewFrequency-BmQDh8wI.js → PlayerAccountReviewFrequency-DjERKwb7.js} +31 -31
- package/components/{PlayerAccountSelfExclusion-CPbHgqgm.js → PlayerAccountSelfExclusion-BM_tkQy1.js} +99 -99
- package/components/{PlayerAccountSelfExclusion-QhkNBndX.js → PlayerAccountSelfExclusion-Byk2bLi5.js} +86 -86
- package/components/{PlayerAccountSelfExclusion-BbGponGq.cjs → PlayerAccountSelfExclusion-CMk-HM8u.cjs} +1 -1
- package/components/{PlayerAccountTimeout-CQadGV2a.js → PlayerAccountTimeout-B52QzMyN.js} +3 -3
- package/components/{PlayerAccountTimeout-CbSDcsVh.cjs → PlayerAccountTimeout-BKqM9z9S.cjs} +2 -2
- package/components/{PlayerAccountTimeout-BEQ_XL2r.js → PlayerAccountTimeout-CvNSJCuP.js} +3 -3
- package/components/{PlayerAccountTransactionsHistory-BcG6cSUz.js → PlayerAccountTransactionsHistory-Ct9bbtaS.js} +36 -36
- package/components/{PlayerAccountTransactionsHistory-BgeA2OaG.js → PlayerAccountTransactionsHistory-DfYoqbPR.js} +35 -35
- package/components/{PlayerAccountTransactionsHistory-DLYk17GI.cjs → PlayerAccountTransactionsHistory-vlF8HWQr.cjs} +1 -1
- package/components/{PlayerActiveBonuses-Dg7d3EXi.js → PlayerActiveBonuses-C5pOksPm.js} +539 -509
- package/components/{PlayerActiveBonuses-DVytvabF.js → PlayerActiveBonuses-DYEcrFhQ.js} +544 -514
- package/components/PlayerActiveBonuses-iTkyXHsD.cjs +5 -0
- package/components/{PlayerBonusCard-C-E_7PSB.js → PlayerBonusCard-Bggf2jM-.js} +252 -238
- package/components/{PlayerBonusCard-CSj1XzDi.js → PlayerBonusCard-CVByVySk.js} +249 -235
- package/components/PlayerBonusCard-DgHQKXJE.cjs +1 -0
- package/components/{PlayerBonusHistory-BSDft0iY.js → PlayerBonusHistory-A1LztGVe.js} +1941 -1910
- package/components/{PlayerBonusHistory-BNlbASad.cjs → PlayerBonusHistory-Cvq_m9mr.cjs} +252 -252
- package/components/{PlayerBonusHistory-CMGvjo7T.js → PlayerBonusHistory-vvCROk6P.js} +1924 -1893
- package/components/{PlayerChangePassword-CDPtd1y2.js → PlayerChangePassword-BpW3ZGPE.js} +71 -71
- package/components/{PlayerChangePassword-CN2nSbTu.cjs → PlayerChangePassword-Ck2ADweJ.cjs} +1 -1
- package/components/{PlayerChangePassword-CjdAhIqW.js → PlayerChangePassword-DfLb_jZA.js} +71 -71
- package/components/{PlayerDeposit-BtS34PMd.cjs → PlayerDeposit-CCzkiEdB.cjs} +1 -1
- package/components/{PlayerDeposit-C9DlPi5i.js → PlayerDeposit-CpU80gtj.js} +28 -28
- package/components/{PlayerDeposit-BOHnESfn.js → PlayerDeposit-HbzBoc73.js} +24 -24
- package/components/{PlayerGamingHistory-BDVH_6B8.cjs → PlayerGamingHistory-C-1-WJwY.cjs} +1 -1
- package/components/{PlayerGamingHistory-C6WWw2cc.js → PlayerGamingHistory-D7i_K4mx.js} +94 -94
- package/components/{PlayerGamingHistory-Da-Wan4y.js → PlayerGamingHistory-DpSeY1cI.js} +114 -114
- package/components/{PlayerPendingWithdrawals-CgdF4Q07.cjs → PlayerPendingWithdrawals-BubG3Pn4.cjs} +1 -1
- package/components/{PlayerPendingWithdrawals-BH2fv9D2.js → PlayerPendingWithdrawals-BwdyTHVG.js} +30 -30
- package/components/{PlayerPendingWithdrawals-Bbokp3YM.js → PlayerPendingWithdrawals-C9gR_Y0d.js} +34 -34
- package/components/{PlayerProfileInfo-CtQg5U2I.js → PlayerProfileInfo-C5By7H5W.js} +364 -364
- package/components/{PlayerProfileInfo-BrN8d1L_.cjs → PlayerProfileInfo-DNlp4qra.cjs} +1 -1
- package/components/{PlayerProfileInfo-Cl33NXNc.js → PlayerProfileInfo-DerxJF3S.js} +342 -342
- package/components/{PlayerRealityCheck-maFkRSmz.js → PlayerRealityCheck-1wRbKOda.js} +55 -55
- package/components/{PlayerRealityCheck-CH6yW7w0.js → PlayerRealityCheck-CQS6Dta8.js} +54 -54
- package/components/{PlayerRealityCheck-DFyTdthH.cjs → PlayerRealityCheck-DrzWTJ0l.cjs} +1 -1
- package/components/{PlayerTransactionHistory-jPhM6ytU.js → PlayerTransactionHistory-BIxhXd3Y.js} +44 -44
- package/components/{PlayerTransactionHistory-BxyX6ai9.js → PlayerTransactionHistory-DSCZ7OVe.js} +31 -31
- package/components/{PlayerTransactionHistory-B8UFaIzM.cjs → PlayerTransactionHistory-DlRKQ_LH.cjs} +1 -1
- package/components/{PlayerWithdrawal-Crv6enga.cjs → PlayerWithdrawal-B5lYxcpO.cjs} +1 -1
- package/components/{PlayerWithdrawal-CKHK7F5l.js → PlayerWithdrawal-B8PG-Cig.js} +25 -25
- package/components/{PlayerWithdrawal-D2BakJra.js → PlayerWithdrawal-zFpUyw_q.js} +25 -25
- package/components/{QrSessionGenerator-DHB2Qsq3.cjs → QrSessionGenerator-BeNaNuyX.cjs} +1 -1
- package/components/{QrSessionGenerator-CYedw5yt.js → QrSessionGenerator-ChEh7Qwb.js} +37 -37
- package/components/{QrSessionGenerator-DiPVWwLx.js → QrSessionGenerator-DuxpFDzg.js} +48 -48
- package/es2015/player-account-controller.cjs +1 -1
- 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-BMVEaVtV.js → checkbox-group-input_16-BzEg4TpU.js} +3 -3
- package/stencil/{checkbox-group-input_16-C6fU4lxi.js → checkbox-group-input_16-nRSc7WyI.js} +3 -3
- package/stencil/{index-7469517b-BFmBiraV.js → index-7469517b-B-IR-z1N.js} +1 -1
- package/stencil/{index-7469517b-CCwm-ipO.js → index-7469517b-C42JdpYE.js} +1 -1
- package/stencil/{pam-change-password-259289fa-DJ_lsyvr.js → pam-change-password-259289fa-CkW8tAwL.js} +3 -3
- package/stencil/{pam-change-password-259289fa-B_ApylOR.js → pam-change-password-259289fa-DS0Y7TKw.js} +3 -3
- package/stencil/{pam-change-password-DH0owsL8.js → pam-change-password-Cd7FdKp2.js} +1 -1
- package/stencil/{pam-change-password-BOIp7Ttz.js → pam-change-password-Fz6dpHWP.js} +1 -1
- package/components/PlayerActiveBonuses-B0BbnzpT.cjs +0 -5
- package/components/PlayerBonusCard-CI-sAhBx.cjs +0 -1
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { a as J, $ as K, S as Q, i as X, s as Y, f as h, b as Z, _ as $, d as S, w as ee, V as te, W as ne, a0 as oe, a1 as ae, a2 as re, u as E, e as j, p as d, x as L, g as _, q as z, v as T, t as i, h as ie, j as le, o as se, k as ce, n as me, y as W, B as fe, C as de, D as ue, c as be, A as ge } from "./PlayerAccountController-DgE57QwT.js";
|
|
2
2
|
function N(n, e) {
|
|
3
|
-
|
|
3
|
+
J(n, e);
|
|
4
4
|
}
|
|
5
5
|
function he(n) {
|
|
6
|
-
|
|
6
|
+
K.set(n);
|
|
7
7
|
}
|
|
8
8
|
const P = {
|
|
9
9
|
en: {
|
|
@@ -54,7 +54,7 @@ const P = {
|
|
|
54
54
|
function Ce(n) {
|
|
55
55
|
Z(n, "svelte-8g0wf4", '*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.GeneralConfirmationWrapper{position:fixed;top:0;right:0;bottom:0;left:0;background-color:var(--emw--color-background, rgba(0, 0, 0, 0.7));display:flex;justify-content:center;align-items:center;z-index:300;color:var(--emw--color-typography, #ffffff)}.GeneralConfirmationTitle{margin-bottom:20px}.GeneralConfirmationContainer{position:relative;background:linear-gradient(to right, var(--emw--color-primary-variant, #184026), var(--emw--color-secondary-variant, #013e5c));border:5px solid transparent;padding:60px 30px 30px;background-clip:padding-box;border-radius:var(--emw--border-radius-medium, 10px);text-align:center}.GeneralConfirmationContainer::before{content:"";position:absolute;top:-4px;left:-8px;width:103%;height:105%;z-index:-1;background:linear-gradient(to right, var(--emw--color-primary, #22b04e), color-mix(in srgb, var(--emw--color-secondary, #e98b0f) 80%, black 20%), #22b04e);opacity:0.5;border-radius:inherit;filter:blur(6px)}.GeneralConfirmationContainer::after{position:absolute;top:-4px;bottom:-4px;left:-4px;right:-4px;background:linear-gradient(to right, color-mix(in srgb, var(--emw--color-primary-variant, #184026) 80%, white 10%), color-mix(in srgb, var(--emw--color-secondary-variant, #013e5c) 80%, white 10%));content:"";z-index:-1;border-radius:var(--emw--border-radius-medium, 10px)}.GeneralConfirmationContainerMobile{padding:40px;max-width:330px}.GeneralConfirmationContainerMobile .GeneralConfirmationControlAreaMobile .GeneralCancelButton,.GeneralConfirmationContainerMobile .GeneralConfirmationControlAreaMobile .GeneralConfirmButton{width:120px;height:auto;font-size:var(--emw--font-size-x-small, 12px)}.GeneralConfirmationContent{font-size:var(--emw--font-size-medium, 18px);font-weight:300}.GeneralConfirmationControlArea{display:flex;gap:10px;direction:ltr;margin-top:30px}.GeneralConfirmationControlArea .GeneralCancelButton,.GeneralConfirmationControlArea .GeneralConfirmButton{flex:1;background:transparent;border:1px solid var(--emw--color-gray-100, #bfcbc3);color:var(--emw--color-gray-100, #bfcbc3);cursor:pointer;border-radius:var(--emw--button-border-radius, 50px);width:200px;height:50px;font-size:var(--emw--font-size-small, 16px);text-transform:uppercase;text-align:center;transition-duration:0.3s;box-sizing:border-box;padding:10px}.GeneralConfirmationControlArea .GeneralConfirmButton{background-color:var(--emw--color-primary, #22b04e);border:2px solid var(--emw--button-border-color, #063b17);border-radius:var(--emw--button-border-radius, 50px);color:var(--emw--button-typography, var(--emw--button-text-color, #ffffff))}.ModalCloseBtn{position:absolute;display:flex;align-items:center;justify-content:center;top:5px;right:5px;padding:8px;border-radius:50%;cursor:pointer;transition:all 150ms ease-in-out}.ModalCloseBtn svg{width:35px;height:40px}.ModalCloseBtn:hover{background:rgba(255, 255, 255, 0.2)}.GeneralConfirmationMobileWrapper{border:none;padding:0}');
|
|
56
56
|
}
|
|
57
|
-
const pe = (n) => ({}),
|
|
57
|
+
const pe = (n) => ({}), q = (n) => ({});
|
|
58
58
|
function xe(n) {
|
|
59
59
|
let e, t;
|
|
60
60
|
return {
|
|
@@ -62,7 +62,7 @@ function xe(n) {
|
|
|
62
62
|
e = W("svg"), t = W("path"), i(t, "stroke-linecap", "round"), i(t, "stroke-linejoin", "round"), i(t, "stroke-width", "2"), i(t, "d", "M6 18L18 6M6 6l12 12"), i(e, "class", "w-6 h-6"), i(e, "fill", "none"), i(e, "stroke", "currentColor"), i(e, "viewBox", "0 0 24 24"), i(e, "xmlns", "http://www.w3.org/2000/svg");
|
|
63
63
|
},
|
|
64
64
|
m(r, l) {
|
|
65
|
-
|
|
65
|
+
j(r, e, l), d(e, t);
|
|
66
66
|
},
|
|
67
67
|
p: me,
|
|
68
68
|
d(r) {
|
|
@@ -70,17 +70,17 @@ function xe(n) {
|
|
|
70
70
|
}
|
|
71
71
|
};
|
|
72
72
|
}
|
|
73
|
-
function
|
|
73
|
+
function D(n) {
|
|
74
74
|
let e, t, r;
|
|
75
75
|
return {
|
|
76
76
|
c() {
|
|
77
|
-
e = _("div"), t = _("h2"), r =
|
|
77
|
+
e = _("div"), t = _("h2"), r = T(
|
|
78
78
|
/*modaltitle*/
|
|
79
79
|
n[1]
|
|
80
80
|
), i(e, "class", "GeneralConfirmationTitle");
|
|
81
81
|
},
|
|
82
82
|
m(l, u) {
|
|
83
|
-
|
|
83
|
+
j(l, e, u), d(e, t), d(t, r);
|
|
84
84
|
},
|
|
85
85
|
p(l, u) {
|
|
86
86
|
u & /*modaltitle*/
|
|
@@ -95,17 +95,17 @@ function q(n) {
|
|
|
95
95
|
}
|
|
96
96
|
};
|
|
97
97
|
}
|
|
98
|
-
function
|
|
98
|
+
function H(n) {
|
|
99
99
|
let e, t = (
|
|
100
100
|
/*$_*/
|
|
101
101
|
n[4]("cancel") + ""
|
|
102
102
|
), r, l, u;
|
|
103
103
|
return {
|
|
104
104
|
c() {
|
|
105
|
-
e = _("button"), r =
|
|
105
|
+
e = _("button"), r = T(t), i(e, "class", "GeneralCancelButton");
|
|
106
106
|
},
|
|
107
107
|
m(f, v) {
|
|
108
|
-
|
|
108
|
+
j(f, e, v), d(e, r), l || (u = L(
|
|
109
109
|
e,
|
|
110
110
|
"click",
|
|
111
111
|
/*click_handler*/
|
|
@@ -135,32 +135,32 @@ function ve(n) {
|
|
|
135
135
|
n,
|
|
136
136
|
/*$$scope*/
|
|
137
137
|
n[16],
|
|
138
|
-
|
|
138
|
+
q
|
|
139
139
|
), x = s || xe();
|
|
140
140
|
let c = (
|
|
141
141
|
/*modaltitle*/
|
|
142
|
-
n[1] &&
|
|
142
|
+
n[1] && D(n)
|
|
143
143
|
), m = (
|
|
144
144
|
/*hascancelbutton*/
|
|
145
|
-
n[2] &&
|
|
145
|
+
n[2] && H(n)
|
|
146
146
|
);
|
|
147
147
|
return {
|
|
148
148
|
c() {
|
|
149
|
-
e = _("div"), t = _("div"), r = _("span"), x && x.c(), l = z(), c && c.c(), u = z(), f = _("div"), v = z(), C = _("div"), m && m.c(), y = z(), p = _("button"), k =
|
|
149
|
+
e = _("div"), t = _("div"), r = _("span"), x && x.c(), l = z(), c && c.c(), u = z(), f = _("div"), v = z(), C = _("div"), m && m.c(), y = z(), p = _("button"), k = T(w), i(r, "class", "ModalCloseBtn"), i(r, "role", "button"), i(f, "class", "GeneralConfirmationContent"), i(p, "class", "GeneralConfirmButton"), i(C, "class", "GeneralConfirmationControlArea " + /*isMobile*/
|
|
150
150
|
(n[5] ? "GeneralConfirmationControlAreaMobile" : "")), i(t, "class", "GeneralConfirmationContainer " + /*isMobile*/
|
|
151
151
|
(n[5] ? "GeneralConfirmationContainerMobile" : "")), i(e, "class", "GeneralConfirmationWrapper " + /*isMobile*/
|
|
152
152
|
(n[5] ? "GeneralConfirmationMobileWrapper" : ""));
|
|
153
153
|
},
|
|
154
154
|
m(a, g) {
|
|
155
|
-
|
|
155
|
+
j(a, e, g), d(e, t), d(t, r), x && x.m(r, null), d(t, l), c && c.m(t, null), d(t, u), d(t, f), f.innerHTML = /*modaltext*/
|
|
156
156
|
n[0], d(t, v), d(t, C), m && m.m(C, null), d(C, y), d(C, p), d(p, k), n[20](e), b = !0, G || (A = [
|
|
157
|
-
|
|
157
|
+
L(
|
|
158
158
|
r,
|
|
159
159
|
"click",
|
|
160
160
|
/*close*/
|
|
161
161
|
n[6]
|
|
162
162
|
),
|
|
163
|
-
|
|
163
|
+
L(
|
|
164
164
|
p,
|
|
165
165
|
"click",
|
|
166
166
|
/*click_handler_1*/
|
|
@@ -186,12 +186,12 @@ function ve(n) {
|
|
|
186
186
|
/*$$scope*/
|
|
187
187
|
a[16]
|
|
188
188
|
),
|
|
189
|
-
|
|
189
|
+
q
|
|
190
190
|
), /*modaltitle*/
|
|
191
|
-
a[1] ? c ? c.p(a, g) : (c =
|
|
191
|
+
a[1] ? c ? c.p(a, g) : (c = D(a), c.c(), c.m(t, u)) : c && (c.d(1), c = null), (!b || g & /*modaltext*/
|
|
192
192
|
1) && (f.innerHTML = /*modaltext*/
|
|
193
193
|
a[0]), /*hascancelbutton*/
|
|
194
|
-
a[2] ? m ? m.p(a, g) : (m =
|
|
194
|
+
a[2] ? m ? m.p(a, g) : (m = H(a), m.c(), m.m(C, y)) : m && (m.d(1), m = null), (!b || g & /*$_*/
|
|
195
195
|
16) && w !== (w = /*$_*/
|
|
196
196
|
a[4]("confirm") + "") && E(k, w);
|
|
197
197
|
},
|
|
@@ -222,10 +222,10 @@ function _e(n, e, t) {
|
|
|
222
222
|
composed: !0
|
|
223
223
|
}
|
|
224
224
|
)), o === "cancel" && p && s.dispatchEvent(new CustomEvent(p, { bubbles: !0, composed: !0 })), a();
|
|
225
|
-
},
|
|
225
|
+
}, R = () => {
|
|
226
226
|
fetch(A).then((B) => B.json()).then((B) => {
|
|
227
|
-
Object.keys(B).forEach((
|
|
228
|
-
N(
|
|
227
|
+
Object.keys(B).forEach((O) => {
|
|
228
|
+
N(O, B[O]);
|
|
229
229
|
});
|
|
230
230
|
}).catch((B) => {
|
|
231
231
|
console.log(B);
|
|
@@ -234,13 +234,13 @@ function _e(n, e, t) {
|
|
|
234
234
|
Object.keys(P).forEach((o) => {
|
|
235
235
|
N(o, P[o]);
|
|
236
236
|
});
|
|
237
|
-
const
|
|
237
|
+
const U = () => {
|
|
238
238
|
he(k);
|
|
239
239
|
};
|
|
240
240
|
se(() => () => {
|
|
241
241
|
});
|
|
242
|
-
const
|
|
243
|
-
function
|
|
242
|
+
const I = () => g("cancel"), V = () => g("confirm");
|
|
243
|
+
function F(o) {
|
|
244
244
|
ce[o ? "unshift" : "push"](() => {
|
|
245
245
|
s = o, t(3, s);
|
|
246
246
|
});
|
|
@@ -249,11 +249,11 @@ function _e(n, e, t) {
|
|
|
249
249
|
"modaltext" in o && t(0, f = o.modaltext), "modaltitle" in o && t(1, v = o.modaltitle), "hascancelbutton" in o && t(2, C = o.hascancelbutton), "modalconfirmevent" in o && t(8, y = o.modalconfirmevent), "modalcancelevent" in o && t(9, p = o.modalcancelevent), "modalconfirmdata" in o && t(10, w = o.modalconfirmdata), "lang" in o && t(11, k = o.lang), "clientstyling" in o && t(12, b = o.clientstyling), "clientstylingurl" in o && t(13, G = o.clientstylingurl), "translationurl" in o && t(14, A = o.translationurl), "mbsource" in o && t(15, M = o.mbsource), "$$scope" in o && t(16, u = o.$$scope);
|
|
250
250
|
}, n.$$.update = () => {
|
|
251
251
|
n.$$.dirty & /*modaltext, lang*/
|
|
252
|
-
2049 && f && k &&
|
|
252
|
+
2049 && f && k && U(), n.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
253
253
|
4104 && b && s && fe(s, b), n.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
254
254
|
8200 && G && s && de(s, G), n.$$.dirty & /*mbsource, customStylingContainer*/
|
|
255
255
|
32776 && M && s && ue(s, `${M}.Style`, x), n.$$.dirty & /*translationurl*/
|
|
256
|
-
16384 && A &&
|
|
256
|
+
16384 && A && R();
|
|
257
257
|
}, [
|
|
258
258
|
f,
|
|
259
259
|
v,
|
|
@@ -273,19 +273,19 @@ function _e(n, e, t) {
|
|
|
273
273
|
M,
|
|
274
274
|
u,
|
|
275
275
|
l,
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
276
|
+
I,
|
|
277
|
+
V,
|
|
278
|
+
F
|
|
279
279
|
];
|
|
280
280
|
}
|
|
281
|
-
class ye extends
|
|
281
|
+
class ye extends Q {
|
|
282
282
|
constructor(e) {
|
|
283
|
-
super(),
|
|
283
|
+
super(), X(
|
|
284
284
|
this,
|
|
285
285
|
e,
|
|
286
286
|
_e,
|
|
287
287
|
ve,
|
|
288
|
-
|
|
288
|
+
Y,
|
|
289
289
|
{
|
|
290
290
|
modaltext: 0,
|
|
291
291
|
modaltitle: 1,
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { a as me, $ as ge, S as de, i as fe, f as F, s as ye, c as pe, b as he, n as j, d as C, e as L, g as b, h as be, j as V, o as Ae, k as Me, l as S, m as ee, p as a, q as I, r as m, t as g, u as T, v as H, w as Pe, x as z, y as W, z as X, A as we, B as ve, C as _e, D as ke } from "./PlayerAccountController-DgE57QwT.js";
|
|
2
2
|
import "../stencil/ui-skeleton-DNuG5l9W.js";
|
|
3
|
-
function
|
|
3
|
+
function Z(n, e) {
|
|
4
4
|
me(n, e);
|
|
5
5
|
}
|
|
6
6
|
function xe(n) {
|
|
7
7
|
ge.set(n);
|
|
8
8
|
}
|
|
9
|
-
const
|
|
9
|
+
const J = {
|
|
10
10
|
en: {
|
|
11
11
|
title: "My Account"
|
|
12
12
|
},
|
|
@@ -53,18 +53,18 @@ if (typeof window < "u") {
|
|
|
53
53
|
}
|
|
54
54
|
};
|
|
55
55
|
};
|
|
56
|
-
customElements.define = n(customElements.define), import("./GeneralLogout-
|
|
56
|
+
customElements.define = n(customElements.define), import("./GeneralLogout-CXb7OdeA.js").then(({ default: e }) => {
|
|
57
57
|
!customElements.get("general-logout") && customElements.define("general-logout", e.element);
|
|
58
58
|
});
|
|
59
59
|
}
|
|
60
60
|
function Ie(n) {
|
|
61
61
|
he(n, "svelte-5g0xrl", ".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;animation-name:fadeIn;animation-iteration-count:1;animation-timing-function:ease-in;animation-duration:0.3s}.PlayerAccountMenuContainer .PlayerAccountMenuItemWrapper{margin:0;word-break:break-all;display:flex;align-items:center}.PlayerAccountMenuContainer .PlayerAccountMenuItemWrapper span{display:flex;align-items:center}.PlayerAccountMenuContainer .skeletonLogOut{width:100%}.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;height:20px;padding-top:unset}.PlayerAccountMenuItemBox .PlayerAccountMenuItemIconMobile{width:30px;height: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);min-height:900px}.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)}.PlayerAccountItemWrap{display:flex;gap:20px;padding:16px 20px}.PlayerAccountItemWrap.PlayerAccountItemWrapMobile{flex-wrap:wrap;flex:0 0 33.3333%;padding:0;gap:10px}.PlayerAccountItemWrap.PlayerAccountItemWrapMobile ui-skeleton{width:100%}.PlayerAccountItemWrap ui-skeleton:last-child{flex:1}.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, #22B04E));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, #22B04E));border-bottom:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.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}@keyframes fadeIn{0%{opacity:0.01}1%{opacity:0}50%{opacity:0}100%{opacity:1}}");
|
|
62
62
|
}
|
|
63
|
-
function
|
|
63
|
+
function K(n, e, t) {
|
|
64
64
|
const l = n.slice();
|
|
65
65
|
return l[40] = e[t], l;
|
|
66
66
|
}
|
|
67
|
-
function
|
|
67
|
+
function Q(n, e, t) {
|
|
68
68
|
const l = n.slice();
|
|
69
69
|
return l[37] = e[t], l;
|
|
70
70
|
}
|
|
@@ -80,7 +80,7 @@ function Fe(n) {
|
|
|
80
80
|
n[7]
|
|
81
81
|
), r = [];
|
|
82
82
|
for (let y = 0; y < f.length; y += 1)
|
|
83
|
-
r[y] = K(
|
|
83
|
+
r[y] = Y(K(n, f, y));
|
|
84
84
|
let k = !/*isMobile*/
|
|
85
85
|
n[12] && Be(n);
|
|
86
86
|
return {
|
|
@@ -127,8 +127,8 @@ function Fe(n) {
|
|
|
127
127
|
);
|
|
128
128
|
let _;
|
|
129
129
|
for (_ = 0; _ < f.length; _ += 1) {
|
|
130
|
-
const B =
|
|
131
|
-
r[_] ? r[_].p(B, v) : (r[_] =
|
|
130
|
+
const B = K(y, f, _);
|
|
131
|
+
r[_] ? r[_].p(B, v) : (r[_] = Y(B), r[_].c(), r[_].m(h, null));
|
|
132
132
|
}
|
|
133
133
|
for (; _ < r.length; _ += 1)
|
|
134
134
|
r[_].d(1);
|
|
@@ -148,7 +148,7 @@ function Ce(n) {
|
|
|
148
148
|
n[12] && We()
|
|
149
149
|
), P = S(Array(18)), u = [];
|
|
150
150
|
for (let c = 0; c < P.length; c += 1)
|
|
151
|
-
u[c] = $(
|
|
151
|
+
u[c] = $(Q(n, P, c));
|
|
152
152
|
return {
|
|
153
153
|
c() {
|
|
154
154
|
e = b("div"), t = b("div"), h && h.c(), l = I(), i = b("ui-skeleton"), s = I(), d = b("ui-skeleton"), p = I(), A = b("div");
|
|
@@ -170,7 +170,7 @@ function Ce(n) {
|
|
|
170
170
|
P = S(Array(18));
|
|
171
171
|
let r;
|
|
172
172
|
for (r = 0; r < P.length; r += 1) {
|
|
173
|
-
const k =
|
|
173
|
+
const k = Q(c, P, r);
|
|
174
174
|
u[r] ? u[r].p(k, f) : (u[r] = $(k), u[r].c(), u[r].m(A, null));
|
|
175
175
|
}
|
|
176
176
|
for (; r < u.length; r += 1)
|
|
@@ -194,13 +194,13 @@ function Le(n) {
|
|
|
194
194
|
},
|
|
195
195
|
m(f, r) {
|
|
196
196
|
L(f, e, r), a(e, t), a(t, l), a(l, i), a(i, s), a(t, d), a(d, p), a(p, A), a(e, w), a(e, M), a(M, P), u || (c = [
|
|
197
|
-
|
|
197
|
+
z(
|
|
198
198
|
t,
|
|
199
199
|
"click",
|
|
200
200
|
/*goToHome*/
|
|
201
201
|
n[14]
|
|
202
202
|
),
|
|
203
|
-
|
|
203
|
+
z(
|
|
204
204
|
M,
|
|
205
205
|
"click",
|
|
206
206
|
/*goToHome*/
|
|
@@ -290,7 +290,7 @@ function Ee(n) {
|
|
|
290
290
|
}
|
|
291
291
|
};
|
|
292
292
|
}
|
|
293
|
-
function
|
|
293
|
+
function Y(n) {
|
|
294
294
|
let e, t, l, i, s, d, p = (
|
|
295
295
|
/*menuItem*/
|
|
296
296
|
n[40].label + ""
|
|
@@ -314,7 +314,7 @@ function K(n) {
|
|
|
314
314
|
n[12] ? "PlayerAccountMenuActiveItemBox" : ""));
|
|
315
315
|
},
|
|
316
316
|
m(c, f) {
|
|
317
|
-
L(c, e, f), a(e, t), a(t, l), a(t, s), a(t, d), a(d, A), a(e, w), h || (P =
|
|
317
|
+
L(c, e, f), a(e, t), a(t, l), a(t, s), a(t, d), a(d, A), a(e, w), h || (P = z(e, "click", u), h = !0);
|
|
318
318
|
},
|
|
319
319
|
p(c, f) {
|
|
320
320
|
n = c, f[0] & /*menuItems*/
|
|
@@ -448,7 +448,7 @@ function $(n) {
|
|
|
448
448
|
m(d, p) {
|
|
449
449
|
L(d, e, p), s && s.m(e, null), a(e, t), a(e, l), a(e, i);
|
|
450
450
|
},
|
|
451
|
-
p:
|
|
451
|
+
p: j,
|
|
452
452
|
d(d) {
|
|
453
453
|
d && C(e), s && s.d();
|
|
454
454
|
}
|
|
@@ -473,8 +473,8 @@ function Se(n) {
|
|
|
473
473
|
p(s, d) {
|
|
474
474
|
l === (l = t(s)) && i ? i.p(s, d) : (i.d(1), i = l(s), i && (i.c(), i.m(e, null)));
|
|
475
475
|
},
|
|
476
|
-
i:
|
|
477
|
-
o:
|
|
476
|
+
i: j,
|
|
477
|
+
o: j,
|
|
478
478
|
d(s) {
|
|
479
479
|
s && C(e), i.d(), n[25](null);
|
|
480
480
|
}
|
|
@@ -483,19 +483,19 @@ function Se(n) {
|
|
|
483
483
|
function Te(n, e, t) {
|
|
484
484
|
let l;
|
|
485
485
|
be(n, we, (o) => t(11, l = o));
|
|
486
|
-
let { endpoint: i = "" } = e, { cmsendpoint: s = "" } = e, { env: d = "" } = e, { session: p = "" } = e, { playerid: A = "" } = e, { lang: w = "en" } = e, { userroles: M = "" } = e, { clientstyling: h = "" } = e, { clientstylingurl: P = "" } = e, { translationurl: u = "" } = e, { activemenuitem: c = "" } = e, { mbsource: f } = e, r = !1, k = !1, y = !0, v, _, B = [], O,
|
|
486
|
+
let { endpoint: i = "" } = e, { cmsendpoint: s = "" } = e, { env: d = "" } = e, { session: p = "" } = e, { playerid: A = "" } = e, { lang: w = "en" } = e, { userroles: M = "" } = e, { clientstyling: h = "" } = e, { clientstylingurl: P = "" } = e, { translationurl: u = "" } = e, { activemenuitem: c = "" } = e, { mbsource: f } = e, r = !1, k = !1, y = !0, v, _, B = [], O, U = window.navigator.userAgent, te = V(U) !== "PC", D = "", R = "";
|
|
487
487
|
window.matchMedia("(min-width: 768px)");
|
|
488
488
|
const ne = () => {
|
|
489
489
|
fetch(u).then((x) => x.json()).then((x) => {
|
|
490
490
|
Object.keys(x).forEach((E) => {
|
|
491
|
-
|
|
491
|
+
Z(E, x[E]);
|
|
492
492
|
});
|
|
493
493
|
}).catch((x) => {
|
|
494
494
|
console.error(x);
|
|
495
495
|
});
|
|
496
496
|
};
|
|
497
|
-
Object.keys(
|
|
498
|
-
|
|
497
|
+
Object.keys(J).forEach((o) => {
|
|
498
|
+
Z(o, J[o]);
|
|
499
499
|
});
|
|
500
500
|
const q = (o) => {
|
|
501
501
|
if (o.data)
|
|
@@ -505,7 +505,7 @@ function Te(n, e, t) {
|
|
|
505
505
|
break;
|
|
506
506
|
}
|
|
507
507
|
}, le = () => {
|
|
508
|
-
let o = V(
|
|
508
|
+
let o = V(U);
|
|
509
509
|
if (o)
|
|
510
510
|
return o === "PC" ? "dk" : "mtWeb";
|
|
511
511
|
}, ie = () => {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./PlayerAccountController-KqshAWe2.cjs");require("../stencil/ui-skeleton-CS05SPLQ.cjs");function W(l,t){e.addMessages(l,t)}function K(l){e.$locale.set(l)}const H={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"},"en-us":{title:"My Account"}};if(typeof window!="undefined"){let l=function(t){return function(...n){try{return t.apply(this,n)}catch(a){if(a instanceof DOMException&&a.message.includes("has already been used with this registry")||a.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw a}}};customElements.define=l(customElements.define),Promise.resolve().then(()=>require("./GeneralLogout-BQJRUNwp.cjs")).then(({default:t})=>{!customElements.get("general-logout")&&customElements.define("general-logout",t.element)})}function Q(l){e.append_styles(l,"svelte-5g0xrl",".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;animation-name:fadeIn;animation-iteration-count:1;animation-timing-function:ease-in;animation-duration:0.3s}.PlayerAccountMenuContainer .PlayerAccountMenuItemWrapper{margin:0;word-break:break-all;display:flex;align-items:center}.PlayerAccountMenuContainer .PlayerAccountMenuItemWrapper span{display:flex;align-items:center}.PlayerAccountMenuContainer .skeletonLogOut{width:100%}.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;height:20px;padding-top:unset}.PlayerAccountMenuItemBox .PlayerAccountMenuItemIconMobile{width:30px;height: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);min-height:900px}.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)}.PlayerAccountItemWrap{display:flex;gap:20px;padding:16px 20px}.PlayerAccountItemWrap.PlayerAccountItemWrapMobile{flex-wrap:wrap;flex:0 0 33.3333%;padding:0;gap:10px}.PlayerAccountItemWrap.PlayerAccountItemWrapMobile ui-skeleton{width:100%}.PlayerAccountItemWrap ui-skeleton:last-child{flex:1}.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, #22B04E));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, #22B04E));border-bottom:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.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}@keyframes fadeIn{0%{opacity:0.01}1%{opacity:0}50%{opacity:0}100%{opacity:1}}")}function S(l,t,n){const a=l.slice();return a[40]=t[n],a}function T(l,t,n){const a=l.slice();return a[37]=t[n],a}function Y(l){let t,n,a,r,s,m,g,y,b,_,f,h,u=l[12]&&ee(l),c=l[12]&&te(l),d=e.ensure_array_like(l[7]),i=[];for(let p=0;p<d.length;p+=1)i[p]=O(S(l,d,p));let v=!l[12]&&ne(l);return{c(){t=e.element("div"),n=e.element("div"),u&&u.c(),a=e.space(),r=e.element("p"),s=e.text(l[9]),m=e.space(),g=e.element("p"),y=e.text(l[10]),b=e.space(),c&&c.c(),_=e.space(),f=e.element("div");for(let p=0;p<i.length;p+=1)i[p].c();h=e.space(),v&&v.c(),e.attr(r,"class","PlayerAccountMenuUser"),e.attr(r,"translate","no"),e.attr(g,"class","PlayerAccountMenuEmail"),e.attr(g,"translate","no"),e.attr(n,"class","PlayerAccountMenuHeader "+(l[12]?"PlayerAccountMenuHeaderMobile":"")),e.attr(f,"class","PlayerAccountMenuList"),e.attr(t,"class","PlayerAccountMenuContainer "+(l[12]?"PlayerAccountMobileContainer":""))},m(p,A){e.insert(p,t,A),e.append(t,n),u&&u.m(n,null),e.append(n,a),e.append(n,r),e.append(r,s),e.append(n,m),e.append(n,g),e.append(g,y),e.append(n,b),c&&c.m(n,null),e.append(t,_),e.append(t,f);for(let M=0;M<i.length;M+=1)i[M]&&i[M].m(f,null);e.append(t,h),v&&v.m(t,null)},p(p,A){if(p[12]&&u.p(p,A),A[0]&512&&e.set_data(s,p[9]),A[0]&1024&&e.set_data(y,p[10]),p[12]&&c.p(p,A),A[0]&12672){d=e.ensure_array_like(p[7]);let M;for(M=0;M<d.length;M+=1){const k=S(p,d,M);i[M]?i[M].p(k,A):(i[M]=O(k),i[M].c(),i[M].m(f,null))}for(;M<i.length;M+=1)i[M].d(1);i.length=d.length}p[12]||v.p(p,A)},d(p){p&&e.detach(t),u&&u.d(),c&&c.d(),e.destroy_each(i,p),v&&v.d()}}}function $(l){let t,n,a,r,s,m,g,y,b,_,f=l[12]&&le(),h=e.ensure_array_like(Array(18)),u=[];for(let c=0;c<h.length;c+=1)u[c]=j(T(l,h,c));return{c(){t=e.element("div"),n=e.element("div"),f&&f.c(),a=e.space(),r=e.element("ui-skeleton"),s=e.space(),m=e.element("ui-skeleton"),g=e.space(),y=e.element("div");for(let c=0;c<u.length;c+=1)u[c].c();b=e.space(),_=e.element("div"),_.innerHTML='<ui-skeleton structure="rectangle" width="auto" height="60px"></ui-skeleton>',e.set_custom_element_data(r,"structure","title"),e.set_custom_element_data(r,"width","100px"),e.set_custom_element_data(r,"height","20px"),e.set_custom_element_data(r,"margin-top","10px"),e.set_custom_element_data(m,"structure","text"),e.set_custom_element_data(m,"width","200px"),e.set_custom_element_data(m,"height","20px"),e.attr(n,"class","PlayerAccountMenuHeader "+(l[12]?"PlayerAccountMenuHeaderMobile":"")),e.attr(y,"class","PlayerAccountMenuList"),e.attr(_,"class","skeletonLogOut"),e.attr(t,"class","PlayerAccountMenuContainer "+(l[12]?"PlayerAccountMobileContainer":""))},m(c,d){e.insert(c,t,d),e.append(t,n),f&&f.m(n,null),e.append(n,a),e.append(n,r),e.append(n,s),e.append(n,m),e.append(t,g),e.append(t,y);for(let i=0;i<u.length;i+=1)u[i]&&u[i].m(y,null);e.append(t,b),e.append(t,_)},p(c,d){if(d[0]&4096){h=e.ensure_array_like(Array(18));let i;for(i=0;i<h.length;i+=1){const v=T(c,h,i);u[i]?u[i].p(v,d):(u[i]=j(v),u[i].c(),u[i].m(y,null))}for(;i<u.length;i+=1)u[i].d(1);u.length=h.length}},d(c){c&&e.detach(t),f&&f.d(),e.destroy_each(u,c)}}}function ee(l){let t,n,a,r,s,m,g,y,b,_,f=l[11]("title")+"",h,u,c;return{c(){t=e.element("div"),n=e.svg_element("svg"),a=e.svg_element("defs"),r=e.svg_element("style"),s=e.text(".aaa{fill:var(--emw--color-white, #FFFFFF);}"),m=e.svg_element("g"),g=e.svg_element("g"),y=e.svg_element("path"),b=e.space(),_=e.element("h3"),h=e.text(f),e.attr(y,"class","aaa"),e.attr(y,"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(y,"transform","translate(15 15) rotate(180)"),e.attr(g,"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(_,"class","PlayerAccountMenuCategoryTitle"),e.attr(t,"class","PlayerAccountMenuCategoryWrapper")},m(d,i){e.insert(d,t,i),e.append(t,n),e.append(n,a),e.append(a,r),e.append(r,s),e.append(n,m),e.append(m,g),e.append(g,y),e.append(t,b),e.append(t,_),e.append(_,h),u||(c=[e.listen(n,"click",l[14]),e.listen(_,"click",l[14])],u=!0)},p(d,i){i[0]&2048&&f!==(f=d[11]("title")+"")&&e.set_data(h,f)},d(d){d&&e.detach(t),u=!1,e.run_all(c)}}}function te(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.set_custom_element_data(n,"mbsource",l[4]),e.attr(t,"class","PlayerAccountLogOutArea")},m(a,r){e.insert(a,t,r),e.append(t,n)},p(a,r){r[0]&2&&e.set_custom_element_data(n,"endpoint",a[1]),r[0]&1&&e.set_custom_element_data(n,"session",a[0]),r[0]&4&&e.set_custom_element_data(n,"clientstyling",a[2]),r[0]&8&&e.set_custom_element_data(n,"clientstylingurl",a[3]),r[0]&16&&e.set_custom_element_data(n,"mbsource",a[4])},d(a){a&&e.detach(t)}}}function O(l){let t,n,a,r,s,m,g=l[40].label+"",y,b,_,f,h;function u(){return l[24](l[40])}return{c(){t=e.element("div"),n=e.element("p"),a=e.element("img"),s=e.space(),m=e.element("span"),y=e.text(g),b=e.space(),e.attr(a,"class","PlayerAccountMenuItemIcon "+(l[12]?"PlayerAccountMenuItemIconMobile":"")),e.src_url_equal(a.src,r=l[40].img)||e.attr(a,"src",r),e.attr(m,"class","PlayerAccountMenuItemTitle"),e.attr(n,"class","PlayerAccountMenuItemWrapper"),e.attr(t,"class",_="PlayerAccountMenuItemBox "+(l[8]===l[40].id&&!l[12]?"PlayerAccountMenuActiveItemBox":""))},m(c,d){e.insert(c,t,d),e.append(t,n),e.append(n,a),e.append(n,s),e.append(n,m),e.append(m,y),e.append(t,b),f||(h=e.listen(t,"click",u),f=!0)},p(c,d){l=c,d[0]&128&&!e.src_url_equal(a.src,r=l[40].img)&&e.attr(a,"src",r),d[0]&128&&g!==(g=l[40].label+"")&&e.set_data(y,g),d[0]&384&&_!==(_="PlayerAccountMenuItemBox "+(l[8]===l[40].id&&!l[12]?"PlayerAccountMenuActiveItemBox":""))&&e.attr(t,"class",_)},d(c){c&&e.detach(t),f=!1,h()}}}function ne(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.set_custom_element_data(n,"mbsource",l[4]),e.attr(t,"class","PlayerAccountLogOutArea")},m(a,r){e.insert(a,t,r),e.append(t,n)},p(a,r){r[0]&2&&e.set_custom_element_data(n,"endpoint",a[1]),r[0]&1&&e.set_custom_element_data(n,"session",a[0]),r[0]&4&&e.set_custom_element_data(n,"clientstyling",a[2]),r[0]&8&&e.set_custom_element_data(n,"clientstylingurl",a[3]),r[0]&16&&e.set_custom_element_data(n,"mbsource",a[4])},d(a){a&&e.detach(t)}}}function le(l){let t;return{c(){t=e.element("div"),t.innerHTML='<ui-skeleton structure="title" width="30px" height="30px"></ui-skeleton> <ui-skeleton structure="text" width="150px" height="30px"></ui-skeleton>',e.attr(t,"class","PlayerAccountMenuCategoryWrapper")},m(n,a){e.insert(n,t,a)},d(n){n&&e.detach(t)}}}function ae(l){let t;return{c(){t=e.element("ui-skeleton"),e.set_custom_element_data(t,"structure","circle"),e.set_custom_element_data(t,"size","20px")},m(n,a){e.insert(n,t,a)},d(n){n&&e.detach(t)}}}function j(l){let t,n,a,r,s=!l[12]&&ae();return{c(){t=e.element("div"),s&&s.c(),n=e.space(),a=e.element("ui-skeleton"),r=e.space(),e.set_custom_element_data(a,"structure","rectangle"),e.set_custom_element_data(a,"width","100%"),e.set_custom_element_data(a,"height",l[12]?"120px":"20px"),e.attr(t,"class","PlayerAccountItemWrap "+(l[12]?"PlayerAccountItemWrapMobile":""))},m(m,g){e.insert(m,t,g),s&&s.m(t,null),e.append(t,n),e.append(t,a),e.append(t,r)},p:e.noop,d(m){m&&e.detach(t),s&&s.d()}}}function re(l){let t;function n(s,m){return s[6]?$:Y}let a=n(l),r=a(l);return{c(){t=e.element("div"),r.c()},m(s,m){e.insert(s,t,m),r.m(t,null),l[25](t)},p(s,m){a===(a=n(s))&&r?r.p(s,m):(r.d(1),r=a(s),r&&(r.c(),r.m(t,null)))},i:e.noop,o:e.noop,d(s){s&&e.detach(t),r.d(),l[25](null)}}}function oe(l,t,n){let a;e.component_subscribe(l,e.$format,o=>n(11,a=o));let{endpoint:r=""}=t,{cmsendpoint:s=""}=t,{env:m=""}=t,{session:g=""}=t,{playerid:y=""}=t,{lang:b="en"}=t,{userroles:_=""}=t,{clientstyling:f=""}=t,{clientstylingurl:h=""}=t,{translationurl:u=""}=t,{activemenuitem:c=""}=t,{mbsource:d}=t,i=!1,v=!1,p=!0,A,M,k=[],x,I=window.navigator.userAgent,U=e.getDevice(I)!=="PC",F="",C="";window.matchMedia("(min-width: 768px)");const D=()=>{fetch(u).then(P=>P.json()).then(P=>{Object.keys(P).forEach(w=>{W(w,P[w])})}).catch(P=>{console.error(P)})};Object.keys(H).forEach(o=>{W(o,H[o])});const L=o=>{if(o.data)switch(o.data.type){case"UserSessionID":n(0,g=o.data.session);break}},q=()=>{let o=e.getDevice(I);if(o)return o==="PC"?"dk":"mtWeb"},R=()=>{const o=new URL(`${s}/${b}/profile-menu?env=${m}`);o.searchParams.append("device",q()),fetch(o.href).then(P=>P.json()).then(P=>{n(7,k=P),B()}).catch(P=>{console.error("Error getting menu items",P)}).finally(()=>{n(22,i=!0)})},N=()=>{let o=new URL(`${r}/v1/player/${y}/profile`);o.searchParams.append("userRoles",_);let P={method:"GET",headers:{"X-SessionID":g}};fetch(o.href,P).then(w=>w.json()).then(w=>{n(9,F=w.username),n(10,C=w.email)},w=>{console.error(w)}).finally(()=>{n(23,v=!0)})},E=o=>{window.postMessage({type:"ChangeAccountPage",page:o},window.location.href),n(8,x=o.id)},B=()=>{var o;n(8,x=(o=k.find(P=>P.path.includes(c)))==null?void 0:o.id)},G=()=>{K(b)},V=()=>{N()},X=()=>{window.postMessage({type:"GoToHomepage"},window.location.href)};e.onMount(()=>(window.addEventListener("message",L,!1),()=>{window.removeEventListener("message",L)}));const Z=o=>E(o);function J(o){e.binding_callbacks[o?"unshift":"push"](()=>{A=o,n(5,A)})}return l.$$set=o=>{"endpoint"in o&&n(1,r=o.endpoint),"cmsendpoint"in o&&n(15,s=o.cmsendpoint),"env"in o&&n(16,m=o.env),"session"in o&&n(0,g=o.session),"playerid"in o&&n(17,y=o.playerid),"lang"in o&&n(18,b=o.lang),"userroles"in o&&n(19,_=o.userroles),"clientstyling"in o&&n(2,f=o.clientstyling),"clientstylingurl"in o&&n(3,h=o.clientstylingurl),"translationurl"in o&&n(20,u=o.translationurl),"activemenuitem"in o&&n(21,c=o.activemenuitem),"mbsource"in o&&n(4,d=o.mbsource)},l.$$.update=()=>{l.$$.dirty[0]&12582912&&n(6,p=!i||!v),l.$$.dirty[0]&262144&&b&&G(),l.$$.dirty[0]&393219&&r&&g&&y&&b&&V(),l.$$.dirty[0]&360448&&s&&b&&m&&R(),l.$$.dirty[0]&2097152&&c&&B(),l.$$.dirty[0]&36&&f&&A&&e.setClientStyling(A,f),l.$$.dirty[0]&40&&h&&A&&e.setClientStylingURL(A,h),l.$$.dirty[0]&48&&d&&A&&e.setStreamStyling(A,`${d}.Style`,M),l.$$.dirty[0]&1048576&&u&&D()},[g,r,f,h,d,A,p,k,x,F,C,a,U,E,X,s,m,y,b,_,u,c,i,v,Z,J]}class z extends e.SvelteComponent{constructor(t){super(),e.init(this,t,oe,re,e.safe_not_equal,{endpoint:1,cmsendpoint:15,env:16,session:0,playerid:17,lang:18,userroles:19,clientstyling:2,clientstylingurl:3,translationurl:20,activemenuitem:21,mbsource:4},Q,[-1,-1])}get endpoint(){return this.$$.ctx[1]}set endpoint(t){this.$$set({endpoint:t}),e.flush()}get cmsendpoint(){return this.$$.ctx[15]}set cmsendpoint(t){this.$$set({cmsendpoint:t}),e.flush()}get env(){return this.$$.ctx[16]}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[17]}set playerid(t){this.$$set({playerid:t}),e.flush()}get lang(){return this.$$.ctx[18]}set lang(t){this.$$set({lang:t}),e.flush()}get userroles(){return this.$$.ctx[19]}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[20]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}get activemenuitem(){return this.$$.ctx[21]}set activemenuitem(t){this.$$set({activemenuitem:t}),e.flush()}get mbsource(){return this.$$.ctx[4]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}}e.create_custom_element(z,{endpoint:{},cmsendpoint:{},env:{},session:{},playerid:{},lang:{},userroles:{},clientstyling:{},clientstylingurl:{},translationurl:{},activemenuitem:{},mbsource:{}},[],[],!0);exports.default=z;
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./PlayerAccountController-BBk-9TOg.cjs");require("../stencil/ui-skeleton-CS05SPLQ.cjs");function W(l,t){e.addMessages(l,t)}function K(l){e.$locale.set(l)}const H={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"},"en-us":{title:"My Account"}};if(typeof window!="undefined"){let l=function(t){return function(...n){try{return t.apply(this,n)}catch(a){if(a instanceof DOMException&&a.message.includes("has already been used with this registry")||a.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw a}}};customElements.define=l(customElements.define),Promise.resolve().then(()=>require("./GeneralLogout-C4zscfCx.cjs")).then(({default:t})=>{!customElements.get("general-logout")&&customElements.define("general-logout",t.element)})}function Q(l){e.append_styles(l,"svelte-5g0xrl",".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;animation-name:fadeIn;animation-iteration-count:1;animation-timing-function:ease-in;animation-duration:0.3s}.PlayerAccountMenuContainer .PlayerAccountMenuItemWrapper{margin:0;word-break:break-all;display:flex;align-items:center}.PlayerAccountMenuContainer .PlayerAccountMenuItemWrapper span{display:flex;align-items:center}.PlayerAccountMenuContainer .skeletonLogOut{width:100%}.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;height:20px;padding-top:unset}.PlayerAccountMenuItemBox .PlayerAccountMenuItemIconMobile{width:30px;height: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);min-height:900px}.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)}.PlayerAccountItemWrap{display:flex;gap:20px;padding:16px 20px}.PlayerAccountItemWrap.PlayerAccountItemWrapMobile{flex-wrap:wrap;flex:0 0 33.3333%;padding:0;gap:10px}.PlayerAccountItemWrap.PlayerAccountItemWrapMobile ui-skeleton{width:100%}.PlayerAccountItemWrap ui-skeleton:last-child{flex:1}.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, #22B04E));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, #22B04E));border-bottom:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.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}@keyframes fadeIn{0%{opacity:0.01}1%{opacity:0}50%{opacity:0}100%{opacity:1}}")}function S(l,t,n){const a=l.slice();return a[40]=t[n],a}function T(l,t,n){const a=l.slice();return a[37]=t[n],a}function Y(l){let t,n,a,r,s,m,g,y,b,_,f,h,u=l[12]&&ee(l),c=l[12]&&te(l),d=e.ensure_array_like(l[7]),i=[];for(let p=0;p<d.length;p+=1)i[p]=O(S(l,d,p));let v=!l[12]&&ne(l);return{c(){t=e.element("div"),n=e.element("div"),u&&u.c(),a=e.space(),r=e.element("p"),s=e.text(l[9]),m=e.space(),g=e.element("p"),y=e.text(l[10]),b=e.space(),c&&c.c(),_=e.space(),f=e.element("div");for(let p=0;p<i.length;p+=1)i[p].c();h=e.space(),v&&v.c(),e.attr(r,"class","PlayerAccountMenuUser"),e.attr(r,"translate","no"),e.attr(g,"class","PlayerAccountMenuEmail"),e.attr(g,"translate","no"),e.attr(n,"class","PlayerAccountMenuHeader "+(l[12]?"PlayerAccountMenuHeaderMobile":"")),e.attr(f,"class","PlayerAccountMenuList"),e.attr(t,"class","PlayerAccountMenuContainer "+(l[12]?"PlayerAccountMobileContainer":""))},m(p,A){e.insert(p,t,A),e.append(t,n),u&&u.m(n,null),e.append(n,a),e.append(n,r),e.append(r,s),e.append(n,m),e.append(n,g),e.append(g,y),e.append(n,b),c&&c.m(n,null),e.append(t,_),e.append(t,f);for(let M=0;M<i.length;M+=1)i[M]&&i[M].m(f,null);e.append(t,h),v&&v.m(t,null)},p(p,A){if(p[12]&&u.p(p,A),A[0]&512&&e.set_data(s,p[9]),A[0]&1024&&e.set_data(y,p[10]),p[12]&&c.p(p,A),A[0]&12672){d=e.ensure_array_like(p[7]);let M;for(M=0;M<d.length;M+=1){const k=S(p,d,M);i[M]?i[M].p(k,A):(i[M]=O(k),i[M].c(),i[M].m(f,null))}for(;M<i.length;M+=1)i[M].d(1);i.length=d.length}p[12]||v.p(p,A)},d(p){p&&e.detach(t),u&&u.d(),c&&c.d(),e.destroy_each(i,p),v&&v.d()}}}function $(l){let t,n,a,r,s,m,g,y,b,_,f=l[12]&&le(),h=e.ensure_array_like(Array(18)),u=[];for(let c=0;c<h.length;c+=1)u[c]=j(T(l,h,c));return{c(){t=e.element("div"),n=e.element("div"),f&&f.c(),a=e.space(),r=e.element("ui-skeleton"),s=e.space(),m=e.element("ui-skeleton"),g=e.space(),y=e.element("div");for(let c=0;c<u.length;c+=1)u[c].c();b=e.space(),_=e.element("div"),_.innerHTML='<ui-skeleton structure="rectangle" width="auto" height="60px"></ui-skeleton>',e.set_custom_element_data(r,"structure","title"),e.set_custom_element_data(r,"width","100px"),e.set_custom_element_data(r,"height","20px"),e.set_custom_element_data(r,"margin-top","10px"),e.set_custom_element_data(m,"structure","text"),e.set_custom_element_data(m,"width","200px"),e.set_custom_element_data(m,"height","20px"),e.attr(n,"class","PlayerAccountMenuHeader "+(l[12]?"PlayerAccountMenuHeaderMobile":"")),e.attr(y,"class","PlayerAccountMenuList"),e.attr(_,"class","skeletonLogOut"),e.attr(t,"class","PlayerAccountMenuContainer "+(l[12]?"PlayerAccountMobileContainer":""))},m(c,d){e.insert(c,t,d),e.append(t,n),f&&f.m(n,null),e.append(n,a),e.append(n,r),e.append(n,s),e.append(n,m),e.append(t,g),e.append(t,y);for(let i=0;i<u.length;i+=1)u[i]&&u[i].m(y,null);e.append(t,b),e.append(t,_)},p(c,d){if(d[0]&4096){h=e.ensure_array_like(Array(18));let i;for(i=0;i<h.length;i+=1){const v=T(c,h,i);u[i]?u[i].p(v,d):(u[i]=j(v),u[i].c(),u[i].m(y,null))}for(;i<u.length;i+=1)u[i].d(1);u.length=h.length}},d(c){c&&e.detach(t),f&&f.d(),e.destroy_each(u,c)}}}function ee(l){let t,n,a,r,s,m,g,y,b,_,f=l[11]("title")+"",h,u,c;return{c(){t=e.element("div"),n=e.svg_element("svg"),a=e.svg_element("defs"),r=e.svg_element("style"),s=e.text(".aaa{fill:var(--emw--color-white, #FFFFFF);}"),m=e.svg_element("g"),g=e.svg_element("g"),y=e.svg_element("path"),b=e.space(),_=e.element("h3"),h=e.text(f),e.attr(y,"class","aaa"),e.attr(y,"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(y,"transform","translate(15 15) rotate(180)"),e.attr(g,"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(_,"class","PlayerAccountMenuCategoryTitle"),e.attr(t,"class","PlayerAccountMenuCategoryWrapper")},m(d,i){e.insert(d,t,i),e.append(t,n),e.append(n,a),e.append(a,r),e.append(r,s),e.append(n,m),e.append(m,g),e.append(g,y),e.append(t,b),e.append(t,_),e.append(_,h),u||(c=[e.listen(n,"click",l[14]),e.listen(_,"click",l[14])],u=!0)},p(d,i){i[0]&2048&&f!==(f=d[11]("title")+"")&&e.set_data(h,f)},d(d){d&&e.detach(t),u=!1,e.run_all(c)}}}function te(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.set_custom_element_data(n,"mbsource",l[4]),e.attr(t,"class","PlayerAccountLogOutArea")},m(a,r){e.insert(a,t,r),e.append(t,n)},p(a,r){r[0]&2&&e.set_custom_element_data(n,"endpoint",a[1]),r[0]&1&&e.set_custom_element_data(n,"session",a[0]),r[0]&4&&e.set_custom_element_data(n,"clientstyling",a[2]),r[0]&8&&e.set_custom_element_data(n,"clientstylingurl",a[3]),r[0]&16&&e.set_custom_element_data(n,"mbsource",a[4])},d(a){a&&e.detach(t)}}}function O(l){let t,n,a,r,s,m,g=l[40].label+"",y,b,_,f,h;function u(){return l[24](l[40])}return{c(){t=e.element("div"),n=e.element("p"),a=e.element("img"),s=e.space(),m=e.element("span"),y=e.text(g),b=e.space(),e.attr(a,"class","PlayerAccountMenuItemIcon "+(l[12]?"PlayerAccountMenuItemIconMobile":"")),e.src_url_equal(a.src,r=l[40].img)||e.attr(a,"src",r),e.attr(m,"class","PlayerAccountMenuItemTitle"),e.attr(n,"class","PlayerAccountMenuItemWrapper"),e.attr(t,"class",_="PlayerAccountMenuItemBox "+(l[8]===l[40].id&&!l[12]?"PlayerAccountMenuActiveItemBox":""))},m(c,d){e.insert(c,t,d),e.append(t,n),e.append(n,a),e.append(n,s),e.append(n,m),e.append(m,y),e.append(t,b),f||(h=e.listen(t,"click",u),f=!0)},p(c,d){l=c,d[0]&128&&!e.src_url_equal(a.src,r=l[40].img)&&e.attr(a,"src",r),d[0]&128&&g!==(g=l[40].label+"")&&e.set_data(y,g),d[0]&384&&_!==(_="PlayerAccountMenuItemBox "+(l[8]===l[40].id&&!l[12]?"PlayerAccountMenuActiveItemBox":""))&&e.attr(t,"class",_)},d(c){c&&e.detach(t),f=!1,h()}}}function ne(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.set_custom_element_data(n,"mbsource",l[4]),e.attr(t,"class","PlayerAccountLogOutArea")},m(a,r){e.insert(a,t,r),e.append(t,n)},p(a,r){r[0]&2&&e.set_custom_element_data(n,"endpoint",a[1]),r[0]&1&&e.set_custom_element_data(n,"session",a[0]),r[0]&4&&e.set_custom_element_data(n,"clientstyling",a[2]),r[0]&8&&e.set_custom_element_data(n,"clientstylingurl",a[3]),r[0]&16&&e.set_custom_element_data(n,"mbsource",a[4])},d(a){a&&e.detach(t)}}}function le(l){let t;return{c(){t=e.element("div"),t.innerHTML='<ui-skeleton structure="title" width="30px" height="30px"></ui-skeleton> <ui-skeleton structure="text" width="150px" height="30px"></ui-skeleton>',e.attr(t,"class","PlayerAccountMenuCategoryWrapper")},m(n,a){e.insert(n,t,a)},d(n){n&&e.detach(t)}}}function ae(l){let t;return{c(){t=e.element("ui-skeleton"),e.set_custom_element_data(t,"structure","circle"),e.set_custom_element_data(t,"size","20px")},m(n,a){e.insert(n,t,a)},d(n){n&&e.detach(t)}}}function j(l){let t,n,a,r,s=!l[12]&&ae();return{c(){t=e.element("div"),s&&s.c(),n=e.space(),a=e.element("ui-skeleton"),r=e.space(),e.set_custom_element_data(a,"structure","rectangle"),e.set_custom_element_data(a,"width","100%"),e.set_custom_element_data(a,"height",l[12]?"120px":"20px"),e.attr(t,"class","PlayerAccountItemWrap "+(l[12]?"PlayerAccountItemWrapMobile":""))},m(m,g){e.insert(m,t,g),s&&s.m(t,null),e.append(t,n),e.append(t,a),e.append(t,r)},p:e.noop,d(m){m&&e.detach(t),s&&s.d()}}}function re(l){let t;function n(s,m){return s[6]?$:Y}let a=n(l),r=a(l);return{c(){t=e.element("div"),r.c()},m(s,m){e.insert(s,t,m),r.m(t,null),l[25](t)},p(s,m){a===(a=n(s))&&r?r.p(s,m):(r.d(1),r=a(s),r&&(r.c(),r.m(t,null)))},i:e.noop,o:e.noop,d(s){s&&e.detach(t),r.d(),l[25](null)}}}function oe(l,t,n){let a;e.component_subscribe(l,e.$format,o=>n(11,a=o));let{endpoint:r=""}=t,{cmsendpoint:s=""}=t,{env:m=""}=t,{session:g=""}=t,{playerid:y=""}=t,{lang:b="en"}=t,{userroles:_=""}=t,{clientstyling:f=""}=t,{clientstylingurl:h=""}=t,{translationurl:u=""}=t,{activemenuitem:c=""}=t,{mbsource:d}=t,i=!1,v=!1,p=!0,A,M,k=[],x,I=window.navigator.userAgent,U=e.getDevice(I)!=="PC",F="",C="";window.matchMedia("(min-width: 768px)");const D=()=>{fetch(u).then(P=>P.json()).then(P=>{Object.keys(P).forEach(w=>{W(w,P[w])})}).catch(P=>{console.error(P)})};Object.keys(H).forEach(o=>{W(o,H[o])});const L=o=>{if(o.data)switch(o.data.type){case"UserSessionID":n(0,g=o.data.session);break}},q=()=>{let o=e.getDevice(I);if(o)return o==="PC"?"dk":"mtWeb"},R=()=>{const o=new URL(`${s}/${b}/profile-menu?env=${m}`);o.searchParams.append("device",q()),fetch(o.href).then(P=>P.json()).then(P=>{n(7,k=P),B()}).catch(P=>{console.error("Error getting menu items",P)}).finally(()=>{n(22,i=!0)})},N=()=>{let o=new URL(`${r}/v1/player/${y}/profile`);o.searchParams.append("userRoles",_);let P={method:"GET",headers:{"X-SessionID":g}};fetch(o.href,P).then(w=>w.json()).then(w=>{n(9,F=w.username),n(10,C=w.email)},w=>{console.error(w)}).finally(()=>{n(23,v=!0)})},E=o=>{window.postMessage({type:"ChangeAccountPage",page:o},window.location.href),n(8,x=o.id)},B=()=>{var o;n(8,x=(o=k.find(P=>P.path.includes(c)))==null?void 0:o.id)},G=()=>{K(b)},V=()=>{N()},X=()=>{window.postMessage({type:"GoToHomepage"},window.location.href)};e.onMount(()=>(window.addEventListener("message",L,!1),()=>{window.removeEventListener("message",L)}));const Z=o=>E(o);function J(o){e.binding_callbacks[o?"unshift":"push"](()=>{A=o,n(5,A)})}return l.$$set=o=>{"endpoint"in o&&n(1,r=o.endpoint),"cmsendpoint"in o&&n(15,s=o.cmsendpoint),"env"in o&&n(16,m=o.env),"session"in o&&n(0,g=o.session),"playerid"in o&&n(17,y=o.playerid),"lang"in o&&n(18,b=o.lang),"userroles"in o&&n(19,_=o.userroles),"clientstyling"in o&&n(2,f=o.clientstyling),"clientstylingurl"in o&&n(3,h=o.clientstylingurl),"translationurl"in o&&n(20,u=o.translationurl),"activemenuitem"in o&&n(21,c=o.activemenuitem),"mbsource"in o&&n(4,d=o.mbsource)},l.$$.update=()=>{l.$$.dirty[0]&12582912&&n(6,p=!i||!v),l.$$.dirty[0]&262144&&b&&G(),l.$$.dirty[0]&393219&&r&&g&&y&&b&&V(),l.$$.dirty[0]&360448&&s&&b&&m&&R(),l.$$.dirty[0]&2097152&&c&&B(),l.$$.dirty[0]&36&&f&&A&&e.setClientStyling(A,f),l.$$.dirty[0]&40&&h&&A&&e.setClientStylingURL(A,h),l.$$.dirty[0]&48&&d&&A&&e.setStreamStyling(A,`${d}.Style`,M),l.$$.dirty[0]&1048576&&u&&D()},[g,r,f,h,d,A,p,k,x,F,C,a,U,E,X,s,m,y,b,_,u,c,i,v,Z,J]}class z extends e.SvelteComponent{constructor(t){super(),e.init(this,t,oe,re,e.safe_not_equal,{endpoint:1,cmsendpoint:15,env:16,session:0,playerid:17,lang:18,userroles:19,clientstyling:2,clientstylingurl:3,translationurl:20,activemenuitem:21,mbsource:4},Q,[-1,-1])}get endpoint(){return this.$$.ctx[1]}set endpoint(t){this.$$set({endpoint:t}),e.flush()}get cmsendpoint(){return this.$$.ctx[15]}set cmsendpoint(t){this.$$set({cmsendpoint:t}),e.flush()}get env(){return this.$$.ctx[16]}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[17]}set playerid(t){this.$$set({playerid:t}),e.flush()}get lang(){return this.$$.ctx[18]}set lang(t){this.$$set({lang:t}),e.flush()}get userroles(){return this.$$.ctx[19]}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[20]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}get activemenuitem(){return this.$$.ctx[21]}set activemenuitem(t){this.$$set({activemenuitem:t}),e.flush()}get mbsource(){return this.$$.ctx[4]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}}e.create_custom_element(z,{endpoint:{},cmsendpoint:{},env:{},session:{},playerid:{},lang:{},userroles:{},clientstyling:{},clientstylingurl:{},translationurl:{},activemenuitem:{},mbsource:{}},[],[],!0);exports.default=z;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { a as me, $ as ge, S as de, i as fe, s as ye, f as F, b as pe, n as j, d as C, c as L, e as b, g as he, h as V, o as be, j as Ae, k as S, l as ee, m as a, p as I, q as m, r as g, t as T, u as H, v as Me, w as z, x as W, y as X, z as Pe, A as we, B as ve, C as _e, D as ke } from "./PlayerAccountController-CO8cZYgr.js";
|
|
2
2
|
import "../stencil/ui-skeleton-BKpwkQ2A.js";
|
|
3
|
-
function
|
|
3
|
+
function Z(n, e) {
|
|
4
4
|
me(n, e);
|
|
5
5
|
}
|
|
6
6
|
function xe(n) {
|
|
7
7
|
ge.set(n);
|
|
8
8
|
}
|
|
9
|
-
const
|
|
9
|
+
const J = {
|
|
10
10
|
en: {
|
|
11
11
|
title: "My Account"
|
|
12
12
|
},
|
|
@@ -53,18 +53,18 @@ if (typeof window != "undefined") {
|
|
|
53
53
|
}
|
|
54
54
|
};
|
|
55
55
|
};
|
|
56
|
-
customElements.define = n(customElements.define), import("./GeneralLogout-
|
|
56
|
+
customElements.define = n(customElements.define), import("./GeneralLogout-CpE101GN.js").then(({ default: e }) => {
|
|
57
57
|
!customElements.get("general-logout") && customElements.define("general-logout", e.element);
|
|
58
58
|
});
|
|
59
59
|
}
|
|
60
60
|
function Ie(n) {
|
|
61
61
|
pe(n, "svelte-5g0xrl", ".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;animation-name:fadeIn;animation-iteration-count:1;animation-timing-function:ease-in;animation-duration:0.3s}.PlayerAccountMenuContainer .PlayerAccountMenuItemWrapper{margin:0;word-break:break-all;display:flex;align-items:center}.PlayerAccountMenuContainer .PlayerAccountMenuItemWrapper span{display:flex;align-items:center}.PlayerAccountMenuContainer .skeletonLogOut{width:100%}.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;height:20px;padding-top:unset}.PlayerAccountMenuItemBox .PlayerAccountMenuItemIconMobile{width:30px;height: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);min-height:900px}.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)}.PlayerAccountItemWrap{display:flex;gap:20px;padding:16px 20px}.PlayerAccountItemWrap.PlayerAccountItemWrapMobile{flex-wrap:wrap;flex:0 0 33.3333%;padding:0;gap:10px}.PlayerAccountItemWrap.PlayerAccountItemWrapMobile ui-skeleton{width:100%}.PlayerAccountItemWrap ui-skeleton:last-child{flex:1}.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, #22B04E));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, #22B04E));border-bottom:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.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}@keyframes fadeIn{0%{opacity:0.01}1%{opacity:0}50%{opacity:0}100%{opacity:1}}");
|
|
62
62
|
}
|
|
63
|
-
function
|
|
63
|
+
function K(n, e, t) {
|
|
64
64
|
const l = n.slice();
|
|
65
65
|
return l[40] = e[t], l;
|
|
66
66
|
}
|
|
67
|
-
function
|
|
67
|
+
function Q(n, e, t) {
|
|
68
68
|
const l = n.slice();
|
|
69
69
|
return l[37] = e[t], l;
|
|
70
70
|
}
|
|
@@ -80,7 +80,7 @@ function Fe(n) {
|
|
|
80
80
|
n[7]
|
|
81
81
|
), r = [];
|
|
82
82
|
for (let y = 0; y < f.length; y += 1)
|
|
83
|
-
r[y] = K(
|
|
83
|
+
r[y] = Y(K(n, f, y));
|
|
84
84
|
let x = !/*isMobile*/
|
|
85
85
|
n[12] && Be(n);
|
|
86
86
|
return {
|
|
@@ -127,8 +127,8 @@ function Fe(n) {
|
|
|
127
127
|
);
|
|
128
128
|
let _;
|
|
129
129
|
for (_ = 0; _ < f.length; _ += 1) {
|
|
130
|
-
const B =
|
|
131
|
-
r[_] ? r[_].p(B, v) : (r[_] =
|
|
130
|
+
const B = K(y, f, _);
|
|
131
|
+
r[_] ? r[_].p(B, v) : (r[_] = Y(B), r[_].c(), r[_].m(h, null));
|
|
132
132
|
}
|
|
133
133
|
for (; _ < r.length; _ += 1)
|
|
134
134
|
r[_].d(1);
|
|
@@ -148,7 +148,7 @@ function Ce(n) {
|
|
|
148
148
|
n[12] && We()
|
|
149
149
|
), P = S(Array(18)), u = [];
|
|
150
150
|
for (let c = 0; c < P.length; c += 1)
|
|
151
|
-
u[c] = $(
|
|
151
|
+
u[c] = $(Q(n, P, c));
|
|
152
152
|
return {
|
|
153
153
|
c() {
|
|
154
154
|
e = b("div"), t = b("div"), h && h.c(), l = I(), i = b("ui-skeleton"), s = I(), d = b("ui-skeleton"), p = I(), A = b("div");
|
|
@@ -170,7 +170,7 @@ function Ce(n) {
|
|
|
170
170
|
P = S(Array(18));
|
|
171
171
|
let r;
|
|
172
172
|
for (r = 0; r < P.length; r += 1) {
|
|
173
|
-
const x =
|
|
173
|
+
const x = Q(c, P, r);
|
|
174
174
|
u[r] ? u[r].p(x, f) : (u[r] = $(x), u[r].c(), u[r].m(A, null));
|
|
175
175
|
}
|
|
176
176
|
for (; r < u.length; r += 1)
|
|
@@ -194,13 +194,13 @@ function Le(n) {
|
|
|
194
194
|
},
|
|
195
195
|
m(f, r) {
|
|
196
196
|
L(f, e, r), a(e, t), a(t, l), a(l, i), a(i, s), a(t, d), a(d, p), a(p, A), a(e, w), a(e, M), a(M, P), u || (c = [
|
|
197
|
-
|
|
197
|
+
z(
|
|
198
198
|
t,
|
|
199
199
|
"click",
|
|
200
200
|
/*goToHome*/
|
|
201
201
|
n[14]
|
|
202
202
|
),
|
|
203
|
-
|
|
203
|
+
z(
|
|
204
204
|
M,
|
|
205
205
|
"click",
|
|
206
206
|
/*goToHome*/
|
|
@@ -290,7 +290,7 @@ function Ee(n) {
|
|
|
290
290
|
}
|
|
291
291
|
};
|
|
292
292
|
}
|
|
293
|
-
function
|
|
293
|
+
function Y(n) {
|
|
294
294
|
let e, t, l, i, s, d, p = (
|
|
295
295
|
/*menuItem*/
|
|
296
296
|
n[40].label + ""
|
|
@@ -314,7 +314,7 @@ function K(n) {
|
|
|
314
314
|
n[12] ? "PlayerAccountMenuActiveItemBox" : ""));
|
|
315
315
|
},
|
|
316
316
|
m(c, f) {
|
|
317
|
-
L(c, e, f), a(e, t), a(t, l), a(t, s), a(t, d), a(d, A), a(e, w), h || (P =
|
|
317
|
+
L(c, e, f), a(e, t), a(t, l), a(t, s), a(t, d), a(d, A), a(e, w), h || (P = z(e, "click", u), h = !0);
|
|
318
318
|
},
|
|
319
319
|
p(c, f) {
|
|
320
320
|
n = c, f[0] & /*menuItems*/
|
|
@@ -448,7 +448,7 @@ function $(n) {
|
|
|
448
448
|
m(d, p) {
|
|
449
449
|
L(d, e, p), s && s.m(e, null), a(e, t), a(e, l), a(e, i);
|
|
450
450
|
},
|
|
451
|
-
p:
|
|
451
|
+
p: j,
|
|
452
452
|
d(d) {
|
|
453
453
|
d && C(e), s && s.d();
|
|
454
454
|
}
|
|
@@ -473,8 +473,8 @@ function Se(n) {
|
|
|
473
473
|
p(s, d) {
|
|
474
474
|
l === (l = t(s)) && i ? i.p(s, d) : (i.d(1), i = l(s), i && (i.c(), i.m(e, null)));
|
|
475
475
|
},
|
|
476
|
-
i:
|
|
477
|
-
o:
|
|
476
|
+
i: j,
|
|
477
|
+
o: j,
|
|
478
478
|
d(s) {
|
|
479
479
|
s && C(e), i.d(), n[25](null);
|
|
480
480
|
}
|
|
@@ -483,19 +483,19 @@ function Se(n) {
|
|
|
483
483
|
function Te(n, e, t) {
|
|
484
484
|
let l;
|
|
485
485
|
he(n, ke, (o) => t(11, l = o));
|
|
486
|
-
let { endpoint: i = "" } = e, { cmsendpoint: s = "" } = e, { env: d = "" } = e, { session: p = "" } = e, { playerid: A = "" } = e, { lang: w = "en" } = e, { userroles: M = "" } = e, { clientstyling: h = "" } = e, { clientstylingurl: P = "" } = e, { translationurl: u = "" } = e, { activemenuitem: c = "" } = e, { mbsource: f } = e, r = !1, x = !1, y = !0, v, _, B = [], O,
|
|
486
|
+
let { endpoint: i = "" } = e, { cmsendpoint: s = "" } = e, { env: d = "" } = e, { session: p = "" } = e, { playerid: A = "" } = e, { lang: w = "en" } = e, { userroles: M = "" } = e, { clientstyling: h = "" } = e, { clientstylingurl: P = "" } = e, { translationurl: u = "" } = e, { activemenuitem: c = "" } = e, { mbsource: f } = e, r = !1, x = !1, y = !0, v, _, B = [], O, U = window.navigator.userAgent, te = V(U) !== "PC", D = "", R = "";
|
|
487
487
|
window.matchMedia("(min-width: 768px)");
|
|
488
488
|
const ne = () => {
|
|
489
489
|
fetch(u).then((k) => k.json()).then((k) => {
|
|
490
490
|
Object.keys(k).forEach((E) => {
|
|
491
|
-
|
|
491
|
+
Z(E, k[E]);
|
|
492
492
|
});
|
|
493
493
|
}).catch((k) => {
|
|
494
494
|
console.error(k);
|
|
495
495
|
});
|
|
496
496
|
};
|
|
497
|
-
Object.keys(
|
|
498
|
-
|
|
497
|
+
Object.keys(J).forEach((o) => {
|
|
498
|
+
Z(o, J[o]);
|
|
499
499
|
});
|
|
500
500
|
const q = (o) => {
|
|
501
501
|
if (o.data)
|
|
@@ -505,7 +505,7 @@ function Te(n, e, t) {
|
|
|
505
505
|
break;
|
|
506
506
|
}
|
|
507
507
|
}, le = () => {
|
|
508
|
-
let o = V(
|
|
508
|
+
let o = V(U);
|
|
509
509
|
if (o)
|
|
510
510
|
return o === "PC" ? "dk" : "mtWeb";
|
|
511
511
|
}, ie = () => {
|