@everymatrix/player-account-controller-nd 1.65.2 → 1.65.3

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 (167) hide show
  1. package/components/{GeneralLogout-D_LZ6noj.js → GeneralLogout-BqarYaGX.js} +1439 -1474
  2. package/components/{GeneralLogout-PryurO1h.js → GeneralLogout-DpRb1GKt.js} +1458 -1493
  3. package/components/GeneralLogout-DweBl3EQ.cjs +21 -0
  4. package/components/{PlayerAccountBettingHistory-BzAXq1xX.js → PlayerAccountBettingHistory-CZ-2Eo65.js} +27 -27
  5. package/components/{PlayerAccountBettingHistory-CwTEYOIN.js → PlayerAccountBettingHistory-DRNj2_nh.js} +27 -27
  6. package/components/{PlayerAccountBettingHistory-BtDZukYI.cjs → PlayerAccountBettingHistory-DgHU9Jz9.cjs} +1 -1
  7. package/components/{PlayerAccountBiometrics-CtLvJg_Q.js → PlayerAccountBiometrics-CS2Ou41a.js} +22 -22
  8. package/components/{PlayerAccountBiometrics-DIkqSnzX.js → PlayerAccountBiometrics-Cp02JZ-p.js} +22 -22
  9. package/components/{PlayerAccountBiometrics-CEEVheLt.cjs → PlayerAccountBiometrics-DXk7ouzk.cjs} +1 -1
  10. package/components/{PlayerAccountClosureNd-DQAZanjf.js → PlayerAccountClosureNd-BDf6ZV_O.js} +50 -50
  11. package/components/{PlayerAccountClosureNd-Cn1XZe_j.cjs → PlayerAccountClosureNd-CEw0GMdr.cjs} +1 -1
  12. package/components/{PlayerAccountClosureNd-DrVdnKee.js → PlayerAccountClosureNd-DTSPR235.js} +50 -50
  13. package/components/{PlayerAccountControllerNd-B8I4D9NO.js → PlayerAccountControllerNd-BQ45aICW.js} +2107 -2096
  14. package/components/PlayerAccountControllerNd-C-wAC_7B.cjs +1 -0
  15. package/components/{PlayerAccountControllerNd-CJhPNgm8.js → PlayerAccountControllerNd-NrSVC8ZA.js} +2099 -2088
  16. package/components/{PlayerAccountGamingLimits-DZBzKFyv.cjs → PlayerAccountGamingLimits-C5-wP3x8.cjs} +1 -1
  17. package/components/{PlayerAccountGamingLimits-BwempsG_.js → PlayerAccountGamingLimits-DYeE-UoB.js} +19 -19
  18. package/components/{PlayerAccountGamingLimits-C5fcaaR5.js → PlayerAccountGamingLimits-Dj1vdgsP.js} +19 -19
  19. package/components/{PlayerAccountGamingLimitsConfirmationModal-BzaZH1VM.js → PlayerAccountGamingLimitsConfirmationModal-9Smxn0Eo.js} +53 -53
  20. package/components/{PlayerAccountGamingLimitsConfirmationModal-CxFJV4Qq.js → PlayerAccountGamingLimitsConfirmationModal-BKE3chFw.js} +53 -53
  21. package/components/PlayerAccountGamingLimitsConfirmationModal-DzBevsyQ.cjs +1 -0
  22. package/components/{PlayerAccountGamingLimitsGroupEdit-DVvwhjK6.js → PlayerAccountGamingLimitsGroupEdit-CmrrVg_q.js} +415 -413
  23. package/components/{PlayerAccountGamingLimitsGroupEdit-D0hqXEY4.js → PlayerAccountGamingLimitsGroupEdit-IS7pwiyD.js} +415 -413
  24. package/components/PlayerAccountGamingLimitsGroupEdit-JOrwbKuQ.cjs +1 -0
  25. package/components/{PlayerAccountGamingLimitsHistory2Nd-DrMT268T.js → PlayerAccountGamingLimitsHistory2Nd-B1bxRx8n.js} +192 -192
  26. package/components/{PlayerAccountGamingLimitsHistory2Nd-p3iqTl1u.js → PlayerAccountGamingLimitsHistory2Nd-BWUzYYof.js} +199 -199
  27. package/components/{PlayerAccountGamingLimitsHistory2Nd-juZ45FBC.cjs → PlayerAccountGamingLimitsHistory2Nd-CyUmcHfd.cjs} +1 -1
  28. package/components/{PlayerAccountGamingLimitsInfoCard-dUq3DIBx.js → PlayerAccountGamingLimitsInfoCard-Cu4_dbfd.js} +80 -80
  29. package/components/{PlayerAccountGamingLimitsInfoCard-DWbZBNtU.cjs → PlayerAccountGamingLimitsInfoCard-DxIPZWF4.cjs} +1 -1
  30. package/components/{PlayerAccountGamingLimitsInfoCard-BiYcxWjN.js → PlayerAccountGamingLimitsInfoCard-n38U4Bet.js} +80 -80
  31. package/components/{PlayerAccountGamingLimitsPage2Gm16Nd-B3S3aE0o.js → PlayerAccountGamingLimitsPage2Gm16Nd-BPmAMSJz.js} +91 -91
  32. package/components/{PlayerAccountGamingLimitsPage2Gm16Nd-CWcAVks7.cjs → PlayerAccountGamingLimitsPage2Gm16Nd-BUYiE8KZ.cjs} +2 -2
  33. package/components/{PlayerAccountGamingLimitsPage2Gm16Nd-HpGAoH_E.js → PlayerAccountGamingLimitsPage2Gm16Nd-BYYk6WIK.js} +91 -91
  34. package/components/{PlayerAccountGamingLimitsPopup-B5CoTG_T.js → PlayerAccountGamingLimitsPopup-Chfup4AC.js} +28 -28
  35. package/components/{PlayerAccountGamingLimitsPopup-CzDFUbRs.js → PlayerAccountGamingLimitsPopup-D3tfs8br.js} +28 -28
  36. package/components/{PlayerAccountGamingLimitsPopup-CmNqLNxB.cjs → PlayerAccountGamingLimitsPopup-DkQcpWO7.cjs} +1 -1
  37. package/components/{PlayerAccountGamingLimitsWrapper2Nd-4ZYALP2a.js → PlayerAccountGamingLimitsWrapper2Nd-B2-GgwO6.js} +36 -36
  38. package/components/{PlayerAccountGamingLimitsWrapper2Nd-CErgPgvk.cjs → PlayerAccountGamingLimitsWrapper2Nd-BYj7hpNE.cjs} +1 -1
  39. package/components/{PlayerAccountGamingLimitsWrapper2Nd-fpNsXAyX.js → PlayerAccountGamingLimitsWrapper2Nd-CBjFWU6Y.js} +36 -36
  40. package/components/{PlayerAccountGeneralConfirmationModal-Byd2u6b9.js → PlayerAccountGeneralConfirmationModal-C9sZnKk-.js} +95 -95
  41. package/components/{PlayerAccountGeneralConfirmationModal-C4zwKDdb.js → PlayerAccountGeneralConfirmationModal-CzWW7TO1.js} +95 -95
  42. package/components/PlayerAccountGeneralConfirmationModal-dy9TCHFm.cjs +1 -0
  43. package/components/{PlayerAccountMenuNd-Cs9UjL2S.js → PlayerAccountMenuNd-B14HHDMC.js} +29 -29
  44. package/components/{PlayerAccountMenuNd-BFdU3ZXb.cjs → PlayerAccountMenuNd-BMezijtf.cjs} +1 -1
  45. package/components/{PlayerAccountMenuNd-Cx7Fxjin.js → PlayerAccountMenuNd-CGHNQ9Ia.js} +29 -29
  46. package/components/{PlayerAccountModal-DHs1T-B4.js → PlayerAccountModal-CNPgYrpB.js} +44 -44
  47. package/components/{PlayerAccountModal-iZqtQZF3.js → PlayerAccountModal-NKWbQg0Z.js} +44 -44
  48. package/components/{PlayerAccountModal-SsGlrcmj.cjs → PlayerAccountModal-lwDOdDa4.cjs} +1 -1
  49. package/components/{PlayerAccountNotifications-bjLmyXO3.js → PlayerAccountNotifications-BciDzDyI.js} +35 -35
  50. package/components/{PlayerAccountNotifications-ejASOsrU.cjs → PlayerAccountNotifications-CzMMRPni.cjs} +1 -1
  51. package/components/{PlayerAccountNotifications-BjAtYQls.js → PlayerAccountNotifications-Um7wlaR9.js} +120 -120
  52. package/components/{PlayerAccountSelfExclusionNd-CIP0pLzc.js → PlayerAccountSelfExclusionNd-B_nRc8Sa.js} +1042 -1040
  53. package/components/{PlayerAccountSelfExclusionNd-C6g9CN37.js → PlayerAccountSelfExclusionNd-Byg_2z0c.js} +1302 -1300
  54. package/components/{PlayerAccountSelfExclusionNd-t6Q0Nexu.cjs → PlayerAccountSelfExclusionNd-CpT_ZFMN.cjs} +155 -155
  55. package/components/{PlayerAccountTimeout-CLxGgNmd.js → PlayerAccountTimeout-B4NvwUZo.js} +150 -150
  56. package/components/{PlayerAccountTimeout-XhHX4kXc.js → PlayerAccountTimeout-CmRl0tEc.js} +150 -150
  57. package/components/{PlayerAccountTimeout-D-cCHJBm.cjs → PlayerAccountTimeout-N0vyYDyZ.cjs} +1 -1
  58. package/components/{PlayerAccountTransactionsHistory-_Sm0nfWr.cjs → PlayerAccountTransactionsHistory-CLtNxF1E.cjs} +253 -253
  59. package/components/{PlayerAccountTransactionsHistory-YbNAPwhH.js → PlayerAccountTransactionsHistory-DgRAaof5.js} +1922 -1944
  60. package/components/{PlayerAccountTransactionsHistory-jkghMl1H.js → PlayerAccountTransactionsHistory-J86WA-wq.js} +1533 -1515
  61. package/components/{PlayerActiveBonuses-DbYy8R7L.js → PlayerActiveBonuses-BKHuSXjW.js} +54 -54
  62. package/components/{PlayerActiveBonuses-CVhSMdRf.cjs → PlayerActiveBonuses-C7G2b4x9.cjs} +1 -1
  63. package/components/{PlayerActiveBonuses-ednos3wt.js → PlayerActiveBonuses-ClF-vZCZ.js} +52 -52
  64. package/components/{PlayerBonusCard-C0Z6YeQL.js → PlayerBonusCard-DIuiutMI.js} +54 -54
  65. package/components/{PlayerBonusCard-CYnvLBMF.js → PlayerBonusCard-O-ukO4ru.js} +54 -54
  66. package/components/{PlayerBonusCard-BNNcjGWn.cjs → PlayerBonusCard-nwlvuWsq.cjs} +1 -1
  67. package/components/{PlayerBonusHistory-DJTWzw3S.js → PlayerBonusHistory-C_nm1a_F.js} +30 -30
  68. package/components/{PlayerBonusHistory-D8cY-irD.cjs → PlayerBonusHistory-CxcDHDex.cjs} +1 -1
  69. package/components/{PlayerBonusHistory-BXx0_fP4.js → PlayerBonusHistory-TfBysWlo.js} +30 -30
  70. package/components/PlayerChangePasswordNd-CfG1zd-9.cjs +3 -0
  71. package/components/{PlayerChangePassword-BeIHgM2j.js → PlayerChangePasswordNd-DzfTEiBO.js} +148 -148
  72. package/components/{PlayerChangePassword-BcqVozRi.js → PlayerChangePasswordNd-R4s1Ic-G.js} +148 -148
  73. package/components/{PlayerDeposit-N7o3ip4d.js → PlayerDeposit-CwClAkf8.js} +29 -29
  74. package/components/{PlayerDeposit-Dzg8Ltb1.cjs → PlayerDeposit-DAFmH9HW.cjs} +1 -1
  75. package/components/{PlayerDeposit-CHnzNVZy.js → PlayerDeposit-odz0L-Xa.js} +29 -29
  76. package/components/{PlayerGamingHistory-DV45eT8w.cjs → PlayerGamingHistory-BO-_vwOQ.cjs} +1 -1
  77. package/components/{PlayerGamingHistory-BHH-2mBi.js → PlayerGamingHistory-CCuaz9_n.js} +63 -63
  78. package/components/{PlayerGamingHistory-2WbuH8Jo.js → PlayerGamingHistory-D4ub-eTs.js} +63 -63
  79. package/components/{PlayerPendingWithdrawals-B2WyLuNV.js → PlayerPendingWithdrawals-DSZjjRc5.js} +26 -26
  80. package/components/{PlayerPendingWithdrawals-BMwtFNQT.cjs → PlayerPendingWithdrawals-DbuXpIXl.cjs} +1 -1
  81. package/components/{PlayerPendingWithdrawals-CRRuYNXr.js → PlayerPendingWithdrawals-WueprUX6.js} +26 -26
  82. package/components/PlayerProfileInfo-DFtxyN-C.cjs +4 -0
  83. package/components/PlayerProfileInfo-DmPxmtQq.js +2426 -0
  84. package/components/PlayerProfileInfo-i4qDDYbC.js +2463 -0
  85. package/components/{PlayerRealityCheck-RsT9a67Q.js → PlayerRealityCheck-BB6ql_la.js} +45 -45
  86. package/components/{PlayerRealityCheck-BrVF76qp.cjs → PlayerRealityCheck-CFJVJn17.cjs} +1 -1
  87. package/components/{PlayerRealityCheck-C7EUl18t.js → PlayerRealityCheck-Cvp1LCTw.js} +44 -44
  88. package/components/{PlayerTransactionHistory-BQlWb-B9.js → PlayerTransactionHistory-B-WizKVy.js} +19 -19
  89. package/components/{PlayerTransactionHistory-4VtQqLAc.cjs → PlayerTransactionHistory-BOtRm_b6.cjs} +1 -1
  90. package/components/{PlayerTransactionHistory-DyBRNwAw.js → PlayerTransactionHistory-OP187htZ.js} +19 -19
  91. package/components/{PlayerWithdrawal-C6_CSTeL.js → PlayerWithdrawal-5dv65FN3.js} +19 -19
  92. package/components/{PlayerWithdrawal-CgR0BwqA.js → PlayerWithdrawal-Cmns8eAn.js} +19 -19
  93. package/components/{PlayerWithdrawal-BMLgaRLc.cjs → PlayerWithdrawal-OBRjEIH9.cjs} +1 -1
  94. package/es2015/player-account-controller-nd.cjs +1 -1
  95. package/es2015/player-account-controller-nd.js +1 -1
  96. package/esnext/player-account-controller-nd.js +1 -1
  97. package/package.json +1 -1
  98. package/stencil/{checkbox-group-input_9-CNtARK8C.js → checkbox-group-input_9-BwrWZeLB.js} +92 -90
  99. package/stencil/checkbox-group-input_9-CImFZbCv.cjs +2 -0
  100. package/stencil/{checkbox-group-input_9-BBp8uUcZ.js → checkbox-group-input_9-DdpCHvWb.js} +92 -90
  101. package/stencil/{general-input-Bv0i36QX.js → general-input-BDPI_fW2.js} +1590 -1592
  102. package/stencil/{general-input-wub-4Sk2.js → general-input-DpokfhP6.js} +1592 -1594
  103. package/stencil/{general-input-Bcw5i0ZC.cjs → general-input-y1CIV_-r.cjs} +254 -254
  104. package/stencil/{index-1ef3a64c-DsTe-fF4.js → index-1ef3a64c-B1Hda3TY.js} +185 -185
  105. package/stencil/index-1ef3a64c-CCWt3IAA.cjs +1 -0
  106. package/stencil/{index-1ef3a64c-BNosNJnU.js → index-1ef3a64c-Dd-0nq4l.js} +192 -192
  107. package/stencil/index-7c5e707a-8-4_dLFT.js +643 -0
  108. package/stencil/{index-7c5e707a-C9R6jYpt.js → index-7c5e707a-CuTkyLaW.js} +209 -209
  109. package/stencil/index-7c5e707a-nBsW029h.cjs +1 -0
  110. package/stencil/index-9c0f6c58-DbSOntvG.cjs +1 -0
  111. package/stencil/{index-9c0f6c58-BNoMpTuB.js → index-9c0f6c58-NlVKpLut.js} +180 -180
  112. package/stencil/{index-9c0f6c58-pr1WGVFu.js → index-9c0f6c58-RPoO1End.js} +176 -176
  113. package/stencil/{index-9cd44522-CsUuNLBU.js → index-9cd44522-Cto_o6sQ.js} +202 -202
  114. package/stencil/{index-9cd44522-Bs5-rSFb.js → index-9cd44522-DrlRFYrB.js} +196 -196
  115. package/stencil/index-9cd44522-lYql7AfG.cjs +1 -0
  116. package/stencil/index-b2193545-BXNomIzV.js +519 -0
  117. package/stencil/index-b2193545-CYe2oVMy.js +503 -0
  118. package/stencil/index-b2193545-DxRobzZI.cjs +1 -0
  119. package/stencil/locale-CB060R77.cjs +1 -0
  120. package/stencil/{locale-ioQf6ZrW.js → locale-Cxpe53Ym.js} +9 -3
  121. package/stencil/{password-input_2-BMAMY-nX.cjs → password-input_2-BFXxkcXV.cjs} +2 -2
  122. package/stencil/{password-input_2-CJq7wtMJ.js → password-input_2-CqbOPSSZ.js} +26 -24
  123. package/stencil/{password-input_2-ClvpWVfZ.js → password-input_2-DQst8UHp.js} +26 -24
  124. package/stencil/{player-change-password-gm2-5cb5c6c1-BqiJMiOw.js → player-change-password-gm2-5cb5c6c1-BhDKCfuN.js} +1 -1
  125. package/stencil/{player-change-password-gm2-5cb5c6c1-D-Az5JzJ.js → player-change-password-gm2-5cb5c6c1-Ch9RyZ2b.js} +1 -1
  126. package/stencil/{player-change-password-gm2-5cb5c6c1-C1DPqzV1.cjs → player-change-password-gm2-5cb5c6c1-n4BjzEVs.cjs} +1 -1
  127. package/stencil/{player-change-password-gm2-AbQzJtHf.js → player-change-password-gm2-Bg9HNK0A.js} +1 -1
  128. package/stencil/{player-change-password-gm2-Cr2Rfbg8.js → player-change-password-gm2-CNOsEIfo.js} +1 -1
  129. package/stencil/{player-change-password-gm2-DSVGYS4v.cjs → player-change-password-gm2-COsfG6W5.cjs} +1 -1
  130. package/stencil/{player-kyc-verification-CUhrMPde.js → player-kyc-verification-Cxnz1raa.js} +79 -76
  131. package/stencil/{player-kyc-verification-DPUx1txP.js → player-kyc-verification-DA_O1Dqu.js} +36 -33
  132. package/stencil/player-kyc-verification-qKWuqiUm.cjs +180 -0
  133. package/stencil/{toggle-checkbox-input-BlXLUVpo.js → toggle-checkbox-input-B4lb8oMh.js} +2 -2
  134. package/stencil/{toggle-checkbox-input-Dsxm6_EO.cjs → toggle-checkbox-input-BhQAILyC.cjs} +1 -1
  135. package/stencil/{toggle-checkbox-input-CYU_o2ph.js → toggle-checkbox-input-rocW3Yvz.js} +2 -2
  136. package/stencil/{ui-skeleton-1cb75d00-CwDKR1VD.js → ui-skeleton-1cb75d00-CZJ4UoDJ.js} +1 -1
  137. package/stencil/{ui-skeleton-1cb75d00-BI5A-j0y.js → ui-skeleton-1cb75d00-D5Bub0nv.js} +1 -1
  138. package/stencil/{ui-skeleton-1cb75d00-Batko5iK.cjs → ui-skeleton-1cb75d00-dFWe5qbW.cjs} +1 -1
  139. package/stencil/{ui-skeleton-t0bb1jH7.cjs → ui-skeleton-BH5oLkn9.cjs} +1 -1
  140. package/stencil/{ui-skeleton-C974aG7g.js → ui-skeleton-CZ5yC1WO.js} +2 -2
  141. package/stencil/{ui-skeleton-DoX-UmRU.js → ui-skeleton-vLKdvRqw.js} +2 -2
  142. package/stencil/{user-deposit-withdrawal-Dzz_fEvK.js → user-deposit-withdrawal-BMWb-WJE.js} +45 -45
  143. package/stencil/{user-deposit-withdrawal-C7W58646.js → user-deposit-withdrawal-ByE9O4TW.js} +45 -45
  144. package/stencil/{user-deposit-withdrawal-Dfu_1g2v.cjs → user-deposit-withdrawal-DGTrOlxS.cjs} +2 -2
  145. package/stencil/{user-transaction-history-DhQ6RqNc.js → user-transaction-history-BU4-cXt6.js} +11 -11
  146. package/stencil/{user-transaction-history-BAK7MHHa.js → user-transaction-history-CXBKXul8.js} +14 -14
  147. package/stencil/{user-transaction-history-DiRXpfbN.cjs → user-transaction-history-DLLIZ5Ck.cjs} +1 -1
  148. package/components/GeneralLogout-Dzu2Sl-x.cjs +0 -21
  149. package/components/PlayerAccountControllerNd-DXWI5eiq.cjs +0 -1
  150. package/components/PlayerAccountGamingLimitsConfirmationModal-CVJUvbSC.cjs +0 -1
  151. package/components/PlayerAccountGamingLimitsGroupEdit-BvnqlbPp.cjs +0 -1
  152. package/components/PlayerAccountGeneralConfirmationModal-BiNxgQbD.cjs +0 -1
  153. package/components/PlayerChangePassword-LgjKzYU1.cjs +0 -3
  154. package/components/PlayerProfileInfo-8ER8t_W6.js +0 -2383
  155. package/components/PlayerProfileInfo-D5YZWH2T.cjs +0 -4
  156. package/components/PlayerProfileInfo-D6LqZyUL.js +0 -2419
  157. package/stencil/checkbox-group-input_9-CQr3DUDJ.cjs +0 -2
  158. package/stencil/index-1ef3a64c-CFvPR_NP.cjs +0 -1
  159. package/stencil/index-7c5e707a-DvxqcEpc.js +0 -643
  160. package/stencil/index-7c5e707a-ESX_oqGB.cjs +0 -1
  161. package/stencil/index-9c0f6c58-DkHHwpww.cjs +0 -1
  162. package/stencil/index-9cd44522-D6uuyxLp.cjs +0 -1
  163. package/stencil/index-b2193545-CnMZ4-Ff.js +0 -519
  164. package/stencil/index-b2193545-Ct5AhxM8.cjs +0 -1
  165. package/stencil/index-b2193545-DePry399.js +0 -503
  166. package/stencil/locale-BB2iZ4t0.cjs +0 -1
  167. package/stencil/player-kyc-verification-DAy-szI5.cjs +0 -180
@@ -1,4 +1,4 @@
1
- "use strict";var Gt=Object.defineProperty;var ze=Object.getOwnPropertySymbols;var Kt=Object.prototype.hasOwnProperty,Ht=Object.prototype.propertyIsEnumerable;var Ee=(a,t,i)=>t in a?Gt(a,t,{enumerable:!0,configurable:!0,writable:!0,value:i}):a[t]=i,ce=(a,t)=>{for(var i in t||(t={}))Kt.call(t,i)&&Ee(a,i,t[i]);if(ze)for(var i of ze(t))Ht.call(t,i)&&Ee(a,i,t[i]);return a};Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./GeneralLogout-Dzu2Sl-x.cjs");require("../stencil/ui-skeleton-t0bb1jH7.cjs");const I={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 Pe(a,t){e.addMessages(a,t)}function Yt(a){e.$locale.set(a)}const ae={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",setLimit:"SET LIMIT",loss:"Loss Limit",lossAll:"Loss Limit",lossCasino:"Loss Limit",lossSports:"Loss Limit",deposit:"Deposit Limit",depositAll:"Deposit Limit",depositCasino:"Deposit Limit",depositSports:"Deposit Limit",wager:"Wager Limit",stake:"Stake Limit",stakeAll:"Stake Limit",stakeCasino:"Stake Limit",stakeSports:"Stake Limit",lugas:"Current Deposit Limit",lugasAll:"Current Deposit Limit",lugasCasino:"Current Deposit Limit",lugasSports:"Current Deposit Limit",wagerAll:"Wager Limit",wagerCasino:"Slots Limit",wagerSports:"Stake 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 Gt=Object.defineProperty;var ze=Object.getOwnPropertySymbols;var Kt=Object.prototype.hasOwnProperty,Ht=Object.prototype.propertyIsEnumerable;var Ee=(a,t,i)=>t in a?Gt(a,t,{enumerable:!0,configurable:!0,writable:!0,value:i}):a[t]=i,ce=(a,t)=>{for(var i in t||(t={}))Kt.call(t,i)&&Ee(a,i,t[i]);if(ze)for(var i of ze(t))Ht.call(t,i)&&Ee(a,i,t[i]);return a};Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./GeneralLogout-DweBl3EQ.cjs");require("../stencil/ui-skeleton-BH5oLkn9.cjs");const I={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 Pe(a,t){e.addMessages(a,t)}function Yt(a){e.$locale.set(a)}const ae={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",setLimit:"SET LIMIT",loss:"Loss Limit",lossAll:"Loss Limit",lossCasino:"Loss Limit",lossSports:"Loss Limit",deposit:"Deposit Limit",depositAll:"Deposit Limit",depositCasino:"Deposit Limit",depositSports:"Deposit Limit",wager:"Wager Limit",stake:"Stake Limit",stakeAll:"Stake Limit",stakeCasino:"Stake Limit",stakeSports:"Stake Limit",lugas:"Current Deposit Limit",lugasAll:"Current Deposit Limit",lugasCasino:"Current Deposit Limit",lugasSports:"Current Deposit Limit",wagerAll:"Wager Limit",wagerCasino:"Slots Limit",wagerSports:"Stake 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}.",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"},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",updateText:"beállításod érvénybe lépési ideje:",removedLimitText:"A limitet töröljük.",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",deposit:"Befizetési limit",depositAll:"Befizetési limit",wager:"Fogadási limit",stake:"Fogadási limit",lugas:"Aktuális befizetési limit",wagerCasino:"Fogadási limit",wagerSports:"Fogadá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",invalidInputMessageLimit:"`A megadott értéknek {minValue} és {maxValue} {currency} között kell lennie.`",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",lossAll:"Veszteség limit",lossCasino:"Veszteség limit",lossSports:"Veszteség limit",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"},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",updateText:"Anwendung am",removedLimitText:"Entfernung des Limits am",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",setLimit:"LIMIT SETZEN",loss:"Verlustlimit",lossAll:"Loss Limit",lossCasino:"Loss Limit",lossSports:"Loss Limit",depositAll:"Deposit Limit",depositCasino:"Deposit Limit",depositSports:"Deposit Limit",stakeAll:"Stake Limit",stakeCasino:"Stake Limit",stakeSports:"Stake Limit",lugasAll:"Current Deposit Limit",lugasCasino:"Current Deposit Limit",lugasSports:"Current Deposit Limit",wagerAll:"Wager Limit",deposit:"Einzahlungslimit",wager:"Einsatzlimit",stake:"Einsatzlimit",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.
@@ -21,4 +21,4 @@
21
21
  S12.767,2,26,2s24,10.767,24,24S39.233,50,26,50z`),e.attr(s,"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
22
22
  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
23
23
  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
24
- 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(E,C){e.insert(E,t,C),e.append(t,i),e.append(i,n),e.append(i,s),e.append(t,r),e.append(t,l),e.append(t,d),e.append(t,u),e.append(t,p),e.append(t,f),e.append(t,g),e.append(t,S),e.append(t,v),e.append(t,D),e.append(t,B),e.append(t,N),e.append(t,V),e.append(t,z),e.append(t,j)},d(E){E&&e.detach(t)}}}function ii(a){let t,i=a[26]("popupSuccess")+"",n;return{c(){t=e.element("p"),n=e.text(i)},m(s,r){e.insert(s,t,r),e.append(t,n)},p(s,r){r[0]&67108864&&i!==(i=s[26]("popupSuccess")+"")&&e.set_data(n,i)},d(s){s&&e.detach(t)}}}function ai(a){let t,i=a[26]("docsRequired")+"",n;return{c(){t=e.element("p"),n=e.text(i)},m(s,r){e.insert(s,t,r),e.append(t,n)},p(s,r){r[0]&67108864&&i!==(i=s[26]("docsRequired")+"")&&e.set_data(n,i)},d(s){s&&e.detach(t)}}}function ni(a){let t,i=a[26]("popupError")+"",n;return{c(){t=e.element("p"),n=e.text(i)},m(s,r){e.insert(s,t,r),e.append(t,n)},p(s,r){r[0]&67108864&&i!==(i=s[26]("popupError")+"")&&e.set_data(n,i)},d(s){s&&e.detach(t)}}}function oi(a){let t,i=a[26]("okButton")+"",n,s,r;return{c(){t=e.element("button"),n=e.text(i),e.attr(t,"class","ConfirmButton "+(a[27]?"":"Mobile"))},m(l,d){e.insert(l,t,d),e.append(t,n),s||(r=e.listen(t,"click",a[39]),s=!0)},p(l,d){d[0]&67108864&&i!==(i=l[26]("okButton")+"")&&e.set_data(n,i)},d(l){l&&e.detach(t),s=!1,r()}}}function si(a){let t,i=a[26]("uploadDocumentsButton")+"",n,s,r=a[26]("closeButton")+"",l,d,u;return{c(){t=e.element("button"),n=e.space(),s=e.element("button"),l=e.text(r),e.attr(t,"class","ConfirmButton"),e.attr(s,"class","CloseButton")},m(p,f){e.insert(p,t,f),t.innerHTML=i,e.insert(p,n,f),e.insert(p,s,f),e.append(s,l),d||(u=[e.listen(t,"click",a[40]),e.listen(s,"click",a[39])],d=!0)},p(p,f){f[0]&67108864&&i!==(i=p[26]("uploadDocumentsButton")+"")&&(t.innerHTML=i),f[0]&67108864&&r!==(r=p[26]("closeButton")+"")&&e.set_data(l,r)},d(p){p&&(e.detach(t),e.detach(n),e.detach(s)),d=!1,e.run_all(u)}}}function ri(a){let t,i,n,s,r,l,d=a[26]("setLimit")+"",u,p,f,g,S,v,D,B=a[15]?`${a[26]("amount")}`:`${a[26](`new${a[8]}Limit`)}`,N,V,z,j,E,C,_=a[26]("setLimit")+"",k,R,A,y,w=e.ensure_array_like(a[6]),U=[];for(let b=0;b<w.length;b+=1)U[b]=Fe(Ne(a,w,b));let W=a[1]==="true"&&Ge(a),x=a[14]&&Ke(a),q=a[15]&&Ye(a),O=a[24]&&Ze(a);return{c(){t=e.element("div"),i=e.element("div"),n=e.element("div");for(let b=0;b<U.length;b+=1)U[b].c();s=e.space(),r=e.element("form"),l=e.element("p"),u=e.text(d),p=e.space(),W&&W.c(),f=e.space(),x&&x.c(),g=e.space(),q&&q.c(),S=e.space(),v=e.element("label"),D=e.element("span"),N=e.text(B),V=e.space(),z=e.element("input"),j=e.space(),O&&O.c(),E=e.space(),C=e.element("button"),k=e.text(_),e.attr(n,"class","LimitsList"),e.attr(l,"class","LimitTitle "+(a[27]?"":"Mobile")),e.attr(D,"class","LimitInputText"),e.attr(z,"type","number"),e.attr(z,"pattern","[0-9]*"),e.attr(v,"class","LimitAmountInputWrapper "+(a[27]?"":"Mobile")),e.attr(C,"class","LimitSubmitButton "+(a[27]?"":"Mobile")),e.attr(C,"type","button"),C.disabled=!0,e.attr(r,"class","LimitsInteractionArea "+(a[27]?"":"Mobile")),e.attr(i,"class","LimitsPageContainer"),e.attr(t,"class",R="player-account-gaming-limits-page-2-gm16 "+("LimitTab"+a[3]))},m(b,F){e.insert(b,t,F),e.append(t,i),e.append(i,n);for(let P=0;P<U.length;P+=1)U[P]&&U[P].m(n,null);e.append(i,s),e.append(i,r),e.append(r,l),e.append(l,u),e.append(r,p),W&&W.m(r,null),e.append(r,f),x&&x.m(r,null),e.append(r,g),q&&q.m(r,null),e.append(r,S),e.append(r,v),e.append(v,D),e.append(D,N),e.append(v,V),e.append(v,z),e.set_input_value(z,a[10]),e.append(v,j),O&&O.m(v,null),e.append(r,E),e.append(r,C),e.append(C,k),a[64](C),A||(y=[e.listen(z,"input",a[63]),e.listen(z,"keydown",a[41]),e.listen(z,"keyup",a[32]),e.listen(C,"click",a[30]),e.listen(r,"submit",a[30])],A=!0)},p(b,F){if(F[0]&234881092|F[1]&249){w=e.ensure_array_like(b[6]);let P;for(P=0;P<w.length;P+=1){const ie=Ne(b,w,P);U[P]?U[P].p(ie,F):(U[P]=Fe(ie),U[P].c(),U[P].m(n,null))}for(;P<U.length;P+=1)U[P].d(1);U.length=w.length}F[0]&67108864&&d!==(d=b[26]("setLimit")+"")&&e.set_data(u,d),b[1]==="true"?W?W.p(b,F):(W=Ge(b),W.c(),W.m(r,f)):W&&(W.d(1),W=null),b[14]?x?x.p(b,F):(x=Ke(b),x.c(),x.m(r,g)):x&&(x.d(1),x=null),b[15]?q?q.p(b,F):(q=Ye(b),q.c(),q.m(r,S)):q&&(q.d(1),q=null),F[0]&67141888&&B!==(B=b[15]?`${b[26]("amount")}`:`${b[26](`new${b[8]}Limit`)}`)&&e.set_data(N,B),F[0]&1024&&e.to_number(z.value)!==b[10]&&e.set_input_value(z,b[10]),b[24]?O?O.p(b,F):(O=Ze(b),O.c(),O.m(v,null)):O&&(O.d(1),O=null),F[0]&67108864&&_!==(_=b[26]("setLimit")+"")&&e.set_data(k,_),F[0]&8&&R!==(R="player-account-gaming-limits-page-2-gm16 "+("LimitTab"+b[3]))&&e.attr(t,"class",R)},d(b){b&&e.detach(t),e.destroy_each(U,b),W&&W.d(),x&&x.d(),q&&q.d(),O&&O.d(),a[64](null),A=!1,e.run_all(y)}}}function li(a){let t;return{c(){t=e.element("p"),t.textContent="500 Server error"},m(i,n){e.insert(i,t,n)},p:e.noop,d(i){i&&e.detach(t)}}}function mi(a){let t,i,n,s,r,l,d=e.ensure_array_like(Array(3)),u=[];for(let p=0;p<d.length;p+=1)u[p]=wi(Zt(a,d,p));return{c(){t=e.element("div"),i=e.element("div"),i.innerHTML='<ui-skeleton width="auto" height="25px" structure="text" margin-right="auto"></ui-skeleton>',n=e.space(),s=e.element("div");for(let p=0;p<u.length;p+=1)u[p].c();r=e.space(),l=e.element("div"),l.innerHTML='<div class="skletonHeader"><ui-skeleton width="auto" height="25px" structure="title" margin-right="auto"></ui-skeleton></div> <div class="skletonSubText"><ui-skeleton width="auto" height="15px" structure="text" margin-right="auto"></ui-skeleton></div> <div class="skeletonPeriod"><ui-skeleton width="auto" height="40px" structure="rectangle" margin-right="auto"></ui-skeleton></div> <div class="skletonSubText"><ui-skeleton width="auto" height="15px" structure="text" margin-right="auto"></ui-skeleton></div> <div class="skeletonInputAmount"><ui-skeleton width="auto" height="40px" structure="rectangle" margin-right="auto"></ui-skeleton></div> <div class="skeletonButton"><ui-skeleton width="auto" height="50px" structure="rectangle" margin-right="auto"></ui-skeleton></div>',e.attr(i,"class","skeletonLimitText"),e.attr(s,"class","skeletonLimitWrapper"),e.attr(l,"class","skeletonInputWrapper"),e.attr(t,"class","skeletonLimitContainer")},m(p,f){e.insert(p,t,f),e.append(t,i),e.append(t,n),e.append(t,s);for(let g=0;g<u.length;g+=1)u[g]&&u[g].m(s,null);e.append(t,r),e.append(t,l)},p:e.noop,d(p){p&&e.detach(t),e.destroy_each(u,p)}}}function di(a){let t,i,n,s=a[26]("noLimitText")+"",r;return{c(){t=e.element("div"),i=e.element("div"),n=e.element("div"),r=e.text(s),e.attr(n,"class","LimitDetailsTextWrapper "+(a[27]?"":"Mobile")),e.attr(i,"class","LimitDetailsWrapper"),e.attr(t,"class","LimitDetails")},m(l,d){e.insert(l,t,d),e.append(t,i),e.append(i,n),e.append(n,r)},p(l,d){d[0]&67108864&&s!==(s=l[26]("noLimitText")+"")&&e.set_data(r,s)},d(l){l&&e.detach(t)}}}function pi(a){let t,i,n,s=a[26]("lugasPrivacy")+"",r;return{c(){t=e.element("div"),i=e.element("div"),n=e.element("div"),r=e.text(s),e.attr(n,"class","LimitDetailsTextWrapper "+(a[27]?"":"Mobile")),e.attr(i,"class","LimitDetailsWrapper"),e.attr(t,"class","LimitDetails")},m(l,d){e.insert(l,t,d),e.append(t,i),e.append(i,n),e.append(n,r)},p(l,d){d[0]&67108864&&s!==(s=l[26]("lugasPrivacy")+"")&&e.set_data(r,s)},d(l){l&&e.detach(t)}}}function ui(a){let t,i=e.ensure_array_like(a[122].currentLimits),n=[];for(let s=0;s<i.length;s+=1)n[s]=qe(Re(a,i,s));return{c(){for(let s=0;s<n.length;s+=1)n[s].c();t=e.empty()},m(s,r){for(let l=0;l<n.length;l+=1)n[l]&&n[l].m(s,r);e.insert(s,t,r)},p(s,r){if(r[0]&234881092|r[1]&185){i=e.ensure_array_like(s[122].currentLimits);let l;for(l=0;l<i.length;l+=1){const d=Re(s,i,l);n[l]?n[l].p(d,r):(n[l]=qe(d),n[l].c(),n[l].m(t.parentNode,t))}for(;l<n.length;l+=1)n[l].d(1);n.length=i.length}},d(s){s&&e.detach(t),e.destroy_each(n,s)}}}function ci(a){let t,i,n,s=a[26]("lugasPrivacy")+"",r;return{c(){t=e.element("div"),i=e.element("div"),n=e.element("div"),r=e.text(s),e.attr(n,"class","LimitDetailsTextWrapper "+(a[27]?"":"Mobile")),e.attr(i,"class","LimitDetailsWrapper"),e.attr(t,"class","LimitDetails")},m(l,d){e.insert(l,t,d),e.append(t,i),e.append(i,n),e.append(n,r)},p(l,d){d[0]&67108864&&s!==(s=l[26]("lugasPrivacy")+"")&&e.set_data(r,s)},d(l){l&&e.detach(t)}}}function fi(a){let t,i=`${a[38](a[127])}`,n;return{c(){t=e.element("span"),n=e.text(i)},m(s,r){e.insert(s,t,r),e.append(t,n)},p(s,r){r[0]&64&&i!==(i=`${s[38](s[127])}`)&&e.set_data(n,i)},d(s){s&&e.detach(t)}}}function Li(a){let t,i=`${a[38](a[127],!0)}`,n;return{c(){t=e.element("span"),n=e.text(i)},m(s,r){e.insert(s,t,r),e.append(t,n)},p(s,r){r[0]&64&&i!==(i=`${s[38](s[127],!0)}`)&&e.set_data(n,i)},d(s){s&&e.detach(t)}}}function gi(a){let t,i,n=`${a[38](a[127],!0)}`,s,r;function l(p,f){return p[127].isCoolOffCompleted?bi:ki}let d=l(a),u=d(a);return{c(){t=e.element("div"),i=e.element("span"),s=e.text(n),r=e.space(),u.c(),e.attr(t,"class","PendingLimit")},m(p,f){e.insert(p,t,f),e.append(t,i),e.append(i,s),e.append(t,r),u.m(t,null)},p(p,f){f[0]&64&&n!==(n=`${p[38](p[127],!0)}`)&&e.set_data(s,n),d===(d=l(p))&&u?u.p(p,f):(u.d(1),u=d(p),u&&(u.c(),u.m(t,null)))},d(p){p&&e.detach(t),u.d()}}}function hi(a){let t,i=`${a[26]("removedLimitText")} ${a[127].expiryDate}`,n;return{c(){t=e.element("div"),n=e.text(i),e.attr(t,"class","PendingLimit")},m(s,r){e.insert(s,t,r),e.append(t,n)},p(s,r){r[0]&67108928&&i!==(i=`${s[26]("removedLimitText")} ${s[127].expiryDate}`)&&e.set_data(n,i)},d(s){s&&e.detach(t)}}}function yi(a){let t,i=`${a[26]("removeAfterConfirm")}`,n;return{c(){t=e.element("div"),n=e.text(i),e.attr(t,"class","PendingLimit")},m(s,r){e.insert(s,t,r),e.append(t,n)},p(s,r){r[0]&67108864&&i!==(i=`${s[26]("removeAfterConfirm")}`)&&e.set_data(n,i)},d(s){s&&e.detach(t)}}}function vi(a){let t,i=`${a[26]("acknowledgedLimit")}`,n;return{c(){t=e.element("div"),n=e.text(i),e.attr(t,"class","PendingLimit")},m(s,r){e.insert(s,t,r),e.append(t,n)},p(s,r){r[0]&67108864&&i!==(i=`${s[26]("acknowledgedLimit")}`)&&e.set_data(n,i)},d(s){s&&e.detach(t)}}}function ki(a){let t=`${a[127].period!=="None"||a[127].value!=="cumulativeSession"?" ":a[26]("per")} ${a[26](`${a[127].period}`)} ${a[26]("updateText")} ${a[127].expiryDate}`,i;return{c(){i=e.text(t)},m(n,s){e.insert(n,i,s)},p(n,s){s[0]&67108928&&t!==(t=`${n[127].period!=="None"||n[127].value!=="cumulativeSession"?" ":n[26]("per")} ${n[26](`${n[127].period}`)} ${n[26]("updateText")} ${n[127].expiryDate}`)&&e.set_data(i,t)},d(n){n&&e.detach(i)}}}function bi(a){let t=`${a[127].period!=="None"||a[127].value!=="cumulativeSession"?" ":a[26]("per")} ${a[26](`${a[127].period}`)} ${a[26]("updateAfterConfirm")}`,i;return{c(){i=e.text(t)},m(n,s){e.insert(n,i,s)},p(n,s){s[0]&67108928&&t!==(t=`${n[127].period!=="None"||n[127].value!=="cumulativeSession"?" ":n[26]("per")} ${n[26](`${n[127].period}`)} ${n[26]("updateAfterConfirm")}`)&&e.set_data(i,t)},d(n){n&&e.detach(i)}}}function We(a){let t,i,n=a[25][a[127].scheduleId].timer+"",s,r,l,d;return{c(){t=e.element("div"),i=e.element("button"),s=e.text(n),e.attr(i,"class",r="ReloadLimitButton "+(a[27]?"":"Mobile")+" "+(a[25][a[127].scheduleId].timerStopped?"":"disabled")),e.attr(t,"class","ContainerLimitActions "+(a[27]?"":"Mobile"))},m(u,p){e.insert(u,t,p),e.append(t,i),e.append(i,s),l||(d=e.listen(i,"click",a[56]),l=!0)},p(u,p){p[0]&33554496&&n!==(n=u[25][u[127].scheduleId].timer+"")&&e.set_data(s,n),p[0]&33554496&&r!==(r="ReloadLimitButton "+(u[27]?"":"Mobile")+" "+(u[25][u[127].scheduleId].timerStopped?"":"disabled"))&&e.attr(i,"class",r)},d(u){u&&e.detach(t),l=!1,d()}}}function Oe(a){let t,i,n=a[26]("removeLimit")+"",s,r,l;function d(){return a[57](a[127])}return{c(){t=e.element("div"),i=e.element("button"),s=e.text(n),e.attr(i,"class","RemoveLimitButton "+(a[27]?"":"Mobile")),e.attr(t,"class","ContainerLimitActions "+(a[27]?"":"Mobile"))},m(u,p){e.insert(u,t,p),e.append(t,i),e.append(i,s),r||(l=e.listen(i,"click",d),r=!0)},p(u,p){a=u,p[0]&67108864&&n!==(n=a[26]("removeLimit")+"")&&e.set_data(s,n)},d(u){u&&e.detach(t),r=!1,l()}}}function Ve(a){let t,i,n=a[26]("confirmUpdateLimit")+"",s,r,l,d=a[26]("cancelUpdateLimit")+"",u,p,f;function g(){return a[58](a[127])}function S(){return a[59](a[127])}return{c(){t=e.element("div"),i=e.element("button"),s=e.text(n),r=e.space(),l=e.element("button"),u=e.text(d),e.attr(i,"class","ConfirmLimitButton "+(a[27]?"":"Mobile")),e.attr(l,"class","CancelLimitButton "+(a[27]?"":"Mobile")),e.attr(t,"class","ContainerLimitActions "+(a[27]?"":"Mobile"))},m(v,D){e.insert(v,t,D),e.append(t,i),e.append(i,s),e.append(t,r),e.append(t,l),e.append(l,u),p||(f=[e.listen(i,"click",g),e.listen(l,"click",S)],p=!0)},p(v,D){a=v,D[0]&67108864&&n!==(n=a[26]("confirmUpdateLimit")+"")&&e.set_data(s,n),D[0]&67108864&&d!==(d=a[26]("cancelUpdateLimit")+"")&&e.set_data(u,d)},d(v){v&&e.detach(t),p=!1,e.run_all(f)}}}function qe(a){let t,i,n,s,r,l=`${a[127].period!=="None"||a[127].value!=="cumulativeSession"?" ":a[26]("per")} ${a[26](`${a[127].period}`)}`,d,u,p,f,g=!a[127].isModified&&a[2].indexOf(a[122].value)>-1,S,v;function D(k,R){return k[127].acknowledgedLimit?Li:fi}let B=D(a),N=B(a);function V(k,R){if(k[127].acknowledgedLimit)return vi;if(k[127].isModified&&k[127].updateAmount==0&&k[127].isCoolOffCompleted)return yi;if(k[127].isModified&&k[127].updateAmount==0&&!k[127].isCoolOffCompleted)return hi;if(k[127].isModified)return gi}let z=V(a),j=z&&z(a),E=a[127].acknowledgedLimit&&We(a),C=g&&Oe(a),_=a[127].isCoolOffCompleted&!a[127].acknowledgedLimit&&Ve(a);return{c(){t=e.element("div"),i=e.element("div"),n=e.element("div"),s=e.element("div"),N.c(),r=e.space(),d=e.text(l),u=e.space(),j&&j.c(),p=e.space(),E&&E.c(),f=e.space(),C&&C.c(),S=e.space(),_&&_.c(),v=e.space(),e.attr(s,"class","CurrentLimit"),e.attr(n,"class","CurrentLimitContainer"),e.attr(i,"class","LimitDetailsTextWrapper "+(a[27]?"":"Mobile")),e.attr(t,"class","LimitDetails")},m(k,R){e.insert(k,t,R),e.append(t,i),e.append(i,n),e.append(n,s),N.m(s,null),e.append(s,r),e.append(s,d),e.append(n,u),j&&j.m(n,null),e.append(i,p),E&&E.m(i,null),e.append(i,f),C&&C.m(i,null),e.append(i,S),_&&_.m(i,null),e.append(t,v)},p(k,R){B===(B=D(k))&&N?N.p(k,R):(N.d(1),N=B(k),N&&(N.c(),N.m(s,r))),R[0]&67108928&&l!==(l=`${k[127].period!=="None"||k[127].value!=="cumulativeSession"?" ":k[26]("per")} ${k[26](`${k[127].period}`)}`)&&e.set_data(d,l),z===(z=V(k))&&j?j.p(k,R):(j&&j.d(1),j=z&&z(k),j&&(j.c(),j.m(n,null))),k[127].acknowledgedLimit?E?E.p(k,R):(E=We(k),E.c(),E.m(i,f)):E&&(E.d(1),E=null),R[0]&68&&(g=!k[127].isModified&&k[2].indexOf(k[122].value)>-1),g?C?C.p(k,R):(C=Oe(k),C.c(),C.m(i,S)):C&&(C.d(1),C=null),k[127].isCoolOffCompleted&!k[127].acknowledgedLimit?_?_.p(k,R):(_=Ve(k),_.c(),_.m(i,null)):_&&(_.d(1),_=null)},d(k){k&&e.detach(t),N.d(),j&&j.d(),E&&E.d(),C&&C.d(),_&&_.d()}}}function Fe(a){let t,i=a[37](a[122])+"",n,s,r,l;function d(f,g){return f[122].value==="lugas"?ci:f[122].currentLimits.length>0?ui:f[122].value==="lugas"?pi:di}let u=d(a),p=u(a);return{c(){t=e.element("p"),n=e.text(i),s=e.space(),r=e.element("div"),p.c(),l=e.space(),e.attr(t,"class","LimitTitle "+(a[27]?"":"Mobile")),e.attr(r,"class","LimitWrapper "+(a[27]?"":"Mobile"))},m(f,g){e.insert(f,t,g),e.append(t,n),e.insert(f,s,g),e.insert(f,r,g),p.m(r,null),e.append(r,l)},p(f,g){g[0]&64&&i!==(i=f[37](f[122])+"")&&e.set_data(n,i),u===(u=d(f))&&p?p.p(f,g):(p.d(1),p=u(f),p&&(p.c(),p.m(r,l)))},d(f){f&&(e.detach(t),e.detach(s),e.detach(r)),p.d()}}}function Ge(a){let t,i,n=a[26]("complianceText")+"",s;return{c(){t=e.element("div"),i=e.element("p"),s=e.text(n),e.attr(i,"class","LimitComplianceText"),e.attr(t,"class","LimitCompliance")},m(r,l){e.insert(r,t,l),e.append(t,i),e.append(i,s)},p(r,l){l[0]&67108864&&n!==(n=r[26]("complianceText")+"")&&e.set_data(s,n)},d(r){r&&e.detach(t)}}}function Ke(a){let t,i,n=a[26]("limitType")+"",s,r,l,d,u,p=e.ensure_array_like(a[6]),f=[];for(let g=0;g<p.length;g+=1)f[g]=He(Ue(a,p,g));return{c(){t=e.element("label"),i=e.element("span"),s=e.text(n),r=e.space(),l=e.element("select");for(let g=0;g<f.length;g+=1)f[g].c();e.attr(i,"class","LimitSelectText"),e.attr(l,"name",""),e.attr(l,"id",""),a[9]===void 0&&e.add_render_callback(()=>a[60].call(l)),e.attr(t,"class","LimitTypeDropdownWrapper "+(a[27]?"":"Mobile"))},m(g,S){e.insert(g,t,S),e.append(t,i),e.append(i,s),e.append(t,r),e.append(t,l);for(let v=0;v<f.length;v+=1)f[v]&&f[v].m(l,null);e.select_option(l,a[9],!0),d||(u=[e.listen(l,"change",a[60]),e.listen(l,"change",a[61])],d=!0)},p(g,S){if(S[0]&67108864&&n!==(n=g[26]("limitType")+"")&&e.set_data(s,n),S[0]&64|S[1]&64){p=e.ensure_array_like(g[6]);let v;for(v=0;v<p.length;v+=1){const D=Ue(g,p,v);f[v]?f[v].p(D,S):(f[v]=He(D),f[v].c(),f[v].m(l,null))}for(;v<f.length;v+=1)f[v].d(1);f.length=p.length}S[0]&512&&e.select_option(l,g[9])},d(g){g&&e.detach(t),e.destroy_each(f,g),d=!1,e.run_all(u)}}}function He(a){let t,i=a[37](a[122])+"",n;return{c(){t=e.element("option"),n=e.text(i),t.__value=a[124],e.set_input_value(t,t.__value)},m(s,r){e.insert(s,t,r),e.append(t,n)},p(s,r){r[0]&64&&i!==(i=s[37](s[122])+"")&&e.set_data(n,i)},d(s){s&&e.detach(t)}}}function Ye(a){let t,i,n=a[26]("period")+"",s,r,l,d,u,p=e.ensure_array_like(a[5][a[7]].periods),f=[];for(let g=0;g<p.length;g+=1)f[g]=Xe(Ie(a,p,g));return{c(){t=e.element("label"),i=e.element("span"),s=e.text(n),r=e.space(),l=e.element("select");for(let g=0;g<f.length;g+=1)f[g].c();e.attr(i,"class","PeriodSelectText"),e.attr(l,"name",""),e.attr(l,"id",""),a[8]===void 0&&e.add_render_callback(()=>a[62].call(l)),e.attr(t,"class","LimitPeriodDropdownWrapper "+(a[27]?"":"Mobile"))},m(g,S){e.insert(g,t,S),e.append(t,i),e.append(i,s),e.append(t,r),e.append(t,l);for(let v=0;v<f.length;v+=1)f[v]&&f[v].m(l,null);e.select_option(l,a[8],!0),d||(u=e.listen(l,"change",a[62]),d=!0)},p(g,S){if(S[0]&67108864&&n!==(n=g[26]("period")+"")&&e.set_data(s,n),S[0]&67109024){p=e.ensure_array_like(g[5][g[7]].periods);let v;for(v=0;v<p.length;v+=1){const D=Ie(g,p,v);f[v]?f[v].p(D,S):(f[v]=Xe(D),f[v].c(),f[v].m(l,null))}for(;v<f.length;v+=1)f[v].d(1);f.length=p.length}S[0]&416&&e.select_option(l,g[8])},d(g){g&&e.detach(t),e.destroy_each(f,g),d=!1,u()}}}function Xe(a){let t,i=a[26](a[119])+"",n,s;return{c(){t=e.element("option"),n=e.text(i),t.__value=s=a[119],e.set_input_value(t,t.__value),t.selected=!0},m(r,l){e.insert(r,t,l),e.append(t,n)},p(r,l){l[0]&67109024&&i!==(i=r[26](r[119])+"")&&e.set_data(n,i),l[0]&160&&s!==(s=r[119])&&(t.__value=s,e.set_input_value(t,t.__value))},d(r){r&&e.detach(t)}}}function Ze(a){let t,i=a[10]<a[12]?`${a[26]("invalidInputMessageLimitMin",{values:{minValue:a[12],currency:a[0]}})}`:`${a[26]("invalidInputMessageLimitMax",{values:{maxValue:a[13],currency:a[0]}})}`,n;return{c(){t=e.element("p"),n=e.text(i),e.attr(t,"class","InvalidInput")},m(s,r){e.insert(s,t,r),e.append(t,n)},p(s,r){r[0]&67122177&&i!==(i=s[10]<s[12]?`${s[26]("invalidInputMessageLimitMin",{values:{minValue:s[12],currency:s[0]}})}`:`${s[26]("invalidInputMessageLimitMax",{values:{maxValue:s[13],currency:s[0]}})}`)&&e.set_data(n,i)},d(s){s&&e.detach(t)}}}function wi(a){let t;return{c(){t=e.element("div"),t.innerHTML='<div class="skeletonLimitAmount"><div class="skeletonAmountText"><ui-skeleton width="auto" height="20px" structure="text" margin-right="auto"></ui-skeleton></div> <div class="skeletonSubText"><ui-skeleton width="auto" height="20px" structure="text" margin-right="auto"></ui-skeleton></div></div> <div class="skeletonLimitButton"><div><ui-skeleton width="auto" height="40px" structure="rectangle" margin-right="auto"></ui-skeleton></div> <div><ui-skeleton width="auto" height="40px" structure="rectangle" margin-right="auto"></ui-skeleton></div></div> ',e.attr(t,"class","skeletonLimitContent")},m(i,n){e.insert(i,t,n)},p:e.noop,d(i){i&&e.detach(t)}}}function _i(a){let t,i,n=a[19]&&Be(a);function s(d,u){if(d[16])return mi;if(d[17])return li;if(!d[16])return ri}let r=s(a),l=r&&r(a);return{c(){t=e.element("div"),n&&n.c(),i=e.space(),l&&l.c()},m(d,u){e.insert(d,t,u),n&&n.m(t,null),e.append(t,i),l&&l.m(t,null),a[65](t)},p(d,u){d[19]?n?n.p(d,u):(n=Be(d),n.c(),n.m(t,i)):n&&(n.d(1),n=null),r===(r=s(d))&&l?l.p(d,u):(l&&l.d(1),l=r&&r(d),l&&(l.c(),l.m(t,null)))},i:e.noop,o:e.noop,d(d){d&&e.detach(t),n&&n.d(),l&&l.d(),a[65](null)}}}function xi(a,t,i){let n;e.component_subscribe(a,e.$format,o=>i(26,n=o));let{lang:s="en"}=t,{currency:r=""}=t,{limits:l=""}=t,{session:d=""}=t,{userid:u=""}=t,{endpoint:p=""}=t,{apiversion:f=""}=t,{customcurrencysymbols:g=""}=t,{enablecompliancetext:S=""}=t,{deletelimit:v=""}=t,{amountsconfig:D=""}=t,{periodsconfig:B=""}=t,{limittabindex:N=""}=t,{limitformat:V=""}=t,{clientstyling:z=""}=t,{clientstylingurl:j=""}=t,{translationurl:E=""}=t,{mbsource:C}=t,_,k=window.navigator.userAgent,R=!e.isMobile(k),A=[],y="",w="",U="",W=0,x,q,O="",b="",F="",P={},ie={},ve=!1,fe=!1,K=!0,$=!1,Le=!1,oe=!1,ee=!1,Z="",re="",H=[],le,ke,me=!1,Qe={},se={EUR:"€",RON:" lei",USD:"$"},X={};const be={wager:"wagering",loss:"loss",deposit:"deposit",netdeposit:"netdeposit",cumulativeSession:"cumulativeSession",sessionLimit:"session"},we={unableToUpdatePendingRequest:["SYS_1037","SYS_1142","SYS_1140"],internalServerError:["F0004","F0006"]},$e=()=>{fetch(E).then(m=>m.json()).then(m=>{Object.keys(m).forEach(c=>{Pe(c,m[c])})}).catch(m=>{console.log(m)})};Object.keys(ae).forEach(o=>{Pe(o,ae[o])});const ge=o=>`dataLayer-${o}`,Y=(o,m)=>{typeof gtag=="function"&&gtag({event:o,limit_category:ae[s][ge(U.toLowerCase())]||U,limit_type:ae[s][ge(y.toLowerCase())]||y,limit_period:ae[s][ge(w.toLowerCase())]||w,limit_amount:x||m})},et=()=>{var h;const o=D.split(",").map(L=>L.split(":")),m=B.split(",").map(L=>L.split(":"));for(let[L,T]of o.entries())if(T[0]!==m[L][0])throw new Error(`Limit config mismatch: "${T[0]}" does not match "${m[L][0]}"`);const c=o.reduce((L,T,M)=>{const G=T[0].slice(T[0].indexOf("(")+1,T[0].indexOf(")")),ne=T[0].slice(0,T[0].indexOf("(")),ue=T[1],ye=m[M][1].trim().replace("D","Daily").replace("W","Weekly").replace("M","Monthly").replace("N","None").split("-"),Ft={value:G,product:ne,minMax:ue,periods:ye,callValue:I[G].callValue,callValue16:I[G].callValue16,title:I[G].title};return L.push(Ft),L},[]);for(let L=0;L<c.length;L++)i(6,A[L].product=c[L].product,A),i(6,A[L].min=parseInt(c[L].minMax.split("-")[0],10),A),i(6,A[L].max=parseInt(c[L].minMax.split("-")[1],10),A),i(5,I[c[L].value].periods=c[L].periods,I);F=(h=A[0])==null?void 0:h.value,A.forEach(L=>{P[L.value]={min:L.min,max:L.max},Qe[L.value]=L.product}),P&&(P[F]?(i(12,O=P[F].min),i(13,b=P[F].max)):(i(12,O=1),i(13,b=9999999)))},tt=()=>{const o=/\(([^)]+)\)/g;return[...D.matchAll(o)].flat().filter(c=>!c.includes("("))},it=()=>{tt().forEach(m=>{I[m]?A.push(ce({},I[m])):console.error(`Unknown limit: ${m}`)}),et(),i(7,y=A[0].value),i(8,w=I[y].periods[0]),U=A[0].product,i(14,ve=A.length>1),i(15,fe=I[y].periods.length>1)},_e=()=>{i(7,y=A[W].value),i(8,w=I[y].periods[0]),i(15,fe=I[y].periods.length>1)},xe=()=>{U=A[W].product},J=o=>{if(o.status>=300)at(o);else return i(18,Le=!1),o.status!==204?o.json():o},at=o=>{i(17,$=!0);let m;throw o.json().then(c=>{for(const h in we)if(we[h].some(L=>c.error.includes(L))){m=h;break}console.error("errType",m),!m&&pe(c)}).finally(()=>{m&&pe(m),i(17,$=!1),i(16,K=!1)}),new Error("An error occured during the fetch request")},nt=()=>{if(!(x>0))return;te(),i(16,K=!0);let o=new URL(`/v2/player/${u}/limits`,p),m={};y==="sessionLimit"?m={sessionLimit:x,sessionLimitUnit:"minute"}:y==="cumulativeSession"?m[I[y].callValue]=[{period:w,minutes:x}]:m[I[y].callValue]=[{period:I[y].periods[0]==="None"?null:w,amount:x,currency:r}];let c={method:"PUT",headers:{"X-SessionID":d,"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify(m)};fetch(o.href,c).then(h=>J(h)).then(h=>{Y("self_limitation_success"),Q()}).catch(h=>{console.error(h)})},ot=()=>{te(),i(16,K=!0);const m=A[W].currentLimits.find(G=>G.period===w),c=m?"v2":"v1",h=new URL(`/${c}/player/${u}/limits/monetary/${m?m.id:""}`,p),L=m?"PUT":"POST",T=m?{amount:x,skipCoolOff:!1}:{amount:x,currency:r,period:I[y].periods[0]==="None"?null:w,type:I[y].callValue16,products:[U!=null?U:"All"],walletTypes:["Deposit","NetDeposit"].includes(I[y].callValue16)?["All"]:["RealCash"]};let M={method:L,headers:{"X-SessionID":d,"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify(T)};fetch(h.href,M).then(G=>J(G)).then(G=>{Y("self_limitation_success"),Q()}).catch(G=>{console.log(G)})},st=()=>{if(!(x>0))return;te(),i(16,K=!0);const o=new URL(`/v1/player/${u}/limits/session/`,p);let h={method:"PUT",headers:{"X-SessionID":d,"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify({sessionLimit:x,sessionLimitUnit:"minute"})};fetch(o.href,h).then(L=>J(L)).then(L=>{Y("self_limitation_success"),Q()}).catch(L=>{console.log(L)})},rt=()=>{if(!(x>0))return;te(),i(16,K=!0);const o=new URL(`/v1/player/${u}/limits/session/`,p);let h={method:"PUT",headers:{"X-SessionID":d,"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify({cumulativeSessionLimits:[{period:w,minutes:x}]})};fetch(o.href,h).then(L=>J(L)).then(L=>{Y("self_limitation_success"),Q()}).catch(L=>{console.log(L)})},lt=()=>{if(!(x>0))return;te(),i(16,K=!0);const o=new URL(`/v2/player/${u}/limit/lugas`,p);let h={method:"POST",headers:{"X-SessionID":d,"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify({amount:x,roleLimitAmount:0,softMigration:!1,keepLimit:!1})};fetch(o.href,h).then(L=>J(L)).then(L=>{i(23,le=L.popup),ke=L.regulatorDepositLimitAmount,Y("self_limitation_success"),Q()}).catch(L=>{console.log(L)})},mt=()=>{if(ie={},f==="gm16")switch(y){case"lugas":lt();break;case"sessionLimit":st();break;case"cumulativeSession":rt();break;default:ot();break}else if(f==="gmcore")nt();else throw Error(`Invalid apiversion attribute: ${f}`);Y("self_limitation_request")},Q=()=>{switch(f){case"gmcore":dt();break;case"gm16":pt();break}},dt=()=>{i(16,K=!0);let o=new URL(`/v2/player/${u}/limits`,p),m={method:"GET",headers:{"X-SessionID":d,"Content-Type":"application/json",Accept:"application/json"}};fetch(o.href,m).then(c=>J(c)).then(c=>{H=c,oe&&pe(),Se(H),ut(H),i(10,x=null)}).catch(c=>{console.error("Error LimitsWidget: ",c),i(17,$=!0)}).finally(()=>{i(16,K=!1)})},pt=()=>{i(16,K=!0),H=[];let o=new URL(`/v1/player/${u}/limits/monetary`,p),m=new URL(`/v1/player/${u}/limits/session`,p),c=!1,h={method:"GET",headers:{"X-SessionID":d,"Content-Type":"application/json",Accept:"application/json"}};fetch(o.href,h).then(L=>J(L)).then(L=>{H.push(L),f==="gmcore"&&Se(H),f==="gm16"&&ct(H),oe&&pe(),i(10,x=null)}).catch(L=>{console.error("Error LimitsWidget: ",L),i(17,$=!0)}).finally(()=>{c&&i(16,K=!1),c=!0}),fetch(m.href,h).then(L=>J(L)).then(L=>{H.push(L),oe&&pe(),f==="gm16"&&ft(H),f==="gm16"&&Lt(H),i(10,x=null)}).catch(L=>{console.error("Error LimitsWidget: ",L),i(17,$=!0)}).finally(()=>{c&&i(16,K=!1),c=!0})},Se=o=>{A.forEach(m=>{m.currentLimits=[];const c=Array.isArray(o[I[m.value].callValue])?o[I[m.value].callValue]:[o[I[m.value].callValue]];c.length===0||c[0]===void 0||(c.forEach((h,L)=>{var M;const T=o[I[m.value].callValue][L];m.currentLimits.push({}),m.currentLimits[L].limitType=m.value,m.currentLimits[L].amount=V?T.amount:Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(T.amount),m.currentLimits[L].currency=(M=se[T.currency])!=null?M:T.currency,m.currentLimits[L].period=T.period,m.currentLimits[L].updateAmount=Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(T.updateAmount),m.currentLimits[L].isModified=T.isModified,m.currentLimits[L].expiryDate=`${new Date(T.expiryDate).toLocaleDateString("en-de",{hour:"numeric",minute:"numeric"}).replaceAll("/",".")} (GMT)`}),m.currentLimits=de(m.currentLimits))})},ut=o=>{const m=n("minutes");A.filter(c=>c.value==="sessionLimit"||c.value==="cumulativeSession").forEach(c=>{var h;c.currentLimits=[],(h=o[I[c.value].callValue])==null||h.forEach((L,T)=>{const M=o[I[c.value].callValue][T];c.currentLimits.push({limitType:c.value,amount:Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(M.minutes),currency:m,isModified:M.isModified,period:c.value==="cumulativeSession"?M.period:"None",updateAmount:Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(M.updateMinutes),expiryDate:`${new Date(M.expiryDate).toLocaleDateString("en-de",{hour:"numeric",minute:"numeric"}).replaceAll("/",".")} (GMT)`})}),c.currentLimits=de(c.currentLimits)})},ct=o=>{var m;(m=o[0])!=null&&m.limits&&A.forEach(c=>{var h;c.currentLimits=[];for(const L of o[0].limits)if(L.type===c.callValue16&&L.products.includes(c.product)){let T=0,M=L.schedules.length>0?L.schedules.find(G=>G.id):{};L.schedules.length>0&&(T=V?M.updateAmount:Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(M.updateAmount)),c.currentLimits.push({limitType:c.value,amount:V?L.amount:Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(L.amount),currency:(h=se[L.currency])!=null?h:L.currency,isModified:L.schedules.length>0,period:L.period,product:L.products[0],updateAmount:T,isCoolOffCompleted:M?M.isCoolOffCompleted:!1,scheduleId:M?M.id:null,expiryDate:L.schedules.length>0?`${new Date(L.schedules[0].applyAt).toLocaleDateString("en-de",{hour:"numeric",minute:"numeric"}).replaceAll("/",".")} (GMT)`:"",id:L.id}),c.currentLimits.forEach(G=>{G.acknowledgedLimit=Object.keys(X).some(ne=>G.scheduleId===ne)})}c.currentLimits=de(c.currentLimits)})},ft=o=>{var m;(m=o[1])!=null&&m.sessionLimit&&A.filter(c=>c.value==="sessionLimit").forEach(c=>{c.currentLimits.push({limitType:"sessionLimit",amount:Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(o[1].sessionLimit.minutes),currency:n("minutes"),isModified:o[1].sessionLimit.isModified,period:"None",updateAmount:Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(o[1].sessionLimit.updateMinutes),expiryDate:o[1].sessionLimit.expiryDate}),c.currentLimits=de(c.currentLimits)})},Lt=o=>{var m;(m=o[1])!=null&&m.cumulativeSessionLimits&&A.filter(c=>c.value==="cumulativeSession").forEach(c=>{for(const h of o[1].cumulativeSessionLimits)c.currentLimits.push({limitType:"cumulativeSession",amount:Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(h.minutes),currency:n("minutes"),isModified:h.isModified,period:h.period,updateAmount:Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(h.updateMinutes),expiryDate:h.expiryDate});c.currentLimits=de(c.currentLimits)})},de=o=>{const m={Daily:0,Weekly:1,Monthly:2};return o.sort((c,h)=>m[c.period]-m[h.period]),o},gt=()=>{const o=x-Math.floor(x)===0;x>=O&&x<=b&&o?(i(24,me=!1),q.removeAttribute("disabled")):(i(24,me=!0),q.setAttribute("disabled","true"))},Ae=()=>{i(24,me=!1),P!=null&&P[y]?(i(12,O=P[y].min),i(13,b=P[y].max)):(i(12,O=1),i(13,b=9999999))},ht=()=>{if(H){const o=H[I[y].callValue].find(h=>h.period===w),m=Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(o.amount);let c=n("popupImmediateUpdate").replace("{selectedLimit}",he()).replace("{updatedAmount}",m).replace("{currency}",se[o.currency]||o.currency).replace("{selectedPeriod}",n(`${w}`));i(21,Z=o.isModified?`${n("popupPendingUpdate")} ${new Date(o.expiryDate).toLocaleDateString("en-de",{hour:"numeric",minute:"numeric"}).replaceAll("/",".")} (GMT)`:c)}i(20,ee=!0)},yt=()=>{var T;const o=((T=H[0])==null?void 0:T.limits)||H.limits;let m=null;if(!H){i(20,ee=!0);return}Object.keys(ie).length>0?m=o.find(M=>M.id===ie.id):m=o.find(M=>M.type.toLowerCase()===be[y].toLowerCase()&&(M.period===w||M.period==="None")&&M.products[0]===U),(m==null?void 0:m.schedules.length)>0&&X[m==null?void 0:m.schedules[0].id]&&(m.amount=m.schedules[0].updateAmount);const c=De(m)||Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(m.amount),h=m.schedules.length>0?`${new Date(m.schedules[0].applyAt).toLocaleDateString("en-de",{hour:"numeric",minute:"numeric"}).replaceAll("/",".")} (GMT)`:"";let L=n("popupImmediateUpdate").replace("{selectedLimit}",he()).replace("{updatedAmount}",c).replace("{selectedPeriod}",n(`${m.period}`));m.schedules.length>0&&X[m.schedules[0].id]?i(21,Z=L):i(21,Z=m.schedules.length>0?`${n("popupPendingUpdate")} ${h}`:L),i(20,ee=!0)},vt=()=>{le==1&&i(22,re="PopupKyc"),le==2&&(i(21,Z=`${n("popup2_a")}${Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(ke)} ${r} ${n("popup2_b")}`),i(22,re="PopupKyc2")),le==3&&(i(21,Z=n("popup3")),i(22,re="PopupSuccess")),i(20,ee=!0)},kt=()=>{i(21,Z=n("sessionLimitUpdated")),i(20,ee=!0)},bt=()=>{if(H){const o=H[I[y].callValue].find(h=>(h.period===w||w==="None")&&h.products[0]===U),m=Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(o.minutes);let c=n("popupImmediateUpdate").replace("{selectedLimit}",n(`${y}`)).replace("{updatedAmount}",m).replace("{currency}",n("minutes")).replace("{selectedPeriod}",n(`${w}`));i(21,Z=o.isModified?`${n("popupPendingUpdate")} ${new Date(o.expiryDate).toLocaleDateString("en-de",{hour:"numeric",minute:"numeric"}).replaceAll("/",".")} (GMT)`:c)}i(20,ee=!0)},wt=o=>{var m;return(m=o==null?void 0:o.error)==null?void 0:m.includes("Limit update is not permitted due to LimitUpdateControl")},_t=o=>{var m;return(m=o==null?void 0:o.error)==null?void 0:m.includes("Limit remove is not permitted due to LimitUpdateControl")},xt=o=>{var m;return(m=o==null?void 0:o.error)==null?void 0:m.includes("[NotFoundException] Limit does not exist")},St=o=>{var m;return(m=o.error)==null?void 0:m.includes("Invalid Session")},pe=o=>{if(window.postMessage({type:"OpenLimitsPopup"},window.location.href),$){if(i(18,Le=!0),!o){i(20,ee=!0);return}o.thirdPartyResponse||i(21,Z=n(`${o}`)),o.thirdPartyResponse&&i(21,Z=o.thirdPartyResponse.message),wt(o)&&i(21,Z=n("popupUpdateLimitException")),_t(o)&&i(21,Z=n("popupRemoveLimitException")),xt(o)&&i(21,Z=n("notFoundException")),St(o)&&i(21,Z=n("sessionExpiredException")),i(20,ee=!0);return}switch(f){case"gmcore":y==="sessionLimit"||y==="cumulativeSession"?bt():ht();break;case"gm16":y==="lugas"?vt():y==="sessionLimit"||y==="cumulativeSession"?kt():yt();break;default:throw new Error(`Invalid apiversion attribute: ${f}`)}},te=()=>{i(19,oe=!0),window.postMessage({type:"DisableScroll"},window.location.href)},At=o=>{i(7,y=o.limitType),i(8,w=o.period),te(),i(16,K=!0);let m=new URL(`/v2/player/${u}/limits/${be[o.limitType]}`,p);o.limitType!=="sessionLimit"&&m.searchParams.append("periods",o.period);let c={method:"DELETE",headers:{"X-SessionID":d,"Content-Type":"application/json",Accept:"application/json"}};fetch(m.href,c).then(h=>J(h)).then(h=>{Y("self_limitation_cancel_success",o.amount),Q()}).catch(h=>{Y("self_limitation_cancel_failed",o.amount),console.log(h),i(17,$=!0)})},Ce=o=>{switch(f){case"gmcore":At(o);break;case"gm16":ie=o,o.limitType==="sessionLimit"||o.limitType==="cumulativeSession"?Ct(o):Tt(o);break}Y("self_limitation_cancel_request",o.amount)},Ct=o=>{const m=new URL(`/v1/player/${u}/limits/session/session`,p),c=new URL(`/v1/player/${u}/limits/session/cumulativeSession?periods=${o.period}`,p);let h;switch(o.limitType){case"sessionLimit":h=m;break;case"cumulativeSession":h=c;break;default:throw Error(`Unknown limit.limitType: ${o.limitType}`)}te(),i(16,K=!0);let L={method:"DELETE",headers:{"X-SessionID":d,"Content-Type":"application/json",Accept:"application/json"}};fetch(h.href,L).then(T=>J(T)).then(T=>{Y("self_limitation_cancel_success",o.amount),Q()}).catch(T=>{Y("self_limitation_cancel_failed",o.amount),console.log(T),i(17,$=!0)})},Tt=o=>{const m=new URL(`/v1/player/${u}/limits/monetary/${o.id}`,p);te(),i(16,K=!0);let c={method:"DELETE",headers:{"X-SessionID":d,"Content-Type":"application/json",Accept:"application/json"}};fetch(m.href,c).then(h=>J(h)).then(h=>{Y("self_limitation_cancel_success",o.amount),Q()}).catch(h=>{Y("self_limitation_cancel_failed",o.amount),console.log(h),i(17,$=!0)})},Te=o=>{const m=new URL(`/v1/player/${u}/limits/schedule/${o.scheduleId}`,p);te(),i(16,K=!0);let c={method:"DELETE",headers:{"X-SessionID":d,"Content-Type":"application/json",Accept:"application/json"}};fetch(m.href,c).then(h=>J(h)).then(h=>{ie=o,Y("self_limitation_cancel_success",o.updateAmount),Q()}).catch(h=>{Y("self_limitation_cancel_failed",o.updateAmount),console.log(h)})},je=o=>{const m=new URL(`v1/player/${u}/limits/schedule/acknowledge/${o.scheduleId}`,p);te(),i(16,K=!0);let c={method:"PATCH",headers:{"X-SessionID":d,"Content-Type":"application/json",Accept:"application/json"}};fetch(m.href,c).then(h=>J(h)).then(h=>{ie=o,jt(o),Y("self_limitation_confirm_success",o.amount),Q()}).catch(h=>{Y("self_limitation_confirm_failed",o.amount),console.log(h)})},jt=o=>{let m=60;i(25,X[o.scheduleId]={},X),i(25,X[o.scheduleId].timer=`${m} ${ae[s].seconds}`,X),i(25,X[o.scheduleId].timerStopped=!1,X);let c=window.setInterval(()=>m===0?(window.clearInterval(c),i(25,X[o.scheduleId].timerStopped=!0,X),i(25,X[o.scheduleId].timer=ae[s].reloadLimitsButton,X)):i(25,X[o.scheduleId].timer=`${--m} ${ae[s].seconds}`,X),1e3)},he=o=>{let m;return o?m=n(o.value+o.product):m=n(y),m},De=(o,m=!1)=>{if(!V)return m?`${o.updateAmount}${o.currency}`:`${o.amount}${o.currency}`;let c=V;const h=c.match(/\{(\d+)decimals\}/),L=h?parseInt(h[1],10):2,T=h?new RegExp("\\{\\d+decimals\\}","g"):"{decimals}";let M=m?o.updateAmount:o.amount;M=parseInt(M).toFixed(L);const[G,ne]=V.includes(".")?[",","."]:[".",","];let[ue,ye]=M.split(".");return ue=ue.replace(/\B(?=(\d{3})+(?!\d))/g,G),M=`${ue}${ne}${ye}`,c=c.replace("{currency}",se[o.currency]||o.currency).replace("{amount}",M.split(ne)[0]).replace(T,M.split(ne)[1]),c},Me=()=>{i(20,ee=i(19,oe=!1)),i(22,re=""),window.postMessage({type:"CloseLimitsPopup"},window.location.href),window.postMessage({type:"EnableScroll"},window.location.href)},Dt=()=>{window.postMessage({type:"uploadDocuments"},window.location.href),Me()},Mt=o=>{o.keyCode===13&&me&&o.preventDefault()},zt=()=>{if(!g)return;let o={};g.split(",").forEach(m=>{let c=m.split(":");o[c[0].trim()]=c[1].trim()}),se=ce(ce({},se),o)},Et=()=>{Yt(s)};e.onMount(()=>()=>{});const Pt=()=>Q(),It=o=>Ce(o),Ut=o=>je(o),Nt=o=>Te(o);function Rt(){W=e.select_value(this),i(9,W)}const Bt=()=>{xe(),_e(),Ae()};function Wt(){w=e.select_value(this),i(8,w),i(5,I),i(7,y)}function Ot(){x=e.to_number(this.value),i(10,x)}function Vt(o){e.binding_callbacks[o?"unshift":"push"](()=>{q=o,i(11,q)})}function qt(o){e.binding_callbacks[o?"unshift":"push"](()=>{_=o,i(4,_)})}return a.$$set=o=>{"lang"in o&&i(42,s=o.lang),"currency"in o&&i(0,r=o.currency),"limits"in o&&i(43,l=o.limits),"session"in o&&i(44,d=o.session),"userid"in o&&i(45,u=o.userid),"endpoint"in o&&i(46,p=o.endpoint),"apiversion"in o&&i(47,f=o.apiversion),"customcurrencysymbols"in o&&i(48,g=o.customcurrencysymbols),"enablecompliancetext"in o&&i(1,S=o.enablecompliancetext),"deletelimit"in o&&i(2,v=o.deletelimit),"amountsconfig"in o&&i(49,D=o.amountsconfig),"periodsconfig"in o&&i(50,B=o.periodsconfig),"limittabindex"in o&&i(3,N=o.limittabindex),"limitformat"in o&&i(51,V=o.limitformat),"clientstyling"in o&&i(52,z=o.clientstyling),"clientstylingurl"in o&&i(53,j=o.clientstylingurl),"translationurl"in o&&i(54,E=o.translationurl),"mbsource"in o&&i(55,C=o.mbsource)},a.$$.update=()=>{a.$$.dirty[1]&131072&&g&&zt(),a.$$.dirty[1]&786432&&B&&D&&it(),a.$$.dirty[1]&2048&&s&&Et(),a.$$.dirty[1]&124928&&u&&d&&p&&f&&s&&Q(),a.$$.dirty[0]&16|a.$$.dirty[1]&2097152&&z&&_&&e.setClientStyling(_,z),a.$$.dirty[0]&16|a.$$.dirty[1]&4194304&&j&&_&&e.setClientStylingURL(_,j),a.$$.dirty[0]&16|a.$$.dirty[1]&16777216&&C&&_&&e.setStreamStyling(_,`${C}.Style`),a.$$.dirty[1]&8388608&&E&&$e()},[r,S,v,N,_,I,A,y,w,W,x,q,O,b,ve,fe,K,$,Le,oe,ee,Z,re,le,me,X,n,R,_e,xe,mt,Q,gt,Ae,Ce,Te,je,he,De,Me,Dt,Mt,s,l,d,u,p,f,g,D,B,V,z,j,E,C,Pt,It,Ut,Nt,Rt,Bt,Wt,Ot,Vt,qt]}class Je extends e.SvelteComponent{constructor(t){super(),e.init(this,t,xi,_i,e.safe_not_equal,{lang:42,currency:0,limits:43,session:44,userid:45,endpoint:46,apiversion:47,customcurrencysymbols:48,enablecompliancetext:1,deletelimit:2,amountsconfig:49,periodsconfig:50,limittabindex:3,limitformat:51,clientstyling:52,clientstylingurl:53,translationurl:54,mbsource:55},Xt,[-1,-1,-1,-1,-1])}get lang(){return this.$$.ctx[42]}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[43]}set limits(t){this.$$set({limits:t}),e.flush()}get session(){return this.$$.ctx[44]}set session(t){this.$$set({session:t}),e.flush()}get userid(){return this.$$.ctx[45]}set userid(t){this.$$set({userid:t}),e.flush()}get endpoint(){return this.$$.ctx[46]}set endpoint(t){this.$$set({endpoint:t}),e.flush()}get apiversion(){return this.$$.ctx[47]}set apiversion(t){this.$$set({apiversion:t}),e.flush()}get customcurrencysymbols(){return this.$$.ctx[48]}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[49]}set amountsconfig(t){this.$$set({amountsconfig:t}),e.flush()}get periodsconfig(){return this.$$.ctx[50]}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[51]}set limitformat(t){this.$$set({limitformat:t}),e.flush()}get clientstyling(){return this.$$.ctx[52]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[53]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get translationurl(){return this.$$.ctx[54]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}get mbsource(){return this.$$.ctx[55]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}}e.create_custom_element(Je,{lang:{},currency:{},limits:{},session:{},userid:{},endpoint:{},apiversion:{},customcurrencysymbols:{},enablecompliancetext:{},deletelimit:{},amountsconfig:{},periodsconfig:{},limittabindex:{},limitformat:{},clientstyling:{},clientstylingurl:{},translationurl:{},mbsource:{}},[],[],!0);exports.default=Je;
24
+ 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(E,C){e.insert(E,t,C),e.append(t,i),e.append(i,n),e.append(i,s),e.append(t,r),e.append(t,l),e.append(t,d),e.append(t,u),e.append(t,p),e.append(t,f),e.append(t,g),e.append(t,S),e.append(t,v),e.append(t,D),e.append(t,B),e.append(t,N),e.append(t,V),e.append(t,z),e.append(t,j)},d(E){E&&e.detach(t)}}}function ii(a){let t,i=a[26]("popupSuccess")+"",n;return{c(){t=e.element("p"),n=e.text(i)},m(s,r){e.insert(s,t,r),e.append(t,n)},p(s,r){r[0]&67108864&&i!==(i=s[26]("popupSuccess")+"")&&e.set_data(n,i)},d(s){s&&e.detach(t)}}}function ai(a){let t,i=a[26]("docsRequired")+"",n;return{c(){t=e.element("p"),n=e.text(i)},m(s,r){e.insert(s,t,r),e.append(t,n)},p(s,r){r[0]&67108864&&i!==(i=s[26]("docsRequired")+"")&&e.set_data(n,i)},d(s){s&&e.detach(t)}}}function ni(a){let t,i=a[26]("popupError")+"",n;return{c(){t=e.element("p"),n=e.text(i)},m(s,r){e.insert(s,t,r),e.append(t,n)},p(s,r){r[0]&67108864&&i!==(i=s[26]("popupError")+"")&&e.set_data(n,i)},d(s){s&&e.detach(t)}}}function oi(a){let t,i=a[26]("okButton")+"",n,s,r;return{c(){t=e.element("button"),n=e.text(i),e.attr(t,"class","ConfirmButton "+(a[27]?"":"Mobile"))},m(l,d){e.insert(l,t,d),e.append(t,n),s||(r=e.listen(t,"click",a[39]),s=!0)},p(l,d){d[0]&67108864&&i!==(i=l[26]("okButton")+"")&&e.set_data(n,i)},d(l){l&&e.detach(t),s=!1,r()}}}function si(a){let t,i=a[26]("uploadDocumentsButton")+"",n,s,r=a[26]("closeButton")+"",l,d,u;return{c(){t=e.element("button"),n=e.space(),s=e.element("button"),l=e.text(r),e.attr(t,"class","ConfirmButton"),e.attr(s,"class","CloseButton")},m(p,f){e.insert(p,t,f),t.innerHTML=i,e.insert(p,n,f),e.insert(p,s,f),e.append(s,l),d||(u=[e.listen(t,"click",a[40]),e.listen(s,"click",a[39])],d=!0)},p(p,f){f[0]&67108864&&i!==(i=p[26]("uploadDocumentsButton")+"")&&(t.innerHTML=i),f[0]&67108864&&r!==(r=p[26]("closeButton")+"")&&e.set_data(l,r)},d(p){p&&(e.detach(t),e.detach(n),e.detach(s)),d=!1,e.run_all(u)}}}function ri(a){let t,i,n,s,r,l,d=a[26]("setLimit")+"",u,p,f,g,S,v,D,B=a[15]?`${a[26]("amount")}`:`${a[26](`new${a[8]}Limit`)}`,N,V,z,j,E,C,_=a[26]("setLimit")+"",k,R,A,y,w=e.ensure_array_like(a[6]),U=[];for(let b=0;b<w.length;b+=1)U[b]=Fe(Ne(a,w,b));let W=a[1]==="true"&&Ge(a),x=a[14]&&Ke(a),q=a[15]&&Ye(a),O=a[24]&&Ze(a);return{c(){t=e.element("div"),i=e.element("div"),n=e.element("div");for(let b=0;b<U.length;b+=1)U[b].c();s=e.space(),r=e.element("form"),l=e.element("p"),u=e.text(d),p=e.space(),W&&W.c(),f=e.space(),x&&x.c(),g=e.space(),q&&q.c(),S=e.space(),v=e.element("label"),D=e.element("span"),N=e.text(B),V=e.space(),z=e.element("input"),j=e.space(),O&&O.c(),E=e.space(),C=e.element("button"),k=e.text(_),e.attr(n,"class","LimitsList"),e.attr(l,"class","LimitTitle "+(a[27]?"":"Mobile")),e.attr(D,"class","LimitInputText"),e.attr(z,"type","number"),e.attr(z,"pattern","[0-9]*"),e.attr(v,"class","LimitAmountInputWrapper "+(a[27]?"":"Mobile")),e.attr(C,"class","LimitSubmitButton "+(a[27]?"":"Mobile")),e.attr(C,"type","button"),C.disabled=!0,e.attr(r,"class","LimitsInteractionArea "+(a[27]?"":"Mobile")),e.attr(i,"class","LimitsPageContainer"),e.attr(t,"class",R="player-account-gaming-limits-page-2-gm16 "+("LimitTab"+a[3]))},m(b,F){e.insert(b,t,F),e.append(t,i),e.append(i,n);for(let P=0;P<U.length;P+=1)U[P]&&U[P].m(n,null);e.append(i,s),e.append(i,r),e.append(r,l),e.append(l,u),e.append(r,p),W&&W.m(r,null),e.append(r,f),x&&x.m(r,null),e.append(r,g),q&&q.m(r,null),e.append(r,S),e.append(r,v),e.append(v,D),e.append(D,N),e.append(v,V),e.append(v,z),e.set_input_value(z,a[10]),e.append(v,j),O&&O.m(v,null),e.append(r,E),e.append(r,C),e.append(C,k),a[64](C),A||(y=[e.listen(z,"input",a[63]),e.listen(z,"keydown",a[41]),e.listen(z,"keyup",a[32]),e.listen(C,"click",a[30]),e.listen(r,"submit",a[30])],A=!0)},p(b,F){if(F[0]&234881092|F[1]&249){w=e.ensure_array_like(b[6]);let P;for(P=0;P<w.length;P+=1){const ie=Ne(b,w,P);U[P]?U[P].p(ie,F):(U[P]=Fe(ie),U[P].c(),U[P].m(n,null))}for(;P<U.length;P+=1)U[P].d(1);U.length=w.length}F[0]&67108864&&d!==(d=b[26]("setLimit")+"")&&e.set_data(u,d),b[1]==="true"?W?W.p(b,F):(W=Ge(b),W.c(),W.m(r,f)):W&&(W.d(1),W=null),b[14]?x?x.p(b,F):(x=Ke(b),x.c(),x.m(r,g)):x&&(x.d(1),x=null),b[15]?q?q.p(b,F):(q=Ye(b),q.c(),q.m(r,S)):q&&(q.d(1),q=null),F[0]&67141888&&B!==(B=b[15]?`${b[26]("amount")}`:`${b[26](`new${b[8]}Limit`)}`)&&e.set_data(N,B),F[0]&1024&&e.to_number(z.value)!==b[10]&&e.set_input_value(z,b[10]),b[24]?O?O.p(b,F):(O=Ze(b),O.c(),O.m(v,null)):O&&(O.d(1),O=null),F[0]&67108864&&_!==(_=b[26]("setLimit")+"")&&e.set_data(k,_),F[0]&8&&R!==(R="player-account-gaming-limits-page-2-gm16 "+("LimitTab"+b[3]))&&e.attr(t,"class",R)},d(b){b&&e.detach(t),e.destroy_each(U,b),W&&W.d(),x&&x.d(),q&&q.d(),O&&O.d(),a[64](null),A=!1,e.run_all(y)}}}function li(a){let t;return{c(){t=e.element("p"),t.textContent="500 Server error"},m(i,n){e.insert(i,t,n)},p:e.noop,d(i){i&&e.detach(t)}}}function mi(a){let t,i,n,s,r,l,d=e.ensure_array_like(Array(3)),u=[];for(let p=0;p<d.length;p+=1)u[p]=wi(Zt(a,d,p));return{c(){t=e.element("div"),i=e.element("div"),i.innerHTML='<ui-skeleton width="auto" height="25px" structure="text" margin-right="auto"></ui-skeleton>',n=e.space(),s=e.element("div");for(let p=0;p<u.length;p+=1)u[p].c();r=e.space(),l=e.element("div"),l.innerHTML='<div class="skletonHeader"><ui-skeleton width="auto" height="25px" structure="title" margin-right="auto"></ui-skeleton></div> <div class="skletonSubText"><ui-skeleton width="auto" height="15px" structure="text" margin-right="auto"></ui-skeleton></div> <div class="skeletonPeriod"><ui-skeleton width="auto" height="40px" structure="rectangle" margin-right="auto"></ui-skeleton></div> <div class="skletonSubText"><ui-skeleton width="auto" height="15px" structure="text" margin-right="auto"></ui-skeleton></div> <div class="skeletonInputAmount"><ui-skeleton width="auto" height="40px" structure="rectangle" margin-right="auto"></ui-skeleton></div> <div class="skeletonButton"><ui-skeleton width="auto" height="50px" structure="rectangle" margin-right="auto"></ui-skeleton></div>',e.attr(i,"class","skeletonLimitText"),e.attr(s,"class","skeletonLimitWrapper"),e.attr(l,"class","skeletonInputWrapper"),e.attr(t,"class","skeletonLimitContainer")},m(p,f){e.insert(p,t,f),e.append(t,i),e.append(t,n),e.append(t,s);for(let g=0;g<u.length;g+=1)u[g]&&u[g].m(s,null);e.append(t,r),e.append(t,l)},p:e.noop,d(p){p&&e.detach(t),e.destroy_each(u,p)}}}function di(a){let t,i,n,s=a[26]("noLimitText")+"",r;return{c(){t=e.element("div"),i=e.element("div"),n=e.element("div"),r=e.text(s),e.attr(n,"class","LimitDetailsTextWrapper "+(a[27]?"":"Mobile")),e.attr(i,"class","LimitDetailsWrapper"),e.attr(t,"class","LimitDetails")},m(l,d){e.insert(l,t,d),e.append(t,i),e.append(i,n),e.append(n,r)},p(l,d){d[0]&67108864&&s!==(s=l[26]("noLimitText")+"")&&e.set_data(r,s)},d(l){l&&e.detach(t)}}}function pi(a){let t,i,n,s=a[26]("lugasPrivacy")+"",r;return{c(){t=e.element("div"),i=e.element("div"),n=e.element("div"),r=e.text(s),e.attr(n,"class","LimitDetailsTextWrapper "+(a[27]?"":"Mobile")),e.attr(i,"class","LimitDetailsWrapper"),e.attr(t,"class","LimitDetails")},m(l,d){e.insert(l,t,d),e.append(t,i),e.append(i,n),e.append(n,r)},p(l,d){d[0]&67108864&&s!==(s=l[26]("lugasPrivacy")+"")&&e.set_data(r,s)},d(l){l&&e.detach(t)}}}function ui(a){let t,i=e.ensure_array_like(a[122].currentLimits),n=[];for(let s=0;s<i.length;s+=1)n[s]=qe(Re(a,i,s));return{c(){for(let s=0;s<n.length;s+=1)n[s].c();t=e.empty()},m(s,r){for(let l=0;l<n.length;l+=1)n[l]&&n[l].m(s,r);e.insert(s,t,r)},p(s,r){if(r[0]&234881092|r[1]&185){i=e.ensure_array_like(s[122].currentLimits);let l;for(l=0;l<i.length;l+=1){const d=Re(s,i,l);n[l]?n[l].p(d,r):(n[l]=qe(d),n[l].c(),n[l].m(t.parentNode,t))}for(;l<n.length;l+=1)n[l].d(1);n.length=i.length}},d(s){s&&e.detach(t),e.destroy_each(n,s)}}}function ci(a){let t,i,n,s=a[26]("lugasPrivacy")+"",r;return{c(){t=e.element("div"),i=e.element("div"),n=e.element("div"),r=e.text(s),e.attr(n,"class","LimitDetailsTextWrapper "+(a[27]?"":"Mobile")),e.attr(i,"class","LimitDetailsWrapper"),e.attr(t,"class","LimitDetails")},m(l,d){e.insert(l,t,d),e.append(t,i),e.append(i,n),e.append(n,r)},p(l,d){d[0]&67108864&&s!==(s=l[26]("lugasPrivacy")+"")&&e.set_data(r,s)},d(l){l&&e.detach(t)}}}function fi(a){let t,i=`${a[38](a[127])}`,n;return{c(){t=e.element("span"),n=e.text(i)},m(s,r){e.insert(s,t,r),e.append(t,n)},p(s,r){r[0]&64&&i!==(i=`${s[38](s[127])}`)&&e.set_data(n,i)},d(s){s&&e.detach(t)}}}function Li(a){let t,i=`${a[38](a[127],!0)}`,n;return{c(){t=e.element("span"),n=e.text(i)},m(s,r){e.insert(s,t,r),e.append(t,n)},p(s,r){r[0]&64&&i!==(i=`${s[38](s[127],!0)}`)&&e.set_data(n,i)},d(s){s&&e.detach(t)}}}function gi(a){let t,i,n=`${a[38](a[127],!0)}`,s,r;function l(p,f){return p[127].isCoolOffCompleted?bi:ki}let d=l(a),u=d(a);return{c(){t=e.element("div"),i=e.element("span"),s=e.text(n),r=e.space(),u.c(),e.attr(t,"class","PendingLimit")},m(p,f){e.insert(p,t,f),e.append(t,i),e.append(i,s),e.append(t,r),u.m(t,null)},p(p,f){f[0]&64&&n!==(n=`${p[38](p[127],!0)}`)&&e.set_data(s,n),d===(d=l(p))&&u?u.p(p,f):(u.d(1),u=d(p),u&&(u.c(),u.m(t,null)))},d(p){p&&e.detach(t),u.d()}}}function hi(a){let t,i=`${a[26]("removedLimitText")} ${a[127].expiryDate}`,n;return{c(){t=e.element("div"),n=e.text(i),e.attr(t,"class","PendingLimit")},m(s,r){e.insert(s,t,r),e.append(t,n)},p(s,r){r[0]&67108928&&i!==(i=`${s[26]("removedLimitText")} ${s[127].expiryDate}`)&&e.set_data(n,i)},d(s){s&&e.detach(t)}}}function yi(a){let t,i=`${a[26]("removeAfterConfirm")}`,n;return{c(){t=e.element("div"),n=e.text(i),e.attr(t,"class","PendingLimit")},m(s,r){e.insert(s,t,r),e.append(t,n)},p(s,r){r[0]&67108864&&i!==(i=`${s[26]("removeAfterConfirm")}`)&&e.set_data(n,i)},d(s){s&&e.detach(t)}}}function vi(a){let t,i=`${a[26]("acknowledgedLimit")}`,n;return{c(){t=e.element("div"),n=e.text(i),e.attr(t,"class","PendingLimit")},m(s,r){e.insert(s,t,r),e.append(t,n)},p(s,r){r[0]&67108864&&i!==(i=`${s[26]("acknowledgedLimit")}`)&&e.set_data(n,i)},d(s){s&&e.detach(t)}}}function ki(a){let t=`${a[127].period!=="None"||a[127].value!=="cumulativeSession"?" ":a[26]("per")} ${a[26](`${a[127].period}`)} ${a[26]("updateText")} ${a[127].expiryDate}`,i;return{c(){i=e.text(t)},m(n,s){e.insert(n,i,s)},p(n,s){s[0]&67108928&&t!==(t=`${n[127].period!=="None"||n[127].value!=="cumulativeSession"?" ":n[26]("per")} ${n[26](`${n[127].period}`)} ${n[26]("updateText")} ${n[127].expiryDate}`)&&e.set_data(i,t)},d(n){n&&e.detach(i)}}}function bi(a){let t=`${a[127].period!=="None"||a[127].value!=="cumulativeSession"?" ":a[26]("per")} ${a[26](`${a[127].period}`)} ${a[26]("updateAfterConfirm")}`,i;return{c(){i=e.text(t)},m(n,s){e.insert(n,i,s)},p(n,s){s[0]&67108928&&t!==(t=`${n[127].period!=="None"||n[127].value!=="cumulativeSession"?" ":n[26]("per")} ${n[26](`${n[127].period}`)} ${n[26]("updateAfterConfirm")}`)&&e.set_data(i,t)},d(n){n&&e.detach(i)}}}function We(a){let t,i,n=a[25][a[127].scheduleId].timer+"",s,r,l,d;return{c(){t=e.element("div"),i=e.element("button"),s=e.text(n),e.attr(i,"class",r="ReloadLimitButton "+(a[27]?"":"Mobile")+" "+(a[25][a[127].scheduleId].timerStopped?"":"disabled")),e.attr(t,"class","ContainerLimitActions "+(a[27]?"":"Mobile"))},m(u,p){e.insert(u,t,p),e.append(t,i),e.append(i,s),l||(d=e.listen(i,"click",a[56]),l=!0)},p(u,p){p[0]&33554496&&n!==(n=u[25][u[127].scheduleId].timer+"")&&e.set_data(s,n),p[0]&33554496&&r!==(r="ReloadLimitButton "+(u[27]?"":"Mobile")+" "+(u[25][u[127].scheduleId].timerStopped?"":"disabled"))&&e.attr(i,"class",r)},d(u){u&&e.detach(t),l=!1,d()}}}function Oe(a){let t,i,n=a[26]("removeLimit")+"",s,r,l;function d(){return a[57](a[127])}return{c(){t=e.element("div"),i=e.element("button"),s=e.text(n),e.attr(i,"class","RemoveLimitButton "+(a[27]?"":"Mobile")),e.attr(t,"class","ContainerLimitActions "+(a[27]?"":"Mobile"))},m(u,p){e.insert(u,t,p),e.append(t,i),e.append(i,s),r||(l=e.listen(i,"click",d),r=!0)},p(u,p){a=u,p[0]&67108864&&n!==(n=a[26]("removeLimit")+"")&&e.set_data(s,n)},d(u){u&&e.detach(t),r=!1,l()}}}function Ve(a){let t,i,n=a[26]("confirmUpdateLimit")+"",s,r,l,d=a[26]("cancelUpdateLimit")+"",u,p,f;function g(){return a[58](a[127])}function S(){return a[59](a[127])}return{c(){t=e.element("div"),i=e.element("button"),s=e.text(n),r=e.space(),l=e.element("button"),u=e.text(d),e.attr(i,"class","ConfirmLimitButton "+(a[27]?"":"Mobile")),e.attr(l,"class","CancelLimitButton "+(a[27]?"":"Mobile")),e.attr(t,"class","ContainerLimitActions "+(a[27]?"":"Mobile"))},m(v,D){e.insert(v,t,D),e.append(t,i),e.append(i,s),e.append(t,r),e.append(t,l),e.append(l,u),p||(f=[e.listen(i,"click",g),e.listen(l,"click",S)],p=!0)},p(v,D){a=v,D[0]&67108864&&n!==(n=a[26]("confirmUpdateLimit")+"")&&e.set_data(s,n),D[0]&67108864&&d!==(d=a[26]("cancelUpdateLimit")+"")&&e.set_data(u,d)},d(v){v&&e.detach(t),p=!1,e.run_all(f)}}}function qe(a){let t,i,n,s,r,l=`${a[127].period!=="None"||a[127].value!=="cumulativeSession"?" ":a[26]("per")} ${a[26](`${a[127].period}`)}`,d,u,p,f,g=!a[127].isModified&&a[2].indexOf(a[122].value)>-1,S,v;function D(k,R){return k[127].acknowledgedLimit?Li:fi}let B=D(a),N=B(a);function V(k,R){if(k[127].acknowledgedLimit)return vi;if(k[127].isModified&&k[127].updateAmount==0&&k[127].isCoolOffCompleted)return yi;if(k[127].isModified&&k[127].updateAmount==0&&!k[127].isCoolOffCompleted)return hi;if(k[127].isModified)return gi}let z=V(a),j=z&&z(a),E=a[127].acknowledgedLimit&&We(a),C=g&&Oe(a),_=a[127].isCoolOffCompleted&!a[127].acknowledgedLimit&&Ve(a);return{c(){t=e.element("div"),i=e.element("div"),n=e.element("div"),s=e.element("div"),N.c(),r=e.space(),d=e.text(l),u=e.space(),j&&j.c(),p=e.space(),E&&E.c(),f=e.space(),C&&C.c(),S=e.space(),_&&_.c(),v=e.space(),e.attr(s,"class","CurrentLimit"),e.attr(n,"class","CurrentLimitContainer"),e.attr(i,"class","LimitDetailsTextWrapper "+(a[27]?"":"Mobile")),e.attr(t,"class","LimitDetails")},m(k,R){e.insert(k,t,R),e.append(t,i),e.append(i,n),e.append(n,s),N.m(s,null),e.append(s,r),e.append(s,d),e.append(n,u),j&&j.m(n,null),e.append(i,p),E&&E.m(i,null),e.append(i,f),C&&C.m(i,null),e.append(i,S),_&&_.m(i,null),e.append(t,v)},p(k,R){B===(B=D(k))&&N?N.p(k,R):(N.d(1),N=B(k),N&&(N.c(),N.m(s,r))),R[0]&67108928&&l!==(l=`${k[127].period!=="None"||k[127].value!=="cumulativeSession"?" ":k[26]("per")} ${k[26](`${k[127].period}`)}`)&&e.set_data(d,l),z===(z=V(k))&&j?j.p(k,R):(j&&j.d(1),j=z&&z(k),j&&(j.c(),j.m(n,null))),k[127].acknowledgedLimit?E?E.p(k,R):(E=We(k),E.c(),E.m(i,f)):E&&(E.d(1),E=null),R[0]&68&&(g=!k[127].isModified&&k[2].indexOf(k[122].value)>-1),g?C?C.p(k,R):(C=Oe(k),C.c(),C.m(i,S)):C&&(C.d(1),C=null),k[127].isCoolOffCompleted&!k[127].acknowledgedLimit?_?_.p(k,R):(_=Ve(k),_.c(),_.m(i,null)):_&&(_.d(1),_=null)},d(k){k&&e.detach(t),N.d(),j&&j.d(),E&&E.d(),C&&C.d(),_&&_.d()}}}function Fe(a){let t,i=a[37](a[122])+"",n,s,r,l;function d(f,g){return f[122].value==="lugas"?ci:f[122].currentLimits.length>0?ui:f[122].value==="lugas"?pi:di}let u=d(a),p=u(a);return{c(){t=e.element("p"),n=e.text(i),s=e.space(),r=e.element("div"),p.c(),l=e.space(),e.attr(t,"class","LimitTitle "+(a[27]?"":"Mobile")),e.attr(r,"class","LimitWrapper "+(a[27]?"":"Mobile"))},m(f,g){e.insert(f,t,g),e.append(t,n),e.insert(f,s,g),e.insert(f,r,g),p.m(r,null),e.append(r,l)},p(f,g){g[0]&64&&i!==(i=f[37](f[122])+"")&&e.set_data(n,i),u===(u=d(f))&&p?p.p(f,g):(p.d(1),p=u(f),p&&(p.c(),p.m(r,l)))},d(f){f&&(e.detach(t),e.detach(s),e.detach(r)),p.d()}}}function Ge(a){let t,i,n=a[26]("complianceText")+"",s;return{c(){t=e.element("div"),i=e.element("p"),s=e.text(n),e.attr(i,"class","LimitComplianceText"),e.attr(t,"class","LimitCompliance")},m(r,l){e.insert(r,t,l),e.append(t,i),e.append(i,s)},p(r,l){l[0]&67108864&&n!==(n=r[26]("complianceText")+"")&&e.set_data(s,n)},d(r){r&&e.detach(t)}}}function Ke(a){let t,i,n=a[26]("limitType")+"",s,r,l,d,u,p=e.ensure_array_like(a[6]),f=[];for(let g=0;g<p.length;g+=1)f[g]=He(Ue(a,p,g));return{c(){t=e.element("label"),i=e.element("span"),s=e.text(n),r=e.space(),l=e.element("select");for(let g=0;g<f.length;g+=1)f[g].c();e.attr(i,"class","LimitSelectText"),e.attr(l,"name",""),e.attr(l,"id",""),a[9]===void 0&&e.add_render_callback(()=>a[60].call(l)),e.attr(t,"class","LimitTypeDropdownWrapper "+(a[27]?"":"Mobile"))},m(g,S){e.insert(g,t,S),e.append(t,i),e.append(i,s),e.append(t,r),e.append(t,l);for(let v=0;v<f.length;v+=1)f[v]&&f[v].m(l,null);e.select_option(l,a[9],!0),d||(u=[e.listen(l,"change",a[60]),e.listen(l,"change",a[61])],d=!0)},p(g,S){if(S[0]&67108864&&n!==(n=g[26]("limitType")+"")&&e.set_data(s,n),S[0]&64|S[1]&64){p=e.ensure_array_like(g[6]);let v;for(v=0;v<p.length;v+=1){const D=Ue(g,p,v);f[v]?f[v].p(D,S):(f[v]=He(D),f[v].c(),f[v].m(l,null))}for(;v<f.length;v+=1)f[v].d(1);f.length=p.length}S[0]&512&&e.select_option(l,g[9])},d(g){g&&e.detach(t),e.destroy_each(f,g),d=!1,e.run_all(u)}}}function He(a){let t,i=a[37](a[122])+"",n;return{c(){t=e.element("option"),n=e.text(i),t.__value=a[124],e.set_input_value(t,t.__value)},m(s,r){e.insert(s,t,r),e.append(t,n)},p(s,r){r[0]&64&&i!==(i=s[37](s[122])+"")&&e.set_data(n,i)},d(s){s&&e.detach(t)}}}function Ye(a){let t,i,n=a[26]("period")+"",s,r,l,d,u,p=e.ensure_array_like(a[5][a[7]].periods),f=[];for(let g=0;g<p.length;g+=1)f[g]=Xe(Ie(a,p,g));return{c(){t=e.element("label"),i=e.element("span"),s=e.text(n),r=e.space(),l=e.element("select");for(let g=0;g<f.length;g+=1)f[g].c();e.attr(i,"class","PeriodSelectText"),e.attr(l,"name",""),e.attr(l,"id",""),a[8]===void 0&&e.add_render_callback(()=>a[62].call(l)),e.attr(t,"class","LimitPeriodDropdownWrapper "+(a[27]?"":"Mobile"))},m(g,S){e.insert(g,t,S),e.append(t,i),e.append(i,s),e.append(t,r),e.append(t,l);for(let v=0;v<f.length;v+=1)f[v]&&f[v].m(l,null);e.select_option(l,a[8],!0),d||(u=e.listen(l,"change",a[62]),d=!0)},p(g,S){if(S[0]&67108864&&n!==(n=g[26]("period")+"")&&e.set_data(s,n),S[0]&67109024){p=e.ensure_array_like(g[5][g[7]].periods);let v;for(v=0;v<p.length;v+=1){const D=Ie(g,p,v);f[v]?f[v].p(D,S):(f[v]=Xe(D),f[v].c(),f[v].m(l,null))}for(;v<f.length;v+=1)f[v].d(1);f.length=p.length}S[0]&416&&e.select_option(l,g[8])},d(g){g&&e.detach(t),e.destroy_each(f,g),d=!1,u()}}}function Xe(a){let t,i=a[26](a[119])+"",n,s;return{c(){t=e.element("option"),n=e.text(i),t.__value=s=a[119],e.set_input_value(t,t.__value),t.selected=!0},m(r,l){e.insert(r,t,l),e.append(t,n)},p(r,l){l[0]&67109024&&i!==(i=r[26](r[119])+"")&&e.set_data(n,i),l[0]&160&&s!==(s=r[119])&&(t.__value=s,e.set_input_value(t,t.__value))},d(r){r&&e.detach(t)}}}function Ze(a){let t,i=a[10]<a[12]?`${a[26]("invalidInputMessageLimitMin",{values:{minValue:a[12],currency:a[0]}})}`:`${a[26]("invalidInputMessageLimitMax",{values:{maxValue:a[13],currency:a[0]}})}`,n;return{c(){t=e.element("p"),n=e.text(i),e.attr(t,"class","InvalidInput")},m(s,r){e.insert(s,t,r),e.append(t,n)},p(s,r){r[0]&67122177&&i!==(i=s[10]<s[12]?`${s[26]("invalidInputMessageLimitMin",{values:{minValue:s[12],currency:s[0]}})}`:`${s[26]("invalidInputMessageLimitMax",{values:{maxValue:s[13],currency:s[0]}})}`)&&e.set_data(n,i)},d(s){s&&e.detach(t)}}}function wi(a){let t;return{c(){t=e.element("div"),t.innerHTML='<div class="skeletonLimitAmount"><div class="skeletonAmountText"><ui-skeleton width="auto" height="20px" structure="text" margin-right="auto"></ui-skeleton></div> <div class="skeletonSubText"><ui-skeleton width="auto" height="20px" structure="text" margin-right="auto"></ui-skeleton></div></div> <div class="skeletonLimitButton"><div><ui-skeleton width="auto" height="40px" structure="rectangle" margin-right="auto"></ui-skeleton></div> <div><ui-skeleton width="auto" height="40px" structure="rectangle" margin-right="auto"></ui-skeleton></div></div> ',e.attr(t,"class","skeletonLimitContent")},m(i,n){e.insert(i,t,n)},p:e.noop,d(i){i&&e.detach(t)}}}function _i(a){let t,i,n=a[19]&&Be(a);function s(d,u){if(d[16])return mi;if(d[17])return li;if(!d[16])return ri}let r=s(a),l=r&&r(a);return{c(){t=e.element("div"),n&&n.c(),i=e.space(),l&&l.c()},m(d,u){e.insert(d,t,u),n&&n.m(t,null),e.append(t,i),l&&l.m(t,null),a[65](t)},p(d,u){d[19]?n?n.p(d,u):(n=Be(d),n.c(),n.m(t,i)):n&&(n.d(1),n=null),r===(r=s(d))&&l?l.p(d,u):(l&&l.d(1),l=r&&r(d),l&&(l.c(),l.m(t,null)))},i:e.noop,o:e.noop,d(d){d&&e.detach(t),n&&n.d(),l&&l.d(),a[65](null)}}}function xi(a,t,i){let n;e.component_subscribe(a,e.$format,o=>i(26,n=o));let{lang:s="en"}=t,{currency:r=""}=t,{limits:l=""}=t,{session:d=""}=t,{userid:u=""}=t,{endpoint:p=""}=t,{apiversion:f=""}=t,{customcurrencysymbols:g=""}=t,{enablecompliancetext:S=""}=t,{deletelimit:v=""}=t,{amountsconfig:D=""}=t,{periodsconfig:B=""}=t,{limittabindex:N=""}=t,{limitformat:V=""}=t,{clientstyling:z=""}=t,{clientstylingurl:j=""}=t,{translationurl:E=""}=t,{mbsource:C}=t,_,k=window.navigator.userAgent,R=!e.isMobile(k),A=[],y="",w="",U="",W=0,x,q,O="",b="",F="",P={},ie={},ve=!1,fe=!1,K=!0,$=!1,Le=!1,oe=!1,ee=!1,Z="",re="",H=[],le,ke,me=!1,Qe={},se={EUR:"€",RON:" lei",USD:"$"},X={};const be={wager:"wagering",loss:"loss",deposit:"deposit",netdeposit:"netdeposit",cumulativeSession:"cumulativeSession",sessionLimit:"session"},we={unableToUpdatePendingRequest:["SYS_1037","SYS_1142","SYS_1140"],internalServerError:["F0004","F0006"]},$e=()=>{fetch(E).then(m=>m.json()).then(m=>{Object.keys(m).forEach(c=>{Pe(c,m[c])})}).catch(m=>{console.log(m)})};Object.keys(ae).forEach(o=>{Pe(o,ae[o])});const ge=o=>`dataLayer-${o}`,Y=(o,m)=>{typeof gtag=="function"&&gtag({event:o,limit_category:ae[s][ge(U.toLowerCase())]||U,limit_type:ae[s][ge(y.toLowerCase())]||y,limit_period:ae[s][ge(w.toLowerCase())]||w,limit_amount:x||m})},et=()=>{var h;const o=D.split(",").map(L=>L.split(":")),m=B.split(",").map(L=>L.split(":"));for(let[L,T]of o.entries())if(T[0]!==m[L][0])throw new Error(`Limit config mismatch: "${T[0]}" does not match "${m[L][0]}"`);const c=o.reduce((L,T,M)=>{const G=T[0].slice(T[0].indexOf("(")+1,T[0].indexOf(")")),ne=T[0].slice(0,T[0].indexOf("(")),ue=T[1],ye=m[M][1].trim().replace("D","Daily").replace("W","Weekly").replace("M","Monthly").replace("N","None").split("-"),Ft={value:G,product:ne,minMax:ue,periods:ye,callValue:I[G].callValue,callValue16:I[G].callValue16,title:I[G].title};return L.push(Ft),L},[]);for(let L=0;L<c.length;L++)i(6,A[L].product=c[L].product,A),i(6,A[L].min=parseInt(c[L].minMax.split("-")[0],10),A),i(6,A[L].max=parseInt(c[L].minMax.split("-")[1],10),A),i(5,I[c[L].value].periods=c[L].periods,I);F=(h=A[0])==null?void 0:h.value,A.forEach(L=>{P[L.value]={min:L.min,max:L.max},Qe[L.value]=L.product}),P[F]?(i(12,O=P[F].min),i(13,b=P[F].max)):(i(12,O=1),i(13,b=9999999))},tt=()=>{const o=/\(([^)]+)\)/g;return[...D.matchAll(o)].flat().filter(c=>!c.includes("("))},it=()=>{tt().forEach(m=>{I[m]?A.push(ce({},I[m])):console.error(`Unknown limit: ${m}`)}),et(),i(7,y=A[0].value),i(8,w=I[y].periods[0]),U=A[0].product,i(14,ve=A.length>1),i(15,fe=I[y].periods.length>1)},_e=()=>{i(7,y=A[W].value),i(8,w=I[y].periods[0]),i(15,fe=I[y].periods.length>1)},xe=()=>{U=A[W].product},J=o=>{if(o.status>=300)at(o);else return i(18,Le=!1),o.status!==204?o.json():o},at=o=>{i(17,$=!0);let m;throw o.json().then(c=>{for(const h in we)if(we[h].some(L=>c.error.includes(L))){m=h;break}console.error("errType",m),!m&&pe(c)}).finally(()=>{m&&pe(m),i(17,$=!1),i(16,K=!1)}),new Error("An error occured during the fetch request")},nt=()=>{if(!(x>0))return;te(),i(16,K=!0);let o=new URL(`/v2/player/${u}/limits`,p),m={};y==="sessionLimit"?m={sessionLimit:x,sessionLimitUnit:"minute"}:y==="cumulativeSession"?m[I[y].callValue]=[{period:w,minutes:x}]:m[I[y].callValue]=[{period:I[y].periods[0]==="None"?null:w,amount:x,currency:r}];let c={method:"PUT",headers:{"X-SessionID":d,"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify(m)};fetch(o.href,c).then(h=>J(h)).then(h=>{Y("self_limitation_success"),Q()}).catch(h=>{console.error(h)})},ot=()=>{te(),i(16,K=!0);const m=A[W].currentLimits.find(G=>G.period===w),c=m?"v2":"v1",h=new URL(`/${c}/player/${u}/limits/monetary/${m?m.id:""}`,p),L=m?"PUT":"POST",T=m?{amount:x,skipCoolOff:!1}:{amount:x,currency:r,period:I[y].periods[0]==="None"?null:w,type:I[y].callValue16,products:[U!=null?U:"All"],walletTypes:["Deposit","NetDeposit"].includes(I[y].callValue16)?["All"]:["RealCash"]};let M={method:L,headers:{"X-SessionID":d,"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify(T)};fetch(h.href,M).then(G=>J(G)).then(G=>{Y("self_limitation_success"),Q()}).catch(G=>{console.log(G)})},st=()=>{if(!(x>0))return;te(),i(16,K=!0);const o=new URL(`/v1/player/${u}/limits/session/`,p);let h={method:"PUT",headers:{"X-SessionID":d,"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify({sessionLimit:x,sessionLimitUnit:"minute"})};fetch(o.href,h).then(L=>J(L)).then(L=>{Y("self_limitation_success"),Q()}).catch(L=>{console.log(L)})},rt=()=>{if(!(x>0))return;te(),i(16,K=!0);const o=new URL(`/v1/player/${u}/limits/session/`,p);let h={method:"PUT",headers:{"X-SessionID":d,"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify({cumulativeSessionLimits:[{period:w,minutes:x}]})};fetch(o.href,h).then(L=>J(L)).then(L=>{Y("self_limitation_success"),Q()}).catch(L=>{console.log(L)})},lt=()=>{if(!(x>0))return;te(),i(16,K=!0);const o=new URL(`/v2/player/${u}/limit/lugas`,p);let h={method:"POST",headers:{"X-SessionID":d,"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify({amount:x,roleLimitAmount:0,softMigration:!1,keepLimit:!1})};fetch(o.href,h).then(L=>J(L)).then(L=>{i(23,le=L.popup),ke=L.regulatorDepositLimitAmount,Y("self_limitation_success"),Q()}).catch(L=>{console.log(L)})},mt=()=>{if(ie={},f==="gm16")switch(y){case"lugas":lt();break;case"sessionLimit":st();break;case"cumulativeSession":rt();break;default:ot();break}else if(f==="gmcore")nt();else throw Error(`Invalid apiversion attribute: ${f}`);Y("self_limitation_request")},Q=()=>{switch(f){case"gmcore":dt();break;case"gm16":pt();break}},dt=()=>{i(16,K=!0);let o=new URL(`/v2/player/${u}/limits`,p),m={method:"GET",headers:{"X-SessionID":d,"Content-Type":"application/json",Accept:"application/json"}};fetch(o.href,m).then(c=>J(c)).then(c=>{H=c,oe&&pe(),Se(H),ut(H),i(10,x=null)}).catch(c=>{console.error("Error LimitsWidget: ",c),i(17,$=!0)}).finally(()=>{i(16,K=!1)})},pt=()=>{i(16,K=!0),H=[];let o=new URL(`/v1/player/${u}/limits/monetary`,p),m=new URL(`/v1/player/${u}/limits/session`,p),c=!1,h={method:"GET",headers:{"X-SessionID":d,"Content-Type":"application/json",Accept:"application/json"}};fetch(o.href,h).then(L=>J(L)).then(L=>{H.push(L),f==="gmcore"&&Se(H),f==="gm16"&&ct(H),oe&&pe(),i(10,x=null)}).catch(L=>{console.error("Error LimitsWidget: ",L),i(17,$=!0)}).finally(()=>{c&&i(16,K=!1),c=!0}),fetch(m.href,h).then(L=>J(L)).then(L=>{H.push(L),oe&&pe(),f==="gm16"&&ft(H),f==="gm16"&&Lt(H),i(10,x=null)}).catch(L=>{console.error("Error LimitsWidget: ",L),i(17,$=!0)}).finally(()=>{c&&i(16,K=!1),c=!0})},Se=o=>{A.forEach(m=>{m.currentLimits=[];const c=Array.isArray(o[I[m.value].callValue])?o[I[m.value].callValue]:[o[I[m.value].callValue]];c.length===0||c[0]===void 0||(c.forEach((h,L)=>{var M;const T=o[I[m.value].callValue][L];m.currentLimits.push({}),m.currentLimits[L].limitType=m.value,m.currentLimits[L].amount=V?T.amount:Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(T.amount),m.currentLimits[L].currency=(M=se[T.currency])!=null?M:T.currency,m.currentLimits[L].period=T.period,m.currentLimits[L].updateAmount=Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(T.updateAmount),m.currentLimits[L].isModified=T.isModified,m.currentLimits[L].expiryDate=`${new Date(T.expiryDate).toLocaleDateString("en-de",{hour:"numeric",minute:"numeric"}).replaceAll("/",".")} (GMT)`}),m.currentLimits=de(m.currentLimits))})},ut=o=>{const m=n("minutes");A.filter(c=>c.value==="sessionLimit"||c.value==="cumulativeSession").forEach(c=>{var h;c.currentLimits=[],(h=o[I[c.value].callValue])==null||h.forEach((L,T)=>{const M=o[I[c.value].callValue][T];c.currentLimits.push({limitType:c.value,amount:Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(M.minutes),currency:m,isModified:M.isModified,period:c.value==="cumulativeSession"?M.period:"None",updateAmount:Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(M.updateMinutes),expiryDate:`${new Date(M.expiryDate).toLocaleDateString("en-de",{hour:"numeric",minute:"numeric"}).replaceAll("/",".")} (GMT)`})}),c.currentLimits=de(c.currentLimits)})},ct=o=>{var m;(m=o[0])!=null&&m.limits&&A.forEach(c=>{var h;c.currentLimits=[];for(const L of o[0].limits)if(L.type===c.callValue16&&L.products.includes(c.product)){let T=0,M=L.schedules.length>0?L.schedules.find(G=>G.id):{};L.schedules.length>0&&(T=V?M.updateAmount:Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(M.updateAmount)),c.currentLimits.push({limitType:c.value,amount:V?L.amount:Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(L.amount),currency:(h=se[L.currency])!=null?h:L.currency,isModified:L.schedules.length>0,period:L.period,product:L.products[0],updateAmount:T,isCoolOffCompleted:M?M.isCoolOffCompleted:!1,scheduleId:M?M.id:null,expiryDate:L.schedules.length>0?`${new Date(L.schedules[0].applyAt).toLocaleDateString("en-de",{hour:"numeric",minute:"numeric"}).replaceAll("/",".")} (GMT)`:"",id:L.id}),c.currentLimits.forEach(G=>{G.acknowledgedLimit=Object.keys(X).some(ne=>G.scheduleId===ne)})}c.currentLimits=de(c.currentLimits)})},ft=o=>{var m;(m=o[1])!=null&&m.sessionLimit&&A.filter(c=>c.value==="sessionLimit").forEach(c=>{c.currentLimits.push({limitType:"sessionLimit",amount:Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(o[1].sessionLimit.minutes),currency:n("minutes"),isModified:o[1].sessionLimit.isModified,period:"None",updateAmount:Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(o[1].sessionLimit.updateMinutes),expiryDate:o[1].sessionLimit.expiryDate}),c.currentLimits=de(c.currentLimits)})},Lt=o=>{var m;(m=o[1])!=null&&m.cumulativeSessionLimits&&A.filter(c=>c.value==="cumulativeSession").forEach(c=>{for(const h of o[1].cumulativeSessionLimits)c.currentLimits.push({limitType:"cumulativeSession",amount:Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(h.minutes),currency:n("minutes"),isModified:h.isModified,period:h.period,updateAmount:Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(h.updateMinutes),expiryDate:h.expiryDate});c.currentLimits=de(c.currentLimits)})},de=o=>{const m={Daily:0,Weekly:1,Monthly:2};return o.sort((c,h)=>m[c.period]-m[h.period]),o},gt=()=>{const o=x-Math.floor(x)===0;x>=O&&x<=b&&o?(i(24,me=!1),q.removeAttribute("disabled")):(i(24,me=!0),q.setAttribute("disabled","true"))},Ae=()=>{i(24,me=!1),P!=null&&P[y]?(i(12,O=P[y].min),i(13,b=P[y].max)):(i(12,O=1),i(13,b=9999999))},ht=()=>{if(H){const o=H[I[y].callValue].find(h=>h.period===w),m=Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(o.amount);let c=n("popupImmediateUpdate").replace("{selectedLimit}",he()).replace("{updatedAmount}",m).replace("{currency}",se[o.currency]||o.currency).replace("{selectedPeriod}",n(`${w}`));i(21,Z=o.isModified?`${n("popupPendingUpdate")} ${new Date(o.expiryDate).toLocaleDateString("en-de",{hour:"numeric",minute:"numeric"}).replaceAll("/",".")} (GMT)`:c)}i(20,ee=!0)},yt=()=>{var T;const o=((T=H[0])==null?void 0:T.limits)||H.limits;let m=null;if(!H){i(20,ee=!0);return}Object.keys(ie).length>0?m=o.find(M=>M.id===ie.id):m=o.find(M=>M.type.toLowerCase()===be[y].toLowerCase()&&(M.period===w||M.period==="None")&&M.products[0]===U),(m==null?void 0:m.schedules.length)>0&&X[m==null?void 0:m.schedules[0].id]&&(m.amount=m.schedules[0].updateAmount);const c=De(m)||Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(m.amount),h=m.schedules.length>0?`${new Date(m.schedules[0].applyAt).toLocaleDateString("en-de",{hour:"numeric",minute:"numeric"}).replaceAll("/",".")} (GMT)`:"";let L=n("popupImmediateUpdate").replace("{selectedLimit}",he()).replace("{updatedAmount}",c).replace("{selectedPeriod}",n(`${m.period}`));m.schedules.length>0&&X[m.schedules[0].id]?i(21,Z=L):i(21,Z=m.schedules.length>0?`${n("popupPendingUpdate")} ${h}`:L),i(20,ee=!0)},vt=()=>{le==1&&i(22,re="PopupKyc"),le==2&&(i(21,Z=`${n("popup2_a")}${Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(ke)} ${r} ${n("popup2_b")}`),i(22,re="PopupKyc2")),le==3&&(i(21,Z=n("popup3")),i(22,re="PopupSuccess")),i(20,ee=!0)},kt=()=>{i(21,Z=n("sessionLimitUpdated")),i(20,ee=!0)},bt=()=>{if(H){const o=H[I[y].callValue].find(h=>(h.period===w||w==="None")&&h.products[0]===U),m=Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(o.minutes);let c=n("popupImmediateUpdate").replace("{selectedLimit}",n(`${y}`)).replace("{updatedAmount}",m).replace("{currency}",n("minutes")).replace("{selectedPeriod}",n(`${w}`));i(21,Z=o.isModified?`${n("popupPendingUpdate")} ${new Date(o.expiryDate).toLocaleDateString("en-de",{hour:"numeric",minute:"numeric"}).replaceAll("/",".")} (GMT)`:c)}i(20,ee=!0)},wt=o=>{var m;return(m=o==null?void 0:o.error)==null?void 0:m.includes("Limit update is not permitted due to LimitUpdateControl")},_t=o=>{var m;return(m=o==null?void 0:o.error)==null?void 0:m.includes("Limit remove is not permitted due to LimitUpdateControl")},xt=o=>{var m;return(m=o==null?void 0:o.error)==null?void 0:m.includes("[NotFoundException] Limit does not exist")},St=o=>{var m;return(m=o.error)==null?void 0:m.includes("Invalid Session")},pe=o=>{if(window.postMessage({type:"OpenLimitsPopup"},window.location.href),$){if(i(18,Le=!0),!o){i(20,ee=!0);return}o.thirdPartyResponse||i(21,Z=n(`${o}`)),o.thirdPartyResponse&&i(21,Z=o.thirdPartyResponse.message),wt(o)&&i(21,Z=n("popupUpdateLimitException")),_t(o)&&i(21,Z=n("popupRemoveLimitException")),xt(o)&&i(21,Z=n("notFoundException")),St(o)&&i(21,Z=n("sessionExpiredException")),i(20,ee=!0);return}switch(f){case"gmcore":y==="sessionLimit"||y==="cumulativeSession"?bt():ht();break;case"gm16":y==="lugas"?vt():y==="sessionLimit"||y==="cumulativeSession"?kt():yt();break;default:throw new Error(`Invalid apiversion attribute: ${f}`)}},te=()=>{i(19,oe=!0),window.postMessage({type:"DisableScroll"},window.location.href)},At=o=>{i(7,y=o.limitType),i(8,w=o.period),te(),i(16,K=!0);let m=new URL(`/v2/player/${u}/limits/${be[o.limitType]}`,p);o.limitType!=="sessionLimit"&&m.searchParams.append("periods",o.period);let c={method:"DELETE",headers:{"X-SessionID":d,"Content-Type":"application/json",Accept:"application/json"}};fetch(m.href,c).then(h=>J(h)).then(h=>{Y("self_limitation_cancel_success",o.amount),Q()}).catch(h=>{Y("self_limitation_cancel_failed",o.amount),console.log(h),i(17,$=!0)})},Ce=o=>{switch(f){case"gmcore":At(o);break;case"gm16":ie=o,o.limitType==="sessionLimit"||o.limitType==="cumulativeSession"?Ct(o):Tt(o);break}Y("self_limitation_cancel_request",o.amount)},Ct=o=>{const m=new URL(`/v1/player/${u}/limits/session/session`,p),c=new URL(`/v1/player/${u}/limits/session/cumulativeSession?periods=${o.period}`,p);let h;switch(o.limitType){case"sessionLimit":h=m;break;case"cumulativeSession":h=c;break;default:throw Error(`Unknown limit.limitType: ${o.limitType}`)}te(),i(16,K=!0);let L={method:"DELETE",headers:{"X-SessionID":d,"Content-Type":"application/json",Accept:"application/json"}};fetch(h.href,L).then(T=>J(T)).then(T=>{Y("self_limitation_cancel_success",o.amount),Q()}).catch(T=>{Y("self_limitation_cancel_failed",o.amount),console.log(T),i(17,$=!0)})},Tt=o=>{const m=new URL(`/v1/player/${u}/limits/monetary/${o.id}`,p);te(),i(16,K=!0);let c={method:"DELETE",headers:{"X-SessionID":d,"Content-Type":"application/json",Accept:"application/json"}};fetch(m.href,c).then(h=>J(h)).then(h=>{Y("self_limitation_cancel_success",o.amount),Q()}).catch(h=>{Y("self_limitation_cancel_failed",o.amount),console.log(h),i(17,$=!0)})},Te=o=>{const m=new URL(`/v1/player/${u}/limits/schedule/${o.scheduleId}`,p);te(),i(16,K=!0);let c={method:"DELETE",headers:{"X-SessionID":d,"Content-Type":"application/json",Accept:"application/json"}};fetch(m.href,c).then(h=>J(h)).then(h=>{ie=o,Y("self_limitation_cancel_success",o.updateAmount),Q()}).catch(h=>{Y("self_limitation_cancel_failed",o.updateAmount),console.log(h)})},je=o=>{const m=new URL(`v1/player/${u}/limits/schedule/acknowledge/${o.scheduleId}`,p);te(),i(16,K=!0);let c={method:"PATCH",headers:{"X-SessionID":d,"Content-Type":"application/json",Accept:"application/json"}};fetch(m.href,c).then(h=>J(h)).then(h=>{ie=o,jt(o),Y("self_limitation_confirm_success",o.amount),Q()}).catch(h=>{Y("self_limitation_confirm_failed",o.amount),console.log(h)})},jt=o=>{let m=60;i(25,X[o.scheduleId]={},X),i(25,X[o.scheduleId].timer=`${m} ${ae[s].seconds}`,X),i(25,X[o.scheduleId].timerStopped=!1,X);let c=window.setInterval(()=>m===0?(window.clearInterval(c),i(25,X[o.scheduleId].timerStopped=!0,X),i(25,X[o.scheduleId].timer=ae[s].reloadLimitsButton,X)):i(25,X[o.scheduleId].timer=`${--m} ${ae[s].seconds}`,X),1e3)},he=o=>{let m;return o?m=n(o.value+o.product):m=n(y),m},De=(o,m=!1)=>{if(!V)return m?`${o.updateAmount}${o.currency}`:`${o.amount}${o.currency}`;let c=V;const h=c.match(/\{(\d+)decimals\}/),L=h?parseInt(h[1],10):2,T=h?new RegExp("\\{\\d+decimals\\}","g"):"{decimals}";let M=m?o.updateAmount:o.amount;M=parseInt(M).toFixed(L);const[G,ne]=V.includes(".")?[",","."]:[".",","];let[ue,ye]=M.split(".");return ue=ue.replace(/\B(?=(\d{3})+(?!\d))/g,G),M=`${ue}${ne}${ye}`,c=c.replace("{currency}",se[o.currency]||o.currency).replace("{amount}",M.split(ne)[0]).replace(T,M.split(ne)[1]),c},Me=()=>{i(20,ee=i(19,oe=!1)),i(22,re=""),window.postMessage({type:"CloseLimitsPopup"},window.location.href),window.postMessage({type:"EnableScroll"},window.location.href)},Dt=()=>{window.postMessage({type:"uploadDocuments"},window.location.href),Me()},Mt=o=>{o.keyCode===13&&me&&o.preventDefault()},zt=()=>{if(!g)return;let o={};g.split(",").forEach(m=>{let c=m.split(":");o[c[0].trim()]=c[1].trim()}),se=ce(ce({},se),o)},Et=()=>{Yt(s)};e.onMount(()=>()=>{});const Pt=()=>Q(),It=o=>Ce(o),Ut=o=>je(o),Nt=o=>Te(o);function Rt(){W=e.select_value(this),i(9,W)}const Bt=()=>{xe(),_e(),Ae()};function Wt(){w=e.select_value(this),i(8,w),i(5,I),i(7,y)}function Ot(){x=e.to_number(this.value),i(10,x)}function Vt(o){e.binding_callbacks[o?"unshift":"push"](()=>{q=o,i(11,q)})}function qt(o){e.binding_callbacks[o?"unshift":"push"](()=>{_=o,i(4,_)})}return a.$$set=o=>{"lang"in o&&i(42,s=o.lang),"currency"in o&&i(0,r=o.currency),"limits"in o&&i(43,l=o.limits),"session"in o&&i(44,d=o.session),"userid"in o&&i(45,u=o.userid),"endpoint"in o&&i(46,p=o.endpoint),"apiversion"in o&&i(47,f=o.apiversion),"customcurrencysymbols"in o&&i(48,g=o.customcurrencysymbols),"enablecompliancetext"in o&&i(1,S=o.enablecompliancetext),"deletelimit"in o&&i(2,v=o.deletelimit),"amountsconfig"in o&&i(49,D=o.amountsconfig),"periodsconfig"in o&&i(50,B=o.periodsconfig),"limittabindex"in o&&i(3,N=o.limittabindex),"limitformat"in o&&i(51,V=o.limitformat),"clientstyling"in o&&i(52,z=o.clientstyling),"clientstylingurl"in o&&i(53,j=o.clientstylingurl),"translationurl"in o&&i(54,E=o.translationurl),"mbsource"in o&&i(55,C=o.mbsource)},a.$$.update=()=>{a.$$.dirty[1]&131072&&g&&zt(),a.$$.dirty[1]&786432&&B&&D&&it(),a.$$.dirty[1]&2048&&s&&Et(),a.$$.dirty[1]&124928&&u&&d&&p&&f&&s&&Q(),a.$$.dirty[0]&16|a.$$.dirty[1]&2097152&&z&&_&&e.setClientStyling(_,z),a.$$.dirty[0]&16|a.$$.dirty[1]&4194304&&j&&_&&e.setClientStylingURL(_,j),a.$$.dirty[0]&16|a.$$.dirty[1]&16777216&&C&&_&&e.setStreamStyling(_,`${C}.Style`),a.$$.dirty[1]&8388608&&E&&$e()},[r,S,v,N,_,I,A,y,w,W,x,q,O,b,ve,fe,K,$,Le,oe,ee,Z,re,le,me,X,n,R,_e,xe,mt,Q,gt,Ae,Ce,Te,je,he,De,Me,Dt,Mt,s,l,d,u,p,f,g,D,B,V,z,j,E,C,Pt,It,Ut,Nt,Rt,Bt,Wt,Ot,Vt,qt]}class Je extends e.SvelteComponent{constructor(t){super(),e.init(this,t,xi,_i,e.safe_not_equal,{lang:42,currency:0,limits:43,session:44,userid:45,endpoint:46,apiversion:47,customcurrencysymbols:48,enablecompliancetext:1,deletelimit:2,amountsconfig:49,periodsconfig:50,limittabindex:3,limitformat:51,clientstyling:52,clientstylingurl:53,translationurl:54,mbsource:55},Xt,[-1,-1,-1,-1,-1])}get lang(){return this.$$.ctx[42]}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[43]}set limits(t){this.$$set({limits:t}),e.flush()}get session(){return this.$$.ctx[44]}set session(t){this.$$set({session:t}),e.flush()}get userid(){return this.$$.ctx[45]}set userid(t){this.$$set({userid:t}),e.flush()}get endpoint(){return this.$$.ctx[46]}set endpoint(t){this.$$set({endpoint:t}),e.flush()}get apiversion(){return this.$$.ctx[47]}set apiversion(t){this.$$set({apiversion:t}),e.flush()}get customcurrencysymbols(){return this.$$.ctx[48]}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[49]}set amountsconfig(t){this.$$set({amountsconfig:t}),e.flush()}get periodsconfig(){return this.$$.ctx[50]}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[51]}set limitformat(t){this.$$set({limitformat:t}),e.flush()}get clientstyling(){return this.$$.ctx[52]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[53]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get translationurl(){return this.$$.ctx[54]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}get mbsource(){return this.$$.ctx[55]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}}e.create_custom_element(Je,{lang:{},currency:{},limits:{},session:{},userid:{},endpoint:{},apiversion:{},customcurrencysymbols:{},enablecompliancetext:{},deletelimit:{},amountsconfig:{},periodsconfig:{},limittabindex:{},limitformat:{},clientstyling:{},clientstylingurl:{},translationurl:{},mbsource:{}},[],[],!0);exports.default=Je;