@everymatrix/player-account-controller-nd 1.65.0 → 1.65.1
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-C6SVgUtg.js → GeneralLogout-D_LZ6noj.js} +874 -853
- package/components/GeneralLogout-Dzu2Sl-x.cjs +21 -0
- package/components/{GeneralLogout-DfKsCxwv.js → GeneralLogout-PryurO1h.js} +934 -913
- package/components/PlayerAccountBettingHistory-BtDZukYI.cjs +1 -0
- package/components/PlayerAccountBettingHistory-BzAXq1xX.js +329 -0
- package/components/PlayerAccountBettingHistory-CwTEYOIN.js +328 -0
- package/components/{PlayerAccountBiometrics-BYO39i9p.cjs → PlayerAccountBiometrics-CEEVheLt.cjs} +1 -1
- package/components/{PlayerAccountBiometrics-Kq_RsCQX.js → PlayerAccountBiometrics-CtLvJg_Q.js} +22 -22
- package/components/{PlayerAccountBiometrics-DkdsS2L0.js → PlayerAccountBiometrics-DIkqSnzX.js} +22 -22
- package/components/{PlayerAccountClosureNd-CKg9Baj3.cjs → PlayerAccountClosureNd-Cn1XZe_j.cjs} +1 -1
- package/components/{PlayerAccountClosureNd-BWwH10vQ.js → PlayerAccountClosureNd-DQAZanjf.js} +24 -24
- package/components/{PlayerAccountClosureNd-wAx9yEJc.js → PlayerAccountClosureNd-DrVdnKee.js} +24 -24
- package/components/{PlayerAccountControllerNd-D_A4CqYL.cjs → PlayerAccountControllerNd-CKctddtR.cjs} +1 -1
- package/components/{PlayerAccountControllerNd-DxnZLTok.js → PlayerAccountControllerNd-C_OCpw4E.js} +308 -308
- package/components/{PlayerAccountControllerNd-DRGcMfBR.js → PlayerAccountControllerNd-DkFB8p5R.js} +310 -310
- package/components/{PlayerAccountGamingLimits-holo1MMT.js → PlayerAccountGamingLimits-BwempsG_.js} +127 -127
- package/components/{PlayerAccountGamingLimits-DqESzYnB.js → PlayerAccountGamingLimits-C5fcaaR5.js} +127 -127
- package/components/{PlayerAccountGamingLimits-KgH8rpfi.cjs → PlayerAccountGamingLimits-DZBzKFyv.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsConfirmationModal-Bhw66Tfe.js → PlayerAccountGamingLimitsConfirmationModal-BzaZH1VM.js} +30 -30
- package/components/{PlayerAccountGamingLimitsConfirmationModal-B5DdL-Qq.cjs → PlayerAccountGamingLimitsConfirmationModal-CVJUvbSC.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsConfirmationModal-Dvenc_fN.js → PlayerAccountGamingLimitsConfirmationModal-CxFJV4Qq.js} +30 -30
- package/components/PlayerAccountGamingLimitsGroupEdit-BvnqlbPp.cjs +1 -0
- package/components/{PlayerAccountGamingLimitsGroupEdit-C_MVqJrM.js → PlayerAccountGamingLimitsGroupEdit-D0hqXEY4.js} +54 -56
- package/components/{PlayerAccountGamingLimitsGroupEdit-ieNo2cu3.js → PlayerAccountGamingLimitsGroupEdit-DVvwhjK6.js} +54 -56
- package/components/{PlayerAccountGamingLimitsHistory2Nd-D6VhX20D.js → PlayerAccountGamingLimitsHistory2Nd-DrMT268T.js} +192 -192
- package/components/{PlayerAccountGamingLimitsHistory2Nd-DFtdC_JJ.cjs → PlayerAccountGamingLimitsHistory2Nd-juZ45FBC.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsHistory2Nd-BYhgU7A1.js → PlayerAccountGamingLimitsHistory2Nd-p3iqTl1u.js} +199 -199
- package/components/{PlayerAccountGamingLimitsInfoCard-BkC1pEYB.js → PlayerAccountGamingLimitsInfoCard-BiYcxWjN.js} +83 -83
- package/components/{PlayerAccountGamingLimitsInfoCard-BTuHyEBL.cjs → PlayerAccountGamingLimitsInfoCard-DWbZBNtU.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsInfoCard-DYMLRkmw.js → PlayerAccountGamingLimitsInfoCard-dUq3DIBx.js} +83 -83
- package/components/{PlayerAccountGamingLimitsPage2Gm16Nd-D_-44uhs.js → PlayerAccountGamingLimitsPage2Gm16Nd-B3S3aE0o.js} +88 -88
- package/components/{PlayerAccountGamingLimitsPage2Gm16Nd-DYB6LvM1.cjs → PlayerAccountGamingLimitsPage2Gm16Nd-CWcAVks7.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsPage2Gm16Nd-BBfFDN-M.js → PlayerAccountGamingLimitsPage2Gm16Nd-HpGAoH_E.js} +88 -88
- package/components/{PlayerAccountGamingLimitsPopup-CBf5w2kb.js → PlayerAccountGamingLimitsPopup-B5CoTG_T.js} +42 -42
- package/components/{PlayerAccountGamingLimitsPopup-DySvpnhJ.cjs → PlayerAccountGamingLimitsPopup-CmNqLNxB.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsPopup-DS9FtNcO.js → PlayerAccountGamingLimitsPopup-CzDFUbRs.js} +42 -42
- package/components/{PlayerAccountGamingLimitsWrapper2Nd-jbKHBghb.js → PlayerAccountGamingLimitsWrapper2Nd-4ZYALP2a.js} +36 -36
- package/components/{PlayerAccountGamingLimitsWrapper2Nd-C0BdSozJ.cjs → PlayerAccountGamingLimitsWrapper2Nd-CErgPgvk.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsWrapper2Nd-Dzm9l83P.js → PlayerAccountGamingLimitsWrapper2Nd-fpNsXAyX.js} +36 -36
- package/components/{PlayerAccountGeneralConfirmationModal-Q91oIY0f.cjs → PlayerAccountGeneralConfirmationModal-BiNxgQbD.cjs} +1 -1
- package/components/{PlayerAccountGeneralConfirmationModal-B4Fy1vtG.js → PlayerAccountGeneralConfirmationModal-Byd2u6b9.js} +34 -34
- package/components/{PlayerAccountGeneralConfirmationModal-DMA5_Y_R.js → PlayerAccountGeneralConfirmationModal-C4zwKDdb.js} +34 -34
- package/components/{PlayerAccountMenuNd-DfYUoWLg.cjs → PlayerAccountMenuNd-BFdU3ZXb.cjs} +1 -1
- package/components/{PlayerAccountMenuNd-DMULzOU_.js → PlayerAccountMenuNd-Cs9UjL2S.js} +32 -32
- package/components/{PlayerAccountMenuNd-ktgntefw.js → PlayerAccountMenuNd-Cx7Fxjin.js} +29 -29
- package/components/{PlayerAccountModal-CGYPes0F.js → PlayerAccountModal-DHs1T-B4.js} +42 -42
- package/components/{PlayerAccountModal--0zxODF3.cjs → PlayerAccountModal-SsGlrcmj.cjs} +1 -1
- package/components/{PlayerAccountModal-VzSk1pK3.js → PlayerAccountModal-iZqtQZF3.js} +42 -42
- package/components/{PlayerAccountNotifications-ZlHcSMKn.js → PlayerAccountNotifications-BjAtYQls.js} +120 -120
- package/components/{PlayerAccountNotifications-CyIiR2OQ.js → PlayerAccountNotifications-bjLmyXO3.js} +35 -35
- package/components/{PlayerAccountNotifications-B29nfxe5.cjs → PlayerAccountNotifications-ejASOsrU.cjs} +1 -1
- package/components/{PlayerAccountSelfExclusionNd-D2RKtCoz.js → PlayerAccountSelfExclusionNd-Bp0d5NtF.js} +777 -773
- package/components/{PlayerAccountSelfExclusionNd-DcbJdmPf.js → PlayerAccountSelfExclusionNd-CeQNwGUh.js} +782 -778
- package/components/{PlayerAccountSelfExclusionNd-BcXmkWN5.cjs → PlayerAccountSelfExclusionNd-SQnudIeJ.cjs} +77 -77
- package/components/{PlayerAccountTimeout-AhPa2GAR.cjs → PlayerAccountTimeout-BJR8x6Ir.cjs} +1 -1
- package/components/{PlayerAccountTimeout-DYd8oHzz.js → PlayerAccountTimeout-CxUnQBuB.js} +74 -74
- package/components/{PlayerAccountTimeout-EEOciDvy.js → PlayerAccountTimeout-WxW7Vcfz.js} +74 -74
- package/components/{PlayerAccountTransactionsHistory-luOm9cLI.js → PlayerAccountTransactionsHistory-BvJ2fnPY.js} +2237 -2261
- package/components/{PlayerAccountTransactionsHistory-bBLXLKfh.cjs → PlayerAccountTransactionsHistory-DV6Lliwo.cjs} +202 -202
- package/components/{PlayerAccountTransactionsHistory-DTn6153M.js → PlayerAccountTransactionsHistory-weX9yWak.js} +2044 -2028
- package/components/{PlayerActiveBonuses-ysBH5Mf0.cjs → PlayerActiveBonuses-CVhSMdRf.cjs} +1 -1
- package/components/{PlayerActiveBonuses-CkHRSbaE.js → PlayerActiveBonuses-DbYy8R7L.js} +54 -54
- package/components/{PlayerActiveBonuses-KJx5ryn-.js → PlayerActiveBonuses-ednos3wt.js} +52 -52
- package/components/{PlayerBonusCard-B2CAV5ma.cjs → PlayerBonusCard-BNNcjGWn.cjs} +1 -1
- package/components/{PlayerBonusCard-9KhufIpY.js → PlayerBonusCard-C0Z6YeQL.js} +54 -54
- package/components/{PlayerBonusCard-C1O1skMO.js → PlayerBonusCard-CYnvLBMF.js} +54 -54
- package/components/{PlayerBonusHistory-Pyqm_-5W.js → PlayerBonusHistory-CM-gMjlY.js} +33 -33
- package/components/{PlayerBonusHistory-Bw07exWD.js → PlayerBonusHistory-DinAEUrx.js} +33 -33
- package/components/{PlayerBonusHistory-rsj0T9Fh.cjs → PlayerBonusHistory-DorlLTd1.cjs} +1 -1
- package/components/{PlayerChangePassword-DrC7TYG-.js → PlayerChangePassword-BcqVozRi.js} +54 -54
- package/components/{PlayerChangePassword-CdPJNADk.js → PlayerChangePassword-BeIHgM2j.js} +54 -54
- package/components/{PlayerChangePassword-CG0yyj8N.cjs → PlayerChangePassword-LgjKzYU1.cjs} +1 -1
- package/components/{PlayerDeposit-yFis4xl0.js → PlayerDeposit-CHnzNVZy.js} +80 -80
- package/components/PlayerDeposit-Dzg8Ltb1.cjs +1 -0
- package/components/{PlayerDeposit-BMWzlG2-.js → PlayerDeposit-N7o3ip4d.js} +80 -80
- package/components/{PlayerGamingHistory-BQusIfO4.js → PlayerGamingHistory-CbHSH7UQ.js} +83 -83
- package/components/{PlayerGamingHistory-wHrGUw_d.cjs → PlayerGamingHistory-D2D9wm2O.cjs} +1 -1
- package/components/{PlayerGamingHistory-5HKDsmu3.js → PlayerGamingHistory-pa7KWkEL.js} +84 -84
- package/components/{PlayerPendingWithdrawals-bL-txpqs.js → PlayerPendingWithdrawals-B2WyLuNV.js} +26 -26
- package/components/{PlayerPendingWithdrawals-CrNEhXdS.cjs → PlayerPendingWithdrawals-BMwtFNQT.cjs} +1 -1
- package/components/{PlayerPendingWithdrawals-DXDpNvc0.js → PlayerPendingWithdrawals-CRRuYNXr.js} +26 -26
- package/components/{PlayerProfileInfo-CtxoazNR.js → PlayerProfileInfo-8ER8t_W6.js} +140 -140
- package/components/{PlayerProfileInfo-6mDS69te.cjs → PlayerProfileInfo-D5YZWH2T.cjs} +2 -2
- package/components/{PlayerProfileInfo-BNiKul5r.js → PlayerProfileInfo-D6LqZyUL.js} +130 -130
- package/components/{PlayerRealityCheck-Ds04nfYK.cjs → PlayerRealityCheck-BrVF76qp.cjs} +1 -1
- package/components/{PlayerRealityCheck-D1YPRqrN.js → PlayerRealityCheck-C7EUl18t.js} +43 -43
- package/components/{PlayerRealityCheck-BMQN-vPH.js → PlayerRealityCheck-RsT9a67Q.js} +44 -44
- package/components/{PlayerTransactionHistory-CPYk3YFO.cjs → PlayerTransactionHistory-4VtQqLAc.cjs} +1 -1
- package/components/{PlayerTransactionHistory-BwMVf693.js → PlayerTransactionHistory-BQlWb-B9.js} +19 -19
- package/components/{PlayerTransactionHistory-CjiTH9aE.js → PlayerTransactionHistory-DyBRNwAw.js} +19 -19
- package/components/{PlayerWithdrawal-9DnL98EG.cjs → PlayerWithdrawal-BMLgaRLc.cjs} +1 -1
- package/components/{PlayerWithdrawal-BE8JBn_B.js → PlayerWithdrawal-C6_CSTeL.js} +19 -19
- package/components/{PlayerWithdrawal-JE73Z0UZ.js → PlayerWithdrawal-CgR0BwqA.js} +19 -19
- package/es2015/player-account-controller-nd.cjs +1 -1
- package/es2015/player-account-controller-nd.js +1 -1
- package/esnext/player-account-controller-nd.js +1 -1
- package/package.json +1 -1
- package/stencil/{checkbox-group-input_9-DxxBgpIV.js → checkbox-group-input_9-B_Jl5XYl.js} +11 -13
- package/stencil/{checkbox-group-input_9-xMMv-SfR.js → checkbox-group-input_9-BubdPaeo.js} +11 -13
- package/stencil/checkbox-group-input_9-BvAcuPzL.cjs +2 -0
- package/stencil/{general-input-CVjXxxqF.js → general-input-BRLohAp9.js} +1241 -1247
- package/stencil/{general-input-BcGIo_EB.cjs → general-input-BjwgkYic.cjs} +199 -199
- package/stencil/{general-input-B6lDYfSh.js → general-input-CZRDVuGV.js} +1243 -1249
- package/stencil/index-1ef3a64c-BNosNJnU.js +572 -0
- package/stencil/index-1ef3a64c-CFvPR_NP.cjs +1 -0
- package/stencil/index-1ef3a64c-DsTe-fF4.js +556 -0
- package/stencil/index-7c5e707a-C9R6jYpt.js +616 -0
- package/stencil/index-7c5e707a-DvxqcEpc.js +643 -0
- package/stencil/index-7c5e707a-ESX_oqGB.cjs +1 -0
- package/stencil/index-9c0f6c58-BNoMpTuB.js +576 -0
- package/stencil/index-9c0f6c58-DkHHwpww.cjs +1 -0
- package/stencil/{index-9c0f6c58-B0-civ7s.js → index-9c0f6c58-pr1WGVFu.js} +197 -197
- package/stencil/index-9cd44522-CbUzJsuK.js +610 -0
- package/stencil/index-9cd44522-NqpP4xs6.js +626 -0
- package/stencil/index-9cd44522-WdjpTA2U.cjs +1 -0
- package/stencil/index-b2193545-CnMZ4-Ff.js +519 -0
- package/stencil/index-b2193545-Ct5AhxM8.cjs +1 -0
- package/stencil/index-b2193545-DePry399.js +503 -0
- package/stencil/password-input_2-8BNshhaU.cjs +193 -0
- package/stencil/{password-input_2-CY6VCkNu.js → password-input_2-DIwo3oT2.js} +3 -3
- package/stencil/{password-input_2-CpFh-8sU.js → password-input_2-DhPkhv-D.js} +3 -3
- package/stencil/{player-change-password-gm2-5cb5c6c1-CjE8zFhv.js → player-change-password-gm2-5cb5c6c1-BsO6atoJ.js} +1 -1
- package/stencil/{player-change-password-gm2-5cb5c6c1-DGWK_k5e.js → player-change-password-gm2-5cb5c6c1-C0AlgHfx.js} +1 -1
- package/stencil/{player-change-password-gm2-5cb5c6c1-Ct7ATwPX.cjs → player-change-password-gm2-5cb5c6c1-ij_CKxBn.cjs} +1 -1
- package/stencil/{player-change-password-gm2-cmkXxbnh.js → player-change-password-gm2-ALHM57bi.js} +1 -1
- package/stencil/{player-change-password-gm2-Be8x3UTo.cjs → player-change-password-gm2-ZOlHswn0.cjs} +1 -1
- package/stencil/{player-change-password-gm2-CSuxaewE.js → player-change-password-gm2-bVKmVTiQ.js} +1 -1
- package/stencil/{player-kyc-verification-Dp9CHVsP.js → player-kyc-verification-CUhrMPde.js} +1 -1
- package/stencil/{player-kyc-verification-DVxMFMcR.cjs → player-kyc-verification-DAy-szI5.cjs} +1 -1
- package/stencil/{player-kyc-verification-COYo0JVK.js → player-kyc-verification-DPUx1txP.js} +1 -1
- package/stencil/toggle-checkbox-input-D3dpAI79.cjs +1 -0
- package/stencil/{toggle-checkbox-input-Dp48ZxWV.js → toggle-checkbox-input-LjmhdQte.js} +2 -2
- package/stencil/{toggle-checkbox-input-CgD7_GVW.js → toggle-checkbox-input-hUEi-Cj3.js} +2 -2
- package/stencil/{ui-skeleton-1cb75d00-yf8wpqiZ.js → ui-skeleton-1cb75d00-BI5A-j0y.js} +1 -1
- package/stencil/{ui-skeleton-1cb75d00-BVFyqHeR.cjs → ui-skeleton-1cb75d00-Batko5iK.cjs} +1 -1
- package/stencil/{ui-skeleton-1cb75d00-r2uxMI-v.js → ui-skeleton-1cb75d00-CwDKR1VD.js} +1 -1
- package/stencil/{ui-skeleton-CB3h08KY.js → ui-skeleton-C974aG7g.js} +2 -2
- package/stencil/{ui-skeleton-MSanR8Xu.js → ui-skeleton-DoX-UmRU.js} +2 -2
- package/stencil/{ui-skeleton-BQ87Vnrb.cjs → ui-skeleton-t0bb1jH7.cjs} +1 -1
- package/stencil/{user-deposit-withdrawal-BbYNbmTz.js → user-deposit-withdrawal-C7W58646.js} +1 -1
- package/stencil/{user-deposit-withdrawal-CIbBQQQO.cjs → user-deposit-withdrawal-Dfu_1g2v.cjs} +1 -1
- package/stencil/{user-deposit-withdrawal-3Ylq7hQR.js → user-deposit-withdrawal-Dzz_fEvK.js} +1 -1
- package/stencil/{user-transaction-history-BYaNkpQr.js → user-transaction-history-BAK7MHHa.js} +1 -1
- package/stencil/{user-transaction-history-a8uSzFHr.js → user-transaction-history-DhQ6RqNc.js} +1 -1
- package/stencil/{user-transaction-history-Bi_uuYtB.cjs → user-transaction-history-DiRXpfbN.cjs} +1 -1
- package/components/GeneralLogout-CwfC_imT.cjs +0 -21
- package/components/PlayerAccountBettingHistory-BLjgCtrb.js +0 -329
- package/components/PlayerAccountBettingHistory-CbA15BLO.cjs +0 -1
- package/components/PlayerAccountBettingHistory-CnZ39Cya.js +0 -328
- package/components/PlayerAccountGamingLimitsGroupEdit-gGxjSq2Z.cjs +0 -1
- package/components/PlayerDeposit-XDLH1XV-.cjs +0 -1
- package/stencil/checkbox-group-input_9-C_ozrjaU.cjs +0 -2
- package/stencil/index-1ef3a64c-BBHIxt0N.cjs +0 -1
- package/stencil/index-1ef3a64c-CbbXBr97.js +0 -556
- package/stencil/index-1ef3a64c-CccPLrQV.js +0 -572
- package/stencil/index-7c5e707a-BILXAqHK.js +0 -616
- package/stencil/index-7c5e707a-DtZaL7Yo.cjs +0 -1
- package/stencil/index-7c5e707a-wx5FQuxQ.js +0 -643
- package/stencil/index-9c0f6c58-CSS6f_hD.cjs +0 -1
- package/stencil/index-9c0f6c58-NYUdtsvS.js +0 -576
- package/stencil/index-9cd44522-BuEQFQdN.js +0 -610
- package/stencil/index-9cd44522-M89EFHLx.cjs +0 -1
- package/stencil/index-9cd44522-uVgth2NC.js +0 -626
- package/stencil/index-b2193545-COb51DfK.cjs +0 -1
- package/stencil/index-b2193545-CbIQaLIQ.js +0 -519
- package/stencil/index-b2193545-DQ1k9IU6.js +0 -503
- package/stencil/password-input_2-CcDWWiMF.cjs +0 -193
- package/stencil/toggle-checkbox-input-Bb8Pmo33.cjs +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as H, $ as J, S as K, i as Q,
|
|
1
|
+
import { a as H, $ as J, S as K, i as Q, s as V, f as v, b as X, H as Y, d as j, r as Z, I as $, J as ee, K as te, L as ne, M as oe, c as S, g as L, h as m, l as O, j as _, k as z, m as E, o as l, p as ie, q as re, u as ae, n as le, v as W, w as se, x as ce, y as me, z as fe, A as de, B as ue } from "./GeneralLogout-D_LZ6noj.js";
|
|
2
2
|
function N(n, e) {
|
|
3
3
|
H(n, e);
|
|
4
4
|
}
|
|
@@ -52,7 +52,7 @@ const P = {
|
|
|
52
52
|
}
|
|
53
53
|
};
|
|
54
54
|
function be(n) {
|
|
55
|
-
|
|
55
|
+
X(n, "svelte-s0xip8", '*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.GeneralConfirmationWrapper{position:fixed;top:0;right:0;bottom:0;left:0;background-color:var(--emw--color-background, rgba(0, 0, 0, 0.7));display:flex;justify-content:center;align-items:center;z-index:300;color:var(--emw--color-typography, #FFFFFF)}.GeneralConfirmationTitle{margin-bottom:20px}.GeneralConfirmationContainer{position:relative;background:linear-gradient(to right, var(--emw--color-primary-variant, #184026), var(--emw--color-secondary-variant, #013E5C));border:5px solid transparent;padding:60px 30px 30px;background-clip:padding-box;border-radius:var(--emw--border-radius-medium, 10px);text-align:center}.GeneralConfirmationContainer::before{content:"";position:absolute;top:-4px;left:-8px;width:103%;height:105%;z-index:-1;background:linear-gradient(to right, var(--emw--color-primary, #22B04E), color-mix(in srgb, var(--emw--color-secondary, #E98B0F) 80%, black 20%), #22B04E);opacity:0.5;border-radius:inherit;filter:blur(6px)}.GeneralConfirmationContainer::after{position:absolute;top:-4px;bottom:-4px;left:-4px;right:-4px;background:linear-gradient(to right, color-mix(in srgb, var(--emw--color-primary-variant, #184026) 80%, white 10%), color-mix(in srgb, var(--emw--color-secondary-variant, #013E5C) 80%, white 10%));content:"";z-index:-1;border-radius:var(--emw--border-radius-medium, 10px)}.GeneralConfirmationContainerMobile{padding:40px;max-width:330px}.GeneralConfirmationContainerMobile .GeneralConfirmationControlAreaMobile .GeneralCancelButton,.GeneralConfirmationContainerMobile .GeneralConfirmationControlAreaMobile .GeneralConfirmButton{width:120px;height:auto;font-size:var(--emw--font-size-x-small, 12px)}.GeneralConfirmationContent{font-size:var(--emw--font-size-medium, 18px);font-weight:300}.GeneralConfirmationControlArea{display:flex;gap:10px;direction:ltr;margin-top:30px}.GeneralConfirmationControlArea .GeneralCancelButton,.GeneralConfirmationControlArea .GeneralConfirmButton{flex:1;background:transparent;border:1px solid var(--emw--color-gray-100, #BFCBC3);color:var(--emw--color-gray-100, #BFCBC3);cursor:pointer;border-radius:var(--emw--button-border-radius, 50px);width:200px;height:50px;font-size:var(--emw--font-size-small, 16px);text-transform:uppercase;text-align:center;transition-duration:0.3s;box-sizing:border-box;padding:10px}.GeneralConfirmationControlArea .GeneralConfirmButton{background-color:var(--emw--color-primary, #22B04E);border:2px solid var(--emw--button-border-color, #063B17);border-radius:var(--emw--button-border-radius, 50px);color:var(--emw--button-typography, var(--emw--button-text-color, #FFFFFF))}.ModalCloseBtn{position:absolute;display:flex;align-items:center;justify-content:center;top:5px;right:5px;padding:8px;border-radius:50%;cursor:pointer;transition:all 150ms ease-in-out}.ModalCloseBtn svg{width:35px;height:40px}.ModalCloseBtn:hover{background:rgba(255, 255, 255, 0.2)}.GeneralConfirmationMobileWrapper{border:none;padding:0}');
|
|
56
56
|
}
|
|
57
57
|
const he = (n) => ({}), q = (n) => ({});
|
|
58
58
|
function Ce(n) {
|
|
@@ -62,11 +62,11 @@ function Ce(n) {
|
|
|
62
62
|
e = W("svg"), t = W("path"), l(t, "stroke-linecap", "round"), l(t, "stroke-linejoin", "round"), l(t, "stroke-width", "2"), l(t, "d", "M6 18L18 6M6 6l12 12"), l(e, "class", "w-6 h-6"), l(e, "fill", "none"), l(e, "stroke", "currentColor"), l(e, "viewBox", "0 0 24 24"), l(e, "xmlns", "http://www.w3.org/2000/svg");
|
|
63
63
|
},
|
|
64
64
|
m(r, s) {
|
|
65
|
-
|
|
65
|
+
L(r, e, s), m(e, t);
|
|
66
66
|
},
|
|
67
|
-
p:
|
|
67
|
+
p: le,
|
|
68
68
|
d(r) {
|
|
69
|
-
r &&
|
|
69
|
+
r && j(e);
|
|
70
70
|
}
|
|
71
71
|
};
|
|
72
72
|
}
|
|
@@ -74,24 +74,24 @@ function I(n) {
|
|
|
74
74
|
let e, t, r;
|
|
75
75
|
return {
|
|
76
76
|
c() {
|
|
77
|
-
e = _("div"), t = _("h2"), r =
|
|
77
|
+
e = _("div"), t = _("h2"), r = E(
|
|
78
78
|
/*modaltitle*/
|
|
79
79
|
n[1]
|
|
80
80
|
), l(e, "class", "GeneralConfirmationTitle");
|
|
81
81
|
},
|
|
82
82
|
m(s, d) {
|
|
83
|
-
|
|
83
|
+
L(s, e, d), m(e, t), m(t, r);
|
|
84
84
|
},
|
|
85
85
|
p(s, d) {
|
|
86
86
|
d & /*modaltitle*/
|
|
87
|
-
2 &&
|
|
87
|
+
2 && S(
|
|
88
88
|
r,
|
|
89
89
|
/*modaltitle*/
|
|
90
90
|
s[1]
|
|
91
91
|
);
|
|
92
92
|
},
|
|
93
93
|
d(s) {
|
|
94
|
-
s &&
|
|
94
|
+
s && j(e);
|
|
95
95
|
}
|
|
96
96
|
};
|
|
97
97
|
}
|
|
@@ -102,10 +102,10 @@ function R(n) {
|
|
|
102
102
|
), r, s, d;
|
|
103
103
|
return {
|
|
104
104
|
c() {
|
|
105
|
-
e = _("button"), r =
|
|
105
|
+
e = _("button"), r = E(t), l(e, "class", "GeneralCancelButton");
|
|
106
106
|
},
|
|
107
107
|
m(f, C) {
|
|
108
|
-
|
|
108
|
+
L(f, e, C), m(e, r), s || (d = O(
|
|
109
109
|
e,
|
|
110
110
|
"click",
|
|
111
111
|
/*click_handler*/
|
|
@@ -115,10 +115,10 @@ function R(n) {
|
|
|
115
115
|
p(f, C) {
|
|
116
116
|
C & /*$_*/
|
|
117
117
|
16 && t !== (t = /*$_*/
|
|
118
|
-
f[4]("cancel") + "") &&
|
|
118
|
+
f[4]("cancel") + "") && S(r, t);
|
|
119
119
|
},
|
|
120
120
|
d(f) {
|
|
121
|
-
f &&
|
|
121
|
+
f && j(e), s = !1, d();
|
|
122
122
|
}
|
|
123
123
|
};
|
|
124
124
|
}
|
|
@@ -130,7 +130,7 @@ function pe(n) {
|
|
|
130
130
|
const F = (
|
|
131
131
|
/*#slots*/
|
|
132
132
|
n[16].close
|
|
133
|
-
), M =
|
|
133
|
+
), M = Y(
|
|
134
134
|
F,
|
|
135
135
|
n,
|
|
136
136
|
/*$$scope*/
|
|
@@ -146,16 +146,16 @@ function pe(n) {
|
|
|
146
146
|
);
|
|
147
147
|
return {
|
|
148
148
|
c() {
|
|
149
|
-
e = _("div"), t = _("div"), r = _("span"), h && h.c(), s = z(), a && a.c(), d = z(), f = _("div"), C =
|
|
149
|
+
e = _("div"), t = _("div"), r = _("span"), h && h.c(), s = z(), a && a.c(), d = z(), f = _("div"), C = E(
|
|
150
150
|
/*modaltext*/
|
|
151
151
|
n[0]
|
|
152
|
-
), A = z(), g = _("div"), c && c.c(), y = z(), p = _("button"), k =
|
|
152
|
+
), A = z(), g = _("div"), c && c.c(), y = z(), p = _("button"), k = E(w), l(r, "class", "ModalCloseBtn"), l(r, "role", "button"), l(f, "class", "GeneralConfirmationContent"), l(p, "class", "GeneralConfirmButton"), l(g, "class", "GeneralConfirmationControlArea " + /*isMobile*/
|
|
153
153
|
(n[5] ? "GeneralConfirmationControlAreaMobile" : "")), l(t, "class", "GeneralConfirmationContainer " + /*isMobile*/
|
|
154
154
|
(n[5] ? "GeneralConfirmationContainerMobile" : "")), l(e, "class", "GeneralConfirmationWrapper " + /*isMobile*/
|
|
155
155
|
(n[5] ? "GeneralConfirmationMobileWrapper" : ""));
|
|
156
156
|
},
|
|
157
157
|
m(i, x) {
|
|
158
|
-
|
|
158
|
+
L(i, e, x), m(e, t), m(t, r), h && h.m(r, null), m(t, s), a && a.m(t, null), m(t, d), m(t, f), m(f, C), m(t, A), m(t, g), c && c.m(g, null), m(g, y), m(g, p), m(p, k), n[19](e), u = !0, G || (b = [
|
|
159
159
|
O(
|
|
160
160
|
r,
|
|
161
161
|
"click",
|
|
@@ -172,49 +172,49 @@ function pe(n) {
|
|
|
172
172
|
},
|
|
173
173
|
p(i, [x]) {
|
|
174
174
|
M && M.p && (!u || x & /*$$scope*/
|
|
175
|
-
32768) &&
|
|
175
|
+
32768) && te(
|
|
176
176
|
M,
|
|
177
177
|
F,
|
|
178
178
|
i,
|
|
179
179
|
/*$$scope*/
|
|
180
180
|
i[15],
|
|
181
|
-
u ?
|
|
181
|
+
u ? oe(
|
|
182
182
|
F,
|
|
183
183
|
/*$$scope*/
|
|
184
184
|
i[15],
|
|
185
185
|
x,
|
|
186
186
|
he
|
|
187
|
-
) :
|
|
187
|
+
) : ne(
|
|
188
188
|
/*$$scope*/
|
|
189
189
|
i[15]
|
|
190
190
|
),
|
|
191
191
|
q
|
|
192
192
|
), /*modaltitle*/
|
|
193
193
|
i[1] ? a ? a.p(i, x) : (a = I(i), a.c(), a.m(t, d)) : a && (a.d(1), a = null), (!u || x & /*modaltext*/
|
|
194
|
-
1) &&
|
|
194
|
+
1) && S(
|
|
195
195
|
C,
|
|
196
196
|
/*modaltext*/
|
|
197
197
|
i[0]
|
|
198
198
|
), /*hascancelbutton*/
|
|
199
199
|
i[2] ? c ? c.p(i, x) : (c = R(i), c.c(), c.m(g, y)) : c && (c.d(1), c = null), (!u || x & /*$_*/
|
|
200
200
|
16) && w !== (w = /*$_*/
|
|
201
|
-
i[4]("confirm") + "") &&
|
|
201
|
+
i[4]("confirm") + "") && S(k, w);
|
|
202
202
|
},
|
|
203
203
|
i(i) {
|
|
204
|
-
u || (
|
|
204
|
+
u || (ee(h, i), u = !0);
|
|
205
205
|
},
|
|
206
206
|
o(i) {
|
|
207
|
-
|
|
207
|
+
$(h, i), u = !1;
|
|
208
208
|
},
|
|
209
209
|
d(i) {
|
|
210
|
-
i &&
|
|
210
|
+
i && j(e), h && h.d(i), a && a.d(), c && c.d(), n[19](null), G = !1, Z(b);
|
|
211
211
|
}
|
|
212
212
|
};
|
|
213
213
|
}
|
|
214
214
|
function xe(n, e, t) {
|
|
215
215
|
let r;
|
|
216
|
-
|
|
217
|
-
let { $$slots: s = {}, $$scope: d } = e, { modaltext: f = "Are you sure that you want to perform this action?" } = e, { modaltitle: C = "" } = e, { hascancelbutton: A = !1 } = e, { modalconfirmevent: g = {} } = e, { modalcancelevent: y = {} } = e, { lang: p = "en" } = e, { clientstyling: w = "" } = e, { clientstylingurl: k = "" } = e, { translationurl: u = "" } = e, { mbsource: G } = e, b, F = window.navigator.userAgent, M =
|
|
216
|
+
ie(n, ue, (o) => t(4, r = o));
|
|
217
|
+
let { $$slots: s = {}, $$scope: d } = e, { modaltext: f = "Are you sure that you want to perform this action?" } = e, { modaltitle: C = "" } = e, { hascancelbutton: A = !1 } = e, { modalconfirmevent: g = {} } = e, { modalcancelevent: y = {} } = e, { lang: p = "en" } = e, { clientstyling: w = "" } = e, { clientstylingurl: k = "" } = e, { translationurl: u = "" } = e, { mbsource: G } = e, b, F = window.navigator.userAgent, M = re(F) !== "PC";
|
|
218
218
|
const h = () => {
|
|
219
219
|
window.postMessage({ type: "ModalClosed" }, window.location.href);
|
|
220
220
|
}, a = (o) => {
|
|
@@ -234,11 +234,11 @@ function xe(n, e, t) {
|
|
|
234
234
|
const i = () => {
|
|
235
235
|
ge(p);
|
|
236
236
|
};
|
|
237
|
-
|
|
237
|
+
ae(() => () => {
|
|
238
238
|
});
|
|
239
239
|
const x = () => a("cancel"), U = () => a("confirm");
|
|
240
240
|
function D(o) {
|
|
241
|
-
|
|
241
|
+
se[o ? "unshift" : "push"](() => {
|
|
242
242
|
b = o, t(3, b);
|
|
243
243
|
});
|
|
244
244
|
}
|
|
@@ -247,9 +247,9 @@ function xe(n, e, t) {
|
|
|
247
247
|
}, n.$$.update = () => {
|
|
248
248
|
n.$$.dirty & /*modaltext, lang*/
|
|
249
249
|
1025 && f && p && i(), n.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
250
|
-
2056 && w && b &&
|
|
251
|
-
4104 && k && b &&
|
|
252
|
-
16392 && G && b &&
|
|
250
|
+
2056 && w && b && ce(b, w), n.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
251
|
+
4104 && k && b && me(b, k), n.$$.dirty & /*mbsource, customStylingContainer*/
|
|
252
|
+
16392 && G && b && fe(b, `${G}.Style`), n.$$.dirty & /*translationurl*/
|
|
253
253
|
8192 && u && c();
|
|
254
254
|
}, [
|
|
255
255
|
f,
|
|
@@ -281,7 +281,7 @@ class ve extends K {
|
|
|
281
281
|
e,
|
|
282
282
|
xe,
|
|
283
283
|
pe,
|
|
284
|
-
|
|
284
|
+
V,
|
|
285
285
|
{
|
|
286
286
|
modaltext: 0,
|
|
287
287
|
modaltitle: 1,
|
|
@@ -358,7 +358,7 @@ class ve extends K {
|
|
|
358
358
|
this.$$set({ mbsource: e }), v();
|
|
359
359
|
}
|
|
360
360
|
}
|
|
361
|
-
|
|
361
|
+
de(ve, { modaltext: {}, modaltitle: {}, hascancelbutton: { type: "Boolean" }, modalconfirmevent: {}, modalcancelevent: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, ["close"], [], !0);
|
|
362
362
|
export {
|
|
363
363
|
ve as default
|
|
364
364
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./GeneralLogout-CwfC_imT.cjs");require("../stencil/ui-skeleton-BQ87Vnrb.cjs");function H(l,t){e.addMessages(l,t)}function K(l){e.$locale.set(l)}const W={en:{title:"My Account"},"zh-hk":{title:"我的帳戶"},fr:{title:"Mon compte"},tr:{title:"Hesabım"},ro:{title:"Contul meu"},es:{title:"Mi Cuenta"},pt:{title:"Minha Conta"},hr:{title:"Moj račun"},"pt-br":{title:"Minha conta"},"es-mx":{title:"Mi cuenta"},"en-us":{title:"My Account"}};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-CwfC_imT.cjs")).then(t=>t.GeneralLogout_ce).then(({default:t})=>{!customElements.get("general-logout")&&customElements.define("general-logout",t.element)})}function Q(l){e.append_styles(l,"svelte-j26xf8",'.PlayerAccountMenuContainer{background:var(--emw--color-primary, #184026);color:var(--emw--pam-typography-color-nav-bg, var(--emw--color-contrast, #FFFFFF));position:relative;height:100vh;display:flex;flex-direction:column;padding:0 15px;animation-name:fadeIn;animation-iteration-count:1;animation-timing-function:ease-in;animation-duration:0.3s}.PlayerAccountMenuContainer .PlayerAccountMenuItemWrapper{margin:0;word-break:break-all;display:flex;align-items:center}.PlayerAccountMenuContainer .PlayerAccountMenuItemWrapper span{display:flex;align-items:center}.PlayerAccountMenuContainer .skeletonLogOut{width:100%;border-radius:10px;overflow:hidden}.PlayerAccountMenuHeader{color:var(--emw--pam-typography-color-nav-bg, var(--emw--color-contrast, #FFFFFF));flex-grow:0;padding:30px 20px}.PlayerAccountMenuHeader .PlayerAccountMenuUser{margin-bottom:5px;font-size:var(--emw--font-size-large, 20px);color:var(--emw--pam-color-secondary, var(--emw--color-secondary, #E98B10))}.PlayerAccountMenuHeader .PlayerAccountMenuEmail{font-size:var(--emw--font-size-small, 14px);text-overflow:ellipsis;overflow:hidden}.PlayerAccountMenuHeader p{font-weight:300}.PlayerAccountMenuHeaderMobile{color:var(--emw--pam-typography-color-nav-bg, var(--emw--color-contrast, #FFFFFF))}.PlayerAccountMenuItemBox{padding:14px 20px;margin:2px 0;font-size:var(--emw--font-size-medium, 16px);line-height:16px;display:inline-flex;width:100%;box-sizing:border-box;align-items:center;border-radius:var(--emw--border-radius-medium, 10px);border:2px solid transparent;cursor:pointer;transition:all 0.3s linear}.PlayerAccountMenuItemBox:hover{transition:all 0.3s linear;background:rgba(35, 176, 78, 0.3);border:2px solid var(--emw--pam-color-primary, var(--emw--color-primary, #23B04E));border-radius:var(--emw--border-radius-medium, 10px);color:var(--emw--color-white, #FFFFFF)}.PlayerAccountMenuItemBox .PlayerAccountMenuItemTitle{margin-left:20px}.PlayerAccountMenuItemBox .PlayerAccountMenuItemIcon{width:20px;height:20px;padding-top:unset}.PlayerAccountMenuItemBox .PlayerAccountMenuItemIconMobile{width:30px;height:30px;padding-top:15px}.PlayerAccountMenuList::-webkit-scrollbar{width:6px}.PlayerAccountMenuList::-webkit-scrollbar-track{background:var(--emw--color-gray-300, #58586B)}.PlayerAccountMenuList::-webkit-scrollbar-thumb{background:var(--emw--color-gray-100, #E6E6E6)}.PlayerAccountItemWrap{display:flex;gap:20px;padding:16px 20px}.PlayerAccountItemWrap.PlayerAccountItemWrapMobile{padding:5px;width:100%;box-sizing:border-box}.PlayerAccountItemWrap ui-skeleton:last-child{flex:1}.PlayerAccountLogOutArea{background-color:rgba(253, 40, 57, 0.3);color:var(--emw--color-white, #FFFFFF);border-radius:var(--emw--border-radius-medium, 10px);width:100%;flex-grow:0}.PlayerAccountMenuActiveItemBox{background:rgba(35, 176, 78, 0.3);color:var(--emw--pam-color-primary, var(--emw--color-primary, #23B04E));border:2px solid var(--emw--pam-color-primary, var(--emw--color-primary, #23B04E));border-radius:var(--emw--border-radius-medium, 10px);transition:all 0.3s linear}.PlayerAccountMobileContainer{height:unset;padding:0}.PlayerAccountMobileContainer .PlayerAccountMenuCategoryWrapper{display:flex;align-items:center;gap:10px;margin-bottom:18px}.PlayerAccountMobileContainer .PlayerAccountMenuCategoryTitle{margin:0;font-weight:600}.PlayerAccountMobileContainer .PlayerAccountMenuItemTitle{margin-left:0;text-transform:capitalize;line-height:14px}.PlayerAccountMobileContainer .PlayerAccountMenuEmail{margin:0}.PlayerAccountMobileContainer .PlayerAccountMenuList{display:flex;flex-direction:column;align-items:flex-start;margin:0px 15px;min-height:900px}.PlayerAccountMobileContainer .PlayerAccountMenuList .PlayerAccountMenuItemBox{background:rgba(35, 176, 78, 0.3);color:var(--emw--pam-color-primary, var(--emw--color-primary, #23B04E));border:2px solid var(--emw--pam-color-primary, var(--emw--color-primary, #23B04E));border-radius:var(--emw--border-radius-medium, 10px);height:60px;margin:5px 0;align-items:flex-start;position:relative}.PlayerAccountMobileContainer .PlayerAccountMenuList .PlayerAccountMenuItemBox.PlayerAccountMenuActiveItemBox{background:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.PlayerAccountMobileContainer .PlayerAccountMenuList .PlayerAccountMenuItemBox .PlayerAccountMenuItemIcon{width:20px;padding:0 10px 0 15px}.PlayerAccountMobileContainer .PlayerAccountMenuList .PlayerAccountMenuItemBox::after{content:"";display:inline-block;width:15px;height:15px;background-image:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2215%22 height=%2215%22 viewBox=%220 0 15 15%22%3E%3Cdefs%3E%3Cstyle%3E.aaa%7Bfill:var(--emw--color-white,%20%23FFFFFF);%7D%3C/style%3E%3C/defs%3E%3Cg transform=%22translate(-20%20-158)%22%3E%3Cg transform=%22translate(20%20158)%22%3E%3Cpath class=%22aaa%22 d=%22M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z%22 transform=%22translate(15%2015)%20rotate(180)%22%3E%3C/path%3E%3C/g%3E%3C/g%3E%3C/svg%3E");background-size:contain;transform:scaleX(-1);background-repeat:no-repeat;position:absolute;right:15px;top:22px}.PlayerAccountMobileContainer .PlayerAccountMenuList .PlayerAccountMenuItemWrapper{display:flex;justify-items:center;align-items:center;flex-flow:row;gap:6px;position:absolute;top:0;bottom:0;left:0;right:0}.PlayerAccountMobileContainer .PlayerAccountMenuList .PlayerAccountMenuItemWrapper .PlayerAccountMenuItemTitle{font-size:var(--emw--font-size-medium, 16px);line-height:16px;font-weight:400;word-break:break-word;text-align:left;color:var(--emw--pam-typography-color-nav-bg, var(--emw--color-contrast, #FFFFFF))}.PlayerAccountMobileContainer .PlayerAccountLogOutArea{position:absolute;right:18px;top:56px;bottom:unset;background:transparent;width:48px;border-top:0}@keyframes fadeIn{0%{opacity:0.01}1%{opacity:0}50%{opacity:0}100%{opacity:1}}')}function T(l,t,n){const a=l.slice();return a[41]=t[n],a}function z(l,t,n){const a=l.slice();return a[38]=t[n],a}function Y(l){let t,n,a,i,c,m,f,_,A,y,h,b,u=l[12]&&ee(l),s=l[12]&&te(l),d=e.ensure_array_like(l[7]),o=[];for(let p=0;p<d.length;p+=1)o[p]=S(T(l,d,p));let v=!l[12]&&ne(l);return{c(){t=e.element("div"),n=e.element("div"),u&&u.c(),a=e.space(),i=e.element("p"),c=e.text(l[9]),m=e.space(),f=e.element("p"),_=e.text(l[10]),A=e.space(),s&&s.c(),y=e.space(),h=e.element("div");for(let p=0;p<o.length;p+=1)o[p].c();b=e.space(),v&&v.c(),e.attr(i,"class","PlayerAccountMenuUser"),e.attr(i,"translate","no"),e.attr(f,"class","PlayerAccountMenuEmail"),e.attr(f,"translate","no"),e.attr(n,"class","PlayerAccountMenuHeader "+(l[12]?"PlayerAccountMenuHeaderMobile":"")),e.attr(h,"class","PlayerAccountMenuList"),e.attr(t,"class","PlayerAccountMenuContainer "+(l[12]?"PlayerAccountMobileContainer":""))},m(p,w){e.insert(p,t,w),e.append(t,n),u&&u.m(n,null),e.append(n,a),e.append(n,i),e.append(i,c),e.append(n,m),e.append(n,f),e.append(f,_),e.append(n,A),s&&s.m(n,null),e.append(t,y),e.append(t,h);for(let g=0;g<o.length;g+=1)o[g]&&o[g].m(h,null);e.append(t,b),v&&v.m(t,null)},p(p,w){if(p[12]&&u.p(p,w),w[0]&512&&e.set_data(c,p[9]),w[0]&1024&&e.set_data(_,p[10]),p[12]&&s.p(p,w),w[0]&12672){d=e.ensure_array_like(p[7]);let g;for(g=0;g<d.length;g+=1){const x=T(p,d,g);o[g]?o[g].p(x,w):(o[g]=S(x),o[g].c(),o[g].m(h,null))}for(;g<o.length;g+=1)o[g].d(1);o.length=d.length}p[12]||v.p(p,w)},d(p){p&&e.detach(t),u&&u.d(),s&&s.d(),e.destroy_each(o,p),v&&v.d()}}}function $(l){let t,n,a,i,c,m,f,_,A,y,h=l[12]&&le(),b=e.ensure_array_like(Array(18)),u=[];for(let s=0;s<b.length;s+=1)u[s]=O(z(l,b,s));return{c(){t=e.element("div"),n=e.element("div"),h&&h.c(),a=e.space(),i=e.element("ui-skeleton"),c=e.space(),m=e.element("ui-skeleton"),f=e.space(),_=e.element("div");for(let s=0;s<u.length;s+=1)u[s].c();A=e.space(),y=e.element("div"),y.innerHTML='<ui-skeleton structure="rectangle" width="auto" height="60px"></ui-skeleton>',e.set_custom_element_data(i,"structure","title"),e.set_custom_element_data(i,"width","100px"),e.set_custom_element_data(i,"height","20px"),e.set_custom_element_data(i,"margin-top","20px"),e.set_custom_element_data(m,"structure","text"),e.set_custom_element_data(m,"width","200px"),e.set_custom_element_data(m,"height","20px"),e.attr(n,"class","PlayerAccountMenuHeader "+(l[12]?"PlayerAccountMenuHeaderMobile":"")),e.attr(_,"class","PlayerAccountMenuList"),e.attr(y,"class","skeletonLogOut"),e.attr(t,"class","PlayerAccountMenuContainer "+(l[12]?"PlayerAccountMobileContainer":""))},m(s,d){e.insert(s,t,d),e.append(t,n),h&&h.m(n,null),e.append(n,a),e.append(n,i),e.append(n,c),e.append(n,m),e.append(t,f),e.append(t,_);for(let o=0;o<u.length;o+=1)u[o]&&u[o].m(_,null);e.append(t,A),e.append(t,y)},p(s,d){if(d[0]&4096){b=e.ensure_array_like(Array(18));let o;for(o=0;o<b.length;o+=1){const v=z(s,b,o);u[o]?u[o].p(v,d):(u[o]=O(v),u[o].c(),u[o].m(_,null))}for(;o<u.length;o+=1)u[o].d(1);u.length=b.length}},d(s){s&&e.detach(t),h&&h.d(),e.destroy_each(u,s)}}}function ee(l){let t,n,a,i,c,m,f,_,A,y,h=l[11]("title")+"",b,u,s;return{c(){t=e.element("div"),n=e.svg_element("svg"),a=e.svg_element("defs"),i=e.svg_element("style"),c=e.text(".aaa{fill:var(--emw--color-white, #FFFFFF);}"),m=e.svg_element("g"),f=e.svg_element("g"),_=e.svg_element("path"),A=e.space(),y=e.element("h3"),b=e.text(h),e.attr(_,"class","aaa"),e.attr(_,"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(_,"transform","translate(15 15) rotate(180)"),e.attr(f,"transform","translate(20 158)"),e.attr(m,"transform","translate(-20 -158)"),e.attr(n,"xmlns","http://www.w3.org/2000/svg"),e.attr(n,"width","15"),e.attr(n,"height","15"),e.attr(n,"viewBox","0 0 15 15"),e.attr(y,"class","PlayerAccountMenuCategoryTitle"),e.attr(t,"class","PlayerAccountMenuCategoryWrapper")},m(d,o){e.insert(d,t,o),e.append(t,n),e.append(n,a),e.append(a,i),e.append(i,c),e.append(n,m),e.append(m,f),e.append(f,_),e.append(t,A),e.append(t,y),e.append(y,b),u||(s=[e.listen(n,"click",l[14]),e.listen(y,"click",l[14])],u=!0)},p(d,o){o[0]&2048&&h!==(h=d[11]("title")+"")&&e.set_data(b,h)},d(d){d&&e.detach(t),u=!1,e.run_all(s)}}}function te(l){let t,n;return{c(){t=e.element("div"),n=e.element("general-logout"),e.set_custom_element_data(n,"endpoint",l[1]),e.set_custom_element_data(n,"session",l[0]),e.set_custom_element_data(n,"buttonlocation","PlayerAccountMenu"),e.set_custom_element_data(n,"clientstyling",l[2]),e.set_custom_element_data(n,"clientstylingurl",l[3]),e.set_custom_element_data(n,"mbsource",l[4]),e.attr(t,"class","PlayerAccountLogOutArea")},m(a,i){e.insert(a,t,i),e.append(t,n)},p(a,i){i[0]&2&&e.set_custom_element_data(n,"endpoint",a[1]),i[0]&1&&e.set_custom_element_data(n,"session",a[0]),i[0]&4&&e.set_custom_element_data(n,"clientstyling",a[2]),i[0]&8&&e.set_custom_element_data(n,"clientstylingurl",a[3]),i[0]&16&&e.set_custom_element_data(n,"mbsource",a[4])},d(a){a&&e.detach(t)}}}function S(l){let t,n,a,i,c,m,f=l[41].label+"",_,A,y,h,b;function u(){return l[25](l[41])}return{c(){t=e.element("div"),n=e.element("p"),a=e.element("img"),c=e.space(),m=e.element("span"),_=e.text(f),A=e.space(),e.attr(a,"class","PlayerAccountMenuItemIcon "+(l[12]?"PlayerAccountMenuItemIconMobile":"")),e.src_url_equal(a.src,i=l[41].img)||e.attr(a,"src",i),e.attr(m,"class","PlayerAccountMenuItemTitle"),e.attr(n,"class","PlayerAccountMenuItemWrapper"),e.attr(t,"class",y="PlayerAccountMenuItemBox "+(l[8]===l[41].id&&!l[12]?"PlayerAccountMenuActiveItemBox":""))},m(s,d){e.insert(s,t,d),e.append(t,n),e.append(n,a),e.append(n,c),e.append(n,m),e.append(m,_),e.append(t,A),h||(b=e.listen(t,"click",u),h=!0)},p(s,d){l=s,d[0]&128&&!e.src_url_equal(a.src,i=l[41].img)&&e.attr(a,"src",i),d[0]&128&&f!==(f=l[41].label+"")&&e.set_data(_,f),d[0]&384&&y!==(y="PlayerAccountMenuItemBox "+(l[8]===l[41].id&&!l[12]?"PlayerAccountMenuActiveItemBox":""))&&e.attr(t,"class",y)},d(s){s&&e.detach(t),h=!1,b()}}}function ne(l){let t,n;return{c(){t=e.element("div"),n=e.element("general-logout"),e.set_custom_element_data(n,"endpoint",l[1]),e.set_custom_element_data(n,"session",l[0]),e.set_custom_element_data(n,"buttonlocation","PlayerAccountMenu"),e.set_custom_element_data(n,"clientstyling",l[2]),e.set_custom_element_data(n,"clientstylingurl",l[3]),e.set_custom_element_data(n,"mbsource",l[4]),e.attr(t,"class","PlayerAccountLogOutArea")},m(a,i){e.insert(a,t,i),e.append(t,n)},p(a,i){i[0]&2&&e.set_custom_element_data(n,"endpoint",a[1]),i[0]&1&&e.set_custom_element_data(n,"session",a[0]),i[0]&4&&e.set_custom_element_data(n,"clientstyling",a[2]),i[0]&8&&e.set_custom_element_data(n,"clientstylingurl",a[3]),i[0]&16&&e.set_custom_element_data(n,"mbsource",a[4])},d(a){a&&e.detach(t)}}}function le(l){let t;return{c(){t=e.element("div"),t.innerHTML='<ui-skeleton structure="title" width="30px" height="40px"></ui-skeleton> <ui-skeleton structure="text" width="150px" height="40px"></ui-skeleton>',e.attr(t,"class","PlayerAccountMenuCategoryWrapper")},m(n,a){e.insert(n,t,a)},d(n){n&&e.detach(t)}}}function ae(l){let t;return{c(){t=e.element("ui-skeleton"),e.set_custom_element_data(t,"structure","circle"),e.set_custom_element_data(t,"size","20px")},m(n,a){e.insert(n,t,a)},d(n){n&&e.detach(t)}}}function O(l){let t,n,a,i,c=!l[12]&&ae();return{c(){t=e.element("div"),c&&c.c(),n=e.space(),a=e.element("ui-skeleton"),i=e.space(),e.set_custom_element_data(a,"structure","rectangle"),e.set_custom_element_data(a,"width","100%"),e.set_custom_element_data(a,"height",l[12]?"60px":"20px"),e.attr(t,"class","PlayerAccountItemWrap "+(l[12]?"PlayerAccountItemWrapMobile":""))},m(m,f){e.insert(m,t,f),c&&c.m(t,null),e.append(t,n),e.append(t,a),e.append(t,i)},p:e.noop,d(m){m&&e.detach(t),c&&c.d()}}}function re(l){let t;function n(c,m){return c[6]?$:Y}let a=n(l),i=a(l);return{c(){t=e.element("div"),i.c()},m(c,m){e.insert(c,t,m),i.m(t,null),l[26](t)},p(c,m){a===(a=n(c))&&i?i.p(c,m):(i.d(1),i=a(c),i&&(i.c(),i.m(t,null)))},i:e.noop,o:e.noop,d(c){c&&e.detach(t),i.d(),l[26](null)}}}function ie(l,t,n){let a;e.component_subscribe(l,e.$format,r=>n(11,a=r));let{endpoint:i=""}=t,{cmsendpoint:c=""}=t,{env:m=""}=t,{session:f=""}=t,{playerid:_=""}=t,{lang:A="en"}=t,{selecteditem:y=""}=t,{userroles:h=""}=t,{clientstyling:b=""}=t,{clientstylingurl:u=""}=t,{mbsource:s}=t,{translationurl:d=""}=t,{activemenuitem:o=""}=t,v=!1,p=!1,w=!0,g,x=[],k,I=window.navigator.userAgent,D=e.getDevice(I)!=="PC",C="",F="";window.matchMedia("(min-width: 768px)");const U=()=>{fetch(d).then(M=>M.json()).then(M=>{Object.keys(M).forEach(P=>{H(P,M[P])})}).catch(M=>{console.error(M)})};Object.keys(W).forEach(r=>{H(r,W[r])});const E=r=>{if(r.data)switch(r.data.type){case"AccountMenuDetails":availableMenuItemsArray=r.data.accountMenuInfo;break;case"UserSessionID":n(0,f=r.data.session);break}},q=()=>{let r=e.getDevice(I);if(r)return r==="PC"?"dk":"mtWeb"},R=()=>{const r=new URL(`${c}/${A}/profile-menu?env=${m}`);r.searchParams.append("device",q()),fetch(r.href).then(M=>M.json()).then(M=>{n(7,x=M),B()}).catch(M=>{console.error("Error getting menu items",M)}).finally(()=>{n(23,v=!0)})},G=()=>{let r=new URL(`${i}/v1/player/${_}/profile`);r.searchParams.append("userRoles",h);let M={method:"GET",headers:{"X-SessionID":f}};fetch(r.href,M).then(P=>P.json()).then(P=>{n(9,C=P.username),n(10,F=P.email)},P=>{console.error(P)}).finally(()=>{n(24,p=!0)})},L=r=>{window.postMessage({type:"ChangeAccountPage",page:r},window.location.href),n(8,k=r.id)},B=()=>{var r;n(8,k=(r=x.find(M=>M.path.includes(o)))==null?void 0:r.id)},N=()=>{window.postMessage({type:"GoToHomepage"},window.location.href)},V=()=>{K(A)},X=()=>{G()};e.onMount(()=>(window.addEventListener("message",E,!1),()=>{window.removeEventListener("message",E)}));const Z=r=>L(r);function J(r){e.binding_callbacks[r?"unshift":"push"](()=>{g=r,n(5,g)})}return l.$$set=r=>{"endpoint"in r&&n(1,i=r.endpoint),"cmsendpoint"in r&&n(15,c=r.cmsendpoint),"env"in r&&n(16,m=r.env),"session"in r&&n(0,f=r.session),"playerid"in r&&n(17,_=r.playerid),"lang"in r&&n(18,A=r.lang),"selecteditem"in r&&n(19,y=r.selecteditem),"userroles"in r&&n(20,h=r.userroles),"clientstyling"in r&&n(2,b=r.clientstyling),"clientstylingurl"in r&&n(3,u=r.clientstylingurl),"mbsource"in r&&n(4,s=r.mbsource),"translationurl"in r&&n(21,d=r.translationurl),"activemenuitem"in r&&n(22,o=r.activemenuitem)},l.$$.update=()=>{l.$$.dirty[0]&25165824&&n(6,w=!v||!p),l.$$.dirty[0]&262144&&A&&V(),l.$$.dirty[0]&393219&&i&&f&&_&&A&&X(),l.$$.dirty[0]&360448&&c&&A&&m&&R(),l.$$.dirty[0]&4194304&&o&&B(),l.$$.dirty[0]&36&&b&&g&&e.setClientStyling(g,b),l.$$.dirty[0]&40&&u&&g&&e.setClientStylingURL(g,u),l.$$.dirty[0]&48&&s&&g&&e.setStreamStyling(g,`${s}.Style`),l.$$.dirty[0]&2097152&&d&&U()},[f,i,b,u,s,g,w,x,k,C,F,a,D,L,N,c,m,_,A,y,h,d,o,v,p,Z,J]}class j extends e.SvelteComponent{constructor(t){super(),e.init(this,t,ie,re,e.safe_not_equal,{endpoint:1,cmsendpoint:15,env:16,session:0,playerid:17,lang:18,selecteditem:19,userroles:20,clientstyling:2,clientstylingurl:3,mbsource:4,translationurl:21,activemenuitem:22},Q,[-1,-1])}get endpoint(){return this.$$.ctx[1]}set endpoint(t){this.$$set({endpoint:t}),e.flush()}get cmsendpoint(){return this.$$.ctx[15]}set cmsendpoint(t){this.$$set({cmsendpoint:t}),e.flush()}get env(){return this.$$.ctx[16]}set env(t){this.$$set({env:t}),e.flush()}get session(){return this.$$.ctx[0]}set session(t){this.$$set({session:t}),e.flush()}get playerid(){return this.$$.ctx[17]}set playerid(t){this.$$set({playerid:t}),e.flush()}get lang(){return this.$$.ctx[18]}set lang(t){this.$$set({lang:t}),e.flush()}get selecteditem(){return this.$$.ctx[19]}set selecteditem(t){this.$$set({selecteditem:t}),e.flush()}get userroles(){return this.$$.ctx[20]}set userroles(t){this.$$set({userroles:t}),e.flush()}get clientstyling(){return this.$$.ctx[2]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[3]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get mbsource(){return this.$$.ctx[4]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}get translationurl(){return this.$$.ctx[21]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}get activemenuitem(){return this.$$.ctx[22]}set activemenuitem(t){this.$$set({activemenuitem:t}),e.flush()}}e.create_custom_element(j,{endpoint:{},cmsendpoint:{},env:{},session:{},playerid:{},lang:{},selecteditem:{},userroles:{},clientstyling:{},clientstylingurl:{},mbsource:{},translationurl:{},activemenuitem:{}},[],[],!0);exports.default=j;
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./GeneralLogout-Dzu2Sl-x.cjs");require("../stencil/ui-skeleton-t0bb1jH7.cjs");function H(l,t){e.addMessages(l,t)}function K(l){e.$locale.set(l)}const W={en:{title:"My Account"},"zh-hk":{title:"我的帳戶"},fr:{title:"Mon compte"},tr:{title:"Hesabım"},ro:{title:"Contul meu"},es:{title:"Mi Cuenta"},pt:{title:"Minha Conta"},hr:{title:"Moj račun"},"pt-br":{title:"Minha conta"},"es-mx":{title:"Mi cuenta"},"en-us":{title:"My Account"}};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-Dzu2Sl-x.cjs")).then(t=>t.GeneralLogout_ce).then(({default:t})=>{!customElements.get("general-logout")&&customElements.define("general-logout",t.element)})}function Q(l){e.append_styles(l,"svelte-j26xf8",'.PlayerAccountMenuContainer{background:var(--emw--color-primary, #184026);color:var(--emw--pam-typography-color-nav-bg, var(--emw--color-contrast, #FFFFFF));position:relative;height:100vh;display:flex;flex-direction:column;padding:0 15px;animation-name:fadeIn;animation-iteration-count:1;animation-timing-function:ease-in;animation-duration:0.3s}.PlayerAccountMenuContainer .PlayerAccountMenuItemWrapper{margin:0;word-break:break-all;display:flex;align-items:center}.PlayerAccountMenuContainer .PlayerAccountMenuItemWrapper span{display:flex;align-items:center}.PlayerAccountMenuContainer .skeletonLogOut{width:100%;border-radius:10px;overflow:hidden}.PlayerAccountMenuHeader{color:var(--emw--pam-typography-color-nav-bg, var(--emw--color-contrast, #FFFFFF));flex-grow:0;padding:30px 20px}.PlayerAccountMenuHeader .PlayerAccountMenuUser{margin-bottom:5px;font-size:var(--emw--font-size-large, 20px);color:var(--emw--pam-color-secondary, var(--emw--color-secondary, #E98B10))}.PlayerAccountMenuHeader .PlayerAccountMenuEmail{font-size:var(--emw--font-size-small, 14px);text-overflow:ellipsis;overflow:hidden}.PlayerAccountMenuHeader p{font-weight:300}.PlayerAccountMenuHeaderMobile{color:var(--emw--pam-typography-color-nav-bg, var(--emw--color-contrast, #FFFFFF))}.PlayerAccountMenuItemBox{padding:14px 20px;margin:2px 0;font-size:var(--emw--font-size-medium, 16px);line-height:16px;display:inline-flex;width:100%;box-sizing:border-box;align-items:center;border-radius:var(--emw--border-radius-medium, 10px);border:2px solid transparent;cursor:pointer;transition:all 0.3s linear}.PlayerAccountMenuItemBox:hover{transition:all 0.3s linear;background:rgba(35, 176, 78, 0.3);border:2px solid var(--emw--pam-color-primary, var(--emw--color-primary, #23B04E));border-radius:var(--emw--border-radius-medium, 10px);color:var(--emw--color-white, #FFFFFF)}.PlayerAccountMenuItemBox .PlayerAccountMenuItemTitle{margin-left:20px}.PlayerAccountMenuItemBox .PlayerAccountMenuItemIcon{width:20px;height:20px;padding-top:unset}.PlayerAccountMenuItemBox .PlayerAccountMenuItemIconMobile{width:30px;height:30px;padding-top:15px}.PlayerAccountMenuList::-webkit-scrollbar{width:6px}.PlayerAccountMenuList::-webkit-scrollbar-track{background:var(--emw--color-gray-300, #58586B)}.PlayerAccountMenuList::-webkit-scrollbar-thumb{background:var(--emw--color-gray-100, #E6E6E6)}.PlayerAccountItemWrap{display:flex;gap:20px;padding:16px 20px}.PlayerAccountItemWrap.PlayerAccountItemWrapMobile{padding:5px;width:100%;box-sizing:border-box}.PlayerAccountItemWrap ui-skeleton:last-child{flex:1}.PlayerAccountLogOutArea{background-color:rgba(253, 40, 57, 0.3);color:var(--emw--color-white, #FFFFFF);border-radius:var(--emw--border-radius-medium, 10px);width:100%;flex-grow:0}.PlayerAccountMenuActiveItemBox{background:rgba(35, 176, 78, 0.3);color:var(--emw--pam-color-primary, var(--emw--color-primary, #23B04E));border:2px solid var(--emw--pam-color-primary, var(--emw--color-primary, #23B04E));border-radius:var(--emw--border-radius-medium, 10px);transition:all 0.3s linear}.PlayerAccountMobileContainer{height:unset;padding:0}.PlayerAccountMobileContainer .PlayerAccountMenuCategoryWrapper{display:flex;align-items:center;gap:10px;margin-bottom:18px}.PlayerAccountMobileContainer .PlayerAccountMenuCategoryTitle{margin:0;font-weight:600}.PlayerAccountMobileContainer .PlayerAccountMenuItemTitle{margin-left:0;text-transform:capitalize;line-height:14px}.PlayerAccountMobileContainer .PlayerAccountMenuEmail{margin:0}.PlayerAccountMobileContainer .PlayerAccountMenuList{display:flex;flex-direction:column;align-items:flex-start;margin:0px 15px;min-height:900px}.PlayerAccountMobileContainer .PlayerAccountMenuList .PlayerAccountMenuItemBox{background:rgba(35, 176, 78, 0.3);color:var(--emw--pam-color-primary, var(--emw--color-primary, #23B04E));border:2px solid var(--emw--pam-color-primary, var(--emw--color-primary, #23B04E));border-radius:var(--emw--border-radius-medium, 10px);height:60px;margin:5px 0;align-items:flex-start;position:relative}.PlayerAccountMobileContainer .PlayerAccountMenuList .PlayerAccountMenuItemBox.PlayerAccountMenuActiveItemBox{background:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.PlayerAccountMobileContainer .PlayerAccountMenuList .PlayerAccountMenuItemBox .PlayerAccountMenuItemIcon{width:20px;padding:0 10px 0 15px}.PlayerAccountMobileContainer .PlayerAccountMenuList .PlayerAccountMenuItemBox::after{content:"";display:inline-block;width:15px;height:15px;background-image:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2215%22 height=%2215%22 viewBox=%220 0 15 15%22%3E%3Cdefs%3E%3Cstyle%3E.aaa%7Bfill:var(--emw--color-white,%20%23FFFFFF);%7D%3C/style%3E%3C/defs%3E%3Cg transform=%22translate(-20%20-158)%22%3E%3Cg transform=%22translate(20%20158)%22%3E%3Cpath class=%22aaa%22 d=%22M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z%22 transform=%22translate(15%2015)%20rotate(180)%22%3E%3C/path%3E%3C/g%3E%3C/g%3E%3C/svg%3E");background-size:contain;transform:scaleX(-1);background-repeat:no-repeat;position:absolute;right:15px;top:22px}.PlayerAccountMobileContainer .PlayerAccountMenuList .PlayerAccountMenuItemWrapper{display:flex;justify-items:center;align-items:center;flex-flow:row;gap:6px;position:absolute;top:0;bottom:0;left:0;right:0}.PlayerAccountMobileContainer .PlayerAccountMenuList .PlayerAccountMenuItemWrapper .PlayerAccountMenuItemTitle{font-size:var(--emw--font-size-medium, 16px);line-height:16px;font-weight:400;word-break:break-word;text-align:left;color:var(--emw--pam-typography-color-nav-bg, var(--emw--color-contrast, #FFFFFF))}.PlayerAccountMobileContainer .PlayerAccountLogOutArea{position:absolute;right:18px;top:56px;bottom:unset;background:transparent;width:48px;border-top:0}@keyframes fadeIn{0%{opacity:0.01}1%{opacity:0}50%{opacity:0}100%{opacity:1}}')}function T(l,t,n){const a=l.slice();return a[41]=t[n],a}function z(l,t,n){const a=l.slice();return a[38]=t[n],a}function Y(l){let t,n,a,i,c,m,f,_,A,y,h,b,u=l[12]&&ee(l),s=l[12]&&te(l),d=e.ensure_array_like(l[7]),o=[];for(let p=0;p<d.length;p+=1)o[p]=S(T(l,d,p));let v=!l[12]&&ne(l);return{c(){t=e.element("div"),n=e.element("div"),u&&u.c(),a=e.space(),i=e.element("p"),c=e.text(l[9]),m=e.space(),f=e.element("p"),_=e.text(l[10]),A=e.space(),s&&s.c(),y=e.space(),h=e.element("div");for(let p=0;p<o.length;p+=1)o[p].c();b=e.space(),v&&v.c(),e.attr(i,"class","PlayerAccountMenuUser"),e.attr(i,"translate","no"),e.attr(f,"class","PlayerAccountMenuEmail"),e.attr(f,"translate","no"),e.attr(n,"class","PlayerAccountMenuHeader "+(l[12]?"PlayerAccountMenuHeaderMobile":"")),e.attr(h,"class","PlayerAccountMenuList"),e.attr(t,"class","PlayerAccountMenuContainer "+(l[12]?"PlayerAccountMobileContainer":""))},m(p,w){e.insert(p,t,w),e.append(t,n),u&&u.m(n,null),e.append(n,a),e.append(n,i),e.append(i,c),e.append(n,m),e.append(n,f),e.append(f,_),e.append(n,A),s&&s.m(n,null),e.append(t,y),e.append(t,h);for(let g=0;g<o.length;g+=1)o[g]&&o[g].m(h,null);e.append(t,b),v&&v.m(t,null)},p(p,w){if(p[12]&&u.p(p,w),w[0]&512&&e.set_data(c,p[9]),w[0]&1024&&e.set_data(_,p[10]),p[12]&&s.p(p,w),w[0]&12672){d=e.ensure_array_like(p[7]);let g;for(g=0;g<d.length;g+=1){const x=T(p,d,g);o[g]?o[g].p(x,w):(o[g]=S(x),o[g].c(),o[g].m(h,null))}for(;g<o.length;g+=1)o[g].d(1);o.length=d.length}p[12]||v.p(p,w)},d(p){p&&e.detach(t),u&&u.d(),s&&s.d(),e.destroy_each(o,p),v&&v.d()}}}function $(l){let t,n,a,i,c,m,f,_,A,y,h=l[12]&&le(),b=e.ensure_array_like(Array(18)),u=[];for(let s=0;s<b.length;s+=1)u[s]=O(z(l,b,s));return{c(){t=e.element("div"),n=e.element("div"),h&&h.c(),a=e.space(),i=e.element("ui-skeleton"),c=e.space(),m=e.element("ui-skeleton"),f=e.space(),_=e.element("div");for(let s=0;s<u.length;s+=1)u[s].c();A=e.space(),y=e.element("div"),y.innerHTML='<ui-skeleton structure="rectangle" width="auto" height="60px"></ui-skeleton>',e.set_custom_element_data(i,"structure","title"),e.set_custom_element_data(i,"width","100px"),e.set_custom_element_data(i,"height","20px"),e.set_custom_element_data(i,"margin-top","20px"),e.set_custom_element_data(m,"structure","text"),e.set_custom_element_data(m,"width","200px"),e.set_custom_element_data(m,"height","20px"),e.attr(n,"class","PlayerAccountMenuHeader "+(l[12]?"PlayerAccountMenuHeaderMobile":"")),e.attr(_,"class","PlayerAccountMenuList"),e.attr(y,"class","skeletonLogOut"),e.attr(t,"class","PlayerAccountMenuContainer "+(l[12]?"PlayerAccountMobileContainer":""))},m(s,d){e.insert(s,t,d),e.append(t,n),h&&h.m(n,null),e.append(n,a),e.append(n,i),e.append(n,c),e.append(n,m),e.append(t,f),e.append(t,_);for(let o=0;o<u.length;o+=1)u[o]&&u[o].m(_,null);e.append(t,A),e.append(t,y)},p(s,d){if(d[0]&4096){b=e.ensure_array_like(Array(18));let o;for(o=0;o<b.length;o+=1){const v=z(s,b,o);u[o]?u[o].p(v,d):(u[o]=O(v),u[o].c(),u[o].m(_,null))}for(;o<u.length;o+=1)u[o].d(1);u.length=b.length}},d(s){s&&e.detach(t),h&&h.d(),e.destroy_each(u,s)}}}function ee(l){let t,n,a,i,c,m,f,_,A,y,h=l[11]("title")+"",b,u,s;return{c(){t=e.element("div"),n=e.svg_element("svg"),a=e.svg_element("defs"),i=e.svg_element("style"),c=e.text(".aaa{fill:var(--emw--color-white, #FFFFFF);}"),m=e.svg_element("g"),f=e.svg_element("g"),_=e.svg_element("path"),A=e.space(),y=e.element("h3"),b=e.text(h),e.attr(_,"class","aaa"),e.attr(_,"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(_,"transform","translate(15 15) rotate(180)"),e.attr(f,"transform","translate(20 158)"),e.attr(m,"transform","translate(-20 -158)"),e.attr(n,"xmlns","http://www.w3.org/2000/svg"),e.attr(n,"width","15"),e.attr(n,"height","15"),e.attr(n,"viewBox","0 0 15 15"),e.attr(y,"class","PlayerAccountMenuCategoryTitle"),e.attr(t,"class","PlayerAccountMenuCategoryWrapper")},m(d,o){e.insert(d,t,o),e.append(t,n),e.append(n,a),e.append(a,i),e.append(i,c),e.append(n,m),e.append(m,f),e.append(f,_),e.append(t,A),e.append(t,y),e.append(y,b),u||(s=[e.listen(n,"click",l[14]),e.listen(y,"click",l[14])],u=!0)},p(d,o){o[0]&2048&&h!==(h=d[11]("title")+"")&&e.set_data(b,h)},d(d){d&&e.detach(t),u=!1,e.run_all(s)}}}function te(l){let t,n;return{c(){t=e.element("div"),n=e.element("general-logout"),e.set_custom_element_data(n,"endpoint",l[1]),e.set_custom_element_data(n,"session",l[0]),e.set_custom_element_data(n,"buttonlocation","PlayerAccountMenu"),e.set_custom_element_data(n,"clientstyling",l[2]),e.set_custom_element_data(n,"clientstylingurl",l[3]),e.set_custom_element_data(n,"mbsource",l[4]),e.attr(t,"class","PlayerAccountLogOutArea")},m(a,i){e.insert(a,t,i),e.append(t,n)},p(a,i){i[0]&2&&e.set_custom_element_data(n,"endpoint",a[1]),i[0]&1&&e.set_custom_element_data(n,"session",a[0]),i[0]&4&&e.set_custom_element_data(n,"clientstyling",a[2]),i[0]&8&&e.set_custom_element_data(n,"clientstylingurl",a[3]),i[0]&16&&e.set_custom_element_data(n,"mbsource",a[4])},d(a){a&&e.detach(t)}}}function S(l){let t,n,a,i,c,m,f=l[41].label+"",_,A,y,h,b;function u(){return l[25](l[41])}return{c(){t=e.element("div"),n=e.element("p"),a=e.element("img"),c=e.space(),m=e.element("span"),_=e.text(f),A=e.space(),e.attr(a,"class","PlayerAccountMenuItemIcon "+(l[12]?"PlayerAccountMenuItemIconMobile":"")),e.src_url_equal(a.src,i=l[41].img)||e.attr(a,"src",i),e.attr(m,"class","PlayerAccountMenuItemTitle"),e.attr(n,"class","PlayerAccountMenuItemWrapper"),e.attr(t,"class",y="PlayerAccountMenuItemBox "+(l[8]===l[41].id&&!l[12]?"PlayerAccountMenuActiveItemBox":""))},m(s,d){e.insert(s,t,d),e.append(t,n),e.append(n,a),e.append(n,c),e.append(n,m),e.append(m,_),e.append(t,A),h||(b=e.listen(t,"click",u),h=!0)},p(s,d){l=s,d[0]&128&&!e.src_url_equal(a.src,i=l[41].img)&&e.attr(a,"src",i),d[0]&128&&f!==(f=l[41].label+"")&&e.set_data(_,f),d[0]&384&&y!==(y="PlayerAccountMenuItemBox "+(l[8]===l[41].id&&!l[12]?"PlayerAccountMenuActiveItemBox":""))&&e.attr(t,"class",y)},d(s){s&&e.detach(t),h=!1,b()}}}function ne(l){let t,n;return{c(){t=e.element("div"),n=e.element("general-logout"),e.set_custom_element_data(n,"endpoint",l[1]),e.set_custom_element_data(n,"session",l[0]),e.set_custom_element_data(n,"buttonlocation","PlayerAccountMenu"),e.set_custom_element_data(n,"clientstyling",l[2]),e.set_custom_element_data(n,"clientstylingurl",l[3]),e.set_custom_element_data(n,"mbsource",l[4]),e.attr(t,"class","PlayerAccountLogOutArea")},m(a,i){e.insert(a,t,i),e.append(t,n)},p(a,i){i[0]&2&&e.set_custom_element_data(n,"endpoint",a[1]),i[0]&1&&e.set_custom_element_data(n,"session",a[0]),i[0]&4&&e.set_custom_element_data(n,"clientstyling",a[2]),i[0]&8&&e.set_custom_element_data(n,"clientstylingurl",a[3]),i[0]&16&&e.set_custom_element_data(n,"mbsource",a[4])},d(a){a&&e.detach(t)}}}function le(l){let t;return{c(){t=e.element("div"),t.innerHTML='<ui-skeleton structure="title" width="30px" height="40px"></ui-skeleton> <ui-skeleton structure="text" width="150px" height="40px"></ui-skeleton>',e.attr(t,"class","PlayerAccountMenuCategoryWrapper")},m(n,a){e.insert(n,t,a)},d(n){n&&e.detach(t)}}}function ae(l){let t;return{c(){t=e.element("ui-skeleton"),e.set_custom_element_data(t,"structure","circle"),e.set_custom_element_data(t,"size","20px")},m(n,a){e.insert(n,t,a)},d(n){n&&e.detach(t)}}}function O(l){let t,n,a,i,c=!l[12]&&ae();return{c(){t=e.element("div"),c&&c.c(),n=e.space(),a=e.element("ui-skeleton"),i=e.space(),e.set_custom_element_data(a,"structure","rectangle"),e.set_custom_element_data(a,"width","100%"),e.set_custom_element_data(a,"height",l[12]?"60px":"20px"),e.attr(t,"class","PlayerAccountItemWrap "+(l[12]?"PlayerAccountItemWrapMobile":""))},m(m,f){e.insert(m,t,f),c&&c.m(t,null),e.append(t,n),e.append(t,a),e.append(t,i)},p:e.noop,d(m){m&&e.detach(t),c&&c.d()}}}function re(l){let t;function n(c,m){return c[6]?$:Y}let a=n(l),i=a(l);return{c(){t=e.element("div"),i.c()},m(c,m){e.insert(c,t,m),i.m(t,null),l[26](t)},p(c,m){a===(a=n(c))&&i?i.p(c,m):(i.d(1),i=a(c),i&&(i.c(),i.m(t,null)))},i:e.noop,o:e.noop,d(c){c&&e.detach(t),i.d(),l[26](null)}}}function ie(l,t,n){let a;e.component_subscribe(l,e.$format,r=>n(11,a=r));let{endpoint:i=""}=t,{cmsendpoint:c=""}=t,{env:m=""}=t,{session:f=""}=t,{playerid:_=""}=t,{lang:A="en"}=t,{selecteditem:y=""}=t,{userroles:h=""}=t,{clientstyling:b=""}=t,{clientstylingurl:u=""}=t,{mbsource:s}=t,{translationurl:d=""}=t,{activemenuitem:o=""}=t,v=!1,p=!1,w=!0,g,x=[],k,I=window.navigator.userAgent,D=e.getDevice(I)!=="PC",C="",F="";window.matchMedia("(min-width: 768px)");const U=()=>{fetch(d).then(M=>M.json()).then(M=>{Object.keys(M).forEach(P=>{H(P,M[P])})}).catch(M=>{console.error(M)})};Object.keys(W).forEach(r=>{H(r,W[r])});const E=r=>{if(r.data)switch(r.data.type){case"AccountMenuDetails":availableMenuItemsArray=r.data.accountMenuInfo;break;case"UserSessionID":n(0,f=r.data.session);break}},q=()=>{let r=e.getDevice(I);if(r)return r==="PC"?"dk":"mtWeb"},R=()=>{const r=new URL(`${c}/${A}/profile-menu?env=${m}`);r.searchParams.append("device",q()),fetch(r.href).then(M=>M.json()).then(M=>{n(7,x=M),B()}).catch(M=>{console.error("Error getting menu items",M)}).finally(()=>{n(23,v=!0)})},G=()=>{let r=new URL(`${i}/v1/player/${_}/profile`);r.searchParams.append("userRoles",h);let M={method:"GET",headers:{"X-SessionID":f}};fetch(r.href,M).then(P=>P.json()).then(P=>{n(9,C=P.username),n(10,F=P.email)},P=>{console.error(P)}).finally(()=>{n(24,p=!0)})},L=r=>{window.postMessage({type:"ChangeAccountPage",page:r},window.location.href),n(8,k=r.id)},B=()=>{var r;n(8,k=(r=x.find(M=>M.path.includes(o)))==null?void 0:r.id)},N=()=>{window.postMessage({type:"GoToHomepage"},window.location.href)},V=()=>{K(A)},X=()=>{G()};e.onMount(()=>(window.addEventListener("message",E,!1),()=>{window.removeEventListener("message",E)}));const Z=r=>L(r);function J(r){e.binding_callbacks[r?"unshift":"push"](()=>{g=r,n(5,g)})}return l.$$set=r=>{"endpoint"in r&&n(1,i=r.endpoint),"cmsendpoint"in r&&n(15,c=r.cmsendpoint),"env"in r&&n(16,m=r.env),"session"in r&&n(0,f=r.session),"playerid"in r&&n(17,_=r.playerid),"lang"in r&&n(18,A=r.lang),"selecteditem"in r&&n(19,y=r.selecteditem),"userroles"in r&&n(20,h=r.userroles),"clientstyling"in r&&n(2,b=r.clientstyling),"clientstylingurl"in r&&n(3,u=r.clientstylingurl),"mbsource"in r&&n(4,s=r.mbsource),"translationurl"in r&&n(21,d=r.translationurl),"activemenuitem"in r&&n(22,o=r.activemenuitem)},l.$$.update=()=>{l.$$.dirty[0]&25165824&&n(6,w=!v||!p),l.$$.dirty[0]&262144&&A&&V(),l.$$.dirty[0]&393219&&i&&f&&_&&A&&X(),l.$$.dirty[0]&360448&&c&&A&&m&&R(),l.$$.dirty[0]&4194304&&o&&B(),l.$$.dirty[0]&36&&b&&g&&e.setClientStyling(g,b),l.$$.dirty[0]&40&&u&&g&&e.setClientStylingURL(g,u),l.$$.dirty[0]&48&&s&&g&&e.setStreamStyling(g,`${s}.Style`),l.$$.dirty[0]&2097152&&d&&U()},[f,i,b,u,s,g,w,x,k,C,F,a,D,L,N,c,m,_,A,y,h,d,o,v,p,Z,J]}class j extends e.SvelteComponent{constructor(t){super(),e.init(this,t,ie,re,e.safe_not_equal,{endpoint:1,cmsendpoint:15,env:16,session:0,playerid:17,lang:18,selecteditem:19,userroles:20,clientstyling:2,clientstylingurl:3,mbsource:4,translationurl:21,activemenuitem:22},Q,[-1,-1])}get endpoint(){return this.$$.ctx[1]}set endpoint(t){this.$$set({endpoint:t}),e.flush()}get cmsendpoint(){return this.$$.ctx[15]}set cmsendpoint(t){this.$$set({cmsendpoint:t}),e.flush()}get env(){return this.$$.ctx[16]}set env(t){this.$$set({env:t}),e.flush()}get session(){return this.$$.ctx[0]}set session(t){this.$$set({session:t}),e.flush()}get playerid(){return this.$$.ctx[17]}set playerid(t){this.$$set({playerid:t}),e.flush()}get lang(){return this.$$.ctx[18]}set lang(t){this.$$set({lang:t}),e.flush()}get selecteditem(){return this.$$.ctx[19]}set selecteditem(t){this.$$set({selecteditem:t}),e.flush()}get userroles(){return this.$$.ctx[20]}set userroles(t){this.$$set({userroles:t}),e.flush()}get clientstyling(){return this.$$.ctx[2]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[3]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get mbsource(){return this.$$.ctx[4]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}get translationurl(){return this.$$.ctx[21]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}get activemenuitem(){return this.$$.ctx[22]}set activemenuitem(t){this.$$set({activemenuitem:t}),e.flush()}}e.create_custom_element(j,{endpoint:{},cmsendpoint:{},env:{},session:{},playerid:{},lang:{},selecteditem:{},userroles:{},clientstyling:{},clientstylingurl:{},mbsource:{},translationurl:{},activemenuitem:{}},[],[],!0);exports.default=j;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as me, $ as de, S as ge, i as fe,
|
|
2
|
-
import "../stencil/ui-skeleton-
|
|
1
|
+
import { a as me, $ as de, S as ge, i as fe, s as ye, f as I, b as pe, n as O, d as F, g as E, j as b, p as he, q as V, u as be, w as Ae, O as z, P as ee, h as a, k, e as m, o as d, c as T, m as W, r as Me, l as j, v as H, a1 as X, x as we, y as ve, z as Pe, A as _e, B as xe } from "./GeneralLogout-PryurO1h.js";
|
|
2
|
+
import "../stencil/ui-skeleton-DoX-UmRU.js";
|
|
3
3
|
function Z(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-PryurO1h.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
|
+
pe(n, "svelte-j26xf8", '.PlayerAccountMenuContainer{background:var(--emw--color-primary, #184026);color:var(--emw--pam-typography-color-nav-bg, var(--emw--color-contrast, #FFFFFF));position:relative;height:100vh;display:flex;flex-direction:column;padding:0 15px;animation-name:fadeIn;animation-iteration-count:1;animation-timing-function:ease-in;animation-duration:0.3s}.PlayerAccountMenuContainer .PlayerAccountMenuItemWrapper{margin:0;word-break:break-all;display:flex;align-items:center}.PlayerAccountMenuContainer .PlayerAccountMenuItemWrapper span{display:flex;align-items:center}.PlayerAccountMenuContainer .skeletonLogOut{width:100%;border-radius:10px;overflow:hidden}.PlayerAccountMenuHeader{color:var(--emw--pam-typography-color-nav-bg, var(--emw--color-contrast, #FFFFFF));flex-grow:0;padding:30px 20px}.PlayerAccountMenuHeader .PlayerAccountMenuUser{margin-bottom:5px;font-size:var(--emw--font-size-large, 20px);color:var(--emw--pam-color-secondary, var(--emw--color-secondary, #E98B10))}.PlayerAccountMenuHeader .PlayerAccountMenuEmail{font-size:var(--emw--font-size-small, 14px);text-overflow:ellipsis;overflow:hidden}.PlayerAccountMenuHeader p{font-weight:300}.PlayerAccountMenuHeaderMobile{color:var(--emw--pam-typography-color-nav-bg, var(--emw--color-contrast, #FFFFFF))}.PlayerAccountMenuItemBox{padding:14px 20px;margin:2px 0;font-size:var(--emw--font-size-medium, 16px);line-height:16px;display:inline-flex;width:100%;box-sizing:border-box;align-items:center;border-radius:var(--emw--border-radius-medium, 10px);border:2px solid transparent;cursor:pointer;transition:all 0.3s linear}.PlayerAccountMenuItemBox:hover{transition:all 0.3s linear;background:rgba(35, 176, 78, 0.3);border:2px solid var(--emw--pam-color-primary, var(--emw--color-primary, #23B04E));border-radius:var(--emw--border-radius-medium, 10px);color:var(--emw--color-white, #FFFFFF)}.PlayerAccountMenuItemBox .PlayerAccountMenuItemTitle{margin-left:20px}.PlayerAccountMenuItemBox .PlayerAccountMenuItemIcon{width:20px;height:20px;padding-top:unset}.PlayerAccountMenuItemBox .PlayerAccountMenuItemIconMobile{width:30px;height:30px;padding-top:15px}.PlayerAccountMenuList::-webkit-scrollbar{width:6px}.PlayerAccountMenuList::-webkit-scrollbar-track{background:var(--emw--color-gray-300, #58586B)}.PlayerAccountMenuList::-webkit-scrollbar-thumb{background:var(--emw--color-gray-100, #E6E6E6)}.PlayerAccountItemWrap{display:flex;gap:20px;padding:16px 20px}.PlayerAccountItemWrap.PlayerAccountItemWrapMobile{padding:5px;width:100%;box-sizing:border-box}.PlayerAccountItemWrap ui-skeleton:last-child{flex:1}.PlayerAccountLogOutArea{background-color:rgba(253, 40, 57, 0.3);color:var(--emw--color-white, #FFFFFF);border-radius:var(--emw--border-radius-medium, 10px);width:100%;flex-grow:0}.PlayerAccountMenuActiveItemBox{background:rgba(35, 176, 78, 0.3);color:var(--emw--pam-color-primary, var(--emw--color-primary, #23B04E));border:2px solid var(--emw--pam-color-primary, var(--emw--color-primary, #23B04E));border-radius:var(--emw--border-radius-medium, 10px);transition:all 0.3s linear}.PlayerAccountMobileContainer{height:unset;padding:0}.PlayerAccountMobileContainer .PlayerAccountMenuCategoryWrapper{display:flex;align-items:center;gap:10px;margin-bottom:18px}.PlayerAccountMobileContainer .PlayerAccountMenuCategoryTitle{margin:0;font-weight:600}.PlayerAccountMobileContainer .PlayerAccountMenuItemTitle{margin-left:0;text-transform:capitalize;line-height:14px}.PlayerAccountMobileContainer .PlayerAccountMenuEmail{margin:0}.PlayerAccountMobileContainer .PlayerAccountMenuList{display:flex;flex-direction:column;align-items:flex-start;margin:0px 15px;min-height:900px}.PlayerAccountMobileContainer .PlayerAccountMenuList .PlayerAccountMenuItemBox{background:rgba(35, 176, 78, 0.3);color:var(--emw--pam-color-primary, var(--emw--color-primary, #23B04E));border:2px solid var(--emw--pam-color-primary, var(--emw--color-primary, #23B04E));border-radius:var(--emw--border-radius-medium, 10px);height:60px;margin:5px 0;align-items:flex-start;position:relative}.PlayerAccountMobileContainer .PlayerAccountMenuList .PlayerAccountMenuItemBox.PlayerAccountMenuActiveItemBox{background:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.PlayerAccountMobileContainer .PlayerAccountMenuList .PlayerAccountMenuItemBox .PlayerAccountMenuItemIcon{width:20px;padding:0 10px 0 15px}.PlayerAccountMobileContainer .PlayerAccountMenuList .PlayerAccountMenuItemBox::after{content:"";display:inline-block;width:15px;height:15px;background-image:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2215%22 height=%2215%22 viewBox=%220 0 15 15%22%3E%3Cdefs%3E%3Cstyle%3E.aaa%7Bfill:var(--emw--color-white,%20%23FFFFFF);%7D%3C/style%3E%3C/defs%3E%3Cg transform=%22translate(-20%20-158)%22%3E%3Cg transform=%22translate(20%20158)%22%3E%3Cpath class=%22aaa%22 d=%22M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z%22 transform=%22translate(15%2015)%20rotate(180)%22%3E%3C/path%3E%3C/g%3E%3C/g%3E%3C/svg%3E");background-size:contain;transform:scaleX(-1);background-repeat:no-repeat;position:absolute;right:15px;top:22px}.PlayerAccountMobileContainer .PlayerAccountMenuList .PlayerAccountMenuItemWrapper{display:flex;justify-items:center;align-items:center;flex-flow:row;gap:6px;position:absolute;top:0;bottom:0;left:0;right:0}.PlayerAccountMobileContainer .PlayerAccountMenuList .PlayerAccountMenuItemWrapper .PlayerAccountMenuItemTitle{font-size:var(--emw--font-size-medium, 16px);line-height:16px;font-weight:400;word-break:break-word;text-align:left;color:var(--emw--pam-typography-color-nav-bg, var(--emw--color-contrast, #FFFFFF))}.PlayerAccountMobileContainer .PlayerAccountLogOutArea{position:absolute;right:18px;top:56px;bottom:unset;background:transparent;width:48px;border-top:0}@keyframes fadeIn{0%{opacity:0.01}1%{opacity:0}50%{opacity:0}100%{opacity:1}}');
|
|
62
62
|
}
|
|
63
63
|
function K(n, e, t) {
|
|
64
64
|
const l = n.slice();
|
|
@@ -99,7 +99,7 @@ function Ce(n) {
|
|
|
99
99
|
(n[12] ? "PlayerAccountMobileContainer" : ""));
|
|
100
100
|
},
|
|
101
101
|
m(y, C) {
|
|
102
|
-
|
|
102
|
+
E(y, e, C), a(e, t), u && u.m(t, null), a(t, l), a(t, r), a(r, s), a(t, g), a(t, h), a(h, M), a(t, P), c && c.m(t, null), a(e, w), a(e, A);
|
|
103
103
|
for (let p = 0; p < o.length; p += 1)
|
|
104
104
|
o[p] && o[p].m(A, null);
|
|
105
105
|
a(e, v), x && x.m(e, null);
|
|
@@ -138,7 +138,7 @@ function Ce(n) {
|
|
|
138
138
|
y[12] || x.p(y, C);
|
|
139
139
|
},
|
|
140
140
|
d(y) {
|
|
141
|
-
y &&
|
|
141
|
+
y && F(e), u && u.d(), c && c.d(), ee(o, y), x && x.d();
|
|
142
142
|
}
|
|
143
143
|
};
|
|
144
144
|
}
|
|
@@ -159,7 +159,7 @@ function Fe(n) {
|
|
|
159
159
|
(n[12] ? "PlayerAccountMobileContainer" : ""));
|
|
160
160
|
},
|
|
161
161
|
m(c, f) {
|
|
162
|
-
|
|
162
|
+
E(c, e, f), a(e, t), A && A.m(t, null), a(t, l), a(t, r), a(t, s), a(t, g), a(e, h), a(e, M);
|
|
163
163
|
for (let o = 0; o < u.length; o += 1)
|
|
164
164
|
u[o] && u[o].m(M, null);
|
|
165
165
|
a(e, P), a(e, w);
|
|
@@ -179,7 +179,7 @@ function Fe(n) {
|
|
|
179
179
|
}
|
|
180
180
|
},
|
|
181
181
|
d(c) {
|
|
182
|
-
c &&
|
|
182
|
+
c && F(e), A && A.d(), ee(u, c);
|
|
183
183
|
}
|
|
184
184
|
};
|
|
185
185
|
}
|
|
@@ -193,7 +193,7 @@ function Ee(n) {
|
|
|
193
193
|
e = b("div"), t = H("svg"), l = H("defs"), r = H("style"), s = W(".aaa{fill:var(--emw--color-white, #FFFFFF);}"), g = H("g"), h = H("g"), M = H("path"), P = k(), w = b("h3"), v = W(A), d(M, "class", "aaa"), d(M, "d", "M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"), d(M, "transform", "translate(15 15) rotate(180)"), d(h, "transform", "translate(20 158)"), d(g, "transform", "translate(-20 -158)"), d(t, "xmlns", "http://www.w3.org/2000/svg"), d(t, "width", "15"), d(t, "height", "15"), d(t, "viewBox", "0 0 15 15"), d(w, "class", "PlayerAccountMenuCategoryTitle"), d(e, "class", "PlayerAccountMenuCategoryWrapper");
|
|
194
194
|
},
|
|
195
195
|
m(f, o) {
|
|
196
|
-
|
|
196
|
+
E(f, e, o), a(e, t), a(t, l), a(l, r), a(r, s), a(t, g), a(g, h), a(h, M), a(e, P), a(e, w), a(w, v), u || (c = [
|
|
197
197
|
j(
|
|
198
198
|
t,
|
|
199
199
|
"click",
|
|
@@ -214,7 +214,7 @@ function Ee(n) {
|
|
|
214
214
|
f[11]("title") + "") && T(v, A);
|
|
215
215
|
},
|
|
216
216
|
d(f) {
|
|
217
|
-
f &&
|
|
217
|
+
f && F(e), u = !1, Me(c);
|
|
218
218
|
}
|
|
219
219
|
};
|
|
220
220
|
}
|
|
@@ -250,7 +250,7 @@ function Le(n) {
|
|
|
250
250
|
), d(e, "class", "PlayerAccountLogOutArea");
|
|
251
251
|
},
|
|
252
252
|
m(l, r) {
|
|
253
|
-
|
|
253
|
+
E(l, e, r), a(e, t);
|
|
254
254
|
},
|
|
255
255
|
p(l, r) {
|
|
256
256
|
r[0] & /*endpoint*/
|
|
@@ -286,7 +286,7 @@ function Le(n) {
|
|
|
286
286
|
);
|
|
287
287
|
},
|
|
288
288
|
d(l) {
|
|
289
|
-
l &&
|
|
289
|
+
l && F(e);
|
|
290
290
|
}
|
|
291
291
|
};
|
|
292
292
|
}
|
|
@@ -314,7 +314,7 @@ function Y(n) {
|
|
|
314
314
|
n[12] ? "PlayerAccountMenuActiveItemBox" : ""));
|
|
315
315
|
},
|
|
316
316
|
m(c, f) {
|
|
317
|
-
|
|
317
|
+
E(c, e, f), a(e, t), a(t, l), a(t, s), a(t, g), a(g, M), a(e, P), A || (v = j(e, "click", u), A = !0);
|
|
318
318
|
},
|
|
319
319
|
p(c, f) {
|
|
320
320
|
n = c, f[0] & /*menuItems*/
|
|
@@ -328,7 +328,7 @@ function Y(n) {
|
|
|
328
328
|
n[12] ? "PlayerAccountMenuActiveItemBox" : "")) && d(e, "class", w);
|
|
329
329
|
},
|
|
330
330
|
d(c) {
|
|
331
|
-
c &&
|
|
331
|
+
c && F(e), A = !1, v();
|
|
332
332
|
}
|
|
333
333
|
};
|
|
334
334
|
}
|
|
@@ -364,7 +364,7 @@ function Be(n) {
|
|
|
364
364
|
), d(e, "class", "PlayerAccountLogOutArea");
|
|
365
365
|
},
|
|
366
366
|
m(l, r) {
|
|
367
|
-
|
|
367
|
+
E(l, e, r), a(e, t);
|
|
368
368
|
},
|
|
369
369
|
p(l, r) {
|
|
370
370
|
r[0] & /*endpoint*/
|
|
@@ -400,7 +400,7 @@ function Be(n) {
|
|
|
400
400
|
);
|
|
401
401
|
},
|
|
402
402
|
d(l) {
|
|
403
|
-
l &&
|
|
403
|
+
l && F(e);
|
|
404
404
|
}
|
|
405
405
|
};
|
|
406
406
|
}
|
|
@@ -411,10 +411,10 @@ function He(n) {
|
|
|
411
411
|
e = b("div"), e.innerHTML = '<ui-skeleton structure="title" width="30px" height="40px"></ui-skeleton> <ui-skeleton structure="text" width="150px" height="40px"></ui-skeleton>', d(e, "class", "PlayerAccountMenuCategoryWrapper");
|
|
412
412
|
},
|
|
413
413
|
m(t, l) {
|
|
414
|
-
|
|
414
|
+
E(t, e, l);
|
|
415
415
|
},
|
|
416
416
|
d(t) {
|
|
417
|
-
t &&
|
|
417
|
+
t && F(e);
|
|
418
418
|
}
|
|
419
419
|
};
|
|
420
420
|
}
|
|
@@ -425,10 +425,10 @@ function We(n) {
|
|
|
425
425
|
e = b("ui-skeleton"), m(e, "structure", "circle"), m(e, "size", "20px");
|
|
426
426
|
},
|
|
427
427
|
m(t, l) {
|
|
428
|
-
|
|
428
|
+
E(t, e, l);
|
|
429
429
|
},
|
|
430
430
|
d(t) {
|
|
431
|
-
t &&
|
|
431
|
+
t && F(e);
|
|
432
432
|
}
|
|
433
433
|
};
|
|
434
434
|
}
|
|
@@ -446,11 +446,11 @@ function $(n) {
|
|
|
446
446
|
(n[12] ? "PlayerAccountItemWrapMobile" : ""));
|
|
447
447
|
},
|
|
448
448
|
m(g, h) {
|
|
449
|
-
|
|
449
|
+
E(g, e, h), s && s.m(e, null), a(e, t), a(e, l), a(e, r);
|
|
450
450
|
},
|
|
451
451
|
p: O,
|
|
452
452
|
d(g) {
|
|
453
|
-
g &&
|
|
453
|
+
g && F(e), s && s.d();
|
|
454
454
|
}
|
|
455
455
|
};
|
|
456
456
|
}
|
|
@@ -468,7 +468,7 @@ function ze(n) {
|
|
|
468
468
|
e = b("div"), r.c();
|
|
469
469
|
},
|
|
470
470
|
m(s, g) {
|
|
471
|
-
|
|
471
|
+
E(s, e, g), r.m(e, null), n[26](e);
|
|
472
472
|
},
|
|
473
473
|
p(s, g) {
|
|
474
474
|
l === (l = t(s)) && r ? r.p(s, g) : (r.d(1), r = l(s), r && (r.c(), r.m(e, null)));
|
|
@@ -476,13 +476,13 @@ function ze(n) {
|
|
|
476
476
|
i: O,
|
|
477
477
|
o: O,
|
|
478
478
|
d(s) {
|
|
479
|
-
s &&
|
|
479
|
+
s && F(e), r.d(), n[26](null);
|
|
480
480
|
}
|
|
481
481
|
};
|
|
482
482
|
}
|
|
483
483
|
function Te(n, e, t) {
|
|
484
484
|
let l;
|
|
485
|
-
|
|
485
|
+
he(n, xe, (i) => t(11, l = i));
|
|
486
486
|
let { endpoint: r = "" } = e, { cmsendpoint: s = "" } = e, { env: g = "" } = e, { session: h = "" } = e, { playerid: M = "" } = e, { lang: P = "en" } = e, { selecteditem: w = "" } = e, { userroles: A = "" } = e, { clientstyling: v = "" } = e, { clientstylingurl: u = "" } = e, { mbsource: c } = e, { translationurl: f = "" } = e, { activemenuitem: o = "" } = e, x = !1, y = !1, C = !0, p, B = [], S, D = window.navigator.userAgent, te = V(D) !== "PC", U = "", R = "";
|
|
487
487
|
window.matchMedia("(min-width: 768px)");
|
|
488
488
|
const ne = () => {
|
|
@@ -549,12 +549,12 @@ function Te(n, e, t) {
|
|
|
549
549
|
}, ce = () => {
|
|
550
550
|
re();
|
|
551
551
|
};
|
|
552
|
-
|
|
552
|
+
be(() => (window.addEventListener("message", N, !1), () => {
|
|
553
553
|
window.removeEventListener("message", N);
|
|
554
554
|
}));
|
|
555
555
|
const se = (i) => q(i);
|
|
556
556
|
function ue(i) {
|
|
557
|
-
|
|
557
|
+
Ae[i ? "unshift" : "push"](() => {
|
|
558
558
|
p = i, t(5, p);
|
|
559
559
|
});
|
|
560
560
|
}
|
|
@@ -567,9 +567,9 @@ function Te(n, e, t) {
|
|
|
567
567
|
393219 && r && h && M && P && ce(), n.$$.dirty[0] & /*cmsendpoint, lang, env*/
|
|
568
568
|
360448 && s && P && g && ie(), n.$$.dirty[0] & /*activemenuitem*/
|
|
569
569
|
4194304 && o && G(), n.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
570
|
-
36 && v && p &&
|
|
571
|
-
40 && u && p &&
|
|
572
|
-
48 && c && p &&
|
|
570
|
+
36 && v && p && we(p, v), n.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
571
|
+
40 && u && p && ve(p, u), n.$$.dirty[0] & /*mbsource, customStylingContainer*/
|
|
572
|
+
48 && c && p && Pe(p, `${c}.Style`), n.$$.dirty[0] & /*translationurl*/
|
|
573
573
|
2097152 && f && ne();
|
|
574
574
|
}, [
|
|
575
575
|
h,
|
|
@@ -608,7 +608,7 @@ class Se extends ge {
|
|
|
608
608
|
e,
|
|
609
609
|
Te,
|
|
610
610
|
ze,
|
|
611
|
-
|
|
611
|
+
ye,
|
|
612
612
|
{
|
|
613
613
|
endpoint: 1,
|
|
614
614
|
cmsendpoint: 15,
|
|
@@ -707,7 +707,7 @@ class Se extends ge {
|
|
|
707
707
|
this.$$set({ activemenuitem: e }), I();
|
|
708
708
|
}
|
|
709
709
|
}
|
|
710
|
-
|
|
710
|
+
_e(Se, { endpoint: {}, cmsendpoint: {}, env: {}, session: {}, playerid: {}, lang: {}, selecteditem: {}, userroles: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {}, activemenuitem: {} }, [], [], !0);
|
|
711
711
|
export {
|
|
712
712
|
Se as default
|
|
713
713
|
};
|