@everymatrix/player-account-controller 1.86.11 → 1.86.20
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-hWNQ3J3o.js → GeneralLogout-B7wytw3i.js} +201 -197
- package/components/{GeneralLogout-BtP2SNPX.js → GeneralLogout-CCZ-t51N.js} +188 -184
- package/components/{GeneralLogout-CK8tLROK.cjs → GeneralLogout-CmR1r8PX.cjs} +5 -5
- package/components/{PlayerAccountBettingHistory-RBEtFHjB.js → PlayerAccountBettingHistory-BKPLzWjG.js} +1 -1
- package/components/{PlayerAccountBettingHistory-CSaFsnwC.cjs → PlayerAccountBettingHistory-Bf-VPJhk.cjs} +1 -1
- package/components/{PlayerAccountBettingHistory-D3xhBTAE.js → PlayerAccountBettingHistory-D0wawg3E.js} +1 -1
- package/components/{PlayerAccountBiometrics-BIYcG8cX.js → PlayerAccountBiometrics-BwwuNFd7.js} +1 -1
- package/components/{PlayerAccountBiometrics-S9tvxAFz.cjs → PlayerAccountBiometrics-CqZ92UWP.cjs} +1 -1
- package/components/{PlayerAccountBiometrics-Dp3Y8HTH.js → PlayerAccountBiometrics-DQqhVOLe.js} +1 -1
- package/components/{PlayerAccountClosure-D7pmJiXo.js → PlayerAccountClosure-CMUn4wJp.js} +1 -1
- package/components/{PlayerAccountClosure-jnEN5Fk4.cjs → PlayerAccountClosure-CxxMCXDa.cjs} +1 -1
- package/components/{PlayerAccountClosure-BbW4iG-i.js → PlayerAccountClosure-DvW4enyZ.js} +1 -1
- package/components/{PlayerAccountController-BzdrbAss.js → PlayerAccountController-AnSnoeIr.js} +24 -24
- package/components/{PlayerAccountController-B3ne-M4k.cjs → PlayerAccountController-BM1dGTi8.cjs} +1 -1
- package/components/{PlayerAccountController-B-FbF6lv.js → PlayerAccountController-DS_McF0L.js} +24 -24
- package/components/{PlayerAccountGamingLimits-BrXUGipz.js → PlayerAccountGamingLimits-CklbTGD-.js} +2 -2
- package/components/{PlayerAccountGamingLimits-BwYoIU8M.cjs → PlayerAccountGamingLimits-DdwsiJT8.cjs} +1 -1
- package/components/{PlayerAccountGamingLimits-BHtPyrhy.js → PlayerAccountGamingLimits-mpFmmTOS.js} +2 -2
- package/components/{PlayerAccountGamingLimitsConfirmationModal-BJUqmOGM.cjs → PlayerAccountGamingLimitsConfirmationModal-BiEiNlIc.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsConfirmationModal-B5ITcUEU.js → PlayerAccountGamingLimitsConfirmationModal-BiWWkcfB.js} +1 -1
- package/components/{PlayerAccountGamingLimitsConfirmationModal-BpGTQY8Q.js → PlayerAccountGamingLimitsConfirmationModal-HnZK1KNZ.js} +1 -1
- package/components/{PlayerAccountGamingLimitsGroupEdit-DsZYUSCI.js → PlayerAccountGamingLimitsGroupEdit-D4mY92Oz.js} +4 -4
- package/components/{PlayerAccountGamingLimitsGroupEdit-K-lekHTx.js → PlayerAccountGamingLimitsGroupEdit-DBQ3mbbn.js} +4 -4
- package/components/{PlayerAccountGamingLimitsGroupEdit-CmipcCdJ.cjs → PlayerAccountGamingLimitsGroupEdit-gLF0R4uM.cjs} +2 -2
- package/components/{PlayerAccountGamingLimitsHistory2-BWbMKCJM.js → PlayerAccountGamingLimitsHistory2-B3tBWMqJ.js} +1 -1
- package/components/{PlayerAccountGamingLimitsHistory2-DbWCQlJP.cjs → PlayerAccountGamingLimitsHistory2-D3h2vvVL.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsHistory2-CxA06bC4.js → PlayerAccountGamingLimitsHistory2-msy9-7Hj.js} +1 -1
- package/components/{PlayerAccountGamingLimitsInfoCard-WqmdXNpw.js → PlayerAccountGamingLimitsInfoCard-BdXyqbVP.js} +3 -3
- package/components/{PlayerAccountGamingLimitsInfoCard-BFzvB3KC.cjs → PlayerAccountGamingLimitsInfoCard-CUhqA1Ww.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsInfoCard-fSpypV1Q.js → PlayerAccountGamingLimitsInfoCard-DuUOKvMO.js} +3 -3
- package/components/{PlayerAccountGamingLimitsPage2Gm16-CKqk7okN.js → PlayerAccountGamingLimitsPage2Gm16-CfzYBBqB.js} +1 -1
- package/components/{PlayerAccountGamingLimitsPage2Gm16-DbTjbrCg.js → PlayerAccountGamingLimitsPage2Gm16-Da5wOtfX.js} +1 -1
- package/components/{PlayerAccountGamingLimitsPage2Gm16-CN784V5v.cjs → PlayerAccountGamingLimitsPage2Gm16-T3EGekRb.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsPopup-1UbtHpM4.js → PlayerAccountGamingLimitsPopup-BeeT7ZxG.js} +1 -1
- package/components/{PlayerAccountGamingLimitsPopup-D5nYGWok.cjs → PlayerAccountGamingLimitsPopup-DJbPWFdb.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsPopup-6hO_YTRk.js → PlayerAccountGamingLimitsPopup-Qnh_LotJ.js} +1 -1
- package/components/{PlayerAccountGamingLimitsWrapper2-H5X72FGo.js → PlayerAccountGamingLimitsWrapper2-B5mzoX05.js} +3 -3
- package/components/{PlayerAccountGamingLimitsWrapper2-DkVrqK1a.cjs → PlayerAccountGamingLimitsWrapper2-C36Kk6Uu.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsWrapper2-DKH_oTPL.js → PlayerAccountGamingLimitsWrapper2-S44rmcAR.js} +3 -3
- package/components/PlayerAccountGeneralConfirmationModal-BCMD8hM8.cjs +1 -0
- package/components/{PlayerAccountGeneralConfirmationModal-48XuglXa.js → PlayerAccountGeneralConfirmationModal-Cync35ll.js} +163 -147
- package/components/{PlayerAccountGeneralConfirmationModal-mKvnC-aM.js → PlayerAccountGeneralConfirmationModal-Sy253bQi.js} +163 -147
- package/components/{PlayerAccountMenu-DZYiL86p.js → PlayerAccountMenu-C-ScLXnR.js} +2 -2
- package/components/{PlayerAccountMenu-D-3XXdrS.cjs → PlayerAccountMenu-DXhrPxvF.cjs} +1 -1
- package/components/{PlayerAccountMenu-DYFceiv-.js → PlayerAccountMenu-eEUhDU6D.js} +2 -2
- package/components/{PlayerAccountModal-BuDt5h1l.cjs → PlayerAccountModal-BpTtaUfX.cjs} +1 -1
- package/components/{PlayerAccountModal-DuBxYfB-.js → PlayerAccountModal-CH0OzrVe.js} +1 -1
- package/components/{PlayerAccountModal-vXNHQMMx.js → PlayerAccountModal-ERzJg1Jt.js} +1 -1
- package/components/{PlayerAccountNotifications-eimwb2B_.js → PlayerAccountNotifications-3AAnjfJ_.js} +1 -1
- package/components/{PlayerAccountNotifications-D2sFlbP7.cjs → PlayerAccountNotifications-CMZltoyc.cjs} +1 -1
- package/components/{PlayerAccountNotifications-BaVSuY0V.js → PlayerAccountNotifications-D9jD4K09.js} +1 -1
- package/components/{PlayerAccountProductRestriction-Cbwqgb-P.js → PlayerAccountProductRestriction-BJAduEjx.js} +1070 -1063
- package/components/{PlayerAccountProductRestriction-i5lUVlsQ.cjs → PlayerAccountProductRestriction-BSaB1Z1x.cjs} +242 -242
- package/components/{PlayerAccountProductRestriction-HYm0eIXb.js → PlayerAccountProductRestriction-paZWUVZe.js} +1063 -1056
- package/components/{PlayerAccountReviewFrequency-oyuyzboO.cjs → PlayerAccountReviewFrequency-BeI7-JB-.cjs} +1 -1
- package/components/{PlayerAccountReviewFrequency-B55vgMkU.js → PlayerAccountReviewFrequency-CrArCM_3.js} +1 -1
- package/components/{PlayerAccountReviewFrequency-D39G6M8w.js → PlayerAccountReviewFrequency-DyJDps3d.js} +1 -1
- package/components/{PlayerAccountSelfExclusion-Btcxzmyl.js → PlayerAccountSelfExclusion-DLRJgApt.js} +1105 -1098
- package/components/{PlayerAccountSelfExclusion-CY5wEDf5.js → PlayerAccountSelfExclusion-DSwi4nAJ.js} +1118 -1111
- package/components/{PlayerAccountSelfExclusion-CCMP12tO.cjs → PlayerAccountSelfExclusion-Ds9P4hmK.cjs} +143 -143
- package/components/{PlayerAccountTimeout-CnmuzL1o.js → PlayerAccountTimeout-CRG_9mgx.js} +411 -422
- package/components/{PlayerAccountTimeout-Cl5M8UZM.js → PlayerAccountTimeout-CTqFdcnf.js} +411 -422
- package/components/{PlayerAccountTimeout-CBYSh_gx.cjs → PlayerAccountTimeout-Dqs-d-Ji.cjs} +1 -1
- package/components/{PlayerAccountTransactionsHistory-B89UQBgK.js → PlayerAccountTransactionsHistory-CyyqSaiL.js} +3 -3
- package/components/{PlayerAccountTransactionsHistory-DborEyiw.cjs → PlayerAccountTransactionsHistory-DVY3z4HK.cjs} +1 -1
- package/components/{PlayerAccountTransactionsHistory-CuLSo_WG.js → PlayerAccountTransactionsHistory-infw6lqU.js} +3 -3
- package/components/{PlayerActiveBonuses-Rb7CqkQm.js → PlayerActiveBonuses-BDme9SNL.js} +2 -2
- package/components/{PlayerActiveBonuses-rgpIrlXZ.cjs → PlayerActiveBonuses-CQXEEx6M.cjs} +1 -1
- package/components/{PlayerActiveBonuses-Cv7645BT.js → PlayerActiveBonuses-D14q9Lq7.js} +2 -2
- package/components/{PlayerBonusCard-D3S1mqXd.js → PlayerBonusCard-BrPXJISl.js} +2 -2
- package/components/{PlayerBonusCard-DDnmH7Q3.cjs → PlayerBonusCard-DqB-YOwa.cjs} +1 -1
- package/components/{PlayerBonusCard-Byfk3zTj.js → PlayerBonusCard-Lska2BfL.js} +2 -2
- package/components/{PlayerBonusHistory-BKquFnB_.js → PlayerBonusHistory-CG8fOSGT.js} +4 -4
- package/components/{PlayerBonusHistory-CjQW7Bz0.js → PlayerBonusHistory-TiQjDVS2.js} +4 -4
- package/components/{PlayerBonusHistory-KRE5nRLu.cjs → PlayerBonusHistory-WzMPdrT7.cjs} +1 -1
- package/components/{PlayerChangePassword-CrimbboS.js → PlayerChangePassword-BWDcQTeK.js} +1 -1
- package/components/{PlayerChangePassword-Dse_H2fj.cjs → PlayerChangePassword-IADHpyQs.cjs} +1 -1
- package/components/{PlayerChangePassword-DjvBDg3y.js → PlayerChangePassword-MZn0FPpH.js} +1 -1
- package/components/{PlayerDeposit-BBN4CKJK.js → PlayerDeposit-C92ti35C.js} +1 -1
- package/components/{PlayerDeposit-rfdArTZi.cjs → PlayerDeposit-CN2QU967.cjs} +1 -1
- package/components/{PlayerDeposit-BZ6g3CTd.js → PlayerDeposit-CxXgHXZN.js} +1 -1
- package/components/{PlayerGamingHistory-S-SzMIdL.cjs → PlayerGamingHistory-CjmQujzZ.cjs} +1 -1
- package/components/{PlayerGamingHistory-DzArsva8.js → PlayerGamingHistory-DBzGCuMH.js} +4 -4
- package/components/{PlayerGamingHistory-00NQrAip.js → PlayerGamingHistory-O1SUuv2U.js} +4 -4
- package/components/{PlayerPendingWithdrawals-BFjzJT3E.js → PlayerPendingWithdrawals-CIqj4rw5.js} +1 -1
- package/components/{PlayerPendingWithdrawals-D97Q7Wwu.js → PlayerPendingWithdrawals-Cr3Bb8fp.js} +1 -1
- package/components/{PlayerPendingWithdrawals-DjrsUKIF.cjs → PlayerPendingWithdrawals-HXAehYWA.cjs} +1 -1
- package/components/{PlayerProfileInfo-SbEB0z2o.js → PlayerProfileInfo-CbhmcJ7a.js} +1 -1
- package/components/{PlayerProfileInfo-DyKs84t2.js → PlayerProfileInfo-D364plZY.js} +1 -1
- package/components/{PlayerProfileInfo-CGvjIKQN.cjs → PlayerProfileInfo-DbfvK_ZS.cjs} +1 -1
- package/components/{PlayerRealityCheck-CYmf-RVV.cjs → PlayerRealityCheck-DWoQCHkQ.cjs} +1 -1
- package/components/{PlayerRealityCheck-C9r4TGt5.js → PlayerRealityCheck-JgLIeGQ-.js} +1 -1
- package/components/{PlayerRealityCheck-pY-GH7Tx.js → PlayerRealityCheck-ewNYbcWX.js} +1 -1
- package/components/{PlayerTransactionHistory-CAA600Et.js → PlayerTransactionHistory-C6G_L9Xi.js} +1 -1
- package/components/{PlayerTransactionHistory-DlY_0H_I.cjs → PlayerTransactionHistory-CHKGqwam.cjs} +1 -1
- package/components/{PlayerTransactionHistory-DY9X6YZW.js → PlayerTransactionHistory-zG-97Crt.js} +1 -1
- package/components/{PlayerWithdrawal-BIFTys53.js → PlayerWithdrawal-Cr2PACnM.js} +1 -1
- package/components/{PlayerWithdrawal-Dt-iI81t.cjs → PlayerWithdrawal-DhfwYn8c.cjs} +1 -1
- package/components/{PlayerWithdrawal-BcnzA5BS.js → PlayerWithdrawal-DkY29uqD.js} +1 -1
- 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-C1vqXw8b.js → checkbox-group-input_16-BrCm0kbO.js} +4 -4
- package/stencil/{checkbox-group-input_16-ClY7SdkF.js → checkbox-group-input_16-CZdGpU35.js} +4 -4
- package/stencil/{checkbox-group-input_16-ZIVqyYuv.cjs → checkbox-group-input_16-VlDSq7jm.cjs} +2 -2
- package/stencil/{index-c666b6e6-CHzdeNVa.js → index-c666b6e6-BYVmKLNL.js} +1 -1
- package/stencil/{index-c666b6e6-BXZV2FH8.js → index-c666b6e6-C9Bu-Ksf.js} +1 -1
- package/stencil/{index-c666b6e6-CDB6yjQD.cjs → index-c666b6e6-oo94PdNH.cjs} +1 -1
- package/stencil/{pam-change-password-6b535bd5-eMVVbYY4.js → pam-change-password-6b535bd5-BV8_JGnW.js} +1 -1
- package/stencil/{pam-change-password-6b535bd5-RlY6sJwz.js → pam-change-password-6b535bd5-BxiUmnSc.js} +1 -1
- package/stencil/{pam-change-password-6b535bd5-DlpHOrh6.cjs → pam-change-password-6b535bd5-D9V8itZD.cjs} +1 -1
- package/stencil/{pam-change-password-B-UeKPRd.js → pam-change-password-BYtSHkDU.js} +1 -1
- package/stencil/{pam-change-password-C_TPveWy.cjs → pam-change-password-C-Nyq_j6.cjs} +1 -1
- package/stencil/{pam-change-password-Dq-iapq1.js → pam-change-password-K_4BZut9.js} +1 -1
- package/components/PlayerAccountGeneralConfirmationModal-Fg_ynnO5.cjs +0 -1
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { a as
|
|
2
|
-
function
|
|
3
|
-
|
|
1
|
+
import { a as K, $ as F, S as Q, i as V, s as X, f as g, b as Y, J as Z, d as S, r as $, K as ee, L as te, M as ne, N as oe, O as ae, c as E, h as L, j as d, l as j, k as _, m as B, t as O, e as i, p as re, q as ie, u as le, n as se, v as N, w as ce, x as me, y as fe, z as de, A as ue, B as be } from "./GeneralLogout-B7wytw3i.js";
|
|
2
|
+
function W(n, e) {
|
|
3
|
+
K(n, e);
|
|
4
4
|
}
|
|
5
5
|
function ge(n) {
|
|
6
|
-
|
|
6
|
+
F.set(n);
|
|
7
7
|
}
|
|
8
|
-
const
|
|
8
|
+
const P = {
|
|
9
9
|
en: {
|
|
10
10
|
cancel: "Cancel",
|
|
11
11
|
confirm: "Confirm"
|
|
@@ -51,47 +51,47 @@ const q = {
|
|
|
51
51
|
confirm: "Confirm"
|
|
52
52
|
}
|
|
53
53
|
};
|
|
54
|
-
function
|
|
55
|
-
|
|
54
|
+
function he(n) {
|
|
55
|
+
Y(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
|
|
58
|
-
function
|
|
57
|
+
const Ce = (n) => ({}), q = (n) => ({});
|
|
58
|
+
function xe(n) {
|
|
59
59
|
let e, t;
|
|
60
60
|
return {
|
|
61
61
|
c() {
|
|
62
|
-
e =
|
|
62
|
+
e = N("svg"), t = N("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
|
-
m(
|
|
65
|
-
L(
|
|
64
|
+
m(r, s) {
|
|
65
|
+
L(r, e, s), d(e, t);
|
|
66
66
|
},
|
|
67
|
-
p:
|
|
68
|
-
d(
|
|
69
|
-
|
|
67
|
+
p: se,
|
|
68
|
+
d(r) {
|
|
69
|
+
r && S(e);
|
|
70
70
|
}
|
|
71
71
|
};
|
|
72
72
|
}
|
|
73
73
|
function H(n) {
|
|
74
|
-
let e, t,
|
|
74
|
+
let e, t, r;
|
|
75
75
|
return {
|
|
76
76
|
c() {
|
|
77
|
-
e = _("div"), t = _("h2"),
|
|
77
|
+
e = _("div"), t = _("h2"), r = O(
|
|
78
78
|
/*modaltitle*/
|
|
79
79
|
n[1]
|
|
80
|
-
),
|
|
80
|
+
), i(e, "class", "GeneralConfirmationTitle");
|
|
81
81
|
},
|
|
82
|
-
m(
|
|
83
|
-
L(
|
|
82
|
+
m(s, u) {
|
|
83
|
+
L(s, e, u), d(e, t), d(t, r);
|
|
84
84
|
},
|
|
85
|
-
p(
|
|
86
|
-
|
|
87
|
-
2 &&
|
|
88
|
-
|
|
85
|
+
p(s, u) {
|
|
86
|
+
u & /*modaltitle*/
|
|
87
|
+
2 && E(
|
|
88
|
+
r,
|
|
89
89
|
/*modaltitle*/
|
|
90
|
-
|
|
90
|
+
s[1]
|
|
91
91
|
);
|
|
92
92
|
},
|
|
93
|
-
d(
|
|
94
|
-
|
|
93
|
+
d(s) {
|
|
94
|
+
s && S(e);
|
|
95
95
|
}
|
|
96
96
|
};
|
|
97
97
|
}
|
|
@@ -99,261 +99,277 @@ function R(n) {
|
|
|
99
99
|
let e, t = (
|
|
100
100
|
/*$_*/
|
|
101
101
|
n[4]("cancel") + ""
|
|
102
|
-
),
|
|
102
|
+
), r, s, u;
|
|
103
103
|
return {
|
|
104
104
|
c() {
|
|
105
|
-
e = _("button"),
|
|
105
|
+
e = _("button"), r = O(t), i(e, "class", "GeneralCancelButton");
|
|
106
106
|
},
|
|
107
|
-
m(f,
|
|
108
|
-
L(f, e,
|
|
107
|
+
m(f, v) {
|
|
108
|
+
L(f, e, v), d(e, r), s || (u = j(
|
|
109
109
|
e,
|
|
110
110
|
"click",
|
|
111
111
|
/*click_handler*/
|
|
112
|
-
n[
|
|
113
|
-
),
|
|
112
|
+
n[18]
|
|
113
|
+
), s = !0);
|
|
114
114
|
},
|
|
115
|
-
p(f,
|
|
116
|
-
|
|
115
|
+
p(f, v) {
|
|
116
|
+
v & /*$_*/
|
|
117
117
|
16 && t !== (t = /*$_*/
|
|
118
|
-
f[4]("cancel") + "") &&
|
|
118
|
+
f[4]("cancel") + "") && E(r, t);
|
|
119
119
|
},
|
|
120
120
|
d(f) {
|
|
121
|
-
f && S(e),
|
|
121
|
+
f && S(e), s = !1, u();
|
|
122
122
|
}
|
|
123
123
|
};
|
|
124
124
|
}
|
|
125
125
|
function pe(n) {
|
|
126
|
-
let e, t,
|
|
126
|
+
let e, t, r, s, u, f, v, h, y, C, w = (
|
|
127
127
|
/*$_*/
|
|
128
128
|
n[4]("confirm") + ""
|
|
129
|
-
), k,
|
|
130
|
-
const
|
|
129
|
+
), k, b, G, A;
|
|
130
|
+
const M = (
|
|
131
131
|
/*#slots*/
|
|
132
|
-
n[
|
|
133
|
-
),
|
|
134
|
-
|
|
132
|
+
n[17].close
|
|
133
|
+
), c = Z(
|
|
134
|
+
M,
|
|
135
135
|
n,
|
|
136
136
|
/*$$scope*/
|
|
137
|
-
n[
|
|
138
|
-
|
|
139
|
-
),
|
|
140
|
-
let
|
|
137
|
+
n[16],
|
|
138
|
+
q
|
|
139
|
+
), x = c || xe();
|
|
140
|
+
let m = (
|
|
141
141
|
/*modaltitle*/
|
|
142
142
|
n[1] && H(n)
|
|
143
|
-
),
|
|
143
|
+
), l = (
|
|
144
144
|
/*hascancelbutton*/
|
|
145
145
|
n[2] && R(n)
|
|
146
146
|
);
|
|
147
147
|
return {
|
|
148
148
|
c() {
|
|
149
|
-
e = _("div"), t = _("div"),
|
|
150
|
-
(n[5] ? "GeneralConfirmationControlAreaMobile" : "")),
|
|
151
|
-
(n[5] ? "GeneralConfirmationContainerMobile" : "")),
|
|
149
|
+
e = _("div"), t = _("div"), r = _("span"), x && x.c(), s = B(), m && m.c(), u = B(), f = _("div"), v = B(), h = _("div"), l && l.c(), y = B(), C = _("button"), k = O(w), i(r, "class", "ModalCloseBtn"), i(r, "role", "button"), i(f, "class", "GeneralConfirmationContent"), i(C, "class", "GeneralConfirmButton"), i(h, "class", "GeneralConfirmationControlArea " + /*isMobile*/
|
|
150
|
+
(n[5] ? "GeneralConfirmationControlAreaMobile" : "")), i(t, "class", "GeneralConfirmationContainer " + /*isMobile*/
|
|
151
|
+
(n[5] ? "GeneralConfirmationContainerMobile" : "")), i(e, "class", "GeneralConfirmationWrapper " + /*isMobile*/
|
|
152
152
|
(n[5] ? "GeneralConfirmationMobileWrapper" : ""));
|
|
153
153
|
},
|
|
154
|
-
m(
|
|
155
|
-
L(
|
|
156
|
-
n[0],
|
|
154
|
+
m(a, p) {
|
|
155
|
+
L(a, e, p), d(e, t), d(t, r), x && x.m(r, null), d(t, s), m && m.m(t, null), d(t, u), d(t, f), f.innerHTML = /*modaltext*/
|
|
156
|
+
n[0], d(t, v), d(t, h), l && l.m(h, null), d(h, y), d(h, C), d(C, k), n[20](e), b = !0, G || (A = [
|
|
157
157
|
j(
|
|
158
|
-
|
|
158
|
+
r,
|
|
159
159
|
"click",
|
|
160
160
|
/*close*/
|
|
161
161
|
n[6]
|
|
162
162
|
),
|
|
163
163
|
j(
|
|
164
|
-
|
|
164
|
+
C,
|
|
165
165
|
"click",
|
|
166
166
|
/*click_handler_1*/
|
|
167
|
-
n[
|
|
167
|
+
n[19]
|
|
168
168
|
)
|
|
169
169
|
], G = !0);
|
|
170
170
|
},
|
|
171
|
-
p(
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
171
|
+
p(a, [p]) {
|
|
172
|
+
c && c.p && (!b || p & /*$$scope*/
|
|
173
|
+
65536) && ne(
|
|
174
|
+
c,
|
|
175
|
+
M,
|
|
176
|
+
a,
|
|
177
177
|
/*$$scope*/
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
178
|
+
a[16],
|
|
179
|
+
b ? ae(
|
|
180
|
+
M,
|
|
181
181
|
/*$$scope*/
|
|
182
|
-
|
|
182
|
+
a[16],
|
|
183
183
|
p,
|
|
184
|
-
|
|
185
|
-
) :
|
|
184
|
+
Ce
|
|
185
|
+
) : oe(
|
|
186
186
|
/*$$scope*/
|
|
187
|
-
|
|
187
|
+
a[16]
|
|
188
188
|
),
|
|
189
|
-
|
|
189
|
+
q
|
|
190
190
|
), /*modaltitle*/
|
|
191
|
-
|
|
191
|
+
a[1] ? m ? m.p(a, p) : (m = H(a), m.c(), m.m(t, u)) : m && (m.d(1), m = null), (!b || p & /*modaltext*/
|
|
192
192
|
1) && (f.innerHTML = /*modaltext*/
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
16) &&
|
|
196
|
-
|
|
193
|
+
a[0]), /*hascancelbutton*/
|
|
194
|
+
a[2] ? l ? l.p(a, p) : (l = R(a), l.c(), l.m(h, y)) : l && (l.d(1), l = null), (!b || p & /*$_*/
|
|
195
|
+
16) && w !== (w = /*$_*/
|
|
196
|
+
a[4]("confirm") + "") && E(k, w);
|
|
197
197
|
},
|
|
198
|
-
i(
|
|
199
|
-
|
|
198
|
+
i(a) {
|
|
199
|
+
b || (te(x, a), b = !0);
|
|
200
200
|
},
|
|
201
|
-
o(
|
|
202
|
-
|
|
201
|
+
o(a) {
|
|
202
|
+
ee(x, a), b = !1;
|
|
203
203
|
},
|
|
204
|
-
d(
|
|
205
|
-
|
|
204
|
+
d(a) {
|
|
205
|
+
a && S(e), x && x.d(a), m && m.d(), l && l.d(), n[20](null), G = !1, $(A);
|
|
206
206
|
}
|
|
207
207
|
};
|
|
208
208
|
}
|
|
209
|
-
function
|
|
210
|
-
let
|
|
211
|
-
re(n,
|
|
212
|
-
let { $$slots:
|
|
213
|
-
const
|
|
209
|
+
function ve(n, e, t) {
|
|
210
|
+
let r;
|
|
211
|
+
re(n, be, (o) => t(4, r = o));
|
|
212
|
+
let { $$slots: s = {}, $$scope: u } = e, { modaltext: f = "Are you sure that you want to perform this action?" } = e, { modaltitle: v = "" } = e, { hascancelbutton: h = !1 } = e, { modalconfirmevent: y = "" } = e, { modalcancelevent: C = "" } = e, { modalconfirmdata: w = {} } = e, { lang: k = "en" } = e, { clientstyling: b = "" } = e, { clientstylingurl: G = "" } = e, { translationurl: A = "" } = e, { mbsource: M } = e, c, x = window.navigator.userAgent, m = ie(x) !== "PC";
|
|
213
|
+
const l = () => {
|
|
214
214
|
window.postMessage({ type: "ModalClosed" }, window.location.href);
|
|
215
215
|
}, a = (o) => {
|
|
216
|
-
o === "confirm" && y &&
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
216
|
+
o === "confirm" && y && c.dispatchEvent(new CustomEvent(
|
|
217
|
+
y,
|
|
218
|
+
{
|
|
219
|
+
detail: w,
|
|
220
|
+
// payload
|
|
221
|
+
bubbles: !0,
|
|
222
|
+
composed: !0
|
|
223
|
+
}
|
|
224
|
+
)), o === "cancel" && C && c.dispatchEvent(new CustomEvent(C, { bubbles: !0, composed: !0 })), l();
|
|
225
|
+
}, p = () => {
|
|
226
|
+
fetch(A).then((z) => z.json()).then((z) => {
|
|
227
|
+
Object.keys(z).forEach((T) => {
|
|
228
|
+
W(T, z[T]);
|
|
221
229
|
});
|
|
222
230
|
}).catch((z) => {
|
|
223
231
|
console.log(z);
|
|
224
232
|
});
|
|
225
233
|
};
|
|
226
|
-
Object.keys(
|
|
227
|
-
|
|
234
|
+
Object.keys(P).forEach((o) => {
|
|
235
|
+
W(o, P[o]);
|
|
228
236
|
});
|
|
229
|
-
const
|
|
230
|
-
ge(
|
|
237
|
+
const U = () => {
|
|
238
|
+
ge(k);
|
|
231
239
|
};
|
|
232
|
-
|
|
240
|
+
le(() => () => {
|
|
233
241
|
});
|
|
234
|
-
const
|
|
235
|
-
function
|
|
236
|
-
|
|
237
|
-
|
|
242
|
+
const D = () => a("cancel"), I = () => a("confirm");
|
|
243
|
+
function J(o) {
|
|
244
|
+
ce[o ? "unshift" : "push"](() => {
|
|
245
|
+
c = o, t(3, c);
|
|
238
246
|
});
|
|
239
247
|
}
|
|
240
248
|
return n.$$set = (o) => {
|
|
241
|
-
"modaltext" in o && t(0, f = o.modaltext), "modaltitle" in o && t(1,
|
|
249
|
+
"modaltext" in o && t(0, f = o.modaltext), "modaltitle" in o && t(1, v = o.modaltitle), "hascancelbutton" in o && t(2, h = o.hascancelbutton), "modalconfirmevent" in o && t(8, y = o.modalconfirmevent), "modalcancelevent" in o && t(9, C = 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);
|
|
242
250
|
}, n.$$.update = () => {
|
|
243
251
|
n.$$.dirty & /*modaltext, lang*/
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
252
|
+
2049 && f && k && U(), n.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
253
|
+
4104 && b && c && me(c, b), n.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
254
|
+
8200 && G && c && fe(c, G), n.$$.dirty & /*mbsource, customStylingContainer*/
|
|
255
|
+
32776 && M && c && de(c, `${M}.Style`), n.$$.dirty & /*translationurl*/
|
|
256
|
+
16384 && A && p();
|
|
249
257
|
}, [
|
|
250
258
|
f,
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
259
|
+
v,
|
|
260
|
+
h,
|
|
261
|
+
c,
|
|
262
|
+
r,
|
|
263
|
+
m,
|
|
264
|
+
l,
|
|
257
265
|
a,
|
|
258
266
|
y,
|
|
259
|
-
|
|
260
|
-
|
|
267
|
+
C,
|
|
268
|
+
w,
|
|
261
269
|
k,
|
|
262
|
-
|
|
270
|
+
b,
|
|
263
271
|
G,
|
|
272
|
+
A,
|
|
264
273
|
M,
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
U,
|
|
274
|
+
u,
|
|
275
|
+
s,
|
|
268
276
|
D,
|
|
269
|
-
I
|
|
277
|
+
I,
|
|
278
|
+
J
|
|
270
279
|
];
|
|
271
280
|
}
|
|
272
|
-
class
|
|
281
|
+
class _e extends Q {
|
|
273
282
|
constructor(e) {
|
|
274
|
-
super(),
|
|
283
|
+
super(), V(
|
|
275
284
|
this,
|
|
276
285
|
e,
|
|
277
|
-
|
|
286
|
+
ve,
|
|
278
287
|
pe,
|
|
279
|
-
|
|
288
|
+
X,
|
|
280
289
|
{
|
|
281
290
|
modaltext: 0,
|
|
282
291
|
modaltitle: 1,
|
|
283
292
|
hascancelbutton: 2,
|
|
284
293
|
modalconfirmevent: 8,
|
|
285
294
|
modalcancelevent: 9,
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
295
|
+
modalconfirmdata: 10,
|
|
296
|
+
lang: 11,
|
|
297
|
+
clientstyling: 12,
|
|
298
|
+
clientstylingurl: 13,
|
|
299
|
+
translationurl: 14,
|
|
300
|
+
mbsource: 15
|
|
291
301
|
},
|
|
292
|
-
|
|
302
|
+
he
|
|
293
303
|
);
|
|
294
304
|
}
|
|
295
305
|
get modaltext() {
|
|
296
306
|
return this.$$.ctx[0];
|
|
297
307
|
}
|
|
298
308
|
set modaltext(e) {
|
|
299
|
-
this.$$set({ modaltext: e }),
|
|
309
|
+
this.$$set({ modaltext: e }), g();
|
|
300
310
|
}
|
|
301
311
|
get modaltitle() {
|
|
302
312
|
return this.$$.ctx[1];
|
|
303
313
|
}
|
|
304
314
|
set modaltitle(e) {
|
|
305
|
-
this.$$set({ modaltitle: e }),
|
|
315
|
+
this.$$set({ modaltitle: e }), g();
|
|
306
316
|
}
|
|
307
317
|
get hascancelbutton() {
|
|
308
318
|
return this.$$.ctx[2];
|
|
309
319
|
}
|
|
310
320
|
set hascancelbutton(e) {
|
|
311
|
-
this.$$set({ hascancelbutton: e }),
|
|
321
|
+
this.$$set({ hascancelbutton: e }), g();
|
|
312
322
|
}
|
|
313
323
|
get modalconfirmevent() {
|
|
314
324
|
return this.$$.ctx[8];
|
|
315
325
|
}
|
|
316
326
|
set modalconfirmevent(e) {
|
|
317
|
-
this.$$set({ modalconfirmevent: e }),
|
|
327
|
+
this.$$set({ modalconfirmevent: e }), g();
|
|
318
328
|
}
|
|
319
329
|
get modalcancelevent() {
|
|
320
330
|
return this.$$.ctx[9];
|
|
321
331
|
}
|
|
322
332
|
set modalcancelevent(e) {
|
|
323
|
-
this.$$set({ modalcancelevent: e }),
|
|
333
|
+
this.$$set({ modalcancelevent: e }), g();
|
|
324
334
|
}
|
|
325
|
-
get
|
|
335
|
+
get modalconfirmdata() {
|
|
326
336
|
return this.$$.ctx[10];
|
|
327
337
|
}
|
|
338
|
+
set modalconfirmdata(e) {
|
|
339
|
+
this.$$set({ modalconfirmdata: e }), g();
|
|
340
|
+
}
|
|
341
|
+
get lang() {
|
|
342
|
+
return this.$$.ctx[11];
|
|
343
|
+
}
|
|
328
344
|
set lang(e) {
|
|
329
|
-
this.$$set({ lang: e }),
|
|
345
|
+
this.$$set({ lang: e }), g();
|
|
330
346
|
}
|
|
331
347
|
get clientstyling() {
|
|
332
|
-
return this.$$.ctx[
|
|
348
|
+
return this.$$.ctx[12];
|
|
333
349
|
}
|
|
334
350
|
set clientstyling(e) {
|
|
335
|
-
this.$$set({ clientstyling: e }),
|
|
351
|
+
this.$$set({ clientstyling: e }), g();
|
|
336
352
|
}
|
|
337
353
|
get clientstylingurl() {
|
|
338
|
-
return this.$$.ctx[
|
|
354
|
+
return this.$$.ctx[13];
|
|
339
355
|
}
|
|
340
356
|
set clientstylingurl(e) {
|
|
341
|
-
this.$$set({ clientstylingurl: e }),
|
|
357
|
+
this.$$set({ clientstylingurl: e }), g();
|
|
342
358
|
}
|
|
343
359
|
get translationurl() {
|
|
344
|
-
return this.$$.ctx[
|
|
360
|
+
return this.$$.ctx[14];
|
|
345
361
|
}
|
|
346
362
|
set translationurl(e) {
|
|
347
|
-
this.$$set({ translationurl: e }),
|
|
363
|
+
this.$$set({ translationurl: e }), g();
|
|
348
364
|
}
|
|
349
365
|
get mbsource() {
|
|
350
|
-
return this.$$.ctx[
|
|
366
|
+
return this.$$.ctx[15];
|
|
351
367
|
}
|
|
352
368
|
set mbsource(e) {
|
|
353
|
-
this.$$set({ mbsource: e }),
|
|
369
|
+
this.$$set({ mbsource: e }), g();
|
|
354
370
|
}
|
|
355
371
|
}
|
|
356
|
-
|
|
372
|
+
ue(_e, { modaltext: {}, modaltitle: {}, hascancelbutton: { type: "Boolean" }, modalconfirmevent: {}, modalcancelevent: {}, modalconfirmdata: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, ["close"], [], !0);
|
|
357
373
|
export {
|
|
358
|
-
|
|
374
|
+
_e as default
|
|
359
375
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as ue, $ as me, S as ge, i as de, s as fe, f as F, b as ye, n as O, d as C, h as L, k as b, p as pe, q as G, u as he, w as be, C as T, D as $, j as a, m as I, g as m, e as g, c as S, t as H, r as Ae, l as j, v as W, a2 as V, x as Me, y as Pe, z as we, A as ve, B as _e } from "./GeneralLogout-
|
|
1
|
+
import { a as ue, $ as me, S as ge, i as de, s as fe, f as F, b as ye, n as O, d as C, h as L, k as b, p as pe, q as G, u as he, w as be, C as T, D as $, j as a, m as I, g as m, e as g, c as S, t as H, r as Ae, l as j, v as W, a2 as V, x as Me, y as Pe, z as we, A as ve, B as _e } from "./GeneralLogout-B7wytw3i.js";
|
|
2
2
|
import "../stencil/ui-skeleton-CTFP1U_H.js";
|
|
3
3
|
function X(n, e) {
|
|
4
4
|
ue(n, e);
|
|
@@ -53,7 +53,7 @@ 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-B7wytw3i.js").then((e) => e.aa).then(({ default: e }) => {
|
|
57
57
|
!customElements.get("general-logout") && customElements.define("general-logout", e.element);
|
|
58
58
|
});
|
|
59
59
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./GeneralLogout-CK8tLROK.cjs");require("../stencil/ui-skeleton-C2ZVNvDq.cjs");function B(l,t){e.addMessages(l,t)}function J(l){e.$locale.set(l)}const W={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-CK8tLROK.cjs")).then(t=>t.GeneralLogout_ce).then(({default:t})=>{!customElements.get("general-logout")&&customElements.define("general-logout",t.element)})}function K(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 H(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 Q(l){let t,n,a,r,s,m,g,_,A,y,f,h,u=l[12]&&$(l),c=l[12]&&ee(l),d=e.ensure_array_like(l[7]),i=[];for(let p=0;p<d.length;p+=1)i[p]=S(H(l,d,p));let v=!l[12]&&te(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"),_=e.text(l[10]),A=e.space(),c&&c.c(),y=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,M){e.insert(p,t,M),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,_),e.append(n,A),c&&c.m(n,null),e.append(t,y),e.append(t,f);for(let b=0;b<i.length;b+=1)i[b]&&i[b].m(f,null);e.append(t,h),v&&v.m(t,null)},p(p,M){if(p[12]&&u.p(p,M),M[0]&512&&e.set_data(s,p[9]),M[0]&1024&&e.set_data(_,p[10]),p[12]&&c.p(p,M),M[0]&12672){d=e.ensure_array_like(p[7]);let b;for(b=0;b<d.length;b+=1){const k=H(p,d,b);i[b]?i[b].p(k,M):(i[b]=S(k),i[b].c(),i[b].m(f,null))}for(;b<i.length;b+=1)i[b].d(1);i.length=d.length}p[12]||v.p(p,M)},d(p){p&&e.detach(t),u&&u.d(),c&&c.d(),e.destroy_each(i,p),v&&v.d()}}}function Y(l){let t,n,a,r,s,m,g,_,A,y,f=l[12]&&ne(),h=e.ensure_array_like(Array(18)),u=[];for(let c=0;c<h.length;c+=1)u[c]=O(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(),_=e.element("div");for(let c=0;c<u.length;c+=1)u[c].c();A=e.space(),y=e.element("div"),y.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(_,"class","PlayerAccountMenuList"),e.attr(y,"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,_);for(let i=0;i<u.length;i+=1)u[i]&&u[i].m(_,null);e.append(t,A),e.append(t,y)},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]=O(v),u[i].c(),u[i].m(_,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 $(l){let t,n,a,r,s,m,g,_,A,y,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"),_=e.svg_element("path"),A=e.space(),y=e.element("h3"),h=e.text(f),e.attr(_,"class","aaa"),e.attr(_,"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(_,"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(y,"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,_),e.append(t,A),e.append(t,y),e.append(y,h),u||(c=[e.listen(n,"click",l[14]),e.listen(y,"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 ee(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 S(l){let t,n,a,r,s,m,g=l[40].label+"",_,A,y,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"),_=e.text(g),A=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",y="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,_),e.append(t,A),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(_,g),d[0]&384&&y!==(y="PlayerAccountMenuItemBox "+(l[8]===l[40].id&&!l[12]?"PlayerAccountMenuActiveItemBox":""))&&e.attr(t,"class",y)},d(c){c&&e.detach(t),f=!1,h()}}}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 ne(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 le(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 O(l){let t,n,a,r,s=!l[12]&&le();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 ae(l){let t;function n(s,m){return s[6]?Y:Q}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 re(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:_=""}=t,{lang:A="en"}=t,{userroles:y=""}=t,{clientstyling:f=""}=t,{clientstylingurl:h=""}=t,{translationurl:u=""}=t,{activemenuitem:c=""}=t,{mbsource:d}=t,i=!1,v=!1,p=!0,M,b=[],k,x=window.navigator.userAgent,z=e.getDevice(x)!=="PC",I="",F="";window.matchMedia("(min-width: 768px)");const U=()=>{fetch(u).then(P=>P.json()).then(P=>{Object.keys(P).forEach(w=>{B(w,P[w])})}).catch(P=>{console.error(P)})};Object.keys(W).forEach(o=>{B(o,W[o])});const C=o=>{if(o.data)switch(o.data.type){case"UserSessionID":n(0,g=o.data.session);break}},D=()=>{let o=e.getDevice(x);if(o)return o==="PC"?"dk":"mtWeb"},q=()=>{const o=new URL(`${s}/${A}/profile-menu?env=${m}`);o.searchParams.append("device",D()),fetch(o.href).then(P=>P.json()).then(P=>{n(7,b=P),E()}).catch(P=>{console.error("Error getting menu items",P)}).finally(()=>{n(22,i=!0)})},R=()=>{let o=new URL(`${r}/v1/player/${_}/profile`);o.searchParams.append("userRoles",y);let P={method:"GET",headers:{"X-SessionID":g}};fetch(o.href,P).then(w=>w.json()).then(w=>{n(9,I=w.username),n(10,F=w.email)},w=>{console.error(w)}).finally(()=>{n(23,v=!0)})},L=o=>{window.postMessage({type:"ChangeAccountPage",page:o},window.location.href),n(8,k=o.id)},E=()=>{var o;n(8,k=(o=b.find(P=>P.path.includes(c)))==null?void 0:o.id)},G=()=>{J(A)},N=()=>{R()},V=()=>{window.postMessage({type:"GoToHomepage"},window.location.href)};e.onMount(()=>(window.addEventListener("message",C,!1),()=>{window.removeEventListener("message",C)}));const X=o=>L(o);function Z(o){e.binding_callbacks[o?"unshift":"push"](()=>{M=o,n(5,M)})}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,_=o.playerid),"lang"in o&&n(18,A=o.lang),"userroles"in o&&n(19,y=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&&A&&G(),l.$$.dirty[0]&393219&&r&&g&&_&&A&&N(),l.$$.dirty[0]&360448&&s&&A&&m&&q(),l.$$.dirty[0]&2097152&&c&&E(),l.$$.dirty[0]&36&&f&&M&&e.setClientStyling(M,f),l.$$.dirty[0]&40&&h&&M&&e.setClientStylingURL(M,h),l.$$.dirty[0]&48&&d&&M&&e.setStreamStyling(M,`${d}.Style`),l.$$.dirty[0]&1048576&&u&&U()},[g,r,f,h,d,M,p,b,k,I,F,a,z,L,V,s,m,_,A,y,u,c,i,v,X,Z]}class j extends e.SvelteComponent{constructor(t){super(),e.init(this,t,re,ae,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},K,[-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(j,{endpoint:{},cmsendpoint:{},env:{},session:{},playerid:{},lang:{},userroles:{},clientstyling:{},clientstylingurl:{},translationurl:{},activemenuitem:{},mbsource:{}},[],[],!0);exports.default=j;
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./GeneralLogout-CmR1r8PX.cjs");require("../stencil/ui-skeleton-C2ZVNvDq.cjs");function B(l,t){e.addMessages(l,t)}function J(l){e.$locale.set(l)}const W={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-CmR1r8PX.cjs")).then(t=>t.GeneralLogout_ce).then(({default:t})=>{!customElements.get("general-logout")&&customElements.define("general-logout",t.element)})}function K(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 H(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 Q(l){let t,n,a,r,s,m,g,_,A,y,f,h,u=l[12]&&$(l),c=l[12]&&ee(l),d=e.ensure_array_like(l[7]),i=[];for(let p=0;p<d.length;p+=1)i[p]=S(H(l,d,p));let v=!l[12]&&te(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"),_=e.text(l[10]),A=e.space(),c&&c.c(),y=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,M){e.insert(p,t,M),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,_),e.append(n,A),c&&c.m(n,null),e.append(t,y),e.append(t,f);for(let b=0;b<i.length;b+=1)i[b]&&i[b].m(f,null);e.append(t,h),v&&v.m(t,null)},p(p,M){if(p[12]&&u.p(p,M),M[0]&512&&e.set_data(s,p[9]),M[0]&1024&&e.set_data(_,p[10]),p[12]&&c.p(p,M),M[0]&12672){d=e.ensure_array_like(p[7]);let b;for(b=0;b<d.length;b+=1){const k=H(p,d,b);i[b]?i[b].p(k,M):(i[b]=S(k),i[b].c(),i[b].m(f,null))}for(;b<i.length;b+=1)i[b].d(1);i.length=d.length}p[12]||v.p(p,M)},d(p){p&&e.detach(t),u&&u.d(),c&&c.d(),e.destroy_each(i,p),v&&v.d()}}}function Y(l){let t,n,a,r,s,m,g,_,A,y,f=l[12]&&ne(),h=e.ensure_array_like(Array(18)),u=[];for(let c=0;c<h.length;c+=1)u[c]=O(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(),_=e.element("div");for(let c=0;c<u.length;c+=1)u[c].c();A=e.space(),y=e.element("div"),y.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(_,"class","PlayerAccountMenuList"),e.attr(y,"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,_);for(let i=0;i<u.length;i+=1)u[i]&&u[i].m(_,null);e.append(t,A),e.append(t,y)},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]=O(v),u[i].c(),u[i].m(_,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 $(l){let t,n,a,r,s,m,g,_,A,y,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"),_=e.svg_element("path"),A=e.space(),y=e.element("h3"),h=e.text(f),e.attr(_,"class","aaa"),e.attr(_,"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(_,"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(y,"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,_),e.append(t,A),e.append(t,y),e.append(y,h),u||(c=[e.listen(n,"click",l[14]),e.listen(y,"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 ee(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 S(l){let t,n,a,r,s,m,g=l[40].label+"",_,A,y,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"),_=e.text(g),A=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",y="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,_),e.append(t,A),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(_,g),d[0]&384&&y!==(y="PlayerAccountMenuItemBox "+(l[8]===l[40].id&&!l[12]?"PlayerAccountMenuActiveItemBox":""))&&e.attr(t,"class",y)},d(c){c&&e.detach(t),f=!1,h()}}}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 ne(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 le(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 O(l){let t,n,a,r,s=!l[12]&&le();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 ae(l){let t;function n(s,m){return s[6]?Y:Q}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 re(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:_=""}=t,{lang:A="en"}=t,{userroles:y=""}=t,{clientstyling:f=""}=t,{clientstylingurl:h=""}=t,{translationurl:u=""}=t,{activemenuitem:c=""}=t,{mbsource:d}=t,i=!1,v=!1,p=!0,M,b=[],k,x=window.navigator.userAgent,z=e.getDevice(x)!=="PC",I="",F="";window.matchMedia("(min-width: 768px)");const U=()=>{fetch(u).then(P=>P.json()).then(P=>{Object.keys(P).forEach(w=>{B(w,P[w])})}).catch(P=>{console.error(P)})};Object.keys(W).forEach(o=>{B(o,W[o])});const C=o=>{if(o.data)switch(o.data.type){case"UserSessionID":n(0,g=o.data.session);break}},D=()=>{let o=e.getDevice(x);if(o)return o==="PC"?"dk":"mtWeb"},q=()=>{const o=new URL(`${s}/${A}/profile-menu?env=${m}`);o.searchParams.append("device",D()),fetch(o.href).then(P=>P.json()).then(P=>{n(7,b=P),E()}).catch(P=>{console.error("Error getting menu items",P)}).finally(()=>{n(22,i=!0)})},R=()=>{let o=new URL(`${r}/v1/player/${_}/profile`);o.searchParams.append("userRoles",y);let P={method:"GET",headers:{"X-SessionID":g}};fetch(o.href,P).then(w=>w.json()).then(w=>{n(9,I=w.username),n(10,F=w.email)},w=>{console.error(w)}).finally(()=>{n(23,v=!0)})},L=o=>{window.postMessage({type:"ChangeAccountPage",page:o},window.location.href),n(8,k=o.id)},E=()=>{var o;n(8,k=(o=b.find(P=>P.path.includes(c)))==null?void 0:o.id)},G=()=>{J(A)},N=()=>{R()},V=()=>{window.postMessage({type:"GoToHomepage"},window.location.href)};e.onMount(()=>(window.addEventListener("message",C,!1),()=>{window.removeEventListener("message",C)}));const X=o=>L(o);function Z(o){e.binding_callbacks[o?"unshift":"push"](()=>{M=o,n(5,M)})}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,_=o.playerid),"lang"in o&&n(18,A=o.lang),"userroles"in o&&n(19,y=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&&A&&G(),l.$$.dirty[0]&393219&&r&&g&&_&&A&&N(),l.$$.dirty[0]&360448&&s&&A&&m&&q(),l.$$.dirty[0]&2097152&&c&&E(),l.$$.dirty[0]&36&&f&&M&&e.setClientStyling(M,f),l.$$.dirty[0]&40&&h&&M&&e.setClientStylingURL(M,h),l.$$.dirty[0]&48&&d&&M&&e.setStreamStyling(M,`${d}.Style`),l.$$.dirty[0]&1048576&&u&&U()},[g,r,f,h,d,M,p,b,k,I,F,a,z,L,V,s,m,_,A,y,u,c,i,v,X,Z]}class j extends e.SvelteComponent{constructor(t){super(),e.init(this,t,re,ae,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},K,[-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(j,{endpoint:{},cmsendpoint:{},env:{},session:{},playerid:{},lang:{},userroles:{},clientstyling:{},clientstylingurl:{},translationurl:{},activemenuitem:{},mbsource:{}},[],[],!0);exports.default=j;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as ue, $ as me, S as ge, i as de, f as F, s as fe, A as ye, b as pe, n as O, d as C, h as L, k as b, p as he, q as G, u as be, w as Ae, C as T, D as $, j as a, m as I, g as m, e as g, c as S, t as H, r as Me, l as j, v as W, a2 as V, B as Pe, x as we, y as ve, z as _e } from "./GeneralLogout-
|
|
1
|
+
import { a as ue, $ as me, S as ge, i as de, f as F, s as fe, A as ye, b as pe, n as O, d as C, h as L, k as b, p as he, q as G, u as be, w as Ae, C as T, D as $, j as a, m as I, g as m, e as g, c as S, t as H, r as Me, l as j, v as W, a2 as V, B as Pe, x as we, y as ve, z as _e } from "./GeneralLogout-CCZ-t51N.js";
|
|
2
2
|
import "../stencil/ui-skeleton-BQnxp85t.js";
|
|
3
3
|
function X(n, e) {
|
|
4
4
|
ue(n, e);
|
|
@@ -53,7 +53,7 @@ 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-CCZ-t51N.js").then((e) => e.aa).then(({ default: e }) => {
|
|
57
57
|
!customElements.get("general-logout") && customElements.define("general-logout", e.element);
|
|
58
58
|
});
|
|
59
59
|
}
|