@everymatrix/player-account-controller-nd 1.55.0 → 1.56.0
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-9pZTJKCj.cjs +8 -0
- package/components/{GeneralLogout-Ve_dOAMA.js → GeneralLogout-CqNn1bEG.js} +1081 -1088
- package/components/{GeneralLogout-BZhvD1EQ.js → GeneralLogout-qtT2UsMu.js} +1076 -1083
- package/components/PlayerAccountBettingHistory-BgdXC00n.cjs +1 -0
- package/components/PlayerAccountBettingHistory-CgKp1Tsa.js +329 -0
- package/components/{PlayerAccountBettingHistory-C9n4Lfo3.js → PlayerAccountBettingHistory-DGdU5x1X.js} +130 -134
- package/components/{PlayerAccountBiometrics-BrlNlZ5N.cjs → PlayerAccountBiometrics-8CaZALdD.cjs} +1 -1
- package/components/{PlayerAccountBiometrics-BupiQCMJ.js → PlayerAccountBiometrics-BynUcDER.js} +125 -126
- package/components/{PlayerAccountBiometrics-fQlNKCoA.js → PlayerAccountBiometrics-hfEg8HK3.js} +125 -126
- package/components/{PlayerAccountClosureNd-CEad1veU.js → PlayerAccountClosureNd-BNAxe4kI.js} +127 -128
- package/components/{PlayerAccountClosureNd-DcMOj468.cjs → PlayerAccountClosureNd-BzygnnRL.cjs} +1 -1
- package/components/{PlayerAccountClosureNd-DAFiYifr.js → PlayerAccountClosureNd-C56v4kQH.js} +127 -128
- package/components/{PlayerAccountControllerNd-5BH6GjlH.js → PlayerAccountControllerNd-0Azz2muh.js} +1575 -1049
- package/components/{PlayerAccountControllerNd-BmAwgSdK.js → PlayerAccountControllerNd-CU0CZtN2.js} +1509 -983
- package/components/PlayerAccountControllerNd-DiMI0zck.cjs +1 -0
- package/components/{PlayerAccountGamingLimits-9Stjo0gs.js → PlayerAccountGamingLimits-BUBbpeFt.js} +301 -250
- package/components/PlayerAccountGamingLimits-DoYSa5g4.cjs +1 -0
- package/components/{PlayerAccountGamingLimits-DI0RPgPB.js → PlayerAccountGamingLimits-cGyCwFe3.js} +301 -250
- package/components/{PlayerAccountGamingLimitsConfirmationModal-BzAWyxny.js → PlayerAccountGamingLimitsConfirmationModal-BzxaZ7Sb.js} +127 -131
- package/components/{PlayerAccountGamingLimitsConfirmationModal-DKpr25Aj.js → PlayerAccountGamingLimitsConfirmationModal-CPRvI7h-.js} +127 -131
- package/components/PlayerAccountGamingLimitsConfirmationModal-CUg2My3V.cjs +1 -0
- package/components/{PlayerAccountGamingLimitsGroupEdit-Dj2jUWb2.js → PlayerAccountGamingLimitsGroupEdit-BJQil0oW.js} +1073 -1077
- package/components/{PlayerAccountGamingLimitsGroupEdit-DrkoLne8.cjs → PlayerAccountGamingLimitsGroupEdit-ByRLb87-.cjs} +4 -4
- package/components/{PlayerAccountGamingLimitsGroupEdit-CBViR9JR.js → PlayerAccountGamingLimitsGroupEdit-uRCXqfhe.js} +1073 -1077
- package/components/{PlayerAccountGamingLimitsHistory2Nd-BQRXsnS9.js → PlayerAccountGamingLimitsHistory2Nd-B9FC3C6m.js} +208 -216
- package/components/{PlayerAccountGamingLimitsHistory2Nd-2hdjxCBn.cjs → PlayerAccountGamingLimitsHistory2Nd-Daq9D9so.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsHistory2Nd-BQy_79YQ.js → PlayerAccountGamingLimitsHistory2Nd-wYR_HP23.js} +213 -221
- package/components/{PlayerAccountGamingLimitsInfoCard-StfGgmLs.js → PlayerAccountGamingLimitsInfoCard-DgmJAMo8.js} +639 -588
- package/components/{PlayerAccountGamingLimitsInfoCard-CDFRfVT4.js → PlayerAccountGamingLimitsInfoCard-DvaVcUFe.js} +639 -588
- package/components/PlayerAccountGamingLimitsInfoCard-c0kYK6Z1.cjs +1 -0
- package/components/PlayerAccountGamingLimitsPage2Gm16Nd-BDBtHDGH.cjs +21 -0
- package/components/{PlayerAccountGamingLimitsPage2Gm16Nd-B672X-1A.js → PlayerAccountGamingLimitsPage2Gm16Nd-BQeFK7FJ.js} +1043 -1019
- package/components/{PlayerAccountGamingLimitsPage2Gm16Nd-Dz-xK27Q.js → PlayerAccountGamingLimitsPage2Gm16Nd-DJhG-lLb.js} +845 -821
- package/components/{PlayerAccountGamingLimitsPopup-DoLZB2lj.js → PlayerAccountGamingLimitsPopup-BgdXe6lp.js} +116 -120
- package/components/{PlayerAccountGamingLimitsPopup-f9QP34fL.js → PlayerAccountGamingLimitsPopup-BhqEVpIP.js} +116 -120
- package/components/{PlayerAccountGamingLimitsPopup-ChBLdQR7.cjs → PlayerAccountGamingLimitsPopup-CfBYEYKc.cjs} +1 -1
- package/components/PlayerAccountGamingLimitsWrapper2Nd-DnBhGv4Z.cjs +1 -0
- package/components/PlayerAccountGamingLimitsWrapper2Nd-HNcfKvd3.js +1016 -0
- package/components/PlayerAccountGamingLimitsWrapper2Nd-bkcZAm71.js +1022 -0
- package/components/{PlayerAccountGeneralConfirmationModal-BlglDNwU.js → PlayerAccountGeneralConfirmationModal-BUSAMIdf.js} +141 -142
- package/components/{PlayerAccountGeneralConfirmationModal-rpOFir4P.js → PlayerAccountGeneralConfirmationModal-BXQQtxIE.js} +141 -142
- package/components/PlayerAccountGeneralConfirmationModal-Dr-ZkTHH.cjs +1 -0
- package/components/PlayerAccountMenuNd-BGd35WSX.js +695 -0
- package/components/PlayerAccountMenuNd-BWzYxwjF.cjs +1 -0
- package/components/PlayerAccountMenuNd-Dw-owOIv.js +694 -0
- package/components/PlayerAccountModal-C7aE-f75.js +209 -0
- package/components/PlayerAccountModal-CLW-XTid.cjs +1 -0
- package/components/PlayerAccountModal-DcQTZlVT.js +209 -0
- package/components/PlayerAccountNotifications-0ecn9JH_.js +369 -0
- package/components/PlayerAccountNotifications-CmSue8JR.cjs +1 -0
- package/components/PlayerAccountNotifications-lv1He1RO.js +368 -0
- package/components/{PlayerAccountSelfExclusionNd-D2JmyzgE.js → PlayerAccountSelfExclusionNd-CsBAGhjI.js} +10893 -11100
- package/components/{PlayerAccountSelfExclusionNd-CM37K9pN.js → PlayerAccountSelfExclusionNd-DRQwA-0O.js} +10812 -11065
- package/components/PlayerAccountSelfExclusionNd-TZyj4_3a.cjs +3557 -0
- package/components/PlayerAccountTimeout-BDvJp_Zk.cjs +1 -0
- package/components/{PlayerAccountTimeout-B0zaqo1v.js → PlayerAccountTimeout-C0WAFaPW.js} +498 -367
- package/components/{PlayerAccountTimeout-BO3G2t3W.js → PlayerAccountTimeout-CixN4uD5.js} +498 -367
- package/components/PlayerActiveBonuses-BAx9d0pm.js +1055 -0
- package/components/PlayerActiveBonuses-CbJliQvN.js +1056 -0
- package/components/PlayerActiveBonuses-DTgD47j8.cjs +1 -0
- package/components/{PlayerBonusCard-BC8FfHZz.cjs → PlayerBonusCard-5gtng8cd.cjs} +1 -1
- package/components/{PlayerBonusCard-9LZmOSI1.js → PlayerBonusCard-BiVG3k7R.js} +166 -168
- package/components/{PlayerBonusCard-BvrlU7Ao.js → PlayerBonusCard-DnyVL-Cb.js} +166 -168
- package/components/PlayerBonusHistory-CaiqLQk_.js +938 -0
- package/components/PlayerBonusHistory-DA8a2ZnE.js +937 -0
- package/components/PlayerBonusHistory-rLGeO078.cjs +1 -0
- package/components/{PlayerChangePassword-CzR4Xz0H.cjs → PlayerChangePassword-BsM1lBfW.cjs} +2 -2
- package/components/{PlayerChangePassword-BsQyz4Qc.js → PlayerChangePassword-DsR4BO-Y.js} +383 -387
- package/components/{PlayerChangePassword-BcoctDrY.js → PlayerChangePassword-dEL-0H2u.js} +383 -387
- package/components/PlayerDeposit-0eaqfWH1.cjs +1 -0
- package/components/PlayerDeposit-D_Ujmr4j.js +391 -0
- package/components/PlayerDeposit-IS6_f845.js +391 -0
- package/components/PlayerGamingHistory-BRstQCWo.cjs +1 -0
- package/components/{PlayerGamingHistory-B1Q3Qiuk.js → PlayerGamingHistory-BYRzcRjb.js} +348 -352
- package/components/{PlayerGamingHistory-DUCP4vWS.js → PlayerGamingHistory-GGgBAhXX.js} +373 -377
- package/components/PlayerPendingWithdrawals-CaoLTPFk.js +310 -0
- package/components/PlayerPendingWithdrawals-M9Wq9w2M.js +310 -0
- package/components/PlayerPendingWithdrawals-qMs8We3P.cjs +1 -0
- package/components/PlayerProfileInfo-B4pkapUi.js +1821 -0
- package/components/PlayerProfileInfo-Cr6m7e2V.js +1804 -0
- package/components/PlayerProfileInfo-Mqg0xIQD.cjs +1 -0
- package/components/PlayerRealityCheck-B9LHSWRj.js +652 -0
- package/components/PlayerRealityCheck-CMKhVVBJ.js +668 -0
- package/components/PlayerRealityCheck-DoXLoM9G.cjs +1 -0
- package/components/PlayerTransactionHistory-BaALuJRH.js +314 -0
- package/components/PlayerTransactionHistory-BqEXyDt-.cjs +1 -0
- package/components/PlayerTransactionHistory-CYob92HC.js +314 -0
- package/components/PlayerWithdrawal-1i-tYxaO.cjs +1 -0
- package/components/{PlayerWithdrawal-jGmMHcUX.js → PlayerWithdrawal-CNDRfeXy.js} +137 -141
- package/components/{PlayerWithdrawal-wi9yuRxw.js → PlayerWithdrawal-U9E0FEDt.js} +137 -141
- package/es2015/player-account-controller-nd.cjs +1 -1
- package/es2015/player-account-controller-nd.js +1 -1
- package/esnext/player-account-controller-nd.js +1 -1
- package/package.json +1 -1
- package/stencil/app-globals-0f993ce5-BD-Q0C8R.cjs +1 -0
- package/stencil/app-globals-0f993ce5-Cgk0KVAu.js +7 -0
- package/stencil/{checkbox-group-input_9-DZvX2H_r.js → checkbox-group-input_9-B_RfUM6E.js} +3279 -2404
- package/stencil/checkbox-group-input_9-C2IUNSpC.cjs +2045 -0
- package/stencil/{checkbox-group-input_9-Cny9rOs9.js → checkbox-group-input_9-C98yT4vw.js} +3348 -2459
- package/stencil/{general-input-Yj_LRx0v.js → general-input-CqTf7ErJ.js} +6 -6
- package/stencil/{general-input-d5RULL12.js → general-input-DTHw5Z1Q.js} +6 -6
- package/stencil/general-input-wM2i7b57.cjs +1 -0
- package/stencil/index-92b64862-BRYoLHww.cjs +1 -0
- package/stencil/index-92b64862-C_69cKxK.js +708 -0
- package/stencil/index-92b64862-w9a1l35N.js +692 -0
- package/stencil/index-db5752f9-DlyF6uv8.js +594 -0
- package/stencil/index-db5752f9-DrdunCay.js +610 -0
- package/stencil/index-db5752f9-dFKrDpwt.cjs +1 -0
- package/stencil/password-input_2-B2qvf6ku.cjs +105 -0
- package/stencil/password-input_2-CdHS5fmR.js +569 -0
- package/stencil/password-input_2-DdQvCp3o.js +569 -0
- package/stencil/{player-change-password-gm2-780eb445-Cg8Z75Vz.js → player-change-password-gm2-38dff08c-BNhjxr22.js} +85 -66
- package/stencil/{player-change-password-gm2-780eb445-DEjz9Jjk.js → player-change-password-gm2-38dff08c-CPRdwVFF.js} +85 -66
- package/stencil/player-change-password-gm2-38dff08c-DnYXSeKg.cjs +1 -0
- package/stencil/player-change-password-gm2-Cxdum0Hh.js +25 -0
- package/stencil/player-change-password-gm2-DJqZO25d.cjs +1 -0
- package/stencil/player-change-password-gm2-DWoAaJ2f.js +7 -0
- package/stencil/{toggle-checkbox-input-ErX2Ngat.js → toggle-checkbox-input-B4OOk9wz.js} +7 -7
- package/stencil/{toggle-checkbox-input-Co64_7cm.js → toggle-checkbox-input-Cwo_Ny77.js} +7 -7
- package/stencil/toggle-checkbox-input-tQDhlcag.cjs +1 -0
- package/stencil/ui-skeleton-982450d2-BKnKTh4c.js +122 -0
- package/stencil/ui-skeleton-982450d2-DDIv0--Q.cjs +1 -0
- package/stencil/ui-skeleton-982450d2-DQzKNKe8.js +122 -0
- package/stencil/ui-skeleton-BL5JJXyn.js +11 -0
- package/stencil/ui-skeleton-CGldUjn2.js +29 -0
- package/stencil/ui-skeleton-ITys8nIA.cjs +1 -0
- package/stencil/{vaadin-button-6001b2a6-Dqz5Vp8D.js → vaadin-button-mixin-ef61174c-B_vhSFKU.js} +8177 -8813
- package/stencil/vaadin-button-mixin-ef61174c-DuDVejN4.cjs +2385 -0
- package/stencil/{vaadin-button-6001b2a6-CZwj1qjO.js → vaadin-button-mixin-ef61174c-EQiVsI4x.js} +6270 -6860
- package/components/GeneralLogout-BW6b3iuS.cjs +0 -8
- package/components/PlayerAccountBettingHistory-BsFzBNDY.cjs +0 -1
- package/components/PlayerAccountBettingHistory-QT3-2u7E.js +0 -333
- package/components/PlayerAccountControllerNd-CO0ce0zs.cjs +0 -1
- package/components/PlayerAccountGamingLimits-BPQrptbd.cjs +0 -1
- package/components/PlayerAccountGamingLimitsConfirmationModal-IgBYV9F2.cjs +0 -1
- package/components/PlayerAccountGamingLimitsInfoCard-BOls7ahz.cjs +0 -1
- package/components/PlayerAccountGamingLimitsPage2Gm16Nd-DSThp4HX.cjs +0 -21
- package/components/PlayerAccountGamingLimitsWrapper2Nd-Bz6Zp5tp.js +0 -865
- package/components/PlayerAccountGamingLimitsWrapper2Nd-Cq5vxtjw.js +0 -871
- package/components/PlayerAccountGamingLimitsWrapper2Nd-KUpEDIP8.cjs +0 -1
- package/components/PlayerAccountGeneralConfirmationModal-BpTCzpiW.cjs +0 -1
- package/components/PlayerAccountMenuNd-BWUhUlIY.js +0 -590
- package/components/PlayerAccountMenuNd-BmPerb2f.cjs +0 -1
- package/components/PlayerAccountMenuNd-CxMlvYwa.js +0 -589
- package/components/PlayerAccountModal-BK81ZotM.js +0 -213
- package/components/PlayerAccountModal-C7aZZlBw.cjs +0 -1
- package/components/PlayerAccountModal-CzVRNZzB.js +0 -213
- package/components/PlayerAccountNotifications-BBwUcB1T.js +0 -261
- package/components/PlayerAccountNotifications-CB47Zxq9.js +0 -261
- package/components/PlayerAccountNotifications-DkgHtUGj.cjs +0 -1
- package/components/PlayerAccountSelfExclusionNd-DCsOgBZR.cjs +0 -4171
- package/components/PlayerAccountTimeout-Dg5Mlz5K.cjs +0 -1
- package/components/PlayerActiveBonuses-B9jz3QD8.cjs +0 -1
- package/components/PlayerActiveBonuses-CfZ8tegY.js +0 -1037
- package/components/PlayerActiveBonuses-DkKDWhBN.js +0 -1038
- package/components/PlayerBonusHistory-Bsy2Grk6.js +0 -919
- package/components/PlayerBonusHistory-CuSbmVev.cjs +0 -1
- package/components/PlayerBonusHistory-nN8l2tOZ.js +0 -920
- package/components/PlayerDeposit-BIBRCGiC.js +0 -414
- package/components/PlayerDeposit-B_7saxic.js +0 -414
- package/components/PlayerDeposit-D_78W5GC.cjs +0 -1
- package/components/PlayerGamingHistory-CNPhCSFS.cjs +0 -1
- package/components/PlayerPendingWithdrawals-BG3I8ifu.cjs +0 -1
- package/components/PlayerPendingWithdrawals-C8jyjgZ0.js +0 -311
- package/components/PlayerPendingWithdrawals-wMhZTLpq.js +0 -311
- package/components/PlayerProfileInfo-CGsJydqv.cjs +0 -1
- package/components/PlayerProfileInfo-EkbwdTEh.js +0 -1757
- package/components/PlayerProfileInfo-SeOQq0CG.js +0 -1740
- package/components/PlayerRealityCheck--iYjw4rP.js +0 -598
- package/components/PlayerRealityCheck-BGGIPihT.js +0 -582
- package/components/PlayerRealityCheck-C26ZBWae.cjs +0 -1
- package/components/PlayerTransactionHistory-CJqhYnbs.cjs +0 -1
- package/components/PlayerTransactionHistory-CvBbrQn6.js +0 -315
- package/components/PlayerTransactionHistory-DIfTIxF3.js +0 -315
- package/components/PlayerWithdrawal-GDc_7hZX.cjs +0 -1
- package/stencil/app-globals-0f993ce5-D-kw1sls.js +0 -5
- package/stencil/app-globals-0f993ce5-sCt45RkC.cjs +0 -1
- package/stencil/checkbox-group-input_9-FLO2Qa5Y.cjs +0 -2104
- package/stencil/general-input-igTYIJ6W.cjs +0 -1
- package/stencil/index-72d2f0c7--qtpsDOz.js +0 -642
- package/stencil/index-72d2f0c7-DldCMjBJ.cjs +0 -1
- package/stencil/index-72d2f0c7-DyMEJXra.js +0 -626
- package/stencil/password-input_2-CHOu4hgw.js +0 -1420
- package/stencil/password-input_2-DQAgV1SZ.cjs +0 -896
- package/stencil/password-input_2-DaiHlKbQ.js +0 -1420
- package/stencil/player-change-password-gm2-780eb445-CdItmoKI.cjs +0 -1
- package/stencil/player-change-password-gm2-ClBiis4q.js +0 -25
- package/stencil/player-change-password-gm2-Dt0gP_G_.cjs +0 -1
- package/stencil/player-change-password-gm2-cKh7RACV.js +0 -7
- package/stencil/toggle-checkbox-input-a_0w-Y0n.cjs +0 -1
- package/stencil/vaadin-button-6001b2a6-C6xw53k5.cjs +0 -3018
|
@@ -0,0 +1,369 @@
|
|
|
1
|
+
import { S as O, i as Q, s as V, f as y, b as X, n as w, d as b, g as k, j as g, q as M, u as G, w as J, N as T, O as L, h, o as s, k as v, a0 as B, c as K, X as H, m as Y, e as N, x as Z, y as $, z as tt, A as et } from "./GeneralLogout-qtT2UsMu.js";
|
|
2
|
+
import "../stencil/ui-skeleton-CGldUjn2.js";
|
|
3
|
+
function it(l) {
|
|
4
|
+
X(l, "svelte-1eyrk9m", '.PlayerAccountNotificationsContainer{padding:0 5px;animation-name:fadeIn;animation-iteration-count:1;animation-timing-function:ease-in;animation-duration:0.3s}.PlayerAccountNotificationBox{display:block;padding:20px;border-radius:5px;width:100%;background:var(--emw--color-gray-300, #58586B);color:var(--emw--color-white, #FFFFFF);box-sizing:border-box;text-decoration:none;word-break:break-all}.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}.PlayerAccountNotificationsTabletContainer{display:grid;grid-template-columns:repeat(2, minmax(0, 1fr));grid-gap:20px;padding:20px 40px}.PlayerAccountNotificationsTabletContainer .PlayerAccountNotificationBoxHeader{grid-template-columns:80px calc(100% - 80px)}.PlayerAccountNotificationsTabletContainer .PlayerAccountNotificationTitle{font-size:24px}.PlayerAccountNotificationsTabletContainer .PlayerAccountNotificationText{font-size:16px}.PlayerAccountNotificationsTabletContainer .PlayerAccountNotificationIcon{width:60px;margin-right:20px}.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
|
+
}
|
|
6
|
+
function S(l, t, n) {
|
|
7
|
+
const e = l.slice();
|
|
8
|
+
return e[24] = t[n], e;
|
|
9
|
+
}
|
|
10
|
+
function z(l, t, n) {
|
|
11
|
+
const e = l.slice();
|
|
12
|
+
return e[21] = t[n], e;
|
|
13
|
+
}
|
|
14
|
+
function nt(l) {
|
|
15
|
+
let t, n = T(
|
|
16
|
+
/*notificationsData*/
|
|
17
|
+
l[1]
|
|
18
|
+
), e = [];
|
|
19
|
+
for (let i = 0; i < n.length; i += 1)
|
|
20
|
+
e[i] = W(S(l, n, i));
|
|
21
|
+
return {
|
|
22
|
+
c() {
|
|
23
|
+
t = g("div");
|
|
24
|
+
for (let i = 0; i < e.length; i += 1)
|
|
25
|
+
e[i].c();
|
|
26
|
+
s(t, "class", "PlayerAccountNotificationsContainer " + /*isMobile*/
|
|
27
|
+
(l[3] && /*mediaQuery*/
|
|
28
|
+
l[4].matches ? "PlayerAccountNotificationsTabletContainer" : (
|
|
29
|
+
/*isMobile*/
|
|
30
|
+
l[3] ? "PlayerAccountNotificationsMobileContainer" : ""
|
|
31
|
+
))), s(t, "part", "PlayerAccountNotificationsContainer " + /*isMobile*/
|
|
32
|
+
(l[3] && /*mediaQuery*/
|
|
33
|
+
l[4].matches ? "PlayerAccountNotificationsTabletContainer" : (
|
|
34
|
+
/*isMobile*/
|
|
35
|
+
l[3] ? "PlayerAccountNotificationsMobileContainer" : ""
|
|
36
|
+
)));
|
|
37
|
+
},
|
|
38
|
+
m(i, o) {
|
|
39
|
+
k(i, t, o);
|
|
40
|
+
for (let a = 0; a < e.length; a += 1)
|
|
41
|
+
e[a] && e[a].m(t, null);
|
|
42
|
+
},
|
|
43
|
+
p(i, o) {
|
|
44
|
+
if (o & /*notificationsData*/
|
|
45
|
+
2) {
|
|
46
|
+
n = T(
|
|
47
|
+
/*notificationsData*/
|
|
48
|
+
i[1]
|
|
49
|
+
);
|
|
50
|
+
let a;
|
|
51
|
+
for (a = 0; a < n.length; a += 1) {
|
|
52
|
+
const c = S(i, n, a);
|
|
53
|
+
e[a] ? e[a].p(c, o) : (e[a] = W(c), e[a].c(), e[a].m(t, null));
|
|
54
|
+
}
|
|
55
|
+
for (; a < e.length; a += 1)
|
|
56
|
+
e[a].d(1);
|
|
57
|
+
e.length = n.length;
|
|
58
|
+
}
|
|
59
|
+
},
|
|
60
|
+
d(i) {
|
|
61
|
+
i && b(t), L(e, i);
|
|
62
|
+
}
|
|
63
|
+
};
|
|
64
|
+
}
|
|
65
|
+
function ot(l) {
|
|
66
|
+
let t, n, e = T({ length: 3 }), i = [];
|
|
67
|
+
for (let o = 0; o < e.length; o += 1)
|
|
68
|
+
i[o] = I(z(l, e, o));
|
|
69
|
+
return {
|
|
70
|
+
c() {
|
|
71
|
+
t = g("div"), n = g("div");
|
|
72
|
+
for (let o = 0; o < i.length; o += 1)
|
|
73
|
+
i[o].c();
|
|
74
|
+
s(n, "class", "skeletonWrapper"), s(t, "class", "skeletonContainer");
|
|
75
|
+
},
|
|
76
|
+
m(o, a) {
|
|
77
|
+
k(o, t, a), h(t, n);
|
|
78
|
+
for (let c = 0; c < i.length; c += 1)
|
|
79
|
+
i[c] && i[c].m(n, null);
|
|
80
|
+
},
|
|
81
|
+
p(o, a) {
|
|
82
|
+
if (a & /*isMobile, mediaQuery*/
|
|
83
|
+
24) {
|
|
84
|
+
e = T({ length: 3 });
|
|
85
|
+
let c;
|
|
86
|
+
for (c = 0; c < e.length; c += 1) {
|
|
87
|
+
const d = z(o, e, c);
|
|
88
|
+
i[c] ? i[c].p(d, a) : (i[c] = I(d), i[c].c(), i[c].m(n, null));
|
|
89
|
+
}
|
|
90
|
+
for (; c < i.length; c += 1)
|
|
91
|
+
i[c].d(1);
|
|
92
|
+
i.length = e.length;
|
|
93
|
+
}
|
|
94
|
+
},
|
|
95
|
+
d(o) {
|
|
96
|
+
o && b(t), L(i, o);
|
|
97
|
+
}
|
|
98
|
+
};
|
|
99
|
+
}
|
|
100
|
+
function W(l) {
|
|
101
|
+
let t, n, e, i, o, a, c, d = (
|
|
102
|
+
/*notification*/
|
|
103
|
+
l[24].title + ""
|
|
104
|
+
), p, _, u, x = (
|
|
105
|
+
/*notification*/
|
|
106
|
+
l[24].description + ""
|
|
107
|
+
), A;
|
|
108
|
+
return {
|
|
109
|
+
c() {
|
|
110
|
+
t = g("div"), n = g("div"), e = g("img"), a = v(), c = g("p"), p = Y(d), _ = v(), u = g("p"), A = v(), s(e, "class", "PlayerAccountNotificationIcon"), s(e, "width", "24px"), s(e, "height", "24px"), B(e.src, i = /*notification*/
|
|
111
|
+
l[24].icon) || s(e, "src", i), s(e, "alt", o = /*notification*/
|
|
112
|
+
l[24].title), s(c, "class", "PlayerAccountNotificationTitle"), s(n, "class", "PlayerAccountNotificationBoxHeader"), s(u, "class", "PlayerAccountNotificationText"), s(t, "class", "PlayerAccountNotificationBox"), H(
|
|
113
|
+
t,
|
|
114
|
+
"background",
|
|
115
|
+
/*notification*/
|
|
116
|
+
l[24].backgroundColor
|
|
117
|
+
);
|
|
118
|
+
},
|
|
119
|
+
m(m, f) {
|
|
120
|
+
k(m, t, f), h(t, n), h(n, e), h(n, a), h(n, c), h(c, p), h(t, _), h(t, u), u.innerHTML = x, h(t, A);
|
|
121
|
+
},
|
|
122
|
+
p(m, f) {
|
|
123
|
+
f & /*notificationsData*/
|
|
124
|
+
2 && !B(e.src, i = /*notification*/
|
|
125
|
+
m[24].icon) && s(e, "src", i), f & /*notificationsData*/
|
|
126
|
+
2 && o !== (o = /*notification*/
|
|
127
|
+
m[24].title) && s(e, "alt", o), f & /*notificationsData*/
|
|
128
|
+
2 && d !== (d = /*notification*/
|
|
129
|
+
m[24].title + "") && K(p, d), f & /*notificationsData*/
|
|
130
|
+
2 && x !== (x = /*notification*/
|
|
131
|
+
m[24].description + "") && (u.innerHTML = x), f & /*notificationsData*/
|
|
132
|
+
2 && H(
|
|
133
|
+
t,
|
|
134
|
+
"background",
|
|
135
|
+
/*notification*/
|
|
136
|
+
m[24].backgroundColor
|
|
137
|
+
);
|
|
138
|
+
},
|
|
139
|
+
d(m) {
|
|
140
|
+
m && b(t);
|
|
141
|
+
}
|
|
142
|
+
};
|
|
143
|
+
}
|
|
144
|
+
function lt(l) {
|
|
145
|
+
let t;
|
|
146
|
+
return {
|
|
147
|
+
c() {
|
|
148
|
+
t = g("ui-skeleton"), N(t, "structure", "rectangle"), N(t, "width", "auto"), N(
|
|
149
|
+
t,
|
|
150
|
+
"height",
|
|
151
|
+
/*isMobile*/
|
|
152
|
+
l[3] && /*mediaQuery*/
|
|
153
|
+
l[4].matches ? "250px" : "400px"
|
|
154
|
+
);
|
|
155
|
+
},
|
|
156
|
+
m(n, e) {
|
|
157
|
+
k(n, t, e);
|
|
158
|
+
},
|
|
159
|
+
p: w,
|
|
160
|
+
d(n) {
|
|
161
|
+
n && b(t);
|
|
162
|
+
}
|
|
163
|
+
};
|
|
164
|
+
}
|
|
165
|
+
function at(l) {
|
|
166
|
+
let t;
|
|
167
|
+
return {
|
|
168
|
+
c() {
|
|
169
|
+
t = g("ui-skeleton"), t.innerHTML = "", N(t, "structure", "rectangle"), N(t, "width", "auto"), N(t, "height", "130px");
|
|
170
|
+
},
|
|
171
|
+
m(n, e) {
|
|
172
|
+
k(n, t, e);
|
|
173
|
+
},
|
|
174
|
+
p: w,
|
|
175
|
+
d(n) {
|
|
176
|
+
n && b(t);
|
|
177
|
+
}
|
|
178
|
+
};
|
|
179
|
+
}
|
|
180
|
+
function I(l) {
|
|
181
|
+
let t, n;
|
|
182
|
+
function e(a, c) {
|
|
183
|
+
return (
|
|
184
|
+
/*isMobile*/
|
|
185
|
+
a[3] ? lt : at
|
|
186
|
+
);
|
|
187
|
+
}
|
|
188
|
+
let o = e(l)(l);
|
|
189
|
+
return {
|
|
190
|
+
c() {
|
|
191
|
+
t = g("div"), o.c(), n = v(), s(t, "class", "skeletonNotification");
|
|
192
|
+
},
|
|
193
|
+
m(a, c) {
|
|
194
|
+
k(a, t, c), o.m(t, null), h(t, n);
|
|
195
|
+
},
|
|
196
|
+
p(a, c) {
|
|
197
|
+
o.p(a, c);
|
|
198
|
+
},
|
|
199
|
+
d(a) {
|
|
200
|
+
a && b(t), o.d();
|
|
201
|
+
}
|
|
202
|
+
};
|
|
203
|
+
}
|
|
204
|
+
function ct(l) {
|
|
205
|
+
let t;
|
|
206
|
+
function n(o, a) {
|
|
207
|
+
var c;
|
|
208
|
+
if (
|
|
209
|
+
/*skeletonLoading*/
|
|
210
|
+
o[2]
|
|
211
|
+
) return ot;
|
|
212
|
+
if (
|
|
213
|
+
/*notificationsData*/
|
|
214
|
+
(c = o[1]) != null && c.length
|
|
215
|
+
) return nt;
|
|
216
|
+
}
|
|
217
|
+
let e = n(l), i = e && e(l);
|
|
218
|
+
return {
|
|
219
|
+
c() {
|
|
220
|
+
t = g("div"), i && i.c();
|
|
221
|
+
},
|
|
222
|
+
m(o, a) {
|
|
223
|
+
k(o, t, a), i && i.m(t, null), l[13](t);
|
|
224
|
+
},
|
|
225
|
+
p(o, [a]) {
|
|
226
|
+
e === (e = n(o)) && i ? i.p(o, a) : (i && i.d(1), i = e && e(o), i && (i.c(), i.m(t, null)));
|
|
227
|
+
},
|
|
228
|
+
i: w,
|
|
229
|
+
o: w,
|
|
230
|
+
d(o) {
|
|
231
|
+
o && b(t), i && i.d(), l[13](null);
|
|
232
|
+
}
|
|
233
|
+
};
|
|
234
|
+
}
|
|
235
|
+
function rt(l, t, n) {
|
|
236
|
+
let { lang: e = "" } = t, { cmsendpoint: i = "" } = t, { env: o = "" } = t, { userroles: a = "" } = t, { customnotif: c = "" } = t, { clientstyling: d = "" } = t, { clientstylingurl: p = "" } = t, { mbsource: _ } = t, u, x = !0, A = window.navigator.userAgent, m = M(A) !== "PC", f = [], C = [], q = j();
|
|
237
|
+
const R = window.matchMedia("(min-width: 768px)");
|
|
238
|
+
function j() {
|
|
239
|
+
const r = M(A);
|
|
240
|
+
if (r)
|
|
241
|
+
return r === "PC" ? "dk" : "mtWeb";
|
|
242
|
+
}
|
|
243
|
+
const D = () => {
|
|
244
|
+
const r = new URL(`${i}/${e}/support-information`);
|
|
245
|
+
r.searchParams.append("env", o), r.searchParams.append("userRoles", a), r.searchParams.append("device", q), fetch(r.href).then((P) => P.json()).then((P) => {
|
|
246
|
+
P.length && (n(1, f = P[0].children), f == null || f.forEach((E) => {
|
|
247
|
+
C.length && (E.backgroundColor = C[0], C.shift());
|
|
248
|
+
}));
|
|
249
|
+
}).catch((P) => {
|
|
250
|
+
console.error(P);
|
|
251
|
+
}).finally(() => {
|
|
252
|
+
setTimeout(
|
|
253
|
+
() => {
|
|
254
|
+
n(2, x = !1);
|
|
255
|
+
},
|
|
256
|
+
1e3
|
|
257
|
+
);
|
|
258
|
+
});
|
|
259
|
+
}, F = () => {
|
|
260
|
+
c.replace(" ", ""), C = c.split(",");
|
|
261
|
+
};
|
|
262
|
+
G(() => () => {
|
|
263
|
+
});
|
|
264
|
+
function U(r) {
|
|
265
|
+
J[r ? "unshift" : "push"](() => {
|
|
266
|
+
u = r, n(0, u);
|
|
267
|
+
});
|
|
268
|
+
}
|
|
269
|
+
return l.$$set = (r) => {
|
|
270
|
+
"lang" in r && n(5, e = r.lang), "cmsendpoint" in r && n(6, i = r.cmsendpoint), "env" in r && n(7, o = r.env), "userroles" in r && n(8, a = r.userroles), "customnotif" in r && n(9, c = r.customnotif), "clientstyling" in r && n(10, d = r.clientstyling), "clientstylingurl" in r && n(11, p = r.clientstylingurl), "mbsource" in r && n(12, _ = r.mbsource);
|
|
271
|
+
}, l.$$.update = () => {
|
|
272
|
+
l.$$.dirty & /*customnotif*/
|
|
273
|
+
512 && c && F(), l.$$.dirty & /*notificationsData*/
|
|
274
|
+
2 && f && F(), l.$$.dirty & /*userroles, cmsendpoint, env, lang*/
|
|
275
|
+
480 && a && i && o && e && D(), l.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
276
|
+
1025 && d && u && Z(u, d), l.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
277
|
+
2049 && p && u && $(u, p), l.$$.dirty & /*mbsource, customStylingContainer*/
|
|
278
|
+
4097 && _ && u && tt(u, `${_}.Style`);
|
|
279
|
+
}, [
|
|
280
|
+
u,
|
|
281
|
+
f,
|
|
282
|
+
x,
|
|
283
|
+
m,
|
|
284
|
+
R,
|
|
285
|
+
e,
|
|
286
|
+
i,
|
|
287
|
+
o,
|
|
288
|
+
a,
|
|
289
|
+
c,
|
|
290
|
+
d,
|
|
291
|
+
p,
|
|
292
|
+
_,
|
|
293
|
+
U
|
|
294
|
+
];
|
|
295
|
+
}
|
|
296
|
+
class st extends O {
|
|
297
|
+
constructor(t) {
|
|
298
|
+
super(), Q(
|
|
299
|
+
this,
|
|
300
|
+
t,
|
|
301
|
+
rt,
|
|
302
|
+
ct,
|
|
303
|
+
V,
|
|
304
|
+
{
|
|
305
|
+
lang: 5,
|
|
306
|
+
cmsendpoint: 6,
|
|
307
|
+
env: 7,
|
|
308
|
+
userroles: 8,
|
|
309
|
+
customnotif: 9,
|
|
310
|
+
clientstyling: 10,
|
|
311
|
+
clientstylingurl: 11,
|
|
312
|
+
mbsource: 12
|
|
313
|
+
},
|
|
314
|
+
it
|
|
315
|
+
);
|
|
316
|
+
}
|
|
317
|
+
get lang() {
|
|
318
|
+
return this.$$.ctx[5];
|
|
319
|
+
}
|
|
320
|
+
set lang(t) {
|
|
321
|
+
this.$$set({ lang: t }), y();
|
|
322
|
+
}
|
|
323
|
+
get cmsendpoint() {
|
|
324
|
+
return this.$$.ctx[6];
|
|
325
|
+
}
|
|
326
|
+
set cmsendpoint(t) {
|
|
327
|
+
this.$$set({ cmsendpoint: t }), y();
|
|
328
|
+
}
|
|
329
|
+
get env() {
|
|
330
|
+
return this.$$.ctx[7];
|
|
331
|
+
}
|
|
332
|
+
set env(t) {
|
|
333
|
+
this.$$set({ env: t }), y();
|
|
334
|
+
}
|
|
335
|
+
get userroles() {
|
|
336
|
+
return this.$$.ctx[8];
|
|
337
|
+
}
|
|
338
|
+
set userroles(t) {
|
|
339
|
+
this.$$set({ userroles: t }), y();
|
|
340
|
+
}
|
|
341
|
+
get customnotif() {
|
|
342
|
+
return this.$$.ctx[9];
|
|
343
|
+
}
|
|
344
|
+
set customnotif(t) {
|
|
345
|
+
this.$$set({ customnotif: t }), y();
|
|
346
|
+
}
|
|
347
|
+
get clientstyling() {
|
|
348
|
+
return this.$$.ctx[10];
|
|
349
|
+
}
|
|
350
|
+
set clientstyling(t) {
|
|
351
|
+
this.$$set({ clientstyling: t }), y();
|
|
352
|
+
}
|
|
353
|
+
get clientstylingurl() {
|
|
354
|
+
return this.$$.ctx[11];
|
|
355
|
+
}
|
|
356
|
+
set clientstylingurl(t) {
|
|
357
|
+
this.$$set({ clientstylingurl: t }), y();
|
|
358
|
+
}
|
|
359
|
+
get mbsource() {
|
|
360
|
+
return this.$$.ctx[12];
|
|
361
|
+
}
|
|
362
|
+
set mbsource(t) {
|
|
363
|
+
this.$$set({ mbsource: t }), y();
|
|
364
|
+
}
|
|
365
|
+
}
|
|
366
|
+
et(st, { lang: {}, cmsendpoint: {}, env: {}, userroles: {}, customnotif: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {} }, [], [], !0);
|
|
367
|
+
export {
|
|
368
|
+
st as default
|
|
369
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./GeneralLogout-9pZTJKCj.cjs");require("../stencil/ui-skeleton-ITys8nIA.cjs");function S(a){t.append_styles(a,"svelte-1eyrk9m",'.PlayerAccountNotificationsContainer{padding:0 5px;animation-name:fadeIn;animation-iteration-count:1;animation-timing-function:ease-in;animation-duration:0.3s}.PlayerAccountNotificationBox{display:block;padding:20px;border-radius:5px;width:100%;background:var(--emw--color-gray-300, #58586B);color:var(--emw--color-white, #FFFFFF);box-sizing:border-box;text-decoration:none;word-break:break-all}.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}.PlayerAccountNotificationsTabletContainer{display:grid;grid-template-columns:repeat(2, minmax(0, 1fr));grid-gap:20px;padding:20px 40px}.PlayerAccountNotificationsTabletContainer .PlayerAccountNotificationBoxHeader{grid-template-columns:80px calc(100% - 80px)}.PlayerAccountNotificationsTabletContainer .PlayerAccountNotificationTitle{font-size:24px}.PlayerAccountNotificationsTabletContainer .PlayerAccountNotificationText{font-size:16px}.PlayerAccountNotificationsTabletContainer .PlayerAccountNotificationIcon{width:60px;margin-right:20px}.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 x(a,e,o){const n=a.slice();return n[24]=e[o],n}function P(a,e,o){const n=a.slice();return n[21]=e[o],n}function H(a){let e,o=t.ensure_array_like(a[1]),n=[];for(let i=0;i<o.length;i+=1)n[i]=N(x(a,o,i));return{c(){e=t.element("div");for(let i=0;i<n.length;i+=1)n[i].c();t.attr(e,"class","PlayerAccountNotificationsContainer "+(a[3]&&a[4].matches?"PlayerAccountNotificationsTabletContainer":a[3]?"PlayerAccountNotificationsMobileContainer":"")),t.attr(e,"part","PlayerAccountNotificationsContainer "+(a[3]&&a[4].matches?"PlayerAccountNotificationsTabletContainer":a[3]?"PlayerAccountNotificationsMobileContainer":""))},m(i,l){t.insert(i,e,l);for(let c=0;c<n.length;c+=1)n[c]&&n[c].m(e,null)},p(i,l){if(l&2){o=t.ensure_array_like(i[1]);let c;for(c=0;c<o.length;c+=1){const r=x(i,o,c);n[c]?n[c].p(r,l):(n[c]=N(r),n[c].c(),n[c].m(e,null))}for(;c<n.length;c+=1)n[c].d(1);n.length=o.length}},d(i){i&&t.detach(e),t.destroy_each(n,i)}}}function L(a){let e,o,n=t.ensure_array_like({length:3}),i=[];for(let l=0;l<n.length;l+=1)i[l]=A(P(a,n,l));return{c(){e=t.element("div"),o=t.element("div");for(let l=0;l<i.length;l+=1)i[l].c();t.attr(o,"class","skeletonWrapper"),t.attr(e,"class","skeletonContainer")},m(l,c){t.insert(l,e,c),t.append(e,o);for(let r=0;r<i.length;r+=1)i[r]&&i[r].m(o,null)},p(l,c){if(c&24){n=t.ensure_array_like({length:3});let r;for(r=0;r<n.length;r+=1){const d=P(l,n,r);i[r]?i[r].p(d,c):(i[r]=A(d),i[r].c(),i[r].m(o,null))}for(;r<i.length;r+=1)i[r].d(1);i.length=n.length}},d(l){l&&t.detach(e),t.destroy_each(i,l)}}}function N(a){let e,o,n,i,l,c,r,d=a[24].title+"",g,p,u,h=a[24].description+"",y;return{c(){e=t.element("div"),o=t.element("div"),n=t.element("img"),c=t.space(),r=t.element("p"),g=t.text(d),p=t.space(),u=t.element("p"),y=t.space(),t.attr(n,"class","PlayerAccountNotificationIcon"),t.attr(n,"width","24px"),t.attr(n,"height","24px"),t.src_url_equal(n.src,i=a[24].icon)||t.attr(n,"src",i),t.attr(n,"alt",l=a[24].title),t.attr(r,"class","PlayerAccountNotificationTitle"),t.attr(o,"class","PlayerAccountNotificationBoxHeader"),t.attr(u,"class","PlayerAccountNotificationText"),t.attr(e,"class","PlayerAccountNotificationBox"),t.set_style(e,"background",a[24].backgroundColor)},m(m,f){t.insert(m,e,f),t.append(e,o),t.append(o,n),t.append(o,c),t.append(o,r),t.append(r,g),t.append(e,p),t.append(e,u),u.innerHTML=h,t.append(e,y)},p(m,f){f&2&&!t.src_url_equal(n.src,i=m[24].icon)&&t.attr(n,"src",i),f&2&&l!==(l=m[24].title)&&t.attr(n,"alt",l),f&2&&d!==(d=m[24].title+"")&&t.set_data(g,d),f&2&&h!==(h=m[24].description+"")&&(u.innerHTML=h),f&2&&t.set_style(e,"background",m[24].backgroundColor)},d(m){m&&t.detach(e)}}}function W(a){let e;return{c(){e=t.element("ui-skeleton"),t.set_custom_element_data(e,"structure","rectangle"),t.set_custom_element_data(e,"width","auto"),t.set_custom_element_data(e,"height",a[3]&&a[4].matches?"250px":"400px")},m(o,n){t.insert(o,e,n)},p:t.noop,d(o){o&&t.detach(e)}}}function z(a){let e;return{c(){e=t.element("ui-skeleton"),e.innerHTML="",t.set_custom_element_data(e,"structure","rectangle"),t.set_custom_element_data(e,"width","auto"),t.set_custom_element_data(e,"height","130px")},m(o,n){t.insert(o,e,n)},p:t.noop,d(o){o&&t.detach(e)}}}function A(a){let e,o;function n(c,r){return c[3]?W:z}let l=n(a)(a);return{c(){e=t.element("div"),l.c(),o=t.space(),t.attr(e,"class","skeletonNotification")},m(c,r){t.insert(c,e,r),l.m(e,null),t.append(e,o)},p(c,r){l.p(c,r)},d(c){c&&t.detach(e),l.d()}}}function I(a){let e;function o(l,c){var r;if(l[2])return L;if((r=l[1])!=null&&r.length)return H}let n=o(a),i=n&&n(a);return{c(){e=t.element("div"),i&&i.c()},m(l,c){t.insert(l,e,c),i&&i.m(e,null),a[13](e)},p(l,[c]){n===(n=o(l))&&i?i.p(l,c):(i&&i.d(1),i=n&&n(l),i&&(i.c(),i.m(e,null)))},i:t.noop,o:t.noop,d(l){l&&t.detach(e),i&&i.d(),a[13](null)}}}function q(a,e,o){let{lang:n=""}=e,{cmsendpoint:i=""}=e,{env:l=""}=e,{userroles:c=""}=e,{customnotif:r=""}=e,{clientstyling:d=""}=e,{clientstylingurl:g=""}=e,{mbsource:p}=e,u,h=!0,y=window.navigator.userAgent,m=t.getDevice(y)!=="PC",f=[],b=[],C=T();const w=window.matchMedia("(min-width: 768px)");function T(){const s=t.getDevice(y);if(s)return s==="PC"?"dk":"mtWeb"}const M=()=>{const s=new URL(`${i}/${n}/support-information`);s.searchParams.append("env",l),s.searchParams.append("userRoles",c),s.searchParams.append("device",C),fetch(s.href).then(_=>_.json()).then(_=>{_.length&&(o(1,f=_[0].children),f==null||f.forEach(B=>{b.length&&(B.backgroundColor=b[0],b.shift())}))}).catch(_=>{console.error(_)}).finally(()=>{setTimeout(()=>{o(2,h=!1)},1e3)})},k=()=>{r.replace(" ",""),b=r.split(",")};t.onMount(()=>()=>{});function F(s){t.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,c=s.userroles),"customnotif"in s&&o(9,r=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&&r&&k(),a.$$.dirty&2&&f&&k(),a.$$.dirty&480&&c&&i&&l&&n&&M(),a.$$.dirty&1025&&d&&u&&t.setClientStyling(u,d),a.$$.dirty&2049&&g&&u&&t.setClientStylingURL(u,g),a.$$.dirty&4097&&p&&u&&t.setStreamStyling(u,`${p}.Style`)},[u,f,h,m,w,n,i,l,c,r,d,g,p,F]}class v extends t.SvelteComponent{constructor(e){super(),t.init(this,e,q,I,t.safe_not_equal,{lang:5,cmsendpoint:6,env:7,userroles:8,customnotif:9,clientstyling:10,clientstylingurl:11,mbsource:12},S)}get lang(){return this.$$.ctx[5]}set lang(e){this.$$set({lang:e}),t.flush()}get cmsendpoint(){return this.$$.ctx[6]}set cmsendpoint(e){this.$$set({cmsendpoint:e}),t.flush()}get env(){return this.$$.ctx[7]}set env(e){this.$$set({env:e}),t.flush()}get userroles(){return this.$$.ctx[8]}set userroles(e){this.$$set({userroles:e}),t.flush()}get customnotif(){return this.$$.ctx[9]}set customnotif(e){this.$$set({customnotif:e}),t.flush()}get clientstyling(){return this.$$.ctx[10]}set clientstyling(e){this.$$set({clientstyling:e}),t.flush()}get clientstylingurl(){return this.$$.ctx[11]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),t.flush()}get mbsource(){return this.$$.ctx[12]}set mbsource(e){this.$$set({mbsource:e}),t.flush()}}t.create_custom_element(v,{lang:{},cmsendpoint:{},env:{},userroles:{},customnotif:{},clientstyling:{},clientstylingurl:{},mbsource:{}},[],[],!0);exports.default=v;
|