@everymatrix/player-account-controller-nd 1.86.3 → 1.86.5
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-BP5hPAT6.cjs +21 -0
- package/components/{GeneralLogout-D-460bCc.js → GeneralLogout-CUS9XDb_.js} +867 -846
- package/components/{GeneralLogout-CyjaJCyK.js → GeneralLogout-CxwIjVYg.js} +895 -874
- package/components/PlayerAccountBettingHistory-B2nAfK0Y.js +311 -0
- package/components/PlayerAccountBettingHistory-C2XbjoY8.js +310 -0
- package/components/PlayerAccountBettingHistory-C65k_w7Q.cjs +1 -0
- package/components/{PlayerAccountBiometrics-BUaH6CCN.js → PlayerAccountBiometrics-Bu-kAXJR.js} +18 -18
- package/components/{PlayerAccountBiometrics-DtZRD-x7.js → PlayerAccountBiometrics-C5FfCL63.js} +21 -21
- package/components/{PlayerAccountBiometrics-BWf57OVN.cjs → PlayerAccountBiometrics-Dtbqt-iX.cjs} +1 -1
- package/components/{PlayerAccountClosureNd-CeeV2-m9.cjs → PlayerAccountClosureNd-B72aQGEp.cjs} +1 -1
- package/components/{PlayerAccountClosureNd-D1yRezb5.js → PlayerAccountClosureNd-C2K1iphm.js} +30 -30
- package/components/{PlayerAccountClosureNd-xuyqp_KO.js → PlayerAccountClosureNd-DMtaug1M.js} +30 -30
- package/components/{PlayerAccountControllerNd-BBHdaUN2.js → PlayerAccountControllerNd-BqQ-mEMV.js} +325 -325
- package/components/{PlayerAccountControllerNd-B5RDsXa3.cjs → PlayerAccountControllerNd-Dek6l0KF.cjs} +1 -1
- package/components/{PlayerAccountControllerNd-DCMMDOQl.js → PlayerAccountControllerNd-Dfwe4Pft.js} +338 -338
- package/components/{PlayerAccountGamingLimits-CmRq9u44.cjs → PlayerAccountGamingLimits-B9ZXnxYx.cjs} +1 -1
- package/components/{PlayerAccountGamingLimits-CkXGP01f.js → PlayerAccountGamingLimits-DFh_EHFi.js} +113 -113
- package/components/{PlayerAccountGamingLimits-BeMzp6tp.js → PlayerAccountGamingLimits-DJ5QEc_Z.js} +111 -111
- package/components/{PlayerAccountGamingLimitsConfirmationModal-Cj2jRE0A.cjs → PlayerAccountGamingLimitsConfirmationModal-BJsgUy6x.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsConfirmationModal-CiHUSyME.js → PlayerAccountGamingLimitsConfirmationModal-DVFHoHN0.js} +29 -29
- package/components/{PlayerAccountGamingLimitsConfirmationModal-DGEkJBKE.js → PlayerAccountGamingLimitsConfirmationModal-DdWzMIzq.js} +32 -32
- package/components/{PlayerAccountGamingLimitsGroupEdit-xLUbycFZ.js → PlayerAccountGamingLimitsGroupEdit-B_Qn4NHV.js} +124 -126
- package/components/{PlayerAccountGamingLimitsGroupEdit--Dw4vmyo.js → PlayerAccountGamingLimitsGroupEdit-BkzMzF4_.js} +124 -126
- package/components/PlayerAccountGamingLimitsGroupEdit-DEIR-hxX.cjs +2 -0
- package/components/{PlayerAccountGamingLimitsHistory2Nd-iVYbJ1bu.cjs → PlayerAccountGamingLimitsHistory2Nd-C9C4ZzaD.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsHistory2Nd-C9tG2g_B.js → PlayerAccountGamingLimitsHistory2Nd-CGuL5nCB.js} +70 -70
- package/components/{PlayerAccountGamingLimitsHistory2Nd-BbzGDp6P.js → PlayerAccountGamingLimitsHistory2Nd-CKxG_86-.js} +42 -42
- package/components/{PlayerAccountGamingLimitsInfoCard-7NpyeIYQ.js → PlayerAccountGamingLimitsInfoCard-BQmLWUmD.js} +96 -96
- package/components/{PlayerAccountGamingLimitsInfoCard-Byg39kAW.js → PlayerAccountGamingLimitsInfoCard-BUn4vqax.js} +99 -99
- package/components/{PlayerAccountGamingLimitsInfoCard-C9X_7mnq.cjs → PlayerAccountGamingLimitsInfoCard-CVZP5eUD.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsPage2Gm16Nd-Cmhh_gZC.cjs → PlayerAccountGamingLimitsPage2Gm16Nd-84fi4QDA.cjs} +2 -2
- package/components/{PlayerAccountGamingLimitsPage2Gm16Nd-D-EkHRYi.js → PlayerAccountGamingLimitsPage2Gm16Nd-Ckgam1Rw.js} +172 -172
- package/components/{PlayerAccountGamingLimitsPage2Gm16Nd-ELP4ge82.js → PlayerAccountGamingLimitsPage2Gm16Nd-DkpQ-O9_.js} +188 -188
- package/components/{PlayerAccountGamingLimitsPopup-DyUjbtg6.cjs → PlayerAccountGamingLimitsPopup-BMLTI-NH.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsPopup-Dcs0KQe4.js → PlayerAccountGamingLimitsPopup-CSUPvKE8.js} +28 -28
- package/components/{PlayerAccountGamingLimitsPopup-BuA-BYO2.js → PlayerAccountGamingLimitsPopup-t9xn3mpZ.js} +27 -27
- package/components/{PlayerAccountGamingLimitsWrapper2Nd-CwTJRA82.cjs → PlayerAccountGamingLimitsWrapper2Nd-B5Jh8P1g.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsWrapper2Nd-DlRfXwBn.js → PlayerAccountGamingLimitsWrapper2Nd-CzNQFuT1.js} +49 -49
- package/components/{PlayerAccountGamingLimitsWrapper2Nd-DbM-hzRL.js → PlayerAccountGamingLimitsWrapper2Nd-DHuWlyNo.js} +52 -52
- package/components/{PlayerAccountGeneralConfirmationModal-Di8Sqopo.js → PlayerAccountGeneralConfirmationModal-Ck2-eEAP.js} +31 -31
- package/components/{PlayerAccountGeneralConfirmationModal-DGCC2DbP.cjs → PlayerAccountGeneralConfirmationModal-DaaGKltj.cjs} +1 -1
- package/components/{PlayerAccountGeneralConfirmationModal-DPqIDZ34.js → PlayerAccountGeneralConfirmationModal-SII29Bah.js} +28 -28
- package/components/{PlayerAccountMenuNd-Hpd_taCe.js → PlayerAccountMenuNd-BBVfDPrh.js} +33 -33
- package/components/{PlayerAccountMenuNd-BGlZt37t.js → PlayerAccountMenuNd-CG6ygodu.js} +36 -36
- package/components/{PlayerAccountMenuNd-B4I54pmw.cjs → PlayerAccountMenuNd-DnYp94kK.cjs} +1 -1
- package/components/{PlayerAccountModal-DW-HfIJw.js → PlayerAccountModal-B0pFGARD.js} +27 -27
- package/components/{PlayerAccountModal-CicfFYTa.cjs → PlayerAccountModal-BxX50c5G.cjs} +1 -1
- package/components/{PlayerAccountModal-BmoBvqGA.js → PlayerAccountModal-CG3IPRuD.js} +25 -25
- package/components/{PlayerAccountNotifications-BIX9__wc.js → PlayerAccountNotifications-ByqmZWal.js} +29 -29
- package/components/{PlayerAccountNotifications-CzgKLzGS.js → PlayerAccountNotifications-D4C9msYl.js} +34 -34
- package/components/{PlayerAccountNotifications-CKXGoWhC.cjs → PlayerAccountNotifications-W3-AZaWS.cjs} +1 -1
- package/components/{PlayerAccountProductRestriction-ChDK3lVA.js → PlayerAccountProductRestriction-4b-yKjFV.js} +1721 -1721
- package/components/{PlayerAccountProductRestriction-B7WS_VpN.js → PlayerAccountProductRestriction-ChaxQNbf.js} +1736 -1736
- package/components/{PlayerAccountProductRestriction-BIzu31mf.cjs → PlayerAccountProductRestriction-DvbkGejX.cjs} +269 -269
- package/components/{PlayerAccountReviewFrequency-DVp6ckLv.js → PlayerAccountReviewFrequency-BqEm_AJM.js} +28 -28
- package/components/{PlayerAccountReviewFrequency-DPWKi8xr.js → PlayerAccountReviewFrequency-BwnBH_hE.js} +28 -28
- package/components/{PlayerAccountReviewFrequency-BzwPKjzr.cjs → PlayerAccountReviewFrequency-CpSbEDTd.cjs} +1 -1
- package/components/{PlayerAccountSelfExclusionNd-BgTP2Exl.cjs → PlayerAccountSelfExclusionNd-BPVBWDTy.cjs} +76 -76
- package/components/{PlayerAccountSelfExclusionNd-CzF59an0.js → PlayerAccountSelfExclusionNd-BfcUqMtn.js} +555 -556
- package/components/{PlayerAccountSelfExclusionNd-DhDLAOBn.js → PlayerAccountSelfExclusionNd-BpVVNb9m.js} +117 -118
- package/components/{PlayerAccountTimeout-23pfiCcD.js → PlayerAccountTimeout-BfW_wShd.js} +41 -41
- package/components/{PlayerAccountTimeout-Mc9Az_j5.js → PlayerAccountTimeout-COJ1gcOJ.js} +41 -41
- package/components/{PlayerAccountTimeout-BIoL922A.cjs → PlayerAccountTimeout-CyBncduQ.cjs} +1 -1
- package/components/{PlayerAccountTransactionsHistory-4vLz89SQ.js → PlayerAccountTransactionsHistory-C9kk3jok.js} +73 -73
- package/components/{PlayerAccountTransactionsHistory-Cdg1GtQr.cjs → PlayerAccountTransactionsHistory-D6hznhne.cjs} +1 -1
- package/components/{PlayerAccountTransactionsHistory-D4hDFxOK.js → PlayerAccountTransactionsHistory-DGtRA6Qw.js} +70 -70
- package/components/{PlayerActiveBonuses-V_MvBwLJ.js → PlayerActiveBonuses-BfFO_mw3.js} +65 -65
- package/components/{PlayerActiveBonuses-DncvwsE_.js → PlayerActiveBonuses-BhvnT2HK.js} +71 -71
- package/components/{PlayerActiveBonuses-MTeTutAs.cjs → PlayerActiveBonuses-CzC3-mjB.cjs} +1 -1
- package/components/{PlayerBonusCard-CqwfA40e.js → PlayerBonusCard-B9PEzXGo.js} +60 -60
- package/components/{PlayerBonusCard-Doen7R7B.js → PlayerBonusCard-BNwQycFf.js} +63 -63
- package/components/{PlayerBonusCard-DtXoyRQT.cjs → PlayerBonusCard-CWJZYMpn.cjs} +1 -1
- package/components/{PlayerBonusHistory-DSqR4Mlu.js → PlayerBonusHistory-C8KOtU5O.js} +44 -44
- package/components/{PlayerBonusHistory-Cry1tQpI.js → PlayerBonusHistory-DuMrsO39.js} +40 -40
- package/components/{PlayerBonusHistory-DtPw35Zp.cjs → PlayerBonusHistory-DyfhMZ4I.cjs} +1 -1
- package/components/{PlayerChangePasswordNd-D7i867SK.js → PlayerChangePasswordNd-9yvybIre.js} +92 -92
- package/components/{PlayerChangePasswordNd-CtNPsfE3.js → PlayerChangePasswordNd-Chee4J8k.js} +95 -95
- package/components/{PlayerChangePasswordNd-CMlCNu9f.cjs → PlayerChangePasswordNd-D0EUsLYh.cjs} +1 -1
- package/components/{PlayerDeposit-DlJyokPK.js → PlayerDeposit-C7IJgwby.js} +80 -80
- package/components/PlayerDeposit-CpmRDJGS.cjs +1 -0
- package/components/{PlayerDeposit-C39Mv_Ys.js → PlayerDeposit-CwoUllMs.js} +77 -77
- package/components/{PlayerGamingHistory-IVDxvOyG.js → PlayerGamingHistory-Cr78Yg0P.js} +35 -35
- package/components/{PlayerGamingHistory-kRFfYUZK.js → PlayerGamingHistory-Cx0cPKAN.js} +35 -35
- package/components/{PlayerGamingHistory-27uKNtZq.cjs → PlayerGamingHistory-D4g-pRu-.cjs} +1 -1
- package/components/{PlayerPendingWithdrawals-CzzFtfws.js → PlayerPendingWithdrawals-5anqDeGy.js} +22 -22
- package/components/{PlayerPendingWithdrawals-DgcYn5VO.cjs → PlayerPendingWithdrawals-BQx068nU.cjs} +1 -1
- package/components/{PlayerPendingWithdrawals-C_35YCkt.js → PlayerPendingWithdrawals-DBqKX5cM.js} +25 -25
- package/components/{PlayerProfileInfo-rsLHqAOO.js → PlayerProfileInfo-C_RgieOJ.js} +286 -286
- package/components/{PlayerProfileInfo-IUND-h1B.cjs → PlayerProfileInfo-CiY2o3W7.cjs} +2 -2
- package/components/{PlayerProfileInfo-O22oCNgU.js → PlayerProfileInfo-DfHi-TRf.js} +322 -322
- package/components/{PlayerRealityCheck-B559D_qS.js → PlayerRealityCheck-BJGv0kil.js} +33 -33
- package/components/{PlayerRealityCheck-twdYLe7I.js → PlayerRealityCheck-BtzmuqLM.js} +33 -33
- package/components/{PlayerRealityCheck-BynoufZS.cjs → PlayerRealityCheck-CeIc2L5G.cjs} +1 -1
- package/components/{PlayerTransactionHistory-iNVlFbjF.js → PlayerTransactionHistory-B7GuBckx.js} +18 -18
- package/components/{PlayerTransactionHistory-U5KFjsQY.js → PlayerTransactionHistory-Djux11Bf.js} +15 -15
- package/components/{PlayerTransactionHistory-C_fBsawf.cjs → PlayerTransactionHistory-NtPab0Hw.cjs} +1 -1
- package/components/{PlayerWithdrawal-C9lFWlYB.js → PlayerWithdrawal-CrctPhxY.js} +15 -15
- package/components/{PlayerWithdrawal-D1HQxb4g.js → PlayerWithdrawal-DZzK1nty.js} +18 -18
- package/components/{PlayerWithdrawal-rmqufGf5.cjs → PlayerWithdrawal-YXqeKdHw.cjs} +1 -1
- package/es2015/player-account-controller-nd.cjs +1 -1
- package/es2015/player-account-controller-nd.js +1 -1
- package/esnext/player-account-controller-nd.js +1 -1
- package/lazy/{general-logout-BbJ8ztM0.js → general-logout-BJPwdAVl.js} +1 -1
- package/lazy/{general-logout-DsURBkxK.cjs → general-logout-CWZwCQae.cjs} +1 -1
- package/lazy/{general-logout-BXlDTwPE.js → general-logout-CfpvABTt.js} +1 -1
- package/lazy/pam-change-password-BpCoZvpj.cjs +1 -0
- package/lazy/pam-change-password-DOcJg5YI.js +612 -0
- package/lazy/pam-change-password-Yx_6Xnmp.js +596 -0
- package/lazy/{player-account-betting-history-DKUA6IWw.cjs → player-account-betting-history-CuQHJqRN.cjs} +1 -1
- package/lazy/{player-account-betting-history-jczDI2VK.js → player-account-betting-history-DReUmXdv.js} +1 -1
- package/lazy/{player-account-betting-history-DDtm6pRZ.js → player-account-betting-history-sQnF-Ypt.js} +1 -1
- package/lazy/{player-account-biometrics-DSFU2UfD.js → player-account-biometrics-721cebUg.js} +1 -1
- package/lazy/{player-account-biometrics-CLKbA38b.js → player-account-biometrics-BeE7KH6i.js} +1 -1
- package/lazy/{player-account-biometrics-Bw125Uf9.cjs → player-account-biometrics-BnISB1-i.cjs} +1 -1
- package/lazy/{player-account-closure-nd-B7vKS_wc.js → player-account-closure-nd-BnC_Yu5d.js} +1 -1
- package/lazy/{player-account-closure-nd-Ds-pz9ty.cjs → player-account-closure-nd-D5efQ1z_.cjs} +1 -1
- package/lazy/{player-account-closure-nd-BNnIXh-R.js → player-account-closure-nd-wabXS_E0.js} +1 -1
- package/lazy/{player-account-gaming-limits-BbyTpRxi.cjs → player-account-gaming-limits-BeZF1hRE.cjs} +1 -1
- package/lazy/{player-account-gaming-limits-yc01t23E.js → player-account-gaming-limits-C0WcMqN0.js} +1 -1
- package/lazy/{player-account-gaming-limits-BsYJ2hPN.js → player-account-gaming-limits-Du_klcoX.js} +1 -1
- package/lazy/{player-account-gaming-limits-confirmation-modal-Cg86YsvH.js → player-account-gaming-limits-confirmation-modal-CYptcZYa.js} +1 -1
- package/lazy/{player-account-gaming-limits-confirmation-modal-USj_Z5T6.cjs → player-account-gaming-limits-confirmation-modal-DHXcQ95A.cjs} +1 -1
- package/lazy/{player-account-gaming-limits-confirmation-modal-Bz9nGNqC.js → player-account-gaming-limits-confirmation-modal-DjKG6oIr.js} +1 -1
- package/lazy/{player-account-gaming-limits-group-edit-2wBX2GXR.js → player-account-gaming-limits-group-edit-CGiY4RjA.js} +1 -1
- package/lazy/{player-account-gaming-limits-group-edit-B7mm9vED.cjs → player-account-gaming-limits-group-edit-DUE2MKhN.cjs} +1 -1
- package/lazy/{player-account-gaming-limits-group-edit-Dz4BOIFg.js → player-account-gaming-limits-group-edit-Vjq70XQp.js} +1 -1
- package/lazy/{player-account-gaming-limits-history-2-nd-DbsOzrk1.js → player-account-gaming-limits-history-2-nd-1JO_ELTu.js} +1 -1
- package/lazy/{player-account-gaming-limits-history-2-nd-DBQ3kCNR.js → player-account-gaming-limits-history-2-nd-Bj37TpGS.js} +1 -1
- package/lazy/{player-account-gaming-limits-history-2-nd-Bs6bVb3A.cjs → player-account-gaming-limits-history-2-nd-D8li-uMt.cjs} +1 -1
- package/lazy/{player-account-gaming-limits-info-card-DtkaeIiO.js → player-account-gaming-limits-info-card-BwZpFttA.js} +1 -1
- package/lazy/{player-account-gaming-limits-info-card-D0PHHNxM.cjs → player-account-gaming-limits-info-card-ByVqlAbm.cjs} +1 -1
- package/lazy/{player-account-gaming-limits-info-card-CPkATNCd.js → player-account-gaming-limits-info-card-WY_A3d0B.js} +1 -1
- package/lazy/{player-account-gaming-limits-page-2-gm16-nd-Dgqgote9.cjs → player-account-gaming-limits-page-2-gm16-nd-Bn3HyRuF.cjs} +1 -1
- package/lazy/{player-account-gaming-limits-page-2-gm16-nd-CyQjChzo.js → player-account-gaming-limits-page-2-gm16-nd-BsWTqjQw.js} +1 -1
- package/lazy/{player-account-gaming-limits-page-2-gm16-nd-Cq0e8gGf.js → player-account-gaming-limits-page-2-gm16-nd-cYsHruBh.js} +1 -1
- package/lazy/{player-account-gaming-limits-popup-r333OzcL.js → player-account-gaming-limits-popup-Bey6wDbf.js} +1 -1
- package/lazy/{player-account-gaming-limits-popup-Gp46twk0.js → player-account-gaming-limits-popup-DduHY9jJ.js} +1 -1
- package/lazy/{player-account-gaming-limits-popup-lPN-lLNj.cjs → player-account-gaming-limits-popup-DszLLCCO.cjs} +1 -1
- package/lazy/{player-account-gaming-limits-wrapper-2-nd-I9zsipLD.cjs → player-account-gaming-limits-wrapper-2-nd-BdmstXOJ.cjs} +1 -1
- package/lazy/{player-account-gaming-limits-wrapper-2-nd-CkUu-GVL.js → player-account-gaming-limits-wrapper-2-nd-Dj_teY1R.js} +1 -1
- package/lazy/{player-account-gaming-limits-wrapper-2-nd-Fq3lHv5j.js → player-account-gaming-limits-wrapper-2-nd-eAjeeYgg.js} +1 -1
- package/lazy/{player-account-general-confirmation-modal-zBFvN83A.cjs → player-account-general-confirmation-modal-CAhffuwK.cjs} +1 -1
- package/lazy/{player-account-general-confirmation-modal-CyulLH4v.js → player-account-general-confirmation-modal-CCg9OrM8.js} +1 -1
- package/lazy/{player-account-general-confirmation-modal-CdyaL94g.js → player-account-general-confirmation-modal-FSUN_SQI.js} +1 -1
- package/lazy/{player-account-menu-nd-CLwI_Bhn.js → player-account-menu-nd-C2pXd078.js} +1 -1
- package/lazy/{player-account-menu-nd-kpFugbWz.cjs → player-account-menu-nd-DpBeGpgZ.cjs} +1 -1
- package/lazy/{player-account-menu-nd-DwinAyAu.js → player-account-menu-nd-FOqPTfaD.js} +1 -1
- package/lazy/{player-account-modal-DqN9AToO.js → player-account-modal-B6GGwYUW.js} +1 -1
- package/lazy/{player-account-modal-eVVksYuw.js → player-account-modal-BkXhugGM.js} +1 -1
- package/lazy/{player-account-modal-CT20xpzT.cjs → player-account-modal-CyVW9EJH.cjs} +1 -1
- package/lazy/{player-account-notifications-BDmxrNlQ.js → player-account-notifications-CzVXQ__P.js} +1 -1
- package/lazy/{player-account-notifications-C_4fUFcX.js → player-account-notifications-D5CvWWr-.js} +1 -1
- package/lazy/{player-account-notifications-BnzXJ3t7.cjs → player-account-notifications-EuxQBxdo.cjs} +1 -1
- package/lazy/{player-account-product-restriction-CNAeC18c.js → player-account-product-restriction-C_vETQcl.js} +1 -1
- package/lazy/{player-account-product-restriction-D1dZQR9M.cjs → player-account-product-restriction-Cgamy-Yd.cjs} +1 -1
- package/lazy/{player-account-product-restriction-AUqWxh6M.js → player-account-product-restriction-U394FlIh.js} +1 -1
- package/lazy/{player-account-review-frequency-CS3j5LRa.js → player-account-review-frequency-8srfpprX.js} +1 -1
- package/lazy/{player-account-review-frequency-CO1xOEZI.cjs → player-account-review-frequency-B4Oq2_D2.cjs} +1 -1
- package/lazy/{player-account-review-frequency-CdhiVY-6.js → player-account-review-frequency-DzR6HQEE.js} +1 -1
- package/lazy/{player-account-self-exclusion-nd-DndejYem.js → player-account-self-exclusion-nd-Cq7Bdydn.js} +1 -1
- package/lazy/{player-account-self-exclusion-nd-T5mvZaLe.js → player-account-self-exclusion-nd-Ct9QwTaq.js} +1 -1
- package/lazy/{player-account-self-exclusion-nd-B5dVAoTv.cjs → player-account-self-exclusion-nd-D-6pwTi4.cjs} +1 -1
- package/lazy/{player-account-timeout-CQFxlsOj.cjs → player-account-timeout-DF5EDpcf.cjs} +1 -1
- package/lazy/{player-account-timeout-B4Q7cyWp.js → player-account-timeout-PbYOnnzb.js} +1 -1
- package/lazy/{player-account-timeout-CBcGjkRE.js → player-account-timeout-rIRyEFlc.js} +1 -1
- package/lazy/{player-account-transactions-history-Bbm4HUwz.js → player-account-transactions-history-3pZ_PgZn.js} +1 -1
- package/lazy/{player-account-transactions-history-Bemxa01v.js → player-account-transactions-history-Bay_KzYk.js} +1 -1
- package/lazy/{player-account-transactions-history-DkjG034n.cjs → player-account-transactions-history-lLj1XyDj.cjs} +1 -1
- package/lazy/{player-active-bonuses-BJSk7ic4.js → player-active-bonuses-BAIvN5bg.js} +1 -1
- package/lazy/{player-active-bonuses-CZq_vTCy.cjs → player-active-bonuses-CbI7xQr3.cjs} +1 -1
- package/lazy/{player-active-bonuses-CSZlSXtw.js → player-active-bonuses-CgzZ85uO.js} +1 -1
- package/lazy/{player-bonus-card-D-un0Rx4.js → player-bonus-card-8oLrRK1x.js} +1 -1
- package/lazy/{player-bonus-card-DuFR6m3Y.js → player-bonus-card-CBQvLGNp.js} +1 -1
- package/lazy/{player-bonus-card-DYhF32Df.cjs → player-bonus-card-jF_ftijk.cjs} +1 -1
- package/lazy/{player-bonus-history-9AnPBl2u.js → player-bonus-history-C5ZNeBsU.js} +1 -1
- package/lazy/{player-bonus-history-oH50WR_l.cjs → player-bonus-history-htLopwqf.cjs} +1 -1
- package/lazy/{player-bonus-history-D_7dtsmf.js → player-bonus-history-pxi4DVqF.js} +1 -1
- package/lazy/{player-change-password-nd-DKmSLzEn.cjs → player-change-password-nd-Cy8hKsmO.cjs} +1 -1
- package/lazy/{player-change-password-nd-BHnwoJoB.js → player-change-password-nd-D-zCmsiv.js} +1 -1
- package/lazy/{player-change-password-nd-BekhFZzk.js → player-change-password-nd-DP6de2qG.js} +1 -1
- package/lazy/{player-deposit-K-xOysrx.cjs → player-deposit-5QruKiXs.cjs} +1 -1
- package/lazy/{player-deposit-BHCO1-AK.js → player-deposit-Bq_QxvFT.js} +1 -1
- package/lazy/{player-deposit-B9StD8zc.js → player-deposit-Dx0rgGDv.js} +1 -1
- package/lazy/{player-gaming-history-CRIcwZ1u.js → player-gaming-history-CNMJ6XKJ.js} +1 -1
- package/lazy/{player-gaming-history-C85xODVa.cjs → player-gaming-history-CuDujcYz.cjs} +1 -1
- package/lazy/{player-gaming-history-FVO1JLS_.js → player-gaming-history-W0d5H7Fb.js} +1 -1
- package/lazy/player-kyc-verification-B5pCUSnk.js +577 -0
- package/lazy/player-kyc-verification-BF4tf48l.cjs +1 -0
- package/lazy/player-kyc-verification-DlZifvve.js +550 -0
- package/lazy/{player-pending-withdrawals-xo0ZoOv3.cjs → player-pending-withdrawals-B3xn6bv0.cjs} +1 -1
- package/lazy/{player-pending-withdrawals-CZP5LwyE.js → player-pending-withdrawals-CuvNjPD3.js} +1 -1
- package/lazy/{player-pending-withdrawals-CnUZ3Gl-.js → player-pending-withdrawals-gxs3Q5Z5.js} +1 -1
- package/lazy/{player-profile-info-EjS44f7X.cjs → player-profile-info-C9dUlHhe.cjs} +1 -1
- package/lazy/{player-profile-info-fTX9p2Xk.js → player-profile-info-C_oe_VEG.js} +1 -1
- package/lazy/{player-profile-info-DHKbZe4z.js → player-profile-info-t6R7cG-r.js} +1 -1
- package/lazy/{player-reality-check-B7uUQAu1.js → player-reality-check-CFPktONw.js} +1 -1
- package/lazy/{player-reality-check-B3xYMbTb.cjs → player-reality-check-DOMQ0jX8.cjs} +1 -1
- package/lazy/{player-reality-check-HEZ8Ad42.js → player-reality-check-d3Wz8qtH.js} +1 -1
- package/lazy/{player-transaction-history-C7p269_x.cjs → player-transaction-history-DV01YPAY.cjs} +1 -1
- package/lazy/{player-transaction-history-45lDRrJT.js → player-transaction-history-aUV53uTV.js} +1 -1
- package/lazy/{player-transaction-history-CsYn0uS4.js → player-transaction-history-hRM5mak8.js} +1 -1
- package/lazy/{player-withdrawal-B0RG0bYW.cjs → player-withdrawal-CsKQidl-.cjs} +1 -1
- package/lazy/{player-withdrawal-BqJ8HljS.js → player-withdrawal-aF3uLX3P.js} +1 -1
- package/lazy/{player-withdrawal-DBZfmgzw.js → player-withdrawal-hgVUF5Qa.js} +1 -1
- package/lazy/ui-skeleton-BUCYetAg.js +519 -0
- package/lazy/ui-skeleton-BgUTfAtW.cjs +1 -0
- package/lazy/ui-skeleton-C-dgOp3G.js +503 -0
- package/lazy/user-deposit-withdrawal-BPgWs5L8.js +557 -0
- package/lazy/user-deposit-withdrawal-DBFYKdyJ.js +573 -0
- package/lazy/user-deposit-withdrawal-DPuxBhFZ.cjs +1 -0
- package/lazy/user-transaction-history-CHGEtZBx.js +655 -0
- package/lazy/user-transaction-history-CVa9xgYI.cjs +1 -0
- package/lazy/{user-transaction-history--3FgPyrg.js → user-transaction-history-CuRWzQ72.js} +217 -217
- package/package.json +1 -1
- package/stencil/{checkbox-group-input_16-CxD5VKgI.js → checkbox-group-input_16-0iopEmdZ.js} +2727 -2731
- package/stencil/{checkbox-group-input_16-BfiuPCFZ.js → checkbox-group-input_16-C1TBl21E.js} +2726 -2730
- package/stencil/{checkbox-group-input_16-uzoP2kiS.cjs → checkbox-group-input_16-CBbkUEEm.cjs} +241 -241
- package/stencil/{pam-change-password-6b535bd5-wHVpEAiJ.cjs → pam-change-password-6b535bd5-Cut4xTJX.cjs} +1 -1
- package/stencil/{pam-change-password-6b535bd5-BpXXLKO-.js → pam-change-password-6b535bd5-DMHWY7yz.js} +1 -1
- package/stencil/{pam-change-password-6b535bd5-Cx2-GsJe.js → pam-change-password-6b535bd5-g2n-EEVa.js} +1 -1
- package/stencil/{pam-change-password-sE20GYP2.js → pam-change-password-6wL19qxt.js} +2 -2
- package/stencil/{pam-change-password-usJiGEmk.js → pam-change-password-C4Lq6jtY.js} +2 -2
- package/stencil/{pam-change-password-5ZIyJT_y.cjs → pam-change-password-DtLV0dyV.cjs} +1 -1
- package/stencil/{player-kyc-verification-C3W-2rvv.js → player-kyc-verification-38ukgicS.js} +1 -1
- package/stencil/{player-kyc-verification-BOkrCxQ5.js → player-kyc-verification-B-Gwyevd.js} +1 -1
- package/stencil/{player-kyc-verification-DpVLBcj0.cjs → player-kyc-verification-Czftixd5.cjs} +1 -1
- package/stencil/{ui-skeleton-C6kAZPuO.js → ui-skeleton--3Oejuq9.js} +2 -2
- package/stencil/{ui-skeleton-8rSrWtxK.cjs → ui-skeleton-Bp-l1XOX.cjs} +1 -1
- package/stencil/{ui-skeleton-D4wXUXBa.js → ui-skeleton-Ur_BR5_B.js} +2 -2
- package/stencil/{ui-skeleton-ed169f8f-DX90igQx.cjs → ui-skeleton-ed169f8f-BC-qcUzg.cjs} +1 -1
- package/stencil/{ui-skeleton-ed169f8f-CHl8NPVj.js → ui-skeleton-ed169f8f-CScXzcMr.js} +1 -1
- package/stencil/{ui-skeleton-ed169f8f-D2Is2vKF.js → ui-skeleton-ed169f8f-Dlrug2eB.js} +1 -1
- package/stencil/{user-deposit-withdrawal-CQ-FkzDp.cjs → user-deposit-withdrawal-BXny5CR4.cjs} +1 -1
- package/stencil/{user-deposit-withdrawal-DeVY-ktj.js → user-deposit-withdrawal-CF2Gsvjt.js} +1 -1
- package/stencil/{user-deposit-withdrawal-nHW0dxyt.js → user-deposit-withdrawal-Ca_vjCHW.js} +1 -1
- package/stencil/{user-transaction-history-_Zbb_Q9Z.js → user-transaction-history-BSJUCsOP.js} +2 -2
- package/stencil/{user-transaction-history-BGE7HFNA.cjs → user-transaction-history-D31djAl9.cjs} +1 -1
- package/stencil/{user-transaction-history-GxAExPoq.js → user-transaction-history-yD0ZdhXz.js} +2 -2
- package/stencil/{user-transaction-history_2-CS-xp7h6.cjs → user-transaction-history_2-BPg0ZwEP.cjs} +279 -279
- package/stencil/{user-transaction-history_2-BQqO4qoA.js → user-transaction-history_2-CqtCMdoU.js} +4067 -4071
- package/stencil/{user-transaction-history_2-DjDbOR2n.js → user-transaction-history_2-DWit6pcG.js} +4053 -4057
- package/components/GeneralLogout-D55pWkH7.cjs +0 -21
- package/components/PlayerAccountBettingHistory-CgcFk4Ks.js +0 -311
- package/components/PlayerAccountBettingHistory-D_QFN9dp.js +0 -310
- package/components/PlayerAccountBettingHistory-OO1CReR6.cjs +0 -1
- package/components/PlayerAccountGamingLimitsGroupEdit-jGqeKZ4O.cjs +0 -2
- package/components/PlayerDeposit-DsQdeECp.cjs +0 -1
- package/lazy/pam-change-password-Bo01w37G.js +0 -612
- package/lazy/pam-change-password-CQXj1hW0.cjs +0 -1
- package/lazy/pam-change-password-SZZc6Fc1.js +0 -596
- package/lazy/player-kyc-verification-BlueEiAg.js +0 -577
- package/lazy/player-kyc-verification-BpgcWufc.js +0 -550
- package/lazy/player-kyc-verification-DDsYEKH2.cjs +0 -1
- package/lazy/ui-skeleton-B01gfMYY.cjs +0 -1
- package/lazy/ui-skeleton-Bjtjlxwi.js +0 -519
- package/lazy/ui-skeleton-Dul34XtH.js +0 -503
- package/lazy/user-deposit-withdrawal-CDWurnml.js +0 -557
- package/lazy/user-deposit-withdrawal-DcCXmV9o.cjs +0 -1
- package/lazy/user-deposit-withdrawal-n7wh8Xdl.js +0 -573
- package/lazy/user-transaction-history-BMjjMnbc.cjs +0 -1
- package/lazy/user-transaction-history-CRqyVIVM.js +0 -655
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./GeneralLogout-D55pWkH7.cjs");require("../lazy/player-account-gaming-limits-popup-lPN-lLNj.cjs");require("../lazy/player-account-gaming-limits-group-edit-B7mm9vED.cjs");const F=require("./PlayerAccountGamingLimitsGroupEdit-jGqeKZ4O.cjs");function H(i,a){e.addMessages(i,a)}function me(i){e.$locale.set(i)}const Y={en:{name:"Info",amountChanged:"Your limit has been changed or increased: {amount} {currency}. You will have to wait for the expiration date for your new limit to take effect:",daily:"Daily",weekly:"Weekly",monthly:"Monthly",removeLimitText:"Are you sure you want to remove the {limit}?",removeLimitsText:"Are you sure you want to remove all the {limit}s?",minutes:"minutes",noLimit:"No limit",expirationDate:"Expiration date",notAvailable:"N/A",edit:"Edit",removeLimits:"Remove Limits",depositLimit:"Deposit Limit",timeLimit:"Time Limit",wageringLimit:"Wagering Limit",lossLimit:"Loss Limit",timeLimitLower:"time limit",depositLimitLower:"deposit limit",wageringLimitLower:"wagering limit",lossLimitLower:"loss limit",time:"time",currency:"currency"},"zh-hk":{name:"信息",amountChanged:"您的限額已更改或增加:{amount} {currency}。 您必須等待到期日期才能使新限制生效:",daily:"日常的",weekly:"每週",monthly:"月刊",removeLimitText:"您確定要刪除 {limit} 嗎?",removeLimitsText:"您確定要刪除所有 {limit} 嗎?",minutes:"分鐘",noLimit:"沒有限制",expirationDate:"截止日期",notAvailable:"不適用",edit:"編輯",removeLimits:"移除限制",depositLimit:"存款限額",timeLimit:"時限",wageringLimit:"投注限額",lossLimit:"損失限額",timeLimitLower:"時限",depositLimitLower:"存款限額",wageringLimitLower:"投注限額",lossLimitLower:"損失限額",time:"時間",currency:"貨幣"},fr:{name:"Info",amountChanged:"Votre limite a été modifiée ou augmentée: {amount} {currency}. Vous devrez attendre la date d'expiration pour que votre nouvelle limite prenne effet:",daily:"Quotidiennement",weekly:"Hebdomadaire",monthly:"Mensuel",removeLimitText:"êtes-vous sûr de vouloir supprimer la{limit}?",removeLimitsText:"êtes-vous sûr de vouloir supprimer tous les {limit}s?",minutes:"minutes",noLimit:"Aucune limite",expirationDate:"Date d'expiration",notAvailable:"N/A",edit:"Modifier",removeLimits:"Supprimer les limites",depositLimit:"Limite de dépôt",timeLimit:"Limite de temps",wageringLimit:"Limite de mise",lossLimit:"Limite de perte",timeLimitLower:"Limite de temps",depositLimitLower:"Limite de dépôt",wageringLimitLower:"Limite de mise",lossLimitLower:"Limite de perte",time:"Temps",currency:"Monnaie"},ro:{name:"Informații",amountChanged:"Limita ta a fost schimbată sau a crescut: {amount} {currency}. Trebuie să aștepți până la data de expirare pentru ca noua ta limită să intre în vigoare:",daily:"Zilnic",weekly:"Săptămânal",monthly:"Lunar",removeLimitText:"Ești sigur că vrei să elimini această limită?",removeLimitsText:"Ești sigur că vrei să elimini toate limitele?",minutes:"minute",noLimit:"Fără Limită",expirationDate:"Dată Expirare",notAvailable:"N/A",edit:"Editează",removeLimits:"Elimină limitele",depositLimit:"Limită de depunere",timeLimit:"Limită de timp",wageringLimit:"Limită de pariere",lossLimit:"Limite de pierdere",timeLimitLower:"limită de timp",depositLimitLower:"limită de depunere",wageringLimitLower:"limită de pariere",lossLimitLower:"limită de pierdere",time:"timp",currency:"monedă"},es:{name:"Información",amountChanged:"Tú limite ha sido cambiado o incrementado: {amount} {currency}. Tendrás que esperar a la fecha de expiración para que tu nuevo límite entre en vigencia:",daily:"Diario",weekly:"Semanal",monthly:"Mensual",removeLimitText:"Estas seguro de quitar el {limit}?",removeLimitsText:"Estas seguro de retirar todos los {limit}es?",minutes:"minutos",noLimit:"Sin límite",expirationDate:"Fecha de expiración",notAvailable:"No Disponible",edit:"Editar",removeLimits:"Retirar límites",depositLimit:"Límite de depósito",timeLimit:"Límite de tiempo",wageringLimit:"Límite de apuestas",lossLimit:"Límite de pérdida",timeLimitLower:"Límite de tiempo",depositLimitLower:"Límite de depósito",wageringLimitLower:"Límite de apuestas",lossLimitLower:"Límite de pérdida",time:"tiempo",currency:"moneda"},pt:{name:"Informação",amountChanged:"Seu limite foi alterado ou aumentado: {amount} {currency}. Você terá que aguardar a data de expiração para que seu novo limite entre em vigor:",daily:"Diariamente",weekly:"Semanalmente",monthly:"Mensalmente",removeLimitText:"Tem certeza de que deseja remover o {limite}??",removeLimitsText:"Tem certeza de que deseja remover todos os {limite}s??",minutes:"Minutos",noLimit:"Sem limite",expirationDate:"Data de Validade",notAvailable:"Não Disponível",edit:"Editar",removeLimits:"Remover limites",depositLimit:"Limite de Depósito",timeLimit:"Limite de Tempo",wageringLimit:"Limite de Apostas",lossLimit:"Limite de Perda",timeLimitLower:"Limite de tempo",depositLimitLower:"limite de depósito",wageringLimitLower:"limite de apostas",lossLimitLower:"limite de perda",time:"Tempo",currency:"Moeda"},hr:{name:"Informacije",amountChanged:"Vaše ograničenje je promijenjeno ili povećano: {iznos} {valuta}. Morat ćete pričekati datum isteka kako bi vaše novo ograničenje stupilo na snagu:",daily:"Dnevno",weekly:"Tjedno",monthly:"Mjesečno",removeLimitText:"Jeste li sigurni da želite ukloniti {limit}?",removeLimitsText:"Jeste li sigurni da želite ukloniti sve {limit}e?",minutes:"minute",noLimit:"Nema ograničenja",expirationDate:"Datum isteka",notAvailable:"N/A",edit:"Uredi",removeLimits:"Ukloni ograničenja",depositLimit:"Ograničenje uplate",timeLimit:"Vremensko ograničenje",wageringLimit:"Ograničenje igranja",lossLimit:"Ograničenje gubitka",timeLimitLower:"vremensko ograničenje",depositLimitLower:"ograničenje uplate",wageringLimitLower:"ograničenje igranja",lossLimitLower:"ograničenje gubitka",time:"vrijeme",currency:"valuta"},"pt-br":{name:"Informação",amountChanged:"Seu limite foi alterado ou aumentado: {amount} {currency}. Você terá que aguardar a data de expiração para que seu novo limite entre em vigor:",daily:"Diário",weekly:"Semanalmente",monthly:"Por mês",removeLimitText:"Tem certeza de que deseja remover o limite {limit}?",removeLimitsText:"Tem certeza de que deseja remover todos os limites {limit}s?",minutes:"minutos",noLimit:"Sem limite",expirationDate:"Data de expiração",notAvailable:"Não disponível",edit:"Editar",removeLimits:"Remover limites",depositLimit:"Limite de depósito",timeLimit:"Limite de tempo",wageringLimit:"Limite de Quantidade de Apostas",lossLimit:"Limite de perda",timeLimitLower:"Limite de tempo",depositLimitLower:"Limite de depósito",wageringLimitLower:"Limite de Quantidade de Apostas",lossLimitLower:"Limite de perda",time:"tempo",currency:"moeda"},"es-mx":{name:"Información",amountChanged:"Su límite ha sido cambiado o aumentado:{amount} {currency}. Tendrá que esperar para su fecha de expiración para que su nuevo límite entre en efecto:",daily:"Diario",weekly:"Semanal",monthly:"Mensual",removeLimitText:"¿Está seguro que quiere remover el límite {limit}?",removeLimitsText:"¿Está seguro que quiere remover todos los límites {limit}s?",minutes:"minutos",noLimit:"Sin límite",expirationDate:"Fecha de expiración",notAvailable:"No disponible",edit:"Editar",removeLimits:"Remover Límites",depositLimit:"Límite de depósito",timeLimit:"Límite de tiempo",wageringLimit:"Límite de monto de apuestas",lossLimit:"Límite de pérdidas",timeLimitLower:"Límite de tiempo",depositLimitLower:"Límite de depósito",wageringLimitLower:"Límite de monto de apuestas",lossLimitLower:"Límite de pérdidas",time:"tiempo",currency:"moneda"},tr:{name:"Bilgi",amountChanged:"Limitiniz değiştirildi veya artırıldı: {amount} {currency}. Yeni limitinizin geçerlilik kazanması için son kullanma tarihini beklemeniz gerekecektir:",daily:"Günlük",weekly:"Haftalık",monthly:"Aylık",removeLimitText:"{limit} sınırını kaldırmak istediğinizden emin misiniz?",removeLimitsText:"Tüm {limit}'leri kaldırmak istediğinizden emin misiniz?",minutes:"dakika",noLimit:"Limit yok",expirationDate:"Son kullanma tarihi",notAvailable:"Yok",edit:"Düzenlemek",removeLimits:"Sınırları Kaldır",depositLimit:"Para Yatırma Limiti",timeLimit:"Zaman sınırı",wageringLimit:"Bahis Limiti",lossLimit:"Kayıp Limiti",timeLimitLower:"zaman sınırı",depositLimitLower:"para yatırma limiti",wageringLimitLower:"bahis limiti",lossLimitLower:"kayıp limiti",time:"zaman",currency:"para birimi"},"en-us":{name:"Info",amountChanged:"Your limit has been changed or increased: {amount} {currency}. You will have to wait for the expiration date for your new limit to take effect:",daily:"Daily",weekly:"Weekly",monthly:"Monthly",removeLimitText:"Are you sure you want to remove the {limit}?",removeLimitsText:"Are you sure you want to remove all the {limit}s?",minutes:"minutes",noLimit:"No limit",expirationDate:"Expiration date",notAvailable:"N/A",edit:"Edit",removeLimits:"Remove Limits",depositLimit:"Deposit Limit",timeLimit:"Time Limit",wageringLimit:"Wagering Limit",lossLimit:"Loss Limit",timeLimitLower:"time limit",depositLimitLower:"deposit limit",wageringLimitLower:"wagering limit",lossLimitLower:"loss limit",time:"time",currency:"currency"}};function se(i){e.append_styles(i,"svelte-8fdpga",'@charset "UTF-8";.InfoCard{padding:20px;color:var(--emw--color-black, #000000);background:var(--emw--color-white, #FFFFFF);box-shadow:0 3px 12px var(--emw--color-gray-100, #E6E6E6);border-radius:5px;display:block}.InfoCardHeader{display:flex;flex-direction:row;justify-content:space-between;padding-bottom:10px}.InfoCardHeader h5{margin:0;font-weight:normal;font-size:16px;line-height:20px}.InfoCardHeader span{display:flex;width:20px;height:20px;background:transparent;border:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));align-items:center;justify-content:center;border-radius:30px}.InfoCardHeader.InfoCardMobileHeader h5{font-size:14px}.InfoCardHeader.InfoCardMobileHeader span{width:16px;height:16px;font-size:12px}.InfoCardIcon{cursor:pointer}.InfoCardRow{display:flex;flex-direction:row;justify-content:space-between;font-size:14px}.InfoCardRow:first-child{padding-bottom:5px}.InfoCardTableRow>.InfoCardRow:first-child{padding-bottom:5px}.InfoCardTableRow>.InfoCardRow:first-child .InfoCardRowTitle{font-weight:500}.InfoCardTableRow>.InfoCardRow:nth-child(2){font-size:12px}.InfoCardTableHeaderBox{display:flex;flex-direction:column}.InfoCardRowTitle{font-size:12px;font-weight:300}.InfoCardRowValue{font-size:12px;color:var(--emw--color-gray-300, #58586B);font-weight:300}.InfoCardRemoveIcon{display:inline-block;padding:5px 0 5px 15px;cursor:pointer}.InfoCardRemoveIcon span{display:inline-block;height:18px;width:18px;border-radius:50px;position:relative;color:var(--emw--color-secondary, var(--emw--color-secondary, #FD2839));border:1px solid var(--emw--color-secondary, var(--emw--color-secondary, #FD2839))}.InfoCardRemoveIcon span:after{position:absolute;top:0;bottom:0;left:0;right:0;content:"❌";font-size:7px;color:var(--emw--color-secondary, var(--emw--color-secondary, #FD2839));line-height:18px;text-align:center}.InfoCardBox{padding:15px 5px}.InfoCardBox.InfoCardMultipleItems{display:flex;flex-direction:row}.InfoCardBox:nth-child(even){background:var(--emw--color-gray-50, #F9F8F8)}.InfoCardBox .InfoCardRowContainer{flex:1 auto}.InfoMainRow .InfoCardRowTitle{font-size:14px;font-weight:400}.InfoMainRow .InfoCardRowValue{font-size:14px}.InfoCardControlArea{display:inline-flex;margin-top:35px}.InfoCardControlArea .InfoCardEditButton,.InfoCardControlArea .InfoCardRemoveButton{cursor:pointer;border-radius:5px;width:120px;height:36px;display:flex;align-items:center;justify-content:center;font-size:12px;color:var(--emw--color-black, #000000);text-transform:uppercase;transition-duration:0.3s;box-sizing:border-box}.InfoCardControlArea .InfoCardEditButton{background:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));border:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));color:var(--emw--button-typography, var(--emw--color-white, #FFFFFF));margin-right:10px}.InfoCardControlArea .InfoCardEditButton.InfoCardButtonDisabled{background:transparent;border:1px solid var(--emw--color-black, #000000);cursor:not-allowed;opacity:0.6}.InfoCardControlArea .InfoCardRemoveButton{background:transparent;border:1px solid var(--emw--color-black, #000000)}.InfoCardControlArea .InfoCardRemoveButton.InfoCardButtonDisabled{background:transparent;border:1px solid var(--emw--color-black, #000000);cursor:not-allowed;opacity:0.6}.InfoCardIconWrapper{position:relative;display:inline-block;padding:5px 0 5px 15px;cursor:pointer}.InfoCardIconWrapper span{display:flex;width:20px;height:20px;background:transparent;border:1px solid ar(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));align-items:center;justify-content:center;border-radius:30px}.InfoCardIconWrapper.InfoCardIconMobileWrapper{position:initial}.InfoCardBox .InfoCardIcon{color:var(--emw--color-gray-300, #58586B);border:1px solid var(--emw--color-gray-300, #58586B)}')}function G(i,a,n){const o=i.slice();return o[41]=a[n],o[43]=n,o}function O(i,a,n){const o=i.slice();return o[41]=a[n],o[43]=n,o}function de(i){let a,n,o,t,l=(i[0]?i[16](i[1].charAt(0).toLowerCase()+i[1].substring(1).replace(/\s/g,"")):"")+"",r,d,p,b,L,c,w,z,y,A,R,j,M,T,k=i[16]("edit")+"",S,h,D,E,I;function C(g,N){return g[1]==="Time Limit"?ce:pe}let u=C(i),f=u(i),s=!i[10]&&!i[0].isModified&&i[15]&&Z(i),_=i[12]&&X(i);return{c(){a=e.element("div"),n=e.element("div"),o=e.element("div"),t=e.element("h5"),r=e.text(l),d=e.space(),p=e.element("div"),b=e.element("span"),b.textContent="i",L=e.space(),c=e.element("player-account-gaming-limits-popup"),z=e.space(),y=e.element("div"),A=e.element("div"),R=e.element("div"),f.c(),j=e.space(),M=e.element("div"),T=e.element("button"),S=e.text(k),h=e.space(),s&&s.c(),D=e.space(),_&&_.c(),e.attr(b,"class","InfoCardIcon"),e.set_custom_element_data(c,"showpopup",w=i[9][0]),e.set_custom_element_data(c,"lang",i[3]),e.set_custom_element_data(c,"clientstyling",i[4]),e.set_custom_element_data(c,"clientstylingurl",i[5]),e.set_custom_element_data(c,"mbsource",i[6]),e.attr(p,"class","InfoCardIconWrapper "+(i[17]?"InfoCardIconMobileWrapper":"")),e.attr(o,"class","InfoCardHeader "+(i[17]?"InfoCardMobileHeader":"")),e.attr(R,"class","InfoCardTableRow"),e.attr(A,"class","InfoCardTableWrapper"),e.attr(T,"class","InfoCardEditButton"),e.attr(M,"class","InfoCardControlArea"),e.attr(y,"class","InfoCard"),e.attr(n,"class","InfoCardWrapper"),e.attr(a,"class","InfoCardSection")},m(g,N){e.insert(g,a,N),e.append(a,n),e.append(n,o),e.append(o,t),e.append(t,r),e.append(o,d),e.append(o,p),e.append(p,b),e.append(p,L),e.append(p,c),e.append(n,z),e.append(n,y),e.append(y,A),e.append(A,R),f.m(R,null),e.append(y,j),e.append(y,M),e.append(M,T),e.append(T,S),e.append(M,h),s&&s.m(M,null),e.append(a,D),_&&_.m(a,null),E||(I=[e.listen(b,"click",e.prevent_default(i[24])),e.listen(T,"click",i[27])],E=!0)},p(g,N){N[0]&65539&&l!==(l=(g[0]?g[16](g[1].charAt(0).toLowerCase()+g[1].substring(1).replace(/\s/g,"")):"")+"")&&e.set_data(r,l),N[0]&512&&w!==(w=g[9][0])&&e.set_custom_element_data(c,"showpopup",w),N[0]&8&&e.set_custom_element_data(c,"lang",g[3]),N[0]&16&&e.set_custom_element_data(c,"clientstyling",g[4]),N[0]&32&&e.set_custom_element_data(c,"clientstylingurl",g[5]),N[0]&64&&e.set_custom_element_data(c,"mbsource",g[6]),u===(u=C(g))&&f?f.p(g,N):(f.d(1),f=u(g),f&&(f.c(),f.m(R,null))),N[0]&65536&&k!==(k=g[16]("edit")+"")&&e.set_data(S,k),!g[10]&&!g[0].isModified&&g[15]?s?s.p(g,N):(s=Z(g),s.c(),s.m(M,null)):s&&(s.d(1),s=null),g[12]?_?_.p(g,N):(_=X(g),_.c(),_.m(a,null)):_&&(_.d(1),_=null)},d(g){g&&e.detach(a),f.d(),s&&s.d(),_&&_.d(),E=!1,e.run_all(I)}}}function ue(i){let a;return{c(){a=e.element("div"),e.attr(a,"class","ModalLoader")},m(n,o){e.insert(n,a,o)},p:e.noop,d(n){n&&e.detach(a)}}}function pe(i){let a,n=e.ensure_array_like(i[0]),o=[];for(let t=0;t<n.length;t+=1)o[t]=Q(G(i,n,t));return{c(){for(let t=0;t<o.length;t+=1)o[t].c();a=e.empty()},m(t,l){for(let r=0;r<o.length;r+=1)o[r]&&o[r].m(t,l);e.insert(t,a,l)},p(t,l){if(l[0]&6750847){n=e.ensure_array_like(t[0]);let r;for(r=0;r<n.length;r+=1){const d=G(t,n,r);o[r]?o[r].p(d,l):(o[r]=Q(d),o[r].c(),o[r].m(a.parentNode,a))}for(;r<o.length;r+=1)o[r].d(1);o.length=n.length}},d(t){t&&e.detach(a),e.destroy_each(o,t)}}}function ce(i){let a,n=e.ensure_array_like(i[0]),o=[];for(let t=0;t<n.length;t+=1)o[t]=K(O(i,n,t));return{c(){for(let t=0;t<o.length;t+=1)o[t].c();a=e.empty()},m(t,l){for(let r=0;r<o.length;r+=1)o[r]&&o[r].m(t,l);e.insert(t,a,l)},p(t,l){if(l[0]&6750843){n=e.ensure_array_like(t[0]);let r;for(r=0;r<n.length;r+=1){const d=O(t,n,r);o[r]?o[r].p(d,l):(o[r]=K(d),o[r].c(),o[r].m(a.parentNode,a))}for(;r<o.length;r+=1)o[r].d(1);o.length=n.length}},d(t){t&&e.detach(a),e.destroy_each(o,t)}}}function U(i){let a,n=(i[41]?i[41].currency:"")+"",o;return{c(){a=e.element("span"),o=e.text(n),e.attr(a,"class","InfoCardCurrency")},m(t,l){e.insert(t,a,l),e.append(a,o)},p(t,l){l[0]&1&&n!==(n=(t[41]?t[41].currency:"")+"")&&e.set_data(o,n)},d(t){t&&e.detach(a)}}}function fe(i){let a,n=i[16]("notAvailable")+"",o;return{c(){a=e.element("div"),o=e.text(n),e.attr(a,"class","InfoCardRowValue")},m(t,l){e.insert(t,a,l),e.append(a,o)},p(t,l){l[0]&65536&&n!==(n=t[16]("notAvailable")+"")&&e.set_data(o,n)},d(t){t&&e.detach(a)}}}function _e(i){let a,n=(i[41]?F.getYear(new Date(i[41].expiryDate))>new Date().getFullYear()+30?i[18].clone().add(5,"years").format("d/M/yyyy - h:mm a"):F.format(new Date(i[41].expiryDate),"d/M/yyyy - h:mm a"):"N/A")+"",o;return{c(){a=e.element("div"),o=e.text(n),e.attr(a,"class","InfoCardRowValue")},m(t,l){e.insert(t,a,l),e.append(a,o)},p(t,l){l[0]&1&&n!==(n=(t[41]?F.getYear(new Date(t[41].expiryDate))>new Date().getFullYear()+30?t[18].clone().add(5,"years").format("d/M/yyyy - h:mm a"):F.format(new Date(t[41].expiryDate),"d/M/yyyy - h:mm a"):"N/A")+"")&&e.set_data(o,n)},d(t){t&&e.detach(a)}}}function ge(i){let a,n,o,t,l,r,d,p;function b(){return i[26](i[43])}return{c(){a=e.element("div"),n=e.element("span"),n.textContent="i",o=e.space(),t=e.element("player-account-gaming-limits-popup"),e.attr(n,"class","InfoCardIcon"),e.set_custom_element_data(t,"showpopup",l=i[9][i[43]+1]),e.set_custom_element_data(t,"iteminfoamount",r=i[41].updateAmount),e.set_custom_element_data(t,"currency",i[2]),e.set_custom_element_data(t,"lang",i[3]),e.set_custom_element_data(t,"clientstyling",i[4]),e.set_custom_element_data(t,"clientstylingurl",i[5]),e.set_custom_element_data(t,"mbsource",i[6]),e.attr(a,"class","InfoCardIconWrapper "+(i[17]?"InfoCardIconMobileWrapper":""))},m(L,c){e.insert(L,a,c),e.append(a,n),e.append(a,o),e.append(a,t),d||(p=e.listen(n,"click",e.prevent_default(b)),d=!0)},p(L,c){i=L,c[0]&512&&l!==(l=i[9][i[43]+1])&&e.set_custom_element_data(t,"showpopup",l),c[0]&1&&r!==(r=i[41].updateAmount)&&e.set_custom_element_data(t,"iteminfoamount",r),c[0]&4&&e.set_custom_element_data(t,"currency",i[2]),c[0]&8&&e.set_custom_element_data(t,"lang",i[3]),c[0]&16&&e.set_custom_element_data(t,"clientstyling",i[4]),c[0]&32&&e.set_custom_element_data(t,"clientstylingurl",i[5]),c[0]&64&&e.set_custom_element_data(t,"mbsource",i[6])},d(L){L&&e.detach(a),d=!1,p()}}}function Le(i){let a,n,o;return{c(){a=e.element("div"),a.innerHTML="<span></span>",e.attr(a,"class","InfoCardRemoveIcon")},m(t,l){e.insert(t,a,l),n||(o=e.listen(a,"click",function(){e.is_function(i[21](i[41],i[1]))&&i[21](i[41],i[1]).apply(this,arguments)}),n=!0)},p(t,l){i=t},d(t){t&&e.detach(a),n=!1,o()}}}function Q(i){let a,n,o,t,l=(i[41]?i[16](i[41].period.charAt(0).toLowerCase()+i[41].period.substring(1)):"")+"",r,d,p,b=(i[41]?i[41].amount==="No limit"?i[16]("noLimit"):i[41].amount:0)+"",L,c,w=i[41].amount!="No limit"&&i[41].amount!=i[16]("noLimit"),z,y,A,R=i[16]("expirationDate")+"",j,M,T,k,S,h=w&&U(i);function D(s,_){return s[41].expiryDate?_e:fe}let E=D(i),I=E(i);function C(s,_){if(_[0]&65537&&(k=null),k==null&&(k=s[41].amount!==s[16]("noLimit")&&s[41].amount!=="No limit"&&!s[41].isModified),k)return Le;if(s[41].amount!="No limit"&&s[41].isModified)return ge}let u=C(i,[-1,-1]),f=u&&u(i);return{c(){a=e.element("div"),n=e.element("div"),o=e.element("div"),t=e.element("div"),r=e.text(l),d=e.space(),p=e.element("div"),L=e.text(b),c=e.space(),h&&h.c(),z=e.space(),y=e.element("div"),A=e.element("div"),j=e.text(R),M=e.space(),I.c(),T=e.space(),f&&f.c(),S=e.space(),e.attr(t,"class","InfoCardRowTitle"),e.attr(p,"class","InfoCardRowValue"),e.attr(o,"class","InfoCardRow InfoMainRow"),e.attr(A,"class","InfoCardRowTitle"),e.attr(y,"class","InfoCardRow"),e.attr(n,"class","InfoCardRowContainer"),e.attr(a,"class","InfoCardBox InfoCardMultipleItems")},m(s,_){e.insert(s,a,_),e.append(a,n),e.append(n,o),e.append(o,t),e.append(t,r),e.append(o,d),e.append(o,p),e.append(p,L),e.append(p,c),h&&h.m(p,null),e.append(n,z),e.append(n,y),e.append(y,A),e.append(A,j),e.append(y,M),I.m(y,null),e.append(a,T),f&&f.m(a,null),e.append(a,S)},p(s,_){_[0]&65537&&l!==(l=(s[41]?s[16](s[41].period.charAt(0).toLowerCase()+s[41].period.substring(1)):"")+"")&&e.set_data(r,l),_[0]&65537&&b!==(b=(s[41]?s[41].amount==="No limit"?s[16]("noLimit"):s[41].amount:0)+"")&&e.set_data(L,b),_[0]&65537&&(w=s[41].amount!="No limit"&&s[41].amount!=s[16]("noLimit")),w?h?h.p(s,_):(h=U(s),h.c(),h.m(p,null)):h&&(h.d(1),h=null),_[0]&65536&&R!==(R=s[16]("expirationDate")+"")&&e.set_data(j,R),E===(E=D(s))&&I?I.p(s,_):(I.d(1),I=E(s),I&&(I.c(),I.m(y,null))),u===(u=C(s,_))&&f?f.p(s,_):(f&&f.d(1),f=u&&u(s),f&&(f.c(),f.m(a,S)))},d(s){s&&e.detach(a),h&&h.d(),I.d(),f&&f.d()}}}function ye(i){let a,n=i[16]("noLimit")+"",o;return{c(){a=e.element("span"),o=e.text(n),e.attr(a,"class","InfoCardCurrency")},m(t,l){e.insert(t,a,l),e.append(a,o)},p(t,l){l[0]&65536&&n!==(n=t[16]("noLimit")+"")&&e.set_data(o,n)},d(t){t&&e.detach(a)}}}function we(i){let a=(i[41]?i[41].amount==="No limit"?i[16]("noLimit"):i[41].amount:0)+"",n,o,t=i[41].amount!=="No limit"&&i[41].amount!==i[16]("noLimit"),l,r=t&&J(i);return{c(){n=e.text(a),o=e.space(),r&&r.c(),l=e.empty()},m(d,p){e.insert(d,n,p),e.insert(d,o,p),r&&r.m(d,p),e.insert(d,l,p)},p(d,p){p[0]&65537&&a!==(a=(d[41]?d[41].amount==="No limit"?d[16]("noLimit"):d[41].amount:0)+"")&&e.set_data(n,a),p[0]&65537&&(t=d[41].amount!=="No limit"&&d[41].amount!==d[16]("noLimit")),t?r?r.p(d,p):(r=J(d),r.c(),r.m(l.parentNode,l)):r&&(r.d(1),r=null)},d(d){d&&(e.detach(n),e.detach(o),e.detach(l)),r&&r.d(d)}}}function J(i){let a,n=i[16]("minutes")+"",o;return{c(){a=e.element("span"),o=e.text(n),e.attr(a,"class","InfoCardCurrency")},m(t,l){e.insert(t,a,l),e.append(a,o)},p(t,l){l[0]&65536&&n!==(n=t[16]("minutes")+"")&&e.set_data(o,n)},d(t){t&&e.detach(a)}}}function he(i){let a,n=i[16]("notAvailable")+"",o;return{c(){a=e.element("div"),o=e.text(n),e.attr(a,"class","InfoCardRowValue")},m(t,l){e.insert(t,a,l),e.append(a,o)},p(t,l){l[0]&65536&&n!==(n=t[16]("notAvailable")+"")&&e.set_data(o,n)},d(t){t&&e.detach(a)}}}function ve(i){let a,n=(i[41]?F.getYear(new Date(i[41].expiryDate))>new Date().getFullYear()+30?i[18].clone().add(5,"years").format("d/M/yyyy - h:mm a"):F.format(new Date(i[41].expiryDate),"d/M/yyyy - h:mm a"):"N/A")+"",o;return{c(){a=e.element("div"),o=e.text(n),e.attr(a,"class","InfoCardRowValue")},m(t,l){e.insert(t,a,l),e.append(a,o)},p(t,l){l[0]&1&&n!==(n=(t[41]?F.getYear(new Date(t[41].expiryDate))>new Date().getFullYear()+30?t[18].clone().add(5,"years").format("d/M/yyyy - h:mm a"):F.format(new Date(t[41].expiryDate),"d/M/yyyy - h:mm a"):"N/A")+"")&&e.set_data(o,n)},d(t){t&&e.detach(a)}}}function be(i){let a,n,o,t,l,r,d,p,b;function L(){return i[25](i[43])}return{c(){a=e.element("div"),n=e.element("span"),n.textContent="i",o=e.space(),t=e.element("player-account-gaming-limits-popup"),e.attr(n,"class","InfoCardIcon"),e.set_custom_element_data(t,"showpopup",l=i[9][i[43]+1]),e.set_custom_element_data(t,"iteminfoamount",r=i[41].updateMinutes),e.set_custom_element_data(t,"currency",d=i[16]("minutes")),e.set_custom_element_data(t,"lang",i[3]),e.set_custom_element_data(t,"clientstyling",i[4]),e.set_custom_element_data(t,"clientstylingurl",i[5]),e.set_custom_element_data(t,"mbsource",i[6]),e.attr(a,"class","InfoCardIconWrapper "+(i[17]?"InfoCardIconMobileWrapper":""))},m(c,w){e.insert(c,a,w),e.append(a,n),e.append(a,o),e.append(a,t),p||(b=e.listen(n,"click",e.prevent_default(L)),p=!0)},p(c,w){i=c,w[0]&512&&l!==(l=i[9][i[43]+1])&&e.set_custom_element_data(t,"showpopup",l),w[0]&1&&r!==(r=i[41].updateMinutes)&&e.set_custom_element_data(t,"iteminfoamount",r),w[0]&65536&&d!==(d=i[16]("minutes"))&&e.set_custom_element_data(t,"currency",d),w[0]&8&&e.set_custom_element_data(t,"lang",i[3]),w[0]&16&&e.set_custom_element_data(t,"clientstyling",i[4]),w[0]&32&&e.set_custom_element_data(t,"clientstylingurl",i[5]),w[0]&64&&e.set_custom_element_data(t,"mbsource",i[6])},d(c){c&&e.detach(a),p=!1,b()}}}function Ce(i){let a,n,o;return{c(){a=e.element("div"),a.innerHTML="<span></span>",e.attr(a,"class","InfoCardRemoveIcon")},m(t,l){e.insert(t,a,l),n||(o=e.listen(a,"click",function(){e.is_function(i[21](i[41],i[1]))&&i[21](i[41],i[1]).apply(this,arguments)}),n=!0)},p(t,l){i=t},d(t){t&&e.detach(a),n=!1,o()}}}function K(i){let a,n,o,t,l=(i[41]?i[16](i[41].period.charAt(0).toLowerCase()+i[41].period.substring(1)):"")+"",r,d,p,b,L,c,w=i[16]("expirationDate")+"",z,y,A,R,j;function M(u,f){return u[41].amount!==0?we:ye}let T=M(i),k=T(i);function S(u,f){return u[41].expiryDate?ve:he}let h=S(i),D=h(i);function E(u,f){if(f[0]&65537&&(R=null),R==null&&(R=u[41].amount!==u[16]("noLimit")&&u[41].amount!=="No limit"&&!u[41].isModified),R)return Ce;if(u[41].amount!="No limit"&&u[41].isModified)return be}let I=E(i,[-1,-1]),C=I&&I(i);return{c(){a=e.element("div"),n=e.element("div"),o=e.element("div"),t=e.element("div"),r=e.text(l),d=e.space(),p=e.element("div"),k.c(),b=e.space(),L=e.element("div"),c=e.element("div"),z=e.text(w),y=e.space(),D.c(),A=e.space(),C&&C.c(),j=e.space(),e.attr(t,"class","InfoCardRowTitle"),e.attr(p,"class","InfoCardRowValue"),e.attr(o,"class","InfoCardRow InfoMainRow"),e.attr(c,"class","InfoCardRowTitle"),e.attr(L,"class","InfoCardRow"),e.attr(n,"class","InfoCardRowContainer"),e.attr(a,"class","InfoCardBox InfoCardMultipleItems")},m(u,f){e.insert(u,a,f),e.append(a,n),e.append(n,o),e.append(o,t),e.append(t,r),e.append(o,d),e.append(o,p),k.m(p,null),e.append(n,b),e.append(n,L),e.append(L,c),e.append(c,z),e.append(L,y),D.m(L,null),e.append(a,A),C&&C.m(a,null),e.append(a,j)},p(u,f){f[0]&65537&&l!==(l=(u[41]?u[16](u[41].period.charAt(0).toLowerCase()+u[41].period.substring(1)):"")+"")&&e.set_data(r,l),T===(T=M(u))&&k?k.p(u,f):(k.d(1),k=T(u),k&&(k.c(),k.m(p,null))),f[0]&65536&&w!==(w=u[16]("expirationDate")+"")&&e.set_data(z,w),h===(h=S(u))&&D?D.p(u,f):(D.d(1),D=h(u),D&&(D.c(),D.m(L,null))),I===(I=E(u,f))&&C?C.p(u,f):(C&&C.d(1),C=I&&I(u),C&&(C.c(),C.m(a,j)))},d(u){u&&e.detach(a),k.d(),D.d(),C&&C.d()}}}function Z(i){let a,n=i[16]("removeLimits")+"",o,t,l;return{c(){a=e.element("button"),o=e.text(n),e.attr(a,"class","InfoCardRemoveButton")},m(r,d){e.insert(r,a,d),e.append(a,o),t||(l=e.listen(a,"click",i[28]),t=!0)},p(r,d){d[0]&65536&&n!==(n=r[16]("removeLimits")+"")&&e.set_data(o,n)},d(r){r&&e.detach(a),t=!1,l()}}}function X(i){let a,n,o;return{c(){a=e.element("player-account-modal"),n=e.element("player-account-gaming-limits-confirmation-modal"),e.set_custom_element_data(n,"modaltext",o=i[11]?i[13]:i[14]),e.set_custom_element_data(n,"modalsource","infoCard"),e.set_custom_element_data(n,"lang",i[3]),e.set_custom_element_data(n,"clientstyling",i[4]),e.set_custom_element_data(n,"clientstylingurl",i[5]),e.set_custom_element_data(n,"mbsource",i[6]),e.set_custom_element_data(a,"clientstyling",i[4]),e.set_custom_element_data(a,"clientstylingurl",i[5]),e.set_custom_element_data(a,"mbsource",i[6])},m(t,l){e.insert(t,a,l),e.append(a,n)},p(t,l){l[0]&26624&&o!==(o=t[11]?t[13]:t[14])&&e.set_custom_element_data(n,"modaltext",o),l[0]&8&&e.set_custom_element_data(n,"lang",t[3]),l[0]&16&&e.set_custom_element_data(n,"clientstyling",t[4]),l[0]&32&&e.set_custom_element_data(n,"clientstylingurl",t[5]),l[0]&64&&e.set_custom_element_data(n,"mbsource",t[6]),l[0]&16&&e.set_custom_element_data(a,"clientstyling",t[4]),l[0]&32&&e.set_custom_element_data(a,"clientstylingurl",t[5]),l[0]&64&&e.set_custom_element_data(a,"mbsource",t[6])},d(t){t&&e.detach(a)}}}function ke(i){let a;function n(l,r){return l[8]?ue:de}let o=n(i),t=o(i);return{c(){a=e.element("div"),t.c()},m(l,r){e.insert(l,a,r),t.m(a,null),i[29](a)},p(l,r){o===(o=n(l))&&t?t.p(l,r):(t.d(1),t=o(l),t&&(t.c(),t.m(a,null)))},i:e.noop,o:e.noop,d(l){l&&e.detach(a),t.d(),i[29](null)}}}function Ie(i,a,n){let o;e.component_subscribe(i,e.$format,m=>n(16,o=m));let{limitsdata:t=[]}=a,{limitname:l=""}=a,{currency:r=""}=a,{lang:d="en"}=a,{clientstyling:p=""}=a,{clientstylingurl:b=""}=a,{mbsource:L}=a,{translationurl:c=""}=a;const w=()=>{fetch(c).then(v=>v.json()).then(v=>{Object.keys(v).forEach(B=>{H(B,v[B])})}).catch(v=>{console.log(v)})};Object.keys(Y).forEach(m=>{H(m,Y[m])});let z=!0,y,A=new Array(5).fill(0),R=["Daily","Weekly","Monthly"],j=!0,M=!0,T=!1,k=window.navigator.userAgent,S=e.getDevice(k)!=="PC",h="",D="",E=!0,I=new Date;const C=m=>{window.postMessage({type:"EditPlayerAccountGamingLimits",edit:m,name:l},window.location.href)},u=m=>{n(12,T=!0),n(11,M=!0),window.postMessage({type:"ShowLimitsConfirmationModal"},window.location.href),window.postMessage({type:"DeleteLimitsItem",removeData:m,removeName:l},window.location.href)},f=(m,v)=>{n(12,T=!0),n(11,M=!1),window.postMessage({type:"ShowLimitsConfirmationModal"},window.location.href),window.postMessage({type:"DeleteLimitsItem",removeData:m,removeName:v},window.location.href)},s=m=>{window.postMessage({type:"ClosePlayerAccountGamingLimitsPopup"},window.location.href),setTimeout(()=>{n(9,A[m]=!0,A)},50)},_=m=>{let v=[...m];R.forEach((B,W)=>{v.find(P=>P.period===B)||(v=g(v,W,B));const q=v.find(P=>P.period===B);q&&q.amount!=="No limit"&&n(10,j=!1)}),m.splice(0,m.length,...v),n(8,z=!1)},g=(m,v,B)=>{const W={period:B,amount:"No limit",currency:"",isModified:!1,expiryDate:""},q=[...m];return q.splice(v,0,W),q},N=(m,v)=>m.period==="Weekly"&&v.period==="Daily"||m.period==="Monthly"&&v.period==="Daily"||m.period==="Monthly"&&v.period==="Weekly"?1:m.period==="Daily"&&v.period==="Weekly"||m.period==="Daily"&&v.period==="Monthly"||m.period==="Weekly"&&v.period==="Monthly"?-1:0,$=()=>{let m="";m=l==="Time Limit"?"time limit":l==="Deposit Limit"?"deposit limit":l==="Wagering Limit"?"wagering limit":"loss limit",n(13,h=o("removeLimitsText",{values:{limit:m}})),n(14,D=o("removeLimitText",{values:{limit:m}}))},ee=m=>{m.forEach(v=>{v.isModified&&n(15,E=!1)})},te=()=>{me(d),$(),ee(t),_(t),t.sort(N)},V=m=>{if(m.data)switch(m.data.type){case"ClosePlayerAccountGamingLimitsPopup":n(9,A=new Array(5).fill(0));break;case"ModalClosed":window.postMessage({type:"EnableScroll"},window.location.href),n(12,T=!1),n(11,M=!1);break}};e.onMount(()=>(window.addEventListener("message",V,!1),()=>{window.removeEventListener("message",V)}));const ie=()=>s(0),ae=m=>s(m+1),ne=m=>s(m+1),oe=()=>C(t),le=()=>u(t);function re(m){e.binding_callbacks[m?"unshift":"push"](()=>{y=m,n(7,y)})}return i.$$set=m=>{"limitsdata"in m&&n(0,t=m.limitsdata),"limitname"in m&&n(1,l=m.limitname),"currency"in m&&n(2,r=m.currency),"lang"in m&&n(3,d=m.lang),"clientstyling"in m&&n(4,p=m.clientstyling),"clientstylingurl"in m&&n(5,b=m.clientstylingurl),"mbsource"in m&&n(6,L=m.mbsource),"translationurl"in m&&n(23,c=m.translationurl)},i.$$.update=()=>{i.$$.dirty[0]&11&&t&&l&&d&&te(),i.$$.dirty[0]&144&&p&&y&&e.setClientStyling(y,p),i.$$.dirty[0]&160&&b&&y&&e.setClientStylingURL(y,b),i.$$.dirty[0]&192&&L&&y&&e.setStreamStyling(y,`${L}.Style`),i.$$.dirty[0]&8388608&&c&&w()},[t,l,r,d,p,b,L,y,z,A,j,M,T,h,D,E,o,S,I,C,u,f,s,c,ie,ae,ne,oe,le,re]}class x extends e.SvelteComponent{constructor(a){super(),e.init(this,a,Ie,ke,e.safe_not_equal,{limitsdata:0,limitname:1,currency:2,lang:3,clientstyling:4,clientstylingurl:5,mbsource:6,translationurl:23},se,[-1,-1])}get limitsdata(){return this.$$.ctx[0]}set limitsdata(a){this.$$set({limitsdata:a}),e.flush()}get limitname(){return this.$$.ctx[1]}set limitname(a){this.$$set({limitname:a}),e.flush()}get currency(){return this.$$.ctx[2]}set currency(a){this.$$set({currency:a}),e.flush()}get lang(){return this.$$.ctx[3]}set lang(a){this.$$set({lang:a}),e.flush()}get clientstyling(){return this.$$.ctx[4]}set clientstyling(a){this.$$set({clientstyling:a}),e.flush()}get clientstylingurl(){return this.$$.ctx[5]}set clientstylingurl(a){this.$$set({clientstylingurl:a}),e.flush()}get mbsource(){return this.$$.ctx[6]}set mbsource(a){this.$$set({mbsource:a}),e.flush()}get translationurl(){return this.$$.ctx[23]}set translationurl(a){this.$$set({translationurl:a}),e.flush()}}e.create_custom_element(x,{limitsdata:{},limitname:{},currency:{},lang:{},clientstyling:{},clientstylingurl:{},mbsource:{},translationurl:{}},[],[],!0);exports.default=x;
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./GeneralLogout-BP5hPAT6.cjs");require("../lazy/player-account-gaming-limits-popup-DszLLCCO.cjs");require("../lazy/player-account-gaming-limits-group-edit-DUE2MKhN.cjs");const F=require("./PlayerAccountGamingLimitsGroupEdit-DEIR-hxX.cjs");function H(i,a){e.addMessages(i,a)}function me(i){e.$locale.set(i)}const Y={en:{name:"Info",amountChanged:"Your limit has been changed or increased: {amount} {currency}. You will have to wait for the expiration date for your new limit to take effect:",daily:"Daily",weekly:"Weekly",monthly:"Monthly",removeLimitText:"Are you sure you want to remove the {limit}?",removeLimitsText:"Are you sure you want to remove all the {limit}s?",minutes:"minutes",noLimit:"No limit",expirationDate:"Expiration date",notAvailable:"N/A",edit:"Edit",removeLimits:"Remove Limits",depositLimit:"Deposit Limit",timeLimit:"Time Limit",wageringLimit:"Wagering Limit",lossLimit:"Loss Limit",timeLimitLower:"time limit",depositLimitLower:"deposit limit",wageringLimitLower:"wagering limit",lossLimitLower:"loss limit",time:"time",currency:"currency"},"zh-hk":{name:"信息",amountChanged:"您的限額已更改或增加:{amount} {currency}。 您必須等待到期日期才能使新限制生效:",daily:"日常的",weekly:"每週",monthly:"月刊",removeLimitText:"您確定要刪除 {limit} 嗎?",removeLimitsText:"您確定要刪除所有 {limit} 嗎?",minutes:"分鐘",noLimit:"沒有限制",expirationDate:"截止日期",notAvailable:"不適用",edit:"編輯",removeLimits:"移除限制",depositLimit:"存款限額",timeLimit:"時限",wageringLimit:"投注限額",lossLimit:"損失限額",timeLimitLower:"時限",depositLimitLower:"存款限額",wageringLimitLower:"投注限額",lossLimitLower:"損失限額",time:"時間",currency:"貨幣"},fr:{name:"Info",amountChanged:"Votre limite a été modifiée ou augmentée: {amount} {currency}. Vous devrez attendre la date d'expiration pour que votre nouvelle limite prenne effet:",daily:"Quotidiennement",weekly:"Hebdomadaire",monthly:"Mensuel",removeLimitText:"êtes-vous sûr de vouloir supprimer la{limit}?",removeLimitsText:"êtes-vous sûr de vouloir supprimer tous les {limit}s?",minutes:"minutes",noLimit:"Aucune limite",expirationDate:"Date d'expiration",notAvailable:"N/A",edit:"Modifier",removeLimits:"Supprimer les limites",depositLimit:"Limite de dépôt",timeLimit:"Limite de temps",wageringLimit:"Limite de mise",lossLimit:"Limite de perte",timeLimitLower:"Limite de temps",depositLimitLower:"Limite de dépôt",wageringLimitLower:"Limite de mise",lossLimitLower:"Limite de perte",time:"Temps",currency:"Monnaie"},ro:{name:"Informații",amountChanged:"Limita ta a fost schimbată sau a crescut: {amount} {currency}. Trebuie să aștepți până la data de expirare pentru ca noua ta limită să intre în vigoare:",daily:"Zilnic",weekly:"Săptămânal",monthly:"Lunar",removeLimitText:"Ești sigur că vrei să elimini această limită?",removeLimitsText:"Ești sigur că vrei să elimini toate limitele?",minutes:"minute",noLimit:"Fără Limită",expirationDate:"Dată Expirare",notAvailable:"N/A",edit:"Editează",removeLimits:"Elimină limitele",depositLimit:"Limită de depunere",timeLimit:"Limită de timp",wageringLimit:"Limită de pariere",lossLimit:"Limite de pierdere",timeLimitLower:"limită de timp",depositLimitLower:"limită de depunere",wageringLimitLower:"limită de pariere",lossLimitLower:"limită de pierdere",time:"timp",currency:"monedă"},es:{name:"Información",amountChanged:"Tú limite ha sido cambiado o incrementado: {amount} {currency}. Tendrás que esperar a la fecha de expiración para que tu nuevo límite entre en vigencia:",daily:"Diario",weekly:"Semanal",monthly:"Mensual",removeLimitText:"Estas seguro de quitar el {limit}?",removeLimitsText:"Estas seguro de retirar todos los {limit}es?",minutes:"minutos",noLimit:"Sin límite",expirationDate:"Fecha de expiración",notAvailable:"No Disponible",edit:"Editar",removeLimits:"Retirar límites",depositLimit:"Límite de depósito",timeLimit:"Límite de tiempo",wageringLimit:"Límite de apuestas",lossLimit:"Límite de pérdida",timeLimitLower:"Límite de tiempo",depositLimitLower:"Límite de depósito",wageringLimitLower:"Límite de apuestas",lossLimitLower:"Límite de pérdida",time:"tiempo",currency:"moneda"},pt:{name:"Informação",amountChanged:"Seu limite foi alterado ou aumentado: {amount} {currency}. Você terá que aguardar a data de expiração para que seu novo limite entre em vigor:",daily:"Diariamente",weekly:"Semanalmente",monthly:"Mensalmente",removeLimitText:"Tem certeza de que deseja remover o {limite}??",removeLimitsText:"Tem certeza de que deseja remover todos os {limite}s??",minutes:"Minutos",noLimit:"Sem limite",expirationDate:"Data de Validade",notAvailable:"Não Disponível",edit:"Editar",removeLimits:"Remover limites",depositLimit:"Limite de Depósito",timeLimit:"Limite de Tempo",wageringLimit:"Limite de Apostas",lossLimit:"Limite de Perda",timeLimitLower:"Limite de tempo",depositLimitLower:"limite de depósito",wageringLimitLower:"limite de apostas",lossLimitLower:"limite de perda",time:"Tempo",currency:"Moeda"},hr:{name:"Informacije",amountChanged:"Vaše ograničenje je promijenjeno ili povećano: {iznos} {valuta}. Morat ćete pričekati datum isteka kako bi vaše novo ograničenje stupilo na snagu:",daily:"Dnevno",weekly:"Tjedno",monthly:"Mjesečno",removeLimitText:"Jeste li sigurni da želite ukloniti {limit}?",removeLimitsText:"Jeste li sigurni da želite ukloniti sve {limit}e?",minutes:"minute",noLimit:"Nema ograničenja",expirationDate:"Datum isteka",notAvailable:"N/A",edit:"Uredi",removeLimits:"Ukloni ograničenja",depositLimit:"Ograničenje uplate",timeLimit:"Vremensko ograničenje",wageringLimit:"Ograničenje igranja",lossLimit:"Ograničenje gubitka",timeLimitLower:"vremensko ograničenje",depositLimitLower:"ograničenje uplate",wageringLimitLower:"ograničenje igranja",lossLimitLower:"ograničenje gubitka",time:"vrijeme",currency:"valuta"},"pt-br":{name:"Informação",amountChanged:"Seu limite foi alterado ou aumentado: {amount} {currency}. Você terá que aguardar a data de expiração para que seu novo limite entre em vigor:",daily:"Diário",weekly:"Semanalmente",monthly:"Por mês",removeLimitText:"Tem certeza de que deseja remover o limite {limit}?",removeLimitsText:"Tem certeza de que deseja remover todos os limites {limit}s?",minutes:"minutos",noLimit:"Sem limite",expirationDate:"Data de expiração",notAvailable:"Não disponível",edit:"Editar",removeLimits:"Remover limites",depositLimit:"Limite de depósito",timeLimit:"Limite de tempo",wageringLimit:"Limite de Quantidade de Apostas",lossLimit:"Limite de perda",timeLimitLower:"Limite de tempo",depositLimitLower:"Limite de depósito",wageringLimitLower:"Limite de Quantidade de Apostas",lossLimitLower:"Limite de perda",time:"tempo",currency:"moeda"},"es-mx":{name:"Información",amountChanged:"Su límite ha sido cambiado o aumentado:{amount} {currency}. Tendrá que esperar para su fecha de expiración para que su nuevo límite entre en efecto:",daily:"Diario",weekly:"Semanal",monthly:"Mensual",removeLimitText:"¿Está seguro que quiere remover el límite {limit}?",removeLimitsText:"¿Está seguro que quiere remover todos los límites {limit}s?",minutes:"minutos",noLimit:"Sin límite",expirationDate:"Fecha de expiración",notAvailable:"No disponible",edit:"Editar",removeLimits:"Remover Límites",depositLimit:"Límite de depósito",timeLimit:"Límite de tiempo",wageringLimit:"Límite de monto de apuestas",lossLimit:"Límite de pérdidas",timeLimitLower:"Límite de tiempo",depositLimitLower:"Límite de depósito",wageringLimitLower:"Límite de monto de apuestas",lossLimitLower:"Límite de pérdidas",time:"tiempo",currency:"moneda"},tr:{name:"Bilgi",amountChanged:"Limitiniz değiştirildi veya artırıldı: {amount} {currency}. Yeni limitinizin geçerlilik kazanması için son kullanma tarihini beklemeniz gerekecektir:",daily:"Günlük",weekly:"Haftalık",monthly:"Aylık",removeLimitText:"{limit} sınırını kaldırmak istediğinizden emin misiniz?",removeLimitsText:"Tüm {limit}'leri kaldırmak istediğinizden emin misiniz?",minutes:"dakika",noLimit:"Limit yok",expirationDate:"Son kullanma tarihi",notAvailable:"Yok",edit:"Düzenlemek",removeLimits:"Sınırları Kaldır",depositLimit:"Para Yatırma Limiti",timeLimit:"Zaman sınırı",wageringLimit:"Bahis Limiti",lossLimit:"Kayıp Limiti",timeLimitLower:"zaman sınırı",depositLimitLower:"para yatırma limiti",wageringLimitLower:"bahis limiti",lossLimitLower:"kayıp limiti",time:"zaman",currency:"para birimi"},"en-us":{name:"Info",amountChanged:"Your limit has been changed or increased: {amount} {currency}. You will have to wait for the expiration date for your new limit to take effect:",daily:"Daily",weekly:"Weekly",monthly:"Monthly",removeLimitText:"Are you sure you want to remove the {limit}?",removeLimitsText:"Are you sure you want to remove all the {limit}s?",minutes:"minutes",noLimit:"No limit",expirationDate:"Expiration date",notAvailable:"N/A",edit:"Edit",removeLimits:"Remove Limits",depositLimit:"Deposit Limit",timeLimit:"Time Limit",wageringLimit:"Wagering Limit",lossLimit:"Loss Limit",timeLimitLower:"time limit",depositLimitLower:"deposit limit",wageringLimitLower:"wagering limit",lossLimitLower:"loss limit",time:"time",currency:"currency"}};function se(i){e.append_styles(i,"svelte-8fdpga",'@charset "UTF-8";.InfoCard{padding:20px;color:var(--emw--color-black, #000000);background:var(--emw--color-white, #FFFFFF);box-shadow:0 3px 12px var(--emw--color-gray-100, #E6E6E6);border-radius:5px;display:block}.InfoCardHeader{display:flex;flex-direction:row;justify-content:space-between;padding-bottom:10px}.InfoCardHeader h5{margin:0;font-weight:normal;font-size:16px;line-height:20px}.InfoCardHeader span{display:flex;width:20px;height:20px;background:transparent;border:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));align-items:center;justify-content:center;border-radius:30px}.InfoCardHeader.InfoCardMobileHeader h5{font-size:14px}.InfoCardHeader.InfoCardMobileHeader span{width:16px;height:16px;font-size:12px}.InfoCardIcon{cursor:pointer}.InfoCardRow{display:flex;flex-direction:row;justify-content:space-between;font-size:14px}.InfoCardRow:first-child{padding-bottom:5px}.InfoCardTableRow>.InfoCardRow:first-child{padding-bottom:5px}.InfoCardTableRow>.InfoCardRow:first-child .InfoCardRowTitle{font-weight:500}.InfoCardTableRow>.InfoCardRow:nth-child(2){font-size:12px}.InfoCardTableHeaderBox{display:flex;flex-direction:column}.InfoCardRowTitle{font-size:12px;font-weight:300}.InfoCardRowValue{font-size:12px;color:var(--emw--color-gray-300, #58586B);font-weight:300}.InfoCardRemoveIcon{display:inline-block;padding:5px 0 5px 15px;cursor:pointer}.InfoCardRemoveIcon span{display:inline-block;height:18px;width:18px;border-radius:50px;position:relative;color:var(--emw--color-secondary, var(--emw--color-secondary, #FD2839));border:1px solid var(--emw--color-secondary, var(--emw--color-secondary, #FD2839))}.InfoCardRemoveIcon span:after{position:absolute;top:0;bottom:0;left:0;right:0;content:"❌";font-size:7px;color:var(--emw--color-secondary, var(--emw--color-secondary, #FD2839));line-height:18px;text-align:center}.InfoCardBox{padding:15px 5px}.InfoCardBox.InfoCardMultipleItems{display:flex;flex-direction:row}.InfoCardBox:nth-child(even){background:var(--emw--color-gray-50, #F9F8F8)}.InfoCardBox .InfoCardRowContainer{flex:1 auto}.InfoMainRow .InfoCardRowTitle{font-size:14px;font-weight:400}.InfoMainRow .InfoCardRowValue{font-size:14px}.InfoCardControlArea{display:inline-flex;margin-top:35px}.InfoCardControlArea .InfoCardEditButton,.InfoCardControlArea .InfoCardRemoveButton{cursor:pointer;border-radius:5px;width:120px;height:36px;display:flex;align-items:center;justify-content:center;font-size:12px;color:var(--emw--color-black, #000000);text-transform:uppercase;transition-duration:0.3s;box-sizing:border-box}.InfoCardControlArea .InfoCardEditButton{background:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));border:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));color:var(--emw--button-typography, var(--emw--color-white, #FFFFFF));margin-right:10px}.InfoCardControlArea .InfoCardEditButton.InfoCardButtonDisabled{background:transparent;border:1px solid var(--emw--color-black, #000000);cursor:not-allowed;opacity:0.6}.InfoCardControlArea .InfoCardRemoveButton{background:transparent;border:1px solid var(--emw--color-black, #000000)}.InfoCardControlArea .InfoCardRemoveButton.InfoCardButtonDisabled{background:transparent;border:1px solid var(--emw--color-black, #000000);cursor:not-allowed;opacity:0.6}.InfoCardIconWrapper{position:relative;display:inline-block;padding:5px 0 5px 15px;cursor:pointer}.InfoCardIconWrapper span{display:flex;width:20px;height:20px;background:transparent;border:1px solid ar(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));align-items:center;justify-content:center;border-radius:30px}.InfoCardIconWrapper.InfoCardIconMobileWrapper{position:initial}.InfoCardBox .InfoCardIcon{color:var(--emw--color-gray-300, #58586B);border:1px solid var(--emw--color-gray-300, #58586B)}')}function G(i,a,n){const o=i.slice();return o[41]=a[n],o[43]=n,o}function O(i,a,n){const o=i.slice();return o[41]=a[n],o[43]=n,o}function de(i){let a,n,o,t,l=(i[0]?i[16](i[1].charAt(0).toLowerCase()+i[1].substring(1).replace(/\s/g,"")):"")+"",r,d,p,b,L,c,w,z,y,A,R,j,M,T,k=i[16]("edit")+"",S,h,D,E,I;function C(g,N){return g[1]==="Time Limit"?ce:pe}let u=C(i),f=u(i),s=!i[10]&&!i[0].isModified&&i[15]&&Z(i),_=i[12]&&X(i);return{c(){a=e.element("div"),n=e.element("div"),o=e.element("div"),t=e.element("h5"),r=e.text(l),d=e.space(),p=e.element("div"),b=e.element("span"),b.textContent="i",L=e.space(),c=e.element("player-account-gaming-limits-popup"),z=e.space(),y=e.element("div"),A=e.element("div"),R=e.element("div"),f.c(),j=e.space(),M=e.element("div"),T=e.element("button"),S=e.text(k),h=e.space(),s&&s.c(),D=e.space(),_&&_.c(),e.attr(b,"class","InfoCardIcon"),e.set_custom_element_data(c,"showpopup",w=i[9][0]),e.set_custom_element_data(c,"lang",i[3]),e.set_custom_element_data(c,"clientstyling",i[4]),e.set_custom_element_data(c,"clientstylingurl",i[5]),e.set_custom_element_data(c,"mbsource",i[6]),e.attr(p,"class","InfoCardIconWrapper "+(i[17]?"InfoCardIconMobileWrapper":"")),e.attr(o,"class","InfoCardHeader "+(i[17]?"InfoCardMobileHeader":"")),e.attr(R,"class","InfoCardTableRow"),e.attr(A,"class","InfoCardTableWrapper"),e.attr(T,"class","InfoCardEditButton"),e.attr(M,"class","InfoCardControlArea"),e.attr(y,"class","InfoCard"),e.attr(n,"class","InfoCardWrapper"),e.attr(a,"class","InfoCardSection")},m(g,N){e.insert(g,a,N),e.append(a,n),e.append(n,o),e.append(o,t),e.append(t,r),e.append(o,d),e.append(o,p),e.append(p,b),e.append(p,L),e.append(p,c),e.append(n,z),e.append(n,y),e.append(y,A),e.append(A,R),f.m(R,null),e.append(y,j),e.append(y,M),e.append(M,T),e.append(T,S),e.append(M,h),s&&s.m(M,null),e.append(a,D),_&&_.m(a,null),E||(I=[e.listen(b,"click",e.prevent_default(i[24])),e.listen(T,"click",i[27])],E=!0)},p(g,N){N[0]&65539&&l!==(l=(g[0]?g[16](g[1].charAt(0).toLowerCase()+g[1].substring(1).replace(/\s/g,"")):"")+"")&&e.set_data(r,l),N[0]&512&&w!==(w=g[9][0])&&e.set_custom_element_data(c,"showpopup",w),N[0]&8&&e.set_custom_element_data(c,"lang",g[3]),N[0]&16&&e.set_custom_element_data(c,"clientstyling",g[4]),N[0]&32&&e.set_custom_element_data(c,"clientstylingurl",g[5]),N[0]&64&&e.set_custom_element_data(c,"mbsource",g[6]),u===(u=C(g))&&f?f.p(g,N):(f.d(1),f=u(g),f&&(f.c(),f.m(R,null))),N[0]&65536&&k!==(k=g[16]("edit")+"")&&e.set_data(S,k),!g[10]&&!g[0].isModified&&g[15]?s?s.p(g,N):(s=Z(g),s.c(),s.m(M,null)):s&&(s.d(1),s=null),g[12]?_?_.p(g,N):(_=X(g),_.c(),_.m(a,null)):_&&(_.d(1),_=null)},d(g){g&&e.detach(a),f.d(),s&&s.d(),_&&_.d(),E=!1,e.run_all(I)}}}function ue(i){let a;return{c(){a=e.element("div"),e.attr(a,"class","ModalLoader")},m(n,o){e.insert(n,a,o)},p:e.noop,d(n){n&&e.detach(a)}}}function pe(i){let a,n=e.ensure_array_like(i[0]),o=[];for(let t=0;t<n.length;t+=1)o[t]=Q(G(i,n,t));return{c(){for(let t=0;t<o.length;t+=1)o[t].c();a=e.empty()},m(t,l){for(let r=0;r<o.length;r+=1)o[r]&&o[r].m(t,l);e.insert(t,a,l)},p(t,l){if(l[0]&6750847){n=e.ensure_array_like(t[0]);let r;for(r=0;r<n.length;r+=1){const d=G(t,n,r);o[r]?o[r].p(d,l):(o[r]=Q(d),o[r].c(),o[r].m(a.parentNode,a))}for(;r<o.length;r+=1)o[r].d(1);o.length=n.length}},d(t){t&&e.detach(a),e.destroy_each(o,t)}}}function ce(i){let a,n=e.ensure_array_like(i[0]),o=[];for(let t=0;t<n.length;t+=1)o[t]=K(O(i,n,t));return{c(){for(let t=0;t<o.length;t+=1)o[t].c();a=e.empty()},m(t,l){for(let r=0;r<o.length;r+=1)o[r]&&o[r].m(t,l);e.insert(t,a,l)},p(t,l){if(l[0]&6750843){n=e.ensure_array_like(t[0]);let r;for(r=0;r<n.length;r+=1){const d=O(t,n,r);o[r]?o[r].p(d,l):(o[r]=K(d),o[r].c(),o[r].m(a.parentNode,a))}for(;r<o.length;r+=1)o[r].d(1);o.length=n.length}},d(t){t&&e.detach(a),e.destroy_each(o,t)}}}function U(i){let a,n=(i[41]?i[41].currency:"")+"",o;return{c(){a=e.element("span"),o=e.text(n),e.attr(a,"class","InfoCardCurrency")},m(t,l){e.insert(t,a,l),e.append(a,o)},p(t,l){l[0]&1&&n!==(n=(t[41]?t[41].currency:"")+"")&&e.set_data(o,n)},d(t){t&&e.detach(a)}}}function fe(i){let a,n=i[16]("notAvailable")+"",o;return{c(){a=e.element("div"),o=e.text(n),e.attr(a,"class","InfoCardRowValue")},m(t,l){e.insert(t,a,l),e.append(a,o)},p(t,l){l[0]&65536&&n!==(n=t[16]("notAvailable")+"")&&e.set_data(o,n)},d(t){t&&e.detach(a)}}}function _e(i){let a,n=(i[41]?F.getYear(new Date(i[41].expiryDate))>new Date().getFullYear()+30?i[18].clone().add(5,"years").format("d/M/yyyy - h:mm a"):F.format(new Date(i[41].expiryDate),"d/M/yyyy - h:mm a"):"N/A")+"",o;return{c(){a=e.element("div"),o=e.text(n),e.attr(a,"class","InfoCardRowValue")},m(t,l){e.insert(t,a,l),e.append(a,o)},p(t,l){l[0]&1&&n!==(n=(t[41]?F.getYear(new Date(t[41].expiryDate))>new Date().getFullYear()+30?t[18].clone().add(5,"years").format("d/M/yyyy - h:mm a"):F.format(new Date(t[41].expiryDate),"d/M/yyyy - h:mm a"):"N/A")+"")&&e.set_data(o,n)},d(t){t&&e.detach(a)}}}function ge(i){let a,n,o,t,l,r,d,p;function b(){return i[26](i[43])}return{c(){a=e.element("div"),n=e.element("span"),n.textContent="i",o=e.space(),t=e.element("player-account-gaming-limits-popup"),e.attr(n,"class","InfoCardIcon"),e.set_custom_element_data(t,"showpopup",l=i[9][i[43]+1]),e.set_custom_element_data(t,"iteminfoamount",r=i[41].updateAmount),e.set_custom_element_data(t,"currency",i[2]),e.set_custom_element_data(t,"lang",i[3]),e.set_custom_element_data(t,"clientstyling",i[4]),e.set_custom_element_data(t,"clientstylingurl",i[5]),e.set_custom_element_data(t,"mbsource",i[6]),e.attr(a,"class","InfoCardIconWrapper "+(i[17]?"InfoCardIconMobileWrapper":""))},m(L,c){e.insert(L,a,c),e.append(a,n),e.append(a,o),e.append(a,t),d||(p=e.listen(n,"click",e.prevent_default(b)),d=!0)},p(L,c){i=L,c[0]&512&&l!==(l=i[9][i[43]+1])&&e.set_custom_element_data(t,"showpopup",l),c[0]&1&&r!==(r=i[41].updateAmount)&&e.set_custom_element_data(t,"iteminfoamount",r),c[0]&4&&e.set_custom_element_data(t,"currency",i[2]),c[0]&8&&e.set_custom_element_data(t,"lang",i[3]),c[0]&16&&e.set_custom_element_data(t,"clientstyling",i[4]),c[0]&32&&e.set_custom_element_data(t,"clientstylingurl",i[5]),c[0]&64&&e.set_custom_element_data(t,"mbsource",i[6])},d(L){L&&e.detach(a),d=!1,p()}}}function Le(i){let a,n,o;return{c(){a=e.element("div"),a.innerHTML="<span></span>",e.attr(a,"class","InfoCardRemoveIcon")},m(t,l){e.insert(t,a,l),n||(o=e.listen(a,"click",function(){e.is_function(i[21](i[41],i[1]))&&i[21](i[41],i[1]).apply(this,arguments)}),n=!0)},p(t,l){i=t},d(t){t&&e.detach(a),n=!1,o()}}}function Q(i){let a,n,o,t,l=(i[41]?i[16](i[41].period.charAt(0).toLowerCase()+i[41].period.substring(1)):"")+"",r,d,p,b=(i[41]?i[41].amount==="No limit"?i[16]("noLimit"):i[41].amount:0)+"",L,c,w=i[41].amount!="No limit"&&i[41].amount!=i[16]("noLimit"),z,y,A,R=i[16]("expirationDate")+"",j,M,T,k,S,h=w&&U(i);function D(s,_){return s[41].expiryDate?_e:fe}let E=D(i),I=E(i);function C(s,_){if(_[0]&65537&&(k=null),k==null&&(k=s[41].amount!==s[16]("noLimit")&&s[41].amount!=="No limit"&&!s[41].isModified),k)return Le;if(s[41].amount!="No limit"&&s[41].isModified)return ge}let u=C(i,[-1,-1]),f=u&&u(i);return{c(){a=e.element("div"),n=e.element("div"),o=e.element("div"),t=e.element("div"),r=e.text(l),d=e.space(),p=e.element("div"),L=e.text(b),c=e.space(),h&&h.c(),z=e.space(),y=e.element("div"),A=e.element("div"),j=e.text(R),M=e.space(),I.c(),T=e.space(),f&&f.c(),S=e.space(),e.attr(t,"class","InfoCardRowTitle"),e.attr(p,"class","InfoCardRowValue"),e.attr(o,"class","InfoCardRow InfoMainRow"),e.attr(A,"class","InfoCardRowTitle"),e.attr(y,"class","InfoCardRow"),e.attr(n,"class","InfoCardRowContainer"),e.attr(a,"class","InfoCardBox InfoCardMultipleItems")},m(s,_){e.insert(s,a,_),e.append(a,n),e.append(n,o),e.append(o,t),e.append(t,r),e.append(o,d),e.append(o,p),e.append(p,L),e.append(p,c),h&&h.m(p,null),e.append(n,z),e.append(n,y),e.append(y,A),e.append(A,j),e.append(y,M),I.m(y,null),e.append(a,T),f&&f.m(a,null),e.append(a,S)},p(s,_){_[0]&65537&&l!==(l=(s[41]?s[16](s[41].period.charAt(0).toLowerCase()+s[41].period.substring(1)):"")+"")&&e.set_data(r,l),_[0]&65537&&b!==(b=(s[41]?s[41].amount==="No limit"?s[16]("noLimit"):s[41].amount:0)+"")&&e.set_data(L,b),_[0]&65537&&(w=s[41].amount!="No limit"&&s[41].amount!=s[16]("noLimit")),w?h?h.p(s,_):(h=U(s),h.c(),h.m(p,null)):h&&(h.d(1),h=null),_[0]&65536&&R!==(R=s[16]("expirationDate")+"")&&e.set_data(j,R),E===(E=D(s))&&I?I.p(s,_):(I.d(1),I=E(s),I&&(I.c(),I.m(y,null))),u===(u=C(s,_))&&f?f.p(s,_):(f&&f.d(1),f=u&&u(s),f&&(f.c(),f.m(a,S)))},d(s){s&&e.detach(a),h&&h.d(),I.d(),f&&f.d()}}}function ye(i){let a,n=i[16]("noLimit")+"",o;return{c(){a=e.element("span"),o=e.text(n),e.attr(a,"class","InfoCardCurrency")},m(t,l){e.insert(t,a,l),e.append(a,o)},p(t,l){l[0]&65536&&n!==(n=t[16]("noLimit")+"")&&e.set_data(o,n)},d(t){t&&e.detach(a)}}}function we(i){let a=(i[41]?i[41].amount==="No limit"?i[16]("noLimit"):i[41].amount:0)+"",n,o,t=i[41].amount!=="No limit"&&i[41].amount!==i[16]("noLimit"),l,r=t&&J(i);return{c(){n=e.text(a),o=e.space(),r&&r.c(),l=e.empty()},m(d,p){e.insert(d,n,p),e.insert(d,o,p),r&&r.m(d,p),e.insert(d,l,p)},p(d,p){p[0]&65537&&a!==(a=(d[41]?d[41].amount==="No limit"?d[16]("noLimit"):d[41].amount:0)+"")&&e.set_data(n,a),p[0]&65537&&(t=d[41].amount!=="No limit"&&d[41].amount!==d[16]("noLimit")),t?r?r.p(d,p):(r=J(d),r.c(),r.m(l.parentNode,l)):r&&(r.d(1),r=null)},d(d){d&&(e.detach(n),e.detach(o),e.detach(l)),r&&r.d(d)}}}function J(i){let a,n=i[16]("minutes")+"",o;return{c(){a=e.element("span"),o=e.text(n),e.attr(a,"class","InfoCardCurrency")},m(t,l){e.insert(t,a,l),e.append(a,o)},p(t,l){l[0]&65536&&n!==(n=t[16]("minutes")+"")&&e.set_data(o,n)},d(t){t&&e.detach(a)}}}function he(i){let a,n=i[16]("notAvailable")+"",o;return{c(){a=e.element("div"),o=e.text(n),e.attr(a,"class","InfoCardRowValue")},m(t,l){e.insert(t,a,l),e.append(a,o)},p(t,l){l[0]&65536&&n!==(n=t[16]("notAvailable")+"")&&e.set_data(o,n)},d(t){t&&e.detach(a)}}}function ve(i){let a,n=(i[41]?F.getYear(new Date(i[41].expiryDate))>new Date().getFullYear()+30?i[18].clone().add(5,"years").format("d/M/yyyy - h:mm a"):F.format(new Date(i[41].expiryDate),"d/M/yyyy - h:mm a"):"N/A")+"",o;return{c(){a=e.element("div"),o=e.text(n),e.attr(a,"class","InfoCardRowValue")},m(t,l){e.insert(t,a,l),e.append(a,o)},p(t,l){l[0]&1&&n!==(n=(t[41]?F.getYear(new Date(t[41].expiryDate))>new Date().getFullYear()+30?t[18].clone().add(5,"years").format("d/M/yyyy - h:mm a"):F.format(new Date(t[41].expiryDate),"d/M/yyyy - h:mm a"):"N/A")+"")&&e.set_data(o,n)},d(t){t&&e.detach(a)}}}function be(i){let a,n,o,t,l,r,d,p,b;function L(){return i[25](i[43])}return{c(){a=e.element("div"),n=e.element("span"),n.textContent="i",o=e.space(),t=e.element("player-account-gaming-limits-popup"),e.attr(n,"class","InfoCardIcon"),e.set_custom_element_data(t,"showpopup",l=i[9][i[43]+1]),e.set_custom_element_data(t,"iteminfoamount",r=i[41].updateMinutes),e.set_custom_element_data(t,"currency",d=i[16]("minutes")),e.set_custom_element_data(t,"lang",i[3]),e.set_custom_element_data(t,"clientstyling",i[4]),e.set_custom_element_data(t,"clientstylingurl",i[5]),e.set_custom_element_data(t,"mbsource",i[6]),e.attr(a,"class","InfoCardIconWrapper "+(i[17]?"InfoCardIconMobileWrapper":""))},m(c,w){e.insert(c,a,w),e.append(a,n),e.append(a,o),e.append(a,t),p||(b=e.listen(n,"click",e.prevent_default(L)),p=!0)},p(c,w){i=c,w[0]&512&&l!==(l=i[9][i[43]+1])&&e.set_custom_element_data(t,"showpopup",l),w[0]&1&&r!==(r=i[41].updateMinutes)&&e.set_custom_element_data(t,"iteminfoamount",r),w[0]&65536&&d!==(d=i[16]("minutes"))&&e.set_custom_element_data(t,"currency",d),w[0]&8&&e.set_custom_element_data(t,"lang",i[3]),w[0]&16&&e.set_custom_element_data(t,"clientstyling",i[4]),w[0]&32&&e.set_custom_element_data(t,"clientstylingurl",i[5]),w[0]&64&&e.set_custom_element_data(t,"mbsource",i[6])},d(c){c&&e.detach(a),p=!1,b()}}}function Ce(i){let a,n,o;return{c(){a=e.element("div"),a.innerHTML="<span></span>",e.attr(a,"class","InfoCardRemoveIcon")},m(t,l){e.insert(t,a,l),n||(o=e.listen(a,"click",function(){e.is_function(i[21](i[41],i[1]))&&i[21](i[41],i[1]).apply(this,arguments)}),n=!0)},p(t,l){i=t},d(t){t&&e.detach(a),n=!1,o()}}}function K(i){let a,n,o,t,l=(i[41]?i[16](i[41].period.charAt(0).toLowerCase()+i[41].period.substring(1)):"")+"",r,d,p,b,L,c,w=i[16]("expirationDate")+"",z,y,A,R,j;function M(u,f){return u[41].amount!==0?we:ye}let T=M(i),k=T(i);function S(u,f){return u[41].expiryDate?ve:he}let h=S(i),D=h(i);function E(u,f){if(f[0]&65537&&(R=null),R==null&&(R=u[41].amount!==u[16]("noLimit")&&u[41].amount!=="No limit"&&!u[41].isModified),R)return Ce;if(u[41].amount!="No limit"&&u[41].isModified)return be}let I=E(i,[-1,-1]),C=I&&I(i);return{c(){a=e.element("div"),n=e.element("div"),o=e.element("div"),t=e.element("div"),r=e.text(l),d=e.space(),p=e.element("div"),k.c(),b=e.space(),L=e.element("div"),c=e.element("div"),z=e.text(w),y=e.space(),D.c(),A=e.space(),C&&C.c(),j=e.space(),e.attr(t,"class","InfoCardRowTitle"),e.attr(p,"class","InfoCardRowValue"),e.attr(o,"class","InfoCardRow InfoMainRow"),e.attr(c,"class","InfoCardRowTitle"),e.attr(L,"class","InfoCardRow"),e.attr(n,"class","InfoCardRowContainer"),e.attr(a,"class","InfoCardBox InfoCardMultipleItems")},m(u,f){e.insert(u,a,f),e.append(a,n),e.append(n,o),e.append(o,t),e.append(t,r),e.append(o,d),e.append(o,p),k.m(p,null),e.append(n,b),e.append(n,L),e.append(L,c),e.append(c,z),e.append(L,y),D.m(L,null),e.append(a,A),C&&C.m(a,null),e.append(a,j)},p(u,f){f[0]&65537&&l!==(l=(u[41]?u[16](u[41].period.charAt(0).toLowerCase()+u[41].period.substring(1)):"")+"")&&e.set_data(r,l),T===(T=M(u))&&k?k.p(u,f):(k.d(1),k=T(u),k&&(k.c(),k.m(p,null))),f[0]&65536&&w!==(w=u[16]("expirationDate")+"")&&e.set_data(z,w),h===(h=S(u))&&D?D.p(u,f):(D.d(1),D=h(u),D&&(D.c(),D.m(L,null))),I===(I=E(u,f))&&C?C.p(u,f):(C&&C.d(1),C=I&&I(u),C&&(C.c(),C.m(a,j)))},d(u){u&&e.detach(a),k.d(),D.d(),C&&C.d()}}}function Z(i){let a,n=i[16]("removeLimits")+"",o,t,l;return{c(){a=e.element("button"),o=e.text(n),e.attr(a,"class","InfoCardRemoveButton")},m(r,d){e.insert(r,a,d),e.append(a,o),t||(l=e.listen(a,"click",i[28]),t=!0)},p(r,d){d[0]&65536&&n!==(n=r[16]("removeLimits")+"")&&e.set_data(o,n)},d(r){r&&e.detach(a),t=!1,l()}}}function X(i){let a,n,o;return{c(){a=e.element("player-account-modal"),n=e.element("player-account-gaming-limits-confirmation-modal"),e.set_custom_element_data(n,"modaltext",o=i[11]?i[13]:i[14]),e.set_custom_element_data(n,"modalsource","infoCard"),e.set_custom_element_data(n,"lang",i[3]),e.set_custom_element_data(n,"clientstyling",i[4]),e.set_custom_element_data(n,"clientstylingurl",i[5]),e.set_custom_element_data(n,"mbsource",i[6]),e.set_custom_element_data(a,"clientstyling",i[4]),e.set_custom_element_data(a,"clientstylingurl",i[5]),e.set_custom_element_data(a,"mbsource",i[6])},m(t,l){e.insert(t,a,l),e.append(a,n)},p(t,l){l[0]&26624&&o!==(o=t[11]?t[13]:t[14])&&e.set_custom_element_data(n,"modaltext",o),l[0]&8&&e.set_custom_element_data(n,"lang",t[3]),l[0]&16&&e.set_custom_element_data(n,"clientstyling",t[4]),l[0]&32&&e.set_custom_element_data(n,"clientstylingurl",t[5]),l[0]&64&&e.set_custom_element_data(n,"mbsource",t[6]),l[0]&16&&e.set_custom_element_data(a,"clientstyling",t[4]),l[0]&32&&e.set_custom_element_data(a,"clientstylingurl",t[5]),l[0]&64&&e.set_custom_element_data(a,"mbsource",t[6])},d(t){t&&e.detach(a)}}}function ke(i){let a;function n(l,r){return l[8]?ue:de}let o=n(i),t=o(i);return{c(){a=e.element("div"),t.c()},m(l,r){e.insert(l,a,r),t.m(a,null),i[29](a)},p(l,r){o===(o=n(l))&&t?t.p(l,r):(t.d(1),t=o(l),t&&(t.c(),t.m(a,null)))},i:e.noop,o:e.noop,d(l){l&&e.detach(a),t.d(),i[29](null)}}}function Ie(i,a,n){let o;e.component_subscribe(i,e.$format,m=>n(16,o=m));let{limitsdata:t=[]}=a,{limitname:l=""}=a,{currency:r=""}=a,{lang:d="en"}=a,{clientstyling:p=""}=a,{clientstylingurl:b=""}=a,{mbsource:L}=a,{translationurl:c=""}=a;const w=()=>{fetch(c).then(v=>v.json()).then(v=>{Object.keys(v).forEach(B=>{H(B,v[B])})}).catch(v=>{console.log(v)})};Object.keys(Y).forEach(m=>{H(m,Y[m])});let z=!0,y,A=new Array(5).fill(0),R=["Daily","Weekly","Monthly"],j=!0,M=!0,T=!1,k=window.navigator.userAgent,S=e.getDevice(k)!=="PC",h="",D="",E=!0,I=new Date;const C=m=>{window.postMessage({type:"EditPlayerAccountGamingLimits",edit:m,name:l},window.location.href)},u=m=>{n(12,T=!0),n(11,M=!0),window.postMessage({type:"ShowLimitsConfirmationModal"},window.location.href),window.postMessage({type:"DeleteLimitsItem",removeData:m,removeName:l},window.location.href)},f=(m,v)=>{n(12,T=!0),n(11,M=!1),window.postMessage({type:"ShowLimitsConfirmationModal"},window.location.href),window.postMessage({type:"DeleteLimitsItem",removeData:m,removeName:v},window.location.href)},s=m=>{window.postMessage({type:"ClosePlayerAccountGamingLimitsPopup"},window.location.href),setTimeout(()=>{n(9,A[m]=!0,A)},50)},_=m=>{let v=[...m];R.forEach((B,W)=>{v.find(P=>P.period===B)||(v=g(v,W,B));const q=v.find(P=>P.period===B);q&&q.amount!=="No limit"&&n(10,j=!1)}),m.splice(0,m.length,...v),n(8,z=!1)},g=(m,v,B)=>{const W={period:B,amount:"No limit",currency:"",isModified:!1,expiryDate:""},q=[...m];return q.splice(v,0,W),q},N=(m,v)=>m.period==="Weekly"&&v.period==="Daily"||m.period==="Monthly"&&v.period==="Daily"||m.period==="Monthly"&&v.period==="Weekly"?1:m.period==="Daily"&&v.period==="Weekly"||m.period==="Daily"&&v.period==="Monthly"||m.period==="Weekly"&&v.period==="Monthly"?-1:0,$=()=>{let m="";m=l==="Time Limit"?"time limit":l==="Deposit Limit"?"deposit limit":l==="Wagering Limit"?"wagering limit":"loss limit",n(13,h=o("removeLimitsText",{values:{limit:m}})),n(14,D=o("removeLimitText",{values:{limit:m}}))},ee=m=>{m.forEach(v=>{v.isModified&&n(15,E=!1)})},te=()=>{me(d),$(),ee(t),_(t),t.sort(N)},V=m=>{if(m.data)switch(m.data.type){case"ClosePlayerAccountGamingLimitsPopup":n(9,A=new Array(5).fill(0));break;case"ModalClosed":window.postMessage({type:"EnableScroll"},window.location.href),n(12,T=!1),n(11,M=!1);break}};e.onMount(()=>(window.addEventListener("message",V,!1),()=>{window.removeEventListener("message",V)}));const ie=()=>s(0),ae=m=>s(m+1),ne=m=>s(m+1),oe=()=>C(t),le=()=>u(t);function re(m){e.binding_callbacks[m?"unshift":"push"](()=>{y=m,n(7,y)})}return i.$$set=m=>{"limitsdata"in m&&n(0,t=m.limitsdata),"limitname"in m&&n(1,l=m.limitname),"currency"in m&&n(2,r=m.currency),"lang"in m&&n(3,d=m.lang),"clientstyling"in m&&n(4,p=m.clientstyling),"clientstylingurl"in m&&n(5,b=m.clientstylingurl),"mbsource"in m&&n(6,L=m.mbsource),"translationurl"in m&&n(23,c=m.translationurl)},i.$$.update=()=>{i.$$.dirty[0]&11&&t&&l&&d&&te(),i.$$.dirty[0]&144&&p&&y&&e.setClientStyling(y,p),i.$$.dirty[0]&160&&b&&y&&e.setClientStylingURL(y,b),i.$$.dirty[0]&192&&L&&y&&e.setStreamStyling(y,`${L}.Style`),i.$$.dirty[0]&8388608&&c&&w()},[t,l,r,d,p,b,L,y,z,A,j,M,T,h,D,E,o,S,I,C,u,f,s,c,ie,ae,ne,oe,le,re]}class x extends e.SvelteComponent{constructor(a){super(),e.init(this,a,Ie,ke,e.safe_not_equal,{limitsdata:0,limitname:1,currency:2,lang:3,clientstyling:4,clientstylingurl:5,mbsource:6,translationurl:23},se,[-1,-1])}get limitsdata(){return this.$$.ctx[0]}set limitsdata(a){this.$$set({limitsdata:a}),e.flush()}get limitname(){return this.$$.ctx[1]}set limitname(a){this.$$set({limitname:a}),e.flush()}get currency(){return this.$$.ctx[2]}set currency(a){this.$$set({currency:a}),e.flush()}get lang(){return this.$$.ctx[3]}set lang(a){this.$$set({lang:a}),e.flush()}get clientstyling(){return this.$$.ctx[4]}set clientstyling(a){this.$$set({clientstyling:a}),e.flush()}get clientstylingurl(){return this.$$.ctx[5]}set clientstylingurl(a){this.$$set({clientstylingurl:a}),e.flush()}get mbsource(){return this.$$.ctx[6]}set mbsource(a){this.$$set({mbsource:a}),e.flush()}get translationurl(){return this.$$.ctx[23]}set translationurl(a){this.$$set({translationurl:a}),e.flush()}}e.create_custom_element(x,{limitsdata:{},limitname:{},currency:{},lang:{},clientstyling:{},clientstylingurl:{},mbsource:{},translationurl:{}},[],[],!0);exports.default=x;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";var qi=Object.defineProperty,Hi=Object.defineProperties;var Gi=Object.getOwnPropertyDescriptors;var rt=Object.getOwnPropertySymbols;var Ki=Object.prototype.hasOwnProperty,Yi=Object.prototype.propertyIsEnumerable;var lt=(a,t,i)=>t in a?qi(a,t,{enumerable:!0,configurable:!0,writable:!0,value:i}):a[t]=i,ge=(a,t)=>{for(var i in t||(t={}))Ki.call(t,i)&<(a,i,t[i]);if(rt)for(var i of rt(t))Yi.call(t,i)&<(a,i,t[i]);return a},Re=(a,t)=>Hi(a,Gi(t));var oe=(a,t,i)=>new Promise((o,n)=>{var l=g=>{try{c(i.next(g))}catch(u){n(u)}},r=g=>{try{c(i.throw(g))}catch(u){n(u)}},c=g=>g.done?o(g.value):Promise.resolve(g.value).then(l,r);c((i=i.apply(a,t)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./GeneralLogout-
|
|
1
|
+
"use strict";var qi=Object.defineProperty,Hi=Object.defineProperties;var Gi=Object.getOwnPropertyDescriptors;var rt=Object.getOwnPropertySymbols;var Ki=Object.prototype.hasOwnProperty,Yi=Object.prototype.propertyIsEnumerable;var lt=(a,t,i)=>t in a?qi(a,t,{enumerable:!0,configurable:!0,writable:!0,value:i}):a[t]=i,ge=(a,t)=>{for(var i in t||(t={}))Ki.call(t,i)&<(a,i,t[i]);if(rt)for(var i of rt(t))Yi.call(t,i)&<(a,i,t[i]);return a},Re=(a,t)=>Hi(a,Gi(t));var oe=(a,t,i)=>new Promise((o,n)=>{var l=g=>{try{c(i.next(g))}catch(u){n(u)}},r=g=>{try{c(i.throw(g))}catch(u){n(u)}},c=g=>g.done?o(g.value):Promise.resolve(g.value).then(l,r);c((i=i.apply(a,t)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./GeneralLogout-BP5hPAT6.cjs");require("../stencil/ui-skeleton-Bp-l1XOX.cjs");const H={lugas:{title:"Deposit Limit",value:"lugas",callValue:"lugasLimit",callValue16:"Lugas"},deposit:{title:"Deposit Limit",value:"deposit",callValue:"depositLimits",callValue16:"Deposit"},loss:{title:"Loss Limit",value:"loss",callValue:"lossLimits",callValue16:"Loss"},wager:{title:"Wager Limit",value:"wager",callValue:"wageringLimits",callValue16:"Wagering"},stake:{title:"Stake Limit",value:"stake",callValue:"maxStake",callValue16:"MaxStake"},sessionLimit:{title:"Single Session Time Limit",value:"sessionLimit",callValue:"sessionLimits",callValue16:"sessionLimit"},cumulativeSession:{title:"Cumulative Session Time Limit",value:"cumulativeSession",callValue:"cumulativeSessionLimits",callValue16:"cumulativeSession"},netdeposit:{title:"Net Deposit Limit",value:"netdeposit",callValue:"netDepositLimits",callValue16:"NetDeposit"}};function dt(a,t){e.addMessages(a,t)}function Zi(a){e.$locale.set(a)}const Le={en:{loadingText:"Loading, please wait...",Monthly:"per month",Weekly:"per week",Daily:"per day",newDailyLimit:"New daily limit",newWeeklyLimit:"New weekly limit",newMonthlyLimit:"New monthly limit",adjectiveMonthly:"monthly",adjectiveWeekly:"weekly",adjectiveDaily:"daily",None:"",noPeriod:".",per:"per",seconds:"seconds",updateText:"will be applied on",updateAfterConfirm:"will be applied after confirmation",acknowledgedLimit:"Limit update confirmed and will be applied in ~1 min",removedLimitText:"The limit will be removed on",removeAfterConfirm:"The limit will be removed after confirmation.",noLimitText:"There is currently no limit set.",lugasPrivacy:"The cross-provider LUGAS limit is not visible to providers.",limitType:"Limit Type",period:"Period",amount:"Amount",minutes:"minutes",loss:"Loss Limit",lossAll:"Loss - All Limit",lossCasino:"Loss - Casino Limit",lossSports:"Loss - Sports Limit",deposit:"Deposit Limit",depositAll:"Deposit - All Limit",depositCasino:"Deposit - Casino Limit",depositSports:"Deposit - Sports Limit",wager:"Wager Limit",wagerAll:"Wager - All Limit",wagerCasino:"Wager - Casino Limit",wagerSports:"Wager - Sports Limit",stake:"Stake Limit",stakeAll:"Stake - All Limit",stakeCasino:"Stake - Casino Limit",stakeSports:"Stake - Sports Limit",lugas:"Current Deposit Limit",lugasAll:"Current Deposit Limit",lugasCasino:"Current Deposit Limit",lugasSports:"Current Deposit Limit",sessionLimit:"Single Session Time Limit",sessionLimitUpdated:"Session limit updated successfully.",cumulativeSession:"Period Time Limit",removeLimit:"REMOVE",confirmUpdateLimit:"CONFIRM",cancelUpdateLimit:"CANCEL",reloadLimitsButton:"RELOAD",setLimit:"Set new limit",popupPendingUpdate:"We have received the request to change the limit. Please be aware that the update will only come into effect on",popupImmediateUpdate:"Your new {selectedLimit} is {updatedAmount} {selectedPeriod}",popupTitle:"Limit changed",popupSuccess:"Successful",popupError:"An error has occurred.",popupUpdateLimitException:"You can change your self-limiting settings after the specified limitation period has expired.",popupRemoveLimitException:"You can change your self-limiting settings after the specified limitation period has expired.",notFoundException:"Limit does not exist",sessionExpiredException:"Your session has expired",popup3:`Thank you!
|
|
2
2
|
We have transmited your desired limit to Lugas
|
|
3
3
|
Please be aware that the limit will only come into effect after 8 days at the latest.`,popup2_a:"We were able to set your monthly deposit limit to",popup2_b:". For the selected limit, we require documents that show your economic capacity. Please upload your last payslip as well as a current bank statement, including the balance, that confirms that you received the payment.",kycNeeded2:". In order to increase the limit to the desired amount, we ask you to provide us with the relevant information. This information can be submitted in the document upload.",uploadDocumentsButton:"UPLOAD DOCUMENTS",closeButton:"CLOSE",invalidInputMessageLimitMin:"The value entered must be higher than {minValue} {currency}.",invalidInputMessageLimitMax:"The value entered must be less than {maxValue} {currency}.",invalidInputMessage:"Please enter a valid number.",unableToUpdatePendingRequest:"We were unable to update your limit because another update is already pending. Please try again after the current update is applied.",internalServerError:"Unfortunately, there was an error setting your LUGAS limit. Please try again or contact our customer support at <a href='mailto:support.de@bet-at-home.com' target='_blank'>support.de@bet-at-home.com</a>.",docsRequired:"Documents required!",okButton:"OK",complianceText:"As an authorized operator, it applies the necessary limits imposed by the government","dataLayer-sports":"Sports","dataLayer-casino":"Casino","dataLayer-wager":"Wager","dataLayer-loss":"Loss","dataLayer-deposit":"Deposit","dataLayer-daily":"Daily","dataLayer-weekly":"Weekly","dataLayer-monthly":"Monthly",netdepositAll:"Net Deposit Limit",uploadDocumentHeader:"Upload a Supporting Document",uploadButtonText:"Click here to Upload",documentUploadTitle:"Document Upload",uploadDocumentContent:'<p>Click here <label class="labelText" for="files">Browse</label></br>JPG/PEG, PNG or PDF files up to 50MB</p>',uploadHistory:"Upload History:",noFileUploaded:"No file uploaded",submitButton:"Submit",fileExtenssionDeny:"The file extenssion is not a valid one",fileSizeExceeded:"Maximum amount of file size was exceeded",uploadSuccess:"File uploaded successfully",errorUploadDocument:"There was an error with the uploading function",filesUploadError:"The uploaded files either exeeded allowed size or don't respect the allowed extensions types.",updateAfterDocApproval:"will be applied after document approval.",limitInDocReview:"You can't update a limit if it's in pendning.",scheduleNotFoundException:"Schedule does not exist",genericLimitsPopupError:"An unexpected error has occurred. Please try again",limitNotificationFail:"Something went wrong while setting your account limits. Try again later.",companyLimitsInfoText:"According to your active deposit limits and your payment history the maximum amount you can deposit at the moment is:"},hu:{loadingText:"` Az oldal töltődik, kérlek várj…`",Monthly:"Havi",Weekly:"Heti",Daily:"Napi",adjectiveMonthly:"Havi",adjectiveWeekly:"Heti",adjectiveDaily:"Napi",newDailyLimit:"Új napi limit",newWeeklyLimit:"Új heti limit",newMonthlyLimit:"Új havi limit",None:" ",noPeriod:".",per:"per",noLimitText:"Nincs limit beállítva",lugasPrivacy:"A szolgáltatóközi LUGAS-limit a szolgáltatók számára nem látható.",limitType:"Limit típus",period:"Időszak",amount:"Összeg",minutes:" perc",new:"Új",limit:"limit",setLimit:"Limit beállítása",loss:"Veszteség limit",lossAll:"Veszteség - Összes limit",lossCasino:"Veszteség - Kaszinó limit",lossSports:"Veszteség - Sport limit",deposit:"Befizetési limit",depositAll:"Befizetés - Összes limit",depositCasino:"Befizetés - Kaszinó limit",depositSports:"Befizetés - Sport limit",wager:"Fogadási limit",wagerAll:"Fogadás - Összes limit",wagerCasino:"Fogadás - Kaszinó limit",wagerSports:"Fogadás - Sport limit",stake:"Fogadási limit",stakeAll:"Tét - Összes limit",stakeCasino:"Tét - Kaszinó limit",stakeSports:"Tét - Sport limit",lugas:"Aktuális befizetési limit",sessionLimit:"Munkamenet időkorlátja",sessionLimitUpdated:"A munkamenet időkorlátját frissítettük.",cumulativeSession:"Időszakos időkorlát",removeLimit:"Limit törlése",popupPendingUpdate:"Limit módosítási kérésed megkaptuk. Kérjük, vedd figyelembe, hogy a frissítés csak ekkor lép életbe: ",popupImmediateUpdate:"Az új {selectedLimit}: {updatedAmount} {selectedPeriod}",popupTitle:" ",popupSuccess:"Limitbeállításaidat sikeresen elmentettük.",popupError:"Hiba történt.",kycNotNeeded:"A befizetési limitet sikeresen beállítottuk. Limitjeid bármikor módosíthatod a fiókbeállításokban.",kycNeeded1:"Havi befizetési limitre a következő összeg került beállításra:",kycNeeded2:". Ahhoz, hogy a limitet a kért összegre emeljük, kérjük, dokumentumok feltöltésével add meg a szükséges információkat.",uploadDocumentsButton:"DOKUMENTUMOK FELTÖLTÉSE",closeButton:"BEZÁR",invalidInputMessageLimitMin:"A megadott értéknek nagyobbnak kell lennie, mint {minValue} {currency}.",invalidInputMessageLimitMax:"A megadott értéknek kisebbnek kell lennie, mint {maxValue} {currency}.",invalidInputMessage:"Kérjük, adjon meg egy érvényes számot.",unableToUpdatePendingRequest:"Nem tudtuk frissíteni a limited, mert egy másik frissítés már folyamatban van. Kérjük, próbáld meg újra, miután az aktuális frissítés beállításra került.",docsRequired:"A dokumentumok feltöltése kötelező.",okButton:"Rendben",seconds:"másodpercek",updateText:"alkalmazva lesz",updateAfterConfirm:"jóváhagyás után kerül alkalmazásra",acknowledgedLimit:"A limit frissítése megerősítve, és ~1 percen belül alkalmazásra kerül",removedLimitText:"A limit eltávolításra kerül",removeAfterConfirm:"A limit jóváhagyás után kerül eltávolításra",confirmUpdateLimit:"MEGERŐSÍTÉS",cancelUpdateLimit:"MÉGSE",reloadLimitsButton:"FRISSÍTÉS",popupUpdateLimit:"Önkorlátozási beállításaidat a megadott korlátozási időtartam leteltét követően tudod módosítani.",popupUpdateLimitException:"Önkorlátozási beállításaidat a megadott korlátozási időtartam leteltét követően tudod módosítani.",popupRemoveLimitException:"Önkorlátozási beállításaidat a megadott korlátozási időtartam leteltét követően tudod módosítani.",sessionExpiredException:"A munkamenet lejárt","dataLayer-sports":"Sportfogadás","dataLayer-casino":"Kaszinó","dataLayer-all":"Minden","dataLayer-wager":"Fogadási limit","dataLayer-loss":"Veszteség limit","dataLayer-deposit":"Befizetési limit","dataLayer-daily":"Napi","dataLayer-weekly":"Heti","dataLayer-monthly":"Havi",netdepositAll:"Nettó befizetési limit",uploadDocumentHeader:"Támogató dokumentum feltöltése",uploadButtonText:"Kattintson ide a feltöltéshez",documentUploadTitle:"Dokumentum feltöltése",uploadDocumentContent:'<p>Húzza ide és dobja le <label class="labelText" for="files">Böngészés</label></br>JPG/PEG, PNG vagy PDF fájlok legfeljebb 50 MB-ig</p>',uploadHistory:"Feltöltési előzmények:",noFileUploaded:"Nincs feltöltött fájl",submitButton:"Beküldés",fileExtenssionDeny:"A fájl kiterjesztése nem érvényes",fileSizeExceeded:"A fájl mérete meghaladta a maximális méretet",uploadSuccess:"A fájl sikeresen feltöltve",errorUploadDocument:"Hiba történt a feltöltési funkcióval",filesUploadError:"A feltöltött fájlok vagy meghaladták a megengedett méretet, vagy nem felelnek meg az engedélyezett kiterjesztések típusainak.",limitInDocReview:"Nem frissítheti a korlátot, ha az függőben van.",scheduleNotFoundException:"Az ütemezés nem létezik",genericLimitsPopupError:"Váratlan hiba történt. Kérjük, próbálja meg újra",limitNotificationFail:"Hiba történt a fiókkorlátok beállítása során. Próbálja újra később.",companyLimitsInfoText:"Az aktív befizetési limiteid és a fizetési előzményeid alapján a jelenlegi maximális befizethető összeg:"},de:{loadingText:"Lädt ...",Monthly:"pro Monat",Weekly:"pro Woche",Daily:"pro Tag",newDailyLimit:"Neues Tageslimit",newWeeklyLimit:"Neues Wochenlimit",newMonthlyLimit:"Neues Monatslimit",adjectiveMonthly:"Monatlich",adjectiveWeekly:"Wöchentlich",adjectiveDaily:"Täglich",None:"",noPeriod:".",per:"pro",noLimitText:"Derzeit ist kein Limit gesetzt.",lugasPrivacy:"Das anbieterübergreifende LUGAS-Limit ist für Anbieter nicht einsehbar.",limitType:"Limitart",period:"Zeitraum",amount:"Betrag",minutes:"minute",loss:"Verlustlimit",lossAll:"Verlust - Gesamtes Limit",lossCasino:"Verlust - Casino-Limit",lossSports:"Verlust - Sport-Limit",deposit:"Einzahlungslimit",depositAll:"Einzahlung - Gesamtes Limit",depositCasino:"Einzahlung - Casino-Limit",depositSports:"Einzahlung - Sport-Limit",wager:"Wettlimit",wagerAll:"Wette - Gesamtes Limit",wagerCasino:"Wette - Casino-Limit",wagerSports:"Wette - Sport-Limit",stake:"Einsatzlimit",stakeAll:"Einsatz - Gesamtes Limit",stakeCasino:"Einsatz - Casino-Limit",stakeSports:"Einsatz - Sport-Limit",lugasAll:"Current Deposit Limit",lugasCasino:"Current Deposit Limit",lugasSports:"Current Deposit Limit",lugas:"Aktuelles Einzahlungslimit",sessionLimit:"Single Session Time Limits",cumulativeSession:"Period Time Limit",removeLimit:"ENTFERNEN",setLimit:"Neues Limit setzen",popupError:"Es ist ein Fehler aufgetreten.",popupPendingUpdate:"Wir haben die Anfrage zur Änderung des Limits erhalten. Bitte beachten Sie, dass die Änderung erst in Kraft tritt am",popupImmediateUpdate:"Ihre neues Limit {selectedLimit} beträgt {updatedAmount} {selectedPeriod}",popupTitle:"Limit geändert!",popupSuccess:"Erfolgreich",popup3:`Vielen Dank!
|
|
4
4
|
Wir haben Ihr gewünschtes Limit an Lugas übermittelt.
|
|
@@ -32,4 +32,4 @@
|
|
|
32
32
|
S12.767,2,26,2s24,10.767,24,24S39.233,50,26,50z`),e.attr(n,"d",`M35.707,16.293c-0.391-0.391-1.023-0.391-1.414,0L26,24.586l-8.293-8.293c-0.391-0.391-1.023-0.391-1.414,0
|
|
33
33
|
s-0.391,1.023,0,1.414L24.586,26l-8.293,8.293c-0.391,0.391-0.391,1.023,0,1.414C16.488,35.902,16.744,36,17,36
|
|
34
34
|
s0.512-0.098,0.707-0.293L26,27.414l8.293,8.293C34.488,35.902,34.744,36,35,36s0.512-0.098,0.707-0.293
|
|
35
|
-
c0.391-0.391,0.391-1.023,0-1.414L27.414,26l8.293-8.293C36.098,17.316,36.098,16.684,35.707,16.293z`),e.attr(t,"version","1.1"),e.attr(t,"id","Capa_1"),e.attr(t,"xmlns","http://www.w3.org/2000/svg"),e.attr(t,"xmlns:xlink","http://www.w3.org/1999/xlink"),e.attr(t,"x","0px"),e.attr(t,"y","0px"),e.attr(t,"viewBox","0 0 52 52"),e.set_style(t,"enable-background","new 0 0 52 52"),e.attr(t,"xml:space","preserve")},m(U,B){e.insert(U,t,B),e.append(t,i),e.append(i,o),e.append(i,n),e.append(t,l),e.append(t,r),e.append(t,c),e.append(t,g),e.append(t,u),e.append(t,m),e.append(t,L),e.append(t,_),e.append(t,b),e.append(t,k),e.append(t,T),e.append(t,Z),e.append(t,J),e.append(t,I),e.append(t,N)},d(U){U&&e.detach(t)}}}function ra(a){let t,i=a[34]("popupSuccess")+"",o;return{c(){t=e.element("p"),o=e.text(i)},m(n,l){e.insert(n,t,l),e.append(t,o)},p(n,l){l[1]&8&&i!==(i=n[34]("popupSuccess")+"")&&e.set_data(o,i)},d(n){n&&e.detach(t)}}}function la(a){let t,i=a[34]("docsRequired")+"",o;return{c(){t=e.element("p"),o=e.text(i)},m(n,l){e.insert(n,t,l),e.append(t,o)},p(n,l){l[1]&8&&i!==(i=n[34]("docsRequired")+"")&&e.set_data(o,i)},d(n){n&&e.detach(t)}}}function da(a){let t,i=a[34]("popupError")+"",o;return{c(){t=e.element("p"),o=e.text(i)},m(n,l){e.insert(n,t,l),e.append(t,o)},p(n,l){l[1]&8&&i!==(i=n[34]("popupError")+"")&&e.set_data(o,i)},d(n){n&&e.detach(t)}}}function pa(a){let t,i=a[34]("okButton")+"",o,n,l;return{c(){t=e.element("button"),o=e.text(i),e.attr(t,"class","ConfirmButton "+(a[35]?"":"Mobile"))},m(r,c){e.insert(r,t,c),e.append(t,o),n||(l=e.listen(t,"click",a[50]),n=!0)},p(r,c){c[1]&8&&i!==(i=r[34]("okButton")+"")&&e.set_data(o,i)},d(r){r&&e.detach(t),n=!1,l()}}}function ma(a){let t,i=a[34]("uploadDocumentsButton")+"",o,n,l=a[34]("closeButton")+"",r,c,g;return{c(){t=e.element("button"),o=e.space(),n=e.element("button"),r=e.text(l),e.attr(t,"class","ConfirmButton"),e.attr(n,"class","CloseButton")},m(u,m){e.insert(u,t,m),t.innerHTML=i,e.insert(u,o,m),e.insert(u,n,m),e.append(n,r),c||(g=[e.listen(t,"click",a[51]),e.listen(n,"click",a[50])],c=!0)},p(u,m){m[1]&8&&i!==(i=u[34]("uploadDocumentsButton")+"")&&(t.innerHTML=i),m[1]&8&&l!==(l=u[34]("closeButton")+"")&&e.set_data(r,l)},d(u){u&&(e.detach(t),e.detach(o),e.detach(n)),c=!1,e.run_all(g)}}}function ua(a){let t,i=a[34]("noFileUploaded")+"",o;return{c(){t=e.element("p"),o=e.text(i),e.attr(t,"class","historyItem")},m(n,l){e.insert(n,t,l),e.append(t,o)},p(n,l){l[1]&8&&i!==(i=n[34]("noFileUploaded")+"")&&e.set_data(o,i)},d(n){n&&e.detach(t)}}}function ca(a){let t,i=e.ensure_array_like(Array.from(a[20])),o=[];for(let n=0;n<i.length;n+=1)o[n]=bt(vt(a,i,n));return{c(){for(let n=0;n<o.length;n+=1)o[n].c();t=e.empty()},m(n,l){for(let r=0;r<o.length;r+=1)o[r]&&o[r].m(n,l);e.insert(n,t,l)},p(n,l){if(l[0]&1048576){i=e.ensure_array_like(Array.from(n[20]));let r;for(r=0;r<i.length;r+=1){const c=vt(n,i,r);o[r]?o[r].p(c,l):(o[r]=bt(c),o[r].c(),o[r].m(t.parentNode,t))}for(;r<o.length;r+=1)o[r].d(1);o.length=i.length}},d(n){n&&e.detach(t),e.destroy_each(o,n)}}}function bt(a){let t,i=a[169].name+"",o;return{c(){t=e.element("p"),o=e.text(i),e.attr(t,"class","historyItem")},m(n,l){e.insert(n,t,l),e.append(t,o)},p(n,l){l[0]&1048576&&i!==(i=n[169].name+"")&&e.set_data(o,i)},d(n){n&&e.detach(t)}}}function kt(a){let t,i=a[34]("filesUploadError")+"",o;return{c(){t=e.element("p"),o=e.text(i),e.attr(t,"class","filesError")},m(n,l){e.insert(n,t,l),e.append(t,o)},p(n,l){l[1]&8&&i!==(i=n[34]("filesUploadError")+"")&&e.set_data(o,i)},d(n){n&&e.detach(t)}}}function fa(a){let t,i,o,n,l,r,c=a[34]("setLimit")+"",g,u,m,L,_,b,k,T=a[23]?`${a[34]("amount")}`:`${a[34](`new${a[12]}Limit`)}`,Z,J,I,N,U,B,C,Y,R;const M=a[74].LimitsList,x=e.create_slot(M,a,a[73],Lt),P=x||Da(a);let F=e.ensure_array_like(a[9]),h=[];for(let v=0;v<F.length;v+=1)h[v]=jt(ct(a,F,v));let j=a[3]==="true"&&Et(a),G=a[22]&&Mt(a),V=a[23]&&Ut(a),W=a[31]&&!a[32]&&Bt(a);const ce=a[74].LimitSubmitButton,me=e.create_slot(ce,a,a[73],pt),z=me||Ca(a);return{c(){t=e.element("div"),i=e.element("div"),P&&P.c(),o=e.space(),n=e.element("form");for(let v=0;v<h.length;v+=1)h[v].c();l=e.space(),r=e.element("p"),g=e.text(c),u=e.space(),j&&j.c(),m=e.space(),G&&G.c(),L=e.space(),V&&V.c(),_=e.space(),b=e.element("label"),k=e.element("span"),Z=e.text(T),J=e.space(),I=e.element("input"),N=e.space(),W&&W.c(),U=e.space(),z&&z.c(),e.attr(r,"class","LimitTitle "+(a[35]?"":"Mobile")),e.attr(k,"class","LimitInputText"),e.attr(I,"type","number"),e.attr(I,"pattern","[0-9]*"),I.disabled=a[32],e.attr(b,"class","LimitAmountInputWrapper "+(a[35]?"":"Mobile")),e.attr(n,"class","LimitsInteractionArea "+(a[35]?"":"Mobile")),e.attr(i,"class","LimitsPageContainer"),e.attr(t,"class",B="player-account-gaming-limits-page-2-gm16 "+("LimitTab"+a[5]))},m(v,A){e.insert(v,t,A),e.append(t,i),P&&P.m(i,null),e.append(i,o),e.append(i,n);for(let S=0;S<h.length;S+=1)h[S]&&h[S].m(n,null);e.append(n,l),e.append(n,r),e.append(r,g),e.append(n,u),j&&j.m(n,null),e.append(n,m),G&&G.m(n,null),e.append(n,L),V&&V.m(n,null),e.append(n,_),e.append(n,b),e.append(b,k),e.append(k,Z),e.append(b,J),e.append(b,I),e.set_input_value(I,a[18]),e.append(b,N),W&&W.m(b,null),e.append(n,U),z&&z.m(n,null),C=!0,Y||(R=[e.listen(I,"input",a[84]),e.listen(I,"input",a[41]),e.listen(I,"wheel",a[42]),e.listen(n,"submit",a[43])],Y=!0)},p(v,A){if(x?x.p&&(!C||A[2]&2048)&&e.update_slot_base(x,M,v,v[73],C?e.get_slot_changes(M,v[73],A,Qi):e.get_all_dirty_from_scope(v[73]),Lt):P&&P.p&&(!C||A[0]&2097942|A[1]&8)&&P.p(v,C?A:[-1,-1,-1,-1,-1,-1]),A[0]&512|A[1]&24){F=e.ensure_array_like(v[9]);let S;for(S=0;S<F.length;S+=1){const K=ct(v,F,S);h[S]?h[S].p(K,A):(h[S]=jt(K),h[S].c(),h[S].m(n,l))}for(;S<h.length;S+=1)h[S].d(1);h.length=F.length}(!C||A[1]&8)&&c!==(c=v[34]("setLimit")+"")&&e.set_data(g,c),v[3]==="true"?j?j.p(v,A):(j=Et(v),j.c(),j.m(n,m)):j&&(j.d(1),j=null),v[22]?G?G.p(v,A):(G=Mt(v),G.c(),G.m(n,L)):G&&(G.d(1),G=null),v[23]?V?V.p(v,A):(V=Ut(v),V.c(),V.m(n,_)):V&&(V.d(1),V=null),(!C||A[0]&8392704|A[1]&8)&&T!==(T=v[23]?`${v[34]("amount")}`:`${v[34](`new${v[12]}Limit`)}`)&&e.set_data(Z,T),(!C||A[1]&2)&&(I.disabled=v[32]),A[0]&262144&&e.to_number(I.value)!==v[18]&&e.set_input_value(I,v[18]),v[31]&&!v[32]?W?W.p(v,A):(W=Bt(v),W.c(),W.m(b,null)):W&&(W.d(1),W=null),me?me.p&&(!C||A[2]&2048)&&e.update_slot_base(me,ce,v,v[73],C?e.get_slot_changes(ce,v[73],A,Xi):e.get_all_dirty_from_scope(v[73]),pt):z&&z.p&&(!C||A[1]&13)&&z.p(v,C?A:[-1,-1,-1,-1,-1,-1]),(!C||A[0]&32&&B!==(B="player-account-gaming-limits-page-2-gm16 "+("LimitTab"+v[5])))&&e.attr(t,"class",B)},i(v){C||(e.transition_in(P,v),e.transition_in(z,v),C=!0)},o(v){e.transition_out(P,v),e.transition_out(z,v),C=!1},d(v){v&&e.detach(t),P&&P.d(v),e.destroy_each(h,v),j&&j.d(),G&&G.d(),V&&V.d(),W&&W.d(),z&&z.d(v),Y=!1,e.run_all(R)}}}function ga(a){let t;return{c(){t=e.element("p"),t.textContent="500 Server error"},m(i,o){e.insert(i,t,o)},p:e.noop,i:e.noop,o:e.noop,d(i){i&&e.detach(t)}}}function La(a){let t;const i=a[74].LimitSkeleton,o=e.create_slot(i,a,a[73],ht),n=o||ja(a);return{c(){n&&n.c()},m(l,r){n&&n.m(l,r),t=!0},p(l,r){o&&o.p&&(!t||r[2]&2048)&&e.update_slot_base(o,i,l,l[73],t?e.get_slot_changes(i,l[73],r,ea):e.get_all_dirty_from_scope(l[73]),ht)},i(l){t||(e.transition_in(n,l),t=!0)},o(l){e.transition_out(n,l),t=!1},d(l){n&&n.d(l)}}}function wt(a){let t,i=a[34]("activeLimitsInfoText")+"",o;return{c(){t=e.element("p"),o=e.text(i),e.attr(t,"class","LimitsInfoText "+(a[35]?"":"Mobile"))},m(n,l){e.insert(n,t,l),e.append(t,o)},p(n,l){l[1]&8&&i!==(i=n[34]("activeLimitsInfoText")+"")&&e.set_data(o,i)},d(n){n&&e.detach(t)}}}function ha(a){let t,i,o,n=a[34]("noLimitText")+"",l;return{c(){t=e.element("div"),i=e.element("div"),o=e.element("div"),l=e.text(n),e.attr(o,"class","LimitDetailsTextWrapper "+(a[35]?"":"Mobile")),e.attr(i,"class","LimitDetailsWrapper"),e.attr(t,"class","LimitDetails")},m(r,c){e.insert(r,t,c),e.append(t,i),e.append(i,o),e.append(o,l)},p(r,c){c[1]&8&&n!==(n=r[34]("noLimitText")+"")&&e.set_data(l,n)},d(r){r&&e.detach(t)}}}function va(a){let t,i,o,n=a[34]("lugasPrivacy")+"",l;return{c(){t=e.element("div"),i=e.element("div"),o=e.element("div"),l=e.text(n),e.attr(o,"class","LimitDetailsTextWrapper "+(a[35]?"":"Mobile")),e.attr(i,"class","LimitDetailsWrapper"),e.attr(t,"class","LimitDetails")},m(r,c){e.insert(r,t,c),e.append(t,i),e.append(i,o),e.append(o,l)},p(r,c){c[1]&8&&n!==(n=r[34]("lugasPrivacy")+"")&&e.set_data(l,n)},d(r){r&&e.detach(t)}}}function ya(a){let t,i=e.ensure_array_like(a[160].currentLimits),o=[];for(let n=0;n<i.length;n+=1)o[n]=Dt(gt(a,i,n));return{c(){for(let n=0;n<o.length;n+=1)o[n].c();t=e.empty()},m(n,l){for(let r=0;r<o.length;r+=1)o[r]&&o[r].m(n,l);e.insert(n,t,l)},p(n,l){if(l[0]&2097942|l[1]&377624){i=e.ensure_array_like(n[160].currentLimits);let r;for(r=0;r<i.length;r+=1){const c=gt(n,i,r);o[r]?o[r].p(c,l):(o[r]=Dt(c),o[r].c(),o[r].m(t.parentNode,t))}for(;r<o.length;r+=1)o[r].d(1);o.length=i.length}},d(n){n&&e.detach(t),e.destroy_each(o,n)}}}function ba(a){let t,i,o,n=a[34]("lugasPrivacy")+"",l;return{c(){t=e.element("div"),i=e.element("div"),o=e.element("div"),l=e.text(n),e.attr(o,"class","LimitDetailsTextWrapper "+(a[35]?"":"Mobile")),e.attr(i,"class","LimitDetailsWrapper"),e.attr(t,"class","LimitDetails")},m(r,c){e.insert(r,t,c),e.append(t,i),e.append(i,o),e.append(o,l)},p(r,c){c[1]&8&&n!==(n=r[34]("lugasPrivacy")+"")&&e.set_data(l,n)},d(r){r&&e.detach(t)}}}function ka(a){let t,i=`${a[49](a[166])}`,o;return{c(){t=e.element("span"),o=e.text(i)},m(n,l){e.insert(n,t,l),e.append(t,o)},p(n,l){l[0]&512&&i!==(i=`${n[49](n[166])}`)&&e.set_data(o,i)},d(n){n&&e.detach(t)}}}function wa(a){let t,i=`${a[49](a[166],!0)}`,o;return{c(){t=e.element("span"),o=e.text(i)},m(n,l){e.insert(n,t,l),e.append(t,o)},p(n,l){l[0]&512&&i!==(i=`${n[49](n[166],!0)}`)&&e.set_data(o,i)},d(n){n&&e.detach(t)}}}function _t(a){let t,i,o=`${a[49](a[166],!1,!0)}`,n,l,r=`${a[166].period!=="None"||a[166].value!=="cumulativeSession"?" ":a[34]("per")} ${a[34](`${a[166].period}`)} ${a[34]("updateAfterDocApproval")}`,c;return{c(){t=e.element("div"),i=e.element("span"),n=e.text(o),l=e.space(),c=e.text(r),e.attr(t,"class","PendingLimit")},m(g,u){e.insert(g,t,u),e.append(t,i),e.append(i,n),e.append(t,l),e.append(t,c)},p(g,u){u[0]&512&&o!==(o=`${g[49](g[166],!1,!0)}`)&&e.set_data(n,o),u[0]&512|u[1]&8&&r!==(r=`${g[166].period!=="None"||g[166].value!=="cumulativeSession"?" ":g[34]("per")} ${g[34](`${g[166].period}`)} ${g[34]("updateAfterDocApproval")}`)&&e.set_data(c,r)},d(g){g&&e.detach(t)}}}function xt(a){let t,i=a[34]("companyLimitsInfoText")+"",o,n,l,r=a[166].currency+"",c,g=a[40](a[166].limitBalances[0])+"",u;return{c(){t=e.element("div"),o=e.text(i),n=e.space(),l=e.element("span"),c=e.text(r),u=e.text(g),e.attr(t,"class","CompanyLimitsInfoText")},m(m,L){e.insert(m,t,L),e.append(t,o),e.append(t,n),e.append(t,l),e.append(l,c),e.append(l,u)},p(m,L){L[1]&8&&i!==(i=m[34]("companyLimitsInfoText")+"")&&e.set_data(o,i),L[0]&512&&r!==(r=m[166].currency+"")&&e.set_data(c,r),L[0]&512&&g!==(g=m[40](m[166].limitBalances[0])+"")&&e.set_data(u,g)},d(m){m&&e.detach(t)}}}function _a(a){let t,i,o=`${a[49](a[166],!0)}`,n,l;function r(u,m){return u[166].isCoolOffCompleted?Aa:Pa}let c=r(a),g=c(a);return{c(){t=e.element("div"),i=e.element("span"),n=e.text(o),l=e.space(),g.c(),e.attr(t,"class","PendingLimit")},m(u,m){e.insert(u,t,m),e.append(t,i),e.append(i,n),e.append(t,l),g.m(t,null)},p(u,m){m[0]&512&&o!==(o=`${u[49](u[166],!0)}`)&&e.set_data(n,o),c===(c=r(u))&&g?g.p(u,m):(g.d(1),g=c(u),g&&(g.c(),g.m(t,null)))},d(u){u&&e.detach(t),g.d()}}}function xa(a){let t,i=`${a[34]("removedLimitText")} ${a[166].expiryDate}`,o;return{c(){t=e.element("div"),o=e.text(i),e.attr(t,"class","PendingLimit")},m(n,l){e.insert(n,t,l),e.append(t,o)},p(n,l){l[0]&512|l[1]&8&&i!==(i=`${n[34]("removedLimitText")} ${n[166].expiryDate}`)&&e.set_data(o,i)},d(n){n&&e.detach(t)}}}function za(a){let t,i=`${a[34]("removeAfterConfirm")}`,o;return{c(){t=e.element("div"),o=e.text(i),e.attr(t,"class","PendingLimit")},m(n,l){e.insert(n,t,l),e.append(t,o)},p(n,l){l[1]&8&&i!==(i=`${n[34]("removeAfterConfirm")}`)&&e.set_data(o,i)},d(n){n&&e.detach(t)}}}function Sa(a){let t,i=`${a[34]("acknowledgedLimit")}`,o;return{c(){t=e.element("div"),o=e.text(i),e.attr(t,"class","PendingLimit")},m(n,l){e.insert(n,t,l),e.append(t,o)},p(n,l){l[1]&8&&i!==(i=`${n[34]("acknowledgedLimit")}`)&&e.set_data(o,i)},d(n){n&&e.detach(t)}}}function Pa(a){let t=`${a[166].period!=="None"||a[166].value!=="cumulativeSession"?" ":a[34]("per")} ${a[34](`${a[166].period}`)} ${a[34]("updateText")} ${a[166].expiryDate}`,i;return{c(){i=e.text(t)},m(o,n){e.insert(o,i,n)},p(o,n){n[0]&512|n[1]&8&&t!==(t=`${o[166].period!=="None"||o[166].value!=="cumulativeSession"?" ":o[34]("per")} ${o[34](`${o[166].period}`)} ${o[34]("updateText")} ${o[166].expiryDate}`)&&e.set_data(i,t)},d(o){o&&e.detach(i)}}}function Aa(a){let t=`${a[166].period!=="None"||a[166].value!=="cumulativeSession"?" ":a[34]("per")} ${a[34](`${a[166].period}`)} ${a[34]("updateAfterConfirm")}`,i;return{c(){i=e.text(t)},m(o,n){e.insert(o,i,n)},p(o,n){n[0]&512|n[1]&8&&t!==(t=`${o[166].period!=="None"||o[166].value!=="cumulativeSession"?" ":o[34]("per")} ${o[34](`${o[166].period}`)} ${o[34]("updateAfterConfirm")}`)&&e.set_data(i,t)},d(o){o&&e.detach(i)}}}function zt(a){let t,i,o=a[21][a[166].scheduleId].timer+"",n,l,r,c;return{c(){t=e.element("div"),i=e.element("button"),n=e.text(o),e.attr(i,"class",l="ReloadLimitButton "+(a[35]?"":"Mobile")+" "+(a[21][a[166].scheduleId].timerStopped?"":"disabled")),e.attr(t,"class","ContainerLimitActions "+(a[35]?"":"Mobile"))},m(g,u){e.insert(g,t,u),e.append(t,i),e.append(i,n),r||(c=e.listen(i,"click",a[76]),r=!0)},p(g,u){u[0]&2097664&&o!==(o=g[21][g[166].scheduleId].timer+"")&&e.set_data(n,o),u[0]&2097664&&l!==(l="ReloadLimitButton "+(g[35]?"":"Mobile")+" "+(g[21][g[166].scheduleId].timerStopped?"":"disabled"))&&e.attr(i,"class",l)},d(g){g&&e.detach(t),r=!1,c()}}}function St(a){let t,i,o=a[34]("removeLimit")+"",n,l,r;function c(){return a[77](a[166])}return{c(){t=e.element("div"),i=e.element("button"),n=e.text(o),e.attr(i,"class","RemoveLimitButton "+(a[35]?"":"Mobile")),e.attr(t,"class","ContainerLimitActions "+(a[35]?"":"Mobile"))},m(g,u){e.insert(g,t,u),e.append(t,i),e.append(i,n),l||(r=e.listen(i,"click",c),l=!0)},p(g,u){a=g,u[1]&8&&o!==(o=a[34]("removeLimit")+"")&&e.set_data(n,o)},d(g){g&&e.detach(t),l=!1,r()}}}function Pt(a){let t,i,o=a[34]("confirmUpdateLimit")+"",n,l,r,c=a[34]("cancelUpdateLimit")+"",g,u,m;function L(){return a[78](a[166])}function _(){return a[79](a[166])}return{c(){t=e.element("div"),i=e.element("button"),n=e.text(o),l=e.space(),r=e.element("button"),g=e.text(c),e.attr(i,"class","ConfirmLimitButton "+(a[35]?"":"Mobile")),e.attr(r,"class","CancelLimitButton "+(a[35]?"":"Mobile")),e.attr(t,"class","ContainerLimitActions "+(a[35]?"":"Mobile"))},m(b,k){e.insert(b,t,k),e.append(t,i),e.append(i,n),e.append(t,l),e.append(t,r),e.append(r,g),u||(m=[e.listen(i,"click",L),e.listen(r,"click",_)],u=!0)},p(b,k){a=b,k[1]&8&&o!==(o=a[34]("confirmUpdateLimit")+"")&&e.set_data(n,o),k[1]&8&&c!==(c=a[34]("cancelUpdateLimit")+"")&&e.set_data(g,c)},d(b){b&&e.detach(t),u=!1,e.run_all(m)}}}function At(a){let t,i=a[162],o=a[168];const n=()=>a[80](t,i,o),l=()=>a[80](null,i,o);return{c(){t=e.element("div"),t.innerHTML="",e.attr(t,"class","ProgressBarContainer")},m(r,c){e.insert(r,t,c),n()},p(r,c){a=r,(i!==a[162]||o!==a[168])&&(l(),i=a[162],o=a[168],n())},d(r){r&&e.detach(t),l()}}}function Dt(a){let t,i,o,n,l,r=`${a[166].period!=="None"||a[166].value!=="cumulativeSession"?" ":a[34]("per")} ${a[34](`${a[166].period}`)}`,c,g,u,m,L,_,b=!a[166].isModified&&a[4].indexOf(a[160].value)>-1&&!a[166].reviewPending.id,k,T,Z;function J(h,j){return h[166].acknowledgedLimit?wa:ka}let I=J(a),N=I(a),U=a[166].reviewPending&&a[166].reviewPending.id&&_t(a),B=a[1]==="true"&&a[166].limitType==="deposit"&&a[166].limitBalances&&a[166].limitBalances.length>0&&xt(a);function C(h,j){if(h[166].acknowledgedLimit)return Sa;if(h[166].isModified&&h[166].updateAmount==0&&h[166].isCoolOffCompleted)return za;if(h[166].isModified&&h[166].updateAmount==0&&!h[166].isCoolOffCompleted)return xa;if(h[166].isModified)return _a}let Y=C(a),R=Y&&Y(a),M=a[166].acknowledgedLimit&&!a[166].reviewPending.id&&zt(a),x=b&&St(a),P=a[166].isCoolOffCompleted&!a[166].acknowledgedLimit&&!a[166].reviewPending.id&&Pt(a),F=a[2]==="true"&&a[8][a[162]]&&a[166].limitType==="netdeposit"&&At(a);return{c(){t=e.element("div"),i=e.element("div"),o=e.element("div"),n=e.element("div"),N.c(),l=e.space(),c=e.text(r),g=e.space(),U&&U.c(),u=e.space(),B&&B.c(),m=e.space(),R&&R.c(),L=e.space(),M&&M.c(),_=e.space(),x&&x.c(),k=e.space(),P&&P.c(),T=e.space(),F&&F.c(),Z=e.space(),e.attr(n,"class","CurrentLimit"),e.attr(o,"class","CurrentLimitContainer"),e.attr(i,"class","LimitDetailsTextWrapper "+(a[35]?"":"Mobile")),e.attr(t,"class","LimitDetails")},m(h,j){e.insert(h,t,j),e.append(t,i),e.append(i,o),e.append(o,n),N.m(n,null),e.append(n,l),e.append(n,c),e.append(o,g),U&&U.m(o,null),e.append(o,u),B&&B.m(o,null),e.append(o,m),R&&R.m(o,null),e.append(i,L),M&&M.m(i,null),e.append(i,_),x&&x.m(i,null),e.append(i,k),P&&P.m(i,null),e.append(i,T),F&&F.m(i,null),e.append(t,Z)},p(h,j){I===(I=J(h))&&N?N.p(h,j):(N.d(1),N=I(h),N&&(N.c(),N.m(n,l))),j[0]&512|j[1]&8&&r!==(r=`${h[166].period!=="None"||h[166].value!=="cumulativeSession"?" ":h[34]("per")} ${h[34](`${h[166].period}`)}`)&&e.set_data(c,r),h[166].reviewPending&&h[166].reviewPending.id?U?U.p(h,j):(U=_t(h),U.c(),U.m(o,u)):U&&(U.d(1),U=null),h[1]==="true"&&h[166].limitType==="deposit"&&h[166].limitBalances&&h[166].limitBalances.length>0?B?B.p(h,j):(B=xt(h),B.c(),B.m(o,m)):B&&(B.d(1),B=null),Y===(Y=C(h))&&R?R.p(h,j):(R&&R.d(1),R=Y&&Y(h),R&&(R.c(),R.m(o,null))),h[166].acknowledgedLimit&&!h[166].reviewPending.id?M?M.p(h,j):(M=zt(h),M.c(),M.m(i,_)):M&&(M.d(1),M=null),j[0]&528&&(b=!h[166].isModified&&h[4].indexOf(h[160].value)>-1&&!h[166].reviewPending.id),b?x?x.p(h,j):(x=St(h),x.c(),x.m(i,k)):x&&(x.d(1),x=null),h[166].isCoolOffCompleted&!h[166].acknowledgedLimit&&!h[166].reviewPending.id?P?P.p(h,j):(P=Pt(h),P.c(),P.m(i,T)):P&&(P.d(1),P=null),h[2]==="true"&&h[8][h[162]]&&h[166].limitType==="netdeposit"?F?F.p(h,j):(F=At(h),F.c(),F.m(i,null)):F&&(F.d(1),F=null)},d(h){h&&e.detach(t),N.d(),U&&U.d(),B&&B.d(),R&&R.d(),M&&M.d(),x&&x.d(),P&&P.d(),F&&F.d()}}}function Ct(a){let t,i=a[48](a[160])+"",o,n,l=a[160].value==="netdeposit"&&a[34]("activeLimitsInfoText")!=="activeLimitsInfoText"&&a[34]("activeLimitsInfoText").trim().length,r,c,g,u,m=l&&wt(a);function L(k,T){var Z;return k[160].value==="lugas"?ba:((Z=k[160].currentLimits)==null?void 0:Z.length)>0?ya:k[160].value==="lugas"?va:ha}let _=L(a),b=_(a);return{c(){t=e.element("p"),o=e.text(i),n=e.space(),m&&m.c(),r=e.space(),c=e.element("div"),b.c(),g=e.space(),e.attr(t,"class","LimitTitle "+(a[35]?"":"Mobile")),e.attr(c,"class",u="LimitWrapper "+a[160].value+" "+(a[2]==="true"&&a[160].value==="netdeposit"?"ActiveProgressBar":"")+" "+(a[35]?"":"Mobile"))},m(k,T){e.insert(k,t,T),e.append(t,o),e.insert(k,n,T),m&&m.m(k,T),e.insert(k,r,T),e.insert(k,c,T),b.m(c,null),e.append(c,g)},p(k,T){T[0]&512&&i!==(i=k[48](k[160])+"")&&e.set_data(o,i),T[0]&512|T[1]&8&&(l=k[160].value==="netdeposit"&&k[34]("activeLimitsInfoText")!=="activeLimitsInfoText"&&k[34]("activeLimitsInfoText").trim().length),l?m?m.p(k,T):(m=wt(k),m.c(),m.m(r.parentNode,r)):m&&(m.d(1),m=null),_===(_=L(k))&&b?b.p(k,T):(b.d(1),b=_(k),b&&(b.c(),b.m(c,g))),T[0]&516&&u!==(u="LimitWrapper "+k[160].value+" "+(k[2]==="true"&&k[160].value==="netdeposit"?"ActiveProgressBar":"")+" "+(k[35]?"":"Mobile"))&&e.attr(c,"class",u)},d(k){k&&(e.detach(t),e.detach(n),e.detach(r),e.detach(c)),m&&m.d(k),b.d()}}}function Da(a){let t,i=e.ensure_array_like(a[9]),o=[];for(let n=0;n<i.length;n+=1)o[n]=Ct(ft(a,i,n));return{c(){t=e.element("div");for(let n=0;n<o.length;n+=1)o[n].c();e.attr(t,"class","LimitsList")},m(n,l){e.insert(n,t,l);for(let r=0;r<o.length;r+=1)o[r]&&o[r].m(t,null)},p(n,l){if(l[0]&2097942|l[1]&508696){i=e.ensure_array_like(n[9]);let r;for(r=0;r<i.length;r+=1){const c=ft(n,i,r);o[r]?o[r].p(c,l):(o[r]=Ct(c),o[r].c(),o[r].m(t,null))}for(;r<o.length;r+=1)o[r].d(1);o.length=i.length}},d(n){n&&e.detach(t),e.destroy_each(o,n)}}}function Tt(a){let t,i=a[34]("newLimitInfoText")+"",o;return{c(){t=e.element("p"),o=e.text(i),e.attr(t,"class","LimitsInfoText "+(a[35]?"":"Mobile"))},m(n,l){e.insert(n,t,l),e.append(t,o)},p(n,l){l[1]&8&&i!==(i=n[34]("newLimitInfoText")+"")&&e.set_data(o,i)},d(n){n&&e.detach(t)}}}function jt(a){let t=a[160].value==="netdeposit"&&a[34]("newLimitInfoText")!=="newLimitInfoText"&&a[34]("newLimitInfoText").trim().length,i,o=t&&Tt(a);return{c(){o&&o.c(),i=e.empty()},m(n,l){o&&o.m(n,l),e.insert(n,i,l)},p(n,l){l[0]&512|l[1]&8&&(t=n[160].value==="netdeposit"&&n[34]("newLimitInfoText")!=="newLimitInfoText"&&n[34]("newLimitInfoText").trim().length),t?o?o.p(n,l):(o=Tt(n),o.c(),o.m(i.parentNode,i)):o&&(o.d(1),o=null)},d(n){n&&e.detach(i),o&&o.d(n)}}}function Et(a){let t,i,o=a[34]("complianceText")+"",n;return{c(){t=e.element("div"),i=e.element("p"),n=e.text(o),e.attr(i,"class","LimitComplianceText"),e.attr(t,"class","LimitCompliance")},m(l,r){e.insert(l,t,r),e.append(t,i),e.append(i,n)},p(l,r){r[1]&8&&o!==(o=l[34]("complianceText")+"")&&e.set_data(n,o)},d(l){l&&e.detach(t)}}}function Mt(a){let t,i,o=a[34]("limitType")+"",n,l,r,c,g,u=e.ensure_array_like(a[9]),m=[];for(let L=0;L<u.length;L+=1)m[L]=It(ut(a,u,L));return{c(){t=e.element("label"),i=e.element("span"),n=e.text(o),l=e.space(),r=e.element("select");for(let L=0;L<m.length;L+=1)m[L].c();e.attr(i,"class","LimitSelectText"),e.attr(r,"name",""),e.attr(r,"id",""),a[17]===void 0&&e.add_render_callback(()=>a[81].call(r)),e.attr(t,"class","LimitTypeDropdownWrapper "+(a[35]?"":"Mobile"))},m(L,_){e.insert(L,t,_),e.append(t,i),e.append(i,n),e.append(t,l),e.append(t,r);for(let b=0;b<m.length;b+=1)m[b]&&m[b].m(r,null);e.select_option(r,a[17],!0),c||(g=[e.listen(r,"change",a[81]),e.listen(r,"change",a[82])],c=!0)},p(L,_){if(_[1]&8&&o!==(o=L[34]("limitType")+"")&&e.set_data(n,o),_[0]&512|_[1]&131072){u=e.ensure_array_like(L[9]);let b;for(b=0;b<u.length;b+=1){const k=ut(L,u,b);m[b]?m[b].p(k,_):(m[b]=It(k),m[b].c(),m[b].m(r,null))}for(;b<m.length;b+=1)m[b].d(1);m.length=u.length}_[0]&131072&&e.select_option(r,L[17])},d(L){L&&e.detach(t),e.destroy_each(m,L),c=!1,e.run_all(g)}}}function It(a){let t,i=a[48](a[160])+"",o;return{c(){t=e.element("option"),o=e.text(i),t.__value=a[162],e.set_input_value(t,t.__value)},m(n,l){e.insert(n,t,l),e.append(t,o)},p(n,l){l[0]&512&&i!==(i=n[48](n[160])+"")&&e.set_data(o,i)},d(n){n&&e.detach(t)}}}function Ut(a){let t,i,o=a[34]("period")+"",n,l,r,c,g,u=e.ensure_array_like(a[10][a[11]].periods),m=[];for(let L=0;L<u.length;L+=1)m[L]=Nt(mt(a,u,L));return{c(){t=e.element("label"),i=e.element("span"),n=e.text(o),l=e.space(),r=e.element("select");for(let L=0;L<m.length;L+=1)m[L].c();e.attr(i,"class","PeriodSelectText"),e.attr(r,"name",""),e.attr(r,"id",""),r.disabled=a[32],a[12]===void 0&&e.add_render_callback(()=>a[83].call(r)),e.attr(t,"class","LimitPeriodDropdownWrapper "+(a[35]?"":"Mobile"))},m(L,_){e.insert(L,t,_),e.append(t,i),e.append(i,n),e.append(t,l),e.append(t,r);for(let b=0;b<m.length;b+=1)m[b]&&m[b].m(r,null);e.select_option(r,a[12],!0),c||(g=[e.listen(r,"change",a[83]),e.listen(r,"change",a[36])],c=!0)},p(L,_){if(_[1]&8&&o!==(o=L[34]("period")+"")&&e.set_data(n,o),_[0]&3072|_[1]&8){u=e.ensure_array_like(L[10][L[11]].periods);let b;for(b=0;b<u.length;b+=1){const k=mt(L,u,b);m[b]?m[b].p(k,_):(m[b]=Nt(k),m[b].c(),m[b].m(r,null))}for(;b<m.length;b+=1)m[b].d(1);m.length=u.length}_[1]&2&&(r.disabled=L[32]),_[0]&7168&&e.select_option(r,L[12])},d(L){L&&e.detach(t),e.destroy_each(m,L),c=!1,e.run_all(g)}}}function Nt(a){let t,i=a[34](a[157])+"",o,n;return{c(){t=e.element("option"),o=e.text(i),t.__value=n=a[157],e.set_input_value(t,t.__value),t.selected=!0},m(l,r){e.insert(l,t,r),e.append(t,o)},p(l,r){r[0]&3072|r[1]&8&&i!==(i=l[34](l[157])+"")&&e.set_data(o,i),r[0]&3072&&n!==(n=l[157])&&(t.__value=n,e.set_input_value(t,t.__value))},d(l){l&&e.detach(t)}}}function Bt(a){let t,i=a[18]===null?`${a[34]("invalidInputMessage")}`:a[18]<a[13]?`${a[34]("invalidInputMessageLimitMin",{values:{minValue:a[13],maxValue:a[14],currency:a[0]}})}`:`${a[34]("invalidInputMessageLimitMax",{values:{minValue:a[13],maxValue:a[14],currency:a[0]}})}`,o;return{c(){t=e.element("p"),o=e.text(i),e.attr(t,"class","InvalidInput")},m(n,l){e.insert(n,t,l),e.append(t,o)},p(n,l){l[0]&286721|l[1]&8&&i!==(i=n[18]===null?`${n[34]("invalidInputMessage")}`:n[18]<n[13]?`${n[34]("invalidInputMessageLimitMin",{values:{minValue:n[13],maxValue:n[14],currency:n[0]}})}`:`${n[34]("invalidInputMessageLimitMax",{values:{minValue:n[13],maxValue:n[14],currency:n[0]}})}`)&&e.set_data(o,i)},d(n){n&&e.detach(t)}}}function Ca(a){let t,i=a[34]("setLimit")+"",o,n;return{c(){t=e.element("button"),o=e.text(i),e.attr(t,"class","LimitSubmitButton "+(a[35]?"":"Mobile")),e.attr(t,"type","submit"),t.disabled=n=a[31]||a[33]},m(l,r){e.insert(l,t,r),e.append(t,o)},p(l,r){r[1]&8&&i!==(i=l[34]("setLimit")+"")&&e.set_data(o,i),r[1]&5&&n!==(n=l[31]||l[33])&&(t.disabled=n)},d(l){l&&e.detach(t)}}}function Ta(a){let t;return{c(){t=e.element("div"),t.innerHTML='<div class="skeletonLimitAmount"><div class="skeletonAmountText"><ui-skeleton width="auto" height="20px" structure="text" margin-right="auto"></ui-skeleton></div> <div class="skeletonSubText"><ui-skeleton width="auto" height="20px" structure="text" margin-right="auto"></ui-skeleton></div></div> <div class="skeletonLimitButton"><div><ui-skeleton width="auto" height="40px" structure="rectangle" margin-right="auto"></ui-skeleton></div> <div><ui-skeleton width="auto" height="40px" structure="rectangle" margin-right="auto"></ui-skeleton></div></div> ',e.attr(t,"class","skeletonLimitContent")},m(i,o){e.insert(i,t,o)},p:e.noop,d(i){i&&e.detach(t)}}}function ja(a){let t,i,o,n,l,r,c=e.ensure_array_like(Array(3)),g=[];for(let u=0;u<c.length;u+=1)g[u]=Ta($i(a,c,u));return{c(){t=e.element("div"),i=e.element("div"),i.innerHTML='<ui-skeleton width="auto" height="25px" structure="text" margin-right="auto"></ui-skeleton>',o=e.space(),n=e.element("div");for(let u=0;u<g.length;u+=1)g[u].c();l=e.space(),r=e.element("div"),r.innerHTML='<div class="skletonHeader"><ui-skeleton width="auto" height="25px" structure="title" margin-right="auto"></ui-skeleton></div> <div class="skletonSubText"><ui-skeleton width="auto" height="15px" structure="text" margin-right="auto"></ui-skeleton></div> <div class="skeletonPeriod"><ui-skeleton width="auto" height="40px" structure="rectangle" margin-right="auto"></ui-skeleton></div> <div class="skletonSubText"><ui-skeleton width="auto" height="15px" structure="text" margin-right="auto"></ui-skeleton></div> <div class="skeletonInputAmount"><ui-skeleton width="auto" height="40px" structure="rectangle" margin-right="auto"></ui-skeleton></div> <div class="skeletonButton"><ui-skeleton width="auto" height="50px" structure="rectangle" margin-right="auto"></ui-skeleton></div>',e.attr(i,"class","skeletonLimitText"),e.attr(n,"class","skeletonLimitWrapper"),e.attr(r,"class","skeletonInputWrapper"),e.attr(t,"class","skeletonLimitContainer")},m(u,m){e.insert(u,t,m),e.append(t,i),e.append(t,o),e.append(t,n);for(let L=0;L<g.length;L+=1)g[L]&&g[L].m(n,null);e.append(t,l),e.append(t,r)},p:e.noop,d(u){u&&e.detach(t),e.destroy_each(g,u)}}}function Ea(a){let t,i,o,n,l,r=a[27]&&a[6]==="false"&&yt(a);const c=[La,ga,fa],g=[];function u(m,L){return m[24]?0:m[25]?1:m[24]?-1:2}return~(o=u(a))&&(n=g[o]=c[o](a)),{c(){t=e.element("div"),r&&r.c(),i=e.space(),n&&n.c()},m(m,L){e.insert(m,t,L),r&&r.m(t,null),e.append(t,i),~o&&g[o].m(t,null),a[85](t),l=!0},p(m,L){m[27]&&m[6]==="false"?r?r.p(m,L):(r=yt(m),r.c(),r.m(t,i)):r&&(r.d(1),r=null);let _=o;o=u(m),o===_?~o&&g[o].p(m,L):(n&&(e.group_outros(),e.transition_out(g[_],1,1,()=>{g[_]=null}),e.check_outros()),~o?(n=g[o],n?n.p(m,L):(n=g[o]=c[o](m),n.c()),e.transition_in(n,1),n.m(t,null)):n=null)},i(m){l||(e.transition_in(n),l=!0)},o(m){e.transition_out(n),l=!1},d(m){m&&e.detach(t),r&&r.d(),~o&&g[o].d(),a[85](null)}}}function Ma(a,t,i){let o;e.component_subscribe(a,e.$format,s=>i(34,o=s));let{$$slots:n={},$$scope:l}=t,{lang:r="en"}=t,{currency:c=""}=t,{limits:g=""}=t,{session:u=""}=t,{userid:m=""}=t,{endpoint:L=""}=t,{apiversion:_=""}=t,{companylimits:b="false"}=t,{customcurrencysymbols:k=""}=t,{netdepositprogress:T="false"}=t,{enablecompliancetext:Z=""}=t,{deletelimit:J=""}=t,{amountsconfig:I=""}=t,{periodsconfig:N=""}=t,{defaultperiod:U=""}=t,{limittabindex:B=""}=t,{limitformat:C=""}=t,{allowedextenssion:Y=".jpg,.jpeg,.png,.pdf,.webp,image/png"}=t,{filesizeallow:R="12934000"}=t,{clientstyling:M=""}=t,{clientstylingurl:x=""}=t,{translationurl:P=""}=t,{mbsource:F}=t,{timezone:h="GMT"}=t,{isLimitNotification:j="false"}=t,{cooloffstrictmode:G="false"}=t,V,W=[],ce=window.navigator.userAgent,me=!e.isMobile(ce),z="",v="",A="",S="",K="",De="",ue="",te="",_e="",ye=0,We,q,xe,E=[],le={},de={},be={},Wt={},he,ke={EUR:"€",RON:" lei",USD:"$"},Ce={remove:{},confirm:{},update:{}},ee={},Oe=!1,Te=!1,X=!0,ne=!1,je=!1,we=!1,ie=!1,fe=!1,ze=!1,ve=!1,Fe=!1,Ee=!1;const Ve={wager:"wagering",loss:"loss",deposit:"deposit",netdeposit:"netdeposit",cumulativeSession:"cumulativeSession",sessionLimit:"session"},qe={unableToUpdatePendingRequest:["SYS_1037","SYS_1142","SYS_1140"],internalServerError:["F0004","F0006"]},Ot=()=>{fetch(P).then(d=>d.json()).then(d=>{Object.keys(d).forEach(p=>{dt(p,d[p])})}).catch(d=>{console.log(d)})};Object.keys(Le).forEach(s=>{dt(s,Le[s])});const Me=s=>`dataLayer-${s}`,Q=(s,d)=>{typeof gtag=="function"&>ag({event:s,limit_category:Le[r][Me(A.toLowerCase())]||A,limit_type:Le[r][Me(z.toLowerCase())]||z,limit_period:Le[r][Me(v.toLowerCase())]||v,limit_amount:q||d})},Ft=()=>{var f;const s=I.split(",").map(y=>y.split(":")),d=N.split(",").map(y=>y.split(":"));for(let[y,w]of s.entries())if(w[0]!==d[y][0])throw new Error(`Limit config mismatch: "${w[0]}" does not match "${d[y][0]}"`);const p=s.reduce((y,w,D)=>{const O=w[0].slice(w[0].indexOf("(")+1,w[0].indexOf(")")),se=w[0].slice(0,w[0].indexOf("(")),re=w[1],Ae=d[D][1].trim().replace("D","Daily").replace("W","Weekly").replace("M","Monthly").replace("N","None").split("-"),Be={value:O,product:se,minMax:re,periods:Ae,callValue:H[O].callValue,callValue16:H[O].callValue16,title:H[O].title};return y.push(Be),y},[]);for(let y=0;y<p.length;y++)i(9,E[y].product=p[y].product,E),i(9,E[y].min=parseInt(p[y].minMax.split("-")[0],10),E),i(9,E[y].max=parseInt(p[y].minMax.split("-")[1],10),E),i(10,H[p[y].value].periods=p[y].periods,H);De=(f=E[0])==null?void 0:f.value,E.forEach(y=>{de[y.value]={min:y.min,max:y.max},Wt[y.value]=y.product}),de&&(de[De]?(i(13,S=de[De].min),i(14,K=de[De].max)):(i(13,S=1),i(14,K=9999999)))},Vt=()=>{const s=/\(([^)]+)\)/g;return[...I.matchAll(s)].flat().filter(p=>!p.includes("("))},qt=()=>{Vt().forEach(p=>{H[p]?E.push(ge({},H[p])):console.error(`Unknown limit: ${p}`)}),Ft(),i(11,z=E[0].value);const d=H[z].periods;i(12,v=U&&d.find(p=>p===U)||d[0]),A=E[0].product,i(22,Oe=E.length>1),i(23,Te=H[z].periods.length>1)},He=(s,d)=>{var f,y,w;const p=(y=(f=s==null?void 0:s[0])==null?void 0:f.currentLimits)==null?void 0:y.find(D=>D.period===d);return(w=p==null?void 0:p.isCoolOffCompleted)!=null?w:!0},Ht=()=>{G==="true"&&i(33,Ee=!He(E,v))},Ge=()=>{i(11,z=E[ye].value),i(12,v=H[z].periods[0]),i(23,Te=H[z].periods.length>1)},Ke=()=>{A=E[ye].product},$=s=>{if(s.status>=300)Gt(s);else return i(26,je=!1),s.status!==204?s.json():s},Gt=s=>{i(25,ne=!0);let d;throw s.json().then(p=>{for(const f in qe)if(p.error&&qe[f].some(y=>p.error.includes(y))){d=f;break}console.error("errType",d),!d&&Pe(p)}).finally(()=>{d&&Pe(d),i(25,ne=!1),i(24,X=!1)}),new Error("An error occured during the fetch request")},Kt=()=>oe(this,null,function*(){if(!(q>0))return;pe(),i(24,X=!0);let s=new URL(`${L}/v2/player/${m}/limits`),d={};z==="sessionLimit"?d={sessionLimit:q,sessionLimitUnit:"minute"}:z==="cumulativeSession"?d[H[z].callValue]=[{period:v,minutes:q}]:d[H[z].callValue]=[{period:H[z].periods[0]==="None"?null:v,amount:q,currency:c}];let p={method:"PUT",headers:{"X-SessionID":u,"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify(d)};const f=yield fetch(s.href,p);yield $(f),Q("self_limitation_success"),yield ae()}),Ye=()=>oe(this,null,function*(){var se;const s=E[ye],d=(se=s==null?void 0:s.currentLimits)==null?void 0:se.find(re=>re.period===v),p=$e();if(p&&p.reviewPending&&p.reviewPending.id)return window.postMessage({type:"WidgetNotification",data:{type:"error",message:o("limitInDocReview")}},window.location.href);if(pe(),i(24,X=!0),p&&p.reviewRequired&&!ue&&q>p.amount){i(30,ze=!0),i(28,ie=!0);return}const f=d?"v2":"v1",y=new URL(`${L}/${f}/player/${m}/limits/monetary/${d?d.id:""}`),w=d?"PUT":"POST",D=d?ue?{amount:q,skipCoolOff:!1,payload:{DocumentId:ue}}:{amount:q,skipCoolOff:!1}:{amount:q,currency:c,period:H[z].periods[0]==="None"?null:v,type:H[z].callValue16,products:[A!=null?A:"All"],walletTypes:["Deposit","NetDeposit"].includes(H[z].callValue16)?["All"]:["RealCash"]};let O={method:w,headers:{"X-SessionID":u,"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify(D)};try{const re=yield fetch(y.href,O);yield $(re),Q("self_limitation_success"),yield ae()}finally{i(30,ze=!1),ue=""}}),Yt=()=>oe(this,null,function*(){if(!(q>0))return;pe(),i(24,X=!0);const s=new URL(`${L}/v1/player/${m}/limits/session/`);let f={method:"PUT",headers:{"X-SessionID":u,"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify({sessionLimit:q,sessionLimitUnit:"minute"})};const y=yield fetch(s.href,f);yield $(y),Q("self_limitation_success"),yield ae()}),Zt=()=>oe(this,null,function*(){if(!(q>0))return;pe(),i(24,X=!0);const s=new URL(`${L}/v1/player/${m}/limits/session/`);let f={method:"PUT",headers:{"X-SessionID":u,"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify({cumulativeSessionLimits:[{period:v,minutes:q}]})};const y=yield fetch(s.href,f);yield $(y),Q("self_limitation_success"),yield ae()}),Jt=()=>oe(this,null,function*(){if(!(q>0))return;pe(),i(24,X=!0);const s=new URL(`${L}/v2/player/${m}/limit/lugas`);let f={method:"POST",headers:{"X-SessionID":u,"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify({amount:q,roleLimitAmount:0,softMigration:!1,keepLimit:!1})};const y=yield fetch(s.href,f),w=yield $(y);i(19,xe=w.popup),We=w.regulatorDepositLimitAmount,Q("self_limitation_success"),yield ae()}),Xt=()=>oe(this,null,function*(){be={};try{if(_==="gm16")switch(z){case"lugas":yield Jt();break;case"sessionLimit":yield Yt();break;case"cumulativeSession":yield Zt();break;default:yield Ye();break}else if(_==="gmcore")yield Kt();else throw Error(`Invalid apiversion attribute: ${_}`);j==="true"&&(window.postMessage({type:"WidgetNotification",data:{type:"success",message:te}},window.location.href),window.postMessage({type:"SubmitLimitNotificationSuccess"},window.location.href))}catch(s){j==="true"&&window.postMessage({type:"WidgetNotification",data:{type:"error",message:o("limitNotificationFail")}},window.location.href),console.error("limitUpdateError:",s)}Q("self_limitation_request")}),ae=()=>oe(this,null,function*(){switch(_){case"gmcore":yield Qt();break;case"gm16":yield $t();break}}),Qt=()=>oe(this,null,function*(){i(24,X=!0);let s=new URL(`${L}/v2/player/${m}/limits`),d={method:"GET",headers:{"X-SessionID":u,"Content-Type":"application/json",Accept:"application/json"}};try{const p=yield fetch(s.href,d);le=$(p),we&&Pe(),ri(le),li(le),i(18,q=null)}catch(p){console.error("Error LimitsWidget: ",p),i(25,ne=!0)}finally{i(24,X=!1)}}),$t=()=>oe(this,null,function*(){i(24,X=!0);const s=E.some(w=>w.value==="sessionLimit"||w.value==="cumulativeLimit");let d=!s;const p=new URL(`${L}/v1/player/${m}/limits/monetary`),f=new URL(`${L}/v1/player/${m}/limits/session`),y={method:"GET",headers:{"X-SessionID":u,"Content-Type":"application/json",Accept:"application/json"}};try{const w=yield fetch(p.href,y),D=yield $(w);le=D,di(D),we&&Pe(),i(18,q=null)}catch(w){console.error("Error LimitsWidget: ",w),i(25,ne=!0)}finally{d&&i(24,X=!1),d=!0}if(s)try{const w=yield fetch(f.href,y),D=yield $(w);pi(D),mi(D),we&&(z==="sessionLimit"||z==="cumulativeSession")&&Pe(),i(18,q=null)}catch(w){console.error("Error LimitsWidget: ",w),i(25,ne=!0)}finally{d&&i(24,X=!1),d=!0}}),ei=()=>oe(this,null,function*(){var w;let s=new URL(`${L}/v1/player/${m}/limits/monetary/balance`);const d=[],p={method:"GET",headers:{"X-SessionID":u,"Content-Type":"application/json",Accept:"application/json"}};try{const D=yield fetch(s.href,p),O=yield $(D);d.push(O)}catch(D){console.error("Error LimitsWidget: ",D),i(25,ne=!0)}const f=E.length?E.filter(D=>D.value==="netdeposit"):[];if(!f.length)return;const y=(w=d.find(D=>D.limitBalances))==null?void 0:w.limitBalances.filter(D=>D.limitType==="NetDeposit");if(f.length&&(y!=null&&y.length)){const D=f[0].currentLimits;f[0].currentLimits=D.map(O=>{const se=y.find(re=>re.limitDefinitionId===O.id);return ge(ge({},O),se?{spentBalance:se.spentBalance}:{})})}i(9,E=f)}),ti=()=>oe(this,null,function*(){const s=new URL(`/api/pam/v1/limit-balances/most-restrictive?userId=${m}&playerLimitTypes=Deposit&playerLimitTypes=NetDeposit&playerLimitTypes=OperatorDeposit&playerLimitTypes=OperatorNetDeposit`,L),d={method:"GET",headers:{"X-SessionID":u,"Content-Type":"application/json",Accept:"application/json"}};try{const p=yield fetch(s.href,d),f=yield $(p);ii(f)}catch(p){console.error("Error LimitsWidget: ",p),i(25,ne=!0)}}),ii=s=>{const d=s.limitBalances;i(9,E=E.map(p=>p.value==="deposit"&&p.currentLimits?Re(ge({},p),{currentLimits:p.currentLimits.map(f=>Re(ge({},f),{limitBalances:d}))}):p))},ai=s=>parseFloat((p=>{var w,D,O;if(!p)return 0;const f=(w=p==null?void 0:p.limitAmount)!=null?w:0,y=(O=(D=p==null?void 0:p.spentBalance)==null?void 0:D.amount)!=null?O:0;return y>=f?0:f-y})(s).toString()).toFixed(2),oi=()=>E.every((s,d)=>{var p,f;return((p=s.currentLimits)==null?void 0:p.length)===((f=W[d])==null?void 0:f.length)&&s.value==="netdeposit"&&W[d].every(y=>y!==null)}),ni=(s,d,p)=>{const f=s>0?Math.min(d/s*100,100):0,y=Math.round(f),w=document.createElement("div");w.className=`Progress-bar-container ${y===0?"ZeroProgress":""}`;const D=document.createElement("div");D.className="Progress-bar-fill",D.style.width=`${f}%`;const O=document.createElement("span");return O.className="Progress-bar-label",O.textContent=`${p}${d}`,w.appendChild(D),w.appendChild(O),w},si=(s,d)=>{var se;const p=W[s][d];if(!p)return;const f=E[s].currentLimits[d],y=f.amount,w=((se=f.spentBalance)==null?void 0:se.amount)||0,D=f.currency;p.innerHTML="";const O=ni(y,w,D);p.appendChild(O)},Ie=()=>oe(this,null,function*(){var d,p;yield e.tick();let s=!0;for(let f=0;f<E.length;f++){for(let y=0;y<(((d=E[f].currentLimits)==null?void 0:d.length)||0);y++)if(!W[f]||!W[f][y]){s=!1;break}if(!s)break}if(!s){setTimeout(()=>Ie(),10);return}for(let f=0;f<E.length;f++)for(let y=0;y<(((p=E[f].currentLimits)==null?void 0:p.length)||0);y++)si(f,y)}),ri=s=>{E.forEach(d=>{d.currentLimits=[];const p=Array.isArray(s[H[d.value].callValue])?s[H[d.value].callValue]:[s[H[d.value].callValue]];p.length===0||p[0]===void 0||(p.forEach((f,y)=>{var D;const w=s[H[d.value].callValue][y];d.currentLimits.push({}),d.currentLimits[y].limitType=d.value,d.currentLimits[y].amount=C?w.amount:Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(w.amount),d.currentLimits[y].currency=(D=ke[w.currency])!=null?D:w.currency,d.currentLimits[y].period=w.period,d.currentLimits[y].updateAmount=Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(w.updateAmount),d.currentLimits[y].isModified=w.isModified,d.currentLimits[y].expiryDate=`${new Date(w.expiryDate).toLocaleDateString("en-de",{hour:"numeric",minute:"numeric"}).replaceAll("/",".")} (${h})`}),d.currentLimits=Se(d.currentLimits))})},li=s=>{const d=o("minutes");E.filter(p=>p.value==="sessionLimit"||p.value==="cumulativeSession").forEach(p=>{var f;p.currentLimits=[],(f=s[H[p.value].callValue])==null||f.forEach((y,w)=>{const D=s[H[p.value].callValue][w];p.currentLimits.push({limitType:p.value,amount:Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(D.minutes),currency:d,isModified:D.isModified,period:p.value==="cumulativeSession"?D.period:"None",updateAmount:Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(D.updateMinutes),expiryDate:`${new Date(D.expiryDate).toLocaleDateString("en-de",{hour:"numeric",minute:"numeric"}).replaceAll("/",".")} (${h})`})}),p.currentLimits=Se(p.currentLimits)})},di=s=>{s!=null&&s.limits&&(E.filter(d=>d.value!=="sessionLimit"&&d.value!=="cumulativeSession").forEach(d=>{var p;d.currentLimits=[];for(const f of s.limits){if(f.type!==d.callValue16||!f.products.includes(d.product))continue;let y=0,w=f.schedules.length>0?f.schedules.find(D=>D.id):{};f.schedules.length>0&&(y=C?w.updateAmount:Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(w.updateAmount)),d.currentLimits.push({limitType:d.value,amount:C?f.amount:Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(f.amount),currency:(p=ke[f.currency])!=null?p:f.currency,isModified:f.schedules.length>0,period:f.period,product:f.products[0],updateAmount:y,isCoolOffCompleted:w?w.isCoolOffCompleted:!1,reviewRequired:f.reviewRequired?f.reviewRequired:!1,reviewPending:f.reviewPending?f.reviewPending:{},scheduleId:w?w.id:null,expiryDate:f.schedules.length>0?`${new Date(f.schedules[0].applyAt).toLocaleDateString("en-de",{hour:"numeric",minute:"numeric"}).replaceAll("/",".")} (${h})`:"",id:f.id}),d.currentLimits.forEach(D=>{D.acknowledgedLimit=Object.keys(ee).some(O=>D.scheduleId===O)}),G==="true"&&i(33,Ee=!He(E,v))}d.currentLimits=Se(d.currentLimits)}),T==="true"&&ei(),b==="true"&&ti())},pi=s=>{s!=null&&s.sessionLimit&&E.filter(d=>d.value==="sessionLimit").forEach(d=>{d.currentLimits=[],d.currentLimits.push({limitType:"sessionLimit",amount:Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(s.sessionLimit.minutes),currency:o("minutes"),isModified:s.sessionLimit.isModified,period:"None",updateAmount:Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(s.sessionLimit.updateMinutes),expiryDate:s.sessionLimit.expiryDate}),d.currentLimits=Se(d.currentLimits)})},mi=s=>{s!=null&&s.cumulativeSessionLimits&&E.filter(d=>d.value==="cumulativeSession").forEach(d=>{d.currentLimits=[];for(const p of s.cumulativeSessionLimits)d.currentLimits.push({limitType:"cumulativeSession",amount:Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(p.minutes),currency:o("minutes"),isModified:p.isModified,period:p.period,updateAmount:Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(p.updateMinutes),expiryDate:p.expiryDate});d.currentLimits=Se(d.currentLimits)})},Se=s=>{const d={Daily:0,Weekly:1,Monthly:2};return s.sort((p,f)=>d[p.period]-d[f.period]),s},Ze=s=>{window.postMessage({type:"InValidLimit",data:s},window.location.href)},Je=()=>{if(q===null||Number.isNaN(q)){i(31,ve=!0),Ze(ve);return}const d=!Number.isInteger(q)?Math.round(q):q;i(18,q=d),i(31,ve=d<S||d>K),Ze(ve)},ui=s=>s.preventDefault(),Xe=s=>{s&&s.preventDefault(),Je(),ve||Xt()},Qe=()=>{i(31,ve=!1),de!=null&&de[z]?(i(13,S=de[z].min),i(14,K=de[z].max)):(i(13,S=1),i(14,K=9999999))},ci=()=>{if(le){const s=le[H[z].callValue].find(f=>f.period===v),d=Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(s.amount);let p=o("popupImmediateUpdate").replace("{selectedLimit}",Ue(s)).replace("{updatedAmount}",d).replace("{currency}",ke[s.currency]||s.currency).replace("{selectedPeriod}",o(`${v}`));i(15,te=s.isModified?`${o("popupPendingUpdate")} ${new Date(s.expiryDate).toLocaleDateString("en-de",{hour:"numeric",minute:"numeric"}).replaceAll("/",".")} (${h})`:p)}i(28,ie=!0)},$e=()=>{if(!le)return;const s=le.limits;let d=null;return Object.keys(be).length>0?d=s.find(p=>p.id===be.id):d=s==null?void 0:s.find(p=>p.type.toLowerCase()===Ve[z].toLowerCase()&&(p.period===v||p.period==="None")&&p.products[0]===A),(d==null?void 0:d.schedules.length)>0&&ee[d==null?void 0:d.schedules[0].id]&&(d.amount=d.schedules[0].updateAmount),d},fi=()=>{let s=$e();if(!s){i(28,ie=!0);return}const d=ot(s)||Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(s.amount),p=s.schedules.length>0?`${new Date(s.schedules[0].applyAt).toLocaleDateString("en-de",{hour:"numeric",minute:"numeric"}).replaceAll("/",".")} (${h})`:"";let f=o("popupImmediateUpdate").replace("{selectedLimit}",Ue(s)).replace("{updatedAmount}",d).replace("{selectedPeriod}",o(`${s.period}`));s.schedules.length>0&&ee[s.schedules[0].id]?i(15,te=f):i(15,te=s.schedules.length>0?`${o("popupPendingUpdate")} ${p}`:f),i(28,ie=!0)},gi=()=>{xe==1&&i(16,_e="PopupKyc"),xe==2&&(i(15,te=`${o("popup2_a")}${Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(We)} ${c} ${o("popup2_b")}`),i(16,_e="PopupKyc2")),xe==3&&(i(15,te=o("popup3")),i(16,_e="PopupSuccess")),i(28,ie=!0)},Li=()=>{i(15,te=o("sessionLimitUpdated")),i(28,ie=!0)},hi=()=>{if(le){const s=le[H[z].callValue].find(f=>(f.period===v||v==="None")&&f.products[0]===A),d=Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(s.minutes);let p=o("popupImmediateUpdate").replace("{selectedLimit}",o(`${z}`)).replace("{updatedAmount}",d).replace("{currency}",o("minutes")).replace("{selectedPeriod}",o(`${v}`));i(15,te=s.isModified?`${o("popupPendingUpdate")} ${new Date(s.expiryDate).toLocaleDateString("en-de",{hour:"numeric",minute:"numeric"}).replaceAll("/",".")} (${h})`:p)}i(28,ie=!0)},vi=s=>{var d;return(d=s==null?void 0:s.error)==null?void 0:d.includes("Limit update is not permitted due to LimitUpdateControl")},yi=s=>{var d;return(d=s==null?void 0:s.error)==null?void 0:d.includes("Limit remove is not permitted due to LimitUpdateControl")},bi=s=>{var d;return(d=s==null?void 0:s.error)==null?void 0:d.includes("[NotFoundException] Limit does not exist")},ki=s=>{var d;return(d=s==null?void 0:s.error)==null?void 0:d.includes("[Exception] Schedule does not exist")},wi=s=>{var d,p;return((d=s.details)==null?void 0:d.includes("Invalid Session"))||((p=s.error)==null?void 0:p.includes("Invalid Session"))},Pe=s=>{if(window.postMessage({type:"OpenLimitsPopup"},window.location.href),ne){if(i(26,je=!0),!s){i(28,ie=!0);return}vi(s)?i(15,te=o("popupUpdateLimitException")):yi(s)?i(15,te=o("popupRemoveLimitException")):bi(s)?i(15,te=o("notFoundException")):ki(s)?i(15,te=o("scheduleNotFoundException")):wi(s)?i(15,te=o("sessionExpiredException")):i(15,te=o("genericLimitsPopupError")),i(28,ie=!0);return}switch(_){case"gmcore":z==="sessionLimit"||z==="cumulativeSession"?hi():ci();break;case"gm16":z==="lugas"?gi():z==="sessionLimit"||z==="cumulativeSession"?Li():fi();break;default:throw new Error(`Invalid apiversion attribute: ${_}`)}},pe=()=>{i(27,we=!0),window.postMessage({type:"DisableScroll"},window.location.href)},_i=s=>{i(11,z=s.limitType),i(12,v=s.period),pe(),i(24,X=!0);let d=new URL(`${L}/v2/player/${m}/limits/${Ve[s.limitType]}`);s.limitType!=="sessionLimit"&&d.searchParams.append("periods",s.period);let p={method:"DELETE",headers:{"X-SessionID":u,"Content-Type":"application/json",Accept:"application/json"}};fetch(d.href,p).then(f=>$(f)).then(f=>{Q("self_limitation_cancel_success",s.amount),ae()}).catch(f=>{Q("self_limitation_cancel_failed",s.amount),console.log(f),i(25,ne=!0)})},et=s=>{switch(Ce.remove=s,_){case"gmcore":_i(s);break;case"gm16":be=s,s.limitType==="sessionLimit"||s.limitType==="cumulativeSession"?xi(s):tt(s);break}Q("self_limitation_cancel_request",s.amount)},xi=s=>{const d=new URL(`${L}/v1/player/${m}/limits/session/session`),p=new URL(`${L}/v1/player/${m}/limits/session/cumulativeSession?periods=${s.period}`);let f;switch(s.limitType){case"sessionLimit":f=d;break;case"cumulativeSession":f=p;break;default:throw Error(`Unknown limit.limitType: ${s.limitType}`)}pe(),i(24,X=!0);let y={method:"DELETE",headers:{"X-SessionID":u,"Content-Type":"application/json",Accept:"application/json"}};fetch(f.href,y).then(w=>$(w)).then(w=>{Q("self_limitation_cancel_success",s.amount),ae()}).catch(w=>{Q("self_limitation_cancel_failed",s.amount),console.log(w),i(25,ne=!0)})},tt=s=>{if(pe(),i(24,X=!0),s&&s.reviewRequired&&!ue){i(30,ze=!0),i(28,ie=!0);return}const d=new URL(`${L}/v1/player/${m}/limits/monetary/${s.id}`);let p={method:"DELETE",headers:{"X-SessionID":u,"Content-Type":"application/json",Accept:"application/json"}};ue&&d.searchParams.append("documentId",ue),fetch(d.href,p).then(f=>$(f)).then(f=>{Q("self_limitation_cancel_success",s.amount),ae()}).catch(f=>{Q("self_limitation_cancel_failed",s.amount),console.log(f),i(25,ne=!0)}).finally(()=>{Ce.remove={},i(30,ze=!1),ue=""})},it=s=>{const d=new URL(`${L}/v1/player/${m}/limits/schedule/${s.scheduleId}`);pe(),i(24,X=!0);let p={method:"DELETE",headers:{"X-SessionID":u,"Content-Type":"application/json",Accept:"application/json"}};fetch(d.href,p).then(f=>$(f)).then(f=>{be=s,Q("self_limitation_cancel_success",s.updateAmount),ae()}).catch(f=>{Q("self_limitation_cancel_failed",s.updateAmount),console.log(f)})},at=s=>{const d=new URL(`${L}/v1/player/${m}/limits/schedule/acknowledge/${s.scheduleId}`);pe(),i(24,X=!0);let p={method:"PATCH",headers:{"X-SessionID":u,"Content-Type":"application/json",Accept:"application/json"}};fetch(d.href,p).then(f=>$(f)).then(f=>{be=s,zi(s),Q("self_limitation_confirm_success",s.amount),ae()}).catch(f=>{Q("self_limitation_confirm_failed",s.amount),console.log(f)})},zi=s=>{let d=60;i(21,ee[s.scheduleId]={},ee),i(21,ee[s.scheduleId].timer=`${d} ${Le[r].seconds}`,ee),i(21,ee[s.scheduleId].timerStopped=!1,ee);let p=window.setInterval(()=>d===0?(window.clearInterval(p),i(21,ee[s.scheduleId].timerStopped=!0,ee),i(21,ee[s.scheduleId].timer=Le[r].reloadLimitsButton,ee)):i(21,ee[s.scheduleId].timer=`${--d} ${Le[r].seconds}`,ee),1e3)},Ue=s=>{let d;return s?d=s.value?o(s.value+s.product):o(s.type.toLowerCase()+s.products[0]):d=o(z),d},ot=(s,d=!1,p=!1)=>{if(!C)return p?`${s.reviewPending.requestAmount}${s.currency}`:d?`${s.updateAmount}${s.currency}`:`${s.amount}${s.currency}`;let f=C;const y=f.match(/\{(\d+)decimals\}/),w=y?parseInt(y[1],10):2,D=y?new RegExp("\\{\\d+decimals\\}","g"):"{decimals}";let O;p?O=s.reviewPending.requestAmount||0:O=d?s.updateAmount:s.amount,O=parseInt(O).toFixed(w);const[se,re]=C.includes(".")?[",","."]:[".",","];let[Ae,Be]=O.split(".");return Ae=Ae.replace(/\B(?=(\d{3})+(?!\d))/g,se),O=`${Ae}${re}${Be}`,f=f.replace("{currency}",ke[s.currency]||s.currency).replace("{amount}",O.split(re)[0]).replace(D,O.split(re)[1]),f},Ne=()=>{i(28,ie=i(27,we=!1)),i(16,_e=""),window.postMessage({type:"CloseLimitsPopup"},window.location.href),window.postMessage({type:"EnableScroll"},window.location.href),i(24,X=!1)},Si=()=>{window.postMessage({type:"uploadDocuments"},window.location.href),Ne()},Pi=s=>{console.log(s);let d=0;return Object.keys(s).forEach(p=>{d+=s[p].size}),d<=Number(R)},Ai=s=>{let d=!1;return Object.keys(s).forEach(p=>{const f=s[p].name.split(".").pop();return Y.includes(f)?d=!0:d=!1}),d},nt=s=>!s&&!(s.length>0)?i(29,fe=!1):(i(20,he=s),Pi(he)?Ai(he)?i(29,fe=!0):(console.error(o("fileExtenssionDeny")),i(29,fe=!1)):(console.error(o("fileSizeExceeded")),i(29,fe=!1))),Di=()=>{if(!fe)return;i(28,ie=!1);const s=new URL(`${L}/api/v1/mm/content/${m}/url-upload/`),d={method:"POST",headers:{"Content-Type":"application/json","X-SessionId":u},body:JSON.stringify({})};fetch(s,d).then(p=>$(p)).then(p=>{Ci(p)}).catch(p=>{console.error(o("errorUploadDocument"),p),i(20,he=null),i(29,fe=!1)})},Ci=s=>{const d=new FormData;d.append(s.requestId,he[0]),fetch(s.url,{method:"POST",body:d}).then(p=>$(p)).then(p=>{window.postMessage({type:"WidgetNotification",data:{type:"success",message:o("uploadSuccess")}},window.location.href),ue=p.Files[0].Reference,Ce.remove.id?tt(Ce.remove):Ye()}).catch(p=>{window.postMessage({type:"WidgetNotification",data:{type:"error",message:o("errorUploadDocument")}},window.location.href),console.error(o("errorUploadDocument"),p)}).finally(()=>{Ne(),i(20,he=null),i(29,fe=!1)})},Ti=()=>{if(!k)return;let s={};k.split(",").forEach(d=>{let p=d.split(":");s[p[0].trim()]=p[1].trim()}),ke=ge(ge({},ke),s)},ji=()=>{Zi(r)},st=s=>{if(s.data)switch(s.data.type){case"LimitDisableState":{i(32,Fe=s.data.data);break}case"SubmitLimitNotification":{Xe();break}}};e.onMount(()=>(window.addEventListener("message",st),T==="true"&&E.length&&Ie(),()=>{window.removeEventListener("message",st)}));const Ei=s=>nt(s.target.files),Mi=()=>ae(),Ii=s=>et(s),Ui=s=>at(s),Ni=s=>it(s);function Bi(s,d,p){e.binding_callbacks[s?"unshift":"push"](()=>{W[d][p]=s,i(8,W),i(2,T),i(9,E)})}function Ri(){ye=e.select_value(this),i(17,ye)}const Wi=()=>{Ke(),Ge(),Qe()};function Oi(){v=e.select_value(this),i(12,v),i(10,H),i(11,z)}function Fi(){q=e.to_number(this.value),i(18,q)}function Vi(s){e.binding_callbacks[s?"unshift":"push"](()=>{V=s,i(7,V)})}return a.$$set=s=>{"lang"in s&&i(54,r=s.lang),"currency"in s&&i(0,c=s.currency),"limits"in s&&i(55,g=s.limits),"session"in s&&i(56,u=s.session),"userid"in s&&i(57,m=s.userid),"endpoint"in s&&i(58,L=s.endpoint),"apiversion"in s&&i(59,_=s.apiversion),"companylimits"in s&&i(1,b=s.companylimits),"customcurrencysymbols"in s&&i(60,k=s.customcurrencysymbols),"netdepositprogress"in s&&i(2,T=s.netdepositprogress),"enablecompliancetext"in s&&i(3,Z=s.enablecompliancetext),"deletelimit"in s&&i(4,J=s.deletelimit),"amountsconfig"in s&&i(61,I=s.amountsconfig),"periodsconfig"in s&&i(62,N=s.periodsconfig),"defaultperiod"in s&&i(63,U=s.defaultperiod),"limittabindex"in s&&i(5,B=s.limittabindex),"limitformat"in s&&i(64,C=s.limitformat),"allowedextenssion"in s&&i(65,Y=s.allowedextenssion),"filesizeallow"in s&&i(66,R=s.filesizeallow),"clientstyling"in s&&i(67,M=s.clientstyling),"clientstylingurl"in s&&i(68,x=s.clientstylingurl),"translationurl"in s&&i(69,P=s.translationurl),"mbsource"in s&&i(70,F=s.mbsource),"timezone"in s&&i(71,h=s.timezone),"isLimitNotification"in s&&i(6,j=s.isLimitNotification),"cooloffstrictmode"in s&&i(72,G=s.cooloffstrictmode),"$$scope"in s&&i(73,l=s.$$scope)},a.$$.update=()=>{if(a.$$.dirty[1]&536870912&&k&&Ti(),a.$$.dirty[1]&1073741824|a.$$.dirty[2]&1&&N&&I&&qt(),a.$$.dirty[1]&8388608&&r&&ji(),a.$$.dirty[1]&511705088&&m&&u&&L&&_&&r&&ae(),a.$$.dirty[0]&128|a.$$.dirty[2]&32&&M&&V&&e.setClientStyling(V,M),a.$$.dirty[0]&128|a.$$.dirty[2]&64&&x&&V&&e.setClientStylingURL(V,x),a.$$.dirty[0]&128|a.$$.dirty[2]&256&&F&&V&&e.setStreamStyling(V,`${F}.Style`),a.$$.dirty[2]&128&&P&&Ot(),a.$$.dirty[0]&772&&T==="true"&&E.length){const s=E.map(p=>{var f;return new Array(((f=p.currentLimits)==null?void 0:f.length)||0).fill(null)});(W.length!==s.length||W.some((p,f)=>p.length!==s[f].length))&&i(8,W=s)}a.$$.dirty[0]&772&&T==="true"&&W.length===E.length&&oi()&&Ie()},[c,b,T,Z,J,B,j,V,W,E,H,z,v,S,K,te,_e,ye,q,xe,he,ee,Oe,Te,X,ne,je,we,ie,fe,ze,ve,Fe,Ee,o,me,Ht,Ge,Ke,ae,ai,Je,ui,Xe,Qe,et,it,at,Ue,ot,Ne,Si,nt,Di,r,g,u,m,L,_,k,I,N,U,C,Y,R,M,x,P,F,h,G,l,n,Ei,Mi,Ii,Ui,Ni,Bi,Ri,Wi,Oi,Fi,Vi]}class Rt extends e.SvelteComponent{constructor(t){super(),e.init(this,t,Ma,Ea,e.safe_not_equal,{lang:54,currency:0,limits:55,session:56,userid:57,endpoint:58,apiversion:59,companylimits:1,customcurrencysymbols:60,netdepositprogress:2,enablecompliancetext:3,deletelimit:4,amountsconfig:61,periodsconfig:62,defaultperiod:63,limittabindex:5,limitformat:64,allowedextenssion:65,filesizeallow:66,clientstyling:67,clientstylingurl:68,translationurl:69,mbsource:70,timezone:71,isLimitNotification:6,cooloffstrictmode:72},Ji,[-1,-1,-1,-1,-1,-1])}get lang(){return this.$$.ctx[54]}set lang(t){this.$$set({lang:t}),e.flush()}get currency(){return this.$$.ctx[0]}set currency(t){this.$$set({currency:t}),e.flush()}get limits(){return this.$$.ctx[55]}set limits(t){this.$$set({limits:t}),e.flush()}get session(){return this.$$.ctx[56]}set session(t){this.$$set({session:t}),e.flush()}get userid(){return this.$$.ctx[57]}set userid(t){this.$$set({userid:t}),e.flush()}get endpoint(){return this.$$.ctx[58]}set endpoint(t){this.$$set({endpoint:t}),e.flush()}get apiversion(){return this.$$.ctx[59]}set apiversion(t){this.$$set({apiversion:t}),e.flush()}get companylimits(){return this.$$.ctx[1]}set companylimits(t){this.$$set({companylimits:t}),e.flush()}get customcurrencysymbols(){return this.$$.ctx[60]}set customcurrencysymbols(t){this.$$set({customcurrencysymbols:t}),e.flush()}get netdepositprogress(){return this.$$.ctx[2]}set netdepositprogress(t){this.$$set({netdepositprogress:t}),e.flush()}get enablecompliancetext(){return this.$$.ctx[3]}set enablecompliancetext(t){this.$$set({enablecompliancetext:t}),e.flush()}get deletelimit(){return this.$$.ctx[4]}set deletelimit(t){this.$$set({deletelimit:t}),e.flush()}get amountsconfig(){return this.$$.ctx[61]}set amountsconfig(t){this.$$set({amountsconfig:t}),e.flush()}get periodsconfig(){return this.$$.ctx[62]}set periodsconfig(t){this.$$set({periodsconfig:t}),e.flush()}get defaultperiod(){return this.$$.ctx[63]}set defaultperiod(t){this.$$set({defaultperiod:t}),e.flush()}get limittabindex(){return this.$$.ctx[5]}set limittabindex(t){this.$$set({limittabindex:t}),e.flush()}get limitformat(){return this.$$.ctx[64]}set limitformat(t){this.$$set({limitformat:t}),e.flush()}get allowedextenssion(){return this.$$.ctx[65]}set allowedextenssion(t){this.$$set({allowedextenssion:t}),e.flush()}get filesizeallow(){return this.$$.ctx[66]}set filesizeallow(t){this.$$set({filesizeallow:t}),e.flush()}get clientstyling(){return this.$$.ctx[67]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[68]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get translationurl(){return this.$$.ctx[69]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}get mbsource(){return this.$$.ctx[70]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}get timezone(){return this.$$.ctx[71]}set timezone(t){this.$$set({timezone:t}),e.flush()}get isLimitNotification(){return this.$$.ctx[6]}set isLimitNotification(t){this.$$set({isLimitNotification:t}),e.flush()}get cooloffstrictmode(){return this.$$.ctx[72]}set cooloffstrictmode(t){this.$$set({cooloffstrictmode:t}),e.flush()}}e.create_custom_element(Rt,{lang:{},currency:{},limits:{},session:{},userid:{},endpoint:{},apiversion:{},companylimits:{},customcurrencysymbols:{},netdepositprogress:{},enablecompliancetext:{},deletelimit:{},amountsconfig:{},periodsconfig:{},defaultperiod:{},limittabindex:{},limitformat:{},allowedextenssion:{},filesizeallow:{},clientstyling:{},clientstylingurl:{},translationurl:{},mbsource:{},timezone:{},isLimitNotification:{},cooloffstrictmode:{}},["LimitSkeleton","LimitsList","LimitSubmitButton"],[],!0);exports.default=Rt;
|
|
35
|
+
c0.391-0.391,0.391-1.023,0-1.414L27.414,26l8.293-8.293C36.098,17.316,36.098,16.684,35.707,16.293z`),e.attr(t,"version","1.1"),e.attr(t,"id","Capa_1"),e.attr(t,"xmlns","http://www.w3.org/2000/svg"),e.attr(t,"xmlns:xlink","http://www.w3.org/1999/xlink"),e.attr(t,"x","0px"),e.attr(t,"y","0px"),e.attr(t,"viewBox","0 0 52 52"),e.set_style(t,"enable-background","new 0 0 52 52"),e.attr(t,"xml:space","preserve")},m(U,B){e.insert(U,t,B),e.append(t,i),e.append(i,o),e.append(i,n),e.append(t,l),e.append(t,r),e.append(t,c),e.append(t,g),e.append(t,u),e.append(t,m),e.append(t,L),e.append(t,_),e.append(t,b),e.append(t,k),e.append(t,T),e.append(t,Z),e.append(t,J),e.append(t,I),e.append(t,N)},d(U){U&&e.detach(t)}}}function ra(a){let t,i=a[34]("popupSuccess")+"",o;return{c(){t=e.element("p"),o=e.text(i)},m(n,l){e.insert(n,t,l),e.append(t,o)},p(n,l){l[1]&8&&i!==(i=n[34]("popupSuccess")+"")&&e.set_data(o,i)},d(n){n&&e.detach(t)}}}function la(a){let t,i=a[34]("docsRequired")+"",o;return{c(){t=e.element("p"),o=e.text(i)},m(n,l){e.insert(n,t,l),e.append(t,o)},p(n,l){l[1]&8&&i!==(i=n[34]("docsRequired")+"")&&e.set_data(o,i)},d(n){n&&e.detach(t)}}}function da(a){let t,i=a[34]("popupError")+"",o;return{c(){t=e.element("p"),o=e.text(i)},m(n,l){e.insert(n,t,l),e.append(t,o)},p(n,l){l[1]&8&&i!==(i=n[34]("popupError")+"")&&e.set_data(o,i)},d(n){n&&e.detach(t)}}}function pa(a){let t,i=a[34]("okButton")+"",o,n,l;return{c(){t=e.element("button"),o=e.text(i),e.attr(t,"class","ConfirmButton "+(a[35]?"":"Mobile"))},m(r,c){e.insert(r,t,c),e.append(t,o),n||(l=e.listen(t,"click",a[50]),n=!0)},p(r,c){c[1]&8&&i!==(i=r[34]("okButton")+"")&&e.set_data(o,i)},d(r){r&&e.detach(t),n=!1,l()}}}function ma(a){let t,i=a[34]("uploadDocumentsButton")+"",o,n,l=a[34]("closeButton")+"",r,c,g;return{c(){t=e.element("button"),o=e.space(),n=e.element("button"),r=e.text(l),e.attr(t,"class","ConfirmButton"),e.attr(n,"class","CloseButton")},m(u,m){e.insert(u,t,m),t.innerHTML=i,e.insert(u,o,m),e.insert(u,n,m),e.append(n,r),c||(g=[e.listen(t,"click",a[51]),e.listen(n,"click",a[50])],c=!0)},p(u,m){m[1]&8&&i!==(i=u[34]("uploadDocumentsButton")+"")&&(t.innerHTML=i),m[1]&8&&l!==(l=u[34]("closeButton")+"")&&e.set_data(r,l)},d(u){u&&(e.detach(t),e.detach(o),e.detach(n)),c=!1,e.run_all(g)}}}function ua(a){let t,i=a[34]("noFileUploaded")+"",o;return{c(){t=e.element("p"),o=e.text(i),e.attr(t,"class","historyItem")},m(n,l){e.insert(n,t,l),e.append(t,o)},p(n,l){l[1]&8&&i!==(i=n[34]("noFileUploaded")+"")&&e.set_data(o,i)},d(n){n&&e.detach(t)}}}function ca(a){let t,i=e.ensure_array_like(Array.from(a[20])),o=[];for(let n=0;n<i.length;n+=1)o[n]=bt(vt(a,i,n));return{c(){for(let n=0;n<o.length;n+=1)o[n].c();t=e.empty()},m(n,l){for(let r=0;r<o.length;r+=1)o[r]&&o[r].m(n,l);e.insert(n,t,l)},p(n,l){if(l[0]&1048576){i=e.ensure_array_like(Array.from(n[20]));let r;for(r=0;r<i.length;r+=1){const c=vt(n,i,r);o[r]?o[r].p(c,l):(o[r]=bt(c),o[r].c(),o[r].m(t.parentNode,t))}for(;r<o.length;r+=1)o[r].d(1);o.length=i.length}},d(n){n&&e.detach(t),e.destroy_each(o,n)}}}function bt(a){let t,i=a[169].name+"",o;return{c(){t=e.element("p"),o=e.text(i),e.attr(t,"class","historyItem")},m(n,l){e.insert(n,t,l),e.append(t,o)},p(n,l){l[0]&1048576&&i!==(i=n[169].name+"")&&e.set_data(o,i)},d(n){n&&e.detach(t)}}}function kt(a){let t,i=a[34]("filesUploadError")+"",o;return{c(){t=e.element("p"),o=e.text(i),e.attr(t,"class","filesError")},m(n,l){e.insert(n,t,l),e.append(t,o)},p(n,l){l[1]&8&&i!==(i=n[34]("filesUploadError")+"")&&e.set_data(o,i)},d(n){n&&e.detach(t)}}}function fa(a){let t,i,o,n,l,r,c=a[34]("setLimit")+"",g,u,m,L,_,b,k,T=a[23]?`${a[34]("amount")}`:`${a[34](`new${a[12]}Limit`)}`,Z,J,I,N,U,B,C,Y,R;const M=a[74].LimitsList,x=e.create_slot(M,a,a[73],Lt),P=x||Da(a);let F=e.ensure_array_like(a[9]),h=[];for(let v=0;v<F.length;v+=1)h[v]=jt(ct(a,F,v));let j=a[3]==="true"&&Et(a),G=a[22]&&Mt(a),V=a[23]&&Ut(a),W=a[31]&&!a[32]&&Bt(a);const ce=a[74].LimitSubmitButton,me=e.create_slot(ce,a,a[73],pt),z=me||Ca(a);return{c(){t=e.element("div"),i=e.element("div"),P&&P.c(),o=e.space(),n=e.element("form");for(let v=0;v<h.length;v+=1)h[v].c();l=e.space(),r=e.element("p"),g=e.text(c),u=e.space(),j&&j.c(),m=e.space(),G&&G.c(),L=e.space(),V&&V.c(),_=e.space(),b=e.element("label"),k=e.element("span"),Z=e.text(T),J=e.space(),I=e.element("input"),N=e.space(),W&&W.c(),U=e.space(),z&&z.c(),e.attr(r,"class","LimitTitle "+(a[35]?"":"Mobile")),e.attr(k,"class","LimitInputText"),e.attr(I,"type","number"),e.attr(I,"pattern","[0-9]*"),I.disabled=a[32],e.attr(b,"class","LimitAmountInputWrapper "+(a[35]?"":"Mobile")),e.attr(n,"class","LimitsInteractionArea "+(a[35]?"":"Mobile")),e.attr(i,"class","LimitsPageContainer"),e.attr(t,"class",B="player-account-gaming-limits-page-2-gm16 "+("LimitTab"+a[5]))},m(v,A){e.insert(v,t,A),e.append(t,i),P&&P.m(i,null),e.append(i,o),e.append(i,n);for(let S=0;S<h.length;S+=1)h[S]&&h[S].m(n,null);e.append(n,l),e.append(n,r),e.append(r,g),e.append(n,u),j&&j.m(n,null),e.append(n,m),G&&G.m(n,null),e.append(n,L),V&&V.m(n,null),e.append(n,_),e.append(n,b),e.append(b,k),e.append(k,Z),e.append(b,J),e.append(b,I),e.set_input_value(I,a[18]),e.append(b,N),W&&W.m(b,null),e.append(n,U),z&&z.m(n,null),C=!0,Y||(R=[e.listen(I,"input",a[84]),e.listen(I,"input",a[41]),e.listen(I,"wheel",a[42]),e.listen(n,"submit",a[43])],Y=!0)},p(v,A){if(x?x.p&&(!C||A[2]&2048)&&e.update_slot_base(x,M,v,v[73],C?e.get_slot_changes(M,v[73],A,Qi):e.get_all_dirty_from_scope(v[73]),Lt):P&&P.p&&(!C||A[0]&2097942|A[1]&8)&&P.p(v,C?A:[-1,-1,-1,-1,-1,-1]),A[0]&512|A[1]&24){F=e.ensure_array_like(v[9]);let S;for(S=0;S<F.length;S+=1){const K=ct(v,F,S);h[S]?h[S].p(K,A):(h[S]=jt(K),h[S].c(),h[S].m(n,l))}for(;S<h.length;S+=1)h[S].d(1);h.length=F.length}(!C||A[1]&8)&&c!==(c=v[34]("setLimit")+"")&&e.set_data(g,c),v[3]==="true"?j?j.p(v,A):(j=Et(v),j.c(),j.m(n,m)):j&&(j.d(1),j=null),v[22]?G?G.p(v,A):(G=Mt(v),G.c(),G.m(n,L)):G&&(G.d(1),G=null),v[23]?V?V.p(v,A):(V=Ut(v),V.c(),V.m(n,_)):V&&(V.d(1),V=null),(!C||A[0]&8392704|A[1]&8)&&T!==(T=v[23]?`${v[34]("amount")}`:`${v[34](`new${v[12]}Limit`)}`)&&e.set_data(Z,T),(!C||A[1]&2)&&(I.disabled=v[32]),A[0]&262144&&e.to_number(I.value)!==v[18]&&e.set_input_value(I,v[18]),v[31]&&!v[32]?W?W.p(v,A):(W=Bt(v),W.c(),W.m(b,null)):W&&(W.d(1),W=null),me?me.p&&(!C||A[2]&2048)&&e.update_slot_base(me,ce,v,v[73],C?e.get_slot_changes(ce,v[73],A,Xi):e.get_all_dirty_from_scope(v[73]),pt):z&&z.p&&(!C||A[1]&13)&&z.p(v,C?A:[-1,-1,-1,-1,-1,-1]),(!C||A[0]&32&&B!==(B="player-account-gaming-limits-page-2-gm16 "+("LimitTab"+v[5])))&&e.attr(t,"class",B)},i(v){C||(e.transition_in(P,v),e.transition_in(z,v),C=!0)},o(v){e.transition_out(P,v),e.transition_out(z,v),C=!1},d(v){v&&e.detach(t),P&&P.d(v),e.destroy_each(h,v),j&&j.d(),G&&G.d(),V&&V.d(),W&&W.d(),z&&z.d(v),Y=!1,e.run_all(R)}}}function ga(a){let t;return{c(){t=e.element("p"),t.textContent="500 Server error"},m(i,o){e.insert(i,t,o)},p:e.noop,i:e.noop,o:e.noop,d(i){i&&e.detach(t)}}}function La(a){let t;const i=a[74].LimitSkeleton,o=e.create_slot(i,a,a[73],ht),n=o||ja(a);return{c(){n&&n.c()},m(l,r){n&&n.m(l,r),t=!0},p(l,r){o&&o.p&&(!t||r[2]&2048)&&e.update_slot_base(o,i,l,l[73],t?e.get_slot_changes(i,l[73],r,ea):e.get_all_dirty_from_scope(l[73]),ht)},i(l){t||(e.transition_in(n,l),t=!0)},o(l){e.transition_out(n,l),t=!1},d(l){n&&n.d(l)}}}function wt(a){let t,i=a[34]("activeLimitsInfoText")+"",o;return{c(){t=e.element("p"),o=e.text(i),e.attr(t,"class","LimitsInfoText "+(a[35]?"":"Mobile"))},m(n,l){e.insert(n,t,l),e.append(t,o)},p(n,l){l[1]&8&&i!==(i=n[34]("activeLimitsInfoText")+"")&&e.set_data(o,i)},d(n){n&&e.detach(t)}}}function ha(a){let t,i,o,n=a[34]("noLimitText")+"",l;return{c(){t=e.element("div"),i=e.element("div"),o=e.element("div"),l=e.text(n),e.attr(o,"class","LimitDetailsTextWrapper "+(a[35]?"":"Mobile")),e.attr(i,"class","LimitDetailsWrapper"),e.attr(t,"class","LimitDetails")},m(r,c){e.insert(r,t,c),e.append(t,i),e.append(i,o),e.append(o,l)},p(r,c){c[1]&8&&n!==(n=r[34]("noLimitText")+"")&&e.set_data(l,n)},d(r){r&&e.detach(t)}}}function va(a){let t,i,o,n=a[34]("lugasPrivacy")+"",l;return{c(){t=e.element("div"),i=e.element("div"),o=e.element("div"),l=e.text(n),e.attr(o,"class","LimitDetailsTextWrapper "+(a[35]?"":"Mobile")),e.attr(i,"class","LimitDetailsWrapper"),e.attr(t,"class","LimitDetails")},m(r,c){e.insert(r,t,c),e.append(t,i),e.append(i,o),e.append(o,l)},p(r,c){c[1]&8&&n!==(n=r[34]("lugasPrivacy")+"")&&e.set_data(l,n)},d(r){r&&e.detach(t)}}}function ya(a){let t,i=e.ensure_array_like(a[160].currentLimits),o=[];for(let n=0;n<i.length;n+=1)o[n]=Dt(gt(a,i,n));return{c(){for(let n=0;n<o.length;n+=1)o[n].c();t=e.empty()},m(n,l){for(let r=0;r<o.length;r+=1)o[r]&&o[r].m(n,l);e.insert(n,t,l)},p(n,l){if(l[0]&2097942|l[1]&377624){i=e.ensure_array_like(n[160].currentLimits);let r;for(r=0;r<i.length;r+=1){const c=gt(n,i,r);o[r]?o[r].p(c,l):(o[r]=Dt(c),o[r].c(),o[r].m(t.parentNode,t))}for(;r<o.length;r+=1)o[r].d(1);o.length=i.length}},d(n){n&&e.detach(t),e.destroy_each(o,n)}}}function ba(a){let t,i,o,n=a[34]("lugasPrivacy")+"",l;return{c(){t=e.element("div"),i=e.element("div"),o=e.element("div"),l=e.text(n),e.attr(o,"class","LimitDetailsTextWrapper "+(a[35]?"":"Mobile")),e.attr(i,"class","LimitDetailsWrapper"),e.attr(t,"class","LimitDetails")},m(r,c){e.insert(r,t,c),e.append(t,i),e.append(i,o),e.append(o,l)},p(r,c){c[1]&8&&n!==(n=r[34]("lugasPrivacy")+"")&&e.set_data(l,n)},d(r){r&&e.detach(t)}}}function ka(a){let t,i=`${a[49](a[166])}`,o;return{c(){t=e.element("span"),o=e.text(i)},m(n,l){e.insert(n,t,l),e.append(t,o)},p(n,l){l[0]&512&&i!==(i=`${n[49](n[166])}`)&&e.set_data(o,i)},d(n){n&&e.detach(t)}}}function wa(a){let t,i=`${a[49](a[166],!0)}`,o;return{c(){t=e.element("span"),o=e.text(i)},m(n,l){e.insert(n,t,l),e.append(t,o)},p(n,l){l[0]&512&&i!==(i=`${n[49](n[166],!0)}`)&&e.set_data(o,i)},d(n){n&&e.detach(t)}}}function _t(a){let t,i,o=`${a[49](a[166],!1,!0)}`,n,l,r=`${a[166].period!=="None"||a[166].value!=="cumulativeSession"?" ":a[34]("per")} ${a[34](`${a[166].period}`)} ${a[34]("updateAfterDocApproval")}`,c;return{c(){t=e.element("div"),i=e.element("span"),n=e.text(o),l=e.space(),c=e.text(r),e.attr(t,"class","PendingLimit")},m(g,u){e.insert(g,t,u),e.append(t,i),e.append(i,n),e.append(t,l),e.append(t,c)},p(g,u){u[0]&512&&o!==(o=`${g[49](g[166],!1,!0)}`)&&e.set_data(n,o),u[0]&512|u[1]&8&&r!==(r=`${g[166].period!=="None"||g[166].value!=="cumulativeSession"?" ":g[34]("per")} ${g[34](`${g[166].period}`)} ${g[34]("updateAfterDocApproval")}`)&&e.set_data(c,r)},d(g){g&&e.detach(t)}}}function xt(a){let t,i=a[34]("companyLimitsInfoText")+"",o,n,l,r=a[166].currency+"",c,g=a[40](a[166].limitBalances[0])+"",u;return{c(){t=e.element("div"),o=e.text(i),n=e.space(),l=e.element("span"),c=e.text(r),u=e.text(g),e.attr(t,"class","CompanyLimitsInfoText")},m(m,L){e.insert(m,t,L),e.append(t,o),e.append(t,n),e.append(t,l),e.append(l,c),e.append(l,u)},p(m,L){L[1]&8&&i!==(i=m[34]("companyLimitsInfoText")+"")&&e.set_data(o,i),L[0]&512&&r!==(r=m[166].currency+"")&&e.set_data(c,r),L[0]&512&&g!==(g=m[40](m[166].limitBalances[0])+"")&&e.set_data(u,g)},d(m){m&&e.detach(t)}}}function _a(a){let t,i,o=`${a[49](a[166],!0)}`,n,l;function r(u,m){return u[166].isCoolOffCompleted?Aa:Pa}let c=r(a),g=c(a);return{c(){t=e.element("div"),i=e.element("span"),n=e.text(o),l=e.space(),g.c(),e.attr(t,"class","PendingLimit")},m(u,m){e.insert(u,t,m),e.append(t,i),e.append(i,n),e.append(t,l),g.m(t,null)},p(u,m){m[0]&512&&o!==(o=`${u[49](u[166],!0)}`)&&e.set_data(n,o),c===(c=r(u))&&g?g.p(u,m):(g.d(1),g=c(u),g&&(g.c(),g.m(t,null)))},d(u){u&&e.detach(t),g.d()}}}function xa(a){let t,i=`${a[34]("removedLimitText")} ${a[166].expiryDate}`,o;return{c(){t=e.element("div"),o=e.text(i),e.attr(t,"class","PendingLimit")},m(n,l){e.insert(n,t,l),e.append(t,o)},p(n,l){l[0]&512|l[1]&8&&i!==(i=`${n[34]("removedLimitText")} ${n[166].expiryDate}`)&&e.set_data(o,i)},d(n){n&&e.detach(t)}}}function za(a){let t,i=`${a[34]("removeAfterConfirm")}`,o;return{c(){t=e.element("div"),o=e.text(i),e.attr(t,"class","PendingLimit")},m(n,l){e.insert(n,t,l),e.append(t,o)},p(n,l){l[1]&8&&i!==(i=`${n[34]("removeAfterConfirm")}`)&&e.set_data(o,i)},d(n){n&&e.detach(t)}}}function Sa(a){let t,i=`${a[34]("acknowledgedLimit")}`,o;return{c(){t=e.element("div"),o=e.text(i),e.attr(t,"class","PendingLimit")},m(n,l){e.insert(n,t,l),e.append(t,o)},p(n,l){l[1]&8&&i!==(i=`${n[34]("acknowledgedLimit")}`)&&e.set_data(o,i)},d(n){n&&e.detach(t)}}}function Pa(a){let t=`${a[166].period!=="None"||a[166].value!=="cumulativeSession"?" ":a[34]("per")} ${a[34](`${a[166].period}`)} ${a[34]("updateText")} ${a[166].expiryDate}`,i;return{c(){i=e.text(t)},m(o,n){e.insert(o,i,n)},p(o,n){n[0]&512|n[1]&8&&t!==(t=`${o[166].period!=="None"||o[166].value!=="cumulativeSession"?" ":o[34]("per")} ${o[34](`${o[166].period}`)} ${o[34]("updateText")} ${o[166].expiryDate}`)&&e.set_data(i,t)},d(o){o&&e.detach(i)}}}function Aa(a){let t=`${a[166].period!=="None"||a[166].value!=="cumulativeSession"?" ":a[34]("per")} ${a[34](`${a[166].period}`)} ${a[34]("updateAfterConfirm")}`,i;return{c(){i=e.text(t)},m(o,n){e.insert(o,i,n)},p(o,n){n[0]&512|n[1]&8&&t!==(t=`${o[166].period!=="None"||o[166].value!=="cumulativeSession"?" ":o[34]("per")} ${o[34](`${o[166].period}`)} ${o[34]("updateAfterConfirm")}`)&&e.set_data(i,t)},d(o){o&&e.detach(i)}}}function zt(a){let t,i,o=a[21][a[166].scheduleId].timer+"",n,l,r,c;return{c(){t=e.element("div"),i=e.element("button"),n=e.text(o),e.attr(i,"class",l="ReloadLimitButton "+(a[35]?"":"Mobile")+" "+(a[21][a[166].scheduleId].timerStopped?"":"disabled")),e.attr(t,"class","ContainerLimitActions "+(a[35]?"":"Mobile"))},m(g,u){e.insert(g,t,u),e.append(t,i),e.append(i,n),r||(c=e.listen(i,"click",a[76]),r=!0)},p(g,u){u[0]&2097664&&o!==(o=g[21][g[166].scheduleId].timer+"")&&e.set_data(n,o),u[0]&2097664&&l!==(l="ReloadLimitButton "+(g[35]?"":"Mobile")+" "+(g[21][g[166].scheduleId].timerStopped?"":"disabled"))&&e.attr(i,"class",l)},d(g){g&&e.detach(t),r=!1,c()}}}function St(a){let t,i,o=a[34]("removeLimit")+"",n,l,r;function c(){return a[77](a[166])}return{c(){t=e.element("div"),i=e.element("button"),n=e.text(o),e.attr(i,"class","RemoveLimitButton "+(a[35]?"":"Mobile")),e.attr(t,"class","ContainerLimitActions "+(a[35]?"":"Mobile"))},m(g,u){e.insert(g,t,u),e.append(t,i),e.append(i,n),l||(r=e.listen(i,"click",c),l=!0)},p(g,u){a=g,u[1]&8&&o!==(o=a[34]("removeLimit")+"")&&e.set_data(n,o)},d(g){g&&e.detach(t),l=!1,r()}}}function Pt(a){let t,i,o=a[34]("confirmUpdateLimit")+"",n,l,r,c=a[34]("cancelUpdateLimit")+"",g,u,m;function L(){return a[78](a[166])}function _(){return a[79](a[166])}return{c(){t=e.element("div"),i=e.element("button"),n=e.text(o),l=e.space(),r=e.element("button"),g=e.text(c),e.attr(i,"class","ConfirmLimitButton "+(a[35]?"":"Mobile")),e.attr(r,"class","CancelLimitButton "+(a[35]?"":"Mobile")),e.attr(t,"class","ContainerLimitActions "+(a[35]?"":"Mobile"))},m(b,k){e.insert(b,t,k),e.append(t,i),e.append(i,n),e.append(t,l),e.append(t,r),e.append(r,g),u||(m=[e.listen(i,"click",L),e.listen(r,"click",_)],u=!0)},p(b,k){a=b,k[1]&8&&o!==(o=a[34]("confirmUpdateLimit")+"")&&e.set_data(n,o),k[1]&8&&c!==(c=a[34]("cancelUpdateLimit")+"")&&e.set_data(g,c)},d(b){b&&e.detach(t),u=!1,e.run_all(m)}}}function At(a){let t,i=a[162],o=a[168];const n=()=>a[80](t,i,o),l=()=>a[80](null,i,o);return{c(){t=e.element("div"),t.innerHTML="",e.attr(t,"class","ProgressBarContainer")},m(r,c){e.insert(r,t,c),n()},p(r,c){a=r,(i!==a[162]||o!==a[168])&&(l(),i=a[162],o=a[168],n())},d(r){r&&e.detach(t),l()}}}function Dt(a){let t,i,o,n,l,r=`${a[166].period!=="None"||a[166].value!=="cumulativeSession"?" ":a[34]("per")} ${a[34](`${a[166].period}`)}`,c,g,u,m,L,_,b=!a[166].isModified&&a[4].indexOf(a[160].value)>-1&&!a[166].reviewPending.id,k,T,Z;function J(h,j){return h[166].acknowledgedLimit?wa:ka}let I=J(a),N=I(a),U=a[166].reviewPending&&a[166].reviewPending.id&&_t(a),B=a[1]==="true"&&a[166].limitType==="deposit"&&a[166].limitBalances&&a[166].limitBalances.length>0&&xt(a);function C(h,j){if(h[166].acknowledgedLimit)return Sa;if(h[166].isModified&&h[166].updateAmount==0&&h[166].isCoolOffCompleted)return za;if(h[166].isModified&&h[166].updateAmount==0&&!h[166].isCoolOffCompleted)return xa;if(h[166].isModified)return _a}let Y=C(a),R=Y&&Y(a),M=a[166].acknowledgedLimit&&!a[166].reviewPending.id&&zt(a),x=b&&St(a),P=a[166].isCoolOffCompleted&!a[166].acknowledgedLimit&&!a[166].reviewPending.id&&Pt(a),F=a[2]==="true"&&a[8][a[162]]&&a[166].limitType==="netdeposit"&&At(a);return{c(){t=e.element("div"),i=e.element("div"),o=e.element("div"),n=e.element("div"),N.c(),l=e.space(),c=e.text(r),g=e.space(),U&&U.c(),u=e.space(),B&&B.c(),m=e.space(),R&&R.c(),L=e.space(),M&&M.c(),_=e.space(),x&&x.c(),k=e.space(),P&&P.c(),T=e.space(),F&&F.c(),Z=e.space(),e.attr(n,"class","CurrentLimit"),e.attr(o,"class","CurrentLimitContainer"),e.attr(i,"class","LimitDetailsTextWrapper "+(a[35]?"":"Mobile")),e.attr(t,"class","LimitDetails")},m(h,j){e.insert(h,t,j),e.append(t,i),e.append(i,o),e.append(o,n),N.m(n,null),e.append(n,l),e.append(n,c),e.append(o,g),U&&U.m(o,null),e.append(o,u),B&&B.m(o,null),e.append(o,m),R&&R.m(o,null),e.append(i,L),M&&M.m(i,null),e.append(i,_),x&&x.m(i,null),e.append(i,k),P&&P.m(i,null),e.append(i,T),F&&F.m(i,null),e.append(t,Z)},p(h,j){I===(I=J(h))&&N?N.p(h,j):(N.d(1),N=I(h),N&&(N.c(),N.m(n,l))),j[0]&512|j[1]&8&&r!==(r=`${h[166].period!=="None"||h[166].value!=="cumulativeSession"?" ":h[34]("per")} ${h[34](`${h[166].period}`)}`)&&e.set_data(c,r),h[166].reviewPending&&h[166].reviewPending.id?U?U.p(h,j):(U=_t(h),U.c(),U.m(o,u)):U&&(U.d(1),U=null),h[1]==="true"&&h[166].limitType==="deposit"&&h[166].limitBalances&&h[166].limitBalances.length>0?B?B.p(h,j):(B=xt(h),B.c(),B.m(o,m)):B&&(B.d(1),B=null),Y===(Y=C(h))&&R?R.p(h,j):(R&&R.d(1),R=Y&&Y(h),R&&(R.c(),R.m(o,null))),h[166].acknowledgedLimit&&!h[166].reviewPending.id?M?M.p(h,j):(M=zt(h),M.c(),M.m(i,_)):M&&(M.d(1),M=null),j[0]&528&&(b=!h[166].isModified&&h[4].indexOf(h[160].value)>-1&&!h[166].reviewPending.id),b?x?x.p(h,j):(x=St(h),x.c(),x.m(i,k)):x&&(x.d(1),x=null),h[166].isCoolOffCompleted&!h[166].acknowledgedLimit&&!h[166].reviewPending.id?P?P.p(h,j):(P=Pt(h),P.c(),P.m(i,T)):P&&(P.d(1),P=null),h[2]==="true"&&h[8][h[162]]&&h[166].limitType==="netdeposit"?F?F.p(h,j):(F=At(h),F.c(),F.m(i,null)):F&&(F.d(1),F=null)},d(h){h&&e.detach(t),N.d(),U&&U.d(),B&&B.d(),R&&R.d(),M&&M.d(),x&&x.d(),P&&P.d(),F&&F.d()}}}function Ct(a){let t,i=a[48](a[160])+"",o,n,l=a[160].value==="netdeposit"&&a[34]("activeLimitsInfoText")!=="activeLimitsInfoText"&&a[34]("activeLimitsInfoText").trim().length,r,c,g,u,m=l&&wt(a);function L(k,T){var Z;return k[160].value==="lugas"?ba:((Z=k[160].currentLimits)==null?void 0:Z.length)>0?ya:k[160].value==="lugas"?va:ha}let _=L(a),b=_(a);return{c(){t=e.element("p"),o=e.text(i),n=e.space(),m&&m.c(),r=e.space(),c=e.element("div"),b.c(),g=e.space(),e.attr(t,"class","LimitTitle "+(a[35]?"":"Mobile")),e.attr(c,"class",u="LimitWrapper "+a[160].value+" "+(a[2]==="true"&&a[160].value==="netdeposit"?"ActiveProgressBar":"")+" "+(a[35]?"":"Mobile"))},m(k,T){e.insert(k,t,T),e.append(t,o),e.insert(k,n,T),m&&m.m(k,T),e.insert(k,r,T),e.insert(k,c,T),b.m(c,null),e.append(c,g)},p(k,T){T[0]&512&&i!==(i=k[48](k[160])+"")&&e.set_data(o,i),T[0]&512|T[1]&8&&(l=k[160].value==="netdeposit"&&k[34]("activeLimitsInfoText")!=="activeLimitsInfoText"&&k[34]("activeLimitsInfoText").trim().length),l?m?m.p(k,T):(m=wt(k),m.c(),m.m(r.parentNode,r)):m&&(m.d(1),m=null),_===(_=L(k))&&b?b.p(k,T):(b.d(1),b=_(k),b&&(b.c(),b.m(c,g))),T[0]&516&&u!==(u="LimitWrapper "+k[160].value+" "+(k[2]==="true"&&k[160].value==="netdeposit"?"ActiveProgressBar":"")+" "+(k[35]?"":"Mobile"))&&e.attr(c,"class",u)},d(k){k&&(e.detach(t),e.detach(n),e.detach(r),e.detach(c)),m&&m.d(k),b.d()}}}function Da(a){let t,i=e.ensure_array_like(a[9]),o=[];for(let n=0;n<i.length;n+=1)o[n]=Ct(ft(a,i,n));return{c(){t=e.element("div");for(let n=0;n<o.length;n+=1)o[n].c();e.attr(t,"class","LimitsList")},m(n,l){e.insert(n,t,l);for(let r=0;r<o.length;r+=1)o[r]&&o[r].m(t,null)},p(n,l){if(l[0]&2097942|l[1]&508696){i=e.ensure_array_like(n[9]);let r;for(r=0;r<i.length;r+=1){const c=ft(n,i,r);o[r]?o[r].p(c,l):(o[r]=Ct(c),o[r].c(),o[r].m(t,null))}for(;r<o.length;r+=1)o[r].d(1);o.length=i.length}},d(n){n&&e.detach(t),e.destroy_each(o,n)}}}function Tt(a){let t,i=a[34]("newLimitInfoText")+"",o;return{c(){t=e.element("p"),o=e.text(i),e.attr(t,"class","LimitsInfoText "+(a[35]?"":"Mobile"))},m(n,l){e.insert(n,t,l),e.append(t,o)},p(n,l){l[1]&8&&i!==(i=n[34]("newLimitInfoText")+"")&&e.set_data(o,i)},d(n){n&&e.detach(t)}}}function jt(a){let t=a[160].value==="netdeposit"&&a[34]("newLimitInfoText")!=="newLimitInfoText"&&a[34]("newLimitInfoText").trim().length,i,o=t&&Tt(a);return{c(){o&&o.c(),i=e.empty()},m(n,l){o&&o.m(n,l),e.insert(n,i,l)},p(n,l){l[0]&512|l[1]&8&&(t=n[160].value==="netdeposit"&&n[34]("newLimitInfoText")!=="newLimitInfoText"&&n[34]("newLimitInfoText").trim().length),t?o?o.p(n,l):(o=Tt(n),o.c(),o.m(i.parentNode,i)):o&&(o.d(1),o=null)},d(n){n&&e.detach(i),o&&o.d(n)}}}function Et(a){let t,i,o=a[34]("complianceText")+"",n;return{c(){t=e.element("div"),i=e.element("p"),n=e.text(o),e.attr(i,"class","LimitComplianceText"),e.attr(t,"class","LimitCompliance")},m(l,r){e.insert(l,t,r),e.append(t,i),e.append(i,n)},p(l,r){r[1]&8&&o!==(o=l[34]("complianceText")+"")&&e.set_data(n,o)},d(l){l&&e.detach(t)}}}function Mt(a){let t,i,o=a[34]("limitType")+"",n,l,r,c,g,u=e.ensure_array_like(a[9]),m=[];for(let L=0;L<u.length;L+=1)m[L]=It(ut(a,u,L));return{c(){t=e.element("label"),i=e.element("span"),n=e.text(o),l=e.space(),r=e.element("select");for(let L=0;L<m.length;L+=1)m[L].c();e.attr(i,"class","LimitSelectText"),e.attr(r,"name",""),e.attr(r,"id",""),a[17]===void 0&&e.add_render_callback(()=>a[81].call(r)),e.attr(t,"class","LimitTypeDropdownWrapper "+(a[35]?"":"Mobile"))},m(L,_){e.insert(L,t,_),e.append(t,i),e.append(i,n),e.append(t,l),e.append(t,r);for(let b=0;b<m.length;b+=1)m[b]&&m[b].m(r,null);e.select_option(r,a[17],!0),c||(g=[e.listen(r,"change",a[81]),e.listen(r,"change",a[82])],c=!0)},p(L,_){if(_[1]&8&&o!==(o=L[34]("limitType")+"")&&e.set_data(n,o),_[0]&512|_[1]&131072){u=e.ensure_array_like(L[9]);let b;for(b=0;b<u.length;b+=1){const k=ut(L,u,b);m[b]?m[b].p(k,_):(m[b]=It(k),m[b].c(),m[b].m(r,null))}for(;b<m.length;b+=1)m[b].d(1);m.length=u.length}_[0]&131072&&e.select_option(r,L[17])},d(L){L&&e.detach(t),e.destroy_each(m,L),c=!1,e.run_all(g)}}}function It(a){let t,i=a[48](a[160])+"",o;return{c(){t=e.element("option"),o=e.text(i),t.__value=a[162],e.set_input_value(t,t.__value)},m(n,l){e.insert(n,t,l),e.append(t,o)},p(n,l){l[0]&512&&i!==(i=n[48](n[160])+"")&&e.set_data(o,i)},d(n){n&&e.detach(t)}}}function Ut(a){let t,i,o=a[34]("period")+"",n,l,r,c,g,u=e.ensure_array_like(a[10][a[11]].periods),m=[];for(let L=0;L<u.length;L+=1)m[L]=Nt(mt(a,u,L));return{c(){t=e.element("label"),i=e.element("span"),n=e.text(o),l=e.space(),r=e.element("select");for(let L=0;L<m.length;L+=1)m[L].c();e.attr(i,"class","PeriodSelectText"),e.attr(r,"name",""),e.attr(r,"id",""),r.disabled=a[32],a[12]===void 0&&e.add_render_callback(()=>a[83].call(r)),e.attr(t,"class","LimitPeriodDropdownWrapper "+(a[35]?"":"Mobile"))},m(L,_){e.insert(L,t,_),e.append(t,i),e.append(i,n),e.append(t,l),e.append(t,r);for(let b=0;b<m.length;b+=1)m[b]&&m[b].m(r,null);e.select_option(r,a[12],!0),c||(g=[e.listen(r,"change",a[83]),e.listen(r,"change",a[36])],c=!0)},p(L,_){if(_[1]&8&&o!==(o=L[34]("period")+"")&&e.set_data(n,o),_[0]&3072|_[1]&8){u=e.ensure_array_like(L[10][L[11]].periods);let b;for(b=0;b<u.length;b+=1){const k=mt(L,u,b);m[b]?m[b].p(k,_):(m[b]=Nt(k),m[b].c(),m[b].m(r,null))}for(;b<m.length;b+=1)m[b].d(1);m.length=u.length}_[1]&2&&(r.disabled=L[32]),_[0]&7168&&e.select_option(r,L[12])},d(L){L&&e.detach(t),e.destroy_each(m,L),c=!1,e.run_all(g)}}}function Nt(a){let t,i=a[34](a[157])+"",o,n;return{c(){t=e.element("option"),o=e.text(i),t.__value=n=a[157],e.set_input_value(t,t.__value),t.selected=!0},m(l,r){e.insert(l,t,r),e.append(t,o)},p(l,r){r[0]&3072|r[1]&8&&i!==(i=l[34](l[157])+"")&&e.set_data(o,i),r[0]&3072&&n!==(n=l[157])&&(t.__value=n,e.set_input_value(t,t.__value))},d(l){l&&e.detach(t)}}}function Bt(a){let t,i=a[18]===null?`${a[34]("invalidInputMessage")}`:a[18]<a[13]?`${a[34]("invalidInputMessageLimitMin",{values:{minValue:a[13],maxValue:a[14],currency:a[0]}})}`:`${a[34]("invalidInputMessageLimitMax",{values:{minValue:a[13],maxValue:a[14],currency:a[0]}})}`,o;return{c(){t=e.element("p"),o=e.text(i),e.attr(t,"class","InvalidInput")},m(n,l){e.insert(n,t,l),e.append(t,o)},p(n,l){l[0]&286721|l[1]&8&&i!==(i=n[18]===null?`${n[34]("invalidInputMessage")}`:n[18]<n[13]?`${n[34]("invalidInputMessageLimitMin",{values:{minValue:n[13],maxValue:n[14],currency:n[0]}})}`:`${n[34]("invalidInputMessageLimitMax",{values:{minValue:n[13],maxValue:n[14],currency:n[0]}})}`)&&e.set_data(o,i)},d(n){n&&e.detach(t)}}}function Ca(a){let t,i=a[34]("setLimit")+"",o,n;return{c(){t=e.element("button"),o=e.text(i),e.attr(t,"class","LimitSubmitButton "+(a[35]?"":"Mobile")),e.attr(t,"type","submit"),t.disabled=n=a[31]||a[33]},m(l,r){e.insert(l,t,r),e.append(t,o)},p(l,r){r[1]&8&&i!==(i=l[34]("setLimit")+"")&&e.set_data(o,i),r[1]&5&&n!==(n=l[31]||l[33])&&(t.disabled=n)},d(l){l&&e.detach(t)}}}function Ta(a){let t;return{c(){t=e.element("div"),t.innerHTML='<div class="skeletonLimitAmount"><div class="skeletonAmountText"><ui-skeleton width="auto" height="20px" structure="text" margin-right="auto"></ui-skeleton></div> <div class="skeletonSubText"><ui-skeleton width="auto" height="20px" structure="text" margin-right="auto"></ui-skeleton></div></div> <div class="skeletonLimitButton"><div><ui-skeleton width="auto" height="40px" structure="rectangle" margin-right="auto"></ui-skeleton></div> <div><ui-skeleton width="auto" height="40px" structure="rectangle" margin-right="auto"></ui-skeleton></div></div> ',e.attr(t,"class","skeletonLimitContent")},m(i,o){e.insert(i,t,o)},p:e.noop,d(i){i&&e.detach(t)}}}function ja(a){let t,i,o,n,l,r,c=e.ensure_array_like(Array(3)),g=[];for(let u=0;u<c.length;u+=1)g[u]=Ta($i(a,c,u));return{c(){t=e.element("div"),i=e.element("div"),i.innerHTML='<ui-skeleton width="auto" height="25px" structure="text" margin-right="auto"></ui-skeleton>',o=e.space(),n=e.element("div");for(let u=0;u<g.length;u+=1)g[u].c();l=e.space(),r=e.element("div"),r.innerHTML='<div class="skletonHeader"><ui-skeleton width="auto" height="25px" structure="title" margin-right="auto"></ui-skeleton></div> <div class="skletonSubText"><ui-skeleton width="auto" height="15px" structure="text" margin-right="auto"></ui-skeleton></div> <div class="skeletonPeriod"><ui-skeleton width="auto" height="40px" structure="rectangle" margin-right="auto"></ui-skeleton></div> <div class="skletonSubText"><ui-skeleton width="auto" height="15px" structure="text" margin-right="auto"></ui-skeleton></div> <div class="skeletonInputAmount"><ui-skeleton width="auto" height="40px" structure="rectangle" margin-right="auto"></ui-skeleton></div> <div class="skeletonButton"><ui-skeleton width="auto" height="50px" structure="rectangle" margin-right="auto"></ui-skeleton></div>',e.attr(i,"class","skeletonLimitText"),e.attr(n,"class","skeletonLimitWrapper"),e.attr(r,"class","skeletonInputWrapper"),e.attr(t,"class","skeletonLimitContainer")},m(u,m){e.insert(u,t,m),e.append(t,i),e.append(t,o),e.append(t,n);for(let L=0;L<g.length;L+=1)g[L]&&g[L].m(n,null);e.append(t,l),e.append(t,r)},p:e.noop,d(u){u&&e.detach(t),e.destroy_each(g,u)}}}function Ea(a){let t,i,o,n,l,r=a[27]&&a[6]==="false"&&yt(a);const c=[La,ga,fa],g=[];function u(m,L){return m[24]?0:m[25]?1:m[24]?-1:2}return~(o=u(a))&&(n=g[o]=c[o](a)),{c(){t=e.element("div"),r&&r.c(),i=e.space(),n&&n.c()},m(m,L){e.insert(m,t,L),r&&r.m(t,null),e.append(t,i),~o&&g[o].m(t,null),a[85](t),l=!0},p(m,L){m[27]&&m[6]==="false"?r?r.p(m,L):(r=yt(m),r.c(),r.m(t,i)):r&&(r.d(1),r=null);let _=o;o=u(m),o===_?~o&&g[o].p(m,L):(n&&(e.group_outros(),e.transition_out(g[_],1,1,()=>{g[_]=null}),e.check_outros()),~o?(n=g[o],n?n.p(m,L):(n=g[o]=c[o](m),n.c()),e.transition_in(n,1),n.m(t,null)):n=null)},i(m){l||(e.transition_in(n),l=!0)},o(m){e.transition_out(n),l=!1},d(m){m&&e.detach(t),r&&r.d(),~o&&g[o].d(),a[85](null)}}}function Ma(a,t,i){let o;e.component_subscribe(a,e.$format,s=>i(34,o=s));let{$$slots:n={},$$scope:l}=t,{lang:r="en"}=t,{currency:c=""}=t,{limits:g=""}=t,{session:u=""}=t,{userid:m=""}=t,{endpoint:L=""}=t,{apiversion:_=""}=t,{companylimits:b="false"}=t,{customcurrencysymbols:k=""}=t,{netdepositprogress:T="false"}=t,{enablecompliancetext:Z=""}=t,{deletelimit:J=""}=t,{amountsconfig:I=""}=t,{periodsconfig:N=""}=t,{defaultperiod:U=""}=t,{limittabindex:B=""}=t,{limitformat:C=""}=t,{allowedextenssion:Y=".jpg,.jpeg,.png,.pdf,.webp,image/png"}=t,{filesizeallow:R="12934000"}=t,{clientstyling:M=""}=t,{clientstylingurl:x=""}=t,{translationurl:P=""}=t,{mbsource:F}=t,{timezone:h="GMT"}=t,{isLimitNotification:j="false"}=t,{cooloffstrictmode:G="false"}=t,V,W=[],ce=window.navigator.userAgent,me=!e.isMobile(ce),z="",v="",A="",S="",K="",De="",ue="",te="",_e="",ye=0,We,q,xe,E=[],le={},de={},be={},Wt={},he,ke={EUR:"€",RON:" lei",USD:"$"},Ce={remove:{}},ee={},Oe=!1,Te=!1,X=!0,ne=!1,je=!1,we=!1,ie=!1,fe=!1,ze=!1,ve=!1,Fe=!1,Ee=!1;const Ve={wager:"wagering",loss:"loss",deposit:"deposit",netdeposit:"netdeposit",cumulativeSession:"cumulativeSession",sessionLimit:"session"},qe={unableToUpdatePendingRequest:["SYS_1037","SYS_1142","SYS_1140"],internalServerError:["F0004","F0006"]},Ot=()=>{fetch(P).then(d=>d.json()).then(d=>{Object.keys(d).forEach(p=>{dt(p,d[p])})}).catch(d=>{console.log(d)})};Object.keys(Le).forEach(s=>{dt(s,Le[s])});const Me=s=>`dataLayer-${s}`,Q=(s,d)=>{typeof gtag=="function"&>ag({event:s,limit_category:Le[r][Me(A.toLowerCase())]||A,limit_type:Le[r][Me(z.toLowerCase())]||z,limit_period:Le[r][Me(v.toLowerCase())]||v,limit_amount:q||d})},Ft=()=>{var f;const s=I.split(",").map(y=>y.split(":")),d=N.split(",").map(y=>y.split(":"));for(let[y,w]of s.entries())if(w[0]!==d[y][0])throw new Error(`Limit config mismatch: "${w[0]}" does not match "${d[y][0]}"`);const p=s.reduce((y,w,D)=>{const O=w[0].slice(w[0].indexOf("(")+1,w[0].indexOf(")")),se=w[0].slice(0,w[0].indexOf("(")),re=w[1],Ae=d[D][1].trim().replace("D","Daily").replace("W","Weekly").replace("M","Monthly").replace("N","None").split("-"),Be={value:O,product:se,minMax:re,periods:Ae,callValue:H[O].callValue,callValue16:H[O].callValue16,title:H[O].title};return y.push(Be),y},[]);for(let y=0;y<p.length;y++)i(9,E[y].product=p[y].product,E),i(9,E[y].min=parseInt(p[y].minMax.split("-")[0],10),E),i(9,E[y].max=parseInt(p[y].minMax.split("-")[1],10),E),i(10,H[p[y].value].periods=p[y].periods,H);De=(f=E[0])==null?void 0:f.value,E.forEach(y=>{de[y.value]={min:y.min,max:y.max},Wt[y.value]=y.product}),de&&(de[De]?(i(13,S=de[De].min),i(14,K=de[De].max)):(i(13,S=1),i(14,K=9999999)))},Vt=()=>{const s=/\(([^)]+)\)/g;return[...I.matchAll(s)].flat().filter(p=>!p.includes("("))},qt=()=>{Vt().forEach(p=>{H[p]?E.push(ge({},H[p])):console.error(`Unknown limit: ${p}`)}),Ft(),i(11,z=E[0].value);const d=H[z].periods;i(12,v=U&&d.find(p=>p===U)||d[0]),A=E[0].product,i(22,Oe=E.length>1),i(23,Te=H[z].periods.length>1)},He=(s,d)=>{var f,y,w;const p=(y=(f=s==null?void 0:s[0])==null?void 0:f.currentLimits)==null?void 0:y.find(D=>D.period===d);return(w=p==null?void 0:p.isCoolOffCompleted)!=null?w:!0},Ht=()=>{G==="true"&&i(33,Ee=!He(E,v))},Ge=()=>{i(11,z=E[ye].value),i(12,v=H[z].periods[0]),i(23,Te=H[z].periods.length>1)},Ke=()=>{A=E[ye].product},$=s=>{if(s.status>=300)Gt(s);else return i(26,je=!1),s.status!==204?s.json():s},Gt=s=>{i(25,ne=!0);let d;throw s.json().then(p=>{for(const f in qe)if(p.error&&qe[f].some(y=>p.error.includes(y))){d=f;break}console.error("errType",d),!d&&Pe(p)}).finally(()=>{d&&Pe(d),i(25,ne=!1),i(24,X=!1)}),new Error("An error occured during the fetch request")},Kt=()=>oe(this,null,function*(){if(!(q>0))return;pe(),i(24,X=!0);let s=new URL(`${L}/v2/player/${m}/limits`),d={};z==="sessionLimit"?d={sessionLimit:q,sessionLimitUnit:"minute"}:z==="cumulativeSession"?d[H[z].callValue]=[{period:v,minutes:q}]:d[H[z].callValue]=[{period:H[z].periods[0]==="None"?null:v,amount:q,currency:c}];let p={method:"PUT",headers:{"X-SessionID":u,"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify(d)};const f=yield fetch(s.href,p);yield $(f),Q("self_limitation_success"),yield ae()}),Ye=()=>oe(this,null,function*(){var se;const s=E[ye],d=(se=s==null?void 0:s.currentLimits)==null?void 0:se.find(re=>re.period===v),p=$e();if(p&&p.reviewPending&&p.reviewPending.id)return window.postMessage({type:"WidgetNotification",data:{type:"error",message:o("limitInDocReview")}},window.location.href);if(pe(),i(24,X=!0),p&&p.reviewRequired&&!ue&&q>p.amount){i(30,ze=!0),i(28,ie=!0);return}const f=d?"v2":"v1",y=new URL(`${L}/${f}/player/${m}/limits/monetary/${d?d.id:""}`),w=d?"PUT":"POST",D=d?ue?{amount:q,skipCoolOff:!1,payload:{DocumentId:ue}}:{amount:q,skipCoolOff:!1}:{amount:q,currency:c,period:H[z].periods[0]==="None"?null:v,type:H[z].callValue16,products:[A!=null?A:"All"],walletTypes:["Deposit","NetDeposit"].includes(H[z].callValue16)?["All"]:["RealCash"]};let O={method:w,headers:{"X-SessionID":u,"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify(D)};try{const re=yield fetch(y.href,O);yield $(re),Q("self_limitation_success"),yield ae()}finally{i(30,ze=!1),ue=""}}),Yt=()=>oe(this,null,function*(){if(!(q>0))return;pe(),i(24,X=!0);const s=new URL(`${L}/v1/player/${m}/limits/session/`);let f={method:"PUT",headers:{"X-SessionID":u,"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify({sessionLimit:q,sessionLimitUnit:"minute"})};const y=yield fetch(s.href,f);yield $(y),Q("self_limitation_success"),yield ae()}),Zt=()=>oe(this,null,function*(){if(!(q>0))return;pe(),i(24,X=!0);const s=new URL(`${L}/v1/player/${m}/limits/session/`);let f={method:"PUT",headers:{"X-SessionID":u,"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify({cumulativeSessionLimits:[{period:v,minutes:q}]})};const y=yield fetch(s.href,f);yield $(y),Q("self_limitation_success"),yield ae()}),Jt=()=>oe(this,null,function*(){if(!(q>0))return;pe(),i(24,X=!0);const s=new URL(`${L}/v2/player/${m}/limit/lugas`);let f={method:"POST",headers:{"X-SessionID":u,"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify({amount:q,roleLimitAmount:0,softMigration:!1,keepLimit:!1})};const y=yield fetch(s.href,f),w=yield $(y);i(19,xe=w.popup),We=w.regulatorDepositLimitAmount,Q("self_limitation_success"),yield ae()}),Xt=()=>oe(this,null,function*(){be={};try{if(_==="gm16")switch(z){case"lugas":yield Jt();break;case"sessionLimit":yield Yt();break;case"cumulativeSession":yield Zt();break;default:yield Ye();break}else if(_==="gmcore")yield Kt();else throw Error(`Invalid apiversion attribute: ${_}`);j==="true"&&(window.postMessage({type:"WidgetNotification",data:{type:"success",message:te}},window.location.href),window.postMessage({type:"SubmitLimitNotificationSuccess"},window.location.href))}catch(s){j==="true"&&window.postMessage({type:"WidgetNotification",data:{type:"error",message:o("limitNotificationFail")}},window.location.href),console.error("limitUpdateError:",s)}Q("self_limitation_request")}),ae=()=>oe(this,null,function*(){switch(_){case"gmcore":yield Qt();break;case"gm16":yield $t();break}}),Qt=()=>oe(this,null,function*(){i(24,X=!0);let s=new URL(`${L}/v2/player/${m}/limits`),d={method:"GET",headers:{"X-SessionID":u,"Content-Type":"application/json",Accept:"application/json"}};try{const p=yield fetch(s.href,d);le=$(p),we&&Pe(),ri(le),li(le),i(18,q=null)}catch(p){console.error("Error LimitsWidget: ",p),i(25,ne=!0)}finally{i(24,X=!1)}}),$t=()=>oe(this,null,function*(){i(24,X=!0);const s=E.some(w=>w.value==="sessionLimit"||w.value==="cumulativeLimit");let d=!s;const p=new URL(`${L}/v1/player/${m}/limits/monetary`),f=new URL(`${L}/v1/player/${m}/limits/session`),y={method:"GET",headers:{"X-SessionID":u,"Content-Type":"application/json",Accept:"application/json"}};try{const w=yield fetch(p.href,y),D=yield $(w);le=D,di(D),we&&Pe(),i(18,q=null)}catch(w){console.error("Error LimitsWidget: ",w),i(25,ne=!0)}finally{d&&i(24,X=!1),d=!0}if(s)try{const w=yield fetch(f.href,y),D=yield $(w);pi(D),mi(D),we&&(z==="sessionLimit"||z==="cumulativeSession")&&Pe(),i(18,q=null)}catch(w){console.error("Error LimitsWidget: ",w),i(25,ne=!0)}finally{d&&i(24,X=!1),d=!0}}),ei=()=>oe(this,null,function*(){var w;let s=new URL(`${L}/v1/player/${m}/limits/monetary/balance`);const d=[],p={method:"GET",headers:{"X-SessionID":u,"Content-Type":"application/json",Accept:"application/json"}};try{const D=yield fetch(s.href,p),O=yield $(D);d.push(O)}catch(D){console.error("Error LimitsWidget: ",D),i(25,ne=!0)}const f=E.length?E.filter(D=>D.value==="netdeposit"):[];if(!f.length)return;const y=(w=d.find(D=>D.limitBalances))==null?void 0:w.limitBalances.filter(D=>D.limitType==="NetDeposit");if(f.length&&(y!=null&&y.length)){const D=f[0].currentLimits;f[0].currentLimits=D.map(O=>{const se=y.find(re=>re.limitDefinitionId===O.id);return ge(ge({},O),se?{spentBalance:se.spentBalance}:{})})}i(9,E=f)}),ti=()=>oe(this,null,function*(){const s=new URL(`/api/pam/v1/limit-balances/most-restrictive?userId=${m}&playerLimitTypes=Deposit&playerLimitTypes=NetDeposit&playerLimitTypes=OperatorDeposit&playerLimitTypes=OperatorNetDeposit`,L),d={method:"GET",headers:{"X-SessionID":u,"Content-Type":"application/json",Accept:"application/json"}};try{const p=yield fetch(s.href,d),f=yield $(p);ii(f)}catch(p){console.error("Error LimitsWidget: ",p),i(25,ne=!0)}}),ii=s=>{const d=s.limitBalances;i(9,E=E.map(p=>p.value==="deposit"&&p.currentLimits?Re(ge({},p),{currentLimits:p.currentLimits.map(f=>Re(ge({},f),{limitBalances:d}))}):p))},ai=s=>parseFloat((p=>{var w,D,O;if(!p)return 0;const f=(w=p==null?void 0:p.limitAmount)!=null?w:0,y=(O=(D=p==null?void 0:p.spentBalance)==null?void 0:D.amount)!=null?O:0;return y>=f?0:f-y})(s).toString()).toFixed(2),oi=()=>E.every((s,d)=>{var p,f;return((p=s.currentLimits)==null?void 0:p.length)===((f=W[d])==null?void 0:f.length)&&s.value==="netdeposit"&&W[d].every(y=>y!==null)}),ni=(s,d,p)=>{const f=s>0?Math.min(d/s*100,100):0,y=Math.round(f),w=document.createElement("div");w.className=`Progress-bar-container ${y===0?"ZeroProgress":""}`;const D=document.createElement("div");D.className="Progress-bar-fill",D.style.width=`${f}%`;const O=document.createElement("span");return O.className="Progress-bar-label",O.textContent=`${p}${d}`,w.appendChild(D),w.appendChild(O),w},si=(s,d)=>{var se;const p=W[s][d];if(!p)return;const f=E[s].currentLimits[d],y=f.amount,w=((se=f.spentBalance)==null?void 0:se.amount)||0,D=f.currency;p.innerHTML="";const O=ni(y,w,D);p.appendChild(O)},Ie=()=>oe(this,null,function*(){var d,p;yield e.tick();let s=!0;for(let f=0;f<E.length;f++){for(let y=0;y<(((d=E[f].currentLimits)==null?void 0:d.length)||0);y++)if(!W[f]||!W[f][y]){s=!1;break}if(!s)break}if(!s){setTimeout(()=>Ie(),10);return}for(let f=0;f<E.length;f++)for(let y=0;y<(((p=E[f].currentLimits)==null?void 0:p.length)||0);y++)si(f,y)}),ri=s=>{E.forEach(d=>{d.currentLimits=[];const p=Array.isArray(s[H[d.value].callValue])?s[H[d.value].callValue]:[s[H[d.value].callValue]];p.length===0||p[0]===void 0||(p.forEach((f,y)=>{var D;const w=s[H[d.value].callValue][y];d.currentLimits.push({}),d.currentLimits[y].limitType=d.value,d.currentLimits[y].amount=C?w.amount:Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(w.amount),d.currentLimits[y].currency=(D=ke[w.currency])!=null?D:w.currency,d.currentLimits[y].period=w.period,d.currentLimits[y].updateAmount=Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(w.updateAmount),d.currentLimits[y].isModified=w.isModified,d.currentLimits[y].expiryDate=`${new Date(w.expiryDate).toLocaleDateString("en-de",{hour:"numeric",minute:"numeric"}).replaceAll("/",".")} (${h})`}),d.currentLimits=Se(d.currentLimits))})},li=s=>{const d=o("minutes");E.filter(p=>p.value==="sessionLimit"||p.value==="cumulativeSession").forEach(p=>{var f;p.currentLimits=[],(f=s[H[p.value].callValue])==null||f.forEach((y,w)=>{const D=s[H[p.value].callValue][w];p.currentLimits.push({limitType:p.value,amount:Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(D.minutes),currency:d,isModified:D.isModified,period:p.value==="cumulativeSession"?D.period:"None",updateAmount:Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(D.updateMinutes),expiryDate:`${new Date(D.expiryDate).toLocaleDateString("en-de",{hour:"numeric",minute:"numeric"}).replaceAll("/",".")} (${h})`})}),p.currentLimits=Se(p.currentLimits)})},di=s=>{s!=null&&s.limits&&(E.filter(d=>d.value!=="sessionLimit"&&d.value!=="cumulativeSession").forEach(d=>{var p;d.currentLimits=[];for(const f of s.limits){if(f.type!==d.callValue16||!f.products.includes(d.product))continue;let y=0,w=f.schedules.length>0?f.schedules.find(D=>D.id):{};f.schedules.length>0&&(y=C?w.updateAmount:Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(w.updateAmount)),d.currentLimits.push({limitType:d.value,amount:C?f.amount:Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(f.amount),currency:(p=ke[f.currency])!=null?p:f.currency,isModified:f.schedules.length>0,period:f.period,product:f.products[0],updateAmount:y,isCoolOffCompleted:w?w.isCoolOffCompleted:!1,reviewRequired:f.reviewRequired?f.reviewRequired:!1,reviewPending:f.reviewPending?f.reviewPending:{},scheduleId:w?w.id:null,expiryDate:f.schedules.length>0?`${new Date(f.schedules[0].applyAt).toLocaleDateString("en-de",{hour:"numeric",minute:"numeric"}).replaceAll("/",".")} (${h})`:"",id:f.id}),d.currentLimits.forEach(D=>{D.acknowledgedLimit=Object.keys(ee).some(O=>D.scheduleId===O)}),G==="true"&&i(33,Ee=!He(E,v))}d.currentLimits=Se(d.currentLimits)}),T==="true"&&ei(),b==="true"&&ti())},pi=s=>{s!=null&&s.sessionLimit&&E.filter(d=>d.value==="sessionLimit").forEach(d=>{d.currentLimits=[],d.currentLimits.push({limitType:"sessionLimit",amount:Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(s.sessionLimit.minutes),currency:o("minutes"),isModified:s.sessionLimit.isModified,period:"None",updateAmount:Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(s.sessionLimit.updateMinutes),expiryDate:s.sessionLimit.expiryDate}),d.currentLimits=Se(d.currentLimits)})},mi=s=>{s!=null&&s.cumulativeSessionLimits&&E.filter(d=>d.value==="cumulativeSession").forEach(d=>{d.currentLimits=[];for(const p of s.cumulativeSessionLimits)d.currentLimits.push({limitType:"cumulativeSession",amount:Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(p.minutes),currency:o("minutes"),isModified:p.isModified,period:p.period,updateAmount:Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(p.updateMinutes),expiryDate:p.expiryDate});d.currentLimits=Se(d.currentLimits)})},Se=s=>{const d={Daily:0,Weekly:1,Monthly:2};return s.sort((p,f)=>d[p.period]-d[f.period]),s},Ze=s=>{window.postMessage({type:"InValidLimit",data:s},window.location.href)},Je=()=>{if(q===null||Number.isNaN(q)){i(31,ve=!0),Ze(ve);return}const d=!Number.isInteger(q)?Math.round(q):q;i(18,q=d),i(31,ve=d<S||d>K),Ze(ve)},ui=s=>s.preventDefault(),Xe=s=>{s&&s.preventDefault(),Je(),ve||Xt()},Qe=()=>{i(31,ve=!1),de!=null&&de[z]?(i(13,S=de[z].min),i(14,K=de[z].max)):(i(13,S=1),i(14,K=9999999))},ci=()=>{if(le){const s=le[H[z].callValue].find(f=>f.period===v),d=Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(s.amount);let p=o("popupImmediateUpdate").replace("{selectedLimit}",Ue(s)).replace("{updatedAmount}",d).replace("{currency}",ke[s.currency]||s.currency).replace("{selectedPeriod}",o(`${v}`));i(15,te=s.isModified?`${o("popupPendingUpdate")} ${new Date(s.expiryDate).toLocaleDateString("en-de",{hour:"numeric",minute:"numeric"}).replaceAll("/",".")} (${h})`:p)}i(28,ie=!0)},$e=()=>{if(!le)return;const s=le.limits;let d=null;return Object.keys(be).length>0?d=s.find(p=>p.id===be.id):d=s==null?void 0:s.find(p=>p.type.toLowerCase()===Ve[z].toLowerCase()&&(p.period===v||p.period==="None")&&p.products[0]===A),(d==null?void 0:d.schedules.length)>0&&ee[d==null?void 0:d.schedules[0].id]&&(d.amount=d.schedules[0].updateAmount),d},fi=()=>{let s=$e();if(!s){i(28,ie=!0);return}const d=ot(s)||Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(s.amount),p=s.schedules.length>0?`${new Date(s.schedules[0].applyAt).toLocaleDateString("en-de",{hour:"numeric",minute:"numeric"}).replaceAll("/",".")} (${h})`:"";let f=o("popupImmediateUpdate").replace("{selectedLimit}",Ue(s)).replace("{updatedAmount}",d).replace("{selectedPeriod}",o(`${s.period}`));s.schedules.length>0&&ee[s.schedules[0].id]?i(15,te=f):i(15,te=s.schedules.length>0?`${o("popupPendingUpdate")} ${p}`:f),i(28,ie=!0)},gi=()=>{xe==1&&i(16,_e="PopupKyc"),xe==2&&(i(15,te=`${o("popup2_a")}${Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(We)} ${c} ${o("popup2_b")}`),i(16,_e="PopupKyc2")),xe==3&&(i(15,te=o("popup3")),i(16,_e="PopupSuccess")),i(28,ie=!0)},Li=()=>{i(15,te=o("sessionLimitUpdated")),i(28,ie=!0)},hi=()=>{if(le){const s=le[H[z].callValue].find(f=>(f.period===v||v==="None")&&f.products[0]===A),d=Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(s.minutes);let p=o("popupImmediateUpdate").replace("{selectedLimit}",o(`${z}`)).replace("{updatedAmount}",d).replace("{currency}",o("minutes")).replace("{selectedPeriod}",o(`${v}`));i(15,te=s.isModified?`${o("popupPendingUpdate")} ${new Date(s.expiryDate).toLocaleDateString("en-de",{hour:"numeric",minute:"numeric"}).replaceAll("/",".")} (${h})`:p)}i(28,ie=!0)},vi=s=>{var d;return(d=s==null?void 0:s.error)==null?void 0:d.includes("Limit update is not permitted due to LimitUpdateControl")},yi=s=>{var d;return(d=s==null?void 0:s.error)==null?void 0:d.includes("Limit remove is not permitted due to LimitUpdateControl")},bi=s=>{var d;return(d=s==null?void 0:s.error)==null?void 0:d.includes("[NotFoundException] Limit does not exist")},ki=s=>{var d;return(d=s==null?void 0:s.error)==null?void 0:d.includes("[Exception] Schedule does not exist")},wi=s=>{var d,p;return((d=s.details)==null?void 0:d.includes("Invalid Session"))||((p=s.error)==null?void 0:p.includes("Invalid Session"))},Pe=s=>{if(window.postMessage({type:"OpenLimitsPopup"},window.location.href),ne){if(i(26,je=!0),!s){i(28,ie=!0);return}vi(s)?i(15,te=o("popupUpdateLimitException")):yi(s)?i(15,te=o("popupRemoveLimitException")):bi(s)?i(15,te=o("notFoundException")):ki(s)?i(15,te=o("scheduleNotFoundException")):wi(s)?i(15,te=o("sessionExpiredException")):i(15,te=o("genericLimitsPopupError")),i(28,ie=!0);return}switch(_){case"gmcore":z==="sessionLimit"||z==="cumulativeSession"?hi():ci();break;case"gm16":z==="lugas"?gi():z==="sessionLimit"||z==="cumulativeSession"?Li():fi();break;default:throw new Error(`Invalid apiversion attribute: ${_}`)}},pe=()=>{i(27,we=!0),window.postMessage({type:"DisableScroll"},window.location.href)},_i=s=>{i(11,z=s.limitType),i(12,v=s.period),pe(),i(24,X=!0);let d=new URL(`${L}/v2/player/${m}/limits/${Ve[s.limitType]}`);s.limitType!=="sessionLimit"&&d.searchParams.append("periods",s.period);let p={method:"DELETE",headers:{"X-SessionID":u,"Content-Type":"application/json",Accept:"application/json"}};fetch(d.href,p).then(f=>$(f)).then(f=>{Q("self_limitation_cancel_success",s.amount),ae()}).catch(f=>{Q("self_limitation_cancel_failed",s.amount),console.log(f),i(25,ne=!0)})},et=s=>{switch(Ce.remove=s,_){case"gmcore":_i(s);break;case"gm16":be=s,s.limitType==="sessionLimit"||s.limitType==="cumulativeSession"?xi(s):tt(s);break}Q("self_limitation_cancel_request",s.amount)},xi=s=>{const d=new URL(`${L}/v1/player/${m}/limits/session/session`),p=new URL(`${L}/v1/player/${m}/limits/session/cumulativeSession?periods=${s.period}`);let f;switch(s.limitType){case"sessionLimit":f=d;break;case"cumulativeSession":f=p;break;default:throw Error(`Unknown limit.limitType: ${s.limitType}`)}pe(),i(24,X=!0);let y={method:"DELETE",headers:{"X-SessionID":u,"Content-Type":"application/json",Accept:"application/json"}};fetch(f.href,y).then(w=>$(w)).then(w=>{Q("self_limitation_cancel_success",s.amount),ae()}).catch(w=>{Q("self_limitation_cancel_failed",s.amount),console.log(w),i(25,ne=!0)})},tt=s=>{if(pe(),i(24,X=!0),s&&s.reviewRequired&&!ue){i(30,ze=!0),i(28,ie=!0);return}const d=new URL(`${L}/v1/player/${m}/limits/monetary/${s.id}`);let p={method:"DELETE",headers:{"X-SessionID":u,"Content-Type":"application/json",Accept:"application/json"}};ue&&d.searchParams.append("documentId",ue),fetch(d.href,p).then(f=>$(f)).then(f=>{Q("self_limitation_cancel_success",s.amount),ae()}).catch(f=>{Q("self_limitation_cancel_failed",s.amount),console.log(f),i(25,ne=!0)}).finally(()=>{Ce.remove={},i(30,ze=!1),ue=""})},it=s=>{const d=new URL(`${L}/v1/player/${m}/limits/schedule/${s.scheduleId}`);pe(),i(24,X=!0);let p={method:"DELETE",headers:{"X-SessionID":u,"Content-Type":"application/json",Accept:"application/json"}};fetch(d.href,p).then(f=>$(f)).then(f=>{be=s,Q("self_limitation_cancel_success",s.updateAmount),ae()}).catch(f=>{Q("self_limitation_cancel_failed",s.updateAmount),console.log(f)})},at=s=>{const d=new URL(`${L}/v1/player/${m}/limits/schedule/acknowledge/${s.scheduleId}`);pe(),i(24,X=!0);let p={method:"PATCH",headers:{"X-SessionID":u,"Content-Type":"application/json",Accept:"application/json"}};fetch(d.href,p).then(f=>$(f)).then(f=>{be=s,zi(s),Q("self_limitation_confirm_success",s.amount),ae()}).catch(f=>{Q("self_limitation_confirm_failed",s.amount),console.log(f)})},zi=s=>{let d=60;i(21,ee[s.scheduleId]={},ee),i(21,ee[s.scheduleId].timer=`${d} ${Le[r].seconds}`,ee),i(21,ee[s.scheduleId].timerStopped=!1,ee);let p=window.setInterval(()=>d===0?(window.clearInterval(p),i(21,ee[s.scheduleId].timerStopped=!0,ee),i(21,ee[s.scheduleId].timer=Le[r].reloadLimitsButton,ee)):i(21,ee[s.scheduleId].timer=`${--d} ${Le[r].seconds}`,ee),1e3)},Ue=s=>{let d;return s?d=s.value?o(s.value+s.product):o(s.type.toLowerCase()+s.products[0]):d=o(z),d},ot=(s,d=!1,p=!1)=>{if(!C)return p?`${s.reviewPending.requestAmount}${s.currency}`:d?`${s.updateAmount}${s.currency}`:`${s.amount}${s.currency}`;let f=C;const y=f.match(/\{(\d+)decimals\}/),w=y?parseInt(y[1],10):2,D=y?new RegExp("\\{\\d+decimals\\}","g"):"{decimals}";let O;p?O=s.reviewPending.requestAmount||0:O=d?s.updateAmount:s.amount,O=parseInt(O).toFixed(w);const[se,re]=C.includes(".")?[",","."]:[".",","];let[Ae,Be]=O.split(".");return Ae=Ae.replace(/\B(?=(\d{3})+(?!\d))/g,se),O=`${Ae}${re}${Be}`,f=f.replace("{currency}",ke[s.currency]||s.currency).replace("{amount}",O.split(re)[0]).replace(D,O.split(re)[1]),f},Ne=()=>{i(28,ie=i(27,we=!1)),i(16,_e=""),window.postMessage({type:"CloseLimitsPopup"},window.location.href),window.postMessage({type:"EnableScroll"},window.location.href),i(24,X=!1)},Si=()=>{window.postMessage({type:"uploadDocuments"},window.location.href),Ne()},Pi=s=>{console.log(s);let d=0;return Object.keys(s).forEach(p=>{d+=s[p].size}),d<=Number(R)},Ai=s=>{let d=!1;return Object.keys(s).forEach(p=>{const f=s[p].name.split(".").pop();return Y.includes(f)?d=!0:d=!1}),d},nt=s=>!s&&!(s.length>0)?i(29,fe=!1):(i(20,he=s),Pi(he)?Ai(he)?i(29,fe=!0):(console.error(o("fileExtenssionDeny")),i(29,fe=!1)):(console.error(o("fileSizeExceeded")),i(29,fe=!1))),Di=()=>{if(!fe)return;i(28,ie=!1);const s=new URL(`${L}/api/v1/mm/content/${m}/url-upload/`),d={method:"POST",headers:{"Content-Type":"application/json","X-SessionId":u},body:JSON.stringify({})};fetch(s,d).then(p=>$(p)).then(p=>{Ci(p)}).catch(p=>{console.error(o("errorUploadDocument"),p),i(20,he=null),i(29,fe=!1)})},Ci=s=>{const d=new FormData;d.append(s.requestId,he[0]),fetch(s.url,{method:"POST",body:d}).then(p=>$(p)).then(p=>{window.postMessage({type:"WidgetNotification",data:{type:"success",message:o("uploadSuccess")}},window.location.href),ue=p.Files[0].Reference,Ce.remove.id?tt(Ce.remove):Ye()}).catch(p=>{window.postMessage({type:"WidgetNotification",data:{type:"error",message:o("errorUploadDocument")}},window.location.href),console.error(o("errorUploadDocument"),p)}).finally(()=>{Ne(),i(20,he=null),i(29,fe=!1)})},Ti=()=>{if(!k)return;let s={};k.split(",").forEach(d=>{let p=d.split(":");s[p[0].trim()]=p[1].trim()}),ke=ge(ge({},ke),s)},ji=()=>{Zi(r)},st=s=>{if(s.data)switch(s.data.type){case"LimitDisableState":{i(32,Fe=s.data.data);break}case"SubmitLimitNotification":{Xe();break}}};e.onMount(()=>(window.addEventListener("message",st),T==="true"&&E.length&&Ie(),()=>{window.removeEventListener("message",st)}));const Ei=s=>nt(s.target.files),Mi=()=>ae(),Ii=s=>et(s),Ui=s=>at(s),Ni=s=>it(s);function Bi(s,d,p){e.binding_callbacks[s?"unshift":"push"](()=>{W[d][p]=s,i(8,W),i(2,T),i(9,E)})}function Ri(){ye=e.select_value(this),i(17,ye)}const Wi=()=>{Ke(),Ge(),Qe()};function Oi(){v=e.select_value(this),i(12,v),i(10,H),i(11,z)}function Fi(){q=e.to_number(this.value),i(18,q)}function Vi(s){e.binding_callbacks[s?"unshift":"push"](()=>{V=s,i(7,V)})}return a.$$set=s=>{"lang"in s&&i(54,r=s.lang),"currency"in s&&i(0,c=s.currency),"limits"in s&&i(55,g=s.limits),"session"in s&&i(56,u=s.session),"userid"in s&&i(57,m=s.userid),"endpoint"in s&&i(58,L=s.endpoint),"apiversion"in s&&i(59,_=s.apiversion),"companylimits"in s&&i(1,b=s.companylimits),"customcurrencysymbols"in s&&i(60,k=s.customcurrencysymbols),"netdepositprogress"in s&&i(2,T=s.netdepositprogress),"enablecompliancetext"in s&&i(3,Z=s.enablecompliancetext),"deletelimit"in s&&i(4,J=s.deletelimit),"amountsconfig"in s&&i(61,I=s.amountsconfig),"periodsconfig"in s&&i(62,N=s.periodsconfig),"defaultperiod"in s&&i(63,U=s.defaultperiod),"limittabindex"in s&&i(5,B=s.limittabindex),"limitformat"in s&&i(64,C=s.limitformat),"allowedextenssion"in s&&i(65,Y=s.allowedextenssion),"filesizeallow"in s&&i(66,R=s.filesizeallow),"clientstyling"in s&&i(67,M=s.clientstyling),"clientstylingurl"in s&&i(68,x=s.clientstylingurl),"translationurl"in s&&i(69,P=s.translationurl),"mbsource"in s&&i(70,F=s.mbsource),"timezone"in s&&i(71,h=s.timezone),"isLimitNotification"in s&&i(6,j=s.isLimitNotification),"cooloffstrictmode"in s&&i(72,G=s.cooloffstrictmode),"$$scope"in s&&i(73,l=s.$$scope)},a.$$.update=()=>{if(a.$$.dirty[1]&536870912&&k&&Ti(),a.$$.dirty[1]&1073741824|a.$$.dirty[2]&1&&N&&I&&qt(),a.$$.dirty[1]&8388608&&r&&ji(),a.$$.dirty[1]&511705088&&m&&u&&L&&_&&r&&ae(),a.$$.dirty[0]&128|a.$$.dirty[2]&32&&M&&V&&e.setClientStyling(V,M),a.$$.dirty[0]&128|a.$$.dirty[2]&64&&x&&V&&e.setClientStylingURL(V,x),a.$$.dirty[0]&128|a.$$.dirty[2]&256&&F&&V&&e.setStreamStyling(V,`${F}.Style`),a.$$.dirty[2]&128&&P&&Ot(),a.$$.dirty[0]&772&&T==="true"&&E.length){const s=E.map(p=>{var f;return new Array(((f=p.currentLimits)==null?void 0:f.length)||0).fill(null)});(W.length!==s.length||W.some((p,f)=>p.length!==s[f].length))&&i(8,W=s)}a.$$.dirty[0]&772&&T==="true"&&W.length===E.length&&oi()&&Ie()},[c,b,T,Z,J,B,j,V,W,E,H,z,v,S,K,te,_e,ye,q,xe,he,ee,Oe,Te,X,ne,je,we,ie,fe,ze,ve,Fe,Ee,o,me,Ht,Ge,Ke,ae,ai,Je,ui,Xe,Qe,et,it,at,Ue,ot,Ne,Si,nt,Di,r,g,u,m,L,_,k,I,N,U,C,Y,R,M,x,P,F,h,G,l,n,Ei,Mi,Ii,Ui,Ni,Bi,Ri,Wi,Oi,Fi,Vi]}class Rt extends e.SvelteComponent{constructor(t){super(),e.init(this,t,Ma,Ea,e.safe_not_equal,{lang:54,currency:0,limits:55,session:56,userid:57,endpoint:58,apiversion:59,companylimits:1,customcurrencysymbols:60,netdepositprogress:2,enablecompliancetext:3,deletelimit:4,amountsconfig:61,periodsconfig:62,defaultperiod:63,limittabindex:5,limitformat:64,allowedextenssion:65,filesizeallow:66,clientstyling:67,clientstylingurl:68,translationurl:69,mbsource:70,timezone:71,isLimitNotification:6,cooloffstrictmode:72},Ji,[-1,-1,-1,-1,-1,-1])}get lang(){return this.$$.ctx[54]}set lang(t){this.$$set({lang:t}),e.flush()}get currency(){return this.$$.ctx[0]}set currency(t){this.$$set({currency:t}),e.flush()}get limits(){return this.$$.ctx[55]}set limits(t){this.$$set({limits:t}),e.flush()}get session(){return this.$$.ctx[56]}set session(t){this.$$set({session:t}),e.flush()}get userid(){return this.$$.ctx[57]}set userid(t){this.$$set({userid:t}),e.flush()}get endpoint(){return this.$$.ctx[58]}set endpoint(t){this.$$set({endpoint:t}),e.flush()}get apiversion(){return this.$$.ctx[59]}set apiversion(t){this.$$set({apiversion:t}),e.flush()}get companylimits(){return this.$$.ctx[1]}set companylimits(t){this.$$set({companylimits:t}),e.flush()}get customcurrencysymbols(){return this.$$.ctx[60]}set customcurrencysymbols(t){this.$$set({customcurrencysymbols:t}),e.flush()}get netdepositprogress(){return this.$$.ctx[2]}set netdepositprogress(t){this.$$set({netdepositprogress:t}),e.flush()}get enablecompliancetext(){return this.$$.ctx[3]}set enablecompliancetext(t){this.$$set({enablecompliancetext:t}),e.flush()}get deletelimit(){return this.$$.ctx[4]}set deletelimit(t){this.$$set({deletelimit:t}),e.flush()}get amountsconfig(){return this.$$.ctx[61]}set amountsconfig(t){this.$$set({amountsconfig:t}),e.flush()}get periodsconfig(){return this.$$.ctx[62]}set periodsconfig(t){this.$$set({periodsconfig:t}),e.flush()}get defaultperiod(){return this.$$.ctx[63]}set defaultperiod(t){this.$$set({defaultperiod:t}),e.flush()}get limittabindex(){return this.$$.ctx[5]}set limittabindex(t){this.$$set({limittabindex:t}),e.flush()}get limitformat(){return this.$$.ctx[64]}set limitformat(t){this.$$set({limitformat:t}),e.flush()}get allowedextenssion(){return this.$$.ctx[65]}set allowedextenssion(t){this.$$set({allowedextenssion:t}),e.flush()}get filesizeallow(){return this.$$.ctx[66]}set filesizeallow(t){this.$$set({filesizeallow:t}),e.flush()}get clientstyling(){return this.$$.ctx[67]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[68]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get translationurl(){return this.$$.ctx[69]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}get mbsource(){return this.$$.ctx[70]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}get timezone(){return this.$$.ctx[71]}set timezone(t){this.$$set({timezone:t}),e.flush()}get isLimitNotification(){return this.$$.ctx[6]}set isLimitNotification(t){this.$$set({isLimitNotification:t}),e.flush()}get cooloffstrictmode(){return this.$$.ctx[72]}set cooloffstrictmode(t){this.$$set({cooloffstrictmode:t}),e.flush()}}e.create_custom_element(Rt,{lang:{},currency:{},limits:{},session:{},userid:{},endpoint:{},apiversion:{},companylimits:{},customcurrencysymbols:{},netdepositprogress:{},enablecompliancetext:{},deletelimit:{},amountsconfig:{},periodsconfig:{},defaultperiod:{},limittabindex:{},limitformat:{},allowedextenssion:{},filesizeallow:{},clientstyling:{},clientstylingurl:{},translationurl:{},mbsource:{},timezone:{},isLimitNotification:{},cooloffstrictmode:{}},["LimitSkeleton","LimitsList","LimitSubmitButton"],[],!0);exports.default=Rt;
|