@everymatrix/player-account-controller 1.77.26 → 1.77.28

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.
Files changed (161) hide show
  1. package/components/{GeneralLogout-DOGnKmyQ.js → GeneralLogout-BK7W4djM.js} +814 -793
  2. package/components/GeneralLogout-CuvnoUn1.cjs +21 -0
  3. package/components/{GeneralLogout-BIxWWYLk.js → GeneralLogout-CvdWFdpo.js} +843 -822
  4. package/components/PlayerAccountBettingHistory-C64EtltO.js +310 -0
  5. package/components/PlayerAccountBettingHistory-Cb9zY2cj.cjs +1 -0
  6. package/components/PlayerAccountBettingHistory-nZ8LinMC.js +311 -0
  7. package/components/{PlayerAccountBiometrics--ORX1Xo2.js → PlayerAccountBiometrics-BlO9_i-W.js} +22 -22
  8. package/components/{PlayerAccountBiometrics-N164JTVo.cjs → PlayerAccountBiometrics-CSSQNl0K.cjs} +1 -1
  9. package/components/{PlayerAccountBiometrics-C839X1CB.js → PlayerAccountBiometrics-DThKgPi7.js} +22 -22
  10. package/components/{PlayerAccountClosure-DAzruC52.cjs → PlayerAccountClosure-BxDE3-YO.cjs} +1 -1
  11. package/components/{PlayerAccountClosure-BnZ7xAZc.js → PlayerAccountClosure-Ccw2bW0u.js} +47 -47
  12. package/components/{PlayerAccountClosure-C-XhEgvp.js → PlayerAccountClosure-CwXvvWRK.js} +47 -47
  13. package/components/{PlayerAccountController-B8EwfmAe.js → PlayerAccountController-CQXmZ-EE.js} +314 -314
  14. package/components/{PlayerAccountController-DMT2ICdh.js → PlayerAccountController-DcCNMTcp.js} +318 -318
  15. package/components/{PlayerAccountController-BzE6-D9c.cjs → PlayerAccountController-FNKVJPTN.cjs} +1 -1
  16. package/components/{PlayerAccountGamingLimits-BjDHPqr6.cjs → PlayerAccountGamingLimits-BrCEdqWf.cjs} +1 -1
  17. package/components/{PlayerAccountGamingLimits-9KODaMW7.js → PlayerAccountGamingLimits-C7NrDdgX.js} +127 -127
  18. package/components/{PlayerAccountGamingLimits-CrqT-AMF.js → PlayerAccountGamingLimits-Drat7yFH.js} +127 -127
  19. package/components/{PlayerAccountGamingLimitsConfirmationModal-cxg0byfD.cjs → PlayerAccountGamingLimitsConfirmationModal-CTub7J3N.cjs} +1 -1
  20. package/components/{PlayerAccountGamingLimitsConfirmationModal-C-YgY3oC.js → PlayerAccountGamingLimitsConfirmationModal-CzJ2YE0J.js} +33 -33
  21. package/components/{PlayerAccountGamingLimitsConfirmationModal-HnA386dI.js → PlayerAccountGamingLimitsConfirmationModal-gw5_UaO9.js} +33 -33
  22. package/components/PlayerAccountGamingLimitsGroupEdit-3h2C_FW2.cjs +2 -0
  23. package/components/{PlayerAccountGamingLimitsGroupEdit-YRUAnC2d.js → PlayerAccountGamingLimitsGroupEdit-BsK3Gkal.js} +225 -227
  24. package/components/{PlayerAccountGamingLimitsGroupEdit-nesZm3hq.js → PlayerAccountGamingLimitsGroupEdit-DED1UDUG.js} +225 -227
  25. package/components/{PlayerAccountGamingLimitsHistory2-BUCwQaVp.js → PlayerAccountGamingLimitsHistory2-1-KN4dJo.js} +41 -41
  26. package/components/{PlayerAccountGamingLimitsHistory2-1YrtyN5l.js → PlayerAccountGamingLimitsHistory2-BNSENHSR.js} +39 -39
  27. package/components/{PlayerAccountGamingLimitsHistory2-x-v5JjhN.cjs → PlayerAccountGamingLimitsHistory2-Bl-VMGFi.cjs} +1 -1
  28. package/components/{PlayerAccountGamingLimitsInfoCard-zZmhfHNZ.cjs → PlayerAccountGamingLimitsInfoCard-C7QGrNFp.cjs} +1 -1
  29. package/components/{PlayerAccountGamingLimitsInfoCard-m54MdmyU.js → PlayerAccountGamingLimitsInfoCard-CYi0QXjt.js} +83 -83
  30. package/components/{PlayerAccountGamingLimitsInfoCard-DNTaBVIW.js → PlayerAccountGamingLimitsInfoCard-CZy8Z70F.js} +83 -83
  31. package/components/{PlayerAccountGamingLimitsPage2Gm16-2MmaVNtR.js → PlayerAccountGamingLimitsPage2Gm16-DIB0a56k.js} +153 -153
  32. package/components/{PlayerAccountGamingLimitsPage2Gm16-DwhCxN91.js → PlayerAccountGamingLimitsPage2Gm16-Dwc_eapv.js} +103 -103
  33. package/components/{PlayerAccountGamingLimitsPage2Gm16-BzYDfg-O.cjs → PlayerAccountGamingLimitsPage2Gm16-Q5WrBUgy.cjs} +2 -2
  34. package/components/{PlayerAccountGamingLimitsPopup-DNjM-xS5.cjs → PlayerAccountGamingLimitsPopup-B9mkm7cd.cjs} +1 -1
  35. package/components/{PlayerAccountGamingLimitsPopup-CJPh79VJ.js → PlayerAccountGamingLimitsPopup-Dza8qXt2.js} +40 -40
  36. package/components/{PlayerAccountGamingLimitsPopup-CaOZD1Sx.js → PlayerAccountGamingLimitsPopup-kYMipjs6.js} +40 -40
  37. package/components/{PlayerAccountGamingLimitsWrapper2-DQmQSojq.js → PlayerAccountGamingLimitsWrapper2-Cb7n9Q4c.js} +37 -37
  38. package/components/{PlayerAccountGamingLimitsWrapper2-xh6AqJmt.cjs → PlayerAccountGamingLimitsWrapper2-HBygavB0.cjs} +1 -1
  39. package/components/{PlayerAccountGamingLimitsWrapper2-DhXkDDu6.js → PlayerAccountGamingLimitsWrapper2-sutTKtrP.js} +37 -37
  40. package/components/{PlayerAccountGeneralConfirmationModal-CgdKYUfR.js → PlayerAccountGeneralConfirmationModal-CNNT6cLA.js} +32 -32
  41. package/components/{PlayerAccountGeneralConfirmationModal-BFCCI67b.cjs → PlayerAccountGeneralConfirmationModal-OYut1Lou.cjs} +1 -1
  42. package/components/{PlayerAccountGeneralConfirmationModal-DGNwY3oX.js → PlayerAccountGeneralConfirmationModal-O_Xo5PRp.js} +32 -32
  43. package/components/{PlayerAccountMenu-BdLowHvs.js → PlayerAccountMenu-B8_qfqEA.js} +33 -33
  44. package/components/{PlayerAccountMenu-CVBew6Nf.cjs → PlayerAccountMenu-BQu1uMXy.cjs} +1 -1
  45. package/components/{PlayerAccountMenu-BTa9o5go.js → PlayerAccountMenu-CEAFQw3J.js} +36 -36
  46. package/components/{PlayerAccountModal-Be2rRny4.js → PlayerAccountModal-BOVxILh3.js} +25 -25
  47. package/components/{PlayerAccountModal-DMeJBtg2.js → PlayerAccountModal-BxtTrm2F.js} +25 -25
  48. package/components/{PlayerAccountModal-DaIBO9tP.cjs → PlayerAccountModal-CzspHDhO.cjs} +1 -1
  49. package/components/{PlayerAccountNotifications-D9fkPQxW.js → PlayerAccountNotifications-BLs_Pe58.js} +33 -33
  50. package/components/{PlayerAccountNotifications-BbvJAh0S.cjs → PlayerAccountNotifications-CGmkTd-y.cjs} +1 -1
  51. package/components/{PlayerAccountNotifications-CQnqbEad.js → PlayerAccountNotifications-eSHo-n7V.js} +32 -32
  52. package/components/{PlayerAccountProductRestriction-QC_IdMd-.cjs → PlayerAccountProductRestriction--OoNKa9R.cjs} +276 -275
  53. package/components/{PlayerAccountProductRestriction-6VXPjY4v.js → PlayerAccountProductRestriction-BtYgBboa.js} +1728 -1727
  54. package/components/{PlayerAccountProductRestriction-CnkkwwEc.js → PlayerAccountProductRestriction-CB50nJp4.js} +1743 -1742
  55. package/components/{PlayerAccountSelfExclusion-C-dXJ8r7.cjs → PlayerAccountSelfExclusion-B5hPZPhz.cjs} +86 -86
  56. package/components/{PlayerAccountSelfExclusion-1XrLeqgg.js → PlayerAccountSelfExclusion-CatF8Zf2.js} +565 -566
  57. package/components/{PlayerAccountSelfExclusion-N7w7x-oG.js → PlayerAccountSelfExclusion-DOGAbujk.js} +115 -116
  58. package/components/{PlayerAccountTimeout-yTvXrZp2.js → PlayerAccountTimeout-BDqvZQlT.js} +58 -58
  59. package/components/{PlayerAccountTimeout-BHVmDgM4.js → PlayerAccountTimeout-Dtn8rncg.js} +58 -58
  60. package/components/{PlayerAccountTimeout-BfWtM1pE.cjs → PlayerAccountTimeout-o3bkzZxS.cjs} +1 -1
  61. package/components/{PlayerAccountTransactionsHistory-DKUn5VWK.js → PlayerAccountTransactionsHistory-DBC5hEPR.js} +74 -74
  62. package/components/{PlayerAccountTransactionsHistory-qMPIipdX.js → PlayerAccountTransactionsHistory-DqZy3TOH.js} +74 -74
  63. package/components/{PlayerAccountTransactionsHistory-_lD5zRU4.cjs → PlayerAccountTransactionsHistory-FnFkvTS7.cjs} +1 -1
  64. package/components/{PlayerActiveBonuses-oqHnPw2o.js → PlayerActiveBonuses-CNJS0lAo.js} +55 -55
  65. package/components/{PlayerActiveBonuses-jKJ0mKE9.js → PlayerActiveBonuses-CuBNDPHe.js} +57 -57
  66. package/components/{PlayerActiveBonuses-DFYafZH7.cjs → PlayerActiveBonuses-DgXX-q4u.cjs} +1 -1
  67. package/components/{PlayerBonusCard-BGAak-pJ.js → PlayerBonusCard-BIs_HZAR.js} +81 -81
  68. package/components/{PlayerBonusCard-BlV-6_Cs.cjs → PlayerBonusCard-RgoO5gpm.cjs} +1 -1
  69. package/components/{PlayerBonusCard-BiM-FWGf.js → PlayerBonusCard-snrZC9GG.js} +81 -81
  70. package/components/{PlayerBonusHistory-BafU34wG.cjs → PlayerBonusHistory-CVvkrGYe.cjs} +2 -2
  71. package/components/{PlayerBonusHistory-CBhYrSj-.js → PlayerBonusHistory-CqJkdznG.js} +36 -36
  72. package/components/{PlayerBonusHistory-D9ys_whz.js → PlayerBonusHistory-U37Wv5mr.js} +36 -36
  73. package/components/{PlayerChangePassword-D4fn6l6F.js → PlayerChangePassword-CQm9FDt2.js} +66 -66
  74. package/components/{PlayerChangePassword-DYpl0DV7.cjs → PlayerChangePassword-CTNjnq_r.cjs} +1 -1
  75. package/components/{PlayerChangePassword-Bd-cjzBO.js → PlayerChangePassword-DpSiDx3P.js} +66 -66
  76. package/components/PlayerDeposit-BsyYS9xx.cjs +1 -0
  77. package/components/{PlayerDeposit-BVkF0ZtH.js → PlayerDeposit-C-v12uwl.js} +80 -80
  78. package/components/{PlayerDeposit-DX7B3JON.js → PlayerDeposit-CmmfBFxW.js} +80 -80
  79. package/components/{PlayerGamingHistory-CvVPnvAi.js → PlayerGamingHistory-BBXU_IGX.js} +70 -70
  80. package/components/{PlayerGamingHistory-CaC-JwKu.js → PlayerGamingHistory-Bo45KH4n.js} +62 -62
  81. package/components/{PlayerGamingHistory-Chr5akv2.cjs → PlayerGamingHistory-D3epa-CV.cjs} +1 -1
  82. package/components/{PlayerPendingWithdrawals-CMPVYmKD.js → PlayerPendingWithdrawals-D1OrRFXU.js} +26 -26
  83. package/components/{PlayerPendingWithdrawals-DfQ_PvkY.cjs → PlayerPendingWithdrawals-Dvq9lK8F.cjs} +1 -1
  84. package/components/{PlayerPendingWithdrawals-n_4Dqtvd.js → PlayerPendingWithdrawals-yVjsxqA0.js} +26 -26
  85. package/components/{PlayerProfileInfo-Ch4kOgFH.cjs → PlayerProfileInfo-CImeJryH.cjs} +1 -1
  86. package/components/{PlayerProfileInfo-BTaPkeFZ.js → PlayerProfileInfo-CNs_rVtu.js} +66 -66
  87. package/components/{PlayerProfileInfo-QpgrixS5.js → PlayerProfileInfo-DVss0s13.js} +66 -66
  88. package/components/{PlayerRealityCheck-Cq2rIALW.cjs → PlayerRealityCheck-BynMsi1X.cjs} +1 -1
  89. package/components/{PlayerRealityCheck-CUInJeVV.js → PlayerRealityCheck-DlDgwEbp.js} +43 -43
  90. package/components/{PlayerRealityCheck-DipRyBbC.js → PlayerRealityCheck-DsWuAvgp.js} +44 -44
  91. package/components/{PlayerTransactionHistory-DPvvu8Wp.cjs → PlayerTransactionHistory-BU4_vLyx.cjs} +1 -1
  92. package/components/{PlayerTransactionHistory-BsrJmhEY.js → PlayerTransactionHistory-DcIV6du-.js} +19 -19
  93. package/components/{PlayerTransactionHistory-CZoT5WN3.js → PlayerTransactionHistory-H6ItndSr.js} +19 -19
  94. package/components/{PlayerWithdrawal-BJ2SuZaZ.js → PlayerWithdrawal-C0e0FHef.js} +19 -19
  95. package/components/{PlayerWithdrawal-DWG3qV8x.js → PlayerWithdrawal-CIrttRms.js} +19 -19
  96. package/components/{PlayerWithdrawal-BcaC1sEF.cjs → PlayerWithdrawal-CkSCfQ4A.cjs} +1 -1
  97. package/es2015/player-account-controller.cjs +1 -1
  98. package/es2015/player-account-controller.js +1 -1
  99. package/esnext/player-account-controller.js +1 -1
  100. package/package.json +1 -1
  101. package/stencil/{checkbox-group-input_15-DulnjDnx.cjs → checkbox-group-input_15-Cuk5W1yj.cjs} +247 -246
  102. package/stencil/{checkbox-group-input_15-DtNfWSGk.js → checkbox-group-input_15-hKKsNICT.js} +2653 -2656
  103. package/stencil/{checkbox-group-input_15-hr_wHMZu.js → checkbox-group-input_15-nDrUZEAF.js} +2652 -2655
  104. package/stencil/index-1ef3a64c-DR7bpfUj.cjs +1 -0
  105. package/stencil/index-1ef3a64c-HE2lDlEL.js +572 -0
  106. package/stencil/index-1ef3a64c-zEGNB-u8.js +556 -0
  107. package/stencil/index-6e523641-CVaNEI5O.cjs +1 -0
  108. package/stencil/{index-6e523641-CPIjxvst.js → index-6e523641-CoBB-3Id.js} +215 -215
  109. package/stencil/index-6e523641-DnC0RyBN.js +654 -0
  110. package/stencil/index-9c0f6c58-Bsh5bE3R.js +576 -0
  111. package/stencil/index-9c0f6c58-Bt2RVzWI.cjs +1 -0
  112. package/stencil/{index-9c0f6c58-D8cH35eY.js → index-9c0f6c58-C2jzaT5g.js} +197 -197
  113. package/stencil/index-b2193545-DQUvHUpa.cjs +1 -0
  114. package/stencil/index-b2193545-DoYU_tL8.js +503 -0
  115. package/stencil/index-b2193545-_I2wisuY.js +519 -0
  116. package/stencil/index-c666b6e6-0vP9tVRn.js +595 -0
  117. package/stencil/index-c666b6e6-BG7AG6I0.js +611 -0
  118. package/stencil/index-c666b6e6-Dplkr5z-.cjs +1 -0
  119. package/stencil/{pam-change-password-CAnuBVc5.cjs → pam-change-password-3YQPvGE5.cjs} +1 -1
  120. package/stencil/{pam-change-password-9aef79f2-BtZWVp7H.cjs → pam-change-password-9aef79f2-B23OpZ4g.cjs} +1 -1
  121. package/stencil/{pam-change-password-9aef79f2-B273f4SZ.js → pam-change-password-9aef79f2-CxF70WOR.js} +1 -1
  122. package/stencil/{pam-change-password-9aef79f2-NH_WQu8w.js → pam-change-password-9aef79f2-KsD2mY1P.js} +1 -1
  123. package/stencil/{pam-change-password-DwH2I9ZS.js → pam-change-password-CvV2B_-T.js} +1 -1
  124. package/stencil/{pam-change-password-CjhgiDKa.js → pam-change-password-Dkm-XTnG.js} +1 -1
  125. package/stencil/{player-kyc-verification-CB-T9Sie.cjs → player-kyc-verification-Cwdf4jX9.cjs} +1 -1
  126. package/stencil/{player-kyc-verification-CWjBQTx6.js → player-kyc-verification-DDMQsBNM.js} +1 -1
  127. package/stencil/{player-kyc-verification-BDqkiSQ0.js → player-kyc-verification-NFQCbuyP.js} +1 -1
  128. package/stencil/{ui-skeleton-CnxOhYAT.js → ui-skeleton-C_FDz0NJ.js} +2 -2
  129. package/stencil/{ui-skeleton-Bez-iF-R.cjs → ui-skeleton-GEqIXVxo.cjs} +1 -1
  130. package/stencil/{ui-skeleton-ae35c6f2-Bl0_r9TX.js → ui-skeleton-ae35c6f2-BreM325l.js} +1 -1
  131. package/stencil/{ui-skeleton-ae35c6f2-D37mmp9J.cjs → ui-skeleton-ae35c6f2-CeNpgiKf.cjs} +1 -1
  132. package/stencil/{ui-skeleton-ae35c6f2-CXRVKjq-.js → ui-skeleton-ae35c6f2-e6Wte4qi.js} +1 -1
  133. package/stencil/{ui-skeleton-CScGJdv_.js → ui-skeleton-mkMdvWYI.js} +2 -2
  134. package/stencil/{user-deposit-withdrawal-KqJCF9Hl.cjs → user-deposit-withdrawal-BuFBx-hr.cjs} +2 -2
  135. package/stencil/{user-deposit-withdrawal-ar8K3Kn7.js → user-deposit-withdrawal-Cr0-V-2c.js} +1 -1
  136. package/stencil/{user-deposit-withdrawal-B7dnuKq0.js → user-deposit-withdrawal-DdJYJeX1.js} +1 -1
  137. package/stencil/{user-transaction-history-D_TLrA48.js → user-transaction-history-Be-hf7kW.js} +1 -1
  138. package/stencil/{user-transaction-history-CxJ9eD0O.cjs → user-transaction-history-Bv0LEs6K.cjs} +1 -1
  139. package/stencil/{user-transaction-history-DRMT1XWY.js → user-transaction-history-Cf_iR1wy.js} +1 -1
  140. package/stencil/{user-transaction-history_2-CJgKwFpV.js → user-transaction-history_2-8ViaNgLC.js} +4073 -4076
  141. package/stencil/{user-transaction-history_2-BJzx9VTJ.cjs → user-transaction-history_2-B2yjMaBN.cjs} +286 -285
  142. package/stencil/{user-transaction-history_2-CSbeoTYq.js → user-transaction-history_2-DwdhsDRA.js} +4059 -4062
  143. package/components/GeneralLogout-TofSUXEw.cjs +0 -21
  144. package/components/PlayerAccountBettingHistory-85apG_ux.cjs +0 -1
  145. package/components/PlayerAccountBettingHistory-BFG-ZxI5.js +0 -311
  146. package/components/PlayerAccountBettingHistory-Dt8lF0JL.js +0 -310
  147. package/components/PlayerAccountGamingLimitsGroupEdit-B-VfZRKk.cjs +0 -2
  148. package/components/PlayerDeposit-BLDWbMBK.cjs +0 -1
  149. package/stencil/index-1ef3a64c-BJwg6KZV.js +0 -572
  150. package/stencil/index-1ef3a64c-BkMv_VME.cjs +0 -1
  151. package/stencil/index-1ef3a64c-Cl4fiqPl.js +0 -556
  152. package/stencil/index-6e523641-B2MuUkyG.cjs +0 -1
  153. package/stencil/index-6e523641-CtweuSyl.js +0 -654
  154. package/stencil/index-9c0f6c58-VkoQV48o.js +0 -576
  155. package/stencil/index-9c0f6c58-uSDmZIJY.cjs +0 -1
  156. package/stencil/index-b2193545-BekNYO1T.js +0 -519
  157. package/stencil/index-b2193545-BteAUmdh.cjs +0 -1
  158. package/stencil/index-b2193545-DfDFpDFs.js +0 -503
  159. package/stencil/index-c666b6e6-BjcPdEWg.js +0 -595
  160. package/stencil/index-c666b6e6-CfRw0tte.js +0 -611
  161. package/stencil/index-c666b6e6-Dc3cAVGV.cjs +0 -1
@@ -1,4 +1,4 @@
1
- "use strict";var li=Object.defineProperty;var Fe=Object.getOwnPropertySymbols;var di=Object.prototype.hasOwnProperty,ui=Object.prototype.propertyIsEnumerable;var qe=(o,t,i)=>t in o?li(o,t,{enumerable:!0,configurable:!0,writable:!0,value:i}):o[t]=i,we=(o,t)=>{for(var i in t||(t={}))di.call(t,i)&&qe(o,i,t[i]);if(Fe)for(var i of Fe(t))ui.call(t,i)&&qe(o,i,t[i]);return o};Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./GeneralLogout-TofSUXEw.cjs");require("../stencil/ui-skeleton-Bez-iF-R.cjs");const R={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 Ge(o,t){e.addMessages(o,t)}function pi(o){e.$locale.set(o)}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!
1
+ "use strict";var li=Object.defineProperty;var Fe=Object.getOwnPropertySymbols;var di=Object.prototype.hasOwnProperty,ui=Object.prototype.propertyIsEnumerable;var qe=(o,t,i)=>t in o?li(o,t,{enumerable:!0,configurable:!0,writable:!0,value:i}):o[t]=i,we=(o,t)=>{for(var i in t||(t={}))di.call(t,i)&&qe(o,i,t[i]);if(Fe)for(var i of Fe(t))ui.call(t,i)&&qe(o,i,t[i]);return o};Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./GeneralLogout-CuvnoUn1.cjs");require("../stencil/ui-skeleton-GEqIXVxo.cjs");const R={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 Ge(o,t){e.addMessages(o,t)}function pi(o){e.$locale.set(o)}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"},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"},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,T){e.insert(U,t,T),e.append(t,i),e.append(i,a),e.append(i,n),e.append(t,l),e.append(t,r),e.append(t,p),e.append(t,m),e.append(t,u),e.append(t,f),e.append(t,h),e.append(t,D),e.append(t,k),e.append(t,A),e.append(t,W),e.append(t,F),e.append(t,C),e.append(t,x),e.append(t,V)},d(U){U&&e.detach(t)}}}function ki(o){let t,i=o[28]("popupSuccess")+"",a;return{c(){t=e.element("p"),a=e.text(i)},m(n,l){e.insert(n,t,l),e.append(t,a)},p(n,l){l[0]&268435456&&i!==(i=n[28]("popupSuccess")+"")&&e.set_data(a,i)},d(n){n&&e.detach(t)}}}function bi(o){let t,i=o[28]("docsRequired")+"",a;return{c(){t=e.element("p"),a=e.text(i)},m(n,l){e.insert(n,t,l),e.append(t,a)},p(n,l){l[0]&268435456&&i!==(i=n[28]("docsRequired")+"")&&e.set_data(a,i)},d(n){n&&e.detach(t)}}}function wi(o){let t,i=o[28]("popupError")+"",a;return{c(){t=e.element("p"),a=e.text(i)},m(n,l){e.insert(n,t,l),e.append(t,a)},p(n,l){l[0]&268435456&&i!==(i=n[28]("popupError")+"")&&e.set_data(a,i)},d(n){n&&e.detach(t)}}}function _i(o){let t,i=o[28]("okButton")+"",a,n,l;return{c(){t=e.element("button"),a=e.text(i),e.attr(t,"class","ConfirmButton")},m(r,p){e.insert(r,t,p),e.append(t,a),n||(l=e.listen(t,"click",o[41]),n=!0)},p(r,p){p[0]&268435456&&i!==(i=r[28]("okButton")+"")&&e.set_data(a,i)},d(r){r&&e.detach(t),n=!1,l()}}}function Si(o){let t,i=o[28]("uploadDocumentsButton")+"",a,n,l=o[28]("closeButton")+"",r,p,m;return{c(){t=e.element("button"),a=e.space(),n=e.element("button"),r=e.text(l),e.attr(t,"class","ConfirmButton"),e.attr(n,"class","CloseButton")},m(u,f){e.insert(u,t,f),t.innerHTML=i,e.insert(u,a,f),e.insert(u,n,f),e.append(n,r),p||(m=[e.listen(t,"click",o[42]),e.listen(n,"click",o[41])],p=!0)},p(u,f){f[0]&268435456&&i!==(i=u[28]("uploadDocumentsButton")+"")&&(t.innerHTML=i),f[0]&268435456&&l!==(l=u[28]("closeButton")+"")&&e.set_data(r,l)},d(u){u&&(e.detach(t),e.detach(a),e.detach(n)),p=!1,e.run_all(m)}}}function Ai(o){let t,i=o[28]("noFileUploaded")+"",a;return{c(){t=e.element("p"),a=e.text(i),e.attr(t,"class","historyItem")},m(n,l){e.insert(n,t,l),e.append(t,a)},p(n,l){l[0]&268435456&&i!==(i=n[28]("noFileUploaded")+"")&&e.set_data(a,i)},d(n){n&&e.detach(t)}}}function Di(o){let t,i=e.ensure_array_like(Array.from(o[24])),a=[];for(let n=0;n<i.length;n+=1)a[n]=Qe(Ze(o,i,n));return{c(){for(let n=0;n<a.length;n+=1)a[n].c();t=e.empty()},m(n,l){for(let r=0;r<a.length;r+=1)a[r]&&a[r].m(n,l);e.insert(n,t,l)},p(n,l){if(l[0]&16777216){i=e.ensure_array_like(Array.from(n[24]));let r;for(r=0;r<i.length;r+=1){const p=Ze(n,i,r);a[r]?a[r].p(p,l):(a[r]=Qe(p),a[r].c(),a[r].m(t.parentNode,t))}for(;r<a.length;r+=1)a[r].d(1);a.length=i.length}},d(n){n&&e.detach(t),e.destroy_each(a,n)}}}function Qe(o){let t,i=o[147].name+"",a;return{c(){t=e.element("p"),a=e.text(i),e.attr(t,"class","historyItem")},m(n,l){e.insert(n,t,l),e.append(t,a)},p(n,l){l[0]&16777216&&i!==(i=n[147].name+"")&&e.set_data(a,i)},d(n){n&&e.detach(t)}}}function $e(o){let t,i=o[28]("filesUploadError")+"",a;return{c(){t=e.element("p"),a=e.text(i),e.attr(t,"class","filesError")},m(n,l){e.insert(n,t,l),e.append(t,a)},p(n,l){l[0]&268435456&&i!==(i=n[28]("filesUploadError")+"")&&e.set_data(a,i)},d(n){n&&e.detach(t)}}}function Pi(o){let t,i,a,n,l,r,p,m,u,f,h=o[14]?`${o[28]("amount")}`:`${o[28](`new${o[8]}Limit`)}`,D,k,A,W,F,C,x=o[28]("setLimit")+"",V,U,T,P,E=e.ensure_array_like(o[6]),S=[];for(let v=0;v<E.length;v+=1)S[v]=nt(Ye(o,E,v));let y=o[1]==="true"&&st(o),b=o[13]&&rt(o),w=o[14]&&dt(o),_=o[23]&&pt(o);return{c(){t=e.element("div"),i=e.element("div"),a=e.element("div");for(let v=0;v<S.length;v+=1)S[v].c();n=e.space(),l=e.element("form"),y&&y.c(),r=e.space(),b&&b.c(),p=e.space(),w&&w.c(),m=e.space(),u=e.element("label"),f=e.element("span"),D=e.text(h),k=e.space(),A=e.element("input"),W=e.space(),_&&_.c(),F=e.space(),C=e.element("button"),V=e.text(x),e.attr(a,"class","LimitsList "+(o[29]?"Desktop":"")),e.attr(f,"class","LimitInputText"),e.attr(A,"type","number"),e.attr(A,"pattern","[0-9]*"),e.attr(u,"class","LimitAmountInputWrapper"),e.attr(C,"class","LimitSubmitButton"),e.attr(C,"type","submit"),C.disabled=o[23],e.attr(l,"class","LimitsInteractionArea "+(o[29]?"Desktop":"")),e.attr(i,"class","LimitsPageContainer"),e.attr(t,"class",U="player-account-gaming-limits-page-2-gm16 "+("LimitTab"+o[3]))},m(v,N){e.insert(v,t,N),e.append(t,i),e.append(i,a);for(let B=0;B<S.length;B+=1)S[B]&&S[B].m(a,null);e.append(i,n),e.append(i,l),y&&y.m(l,null),e.append(l,r),b&&b.m(l,null),e.append(l,p),w&&w.m(l,null),e.append(l,m),e.append(l,u),e.append(u,f),e.append(f,D),e.append(u,k),e.append(u,A),e.set_input_value(A,o[10]),e.append(u,W),_&&_.m(u,null),e.append(l,F),e.append(l,C),e.append(C,V),T||(P=[e.listen(A,"input",o[69]),e.listen(A,"input",o[33]),e.listen(l,"submit",o[34])],T=!0)},p(v,N){if(N[0]&939524164|N[1]&994){E=e.ensure_array_like(v[6]);let B;for(B=0;B<E.length;B+=1){const j=Ye(v,E,B);S[B]?S[B].p(j,N):(S[B]=nt(j),S[B].c(),S[B].m(a,null))}for(;B<S.length;B+=1)S[B].d(1);S.length=E.length}v[1]==="true"?y?y.p(v,N):(y=st(v),y.c(),y.m(l,r)):y&&(y.d(1),y=null),v[13]?b?b.p(v,N):(b=rt(v),b.c(),b.m(l,p)):b&&(b.d(1),b=null),v[14]?w?w.p(v,N):(w=dt(v),w.c(),w.m(l,m)):w&&(w.d(1),w=null),N[0]&268452096&&h!==(h=v[14]?`${v[28]("amount")}`:`${v[28](`new${v[8]}Limit`)}`)&&e.set_data(D,h),N[0]&1024&&e.to_number(A.value)!==v[10]&&e.set_input_value(A,v[10]),v[23]?_?_.p(v,N):(_=pt(v),_.c(),_.m(u,null)):_&&(_.d(1),_=null),N[0]&268435456&&x!==(x=v[28]("setLimit")+"")&&e.set_data(V,x),N[0]&8388608&&(C.disabled=v[23]),N[0]&8&&U!==(U="player-account-gaming-limits-page-2-gm16 "+("LimitTab"+v[3]))&&e.attr(t,"class",U)},d(v){v&&e.detach(t),e.destroy_each(S,v),y&&y.d(),b&&b.d(),w&&w.d(),_&&_.d(),T=!1,e.run_all(P)}}}function zi(o){let t;return{c(){t=e.element("p"),t.textContent="500 Server error"},m(i,a){e.insert(i,t,a)},p:e.noop,d(i){i&&e.detach(t)}}}function Ci(o){let t,i,a,n,l,r,p=e.ensure_array_like(Array(3)),m=[];for(let u=0;u<p.length;u+=1)m[u]=Wi(ci(o,p,u));return{c(){t=e.element("div"),i=e.element("div"),a=e.element("div"),a.innerHTML='<ui-skeleton width="auto" height="20px" structure="text" margin-right="auto"></ui-skeleton>',n=e.space();for(let u=0;u<m.length;u+=1)m[u].c();l=e.space(),r=e.element("div"),r.innerHTML='<div class="skletonHeader"><ui-skeleton width="auto" height="15px" structure="title" margin-right="auto"></ui-skeleton></div> <div class="skeletonPeriod"><ui-skeleton width="auto" height="50px" structure="rectangle" margin-right="auto"></ui-skeleton></div> <div class="skletonHeader"><ui-skeleton width="auto" height="15px" structure="title" margin-right="auto"></ui-skeleton></div> <div class="skeletonInputAmount"><ui-skeleton width="auto" height="50px" structure="rectangle" margin-right="auto"></ui-skeleton></div> <div class="skeletonButton"><ui-skeleton width="auto" height="40px" structure="rectangle" margin-right="auto"></ui-skeleton></div>',e.attr(a,"class","skeletonLimitText"),e.attr(i,"class","skeletonLimitWrapper"),e.attr(r,"class","skeletonInputWrapper"),e.attr(t,"class","skeletonLimitContainer")},m(u,f){e.insert(u,t,f),e.append(t,i),e.append(i,a),e.append(i,n);for(let h=0;h<m.length;h+=1)m[h]&&m[h].m(i,null);e.append(t,l),e.append(t,r)},p:e.noop,d(u){u&&e.detach(t),e.destroy_each(m,u)}}}function xi(o){let t,i,a,n=o[28]("noLimitText")+"",l;return{c(){t=e.element("div"),i=e.element("div"),a=e.element("div"),l=e.text(n),e.attr(a,"class","LimitDetailsTextWrapper"),e.attr(i,"class","LimitDetailsWrapper"),e.attr(t,"class","LimitDetails")},m(r,p){e.insert(r,t,p),e.append(t,i),e.append(i,a),e.append(a,l)},p(r,p){p[0]&268435456&&n!==(n=r[28]("noLimitText")+"")&&e.set_data(l,n)},d(r){r&&e.detach(t)}}}function ji(o){let t,i,a,n=o[28]("lugasPrivacy")+"",l;return{c(){t=e.element("div"),i=e.element("div"),a=e.element("div"),l=e.text(n),e.attr(a,"class","LimitDetailsTextWrapper"),e.attr(i,"class","LimitDetailsWrapper"),e.attr(t,"class","LimitDetails")},m(r,p){e.insert(r,t,p),e.append(t,i),e.append(i,a),e.append(a,l)},p(r,p){p[0]&268435456&&n!==(n=r[28]("lugasPrivacy")+"")&&e.set_data(l,n)},d(r){r&&e.detach(t)}}}function Ei(o){let t,i=e.ensure_array_like(o[139].currentLimits),a=[];for(let n=0;n<i.length;n+=1)a[n]=ot(Je(o,i,n));return{c(){for(let n=0;n<a.length;n+=1)a[n].c();t=e.empty()},m(n,l){for(let r=0;r<a.length;r+=1)a[r]&&a[r].m(n,l);e.insert(n,t,l)},p(n,l){if(l[0]&939524164|l[1]&738){i=e.ensure_array_like(n[139].currentLimits);let r;for(r=0;r<i.length;r+=1){const p=Je(n,i,r);a[r]?a[r].p(p,l):(a[r]=ot(p),a[r].c(),a[r].m(t.parentNode,t))}for(;r<a.length;r+=1)a[r].d(1);a.length=i.length}},d(n){n&&e.detach(t),e.destroy_each(a,n)}}}function Ti(o){let t,i,a,n=o[28]("lugasPrivacy")+"",l;return{c(){t=e.element("div"),i=e.element("div"),a=e.element("div"),l=e.text(n),e.attr(a,"class","LimitDetailsTextWrapper"),e.attr(i,"class","LimitDetailsWrapper"),e.attr(t,"class","LimitDetails")},m(r,p){e.insert(r,t,p),e.append(t,i),e.append(i,a),e.append(a,l)},p(r,p){p[0]&268435456&&n!==(n=r[28]("lugasPrivacy")+"")&&e.set_data(l,n)},d(r){r&&e.detach(t)}}}function Mi(o){let t,i=`${o[40](o[144])}`,a;return{c(){t=e.element("span"),a=e.text(i)},m(n,l){e.insert(n,t,l),e.append(t,a)},p(n,l){l[0]&64&&i!==(i=`${n[40](n[144])}`)&&e.set_data(a,i)},d(n){n&&e.detach(t)}}}function Ui(o){let t,i=`${o[40](o[144],!0)}`,a;return{c(){t=e.element("span"),a=e.text(i)},m(n,l){e.insert(n,t,l),e.append(t,a)},p(n,l){l[0]&64&&i!==(i=`${n[40](n[144],!0)}`)&&e.set_data(a,i)},d(n){n&&e.detach(t)}}}function et(o){let t,i,a=`${o[40](o[144],!1,!0)}`,n,l,r=`${o[144].period!=="None"||o[144].value!=="cumulativeSession"?" ":o[28]("per")} ${o[28](`${o[144].period}`)} ${o[28]("updateAfterDocApproval")}`,p;return{c(){t=e.element("div"),i=e.element("span"),n=e.text(a),l=e.space(),p=e.text(r),e.attr(t,"class","PendingLimit")},m(m,u){e.insert(m,t,u),e.append(t,i),e.append(i,n),e.append(t,l),e.append(t,p)},p(m,u){u[0]&64&&a!==(a=`${m[40](m[144],!1,!0)}`)&&e.set_data(n,a),u[0]&268435520&&r!==(r=`${m[144].period!=="None"||m[144].value!=="cumulativeSession"?" ":m[28]("per")} ${m[28](`${m[144].period}`)} ${m[28]("updateAfterDocApproval")}`)&&e.set_data(p,r)},d(m){m&&e.detach(t)}}}function Ni(o){let t,i,a=`${o[40](o[144],!0)}`,n,l;function r(u,f){return u[144].isCoolOffCompleted?Vi:Oi}let p=r(o),m=p(o);return{c(){t=e.element("div"),i=e.element("span"),n=e.text(a),l=e.space(),m.c(),e.attr(t,"class","PendingLimit")},m(u,f){e.insert(u,t,f),e.append(t,i),e.append(i,n),e.append(t,l),m.m(t,null)},p(u,f){f[0]&64&&a!==(a=`${u[40](u[144],!0)}`)&&e.set_data(n,a),p===(p=r(u))&&m?m.p(u,f):(m.d(1),m=p(u),m&&(m.c(),m.m(t,null)))},d(u){u&&e.detach(t),m.d()}}}function Ii(o){let t,i=`${o[28]("removedLimitText")} ${o[144].expiryDate}`,a;return{c(){t=e.element("div"),a=e.text(i),e.attr(t,"class","PendingLimit")},m(n,l){e.insert(n,t,l),e.append(t,a)},p(n,l){l[0]&268435520&&i!==(i=`${n[28]("removedLimitText")} ${n[144].expiryDate}`)&&e.set_data(a,i)},d(n){n&&e.detach(t)}}}function Bi(o){let t,i=`${o[28]("removeAfterConfirm")}`,a;return{c(){t=e.element("div"),a=e.text(i),e.attr(t,"class","PendingLimit")},m(n,l){e.insert(n,t,l),e.append(t,a)},p(n,l){l[0]&268435456&&i!==(i=`${n[28]("removeAfterConfirm")}`)&&e.set_data(a,i)},d(n){n&&e.detach(t)}}}function Ri(o){let t,i=`${o[28]("acknowledgedLimit")}`,a;return{c(){t=e.element("div"),a=e.text(i),e.attr(t,"class","PendingLimit")},m(n,l){e.insert(n,t,l),e.append(t,a)},p(n,l){l[0]&268435456&&i!==(i=`${n[28]("acknowledgedLimit")}`)&&e.set_data(a,i)},d(n){n&&e.detach(t)}}}function Oi(o){let t=`${o[144].period!=="None"||o[144].value!=="cumulativeSession"?" ":o[28]("per")} ${o[28](`${o[144].period}`)} ${o[28]("updateText")} ${o[144].expiryDate}`,i;return{c(){i=e.text(t)},m(a,n){e.insert(a,i,n)},p(a,n){n[0]&268435520&&t!==(t=`${a[144].period!=="None"||a[144].value!=="cumulativeSession"?" ":a[28]("per")} ${a[28](`${a[144].period}`)} ${a[28]("updateText")} ${a[144].expiryDate}`)&&e.set_data(i,t)},d(a){a&&e.detach(i)}}}function Vi(o){let t=`${o[144].period!=="None"||o[144].value!=="cumulativeSession"?" ":o[28]("per")} ${o[28](`${o[144].period}`)} ${o[28]("updateAfterConfirm")}`,i;return{c(){i=e.text(t)},m(a,n){e.insert(a,i,n)},p(a,n){n[0]&268435520&&t!==(t=`${a[144].period!=="None"||a[144].value!=="cumulativeSession"?" ":a[28]("per")} ${a[28](`${a[144].period}`)} ${a[28]("updateAfterConfirm")}`)&&e.set_data(i,t)},d(a){a&&e.detach(i)}}}function tt(o){let t,i,a=o[27][o[144].scheduleId].timer+"",n,l,r,p;return{c(){t=e.element("div"),i=e.element("button"),n=e.text(a),e.attr(i,"class",l="ReloadLimitButton "+(o[29]?"":"Mobile")+" "+(o[27][o[144].scheduleId].timerStopped?"":"disabled")),e.attr(t,"class","ContainerLimitActions "+(o[29]?"":"Mobile"))},m(m,u){e.insert(m,t,u),e.append(t,i),e.append(i,n),r||(p=e.listen(i,"click",o[62]),r=!0)},p(m,u){u[0]&134217792&&a!==(a=m[27][m[144].scheduleId].timer+"")&&e.set_data(n,a),u[0]&134217792&&l!==(l="ReloadLimitButton "+(m[29]?"":"Mobile")+" "+(m[27][m[144].scheduleId].timerStopped?"":"disabled"))&&e.attr(i,"class",l)},d(m){m&&e.detach(t),r=!1,p()}}}function it(o){let t,i,a=o[28]("removeLimit")+"",n,l,r;function p(){return o[63](o[144])}return{c(){t=e.element("div"),i=e.element("button"),n=e.text(a),e.attr(i,"class","RemoveLimitButton "+(o[29]?"":"Mobile")),e.attr(t,"class","ContainerLimitActions "+(o[29]?"":"Mobile"))},m(m,u){e.insert(m,t,u),e.append(t,i),e.append(i,n),l||(r=e.listen(i,"click",p),l=!0)},p(m,u){o=m,u[0]&268435456&&a!==(a=o[28]("removeLimit")+"")&&e.set_data(n,a)},d(m){m&&e.detach(t),l=!1,r()}}}function at(o){let t,i,a=o[28]("confirmUpdateLimit")+"",n,l,r,p=o[28]("cancelUpdateLimit")+"",m,u,f;function h(){return o[64](o[144])}function D(){return o[65](o[144])}return{c(){t=e.element("div"),i=e.element("button"),n=e.text(a),l=e.space(),r=e.element("button"),m=e.text(p),e.attr(i,"class","ConfirmLimitButton "+(o[29]?"":"Mobile")),e.attr(r,"class","CancelLimitButton "+(o[29]?"":"Mobile")),e.attr(t,"class","ContainerLimitActions "+(o[29]?"":"Mobile"))},m(k,A){e.insert(k,t,A),e.append(t,i),e.append(i,n),e.append(t,l),e.append(t,r),e.append(r,m),u||(f=[e.listen(i,"click",h),e.listen(r,"click",D)],u=!0)},p(k,A){o=k,A[0]&268435456&&a!==(a=o[28]("confirmUpdateLimit")+"")&&e.set_data(n,a),A[0]&268435456&&p!==(p=o[28]("cancelUpdateLimit")+"")&&e.set_data(m,p)},d(k){k&&e.detach(t),u=!1,e.run_all(f)}}}function ot(o){let t,i,a,n,l,r=`${o[144].period!=="None"||o[144].value!=="cumulativeSession"?" ":o[28]("per")} ${o[28](`${o[144].period}`)}`,p,m,u,f,h,D=!o[144].isModified&&o[2].indexOf(o[139].value)>-1&&!o[144].reviewPending.id,k,A;function W(y,b){return y[144].acknowledgedLimit?Ui:Mi}let F=W(o),C=F(o),x=o[144].reviewPending&&o[144].reviewPending.id&&et(o);function V(y,b){if(y[144].acknowledgedLimit)return Ri;if(y[144].isModified&&y[144].updateAmount==0&&y[144].isCoolOffCompleted)return Bi;if(y[144].isModified&&y[144].updateAmount==0&&!y[144].isCoolOffCompleted)return Ii;if(y[144].isModified)return Ni}let U=V(o),T=U&&U(o),P=o[144].acknowledgedLimit&&!o[144].reviewPending.id&&tt(o),E=D&&it(o),S=o[144].isCoolOffCompleted&!o[144].acknowledgedLimit&&!o[144].reviewPending.id&&at(o);return{c(){t=e.element("div"),i=e.element("div"),a=e.element("div"),n=e.element("div"),C.c(),l=e.space(),p=e.text(r),m=e.space(),x&&x.c(),u=e.space(),T&&T.c(),f=e.space(),P&&P.c(),h=e.space(),E&&E.c(),k=e.space(),S&&S.c(),A=e.space(),e.attr(n,"class","CurrentLimit"),e.attr(a,"class","CurrentLimitContainer"),e.attr(i,"class","LimitDetailsTextWrapper"),e.attr(t,"class","LimitDetails")},m(y,b){e.insert(y,t,b),e.append(t,i),e.append(i,a),e.append(a,n),C.m(n,null),e.append(n,l),e.append(n,p),e.append(a,m),x&&x.m(a,null),e.append(a,u),T&&T.m(a,null),e.append(i,f),P&&P.m(i,null),e.append(i,h),E&&E.m(i,null),e.append(i,k),S&&S.m(i,null),e.append(t,A)},p(y,b){F===(F=W(y))&&C?C.p(y,b):(C.d(1),C=F(y),C&&(C.c(),C.m(n,l))),b[0]&268435520&&r!==(r=`${y[144].period!=="None"||y[144].value!=="cumulativeSession"?" ":y[28]("per")} ${y[28](`${y[144].period}`)}`)&&e.set_data(p,r),y[144].reviewPending&&y[144].reviewPending.id?x?x.p(y,b):(x=et(y),x.c(),x.m(a,u)):x&&(x.d(1),x=null),U===(U=V(y))&&T?T.p(y,b):(T&&T.d(1),T=U&&U(y),T&&(T.c(),T.m(a,null))),y[144].acknowledgedLimit&&!y[144].reviewPending.id?P?P.p(y,b):(P=tt(y),P.c(),P.m(i,h)):P&&(P.d(1),P=null),b[0]&68&&(D=!y[144].isModified&&y[2].indexOf(y[139].value)>-1&&!y[144].reviewPending.id),D?E?E.p(y,b):(E=it(y),E.c(),E.m(i,k)):E&&(E.d(1),E=null),y[144].isCoolOffCompleted&!y[144].acknowledgedLimit&&!y[144].reviewPending.id?S?S.p(y,b):(S=at(y),S.c(),S.m(i,null)):S&&(S.d(1),S=null)},d(y){y&&e.detach(t),C.d(),x&&x.d(),T&&T.d(),P&&P.d(),E&&E.d(),S&&S.d()}}}function nt(o){let t,i,a=o[39](o[139])+"",n,l,r;function p(f,h){var D;return f[139].value==="lugas"?Ti:((D=f[139].currentLimits)==null?void 0:D.length)>0?Ei:f[139].value==="lugas"?ji:xi}let m=p(o),u=m(o);return{c(){t=e.element("div"),i=e.element("p"),n=e.text(a),l=e.space(),u.c(),r=e.space(),e.attr(i,"class","LimitTitle"),e.attr(t,"class","LimitWrapper "+(o[29]?"Desktop":""))},m(f,h){e.insert(f,t,h),e.append(t,i),e.append(i,n),e.append(t,l),u.m(t,null),e.append(t,r)},p(f,h){h[0]&64&&a!==(a=f[39](f[139])+"")&&e.set_data(n,a),m===(m=p(f))&&u?u.p(f,h):(u.d(1),u=m(f),u&&(u.c(),u.m(t,r)))},d(f){f&&e.detach(t),u.d()}}}function st(o){let t,i,a=o[28]("complianceText")+"",n;return{c(){t=e.element("div"),i=e.element("p"),n=e.text(a),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[0]&268435456&&a!==(a=l[28]("complianceText")+"")&&e.set_data(n,a)},d(l){l&&e.detach(t)}}}function rt(o){let t,i,a=o[28]("limitType")+"",n,l,r,p,m,u=e.ensure_array_like(o[6]),f=[];for(let h=0;h<u.length;h+=1)f[h]=lt(Ke(o,u,h));return{c(){t=e.element("label"),i=e.element("span"),n=e.text(a),l=e.space(),r=e.element("select");for(let h=0;h<f.length;h+=1)f[h].c();e.attr(i,"class","LimitSelectText"),e.attr(r,"name",""),e.attr(r,"id",""),o[9]===void 0&&e.add_render_callback(()=>o[66].call(r)),e.attr(t,"class","LimitTypeDropdownWrapper")},m(h,D){e.insert(h,t,D),e.append(t,i),e.append(i,n),e.append(t,l),e.append(t,r);for(let k=0;k<f.length;k+=1)f[k]&&f[k].m(r,null);e.select_option(r,o[9],!0),p||(m=[e.listen(r,"change",o[66]),e.listen(r,"change",o[67])],p=!0)},p(h,D){if(D[0]&268435456&&a!==(a=h[28]("limitType")+"")&&e.set_data(n,a),D[0]&64|D[1]&256){u=e.ensure_array_like(h[6]);let k;for(k=0;k<u.length;k+=1){const A=Ke(h,u,k);f[k]?f[k].p(A,D):(f[k]=lt(A),f[k].c(),f[k].m(r,null))}for(;k<f.length;k+=1)f[k].d(1);f.length=u.length}D[0]&512&&e.select_option(r,h[9])},d(h){h&&e.detach(t),e.destroy_each(f,h),p=!1,e.run_all(m)}}}function lt(o){let t,i=o[39](o[139])+"",a;return{c(){t=e.element("option"),a=e.text(i),t.__value=o[141],e.set_input_value(t,t.__value)},m(n,l){e.insert(n,t,l),e.append(t,a)},p(n,l){l[0]&64&&i!==(i=n[39](n[139])+"")&&e.set_data(a,i)},d(n){n&&e.detach(t)}}}function dt(o){let t,i,a=o[28]("period")+"",n,l,r,p,m,u=e.ensure_array_like(o[5][o[7]].periods),f=[];for(let h=0;h<u.length;h+=1)f[h]=ut(He(o,u,h));return{c(){t=e.element("label"),i=e.element("span"),n=e.text(a),l=e.space(),r=e.element("select");for(let h=0;h<f.length;h+=1)f[h].c();e.attr(i,"class","PeriodSelectText"),e.attr(r,"name",""),e.attr(r,"id",""),o[8]===void 0&&e.add_render_callback(()=>o[68].call(r)),e.attr(t,"class","LimitPeriodDropdownWrapper")},m(h,D){e.insert(h,t,D),e.append(t,i),e.append(i,n),e.append(t,l),e.append(t,r);for(let k=0;k<f.length;k+=1)f[k]&&f[k].m(r,null);e.select_option(r,o[8],!0),p||(m=e.listen(r,"change",o[68]),p=!0)},p(h,D){if(D[0]&268435456&&a!==(a=h[28]("period")+"")&&e.set_data(n,a),D[0]&268435616){u=e.ensure_array_like(h[5][h[7]].periods);let k;for(k=0;k<u.length;k+=1){const A=He(h,u,k);f[k]?f[k].p(A,D):(f[k]=ut(A),f[k].c(),f[k].m(r,null))}for(;k<f.length;k+=1)f[k].d(1);f.length=u.length}D[0]&416&&e.select_option(r,h[8])},d(h){h&&e.detach(t),e.destroy_each(f,h),p=!1,m()}}}function ut(o){let t,i=o[28](o[136])+"",a,n;return{c(){t=e.element("option"),a=e.text(i),t.__value=n=o[136],e.set_input_value(t,t.__value),t.selected=!0},m(l,r){e.insert(l,t,r),e.append(t,a)},p(l,r){r[0]&268435616&&i!==(i=l[28](l[136])+"")&&e.set_data(a,i),r[0]&160&&n!==(n=l[136])&&(t.__value=n,e.set_input_value(t,t.__value))},d(l){l&&e.detach(t)}}}function pt(o){let t,i=o[10]===null?`${o[28]("invalidInputMessage")}`:o[10]<o[11]?`${o[28]("invalidInputMessageLimitMin",{values:{minValue:o[11],currency:o[0]}})}`:`${o[28]("invalidInputMessageLimitMax",{values:{maxValue:o[12],currency:o[0]}})}`,a;return{c(){t=e.element("p"),a=e.text(i),e.attr(t,"class","InvalidInput")},m(n,l){e.insert(n,t,l),e.append(t,a)},p(n,l){l[0]&268442625&&i!==(i=n[10]===null?`${n[28]("invalidInputMessage")}`:n[10]<n[11]?`${n[28]("invalidInputMessageLimitMin",{values:{minValue:n[11],currency:n[0]}})}`:`${n[28]("invalidInputMessageLimitMax",{values:{maxValue:n[12],currency:n[0]}})}`)&&e.set_data(a,i)},d(n){n&&e.detach(t)}}}function Wi(o){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,a){e.insert(i,t,a)},p:e.noop,d(i){i&&e.detach(t)}}}function Fi(o){let t,i,a=o[18]&&Xe(o);function n(p,m){if(p[15])return Ci;if(p[16])return zi;if(!p[15])return Pi}let l=n(o),r=l&&l(o);return{c(){t=e.element("div"),a&&a.c(),i=e.space(),r&&r.c()},m(p,m){e.insert(p,t,m),a&&a.m(t,null),e.append(t,i),r&&r.m(t,null),o[70](t)},p(p,m){p[18]?a?a.p(p,m):(a=Xe(p),a.c(),a.m(t,i)):a&&(a.d(1),a=null),l===(l=n(p))&&r?r.p(p,m):(r&&r.d(1),r=l&&l(p),r&&(r.c(),r.m(t,null)))},i:e.noop,o:e.noop,d(p){p&&e.detach(t),a&&a.d(),r&&r.d(),o[70](null)}}}function qi(o,t,i){let a;e.component_subscribe(o,e.$format,s=>i(28,a=s));let{lang:n="en"}=t,{currency:l=""}=t,{limits:r=""}=t,{session:p=""}=t,{userid:m=""}=t,{endpoint:u=""}=t,{apiversion:f=""}=t,{customcurrencysymbols:h=""}=t,{enablecompliancetext:D=""}=t,{deletelimit:k=""}=t,{amountsconfig:A=""}=t,{periodsconfig:W=""}=t,{limittabindex:F=""}=t,{limitformat:C=""}=t,{allowedextenssion:x=".jpg,.jpeg,.png,.pdf,.webp,image/png"}=t,{filesizeallow:V="12934000"}=t,{clientstyling:U=""}=t,{clientstylingurl:T=""}=t,{mbsource:P}=t,{translationurl:E=""}=t,S,y=window.navigator.userAgent,b=!e.isMobile(y),w=[],_="",v="",N="",B=0,j,ie="",ne="",de="",X={},q={},G=!1,I=!1,M=!0,J=!1,_e=!1,pe=!1,ee=!1,$="",ce="",Z=[],fe,Ce,ge=!1,ct={},se="",ue,be={remove:{},confirm:{},update:{}},re=!1,Le=!1,me={EUR:"€",RON:" lei",USD:"$"},H={};const Se={wager:"wagering",loss:"loss",deposit:"deposit",netdeposit:"netdeposit",cumulativeSession:"cumulativeSession",sessionLimit:"session"},xe={unableToUpdatePendingRequest:["SYS_1037","SYS_1142","SYS_1140"],internalServerError:["F0004","F0006"]},ft=()=>{fetch(E).then(d=>d.json()).then(d=>{Object.keys(d).forEach(c=>{Ge(c,d[c])})}).catch(d=>{console.log(d)})};Object.keys(le).forEach(s=>{Ge(s,le[s])});const Ae=s=>`dataLayer-${s}`,K=(s,d)=>{typeof gtag=="function"&&gtag({event:s,limit_category:le[n][Ae(N.toLowerCase())]||N,limit_type:le[n][Ae(_.toLowerCase())]||_,limit_period:le[n][Ae(v.toLowerCase())]||v,limit_amount:j||d})},gt=()=>{var g;const s=A.split(",").map(L=>L.split(":")),d=W.split(",").map(L=>L.split(":"));for(let[L,z]of s.entries())if(z[0]!==d[L][0])throw new Error(`Limit config mismatch: "${z[0]}" does not match "${d[L][0]}"`);const c=s.reduce((L,z,O)=>{const Y=z[0].slice(z[0].indexOf("(")+1,z[0].indexOf(")")),oe=z[0].slice(0,z[0].indexOf("(")),ve=z[1],ke=d[O][1].trim().replace("D","Daily").replace("W","Weekly").replace("M","Monthly").replace("N","None").split("-"),ze={value:Y,product:oe,minMax:ve,periods:ke,callValue:R[Y].callValue,callValue16:R[Y].callValue16,title:R[Y].title};return L.push(ze),L},[]);for(let L=0;L<c.length;L++)i(6,w[L].product=c[L].product,w),i(6,w[L].min=parseInt(c[L].minMax.split("-")[0],10),w),i(6,w[L].max=parseInt(c[L].minMax.split("-")[1],10),w),i(5,R[c[L].value].periods=c[L].periods,R);de=(g=w[0])==null?void 0:g.value,w.forEach(L=>{X[L.value]={min:L.min,max:L.max},ct[L.value]=L.product}),X&&(X[de]?(i(11,ie=X[de].min),i(12,ne=X[de].max)):(i(11,ie=1),i(12,ne=9999999)))},Lt=()=>{const s=/\(([^)]+)\)/g;return[...A.matchAll(s)].flat().filter(c=>!c.includes("("))},ht=()=>{Lt().forEach(d=>{R[d]?w.push(we({},R[d])):console.error(`Unknown limit: ${d}`)}),gt(),i(7,_=w[0].value),i(8,v=R[_].periods[0]),N=w[0].product,i(13,G=w.length>1),i(14,I=R[_].periods.length>1)},je=()=>{i(7,_=w[B].value),i(8,v=R[_].periods[0]),i(14,I=R[_].periods.length>1)},Ee=()=>{N=w[B].product},Q=s=>{if(s.status>=300)yt(s);else return i(17,_e=!1),s.status!==204?s.json():s},yt=s=>{i(16,J=!0);let d;throw s.json().then(c=>{for(const g in xe)if(c.error&&xe[g].some(L=>c.error.includes(L))){d=g;break}console.error("errType",d),!d&&ye(c)}).finally(()=>{d&&ye(d),i(16,J=!1),i(15,M=!1)}),new Error("An error occured during the fetch request")},vt=()=>{if(!(j>0))return;ae(),i(15,M=!0);let s=new URL(`/v2/player/${m}/limits`,u),d={};_==="sessionLimit"?d={sessionLimit:j,sessionLimitUnit:"minute"}:_==="cumulativeSession"?d[R[_].callValue]=[{period:v,minutes:j}]:d[R[_].callValue]=[{period:R[_].periods[0]==="None"?null:v,amount:j,currency:l}];let c={method:"PUT",headers:{"X-SessionID":p,"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify(d)};fetch(s.href,c).then(g=>Q(g)).then(g=>{K("self_limitation_success"),te()}).catch(g=>{console.error(g),i(16,J=!0)})},Te=()=>{const d=w[B].currentLimits.find(oe=>oe.period===v),c=Et();if(c&&c.reviewPending&&c.reviewPending.id)return window.postMessage({type:"WidgetNotification",data:{type:"error",message:a("limitInDocReview")}},window.location.href);if(ae(),i(15,M=!0),c&&c.reviewRequired&&!se&&j>c.amount){i(26,Le=!0),i(19,ee=!0);return}const g=d?"v2":"v1",L=new URL(`/${g}/player/${m}/limits/monetary/${d?d.id:""}`,u),z=d?"PUT":"POST",O=d?se?{amount:j,skipCoolOff:!1,payload:{DocumentId:se}}:{amount:j,skipCoolOff:!1}:{amount:j,currency:l,period:R[_].periods[0]==="None"?null:v,type:R[_].callValue16,products:[N!=null?N:"All"],walletTypes:["Deposit","NetDeposit"].includes(R[_].callValue16)?["All"]:["RealCash"]};let Y={method:z,headers:{"X-SessionID":p,"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify(O)};fetch(L.href,Y).then(oe=>Q(oe)).then(oe=>{K("self_limitation_success"),te()}).catch(oe=>{console.log(oe)}).finally(()=>{i(26,Le=!1),se=""})},kt=()=>{if(!(j>0))return;ae(),i(15,M=!0);const s=new URL(`/v1/player/${m}/limits/session/`,u);let g={method:"PUT",headers:{"X-SessionID":p,"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify({sessionLimit:j,sessionLimitUnit:"minute"})};fetch(s.href,g).then(L=>Q(L)).then(L=>{K("self_limitation_success"),te()}).catch(L=>{console.log(L),i(16,J=!0)})},bt=()=>{if(!(j>0))return;ae(),i(15,M=!0);const s=new URL(`/v1/player/${m}/limits/session/`,u);let g={method:"PUT",headers:{"X-SessionID":p,"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify({cumulativeSessionLimits:[{period:v,minutes:j}]})};fetch(s.href,g).then(L=>Q(L)).then(L=>{K("self_limitation_success"),te()}).catch(L=>{console.log(L),i(16,J=!0)})},wt=()=>{if(!(j>0))return;ae(),i(15,M=!0);const s=new URL(`/v2/player/${m}/limit/lugas`,u);let g={method:"POST",headers:{"X-SessionID":p,"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify({amount:j,roleLimitAmount:0,softMigration:!1,keepLimit:!1})};fetch(s.href,g).then(L=>Q(L)).then(L=>{i(22,fe=L.popup),L.operatorDepositLimitAmount,Ce=L.regulatorDepositLimitAmount,K("self_limitation_success"),te()}).catch(L=>{console.log(L),i(16,J=!0)})},_t=()=>{if(q={},f==="gm16")switch(_){case"lugas":wt();break;case"sessionLimit":kt();break;case"cumulativeSession":bt();break;default:Te();break}else if(f==="gmcore")vt();else throw Error(`Invalid apiversion attribute: ${f}`);K("self_limitation_request")},te=()=>{switch(f){case"gmcore":St();break;case"gm16":At();break}},St=()=>{i(15,M=!0);let s=new URL(`/v2/player/${m}/limits`,u),d={method:"GET",headers:{"X-SessionID":p,"Content-Type":"application/json",Accept:"application/json"}};fetch(s.href,d).then(c=>Q(c)).then(c=>{Z=c,pe&&ye(),Me(Z),Dt(Z),i(10,j=null)}).catch(c=>{console.error("Error LimitsWidget: ",c),i(16,J=!0)}).finally(()=>{i(15,M=!1)})},At=()=>{i(15,M=!0),Z=[];let s=new URL(`/v1/player/${m}/limits/monetary`,u),d=new URL(`/v1/player/${m}/limits/session`,u),c=!1,g={method:"GET",headers:{"X-SessionID":p,"Content-Type":"application/json",Accept:"application/json"}};fetch(s.href,g).then(L=>Q(L)).then(L=>{Z.push(L),f==="gm16"?Pt(L):f==="gmcore"&&Me([L]),pe&&ye(),i(10,j=null)}).catch(L=>{console.error("Error LimitsWidget: ",L),i(16,J=!0)}).finally(()=>{c&&i(15,M=!1),c=!0}),fetch(d.href,g).then(L=>Q(L)).then(L=>{Z.push(L),f==="gm16"&&(zt(L),Ct(L)),pe&&ye(),i(10,j=null)}).catch(L=>{console.error("Error LimitsWidget: ",L),i(16,J=!0)}).finally(()=>{c&&i(15,M=!1),c=!0})},Me=s=>{w.forEach(d=>{d.currentLimits=[];const c=Array.isArray(s[R[d.value].callValue])?s[R[d.value].callValue]:[s[R[d.value].callValue]];c.length===0||c[0]===void 0||(c.forEach((g,L)=>{var O;const z=s[R[d.value].callValue][L];d.currentLimits.push({}),d.currentLimits[L].limitType=d.value,d.currentLimits[L].amount=C?z.amount:Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(z.amount),d.currentLimits[L].currency=(O=me[z.currency])!=null?O:z.currency,d.currentLimits[L].period=z.period,d.currentLimits[L].updateAmount=Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(z.updateAmount),d.currentLimits[L].isModified=z.isModified,d.currentLimits[L].expiryDate=`${new Date(z.expiryDate).toLocaleDateString("en-de",{hour:"numeric",minute:"numeric"}).replaceAll("/",".")} (GMT)`}),d.currentLimits=he(d.currentLimits))})},Dt=s=>{const d=a("minutes");w.filter(c=>c.value==="sessionLimit"||c.value==="cumulativeSession").forEach(c=>{var g;c.currentLimits=[],(g=s[R[c.value].callValue])==null||g.forEach((L,z)=>{const O=s[R[c.value].callValue][z];c.currentLimits.push({limitType:c.value,amount:Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(O.minutes),currency:d,isModified:O.isModified,period:c.value==="cumulativeSession"?O.period:"None",updateAmount:Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(O.updateMinutes),expiryDate:`${new Date(O.expiryDate).toLocaleDateString("en-de",{hour:"numeric",minute:"numeric"}).replaceAll("/",".")} (GMT)`})}),c.currentLimits=he(c.currentLimits)})},Pt=s=>{s!=null&&s.limits&&w.forEach(d=>{var c;d.currentLimits=[];for(const g of s.limits)if(g.type===d.callValue16&&g.products.includes(d.product)){let L=0,z=g.schedules.length>0?g.schedules.find(O=>O.id):{};g.schedules.length>0&&(L=C?z.updateAmount:Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(z.updateAmount)),d.currentLimits.push({limitType:d.value,amount:C?g.amount:Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(g.amount),currency:(c=me[g.currency])!=null?c:g.currency,isModified:g.schedules.length>0,period:g.period,product:g.products[0],updateAmount:L,isCoolOffCompleted:z?z.isCoolOffCompleted:!1,reviewRequired:g.reviewRequired?g.reviewRequired:!1,reviewPending:g.reviewPending?g.reviewPending:{},scheduleId:z?z.id:null,expiryDate:g.schedules.length>0?`${new Date(g.schedules[0].applyAt).toLocaleDateString("en-de",{hour:"numeric",minute:"numeric"}).replaceAll("/",".")} (GMT)`:"",id:g.id}),d.currentLimits.forEach(O=>{O.acknowledgedLimit=Object.keys(H).some(Y=>O.scheduleId===Y)})}d.currentLimits=he(d.currentLimits)})},zt=s=>{s!=null&&s.sessionLimit&&w.filter(d=>d.value==="sessionLimit").forEach(d=>{d.currentLimits.push({limitType:"sessionLimit",amount:Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(s.sessionLimit.minutes),currency:a("minutes"),isModified:s.sessionLimit.isModified,period:"None",updateAmount:Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(s.sessionLimit.updateMinutes),expiryDate:s.sessionLimit.expiryDate}),d.currentLimits=he(d.currentLimits)})},Ct=s=>{s!=null&&s.cumulativeSessionLimits&&w.filter(d=>d.value==="cumulativeSession").forEach(d=>{for(const c of s.cumulativeSessionLimits)d.currentLimits.push({limitType:"cumulativeSession",amount:Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(c.minutes),currency:a("minutes"),isModified:c.isModified,period:c.period,updateAmount:Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(c.updateMinutes),expiryDate:c.expiryDate});d.currentLimits=he(d.currentLimits)})},he=s=>{const d={Daily:0,Weekly:1,Monthly:2};return s.sort((c,g)=>d[c.period]-d[g.period]),s},Ue=()=>{if(j===null||Number.isNaN(j)){i(23,ge=!0);return}const d=!Number.isInteger(j)?Math.round(j):j;i(10,j=d),i(23,ge=d<ie||d>ne)},xt=s=>{s.preventDefault(),Ue(),ge||_t()},Ne=()=>{i(23,ge=!1),X!=null&&X[_]?(i(11,ie=X[_].min),i(12,ne=X[_].max)):(i(11,ie=1),i(12,ne=9999999))},jt=()=>{if(Z){const s=Z[R[_].callValue].find(g=>g.period===v),d=Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(s.amount);let c=a("popupImmediateUpdate").replace("{selectedLimit}",De(s)).replace("{updatedAmount}",d).replace("{currency}",me[s.currency]||s.currency).replace("{selectedPeriod}",a(`${v}`));i(20,$=s.isModified?`${a("popupPendingUpdate")} ${new Date(s.expiryDate).toLocaleDateString("en-de",{hour:"numeric",minute:"numeric"}).replaceAll("/",".")} (GMT)`:c)}i(19,ee=!0)},Et=()=>{var c;if(!Z)return;const s=((c=Z[0])==null?void 0:c.limits)||Z.limits;let d=null;return Object.keys(q).length>0?d=s.find(g=>g.id===q.id):d=s.find(g=>g.type.toLowerCase()===Se[_].toLowerCase()&&(g.period===v||g.period==="None")&&g.products[0]===N),(d==null?void 0:d.schedules.length)>0&&H[d==null?void 0:d.schedules[0].id]&&(d.amount=d.schedules[0].updateAmount),d},Tt=()=>{var z;const s=((z=Z[0])==null?void 0:z.limits)||Z.limits;let d=null;if(!Z){i(19,ee=!0);return}Object.keys(q).length>0?d=s.find(O=>O.id===q.id):d=s.find(O=>O.type.toLowerCase()===Se[_].toLowerCase()&&(O.period===v||O.period==="None")&&O.products[0]===N),(d==null?void 0:d.schedules.length)>0&&H[d==null?void 0:d.schedules[0].id]&&(d.amount=d.schedules[0].updateAmount);const c=Ve(d)||Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(d.amount),g=d.schedules.length>0?`${new Date(d.schedules[0].applyAt).toLocaleDateString("en-de",{hour:"numeric",minute:"numeric"}).replaceAll("/",".")} (GMT)`:"";let L=a("popupImmediateUpdate").replace("{selectedLimit}",De(d)).replace("{updatedAmount}",c).replace("{selectedPeriod}",a(`${d.period}`));d.schedules.length>0&&H[d.schedules[0].id]?i(20,$=L):i(20,$=d.schedules.length>0?`${a("popupPendingUpdate")} ${g}`:L),i(19,ee=!0)},Mt=()=>{fe==1&&i(21,ce="PopupKyc"),fe==2&&(i(20,$=`${a("popup2_a")}${Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(Ce)} ${l} ${a("popup2_b")}`),i(21,ce="PopupKyc2")),fe==3&&(i(20,$=a("popup3")),i(21,ce="PopupSuccess")),i(19,ee=!0)},Ut=()=>{i(20,$=a("sessionLimitUpdated")),i(19,ee=!0)},Nt=()=>{if(Z){const s=Z[R[_].callValue].find(g=>(g.period===v||v==="None")&&g.products[0]===N),d=Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(s.minutes);let c=a("popupImmediateUpdate").replace("{selectedLimit}",a(`${_}`)).replace("{updatedAmount}",d).replace("{currency}",a("minutes")).replace("{selectedPeriod}",a(`${v}`));i(20,$=s.isModified?`${a("popupPendingUpdate")} ${new Date(s.expiryDate).toLocaleDateString("en-de",{hour:"numeric",minute:"numeric"}).replaceAll("/",".")} (GMT)`:c)}i(19,ee=!0)},It=s=>{var d;return(d=s==null?void 0:s.error)==null?void 0:d.includes("Limit update is not permitted due to LimitUpdateControl")},Bt=s=>{var d;return(d=s==null?void 0:s.error)==null?void 0:d.includes("Limit remove is not permitted due to LimitUpdateControl")},Rt=s=>{var d;return(d=s==null?void 0:s.error)==null?void 0:d.includes("[NotFoundException] Limit does not exist")},Ot=s=>{var d;return(d=s==null?void 0:s.error)==null?void 0:d.includes("[Exception] Schedule does not exist")},Vt=s=>{var d,c;return((d=s.details)==null?void 0:d.includes("Invalid Session"))||((c=s.error)==null?void 0:c.includes("Invalid Session"))},ye=s=>{if(window.postMessage({type:"OpenLimitsPopup"},window.location.href),J){if(i(17,_e=!0),!s){i(19,ee=!0);return}It(s)?i(20,$=a("popupUpdateLimitException")):Bt(s)?i(20,$=a("popupRemoveLimitException")):Rt(s)?i(20,$=a("notFoundException")):Ot(s)?i(20,$=a("scheduleNotFoundException")):Vt(s)?i(20,$=a("sessionExpiredException")):i(20,$=a("genericLimitsPopupError")),i(19,ee=!0);return}switch(f){case"gmcore":_==="sessionLimit"||_==="cumulativeSession"?Nt():jt();break;case"gm16":_==="lugas"?Mt():_==="sessionLimit"||_==="cumulativeSession"?Ut():Tt();break;default:throw new Error(`Invalid apiversion attribute: ${f}`)}},ae=()=>{i(18,pe=!0),window.postMessage({type:"DisableScroll"},window.location.href)},Wt=s=>{i(7,_=s.limitType),i(8,v=s.period),ae(),i(15,M=!0);let d=new URL(`/v2/player/${m}/limits/${Se[s.limitType]}`,u);s.limitType!=="sessionLimit"&&d.searchParams.append("periods",s.period);let c={method:"DELETE",headers:{"X-SessionID":p,"Content-Type":"application/json",Accept:"application/json"}};fetch(d.href,c).then(g=>Q(g)).then(g=>{K("self_limitation_cancel_success",s.amount),te()}).catch(g=>{K("self_limitation_cancel_failed",s.amount),console.log(g),i(16,J=!0)})},Ie=s=>{switch(s.period,be.remove=s,f){case"gmcore":Wt(s);break;case"gm16":q=s,s.limitType==="sessionLimit"||s.limitType==="cumulativeSession"?Ft(s):Be(s);break}K("self_limitation_cancel_request",s.amount)},Ft=s=>{const d=new URL(`/v1/player/${m}/limits/session/session`,u),c=new URL(`/v1/player/${m}/limits/session/cumulativeSession?periods=${s.period}`,u);let g;switch(s.limitType){case"sessionLimit":g=d;break;case"cumulativeSession":g=c;break;default:throw Error(`Unknown limit.limitType: ${s.limitType}`)}ae(),i(15,M=!0);let L={method:"DELETE",headers:{"X-SessionID":p,"Content-Type":"application/json",Accept:"application/json"}};fetch(g.href,L).then(z=>Q(z)).then(z=>{K("self_limitation_cancel_success",s.amount),te()}).catch(z=>{K("self_limitation_cancel_failed",s.amount),console.log(z),i(16,J=!0)})},Be=s=>{if(ae(),i(15,M=!0),s&&s.reviewRequired&&!se){i(26,Le=!0),i(19,ee=!0);return}const d=new URL(`/v1/player/${m}/limits/monetary/${s.id}`,u);let c={method:"DELETE",headers:{"X-SessionID":p,"Content-Type":"application/json",Accept:"application/json"}};se&&d.searchParams.append("documentId",se),fetch(d.href,c).then(g=>Q(g)).then(g=>{K("self_limitation_cancel_success",s.amount),te()}).catch(g=>{K("self_limitation_cancel_failed",s.amount),console.log(g),i(16,J=!0)}).finally(()=>{be.remove={},i(26,Le=!1),se=""})},Re=s=>{const d=new URL(`/v1/player/${m}/limits/schedule/${s.scheduleId}`,u);ae(),i(15,M=!0);let c={method:"DELETE",headers:{"X-SessionID":p,"Content-Type":"application/json",Accept:"application/json"}};fetch(d.href,c).then(g=>Q(g)).then(g=>{q=s,K("self_limitation_cancel_success",s.updateAmount),te()}).catch(g=>{K("self_limitation_cancel_failed",s.updateAmount),console.log(g),i(16,J=!0)})},Oe=s=>{const d=new URL(`v1/player/${m}/limits/schedule/acknowledge/${s.scheduleId}`,u);ae(),i(15,M=!0);let c={method:"PATCH",headers:{"X-SessionID":p,"Content-Type":"application/json",Accept:"application/json"}};fetch(d.href,c).then(g=>Q(g)).then(g=>{q=s,qt(s),K("self_limitation_confirm_success",s.amount),te()}).catch(g=>{K("self_limitation_confirm_failed",s.amount),console.log(g),i(16,J=!0)})},qt=s=>{let d=60;i(27,H[s.scheduleId]={},H),i(27,H[s.scheduleId].timer=`${d} ${le[n].seconds}`,H),i(27,H[s.scheduleId].timerStopped=!1,H);let c=window.setInterval(()=>d===0?(window.clearInterval(c),i(27,H[s.scheduleId].timerStopped=!0,H),i(27,H[s.scheduleId].timer=le[n].reloadLimitsButton,H)):i(27,H[s.scheduleId].timer=`${--d} ${le[n].seconds}`,H),1e3)},De=s=>{let d;return s?d=s.value?a(s.value+s.product):a(s.type.toLowerCase()+s.products[0]):d=a(_),d},Ve=(s,d=!1,c=!1)=>{if(!C)return c?`${s.reviewPending.requestAmount}${s.currency}`:d?`${s.updateAmount}${s.currency}`:`${s.amount}${s.currency}`;let g=C;const L=g.match(/\{(\d+)decimals\}/),z=L?parseInt(L[1],10):2,O=L?new RegExp("\\{\\d+decimals\\}","g"):"{decimals}";let Y;c?Y=s.reviewPending.requestAmount||0:Y=d?s.updateAmount:s.amount,Y=parseInt(Y).toFixed(z);const[oe,ve]=C.includes(".")?[",","."]:[".",","];let[ke,ze]=Y.split(".");return ke=ke.replace(/\B(?=(\d{3})+(?!\d))/g,oe),Y=`${ke}${ve}${ze}`,g=g.replace("{currency}",me[s.currency]||s.currency).replace("{amount}",Y.split(ve)[0]).replace(O,Y.split(ve)[1]),g},Pe=()=>{i(19,ee=i(18,pe=!1)),i(21,ce=""),window.postMessage({type:"CloseLimitsPopup"},window.location.href),window.postMessage({type:"EnableScroll"},window.location.href)},Gt=()=>{window.postMessage({type:"uploadDocuments"},window.location.href),Pe()},Ht=s=>{let d=0;return Object.keys(s).forEach(c=>{d+=s[c].size}),d<=Number(V)},Kt=s=>{let d=!1;return Object.keys(s).forEach(c=>{const g=s[c].name.split(".").pop();return x.includes(g)?d=!0:d=!1}),d},We=s=>!s&&!(s.length>0)?i(25,re=!1):(i(24,ue=s),Ht(ue)?Kt(ue)?i(25,re=!0):(console.error(a("fileExtenssionDeny")),i(25,re=!1)):(console.error(a("fileSizeExceeded")),i(25,re=!1))),Yt=()=>{if(!re)return;i(19,ee=!1);const s=new URL(`/api/v1/mm/content/${m}/url-upload/`,u),d={method:"POST",headers:{"Content-Type":"application/json","X-SessionId":p},body:JSON.stringify({})};fetch(s,d).then(c=>Q(c)).then(c=>{Jt(c)}).catch(c=>{console.error(a("errorUploadDocument"),c),i(24,ue=null),i(25,re=!1)})},Jt=s=>{const d=new FormData;d.append(s.requestId,ue[0]),fetch(s.url,{method:"POST",body:d}).then(c=>Q(c)).then(c=>{window.postMessage({type:"WidgetNotification",data:{type:"success",message:a("uploadSuccess")}},window.location.href),se=c.Files[0].Reference,be.remove.id?Be(be.remove):Te()}).catch(c=>{window.postMessage({type:"WidgetNotification",data:{type:"error",message:a("errorUploadDocument")}},window.location.href),console.error(a("errorUploadDocument"),c)}).finally(()=>{Pe(),i(24,ue=null),i(25,re=!1)})},Zt=()=>{if(!h)return;let s={};h.split(",").forEach(d=>{let c=d.split(":");s[c[0].trim()]=c[1].trim()}),me=we(we({},me),s)},Xt=()=>{pi(n)};e.onMount(()=>()=>{});const Qt=s=>We(s.target.files),$t=()=>te(),ei=s=>Ie(s),ti=s=>Oe(s),ii=s=>Re(s);function ai(){B=e.select_value(this),i(9,B)}const oi=()=>{Ee(),je(),Ne()};function ni(){v=e.select_value(this),i(8,v),i(5,R),i(7,_)}function si(){j=e.to_number(this.value),i(10,j)}function ri(s){e.binding_callbacks[s?"unshift":"push"](()=>{S=s,i(4,S)})}return o.$$set=s=>{"lang"in s&&i(45,n=s.lang),"currency"in s&&i(0,l=s.currency),"limits"in s&&i(46,r=s.limits),"session"in s&&i(47,p=s.session),"userid"in s&&i(48,m=s.userid),"endpoint"in s&&i(49,u=s.endpoint),"apiversion"in s&&i(50,f=s.apiversion),"customcurrencysymbols"in s&&i(51,h=s.customcurrencysymbols),"enablecompliancetext"in s&&i(1,D=s.enablecompliancetext),"deletelimit"in s&&i(2,k=s.deletelimit),"amountsconfig"in s&&i(52,A=s.amountsconfig),"periodsconfig"in s&&i(53,W=s.periodsconfig),"limittabindex"in s&&i(3,F=s.limittabindex),"limitformat"in s&&i(54,C=s.limitformat),"allowedextenssion"in s&&i(55,x=s.allowedextenssion),"filesizeallow"in s&&i(56,V=s.filesizeallow),"clientstyling"in s&&i(57,U=s.clientstyling),"clientstylingurl"in s&&i(58,T=s.clientstylingurl),"mbsource"in s&&i(59,P=s.mbsource),"translationurl"in s&&i(60,E=s.translationurl)},o.$$.update=()=>{o.$$.dirty[1]&1048576&&h&&Zt(),o.$$.dirty[1]&6291456&&W&&A&&ht(),o.$$.dirty[1]&16384&&n&&Xt(),o.$$.dirty[1]&999424&&m&&p&&u&&f&&n&&te(),o.$$.dirty[0]&16|o.$$.dirty[1]&67108864&&U&&S&&e.setClientStyling(S,U),o.$$.dirty[0]&16|o.$$.dirty[1]&134217728&&T&&S&&e.setClientStylingURL(S,T),o.$$.dirty[0]&16|o.$$.dirty[1]&268435456&&P&&S&&e.setStreamStyling(S,`${P}.Style`),o.$$.dirty[1]&536870912&&E&&ft()},[l,D,k,F,S,R,w,_,v,B,j,ie,ne,G,I,M,J,_e,pe,ee,$,ce,fe,ge,ue,re,Le,H,a,b,je,Ee,te,Ue,xt,Ne,Ie,Re,Oe,De,Ve,Pe,Gt,We,Yt,n,r,p,m,u,f,h,A,W,C,x,V,U,T,P,E,Qt,$t,ei,ti,ii,ai,oi,ni,si,ri]}class mt extends e.SvelteComponent{constructor(t){super(),e.init(this,t,qi,Fi,e.safe_not_equal,{lang:45,currency:0,limits:46,session:47,userid:48,endpoint:49,apiversion:50,customcurrencysymbols:51,enablecompliancetext:1,deletelimit:2,amountsconfig:52,periodsconfig:53,limittabindex:3,limitformat:54,allowedextenssion:55,filesizeallow:56,clientstyling:57,clientstylingurl:58,mbsource:59,translationurl:60},mi,[-1,-1,-1,-1,-1])}get lang(){return this.$$.ctx[45]}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[46]}set limits(t){this.$$set({limits:t}),e.flush()}get session(){return this.$$.ctx[47]}set session(t){this.$$set({session:t}),e.flush()}get userid(){return this.$$.ctx[48]}set userid(t){this.$$set({userid:t}),e.flush()}get endpoint(){return this.$$.ctx[49]}set endpoint(t){this.$$set({endpoint:t}),e.flush()}get apiversion(){return this.$$.ctx[50]}set apiversion(t){this.$$set({apiversion:t}),e.flush()}get customcurrencysymbols(){return this.$$.ctx[51]}set customcurrencysymbols(t){this.$$set({customcurrencysymbols:t}),e.flush()}get enablecompliancetext(){return this.$$.ctx[1]}set enablecompliancetext(t){this.$$set({enablecompliancetext:t}),e.flush()}get deletelimit(){return this.$$.ctx[2]}set deletelimit(t){this.$$set({deletelimit:t}),e.flush()}get amountsconfig(){return this.$$.ctx[52]}set amountsconfig(t){this.$$set({amountsconfig:t}),e.flush()}get periodsconfig(){return this.$$.ctx[53]}set periodsconfig(t){this.$$set({periodsconfig:t}),e.flush()}get limittabindex(){return this.$$.ctx[3]}set limittabindex(t){this.$$set({limittabindex:t}),e.flush()}get limitformat(){return this.$$.ctx[54]}set limitformat(t){this.$$set({limitformat:t}),e.flush()}get allowedextenssion(){return this.$$.ctx[55]}set allowedextenssion(t){this.$$set({allowedextenssion:t}),e.flush()}get filesizeallow(){return this.$$.ctx[56]}set filesizeallow(t){this.$$set({filesizeallow:t}),e.flush()}get clientstyling(){return this.$$.ctx[57]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[58]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get mbsource(){return this.$$.ctx[59]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}get translationurl(){return this.$$.ctx[60]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}}e.create_custom_element(mt,{lang:{},currency:{},limits:{},session:{},userid:{},endpoint:{},apiversion:{},customcurrencysymbols:{},enablecompliancetext:{},deletelimit:{},amountsconfig:{},periodsconfig:{},limittabindex:{},limitformat:{},allowedextenssion:{},filesizeallow:{},clientstyling:{},clientstylingurl:{},mbsource:{},translationurl:{}},[],[],!0);exports.default=mt;
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,T){e.insert(U,t,T),e.append(t,i),e.append(i,a),e.append(i,n),e.append(t,l),e.append(t,r),e.append(t,p),e.append(t,m),e.append(t,u),e.append(t,f),e.append(t,h),e.append(t,D),e.append(t,k),e.append(t,A),e.append(t,W),e.append(t,F),e.append(t,C),e.append(t,x),e.append(t,V)},d(U){U&&e.detach(t)}}}function ki(o){let t,i=o[28]("popupSuccess")+"",a;return{c(){t=e.element("p"),a=e.text(i)},m(n,l){e.insert(n,t,l),e.append(t,a)},p(n,l){l[0]&268435456&&i!==(i=n[28]("popupSuccess")+"")&&e.set_data(a,i)},d(n){n&&e.detach(t)}}}function bi(o){let t,i=o[28]("docsRequired")+"",a;return{c(){t=e.element("p"),a=e.text(i)},m(n,l){e.insert(n,t,l),e.append(t,a)},p(n,l){l[0]&268435456&&i!==(i=n[28]("docsRequired")+"")&&e.set_data(a,i)},d(n){n&&e.detach(t)}}}function wi(o){let t,i=o[28]("popupError")+"",a;return{c(){t=e.element("p"),a=e.text(i)},m(n,l){e.insert(n,t,l),e.append(t,a)},p(n,l){l[0]&268435456&&i!==(i=n[28]("popupError")+"")&&e.set_data(a,i)},d(n){n&&e.detach(t)}}}function _i(o){let t,i=o[28]("okButton")+"",a,n,l;return{c(){t=e.element("button"),a=e.text(i),e.attr(t,"class","ConfirmButton")},m(r,p){e.insert(r,t,p),e.append(t,a),n||(l=e.listen(t,"click",o[41]),n=!0)},p(r,p){p[0]&268435456&&i!==(i=r[28]("okButton")+"")&&e.set_data(a,i)},d(r){r&&e.detach(t),n=!1,l()}}}function Si(o){let t,i=o[28]("uploadDocumentsButton")+"",a,n,l=o[28]("closeButton")+"",r,p,m;return{c(){t=e.element("button"),a=e.space(),n=e.element("button"),r=e.text(l),e.attr(t,"class","ConfirmButton"),e.attr(n,"class","CloseButton")},m(u,f){e.insert(u,t,f),t.innerHTML=i,e.insert(u,a,f),e.insert(u,n,f),e.append(n,r),p||(m=[e.listen(t,"click",o[42]),e.listen(n,"click",o[41])],p=!0)},p(u,f){f[0]&268435456&&i!==(i=u[28]("uploadDocumentsButton")+"")&&(t.innerHTML=i),f[0]&268435456&&l!==(l=u[28]("closeButton")+"")&&e.set_data(r,l)},d(u){u&&(e.detach(t),e.detach(a),e.detach(n)),p=!1,e.run_all(m)}}}function Ai(o){let t,i=o[28]("noFileUploaded")+"",a;return{c(){t=e.element("p"),a=e.text(i),e.attr(t,"class","historyItem")},m(n,l){e.insert(n,t,l),e.append(t,a)},p(n,l){l[0]&268435456&&i!==(i=n[28]("noFileUploaded")+"")&&e.set_data(a,i)},d(n){n&&e.detach(t)}}}function Di(o){let t,i=e.ensure_array_like(Array.from(o[24])),a=[];for(let n=0;n<i.length;n+=1)a[n]=Qe(Ze(o,i,n));return{c(){for(let n=0;n<a.length;n+=1)a[n].c();t=e.empty()},m(n,l){for(let r=0;r<a.length;r+=1)a[r]&&a[r].m(n,l);e.insert(n,t,l)},p(n,l){if(l[0]&16777216){i=e.ensure_array_like(Array.from(n[24]));let r;for(r=0;r<i.length;r+=1){const p=Ze(n,i,r);a[r]?a[r].p(p,l):(a[r]=Qe(p),a[r].c(),a[r].m(t.parentNode,t))}for(;r<a.length;r+=1)a[r].d(1);a.length=i.length}},d(n){n&&e.detach(t),e.destroy_each(a,n)}}}function Qe(o){let t,i=o[147].name+"",a;return{c(){t=e.element("p"),a=e.text(i),e.attr(t,"class","historyItem")},m(n,l){e.insert(n,t,l),e.append(t,a)},p(n,l){l[0]&16777216&&i!==(i=n[147].name+"")&&e.set_data(a,i)},d(n){n&&e.detach(t)}}}function $e(o){let t,i=o[28]("filesUploadError")+"",a;return{c(){t=e.element("p"),a=e.text(i),e.attr(t,"class","filesError")},m(n,l){e.insert(n,t,l),e.append(t,a)},p(n,l){l[0]&268435456&&i!==(i=n[28]("filesUploadError")+"")&&e.set_data(a,i)},d(n){n&&e.detach(t)}}}function Pi(o){let t,i,a,n,l,r,p,m,u,f,h=o[14]?`${o[28]("amount")}`:`${o[28](`new${o[8]}Limit`)}`,D,k,A,W,F,C,x=o[28]("setLimit")+"",V,U,T,P,E=e.ensure_array_like(o[6]),S=[];for(let v=0;v<E.length;v+=1)S[v]=nt(Ye(o,E,v));let y=o[1]==="true"&&st(o),b=o[13]&&rt(o),w=o[14]&&dt(o),_=o[23]&&pt(o);return{c(){t=e.element("div"),i=e.element("div"),a=e.element("div");for(let v=0;v<S.length;v+=1)S[v].c();n=e.space(),l=e.element("form"),y&&y.c(),r=e.space(),b&&b.c(),p=e.space(),w&&w.c(),m=e.space(),u=e.element("label"),f=e.element("span"),D=e.text(h),k=e.space(),A=e.element("input"),W=e.space(),_&&_.c(),F=e.space(),C=e.element("button"),V=e.text(x),e.attr(a,"class","LimitsList "+(o[29]?"Desktop":"")),e.attr(f,"class","LimitInputText"),e.attr(A,"type","number"),e.attr(A,"pattern","[0-9]*"),e.attr(u,"class","LimitAmountInputWrapper"),e.attr(C,"class","LimitSubmitButton"),e.attr(C,"type","submit"),C.disabled=o[23],e.attr(l,"class","LimitsInteractionArea "+(o[29]?"Desktop":"")),e.attr(i,"class","LimitsPageContainer"),e.attr(t,"class",U="player-account-gaming-limits-page-2-gm16 "+("LimitTab"+o[3]))},m(v,N){e.insert(v,t,N),e.append(t,i),e.append(i,a);for(let B=0;B<S.length;B+=1)S[B]&&S[B].m(a,null);e.append(i,n),e.append(i,l),y&&y.m(l,null),e.append(l,r),b&&b.m(l,null),e.append(l,p),w&&w.m(l,null),e.append(l,m),e.append(l,u),e.append(u,f),e.append(f,D),e.append(u,k),e.append(u,A),e.set_input_value(A,o[10]),e.append(u,W),_&&_.m(u,null),e.append(l,F),e.append(l,C),e.append(C,V),T||(P=[e.listen(A,"input",o[69]),e.listen(A,"input",o[33]),e.listen(l,"submit",o[34])],T=!0)},p(v,N){if(N[0]&939524164|N[1]&994){E=e.ensure_array_like(v[6]);let B;for(B=0;B<E.length;B+=1){const j=Ye(v,E,B);S[B]?S[B].p(j,N):(S[B]=nt(j),S[B].c(),S[B].m(a,null))}for(;B<S.length;B+=1)S[B].d(1);S.length=E.length}v[1]==="true"?y?y.p(v,N):(y=st(v),y.c(),y.m(l,r)):y&&(y.d(1),y=null),v[13]?b?b.p(v,N):(b=rt(v),b.c(),b.m(l,p)):b&&(b.d(1),b=null),v[14]?w?w.p(v,N):(w=dt(v),w.c(),w.m(l,m)):w&&(w.d(1),w=null),N[0]&268452096&&h!==(h=v[14]?`${v[28]("amount")}`:`${v[28](`new${v[8]}Limit`)}`)&&e.set_data(D,h),N[0]&1024&&e.to_number(A.value)!==v[10]&&e.set_input_value(A,v[10]),v[23]?_?_.p(v,N):(_=pt(v),_.c(),_.m(u,null)):_&&(_.d(1),_=null),N[0]&268435456&&x!==(x=v[28]("setLimit")+"")&&e.set_data(V,x),N[0]&8388608&&(C.disabled=v[23]),N[0]&8&&U!==(U="player-account-gaming-limits-page-2-gm16 "+("LimitTab"+v[3]))&&e.attr(t,"class",U)},d(v){v&&e.detach(t),e.destroy_each(S,v),y&&y.d(),b&&b.d(),w&&w.d(),_&&_.d(),T=!1,e.run_all(P)}}}function zi(o){let t;return{c(){t=e.element("p"),t.textContent="500 Server error"},m(i,a){e.insert(i,t,a)},p:e.noop,d(i){i&&e.detach(t)}}}function Ci(o){let t,i,a,n,l,r,p=e.ensure_array_like(Array(3)),m=[];for(let u=0;u<p.length;u+=1)m[u]=Wi(ci(o,p,u));return{c(){t=e.element("div"),i=e.element("div"),a=e.element("div"),a.innerHTML='<ui-skeleton width="auto" height="20px" structure="text" margin-right="auto"></ui-skeleton>',n=e.space();for(let u=0;u<m.length;u+=1)m[u].c();l=e.space(),r=e.element("div"),r.innerHTML='<div class="skletonHeader"><ui-skeleton width="auto" height="15px" structure="title" margin-right="auto"></ui-skeleton></div> <div class="skeletonPeriod"><ui-skeleton width="auto" height="50px" structure="rectangle" margin-right="auto"></ui-skeleton></div> <div class="skletonHeader"><ui-skeleton width="auto" height="15px" structure="title" margin-right="auto"></ui-skeleton></div> <div class="skeletonInputAmount"><ui-skeleton width="auto" height="50px" structure="rectangle" margin-right="auto"></ui-skeleton></div> <div class="skeletonButton"><ui-skeleton width="auto" height="40px" structure="rectangle" margin-right="auto"></ui-skeleton></div>',e.attr(a,"class","skeletonLimitText"),e.attr(i,"class","skeletonLimitWrapper"),e.attr(r,"class","skeletonInputWrapper"),e.attr(t,"class","skeletonLimitContainer")},m(u,f){e.insert(u,t,f),e.append(t,i),e.append(i,a),e.append(i,n);for(let h=0;h<m.length;h+=1)m[h]&&m[h].m(i,null);e.append(t,l),e.append(t,r)},p:e.noop,d(u){u&&e.detach(t),e.destroy_each(m,u)}}}function xi(o){let t,i,a,n=o[28]("noLimitText")+"",l;return{c(){t=e.element("div"),i=e.element("div"),a=e.element("div"),l=e.text(n),e.attr(a,"class","LimitDetailsTextWrapper"),e.attr(i,"class","LimitDetailsWrapper"),e.attr(t,"class","LimitDetails")},m(r,p){e.insert(r,t,p),e.append(t,i),e.append(i,a),e.append(a,l)},p(r,p){p[0]&268435456&&n!==(n=r[28]("noLimitText")+"")&&e.set_data(l,n)},d(r){r&&e.detach(t)}}}function ji(o){let t,i,a,n=o[28]("lugasPrivacy")+"",l;return{c(){t=e.element("div"),i=e.element("div"),a=e.element("div"),l=e.text(n),e.attr(a,"class","LimitDetailsTextWrapper"),e.attr(i,"class","LimitDetailsWrapper"),e.attr(t,"class","LimitDetails")},m(r,p){e.insert(r,t,p),e.append(t,i),e.append(i,a),e.append(a,l)},p(r,p){p[0]&268435456&&n!==(n=r[28]("lugasPrivacy")+"")&&e.set_data(l,n)},d(r){r&&e.detach(t)}}}function Ei(o){let t,i=e.ensure_array_like(o[139].currentLimits),a=[];for(let n=0;n<i.length;n+=1)a[n]=ot(Je(o,i,n));return{c(){for(let n=0;n<a.length;n+=1)a[n].c();t=e.empty()},m(n,l){for(let r=0;r<a.length;r+=1)a[r]&&a[r].m(n,l);e.insert(n,t,l)},p(n,l){if(l[0]&939524164|l[1]&738){i=e.ensure_array_like(n[139].currentLimits);let r;for(r=0;r<i.length;r+=1){const p=Je(n,i,r);a[r]?a[r].p(p,l):(a[r]=ot(p),a[r].c(),a[r].m(t.parentNode,t))}for(;r<a.length;r+=1)a[r].d(1);a.length=i.length}},d(n){n&&e.detach(t),e.destroy_each(a,n)}}}function Ti(o){let t,i,a,n=o[28]("lugasPrivacy")+"",l;return{c(){t=e.element("div"),i=e.element("div"),a=e.element("div"),l=e.text(n),e.attr(a,"class","LimitDetailsTextWrapper"),e.attr(i,"class","LimitDetailsWrapper"),e.attr(t,"class","LimitDetails")},m(r,p){e.insert(r,t,p),e.append(t,i),e.append(i,a),e.append(a,l)},p(r,p){p[0]&268435456&&n!==(n=r[28]("lugasPrivacy")+"")&&e.set_data(l,n)},d(r){r&&e.detach(t)}}}function Mi(o){let t,i=`${o[40](o[144])}`,a;return{c(){t=e.element("span"),a=e.text(i)},m(n,l){e.insert(n,t,l),e.append(t,a)},p(n,l){l[0]&64&&i!==(i=`${n[40](n[144])}`)&&e.set_data(a,i)},d(n){n&&e.detach(t)}}}function Ui(o){let t,i=`${o[40](o[144],!0)}`,a;return{c(){t=e.element("span"),a=e.text(i)},m(n,l){e.insert(n,t,l),e.append(t,a)},p(n,l){l[0]&64&&i!==(i=`${n[40](n[144],!0)}`)&&e.set_data(a,i)},d(n){n&&e.detach(t)}}}function et(o){let t,i,a=`${o[40](o[144],!1,!0)}`,n,l,r=`${o[144].period!=="None"||o[144].value!=="cumulativeSession"?" ":o[28]("per")} ${o[28](`${o[144].period}`)} ${o[28]("updateAfterDocApproval")}`,p;return{c(){t=e.element("div"),i=e.element("span"),n=e.text(a),l=e.space(),p=e.text(r),e.attr(t,"class","PendingLimit")},m(m,u){e.insert(m,t,u),e.append(t,i),e.append(i,n),e.append(t,l),e.append(t,p)},p(m,u){u[0]&64&&a!==(a=`${m[40](m[144],!1,!0)}`)&&e.set_data(n,a),u[0]&268435520&&r!==(r=`${m[144].period!=="None"||m[144].value!=="cumulativeSession"?" ":m[28]("per")} ${m[28](`${m[144].period}`)} ${m[28]("updateAfterDocApproval")}`)&&e.set_data(p,r)},d(m){m&&e.detach(t)}}}function Ni(o){let t,i,a=`${o[40](o[144],!0)}`,n,l;function r(u,f){return u[144].isCoolOffCompleted?Vi:Oi}let p=r(o),m=p(o);return{c(){t=e.element("div"),i=e.element("span"),n=e.text(a),l=e.space(),m.c(),e.attr(t,"class","PendingLimit")},m(u,f){e.insert(u,t,f),e.append(t,i),e.append(i,n),e.append(t,l),m.m(t,null)},p(u,f){f[0]&64&&a!==(a=`${u[40](u[144],!0)}`)&&e.set_data(n,a),p===(p=r(u))&&m?m.p(u,f):(m.d(1),m=p(u),m&&(m.c(),m.m(t,null)))},d(u){u&&e.detach(t),m.d()}}}function Ii(o){let t,i=`${o[28]("removedLimitText")} ${o[144].expiryDate}`,a;return{c(){t=e.element("div"),a=e.text(i),e.attr(t,"class","PendingLimit")},m(n,l){e.insert(n,t,l),e.append(t,a)},p(n,l){l[0]&268435520&&i!==(i=`${n[28]("removedLimitText")} ${n[144].expiryDate}`)&&e.set_data(a,i)},d(n){n&&e.detach(t)}}}function Bi(o){let t,i=`${o[28]("removeAfterConfirm")}`,a;return{c(){t=e.element("div"),a=e.text(i),e.attr(t,"class","PendingLimit")},m(n,l){e.insert(n,t,l),e.append(t,a)},p(n,l){l[0]&268435456&&i!==(i=`${n[28]("removeAfterConfirm")}`)&&e.set_data(a,i)},d(n){n&&e.detach(t)}}}function Ri(o){let t,i=`${o[28]("acknowledgedLimit")}`,a;return{c(){t=e.element("div"),a=e.text(i),e.attr(t,"class","PendingLimit")},m(n,l){e.insert(n,t,l),e.append(t,a)},p(n,l){l[0]&268435456&&i!==(i=`${n[28]("acknowledgedLimit")}`)&&e.set_data(a,i)},d(n){n&&e.detach(t)}}}function Oi(o){let t=`${o[144].period!=="None"||o[144].value!=="cumulativeSession"?" ":o[28]("per")} ${o[28](`${o[144].period}`)} ${o[28]("updateText")} ${o[144].expiryDate}`,i;return{c(){i=e.text(t)},m(a,n){e.insert(a,i,n)},p(a,n){n[0]&268435520&&t!==(t=`${a[144].period!=="None"||a[144].value!=="cumulativeSession"?" ":a[28]("per")} ${a[28](`${a[144].period}`)} ${a[28]("updateText")} ${a[144].expiryDate}`)&&e.set_data(i,t)},d(a){a&&e.detach(i)}}}function Vi(o){let t=`${o[144].period!=="None"||o[144].value!=="cumulativeSession"?" ":o[28]("per")} ${o[28](`${o[144].period}`)} ${o[28]("updateAfterConfirm")}`,i;return{c(){i=e.text(t)},m(a,n){e.insert(a,i,n)},p(a,n){n[0]&268435520&&t!==(t=`${a[144].period!=="None"||a[144].value!=="cumulativeSession"?" ":a[28]("per")} ${a[28](`${a[144].period}`)} ${a[28]("updateAfterConfirm")}`)&&e.set_data(i,t)},d(a){a&&e.detach(i)}}}function tt(o){let t,i,a=o[27][o[144].scheduleId].timer+"",n,l,r,p;return{c(){t=e.element("div"),i=e.element("button"),n=e.text(a),e.attr(i,"class",l="ReloadLimitButton "+(o[29]?"":"Mobile")+" "+(o[27][o[144].scheduleId].timerStopped?"":"disabled")),e.attr(t,"class","ContainerLimitActions "+(o[29]?"":"Mobile"))},m(m,u){e.insert(m,t,u),e.append(t,i),e.append(i,n),r||(p=e.listen(i,"click",o[62]),r=!0)},p(m,u){u[0]&134217792&&a!==(a=m[27][m[144].scheduleId].timer+"")&&e.set_data(n,a),u[0]&134217792&&l!==(l="ReloadLimitButton "+(m[29]?"":"Mobile")+" "+(m[27][m[144].scheduleId].timerStopped?"":"disabled"))&&e.attr(i,"class",l)},d(m){m&&e.detach(t),r=!1,p()}}}function it(o){let t,i,a=o[28]("removeLimit")+"",n,l,r;function p(){return o[63](o[144])}return{c(){t=e.element("div"),i=e.element("button"),n=e.text(a),e.attr(i,"class","RemoveLimitButton "+(o[29]?"":"Mobile")),e.attr(t,"class","ContainerLimitActions "+(o[29]?"":"Mobile"))},m(m,u){e.insert(m,t,u),e.append(t,i),e.append(i,n),l||(r=e.listen(i,"click",p),l=!0)},p(m,u){o=m,u[0]&268435456&&a!==(a=o[28]("removeLimit")+"")&&e.set_data(n,a)},d(m){m&&e.detach(t),l=!1,r()}}}function at(o){let t,i,a=o[28]("confirmUpdateLimit")+"",n,l,r,p=o[28]("cancelUpdateLimit")+"",m,u,f;function h(){return o[64](o[144])}function D(){return o[65](o[144])}return{c(){t=e.element("div"),i=e.element("button"),n=e.text(a),l=e.space(),r=e.element("button"),m=e.text(p),e.attr(i,"class","ConfirmLimitButton "+(o[29]?"":"Mobile")),e.attr(r,"class","CancelLimitButton "+(o[29]?"":"Mobile")),e.attr(t,"class","ContainerLimitActions "+(o[29]?"":"Mobile"))},m(k,A){e.insert(k,t,A),e.append(t,i),e.append(i,n),e.append(t,l),e.append(t,r),e.append(r,m),u||(f=[e.listen(i,"click",h),e.listen(r,"click",D)],u=!0)},p(k,A){o=k,A[0]&268435456&&a!==(a=o[28]("confirmUpdateLimit")+"")&&e.set_data(n,a),A[0]&268435456&&p!==(p=o[28]("cancelUpdateLimit")+"")&&e.set_data(m,p)},d(k){k&&e.detach(t),u=!1,e.run_all(f)}}}function ot(o){let t,i,a,n,l,r=`${o[144].period!=="None"||o[144].value!=="cumulativeSession"?" ":o[28]("per")} ${o[28](`${o[144].period}`)}`,p,m,u,f,h,D=!o[144].isModified&&o[2].indexOf(o[139].value)>-1&&!o[144].reviewPending.id,k,A;function W(y,b){return y[144].acknowledgedLimit?Ui:Mi}let F=W(o),C=F(o),x=o[144].reviewPending&&o[144].reviewPending.id&&et(o);function V(y,b){if(y[144].acknowledgedLimit)return Ri;if(y[144].isModified&&y[144].updateAmount==0&&y[144].isCoolOffCompleted)return Bi;if(y[144].isModified&&y[144].updateAmount==0&&!y[144].isCoolOffCompleted)return Ii;if(y[144].isModified)return Ni}let U=V(o),T=U&&U(o),P=o[144].acknowledgedLimit&&!o[144].reviewPending.id&&tt(o),E=D&&it(o),S=o[144].isCoolOffCompleted&!o[144].acknowledgedLimit&&!o[144].reviewPending.id&&at(o);return{c(){t=e.element("div"),i=e.element("div"),a=e.element("div"),n=e.element("div"),C.c(),l=e.space(),p=e.text(r),m=e.space(),x&&x.c(),u=e.space(),T&&T.c(),f=e.space(),P&&P.c(),h=e.space(),E&&E.c(),k=e.space(),S&&S.c(),A=e.space(),e.attr(n,"class","CurrentLimit"),e.attr(a,"class","CurrentLimitContainer"),e.attr(i,"class","LimitDetailsTextWrapper"),e.attr(t,"class","LimitDetails")},m(y,b){e.insert(y,t,b),e.append(t,i),e.append(i,a),e.append(a,n),C.m(n,null),e.append(n,l),e.append(n,p),e.append(a,m),x&&x.m(a,null),e.append(a,u),T&&T.m(a,null),e.append(i,f),P&&P.m(i,null),e.append(i,h),E&&E.m(i,null),e.append(i,k),S&&S.m(i,null),e.append(t,A)},p(y,b){F===(F=W(y))&&C?C.p(y,b):(C.d(1),C=F(y),C&&(C.c(),C.m(n,l))),b[0]&268435520&&r!==(r=`${y[144].period!=="None"||y[144].value!=="cumulativeSession"?" ":y[28]("per")} ${y[28](`${y[144].period}`)}`)&&e.set_data(p,r),y[144].reviewPending&&y[144].reviewPending.id?x?x.p(y,b):(x=et(y),x.c(),x.m(a,u)):x&&(x.d(1),x=null),U===(U=V(y))&&T?T.p(y,b):(T&&T.d(1),T=U&&U(y),T&&(T.c(),T.m(a,null))),y[144].acknowledgedLimit&&!y[144].reviewPending.id?P?P.p(y,b):(P=tt(y),P.c(),P.m(i,h)):P&&(P.d(1),P=null),b[0]&68&&(D=!y[144].isModified&&y[2].indexOf(y[139].value)>-1&&!y[144].reviewPending.id),D?E?E.p(y,b):(E=it(y),E.c(),E.m(i,k)):E&&(E.d(1),E=null),y[144].isCoolOffCompleted&!y[144].acknowledgedLimit&&!y[144].reviewPending.id?S?S.p(y,b):(S=at(y),S.c(),S.m(i,null)):S&&(S.d(1),S=null)},d(y){y&&e.detach(t),C.d(),x&&x.d(),T&&T.d(),P&&P.d(),E&&E.d(),S&&S.d()}}}function nt(o){let t,i,a=o[39](o[139])+"",n,l,r;function p(f,h){var D;return f[139].value==="lugas"?Ti:((D=f[139].currentLimits)==null?void 0:D.length)>0?Ei:f[139].value==="lugas"?ji:xi}let m=p(o),u=m(o);return{c(){t=e.element("div"),i=e.element("p"),n=e.text(a),l=e.space(),u.c(),r=e.space(),e.attr(i,"class","LimitTitle"),e.attr(t,"class","LimitWrapper "+(o[29]?"Desktop":""))},m(f,h){e.insert(f,t,h),e.append(t,i),e.append(i,n),e.append(t,l),u.m(t,null),e.append(t,r)},p(f,h){h[0]&64&&a!==(a=f[39](f[139])+"")&&e.set_data(n,a),m===(m=p(f))&&u?u.p(f,h):(u.d(1),u=m(f),u&&(u.c(),u.m(t,r)))},d(f){f&&e.detach(t),u.d()}}}function st(o){let t,i,a=o[28]("complianceText")+"",n;return{c(){t=e.element("div"),i=e.element("p"),n=e.text(a),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[0]&268435456&&a!==(a=l[28]("complianceText")+"")&&e.set_data(n,a)},d(l){l&&e.detach(t)}}}function rt(o){let t,i,a=o[28]("limitType")+"",n,l,r,p,m,u=e.ensure_array_like(o[6]),f=[];for(let h=0;h<u.length;h+=1)f[h]=lt(Ke(o,u,h));return{c(){t=e.element("label"),i=e.element("span"),n=e.text(a),l=e.space(),r=e.element("select");for(let h=0;h<f.length;h+=1)f[h].c();e.attr(i,"class","LimitSelectText"),e.attr(r,"name",""),e.attr(r,"id",""),o[9]===void 0&&e.add_render_callback(()=>o[66].call(r)),e.attr(t,"class","LimitTypeDropdownWrapper")},m(h,D){e.insert(h,t,D),e.append(t,i),e.append(i,n),e.append(t,l),e.append(t,r);for(let k=0;k<f.length;k+=1)f[k]&&f[k].m(r,null);e.select_option(r,o[9],!0),p||(m=[e.listen(r,"change",o[66]),e.listen(r,"change",o[67])],p=!0)},p(h,D){if(D[0]&268435456&&a!==(a=h[28]("limitType")+"")&&e.set_data(n,a),D[0]&64|D[1]&256){u=e.ensure_array_like(h[6]);let k;for(k=0;k<u.length;k+=1){const A=Ke(h,u,k);f[k]?f[k].p(A,D):(f[k]=lt(A),f[k].c(),f[k].m(r,null))}for(;k<f.length;k+=1)f[k].d(1);f.length=u.length}D[0]&512&&e.select_option(r,h[9])},d(h){h&&e.detach(t),e.destroy_each(f,h),p=!1,e.run_all(m)}}}function lt(o){let t,i=o[39](o[139])+"",a;return{c(){t=e.element("option"),a=e.text(i),t.__value=o[141],e.set_input_value(t,t.__value)},m(n,l){e.insert(n,t,l),e.append(t,a)},p(n,l){l[0]&64&&i!==(i=n[39](n[139])+"")&&e.set_data(a,i)},d(n){n&&e.detach(t)}}}function dt(o){let t,i,a=o[28]("period")+"",n,l,r,p,m,u=e.ensure_array_like(o[5][o[7]].periods),f=[];for(let h=0;h<u.length;h+=1)f[h]=ut(He(o,u,h));return{c(){t=e.element("label"),i=e.element("span"),n=e.text(a),l=e.space(),r=e.element("select");for(let h=0;h<f.length;h+=1)f[h].c();e.attr(i,"class","PeriodSelectText"),e.attr(r,"name",""),e.attr(r,"id",""),o[8]===void 0&&e.add_render_callback(()=>o[68].call(r)),e.attr(t,"class","LimitPeriodDropdownWrapper")},m(h,D){e.insert(h,t,D),e.append(t,i),e.append(i,n),e.append(t,l),e.append(t,r);for(let k=0;k<f.length;k+=1)f[k]&&f[k].m(r,null);e.select_option(r,o[8],!0),p||(m=e.listen(r,"change",o[68]),p=!0)},p(h,D){if(D[0]&268435456&&a!==(a=h[28]("period")+"")&&e.set_data(n,a),D[0]&268435616){u=e.ensure_array_like(h[5][h[7]].periods);let k;for(k=0;k<u.length;k+=1){const A=He(h,u,k);f[k]?f[k].p(A,D):(f[k]=ut(A),f[k].c(),f[k].m(r,null))}for(;k<f.length;k+=1)f[k].d(1);f.length=u.length}D[0]&416&&e.select_option(r,h[8])},d(h){h&&e.detach(t),e.destroy_each(f,h),p=!1,m()}}}function ut(o){let t,i=o[28](o[136])+"",a,n;return{c(){t=e.element("option"),a=e.text(i),t.__value=n=o[136],e.set_input_value(t,t.__value),t.selected=!0},m(l,r){e.insert(l,t,r),e.append(t,a)},p(l,r){r[0]&268435616&&i!==(i=l[28](l[136])+"")&&e.set_data(a,i),r[0]&160&&n!==(n=l[136])&&(t.__value=n,e.set_input_value(t,t.__value))},d(l){l&&e.detach(t)}}}function pt(o){let t,i=o[10]===null?`${o[28]("invalidInputMessage")}`:o[10]<o[11]?`${o[28]("invalidInputMessageLimitMin",{values:{minValue:o[11],currency:o[0]}})}`:`${o[28]("invalidInputMessageLimitMax",{values:{maxValue:o[12],currency:o[0]}})}`,a;return{c(){t=e.element("p"),a=e.text(i),e.attr(t,"class","InvalidInput")},m(n,l){e.insert(n,t,l),e.append(t,a)},p(n,l){l[0]&268442625&&i!==(i=n[10]===null?`${n[28]("invalidInputMessage")}`:n[10]<n[11]?`${n[28]("invalidInputMessageLimitMin",{values:{minValue:n[11],currency:n[0]}})}`:`${n[28]("invalidInputMessageLimitMax",{values:{maxValue:n[12],currency:n[0]}})}`)&&e.set_data(a,i)},d(n){n&&e.detach(t)}}}function Wi(o){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,a){e.insert(i,t,a)},p:e.noop,d(i){i&&e.detach(t)}}}function Fi(o){let t,i,a=o[18]&&Xe(o);function n(p,m){if(p[15])return Ci;if(p[16])return zi;if(!p[15])return Pi}let l=n(o),r=l&&l(o);return{c(){t=e.element("div"),a&&a.c(),i=e.space(),r&&r.c()},m(p,m){e.insert(p,t,m),a&&a.m(t,null),e.append(t,i),r&&r.m(t,null),o[70](t)},p(p,m){p[18]?a?a.p(p,m):(a=Xe(p),a.c(),a.m(t,i)):a&&(a.d(1),a=null),l===(l=n(p))&&r?r.p(p,m):(r&&r.d(1),r=l&&l(p),r&&(r.c(),r.m(t,null)))},i:e.noop,o:e.noop,d(p){p&&e.detach(t),a&&a.d(),r&&r.d(),o[70](null)}}}function qi(o,t,i){let a;e.component_subscribe(o,e.$format,s=>i(28,a=s));let{lang:n="en"}=t,{currency:l=""}=t,{limits:r=""}=t,{session:p=""}=t,{userid:m=""}=t,{endpoint:u=""}=t,{apiversion:f=""}=t,{customcurrencysymbols:h=""}=t,{enablecompliancetext:D=""}=t,{deletelimit:k=""}=t,{amountsconfig:A=""}=t,{periodsconfig:W=""}=t,{limittabindex:F=""}=t,{limitformat:C=""}=t,{allowedextenssion:x=".jpg,.jpeg,.png,.pdf,.webp,image/png"}=t,{filesizeallow:V="12934000"}=t,{clientstyling:U=""}=t,{clientstylingurl:T=""}=t,{mbsource:P}=t,{translationurl:E=""}=t,S,y=window.navigator.userAgent,b=!e.isMobile(y),w=[],_="",v="",N="",B=0,j,ie="",ne="",de="",X={},q={},G=!1,I=!1,M=!0,J=!1,_e=!1,pe=!1,ee=!1,$="",ce="",Z=[],fe,Ce,ge=!1,ct={},se="",ue,be={remove:{}},re=!1,Le=!1,me={EUR:"€",RON:" lei",USD:"$"},H={};const Se={wager:"wagering",loss:"loss",deposit:"deposit",netdeposit:"netdeposit",cumulativeSession:"cumulativeSession",sessionLimit:"session"},xe={unableToUpdatePendingRequest:["SYS_1037","SYS_1142","SYS_1140"],internalServerError:["F0004","F0006"]},ft=()=>{fetch(E).then(d=>d.json()).then(d=>{Object.keys(d).forEach(c=>{Ge(c,d[c])})}).catch(d=>{console.log(d)})};Object.keys(le).forEach(s=>{Ge(s,le[s])});const Ae=s=>`dataLayer-${s}`,K=(s,d)=>{typeof gtag=="function"&&gtag({event:s,limit_category:le[n][Ae(N.toLowerCase())]||N,limit_type:le[n][Ae(_.toLowerCase())]||_,limit_period:le[n][Ae(v.toLowerCase())]||v,limit_amount:j||d})},gt=()=>{var g;const s=A.split(",").map(L=>L.split(":")),d=W.split(",").map(L=>L.split(":"));for(let[L,z]of s.entries())if(z[0]!==d[L][0])throw new Error(`Limit config mismatch: "${z[0]}" does not match "${d[L][0]}"`);const c=s.reduce((L,z,O)=>{const Y=z[0].slice(z[0].indexOf("(")+1,z[0].indexOf(")")),oe=z[0].slice(0,z[0].indexOf("(")),ve=z[1],ke=d[O][1].trim().replace("D","Daily").replace("W","Weekly").replace("M","Monthly").replace("N","None").split("-"),ze={value:Y,product:oe,minMax:ve,periods:ke,callValue:R[Y].callValue,callValue16:R[Y].callValue16,title:R[Y].title};return L.push(ze),L},[]);for(let L=0;L<c.length;L++)i(6,w[L].product=c[L].product,w),i(6,w[L].min=parseInt(c[L].minMax.split("-")[0],10),w),i(6,w[L].max=parseInt(c[L].minMax.split("-")[1],10),w),i(5,R[c[L].value].periods=c[L].periods,R);de=(g=w[0])==null?void 0:g.value,w.forEach(L=>{X[L.value]={min:L.min,max:L.max},ct[L.value]=L.product}),X&&(X[de]?(i(11,ie=X[de].min),i(12,ne=X[de].max)):(i(11,ie=1),i(12,ne=9999999)))},Lt=()=>{const s=/\(([^)]+)\)/g;return[...A.matchAll(s)].flat().filter(c=>!c.includes("("))},ht=()=>{Lt().forEach(d=>{R[d]?w.push(we({},R[d])):console.error(`Unknown limit: ${d}`)}),gt(),i(7,_=w[0].value),i(8,v=R[_].periods[0]),N=w[0].product,i(13,G=w.length>1),i(14,I=R[_].periods.length>1)},je=()=>{i(7,_=w[B].value),i(8,v=R[_].periods[0]),i(14,I=R[_].periods.length>1)},Ee=()=>{N=w[B].product},Q=s=>{if(s.status>=300)yt(s);else return i(17,_e=!1),s.status!==204?s.json():s},yt=s=>{i(16,J=!0);let d;throw s.json().then(c=>{for(const g in xe)if(c.error&&xe[g].some(L=>c.error.includes(L))){d=g;break}console.error("errType",d),!d&&ye(c)}).finally(()=>{d&&ye(d),i(16,J=!1),i(15,M=!1)}),new Error("An error occured during the fetch request")},vt=()=>{if(!(j>0))return;ae(),i(15,M=!0);let s=new URL(`/v2/player/${m}/limits`,u),d={};_==="sessionLimit"?d={sessionLimit:j,sessionLimitUnit:"minute"}:_==="cumulativeSession"?d[R[_].callValue]=[{period:v,minutes:j}]:d[R[_].callValue]=[{period:R[_].periods[0]==="None"?null:v,amount:j,currency:l}];let c={method:"PUT",headers:{"X-SessionID":p,"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify(d)};fetch(s.href,c).then(g=>Q(g)).then(g=>{K("self_limitation_success"),te()}).catch(g=>{console.error(g),i(16,J=!0)})},Te=()=>{const d=w[B].currentLimits.find(oe=>oe.period===v),c=Et();if(c&&c.reviewPending&&c.reviewPending.id)return window.postMessage({type:"WidgetNotification",data:{type:"error",message:a("limitInDocReview")}},window.location.href);if(ae(),i(15,M=!0),c&&c.reviewRequired&&!se&&j>c.amount){i(26,Le=!0),i(19,ee=!0);return}const g=d?"v2":"v1",L=new URL(`/${g}/player/${m}/limits/monetary/${d?d.id:""}`,u),z=d?"PUT":"POST",O=d?se?{amount:j,skipCoolOff:!1,payload:{DocumentId:se}}:{amount:j,skipCoolOff:!1}:{amount:j,currency:l,period:R[_].periods[0]==="None"?null:v,type:R[_].callValue16,products:[N!=null?N:"All"],walletTypes:["Deposit","NetDeposit"].includes(R[_].callValue16)?["All"]:["RealCash"]};let Y={method:z,headers:{"X-SessionID":p,"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify(O)};fetch(L.href,Y).then(oe=>Q(oe)).then(oe=>{K("self_limitation_success"),te()}).catch(oe=>{console.log(oe)}).finally(()=>{i(26,Le=!1),se=""})},kt=()=>{if(!(j>0))return;ae(),i(15,M=!0);const s=new URL(`/v1/player/${m}/limits/session/`,u);let g={method:"PUT",headers:{"X-SessionID":p,"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify({sessionLimit:j,sessionLimitUnit:"minute"})};fetch(s.href,g).then(L=>Q(L)).then(L=>{K("self_limitation_success"),te()}).catch(L=>{console.log(L),i(16,J=!0)})},bt=()=>{if(!(j>0))return;ae(),i(15,M=!0);const s=new URL(`/v1/player/${m}/limits/session/`,u);let g={method:"PUT",headers:{"X-SessionID":p,"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify({cumulativeSessionLimits:[{period:v,minutes:j}]})};fetch(s.href,g).then(L=>Q(L)).then(L=>{K("self_limitation_success"),te()}).catch(L=>{console.log(L),i(16,J=!0)})},wt=()=>{if(!(j>0))return;ae(),i(15,M=!0);const s=new URL(`/v2/player/${m}/limit/lugas`,u);let g={method:"POST",headers:{"X-SessionID":p,"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify({amount:j,roleLimitAmount:0,softMigration:!1,keepLimit:!1})};fetch(s.href,g).then(L=>Q(L)).then(L=>{i(22,fe=L.popup),L.operatorDepositLimitAmount,Ce=L.regulatorDepositLimitAmount,K("self_limitation_success"),te()}).catch(L=>{console.log(L),i(16,J=!0)})},_t=()=>{if(q={},f==="gm16")switch(_){case"lugas":wt();break;case"sessionLimit":kt();break;case"cumulativeSession":bt();break;default:Te();break}else if(f==="gmcore")vt();else throw Error(`Invalid apiversion attribute: ${f}`);K("self_limitation_request")},te=()=>{switch(f){case"gmcore":St();break;case"gm16":At();break}},St=()=>{i(15,M=!0);let s=new URL(`/v2/player/${m}/limits`,u),d={method:"GET",headers:{"X-SessionID":p,"Content-Type":"application/json",Accept:"application/json"}};fetch(s.href,d).then(c=>Q(c)).then(c=>{Z=c,pe&&ye(),Me(Z),Dt(Z),i(10,j=null)}).catch(c=>{console.error("Error LimitsWidget: ",c),i(16,J=!0)}).finally(()=>{i(15,M=!1)})},At=()=>{i(15,M=!0),Z=[];let s=new URL(`/v1/player/${m}/limits/monetary`,u),d=new URL(`/v1/player/${m}/limits/session`,u),c=!1,g={method:"GET",headers:{"X-SessionID":p,"Content-Type":"application/json",Accept:"application/json"}};fetch(s.href,g).then(L=>Q(L)).then(L=>{Z.push(L),f==="gm16"?Pt(L):f==="gmcore"&&Me([L]),pe&&ye(),i(10,j=null)}).catch(L=>{console.error("Error LimitsWidget: ",L),i(16,J=!0)}).finally(()=>{c&&i(15,M=!1),c=!0}),fetch(d.href,g).then(L=>Q(L)).then(L=>{Z.push(L),f==="gm16"&&(zt(L),Ct(L)),pe&&ye(),i(10,j=null)}).catch(L=>{console.error("Error LimitsWidget: ",L),i(16,J=!0)}).finally(()=>{c&&i(15,M=!1),c=!0})},Me=s=>{w.forEach(d=>{d.currentLimits=[];const c=Array.isArray(s[R[d.value].callValue])?s[R[d.value].callValue]:[s[R[d.value].callValue]];c.length===0||c[0]===void 0||(c.forEach((g,L)=>{var O;const z=s[R[d.value].callValue][L];d.currentLimits.push({}),d.currentLimits[L].limitType=d.value,d.currentLimits[L].amount=C?z.amount:Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(z.amount),d.currentLimits[L].currency=(O=me[z.currency])!=null?O:z.currency,d.currentLimits[L].period=z.period,d.currentLimits[L].updateAmount=Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(z.updateAmount),d.currentLimits[L].isModified=z.isModified,d.currentLimits[L].expiryDate=`${new Date(z.expiryDate).toLocaleDateString("en-de",{hour:"numeric",minute:"numeric"}).replaceAll("/",".")} (GMT)`}),d.currentLimits=he(d.currentLimits))})},Dt=s=>{const d=a("minutes");w.filter(c=>c.value==="sessionLimit"||c.value==="cumulativeSession").forEach(c=>{var g;c.currentLimits=[],(g=s[R[c.value].callValue])==null||g.forEach((L,z)=>{const O=s[R[c.value].callValue][z];c.currentLimits.push({limitType:c.value,amount:Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(O.minutes),currency:d,isModified:O.isModified,period:c.value==="cumulativeSession"?O.period:"None",updateAmount:Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(O.updateMinutes),expiryDate:`${new Date(O.expiryDate).toLocaleDateString("en-de",{hour:"numeric",minute:"numeric"}).replaceAll("/",".")} (GMT)`})}),c.currentLimits=he(c.currentLimits)})},Pt=s=>{s!=null&&s.limits&&w.forEach(d=>{var c;d.currentLimits=[];for(const g of s.limits)if(g.type===d.callValue16&&g.products.includes(d.product)){let L=0,z=g.schedules.length>0?g.schedules.find(O=>O.id):{};g.schedules.length>0&&(L=C?z.updateAmount:Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(z.updateAmount)),d.currentLimits.push({limitType:d.value,amount:C?g.amount:Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(g.amount),currency:(c=me[g.currency])!=null?c:g.currency,isModified:g.schedules.length>0,period:g.period,product:g.products[0],updateAmount:L,isCoolOffCompleted:z?z.isCoolOffCompleted:!1,reviewRequired:g.reviewRequired?g.reviewRequired:!1,reviewPending:g.reviewPending?g.reviewPending:{},scheduleId:z?z.id:null,expiryDate:g.schedules.length>0?`${new Date(g.schedules[0].applyAt).toLocaleDateString("en-de",{hour:"numeric",minute:"numeric"}).replaceAll("/",".")} (GMT)`:"",id:g.id}),d.currentLimits.forEach(O=>{O.acknowledgedLimit=Object.keys(H).some(Y=>O.scheduleId===Y)})}d.currentLimits=he(d.currentLimits)})},zt=s=>{s!=null&&s.sessionLimit&&w.filter(d=>d.value==="sessionLimit").forEach(d=>{d.currentLimits.push({limitType:"sessionLimit",amount:Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(s.sessionLimit.minutes),currency:a("minutes"),isModified:s.sessionLimit.isModified,period:"None",updateAmount:Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(s.sessionLimit.updateMinutes),expiryDate:s.sessionLimit.expiryDate}),d.currentLimits=he(d.currentLimits)})},Ct=s=>{s!=null&&s.cumulativeSessionLimits&&w.filter(d=>d.value==="cumulativeSession").forEach(d=>{for(const c of s.cumulativeSessionLimits)d.currentLimits.push({limitType:"cumulativeSession",amount:Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(c.minutes),currency:a("minutes"),isModified:c.isModified,period:c.period,updateAmount:Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(c.updateMinutes),expiryDate:c.expiryDate});d.currentLimits=he(d.currentLimits)})},he=s=>{const d={Daily:0,Weekly:1,Monthly:2};return s.sort((c,g)=>d[c.period]-d[g.period]),s},Ue=()=>{if(j===null||Number.isNaN(j)){i(23,ge=!0);return}const d=!Number.isInteger(j)?Math.round(j):j;i(10,j=d),i(23,ge=d<ie||d>ne)},xt=s=>{s.preventDefault(),Ue(),ge||_t()},Ne=()=>{i(23,ge=!1),X!=null&&X[_]?(i(11,ie=X[_].min),i(12,ne=X[_].max)):(i(11,ie=1),i(12,ne=9999999))},jt=()=>{if(Z){const s=Z[R[_].callValue].find(g=>g.period===v),d=Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(s.amount);let c=a("popupImmediateUpdate").replace("{selectedLimit}",De(s)).replace("{updatedAmount}",d).replace("{currency}",me[s.currency]||s.currency).replace("{selectedPeriod}",a(`${v}`));i(20,$=s.isModified?`${a("popupPendingUpdate")} ${new Date(s.expiryDate).toLocaleDateString("en-de",{hour:"numeric",minute:"numeric"}).replaceAll("/",".")} (GMT)`:c)}i(19,ee=!0)},Et=()=>{var c;if(!Z)return;const s=((c=Z[0])==null?void 0:c.limits)||Z.limits;let d=null;return Object.keys(q).length>0?d=s.find(g=>g.id===q.id):d=s.find(g=>g.type.toLowerCase()===Se[_].toLowerCase()&&(g.period===v||g.period==="None")&&g.products[0]===N),(d==null?void 0:d.schedules.length)>0&&H[d==null?void 0:d.schedules[0].id]&&(d.amount=d.schedules[0].updateAmount),d},Tt=()=>{var z;const s=((z=Z[0])==null?void 0:z.limits)||Z.limits;let d=null;if(!Z){i(19,ee=!0);return}Object.keys(q).length>0?d=s.find(O=>O.id===q.id):d=s.find(O=>O.type.toLowerCase()===Se[_].toLowerCase()&&(O.period===v||O.period==="None")&&O.products[0]===N),(d==null?void 0:d.schedules.length)>0&&H[d==null?void 0:d.schedules[0].id]&&(d.amount=d.schedules[0].updateAmount);const c=Ve(d)||Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(d.amount),g=d.schedules.length>0?`${new Date(d.schedules[0].applyAt).toLocaleDateString("en-de",{hour:"numeric",minute:"numeric"}).replaceAll("/",".")} (GMT)`:"";let L=a("popupImmediateUpdate").replace("{selectedLimit}",De(d)).replace("{updatedAmount}",c).replace("{selectedPeriod}",a(`${d.period}`));d.schedules.length>0&&H[d.schedules[0].id]?i(20,$=L):i(20,$=d.schedules.length>0?`${a("popupPendingUpdate")} ${g}`:L),i(19,ee=!0)},Mt=()=>{fe==1&&i(21,ce="PopupKyc"),fe==2&&(i(20,$=`${a("popup2_a")}${Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(Ce)} ${l} ${a("popup2_b")}`),i(21,ce="PopupKyc2")),fe==3&&(i(20,$=a("popup3")),i(21,ce="PopupSuccess")),i(19,ee=!0)},Ut=()=>{i(20,$=a("sessionLimitUpdated")),i(19,ee=!0)},Nt=()=>{if(Z){const s=Z[R[_].callValue].find(g=>(g.period===v||v==="None")&&g.products[0]===N),d=Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(s.minutes);let c=a("popupImmediateUpdate").replace("{selectedLimit}",a(`${_}`)).replace("{updatedAmount}",d).replace("{currency}",a("minutes")).replace("{selectedPeriod}",a(`${v}`));i(20,$=s.isModified?`${a("popupPendingUpdate")} ${new Date(s.expiryDate).toLocaleDateString("en-de",{hour:"numeric",minute:"numeric"}).replaceAll("/",".")} (GMT)`:c)}i(19,ee=!0)},It=s=>{var d;return(d=s==null?void 0:s.error)==null?void 0:d.includes("Limit update is not permitted due to LimitUpdateControl")},Bt=s=>{var d;return(d=s==null?void 0:s.error)==null?void 0:d.includes("Limit remove is not permitted due to LimitUpdateControl")},Rt=s=>{var d;return(d=s==null?void 0:s.error)==null?void 0:d.includes("[NotFoundException] Limit does not exist")},Ot=s=>{var d;return(d=s==null?void 0:s.error)==null?void 0:d.includes("[Exception] Schedule does not exist")},Vt=s=>{var d,c;return((d=s.details)==null?void 0:d.includes("Invalid Session"))||((c=s.error)==null?void 0:c.includes("Invalid Session"))},ye=s=>{if(window.postMessage({type:"OpenLimitsPopup"},window.location.href),J){if(i(17,_e=!0),!s){i(19,ee=!0);return}It(s)?i(20,$=a("popupUpdateLimitException")):Bt(s)?i(20,$=a("popupRemoveLimitException")):Rt(s)?i(20,$=a("notFoundException")):Ot(s)?i(20,$=a("scheduleNotFoundException")):Vt(s)?i(20,$=a("sessionExpiredException")):i(20,$=a("genericLimitsPopupError")),i(19,ee=!0);return}switch(f){case"gmcore":_==="sessionLimit"||_==="cumulativeSession"?Nt():jt();break;case"gm16":_==="lugas"?Mt():_==="sessionLimit"||_==="cumulativeSession"?Ut():Tt();break;default:throw new Error(`Invalid apiversion attribute: ${f}`)}},ae=()=>{i(18,pe=!0),window.postMessage({type:"DisableScroll"},window.location.href)},Wt=s=>{i(7,_=s.limitType),i(8,v=s.period),ae(),i(15,M=!0);let d=new URL(`/v2/player/${m}/limits/${Se[s.limitType]}`,u);s.limitType!=="sessionLimit"&&d.searchParams.append("periods",s.period);let c={method:"DELETE",headers:{"X-SessionID":p,"Content-Type":"application/json",Accept:"application/json"}};fetch(d.href,c).then(g=>Q(g)).then(g=>{K("self_limitation_cancel_success",s.amount),te()}).catch(g=>{K("self_limitation_cancel_failed",s.amount),console.log(g),i(16,J=!0)})},Ie=s=>{switch(s.period,be.remove=s,f){case"gmcore":Wt(s);break;case"gm16":q=s,s.limitType==="sessionLimit"||s.limitType==="cumulativeSession"?Ft(s):Be(s);break}K("self_limitation_cancel_request",s.amount)},Ft=s=>{const d=new URL(`/v1/player/${m}/limits/session/session`,u),c=new URL(`/v1/player/${m}/limits/session/cumulativeSession?periods=${s.period}`,u);let g;switch(s.limitType){case"sessionLimit":g=d;break;case"cumulativeSession":g=c;break;default:throw Error(`Unknown limit.limitType: ${s.limitType}`)}ae(),i(15,M=!0);let L={method:"DELETE",headers:{"X-SessionID":p,"Content-Type":"application/json",Accept:"application/json"}};fetch(g.href,L).then(z=>Q(z)).then(z=>{K("self_limitation_cancel_success",s.amount),te()}).catch(z=>{K("self_limitation_cancel_failed",s.amount),console.log(z),i(16,J=!0)})},Be=s=>{if(ae(),i(15,M=!0),s&&s.reviewRequired&&!se){i(26,Le=!0),i(19,ee=!0);return}const d=new URL(`/v1/player/${m}/limits/monetary/${s.id}`,u);let c={method:"DELETE",headers:{"X-SessionID":p,"Content-Type":"application/json",Accept:"application/json"}};se&&d.searchParams.append("documentId",se),fetch(d.href,c).then(g=>Q(g)).then(g=>{K("self_limitation_cancel_success",s.amount),te()}).catch(g=>{K("self_limitation_cancel_failed",s.amount),console.log(g),i(16,J=!0)}).finally(()=>{be.remove={},i(26,Le=!1),se=""})},Re=s=>{const d=new URL(`/v1/player/${m}/limits/schedule/${s.scheduleId}`,u);ae(),i(15,M=!0);let c={method:"DELETE",headers:{"X-SessionID":p,"Content-Type":"application/json",Accept:"application/json"}};fetch(d.href,c).then(g=>Q(g)).then(g=>{q=s,K("self_limitation_cancel_success",s.updateAmount),te()}).catch(g=>{K("self_limitation_cancel_failed",s.updateAmount),console.log(g),i(16,J=!0)})},Oe=s=>{const d=new URL(`v1/player/${m}/limits/schedule/acknowledge/${s.scheduleId}`,u);ae(),i(15,M=!0);let c={method:"PATCH",headers:{"X-SessionID":p,"Content-Type":"application/json",Accept:"application/json"}};fetch(d.href,c).then(g=>Q(g)).then(g=>{q=s,qt(s),K("self_limitation_confirm_success",s.amount),te()}).catch(g=>{K("self_limitation_confirm_failed",s.amount),console.log(g),i(16,J=!0)})},qt=s=>{let d=60;i(27,H[s.scheduleId]={},H),i(27,H[s.scheduleId].timer=`${d} ${le[n].seconds}`,H),i(27,H[s.scheduleId].timerStopped=!1,H);let c=window.setInterval(()=>d===0?(window.clearInterval(c),i(27,H[s.scheduleId].timerStopped=!0,H),i(27,H[s.scheduleId].timer=le[n].reloadLimitsButton,H)):i(27,H[s.scheduleId].timer=`${--d} ${le[n].seconds}`,H),1e3)},De=s=>{let d;return s?d=s.value?a(s.value+s.product):a(s.type.toLowerCase()+s.products[0]):d=a(_),d},Ve=(s,d=!1,c=!1)=>{if(!C)return c?`${s.reviewPending.requestAmount}${s.currency}`:d?`${s.updateAmount}${s.currency}`:`${s.amount}${s.currency}`;let g=C;const L=g.match(/\{(\d+)decimals\}/),z=L?parseInt(L[1],10):2,O=L?new RegExp("\\{\\d+decimals\\}","g"):"{decimals}";let Y;c?Y=s.reviewPending.requestAmount||0:Y=d?s.updateAmount:s.amount,Y=parseInt(Y).toFixed(z);const[oe,ve]=C.includes(".")?[",","."]:[".",","];let[ke,ze]=Y.split(".");return ke=ke.replace(/\B(?=(\d{3})+(?!\d))/g,oe),Y=`${ke}${ve}${ze}`,g=g.replace("{currency}",me[s.currency]||s.currency).replace("{amount}",Y.split(ve)[0]).replace(O,Y.split(ve)[1]),g},Pe=()=>{i(19,ee=i(18,pe=!1)),i(21,ce=""),window.postMessage({type:"CloseLimitsPopup"},window.location.href),window.postMessage({type:"EnableScroll"},window.location.href)},Gt=()=>{window.postMessage({type:"uploadDocuments"},window.location.href),Pe()},Ht=s=>{let d=0;return Object.keys(s).forEach(c=>{d+=s[c].size}),d<=Number(V)},Kt=s=>{let d=!1;return Object.keys(s).forEach(c=>{const g=s[c].name.split(".").pop();return x.includes(g)?d=!0:d=!1}),d},We=s=>!s&&!(s.length>0)?i(25,re=!1):(i(24,ue=s),Ht(ue)?Kt(ue)?i(25,re=!0):(console.error(a("fileExtenssionDeny")),i(25,re=!1)):(console.error(a("fileSizeExceeded")),i(25,re=!1))),Yt=()=>{if(!re)return;i(19,ee=!1);const s=new URL(`/api/v1/mm/content/${m}/url-upload/`,u),d={method:"POST",headers:{"Content-Type":"application/json","X-SessionId":p},body:JSON.stringify({})};fetch(s,d).then(c=>Q(c)).then(c=>{Jt(c)}).catch(c=>{console.error(a("errorUploadDocument"),c),i(24,ue=null),i(25,re=!1)})},Jt=s=>{const d=new FormData;d.append(s.requestId,ue[0]),fetch(s.url,{method:"POST",body:d}).then(c=>Q(c)).then(c=>{window.postMessage({type:"WidgetNotification",data:{type:"success",message:a("uploadSuccess")}},window.location.href),se=c.Files[0].Reference,be.remove.id?Be(be.remove):Te()}).catch(c=>{window.postMessage({type:"WidgetNotification",data:{type:"error",message:a("errorUploadDocument")}},window.location.href),console.error(a("errorUploadDocument"),c)}).finally(()=>{Pe(),i(24,ue=null),i(25,re=!1)})},Zt=()=>{if(!h)return;let s={};h.split(",").forEach(d=>{let c=d.split(":");s[c[0].trim()]=c[1].trim()}),me=we(we({},me),s)},Xt=()=>{pi(n)};e.onMount(()=>()=>{});const Qt=s=>We(s.target.files),$t=()=>te(),ei=s=>Ie(s),ti=s=>Oe(s),ii=s=>Re(s);function ai(){B=e.select_value(this),i(9,B)}const oi=()=>{Ee(),je(),Ne()};function ni(){v=e.select_value(this),i(8,v),i(5,R),i(7,_)}function si(){j=e.to_number(this.value),i(10,j)}function ri(s){e.binding_callbacks[s?"unshift":"push"](()=>{S=s,i(4,S)})}return o.$$set=s=>{"lang"in s&&i(45,n=s.lang),"currency"in s&&i(0,l=s.currency),"limits"in s&&i(46,r=s.limits),"session"in s&&i(47,p=s.session),"userid"in s&&i(48,m=s.userid),"endpoint"in s&&i(49,u=s.endpoint),"apiversion"in s&&i(50,f=s.apiversion),"customcurrencysymbols"in s&&i(51,h=s.customcurrencysymbols),"enablecompliancetext"in s&&i(1,D=s.enablecompliancetext),"deletelimit"in s&&i(2,k=s.deletelimit),"amountsconfig"in s&&i(52,A=s.amountsconfig),"periodsconfig"in s&&i(53,W=s.periodsconfig),"limittabindex"in s&&i(3,F=s.limittabindex),"limitformat"in s&&i(54,C=s.limitformat),"allowedextenssion"in s&&i(55,x=s.allowedextenssion),"filesizeallow"in s&&i(56,V=s.filesizeallow),"clientstyling"in s&&i(57,U=s.clientstyling),"clientstylingurl"in s&&i(58,T=s.clientstylingurl),"mbsource"in s&&i(59,P=s.mbsource),"translationurl"in s&&i(60,E=s.translationurl)},o.$$.update=()=>{o.$$.dirty[1]&1048576&&h&&Zt(),o.$$.dirty[1]&6291456&&W&&A&&ht(),o.$$.dirty[1]&16384&&n&&Xt(),o.$$.dirty[1]&999424&&m&&p&&u&&f&&n&&te(),o.$$.dirty[0]&16|o.$$.dirty[1]&67108864&&U&&S&&e.setClientStyling(S,U),o.$$.dirty[0]&16|o.$$.dirty[1]&134217728&&T&&S&&e.setClientStylingURL(S,T),o.$$.dirty[0]&16|o.$$.dirty[1]&268435456&&P&&S&&e.setStreamStyling(S,`${P}.Style`),o.$$.dirty[1]&536870912&&E&&ft()},[l,D,k,F,S,R,w,_,v,B,j,ie,ne,G,I,M,J,_e,pe,ee,$,ce,fe,ge,ue,re,Le,H,a,b,je,Ee,te,Ue,xt,Ne,Ie,Re,Oe,De,Ve,Pe,Gt,We,Yt,n,r,p,m,u,f,h,A,W,C,x,V,U,T,P,E,Qt,$t,ei,ti,ii,ai,oi,ni,si,ri]}class mt extends e.SvelteComponent{constructor(t){super(),e.init(this,t,qi,Fi,e.safe_not_equal,{lang:45,currency:0,limits:46,session:47,userid:48,endpoint:49,apiversion:50,customcurrencysymbols:51,enablecompliancetext:1,deletelimit:2,amountsconfig:52,periodsconfig:53,limittabindex:3,limitformat:54,allowedextenssion:55,filesizeallow:56,clientstyling:57,clientstylingurl:58,mbsource:59,translationurl:60},mi,[-1,-1,-1,-1,-1])}get lang(){return this.$$.ctx[45]}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[46]}set limits(t){this.$$set({limits:t}),e.flush()}get session(){return this.$$.ctx[47]}set session(t){this.$$set({session:t}),e.flush()}get userid(){return this.$$.ctx[48]}set userid(t){this.$$set({userid:t}),e.flush()}get endpoint(){return this.$$.ctx[49]}set endpoint(t){this.$$set({endpoint:t}),e.flush()}get apiversion(){return this.$$.ctx[50]}set apiversion(t){this.$$set({apiversion:t}),e.flush()}get customcurrencysymbols(){return this.$$.ctx[51]}set customcurrencysymbols(t){this.$$set({customcurrencysymbols:t}),e.flush()}get enablecompliancetext(){return this.$$.ctx[1]}set enablecompliancetext(t){this.$$set({enablecompliancetext:t}),e.flush()}get deletelimit(){return this.$$.ctx[2]}set deletelimit(t){this.$$set({deletelimit:t}),e.flush()}get amountsconfig(){return this.$$.ctx[52]}set amountsconfig(t){this.$$set({amountsconfig:t}),e.flush()}get periodsconfig(){return this.$$.ctx[53]}set periodsconfig(t){this.$$set({periodsconfig:t}),e.flush()}get limittabindex(){return this.$$.ctx[3]}set limittabindex(t){this.$$set({limittabindex:t}),e.flush()}get limitformat(){return this.$$.ctx[54]}set limitformat(t){this.$$set({limitformat:t}),e.flush()}get allowedextenssion(){return this.$$.ctx[55]}set allowedextenssion(t){this.$$set({allowedextenssion:t}),e.flush()}get filesizeallow(){return this.$$.ctx[56]}set filesizeallow(t){this.$$set({filesizeallow:t}),e.flush()}get clientstyling(){return this.$$.ctx[57]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[58]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get mbsource(){return this.$$.ctx[59]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}get translationurl(){return this.$$.ctx[60]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}}e.create_custom_element(mt,{lang:{},currency:{},limits:{},session:{},userid:{},endpoint:{},apiversion:{},customcurrencysymbols:{},enablecompliancetext:{},deletelimit:{},amountsconfig:{},periodsconfig:{},limittabindex:{},limitformat:{},allowedextenssion:{},filesizeallow:{},clientstyling:{},clientstylingurl:{},mbsource:{},translationurl:{}},[],[],!0);exports.default=mt;
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./GeneralLogout-TofSUXEw.cjs");function I(i,t){e.addMessages(i,t)}function M(i){e.$locale.set(i)}const T={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:",defaultText:"When you set a game limit, it takes effect from the moment you activate it and lasts until the end of the selected period. Therefore, if you set a daily limit at 14.00, the 24-hour period that counts is from its activation until 00:00 GMT. The limit is then valid for 24 days. you can lower a limit at any time with immediate effect. however, increasing or removing a limit will not apply until the current limit expires."},de:{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:",defaultText:"When you set a game limit, it takes effect from the moment you activate it and lasts until the end of the selected period. Therefore, if you set a daily limit at 14.00, the 24-hour period that counts is from its activation until 00:00 GMT. The limit is then valid for 24 days. you can lower a limit at any time with immediate effect. however, increasing or removing a limit will not apply until the current limit expires."},"zh-hk":{name:"信息",amountChanged:"您的限額已更改或增加:{amount} {currency}。 您必須等待到期日期才能使新限制生效:",defaultText:"當您設置遊戲限制時,它從您激活它的那一刻起生效,並持續到所選時間段結束。 因此,如果您將每日限制設置為 14.00,則計算的 24 小時周期是從其激活到格林威治標準時間 00:00。 然後限制每 24 小時有效。 您可以隨時降低限制並立即生效。 但是,提高或取消限制將僅在當前限製到期時適用。"},fr:{name:"Info",amountChanged:"Votre limit a été modifiée ou augmentée: {amount} {currency}. Vous devez attendre la date d'expiration pour que votre nouvelle limite prenne effet:",defaultText:"Lorsque vous définissez une limite de jeu, elle prend effet à partir du moment ou vous l'activez et dure jusqu'à la fin de la période séléctionnée. Par conséquent, si vous fixez une limite quotidienne à 14.00, la période de 24 heures qui compte est celle allant de son activation jusqu'à 00:00 GMT.la limite est alors valable 24 jours. vous pouvez abaisser une limite à tout moment avec un effet immédiat. cependant, l'augmentation ou la suppression d'une limite ne s'appliquera que lorsque la limite actuelle expira."},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.",defaultText:"Când stabilești o limită de joc, efectele se produc începând din momentul în care o activezi și durează până la finalul perioadei selectate. Așadar, dacă stabilești o limită zilnică la 14:00, perioada de 24 de ore este de la activare până la 00:00 GMT. Ulterior, limita va fi valabilă la fiecare 24 de ore. Poți micșora limita oricând, cu efect imediat. Totuși, majorarea sau eliminarea unei limite va fi aplicată în momentul în care limita curentă expiră."},es:{name:"Info",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:",defaultText:"Cuando establece un límite de juego, entra en vigencia desde el momento en que lo activa y dura hasta el final del período seleccionado. Por tanto, si estableces un límite diario a las 14:00, el periodo de 24 horas que cuenta es desde su activación hasta las 00:00 GMT. Entonces el límite es válido cada 24 horas. Puede reducir un límite en cualquier momento con efecto inmediato. Sin embargo, el aumento o la eliminación de un límite solo se aplicará cuando expire el límite actual."},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:",defaultText:"Quando você define um limite de jogo, ele entra em vigor a partir do momento em que você o ativa e dura até o final do período selecionado. Portanto, se você definir um limite diário às 14h00, o período de 24 horas que conta é desde sua ativação até às 00h00 GMT. Então o limite é válido a cada 24 horas. Você pode diminuir um limite a qualquer momento com efeito imediato. No entanto, aumentar ou remover um limite será aplicado somente quando o limite atual expirar."},hr:{name:"Informacije",amountChanged:"Vaše ograničenje je promijenjeno ili povećano: {amount} {currency}. Morat ćete pričekati datum isteka kako bi vaše novo ograničenje stupilo na snagu:",defaultText:"Kada postavite ograničenje igre"},"pt-br":{name:"Informação",amountChanged:"Seu limite foi alterado ou aumentado: {amount} {currency}. Você terá que ultrapassar a data de expiração para que o novo limite entre em vigor:",defaultText:'Quando um limite é definido,Entra em vigor a partir do momento em que é ativado e dura até o final do período selecionado. Portanto,Se você definir o limite diário às 14h00.,"O período de 24 horas é desde o momento da ativação até. O limite será então válido por 24 dias, você pode reduzir o limite a qualquer momento com efeito imediato, no entanto",aumentar ou remover um limite não será aplicado até que o limite atual expire'},"es-mx":{name:"Información",amountChanged:"Su límite ha sido cambiado o aumentado: {amount} {currency}. Tendrá que espirar a la fecha de expiración para que el nuevo límite entre en efecto:",defaultText:'Cuando se fija un límite,entra en efecto desde el momento que se activa y dura hasta el final del periodo seleccionado. Por lo tanto,Si fija el límite diario a las 14.00,"el periodo de 24-horas es desde el momento de la activación hasta. El límite entonces sera válido por 24 días, ustede puede reducir el límite en cualquier momento con efecto inmediato, sin embargo", aumentar o remover un límite no aplicará hasta el límite actual expire'},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:",defaultText:"Oyun limiti belirlediğinizde, aktif hale getirdiğiniz andan itibaren geçerli olur ve seçilen sürenin sonuna kadar sürer. Bu nedenle, eğer günlük limiti saat 14.00 olarak ayarlarsanız, 24 saatlik süre, etkinleştirildiği andan saat 00:00 GMT'ye kadardır. Limit daha sonra 24 gün boyunca geçerlidir. Dilediğiniz zaman anında etkili olacak şekilde bir limiti düşürebilirsiniz. ancak mevcut limitin süresi dolana kadar limitin arttırılması veya kaldırılması geçerli olmayacaktır."},"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:",defaultText:"When you set a game limit, it takes effect from the moment you activate it and lasts until the end of the selected period. Therefore, if you set a daily limit at 14.00, the 24-hour period that counts is from its activation until 00:00 GMT. The limit is then valid for 24 days. you can lower a limit at any time with immediate effect. however, increasing or removing a limit will not apply until the current limit expires."}};function z(i){e.append_styles(i,"svelte-11p58yq",'.InfoCardPopupMobileModal:after{position:fixed;top:0;left:0;right:0;bottom:0;background:rgba(0, 0, 0, 0.5);z-index:101;content:""}.InfoCardPopupLimitChanged{background:var(--emw--color-gray-50, #F9F8F8)}.InfoCardPopupWrapper{width:200px;padding:20px;color:var(--emw--color-black, #000000);background:var(--emw--color-white, #FFFFFF);box-shadow:0 4px 12px var(--emw--color-gray-100, #E6E6E6);border-radius:5px;display:block;position:absolute;top:32px;left:-84px;z-index:9}.InfoCardPopupWrapper:before{content:"";position:absolute;top:-7px;left:104px;border-style:solid;border-width:0 7px 7px;border-color:var(--emw--color-white, #FFFFFF) transparent;display:block;width:0;z-index:1}.InfoCardPopupWrapper.InfoCardPopupMobileWrapper{width:70%;position:fixed;top:50%;left:50%;transform:translate(-50%, -50%);z-index:300}.InfoCardPopupWrapper.InfoCardPopupMobileWrapper .InfoCardPopupTitle{font-size:18px}.InfoCardPopupWrapper.InfoCardPopupMobileWrapper .InfoCardPopupCloseButton{width:30px}.InfoCardPopupWrapper.InfoCardPopupMobileWrapper .InfoCardPopupContent{font-size:16px}.InfoCardPopupWrapper.InfoCardPopupMobileWrapper:before{content:none}.InfoCardPopupHeader{display:inline-flex}.InfoCardPopupHeader .InfoCardPopupTitle{line-height:24px;font-size:16px;font-weight:400;padding-left:10px}.InfoCardPopupIcon{display:flex;font-size:24px;width:24px;height:24px;background:transparent;border:1px solid var(--emw--color-black, #000000);align-items:center;justify-content:center;border-radius:30px}.InfoCardPopupContent{font-size:14px;font-weight:300}.InfoCardPopupCloseButton{width:20px;position:absolute;right:10px;top:10px;cursor:pointer;transition-duration:0.3s}.InfoCardPopupCloseButton:hover{color:var(--emw--color-secondary, var(--emw--color-secondary, #FD2839));fill:var(--emw--color-secondary, var(--emw--color-secondary, #FD2839))}.ModalCloseBtn{position:absolute;display:flex;align-items:center;justify-content:center;top:32px;right:32px;padding:16px;border-radius:50%;color:var(--emw--color-white, #FFFFFF);cursor:pointer;transition:all 150ms ease-in-out}.ModalCloseBtn svg{width:32px;height:32px;fill:var(--emw--color-black, #000000)}')}function _(i){let t,a,o,n,l,m,g=i[4]("name")+"",f,y,c,v,b,p,s,x;function k(u,h){return u[0]?F:j}let C=k(i),d=C(i);return{c(){t=e.element("section"),a=e.element("div"),o=e.element("div"),n=e.element("div"),n.textContent="i",l=e.space(),m=e.element("div"),f=e.text(g),y=e.space(),c=e.element("div"),c.innerHTML='<svg class="w-6 h-6" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M6 18L18 6M6 6l12 12"></path></svg>',v=e.space(),b=e.element("div"),d.c(),e.attr(n,"class","InfoCardPopupIcon"),e.attr(m,"class","InfoCardPopupTitle"),e.attr(c,"class","InfoCardPopupCloseButton"),e.attr(o,"class","InfoCardPopupHeader"),e.attr(b,"class","InfoCardPopupContentArea"),e.attr(a,"class",p="InfoCardPopupWrapper "+(i[5]?"InfoCardPopupMobileWrapper":"")+" "+(i[0]?"InfoCardPopupLimitChanged":"")),e.attr(t,"class",i[5]?"InfoCardPopupMobileModal":"")},m(u,h){e.insert(u,t,h),e.append(t,a),e.append(a,o),e.append(o,n),e.append(o,l),e.append(o,m),e.append(m,f),e.append(o,y),e.append(o,c),e.append(a,v),e.append(a,b),d.m(b,null),i[13](t),s||(x=e.listen(c,"click",e.prevent_default(i[6])),s=!0)},p(u,h){h&16&&g!==(g=u[4]("name")+"")&&e.set_data(f,g),C===(C=k(u))&&d?d.p(u,h):(d.d(1),d=C(u),d&&(d.c(),d.m(b,null))),h&1&&p!==(p="InfoCardPopupWrapper "+(u[5]?"InfoCardPopupMobileWrapper":"")+" "+(u[0]?"InfoCardPopupLimitChanged":""))&&e.attr(a,"class",p)},d(u){u&&e.detach(t),d.d(),i[13](null),s=!1,x()}}}function j(i){let t,a=i[4]("defaultText")+"",o;return{c(){t=e.element("p"),o=e.text(a),e.attr(t,"class","InfoCardPopupContent")},m(n,l){e.insert(n,t,l),e.append(t,o)},p(n,l){l&16&&a!==(a=n[4]("defaultText")+"")&&e.set_data(o,a)},d(n){n&&e.detach(t)}}}function F(i){let t,a=i[4]("amountChanged",{values:{amount:i[0],currency:i[1]}})+"",o;return{c(){t=e.element("p"),o=e.text(a),e.attr(t,"class","InfoCardPopupContent")},m(n,l){e.insert(n,t,l),e.append(t,o)},p(n,l){l&19&&a!==(a=n[4]("amountChanged",{values:{amount:n[0],currency:n[1]}})+"")&&e.set_data(o,a)},d(n){n&&e.detach(t)}}}function L(i){let t,a=i[3]&&_(i);return{c(){a&&a.c(),t=e.empty()},m(o,n){a&&a.m(o,n),e.insert(o,t,n)},p(o,[n]){o[3]?a?a.p(o,n):(a=_(o),a.c(),a.m(t.parentNode,t)):a&&(a.d(1),a=null)},i:e.noop,o:e.noop,d(o){o&&e.detach(t),a&&a.d(o)}}}function W(i,t,a){let o;e.component_subscribe(i,e.$format,r=>a(4,o=r));let{showpopup:n=""}=t,{iteminfoamount:l=""}=t,{lang:m="en"}=t,{currency:g="USD"}=t,{clientstyling:f=""}=t,{clientstylingurl:y=""}=t,{translationurl:c=""}=t,{mbsource:v}=t;const b=()=>{fetch(c).then(w=>w.json()).then(w=>{Object.keys(w).forEach(P=>{I(P,w[P])})}).catch(w=>{console.log(w)})};Object.keys(T).forEach(r=>{I(r,T[r])});let p=!1,s,x=window.navigator.userAgent,k=e.getDevice(x)!=="PC";const C=()=>{a(3,p=!1),window.postMessage({type:"ClosePlayerAccountGamingLimitsPopup"},window.location.href)},d=r=>{r.data&&r.data.type=="ClosePlayerAccountGamingLimitsPopup"&&a(3,p=!1)},u=()=>{M(m),l<0&&a(0,l="0"),a(3,p=n)};e.onMount(()=>(window.addEventListener("message",d,!1),()=>{window.removeEventListener("message",d)}));function h(r){e.binding_callbacks[r?"unshift":"push"](()=>{s=r,a(2,s)})}return i.$$set=r=>{"showpopup"in r&&a(7,n=r.showpopup),"iteminfoamount"in r&&a(0,l=r.iteminfoamount),"lang"in r&&a(8,m=r.lang),"currency"in r&&a(1,g=r.currency),"clientstyling"in r&&a(9,f=r.clientstyling),"clientstylingurl"in r&&a(10,y=r.clientstylingurl),"translationurl"in r&&a(11,c=r.translationurl),"mbsource"in r&&a(12,v=r.mbsource)},i.$$.update=()=>{i.$$.dirty&384&&n&&m&&u(),i.$$.dirty&516&&f&&s&&e.setClientStyling(s,f),i.$$.dirty&1028&&y&&s&&e.setClientStylingURL(s,y),i.$$.dirty&4100&&v&&s&&e.setStreamStyling(s,`${v}.Style`),i.$$.dirty&2048&&c&&b()},[l,g,s,p,o,k,C,n,m,f,y,c,v,h]}class q extends e.SvelteComponent{constructor(t){super(),e.init(this,t,W,L,e.safe_not_equal,{showpopup:7,iteminfoamount:0,lang:8,currency:1,clientstyling:9,clientstylingurl:10,translationurl:11,mbsource:12},z)}get showpopup(){return this.$$.ctx[7]}set showpopup(t){this.$$set({showpopup:t}),e.flush()}get iteminfoamount(){return this.$$.ctx[0]}set iteminfoamount(t){this.$$set({iteminfoamount:t}),e.flush()}get lang(){return this.$$.ctx[8]}set lang(t){this.$$set({lang:t}),e.flush()}get currency(){return this.$$.ctx[1]}set currency(t){this.$$set({currency:t}),e.flush()}get clientstyling(){return this.$$.ctx[9]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[10]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get translationurl(){return this.$$.ctx[11]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}get mbsource(){return this.$$.ctx[12]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}}e.create_custom_element(q,{showpopup:{},iteminfoamount:{},lang:{},currency:{},clientstyling:{},clientstylingurl:{},translationurl:{},mbsource:{}},[],[],!0);exports.default=q;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./GeneralLogout-CuvnoUn1.cjs");function I(i,t){e.addMessages(i,t)}function M(i){e.$locale.set(i)}const T={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:",defaultText:"When you set a game limit, it takes effect from the moment you activate it and lasts until the end of the selected period. Therefore, if you set a daily limit at 14.00, the 24-hour period that counts is from its activation until 00:00 GMT. The limit is then valid for 24 days. you can lower a limit at any time with immediate effect. however, increasing or removing a limit will not apply until the current limit expires."},de:{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:",defaultText:"When you set a game limit, it takes effect from the moment you activate it and lasts until the end of the selected period. Therefore, if you set a daily limit at 14.00, the 24-hour period that counts is from its activation until 00:00 GMT. The limit is then valid for 24 days. you can lower a limit at any time with immediate effect. however, increasing or removing a limit will not apply until the current limit expires."},"zh-hk":{name:"信息",amountChanged:"您的限額已更改或增加:{amount} {currency}。 您必須等待到期日期才能使新限制生效:",defaultText:"當您設置遊戲限制時,它從您激活它的那一刻起生效,並持續到所選時間段結束。 因此,如果您將每日限制設置為 14.00,則計算的 24 小時周期是從其激活到格林威治標準時間 00:00。 然後限制每 24 小時有效。 您可以隨時降低限制並立即生效。 但是,提高或取消限制將僅在當前限製到期時適用。"},fr:{name:"Info",amountChanged:"Votre limit a été modifiée ou augmentée: {amount} {currency}. Vous devez attendre la date d'expiration pour que votre nouvelle limite prenne effet:",defaultText:"Lorsque vous définissez une limite de jeu, elle prend effet à partir du moment ou vous l'activez et dure jusqu'à la fin de la période séléctionnée. Par conséquent, si vous fixez une limite quotidienne à 14.00, la période de 24 heures qui compte est celle allant de son activation jusqu'à 00:00 GMT.la limite est alors valable 24 jours. vous pouvez abaisser une limite à tout moment avec un effet immédiat. cependant, l'augmentation ou la suppression d'une limite ne s'appliquera que lorsque la limite actuelle expira."},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.",defaultText:"Când stabilești o limită de joc, efectele se produc începând din momentul în care o activezi și durează până la finalul perioadei selectate. Așadar, dacă stabilești o limită zilnică la 14:00, perioada de 24 de ore este de la activare până la 00:00 GMT. Ulterior, limita va fi valabilă la fiecare 24 de ore. Poți micșora limita oricând, cu efect imediat. Totuși, majorarea sau eliminarea unei limite va fi aplicată în momentul în care limita curentă expiră."},es:{name:"Info",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:",defaultText:"Cuando establece un límite de juego, entra en vigencia desde el momento en que lo activa y dura hasta el final del período seleccionado. Por tanto, si estableces un límite diario a las 14:00, el periodo de 24 horas que cuenta es desde su activación hasta las 00:00 GMT. Entonces el límite es válido cada 24 horas. Puede reducir un límite en cualquier momento con efecto inmediato. Sin embargo, el aumento o la eliminación de un límite solo se aplicará cuando expire el límite actual."},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:",defaultText:"Quando você define um limite de jogo, ele entra em vigor a partir do momento em que você o ativa e dura até o final do período selecionado. Portanto, se você definir um limite diário às 14h00, o período de 24 horas que conta é desde sua ativação até às 00h00 GMT. Então o limite é válido a cada 24 horas. Você pode diminuir um limite a qualquer momento com efeito imediato. No entanto, aumentar ou remover um limite será aplicado somente quando o limite atual expirar."},hr:{name:"Informacije",amountChanged:"Vaše ograničenje je promijenjeno ili povećano: {amount} {currency}. Morat ćete pričekati datum isteka kako bi vaše novo ograničenje stupilo na snagu:",defaultText:"Kada postavite ograničenje igre"},"pt-br":{name:"Informação",amountChanged:"Seu limite foi alterado ou aumentado: {amount} {currency}. Você terá que ultrapassar a data de expiração para que o novo limite entre em vigor:",defaultText:'Quando um limite é definido,Entra em vigor a partir do momento em que é ativado e dura até o final do período selecionado. Portanto,Se você definir o limite diário às 14h00.,"O período de 24 horas é desde o momento da ativação até. O limite será então válido por 24 dias, você pode reduzir o limite a qualquer momento com efeito imediato, no entanto",aumentar ou remover um limite não será aplicado até que o limite atual expire'},"es-mx":{name:"Información",amountChanged:"Su límite ha sido cambiado o aumentado: {amount} {currency}. Tendrá que espirar a la fecha de expiración para que el nuevo límite entre en efecto:",defaultText:'Cuando se fija un límite,entra en efecto desde el momento que se activa y dura hasta el final del periodo seleccionado. Por lo tanto,Si fija el límite diario a las 14.00,"el periodo de 24-horas es desde el momento de la activación hasta. El límite entonces sera válido por 24 días, ustede puede reducir el límite en cualquier momento con efecto inmediato, sin embargo", aumentar o remover un límite no aplicará hasta el límite actual expire'},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:",defaultText:"Oyun limiti belirlediğinizde, aktif hale getirdiğiniz andan itibaren geçerli olur ve seçilen sürenin sonuna kadar sürer. Bu nedenle, eğer günlük limiti saat 14.00 olarak ayarlarsanız, 24 saatlik süre, etkinleştirildiği andan saat 00:00 GMT'ye kadardır. Limit daha sonra 24 gün boyunca geçerlidir. Dilediğiniz zaman anında etkili olacak şekilde bir limiti düşürebilirsiniz. ancak mevcut limitin süresi dolana kadar limitin arttırılması veya kaldırılması geçerli olmayacaktır."},"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:",defaultText:"When you set a game limit, it takes effect from the moment you activate it and lasts until the end of the selected period. Therefore, if you set a daily limit at 14.00, the 24-hour period that counts is from its activation until 00:00 GMT. The limit is then valid for 24 days. you can lower a limit at any time with immediate effect. however, increasing or removing a limit will not apply until the current limit expires."}};function z(i){e.append_styles(i,"svelte-11p58yq",'.InfoCardPopupMobileModal:after{position:fixed;top:0;left:0;right:0;bottom:0;background:rgba(0, 0, 0, 0.5);z-index:101;content:""}.InfoCardPopupLimitChanged{background:var(--emw--color-gray-50, #F9F8F8)}.InfoCardPopupWrapper{width:200px;padding:20px;color:var(--emw--color-black, #000000);background:var(--emw--color-white, #FFFFFF);box-shadow:0 4px 12px var(--emw--color-gray-100, #E6E6E6);border-radius:5px;display:block;position:absolute;top:32px;left:-84px;z-index:9}.InfoCardPopupWrapper:before{content:"";position:absolute;top:-7px;left:104px;border-style:solid;border-width:0 7px 7px;border-color:var(--emw--color-white, #FFFFFF) transparent;display:block;width:0;z-index:1}.InfoCardPopupWrapper.InfoCardPopupMobileWrapper{width:70%;position:fixed;top:50%;left:50%;transform:translate(-50%, -50%);z-index:300}.InfoCardPopupWrapper.InfoCardPopupMobileWrapper .InfoCardPopupTitle{font-size:18px}.InfoCardPopupWrapper.InfoCardPopupMobileWrapper .InfoCardPopupCloseButton{width:30px}.InfoCardPopupWrapper.InfoCardPopupMobileWrapper .InfoCardPopupContent{font-size:16px}.InfoCardPopupWrapper.InfoCardPopupMobileWrapper:before{content:none}.InfoCardPopupHeader{display:inline-flex}.InfoCardPopupHeader .InfoCardPopupTitle{line-height:24px;font-size:16px;font-weight:400;padding-left:10px}.InfoCardPopupIcon{display:flex;font-size:24px;width:24px;height:24px;background:transparent;border:1px solid var(--emw--color-black, #000000);align-items:center;justify-content:center;border-radius:30px}.InfoCardPopupContent{font-size:14px;font-weight:300}.InfoCardPopupCloseButton{width:20px;position:absolute;right:10px;top:10px;cursor:pointer;transition-duration:0.3s}.InfoCardPopupCloseButton:hover{color:var(--emw--color-secondary, var(--emw--color-secondary, #FD2839));fill:var(--emw--color-secondary, var(--emw--color-secondary, #FD2839))}.ModalCloseBtn{position:absolute;display:flex;align-items:center;justify-content:center;top:32px;right:32px;padding:16px;border-radius:50%;color:var(--emw--color-white, #FFFFFF);cursor:pointer;transition:all 150ms ease-in-out}.ModalCloseBtn svg{width:32px;height:32px;fill:var(--emw--color-black, #000000)}')}function _(i){let t,a,o,n,l,m,g=i[4]("name")+"",f,y,c,v,b,p,s,x;function k(u,h){return u[0]?F:j}let C=k(i),d=C(i);return{c(){t=e.element("section"),a=e.element("div"),o=e.element("div"),n=e.element("div"),n.textContent="i",l=e.space(),m=e.element("div"),f=e.text(g),y=e.space(),c=e.element("div"),c.innerHTML='<svg class="w-6 h-6" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M6 18L18 6M6 6l12 12"></path></svg>',v=e.space(),b=e.element("div"),d.c(),e.attr(n,"class","InfoCardPopupIcon"),e.attr(m,"class","InfoCardPopupTitle"),e.attr(c,"class","InfoCardPopupCloseButton"),e.attr(o,"class","InfoCardPopupHeader"),e.attr(b,"class","InfoCardPopupContentArea"),e.attr(a,"class",p="InfoCardPopupWrapper "+(i[5]?"InfoCardPopupMobileWrapper":"")+" "+(i[0]?"InfoCardPopupLimitChanged":"")),e.attr(t,"class",i[5]?"InfoCardPopupMobileModal":"")},m(u,h){e.insert(u,t,h),e.append(t,a),e.append(a,o),e.append(o,n),e.append(o,l),e.append(o,m),e.append(m,f),e.append(o,y),e.append(o,c),e.append(a,v),e.append(a,b),d.m(b,null),i[13](t),s||(x=e.listen(c,"click",e.prevent_default(i[6])),s=!0)},p(u,h){h&16&&g!==(g=u[4]("name")+"")&&e.set_data(f,g),C===(C=k(u))&&d?d.p(u,h):(d.d(1),d=C(u),d&&(d.c(),d.m(b,null))),h&1&&p!==(p="InfoCardPopupWrapper "+(u[5]?"InfoCardPopupMobileWrapper":"")+" "+(u[0]?"InfoCardPopupLimitChanged":""))&&e.attr(a,"class",p)},d(u){u&&e.detach(t),d.d(),i[13](null),s=!1,x()}}}function j(i){let t,a=i[4]("defaultText")+"",o;return{c(){t=e.element("p"),o=e.text(a),e.attr(t,"class","InfoCardPopupContent")},m(n,l){e.insert(n,t,l),e.append(t,o)},p(n,l){l&16&&a!==(a=n[4]("defaultText")+"")&&e.set_data(o,a)},d(n){n&&e.detach(t)}}}function F(i){let t,a=i[4]("amountChanged",{values:{amount:i[0],currency:i[1]}})+"",o;return{c(){t=e.element("p"),o=e.text(a),e.attr(t,"class","InfoCardPopupContent")},m(n,l){e.insert(n,t,l),e.append(t,o)},p(n,l){l&19&&a!==(a=n[4]("amountChanged",{values:{amount:n[0],currency:n[1]}})+"")&&e.set_data(o,a)},d(n){n&&e.detach(t)}}}function L(i){let t,a=i[3]&&_(i);return{c(){a&&a.c(),t=e.empty()},m(o,n){a&&a.m(o,n),e.insert(o,t,n)},p(o,[n]){o[3]?a?a.p(o,n):(a=_(o),a.c(),a.m(t.parentNode,t)):a&&(a.d(1),a=null)},i:e.noop,o:e.noop,d(o){o&&e.detach(t),a&&a.d(o)}}}function W(i,t,a){let o;e.component_subscribe(i,e.$format,r=>a(4,o=r));let{showpopup:n=""}=t,{iteminfoamount:l=""}=t,{lang:m="en"}=t,{currency:g="USD"}=t,{clientstyling:f=""}=t,{clientstylingurl:y=""}=t,{translationurl:c=""}=t,{mbsource:v}=t;const b=()=>{fetch(c).then(w=>w.json()).then(w=>{Object.keys(w).forEach(P=>{I(P,w[P])})}).catch(w=>{console.log(w)})};Object.keys(T).forEach(r=>{I(r,T[r])});let p=!1,s,x=window.navigator.userAgent,k=e.getDevice(x)!=="PC";const C=()=>{a(3,p=!1),window.postMessage({type:"ClosePlayerAccountGamingLimitsPopup"},window.location.href)},d=r=>{r.data&&r.data.type=="ClosePlayerAccountGamingLimitsPopup"&&a(3,p=!1)},u=()=>{M(m),l<0&&a(0,l="0"),a(3,p=n)};e.onMount(()=>(window.addEventListener("message",d,!1),()=>{window.removeEventListener("message",d)}));function h(r){e.binding_callbacks[r?"unshift":"push"](()=>{s=r,a(2,s)})}return i.$$set=r=>{"showpopup"in r&&a(7,n=r.showpopup),"iteminfoamount"in r&&a(0,l=r.iteminfoamount),"lang"in r&&a(8,m=r.lang),"currency"in r&&a(1,g=r.currency),"clientstyling"in r&&a(9,f=r.clientstyling),"clientstylingurl"in r&&a(10,y=r.clientstylingurl),"translationurl"in r&&a(11,c=r.translationurl),"mbsource"in r&&a(12,v=r.mbsource)},i.$$.update=()=>{i.$$.dirty&384&&n&&m&&u(),i.$$.dirty&516&&f&&s&&e.setClientStyling(s,f),i.$$.dirty&1028&&y&&s&&e.setClientStylingURL(s,y),i.$$.dirty&4100&&v&&s&&e.setStreamStyling(s,`${v}.Style`),i.$$.dirty&2048&&c&&b()},[l,g,s,p,o,k,C,n,m,f,y,c,v,h]}class q extends e.SvelteComponent{constructor(t){super(),e.init(this,t,W,L,e.safe_not_equal,{showpopup:7,iteminfoamount:0,lang:8,currency:1,clientstyling:9,clientstylingurl:10,translationurl:11,mbsource:12},z)}get showpopup(){return this.$$.ctx[7]}set showpopup(t){this.$$set({showpopup:t}),e.flush()}get iteminfoamount(){return this.$$.ctx[0]}set iteminfoamount(t){this.$$set({iteminfoamount:t}),e.flush()}get lang(){return this.$$.ctx[8]}set lang(t){this.$$set({lang:t}),e.flush()}get currency(){return this.$$.ctx[1]}set currency(t){this.$$set({currency:t}),e.flush()}get clientstyling(){return this.$$.ctx[9]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[10]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get translationurl(){return this.$$.ctx[11]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}get mbsource(){return this.$$.ctx[12]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}}e.create_custom_element(q,{showpopup:{},iteminfoamount:{},lang:{},currency:{},clientstyling:{},clientstylingurl:{},translationurl:{},mbsource:{}},[],[],!0);exports.default=q;