@everymatrix/player-account-controller-nd 1.94.19 → 1.94.21
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-DB_PUPVg.js → GeneralLogout-BqNrCjBD.js} +73 -73
- package/components/{GeneralLogout-B9_xvF7T.js → GeneralLogout-D-gV3z4v.js} +55 -55
- package/components/{GeneralLogout-euWiHKkU.cjs → GeneralLogout-DEH6JAbq.cjs} +1 -1
- package/components/{PlayerAccountBettingHistory-ek_VdYpM.cjs → PlayerAccountBettingHistory-BCEMB0Is.cjs} +1 -1
- package/components/{PlayerAccountBettingHistory-D13KjK9j.js → PlayerAccountBettingHistory-CKJnlofc.js} +22 -22
- package/components/{PlayerAccountBettingHistory-Db3VE8Fl.js → PlayerAccountBettingHistory-CYL6V2Zf.js} +22 -22
- package/components/{PlayerAccountBiometrics-DX_yPXoP.cjs → PlayerAccountBiometrics-BW5km-gw.cjs} +1 -1
- package/components/{PlayerAccountBiometrics-D9NFPpGz.js → PlayerAccountBiometrics-CiSzSTPF.js} +40 -40
- package/components/{PlayerAccountBiometrics-DbN1-HEq.js → PlayerAccountBiometrics-DhC-Ogxb.js} +39 -39
- package/components/{PlayerAccountBiometricsAction-BMI0TXGP.cjs → PlayerAccountBiometricsAction-B6CdFo8f.cjs} +1 -1
- package/components/{PlayerAccountBiometricsAction-BRQDq9bX.js → PlayerAccountBiometricsAction-BFKm0YGK.js} +29 -29
- package/components/{PlayerAccountBiometricsAction-pw04Inkk.js → PlayerAccountBiometricsAction-_Qd5V1BO.js} +28 -28
- package/components/{PlayerAccountClosureNd-CrzXZ7Sw.cjs → PlayerAccountClosureNd-CCLsuKdW.cjs} +1 -1
- package/components/{PlayerAccountClosureNd-DJhH-1r2.js → PlayerAccountClosureNd-DASlqLU-.js} +23 -23
- package/components/{PlayerAccountClosureNd-LcTvADk9.js → PlayerAccountClosureNd-WKamkCDw.js} +23 -23
- package/components/{PlayerAccountControllerNd-D-4W-GR1.js → PlayerAccountControllerNd-BbkqEkzg.js} +981 -957
- package/components/PlayerAccountControllerNd-BdZO2ePq.cjs +21 -0
- package/components/{PlayerAccountControllerNd-WwKxFfFx.js → PlayerAccountControllerNd-CWoxORIO.js} +996 -972
- package/components/{PlayerAccountGamingLimits-C9P1heIV.js → PlayerAccountGamingLimits-CMMPaoSR.js} +27 -27
- package/components/{PlayerAccountGamingLimits-BaLQSxf8.cjs → PlayerAccountGamingLimits-CanorDDy.cjs} +1 -1
- package/components/{PlayerAccountGamingLimits-CwVFfRsf.js → PlayerAccountGamingLimits-DgzoUuI5.js} +26 -26
- package/components/{PlayerAccountGamingLimitsConfirmationModal-C1k2dwrs.js → PlayerAccountGamingLimitsConfirmationModal-CEIg_Vwo.js} +43 -43
- package/components/{PlayerAccountGamingLimitsConfirmationModal-Bj8eDbIt.js → PlayerAccountGamingLimitsConfirmationModal-DX25F2SE.js} +36 -36
- package/components/{PlayerAccountGamingLimitsConfirmationModal-DzuDxtCc.cjs → PlayerAccountGamingLimitsConfirmationModal-QeNKVZ6-.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsGroupEdit-fbWGZhfa.cjs → PlayerAccountGamingLimitsGroupEdit-BOJFawLJ.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsGroupEdit-CDEAMTmG.js → PlayerAccountGamingLimitsGroupEdit-BON1lveJ.js} +5 -5
- package/components/{PlayerAccountGamingLimitsGroupEdit-Csmgb7X5.js → PlayerAccountGamingLimitsGroupEdit-CAUyhVBN.js} +37 -37
- package/components/{PlayerAccountGamingLimitsHistory2Nd-rpgG_Vd_.js → PlayerAccountGamingLimitsHistory2Nd-Bp6X3YlF.js} +30 -30
- package/components/{PlayerAccountGamingLimitsHistory2Nd-4ACgXzx4.cjs → PlayerAccountGamingLimitsHistory2Nd-CFRsXWFf.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsHistory2Nd-CdxYqudu.js → PlayerAccountGamingLimitsHistory2Nd-Ci7A5zb8.js} +18 -18
- package/components/{PlayerAccountGamingLimitsInfoCard-D5Zr6LhS.js → PlayerAccountGamingLimitsInfoCard-54YV9ng0.js} +21 -21
- package/components/{PlayerAccountGamingLimitsInfoCard-NG3SgA8H.cjs → PlayerAccountGamingLimitsInfoCard-BoLBLr1Z.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsInfoCard-DF1mA2wX.js → PlayerAccountGamingLimitsInfoCard-CUkj5p1c.js} +21 -21
- package/components/{PlayerAccountGamingLimitsPage2Gm16Nd-CMH2w2G6.js → PlayerAccountGamingLimitsPage2Gm16Nd-B3CCk2DW.js} +273 -273
- package/components/{PlayerAccountGamingLimitsPage2Gm16Nd-PpgDr2Y1.cjs → PlayerAccountGamingLimitsPage2Gm16Nd-BqrfHLZy.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsPage2Gm16Nd-ED1dcWTr.js → PlayerAccountGamingLimitsPage2Gm16Nd-CfpOlqHE.js} +94 -94
- package/components/{PlayerAccountGamingLimitsPopup-CWuXfhSo.js → PlayerAccountGamingLimitsPopup-CEFN1Slp.js} +17 -17
- package/components/{PlayerAccountGamingLimitsPopup-DjLioHF5.js → PlayerAccountGamingLimitsPopup-CWFL_2E3.js} +15 -15
- package/components/{PlayerAccountGamingLimitsPopup-CZKocHp1.cjs → PlayerAccountGamingLimitsPopup-ksmoEGKX.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsWrapper2Nd-DYmUBk7b.js → PlayerAccountGamingLimitsWrapper2Nd-0JJEvdMu.js} +20 -20
- package/components/{PlayerAccountGamingLimitsWrapper2Nd-BrP9_ih1.cjs → PlayerAccountGamingLimitsWrapper2Nd-58aWuXjC.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsWrapper2Nd-BS8vMz9S.js → PlayerAccountGamingLimitsWrapper2Nd-CaAhAVUT.js} +20 -20
- package/components/{PlayerAccountGeneralConfirmationModal-pLmuLIZU.js → PlayerAccountGeneralConfirmationModal-BAj9f13D.js} +46 -46
- package/components/{PlayerAccountGeneralConfirmationModal-B7sunmZp.cjs → PlayerAccountGeneralConfirmationModal-CY4SSz5R.cjs} +1 -1
- package/components/{PlayerAccountGeneralConfirmationModal-BmWiq-0l.js → PlayerAccountGeneralConfirmationModal-CgOosv8O.js} +43 -43
- package/components/{PlayerAccountMenuNd-4_6ADn4b.cjs → PlayerAccountMenuNd-CXS1FfrQ.cjs} +1 -1
- package/components/{PlayerAccountMenuNd-CJMd0ona.js → PlayerAccountMenuNd-Cihcfg2A.js} +101 -101
- package/components/{PlayerAccountMenuNd-o-JWYOjk.js → PlayerAccountMenuNd-D4kbmeWi.js} +101 -101
- package/components/{PlayerAccountModal-DtwXdHPV.js → PlayerAccountModal-B3L_d4dD.js} +27 -27
- package/components/{PlayerAccountModal-CcMzOhDM.js → PlayerAccountModal-CsCrDMGa.js} +57 -57
- package/components/{PlayerAccountModal-DsarMn2E.cjs → PlayerAccountModal-Dokb1Kiw.cjs} +1 -1
- package/components/{PlayerAccountNotifications-DJg4W8fI.js → PlayerAccountNotifications-BibkUzW3.js} +55 -55
- package/components/PlayerAccountNotifications-DALpO7di.js +364 -0
- package/components/{PlayerAccountNotifications-Cgl-ugbn.cjs → PlayerAccountNotifications-iJ7FrjAR.cjs} +1 -1
- package/components/{PlayerAccountProductRestriction-DjJ3NE1n.js → PlayerAccountProductRestriction-CirFGHp_.js} +52 -52
- package/components/{PlayerAccountProductRestriction-i5YA8dzG.js → PlayerAccountProductRestriction-DTL5EeiE.js} +44 -44
- package/components/{PlayerAccountProductRestriction-B5Rh3UI4.cjs → PlayerAccountProductRestriction-W4PNw4od.cjs} +1 -1
- package/components/{PlayerAccountReviewFrequency-C6TtCcLq.js → PlayerAccountReviewFrequency-2jEayfTG.js} +23 -23
- package/components/{PlayerAccountReviewFrequency-DuDk0c2H.js → PlayerAccountReviewFrequency-CYWSUGfW.js} +20 -20
- package/components/{PlayerAccountReviewFrequency-CCqWsD2-.cjs → PlayerAccountReviewFrequency-Dlg37WPp.cjs} +1 -1
- package/components/{PlayerAccountSelfExclusionNd-Ces6xbc_.js → PlayerAccountSelfExclusionNd-VBQopoa7.js} +87 -87
- package/components/{PlayerAccountSelfExclusionNd-LTbeGNWo.js → PlayerAccountSelfExclusionNd-WGc6CWTd.js} +87 -87
- package/components/{PlayerAccountSelfExclusionNd-DUbF0-yL.cjs → PlayerAccountSelfExclusionNd-u5DI6frv.cjs} +1 -1
- package/components/{PlayerAccountTimeout-DNrj9FIg.js → PlayerAccountTimeout-BlXT_mdo.js} +3 -3
- package/components/{PlayerAccountTimeout-CeZqy0-c.js → PlayerAccountTimeout-fE4X9dP3.js} +3 -3
- package/components/{PlayerAccountTimeout-BJakEqv5.cjs → PlayerAccountTimeout-ryOOMVtz.cjs} +1 -1
- package/components/{PlayerAccountTransactionsHistory-DY8Y1q6r.cjs → PlayerAccountTransactionsHistory-B6gtbsSH.cjs} +1 -1
- package/components/{PlayerAccountTransactionsHistory-Bu7R6n9Z.js → PlayerAccountTransactionsHistory-DTLtmp61.js} +58 -58
- package/components/{PlayerAccountTransactionsHistory-0wa7dGP4.js → PlayerAccountTransactionsHistory-DYtkRUVK.js} +60 -60
- package/components/{PlayerActiveBonuses-u2FgzaXB.js → PlayerActiveBonuses-B0uHoHFf.js} +539 -509
- package/components/PlayerActiveBonuses-CGvx2302.cjs +5 -0
- package/components/{PlayerActiveBonuses-DpvmKxj3.js → PlayerActiveBonuses-TvRlw4r7.js} +610 -580
- package/components/{PlayerBonusCard-CHTsu3Sd.js → PlayerBonusCard-Cii02rPG.js} +248 -234
- package/components/{PlayerBonusCard-BcFhqVgz.js → PlayerBonusCard-CkBPaLE6.js} +245 -231
- package/components/PlayerBonusCard-CyGPlHl_.cjs +1 -0
- package/components/{PlayerBonusHistory-CPeMF5K9.js → PlayerBonusHistory-DZAeJ-UF.js} +1941 -1910
- package/components/{PlayerBonusHistory-CsP--gvX.cjs → PlayerBonusHistory-DkrnJM1m.cjs} +252 -252
- package/components/{PlayerBonusHistory-UJTbdL6I.js → PlayerBonusHistory-DrBTeo2o.js} +1924 -1893
- package/components/{PlayerChangePasswordNd-CJJv1Rho.cjs → PlayerChangePasswordNd-B2nFuF4X.cjs} +1 -1
- package/components/{PlayerChangePasswordNd-ea0lndBF.js → PlayerChangePasswordNd-DvMsIR4x.js} +74 -74
- package/components/{PlayerChangePasswordNd-DmT7BXH5.js → PlayerChangePasswordNd-DzvMi1l0.js} +84 -84
- package/components/{PlayerDeposit-E4RQrolv.js → PlayerDeposit-CSGG3OJi.js} +25 -25
- package/components/{PlayerDeposit-fjLPOVwf.js → PlayerDeposit-GQvFYfz9.js} +29 -29
- package/components/{PlayerDeposit-CaQexUd7.cjs → PlayerDeposit-ISswyxo6.cjs} +1 -1
- package/components/{PlayerGamingHistory-TbIyiLt9.js → PlayerGamingHistory-2-IOT0w7.js} +79 -79
- package/components/{PlayerGamingHistory-D2qaWYGG.js → PlayerGamingHistory-CP9wzWY5.js} +88 -88
- package/components/{PlayerGamingHistory-Bhle4uxj.cjs → PlayerGamingHistory-RHF7PqQD.cjs} +1 -1
- package/components/{PlayerPendingWithdrawals-3IIMvww5.cjs → PlayerPendingWithdrawals-BPkW55as.cjs} +1 -1
- package/components/{PlayerPendingWithdrawals-UF6lkS4c.js → PlayerPendingWithdrawals-CF9OEZHB.js} +35 -35
- package/components/{PlayerPendingWithdrawals-BMwPGg6L.js → PlayerPendingWithdrawals-hpqIjON_.js} +32 -32
- package/components/{PlayerProfileInfo-m4M4FDV5.js → PlayerProfileInfo-BYsRLEVW.js} +413 -413
- package/components/{PlayerProfileInfo-CMh5o3lT.cjs → PlayerProfileInfo-CgdFDN0d.cjs} +1 -1
- package/components/{PlayerProfileInfo-GzzTXt44.js → PlayerProfileInfo-Cj9C9Pzn.js} +410 -410
- package/components/{PlayerRealityCheck-CT3xOSJt.cjs → PlayerRealityCheck-BEktqi9Q.cjs} +1 -1
- package/components/{PlayerRealityCheck-DQW-ob0h.js → PlayerRealityCheck-C6aBrHFI.js} +80 -80
- package/components/{PlayerRealityCheck-Bz4Rk6ML.js → PlayerRealityCheck-El82kirZ.js} +64 -64
- package/components/{PlayerTransactionHistory-Dr7jZl0X.js → PlayerTransactionHistory-CXnXcZBg.js} +25 -25
- package/components/{PlayerTransactionHistory-B7kML_PM.cjs → PlayerTransactionHistory-Dh1IrgFz.cjs} +1 -1
- package/components/{PlayerTransactionHistory-CfVnzu3u.js → PlayerTransactionHistory-y6QLSmVa.js} +47 -47
- package/components/{PlayerWithdrawal-0MzMuKhO.js → PlayerWithdrawal-Bfm8EldI.js} +29 -29
- package/components/{PlayerWithdrawal-B6saWeLJ.cjs → PlayerWithdrawal-CwwLAEAE.cjs} +1 -1
- package/components/{PlayerWithdrawal-B5NILPQD.js → PlayerWithdrawal-DU6FIJUG.js} +29 -29
- package/components/{QrSessionGenerator-CLm4BY3P.cjs → QrSessionGenerator-B3tMnOhf.cjs} +1 -1
- package/components/{QrSessionGenerator-gmbPgpVU.js → QrSessionGenerator-Boydl4Eb.js} +91 -91
- package/components/{QrSessionGenerator-CeEC9J40.js → QrSessionGenerator-CNyXP05z.js} +74 -74
- 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-BRqNPWTq.js → general-logout-BzM9NM3J.js} +1 -1
- package/lazy/{general-logout-B8KjayQa.cjs → general-logout-Cv4zhTaJ.cjs} +1 -1
- package/lazy/{general-logout-Bblm35tc.js → general-logout-D8-fDJSz.js} +1 -1
- package/lazy/{pam-change-password-CEXaaHXX.js → pam-change-password-WqYTqU8Y.js} +1 -1
- package/lazy/{pam-change-password-CVEWDxri.js → pam-change-password-veY5o7Y7.js} +1 -1
- package/lazy/{player-account-betting-history-Cm9tKtSU.cjs → player-account-betting-history-C0LYrY1u.cjs} +1 -1
- package/lazy/{player-account-betting-history-BlOahJzl.js → player-account-betting-history-CL9ZRAfy.js} +1 -1
- package/lazy/{player-account-betting-history-DtOr5FeD.js → player-account-betting-history-DcTuiw1a.js} +1 -1
- package/lazy/{player-account-biometrics-CaEyPY3h.cjs → player-account-biometrics-BB75uAr9.cjs} +1 -1
- package/lazy/{player-account-biometrics-BuGutAcS.js → player-account-biometrics-Bt3-e9pu.js} +1 -1
- package/lazy/{player-account-biometrics-action-CL-jvKk_.js → player-account-biometrics-action-BaHSQmvh.js} +1 -1
- package/lazy/{player-account-biometrics-action-wnhlfRbU.js → player-account-biometrics-action-Bpsl22YD.js} +1 -1
- package/lazy/{player-account-biometrics-action-DpiXKAWr.cjs → player-account-biometrics-action-D7OqGz_4.cjs} +1 -1
- package/lazy/{player-account-biometrics-CvKcnKsH.js → player-account-biometrics-qCXx1x6n.js} +1 -1
- package/lazy/{player-account-closure-nd-C3YeBHTA.js → player-account-closure-nd-Bk9HDLvf.js} +1 -1
- package/lazy/{player-account-closure-nd-BSoip5r-.js → player-account-closure-nd-DI0hcTYc.js} +1 -1
- package/lazy/{player-account-closure-nd-BCMlLphs.cjs → player-account-closure-nd-DeV86f8W.cjs} +1 -1
- package/lazy/{player-account-gaming-limits-ABD5H_h6.js → player-account-gaming-limits-DBqgk34V.js} +1 -1
- package/lazy/{player-account-gaming-limits-DsEA6IaY.js → player-account-gaming-limits-DLGG4oSE.js} +1 -1
- package/lazy/{player-account-gaming-limits-D8T16Z_e.cjs → player-account-gaming-limits-DlbxU50H.cjs} +1 -1
- package/lazy/{player-account-gaming-limits-confirmation-modal-DBhI9dpy.cjs → player-account-gaming-limits-confirmation-modal-BBwRgOOO.cjs} +1 -1
- package/lazy/{player-account-gaming-limits-confirmation-modal-BWuExefC.js → player-account-gaming-limits-confirmation-modal-BxeN24ar.js} +1 -1
- package/lazy/{player-account-gaming-limits-confirmation-modal-BB6HmCLL.js → player-account-gaming-limits-confirmation-modal-iKzCq1xk.js} +1 -1
- package/lazy/{player-account-gaming-limits-group-edit-dIfA4FBA.js → player-account-gaming-limits-group-edit-CJPfGcZT.js} +1 -1
- package/lazy/{player-account-gaming-limits-group-edit-B-3__w74.js → player-account-gaming-limits-group-edit-YroPvgOX.js} +1 -1
- package/lazy/{player-account-gaming-limits-group-edit-CZzEYKgP.cjs → player-account-gaming-limits-group-edit-k2qu0fGW.cjs} +1 -1
- package/lazy/{player-account-gaming-limits-history-2-nd-uKv8wpgU.js → player-account-gaming-limits-history-2-nd-C5QqC84t.js} +1 -1
- package/lazy/{player-account-gaming-limits-history-2-nd-Hq6U_Hhe.cjs → player-account-gaming-limits-history-2-nd-C9CO-jBT.cjs} +1 -1
- package/lazy/{player-account-gaming-limits-history-2-nd-CzZrcYdu.js → player-account-gaming-limits-history-2-nd-DLya1l7z.js} +1 -1
- package/lazy/{player-account-gaming-limits-info-card-z4GX1NiG.cjs → player-account-gaming-limits-info-card-BLYnVGRJ.cjs} +1 -1
- package/lazy/{player-account-gaming-limits-info-card-CuGzt34O.js → player-account-gaming-limits-info-card-DuyhJ8YY.js} +1 -1
- package/lazy/{player-account-gaming-limits-info-card-D91KFIka.js → player-account-gaming-limits-info-card-QFlaRwKd.js} +1 -1
- package/lazy/{player-account-gaming-limits-page-2-gm16-nd-murVvv-K.js → player-account-gaming-limits-page-2-gm16-nd-D5wjxLmm.js} +1 -1
- package/lazy/{player-account-gaming-limits-page-2-gm16-nd-D030b16k.cjs → player-account-gaming-limits-page-2-gm16-nd-D61oSI5e.cjs} +1 -1
- package/lazy/{player-account-gaming-limits-page-2-gm16-nd-CtODV1AY.js → player-account-gaming-limits-page-2-gm16-nd-DWpjbbsn.js} +1 -1
- package/lazy/{player-account-gaming-limits-popup-zlUXe-Hg.js → player-account-gaming-limits-popup-Byzj1VJR.js} +1 -1
- package/lazy/{player-account-gaming-limits-popup-C11lVE1X.js → player-account-gaming-limits-popup-DD__RHSJ.js} +1 -1
- package/lazy/{player-account-gaming-limits-popup-D7qdLuNJ.cjs → player-account-gaming-limits-popup-DtBgGpTf.cjs} +1 -1
- package/lazy/{player-account-gaming-limits-wrapper-2-nd-PVUHeT_G.js → player-account-gaming-limits-wrapper-2-nd-BSak11ac.js} +1 -1
- package/lazy/{player-account-gaming-limits-wrapper-2-nd-BYRZddiw.cjs → player-account-gaming-limits-wrapper-2-nd-DLn54mvO.cjs} +1 -1
- package/lazy/{player-account-gaming-limits-wrapper-2-nd-rnd4J-9A.js → player-account-gaming-limits-wrapper-2-nd-DuLpt4_r.js} +1 -1
- package/lazy/{player-account-general-confirmation-modal-qiMmPEPp.cjs → player-account-general-confirmation-modal-DC-eZG9a.cjs} +1 -1
- package/lazy/{player-account-general-confirmation-modal-C3xbBfdu.js → player-account-general-confirmation-modal-DPUbaBRL.js} +1 -1
- package/lazy/{player-account-general-confirmation-modal-B8P_MFPQ.js → player-account-general-confirmation-modal-cvQklpSu.js} +1 -1
- package/lazy/{player-account-menu-nd-B3DKIfeA.js → player-account-menu-nd-iROQd2uc.js} +1 -1
- package/lazy/{player-account-menu-nd-CBrdzL8t.js → player-account-menu-nd-kIZYCnUA.js} +1 -1
- package/lazy/{player-account-menu-nd-CXQ_fYge.cjs → player-account-menu-nd-xcEoeMA9.cjs} +1 -1
- package/lazy/{player-account-modal-wkyF3fUQ.js → player-account-modal-CG1vvQFh.js} +1 -1
- package/lazy/{player-account-modal-CivtnZTe.js → player-account-modal-DXH5Nep5.js} +1 -1
- package/lazy/{player-account-modal-Cy5vrK_m.cjs → player-account-modal-oLpOqEFC.cjs} +1 -1
- package/lazy/{player-account-notifications-dTjAREph.cjs → player-account-notifications-CgEHG6jX.cjs} +1 -1
- package/lazy/{player-account-notifications-DqBzZ9Ja.js → player-account-notifications-DkDWg-Ge.js} +1 -1
- package/lazy/{player-account-notifications-B72Pqonn.js → player-account-notifications-bpGwLpln.js} +1 -1
- package/lazy/{player-account-product-restriction-BjDc_7F6.js → player-account-product-restriction-Ck-u7AJp.js} +1 -1
- package/lazy/{player-account-product-restriction-Bnf7sEpx.js → player-account-product-restriction-DzbFiyon.js} +1 -1
- package/lazy/{player-account-product-restriction-D3pg_NSl.cjs → player-account-product-restriction-Jbo96lnw.cjs} +1 -1
- package/lazy/{player-account-review-frequency-DiB_vau8.cjs → player-account-review-frequency-C3Tsl0Hy.cjs} +1 -1
- package/lazy/{player-account-review-frequency-CInm6_jX.js → player-account-review-frequency-CsHNS21m.js} +1 -1
- package/lazy/{player-account-review-frequency-CgyBdK2J.js → player-account-review-frequency-DFmXU1db.js} +1 -1
- package/lazy/{player-account-self-exclusion-nd-TLGsPSYp.js → player-account-self-exclusion-nd-BZWydowD.js} +1 -1
- package/lazy/{player-account-self-exclusion-nd-BM_7B1Bl.js → player-account-self-exclusion-nd-Bguflr4f.js} +1 -1
- package/lazy/{player-account-self-exclusion-nd-B3hpwJk1.cjs → player-account-self-exclusion-nd-Cg9Jqlaj.cjs} +1 -1
- package/lazy/{player-account-timeout-BR_lstE2.cjs → player-account-timeout-BLQFMJLO.cjs} +1 -1
- package/lazy/{player-account-timeout-DVw_dPpk.js → player-account-timeout-CVEEQtKD.js} +1 -1
- package/lazy/{player-account-timeout-CCMHyW6D.js → player-account-timeout-luJKawAq.js} +1 -1
- package/lazy/{player-account-transactions-history-CKvWaBBO.js → player-account-transactions-history-Bvi9FNpa.js} +1 -1
- package/lazy/{player-account-transactions-history-BVXxkRwz.js → player-account-transactions-history-s6qhAksx.js} +1 -1
- package/lazy/{player-account-transactions-history-B2tsXUDc.cjs → player-account-transactions-history-uo78RQ4D.cjs} +1 -1
- package/lazy/{player-active-bonuses-CIdaU1BG.cjs → player-active-bonuses-B8I-ag2s.cjs} +1 -1
- package/lazy/{player-active-bonuses-EGxkfjHF.js → player-active-bonuses-BTcGyyHp.js} +1 -1
- package/lazy/{player-active-bonuses-DCBfgSZq.js → player-active-bonuses-CKTdjMib.js} +1 -1
- package/lazy/{player-bonus-card-BrTfA8-M.js → player-bonus-card-2zg4Wtre.js} +1 -1
- package/lazy/{player-bonus-card-ta-cXh4Z.cjs → player-bonus-card-Dsi7WPXW.cjs} +1 -1
- package/lazy/{player-bonus-card-CApKqZde.js → player-bonus-card-Uistut15.js} +1 -1
- package/lazy/{player-bonus-history-DASaAF4B.js → player-bonus-history-BEfEW9XH.js} +1 -1
- package/lazy/{player-bonus-history-DVvmzGbU.js → player-bonus-history-CveOVUJY.js} +1 -1
- package/lazy/{player-bonus-history-BlOasLen.cjs → player-bonus-history-_KISroXA.cjs} +1 -1
- package/lazy/{player-change-password-nd-DxhZz2l9.cjs → player-change-password-nd-DhU2Cy6u.cjs} +1 -1
- package/lazy/{player-change-password-nd-4kqOY5S-.js → player-change-password-nd-DjW3IHZA.js} +1 -1
- package/lazy/{player-change-password-nd-CrKP1__n.js → player-change-password-nd-QHPQ0Vzn.js} +1 -1
- package/lazy/{player-deposit-C8JKOa7V.js → player-deposit-CxNHsNUj.js} +1 -1
- package/lazy/{player-deposit-ZDRVuKso.cjs → player-deposit-CzfPOOr8.cjs} +1 -1
- package/lazy/{player-deposit-BU8m62bF.js → player-deposit-DU7V0cNa.js} +1 -1
- package/lazy/{player-gaming-history-BD44vcq_.js → player-gaming-history-BJyTe8az.js} +1 -1
- package/lazy/{player-gaming-history-BCn8E-z9.cjs → player-gaming-history-Dtfc4zp_.cjs} +1 -1
- package/lazy/{player-gaming-history-DZlVDGpj.js → player-gaming-history-WSBsRRsW.js} +1 -1
- package/lazy/{player-pending-withdrawals-D8pXlHCn.js → player-pending-withdrawals-Cc-izP5H.js} +1 -1
- package/lazy/{player-pending-withdrawals-BKMSjQEv.cjs → player-pending-withdrawals-greaEmLH.cjs} +1 -1
- package/lazy/{player-pending-withdrawals-DHUVoHjE.js → player-pending-withdrawals-i9x0egZi.js} +1 -1
- package/lazy/{player-profile-info-DUnsRgkv.cjs → player-profile-info-Bbq9RkzJ.cjs} +1 -1
- package/lazy/{player-profile-info-DPzxUIB6.js → player-profile-info-BfXShW3q.js} +1 -1
- package/lazy/{player-profile-info-C2I_kwqe.js → player-profile-info-CLiSJyko.js} +1 -1
- package/lazy/{player-reality-check-C9ftJWMt.js → player-reality-check-B_pPA2vV.js} +1 -1
- package/lazy/{player-reality-check-C178I3Dl.js → player-reality-check-CTBdcqIm.js} +1 -1
- package/lazy/{player-reality-check-CtYh5gV_.cjs → player-reality-check-SCHpPZAo.cjs} +1 -1
- package/lazy/{player-transaction-history-CnjjBogi.js → player-transaction-history-CToxTWkW.js} +1 -1
- package/lazy/{player-transaction-history-CtCmHe7F.cjs → player-transaction-history-ChhvjqYd.cjs} +1 -1
- package/lazy/{player-transaction-history-h1D2trU-.js → player-transaction-history-DWdhpd9t.js} +1 -1
- package/lazy/{player-withdrawal-DScE-MUs.js → player-withdrawal-BEg23rwk.js} +1 -1
- package/lazy/{player-withdrawal-BOqIbUvW.js → player-withdrawal-CjgoXEZe.js} +1 -1
- package/lazy/{player-withdrawal-rk1zjYkp.cjs → player-withdrawal-Ct6duKha.cjs} +1 -1
- package/lazy/{qr-session-generator-BrjdGJCv.cjs → qr-session-generator-CX0d0JtW.cjs} +1 -1
- package/lazy/{qr-session-generator-CB0abotq.js → qr-session-generator-CexrYT0C.js} +1 -1
- package/lazy/{qr-session-generator-5BCgtjoA.js → qr-session-generator-CzqbJLwf.js} +1 -1
- package/package.json +1 -1
- package/stencil/{checkbox-group-input_16-B8hd9aQ0.js → checkbox-group-input_16-BG7o40Nc.js} +3 -3
- package/stencil/{checkbox-group-input_16-DHvmvs4j.js → checkbox-group-input_16-DAwzy6Ak.js} +3 -3
- package/stencil/{pam-change-password-259289fa-7UBY9LmS.js → pam-change-password-259289fa-C7afMRNc.js} +3 -3
- package/stencil/{pam-change-password-259289fa-BWAHRnw9.js → pam-change-password-259289fa-Cca3qMDk.js} +3 -3
- package/stencil/{pam-change-password-BSN9npN-.js → pam-change-password-Bfuu-MH-.js} +2 -2
- package/stencil/{pam-change-password-DBiA54FG.js → pam-change-password-CYgUuMfT.js} +2 -2
- package/components/PlayerAccountControllerNd-CR92pTqQ.cjs +0 -21
- package/components/PlayerAccountNotifications-OCeDlR3f.js +0 -364
- package/components/PlayerActiveBonuses-DSMMagsa.cjs +0 -5
- package/components/PlayerBonusCard-r6nZs-Zi.cjs +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./PlayerAccountControllerNd-CR92pTqQ.cjs");require("../stencil/ui-skeleton-DCajaTYn.cjs");require("../lazy/general-logout-B8KjayQa.cjs");function T(a,t){e.addMessages(a,t)}function $(a){e.$locale.set(a)}const z={en:{title:"My Account"},"zh-hk":{title:"我的帳戶"},fr:{title:"Mon compte"},tr:{title:"Hesabım"},ro:{title:"Contul meu"},es:{title:"Mi Cuenta"},pt:{title:"Minha Conta"},hr:{title:"Moj račun"},"pt-br":{title:"Minha conta"},"es-mx":{title:"Mi cuenta"},"en-us":{title:"My Account"}};function ee(a){e.append_styles(a,"svelte-j26xf8",'.PlayerAccountMenuContainer{background:var(--emw--color-primary, #184026);color:var(--emw--pam-typography-color-nav-bg, var(--emw--color-contrast, #FFFFFF));position:relative;height:100vh;display:flex;flex-direction:column;padding:0 15px;animation-name:fadeIn;animation-iteration-count:1;animation-timing-function:ease-in;animation-duration:0.3s}.PlayerAccountMenuContainer .PlayerAccountMenuItemWrapper{margin:0;word-break:break-all;display:flex;align-items:center}.PlayerAccountMenuContainer .PlayerAccountMenuItemWrapper span{display:flex;align-items:center}.PlayerAccountMenuContainer .skeletonLogOut{width:100%;border-radius:10px;overflow:hidden}.PlayerAccountMenuHeader{color:var(--emw--pam-typography-color-nav-bg, var(--emw--color-contrast, #FFFFFF));flex-grow:0;padding:30px 20px}.PlayerAccountMenuHeader .PlayerAccountMenuUser{margin-bottom:5px;font-size:var(--emw--font-size-large, 20px);color:var(--emw--pam-color-secondary, var(--emw--color-secondary, #E98B10))}.PlayerAccountMenuHeader .PlayerAccountMenuEmail{font-size:var(--emw--font-size-small, 14px);text-overflow:ellipsis;overflow:hidden}.PlayerAccountMenuHeader p{font-weight:300}.PlayerAccountMenuHeaderMobile{color:var(--emw--pam-typography-color-nav-bg, var(--emw--color-contrast, #FFFFFF))}.PlayerAccountMenuItemBox{padding:14px 20px;margin:2px 0;font-size:var(--emw--font-size-medium, 16px);line-height:16px;display:inline-flex;width:100%;box-sizing:border-box;align-items:center;border-radius:var(--emw--border-radius-medium, 10px);border:2px solid transparent;cursor:pointer;transition:all 0.3s linear}.PlayerAccountMenuItemBox:hover{transition:all 0.3s linear;background:rgba(35, 176, 78, 0.3);border:2px solid var(--emw--pam-color-primary, var(--emw--color-primary, #23B04E));border-radius:var(--emw--border-radius-medium, 10px);color:var(--emw--color-white, #FFFFFF)}.PlayerAccountMenuItemBox .PlayerAccountMenuItemTitle{margin-left:20px}.PlayerAccountMenuItemBox .PlayerAccountMenuItemIcon{width:20px;height:20px;padding-top:unset}.PlayerAccountMenuItemBox .PlayerAccountMenuItemIconMobile{width:30px;height:30px;padding-top:15px}.PlayerAccountMenuList::-webkit-scrollbar{width:6px}.PlayerAccountMenuList::-webkit-scrollbar-track{background:var(--emw--color-gray-300, #58586B)}.PlayerAccountMenuList::-webkit-scrollbar-thumb{background:var(--emw--color-gray-100, #E6E6E6)}.PlayerAccountItemWrap{display:flex;gap:20px;padding:16px 20px}.PlayerAccountItemWrap.PlayerAccountItemWrapMobile{padding:5px;width:100%;box-sizing:border-box}.PlayerAccountItemWrap ui-skeleton:last-child{flex:1}.PlayerAccountLogOutArea{background-color:rgba(253, 40, 57, 0.3);color:var(--emw--color-white, #FFFFFF);border-radius:var(--emw--border-radius-medium, 10px);width:100%;flex-grow:0}.PlayerAccountMenuActiveItemBox{background:rgba(35, 176, 78, 0.3);color:var(--emw--pam-color-primary, var(--emw--color-primary, #23B04E));border:2px solid var(--emw--pam-color-primary, var(--emw--color-primary, #23B04E));border-radius:var(--emw--border-radius-medium, 10px);transition:all 0.3s linear}.PlayerAccountMobileContainer{height:unset;padding:0}.PlayerAccountMobileContainer .PlayerAccountMenuCategoryWrapper{display:flex;align-items:center;gap:10px;margin-bottom:18px}.PlayerAccountMobileContainer .PlayerAccountMenuCategoryTitle{margin:0;font-weight:600}.PlayerAccountMobileContainer .PlayerAccountMenuItemTitle{margin-left:0;text-transform:capitalize;line-height:14px}.PlayerAccountMobileContainer .PlayerAccountMenuEmail{margin:0}.PlayerAccountMobileContainer .PlayerAccountMenuList{display:flex;flex-direction:column;align-items:flex-start;margin:0px 15px;min-height:900px}.PlayerAccountMobileContainer .PlayerAccountMenuList .PlayerAccountMenuItemBox{background:rgba(35, 176, 78, 0.3);color:var(--emw--pam-color-primary, var(--emw--color-primary, #23B04E));border:2px solid var(--emw--pam-color-primary, var(--emw--color-primary, #23B04E));border-radius:var(--emw--border-radius-medium, 10px);height:60px;margin:5px 0;align-items:flex-start;position:relative}.PlayerAccountMobileContainer .PlayerAccountMenuList .PlayerAccountMenuItemBox.PlayerAccountMenuActiveItemBox{background:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.PlayerAccountMobileContainer .PlayerAccountMenuList .PlayerAccountMenuItemBox .PlayerAccountMenuItemIcon{width:20px;padding:0 10px 0 15px}.PlayerAccountMobileContainer .PlayerAccountMenuList .PlayerAccountMenuItemBox::after{content:"";display:inline-block;width:15px;height:15px;background-image:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2215%22 height=%2215%22 viewBox=%220 0 15 15%22%3E%3Cdefs%3E%3Cstyle%3E.aaa%7Bfill:var(--emw--color-white,%20%23FFFFFF);%7D%3C/style%3E%3C/defs%3E%3Cg transform=%22translate(-20%20-158)%22%3E%3Cg transform=%22translate(20%20158)%22%3E%3Cpath class=%22aaa%22 d=%22M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z%22 transform=%22translate(15%2015)%20rotate(180)%22%3E%3C/path%3E%3C/g%3E%3C/g%3E%3C/svg%3E");background-size:contain;transform:scaleX(-1);background-repeat:no-repeat;position:absolute;right:15px;top:22px}.PlayerAccountMobileContainer .PlayerAccountMenuList .PlayerAccountMenuItemWrapper{display:flex;justify-items:center;align-items:center;flex-flow:row;gap:6px;position:absolute;top:0;bottom:0;left:0;right:0}.PlayerAccountMobileContainer .PlayerAccountMenuList .PlayerAccountMenuItemWrapper .PlayerAccountMenuItemTitle{font-size:var(--emw--font-size-medium, 16px);line-height:16px;font-weight:400;word-break:break-word;text-align:left;color:var(--emw--pam-typography-color-nav-bg, var(--emw--color-contrast, #FFFFFF))}.PlayerAccountMobileContainer .PlayerAccountLogOutArea{position:absolute;right:18px;top:56px;bottom:unset;background:transparent;width:48px;border-top:0}@keyframes fadeIn{0%{opacity:0.01}1%{opacity:0}50%{opacity:0}100%{opacity:1}}')}function O(a,t,n){const r=a.slice();return r[43]=t[n],r}function j(a,t,n){const r=a.slice();return r[40]=t[n],r}function te(a){let t,n,r,i,s=(a[5]==="true"?a[12]:a[10])+"",c,_,f,M,A,b,h,d,o=a[14]&&ae(a),p=a[14]&&le(a),u=e.ensure_array_like(a[8]),y=[];for(let m=0;m<u.length;m+=1)y[m]=U(O(a,u,m));let P=!a[14]&&re(a);return{c(){t=e.element("div"),n=e.element("div"),o&&o.c(),r=e.space(),i=e.element("p"),c=e.text(s),_=e.space(),f=e.element("p"),M=e.text(a[11]),A=e.space(),p&&p.c(),b=e.space(),h=e.element("div");for(let m=0;m<y.length;m+=1)y[m].c();d=e.space(),P&&P.c(),e.attr(i,"class","PlayerAccountMenuUser"),e.attr(i,"translate","no"),e.attr(f,"class","PlayerAccountMenuEmail"),e.attr(f,"translate","no"),e.attr(n,"class","PlayerAccountMenuHeader "+(a[14]?"PlayerAccountMenuHeaderMobile":"")),e.attr(h,"class","PlayerAccountMenuList"),e.attr(t,"class","PlayerAccountMenuContainer "+(a[14]?"PlayerAccountMobileContainer":""))},m(m,v){e.insert(m,t,v),e.append(t,n),o&&o.m(n,null),e.append(n,r),e.append(n,i),e.append(i,c),e.append(n,_),e.append(n,f),e.append(f,M),e.append(n,A),p&&p.m(n,null),e.append(t,b),e.append(t,h);for(let g=0;g<y.length;g+=1)y[g]&&y[g].m(h,null);e.append(t,d),P&&P.m(t,null)},p(m,v){if(m[14]&&o.p(m,v),v[0]&5152&&s!==(s=(m[5]==="true"?m[12]:m[10])+"")&&e.set_data(c,s),v[0]&2048&&e.set_data(M,m[11]),m[14]&&p.p(m,v),v[0]&49920){u=e.ensure_array_like(m[8]);let g;for(g=0;g<u.length;g+=1){const k=O(m,u,g);y[g]?y[g].p(k,v):(y[g]=U(k),y[g].c(),y[g].m(h,null))}for(;g<y.length;g+=1)y[g].d(1);y.length=u.length}m[14]||P.p(m,v)},d(m){m&&e.detach(t),o&&o.d(),p&&p.d(),e.destroy_each(y,m),P&&P.d()}}}function ne(a){let t,n,r,i,s,c,_,f,M,A,b=a[14]&&ie(),h=e.ensure_array_like(Array(18)),d=[];for(let o=0;o<h.length;o+=1)d[o]=D(j(a,h,o));return{c(){t=e.element("div"),n=e.element("div"),b&&b.c(),r=e.space(),i=e.element("ui-skeleton"),s=e.space(),c=e.element("ui-skeleton"),_=e.space(),f=e.element("div");for(let o=0;o<d.length;o+=1)d[o].c();M=e.space(),A=e.element("div"),A.innerHTML='<ui-skeleton structure="rectangle" width="auto" height="60px"></ui-skeleton>',e.set_custom_element_data(i,"structure","title"),e.set_custom_element_data(i,"width","100px"),e.set_custom_element_data(i,"height","20px"),e.set_custom_element_data(i,"margin-top","20px"),e.set_custom_element_data(c,"structure","text"),e.set_custom_element_data(c,"width","200px"),e.set_custom_element_data(c,"height","20px"),e.attr(n,"class","PlayerAccountMenuHeader "+(a[14]?"PlayerAccountMenuHeaderMobile":"")),e.attr(f,"class","PlayerAccountMenuList"),e.attr(A,"class","skeletonLogOut"),e.attr(t,"class","PlayerAccountMenuContainer "+(a[14]?"PlayerAccountMobileContainer":""))},m(o,p){e.insert(o,t,p),e.append(t,n),b&&b.m(n,null),e.append(n,r),e.append(n,i),e.append(n,s),e.append(n,c),e.append(t,_),e.append(t,f);for(let u=0;u<d.length;u+=1)d[u]&&d[u].m(f,null);e.append(t,M),e.append(t,A)},p(o,p){if(p[0]&16384){h=e.ensure_array_like(Array(18));let u;for(u=0;u<h.length;u+=1){const y=j(o,h,u);d[u]?d[u].p(y,p):(d[u]=D(y),d[u].c(),d[u].m(f,null))}for(;u<d.length;u+=1)d[u].d(1);d.length=h.length}},d(o){o&&e.detach(t),b&&b.d(),e.destroy_each(d,o)}}}function ae(a){let t,n,r,i,s,c,_,f,M,A,b=a[13]("title")+"",h,d,o;return{c(){t=e.element("div"),n=e.svg_element("svg"),r=e.svg_element("defs"),i=e.svg_element("style"),s=e.text(".aaa{fill:var(--emw--color-white, #FFFFFF);}"),c=e.svg_element("g"),_=e.svg_element("g"),f=e.svg_element("path"),M=e.space(),A=e.element("h3"),h=e.text(b),e.attr(f,"class","aaa"),e.attr(f,"d","M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"),e.attr(f,"transform","translate(15 15) rotate(180)"),e.attr(_,"transform","translate(20 158)"),e.attr(c,"transform","translate(-20 -158)"),e.attr(n,"xmlns","http://www.w3.org/2000/svg"),e.attr(n,"width","15"),e.attr(n,"height","15"),e.attr(n,"viewBox","0 0 15 15"),e.attr(A,"class","PlayerAccountMenuCategoryTitle"),e.attr(t,"class","PlayerAccountMenuCategoryWrapper")},m(p,u){e.insert(p,t,u),e.append(t,n),e.append(n,r),e.append(r,i),e.append(i,s),e.append(n,c),e.append(c,_),e.append(_,f),e.append(t,M),e.append(t,A),e.append(A,h),d||(o=[e.listen(n,"click",a[16]),e.listen(A,"click",a[16])],d=!0)},p(p,u){u[0]&8192&&b!==(b=p[13]("title")+"")&&e.set_data(h,b)},d(p){p&&e.detach(t),d=!1,e.run_all(o)}}}function le(a){let t,n;return{c(){t=e.element("div"),n=e.element("general-logout"),e.set_custom_element_data(n,"endpoint",a[1]),e.set_custom_element_data(n,"session",a[0]),e.set_custom_element_data(n,"buttonlocation","PlayerAccountMenu"),e.set_custom_element_data(n,"clientstyling",a[2]),e.set_custom_element_data(n,"clientstylingurl",a[3]),e.set_custom_element_data(n,"mbsource",a[4]),e.attr(t,"class","PlayerAccountLogOutArea")},m(r,i){e.insert(r,t,i),e.append(t,n)},p(r,i){i[0]&2&&e.set_custom_element_data(n,"endpoint",r[1]),i[0]&1&&e.set_custom_element_data(n,"session",r[0]),i[0]&4&&e.set_custom_element_data(n,"clientstyling",r[2]),i[0]&8&&e.set_custom_element_data(n,"clientstylingurl",r[3]),i[0]&16&&e.set_custom_element_data(n,"mbsource",r[4])},d(r){r&&e.detach(t)}}}function U(a){let t,n,r,i,s,c,_=a[43].label+"",f,M,A,b,h;function d(){return a[27](a[43])}return{c(){t=e.element("div"),n=e.element("p"),r=e.element("img"),s=e.space(),c=e.element("span"),f=e.text(_),M=e.space(),e.attr(r,"class","PlayerAccountMenuItemIcon "+(a[14]?"PlayerAccountMenuItemIconMobile":"")),e.src_url_equal(r.src,i=a[43].img)||e.attr(r,"src",i),e.attr(c,"class","PlayerAccountMenuItemTitle"),e.attr(n,"class","PlayerAccountMenuItemWrapper"),e.attr(t,"class",A="PlayerAccountMenuItemBox "+(a[9]===a[43].id&&!a[14]?"PlayerAccountMenuActiveItemBox":""))},m(o,p){e.insert(o,t,p),e.append(t,n),e.append(n,r),e.append(n,s),e.append(n,c),e.append(c,f),e.append(t,M),b||(h=e.listen(t,"click",d),b=!0)},p(o,p){a=o,p[0]&256&&!e.src_url_equal(r.src,i=a[43].img)&&e.attr(r,"src",i),p[0]&256&&_!==(_=a[43].label+"")&&e.set_data(f,_),p[0]&768&&A!==(A="PlayerAccountMenuItemBox "+(a[9]===a[43].id&&!a[14]?"PlayerAccountMenuActiveItemBox":""))&&e.attr(t,"class",A)},d(o){o&&e.detach(t),b=!1,h()}}}function re(a){let t,n;return{c(){t=e.element("div"),n=e.element("general-logout"),e.set_custom_element_data(n,"endpoint",a[1]),e.set_custom_element_data(n,"session",a[0]),e.set_custom_element_data(n,"buttonlocation","PlayerAccountMenu"),e.set_custom_element_data(n,"clientstyling",a[2]),e.set_custom_element_data(n,"clientstylingurl",a[3]),e.set_custom_element_data(n,"mbsource",a[4]),e.attr(t,"class","PlayerAccountLogOutArea")},m(r,i){e.insert(r,t,i),e.append(t,n)},p(r,i){i[0]&2&&e.set_custom_element_data(n,"endpoint",r[1]),i[0]&1&&e.set_custom_element_data(n,"session",r[0]),i[0]&4&&e.set_custom_element_data(n,"clientstyling",r[2]),i[0]&8&&e.set_custom_element_data(n,"clientstylingurl",r[3]),i[0]&16&&e.set_custom_element_data(n,"mbsource",r[4])},d(r){r&&e.detach(t)}}}function ie(a){let t;return{c(){t=e.element("div"),t.innerHTML='<ui-skeleton structure="title" width="30px" height="40px"></ui-skeleton> <ui-skeleton structure="text" width="150px" height="40px"></ui-skeleton>',e.attr(t,"class","PlayerAccountMenuCategoryWrapper")},m(n,r){e.insert(n,t,r)},d(n){n&&e.detach(t)}}}function oe(a){let t;return{c(){t=e.element("ui-skeleton"),e.set_custom_element_data(t,"structure","circle"),e.set_custom_element_data(t,"size","20px")},m(n,r){e.insert(n,t,r)},d(n){n&&e.detach(t)}}}function D(a){let t,n,r,i,s=!a[14]&&oe();return{c(){t=e.element("div"),s&&s.c(),n=e.space(),r=e.element("ui-skeleton"),i=e.space(),e.set_custom_element_data(r,"structure","rectangle"),e.set_custom_element_data(r,"width","100%"),e.set_custom_element_data(r,"height",a[14]?"60px":"20px"),e.attr(t,"class","PlayerAccountItemWrap "+(a[14]?"PlayerAccountItemWrapMobile":""))},m(c,_){e.insert(c,t,_),s&&s.m(t,null),e.append(t,n),e.append(t,r),e.append(t,i)},p:e.noop,d(c){c&&e.detach(t),s&&s.d()}}}function se(a){let t;function n(s,c){return s[7]?ne:te}let r=n(a),i=r(a);return{c(){t=e.element("div"),i.c()},m(s,c){e.insert(s,t,c),i.m(t,null),a[28](t)},p(s,c){r===(r=n(s))&&i?i.p(s,c):(i.d(1),i=r(s),i&&(i.c(),i.m(t,null)))},i:e.noop,o:e.noop,d(s){s&&e.detach(t),i.d(),a[28](null)}}}function ce(a,t,n){let r;e.component_subscribe(a,e.$format,l=>n(13,r=l));let{endpoint:i=""}=t,{cmsendpoint:s=""}=t,{env:c=""}=t,{session:_=""}=t,{playerid:f=""}=t,{lang:M="en"}=t,{selecteditem:A=""}=t,{userroles:b=""}=t,{clientstyling:h=""}=t,{clientstylingurl:d=""}=t,{mbsource:o}=t,{translationurl:p=""}=t,{activemenuitem:u=""}=t,{showaliasasusername:y="false"}=t,P=!1,m=!1,v=!0,g,k,I=[],C,L=window.navigator.userAgent,N=e.getDevice(L)!=="PC",E="",B="",F="";window.matchMedia("(min-width: 768px)");const R=()=>{fetch(p).then(w=>w.json()).then(w=>{Object.keys(w).forEach(x=>{T(x,w[x])})}).catch(w=>{console.error(w)})};Object.keys(z).forEach(l=>{T(l,z[l])});const H=l=>{if(l.data)switch(l.data.type){case"AccountMenuDetails":availableMenuItemsArray=l.data.accountMenuInfo;break;case"UserSessionID":n(0,_=l.data.session);break;case"AliasUpdated":y==="true"&&l.data.alias&&n(12,F=l.data.alias);break}},G=()=>{let l=e.getDevice(L);if(l)return l==="PC"?"dk":"mtWeb"},V=()=>{const l=new URL(`${s}/${M}/profile-menu?env=${c}`);l.searchParams.append("device",G()),fetch(l.href).then(w=>w.json()).then(w=>{n(8,I=w),S()}).catch(w=>{console.error("Error getting menu items",w)}).finally(()=>{n(25,P=!0)})},X=()=>{let l=new URL(`${i}/v1/player/${f}/profile`);l.searchParams.append("userRoles",b);let w={method:"GET",headers:{"X-SessionID":_}};fetch(l.href,w).then(x=>x.json()).then(x=>{n(10,E=x.username),n(11,B=x.email),y==="true"&&n(12,F=x.alias||"")},x=>{console.error(x)}).finally(()=>{n(26,m=!0)})},W=l=>{window.postMessage({type:"ChangeAccountPage",page:l},window.location.href),n(9,C=l.id)},S=()=>{var l;n(9,C=(l=I.find(w=>w.path.includes(u)))==null?void 0:l.id)},Z=()=>{window.postMessage({type:"GoToHomepage"},window.location.href)},J=()=>{$(M)},K=()=>{X()};e.onMount(()=>(window.addEventListener("message",H,!1),()=>{window.removeEventListener("message",H)}));const Q=l=>W(l);function Y(l){e.binding_callbacks[l?"unshift":"push"](()=>{g=l,n(6,g)})}return a.$$set=l=>{"endpoint"in l&&n(1,i=l.endpoint),"cmsendpoint"in l&&n(17,s=l.cmsendpoint),"env"in l&&n(18,c=l.env),"session"in l&&n(0,_=l.session),"playerid"in l&&n(19,f=l.playerid),"lang"in l&&n(20,M=l.lang),"selecteditem"in l&&n(21,A=l.selecteditem),"userroles"in l&&n(22,b=l.userroles),"clientstyling"in l&&n(2,h=l.clientstyling),"clientstylingurl"in l&&n(3,d=l.clientstylingurl),"mbsource"in l&&n(4,o=l.mbsource),"translationurl"in l&&n(23,p=l.translationurl),"activemenuitem"in l&&n(24,u=l.activemenuitem),"showaliasasusername"in l&&n(5,y=l.showaliasasusername)},a.$$.update=()=>{a.$$.dirty[0]&100663296&&n(7,v=!P||!m),a.$$.dirty[0]&1048576&&M&&J(),a.$$.dirty[0]&1572867&&i&&_&&f&&M&&K(),a.$$.dirty[0]&1441792&&s&&M&&c&&V(),a.$$.dirty[0]&16777216&&u&&S(),a.$$.dirty[0]&68&&h&&g&&e.setClientStyling(g,h),a.$$.dirty[0]&72&&d&&g&&e.setClientStylingURL(g,d),a.$$.dirty[0]&80&&o&&g&&e.setStreamStyling(g,`${o}.Style`,k),a.$$.dirty[0]&8388608&&p&&R()},[_,i,h,d,o,y,g,v,I,C,E,B,F,r,N,W,Z,s,c,f,M,A,b,p,u,P,m,Q,Y]}class q extends e.SvelteComponent{constructor(t){super(),e.init(this,t,ce,se,e.safe_not_equal,{endpoint:1,cmsendpoint:17,env:18,session:0,playerid:19,lang:20,selecteditem:21,userroles:22,clientstyling:2,clientstylingurl:3,mbsource:4,translationurl:23,activemenuitem:24,showaliasasusername:5},ee,[-1,-1])}get endpoint(){return this.$$.ctx[1]}set endpoint(t){this.$$set({endpoint:t}),e.flush()}get cmsendpoint(){return this.$$.ctx[17]}set cmsendpoint(t){this.$$set({cmsendpoint:t}),e.flush()}get env(){return this.$$.ctx[18]}set env(t){this.$$set({env:t}),e.flush()}get session(){return this.$$.ctx[0]}set session(t){this.$$set({session:t}),e.flush()}get playerid(){return this.$$.ctx[19]}set playerid(t){this.$$set({playerid:t}),e.flush()}get lang(){return this.$$.ctx[20]}set lang(t){this.$$set({lang:t}),e.flush()}get selecteditem(){return this.$$.ctx[21]}set selecteditem(t){this.$$set({selecteditem:t}),e.flush()}get userroles(){return this.$$.ctx[22]}set userroles(t){this.$$set({userroles:t}),e.flush()}get clientstyling(){return this.$$.ctx[2]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[3]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get mbsource(){return this.$$.ctx[4]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}get translationurl(){return this.$$.ctx[23]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}get activemenuitem(){return this.$$.ctx[24]}set activemenuitem(t){this.$$set({activemenuitem:t}),e.flush()}get showaliasasusername(){return this.$$.ctx[5]}set showaliasasusername(t){this.$$set({showaliasasusername:t}),e.flush()}}e.create_custom_element(q,{endpoint:{},cmsendpoint:{},env:{},session:{},playerid:{},lang:{},selecteditem:{},userroles:{},clientstyling:{},clientstylingurl:{},mbsource:{},translationurl:{},activemenuitem:{},showaliasasusername:{}},[],[],!0);exports.default=q;
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./PlayerAccountControllerNd-BdZO2ePq.cjs");require("../stencil/ui-skeleton-DCajaTYn.cjs");require("../lazy/general-logout-Cv4zhTaJ.cjs");function T(a,t){e.addMessages(a,t)}function $(a){e.$locale.set(a)}const z={en:{title:"My Account"},"zh-hk":{title:"我的帳戶"},fr:{title:"Mon compte"},tr:{title:"Hesabım"},ro:{title:"Contul meu"},es:{title:"Mi Cuenta"},pt:{title:"Minha Conta"},hr:{title:"Moj račun"},"pt-br":{title:"Minha conta"},"es-mx":{title:"Mi cuenta"},"en-us":{title:"My Account"}};function ee(a){e.append_styles(a,"svelte-j26xf8",'.PlayerAccountMenuContainer{background:var(--emw--color-primary, #184026);color:var(--emw--pam-typography-color-nav-bg, var(--emw--color-contrast, #FFFFFF));position:relative;height:100vh;display:flex;flex-direction:column;padding:0 15px;animation-name:fadeIn;animation-iteration-count:1;animation-timing-function:ease-in;animation-duration:0.3s}.PlayerAccountMenuContainer .PlayerAccountMenuItemWrapper{margin:0;word-break:break-all;display:flex;align-items:center}.PlayerAccountMenuContainer .PlayerAccountMenuItemWrapper span{display:flex;align-items:center}.PlayerAccountMenuContainer .skeletonLogOut{width:100%;border-radius:10px;overflow:hidden}.PlayerAccountMenuHeader{color:var(--emw--pam-typography-color-nav-bg, var(--emw--color-contrast, #FFFFFF));flex-grow:0;padding:30px 20px}.PlayerAccountMenuHeader .PlayerAccountMenuUser{margin-bottom:5px;font-size:var(--emw--font-size-large, 20px);color:var(--emw--pam-color-secondary, var(--emw--color-secondary, #E98B10))}.PlayerAccountMenuHeader .PlayerAccountMenuEmail{font-size:var(--emw--font-size-small, 14px);text-overflow:ellipsis;overflow:hidden}.PlayerAccountMenuHeader p{font-weight:300}.PlayerAccountMenuHeaderMobile{color:var(--emw--pam-typography-color-nav-bg, var(--emw--color-contrast, #FFFFFF))}.PlayerAccountMenuItemBox{padding:14px 20px;margin:2px 0;font-size:var(--emw--font-size-medium, 16px);line-height:16px;display:inline-flex;width:100%;box-sizing:border-box;align-items:center;border-radius:var(--emw--border-radius-medium, 10px);border:2px solid transparent;cursor:pointer;transition:all 0.3s linear}.PlayerAccountMenuItemBox:hover{transition:all 0.3s linear;background:rgba(35, 176, 78, 0.3);border:2px solid var(--emw--pam-color-primary, var(--emw--color-primary, #23B04E));border-radius:var(--emw--border-radius-medium, 10px);color:var(--emw--color-white, #FFFFFF)}.PlayerAccountMenuItemBox .PlayerAccountMenuItemTitle{margin-left:20px}.PlayerAccountMenuItemBox .PlayerAccountMenuItemIcon{width:20px;height:20px;padding-top:unset}.PlayerAccountMenuItemBox .PlayerAccountMenuItemIconMobile{width:30px;height:30px;padding-top:15px}.PlayerAccountMenuList::-webkit-scrollbar{width:6px}.PlayerAccountMenuList::-webkit-scrollbar-track{background:var(--emw--color-gray-300, #58586B)}.PlayerAccountMenuList::-webkit-scrollbar-thumb{background:var(--emw--color-gray-100, #E6E6E6)}.PlayerAccountItemWrap{display:flex;gap:20px;padding:16px 20px}.PlayerAccountItemWrap.PlayerAccountItemWrapMobile{padding:5px;width:100%;box-sizing:border-box}.PlayerAccountItemWrap ui-skeleton:last-child{flex:1}.PlayerAccountLogOutArea{background-color:rgba(253, 40, 57, 0.3);color:var(--emw--color-white, #FFFFFF);border-radius:var(--emw--border-radius-medium, 10px);width:100%;flex-grow:0}.PlayerAccountMenuActiveItemBox{background:rgba(35, 176, 78, 0.3);color:var(--emw--pam-color-primary, var(--emw--color-primary, #23B04E));border:2px solid var(--emw--pam-color-primary, var(--emw--color-primary, #23B04E));border-radius:var(--emw--border-radius-medium, 10px);transition:all 0.3s linear}.PlayerAccountMobileContainer{height:unset;padding:0}.PlayerAccountMobileContainer .PlayerAccountMenuCategoryWrapper{display:flex;align-items:center;gap:10px;margin-bottom:18px}.PlayerAccountMobileContainer .PlayerAccountMenuCategoryTitle{margin:0;font-weight:600}.PlayerAccountMobileContainer .PlayerAccountMenuItemTitle{margin-left:0;text-transform:capitalize;line-height:14px}.PlayerAccountMobileContainer .PlayerAccountMenuEmail{margin:0}.PlayerAccountMobileContainer .PlayerAccountMenuList{display:flex;flex-direction:column;align-items:flex-start;margin:0px 15px;min-height:900px}.PlayerAccountMobileContainer .PlayerAccountMenuList .PlayerAccountMenuItemBox{background:rgba(35, 176, 78, 0.3);color:var(--emw--pam-color-primary, var(--emw--color-primary, #23B04E));border:2px solid var(--emw--pam-color-primary, var(--emw--color-primary, #23B04E));border-radius:var(--emw--border-radius-medium, 10px);height:60px;margin:5px 0;align-items:flex-start;position:relative}.PlayerAccountMobileContainer .PlayerAccountMenuList .PlayerAccountMenuItemBox.PlayerAccountMenuActiveItemBox{background:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.PlayerAccountMobileContainer .PlayerAccountMenuList .PlayerAccountMenuItemBox .PlayerAccountMenuItemIcon{width:20px;padding:0 10px 0 15px}.PlayerAccountMobileContainer .PlayerAccountMenuList .PlayerAccountMenuItemBox::after{content:"";display:inline-block;width:15px;height:15px;background-image:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2215%22 height=%2215%22 viewBox=%220 0 15 15%22%3E%3Cdefs%3E%3Cstyle%3E.aaa%7Bfill:var(--emw--color-white,%20%23FFFFFF);%7D%3C/style%3E%3C/defs%3E%3Cg transform=%22translate(-20%20-158)%22%3E%3Cg transform=%22translate(20%20158)%22%3E%3Cpath class=%22aaa%22 d=%22M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z%22 transform=%22translate(15%2015)%20rotate(180)%22%3E%3C/path%3E%3C/g%3E%3C/g%3E%3C/svg%3E");background-size:contain;transform:scaleX(-1);background-repeat:no-repeat;position:absolute;right:15px;top:22px}.PlayerAccountMobileContainer .PlayerAccountMenuList .PlayerAccountMenuItemWrapper{display:flex;justify-items:center;align-items:center;flex-flow:row;gap:6px;position:absolute;top:0;bottom:0;left:0;right:0}.PlayerAccountMobileContainer .PlayerAccountMenuList .PlayerAccountMenuItemWrapper .PlayerAccountMenuItemTitle{font-size:var(--emw--font-size-medium, 16px);line-height:16px;font-weight:400;word-break:break-word;text-align:left;color:var(--emw--pam-typography-color-nav-bg, var(--emw--color-contrast, #FFFFFF))}.PlayerAccountMobileContainer .PlayerAccountLogOutArea{position:absolute;right:18px;top:56px;bottom:unset;background:transparent;width:48px;border-top:0}@keyframes fadeIn{0%{opacity:0.01}1%{opacity:0}50%{opacity:0}100%{opacity:1}}')}function O(a,t,n){const r=a.slice();return r[43]=t[n],r}function j(a,t,n){const r=a.slice();return r[40]=t[n],r}function te(a){let t,n,r,i,s=(a[5]==="true"?a[12]:a[10])+"",c,_,f,M,A,b,h,d,o=a[14]&&ae(a),p=a[14]&&le(a),u=e.ensure_array_like(a[8]),y=[];for(let m=0;m<u.length;m+=1)y[m]=U(O(a,u,m));let P=!a[14]&&re(a);return{c(){t=e.element("div"),n=e.element("div"),o&&o.c(),r=e.space(),i=e.element("p"),c=e.text(s),_=e.space(),f=e.element("p"),M=e.text(a[11]),A=e.space(),p&&p.c(),b=e.space(),h=e.element("div");for(let m=0;m<y.length;m+=1)y[m].c();d=e.space(),P&&P.c(),e.attr(i,"class","PlayerAccountMenuUser"),e.attr(i,"translate","no"),e.attr(f,"class","PlayerAccountMenuEmail"),e.attr(f,"translate","no"),e.attr(n,"class","PlayerAccountMenuHeader "+(a[14]?"PlayerAccountMenuHeaderMobile":"")),e.attr(h,"class","PlayerAccountMenuList"),e.attr(t,"class","PlayerAccountMenuContainer "+(a[14]?"PlayerAccountMobileContainer":""))},m(m,v){e.insert(m,t,v),e.append(t,n),o&&o.m(n,null),e.append(n,r),e.append(n,i),e.append(i,c),e.append(n,_),e.append(n,f),e.append(f,M),e.append(n,A),p&&p.m(n,null),e.append(t,b),e.append(t,h);for(let g=0;g<y.length;g+=1)y[g]&&y[g].m(h,null);e.append(t,d),P&&P.m(t,null)},p(m,v){if(m[14]&&o.p(m,v),v[0]&5152&&s!==(s=(m[5]==="true"?m[12]:m[10])+"")&&e.set_data(c,s),v[0]&2048&&e.set_data(M,m[11]),m[14]&&p.p(m,v),v[0]&49920){u=e.ensure_array_like(m[8]);let g;for(g=0;g<u.length;g+=1){const k=O(m,u,g);y[g]?y[g].p(k,v):(y[g]=U(k),y[g].c(),y[g].m(h,null))}for(;g<y.length;g+=1)y[g].d(1);y.length=u.length}m[14]||P.p(m,v)},d(m){m&&e.detach(t),o&&o.d(),p&&p.d(),e.destroy_each(y,m),P&&P.d()}}}function ne(a){let t,n,r,i,s,c,_,f,M,A,b=a[14]&&ie(),h=e.ensure_array_like(Array(18)),d=[];for(let o=0;o<h.length;o+=1)d[o]=D(j(a,h,o));return{c(){t=e.element("div"),n=e.element("div"),b&&b.c(),r=e.space(),i=e.element("ui-skeleton"),s=e.space(),c=e.element("ui-skeleton"),_=e.space(),f=e.element("div");for(let o=0;o<d.length;o+=1)d[o].c();M=e.space(),A=e.element("div"),A.innerHTML='<ui-skeleton structure="rectangle" width="auto" height="60px"></ui-skeleton>',e.set_custom_element_data(i,"structure","title"),e.set_custom_element_data(i,"width","100px"),e.set_custom_element_data(i,"height","20px"),e.set_custom_element_data(i,"margin-top","20px"),e.set_custom_element_data(c,"structure","text"),e.set_custom_element_data(c,"width","200px"),e.set_custom_element_data(c,"height","20px"),e.attr(n,"class","PlayerAccountMenuHeader "+(a[14]?"PlayerAccountMenuHeaderMobile":"")),e.attr(f,"class","PlayerAccountMenuList"),e.attr(A,"class","skeletonLogOut"),e.attr(t,"class","PlayerAccountMenuContainer "+(a[14]?"PlayerAccountMobileContainer":""))},m(o,p){e.insert(o,t,p),e.append(t,n),b&&b.m(n,null),e.append(n,r),e.append(n,i),e.append(n,s),e.append(n,c),e.append(t,_),e.append(t,f);for(let u=0;u<d.length;u+=1)d[u]&&d[u].m(f,null);e.append(t,M),e.append(t,A)},p(o,p){if(p[0]&16384){h=e.ensure_array_like(Array(18));let u;for(u=0;u<h.length;u+=1){const y=j(o,h,u);d[u]?d[u].p(y,p):(d[u]=D(y),d[u].c(),d[u].m(f,null))}for(;u<d.length;u+=1)d[u].d(1);d.length=h.length}},d(o){o&&e.detach(t),b&&b.d(),e.destroy_each(d,o)}}}function ae(a){let t,n,r,i,s,c,_,f,M,A,b=a[13]("title")+"",h,d,o;return{c(){t=e.element("div"),n=e.svg_element("svg"),r=e.svg_element("defs"),i=e.svg_element("style"),s=e.text(".aaa{fill:var(--emw--color-white, #FFFFFF);}"),c=e.svg_element("g"),_=e.svg_element("g"),f=e.svg_element("path"),M=e.space(),A=e.element("h3"),h=e.text(b),e.attr(f,"class","aaa"),e.attr(f,"d","M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"),e.attr(f,"transform","translate(15 15) rotate(180)"),e.attr(_,"transform","translate(20 158)"),e.attr(c,"transform","translate(-20 -158)"),e.attr(n,"xmlns","http://www.w3.org/2000/svg"),e.attr(n,"width","15"),e.attr(n,"height","15"),e.attr(n,"viewBox","0 0 15 15"),e.attr(A,"class","PlayerAccountMenuCategoryTitle"),e.attr(t,"class","PlayerAccountMenuCategoryWrapper")},m(p,u){e.insert(p,t,u),e.append(t,n),e.append(n,r),e.append(r,i),e.append(i,s),e.append(n,c),e.append(c,_),e.append(_,f),e.append(t,M),e.append(t,A),e.append(A,h),d||(o=[e.listen(n,"click",a[16]),e.listen(A,"click",a[16])],d=!0)},p(p,u){u[0]&8192&&b!==(b=p[13]("title")+"")&&e.set_data(h,b)},d(p){p&&e.detach(t),d=!1,e.run_all(o)}}}function le(a){let t,n;return{c(){t=e.element("div"),n=e.element("general-logout"),e.set_custom_element_data(n,"endpoint",a[1]),e.set_custom_element_data(n,"session",a[0]),e.set_custom_element_data(n,"buttonlocation","PlayerAccountMenu"),e.set_custom_element_data(n,"clientstyling",a[2]),e.set_custom_element_data(n,"clientstylingurl",a[3]),e.set_custom_element_data(n,"mbsource",a[4]),e.attr(t,"class","PlayerAccountLogOutArea")},m(r,i){e.insert(r,t,i),e.append(t,n)},p(r,i){i[0]&2&&e.set_custom_element_data(n,"endpoint",r[1]),i[0]&1&&e.set_custom_element_data(n,"session",r[0]),i[0]&4&&e.set_custom_element_data(n,"clientstyling",r[2]),i[0]&8&&e.set_custom_element_data(n,"clientstylingurl",r[3]),i[0]&16&&e.set_custom_element_data(n,"mbsource",r[4])},d(r){r&&e.detach(t)}}}function U(a){let t,n,r,i,s,c,_=a[43].label+"",f,M,A,b,h;function d(){return a[27](a[43])}return{c(){t=e.element("div"),n=e.element("p"),r=e.element("img"),s=e.space(),c=e.element("span"),f=e.text(_),M=e.space(),e.attr(r,"class","PlayerAccountMenuItemIcon "+(a[14]?"PlayerAccountMenuItemIconMobile":"")),e.src_url_equal(r.src,i=a[43].img)||e.attr(r,"src",i),e.attr(c,"class","PlayerAccountMenuItemTitle"),e.attr(n,"class","PlayerAccountMenuItemWrapper"),e.attr(t,"class",A="PlayerAccountMenuItemBox "+(a[9]===a[43].id&&!a[14]?"PlayerAccountMenuActiveItemBox":""))},m(o,p){e.insert(o,t,p),e.append(t,n),e.append(n,r),e.append(n,s),e.append(n,c),e.append(c,f),e.append(t,M),b||(h=e.listen(t,"click",d),b=!0)},p(o,p){a=o,p[0]&256&&!e.src_url_equal(r.src,i=a[43].img)&&e.attr(r,"src",i),p[0]&256&&_!==(_=a[43].label+"")&&e.set_data(f,_),p[0]&768&&A!==(A="PlayerAccountMenuItemBox "+(a[9]===a[43].id&&!a[14]?"PlayerAccountMenuActiveItemBox":""))&&e.attr(t,"class",A)},d(o){o&&e.detach(t),b=!1,h()}}}function re(a){let t,n;return{c(){t=e.element("div"),n=e.element("general-logout"),e.set_custom_element_data(n,"endpoint",a[1]),e.set_custom_element_data(n,"session",a[0]),e.set_custom_element_data(n,"buttonlocation","PlayerAccountMenu"),e.set_custom_element_data(n,"clientstyling",a[2]),e.set_custom_element_data(n,"clientstylingurl",a[3]),e.set_custom_element_data(n,"mbsource",a[4]),e.attr(t,"class","PlayerAccountLogOutArea")},m(r,i){e.insert(r,t,i),e.append(t,n)},p(r,i){i[0]&2&&e.set_custom_element_data(n,"endpoint",r[1]),i[0]&1&&e.set_custom_element_data(n,"session",r[0]),i[0]&4&&e.set_custom_element_data(n,"clientstyling",r[2]),i[0]&8&&e.set_custom_element_data(n,"clientstylingurl",r[3]),i[0]&16&&e.set_custom_element_data(n,"mbsource",r[4])},d(r){r&&e.detach(t)}}}function ie(a){let t;return{c(){t=e.element("div"),t.innerHTML='<ui-skeleton structure="title" width="30px" height="40px"></ui-skeleton> <ui-skeleton structure="text" width="150px" height="40px"></ui-skeleton>',e.attr(t,"class","PlayerAccountMenuCategoryWrapper")},m(n,r){e.insert(n,t,r)},d(n){n&&e.detach(t)}}}function oe(a){let t;return{c(){t=e.element("ui-skeleton"),e.set_custom_element_data(t,"structure","circle"),e.set_custom_element_data(t,"size","20px")},m(n,r){e.insert(n,t,r)},d(n){n&&e.detach(t)}}}function D(a){let t,n,r,i,s=!a[14]&&oe();return{c(){t=e.element("div"),s&&s.c(),n=e.space(),r=e.element("ui-skeleton"),i=e.space(),e.set_custom_element_data(r,"structure","rectangle"),e.set_custom_element_data(r,"width","100%"),e.set_custom_element_data(r,"height",a[14]?"60px":"20px"),e.attr(t,"class","PlayerAccountItemWrap "+(a[14]?"PlayerAccountItemWrapMobile":""))},m(c,_){e.insert(c,t,_),s&&s.m(t,null),e.append(t,n),e.append(t,r),e.append(t,i)},p:e.noop,d(c){c&&e.detach(t),s&&s.d()}}}function se(a){let t;function n(s,c){return s[7]?ne:te}let r=n(a),i=r(a);return{c(){t=e.element("div"),i.c()},m(s,c){e.insert(s,t,c),i.m(t,null),a[28](t)},p(s,c){r===(r=n(s))&&i?i.p(s,c):(i.d(1),i=r(s),i&&(i.c(),i.m(t,null)))},i:e.noop,o:e.noop,d(s){s&&e.detach(t),i.d(),a[28](null)}}}function ce(a,t,n){let r;e.component_subscribe(a,e.$format,l=>n(13,r=l));let{endpoint:i=""}=t,{cmsendpoint:s=""}=t,{env:c=""}=t,{session:_=""}=t,{playerid:f=""}=t,{lang:M="en"}=t,{selecteditem:A=""}=t,{userroles:b=""}=t,{clientstyling:h=""}=t,{clientstylingurl:d=""}=t,{mbsource:o}=t,{translationurl:p=""}=t,{activemenuitem:u=""}=t,{showaliasasusername:y="false"}=t,P=!1,m=!1,v=!0,g,k,I=[],C,L=window.navigator.userAgent,N=e.getDevice(L)!=="PC",E="",B="",F="";window.matchMedia("(min-width: 768px)");const R=()=>{fetch(p).then(w=>w.json()).then(w=>{Object.keys(w).forEach(x=>{T(x,w[x])})}).catch(w=>{console.error(w)})};Object.keys(z).forEach(l=>{T(l,z[l])});const H=l=>{if(l.data)switch(l.data.type){case"AccountMenuDetails":availableMenuItemsArray=l.data.accountMenuInfo;break;case"UserSessionID":n(0,_=l.data.session);break;case"AliasUpdated":y==="true"&&l.data.alias&&n(12,F=l.data.alias);break}},G=()=>{let l=e.getDevice(L);if(l)return l==="PC"?"dk":"mtWeb"},V=()=>{const l=new URL(`${s}/${M}/profile-menu?env=${c}`);l.searchParams.append("device",G()),fetch(l.href).then(w=>w.json()).then(w=>{n(8,I=w),S()}).catch(w=>{console.error("Error getting menu items",w)}).finally(()=>{n(25,P=!0)})},X=()=>{let l=new URL(`${i}/v1/player/${f}/profile`);l.searchParams.append("userRoles",b);let w={method:"GET",headers:{"X-SessionID":_}};fetch(l.href,w).then(x=>x.json()).then(x=>{n(10,E=x.username),n(11,B=x.email),y==="true"&&n(12,F=x.alias||"")},x=>{console.error(x)}).finally(()=>{n(26,m=!0)})},W=l=>{window.postMessage({type:"ChangeAccountPage",page:l},window.location.href),n(9,C=l.id)},S=()=>{var l;n(9,C=(l=I.find(w=>w.path.includes(u)))==null?void 0:l.id)},Z=()=>{window.postMessage({type:"GoToHomepage"},window.location.href)},J=()=>{$(M)},K=()=>{X()};e.onMount(()=>(window.addEventListener("message",H,!1),()=>{window.removeEventListener("message",H)}));const Q=l=>W(l);function Y(l){e.binding_callbacks[l?"unshift":"push"](()=>{g=l,n(6,g)})}return a.$$set=l=>{"endpoint"in l&&n(1,i=l.endpoint),"cmsendpoint"in l&&n(17,s=l.cmsendpoint),"env"in l&&n(18,c=l.env),"session"in l&&n(0,_=l.session),"playerid"in l&&n(19,f=l.playerid),"lang"in l&&n(20,M=l.lang),"selecteditem"in l&&n(21,A=l.selecteditem),"userroles"in l&&n(22,b=l.userroles),"clientstyling"in l&&n(2,h=l.clientstyling),"clientstylingurl"in l&&n(3,d=l.clientstylingurl),"mbsource"in l&&n(4,o=l.mbsource),"translationurl"in l&&n(23,p=l.translationurl),"activemenuitem"in l&&n(24,u=l.activemenuitem),"showaliasasusername"in l&&n(5,y=l.showaliasasusername)},a.$$.update=()=>{a.$$.dirty[0]&100663296&&n(7,v=!P||!m),a.$$.dirty[0]&1048576&&M&&J(),a.$$.dirty[0]&1572867&&i&&_&&f&&M&&K(),a.$$.dirty[0]&1441792&&s&&M&&c&&V(),a.$$.dirty[0]&16777216&&u&&S(),a.$$.dirty[0]&68&&h&&g&&e.setClientStyling(g,h),a.$$.dirty[0]&72&&d&&g&&e.setClientStylingURL(g,d),a.$$.dirty[0]&80&&o&&g&&e.setStreamStyling(g,`${o}.Style`,k),a.$$.dirty[0]&8388608&&p&&R()},[_,i,h,d,o,y,g,v,I,C,E,B,F,r,N,W,Z,s,c,f,M,A,b,p,u,P,m,Q,Y]}class q extends e.SvelteComponent{constructor(t){super(),e.init(this,t,ce,se,e.safe_not_equal,{endpoint:1,cmsendpoint:17,env:18,session:0,playerid:19,lang:20,selecteditem:21,userroles:22,clientstyling:2,clientstylingurl:3,mbsource:4,translationurl:23,activemenuitem:24,showaliasasusername:5},ee,[-1,-1])}get endpoint(){return this.$$.ctx[1]}set endpoint(t){this.$$set({endpoint:t}),e.flush()}get cmsendpoint(){return this.$$.ctx[17]}set cmsendpoint(t){this.$$set({cmsendpoint:t}),e.flush()}get env(){return this.$$.ctx[18]}set env(t){this.$$set({env:t}),e.flush()}get session(){return this.$$.ctx[0]}set session(t){this.$$set({session:t}),e.flush()}get playerid(){return this.$$.ctx[19]}set playerid(t){this.$$set({playerid:t}),e.flush()}get lang(){return this.$$.ctx[20]}set lang(t){this.$$set({lang:t}),e.flush()}get selecteditem(){return this.$$.ctx[21]}set selecteditem(t){this.$$set({selecteditem:t}),e.flush()}get userroles(){return this.$$.ctx[22]}set userroles(t){this.$$set({userroles:t}),e.flush()}get clientstyling(){return this.$$.ctx[2]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[3]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get mbsource(){return this.$$.ctx[4]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}get translationurl(){return this.$$.ctx[23]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}get activemenuitem(){return this.$$.ctx[24]}set activemenuitem(t){this.$$set({activemenuitem:t}),e.flush()}get showaliasasusername(){return this.$$.ctx[5]}set showaliasasusername(t){this.$$set({showaliasasusername:t}),e.flush()}}e.create_custom_element(q,{endpoint:{},cmsendpoint:{},env:{},session:{},playerid:{},lang:{},selecteditem:{},userroles:{},clientstyling:{},clientstylingurl:{},mbsource:{},translationurl:{},activemenuitem:{},showaliasasusername:{}},[],[],!0);exports.default=q;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { a as fe, $ as ye, S as pe, i as he, s as be, f as k, b as Ae, n as D, d as E, c as B, e as b, g as we, h as J, o as Me, j as ve, k as S, l as le, m as a, p as I, q as c, r as d, t as T, u as W, v as Pe, w as R, x as H, y as K, z as _e, A as xe, B as ke, C as Ie, D as Ce } from "./PlayerAccountControllerNd-CWoxORIO.js";
|
|
2
2
|
import "../stencil/ui-skeleton-Dd7tqzYw.js";
|
|
3
|
-
import "../lazy/general-logout-
|
|
3
|
+
import "../lazy/general-logout-BzM9NM3J.js";
|
|
4
4
|
function Q(n, e) {
|
|
5
5
|
fe(n, e);
|
|
6
6
|
}
|
|
7
|
-
function
|
|
7
|
+
function Fe(n) {
|
|
8
8
|
ye.set(n);
|
|
9
9
|
}
|
|
10
10
|
const Y = {
|
|
@@ -63,7 +63,7 @@ function Ee(n) {
|
|
|
63
63
|
/*profileUsername*/
|
|
64
64
|
n[10]
|
|
65
65
|
)) + ""
|
|
66
|
-
), u,
|
|
66
|
+
), u, w, h, _, P, v, A, f, o = (
|
|
67
67
|
/*isMobile*/
|
|
68
68
|
n[14] && He(n)
|
|
69
69
|
), y = (
|
|
@@ -72,33 +72,33 @@ function Ee(n) {
|
|
|
72
72
|
), m = S(
|
|
73
73
|
/*menuItems*/
|
|
74
74
|
n[8]
|
|
75
|
-
),
|
|
75
|
+
), M = [];
|
|
76
76
|
for (let g = 0; g < m.length; g += 1)
|
|
77
|
-
|
|
78
|
-
let
|
|
77
|
+
M[g] = te($(n, m, g));
|
|
78
|
+
let F = !/*isMobile*/
|
|
79
79
|
n[14] && ze(n);
|
|
80
80
|
return {
|
|
81
81
|
c() {
|
|
82
|
-
e = b("div"), t = b("div"), o && o.c(), i = I(), r = b("p"), u = W(s),
|
|
82
|
+
e = b("div"), t = b("div"), o && o.c(), i = I(), r = b("p"), u = W(s), w = I(), h = b("p"), _ = W(
|
|
83
83
|
/*profileEmail*/
|
|
84
84
|
n[11]
|
|
85
85
|
), P = I(), y && y.c(), v = I(), A = b("div");
|
|
86
|
-
for (let g = 0; g <
|
|
87
|
-
|
|
88
|
-
f = I(),
|
|
86
|
+
for (let g = 0; g < M.length; g += 1)
|
|
87
|
+
M[g].c();
|
|
88
|
+
f = I(), F && F.c(), d(r, "class", "PlayerAccountMenuUser"), d(r, "translate", "no"), d(h, "class", "PlayerAccountMenuEmail"), d(h, "translate", "no"), d(t, "class", "PlayerAccountMenuHeader " + /*isMobile*/
|
|
89
89
|
(n[14] ? "PlayerAccountMenuHeaderMobile" : "")), d(A, "class", "PlayerAccountMenuList"), d(e, "class", "PlayerAccountMenuContainer " + /*isMobile*/
|
|
90
90
|
(n[14] ? "PlayerAccountMobileContainer" : ""));
|
|
91
91
|
},
|
|
92
|
-
m(g,
|
|
93
|
-
B(g, e,
|
|
94
|
-
for (let p = 0; p <
|
|
95
|
-
|
|
96
|
-
a(e, f),
|
|
92
|
+
m(g, C) {
|
|
93
|
+
B(g, e, C), a(e, t), o && o.m(t, null), a(t, i), a(t, r), a(r, u), a(t, w), a(t, h), a(h, _), a(t, P), y && y.m(t, null), a(e, v), a(e, A);
|
|
94
|
+
for (let p = 0; p < M.length; p += 1)
|
|
95
|
+
M[p] && M[p].m(A, null);
|
|
96
|
+
a(e, f), F && F.m(e, null);
|
|
97
97
|
},
|
|
98
|
-
p(g,
|
|
98
|
+
p(g, C) {
|
|
99
99
|
if (
|
|
100
100
|
/*isMobile*/
|
|
101
|
-
g[14] && o.p(g,
|
|
101
|
+
g[14] && o.p(g, C), C[0] & /*showaliasasusername, profileAlias, profileUsername*/
|
|
102
102
|
5152 && s !== (s = /*showaliasasusername*/
|
|
103
103
|
(g[5] === "true" ? (
|
|
104
104
|
/*profileAlias*/
|
|
@@ -106,13 +106,13 @@ function Ee(n) {
|
|
|
106
106
|
) : (
|
|
107
107
|
/*profileUsername*/
|
|
108
108
|
g[10]
|
|
109
|
-
)) + "") && T(u, s),
|
|
109
|
+
)) + "") && T(u, s), C[0] & /*profileEmail*/
|
|
110
110
|
2048 && T(
|
|
111
111
|
_,
|
|
112
112
|
/*profileEmail*/
|
|
113
113
|
g[11]
|
|
114
114
|
), /*isMobile*/
|
|
115
|
-
g[14] && y.p(g,
|
|
115
|
+
g[14] && y.p(g, C), C[0] & /*selectedItem, menuItems, isMobile, openAccountSection*/
|
|
116
116
|
49920
|
|
117
117
|
) {
|
|
118
118
|
m = S(
|
|
@@ -122,22 +122,22 @@ function Ee(n) {
|
|
|
122
122
|
let p;
|
|
123
123
|
for (p = 0; p < m.length; p += 1) {
|
|
124
124
|
const z = $(g, m, p);
|
|
125
|
-
|
|
125
|
+
M[p] ? M[p].p(z, C) : (M[p] = te(z), M[p].c(), M[p].m(A, null));
|
|
126
126
|
}
|
|
127
|
-
for (; p <
|
|
128
|
-
|
|
129
|
-
|
|
127
|
+
for (; p < M.length; p += 1)
|
|
128
|
+
M[p].d(1);
|
|
129
|
+
M.length = m.length;
|
|
130
130
|
}
|
|
131
131
|
/*isMobile*/
|
|
132
|
-
g[14] ||
|
|
132
|
+
g[14] || F.p(g, C);
|
|
133
133
|
},
|
|
134
134
|
d(g) {
|
|
135
|
-
g && E(e), o && o.d(), y && y.d(), le(
|
|
135
|
+
g && E(e), o && o.d(), y && y.d(), le(M, g), F && F.d();
|
|
136
136
|
}
|
|
137
137
|
};
|
|
138
138
|
}
|
|
139
139
|
function Be(n) {
|
|
140
|
-
let e, t, i, r, s, u,
|
|
140
|
+
let e, t, i, r, s, u, w, h, _, P, v = (
|
|
141
141
|
/*isMobile*/
|
|
142
142
|
n[14] && Se()
|
|
143
143
|
), A = S(Array(18)), f = [];
|
|
@@ -145,7 +145,7 @@ function Be(n) {
|
|
|
145
145
|
f[o] = ne(ee(n, A, o));
|
|
146
146
|
return {
|
|
147
147
|
c() {
|
|
148
|
-
e = b("div"), t = b("div"), v && v.c(), i = I(), r = b("ui-skeleton"), s = I(), u = b("ui-skeleton"),
|
|
148
|
+
e = b("div"), t = b("div"), v && v.c(), i = I(), r = b("ui-skeleton"), s = I(), u = b("ui-skeleton"), w = I(), h = b("div");
|
|
149
149
|
for (let o = 0; o < f.length; o += 1)
|
|
150
150
|
f[o].c();
|
|
151
151
|
_ = I(), P = b("div"), P.innerHTML = '<ui-skeleton structure="rectangle" width="auto" height="60px"></ui-skeleton>', c(r, "structure", "title"), c(r, "width", "100px"), c(r, "height", "20px"), c(r, "margin-top", "20px"), c(u, "structure", "text"), c(u, "width", "200px"), c(u, "height", "20px"), d(t, "class", "PlayerAccountMenuHeader " + /*isMobile*/
|
|
@@ -153,7 +153,7 @@ function Be(n) {
|
|
|
153
153
|
(n[14] ? "PlayerAccountMobileContainer" : ""));
|
|
154
154
|
},
|
|
155
155
|
m(o, y) {
|
|
156
|
-
B(o, e, y), a(e, t), v && v.m(t, null), a(t, i), a(t, r), a(t, s), a(t, u), a(e,
|
|
156
|
+
B(o, e, y), a(e, t), v && v.m(t, null), a(t, i), a(t, r), a(t, s), a(t, u), a(e, w), a(e, h);
|
|
157
157
|
for (let m = 0; m < f.length; m += 1)
|
|
158
158
|
f[m] && f[m].m(h, null);
|
|
159
159
|
a(e, _), a(e, P);
|
|
@@ -164,8 +164,8 @@ function Be(n) {
|
|
|
164
164
|
A = S(Array(18));
|
|
165
165
|
let m;
|
|
166
166
|
for (m = 0; m < A.length; m += 1) {
|
|
167
|
-
const
|
|
168
|
-
f[m] ? f[m].p(
|
|
167
|
+
const M = ee(o, A, m);
|
|
168
|
+
f[m] ? f[m].p(M, y) : (f[m] = ne(M), f[m].c(), f[m].m(h, null));
|
|
169
169
|
}
|
|
170
170
|
for (; m < f.length; m += 1)
|
|
171
171
|
f[m].d(1);
|
|
@@ -178,16 +178,16 @@ function Be(n) {
|
|
|
178
178
|
};
|
|
179
179
|
}
|
|
180
180
|
function He(n) {
|
|
181
|
-
let e, t, i, r, s, u,
|
|
181
|
+
let e, t, i, r, s, u, w, h, _, P, v = (
|
|
182
182
|
/*$_*/
|
|
183
183
|
n[13]("title") + ""
|
|
184
184
|
), A, f, o;
|
|
185
185
|
return {
|
|
186
186
|
c() {
|
|
187
|
-
e = b("div"), t = H("svg"), i = H("defs"), r = H("style"), s = W(".aaa{fill:var(--emw--color-white, #FFFFFF);}"), u = H("g"),
|
|
187
|
+
e = b("div"), t = H("svg"), i = H("defs"), r = H("style"), s = W(".aaa{fill:var(--emw--color-white, #FFFFFF);}"), u = H("g"), w = H("g"), h = H("path"), _ = I(), P = b("h3"), A = W(v), d(h, "class", "aaa"), d(h, "d", "M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"), d(h, "transform", "translate(15 15) rotate(180)"), d(w, "transform", "translate(20 158)"), d(u, "transform", "translate(-20 -158)"), d(t, "xmlns", "http://www.w3.org/2000/svg"), d(t, "width", "15"), d(t, "height", "15"), d(t, "viewBox", "0 0 15 15"), d(P, "class", "PlayerAccountMenuCategoryTitle"), d(e, "class", "PlayerAccountMenuCategoryWrapper");
|
|
188
188
|
},
|
|
189
189
|
m(y, m) {
|
|
190
|
-
B(y, e, m), a(e, t), a(t, i), a(i, r), a(r, s), a(t, u), a(u,
|
|
190
|
+
B(y, e, m), a(e, t), a(t, i), a(i, r), a(r, s), a(t, u), a(u, w), a(w, h), a(e, _), a(e, P), a(P, A), f || (o = [
|
|
191
191
|
R(
|
|
192
192
|
t,
|
|
193
193
|
"click",
|
|
@@ -285,7 +285,7 @@ function We(n) {
|
|
|
285
285
|
};
|
|
286
286
|
}
|
|
287
287
|
function te(n) {
|
|
288
|
-
let e, t, i, r, s, u,
|
|
288
|
+
let e, t, i, r, s, u, w = (
|
|
289
289
|
/*menuItem*/
|
|
290
290
|
n[43].label + ""
|
|
291
291
|
), h, _, P, v, A;
|
|
@@ -300,7 +300,7 @@ function te(n) {
|
|
|
300
300
|
}
|
|
301
301
|
return {
|
|
302
302
|
c() {
|
|
303
|
-
e = b("div"), t = b("p"), i = b("img"), s = I(), u = b("span"), h = W(
|
|
303
|
+
e = b("div"), t = b("p"), i = b("img"), s = I(), u = b("span"), h = W(w), _ = I(), d(i, "class", "PlayerAccountMenuItemIcon " + /*isMobile*/
|
|
304
304
|
(n[14] ? "PlayerAccountMenuItemIconMobile" : "")), K(i.src, r = /*menuItem*/
|
|
305
305
|
n[43].img) || d(i, "src", r), d(u, "class", "PlayerAccountMenuItemTitle"), d(t, "class", "PlayerAccountMenuItemWrapper"), d(e, "class", P = "PlayerAccountMenuItemBox " + /*selectedItem*/
|
|
306
306
|
(n[9] === /*menuItem*/
|
|
@@ -314,8 +314,8 @@ function te(n) {
|
|
|
314
314
|
n = o, y[0] & /*menuItems*/
|
|
315
315
|
256 && !K(i.src, r = /*menuItem*/
|
|
316
316
|
n[43].img) && d(i, "src", r), y[0] & /*menuItems*/
|
|
317
|
-
256 &&
|
|
318
|
-
n[43].label + "") && T(h,
|
|
317
|
+
256 && w !== (w = /*menuItem*/
|
|
318
|
+
n[43].label + "") && T(h, w), y[0] & /*selectedItem, menuItems*/
|
|
319
319
|
768 && P !== (P = "PlayerAccountMenuItemBox " + /*selectedItem*/
|
|
320
320
|
(n[9] === /*menuItem*/
|
|
321
321
|
n[43].id && !/*isMobile*/
|
|
@@ -439,8 +439,8 @@ function ne(n) {
|
|
|
439
439
|
), d(e, "class", "PlayerAccountItemWrap " + /*isMobile*/
|
|
440
440
|
(n[14] ? "PlayerAccountItemWrapMobile" : ""));
|
|
441
441
|
},
|
|
442
|
-
m(u,
|
|
443
|
-
B(u, e,
|
|
442
|
+
m(u, w) {
|
|
443
|
+
B(u, e, w), s && s.m(e, null), a(e, t), a(e, i), a(e, r);
|
|
444
444
|
},
|
|
445
445
|
p: D,
|
|
446
446
|
d(u) {
|
|
@@ -448,7 +448,7 @@ function ne(n) {
|
|
|
448
448
|
}
|
|
449
449
|
};
|
|
450
450
|
}
|
|
451
|
-
function
|
|
451
|
+
function je(n) {
|
|
452
452
|
let e;
|
|
453
453
|
function t(s, u) {
|
|
454
454
|
return (
|
|
@@ -474,34 +474,34 @@ function Oe(n) {
|
|
|
474
474
|
}
|
|
475
475
|
};
|
|
476
476
|
}
|
|
477
|
-
function
|
|
477
|
+
function Oe(n, e, t) {
|
|
478
478
|
let i;
|
|
479
|
-
|
|
480
|
-
let { endpoint: r = "" } = e, { cmsendpoint: s = "" } = e, { env: u = "" } = e, { session:
|
|
479
|
+
we(n, Ce, (l) => t(13, i = l));
|
|
480
|
+
let { endpoint: r = "" } = e, { cmsendpoint: s = "" } = e, { env: u = "" } = e, { session: w = "" } = e, { playerid: h = "" } = e, { lang: _ = "en" } = e, { selecteditem: P = "" } = e, { userroles: v = "" } = e, { clientstyling: A = "" } = e, { clientstylingurl: f = "" } = e, { mbsource: o } = e, { translationurl: y = "" } = e, { activemenuitem: m = "" } = e, { showaliasasusername: M = "false" } = e, F = !1, g = !1, C = !0, p, z, j = [], O, N = window.navigator.userAgent, ie = J(N) !== "PC", q = "", G = "", U = "";
|
|
481
481
|
window.matchMedia("(min-width: 768px)");
|
|
482
482
|
const re = () => {
|
|
483
|
-
fetch(y).then((
|
|
484
|
-
Object.keys(
|
|
485
|
-
Q(L,
|
|
483
|
+
fetch(y).then((x) => x.json()).then((x) => {
|
|
484
|
+
Object.keys(x).forEach((L) => {
|
|
485
|
+
Q(L, x[L]);
|
|
486
486
|
});
|
|
487
|
-
}).catch((
|
|
488
|
-
console.error(
|
|
487
|
+
}).catch((x) => {
|
|
488
|
+
console.error(x);
|
|
489
489
|
});
|
|
490
490
|
};
|
|
491
491
|
Object.keys(Y).forEach((l) => {
|
|
492
492
|
Q(l, Y[l]);
|
|
493
493
|
});
|
|
494
|
-
const
|
|
494
|
+
const V = (l) => {
|
|
495
495
|
if (l.data)
|
|
496
496
|
switch (l.data.type) {
|
|
497
497
|
case "AccountMenuDetails":
|
|
498
498
|
availableMenuItemsArray = l.data.accountMenuInfo;
|
|
499
499
|
break;
|
|
500
500
|
case "UserSessionID":
|
|
501
|
-
t(0,
|
|
501
|
+
t(0, w = l.data.session);
|
|
502
502
|
break;
|
|
503
503
|
case "AliasUpdated":
|
|
504
|
-
|
|
504
|
+
M === "true" && l.data.alias && t(12, U = l.data.alias);
|
|
505
505
|
break;
|
|
506
506
|
}
|
|
507
507
|
}, ae = () => {
|
|
@@ -510,23 +510,23 @@ function Ue(n, e, t) {
|
|
|
510
510
|
return l === "PC" ? "dk" : "mtWeb";
|
|
511
511
|
}, oe = () => {
|
|
512
512
|
const l = new URL(`${s}/${_}/profile-menu?env=${u}`);
|
|
513
|
-
l.searchParams.append("device", ae()), fetch(l.href).then((
|
|
514
|
-
t(8,
|
|
515
|
-
}).catch((
|
|
516
|
-
console.error("Error getting menu items",
|
|
513
|
+
l.searchParams.append("device", ae()), fetch(l.href).then((x) => x.json()).then((x) => {
|
|
514
|
+
t(8, j = x), Z();
|
|
515
|
+
}).catch((x) => {
|
|
516
|
+
console.error("Error getting menu items", x);
|
|
517
517
|
}).finally(() => {
|
|
518
|
-
t(25,
|
|
518
|
+
t(25, F = !0);
|
|
519
519
|
});
|
|
520
520
|
}, se = () => {
|
|
521
521
|
let l = new URL(`${r}/v1/player/${h}/profile`);
|
|
522
522
|
l.searchParams.append("userRoles", v);
|
|
523
|
-
let
|
|
523
|
+
let x = {
|
|
524
524
|
method: "GET",
|
|
525
|
-
headers: { "X-SessionID":
|
|
525
|
+
headers: { "X-SessionID": w }
|
|
526
526
|
};
|
|
527
|
-
fetch(l.href,
|
|
527
|
+
fetch(l.href, x).then((L) => L.json()).then(
|
|
528
528
|
(L) => {
|
|
529
|
-
t(10, q = L.username), t(11,
|
|
529
|
+
t(10, q = L.username), t(11, G = L.email), M === "true" && t(12, U = L.alias || "");
|
|
530
530
|
},
|
|
531
531
|
(L) => {
|
|
532
532
|
console.error(L);
|
|
@@ -534,57 +534,57 @@ function Ue(n, e, t) {
|
|
|
534
534
|
).finally(() => {
|
|
535
535
|
t(26, g = !0);
|
|
536
536
|
});
|
|
537
|
-
},
|
|
538
|
-
window.postMessage({ type: "ChangeAccountPage", page: l }, window.location.href), t(9,
|
|
539
|
-
},
|
|
537
|
+
}, X = (l) => {
|
|
538
|
+
window.postMessage({ type: "ChangeAccountPage", page: l }, window.location.href), t(9, O = l.id);
|
|
539
|
+
}, Z = () => {
|
|
540
540
|
var l;
|
|
541
|
-
t(9,
|
|
541
|
+
t(9, O = (l = j.find((x) => x.path.includes(m))) == null ? void 0 : l.id);
|
|
542
542
|
}, ce = () => {
|
|
543
543
|
window.postMessage({ type: "GoToHomepage" }, window.location.href);
|
|
544
544
|
}, ue = () => {
|
|
545
|
-
|
|
545
|
+
Fe(_);
|
|
546
546
|
}, me = () => {
|
|
547
547
|
se();
|
|
548
548
|
};
|
|
549
|
-
|
|
550
|
-
window.removeEventListener("message",
|
|
549
|
+
Me(() => (window.addEventListener("message", V, !1), () => {
|
|
550
|
+
window.removeEventListener("message", V);
|
|
551
551
|
}));
|
|
552
|
-
const de = (l) =>
|
|
552
|
+
const de = (l) => X(l);
|
|
553
553
|
function ge(l) {
|
|
554
554
|
ve[l ? "unshift" : "push"](() => {
|
|
555
555
|
p = l, t(6, p);
|
|
556
556
|
});
|
|
557
557
|
}
|
|
558
558
|
return n.$$set = (l) => {
|
|
559
|
-
"endpoint" in l && t(1, r = l.endpoint), "cmsendpoint" in l && t(17, s = l.cmsendpoint), "env" in l && t(18, u = l.env), "session" in l && t(0,
|
|
559
|
+
"endpoint" in l && t(1, r = l.endpoint), "cmsendpoint" in l && t(17, s = l.cmsendpoint), "env" in l && t(18, u = l.env), "session" in l && t(0, w = l.session), "playerid" in l && t(19, h = l.playerid), "lang" in l && t(20, _ = l.lang), "selecteditem" in l && t(21, P = l.selecteditem), "userroles" in l && t(22, v = l.userroles), "clientstyling" in l && t(2, A = l.clientstyling), "clientstylingurl" in l && t(3, f = l.clientstylingurl), "mbsource" in l && t(4, o = l.mbsource), "translationurl" in l && t(23, y = l.translationurl), "activemenuitem" in l && t(24, m = l.activemenuitem), "showaliasasusername" in l && t(5, M = l.showaliasasusername);
|
|
560
560
|
}, n.$$.update = () => {
|
|
561
561
|
n.$$.dirty[0] & /*menuLoaded, playerInfoLoaded*/
|
|
562
|
-
100663296 && t(7,
|
|
562
|
+
100663296 && t(7, C = !F || !g), n.$$.dirty[0] & /*lang*/
|
|
563
563
|
1048576 && _ && ue(), n.$$.dirty[0] & /*endpoint, session, playerid, lang*/
|
|
564
|
-
1572867 && r &&
|
|
564
|
+
1572867 && r && w && h && _ && me(), n.$$.dirty[0] & /*cmsendpoint, lang, env*/
|
|
565
565
|
1441792 && s && _ && u && oe(), n.$$.dirty[0] & /*activemenuitem*/
|
|
566
|
-
16777216 && m &&
|
|
566
|
+
16777216 && m && Z(), n.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
567
567
|
68 && A && p && _e(p, A), n.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
568
|
-
72 && f && p &&
|
|
569
|
-
80 && o && p &&
|
|
568
|
+
72 && f && p && xe(p, f), n.$$.dirty[0] & /*mbsource, customStylingContainer*/
|
|
569
|
+
80 && o && p && ke(p, `${o}.Style`, z), n.$$.dirty[0] & /*translationurl*/
|
|
570
570
|
8388608 && y && re();
|
|
571
571
|
}, [
|
|
572
|
-
|
|
572
|
+
w,
|
|
573
573
|
r,
|
|
574
574
|
A,
|
|
575
575
|
f,
|
|
576
576
|
o,
|
|
577
|
-
|
|
577
|
+
M,
|
|
578
578
|
p,
|
|
579
|
-
|
|
579
|
+
C,
|
|
580
|
+
j,
|
|
580
581
|
O,
|
|
581
|
-
U,
|
|
582
582
|
q,
|
|
583
|
-
|
|
584
|
-
|
|
583
|
+
G,
|
|
584
|
+
U,
|
|
585
585
|
i,
|
|
586
586
|
ie,
|
|
587
|
-
|
|
587
|
+
X,
|
|
588
588
|
ce,
|
|
589
589
|
s,
|
|
590
590
|
u,
|
|
@@ -594,19 +594,19 @@ function Ue(n, e, t) {
|
|
|
594
594
|
v,
|
|
595
595
|
y,
|
|
596
596
|
m,
|
|
597
|
-
|
|
597
|
+
F,
|
|
598
598
|
g,
|
|
599
599
|
de,
|
|
600
600
|
ge
|
|
601
601
|
];
|
|
602
602
|
}
|
|
603
|
-
class
|
|
603
|
+
class Ue extends pe {
|
|
604
604
|
constructor(e) {
|
|
605
605
|
super(), he(
|
|
606
606
|
this,
|
|
607
607
|
e,
|
|
608
|
-
Ue,
|
|
609
608
|
Oe,
|
|
609
|
+
je,
|
|
610
610
|
be,
|
|
611
611
|
{
|
|
612
612
|
endpoint: 1,
|
|
@@ -632,88 +632,88 @@ class je extends pe {
|
|
|
632
632
|
return this.$$.ctx[1];
|
|
633
633
|
}
|
|
634
634
|
set endpoint(e) {
|
|
635
|
-
this.$$set({ endpoint: e }),
|
|
635
|
+
this.$$set({ endpoint: e }), k();
|
|
636
636
|
}
|
|
637
637
|
get cmsendpoint() {
|
|
638
638
|
return this.$$.ctx[17];
|
|
639
639
|
}
|
|
640
640
|
set cmsendpoint(e) {
|
|
641
|
-
this.$$set({ cmsendpoint: e }),
|
|
641
|
+
this.$$set({ cmsendpoint: e }), k();
|
|
642
642
|
}
|
|
643
643
|
get env() {
|
|
644
644
|
return this.$$.ctx[18];
|
|
645
645
|
}
|
|
646
646
|
set env(e) {
|
|
647
|
-
this.$$set({ env: e }),
|
|
647
|
+
this.$$set({ env: e }), k();
|
|
648
648
|
}
|
|
649
649
|
get session() {
|
|
650
650
|
return this.$$.ctx[0];
|
|
651
651
|
}
|
|
652
652
|
set session(e) {
|
|
653
|
-
this.$$set({ session: e }),
|
|
653
|
+
this.$$set({ session: e }), k();
|
|
654
654
|
}
|
|
655
655
|
get playerid() {
|
|
656
656
|
return this.$$.ctx[19];
|
|
657
657
|
}
|
|
658
658
|
set playerid(e) {
|
|
659
|
-
this.$$set({ playerid: e }),
|
|
659
|
+
this.$$set({ playerid: e }), k();
|
|
660
660
|
}
|
|
661
661
|
get lang() {
|
|
662
662
|
return this.$$.ctx[20];
|
|
663
663
|
}
|
|
664
664
|
set lang(e) {
|
|
665
|
-
this.$$set({ lang: e }),
|
|
665
|
+
this.$$set({ lang: e }), k();
|
|
666
666
|
}
|
|
667
667
|
get selecteditem() {
|
|
668
668
|
return this.$$.ctx[21];
|
|
669
669
|
}
|
|
670
670
|
set selecteditem(e) {
|
|
671
|
-
this.$$set({ selecteditem: e }),
|
|
671
|
+
this.$$set({ selecteditem: e }), k();
|
|
672
672
|
}
|
|
673
673
|
get userroles() {
|
|
674
674
|
return this.$$.ctx[22];
|
|
675
675
|
}
|
|
676
676
|
set userroles(e) {
|
|
677
|
-
this.$$set({ userroles: e }),
|
|
677
|
+
this.$$set({ userroles: e }), k();
|
|
678
678
|
}
|
|
679
679
|
get clientstyling() {
|
|
680
680
|
return this.$$.ctx[2];
|
|
681
681
|
}
|
|
682
682
|
set clientstyling(e) {
|
|
683
|
-
this.$$set({ clientstyling: e }),
|
|
683
|
+
this.$$set({ clientstyling: e }), k();
|
|
684
684
|
}
|
|
685
685
|
get clientstylingurl() {
|
|
686
686
|
return this.$$.ctx[3];
|
|
687
687
|
}
|
|
688
688
|
set clientstylingurl(e) {
|
|
689
|
-
this.$$set({ clientstylingurl: e }),
|
|
689
|
+
this.$$set({ clientstylingurl: e }), k();
|
|
690
690
|
}
|
|
691
691
|
get mbsource() {
|
|
692
692
|
return this.$$.ctx[4];
|
|
693
693
|
}
|
|
694
694
|
set mbsource(e) {
|
|
695
|
-
this.$$set({ mbsource: e }),
|
|
695
|
+
this.$$set({ mbsource: e }), k();
|
|
696
696
|
}
|
|
697
697
|
get translationurl() {
|
|
698
698
|
return this.$$.ctx[23];
|
|
699
699
|
}
|
|
700
700
|
set translationurl(e) {
|
|
701
|
-
this.$$set({ translationurl: e }),
|
|
701
|
+
this.$$set({ translationurl: e }), k();
|
|
702
702
|
}
|
|
703
703
|
get activemenuitem() {
|
|
704
704
|
return this.$$.ctx[24];
|
|
705
705
|
}
|
|
706
706
|
set activemenuitem(e) {
|
|
707
|
-
this.$$set({ activemenuitem: e }),
|
|
707
|
+
this.$$set({ activemenuitem: e }), k();
|
|
708
708
|
}
|
|
709
709
|
get showaliasasusername() {
|
|
710
710
|
return this.$$.ctx[5];
|
|
711
711
|
}
|
|
712
712
|
set showaliasasusername(e) {
|
|
713
|
-
this.$$set({ showaliasasusername: e }),
|
|
713
|
+
this.$$set({ showaliasasusername: e }), k();
|
|
714
714
|
}
|
|
715
715
|
}
|
|
716
|
-
Ie(
|
|
716
|
+
Ie(Ue, { endpoint: {}, cmsendpoint: {}, env: {}, session: {}, playerid: {}, lang: {}, selecteditem: {}, userroles: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {}, activemenuitem: {}, showaliasasusername: {} }, [], [], !0);
|
|
717
717
|
export {
|
|
718
|
-
|
|
718
|
+
Ue as default
|
|
719
719
|
};
|