@everymatrix/player-account-controller 1.90.2 → 1.90.3
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-B-BPA3_V.js → GeneralLogout-BwOyndZe.js} +1 -1
- package/components/{GeneralLogout-CETACoMf.js → GeneralLogout-CPY2n6gG.js} +1 -1
- package/components/{GeneralLogout-CP2djW6_.cjs → GeneralLogout-H_QwuAs4.cjs} +1 -1
- package/components/{PlayerAccountBettingHistory-CqypRcQs.js → PlayerAccountBettingHistory-6XO5xoCl.js} +1 -1
- package/components/{PlayerAccountBettingHistory--xmjS2ya.cjs → PlayerAccountBettingHistory-UwhJ8ya8.cjs} +1 -1
- package/components/{PlayerAccountBettingHistory-Bk-Mp6AX.js → PlayerAccountBettingHistory-tXbUI_Ln.js} +1 -1
- package/components/{PlayerAccountBiometrics-BylZa-L7.cjs → PlayerAccountBiometrics-BBcMkCHX.cjs} +1 -1
- package/components/{PlayerAccountBiometrics-BvPYzzQt.js → PlayerAccountBiometrics-D69zLU-s.js} +2 -2
- package/components/{PlayerAccountBiometrics-DITSoZKr.js → PlayerAccountBiometrics-NWRoWx0v.js} +2 -2
- package/components/{PlayerAccountBiometricsAction-jETpkD0V.js → PlayerAccountBiometricsAction-DE5spXcd.js} +1 -1
- package/components/{PlayerAccountBiometricsAction-DFC6dkKX.js → PlayerAccountBiometricsAction-O_Hcq7fw.js} +1 -1
- package/components/{PlayerAccountBiometricsAction-H_RA1X6W.cjs → PlayerAccountBiometricsAction-ryvIwUsV.cjs} +1 -1
- package/components/{PlayerAccountClosure-Dm3zNxnq.js → PlayerAccountClosure-BbUUyR1h.js} +1 -1
- package/components/{PlayerAccountClosure-CSqeBK2C.js → PlayerAccountClosure-CjEPah7E.js} +1 -1
- package/components/{PlayerAccountClosure-BH5VSAic.cjs → PlayerAccountClosure-DghELImO.cjs} +1 -1
- package/components/{PlayerAccountController-jOupmtnW.js → PlayerAccountController-BXcE5rTL.js} +22 -22
- package/components/{PlayerAccountController-CxK9kUyx.cjs → PlayerAccountController-Csr7J4CP.cjs} +1 -1
- package/components/{PlayerAccountController-D4AogR7v.js → PlayerAccountController-D9OUnSfp.js} +22 -22
- package/components/{PlayerAccountGamingLimits-BT4R8TF0.js → PlayerAccountGamingLimits-C0NWV0Hx.js} +2 -2
- package/components/{PlayerAccountGamingLimits-CHNHVA6C.cjs → PlayerAccountGamingLimits-q5C-445u.cjs} +1 -1
- package/components/{PlayerAccountGamingLimits-C930oA6o.js → PlayerAccountGamingLimits-zej9-zlQ.js} +2 -2
- package/components/{PlayerAccountGamingLimitsConfirmationModal-BiyaGhGd.cjs → PlayerAccountGamingLimitsConfirmationModal-BrRmXh4L.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsConfirmationModal-BEgzMqs7.js → PlayerAccountGamingLimitsConfirmationModal-ChjR58jT.js} +1 -1
- package/components/{PlayerAccountGamingLimitsConfirmationModal-CKLtfEiV.js → PlayerAccountGamingLimitsConfirmationModal-DG1qXlSw.js} +1 -1
- package/components/{PlayerAccountGamingLimitsGroupEdit-BAhWv8TZ.js → PlayerAccountGamingLimitsGroupEdit-Cl6NSAYY.js} +5 -5
- package/components/{PlayerAccountGamingLimitsGroupEdit--tX1l3mt.cjs → PlayerAccountGamingLimitsGroupEdit-DdKtcb73.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsGroupEdit-CvcVpwEf.js → PlayerAccountGamingLimitsGroupEdit-ikwvqbRl.js} +5 -5
- package/components/{PlayerAccountGamingLimitsHistory2-BBlhUeCf.js → PlayerAccountGamingLimitsHistory2-BzN2sKB_.js} +1 -1
- package/components/{PlayerAccountGamingLimitsHistory2-BZclCXDb.js → PlayerAccountGamingLimitsHistory2-C8q8AVus.js} +1 -1
- package/components/{PlayerAccountGamingLimitsHistory2-CMJNfbUx.cjs → PlayerAccountGamingLimitsHistory2-CqXv2DGo.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsInfoCard-CxxnvXJu.js → PlayerAccountGamingLimitsInfoCard-CU5vi5MP.js} +4 -4
- package/components/{PlayerAccountGamingLimitsInfoCard-DsJOOQZi.cjs → PlayerAccountGamingLimitsInfoCard-ClkGbEFP.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsInfoCard-pkOVvoK6.js → PlayerAccountGamingLimitsInfoCard-witaDBIj.js} +4 -4
- package/components/{PlayerAccountGamingLimitsPage2Gm16-Ks0EKWDL.cjs → PlayerAccountGamingLimitsPage2Gm16-BZOdfPxw.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsPage2Gm16-B_sQ-Ifo.js → PlayerAccountGamingLimitsPage2Gm16-Dngaem8U.js} +1 -1
- package/components/{PlayerAccountGamingLimitsPage2Gm16-DeBQmDAH.js → PlayerAccountGamingLimitsPage2Gm16-lOCYGKVV.js} +1 -1
- package/components/{PlayerAccountGamingLimitsPopup-X6qXBO9i.cjs → PlayerAccountGamingLimitsPopup-CUlUDEIB.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsPopup-DRv14RIk.js → PlayerAccountGamingLimitsPopup-DU1kP_Et.js} +1 -1
- package/components/{PlayerAccountGamingLimitsPopup-CxUM0Ams.js → PlayerAccountGamingLimitsPopup-DqVfy5No.js} +1 -1
- package/components/{PlayerAccountGamingLimitsWrapper2-CyOCUYfS.cjs → PlayerAccountGamingLimitsWrapper2-BKtlEHWQ.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsWrapper2-DhbjCsQv.js → PlayerAccountGamingLimitsWrapper2-DEPUEDpR.js} +3 -3
- package/components/{PlayerAccountGamingLimitsWrapper2-CaySOyxd.js → PlayerAccountGamingLimitsWrapper2-Wm4EwWCe.js} +3 -3
- package/components/{PlayerAccountGeneralConfirmationModal-BthOXuGN.js → PlayerAccountGeneralConfirmationModal-BWZ6JMxe.js} +1 -1
- package/components/{PlayerAccountGeneralConfirmationModal-Cg5p53J_.js → PlayerAccountGeneralConfirmationModal-Dl5hESkX.js} +1 -1
- package/components/{PlayerAccountGeneralConfirmationModal-DP4v-30K.cjs → PlayerAccountGeneralConfirmationModal-rrpDDAy_.cjs} +1 -1
- package/components/{PlayerAccountMenu-CNbG4Tpb.cjs → PlayerAccountMenu-BWuc3-lw.cjs} +1 -1
- package/components/{PlayerAccountMenu-MF_MN4wX.js → PlayerAccountMenu-CnWnEDdP.js} +2 -2
- package/components/{PlayerAccountMenu-BKvwbg2P.js → PlayerAccountMenu-DzSWiRfy.js} +2 -2
- package/components/{PlayerAccountModal-TTG9hdj7.cjs → PlayerAccountModal-BSpKlNus.cjs} +1 -1
- package/components/{PlayerAccountModal-Bm9UQwFK.js → PlayerAccountModal-BZkkj8x6.js} +1 -1
- package/components/{PlayerAccountModal-DAtQiXRn.js → PlayerAccountModal-PMFhbdm7.js} +1 -1
- package/components/{PlayerAccountNotifications-BL4X--OZ.js → PlayerAccountNotifications-Bc-e1Z-W.js} +24 -24
- package/components/{PlayerAccountNotifications-CBUEyfSB.js → PlayerAccountNotifications-Dipfxhag.js} +94 -93
- package/components/{PlayerAccountNotifications-bhq4cmgJ.cjs → PlayerAccountNotifications-Dp3K_12t.cjs} +1 -1
- package/components/{PlayerAccountProductRestriction-oM1LvqHe.js → PlayerAccountProductRestriction-B7_bqs7y.js} +3 -3
- package/components/{PlayerAccountProductRestriction-C2J7mKe-.cjs → PlayerAccountProductRestriction-CYMzrHre.cjs} +1 -1
- package/components/{PlayerAccountProductRestriction-CnDWP1kE.js → PlayerAccountProductRestriction-g8OPcSIB.js} +3 -3
- package/components/{PlayerAccountReviewFrequency-L8y_hqNl.js → PlayerAccountReviewFrequency-B5qsRj5M.js} +1 -1
- package/components/{PlayerAccountReviewFrequency-BZuFvUws.cjs → PlayerAccountReviewFrequency-BCUyX9OP.cjs} +1 -1
- package/components/{PlayerAccountReviewFrequency-C7CnmrcR.js → PlayerAccountReviewFrequency-DxMQToXw.js} +1 -1
- package/components/{PlayerAccountSelfExclusion-B2hKLVNd.js → PlayerAccountSelfExclusion-CuNe0bQw.js} +2 -2
- package/components/{PlayerAccountSelfExclusion-DPqZAsFH.cjs → PlayerAccountSelfExclusion-DF4XIkia.cjs} +1 -1
- package/components/{PlayerAccountSelfExclusion-Ch_epctb.js → PlayerAccountSelfExclusion-DHlsXH6h.js} +2 -2
- package/components/{PlayerAccountTimeout-BBL7KjWM.js → PlayerAccountTimeout-C-jrVPcw.js} +3 -3
- package/components/{PlayerAccountTimeout-ClMyydli.cjs → PlayerAccountTimeout-C5ohcZL8.cjs} +2 -2
- package/components/{PlayerAccountTimeout-CK0vCLKv.js → PlayerAccountTimeout-Cef1u7eA.js} +3 -3
- package/components/{PlayerAccountTransactionsHistory-DtBMVvH4.js → PlayerAccountTransactionsHistory-CknpkOun.js} +4 -4
- package/components/{PlayerAccountTransactionsHistory-DYTkwZCO.js → PlayerAccountTransactionsHistory-Cx_kXatJ.js} +4 -4
- package/components/{PlayerAccountTransactionsHistory-Mw8Ve4ZC.cjs → PlayerAccountTransactionsHistory-D2fa8iXP.cjs} +1 -1
- package/components/{PlayerActiveBonuses-B7PxLlet.cjs → PlayerActiveBonuses-CmFryyyz.cjs} +1 -1
- package/components/{PlayerActiveBonuses-tc-B3S0l.js → PlayerActiveBonuses-CszYf0tT.js} +2 -2
- package/components/{PlayerActiveBonuses-DrnOceZL.js → PlayerActiveBonuses-Dj1vWum_.js} +2 -2
- package/components/{PlayerBonusCard-pIDxQTpv.js → PlayerBonusCard-BtDfH9om.js} +2 -2
- package/components/{PlayerBonusCard-C-MyhBmp.cjs → PlayerBonusCard-D3MukkA0.cjs} +1 -1
- package/components/{PlayerBonusCard-i4j0Pp-E.js → PlayerBonusCard-xSuYmlLU.js} +2 -2
- package/components/{PlayerBonusHistory-CvfVHx7h.js → PlayerBonusHistory-BCmhRptn.js} +2 -2
- package/components/{PlayerBonusHistory-DgcHiq-O.js → PlayerBonusHistory-DlfGfOJS.js} +2 -2
- package/components/{PlayerBonusHistory-CIG1Xpuh.cjs → PlayerBonusHistory-yYfF3BiF.cjs} +1 -1
- package/components/{PlayerChangePassword-DESxfgKl.js → PlayerChangePassword-CuB0C6xj.js} +1 -1
- package/components/{PlayerChangePassword-ksNDqKni.cjs → PlayerChangePassword-QIAhpcjm.cjs} +1 -1
- package/components/{PlayerChangePassword-DYWwfNp2.js → PlayerChangePassword-wFncEUNn.js} +1 -1
- package/components/{PlayerDeposit-C1QqYgdt.js → PlayerDeposit-CpEGkJmP.js} +1 -1
- package/components/{PlayerDeposit-CBgVaKLg.js → PlayerDeposit-DSpOiHE4.js} +1 -1
- package/components/{PlayerDeposit-CrlD50Uy.cjs → PlayerDeposit-qF1e1mB-.cjs} +1 -1
- package/components/{PlayerGamingHistory-CYqXXEpU.js → PlayerGamingHistory-DMTs5tnz.js} +3 -3
- package/components/{PlayerGamingHistory-jOmkmqUI.cjs → PlayerGamingHistory-DVXlEHrh.cjs} +1 -1
- package/components/{PlayerGamingHistory-BnaK2oWe.js → PlayerGamingHistory-DwbVjAYw.js} +3 -3
- package/components/{PlayerPendingWithdrawals-ByMMpuEX.cjs → PlayerPendingWithdrawals-C59jtkCR.cjs} +1 -1
- package/components/{PlayerPendingWithdrawals-Cmw0DZP7.js → PlayerPendingWithdrawals-DsXs8uWh.js} +1 -1
- package/components/{PlayerPendingWithdrawals-3P_3JLi_.js → PlayerPendingWithdrawals-aIuiGaib.js} +1 -1
- package/components/{PlayerProfileInfo-_xIabO-N.js → PlayerProfileInfo-Cm3K0b7a.js} +2 -2
- package/components/{PlayerProfileInfo-DPyuft0T.cjs → PlayerProfileInfo-DKIbpdRx.cjs} +1 -1
- package/components/{PlayerProfileInfo-BqRHy250.js → PlayerProfileInfo-DomF6Lo0.js} +2 -2
- package/components/{PlayerRealityCheck-DJHyPVTm.js → PlayerRealityCheck-CwMSN26r.js} +1 -1
- package/components/{PlayerRealityCheck-CIKFF8nl.js → PlayerRealityCheck-DE_eDgaT.js} +1 -1
- package/components/{PlayerRealityCheck-xOtFm-kX.cjs → PlayerRealityCheck-Yb40DCQ1.cjs} +1 -1
- package/components/{PlayerTransactionHistory-oJu9wX_f.cjs → PlayerTransactionHistory-BRUDgdpb.cjs} +1 -1
- package/components/{PlayerTransactionHistory-CwXf1cD5.js → PlayerTransactionHistory-CW8wrYY1.js} +1 -1
- package/components/{PlayerTransactionHistory-BHAw9aUQ.js → PlayerTransactionHistory-CZuWl_7P.js} +1 -1
- package/components/{PlayerWithdrawal-JtNx_Bhc.js → PlayerWithdrawal-D-wUTAFp.js} +1 -1
- package/components/{PlayerWithdrawal-DTQVTv0O.cjs → PlayerWithdrawal-DDXxoHjk.cjs} +1 -1
- package/components/{PlayerWithdrawal-CWpwT8S3.js → PlayerWithdrawal-DN2ERiWW.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/components/{PlayerAccountNotifications-BL4X--OZ.js → PlayerAccountNotifications-Bc-e1Z-W.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { S as V, i as G, s as J, f as y, b as K, n as M, d as
|
|
1
|
+
import { S as V, i as G, s as J, f as y, b as K, n as M, d as k, e as x, g, j as B, o as O, k as X, m as D, l as S, p as m, t as s, q as C, z as H, u as Y, E as W, v as Z, r as v, B as $, C as tt, D as et, c as it } from "./PlayerAccountController-D9OUnSfp.js";
|
|
2
2
|
import "../stencil/ui-skeleton-DNuG5l9W.js";
|
|
3
3
|
function nt(a) {
|
|
4
4
|
K(a, "svelte-1b8j2p", ':host{padding:0;margin:0;font-family:inherit}.PlayerAccountNotificationsContainer{padding:0 5px;display:grid;grid-gap:20px;animation-name:fadeIn;animation-iteration-count:1;animation-timing-function:ease-in;animation-duration:0.3s;container-type:inline-size;container-name:notifications-container}.PlayerAccountNotificationBox{background:var(--emw--color-pale, var(--emw--color-gray-50, #f1f1f1));display:block;padding:20px;border-radius:var(--emw--border-radius-medium, 10px);width:100%;color:var(--emw--color-black, #000);box-sizing:border-box;text-decoration:none;word-break:break-word;word-wrap:break-word;overflow-wrap:anywhere;white-space:normal}.PlayerAccountNotificationBoxHeader{display:grid;width:100%;grid-template-areas:"nav main aside";grid-template-rows:auto;grid-template-columns:34px calc(100% - 34px);align-items:center}.PlayerAccountNotificationBoxHeader .PlayerAccountNotificationIcon{width:24px;margin-right:10px;flex:1}.PlayerAccountNotificationBoxHeader .PlayerAccountNotificationTitle{font-size:16px;flex:2}.PlayerAccountNotificationText{margin:0;font-size:14px;font-weight:300}.PlayerAccountNotificationText a{text-decoration:none;color:var(--emw--color-white, #FFFFFF)}.PlayerAccountNotificationsMobileContainer{display:grid;grid-template-columns:repeat(2, minmax(0, 1fr));grid-gap:20px;padding:20px}.PlayerAccountNotificationsMobileContainer .PlayerAccountNotificationBoxHeader{grid-template-columns:40px calc(100% - 40px)}.PlayerAccountNotificationsMobileContainer .PlayerAccountNotificationTitle{font-size:14px}.PlayerAccountNotificationsMobileContainer .PlayerAccountNotificationIcon{width:30px;margin-right:10px}.skeletonContainer{container-type:inline-size}.skeletonContainer .skeletonWrapper{animation:fadeIn ease 0.3s}@container (max-width: 768px){.skeletonContainer .skeletonWrapper{display:grid;grid-template-columns:repeat(2, minmax(0, 1fr));grid-gap:20px}.skeletonContainer .skeletonWrapper .skeletonNotification{width:100%}}@container (max-width: 425px){.skeletonContainer .skeletonWrapper{display:grid;grid-template-columns:repeat(1, minmax(0, 1fr));grid-gap:20px;padding:0px 10px}.skeletonContainer .skeletonWrapper .skeletonNotification{width:100%}}@keyframes fadeIn{0%{opacity:0.01}1%{opacity:0}50%{opacity:0}100%{opacity:1}}');
|
|
@@ -28,7 +28,7 @@ function ot(a) {
|
|
|
28
28
|
(a[3] ? "PlayerAccountNotificationsMobileContainer" : ""));
|
|
29
29
|
},
|
|
30
30
|
m(i, o) {
|
|
31
|
-
|
|
31
|
+
x(i, t, o);
|
|
32
32
|
for (let l = 0; l < e.length; l += 1)
|
|
33
33
|
e[l] && e[l].m(t, null);
|
|
34
34
|
},
|
|
@@ -50,7 +50,7 @@ function ot(a) {
|
|
|
50
50
|
}
|
|
51
51
|
},
|
|
52
52
|
d(i) {
|
|
53
|
-
i &&
|
|
53
|
+
i && k(t), D(e, i);
|
|
54
54
|
}
|
|
55
55
|
};
|
|
56
56
|
}
|
|
@@ -66,7 +66,7 @@ function lt(a) {
|
|
|
66
66
|
s(n, "class", "skeletonWrapper"), s(t, "class", "skeletonContainer");
|
|
67
67
|
},
|
|
68
68
|
m(o, l) {
|
|
69
|
-
|
|
69
|
+
x(o, t, l), m(t, n);
|
|
70
70
|
for (let c = 0; c < i.length; c += 1)
|
|
71
71
|
i[c] && i[c].m(n, null);
|
|
72
72
|
},
|
|
@@ -85,7 +85,7 @@ function lt(a) {
|
|
|
85
85
|
}
|
|
86
86
|
},
|
|
87
87
|
d(o) {
|
|
88
|
-
o &&
|
|
88
|
+
o && k(t), D(i, o);
|
|
89
89
|
}
|
|
90
90
|
};
|
|
91
91
|
}
|
|
@@ -93,7 +93,7 @@ function F(a) {
|
|
|
93
93
|
let t, n, e, i, o, l, c, f = (
|
|
94
94
|
/*notification*/
|
|
95
95
|
a[24].title + ""
|
|
96
|
-
), p, _, u,
|
|
96
|
+
), p, _, u, w = (
|
|
97
97
|
/*notification*/
|
|
98
98
|
a[24].description + ""
|
|
99
99
|
), P;
|
|
@@ -109,7 +109,7 @@ function F(a) {
|
|
|
109
109
|
);
|
|
110
110
|
},
|
|
111
111
|
m(d, h) {
|
|
112
|
-
|
|
112
|
+
x(d, t, h), m(t, n), m(n, e), m(n, l), m(n, c), m(c, p), m(t, _), m(t, u), u.innerHTML = w, m(t, P);
|
|
113
113
|
},
|
|
114
114
|
p(d, h) {
|
|
115
115
|
h & /*notificationsData*/
|
|
@@ -119,8 +119,8 @@ function F(a) {
|
|
|
119
119
|
d[24].title) && s(e, "alt", o), h & /*notificationsData*/
|
|
120
120
|
2 && f !== (f = /*notification*/
|
|
121
121
|
d[24].title + "") && Y(p, f), h & /*notificationsData*/
|
|
122
|
-
2 &&
|
|
123
|
-
d[24].description + "") && (u.innerHTML =
|
|
122
|
+
2 && w !== (w = /*notification*/
|
|
123
|
+
d[24].description + "") && (u.innerHTML = w), h & /*notificationsData*/
|
|
124
124
|
2 && W(
|
|
125
125
|
t,
|
|
126
126
|
"background",
|
|
@@ -129,7 +129,7 @@ function F(a) {
|
|
|
129
129
|
);
|
|
130
130
|
},
|
|
131
131
|
d(d) {
|
|
132
|
-
d &&
|
|
132
|
+
d && k(t);
|
|
133
133
|
}
|
|
134
134
|
};
|
|
135
135
|
}
|
|
@@ -146,11 +146,11 @@ function at(a) {
|
|
|
146
146
|
);
|
|
147
147
|
},
|
|
148
148
|
m(n, e) {
|
|
149
|
-
|
|
149
|
+
x(n, t, e);
|
|
150
150
|
},
|
|
151
151
|
p: M,
|
|
152
152
|
d(n) {
|
|
153
|
-
n &&
|
|
153
|
+
n && k(t);
|
|
154
154
|
}
|
|
155
155
|
};
|
|
156
156
|
}
|
|
@@ -161,11 +161,11 @@ function ct(a) {
|
|
|
161
161
|
t = g("ui-skeleton"), t.innerHTML = "", v(t, "structure", "rectangle"), v(t, "width", "auto"), v(t, "height", "130px");
|
|
162
162
|
},
|
|
163
163
|
m(n, e) {
|
|
164
|
-
|
|
164
|
+
x(n, t, e);
|
|
165
165
|
},
|
|
166
166
|
p: M,
|
|
167
167
|
d(n) {
|
|
168
|
-
n &&
|
|
168
|
+
n && k(t);
|
|
169
169
|
}
|
|
170
170
|
};
|
|
171
171
|
}
|
|
@@ -183,13 +183,13 @@ function I(a) {
|
|
|
183
183
|
t = g("div"), o.c(), n = C(), s(t, "class", "skeletonNotification");
|
|
184
184
|
},
|
|
185
185
|
m(l, c) {
|
|
186
|
-
|
|
186
|
+
x(l, t, c), o.m(t, null), m(t, n);
|
|
187
187
|
},
|
|
188
188
|
p(l, c) {
|
|
189
189
|
o.p(l, c);
|
|
190
190
|
},
|
|
191
191
|
d(l) {
|
|
192
|
-
l &&
|
|
192
|
+
l && k(t), o.d();
|
|
193
193
|
}
|
|
194
194
|
};
|
|
195
195
|
}
|
|
@@ -213,7 +213,7 @@ function rt(a) {
|
|
|
213
213
|
t = g("div"), i && i.c();
|
|
214
214
|
},
|
|
215
215
|
m(o, l) {
|
|
216
|
-
|
|
216
|
+
x(o, t, l), i && i.m(t, null), a[13](t);
|
|
217
217
|
},
|
|
218
218
|
p(o, [l]) {
|
|
219
219
|
e === (e = n(o)) && i ? i.p(o, l) : (i && i.d(1), i = e && e(o), i && (i.c(), i.m(t, null)));
|
|
@@ -221,12 +221,12 @@ function rt(a) {
|
|
|
221
221
|
i: M,
|
|
222
222
|
o: M,
|
|
223
223
|
d(o) {
|
|
224
|
-
o &&
|
|
224
|
+
o && k(t), i && i.d(), a[13](null);
|
|
225
225
|
}
|
|
226
226
|
};
|
|
227
227
|
}
|
|
228
228
|
function st(a, t, n) {
|
|
229
|
-
let { lang: e = "" } = t, { cmsendpoint: i = "" } = t, { env: o = "" } = t, { userroles: l = "" } = t, { customnotif: c = "" } = t, { clientstyling: f = "" } = t, { clientstylingurl: p = "" } = t, { mbsource: _ } = t, u,
|
|
229
|
+
let { lang: e = "" } = t, { cmsendpoint: i = "" } = t, { env: o = "" } = t, { userroles: l = "" } = t, { customnotif: c = "" } = t, { clientstyling: f = "" } = t, { clientstylingurl: p = "" } = t, { mbsource: _ } = t, u, w, P = !0, d = window.navigator.userAgent, h = B(d) !== "PC", N = [], A = [], j = R();
|
|
230
230
|
const q = window.matchMedia("(min-width: 768px)");
|
|
231
231
|
function R() {
|
|
232
232
|
const r = B(d);
|
|
@@ -235,12 +235,12 @@ function st(a, t, n) {
|
|
|
235
235
|
}
|
|
236
236
|
const E = () => {
|
|
237
237
|
const r = new URL(`${i}/${e}/support-information`);
|
|
238
|
-
r.searchParams.append("env", o), r.searchParams.append("userRoles", l), r.searchParams.append("device", j), fetch(r.href).then((
|
|
239
|
-
|
|
238
|
+
r.searchParams.append("env", o), r.searchParams.append("userRoles", l), r.searchParams.append("device", j), fetch(r.href).then((b) => b.json()).then((b) => {
|
|
239
|
+
b.length && (n(1, N = b[0].children ?? b), N?.forEach((Q) => {
|
|
240
240
|
A.length && (Q.backgroundColor = A[0], A.shift());
|
|
241
241
|
}));
|
|
242
|
-
}).catch((
|
|
243
|
-
console.error(
|
|
242
|
+
}).catch((b) => {
|
|
243
|
+
console.error(b);
|
|
244
244
|
}).finally(() => {
|
|
245
245
|
setTimeout(
|
|
246
246
|
() => {
|
|
@@ -268,7 +268,7 @@ function st(a, t, n) {
|
|
|
268
268
|
480 && l && i && o && e && E(), a.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
269
269
|
1025 && f && u && $(u, f), a.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
270
270
|
2049 && p && u && tt(u, p), a.$$.dirty & /*mbsource, customStylingContainer*/
|
|
271
|
-
4097 && _ && u && et(u, `${_}.Style`,
|
|
271
|
+
4097 && _ && u && et(u, `${_}.Style`, w);
|
|
272
272
|
}, [
|
|
273
273
|
u,
|
|
274
274
|
N,
|
package/components/{PlayerAccountNotifications-CBUEyfSB.js → PlayerAccountNotifications-Dipfxhag.js}
RENAMED
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
import { S as
|
|
1
|
+
import { S as G, i as J, s as K, f as y, b as O, n as M, d as k, c as x, e as g, h as H, o as X, j as Y, k as S, l as q, m, r as s, p as C, y as W, t as Z, E as z, u as $, q as P, z as tt, A as et, B as it, C as nt } from "./PlayerAccountController-BXcE5rTL.js";
|
|
2
2
|
import "../stencil/ui-skeleton-BKpwkQ2A.js";
|
|
3
|
-
function
|
|
4
|
-
|
|
3
|
+
function ot(r) {
|
|
4
|
+
O(r, "svelte-1b8j2p", ':host{padding:0;margin:0;font-family:inherit}.PlayerAccountNotificationsContainer{padding:0 5px;display:grid;grid-gap:20px;animation-name:fadeIn;animation-iteration-count:1;animation-timing-function:ease-in;animation-duration:0.3s;container-type:inline-size;container-name:notifications-container}.PlayerAccountNotificationBox{background:var(--emw--color-pale, var(--emw--color-gray-50, #f1f1f1));display:block;padding:20px;border-radius:var(--emw--border-radius-medium, 10px);width:100%;color:var(--emw--color-black, #000);box-sizing:border-box;text-decoration:none;word-break:break-word;word-wrap:break-word;overflow-wrap:anywhere;white-space:normal}.PlayerAccountNotificationBoxHeader{display:grid;width:100%;grid-template-areas:"nav main aside";grid-template-rows:auto;grid-template-columns:34px calc(100% - 34px);align-items:center}.PlayerAccountNotificationBoxHeader .PlayerAccountNotificationIcon{width:24px;margin-right:10px;flex:1}.PlayerAccountNotificationBoxHeader .PlayerAccountNotificationTitle{font-size:16px;flex:2}.PlayerAccountNotificationText{margin:0;font-size:14px;font-weight:300}.PlayerAccountNotificationText a{text-decoration:none;color:var(--emw--color-white, #FFFFFF)}.PlayerAccountNotificationsMobileContainer{display:grid;grid-template-columns:repeat(2, minmax(0, 1fr));grid-gap:20px;padding:20px}.PlayerAccountNotificationsMobileContainer .PlayerAccountNotificationBoxHeader{grid-template-columns:40px calc(100% - 40px)}.PlayerAccountNotificationsMobileContainer .PlayerAccountNotificationTitle{font-size:14px}.PlayerAccountNotificationsMobileContainer .PlayerAccountNotificationIcon{width:30px;margin-right:10px}.skeletonContainer{container-type:inline-size}.skeletonContainer .skeletonWrapper{animation:fadeIn ease 0.3s}@container (max-width: 768px){.skeletonContainer .skeletonWrapper{display:grid;grid-template-columns:repeat(2, minmax(0, 1fr));grid-gap:20px}.skeletonContainer .skeletonWrapper .skeletonNotification{width:100%}}@container (max-width: 425px){.skeletonContainer .skeletonWrapper{display:grid;grid-template-columns:repeat(1, minmax(0, 1fr));grid-gap:20px;padding:0px 10px}.skeletonContainer .skeletonWrapper .skeletonNotification{width:100%}}@keyframes fadeIn{0%{opacity:0.01}1%{opacity:0}50%{opacity:0}100%{opacity:1}}');
|
|
5
5
|
}
|
|
6
|
-
function
|
|
6
|
+
function L(r, t, n) {
|
|
7
7
|
const e = r.slice();
|
|
8
8
|
return e[24] = t[n], e;
|
|
9
9
|
}
|
|
10
|
-
function
|
|
10
|
+
function F(r, t, n) {
|
|
11
11
|
const e = r.slice();
|
|
12
12
|
return e[21] = t[n], e;
|
|
13
13
|
}
|
|
14
|
-
function
|
|
14
|
+
function lt(r) {
|
|
15
15
|
let t, n = S(
|
|
16
16
|
/*notificationsData*/
|
|
17
17
|
r[1]
|
|
18
18
|
), e = [];
|
|
19
19
|
for (let i = 0; i < n.length; i += 1)
|
|
20
|
-
e[i] =
|
|
20
|
+
e[i] = I(L(r, n, i));
|
|
21
21
|
return {
|
|
22
22
|
c() {
|
|
23
23
|
t = g("div");
|
|
@@ -28,7 +28,7 @@ function ot(r) {
|
|
|
28
28
|
(r[3] ? "PlayerAccountNotificationsMobileContainer" : ""));
|
|
29
29
|
},
|
|
30
30
|
m(i, o) {
|
|
31
|
-
|
|
31
|
+
x(i, t, o);
|
|
32
32
|
for (let l = 0; l < e.length; l += 1)
|
|
33
33
|
e[l] && e[l].m(t, null);
|
|
34
34
|
},
|
|
@@ -41,8 +41,8 @@ function ot(r) {
|
|
|
41
41
|
);
|
|
42
42
|
let l;
|
|
43
43
|
for (l = 0; l < n.length; l += 1) {
|
|
44
|
-
const
|
|
45
|
-
e[l] ? e[l].p(
|
|
44
|
+
const c = L(i, n, l);
|
|
45
|
+
e[l] ? e[l].p(c, o) : (e[l] = I(c), e[l].c(), e[l].m(t, null));
|
|
46
46
|
}
|
|
47
47
|
for (; l < e.length; l += 1)
|
|
48
48
|
e[l].d(1);
|
|
@@ -50,14 +50,14 @@ function ot(r) {
|
|
|
50
50
|
}
|
|
51
51
|
},
|
|
52
52
|
d(i) {
|
|
53
|
-
i &&
|
|
53
|
+
i && k(t), q(e, i);
|
|
54
54
|
}
|
|
55
55
|
};
|
|
56
56
|
}
|
|
57
|
-
function
|
|
57
|
+
function rt(r) {
|
|
58
58
|
let t, n, e = S({ length: 3 }), i = [];
|
|
59
59
|
for (let o = 0; o < e.length; o += 1)
|
|
60
|
-
i[o] =
|
|
60
|
+
i[o] = j(F(r, e, o));
|
|
61
61
|
return {
|
|
62
62
|
c() {
|
|
63
63
|
t = g("div"), n = g("div");
|
|
@@ -66,42 +66,42 @@ function lt(r) {
|
|
|
66
66
|
s(n, "class", "skeletonWrapper"), s(t, "class", "skeletonContainer");
|
|
67
67
|
},
|
|
68
68
|
m(o, l) {
|
|
69
|
-
|
|
70
|
-
for (let
|
|
71
|
-
i[
|
|
69
|
+
x(o, t, l), m(t, n);
|
|
70
|
+
for (let c = 0; c < i.length; c += 1)
|
|
71
|
+
i[c] && i[c].m(n, null);
|
|
72
72
|
},
|
|
73
73
|
p(o, l) {
|
|
74
74
|
if (l & /*isMobile, mediaQuery*/
|
|
75
75
|
24) {
|
|
76
76
|
e = S({ length: 3 });
|
|
77
|
-
let
|
|
78
|
-
for (
|
|
79
|
-
const f =
|
|
80
|
-
i[
|
|
77
|
+
let c;
|
|
78
|
+
for (c = 0; c < e.length; c += 1) {
|
|
79
|
+
const f = F(o, e, c);
|
|
80
|
+
i[c] ? i[c].p(f, l) : (i[c] = j(f), i[c].c(), i[c].m(n, null));
|
|
81
81
|
}
|
|
82
|
-
for (;
|
|
83
|
-
i[
|
|
82
|
+
for (; c < i.length; c += 1)
|
|
83
|
+
i[c].d(1);
|
|
84
84
|
i.length = e.length;
|
|
85
85
|
}
|
|
86
86
|
},
|
|
87
87
|
d(o) {
|
|
88
|
-
o &&
|
|
88
|
+
o && k(t), q(i, o);
|
|
89
89
|
}
|
|
90
90
|
};
|
|
91
91
|
}
|
|
92
|
-
function
|
|
93
|
-
let t, n, e, i, o, l,
|
|
92
|
+
function I(r) {
|
|
93
|
+
let t, n, e, i, o, l, c, f = (
|
|
94
94
|
/*notification*/
|
|
95
95
|
r[24].title + ""
|
|
96
|
-
), p, _, u,
|
|
96
|
+
), p, _, u, w = (
|
|
97
97
|
/*notification*/
|
|
98
98
|
r[24].description + ""
|
|
99
99
|
), N;
|
|
100
100
|
return {
|
|
101
101
|
c() {
|
|
102
|
-
t = g("div"), n = g("div"), e = g("img"), l = C(),
|
|
102
|
+
t = g("div"), n = g("div"), e = g("img"), l = C(), c = g("p"), p = $(f), _ = C(), u = g("p"), N = C(), s(e, "class", "PlayerAccountNotificationIcon"), s(e, "width", "24px"), s(e, "height", "24px"), W(e.src, i = /*notification*/
|
|
103
103
|
r[24].icon) || s(e, "src", i), s(e, "alt", o = /*notification*/
|
|
104
|
-
r[24].title), s(
|
|
104
|
+
r[24].title), s(c, "class", "PlayerAccountNotificationTitle"), s(n, "class", "PlayerAccountNotificationBoxHeader"), s(u, "class", "PlayerAccountNotificationText"), s(t, "class", "PlayerAccountNotificationBox"), z(
|
|
105
105
|
t,
|
|
106
106
|
"background",
|
|
107
107
|
/*notification*/
|
|
@@ -109,19 +109,19 @@ function F(r) {
|
|
|
109
109
|
);
|
|
110
110
|
},
|
|
111
111
|
m(d, h) {
|
|
112
|
-
|
|
112
|
+
x(d, t, h), m(t, n), m(n, e), m(n, l), m(n, c), m(c, p), m(t, _), m(t, u), u.innerHTML = w, m(t, N);
|
|
113
113
|
},
|
|
114
114
|
p(d, h) {
|
|
115
115
|
h & /*notificationsData*/
|
|
116
|
-
2 && !
|
|
116
|
+
2 && !W(e.src, i = /*notification*/
|
|
117
117
|
d[24].icon) && s(e, "src", i), h & /*notificationsData*/
|
|
118
118
|
2 && o !== (o = /*notification*/
|
|
119
119
|
d[24].title) && s(e, "alt", o), h & /*notificationsData*/
|
|
120
120
|
2 && f !== (f = /*notification*/
|
|
121
|
-
d[24].title + "") &&
|
|
122
|
-
2 &&
|
|
123
|
-
d[24].description + "") && (u.innerHTML =
|
|
124
|
-
2 &&
|
|
121
|
+
d[24].title + "") && Z(p, f), h & /*notificationsData*/
|
|
122
|
+
2 && w !== (w = /*notification*/
|
|
123
|
+
d[24].description + "") && (u.innerHTML = w), h & /*notificationsData*/
|
|
124
|
+
2 && z(
|
|
125
125
|
t,
|
|
126
126
|
"background",
|
|
127
127
|
/*notification*/
|
|
@@ -129,11 +129,11 @@ function F(r) {
|
|
|
129
129
|
);
|
|
130
130
|
},
|
|
131
131
|
d(d) {
|
|
132
|
-
d &&
|
|
132
|
+
d && k(t);
|
|
133
133
|
}
|
|
134
134
|
};
|
|
135
135
|
}
|
|
136
|
-
function
|
|
136
|
+
function ct(r) {
|
|
137
137
|
let t;
|
|
138
138
|
return {
|
|
139
139
|
c() {
|
|
@@ -146,11 +146,11 @@ function rt(r) {
|
|
|
146
146
|
);
|
|
147
147
|
},
|
|
148
148
|
m(n, e) {
|
|
149
|
-
|
|
149
|
+
x(n, t, e);
|
|
150
150
|
},
|
|
151
151
|
p: M,
|
|
152
152
|
d(n) {
|
|
153
|
-
n &&
|
|
153
|
+
n && k(t);
|
|
154
154
|
}
|
|
155
155
|
};
|
|
156
156
|
}
|
|
@@ -161,20 +161,20 @@ function at(r) {
|
|
|
161
161
|
t = g("ui-skeleton"), t.innerHTML = "", P(t, "structure", "rectangle"), P(t, "width", "auto"), P(t, "height", "130px");
|
|
162
162
|
},
|
|
163
163
|
m(n, e) {
|
|
164
|
-
|
|
164
|
+
x(n, t, e);
|
|
165
165
|
},
|
|
166
166
|
p: M,
|
|
167
167
|
d(n) {
|
|
168
|
-
n &&
|
|
168
|
+
n && k(t);
|
|
169
169
|
}
|
|
170
170
|
};
|
|
171
171
|
}
|
|
172
|
-
function
|
|
172
|
+
function j(r) {
|
|
173
173
|
let t, n;
|
|
174
|
-
function e(l,
|
|
174
|
+
function e(l, c) {
|
|
175
175
|
return (
|
|
176
176
|
/*isMobile*/
|
|
177
|
-
l[3] ?
|
|
177
|
+
l[3] ? ct : at
|
|
178
178
|
);
|
|
179
179
|
}
|
|
180
180
|
let o = e(r)(r);
|
|
@@ -182,31 +182,31 @@ function I(r) {
|
|
|
182
182
|
c() {
|
|
183
183
|
t = g("div"), o.c(), n = C(), s(t, "class", "skeletonNotification");
|
|
184
184
|
},
|
|
185
|
-
m(l,
|
|
186
|
-
|
|
185
|
+
m(l, c) {
|
|
186
|
+
x(l, t, c), o.m(t, null), m(t, n);
|
|
187
187
|
},
|
|
188
|
-
p(l,
|
|
189
|
-
o.p(l,
|
|
188
|
+
p(l, c) {
|
|
189
|
+
o.p(l, c);
|
|
190
190
|
},
|
|
191
191
|
d(l) {
|
|
192
|
-
l &&
|
|
192
|
+
l && k(t), o.d();
|
|
193
193
|
}
|
|
194
194
|
};
|
|
195
195
|
}
|
|
196
|
-
function
|
|
196
|
+
function st(r) {
|
|
197
197
|
let t;
|
|
198
198
|
function n(o, l) {
|
|
199
|
-
var
|
|
199
|
+
var c;
|
|
200
200
|
if (
|
|
201
201
|
/*skeletonLoading*/
|
|
202
202
|
o[2]
|
|
203
203
|
)
|
|
204
|
-
return
|
|
204
|
+
return rt;
|
|
205
205
|
if (
|
|
206
206
|
/*notificationsData*/
|
|
207
|
-
(
|
|
207
|
+
(c = o[1]) != null && c.length
|
|
208
208
|
)
|
|
209
|
-
return
|
|
209
|
+
return lt;
|
|
210
210
|
}
|
|
211
211
|
let e = n(r), i = e && e(r);
|
|
212
212
|
return {
|
|
@@ -214,7 +214,7 @@ function ct(r) {
|
|
|
214
214
|
t = g("div"), i && i.c();
|
|
215
215
|
},
|
|
216
216
|
m(o, l) {
|
|
217
|
-
|
|
217
|
+
x(o, t, l), i && i.m(t, null), r[13](t);
|
|
218
218
|
},
|
|
219
219
|
p(o, [l]) {
|
|
220
220
|
e === (e = n(o)) && i ? i.p(o, l) : (i && i.d(1), i = e && e(o), i && (i.c(), i.m(t, null)));
|
|
@@ -222,26 +222,27 @@ function ct(r) {
|
|
|
222
222
|
i: M,
|
|
223
223
|
o: M,
|
|
224
224
|
d(o) {
|
|
225
|
-
o &&
|
|
225
|
+
o && k(t), i && i.d(), r[13](null);
|
|
226
226
|
}
|
|
227
227
|
};
|
|
228
228
|
}
|
|
229
|
-
function
|
|
230
|
-
let { lang: e = "" } = t, { cmsendpoint: i = "" } = t, { env: o = "" } = t, { userroles: l = "" } = t, { customnotif:
|
|
231
|
-
const
|
|
232
|
-
function
|
|
233
|
-
const
|
|
234
|
-
if (
|
|
235
|
-
return
|
|
229
|
+
function ut(r, t, n) {
|
|
230
|
+
let { lang: e = "" } = t, { cmsendpoint: i = "" } = t, { env: o = "" } = t, { userroles: l = "" } = t, { customnotif: c = "" } = t, { clientstyling: f = "" } = t, { clientstylingurl: p = "" } = t, { mbsource: _ } = t, u, w, N = !0, d = window.navigator.userAgent, h = H(d) !== "PC", v = [], A = [], R = E();
|
|
231
|
+
const D = window.matchMedia("(min-width: 768px)");
|
|
232
|
+
function E() {
|
|
233
|
+
const a = H(d);
|
|
234
|
+
if (a)
|
|
235
|
+
return a === "PC" ? "dk" : "mtWeb";
|
|
236
236
|
}
|
|
237
|
-
const
|
|
238
|
-
const
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
237
|
+
const U = () => {
|
|
238
|
+
const a = new URL(`${i}/${e}/support-information`);
|
|
239
|
+
a.searchParams.append("env", o), a.searchParams.append("userRoles", l), a.searchParams.append("device", R), fetch(a.href).then((b) => b.json()).then((b) => {
|
|
240
|
+
var B;
|
|
241
|
+
b.length && (n(1, v = (B = b[0].children) != null ? B : b), v == null || v.forEach((V) => {
|
|
242
|
+
A.length && (V.backgroundColor = A[0], A.shift());
|
|
242
243
|
}));
|
|
243
|
-
}).catch((
|
|
244
|
-
console.error(
|
|
244
|
+
}).catch((b) => {
|
|
245
|
+
console.error(b);
|
|
245
246
|
}).finally(() => {
|
|
246
247
|
setTimeout(
|
|
247
248
|
() => {
|
|
@@ -251,50 +252,50 @@ function st(r, t, n) {
|
|
|
251
252
|
);
|
|
252
253
|
});
|
|
253
254
|
}, T = () => {
|
|
254
|
-
|
|
255
|
+
c.replace(" ", ""), A = c.split(",");
|
|
255
256
|
};
|
|
256
|
-
|
|
257
|
+
X(() => () => {
|
|
257
258
|
});
|
|
258
|
-
function
|
|
259
|
-
|
|
260
|
-
u =
|
|
259
|
+
function Q(a) {
|
|
260
|
+
Y[a ? "unshift" : "push"](() => {
|
|
261
|
+
u = a, n(0, u);
|
|
261
262
|
});
|
|
262
263
|
}
|
|
263
|
-
return r.$$set = (
|
|
264
|
-
"lang" in
|
|
264
|
+
return r.$$set = (a) => {
|
|
265
|
+
"lang" in a && n(5, e = a.lang), "cmsendpoint" in a && n(6, i = a.cmsendpoint), "env" in a && n(7, o = a.env), "userroles" in a && n(8, l = a.userroles), "customnotif" in a && n(9, c = a.customnotif), "clientstyling" in a && n(10, f = a.clientstyling), "clientstylingurl" in a && n(11, p = a.clientstylingurl), "mbsource" in a && n(12, _ = a.mbsource);
|
|
265
266
|
}, r.$$.update = () => {
|
|
266
267
|
r.$$.dirty & /*customnotif*/
|
|
267
|
-
512 &&
|
|
268
|
-
2 &&
|
|
269
|
-
480 && l && i && o && e &&
|
|
270
|
-
1025 && f && u &&
|
|
271
|
-
2049 && p && u &&
|
|
272
|
-
4097 && _ && u &&
|
|
268
|
+
512 && c && T(), r.$$.dirty & /*notificationsData*/
|
|
269
|
+
2 && v && T(), r.$$.dirty & /*userroles, cmsendpoint, env, lang*/
|
|
270
|
+
480 && l && i && o && e && U(), r.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
271
|
+
1025 && f && u && tt(u, f), r.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
272
|
+
2049 && p && u && et(u, p), r.$$.dirty & /*mbsource, customStylingContainer*/
|
|
273
|
+
4097 && _ && u && it(u, `${_}.Style`, w);
|
|
273
274
|
}, [
|
|
274
275
|
u,
|
|
275
|
-
|
|
276
|
+
v,
|
|
276
277
|
N,
|
|
277
278
|
h,
|
|
278
|
-
|
|
279
|
+
D,
|
|
279
280
|
e,
|
|
280
281
|
i,
|
|
281
282
|
o,
|
|
282
283
|
l,
|
|
283
|
-
|
|
284
|
+
c,
|
|
284
285
|
f,
|
|
285
286
|
p,
|
|
286
287
|
_,
|
|
287
|
-
|
|
288
|
+
Q
|
|
288
289
|
];
|
|
289
290
|
}
|
|
290
|
-
class
|
|
291
|
+
class ft extends G {
|
|
291
292
|
constructor(t) {
|
|
292
|
-
super(),
|
|
293
|
+
super(), J(
|
|
293
294
|
this,
|
|
294
295
|
t,
|
|
296
|
+
ut,
|
|
295
297
|
st,
|
|
296
|
-
|
|
297
|
-
J,
|
|
298
|
+
K,
|
|
298
299
|
{
|
|
299
300
|
lang: 5,
|
|
300
301
|
cmsendpoint: 6,
|
|
@@ -305,7 +306,7 @@ class ut extends V {
|
|
|
305
306
|
clientstylingurl: 11,
|
|
306
307
|
mbsource: 12
|
|
307
308
|
},
|
|
308
|
-
|
|
309
|
+
ot
|
|
309
310
|
);
|
|
310
311
|
}
|
|
311
312
|
get lang() {
|
|
@@ -357,7 +358,7 @@ class ut extends V {
|
|
|
357
358
|
this.$$set({ mbsource: t }), y();
|
|
358
359
|
}
|
|
359
360
|
}
|
|
360
|
-
|
|
361
|
+
nt(ft, { lang: {}, cmsendpoint: {}, env: {}, userroles: {}, customnotif: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {} }, [], [], !0);
|
|
361
362
|
export {
|
|
362
|
-
|
|
363
|
+
ft as default
|
|
363
364
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./PlayerAccountController-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./PlayerAccountController-Csr7J4CP.cjs");require("../stencil/ui-skeleton-CS05SPLQ.cjs");function L(a){e.append_styles(a,"svelte-1b8j2p",':host{padding:0;margin:0;font-family:inherit}.PlayerAccountNotificationsContainer{padding:0 5px;display:grid;grid-gap:20px;animation-name:fadeIn;animation-iteration-count:1;animation-timing-function:ease-in;animation-duration:0.3s;container-type:inline-size;container-name:notifications-container}.PlayerAccountNotificationBox{background:var(--emw--color-pale, var(--emw--color-gray-50, #f1f1f1));display:block;padding:20px;border-radius:var(--emw--border-radius-medium, 10px);width:100%;color:var(--emw--color-black, #000);box-sizing:border-box;text-decoration:none;word-break:break-word;word-wrap:break-word;overflow-wrap:anywhere;white-space:normal}.PlayerAccountNotificationBoxHeader{display:grid;width:100%;grid-template-areas:"nav main aside";grid-template-rows:auto;grid-template-columns:34px calc(100% - 34px);align-items:center}.PlayerAccountNotificationBoxHeader .PlayerAccountNotificationIcon{width:24px;margin-right:10px;flex:1}.PlayerAccountNotificationBoxHeader .PlayerAccountNotificationTitle{font-size:16px;flex:2}.PlayerAccountNotificationText{margin:0;font-size:14px;font-weight:300}.PlayerAccountNotificationText a{text-decoration:none;color:var(--emw--color-white, #FFFFFF)}.PlayerAccountNotificationsMobileContainer{display:grid;grid-template-columns:repeat(2, minmax(0, 1fr));grid-gap:20px;padding:20px}.PlayerAccountNotificationsMobileContainer .PlayerAccountNotificationBoxHeader{grid-template-columns:40px calc(100% - 40px)}.PlayerAccountNotificationsMobileContainer .PlayerAccountNotificationTitle{font-size:14px}.PlayerAccountNotificationsMobileContainer .PlayerAccountNotificationIcon{width:30px;margin-right:10px}.skeletonContainer{container-type:inline-size}.skeletonContainer .skeletonWrapper{animation:fadeIn ease 0.3s}@container (max-width: 768px){.skeletonContainer .skeletonWrapper{display:grid;grid-template-columns:repeat(2, minmax(0, 1fr));grid-gap:20px}.skeletonContainer .skeletonWrapper .skeletonNotification{width:100%}}@container (max-width: 425px){.skeletonContainer .skeletonWrapper{display:grid;grid-template-columns:repeat(1, minmax(0, 1fr));grid-gap:20px;padding:0px 10px}.skeletonContainer .skeletonWrapper .skeletonNotification{width:100%}}@keyframes fadeIn{0%{opacity:0.01}1%{opacity:0}50%{opacity:0}100%{opacity:1}}')}function w(a,t,o){const n=a.slice();return n[24]=t[o],n}function P(a,t,o){const n=a.slice();return n[21]=t[o],n}function z(a){let t,o=e.ensure_array_like(a[1]),n=[];for(let i=0;i<o.length;i+=1)n[i]=N(w(a,o,i));return{c(){t=e.element("div");for(let i=0;i<n.length;i+=1)n[i].c();e.attr(t,"class","PlayerAccountNotificationsContainer "+(a[3]?"PlayerAccountNotificationsMobileContainer":"")),e.attr(t,"part","PlayerAccountNotificationsContainer "+(a[3]?"PlayerAccountNotificationsMobileContainer":""))},m(i,l){e.insert(i,t,l);for(let r=0;r<n.length;r+=1)n[r]&&n[r].m(t,null)},p(i,l){if(l&2){o=e.ensure_array_like(i[1]);let r;for(r=0;r<o.length;r+=1){const c=w(i,o,r);n[r]?n[r].p(c,l):(n[r]=N(c),n[r].c(),n[r].m(t,null))}for(;r<n.length;r+=1)n[r].d(1);n.length=o.length}},d(i){i&&e.detach(t),e.destroy_each(n,i)}}}function F(a){let t,o,n=e.ensure_array_like({length:3}),i=[];for(let l=0;l<n.length;l+=1)i[l]=A(P(a,n,l));return{c(){t=e.element("div"),o=e.element("div");for(let l=0;l<i.length;l+=1)i[l].c();e.attr(o,"class","skeletonWrapper"),e.attr(t,"class","skeletonContainer")},m(l,r){e.insert(l,t,r),e.append(t,o);for(let c=0;c<i.length;c+=1)i[c]&&i[c].m(o,null)},p(l,r){if(r&24){n=e.ensure_array_like({length:3});let c;for(c=0;c<n.length;c+=1){const d=P(l,n,c);i[c]?i[c].p(d,r):(i[c]=A(d),i[c].c(),i[c].m(o,null))}for(;c<i.length;c+=1)i[c].d(1);i.length=n.length}},d(l){l&&e.detach(t),e.destroy_each(i,l)}}}function N(a){let t,o,n,i,l,r,c,d=a[24].title+"",g,p,u,_=a[24].description+"",k;return{c(){t=e.element("div"),o=e.element("div"),n=e.element("img"),r=e.space(),c=e.element("p"),g=e.text(d),p=e.space(),u=e.element("p"),k=e.space(),e.attr(n,"class","PlayerAccountNotificationIcon"),e.attr(n,"width","24px"),e.attr(n,"height","24px"),e.src_url_equal(n.src,i=a[24].icon)||e.attr(n,"src",i),e.attr(n,"alt",l=a[24].title),e.attr(c,"class","PlayerAccountNotificationTitle"),e.attr(o,"class","PlayerAccountNotificationBoxHeader"),e.attr(u,"class","PlayerAccountNotificationText"),e.attr(t,"class","PlayerAccountNotificationBox"),e.set_style(t,"background",a[24].backgroundColor)},m(f,m){e.insert(f,t,m),e.append(t,o),e.append(o,n),e.append(o,r),e.append(o,c),e.append(c,g),e.append(t,p),e.append(t,u),u.innerHTML=_,e.append(t,k)},p(f,m){m&2&&!e.src_url_equal(n.src,i=f[24].icon)&&e.attr(n,"src",i),m&2&&l!==(l=f[24].title)&&e.attr(n,"alt",l),m&2&&d!==(d=f[24].title+"")&&e.set_data(g,d),m&2&&_!==(_=f[24].description+"")&&(u.innerHTML=_),m&2&&e.set_style(t,"background",f[24].backgroundColor)},d(f){f&&e.detach(t)}}}function I(a){let t;return{c(){t=e.element("ui-skeleton"),e.set_custom_element_data(t,"structure","rectangle"),e.set_custom_element_data(t,"width","auto"),e.set_custom_element_data(t,"height",a[3]&&a[4].matches?"250px":"400px")},m(o,n){e.insert(o,t,n)},p:e.noop,d(o){o&&e.detach(t)}}}function q(a){let t;return{c(){t=e.element("ui-skeleton"),t.innerHTML="",e.set_custom_element_data(t,"structure","rectangle"),e.set_custom_element_data(t,"width","auto"),e.set_custom_element_data(t,"height","130px")},m(o,n){e.insert(o,t,n)},p:e.noop,d(o){o&&e.detach(t)}}}function A(a){let t,o;function n(r,c){return r[3]?I:q}let l=n(a)(a);return{c(){t=e.element("div"),l.c(),o=e.space(),e.attr(t,"class","skeletonNotification")},m(r,c){e.insert(r,t,c),l.m(t,null),e.append(t,o)},p(r,c){l.p(r,c)},d(r){r&&e.detach(t),l.d()}}}function j(a){let t;function o(l,r){var c;if(l[2])return F;if((c=l[1])!=null&&c.length)return z}let n=o(a),i=n&&n(a);return{c(){t=e.element("div"),i&&i.c()},m(l,r){e.insert(l,t,r),i&&i.m(t,null),a[13](t)},p(l,[r]){n===(n=o(l))&&i?i.p(l,r):(i&&i.d(1),i=n&&n(l),i&&(i.c(),i.m(t,null)))},i:e.noop,o:e.noop,d(l){l&&e.detach(t),i&&i.d(),a[13](null)}}}function D(a,t,o){let{lang:n=""}=t,{cmsendpoint:i=""}=t,{env:l=""}=t,{userroles:r=""}=t,{customnotif:c=""}=t,{clientstyling:d=""}=t,{clientstylingurl:g=""}=t,{mbsource:p}=t,u,_,k=!0,f=window.navigator.userAgent,m=e.getDevice(f)!=="PC",y=[],b=[],M=T();const S=window.matchMedia("(min-width: 768px)");function T(){const s=e.getDevice(f);if(s)return s==="PC"?"dk":"mtWeb"}const B=()=>{const s=new URL(`${i}/${n}/support-information`);s.searchParams.append("env",l),s.searchParams.append("userRoles",r),s.searchParams.append("device",M),fetch(s.href).then(h=>h.json()).then(h=>{var v;h.length&&(o(1,y=(v=h[0].children)!=null?v:h),y==null||y.forEach(W=>{b.length&&(W.backgroundColor=b[0],b.shift())}))}).catch(h=>{console.error(h)}).finally(()=>{setTimeout(()=>{o(2,k=!1)},1e3)})},x=()=>{c.replace(" ",""),b=c.split(",")};e.onMount(()=>()=>{});function H(s){e.binding_callbacks[s?"unshift":"push"](()=>{u=s,o(0,u)})}return a.$$set=s=>{"lang"in s&&o(5,n=s.lang),"cmsendpoint"in s&&o(6,i=s.cmsendpoint),"env"in s&&o(7,l=s.env),"userroles"in s&&o(8,r=s.userroles),"customnotif"in s&&o(9,c=s.customnotif),"clientstyling"in s&&o(10,d=s.clientstyling),"clientstylingurl"in s&&o(11,g=s.clientstylingurl),"mbsource"in s&&o(12,p=s.mbsource)},a.$$.update=()=>{a.$$.dirty&512&&c&&x(),a.$$.dirty&2&&y&&x(),a.$$.dirty&480&&r&&i&&l&&n&&B(),a.$$.dirty&1025&&d&&u&&e.setClientStyling(u,d),a.$$.dirty&2049&&g&&u&&e.setClientStylingURL(u,g),a.$$.dirty&4097&&p&&u&&e.setStreamStyling(u,`${p}.Style`,_)},[u,y,k,m,S,n,i,l,r,c,d,g,p,H]}class C extends e.SvelteComponent{constructor(t){super(),e.init(this,t,D,j,e.safe_not_equal,{lang:5,cmsendpoint:6,env:7,userroles:8,customnotif:9,clientstyling:10,clientstylingurl:11,mbsource:12},L)}get lang(){return this.$$.ctx[5]}set lang(t){this.$$set({lang:t}),e.flush()}get cmsendpoint(){return this.$$.ctx[6]}set cmsendpoint(t){this.$$set({cmsendpoint:t}),e.flush()}get env(){return this.$$.ctx[7]}set env(t){this.$$set({env:t}),e.flush()}get userroles(){return this.$$.ctx[8]}set userroles(t){this.$$set({userroles:t}),e.flush()}get customnotif(){return this.$$.ctx[9]}set customnotif(t){this.$$set({customnotif:t}),e.flush()}get clientstyling(){return this.$$.ctx[10]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[11]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get mbsource(){return this.$$.ctx[12]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}}e.create_custom_element(C,{lang:{},cmsendpoint:{},env:{},userroles:{},customnotif:{},clientstyling:{},clientstylingurl:{},mbsource:{}},[],[],!0);exports.default=C;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { a as $e, $ as et, S as tt, i as rt, s as ot, f as U, b as it, n as we, d as M, e as W, g as u, h as nt, j as at, o as st, k as ze, l as _e, m as Te, p as s, q as C, r as b, t as d, w as ct, u as K, J as ye, x as Ce, v as H, y as se, L as lt, B as dt, C as ut, D as pt, c as mt, A as ft } from "./PlayerAccountController-
|
|
2
|
-
import { d as ke } from "./PlayerAccountTimeout-
|
|
3
|
-
import "./PlayerBonusHistory-
|
|
1
|
+
import { a as $e, $ as et, S as tt, i as rt, s as ot, f as U, b as it, n as we, d as M, e as W, g as u, h as nt, j as at, o as st, k as ze, l as _e, m as Te, p as s, q as C, r as b, t as d, w as ct, u as K, J as ye, x as Ce, v as H, y as se, L as lt, B as dt, C as ut, D as pt, c as mt, A as ft } from "./PlayerAccountController-D9OUnSfp.js";
|
|
2
|
+
import { d as ke } from "./PlayerAccountTimeout-C-jrVPcw.js";
|
|
3
|
+
import "./PlayerBonusHistory-BCmhRptn.js";
|
|
4
4
|
import "../stencil/ui-skeleton-DNuG5l9W.js";
|
|
5
5
|
function je(r, e) {
|
|
6
6
|
$e(r, e);
|