@everymatrix/player-account-controller-nd 1.55.0 → 1.56.0
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-9pZTJKCj.cjs +8 -0
- package/components/{GeneralLogout-Ve_dOAMA.js → GeneralLogout-CqNn1bEG.js} +1081 -1088
- package/components/{GeneralLogout-BZhvD1EQ.js → GeneralLogout-qtT2UsMu.js} +1076 -1083
- package/components/PlayerAccountBettingHistory-BgdXC00n.cjs +1 -0
- package/components/PlayerAccountBettingHistory-CgKp1Tsa.js +329 -0
- package/components/{PlayerAccountBettingHistory-C9n4Lfo3.js → PlayerAccountBettingHistory-DGdU5x1X.js} +130 -134
- package/components/{PlayerAccountBiometrics-BrlNlZ5N.cjs → PlayerAccountBiometrics-8CaZALdD.cjs} +1 -1
- package/components/{PlayerAccountBiometrics-BupiQCMJ.js → PlayerAccountBiometrics-BynUcDER.js} +125 -126
- package/components/{PlayerAccountBiometrics-fQlNKCoA.js → PlayerAccountBiometrics-hfEg8HK3.js} +125 -126
- package/components/{PlayerAccountClosureNd-CEad1veU.js → PlayerAccountClosureNd-BNAxe4kI.js} +127 -128
- package/components/{PlayerAccountClosureNd-DcMOj468.cjs → PlayerAccountClosureNd-BzygnnRL.cjs} +1 -1
- package/components/{PlayerAccountClosureNd-DAFiYifr.js → PlayerAccountClosureNd-C56v4kQH.js} +127 -128
- package/components/{PlayerAccountControllerNd-5BH6GjlH.js → PlayerAccountControllerNd-0Azz2muh.js} +1575 -1049
- package/components/{PlayerAccountControllerNd-BmAwgSdK.js → PlayerAccountControllerNd-CU0CZtN2.js} +1509 -983
- package/components/PlayerAccountControllerNd-DiMI0zck.cjs +1 -0
- package/components/{PlayerAccountGamingLimits-9Stjo0gs.js → PlayerAccountGamingLimits-BUBbpeFt.js} +301 -250
- package/components/PlayerAccountGamingLimits-DoYSa5g4.cjs +1 -0
- package/components/{PlayerAccountGamingLimits-DI0RPgPB.js → PlayerAccountGamingLimits-cGyCwFe3.js} +301 -250
- package/components/{PlayerAccountGamingLimitsConfirmationModal-BzAWyxny.js → PlayerAccountGamingLimitsConfirmationModal-BzxaZ7Sb.js} +127 -131
- package/components/{PlayerAccountGamingLimitsConfirmationModal-DKpr25Aj.js → PlayerAccountGamingLimitsConfirmationModal-CPRvI7h-.js} +127 -131
- package/components/PlayerAccountGamingLimitsConfirmationModal-CUg2My3V.cjs +1 -0
- package/components/{PlayerAccountGamingLimitsGroupEdit-Dj2jUWb2.js → PlayerAccountGamingLimitsGroupEdit-BJQil0oW.js} +1073 -1077
- package/components/{PlayerAccountGamingLimitsGroupEdit-DrkoLne8.cjs → PlayerAccountGamingLimitsGroupEdit-ByRLb87-.cjs} +4 -4
- package/components/{PlayerAccountGamingLimitsGroupEdit-CBViR9JR.js → PlayerAccountGamingLimitsGroupEdit-uRCXqfhe.js} +1073 -1077
- package/components/{PlayerAccountGamingLimitsHistory2Nd-BQRXsnS9.js → PlayerAccountGamingLimitsHistory2Nd-B9FC3C6m.js} +208 -216
- package/components/{PlayerAccountGamingLimitsHistory2Nd-2hdjxCBn.cjs → PlayerAccountGamingLimitsHistory2Nd-Daq9D9so.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsHistory2Nd-BQy_79YQ.js → PlayerAccountGamingLimitsHistory2Nd-wYR_HP23.js} +213 -221
- package/components/{PlayerAccountGamingLimitsInfoCard-StfGgmLs.js → PlayerAccountGamingLimitsInfoCard-DgmJAMo8.js} +639 -588
- package/components/{PlayerAccountGamingLimitsInfoCard-CDFRfVT4.js → PlayerAccountGamingLimitsInfoCard-DvaVcUFe.js} +639 -588
- package/components/PlayerAccountGamingLimitsInfoCard-c0kYK6Z1.cjs +1 -0
- package/components/PlayerAccountGamingLimitsPage2Gm16Nd-BDBtHDGH.cjs +21 -0
- package/components/{PlayerAccountGamingLimitsPage2Gm16Nd-B672X-1A.js → PlayerAccountGamingLimitsPage2Gm16Nd-BQeFK7FJ.js} +1043 -1019
- package/components/{PlayerAccountGamingLimitsPage2Gm16Nd-Dz-xK27Q.js → PlayerAccountGamingLimitsPage2Gm16Nd-DJhG-lLb.js} +845 -821
- package/components/{PlayerAccountGamingLimitsPopup-DoLZB2lj.js → PlayerAccountGamingLimitsPopup-BgdXe6lp.js} +116 -120
- package/components/{PlayerAccountGamingLimitsPopup-f9QP34fL.js → PlayerAccountGamingLimitsPopup-BhqEVpIP.js} +116 -120
- package/components/{PlayerAccountGamingLimitsPopup-ChBLdQR7.cjs → PlayerAccountGamingLimitsPopup-CfBYEYKc.cjs} +1 -1
- package/components/PlayerAccountGamingLimitsWrapper2Nd-DnBhGv4Z.cjs +1 -0
- package/components/PlayerAccountGamingLimitsWrapper2Nd-HNcfKvd3.js +1016 -0
- package/components/PlayerAccountGamingLimitsWrapper2Nd-bkcZAm71.js +1022 -0
- package/components/{PlayerAccountGeneralConfirmationModal-BlglDNwU.js → PlayerAccountGeneralConfirmationModal-BUSAMIdf.js} +141 -142
- package/components/{PlayerAccountGeneralConfirmationModal-rpOFir4P.js → PlayerAccountGeneralConfirmationModal-BXQQtxIE.js} +141 -142
- package/components/PlayerAccountGeneralConfirmationModal-Dr-ZkTHH.cjs +1 -0
- package/components/PlayerAccountMenuNd-BGd35WSX.js +695 -0
- package/components/PlayerAccountMenuNd-BWzYxwjF.cjs +1 -0
- package/components/PlayerAccountMenuNd-Dw-owOIv.js +694 -0
- package/components/PlayerAccountModal-C7aE-f75.js +209 -0
- package/components/PlayerAccountModal-CLW-XTid.cjs +1 -0
- package/components/PlayerAccountModal-DcQTZlVT.js +209 -0
- package/components/PlayerAccountNotifications-0ecn9JH_.js +369 -0
- package/components/PlayerAccountNotifications-CmSue8JR.cjs +1 -0
- package/components/PlayerAccountNotifications-lv1He1RO.js +368 -0
- package/components/{PlayerAccountSelfExclusionNd-D2JmyzgE.js → PlayerAccountSelfExclusionNd-CsBAGhjI.js} +10893 -11100
- package/components/{PlayerAccountSelfExclusionNd-CM37K9pN.js → PlayerAccountSelfExclusionNd-DRQwA-0O.js} +10812 -11065
- package/components/PlayerAccountSelfExclusionNd-TZyj4_3a.cjs +3557 -0
- package/components/PlayerAccountTimeout-BDvJp_Zk.cjs +1 -0
- package/components/{PlayerAccountTimeout-B0zaqo1v.js → PlayerAccountTimeout-C0WAFaPW.js} +498 -367
- package/components/{PlayerAccountTimeout-BO3G2t3W.js → PlayerAccountTimeout-CixN4uD5.js} +498 -367
- package/components/PlayerActiveBonuses-BAx9d0pm.js +1055 -0
- package/components/PlayerActiveBonuses-CbJliQvN.js +1056 -0
- package/components/PlayerActiveBonuses-DTgD47j8.cjs +1 -0
- package/components/{PlayerBonusCard-BC8FfHZz.cjs → PlayerBonusCard-5gtng8cd.cjs} +1 -1
- package/components/{PlayerBonusCard-9LZmOSI1.js → PlayerBonusCard-BiVG3k7R.js} +166 -168
- package/components/{PlayerBonusCard-BvrlU7Ao.js → PlayerBonusCard-DnyVL-Cb.js} +166 -168
- package/components/PlayerBonusHistory-CaiqLQk_.js +938 -0
- package/components/PlayerBonusHistory-DA8a2ZnE.js +937 -0
- package/components/PlayerBonusHistory-rLGeO078.cjs +1 -0
- package/components/{PlayerChangePassword-CzR4Xz0H.cjs → PlayerChangePassword-BsM1lBfW.cjs} +2 -2
- package/components/{PlayerChangePassword-BsQyz4Qc.js → PlayerChangePassword-DsR4BO-Y.js} +383 -387
- package/components/{PlayerChangePassword-BcoctDrY.js → PlayerChangePassword-dEL-0H2u.js} +383 -387
- package/components/PlayerDeposit-0eaqfWH1.cjs +1 -0
- package/components/PlayerDeposit-D_Ujmr4j.js +391 -0
- package/components/PlayerDeposit-IS6_f845.js +391 -0
- package/components/PlayerGamingHistory-BRstQCWo.cjs +1 -0
- package/components/{PlayerGamingHistory-B1Q3Qiuk.js → PlayerGamingHistory-BYRzcRjb.js} +348 -352
- package/components/{PlayerGamingHistory-DUCP4vWS.js → PlayerGamingHistory-GGgBAhXX.js} +373 -377
- package/components/PlayerPendingWithdrawals-CaoLTPFk.js +310 -0
- package/components/PlayerPendingWithdrawals-M9Wq9w2M.js +310 -0
- package/components/PlayerPendingWithdrawals-qMs8We3P.cjs +1 -0
- package/components/PlayerProfileInfo-B4pkapUi.js +1821 -0
- package/components/PlayerProfileInfo-Cr6m7e2V.js +1804 -0
- package/components/PlayerProfileInfo-Mqg0xIQD.cjs +1 -0
- package/components/PlayerRealityCheck-B9LHSWRj.js +652 -0
- package/components/PlayerRealityCheck-CMKhVVBJ.js +668 -0
- package/components/PlayerRealityCheck-DoXLoM9G.cjs +1 -0
- package/components/PlayerTransactionHistory-BaALuJRH.js +314 -0
- package/components/PlayerTransactionHistory-BqEXyDt-.cjs +1 -0
- package/components/PlayerTransactionHistory-CYob92HC.js +314 -0
- package/components/PlayerWithdrawal-1i-tYxaO.cjs +1 -0
- package/components/{PlayerWithdrawal-jGmMHcUX.js → PlayerWithdrawal-CNDRfeXy.js} +137 -141
- package/components/{PlayerWithdrawal-wi9yuRxw.js → PlayerWithdrawal-U9E0FEDt.js} +137 -141
- package/es2015/player-account-controller-nd.cjs +1 -1
- package/es2015/player-account-controller-nd.js +1 -1
- package/esnext/player-account-controller-nd.js +1 -1
- package/package.json +1 -1
- package/stencil/app-globals-0f993ce5-BD-Q0C8R.cjs +1 -0
- package/stencil/app-globals-0f993ce5-Cgk0KVAu.js +7 -0
- package/stencil/{checkbox-group-input_9-DZvX2H_r.js → checkbox-group-input_9-B_RfUM6E.js} +3279 -2404
- package/stencil/checkbox-group-input_9-C2IUNSpC.cjs +2045 -0
- package/stencil/{checkbox-group-input_9-Cny9rOs9.js → checkbox-group-input_9-C98yT4vw.js} +3348 -2459
- package/stencil/{general-input-Yj_LRx0v.js → general-input-CqTf7ErJ.js} +6 -6
- package/stencil/{general-input-d5RULL12.js → general-input-DTHw5Z1Q.js} +6 -6
- package/stencil/general-input-wM2i7b57.cjs +1 -0
- package/stencil/index-92b64862-BRYoLHww.cjs +1 -0
- package/stencil/index-92b64862-C_69cKxK.js +708 -0
- package/stencil/index-92b64862-w9a1l35N.js +692 -0
- package/stencil/index-db5752f9-DlyF6uv8.js +594 -0
- package/stencil/index-db5752f9-DrdunCay.js +610 -0
- package/stencil/index-db5752f9-dFKrDpwt.cjs +1 -0
- package/stencil/password-input_2-B2qvf6ku.cjs +105 -0
- package/stencil/password-input_2-CdHS5fmR.js +569 -0
- package/stencil/password-input_2-DdQvCp3o.js +569 -0
- package/stencil/{player-change-password-gm2-780eb445-Cg8Z75Vz.js → player-change-password-gm2-38dff08c-BNhjxr22.js} +85 -66
- package/stencil/{player-change-password-gm2-780eb445-DEjz9Jjk.js → player-change-password-gm2-38dff08c-CPRdwVFF.js} +85 -66
- package/stencil/player-change-password-gm2-38dff08c-DnYXSeKg.cjs +1 -0
- package/stencil/player-change-password-gm2-Cxdum0Hh.js +25 -0
- package/stencil/player-change-password-gm2-DJqZO25d.cjs +1 -0
- package/stencil/player-change-password-gm2-DWoAaJ2f.js +7 -0
- package/stencil/{toggle-checkbox-input-ErX2Ngat.js → toggle-checkbox-input-B4OOk9wz.js} +7 -7
- package/stencil/{toggle-checkbox-input-Co64_7cm.js → toggle-checkbox-input-Cwo_Ny77.js} +7 -7
- package/stencil/toggle-checkbox-input-tQDhlcag.cjs +1 -0
- package/stencil/ui-skeleton-982450d2-BKnKTh4c.js +122 -0
- package/stencil/ui-skeleton-982450d2-DDIv0--Q.cjs +1 -0
- package/stencil/ui-skeleton-982450d2-DQzKNKe8.js +122 -0
- package/stencil/ui-skeleton-BL5JJXyn.js +11 -0
- package/stencil/ui-skeleton-CGldUjn2.js +29 -0
- package/stencil/ui-skeleton-ITys8nIA.cjs +1 -0
- package/stencil/{vaadin-button-6001b2a6-Dqz5Vp8D.js → vaadin-button-mixin-ef61174c-B_vhSFKU.js} +8177 -8813
- package/stencil/vaadin-button-mixin-ef61174c-DuDVejN4.cjs +2385 -0
- package/stencil/{vaadin-button-6001b2a6-CZwj1qjO.js → vaadin-button-mixin-ef61174c-EQiVsI4x.js} +6270 -6860
- package/components/GeneralLogout-BW6b3iuS.cjs +0 -8
- package/components/PlayerAccountBettingHistory-BsFzBNDY.cjs +0 -1
- package/components/PlayerAccountBettingHistory-QT3-2u7E.js +0 -333
- package/components/PlayerAccountControllerNd-CO0ce0zs.cjs +0 -1
- package/components/PlayerAccountGamingLimits-BPQrptbd.cjs +0 -1
- package/components/PlayerAccountGamingLimitsConfirmationModal-IgBYV9F2.cjs +0 -1
- package/components/PlayerAccountGamingLimitsInfoCard-BOls7ahz.cjs +0 -1
- package/components/PlayerAccountGamingLimitsPage2Gm16Nd-DSThp4HX.cjs +0 -21
- package/components/PlayerAccountGamingLimitsWrapper2Nd-Bz6Zp5tp.js +0 -865
- package/components/PlayerAccountGamingLimitsWrapper2Nd-Cq5vxtjw.js +0 -871
- package/components/PlayerAccountGamingLimitsWrapper2Nd-KUpEDIP8.cjs +0 -1
- package/components/PlayerAccountGeneralConfirmationModal-BpTCzpiW.cjs +0 -1
- package/components/PlayerAccountMenuNd-BWUhUlIY.js +0 -590
- package/components/PlayerAccountMenuNd-BmPerb2f.cjs +0 -1
- package/components/PlayerAccountMenuNd-CxMlvYwa.js +0 -589
- package/components/PlayerAccountModal-BK81ZotM.js +0 -213
- package/components/PlayerAccountModal-C7aZZlBw.cjs +0 -1
- package/components/PlayerAccountModal-CzVRNZzB.js +0 -213
- package/components/PlayerAccountNotifications-BBwUcB1T.js +0 -261
- package/components/PlayerAccountNotifications-CB47Zxq9.js +0 -261
- package/components/PlayerAccountNotifications-DkgHtUGj.cjs +0 -1
- package/components/PlayerAccountSelfExclusionNd-DCsOgBZR.cjs +0 -4171
- package/components/PlayerAccountTimeout-Dg5Mlz5K.cjs +0 -1
- package/components/PlayerActiveBonuses-B9jz3QD8.cjs +0 -1
- package/components/PlayerActiveBonuses-CfZ8tegY.js +0 -1037
- package/components/PlayerActiveBonuses-DkKDWhBN.js +0 -1038
- package/components/PlayerBonusHistory-Bsy2Grk6.js +0 -919
- package/components/PlayerBonusHistory-CuSbmVev.cjs +0 -1
- package/components/PlayerBonusHistory-nN8l2tOZ.js +0 -920
- package/components/PlayerDeposit-BIBRCGiC.js +0 -414
- package/components/PlayerDeposit-B_7saxic.js +0 -414
- package/components/PlayerDeposit-D_78W5GC.cjs +0 -1
- package/components/PlayerGamingHistory-CNPhCSFS.cjs +0 -1
- package/components/PlayerPendingWithdrawals-BG3I8ifu.cjs +0 -1
- package/components/PlayerPendingWithdrawals-C8jyjgZ0.js +0 -311
- package/components/PlayerPendingWithdrawals-wMhZTLpq.js +0 -311
- package/components/PlayerProfileInfo-CGsJydqv.cjs +0 -1
- package/components/PlayerProfileInfo-EkbwdTEh.js +0 -1757
- package/components/PlayerProfileInfo-SeOQq0CG.js +0 -1740
- package/components/PlayerRealityCheck--iYjw4rP.js +0 -598
- package/components/PlayerRealityCheck-BGGIPihT.js +0 -582
- package/components/PlayerRealityCheck-C26ZBWae.cjs +0 -1
- package/components/PlayerTransactionHistory-CJqhYnbs.cjs +0 -1
- package/components/PlayerTransactionHistory-CvBbrQn6.js +0 -315
- package/components/PlayerTransactionHistory-DIfTIxF3.js +0 -315
- package/components/PlayerWithdrawal-GDc_7hZX.cjs +0 -1
- package/stencil/app-globals-0f993ce5-D-kw1sls.js +0 -5
- package/stencil/app-globals-0f993ce5-sCt45RkC.cjs +0 -1
- package/stencil/checkbox-group-input_9-FLO2Qa5Y.cjs +0 -2104
- package/stencil/general-input-igTYIJ6W.cjs +0 -1
- package/stencil/index-72d2f0c7--qtpsDOz.js +0 -642
- package/stencil/index-72d2f0c7-DldCMjBJ.cjs +0 -1
- package/stencil/index-72d2f0c7-DyMEJXra.js +0 -626
- package/stencil/password-input_2-CHOu4hgw.js +0 -1420
- package/stencil/password-input_2-DQAgV1SZ.cjs +0 -896
- package/stencil/password-input_2-DaiHlKbQ.js +0 -1420
- package/stencil/player-change-password-gm2-780eb445-CdItmoKI.cjs +0 -1
- package/stencil/player-change-password-gm2-ClBiis4q.js +0 -25
- package/stencil/player-change-password-gm2-Dt0gP_G_.cjs +0 -1
- package/stencil/player-change-password-gm2-cKh7RACV.js +0 -7
- package/stencil/toggle-checkbox-input-a_0w-Y0n.cjs +0 -1
- package/stencil/vaadin-button-6001b2a6-C6xw53k5.cjs +0 -3018
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./GeneralLogout-BW6b3iuS.cjs");function ee({withLocale:n,translations:t}){e.$locale.subscribe(i=>{i==null&&(e.$dictionary.set(t),e.$locale.set(n))})}function te(n,t){e.addMessages(n,t)}const z={en:{titleLimitsWrapper2:"Limits"},"zh-hk":{titleLimitsWrapper2:"Limits"},fr:{titleLimitsWrapper2:"Limits"},ro:{titleLimitsWrapper2:"Limits"},es:{titleLimitsWrapper2:"Limits"},pt:{titleLimitsWrapper2:"Limits"},hr:{titleLimitsWrapper2:"Ograničenja"},"pt-br":{titleLimitsWrapper2:"Limites"},"es-mx":{titleLimitsWrapper2:"Límites"},tr:{titleLimitsWrapper2:"Sınırlar"},"en-us":{titleLimitsWrapper2:"Limits"},de:{titleLimitsWrapper2:"Begrenzungen"}};if(typeof window!="undefined"){let n=function(t){return function(...i){try{return t.apply(this,i)}catch(s){if(s instanceof DOMException&&s.message.includes("has already been used with this registry")||s.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw s}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("./PlayerAccountGamingLimitsPage2Gm16Nd-DSThp4HX.cjs")).then(({default:t})=>{!customElements.get("player-account-gaming-limits-page-2-gm16-nd")&&customElements.define("player-account-gaming-limits-page-2-gm16-nd",t.element)})}if(typeof window!="undefined"){let n=function(t){return function(...i){try{return t.apply(this,i)}catch(s){if(s instanceof DOMException&&s.message.includes("has already been used with this registry")||s.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw s}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("./PlayerAccountGamingLimitsHistory2Nd-2hdjxCBn.cjs")).then(({default:t})=>{!customElements.get("player-account-gaming-limits-history-2-nd")&&customElements.define("player-account-gaming-limits-history-2-nd",t.element)})}const{document:ie}=e.globals;function ne(n){e.append_styles(n,"svelte-1y3c3nw",':host{font-family:system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";color:#666}*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.GamingLimitsWrapper{padding:50px;color:var(--emw--pam-color-primary, #22B04E);background-color:var(--emw--pam-color-bg, #F1F1F1);border-radius:var(--emw--border-radius-large, 20px);min-height:1000px;display:flex;flex-direction:column}.GamingLimitsWrapper.GamingLimitsWrapperMobile{padding:20px 15px}.GamingLimitsWrapper.GamingLimitsWrapperMobile .GamingLimitsContent,.GamingLimitsWrapper.GamingLimitsWrapperMobile .PlayerAccountGamingLmitsWrapper2,.GamingLimitsWrapper.GamingLimitsWrapperMobile .LimitsTab{flex-direction:column;width:100%;height:fit-content;padding:5px 0;font-size:10px;margin-right:5px}.GamingLimitsWrapper .GamingLimitsContent{display:flex;flex-direction:row}.GamingLimitsWrapper .LimitsWrapper,.GamingLimitsWrapper .TabsContainer,.GamingLimitsWrapper .LimitsTab{display:flex;flex-direction:column;align-items:center;flex-direction:row}.GamingLimitsWrapper .TabsContainer{height:50px;margin-bottom:12px;cursor:pointer;justify-content:left;color:var(--emw--color-typography-contrast, #444444)}.GamingLimitsWrapper .LimitsTab{font-size:16px;line-height:1.4rem;text-transform:uppercase;padding:10px 40px;background-color:var(--emw--color-grey-150, #C0CBC3);border-radius:var(--emw--border-radius-large, 50px);margin-right:20px}.GamingLimitsWrapper .Selected{color:var(--emw--color-typpgraphy, #FFFFFF);background:linear-gradient(to right, var(--emw--color-primary-variant, #184026), var(--emw--color-secondary-variant, #013E5C))}.GamingLimitsWrapper .PlayerAccountGamingLmitsWrapper2{margin-bottom:20px;width:65%}.Hidden{display:none}h2{margin:20px 0}.MenuReturnButton{color:var(--emw--pam-color-primary, #22B04E);display:inline-flex;align-items:center;column-gap:10px;margin-bottom:10px}.MenuReturnButton svg{fill:var(--emw--pam-color-primary, #22B04E)}.GamingLimitsTitle{font-size:26px;color:var(--emw--pam-color-primary, #22B04E);font-weight:400}.GamingLimitsTitleMobile{font-size:16px}')}function j(n,t,i){const s=n.slice();return s[41]=t[i],s[43]=i,s}function O(n,t,i){const s=n.slice();return s[44]=t[i],s[43]=i,s}function se(n){let t,i,s,a,r,o,c,u,m,_,d=n[22]("titleLimitsWrapper2")+"",b,y,g;return{c(){t=e.element("div"),i=e.svg_element("svg"),s=e.svg_element("defs"),a=e.svg_element("style"),r=e.text(".aaa{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));}"),o=e.svg_element("g"),c=e.svg_element("g"),u=e.svg_element("path"),m=e.space(),_=e.element("h2"),b=e.text(d),e.attr(u,"class","aaa"),e.attr(u,"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(u,"transform","translate(15 15) rotate(180)"),e.attr(c,"transform","translate(20 158)"),e.attr(o,"transform","translate(-20 -158)"),e.attr(i,"xmlns","http://www.w3.org/2000/svg"),e.attr(i,"width","15"),e.attr(i,"height","15"),e.attr(i,"viewBox","0 0 15 15"),e.attr(_,"class","GamingLimitsTitleMobile"),e.attr(t,"class","MenuReturnButton"),e.attr(t,"part","MenuReturnButton")},m(f,h){e.insert(f,t,h),e.append(t,i),e.append(i,s),e.append(s,a),e.append(a,r),e.append(i,o),e.append(o,c),e.append(c,u),e.append(t,m),e.append(t,_),e.append(_,b),y||(g=e.listen(t,"click",n[30]),y=!0)},p(f,h){h[0]&4194304&&d!==(d=f[22]("titleLimitsWrapper2")+"")&&e.set_data(b,d)},d(f){f&&e.detach(t),y=!1,g()}}}function le(n){let t,i,s,a,r=n[23].length>1&&re(n),o=e.ensure_array_like(n[23]),c=[];for(let m=0;m<o.length;m+=1)c[m]=q(j(n,o,m));let u=n[6]==="true"&&I(n);return{c(){r&&r.c(),t=e.space(),i=e.element("div"),s=e.element("div");for(let m=0;m<c.length;m+=1)c[m].c();a=e.space(),u&&u.c(),e.attr(s,"class","PlayerAccountGamingLmitsWrapper2"),e.attr(i,"class","GamingLimitsContent")},m(m,_){r&&r.m(m,_),e.insert(m,t,_),e.insert(m,i,_),e.append(i,s);for(let d=0;d<c.length;d+=1)c[d]&&c[d].m(s,null);n[33](s),e.append(i,a),u&&u.m(i,null)},p(m,_){if(m[23].length>1&&r.p(m,_),_[0]&3177919){o=e.ensure_array_like(m[23]);let d;for(d=0;d<o.length;d+=1){const b=j(m,o,d);c[d]?c[d].p(b,_):(c[d]=q(b),c[d].c(),c[d].m(s,null))}for(;d<c.length;d+=1)c[d].d(1);c.length=o.length}m[6]==="true"?u?u.p(m,_):(u=I(m),u.c(),u.m(i,null)):u&&(u.d(1),u=null)},d(m){m&&(e.detach(t),e.detach(i)),r&&r.d(m),e.destroy_each(c,m),n[33](null),u&&u.d()}}}function ae(n){return{c:e.noop,m:e.noop,p:e.noop,d:e.noop}}function re(n){let t,i=e.ensure_array_like(n[23]),s=[];for(let a=0;a<i.length;a+=1)s[a]=D(O(n,i,a));return{c(){t=e.element("div");for(let a=0;a<s.length;a+=1)s[a].c();e.attr(t,"class","TabsContainer")},m(a,r){e.insert(a,t,r);for(let o=0;o<s.length;o+=1)s[o]&&s[o].m(t,null);n[32](t)},p(a,r){if(r[0]&42205184){i=e.ensure_array_like(a[23]);let o;for(o=0;o<i.length;o+=1){const c=O(a,i,o);s[o]?s[o].p(c,r):(s[o]=D(c),s[o].c(),s[o].m(t,null))}for(;o<s.length;o+=1)s[o].d(1);s.length=i.length}},d(a){a&&e.detach(t),e.destroy_each(s,a),n[32](null)}}}function D(n){var c;let t,i=((c=n[18][n[43]])!=null?c:n[44])+"",s,a,r;function o(){return n[31](n[43])}return{c(){t=e.element("div"),s=e.text(i),e.attr(t,"class","LimitsTab")},m(u,m){e.insert(u,t,m),e.append(t,s),a||(r=e.listen(t,"click",o),a=!0)},p(u,m){var _;n=u,m[0]&262144&&i!==(i=((_=n[18][n[43]])!=null?_:n[44])+"")&&e.set_data(s,i)},d(u){u&&e.detach(t),a=!1,r()}}}function q(n){let t,i,s;return{c(){t=e.element("player-account-gaming-limits-page-2-gm16-nd"),e.set_custom_element_data(t,"class","Hidden Selected"),e.set_custom_element_data(t,"lang",n[0]),e.set_custom_element_data(t,"currency",n[4]),e.set_custom_element_data(t,"amountsconfig",i=n[20][n[43]]),e.set_custom_element_data(t,"periodsconfig",s=n[21][n[43]]),e.set_custom_element_data(t,"limittabindex",n[43]+1),e.set_custom_element_data(t,"userid",n[1]),e.set_custom_element_data(t,"deletelimit",n[8]),e.set_custom_element_data(t,"enablecompliancetext",n[7]),e.set_custom_element_data(t,"session",n[2]),e.set_custom_element_data(t,"endpoint",n[3]),e.set_custom_element_data(t,"apiversion",n[5]),e.set_custom_element_data(t,"clientstyling",n[12]),e.set_custom_element_data(t,"clientstylingurl",n[13]),e.set_custom_element_data(t,"translationurl",n[14]),e.set_custom_element_data(t,"customcurrencysymbols",n[10]),e.set_custom_element_data(t,"limitformat",n[11])},m(a,r){e.insert(a,t,r)},p(a,r){r[0]&1&&e.set_custom_element_data(t,"lang",a[0]),r[0]&16&&e.set_custom_element_data(t,"currency",a[4]),r[0]&1048576&&i!==(i=a[20][a[43]])&&e.set_custom_element_data(t,"amountsconfig",i),r[0]&2097152&&s!==(s=a[21][a[43]])&&e.set_custom_element_data(t,"periodsconfig",s),r[0]&2&&e.set_custom_element_data(t,"userid",a[1]),r[0]&256&&e.set_custom_element_data(t,"deletelimit",a[8]),r[0]&128&&e.set_custom_element_data(t,"enablecompliancetext",a[7]),r[0]&4&&e.set_custom_element_data(t,"session",a[2]),r[0]&8&&e.set_custom_element_data(t,"endpoint",a[3]),r[0]&32&&e.set_custom_element_data(t,"apiversion",a[5]),r[0]&4096&&e.set_custom_element_data(t,"clientstyling",a[12]),r[0]&8192&&e.set_custom_element_data(t,"clientstylingurl",a[13]),r[0]&16384&&e.set_custom_element_data(t,"translationurl",a[14]),r[0]&1024&&e.set_custom_element_data(t,"customcurrencysymbols",a[10]),r[0]&2048&&e.set_custom_element_data(t,"limitformat",a[11])},d(a){a&&e.detach(t)}}}function I(n){let t;return{c(){t=e.element("player-account-gaming-limits-history-2-nd"),e.set_custom_element_data(t,"lang",n[0]),e.set_custom_element_data(t,"userid",n[1]),e.set_custom_element_data(t,"session",n[2]),e.set_custom_element_data(t,"endpoint",n[3]),e.set_custom_element_data(t,"apiversion",n[5]),e.set_custom_element_data(t,"numberofentries",n[9]),e.set_custom_element_data(t,"clientstyling",n[12]),e.set_custom_element_data(t,"clientstylingurl",n[13]),e.set_custom_element_data(t,"translationurl",n[14]),e.set_custom_element_data(t,"customcurrencysymbols",n[10])},m(i,s){e.insert(i,t,s)},p(i,s){s[0]&1&&e.set_custom_element_data(t,"lang",i[0]),s[0]&2&&e.set_custom_element_data(t,"userid",i[1]),s[0]&4&&e.set_custom_element_data(t,"session",i[2]),s[0]&8&&e.set_custom_element_data(t,"endpoint",i[3]),s[0]&32&&e.set_custom_element_data(t,"apiversion",i[5]),s[0]&512&&e.set_custom_element_data(t,"numberofentries",i[9]),s[0]&4096&&e.set_custom_element_data(t,"clientstyling",i[12]),s[0]&8192&&e.set_custom_element_data(t,"clientstylingurl",i[13]),s[0]&16384&&e.set_custom_element_data(t,"translationurl",i[14]),s[0]&1024&&e.set_custom_element_data(t,"customcurrencysymbols",i[10])},d(i){i&&e.detach(t)}}}function me(n){let t,i,s,a,r,o,c,u=n[22]("titleLimitsWrapper2")+"",m,_,d=n[24]&&se(n);function b(f,h){return f[15]?ae:le}let y=b(n),g=y(n);return{c(){t=e.element("meta"),i=e.space(),s=e.element("div"),a=e.element("div"),r=e.element("div"),d&&d.c(),o=e.space(),c=e.element("h2"),m=e.text(u),_=e.space(),g.c(),e.attr(t,"name","viewport"),e.attr(t,"content","width=device-width, initial-scale=1"),e.attr(c,"class","GamingLimitsTitle "+(n[24]?"Hidden":"")),e.attr(r,"class","TitleSection"),e.attr(a,"class","GamingLimitsWrapper "+(n[24]?"GamingLimitsWrapperMobile":""))},m(f,h){e.append(ie.head,t),e.insert(f,i,h),e.insert(f,s,h),e.append(s,a),e.append(a,r),d&&d.m(r,null),e.append(r,o),e.append(r,c),e.append(c,m),e.append(a,_),g.m(a,null),n[34](s)},p(f,h){f[24]&&d.p(f,h),h[0]&4194304&&u!==(u=f[22]("titleLimitsWrapper2")+"")&&e.set_data(m,u),y===(y=b(f))&&g?g.p(f,h):(g.d(1),g=y(f),g&&(g.c(),g.m(a,null)))},i:e.noop,o:e.noop,d(f){f&&(e.detach(i),e.detach(s)),e.detach(t),d&&d.d(),g.d(),n[34](null)}}}function oe(n,t,i){let s;e.component_subscribe(n,e.$format,l=>i(22,s=l));let{lang:a=""}=t,{userid:r=""}=t,{session:o=""}=t,{endpoint:c=""}=t,{currency:u=""}=t,{apiversion:m=""}=t,{tablabels:_=""}=t,{historyenabled:d="true"}=t,{enablecompliancetext:b="false"}=t,{deletelimit:y=""}=t,{limitsamount:g=""}=t,{limitsperiods:f=""}=t,{numberofentries:h=""}=t,{customcurrencysymbols:A=""}=t,{limitformat:B=""}=t,{clientstyling:W=""}=t,{clientstylingurl:k=""}=t,{translationurl:P=""}=t;ee({withLocale:"en",translations:{}});let E=!0,v,M=[],F,w,L,G,T,U=window.navigator.userAgent,H=e.getDevice(U)!=="PC";Object.keys(z).forEach(l=>{te(l,z[l])});const V=(l,p)=>{if(i(20,G=l.replace(/\s/g,"").split("|")),i(21,T=p.replace(/\s/g,"").split("|")),G.length===0)throw new Error("Please provide a full limits configuration.");if(G.length!==T.length)throw new Error("Please make sure that the limit configuration parameters specify the same number of tabs.")},Z=()=>{V(g,f),g.split("|").forEach(p=>{M.includes(p)||M.push(p)}),i(18,F=_.split(",").map(p=>p.trim())),i(15,E=!1)},C=l=>{if(w.children.length>0)for(let p=0;p<w.children.length;p++)l===p?(w.children[p].classList.remove("Hidden"),L==null||L.children[p].classList.add("Selected")):(w.children[p].classList.add("Hidden"),L==null||L.children[p].classList.remove("Selected"))},R=()=>{window.postMessage({type:"PlayerAccountMenuActive",isMobile:H},window.location.href)},J=()=>{let l=document.createElement("style");l.innerHTML=W,v.appendChild(l)},K=()=>{let l=new URL(k),p=document.createElement("style");fetch(l.href).then(S=>S.text()).then(S=>{p.innerHTML=S,setTimeout(()=>{v.appendChild(p)},1)})};e.onMount(()=>()=>{i(17,w=null),i(19,L=null)});const Q=()=>R(),X=l=>C(l);function Y(l){e.binding_callbacks[l?"unshift":"push"](()=>{L=l,i(19,L)})}function x(l){e.binding_callbacks[l?"unshift":"push"](()=>{w=l,i(17,w)})}function $(l){e.binding_callbacks[l?"unshift":"push"](()=>{v=l,i(16,v)})}return n.$$set=l=>{"lang"in l&&i(0,a=l.lang),"userid"in l&&i(1,r=l.userid),"session"in l&&i(2,o=l.session),"endpoint"in l&&i(3,c=l.endpoint),"currency"in l&&i(4,u=l.currency),"apiversion"in l&&i(5,m=l.apiversion),"tablabels"in l&&i(27,_=l.tablabels),"historyenabled"in l&&i(6,d=l.historyenabled),"enablecompliancetext"in l&&i(7,b=l.enablecompliancetext),"deletelimit"in l&&i(8,y=l.deletelimit),"limitsamount"in l&&i(28,g=l.limitsamount),"limitsperiods"in l&&i(29,f=l.limitsperiods),"numberofentries"in l&&i(9,h=l.numberofentries),"customcurrencysymbols"in l&&i(10,A=l.customcurrencysymbols),"limitformat"in l&&i(11,B=l.limitformat),"clientstyling"in l&&i(12,W=l.clientstyling),"clientstylingurl"in l&&i(13,k=l.clientstylingurl),"translationurl"in l&&i(14,P=l.translationurl)},n.$$.update=()=>{n.$$.dirty[0]&134217775&&r&&o&&c&&_&&a&&m&&Z(),n.$$.dirty[0]&163840&&w&&!E&&C(0),n.$$.dirty[0]&73728&&k&&v&&K(),n.$$.dirty[0]&69632&&W&&v&&J()},[a,r,o,c,u,m,d,b,y,h,A,B,W,k,P,E,v,w,F,L,G,T,s,M,H,C,R,_,g,f,Q,X,Y,x,$]}class N extends e.SvelteComponent{constructor(t){super(),e.init(this,t,oe,me,e.safe_not_equal,{lang:0,userid:1,session:2,endpoint:3,currency:4,apiversion:5,tablabels:27,historyenabled:6,enablecompliancetext:7,deletelimit:8,limitsamount:28,limitsperiods:29,numberofentries:9,customcurrencysymbols:10,limitformat:11,clientstyling:12,clientstylingurl:13,translationurl:14},ne,[-1,-1])}get lang(){return this.$$.ctx[0]}set lang(t){this.$$set({lang:t}),e.flush()}get userid(){return this.$$.ctx[1]}set userid(t){this.$$set({userid:t}),e.flush()}get session(){return this.$$.ctx[2]}set session(t){this.$$set({session:t}),e.flush()}get endpoint(){return this.$$.ctx[3]}set endpoint(t){this.$$set({endpoint:t}),e.flush()}get currency(){return this.$$.ctx[4]}set currency(t){this.$$set({currency:t}),e.flush()}get apiversion(){return this.$$.ctx[5]}set apiversion(t){this.$$set({apiversion:t}),e.flush()}get tablabels(){return this.$$.ctx[27]}set tablabels(t){this.$$set({tablabels:t}),e.flush()}get historyenabled(){return this.$$.ctx[6]}set historyenabled(t){this.$$set({historyenabled:t}),e.flush()}get enablecompliancetext(){return this.$$.ctx[7]}set enablecompliancetext(t){this.$$set({enablecompliancetext:t}),e.flush()}get deletelimit(){return this.$$.ctx[8]}set deletelimit(t){this.$$set({deletelimit:t}),e.flush()}get limitsamount(){return this.$$.ctx[28]}set limitsamount(t){this.$$set({limitsamount:t}),e.flush()}get limitsperiods(){return this.$$.ctx[29]}set limitsperiods(t){this.$$set({limitsperiods:t}),e.flush()}get numberofentries(){return this.$$.ctx[9]}set numberofentries(t){this.$$set({numberofentries:t}),e.flush()}get customcurrencysymbols(){return this.$$.ctx[10]}set customcurrencysymbols(t){this.$$set({customcurrencysymbols:t}),e.flush()}get limitformat(){return this.$$.ctx[11]}set limitformat(t){this.$$set({limitformat: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()}}e.create_custom_element(N,{lang:{},userid:{},session:{},endpoint:{},currency:{},apiversion:{},tablabels:{},historyenabled:{},enablecompliancetext:{},deletelimit:{},limitsamount:{},limitsperiods:{},numberofentries:{},customcurrencysymbols:{},limitformat:{},clientstyling:{},clientstylingurl:{},translationurl:{}},[],[],!0);exports.default=N;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./GeneralLogout-BW6b3iuS.cjs");function A(o,t){e.addMessages(o,t)}function P(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 W(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 q=o=>({}),z=o=>({});function N(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 E(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,m){e.insert(i,t,m),e.append(t,n),e.append(n,a)},p(i,m){m&2&&e.set_data(a,i[1])},d(i){i&&e.detach(t)}}}function L(o){let t,n=o[4]("cancel")+"",a,i,m;return{c(){t=e.element("button"),a=e.text(n),e.attr(t,"class","GeneralCancelButton")},m(d,h){e.insert(d,t,h),e.append(t,a),i||(m=e.listen(t,"click",o[16]),i=!0)},p(d,h){h&16&&n!==(n=d[4]("cancel")+"")&&e.set_data(a,n)},d(d){d&&e.detach(t),i=!1,m()}}}function R(o){let t,n,a,i,m,d,h,G,u,v,b,x=o[4]("confirm")+"",w,f,p,B;const M=o[15].close,y=e.create_slot(M,o,o[14],z),g=y||N();let c=o[1]&&E(o),s=o[2]&&L(o);return{c(){t=e.element("div"),n=e.element("div"),a=e.element("span"),g&&g.c(),i=e.space(),c&&c.c(),m=e.space(),d=e.element("div"),h=e.text(o[0]),G=e.space(),u=e.element("div"),s&&s.c(),v=e.space(),b=e.element("button"),w=e.text(x),e.attr(a,"class","ModalCloseBtn"),e.attr(a,"role","button"),e.attr(d,"class","GeneralConfirmationContent"),e.attr(b,"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(r,C){e.insert(r,t,C),e.append(t,n),e.append(n,a),g&&g.m(a,null),e.append(n,i),c&&c.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,v),e.append(u,b),e.append(b,w),o[18](t),f=!0,p||(B=[e.listen(a,"click",o[6]),e.listen(b,"click",o[17])],p=!0)},p(r,[C]){y&&y.p&&(!f||C&16384)&&e.update_slot_base(y,M,r,r[14],f?e.get_slot_changes(M,r[14],C,q):e.get_all_dirty_from_scope(r[14]),z),r[1]?c?c.p(r,C):(c=E(r),c.c(),c.m(n,m)):c&&(c.d(1),c=null),(!f||C&1)&&e.set_data(h,r[0]),r[2]?s?s.p(r,C):(s=L(r),s.c(),s.m(u,v)):s&&(s.d(1),s=null),(!f||C&16)&&x!==(x=r[4]("confirm")+"")&&e.set_data(w,x)},i(r){f||(e.transition_in(g,r),f=!0)},o(r){e.transition_out(g,r),f=!1},d(r){r&&e.detach(t),g&&g.d(r),c&&c.d(),s&&s.d(),o[18](null),p=!1,e.run_all(B)}}}function U(o,t,n){let a;e.component_subscribe(o,e.$format,l=>n(4,a=l));let{$$slots:i={},$$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:v={}}=t,{lang:b="en"}=t,{clientstyling:x=""}=t,{clientstylingurl:w=""}=t,{translationurl:f=""}=t,p,B=window.navigator.userAgent,M=e.getDevice(B)!=="PC";const y=()=>{window.postMessage({type:"ModalClosed"},window.location.href)},g=l=>{l==="confirm"&&u&&window.postMessage(u,window.location.href),l==="cancel"&&v&&window.postMessage(v,window.location.href),y()},c=()=>{let l=document.createElement("style");l.innerHTML=x,p.appendChild(l)},s=()=>{let l=new URL(w),_=document.createElement("style");fetch(l.href).then(k=>k.text()).then(k=>{_.innerHTML=k,setTimeout(()=>{p.appendChild(_)},1)})},r=()=>{fetch(f).then(_=>_.json()).then(_=>{Object.keys(_).forEach(k=>{A(k,_[k])})}).catch(_=>{console.log(_)})};Object.keys(F).forEach(l=>{A(l,F[l])});const C=()=>{P(b)},T=()=>g("cancel"),j=()=>g("confirm");function O(l){e.binding_callbacks[l?"unshift":"push"](()=>{p=l,n(3,p)})}return o.$$set=l=>{"modaltext"in l&&n(0,d=l.modaltext),"modaltitle"in l&&n(1,h=l.modaltitle),"hascancelbutton"in l&&n(2,G=l.hascancelbutton),"modalconfirmevent"in l&&n(8,u=l.modalconfirmevent),"modalcancelevent"in l&&n(9,v=l.modalcancelevent),"lang"in l&&n(10,b=l.lang),"clientstyling"in l&&n(11,x=l.clientstyling),"clientstylingurl"in l&&n(12,w=l.clientstylingurl),"translationurl"in l&&n(13,f=l.translationurl),"$$scope"in l&&n(14,m=l.$$scope)},o.$$.update=()=>{o.$$.dirty&1025&&d&&b&&C(),o.$$.dirty&2056&&x&&p&&c(),o.$$.dirty&4104&&w&&p&&s(),o.$$.dirty&8192&&f&&r()},[d,h,G,p,a,M,y,g,u,v,b,x,w,f,m,i,T,j,O]}class S extends e.SvelteComponent{constructor(t){super(),e.init(this,t,U,R,e.safe_not_equal,{modaltext:0,modaltitle:1,hascancelbutton:2,modalconfirmevent:8,modalcancelevent:9,lang:10,clientstyling:11,clientstylingurl:12,translationurl:13},W)}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()}}e.create_custom_element(S,{modaltext:{},modaltitle:{},hascancelbutton:{type:"Boolean"},modalconfirmevent:{},modalcancelevent:{},lang:{},clientstyling:{},clientstylingurl:{},translationurl:{}},["close"],[],!0);exports.default=S;
|
|
@@ -1,590 +0,0 @@
|
|
|
1
|
-
import { a as ie, $ as ce, S as se, i as ue, f as I, c as me, s as de, b as ge, e as v, k as L, o as O, p as B, q as ye, u as R, v as pe, x as fe, y as he, K as N, d as k, t as H, g as s, l as o, n as z, L as Ae, w as E, m as W, r as Me, j as b, X as q } from "./GeneralLogout-BZhvD1EQ.js";
|
|
2
|
-
function X(n, e) {
|
|
3
|
-
ie(n, e);
|
|
4
|
-
}
|
|
5
|
-
function be(n) {
|
|
6
|
-
ce.set(n);
|
|
7
|
-
}
|
|
8
|
-
const G = {
|
|
9
|
-
en: {
|
|
10
|
-
title: "My Account"
|
|
11
|
-
},
|
|
12
|
-
"zh-hk": {
|
|
13
|
-
title: "我的帳戶"
|
|
14
|
-
},
|
|
15
|
-
fr: {
|
|
16
|
-
title: "Mon compte"
|
|
17
|
-
},
|
|
18
|
-
tr: {
|
|
19
|
-
title: "Hesabım"
|
|
20
|
-
},
|
|
21
|
-
ro: {
|
|
22
|
-
title: "Contul meu"
|
|
23
|
-
},
|
|
24
|
-
es: {
|
|
25
|
-
title: "Mi Cuenta"
|
|
26
|
-
},
|
|
27
|
-
pt: {
|
|
28
|
-
title: "Minha Conta"
|
|
29
|
-
},
|
|
30
|
-
hr: {
|
|
31
|
-
title: "Moj račun"
|
|
32
|
-
},
|
|
33
|
-
"pt-br": {
|
|
34
|
-
title: "Minha conta"
|
|
35
|
-
},
|
|
36
|
-
"es-mx": {
|
|
37
|
-
title: "Mi cuenta"
|
|
38
|
-
},
|
|
39
|
-
"en-us": {
|
|
40
|
-
title: "My Account"
|
|
41
|
-
}
|
|
42
|
-
};
|
|
43
|
-
if (typeof window != "undefined") {
|
|
44
|
-
let n = function(e) {
|
|
45
|
-
return function(...t) {
|
|
46
|
-
try {
|
|
47
|
-
return e.apply(this, t);
|
|
48
|
-
} catch (l) {
|
|
49
|
-
if (l instanceof DOMException && l.message.includes("has already been used with this registry") || l.message.includes("Cannot define multiple custom elements with the same tag name"))
|
|
50
|
-
return !1;
|
|
51
|
-
throw l;
|
|
52
|
-
}
|
|
53
|
-
};
|
|
54
|
-
};
|
|
55
|
-
customElements.define = n(customElements.define), import("./GeneralLogout-BZhvD1EQ.js").then((e) => e.a4).then(({ default: e }) => {
|
|
56
|
-
!customElements.get("general-logout") && customElements.define("general-logout", e.element);
|
|
57
|
-
});
|
|
58
|
-
}
|
|
59
|
-
function Pe(n) {
|
|
60
|
-
ge(n, "svelte-br9jas", '.PlayerAccountMenuContainer{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}.PlayerAccountMenuContainer .PlayerAccountMenuItemWrapper{margin:0;word-break:break-all;display:flex;align-items:center}.PlayerAccountMenuContainer .PlayerAccountMenuItemWrapper span{display:flex;align-items:center}.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:16px 20px;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, 20px);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, 20px);color:var(--emw--color-white, #FFFFFF)}.PlayerAccountMenuItemBox .PlayerAccountMenuItemTitle{margin-left:20px}.PlayerAccountMenuItemBox .PlayerAccountMenuItemIcon{width:20px;padding-top:unset}.PlayerAccountMenuItemBox .PlayerAccountMenuItemIconMobile{width: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)}.PlayerAccountLogOutArea{background-color:rgba(253, 40, 57, 0.3);color:var(--emw--color-white, #FFFFFF);border-radius:var(--emw--border-radius-medium, 20px);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, 20px);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}.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, 20px);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, #D0046C))}.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}.PlayerAccountTabletContainer .PlayerAccountMenuHeader{padding:30px 40px}.PlayerAccountTabletContainer .PlayerAccountMenuCategoryTitle{font-size:32px}.PlayerAccountTabletContainer .PlayerAccountMenuUser{font-size:26px;color:var(--emw--pam-color-secondary, var(--emw--color-secondary, #E98B10))}.PlayerAccountTabletContainer .PlayerAccountMenuEmail{font-size:18px}.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,.PlayerAccountTabletContainer .PlayerAccountMenuList .PlayerAccountMenuItemBox .PlayerAccountMenuItemIconMobile{width:30px}.PlayerAccountTabletContainer .PlayerAccountMenuList .PlayerAccountMenuItemWrapper{gap:12px}.PlayerAccountTabletContainer .PlayerAccountMenuList .PlayerAccountMenuItemWrapper .PlayerAccountMenuItemTitle{font-size:var(--emw--font-size-large, 20px)}.PlayerAccountTabletContainer .PlayerAccountLogOutArea{right:54px;top:72px}');
|
|
61
|
-
}
|
|
62
|
-
function V(n, e, t) {
|
|
63
|
-
const l = n.slice();
|
|
64
|
-
return l[37] = e[t], l;
|
|
65
|
-
}
|
|
66
|
-
function we(n) {
|
|
67
|
-
let e, t, l, a, d, m, y, h, P, w, A, x, M = (
|
|
68
|
-
/*isMobile*/
|
|
69
|
-
n[10] && ve(n)
|
|
70
|
-
), g = (
|
|
71
|
-
/*isMobile*/
|
|
72
|
-
n[10] && xe(n)
|
|
73
|
-
), u = N(
|
|
74
|
-
/*menuItems*/
|
|
75
|
-
n[5]
|
|
76
|
-
), c = [];
|
|
77
|
-
for (let i = 0; i < u.length; i += 1)
|
|
78
|
-
c[i] = Z(V(n, u, i));
|
|
79
|
-
let F = !/*isMobile*/
|
|
80
|
-
n[10] && _e(n);
|
|
81
|
-
return {
|
|
82
|
-
c() {
|
|
83
|
-
e = v("div"), t = v("div"), M && M.c(), l = k(), a = v("p"), d = H(
|
|
84
|
-
/*profileUsername*/
|
|
85
|
-
n[7]
|
|
86
|
-
), m = k(), y = v("p"), h = H(
|
|
87
|
-
/*profileEmail*/
|
|
88
|
-
n[8]
|
|
89
|
-
), P = k(), g && g.c(), w = k(), A = v("div");
|
|
90
|
-
for (let i = 0; i < c.length; i += 1)
|
|
91
|
-
c[i].c();
|
|
92
|
-
x = k(), F && F.c(), s(a, "class", "PlayerAccountMenuUser"), s(y, "class", "PlayerAccountMenuEmail"), s(t, "class", "PlayerAccountMenuHeader " + /*isMobile*/
|
|
93
|
-
(n[10] ? "PlayerAccountMenuHeaderMobile" : "")), s(A, "class", "PlayerAccountMenuList"), s(e, "class", "PlayerAccountMenuContainer " + /*isMobile*/
|
|
94
|
-
(n[10] ? "PlayerAccountMobileContainer" : "") + " " + /*mediaQuery*/
|
|
95
|
-
(n[11].matches && /*isMobile*/
|
|
96
|
-
n[10] ? "PlayerAccountTabletContainer" : ""));
|
|
97
|
-
},
|
|
98
|
-
m(i, C) {
|
|
99
|
-
L(i, e, C), o(e, t), M && M.m(t, null), o(t, l), o(t, a), o(a, d), o(t, m), o(t, y), o(y, h), o(t, P), g && g.m(t, null), o(e, w), o(e, A);
|
|
100
|
-
for (let p = 0; p < c.length; p += 1)
|
|
101
|
-
c[p] && c[p].m(A, null);
|
|
102
|
-
o(e, x), F && F.m(e, null);
|
|
103
|
-
},
|
|
104
|
-
p(i, C) {
|
|
105
|
-
if (
|
|
106
|
-
/*isMobile*/
|
|
107
|
-
i[10] && M.p(i, C), C[0] & /*profileUsername*/
|
|
108
|
-
128 && z(
|
|
109
|
-
d,
|
|
110
|
-
/*profileUsername*/
|
|
111
|
-
i[7]
|
|
112
|
-
), C[0] & /*profileEmail*/
|
|
113
|
-
256 && z(
|
|
114
|
-
h,
|
|
115
|
-
/*profileEmail*/
|
|
116
|
-
i[8]
|
|
117
|
-
), /*isMobile*/
|
|
118
|
-
i[10] && g.p(i, C), C[0] & /*selectedItem, menuItems, isMobile, openAccountSection*/
|
|
119
|
-
5216
|
|
120
|
-
) {
|
|
121
|
-
u = N(
|
|
122
|
-
/*menuItems*/
|
|
123
|
-
i[5]
|
|
124
|
-
);
|
|
125
|
-
let p;
|
|
126
|
-
for (p = 0; p < u.length; p += 1) {
|
|
127
|
-
const T = V(i, u, p);
|
|
128
|
-
c[p] ? c[p].p(T, C) : (c[p] = Z(T), c[p].c(), c[p].m(A, null));
|
|
129
|
-
}
|
|
130
|
-
for (; p < c.length; p += 1)
|
|
131
|
-
c[p].d(1);
|
|
132
|
-
c.length = u.length;
|
|
133
|
-
}
|
|
134
|
-
/*isMobile*/
|
|
135
|
-
i[10] || F.p(i, C);
|
|
136
|
-
},
|
|
137
|
-
d(i) {
|
|
138
|
-
i && B(e), M && M.d(), g && g.d(), Ae(c, i), F && F.d();
|
|
139
|
-
}
|
|
140
|
-
};
|
|
141
|
-
}
|
|
142
|
-
function ve(n) {
|
|
143
|
-
let e, t, l, a, d, m, y, h, P, w, A = (
|
|
144
|
-
/*$_*/
|
|
145
|
-
n[9]("title") + ""
|
|
146
|
-
), x, M, g;
|
|
147
|
-
return {
|
|
148
|
-
c() {
|
|
149
|
-
e = v("div"), t = E("svg"), l = E("defs"), a = E("style"), d = H(".aaa{fill:var(--emw--color-white, #FFFFFF);}"), m = E("g"), y = E("g"), h = E("path"), P = k(), w = v("h3"), x = H(A), s(h, "class", "aaa"), s(h, "d", "M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"), s(h, "transform", "translate(15 15) rotate(180)"), s(y, "transform", "translate(20 158)"), s(m, "transform", "translate(-20 -158)"), s(t, "xmlns", "http://www.w3.org/2000/svg"), s(t, "width", "15"), s(t, "height", "15"), s(t, "viewBox", "0 0 15 15"), s(w, "class", "PlayerAccountMenuCategoryTitle"), s(e, "class", "PlayerAccountMenuCategoryWrapper");
|
|
150
|
-
},
|
|
151
|
-
m(u, c) {
|
|
152
|
-
L(u, e, c), o(e, t), o(t, l), o(l, a), o(a, d), o(t, m), o(m, y), o(y, h), o(e, P), o(e, w), o(w, x), M || (g = [
|
|
153
|
-
W(
|
|
154
|
-
t,
|
|
155
|
-
"click",
|
|
156
|
-
/*goToHome*/
|
|
157
|
-
n[13]
|
|
158
|
-
),
|
|
159
|
-
W(
|
|
160
|
-
w,
|
|
161
|
-
"click",
|
|
162
|
-
/*goToHome*/
|
|
163
|
-
n[13]
|
|
164
|
-
)
|
|
165
|
-
], M = !0);
|
|
166
|
-
},
|
|
167
|
-
p(u, c) {
|
|
168
|
-
c[0] & /*$_*/
|
|
169
|
-
512 && A !== (A = /*$_*/
|
|
170
|
-
u[9]("title") + "") && z(x, A);
|
|
171
|
-
},
|
|
172
|
-
d(u) {
|
|
173
|
-
u && B(e), M = !1, Me(g);
|
|
174
|
-
}
|
|
175
|
-
};
|
|
176
|
-
}
|
|
177
|
-
function xe(n) {
|
|
178
|
-
let e, t;
|
|
179
|
-
return {
|
|
180
|
-
c() {
|
|
181
|
-
e = v("div"), t = v("general-logout"), b(
|
|
182
|
-
t,
|
|
183
|
-
"endpoint",
|
|
184
|
-
/*endpoint*/
|
|
185
|
-
n[1]
|
|
186
|
-
), b(
|
|
187
|
-
t,
|
|
188
|
-
"session",
|
|
189
|
-
/*session*/
|
|
190
|
-
n[0]
|
|
191
|
-
), b(t, "buttonlocation", "PlayerAccountMenu"), b(
|
|
192
|
-
t,
|
|
193
|
-
"clientstyling",
|
|
194
|
-
/*clientstyling*/
|
|
195
|
-
n[2]
|
|
196
|
-
), b(
|
|
197
|
-
t,
|
|
198
|
-
"clientstylingurl",
|
|
199
|
-
/*clientstylingurl*/
|
|
200
|
-
n[3]
|
|
201
|
-
), s(e, "class", "PlayerAccountLogOutArea");
|
|
202
|
-
},
|
|
203
|
-
m(l, a) {
|
|
204
|
-
L(l, e, a), o(e, t);
|
|
205
|
-
},
|
|
206
|
-
p(l, a) {
|
|
207
|
-
a[0] & /*endpoint*/
|
|
208
|
-
2 && b(
|
|
209
|
-
t,
|
|
210
|
-
"endpoint",
|
|
211
|
-
/*endpoint*/
|
|
212
|
-
l[1]
|
|
213
|
-
), a[0] & /*session*/
|
|
214
|
-
1 && b(
|
|
215
|
-
t,
|
|
216
|
-
"session",
|
|
217
|
-
/*session*/
|
|
218
|
-
l[0]
|
|
219
|
-
), a[0] & /*clientstyling*/
|
|
220
|
-
4 && b(
|
|
221
|
-
t,
|
|
222
|
-
"clientstyling",
|
|
223
|
-
/*clientstyling*/
|
|
224
|
-
l[2]
|
|
225
|
-
), a[0] & /*clientstylingurl*/
|
|
226
|
-
8 && b(
|
|
227
|
-
t,
|
|
228
|
-
"clientstylingurl",
|
|
229
|
-
/*clientstylingurl*/
|
|
230
|
-
l[3]
|
|
231
|
-
);
|
|
232
|
-
},
|
|
233
|
-
d(l) {
|
|
234
|
-
l && B(e);
|
|
235
|
-
}
|
|
236
|
-
};
|
|
237
|
-
}
|
|
238
|
-
function Z(n) {
|
|
239
|
-
let e, t, l, a, d, m, y = (
|
|
240
|
-
/*menuItem*/
|
|
241
|
-
n[37].label + ""
|
|
242
|
-
), h, P, w, A, x;
|
|
243
|
-
function M() {
|
|
244
|
-
return (
|
|
245
|
-
/*click_handler*/
|
|
246
|
-
n[22](
|
|
247
|
-
/*menuItem*/
|
|
248
|
-
n[37]
|
|
249
|
-
)
|
|
250
|
-
);
|
|
251
|
-
}
|
|
252
|
-
return {
|
|
253
|
-
c() {
|
|
254
|
-
e = v("div"), t = v("p"), l = v("img"), d = k(), m = v("span"), h = H(y), P = k(), s(l, "class", "PlayerAccountMenuItemIcon " + /*isMobile*/
|
|
255
|
-
(n[10] ? "PlayerAccountMenuItemIconMobile" : "")), q(l.src, a = /*menuItem*/
|
|
256
|
-
n[37].img) || s(l, "src", a), s(m, "class", "PlayerAccountMenuItemTitle"), s(t, "class", "PlayerAccountMenuItemWrapper"), s(e, "class", w = "PlayerAccountMenuItemBox " + /*selectedItem*/
|
|
257
|
-
(n[6] === /*menuItem*/
|
|
258
|
-
n[37].id && !/*isMobile*/
|
|
259
|
-
n[10] ? "PlayerAccountMenuActiveItemBox" : ""));
|
|
260
|
-
},
|
|
261
|
-
m(g, u) {
|
|
262
|
-
L(g, e, u), o(e, t), o(t, l), o(t, d), o(t, m), o(m, h), o(e, P), A || (x = W(e, "click", M), A = !0);
|
|
263
|
-
},
|
|
264
|
-
p(g, u) {
|
|
265
|
-
n = g, u[0] & /*menuItems*/
|
|
266
|
-
32 && !q(l.src, a = /*menuItem*/
|
|
267
|
-
n[37].img) && s(l, "src", a), u[0] & /*menuItems*/
|
|
268
|
-
32 && y !== (y = /*menuItem*/
|
|
269
|
-
n[37].label + "") && z(h, y), u[0] & /*selectedItem, menuItems*/
|
|
270
|
-
96 && w !== (w = "PlayerAccountMenuItemBox " + /*selectedItem*/
|
|
271
|
-
(n[6] === /*menuItem*/
|
|
272
|
-
n[37].id && !/*isMobile*/
|
|
273
|
-
n[10] ? "PlayerAccountMenuActiveItemBox" : "")) && s(e, "class", w);
|
|
274
|
-
},
|
|
275
|
-
d(g) {
|
|
276
|
-
g && B(e), A = !1, x();
|
|
277
|
-
}
|
|
278
|
-
};
|
|
279
|
-
}
|
|
280
|
-
function _e(n) {
|
|
281
|
-
let e, t;
|
|
282
|
-
return {
|
|
283
|
-
c() {
|
|
284
|
-
e = v("div"), t = v("general-logout"), b(
|
|
285
|
-
t,
|
|
286
|
-
"endpoint",
|
|
287
|
-
/*endpoint*/
|
|
288
|
-
n[1]
|
|
289
|
-
), b(
|
|
290
|
-
t,
|
|
291
|
-
"session",
|
|
292
|
-
/*session*/
|
|
293
|
-
n[0]
|
|
294
|
-
), b(t, "buttonlocation", "PlayerAccountMenu"), b(
|
|
295
|
-
t,
|
|
296
|
-
"clientstyling",
|
|
297
|
-
/*clientstyling*/
|
|
298
|
-
n[2]
|
|
299
|
-
), b(
|
|
300
|
-
t,
|
|
301
|
-
"clientstylingurl",
|
|
302
|
-
/*clientstylingurl*/
|
|
303
|
-
n[3]
|
|
304
|
-
), s(e, "class", "PlayerAccountLogOutArea");
|
|
305
|
-
},
|
|
306
|
-
m(l, a) {
|
|
307
|
-
L(l, e, a), o(e, t);
|
|
308
|
-
},
|
|
309
|
-
p(l, a) {
|
|
310
|
-
a[0] & /*endpoint*/
|
|
311
|
-
2 && b(
|
|
312
|
-
t,
|
|
313
|
-
"endpoint",
|
|
314
|
-
/*endpoint*/
|
|
315
|
-
l[1]
|
|
316
|
-
), a[0] & /*session*/
|
|
317
|
-
1 && b(
|
|
318
|
-
t,
|
|
319
|
-
"session",
|
|
320
|
-
/*session*/
|
|
321
|
-
l[0]
|
|
322
|
-
), a[0] & /*clientstyling*/
|
|
323
|
-
4 && b(
|
|
324
|
-
t,
|
|
325
|
-
"clientstyling",
|
|
326
|
-
/*clientstyling*/
|
|
327
|
-
l[2]
|
|
328
|
-
), a[0] & /*clientstylingurl*/
|
|
329
|
-
8 && b(
|
|
330
|
-
t,
|
|
331
|
-
"clientstylingurl",
|
|
332
|
-
/*clientstylingurl*/
|
|
333
|
-
l[3]
|
|
334
|
-
);
|
|
335
|
-
},
|
|
336
|
-
d(l) {
|
|
337
|
-
l && B(e);
|
|
338
|
-
}
|
|
339
|
-
};
|
|
340
|
-
}
|
|
341
|
-
function Ce(n) {
|
|
342
|
-
let e;
|
|
343
|
-
function t(d, m) {
|
|
344
|
-
return we;
|
|
345
|
-
}
|
|
346
|
-
let a = t()(n);
|
|
347
|
-
return {
|
|
348
|
-
c() {
|
|
349
|
-
e = v("div"), a.c();
|
|
350
|
-
},
|
|
351
|
-
m(d, m) {
|
|
352
|
-
L(d, e, m), a.m(e, null), n[23](e);
|
|
353
|
-
},
|
|
354
|
-
p(d, m) {
|
|
355
|
-
a.p(d, m);
|
|
356
|
-
},
|
|
357
|
-
i: O,
|
|
358
|
-
o: O,
|
|
359
|
-
d(d) {
|
|
360
|
-
d && B(e), a.d(), n[23](null);
|
|
361
|
-
}
|
|
362
|
-
};
|
|
363
|
-
}
|
|
364
|
-
function Ie(n, e, t) {
|
|
365
|
-
let l;
|
|
366
|
-
ye(n, he, (r) => t(9, l = r));
|
|
367
|
-
let { endpoint: a = "" } = e, { cmsendpoint: d = "" } = e, { env: m = "" } = e, { session: y = "" } = e, { playerid: h = "" } = e, { lang: P = "en" } = e, { selecteditem: w = "" } = e, { userroles: A = "" } = e, { clientstyling: x = "" } = e, { clientstylingurl: M = "" } = e, { translationurl: g = "" } = e, { activemenuitem: u = "" } = e, c, F = [], i, C = window.navigator.userAgent, p = R(C) !== "PC", T = "", S = "";
|
|
368
|
-
const K = window.matchMedia("(min-width: 768px)"), Q = () => {
|
|
369
|
-
fetch(g).then((f) => f.json()).then((f) => {
|
|
370
|
-
Object.keys(f).forEach((_) => {
|
|
371
|
-
X(_, f[_]);
|
|
372
|
-
});
|
|
373
|
-
}).catch((f) => {
|
|
374
|
-
console.error(f);
|
|
375
|
-
});
|
|
376
|
-
};
|
|
377
|
-
Object.keys(G).forEach((r) => {
|
|
378
|
-
X(r, G[r]);
|
|
379
|
-
});
|
|
380
|
-
const U = (r) => {
|
|
381
|
-
if (r.data)
|
|
382
|
-
switch (r.data.type) {
|
|
383
|
-
case "AccountMenuDetails":
|
|
384
|
-
availableMenuItemsArray = r.data.accountMenuInfo;
|
|
385
|
-
break;
|
|
386
|
-
case "UserSessionID":
|
|
387
|
-
t(0, y = r.data.session);
|
|
388
|
-
break;
|
|
389
|
-
}
|
|
390
|
-
}, J = () => {
|
|
391
|
-
let r = R(C);
|
|
392
|
-
if (r)
|
|
393
|
-
return r === "PC" ? "dk" : "mtWeb";
|
|
394
|
-
}, Y = () => {
|
|
395
|
-
const r = new URL(`${d}/${P}/profile-menu?env=${m}`);
|
|
396
|
-
r.searchParams.append("device", J()), fetch(r.href).then((f) => f.json()).then((f) => {
|
|
397
|
-
t(5, F = f), D();
|
|
398
|
-
}).catch((f) => {
|
|
399
|
-
console.error("Error getting menu items", f);
|
|
400
|
-
});
|
|
401
|
-
}, $ = () => {
|
|
402
|
-
let r = new URL(`${a}/v1/player/${h}/profile`);
|
|
403
|
-
r.searchParams.append("userRoles", A);
|
|
404
|
-
let f = {
|
|
405
|
-
method: "GET",
|
|
406
|
-
headers: { "X-SessionID": y }
|
|
407
|
-
};
|
|
408
|
-
fetch(r.href, f).then((_) => _.json()).then(
|
|
409
|
-
(_) => {
|
|
410
|
-
t(7, T = _.username), t(8, S = _.email);
|
|
411
|
-
},
|
|
412
|
-
(_) => {
|
|
413
|
-
console.error(_);
|
|
414
|
-
}
|
|
415
|
-
);
|
|
416
|
-
}, j = (r) => {
|
|
417
|
-
window.postMessage({ type: "ChangeAccountPage", page: r }, window.location.href), t(6, i = r.id);
|
|
418
|
-
}, D = () => {
|
|
419
|
-
var r;
|
|
420
|
-
t(6, i = (r = F.find((f) => f.path.includes(u))) == null ? void 0 : r.id);
|
|
421
|
-
}, ee = () => {
|
|
422
|
-
window.postMessage({ type: "GoToHomepage" }, window.location.href);
|
|
423
|
-
}, te = () => {
|
|
424
|
-
be(P);
|
|
425
|
-
}, ne = () => {
|
|
426
|
-
$();
|
|
427
|
-
}, re = () => {
|
|
428
|
-
let r = document.createElement("style");
|
|
429
|
-
r.innerHTML = x, c.appendChild(r);
|
|
430
|
-
}, le = () => {
|
|
431
|
-
let r = new URL(M), f = document.createElement("style");
|
|
432
|
-
fetch(r.href).then((_) => _.text()).then((_) => {
|
|
433
|
-
f.innerHTML = _, setTimeout(
|
|
434
|
-
() => {
|
|
435
|
-
c.appendChild(f);
|
|
436
|
-
},
|
|
437
|
-
1
|
|
438
|
-
);
|
|
439
|
-
});
|
|
440
|
-
};
|
|
441
|
-
pe(() => (window.addEventListener("message", U, !1), () => {
|
|
442
|
-
window.removeEventListener("message", U);
|
|
443
|
-
}));
|
|
444
|
-
const ae = (r) => j(r);
|
|
445
|
-
function oe(r) {
|
|
446
|
-
fe[r ? "unshift" : "push"](() => {
|
|
447
|
-
c = r, t(4, c);
|
|
448
|
-
});
|
|
449
|
-
}
|
|
450
|
-
return n.$$set = (r) => {
|
|
451
|
-
"endpoint" in r && t(1, a = r.endpoint), "cmsendpoint" in r && t(14, d = r.cmsendpoint), "env" in r && t(15, m = r.env), "session" in r && t(0, y = r.session), "playerid" in r && t(16, h = r.playerid), "lang" in r && t(17, P = r.lang), "selecteditem" in r && t(18, w = r.selecteditem), "userroles" in r && t(19, A = r.userroles), "clientstyling" in r && t(2, x = r.clientstyling), "clientstylingurl" in r && t(3, M = r.clientstylingurl), "translationurl" in r && t(20, g = r.translationurl), "activemenuitem" in r && t(21, u = r.activemenuitem);
|
|
452
|
-
}, n.$$.update = () => {
|
|
453
|
-
n.$$.dirty[0] & /*lang*/
|
|
454
|
-
131072 && P && te(), n.$$.dirty[0] & /*endpoint, session, playerid, lang*/
|
|
455
|
-
196611 && a && y && h && P && ne(), n.$$.dirty[0] & /*cmsendpoint, lang, env*/
|
|
456
|
-
180224 && d && P && m && Y(), n.$$.dirty[0] & /*activemenuitem*/
|
|
457
|
-
2097152 && u && D(), n.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
458
|
-
24 && M && c && le(), n.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
459
|
-
20 && x && c && re(), n.$$.dirty[0] & /*translationurl*/
|
|
460
|
-
1048576 && g && Q();
|
|
461
|
-
}, [
|
|
462
|
-
y,
|
|
463
|
-
a,
|
|
464
|
-
x,
|
|
465
|
-
M,
|
|
466
|
-
c,
|
|
467
|
-
F,
|
|
468
|
-
i,
|
|
469
|
-
T,
|
|
470
|
-
S,
|
|
471
|
-
l,
|
|
472
|
-
p,
|
|
473
|
-
K,
|
|
474
|
-
j,
|
|
475
|
-
ee,
|
|
476
|
-
d,
|
|
477
|
-
m,
|
|
478
|
-
h,
|
|
479
|
-
P,
|
|
480
|
-
w,
|
|
481
|
-
A,
|
|
482
|
-
g,
|
|
483
|
-
u,
|
|
484
|
-
ae,
|
|
485
|
-
oe
|
|
486
|
-
];
|
|
487
|
-
}
|
|
488
|
-
class Fe extends se {
|
|
489
|
-
constructor(e) {
|
|
490
|
-
super(), ue(
|
|
491
|
-
this,
|
|
492
|
-
e,
|
|
493
|
-
Ie,
|
|
494
|
-
Ce,
|
|
495
|
-
de,
|
|
496
|
-
{
|
|
497
|
-
endpoint: 1,
|
|
498
|
-
cmsendpoint: 14,
|
|
499
|
-
env: 15,
|
|
500
|
-
session: 0,
|
|
501
|
-
playerid: 16,
|
|
502
|
-
lang: 17,
|
|
503
|
-
selecteditem: 18,
|
|
504
|
-
userroles: 19,
|
|
505
|
-
clientstyling: 2,
|
|
506
|
-
clientstylingurl: 3,
|
|
507
|
-
translationurl: 20,
|
|
508
|
-
activemenuitem: 21
|
|
509
|
-
},
|
|
510
|
-
Pe,
|
|
511
|
-
[-1, -1]
|
|
512
|
-
);
|
|
513
|
-
}
|
|
514
|
-
get endpoint() {
|
|
515
|
-
return this.$$.ctx[1];
|
|
516
|
-
}
|
|
517
|
-
set endpoint(e) {
|
|
518
|
-
this.$$set({ endpoint: e }), I();
|
|
519
|
-
}
|
|
520
|
-
get cmsendpoint() {
|
|
521
|
-
return this.$$.ctx[14];
|
|
522
|
-
}
|
|
523
|
-
set cmsendpoint(e) {
|
|
524
|
-
this.$$set({ cmsendpoint: e }), I();
|
|
525
|
-
}
|
|
526
|
-
get env() {
|
|
527
|
-
return this.$$.ctx[15];
|
|
528
|
-
}
|
|
529
|
-
set env(e) {
|
|
530
|
-
this.$$set({ env: e }), I();
|
|
531
|
-
}
|
|
532
|
-
get session() {
|
|
533
|
-
return this.$$.ctx[0];
|
|
534
|
-
}
|
|
535
|
-
set session(e) {
|
|
536
|
-
this.$$set({ session: e }), I();
|
|
537
|
-
}
|
|
538
|
-
get playerid() {
|
|
539
|
-
return this.$$.ctx[16];
|
|
540
|
-
}
|
|
541
|
-
set playerid(e) {
|
|
542
|
-
this.$$set({ playerid: e }), I();
|
|
543
|
-
}
|
|
544
|
-
get lang() {
|
|
545
|
-
return this.$$.ctx[17];
|
|
546
|
-
}
|
|
547
|
-
set lang(e) {
|
|
548
|
-
this.$$set({ lang: e }), I();
|
|
549
|
-
}
|
|
550
|
-
get selecteditem() {
|
|
551
|
-
return this.$$.ctx[18];
|
|
552
|
-
}
|
|
553
|
-
set selecteditem(e) {
|
|
554
|
-
this.$$set({ selecteditem: e }), I();
|
|
555
|
-
}
|
|
556
|
-
get userroles() {
|
|
557
|
-
return this.$$.ctx[19];
|
|
558
|
-
}
|
|
559
|
-
set userroles(e) {
|
|
560
|
-
this.$$set({ userroles: e }), I();
|
|
561
|
-
}
|
|
562
|
-
get clientstyling() {
|
|
563
|
-
return this.$$.ctx[2];
|
|
564
|
-
}
|
|
565
|
-
set clientstyling(e) {
|
|
566
|
-
this.$$set({ clientstyling: e }), I();
|
|
567
|
-
}
|
|
568
|
-
get clientstylingurl() {
|
|
569
|
-
return this.$$.ctx[3];
|
|
570
|
-
}
|
|
571
|
-
set clientstylingurl(e) {
|
|
572
|
-
this.$$set({ clientstylingurl: e }), I();
|
|
573
|
-
}
|
|
574
|
-
get translationurl() {
|
|
575
|
-
return this.$$.ctx[20];
|
|
576
|
-
}
|
|
577
|
-
set translationurl(e) {
|
|
578
|
-
this.$$set({ translationurl: e }), I();
|
|
579
|
-
}
|
|
580
|
-
get activemenuitem() {
|
|
581
|
-
return this.$$.ctx[21];
|
|
582
|
-
}
|
|
583
|
-
set activemenuitem(e) {
|
|
584
|
-
this.$$set({ activemenuitem: e }), I();
|
|
585
|
-
}
|
|
586
|
-
}
|
|
587
|
-
me(Fe, { endpoint: {}, cmsendpoint: {}, env: {}, session: {}, playerid: {}, lang: {}, selecteditem: {}, userroles: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, activemenuitem: {} }, [], [], !0);
|
|
588
|
-
export {
|
|
589
|
-
Fe as default
|
|
590
|
-
};
|