@everymatrix/player-account-controller-nd 1.88.10 → 1.88.12
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-BTCixZFO.cjs → GeneralLogout-BSa4h8xS.cjs} +1 -1
- package/components/{GeneralLogout-DgDeYANk.js → GeneralLogout-DbzY5oIp.js} +1 -1
- package/components/{GeneralLogout-lvwSiBS1.js → GeneralLogout-nEoiq4Yx.js} +1 -1
- package/components/{PlayerAccountBettingHistory-CtV3tyOm.js → PlayerAccountBettingHistory-BqD642NT.js} +14 -14
- package/components/{PlayerAccountBettingHistory-CDEwUBAd.cjs → PlayerAccountBettingHistory-CMq2Rhnn.cjs} +1 -1
- package/components/{PlayerAccountBettingHistory-CpAy80JS.js → PlayerAccountBettingHistory-DCDYc6mH.js} +11 -11
- package/components/{PlayerAccountBiometrics-CuEP7E6M.cjs → PlayerAccountBiometrics-C2mjV-Xn.cjs} +1 -1
- package/components/{PlayerAccountBiometrics-CP9i4YjS.js → PlayerAccountBiometrics-CJRZjFBt.js} +2 -2
- package/components/{PlayerAccountBiometrics-CCJPQVh5.js → PlayerAccountBiometrics-GwQtl_YF.js} +2 -2
- package/components/{PlayerAccountBiometricsAction-L2_OUpu9.js → PlayerAccountBiometricsAction-BsQaqFeI.js} +13 -13
- package/components/{PlayerAccountBiometricsAction-BJuXGx0O.js → PlayerAccountBiometricsAction-C7I9mgss.js} +13 -13
- package/components/{PlayerAccountBiometricsAction-CqAcd7Av.cjs → PlayerAccountBiometricsAction-is4luGzp.cjs} +1 -1
- package/components/{PlayerAccountClosureNd-Si2x3RAA.js → PlayerAccountClosureNd-BeZo5jUf.js} +1 -1
- package/components/{PlayerAccountClosureNd-BBMF568Y.cjs → PlayerAccountClosureNd-ClfG4LTg.cjs} +1 -1
- package/components/{PlayerAccountClosureNd-DieFAszz.js → PlayerAccountClosureNd-DFdsmDoD.js} +1 -1
- package/components/{PlayerAccountControllerNd-CzgnM-j0.cjs → PlayerAccountControllerNd-BoTaxLV0.cjs} +1 -1
- package/components/{PlayerAccountControllerNd-4DmLb_OJ.js → PlayerAccountControllerNd-CZ_gy_zb.js} +31 -31
- package/components/{PlayerAccountControllerNd-rB12HX7T.js → PlayerAccountControllerNd-DHCZWllJ.js} +31 -31
- package/components/{PlayerAccountGamingLimits-7zHmsnMk.cjs → PlayerAccountGamingLimits-B56g_ACx.cjs} +1 -1
- package/components/{PlayerAccountGamingLimits-Da7vhnm_.js → PlayerAccountGamingLimits-CJzc4YhD.js} +2 -2
- package/components/{PlayerAccountGamingLimits-BKfC6ZzZ.js → PlayerAccountGamingLimits-_21ms761.js} +2 -2
- package/components/{PlayerAccountGamingLimitsConfirmationModal-pyicd3co.js → PlayerAccountGamingLimitsConfirmationModal-CGPuNHW2.js} +1 -1
- package/components/{PlayerAccountGamingLimitsConfirmationModal-h7lx84nW.js → PlayerAccountGamingLimitsConfirmationModal-fvZ8Fwt0.js} +1 -1
- package/components/{PlayerAccountGamingLimitsConfirmationModal-DJxUm4b6.cjs → PlayerAccountGamingLimitsConfirmationModal-wk2Y_Xmm.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsGroupEdit-DlDTfXLH.cjs → PlayerAccountGamingLimitsGroupEdit-7ivLEN_p.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsGroupEdit-BtD-QL4_.js → PlayerAccountGamingLimitsGroupEdit-Dd-f4hlK.js} +37 -37
- package/components/{PlayerAccountGamingLimitsGroupEdit-v_uPJqZp.js → PlayerAccountGamingLimitsGroupEdit-Qid1SdEl.js} +5 -5
- package/components/{PlayerAccountGamingLimitsHistory2Nd-BDspBXbK.js → PlayerAccountGamingLimitsHistory2Nd-Diur4HkY.js} +10 -10
- package/components/{PlayerAccountGamingLimitsHistory2Nd-CXwpDVk3.js → PlayerAccountGamingLimitsHistory2Nd-RAwaZg0B.js} +1 -1
- package/components/{PlayerAccountGamingLimitsHistory2Nd-Cp1aLthw.cjs → PlayerAccountGamingLimitsHistory2Nd-lpV9HUih.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsInfoCard-DSzk8hD0.js → PlayerAccountGamingLimitsInfoCard-BQd1j5zE.js} +21 -21
- package/components/{PlayerAccountGamingLimitsInfoCard-BuA4C89D.cjs → PlayerAccountGamingLimitsInfoCard-CTwUF-OU.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsInfoCard-Qt4WXTnQ.js → PlayerAccountGamingLimitsInfoCard-Dnm-TPkL.js} +21 -21
- package/components/{PlayerAccountGamingLimitsPage2Gm16Nd-DKmrInbK.cjs → PlayerAccountGamingLimitsPage2Gm16Nd-6z2LPt7T.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsPage2Gm16Nd-CGG9dtsx.js → PlayerAccountGamingLimitsPage2Gm16Nd-Cwcss19l.js} +1 -1
- package/components/{PlayerAccountGamingLimitsPage2Gm16Nd-Be670SEQ.js → PlayerAccountGamingLimitsPage2Gm16Nd-DOaGYUud.js} +1 -1
- package/components/{PlayerAccountGamingLimitsPopup-BwDcDTHl.js → PlayerAccountGamingLimitsPopup-CZqWkNP4.js} +6 -6
- package/components/{PlayerAccountGamingLimitsPopup-BEkbJ35b.js → PlayerAccountGamingLimitsPopup-CiKi3sky.js} +7 -7
- package/components/{PlayerAccountGamingLimitsPopup-CyPZGaiV.cjs → PlayerAccountGamingLimitsPopup-DGsvvGzF.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsWrapper2Nd-NX1Accjy.js → PlayerAccountGamingLimitsWrapper2Nd-BAmpbD1n.js} +14 -14
- package/components/{PlayerAccountGamingLimitsWrapper2Nd-CpLz0RBl.cjs → PlayerAccountGamingLimitsWrapper2Nd-CN8I6NoD.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsWrapper2Nd-C23V_j9i.js → PlayerAccountGamingLimitsWrapper2Nd-DDFf3Ypf.js} +14 -14
- package/components/{PlayerAccountGeneralConfirmationModal-VfLVrY0_.js → PlayerAccountGeneralConfirmationModal-BJIWoVRX.js} +1 -1
- package/components/{PlayerAccountGeneralConfirmationModal-CWStLgVp.cjs → PlayerAccountGeneralConfirmationModal-BRJlN3yT.cjs} +1 -1
- package/components/{PlayerAccountGeneralConfirmationModal-eKCUWAqx.js → PlayerAccountGeneralConfirmationModal-uGjJPhlE.js} +1 -1
- package/components/{PlayerAccountMenuNd-CJjU4VPp.js → PlayerAccountMenuNd-C8EUjiEN.js} +2 -2
- package/components/{PlayerAccountMenuNd-DQ_wIWSF.cjs → PlayerAccountMenuNd-CZ7UOHI6.cjs} +1 -1
- package/components/{PlayerAccountMenuNd-ckyp1ttw.js → PlayerAccountMenuNd-CklzFEWe.js} +2 -2
- package/components/{PlayerAccountModal-CAiAf5pt.js → PlayerAccountModal-BCPdTL2n.js} +23 -23
- package/components/{PlayerAccountModal-DBGeB5li.js → PlayerAccountModal-DSH2S_NI.js} +9 -9
- package/components/{PlayerAccountModal-Cbrf2upm.cjs → PlayerAccountModal-Dp4lj_jl.cjs} +1 -1
- package/components/{PlayerAccountNotifications-j1WcflQa.js → PlayerAccountNotifications-BZt_1qbt.js} +1 -1
- package/components/{PlayerAccountNotifications-sv5EIbZH.js → PlayerAccountNotifications-CDJp1JiY.js} +1 -1
- package/components/{PlayerAccountNotifications-iFlYPdAR.cjs → PlayerAccountNotifications-DfEEapfK.cjs} +1 -1
- package/components/{PlayerAccountProductRestriction-si3C8Rx8.js → PlayerAccountProductRestriction-BOyvCa0V.js} +44 -44
- package/components/{PlayerAccountProductRestriction-BjvGnsgB.js → PlayerAccountProductRestriction-Bwy7OeRD.js} +52 -52
- package/components/{PlayerAccountProductRestriction-BJfXdzX2.cjs → PlayerAccountProductRestriction-C5AhLExQ.cjs} +1 -1
- package/components/{PlayerAccountReviewFrequency-C1HyH0_C.js → PlayerAccountReviewFrequency-Bbjsi8RG.js} +11 -11
- package/components/{PlayerAccountReviewFrequency-BFmd1rAx.cjs → PlayerAccountReviewFrequency-DArCf4Bb.cjs} +1 -1
- package/components/{PlayerAccountReviewFrequency-I1zFHsv-.js → PlayerAccountReviewFrequency-Dz1hQpck.js} +11 -11
- package/components/{PlayerAccountSelfExclusionNd-YDpikgae.cjs → PlayerAccountSelfExclusionNd-CHLldyc6.cjs} +1 -1
- package/components/{PlayerAccountSelfExclusionNd-CU6-R7bd.js → PlayerAccountSelfExclusionNd-CQ8QoKiG.js} +52 -52
- package/components/{PlayerAccountSelfExclusionNd-BciTTSkP.js → PlayerAccountSelfExclusionNd-CwQOJVVG.js} +56 -56
- package/components/{PlayerAccountTimeout-CJQO4T0E.js → PlayerAccountTimeout-C3xHdxM1.js} +2543 -2466
- package/components/{PlayerAccountTimeout-DWRZjpUp.cjs → PlayerAccountTimeout-CNrhyef4.cjs} +164 -161
- package/components/{PlayerAccountTimeout-Bc3bgd9Y.js → PlayerAccountTimeout-Cg5JxaC3.js} +2577 -2499
- package/components/{PlayerAccountTransactionsHistory-BmV-IGek.cjs → PlayerAccountTransactionsHistory-BF97Eyvk.cjs} +1 -1
- package/components/{PlayerAccountTransactionsHistory-4vSG-w3-.js → PlayerAccountTransactionsHistory-DglfMvS_.js} +4 -4
- package/components/{PlayerAccountTransactionsHistory-DS1ELUHb.js → PlayerAccountTransactionsHistory-Do16ufcs.js} +4 -4
- package/components/{PlayerActiveBonuses-C0irPRym.js → PlayerActiveBonuses-DWC0i-7N.js} +23 -23
- package/components/{PlayerActiveBonuses-DDD5qb8P.js → PlayerActiveBonuses-Dsl2Y3bz.js} +22 -22
- package/components/{PlayerActiveBonuses-BejbH3xO.cjs → PlayerActiveBonuses-DwXeK197.cjs} +1 -1
- package/components/{PlayerBonusCard-D7zKx4T1.js → PlayerBonusCard-CT_iI6o4.js} +2 -2
- package/components/{PlayerBonusCard-Cwi6ep8D.cjs → PlayerBonusCard-D1DhFGtn.cjs} +1 -1
- package/components/{PlayerBonusCard-C8szd1_o.js → PlayerBonusCard-czGvmj2v.js} +2 -2
- package/components/{PlayerBonusHistory-DYYsqzgP.js → PlayerBonusHistory-C49JDerq.js} +2 -2
- package/components/{PlayerBonusHistory-BVa-PyRu.cjs → PlayerBonusHistory-CJlYhKpx.cjs} +1 -1
- package/components/{PlayerBonusHistory-BrzcKCDF.js → PlayerBonusHistory-DbDidCDG.js} +2 -2
- package/components/{PlayerChangePasswordNd-CsYWovIL.js → PlayerChangePasswordNd-7iRXLkdS.js} +22 -22
- package/components/{PlayerChangePasswordNd-CLf8cHb3.js → PlayerChangePasswordNd-BaSqSHOS.js} +22 -22
- package/components/{PlayerChangePasswordNd-B1HsZ8Gh.cjs → PlayerChangePasswordNd-DqBNnMA2.cjs} +1 -1
- package/components/{PlayerDeposit-Ef0MzBHc.js → PlayerDeposit-BS5z3QzE.js} +1 -1
- package/components/{PlayerDeposit-DjleXwHs.js → PlayerDeposit-eQ7OEHxe.js} +1 -1
- package/components/{PlayerDeposit-CU7svNGu.cjs → PlayerDeposit-xMmvTtCy.cjs} +1 -1
- package/components/{PlayerGamingHistory-BkGuzukP.cjs → PlayerGamingHistory-CbZ17dTA.cjs} +1 -1
- package/components/{PlayerGamingHistory-qVbGzs4a.js → PlayerGamingHistory-_kjrcb0o.js} +89 -89
- package/components/{PlayerGamingHistory-0zo154Na.js → PlayerGamingHistory-rPb9uVNE.js} +67 -67
- package/components/{PlayerPendingWithdrawals-CUGosfKn.cjs → PlayerPendingWithdrawals-BAlWZmOe.cjs} +1 -1
- package/components/{PlayerPendingWithdrawals-DL0MvMJq.js → PlayerPendingWithdrawals-efOuHLVn.js} +1 -1
- package/components/{PlayerPendingWithdrawals-CAeoDXec.js → PlayerPendingWithdrawals-vfEOcUYG.js} +1 -1
- package/components/{PlayerProfileInfo-BbdPUPsJ.cjs → PlayerProfileInfo-C7CKYD1b.cjs} +2 -2
- package/components/{PlayerProfileInfo-Co6EF5Ay.js → PlayerProfileInfo-Dg-cIf6n.js} +2 -2
- package/components/{PlayerProfileInfo-1ASmdFTg.js → PlayerProfileInfo-OXDXf-Ag.js} +2 -2
- package/components/{PlayerRealityCheck-C1VLdrcI.js → PlayerRealityCheck-DXVwiKEb.js} +1 -1
- package/components/{PlayerRealityCheck-BZnbYDOi.cjs → PlayerRealityCheck-DlJeh1bs.cjs} +1 -1
- package/components/{PlayerRealityCheck-D33BmyZk.js → PlayerRealityCheck-DsdjK4px.js} +1 -1
- package/components/{PlayerTransactionHistory-rnu9Vjhu.js → PlayerTransactionHistory-B0AuZ8qA.js} +1 -1
- package/components/{PlayerTransactionHistory-CBhbdctj.cjs → PlayerTransactionHistory-D5u10f1q.cjs} +1 -1
- package/components/{PlayerTransactionHistory-CckA3vd6.js → PlayerTransactionHistory-DpAGLuLs.js} +1 -1
- package/components/{PlayerWithdrawal-BfgsSZBv.js → PlayerWithdrawal-BFyxvLA9.js} +1 -1
- package/components/{PlayerWithdrawal-Dpo0gEsp.js → PlayerWithdrawal-BKZemg7u.js} +1 -1
- package/components/{PlayerWithdrawal-Dgd1skFE.cjs → PlayerWithdrawal-Bob1N2rJ.cjs} +1 -1
- package/es2015/player-account-controller-nd.cjs +1 -1
- package/es2015/player-account-controller-nd.js +1 -1
- package/esnext/player-account-controller-nd.js +1 -1
- package/lazy/{general-logout-Ci3PIPj2.cjs → general-logout-DqF_Olwl.cjs} +1 -1
- package/lazy/{general-logout-wiFkjtE4.js → general-logout-GbSxu6ly.js} +1 -1
- package/lazy/{general-logout-BLIGD9pa.js → general-logout-jXcQyV0H.js} +1 -1
- package/lazy/{pam-change-password-8sS3Vvnc.js → pam-change-password-C7oZ1g4Y.js} +1 -1
- package/lazy/{pam-change-password-BPIy25da.cjs → pam-change-password-CpWJ-gwJ.cjs} +1 -1
- package/lazy/{pam-change-password-3i-gqrVk.js → pam-change-password-oE_0V8ek.js} +1 -1
- package/lazy/{player-account-betting-history-DCrrJyu6.cjs → player-account-betting-history-58Z6SXVF.cjs} +1 -1
- package/lazy/{player-account-betting-history-DWCkjn6Y.js → player-account-betting-history-B1zN7yDt.js} +1 -1
- package/lazy/{player-account-betting-history-Byu8bxGS.js → player-account-betting-history-B50g31pr.js} +1 -1
- package/lazy/{player-account-biometrics-VNK-oq4d.js → player-account-biometrics-B0WCW4_l.js} +1 -1
- package/lazy/{player-account-biometrics-DsS8xvYs.cjs → player-account-biometrics-BsAHek3L.cjs} +1 -1
- package/lazy/{player-account-biometrics-ibhSfdMd.js → player-account-biometrics-CAoN81Ll.js} +1 -1
- package/lazy/{player-account-biometrics-action-qPNyM8VN.js → player-account-biometrics-action-B7pSS2xM.js} +1 -1
- package/lazy/{player-account-biometrics-action-DIyHMCew.cjs → player-account-biometrics-action-BZusE7kP.cjs} +1 -1
- package/lazy/{player-account-biometrics-action-XjG0y9cz.js → player-account-biometrics-action-Cxo0LjJ2.js} +1 -1
- package/lazy/{player-account-closure-nd-Dw8hMJSJ.js → player-account-closure-nd-B2MtSPoi.js} +1 -1
- package/lazy/{player-account-closure-nd-RkkLpRFP.js → player-account-closure-nd-CHpMdS7X.js} +1 -1
- package/lazy/{player-account-closure-nd-CieUENTp.cjs → player-account-closure-nd-k0kBhwnD.cjs} +1 -1
- package/lazy/{player-account-gaming-limits-DbhF8S0o.cjs → player-account-gaming-limits-CGbhQFVv.cjs} +1 -1
- package/lazy/{player-account-gaming-limits-DykDNCZO.js → player-account-gaming-limits-Cu3aMOu2.js} +1 -1
- package/lazy/{player-account-gaming-limits-CdXTEtTC.js → player-account-gaming-limits-OaY2vYQO.js} +1 -1
- package/lazy/{player-account-gaming-limits-confirmation-modal-B9Ff5S4j.js → player-account-gaming-limits-confirmation-modal-BGxif3lc.js} +1 -1
- package/lazy/{player-account-gaming-limits-confirmation-modal-BWV5eKl5.cjs → player-account-gaming-limits-confirmation-modal-C_GTeq9d.cjs} +1 -1
- package/lazy/{player-account-gaming-limits-confirmation-modal-IyLQXeJS.js → player-account-gaming-limits-confirmation-modal-D2gPpxDD.js} +1 -1
- package/lazy/{player-account-gaming-limits-group-edit-VG4WMdmr.js → player-account-gaming-limits-group-edit-2lhxKxlt.js} +1 -1
- package/lazy/{player-account-gaming-limits-group-edit-D--J5HSA.cjs → player-account-gaming-limits-group-edit-D1ZbQ_wS.cjs} +1 -1
- package/lazy/{player-account-gaming-limits-group-edit-tggD9V9m.js → player-account-gaming-limits-group-edit-tnytGTge.js} +1 -1
- package/lazy/{player-account-gaming-limits-history-2-nd-CR2s0gym.js → player-account-gaming-limits-history-2-nd-Ba3NadeJ.js} +1 -1
- package/lazy/{player-account-gaming-limits-history-2-nd-CLoCaFt_.js → player-account-gaming-limits-history-2-nd-BwqG7Vmq.js} +1 -1
- package/lazy/{player-account-gaming-limits-history-2-nd-DZpSSH8K.cjs → player-account-gaming-limits-history-2-nd-DbUNaxvx.cjs} +1 -1
- package/lazy/{player-account-gaming-limits-info-card-DPNre_TA.js → player-account-gaming-limits-info-card-BfkXypvy.js} +1 -1
- package/lazy/{player-account-gaming-limits-info-card-BHzX4Zz8.cjs → player-account-gaming-limits-info-card-COz0M8pf.cjs} +1 -1
- package/lazy/{player-account-gaming-limits-info-card-SDGKu5Yl.js → player-account-gaming-limits-info-card-CiIdy09z.js} +1 -1
- package/lazy/{player-account-gaming-limits-page-2-gm16-nd-DvnADIuK.js → player-account-gaming-limits-page-2-gm16-nd-DKJhLBVS.js} +1 -1
- package/lazy/{player-account-gaming-limits-page-2-gm16-nd-B47R3y75.cjs → player-account-gaming-limits-page-2-gm16-nd-Dz1mnCyX.cjs} +1 -1
- package/lazy/{player-account-gaming-limits-page-2-gm16-nd-DzG575-7.js → player-account-gaming-limits-page-2-gm16-nd-SID_SzGM.js} +1 -1
- package/lazy/{player-account-gaming-limits-popup-DjZ4eEHC.js → player-account-gaming-limits-popup-DPK4Qux1.js} +1 -1
- package/lazy/{player-account-gaming-limits-popup-u3cGkkqo.cjs → player-account-gaming-limits-popup-QRaHGOVO.cjs} +1 -1
- package/lazy/{player-account-gaming-limits-popup-DiUyWsWQ.js → player-account-gaming-limits-popup-vUsXFzvx.js} +1 -1
- package/lazy/{player-account-gaming-limits-wrapper-2-nd-CHmhO4Xl.cjs → player-account-gaming-limits-wrapper-2-nd-C9unGZbD.cjs} +1 -1
- package/lazy/{player-account-gaming-limits-wrapper-2-nd-BbfNv6lC.js → player-account-gaming-limits-wrapper-2-nd-Co7N0RJz.js} +1 -1
- package/lazy/{player-account-gaming-limits-wrapper-2-nd-Csgrwp3r.js → player-account-gaming-limits-wrapper-2-nd-DNv8M87a.js} +1 -1
- package/lazy/{player-account-general-confirmation-modal-Bvijw7VN.js → player-account-general-confirmation-modal-B29rB4H4.js} +1 -1
- package/lazy/{player-account-general-confirmation-modal-BKp02QuC.cjs → player-account-general-confirmation-modal-Bk37hGp_.cjs} +1 -1
- package/lazy/{player-account-general-confirmation-modal-i5YeUuZ2.js → player-account-general-confirmation-modal-CHNlJswH.js} +1 -1
- package/lazy/{player-account-menu-nd-Bo62WoN3.js → player-account-menu-nd-BsF3rYNC.js} +1 -1
- package/lazy/{player-account-menu-nd-DD7GHu_F.cjs → player-account-menu-nd-DhJgYjGa.cjs} +1 -1
- package/lazy/{player-account-menu-nd-A3UrJKt3.js → player-account-menu-nd-Dmfa-MLy.js} +1 -1
- package/lazy/{player-account-modal-Bo_UvXIW.cjs → player-account-modal-CP6cKZev.cjs} +1 -1
- package/lazy/{player-account-modal-98IpYXM4.js → player-account-modal-CiNU-U1c.js} +1 -1
- package/lazy/{player-account-modal-CxJ0U026.js → player-account-modal-DnUJgCcb.js} +1 -1
- package/lazy/{player-account-notifications-Da8vpuPI.cjs → player-account-notifications-B0aczzYy.cjs} +1 -1
- package/lazy/{player-account-notifications-Byvhk4Gk.js → player-account-notifications-DPBco1mX.js} +1 -1
- package/lazy/{player-account-notifications-DUhrNd80.js → player-account-notifications-DsQ8TkK_.js} +1 -1
- package/lazy/{player-account-product-restriction-CJJpVKOZ.js → player-account-product-restriction-BN29NYp2.js} +1 -1
- package/lazy/{player-account-product-restriction-FJKGYJ2j.cjs → player-account-product-restriction-CBySaqtq.cjs} +1 -1
- package/lazy/{player-account-product-restriction-B5PAdFsR.js → player-account-product-restriction-YKCf2pqw.js} +1 -1
- package/lazy/{player-account-review-frequency-DyiSFjOU.js → player-account-review-frequency-C2JAU-th.js} +1 -1
- package/lazy/{player-account-review-frequency-WBiaqhFJ.cjs → player-account-review-frequency-CkD6w3J0.cjs} +1 -1
- package/lazy/{player-account-review-frequency-D_S_bYwl.js → player-account-review-frequency-DMhYtV-q.js} +1 -1
- package/lazy/{player-account-self-exclusion-nd-wPqfDWEH.cjs → player-account-self-exclusion-nd-91g2Jpjk.cjs} +1 -1
- package/lazy/{player-account-self-exclusion-nd-ULcx5Tyb.js → player-account-self-exclusion-nd-PYDE7nPL.js} +1 -1
- package/lazy/{player-account-self-exclusion-nd-Diwj9WfI.js → player-account-self-exclusion-nd-YmUzjuBI.js} +1 -1
- package/lazy/{player-account-timeout-BaZQABJK.cjs → player-account-timeout-CIxKL-Tb.cjs} +1 -1
- package/lazy/{player-account-timeout-DVmhr3sB.js → player-account-timeout-Du5k61Nw.js} +1 -1
- package/lazy/{player-account-timeout-B4OHXwET.js → player-account-timeout-e3siBjrN.js} +1 -1
- package/lazy/{player-account-transactions-history-Yul6IwQ7.cjs → player-account-transactions-history-2YVVnWak.cjs} +1 -1
- package/lazy/{player-account-transactions-history-hDtZA-lh.js → player-account-transactions-history-BzL532Mo.js} +1 -1
- package/lazy/{player-account-transactions-history-BBwXlVzi.js → player-account-transactions-history-DzL-Ua_a.js} +1 -1
- package/lazy/{player-active-bonuses-B9SickvB.js → player-active-bonuses-CQFoPtnR.js} +1 -1
- package/lazy/{player-active-bonuses-B5fqvPy2.js → player-active-bonuses-Cc3r9U26.js} +1 -1
- package/lazy/{player-active-bonuses-CYagEPhQ.cjs → player-active-bonuses-gNDxtZ_Q.cjs} +1 -1
- package/lazy/{player-bonus-card-DS-sAk2v.js → player-bonus-card-BgL8OTh-.js} +1 -1
- package/lazy/{player-bonus-card-DITCcK3w.js → player-bonus-card-Bt_58hXg.js} +1 -1
- package/lazy/{player-bonus-card-CdWy6hMj.cjs → player-bonus-card-CzNDRjEr.cjs} +1 -1
- package/lazy/{player-bonus-history-BkJTyl5L.js → player-bonus-history-AoDaZtg4.js} +1 -1
- package/lazy/{player-bonus-history-C94OODQx.js → player-bonus-history-KgBRzXfF.js} +1 -1
- package/lazy/{player-bonus-history-Dkc_6Gc5.cjs → player-bonus-history-hGEeVvun.cjs} +1 -1
- package/lazy/{player-change-password-nd-CohHSHAE.js → player-change-password-nd-84xRc6cb.js} +1 -1
- package/lazy/{player-change-password-nd-B-zDztDo.js → player-change-password-nd-C2ggL4xG.js} +1 -1
- package/lazy/{player-change-password-nd-DzQE_OhS.cjs → player-change-password-nd-DSlZISX6.cjs} +1 -1
- package/lazy/{player-deposit-CKXchV8W.js → player-deposit-BZnijiYS.js} +1 -1
- package/lazy/{player-deposit-Jmm4nWVd.js → player-deposit-CFvDX-Iz.js} +1 -1
- package/lazy/{player-deposit-CbjbntVa.cjs → player-deposit-DN8yWMav.cjs} +1 -1
- package/lazy/{player-gaming-history-XcKt00ks.js → player-gaming-history-BHsWnbOr.js} +1 -1
- package/lazy/{player-gaming-history-DpjjUAeL.js → player-gaming-history-CFIT-xcZ.js} +1 -1
- package/lazy/{player-gaming-history-C-c1Bu26.cjs → player-gaming-history-Ds-T0_5B.cjs} +1 -1
- package/lazy/{player-pending-withdrawals-BPiXIF5d.js → player-pending-withdrawals-B5EUy6QQ.js} +1 -1
- package/lazy/{player-pending-withdrawals-Cb8mKzXS.cjs → player-pending-withdrawals-BKF30Ytc.cjs} +1 -1
- package/lazy/{player-pending-withdrawals-B0Cwo8i0.js → player-pending-withdrawals-DEQovrAd.js} +1 -1
- package/lazy/{player-profile-info-Bx7JraGm.js → player-profile-info-B7y1K6vT.js} +1 -1
- package/lazy/{player-profile-info-C8hfSp2O.js → player-profile-info-BoQ-ZUKw.js} +1 -1
- package/lazy/{player-profile-info-ytrwvPCg.cjs → player-profile-info-Dq9lLxYq.cjs} +1 -1
- package/lazy/{player-reality-check-Gg2S5DD4.js → player-reality-check-DRBMvZo5.js} +1 -1
- package/lazy/{player-reality-check-DnDEv6A4.cjs → player-reality-check-LBliE1vC.cjs} +1 -1
- package/lazy/{player-reality-check-DIBLVj2l.js → player-reality-check-LTChObmE.js} +1 -1
- package/lazy/{player-transaction-history-B8XIrrdD.js → player-transaction-history-D4oPDgib.js} +1 -1
- package/lazy/{player-transaction-history-bYs96IVR.cjs → player-transaction-history-DTFW3FuX.cjs} +1 -1
- package/lazy/{player-transaction-history-C1Nx5n0i.js → player-transaction-history-DuQB0CHU.js} +1 -1
- package/lazy/{player-withdrawal-B2eYOkk1.js → player-withdrawal-Bof_gJhg.js} +1 -1
- package/lazy/{player-withdrawal-Co5NuRN4.js → player-withdrawal-CzDKCIln.js} +1 -1
- package/lazy/{player-withdrawal-DtDrffyO.cjs → player-withdrawal-D_fgkNae.cjs} +1 -1
- package/package.json +1 -1
- package/stencil/{checkbox-group-input_16-XOWM3Q-h.js → checkbox-group-input_16-BjcJ9jEr.js} +8 -4
- package/stencil/{checkbox-group-input_16-6ZI7a1g0.js → checkbox-group-input_16-CQJmEzGo.js} +8 -4
- package/stencil/{checkbox-group-input_16-B_tpgEQn.cjs → checkbox-group-input_16-CXwL8zmd.cjs} +2 -2
- package/stencil/{pam-change-password-121f4e26-wg_M9Nea.cjs → pam-change-password-121f4e26-310w8a8i.cjs} +1 -1
- package/stencil/{pam-change-password-121f4e26-TFzWVSbc.js → pam-change-password-121f4e26-B-k_fa1t.js} +1 -1
- package/stencil/{pam-change-password-121f4e26-DVupJlmX.js → pam-change-password-121f4e26-C9DNbRUa.js} +1 -1
- package/stencil/{pam-change-password-Cnqh4pUX.cjs → pam-change-password-B1hBdA4d.cjs} +1 -1
- package/stencil/{pam-change-password-BWD5aLNF.js → pam-change-password-CEmaa_sr.js} +2 -2
- package/stencil/{pam-change-password-DDSNd0BP.js → pam-change-password-DHZzkj_R.js} +2 -2
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { a as ii, $ as ti, S as si, i as ai, s as Oe, f as b, b as ni, U as O, d as k, V as y, W as v, X as D, Y as V, Z as H, _ as B, c as z, m as _, e as L, p as T, r as h, g as ri, a0 as oi, h as li, o as mi, t as se, u as Q, n as G, j as te, w as De, x as N, k as ye, l as ui, a1 as C,
|
|
2
|
-
import "../lazy/player-account-gaming-limits-page-2-gm16-nd-
|
|
3
|
-
import "../lazy/player-account-gaming-limits-history-2-nd-
|
|
1
|
+
import { a as ii, $ as ti, S as si, i as ai, s as Oe, f as b, b as ni, U as O, d as k, V as y, W as v, X as D, Y as V, Z as H, _ as B, c as z, m as _, e as L, p as T, r as h, g as ri, a0 as oi, h as li, o as mi, t as se, u as Q, n as G, j as te, w as De, x as N, k as ye, l as ui, a1 as C, K as Ve, q as l, J as ke, z as di, A as ci, B as pi, C as fi, D as gi } from "./PlayerAccountControllerNd-CZ_gy_zb.js";
|
|
2
|
+
import "../lazy/player-account-gaming-limits-page-2-gm16-nd-DKJhLBVS.js";
|
|
3
|
+
import "../lazy/player-account-gaming-limits-history-2-nd-Ba3NadeJ.js";
|
|
4
4
|
function ze(i, e) {
|
|
5
5
|
ii(i, e);
|
|
6
6
|
}
|
|
@@ -1220,13 +1220,13 @@ function Ai(i, e, t) {
|
|
|
1220
1220
|
ri(i, gi, (o) => t(34, a = o));
|
|
1221
1221
|
let { $$slots: s = {}, $$scope: n } = e;
|
|
1222
1222
|
const r = oi(s);
|
|
1223
|
-
let { lang: c = "" } = e, { userid: m = "" } = e, { session: p = "" } = e, { endpoint: f = "" } = e, { currency: u = "" } = e, { apiversion: d = "" } = e, { tablabels: g = "" } = e, { historyenabled: j = "true" } = e, { enablecompliancetext: S = "false" } = e, { netdepositprogress: A = "false" } = e, { deletelimit: ae = "" } = e, { limitsamount: K = "" } = e, { inputhasdecimals: ne } = e, { limitsperiods: x = "" } = e, { numberofentries: re = "" } = e, { customcurrencysymbols: oe = "" } = e, { limitformat: le = "" } = e, { allowedextenssion: me = ".jpg,.jpeg,.png,.pdf,.webp,image/png" } = e, { filesizeallow: ue = "12934000" } = e, { timezone: de = "GMT" } = e, { clientstyling: E = "" } = e, { clientstylingurl: Y = "" } = e, { translationurl: R = "" } = e, { mbsource: Z } = e, { companylimits: ce = "false" } = e, { limittabvisible: pe = "false" } = e, { defaultperiod: fe = "" } = e, { islimitNotification: ge = "false" } = e, { customcontentontab: q = "" } = e, { cooloffstrictmode: be = "false" } = e, U = !0, W, He, M = [], he = [], P, F,
|
|
1223
|
+
let { lang: c = "" } = e, { userid: m = "" } = e, { session: p = "" } = e, { endpoint: f = "" } = e, { currency: u = "" } = e, { apiversion: d = "" } = e, { tablabels: g = "" } = e, { historyenabled: j = "true" } = e, { enablecompliancetext: S = "false" } = e, { netdepositprogress: A = "false" } = e, { deletelimit: ae = "" } = e, { limitsamount: K = "" } = e, { inputhasdecimals: ne } = e, { limitsperiods: x = "" } = e, { numberofentries: re = "" } = e, { customcurrencysymbols: oe = "" } = e, { limitformat: le = "" } = e, { allowedextenssion: me = ".jpg,.jpeg,.png,.pdf,.webp,image/png" } = e, { filesizeallow: ue = "12934000" } = e, { timezone: de = "GMT" } = e, { clientstyling: E = "" } = e, { clientstylingurl: Y = "" } = e, { translationurl: R = "" } = e, { mbsource: Z } = e, { companylimits: ce = "false" } = e, { limittabvisible: pe = "false" } = e, { defaultperiod: fe = "" } = e, { islimitNotification: ge = "false" } = e, { customcontentontab: q = "" } = e, { cooloffstrictmode: be = "false" } = e, U = !0, W, He, M = [], he = [], P, F, J, $, Ke = window.navigator.userAgent, ve = li(Ke) !== "PC", ee = q ? Number(q) : -1, I = 0;
|
|
1224
1224
|
const Ee = () => {
|
|
1225
1225
|
bi(c);
|
|
1226
1226
|
}, Ye = () => {
|
|
1227
1227
|
fetch(R).then((w) => w.json()).then((w) => {
|
|
1228
|
-
Object.keys(w).forEach((
|
|
1229
|
-
ze(
|
|
1228
|
+
Object.keys(w).forEach((X) => {
|
|
1229
|
+
ze(X, w[X]);
|
|
1230
1230
|
});
|
|
1231
1231
|
}).catch((w) => {
|
|
1232
1232
|
console.log(w);
|
|
@@ -1236,16 +1236,16 @@ function Ai(i, e, t) {
|
|
|
1236
1236
|
ze(o, Le[o]);
|
|
1237
1237
|
});
|
|
1238
1238
|
const Re = (o, w) => {
|
|
1239
|
-
if (t(31,
|
|
1239
|
+
if (t(31, J = o.replace(/\s/g, "").split("|")), t(32, $ = w.replace(/\s/g, "").split("|")), J.length === 0)
|
|
1240
1240
|
throw new Error("Please provide a full limits configuration.");
|
|
1241
|
-
if (
|
|
1241
|
+
if (J.length !== $.length)
|
|
1242
1242
|
throw new Error("Please make sure that the limit configuration parameters specify the same number of tabs.");
|
|
1243
1243
|
}, Ze = () => {
|
|
1244
1244
|
Re(K, x), K.split("|").forEach((w) => {
|
|
1245
1245
|
M.includes(w) || M.push(w);
|
|
1246
1246
|
}), g.split(",").forEach((w) => {
|
|
1247
|
-
let
|
|
1248
|
-
he.push({ name:
|
|
1247
|
+
let X = w.trim(), $e = w.trim().replaceAll(" ", "").toLowerCase() + "_description", ei = w.trim().replaceAll(" ", "").toLowerCase() + "_label";
|
|
1248
|
+
he.push({ name: X, description: $e, label: ei });
|
|
1249
1249
|
}), t(26, U = !1);
|
|
1250
1250
|
}, Ue = () => {
|
|
1251
1251
|
t(33, ee = q ? Number(q) : -1);
|
|
@@ -1263,8 +1263,8 @@ function Ai(i, e, t) {
|
|
|
1263
1263
|
mi(() => () => {
|
|
1264
1264
|
t(28, P = null), t(30, F = null);
|
|
1265
1265
|
});
|
|
1266
|
-
const Fe = () => _e(),
|
|
1267
|
-
function
|
|
1266
|
+
const Fe = () => _e(), Je = (o) => ie(o);
|
|
1267
|
+
function Xe(o) {
|
|
1268
1268
|
te[o ? "unshift" : "push"](() => {
|
|
1269
1269
|
F = o, t(30, F);
|
|
1270
1270
|
});
|
|
@@ -1326,7 +1326,7 @@ function Ai(i, e, t) {
|
|
|
1326
1326
|
P,
|
|
1327
1327
|
I,
|
|
1328
1328
|
F,
|
|
1329
|
-
|
|
1329
|
+
J,
|
|
1330
1330
|
$,
|
|
1331
1331
|
ee,
|
|
1332
1332
|
a,
|
|
@@ -1343,8 +1343,8 @@ function Ai(i, e, t) {
|
|
|
1343
1343
|
n,
|
|
1344
1344
|
s,
|
|
1345
1345
|
Fe,
|
|
1346
|
-
Xe,
|
|
1347
1346
|
Je,
|
|
1347
|
+
Xe,
|
|
1348
1348
|
Qe,
|
|
1349
1349
|
xe
|
|
1350
1350
|
];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as Y, $ as Z, S as F, i as J, s as K, f as h, b as Q, U as $, d as S, v as ee, V as te, W as ne, X as oe, Y as ae, Z as re, t as E, c as j, m as d, w as L, e as _, p as B, u as T, r as i, g as ie, h as le, o as se, j as ce, n as me, x as W, z as fe, A as de, B as ue, C as be, D as ge } from "./PlayerAccountControllerNd-
|
|
1
|
+
import { a as Y, $ as Z, S as F, i as J, s as K, f as h, b as Q, U as $, d as S, v as ee, V as te, W as ne, X as oe, Y as ae, Z as re, t as E, c as j, m as d, w as L, e as _, p as B, u as T, r as i, g as ie, h as le, o as se, j as ce, n as me, x as W, z as fe, A as de, B as ue, C as be, D as ge } from "./PlayerAccountControllerNd-CZ_gy_zb.js";
|
|
2
2
|
function N(n, e) {
|
|
3
3
|
Y(n, e);
|
|
4
4
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./PlayerAccountControllerNd-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./PlayerAccountControllerNd-BoTaxLV0.cjs");function A(o,t){e.addMessages(o,t)}function W(o){e.$locale.set(o)}const z={en:{cancel:"Cancel",confirm:"Confirm"},fr:{cancel:"Annuler",confirm:"Confirmer"},ro:{cancel:"Anulează",confirm:"Confirmă"},es:{cancel:"Cancelar",confirm:"Confirmar"},pt:{cancel:"Cancelar",confirm:"Confirmar"},"zh-hk":{cancel:"取消",confirm:"確認"},hr:{cancel:"Otkaži",confirm:"Potvrdi"},"pt-br":{cancel:"Cancelar",confirm:"confirme"},"es-mx":{cancel:"Cancelar",confirm:"Confirmar"},tr:{cancel:"İptal etmek",confirm:"Onaylamak"},"en-us":{cancel:"Cancel",confirm:"Confirm"}};function q(o){e.append_styles(o,"svelte-8g0wf4",'*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.GeneralConfirmationWrapper{position:fixed;top:0;right:0;bottom:0;left:0;background-color:var(--emw--color-background, rgba(0, 0, 0, 0.7));display:flex;justify-content:center;align-items:center;z-index:300;color:var(--emw--color-typography, #ffffff)}.GeneralConfirmationTitle{margin-bottom:20px}.GeneralConfirmationContainer{position:relative;background:linear-gradient(to right, var(--emw--color-primary-variant, #184026), var(--emw--color-secondary-variant, #013e5c));border:5px solid transparent;padding:60px 30px 30px;background-clip:padding-box;border-radius:var(--emw--border-radius-medium, 10px);text-align:center}.GeneralConfirmationContainer::before{content:"";position:absolute;top:-4px;left:-8px;width:103%;height:105%;z-index:-1;background:linear-gradient(to right, var(--emw--color-primary, #22b04e), color-mix(in srgb, var(--emw--color-secondary, #e98b0f) 80%, black 20%), #22b04e);opacity:0.5;border-radius:inherit;filter:blur(6px)}.GeneralConfirmationContainer::after{position:absolute;top:-4px;bottom:-4px;left:-4px;right:-4px;background:linear-gradient(to right, color-mix(in srgb, var(--emw--color-primary-variant, #184026) 80%, white 10%), color-mix(in srgb, var(--emw--color-secondary-variant, #013e5c) 80%, white 10%));content:"";z-index:-1;border-radius:var(--emw--border-radius-medium, 10px)}.GeneralConfirmationContainerMobile{padding:40px;max-width:330px}.GeneralConfirmationContainerMobile .GeneralConfirmationControlAreaMobile .GeneralCancelButton,.GeneralConfirmationContainerMobile .GeneralConfirmationControlAreaMobile .GeneralConfirmButton{width:120px;height:auto;font-size:var(--emw--font-size-x-small, 12px)}.GeneralConfirmationContent{font-size:var(--emw--font-size-medium, 18px);font-weight:300}.GeneralConfirmationControlArea{display:flex;gap:10px;direction:ltr;margin-top:30px}.GeneralConfirmationControlArea .GeneralCancelButton,.GeneralConfirmationControlArea .GeneralConfirmButton{flex:1;background:transparent;border:1px solid var(--emw--color-gray-100, #bfcbc3);color:var(--emw--color-gray-100, #bfcbc3);cursor:pointer;border-radius:var(--emw--button-border-radius, 50px);width:200px;height:50px;font-size:var(--emw--font-size-small, 16px);text-transform:uppercase;text-align:center;transition-duration:0.3s;box-sizing:border-box;padding:10px}.GeneralConfirmationControlArea .GeneralConfirmButton{background-color:var(--emw--color-primary, #22b04e);border:2px solid var(--emw--button-border-color, #063b17);border-radius:var(--emw--button-border-radius, 50px);color:var(--emw--button-typography, var(--emw--button-text-color, #ffffff))}.ModalCloseBtn{position:absolute;display:flex;align-items:center;justify-content:center;top:5px;right:5px;padding:8px;border-radius:50%;cursor:pointer;transition:all 150ms ease-in-out}.ModalCloseBtn svg{width:35px;height:40px}.ModalCloseBtn:hover{background:rgba(255, 255, 255, 0.2)}.GeneralConfirmationMobileWrapper{border:none;padding:0}')}const H=o=>({}),B=o=>({});function R(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(a,i){e.insert(a,t,i),e.append(t,n)},p:e.noop,d(a){a&&e.detach(t)}}}function S(o){let t,n,a;return{c(){t=e.element("div"),n=e.element("h2"),a=e.text(o[1]),e.attr(t,"class","GeneralConfirmationTitle")},m(i,f){e.insert(i,t,f),e.append(t,n),e.append(n,a)},p(i,f){f&2&&e.set_data(a,i[1])},d(i){i&&e.detach(t)}}}function j(o){let t,n=o[4]("cancel")+"",a,i,f;return{c(){t=e.element("button"),a=e.text(n),e.attr(t,"class","GeneralCancelButton")},m(d,C){e.insert(d,t,C),e.append(t,a),i||(f=e.listen(t,"click",o[18]),i=!0)},p(d,C){C&16&&n!==(n=d[4]("cancel")+"")&&e.set_data(a,n)},d(d){d&&e.detach(t),i=!1,f()}}}function U(o){let t,n,a,i,f,d,C,g,v,h,x=o[4]("confirm")+"",_,u,y,k;const w=o[17].close,c=e.create_slot(w,o,o[16],B),p=c||R();let s=o[1]&&S(o),m=o[2]&&j(o);return{c(){t=e.element("div"),n=e.element("div"),a=e.element("span"),p&&p.c(),i=e.space(),s&&s.c(),f=e.space(),d=e.element("div"),C=e.space(),g=e.element("div"),m&&m.c(),v=e.space(),h=e.element("button"),_=e.text(x),e.attr(a,"class","ModalCloseBtn"),e.attr(a,"role","button"),e.attr(d,"class","GeneralConfirmationContent"),e.attr(h,"class","GeneralConfirmButton"),e.attr(g,"class","GeneralConfirmationControlArea "+(o[5]?"GeneralConfirmationControlAreaMobile":"")),e.attr(n,"class","GeneralConfirmationContainer "+(o[5]?"GeneralConfirmationContainerMobile":"")),e.attr(t,"class","GeneralConfirmationWrapper "+(o[5]?"GeneralConfirmationMobileWrapper":""))},m(l,b){e.insert(l,t,b),e.append(t,n),e.append(n,a),p&&p.m(a,null),e.append(n,i),s&&s.m(n,null),e.append(n,f),e.append(n,d),d.innerHTML=o[0],e.append(n,C),e.append(n,g),m&&m.m(g,null),e.append(g,v),e.append(g,h),e.append(h,_),o[20](t),u=!0,y||(k=[e.listen(a,"click",o[6]),e.listen(h,"click",o[19])],y=!0)},p(l,[b]){c&&c.p&&(!u||b&65536)&&e.update_slot_base(c,w,l,l[16],u?e.get_slot_changes(w,l[16],b,H):e.get_all_dirty_from_scope(l[16]),B),l[1]?s?s.p(l,b):(s=S(l),s.c(),s.m(n,f)):s&&(s.d(1),s=null),(!u||b&1)&&(d.innerHTML=l[0]),l[2]?m?m.p(l,b):(m=j(l),m.c(),m.m(g,v)):m&&(m.d(1),m=null),(!u||b&16)&&x!==(x=l[4]("confirm")+"")&&e.set_data(_,x)},i(l){u||(e.transition_in(p,l),u=!0)},o(l){e.transition_out(p,l),u=!1},d(l){l&&e.detach(t),p&&p.d(l),s&&s.d(),m&&m.d(),o[20](null),y=!1,e.run_all(k)}}}function D(o,t,n){let a;e.component_subscribe(o,e.$format,r=>n(4,a=r));let{$$slots:i={},$$scope:f}=t,{modaltext:d="Are you sure that you want to perform this action?"}=t,{modaltitle:C=""}=t,{hascancelbutton:g=!1}=t,{modalconfirmevent:v=""}=t,{modalcancelevent:h=""}=t,{modalconfirmdata:x={}}=t,{lang:_="en"}=t,{clientstyling:u=""}=t,{clientstylingurl:y=""}=t,{translationurl:k=""}=t,{mbsource:w}=t,c,p,s=window.navigator.userAgent,m=e.getDevice(s)!=="PC";const l=()=>{window.postMessage({type:"ModalClosed"},window.location.href)},b=r=>{r==="confirm"&&v&&c.dispatchEvent(new CustomEvent(v,{detail:x,bubbles:!0,composed:!0})),r==="cancel"&&h&&c.dispatchEvent(new CustomEvent(h,{bubbles:!0,composed:!0})),l()},T=()=>{fetch(k).then(G=>G.json()).then(G=>{Object.keys(G).forEach(M=>{A(M,G[M])})}).catch(G=>{console.log(G)})};Object.keys(z).forEach(r=>{A(r,z[r])});const E=()=>{W(_)};e.onMount(()=>()=>{});const O=()=>b("cancel"),P=()=>b("confirm");function N(r){e.binding_callbacks[r?"unshift":"push"](()=>{c=r,n(3,c)})}return o.$$set=r=>{"modaltext"in r&&n(0,d=r.modaltext),"modaltitle"in r&&n(1,C=r.modaltitle),"hascancelbutton"in r&&n(2,g=r.hascancelbutton),"modalconfirmevent"in r&&n(8,v=r.modalconfirmevent),"modalcancelevent"in r&&n(9,h=r.modalcancelevent),"modalconfirmdata"in r&&n(10,x=r.modalconfirmdata),"lang"in r&&n(11,_=r.lang),"clientstyling"in r&&n(12,u=r.clientstyling),"clientstylingurl"in r&&n(13,y=r.clientstylingurl),"translationurl"in r&&n(14,k=r.translationurl),"mbsource"in r&&n(15,w=r.mbsource),"$$scope"in r&&n(16,f=r.$$scope)},o.$$.update=()=>{o.$$.dirty&2049&&d&&_&&E(),o.$$.dirty&4104&&u&&c&&e.setClientStyling(c,u),o.$$.dirty&8200&&y&&c&&e.setClientStylingURL(c,y),o.$$.dirty&32776&&w&&c&&e.setStreamStyling(c,`${w}.Style`,p),o.$$.dirty&16384&&k&&T()},[d,C,g,c,a,m,l,b,v,h,x,_,u,y,k,w,f,i,O,P,N]}class L extends e.SvelteComponent{constructor(t){super(),e.init(this,t,D,U,e.safe_not_equal,{modaltext:0,modaltitle:1,hascancelbutton:2,modalconfirmevent:8,modalcancelevent:9,modalconfirmdata:10,lang:11,clientstyling:12,clientstylingurl:13,translationurl:14,mbsource:15},q)}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 modalconfirmdata(){return this.$$.ctx[10]}set modalconfirmdata(t){this.$$set({modalconfirmdata:t}),e.flush()}get lang(){return this.$$.ctx[11]}set lang(t){this.$$set({lang:t}),e.flush()}get clientstyling(){return this.$$.ctx[12]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[13]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get translationurl(){return this.$$.ctx[14]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}get mbsource(){return this.$$.ctx[15]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}}e.create_custom_element(L,{modaltext:{},modaltitle:{},hascancelbutton:{type:"Boolean"},modalconfirmevent:{},modalcancelevent:{},modalconfirmdata:{},lang:{},clientstyling:{},clientstylingurl:{},translationurl:{},mbsource:{}},["close"],[],!0);exports.default=L;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as Y, $ as Z, S as F, i as J, s as K, f as h, b as Q, V as $, d as S, w as ee, W as te, X as ne, Y as oe, Z as ae, _ as re, u as E, c as j, p as d, x as L, e as _, q as z, v as T, t as i, g as ie, h as le, j as se, o as ce, k as me, n as fe, y as W, A as de, B as ue, C as be, D as ge } from "./PlayerAccountControllerNd-
|
|
1
|
+
import { a as Y, $ as Z, S as F, i as J, s as K, f as h, b as Q, V as $, d as S, w as ee, W as te, X as ne, Y as oe, Z as ae, _ as re, u as E, c as j, p as d, x as L, e as _, q as z, v as T, t as i, g as ie, h as le, j as se, o as ce, k as me, n as fe, y as W, A as de, B as ue, C as be, D as ge } from "./PlayerAccountControllerNd-DHCZWllJ.js";
|
|
2
2
|
function N(n, e) {
|
|
3
3
|
Y(n, e);
|
|
4
4
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { a as de, $ as ge, S as fe, i as ye, s as pe, f as I, b as he, n as O, d as F, c as L, e as b, g as be, h as X, o as Ae, j as Me, k as z, l as te, m as a, p as k, q as m, r as d, t as S, u as H, v as we, w as U, x as B, y as Z, z as ve, A as Pe, B as _e, C as xe, D as ke } from "./PlayerAccountControllerNd-
|
|
1
|
+
import { a as de, $ as ge, S as fe, i as ye, s as pe, f as I, b as he, n as O, d as F, c as L, e as b, g as be, h as X, o as Ae, j as Me, k as z, l as te, m as a, p as k, q as m, r as d, t as S, u as H, v as we, w as U, x as B, y as Z, z as ve, A as Pe, B as _e, C as xe, D as ke } from "./PlayerAccountControllerNd-CZ_gy_zb.js";
|
|
2
2
|
import "../stencil/ui-skeleton-Dd7tqzYw.js";
|
|
3
|
-
import "../lazy/general-logout-
|
|
3
|
+
import "../lazy/general-logout-jXcQyV0H.js";
|
|
4
4
|
function J(n, e) {
|
|
5
5
|
de(n, e);
|
|
6
6
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./PlayerAccountControllerNd-CzgnM-j0.cjs");require("../stencil/ui-skeleton-DCajaTYn.cjs");require("../lazy/general-logout-Ci3PIPj2.cjs");function W(l,t){e.addMessages(l,t)}function Q(l){e.$locale.set(l)}const S={en:{title:"My Account"},"zh-hk":{title:"我的帳戶"},fr:{title:"Mon compte"},tr:{title:"Hesabım"},ro:{title:"Contul meu"},es:{title:"Mi Cuenta"},pt:{title:"Minha Conta"},hr:{title:"Moj račun"},"pt-br":{title:"Minha conta"},"es-mx":{title:"Mi cuenta"},"en-us":{title:"My Account"}};function Y(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 $(l){let t,n,a,i,s,m,f,y,A,h,_,b,u=l[12]&&te(l),c=l[12]&&ne(l),d=e.ensure_array_like(l[7]),o=[];for(let p=0;p<d.length;p+=1)o[p]=O(T(l,d,p));let v=!l[12]&&le(l);return{c(){t=e.element("div"),n=e.element("div"),u&&u.c(),a=e.space(),i=e.element("p"),s=e.text(l[9]),m=e.space(),f=e.element("p"),y=e.text(l[10]),A=e.space(),c&&c.c(),h=e.space(),_=e.element("div");for(let p=0;p<o.length;p+=1)o[p].c();b=e.space(),v&&v.c(),e.attr(i,"class","PlayerAccountMenuUser"),e.attr(i,"translate","no"),e.attr(f,"class","PlayerAccountMenuEmail"),e.attr(f,"translate","no"),e.attr(n,"class","PlayerAccountMenuHeader "+(l[12]?"PlayerAccountMenuHeaderMobile":"")),e.attr(_,"class","PlayerAccountMenuList"),e.attr(t,"class","PlayerAccountMenuContainer "+(l[12]?"PlayerAccountMobileContainer":""))},m(p,w){e.insert(p,t,w),e.append(t,n),u&&u.m(n,null),e.append(n,a),e.append(n,i),e.append(i,s),e.append(n,m),e.append(n,f),e.append(f,y),e.append(n,A),c&&c.m(n,null),e.append(t,h),e.append(t,_);for(let g=0;g<o.length;g+=1)o[g]&&o[g].m(_,null);e.append(t,b),v&&v.m(t,null)},p(p,w){if(p[12]&&u.p(p,w),w[0]&512&&e.set_data(s,p[9]),w[0]&1024&&e.set_data(y,p[10]),p[12]&&c.p(p,w),w[0]&12672){d=e.ensure_array_like(p[7]);let g;for(g=0;g<d.length;g+=1){const x=T(p,d,g);o[g]?o[g].p(x,w):(o[g]=O(x),o[g].c(),o[g].m(_,null))}for(;g<o.length;g+=1)o[g].d(1);o.length=d.length}p[12]||v.p(p,w)},d(p){p&&e.detach(t),u&&u.d(),c&&c.d(),e.destroy_each(o,p),v&&v.d()}}}function ee(l){let t,n,a,i,s,m,f,y,A,h,_=l[12]&&ae(),b=e.ensure_array_like(Array(18)),u=[];for(let c=0;c<b.length;c+=1)u[c]=j(z(l,b,c));return{c(){t=e.element("div"),n=e.element("div"),_&&_.c(),a=e.space(),i=e.element("ui-skeleton"),s=e.space(),m=e.element("ui-skeleton"),f=e.space(),y=e.element("div");for(let c=0;c<u.length;c+=1)u[c].c();A=e.space(),h=e.element("div"),h.innerHTML='<ui-skeleton structure="rectangle" width="auto" height="60px"></ui-skeleton>',e.set_custom_element_data(i,"structure","title"),e.set_custom_element_data(i,"width","100px"),e.set_custom_element_data(i,"height","20px"),e.set_custom_element_data(i,"margin-top","20px"),e.set_custom_element_data(m,"structure","text"),e.set_custom_element_data(m,"width","200px"),e.set_custom_element_data(m,"height","20px"),e.attr(n,"class","PlayerAccountMenuHeader "+(l[12]?"PlayerAccountMenuHeaderMobile":"")),e.attr(y,"class","PlayerAccountMenuList"),e.attr(h,"class","skeletonLogOut"),e.attr(t,"class","PlayerAccountMenuContainer "+(l[12]?"PlayerAccountMobileContainer":""))},m(c,d){e.insert(c,t,d),e.append(t,n),_&&_.m(n,null),e.append(n,a),e.append(n,i),e.append(n,s),e.append(n,m),e.append(t,f),e.append(t,y);for(let o=0;o<u.length;o+=1)u[o]&&u[o].m(y,null);e.append(t,A),e.append(t,h)},p(c,d){if(d[0]&4096){b=e.ensure_array_like(Array(18));let o;for(o=0;o<b.length;o+=1){const v=z(c,b,o);u[o]?u[o].p(v,d):(u[o]=j(v),u[o].c(),u[o].m(y,null))}for(;o<u.length;o+=1)u[o].d(1);u.length=b.length}},d(c){c&&e.detach(t),_&&_.d(),e.destroy_each(u,c)}}}function te(l){let t,n,a,i,s,m,f,y,A,h,_=l[11]("title")+"",b,u,c;return{c(){t=e.element("div"),n=e.svg_element("svg"),a=e.svg_element("defs"),i=e.svg_element("style"),s=e.text(".aaa{fill:var(--emw--color-white, #FFFFFF);}"),m=e.svg_element("g"),f=e.svg_element("g"),y=e.svg_element("path"),A=e.space(),h=e.element("h3"),b=e.text(_),e.attr(y,"class","aaa"),e.attr(y,"d","M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"),e.attr(y,"transform","translate(15 15) rotate(180)"),e.attr(f,"transform","translate(20 158)"),e.attr(m,"transform","translate(-20 -158)"),e.attr(n,"xmlns","http://www.w3.org/2000/svg"),e.attr(n,"width","15"),e.attr(n,"height","15"),e.attr(n,"viewBox","0 0 15 15"),e.attr(h,"class","PlayerAccountMenuCategoryTitle"),e.attr(t,"class","PlayerAccountMenuCategoryWrapper")},m(d,o){e.insert(d,t,o),e.append(t,n),e.append(n,a),e.append(a,i),e.append(i,s),e.append(n,m),e.append(m,f),e.append(f,y),e.append(t,A),e.append(t,h),e.append(h,b),u||(c=[e.listen(n,"click",l[14]),e.listen(h,"click",l[14])],u=!0)},p(d,o){o[0]&2048&&_!==(_=d[11]("title")+"")&&e.set_data(b,_)},d(d){d&&e.detach(t),u=!1,e.run_all(c)}}}function 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 O(l){let t,n,a,i,s,m,f=l[41].label+"",y,A,h,_,b;function u(){return l[25](l[41])}return{c(){t=e.element("div"),n=e.element("p"),a=e.element("img"),s=e.space(),m=e.element("span"),y=e.text(f),A=e.space(),e.attr(a,"class","PlayerAccountMenuItemIcon "+(l[12]?"PlayerAccountMenuItemIconMobile":"")),e.src_url_equal(a.src,i=l[41].img)||e.attr(a,"src",i),e.attr(m,"class","PlayerAccountMenuItemTitle"),e.attr(n,"class","PlayerAccountMenuItemWrapper"),e.attr(t,"class",h="PlayerAccountMenuItemBox "+(l[8]===l[41].id&&!l[12]?"PlayerAccountMenuActiveItemBox":""))},m(c,d){e.insert(c,t,d),e.append(t,n),e.append(n,a),e.append(n,s),e.append(n,m),e.append(m,y),e.append(t,A),_||(b=e.listen(t,"click",u),_=!0)},p(c,d){l=c,d[0]&128&&!e.src_url_equal(a.src,i=l[41].img)&&e.attr(a,"src",i),d[0]&128&&f!==(f=l[41].label+"")&&e.set_data(y,f),d[0]&384&&h!==(h="PlayerAccountMenuItemBox "+(l[8]===l[41].id&&!l[12]?"PlayerAccountMenuActiveItemBox":""))&&e.attr(t,"class",h)},d(c){c&&e.detach(t),_=!1,b()}}}function le(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 ae(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 re(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 j(l){let t,n,a,i,s=!l[12]&&re();return{c(){t=e.element("div"),s&&s.c(),n=e.space(),a=e.element("ui-skeleton"),i=e.space(),e.set_custom_element_data(a,"structure","rectangle"),e.set_custom_element_data(a,"width","100%"),e.set_custom_element_data(a,"height",l[12]?"60px":"20px"),e.attr(t,"class","PlayerAccountItemWrap "+(l[12]?"PlayerAccountItemWrapMobile":""))},m(m,f){e.insert(m,t,f),s&&s.m(t,null),e.append(t,n),e.append(t,a),e.append(t,i)},p:e.noop,d(m){m&&e.detach(t),s&&s.d()}}}function ie(l){let t;function n(s,m){return s[6]?ee:$}let a=n(l),i=a(l);return{c(){t=e.element("div"),i.c()},m(s,m){e.insert(s,t,m),i.m(t,null),l[26](t)},p(s,m){a===(a=n(s))&&i?i.p(s,m):(i.d(1),i=a(s),i&&(i.c(),i.m(t,null)))},i:e.noop,o:e.noop,d(s){s&&e.detach(t),i.d(),l[26](null)}}}function oe(l,t,n){let a;e.component_subscribe(l,e.$format,r=>n(11,a=r));let{endpoint:i=""}=t,{cmsendpoint:s=""}=t,{env:m=""}=t,{session:f=""}=t,{playerid:y=""}=t,{lang:A="en"}=t,{selecteditem:h=""}=t,{userroles:_=""}=t,{clientstyling:b=""}=t,{clientstylingurl:u=""}=t,{mbsource:c}=t,{translationurl:d=""}=t,{activemenuitem:o=""}=t,v=!1,p=!1,w=!0,g,x,k=[],I,C=window.navigator.userAgent,D=e.getDevice(C)!=="PC",F="",L="";window.matchMedia("(min-width: 768px)");const q=()=>{fetch(d).then(M=>M.json()).then(M=>{Object.keys(M).forEach(P=>{W(P,M[P])})}).catch(M=>{console.error(M)})};Object.keys(S).forEach(r=>{W(r,S[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}},N=()=>{let r=e.getDevice(C);if(r)return r==="PC"?"dk":"mtWeb"},R=()=>{const r=new URL(`${s}/${A}/profile-menu?env=${m}`);r.searchParams.append("device",N()),fetch(r.href).then(M=>M.json()).then(M=>{n(7,k=M),H()}).catch(M=>{console.error("Error getting menu items",M)}).finally(()=>{n(23,v=!0)})},G=()=>{let r=new URL(`${i}/v1/player/${y}/profile`);r.searchParams.append("userRoles",_);let M={method:"GET",headers:{"X-SessionID":f}};fetch(r.href,M).then(P=>P.json()).then(P=>{n(9,F=P.username),n(10,L=P.email)},P=>{console.error(P)}).finally(()=>{n(24,p=!0)})},B=r=>{window.postMessage({type:"ChangeAccountPage",page:r},window.location.href),n(8,I=r.id)},H=()=>{var r;n(8,I=(r=k.find(M=>M.path.includes(o)))==null?void 0:r.id)},V=()=>{window.postMessage({type:"GoToHomepage"},window.location.href)},X=()=>{Q(A)},Z=()=>{G()};e.onMount(()=>(window.addEventListener("message",E,!1),()=>{window.removeEventListener("message",E)}));const J=r=>B(r);function K(r){e.binding_callbacks[r?"unshift":"push"](()=>{g=r,n(5,g)})}return l.$$set=r=>{"endpoint"in r&&n(1,i=r.endpoint),"cmsendpoint"in r&&n(15,s=r.cmsendpoint),"env"in r&&n(16,m=r.env),"session"in r&&n(0,f=r.session),"playerid"in r&&n(17,y=r.playerid),"lang"in r&&n(18,A=r.lang),"selecteditem"in r&&n(19,h=r.selecteditem),"userroles"in r&&n(20,_=r.userroles),"clientstyling"in r&&n(2,b=r.clientstyling),"clientstylingurl"in r&&n(3,u=r.clientstylingurl),"mbsource"in r&&n(4,c=r.mbsource),"translationurl"in r&&n(21,d=r.translationurl),"activemenuitem"in r&&n(22,o=r.activemenuitem)},l.$$.update=()=>{l.$$.dirty[0]&25165824&&n(6,w=!v||!p),l.$$.dirty[0]&262144&&A&&X(),l.$$.dirty[0]&393219&&i&&f&&y&&A&&Z(),l.$$.dirty[0]&360448&&s&&A&&m&&R(),l.$$.dirty[0]&4194304&&o&&H(),l.$$.dirty[0]&36&&b&&g&&e.setClientStyling(g,b),l.$$.dirty[0]&40&&u&&g&&e.setClientStylingURL(g,u),l.$$.dirty[0]&48&&c&&g&&e.setStreamStyling(g,`${c}.Style`,x),l.$$.dirty[0]&2097152&&d&&q()},[f,i,b,u,c,g,w,k,I,F,L,a,D,B,V,s,m,y,A,h,_,d,o,v,p,J,K]}class U extends e.SvelteComponent{constructor(t){super(),e.init(this,t,oe,ie,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},Y,[-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(U,{endpoint:{},cmsendpoint:{},env:{},session:{},playerid:{},lang:{},selecteditem:{},userroles:{},clientstyling:{},clientstylingurl:{},mbsource:{},translationurl:{},activemenuitem:{}},[],[],!0);exports.default=U;
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./PlayerAccountControllerNd-BoTaxLV0.cjs");require("../stencil/ui-skeleton-DCajaTYn.cjs");require("../lazy/general-logout-DqF_Olwl.cjs");function W(l,t){e.addMessages(l,t)}function Q(l){e.$locale.set(l)}const S={en:{title:"My Account"},"zh-hk":{title:"我的帳戶"},fr:{title:"Mon compte"},tr:{title:"Hesabım"},ro:{title:"Contul meu"},es:{title:"Mi Cuenta"},pt:{title:"Minha Conta"},hr:{title:"Moj račun"},"pt-br":{title:"Minha conta"},"es-mx":{title:"Mi cuenta"},"en-us":{title:"My Account"}};function Y(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 $(l){let t,n,a,i,s,m,f,y,A,h,_,b,u=l[12]&&te(l),c=l[12]&&ne(l),d=e.ensure_array_like(l[7]),o=[];for(let p=0;p<d.length;p+=1)o[p]=O(T(l,d,p));let v=!l[12]&&le(l);return{c(){t=e.element("div"),n=e.element("div"),u&&u.c(),a=e.space(),i=e.element("p"),s=e.text(l[9]),m=e.space(),f=e.element("p"),y=e.text(l[10]),A=e.space(),c&&c.c(),h=e.space(),_=e.element("div");for(let p=0;p<o.length;p+=1)o[p].c();b=e.space(),v&&v.c(),e.attr(i,"class","PlayerAccountMenuUser"),e.attr(i,"translate","no"),e.attr(f,"class","PlayerAccountMenuEmail"),e.attr(f,"translate","no"),e.attr(n,"class","PlayerAccountMenuHeader "+(l[12]?"PlayerAccountMenuHeaderMobile":"")),e.attr(_,"class","PlayerAccountMenuList"),e.attr(t,"class","PlayerAccountMenuContainer "+(l[12]?"PlayerAccountMobileContainer":""))},m(p,w){e.insert(p,t,w),e.append(t,n),u&&u.m(n,null),e.append(n,a),e.append(n,i),e.append(i,s),e.append(n,m),e.append(n,f),e.append(f,y),e.append(n,A),c&&c.m(n,null),e.append(t,h),e.append(t,_);for(let g=0;g<o.length;g+=1)o[g]&&o[g].m(_,null);e.append(t,b),v&&v.m(t,null)},p(p,w){if(p[12]&&u.p(p,w),w[0]&512&&e.set_data(s,p[9]),w[0]&1024&&e.set_data(y,p[10]),p[12]&&c.p(p,w),w[0]&12672){d=e.ensure_array_like(p[7]);let g;for(g=0;g<d.length;g+=1){const x=T(p,d,g);o[g]?o[g].p(x,w):(o[g]=O(x),o[g].c(),o[g].m(_,null))}for(;g<o.length;g+=1)o[g].d(1);o.length=d.length}p[12]||v.p(p,w)},d(p){p&&e.detach(t),u&&u.d(),c&&c.d(),e.destroy_each(o,p),v&&v.d()}}}function ee(l){let t,n,a,i,s,m,f,y,A,h,_=l[12]&&ae(),b=e.ensure_array_like(Array(18)),u=[];for(let c=0;c<b.length;c+=1)u[c]=j(z(l,b,c));return{c(){t=e.element("div"),n=e.element("div"),_&&_.c(),a=e.space(),i=e.element("ui-skeleton"),s=e.space(),m=e.element("ui-skeleton"),f=e.space(),y=e.element("div");for(let c=0;c<u.length;c+=1)u[c].c();A=e.space(),h=e.element("div"),h.innerHTML='<ui-skeleton structure="rectangle" width="auto" height="60px"></ui-skeleton>',e.set_custom_element_data(i,"structure","title"),e.set_custom_element_data(i,"width","100px"),e.set_custom_element_data(i,"height","20px"),e.set_custom_element_data(i,"margin-top","20px"),e.set_custom_element_data(m,"structure","text"),e.set_custom_element_data(m,"width","200px"),e.set_custom_element_data(m,"height","20px"),e.attr(n,"class","PlayerAccountMenuHeader "+(l[12]?"PlayerAccountMenuHeaderMobile":"")),e.attr(y,"class","PlayerAccountMenuList"),e.attr(h,"class","skeletonLogOut"),e.attr(t,"class","PlayerAccountMenuContainer "+(l[12]?"PlayerAccountMobileContainer":""))},m(c,d){e.insert(c,t,d),e.append(t,n),_&&_.m(n,null),e.append(n,a),e.append(n,i),e.append(n,s),e.append(n,m),e.append(t,f),e.append(t,y);for(let o=0;o<u.length;o+=1)u[o]&&u[o].m(y,null);e.append(t,A),e.append(t,h)},p(c,d){if(d[0]&4096){b=e.ensure_array_like(Array(18));let o;for(o=0;o<b.length;o+=1){const v=z(c,b,o);u[o]?u[o].p(v,d):(u[o]=j(v),u[o].c(),u[o].m(y,null))}for(;o<u.length;o+=1)u[o].d(1);u.length=b.length}},d(c){c&&e.detach(t),_&&_.d(),e.destroy_each(u,c)}}}function te(l){let t,n,a,i,s,m,f,y,A,h,_=l[11]("title")+"",b,u,c;return{c(){t=e.element("div"),n=e.svg_element("svg"),a=e.svg_element("defs"),i=e.svg_element("style"),s=e.text(".aaa{fill:var(--emw--color-white, #FFFFFF);}"),m=e.svg_element("g"),f=e.svg_element("g"),y=e.svg_element("path"),A=e.space(),h=e.element("h3"),b=e.text(_),e.attr(y,"class","aaa"),e.attr(y,"d","M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"),e.attr(y,"transform","translate(15 15) rotate(180)"),e.attr(f,"transform","translate(20 158)"),e.attr(m,"transform","translate(-20 -158)"),e.attr(n,"xmlns","http://www.w3.org/2000/svg"),e.attr(n,"width","15"),e.attr(n,"height","15"),e.attr(n,"viewBox","0 0 15 15"),e.attr(h,"class","PlayerAccountMenuCategoryTitle"),e.attr(t,"class","PlayerAccountMenuCategoryWrapper")},m(d,o){e.insert(d,t,o),e.append(t,n),e.append(n,a),e.append(a,i),e.append(i,s),e.append(n,m),e.append(m,f),e.append(f,y),e.append(t,A),e.append(t,h),e.append(h,b),u||(c=[e.listen(n,"click",l[14]),e.listen(h,"click",l[14])],u=!0)},p(d,o){o[0]&2048&&_!==(_=d[11]("title")+"")&&e.set_data(b,_)},d(d){d&&e.detach(t),u=!1,e.run_all(c)}}}function 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 O(l){let t,n,a,i,s,m,f=l[41].label+"",y,A,h,_,b;function u(){return l[25](l[41])}return{c(){t=e.element("div"),n=e.element("p"),a=e.element("img"),s=e.space(),m=e.element("span"),y=e.text(f),A=e.space(),e.attr(a,"class","PlayerAccountMenuItemIcon "+(l[12]?"PlayerAccountMenuItemIconMobile":"")),e.src_url_equal(a.src,i=l[41].img)||e.attr(a,"src",i),e.attr(m,"class","PlayerAccountMenuItemTitle"),e.attr(n,"class","PlayerAccountMenuItemWrapper"),e.attr(t,"class",h="PlayerAccountMenuItemBox "+(l[8]===l[41].id&&!l[12]?"PlayerAccountMenuActiveItemBox":""))},m(c,d){e.insert(c,t,d),e.append(t,n),e.append(n,a),e.append(n,s),e.append(n,m),e.append(m,y),e.append(t,A),_||(b=e.listen(t,"click",u),_=!0)},p(c,d){l=c,d[0]&128&&!e.src_url_equal(a.src,i=l[41].img)&&e.attr(a,"src",i),d[0]&128&&f!==(f=l[41].label+"")&&e.set_data(y,f),d[0]&384&&h!==(h="PlayerAccountMenuItemBox "+(l[8]===l[41].id&&!l[12]?"PlayerAccountMenuActiveItemBox":""))&&e.attr(t,"class",h)},d(c){c&&e.detach(t),_=!1,b()}}}function le(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 ae(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 re(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 j(l){let t,n,a,i,s=!l[12]&&re();return{c(){t=e.element("div"),s&&s.c(),n=e.space(),a=e.element("ui-skeleton"),i=e.space(),e.set_custom_element_data(a,"structure","rectangle"),e.set_custom_element_data(a,"width","100%"),e.set_custom_element_data(a,"height",l[12]?"60px":"20px"),e.attr(t,"class","PlayerAccountItemWrap "+(l[12]?"PlayerAccountItemWrapMobile":""))},m(m,f){e.insert(m,t,f),s&&s.m(t,null),e.append(t,n),e.append(t,a),e.append(t,i)},p:e.noop,d(m){m&&e.detach(t),s&&s.d()}}}function ie(l){let t;function n(s,m){return s[6]?ee:$}let a=n(l),i=a(l);return{c(){t=e.element("div"),i.c()},m(s,m){e.insert(s,t,m),i.m(t,null),l[26](t)},p(s,m){a===(a=n(s))&&i?i.p(s,m):(i.d(1),i=a(s),i&&(i.c(),i.m(t,null)))},i:e.noop,o:e.noop,d(s){s&&e.detach(t),i.d(),l[26](null)}}}function oe(l,t,n){let a;e.component_subscribe(l,e.$format,r=>n(11,a=r));let{endpoint:i=""}=t,{cmsendpoint:s=""}=t,{env:m=""}=t,{session:f=""}=t,{playerid:y=""}=t,{lang:A="en"}=t,{selecteditem:h=""}=t,{userroles:_=""}=t,{clientstyling:b=""}=t,{clientstylingurl:u=""}=t,{mbsource:c}=t,{translationurl:d=""}=t,{activemenuitem:o=""}=t,v=!1,p=!1,w=!0,g,x,k=[],I,C=window.navigator.userAgent,D=e.getDevice(C)!=="PC",F="",L="";window.matchMedia("(min-width: 768px)");const q=()=>{fetch(d).then(M=>M.json()).then(M=>{Object.keys(M).forEach(P=>{W(P,M[P])})}).catch(M=>{console.error(M)})};Object.keys(S).forEach(r=>{W(r,S[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}},N=()=>{let r=e.getDevice(C);if(r)return r==="PC"?"dk":"mtWeb"},R=()=>{const r=new URL(`${s}/${A}/profile-menu?env=${m}`);r.searchParams.append("device",N()),fetch(r.href).then(M=>M.json()).then(M=>{n(7,k=M),H()}).catch(M=>{console.error("Error getting menu items",M)}).finally(()=>{n(23,v=!0)})},G=()=>{let r=new URL(`${i}/v1/player/${y}/profile`);r.searchParams.append("userRoles",_);let M={method:"GET",headers:{"X-SessionID":f}};fetch(r.href,M).then(P=>P.json()).then(P=>{n(9,F=P.username),n(10,L=P.email)},P=>{console.error(P)}).finally(()=>{n(24,p=!0)})},B=r=>{window.postMessage({type:"ChangeAccountPage",page:r},window.location.href),n(8,I=r.id)},H=()=>{var r;n(8,I=(r=k.find(M=>M.path.includes(o)))==null?void 0:r.id)},V=()=>{window.postMessage({type:"GoToHomepage"},window.location.href)},X=()=>{Q(A)},Z=()=>{G()};e.onMount(()=>(window.addEventListener("message",E,!1),()=>{window.removeEventListener("message",E)}));const J=r=>B(r);function K(r){e.binding_callbacks[r?"unshift":"push"](()=>{g=r,n(5,g)})}return l.$$set=r=>{"endpoint"in r&&n(1,i=r.endpoint),"cmsendpoint"in r&&n(15,s=r.cmsendpoint),"env"in r&&n(16,m=r.env),"session"in r&&n(0,f=r.session),"playerid"in r&&n(17,y=r.playerid),"lang"in r&&n(18,A=r.lang),"selecteditem"in r&&n(19,h=r.selecteditem),"userroles"in r&&n(20,_=r.userroles),"clientstyling"in r&&n(2,b=r.clientstyling),"clientstylingurl"in r&&n(3,u=r.clientstylingurl),"mbsource"in r&&n(4,c=r.mbsource),"translationurl"in r&&n(21,d=r.translationurl),"activemenuitem"in r&&n(22,o=r.activemenuitem)},l.$$.update=()=>{l.$$.dirty[0]&25165824&&n(6,w=!v||!p),l.$$.dirty[0]&262144&&A&&X(),l.$$.dirty[0]&393219&&i&&f&&y&&A&&Z(),l.$$.dirty[0]&360448&&s&&A&&m&&R(),l.$$.dirty[0]&4194304&&o&&H(),l.$$.dirty[0]&36&&b&&g&&e.setClientStyling(g,b),l.$$.dirty[0]&40&&u&&g&&e.setClientStylingURL(g,u),l.$$.dirty[0]&48&&c&&g&&e.setStreamStyling(g,`${c}.Style`,x),l.$$.dirty[0]&2097152&&d&&q()},[f,i,b,u,c,g,w,k,I,F,L,a,D,B,V,s,m,y,A,h,_,d,o,v,p,J,K]}class U extends e.SvelteComponent{constructor(t){super(),e.init(this,t,oe,ie,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},Y,[-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(U,{endpoint:{},cmsendpoint:{},env:{},session:{},playerid:{},lang:{},selecteditem:{},userroles:{},clientstyling:{},clientstylingurl:{},mbsource:{},translationurl:{},activemenuitem:{}},[],[],!0);exports.default=U;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { a as de, $ as ge, S as fe, i as ye, s as pe, f as I, b as he, n as O, d as F, c as L, e as b, g as be, h as Ae, j as X, o as Me, k as we, l as z, m as te, p as a, q as k, r as m, t as d, u as S, v as H, w as ve, x as U, y as B, z as Z, A as Pe, B as _e, C as xe, D as ke } from "./PlayerAccountControllerNd-
|
|
1
|
+
import { a as de, $ as ge, S as fe, i as ye, s as pe, f as I, b as he, n as O, d as F, c as L, e as b, g as be, h as Ae, j as X, o as Me, k as we, l as z, m as te, p as a, q as k, r as m, t as d, u as S, v as H, w as ve, x as U, y as B, z as Z, A as Pe, B as _e, C as xe, D as ke } from "./PlayerAccountControllerNd-DHCZWllJ.js";
|
|
2
2
|
import "../stencil/ui-skeleton-fEyshHrf.js";
|
|
3
|
-
import "../lazy/general-logout-
|
|
3
|
+
import "../lazy/general-logout-GbSxu6ly.js";
|
|
4
4
|
function J(n, e) {
|
|
5
5
|
de(n, e);
|
|
6
6
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a4 as A, S as B, i as j, s as q, f, b as H, d as
|
|
1
|
+
import { a4 as A, S as B, i as j, s as q, f, b as H, d as D, W as w, X as m, a2 as K, a0 as N, c as L, K as P, o as Q, V as R, a5 as S, Q as U, Y as V, Z as X, _ as Y, p as k, e as _, t as y, k as v, A as Z, B as p, C as F, D as G } from "./PlayerAccountControllerNd-DHCZWllJ.js";
|
|
2
2
|
function C(e, { delay: t = 0, duration: n = 400, easing: i = A } = {}) {
|
|
3
3
|
const s = +getComputedStyle(e).opacity;
|
|
4
4
|
return {
|
|
@@ -8,7 +8,7 @@ function C(e, { delay: t = 0, duration: n = 400, easing: i = A } = {}) {
|
|
|
8
8
|
css: (o) => `opacity: ${o * s}`
|
|
9
9
|
};
|
|
10
10
|
}
|
|
11
|
-
function
|
|
11
|
+
function I(e) {
|
|
12
12
|
H(e, "svelte-126fglp", "*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.ModalWindow{display:flex;position:fixed;align-items:center;justify-content:center;width:100%;height:100%;z-index:300;top:0;left:0}");
|
|
13
13
|
}
|
|
14
14
|
function M(e) {
|
|
@@ -16,7 +16,7 @@ function M(e) {
|
|
|
16
16
|
const d = (
|
|
17
17
|
/*#slots*/
|
|
18
18
|
e[9].default
|
|
19
|
-
), r =
|
|
19
|
+
), r = R(
|
|
20
20
|
d,
|
|
21
21
|
e,
|
|
22
22
|
/*$$scope*/
|
|
@@ -28,23 +28,23 @@ function M(e) {
|
|
|
28
28
|
t = _("div"), n = _("div"), i = _("div"), r && r.c(), y(i, "class", "ModalContainer"), y(n, "class", "ModalWindow"), y(n, "id", "Modal");
|
|
29
29
|
},
|
|
30
30
|
m(a, u) {
|
|
31
|
-
|
|
31
|
+
L(a, t, u), k(t, n), k(n, i), r && r.m(i, null), e[10](n), e[11](t), o = !0;
|
|
32
32
|
},
|
|
33
33
|
p(a, u) {
|
|
34
34
|
e = a, r && r.p && (!o || u & /*$$scope*/
|
|
35
|
-
256) &&
|
|
35
|
+
256) && V(
|
|
36
36
|
r,
|
|
37
37
|
d,
|
|
38
38
|
e,
|
|
39
39
|
/*$$scope*/
|
|
40
40
|
e[8],
|
|
41
|
-
o ?
|
|
41
|
+
o ? Y(
|
|
42
42
|
d,
|
|
43
43
|
/*$$scope*/
|
|
44
44
|
e[8],
|
|
45
45
|
u,
|
|
46
46
|
null
|
|
47
|
-
) :
|
|
47
|
+
) : X(
|
|
48
48
|
/*$$scope*/
|
|
49
49
|
e[8]
|
|
50
50
|
),
|
|
@@ -52,7 +52,7 @@ function M(e) {
|
|
|
52
52
|
);
|
|
53
53
|
},
|
|
54
54
|
i(a) {
|
|
55
|
-
o || (m(r, a), a &&
|
|
55
|
+
o || (m(r, a), a && U(() => {
|
|
56
56
|
o && (s || (s = S(n, C, { transitionDuration: (
|
|
57
57
|
/*duration*/
|
|
58
58
|
e[1]
|
|
@@ -66,11 +66,11 @@ function M(e) {
|
|
|
66
66
|
) }, !1)), s.run(0)), o = !1;
|
|
67
67
|
},
|
|
68
68
|
d(a) {
|
|
69
|
-
a &&
|
|
69
|
+
a && D(t), r && r.d(a), e[10](null), a && s && s.end(), e[11](null);
|
|
70
70
|
}
|
|
71
71
|
};
|
|
72
72
|
}
|
|
73
|
-
function
|
|
73
|
+
function J(e) {
|
|
74
74
|
let t, n, i = (
|
|
75
75
|
/*show*/
|
|
76
76
|
e[0] && M(e)
|
|
@@ -80,14 +80,14 @@ function K(e) {
|
|
|
80
80
|
i && i.c(), t = P();
|
|
81
81
|
},
|
|
82
82
|
m(s, o) {
|
|
83
|
-
i && i.m(s, o),
|
|
83
|
+
i && i.m(s, o), L(s, t, o), n = !0;
|
|
84
84
|
},
|
|
85
85
|
p(s, [o]) {
|
|
86
86
|
/*show*/
|
|
87
87
|
s[0] ? i ? (i.p(s, o), o & /*show*/
|
|
88
|
-
1 && m(i, 1)) : (i = M(s), i.c(), m(i, 1), i.m(t.parentNode, t)) : i && (
|
|
88
|
+
1 && m(i, 1)) : (i = M(s), i.c(), m(i, 1), i.m(t.parentNode, t)) : i && (K(), w(i, 1, 1, () => {
|
|
89
89
|
i = null;
|
|
90
|
-
}),
|
|
90
|
+
}), N());
|
|
91
91
|
},
|
|
92
92
|
i(s) {
|
|
93
93
|
n || (m(i), n = !0);
|
|
@@ -96,11 +96,11 @@ function K(e) {
|
|
|
96
96
|
w(i), n = !1;
|
|
97
97
|
},
|
|
98
98
|
d(s) {
|
|
99
|
-
s &&
|
|
99
|
+
s && D(t), i && i.d(s);
|
|
100
100
|
}
|
|
101
101
|
};
|
|
102
102
|
}
|
|
103
|
-
function
|
|
103
|
+
function O(e, t, n) {
|
|
104
104
|
let { $$slots: i = {}, $$scope: s } = t, { show: o = !1 } = t, { duration: d = 350 } = t, { clientstyling: r = "" } = t, { clientstylingurl: a = "" } = t, { mbsource: u } = t, { showmodaleventname: g = "ShowLimitsConfirmationModal" } = t, c, E, h;
|
|
105
105
|
const b = (l) => {
|
|
106
106
|
switch (l.data.type) {
|
|
@@ -112,7 +112,7 @@ function Q(e, t, n) {
|
|
|
112
112
|
break;
|
|
113
113
|
}
|
|
114
114
|
};
|
|
115
|
-
|
|
115
|
+
Q(() => (window.addEventListener("message", b, !1), () => {
|
|
116
116
|
window.removeEventListener("message", b);
|
|
117
117
|
}));
|
|
118
118
|
function W(l) {
|
|
@@ -129,9 +129,9 @@ function Q(e, t, n) {
|
|
|
129
129
|
"show" in l && n(0, o = l.show), "duration" in l && n(1, d = l.duration), "clientstyling" in l && n(4, r = l.clientstyling), "clientstylingurl" in l && n(5, a = l.clientstylingurl), "mbsource" in l && n(6, u = l.mbsource), "showmodaleventname" in l && n(7, g = l.showmodaleventname), "$$scope" in l && n(8, s = l.$$scope);
|
|
130
130
|
}, e.$$.update = () => {
|
|
131
131
|
e.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
132
|
-
20 && r && c &&
|
|
133
|
-
36 && a && c &&
|
|
134
|
-
68 && u && c &&
|
|
132
|
+
20 && r && c && Z(c, r), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
133
|
+
36 && a && c && p(c, a), e.$$.dirty & /*mbsource, customStylingContainer*/
|
|
134
|
+
68 && u && c && F(c, `${u}.Style`, E);
|
|
135
135
|
}, [
|
|
136
136
|
o,
|
|
137
137
|
d,
|
|
@@ -152,8 +152,8 @@ class T extends B {
|
|
|
152
152
|
super(), j(
|
|
153
153
|
this,
|
|
154
154
|
t,
|
|
155
|
-
|
|
156
|
-
|
|
155
|
+
O,
|
|
156
|
+
J,
|
|
157
157
|
q,
|
|
158
158
|
{
|
|
159
159
|
show: 0,
|
|
@@ -163,7 +163,7 @@ class T extends B {
|
|
|
163
163
|
mbsource: 6,
|
|
164
164
|
showmodaleventname: 7
|
|
165
165
|
},
|
|
166
|
-
|
|
166
|
+
I
|
|
167
167
|
);
|
|
168
168
|
}
|
|
169
169
|
get show() {
|
|
@@ -203,7 +203,7 @@ class T extends B {
|
|
|
203
203
|
this.$$set({ showmodaleventname: t }), f();
|
|
204
204
|
}
|
|
205
205
|
}
|
|
206
|
-
|
|
206
|
+
G(T, { show: { type: "Boolean" }, duration: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, showmodaleventname: {} }, ["default"], [], !0);
|
|
207
207
|
export {
|
|
208
208
|
T as default
|
|
209
209
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a3 as j, S as A, i as B, s as
|
|
1
|
+
import { a3 as j, S as A, i as B, s as P, f, b as U, d as L, V as w, W as m, a1 as q, _ as H, c as z, K, o as N, U as R, a4 as S, P as V, X, Y, Z, m as v, e as _, r as y, j as C, z as F, A as G, B as I, C as J } from "./PlayerAccountControllerNd-CZ_gy_zb.js";
|
|
2
2
|
function M(e, { delay: t = 0, duration: n = 400, easing: i = j } = {}) {
|
|
3
3
|
const s = +getComputedStyle(e).opacity;
|
|
4
4
|
return {
|
|
@@ -8,8 +8,8 @@ function M(e, { delay: t = 0, duration: n = 400, easing: i = j } = {}) {
|
|
|
8
8
|
css: (o) => `opacity: ${o * s}`
|
|
9
9
|
};
|
|
10
10
|
}
|
|
11
|
-
function
|
|
12
|
-
|
|
11
|
+
function O(e) {
|
|
12
|
+
U(e, "svelte-126fglp", "*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.ModalWindow{display:flex;position:fixed;align-items:center;justify-content:center;width:100%;height:100%;z-index:300;top:0;left:0}");
|
|
13
13
|
}
|
|
14
14
|
function k(e) {
|
|
15
15
|
let t, n, i, s, o;
|
|
@@ -77,7 +77,7 @@ function Q(e) {
|
|
|
77
77
|
);
|
|
78
78
|
return {
|
|
79
79
|
c() {
|
|
80
|
-
i && i.c(), t =
|
|
80
|
+
i && i.c(), t = K();
|
|
81
81
|
},
|
|
82
82
|
m(s, o) {
|
|
83
83
|
i && i.m(s, o), z(s, t, o), n = !0;
|
|
@@ -85,9 +85,9 @@ function Q(e) {
|
|
|
85
85
|
p(s, [o]) {
|
|
86
86
|
/*show*/
|
|
87
87
|
s[0] ? i ? (i.p(s, o), o & /*show*/
|
|
88
|
-
1 && m(i, 1)) : (i = k(s), i.c(), m(i, 1), i.m(t.parentNode, t)) : i && (
|
|
88
|
+
1 && m(i, 1)) : (i = k(s), i.c(), m(i, 1), i.m(t.parentNode, t)) : i && (q(), w(i, 1, 1, () => {
|
|
89
89
|
i = null;
|
|
90
|
-
}),
|
|
90
|
+
}), H());
|
|
91
91
|
},
|
|
92
92
|
i(s) {
|
|
93
93
|
n || (m(i), n = !0);
|
|
@@ -112,7 +112,7 @@ function T(e, t, n) {
|
|
|
112
112
|
break;
|
|
113
113
|
}
|
|
114
114
|
};
|
|
115
|
-
|
|
115
|
+
N(() => (window.addEventListener("message", b, !1), () => {
|
|
116
116
|
window.removeEventListener("message", b);
|
|
117
117
|
}));
|
|
118
118
|
function E(l) {
|
|
@@ -154,7 +154,7 @@ class p extends A {
|
|
|
154
154
|
t,
|
|
155
155
|
T,
|
|
156
156
|
Q,
|
|
157
|
-
|
|
157
|
+
P,
|
|
158
158
|
{
|
|
159
159
|
show: 0,
|
|
160
160
|
duration: 1,
|
|
@@ -163,7 +163,7 @@ class p extends A {
|
|
|
163
163
|
mbsource: 6,
|
|
164
164
|
showmodaleventname: 7
|
|
165
165
|
},
|
|
166
|
-
|
|
166
|
+
O
|
|
167
167
|
);
|
|
168
168
|
}
|
|
169
169
|
get show() {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./PlayerAccountControllerNd-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./PlayerAccountControllerNd-BoTaxLV0.cjs");function g(n,{delay:e=0,duration:i=400,easing:l=t.identity}={}){const s=+getComputedStyle(n).opacity;return{delay:e,duration:i,easing:l,css:r=>`opacity: ${r*s}`}}function M(n){t.append_styles(n,"svelte-126fglp","*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.ModalWindow{display:flex;position:fixed;align-items:center;justify-content:center;width:100%;height:100%;z-index:300;top:0;left:0}")}function y(n){let e,i,l,s,r;const f=n[9].default,a=t.create_slot(f,n,n[8],null);return{c(){e=t.element("div"),i=t.element("div"),l=t.element("div"),a&&a.c(),t.attr(l,"class","ModalContainer"),t.attr(i,"class","ModalWindow"),t.attr(i,"id","Modal")},m(u,c){t.insert(u,e,c),t.append(e,i),t.append(i,l),a&&a.m(l,null),n[10](i),n[11](e),r=!0},p(u,c){n=u,a&&a.p&&(!r||c&256)&&t.update_slot_base(a,f,n,n[8],r?t.get_slot_changes(f,n[8],c,null):t.get_all_dirty_from_scope(n[8]),null)},i(u){r||(t.transition_in(a,u),u&&t.add_render_callback(()=>{r&&(s||(s=t.create_bidirectional_transition(i,g,{transitionDuration:n[1]},!0)),s.run(1))}),r=!0)},o(u){t.transition_out(a,u),u&&(s||(s=t.create_bidirectional_transition(i,g,{transitionDuration:n[1]},!1)),s.run(0)),r=!1},d(u){u&&t.detach(e),a&&a.d(u),n[10](null),u&&s&&s.end(),n[11](null)}}}function k(n){let e,i,l=n[0]&&y(n);return{c(){l&&l.c(),e=t.empty()},m(s,r){l&&l.m(s,r),t.insert(s,e,r),i=!0},p(s,[r]){s[0]?l?(l.p(s,r),r&1&&t.transition_in(l,1)):(l=y(s),l.c(),t.transition_in(l,1),l.m(e.parentNode,e)):l&&(t.group_outros(),t.transition_out(l,1,1,()=>{l=null}),t.check_outros())},i(s){i||(t.transition_in(l),i=!0)},o(s){t.transition_out(l),i=!1},d(s){s&&t.detach(e),l&&l.d(s)}}}function C(n,e,i){let{$$slots:l={},$$scope:s}=e,{show:r=!1}=e,{duration:f=350}=e,{clientstyling:a=""}=e,{clientstylingurl:u=""}=e,{mbsource:c}=e,{showmodaleventname:m="ShowLimitsConfirmationModal"}=e,d,w,_;const h=o=>{switch(o.data.type){case"ModalClosed":i(0,r=!1);break;case m:i(0,r=!0),window.postMessage({type:"DisableScroll"},window.location.href);break}};t.onMount(()=>(window.addEventListener("message",h,!1),()=>{window.removeEventListener("message",h)}));function S(o){t.binding_callbacks[o?"unshift":"push"](()=>{_=o,i(3,_)})}function v(o){t.binding_callbacks[o?"unshift":"push"](()=>{d=o,i(2,d)})}return n.$$set=o=>{"show"in o&&i(0,r=o.show),"duration"in o&&i(1,f=o.duration),"clientstyling"in o&&i(4,a=o.clientstyling),"clientstylingurl"in o&&i(5,u=o.clientstylingurl),"mbsource"in o&&i(6,c=o.mbsource),"showmodaleventname"in o&&i(7,m=o.showmodaleventname),"$$scope"in o&&i(8,s=o.$$scope)},n.$$.update=()=>{n.$$.dirty&20&&a&&d&&t.setClientStyling(d,a),n.$$.dirty&36&&u&&d&&t.setClientStylingURL(d,u),n.$$.dirty&68&&c&&d&&t.setStreamStyling(d,`${c}.Style`,w)},[r,f,d,_,a,u,c,m,s,l,S,v]}class b extends t.SvelteComponent{constructor(e){super(),t.init(this,e,C,k,t.safe_not_equal,{show:0,duration:1,clientstyling:4,clientstylingurl:5,mbsource:6,showmodaleventname:7},M)}get show(){return this.$$.ctx[0]}set show(e){this.$$set({show:e}),t.flush()}get duration(){return this.$$.ctx[1]}set duration(e){this.$$set({duration:e}),t.flush()}get clientstyling(){return this.$$.ctx[4]}set clientstyling(e){this.$$set({clientstyling:e}),t.flush()}get clientstylingurl(){return this.$$.ctx[5]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),t.flush()}get mbsource(){return this.$$.ctx[6]}set mbsource(e){this.$$set({mbsource:e}),t.flush()}get showmodaleventname(){return this.$$.ctx[7]}set showmodaleventname(e){this.$$set({showmodaleventname:e}),t.flush()}}t.create_custom_element(b,{show:{type:"Boolean"},duration:{},clientstyling:{},clientstylingurl:{},mbsource:{},showmodaleventname:{}},["default"],[],!0);exports.default=b;
|
package/components/{PlayerAccountNotifications-j1WcflQa.js → PlayerAccountNotifications-BZt_1qbt.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { S as V, i as G, s as J, f as y, b as K, n as M, d as b, c as k, e as g, h as B, o as O, j as X, k as S, l as j, m, r as s, p as C, y as H, t as Y, E as W, u as Z, q as P, z as $, A as tt, B as et, C as it } from "./PlayerAccountControllerNd-
|
|
1
|
+
import { S as V, i as G, s as J, f as y, b as K, n as M, d as b, c as k, e as g, h as B, o as O, j as X, k as S, l as j, m, r as s, p as C, y as H, t as Y, E as W, u as Z, q as P, z as $, A as tt, B as et, C as it } from "./PlayerAccountControllerNd-CZ_gy_zb.js";
|
|
2
2
|
import "../stencil/ui-skeleton-Dd7tqzYw.js";
|
|
3
3
|
function nt(r) {
|
|
4
4
|
K(r, "svelte-1b8j2p", ':host{padding:0;margin:0;font-family:inherit}.PlayerAccountNotificationsContainer{padding:0 5px;display:grid;grid-gap:20px;animation-name:fadeIn;animation-iteration-count:1;animation-timing-function:ease-in;animation-duration:0.3s;container-type:inline-size;container-name:notifications-container}.PlayerAccountNotificationBox{background:var(--emw--color-pale, var(--emw--color-gray-50, #f1f1f1));display:block;padding:20px;border-radius:var(--emw--border-radius-medium, 10px);width:100%;color:var(--emw--color-black, #000);box-sizing:border-box;text-decoration:none;word-break:break-word;word-wrap:break-word;overflow-wrap:anywhere;white-space:normal}.PlayerAccountNotificationBoxHeader{display:grid;width:100%;grid-template-areas:"nav main aside";grid-template-rows:auto;grid-template-columns:34px calc(100% - 34px);align-items:center}.PlayerAccountNotificationBoxHeader .PlayerAccountNotificationIcon{width:24px;margin-right:10px;flex:1}.PlayerAccountNotificationBoxHeader .PlayerAccountNotificationTitle{font-size:16px;flex:2}.PlayerAccountNotificationText{margin:0;font-size:14px;font-weight:300}.PlayerAccountNotificationText a{text-decoration:none;color:var(--emw--color-white, #FFFFFF)}.PlayerAccountNotificationsMobileContainer{display:grid;grid-template-columns:repeat(2, minmax(0, 1fr));grid-gap:20px;padding:20px}.PlayerAccountNotificationsMobileContainer .PlayerAccountNotificationBoxHeader{grid-template-columns:40px calc(100% - 40px)}.PlayerAccountNotificationsMobileContainer .PlayerAccountNotificationTitle{font-size:14px}.PlayerAccountNotificationsMobileContainer .PlayerAccountNotificationIcon{width:30px;margin-right:10px}.skeletonContainer{container-type:inline-size}.skeletonContainer .skeletonWrapper{animation:fadeIn ease 0.3s}@container (max-width: 768px){.skeletonContainer .skeletonWrapper{display:grid;grid-template-columns:repeat(2, minmax(0, 1fr));grid-gap:20px}.skeletonContainer .skeletonWrapper .skeletonNotification{width:100%}}@container (max-width: 425px){.skeletonContainer .skeletonWrapper{display:grid;grid-template-columns:repeat(1, minmax(0, 1fr));grid-gap:20px;padding:0px 10px}.skeletonContainer .skeletonWrapper .skeletonNotification{width:100%}}@keyframes fadeIn{0%{opacity:0.01}1%{opacity:0}50%{opacity:0}100%{opacity:1}}');
|
package/components/{PlayerAccountNotifications-sv5EIbZH.js → PlayerAccountNotifications-CDJp1JiY.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { S as V, i as G, s as J, f as y, b as K, n as M, d as b, c as k, e as g, j as B, o as O, k as X, l as S, m as D, p as m, t as s, q as C, z as H, u as Y, E as W, v as Z, r as v, A as $, B as tt, C as et, D as it } from "./PlayerAccountControllerNd-
|
|
1
|
+
import { S as V, i as G, s as J, f as y, b as K, n as M, d as b, c as k, e as g, j as B, o as O, k as X, l as S, m as D, p as m, t as s, q as C, z as H, u as Y, E as W, v as Z, r as v, A as $, B as tt, C as et, D as it } from "./PlayerAccountControllerNd-DHCZWllJ.js";
|
|
2
2
|
import "../stencil/ui-skeleton-fEyshHrf.js";
|
|
3
3
|
function nt(a) {
|
|
4
4
|
K(a, "svelte-1b8j2p", ':host{padding:0;margin:0;font-family:inherit}.PlayerAccountNotificationsContainer{padding:0 5px;display:grid;grid-gap:20px;animation-name:fadeIn;animation-iteration-count:1;animation-timing-function:ease-in;animation-duration:0.3s;container-type:inline-size;container-name:notifications-container}.PlayerAccountNotificationBox{background:var(--emw--color-pale, var(--emw--color-gray-50, #f1f1f1));display:block;padding:20px;border-radius:var(--emw--border-radius-medium, 10px);width:100%;color:var(--emw--color-black, #000);box-sizing:border-box;text-decoration:none;word-break:break-word;word-wrap:break-word;overflow-wrap:anywhere;white-space:normal}.PlayerAccountNotificationBoxHeader{display:grid;width:100%;grid-template-areas:"nav main aside";grid-template-rows:auto;grid-template-columns:34px calc(100% - 34px);align-items:center}.PlayerAccountNotificationBoxHeader .PlayerAccountNotificationIcon{width:24px;margin-right:10px;flex:1}.PlayerAccountNotificationBoxHeader .PlayerAccountNotificationTitle{font-size:16px;flex:2}.PlayerAccountNotificationText{margin:0;font-size:14px;font-weight:300}.PlayerAccountNotificationText a{text-decoration:none;color:var(--emw--color-white, #FFFFFF)}.PlayerAccountNotificationsMobileContainer{display:grid;grid-template-columns:repeat(2, minmax(0, 1fr));grid-gap:20px;padding:20px}.PlayerAccountNotificationsMobileContainer .PlayerAccountNotificationBoxHeader{grid-template-columns:40px calc(100% - 40px)}.PlayerAccountNotificationsMobileContainer .PlayerAccountNotificationTitle{font-size:14px}.PlayerAccountNotificationsMobileContainer .PlayerAccountNotificationIcon{width:30px;margin-right:10px}.skeletonContainer{container-type:inline-size}.skeletonContainer .skeletonWrapper{animation:fadeIn ease 0.3s}@container (max-width: 768px){.skeletonContainer .skeletonWrapper{display:grid;grid-template-columns:repeat(2, minmax(0, 1fr));grid-gap:20px}.skeletonContainer .skeletonWrapper .skeletonNotification{width:100%}}@container (max-width: 425px){.skeletonContainer .skeletonWrapper{display:grid;grid-template-columns:repeat(1, minmax(0, 1fr));grid-gap:20px;padding:0px 10px}.skeletonContainer .skeletonWrapper .skeletonNotification{width:100%}}@keyframes fadeIn{0%{opacity:0.01}1%{opacity:0}50%{opacity:0}100%{opacity:1}}');
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./PlayerAccountControllerNd-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./PlayerAccountControllerNd-BoTaxLV0.cjs");require("../stencil/ui-skeleton-DCajaTYn.cjs");function W(a){e.append_styles(a,"svelte-1b8j2p",':host{padding:0;margin:0;font-family:inherit}.PlayerAccountNotificationsContainer{padding:0 5px;display:grid;grid-gap:20px;animation-name:fadeIn;animation-iteration-count:1;animation-timing-function:ease-in;animation-duration:0.3s;container-type:inline-size;container-name:notifications-container}.PlayerAccountNotificationBox{background:var(--emw--color-pale, var(--emw--color-gray-50, #f1f1f1));display:block;padding:20px;border-radius:var(--emw--border-radius-medium, 10px);width:100%;color:var(--emw--color-black, #000);box-sizing:border-box;text-decoration:none;word-break:break-word;word-wrap:break-word;overflow-wrap:anywhere;white-space:normal}.PlayerAccountNotificationBoxHeader{display:grid;width:100%;grid-template-areas:"nav main aside";grid-template-rows:auto;grid-template-columns:34px calc(100% - 34px);align-items:center}.PlayerAccountNotificationBoxHeader .PlayerAccountNotificationIcon{width:24px;margin-right:10px;flex:1}.PlayerAccountNotificationBoxHeader .PlayerAccountNotificationTitle{font-size:16px;flex:2}.PlayerAccountNotificationText{margin:0;font-size:14px;font-weight:300}.PlayerAccountNotificationText a{text-decoration:none;color:var(--emw--color-white, #FFFFFF)}.PlayerAccountNotificationsMobileContainer{display:grid;grid-template-columns:repeat(2, minmax(0, 1fr));grid-gap:20px;padding:20px}.PlayerAccountNotificationsMobileContainer .PlayerAccountNotificationBoxHeader{grid-template-columns:40px calc(100% - 40px)}.PlayerAccountNotificationsMobileContainer .PlayerAccountNotificationTitle{font-size:14px}.PlayerAccountNotificationsMobileContainer .PlayerAccountNotificationIcon{width:30px;margin-right:10px}.skeletonContainer{container-type:inline-size}.skeletonContainer .skeletonWrapper{animation:fadeIn ease 0.3s}@container (max-width: 768px){.skeletonContainer .skeletonWrapper{display:grid;grid-template-columns:repeat(2, minmax(0, 1fr));grid-gap:20px}.skeletonContainer .skeletonWrapper .skeletonNotification{width:100%}}@container (max-width: 425px){.skeletonContainer .skeletonWrapper{display:grid;grid-template-columns:repeat(1, minmax(0, 1fr));grid-gap:20px;padding:0px 10px}.skeletonContainer .skeletonWrapper .skeletonNotification{width:100%}}@keyframes fadeIn{0%{opacity:0.01}1%{opacity:0}50%{opacity:0}100%{opacity:1}}')}function v(a,t,o){const n=a.slice();return n[24]=t[o],n}function w(a,t,o){const n=a.slice();return n[21]=t[o],n}function L(a){let t,o=e.ensure_array_like(a[1]),n=[];for(let i=0;i<o.length;i+=1)n[i]=P(v(a,o,i));return{c(){t=e.element("div");for(let i=0;i<n.length;i+=1)n[i].c();e.attr(t,"class","PlayerAccountNotificationsContainer "+(a[3]?"PlayerAccountNotificationsMobileContainer":"")),e.attr(t,"part","PlayerAccountNotificationsContainer "+(a[3]?"PlayerAccountNotificationsMobileContainer":""))},m(i,l){e.insert(i,t,l);for(let r=0;r<n.length;r+=1)n[r]&&n[r].m(t,null)},p(i,l){if(l&2){o=e.ensure_array_like(i[1]);let r;for(r=0;r<o.length;r+=1){const c=v(i,o,r);n[r]?n[r].p(c,l):(n[r]=P(c),n[r].c(),n[r].m(t,null))}for(;r<n.length;r+=1)n[r].d(1);n.length=o.length}},d(i){i&&e.detach(t),e.destroy_each(n,i)}}}function z(a){let t,o,n=e.ensure_array_like({length:3}),i=[];for(let l=0;l<n.length;l+=1)i[l]=N(w(a,n,l));return{c(){t=e.element("div"),o=e.element("div");for(let l=0;l<i.length;l+=1)i[l].c();e.attr(o,"class","skeletonWrapper"),e.attr(t,"class","skeletonContainer")},m(l,r){e.insert(l,t,r),e.append(t,o);for(let c=0;c<i.length;c+=1)i[c]&&i[c].m(o,null)},p(l,r){if(r&24){n=e.ensure_array_like({length:3});let c;for(c=0;c<n.length;c+=1){const d=w(l,n,c);i[c]?i[c].p(d,r):(i[c]=N(d),i[c].c(),i[c].m(o,null))}for(;c<i.length;c+=1)i[c].d(1);i.length=n.length}},d(l){l&&e.detach(t),e.destroy_each(i,l)}}}function P(a){let t,o,n,i,l,r,c,d=a[24].title+"",g,p,u,h=a[24].description+"",k;return{c(){t=e.element("div"),o=e.element("div"),n=e.element("img"),r=e.space(),c=e.element("p"),g=e.text(d),p=e.space(),u=e.element("p"),k=e.space(),e.attr(n,"class","PlayerAccountNotificationIcon"),e.attr(n,"width","24px"),e.attr(n,"height","24px"),e.src_url_equal(n.src,i=a[24].icon)||e.attr(n,"src",i),e.attr(n,"alt",l=a[24].title),e.attr(c,"class","PlayerAccountNotificationTitle"),e.attr(o,"class","PlayerAccountNotificationBoxHeader"),e.attr(u,"class","PlayerAccountNotificationText"),e.attr(t,"class","PlayerAccountNotificationBox"),e.set_style(t,"background",a[24].backgroundColor)},m(f,m){e.insert(f,t,m),e.append(t,o),e.append(o,n),e.append(o,r),e.append(o,c),e.append(c,g),e.append(t,p),e.append(t,u),u.innerHTML=h,e.append(t,k)},p(f,m){m&2&&!e.src_url_equal(n.src,i=f[24].icon)&&e.attr(n,"src",i),m&2&&l!==(l=f[24].title)&&e.attr(n,"alt",l),m&2&&d!==(d=f[24].title+"")&&e.set_data(g,d),m&2&&h!==(h=f[24].description+"")&&(u.innerHTML=h),m&2&&e.set_style(t,"background",f[24].backgroundColor)},d(f){f&&e.detach(t)}}}function F(a){let t;return{c(){t=e.element("ui-skeleton"),e.set_custom_element_data(t,"structure","rectangle"),e.set_custom_element_data(t,"width","auto"),e.set_custom_element_data(t,"height",a[3]&&a[4].matches?"250px":"400px")},m(o,n){e.insert(o,t,n)},p:e.noop,d(o){o&&e.detach(t)}}}function I(a){let t;return{c(){t=e.element("ui-skeleton"),t.innerHTML="",e.set_custom_element_data(t,"structure","rectangle"),e.set_custom_element_data(t,"width","auto"),e.set_custom_element_data(t,"height","130px")},m(o,n){e.insert(o,t,n)},p:e.noop,d(o){o&&e.detach(t)}}}function N(a){let t,o;function n(r,c){return r[3]?F:I}let l=n(a)(a);return{c(){t=e.element("div"),l.c(),o=e.space(),e.attr(t,"class","skeletonNotification")},m(r,c){e.insert(r,t,c),l.m(t,null),e.append(t,o)},p(r,c){l.p(r,c)},d(r){r&&e.detach(t),l.d()}}}function q(a){let t;function o(l,r){var c;if(l[2])return z;if((c=l[1])!=null&&c.length)return L}let n=o(a),i=n&&n(a);return{c(){t=e.element("div"),i&&i.c()},m(l,r){e.insert(l,t,r),i&&i.m(t,null),a[13](t)},p(l,[r]){n===(n=o(l))&&i?i.p(l,r):(i&&i.d(1),i=n&&n(l),i&&(i.c(),i.m(t,null)))},i:e.noop,o:e.noop,d(l){l&&e.detach(t),i&&i.d(),a[13](null)}}}function j(a,t,o){let{lang:n=""}=t,{cmsendpoint:i=""}=t,{env:l=""}=t,{userroles:r=""}=t,{customnotif:c=""}=t,{clientstyling:d=""}=t,{clientstylingurl:g=""}=t,{mbsource:p}=t,u,h,k=!0,f=window.navigator.userAgent,m=e.getDevice(f)!=="PC",_=[],b=[],C=S();const M=window.matchMedia("(min-width: 768px)");function S(){const s=e.getDevice(f);if(s)return s==="PC"?"dk":"mtWeb"}const T=()=>{const s=new URL(`${i}/${n}/support-information`);s.searchParams.append("env",l),s.searchParams.append("userRoles",r),s.searchParams.append("device",C),fetch(s.href).then(y=>y.json()).then(y=>{y.length&&(o(1,_=y[0].children),_==null||_.forEach(H=>{b.length&&(H.backgroundColor=b[0],b.shift())}))}).catch(y=>{console.error(y)}).finally(()=>{setTimeout(()=>{o(2,k=!1)},1e3)})},x=()=>{c.replace(" ",""),b=c.split(",")};e.onMount(()=>()=>{});function B(s){e.binding_callbacks[s?"unshift":"push"](()=>{u=s,o(0,u)})}return a.$$set=s=>{"lang"in s&&o(5,n=s.lang),"cmsendpoint"in s&&o(6,i=s.cmsendpoint),"env"in s&&o(7,l=s.env),"userroles"in s&&o(8,r=s.userroles),"customnotif"in s&&o(9,c=s.customnotif),"clientstyling"in s&&o(10,d=s.clientstyling),"clientstylingurl"in s&&o(11,g=s.clientstylingurl),"mbsource"in s&&o(12,p=s.mbsource)},a.$$.update=()=>{a.$$.dirty&512&&c&&x(),a.$$.dirty&2&&_&&x(),a.$$.dirty&480&&r&&i&&l&&n&&T(),a.$$.dirty&1025&&d&&u&&e.setClientStyling(u,d),a.$$.dirty&2049&&g&&u&&e.setClientStylingURL(u,g),a.$$.dirty&4097&&p&&u&&e.setStreamStyling(u,`${p}.Style`,h)},[u,_,k,m,M,n,i,l,r,c,d,g,p,B]}class A extends e.SvelteComponent{constructor(t){super(),e.init(this,t,j,q,e.safe_not_equal,{lang:5,cmsendpoint:6,env:7,userroles:8,customnotif:9,clientstyling:10,clientstylingurl:11,mbsource:12},W)}get lang(){return this.$$.ctx[5]}set lang(t){this.$$set({lang:t}),e.flush()}get cmsendpoint(){return this.$$.ctx[6]}set cmsendpoint(t){this.$$set({cmsendpoint:t}),e.flush()}get env(){return this.$$.ctx[7]}set env(t){this.$$set({env:t}),e.flush()}get userroles(){return this.$$.ctx[8]}set userroles(t){this.$$set({userroles:t}),e.flush()}get customnotif(){return this.$$.ctx[9]}set customnotif(t){this.$$set({customnotif:t}),e.flush()}get clientstyling(){return this.$$.ctx[10]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[11]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get mbsource(){return this.$$.ctx[12]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}}e.create_custom_element(A,{lang:{},cmsendpoint:{},env:{},userroles:{},customnotif:{},clientstyling:{},clientstylingurl:{},mbsource:{}},[],[],!0);exports.default=A;
|