@everymatrix/player-account-controller 1.60.0 → 1.60.2
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-CrdxxT-0.js → GeneralLogout-C38FmUFl.js} +627 -649
- package/components/GeneralLogout-CneHnHyh.cjs +21 -0
- package/components/{GeneralLogout-Cs6a0Woe.js → GeneralLogout-D-G0wJfI.js} +730 -752
- package/components/{PlayerAccountBettingHistory-HLjCXypd.js → PlayerAccountBettingHistory-At0LtRRx.js} +127 -126
- package/components/PlayerAccountBettingHistory-C7ncnu-s.js +328 -0
- package/components/PlayerAccountBettingHistory-ClvAJn7G.cjs +1 -0
- package/components/{PlayerAccountBiometrics-CIo8pkfn.js → PlayerAccountBiometrics-CY06pWs8.js} +22 -22
- package/components/{PlayerAccountBiometrics-DvJlyQ8z.cjs → PlayerAccountBiometrics-CqDrX8sl.cjs} +1 -1
- package/components/{PlayerAccountBiometrics-DpVTOI5S.js → PlayerAccountBiometrics-DKhi-g1X.js} +22 -22
- package/components/{PlayerAccountClosure-DUnNJuF0.js → PlayerAccountClosure-D5r1hdkX.js} +32 -32
- package/components/{PlayerAccountClosure-DJx7NuYi.js → PlayerAccountClosure-D9uP7QYP.js} +32 -32
- package/components/{PlayerAccountClosure-Bgcd5aWK.cjs → PlayerAccountClosure-PhH0M42z.cjs} +1 -1
- package/components/{PlayerAccountController-BHULNGiG.js → PlayerAccountController-1pHrtkdF.js} +301 -301
- package/components/{PlayerAccountController-oC2_eSvR.js → PlayerAccountController-BgblJNy4.js} +301 -301
- package/components/PlayerAccountController-BhhrsiNx.cjs +1 -0
- package/components/{PlayerAccountGamingLimits-UmFJS4yG.cjs → PlayerAccountGamingLimits-BnzPj9tx.cjs} +1 -1
- package/components/{PlayerAccountGamingLimits-t-Kt6fD1.js → PlayerAccountGamingLimits-C0_hRUCj.js} +81 -81
- package/components/{PlayerAccountGamingLimits-DiTQMKO-.js → PlayerAccountGamingLimits-D3pKs0ht.js} +81 -81
- package/components/{PlayerAccountGamingLimitsConfirmationModal-BOqmU6ao.js → PlayerAccountGamingLimitsConfirmationModal-BazG22ih.js} +30 -30
- package/components/{PlayerAccountGamingLimitsConfirmationModal-BTGWvZ_H.cjs → PlayerAccountGamingLimitsConfirmationModal-Cg2EZjXZ.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsConfirmationModal-CJS6pzAL.js → PlayerAccountGamingLimitsConfirmationModal-xjZZUbpF.js} +30 -30
- package/components/{PlayerAccountGamingLimitsGroupEdit-DQ4LAIh3.js → PlayerAccountGamingLimitsGroupEdit-CnW3YzfS.js} +54 -54
- package/components/{PlayerAccountGamingLimitsGroupEdit-DWXrW8rz.cjs → PlayerAccountGamingLimitsGroupEdit-DGnRlAUZ.cjs} +2 -2
- package/components/{PlayerAccountGamingLimitsGroupEdit-Cohx9d0h.js → PlayerAccountGamingLimitsGroupEdit-DeUVEnCP.js} +54 -54
- package/components/{PlayerAccountGamingLimitsHistory2-1CxT-5pd.cjs → PlayerAccountGamingLimitsHistory2-CsxTesLB.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsHistory2-DuWgdsnY.js → PlayerAccountGamingLimitsHistory2-D7J0FgHo.js} +48 -48
- package/components/{PlayerAccountGamingLimitsHistory2-CZWoK_f5.js → PlayerAccountGamingLimitsHistory2-TkOqxfj1.js} +46 -46
- package/components/{PlayerAccountGamingLimitsInfoCard-AOCz2477.js → PlayerAccountGamingLimitsInfoCard-BRpxiqVR.js} +83 -83
- package/components/{PlayerAccountGamingLimitsInfoCard-wb1MgSRM.js → PlayerAccountGamingLimitsInfoCard-D1qSvNxW.js} +83 -83
- package/components/{PlayerAccountGamingLimitsInfoCard-7dQquqQ4.cjs → PlayerAccountGamingLimitsInfoCard-jhpuGIrw.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsPage2Gm16-DQhfQZf3.cjs → PlayerAccountGamingLimitsPage2Gm16-BjlDW58o.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsPage2Gm16-yGmurNY8.js → PlayerAccountGamingLimitsPage2Gm16-DeJCm4u2.js} +9 -9
- package/components/{PlayerAccountGamingLimitsPage2Gm16-DqVb6gUu.js → PlayerAccountGamingLimitsPage2Gm16-r8hmIPcw.js} +9 -9
- package/components/{PlayerAccountGamingLimitsPopup-Byk1Oi5A.js → PlayerAccountGamingLimitsPopup-Bst4PQwl.js} +42 -42
- package/components/{PlayerAccountGamingLimitsPopup-Bq6g8_Ex.cjs → PlayerAccountGamingLimitsPopup-Cvl_mdrl.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsPopup-Cou16qpk.js → PlayerAccountGamingLimitsPopup-D3DnB3bN.js} +42 -42
- package/components/{PlayerAccountGamingLimitsWrapper2-BMjMekAI.js → PlayerAccountGamingLimitsWrapper2-BcKG_TxP.js} +55 -55
- package/components/{PlayerAccountGamingLimitsWrapper2-BTn_7__K.cjs → PlayerAccountGamingLimitsWrapper2-C8_zv-Gl.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsWrapper2-BEDe0nx6.js → PlayerAccountGamingLimitsWrapper2-CrOkdCAL.js} +20 -20
- package/components/{PlayerAccountGeneralConfirmationModal-kdUl-EBq.js → PlayerAccountGeneralConfirmationModal-BbAXu7LA.js} +34 -34
- package/components/{PlayerAccountGeneralConfirmationModal-DTd4PiMe.js → PlayerAccountGeneralConfirmationModal-CNr7wBeh.js} +34 -34
- package/components/{PlayerAccountGeneralConfirmationModal-DoognqGf.cjs → PlayerAccountGeneralConfirmationModal-DNkcN7ty.cjs} +1 -1
- package/components/{PlayerAccountMenu-DNaPK2TZ.js → PlayerAccountMenu-0dwfNXzd.js} +29 -29
- package/components/{PlayerAccountMenu-C5GtMCo6.cjs → PlayerAccountMenu-Bra1jlKa.cjs} +1 -1
- package/components/{PlayerAccountMenu-CqVrDqg2.js → PlayerAccountMenu-CIexYUdx.js} +32 -32
- package/components/{PlayerAccountModal-Cgwoz0_A.js → PlayerAccountModal-DcuNgIsg.js} +42 -42
- package/components/{PlayerAccountModal-zI2QLAL1.cjs → PlayerAccountModal-Dmgt5WVr.cjs} +1 -1
- package/components/{PlayerAccountModal-ZSZxImk8.js → PlayerAccountModal-IFpCl0Uz.js} +42 -42
- package/components/{PlayerAccountNotifications-B1K_Z2TT.js → PlayerAccountNotifications-BJWMhwFJ.js} +31 -31
- package/components/{PlayerAccountNotifications-B-wkpb9J.cjs → PlayerAccountNotifications-BgE2Nu5e.cjs} +1 -1
- package/components/{PlayerAccountNotifications-Cf28JRBn.js → PlayerAccountNotifications-C69KyNWq.js} +32 -32
- package/components/{PlayerAccountSelfExclusion-DSxM_f45.js → PlayerAccountSelfExclusion-BK4Qt06B.js} +781 -786
- package/components/{PlayerAccountSelfExclusion-DxRAfTZT.js → PlayerAccountSelfExclusion-C3aFEBGZ.js} +1684 -1689
- package/components/{PlayerAccountSelfExclusion-DlekYIJO.cjs → PlayerAccountSelfExclusion-EEwqevwK.cjs} +153 -153
- package/components/{PlayerAccountTimeout-BVATVPRq.js → PlayerAccountTimeout-C5AtNWo7.js} +58 -58
- package/components/{PlayerAccountTimeout-Bb58NRXY.js → PlayerAccountTimeout-Dt4WJonL.js} +58 -58
- package/components/{PlayerAccountTimeout-BBpwfboX.cjs → PlayerAccountTimeout-gK_YDrBY.cjs} +1 -1
- package/components/{PlayerActiveBonuses-CBqsWQfE.cjs → PlayerActiveBonuses-B3sDjZPu.cjs} +1 -1
- package/components/{PlayerActiveBonuses-DXMMRNp0.js → PlayerActiveBonuses-BVXu2xEB.js} +73 -73
- package/components/{PlayerActiveBonuses-Dt0N6Bn0.js → PlayerActiveBonuses-CLoyGNwd.js} +74 -74
- package/components/{PlayerBonusCard-CJXjuXsU.cjs → PlayerBonusCard-4A6XzJO6.cjs} +1 -1
- package/components/{PlayerBonusCard-CH-ncifJ.js → PlayerBonusCard-B6SaZ0cC.js} +54 -54
- package/components/{PlayerBonusCard-Di1Znpi1.js → PlayerBonusCard-DMwbLjEW.js} +54 -54
- package/components/{PlayerBonusHistory-Dt0nm--k.cjs → PlayerBonusHistory-BmOgSTUS.cjs} +1 -1
- package/components/{PlayerBonusHistory-CHDc8kFG.js → PlayerBonusHistory-D3v1Hfnf.js} +33 -33
- package/components/{PlayerBonusHistory-CG4iedyf.js → PlayerBonusHistory-DLUJJGqO.js} +33 -33
- package/components/{PlayerChangePassword-DMiyyEYC.js → PlayerChangePassword-DIJxZkuX.js} +71 -71
- package/components/{PlayerChangePassword-awaQVsiP.cjs → PlayerChangePassword-DkVY0JFR.cjs} +1 -1
- package/components/{PlayerChangePassword-Cy_iUEwl.js → PlayerChangePassword-sZQBKHjd.js} +71 -71
- package/components/{PlayerDeposit-BUbpr-x6.js → PlayerDeposit-C8yaYj_O.js} +75 -75
- package/components/{PlayerDeposit-BFpoULil.js → PlayerDeposit-DJdl_B5Q.js} +75 -75
- package/components/PlayerDeposit-DgZ1K6jf.cjs +1 -0
- package/components/{PlayerGamingHistory-RqKyBLJf.js → PlayerGamingHistory-BYvXvoys.js} +84 -84
- package/components/{PlayerGamingHistory-Cy9FMn9D.js → PlayerGamingHistory-C5cNuG6o.js} +74 -74
- package/components/{PlayerGamingHistory-Bw_u3E09.cjs → PlayerGamingHistory-CNBltDve.cjs} +1 -1
- package/components/{PlayerPendingWithdrawals-Dc91b0Cm.js → PlayerPendingWithdrawals-D9Yxc7FK.js} +26 -26
- package/components/{PlayerPendingWithdrawals-ttbTlX0c.js → PlayerPendingWithdrawals-DtwQGdZm.js} +26 -26
- package/components/{PlayerPendingWithdrawals-aaHugNLD.cjs → PlayerPendingWithdrawals-H49FURps.cjs} +1 -1
- package/components/{PlayerProfileInfo-tYfJSyL9.cjs → PlayerProfileInfo-4pEf39os.cjs} +1 -1
- package/components/{PlayerProfileInfo-DXGC3Nhp.js → PlayerProfileInfo-CpFhQZ8r.js} +60 -60
- package/components/{PlayerProfileInfo-yGYztqLK.js → PlayerProfileInfo-DKjkFgUz.js} +60 -60
- package/components/{PlayerRealityCheck-C9j8cYwx.js → PlayerRealityCheck-CEu6HPSc.js} +33 -33
- package/components/{PlayerRealityCheck-D7YLuHGQ.js → PlayerRealityCheck-CYMfPzuq.js} +33 -33
- package/components/{PlayerRealityCheck-BobhhM62.cjs → PlayerRealityCheck-DiJJz_Fj.cjs} +1 -1
- package/components/{PlayerTransactionHistory-Dff51WQG.cjs → PlayerTransactionHistory-Bb8js_3p.cjs} +1 -1
- package/components/{PlayerTransactionHistory-BHDwTuEi.js → PlayerTransactionHistory-CSHYcAs1.js} +24 -24
- package/components/{PlayerTransactionHistory-fsxifDQz.js → PlayerTransactionHistory-D31yO5X5.js} +24 -24
- package/components/{PlayerWithdrawal-4QbyF-GU.js → PlayerWithdrawal-BcoiHu5m.js} +19 -19
- package/components/{PlayerWithdrawal-D6ic1PCk.js → PlayerWithdrawal-Byr8jun8.js} +19 -19
- package/components/{PlayerWithdrawal-DdPBGufW.cjs → PlayerWithdrawal-xHn3kl2k.cjs} +1 -1
- package/es2015/player-account-controller.cjs +1 -1
- package/es2015/player-account-controller.js +1 -1
- package/esnext/player-account-controller.js +1 -1
- package/package.json +1 -1
- package/stencil/{checkbox-group-input_9-OVj7AW5S.js → checkbox-group-input_9-Cge1uYJD.js} +11 -13
- package/stencil/checkbox-group-input_9-DDKGgkML.cjs +2 -0
- package/stencil/{checkbox-group-input_9-C7zEH4Cn.js → checkbox-group-input_9-DEGGgpku.js} +11 -13
- package/stencil/{general-input-BlFYbInU.cjs → general-input-CbzyUMpM.cjs} +199 -199
- package/stencil/{general-input-C7B1PVb4.js → general-input-D6ZzAION.js} +1243 -1249
- package/stencil/{general-input-DoSeJn3k.js → general-input-DGX9cnfM.js} +1241 -1247
- package/stencil/index-1ef3a64c-C4-h3nXC.js +572 -0
- package/stencil/index-1ef3a64c-Cb8qLHe4.js +556 -0
- package/stencil/index-1ef3a64c-CzlpRJE7.cjs +1 -0
- package/stencil/index-7c5e707a-40SRy2Ab.js +616 -0
- package/stencil/index-7c5e707a-B9tD4t-g.js +643 -0
- package/stencil/index-7c5e707a-DosLPDO6.cjs +1 -0
- package/stencil/{index-9c0f6c58-CqoLeK5G.js → index-9c0f6c58-D5txcAjr.js} +197 -197
- package/stencil/index-9c0f6c58-DeCWAW-B.cjs +1 -0
- package/stencil/index-9c0f6c58-DeLVbTUg.js +576 -0
- package/stencil/index-9cd44522-BZa-k0xO.cjs +1 -0
- package/stencil/index-9cd44522-DNHOiqex.js +626 -0
- package/stencil/index-9cd44522-bcseM6Tc.js +610 -0
- package/stencil/index-b2193545-C2qi7zn0.js +519 -0
- package/stencil/index-b2193545-DRVj_AmB.js +503 -0
- package/stencil/index-b2193545-lh5NrH1l.cjs +1 -0
- package/stencil/password-input_2-ChFdsN2L.cjs +193 -0
- package/stencil/{password-input_2-5nC89CMj.js → password-input_2-DfibVL8H.js} +3 -3
- package/stencil/{password-input_2-DJSgcWve.js → password-input_2-IaELIWPu.js} +3 -3
- package/stencil/{player-change-password-gm2-039e300e-C_f58yBE.js → player-change-password-gm2-039e300e-Cbvlv_Cc.js} +1 -1
- package/stencil/{player-change-password-gm2-039e300e-D4KfL3dW.js → player-change-password-gm2-039e300e-DQu1Qy42.js} +1 -1
- package/stencil/{player-change-password-gm2-039e300e-C-kbOfS1.cjs → player-change-password-gm2-039e300e-h73P3BnO.cjs} +1 -1
- package/stencil/{player-change-password-gm2-3aRR8E4W.js → player-change-password-gm2-CZ4CLVdX.js} +1 -1
- package/stencil/{player-change-password-gm2-CHK-mhQ9.cjs → player-change-password-gm2-Ddu97gwX.cjs} +1 -1
- package/stencil/{player-change-password-gm2-BJ2Ur7Zx.js → player-change-password-gm2-o8J_07IZ.js} +1 -1
- package/stencil/player-kyc-verification-C0h2CP_Y.cjs +180 -0
- package/stencil/{player-kyc-verification-Di40xn9z.js → player-kyc-verification-dmJNIHni.js} +148 -117
- package/stencil/{player-kyc-verification-B8arDCja.js → player-kyc-verification-z8R7nMzo.js} +132 -101
- package/stencil/{toggle-checkbox-input-BRL1Xahc.js → toggle-checkbox-input-BJReK7u2.js} +2 -2
- package/stencil/{toggle-checkbox-input-cLWFox9n.js → toggle-checkbox-input-CphJPGIs.js} +2 -2
- package/stencil/toggle-checkbox-input-DPSvf8jJ.cjs +1 -0
- package/stencil/ui-skeleton-BAxmxOly.cjs +1 -0
- package/stencil/{ui-skeleton-T4HYbNcC.js → ui-skeleton-BCpuJt-t.js} +8 -8
- package/stencil/{ui-skeleton-DT0OMDC6.js → ui-skeleton-BnjJK_-z.js} +4 -4
- package/stencil/ui-skeleton-ea659b95-79vEjTsx.js +152 -0
- package/stencil/ui-skeleton-ea659b95-BrjFstai.js +152 -0
- package/stencil/ui-skeleton-ea659b95-DuSAPIG5.cjs +73 -0
- package/stencil/{user-deposit-withdrawal-BQKFgZ31.cjs → user-deposit-withdrawal-CBWlU3d2.cjs} +3 -3
- package/stencil/{user-deposit-withdrawal-DRe5oBqv.js → user-deposit-withdrawal-CE9oDw4W.js} +71 -71
- package/stencil/{user-deposit-withdrawal-Dj3Po03r.js → user-deposit-withdrawal-Dnqg2IvK.js} +77 -77
- package/stencil/{user-transaction-history-Dca7qx08.js → user-transaction-history-BO92Qvk4.js} +1 -1
- package/stencil/{user-transaction-history-6-z3byrF.js → user-transaction-history-Bg6onQ-I.js} +1 -1
- package/stencil/{user-transaction-history-DrhquxkJ.cjs → user-transaction-history-COJbthDt.cjs} +1 -1
- package/components/GeneralLogout-BjsDUNrm.cjs +0 -21
- package/components/PlayerAccountBettingHistory-Bu3VS2Sg.cjs +0 -1
- package/components/PlayerAccountBettingHistory-DznJRKHH.js +0 -329
- package/components/PlayerAccountController-C7RCoOhc.cjs +0 -1
- package/components/PlayerDeposit-_oIOMh8l.cjs +0 -1
- package/stencil/checkbox-group-input_9-CMfQeYlH.cjs +0 -2
- package/stencil/index-1ef3a64c-BnB-ATuA.js +0 -556
- package/stencil/index-1ef3a64c-BvKbNMH8.cjs +0 -1
- package/stencil/index-1ef3a64c-Nsr9PDe6.js +0 -572
- package/stencil/index-7c5e707a-CTC8RpEi.js +0 -643
- package/stencil/index-7c5e707a-CWE0q0mP.js +0 -616
- package/stencil/index-7c5e707a-D1Fv8nel.cjs +0 -1
- package/stencil/index-9c0f6c58-C1yzTenw.js +0 -576
- package/stencil/index-9c0f6c58-DEsDY2nb.cjs +0 -1
- package/stencil/index-9cd44522-BOHK5Ehb.js +0 -626
- package/stencil/index-9cd44522-C8s3TvoU.js +0 -610
- package/stencil/index-9cd44522-D9raG3xx.cjs +0 -1
- package/stencil/index-ae04a8b1-D4wvtXTw.cjs +0 -1
- package/stencil/index-ae04a8b1-fpBaOn88.js +0 -516
- package/stencil/index-ae04a8b1-ixlRj3zC.js +0 -532
- package/stencil/password-input_2-ZOEOuaOe.cjs +0 -193
- package/stencil/player-kyc-verification-GFBDUbhm.cjs +0 -180
- package/stencil/toggle-checkbox-input-CPDZs55S.cjs +0 -1
- package/stencil/ui-skeleton-BC4mw1ae.cjs +0 -1
- package/stencil/ui-skeleton-a642cced-B8H73O_q.cjs +0 -1
- package/stencil/ui-skeleton-a642cced-Ba-weZ4g.js +0 -122
- package/stencil/ui-skeleton-a642cced-DhjmNsN7.js +0 -122
|
@@ -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-CneHnHyh.cjs");function A(o,t){e.addMessages(o,t)}function T(o){e.$locale.set(o)}const F={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 P(o){e.append_styles(o,"svelte-1o81iqe",'*,*::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, 20px);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, 20px)}.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 W=o=>({}),z=o=>({});function q(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,c){e.insert(i,t,c),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(c,m){e.insert(c,t,m),e.append(t,n),e.append(n,i)},p(c,m){m&2&&e.set_data(i,c[1])},d(c){c&&e.detach(t)}}}function E(o){let t,n=o[4]("cancel")+"",i,c,m;return{c(){t=e.element("button"),i=e.text(n),e.attr(t,"class","GeneralCancelButton")},m(d,h){e.insert(d,t,h),e.append(t,i),c||(m=e.listen(t,"click",o[17]),c=!0)},p(d,h){h&16&&n!==(n=d[4]("cancel")+"")&&e.set_data(i,n)},d(d){d&&e.detach(t),c=!1,m()}}}function N(o){let t,n,i,c,m,d,h,G,u,_,p,x=o[4]("confirm")+"",v,f,w,g;const M=o[16].close,y=e.create_slot(M,o,o[15],z),b=y||q();let a=o[1]&&S(o),s=o[2]&&E(o);return{c(){t=e.element("div"),n=e.element("div"),i=e.element("span"),b&&b.c(),c=e.space(),a&&a.c(),m=e.space(),d=e.element("div"),h=e.text(o[0]),G=e.space(),u=e.element("div"),s&&s.c(),_=e.space(),p=e.element("button"),v=e.text(x),e.attr(i,"class","ModalCloseBtn"),e.attr(i,"role","button"),e.attr(d,"class","GeneralConfirmationContent"),e.attr(p,"class","GeneralConfirmButton"),e.attr(u,"class","GeneralConfirmationControlArea "+(o[5]?"GeneralConfirmationControlAreaMobile":"")),e.attr(n,"class","GeneralConfirmationContainer "+(o[5]?"GeneralConfirmationContainerMobile":"")),e.attr(t,"class","GeneralConfirmationWrapper "+(o[5]?"GeneralConfirmationMobileWrapper":""))},m(l,C){e.insert(l,t,C),e.append(t,n),e.append(n,i),b&&b.m(i,null),e.append(n,c),a&&a.m(n,null),e.append(n,m),e.append(n,d),e.append(d,h),e.append(n,G),e.append(n,u),s&&s.m(u,null),e.append(u,_),e.append(u,p),e.append(p,v),o[19](t),f=!0,w||(g=[e.listen(i,"click",o[6]),e.listen(p,"click",o[18])],w=!0)},p(l,[C]){y&&y.p&&(!f||C&32768)&&e.update_slot_base(y,M,l,l[15],f?e.get_slot_changes(M,l[15],C,W):e.get_all_dirty_from_scope(l[15]),z),l[1]?a?a.p(l,C):(a=S(l),a.c(),a.m(n,m)):a&&(a.d(1),a=null),(!f||C&1)&&e.set_data(h,l[0]),l[2]?s?s.p(l,C):(s=E(l),s.c(),s.m(u,_)):s&&(s.d(1),s=null),(!f||C&16)&&x!==(x=l[4]("confirm")+"")&&e.set_data(v,x)},i(l){f||(e.transition_in(b,l),f=!0)},o(l){e.transition_out(b,l),f=!1},d(l){l&&e.detach(t),b&&b.d(l),a&&a.d(),s&&s.d(),o[19](null),w=!1,e.run_all(g)}}}function R(o,t,n){let i;e.component_subscribe(o,e.$format,r=>n(4,i=r));let{$$slots:c={},$$scope:m}=t,{modaltext:d="Are you sure that you want to perform this action?"}=t,{modaltitle:h=""}=t,{hascancelbutton:G=!1}=t,{modalconfirmevent:u={}}=t,{modalcancelevent:_={}}=t,{lang:p="en"}=t,{clientstyling:x=""}=t,{clientstylingurl:v=""}=t,{translationurl:f=""}=t,{mbsource:w}=t,g,M=window.navigator.userAgent,y=e.getDevice(M)!=="PC";const b=()=>{window.postMessage({type:"ModalClosed"},window.location.href)},a=r=>{r==="confirm"&&u&&window.postMessage(u,window.location.href),r==="cancel"&&_&&window.postMessage(_,window.location.href),b()},s=()=>{fetch(f).then(k=>k.json()).then(k=>{Object.keys(k).forEach(B=>{A(B,k[B])})}).catch(k=>{console.log(k)})};Object.keys(F).forEach(r=>{A(r,F[r])});const l=()=>{T(p)};e.onMount(()=>()=>{});const C=()=>a("cancel"),L=()=>a("confirm");function O(r){e.binding_callbacks[r?"unshift":"push"](()=>{g=r,n(3,g)})}return o.$$set=r=>{"modaltext"in r&&n(0,d=r.modaltext),"modaltitle"in r&&n(1,h=r.modaltitle),"hascancelbutton"in r&&n(2,G=r.hascancelbutton),"modalconfirmevent"in r&&n(8,u=r.modalconfirmevent),"modalcancelevent"in r&&n(9,_=r.modalcancelevent),"lang"in r&&n(10,p=r.lang),"clientstyling"in r&&n(11,x=r.clientstyling),"clientstylingurl"in r&&n(12,v=r.clientstylingurl),"translationurl"in r&&n(13,f=r.translationurl),"mbsource"in r&&n(14,w=r.mbsource),"$$scope"in r&&n(15,m=r.$$scope)},o.$$.update=()=>{o.$$.dirty&1025&&d&&p&&l(),o.$$.dirty&2056&&x&&g&&e.setClientStyling(g,x),o.$$.dirty&4104&&v&&g&&e.setClientStylingURL(g,v),o.$$.dirty&16392&&w&&g&&e.setStreamStyling(g,`${w}.Style`),o.$$.dirty&8192&&f&&s()},[d,h,G,g,i,y,b,a,u,_,p,x,v,f,w,m,c,C,L,O]}class j extends e.SvelteComponent{constructor(t){super(),e.init(this,t,R,N,e.safe_not_equal,{modaltext:0,modaltitle:1,hascancelbutton:2,modalconfirmevent:8,modalcancelevent:9,lang:10,clientstyling:11,clientstylingurl:12,translationurl:13,mbsource:14},P)}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,5 +1,5 @@
|
|
|
1
|
-
import { a as me, $ as ye, S as ge, i as pe, f as C,
|
|
2
|
-
import "../stencil/ui-skeleton-
|
|
1
|
+
import { a as me, $ as ye, S as ge, i as pe, f as C, s as de, A as fe, b as he, n as S, d as F, g as L, j as h, p as Ae, q as G, u as be, w as Pe, O as H, P as $, h as a, k as I, e as m, o as g, c as z, m as W, r as Me, l as O, v as B, a1 as Q, B as we, x as ve, y as _e, z as xe } from "./GeneralLogout-D-G0wJfI.js";
|
|
2
|
+
import "../stencil/ui-skeleton-BnjJK_-z.js";
|
|
3
3
|
function V(n, e) {
|
|
4
4
|
me(n, e);
|
|
5
5
|
}
|
|
@@ -53,7 +53,7 @@ if (typeof window < "u") {
|
|
|
53
53
|
}
|
|
54
54
|
};
|
|
55
55
|
};
|
|
56
|
-
customElements.define = n(customElements.define), import("./GeneralLogout-
|
|
56
|
+
customElements.define = n(customElements.define), import("./GeneralLogout-D-G0wJfI.js").then((e) => e.a7).then(({ default: e }) => {
|
|
57
57
|
!customElements.get("general-logout") && customElements.define("general-logout", e.element);
|
|
58
58
|
});
|
|
59
59
|
}
|
|
@@ -101,7 +101,7 @@ function Ce(n) {
|
|
|
101
101
|
n[12] ? "PlayerAccountTabletContainer" : ""));
|
|
102
102
|
},
|
|
103
103
|
m(d, _) {
|
|
104
|
-
|
|
104
|
+
L(d, e, _), a(e, t), u && u.m(t, null), a(t, l), a(t, o), a(o, s), a(t, y), a(t, A), a(A, b), a(t, v), c && c.m(t, null), a(e, P), a(e, f);
|
|
105
105
|
for (let w = 0; w < r.length; w += 1)
|
|
106
106
|
r[w] && r[w].m(f, null);
|
|
107
107
|
a(e, M), x && x.m(e, null);
|
|
@@ -140,7 +140,7 @@ function Ce(n) {
|
|
|
140
140
|
d[12] || x.p(d, _);
|
|
141
141
|
},
|
|
142
142
|
d(d) {
|
|
143
|
-
d &&
|
|
143
|
+
d && F(e), u && u.d(), c && c.d(), $(r, d), x && x.d();
|
|
144
144
|
}
|
|
145
145
|
};
|
|
146
146
|
}
|
|
@@ -163,7 +163,7 @@ function Fe(n) {
|
|
|
163
163
|
n[12] ? "PlayerAccountTabletContainer" : ""));
|
|
164
164
|
},
|
|
165
165
|
m(c, p) {
|
|
166
|
-
|
|
166
|
+
L(c, e, p), a(e, t), f && f.m(t, null), a(t, l), a(t, o), a(t, s), a(t, y), a(e, A), a(e, b);
|
|
167
167
|
for (let r = 0; r < u.length; r += 1)
|
|
168
168
|
u[r] && u[r].m(b, null);
|
|
169
169
|
a(e, v), a(e, P);
|
|
@@ -183,7 +183,7 @@ function Fe(n) {
|
|
|
183
183
|
}
|
|
184
184
|
},
|
|
185
185
|
d(c) {
|
|
186
|
-
c &&
|
|
186
|
+
c && F(e), f && f.d(), $(u, c);
|
|
187
187
|
}
|
|
188
188
|
};
|
|
189
189
|
}
|
|
@@ -197,7 +197,7 @@ function Le(n) {
|
|
|
197
197
|
e = h("div"), t = B("svg"), l = B("defs"), o = B("style"), s = W(".aaa{fill:var(--emw--color-white, #FFFFFF);}"), y = B("g"), A = B("g"), b = B("path"), v = I(), P = h("h3"), M = W(f), g(b, "class", "aaa"), g(b, "d", "M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"), g(b, "transform", "translate(15 15) rotate(180)"), g(A, "transform", "translate(20 158)"), g(y, "transform", "translate(-20 -158)"), g(t, "xmlns", "http://www.w3.org/2000/svg"), g(t, "width", "15"), g(t, "height", "15"), g(t, "viewBox", "0 0 15 15"), g(P, "class", "PlayerAccountMenuCategoryTitle"), g(e, "class", "PlayerAccountMenuCategoryWrapper");
|
|
198
198
|
},
|
|
199
199
|
m(p, r) {
|
|
200
|
-
|
|
200
|
+
L(p, e, r), a(e, t), a(t, l), a(l, o), a(o, s), a(t, y), a(y, A), a(A, b), a(e, v), a(e, P), a(P, M), u || (c = [
|
|
201
201
|
O(
|
|
202
202
|
t,
|
|
203
203
|
"click",
|
|
@@ -218,7 +218,7 @@ function Le(n) {
|
|
|
218
218
|
p[11]("title") + "") && z(M, f);
|
|
219
219
|
},
|
|
220
220
|
d(p) {
|
|
221
|
-
p &&
|
|
221
|
+
p && F(e), u = !1, Me(c);
|
|
222
222
|
}
|
|
223
223
|
};
|
|
224
224
|
}
|
|
@@ -254,7 +254,7 @@ function Te(n) {
|
|
|
254
254
|
), g(e, "class", "PlayerAccountLogOutArea");
|
|
255
255
|
},
|
|
256
256
|
m(l, o) {
|
|
257
|
-
|
|
257
|
+
L(l, e, o), a(e, t);
|
|
258
258
|
},
|
|
259
259
|
p(l, o) {
|
|
260
260
|
o[0] & /*endpoint*/
|
|
@@ -290,7 +290,7 @@ function Te(n) {
|
|
|
290
290
|
);
|
|
291
291
|
},
|
|
292
292
|
d(l) {
|
|
293
|
-
l &&
|
|
293
|
+
l && F(e);
|
|
294
294
|
}
|
|
295
295
|
};
|
|
296
296
|
}
|
|
@@ -318,7 +318,7 @@ function K(n) {
|
|
|
318
318
|
n[12] ? "PlayerAccountMenuActiveItemBox" : ""));
|
|
319
319
|
},
|
|
320
320
|
m(c, p) {
|
|
321
|
-
|
|
321
|
+
L(c, e, p), a(e, t), a(t, l), a(t, s), a(t, y), a(y, b), a(e, v), f || (M = O(e, "click", u), f = !0);
|
|
322
322
|
},
|
|
323
323
|
p(c, p) {
|
|
324
324
|
n = c, p[0] & /*menuItems*/
|
|
@@ -332,7 +332,7 @@ function K(n) {
|
|
|
332
332
|
n[12] ? "PlayerAccountMenuActiveItemBox" : "")) && g(e, "class", P);
|
|
333
333
|
},
|
|
334
334
|
d(c) {
|
|
335
|
-
c &&
|
|
335
|
+
c && F(e), f = !1, M();
|
|
336
336
|
}
|
|
337
337
|
};
|
|
338
338
|
}
|
|
@@ -368,7 +368,7 @@ function Ee(n) {
|
|
|
368
368
|
), g(e, "class", "PlayerAccountLogOutArea");
|
|
369
369
|
},
|
|
370
370
|
m(l, o) {
|
|
371
|
-
|
|
371
|
+
L(l, e, o), a(e, t);
|
|
372
372
|
},
|
|
373
373
|
p(l, o) {
|
|
374
374
|
o[0] & /*endpoint*/
|
|
@@ -404,7 +404,7 @@ function Ee(n) {
|
|
|
404
404
|
);
|
|
405
405
|
},
|
|
406
406
|
d(l) {
|
|
407
|
-
l &&
|
|
407
|
+
l && F(e);
|
|
408
408
|
}
|
|
409
409
|
};
|
|
410
410
|
}
|
|
@@ -415,10 +415,10 @@ function Be(n) {
|
|
|
415
415
|
e = h("div"), e.innerHTML = '<ui-skeleton structure="title" width="30px" height="30px"></ui-skeleton> <ui-skeleton structure="text" width="150px" height="30px"></ui-skeleton>', g(e, "class", "PlayerAccountMenuCategoryWrapper");
|
|
416
416
|
},
|
|
417
417
|
m(t, l) {
|
|
418
|
-
|
|
418
|
+
L(t, e, l);
|
|
419
419
|
},
|
|
420
420
|
d(t) {
|
|
421
|
-
t &&
|
|
421
|
+
t && F(e);
|
|
422
422
|
}
|
|
423
423
|
};
|
|
424
424
|
}
|
|
@@ -429,10 +429,10 @@ function We(n) {
|
|
|
429
429
|
e = h("ui-skeleton"), m(e, "structure", "circle"), m(e, "size", "20px");
|
|
430
430
|
},
|
|
431
431
|
m(t, l) {
|
|
432
|
-
|
|
432
|
+
L(t, e, l);
|
|
433
433
|
},
|
|
434
434
|
d(t) {
|
|
435
|
-
t &&
|
|
435
|
+
t && F(e);
|
|
436
436
|
}
|
|
437
437
|
};
|
|
438
438
|
}
|
|
@@ -450,11 +450,11 @@ function Y(n) {
|
|
|
450
450
|
(n[12] ? "PlayerAccountItemWrapMobile" : ""));
|
|
451
451
|
},
|
|
452
452
|
m(y, A) {
|
|
453
|
-
|
|
453
|
+
L(y, e, A), s && s.m(e, null), a(e, t), a(e, l), a(e, o);
|
|
454
454
|
},
|
|
455
455
|
p: S,
|
|
456
456
|
d(y) {
|
|
457
|
-
y &&
|
|
457
|
+
y && F(e), s && s.d();
|
|
458
458
|
}
|
|
459
459
|
};
|
|
460
460
|
}
|
|
@@ -472,7 +472,7 @@ function He(n) {
|
|
|
472
472
|
e = h("div"), o.c();
|
|
473
473
|
},
|
|
474
474
|
m(s, y) {
|
|
475
|
-
|
|
475
|
+
L(s, e, y), o.m(e, null), n[26](e);
|
|
476
476
|
},
|
|
477
477
|
p(s, y) {
|
|
478
478
|
l === (l = t(s)) && o ? o.p(s, y) : (o.d(1), o = l(s), o && (o.c(), o.m(e, null)));
|
|
@@ -480,13 +480,13 @@ function He(n) {
|
|
|
480
480
|
i: S,
|
|
481
481
|
o: S,
|
|
482
482
|
d(s) {
|
|
483
|
-
s &&
|
|
483
|
+
s && F(e), o.d(), n[26](null);
|
|
484
484
|
}
|
|
485
485
|
};
|
|
486
486
|
}
|
|
487
487
|
function ze(n, e, t) {
|
|
488
488
|
let l;
|
|
489
|
-
Ae(n,
|
|
489
|
+
Ae(n, we, (i) => t(11, l = i));
|
|
490
490
|
let { endpoint: o = "" } = e, { cmsendpoint: s = "" } = e, { env: y = "" } = e, { session: A = "" } = e, { playerid: b = "" } = e, { lang: v = "en" } = e, { userroles: P = "" } = e, { clientstyling: f = "" } = e, { clientstylingurl: M = "" } = e, { translationurl: u = "" } = e, { activemenuitem: c = "" } = e, { mbsource: p } = e, r = !1, x = !1, d = !0, _, w = [], E, j = window.navigator.userAgent, ee = G(j) !== "PC", D = "", U = "";
|
|
491
491
|
const te = window.matchMedia("(min-width: 768px)"), ne = () => {
|
|
492
492
|
fetch(u).then((k) => k.json()).then((k) => {
|
|
@@ -553,7 +553,7 @@ function ze(n, e, t) {
|
|
|
553
553
|
}));
|
|
554
554
|
const se = (i) => q(i);
|
|
555
555
|
function ue(i) {
|
|
556
|
-
|
|
556
|
+
Pe[i ? "unshift" : "push"](() => {
|
|
557
557
|
_ = i, t(5, _);
|
|
558
558
|
});
|
|
559
559
|
}
|
|
@@ -567,8 +567,8 @@ function ze(n, e, t) {
|
|
|
567
567
|
720896 && s && v && y && oe(), n.$$.dirty[0] & /*activemenuitem*/
|
|
568
568
|
4194304 && c && N(), n.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
569
569
|
36 && f && _ && ve(_, f), n.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
570
|
-
40 && M && _ &&
|
|
571
|
-
48 && p && _ &&
|
|
570
|
+
40 && M && _ && _e(_, M), n.$$.dirty[0] & /*mbsource, customStylingContainer*/
|
|
571
|
+
48 && p && _ && xe(_, `${p}.Style`), n.$$.dirty[0] & /*translationurl*/
|
|
572
572
|
2097152 && u && ne();
|
|
573
573
|
}, [
|
|
574
574
|
A,
|
|
@@ -607,7 +607,7 @@ class Se extends ge {
|
|
|
607
607
|
e,
|
|
608
608
|
ze,
|
|
609
609
|
He,
|
|
610
|
-
|
|
610
|
+
de,
|
|
611
611
|
{
|
|
612
612
|
endpoint: 1,
|
|
613
613
|
cmsendpoint: 16,
|
|
@@ -699,7 +699,7 @@ class Se extends ge {
|
|
|
699
699
|
this.$$set({ mbsource: e }), C();
|
|
700
700
|
}
|
|
701
701
|
}
|
|
702
|
-
|
|
702
|
+
fe(Se, { endpoint: {}, cmsendpoint: {}, env: {}, session: {}, playerid: {}, lang: {}, userroles: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, activemenuitem: {}, mbsource: {} }, [], [], !0);
|
|
703
703
|
export {
|
|
704
704
|
Se as default
|
|
705
705
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./GeneralLogout-BjsDUNrm.cjs");require("../stencil/ui-skeleton-BC4mw1ae.cjs");function E(l,t){e.addMessages(l,t)}function J(l){e.$locale.set(l)}const B={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"}};if(typeof window!="undefined"){let l=function(t){return function(...n){try{return t.apply(this,n)}catch(a){if(a instanceof DOMException&&a.message.includes("has already been used with this registry")||a.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw a}}};customElements.define=l(customElements.define),Promise.resolve().then(()=>require("./GeneralLogout-BjsDUNrm.cjs")).then(t=>t.GeneralLogout_ce).then(({default:t})=>{!customElements.get("general-logout")&&customElements.define("general-logout",t.element)})}function K(l){e.append_styles(l,"svelte-io9slc",".PlayerAccountMenuContainer{color:var(--emw--pam-typography-color-nav-bg, var(--emw--color-contrast, #FFFFFF));position:relative;height:100vh;display:flex;flex-direction:column;border-right:2px solid #58586b;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%}.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:18px}.PlayerAccountMenuHeader .PlayerAccountMenuEmail{font-size: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:16px 20px;font-size:16px;line-height:16px;display:inline-flex;width:100%;box-sizing:border-box;align-items:center;cursor:pointer}.PlayerAccountMenuItemBox .PlayerAccountMenuItemTitle{margin-left:20px}.PlayerAccountMenuItemBox:not(:last-child){border-bottom:1px solid var(--emw--color-gray-150, #828282)}.PlayerAccountMenuItemBox .PlayerAccountMenuItemIcon{width:20px;height:20px;padding-top:unset}.PlayerAccountMenuItemBox .PlayerAccountMenuItemIconMobile{width:30px;height:30px;padding-top:15px}.PlayerAccountMenuList{overflow-y:auto;scrollbar-width:thin;scrollbar-color:var(--emw--color-gray-100, #E6E6E6) var(--emw--color-gray-300, #58586B);min-height:900px}.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{flex-wrap:wrap;flex:0 0 33.3333%;padding:0;gap:10px}.PlayerAccountItemWrap.PlayerAccountItemWrapMobile ui-skeleton{width:100%}.PlayerAccountItemWrap ui-skeleton:last-child{flex:1}.PlayerAccountLogOutArea{background:var(--emw--color-gray-300, #58586B);color:var(--emw--pam-typography-color-nav-bg, var(--emw--color-contrast, #FFFFFF));width:100%;flex-grow:0;border-top:1px solid var(--emw--color-gray-150, #828282)}.PlayerAccountMenuActiveItemBox{background:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));color:var(--emw--pam-typography-color-nav-bg, var(--emw--color-contrast, #FFFFFF))}.PlayerAccountMobileContainer{height:unset}.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:grid;grid-template-columns:calc(33% - 6.66px) calc(33% - 6.66px) calc(33% - 6.66px);column-gap:10px;row-gap:10px;padding:0 20px 20px}.PlayerAccountMobileContainer .PlayerAccountMenuList .PlayerAccountMenuItemBox{border:1px solid var(--emw--color-gray-300, #58586B);border-radius:5px;height:auto;justify-content:center;padding-bottom:calc(100% - 22px);position:relative}.PlayerAccountMobileContainer .PlayerAccountMenuList .PlayerAccountMenuItemBox.PlayerAccountMenuActiveItemBox{background:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));border-bottom:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C))}.PlayerAccountMobileContainer .PlayerAccountMenuList .PlayerAccountMenuItemBox .PlayerAccountMenuItemIcon{width:30px}.PlayerAccountMobileContainer .PlayerAccountMenuList .PlayerAccountMenuItemWrapper{display:flex;align-items:center;justify-content:space-between;flex-flow:column;gap:6px;position:absolute;top:0;bottom:0;left:0;right:0}.PlayerAccountMobileContainer .PlayerAccountMenuList .PlayerAccountMenuItemWrapper .PlayerAccountMenuItemTitle{font-size:11px;padding:0 5px 15px 5px;font-weight:400;word-break:break-word;text-align:center;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}.PlayerAccountTabletContainer .PlayerAccountMenuHeader{padding:30px 40px}.PlayerAccountTabletContainer .PlayerAccountMenuCategoryTitle{font-size:32px}.PlayerAccountTabletContainer .PlayerAccountMenuUser{font-size:26px}.PlayerAccountTabletContainer .PlayerAccountMenuEmail{font-size:20px}.PlayerAccountTabletContainer .PlayerAccountMenuList{column-gap:20px;row-gap:20px;padding:0 40px 40px;grid-template-columns:calc(33% - 11px) calc(33% - 11px) calc(33% - 11px)}.PlayerAccountTabletContainer .PlayerAccountMenuList .PlayerAccountMenuItemBox .PlayerAccountMenuItemIcon{width:80px}.PlayerAccountTabletContainer .PlayerAccountMenuList .PlayerAccountMenuItemWrapper{gap:28px}.PlayerAccountTabletContainer .PlayerAccountMenuList .PlayerAccountMenuItemWrapper .PlayerAccountMenuItemTitle{font-size:24px}.PlayerAccountTabletContainer .PlayerAccountLogOutArea{right:54px;top:72px}@keyframes fadeIn{0%{opacity:0.01}1%{opacity:0}50%{opacity:0}100%{opacity:1}}")}function W(l,t,n){const a=l.slice();return a[40]=t[n],a}function H(l,t,n){const a=l.slice();return a[37]=t[n],a}function Y(l){let t,n,a,r,s,m,y,f,b,_,g,h,u=l[12]&&ee(l),c=l[12]&&te(l),p=e.ensure_array_like(l[7]),i=[];for(let d=0;d<p.length;d+=1)i[d]=S(W(l,p,d));let v=!l[12]&&ne(l);return{c(){t=e.element("div"),n=e.element("div"),u&&u.c(),a=e.space(),r=e.element("p"),s=e.text(l[9]),m=e.space(),y=e.element("p"),f=e.text(l[10]),b=e.space(),c&&c.c(),_=e.space(),g=e.element("div");for(let d=0;d<i.length;d+=1)i[d].c();h=e.space(),v&&v.c(),e.attr(r,"class","PlayerAccountMenuUser"),e.attr(y,"class","PlayerAccountMenuEmail"),e.attr(n,"class","PlayerAccountMenuHeader "+(l[12]?"PlayerAccountMenuHeaderMobile":"")),e.attr(g,"class","PlayerAccountMenuList"),e.attr(t,"class","PlayerAccountMenuContainer "+(l[12]?"PlayerAccountMobileContainer":"")+" "+(l[13].matches&&l[12]?"PlayerAccountTabletContainer":""))},m(d,P){e.insert(d,t,P),e.append(t,n),u&&u.m(n,null),e.append(n,a),e.append(n,r),e.append(r,s),e.append(n,m),e.append(n,y),e.append(y,f),e.append(n,b),c&&c.m(n,null),e.append(t,_),e.append(t,g);for(let A=0;A<i.length;A+=1)i[A]&&i[A].m(g,null);e.append(t,h),v&&v.m(t,null)},p(d,P){if(d[12]&&u.p(d,P),P[0]&512&&e.set_data(s,d[9]),P[0]&1024&&e.set_data(f,d[10]),d[12]&&c.p(d,P),P[0]&20864){p=e.ensure_array_like(d[7]);let A;for(A=0;A<p.length;A+=1){const x=W(d,p,A);i[A]?i[A].p(x,P):(i[A]=S(x),i[A].c(),i[A].m(g,null))}for(;A<i.length;A+=1)i[A].d(1);i.length=p.length}d[12]||v.p(d,P)},d(d){d&&e.detach(t),u&&u.d(),c&&c.d(),e.destroy_each(i,d),v&&v.d()}}}function $(l){let t,n,a,r,s,m,y,f,b,_,g=l[12]&&le(),h=e.ensure_array_like(Array(18)),u=[];for(let c=0;c<h.length;c+=1)u[c]=z(H(l,h,c));return{c(){t=e.element("div"),n=e.element("div"),g&&g.c(),a=e.space(),r=e.element("ui-skeleton"),s=e.space(),m=e.element("ui-skeleton"),y=e.space(),f=e.element("div");for(let c=0;c<u.length;c+=1)u[c].c();b=e.space(),_=e.element("div"),_.innerHTML='<ui-skeleton structure="rectangle" width="auto" height="60px"></ui-skeleton>',e.set_custom_element_data(r,"structure","title"),e.set_custom_element_data(r,"width","100px"),e.set_custom_element_data(r,"height","20px"),e.set_custom_element_data(r,"margin-top","10px"),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(f,"class","PlayerAccountMenuList"),e.attr(_,"class","skeletonLogOut"),e.attr(t,"class","PlayerAccountMenuContainer "+(l[12]?"PlayerAccountMobileContainer":"")+" "+(l[13].matches&&l[12]?"PlayerAccountTabletContainer":""))},m(c,p){e.insert(c,t,p),e.append(t,n),g&&g.m(n,null),e.append(n,a),e.append(n,r),e.append(n,s),e.append(n,m),e.append(t,y),e.append(t,f);for(let i=0;i<u.length;i+=1)u[i]&&u[i].m(f,null);e.append(t,b),e.append(t,_)},p(c,p){if(p[0]&4096){h=e.ensure_array_like(Array(18));let i;for(i=0;i<h.length;i+=1){const v=H(c,h,i);u[i]?u[i].p(v,p):(u[i]=z(v),u[i].c(),u[i].m(f,null))}for(;i<u.length;i+=1)u[i].d(1);u.length=h.length}},d(c){c&&e.detach(t),g&&g.d(),e.destroy_each(u,c)}}}function ee(l){let t,n,a,r,s,m,y,f,b,_,g=l[11]("title")+"",h,u,c;return{c(){t=e.element("div"),n=e.svg_element("svg"),a=e.svg_element("defs"),r=e.svg_element("style"),s=e.text(".aaa{fill:var(--emw--color-white, #FFFFFF);}"),m=e.svg_element("g"),y=e.svg_element("g"),f=e.svg_element("path"),b=e.space(),_=e.element("h3"),h=e.text(g),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(y,"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(_,"class","PlayerAccountMenuCategoryTitle"),e.attr(t,"class","PlayerAccountMenuCategoryWrapper")},m(p,i){e.insert(p,t,i),e.append(t,n),e.append(n,a),e.append(a,r),e.append(r,s),e.append(n,m),e.append(m,y),e.append(y,f),e.append(t,b),e.append(t,_),e.append(_,h),u||(c=[e.listen(n,"click",l[15]),e.listen(_,"click",l[15])],u=!0)},p(p,i){i[0]&2048&&g!==(g=p[11]("title")+"")&&e.set_data(h,g)},d(p){p&&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,r){e.insert(a,t,r),e.append(t,n)},p(a,r){r[0]&2&&e.set_custom_element_data(n,"endpoint",a[1]),r[0]&1&&e.set_custom_element_data(n,"session",a[0]),r[0]&4&&e.set_custom_element_data(n,"clientstyling",a[2]),r[0]&8&&e.set_custom_element_data(n,"clientstylingurl",a[3]),r[0]&16&&e.set_custom_element_data(n,"mbsource",a[4])},d(a){a&&e.detach(t)}}}function S(l){let t,n,a,r,s,m,y=l[40].label+"",f,b,_,g,h;function u(){return l[25](l[40])}return{c(){t=e.element("div"),n=e.element("p"),a=e.element("img"),s=e.space(),m=e.element("span"),f=e.text(y),b=e.space(),e.attr(a,"class","PlayerAccountMenuItemIcon "+(l[12]?"PlayerAccountMenuItemIconMobile":"")),e.src_url_equal(a.src,r=l[40].img)||e.attr(a,"src",r),e.attr(m,"class","PlayerAccountMenuItemTitle"),e.attr(n,"class","PlayerAccountMenuItemWrapper"),e.attr(t,"class",_="PlayerAccountMenuItemBox "+(l[8]===l[40].id&&!l[12]?"PlayerAccountMenuActiveItemBox":""))},m(c,p){e.insert(c,t,p),e.append(t,n),e.append(n,a),e.append(n,s),e.append(n,m),e.append(m,f),e.append(t,b),g||(h=e.listen(t,"click",u),g=!0)},p(c,p){l=c,p[0]&128&&!e.src_url_equal(a.src,r=l[40].img)&&e.attr(a,"src",r),p[0]&128&&y!==(y=l[40].label+"")&&e.set_data(f,y),p[0]&384&&_!==(_="PlayerAccountMenuItemBox "+(l[8]===l[40].id&&!l[12]?"PlayerAccountMenuActiveItemBox":""))&&e.attr(t,"class",_)},d(c){c&&e.detach(t),g=!1,h()}}}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,r){e.insert(a,t,r),e.append(t,n)},p(a,r){r[0]&2&&e.set_custom_element_data(n,"endpoint",a[1]),r[0]&1&&e.set_custom_element_data(n,"session",a[0]),r[0]&4&&e.set_custom_element_data(n,"clientstyling",a[2]),r[0]&8&&e.set_custom_element_data(n,"clientstylingurl",a[3]),r[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="30px"></ui-skeleton> <ui-skeleton structure="text" width="150px" height="30px"></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 z(l){let t,n,a,r,s=!l[12]&&ae();return{c(){t=e.element("div"),s&&s.c(),n=e.space(),a=e.element("ui-skeleton"),r=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]?"120px":"20px"),e.attr(t,"class","PlayerAccountItemWrap "+(l[12]?"PlayerAccountItemWrapMobile":""))},m(m,y){e.insert(m,t,y),s&&s.m(t,null),e.append(t,n),e.append(t,a),e.append(t,r)},p:e.noop,d(m){m&&e.detach(t),s&&s.d()}}}function oe(l){let t;function n(s,m){return s[6]?$:Y}let a=n(l),r=a(l);return{c(){t=e.element("div"),r.c()},m(s,m){e.insert(s,t,m),r.m(t,null),l[26](t)},p(s,m){a===(a=n(s))&&r?r.p(s,m):(r.d(1),r=a(s),r&&(r.c(),r.m(t,null)))},i:e.noop,o:e.noop,d(s){s&&e.detach(t),r.d(),l[26](null)}}}function re(l,t,n){let a;e.component_subscribe(l,e.$format,o=>n(11,a=o));let{endpoint:r=""}=t,{cmsendpoint:s=""}=t,{env:m=""}=t,{session:y=""}=t,{playerid:f=""}=t,{lang:b="en"}=t,{userroles:_=""}=t,{clientstyling:g=""}=t,{clientstylingurl:h=""}=t,{translationurl:u=""}=t,{activemenuitem:c=""}=t,{mbsource:p}=t,i=!1,v=!1,d=!0,P,A=[],x,k=window.navigator.userAgent,D=e.getDevice(k)!=="PC",I="",C="";const j=window.matchMedia("(min-width: 768px)"),U=()=>{fetch(u).then(M=>M.json()).then(M=>{Object.keys(M).forEach(w=>{E(w,M[w])})}).catch(M=>{console.error(M)})};Object.keys(B).forEach(o=>{E(o,B[o])});const F=o=>{if(o.data)switch(o.data.type){case"UserSessionID":n(0,y=o.data.session);break}},q=()=>{let o=e.getDevice(k);if(o)return o==="PC"?"dk":"mtWeb"},R=()=>{const o=new URL(`${s}/${b}/profile-menu?env=${m}`);o.searchParams.append("device",q()),fetch(o.href).then(M=>M.json()).then(M=>{n(7,A=M),T()}).catch(M=>{console.error("Error getting menu items",M)}).finally(()=>{n(23,i=!0)})},G=()=>{let o=new URL(`${r}/v1/player/${f}/profile`);o.searchParams.append("userRoles",_);let M={method:"GET",headers:{"X-SessionID":y}};fetch(o.href,M).then(w=>w.json()).then(w=>{n(9,I=w.username),n(10,C=w.email)},w=>{console.error(w)}).finally(()=>{n(24,v=!0)})},L=o=>{window.postMessage({type:"ChangeAccountPage",page:o},window.location.href),n(8,x=o.id)},T=()=>{var o;n(8,x=(o=A.find(M=>M.path.includes(c)))==null?void 0:o.id)},N=()=>{J(b)},Q=()=>{G()},V=()=>{window.postMessage({type:"GoToHomepage"},window.location.href)};e.onMount(()=>(window.addEventListener("message",F,!1),()=>{window.removeEventListener("message",F)}));const X=o=>L(o);function Z(o){e.binding_callbacks[o?"unshift":"push"](()=>{P=o,n(5,P)})}return l.$$set=o=>{"endpoint"in o&&n(1,r=o.endpoint),"cmsendpoint"in o&&n(16,s=o.cmsendpoint),"env"in o&&n(17,m=o.env),"session"in o&&n(0,y=o.session),"playerid"in o&&n(18,f=o.playerid),"lang"in o&&n(19,b=o.lang),"userroles"in o&&n(20,_=o.userroles),"clientstyling"in o&&n(2,g=o.clientstyling),"clientstylingurl"in o&&n(3,h=o.clientstylingurl),"translationurl"in o&&n(21,u=o.translationurl),"activemenuitem"in o&&n(22,c=o.activemenuitem),"mbsource"in o&&n(4,p=o.mbsource)},l.$$.update=()=>{l.$$.dirty[0]&25165824&&n(6,d=!i||!v),l.$$.dirty[0]&524288&&b&&N(),l.$$.dirty[0]&786435&&r&&y&&f&&b&&Q(),l.$$.dirty[0]&720896&&s&&b&&m&&R(),l.$$.dirty[0]&4194304&&c&&T(),l.$$.dirty[0]&36&&g&&P&&e.setClientStyling(P,g),l.$$.dirty[0]&40&&h&&P&&e.setClientStylingURL(P,h),l.$$.dirty[0]&48&&p&&P&&e.setStreamStyling(P,`${p}.Style`),l.$$.dirty[0]&2097152&&u&&U()},[y,r,g,h,p,P,d,A,x,I,C,a,D,j,L,V,s,m,f,b,_,u,c,i,v,X,Z]}class O extends e.SvelteComponent{constructor(t){super(),e.init(this,t,re,oe,e.safe_not_equal,{endpoint:1,cmsendpoint:16,env:17,session:0,playerid:18,lang:19,userroles:20,clientstyling:2,clientstylingurl:3,translationurl:21,activemenuitem:22,mbsource:4},K,[-1,-1])}get endpoint(){return this.$$.ctx[1]}set endpoint(t){this.$$set({endpoint:t}),e.flush()}get cmsendpoint(){return this.$$.ctx[16]}set cmsendpoint(t){this.$$set({cmsendpoint:t}),e.flush()}get env(){return this.$$.ctx[17]}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[18]}set playerid(t){this.$$set({playerid:t}),e.flush()}get lang(){return this.$$.ctx[19]}set lang(t){this.$$set({lang: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 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()}get mbsource(){return this.$$.ctx[4]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}}e.create_custom_element(O,{endpoint:{},cmsendpoint:{},env:{},session:{},playerid:{},lang:{},userroles:{},clientstyling:{},clientstylingurl:{},translationurl:{},activemenuitem:{},mbsource:{}},[],[],!0);exports.default=O;
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./GeneralLogout-CneHnHyh.cjs");require("../stencil/ui-skeleton-BAxmxOly.cjs");function E(l,t){e.addMessages(l,t)}function J(l){e.$locale.set(l)}const B={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"}};if(typeof window!="undefined"){let l=function(t){return function(...n){try{return t.apply(this,n)}catch(a){if(a instanceof DOMException&&a.message.includes("has already been used with this registry")||a.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw a}}};customElements.define=l(customElements.define),Promise.resolve().then(()=>require("./GeneralLogout-CneHnHyh.cjs")).then(t=>t.GeneralLogout_ce).then(({default:t})=>{!customElements.get("general-logout")&&customElements.define("general-logout",t.element)})}function K(l){e.append_styles(l,"svelte-io9slc",".PlayerAccountMenuContainer{color:var(--emw--pam-typography-color-nav-bg, var(--emw--color-contrast, #FFFFFF));position:relative;height:100vh;display:flex;flex-direction:column;border-right:2px solid #58586b;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%}.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:18px}.PlayerAccountMenuHeader .PlayerAccountMenuEmail{font-size: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:16px 20px;font-size:16px;line-height:16px;display:inline-flex;width:100%;box-sizing:border-box;align-items:center;cursor:pointer}.PlayerAccountMenuItemBox .PlayerAccountMenuItemTitle{margin-left:20px}.PlayerAccountMenuItemBox:not(:last-child){border-bottom:1px solid var(--emw--color-gray-150, #828282)}.PlayerAccountMenuItemBox .PlayerAccountMenuItemIcon{width:20px;height:20px;padding-top:unset}.PlayerAccountMenuItemBox .PlayerAccountMenuItemIconMobile{width:30px;height:30px;padding-top:15px}.PlayerAccountMenuList{overflow-y:auto;scrollbar-width:thin;scrollbar-color:var(--emw--color-gray-100, #E6E6E6) var(--emw--color-gray-300, #58586B);min-height:900px}.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{flex-wrap:wrap;flex:0 0 33.3333%;padding:0;gap:10px}.PlayerAccountItemWrap.PlayerAccountItemWrapMobile ui-skeleton{width:100%}.PlayerAccountItemWrap ui-skeleton:last-child{flex:1}.PlayerAccountLogOutArea{background:var(--emw--color-gray-300, #58586B);color:var(--emw--pam-typography-color-nav-bg, var(--emw--color-contrast, #FFFFFF));width:100%;flex-grow:0;border-top:1px solid var(--emw--color-gray-150, #828282)}.PlayerAccountMenuActiveItemBox{background:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));color:var(--emw--pam-typography-color-nav-bg, var(--emw--color-contrast, #FFFFFF))}.PlayerAccountMobileContainer{height:unset}.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:grid;grid-template-columns:calc(33% - 6.66px) calc(33% - 6.66px) calc(33% - 6.66px);column-gap:10px;row-gap:10px;padding:0 20px 20px}.PlayerAccountMobileContainer .PlayerAccountMenuList .PlayerAccountMenuItemBox{border:1px solid var(--emw--color-gray-300, #58586B);border-radius:5px;height:auto;justify-content:center;padding-bottom:calc(100% - 22px);position:relative}.PlayerAccountMobileContainer .PlayerAccountMenuList .PlayerAccountMenuItemBox.PlayerAccountMenuActiveItemBox{background:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));border-bottom:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C))}.PlayerAccountMobileContainer .PlayerAccountMenuList .PlayerAccountMenuItemBox .PlayerAccountMenuItemIcon{width:30px}.PlayerAccountMobileContainer .PlayerAccountMenuList .PlayerAccountMenuItemWrapper{display:flex;align-items:center;justify-content:space-between;flex-flow:column;gap:6px;position:absolute;top:0;bottom:0;left:0;right:0}.PlayerAccountMobileContainer .PlayerAccountMenuList .PlayerAccountMenuItemWrapper .PlayerAccountMenuItemTitle{font-size:11px;padding:0 5px 15px 5px;font-weight:400;word-break:break-word;text-align:center;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}.PlayerAccountTabletContainer .PlayerAccountMenuHeader{padding:30px 40px}.PlayerAccountTabletContainer .PlayerAccountMenuCategoryTitle{font-size:32px}.PlayerAccountTabletContainer .PlayerAccountMenuUser{font-size:26px}.PlayerAccountTabletContainer .PlayerAccountMenuEmail{font-size:20px}.PlayerAccountTabletContainer .PlayerAccountMenuList{column-gap:20px;row-gap:20px;padding:0 40px 40px;grid-template-columns:calc(33% - 11px) calc(33% - 11px) calc(33% - 11px)}.PlayerAccountTabletContainer .PlayerAccountMenuList .PlayerAccountMenuItemBox .PlayerAccountMenuItemIcon{width:80px}.PlayerAccountTabletContainer .PlayerAccountMenuList .PlayerAccountMenuItemWrapper{gap:28px}.PlayerAccountTabletContainer .PlayerAccountMenuList .PlayerAccountMenuItemWrapper .PlayerAccountMenuItemTitle{font-size:24px}.PlayerAccountTabletContainer .PlayerAccountLogOutArea{right:54px;top:72px}@keyframes fadeIn{0%{opacity:0.01}1%{opacity:0}50%{opacity:0}100%{opacity:1}}")}function W(l,t,n){const a=l.slice();return a[40]=t[n],a}function H(l,t,n){const a=l.slice();return a[37]=t[n],a}function Y(l){let t,n,a,r,s,m,y,f,b,_,g,h,u=l[12]&&ee(l),c=l[12]&&te(l),p=e.ensure_array_like(l[7]),i=[];for(let d=0;d<p.length;d+=1)i[d]=S(W(l,p,d));let v=!l[12]&&ne(l);return{c(){t=e.element("div"),n=e.element("div"),u&&u.c(),a=e.space(),r=e.element("p"),s=e.text(l[9]),m=e.space(),y=e.element("p"),f=e.text(l[10]),b=e.space(),c&&c.c(),_=e.space(),g=e.element("div");for(let d=0;d<i.length;d+=1)i[d].c();h=e.space(),v&&v.c(),e.attr(r,"class","PlayerAccountMenuUser"),e.attr(y,"class","PlayerAccountMenuEmail"),e.attr(n,"class","PlayerAccountMenuHeader "+(l[12]?"PlayerAccountMenuHeaderMobile":"")),e.attr(g,"class","PlayerAccountMenuList"),e.attr(t,"class","PlayerAccountMenuContainer "+(l[12]?"PlayerAccountMobileContainer":"")+" "+(l[13].matches&&l[12]?"PlayerAccountTabletContainer":""))},m(d,P){e.insert(d,t,P),e.append(t,n),u&&u.m(n,null),e.append(n,a),e.append(n,r),e.append(r,s),e.append(n,m),e.append(n,y),e.append(y,f),e.append(n,b),c&&c.m(n,null),e.append(t,_),e.append(t,g);for(let A=0;A<i.length;A+=1)i[A]&&i[A].m(g,null);e.append(t,h),v&&v.m(t,null)},p(d,P){if(d[12]&&u.p(d,P),P[0]&512&&e.set_data(s,d[9]),P[0]&1024&&e.set_data(f,d[10]),d[12]&&c.p(d,P),P[0]&20864){p=e.ensure_array_like(d[7]);let A;for(A=0;A<p.length;A+=1){const x=W(d,p,A);i[A]?i[A].p(x,P):(i[A]=S(x),i[A].c(),i[A].m(g,null))}for(;A<i.length;A+=1)i[A].d(1);i.length=p.length}d[12]||v.p(d,P)},d(d){d&&e.detach(t),u&&u.d(),c&&c.d(),e.destroy_each(i,d),v&&v.d()}}}function $(l){let t,n,a,r,s,m,y,f,b,_,g=l[12]&&le(),h=e.ensure_array_like(Array(18)),u=[];for(let c=0;c<h.length;c+=1)u[c]=z(H(l,h,c));return{c(){t=e.element("div"),n=e.element("div"),g&&g.c(),a=e.space(),r=e.element("ui-skeleton"),s=e.space(),m=e.element("ui-skeleton"),y=e.space(),f=e.element("div");for(let c=0;c<u.length;c+=1)u[c].c();b=e.space(),_=e.element("div"),_.innerHTML='<ui-skeleton structure="rectangle" width="auto" height="60px"></ui-skeleton>',e.set_custom_element_data(r,"structure","title"),e.set_custom_element_data(r,"width","100px"),e.set_custom_element_data(r,"height","20px"),e.set_custom_element_data(r,"margin-top","10px"),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(f,"class","PlayerAccountMenuList"),e.attr(_,"class","skeletonLogOut"),e.attr(t,"class","PlayerAccountMenuContainer "+(l[12]?"PlayerAccountMobileContainer":"")+" "+(l[13].matches&&l[12]?"PlayerAccountTabletContainer":""))},m(c,p){e.insert(c,t,p),e.append(t,n),g&&g.m(n,null),e.append(n,a),e.append(n,r),e.append(n,s),e.append(n,m),e.append(t,y),e.append(t,f);for(let i=0;i<u.length;i+=1)u[i]&&u[i].m(f,null);e.append(t,b),e.append(t,_)},p(c,p){if(p[0]&4096){h=e.ensure_array_like(Array(18));let i;for(i=0;i<h.length;i+=1){const v=H(c,h,i);u[i]?u[i].p(v,p):(u[i]=z(v),u[i].c(),u[i].m(f,null))}for(;i<u.length;i+=1)u[i].d(1);u.length=h.length}},d(c){c&&e.detach(t),g&&g.d(),e.destroy_each(u,c)}}}function ee(l){let t,n,a,r,s,m,y,f,b,_,g=l[11]("title")+"",h,u,c;return{c(){t=e.element("div"),n=e.svg_element("svg"),a=e.svg_element("defs"),r=e.svg_element("style"),s=e.text(".aaa{fill:var(--emw--color-white, #FFFFFF);}"),m=e.svg_element("g"),y=e.svg_element("g"),f=e.svg_element("path"),b=e.space(),_=e.element("h3"),h=e.text(g),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(y,"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(_,"class","PlayerAccountMenuCategoryTitle"),e.attr(t,"class","PlayerAccountMenuCategoryWrapper")},m(p,i){e.insert(p,t,i),e.append(t,n),e.append(n,a),e.append(a,r),e.append(r,s),e.append(n,m),e.append(m,y),e.append(y,f),e.append(t,b),e.append(t,_),e.append(_,h),u||(c=[e.listen(n,"click",l[15]),e.listen(_,"click",l[15])],u=!0)},p(p,i){i[0]&2048&&g!==(g=p[11]("title")+"")&&e.set_data(h,g)},d(p){p&&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,r){e.insert(a,t,r),e.append(t,n)},p(a,r){r[0]&2&&e.set_custom_element_data(n,"endpoint",a[1]),r[0]&1&&e.set_custom_element_data(n,"session",a[0]),r[0]&4&&e.set_custom_element_data(n,"clientstyling",a[2]),r[0]&8&&e.set_custom_element_data(n,"clientstylingurl",a[3]),r[0]&16&&e.set_custom_element_data(n,"mbsource",a[4])},d(a){a&&e.detach(t)}}}function S(l){let t,n,a,r,s,m,y=l[40].label+"",f,b,_,g,h;function u(){return l[25](l[40])}return{c(){t=e.element("div"),n=e.element("p"),a=e.element("img"),s=e.space(),m=e.element("span"),f=e.text(y),b=e.space(),e.attr(a,"class","PlayerAccountMenuItemIcon "+(l[12]?"PlayerAccountMenuItemIconMobile":"")),e.src_url_equal(a.src,r=l[40].img)||e.attr(a,"src",r),e.attr(m,"class","PlayerAccountMenuItemTitle"),e.attr(n,"class","PlayerAccountMenuItemWrapper"),e.attr(t,"class",_="PlayerAccountMenuItemBox "+(l[8]===l[40].id&&!l[12]?"PlayerAccountMenuActiveItemBox":""))},m(c,p){e.insert(c,t,p),e.append(t,n),e.append(n,a),e.append(n,s),e.append(n,m),e.append(m,f),e.append(t,b),g||(h=e.listen(t,"click",u),g=!0)},p(c,p){l=c,p[0]&128&&!e.src_url_equal(a.src,r=l[40].img)&&e.attr(a,"src",r),p[0]&128&&y!==(y=l[40].label+"")&&e.set_data(f,y),p[0]&384&&_!==(_="PlayerAccountMenuItemBox "+(l[8]===l[40].id&&!l[12]?"PlayerAccountMenuActiveItemBox":""))&&e.attr(t,"class",_)},d(c){c&&e.detach(t),g=!1,h()}}}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,r){e.insert(a,t,r),e.append(t,n)},p(a,r){r[0]&2&&e.set_custom_element_data(n,"endpoint",a[1]),r[0]&1&&e.set_custom_element_data(n,"session",a[0]),r[0]&4&&e.set_custom_element_data(n,"clientstyling",a[2]),r[0]&8&&e.set_custom_element_data(n,"clientstylingurl",a[3]),r[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="30px"></ui-skeleton> <ui-skeleton structure="text" width="150px" height="30px"></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 z(l){let t,n,a,r,s=!l[12]&&ae();return{c(){t=e.element("div"),s&&s.c(),n=e.space(),a=e.element("ui-skeleton"),r=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]?"120px":"20px"),e.attr(t,"class","PlayerAccountItemWrap "+(l[12]?"PlayerAccountItemWrapMobile":""))},m(m,y){e.insert(m,t,y),s&&s.m(t,null),e.append(t,n),e.append(t,a),e.append(t,r)},p:e.noop,d(m){m&&e.detach(t),s&&s.d()}}}function oe(l){let t;function n(s,m){return s[6]?$:Y}let a=n(l),r=a(l);return{c(){t=e.element("div"),r.c()},m(s,m){e.insert(s,t,m),r.m(t,null),l[26](t)},p(s,m){a===(a=n(s))&&r?r.p(s,m):(r.d(1),r=a(s),r&&(r.c(),r.m(t,null)))},i:e.noop,o:e.noop,d(s){s&&e.detach(t),r.d(),l[26](null)}}}function re(l,t,n){let a;e.component_subscribe(l,e.$format,o=>n(11,a=o));let{endpoint:r=""}=t,{cmsendpoint:s=""}=t,{env:m=""}=t,{session:y=""}=t,{playerid:f=""}=t,{lang:b="en"}=t,{userroles:_=""}=t,{clientstyling:g=""}=t,{clientstylingurl:h=""}=t,{translationurl:u=""}=t,{activemenuitem:c=""}=t,{mbsource:p}=t,i=!1,v=!1,d=!0,P,A=[],x,k=window.navigator.userAgent,D=e.getDevice(k)!=="PC",I="",C="";const j=window.matchMedia("(min-width: 768px)"),U=()=>{fetch(u).then(M=>M.json()).then(M=>{Object.keys(M).forEach(w=>{E(w,M[w])})}).catch(M=>{console.error(M)})};Object.keys(B).forEach(o=>{E(o,B[o])});const F=o=>{if(o.data)switch(o.data.type){case"UserSessionID":n(0,y=o.data.session);break}},q=()=>{let o=e.getDevice(k);if(o)return o==="PC"?"dk":"mtWeb"},R=()=>{const o=new URL(`${s}/${b}/profile-menu?env=${m}`);o.searchParams.append("device",q()),fetch(o.href).then(M=>M.json()).then(M=>{n(7,A=M),T()}).catch(M=>{console.error("Error getting menu items",M)}).finally(()=>{n(23,i=!0)})},G=()=>{let o=new URL(`${r}/v1/player/${f}/profile`);o.searchParams.append("userRoles",_);let M={method:"GET",headers:{"X-SessionID":y}};fetch(o.href,M).then(w=>w.json()).then(w=>{n(9,I=w.username),n(10,C=w.email)},w=>{console.error(w)}).finally(()=>{n(24,v=!0)})},L=o=>{window.postMessage({type:"ChangeAccountPage",page:o},window.location.href),n(8,x=o.id)},T=()=>{var o;n(8,x=(o=A.find(M=>M.path.includes(c)))==null?void 0:o.id)},N=()=>{J(b)},Q=()=>{G()},V=()=>{window.postMessage({type:"GoToHomepage"},window.location.href)};e.onMount(()=>(window.addEventListener("message",F,!1),()=>{window.removeEventListener("message",F)}));const X=o=>L(o);function Z(o){e.binding_callbacks[o?"unshift":"push"](()=>{P=o,n(5,P)})}return l.$$set=o=>{"endpoint"in o&&n(1,r=o.endpoint),"cmsendpoint"in o&&n(16,s=o.cmsendpoint),"env"in o&&n(17,m=o.env),"session"in o&&n(0,y=o.session),"playerid"in o&&n(18,f=o.playerid),"lang"in o&&n(19,b=o.lang),"userroles"in o&&n(20,_=o.userroles),"clientstyling"in o&&n(2,g=o.clientstyling),"clientstylingurl"in o&&n(3,h=o.clientstylingurl),"translationurl"in o&&n(21,u=o.translationurl),"activemenuitem"in o&&n(22,c=o.activemenuitem),"mbsource"in o&&n(4,p=o.mbsource)},l.$$.update=()=>{l.$$.dirty[0]&25165824&&n(6,d=!i||!v),l.$$.dirty[0]&524288&&b&&N(),l.$$.dirty[0]&786435&&r&&y&&f&&b&&Q(),l.$$.dirty[0]&720896&&s&&b&&m&&R(),l.$$.dirty[0]&4194304&&c&&T(),l.$$.dirty[0]&36&&g&&P&&e.setClientStyling(P,g),l.$$.dirty[0]&40&&h&&P&&e.setClientStylingURL(P,h),l.$$.dirty[0]&48&&p&&P&&e.setStreamStyling(P,`${p}.Style`),l.$$.dirty[0]&2097152&&u&&U()},[y,r,g,h,p,P,d,A,x,I,C,a,D,j,L,V,s,m,f,b,_,u,c,i,v,X,Z]}class O extends e.SvelteComponent{constructor(t){super(),e.init(this,t,re,oe,e.safe_not_equal,{endpoint:1,cmsendpoint:16,env:17,session:0,playerid:18,lang:19,userroles:20,clientstyling:2,clientstylingurl:3,translationurl:21,activemenuitem:22,mbsource:4},K,[-1,-1])}get endpoint(){return this.$$.ctx[1]}set endpoint(t){this.$$set({endpoint:t}),e.flush()}get cmsendpoint(){return this.$$.ctx[16]}set cmsendpoint(t){this.$$set({cmsendpoint:t}),e.flush()}get env(){return this.$$.ctx[17]}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[18]}set playerid(t){this.$$set({playerid:t}),e.flush()}get lang(){return this.$$.ctx[19]}set lang(t){this.$$set({lang: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 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()}get mbsource(){return this.$$.ctx[4]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}}e.create_custom_element(O,{endpoint:{},cmsendpoint:{},env:{},session:{},playerid:{},lang:{},userroles:{},clientstyling:{},clientstylingurl:{},translationurl:{},activemenuitem:{},mbsource:{}},[],[],!0);exports.default=O;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as me, $ as ye, S as ge, i as pe,
|
|
2
|
-
import "../stencil/ui-skeleton-
|
|
1
|
+
import { a as me, $ as ye, S as ge, i as pe, s as de, f as C, b as fe, n as S, d as F, g as L, j as h, p as he, q as G, u as Ae, w as be, O as H, P as $, h as a, k as I, e as m, o as g, c as z, m as W, r as Pe, l as O, v as B, a1 as Q, x as Me, y as we, z as ve, A as _e, B as xe } from "./GeneralLogout-C38FmUFl.js";
|
|
2
|
+
import "../stencil/ui-skeleton-BCpuJt-t.js";
|
|
3
3
|
function V(n, e) {
|
|
4
4
|
me(n, e);
|
|
5
5
|
}
|
|
@@ -53,12 +53,12 @@ if (typeof window != "undefined") {
|
|
|
53
53
|
}
|
|
54
54
|
};
|
|
55
55
|
};
|
|
56
|
-
customElements.define = n(customElements.define), import("./GeneralLogout-
|
|
56
|
+
customElements.define = n(customElements.define), import("./GeneralLogout-C38FmUFl.js").then((e) => e.a7).then(({ default: e }) => {
|
|
57
57
|
!customElements.get("general-logout") && customElements.define("general-logout", e.element);
|
|
58
58
|
});
|
|
59
59
|
}
|
|
60
60
|
function Ie(n) {
|
|
61
|
-
|
|
61
|
+
fe(n, "svelte-io9slc", ".PlayerAccountMenuContainer{color:var(--emw--pam-typography-color-nav-bg, var(--emw--color-contrast, #FFFFFF));position:relative;height:100vh;display:flex;flex-direction:column;border-right:2px solid #58586b;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%}.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:18px}.PlayerAccountMenuHeader .PlayerAccountMenuEmail{font-size: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:16px 20px;font-size:16px;line-height:16px;display:inline-flex;width:100%;box-sizing:border-box;align-items:center;cursor:pointer}.PlayerAccountMenuItemBox .PlayerAccountMenuItemTitle{margin-left:20px}.PlayerAccountMenuItemBox:not(:last-child){border-bottom:1px solid var(--emw--color-gray-150, #828282)}.PlayerAccountMenuItemBox .PlayerAccountMenuItemIcon{width:20px;height:20px;padding-top:unset}.PlayerAccountMenuItemBox .PlayerAccountMenuItemIconMobile{width:30px;height:30px;padding-top:15px}.PlayerAccountMenuList{overflow-y:auto;scrollbar-width:thin;scrollbar-color:var(--emw--color-gray-100, #E6E6E6) var(--emw--color-gray-300, #58586B);min-height:900px}.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{flex-wrap:wrap;flex:0 0 33.3333%;padding:0;gap:10px}.PlayerAccountItemWrap.PlayerAccountItemWrapMobile ui-skeleton{width:100%}.PlayerAccountItemWrap ui-skeleton:last-child{flex:1}.PlayerAccountLogOutArea{background:var(--emw--color-gray-300, #58586B);color:var(--emw--pam-typography-color-nav-bg, var(--emw--color-contrast, #FFFFFF));width:100%;flex-grow:0;border-top:1px solid var(--emw--color-gray-150, #828282)}.PlayerAccountMenuActiveItemBox{background:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));color:var(--emw--pam-typography-color-nav-bg, var(--emw--color-contrast, #FFFFFF))}.PlayerAccountMobileContainer{height:unset}.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:grid;grid-template-columns:calc(33% - 6.66px) calc(33% - 6.66px) calc(33% - 6.66px);column-gap:10px;row-gap:10px;padding:0 20px 20px}.PlayerAccountMobileContainer .PlayerAccountMenuList .PlayerAccountMenuItemBox{border:1px solid var(--emw--color-gray-300, #58586B);border-radius:5px;height:auto;justify-content:center;padding-bottom:calc(100% - 22px);position:relative}.PlayerAccountMobileContainer .PlayerAccountMenuList .PlayerAccountMenuItemBox.PlayerAccountMenuActiveItemBox{background:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));border-bottom:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C))}.PlayerAccountMobileContainer .PlayerAccountMenuList .PlayerAccountMenuItemBox .PlayerAccountMenuItemIcon{width:30px}.PlayerAccountMobileContainer .PlayerAccountMenuList .PlayerAccountMenuItemWrapper{display:flex;align-items:center;justify-content:space-between;flex-flow:column;gap:6px;position:absolute;top:0;bottom:0;left:0;right:0}.PlayerAccountMobileContainer .PlayerAccountMenuList .PlayerAccountMenuItemWrapper .PlayerAccountMenuItemTitle{font-size:11px;padding:0 5px 15px 5px;font-weight:400;word-break:break-word;text-align:center;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}.PlayerAccountTabletContainer .PlayerAccountMenuHeader{padding:30px 40px}.PlayerAccountTabletContainer .PlayerAccountMenuCategoryTitle{font-size:32px}.PlayerAccountTabletContainer .PlayerAccountMenuUser{font-size:26px}.PlayerAccountTabletContainer .PlayerAccountMenuEmail{font-size:20px}.PlayerAccountTabletContainer .PlayerAccountMenuList{column-gap:20px;row-gap:20px;padding:0 40px 40px;grid-template-columns:calc(33% - 11px) calc(33% - 11px) calc(33% - 11px)}.PlayerAccountTabletContainer .PlayerAccountMenuList .PlayerAccountMenuItemBox .PlayerAccountMenuItemIcon{width:80px}.PlayerAccountTabletContainer .PlayerAccountMenuList .PlayerAccountMenuItemWrapper{gap:28px}.PlayerAccountTabletContainer .PlayerAccountMenuList .PlayerAccountMenuItemWrapper .PlayerAccountMenuItemTitle{font-size:24px}.PlayerAccountTabletContainer .PlayerAccountLogOutArea{right:54px;top:72px}@keyframes fadeIn{0%{opacity:0.01}1%{opacity:0}50%{opacity:0}100%{opacity:1}}");
|
|
62
62
|
}
|
|
63
63
|
function Z(n, e, t) {
|
|
64
64
|
const l = n.slice();
|
|
@@ -101,7 +101,7 @@ function Ce(n) {
|
|
|
101
101
|
n[12] ? "PlayerAccountTabletContainer" : ""));
|
|
102
102
|
},
|
|
103
103
|
m(d, _) {
|
|
104
|
-
|
|
104
|
+
L(d, e, _), a(e, t), u && u.m(t, null), a(t, l), a(t, i), a(i, s), a(t, y), a(t, A), a(A, b), a(t, v), c && c.m(t, null), a(e, P), a(e, f);
|
|
105
105
|
for (let w = 0; w < r.length; w += 1)
|
|
106
106
|
r[w] && r[w].m(f, null);
|
|
107
107
|
a(e, M), k && k.m(e, null);
|
|
@@ -140,7 +140,7 @@ function Ce(n) {
|
|
|
140
140
|
d[12] || k.p(d, _);
|
|
141
141
|
},
|
|
142
142
|
d(d) {
|
|
143
|
-
d &&
|
|
143
|
+
d && F(e), u && u.d(), c && c.d(), $(r, d), k && k.d();
|
|
144
144
|
}
|
|
145
145
|
};
|
|
146
146
|
}
|
|
@@ -163,7 +163,7 @@ function Fe(n) {
|
|
|
163
163
|
n[12] ? "PlayerAccountTabletContainer" : ""));
|
|
164
164
|
},
|
|
165
165
|
m(c, p) {
|
|
166
|
-
|
|
166
|
+
L(c, e, p), a(e, t), f && f.m(t, null), a(t, l), a(t, i), a(t, s), a(t, y), a(e, A), a(e, b);
|
|
167
167
|
for (let r = 0; r < u.length; r += 1)
|
|
168
168
|
u[r] && u[r].m(b, null);
|
|
169
169
|
a(e, v), a(e, P);
|
|
@@ -183,7 +183,7 @@ function Fe(n) {
|
|
|
183
183
|
}
|
|
184
184
|
},
|
|
185
185
|
d(c) {
|
|
186
|
-
c &&
|
|
186
|
+
c && F(e), f && f.d(), $(u, c);
|
|
187
187
|
}
|
|
188
188
|
};
|
|
189
189
|
}
|
|
@@ -197,7 +197,7 @@ function Le(n) {
|
|
|
197
197
|
e = h("div"), t = B("svg"), l = B("defs"), i = B("style"), s = W(".aaa{fill:var(--emw--color-white, #FFFFFF);}"), y = B("g"), A = B("g"), b = B("path"), v = I(), P = h("h3"), M = W(f), g(b, "class", "aaa"), g(b, "d", "M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"), g(b, "transform", "translate(15 15) rotate(180)"), g(A, "transform", "translate(20 158)"), g(y, "transform", "translate(-20 -158)"), g(t, "xmlns", "http://www.w3.org/2000/svg"), g(t, "width", "15"), g(t, "height", "15"), g(t, "viewBox", "0 0 15 15"), g(P, "class", "PlayerAccountMenuCategoryTitle"), g(e, "class", "PlayerAccountMenuCategoryWrapper");
|
|
198
198
|
},
|
|
199
199
|
m(p, r) {
|
|
200
|
-
|
|
200
|
+
L(p, e, r), a(e, t), a(t, l), a(l, i), a(i, s), a(t, y), a(y, A), a(A, b), a(e, v), a(e, P), a(P, M), u || (c = [
|
|
201
201
|
O(
|
|
202
202
|
t,
|
|
203
203
|
"click",
|
|
@@ -218,7 +218,7 @@ function Le(n) {
|
|
|
218
218
|
p[11]("title") + "") && z(M, f);
|
|
219
219
|
},
|
|
220
220
|
d(p) {
|
|
221
|
-
p &&
|
|
221
|
+
p && F(e), u = !1, Pe(c);
|
|
222
222
|
}
|
|
223
223
|
};
|
|
224
224
|
}
|
|
@@ -254,7 +254,7 @@ function Te(n) {
|
|
|
254
254
|
), g(e, "class", "PlayerAccountLogOutArea");
|
|
255
255
|
},
|
|
256
256
|
m(l, i) {
|
|
257
|
-
|
|
257
|
+
L(l, e, i), a(e, t);
|
|
258
258
|
},
|
|
259
259
|
p(l, i) {
|
|
260
260
|
i[0] & /*endpoint*/
|
|
@@ -290,7 +290,7 @@ function Te(n) {
|
|
|
290
290
|
);
|
|
291
291
|
},
|
|
292
292
|
d(l) {
|
|
293
|
-
l &&
|
|
293
|
+
l && F(e);
|
|
294
294
|
}
|
|
295
295
|
};
|
|
296
296
|
}
|
|
@@ -318,7 +318,7 @@ function K(n) {
|
|
|
318
318
|
n[12] ? "PlayerAccountMenuActiveItemBox" : ""));
|
|
319
319
|
},
|
|
320
320
|
m(c, p) {
|
|
321
|
-
|
|
321
|
+
L(c, e, p), a(e, t), a(t, l), a(t, s), a(t, y), a(y, b), a(e, v), f || (M = O(e, "click", u), f = !0);
|
|
322
322
|
},
|
|
323
323
|
p(c, p) {
|
|
324
324
|
n = c, p[0] & /*menuItems*/
|
|
@@ -332,7 +332,7 @@ function K(n) {
|
|
|
332
332
|
n[12] ? "PlayerAccountMenuActiveItemBox" : "")) && g(e, "class", P);
|
|
333
333
|
},
|
|
334
334
|
d(c) {
|
|
335
|
-
c &&
|
|
335
|
+
c && F(e), f = !1, M();
|
|
336
336
|
}
|
|
337
337
|
};
|
|
338
338
|
}
|
|
@@ -368,7 +368,7 @@ function Ee(n) {
|
|
|
368
368
|
), g(e, "class", "PlayerAccountLogOutArea");
|
|
369
369
|
},
|
|
370
370
|
m(l, i) {
|
|
371
|
-
|
|
371
|
+
L(l, e, i), a(e, t);
|
|
372
372
|
},
|
|
373
373
|
p(l, i) {
|
|
374
374
|
i[0] & /*endpoint*/
|
|
@@ -404,7 +404,7 @@ function Ee(n) {
|
|
|
404
404
|
);
|
|
405
405
|
},
|
|
406
406
|
d(l) {
|
|
407
|
-
l &&
|
|
407
|
+
l && F(e);
|
|
408
408
|
}
|
|
409
409
|
};
|
|
410
410
|
}
|
|
@@ -415,10 +415,10 @@ function Be(n) {
|
|
|
415
415
|
e = h("div"), e.innerHTML = '<ui-skeleton structure="title" width="30px" height="30px"></ui-skeleton> <ui-skeleton structure="text" width="150px" height="30px"></ui-skeleton>', g(e, "class", "PlayerAccountMenuCategoryWrapper");
|
|
416
416
|
},
|
|
417
417
|
m(t, l) {
|
|
418
|
-
|
|
418
|
+
L(t, e, l);
|
|
419
419
|
},
|
|
420
420
|
d(t) {
|
|
421
|
-
t &&
|
|
421
|
+
t && F(e);
|
|
422
422
|
}
|
|
423
423
|
};
|
|
424
424
|
}
|
|
@@ -429,10 +429,10 @@ function We(n) {
|
|
|
429
429
|
e = h("ui-skeleton"), m(e, "structure", "circle"), m(e, "size", "20px");
|
|
430
430
|
},
|
|
431
431
|
m(t, l) {
|
|
432
|
-
|
|
432
|
+
L(t, e, l);
|
|
433
433
|
},
|
|
434
434
|
d(t) {
|
|
435
|
-
t &&
|
|
435
|
+
t && F(e);
|
|
436
436
|
}
|
|
437
437
|
};
|
|
438
438
|
}
|
|
@@ -450,11 +450,11 @@ function Y(n) {
|
|
|
450
450
|
(n[12] ? "PlayerAccountItemWrapMobile" : ""));
|
|
451
451
|
},
|
|
452
452
|
m(y, A) {
|
|
453
|
-
|
|
453
|
+
L(y, e, A), s && s.m(e, null), a(e, t), a(e, l), a(e, i);
|
|
454
454
|
},
|
|
455
455
|
p: S,
|
|
456
456
|
d(y) {
|
|
457
|
-
y &&
|
|
457
|
+
y && F(e), s && s.d();
|
|
458
458
|
}
|
|
459
459
|
};
|
|
460
460
|
}
|
|
@@ -472,7 +472,7 @@ function He(n) {
|
|
|
472
472
|
e = h("div"), i.c();
|
|
473
473
|
},
|
|
474
474
|
m(s, y) {
|
|
475
|
-
|
|
475
|
+
L(s, e, y), i.m(e, null), n[26](e);
|
|
476
476
|
},
|
|
477
477
|
p(s, y) {
|
|
478
478
|
l === (l = t(s)) && i ? i.p(s, y) : (i.d(1), i = l(s), i && (i.c(), i.m(e, null)));
|
|
@@ -480,13 +480,13 @@ function He(n) {
|
|
|
480
480
|
i: S,
|
|
481
481
|
o: S,
|
|
482
482
|
d(s) {
|
|
483
|
-
s &&
|
|
483
|
+
s && F(e), i.d(), n[26](null);
|
|
484
484
|
}
|
|
485
485
|
};
|
|
486
486
|
}
|
|
487
487
|
function ze(n, e, t) {
|
|
488
488
|
let l;
|
|
489
|
-
|
|
489
|
+
he(n, xe, (o) => t(11, l = o));
|
|
490
490
|
let { endpoint: i = "" } = e, { cmsendpoint: s = "" } = e, { env: y = "" } = e, { session: A = "" } = e, { playerid: b = "" } = e, { lang: v = "en" } = e, { userroles: P = "" } = e, { clientstyling: f = "" } = e, { clientstylingurl: M = "" } = e, { translationurl: u = "" } = e, { activemenuitem: c = "" } = e, { mbsource: p } = e, r = !1, k = !1, d = !0, _, w = [], E, j = window.navigator.userAgent, ee = G(j) !== "PC", D = "", U = "";
|
|
491
491
|
const te = window.matchMedia("(min-width: 768px)"), ne = () => {
|
|
492
492
|
fetch(u).then((x) => x.json()).then((x) => {
|
|
@@ -549,12 +549,12 @@ function ze(n, e, t) {
|
|
|
549
549
|
}, ce = () => {
|
|
550
550
|
window.postMessage({ type: "GoToHomepage" }, window.location.href);
|
|
551
551
|
};
|
|
552
|
-
|
|
552
|
+
Ae(() => (window.addEventListener("message", R, !1), () => {
|
|
553
553
|
window.removeEventListener("message", R);
|
|
554
554
|
}));
|
|
555
555
|
const se = (o) => q(o);
|
|
556
556
|
function ue(o) {
|
|
557
|
-
|
|
557
|
+
be[o ? "unshift" : "push"](() => {
|
|
558
558
|
_ = o, t(5, _);
|
|
559
559
|
});
|
|
560
560
|
}
|
|
@@ -567,9 +567,9 @@ function ze(n, e, t) {
|
|
|
567
567
|
786435 && i && A && b && v && ae(), n.$$.dirty[0] & /*cmsendpoint, lang, env*/
|
|
568
568
|
720896 && s && v && y && oe(), n.$$.dirty[0] & /*activemenuitem*/
|
|
569
569
|
4194304 && c && N(), n.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
570
|
-
36 && f && _ &&
|
|
571
|
-
40 && M && _ &&
|
|
572
|
-
48 && p && _ &&
|
|
570
|
+
36 && f && _ && Me(_, f), n.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
571
|
+
40 && M && _ && we(_, M), n.$$.dirty[0] & /*mbsource, customStylingContainer*/
|
|
572
|
+
48 && p && _ && ve(_, `${p}.Style`), n.$$.dirty[0] & /*translationurl*/
|
|
573
573
|
2097152 && u && ne();
|
|
574
574
|
}, [
|
|
575
575
|
A,
|
|
@@ -608,7 +608,7 @@ class Se extends ge {
|
|
|
608
608
|
e,
|
|
609
609
|
ze,
|
|
610
610
|
He,
|
|
611
|
-
|
|
611
|
+
de,
|
|
612
612
|
{
|
|
613
613
|
endpoint: 1,
|
|
614
614
|
cmsendpoint: 16,
|
|
@@ -700,7 +700,7 @@ class Se extends ge {
|
|
|
700
700
|
this.$$set({ mbsource: e }), C();
|
|
701
701
|
}
|
|
702
702
|
}
|
|
703
|
-
|
|
703
|
+
_e(Se, { endpoint: {}, cmsendpoint: {}, env: {}, session: {}, playerid: {}, lang: {}, userroles: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, activemenuitem: {}, mbsource: {} }, [], [], !0);
|
|
704
704
|
export {
|
|
705
705
|
Se as default
|
|
706
706
|
};
|