@everymatrix/player-account-controller 1.94.19 → 1.94.21
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-BQJRUNwp.cjs → GeneralLogout-C4zscfCx.cjs} +1 -1
- package/components/{GeneralLogout-CwC7hmDR.js → GeneralLogout-CXb7OdeA.js} +69 -69
- package/components/{GeneralLogout-BzreXekz.js → GeneralLogout-CpE101GN.js} +53 -53
- package/components/{PlayerAccountBettingHistory-iBgxnZ1z.cjs → PlayerAccountBettingHistory-BEC5Dbk4.cjs} +1 -1
- package/components/{PlayerAccountBettingHistory-CpObxK27.js → PlayerAccountBettingHistory-D2UOjGmQ.js} +27 -27
- package/components/{PlayerAccountBettingHistory-t0Tk_p0g.js → PlayerAccountBettingHistory-DdxkAioI.js} +24 -24
- package/components/{PlayerAccountBiometrics-C5OncfaU.js → PlayerAccountBiometrics-BoITt8OK.js} +29 -29
- package/components/{PlayerAccountBiometrics-WqGiexBI.cjs → PlayerAccountBiometrics-CkHgmfP_.cjs} +1 -1
- package/components/{PlayerAccountBiometrics-D7yEbrsq.js → PlayerAccountBiometrics-DufGqDU4.js} +29 -29
- package/components/{PlayerAccountBiometricsAction-uCYyRh_C.js → PlayerAccountBiometricsAction-B5FkZd-r.js} +29 -29
- package/components/{PlayerAccountBiometricsAction-DGkhc1cZ.cjs → PlayerAccountBiometricsAction-CrfbCZc0.cjs} +1 -1
- package/components/{PlayerAccountBiometricsAction-BCPPui38.js → PlayerAccountBiometricsAction-Dpgb3qw8.js} +20 -20
- package/components/{PlayerAccountClosure-Ct4tBOGU.js → PlayerAccountClosure-BkZo4ds8.js} +8 -8
- package/components/{PlayerAccountClosure-CNXw7Sjx.cjs → PlayerAccountClosure-CTVdrvUs.cjs} +1 -1
- package/components/{PlayerAccountClosure-DLFNaf_2.js → PlayerAccountClosure-Rn4rUpUm.js} +24 -24
- package/components/{PlayerAccountController-KqshAWe2.cjs → PlayerAccountController-BBk-9TOg.cjs} +1 -1
- package/components/{PlayerAccountController-BHq1U_O6.js → PlayerAccountController-CO8cZYgr.js} +86 -86
- package/components/{PlayerAccountController-CKZCKQpN.js → PlayerAccountController-DgE57QwT.js} +86 -86
- package/components/{PlayerAccountGamingLimits-BdlTSpsU.cjs → PlayerAccountGamingLimits-B-5nWzRS.cjs} +1 -1
- package/components/{PlayerAccountGamingLimits-C3wWWcGH.js → PlayerAccountGamingLimits-CxpBIVY6.js} +32 -32
- package/components/{PlayerAccountGamingLimits-Z6Ce0MoG.js → PlayerAccountGamingLimits-V927kAz2.js} +30 -30
- package/components/{PlayerAccountGamingLimitsConfirmationModal-Cfk6gWz8.js → PlayerAccountGamingLimitsConfirmationModal-BveODcSU.js} +34 -34
- package/components/{PlayerAccountGamingLimitsConfirmationModal-B7CUyyZF.js → PlayerAccountGamingLimitsConfirmationModal-CG7r6PIK.js} +25 -25
- package/components/{PlayerAccountGamingLimitsConfirmationModal-DI6j94DD.cjs → PlayerAccountGamingLimitsConfirmationModal-CJgeqRLo.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsGroupEdit-qUGWNtii.cjs → PlayerAccountGamingLimitsGroupEdit-Cyu-XItn.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsGroupEdit-aCJcxI7C.js → PlayerAccountGamingLimitsGroupEdit-DXbMOl6-.js} +47 -47
- package/components/{PlayerAccountGamingLimitsGroupEdit-CoF5dXFM.js → PlayerAccountGamingLimitsGroupEdit-vujLn0t-.js} +47 -47
- package/components/{PlayerAccountGamingLimitsHistory2-D4p6d8iD.js → PlayerAccountGamingLimitsHistory2-C1J6OpLl.js} +35 -35
- package/components/{PlayerAccountGamingLimitsHistory2-5ux43rb0.cjs → PlayerAccountGamingLimitsHistory2-C6HksI_l.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsHistory2-D6yYPKgO.js → PlayerAccountGamingLimitsHistory2-ch2erx5S.js} +45 -45
- package/components/{PlayerAccountGamingLimitsInfoCard-DBbFlq2N.cjs → PlayerAccountGamingLimitsInfoCard-C-DFY5Ok.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsInfoCard-DD4VF0x7.js → PlayerAccountGamingLimitsInfoCard-C17cmXa_.js} +4 -4
- package/components/{PlayerAccountGamingLimitsInfoCard-DimpOAgW.js → PlayerAccountGamingLimitsInfoCard-g7I5qkLj.js} +4 -4
- package/components/{PlayerAccountGamingLimitsPage2Gm16-ByAD5XkL.js → PlayerAccountGamingLimitsPage2Gm16-5DbisV99.js} +105 -105
- package/components/{PlayerAccountGamingLimitsPage2Gm16-Cd6aLvED.cjs → PlayerAccountGamingLimitsPage2Gm16-BD2PAPr7.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsPage2Gm16-39Ko_0bM.js → PlayerAccountGamingLimitsPage2Gm16-vkWd1ihI.js} +1 -1
- package/components/{PlayerAccountGamingLimitsPopup-DpKQITZC.js → PlayerAccountGamingLimitsPopup-7JDTXTtQ.js} +19 -19
- package/components/{PlayerAccountGamingLimitsPopup-BLjM3dul.js → PlayerAccountGamingLimitsPopup-CBrl659u.js} +15 -15
- package/components/{PlayerAccountGamingLimitsPopup-BIRVIt7t.cjs → PlayerAccountGamingLimitsPopup-CvgPjhi-.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsWrapper2-o3uvZC1a.cjs → PlayerAccountGamingLimitsWrapper2-Bm2vuvTx.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsWrapper2-Bxh1v-ks.js → PlayerAccountGamingLimitsWrapper2-DWD-0F-D.js} +58 -58
- package/components/{PlayerAccountGamingLimitsWrapper2-D0oOCM5A.js → PlayerAccountGamingLimitsWrapper2-jQr15q3J.js} +54 -54
- package/components/{PlayerAccountGeneralConfirmationModal-Dbpjs0ok.cjs → PlayerAccountGeneralConfirmationModal-B_cFWoG1.cjs} +1 -1
- package/components/{PlayerAccountGeneralConfirmationModal-v1VPRGeY.js → PlayerAccountGeneralConfirmationModal-Bnwi7Hps.js} +38 -38
- package/components/{PlayerAccountGeneralConfirmationModal-XrxuJU94.js → PlayerAccountGeneralConfirmationModal-D7km7Zog.js} +35 -35
- package/components/{PlayerAccountMenu-D3ydI3e0.js → PlayerAccountMenu-7UYVqYH-.js} +23 -23
- package/components/{PlayerAccountMenu-p1bTKU9o.cjs → PlayerAccountMenu-CBhFGN5v.cjs} +1 -1
- package/components/{PlayerAccountMenu-DOwnMfBp.js → PlayerAccountMenu-D-jM_PCb.js} +23 -23
- package/components/{PlayerAccountModal-nLc5W2X1.cjs → PlayerAccountModal-BQZExMfG.cjs} +1 -1
- package/components/{PlayerAccountModal-DM8MYI4c.js → PlayerAccountModal-BxFPmZIg.js} +51 -51
- package/components/{PlayerAccountModal-CPowwN-K.js → PlayerAccountModal-InDwj5CZ.js} +55 -55
- package/components/{PlayerAccountNotifications-D2o0B9mY.js → PlayerAccountNotifications-BKQa6iL8.js} +29 -29
- package/components/{PlayerAccountNotifications-Bclx6LlP.cjs → PlayerAccountNotifications-C7bklpfG.cjs} +1 -1
- package/components/{PlayerAccountNotifications-BLDWrrxI.js → PlayerAccountNotifications-kDZBI187.js} +88 -88
- package/components/{PlayerAccountProductRestriction-DcrSkVJ-.cjs → PlayerAccountProductRestriction-B2pinL7l.cjs} +1 -1
- package/components/{PlayerAccountProductRestriction-CArQTQHH.js → PlayerAccountProductRestriction-CFIjlnOX.js} +3 -3
- package/components/{PlayerAccountProductRestriction-DHxrM48h.js → PlayerAccountProductRestriction-DbEkMKO3.js} +3 -3
- package/components/{PlayerAccountReviewFrequency-210Gkzzk.js → PlayerAccountReviewFrequency-BYWEOhzw.js} +30 -30
- package/components/{PlayerAccountReviewFrequency-maIKojuS.cjs → PlayerAccountReviewFrequency-DMwFO_R2.cjs} +1 -1
- package/components/{PlayerAccountReviewFrequency-BmQDh8wI.js → PlayerAccountReviewFrequency-DjERKwb7.js} +31 -31
- package/components/{PlayerAccountSelfExclusion-CPbHgqgm.js → PlayerAccountSelfExclusion-BM_tkQy1.js} +99 -99
- package/components/{PlayerAccountSelfExclusion-QhkNBndX.js → PlayerAccountSelfExclusion-Byk2bLi5.js} +86 -86
- package/components/{PlayerAccountSelfExclusion-BbGponGq.cjs → PlayerAccountSelfExclusion-CMk-HM8u.cjs} +1 -1
- package/components/{PlayerAccountTimeout-CQadGV2a.js → PlayerAccountTimeout-B52QzMyN.js} +3 -3
- package/components/{PlayerAccountTimeout-CbSDcsVh.cjs → PlayerAccountTimeout-BKqM9z9S.cjs} +2 -2
- package/components/{PlayerAccountTimeout-BEQ_XL2r.js → PlayerAccountTimeout-CvNSJCuP.js} +3 -3
- package/components/{PlayerAccountTransactionsHistory-BcG6cSUz.js → PlayerAccountTransactionsHistory-Ct9bbtaS.js} +36 -36
- package/components/{PlayerAccountTransactionsHistory-BgeA2OaG.js → PlayerAccountTransactionsHistory-DfYoqbPR.js} +35 -35
- package/components/{PlayerAccountTransactionsHistory-DLYk17GI.cjs → PlayerAccountTransactionsHistory-vlF8HWQr.cjs} +1 -1
- package/components/{PlayerActiveBonuses-Dg7d3EXi.js → PlayerActiveBonuses-C5pOksPm.js} +539 -509
- package/components/{PlayerActiveBonuses-DVytvabF.js → PlayerActiveBonuses-DYEcrFhQ.js} +544 -514
- package/components/PlayerActiveBonuses-iTkyXHsD.cjs +5 -0
- package/components/{PlayerBonusCard-C-E_7PSB.js → PlayerBonusCard-Bggf2jM-.js} +252 -238
- package/components/{PlayerBonusCard-CSj1XzDi.js → PlayerBonusCard-CVByVySk.js} +249 -235
- package/components/PlayerBonusCard-DgHQKXJE.cjs +1 -0
- package/components/{PlayerBonusHistory-BSDft0iY.js → PlayerBonusHistory-A1LztGVe.js} +1941 -1910
- package/components/{PlayerBonusHistory-BNlbASad.cjs → PlayerBonusHistory-Cvq_m9mr.cjs} +252 -252
- package/components/{PlayerBonusHistory-CMGvjo7T.js → PlayerBonusHistory-vvCROk6P.js} +1924 -1893
- package/components/{PlayerChangePassword-CDPtd1y2.js → PlayerChangePassword-BpW3ZGPE.js} +71 -71
- package/components/{PlayerChangePassword-CN2nSbTu.cjs → PlayerChangePassword-Ck2ADweJ.cjs} +1 -1
- package/components/{PlayerChangePassword-CjdAhIqW.js → PlayerChangePassword-DfLb_jZA.js} +71 -71
- package/components/{PlayerDeposit-BtS34PMd.cjs → PlayerDeposit-CCzkiEdB.cjs} +1 -1
- package/components/{PlayerDeposit-C9DlPi5i.js → PlayerDeposit-CpU80gtj.js} +28 -28
- package/components/{PlayerDeposit-BOHnESfn.js → PlayerDeposit-HbzBoc73.js} +24 -24
- package/components/{PlayerGamingHistory-BDVH_6B8.cjs → PlayerGamingHistory-C-1-WJwY.cjs} +1 -1
- package/components/{PlayerGamingHistory-C6WWw2cc.js → PlayerGamingHistory-D7i_K4mx.js} +94 -94
- package/components/{PlayerGamingHistory-Da-Wan4y.js → PlayerGamingHistory-DpSeY1cI.js} +114 -114
- package/components/{PlayerPendingWithdrawals-CgdF4Q07.cjs → PlayerPendingWithdrawals-BubG3Pn4.cjs} +1 -1
- package/components/{PlayerPendingWithdrawals-BH2fv9D2.js → PlayerPendingWithdrawals-BwdyTHVG.js} +30 -30
- package/components/{PlayerPendingWithdrawals-Bbokp3YM.js → PlayerPendingWithdrawals-C9gR_Y0d.js} +34 -34
- package/components/{PlayerProfileInfo-CtQg5U2I.js → PlayerProfileInfo-C5By7H5W.js} +364 -364
- package/components/{PlayerProfileInfo-BrN8d1L_.cjs → PlayerProfileInfo-DNlp4qra.cjs} +1 -1
- package/components/{PlayerProfileInfo-Cl33NXNc.js → PlayerProfileInfo-DerxJF3S.js} +342 -342
- package/components/{PlayerRealityCheck-maFkRSmz.js → PlayerRealityCheck-1wRbKOda.js} +55 -55
- package/components/{PlayerRealityCheck-CH6yW7w0.js → PlayerRealityCheck-CQS6Dta8.js} +54 -54
- package/components/{PlayerRealityCheck-DFyTdthH.cjs → PlayerRealityCheck-DrzWTJ0l.cjs} +1 -1
- package/components/{PlayerTransactionHistory-jPhM6ytU.js → PlayerTransactionHistory-BIxhXd3Y.js} +44 -44
- package/components/{PlayerTransactionHistory-BxyX6ai9.js → PlayerTransactionHistory-DSCZ7OVe.js} +31 -31
- package/components/{PlayerTransactionHistory-B8UFaIzM.cjs → PlayerTransactionHistory-DlRKQ_LH.cjs} +1 -1
- package/components/{PlayerWithdrawal-Crv6enga.cjs → PlayerWithdrawal-B5lYxcpO.cjs} +1 -1
- package/components/{PlayerWithdrawal-CKHK7F5l.js → PlayerWithdrawal-B8PG-Cig.js} +25 -25
- package/components/{PlayerWithdrawal-D2BakJra.js → PlayerWithdrawal-zFpUyw_q.js} +25 -25
- package/components/{QrSessionGenerator-DHB2Qsq3.cjs → QrSessionGenerator-BeNaNuyX.cjs} +1 -1
- package/components/{QrSessionGenerator-CYedw5yt.js → QrSessionGenerator-ChEh7Qwb.js} +37 -37
- package/components/{QrSessionGenerator-DiPVWwLx.js → QrSessionGenerator-DuxpFDzg.js} +48 -48
- package/es2015/player-account-controller.cjs +1 -1
- package/es2015/player-account-controller.js +1 -1
- package/esnext/player-account-controller.js +1 -1
- package/package.json +1 -1
- package/stencil/{checkbox-group-input_16-BMVEaVtV.js → checkbox-group-input_16-BzEg4TpU.js} +3 -3
- package/stencil/{checkbox-group-input_16-C6fU4lxi.js → checkbox-group-input_16-nRSc7WyI.js} +3 -3
- package/stencil/{index-7469517b-BFmBiraV.js → index-7469517b-B-IR-z1N.js} +1 -1
- package/stencil/{index-7469517b-CCwm-ipO.js → index-7469517b-C42JdpYE.js} +1 -1
- package/stencil/{pam-change-password-259289fa-DJ_lsyvr.js → pam-change-password-259289fa-CkW8tAwL.js} +3 -3
- package/stencil/{pam-change-password-259289fa-B_ApylOR.js → pam-change-password-259289fa-DS0Y7TKw.js} +3 -3
- package/stencil/{pam-change-password-DH0owsL8.js → pam-change-password-Cd7FdKp2.js} +1 -1
- package/stencil/{pam-change-password-BOIp7Ttz.js → pam-change-password-Fz6dpHWP.js} +1 -1
- package/components/PlayerActiveBonuses-B0BbnzpT.cjs +0 -5
- package/components/PlayerBonusCard-CI-sAhBx.cjs +0 -1
package/components/{PlayerAccountGamingLimits-BdlTSpsU.cjs → PlayerAccountGamingLimits-B-5nWzRS.cjs}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./PlayerAccountController-KqshAWe2.cjs");function B(i,t){e.addMessages(i,t)}function z(i){e.$locale.set(i)}const j={en:{returnToMenu:"Return to menu",gamingLimitsText:"Gaming limits",depositLimit:"Deposit Limit",timeLimit:"Time Limit",wageringLimit:"Wagering Limit",lossLimit:"Loss Limit"},"zh-hk":{returnToMenu:"返回菜單",gamingLimitsText:"遊戲限制",depositLimit:"存款限額",timeLimit:"時限t",wageringLimit:"投注限額",lossLimit:"損失限額"},fr:{returnToMenu:"Retour au menu",gamingLimitsText:"Limites de jeu",depositLimit:"Limite de dépôt",timeLimit:"Limite de temps",wageringLimit:"Limite de mise",lossLimit:"Limite de perte"},ro:{returnToMenu:"Înapoi la meniu",gamingLimitsText:"Limite de joc",depositLimit:"Limită de depunere",timeLimit:"Limită de timp",wageringLimit:"Limită de pariere",lossLimit:"Limită de pierdere"},es:{returnToMenu:"Regresar al menu",gamingLimitsText:"Límites de juego",depositLimit:"Límite de depósito",timeLimit:"Límite de tiempo",wageringLimit:"Límite de apuestas",lossLimit:"Límite de pérdida"},pt:{returnToMenu:"Voltar ao Menu",gamingLimitsText:"Limites de jogos",depositLimit:"Limite de Depósito",timeLimit:"Limite de tempo",wageringLimit:"Limite de apostas",lossLimit:"Limite de Perda"},hr:{returnToMenu:"Povratak na izbornik",gamingLimitsText:"Ograničenja igranja",depositLimit:"Ograničenje uplate",timeLimit:"Vremensko ograničenje",wageringLimit:"Ograničenje igranja",lossLimit:"Ograničenje gubitka"},"pt-br":{returnToMenu:"Voltar ao cardápio",gamingLimitsText:"Limites do jogo",depositLimit:"Limites de depósito",timeLimit:"Limite de tempo",wageringLimit:"Limite de aposta",lossLimit:"Limite de perda"},"es-mx":{returnToMenu:"Regresar al menú",gamingLimitsText:"Límites de juego",depositLimit:"Límites de depósito",timeLimit:"Límite de tiempo",wageringLimit:"Límite de apuesta",lossLimit:"Límite de pérdidas"},tr:{returnToMenu:"Menüye dön",gamingLimitsText:"Oyun sınırları",depositLimit:"Para Yatırma Limiti",timeLimit:"Zaman sınırı",wageringLimit:"Bahis Limiti",lossLimit:"Kayıp Limiti"},"en-us":{returnToMenu:"Return to menu",gamingLimitsText:"Gaming limits",depositLimit:"Deposit Limit",timeLimit:"Time Limit",wageringLimit:"Wagering Limit",lossLimit:"Loss Limit"}};if(typeof window!="undefined"){let i=function(t){return function(...a){try{return t.apply(this,a)}catch(m){if(m instanceof DOMException&&m.message.includes("has already been used with this registry")||m.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw m}}};customElements.define=i(customElements.define),Promise.resolve().then(()=>require("./PlayerAccountGamingLimitsInfoCard-DBbFlq2N.cjs")).then(({default:t})=>{!customElements.get("player-account-gaming-limits-info-card")&&customElements.define("player-account-gaming-limits-info-card",t.element)})}function F(i){e.append_styles(i,"svelte-pgwzq8",'.PlayerAccountGamingLimitsWrapper{color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));padding:50px;max-width:760px}.PlayerAccountGamingLimitsWrapper .PlayerAccountGamingLimitsHeader h3{font-size:24px;font-weight:400;text-transform:capitalize}.PlayerAccountGamingLimitsWrapper .PlayerAccountGamingLimitsHeader .PlayerAccountGamingLimitsMobileTitle{font-size:16px;font-weight:400}.PlayerGamingLimitsTitle{font-size:26px;color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));font-weight:400}.PlayerGamingLimitsTitleMobile{font-size:16px;color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.PlayerGamingLimitsTitleNone{display:none}.MenuReturnButton{color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));display:inline-flex;align-items:center;column-gap:10px;margin-bottom:10px}.MenuReturnButton svg{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.PlayerAccountMobileGamingLimitsWrapper{padding:20px 15px;background:var(--emw--color-white, #FFFFFF);max-width:unset}.PlayerAccountGamingLimitsContainer{width:100%;display:grid;grid-template-columns:repeat(auto-fill, minmax(300px, 1fr));row-gap:30px;column-gap:30px}.PlayerAccountSuccessfulRemoveContainer{background:var(--emw--color-primary-50, #FBECF4);border:1px solid var(--emw--color-primary-100, #F1BED9);font-size:16px;font-weight:300;color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));border-radius:5px;padding:10px;margin-bottom:20px}.PlayerAccountSuccessfulRemoveContainer p{margin:0}.ModalLoader{position:absolute;left:0;right:0;top:50%;width:300px;height:300px;margin:0 auto;display:flex;align-items:center;justify-content:center}.ModalLoader:after{content:" ";display:block;width:64px;height:64px;margin:8px;border-radius:50%;border:5px solid var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));border-color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E)) transparent var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E)) transparent;animation:Loader 1.2s linear infinite}@keyframes Loader{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}')}function W(i){let t;return{c(){t=e.element("player-account-gaming-limits-group-edit"),e.set_custom_element_data(t,"limitsdata",i[14]),e.set_custom_element_data(t,"limitname",i[15]),e.set_custom_element_data(t,"showsuccessnotification",i[7]),e.set_custom_element_data(t,"showdeletenotification",i[6]),e.set_custom_element_data(t,"currency",i[5]),e.set_custom_element_data(t,"lang",i[0]),e.set_custom_element_data(t,"separatelimits",i[8]),e.set_custom_element_data(t,"clientstyling",i[9]),e.set_custom_element_data(t,"clientstylingurl",i[10]),e.set_custom_element_data(t,"mbsource",i[11])},m(a,m){e.insert(a,t,m)},p(a,m){m&16384&&e.set_custom_element_data(t,"limitsdata",a[14]),m&32768&&e.set_custom_element_data(t,"limitname",a[15]),m&128&&e.set_custom_element_data(t,"showsuccessnotification",a[7]),m&64&&e.set_custom_element_data(t,"showdeletenotification",a[6]),m&32&&e.set_custom_element_data(t,"currency",a[5]),m&1&&e.set_custom_element_data(t,"lang",a[0]),m&256&&e.set_custom_element_data(t,"separatelimits",a[8]),m&512&&e.set_custom_element_data(t,"clientstyling",a[9]),m&1024&&e.set_custom_element_data(t,"clientstylingurl",a[10]),m&2048&&e.set_custom_element_data(t,"mbsource",a[11])},d(a){a&&e.detach(t)}}}function V(i){let t,a,m,c=i[17]("gamingLimitsText")+"",g,p,d,r,w,o,L,_,y,u,f=i[18]&&q(i);return{c(){t=e.element("div"),f&&f.c(),a=e.space(),m=e.element("h2"),g=e.text(c),p=e.space(),d=e.element("div"),r=e.element("player-account-gaming-limits-info-card"),w=e.space(),o=e.element("player-account-gaming-limits-info-card"),L=e.space(),_=e.element("player-account-gaming-limits-info-card"),y=e.space(),u=e.element("player-account-gaming-limits-info-card"),e.attr(m,"class","PlayerGamingLimitsTitle "+(i[18]?"PlayerGamingLimitsTitleNone":"")),e.set_custom_element_data(r,"limitsdata",i[1]),e.set_custom_element_data(r,"limitname",Z),e.set_custom_element_data(r,"currency",i[5]),e.set_custom_element_data(r,"lang",i[0]),e.set_custom_element_data(r,"clientstyling",i[9]),e.set_custom_element_data(r,"clientstylingurl",i[10]),e.set_custom_element_data(r,"mbsource",i[11]),e.set_custom_element_data(o,"limitsdata",i[2]),e.set_custom_element_data(o,"limitname",I),e.set_custom_element_data(o,"currency",i[5]),e.set_custom_element_data(o,"lang",i[0]),e.set_custom_element_data(o,"clientstyling",i[9]),e.set_custom_element_data(o,"clientstylingurl",i[10]),e.set_custom_element_data(o,"mbsource",i[11]),e.set_custom_element_data(_,"limitsdata",i[3]),e.set_custom_element_data(_,"limitname",K),e.set_custom_element_data(_,"currency",i[5]),e.set_custom_element_data(_,"lang",i[0]),e.set_custom_element_data(_,"clientstyling",i[9]),e.set_custom_element_data(_,"clientstylingurl",i[10]),e.set_custom_element_data(_,"mbsource",i[11]),e.set_custom_element_data(u,"limitsdata",i[4]),e.set_custom_element_data(u,"limitname",Y),e.set_custom_element_data(u,"currency",i[5]),e.set_custom_element_data(u,"lang",i[0]),e.set_custom_element_data(u,"clientstyling",i[9]),e.set_custom_element_data(u,"clientstylingurl",i[10]),e.set_custom_element_data(u,"mbsource",i[11]),e.attr(d,"class","PlayerAccountGamingLimitsContainer"),e.attr(t,"class","PlayerAccountGamingLimitsWrapper "+(i[18]?"PlayerAccountMobileGamingLimitsWrapper":""))},m(s,l){e.insert(s,t,l),f&&f.m(t,null),e.append(t,a),e.append(t,m),e.append(m,g),e.append(t,p),e.append(t,d),e.append(d,r),e.append(d,w),e.append(d,o),e.append(d,L),e.append(d,_),e.append(d,y),e.append(d,u)},p(s,l){s[18]&&f.p(s,l),l&131072&&c!==(c=s[17]("gamingLimitsText")+"")&&e.set_data(g,c),l&2&&e.set_custom_element_data(r,"limitsdata",s[1]),l&32&&e.set_custom_element_data(r,"currency",s[5]),l&1&&e.set_custom_element_data(r,"lang",s[0]),l&512&&e.set_custom_element_data(r,"clientstyling",s[9]),l&1024&&e.set_custom_element_data(r,"clientstylingurl",s[10]),l&2048&&e.set_custom_element_data(r,"mbsource",s[11]),l&4&&e.set_custom_element_data(o,"limitsdata",s[2]),l&32&&e.set_custom_element_data(o,"currency",s[5]),l&1&&e.set_custom_element_data(o,"lang",s[0]),l&512&&e.set_custom_element_data(o,"clientstyling",s[9]),l&1024&&e.set_custom_element_data(o,"clientstylingurl",s[10]),l&2048&&e.set_custom_element_data(o,"mbsource",s[11]),l&8&&e.set_custom_element_data(_,"limitsdata",s[3]),l&32&&e.set_custom_element_data(_,"currency",s[5]),l&1&&e.set_custom_element_data(_,"lang",s[0]),l&512&&e.set_custom_element_data(_,"clientstyling",s[9]),l&1024&&e.set_custom_element_data(_,"clientstylingurl",s[10]),l&2048&&e.set_custom_element_data(_,"mbsource",s[11]),l&16&&e.set_custom_element_data(u,"limitsdata",s[4]),l&32&&e.set_custom_element_data(u,"currency",s[5]),l&1&&e.set_custom_element_data(u,"lang",s[0]),l&512&&e.set_custom_element_data(u,"clientstyling",s[9]),l&1024&&e.set_custom_element_data(u,"clientstylingurl",s[10]),l&2048&&e.set_custom_element_data(u,"mbsource",s[11])},d(s){s&&e.detach(t),f&&f.d()}}}function H(i){let t;return{c(){t=e.element("div"),e.attr(t,"class","ModalLoader")},m(a,m){e.insert(a,t,m)},p:e.noop,d(a){a&&e.detach(t)}}}function q(i){let t,a,m,c,g,p,d,r,w,o,L=i[17]("gamingLimitsText")+"",_,y,u;return{c(){t=e.element("div"),a=e.svg_element("svg"),m=e.svg_element("defs"),c=e.svg_element("style"),g=e.text(".aaa{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));}"),p=e.svg_element("g"),d=e.svg_element("g"),r=e.svg_element("path"),w=e.space(),o=e.element("h2"),_=e.text(L),e.attr(r,"class","aaa"),e.attr(r,"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(r,"transform","translate(15 15) rotate(180)"),e.attr(d,"transform","translate(20 158)"),e.attr(p,"transform","translate(-20 -158)"),e.attr(a,"xmlns","http://www.w3.org/2000/svg"),e.attr(a,"width","15"),e.attr(a,"height","15"),e.attr(a,"viewBox","0 0 15 15"),e.attr(o,"class","PlayerGamingLimitsTitleMobile"),e.attr(t,"class","MenuReturnButton")},m(f,s){e.insert(f,t,s),e.append(t,a),e.append(a,m),e.append(m,c),e.append(c,g),e.append(a,p),e.append(p,d),e.append(d,r),e.append(t,w),e.append(t,o),e.append(o,_),y||(u=e.listen(t,"click",i[21]),y=!0)},p(f,s){s&131072&&L!==(L=f[17]("gamingLimitsText")+"")&&e.set_data(_,L)},d(f){f&&e.detach(t),y=!1,u()}}}function U(i){let t;function a(g,p){return g[13]?H:g[16]?V:W}let m=a(i),c=m(i);return{c(){t=e.element("div"),c.c()},m(g,p){e.insert(g,t,p),c.m(t,null),i[22](t)},p(g,[p]){m===(m=a(g))&&c?c.p(g,p):(c.d(1),c=m(g),c&&(c.c(),c.m(t,null)))},i:e.noop,o:e.noop,d(g){g&&e.detach(t),c.d(),i[22](null)}}}let Z="Deposit Limit",I="Wagering Limit",K="Loss Limit",Y="Time Limit";function J(i,t,a){let m;e.component_subscribe(i,e.$format,n=>a(17,m=n));let{depositlimit:c}=t,{wageringlimit:g}=t,{losslimit:p}=t,{timelimit:d}=t,{showdeletenotification:r=!1}=t,{showsuccessnotification:w=!1}=t,{lang:o="en"}=t,{currency:L=""}=t,{separatelimits:_="true"}=t,{clientstyling:y=""}=t,{clientstylingurl:u=""}=t,{mbsource:f}=t,{translationurl:s=""}=t;const l=()=>{fetch(s).then(b=>b.json()).then(b=>{Object.keys(b).forEach(G=>{B(G,b[G])})}).catch(b=>{console.log(b)})};Object.keys(j).forEach(n=>{B(n,j[n])});let h,D,v=!0,C=window.navigator.userAgent,P=e.getDevice(C)!=="PC",k,T="",M=!0;window.matchMedia("(min-width: 768px)");const A=()=>{window.postMessage({type:"PlayerAccountMenuActive",isMobile:P},window.location.href)},R=()=>{z(o)},E=n=>{if(n.data)switch(n.data.type){case"PlayerLimitsData":a(0,o=n.data.limits.lang),a(1,c=n.data.limits.depositlimit),a(2,g=n.data.limits.wageringlimit),a(3,p=n.data.limits.losslimit),a(4,d=n.data.limits.timelimit),a(13,v=!1);break;case"EditPlayerAccountGamingLimits":a(14,k=n.data.edit),a(15,T=n.data.name),a(16,M=!1),window.postMessage({type:"EditPlayerLimit",name:T},window.location.href),window.postMessage({type:"ScrollToTop"},window.location.href);break;case"PlayerAccountBackToLimitsView":a(16,M=!0);break;case"ProfileDetailsData":let b=n.data.profileDetails;a(5,L=b.currency);break}};e.onMount(()=>(window.addEventListener("message",E,!1),()=>{window.removeEventListener("message",E)}));const N=()=>A();function O(n){e.binding_callbacks[n?"unshift":"push"](()=>{h=n,a(12,h)})}return i.$$set=n=>{"depositlimit"in n&&a(1,c=n.depositlimit),"wageringlimit"in n&&a(2,g=n.wageringlimit),"losslimit"in n&&a(3,p=n.losslimit),"timelimit"in n&&a(4,d=n.timelimit),"showdeletenotification"in n&&a(6,r=n.showdeletenotification),"showsuccessnotification"in n&&a(7,w=n.showsuccessnotification),"lang"in n&&a(0,o=n.lang),"currency"in n&&a(5,L=n.currency),"separatelimits"in n&&a(8,_=n.separatelimits),"clientstyling"in n&&a(9,y=n.clientstyling),"clientstylingurl"in n&&a(10,u=n.clientstylingurl),"mbsource"in n&&a(11,f=n.mbsource),"translationurl"in n&&a(20,s=n.translationurl)},i.$$.update=()=>{i.$$.dirty&1&&o&&R(),i.$$.dirty&4608&&y&&h&&e.setClientStyling(h,y),i.$$.dirty&5120&&u&&h&&e.setClientStylingURL(h,u),i.$$.dirty&6144&&f&&h&&e.setStreamStyling(h,`${f}.Style`,D),i.$$.dirty&1048576&&s&&l()},[o,c,g,p,d,L,r,w,_,y,u,f,h,v,k,T,M,m,P,A,s,N,O]}class S extends e.SvelteComponent{constructor(t){super(),e.init(this,t,J,U,e.safe_not_equal,{depositlimit:1,wageringlimit:2,losslimit:3,timelimit:4,showdeletenotification:6,showsuccessnotification:7,lang:0,currency:5,separatelimits:8,clientstyling:9,clientstylingurl:10,mbsource:11,translationurl:20},F)}get depositlimit(){return this.$$.ctx[1]}set depositlimit(t){this.$$set({depositlimit:t}),e.flush()}get wageringlimit(){return this.$$.ctx[2]}set wageringlimit(t){this.$$set({wageringlimit:t}),e.flush()}get losslimit(){return this.$$.ctx[3]}set losslimit(t){this.$$set({losslimit:t}),e.flush()}get timelimit(){return this.$$.ctx[4]}set timelimit(t){this.$$set({timelimit:t}),e.flush()}get showdeletenotification(){return this.$$.ctx[6]}set showdeletenotification(t){this.$$set({showdeletenotification:t}),e.flush()}get showsuccessnotification(){return this.$$.ctx[7]}set showsuccessnotification(t){this.$$set({showsuccessnotification:t}),e.flush()}get lang(){return this.$$.ctx[0]}set lang(t){this.$$set({lang:t}),e.flush()}get currency(){return this.$$.ctx[5]}set currency(t){this.$$set({currency:t}),e.flush()}get separatelimits(){return this.$$.ctx[8]}set separatelimits(t){this.$$set({separatelimits:t}),e.flush()}get clientstyling(){return this.$$.ctx[9]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[10]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get mbsource(){return this.$$.ctx[11]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}get translationurl(){return this.$$.ctx[20]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}}e.create_custom_element(S,{depositlimit:{},wageringlimit:{},losslimit:{},timelimit:{},showdeletenotification:{type:"Boolean"},showsuccessnotification:{type:"Boolean"},lang:{},currency:{},separatelimits:{},clientstyling:{},clientstylingurl:{},mbsource:{},translationurl:{}},[],[],!0);exports.default=S;
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./PlayerAccountController-BBk-9TOg.cjs");function B(i,t){e.addMessages(i,t)}function z(i){e.$locale.set(i)}const j={en:{returnToMenu:"Return to menu",gamingLimitsText:"Gaming limits",depositLimit:"Deposit Limit",timeLimit:"Time Limit",wageringLimit:"Wagering Limit",lossLimit:"Loss Limit"},"zh-hk":{returnToMenu:"返回菜單",gamingLimitsText:"遊戲限制",depositLimit:"存款限額",timeLimit:"時限t",wageringLimit:"投注限額",lossLimit:"損失限額"},fr:{returnToMenu:"Retour au menu",gamingLimitsText:"Limites de jeu",depositLimit:"Limite de dépôt",timeLimit:"Limite de temps",wageringLimit:"Limite de mise",lossLimit:"Limite de perte"},ro:{returnToMenu:"Înapoi la meniu",gamingLimitsText:"Limite de joc",depositLimit:"Limită de depunere",timeLimit:"Limită de timp",wageringLimit:"Limită de pariere",lossLimit:"Limită de pierdere"},es:{returnToMenu:"Regresar al menu",gamingLimitsText:"Límites de juego",depositLimit:"Límite de depósito",timeLimit:"Límite de tiempo",wageringLimit:"Límite de apuestas",lossLimit:"Límite de pérdida"},pt:{returnToMenu:"Voltar ao Menu",gamingLimitsText:"Limites de jogos",depositLimit:"Limite de Depósito",timeLimit:"Limite de tempo",wageringLimit:"Limite de apostas",lossLimit:"Limite de Perda"},hr:{returnToMenu:"Povratak na izbornik",gamingLimitsText:"Ograničenja igranja",depositLimit:"Ograničenje uplate",timeLimit:"Vremensko ograničenje",wageringLimit:"Ograničenje igranja",lossLimit:"Ograničenje gubitka"},"pt-br":{returnToMenu:"Voltar ao cardápio",gamingLimitsText:"Limites do jogo",depositLimit:"Limites de depósito",timeLimit:"Limite de tempo",wageringLimit:"Limite de aposta",lossLimit:"Limite de perda"},"es-mx":{returnToMenu:"Regresar al menú",gamingLimitsText:"Límites de juego",depositLimit:"Límites de depósito",timeLimit:"Límite de tiempo",wageringLimit:"Límite de apuesta",lossLimit:"Límite de pérdidas"},tr:{returnToMenu:"Menüye dön",gamingLimitsText:"Oyun sınırları",depositLimit:"Para Yatırma Limiti",timeLimit:"Zaman sınırı",wageringLimit:"Bahis Limiti",lossLimit:"Kayıp Limiti"},"en-us":{returnToMenu:"Return to menu",gamingLimitsText:"Gaming limits",depositLimit:"Deposit Limit",timeLimit:"Time Limit",wageringLimit:"Wagering Limit",lossLimit:"Loss Limit"}};if(typeof window!="undefined"){let i=function(t){return function(...a){try{return t.apply(this,a)}catch(m){if(m instanceof DOMException&&m.message.includes("has already been used with this registry")||m.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw m}}};customElements.define=i(customElements.define),Promise.resolve().then(()=>require("./PlayerAccountGamingLimitsInfoCard-C-DFY5Ok.cjs")).then(({default:t})=>{!customElements.get("player-account-gaming-limits-info-card")&&customElements.define("player-account-gaming-limits-info-card",t.element)})}function F(i){e.append_styles(i,"svelte-pgwzq8",'.PlayerAccountGamingLimitsWrapper{color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));padding:50px;max-width:760px}.PlayerAccountGamingLimitsWrapper .PlayerAccountGamingLimitsHeader h3{font-size:24px;font-weight:400;text-transform:capitalize}.PlayerAccountGamingLimitsWrapper .PlayerAccountGamingLimitsHeader .PlayerAccountGamingLimitsMobileTitle{font-size:16px;font-weight:400}.PlayerGamingLimitsTitle{font-size:26px;color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));font-weight:400}.PlayerGamingLimitsTitleMobile{font-size:16px;color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.PlayerGamingLimitsTitleNone{display:none}.MenuReturnButton{color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));display:inline-flex;align-items:center;column-gap:10px;margin-bottom:10px}.MenuReturnButton svg{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.PlayerAccountMobileGamingLimitsWrapper{padding:20px 15px;background:var(--emw--color-white, #FFFFFF);max-width:unset}.PlayerAccountGamingLimitsContainer{width:100%;display:grid;grid-template-columns:repeat(auto-fill, minmax(300px, 1fr));row-gap:30px;column-gap:30px}.PlayerAccountSuccessfulRemoveContainer{background:var(--emw--color-primary-50, #FBECF4);border:1px solid var(--emw--color-primary-100, #F1BED9);font-size:16px;font-weight:300;color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));border-radius:5px;padding:10px;margin-bottom:20px}.PlayerAccountSuccessfulRemoveContainer p{margin:0}.ModalLoader{position:absolute;left:0;right:0;top:50%;width:300px;height:300px;margin:0 auto;display:flex;align-items:center;justify-content:center}.ModalLoader:after{content:" ";display:block;width:64px;height:64px;margin:8px;border-radius:50%;border:5px solid var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));border-color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E)) transparent var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E)) transparent;animation:Loader 1.2s linear infinite}@keyframes Loader{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}')}function W(i){let t;return{c(){t=e.element("player-account-gaming-limits-group-edit"),e.set_custom_element_data(t,"limitsdata",i[14]),e.set_custom_element_data(t,"limitname",i[15]),e.set_custom_element_data(t,"showsuccessnotification",i[7]),e.set_custom_element_data(t,"showdeletenotification",i[6]),e.set_custom_element_data(t,"currency",i[5]),e.set_custom_element_data(t,"lang",i[0]),e.set_custom_element_data(t,"separatelimits",i[8]),e.set_custom_element_data(t,"clientstyling",i[9]),e.set_custom_element_data(t,"clientstylingurl",i[10]),e.set_custom_element_data(t,"mbsource",i[11])},m(a,m){e.insert(a,t,m)},p(a,m){m&16384&&e.set_custom_element_data(t,"limitsdata",a[14]),m&32768&&e.set_custom_element_data(t,"limitname",a[15]),m&128&&e.set_custom_element_data(t,"showsuccessnotification",a[7]),m&64&&e.set_custom_element_data(t,"showdeletenotification",a[6]),m&32&&e.set_custom_element_data(t,"currency",a[5]),m&1&&e.set_custom_element_data(t,"lang",a[0]),m&256&&e.set_custom_element_data(t,"separatelimits",a[8]),m&512&&e.set_custom_element_data(t,"clientstyling",a[9]),m&1024&&e.set_custom_element_data(t,"clientstylingurl",a[10]),m&2048&&e.set_custom_element_data(t,"mbsource",a[11])},d(a){a&&e.detach(t)}}}function V(i){let t,a,m,c=i[17]("gamingLimitsText")+"",g,p,d,r,w,o,L,_,y,u,f=i[18]&&q(i);return{c(){t=e.element("div"),f&&f.c(),a=e.space(),m=e.element("h2"),g=e.text(c),p=e.space(),d=e.element("div"),r=e.element("player-account-gaming-limits-info-card"),w=e.space(),o=e.element("player-account-gaming-limits-info-card"),L=e.space(),_=e.element("player-account-gaming-limits-info-card"),y=e.space(),u=e.element("player-account-gaming-limits-info-card"),e.attr(m,"class","PlayerGamingLimitsTitle "+(i[18]?"PlayerGamingLimitsTitleNone":"")),e.set_custom_element_data(r,"limitsdata",i[1]),e.set_custom_element_data(r,"limitname",Z),e.set_custom_element_data(r,"currency",i[5]),e.set_custom_element_data(r,"lang",i[0]),e.set_custom_element_data(r,"clientstyling",i[9]),e.set_custom_element_data(r,"clientstylingurl",i[10]),e.set_custom_element_data(r,"mbsource",i[11]),e.set_custom_element_data(o,"limitsdata",i[2]),e.set_custom_element_data(o,"limitname",I),e.set_custom_element_data(o,"currency",i[5]),e.set_custom_element_data(o,"lang",i[0]),e.set_custom_element_data(o,"clientstyling",i[9]),e.set_custom_element_data(o,"clientstylingurl",i[10]),e.set_custom_element_data(o,"mbsource",i[11]),e.set_custom_element_data(_,"limitsdata",i[3]),e.set_custom_element_data(_,"limitname",K),e.set_custom_element_data(_,"currency",i[5]),e.set_custom_element_data(_,"lang",i[0]),e.set_custom_element_data(_,"clientstyling",i[9]),e.set_custom_element_data(_,"clientstylingurl",i[10]),e.set_custom_element_data(_,"mbsource",i[11]),e.set_custom_element_data(u,"limitsdata",i[4]),e.set_custom_element_data(u,"limitname",Y),e.set_custom_element_data(u,"currency",i[5]),e.set_custom_element_data(u,"lang",i[0]),e.set_custom_element_data(u,"clientstyling",i[9]),e.set_custom_element_data(u,"clientstylingurl",i[10]),e.set_custom_element_data(u,"mbsource",i[11]),e.attr(d,"class","PlayerAccountGamingLimitsContainer"),e.attr(t,"class","PlayerAccountGamingLimitsWrapper "+(i[18]?"PlayerAccountMobileGamingLimitsWrapper":""))},m(s,l){e.insert(s,t,l),f&&f.m(t,null),e.append(t,a),e.append(t,m),e.append(m,g),e.append(t,p),e.append(t,d),e.append(d,r),e.append(d,w),e.append(d,o),e.append(d,L),e.append(d,_),e.append(d,y),e.append(d,u)},p(s,l){s[18]&&f.p(s,l),l&131072&&c!==(c=s[17]("gamingLimitsText")+"")&&e.set_data(g,c),l&2&&e.set_custom_element_data(r,"limitsdata",s[1]),l&32&&e.set_custom_element_data(r,"currency",s[5]),l&1&&e.set_custom_element_data(r,"lang",s[0]),l&512&&e.set_custom_element_data(r,"clientstyling",s[9]),l&1024&&e.set_custom_element_data(r,"clientstylingurl",s[10]),l&2048&&e.set_custom_element_data(r,"mbsource",s[11]),l&4&&e.set_custom_element_data(o,"limitsdata",s[2]),l&32&&e.set_custom_element_data(o,"currency",s[5]),l&1&&e.set_custom_element_data(o,"lang",s[0]),l&512&&e.set_custom_element_data(o,"clientstyling",s[9]),l&1024&&e.set_custom_element_data(o,"clientstylingurl",s[10]),l&2048&&e.set_custom_element_data(o,"mbsource",s[11]),l&8&&e.set_custom_element_data(_,"limitsdata",s[3]),l&32&&e.set_custom_element_data(_,"currency",s[5]),l&1&&e.set_custom_element_data(_,"lang",s[0]),l&512&&e.set_custom_element_data(_,"clientstyling",s[9]),l&1024&&e.set_custom_element_data(_,"clientstylingurl",s[10]),l&2048&&e.set_custom_element_data(_,"mbsource",s[11]),l&16&&e.set_custom_element_data(u,"limitsdata",s[4]),l&32&&e.set_custom_element_data(u,"currency",s[5]),l&1&&e.set_custom_element_data(u,"lang",s[0]),l&512&&e.set_custom_element_data(u,"clientstyling",s[9]),l&1024&&e.set_custom_element_data(u,"clientstylingurl",s[10]),l&2048&&e.set_custom_element_data(u,"mbsource",s[11])},d(s){s&&e.detach(t),f&&f.d()}}}function H(i){let t;return{c(){t=e.element("div"),e.attr(t,"class","ModalLoader")},m(a,m){e.insert(a,t,m)},p:e.noop,d(a){a&&e.detach(t)}}}function q(i){let t,a,m,c,g,p,d,r,w,o,L=i[17]("gamingLimitsText")+"",_,y,u;return{c(){t=e.element("div"),a=e.svg_element("svg"),m=e.svg_element("defs"),c=e.svg_element("style"),g=e.text(".aaa{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));}"),p=e.svg_element("g"),d=e.svg_element("g"),r=e.svg_element("path"),w=e.space(),o=e.element("h2"),_=e.text(L),e.attr(r,"class","aaa"),e.attr(r,"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(r,"transform","translate(15 15) rotate(180)"),e.attr(d,"transform","translate(20 158)"),e.attr(p,"transform","translate(-20 -158)"),e.attr(a,"xmlns","http://www.w3.org/2000/svg"),e.attr(a,"width","15"),e.attr(a,"height","15"),e.attr(a,"viewBox","0 0 15 15"),e.attr(o,"class","PlayerGamingLimitsTitleMobile"),e.attr(t,"class","MenuReturnButton")},m(f,s){e.insert(f,t,s),e.append(t,a),e.append(a,m),e.append(m,c),e.append(c,g),e.append(a,p),e.append(p,d),e.append(d,r),e.append(t,w),e.append(t,o),e.append(o,_),y||(u=e.listen(t,"click",i[21]),y=!0)},p(f,s){s&131072&&L!==(L=f[17]("gamingLimitsText")+"")&&e.set_data(_,L)},d(f){f&&e.detach(t),y=!1,u()}}}function U(i){let t;function a(g,p){return g[13]?H:g[16]?V:W}let m=a(i),c=m(i);return{c(){t=e.element("div"),c.c()},m(g,p){e.insert(g,t,p),c.m(t,null),i[22](t)},p(g,[p]){m===(m=a(g))&&c?c.p(g,p):(c.d(1),c=m(g),c&&(c.c(),c.m(t,null)))},i:e.noop,o:e.noop,d(g){g&&e.detach(t),c.d(),i[22](null)}}}let Z="Deposit Limit",I="Wagering Limit",K="Loss Limit",Y="Time Limit";function J(i,t,a){let m;e.component_subscribe(i,e.$format,n=>a(17,m=n));let{depositlimit:c}=t,{wageringlimit:g}=t,{losslimit:p}=t,{timelimit:d}=t,{showdeletenotification:r=!1}=t,{showsuccessnotification:w=!1}=t,{lang:o="en"}=t,{currency:L=""}=t,{separatelimits:_="true"}=t,{clientstyling:y=""}=t,{clientstylingurl:u=""}=t,{mbsource:f}=t,{translationurl:s=""}=t;const l=()=>{fetch(s).then(b=>b.json()).then(b=>{Object.keys(b).forEach(G=>{B(G,b[G])})}).catch(b=>{console.log(b)})};Object.keys(j).forEach(n=>{B(n,j[n])});let h,D,v=!0,C=window.navigator.userAgent,P=e.getDevice(C)!=="PC",k,T="",M=!0;window.matchMedia("(min-width: 768px)");const A=()=>{window.postMessage({type:"PlayerAccountMenuActive",isMobile:P},window.location.href)},R=()=>{z(o)},E=n=>{if(n.data)switch(n.data.type){case"PlayerLimitsData":a(0,o=n.data.limits.lang),a(1,c=n.data.limits.depositlimit),a(2,g=n.data.limits.wageringlimit),a(3,p=n.data.limits.losslimit),a(4,d=n.data.limits.timelimit),a(13,v=!1);break;case"EditPlayerAccountGamingLimits":a(14,k=n.data.edit),a(15,T=n.data.name),a(16,M=!1),window.postMessage({type:"EditPlayerLimit",name:T},window.location.href),window.postMessage({type:"ScrollToTop"},window.location.href);break;case"PlayerAccountBackToLimitsView":a(16,M=!0);break;case"ProfileDetailsData":let b=n.data.profileDetails;a(5,L=b.currency);break}};e.onMount(()=>(window.addEventListener("message",E,!1),()=>{window.removeEventListener("message",E)}));const N=()=>A();function O(n){e.binding_callbacks[n?"unshift":"push"](()=>{h=n,a(12,h)})}return i.$$set=n=>{"depositlimit"in n&&a(1,c=n.depositlimit),"wageringlimit"in n&&a(2,g=n.wageringlimit),"losslimit"in n&&a(3,p=n.losslimit),"timelimit"in n&&a(4,d=n.timelimit),"showdeletenotification"in n&&a(6,r=n.showdeletenotification),"showsuccessnotification"in n&&a(7,w=n.showsuccessnotification),"lang"in n&&a(0,o=n.lang),"currency"in n&&a(5,L=n.currency),"separatelimits"in n&&a(8,_=n.separatelimits),"clientstyling"in n&&a(9,y=n.clientstyling),"clientstylingurl"in n&&a(10,u=n.clientstylingurl),"mbsource"in n&&a(11,f=n.mbsource),"translationurl"in n&&a(20,s=n.translationurl)},i.$$.update=()=>{i.$$.dirty&1&&o&&R(),i.$$.dirty&4608&&y&&h&&e.setClientStyling(h,y),i.$$.dirty&5120&&u&&h&&e.setClientStylingURL(h,u),i.$$.dirty&6144&&f&&h&&e.setStreamStyling(h,`${f}.Style`,D),i.$$.dirty&1048576&&s&&l()},[o,c,g,p,d,L,r,w,_,y,u,f,h,v,k,T,M,m,P,A,s,N,O]}class S extends e.SvelteComponent{constructor(t){super(),e.init(this,t,J,U,e.safe_not_equal,{depositlimit:1,wageringlimit:2,losslimit:3,timelimit:4,showdeletenotification:6,showsuccessnotification:7,lang:0,currency:5,separatelimits:8,clientstyling:9,clientstylingurl:10,mbsource:11,translationurl:20},F)}get depositlimit(){return this.$$.ctx[1]}set depositlimit(t){this.$$set({depositlimit:t}),e.flush()}get wageringlimit(){return this.$$.ctx[2]}set wageringlimit(t){this.$$set({wageringlimit:t}),e.flush()}get losslimit(){return this.$$.ctx[3]}set losslimit(t){this.$$set({losslimit:t}),e.flush()}get timelimit(){return this.$$.ctx[4]}set timelimit(t){this.$$set({timelimit:t}),e.flush()}get showdeletenotification(){return this.$$.ctx[6]}set showdeletenotification(t){this.$$set({showdeletenotification:t}),e.flush()}get showsuccessnotification(){return this.$$.ctx[7]}set showsuccessnotification(t){this.$$set({showsuccessnotification:t}),e.flush()}get lang(){return this.$$.ctx[0]}set lang(t){this.$$set({lang:t}),e.flush()}get currency(){return this.$$.ctx[5]}set currency(t){this.$$set({currency:t}),e.flush()}get separatelimits(){return this.$$.ctx[8]}set separatelimits(t){this.$$set({separatelimits:t}),e.flush()}get clientstyling(){return this.$$.ctx[9]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[10]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get mbsource(){return this.$$.ctx[11]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}get translationurl(){return this.$$.ctx[20]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}}e.create_custom_element(S,{depositlimit:{},wageringlimit:{},losslimit:{},timelimit:{},showdeletenotification:{type:"Boolean"},showsuccessnotification:{type:"Boolean"},lang:{},currency:{},separatelimits:{},clientstyling:{},clientstylingurl:{},mbsource:{},translationurl:{}},[],[],!0);exports.default=S;
|
package/components/{PlayerAccountGamingLimits-C3wWWcGH.js → PlayerAccountGamingLimits-CxpBIVY6.js}
RENAMED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
function
|
|
3
|
-
|
|
1
|
+
import { a as Y, $ as J, S as Q, i as X, s as x, f as h, b as $, n as D, d as E, c as G, e as _, g as ii, h as ei, o as ti, j as ni, r as w, t as H, q as e, m as f, p as A, u as S, w as ai, x as k, z as si, A as li, B as ri, C as mi, D as oi } from "./PlayerAccountController-CO8cZYgr.js";
|
|
2
|
+
function W(t, i) {
|
|
3
|
+
Y(t, i);
|
|
4
4
|
}
|
|
5
5
|
function ci(t) {
|
|
6
|
-
|
|
6
|
+
J.set(t);
|
|
7
7
|
}
|
|
8
8
|
const V = {
|
|
9
9
|
en: {
|
|
@@ -107,7 +107,7 @@ if (typeof window != "undefined") {
|
|
|
107
107
|
}
|
|
108
108
|
};
|
|
109
109
|
};
|
|
110
|
-
customElements.define = t(customElements.define), import("./PlayerAccountGamingLimitsInfoCard-
|
|
110
|
+
customElements.define = t(customElements.define), import("./PlayerAccountGamingLimitsInfoCard-g7I5qkLj.js").then(({ default: i }) => {
|
|
111
111
|
!customElements.get("player-account-gaming-limits-info-card") && customElements.define(
|
|
112
112
|
"player-account-gaming-limits-info-card",
|
|
113
113
|
i.element
|
|
@@ -558,7 +558,7 @@ function Li(t) {
|
|
|
558
558
|
), u, T, g;
|
|
559
559
|
return {
|
|
560
560
|
c() {
|
|
561
|
-
i = _("div"), n =
|
|
561
|
+
i = _("div"), n = k("svg"), l = k("defs"), c = k("style"), d = S(".aaa{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));}"), y = k("g"), L = k("g"), o = k("path"), P = A(), m = _("h2"), u = S(b), w(o, "class", "aaa"), w(o, "d", "M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"), w(o, "transform", "translate(15 15) rotate(180)"), w(L, "transform", "translate(20 158)"), w(y, "transform", "translate(-20 -158)"), w(n, "xmlns", "http://www.w3.org/2000/svg"), w(n, "width", "15"), w(n, "height", "15"), w(n, "viewBox", "0 0 15 15"), w(m, "class", "PlayerGamingLimitsTitleMobile"), w(i, "class", "MenuReturnButton");
|
|
562
562
|
},
|
|
563
563
|
m(p, s) {
|
|
564
564
|
G(p, i, s), f(i, n), f(n, l), f(l, c), f(c, d), f(n, y), f(y, L), f(L, o), f(i, P), f(i, m), f(m, u), T || (g = ai(
|
|
@@ -613,37 +613,37 @@ function bi(t, i, n) {
|
|
|
613
613
|
ii(t, oi, (a) => n(17, l = a));
|
|
614
614
|
let { depositlimit: c } = i, { wageringlimit: d } = i, { losslimit: y } = i, { timelimit: L } = i, { showdeletenotification: o = !1 } = i, { showsuccessnotification: P = !1 } = i, { lang: m = "en" } = i, { currency: b = "" } = i, { separatelimits: u = "true" } = i, { clientstyling: T = "" } = i, { clientstylingurl: g = "" } = i, { mbsource: p } = i, { translationurl: s = "" } = i;
|
|
615
615
|
const r = () => {
|
|
616
|
-
fetch(s).then((
|
|
617
|
-
Object.keys(
|
|
618
|
-
O
|
|
616
|
+
fetch(s).then((v) => v.json()).then((v) => {
|
|
617
|
+
Object.keys(v).forEach((O) => {
|
|
618
|
+
W(O, v[O]);
|
|
619
619
|
});
|
|
620
|
-
}).catch((
|
|
621
|
-
console.log(
|
|
620
|
+
}).catch((v) => {
|
|
621
|
+
console.log(v);
|
|
622
622
|
});
|
|
623
623
|
};
|
|
624
624
|
Object.keys(V).forEach((a) => {
|
|
625
|
-
|
|
625
|
+
W(a, V[a]);
|
|
626
626
|
});
|
|
627
|
-
let M, q,
|
|
627
|
+
let M, q, C = !0, U = window.navigator.userAgent, R = ei(U) !== "PC", z, B = "", j = !0;
|
|
628
628
|
window.matchMedia("(min-width: 768px)");
|
|
629
|
-
const
|
|
629
|
+
const N = () => {
|
|
630
630
|
window.postMessage(
|
|
631
631
|
{
|
|
632
632
|
type: "PlayerAccountMenuActive",
|
|
633
|
-
isMobile:
|
|
633
|
+
isMobile: R
|
|
634
634
|
},
|
|
635
635
|
window.location.href
|
|
636
636
|
);
|
|
637
|
-
},
|
|
637
|
+
}, Z = () => {
|
|
638
638
|
ci(m);
|
|
639
|
-
},
|
|
639
|
+
}, F = (a) => {
|
|
640
640
|
if (a.data)
|
|
641
641
|
switch (a.data.type) {
|
|
642
642
|
case "PlayerLimitsData":
|
|
643
|
-
n(0, m = a.data.limits.lang), n(1, c = a.data.limits.depositlimit), n(2, d = a.data.limits.wageringlimit), n(3, y = a.data.limits.losslimit), n(4, L = a.data.limits.timelimit), n(13,
|
|
643
|
+
n(0, m = a.data.limits.lang), n(1, c = a.data.limits.depositlimit), n(2, d = a.data.limits.wageringlimit), n(3, y = a.data.limits.losslimit), n(4, L = a.data.limits.timelimit), n(13, C = !1);
|
|
644
644
|
break;
|
|
645
645
|
case "EditPlayerAccountGamingLimits":
|
|
646
|
-
n(14,
|
|
646
|
+
n(14, z = a.data.edit), n(15, B = a.data.name), n(16, j = !1), window.postMessage(
|
|
647
647
|
{
|
|
648
648
|
type: "EditPlayerLimit",
|
|
649
649
|
name: B
|
|
@@ -655,16 +655,16 @@ function bi(t, i, n) {
|
|
|
655
655
|
n(16, j = !0);
|
|
656
656
|
break;
|
|
657
657
|
case "ProfileDetailsData":
|
|
658
|
-
let
|
|
659
|
-
n(5, b =
|
|
658
|
+
let v = a.data.profileDetails;
|
|
659
|
+
n(5, b = v.currency);
|
|
660
660
|
break;
|
|
661
661
|
}
|
|
662
662
|
};
|
|
663
|
-
ti(() => (window.addEventListener("message",
|
|
664
|
-
window.removeEventListener("message",
|
|
663
|
+
ti(() => (window.addEventListener("message", F, !1), () => {
|
|
664
|
+
window.removeEventListener("message", F);
|
|
665
665
|
}));
|
|
666
|
-
const
|
|
667
|
-
function
|
|
666
|
+
const I = () => N();
|
|
667
|
+
function K(a) {
|
|
668
668
|
ni[a ? "unshift" : "push"](() => {
|
|
669
669
|
M = a, n(12, M);
|
|
670
670
|
});
|
|
@@ -673,7 +673,7 @@ function bi(t, i, n) {
|
|
|
673
673
|
"depositlimit" in a && n(1, c = a.depositlimit), "wageringlimit" in a && n(2, d = a.wageringlimit), "losslimit" in a && n(3, y = a.losslimit), "timelimit" in a && n(4, L = a.timelimit), "showdeletenotification" in a && n(6, o = a.showdeletenotification), "showsuccessnotification" in a && n(7, P = a.showsuccessnotification), "lang" in a && n(0, m = a.lang), "currency" in a && n(5, b = a.currency), "separatelimits" in a && n(8, u = a.separatelimits), "clientstyling" in a && n(9, T = a.clientstyling), "clientstylingurl" in a && n(10, g = a.clientstylingurl), "mbsource" in a && n(11, p = a.mbsource), "translationurl" in a && n(20, s = a.translationurl);
|
|
674
674
|
}, t.$$.update = () => {
|
|
675
675
|
t.$$.dirty & /*lang*/
|
|
676
|
-
1 && m &&
|
|
676
|
+
1 && m && Z(), t.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
677
677
|
4608 && T && M && si(M, T), t.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
678
678
|
5120 && g && M && li(M, g), t.$$.dirty & /*mbsource, customStylingContainer*/
|
|
679
679
|
6144 && p && M && ri(M, `${p}.Style`, q), t.$$.dirty & /*translationurl*/
|
|
@@ -692,16 +692,16 @@ function bi(t, i, n) {
|
|
|
692
692
|
g,
|
|
693
693
|
p,
|
|
694
694
|
M,
|
|
695
|
-
|
|
696
|
-
|
|
695
|
+
C,
|
|
696
|
+
z,
|
|
697
697
|
B,
|
|
698
698
|
j,
|
|
699
699
|
l,
|
|
700
|
-
|
|
701
|
-
|
|
700
|
+
R,
|
|
701
|
+
N,
|
|
702
702
|
s,
|
|
703
|
-
|
|
704
|
-
|
|
703
|
+
I,
|
|
704
|
+
K
|
|
705
705
|
];
|
|
706
706
|
}
|
|
707
707
|
class Ti extends Q {
|
package/components/{PlayerAccountGamingLimits-Z6Ce0MoG.js → PlayerAccountGamingLimits-V927kAz2.js}
RENAMED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
function
|
|
3
|
-
|
|
1
|
+
import { a as Y, $ as J, S as Q, i as X, s as x, f as h, b as $, n as D, d as E, e as G, g as _, h as ii, j as ei, o as ti, k as ni, t as w, u as H, r as e, p as f, q as A, v as S, x as ai, y as k, B as si, C as li, D as ri, c as mi, A as oi } from "./PlayerAccountController-DgE57QwT.js";
|
|
2
|
+
function W(t, i) {
|
|
3
|
+
Y(t, i);
|
|
4
4
|
}
|
|
5
5
|
function ci(t) {
|
|
6
|
-
|
|
6
|
+
J.set(t);
|
|
7
7
|
}
|
|
8
8
|
const V = {
|
|
9
9
|
en: {
|
|
@@ -107,7 +107,7 @@ if (typeof window < "u") {
|
|
|
107
107
|
}
|
|
108
108
|
};
|
|
109
109
|
};
|
|
110
|
-
customElements.define = t(customElements.define), import("./PlayerAccountGamingLimitsInfoCard-
|
|
110
|
+
customElements.define = t(customElements.define), import("./PlayerAccountGamingLimitsInfoCard-C17cmXa_.js").then(({ default: i }) => {
|
|
111
111
|
!customElements.get("player-account-gaming-limits-info-card") && customElements.define(
|
|
112
112
|
"player-account-gaming-limits-info-card",
|
|
113
113
|
i.element
|
|
@@ -558,7 +558,7 @@ function Li(t) {
|
|
|
558
558
|
), u, T, g;
|
|
559
559
|
return {
|
|
560
560
|
c() {
|
|
561
|
-
i = _("div"), n =
|
|
561
|
+
i = _("div"), n = k("svg"), l = k("defs"), c = k("style"), d = S(".aaa{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));}"), y = k("g"), L = k("g"), o = k("path"), P = A(), m = _("h2"), u = S(b), w(o, "class", "aaa"), w(o, "d", "M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"), w(o, "transform", "translate(15 15) rotate(180)"), w(L, "transform", "translate(20 158)"), w(y, "transform", "translate(-20 -158)"), w(n, "xmlns", "http://www.w3.org/2000/svg"), w(n, "width", "15"), w(n, "height", "15"), w(n, "viewBox", "0 0 15 15"), w(m, "class", "PlayerGamingLimitsTitleMobile"), w(i, "class", "MenuReturnButton");
|
|
562
562
|
},
|
|
563
563
|
m(p, s) {
|
|
564
564
|
G(p, i, s), f(i, n), f(n, l), f(l, c), f(c, d), f(n, y), f(y, L), f(L, o), f(i, P), f(i, m), f(m, u), T || (g = ai(
|
|
@@ -613,34 +613,34 @@ function bi(t, i, n) {
|
|
|
613
613
|
ii(t, oi, (a) => n(17, l = a));
|
|
614
614
|
let { depositlimit: c } = i, { wageringlimit: d } = i, { losslimit: y } = i, { timelimit: L } = i, { showdeletenotification: o = !1 } = i, { showsuccessnotification: P = !1 } = i, { lang: m = "en" } = i, { currency: b = "" } = i, { separatelimits: u = "true" } = i, { clientstyling: T = "" } = i, { clientstylingurl: g = "" } = i, { mbsource: p } = i, { translationurl: s = "" } = i;
|
|
615
615
|
const r = () => {
|
|
616
|
-
fetch(s).then((
|
|
617
|
-
Object.keys(
|
|
618
|
-
O
|
|
616
|
+
fetch(s).then((v) => v.json()).then((v) => {
|
|
617
|
+
Object.keys(v).forEach((O) => {
|
|
618
|
+
W(O, v[O]);
|
|
619
619
|
});
|
|
620
|
-
}).catch((
|
|
621
|
-
console.log(
|
|
620
|
+
}).catch((v) => {
|
|
621
|
+
console.log(v);
|
|
622
622
|
});
|
|
623
623
|
};
|
|
624
624
|
Object.keys(V).forEach((a) => {
|
|
625
|
-
|
|
625
|
+
W(a, V[a]);
|
|
626
626
|
});
|
|
627
|
-
let M, q,
|
|
627
|
+
let M, q, C = !0, U = window.navigator.userAgent, R = ei(U) !== "PC", N, B = "", j = !0;
|
|
628
628
|
window.matchMedia("(min-width: 768px)");
|
|
629
|
-
const
|
|
629
|
+
const z = () => {
|
|
630
630
|
window.postMessage(
|
|
631
631
|
{
|
|
632
632
|
type: "PlayerAccountMenuActive",
|
|
633
|
-
isMobile:
|
|
633
|
+
isMobile: R
|
|
634
634
|
},
|
|
635
635
|
window.location.href
|
|
636
636
|
);
|
|
637
|
-
},
|
|
637
|
+
}, Z = () => {
|
|
638
638
|
ci(m);
|
|
639
|
-
},
|
|
639
|
+
}, F = (a) => {
|
|
640
640
|
if (a.data)
|
|
641
641
|
switch (a.data.type) {
|
|
642
642
|
case "PlayerLimitsData":
|
|
643
|
-
n(0, m = a.data.limits.lang), n(1, c = a.data.limits.depositlimit), n(2, d = a.data.limits.wageringlimit), n(3, y = a.data.limits.losslimit), n(4, L = a.data.limits.timelimit), n(13,
|
|
643
|
+
n(0, m = a.data.limits.lang), n(1, c = a.data.limits.depositlimit), n(2, d = a.data.limits.wageringlimit), n(3, y = a.data.limits.losslimit), n(4, L = a.data.limits.timelimit), n(13, C = !1);
|
|
644
644
|
break;
|
|
645
645
|
case "EditPlayerAccountGamingLimits":
|
|
646
646
|
n(14, N = a.data.edit), n(15, B = a.data.name), n(16, j = !1), window.postMessage(
|
|
@@ -655,16 +655,16 @@ function bi(t, i, n) {
|
|
|
655
655
|
n(16, j = !0);
|
|
656
656
|
break;
|
|
657
657
|
case "ProfileDetailsData":
|
|
658
|
-
let
|
|
659
|
-
n(5, b =
|
|
658
|
+
let v = a.data.profileDetails;
|
|
659
|
+
n(5, b = v.currency);
|
|
660
660
|
break;
|
|
661
661
|
}
|
|
662
662
|
};
|
|
663
|
-
ti(() => (window.addEventListener("message",
|
|
664
|
-
window.removeEventListener("message",
|
|
663
|
+
ti(() => (window.addEventListener("message", F, !1), () => {
|
|
664
|
+
window.removeEventListener("message", F);
|
|
665
665
|
}));
|
|
666
|
-
const
|
|
667
|
-
function
|
|
666
|
+
const I = () => z();
|
|
667
|
+
function K(a) {
|
|
668
668
|
ni[a ? "unshift" : "push"](() => {
|
|
669
669
|
M = a, n(12, M);
|
|
670
670
|
});
|
|
@@ -673,7 +673,7 @@ function bi(t, i, n) {
|
|
|
673
673
|
"depositlimit" in a && n(1, c = a.depositlimit), "wageringlimit" in a && n(2, d = a.wageringlimit), "losslimit" in a && n(3, y = a.losslimit), "timelimit" in a && n(4, L = a.timelimit), "showdeletenotification" in a && n(6, o = a.showdeletenotification), "showsuccessnotification" in a && n(7, P = a.showsuccessnotification), "lang" in a && n(0, m = a.lang), "currency" in a && n(5, b = a.currency), "separatelimits" in a && n(8, u = a.separatelimits), "clientstyling" in a && n(9, T = a.clientstyling), "clientstylingurl" in a && n(10, g = a.clientstylingurl), "mbsource" in a && n(11, p = a.mbsource), "translationurl" in a && n(20, s = a.translationurl);
|
|
674
674
|
}, t.$$.update = () => {
|
|
675
675
|
t.$$.dirty & /*lang*/
|
|
676
|
-
1 && m &&
|
|
676
|
+
1 && m && Z(), t.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
677
677
|
4608 && T && M && si(M, T), t.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
678
678
|
5120 && g && M && li(M, g), t.$$.dirty & /*mbsource, customStylingContainer*/
|
|
679
679
|
6144 && p && M && ri(M, `${p}.Style`, q), t.$$.dirty & /*translationurl*/
|
|
@@ -692,16 +692,16 @@ function bi(t, i, n) {
|
|
|
692
692
|
g,
|
|
693
693
|
p,
|
|
694
694
|
M,
|
|
695
|
-
|
|
695
|
+
C,
|
|
696
696
|
N,
|
|
697
697
|
B,
|
|
698
698
|
j,
|
|
699
699
|
l,
|
|
700
|
-
|
|
701
|
-
|
|
700
|
+
R,
|
|
701
|
+
z,
|
|
702
702
|
s,
|
|
703
|
-
|
|
704
|
-
|
|
703
|
+
I,
|
|
704
|
+
K
|
|
705
705
|
];
|
|
706
706
|
}
|
|
707
707
|
class Ti extends Q {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import {
|
|
2
|
-
function
|
|
1
|
+
import { a as q, $ as H, S as V, i as J, s as K, f as y, b as Q, _ as X, d as T, v as Y, V as Z, W as $, a0 as tt, a1 as it, a2 as et, t as F, c as I, m as l, w as z, e as L, p as E, u as S, r as a, g as nt, h as ot, o as at, j as rt, n as st, x as N, z as lt, A as mt, B as ct, C as dt, D as gt } from "./PlayerAccountController-CO8cZYgr.js";
|
|
2
|
+
function W(e, t) {
|
|
3
3
|
q(e, t);
|
|
4
4
|
}
|
|
5
5
|
function ut(e) {
|
|
6
6
|
H.set(e);
|
|
7
7
|
}
|
|
8
|
-
const
|
|
8
|
+
const O = {
|
|
9
9
|
en: {
|
|
10
10
|
cancel: "Cancel",
|
|
11
11
|
confirm: "Confirm"
|
|
@@ -52,9 +52,9 @@ const W = {
|
|
|
52
52
|
}
|
|
53
53
|
};
|
|
54
54
|
function ft(e) {
|
|
55
|
-
|
|
55
|
+
Q(e, "svelte-n224ff", '*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.GamingLimitsConfirmationWrapper{position:fixed;top:0;right:0;bottom:0;left:0;background-color:rgba(0, 0, 0, 0.7);display:flex;justify-content:center;align-items:center;z-index:300;color:var(--emw--color-typography, #FFFFFF)}.GamingLimitsConfirmationContainer{position:relative;background:linear-gradient(to right, var(--emw--color-primary-variant, #184026), var(--emw--color-secondary-variant, #013E5C));border:5px solid transparent;padding:60px 30px 30px;background-clip:padding-box;border-radius:var(--emw--border-radius-medium, 10px)}.GamingLimitsConfirmationContainer::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)}.GamingLimitsConfirmationContainer::after{position:absolute;top:-4px;bottom:-4px;left:-4px;right:-4px;background:linear-gradient(to right, color-mix(in srgb, var(--emw--color-primary-variant, #184026) 80%, white 10%), color-mix(in srgb, var(--emw--color-secondary-variant, #013E5C) 80%, white 10%));content:"";z-index:-1;border-radius:var(--emw--border-radius-medium, 10px)}.GamingLimitsConfirmationContainerMobile{padding:40px;max-width:330px}.GamingLimitsConfirmationContainerMobile .GamingLimitsConfirmationControlAreaMobile .GamingLimitsCancelButton,.GamingLimitsConfirmationContainerMobile .GamingLimitsConfirmationControlAreaMobile .GamingLimitsConfirmButton{width:120px;height:auto;font-size:var(--emw--font-size-x-small, 12px)}.GamingLimitsConfirmationContent{font-size:18px;font-weight:300}.GamingLimitsConfirmationControlArea{display:grid;grid-template-columns:1fr 1fr;grid-gap:10px;direction:ltr;margin-top:30px}.GamingLimitsConfirmationControlArea .GamingLimitsCancelButton,.GamingLimitsConfirmationControlArea .GamingLimitsConfirmButton{background:transparent;border:1px solid #BFCBC3;color:#BFCBC3;cursor:pointer;border-radius:var(--emw--button-border-radius, 10px);width:200px;height:50px;font-size:var(--emw--font-size-medium, 16px);text-transform:uppercase;text-align:center;transition-duration:0.3s;box-sizing:border-box;padding:10px}.GamingLimitsConfirmationControlArea .GamingLimitsConfirmButton{background-color:var(--emw--color-primary, #22B04E);border:2px solid var(--emw--button-border-color, #063B17);border-radius:var(--emw--button-border-radius, 10px);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)}.GamingLimitsConfirmationMobileWrapper{border:none;padding:0}');
|
|
56
56
|
}
|
|
57
|
-
const Ct = (e) => ({}),
|
|
57
|
+
const Ct = (e) => ({}), P = (e) => ({});
|
|
58
58
|
function pt(e) {
|
|
59
59
|
let t, n;
|
|
60
60
|
return {
|
|
@@ -62,11 +62,11 @@ function pt(e) {
|
|
|
62
62
|
t = N("svg"), n = N("path"), a(n, "stroke-linecap", "round"), a(n, "stroke-linejoin", "round"), a(n, "stroke-width", "2"), a(n, "d", "M6 18L18 6M6 6l12 12"), a(t, "class", "w-6 h-6"), a(t, "fill", "none"), a(t, "stroke", "currentColor"), a(t, "viewBox", "0 0 24 24"), a(t, "xmlns", "http://www.w3.org/2000/svg");
|
|
63
63
|
},
|
|
64
64
|
m(s, v) {
|
|
65
|
-
|
|
65
|
+
I(s, t, v), l(t, n);
|
|
66
66
|
},
|
|
67
67
|
p: st,
|
|
68
68
|
d(s) {
|
|
69
|
-
s &&
|
|
69
|
+
s && T(t);
|
|
70
70
|
}
|
|
71
71
|
};
|
|
72
72
|
}
|
|
@@ -74,32 +74,32 @@ function bt(e) {
|
|
|
74
74
|
let t, n, s, v, b, h, d, m, g, f = (
|
|
75
75
|
/*$_*/
|
|
76
76
|
e[2]("cancel") + ""
|
|
77
|
-
), p, w,
|
|
77
|
+
), p, w, x, r = (
|
|
78
78
|
/*$_*/
|
|
79
79
|
e[2]("confirm") + ""
|
|
80
80
|
), k, c, B, A;
|
|
81
81
|
const _ = (
|
|
82
82
|
/*#slots*/
|
|
83
83
|
e[14].close
|
|
84
|
-
), G =
|
|
84
|
+
), G = X(
|
|
85
85
|
_,
|
|
86
86
|
e,
|
|
87
87
|
/*$$scope*/
|
|
88
88
|
e[13],
|
|
89
|
-
|
|
89
|
+
P
|
|
90
90
|
), u = G || pt();
|
|
91
91
|
return {
|
|
92
92
|
c() {
|
|
93
93
|
t = L("div"), n = L("div"), s = L("span"), u && u.c(), v = E(), b = L("div"), h = S(
|
|
94
94
|
/*modaltext*/
|
|
95
95
|
e[0]
|
|
96
|
-
), d = E(), m = L("div"), g = L("button"), p = S(f), w = E(),
|
|
96
|
+
), d = E(), m = L("div"), g = L("button"), p = S(f), w = E(), x = L("button"), k = S(r), a(s, "class", "ModalCloseBtn"), a(s, "role", "button"), a(b, "class", "GamingLimitsConfirmationContent"), a(g, "class", "GamingLimitsCancelButton"), a(x, "class", "GamingLimitsConfirmButton"), a(m, "class", "GamingLimitsConfirmationControlArea " + /*isMobile*/
|
|
97
97
|
(e[3] ? "GamingLimitsConfirmationControlAreaMobile" : "")), a(n, "class", "GamingLimitsConfirmationContainer " + /*isMobile*/
|
|
98
98
|
(e[3] ? "GamingLimitsConfirmationContainerMobile" : "")), a(t, "class", "GamingLimitsConfirmationWrapper " + /*isMobile*/
|
|
99
99
|
(e[3] ? "GamingLimitsConfirmationMobileWrapper" : ""));
|
|
100
100
|
},
|
|
101
101
|
m(o, C) {
|
|
102
|
-
|
|
102
|
+
I(o, t, C), l(t, n), l(n, s), u && u.m(s, null), l(n, v), l(n, b), l(b, h), l(n, d), l(n, m), l(m, g), l(g, p), l(m, w), l(m, x), l(x, k), e[15](t), c = !0, B || (A = [
|
|
103
103
|
z(
|
|
104
104
|
s,
|
|
105
105
|
"click",
|
|
@@ -113,7 +113,7 @@ function bt(e) {
|
|
|
113
113
|
e[6]
|
|
114
114
|
),
|
|
115
115
|
z(
|
|
116
|
-
|
|
116
|
+
x,
|
|
117
117
|
"click",
|
|
118
118
|
/*confirmChanges*/
|
|
119
119
|
e[5]
|
|
@@ -138,7 +138,7 @@ function bt(e) {
|
|
|
138
138
|
/*$$scope*/
|
|
139
139
|
o[13]
|
|
140
140
|
),
|
|
141
|
-
|
|
141
|
+
P
|
|
142
142
|
), (!c || C & /*modaltext*/
|
|
143
143
|
1) && F(
|
|
144
144
|
h,
|
|
@@ -157,7 +157,7 @@ function bt(e) {
|
|
|
157
157
|
Z(u, o), c = !1;
|
|
158
158
|
},
|
|
159
159
|
d(o) {
|
|
160
|
-
o &&
|
|
160
|
+
o && T(t), u && u.d(o), e[15](null), B = !1, Y(A);
|
|
161
161
|
}
|
|
162
162
|
};
|
|
163
163
|
}
|
|
@@ -165,17 +165,17 @@ function ht(e, t, n) {
|
|
|
165
165
|
let s;
|
|
166
166
|
nt(e, gt, (i) => n(2, s = i));
|
|
167
167
|
let { $$slots: v = {}, $$scope: b } = t, { modaltext: h = "Are you sure that you want to perform this action?" } = t, { modalsource: d = "" } = t, { lang: m = "en" } = t, { clientstyling: g = "" } = t, { clientstylingurl: f = "" } = t, { mbsource: p } = t, { translationurl: w = "" } = t;
|
|
168
|
-
const
|
|
168
|
+
const x = () => {
|
|
169
169
|
fetch(w).then((M) => M.json()).then((M) => {
|
|
170
|
-
Object.keys(M).forEach((
|
|
171
|
-
|
|
170
|
+
Object.keys(M).forEach((D) => {
|
|
171
|
+
W(D, M[D]);
|
|
172
172
|
});
|
|
173
173
|
}).catch((M) => {
|
|
174
174
|
console.log(M);
|
|
175
175
|
});
|
|
176
176
|
};
|
|
177
|
-
Object.keys(
|
|
178
|
-
|
|
177
|
+
Object.keys(O).forEach((i) => {
|
|
178
|
+
W(i, O[i]);
|
|
179
179
|
});
|
|
180
180
|
let r, k, c = window.navigator.userAgent, B = ot(c) !== "PC", A = {}, _ = "";
|
|
181
181
|
const G = () => {
|
|
@@ -191,7 +191,7 @@ function ht(e, t, n) {
|
|
|
191
191
|
), window.postMessage({ type: "ModalClosed" }, window.location.href);
|
|
192
192
|
}, o = () => {
|
|
193
193
|
d === "groupEdit" ? window.postMessage({ type: "CancelGamingLimitsChanges" }, window.location.href) : d === "infoCard" && window.postMessage({ type: "CancelGamingLimitsRemove" }, window.location.href), window.postMessage({ type: "ModalClosed" }, window.location.href);
|
|
194
|
-
}, C = (i) => i === "Time Limit" ? "cumulativeSessionLimits" : i === "Deposit Limit" ? "depositLimits" : i === "Wagering Limit" ? "wageringLimit" : "lossLimit",
|
|
194
|
+
}, C = (i) => i === "Time Limit" ? "cumulativeSessionLimits" : i === "Deposit Limit" ? "depositLimits" : i === "Wagering Limit" ? "wageringLimit" : "lossLimit", j = (i) => {
|
|
195
195
|
if (i.data)
|
|
196
196
|
switch (i.data.type) {
|
|
197
197
|
case "DeleteLimitsItem":
|
|
@@ -201,8 +201,8 @@ function ht(e, t, n) {
|
|
|
201
201
|
}, R = () => {
|
|
202
202
|
ut(m);
|
|
203
203
|
};
|
|
204
|
-
at(() => (window.addEventListener("message",
|
|
205
|
-
window.removeEventListener("message",
|
|
204
|
+
at(() => (window.addEventListener("message", j, !1), () => {
|
|
205
|
+
window.removeEventListener("message", j);
|
|
206
206
|
}));
|
|
207
207
|
function U(i) {
|
|
208
208
|
rt[i ? "unshift" : "push"](() => {
|
|
@@ -217,7 +217,7 @@ function ht(e, t, n) {
|
|
|
217
217
|
514 && g && r && lt(r, g), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
218
218
|
1026 && f && r && mt(r, f), e.$$.dirty & /*mbsource, customStylingContainer*/
|
|
219
219
|
2050 && p && r && ct(r, `${p}.Style`, k), e.$$.dirty & /*translationurl*/
|
|
220
|
-
4096 && w &&
|
|
220
|
+
4096 && w && x();
|
|
221
221
|
}, [
|
|
222
222
|
h,
|
|
223
223
|
r,
|
|
@@ -237,14 +237,14 @@ function ht(e, t, n) {
|
|
|
237
237
|
U
|
|
238
238
|
];
|
|
239
239
|
}
|
|
240
|
-
class wt extends
|
|
240
|
+
class wt extends V {
|
|
241
241
|
constructor(t) {
|
|
242
|
-
super(),
|
|
242
|
+
super(), J(
|
|
243
243
|
this,
|
|
244
244
|
t,
|
|
245
245
|
ht,
|
|
246
246
|
bt,
|
|
247
|
-
|
|
247
|
+
K,
|
|
248
248
|
{
|
|
249
249
|
modaltext: 0,
|
|
250
250
|
modalsource: 7,
|
|
@@ -261,43 +261,43 @@ class wt extends J {
|
|
|
261
261
|
return this.$$.ctx[0];
|
|
262
262
|
}
|
|
263
263
|
set modaltext(t) {
|
|
264
|
-
this.$$set({ modaltext: t }),
|
|
264
|
+
this.$$set({ modaltext: t }), y();
|
|
265
265
|
}
|
|
266
266
|
get modalsource() {
|
|
267
267
|
return this.$$.ctx[7];
|
|
268
268
|
}
|
|
269
269
|
set modalsource(t) {
|
|
270
|
-
this.$$set({ modalsource: t }),
|
|
270
|
+
this.$$set({ modalsource: t }), y();
|
|
271
271
|
}
|
|
272
272
|
get lang() {
|
|
273
273
|
return this.$$.ctx[8];
|
|
274
274
|
}
|
|
275
275
|
set lang(t) {
|
|
276
|
-
this.$$set({ lang: t }),
|
|
276
|
+
this.$$set({ lang: t }), y();
|
|
277
277
|
}
|
|
278
278
|
get clientstyling() {
|
|
279
279
|
return this.$$.ctx[9];
|
|
280
280
|
}
|
|
281
281
|
set clientstyling(t) {
|
|
282
|
-
this.$$set({ clientstyling: t }),
|
|
282
|
+
this.$$set({ clientstyling: t }), y();
|
|
283
283
|
}
|
|
284
284
|
get clientstylingurl() {
|
|
285
285
|
return this.$$.ctx[10];
|
|
286
286
|
}
|
|
287
287
|
set clientstylingurl(t) {
|
|
288
|
-
this.$$set({ clientstylingurl: t }),
|
|
288
|
+
this.$$set({ clientstylingurl: t }), y();
|
|
289
289
|
}
|
|
290
290
|
get mbsource() {
|
|
291
291
|
return this.$$.ctx[11];
|
|
292
292
|
}
|
|
293
293
|
set mbsource(t) {
|
|
294
|
-
this.$$set({ mbsource: t }),
|
|
294
|
+
this.$$set({ mbsource: t }), y();
|
|
295
295
|
}
|
|
296
296
|
get translationurl() {
|
|
297
297
|
return this.$$.ctx[12];
|
|
298
298
|
}
|
|
299
299
|
set translationurl(t) {
|
|
300
|
-
this.$$set({ translationurl: t }),
|
|
300
|
+
this.$$set({ translationurl: t }), y();
|
|
301
301
|
}
|
|
302
302
|
}
|
|
303
303
|
dt(wt, { modaltext: {}, modalsource: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {} }, ["close"], [], !0);
|