@everymatrix/player-account-controller-nd 1.94.3 → 1.94.5
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-C_o4FTJ6.js → GeneralLogout-B_oHmYh4.js} +55 -55
- package/components/{GeneralLogout-CovAiBUv.cjs → GeneralLogout-By0jGplh.cjs} +1 -1
- package/components/{GeneralLogout-DIIWkm0c.js → GeneralLogout-CA6L6JU_.js} +73 -73
- package/components/{PlayerAccountBettingHistory-Cq2heOy7.cjs → PlayerAccountBettingHistory-B9tthnmu.cjs} +1 -1
- package/components/{PlayerAccountBettingHistory-DDS88uJl.js → PlayerAccountBettingHistory-BdEaP5Lq.js} +22 -22
- package/components/{PlayerAccountBettingHistory-C4zBOaLF.js → PlayerAccountBettingHistory-PBZ7IqB0.js} +22 -22
- package/components/{PlayerAccountBiometrics-DIDeBbCM.cjs → PlayerAccountBiometrics-BoDOvs-w.cjs} +1 -1
- package/components/{PlayerAccountBiometrics-CUI3O5Rx.js → PlayerAccountBiometrics-RXBExHvy.js} +39 -39
- package/components/{PlayerAccountBiometrics-BEvdvsOc.js → PlayerAccountBiometrics-neqVZlIp.js} +40 -40
- package/components/{PlayerAccountBiometricsAction-CsgVJ272.js → PlayerAccountBiometricsAction-BMo5EiYi.js} +28 -28
- package/components/{PlayerAccountBiometricsAction-uqaPNPLN.js → PlayerAccountBiometricsAction-BnJeDZdF.js} +29 -29
- package/components/{PlayerAccountBiometricsAction-DLuUkSoG.cjs → PlayerAccountBiometricsAction-C1GThuu5.cjs} +1 -1
- package/components/{PlayerAccountClosureNd-B5wFdz4g.cjs → PlayerAccountClosureNd-BgZ_v4Eo.cjs} +1 -1
- package/components/{PlayerAccountClosureNd-B54xLJd6.js → PlayerAccountClosureNd-Ci0THGYd.js} +23 -23
- package/components/{PlayerAccountClosureNd-B53LjpzT.js → PlayerAccountClosureNd-DRht9loO.js} +23 -23
- package/components/{PlayerAccountControllerNd-Cq5AJWZR.cjs → PlayerAccountControllerNd-Bmnpf-ZS.cjs} +1 -1
- package/components/{PlayerAccountControllerNd--P_o91VS.js → PlayerAccountControllerNd-CLHhFHHS.js} +90 -90
- package/components/{PlayerAccountControllerNd-BwYM-0sl.js → PlayerAccountControllerNd-ZJHALXP_.js} +89 -89
- package/components/{PlayerAccountGamingLimits-NFRPY0EL.js → PlayerAccountGamingLimits-6S-UraIW.js} +26 -26
- package/components/{PlayerAccountGamingLimits-Bod1ixZe.js → PlayerAccountGamingLimits-DKRT7wLz.js} +27 -27
- package/components/{PlayerAccountGamingLimits-BDc6XR40.cjs → PlayerAccountGamingLimits-DbeT9PXA.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsConfirmationModal-CQIKrCKk.js → PlayerAccountGamingLimitsConfirmationModal-8Ep_ScQb.js} +36 -36
- package/components/{PlayerAccountGamingLimitsConfirmationModal-BSHYs262.js → PlayerAccountGamingLimitsConfirmationModal-Bi5mBKvY.js} +43 -43
- package/components/{PlayerAccountGamingLimitsConfirmationModal-B6GxFvsp.cjs → PlayerAccountGamingLimitsConfirmationModal-D6mmAYkV.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsGroupEdit-DGAHwj4-.js → PlayerAccountGamingLimitsGroupEdit-B99Xiq7i.js} +5 -5
- package/components/{PlayerAccountGamingLimitsGroupEdit-C9ew_YDh.js → PlayerAccountGamingLimitsGroupEdit-DMCcv8oY.js} +37 -37
- package/components/{PlayerAccountGamingLimitsGroupEdit-C4RsegHd.cjs → PlayerAccountGamingLimitsGroupEdit-DturM-fd.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsHistory2Nd-Bbdi_V_A.cjs → PlayerAccountGamingLimitsHistory2Nd-CnlOZzzD.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsHistory2Nd-CJSGjBw7.js → PlayerAccountGamingLimitsHistory2Nd-DeUiTkLk.js} +18 -18
- package/components/{PlayerAccountGamingLimitsHistory2Nd-Lwd3Rav1.js → PlayerAccountGamingLimitsHistory2Nd-qz9Yi493.js} +30 -30
- package/components/{PlayerAccountGamingLimitsInfoCard-Bnx7Xy7f.js → PlayerAccountGamingLimitsInfoCard-B9_S5Czr.js} +21 -21
- package/components/{PlayerAccountGamingLimitsInfoCard-B40mV_1K.cjs → PlayerAccountGamingLimitsInfoCard-Cji5Rkte.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsInfoCard-rrkg8Zbl.js → PlayerAccountGamingLimitsInfoCard-OyF7_-pT.js} +21 -21
- package/components/{PlayerAccountGamingLimitsPage2Gm16Nd-Bfa92vPd.js → PlayerAccountGamingLimitsPage2Gm16Nd-C0bPJhY_.js} +256 -256
- package/components/{PlayerAccountGamingLimitsPage2Gm16Nd-CZusEbF1.cjs → PlayerAccountGamingLimitsPage2Gm16Nd-CR3ZSUyU.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsPage2Gm16Nd-DuG3AfMX.js → PlayerAccountGamingLimitsPage2Gm16Nd-DU1dF05I.js} +189 -189
- package/components/{PlayerAccountGamingLimitsPopup-CaJimIr0.cjs → PlayerAccountGamingLimitsPopup-B5QLCpAl.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsPopup-Bsf5mDBO.js → PlayerAccountGamingLimitsPopup-BHIXcQ_e.js} +15 -15
- package/components/{PlayerAccountGamingLimitsPopup-W_aE59X9.js → PlayerAccountGamingLimitsPopup-CCfh3p1b.js} +17 -17
- package/components/{PlayerAccountGamingLimitsWrapper2Nd-z631FwjD.cjs → PlayerAccountGamingLimitsWrapper2Nd-CLHLzpBn.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsWrapper2Nd-DjVRYj4k.js → PlayerAccountGamingLimitsWrapper2Nd-DdtYVD5c.js} +20 -20
- package/components/{PlayerAccountGamingLimitsWrapper2Nd-DelvL5q9.js → PlayerAccountGamingLimitsWrapper2Nd-Df-C2V_N.js} +20 -20
- package/components/{PlayerAccountGeneralConfirmationModal-CoU1hS9S.cjs → PlayerAccountGeneralConfirmationModal-BqgHKnz0.cjs} +1 -1
- package/components/{PlayerAccountGeneralConfirmationModal-w9X8QhXH.js → PlayerAccountGeneralConfirmationModal-CKyAa6Vz.js} +43 -43
- package/components/{PlayerAccountGeneralConfirmationModal-CjzKJvWc.js → PlayerAccountGeneralConfirmationModal-DVaSW8xt.js} +46 -46
- package/components/{PlayerAccountMenuNd-CjrFNvD3.js → PlayerAccountMenuNd-B7fKi76e.js} +101 -101
- package/components/{PlayerAccountMenuNd-CxoOPGr9.js → PlayerAccountMenuNd-BA7AWaWo.js} +101 -101
- package/components/{PlayerAccountMenuNd-DKVXRHjI.cjs → PlayerAccountMenuNd-CGtSaWNK.cjs} +1 -1
- package/components/{PlayerAccountModal-CdZY_WTn.cjs → PlayerAccountModal-DuYBiHRO.cjs} +1 -1
- package/components/{PlayerAccountModal-Dx3x43-A.js → PlayerAccountModal-bA_Pnie2.js} +27 -27
- package/components/{PlayerAccountModal-BVTRSK93.js → PlayerAccountModal-gNuTucjO.js} +57 -57
- package/components/{PlayerAccountNotifications-DDEYUmDy.js → PlayerAccountNotifications-BBl8FAA8.js} +55 -55
- package/components/PlayerAccountNotifications-CIyWN7kR.js +364 -0
- package/components/{PlayerAccountNotifications-C4YpVwoM.cjs → PlayerAccountNotifications-cwyC1ZlS.cjs} +1 -1
- package/components/{PlayerAccountProductRestriction-LoWtR-kD.js → PlayerAccountProductRestriction-Bz7HvjCg.js} +44 -44
- package/components/{PlayerAccountProductRestriction-Cn9jHGTC.js → PlayerAccountProductRestriction-Celr3r6S.js} +52 -52
- package/components/{PlayerAccountProductRestriction-D_M7gejX.cjs → PlayerAccountProductRestriction-DN4fyx06.cjs} +1 -1
- package/components/{PlayerAccountReviewFrequency-CPWv2Q1b.js → PlayerAccountReviewFrequency-CXH1ZyUb.js} +20 -20
- package/components/{PlayerAccountReviewFrequency-TtLV5U7u.cjs → PlayerAccountReviewFrequency-CunvHdaf.cjs} +1 -1
- package/components/{PlayerAccountReviewFrequency-B6zlPQOj.js → PlayerAccountReviewFrequency-Z0GcRmES.js} +23 -23
- package/components/{PlayerAccountSelfExclusionNd-oosDx6H7.cjs → PlayerAccountSelfExclusionNd-BarV212y.cjs} +1 -1
- package/components/{PlayerAccountSelfExclusionNd-BqSCxAq3.js → PlayerAccountSelfExclusionNd-CO8xXaX5.js} +87 -87
- package/components/{PlayerAccountSelfExclusionNd-BXDr8Cyz.js → PlayerAccountSelfExclusionNd-Cf2RUwcS.js} +87 -87
- package/components/{PlayerAccountTimeout-BwiaytwZ.cjs → PlayerAccountTimeout-BDy5WEVr.cjs} +2 -2
- package/components/{PlayerAccountTimeout-DV7yinAV.js → PlayerAccountTimeout-Bgf28EZ7.js} +4 -4
- package/components/{PlayerAccountTimeout-CfaFtIS2.js → PlayerAccountTimeout-Cl3cAOsa.js} +4 -4
- package/components/{PlayerAccountTransactionsHistory-Ct9uvPY7.js → PlayerAccountTransactionsHistory-BSxY4Asv.js} +58 -58
- package/components/{PlayerAccountTransactionsHistory-CHSNwMt3.js → PlayerAccountTransactionsHistory-BqrIRL1b.js} +60 -60
- package/components/{PlayerAccountTransactionsHistory-ghZFsiCv.cjs → PlayerAccountTransactionsHistory-ClSqMlQg.cjs} +1 -1
- package/components/{PlayerActiveBonuses-v_-Gz05W.js → PlayerActiveBonuses-BHnp9kTA.js} +186 -186
- package/components/{PlayerActiveBonuses-IyYRwqye.cjs → PlayerActiveBonuses-DxpFre6L.cjs} +1 -1
- package/components/{PlayerActiveBonuses-zsa270KJ.js → PlayerActiveBonuses-E3Defd-5.js} +140 -140
- package/components/{PlayerBonusCard-CQ5_TCG9.js → PlayerBonusCard-1vnzpDLY.js} +37 -37
- package/components/{PlayerBonusCard-BKxAQSEy.js → PlayerBonusCard-D9E5aSMA.js} +37 -37
- package/components/{PlayerBonusCard-DphPYZ7B.cjs → PlayerBonusCard-DWUPHuf8.cjs} +1 -1
- package/components/{PlayerBonusHistory-Cdaoho2z.cjs → PlayerBonusHistory-BtiKMku3.cjs} +2 -2
- package/components/{PlayerBonusHistory-BajZARjK.js → PlayerBonusHistory-ChHWbVFn.js} +3 -3
- package/components/{PlayerBonusHistory-PLEiBRrm.js → PlayerBonusHistory-Dkg81s1P.js} +3 -3
- package/components/{PlayerChangePasswordNd-2rCC7hFr.cjs → PlayerChangePasswordNd-C-qjbjPm.cjs} +1 -1
- package/components/{PlayerChangePasswordNd-B7zdDLF0.js → PlayerChangePasswordNd-CW7Ah2Gp.js} +74 -74
- package/components/{PlayerChangePasswordNd-D8FOp1ED.js → PlayerChangePasswordNd-qmNCQMSD.js} +84 -84
- package/components/{PlayerDeposit-CXQFwqAx.js → PlayerDeposit-C-fdulzh.js} +25 -25
- package/components/{PlayerDeposit-C6mD0Xvl.cjs → PlayerDeposit-C0BNDUSp.cjs} +1 -1
- package/components/{PlayerDeposit-Dwz7k0hX.js → PlayerDeposit-Gso-PNvF.js} +29 -29
- package/components/{PlayerGamingHistory-rhw0SioA.js → PlayerGamingHistory-BZmSDcOW.js} +88 -88
- package/components/{PlayerGamingHistory-DVwneZzR.cjs → PlayerGamingHistory-Z0EzeAgb.cjs} +1 -1
- package/components/{PlayerGamingHistory-DoM-7jKs.js → PlayerGamingHistory-nWMAHvTk.js} +79 -79
- package/components/{PlayerPendingWithdrawals-BoxTsMx4.js → PlayerPendingWithdrawals-BRsZwcLa.js} +32 -32
- package/components/{PlayerPendingWithdrawals-DJ1VcV4I.cjs → PlayerPendingWithdrawals-DrXv0AOP.cjs} +1 -1
- package/components/{PlayerPendingWithdrawals-Dw4I-eEs.js → PlayerPendingWithdrawals-FkhlUXR5.js} +35 -35
- package/components/{PlayerProfileInfo-aTi5kkZG.js → PlayerProfileInfo-B8qqMd8A.js} +413 -413
- package/components/{PlayerProfileInfo-DG8rKPI8.js → PlayerProfileInfo-CNhAWE5m.js} +410 -410
- package/components/{PlayerProfileInfo-hvY0-94f.cjs → PlayerProfileInfo-OHGe3Eq3.cjs} +1 -1
- package/components/{PlayerRealityCheck-DWE3MKIP.js → PlayerRealityCheck-B6bETRS7.js} +64 -64
- package/components/{PlayerRealityCheck-Czkhptlr.js → PlayerRealityCheck-BvSUzq2V.js} +80 -80
- package/components/{PlayerRealityCheck-CSdQ3QR9.cjs → PlayerRealityCheck-DcmM9vR4.cjs} +1 -1
- package/components/{PlayerTransactionHistory-Bzpj3qTn.js → PlayerTransactionHistory-CEx7n4ic.js} +47 -47
- package/components/{PlayerTransactionHistory-BCLffGEv.cjs → PlayerTransactionHistory-U3bg0SmS.cjs} +1 -1
- package/components/{PlayerTransactionHistory-j7y6EuQi.js → PlayerTransactionHistory-bcab1JST.js} +25 -25
- package/components/{PlayerWithdrawal-DuUdg27P.js → PlayerWithdrawal-DXjcFrk5.js} +29 -29
- package/components/{PlayerWithdrawal-Nr5pKe9G.js → PlayerWithdrawal-DktSB9y7.js} +29 -29
- package/components/{PlayerWithdrawal-BmWPn70K.cjs → PlayerWithdrawal-yFAZub1g.cjs} +1 -1
- package/components/{QrSessionGenerator-B-n3E872.js → QrSessionGenerator-BY-eRsb-.js} +74 -74
- package/components/{QrSessionGenerator-CGhJ351-.js → QrSessionGenerator-DGYRYq4D.js} +91 -91
- package/components/{QrSessionGenerator-lytM_wDr.cjs → QrSessionGenerator-jaQshTrp.cjs} +1 -1
- 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/lazy/{general-logout-81SMG790.js → general-logout-B6EdTuj8.js} +1 -1
- package/lazy/{general-logout-DqTXKPHe.js → general-logout-CBTW-bjs.js} +1 -1
- package/lazy/{general-logout-DDqkUTyV.cjs → general-logout-CrOc2_8P.cjs} +1 -1
- package/lazy/{pam-change-password-Dj2xuuK4.cjs → pam-change-password-B34F-w60.cjs} +1 -1
- package/lazy/{pam-change-password-xFIA2xlR.js → pam-change-password-CEXaaHXX.js} +1 -1
- package/lazy/{pam-change-password-D7e6x-yE.js → pam-change-password-CVEWDxri.js} +1 -1
- package/lazy/{player-account-betting-history-DBojLVyd.js → player-account-betting-history-BzvSRt1p.js} +1 -1
- package/lazy/{player-account-betting-history-D4BmRnRG.cjs → player-account-betting-history-DJZgfYIt.cjs} +1 -1
- package/lazy/{player-account-betting-history-wW26xrQy.js → player-account-betting-history-eXVQPHDE.js} +1 -1
- package/lazy/{player-account-biometrics-DePd6ew1.js → player-account-biometrics-Bc7bINjD.js} +1 -1
- package/lazy/{player-account-biometrics-FfZG4XqV.cjs → player-account-biometrics-CnbZPaEt.cjs} +1 -1
- package/lazy/{player-account-biometrics-DE2rXXON.js → player-account-biometrics-DMUYDRp2.js} +1 -1
- package/lazy/{player-account-biometrics-action-D_H4AlGx.js → player-account-biometrics-action-BP237LB1.js} +1 -1
- package/lazy/{player-account-biometrics-action-DkBLTjax.cjs → player-account-biometrics-action-BsHGrBKa.cjs} +1 -1
- package/lazy/{player-account-biometrics-action-CIQLmDB-.js → player-account-biometrics-action-zjy-abYH.js} +1 -1
- package/lazy/{player-account-closure-nd-CjLXabT_.js → player-account-closure-nd-BBOM86hW.js} +1 -1
- package/lazy/{player-account-closure-nd-j7bnGw5g.cjs → player-account-closure-nd-EXSjzPdI.cjs} +1 -1
- package/lazy/{player-account-closure-nd-fXg_WtN0.js → player-account-closure-nd-vKU_QD22.js} +1 -1
- package/lazy/{player-account-gaming-limits-B2ypErtS.js → player-account-gaming-limits-BM4486Xr.js} +1 -1
- package/lazy/{player-account-gaming-limits-C__OOJp8.js → player-account-gaming-limits-Q40UufYQ.js} +1 -1
- package/lazy/{player-account-gaming-limits-confirmation-modal-l1uRfDp-.js → player-account-gaming-limits-confirmation-modal-B4FMdkf6.js} +1 -1
- package/lazy/{player-account-gaming-limits-confirmation-modal-BfZvKz5Y.cjs → player-account-gaming-limits-confirmation-modal-B4lfAPTK.cjs} +1 -1
- package/lazy/{player-account-gaming-limits-confirmation-modal-D5Nq8Q1t.js → player-account-gaming-limits-confirmation-modal-XZHhnq42.js} +1 -1
- package/lazy/{player-account-gaming-limits-group-edit-DFzD5Dfp.js → player-account-gaming-limits-group-edit-B9GhLTYW.js} +1 -1
- package/lazy/{player-account-gaming-limits-group-edit-C-q4e_68.cjs → player-account-gaming-limits-group-edit-BumEvfTI.cjs} +1 -1
- package/lazy/{player-account-gaming-limits-group-edit-CVAb8C6p.js → player-account-gaming-limits-group-edit-C6Q5F65T.js} +1 -1
- package/lazy/{player-account-gaming-limits-history-2-nd-Cnx84LtI.js → player-account-gaming-limits-history-2-nd-CFfo8Qqa.js} +1 -1
- package/lazy/{player-account-gaming-limits-history-2-nd-yZs8DuB7.cjs → player-account-gaming-limits-history-2-nd-I8D4N_Yr.cjs} +1 -1
- package/lazy/{player-account-gaming-limits-history-2-nd-np-suI_f.js → player-account-gaming-limits-history-2-nd-vcNVV3ra.js} +1 -1
- package/lazy/{player-account-gaming-limits-info-card-1O1XQSSs.js → player-account-gaming-limits-info-card-BujjDtNW.js} +1 -1
- package/lazy/{player-account-gaming-limits-info-card-CKxjU63P.js → player-account-gaming-limits-info-card-BzO2Tmab.js} +1 -1
- package/lazy/{player-account-gaming-limits-info-card-CFRWGP9J.cjs → player-account-gaming-limits-info-card-Ct87t29f.cjs} +1 -1
- package/lazy/{player-account-gaming-limits-page-2-gm16-nd-CVI3iYfc.js → player-account-gaming-limits-page-2-gm16-nd-BKosY1L9.js} +1 -1
- package/lazy/{player-account-gaming-limits-page-2-gm16-nd-DIVUSUxM.cjs → player-account-gaming-limits-page-2-gm16-nd-CtshcIbS.cjs} +1 -1
- package/lazy/{player-account-gaming-limits-page-2-gm16-nd-Yul4hzxY.js → player-account-gaming-limits-page-2-gm16-nd-DYdj4isn.js} +1 -1
- package/lazy/{player-account-gaming-limits-popup-DvAKa13B.js → player-account-gaming-limits-popup-ByUfHU53.js} +1 -1
- package/lazy/{player-account-gaming-limits-popup-CwZv7Twn.js → player-account-gaming-limits-popup-CCwG1ZEx.js} +1 -1
- package/lazy/{player-account-gaming-limits-popup-D2wmcE2m.cjs → player-account-gaming-limits-popup-DbdWTf1z.cjs} +1 -1
- package/lazy/{player-account-gaming-limits-wrapper-2-nd-DhDxzp5T.cjs → player-account-gaming-limits-wrapper-2-nd-7ryNwcd6.cjs} +1 -1
- package/lazy/{player-account-gaming-limits-wrapper-2-nd-Bw6C3jG4.js → player-account-gaming-limits-wrapper-2-nd-Cw885ARr.js} +1 -1
- package/lazy/{player-account-gaming-limits-wrapper-2-nd-BDaF7xfo.js → player-account-gaming-limits-wrapper-2-nd-DrjxIYOL.js} +1 -1
- package/lazy/{player-account-gaming-limits-BJZS9xGT.cjs → player-account-gaming-limits-xno4kXjv.cjs} +1 -1
- package/lazy/{player-account-general-confirmation-modal-D-JHSelA.js → player-account-general-confirmation-modal-BzPXE2K7.js} +1 -1
- package/lazy/{player-account-general-confirmation-modal-0bbY1JFP.cjs → player-account-general-confirmation-modal-CZm5uie4.cjs} +1 -1
- package/lazy/{player-account-general-confirmation-modal-Ch3Hjho8.js → player-account-general-confirmation-modal-CvsLjasF.js} +1 -1
- package/lazy/{player-account-menu-nd-BwhFJu1h.js → player-account-menu-nd-BRmuU51S.js} +1 -1
- package/lazy/{player-account-menu-nd-CHW4QqOj.cjs → player-account-menu-nd-CYQyacWI.cjs} +1 -1
- package/lazy/{player-account-menu-nd-CguQUkVZ.js → player-account-menu-nd-Y0qDlwig.js} +1 -1
- package/lazy/{player-account-modal-CJGiIvtl.cjs → player-account-modal-B-5DYIjN.cjs} +1 -1
- package/lazy/{player-account-modal-BS3KLeWi.js → player-account-modal-BD-nGYxI.js} +1 -1
- package/lazy/{player-account-modal-DKeSS9Sz.js → player-account-modal-rAKlGTzF.js} +1 -1
- package/lazy/{player-account-notifications-CC-FafEU.js → player-account-notifications-BP1SVTlq.js} +1 -1
- package/lazy/{player-account-notifications-DeiqPY1B.cjs → player-account-notifications-CgMt_V5j.cjs} +1 -1
- package/lazy/{player-account-notifications-BjnCQJwN.js → player-account-notifications-wSH1dJvX.js} +1 -1
- package/lazy/{player-account-product-restriction-OZy-OB3b.js → player-account-product-restriction-C1XQE4Wx.js} +1 -1
- package/lazy/{player-account-product-restriction-RP6xjCjO.js → player-account-product-restriction-C9LPuT_t.js} +1 -1
- package/lazy/{player-account-product-restriction-3imnxP6m.cjs → player-account-product-restriction-uzluTc8f.cjs} +1 -1
- package/lazy/{player-account-review-frequency-CbL2hQpW.js → player-account-review-frequency-BPoLpwEw.js} +1 -1
- package/lazy/{player-account-review-frequency-CQNJgcqi.js → player-account-review-frequency-CqWuK1fL.js} +1 -1
- package/lazy/{player-account-review-frequency-CwwEPooq.cjs → player-account-review-frequency-VzBhuBM2.cjs} +1 -1
- package/lazy/{player-account-self-exclusion-nd-B1K0XHUn.js → player-account-self-exclusion-nd-BMHEhXXs.js} +1 -1
- package/lazy/{player-account-self-exclusion-nd-DyNgt_dd.js → player-account-self-exclusion-nd-IDhxtwRU.js} +1 -1
- package/lazy/{player-account-self-exclusion-nd-l1l6Nb1T.cjs → player-account-self-exclusion-nd-Jr6BZVO-.cjs} +1 -1
- package/lazy/{player-account-timeout-Cv0bpiuJ.js → player-account-timeout-B2xmDl8p.js} +1 -1
- package/lazy/{player-account-timeout-O5Ui7rdJ.js → player-account-timeout-CAU8P8da.js} +1 -1
- package/lazy/{player-account-timeout-D9B7p9qj.cjs → player-account-timeout-CS4uDuyz.cjs} +1 -1
- package/lazy/{player-account-transactions-history-ClITx_Ar.cjs → player-account-transactions-history-D4_VTZuM.cjs} +1 -1
- package/lazy/{player-account-transactions-history-BaojebBH.js → player-account-transactions-history-DV0wz7gR.js} +1 -1
- package/lazy/{player-account-transactions-history-UI06VOro.js → player-account-transactions-history-kEz-b3O-.js} +1 -1
- package/lazy/{player-active-bonuses-qAyXwxer.js → player-active-bonuses-Cqyj643H.js} +1 -1
- package/lazy/{player-active-bonuses-BAmmQ_1g.cjs → player-active-bonuses-D6GbwVka.cjs} +1 -1
- package/lazy/{player-active-bonuses-DM74qG2t.js → player-active-bonuses-DzrTJtRc.js} +1 -1
- package/lazy/{player-bonus-card-C-_r_s8H.js → player-bonus-card-B5PXKHZg.js} +1 -1
- package/lazy/{player-bonus-card-ytPgGtdW.cjs → player-bonus-card-DRcLcWxO.cjs} +1 -1
- package/lazy/{player-bonus-card-foawI6VS.js → player-bonus-card-DmNrVdgo.js} +1 -1
- package/lazy/{player-bonus-history-Cn11L0SC.js → player-bonus-history-BPgtQzUY.js} +1 -1
- package/lazy/{player-bonus-history-CiDgQmZP.cjs → player-bonus-history-C3q-qb37.cjs} +1 -1
- package/lazy/{player-bonus-history-Dc3p_GWn.js → player-bonus-history-NVByYW8v.js} +1 -1
- package/lazy/{player-change-password-nd-SIqsCCIC.js → player-change-password-nd-DZCAoqT4.js} +1 -1
- package/lazy/{player-change-password-nd-CEU0vaJ2.js → player-change-password-nd-DbUvNpbe.js} +1 -1
- package/lazy/{player-change-password-nd-CsbXYT3g.cjs → player-change-password-nd-DcHlp70z.cjs} +1 -1
- package/lazy/{player-deposit-CIkwZ0Oh.js → player-deposit-CEIoL7Kj.js} +1 -1
- package/lazy/{player-deposit-e4mU2IUG.cjs → player-deposit-CpHlSC9B.cjs} +1 -1
- package/lazy/{player-deposit-CiMZVR2u.js → player-deposit-Db60ej4f.js} +1 -1
- package/lazy/{player-gaming-history-guoofIuJ.js → player-gaming-history-9imda4lI.js} +1 -1
- package/lazy/{player-gaming-history-DEHn8M_t.cjs → player-gaming-history-B-pUJVi3.cjs} +1 -1
- package/lazy/{player-gaming-history-CZyRVTvy.js → player-gaming-history-CSYXmDYL.js} +1 -1
- package/lazy/{player-kyc-verification-c6j7OKfW.js → player-kyc-verification-BI2E9kuy.js} +1 -1
- package/lazy/{player-kyc-verification-dgrj93to.cjs → player-kyc-verification-CKOlNkD7.cjs} +1 -1
- package/lazy/{player-kyc-verification-Cf8e8-1J.js → player-kyc-verification-DTjzHjn1.js} +1 -1
- package/lazy/{player-pending-withdrawals-BmcsUeSM.cjs → player-pending-withdrawals-Cao6UCX_.cjs} +1 -1
- package/lazy/{player-pending-withdrawals-CEUdYkdd.js → player-pending-withdrawals-D6x496zZ.js} +1 -1
- package/lazy/{player-pending-withdrawals-01fLGiWX.js → player-pending-withdrawals-DfWDr6_q.js} +1 -1
- package/lazy/{player-profile-info-BFWQN-9Y.js → player-profile-info-C2PJxjXO.js} +1 -1
- package/lazy/{player-profile-info-CHIU_Nwg.js → player-profile-info-DJ6X2Lts.js} +1 -1
- package/lazy/{player-profile-info-BqmFtlJo.cjs → player-profile-info-DveZhdLw.cjs} +1 -1
- package/lazy/{player-reality-check-C7FIGGE4.js → player-reality-check-B3dBPJYP.js} +1 -1
- package/lazy/{player-reality-check-wBwF6JUz.js → player-reality-check-Cx7yvMc8.js} +1 -1
- package/lazy/{player-reality-check-CQDx-8tm.cjs → player-reality-check-DAttV65M.cjs} +1 -1
- package/lazy/{player-transaction-history-BdagMM62.js → player-transaction-history-BIRF5GGm.js} +1 -1
- package/lazy/{player-transaction-history-Cp5c4eTx.cjs → player-transaction-history-C0RCVDPX.cjs} +1 -1
- package/lazy/{player-transaction-history-6UNlNtrZ.js → player-transaction-history-l8_4tyzp.js} +1 -1
- package/lazy/{player-withdrawal-BL74JSRI.cjs → player-withdrawal-CC0Q1LpH.cjs} +1 -1
- package/lazy/{player-withdrawal-CwqpU6jx.js → player-withdrawal-DNgu8hDQ.js} +1 -1
- package/lazy/{player-withdrawal-DAsTdBAv.js → player-withdrawal-P89B3El5.js} +1 -1
- package/lazy/{qr-session-generator-CphoUPH4.js → qr-session-generator-8_-PvxiD.js} +1 -1
- package/lazy/{qr-session-generator-u0RMKkhg.js → qr-session-generator-BB6rNCXw.js} +1 -1
- package/lazy/{qr-session-generator-Clh_lBOB.cjs → qr-session-generator-D6GvF9cG.cjs} +1 -1
- package/lazy/{user-transaction-history-HY0KaITv.js → user-transaction-history-BWLfBOU_.js} +1 -1
- package/lazy/{user-transaction-history-B0AzGCJo.js → user-transaction-history-CkUxYSO_.js} +1 -1
- package/lazy/{user-transaction-history-3zhiyTMt.cjs → user-transaction-history-QFuKjOW8.cjs} +1 -1
- package/package.json +1 -1
- package/stencil/{checkbox-group-input_16-BmvBBKCA.js → checkbox-group-input_16-B8hd9aQ0.js} +4 -4
- package/stencil/{checkbox-group-input_16-BBFWkWeD.js → checkbox-group-input_16-DHvmvs4j.js} +4 -4
- package/stencil/{checkbox-group-input_16-CO-enO8e.cjs → checkbox-group-input_16-DlsAKtOV.cjs} +2 -2
- package/stencil/{pam-change-password-259289fa-yIegaOpe.cjs → pam-change-password-259289fa-5kLkMHOy.cjs} +1 -1
- package/stencil/{pam-change-password-259289fa-CMzhV7v6.js → pam-change-password-259289fa-7UBY9LmS.js} +3 -3
- package/stencil/{pam-change-password-259289fa-C0ysebEM.js → pam-change-password-259289fa-BWAHRnw9.js} +3 -3
- package/stencil/{pam-change-password-BmZkR24F.js → pam-change-password-BSN9npN-.js} +2 -2
- package/stencil/{pam-change-password-BDh7kR7R.cjs → pam-change-password-CWBsdXTA.cjs} +1 -1
- package/stencil/{pam-change-password-CZIzaI5K.js → pam-change-password-DBiA54FG.js} +2 -2
- package/stencil/player-kyc-verification-CBys59n4.cjs +210 -0
- package/stencil/{player-kyc-verification-efqlVlYh.js → player-kyc-verification-DqrsTEVA.js} +20 -15
- package/stencil/{player-kyc-verification-CHKCxpjq.js → player-kyc-verification-Z89so7qq.js} +20 -15
- package/stencil/{user-transaction-history-BdJmXqSz.js → user-transaction-history-C3VVRgdr.js} +2 -2
- package/stencil/{user-transaction-history-AKqIgf_3.js → user-transaction-history-CYCI002D.js} +2 -2
- package/stencil/{user-transaction-history-2p6NhYUH.cjs → user-transaction-history-Ljf85fuc.cjs} +1 -1
- package/stencil/{user-transaction-history_2-C0V0hS45.js → user-transaction-history_2-DhoaUKCv.js} +2 -2
- package/stencil/{user-transaction-history_2-CkuiuZbC.cjs → user-transaction-history_2-DlD6_g57.cjs} +2 -2
- package/stencil/{user-transaction-history_2-Bane584k.js → user-transaction-history_2-DwebPYnL.js} +2 -2
- package/components/PlayerAccountNotifications-7KsN-kHn.js +0 -364
- package/stencil/player-kyc-verification-Cfr6OdP2.cjs +0 -210
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { c as fe, b as ye, S as pe, D as he, R as be, v as x, f as Ae, K as D, r as E, F as B, s as b, k as Me, y as J, N as we, h as ve, u as S, q as le, e as a, a1 as I, Y as c, g as d, Z as T, a4 as W, Q as Pe, J as R, a3 as H, a2 as K, V as _e, W as ke, X as xe, n as Ie, a as Fe } from "./PlayerAccountControllerNd-CLHhFHHS.js";
|
|
2
2
|
import "../stencil/ui-skeleton-Dd7tqzYw.js";
|
|
3
|
-
import "../lazy/general-logout-
|
|
3
|
+
import "../lazy/general-logout-B6EdTuj8.js";
|
|
4
4
|
function Q(n, e) {
|
|
5
5
|
fe(n, e);
|
|
6
6
|
}
|
|
7
|
-
function
|
|
7
|
+
function Ce(n) {
|
|
8
8
|
ye.set(n);
|
|
9
9
|
}
|
|
10
10
|
const Y = {
|
|
@@ -63,7 +63,7 @@ function Ee(n) {
|
|
|
63
63
|
/*profileUsername*/
|
|
64
64
|
n[10]
|
|
65
65
|
)) + ""
|
|
66
|
-
), u,
|
|
66
|
+
), u, M, h, _, P, v, A, f, o = (
|
|
67
67
|
/*isMobile*/
|
|
68
68
|
n[14] && He(n)
|
|
69
69
|
), y = (
|
|
@@ -72,33 +72,33 @@ function Ee(n) {
|
|
|
72
72
|
), m = S(
|
|
73
73
|
/*menuItems*/
|
|
74
74
|
n[8]
|
|
75
|
-
),
|
|
75
|
+
), w = [];
|
|
76
76
|
for (let g = 0; g < m.length; g += 1)
|
|
77
|
-
|
|
78
|
-
let
|
|
77
|
+
w[g] = te($(n, m, g));
|
|
78
|
+
let C = !/*isMobile*/
|
|
79
79
|
n[14] && ze(n);
|
|
80
80
|
return {
|
|
81
81
|
c() {
|
|
82
|
-
e = b("div"), t = b("div"), o && o.c(), i = I(), r = b("p"), u = W(s),
|
|
82
|
+
e = b("div"), t = b("div"), o && o.c(), i = I(), r = b("p"), u = W(s), M = I(), h = b("p"), _ = W(
|
|
83
83
|
/*profileEmail*/
|
|
84
84
|
n[11]
|
|
85
85
|
), P = I(), y && y.c(), v = I(), A = b("div");
|
|
86
|
-
for (let g = 0; g <
|
|
87
|
-
|
|
88
|
-
f = I(),
|
|
86
|
+
for (let g = 0; g < w.length; g += 1)
|
|
87
|
+
w[g].c();
|
|
88
|
+
f = I(), C && C.c(), d(r, "class", "PlayerAccountMenuUser"), d(r, "translate", "no"), d(h, "class", "PlayerAccountMenuEmail"), d(h, "translate", "no"), d(t, "class", "PlayerAccountMenuHeader " + /*isMobile*/
|
|
89
89
|
(n[14] ? "PlayerAccountMenuHeaderMobile" : "")), d(A, "class", "PlayerAccountMenuList"), d(e, "class", "PlayerAccountMenuContainer " + /*isMobile*/
|
|
90
90
|
(n[14] ? "PlayerAccountMobileContainer" : ""));
|
|
91
91
|
},
|
|
92
|
-
m(g,
|
|
93
|
-
B(g, e,
|
|
94
|
-
for (let p = 0; p <
|
|
95
|
-
|
|
96
|
-
a(e, f),
|
|
92
|
+
m(g, F) {
|
|
93
|
+
B(g, e, F), a(e, t), o && o.m(t, null), a(t, i), a(t, r), a(r, u), a(t, M), a(t, h), a(h, _), a(t, P), y && y.m(t, null), a(e, v), a(e, A);
|
|
94
|
+
for (let p = 0; p < w.length; p += 1)
|
|
95
|
+
w[p] && w[p].m(A, null);
|
|
96
|
+
a(e, f), C && C.m(e, null);
|
|
97
97
|
},
|
|
98
|
-
p(g,
|
|
98
|
+
p(g, F) {
|
|
99
99
|
if (
|
|
100
100
|
/*isMobile*/
|
|
101
|
-
g[14] && o.p(g,
|
|
101
|
+
g[14] && o.p(g, F), F[0] & /*showaliasasusername, profileAlias, profileUsername*/
|
|
102
102
|
5152 && s !== (s = /*showaliasasusername*/
|
|
103
103
|
(g[5] === "true" ? (
|
|
104
104
|
/*profileAlias*/
|
|
@@ -106,13 +106,13 @@ function Ee(n) {
|
|
|
106
106
|
) : (
|
|
107
107
|
/*profileUsername*/
|
|
108
108
|
g[10]
|
|
109
|
-
)) + "") && T(u, s),
|
|
109
|
+
)) + "") && T(u, s), F[0] & /*profileEmail*/
|
|
110
110
|
2048 && T(
|
|
111
111
|
_,
|
|
112
112
|
/*profileEmail*/
|
|
113
113
|
g[11]
|
|
114
114
|
), /*isMobile*/
|
|
115
|
-
g[14] && y.p(g,
|
|
115
|
+
g[14] && y.p(g, F), F[0] & /*selectedItem, menuItems, isMobile, openAccountSection*/
|
|
116
116
|
49920
|
|
117
117
|
) {
|
|
118
118
|
m = S(
|
|
@@ -122,22 +122,22 @@ function Ee(n) {
|
|
|
122
122
|
let p;
|
|
123
123
|
for (p = 0; p < m.length; p += 1) {
|
|
124
124
|
const z = $(g, m, p);
|
|
125
|
-
|
|
125
|
+
w[p] ? w[p].p(z, F) : (w[p] = te(z), w[p].c(), w[p].m(A, null));
|
|
126
126
|
}
|
|
127
|
-
for (; p <
|
|
128
|
-
|
|
129
|
-
|
|
127
|
+
for (; p < w.length; p += 1)
|
|
128
|
+
w[p].d(1);
|
|
129
|
+
w.length = m.length;
|
|
130
130
|
}
|
|
131
131
|
/*isMobile*/
|
|
132
|
-
g[14] ||
|
|
132
|
+
g[14] || C.p(g, F);
|
|
133
133
|
},
|
|
134
134
|
d(g) {
|
|
135
|
-
g && E(e), o && o.d(), y && y.d(), le(
|
|
135
|
+
g && E(e), o && o.d(), y && y.d(), le(w, g), C && C.d();
|
|
136
136
|
}
|
|
137
137
|
};
|
|
138
138
|
}
|
|
139
139
|
function Be(n) {
|
|
140
|
-
let e, t, i, r, s, u,
|
|
140
|
+
let e, t, i, r, s, u, M, h, _, P, v = (
|
|
141
141
|
/*isMobile*/
|
|
142
142
|
n[14] && Se()
|
|
143
143
|
), A = S(Array(18)), f = [];
|
|
@@ -145,7 +145,7 @@ function Be(n) {
|
|
|
145
145
|
f[o] = ne(ee(n, A, o));
|
|
146
146
|
return {
|
|
147
147
|
c() {
|
|
148
|
-
e = b("div"), t = b("div"), v && v.c(), i = I(), r = b("ui-skeleton"), s = I(), u = b("ui-skeleton"),
|
|
148
|
+
e = b("div"), t = b("div"), v && v.c(), i = I(), r = b("ui-skeleton"), s = I(), u = b("ui-skeleton"), M = I(), h = b("div");
|
|
149
149
|
for (let o = 0; o < f.length; o += 1)
|
|
150
150
|
f[o].c();
|
|
151
151
|
_ = I(), P = b("div"), P.innerHTML = '<ui-skeleton structure="rectangle" width="auto" height="60px"></ui-skeleton>', c(r, "structure", "title"), c(r, "width", "100px"), c(r, "height", "20px"), c(r, "margin-top", "20px"), c(u, "structure", "text"), c(u, "width", "200px"), c(u, "height", "20px"), d(t, "class", "PlayerAccountMenuHeader " + /*isMobile*/
|
|
@@ -153,7 +153,7 @@ function Be(n) {
|
|
|
153
153
|
(n[14] ? "PlayerAccountMobileContainer" : ""));
|
|
154
154
|
},
|
|
155
155
|
m(o, y) {
|
|
156
|
-
B(o, e, y), a(e, t), v && v.m(t, null), a(t, i), a(t, r), a(t, s), a(t, u), a(e,
|
|
156
|
+
B(o, e, y), a(e, t), v && v.m(t, null), a(t, i), a(t, r), a(t, s), a(t, u), a(e, M), a(e, h);
|
|
157
157
|
for (let m = 0; m < f.length; m += 1)
|
|
158
158
|
f[m] && f[m].m(h, null);
|
|
159
159
|
a(e, _), a(e, P);
|
|
@@ -164,8 +164,8 @@ function Be(n) {
|
|
|
164
164
|
A = S(Array(18));
|
|
165
165
|
let m;
|
|
166
166
|
for (m = 0; m < A.length; m += 1) {
|
|
167
|
-
const
|
|
168
|
-
f[m] ? f[m].p(
|
|
167
|
+
const w = ee(o, A, m);
|
|
168
|
+
f[m] ? f[m].p(w, y) : (f[m] = ne(w), f[m].c(), f[m].m(h, null));
|
|
169
169
|
}
|
|
170
170
|
for (; m < f.length; m += 1)
|
|
171
171
|
f[m].d(1);
|
|
@@ -178,16 +178,16 @@ function Be(n) {
|
|
|
178
178
|
};
|
|
179
179
|
}
|
|
180
180
|
function He(n) {
|
|
181
|
-
let e, t, i, r, s, u,
|
|
181
|
+
let e, t, i, r, s, u, M, h, _, P, v = (
|
|
182
182
|
/*$_*/
|
|
183
183
|
n[13]("title") + ""
|
|
184
184
|
), A, f, o;
|
|
185
185
|
return {
|
|
186
186
|
c() {
|
|
187
|
-
e = b("div"), t = H("svg"), i = H("defs"), r = H("style"), s = W(".aaa{fill:var(--emw--color-white, #FFFFFF);}"), u = H("g"),
|
|
187
|
+
e = b("div"), t = H("svg"), i = H("defs"), r = H("style"), s = W(".aaa{fill:var(--emw--color-white, #FFFFFF);}"), u = H("g"), M = H("g"), h = H("path"), _ = I(), P = b("h3"), A = W(v), d(h, "class", "aaa"), d(h, "d", "M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"), d(h, "transform", "translate(15 15) rotate(180)"), d(M, "transform", "translate(20 158)"), d(u, "transform", "translate(-20 -158)"), d(t, "xmlns", "http://www.w3.org/2000/svg"), d(t, "width", "15"), d(t, "height", "15"), d(t, "viewBox", "0 0 15 15"), d(P, "class", "PlayerAccountMenuCategoryTitle"), d(e, "class", "PlayerAccountMenuCategoryWrapper");
|
|
188
188
|
},
|
|
189
189
|
m(y, m) {
|
|
190
|
-
B(y, e, m), a(e, t), a(t, i), a(i, r), a(r, s), a(t, u), a(u,
|
|
190
|
+
B(y, e, m), a(e, t), a(t, i), a(i, r), a(r, s), a(t, u), a(u, M), a(M, h), a(e, _), a(e, P), a(P, A), f || (o = [
|
|
191
191
|
R(
|
|
192
192
|
t,
|
|
193
193
|
"click",
|
|
@@ -285,7 +285,7 @@ function We(n) {
|
|
|
285
285
|
};
|
|
286
286
|
}
|
|
287
287
|
function te(n) {
|
|
288
|
-
let e, t, i, r, s, u,
|
|
288
|
+
let e, t, i, r, s, u, M = (
|
|
289
289
|
/*menuItem*/
|
|
290
290
|
n[43].label + ""
|
|
291
291
|
), h, _, P, v, A;
|
|
@@ -300,7 +300,7 @@ function te(n) {
|
|
|
300
300
|
}
|
|
301
301
|
return {
|
|
302
302
|
c() {
|
|
303
|
-
e = b("div"), t = b("p"), i = b("img"), s = I(), u = b("span"), h = W(
|
|
303
|
+
e = b("div"), t = b("p"), i = b("img"), s = I(), u = b("span"), h = W(M), _ = I(), d(i, "class", "PlayerAccountMenuItemIcon " + /*isMobile*/
|
|
304
304
|
(n[14] ? "PlayerAccountMenuItemIconMobile" : "")), K(i.src, r = /*menuItem*/
|
|
305
305
|
n[43].img) || d(i, "src", r), d(u, "class", "PlayerAccountMenuItemTitle"), d(t, "class", "PlayerAccountMenuItemWrapper"), d(e, "class", P = "PlayerAccountMenuItemBox " + /*selectedItem*/
|
|
306
306
|
(n[9] === /*menuItem*/
|
|
@@ -314,8 +314,8 @@ function te(n) {
|
|
|
314
314
|
n = o, y[0] & /*menuItems*/
|
|
315
315
|
256 && !K(i.src, r = /*menuItem*/
|
|
316
316
|
n[43].img) && d(i, "src", r), y[0] & /*menuItems*/
|
|
317
|
-
256 &&
|
|
318
|
-
n[43].label + "") && T(h,
|
|
317
|
+
256 && M !== (M = /*menuItem*/
|
|
318
|
+
n[43].label + "") && T(h, M), y[0] & /*selectedItem, menuItems*/
|
|
319
319
|
768 && P !== (P = "PlayerAccountMenuItemBox " + /*selectedItem*/
|
|
320
320
|
(n[9] === /*menuItem*/
|
|
321
321
|
n[43].id && !/*isMobile*/
|
|
@@ -439,8 +439,8 @@ function ne(n) {
|
|
|
439
439
|
), d(e, "class", "PlayerAccountItemWrap " + /*isMobile*/
|
|
440
440
|
(n[14] ? "PlayerAccountItemWrapMobile" : ""));
|
|
441
441
|
},
|
|
442
|
-
m(u,
|
|
443
|
-
B(u, e,
|
|
442
|
+
m(u, M) {
|
|
443
|
+
B(u, e, M), s && s.m(e, null), a(e, t), a(e, i), a(e, r);
|
|
444
444
|
},
|
|
445
445
|
p: D,
|
|
446
446
|
d(u) {
|
|
@@ -448,7 +448,7 @@ function ne(n) {
|
|
|
448
448
|
}
|
|
449
449
|
};
|
|
450
450
|
}
|
|
451
|
-
function
|
|
451
|
+
function Oe(n) {
|
|
452
452
|
let e;
|
|
453
453
|
function t(s, u) {
|
|
454
454
|
return (
|
|
@@ -474,34 +474,34 @@ function je(n) {
|
|
|
474
474
|
}
|
|
475
475
|
};
|
|
476
476
|
}
|
|
477
|
-
function
|
|
477
|
+
function Ue(n, e, t) {
|
|
478
478
|
let i;
|
|
479
|
-
|
|
480
|
-
let { endpoint: r = "" } = e, { cmsendpoint: s = "" } = e, { env: u = "" } = e, { session:
|
|
479
|
+
Me(n, Fe, (l) => t(13, i = l));
|
|
480
|
+
let { endpoint: r = "" } = e, { cmsendpoint: s = "" } = e, { env: u = "" } = e, { session: M = "" } = e, { playerid: h = "" } = e, { lang: _ = "en" } = e, { selecteditem: P = "" } = e, { userroles: v = "" } = e, { clientstyling: A = "" } = e, { clientstylingurl: f = "" } = e, { mbsource: o } = e, { translationurl: y = "" } = e, { activemenuitem: m = "" } = e, { showaliasasusername: w = "false" } = e, C = !1, g = !1, F = !0, p, z, O = [], U, N = window.navigator.userAgent, ie = J(N) !== "PC", q = "", V = "", j = "";
|
|
481
481
|
window.matchMedia("(min-width: 768px)");
|
|
482
482
|
const re = () => {
|
|
483
|
-
fetch(y).then((
|
|
484
|
-
Object.keys(
|
|
485
|
-
Q(L,
|
|
483
|
+
fetch(y).then((k) => k.json()).then((k) => {
|
|
484
|
+
Object.keys(k).forEach((L) => {
|
|
485
|
+
Q(L, k[L]);
|
|
486
486
|
});
|
|
487
|
-
}).catch((
|
|
488
|
-
console.error(
|
|
487
|
+
}).catch((k) => {
|
|
488
|
+
console.error(k);
|
|
489
489
|
});
|
|
490
490
|
};
|
|
491
491
|
Object.keys(Y).forEach((l) => {
|
|
492
492
|
Q(l, Y[l]);
|
|
493
493
|
});
|
|
494
|
-
const
|
|
494
|
+
const X = (l) => {
|
|
495
495
|
if (l.data)
|
|
496
496
|
switch (l.data.type) {
|
|
497
497
|
case "AccountMenuDetails":
|
|
498
498
|
availableMenuItemsArray = l.data.accountMenuInfo;
|
|
499
499
|
break;
|
|
500
500
|
case "UserSessionID":
|
|
501
|
-
t(0,
|
|
501
|
+
t(0, M = l.data.session);
|
|
502
502
|
break;
|
|
503
503
|
case "AliasUpdated":
|
|
504
|
-
|
|
504
|
+
w === "true" && l.data.alias && t(12, j = l.data.alias);
|
|
505
505
|
break;
|
|
506
506
|
}
|
|
507
507
|
}, ae = () => {
|
|
@@ -510,23 +510,23 @@ function Oe(n, e, t) {
|
|
|
510
510
|
return l === "PC" ? "dk" : "mtWeb";
|
|
511
511
|
}, oe = () => {
|
|
512
512
|
const l = new URL(`${s}/${_}/profile-menu?env=${u}`);
|
|
513
|
-
l.searchParams.append("device", ae()), fetch(l.href).then((
|
|
514
|
-
t(8,
|
|
515
|
-
}).catch((
|
|
516
|
-
console.error("Error getting menu items",
|
|
513
|
+
l.searchParams.append("device", ae()), fetch(l.href).then((k) => k.json()).then((k) => {
|
|
514
|
+
t(8, O = k), G();
|
|
515
|
+
}).catch((k) => {
|
|
516
|
+
console.error("Error getting menu items", k);
|
|
517
517
|
}).finally(() => {
|
|
518
|
-
t(25,
|
|
518
|
+
t(25, C = !0);
|
|
519
519
|
});
|
|
520
520
|
}, se = () => {
|
|
521
521
|
let l = new URL(`${r}/v1/player/${h}/profile`);
|
|
522
522
|
l.searchParams.append("userRoles", v);
|
|
523
|
-
let
|
|
523
|
+
let k = {
|
|
524
524
|
method: "GET",
|
|
525
|
-
headers: { "X-SessionID":
|
|
525
|
+
headers: { "X-SessionID": M }
|
|
526
526
|
};
|
|
527
|
-
fetch(l.href,
|
|
527
|
+
fetch(l.href, k).then((L) => L.json()).then(
|
|
528
528
|
(L) => {
|
|
529
|
-
t(10, q = L.username), t(11,
|
|
529
|
+
t(10, q = L.username), t(11, V = L.email), w === "true" && t(12, j = L.alias || "");
|
|
530
530
|
},
|
|
531
531
|
(L) => {
|
|
532
532
|
console.error(L);
|
|
@@ -534,57 +534,57 @@ function Oe(n, e, t) {
|
|
|
534
534
|
).finally(() => {
|
|
535
535
|
t(26, g = !0);
|
|
536
536
|
});
|
|
537
|
-
},
|
|
538
|
-
window.postMessage({ type: "ChangeAccountPage", page: l }, window.location.href), t(9,
|
|
539
|
-
},
|
|
537
|
+
}, Z = (l) => {
|
|
538
|
+
window.postMessage({ type: "ChangeAccountPage", page: l }, window.location.href), t(9, U = l.id);
|
|
539
|
+
}, G = () => {
|
|
540
540
|
var l;
|
|
541
|
-
t(9,
|
|
541
|
+
t(9, U = (l = O.find((k) => k.path.includes(m))) == null ? void 0 : l.id);
|
|
542
542
|
}, ce = () => {
|
|
543
543
|
window.postMessage({ type: "GoToHomepage" }, window.location.href);
|
|
544
544
|
}, ue = () => {
|
|
545
|
-
|
|
545
|
+
Ce(_);
|
|
546
546
|
}, me = () => {
|
|
547
547
|
se();
|
|
548
548
|
};
|
|
549
|
-
|
|
550
|
-
window.removeEventListener("message",
|
|
549
|
+
we(() => (window.addEventListener("message", X, !1), () => {
|
|
550
|
+
window.removeEventListener("message", X);
|
|
551
551
|
}));
|
|
552
|
-
const de = (l) =>
|
|
552
|
+
const de = (l) => Z(l);
|
|
553
553
|
function ge(l) {
|
|
554
554
|
ve[l ? "unshift" : "push"](() => {
|
|
555
555
|
p = l, t(6, p);
|
|
556
556
|
});
|
|
557
557
|
}
|
|
558
558
|
return n.$$set = (l) => {
|
|
559
|
-
"endpoint" in l && t(1, r = l.endpoint), "cmsendpoint" in l && t(17, s = l.cmsendpoint), "env" in l && t(18, u = l.env), "session" in l && t(0,
|
|
559
|
+
"endpoint" in l && t(1, r = l.endpoint), "cmsendpoint" in l && t(17, s = l.cmsendpoint), "env" in l && t(18, u = l.env), "session" in l && t(0, M = l.session), "playerid" in l && t(19, h = l.playerid), "lang" in l && t(20, _ = l.lang), "selecteditem" in l && t(21, P = l.selecteditem), "userroles" in l && t(22, v = l.userroles), "clientstyling" in l && t(2, A = l.clientstyling), "clientstylingurl" in l && t(3, f = l.clientstylingurl), "mbsource" in l && t(4, o = l.mbsource), "translationurl" in l && t(23, y = l.translationurl), "activemenuitem" in l && t(24, m = l.activemenuitem), "showaliasasusername" in l && t(5, w = l.showaliasasusername);
|
|
560
560
|
}, n.$$.update = () => {
|
|
561
561
|
n.$$.dirty[0] & /*menuLoaded, playerInfoLoaded*/
|
|
562
|
-
100663296 && t(7,
|
|
562
|
+
100663296 && t(7, F = !C || !g), n.$$.dirty[0] & /*lang*/
|
|
563
563
|
1048576 && _ && ue(), n.$$.dirty[0] & /*endpoint, session, playerid, lang*/
|
|
564
|
-
1572867 && r &&
|
|
564
|
+
1572867 && r && M && h && _ && me(), n.$$.dirty[0] & /*cmsendpoint, lang, env*/
|
|
565
565
|
1441792 && s && _ && u && oe(), n.$$.dirty[0] & /*activemenuitem*/
|
|
566
|
-
16777216 && m &&
|
|
566
|
+
16777216 && m && G(), n.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
567
567
|
68 && A && p && _e(p, A), n.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
568
|
-
72 && f && p &&
|
|
569
|
-
80 && o && p &&
|
|
568
|
+
72 && f && p && ke(p, f), n.$$.dirty[0] & /*mbsource, customStylingContainer*/
|
|
569
|
+
80 && o && p && xe(p, `${o}.Style`, z), n.$$.dirty[0] & /*translationurl*/
|
|
570
570
|
8388608 && y && re();
|
|
571
571
|
}, [
|
|
572
|
-
|
|
572
|
+
M,
|
|
573
573
|
r,
|
|
574
574
|
A,
|
|
575
575
|
f,
|
|
576
576
|
o,
|
|
577
|
-
|
|
577
|
+
w,
|
|
578
578
|
p,
|
|
579
|
-
|
|
580
|
-
j,
|
|
579
|
+
F,
|
|
581
580
|
O,
|
|
582
|
-
q,
|
|
583
|
-
G,
|
|
584
581
|
U,
|
|
582
|
+
q,
|
|
583
|
+
V,
|
|
584
|
+
j,
|
|
585
585
|
i,
|
|
586
586
|
ie,
|
|
587
|
-
|
|
587
|
+
Z,
|
|
588
588
|
ce,
|
|
589
589
|
s,
|
|
590
590
|
u,
|
|
@@ -594,19 +594,19 @@ function Oe(n, e, t) {
|
|
|
594
594
|
v,
|
|
595
595
|
y,
|
|
596
596
|
m,
|
|
597
|
-
|
|
597
|
+
C,
|
|
598
598
|
g,
|
|
599
599
|
de,
|
|
600
600
|
ge
|
|
601
601
|
];
|
|
602
602
|
}
|
|
603
|
-
class
|
|
603
|
+
class je extends pe {
|
|
604
604
|
constructor(e) {
|
|
605
605
|
super(), he(
|
|
606
606
|
this,
|
|
607
607
|
e,
|
|
608
|
+
Ue,
|
|
608
609
|
Oe,
|
|
609
|
-
je,
|
|
610
610
|
be,
|
|
611
611
|
{
|
|
612
612
|
endpoint: 1,
|
|
@@ -632,88 +632,88 @@ class Ue extends pe {
|
|
|
632
632
|
return this.$$.ctx[1];
|
|
633
633
|
}
|
|
634
634
|
set endpoint(e) {
|
|
635
|
-
this.$$set({ endpoint: e }),
|
|
635
|
+
this.$$set({ endpoint: e }), x();
|
|
636
636
|
}
|
|
637
637
|
get cmsendpoint() {
|
|
638
638
|
return this.$$.ctx[17];
|
|
639
639
|
}
|
|
640
640
|
set cmsendpoint(e) {
|
|
641
|
-
this.$$set({ cmsendpoint: e }),
|
|
641
|
+
this.$$set({ cmsendpoint: e }), x();
|
|
642
642
|
}
|
|
643
643
|
get env() {
|
|
644
644
|
return this.$$.ctx[18];
|
|
645
645
|
}
|
|
646
646
|
set env(e) {
|
|
647
|
-
this.$$set({ env: e }),
|
|
647
|
+
this.$$set({ env: e }), x();
|
|
648
648
|
}
|
|
649
649
|
get session() {
|
|
650
650
|
return this.$$.ctx[0];
|
|
651
651
|
}
|
|
652
652
|
set session(e) {
|
|
653
|
-
this.$$set({ session: e }),
|
|
653
|
+
this.$$set({ session: e }), x();
|
|
654
654
|
}
|
|
655
655
|
get playerid() {
|
|
656
656
|
return this.$$.ctx[19];
|
|
657
657
|
}
|
|
658
658
|
set playerid(e) {
|
|
659
|
-
this.$$set({ playerid: e }),
|
|
659
|
+
this.$$set({ playerid: e }), x();
|
|
660
660
|
}
|
|
661
661
|
get lang() {
|
|
662
662
|
return this.$$.ctx[20];
|
|
663
663
|
}
|
|
664
664
|
set lang(e) {
|
|
665
|
-
this.$$set({ lang: e }),
|
|
665
|
+
this.$$set({ lang: e }), x();
|
|
666
666
|
}
|
|
667
667
|
get selecteditem() {
|
|
668
668
|
return this.$$.ctx[21];
|
|
669
669
|
}
|
|
670
670
|
set selecteditem(e) {
|
|
671
|
-
this.$$set({ selecteditem: e }),
|
|
671
|
+
this.$$set({ selecteditem: e }), x();
|
|
672
672
|
}
|
|
673
673
|
get userroles() {
|
|
674
674
|
return this.$$.ctx[22];
|
|
675
675
|
}
|
|
676
676
|
set userroles(e) {
|
|
677
|
-
this.$$set({ userroles: e }),
|
|
677
|
+
this.$$set({ userroles: e }), x();
|
|
678
678
|
}
|
|
679
679
|
get clientstyling() {
|
|
680
680
|
return this.$$.ctx[2];
|
|
681
681
|
}
|
|
682
682
|
set clientstyling(e) {
|
|
683
|
-
this.$$set({ clientstyling: e }),
|
|
683
|
+
this.$$set({ clientstyling: e }), x();
|
|
684
684
|
}
|
|
685
685
|
get clientstylingurl() {
|
|
686
686
|
return this.$$.ctx[3];
|
|
687
687
|
}
|
|
688
688
|
set clientstylingurl(e) {
|
|
689
|
-
this.$$set({ clientstylingurl: e }),
|
|
689
|
+
this.$$set({ clientstylingurl: e }), x();
|
|
690
690
|
}
|
|
691
691
|
get mbsource() {
|
|
692
692
|
return this.$$.ctx[4];
|
|
693
693
|
}
|
|
694
694
|
set mbsource(e) {
|
|
695
|
-
this.$$set({ mbsource: e }),
|
|
695
|
+
this.$$set({ mbsource: e }), x();
|
|
696
696
|
}
|
|
697
697
|
get translationurl() {
|
|
698
698
|
return this.$$.ctx[23];
|
|
699
699
|
}
|
|
700
700
|
set translationurl(e) {
|
|
701
|
-
this.$$set({ translationurl: e }),
|
|
701
|
+
this.$$set({ translationurl: e }), x();
|
|
702
702
|
}
|
|
703
703
|
get activemenuitem() {
|
|
704
704
|
return this.$$.ctx[24];
|
|
705
705
|
}
|
|
706
706
|
set activemenuitem(e) {
|
|
707
|
-
this.$$set({ activemenuitem: e }),
|
|
707
|
+
this.$$set({ activemenuitem: e }), x();
|
|
708
708
|
}
|
|
709
709
|
get showaliasasusername() {
|
|
710
710
|
return this.$$.ctx[5];
|
|
711
711
|
}
|
|
712
712
|
set showaliasasusername(e) {
|
|
713
|
-
this.$$set({ showaliasasusername: e }),
|
|
713
|
+
this.$$set({ showaliasasusername: e }), x();
|
|
714
714
|
}
|
|
715
715
|
}
|
|
716
|
-
Ie(
|
|
716
|
+
Ie(je, { endpoint: {}, cmsendpoint: {}, env: {}, session: {}, playerid: {}, lang: {}, selecteditem: {}, userroles: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {}, activemenuitem: {}, showaliasasusername: {} }, [], [], !0);
|
|
717
717
|
export {
|
|
718
|
-
|
|
718
|
+
je as default
|
|
719
719
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./PlayerAccountControllerNd-Cq5AJWZR.cjs");require("../stencil/ui-skeleton-DCajaTYn.cjs");require("../lazy/general-logout-DDqkUTyV.cjs");function T(a,t){e.addMessages(a,t)}function $(a){e.$locale.set(a)}const z={en:{title:"My Account"},"zh-hk":{title:"我的帳戶"},fr:{title:"Mon compte"},tr:{title:"Hesabım"},ro:{title:"Contul meu"},es:{title:"Mi Cuenta"},pt:{title:"Minha Conta"},hr:{title:"Moj račun"},"pt-br":{title:"Minha conta"},"es-mx":{title:"Mi cuenta"},"en-us":{title:"My Account"}};function ee(a){e.append_styles(a,"svelte-j26xf8",'.PlayerAccountMenuContainer{background:var(--emw--color-primary, #184026);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;animation-name:fadeIn;animation-iteration-count:1;animation-timing-function:ease-in;animation-duration:0.3s}.PlayerAccountMenuContainer .PlayerAccountMenuItemWrapper{margin:0;word-break:break-all;display:flex;align-items:center}.PlayerAccountMenuContainer .PlayerAccountMenuItemWrapper span{display:flex;align-items:center}.PlayerAccountMenuContainer .skeletonLogOut{width:100%;border-radius:10px;overflow:hidden}.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:14px 20px;margin:2px 0;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, 10px);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, 10px);color:var(--emw--color-white, #FFFFFF)}.PlayerAccountMenuItemBox .PlayerAccountMenuItemTitle{margin-left:20px}.PlayerAccountMenuItemBox .PlayerAccountMenuItemIcon{width:20px;height:20px;padding-top:unset}.PlayerAccountMenuItemBox .PlayerAccountMenuItemIconMobile{width:30px;height: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)}.PlayerAccountItemWrap{display:flex;gap:20px;padding:16px 20px}.PlayerAccountItemWrap.PlayerAccountItemWrapMobile{padding:5px;width:100%;box-sizing:border-box}.PlayerAccountItemWrap ui-skeleton:last-child{flex:1}.PlayerAccountLogOutArea{background-color:rgba(253, 40, 57, 0.3);color:var(--emw--color-white, #FFFFFF);border-radius:var(--emw--border-radius-medium, 10px);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, 10px);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;min-height:900px}.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, 10px);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, #22B04E))}.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}@keyframes fadeIn{0%{opacity:0.01}1%{opacity:0}50%{opacity:0}100%{opacity:1}}')}function O(a,t,n){const r=a.slice();return r[43]=t[n],r}function j(a,t,n){const r=a.slice();return r[40]=t[n],r}function te(a){let t,n,r,i,s=(a[5]==="true"?a[12]:a[10])+"",c,_,f,M,A,b,h,d,o=a[14]&&ae(a),p=a[14]&&le(a),u=e.ensure_array_like(a[8]),y=[];for(let m=0;m<u.length;m+=1)y[m]=U(O(a,u,m));let P=!a[14]&&re(a);return{c(){t=e.element("div"),n=e.element("div"),o&&o.c(),r=e.space(),i=e.element("p"),c=e.text(s),_=e.space(),f=e.element("p"),M=e.text(a[11]),A=e.space(),p&&p.c(),b=e.space(),h=e.element("div");for(let m=0;m<y.length;m+=1)y[m].c();d=e.space(),P&&P.c(),e.attr(i,"class","PlayerAccountMenuUser"),e.attr(i,"translate","no"),e.attr(f,"class","PlayerAccountMenuEmail"),e.attr(f,"translate","no"),e.attr(n,"class","PlayerAccountMenuHeader "+(a[14]?"PlayerAccountMenuHeaderMobile":"")),e.attr(h,"class","PlayerAccountMenuList"),e.attr(t,"class","PlayerAccountMenuContainer "+(a[14]?"PlayerAccountMobileContainer":""))},m(m,v){e.insert(m,t,v),e.append(t,n),o&&o.m(n,null),e.append(n,r),e.append(n,i),e.append(i,c),e.append(n,_),e.append(n,f),e.append(f,M),e.append(n,A),p&&p.m(n,null),e.append(t,b),e.append(t,h);for(let g=0;g<y.length;g+=1)y[g]&&y[g].m(h,null);e.append(t,d),P&&P.m(t,null)},p(m,v){if(m[14]&&o.p(m,v),v[0]&5152&&s!==(s=(m[5]==="true"?m[12]:m[10])+"")&&e.set_data(c,s),v[0]&2048&&e.set_data(M,m[11]),m[14]&&p.p(m,v),v[0]&49920){u=e.ensure_array_like(m[8]);let g;for(g=0;g<u.length;g+=1){const k=O(m,u,g);y[g]?y[g].p(k,v):(y[g]=U(k),y[g].c(),y[g].m(h,null))}for(;g<y.length;g+=1)y[g].d(1);y.length=u.length}m[14]||P.p(m,v)},d(m){m&&e.detach(t),o&&o.d(),p&&p.d(),e.destroy_each(y,m),P&&P.d()}}}function ne(a){let t,n,r,i,s,c,_,f,M,A,b=a[14]&&ie(),h=e.ensure_array_like(Array(18)),d=[];for(let o=0;o<h.length;o+=1)d[o]=D(j(a,h,o));return{c(){t=e.element("div"),n=e.element("div"),b&&b.c(),r=e.space(),i=e.element("ui-skeleton"),s=e.space(),c=e.element("ui-skeleton"),_=e.space(),f=e.element("div");for(let o=0;o<d.length;o+=1)d[o].c();M=e.space(),A=e.element("div"),A.innerHTML='<ui-skeleton structure="rectangle" width="auto" height="60px"></ui-skeleton>',e.set_custom_element_data(i,"structure","title"),e.set_custom_element_data(i,"width","100px"),e.set_custom_element_data(i,"height","20px"),e.set_custom_element_data(i,"margin-top","20px"),e.set_custom_element_data(c,"structure","text"),e.set_custom_element_data(c,"width","200px"),e.set_custom_element_data(c,"height","20px"),e.attr(n,"class","PlayerAccountMenuHeader "+(a[14]?"PlayerAccountMenuHeaderMobile":"")),e.attr(f,"class","PlayerAccountMenuList"),e.attr(A,"class","skeletonLogOut"),e.attr(t,"class","PlayerAccountMenuContainer "+(a[14]?"PlayerAccountMobileContainer":""))},m(o,p){e.insert(o,t,p),e.append(t,n),b&&b.m(n,null),e.append(n,r),e.append(n,i),e.append(n,s),e.append(n,c),e.append(t,_),e.append(t,f);for(let u=0;u<d.length;u+=1)d[u]&&d[u].m(f,null);e.append(t,M),e.append(t,A)},p(o,p){if(p[0]&16384){h=e.ensure_array_like(Array(18));let u;for(u=0;u<h.length;u+=1){const y=j(o,h,u);d[u]?d[u].p(y,p):(d[u]=D(y),d[u].c(),d[u].m(f,null))}for(;u<d.length;u+=1)d[u].d(1);d.length=h.length}},d(o){o&&e.detach(t),b&&b.d(),e.destroy_each(d,o)}}}function ae(a){let t,n,r,i,s,c,_,f,M,A,b=a[13]("title")+"",h,d,o;return{c(){t=e.element("div"),n=e.svg_element("svg"),r=e.svg_element("defs"),i=e.svg_element("style"),s=e.text(".aaa{fill:var(--emw--color-white, #FFFFFF);}"),c=e.svg_element("g"),_=e.svg_element("g"),f=e.svg_element("path"),M=e.space(),A=e.element("h3"),h=e.text(b),e.attr(f,"class","aaa"),e.attr(f,"d","M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"),e.attr(f,"transform","translate(15 15) rotate(180)"),e.attr(_,"transform","translate(20 158)"),e.attr(c,"transform","translate(-20 -158)"),e.attr(n,"xmlns","http://www.w3.org/2000/svg"),e.attr(n,"width","15"),e.attr(n,"height","15"),e.attr(n,"viewBox","0 0 15 15"),e.attr(A,"class","PlayerAccountMenuCategoryTitle"),e.attr(t,"class","PlayerAccountMenuCategoryWrapper")},m(p,u){e.insert(p,t,u),e.append(t,n),e.append(n,r),e.append(r,i),e.append(i,s),e.append(n,c),e.append(c,_),e.append(_,f),e.append(t,M),e.append(t,A),e.append(A,h),d||(o=[e.listen(n,"click",a[16]),e.listen(A,"click",a[16])],d=!0)},p(p,u){u[0]&8192&&b!==(b=p[13]("title")+"")&&e.set_data(h,b)},d(p){p&&e.detach(t),d=!1,e.run_all(o)}}}function le(a){let t,n;return{c(){t=e.element("div"),n=e.element("general-logout"),e.set_custom_element_data(n,"endpoint",a[1]),e.set_custom_element_data(n,"session",a[0]),e.set_custom_element_data(n,"buttonlocation","PlayerAccountMenu"),e.set_custom_element_data(n,"clientstyling",a[2]),e.set_custom_element_data(n,"clientstylingurl",a[3]),e.set_custom_element_data(n,"mbsource",a[4]),e.attr(t,"class","PlayerAccountLogOutArea")},m(r,i){e.insert(r,t,i),e.append(t,n)},p(r,i){i[0]&2&&e.set_custom_element_data(n,"endpoint",r[1]),i[0]&1&&e.set_custom_element_data(n,"session",r[0]),i[0]&4&&e.set_custom_element_data(n,"clientstyling",r[2]),i[0]&8&&e.set_custom_element_data(n,"clientstylingurl",r[3]),i[0]&16&&e.set_custom_element_data(n,"mbsource",r[4])},d(r){r&&e.detach(t)}}}function U(a){let t,n,r,i,s,c,_=a[43].label+"",f,M,A,b,h;function d(){return a[27](a[43])}return{c(){t=e.element("div"),n=e.element("p"),r=e.element("img"),s=e.space(),c=e.element("span"),f=e.text(_),M=e.space(),e.attr(r,"class","PlayerAccountMenuItemIcon "+(a[14]?"PlayerAccountMenuItemIconMobile":"")),e.src_url_equal(r.src,i=a[43].img)||e.attr(r,"src",i),e.attr(c,"class","PlayerAccountMenuItemTitle"),e.attr(n,"class","PlayerAccountMenuItemWrapper"),e.attr(t,"class",A="PlayerAccountMenuItemBox "+(a[9]===a[43].id&&!a[14]?"PlayerAccountMenuActiveItemBox":""))},m(o,p){e.insert(o,t,p),e.append(t,n),e.append(n,r),e.append(n,s),e.append(n,c),e.append(c,f),e.append(t,M),b||(h=e.listen(t,"click",d),b=!0)},p(o,p){a=o,p[0]&256&&!e.src_url_equal(r.src,i=a[43].img)&&e.attr(r,"src",i),p[0]&256&&_!==(_=a[43].label+"")&&e.set_data(f,_),p[0]&768&&A!==(A="PlayerAccountMenuItemBox "+(a[9]===a[43].id&&!a[14]?"PlayerAccountMenuActiveItemBox":""))&&e.attr(t,"class",A)},d(o){o&&e.detach(t),b=!1,h()}}}function re(a){let t,n;return{c(){t=e.element("div"),n=e.element("general-logout"),e.set_custom_element_data(n,"endpoint",a[1]),e.set_custom_element_data(n,"session",a[0]),e.set_custom_element_data(n,"buttonlocation","PlayerAccountMenu"),e.set_custom_element_data(n,"clientstyling",a[2]),e.set_custom_element_data(n,"clientstylingurl",a[3]),e.set_custom_element_data(n,"mbsource",a[4]),e.attr(t,"class","PlayerAccountLogOutArea")},m(r,i){e.insert(r,t,i),e.append(t,n)},p(r,i){i[0]&2&&e.set_custom_element_data(n,"endpoint",r[1]),i[0]&1&&e.set_custom_element_data(n,"session",r[0]),i[0]&4&&e.set_custom_element_data(n,"clientstyling",r[2]),i[0]&8&&e.set_custom_element_data(n,"clientstylingurl",r[3]),i[0]&16&&e.set_custom_element_data(n,"mbsource",r[4])},d(r){r&&e.detach(t)}}}function ie(a){let t;return{c(){t=e.element("div"),t.innerHTML='<ui-skeleton structure="title" width="30px" height="40px"></ui-skeleton> <ui-skeleton structure="text" width="150px" height="40px"></ui-skeleton>',e.attr(t,"class","PlayerAccountMenuCategoryWrapper")},m(n,r){e.insert(n,t,r)},d(n){n&&e.detach(t)}}}function oe(a){let t;return{c(){t=e.element("ui-skeleton"),e.set_custom_element_data(t,"structure","circle"),e.set_custom_element_data(t,"size","20px")},m(n,r){e.insert(n,t,r)},d(n){n&&e.detach(t)}}}function D(a){let t,n,r,i,s=!a[14]&&oe();return{c(){t=e.element("div"),s&&s.c(),n=e.space(),r=e.element("ui-skeleton"),i=e.space(),e.set_custom_element_data(r,"structure","rectangle"),e.set_custom_element_data(r,"width","100%"),e.set_custom_element_data(r,"height",a[14]?"60px":"20px"),e.attr(t,"class","PlayerAccountItemWrap "+(a[14]?"PlayerAccountItemWrapMobile":""))},m(c,_){e.insert(c,t,_),s&&s.m(t,null),e.append(t,n),e.append(t,r),e.append(t,i)},p:e.noop,d(c){c&&e.detach(t),s&&s.d()}}}function se(a){let t;function n(s,c){return s[7]?ne:te}let r=n(a),i=r(a);return{c(){t=e.element("div"),i.c()},m(s,c){e.insert(s,t,c),i.m(t,null),a[28](t)},p(s,c){r===(r=n(s))&&i?i.p(s,c):(i.d(1),i=r(s),i&&(i.c(),i.m(t,null)))},i:e.noop,o:e.noop,d(s){s&&e.detach(t),i.d(),a[28](null)}}}function ce(a,t,n){let r;e.component_subscribe(a,e.$format,l=>n(13,r=l));let{endpoint:i=""}=t,{cmsendpoint:s=""}=t,{env:c=""}=t,{session:_=""}=t,{playerid:f=""}=t,{lang:M="en"}=t,{selecteditem:A=""}=t,{userroles:b=""}=t,{clientstyling:h=""}=t,{clientstylingurl:d=""}=t,{mbsource:o}=t,{translationurl:p=""}=t,{activemenuitem:u=""}=t,{showaliasasusername:y="false"}=t,P=!1,m=!1,v=!0,g,k,I=[],C,L=window.navigator.userAgent,N=e.getDevice(L)!=="PC",E="",B="",F="";window.matchMedia("(min-width: 768px)");const R=()=>{fetch(p).then(w=>w.json()).then(w=>{Object.keys(w).forEach(x=>{T(x,w[x])})}).catch(w=>{console.error(w)})};Object.keys(z).forEach(l=>{T(l,z[l])});const H=l=>{if(l.data)switch(l.data.type){case"AccountMenuDetails":availableMenuItemsArray=l.data.accountMenuInfo;break;case"UserSessionID":n(0,_=l.data.session);break;case"AliasUpdated":y==="true"&&l.data.alias&&n(12,F=l.data.alias);break}},G=()=>{let l=e.getDevice(L);if(l)return l==="PC"?"dk":"mtWeb"},V=()=>{const l=new URL(`${s}/${M}/profile-menu?env=${c}`);l.searchParams.append("device",G()),fetch(l.href).then(w=>w.json()).then(w=>{n(8,I=w),S()}).catch(w=>{console.error("Error getting menu items",w)}).finally(()=>{n(25,P=!0)})},X=()=>{let l=new URL(`${i}/v1/player/${f}/profile`);l.searchParams.append("userRoles",b);let w={method:"GET",headers:{"X-SessionID":_}};fetch(l.href,w).then(x=>x.json()).then(x=>{n(10,E=x.username),n(11,B=x.email),y==="true"&&n(12,F=x.alias||"")},x=>{console.error(x)}).finally(()=>{n(26,m=!0)})},W=l=>{window.postMessage({type:"ChangeAccountPage",page:l},window.location.href),n(9,C=l.id)},S=()=>{var l;n(9,C=(l=I.find(w=>w.path.includes(u)))==null?void 0:l.id)},Z=()=>{window.postMessage({type:"GoToHomepage"},window.location.href)},J=()=>{$(M)},K=()=>{X()};e.onMount(()=>(window.addEventListener("message",H,!1),()=>{window.removeEventListener("message",H)}));const Q=l=>W(l);function Y(l){e.binding_callbacks[l?"unshift":"push"](()=>{g=l,n(6,g)})}return a.$$set=l=>{"endpoint"in l&&n(1,i=l.endpoint),"cmsendpoint"in l&&n(17,s=l.cmsendpoint),"env"in l&&n(18,c=l.env),"session"in l&&n(0,_=l.session),"playerid"in l&&n(19,f=l.playerid),"lang"in l&&n(20,M=l.lang),"selecteditem"in l&&n(21,A=l.selecteditem),"userroles"in l&&n(22,b=l.userroles),"clientstyling"in l&&n(2,h=l.clientstyling),"clientstylingurl"in l&&n(3,d=l.clientstylingurl),"mbsource"in l&&n(4,o=l.mbsource),"translationurl"in l&&n(23,p=l.translationurl),"activemenuitem"in l&&n(24,u=l.activemenuitem),"showaliasasusername"in l&&n(5,y=l.showaliasasusername)},a.$$.update=()=>{a.$$.dirty[0]&100663296&&n(7,v=!P||!m),a.$$.dirty[0]&1048576&&M&&J(),a.$$.dirty[0]&1572867&&i&&_&&f&&M&&K(),a.$$.dirty[0]&1441792&&s&&M&&c&&V(),a.$$.dirty[0]&16777216&&u&&S(),a.$$.dirty[0]&68&&h&&g&&e.setClientStyling(g,h),a.$$.dirty[0]&72&&d&&g&&e.setClientStylingURL(g,d),a.$$.dirty[0]&80&&o&&g&&e.setStreamStyling(g,`${o}.Style`,k),a.$$.dirty[0]&8388608&&p&&R()},[_,i,h,d,o,y,g,v,I,C,E,B,F,r,N,W,Z,s,c,f,M,A,b,p,u,P,m,Q,Y]}class q extends e.SvelteComponent{constructor(t){super(),e.init(this,t,ce,se,e.safe_not_equal,{endpoint:1,cmsendpoint:17,env:18,session:0,playerid:19,lang:20,selecteditem:21,userroles:22,clientstyling:2,clientstylingurl:3,mbsource:4,translationurl:23,activemenuitem:24,showaliasasusername:5},ee,[-1,-1])}get endpoint(){return this.$$.ctx[1]}set endpoint(t){this.$$set({endpoint:t}),e.flush()}get cmsendpoint(){return this.$$.ctx[17]}set cmsendpoint(t){this.$$set({cmsendpoint:t}),e.flush()}get env(){return this.$$.ctx[18]}set env(t){this.$$set({env:t}),e.flush()}get session(){return this.$$.ctx[0]}set session(t){this.$$set({session:t}),e.flush()}get playerid(){return this.$$.ctx[19]}set playerid(t){this.$$set({playerid:t}),e.flush()}get lang(){return this.$$.ctx[20]}set lang(t){this.$$set({lang:t}),e.flush()}get selecteditem(){return this.$$.ctx[21]}set selecteditem(t){this.$$set({selecteditem:t}),e.flush()}get userroles(){return this.$$.ctx[22]}set userroles(t){this.$$set({userroles:t}),e.flush()}get clientstyling(){return this.$$.ctx[2]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[3]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get mbsource(){return this.$$.ctx[4]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}get translationurl(){return this.$$.ctx[23]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}get activemenuitem(){return this.$$.ctx[24]}set activemenuitem(t){this.$$set({activemenuitem:t}),e.flush()}get showaliasasusername(){return this.$$.ctx[5]}set showaliasasusername(t){this.$$set({showaliasasusername:t}),e.flush()}}e.create_custom_element(q,{endpoint:{},cmsendpoint:{},env:{},session:{},playerid:{},lang:{},selecteditem:{},userroles:{},clientstyling:{},clientstylingurl:{},mbsource:{},translationurl:{},activemenuitem:{},showaliasasusername:{}},[],[],!0);exports.default=q;
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./PlayerAccountControllerNd-Bmnpf-ZS.cjs");require("../stencil/ui-skeleton-DCajaTYn.cjs");require("../lazy/general-logout-CrOc2_8P.cjs");function T(a,t){e.addMessages(a,t)}function $(a){e.$locale.set(a)}const z={en:{title:"My Account"},"zh-hk":{title:"我的帳戶"},fr:{title:"Mon compte"},tr:{title:"Hesabım"},ro:{title:"Contul meu"},es:{title:"Mi Cuenta"},pt:{title:"Minha Conta"},hr:{title:"Moj račun"},"pt-br":{title:"Minha conta"},"es-mx":{title:"Mi cuenta"},"en-us":{title:"My Account"}};function ee(a){e.append_styles(a,"svelte-j26xf8",'.PlayerAccountMenuContainer{background:var(--emw--color-primary, #184026);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;animation-name:fadeIn;animation-iteration-count:1;animation-timing-function:ease-in;animation-duration:0.3s}.PlayerAccountMenuContainer .PlayerAccountMenuItemWrapper{margin:0;word-break:break-all;display:flex;align-items:center}.PlayerAccountMenuContainer .PlayerAccountMenuItemWrapper span{display:flex;align-items:center}.PlayerAccountMenuContainer .skeletonLogOut{width:100%;border-radius:10px;overflow:hidden}.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:14px 20px;margin:2px 0;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, 10px);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, 10px);color:var(--emw--color-white, #FFFFFF)}.PlayerAccountMenuItemBox .PlayerAccountMenuItemTitle{margin-left:20px}.PlayerAccountMenuItemBox .PlayerAccountMenuItemIcon{width:20px;height:20px;padding-top:unset}.PlayerAccountMenuItemBox .PlayerAccountMenuItemIconMobile{width:30px;height: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)}.PlayerAccountItemWrap{display:flex;gap:20px;padding:16px 20px}.PlayerAccountItemWrap.PlayerAccountItemWrapMobile{padding:5px;width:100%;box-sizing:border-box}.PlayerAccountItemWrap ui-skeleton:last-child{flex:1}.PlayerAccountLogOutArea{background-color:rgba(253, 40, 57, 0.3);color:var(--emw--color-white, #FFFFFF);border-radius:var(--emw--border-radius-medium, 10px);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, 10px);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;min-height:900px}.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, 10px);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, #22B04E))}.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}@keyframes fadeIn{0%{opacity:0.01}1%{opacity:0}50%{opacity:0}100%{opacity:1}}')}function O(a,t,n){const r=a.slice();return r[43]=t[n],r}function j(a,t,n){const r=a.slice();return r[40]=t[n],r}function te(a){let t,n,r,i,s=(a[5]==="true"?a[12]:a[10])+"",c,_,f,M,A,b,h,d,o=a[14]&&ae(a),p=a[14]&&le(a),u=e.ensure_array_like(a[8]),y=[];for(let m=0;m<u.length;m+=1)y[m]=U(O(a,u,m));let P=!a[14]&&re(a);return{c(){t=e.element("div"),n=e.element("div"),o&&o.c(),r=e.space(),i=e.element("p"),c=e.text(s),_=e.space(),f=e.element("p"),M=e.text(a[11]),A=e.space(),p&&p.c(),b=e.space(),h=e.element("div");for(let m=0;m<y.length;m+=1)y[m].c();d=e.space(),P&&P.c(),e.attr(i,"class","PlayerAccountMenuUser"),e.attr(i,"translate","no"),e.attr(f,"class","PlayerAccountMenuEmail"),e.attr(f,"translate","no"),e.attr(n,"class","PlayerAccountMenuHeader "+(a[14]?"PlayerAccountMenuHeaderMobile":"")),e.attr(h,"class","PlayerAccountMenuList"),e.attr(t,"class","PlayerAccountMenuContainer "+(a[14]?"PlayerAccountMobileContainer":""))},m(m,v){e.insert(m,t,v),e.append(t,n),o&&o.m(n,null),e.append(n,r),e.append(n,i),e.append(i,c),e.append(n,_),e.append(n,f),e.append(f,M),e.append(n,A),p&&p.m(n,null),e.append(t,b),e.append(t,h);for(let g=0;g<y.length;g+=1)y[g]&&y[g].m(h,null);e.append(t,d),P&&P.m(t,null)},p(m,v){if(m[14]&&o.p(m,v),v[0]&5152&&s!==(s=(m[5]==="true"?m[12]:m[10])+"")&&e.set_data(c,s),v[0]&2048&&e.set_data(M,m[11]),m[14]&&p.p(m,v),v[0]&49920){u=e.ensure_array_like(m[8]);let g;for(g=0;g<u.length;g+=1){const k=O(m,u,g);y[g]?y[g].p(k,v):(y[g]=U(k),y[g].c(),y[g].m(h,null))}for(;g<y.length;g+=1)y[g].d(1);y.length=u.length}m[14]||P.p(m,v)},d(m){m&&e.detach(t),o&&o.d(),p&&p.d(),e.destroy_each(y,m),P&&P.d()}}}function ne(a){let t,n,r,i,s,c,_,f,M,A,b=a[14]&&ie(),h=e.ensure_array_like(Array(18)),d=[];for(let o=0;o<h.length;o+=1)d[o]=D(j(a,h,o));return{c(){t=e.element("div"),n=e.element("div"),b&&b.c(),r=e.space(),i=e.element("ui-skeleton"),s=e.space(),c=e.element("ui-skeleton"),_=e.space(),f=e.element("div");for(let o=0;o<d.length;o+=1)d[o].c();M=e.space(),A=e.element("div"),A.innerHTML='<ui-skeleton structure="rectangle" width="auto" height="60px"></ui-skeleton>',e.set_custom_element_data(i,"structure","title"),e.set_custom_element_data(i,"width","100px"),e.set_custom_element_data(i,"height","20px"),e.set_custom_element_data(i,"margin-top","20px"),e.set_custom_element_data(c,"structure","text"),e.set_custom_element_data(c,"width","200px"),e.set_custom_element_data(c,"height","20px"),e.attr(n,"class","PlayerAccountMenuHeader "+(a[14]?"PlayerAccountMenuHeaderMobile":"")),e.attr(f,"class","PlayerAccountMenuList"),e.attr(A,"class","skeletonLogOut"),e.attr(t,"class","PlayerAccountMenuContainer "+(a[14]?"PlayerAccountMobileContainer":""))},m(o,p){e.insert(o,t,p),e.append(t,n),b&&b.m(n,null),e.append(n,r),e.append(n,i),e.append(n,s),e.append(n,c),e.append(t,_),e.append(t,f);for(let u=0;u<d.length;u+=1)d[u]&&d[u].m(f,null);e.append(t,M),e.append(t,A)},p(o,p){if(p[0]&16384){h=e.ensure_array_like(Array(18));let u;for(u=0;u<h.length;u+=1){const y=j(o,h,u);d[u]?d[u].p(y,p):(d[u]=D(y),d[u].c(),d[u].m(f,null))}for(;u<d.length;u+=1)d[u].d(1);d.length=h.length}},d(o){o&&e.detach(t),b&&b.d(),e.destroy_each(d,o)}}}function ae(a){let t,n,r,i,s,c,_,f,M,A,b=a[13]("title")+"",h,d,o;return{c(){t=e.element("div"),n=e.svg_element("svg"),r=e.svg_element("defs"),i=e.svg_element("style"),s=e.text(".aaa{fill:var(--emw--color-white, #FFFFFF);}"),c=e.svg_element("g"),_=e.svg_element("g"),f=e.svg_element("path"),M=e.space(),A=e.element("h3"),h=e.text(b),e.attr(f,"class","aaa"),e.attr(f,"d","M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"),e.attr(f,"transform","translate(15 15) rotate(180)"),e.attr(_,"transform","translate(20 158)"),e.attr(c,"transform","translate(-20 -158)"),e.attr(n,"xmlns","http://www.w3.org/2000/svg"),e.attr(n,"width","15"),e.attr(n,"height","15"),e.attr(n,"viewBox","0 0 15 15"),e.attr(A,"class","PlayerAccountMenuCategoryTitle"),e.attr(t,"class","PlayerAccountMenuCategoryWrapper")},m(p,u){e.insert(p,t,u),e.append(t,n),e.append(n,r),e.append(r,i),e.append(i,s),e.append(n,c),e.append(c,_),e.append(_,f),e.append(t,M),e.append(t,A),e.append(A,h),d||(o=[e.listen(n,"click",a[16]),e.listen(A,"click",a[16])],d=!0)},p(p,u){u[0]&8192&&b!==(b=p[13]("title")+"")&&e.set_data(h,b)},d(p){p&&e.detach(t),d=!1,e.run_all(o)}}}function le(a){let t,n;return{c(){t=e.element("div"),n=e.element("general-logout"),e.set_custom_element_data(n,"endpoint",a[1]),e.set_custom_element_data(n,"session",a[0]),e.set_custom_element_data(n,"buttonlocation","PlayerAccountMenu"),e.set_custom_element_data(n,"clientstyling",a[2]),e.set_custom_element_data(n,"clientstylingurl",a[3]),e.set_custom_element_data(n,"mbsource",a[4]),e.attr(t,"class","PlayerAccountLogOutArea")},m(r,i){e.insert(r,t,i),e.append(t,n)},p(r,i){i[0]&2&&e.set_custom_element_data(n,"endpoint",r[1]),i[0]&1&&e.set_custom_element_data(n,"session",r[0]),i[0]&4&&e.set_custom_element_data(n,"clientstyling",r[2]),i[0]&8&&e.set_custom_element_data(n,"clientstylingurl",r[3]),i[0]&16&&e.set_custom_element_data(n,"mbsource",r[4])},d(r){r&&e.detach(t)}}}function U(a){let t,n,r,i,s,c,_=a[43].label+"",f,M,A,b,h;function d(){return a[27](a[43])}return{c(){t=e.element("div"),n=e.element("p"),r=e.element("img"),s=e.space(),c=e.element("span"),f=e.text(_),M=e.space(),e.attr(r,"class","PlayerAccountMenuItemIcon "+(a[14]?"PlayerAccountMenuItemIconMobile":"")),e.src_url_equal(r.src,i=a[43].img)||e.attr(r,"src",i),e.attr(c,"class","PlayerAccountMenuItemTitle"),e.attr(n,"class","PlayerAccountMenuItemWrapper"),e.attr(t,"class",A="PlayerAccountMenuItemBox "+(a[9]===a[43].id&&!a[14]?"PlayerAccountMenuActiveItemBox":""))},m(o,p){e.insert(o,t,p),e.append(t,n),e.append(n,r),e.append(n,s),e.append(n,c),e.append(c,f),e.append(t,M),b||(h=e.listen(t,"click",d),b=!0)},p(o,p){a=o,p[0]&256&&!e.src_url_equal(r.src,i=a[43].img)&&e.attr(r,"src",i),p[0]&256&&_!==(_=a[43].label+"")&&e.set_data(f,_),p[0]&768&&A!==(A="PlayerAccountMenuItemBox "+(a[9]===a[43].id&&!a[14]?"PlayerAccountMenuActiveItemBox":""))&&e.attr(t,"class",A)},d(o){o&&e.detach(t),b=!1,h()}}}function re(a){let t,n;return{c(){t=e.element("div"),n=e.element("general-logout"),e.set_custom_element_data(n,"endpoint",a[1]),e.set_custom_element_data(n,"session",a[0]),e.set_custom_element_data(n,"buttonlocation","PlayerAccountMenu"),e.set_custom_element_data(n,"clientstyling",a[2]),e.set_custom_element_data(n,"clientstylingurl",a[3]),e.set_custom_element_data(n,"mbsource",a[4]),e.attr(t,"class","PlayerAccountLogOutArea")},m(r,i){e.insert(r,t,i),e.append(t,n)},p(r,i){i[0]&2&&e.set_custom_element_data(n,"endpoint",r[1]),i[0]&1&&e.set_custom_element_data(n,"session",r[0]),i[0]&4&&e.set_custom_element_data(n,"clientstyling",r[2]),i[0]&8&&e.set_custom_element_data(n,"clientstylingurl",r[3]),i[0]&16&&e.set_custom_element_data(n,"mbsource",r[4])},d(r){r&&e.detach(t)}}}function ie(a){let t;return{c(){t=e.element("div"),t.innerHTML='<ui-skeleton structure="title" width="30px" height="40px"></ui-skeleton> <ui-skeleton structure="text" width="150px" height="40px"></ui-skeleton>',e.attr(t,"class","PlayerAccountMenuCategoryWrapper")},m(n,r){e.insert(n,t,r)},d(n){n&&e.detach(t)}}}function oe(a){let t;return{c(){t=e.element("ui-skeleton"),e.set_custom_element_data(t,"structure","circle"),e.set_custom_element_data(t,"size","20px")},m(n,r){e.insert(n,t,r)},d(n){n&&e.detach(t)}}}function D(a){let t,n,r,i,s=!a[14]&&oe();return{c(){t=e.element("div"),s&&s.c(),n=e.space(),r=e.element("ui-skeleton"),i=e.space(),e.set_custom_element_data(r,"structure","rectangle"),e.set_custom_element_data(r,"width","100%"),e.set_custom_element_data(r,"height",a[14]?"60px":"20px"),e.attr(t,"class","PlayerAccountItemWrap "+(a[14]?"PlayerAccountItemWrapMobile":""))},m(c,_){e.insert(c,t,_),s&&s.m(t,null),e.append(t,n),e.append(t,r),e.append(t,i)},p:e.noop,d(c){c&&e.detach(t),s&&s.d()}}}function se(a){let t;function n(s,c){return s[7]?ne:te}let r=n(a),i=r(a);return{c(){t=e.element("div"),i.c()},m(s,c){e.insert(s,t,c),i.m(t,null),a[28](t)},p(s,c){r===(r=n(s))&&i?i.p(s,c):(i.d(1),i=r(s),i&&(i.c(),i.m(t,null)))},i:e.noop,o:e.noop,d(s){s&&e.detach(t),i.d(),a[28](null)}}}function ce(a,t,n){let r;e.component_subscribe(a,e.$format,l=>n(13,r=l));let{endpoint:i=""}=t,{cmsendpoint:s=""}=t,{env:c=""}=t,{session:_=""}=t,{playerid:f=""}=t,{lang:M="en"}=t,{selecteditem:A=""}=t,{userroles:b=""}=t,{clientstyling:h=""}=t,{clientstylingurl:d=""}=t,{mbsource:o}=t,{translationurl:p=""}=t,{activemenuitem:u=""}=t,{showaliasasusername:y="false"}=t,P=!1,m=!1,v=!0,g,k,I=[],C,L=window.navigator.userAgent,N=e.getDevice(L)!=="PC",E="",B="",F="";window.matchMedia("(min-width: 768px)");const R=()=>{fetch(p).then(w=>w.json()).then(w=>{Object.keys(w).forEach(x=>{T(x,w[x])})}).catch(w=>{console.error(w)})};Object.keys(z).forEach(l=>{T(l,z[l])});const H=l=>{if(l.data)switch(l.data.type){case"AccountMenuDetails":availableMenuItemsArray=l.data.accountMenuInfo;break;case"UserSessionID":n(0,_=l.data.session);break;case"AliasUpdated":y==="true"&&l.data.alias&&n(12,F=l.data.alias);break}},G=()=>{let l=e.getDevice(L);if(l)return l==="PC"?"dk":"mtWeb"},V=()=>{const l=new URL(`${s}/${M}/profile-menu?env=${c}`);l.searchParams.append("device",G()),fetch(l.href).then(w=>w.json()).then(w=>{n(8,I=w),S()}).catch(w=>{console.error("Error getting menu items",w)}).finally(()=>{n(25,P=!0)})},X=()=>{let l=new URL(`${i}/v1/player/${f}/profile`);l.searchParams.append("userRoles",b);let w={method:"GET",headers:{"X-SessionID":_}};fetch(l.href,w).then(x=>x.json()).then(x=>{n(10,E=x.username),n(11,B=x.email),y==="true"&&n(12,F=x.alias||"")},x=>{console.error(x)}).finally(()=>{n(26,m=!0)})},W=l=>{window.postMessage({type:"ChangeAccountPage",page:l},window.location.href),n(9,C=l.id)},S=()=>{var l;n(9,C=(l=I.find(w=>w.path.includes(u)))==null?void 0:l.id)},Z=()=>{window.postMessage({type:"GoToHomepage"},window.location.href)},J=()=>{$(M)},K=()=>{X()};e.onMount(()=>(window.addEventListener("message",H,!1),()=>{window.removeEventListener("message",H)}));const Q=l=>W(l);function Y(l){e.binding_callbacks[l?"unshift":"push"](()=>{g=l,n(6,g)})}return a.$$set=l=>{"endpoint"in l&&n(1,i=l.endpoint),"cmsendpoint"in l&&n(17,s=l.cmsendpoint),"env"in l&&n(18,c=l.env),"session"in l&&n(0,_=l.session),"playerid"in l&&n(19,f=l.playerid),"lang"in l&&n(20,M=l.lang),"selecteditem"in l&&n(21,A=l.selecteditem),"userroles"in l&&n(22,b=l.userroles),"clientstyling"in l&&n(2,h=l.clientstyling),"clientstylingurl"in l&&n(3,d=l.clientstylingurl),"mbsource"in l&&n(4,o=l.mbsource),"translationurl"in l&&n(23,p=l.translationurl),"activemenuitem"in l&&n(24,u=l.activemenuitem),"showaliasasusername"in l&&n(5,y=l.showaliasasusername)},a.$$.update=()=>{a.$$.dirty[0]&100663296&&n(7,v=!P||!m),a.$$.dirty[0]&1048576&&M&&J(),a.$$.dirty[0]&1572867&&i&&_&&f&&M&&K(),a.$$.dirty[0]&1441792&&s&&M&&c&&V(),a.$$.dirty[0]&16777216&&u&&S(),a.$$.dirty[0]&68&&h&&g&&e.setClientStyling(g,h),a.$$.dirty[0]&72&&d&&g&&e.setClientStylingURL(g,d),a.$$.dirty[0]&80&&o&&g&&e.setStreamStyling(g,`${o}.Style`,k),a.$$.dirty[0]&8388608&&p&&R()},[_,i,h,d,o,y,g,v,I,C,E,B,F,r,N,W,Z,s,c,f,M,A,b,p,u,P,m,Q,Y]}class q extends e.SvelteComponent{constructor(t){super(),e.init(this,t,ce,se,e.safe_not_equal,{endpoint:1,cmsendpoint:17,env:18,session:0,playerid:19,lang:20,selecteditem:21,userroles:22,clientstyling:2,clientstylingurl:3,mbsource:4,translationurl:23,activemenuitem:24,showaliasasusername:5},ee,[-1,-1])}get endpoint(){return this.$$.ctx[1]}set endpoint(t){this.$$set({endpoint:t}),e.flush()}get cmsendpoint(){return this.$$.ctx[17]}set cmsendpoint(t){this.$$set({cmsendpoint:t}),e.flush()}get env(){return this.$$.ctx[18]}set env(t){this.$$set({env:t}),e.flush()}get session(){return this.$$.ctx[0]}set session(t){this.$$set({session:t}),e.flush()}get playerid(){return this.$$.ctx[19]}set playerid(t){this.$$set({playerid:t}),e.flush()}get lang(){return this.$$.ctx[20]}set lang(t){this.$$set({lang:t}),e.flush()}get selecteditem(){return this.$$.ctx[21]}set selecteditem(t){this.$$set({selecteditem:t}),e.flush()}get userroles(){return this.$$.ctx[22]}set userroles(t){this.$$set({userroles:t}),e.flush()}get clientstyling(){return this.$$.ctx[2]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[3]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get mbsource(){return this.$$.ctx[4]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}get translationurl(){return this.$$.ctx[23]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}get activemenuitem(){return this.$$.ctx[24]}set activemenuitem(t){this.$$set({activemenuitem:t}),e.flush()}get showaliasasusername(){return this.$$.ctx[5]}set showaliasasusername(t){this.$$set({showaliasasusername:t}),e.flush()}}e.create_custom_element(q,{endpoint:{},cmsendpoint:{},env:{},session:{},playerid:{},lang:{},selecteditem:{},userroles:{},clientstyling:{},clientstylingurl:{},mbsource:{},translationurl:{},activemenuitem:{},showaliasasusername:{}},[],[],!0);exports.default=q;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./PlayerAccountControllerNd-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./PlayerAccountControllerNd-Bmnpf-ZS.cjs");function g(n,{delay:e=0,duration:i=400,easing:l=t.identity}={}){const s=+getComputedStyle(n).opacity;return{delay:e,duration:i,easing:l,css:r=>`opacity: ${r*s}`}}function M(n){t.append_styles(n,"svelte-126fglp","*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.ModalWindow{display:flex;position:fixed;align-items:center;justify-content:center;width:100%;height:100%;z-index:300;top:0;left:0}")}function y(n){let e,i,l,s,r;const f=n[9].default,a=t.create_slot(f,n,n[8],null);return{c(){e=t.element("div"),i=t.element("div"),l=t.element("div"),a&&a.c(),t.attr(l,"class","ModalContainer"),t.attr(i,"class","ModalWindow"),t.attr(i,"id","Modal")},m(u,c){t.insert(u,e,c),t.append(e,i),t.append(i,l),a&&a.m(l,null),n[10](i),n[11](e),r=!0},p(u,c){n=u,a&&a.p&&(!r||c&256)&&t.update_slot_base(a,f,n,n[8],r?t.get_slot_changes(f,n[8],c,null):t.get_all_dirty_from_scope(n[8]),null)},i(u){r||(t.transition_in(a,u),u&&t.add_render_callback(()=>{r&&(s||(s=t.create_bidirectional_transition(i,g,{transitionDuration:n[1]},!0)),s.run(1))}),r=!0)},o(u){t.transition_out(a,u),u&&(s||(s=t.create_bidirectional_transition(i,g,{transitionDuration:n[1]},!1)),s.run(0)),r=!1},d(u){u&&t.detach(e),a&&a.d(u),n[10](null),u&&s&&s.end(),n[11](null)}}}function k(n){let e,i,l=n[0]&&y(n);return{c(){l&&l.c(),e=t.empty()},m(s,r){l&&l.m(s,r),t.insert(s,e,r),i=!0},p(s,[r]){s[0]?l?(l.p(s,r),r&1&&t.transition_in(l,1)):(l=y(s),l.c(),t.transition_in(l,1),l.m(e.parentNode,e)):l&&(t.group_outros(),t.transition_out(l,1,1,()=>{l=null}),t.check_outros())},i(s){i||(t.transition_in(l),i=!0)},o(s){t.transition_out(l),i=!1},d(s){s&&t.detach(e),l&&l.d(s)}}}function C(n,e,i){let{$$slots:l={},$$scope:s}=e,{show:r=!1}=e,{duration:f=350}=e,{clientstyling:a=""}=e,{clientstylingurl:u=""}=e,{mbsource:c}=e,{showmodaleventname:m="ShowLimitsConfirmationModal"}=e,d,w,_;const h=o=>{switch(o.data.type){case"ModalClosed":i(0,r=!1);break;case m:i(0,r=!0),window.postMessage({type:"DisableScroll"},window.location.href);break}};t.onMount(()=>(window.addEventListener("message",h,!1),()=>{window.removeEventListener("message",h)}));function S(o){t.binding_callbacks[o?"unshift":"push"](()=>{_=o,i(3,_)})}function v(o){t.binding_callbacks[o?"unshift":"push"](()=>{d=o,i(2,d)})}return n.$$set=o=>{"show"in o&&i(0,r=o.show),"duration"in o&&i(1,f=o.duration),"clientstyling"in o&&i(4,a=o.clientstyling),"clientstylingurl"in o&&i(5,u=o.clientstylingurl),"mbsource"in o&&i(6,c=o.mbsource),"showmodaleventname"in o&&i(7,m=o.showmodaleventname),"$$scope"in o&&i(8,s=o.$$scope)},n.$$.update=()=>{n.$$.dirty&20&&a&&d&&t.setClientStyling(d,a),n.$$.dirty&36&&u&&d&&t.setClientStylingURL(d,u),n.$$.dirty&68&&c&&d&&t.setStreamStyling(d,`${c}.Style`,w)},[r,f,d,_,a,u,c,m,s,l,S,v]}class b extends t.SvelteComponent{constructor(e){super(),t.init(this,e,C,k,t.safe_not_equal,{show:0,duration:1,clientstyling:4,clientstylingurl:5,mbsource:6,showmodaleventname:7},M)}get show(){return this.$$.ctx[0]}set show(e){this.$$set({show:e}),t.flush()}get duration(){return this.$$.ctx[1]}set duration(e){this.$$set({duration:e}),t.flush()}get clientstyling(){return this.$$.ctx[4]}set clientstyling(e){this.$$set({clientstyling:e}),t.flush()}get clientstylingurl(){return this.$$.ctx[5]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),t.flush()}get mbsource(){return this.$$.ctx[6]}set mbsource(e){this.$$set({mbsource:e}),t.flush()}get showmodaleventname(){return this.$$.ctx[7]}set showmodaleventname(e){this.$$set({showmodaleventname:e}),t.flush()}}t.create_custom_element(b,{show:{type:"Boolean"},duration:{},clientstyling:{},clientstylingurl:{},mbsource:{},showmodaleventname:{}},["default"],[],!0);exports.default=b;
|