@everymatrix/player-account-controller-nd 1.52.6 → 1.53.10
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-BZhvD1EQ.js → GeneralLogout-3tCkYOBy.js} +1597 -1648
- package/components/{PlayerAccountBettingHistory-QT3-2u7E.js → PlayerAccountBettingHistory-DAOgOPGf.js} +34 -35
- package/components/{PlayerAccountBiometrics-BupiQCMJ.js → PlayerAccountBiometrics-sCg1trpD.js} +1 -1
- package/components/{PlayerAccountClosureNd-DAFiYifr.js → PlayerAccountClosureNd-De5JqWgf.js} +1 -1
- package/components/{PlayerAccountControllerNd-DPYLx7NR.js → PlayerAccountControllerNd-COEYGY9w.js} +2502 -2182
- package/components/{PlayerAccountGamingLimits-Ba8gZhzx.js → PlayerAccountGamingLimits-CqTz7Ici.js} +3 -3
- package/components/{PlayerAccountGamingLimitsConfirmationModal-DKpr25Aj.js → PlayerAccountGamingLimitsConfirmationModal-BjoIf8Bc.js} +38 -38
- package/components/{PlayerAccountGamingLimitsGroupEdit-CHTvuuJn.js → PlayerAccountGamingLimitsGroupEdit-DAdNIZpE.js} +16 -16
- package/components/{PlayerAccountGamingLimitsHistory2Nd-BQRXsnS9.js → PlayerAccountGamingLimitsHistory2Nd-DhHA1RpB.js} +122 -133
- package/components/{PlayerAccountGamingLimitsInfoCard-CuWuZhIt.js → PlayerAccountGamingLimitsInfoCard-Dm4s5EwR.js} +4 -4
- package/components/PlayerAccountGamingLimitsPage2Gm16Nd-DKULeWa-.js +3268 -0
- package/components/{PlayerAccountGamingLimitsPopup-DoLZB2lj.js → PlayerAccountGamingLimitsPopup-Df_x-yrG.js} +1 -1
- package/components/{PlayerAccountGamingLimitsWrapper2Nd-C2l4GKfA.js → PlayerAccountGamingLimitsWrapper2Nd-DQ3dr7To.js} +124 -127
- package/components/PlayerAccountGeneralConfirmationModal-Nvr-pqYF.js +365 -0
- package/components/{PlayerAccountMenuNd-DCG8VBeN.js → PlayerAccountMenuNd-z4P33Khe.js} +88 -89
- package/components/PlayerAccountModal-BvKEdvD_.js +213 -0
- package/components/{PlayerAccountNotifications-BBwUcB1T.js → PlayerAccountNotifications-BFv2Nw_e.js} +1 -1
- package/components/{PlayerAccountSelfExclusionNd-CcWfUeeq.js → PlayerAccountSelfExclusionNd-D0XYPrl9.js} +7663 -6480
- package/components/{PlayerAccountTimeout-B0g85-4A.js → PlayerAccountTimeout-rttX6IYz.js} +448 -288
- package/components/PlayerActiveBonuses-LfCU2WnE.js +1088 -0
- package/components/PlayerBonusCard-CbzYE1Iz.js +701 -0
- package/components/{PlayerBonusHistory-DG8zGNVv.js → PlayerBonusHistory-D61Y7LPQ.js} +53 -53
- package/components/{PlayerChangePassword-BsQyz4Qc.js → PlayerChangePassword-CtlTmVcf.js} +1 -1
- package/components/{PlayerDeposit-BjBByisT.js → PlayerDeposit-_rTfbSEr.js} +1 -1
- package/components/{PlayerGamingHistory-CyH6YJA_.js → PlayerGamingHistory-szc4XDy6.js} +375 -388
- package/components/{PlayerPendingWithdrawals-wMhZTLpq.js → PlayerPendingWithdrawals-BhEz708_.js} +1 -1
- package/components/{PlayerProfileInfo-DTypEbEs.js → PlayerProfileInfo-BbyV3TvC.js} +532 -549
- package/components/{PlayerRealityCheck--iYjw4rP.js → PlayerRealityCheck-DMRjX5t_.js} +175 -191
- package/components/{PlayerTransactionHistory-CvBbrQn6.js → PlayerTransactionHistory-C4ne-FLe.js} +1 -1
- package/components/{PlayerWithdrawal-jGmMHcUX.js → PlayerWithdrawal-Bn5jvB2N.js} +1 -1
- package/esnext/player-account-controller-nd.js +14 -0
- package/package.json +8 -33
- package/stencil/active-mixin-59dfae2a-BphP4pp5.js +9700 -0
- package/stencil/app-globals-0f993ce5-D-kw1sls.js +5 -0
- package/stencil/checkbox-group-input_9-CMFoK7_E.js +15610 -0
- package/stencil/general-input-DnFPstQP.js +48 -0
- package/stencil/index-062e829b-DAFsZs6D.js +686 -0
- package/stencil/locale-BG_TzyDt.js +141 -0
- package/stencil/password-input_2-Bb9Q6Fe0.js +2359 -0
- package/stencil/player-change-password-gm2-98dcb7bc-gLcZhl3S.js +253 -0
- package/stencil/player-change-password-gm2-sVfmFhoT.js +7 -0
- package/stencil/toggle-checkbox-input-CCLW6-uK.js +46 -0
- package/stencil/tooltipIcon-ee9760a8-BCCb4EU-.js +4 -0
- package/components/GeneralLogout-BW6b3iuS.cjs +0 -8
- package/components/PlayerAccountBettingHistory-BsFzBNDY.cjs +0 -1
- package/components/PlayerAccountBiometrics-BrlNlZ5N.cjs +0 -1
- package/components/PlayerAccountClosureNd-DcMOj468.cjs +0 -1
- package/components/PlayerAccountControllerNd-Q0t7Ubzn.cjs +0 -1
- package/components/PlayerAccountGamingLimits-96NZsRcC.cjs +0 -1
- package/components/PlayerAccountGamingLimitsConfirmationModal-IgBYV9F2.cjs +0 -1
- package/components/PlayerAccountGamingLimitsGroupEdit-DKM3If51.cjs +0 -10
- package/components/PlayerAccountGamingLimitsHistory2Nd-2hdjxCBn.cjs +0 -1
- package/components/PlayerAccountGamingLimitsInfoCard-ZuPsBZ-7.cjs +0 -1
- package/components/PlayerAccountGamingLimitsPage2Gm16Nd-TSh0wb3T.cjs +0 -21
- package/components/PlayerAccountGamingLimitsPage2Gm16Nd-qfL5QXeR.js +0 -2867
- package/components/PlayerAccountGamingLimitsPopup-ChBLdQR7.cjs +0 -1
- package/components/PlayerAccountGamingLimitsWrapper2Nd-B9Q7iGIP.cjs +0 -1
- package/components/PlayerAccountMenuNd-BIuXWBiI.cjs +0 -1
- package/components/PlayerAccountModal-C52SG5dV.cjs +0 -1
- package/components/PlayerAccountModal-DAqNrt36.js +0 -198
- package/components/PlayerAccountNotifications-DkgHtUGj.cjs +0 -1
- package/components/PlayerAccountSelfExclusionNd-y8YlFTpW.cjs +0 -4171
- package/components/PlayerAccountTimeout-C0lXekrR.cjs +0 -1
- package/components/PlayerActiveBonuses-B53gZwaj.cjs +0 -1
- package/components/PlayerActiveBonuses-DeDDPDuH.js +0 -998
- package/components/PlayerBonusCard-BbvG-zJm.js +0 -579
- package/components/PlayerBonusCard-Crm5CyLi.cjs +0 -1
- package/components/PlayerBonusHistory-Bq7IPMXk.cjs +0 -1
- package/components/PlayerChangePassword-CzR4Xz0H.cjs +0 -3
- package/components/PlayerDeposit-3qNMb75V.cjs +0 -1
- package/components/PlayerGamingHistory-CxUirJqc.cjs +0 -1
- package/components/PlayerPendingWithdrawals-BG3I8ifu.cjs +0 -1
- package/components/PlayerProfileInfo-BX32t6wz.cjs +0 -1
- package/components/PlayerRealityCheck-C26ZBWae.cjs +0 -1
- package/components/PlayerTransactionHistory-CJqhYnbs.cjs +0 -1
- package/components/PlayerWithdrawal-GDc_7hZX.cjs +0 -1
- package/es2015/player-account-controller-nd.cjs +0 -1
- package/es2015/player-account-controller-nd.js +0 -16
- package/stencil/index-Dyvby5gX.cjs +0 -1
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { a as ie, $ as ce, S as se, i as ue, f as
|
|
1
|
+
import { a as ie, $ as ce, S as se, i as ue, f as I, c as me, s as de, b as ge, e as v, k as L, o as O, p as B, q as ye, u as R, v as pe, x as fe, y as he, K as N, d as k, t as H, g as s, l as o, n as z, L as Ae, w as E, m as W, r as Me, j as M, X as q } from "./GeneralLogout-3tCkYOBy.js";
|
|
2
2
|
function X(n, e) {
|
|
3
3
|
ie(n, e);
|
|
4
4
|
}
|
|
5
|
-
function
|
|
5
|
+
function be(n) {
|
|
6
6
|
ce.set(n);
|
|
7
7
|
}
|
|
8
8
|
const G = {
|
|
@@ -40,7 +40,7 @@ const G = {
|
|
|
40
40
|
title: "My Account"
|
|
41
41
|
}
|
|
42
42
|
};
|
|
43
|
-
if (typeof window
|
|
43
|
+
if (typeof window < "u") {
|
|
44
44
|
let n = function(e) {
|
|
45
45
|
return function(...t) {
|
|
46
46
|
try {
|
|
@@ -52,104 +52,104 @@ if (typeof window != "undefined") {
|
|
|
52
52
|
}
|
|
53
53
|
};
|
|
54
54
|
};
|
|
55
|
-
customElements.define = n(customElements.define), import("./GeneralLogout-
|
|
55
|
+
customElements.define = n(customElements.define), import("./GeneralLogout-3tCkYOBy.js").then((e) => e.a4).then(({ default: e }) => {
|
|
56
56
|
!customElements.get("general-logout") && customElements.define("general-logout", e.element);
|
|
57
57
|
});
|
|
58
58
|
}
|
|
59
59
|
function Pe(n) {
|
|
60
|
-
ge(n, "svelte-
|
|
60
|
+
ge(n, "svelte-br9jas", '.PlayerAccountMenuContainer{color:var(--emw--pam-typography-color-nav-bg, var(--emw--color-contrast, #FFFFFF));position:relative;height:100vh;display:flex;flex-direction:column;padding:0 15px}.PlayerAccountMenuContainer .PlayerAccountMenuItemWrapper{margin:0;word-break:break-all;display:flex;align-items:center}.PlayerAccountMenuContainer .PlayerAccountMenuItemWrapper span{display:flex;align-items:center}.PlayerAccountMenuHeader{color:var(--emw--pam-typography-color-nav-bg, var(--emw--color-contrast, #FFFFFF));flex-grow:0;padding:30px 20px}.PlayerAccountMenuHeader .PlayerAccountMenuUser{margin-bottom:5px;font-size:var(--emw--font-size-large, 20px);color:var(--emw--pam-color-secondary, var(--emw--color-secondary, #E98B10))}.PlayerAccountMenuHeader .PlayerAccountMenuEmail{font-size:var(--emw--font-size-small, 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:var(--emw--font-size-medium, 16px);line-height:16px;display:inline-flex;width:100%;box-sizing:border-box;align-items:center;border-radius:var(--emw--border-radius-medium, 20px);border:2px solid transparent;cursor:pointer;transition:all 0.3s linear}.PlayerAccountMenuItemBox:hover{transition:all 0.3s linear;background:rgba(35, 176, 78, 0.3);border:2px solid var(--emw--pam-color-primary, var(--emw--color-primary, #23B04E));border-radius:var(--emw--border-radius-medium, 20px);color:var(--emw--color-white, #FFFFFF)}.PlayerAccountMenuItemBox .PlayerAccountMenuItemTitle{margin-left:20px}.PlayerAccountMenuItemBox .PlayerAccountMenuItemIcon{width:20px;padding-top:unset}.PlayerAccountMenuItemBox .PlayerAccountMenuItemIconMobile{width:30px;padding-top:15px}.PlayerAccountMenuList::-webkit-scrollbar{width:6px}.PlayerAccountMenuList::-webkit-scrollbar-track{background:var(--emw--color-gray-300, #58586B)}.PlayerAccountMenuList::-webkit-scrollbar-thumb{background:var(--emw--color-gray-100, #E6E6E6)}.PlayerAccountLogOutArea{background-color:rgba(253, 40, 57, 0.3);color:var(--emw--color-white, #FFFFFF);border-radius:var(--emw--border-radius-medium, 20px);width:100%;flex-grow:0}.PlayerAccountMenuActiveItemBox{background:rgba(35, 176, 78, 0.3);color:var(--emw--pam-color-primary, var(--emw--color-primary, #23B04E));border:2px solid var(--emw--pam-color-primary, var(--emw--color-primary, #23B04E));border-radius:var(--emw--border-radius-medium, 20px);transition:all 0.3s linear}.PlayerAccountMobileContainer{height:unset;padding:0}.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:flex;flex-direction:column;align-items:flex-start;margin:0px 15px}.PlayerAccountMobileContainer .PlayerAccountMenuList .PlayerAccountMenuItemBox{background:rgba(35, 176, 78, 0.3);color:var(--emw--pam-color-primary, var(--emw--color-primary, #23B04E));border:2px solid var(--emw--pam-color-primary, var(--emw--color-primary, #23B04E));border-radius:var(--emw--border-radius-medium, 20px);height:60px;margin:5px 0;align-items:flex-start;position:relative}.PlayerAccountMobileContainer .PlayerAccountMenuList .PlayerAccountMenuItemBox.PlayerAccountMenuActiveItemBox{background:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C))}.PlayerAccountMobileContainer .PlayerAccountMenuList .PlayerAccountMenuItemBox .PlayerAccountMenuItemIcon{width:20px;padding:0 10px 0 15px}.PlayerAccountMobileContainer .PlayerAccountMenuList .PlayerAccountMenuItemBox::after{content:"";display:inline-block;width:15px;height:15px;background-image:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2215%22 height=%2215%22 viewBox=%220 0 15 15%22%3E%3Cdefs%3E%3Cstyle%3E.aaa%7Bfill:var(--emw--color-white,%20%23FFFFFF);%7D%3C/style%3E%3C/defs%3E%3Cg transform=%22translate(-20%20-158)%22%3E%3Cg transform=%22translate(20%20158)%22%3E%3Cpath class=%22aaa%22 d=%22M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z%22 transform=%22translate(15%2015)%20rotate(180)%22%3E%3C/path%3E%3C/g%3E%3C/g%3E%3C/svg%3E");background-size:contain;transform:scaleX(-1);background-repeat:no-repeat;position:absolute;right:15px;top:22px}.PlayerAccountMobileContainer .PlayerAccountMenuList .PlayerAccountMenuItemWrapper{display:flex;justify-items:center;align-items:center;flex-flow:row;gap:6px;position:absolute;top:0;bottom:0;left:0;right:0}.PlayerAccountMobileContainer .PlayerAccountMenuList .PlayerAccountMenuItemWrapper .PlayerAccountMenuItemTitle{font-size:var(--emw--font-size-medium, 16px);line-height:16px;font-weight:400;word-break:break-word;text-align:left;color:var(--emw--pam-typography-color-nav-bg, var(--emw--color-contrast, #FFFFFF))}.PlayerAccountMobileContainer .PlayerAccountLogOutArea{position:absolute;right:18px;top:56px;bottom:unset;background:transparent;width:48px;border-top:0}.PlayerAccountTabletContainer .PlayerAccountMenuHeader{padding:30px 40px}.PlayerAccountTabletContainer .PlayerAccountMenuCategoryTitle{font-size:32px}.PlayerAccountTabletContainer .PlayerAccountMenuUser{font-size:26px;color:var(--emw--pam-color-secondary, var(--emw--color-secondary, #E98B10))}.PlayerAccountTabletContainer .PlayerAccountMenuEmail{font-size:18px}.PlayerAccountTabletContainer .PlayerAccountMenuList{column-gap:20px;row-gap:20px;padding:0 40px 40px;grid-template-columns:calc(33% - 11px) calc(33% - 11px) calc(33% - 11px)}.PlayerAccountTabletContainer .PlayerAccountMenuList .PlayerAccountMenuItemBox .PlayerAccountMenuItemIcon,.PlayerAccountTabletContainer .PlayerAccountMenuList .PlayerAccountMenuItemBox .PlayerAccountMenuItemIconMobile{width:30px}.PlayerAccountTabletContainer .PlayerAccountMenuList .PlayerAccountMenuItemWrapper{gap:12px}.PlayerAccountTabletContainer .PlayerAccountMenuList .PlayerAccountMenuItemWrapper .PlayerAccountMenuItemTitle{font-size:var(--emw--font-size-large, 20px)}.PlayerAccountTabletContainer .PlayerAccountLogOutArea{right:54px;top:72px}');
|
|
61
61
|
}
|
|
62
62
|
function V(n, e, t) {
|
|
63
63
|
const l = n.slice();
|
|
64
64
|
return l[37] = e[t], l;
|
|
65
65
|
}
|
|
66
66
|
function we(n) {
|
|
67
|
-
let e, t, l, a, d, m, y,
|
|
67
|
+
let e, t, l, a, d, m, y, f, P, w, h, x, A = (
|
|
68
68
|
/*isMobile*/
|
|
69
69
|
n[10] && ve(n)
|
|
70
70
|
), g = (
|
|
71
71
|
/*isMobile*/
|
|
72
72
|
n[10] && xe(n)
|
|
73
|
-
), u =
|
|
73
|
+
), u = N(
|
|
74
74
|
/*menuItems*/
|
|
75
75
|
n[5]
|
|
76
76
|
), c = [];
|
|
77
77
|
for (let i = 0; i < u.length; i += 1)
|
|
78
78
|
c[i] = Z(V(n, u, i));
|
|
79
|
-
let
|
|
79
|
+
let F = !/*isMobile*/
|
|
80
80
|
n[10] && _e(n);
|
|
81
81
|
return {
|
|
82
82
|
c() {
|
|
83
|
-
e = v("div"), t = v("div"),
|
|
83
|
+
e = v("div"), t = v("div"), A && A.c(), l = k(), a = v("p"), d = H(
|
|
84
84
|
/*profileUsername*/
|
|
85
85
|
n[7]
|
|
86
|
-
), m = k(), y = v("p"),
|
|
86
|
+
), m = k(), y = v("p"), f = H(
|
|
87
87
|
/*profileEmail*/
|
|
88
88
|
n[8]
|
|
89
|
-
), P = k(), g && g.c(), w = k(),
|
|
89
|
+
), P = k(), g && g.c(), w = k(), h = v("div");
|
|
90
90
|
for (let i = 0; i < c.length; i += 1)
|
|
91
91
|
c[i].c();
|
|
92
|
-
x = k(),
|
|
93
|
-
(n[10] ? "PlayerAccountMenuHeaderMobile" : "")), s(
|
|
92
|
+
x = k(), F && F.c(), s(a, "class", "PlayerAccountMenuUser"), s(y, "class", "PlayerAccountMenuEmail"), s(t, "class", "PlayerAccountMenuHeader " + /*isMobile*/
|
|
93
|
+
(n[10] ? "PlayerAccountMenuHeaderMobile" : "")), s(h, "class", "PlayerAccountMenuList"), s(e, "class", "PlayerAccountMenuContainer " + /*isMobile*/
|
|
94
94
|
(n[10] ? "PlayerAccountMobileContainer" : "") + " " + /*mediaQuery*/
|
|
95
95
|
(n[11].matches && /*isMobile*/
|
|
96
96
|
n[10] ? "PlayerAccountTabletContainer" : ""));
|
|
97
97
|
},
|
|
98
98
|
m(i, C) {
|
|
99
|
-
L(i, e, C), o(e, t),
|
|
99
|
+
L(i, e, C), o(e, t), A && A.m(t, null), o(t, l), o(t, a), o(a, d), o(t, m), o(t, y), o(y, f), o(t, P), g && g.m(t, null), o(e, w), o(e, h);
|
|
100
100
|
for (let p = 0; p < c.length; p += 1)
|
|
101
|
-
c[p] && c[p].m(
|
|
102
|
-
o(e, x),
|
|
101
|
+
c[p] && c[p].m(h, null);
|
|
102
|
+
o(e, x), F && F.m(e, null);
|
|
103
103
|
},
|
|
104
104
|
p(i, C) {
|
|
105
105
|
if (
|
|
106
106
|
/*isMobile*/
|
|
107
|
-
i[10] &&
|
|
107
|
+
i[10] && A.p(i, C), C[0] & /*profileUsername*/
|
|
108
108
|
128 && z(
|
|
109
109
|
d,
|
|
110
110
|
/*profileUsername*/
|
|
111
111
|
i[7]
|
|
112
112
|
), C[0] & /*profileEmail*/
|
|
113
113
|
256 && z(
|
|
114
|
-
|
|
114
|
+
f,
|
|
115
115
|
/*profileEmail*/
|
|
116
116
|
i[8]
|
|
117
117
|
), /*isMobile*/
|
|
118
118
|
i[10] && g.p(i, C), C[0] & /*selectedItem, menuItems, isMobile, openAccountSection*/
|
|
119
119
|
5216
|
|
120
120
|
) {
|
|
121
|
-
u =
|
|
121
|
+
u = N(
|
|
122
122
|
/*menuItems*/
|
|
123
123
|
i[5]
|
|
124
124
|
);
|
|
125
125
|
let p;
|
|
126
126
|
for (p = 0; p < u.length; p += 1) {
|
|
127
127
|
const T = V(i, u, p);
|
|
128
|
-
c[p] ? c[p].p(T, C) : (c[p] = Z(T), c[p].c(), c[p].m(
|
|
128
|
+
c[p] ? c[p].p(T, C) : (c[p] = Z(T), c[p].c(), c[p].m(h, null));
|
|
129
129
|
}
|
|
130
130
|
for (; p < c.length; p += 1)
|
|
131
131
|
c[p].d(1);
|
|
132
132
|
c.length = u.length;
|
|
133
133
|
}
|
|
134
134
|
/*isMobile*/
|
|
135
|
-
i[10] ||
|
|
135
|
+
i[10] || F.p(i, C);
|
|
136
136
|
},
|
|
137
137
|
d(i) {
|
|
138
|
-
i && B(e),
|
|
138
|
+
i && B(e), A && A.d(), g && g.d(), Ae(c, i), F && F.d();
|
|
139
139
|
}
|
|
140
140
|
};
|
|
141
141
|
}
|
|
142
142
|
function ve(n) {
|
|
143
|
-
let e, t, l, a, d, m, y,
|
|
143
|
+
let e, t, l, a, d, m, y, f, P, w, h = (
|
|
144
144
|
/*$_*/
|
|
145
145
|
n[9]("title") + ""
|
|
146
|
-
), x,
|
|
146
|
+
), x, A, g;
|
|
147
147
|
return {
|
|
148
148
|
c() {
|
|
149
|
-
e = v("div"), t = E("svg"), l = E("defs"), a = E("style"), d = H(".aaa{fill:var(--emw--color-white, #FFFFFF);}"), m = E("g"), y = E("g"),
|
|
149
|
+
e = v("div"), t = E("svg"), l = E("defs"), a = E("style"), d = H(".aaa{fill:var(--emw--color-white, #FFFFFF);}"), m = E("g"), y = E("g"), f = E("path"), P = k(), w = v("h3"), x = H(h), s(f, "class", "aaa"), s(f, "d", "M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"), s(f, "transform", "translate(15 15) rotate(180)"), s(y, "transform", "translate(20 158)"), s(m, "transform", "translate(-20 -158)"), s(t, "xmlns", "http://www.w3.org/2000/svg"), s(t, "width", "15"), s(t, "height", "15"), s(t, "viewBox", "0 0 15 15"), s(w, "class", "PlayerAccountMenuCategoryTitle"), s(e, "class", "PlayerAccountMenuCategoryWrapper");
|
|
150
150
|
},
|
|
151
151
|
m(u, c) {
|
|
152
|
-
L(u, e, c), o(e, t), o(t, l), o(l, a), o(a, d), o(t, m), o(m, y), o(y,
|
|
152
|
+
L(u, e, c), o(e, t), o(t, l), o(l, a), o(a, d), o(t, m), o(m, y), o(y, f), o(e, P), o(e, w), o(w, x), A || (g = [
|
|
153
153
|
W(
|
|
154
154
|
t,
|
|
155
155
|
"click",
|
|
@@ -162,15 +162,15 @@ function ve(n) {
|
|
|
162
162
|
/*goToHome*/
|
|
163
163
|
n[13]
|
|
164
164
|
)
|
|
165
|
-
],
|
|
165
|
+
], A = !0);
|
|
166
166
|
},
|
|
167
167
|
p(u, c) {
|
|
168
168
|
c[0] & /*$_*/
|
|
169
|
-
512 &&
|
|
170
|
-
u[9]("title") + "") && z(x,
|
|
169
|
+
512 && h !== (h = /*$_*/
|
|
170
|
+
u[9]("title") + "") && z(x, h);
|
|
171
171
|
},
|
|
172
172
|
d(u) {
|
|
173
|
-
u && B(e),
|
|
173
|
+
u && B(e), A = !1, Me(g);
|
|
174
174
|
}
|
|
175
175
|
};
|
|
176
176
|
}
|
|
@@ -239,8 +239,8 @@ function Z(n) {
|
|
|
239
239
|
let e, t, l, a, d, m, y = (
|
|
240
240
|
/*menuItem*/
|
|
241
241
|
n[37].label + ""
|
|
242
|
-
),
|
|
243
|
-
function
|
|
242
|
+
), f, P, w, h, x;
|
|
243
|
+
function A() {
|
|
244
244
|
return (
|
|
245
245
|
/*click_handler*/
|
|
246
246
|
n[22](
|
|
@@ -251,29 +251,29 @@ function Z(n) {
|
|
|
251
251
|
}
|
|
252
252
|
return {
|
|
253
253
|
c() {
|
|
254
|
-
e = v("div"), t = v("p"), l = v("img"), d = k(), m = v("span"),
|
|
255
|
-
(n[10] ? "PlayerAccountMenuItemIconMobile" : "")),
|
|
254
|
+
e = v("div"), t = v("p"), l = v("img"), d = k(), m = v("span"), f = H(y), P = k(), s(l, "class", "PlayerAccountMenuItemIcon " + /*isMobile*/
|
|
255
|
+
(n[10] ? "PlayerAccountMenuItemIconMobile" : "")), q(l.src, a = /*menuItem*/
|
|
256
256
|
n[37].img) || s(l, "src", a), s(m, "class", "PlayerAccountMenuItemTitle"), s(t, "class", "PlayerAccountMenuItemWrapper"), s(e, "class", w = "PlayerAccountMenuItemBox " + /*selectedItem*/
|
|
257
257
|
(n[6] === /*menuItem*/
|
|
258
258
|
n[37].id && !/*isMobile*/
|
|
259
259
|
n[10] ? "PlayerAccountMenuActiveItemBox" : ""));
|
|
260
260
|
},
|
|
261
261
|
m(g, u) {
|
|
262
|
-
L(g, e, u), o(e, t), o(t, l), o(t, d), o(t, m), o(m,
|
|
262
|
+
L(g, e, u), o(e, t), o(t, l), o(t, d), o(t, m), o(m, f), o(e, P), h || (x = W(e, "click", A), h = !0);
|
|
263
263
|
},
|
|
264
264
|
p(g, u) {
|
|
265
265
|
n = g, u[0] & /*menuItems*/
|
|
266
|
-
32 && !
|
|
266
|
+
32 && !q(l.src, a = /*menuItem*/
|
|
267
267
|
n[37].img) && s(l, "src", a), u[0] & /*menuItems*/
|
|
268
268
|
32 && y !== (y = /*menuItem*/
|
|
269
|
-
n[37].label + "") && z(
|
|
269
|
+
n[37].label + "") && z(f, y), u[0] & /*selectedItem, menuItems*/
|
|
270
270
|
96 && w !== (w = "PlayerAccountMenuItemBox " + /*selectedItem*/
|
|
271
271
|
(n[6] === /*menuItem*/
|
|
272
272
|
n[37].id && !/*isMobile*/
|
|
273
273
|
n[10] ? "PlayerAccountMenuActiveItemBox" : "")) && s(e, "class", w);
|
|
274
274
|
},
|
|
275
275
|
d(g) {
|
|
276
|
-
g && B(e),
|
|
276
|
+
g && B(e), h = !1, x();
|
|
277
277
|
}
|
|
278
278
|
};
|
|
279
279
|
}
|
|
@@ -354,24 +354,24 @@ function Ce(n) {
|
|
|
354
354
|
p(d, m) {
|
|
355
355
|
a.p(d, m);
|
|
356
356
|
},
|
|
357
|
-
i:
|
|
358
|
-
o:
|
|
357
|
+
i: O,
|
|
358
|
+
o: O,
|
|
359
359
|
d(d) {
|
|
360
360
|
d && B(e), a.d(), n[23](null);
|
|
361
361
|
}
|
|
362
362
|
};
|
|
363
363
|
}
|
|
364
|
-
function
|
|
364
|
+
function Ie(n, e, t) {
|
|
365
365
|
let l;
|
|
366
366
|
ye(n, he, (r) => t(9, l = r));
|
|
367
|
-
let { endpoint: a = "" } = e, { cmsendpoint: d = "" } = e, { env: m = "" } = e, { session: y = "" } = e, { playerid:
|
|
367
|
+
let { endpoint: a = "" } = e, { cmsendpoint: d = "" } = e, { env: m = "" } = e, { session: y = "" } = e, { playerid: f = "" } = e, { lang: P = "en" } = e, { selecteditem: w = "" } = e, { userroles: h = "" } = e, { clientstyling: x = "" } = e, { clientstylingurl: A = "" } = e, { translationurl: g = "" } = e, { activemenuitem: u = "" } = e, c, F = [], i, C = window.navigator.userAgent, p = R(C) !== "PC", T = "", S = "";
|
|
368
368
|
const K = window.matchMedia("(min-width: 768px)"), Q = () => {
|
|
369
|
-
fetch(g).then((
|
|
370
|
-
Object.keys(
|
|
371
|
-
X(_,
|
|
369
|
+
fetch(g).then((b) => b.json()).then((b) => {
|
|
370
|
+
Object.keys(b).forEach((_) => {
|
|
371
|
+
X(_, b[_]);
|
|
372
372
|
});
|
|
373
|
-
}).catch((
|
|
374
|
-
console.error(
|
|
373
|
+
}).catch((b) => {
|
|
374
|
+
console.error(b);
|
|
375
375
|
});
|
|
376
376
|
};
|
|
377
377
|
Object.keys(G).forEach((r) => {
|
|
@@ -393,19 +393,19 @@ function Fe(n, e, t) {
|
|
|
393
393
|
return r === "PC" ? "dk" : "mtWeb";
|
|
394
394
|
}, Y = () => {
|
|
395
395
|
const r = new URL(`${d}/${P}/profile-menu?env=${m}`);
|
|
396
|
-
r.searchParams.append("device", J()), fetch(r.href).then((
|
|
397
|
-
t(5,
|
|
398
|
-
}).catch((
|
|
399
|
-
console.error("Error getting menu items",
|
|
396
|
+
r.searchParams.append("device", J()), fetch(r.href).then((b) => b.json()).then((b) => {
|
|
397
|
+
t(5, F = b), D();
|
|
398
|
+
}).catch((b) => {
|
|
399
|
+
console.error("Error getting menu items", b);
|
|
400
400
|
});
|
|
401
401
|
}, $ = () => {
|
|
402
|
-
let r = new URL(`${a}/v1/player/${
|
|
403
|
-
r.searchParams.append("userRoles",
|
|
404
|
-
let
|
|
402
|
+
let r = new URL(`${a}/v1/player/${f}/profile`);
|
|
403
|
+
r.searchParams.append("userRoles", h);
|
|
404
|
+
let b = {
|
|
405
405
|
method: "GET",
|
|
406
406
|
headers: { "X-SessionID": y }
|
|
407
407
|
};
|
|
408
|
-
fetch(r.href,
|
|
408
|
+
fetch(r.href, b).then((_) => _.json()).then(
|
|
409
409
|
(_) => {
|
|
410
410
|
t(7, T = _.username), t(8, S = _.email);
|
|
411
411
|
},
|
|
@@ -413,26 +413,25 @@ function Fe(n, e, t) {
|
|
|
413
413
|
console.error(_);
|
|
414
414
|
}
|
|
415
415
|
);
|
|
416
|
-
},
|
|
416
|
+
}, j = (r) => {
|
|
417
417
|
window.postMessage({ type: "ChangeAccountPage", page: r }, window.location.href), t(6, i = r.id);
|
|
418
|
-
},
|
|
419
|
-
|
|
420
|
-
t(6, i = (r = I.find((f) => f.path.includes(u))) == null ? void 0 : r.id);
|
|
418
|
+
}, D = () => {
|
|
419
|
+
t(6, i = F.find((r) => r.path.includes(u))?.id);
|
|
421
420
|
}, ee = () => {
|
|
422
421
|
window.postMessage({ type: "GoToHomepage" }, window.location.href);
|
|
423
422
|
}, te = () => {
|
|
424
|
-
|
|
423
|
+
be(P);
|
|
425
424
|
}, ne = () => {
|
|
426
425
|
$();
|
|
427
426
|
}, re = () => {
|
|
428
427
|
let r = document.createElement("style");
|
|
429
428
|
r.innerHTML = x, c.appendChild(r);
|
|
430
429
|
}, le = () => {
|
|
431
|
-
let r = new URL(
|
|
430
|
+
let r = new URL(A), b = document.createElement("style");
|
|
432
431
|
fetch(r.href).then((_) => _.text()).then((_) => {
|
|
433
|
-
|
|
432
|
+
b.innerHTML = _, setTimeout(
|
|
434
433
|
() => {
|
|
435
|
-
c.appendChild(
|
|
434
|
+
c.appendChild(b);
|
|
436
435
|
},
|
|
437
436
|
1
|
|
438
437
|
);
|
|
@@ -441,56 +440,56 @@ function Fe(n, e, t) {
|
|
|
441
440
|
pe(() => (window.addEventListener("message", U, !1), () => {
|
|
442
441
|
window.removeEventListener("message", U);
|
|
443
442
|
}));
|
|
444
|
-
const ae = (r) =>
|
|
443
|
+
const ae = (r) => j(r);
|
|
445
444
|
function oe(r) {
|
|
446
445
|
fe[r ? "unshift" : "push"](() => {
|
|
447
446
|
c = r, t(4, c);
|
|
448
447
|
});
|
|
449
448
|
}
|
|
450
449
|
return n.$$set = (r) => {
|
|
451
|
-
"endpoint" in r && t(1, a = r.endpoint), "cmsendpoint" in r && t(14, d = r.cmsendpoint), "env" in r && t(15, m = r.env), "session" in r && t(0, y = r.session), "playerid" in r && t(16,
|
|
450
|
+
"endpoint" in r && t(1, a = r.endpoint), "cmsendpoint" in r && t(14, d = r.cmsendpoint), "env" in r && t(15, m = r.env), "session" in r && t(0, y = r.session), "playerid" in r && t(16, f = r.playerid), "lang" in r && t(17, P = r.lang), "selecteditem" in r && t(18, w = r.selecteditem), "userroles" in r && t(19, h = r.userroles), "clientstyling" in r && t(2, x = r.clientstyling), "clientstylingurl" in r && t(3, A = r.clientstylingurl), "translationurl" in r && t(20, g = r.translationurl), "activemenuitem" in r && t(21, u = r.activemenuitem);
|
|
452
451
|
}, n.$$.update = () => {
|
|
453
452
|
n.$$.dirty[0] & /*lang*/
|
|
454
453
|
131072 && P && te(), n.$$.dirty[0] & /*endpoint, session, playerid, lang*/
|
|
455
|
-
196611 && a && y &&
|
|
454
|
+
196611 && a && y && f && P && ne(), n.$$.dirty[0] & /*cmsendpoint, lang, env*/
|
|
456
455
|
180224 && d && P && m && Y(), n.$$.dirty[0] & /*activemenuitem*/
|
|
457
|
-
2097152 && u &&
|
|
458
|
-
24 &&
|
|
456
|
+
2097152 && u && D(), n.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
457
|
+
24 && A && c && le(), n.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
459
458
|
20 && x && c && re(), n.$$.dirty[0] & /*translationurl*/
|
|
460
459
|
1048576 && g && Q();
|
|
461
460
|
}, [
|
|
462
461
|
y,
|
|
463
462
|
a,
|
|
464
463
|
x,
|
|
465
|
-
|
|
464
|
+
A,
|
|
466
465
|
c,
|
|
467
|
-
|
|
466
|
+
F,
|
|
468
467
|
i,
|
|
469
468
|
T,
|
|
470
469
|
S,
|
|
471
470
|
l,
|
|
472
471
|
p,
|
|
473
472
|
K,
|
|
474
|
-
|
|
473
|
+
j,
|
|
475
474
|
ee,
|
|
476
475
|
d,
|
|
477
476
|
m,
|
|
478
|
-
|
|
477
|
+
f,
|
|
479
478
|
P,
|
|
480
479
|
w,
|
|
481
|
-
|
|
480
|
+
h,
|
|
482
481
|
g,
|
|
483
482
|
u,
|
|
484
483
|
ae,
|
|
485
484
|
oe
|
|
486
485
|
];
|
|
487
486
|
}
|
|
488
|
-
class
|
|
487
|
+
class Fe extends se {
|
|
489
488
|
constructor(e) {
|
|
490
489
|
super(), ue(
|
|
491
490
|
this,
|
|
492
491
|
e,
|
|
493
|
-
|
|
492
|
+
Ie,
|
|
494
493
|
Ce,
|
|
495
494
|
de,
|
|
496
495
|
{
|
|
@@ -515,76 +514,76 @@ class Ie extends se {
|
|
|
515
514
|
return this.$$.ctx[1];
|
|
516
515
|
}
|
|
517
516
|
set endpoint(e) {
|
|
518
|
-
this.$$set({ endpoint: e }),
|
|
517
|
+
this.$$set({ endpoint: e }), I();
|
|
519
518
|
}
|
|
520
519
|
get cmsendpoint() {
|
|
521
520
|
return this.$$.ctx[14];
|
|
522
521
|
}
|
|
523
522
|
set cmsendpoint(e) {
|
|
524
|
-
this.$$set({ cmsendpoint: e }),
|
|
523
|
+
this.$$set({ cmsendpoint: e }), I();
|
|
525
524
|
}
|
|
526
525
|
get env() {
|
|
527
526
|
return this.$$.ctx[15];
|
|
528
527
|
}
|
|
529
528
|
set env(e) {
|
|
530
|
-
this.$$set({ env: e }),
|
|
529
|
+
this.$$set({ env: e }), I();
|
|
531
530
|
}
|
|
532
531
|
get session() {
|
|
533
532
|
return this.$$.ctx[0];
|
|
534
533
|
}
|
|
535
534
|
set session(e) {
|
|
536
|
-
this.$$set({ session: e }),
|
|
535
|
+
this.$$set({ session: e }), I();
|
|
537
536
|
}
|
|
538
537
|
get playerid() {
|
|
539
538
|
return this.$$.ctx[16];
|
|
540
539
|
}
|
|
541
540
|
set playerid(e) {
|
|
542
|
-
this.$$set({ playerid: e }),
|
|
541
|
+
this.$$set({ playerid: e }), I();
|
|
543
542
|
}
|
|
544
543
|
get lang() {
|
|
545
544
|
return this.$$.ctx[17];
|
|
546
545
|
}
|
|
547
546
|
set lang(e) {
|
|
548
|
-
this.$$set({ lang: e }),
|
|
547
|
+
this.$$set({ lang: e }), I();
|
|
549
548
|
}
|
|
550
549
|
get selecteditem() {
|
|
551
550
|
return this.$$.ctx[18];
|
|
552
551
|
}
|
|
553
552
|
set selecteditem(e) {
|
|
554
|
-
this.$$set({ selecteditem: e }),
|
|
553
|
+
this.$$set({ selecteditem: e }), I();
|
|
555
554
|
}
|
|
556
555
|
get userroles() {
|
|
557
556
|
return this.$$.ctx[19];
|
|
558
557
|
}
|
|
559
558
|
set userroles(e) {
|
|
560
|
-
this.$$set({ userroles: e }),
|
|
559
|
+
this.$$set({ userroles: e }), I();
|
|
561
560
|
}
|
|
562
561
|
get clientstyling() {
|
|
563
562
|
return this.$$.ctx[2];
|
|
564
563
|
}
|
|
565
564
|
set clientstyling(e) {
|
|
566
|
-
this.$$set({ clientstyling: e }),
|
|
565
|
+
this.$$set({ clientstyling: e }), I();
|
|
567
566
|
}
|
|
568
567
|
get clientstylingurl() {
|
|
569
568
|
return this.$$.ctx[3];
|
|
570
569
|
}
|
|
571
570
|
set clientstylingurl(e) {
|
|
572
|
-
this.$$set({ clientstylingurl: e }),
|
|
571
|
+
this.$$set({ clientstylingurl: e }), I();
|
|
573
572
|
}
|
|
574
573
|
get translationurl() {
|
|
575
574
|
return this.$$.ctx[20];
|
|
576
575
|
}
|
|
577
576
|
set translationurl(e) {
|
|
578
|
-
this.$$set({ translationurl: e }),
|
|
577
|
+
this.$$set({ translationurl: e }), I();
|
|
579
578
|
}
|
|
580
579
|
get activemenuitem() {
|
|
581
580
|
return this.$$.ctx[21];
|
|
582
581
|
}
|
|
583
582
|
set activemenuitem(e) {
|
|
584
|
-
this.$$set({ activemenuitem: e }),
|
|
583
|
+
this.$$set({ activemenuitem: e }), I();
|
|
585
584
|
}
|
|
586
585
|
}
|
|
587
|
-
me(
|
|
586
|
+
me(Fe, { endpoint: {}, cmsendpoint: {}, env: {}, session: {}, playerid: {}, lang: {}, selecteditem: {}, userroles: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, activemenuitem: {} }, [], [], !0);
|
|
588
587
|
export {
|
|
589
|
-
|
|
588
|
+
Fe as default
|
|
590
589
|
};
|