@everymatrix/player-account-controller-nd 1.77.26 → 1.77.28
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-B7S6gAny.js → GeneralLogout-B8rv4tFC.js} +814 -793
- package/components/{GeneralLogout-B68fB0Ag.js → GeneralLogout-BGwYe9DN.js} +843 -822
- package/components/GeneralLogout-CuvnoUn1.cjs +21 -0
- package/components/PlayerAccountBettingHistory-B6li41wz.js +311 -0
- package/components/PlayerAccountBettingHistory-Cb9zY2cj.cjs +1 -0
- package/components/PlayerAccountBettingHistory-CsaDo2bp.js +310 -0
- package/components/{PlayerAccountBiometrics-N164JTVo.cjs → PlayerAccountBiometrics-CSSQNl0K.cjs} +1 -1
- package/components/{PlayerAccountBiometrics-DN0DiaE-.js → PlayerAccountBiometrics-CYo-pc6D.js} +21 -21
- package/components/{PlayerAccountBiometrics-CTbKGM6O.js → PlayerAccountBiometrics-DNcXZw6f.js} +18 -18
- package/components/{PlayerAccountClosureNd-CKplVy_C.js → PlayerAccountClosureNd-BKkMoG9c.js} +30 -30
- package/components/{PlayerAccountClosureNd-DoGc4hwo.js → PlayerAccountClosureNd-BSBWVcRg.js} +30 -30
- package/components/{PlayerAccountClosureNd-D_4NqP1I.cjs → PlayerAccountClosureNd-CV-kahvg.cjs} +1 -1
- package/components/{PlayerAccountControllerNd-CgfxWf0I.js → PlayerAccountControllerNd-BVWjpOcr.js} +318 -318
- package/components/{PlayerAccountControllerNd-CK6_pwZV.cjs → PlayerAccountControllerNd-Cklbtmem.cjs} +1 -1
- package/components/{PlayerAccountControllerNd-DiMTCNTy.js → PlayerAccountControllerNd-IWazzhJI.js} +319 -319
- package/components/{PlayerAccountGamingLimits-BG46h7H-.js → PlayerAccountGamingLimits-CYnZR3hE.js} +111 -111
- package/components/{PlayerAccountGamingLimits-CGgTnN0A.js → PlayerAccountGamingLimits-Cav6MkbQ.js} +113 -113
- package/components/{PlayerAccountGamingLimits-D2ACANvN.cjs → PlayerAccountGamingLimits-CiDMdVTv.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsConfirmationModal-BbbYhck5.js → PlayerAccountGamingLimitsConfirmationModal-Bjp-Xz89.js} +29 -29
- package/components/{PlayerAccountGamingLimitsConfirmationModal-cxg0byfD.cjs → PlayerAccountGamingLimitsConfirmationModal-CTub7J3N.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsConfirmationModal-DtlJoMoZ.js → PlayerAccountGamingLimitsConfirmationModal-DJQcMEpU.js} +32 -32
- package/components/PlayerAccountGamingLimitsGroupEdit-1hx4IMfZ.cjs +2 -0
- package/components/{PlayerAccountGamingLimitsGroupEdit-Duh2QdV5.js → PlayerAccountGamingLimitsGroupEdit-DDJtWF20.js} +124 -126
- package/components/{PlayerAccountGamingLimitsGroupEdit-umRcUJkL.js → PlayerAccountGamingLimitsGroupEdit-SZidy2nv.js} +124 -126
- package/components/{PlayerAccountGamingLimitsHistory2Nd-DZgTbSIV.js → PlayerAccountGamingLimitsHistory2Nd-CpkOUEtK.js} +42 -42
- package/components/{PlayerAccountGamingLimitsHistory2Nd-BZETzMkg.js → PlayerAccountGamingLimitsHistory2Nd-DElLe8aj.js} +70 -70
- package/components/{PlayerAccountGamingLimitsHistory2Nd-DP0ARXF3.cjs → PlayerAccountGamingLimitsHistory2Nd-DJfR3lP7.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsInfoCard-D82ffj5v.js → PlayerAccountGamingLimitsInfoCard-CC-aAGlA.js} +99 -99
- package/components/{PlayerAccountGamingLimitsInfoCard-BjWu-gx_.js → PlayerAccountGamingLimitsInfoCard-CUC66vKq.js} +96 -96
- package/components/{PlayerAccountGamingLimitsInfoCard-U79NxwaM.cjs → PlayerAccountGamingLimitsInfoCard-DiwA1vyP.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsPage2Gm16Nd-Du9t-o8b.cjs → PlayerAccountGamingLimitsPage2Gm16Nd-CUVFXINy.cjs} +2 -2
- package/components/{PlayerAccountGamingLimitsPage2Gm16Nd-BjPgxPFQ.js → PlayerAccountGamingLimitsPage2Gm16Nd-CmvNutID.js} +167 -167
- package/components/{PlayerAccountGamingLimitsPage2Gm16Nd-C1XmyX_Q.js → PlayerAccountGamingLimitsPage2Gm16Nd-sKfAnX6Q.js} +145 -145
- package/components/{PlayerAccountGamingLimitsPopup-DNjM-xS5.cjs → PlayerAccountGamingLimitsPopup-B9mkm7cd.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsPopup-Cv1cDKnX.js → PlayerAccountGamingLimitsPopup-Bot_8aLh.js} +28 -28
- package/components/{PlayerAccountGamingLimitsPopup-Cv-aXfl5.js → PlayerAccountGamingLimitsPopup-x-FJbrQl.js} +27 -27
- package/components/{PlayerAccountGamingLimitsWrapper2Nd-6v5Vqpv2.cjs → PlayerAccountGamingLimitsWrapper2Nd-CNRurEB7.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsWrapper2Nd-CukRIsbf.js → PlayerAccountGamingLimitsWrapper2Nd-DjAaw-TO.js} +36 -36
- package/components/{PlayerAccountGamingLimitsWrapper2Nd-BLvu3Z8N.js → PlayerAccountGamingLimitsWrapper2Nd-GMfshIYm.js} +36 -36
- package/components/{PlayerAccountGeneralConfirmationModal-DUX4i_DH.js → PlayerAccountGeneralConfirmationModal-BYeLoNt-.js} +31 -31
- package/components/{PlayerAccountGeneralConfirmationModal-CubAm_go.js → PlayerAccountGeneralConfirmationModal-C-kAOFaj.js} +28 -28
- package/components/{PlayerAccountGeneralConfirmationModal-BFCCI67b.cjs → PlayerAccountGeneralConfirmationModal-OYut1Lou.cjs} +1 -1
- package/components/{PlayerAccountMenuNd-tfrQKdTU.js → PlayerAccountMenuNd-DXKbZacO.js} +36 -36
- package/components/{PlayerAccountMenuNd-Bd1_vMP3.cjs → PlayerAccountMenuNd-Ls2Su9Yt.cjs} +1 -1
- package/components/{PlayerAccountMenuNd-DHqS0P4L.js → PlayerAccountMenuNd-mhZb6Vht.js} +33 -33
- package/components/{PlayerAccountModal-4wSDEEGF.js → PlayerAccountModal-CkGQdZtn.js} +25 -25
- package/components/{PlayerAccountModal-BykG9nRn.js → PlayerAccountModal-CsGNPC_Z.js} +27 -27
- package/components/{PlayerAccountModal-DaIBO9tP.cjs → PlayerAccountModal-CzspHDhO.cjs} +1 -1
- package/components/{PlayerAccountNotifications-CXl7IWNO.js → PlayerAccountNotifications-BaT3YM6b.js} +29 -29
- package/components/{PlayerAccountNotifications-TmdKWsN1.cjs → PlayerAccountNotifications-Bv6Rwyio.cjs} +1 -1
- package/components/{PlayerAccountNotifications-CU_Sk7Fy.js → PlayerAccountNotifications-CgZgKAgD.js} +34 -34
- package/components/{PlayerAccountProductRestriction-a-H_ExtS.js → PlayerAccountProductRestriction-CKsCHn9d.js} +1743 -1742
- package/components/{PlayerAccountProductRestriction-CrE6MGJn.js → PlayerAccountProductRestriction-Cfbg3atQ.js} +1728 -1727
- package/components/{PlayerAccountProductRestriction-DjEVk5jO.cjs → PlayerAccountProductRestriction-DpoND4WA.cjs} +276 -275
- package/components/{PlayerAccountSelfExclusionNd-BTcAWmvW.js → PlayerAccountSelfExclusionNd-BANDGaGw.js} +555 -556
- package/components/{PlayerAccountSelfExclusionNd-DgDSlq-1.cjs → PlayerAccountSelfExclusionNd-BX24BZLD.cjs} +76 -76
- package/components/{PlayerAccountSelfExclusionNd-CyAAKH9N.js → PlayerAccountSelfExclusionNd-DYXfjhxS.js} +117 -118
- package/components/{PlayerAccountTimeout-BAW6JSej.cjs → PlayerAccountTimeout-CaW4UDeS.cjs} +1 -1
- package/components/{PlayerAccountTimeout-C8y3f2eX.js → PlayerAccountTimeout-CkAAhRdI.js} +58 -58
- package/components/{PlayerAccountTimeout-CmIk8299.js → PlayerAccountTimeout-DTtDGouR.js} +58 -58
- package/components/{PlayerAccountTransactionsHistory-D6yXZvge.js → PlayerAccountTransactionsHistory-BEISxOCD.js} +70 -70
- package/components/{PlayerAccountTransactionsHistory-Dl8ZrejS.js → PlayerAccountTransactionsHistory-CA9h81DH.js} +73 -73
- package/components/{PlayerAccountTransactionsHistory-BpSkFvZM.cjs → PlayerAccountTransactionsHistory-Ck5t3YPa.cjs} +1 -1
- package/components/{PlayerActiveBonuses-BJMLwwEy.cjs → PlayerActiveBonuses-CATHe2_y.cjs} +1 -1
- package/components/{PlayerActiveBonuses-B3ZY-i7I.js → PlayerActiveBonuses-LSqzOYvL.js} +65 -65
- package/components/{PlayerActiveBonuses-CAtSMQRx.js → PlayerActiveBonuses-VWO_GaqX.js} +73 -73
- package/components/{PlayerBonusCard-Dr8AZijg.js → PlayerBonusCard--qb8e-ea.js} +53 -53
- package/components/{PlayerBonusCard-sLAlQfva.cjs → PlayerBonusCard-B-Iz8g8U.cjs} +1 -1
- package/components/{PlayerBonusCard-kO8TJ12K.js → PlayerBonusCard-Bi4RwIt8.js} +77 -77
- package/components/{PlayerBonusHistory-BILYFfaZ.js → PlayerBonusHistory-D3JMqQ1W.js} +44 -44
- package/components/{PlayerBonusHistory-CWaOuUnk.js → PlayerBonusHistory-dwkpkHGx.js} +40 -40
- package/components/{PlayerBonusHistory-Cwgr5bZ0.cjs → PlayerBonusHistory-uA_20Log.cjs} +2 -2
- package/components/{PlayerChangePasswordNd-DcgU3jc2.cjs → PlayerChangePasswordNd-BgLvdsST.cjs} +1 -1
- package/components/{PlayerChangePasswordNd-D5P7iM08.js → PlayerChangePasswordNd-CF-Gc3RM.js} +50 -50
- package/components/{PlayerChangePasswordNd-C6nZBel9.js → PlayerChangePasswordNd-C_teg6rf.js} +53 -53
- package/components/PlayerDeposit-BsyYS9xx.cjs +1 -0
- package/components/{PlayerDeposit-crcevJId.js → PlayerDeposit-Cxvn0950.js} +80 -80
- package/components/{PlayerDeposit-DXCI-KWZ.js → PlayerDeposit-R6mKQO3D.js} +77 -77
- package/components/{PlayerGamingHistory-DQ2cwZ88.cjs → PlayerGamingHistory-0FmLxz1h.cjs} +1 -1
- package/components/{PlayerGamingHistory-BqGrgLj4.js → PlayerGamingHistory-D3bmJJkM.js} +35 -35
- package/components/{PlayerGamingHistory-B_p2msdG.js → PlayerGamingHistory-PKZaCKx5.js} +35 -35
- package/components/{PlayerPendingWithdrawals-B-2hjJz5.js → PlayerPendingWithdrawals-B2rAxqnP.js} +22 -22
- package/components/{PlayerPendingWithdrawals-D91Xvx6H.js → PlayerPendingWithdrawals-BAUtmuFG.js} +25 -25
- package/components/{PlayerPendingWithdrawals-DfQ_PvkY.cjs → PlayerPendingWithdrawals-Dvq9lK8F.cjs} +1 -1
- package/components/{PlayerProfileInfo-2ZsS4q4o.js → PlayerProfileInfo-BH4MG2zT.js} +146 -146
- package/components/{PlayerProfileInfo-BZFKx-Ev.js → PlayerProfileInfo-CMZQudLl.js} +156 -156
- package/components/{PlayerProfileInfo-Bw0MBwjE.cjs → PlayerProfileInfo-Deu0sU5P.cjs} +1 -1
- package/components/{PlayerRealityCheck-Dq-gt_RN.js → PlayerRealityCheck-BxMdONqn.js} +33 -33
- package/components/{PlayerRealityCheck-CeNS_RZM.cjs → PlayerRealityCheck-DIybZvyh.cjs} +1 -1
- package/components/{PlayerRealityCheck-InyQfbHa.js → PlayerRealityCheck-gwZYkAv4.js} +33 -33
- package/components/{PlayerTransactionHistory-uijdIro7.js → PlayerTransactionHistory-BCkkn7Gz.js} +18 -18
- package/components/{PlayerTransactionHistory-DPvvu8Wp.cjs → PlayerTransactionHistory-BU4_vLyx.cjs} +1 -1
- package/components/{PlayerTransactionHistory-DPaPGnAD.js → PlayerTransactionHistory-BivHmaaF.js} +15 -15
- package/components/{PlayerWithdrawal-BcaC1sEF.cjs → PlayerWithdrawal-CkSCfQ4A.cjs} +1 -1
- package/components/{PlayerWithdrawal-DlJyWTWz.js → PlayerWithdrawal-D3BS3CgB.js} +18 -18
- package/components/{PlayerWithdrawal-Ca3nyrq1.js → PlayerWithdrawal-DPTuaEYy.js} +15 -15
- 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-DVdesoKw.js → general-logout-B4vZx6dL.js} +1 -1
- package/lazy/{general-logout-ogc5B8Ji.js → general-logout-CFifid5z.js} +1 -1
- package/lazy/{general-logout-Cuw0WTVU.cjs → general-logout-CaSBnKJR.cjs} +1 -1
- package/lazy/pam-change-password-B-DJH9Te.js +612 -0
- package/lazy/pam-change-password-ExVqp8Pv.js +596 -0
- package/lazy/pam-change-password-wXas5Bv7.cjs +1 -0
- package/lazy/{player-account-betting-history-BnuYgfz5.cjs → player-account-betting-history-CQhAzvJh.cjs} +1 -1
- package/lazy/{player-account-betting-history-DB7SWVMf.js → player-account-betting-history-MSKUZjuA.js} +1 -1
- package/lazy/{player-account-betting-history-B7MxiEkP.js → player-account-betting-history-yVUgLdIX.js} +1 -1
- package/lazy/{player-account-biometrics-DeAzlJdO.cjs → player-account-biometrics-B0HqtKat.cjs} +1 -1
- package/lazy/{player-account-biometrics-BXsU_sE0.js → player-account-biometrics-BhmcLku7.js} +1 -1
- package/lazy/{player-account-biometrics-CeulBGp5.js → player-account-biometrics-DbxZ4BG1.js} +1 -1
- package/lazy/{player-account-closure-nd-Dwg0bSTB.js → player-account-closure-nd-B3MP33c3.js} +1 -1
- package/lazy/{player-account-closure-nd-DEMb2A8b.js → player-account-closure-nd-C1iC5a6Q.js} +1 -1
- package/lazy/{player-account-closure-nd-BcQvzsjG.cjs → player-account-closure-nd-COo62_QY.cjs} +1 -1
- package/lazy/{player-account-gaming-limits-ClsPLLSy.cjs → player-account-gaming-limits-B2KO28YV.cjs} +1 -1
- package/lazy/{player-account-gaming-limits-TN3EfL5n.js → player-account-gaming-limits-HHNQGgVG.js} +1 -1
- package/lazy/{player-account-gaming-limits-BSYEMsoi.js → player-account-gaming-limits-__D6g8d7.js} +1 -1
- package/lazy/{player-account-gaming-limits-confirmation-modal-D3wasWG7.js → player-account-gaming-limits-confirmation-modal-CCWDRskw.js} +1 -1
- package/lazy/{player-account-gaming-limits-confirmation-modal-CbG4LOMl.js → player-account-gaming-limits-confirmation-modal-CNx_GNcU.js} +1 -1
- package/lazy/{player-account-gaming-limits-confirmation-modal-2XAxsk8a.cjs → player-account-gaming-limits-confirmation-modal-DptuD-WG.cjs} +1 -1
- package/lazy/{player-account-gaming-limits-group-edit-W6w3bUaa.js → player-account-gaming-limits-group-edit-D1qG9G3U.js} +1 -1
- package/lazy/{player-account-gaming-limits-group-edit-Cbgji1aT.cjs → player-account-gaming-limits-group-edit-DXnnPr1t.cjs} +1 -1
- package/lazy/{player-account-gaming-limits-group-edit-DBtidqvO.js → player-account-gaming-limits-group-edit-DeXbYsfI.js} +1 -1
- package/lazy/{player-account-gaming-limits-history-2-nd-C-aJ3hDx.js → player-account-gaming-limits-history-2-nd-BVzWVE6E.js} +1 -1
- package/lazy/{player-account-gaming-limits-history-2-nd-DUZfPvI1.js → player-account-gaming-limits-history-2-nd-DLiZSopT.js} +1 -1
- package/lazy/{player-account-gaming-limits-history-2-nd-DLHlw1AT.cjs → player-account-gaming-limits-history-2-nd-rvV633ed.cjs} +1 -1
- package/lazy/{player-account-gaming-limits-info-card-DxwC5q4u.js → player-account-gaming-limits-info-card-BZjepG64.js} +1 -1
- package/lazy/{player-account-gaming-limits-info-card-DjwL97ZD.js → player-account-gaming-limits-info-card-BojxNDe7.js} +1 -1
- package/lazy/{player-account-gaming-limits-info-card-D8afiePi.cjs → player-account-gaming-limits-info-card-Dl5AVfDR.cjs} +1 -1
- package/lazy/{player-account-gaming-limits-page-2-gm16-nd-DBM7mLxy.cjs → player-account-gaming-limits-page-2-gm16-nd-CQPmk4GR.cjs} +1 -1
- package/lazy/{player-account-gaming-limits-page-2-gm16-nd-DQyQmd7P.js → player-account-gaming-limits-page-2-gm16-nd-CoPW-eLA.js} +1 -1
- package/lazy/{player-account-gaming-limits-page-2-gm16-nd-_ZcXjjXC.js → player-account-gaming-limits-page-2-gm16-nd-D3ThljIR.js} +1 -1
- package/lazy/{player-account-gaming-limits-popup-12-StXOd.js → player-account-gaming-limits-popup-BiJNbgIG.js} +1 -1
- package/lazy/{player-account-gaming-limits-popup-Bv6plEqM.js → player-account-gaming-limits-popup-ChM9VGei.js} +1 -1
- package/lazy/{player-account-gaming-limits-popup-D7YK5_5C.cjs → player-account-gaming-limits-popup-j1TLTbPI.cjs} +1 -1
- package/lazy/{player-account-gaming-limits-wrapper-2-nd-c5xe6K8g.js → player-account-gaming-limits-wrapper-2-nd-CF4BZGK-.js} +1 -1
- package/lazy/{player-account-gaming-limits-wrapper-2-nd-Ck6D8KyT.cjs → player-account-gaming-limits-wrapper-2-nd-CMZO6pTF.cjs} +1 -1
- package/lazy/{player-account-gaming-limits-wrapper-2-nd-DVPwlkoR.js → player-account-gaming-limits-wrapper-2-nd-VKUtDvNp.js} +1 -1
- package/lazy/{player-account-general-confirmation-modal-dxk867hP.cjs → player-account-general-confirmation-modal-BrbI8dlI.cjs} +1 -1
- package/lazy/{player-account-general-confirmation-modal-uEYZyamH.js → player-account-general-confirmation-modal-Do5LkZYR.js} +1 -1
- package/lazy/{player-account-general-confirmation-modal-AJdgRzsa.js → player-account-general-confirmation-modal-UBLL_fqf.js} +1 -1
- package/lazy/{player-account-menu-nd-Cv-AGVUw.js → player-account-menu-nd-C7KEvONQ.js} +1 -1
- package/lazy/{player-account-menu-nd-BjIxs0nR.cjs → player-account-menu-nd-D9nyjNTs.cjs} +1 -1
- package/lazy/{player-account-menu-nd-D8VxbmN_.js → player-account-menu-nd-DVgBIHo_.js} +1 -1
- package/lazy/{player-account-modal-DRRWXq62.js → player-account-modal-Bh_RfFqA.js} +1 -1
- package/lazy/{player-account-modal-ca0Q-tEq.js → player-account-modal-ClOyjy2-.js} +1 -1
- package/lazy/{player-account-modal-D90UWU9E.cjs → player-account-modal-rWUqp0nX.cjs} +1 -1
- package/lazy/{player-account-notifications-BhL4-cXz.js → player-account-notifications-C_gxDkRc.js} +1 -1
- package/lazy/{player-account-notifications-C48axSZz.js → player-account-notifications-Cp0VsRg0.js} +1 -1
- package/lazy/{player-account-notifications-HmlxkcKC.cjs → player-account-notifications-Do0RTOxs.cjs} +1 -1
- package/lazy/{player-account-product-restriction-CnEK-qES.cjs → player-account-product-restriction-BptSfY-X.cjs} +1 -1
- package/lazy/{player-account-product-restriction-ChqJSukk.js → player-account-product-restriction-_EqreKWC.js} +1 -1
- package/lazy/{player-account-product-restriction-B5vTEQJA.js → player-account-product-restriction-i8J7ljC7.js} +1 -1
- package/lazy/{player-account-self-exclusion-nd-DkQD_GHB.cjs → player-account-self-exclusion-nd-BV2RBXNh.cjs} +1 -1
- package/lazy/{player-account-self-exclusion-nd-BeO8m5GB.js → player-account-self-exclusion-nd-B_YARsgl.js} +1 -1
- package/lazy/{player-account-self-exclusion-nd-bKAOcyxk.js → player-account-self-exclusion-nd-CtR-st1p.js} +1 -1
- package/lazy/{player-account-timeout-B5wXkDm_.js → player-account-timeout-B5CC-xhy.js} +1 -1
- package/lazy/{player-account-timeout-CYTRtlHw.js → player-account-timeout-DJW4e1NW.js} +1 -1
- package/lazy/{player-account-timeout-BEgzi5xc.cjs → player-account-timeout-v3-rM2VF.cjs} +1 -1
- package/lazy/{player-account-transactions-history-sYJtAlwu.js → player-account-transactions-history-escbRwvG.js} +1 -1
- package/lazy/{player-account-transactions-history-B6ozoXVi.cjs → player-account-transactions-history-mkoEUozA.cjs} +1 -1
- package/lazy/{player-account-transactions-history-B6i518Fv.js → player-account-transactions-history-tTZykFHo.js} +1 -1
- package/lazy/{player-active-bonuses-BeUJUZdA.js → player-active-bonuses-BHHYgNqe.js} +1 -1
- package/lazy/{player-active-bonuses-BPOdypEq.cjs → player-active-bonuses-CAw-zrFj.cjs} +1 -1
- package/lazy/{player-active-bonuses-7NSiWuQh.js → player-active-bonuses-CW09OXoB.js} +1 -1
- package/lazy/{player-bonus-card-BzETYx5X.cjs → player-bonus-card-B0ePpBW6.cjs} +1 -1
- package/lazy/{player-bonus-card-Dd1Wq6sq.js → player-bonus-card-Cg28SuJB.js} +1 -1
- package/lazy/{player-bonus-card-Cu5tZ4Q1.js → player-bonus-card-Dy6ovb3B.js} +1 -1
- package/lazy/{player-bonus-history-Cf1aqLWD.js → player-bonus-history-CMG4T0F9.js} +1 -1
- package/lazy/{player-bonus-history-nzo1Z9Ju.cjs → player-bonus-history-Dn16h4mr.cjs} +1 -1
- package/lazy/{player-bonus-history-CKSzOiqs.js → player-bonus-history-Ue2yslT6.js} +1 -1
- package/lazy/{player-change-password-nd-CT-j9Mus.js → player-change-password-nd-CKPCgTq0.js} +1 -1
- package/lazy/{player-change-password-nd-66ShWNLZ.cjs → player-change-password-nd-DkqeEJow.cjs} +1 -1
- package/lazy/{player-change-password-nd-DGgA7m_P.js → player-change-password-nd-l35cXHd3.js} +1 -1
- package/lazy/{player-deposit-CqirtdJl.js → player-deposit--8qY8jO_.js} +1 -1
- package/lazy/{player-deposit-BZ6xsWuo.cjs → player-deposit-DiH8nFHh.cjs} +1 -1
- package/lazy/{player-deposit-05Whcs6m.js → player-deposit-EEdyLxBj.js} +1 -1
- package/lazy/{player-gaming-history-C5FBYpPC.js → player-gaming-history-CAIBbFaf.js} +1 -1
- package/lazy/{player-gaming-history-CM7lvf_D.js → player-gaming-history-DF5lSi7z.js} +1 -1
- package/lazy/{player-gaming-history-BpJ6OZfi.cjs → player-gaming-history-b7DGRsL1.cjs} +1 -1
- package/lazy/player-kyc-verification-BsD9xOxB.cjs +1 -0
- package/lazy/player-kyc-verification-DFVyD2pZ.js +577 -0
- package/lazy/player-kyc-verification-Dg2FrA-j.js +550 -0
- package/lazy/{player-pending-withdrawals-Dn6GZB7P.cjs → player-pending-withdrawals-BgLfYIrX.cjs} +1 -1
- package/lazy/{player-pending-withdrawals-BDYEX52o.js → player-pending-withdrawals-D-172z23.js} +1 -1
- package/lazy/{player-pending-withdrawals-Bl7e239l.js → player-pending-withdrawals-Drd9CD-n.js} +1 -1
- package/lazy/{player-profile-info-UYfBrDEy.js → player-profile-info-C7KWsk8n.js} +1 -1
- package/lazy/{player-profile-info-MoWOKgMD.js → player-profile-info-DhYJdsrQ.js} +1 -1
- package/lazy/{player-profile-info-dO1iCC0m.cjs → player-profile-info-Dm9kg_X_.cjs} +1 -1
- package/lazy/{player-reality-check-Cf1B1jcP.cjs → player-reality-check-BVP9fFdH.cjs} +1 -1
- package/lazy/{player-reality-check-CjHjoMRW.js → player-reality-check-Bi8DyNZ4.js} +1 -1
- package/lazy/{player-reality-check-DsU_d5NT.js → player-reality-check-l_MnmhrZ.js} +1 -1
- package/lazy/{player-transaction-history-CRHU7fzZ.js → player-transaction-history-BR1t_mLP.js} +1 -1
- package/lazy/{player-transaction-history-piy1HFB5.js → player-transaction-history-Cf-W9afZ.js} +1 -1
- package/lazy/{player-transaction-history-CMhzp_P1.cjs → player-transaction-history-D6I-TDIi.cjs} +1 -1
- package/lazy/{player-withdrawal-60XeSK7f.cjs → player-withdrawal-BHFCPLI7.cjs} +1 -1
- package/lazy/{player-withdrawal-BwlX7PlY.js → player-withdrawal-BfNJHCWn.js} +1 -1
- package/lazy/{player-withdrawal-C7oyEwmG.js → player-withdrawal-p9vQKXJX.js} +1 -1
- package/lazy/ui-skeleton-93Cdsh30.cjs +1 -0
- package/lazy/ui-skeleton-Cj04vBs8.js +519 -0
- package/lazy/ui-skeleton-DRpDMSEQ.js +503 -0
- package/lazy/user-deposit-withdrawal-CuaSWQdU.js +557 -0
- package/lazy/user-deposit-withdrawal-D-aRq7Pf.cjs +1 -0
- package/lazy/user-deposit-withdrawal-TH61qPjc.js +573 -0
- package/lazy/{user-transaction-history-BlBU4gAV.js → user-transaction-history-9NQOfzj1.js} +217 -217
- package/lazy/user-transaction-history-B4416U-a.js +655 -0
- package/lazy/user-transaction-history-qqa609b4.cjs +1 -0
- package/package.json +1 -1
- package/stencil/{checkbox-group-input_15-D3FRWuj0.js → checkbox-group-input_15-BUXmpr2Q.js} +2652 -2655
- package/stencil/{checkbox-group-input_15-B5Ds2UOW.cjs → checkbox-group-input_15-BodHUPg_.cjs} +247 -246
- package/stencil/{checkbox-group-input_15-BM5gpYl9.js → checkbox-group-input_15-Cy_0zVc_.js} +2653 -2656
- package/stencil/{pam-change-password-9aef79f2-D72kUKSw.js → pam-change-password-9aef79f2-BNgDrDv9.js} +1 -1
- package/stencil/{pam-change-password-9aef79f2-Dt8W0vU9.cjs → pam-change-password-9aef79f2-DnIvxA00.cjs} +1 -1
- package/stencil/{pam-change-password-9aef79f2-CiIY76CO.js → pam-change-password-9aef79f2-iXJSyAvL.js} +1 -1
- package/stencil/{pam-change-password-CcAUY9B7.cjs → pam-change-password-Ck-zBJY5.cjs} +1 -1
- package/stencil/{pam-change-password-CU3mAiuZ.js → pam-change-password-Dl2uIdAN.js} +2 -2
- package/stencil/{pam-change-password-BpeUIh9v.js → pam-change-password-LR7MtUYb.js} +2 -2
- package/stencil/{player-kyc-verification-B5N-mUsb.cjs → player-kyc-verification-CGKtnxQe.cjs} +1 -1
- package/stencil/{player-kyc-verification-BcYfRz-0.js → player-kyc-verification-CnIEyEs4.js} +1 -1
- package/stencil/{player-kyc-verification-CDXwUxAT.js → player-kyc-verification-kBxv-q8U.js} +1 -1
- package/stencil/{ui-skeleton-BnL5S9Us.js → ui-skeleton-BKQpcC4u.js} +2 -2
- package/stencil/{ui-skeleton-G7FBgn0i.js → ui-skeleton-BfwUvYZZ.js} +2 -2
- package/stencil/{ui-skeleton-CwDEhgVj.cjs → ui-skeleton-CZQcAhe4.cjs} +1 -1
- package/stencil/{ui-skeleton-ae35c6f2-DuM1Ti3H.js → ui-skeleton-ae35c6f2-BWB3hWjf.js} +1 -1
- package/stencil/{ui-skeleton-ae35c6f2-CQcW4E70.cjs → ui-skeleton-ae35c6f2-BkANnQ7H.cjs} +1 -1
- package/stencil/{ui-skeleton-ae35c6f2-CqU_apeo.js → ui-skeleton-ae35c6f2-CHwBUquH.js} +1 -1
- package/stencil/{user-deposit-withdrawal-hJDuyRXR.js → user-deposit-withdrawal-BIw0fi-T.js} +1 -1
- package/stencil/{user-deposit-withdrawal-DEF061EP.cjs → user-deposit-withdrawal-C4NF3mk2.cjs} +1 -1
- package/stencil/{user-deposit-withdrawal-rBoxNrtz.js → user-deposit-withdrawal-DEXnYh3x.js} +1 -1
- package/stencil/{user-transaction-history-Z-RnYUPd.js → user-transaction-history-C5tTyvBr.js} +2 -2
- package/stencil/{user-transaction-history-gxow-s0a.cjs → user-transaction-history-CFcieKbG.cjs} +1 -1
- package/stencil/{user-transaction-history-Ci0wzKy6.js → user-transaction-history-KNwoproP.js} +2 -2
- package/stencil/{user-transaction-history_2-CA5AZ9xr.cjs → user-transaction-history_2-BdgXSIA4.cjs} +286 -285
- package/stencil/{user-transaction-history_2-DShZg23m.js → user-transaction-history_2-CcWHOflK.js} +4073 -4076
- package/stencil/{user-transaction-history_2-C6ShkFnL.js → user-transaction-history_2-DsaQIqXl.js} +4059 -4062
- package/components/GeneralLogout-TofSUXEw.cjs +0 -21
- package/components/PlayerAccountBettingHistory-85apG_ux.cjs +0 -1
- package/components/PlayerAccountBettingHistory-DX1yy3ZD.js +0 -311
- package/components/PlayerAccountBettingHistory-wJcw5ZXP.js +0 -310
- package/components/PlayerAccountGamingLimitsGroupEdit-Cc754_2q.cjs +0 -2
- package/components/PlayerDeposit-BLDWbMBK.cjs +0 -1
- package/lazy/pam-change-password-B-SdCGI3.cjs +0 -1
- package/lazy/pam-change-password-D6syf3e8.js +0 -596
- package/lazy/pam-change-password-DV-E_4HF.js +0 -612
- package/lazy/player-kyc-verification-BYydtYuT.js +0 -550
- package/lazy/player-kyc-verification-C0b815VY.js +0 -577
- package/lazy/player-kyc-verification-Dw6Oexuv.cjs +0 -1
- package/lazy/ui-skeleton-1qjOvHmn.cjs +0 -1
- package/lazy/ui-skeleton-BHVvD9U2.js +0 -519
- package/lazy/ui-skeleton-DF3KILkC.js +0 -503
- package/lazy/user-deposit-withdrawal-BnaDc3VL.js +0 -573
- package/lazy/user-deposit-withdrawal-C90EKbLN.js +0 -557
- package/lazy/user-deposit-withdrawal-CzEqnq0A.cjs +0 -1
- package/lazy/user-transaction-history-BjwoIjN7.cjs +0 -1
- package/lazy/user-transaction-history-CpZqSG5B.js +0 -655
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as K, $ as F, S as J, i as Q, s as V, f as x,
|
|
1
|
+
import { a as K, $ as F, S as J, i as Q, s as V, f as x, b as X, K as Y, d as S, r as Z, L as $, M as ee, N as te, O as ne, P as oe, c as O, h as L, j as m, l as j, k as _, m as B, t as T, e as l, p as re, q as ie, u as ae, n as le, v as P, w as se, x as ce, y as fe, z as me, A as de, B as ue } from "./GeneralLogout-B8rv4tFC.js";
|
|
2
2
|
function W(n, e) {
|
|
3
3
|
K(n, e);
|
|
4
4
|
}
|
|
@@ -52,7 +52,7 @@ const q = {
|
|
|
52
52
|
}
|
|
53
53
|
};
|
|
54
54
|
function be(n) {
|
|
55
|
-
|
|
55
|
+
X(n, "svelte-8g0wf4", '*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.GeneralConfirmationWrapper{position:fixed;top:0;right:0;bottom:0;left:0;background-color:var(--emw--color-background, rgba(0, 0, 0, 0.7));display:flex;justify-content:center;align-items:center;z-index:300;color:var(--emw--color-typography, #ffffff)}.GeneralConfirmationTitle{margin-bottom:20px}.GeneralConfirmationContainer{position:relative;background:linear-gradient(to right, var(--emw--color-primary-variant, #184026), var(--emw--color-secondary-variant, #013e5c));border:5px solid transparent;padding:60px 30px 30px;background-clip:padding-box;border-radius:var(--emw--border-radius-medium, 10px);text-align:center}.GeneralConfirmationContainer::before{content:"";position:absolute;top:-4px;left:-8px;width:103%;height:105%;z-index:-1;background:linear-gradient(to right, var(--emw--color-primary, #22b04e), color-mix(in srgb, var(--emw--color-secondary, #e98b0f) 80%, black 20%), #22b04e);opacity:0.5;border-radius:inherit;filter:blur(6px)}.GeneralConfirmationContainer::after{position:absolute;top:-4px;bottom:-4px;left:-4px;right:-4px;background:linear-gradient(to right, color-mix(in srgb, var(--emw--color-primary-variant, #184026) 80%, white 10%), color-mix(in srgb, var(--emw--color-secondary-variant, #013e5c) 80%, white 10%));content:"";z-index:-1;border-radius:var(--emw--border-radius-medium, 10px)}.GeneralConfirmationContainerMobile{padding:40px;max-width:330px}.GeneralConfirmationContainerMobile .GeneralConfirmationControlAreaMobile .GeneralCancelButton,.GeneralConfirmationContainerMobile .GeneralConfirmationControlAreaMobile .GeneralConfirmButton{width:120px;height:auto;font-size:var(--emw--font-size-x-small, 12px)}.GeneralConfirmationContent{font-size:var(--emw--font-size-medium, 18px);font-weight:300}.GeneralConfirmationControlArea{display:flex;gap:10px;direction:ltr;margin-top:30px}.GeneralConfirmationControlArea .GeneralCancelButton,.GeneralConfirmationControlArea .GeneralConfirmButton{flex:1;background:transparent;border:1px solid var(--emw--color-gray-100, #bfcbc3);color:var(--emw--color-gray-100, #bfcbc3);cursor:pointer;border-radius:var(--emw--button-border-radius, 50px);width:200px;height:50px;font-size:var(--emw--font-size-small, 16px);text-transform:uppercase;text-align:center;transition-duration:0.3s;box-sizing:border-box;padding:10px}.GeneralConfirmationControlArea .GeneralConfirmButton{background-color:var(--emw--color-primary, #22b04e);border:2px solid var(--emw--button-border-color, #063b17);border-radius:var(--emw--button-border-radius, 50px);color:var(--emw--button-typography, var(--emw--button-text-color, #ffffff))}.ModalCloseBtn{position:absolute;display:flex;align-items:center;justify-content:center;top:5px;right:5px;padding:8px;border-radius:50%;cursor:pointer;transition:all 150ms ease-in-out}.ModalCloseBtn svg{width:35px;height:40px}.ModalCloseBtn:hover{background:rgba(255, 255, 255, 0.2)}.GeneralConfirmationMobileWrapper{border:none;padding:0}');
|
|
56
56
|
}
|
|
57
57
|
const he = (n) => ({}), E = (n) => ({});
|
|
58
58
|
function Ce(n) {
|
|
@@ -62,11 +62,11 @@ function Ce(n) {
|
|
|
62
62
|
e = P("svg"), t = P("path"), l(t, "stroke-linecap", "round"), l(t, "stroke-linejoin", "round"), l(t, "stroke-width", "2"), l(t, "d", "M6 18L18 6M6 6l12 12"), l(e, "class", "w-6 h-6"), l(e, "fill", "none"), l(e, "stroke", "currentColor"), l(e, "viewBox", "0 0 24 24"), l(e, "xmlns", "http://www.w3.org/2000/svg");
|
|
63
63
|
},
|
|
64
64
|
m(i, c) {
|
|
65
|
-
|
|
65
|
+
L(i, e, c), m(e, t);
|
|
66
66
|
},
|
|
67
|
-
p:
|
|
67
|
+
p: le,
|
|
68
68
|
d(i) {
|
|
69
|
-
i &&
|
|
69
|
+
i && S(e);
|
|
70
70
|
}
|
|
71
71
|
};
|
|
72
72
|
}
|
|
@@ -74,24 +74,24 @@ function H(n) {
|
|
|
74
74
|
let e, t, i;
|
|
75
75
|
return {
|
|
76
76
|
c() {
|
|
77
|
-
e = _("div"), t = _("h2"), i =
|
|
77
|
+
e = _("div"), t = _("h2"), i = T(
|
|
78
78
|
/*modaltitle*/
|
|
79
79
|
n[1]
|
|
80
80
|
), l(e, "class", "GeneralConfirmationTitle");
|
|
81
81
|
},
|
|
82
82
|
m(c, d) {
|
|
83
|
-
|
|
83
|
+
L(c, e, d), m(e, t), m(t, i);
|
|
84
84
|
},
|
|
85
85
|
p(c, d) {
|
|
86
86
|
d & /*modaltitle*/
|
|
87
|
-
2 &&
|
|
87
|
+
2 && O(
|
|
88
88
|
i,
|
|
89
89
|
/*modaltitle*/
|
|
90
90
|
c[1]
|
|
91
91
|
);
|
|
92
92
|
},
|
|
93
93
|
d(c) {
|
|
94
|
-
c &&
|
|
94
|
+
c && S(e);
|
|
95
95
|
}
|
|
96
96
|
};
|
|
97
97
|
}
|
|
@@ -102,10 +102,10 @@ function R(n) {
|
|
|
102
102
|
), i, c, d;
|
|
103
103
|
return {
|
|
104
104
|
c() {
|
|
105
|
-
e = _("button"), i =
|
|
105
|
+
e = _("button"), i = T(t), l(e, "class", "GeneralCancelButton");
|
|
106
106
|
},
|
|
107
107
|
m(f, w) {
|
|
108
|
-
|
|
108
|
+
L(f, e, w), m(e, i), c || (d = j(
|
|
109
109
|
e,
|
|
110
110
|
"click",
|
|
111
111
|
/*click_handler*/
|
|
@@ -115,10 +115,10 @@ function R(n) {
|
|
|
115
115
|
p(f, w) {
|
|
116
116
|
w & /*$_*/
|
|
117
117
|
16 && t !== (t = /*$_*/
|
|
118
|
-
f[4]("cancel") + "") &&
|
|
118
|
+
f[4]("cancel") + "") && O(i, t);
|
|
119
119
|
},
|
|
120
120
|
d(f) {
|
|
121
|
-
f &&
|
|
121
|
+
f && S(e), c = !1, d();
|
|
122
122
|
}
|
|
123
123
|
};
|
|
124
124
|
}
|
|
@@ -130,7 +130,7 @@ function pe(n) {
|
|
|
130
130
|
const g = (
|
|
131
131
|
/*#slots*/
|
|
132
132
|
n[16].close
|
|
133
|
-
), A =
|
|
133
|
+
), A = Y(
|
|
134
134
|
g,
|
|
135
135
|
n,
|
|
136
136
|
/*$$scope*/
|
|
@@ -146,13 +146,13 @@ function pe(n) {
|
|
|
146
146
|
);
|
|
147
147
|
return {
|
|
148
148
|
c() {
|
|
149
|
-
e = _("div"), t = _("div"), i = _("span"), C && C.c(), c = B(), s && s.c(), d = B(), f = _("div"), w = B(), b = _("div"), a && a.c(), y = B(), h = _("button"), k =
|
|
149
|
+
e = _("div"), t = _("div"), i = _("span"), C && C.c(), c = B(), s && s.c(), d = B(), f = _("div"), w = B(), b = _("div"), a && a.c(), y = B(), h = _("button"), k = T(v), l(i, "class", "ModalCloseBtn"), l(i, "role", "button"), l(f, "class", "GeneralConfirmationContent"), l(h, "class", "GeneralConfirmButton"), l(b, "class", "GeneralConfirmationControlArea " + /*isMobile*/
|
|
150
150
|
(n[5] ? "GeneralConfirmationControlAreaMobile" : "")), l(t, "class", "GeneralConfirmationContainer " + /*isMobile*/
|
|
151
151
|
(n[5] ? "GeneralConfirmationContainerMobile" : "")), l(e, "class", "GeneralConfirmationWrapper " + /*isMobile*/
|
|
152
152
|
(n[5] ? "GeneralConfirmationMobileWrapper" : ""));
|
|
153
153
|
},
|
|
154
154
|
m(r, p) {
|
|
155
|
-
|
|
155
|
+
L(r, e, p), m(e, t), m(t, i), C && C.m(i, null), m(t, c), s && s.m(t, null), m(t, d), m(t, f), f.innerHTML = /*modaltext*/
|
|
156
156
|
n[0], m(t, w), m(t, b), a && a.m(b, null), m(b, y), m(b, h), m(h, k), n[19](e), u = !0, G || (M = [
|
|
157
157
|
j(
|
|
158
158
|
i,
|
|
@@ -170,19 +170,19 @@ function pe(n) {
|
|
|
170
170
|
},
|
|
171
171
|
p(r, [p]) {
|
|
172
172
|
A && A.p && (!u || p & /*$$scope*/
|
|
173
|
-
32768) &&
|
|
173
|
+
32768) && te(
|
|
174
174
|
A,
|
|
175
175
|
g,
|
|
176
176
|
r,
|
|
177
177
|
/*$$scope*/
|
|
178
178
|
r[15],
|
|
179
|
-
u ?
|
|
179
|
+
u ? oe(
|
|
180
180
|
g,
|
|
181
181
|
/*$$scope*/
|
|
182
182
|
r[15],
|
|
183
183
|
p,
|
|
184
184
|
he
|
|
185
|
-
) :
|
|
185
|
+
) : ne(
|
|
186
186
|
/*$$scope*/
|
|
187
187
|
r[15]
|
|
188
188
|
),
|
|
@@ -193,23 +193,23 @@ function pe(n) {
|
|
|
193
193
|
r[0]), /*hascancelbutton*/
|
|
194
194
|
r[2] ? a ? a.p(r, p) : (a = R(r), a.c(), a.m(b, y)) : a && (a.d(1), a = null), (!u || p & /*$_*/
|
|
195
195
|
16) && v !== (v = /*$_*/
|
|
196
|
-
r[4]("confirm") + "") &&
|
|
196
|
+
r[4]("confirm") + "") && O(k, v);
|
|
197
197
|
},
|
|
198
198
|
i(r) {
|
|
199
|
-
u || (
|
|
199
|
+
u || (ee(C, r), u = !0);
|
|
200
200
|
},
|
|
201
201
|
o(r) {
|
|
202
|
-
|
|
202
|
+
$(C, r), u = !1;
|
|
203
203
|
},
|
|
204
204
|
d(r) {
|
|
205
|
-
r &&
|
|
205
|
+
r && S(e), C && C.d(r), s && s.d(), a && a.d(), n[19](null), G = !1, Z(M);
|
|
206
206
|
}
|
|
207
207
|
};
|
|
208
208
|
}
|
|
209
209
|
function xe(n, e, t) {
|
|
210
210
|
let i;
|
|
211
|
-
|
|
212
|
-
let { $$slots: c = {}, $$scope: d } = e, { modaltext: f = "Are you sure that you want to perform this action?" } = e, { modaltitle: w = "" } = e, { hascancelbutton: b = !1 } = e, { modalconfirmevent: y = {} } = e, { modalcancelevent: h = {} } = e, { lang: v = "en" } = e, { clientstyling: k = "" } = e, { clientstylingurl: u = "" } = e, { translationurl: G = "" } = e, { mbsource: M } = e, g, A = window.navigator.userAgent, C =
|
|
211
|
+
re(n, ue, (o) => t(4, i = o));
|
|
212
|
+
let { $$slots: c = {}, $$scope: d } = e, { modaltext: f = "Are you sure that you want to perform this action?" } = e, { modaltitle: w = "" } = e, { hascancelbutton: b = !1 } = e, { modalconfirmevent: y = {} } = e, { modalcancelevent: h = {} } = e, { lang: v = "en" } = e, { clientstyling: k = "" } = e, { clientstylingurl: u = "" } = e, { translationurl: G = "" } = e, { mbsource: M } = e, g, A = window.navigator.userAgent, C = ie(A) !== "PC";
|
|
213
213
|
const s = () => {
|
|
214
214
|
window.postMessage({ type: "ModalClosed" }, window.location.href);
|
|
215
215
|
}, a = (o) => {
|
|
@@ -229,11 +229,11 @@ function xe(n, e, t) {
|
|
|
229
229
|
const p = () => {
|
|
230
230
|
ge(v);
|
|
231
231
|
};
|
|
232
|
-
|
|
232
|
+
ae(() => () => {
|
|
233
233
|
});
|
|
234
234
|
const U = () => a("cancel"), D = () => a("confirm");
|
|
235
235
|
function I(o) {
|
|
236
|
-
|
|
236
|
+
se[o ? "unshift" : "push"](() => {
|
|
237
237
|
g = o, t(3, g);
|
|
238
238
|
});
|
|
239
239
|
}
|
|
@@ -353,7 +353,7 @@ class we extends J {
|
|
|
353
353
|
this.$$set({ mbsource: e }), x();
|
|
354
354
|
}
|
|
355
355
|
}
|
|
356
|
-
|
|
356
|
+
de(we, { modaltext: {}, modaltitle: {}, hascancelbutton: { type: "Boolean" }, modalconfirmevent: {}, modalcancelevent: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, ["close"], [], !0);
|
|
357
357
|
export {
|
|
358
358
|
we as default
|
|
359
359
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./GeneralLogout-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./GeneralLogout-CuvnoUn1.cjs");function A(o,t){e.addMessages(o,t)}function W(o){e.$locale.set(o)}const z={en:{cancel:"Cancel",confirm:"Confirm"},fr:{cancel:"Annuler",confirm:"Confirmer"},ro:{cancel:"Anulează",confirm:"Confirmă"},es:{cancel:"Cancelar",confirm:"Confirmar"},pt:{cancel:"Cancelar",confirm:"Confirmar"},"zh-hk":{cancel:"取消",confirm:"確認"},hr:{cancel:"Otkaži",confirm:"Potvrdi"},"pt-br":{cancel:"Cancelar",confirm:"confirme"},"es-mx":{cancel:"Cancelar",confirm:"Confirmar"},tr:{cancel:"İptal etmek",confirm:"Onaylamak"},"en-us":{cancel:"Cancel",confirm:"Confirm"}};function N(o){e.append_styles(o,"svelte-8g0wf4",'*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.GeneralConfirmationWrapper{position:fixed;top:0;right:0;bottom:0;left:0;background-color:var(--emw--color-background, rgba(0, 0, 0, 0.7));display:flex;justify-content:center;align-items:center;z-index:300;color:var(--emw--color-typography, #ffffff)}.GeneralConfirmationTitle{margin-bottom:20px}.GeneralConfirmationContainer{position:relative;background:linear-gradient(to right, var(--emw--color-primary-variant, #184026), var(--emw--color-secondary-variant, #013e5c));border:5px solid transparent;padding:60px 30px 30px;background-clip:padding-box;border-radius:var(--emw--border-radius-medium, 10px);text-align:center}.GeneralConfirmationContainer::before{content:"";position:absolute;top:-4px;left:-8px;width:103%;height:105%;z-index:-1;background:linear-gradient(to right, var(--emw--color-primary, #22b04e), color-mix(in srgb, var(--emw--color-secondary, #e98b0f) 80%, black 20%), #22b04e);opacity:0.5;border-radius:inherit;filter:blur(6px)}.GeneralConfirmationContainer::after{position:absolute;top:-4px;bottom:-4px;left:-4px;right:-4px;background:linear-gradient(to right, color-mix(in srgb, var(--emw--color-primary-variant, #184026) 80%, white 10%), color-mix(in srgb, var(--emw--color-secondary-variant, #013e5c) 80%, white 10%));content:"";z-index:-1;border-radius:var(--emw--border-radius-medium, 10px)}.GeneralConfirmationContainerMobile{padding:40px;max-width:330px}.GeneralConfirmationContainerMobile .GeneralConfirmationControlAreaMobile .GeneralCancelButton,.GeneralConfirmationContainerMobile .GeneralConfirmationControlAreaMobile .GeneralConfirmButton{width:120px;height:auto;font-size:var(--emw--font-size-x-small, 12px)}.GeneralConfirmationContent{font-size:var(--emw--font-size-medium, 18px);font-weight:300}.GeneralConfirmationControlArea{display:flex;gap:10px;direction:ltr;margin-top:30px}.GeneralConfirmationControlArea .GeneralCancelButton,.GeneralConfirmationControlArea .GeneralConfirmButton{flex:1;background:transparent;border:1px solid var(--emw--color-gray-100, #bfcbc3);color:var(--emw--color-gray-100, #bfcbc3);cursor:pointer;border-radius:var(--emw--button-border-radius, 50px);width:200px;height:50px;font-size:var(--emw--font-size-small, 16px);text-transform:uppercase;text-align:center;transition-duration:0.3s;box-sizing:border-box;padding:10px}.GeneralConfirmationControlArea .GeneralConfirmButton{background-color:var(--emw--color-primary, #22b04e);border:2px solid var(--emw--button-border-color, #063b17);border-radius:var(--emw--button-border-radius, 50px);color:var(--emw--button-typography, var(--emw--button-text-color, #ffffff))}.ModalCloseBtn{position:absolute;display:flex;align-items:center;justify-content:center;top:5px;right:5px;padding:8px;border-radius:50%;cursor:pointer;transition:all 150ms ease-in-out}.ModalCloseBtn svg{width:35px;height:40px}.ModalCloseBtn:hover{background:rgba(255, 255, 255, 0.2)}.GeneralConfirmationMobileWrapper{border:none;padding:0}')}const q=o=>({}),B=o=>({});function E(o){let t,n;return{c(){t=e.svg_element("svg"),n=e.svg_element("path"),e.attr(n,"stroke-linecap","round"),e.attr(n,"stroke-linejoin","round"),e.attr(n,"stroke-width","2"),e.attr(n,"d","M6 18L18 6M6 6l12 12"),e.attr(t,"class","w-6 h-6"),e.attr(t,"fill","none"),e.attr(t,"stroke","currentColor"),e.attr(t,"viewBox","0 0 24 24"),e.attr(t,"xmlns","http://www.w3.org/2000/svg")},m(i,s){e.insert(i,t,s),e.append(t,n)},p:e.noop,d(i){i&&e.detach(t)}}}function S(o){let t,n,i;return{c(){t=e.element("div"),n=e.element("h2"),i=e.text(o[1]),e.attr(t,"class","GeneralConfirmationTitle")},m(s,m){e.insert(s,t,m),e.append(t,n),e.append(n,i)},p(s,m){m&2&&e.set_data(i,s[1])},d(s){s&&e.detach(t)}}}function L(o){let t,n=o[4]("cancel")+"",i,s,m;return{c(){t=e.element("button"),i=e.text(n),e.attr(t,"class","GeneralCancelButton")},m(f,C){e.insert(f,t,C),e.append(t,i),s||(m=e.listen(t,"click",o[17]),s=!0)},p(f,C){C&16&&n!==(n=f[4]("cancel")+"")&&e.set_data(i,n)},d(f){f&&e.detach(t),s=!1,m()}}}function H(o){let t,n,i,s,m,f,C,g,_,b,x=o[4]("confirm")+"",v,d,w,y;const u=o[16].close,k=e.create_slot(u,o,o[15],B),h=k||E();let c=o[1]&&S(o),a=o[2]&&L(o);return{c(){t=e.element("div"),n=e.element("div"),i=e.element("span"),h&&h.c(),s=e.space(),c&&c.c(),m=e.space(),f=e.element("div"),C=e.space(),g=e.element("div"),a&&a.c(),_=e.space(),b=e.element("button"),v=e.text(x),e.attr(i,"class","ModalCloseBtn"),e.attr(i,"role","button"),e.attr(f,"class","GeneralConfirmationContent"),e.attr(b,"class","GeneralConfirmButton"),e.attr(g,"class","GeneralConfirmationControlArea "+(o[5]?"GeneralConfirmationControlAreaMobile":"")),e.attr(n,"class","GeneralConfirmationContainer "+(o[5]?"GeneralConfirmationContainerMobile":"")),e.attr(t,"class","GeneralConfirmationWrapper "+(o[5]?"GeneralConfirmationMobileWrapper":""))},m(l,p){e.insert(l,t,p),e.append(t,n),e.append(n,i),h&&h.m(i,null),e.append(n,s),c&&c.m(n,null),e.append(n,m),e.append(n,f),f.innerHTML=o[0],e.append(n,C),e.append(n,g),a&&a.m(g,null),e.append(g,_),e.append(g,b),e.append(b,v),o[19](t),d=!0,w||(y=[e.listen(i,"click",o[6]),e.listen(b,"click",o[18])],w=!0)},p(l,[p]){k&&k.p&&(!d||p&32768)&&e.update_slot_base(k,u,l,l[15],d?e.get_slot_changes(u,l[15],p,q):e.get_all_dirty_from_scope(l[15]),B),l[1]?c?c.p(l,p):(c=S(l),c.c(),c.m(n,m)):c&&(c.d(1),c=null),(!d||p&1)&&(f.innerHTML=l[0]),l[2]?a?a.p(l,p):(a=L(l),a.c(),a.m(g,_)):a&&(a.d(1),a=null),(!d||p&16)&&x!==(x=l[4]("confirm")+"")&&e.set_data(v,x)},i(l){d||(e.transition_in(h,l),d=!0)},o(l){e.transition_out(h,l),d=!1},d(l){l&&e.detach(t),h&&h.d(l),c&&c.d(),a&&a.d(),o[19](null),w=!1,e.run_all(y)}}}function R(o,t,n){let i;e.component_subscribe(o,e.$format,r=>n(4,i=r));let{$$slots:s={},$$scope:m}=t,{modaltext:f="Are you sure that you want to perform this action?"}=t,{modaltitle:C=""}=t,{hascancelbutton:g=!1}=t,{modalconfirmevent:_={}}=t,{modalcancelevent:b={}}=t,{lang:x="en"}=t,{clientstyling:v=""}=t,{clientstylingurl:d=""}=t,{translationurl:w=""}=t,{mbsource:y}=t,u,k=window.navigator.userAgent,h=e.getDevice(k)!=="PC";const c=()=>{window.postMessage({type:"ModalClosed"},window.location.href)},a=r=>{r==="confirm"&&_&&window.postMessage(_,window.location.href),r==="cancel"&&b&&window.postMessage(b,window.location.href),c()},l=()=>{fetch(w).then(G=>G.json()).then(G=>{Object.keys(G).forEach(M=>{A(M,G[M])})}).catch(G=>{console.log(G)})};Object.keys(z).forEach(r=>{A(r,z[r])});const p=()=>{W(x)};e.onMount(()=>()=>{});const T=()=>a("cancel"),O=()=>a("confirm");function P(r){e.binding_callbacks[r?"unshift":"push"](()=>{u=r,n(3,u)})}return o.$$set=r=>{"modaltext"in r&&n(0,f=r.modaltext),"modaltitle"in r&&n(1,C=r.modaltitle),"hascancelbutton"in r&&n(2,g=r.hascancelbutton),"modalconfirmevent"in r&&n(8,_=r.modalconfirmevent),"modalcancelevent"in r&&n(9,b=r.modalcancelevent),"lang"in r&&n(10,x=r.lang),"clientstyling"in r&&n(11,v=r.clientstyling),"clientstylingurl"in r&&n(12,d=r.clientstylingurl),"translationurl"in r&&n(13,w=r.translationurl),"mbsource"in r&&n(14,y=r.mbsource),"$$scope"in r&&n(15,m=r.$$scope)},o.$$.update=()=>{o.$$.dirty&1025&&f&&x&&p(),o.$$.dirty&2056&&v&&u&&e.setClientStyling(u,v),o.$$.dirty&4104&&d&&u&&e.setClientStylingURL(u,d),o.$$.dirty&16392&&y&&u&&e.setStreamStyling(u,`${y}.Style`),o.$$.dirty&8192&&w&&l()},[f,C,g,u,i,h,c,a,_,b,x,v,d,w,y,m,s,T,O,P]}class j extends e.SvelteComponent{constructor(t){super(),e.init(this,t,R,H,e.safe_not_equal,{modaltext:0,modaltitle:1,hascancelbutton:2,modalconfirmevent:8,modalcancelevent:9,lang:10,clientstyling:11,clientstylingurl:12,translationurl:13,mbsource:14},N)}get modaltext(){return this.$$.ctx[0]}set modaltext(t){this.$$set({modaltext:t}),e.flush()}get modaltitle(){return this.$$.ctx[1]}set modaltitle(t){this.$$set({modaltitle:t}),e.flush()}get hascancelbutton(){return this.$$.ctx[2]}set hascancelbutton(t){this.$$set({hascancelbutton:t}),e.flush()}get modalconfirmevent(){return this.$$.ctx[8]}set modalconfirmevent(t){this.$$set({modalconfirmevent:t}),e.flush()}get modalcancelevent(){return this.$$.ctx[9]}set modalcancelevent(t){this.$$set({modalcancelevent:t}),e.flush()}get lang(){return this.$$.ctx[10]}set lang(t){this.$$set({lang:t}),e.flush()}get clientstyling(){return this.$$.ctx[11]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[12]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get translationurl(){return this.$$.ctx[13]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}get mbsource(){return this.$$.ctx[14]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}}e.create_custom_element(j,{modaltext:{},modaltitle:{},hascancelbutton:{type:"Boolean"},modalconfirmevent:{},modalcancelevent:{},lang:{},clientstyling:{},clientstylingurl:{},translationurl:{},mbsource:{}},["close"],[],!0);exports.default=j;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { a as me, $ as de, S as ge, i as fe, s as ye, f as I,
|
|
2
|
-
import "../stencil/ui-skeleton-
|
|
3
|
-
import "../lazy/general-logout-
|
|
1
|
+
import { a as me, $ as de, S as ge, i as fe, s as ye, f as I, b as pe, n as j, d as F, h as L, k as b, p as he, q as be, u as V, v as Ae, x as Me, C as z, D as ee, j as a, m as k, g as m, e as d, c as T, t as W, r as we, l as O, w as H, a2 as X, y as ve, z as Pe, A as _e, B as xe } from "./GeneralLogout-BGwYe9DN.js";
|
|
2
|
+
import "../stencil/ui-skeleton-BKQpcC4u.js";
|
|
3
|
+
import "../lazy/general-logout-B4vZx6dL.js";
|
|
4
4
|
function Z(n, e) {
|
|
5
5
|
me(n, e);
|
|
6
6
|
}
|
|
@@ -43,7 +43,7 @@ const J = {
|
|
|
43
43
|
}
|
|
44
44
|
};
|
|
45
45
|
function Ie(n) {
|
|
46
|
-
|
|
46
|
+
pe(n, "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}}');
|
|
47
47
|
}
|
|
48
48
|
function K(n, e, t) {
|
|
49
49
|
const l = n.slice();
|
|
@@ -84,7 +84,7 @@ function Ce(n) {
|
|
|
84
84
|
(n[12] ? "PlayerAccountMobileContainer" : ""));
|
|
85
85
|
},
|
|
86
86
|
m(y, C) {
|
|
87
|
-
|
|
87
|
+
L(y, e, C), a(e, t), u && u.m(t, null), a(t, l), a(t, r), a(r, s), a(t, g), a(t, h), a(h, M), a(t, P), c && c.m(t, null), a(e, w), a(e, A);
|
|
88
88
|
for (let p = 0; p < o.length; p += 1)
|
|
89
89
|
o[p] && o[p].m(A, null);
|
|
90
90
|
a(e, v), _ && _.m(e, null);
|
|
@@ -123,7 +123,7 @@ function Ce(n) {
|
|
|
123
123
|
y[12] || _.p(y, C);
|
|
124
124
|
},
|
|
125
125
|
d(y) {
|
|
126
|
-
y &&
|
|
126
|
+
y && F(e), u && u.d(), c && c.d(), ee(o, y), _ && _.d();
|
|
127
127
|
}
|
|
128
128
|
};
|
|
129
129
|
}
|
|
@@ -144,7 +144,7 @@ function Fe(n) {
|
|
|
144
144
|
(n[12] ? "PlayerAccountMobileContainer" : ""));
|
|
145
145
|
},
|
|
146
146
|
m(c, f) {
|
|
147
|
-
|
|
147
|
+
L(c, e, f), a(e, t), A && A.m(t, null), a(t, l), a(t, r), a(t, s), a(t, g), a(e, h), a(e, M);
|
|
148
148
|
for (let o = 0; o < u.length; o += 1)
|
|
149
149
|
u[o] && u[o].m(M, null);
|
|
150
150
|
a(e, P), a(e, w);
|
|
@@ -164,7 +164,7 @@ function Fe(n) {
|
|
|
164
164
|
}
|
|
165
165
|
},
|
|
166
166
|
d(c) {
|
|
167
|
-
c &&
|
|
167
|
+
c && F(e), A && A.d(), ee(u, c);
|
|
168
168
|
}
|
|
169
169
|
};
|
|
170
170
|
}
|
|
@@ -178,14 +178,14 @@ function Le(n) {
|
|
|
178
178
|
e = b("div"), t = H("svg"), l = H("defs"), r = H("style"), s = W(".aaa{fill:var(--emw--color-white, #FFFFFF);}"), g = H("g"), h = H("g"), M = H("path"), P = k(), w = b("h3"), v = W(A), d(M, "class", "aaa"), d(M, "d", "M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"), d(M, "transform", "translate(15 15) rotate(180)"), d(h, "transform", "translate(20 158)"), d(g, "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(w, "class", "PlayerAccountMenuCategoryTitle"), d(e, "class", "PlayerAccountMenuCategoryWrapper");
|
|
179
179
|
},
|
|
180
180
|
m(f, o) {
|
|
181
|
-
|
|
182
|
-
|
|
181
|
+
L(f, e, o), a(e, t), a(t, l), a(l, r), a(r, s), a(t, g), a(g, h), a(h, M), a(e, P), a(e, w), a(w, v), u || (c = [
|
|
182
|
+
O(
|
|
183
183
|
t,
|
|
184
184
|
"click",
|
|
185
185
|
/*goToHome*/
|
|
186
186
|
n[14]
|
|
187
187
|
),
|
|
188
|
-
|
|
188
|
+
O(
|
|
189
189
|
w,
|
|
190
190
|
"click",
|
|
191
191
|
/*goToHome*/
|
|
@@ -199,7 +199,7 @@ function Le(n) {
|
|
|
199
199
|
f[11]("title") + "") && T(v, A);
|
|
200
200
|
},
|
|
201
201
|
d(f) {
|
|
202
|
-
f &&
|
|
202
|
+
f && F(e), u = !1, we(c);
|
|
203
203
|
}
|
|
204
204
|
};
|
|
205
205
|
}
|
|
@@ -235,7 +235,7 @@ function Ee(n) {
|
|
|
235
235
|
), d(e, "class", "PlayerAccountLogOutArea");
|
|
236
236
|
},
|
|
237
237
|
m(l, r) {
|
|
238
|
-
|
|
238
|
+
L(l, e, r), a(e, t);
|
|
239
239
|
},
|
|
240
240
|
p(l, r) {
|
|
241
241
|
r[0] & /*endpoint*/
|
|
@@ -271,7 +271,7 @@ function Ee(n) {
|
|
|
271
271
|
);
|
|
272
272
|
},
|
|
273
273
|
d(l) {
|
|
274
|
-
l &&
|
|
274
|
+
l && F(e);
|
|
275
275
|
}
|
|
276
276
|
};
|
|
277
277
|
}
|
|
@@ -299,7 +299,7 @@ function Y(n) {
|
|
|
299
299
|
n[12] ? "PlayerAccountMenuActiveItemBox" : ""));
|
|
300
300
|
},
|
|
301
301
|
m(c, f) {
|
|
302
|
-
|
|
302
|
+
L(c, e, f), a(e, t), a(t, l), a(t, s), a(t, g), a(g, M), a(e, P), A || (v = O(e, "click", u), A = !0);
|
|
303
303
|
},
|
|
304
304
|
p(c, f) {
|
|
305
305
|
n = c, f[0] & /*menuItems*/
|
|
@@ -313,7 +313,7 @@ function Y(n) {
|
|
|
313
313
|
n[12] ? "PlayerAccountMenuActiveItemBox" : "")) && d(e, "class", w);
|
|
314
314
|
},
|
|
315
315
|
d(c) {
|
|
316
|
-
c &&
|
|
316
|
+
c && F(e), A = !1, v();
|
|
317
317
|
}
|
|
318
318
|
};
|
|
319
319
|
}
|
|
@@ -349,7 +349,7 @@ function Be(n) {
|
|
|
349
349
|
), d(e, "class", "PlayerAccountLogOutArea");
|
|
350
350
|
},
|
|
351
351
|
m(l, r) {
|
|
352
|
-
|
|
352
|
+
L(l, e, r), a(e, t);
|
|
353
353
|
},
|
|
354
354
|
p(l, r) {
|
|
355
355
|
r[0] & /*endpoint*/
|
|
@@ -385,7 +385,7 @@ function Be(n) {
|
|
|
385
385
|
);
|
|
386
386
|
},
|
|
387
387
|
d(l) {
|
|
388
|
-
l &&
|
|
388
|
+
l && F(e);
|
|
389
389
|
}
|
|
390
390
|
};
|
|
391
391
|
}
|
|
@@ -396,10 +396,10 @@ function He(n) {
|
|
|
396
396
|
e = b("div"), e.innerHTML = '<ui-skeleton structure="title" width="30px" height="40px"></ui-skeleton> <ui-skeleton structure="text" width="150px" height="40px"></ui-skeleton>', d(e, "class", "PlayerAccountMenuCategoryWrapper");
|
|
397
397
|
},
|
|
398
398
|
m(t, l) {
|
|
399
|
-
|
|
399
|
+
L(t, e, l);
|
|
400
400
|
},
|
|
401
401
|
d(t) {
|
|
402
|
-
t &&
|
|
402
|
+
t && F(e);
|
|
403
403
|
}
|
|
404
404
|
};
|
|
405
405
|
}
|
|
@@ -410,10 +410,10 @@ function We(n) {
|
|
|
410
410
|
e = b("ui-skeleton"), m(e, "structure", "circle"), m(e, "size", "20px");
|
|
411
411
|
},
|
|
412
412
|
m(t, l) {
|
|
413
|
-
|
|
413
|
+
L(t, e, l);
|
|
414
414
|
},
|
|
415
415
|
d(t) {
|
|
416
|
-
t &&
|
|
416
|
+
t && F(e);
|
|
417
417
|
}
|
|
418
418
|
};
|
|
419
419
|
}
|
|
@@ -431,11 +431,11 @@ function $(n) {
|
|
|
431
431
|
(n[12] ? "PlayerAccountItemWrapMobile" : ""));
|
|
432
432
|
},
|
|
433
433
|
m(g, h) {
|
|
434
|
-
|
|
434
|
+
L(g, e, h), s && s.m(e, null), a(e, t), a(e, l), a(e, r);
|
|
435
435
|
},
|
|
436
|
-
p:
|
|
436
|
+
p: j,
|
|
437
437
|
d(g) {
|
|
438
|
-
g &&
|
|
438
|
+
g && F(e), s && s.d();
|
|
439
439
|
}
|
|
440
440
|
};
|
|
441
441
|
}
|
|
@@ -453,21 +453,21 @@ function ze(n) {
|
|
|
453
453
|
e = b("div"), r.c();
|
|
454
454
|
},
|
|
455
455
|
m(s, g) {
|
|
456
|
-
|
|
456
|
+
L(s, e, g), r.m(e, null), n[26](e);
|
|
457
457
|
},
|
|
458
458
|
p(s, g) {
|
|
459
459
|
l === (l = t(s)) && r ? r.p(s, g) : (r.d(1), r = l(s), r && (r.c(), r.m(e, null)));
|
|
460
460
|
},
|
|
461
|
-
i:
|
|
462
|
-
o:
|
|
461
|
+
i: j,
|
|
462
|
+
o: j,
|
|
463
463
|
d(s) {
|
|
464
|
-
s &&
|
|
464
|
+
s && F(e), r.d(), n[26](null);
|
|
465
465
|
}
|
|
466
466
|
};
|
|
467
467
|
}
|
|
468
468
|
function Te(n, e, t) {
|
|
469
469
|
let l;
|
|
470
|
-
|
|
470
|
+
he(n, be, (i) => t(11, l = i));
|
|
471
471
|
let { endpoint: r = "" } = e, { cmsendpoint: s = "" } = e, { env: g = "" } = e, { session: h = "" } = e, { playerid: M = "" } = e, { lang: P = "en" } = e, { selecteditem: w = "" } = e, { userroles: A = "" } = e, { clientstyling: v = "" } = e, { clientstylingurl: u = "" } = e, { mbsource: c } = e, { translationurl: f = "" } = e, { activemenuitem: o = "" } = e, _ = !1, y = !1, C = !0, p, B = [], S, U = window.navigator.userAgent, te = V(U) !== "PC", D = "", R = "";
|
|
472
472
|
window.matchMedia("(min-width: 768px)");
|
|
473
473
|
const ne = () => {
|
|
@@ -533,12 +533,12 @@ function Te(n, e, t) {
|
|
|
533
533
|
}, ce = () => {
|
|
534
534
|
re();
|
|
535
535
|
};
|
|
536
|
-
|
|
536
|
+
Ae(() => (window.addEventListener("message", N, !1), () => {
|
|
537
537
|
window.removeEventListener("message", N);
|
|
538
538
|
}));
|
|
539
539
|
const se = (i) => q(i);
|
|
540
540
|
function ue(i) {
|
|
541
|
-
|
|
541
|
+
Me[i ? "unshift" : "push"](() => {
|
|
542
542
|
p = i, t(5, p);
|
|
543
543
|
});
|
|
544
544
|
}
|
|
@@ -551,9 +551,9 @@ function Te(n, e, t) {
|
|
|
551
551
|
393219 && r && h && M && P && ce(), n.$$.dirty[0] & /*cmsendpoint, lang, env*/
|
|
552
552
|
360448 && s && P && g && ie(), n.$$.dirty[0] & /*activemenuitem*/
|
|
553
553
|
4194304 && o && G(), n.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
554
|
-
36 && v && p &&
|
|
555
|
-
40 && u && p &&
|
|
556
|
-
48 && c && p &&
|
|
554
|
+
36 && v && p && ve(p, v), n.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
555
|
+
40 && u && p && Pe(p, u), n.$$.dirty[0] & /*mbsource, customStylingContainer*/
|
|
556
|
+
48 && c && p && _e(p, `${c}.Style`), n.$$.dirty[0] & /*translationurl*/
|
|
557
557
|
2097152 && f && ne();
|
|
558
558
|
}, [
|
|
559
559
|
h,
|
|
@@ -691,7 +691,7 @@ class Se extends ge {
|
|
|
691
691
|
this.$$set({ activemenuitem: e }), I();
|
|
692
692
|
}
|
|
693
693
|
}
|
|
694
|
-
|
|
694
|
+
xe(Se, { endpoint: {}, cmsendpoint: {}, env: {}, session: {}, playerid: {}, lang: {}, selecteditem: {}, userroles: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {}, activemenuitem: {} }, [], [], !0);
|
|
695
695
|
export {
|
|
696
696
|
Se as default
|
|
697
697
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./GeneralLogout-TofSUXEw.cjs");require("../stencil/ui-skeleton-CwDEhgVj.cjs");require("../lazy/general-logout-Cuw0WTVU.cjs");function H(l,t){e.addMessages(l,t)}function K(l){e.$locale.set(l)}const W={en:{title:"My Account"},"zh-hk":{title:"我的帳戶"},fr:{title:"Mon compte"},tr:{title:"Hesabım"},ro:{title:"Contul meu"},es:{title:"Mi Cuenta"},pt:{title:"Minha Conta"},hr:{title:"Moj račun"},"pt-br":{title:"Minha conta"},"es-mx":{title:"Mi cuenta"},"en-us":{title:"My Account"}};function Q(l){e.append_styles(l,"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 T(l,t,n){const a=l.slice();return a[41]=t[n],a}function z(l,t,n){const a=l.slice();return a[38]=t[n],a}function Y(l){let t,n,a,i,s,m,f,y,A,h,_,b,u=l[12]&&ee(l),c=l[12]&&te(l),d=e.ensure_array_like(l[7]),o=[];for(let p=0;p<d.length;p+=1)o[p]=S(T(l,d,p));let v=!l[12]&&ne(l);return{c(){t=e.element("div"),n=e.element("div"),u&&u.c(),a=e.space(),i=e.element("p"),s=e.text(l[9]),m=e.space(),f=e.element("p"),y=e.text(l[10]),A=e.space(),c&&c.c(),h=e.space(),_=e.element("div");for(let p=0;p<o.length;p+=1)o[p].c();b=e.space(),v&&v.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 "+(l[12]?"PlayerAccountMenuHeaderMobile":"")),e.attr(_,"class","PlayerAccountMenuList"),e.attr(t,"class","PlayerAccountMenuContainer "+(l[12]?"PlayerAccountMobileContainer":""))},m(p,w){e.insert(p,t,w),e.append(t,n),u&&u.m(n,null),e.append(n,a),e.append(n,i),e.append(i,s),e.append(n,m),e.append(n,f),e.append(f,y),e.append(n,A),c&&c.m(n,null),e.append(t,h),e.append(t,_);for(let g=0;g<o.length;g+=1)o[g]&&o[g].m(_,null);e.append(t,b),v&&v.m(t,null)},p(p,w){if(p[12]&&u.p(p,w),w[0]&512&&e.set_data(s,p[9]),w[0]&1024&&e.set_data(y,p[10]),p[12]&&c.p(p,w),w[0]&12672){d=e.ensure_array_like(p[7]);let g;for(g=0;g<d.length;g+=1){const x=T(p,d,g);o[g]?o[g].p(x,w):(o[g]=S(x),o[g].c(),o[g].m(_,null))}for(;g<o.length;g+=1)o[g].d(1);o.length=d.length}p[12]||v.p(p,w)},d(p){p&&e.detach(t),u&&u.d(),c&&c.d(),e.destroy_each(o,p),v&&v.d()}}}function $(l){let t,n,a,i,s,m,f,y,A,h,_=l[12]&&le(),b=e.ensure_array_like(Array(18)),u=[];for(let c=0;c<b.length;c+=1)u[c]=O(z(l,b,c));return{c(){t=e.element("div"),n=e.element("div"),_&&_.c(),a=e.space(),i=e.element("ui-skeleton"),s=e.space(),m=e.element("ui-skeleton"),f=e.space(),y=e.element("div");for(let c=0;c<u.length;c+=1)u[c].c();A=e.space(),h=e.element("div"),h.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(m,"structure","text"),e.set_custom_element_data(m,"width","200px"),e.set_custom_element_data(m,"height","20px"),e.attr(n,"class","PlayerAccountMenuHeader "+(l[12]?"PlayerAccountMenuHeaderMobile":"")),e.attr(y,"class","PlayerAccountMenuList"),e.attr(h,"class","skeletonLogOut"),e.attr(t,"class","PlayerAccountMenuContainer "+(l[12]?"PlayerAccountMobileContainer":""))},m(c,d){e.insert(c,t,d),e.append(t,n),_&&_.m(n,null),e.append(n,a),e.append(n,i),e.append(n,s),e.append(n,m),e.append(t,f),e.append(t,y);for(let o=0;o<u.length;o+=1)u[o]&&u[o].m(y,null);e.append(t,A),e.append(t,h)},p(c,d){if(d[0]&4096){b=e.ensure_array_like(Array(18));let o;for(o=0;o<b.length;o+=1){const v=z(c,b,o);u[o]?u[o].p(v,d):(u[o]=O(v),u[o].c(),u[o].m(y,null))}for(;o<u.length;o+=1)u[o].d(1);u.length=b.length}},d(c){c&&e.detach(t),_&&_.d(),e.destroy_each(u,c)}}}function ee(l){let t,n,a,i,s,m,f,y,A,h,_=l[11]("title")+"",b,u,c;return{c(){t=e.element("div"),n=e.svg_element("svg"),a=e.svg_element("defs"),i=e.svg_element("style"),s=e.text(".aaa{fill:var(--emw--color-white, #FFFFFF);}"),m=e.svg_element("g"),f=e.svg_element("g"),y=e.svg_element("path"),A=e.space(),h=e.element("h3"),b=e.text(_),e.attr(y,"class","aaa"),e.attr(y,"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(y,"transform","translate(15 15) rotate(180)"),e.attr(f,"transform","translate(20 158)"),e.attr(m,"transform","translate(-20 -158)"),e.attr(n,"xmlns","http://www.w3.org/2000/svg"),e.attr(n,"width","15"),e.attr(n,"height","15"),e.attr(n,"viewBox","0 0 15 15"),e.attr(h,"class","PlayerAccountMenuCategoryTitle"),e.attr(t,"class","PlayerAccountMenuCategoryWrapper")},m(d,o){e.insert(d,t,o),e.append(t,n),e.append(n,a),e.append(a,i),e.append(i,s),e.append(n,m),e.append(m,f),e.append(f,y),e.append(t,A),e.append(t,h),e.append(h,b),u||(c=[e.listen(n,"click",l[14]),e.listen(h,"click",l[14])],u=!0)},p(d,o){o[0]&2048&&_!==(_=d[11]("title")+"")&&e.set_data(b,_)},d(d){d&&e.detach(t),u=!1,e.run_all(c)}}}function te(l){let t,n;return{c(){t=e.element("div"),n=e.element("general-logout"),e.set_custom_element_data(n,"endpoint",l[1]),e.set_custom_element_data(n,"session",l[0]),e.set_custom_element_data(n,"buttonlocation","PlayerAccountMenu"),e.set_custom_element_data(n,"clientstyling",l[2]),e.set_custom_element_data(n,"clientstylingurl",l[3]),e.set_custom_element_data(n,"mbsource",l[4]),e.attr(t,"class","PlayerAccountLogOutArea")},m(a,i){e.insert(a,t,i),e.append(t,n)},p(a,i){i[0]&2&&e.set_custom_element_data(n,"endpoint",a[1]),i[0]&1&&e.set_custom_element_data(n,"session",a[0]),i[0]&4&&e.set_custom_element_data(n,"clientstyling",a[2]),i[0]&8&&e.set_custom_element_data(n,"clientstylingurl",a[3]),i[0]&16&&e.set_custom_element_data(n,"mbsource",a[4])},d(a){a&&e.detach(t)}}}function S(l){let t,n,a,i,s,m,f=l[41].label+"",y,A,h,_,b;function u(){return l[25](l[41])}return{c(){t=e.element("div"),n=e.element("p"),a=e.element("img"),s=e.space(),m=e.element("span"),y=e.text(f),A=e.space(),e.attr(a,"class","PlayerAccountMenuItemIcon "+(l[12]?"PlayerAccountMenuItemIconMobile":"")),e.src_url_equal(a.src,i=l[41].img)||e.attr(a,"src",i),e.attr(m,"class","PlayerAccountMenuItemTitle"),e.attr(n,"class","PlayerAccountMenuItemWrapper"),e.attr(t,"class",h="PlayerAccountMenuItemBox "+(l[8]===l[41].id&&!l[12]?"PlayerAccountMenuActiveItemBox":""))},m(c,d){e.insert(c,t,d),e.append(t,n),e.append(n,a),e.append(n,s),e.append(n,m),e.append(m,y),e.append(t,A),_||(b=e.listen(t,"click",u),_=!0)},p(c,d){l=c,d[0]&128&&!e.src_url_equal(a.src,i=l[41].img)&&e.attr(a,"src",i),d[0]&128&&f!==(f=l[41].label+"")&&e.set_data(y,f),d[0]&384&&h!==(h="PlayerAccountMenuItemBox "+(l[8]===l[41].id&&!l[12]?"PlayerAccountMenuActiveItemBox":""))&&e.attr(t,"class",h)},d(c){c&&e.detach(t),_=!1,b()}}}function ne(l){let t,n;return{c(){t=e.element("div"),n=e.element("general-logout"),e.set_custom_element_data(n,"endpoint",l[1]),e.set_custom_element_data(n,"session",l[0]),e.set_custom_element_data(n,"buttonlocation","PlayerAccountMenu"),e.set_custom_element_data(n,"clientstyling",l[2]),e.set_custom_element_data(n,"clientstylingurl",l[3]),e.set_custom_element_data(n,"mbsource",l[4]),e.attr(t,"class","PlayerAccountLogOutArea")},m(a,i){e.insert(a,t,i),e.append(t,n)},p(a,i){i[0]&2&&e.set_custom_element_data(n,"endpoint",a[1]),i[0]&1&&e.set_custom_element_data(n,"session",a[0]),i[0]&4&&e.set_custom_element_data(n,"clientstyling",a[2]),i[0]&8&&e.set_custom_element_data(n,"clientstylingurl",a[3]),i[0]&16&&e.set_custom_element_data(n,"mbsource",a[4])},d(a){a&&e.detach(t)}}}function le(l){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,a){e.insert(n,t,a)},d(n){n&&e.detach(t)}}}function ae(l){let t;return{c(){t=e.element("ui-skeleton"),e.set_custom_element_data(t,"structure","circle"),e.set_custom_element_data(t,"size","20px")},m(n,a){e.insert(n,t,a)},d(n){n&&e.detach(t)}}}function O(l){let t,n,a,i,s=!l[12]&&ae();return{c(){t=e.element("div"),s&&s.c(),n=e.space(),a=e.element("ui-skeleton"),i=e.space(),e.set_custom_element_data(a,"structure","rectangle"),e.set_custom_element_data(a,"width","100%"),e.set_custom_element_data(a,"height",l[12]?"60px":"20px"),e.attr(t,"class","PlayerAccountItemWrap "+(l[12]?"PlayerAccountItemWrapMobile":""))},m(m,f){e.insert(m,t,f),s&&s.m(t,null),e.append(t,n),e.append(t,a),e.append(t,i)},p:e.noop,d(m){m&&e.detach(t),s&&s.d()}}}function re(l){let t;function n(s,m){return s[6]?$:Y}let a=n(l),i=a(l);return{c(){t=e.element("div"),i.c()},m(s,m){e.insert(s,t,m),i.m(t,null),l[26](t)},p(s,m){a===(a=n(s))&&i?i.p(s,m):(i.d(1),i=a(s),i&&(i.c(),i.m(t,null)))},i:e.noop,o:e.noop,d(s){s&&e.detach(t),i.d(),l[26](null)}}}function ie(l,t,n){let a;e.component_subscribe(l,e.$format,r=>n(11,a=r));let{endpoint:i=""}=t,{cmsendpoint:s=""}=t,{env:m=""}=t,{session:f=""}=t,{playerid:y=""}=t,{lang:A="en"}=t,{selecteditem:h=""}=t,{userroles:_=""}=t,{clientstyling:b=""}=t,{clientstylingurl:u=""}=t,{mbsource:c}=t,{translationurl:d=""}=t,{activemenuitem:o=""}=t,v=!1,p=!1,w=!0,g,x=[],k,I=window.navigator.userAgent,U=e.getDevice(I)!=="PC",C="",F="";window.matchMedia("(min-width: 768px)");const D=()=>{fetch(d).then(M=>M.json()).then(M=>{Object.keys(M).forEach(P=>{H(P,M[P])})}).catch(M=>{console.error(M)})};Object.keys(W).forEach(r=>{H(r,W[r])});const L=r=>{if(r.data)switch(r.data.type){case"AccountMenuDetails":availableMenuItemsArray=r.data.accountMenuInfo;break;case"UserSessionID":n(0,f=r.data.session);break}},q=()=>{let r=e.getDevice(I);if(r)return r==="PC"?"dk":"mtWeb"},R=()=>{const r=new URL(`${s}/${A}/profile-menu?env=${m}`);r.searchParams.append("device",q()),fetch(r.href).then(M=>M.json()).then(M=>{n(7,x=M),B()}).catch(M=>{console.error("Error getting menu items",M)}).finally(()=>{n(23,v=!0)})},N=()=>{let r=new URL(`${i}/v1/player/${y}/profile`);r.searchParams.append("userRoles",_);let M={method:"GET",headers:{"X-SessionID":f}};fetch(r.href,M).then(P=>P.json()).then(P=>{n(9,C=P.username),n(10,F=P.email)},P=>{console.error(P)}).finally(()=>{n(24,p=!0)})},E=r=>{window.postMessage({type:"ChangeAccountPage",page:r},window.location.href),n(8,k=r.id)},B=()=>{var r;n(8,k=(r=x.find(M=>M.path.includes(o)))==null?void 0:r.id)},G=()=>{window.postMessage({type:"GoToHomepage"},window.location.href)},V=()=>{K(A)},X=()=>{N()};e.onMount(()=>(window.addEventListener("message",L,!1),()=>{window.removeEventListener("message",L)}));const Z=r=>E(r);function J(r){e.binding_callbacks[r?"unshift":"push"](()=>{g=r,n(5,g)})}return l.$$set=r=>{"endpoint"in r&&n(1,i=r.endpoint),"cmsendpoint"in r&&n(15,s=r.cmsendpoint),"env"in r&&n(16,m=r.env),"session"in r&&n(0,f=r.session),"playerid"in r&&n(17,y=r.playerid),"lang"in r&&n(18,A=r.lang),"selecteditem"in r&&n(19,h=r.selecteditem),"userroles"in r&&n(20,_=r.userroles),"clientstyling"in r&&n(2,b=r.clientstyling),"clientstylingurl"in r&&n(3,u=r.clientstylingurl),"mbsource"in r&&n(4,c=r.mbsource),"translationurl"in r&&n(21,d=r.translationurl),"activemenuitem"in r&&n(22,o=r.activemenuitem)},l.$$.update=()=>{l.$$.dirty[0]&25165824&&n(6,w=!v||!p),l.$$.dirty[0]&262144&&A&&V(),l.$$.dirty[0]&393219&&i&&f&&y&&A&&X(),l.$$.dirty[0]&360448&&s&&A&&m&&R(),l.$$.dirty[0]&4194304&&o&&B(),l.$$.dirty[0]&36&&b&&g&&e.setClientStyling(g,b),l.$$.dirty[0]&40&&u&&g&&e.setClientStylingURL(g,u),l.$$.dirty[0]&48&&c&&g&&e.setStreamStyling(g,`${c}.Style`),l.$$.dirty[0]&2097152&&d&&D()},[f,i,b,u,c,g,w,x,k,C,F,a,U,E,G,s,m,y,A,h,_,d,o,v,p,Z,J]}class j extends e.SvelteComponent{constructor(t){super(),e.init(this,t,ie,re,e.safe_not_equal,{endpoint:1,cmsendpoint:15,env:16,session:0,playerid:17,lang:18,selecteditem:19,userroles:20,clientstyling:2,clientstylingurl:3,mbsource:4,translationurl:21,activemenuitem:22},Q,[-1,-1])}get endpoint(){return this.$$.ctx[1]}set endpoint(t){this.$$set({endpoint:t}),e.flush()}get cmsendpoint(){return this.$$.ctx[15]}set cmsendpoint(t){this.$$set({cmsendpoint:t}),e.flush()}get env(){return this.$$.ctx[16]}set env(t){this.$$set({env:t}),e.flush()}get session(){return this.$$.ctx[0]}set session(t){this.$$set({session:t}),e.flush()}get playerid(){return this.$$.ctx[17]}set playerid(t){this.$$set({playerid:t}),e.flush()}get lang(){return this.$$.ctx[18]}set lang(t){this.$$set({lang:t}),e.flush()}get selecteditem(){return this.$$.ctx[19]}set selecteditem(t){this.$$set({selecteditem:t}),e.flush()}get userroles(){return this.$$.ctx[20]}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[21]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}get activemenuitem(){return this.$$.ctx[22]}set activemenuitem(t){this.$$set({activemenuitem:t}),e.flush()}}e.create_custom_element(j,{endpoint:{},cmsendpoint:{},env:{},session:{},playerid:{},lang:{},selecteditem:{},userroles:{},clientstyling:{},clientstylingurl:{},mbsource:{},translationurl:{},activemenuitem:{}},[],[],!0);exports.default=j;
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./GeneralLogout-CuvnoUn1.cjs");require("../stencil/ui-skeleton-CZQcAhe4.cjs");require("../lazy/general-logout-CaSBnKJR.cjs");function H(l,t){e.addMessages(l,t)}function K(l){e.$locale.set(l)}const W={en:{title:"My Account"},"zh-hk":{title:"我的帳戶"},fr:{title:"Mon compte"},tr:{title:"Hesabım"},ro:{title:"Contul meu"},es:{title:"Mi Cuenta"},pt:{title:"Minha Conta"},hr:{title:"Moj račun"},"pt-br":{title:"Minha conta"},"es-mx":{title:"Mi cuenta"},"en-us":{title:"My Account"}};function Q(l){e.append_styles(l,"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 T(l,t,n){const a=l.slice();return a[41]=t[n],a}function z(l,t,n){const a=l.slice();return a[38]=t[n],a}function Y(l){let t,n,a,i,s,m,f,y,A,h,_,b,u=l[12]&&ee(l),c=l[12]&&te(l),d=e.ensure_array_like(l[7]),o=[];for(let p=0;p<d.length;p+=1)o[p]=S(T(l,d,p));let v=!l[12]&&ne(l);return{c(){t=e.element("div"),n=e.element("div"),u&&u.c(),a=e.space(),i=e.element("p"),s=e.text(l[9]),m=e.space(),f=e.element("p"),y=e.text(l[10]),A=e.space(),c&&c.c(),h=e.space(),_=e.element("div");for(let p=0;p<o.length;p+=1)o[p].c();b=e.space(),v&&v.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 "+(l[12]?"PlayerAccountMenuHeaderMobile":"")),e.attr(_,"class","PlayerAccountMenuList"),e.attr(t,"class","PlayerAccountMenuContainer "+(l[12]?"PlayerAccountMobileContainer":""))},m(p,w){e.insert(p,t,w),e.append(t,n),u&&u.m(n,null),e.append(n,a),e.append(n,i),e.append(i,s),e.append(n,m),e.append(n,f),e.append(f,y),e.append(n,A),c&&c.m(n,null),e.append(t,h),e.append(t,_);for(let g=0;g<o.length;g+=1)o[g]&&o[g].m(_,null);e.append(t,b),v&&v.m(t,null)},p(p,w){if(p[12]&&u.p(p,w),w[0]&512&&e.set_data(s,p[9]),w[0]&1024&&e.set_data(y,p[10]),p[12]&&c.p(p,w),w[0]&12672){d=e.ensure_array_like(p[7]);let g;for(g=0;g<d.length;g+=1){const x=T(p,d,g);o[g]?o[g].p(x,w):(o[g]=S(x),o[g].c(),o[g].m(_,null))}for(;g<o.length;g+=1)o[g].d(1);o.length=d.length}p[12]||v.p(p,w)},d(p){p&&e.detach(t),u&&u.d(),c&&c.d(),e.destroy_each(o,p),v&&v.d()}}}function $(l){let t,n,a,i,s,m,f,y,A,h,_=l[12]&&le(),b=e.ensure_array_like(Array(18)),u=[];for(let c=0;c<b.length;c+=1)u[c]=O(z(l,b,c));return{c(){t=e.element("div"),n=e.element("div"),_&&_.c(),a=e.space(),i=e.element("ui-skeleton"),s=e.space(),m=e.element("ui-skeleton"),f=e.space(),y=e.element("div");for(let c=0;c<u.length;c+=1)u[c].c();A=e.space(),h=e.element("div"),h.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(m,"structure","text"),e.set_custom_element_data(m,"width","200px"),e.set_custom_element_data(m,"height","20px"),e.attr(n,"class","PlayerAccountMenuHeader "+(l[12]?"PlayerAccountMenuHeaderMobile":"")),e.attr(y,"class","PlayerAccountMenuList"),e.attr(h,"class","skeletonLogOut"),e.attr(t,"class","PlayerAccountMenuContainer "+(l[12]?"PlayerAccountMobileContainer":""))},m(c,d){e.insert(c,t,d),e.append(t,n),_&&_.m(n,null),e.append(n,a),e.append(n,i),e.append(n,s),e.append(n,m),e.append(t,f),e.append(t,y);for(let o=0;o<u.length;o+=1)u[o]&&u[o].m(y,null);e.append(t,A),e.append(t,h)},p(c,d){if(d[0]&4096){b=e.ensure_array_like(Array(18));let o;for(o=0;o<b.length;o+=1){const v=z(c,b,o);u[o]?u[o].p(v,d):(u[o]=O(v),u[o].c(),u[o].m(y,null))}for(;o<u.length;o+=1)u[o].d(1);u.length=b.length}},d(c){c&&e.detach(t),_&&_.d(),e.destroy_each(u,c)}}}function ee(l){let t,n,a,i,s,m,f,y,A,h,_=l[11]("title")+"",b,u,c;return{c(){t=e.element("div"),n=e.svg_element("svg"),a=e.svg_element("defs"),i=e.svg_element("style"),s=e.text(".aaa{fill:var(--emw--color-white, #FFFFFF);}"),m=e.svg_element("g"),f=e.svg_element("g"),y=e.svg_element("path"),A=e.space(),h=e.element("h3"),b=e.text(_),e.attr(y,"class","aaa"),e.attr(y,"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(y,"transform","translate(15 15) rotate(180)"),e.attr(f,"transform","translate(20 158)"),e.attr(m,"transform","translate(-20 -158)"),e.attr(n,"xmlns","http://www.w3.org/2000/svg"),e.attr(n,"width","15"),e.attr(n,"height","15"),e.attr(n,"viewBox","0 0 15 15"),e.attr(h,"class","PlayerAccountMenuCategoryTitle"),e.attr(t,"class","PlayerAccountMenuCategoryWrapper")},m(d,o){e.insert(d,t,o),e.append(t,n),e.append(n,a),e.append(a,i),e.append(i,s),e.append(n,m),e.append(m,f),e.append(f,y),e.append(t,A),e.append(t,h),e.append(h,b),u||(c=[e.listen(n,"click",l[14]),e.listen(h,"click",l[14])],u=!0)},p(d,o){o[0]&2048&&_!==(_=d[11]("title")+"")&&e.set_data(b,_)},d(d){d&&e.detach(t),u=!1,e.run_all(c)}}}function te(l){let t,n;return{c(){t=e.element("div"),n=e.element("general-logout"),e.set_custom_element_data(n,"endpoint",l[1]),e.set_custom_element_data(n,"session",l[0]),e.set_custom_element_data(n,"buttonlocation","PlayerAccountMenu"),e.set_custom_element_data(n,"clientstyling",l[2]),e.set_custom_element_data(n,"clientstylingurl",l[3]),e.set_custom_element_data(n,"mbsource",l[4]),e.attr(t,"class","PlayerAccountLogOutArea")},m(a,i){e.insert(a,t,i),e.append(t,n)},p(a,i){i[0]&2&&e.set_custom_element_data(n,"endpoint",a[1]),i[0]&1&&e.set_custom_element_data(n,"session",a[0]),i[0]&4&&e.set_custom_element_data(n,"clientstyling",a[2]),i[0]&8&&e.set_custom_element_data(n,"clientstylingurl",a[3]),i[0]&16&&e.set_custom_element_data(n,"mbsource",a[4])},d(a){a&&e.detach(t)}}}function S(l){let t,n,a,i,s,m,f=l[41].label+"",y,A,h,_,b;function u(){return l[25](l[41])}return{c(){t=e.element("div"),n=e.element("p"),a=e.element("img"),s=e.space(),m=e.element("span"),y=e.text(f),A=e.space(),e.attr(a,"class","PlayerAccountMenuItemIcon "+(l[12]?"PlayerAccountMenuItemIconMobile":"")),e.src_url_equal(a.src,i=l[41].img)||e.attr(a,"src",i),e.attr(m,"class","PlayerAccountMenuItemTitle"),e.attr(n,"class","PlayerAccountMenuItemWrapper"),e.attr(t,"class",h="PlayerAccountMenuItemBox "+(l[8]===l[41].id&&!l[12]?"PlayerAccountMenuActiveItemBox":""))},m(c,d){e.insert(c,t,d),e.append(t,n),e.append(n,a),e.append(n,s),e.append(n,m),e.append(m,y),e.append(t,A),_||(b=e.listen(t,"click",u),_=!0)},p(c,d){l=c,d[0]&128&&!e.src_url_equal(a.src,i=l[41].img)&&e.attr(a,"src",i),d[0]&128&&f!==(f=l[41].label+"")&&e.set_data(y,f),d[0]&384&&h!==(h="PlayerAccountMenuItemBox "+(l[8]===l[41].id&&!l[12]?"PlayerAccountMenuActiveItemBox":""))&&e.attr(t,"class",h)},d(c){c&&e.detach(t),_=!1,b()}}}function ne(l){let t,n;return{c(){t=e.element("div"),n=e.element("general-logout"),e.set_custom_element_data(n,"endpoint",l[1]),e.set_custom_element_data(n,"session",l[0]),e.set_custom_element_data(n,"buttonlocation","PlayerAccountMenu"),e.set_custom_element_data(n,"clientstyling",l[2]),e.set_custom_element_data(n,"clientstylingurl",l[3]),e.set_custom_element_data(n,"mbsource",l[4]),e.attr(t,"class","PlayerAccountLogOutArea")},m(a,i){e.insert(a,t,i),e.append(t,n)},p(a,i){i[0]&2&&e.set_custom_element_data(n,"endpoint",a[1]),i[0]&1&&e.set_custom_element_data(n,"session",a[0]),i[0]&4&&e.set_custom_element_data(n,"clientstyling",a[2]),i[0]&8&&e.set_custom_element_data(n,"clientstylingurl",a[3]),i[0]&16&&e.set_custom_element_data(n,"mbsource",a[4])},d(a){a&&e.detach(t)}}}function le(l){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,a){e.insert(n,t,a)},d(n){n&&e.detach(t)}}}function ae(l){let t;return{c(){t=e.element("ui-skeleton"),e.set_custom_element_data(t,"structure","circle"),e.set_custom_element_data(t,"size","20px")},m(n,a){e.insert(n,t,a)},d(n){n&&e.detach(t)}}}function O(l){let t,n,a,i,s=!l[12]&&ae();return{c(){t=e.element("div"),s&&s.c(),n=e.space(),a=e.element("ui-skeleton"),i=e.space(),e.set_custom_element_data(a,"structure","rectangle"),e.set_custom_element_data(a,"width","100%"),e.set_custom_element_data(a,"height",l[12]?"60px":"20px"),e.attr(t,"class","PlayerAccountItemWrap "+(l[12]?"PlayerAccountItemWrapMobile":""))},m(m,f){e.insert(m,t,f),s&&s.m(t,null),e.append(t,n),e.append(t,a),e.append(t,i)},p:e.noop,d(m){m&&e.detach(t),s&&s.d()}}}function re(l){let t;function n(s,m){return s[6]?$:Y}let a=n(l),i=a(l);return{c(){t=e.element("div"),i.c()},m(s,m){e.insert(s,t,m),i.m(t,null),l[26](t)},p(s,m){a===(a=n(s))&&i?i.p(s,m):(i.d(1),i=a(s),i&&(i.c(),i.m(t,null)))},i:e.noop,o:e.noop,d(s){s&&e.detach(t),i.d(),l[26](null)}}}function ie(l,t,n){let a;e.component_subscribe(l,e.$format,r=>n(11,a=r));let{endpoint:i=""}=t,{cmsendpoint:s=""}=t,{env:m=""}=t,{session:f=""}=t,{playerid:y=""}=t,{lang:A="en"}=t,{selecteditem:h=""}=t,{userroles:_=""}=t,{clientstyling:b=""}=t,{clientstylingurl:u=""}=t,{mbsource:c}=t,{translationurl:d=""}=t,{activemenuitem:o=""}=t,v=!1,p=!1,w=!0,g,x=[],k,I=window.navigator.userAgent,U=e.getDevice(I)!=="PC",C="",F="";window.matchMedia("(min-width: 768px)");const D=()=>{fetch(d).then(M=>M.json()).then(M=>{Object.keys(M).forEach(P=>{H(P,M[P])})}).catch(M=>{console.error(M)})};Object.keys(W).forEach(r=>{H(r,W[r])});const L=r=>{if(r.data)switch(r.data.type){case"AccountMenuDetails":availableMenuItemsArray=r.data.accountMenuInfo;break;case"UserSessionID":n(0,f=r.data.session);break}},q=()=>{let r=e.getDevice(I);if(r)return r==="PC"?"dk":"mtWeb"},R=()=>{const r=new URL(`${s}/${A}/profile-menu?env=${m}`);r.searchParams.append("device",q()),fetch(r.href).then(M=>M.json()).then(M=>{n(7,x=M),B()}).catch(M=>{console.error("Error getting menu items",M)}).finally(()=>{n(23,v=!0)})},N=()=>{let r=new URL(`${i}/v1/player/${y}/profile`);r.searchParams.append("userRoles",_);let M={method:"GET",headers:{"X-SessionID":f}};fetch(r.href,M).then(P=>P.json()).then(P=>{n(9,C=P.username),n(10,F=P.email)},P=>{console.error(P)}).finally(()=>{n(24,p=!0)})},E=r=>{window.postMessage({type:"ChangeAccountPage",page:r},window.location.href),n(8,k=r.id)},B=()=>{var r;n(8,k=(r=x.find(M=>M.path.includes(o)))==null?void 0:r.id)},G=()=>{window.postMessage({type:"GoToHomepage"},window.location.href)},V=()=>{K(A)},X=()=>{N()};e.onMount(()=>(window.addEventListener("message",L,!1),()=>{window.removeEventListener("message",L)}));const Z=r=>E(r);function J(r){e.binding_callbacks[r?"unshift":"push"](()=>{g=r,n(5,g)})}return l.$$set=r=>{"endpoint"in r&&n(1,i=r.endpoint),"cmsendpoint"in r&&n(15,s=r.cmsendpoint),"env"in r&&n(16,m=r.env),"session"in r&&n(0,f=r.session),"playerid"in r&&n(17,y=r.playerid),"lang"in r&&n(18,A=r.lang),"selecteditem"in r&&n(19,h=r.selecteditem),"userroles"in r&&n(20,_=r.userroles),"clientstyling"in r&&n(2,b=r.clientstyling),"clientstylingurl"in r&&n(3,u=r.clientstylingurl),"mbsource"in r&&n(4,c=r.mbsource),"translationurl"in r&&n(21,d=r.translationurl),"activemenuitem"in r&&n(22,o=r.activemenuitem)},l.$$.update=()=>{l.$$.dirty[0]&25165824&&n(6,w=!v||!p),l.$$.dirty[0]&262144&&A&&V(),l.$$.dirty[0]&393219&&i&&f&&y&&A&&X(),l.$$.dirty[0]&360448&&s&&A&&m&&R(),l.$$.dirty[0]&4194304&&o&&B(),l.$$.dirty[0]&36&&b&&g&&e.setClientStyling(g,b),l.$$.dirty[0]&40&&u&&g&&e.setClientStylingURL(g,u),l.$$.dirty[0]&48&&c&&g&&e.setStreamStyling(g,`${c}.Style`),l.$$.dirty[0]&2097152&&d&&D()},[f,i,b,u,c,g,w,x,k,C,F,a,U,E,G,s,m,y,A,h,_,d,o,v,p,Z,J]}class j extends e.SvelteComponent{constructor(t){super(),e.init(this,t,ie,re,e.safe_not_equal,{endpoint:1,cmsendpoint:15,env:16,session:0,playerid:17,lang:18,selecteditem:19,userroles:20,clientstyling:2,clientstylingurl:3,mbsource:4,translationurl:21,activemenuitem:22},Q,[-1,-1])}get endpoint(){return this.$$.ctx[1]}set endpoint(t){this.$$set({endpoint:t}),e.flush()}get cmsendpoint(){return this.$$.ctx[15]}set cmsendpoint(t){this.$$set({cmsendpoint:t}),e.flush()}get env(){return this.$$.ctx[16]}set env(t){this.$$set({env:t}),e.flush()}get session(){return this.$$.ctx[0]}set session(t){this.$$set({session:t}),e.flush()}get playerid(){return this.$$.ctx[17]}set playerid(t){this.$$set({playerid:t}),e.flush()}get lang(){return this.$$.ctx[18]}set lang(t){this.$$set({lang:t}),e.flush()}get selecteditem(){return this.$$.ctx[19]}set selecteditem(t){this.$$set({selecteditem:t}),e.flush()}get userroles(){return this.$$.ctx[20]}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[21]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}get activemenuitem(){return this.$$.ctx[22]}set activemenuitem(t){this.$$set({activemenuitem:t}),e.flush()}}e.create_custom_element(j,{endpoint:{},cmsendpoint:{},env:{},session:{},playerid:{},lang:{},selecteditem:{},userroles:{},clientstyling:{},clientstylingurl:{},mbsource:{},translationurl:{},activemenuitem:{}},[],[],!0);exports.default=j;
|