@everymatrix/player-account-controller 1.61.1 → 1.62.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/{GeneralLogout-C38FmUFl.js → GeneralLogout-B5B3mUfv.js} +953 -910
- package/components/GeneralLogout-CG738i36.cjs +21 -0
- package/components/{GeneralLogout-D-G0wJfI.js → GeneralLogout-r9dFykD6.js} +969 -926
- package/components/{PlayerAccountBettingHistory-ClvAJn7G.cjs → PlayerAccountBettingHistory-Lp_KBkg4.cjs} +1 -1
- package/components/{PlayerAccountBettingHistory-At0LtRRx.js → PlayerAccountBettingHistory-Y7x-t1aM.js} +1 -1
- package/components/{PlayerAccountBettingHistory-C7ncnu-s.js → PlayerAccountBettingHistory-a4zyborD.js} +1 -1
- package/components/{PlayerAccountBiometrics-DKhi-g1X.js → PlayerAccountBiometrics-BINKHe7T.js} +1 -1
- package/components/{PlayerAccountBiometrics-CY06pWs8.js → PlayerAccountBiometrics-BoLCbqW9.js} +1 -1
- package/components/{PlayerAccountBiometrics-CqDrX8sl.cjs → PlayerAccountBiometrics-CeKoZNyZ.cjs} +1 -1
- package/components/{PlayerAccountClosure-D9uP7QYP.js → PlayerAccountClosure-BKiVR8lN.js} +1 -1
- package/components/{PlayerAccountClosure-PhH0M42z.cjs → PlayerAccountClosure-CoudEK96.cjs} +1 -1
- package/components/{PlayerAccountClosure-D5r1hdkX.js → PlayerAccountClosure-OZey9sGY.js} +1 -1
- package/components/{PlayerAccountController-CFveIiLH.js → PlayerAccountController-B738sw2d.js} +24 -24
- package/components/{PlayerAccountController-DsIsI9ww.cjs → PlayerAccountController-CiWBnnkt.cjs} +1 -1
- package/components/{PlayerAccountController-CP2uODru.js → PlayerAccountController-DMn6yjxB.js} +24 -24
- package/components/{PlayerAccountGamingLimits-D3pKs0ht.js → PlayerAccountGamingLimits-C43ExhLF.js} +2 -2
- package/components/{PlayerAccountGamingLimits-C0_hRUCj.js → PlayerAccountGamingLimits-CazKuri6.js} +2 -2
- package/components/{PlayerAccountGamingLimits-BnzPj9tx.cjs → PlayerAccountGamingLimits-T_6zt26G.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsConfirmationModal-BazG22ih.js → PlayerAccountGamingLimitsConfirmationModal-Bg7QGMAg.js} +1 -1
- package/components/{PlayerAccountGamingLimitsConfirmationModal-Cg2EZjXZ.cjs → PlayerAccountGamingLimitsConfirmationModal-D4IU66Wc.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsConfirmationModal-xjZZUbpF.js → PlayerAccountGamingLimitsConfirmationModal-QUP7vWLj.js} +1 -1
- package/components/{PlayerAccountGamingLimitsGroupEdit-DGnRlAUZ.cjs → PlayerAccountGamingLimitsGroupEdit-BQRjAEj3.cjs} +2 -2
- package/components/{PlayerAccountGamingLimitsGroupEdit-CnW3YzfS.js → PlayerAccountGamingLimitsGroupEdit-D-PNbWFM.js} +4 -4
- package/components/{PlayerAccountGamingLimitsGroupEdit-DeUVEnCP.js → PlayerAccountGamingLimitsGroupEdit-RindahYU.js} +4 -4
- package/components/{PlayerAccountGamingLimitsHistory2-CsxTesLB.cjs → PlayerAccountGamingLimitsHistory2-BMAe0pe6.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsHistory2-D7J0FgHo.js → PlayerAccountGamingLimitsHistory2-CJGqCDFL.js} +1 -1
- package/components/{PlayerAccountGamingLimitsHistory2-TkOqxfj1.js → PlayerAccountGamingLimitsHistory2-uDPEWTzm.js} +1 -1
- package/components/{PlayerAccountGamingLimitsInfoCard-BRpxiqVR.js → PlayerAccountGamingLimitsInfoCard-CFgV1w4z.js} +3 -3
- package/components/{PlayerAccountGamingLimitsInfoCard-D1qSvNxW.js → PlayerAccountGamingLimitsInfoCard-CRMCtZqj.js} +3 -3
- package/components/{PlayerAccountGamingLimitsInfoCard-jhpuGIrw.cjs → PlayerAccountGamingLimitsInfoCard-DhUwJ_di.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsPage2Gm16-BEYO8tnS.cjs → PlayerAccountGamingLimitsPage2Gm16-AWVFiO4-.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsPage2Gm16-CAfx0SZl.js → PlayerAccountGamingLimitsPage2Gm16-ONM_FRN3.js} +2 -2
- package/components/{PlayerAccountGamingLimitsPage2Gm16-djQdW8L6.js → PlayerAccountGamingLimitsPage2Gm16-gTIR4g1p.js} +2 -2
- package/components/{PlayerAccountGamingLimitsPopup-Bst4PQwl.js → PlayerAccountGamingLimitsPopup-B4IR8T1h.js} +1 -1
- package/components/{PlayerAccountGamingLimitsPopup-Cvl_mdrl.cjs → PlayerAccountGamingLimitsPopup-BsJZk5nW.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsPopup-D3DnB3bN.js → PlayerAccountGamingLimitsPopup-CyDdC98K.js} +1 -1
- package/components/{PlayerAccountGamingLimitsWrapper2-BKVQxFca.js → PlayerAccountGamingLimitsWrapper2-B-HI-JBh.js} +3 -3
- package/components/{PlayerAccountGamingLimitsWrapper2-Coq_1wOX.cjs → PlayerAccountGamingLimitsWrapper2-Ci9NymX1.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsWrapper2-DY7OziU-.js → PlayerAccountGamingLimitsWrapper2-Cz0NDH_o.js} +3 -3
- package/components/{PlayerAccountGeneralConfirmationModal-DNkcN7ty.cjs → PlayerAccountGeneralConfirmationModal-C855qGTP.cjs} +1 -1
- package/components/{PlayerAccountGeneralConfirmationModal-BbAXu7LA.js → PlayerAccountGeneralConfirmationModal-CIv11GhP.js} +1 -1
- package/components/{PlayerAccountGeneralConfirmationModal-CNr7wBeh.js → PlayerAccountGeneralConfirmationModal-DZGBTYv0.js} +1 -1
- package/components/PlayerAccountMenu-BnFxWsrj.cjs +1 -0
- package/components/{PlayerAccountMenu-CARKaeb_.js → PlayerAccountMenu-faH_tMrr.js} +111 -112
- package/components/{PlayerAccountMenu-CSjfFSiS.js → PlayerAccountMenu-muxxYK_y.js} +111 -112
- package/components/{PlayerAccountModal-DcuNgIsg.js → PlayerAccountModal-BVOMSchH.js} +1 -1
- package/components/{PlayerAccountModal-Dmgt5WVr.cjs → PlayerAccountModal-DISAz4QD.cjs} +1 -1
- package/components/{PlayerAccountModal-IFpCl0Uz.js → PlayerAccountModal-DOARFyxN.js} +1 -1
- package/components/PlayerAccountNotifications-DN4TPQQU.cjs +1 -0
- package/components/{PlayerAccountNotifications-DFauPmd4.js → PlayerAccountNotifications-RAJoer4R.js} +54 -55
- package/components/{PlayerAccountNotifications-C1NLTeZY.js → PlayerAccountNotifications-ZTSodR_w.js} +58 -59
- package/components/{PlayerAccountSelfExclusion-CcBtRscg.cjs → PlayerAccountSelfExclusion-0cKw8uv6.cjs} +1 -1
- package/components/{PlayerAccountSelfExclusion-BYJ28ASb.js → PlayerAccountSelfExclusion-BzJmueBq.js} +2 -2
- package/components/{PlayerAccountSelfExclusion-BKNMjGeJ.js → PlayerAccountSelfExclusion-DgY6NOih.js} +2 -2
- package/components/{PlayerAccountTimeout-B3AH6XOt.js → PlayerAccountTimeout-D3Klg06M.js} +4 -4
- package/components/{PlayerAccountTimeout-Bkmp3-eA.js → PlayerAccountTimeout-DS4vaCRe.js} +4 -4
- package/components/{PlayerAccountTimeout-CLi5If_j.cjs → PlayerAccountTimeout-Dw5oqiqy.cjs} +1 -1
- package/components/{PlayerActiveBonuses-NHzgl6B8.cjs → PlayerActiveBonuses-BMD0VJ2_.cjs} +1 -1
- package/components/{PlayerActiveBonuses-C2N9z4Wk.js → PlayerActiveBonuses-CpZclWGh.js} +2 -2
- package/components/{PlayerActiveBonuses-BRNrSu8p.js → PlayerActiveBonuses-K3C-mEXB.js} +2 -2
- package/components/PlayerBonusCard-69HwaVge.cjs +1 -0
- package/components/{PlayerBonusCard-ys8sEqaW.js → PlayerBonusCard-C1HOmtzk.js} +152 -151
- package/components/{PlayerBonusCard-BnXPy7Pl.js → PlayerBonusCard-CqTwze07.js} +152 -151
- package/components/{PlayerBonusHistory-DSTP6ZoH.js → PlayerBonusHistory-BLVjkz2G.js} +4 -4
- package/components/{PlayerBonusHistory-DMarejVg.js → PlayerBonusHistory-CHIhzG2z.js} +4 -4
- package/components/{PlayerBonusHistory-Dg5LjtIZ.cjs → PlayerBonusHistory-CmSqqsTj.cjs} +1 -1
- package/components/{PlayerChangePassword-DIJxZkuX.js → PlayerChangePassword-0M_mNZGg.js} +1 -1
- package/components/{PlayerChangePassword-sZQBKHjd.js → PlayerChangePassword-CSp7wLtb.js} +1 -1
- package/components/{PlayerChangePassword-DkVY0JFR.cjs → PlayerChangePassword-CeUedW_1.cjs} +1 -1
- package/components/{PlayerDeposit-DgZ1K6jf.cjs → PlayerDeposit-BmunpkgB.cjs} +1 -1
- package/components/{PlayerDeposit-DJdl_B5Q.js → PlayerDeposit-CaAAHcig.js} +1 -1
- package/components/{PlayerDeposit-C8yaYj_O.js → PlayerDeposit-D_teqol-.js} +1 -1
- package/components/{PlayerGamingHistory-Bz-tWEB-.cjs → PlayerGamingHistory-ClPLNmQZ.cjs} +1 -1
- package/components/{PlayerGamingHistory-CUv-flEN.js → PlayerGamingHistory-D3MM0M-d.js} +4 -4
- package/components/{PlayerGamingHistory-C-a7eWUa.js → PlayerGamingHistory-Dwci4jbI.js} +4 -4
- package/components/{PlayerPendingWithdrawals-H49FURps.cjs → PlayerPendingWithdrawals-BdgNl6Vs.cjs} +1 -1
- package/components/{PlayerPendingWithdrawals-DtwQGdZm.js → PlayerPendingWithdrawals-BsBdAyWz.js} +1 -1
- package/components/{PlayerPendingWithdrawals-D9Yxc7FK.js → PlayerPendingWithdrawals-cd7rhkZE.js} +1 -1
- package/components/{PlayerProfileInfo-DCG1m8s7.js → PlayerProfileInfo-BSSvn4ky.js} +2 -2
- package/components/{PlayerProfileInfo-B2B_yWpR.cjs → PlayerProfileInfo-CGrlx6XJ.cjs} +1 -1
- package/components/{PlayerProfileInfo-TSYhIxp0.js → PlayerProfileInfo-CljM7MQx.js} +2 -2
- package/components/{PlayerRealityCheck-Bs__HuR3.cjs → PlayerRealityCheck-BPjD8dSn.cjs} +1 -1
- package/components/{PlayerRealityCheck-BCc9e1-4.js → PlayerRealityCheck-Car60VrF.js} +2 -2
- package/components/{PlayerRealityCheck-YPtJgHZo.js → PlayerRealityCheck-DcKE6Uql.js} +2 -2
- package/components/{PlayerTransactionHistory-CSHYcAs1.js → PlayerTransactionHistory-C1BTOKWO.js} +1 -1
- package/components/{PlayerTransactionHistory-Bb8js_3p.cjs → PlayerTransactionHistory-D8WUTK8U.cjs} +1 -1
- package/components/{PlayerTransactionHistory-D31yO5X5.js → PlayerTransactionHistory-me_c2Kdi.js} +1 -1
- package/components/{PlayerWithdrawal-BcoiHu5m.js → PlayerWithdrawal-CFGV-nzN.js} +1 -1
- package/components/{PlayerWithdrawal-Byr8jun8.js → PlayerWithdrawal-CJsQNLis.js} +1 -1
- package/components/{PlayerWithdrawal-xHn3kl2k.cjs → PlayerWithdrawal-g7alD3vj.cjs} +1 -1
- package/es2015/player-account-controller.cjs +1 -1
- package/es2015/player-account-controller.js +1 -1
- package/esnext/player-account-controller.js +1 -1
- package/package.json +1 -1
- package/stencil/app-globals-0f993ce5-DgYhdguE.cjs +1 -0
- package/stencil/{app-globals-0f993ce5-CQ9uDp49.js → app-globals-0f993ce5-DzSE6TtH.js} +2 -4
- package/stencil/{index-1ef3a64c-Kn7ohe2t.js → index-1ef3a64c-C4-h3nXC.js} +1 -1
- package/stencil/{index-1ef3a64c-BQUwxiUT.js → index-1ef3a64c-Cb8qLHe4.js} +1 -1
- package/stencil/{index-1ef3a64c-Btq5IvMJ.cjs → index-1ef3a64c-CzlpRJE7.cjs} +1 -1
- package/stencil/{index-21ba09dd-DNkmY6MF.js → index-7c5e707a-C9R6jYpt.js} +4 -4
- package/stencil/{index-21ba09dd-C-HsjTUn.js → index-7c5e707a-DvxqcEpc.js} +4 -4
- package/stencil/index-7c5e707a-ESX_oqGB.cjs +1 -0
- package/stencil/index-9c0f6c58-D5txcAjr.js +549 -0
- package/stencil/index-9c0f6c58-DeCWAW-B.cjs +1 -0
- package/stencil/{index-34008883-DRJSKOUl.js → index-9c0f6c58-DeLVbTUg.js} +200 -228
- package/stencil/{index-b2193545-DXYxg-Ur.js → index-b2193545-CnMZ4-Ff.js} +1 -1
- package/stencil/{index-b2193545-CZLTKj69.cjs → index-b2193545-Ct5AhxM8.cjs} +1 -1
- package/stencil/{index-b2193545-BTiWOlSy.js → index-b2193545-DePry399.js} +1 -1
- package/stencil/{player-change-password-gm2-imi6O1-U.js → player-change-password-gm2-DHnclYKw.js} +1 -1
- package/stencil/{player-change-password-gm2-ADkIHrgJ.cjs → player-change-password-gm2-DRIOay0t.cjs} +1 -1
- package/stencil/{player-change-password-gm2-CfP6Qbnu.js → player-change-password-gm2-nCHwkzVc.js} +1 -1
- package/stencil/player-kyc-verification-C0h2CP_Y.cjs +180 -0
- package/stencil/{player-kyc-verification_2-EJZCFPKM.js → player-kyc-verification-dmJNIHni.js} +39 -67
- package/stencil/{player-kyc-verification_2-w8_XwPSF.js → player-kyc-verification-z8R7nMzo.js} +28 -58
- package/stencil/{ui-skeleton-6d1c12ae-C3kv5BUk.js → ui-skeleton-1cb75d00-BI5A-j0y.js} +4 -4
- package/stencil/{ui-skeleton-6d1c12ae-DJPgMPrF.cjs → ui-skeleton-1cb75d00-Batko5iK.cjs} +2 -2
- package/stencil/{ui-skeleton-6d1c12ae-CaaJODhZ.js → ui-skeleton-1cb75d00-CwDKR1VD.js} +4 -4
- package/stencil/{ui-skeleton-DX9fcIIz.js → ui-skeleton-C974aG7g.js} +3 -3
- package/stencil/{ui-skeleton-1aZpiK3a.js → ui-skeleton-DoX-UmRU.js} +5 -5
- package/stencil/{ui-skeleton-84ZRJzrd.cjs → ui-skeleton-t0bb1jH7.cjs} +1 -1
- package/stencil/{user-deposit-withdrawal-BC5Vpfet.cjs → user-deposit-withdrawal-CBWlU3d2.cjs} +1 -1
- package/stencil/{user-deposit-withdrawal-IExj2XcB.js → user-deposit-withdrawal-CE9oDw4W.js} +2 -2
- package/stencil/{user-deposit-withdrawal-DHbTwAxF.js → user-deposit-withdrawal-Dnqg2IvK.js} +2 -2
- package/stencil/{ui-image_2-nVKXie9g.js → user-transaction-history-BAK7MHHa.js} +93 -121
- package/stencil/{ui-image_2-CYG1_Yew.js → user-transaction-history-DhQ6RqNc.js} +81 -111
- package/stencil/user-transaction-history-DiRXpfbN.cjs +1 -0
- package/components/GeneralLogout-CneHnHyh.cjs +0 -21
- package/components/PlayerAccountMenu-DbPwX5s7.cjs +0 -1
- package/components/PlayerAccountNotifications-VnrN4aPw.cjs +0 -1
- package/components/PlayerBonusCard-B1SyuM2F.cjs +0 -1
- package/stencil/app-globals-0f993ce5-zj2RKZu-.cjs +0 -1
- package/stencil/index-21ba09dd-lQRQL1Nd.cjs +0 -1
- package/stencil/index-34008883-B7S8keyz.js +0 -577
- package/stencil/index-34008883-CX1Vpol5.cjs +0 -1
- package/stencil/index-b7bbd57e-98ddCQYl.js +0 -534
- package/stencil/index-b7bbd57e-BTUOk4HF.js +0 -550
- package/stencil/index-b7bbd57e-CCr8MvU_.cjs +0 -1
- package/stencil/player-kyc-verification-CJSQoIZp.js +0 -25
- package/stencil/player-kyc-verification-ChHU4NZP.js +0 -7
- package/stencil/player-kyc-verification-YKqDy8y5.cjs +0 -1
- package/stencil/player-kyc-verification_2-HIgoVn9n.cjs +0 -180
- package/stencil/ui-image-38c3c15f-B5VYjuwc.cjs +0 -1
- package/stencil/ui-image-38c3c15f-GCugIif_.js +0 -39
- package/stencil/ui-image-38c3c15f-jIUUUHF_.js +0 -39
- package/stencil/ui-image-C3z33p-I.js +0 -29
- package/stencil/ui-image-DZDIlV4g.js +0 -11
- package/stencil/ui-image-Doro4rUa.cjs +0 -1
- package/stencil/ui-image_2-Cyb78tZB.cjs +0 -1
- package/stencil/user-transaction-history-BQjF7asc.cjs +0 -1
- package/stencil/user-transaction-history-BhqF7ecn.js +0 -7
- package/stencil/user-transaction-history-GwpbhIB0.js +0 -25
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./GeneralLogout-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./GeneralLogout-CG738i36.cjs");function A(o,t){e.addMessages(o,t)}function T(o){e.$locale.set(o)}const F={en:{cancel:"Cancel",confirm:"Confirm"},fr:{cancel:"Annuler",confirm:"Confirmer"},ro:{cancel:"Anulează",confirm:"Confirmă"},es:{cancel:"Cancelar",confirm:"Confirmar"},pt:{cancel:"Cancelar",confirm:"Confirmar"},"zh-hk":{cancel:"取消",confirm:"確認"},hr:{cancel:"Otkaži",confirm:"Potvrdi"},"pt-br":{cancel:"Cancelar",confirm:"confirme"},"es-mx":{cancel:"Cancelar",confirm:"Confirmar"},tr:{cancel:"İptal etmek",confirm:"Onaylamak"},"en-us":{cancel:"Cancel",confirm:"Confirm"}};function P(o){e.append_styles(o,"svelte-1o81iqe",'*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.GeneralConfirmationWrapper{position:fixed;top:0;right:0;bottom:0;left:0;background-color:var(--emw--color-background, rgba(0, 0, 0, 0.7));display:flex;justify-content:center;align-items:center;z-index:300;color:var(--emw--color-typography, #FFFFFF)}.GeneralConfirmationTitle{margin-bottom:20px}.GeneralConfirmationContainer{position:relative;background:linear-gradient(to right, var(--emw--color-primary-variant, #184026), var(--emw--color-secondary-variant, #013E5C));border:5px solid transparent;padding:60px 30px 30px;background-clip:padding-box;border-radius:var(--emw--border-radius-medium, 20px);text-align:center}.GeneralConfirmationContainer::before{content:"";position:absolute;top:-4px;left:-8px;width:103%;height:105%;z-index:-1;background:linear-gradient(to right, var(--emw--color-primary, #22B04E), color-mix(in srgb, var(--emw--color-secondary, #E98B0F) 80%, black 20%), #22B04E);opacity:0.5;border-radius:inherit;filter:blur(6px)}.GeneralConfirmationContainer::after{position:absolute;top:-4px;bottom:-4px;left:-4px;right:-4px;background:linear-gradient(to right, color-mix(in srgb, var(--emw--color-primary-variant, #184026) 80%, white 10%), color-mix(in srgb, var(--emw--color-secondary-variant, #013E5C) 80%, white 10%));content:"";z-index:-1;border-radius:var(--emw--border-radius-medium, 20px)}.GeneralConfirmationContainerMobile{padding:40px;max-width:330px}.GeneralConfirmationContainerMobile .GeneralConfirmationControlAreaMobile .GeneralCancelButton,.GeneralConfirmationContainerMobile .GeneralConfirmationControlAreaMobile .GeneralConfirmButton{width:120px;height:auto;font-size:var(--emw--font-size-x-small, 12px)}.GeneralConfirmationContent{font-size:var(--emw--font-size-medium, 18px);font-weight:300}.GeneralConfirmationControlArea{display:flex;gap:10px;direction:ltr;margin-top:30px}.GeneralConfirmationControlArea .GeneralCancelButton,.GeneralConfirmationControlArea .GeneralConfirmButton{flex:1;background:transparent;border:1px solid var(--emw--color-gray-100, #BFCBC3);color:var(--emw--color-gray-100, #BFCBC3);cursor:pointer;border-radius:var(--emw--button-border-radius, 50px);width:200px;height:50px;font-size:var(--emw--font-size-small, 16px);text-transform:uppercase;text-align:center;transition-duration:0.3s;box-sizing:border-box;padding:10px}.GeneralConfirmationControlArea .GeneralConfirmButton{background-color:var(--emw--color-primary, #22B04E);border:2px solid var(--emw--button-border-color, #063B17);border-radius:var(--emw--button-border-radius, 50px);color:var(--emw--button-typography, var(--emw--button-text-color, #FFFFFF))}.ModalCloseBtn{position:absolute;display:flex;align-items:center;justify-content:center;top:5px;right:5px;padding:8px;border-radius:50%;cursor:pointer;transition:all 150ms ease-in-out}.ModalCloseBtn svg{width:35px;height:40px}.ModalCloseBtn:hover{background:rgba(255, 255, 255, 0.2)}.GeneralConfirmationMobileWrapper{border:none;padding:0}')}const W=o=>({}),z=o=>({});function q(o){let t,n;return{c(){t=e.svg_element("svg"),n=e.svg_element("path"),e.attr(n,"stroke-linecap","round"),e.attr(n,"stroke-linejoin","round"),e.attr(n,"stroke-width","2"),e.attr(n,"d","M6 18L18 6M6 6l12 12"),e.attr(t,"class","w-6 h-6"),e.attr(t,"fill","none"),e.attr(t,"stroke","currentColor"),e.attr(t,"viewBox","0 0 24 24"),e.attr(t,"xmlns","http://www.w3.org/2000/svg")},m(i,c){e.insert(i,t,c),e.append(t,n)},p:e.noop,d(i){i&&e.detach(t)}}}function S(o){let t,n,i;return{c(){t=e.element("div"),n=e.element("h2"),i=e.text(o[1]),e.attr(t,"class","GeneralConfirmationTitle")},m(c,m){e.insert(c,t,m),e.append(t,n),e.append(n,i)},p(c,m){m&2&&e.set_data(i,c[1])},d(c){c&&e.detach(t)}}}function E(o){let t,n=o[4]("cancel")+"",i,c,m;return{c(){t=e.element("button"),i=e.text(n),e.attr(t,"class","GeneralCancelButton")},m(d,h){e.insert(d,t,h),e.append(t,i),c||(m=e.listen(t,"click",o[17]),c=!0)},p(d,h){h&16&&n!==(n=d[4]("cancel")+"")&&e.set_data(i,n)},d(d){d&&e.detach(t),c=!1,m()}}}function N(o){let t,n,i,c,m,d,h,G,u,_,p,x=o[4]("confirm")+"",v,f,w,g;const M=o[16].close,y=e.create_slot(M,o,o[15],z),b=y||q();let a=o[1]&&S(o),s=o[2]&&E(o);return{c(){t=e.element("div"),n=e.element("div"),i=e.element("span"),b&&b.c(),c=e.space(),a&&a.c(),m=e.space(),d=e.element("div"),h=e.text(o[0]),G=e.space(),u=e.element("div"),s&&s.c(),_=e.space(),p=e.element("button"),v=e.text(x),e.attr(i,"class","ModalCloseBtn"),e.attr(i,"role","button"),e.attr(d,"class","GeneralConfirmationContent"),e.attr(p,"class","GeneralConfirmButton"),e.attr(u,"class","GeneralConfirmationControlArea "+(o[5]?"GeneralConfirmationControlAreaMobile":"")),e.attr(n,"class","GeneralConfirmationContainer "+(o[5]?"GeneralConfirmationContainerMobile":"")),e.attr(t,"class","GeneralConfirmationWrapper "+(o[5]?"GeneralConfirmationMobileWrapper":""))},m(l,C){e.insert(l,t,C),e.append(t,n),e.append(n,i),b&&b.m(i,null),e.append(n,c),a&&a.m(n,null),e.append(n,m),e.append(n,d),e.append(d,h),e.append(n,G),e.append(n,u),s&&s.m(u,null),e.append(u,_),e.append(u,p),e.append(p,v),o[19](t),f=!0,w||(g=[e.listen(i,"click",o[6]),e.listen(p,"click",o[18])],w=!0)},p(l,[C]){y&&y.p&&(!f||C&32768)&&e.update_slot_base(y,M,l,l[15],f?e.get_slot_changes(M,l[15],C,W):e.get_all_dirty_from_scope(l[15]),z),l[1]?a?a.p(l,C):(a=S(l),a.c(),a.m(n,m)):a&&(a.d(1),a=null),(!f||C&1)&&e.set_data(h,l[0]),l[2]?s?s.p(l,C):(s=E(l),s.c(),s.m(u,_)):s&&(s.d(1),s=null),(!f||C&16)&&x!==(x=l[4]("confirm")+"")&&e.set_data(v,x)},i(l){f||(e.transition_in(b,l),f=!0)},o(l){e.transition_out(b,l),f=!1},d(l){l&&e.detach(t),b&&b.d(l),a&&a.d(),s&&s.d(),o[19](null),w=!1,e.run_all(g)}}}function R(o,t,n){let i;e.component_subscribe(o,e.$format,r=>n(4,i=r));let{$$slots:c={},$$scope:m}=t,{modaltext:d="Are you sure that you want to perform this action?"}=t,{modaltitle:h=""}=t,{hascancelbutton:G=!1}=t,{modalconfirmevent:u={}}=t,{modalcancelevent:_={}}=t,{lang:p="en"}=t,{clientstyling:x=""}=t,{clientstylingurl:v=""}=t,{translationurl:f=""}=t,{mbsource:w}=t,g,M=window.navigator.userAgent,y=e.getDevice(M)!=="PC";const b=()=>{window.postMessage({type:"ModalClosed"},window.location.href)},a=r=>{r==="confirm"&&u&&window.postMessage(u,window.location.href),r==="cancel"&&_&&window.postMessage(_,window.location.href),b()},s=()=>{fetch(f).then(k=>k.json()).then(k=>{Object.keys(k).forEach(B=>{A(B,k[B])})}).catch(k=>{console.log(k)})};Object.keys(F).forEach(r=>{A(r,F[r])});const l=()=>{T(p)};e.onMount(()=>()=>{});const C=()=>a("cancel"),L=()=>a("confirm");function O(r){e.binding_callbacks[r?"unshift":"push"](()=>{g=r,n(3,g)})}return o.$$set=r=>{"modaltext"in r&&n(0,d=r.modaltext),"modaltitle"in r&&n(1,h=r.modaltitle),"hascancelbutton"in r&&n(2,G=r.hascancelbutton),"modalconfirmevent"in r&&n(8,u=r.modalconfirmevent),"modalcancelevent"in r&&n(9,_=r.modalcancelevent),"lang"in r&&n(10,p=r.lang),"clientstyling"in r&&n(11,x=r.clientstyling),"clientstylingurl"in r&&n(12,v=r.clientstylingurl),"translationurl"in r&&n(13,f=r.translationurl),"mbsource"in r&&n(14,w=r.mbsource),"$$scope"in r&&n(15,m=r.$$scope)},o.$$.update=()=>{o.$$.dirty&1025&&d&&p&&l(),o.$$.dirty&2056&&x&&g&&e.setClientStyling(g,x),o.$$.dirty&4104&&v&&g&&e.setClientStylingURL(g,v),o.$$.dirty&16392&&w&&g&&e.setStreamStyling(g,`${w}.Style`),o.$$.dirty&8192&&f&&s()},[d,h,G,g,i,y,b,a,u,_,p,x,v,f,w,m,c,C,L,O]}class j extends e.SvelteComponent{constructor(t){super(),e.init(this,t,R,N,e.safe_not_equal,{modaltext:0,modaltitle:1,hascancelbutton:2,modalconfirmevent:8,modalcancelevent:9,lang:10,clientstyling:11,clientstylingurl:12,translationurl:13,mbsource:14},P)}get modaltext(){return this.$$.ctx[0]}set modaltext(t){this.$$set({modaltext:t}),e.flush()}get modaltitle(){return this.$$.ctx[1]}set modaltitle(t){this.$$set({modaltitle:t}),e.flush()}get hascancelbutton(){return this.$$.ctx[2]}set hascancelbutton(t){this.$$set({hascancelbutton:t}),e.flush()}get modalconfirmevent(){return this.$$.ctx[8]}set modalconfirmevent(t){this.$$set({modalconfirmevent:t}),e.flush()}get modalcancelevent(){return this.$$.ctx[9]}set modalcancelevent(t){this.$$set({modalcancelevent:t}),e.flush()}get lang(){return this.$$.ctx[10]}set lang(t){this.$$set({lang:t}),e.flush()}get clientstyling(){return this.$$.ctx[11]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[12]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get translationurl(){return this.$$.ctx[13]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}get mbsource(){return this.$$.ctx[14]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}}e.create_custom_element(j,{modaltext:{},modaltitle:{},hascancelbutton:{type:"Boolean"},modalconfirmevent:{},modalcancelevent:{},lang:{},clientstyling:{},clientstylingurl:{},translationurl:{},mbsource:{}},["close"],[],!0);exports.default=j;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as H, $ as J, S as K, i as Q, s as V, f as v, b as X, H as Y, d as j, r as Z, I as $, J as ee, K as te, L as ne, M as oe, c as S, g as L, h as m, l as O, j as _, k as z, m as E, o as l, p as ie, q as re, u as ae, n as le, v as W, w as se, x as ce, y as me, z as fe, A as de, B as ue } from "./GeneralLogout-
|
|
1
|
+
import { a as H, $ as J, S as K, i as Q, s as V, f as v, b as X, H as Y, d as j, r as Z, I as $, J as ee, K as te, L as ne, M as oe, c as S, g as L, h as m, l as O, j as _, k as z, m as E, o as l, p as ie, q as re, u as ae, n as le, v as W, w as se, x as ce, y as me, z as fe, A as de, B as ue } from "./GeneralLogout-B5B3mUfv.js";
|
|
2
2
|
function q(n, e) {
|
|
3
3
|
H(n, e);
|
|
4
4
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as H, $ as J, S as K, i as Q, s as V, f as v, b as X, H as Y, d as j, r as Z, I as $, J as ee, K as te, L as ne, M as oe, c as S, g as L, h as m, l as O, j as _, k as z, m as E, o as l, p as ie, q as re, u as ae, n as le, v as W, w as se, x as ce, y as me, z as fe, A as de, B as ue } from "./GeneralLogout-
|
|
1
|
+
import { a as H, $ as J, S as K, i as Q, s as V, f as v, b as X, H as Y, d as j, r as Z, I as $, J as ee, K as te, L as ne, M as oe, c as S, g as L, h as m, l as O, j as _, k as z, m as E, o as l, p as ie, q as re, u as ae, n as le, v as W, w as se, x as ce, y as me, z as fe, A as de, B as ue } from "./GeneralLogout-r9dFykD6.js";
|
|
2
2
|
function q(n, e) {
|
|
3
3
|
H(n, e);
|
|
4
4
|
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./GeneralLogout-CG738i36.cjs");require("../stencil/ui-skeleton-t0bb1jH7.cjs");function E(l,t){e.addMessages(l,t)}function J(l){e.$locale.set(l)}const B={en:{title:"My Account"},"zh-hk":{title:"我的帳戶"},fr:{title:"Mon compte"},tr:{title:"Hesabım"},ro:{title:"Contul meu"},es:{title:"Mi Cuenta"},pt:{title:"Minha Conta"},hr:{title:"Moj račun"},"pt-br":{title:"Minha conta"},"es-mx":{title:"Mi cuenta"},"en-us":{title:"My Account"}};if(typeof window!="undefined"){let l=function(t){return function(...n){try{return t.apply(this,n)}catch(a){if(a instanceof DOMException&&a.message.includes("has already been used with this registry")||a.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw a}}};customElements.define=l(customElements.define),Promise.resolve().then(()=>require("./GeneralLogout-CG738i36.cjs")).then(t=>t.GeneralLogout_ce).then(({default:t})=>{!customElements.get("general-logout")&&customElements.define("general-logout",t.element)})}function K(l){e.append_styles(l,"svelte-io9slc",".PlayerAccountMenuContainer{color:var(--emw--pam-typography-color-nav-bg, var(--emw--color-contrast, #FFFFFF));position:relative;height:100vh;display:flex;flex-direction:column;border-right:2px solid #58586b;animation-name:fadeIn;animation-iteration-count:1;animation-timing-function:ease-in;animation-duration:0.3s}.PlayerAccountMenuContainer .PlayerAccountMenuItemWrapper{margin:0;word-break:break-all;display:flex;align-items:center}.PlayerAccountMenuContainer .PlayerAccountMenuItemWrapper span{display:flex;align-items:center}.PlayerAccountMenuContainer .skeletonLogOut{width:100%}.PlayerAccountMenuHeader{color:var(--emw--pam-typography-color-nav-bg, var(--emw--color-contrast, #FFFFFF));flex-grow:0;padding:30px 20px}.PlayerAccountMenuHeader .PlayerAccountMenuUser{margin-bottom:5px;font-size:18px}.PlayerAccountMenuHeader .PlayerAccountMenuEmail{font-size:14px;text-overflow:ellipsis;overflow:hidden}.PlayerAccountMenuHeader p{font-weight:300}.PlayerAccountMenuHeaderMobile{color:var(--emw--pam-typography-color-nav-bg, var(--emw--color-contrast, #FFFFFF))}.PlayerAccountMenuItemBox{padding:16px 20px;font-size:16px;line-height:16px;display:inline-flex;width:100%;box-sizing:border-box;align-items:center;cursor:pointer}.PlayerAccountMenuItemBox .PlayerAccountMenuItemTitle{margin-left:20px}.PlayerAccountMenuItemBox:not(:last-child){border-bottom:1px solid var(--emw--color-gray-150, #828282)}.PlayerAccountMenuItemBox .PlayerAccountMenuItemIcon{width:20px;height:20px;padding-top:unset}.PlayerAccountMenuItemBox .PlayerAccountMenuItemIconMobile{width:30px;height:30px;padding-top:15px}.PlayerAccountMenuList{overflow-y:auto;scrollbar-width:thin;scrollbar-color:var(--emw--color-gray-100, #E6E6E6) var(--emw--color-gray-300, #58586B);min-height:900px}.PlayerAccountMenuList::-webkit-scrollbar{width:6px}.PlayerAccountMenuList::-webkit-scrollbar-track{background:var(--emw--color-gray-300, #58586B)}.PlayerAccountMenuList::-webkit-scrollbar-thumb{background:var(--emw--color-gray-100, #E6E6E6)}.PlayerAccountItemWrap{display:flex;gap:20px;padding:16px 20px}.PlayerAccountItemWrap.PlayerAccountItemWrapMobile{flex-wrap:wrap;flex:0 0 33.3333%;padding:0;gap:10px}.PlayerAccountItemWrap.PlayerAccountItemWrapMobile ui-skeleton{width:100%}.PlayerAccountItemWrap ui-skeleton:last-child{flex:1}.PlayerAccountLogOutArea{background:var(--emw--color-gray-300, #58586B);color:var(--emw--pam-typography-color-nav-bg, var(--emw--color-contrast, #FFFFFF));width:100%;flex-grow:0;border-top:1px solid var(--emw--color-gray-150, #828282)}.PlayerAccountMenuActiveItemBox{background:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));color:var(--emw--pam-typography-color-nav-bg, var(--emw--color-contrast, #FFFFFF))}.PlayerAccountMobileContainer{height:unset}.PlayerAccountMobileContainer .PlayerAccountMenuCategoryWrapper{display:flex;align-items:center;gap:10px;margin-bottom:18px}.PlayerAccountMobileContainer .PlayerAccountMenuCategoryTitle{margin:0;font-weight:600}.PlayerAccountMobileContainer .PlayerAccountMenuItemTitle{margin-left:0;text-transform:capitalize;line-height:14px}.PlayerAccountMobileContainer .PlayerAccountMenuEmail{margin:0}.PlayerAccountMobileContainer .PlayerAccountMenuList{display:grid;grid-template-columns:calc(33% - 6.66px) calc(33% - 6.66px) calc(33% - 6.66px);column-gap:10px;row-gap:10px;padding:0 20px 20px}.PlayerAccountMobileContainer .PlayerAccountMenuList .PlayerAccountMenuItemBox{border:1px solid var(--emw--color-gray-300, #58586B);border-radius:5px;height:auto;justify-content:center;padding-bottom:calc(100% - 22px);position:relative}.PlayerAccountMobileContainer .PlayerAccountMenuList .PlayerAccountMenuItemBox.PlayerAccountMenuActiveItemBox{background:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));border-bottom:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C))}.PlayerAccountMobileContainer .PlayerAccountMenuList .PlayerAccountMenuItemBox .PlayerAccountMenuItemIcon{width:30px}.PlayerAccountMobileContainer .PlayerAccountMenuList .PlayerAccountMenuItemWrapper{display:flex;align-items:center;justify-content:space-between;flex-flow:column;gap:6px;position:absolute;top:0;bottom:0;left:0;right:0}.PlayerAccountMobileContainer .PlayerAccountMenuList .PlayerAccountMenuItemWrapper .PlayerAccountMenuItemTitle{font-size:11px;padding:0 5px 15px 5px;font-weight:400;word-break:break-word;text-align:center;color:var(--emw--pam-typography-color-nav-bg, var(--emw--color-contrast, #FFFFFF))}.PlayerAccountMobileContainer .PlayerAccountLogOutArea{position:absolute;right:18px;top:56px;bottom:unset;background:transparent;width:48px;border-top:0}.PlayerAccountTabletContainer .PlayerAccountMenuHeader{padding:30px 40px}.PlayerAccountTabletContainer .PlayerAccountMenuCategoryTitle{font-size:32px}.PlayerAccountTabletContainer .PlayerAccountMenuUser{font-size:26px}.PlayerAccountTabletContainer .PlayerAccountMenuEmail{font-size:20px}.PlayerAccountTabletContainer .PlayerAccountMenuList{column-gap:20px;row-gap:20px;padding:0 40px 40px;grid-template-columns:calc(33% - 11px) calc(33% - 11px) calc(33% - 11px)}.PlayerAccountTabletContainer .PlayerAccountMenuList .PlayerAccountMenuItemBox .PlayerAccountMenuItemIcon{width:80px}.PlayerAccountTabletContainer .PlayerAccountMenuList .PlayerAccountMenuItemWrapper{gap:28px}.PlayerAccountTabletContainer .PlayerAccountMenuList .PlayerAccountMenuItemWrapper .PlayerAccountMenuItemTitle{font-size:24px}.PlayerAccountTabletContainer .PlayerAccountLogOutArea{right:54px;top:72px}@keyframes fadeIn{0%{opacity:0.01}1%{opacity:0}50%{opacity:0}100%{opacity:1}}")}function W(l,t,n){const a=l.slice();return a[40]=t[n],a}function H(l,t,n){const a=l.slice();return a[37]=t[n],a}function Y(l){let t,n,a,r,s,m,y,f,b,_,g,h,u=l[12]&&ee(l),c=l[12]&&te(l),p=e.ensure_array_like(l[7]),i=[];for(let d=0;d<p.length;d+=1)i[d]=S(W(l,p,d));let v=!l[12]&&ne(l);return{c(){t=e.element("div"),n=e.element("div"),u&&u.c(),a=e.space(),r=e.element("p"),s=e.text(l[9]),m=e.space(),y=e.element("p"),f=e.text(l[10]),b=e.space(),c&&c.c(),_=e.space(),g=e.element("div");for(let d=0;d<i.length;d+=1)i[d].c();h=e.space(),v&&v.c(),e.attr(r,"class","PlayerAccountMenuUser"),e.attr(y,"class","PlayerAccountMenuEmail"),e.attr(n,"class","PlayerAccountMenuHeader "+(l[12]?"PlayerAccountMenuHeaderMobile":"")),e.attr(g,"class","PlayerAccountMenuList"),e.attr(t,"class","PlayerAccountMenuContainer "+(l[12]?"PlayerAccountMobileContainer":"")+" "+(l[13].matches&&l[12]?"PlayerAccountTabletContainer":""))},m(d,P){e.insert(d,t,P),e.append(t,n),u&&u.m(n,null),e.append(n,a),e.append(n,r),e.append(r,s),e.append(n,m),e.append(n,y),e.append(y,f),e.append(n,b),c&&c.m(n,null),e.append(t,_),e.append(t,g);for(let A=0;A<i.length;A+=1)i[A]&&i[A].m(g,null);e.append(t,h),v&&v.m(t,null)},p(d,P){if(d[12]&&u.p(d,P),P[0]&512&&e.set_data(s,d[9]),P[0]&1024&&e.set_data(f,d[10]),d[12]&&c.p(d,P),P[0]&20864){p=e.ensure_array_like(d[7]);let A;for(A=0;A<p.length;A+=1){const x=W(d,p,A);i[A]?i[A].p(x,P):(i[A]=S(x),i[A].c(),i[A].m(g,null))}for(;A<i.length;A+=1)i[A].d(1);i.length=p.length}d[12]||v.p(d,P)},d(d){d&&e.detach(t),u&&u.d(),c&&c.d(),e.destroy_each(i,d),v&&v.d()}}}function $(l){let t,n,a,r,s,m,y,f,b,_,g=l[12]&&le(),h=e.ensure_array_like(Array(18)),u=[];for(let c=0;c<h.length;c+=1)u[c]=z(H(l,h,c));return{c(){t=e.element("div"),n=e.element("div"),g&&g.c(),a=e.space(),r=e.element("ui-skeleton"),s=e.space(),m=e.element("ui-skeleton"),y=e.space(),f=e.element("div");for(let c=0;c<u.length;c+=1)u[c].c();b=e.space(),_=e.element("div"),_.innerHTML='<ui-skeleton structure="rectangle" width="auto" height="60px"></ui-skeleton>',e.set_custom_element_data(r,"structure","title"),e.set_custom_element_data(r,"width","100px"),e.set_custom_element_data(r,"height","20px"),e.set_custom_element_data(r,"margin-top","10px"),e.set_custom_element_data(m,"structure","text"),e.set_custom_element_data(m,"width","200px"),e.set_custom_element_data(m,"height","20px"),e.attr(n,"class","PlayerAccountMenuHeader "+(l[12]?"PlayerAccountMenuHeaderMobile":"")),e.attr(f,"class","PlayerAccountMenuList"),e.attr(_,"class","skeletonLogOut"),e.attr(t,"class","PlayerAccountMenuContainer "+(l[12]?"PlayerAccountMobileContainer":"")+" "+(l[13].matches&&l[12]?"PlayerAccountTabletContainer":""))},m(c,p){e.insert(c,t,p),e.append(t,n),g&&g.m(n,null),e.append(n,a),e.append(n,r),e.append(n,s),e.append(n,m),e.append(t,y),e.append(t,f);for(let i=0;i<u.length;i+=1)u[i]&&u[i].m(f,null);e.append(t,b),e.append(t,_)},p(c,p){if(p[0]&4096){h=e.ensure_array_like(Array(18));let i;for(i=0;i<h.length;i+=1){const v=H(c,h,i);u[i]?u[i].p(v,p):(u[i]=z(v),u[i].c(),u[i].m(f,null))}for(;i<u.length;i+=1)u[i].d(1);u.length=h.length}},d(c){c&&e.detach(t),g&&g.d(),e.destroy_each(u,c)}}}function ee(l){let t,n,a,r,s,m,y,f,b,_,g=l[11]("title")+"",h,u,c;return{c(){t=e.element("div"),n=e.svg_element("svg"),a=e.svg_element("defs"),r=e.svg_element("style"),s=e.text(".aaa{fill:var(--emw--color-white, #FFFFFF);}"),m=e.svg_element("g"),y=e.svg_element("g"),f=e.svg_element("path"),b=e.space(),_=e.element("h3"),h=e.text(g),e.attr(f,"class","aaa"),e.attr(f,"d","M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"),e.attr(f,"transform","translate(15 15) rotate(180)"),e.attr(y,"transform","translate(20 158)"),e.attr(m,"transform","translate(-20 -158)"),e.attr(n,"xmlns","http://www.w3.org/2000/svg"),e.attr(n,"width","15"),e.attr(n,"height","15"),e.attr(n,"viewBox","0 0 15 15"),e.attr(_,"class","PlayerAccountMenuCategoryTitle"),e.attr(t,"class","PlayerAccountMenuCategoryWrapper")},m(p,i){e.insert(p,t,i),e.append(t,n),e.append(n,a),e.append(a,r),e.append(r,s),e.append(n,m),e.append(m,y),e.append(y,f),e.append(t,b),e.append(t,_),e.append(_,h),u||(c=[e.listen(n,"click",l[15]),e.listen(_,"click",l[15])],u=!0)},p(p,i){i[0]&2048&&g!==(g=p[11]("title")+"")&&e.set_data(h,g)},d(p){p&&e.detach(t),u=!1,e.run_all(c)}}}function te(l){let t,n;return{c(){t=e.element("div"),n=e.element("general-logout"),e.set_custom_element_data(n,"endpoint",l[1]),e.set_custom_element_data(n,"session",l[0]),e.set_custom_element_data(n,"buttonlocation","PlayerAccountMenu"),e.set_custom_element_data(n,"clientstyling",l[2]),e.set_custom_element_data(n,"clientstylingurl",l[3]),e.set_custom_element_data(n,"mbsource",l[4]),e.attr(t,"class","PlayerAccountLogOutArea")},m(a,r){e.insert(a,t,r),e.append(t,n)},p(a,r){r[0]&2&&e.set_custom_element_data(n,"endpoint",a[1]),r[0]&1&&e.set_custom_element_data(n,"session",a[0]),r[0]&4&&e.set_custom_element_data(n,"clientstyling",a[2]),r[0]&8&&e.set_custom_element_data(n,"clientstylingurl",a[3]),r[0]&16&&e.set_custom_element_data(n,"mbsource",a[4])},d(a){a&&e.detach(t)}}}function S(l){let t,n,a,r,s,m,y=l[40].label+"",f,b,_,g,h;function u(){return l[25](l[40])}return{c(){t=e.element("div"),n=e.element("p"),a=e.element("img"),s=e.space(),m=e.element("span"),f=e.text(y),b=e.space(),e.attr(a,"class","PlayerAccountMenuItemIcon "+(l[12]?"PlayerAccountMenuItemIconMobile":"")),e.src_url_equal(a.src,r=l[40].img)||e.attr(a,"src",r),e.attr(m,"class","PlayerAccountMenuItemTitle"),e.attr(n,"class","PlayerAccountMenuItemWrapper"),e.attr(t,"class",_="PlayerAccountMenuItemBox "+(l[8]===l[40].id&&!l[12]?"PlayerAccountMenuActiveItemBox":""))},m(c,p){e.insert(c,t,p),e.append(t,n),e.append(n,a),e.append(n,s),e.append(n,m),e.append(m,f),e.append(t,b),g||(h=e.listen(t,"click",u),g=!0)},p(c,p){l=c,p[0]&128&&!e.src_url_equal(a.src,r=l[40].img)&&e.attr(a,"src",r),p[0]&128&&y!==(y=l[40].label+"")&&e.set_data(f,y),p[0]&384&&_!==(_="PlayerAccountMenuItemBox "+(l[8]===l[40].id&&!l[12]?"PlayerAccountMenuActiveItemBox":""))&&e.attr(t,"class",_)},d(c){c&&e.detach(t),g=!1,h()}}}function ne(l){let t,n;return{c(){t=e.element("div"),n=e.element("general-logout"),e.set_custom_element_data(n,"endpoint",l[1]),e.set_custom_element_data(n,"session",l[0]),e.set_custom_element_data(n,"buttonlocation","PlayerAccountMenu"),e.set_custom_element_data(n,"clientstyling",l[2]),e.set_custom_element_data(n,"clientstylingurl",l[3]),e.set_custom_element_data(n,"mbsource",l[4]),e.attr(t,"class","PlayerAccountLogOutArea")},m(a,r){e.insert(a,t,r),e.append(t,n)},p(a,r){r[0]&2&&e.set_custom_element_data(n,"endpoint",a[1]),r[0]&1&&e.set_custom_element_data(n,"session",a[0]),r[0]&4&&e.set_custom_element_data(n,"clientstyling",a[2]),r[0]&8&&e.set_custom_element_data(n,"clientstylingurl",a[3]),r[0]&16&&e.set_custom_element_data(n,"mbsource",a[4])},d(a){a&&e.detach(t)}}}function le(l){let t;return{c(){t=e.element("div"),t.innerHTML='<ui-skeleton structure="title" width="30px" height="30px"></ui-skeleton> <ui-skeleton structure="text" width="150px" height="30px"></ui-skeleton>',e.attr(t,"class","PlayerAccountMenuCategoryWrapper")},m(n,a){e.insert(n,t,a)},d(n){n&&e.detach(t)}}}function ae(l){let t;return{c(){t=e.element("ui-skeleton"),e.set_custom_element_data(t,"structure","circle"),e.set_custom_element_data(t,"size","20px")},m(n,a){e.insert(n,t,a)},d(n){n&&e.detach(t)}}}function z(l){let t,n,a,r,s=!l[12]&&ae();return{c(){t=e.element("div"),s&&s.c(),n=e.space(),a=e.element("ui-skeleton"),r=e.space(),e.set_custom_element_data(a,"structure","rectangle"),e.set_custom_element_data(a,"width","100%"),e.set_custom_element_data(a,"height",l[12]?"120px":"20px"),e.attr(t,"class","PlayerAccountItemWrap "+(l[12]?"PlayerAccountItemWrapMobile":""))},m(m,y){e.insert(m,t,y),s&&s.m(t,null),e.append(t,n),e.append(t,a),e.append(t,r)},p:e.noop,d(m){m&&e.detach(t),s&&s.d()}}}function oe(l){let t;function n(s,m){return s[6]?$:Y}let a=n(l),r=a(l);return{c(){t=e.element("div"),r.c()},m(s,m){e.insert(s,t,m),r.m(t,null),l[26](t)},p(s,m){a===(a=n(s))&&r?r.p(s,m):(r.d(1),r=a(s),r&&(r.c(),r.m(t,null)))},i:e.noop,o:e.noop,d(s){s&&e.detach(t),r.d(),l[26](null)}}}function re(l,t,n){let a;e.component_subscribe(l,e.$format,o=>n(11,a=o));let{endpoint:r=""}=t,{cmsendpoint:s=""}=t,{env:m=""}=t,{session:y=""}=t,{playerid:f=""}=t,{lang:b="en"}=t,{userroles:_=""}=t,{clientstyling:g=""}=t,{clientstylingurl:h=""}=t,{translationurl:u=""}=t,{activemenuitem:c=""}=t,{mbsource:p}=t,i=!1,v=!1,d=!0,P,A=[],x,k=window.navigator.userAgent,D=e.getDevice(k)!=="PC",I="",C="";const j=window.matchMedia("(min-width: 768px)"),U=()=>{fetch(u).then(M=>M.json()).then(M=>{Object.keys(M).forEach(w=>{E(w,M[w])})}).catch(M=>{console.error(M)})};Object.keys(B).forEach(o=>{E(o,B[o])});const F=o=>{if(o.data)switch(o.data.type){case"UserSessionID":n(0,y=o.data.session);break}},q=()=>{let o=e.getDevice(k);if(o)return o==="PC"?"dk":"mtWeb"},R=()=>{const o=new URL(`${s}/${b}/profile-menu?env=${m}`);o.searchParams.append("device",q()),fetch(o.href).then(M=>M.json()).then(M=>{n(7,A=M),T()}).catch(M=>{console.error("Error getting menu items",M)}).finally(()=>{n(23,i=!0)})},G=()=>{let o=new URL(`${r}/v1/player/${f}/profile`);o.searchParams.append("userRoles",_);let M={method:"GET",headers:{"X-SessionID":y}};fetch(o.href,M).then(w=>w.json()).then(w=>{n(9,I=w.username),n(10,C=w.email)},w=>{console.error(w)}).finally(()=>{n(24,v=!0)})},L=o=>{window.postMessage({type:"ChangeAccountPage",page:o},window.location.href),n(8,x=o.id)},T=()=>{var o;n(8,x=(o=A.find(M=>M.path.includes(c)))==null?void 0:o.id)},N=()=>{J(b)},Q=()=>{G()},V=()=>{window.postMessage({type:"GoToHomepage"},window.location.href)};e.onMount(()=>(window.addEventListener("message",F,!1),()=>{window.removeEventListener("message",F)}));const X=o=>L(o);function Z(o){e.binding_callbacks[o?"unshift":"push"](()=>{P=o,n(5,P)})}return l.$$set=o=>{"endpoint"in o&&n(1,r=o.endpoint),"cmsendpoint"in o&&n(16,s=o.cmsendpoint),"env"in o&&n(17,m=o.env),"session"in o&&n(0,y=o.session),"playerid"in o&&n(18,f=o.playerid),"lang"in o&&n(19,b=o.lang),"userroles"in o&&n(20,_=o.userroles),"clientstyling"in o&&n(2,g=o.clientstyling),"clientstylingurl"in o&&n(3,h=o.clientstylingurl),"translationurl"in o&&n(21,u=o.translationurl),"activemenuitem"in o&&n(22,c=o.activemenuitem),"mbsource"in o&&n(4,p=o.mbsource)},l.$$.update=()=>{l.$$.dirty[0]&25165824&&n(6,d=!i||!v),l.$$.dirty[0]&524288&&b&&N(),l.$$.dirty[0]&786435&&r&&y&&f&&b&&Q(),l.$$.dirty[0]&720896&&s&&b&&m&&R(),l.$$.dirty[0]&4194304&&c&&T(),l.$$.dirty[0]&36&&g&&P&&e.setClientStyling(P,g),l.$$.dirty[0]&40&&h&&P&&e.setClientStylingURL(P,h),l.$$.dirty[0]&48&&p&&P&&e.setStreamStyling(P,`${p}.Style`),l.$$.dirty[0]&2097152&&u&&U()},[y,r,g,h,p,P,d,A,x,I,C,a,D,j,L,V,s,m,f,b,_,u,c,i,v,X,Z]}class O extends e.SvelteComponent{constructor(t){super(),e.init(this,t,re,oe,e.safe_not_equal,{endpoint:1,cmsendpoint:16,env:17,session:0,playerid:18,lang:19,userroles:20,clientstyling:2,clientstylingurl:3,translationurl:21,activemenuitem:22,mbsource:4},K,[-1,-1])}get endpoint(){return this.$$.ctx[1]}set endpoint(t){this.$$set({endpoint:t}),e.flush()}get cmsendpoint(){return this.$$.ctx[16]}set cmsendpoint(t){this.$$set({cmsendpoint:t}),e.flush()}get env(){return this.$$.ctx[17]}set env(t){this.$$set({env:t}),e.flush()}get session(){return this.$$.ctx[0]}set session(t){this.$$set({session:t}),e.flush()}get playerid(){return this.$$.ctx[18]}set playerid(t){this.$$set({playerid:t}),e.flush()}get lang(){return this.$$.ctx[19]}set lang(t){this.$$set({lang:t}),e.flush()}get userroles(){return this.$$.ctx[20]}set userroles(t){this.$$set({userroles:t}),e.flush()}get clientstyling(){return this.$$.ctx[2]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[3]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get translationurl(){return this.$$.ctx[21]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}get activemenuitem(){return this.$$.ctx[22]}set activemenuitem(t){this.$$set({activemenuitem:t}),e.flush()}get mbsource(){return this.$$.ctx[4]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}}e.create_custom_element(O,{endpoint:{},cmsendpoint:{},env:{},session:{},playerid:{},lang:{},userroles:{},clientstyling:{},clientstylingurl:{},translationurl:{},activemenuitem:{},mbsource:{}},[],[],!0);exports.default=O;
|