@multiversx/sdk-dapp 2.8.8 → 2.9.0-alpha.1

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 (897) hide show
  1. package/UI/DappModal/hooks/index.js +1 -1
  2. package/UI/DappModal/hooks/useDappModal.js +1 -1
  3. package/UI/DappModal/index.js +1 -1
  4. package/UI/Denominate/index.js +1 -1
  5. package/UI/ExplorerLink/ExplorerLink.js +1 -1
  6. package/UI/ExplorerLink/index.js +1 -1
  7. package/UI/FormatAmount/FormatAmount.js +1 -1
  8. package/UI/FormatAmount/index.js +1 -1
  9. package/UI/ModalContainer/ModalContainer.js +1 -1
  10. package/UI/ModalContainer/index.js +1 -1
  11. package/UI/NotificationModal/index.js +1 -1
  12. package/UI/SignTransactionsModals/SignTransactionsModals.js +1 -1
  13. package/UI/SignTransactionsModals/SignWithDeviceModal/SignStep.js +1 -1
  14. package/UI/SignTransactionsModals/SignWithDeviceModal/index.js +1 -1
  15. package/UI/SignTransactionsModals/SignWithExtensionModal/index.js +1 -1
  16. package/UI/SignTransactionsModals/SignWithExtraModal/index.js +1 -1
  17. package/UI/SignTransactionsModals/SignWithLedgerModal/index.js +1 -1
  18. package/UI/SignTransactionsModals/SignWithOperaModal/index.js +1 -1
  19. package/UI/SignTransactionsModals/SignWithWalletConnectModal/index.js +1 -1
  20. package/UI/SignTransactionsModals/components/ConfirmationScreen.js +1 -1
  21. package/UI/SignTransactionsModals/components/DeviceConfirmationScreen.js +1 -1
  22. package/UI/SignTransactionsModals/components/TransactionStatusToast.js +1 -1
  23. package/UI/SignTransactionsModals/components/index.js +1 -1
  24. package/UI/SignTransactionsModals/index.js +1 -1
  25. package/UI/TokenDetails/index.js +1 -1
  26. package/UI/TransactionData/index.js +1 -1
  27. package/UI/TransactionDetails/TransactionDetails.js +1 -1
  28. package/UI/TransactionDetails/components/TransactionDetailsBody.js +1 -1
  29. package/UI/TransactionDetails/components/index.js +1 -1
  30. package/UI/TransactionDetails/index.js +1 -1
  31. package/UI/TransactionInfo/TransactionInfo.js +1 -1
  32. package/UI/TransactionInfo/components/AddressDetailItem/AddressDetailitem.js +1 -1
  33. package/UI/TransactionInfo/components/AddressDetailItem/index.js +1 -1
  34. package/UI/TransactionInfo/components/DataDecode/DataDecode.js +1 -1
  35. package/UI/TransactionInfo/components/DataDecode/index.js +1 -1
  36. package/UI/TransactionInfo/components/DataField/DataField.js +1 -1
  37. package/UI/TransactionInfo/components/DataField/index.js +1 -1
  38. package/UI/TransactionInfo/components/EventsList/EventsList.js +1 -1
  39. package/UI/TransactionInfo/components/EventsList/index.js +1 -1
  40. package/UI/TransactionInfo/components/NonceMessage/NonceMessage.js +1 -1
  41. package/UI/TransactionInfo/components/NonceMessage/index.js +1 -1
  42. package/UI/TransactionInfo/components/OperationsList/OperationList.js +1 -1
  43. package/UI/TransactionInfo/components/OperationsList/components/DetailedItem.js +1 -1
  44. package/UI/TransactionInfo/components/OperationsList/components/OperationBlock.js +1 -1
  45. package/UI/TransactionInfo/components/OperationsList/components/OperationRow.js +1 -1
  46. package/UI/TransactionInfo/components/OperationsList/components/OperationText.js +1 -1
  47. package/UI/TransactionInfo/components/OperationsList/components/OperationToken.js +1 -1
  48. package/UI/TransactionInfo/components/OperationsList/components/index.js +1 -1
  49. package/UI/TransactionInfo/components/OperationsList/index.js +1 -1
  50. package/UI/TransactionInfo/components/ScResultsList/ScResultsList.js +1 -1
  51. package/UI/TransactionInfo/components/ScResultsList/components/ResultData/ResultData.js +1 -1
  52. package/UI/TransactionInfo/components/ScResultsList/components/ResultData/index.js +1 -1
  53. package/UI/TransactionInfo/components/ScResultsList/components/ResultHash/ResultHash.js +1 -1
  54. package/UI/TransactionInfo/components/ScResultsList/components/ResultHash/index.js +1 -1
  55. package/UI/TransactionInfo/components/ScResultsList/components/ResultReceiver/ResultReceiver.js +1 -1
  56. package/UI/TransactionInfo/components/ScResultsList/components/ResultReceiver/index.js +1 -1
  57. package/UI/TransactionInfo/components/ScResultsList/components/ResultSender/ResultSender.js +1 -1
  58. package/UI/TransactionInfo/components/ScResultsList/components/ResultSender/index.js +1 -1
  59. package/UI/TransactionInfo/components/ScResultsList/index.js +1 -1
  60. package/UI/TransactionInfo/components/ScrDetailItem/ScrDetailItem.js +1 -1
  61. package/UI/TransactionInfo/components/ScrDetailItem/index.js +1 -1
  62. package/UI/TransactionInfo/components/TransactionAction/TransactionAction.js +1 -1
  63. package/UI/TransactionInfo/components/TransactionAction/components/ActionText/index.js +1 -1
  64. package/UI/TransactionInfo/components/TransactionAction/components/ActionToken.js +1 -1
  65. package/UI/TransactionInfo/components/TransactionAction/components/TransactionActionBlock/components/TransactionActionCollection.js +1 -1
  66. package/UI/TransactionInfo/components/TransactionAction/components/TransactionActionBlock/components/TransactionActionNft.js +1 -1
  67. package/UI/TransactionInfo/components/TransactionAction/components/TransactionActionBlock/components/TransactionActionToken.js +1 -1
  68. package/UI/TransactionInfo/components/TransactionAction/components/TransactionActionBlock/components/index.js +1 -1
  69. package/UI/TransactionInfo/components/TransactionAction/components/TransactionActionBlock/index.js +1 -1
  70. package/UI/TransactionInfo/components/TransactionAction/components/index.js +1 -1
  71. package/UI/TransactionInfo/components/TransactionAction/index.js +1 -1
  72. package/UI/TransactionInfo/components/TransactionLogs/TransactionLogs.js +1 -1
  73. package/UI/TransactionInfo/components/TransactionLogs/index.js +1 -1
  74. package/UI/TransactionInfo/components/TransactionStatus/TransactionStatus.js +1 -1
  75. package/UI/TransactionInfo/components/TransactionStatus/index.js +1 -1
  76. package/UI/TransactionInfo/components/index.js +1 -1
  77. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoAge/TransactionInfoAge.js +1 -1
  78. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoAge/index.js +1 -1
  79. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoEgldPrice/TransactionInfoEgldPrice.js +1 -1
  80. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoEgldPrice/index.js +1 -1
  81. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoFee/TransactionInfoFee.js +1 -1
  82. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoFee/index.js +1 -1
  83. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoFrom/TransactionInfoFrom.js +1 -1
  84. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoFrom/index.js +1 -1
  85. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoGasLimit/TransactionInfoGasLimit.js +1 -1
  86. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoGasLimit/index.js +1 -1
  87. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoGasPrice/TransactionInfoGasPrice.js +1 -1
  88. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoGasPrice/index.js +1 -1
  89. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoGasUsed/TransactionInfoGasUsed.js +1 -1
  90. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoGasUsed/index.js +1 -1
  91. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoInputData/TransactionInfoInputData.js +1 -1
  92. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoInputData/index.js +1 -1
  93. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoMethod/TransactionInfoMethod.js +1 -1
  94. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoMethod/index.js +1 -1
  95. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoMiniblock/TransactionInfoMiniblock.js +1 -1
  96. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoMiniblock/index.js +1 -1
  97. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoNonce/TransactionInfoNonce.js +1 -1
  98. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoNonce/index.js +1 -1
  99. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoScResults/TransactionInfoScResults.js +1 -1
  100. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoScResults/index.js +1 -1
  101. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoStatus/TransactionInfoStatus.js +1 -1
  102. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoStatus/index.js +1 -1
  103. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoTo/TransactionInfoTo.js +1 -1
  104. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoTo/index.js +1 -1
  105. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoTokenOperations/TransactionInfoTokenOperations.js +1 -1
  106. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoTokenOperations/index.js +1 -1
  107. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoValue/TransactionInfoValue.js +1 -1
  108. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoValue/index.js +1 -1
  109. package/UI/TransactionInfo/components/transactionInfoFields/index.js +1 -1
  110. package/UI/TransactionInfo/index.js +1 -1
  111. package/UI/TransactionsTable/TransactionsTable.js +1 -1
  112. package/UI/TransactionsTable/components/LockedTokenAddressIcon.js +1 -1
  113. package/UI/TransactionsTable/components/ScAddressIcon.js +1 -1
  114. package/UI/TransactionsTable/components/ShardSpan.js +1 -1
  115. package/UI/TransactionsTable/components/TransactionHash.js +1 -1
  116. package/UI/TransactionsTable/components/TransactionIcon.js +1 -1
  117. package/UI/TransactionsTable/components/TransactionReceiver.js +1 -1
  118. package/UI/TransactionsTable/components/TransactionRow.js +1 -1
  119. package/UI/TransactionsTable/components/TransactionSender.js +1 -1
  120. package/UI/TransactionsTable/components/TransactionShardsTransition.js +1 -1
  121. package/UI/TransactionsTable/components/TransactionValue/TransactionValue.js +1 -1
  122. package/UI/TransactionsTable/components/TransactionValue/index.js +1 -1
  123. package/UI/TransactionsTable/components/index.js +1 -1
  124. package/UI/TransactionsTable/index.js +1 -1
  125. package/UI/TransactionsToastList/TransactionsToastList.js +1 -1
  126. package/UI/TransactionsToastList/components/CustomToast/CustomToast.js +1 -1
  127. package/UI/TransactionsToastList/components/CustomToast/components/IconToast/IconToast.js +1 -1
  128. package/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/IconToastFooter.js +1 -1
  129. package/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/components/ComponentToastFooter.js +1 -1
  130. package/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/components/TransactionToastFooter.js +1 -1
  131. package/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/components/index.js +1 -1
  132. package/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/index.js +1 -1
  133. package/UI/TransactionsToastList/components/CustomToast/components/IconToast/index.js +1 -1
  134. package/UI/TransactionsToastList/components/CustomToast/components/SimpleToast.js +1 -1
  135. package/UI/TransactionsToastList/components/CustomToast/components/index.js +1 -1
  136. package/UI/TransactionsToastList/components/CustomToast/helpers/getIsTransaction.js +1 -1
  137. package/UI/TransactionsToastList/components/CustomToast/helpers/index.js +1 -1
  138. package/UI/TransactionsToastList/components/CustomToast/helpers/useMemoizedCloseButton.js +1 -1
  139. package/UI/TransactionsToastList/components/CustomToast/index.js +1 -1
  140. package/UI/TransactionsToastList/components/TransactionToast/TransactionToast.js +1 -1
  141. package/UI/TransactionsToastList/components/TransactionToast/components/TransactionToastContent.js +1 -1
  142. package/UI/TransactionsToastList/components/TransactionToast/components/index.js +1 -1
  143. package/UI/TransactionsToastList/components/TransactionToast/hooks/useTransactionToast.js +1 -1
  144. package/UI/TransactionsToastList/components/TransactionToast/index.js +1 -1
  145. package/UI/TransactionsToastList/components/TransactionToast/utils/getToastDataStateByStatus.js +1 -1
  146. package/UI/TransactionsToastList/components/TransactionToast/utils/index.js +1 -1
  147. package/UI/TransactionsToastList/components/TransactionToastGuard.js +1 -1
  148. package/UI/TransactionsToastList/components/index.js +1 -1
  149. package/UI/TransactionsToastList/index.js +1 -1
  150. package/UI/UsdValue/UsdValue.js +1 -1
  151. package/UI/UsdValue/index.js +1 -1
  152. package/UI/extension/ExtensionLoginButton/index.js +1 -1
  153. package/UI/index.js +1 -1
  154. package/UI/ledger/LedgerLoginButton/index.js +1 -1
  155. package/UI/ledger/LedgerLoginContainer/AddressRow.js +1 -1
  156. package/UI/ledger/LedgerLoginContainer/AddressTable.js +1 -1
  157. package/UI/ledger/LedgerLoginContainer/ConfirmAddress.js +1 -1
  158. package/UI/ledger/LedgerLoginContainer/index.js +1 -1
  159. package/UI/ledger/index.js +1 -1
  160. package/UI/operaWallet/OperaWalletLoginButton/index.js +1 -1
  161. package/UI/pages/UnlockPage/index.js +1 -1
  162. package/UI/pages/index.js +1 -1
  163. package/UI/walletConnect/WalletConnectConnectionStatus/WalletConnectConnectionStatus.js +1 -1
  164. package/UI/walletConnect/WalletConnectConnectionStatus/index.js +1 -1
  165. package/UI/walletConnect/WalletConnectLoginButton/index.js +1 -1
  166. package/UI/walletConnect/WalletConnectLoginContainer/index.js +1 -1
  167. package/UI/walletConnect/index.js +1 -1
  168. package/UI/webWallet/WebWalletLoginButton/index.js +1 -1
  169. package/__chunks__/{chunk-2DKPFSTT.js → chunk-25LYYPSL.js} +2 -2
  170. package/__chunks__/{chunk-NB6RUSDN.js → chunk-2DAZJTY7.js} +2 -2
  171. package/__chunks__/{chunk-ZXXEZGKT.js → chunk-2G7BO52P.js} +2 -2
  172. package/__chunks__/{chunk-UC3BL6OL.js → chunk-2JGSECMC.js} +2 -2
  173. package/__chunks__/{chunk-I6WCVWCL.js → chunk-2MN2JEL5.js} +2 -2
  174. package/__chunks__/{chunk-LLJWVYQI.js → chunk-2QEIR6TS.js} +2 -2
  175. package/__chunks__/{chunk-NQ25VRP6.js → chunk-2UFNSJOJ.js} +2 -2
  176. package/__chunks__/{chunk-OHZF3UCF.js → chunk-32HLRTV3.js} +2 -2
  177. package/__chunks__/{chunk-TF5GKSWN.js → chunk-33B2EA3V.js} +2 -2
  178. package/__chunks__/{chunk-JUFYXNHH.js → chunk-343YDU2S.js} +2 -2
  179. package/__chunks__/{chunk-QCA255CH.js → chunk-346RZSEQ.js} +2 -2
  180. package/__chunks__/chunk-37OCRXKG.js +2 -0
  181. package/__chunks__/{chunk-CUXSI37S.js → chunk-3ADB74GU.js} +2 -2
  182. package/__chunks__/{chunk-A2UYY3JW.js → chunk-3BQODYHQ.js} +2 -2
  183. package/__chunks__/{chunk-QVCVZLRQ.js → chunk-3CRW4ZUP.js} +2 -2
  184. package/__chunks__/{chunk-XHKQRSQL.js → chunk-3D56FBAG.js} +2 -2
  185. package/__chunks__/{chunk-BS36A7LR.js → chunk-3DOTBYW5.js} +2 -2
  186. package/__chunks__/{chunk-2EA2VIB5.js → chunk-3OTU3LGP.js} +2 -2
  187. package/__chunks__/{chunk-AASOI2YB.js → chunk-3VNANIQN.js} +2 -2
  188. package/__chunks__/chunk-3ZPW6NBW.js +2 -0
  189. package/__chunks__/{chunk-6OGZDOZO.js → chunk-4AXBEAVW.js} +2 -2
  190. package/__chunks__/{chunk-ZMSSS4XY.js → chunk-4CUEYG5L.js} +2 -2
  191. package/__chunks__/{chunk-4NUCA54E.js → chunk-4DXDAPGH.js} +2 -2
  192. package/__chunks__/{chunk-W5XV2MWO.js → chunk-4E4GWX4K.js} +2 -2
  193. package/__chunks__/{chunk-KN33FON4.js → chunk-4EUXBDOP.js} +2 -2
  194. package/__chunks__/chunk-4MGGEDE4.js +2 -0
  195. package/__chunks__/{chunk-VZTQJF5K.js → chunk-4YGLWJYP.js} +2 -2
  196. package/__chunks__/{chunk-C4IGVF3G.js → chunk-4ZPZ6AIU.js} +2 -2
  197. package/__chunks__/{chunk-5L64ER7E.js → chunk-54NEP2BY.js} +2 -2
  198. package/__chunks__/{chunk-2TL4GHIJ.js → chunk-57KTNTD4.js} +2 -2
  199. package/__chunks__/{chunk-QZVP3TCG.js → chunk-5A4BF2DQ.js} +2 -2
  200. package/__chunks__/{chunk-DXSPO7EM.js → chunk-5BOZYUAE.js} +2 -2
  201. package/__chunks__/chunk-5E3Y7WDX.js +2 -0
  202. package/__chunks__/{chunk-FCAEZL4W.js → chunk-5IU2LKSN.js} +2 -2
  203. package/__chunks__/{chunk-BBPTFRVE.js → chunk-5JSXSHFD.js} +2 -2
  204. package/__chunks__/{chunk-4A25I5EO.js → chunk-5LIDVEDY.js} +2 -2
  205. package/__chunks__/{chunk-F6GZHJMJ.js → chunk-5LIPZK7I.js} +2 -2
  206. package/__chunks__/{chunk-CMG3PZXL.js → chunk-5SFT27AY.js} +2 -2
  207. package/__chunks__/chunk-5T2INUJ2.js +2 -0
  208. package/__chunks__/{chunk-4JAU6EN6.js → chunk-62SL73B6.js} +2 -2
  209. package/__chunks__/chunk-65MQPHO4.js +2 -0
  210. package/__chunks__/chunk-6A6EWHUH.js +2 -0
  211. package/__chunks__/{chunk-I5GXT2NM.js → chunk-6ALJIJJR.js} +2 -2
  212. package/__chunks__/{chunk-GQPWCE2U.js → chunk-6CPLHN5F.js} +2 -2
  213. package/__chunks__/{chunk-SKUZQREX.js → chunk-6NPKQKN5.js} +2 -2
  214. package/__chunks__/{chunk-2UFASAE6.js → chunk-6O5L57GH.js} +2 -2
  215. package/__chunks__/{chunk-DUYNNDUF.js → chunk-6PSLWD7K.js} +2 -2
  216. package/__chunks__/{chunk-DSXLBCJZ.js → chunk-6QQMWPZL.js} +2 -2
  217. package/__chunks__/{chunk-GMVQCQ3Y.js → chunk-6T4HLUJ5.js} +2 -2
  218. package/__chunks__/{chunk-EDUYDVLW.js → chunk-6TWOJZGW.js} +2 -2
  219. package/__chunks__/chunk-6W7S3EE3.js +2 -0
  220. package/__chunks__/{chunk-BWYB6R6W.js → chunk-73F5VFES.js} +2 -2
  221. package/__chunks__/{chunk-3RPV34NB.js → chunk-7CR6PT46.js} +2 -2
  222. package/__chunks__/{chunk-OQIVIERX.js → chunk-7G3CGRHQ.js} +2 -2
  223. package/__chunks__/{chunk-6DTOQEIQ.js → chunk-7NYPVHED.js} +2 -2
  224. package/__chunks__/{chunk-ZF6KDUMI.js → chunk-7RDCJEBM.js} +2 -2
  225. package/__chunks__/{chunk-X6LCE6DY.js → chunk-7S2XISHG.js} +2 -2
  226. package/__chunks__/{chunk-W4D7AG72.js → chunk-7UD2BXEK.js} +2 -2
  227. package/__chunks__/{chunk-3SGMXEQG.js → chunk-7XH5QF3M.js} +2 -2
  228. package/__chunks__/chunk-A3YTVQRT.js +2 -0
  229. package/__chunks__/chunk-A453JAS3.js +2 -0
  230. package/__chunks__/{chunk-KDE7GIIV.js → chunk-A6UEBWYM.js} +2 -2
  231. package/__chunks__/chunk-ABVMFLA3.js +2 -0
  232. package/__chunks__/{chunk-FOSUR33Y.js → chunk-AJBKM66B.js} +2 -2
  233. package/__chunks__/{chunk-4PGVVXDY.js → chunk-AK245ZB2.js} +2 -2
  234. package/__chunks__/{chunk-JYF2TWOA.js → chunk-ALP3UNP6.js} +2 -2
  235. package/__chunks__/{chunk-54UVT7XD.js → chunk-AMFO52WL.js} +2 -2
  236. package/__chunks__/{chunk-L6O2YAE3.js → chunk-AOEAP24C.js} +2 -2
  237. package/__chunks__/{chunk-QHROAYMM.js → chunk-ARBTLT3C.js} +2 -2
  238. package/__chunks__/chunk-B3TAZ7VX.js +2 -0
  239. package/__chunks__/{chunk-RRJM3255.js → chunk-B4DRNYML.js} +2 -2
  240. package/__chunks__/chunk-BAT5BA5V.js +2 -0
  241. package/__chunks__/{chunk-SLKZO7VS.js → chunk-BKMSVP62.js} +2 -2
  242. package/__chunks__/{chunk-GIZIGQZP.js → chunk-BKSSTINX.js} +2 -2
  243. package/__chunks__/{chunk-JJGJCN5V.js → chunk-BMG5SADY.js} +2 -2
  244. package/__chunks__/chunk-BRPCFDIZ.js +2 -0
  245. package/__chunks__/{chunk-5IKM5Q2S.js → chunk-BTUNYV43.js} +2 -2
  246. package/__chunks__/{chunk-OHTQWFS7.js → chunk-BVRV3PPZ.js} +2 -2
  247. package/__chunks__/chunk-BZONU76B.js +2 -0
  248. package/__chunks__/{chunk-NY463RKX.js → chunk-C3S2OS2F.js} +2 -2
  249. package/__chunks__/{chunk-WUF7FKNG.js → chunk-C54IH7AJ.js} +2 -2
  250. package/__chunks__/{chunk-UWE6TJ47.js → chunk-C7BZLCLN.js} +2 -2
  251. package/__chunks__/chunk-CDW2662X.js +2 -0
  252. package/__chunks__/{chunk-HJGXNUQZ.js → chunk-CFAUACCS.js} +2 -2
  253. package/__chunks__/{chunk-POFMPPLE.js → chunk-CJEHVP77.js} +2 -2
  254. package/__chunks__/{chunk-XHBL2F6G.js → chunk-CNNCGA7P.js} +2 -2
  255. package/__chunks__/chunk-COL2EXNW.js +2 -0
  256. package/__chunks__/{chunk-62DW3AHE.js → chunk-CPACYSUZ.js} +2 -2
  257. package/__chunks__/chunk-CSS5DPJE.js +2 -0
  258. package/__chunks__/{chunk-22AVS7E3.js → chunk-CTO4KDRF.js} +2 -2
  259. package/__chunks__/{chunk-ZJECAQPC.js → chunk-CWZS67S7.js} +2 -2
  260. package/__chunks__/{chunk-AF4A42IE.js → chunk-CXXTFRHA.js} +2 -2
  261. package/__chunks__/{chunk-MMCZ3ASQ.js → chunk-CZZL3SSJ.js} +2 -2
  262. package/__chunks__/{chunk-AO6HRN56.js → chunk-D6AVFA2D.js} +2 -2
  263. package/__chunks__/{chunk-XDH6CNY3.js → chunk-DLO34CIZ.js} +2 -2
  264. package/__chunks__/{chunk-OIT7AZTZ.js → chunk-DQML7BH2.js} +2 -2
  265. package/__chunks__/{chunk-ZJQA5LBM.js → chunk-DTN6DYVS.js} +2 -2
  266. package/__chunks__/chunk-DXE4AAU7.js +2 -0
  267. package/__chunks__/{chunk-PYO6CNJL.js → chunk-E36MIU6P.js} +2 -2
  268. package/__chunks__/chunk-E4X4P3T6.js +2 -0
  269. package/__chunks__/{chunk-IAU7HZOA.js → chunk-EFMJXVWX.js} +2 -2
  270. package/__chunks__/{chunk-XP6VAPF7.js → chunk-EHIOPQMM.js} +2 -2
  271. package/__chunks__/chunk-EPJMBI2O.js +2 -0
  272. package/__chunks__/{chunk-BTPNQ5FQ.js → chunk-ESLOIYNE.js} +2 -2
  273. package/__chunks__/{chunk-WEXCOWWF.js → chunk-EXCSAEHQ.js} +2 -2
  274. package/__chunks__/chunk-EZWQ7DMD.js +2 -0
  275. package/__chunks__/{chunk-OMSJSEKB.js → chunk-F2HBY53M.js} +2 -2
  276. package/__chunks__/{chunk-ATNLLNOK.js → chunk-FIPS3NHS.js} +2 -2
  277. package/__chunks__/chunk-FPDWY2JO.js +2 -0
  278. package/__chunks__/{chunk-GPLG6N3Y.js → chunk-G3RFZTTV.js} +2 -2
  279. package/__chunks__/{chunk-CSUG3NQC.js → chunk-GRYUK7ET.js} +2 -2
  280. package/__chunks__/{chunk-IDNYXXUU.js → chunk-H3R6VXAV.js} +2 -2
  281. package/__chunks__/{chunk-OMBMT76D.js → chunk-HACCGAKC.js} +2 -2
  282. package/__chunks__/chunk-HIX6QXZ4.js +2 -0
  283. package/__chunks__/{chunk-ZPNSZFF2.js → chunk-HJ7GDMMX.js} +2 -2
  284. package/__chunks__/{chunk-5ZHWPLU6.js → chunk-HOM67ZP7.js} +2 -2
  285. package/__chunks__/{chunk-B3LFKKXC.js → chunk-HPXVUIJL.js} +2 -2
  286. package/__chunks__/{chunk-34MJDZ4X.js → chunk-HWLMQLGK.js} +2 -2
  287. package/__chunks__/{chunk-HLAK3KWC.js → chunk-I4BUST3H.js} +2 -2
  288. package/__chunks__/{chunk-MCPXAAQH.js → chunk-I6GRLA2C.js} +2 -2
  289. package/__chunks__/{chunk-NY3SRBV3.js → chunk-IB6Q7I2M.js} +2 -2
  290. package/__chunks__/{chunk-Q5JVMVSG.js → chunk-IMJ3U2BY.js} +2 -2
  291. package/__chunks__/{chunk-Q2LHZHWH.js → chunk-IOQUQ7V7.js} +2 -2
  292. package/__chunks__/chunk-IYGHEIZB.js +2 -0
  293. package/__chunks__/{chunk-YPLFH5NC.js → chunk-J3Q7UDAZ.js} +2 -2
  294. package/__chunks__/{chunk-PFP32GAJ.js → chunk-J6HSKOGJ.js} +2 -2
  295. package/__chunks__/{chunk-6K3QMAWT.js → chunk-J7NMG22C.js} +2 -2
  296. package/__chunks__/chunk-JCD6DJSC.js +2 -0
  297. package/__chunks__/{chunk-3AWXVQPI.js → chunk-JDVLHQF6.js} +2 -2
  298. package/__chunks__/{chunk-K2TOOZFP.js → chunk-JIXAK2AC.js} +2 -2
  299. package/__chunks__/{chunk-SY4VVHFA.js → chunk-JJWH3JYM.js} +2 -2
  300. package/__chunks__/{chunk-FFSZJG62.js → chunk-JK6ABF64.js} +2 -2
  301. package/__chunks__/{chunk-IOSHQZNU.js → chunk-JK6EDPQT.js} +2 -2
  302. package/__chunks__/{chunk-CURMR3DQ.js → chunk-JRJFNQAZ.js} +2 -2
  303. package/__chunks__/chunk-JWP3WLIN.js +2 -0
  304. package/__chunks__/{chunk-F4OB26CT.js → chunk-JWSBC5DB.js} +2 -2
  305. package/__chunks__/{chunk-JKQBUYK2.js → chunk-K5UIZVZV.js} +2 -2
  306. package/__chunks__/{chunk-ZAKI6HUY.js → chunk-KAKTGT5L.js} +2 -2
  307. package/__chunks__/{chunk-E63OT5BJ.js → chunk-KDEQ2GAX.js} +2 -2
  308. package/__chunks__/{chunk-2CN5KU25.js → chunk-KEIOQVXN.js} +2 -2
  309. package/__chunks__/{chunk-QDCY7OOZ.js → chunk-KG3U55NF.js} +2 -2
  310. package/__chunks__/{chunk-QN46IB4K.js → chunk-KHHNKZRB.js} +2 -2
  311. package/__chunks__/{chunk-VCAA4VGH.js → chunk-KV6GSWNL.js} +2 -2
  312. package/__chunks__/{chunk-XIS6CC4U.js → chunk-KVNDDYVB.js} +2 -2
  313. package/__chunks__/{chunk-JKA54IGW.js → chunk-KYC5JNJB.js} +2 -2
  314. package/__chunks__/{chunk-6QZHGHIR.js → chunk-KYVILTBF.js} +2 -2
  315. package/__chunks__/chunk-L5DW2DTN.js +2 -0
  316. package/__chunks__/chunk-L5UKH2NP.js +2 -0
  317. package/__chunks__/{chunk-TIXHEZXL.js → chunk-LES3U47Z.js} +2 -2
  318. package/__chunks__/{chunk-U2U4MUGT.js → chunk-LF6FN6K3.js} +2 -2
  319. package/__chunks__/{chunk-FHE5FVE7.js → chunk-LGPEIIM7.js} +2 -2
  320. package/__chunks__/{chunk-B47CQIA7.js → chunk-LJ2OXL2R.js} +2 -2
  321. package/__chunks__/{chunk-HYYC56WM.js → chunk-LLTQNIPQ.js} +2 -2
  322. package/__chunks__/{chunk-TMWKLAQA.js → chunk-LRZYNP4X.js} +2 -2
  323. package/__chunks__/{chunk-WGZ6HMXJ.js → chunk-LSJH4COT.js} +2 -2
  324. package/__chunks__/{chunk-FKFPHPFX.js → chunk-LU3DM6HR.js} +2 -2
  325. package/__chunks__/chunk-LWC25W2W.js +2 -0
  326. package/__chunks__/{chunk-AY5CRAVB.js → chunk-LWE4XOKK.js} +2 -2
  327. package/__chunks__/{chunk-HHGHERF3.js → chunk-M4KXOW7P.js} +2 -2
  328. package/__chunks__/{chunk-JCYM4TK6.js → chunk-MC4SKRI3.js} +2 -2
  329. package/__chunks__/{chunk-SIEJ3BGE.js → chunk-MCGMQBME.js} +2 -2
  330. package/__chunks__/{chunk-QANWJPQL.js → chunk-MCX4AA63.js} +2 -2
  331. package/__chunks__/{chunk-5RS2KBDW.js → chunk-MDGIGD6R.js} +2 -2
  332. package/__chunks__/{chunk-ZU7HQJ2E.js → chunk-MIKIMQR2.js} +2 -2
  333. package/__chunks__/{chunk-KGF5QO63.js → chunk-MOA4IRT5.js} +2 -2
  334. package/__chunks__/{chunk-ITRHXPQX.js → chunk-MWHEEN6B.js} +2 -2
  335. package/__chunks__/chunk-MYN7DB3X.js +2 -0
  336. package/__chunks__/{chunk-4KWGNHHC.js → chunk-N45VBFNK.js} +2 -2
  337. package/__chunks__/chunk-NA2AEGMU.js +2 -0
  338. package/__chunks__/{chunk-35CA4MUL.js → chunk-NEHGYCY2.js} +2 -2
  339. package/__chunks__/{chunk-JWAY75CZ.js → chunk-NJQRX7E2.js} +2 -2
  340. package/__chunks__/{chunk-PNLICGB5.js → chunk-NQ247DLE.js} +2 -2
  341. package/__chunks__/chunk-NTCEKYNN.js +2 -0
  342. package/__chunks__/{chunk-WFUHPFAH.js → chunk-NYNRNXOR.js} +2 -2
  343. package/__chunks__/{chunk-7HKAHQUX.js → chunk-O4ZYTYXZ.js} +2 -2
  344. package/__chunks__/{chunk-LZ4RLZRI.js → chunk-OAXLOJDD.js} +2 -2
  345. package/__chunks__/chunk-OE5DHTVR.js +2 -0
  346. package/__chunks__/chunk-OGZP3W4S.js +2 -0
  347. package/__chunks__/{chunk-CDZFXCBL.js → chunk-OPNNXGAJ.js} +2 -2
  348. package/__chunks__/chunk-OXJW5VJL.js +2 -0
  349. package/__chunks__/{chunk-OARRFKEW.js → chunk-P6MRRO6I.js} +2 -2
  350. package/__chunks__/{chunk-XRA7MBOO.js → chunk-PCHRWVXC.js} +2 -2
  351. package/__chunks__/{chunk-FOTIYLGS.js → chunk-PGYJ74AD.js} +2 -2
  352. package/__chunks__/{chunk-67CWWMJV.js → chunk-PHYN544Z.js} +2 -2
  353. package/__chunks__/{chunk-DF2AQYO7.js → chunk-PMREAIGI.js} +2 -2
  354. package/__chunks__/{chunk-NTZ4J3ZX.js → chunk-PNSNXL7L.js} +2 -2
  355. package/__chunks__/{chunk-RDJETZ3F.js → chunk-PXUGFT47.js} +2 -2
  356. package/__chunks__/{chunk-L4OGNGVR.js → chunk-Q3OVBMP3.js} +2 -2
  357. package/__chunks__/{chunk-R5Z4JV3X.js → chunk-Q5WC7I3O.js} +2 -2
  358. package/__chunks__/{chunk-QZWFDZZ3.js → chunk-QD5QDTC3.js} +2 -2
  359. package/__chunks__/{chunk-42I454QK.js → chunk-QGGGF3OX.js} +2 -2
  360. package/__chunks__/{chunk-GW6MOKMY.js → chunk-QNUO32JN.js} +2 -2
  361. package/__chunks__/{chunk-3WJ37IJQ.js → chunk-QOZBVOHT.js} +2 -2
  362. package/__chunks__/{chunk-ANAT47NF.js → chunk-R4B6ID2N.js} +2 -2
  363. package/__chunks__/{chunk-RNVBV4W2.js → chunk-R6AS2UYG.js} +2 -2
  364. package/__chunks__/{chunk-5F5AUJIV.js → chunk-RLVLE6UU.js} +2 -2
  365. package/__chunks__/{chunk-SBWX3IYZ.js → chunk-S2KUPUGA.js} +2 -2
  366. package/__chunks__/chunk-S4BLIW3B.js +2 -0
  367. package/__chunks__/{chunk-GSH4BYXB.js → chunk-S653XWKA.js} +2 -2
  368. package/__chunks__/{chunk-PWZQTMIM.js → chunk-SBN47C2G.js} +2 -2
  369. package/__chunks__/{chunk-J36BPK32.js → chunk-SFP5Q2SB.js} +2 -2
  370. package/__chunks__/{chunk-GG736LLW.js → chunk-SGNT3E2X.js} +2 -2
  371. package/__chunks__/{chunk-7C6XIICR.js → chunk-SLZBO3FX.js} +2 -2
  372. package/__chunks__/{chunk-L6CEZHRZ.js → chunk-SXJLOBGK.js} +2 -2
  373. package/__chunks__/{chunk-CDWLWJH3.js → chunk-SYT2T7G2.js} +2 -2
  374. package/__chunks__/{chunk-SN6WAH6B.js → chunk-SZ3VLYKT.js} +2 -2
  375. package/__chunks__/{chunk-IPE5DLSE.js → chunk-T2CFMPMF.js} +2 -2
  376. package/__chunks__/{chunk-GBQ5D4O5.js → chunk-T2MFBGAA.js} +2 -2
  377. package/__chunks__/{chunk-E7PHXPI7.js → chunk-T2MIRLFN.js} +2 -2
  378. package/__chunks__/{chunk-AM7A2OOW.js → chunk-T34J5F2S.js} +2 -2
  379. package/__chunks__/chunk-T37QL64L.js +2 -0
  380. package/__chunks__/{chunk-KMTJAVQJ.js → chunk-T3NGVEED.js} +2 -2
  381. package/__chunks__/{chunk-AZWOFPFX.js → chunk-T4Q37HLR.js} +2 -2
  382. package/__chunks__/{chunk-ULRLEVOX.js → chunk-TAYARQBC.js} +2 -2
  383. package/__chunks__/{chunk-3P3MCUKK.js → chunk-TFQXTJWG.js} +2 -2
  384. package/__chunks__/chunk-TFVFRNSM.js +2 -0
  385. package/__chunks__/{chunk-JRM3LDSG.js → chunk-TGPRRERJ.js} +2 -2
  386. package/__chunks__/{chunk-4HLBQPQN.js → chunk-TJUHE354.js} +2 -2
  387. package/__chunks__/chunk-TKQGS7L2.js +2 -0
  388. package/__chunks__/{chunk-E66WVYJC.js → chunk-TTBVJAYG.js} +2 -2
  389. package/__chunks__/{chunk-GJLPTW4K.js → chunk-TTZVNWAK.js} +2 -2
  390. package/__chunks__/{chunk-Y6PJXZ2E.js → chunk-TWSAY73D.js} +2 -2
  391. package/__chunks__/{chunk-EDAS6Z7S.js → chunk-TZ6IR7KY.js} +2 -2
  392. package/__chunks__/{chunk-TZY5QRK7.js → chunk-U2ELIFGD.js} +2 -2
  393. package/__chunks__/{chunk-GSUIWNNM.js → chunk-U7BHVZDF.js} +2 -2
  394. package/__chunks__/{chunk-A2D7YVXP.js → chunk-UB7XMLMC.js} +2 -2
  395. package/__chunks__/{chunk-QM7QGMRH.js → chunk-UFE22DXI.js} +2 -2
  396. package/__chunks__/chunk-UGAJ6X3Z.js +2 -0
  397. package/__chunks__/chunk-UGJIORNP.js +2 -0
  398. package/__chunks__/{chunk-25PTVHEB.js → chunk-UIXYMFD4.js} +2 -2
  399. package/__chunks__/{chunk-4QHVTLCL.js → chunk-UM2Z6I3Z.js} +2 -2
  400. package/__chunks__/{chunk-QWB6ASJZ.js → chunk-UNW4PYCC.js} +2 -2
  401. package/__chunks__/{chunk-UIRTEEAJ.js → chunk-UPCMC3JF.js} +2 -2
  402. package/__chunks__/{chunk-ZUJVT2UK.js → chunk-UWZL6MUF.js} +2 -2
  403. package/__chunks__/{chunk-U53EBQ6E.js → chunk-UZ5EL5IA.js} +2 -2
  404. package/__chunks__/{chunk-W6TJJEHF.js → chunk-VGVAZOOL.js} +2 -2
  405. package/__chunks__/{chunk-MDNDUSGB.js → chunk-VHHIARAI.js} +2 -2
  406. package/__chunks__/{chunk-AWP342D7.js → chunk-VOS5AZ4K.js} +2 -2
  407. package/__chunks__/{chunk-Z7JWZURJ.js → chunk-VZZVQSTN.js} +2 -2
  408. package/__chunks__/{chunk-ZOMDIW6A.js → chunk-W4GD6OCO.js} +2 -2
  409. package/__chunks__/{chunk-VU5G7W7V.js → chunk-W5D3A5ES.js} +2 -2
  410. package/__chunks__/{chunk-6XRDVX6C.js → chunk-WB2WVDZA.js} +2 -2
  411. package/__chunks__/{chunk-LBJUKBPW.js → chunk-WCGXNTPB.js} +2 -2
  412. package/__chunks__/{chunk-SUHRUIOX.js → chunk-WJHMRQCO.js} +2 -2
  413. package/__chunks__/chunk-WR6IIZFW.js +2 -0
  414. package/__chunks__/{chunk-EKK5P7LA.js → chunk-WRKOOEXZ.js} +2 -2
  415. package/__chunks__/{chunk-OR4L5DIF.js → chunk-WRKQTXD4.js} +2 -2
  416. package/__chunks__/{chunk-5XAXZ3NX.js → chunk-WU2RFM5A.js} +2 -2
  417. package/__chunks__/{chunk-7CGLDJOD.js → chunk-X7SBGOMA.js} +2 -2
  418. package/__chunks__/{chunk-BB5K7AMG.js → chunk-XACM7U6A.js} +2 -2
  419. package/__chunks__/{chunk-OOZSFHYH.js → chunk-XARXYP2R.js} +2 -2
  420. package/__chunks__/{chunk-DCYIMALR.js → chunk-XGTZDEYC.js} +2 -2
  421. package/__chunks__/{chunk-UKVVZZPC.js → chunk-XRHEAXKK.js} +2 -2
  422. package/__chunks__/{chunk-OYAY4A6E.js → chunk-XVZERATD.js} +2 -2
  423. package/__chunks__/{chunk-TXM7RATR.js → chunk-Y5PCCHR4.js} +2 -2
  424. package/__chunks__/{chunk-L4RGRP2I.js → chunk-Y7U5PXM4.js} +2 -2
  425. package/__chunks__/chunk-YABBPNUR.js +2 -0
  426. package/__chunks__/{chunk-6PZJ6OYX.js → chunk-YCWMLUF4.js} +2 -2
  427. package/__chunks__/{chunk-5X3T3BM4.js → chunk-YGKDW2MQ.js} +2 -2
  428. package/__chunks__/{chunk-ZCM6OSDK.js → chunk-YJXND7MN.js} +2 -2
  429. package/__chunks__/{chunk-X3JF7AJ7.js → chunk-YLMQQGTH.js} +2 -2
  430. package/__chunks__/{chunk-RVD7ASJL.js → chunk-YRIWEATY.js} +2 -2
  431. package/__chunks__/{chunk-NYM7F3NU.js → chunk-YRLJP2A7.js} +2 -2
  432. package/__chunks__/{chunk-O7TAHBTL.js → chunk-YRR6KBN2.js} +2 -2
  433. package/__chunks__/{chunk-WZ4T4C6J.js → chunk-YRS6U35R.js} +2 -2
  434. package/__chunks__/chunk-YW6K2R7N.js +2 -0
  435. package/__chunks__/chunk-YWMWYHIA.js +2 -0
  436. package/__chunks__/{chunk-EVWIXAZV.js → chunk-YYBTFRCM.js} +2 -2
  437. package/__chunks__/{chunk-FNE7PA64.js → chunk-Z2VZSXDK.js} +2 -2
  438. package/__chunks__/{chunk-RNUOTUNR.js → chunk-Z3ZWK4EM.js} +2 -2
  439. package/__chunks__/{chunk-PEYRK6DJ.js → chunk-Z4ABT7NG.js} +2 -2
  440. package/__chunks__/{chunk-Z56HIYKS.js → chunk-ZCM6WCXA.js} +2 -2
  441. package/__chunks__/{chunk-LO2RKWHN.js → chunk-ZMRSOKUW.js} +2 -2
  442. package/__chunks__/chunk-ZQIOXJ4W.js +2 -0
  443. package/__chunks__/chunk-ZTWKQMJR.js +2 -0
  444. package/__chunks__/chunk-ZX7JX6JP.js +2 -0
  445. package/__commonjs/UI/DappModal/hooks/index.js +1 -1
  446. package/__commonjs/UI/DappModal/hooks/useDappModal.js +1 -1
  447. package/__commonjs/UI/SignTransactionsModals/SignTransactionsModals.js +22 -22
  448. package/__commonjs/UI/SignTransactionsModals/SignWithExtraModal/index.js +1 -1
  449. package/__commonjs/UI/SignTransactionsModals/SignWithWalletConnectModal/index.js +5 -5
  450. package/__commonjs/UI/SignTransactionsModals/components/ConfirmationScreen.js +1 -1
  451. package/__commonjs/UI/SignTransactionsModals/components/DeviceConfirmationScreen.js +1 -1
  452. package/__commonjs/UI/SignTransactionsModals/components/index.js +1 -1
  453. package/__commonjs/UI/SignTransactionsModals/index.js +22 -22
  454. package/__commonjs/UI/TransactionInfo/components/DataDecode/DataDecode.js +5 -5
  455. package/__commonjs/UI/TransactionInfo/components/DataDecode/index.js +5 -5
  456. package/__commonjs/UI/TransactionInfo/components/DataField/DataField.js +3 -3
  457. package/__commonjs/UI/TransactionInfo/components/DataField/index.js +3 -3
  458. package/__commonjs/UI/TransactionInfo/components/OperationsList/OperationList.js +10 -10
  459. package/__commonjs/UI/TransactionInfo/components/OperationsList/components/OperationText.js +7 -7
  460. package/__commonjs/UI/TransactionInfo/components/OperationsList/components/OperationToken.js +4 -4
  461. package/__commonjs/UI/TransactionInfo/components/OperationsList/index.js +10 -10
  462. package/__commonjs/UI/TransactionInfo/components/TransactionAction/components/ActionText/index.js +4 -4
  463. package/__commonjs/UI/TransactionInfo/components/TransactionAction/components/ActionToken.js +6 -6
  464. package/__commonjs/UI/TransactionInfo/components/TransactionAction/components/TransactionActionBlock/components/TransactionActionNft.js +3 -3
  465. package/__commonjs/UI/TransactionInfo/components/TransactionAction/components/TransactionActionBlock/components/index.js +4 -4
  466. package/__commonjs/UI/TransactionInfo/components/TransactionAction/components/TransactionActionBlock/index.js +4 -4
  467. package/__commonjs/UI/TransactionInfo/components/TransactionAction/components/index.js +4 -4
  468. package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoEgldPrice/TransactionInfoEgldPrice.js +4 -4
  469. package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoEgldPrice/index.js +4 -4
  470. package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoGasLimit/TransactionInfoGasLimit.js +4 -4
  471. package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoGasLimit/index.js +4 -4
  472. package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoGasPrice/TransactionInfoGasPrice.js +2 -2
  473. package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoGasPrice/index.js +2 -2
  474. package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoGasUsed/TransactionInfoGasUsed.js +4 -4
  475. package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoGasUsed/index.js +4 -4
  476. package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoInputData/TransactionInfoInputData.js +3 -3
  477. package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoInputData/index.js +3 -3
  478. package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoNonce/TransactionInfoNonce.js +2 -2
  479. package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoNonce/index.js +2 -2
  480. package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoValue/TransactionInfoValue.js +4 -4
  481. package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoValue/index.js +4 -4
  482. package/__commonjs/UI/TransactionsTable/components/LockedTokenAddressIcon.js +2 -2
  483. package/__commonjs/UI/TransactionsTable/components/ScAddressIcon.js +2 -2
  484. package/__commonjs/UI/TransactionsTable/components/ShardSpan.js +1 -1
  485. package/__commonjs/UI/TransactionsTable/components/TransactionHash.js +6 -6
  486. package/__commonjs/UI/TransactionsToastList/TransactionsToastList.js +9 -9
  487. package/__commonjs/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/components/ComponentToastFooter.js +1 -1
  488. package/__commonjs/UI/TransactionsToastList/components/CustomToast/components/SimpleToast.js +4 -4
  489. package/__commonjs/UI/TransactionsToastList/components/CustomToast/helpers/getIsTransaction.js +1 -1
  490. package/__commonjs/UI/TransactionsToastList/components/TransactionToast/utils/getToastDataStateByStatus.js +1 -1
  491. package/__commonjs/UI/TransactionsToastList/components/TransactionToast/utils/index.js +1 -1
  492. package/__commonjs/UI/TransactionsToastList/index.js +9 -9
  493. package/__commonjs/UI/UsdValue/UsdValue.js +2 -2
  494. package/__commonjs/UI/UsdValue/index.js +2 -2
  495. package/__commonjs/UI/index.js +74 -74
  496. package/__commonjs/UI/ledger/LedgerLoginContainer/AddressTable.js +7 -7
  497. package/__commonjs/UI/pages/UnlockPage/index.js +10 -10
  498. package/__commonjs/UI/pages/index.js +10 -10
  499. package/__commonjs/UI/walletConnect/WalletConnectLoginButton/index.js +5 -5
  500. package/__commonjs/UI/walletConnect/WalletConnectLoginContainer/index.js +5 -5
  501. package/__commonjs/UI/walletConnect/index.js +5 -5
  502. package/__commonjs/__mocks__/accountConfig.js +1 -1
  503. package/__commonjs/__mocks__/index.js +1 -1
  504. package/__commonjs/__mocks__/server.js +1 -1
  505. package/__commonjs/__mocks__/utils/index.js +1 -1
  506. package/__commonjs/__mocks__/utils/renderWithProvider.js +1 -1
  507. package/__commonjs/apiCalls/configuration/getApiAddressForChainId.js +1 -1
  508. package/__commonjs/apiCalls/configuration/getEnvironmentForChainId.js +1 -1
  509. package/__commonjs/apiCalls/configuration/getServerConfigurationForEnvironment.js +1 -1
  510. package/__commonjs/apiCalls/configuration/index.js +1 -1
  511. package/__commonjs/components/LogoutListener/helpers/index.js +1 -1
  512. package/__commonjs/components/ProviderInitializer.js +1 -1
  513. package/__commonjs/constants/network.js +1 -1
  514. package/__commonjs/hooks/account/index.js +1 -1
  515. package/__commonjs/hooks/account/useGetAccountProvider.js +1 -1
  516. package/__commonjs/hooks/index.js +1 -1
  517. package/__commonjs/hooks/login/index.js +1 -1
  518. package/__commonjs/hooks/login/useExtensionLogin.js +1 -1
  519. package/__commonjs/hooks/login/useLedgerLogin.js +1 -1
  520. package/__commonjs/hooks/login/useLoginService.js +1 -1
  521. package/__commonjs/hooks/login/useOperaLogin.js +1 -1
  522. package/__commonjs/hooks/login/useWalletConnectV2Login.js +1 -1
  523. package/__commonjs/hooks/login/useWebViewLogin.js +1 -1
  524. package/__commonjs/hooks/login/useWebWalletLogin.js +1 -1
  525. package/__commonjs/hooks/signMessage/index.js +1 -1
  526. package/__commonjs/hooks/signMessage/useSignMessage.js +1 -1
  527. package/__commonjs/hooks/transactions/helpers/useClearTransactionsToSignWithWarning.js +1 -1
  528. package/__commonjs/hooks/transactions/useCancelWalletConnectAction.js +1 -1
  529. package/__commonjs/hooks/transactions/useCheckTransactionStatus/getPendingTransactions.js +1 -1
  530. package/__commonjs/hooks/transactions/useCheckTransactionStatus/manageTimedOutTransactions.js +1 -1
  531. package/__commonjs/hooks/transactions/useParseMultiEsdtTransferData.js +1 -1
  532. package/__commonjs/hooks/transactions/useSignTransactions.js +1 -1
  533. package/__commonjs/hooks/transactions/useSignTransactionsWithLedger.js +1 -1
  534. package/__commonjs/hooks/transactions/useTrackTransactionStatus.js +1 -1
  535. package/__commonjs/hooks/userInterface/index.js +1 -1
  536. package/__commonjs/hooks/userInterface/useIsDappModalVisible.js +1 -1
  537. package/__commonjs/providers/accountProvider.js +1 -1
  538. package/__commonjs/providers/index.js +1 -1
  539. package/__commonjs/providers/utils.js +1 -1
  540. package/__commonjs/providers/webviewProvider/index.js +1 -1
  541. package/__commonjs/providers/webviewProvider/requestMethods.js +1 -1
  542. package/__commonjs/providers/webviewProvider/webviewProvider.js +1 -1
  543. package/__commonjs/reduxStore/DappProviderContext.js +1 -1
  544. package/__commonjs/reduxStore/middlewares/loginSessionMiddleware.js +1 -1
  545. package/__commonjs/reduxStore/persistConfig.js +1 -1
  546. package/__commonjs/reduxStore/selectors/accountInfoSelectors.js +1 -1
  547. package/__commonjs/reduxStore/selectors/dappModalsSelectors.js +1 -1
  548. package/__commonjs/reduxStore/selectors/helpers.js +1 -1
  549. package/__commonjs/reduxStore/selectors/loginInfoSelectors.js +1 -1
  550. package/__commonjs/reduxStore/selectors/modalsSelectors.js +1 -1
  551. package/__commonjs/reduxStore/selectors/networkConfigSelectors.js +1 -1
  552. package/__commonjs/reduxStore/selectors/signedMessageInfoSelectors.js +1 -1
  553. package/__commonjs/reduxStore/selectors/toastsSelectors.js +1 -1
  554. package/__commonjs/reduxStore/selectors/transactionsInfoSelectors.js +1 -1
  555. package/__commonjs/reduxStore/slices/accountInfoSlice.js +1 -1
  556. package/__commonjs/reduxStore/slices/dappModalsSlice.js +1 -1
  557. package/__commonjs/reduxStore/slices/index.js +1 -1
  558. package/__commonjs/reduxStore/slices/modalsSlice.js +1 -1
  559. package/__commonjs/reduxStore/slices/signedMessageInfoSlice.js +1 -1
  560. package/__commonjs/reduxStore/slices/transactionsInfoSlice.js +1 -1
  561. package/__commonjs/reduxStore/store.js +1 -1
  562. package/__commonjs/services/nativeAuth/helpers/loginWithNativeAuthToken.js +1 -1
  563. package/__commonjs/services/transactions/isCrossShardTransaction.js +1 -1
  564. package/__commonjs/services/transactions/signTransactions.js +1 -1
  565. package/__commonjs/services/transactions/utils.js +1 -1
  566. package/__commonjs/types/enums.types.js +1 -1
  567. package/__commonjs/types/index.js +1 -1
  568. package/__commonjs/utils/account/getAccount.js +1 -1
  569. package/__commonjs/utils/account/getAccountProviderType.js +1 -1
  570. package/__commonjs/utils/account/getAddress.js +1 -1
  571. package/__commonjs/utils/account/getIsProviderEqualTo.js +1 -1
  572. package/__commonjs/utils/account/getLatestNonce.js +1 -1
  573. package/__commonjs/utils/account/index.js +1 -1
  574. package/__commonjs/utils/account/refreshAccount.js +1 -1
  575. package/__commonjs/utils/account/setNonce.js +1 -1
  576. package/__commonjs/utils/account/signMessage.js +1 -1
  577. package/__commonjs/utils/index.js +2 -2
  578. package/__commonjs/utils/logout.js +1 -1
  579. package/__commonjs/utils/operations/calculateFeeLimit.js +1 -1
  580. package/__commonjs/utils/operations/denominate.js +1 -1
  581. package/__commonjs/utils/operations/formatAmount.js +1 -1
  582. package/__commonjs/utils/operations/index.js +1 -1
  583. package/__commonjs/utils/operations/nominate.js +1 -1
  584. package/__commonjs/utils/platform/detectCurrentPlatform.js +1 -1
  585. package/__commonjs/utils/smartContracts.js +1 -1
  586. package/__commonjs/utils/toasts/customToastsActions.js +1 -1
  587. package/__commonjs/utils/toasts/index.js +1 -1
  588. package/__commonjs/utils/transactions/getAreTransactionsOnSameShard.js +1 -1
  589. package/__commonjs/utils/transactions/getInterpretedTransaction/helpers/getReceiptMessage.js +1 -1
  590. package/__commonjs/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/getTransactionValue.js +1 -1
  591. package/__commonjs/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/helpers/getEgldValueData.js +1 -1
  592. package/__commonjs/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/helpers/getValueFromActions.js +1 -1
  593. package/__commonjs/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/helpers/getValueFromOperations.js +1 -1
  594. package/__commonjs/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/index.js +1 -1
  595. package/__commonjs/utils/transactions/getInterpretedTransaction/helpers/index.js +1 -1
  596. package/__commonjs/utils/transactions/getTokenFromData.js +1 -1
  597. package/__commonjs/utils/transactions/parseMultiEsdtTransferData.js +1 -1
  598. package/__commonjs/utils/transactions/transactionInfoHelpers/decodeForDisplay/decodeForDisplay.js +1 -1
  599. package/__commonjs/utils/transactions/transactionInfoHelpers/decodeForDisplay/helpers/getDisplayValueAndValidationWarnings.js +1 -1
  600. package/__commonjs/utils/transactions/transactionInfoHelpers/decodeForDisplay/helpers/getSmartDecodedParts.js +1 -1
  601. package/__commonjs/utils/transactions/transactionInfoHelpers/decodeForDisplay/helpers/index.js +1 -1
  602. package/__commonjs/utils/transactions/transactionInfoHelpers/decodeForDisplay/index.js +1 -1
  603. package/__commonjs/utils/transactions/transactionInfoHelpers/getScResultsInitialDecodeMethod.js +1 -1
  604. package/__commonjs/utils/transactions/transactionInfoHelpers/getShardText.js +1 -1
  605. package/__commonjs/utils/transactions/transactionInfoHelpers/getTransactionActionNftText.js +1 -1
  606. package/__commonjs/utils/transactions/transactionInfoHelpers/getTransactionActionTokenText.js +1 -1
  607. package/__commonjs/utils/transactions/transactionInfoHelpers/getTransactionLinkWithLabel.js +1 -1
  608. package/__commonjs/utils/transactions/transactionInfoHelpers/getTransactionStatus.js +1 -1
  609. package/__commonjs/utils/transactions/transactionInfoHelpers/getTransactionStatusText.js +1 -1
  610. package/__commonjs/utils/transactions/transactionInfoHelpers/useDataDecode.js +3 -3
  611. package/__commonjs/utils/transactions/transactionInfoHelpers/useDataDecodeMethod.js +1 -1
  612. package/__commonjs/utils/transactions/transactionStateByStatus.js +1 -1
  613. package/__commonjs/utils/validation/maxDecimals.js +1 -1
  614. package/__commonjs/web/hooks/index.js +1 -1
  615. package/__commonjs/web/hooks/useIdleTimer.js +1 -1
  616. package/__commonjs/web/index.js +1 -1
  617. package/__commonjs/wrappers/AxiosInterceptorContext/components/AxiosInterceptor.js +1 -1
  618. package/__commonjs/wrappers/AxiosInterceptorContext/components/LoginInfoListener.js +1 -1
  619. package/__commonjs/wrappers/DappProvider/index.js +1 -1
  620. package/__commonjs/wrappers/index.js +1 -1
  621. package/__mocks__/accountConfig.js +1 -1
  622. package/__mocks__/index.js +1 -1
  623. package/__mocks__/server.js +1 -1
  624. package/__mocks__/utils/index.js +1 -1
  625. package/__mocks__/utils/renderWithProvider.js +1 -1
  626. package/apiCalls/accounts/getAccountFromApi.js +1 -1
  627. package/apiCalls/accounts/index.js +1 -1
  628. package/apiCalls/configuration/getApiAddressForChainId.js +1 -1
  629. package/apiCalls/configuration/getEnvironmentForChainId.js +1 -1
  630. package/apiCalls/configuration/getNetworkConfig.js +1 -1
  631. package/apiCalls/configuration/getServerConfigurationForEnvironment.js +1 -1
  632. package/apiCalls/configuration/index.js +1 -1
  633. package/apiCalls/getScamAddressData.js +1 -1
  634. package/apiCalls/index.js +1 -1
  635. package/apiCalls/transactions/getTransactionsByHashes.js +1 -1
  636. package/apiCalls/transactions/index.js +1 -1
  637. package/apiCalls/transactions/sendSignedTransactions.js +1 -1
  638. package/apiCalls/utils/getCleanApiAddress.js +1 -1
  639. package/apiCalls/utils/index.js +1 -1
  640. package/components/LogoutListener/LogoutListener.js +1 -1
  641. package/components/LogoutListener/helpers/index.js +1 -1
  642. package/components/LogoutListener/helpers/useLogoutFromMultipleTabs.js +1 -1
  643. package/components/LogoutListener/helpers/useNativeAuthLogout.js +1 -1
  644. package/components/LogoutListener/helpers/useNativeAuthLogoutWarning/index.js +1 -1
  645. package/components/LogoutListener/helpers/useNativeAuthLogoutWarning/useNativeAuthLogoutWarning.js +1 -1
  646. package/components/LogoutListener/index.js +1 -1
  647. package/components/ProviderInitializer.js +1 -1
  648. package/components/TransactionSender/TransactionSender.js +1 -1
  649. package/components/TransactionSender/index.js +1 -1
  650. package/components/TransactionStatusToast/FailedTransactionStatusToast.js +1 -1
  651. package/components/TransactionsTracker/TransactionTracker.js +1 -1
  652. package/components/TransactionsTracker/index.js +1 -1
  653. package/components/TransactionsTracker/useTransactionsTracker.js +1 -1
  654. package/constants/index.js +1 -1
  655. package/constants/network.js +1 -1
  656. package/hooks/account/index.js +1 -1
  657. package/hooks/account/useGetAccount.js +1 -1
  658. package/hooks/account/useGetAccountInfo.js +1 -1
  659. package/hooks/account/useGetAccountProvider.js +1 -1
  660. package/hooks/account/useGetIsLoggedIn.js +1 -1
  661. package/hooks/account/useGetLoginInfo.js +1 -1
  662. package/hooks/account/useGetWebsocketEvent.js +1 -1
  663. package/hooks/index.js +1 -1
  664. package/hooks/login/index.js +1 -1
  665. package/hooks/login/useExtensionLogin.js +1 -1
  666. package/hooks/login/useLedgerLogin.js +1 -1
  667. package/hooks/login/useLoginService.js +1 -1
  668. package/hooks/login/useOperaLogin.js +1 -1
  669. package/hooks/login/useWalletConnectLogin.js +1 -1
  670. package/hooks/login/useWalletConnectV2Login.js +1 -1
  671. package/hooks/login/useWebViewLogin.js +1 -1
  672. package/hooks/login/useWebWalletLogin.js +1 -1
  673. package/hooks/signMessage/index.js +1 -1
  674. package/hooks/signMessage/useGetLastSignedMessageSession.js +1 -1
  675. package/hooks/signMessage/useGetSignMessageSession.js +1 -1
  676. package/hooks/signMessage/useGetSignedMessageStatus.js +1 -1
  677. package/hooks/signMessage/useSignMessage.js +1 -1
  678. package/hooks/transactions/helpers/getShouldMoveTransactionsToSignedState.js +1 -1
  679. package/hooks/transactions/helpers/index.js +1 -1
  680. package/hooks/transactions/helpers/useClearTransactionsToSignWithWarning.js +1 -1
  681. package/hooks/transactions/helpers/useSetTransactionNonces.js +1 -1
  682. package/hooks/transactions/index.js +1 -1
  683. package/hooks/transactions/useCancelWalletConnectAction.js +1 -1
  684. package/hooks/transactions/useCheckTransactionStatus/checkBatch.js +1 -1
  685. package/hooks/transactions/useCheckTransactionStatus/getPendingTransactions.js +1 -1
  686. package/hooks/transactions/useCheckTransactionStatus/index.js +1 -1
  687. package/hooks/transactions/useCheckTransactionStatus/manageFailedTransactions.js +1 -1
  688. package/hooks/transactions/useCheckTransactionStatus/manageTimedOutTransactions.js +1 -1
  689. package/hooks/transactions/useCheckTransactionStatus/useCheckTransactionStatus.js +1 -1
  690. package/hooks/transactions/useGetActiveTransactionsStatus.js +1 -1
  691. package/hooks/transactions/useGetFailedTransactions.js +1 -1
  692. package/hooks/transactions/useGetPendingTransactions.js +1 -1
  693. package/hooks/transactions/useGetSignTransactionsError.js +1 -1
  694. package/hooks/transactions/useGetSignedTransactions.js +1 -1
  695. package/hooks/transactions/useGetSuccessfulTransactions.js +1 -1
  696. package/hooks/transactions/useGetTokenDetails.js +1 -1
  697. package/hooks/transactions/useGetTransactionDisplayInfo.js +1 -1
  698. package/hooks/transactions/useParseMultiEsdtTransferData.js +1 -1
  699. package/hooks/transactions/useParseSignedTransactions.js +1 -1
  700. package/hooks/transactions/useSignMultipleTransactions.js +1 -1
  701. package/hooks/transactions/useSignTransactions.js +1 -1
  702. package/hooks/transactions/useSignTransactionsCommonData.js +1 -1
  703. package/hooks/transactions/useSignTransactionsWithDevice.js +1 -1
  704. package/hooks/transactions/useSignTransactionsWithLedger.js +1 -1
  705. package/hooks/transactions/useTrackTransactionStatus.js +1 -1
  706. package/hooks/useGetNetworkConfig.js +1 -1
  707. package/hooks/useGetNotification.js +1 -1
  708. package/hooks/userInterface/index.js +1 -1
  709. package/hooks/userInterface/useIsDappModalVisible.js +1 -1
  710. package/hooks/websocketListener/index.js +1 -1
  711. package/hooks/websocketListener/useInitializeWebsocketConnection.js +1 -1
  712. package/hooks/websocketListener/useRegisterWebsocketListener.js +1 -1
  713. package/models/index.js +1 -1
  714. package/models/newTransaction.js +1 -1
  715. package/package.json +2 -2
  716. package/providers/accountProvider.js +1 -1
  717. package/providers/index.js +1 -1
  718. package/providers/utils.js +1 -1
  719. package/providers/webviewProvider/index.js +1 -1
  720. package/providers/webviewProvider/requestMethods.js +1 -1
  721. package/providers/webviewProvider/webviewProvider.js +1 -1
  722. package/reduxStore/DappProviderContext.js +1 -1
  723. package/reduxStore/commonActions.js +1 -1
  724. package/reduxStore/middlewares/loginSessionMiddleware.js +1 -1
  725. package/reduxStore/persistConfig.js +1 -1
  726. package/reduxStore/persistedRootReducer.d.ts +1 -1
  727. package/reduxStore/persistedRootReducer.js +1 -1
  728. package/reduxStore/reducers.js +1 -1
  729. package/reduxStore/rootReducer.js +1 -1
  730. package/reduxStore/selectors/accountInfoSelectors.js +1 -1
  731. package/reduxStore/selectors/dappModalsSelectors.js +1 -1
  732. package/reduxStore/selectors/helpers.js +1 -1
  733. package/reduxStore/selectors/index.js +1 -1
  734. package/reduxStore/selectors/loginInfoSelectors.js +1 -1
  735. package/reduxStore/selectors/modalsSelectors.js +1 -1
  736. package/reduxStore/selectors/networkConfigSelectors.js +1 -1
  737. package/reduxStore/selectors/signedMessageInfoSelectors.js +1 -1
  738. package/reduxStore/selectors/toastsSelectors.js +1 -1
  739. package/reduxStore/selectors/transactionsInfoSelectors.js +1 -1
  740. package/reduxStore/selectors/transactionsSelectors.js +1 -1
  741. package/reduxStore/slices/accountInfoSlice.js +1 -1
  742. package/reduxStore/slices/dappModalsSlice.js +1 -1
  743. package/reduxStore/slices/index.js +1 -1
  744. package/reduxStore/slices/loginInfoSlice.js +1 -1
  745. package/reduxStore/slices/modalsSlice.js +1 -1
  746. package/reduxStore/slices/signedMessageInfoSlice.js +1 -1
  747. package/reduxStore/slices/toastsSlice.js +1 -1
  748. package/reduxStore/slices/transactionsInfoSlice.js +1 -1
  749. package/reduxStore/slices/transactionsSlice.js +1 -1
  750. package/reduxStore/store.js +1 -1
  751. package/services/index.js +1 -1
  752. package/services/nativeAuth/helpers/loginWithNativeAuthToken.js +1 -1
  753. package/services/transactions/clearTransactions.js +1 -1
  754. package/services/transactions/index.js +1 -1
  755. package/services/transactions/isCrossShardTransaction.js +1 -1
  756. package/services/transactions/sendTransactions.js +1 -1
  757. package/services/transactions/signTransactions.js +1 -1
  758. package/services/transactions/transformAndSignTransactions.js +1 -1
  759. package/services/transactions/utils.js +1 -1
  760. package/types/enums.types.d.ts +2 -1
  761. package/types/enums.types.js +1 -1
  762. package/types/index.js +1 -1
  763. package/utils/account/getAccount.js +1 -1
  764. package/utils/account/getAccountBalance.js +1 -1
  765. package/utils/account/getAccountProviderType.js +1 -1
  766. package/utils/account/getAccountShard.js +1 -1
  767. package/utils/account/getAddress.js +1 -1
  768. package/utils/account/getIsProviderEqualTo.js +1 -1
  769. package/utils/account/getLatestNonce.js +1 -1
  770. package/utils/account/getShardOfAddress.js +1 -1
  771. package/utils/account/index.js +1 -1
  772. package/utils/account/loginWithExternalProvider.js +1 -1
  773. package/utils/account/refreshAccount.js +1 -1
  774. package/utils/account/setNonce.js +1 -1
  775. package/utils/account/signMessage.js +1 -1
  776. package/utils/getIsLoggedIn.js +1 -1
  777. package/utils/index.js +1 -1
  778. package/utils/logout.js +1 -1
  779. package/utils/network/getChainID.js +1 -1
  780. package/utils/network/getEgldLabel.js +1 -1
  781. package/utils/network/getNetworkConfig.js +1 -1
  782. package/utils/network/index.js +1 -1
  783. package/utils/operations/calculateFeeLimit.js +1 -1
  784. package/utils/operations/denominate.js +1 -1
  785. package/utils/operations/formatAmount.js +1 -1
  786. package/utils/operations/index.js +1 -1
  787. package/utils/operations/nominate.js +1 -1
  788. package/utils/operations/parseAmount.js +1 -1
  789. package/utils/platform/detectCurrentPlatform.js +1 -1
  790. package/utils/smartContracts.js +1 -1
  791. package/utils/toasts/customToastsActions.js +1 -1
  792. package/utils/toasts/index.js +1 -1
  793. package/utils/transactions/getAllTransactionsLink.js +1 -1
  794. package/utils/transactions/getAreTransactionsOnSameShard.js +1 -1
  795. package/utils/transactions/getInterpretedTransaction/getInterpretedTransaction.js +1 -1
  796. package/utils/transactions/getInterpretedTransaction/helpers/getReceiptMessage.js +1 -1
  797. package/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/getTransactionValue.js +1 -1
  798. package/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/helpers/getEgldValueData.js +1 -1
  799. package/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/helpers/getTitleText.js +1 -1
  800. package/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/helpers/getValueFromActions.js +1 -1
  801. package/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/helpers/getValueFromDataField.js +1 -1
  802. package/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/helpers/getValueFromOperations.js +1 -1
  803. package/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/helpers/index.js +1 -1
  804. package/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/index.js +1 -1
  805. package/utils/transactions/getInterpretedTransaction/helpers/index.js +1 -1
  806. package/utils/transactions/getInterpretedTransaction/index.js +1 -1
  807. package/utils/transactions/getTokenFromData.js +1 -1
  808. package/utils/transactions/getTransactionLink.js +1 -1
  809. package/utils/transactions/index.js +1 -1
  810. package/utils/transactions/parseMultiEsdtTransferData.js +1 -1
  811. package/utils/transactions/parseTransactionAfterSigning.js +1 -1
  812. package/utils/transactions/transactionInfoHelpers/decodeForDisplay/decodeForDisplay.js +1 -1
  813. package/utils/transactions/transactionInfoHelpers/decodeForDisplay/helpers/getDisplayValueAndValidationWarnings.js +1 -1
  814. package/utils/transactions/transactionInfoHelpers/decodeForDisplay/helpers/getSmartDecodedParts.js +1 -1
  815. package/utils/transactions/transactionInfoHelpers/decodeForDisplay/helpers/index.js +1 -1
  816. package/utils/transactions/transactionInfoHelpers/decodeForDisplay/index.js +1 -1
  817. package/utils/transactions/transactionInfoHelpers/getScResultsInitialDecodeMethod.js +1 -1
  818. package/utils/transactions/transactionInfoHelpers/getShardText.js +1 -1
  819. package/utils/transactions/transactionInfoHelpers/getTransactionActionNftText.js +1 -1
  820. package/utils/transactions/transactionInfoHelpers/getTransactionActionTokenText.js +1 -1
  821. package/utils/transactions/transactionInfoHelpers/getTransactionLinkWithLabel.js +1 -1
  822. package/utils/transactions/transactionInfoHelpers/getTransactionMessages.js +1 -1
  823. package/utils/transactions/transactionInfoHelpers/getTransactionStatus.js +1 -1
  824. package/utils/transactions/transactionInfoHelpers/getTransactionStatusText.js +1 -1
  825. package/utils/transactions/transactionInfoHelpers/index.js +1 -1
  826. package/utils/transactions/transactionInfoHelpers/transactionActionUnwrapper/helpers/index.js +1 -1
  827. package/utils/transactions/transactionInfoHelpers/transactionActionUnwrapper/helpers/mexUnwrapper.js +1 -1
  828. package/utils/transactions/transactionInfoHelpers/transactionActionUnwrapper/index.js +1 -1
  829. package/utils/transactions/transactionInfoHelpers/transactionActionUnwrapper/transactionActionUnwrapper.js +1 -1
  830. package/utils/transactions/transactionInfoHelpers/useDataDecode.js +1 -1
  831. package/utils/transactions/transactionInfoHelpers/useDataDecodeMethod.js +1 -1
  832. package/utils/transactions/transactionStateByStatus.js +1 -1
  833. package/utils/validation/index.js +1 -1
  834. package/utils/validation/maxDecimals.js +1 -1
  835. package/utils/validation/stringIsFloat.js +1 -1
  836. package/web/hooks/index.js +1 -1
  837. package/web/hooks/useIdleTimer.js +1 -1
  838. package/web/index.js +1 -1
  839. package/wrappers/AppInitializer.js +1 -1
  840. package/wrappers/AuthenticatedRoutesWrapper/index.js +1 -1
  841. package/wrappers/AxiosInterceptorContext/AxiosInterceptorContext.js +1 -1
  842. package/wrappers/AxiosInterceptorContext/components/AxiosInterceptor.js +1 -1
  843. package/wrappers/AxiosInterceptorContext/components/AxiosInterceptorContextProvider.js +1 -1
  844. package/wrappers/AxiosInterceptorContext/components/LoginInfoListener.js +1 -1
  845. package/wrappers/AxiosInterceptorContext/components/index.js +1 -1
  846. package/wrappers/AxiosInterceptorContext/index.js +1 -1
  847. package/wrappers/DappProvider/CustomComponents.js +1 -1
  848. package/wrappers/DappProvider/index.js +1 -1
  849. package/wrappers/index.js +1 -1
  850. package/__chunks__/chunk-2ZTVJLOJ.js +0 -2
  851. package/__chunks__/chunk-37KH4Z57.js +0 -2
  852. package/__chunks__/chunk-3O4GBHR3.js +0 -2
  853. package/__chunks__/chunk-43CTUMZY.js +0 -2
  854. package/__chunks__/chunk-4DKSPOQC.js +0 -2
  855. package/__chunks__/chunk-52LWAKUU.js +0 -2
  856. package/__chunks__/chunk-66VVLQWA.js +0 -2
  857. package/__chunks__/chunk-6E7UMUAT.js +0 -2
  858. package/__chunks__/chunk-7PMD4JRS.js +0 -2
  859. package/__chunks__/chunk-A274U45O.js +0 -2
  860. package/__chunks__/chunk-A6R7V6U3.js +0 -2
  861. package/__chunks__/chunk-AJX7U6NK.js +0 -2
  862. package/__chunks__/chunk-BBDZAYAU.js +0 -2
  863. package/__chunks__/chunk-BFSRVA3J.js +0 -2
  864. package/__chunks__/chunk-BQ4N52MW.js +0 -2
  865. package/__chunks__/chunk-DKQCBXAE.js +0 -2
  866. package/__chunks__/chunk-EIE6T4QD.js +0 -2
  867. package/__chunks__/chunk-F7E7BINB.js +0 -2
  868. package/__chunks__/chunk-FA2UEZM2.js +0 -2
  869. package/__chunks__/chunk-FLZGZET2.js +0 -2
  870. package/__chunks__/chunk-FRNVGEYR.js +0 -2
  871. package/__chunks__/chunk-GNEQWXJE.js +0 -2
  872. package/__chunks__/chunk-GZIWNMCW.js +0 -2
  873. package/__chunks__/chunk-IL5JDJWD.js +0 -2
  874. package/__chunks__/chunk-IUPXRKIH.js +0 -2
  875. package/__chunks__/chunk-JDGBXBDB.js +0 -2
  876. package/__chunks__/chunk-KW6HYOXT.js +0 -2
  877. package/__chunks__/chunk-LIOPBJAR.js +0 -2
  878. package/__chunks__/chunk-LLFZUOHV.js +0 -2
  879. package/__chunks__/chunk-LNMQ6RED.js +0 -2
  880. package/__chunks__/chunk-MBF7VDMJ.js +0 -2
  881. package/__chunks__/chunk-MQNEHNFG.js +0 -2
  882. package/__chunks__/chunk-OEMRN6RA.js +0 -2
  883. package/__chunks__/chunk-OWV63OFS.js +0 -2
  884. package/__chunks__/chunk-P7ETYQLM.js +0 -2
  885. package/__chunks__/chunk-PJU2UKAU.js +0 -2
  886. package/__chunks__/chunk-QWA762UQ.js +0 -2
  887. package/__chunks__/chunk-RLBSVH7A.js +0 -2
  888. package/__chunks__/chunk-UXUA2YCT.js +0 -2
  889. package/__chunks__/chunk-VLFWEDOB.js +0 -2
  890. package/__chunks__/chunk-VMEHK3CK.js +0 -2
  891. package/__chunks__/chunk-VRE5TYWU.js +0 -2
  892. package/__chunks__/chunk-W5XMZRTH.js +0 -2
  893. package/__chunks__/chunk-WDVYNUMZ.js +0 -2
  894. package/__chunks__/chunk-Y4MABHXD.js +0 -2
  895. package/__chunks__/chunk-YR7YPWTF.js +0 -2
  896. package/__chunks__/chunk-ZJPGJ7QI.js +0 -2
  897. package/__chunks__/chunk-ZSB5Q3QB.js +0 -2
@@ -1,4 +1,4 @@
1
- "use strict";var ol=Object.create;var Zt=Object.defineProperty,il=Object.defineProperties,sl=Object.getOwnPropertyDescriptor,al=Object.getOwnPropertyDescriptors,cl=Object.getOwnPropertyNames,yr=Object.getOwnPropertySymbols,ll=Object.getPrototypeOf,An=Object.prototype.hasOwnProperty,jo=Object.prototype.propertyIsEnumerable;var zo=(e,t,r)=>t in e?Zt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,y=(e,t)=>{for(var r in t||(t={}))An.call(t,r)&&zo(e,r,t[r]);if(yr)for(var r of yr(t))jo.call(t,r)&&zo(e,r,t[r]);return e},L=(e,t)=>il(e,al(t));var qo=e=>typeof e=="symbol"?e:e+"",rt=(e,t)=>{var r={};for(var o in e)An.call(e,o)&&t.indexOf(o)<0&&(r[o]=e[o]);if(e!=null&&yr)for(var o of yr(e))t.indexOf(o)<0&&jo.call(e,o)&&(r[o]=e[o]);return r};var v=(e,t)=>()=>(e&&(t=e(e=0)),t);var hr=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),nt=(e,t)=>{for(var r in t)Zt(e,r,{get:t[r],enumerable:!0})},Ko=(e,t,r,o)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of cl(t))!An.call(e,i)&&i!==r&&Zt(e,i,{get:()=>t[i],enumerable:!(o=sl(t,i))||o.enumerable});return e};var A=(e,t,r)=>(r=e!=null?ol(ll(e)):{},Ko(t||!e||!e.__esModule?Zt(r,"default",{value:e,enumerable:!0}):r,e)),Xt=e=>Ko(Zt({},"__esModule",{value:!0}),e);var f=(e,t,r)=>new Promise((o,i)=>{var l=u=>{try{d(r.next(u))}catch(g){i(g)}},p=u=>{try{d(r.throw(u))}catch(g){i(g)}},d=u=>u.done?o(u.value):Promise.resolve(u.value).then(l,p);d((r=r.apply(e,t)).next())});var Zo=hr(Sr=>{"use strict";n();Sr.byteLength=ul;Sr.toByteArray=ml;Sr.fromByteArray=Tl;var he=[],ue=[],pl=typeof Uint8Array!="undefined"?Uint8Array:Array,In="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(ot=0,Jo=In.length;ot<Jo;++ot)he[ot]=In[ot],ue[In.charCodeAt(ot)]=ot;var ot,Jo;ue["-".charCodeAt(0)]=62;ue["_".charCodeAt(0)]=63;function Yo(e){var t=e.length;if(t%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var r=e.indexOf("=");r===-1&&(r=t);var o=r===t?0:4-r%4;return[r,o]}function ul(e){var t=Yo(e),r=t[0],o=t[1];return(r+o)*3/4-o}function dl(e,t,r){return(t+r)*3/4-r}function ml(e){var t,r=Yo(e),o=r[0],i=r[1],l=new pl(dl(e,o,i)),p=0,d=i>0?o-4:o,u;for(u=0;u<d;u+=4)t=ue[e.charCodeAt(u)]<<18|ue[e.charCodeAt(u+1)]<<12|ue[e.charCodeAt(u+2)]<<6|ue[e.charCodeAt(u+3)],l[p++]=t>>16&255,l[p++]=t>>8&255,l[p++]=t&255;return i===2&&(t=ue[e.charCodeAt(u)]<<2|ue[e.charCodeAt(u+1)]>>4,l[p++]=t&255),i===1&&(t=ue[e.charCodeAt(u)]<<10|ue[e.charCodeAt(u+1)]<<4|ue[e.charCodeAt(u+2)]>>2,l[p++]=t>>8&255,l[p++]=t&255),l}function gl(e){return he[e>>18&63]+he[e>>12&63]+he[e>>6&63]+he[e&63]}function fl(e,t,r){for(var o,i=[],l=t;l<r;l+=3)o=(e[l]<<16&16711680)+(e[l+1]<<8&65280)+(e[l+2]&255),i.push(gl(o));return i.join("")}function Tl(e){for(var t,r=e.length,o=r%3,i=[],l=16383,p=0,d=r-o;p<d;p+=l)i.push(fl(e,p,p+l>d?d:p+l));return o===1?(t=e[r-1],i.push(he[t>>2]+he[t<<4&63]+"==")):o===2&&(t=(e[r-2]<<8)+e[r-1],i.push(he[t>>10]+he[t>>4&63]+he[t<<2&63]+"=")),i.join("")}});var Xo=hr(bn=>{n();bn.read=function(e,t,r,o,i){var l,p,d=i*8-o-1,u=(1<<d)-1,g=u>>1,T=-7,h=r?i-1:0,I=r?-1:1,C=e[t+h];for(h+=I,l=C&(1<<-T)-1,C>>=-T,T+=d;T>0;l=l*256+e[t+h],h+=I,T-=8);for(p=l&(1<<-T)-1,l>>=-T,T+=o;T>0;p=p*256+e[t+h],h+=I,T-=8);if(l===0)l=1-g;else{if(l===u)return p?NaN:(C?-1:1)*(1/0);p=p+Math.pow(2,o),l=l-g}return(C?-1:1)*p*Math.pow(2,l-o)};bn.write=function(e,t,r,o,i,l){var p,d,u,g=l*8-i-1,T=(1<<g)-1,h=T>>1,I=i===23?Math.pow(2,-24)-Math.pow(2,-77):0,C=o?0:l-1,k=o?1:-1,b=t<0||t===0&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(d=isNaN(t)?1:0,p=T):(p=Math.floor(Math.log(t)/Math.LN2),t*(u=Math.pow(2,-p))<1&&(p--,u*=2),p+h>=1?t+=I/u:t+=I*Math.pow(2,1-h),t*u>=2&&(p++,u/=2),p+h>=T?(d=0,p=T):p+h>=1?(d=(t*u-1)*Math.pow(2,i),p=p+h):(d=t*Math.pow(2,h-1)*Math.pow(2,i),p=0));i>=8;e[r+C]=d&255,C+=k,d/=256,i-=8);for(p=p<<i|d,g+=i;g>0;e[r+C]=p&255,C+=k,p/=256,g-=8);e[r+C-k]|=b*128}});var ui=hr(It=>{"use strict";n();var Ln=Zo(),At=Xo(),Qo=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;It.Buffer=m;It.SlowBuffer=vl;It.INSPECT_MAX_BYTES=50;var xr=2147483647;It.kMaxLength=xr;m.TYPED_ARRAY_SUPPORT=yl();!m.TYPED_ARRAY_SUPPORT&&typeof console!="undefined"&&typeof console.error=="function"&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function yl(){try{var e=new Uint8Array(1),t={foo:function(){return 42}};return Object.setPrototypeOf(t,Uint8Array.prototype),Object.setPrototypeOf(e,t),e.foo()===42}catch(r){return!1}}Object.defineProperty(m.prototype,"parent",{enumerable:!0,get:function(){if(!!m.isBuffer(this))return this.buffer}});Object.defineProperty(m.prototype,"offset",{enumerable:!0,get:function(){if(!!m.isBuffer(this))return this.byteOffset}});function ke(e){if(e>xr)throw new RangeError('The value "'+e+'" is invalid for option "size"');var t=new Uint8Array(e);return Object.setPrototypeOf(t,m.prototype),t}function m(e,t,r){if(typeof e=="number"){if(typeof t=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return Cn(e)}return ri(e,t,r)}m.poolSize=8192;function ri(e,t,r){if(typeof e=="string")return Sl(e,t);if(ArrayBuffer.isView(e))return xl(e);if(e==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e);if(Se(e,ArrayBuffer)||e&&Se(e.buffer,ArrayBuffer)||typeof SharedArrayBuffer!="undefined"&&(Se(e,SharedArrayBuffer)||e&&Se(e.buffer,SharedArrayBuffer)))return En(e,t,r);if(typeof e=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var o=e.valueOf&&e.valueOf();if(o!=null&&o!==e)return m.from(o,t,r);var i=wl(e);if(i)return i;if(typeof Symbol!="undefined"&&Symbol.toPrimitive!=null&&typeof e[Symbol.toPrimitive]=="function")return m.from(e[Symbol.toPrimitive]("string"),t,r);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e)}m.from=function(e,t,r){return ri(e,t,r)};Object.setPrototypeOf(m.prototype,Uint8Array.prototype);Object.setPrototypeOf(m,Uint8Array);function ni(e){if(typeof e!="number")throw new TypeError('"size" argument must be of type number');if(e<0)throw new RangeError('The value "'+e+'" is invalid for option "size"')}function hl(e,t,r){return ni(e),e<=0?ke(e):t!==void 0?typeof r=="string"?ke(e).fill(t,r):ke(e).fill(t):ke(e)}m.alloc=function(e,t,r){return hl(e,t,r)};function Cn(e){return ni(e),ke(e<0?0:Rn(e)|0)}m.allocUnsafe=function(e){return Cn(e)};m.allocUnsafeSlow=function(e){return Cn(e)};function Sl(e,t){if((typeof t!="string"||t==="")&&(t="utf8"),!m.isEncoding(t))throw new TypeError("Unknown encoding: "+t);var r=oi(e,t)|0,o=ke(r),i=o.write(e,t);return i!==r&&(o=o.slice(0,i)),o}function kn(e){for(var t=e.length<0?0:Rn(e.length)|0,r=ke(t),o=0;o<t;o+=1)r[o]=e[o]&255;return r}function xl(e){if(Se(e,Uint8Array)){var t=new Uint8Array(e);return En(t.buffer,t.byteOffset,t.byteLength)}return kn(e)}function En(e,t,r){if(t<0||e.byteLength<t)throw new RangeError('"offset" is outside of buffer bounds');if(e.byteLength<t+(r||0))throw new RangeError('"length" is outside of buffer bounds');var o;return t===void 0&&r===void 0?o=new Uint8Array(e):r===void 0?o=new Uint8Array(e,t):o=new Uint8Array(e,t,r),Object.setPrototypeOf(o,m.prototype),o}function wl(e){if(m.isBuffer(e)){var t=Rn(e.length)|0,r=ke(t);return r.length===0||e.copy(r,0,0,t),r}if(e.length!==void 0)return typeof e.length!="number"||Nn(e.length)?ke(0):kn(e);if(e.type==="Buffer"&&Array.isArray(e.data))return kn(e.data)}function Rn(e){if(e>=xr)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+xr.toString(16)+" bytes");return e|0}function vl(e){return+e!=e&&(e=0),m.alloc(+e)}m.isBuffer=function(t){return t!=null&&t._isBuffer===!0&&t!==m.prototype};m.compare=function(t,r){if(Se(t,Uint8Array)&&(t=m.from(t,t.offset,t.byteLength)),Se(r,Uint8Array)&&(r=m.from(r,r.offset,r.byteLength)),!m.isBuffer(t)||!m.isBuffer(r))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(t===r)return 0;for(var o=t.length,i=r.length,l=0,p=Math.min(o,i);l<p;++l)if(t[l]!==r[l]){o=t[l],i=r[l];break}return o<i?-1:i<o?1:0};m.isEncoding=function(t){switch(String(t).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}};m.concat=function(t,r){if(!Array.isArray(t))throw new TypeError('"list" argument must be an Array of Buffers');if(t.length===0)return m.alloc(0);var o;if(r===void 0)for(r=0,o=0;o<t.length;++o)r+=t[o].length;var i=m.allocUnsafe(r),l=0;for(o=0;o<t.length;++o){var p=t[o];if(Se(p,Uint8Array))l+p.length>i.length?m.from(p).copy(i,l):Uint8Array.prototype.set.call(i,p,l);else if(m.isBuffer(p))p.copy(i,l);else throw new TypeError('"list" argument must be an Array of Buffers');l+=p.length}return i};function oi(e,t){if(m.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||Se(e,ArrayBuffer))return e.byteLength;if(typeof e!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof e);var r=e.length,o=arguments.length>2&&arguments[2]===!0;if(!o&&r===0)return 0;for(var i=!1;;)switch(t){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":return Pn(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return r*2;case"hex":return r>>>1;case"base64":return pi(e).length;default:if(i)return o?-1:Pn(e).length;t=(""+t).toLowerCase(),i=!0}}m.byteLength=oi;function Al(e,t,r){var o=!1;if((t===void 0||t<0)&&(t=0),t>this.length||((r===void 0||r>this.length)&&(r=this.length),r<=0)||(r>>>=0,t>>>=0,r<=t))return"";for(e||(e="utf8");;)switch(e){case"hex":return Dl(this,t,r);case"utf8":case"utf-8":return si(this,t,r);case"ascii":return Rl(this,t,r);case"latin1":case"binary":return Nl(this,t,r);case"base64":return Pl(this,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Ml(this,t,r);default:if(o)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),o=!0}}m.prototype._isBuffer=!0;function it(e,t,r){var o=e[t];e[t]=e[r],e[r]=o}m.prototype.swap16=function(){var t=this.length;if(t%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var r=0;r<t;r+=2)it(this,r,r+1);return this};m.prototype.swap32=function(){var t=this.length;if(t%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var r=0;r<t;r+=4)it(this,r,r+3),it(this,r+1,r+2);return this};m.prototype.swap64=function(){var t=this.length;if(t%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var r=0;r<t;r+=8)it(this,r,r+7),it(this,r+1,r+6),it(this,r+2,r+5),it(this,r+3,r+4);return this};m.prototype.toString=function(){var t=this.length;return t===0?"":arguments.length===0?si(this,0,t):Al.apply(this,arguments)};m.prototype.toLocaleString=m.prototype.toString;m.prototype.equals=function(t){if(!m.isBuffer(t))throw new TypeError("Argument must be a Buffer");return this===t?!0:m.compare(this,t)===0};m.prototype.inspect=function(){var t="",r=It.INSPECT_MAX_BYTES;return t=this.toString("hex",0,r).replace(/(.{2})/g,"$1 ").trim(),this.length>r&&(t+=" ... "),"<Buffer "+t+">"};Qo&&(m.prototype[Qo]=m.prototype.inspect);m.prototype.compare=function(t,r,o,i,l){if(Se(t,Uint8Array)&&(t=m.from(t,t.offset,t.byteLength)),!m.isBuffer(t))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof t);if(r===void 0&&(r=0),o===void 0&&(o=t?t.length:0),i===void 0&&(i=0),l===void 0&&(l=this.length),r<0||o>t.length||i<0||l>this.length)throw new RangeError("out of range index");if(i>=l&&r>=o)return 0;if(i>=l)return-1;if(r>=o)return 1;if(r>>>=0,o>>>=0,i>>>=0,l>>>=0,this===t)return 0;for(var p=l-i,d=o-r,u=Math.min(p,d),g=this.slice(i,l),T=t.slice(r,o),h=0;h<u;++h)if(g[h]!==T[h]){p=g[h],d=T[h];break}return p<d?-1:d<p?1:0};function ii(e,t,r,o,i){if(e.length===0)return-1;if(typeof r=="string"?(o=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),r=+r,Nn(r)&&(r=i?0:e.length-1),r<0&&(r=e.length+r),r>=e.length){if(i)return-1;r=e.length-1}else if(r<0)if(i)r=0;else return-1;if(typeof t=="string"&&(t=m.from(t,o)),m.isBuffer(t))return t.length===0?-1:ei(e,t,r,o,i);if(typeof t=="number")return t=t&255,typeof Uint8Array.prototype.indexOf=="function"?i?Uint8Array.prototype.indexOf.call(e,t,r):Uint8Array.prototype.lastIndexOf.call(e,t,r):ei(e,[t],r,o,i);throw new TypeError("val must be string, number or Buffer")}function ei(e,t,r,o,i){var l=1,p=e.length,d=t.length;if(o!==void 0&&(o=String(o).toLowerCase(),o==="ucs2"||o==="ucs-2"||o==="utf16le"||o==="utf-16le")){if(e.length<2||t.length<2)return-1;l=2,p/=2,d/=2,r/=2}function u(C,k){return l===1?C[k]:C.readUInt16BE(k*l)}var g;if(i){var T=-1;for(g=r;g<p;g++)if(u(e,g)===u(t,T===-1?0:g-T)){if(T===-1&&(T=g),g-T+1===d)return T*l}else T!==-1&&(g-=g-T),T=-1}else for(r+d>p&&(r=p-d),g=r;g>=0;g--){for(var h=!0,I=0;I<d;I++)if(u(e,g+I)!==u(t,I)){h=!1;break}if(h)return g}return-1}m.prototype.includes=function(t,r,o){return this.indexOf(t,r,o)!==-1};m.prototype.indexOf=function(t,r,o){return ii(this,t,r,o,!0)};m.prototype.lastIndexOf=function(t,r,o){return ii(this,t,r,o,!1)};function Il(e,t,r,o){r=Number(r)||0;var i=e.length-r;o?(o=Number(o),o>i&&(o=i)):o=i;var l=t.length;o>l/2&&(o=l/2);for(var p=0;p<o;++p){var d=parseInt(t.substr(p*2,2),16);if(Nn(d))return p;e[r+p]=d}return p}function bl(e,t,r,o){return wr(Pn(t,e.length-r),e,r,o)}function Ll(e,t,r,o){return wr(Fl(t),e,r,o)}function kl(e,t,r,o){return wr(pi(t),e,r,o)}function El(e,t,r,o){return wr(Ul(t,e.length-r),e,r,o)}m.prototype.write=function(t,r,o,i){if(r===void 0)i="utf8",o=this.length,r=0;else if(o===void 0&&typeof r=="string")i=r,o=this.length,r=0;else if(isFinite(r))r=r>>>0,isFinite(o)?(o=o>>>0,i===void 0&&(i="utf8")):(i=o,o=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var l=this.length-r;if((o===void 0||o>l)&&(o=l),t.length>0&&(o<0||r<0)||r>this.length)throw new RangeError("Attempt to write outside buffer bounds");i||(i="utf8");for(var p=!1;;)switch(i){case"hex":return Il(this,t,r,o);case"utf8":case"utf-8":return bl(this,t,r,o);case"ascii":case"latin1":case"binary":return Ll(this,t,r,o);case"base64":return kl(this,t,r,o);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return El(this,t,r,o);default:if(p)throw new TypeError("Unknown encoding: "+i);i=(""+i).toLowerCase(),p=!0}};m.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function Pl(e,t,r){return t===0&&r===e.length?Ln.fromByteArray(e):Ln.fromByteArray(e.slice(t,r))}function si(e,t,r){r=Math.min(e.length,r);for(var o=[],i=t;i<r;){var l=e[i],p=null,d=l>239?4:l>223?3:l>191?2:1;if(i+d<=r){var u,g,T,h;switch(d){case 1:l<128&&(p=l);break;case 2:u=e[i+1],(u&192)===128&&(h=(l&31)<<6|u&63,h>127&&(p=h));break;case 3:u=e[i+1],g=e[i+2],(u&192)===128&&(g&192)===128&&(h=(l&15)<<12|(u&63)<<6|g&63,h>2047&&(h<55296||h>57343)&&(p=h));break;case 4:u=e[i+1],g=e[i+2],T=e[i+3],(u&192)===128&&(g&192)===128&&(T&192)===128&&(h=(l&15)<<18|(u&63)<<12|(g&63)<<6|T&63,h>65535&&h<1114112&&(p=h))}}p===null?(p=65533,d=1):p>65535&&(p-=65536,o.push(p>>>10&1023|55296),p=56320|p&1023),o.push(p),i+=d}return Cl(o)}var ti=4096;function Cl(e){var t=e.length;if(t<=ti)return String.fromCharCode.apply(String,e);for(var r="",o=0;o<t;)r+=String.fromCharCode.apply(String,e.slice(o,o+=ti));return r}function Rl(e,t,r){var o="";r=Math.min(e.length,r);for(var i=t;i<r;++i)o+=String.fromCharCode(e[i]&127);return o}function Nl(e,t,r){var o="";r=Math.min(e.length,r);for(var i=t;i<r;++i)o+=String.fromCharCode(e[i]);return o}function Dl(e,t,r){var o=e.length;(!t||t<0)&&(t=0),(!r||r<0||r>o)&&(r=o);for(var i="",l=t;l<r;++l)i+=Bl[e[l]];return i}function Ml(e,t,r){for(var o=e.slice(t,r),i="",l=0;l<o.length-1;l+=2)i+=String.fromCharCode(o[l]+o[l+1]*256);return i}m.prototype.slice=function(t,r){var o=this.length;t=~~t,r=r===void 0?o:~~r,t<0?(t+=o,t<0&&(t=0)):t>o&&(t=o),r<0?(r+=o,r<0&&(r=0)):r>o&&(r=o),r<t&&(r=t);var i=this.subarray(t,r);return Object.setPrototypeOf(i,m.prototype),i};function $(e,t,r){if(e%1!==0||e<0)throw new RangeError("offset is not uint");if(e+t>r)throw new RangeError("Trying to access beyond buffer length")}m.prototype.readUintLE=m.prototype.readUIntLE=function(t,r,o){t=t>>>0,r=r>>>0,o||$(t,r,this.length);for(var i=this[t],l=1,p=0;++p<r&&(l*=256);)i+=this[t+p]*l;return i};m.prototype.readUintBE=m.prototype.readUIntBE=function(t,r,o){t=t>>>0,r=r>>>0,o||$(t,r,this.length);for(var i=this[t+--r],l=1;r>0&&(l*=256);)i+=this[t+--r]*l;return i};m.prototype.readUint8=m.prototype.readUInt8=function(t,r){return t=t>>>0,r||$(t,1,this.length),this[t]};m.prototype.readUint16LE=m.prototype.readUInt16LE=function(t,r){return t=t>>>0,r||$(t,2,this.length),this[t]|this[t+1]<<8};m.prototype.readUint16BE=m.prototype.readUInt16BE=function(t,r){return t=t>>>0,r||$(t,2,this.length),this[t]<<8|this[t+1]};m.prototype.readUint32LE=m.prototype.readUInt32LE=function(t,r){return t=t>>>0,r||$(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+this[t+3]*16777216};m.prototype.readUint32BE=m.prototype.readUInt32BE=function(t,r){return t=t>>>0,r||$(t,4,this.length),this[t]*16777216+(this[t+1]<<16|this[t+2]<<8|this[t+3])};m.prototype.readIntLE=function(t,r,o){t=t>>>0,r=r>>>0,o||$(t,r,this.length);for(var i=this[t],l=1,p=0;++p<r&&(l*=256);)i+=this[t+p]*l;return l*=128,i>=l&&(i-=Math.pow(2,8*r)),i};m.prototype.readIntBE=function(t,r,o){t=t>>>0,r=r>>>0,o||$(t,r,this.length);for(var i=r,l=1,p=this[t+--i];i>0&&(l*=256);)p+=this[t+--i]*l;return l*=128,p>=l&&(p-=Math.pow(2,8*r)),p};m.prototype.readInt8=function(t,r){return t=t>>>0,r||$(t,1,this.length),this[t]&128?(255-this[t]+1)*-1:this[t]};m.prototype.readInt16LE=function(t,r){t=t>>>0,r||$(t,2,this.length);var o=this[t]|this[t+1]<<8;return o&32768?o|4294901760:o};m.prototype.readInt16BE=function(t,r){t=t>>>0,r||$(t,2,this.length);var o=this[t+1]|this[t]<<8;return o&32768?o|4294901760:o};m.prototype.readInt32LE=function(t,r){return t=t>>>0,r||$(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24};m.prototype.readInt32BE=function(t,r){return t=t>>>0,r||$(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]};m.prototype.readFloatLE=function(t,r){return t=t>>>0,r||$(t,4,this.length),At.read(this,t,!0,23,4)};m.prototype.readFloatBE=function(t,r){return t=t>>>0,r||$(t,4,this.length),At.read(this,t,!1,23,4)};m.prototype.readDoubleLE=function(t,r){return t=t>>>0,r||$(t,8,this.length),At.read(this,t,!0,52,8)};m.prototype.readDoubleBE=function(t,r){return t=t>>>0,r||$(t,8,this.length),At.read(this,t,!1,52,8)};function ne(e,t,r,o,i,l){if(!m.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>i||t<l)throw new RangeError('"value" argument is out of bounds');if(r+o>e.length)throw new RangeError("Index out of range")}m.prototype.writeUintLE=m.prototype.writeUIntLE=function(t,r,o,i){if(t=+t,r=r>>>0,o=o>>>0,!i){var l=Math.pow(2,8*o)-1;ne(this,t,r,o,l,0)}var p=1,d=0;for(this[r]=t&255;++d<o&&(p*=256);)this[r+d]=t/p&255;return r+o};m.prototype.writeUintBE=m.prototype.writeUIntBE=function(t,r,o,i){if(t=+t,r=r>>>0,o=o>>>0,!i){var l=Math.pow(2,8*o)-1;ne(this,t,r,o,l,0)}var p=o-1,d=1;for(this[r+p]=t&255;--p>=0&&(d*=256);)this[r+p]=t/d&255;return r+o};m.prototype.writeUint8=m.prototype.writeUInt8=function(t,r,o){return t=+t,r=r>>>0,o||ne(this,t,r,1,255,0),this[r]=t&255,r+1};m.prototype.writeUint16LE=m.prototype.writeUInt16LE=function(t,r,o){return t=+t,r=r>>>0,o||ne(this,t,r,2,65535,0),this[r]=t&255,this[r+1]=t>>>8,r+2};m.prototype.writeUint16BE=m.prototype.writeUInt16BE=function(t,r,o){return t=+t,r=r>>>0,o||ne(this,t,r,2,65535,0),this[r]=t>>>8,this[r+1]=t&255,r+2};m.prototype.writeUint32LE=m.prototype.writeUInt32LE=function(t,r,o){return t=+t,r=r>>>0,o||ne(this,t,r,4,4294967295,0),this[r+3]=t>>>24,this[r+2]=t>>>16,this[r+1]=t>>>8,this[r]=t&255,r+4};m.prototype.writeUint32BE=m.prototype.writeUInt32BE=function(t,r,o){return t=+t,r=r>>>0,o||ne(this,t,r,4,4294967295,0),this[r]=t>>>24,this[r+1]=t>>>16,this[r+2]=t>>>8,this[r+3]=t&255,r+4};m.prototype.writeIntLE=function(t,r,o,i){if(t=+t,r=r>>>0,!i){var l=Math.pow(2,8*o-1);ne(this,t,r,o,l-1,-l)}var p=0,d=1,u=0;for(this[r]=t&255;++p<o&&(d*=256);)t<0&&u===0&&this[r+p-1]!==0&&(u=1),this[r+p]=(t/d>>0)-u&255;return r+o};m.prototype.writeIntBE=function(t,r,o,i){if(t=+t,r=r>>>0,!i){var l=Math.pow(2,8*o-1);ne(this,t,r,o,l-1,-l)}var p=o-1,d=1,u=0;for(this[r+p]=t&255;--p>=0&&(d*=256);)t<0&&u===0&&this[r+p+1]!==0&&(u=1),this[r+p]=(t/d>>0)-u&255;return r+o};m.prototype.writeInt8=function(t,r,o){return t=+t,r=r>>>0,o||ne(this,t,r,1,127,-128),t<0&&(t=255+t+1),this[r]=t&255,r+1};m.prototype.writeInt16LE=function(t,r,o){return t=+t,r=r>>>0,o||ne(this,t,r,2,32767,-32768),this[r]=t&255,this[r+1]=t>>>8,r+2};m.prototype.writeInt16BE=function(t,r,o){return t=+t,r=r>>>0,o||ne(this,t,r,2,32767,-32768),this[r]=t>>>8,this[r+1]=t&255,r+2};m.prototype.writeInt32LE=function(t,r,o){return t=+t,r=r>>>0,o||ne(this,t,r,4,2147483647,-2147483648),this[r]=t&255,this[r+1]=t>>>8,this[r+2]=t>>>16,this[r+3]=t>>>24,r+4};m.prototype.writeInt32BE=function(t,r,o){return t=+t,r=r>>>0,o||ne(this,t,r,4,2147483647,-2147483648),t<0&&(t=4294967295+t+1),this[r]=t>>>24,this[r+1]=t>>>16,this[r+2]=t>>>8,this[r+3]=t&255,r+4};function ai(e,t,r,o,i,l){if(r+o>e.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function ci(e,t,r,o,i){return t=+t,r=r>>>0,i||ai(e,t,r,4,34028234663852886e22,-34028234663852886e22),At.write(e,t,r,o,23,4),r+4}m.prototype.writeFloatLE=function(t,r,o){return ci(this,t,r,!0,o)};m.prototype.writeFloatBE=function(t,r,o){return ci(this,t,r,!1,o)};function li(e,t,r,o,i){return t=+t,r=r>>>0,i||ai(e,t,r,8,17976931348623157e292,-17976931348623157e292),At.write(e,t,r,o,52,8),r+8}m.prototype.writeDoubleLE=function(t,r,o){return li(this,t,r,!0,o)};m.prototype.writeDoubleBE=function(t,r,o){return li(this,t,r,!1,o)};m.prototype.copy=function(t,r,o,i){if(!m.isBuffer(t))throw new TypeError("argument should be a Buffer");if(o||(o=0),!i&&i!==0&&(i=this.length),r>=t.length&&(r=t.length),r||(r=0),i>0&&i<o&&(i=o),i===o||t.length===0||this.length===0)return 0;if(r<0)throw new RangeError("targetStart out of bounds");if(o<0||o>=this.length)throw new RangeError("Index out of range");if(i<0)throw new RangeError("sourceEnd out of bounds");i>this.length&&(i=this.length),t.length-r<i-o&&(i=t.length-r+o);var l=i-o;return this===t&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(r,o,i):Uint8Array.prototype.set.call(t,this.subarray(o,i),r),l};m.prototype.fill=function(t,r,o,i){if(typeof t=="string"){if(typeof r=="string"?(i=r,r=0,o=this.length):typeof o=="string"&&(i=o,o=this.length),i!==void 0&&typeof i!="string")throw new TypeError("encoding must be a string");if(typeof i=="string"&&!m.isEncoding(i))throw new TypeError("Unknown encoding: "+i);if(t.length===1){var l=t.charCodeAt(0);(i==="utf8"&&l<128||i==="latin1")&&(t=l)}}else typeof t=="number"?t=t&255:typeof t=="boolean"&&(t=Number(t));if(r<0||this.length<r||this.length<o)throw new RangeError("Out of range index");if(o<=r)return this;r=r>>>0,o=o===void 0?this.length:o>>>0,t||(t=0);var p;if(typeof t=="number")for(p=r;p<o;++p)this[p]=t;else{var d=m.isBuffer(t)?t:m.from(t,i),u=d.length;if(u===0)throw new TypeError('The value "'+t+'" is invalid for argument "value"');for(p=0;p<o-r;++p)this[p+r]=d[p%u]}return this};var Ol=/[^+/0-9A-Za-z-_]/g;function _l(e){if(e=e.split("=")[0],e=e.trim().replace(Ol,""),e.length<2)return"";for(;e.length%4!==0;)e=e+"=";return e}function Pn(e,t){t=t||1/0;for(var r,o=e.length,i=null,l=[],p=0;p<o;++p){if(r=e.charCodeAt(p),r>55295&&r<57344){if(!i){if(r>56319){(t-=3)>-1&&l.push(239,191,189);continue}else if(p+1===o){(t-=3)>-1&&l.push(239,191,189);continue}i=r;continue}if(r<56320){(t-=3)>-1&&l.push(239,191,189),i=r;continue}r=(i-55296<<10|r-56320)+65536}else i&&(t-=3)>-1&&l.push(239,191,189);if(i=null,r<128){if((t-=1)<0)break;l.push(r)}else if(r<2048){if((t-=2)<0)break;l.push(r>>6|192,r&63|128)}else if(r<65536){if((t-=3)<0)break;l.push(r>>12|224,r>>6&63|128,r&63|128)}else if(r<1114112){if((t-=4)<0)break;l.push(r>>18|240,r>>12&63|128,r>>6&63|128,r&63|128)}else throw new Error("Invalid code point")}return l}function Fl(e){for(var t=[],r=0;r<e.length;++r)t.push(e.charCodeAt(r)&255);return t}function Ul(e,t){for(var r,o,i,l=[],p=0;p<e.length&&!((t-=2)<0);++p)r=e.charCodeAt(p),o=r>>8,i=r%256,l.push(i),l.push(o);return l}function pi(e){return Ln.toByteArray(_l(e))}function wr(e,t,r,o){for(var i=0;i<o&&!(i+r>=t.length||i>=e.length);++i)t[i+r]=e[i];return i}function Se(e,t){return e instanceof t||e!=null&&e.constructor!=null&&e.constructor.name!=null&&e.constructor.name===t.name}function Nn(e){return e!==e}var Bl=function(){for(var e="0123456789abcdef",t=new Array(256),r=0;r<16;++r)for(var o=r*16,i=0;i<16;++i)t[o+i]=e[r]+e[i];return t}()});var Ti=hr(($d,fi)=>{n();var U=fi.exports={},xe,we;function Dn(){throw new Error("setTimeout has not been defined")}function Mn(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?xe=setTimeout:xe=Dn}catch(e){xe=Dn}try{typeof clearTimeout=="function"?we=clearTimeout:we=Mn}catch(e){we=Mn}})();function di(e){if(xe===setTimeout)return setTimeout(e,0);if((xe===Dn||!xe)&&setTimeout)return xe=setTimeout,setTimeout(e,0);try{return xe(e,0)}catch(t){try{return xe.call(null,e,0)}catch(r){return xe.call(this,e,0)}}}function Wl(e){if(we===clearTimeout)return clearTimeout(e);if((we===Mn||!we)&&clearTimeout)return we=clearTimeout,clearTimeout(e);try{return we(e)}catch(t){try{return we.call(null,e)}catch(r){return we.call(this,e)}}}var Ee=[],bt=!1,st,vr=-1;function Gl(){!bt||!st||(bt=!1,st.length?Ee=st.concat(Ee):vr=-1,Ee.length&&mi())}function mi(){if(!bt){var e=di(Gl);bt=!0;for(var t=Ee.length;t;){for(st=Ee,Ee=[];++vr<t;)st&&st[vr].run();vr=-1,t=Ee.length}st=null,bt=!1,Wl(e)}}U.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)t[r-1]=arguments[r];Ee.push(new gi(e,t)),Ee.length===1&&!bt&&di(mi)};function gi(e,t){this.fun=e,this.array=t}gi.prototype.run=function(){this.fun.apply(null,this.array)};U.title="browser";U.browser=!0;U.env={};U.argv=[];U.version="";U.versions={};function Pe(){}U.on=Pe;U.addListener=Pe;U.once=Pe;U.off=Pe;U.removeListener=Pe;U.removeAllListeners=Pe;U.emit=Pe;U.prependListener=Pe;U.prependOnceListener=Pe;U.listeners=function(e){return[]};U.binding=function(e){throw new Error("process.binding is not supported")};U.cwd=function(){return"/"};U.chdir=function(e){throw new Error("process.chdir is not supported")};U.umask=function(){return 0}});var s,a,Vd,n=v(()=>{s=A(ui()),a=A(Ti()),Vd=function(e){function t(){var o=this||self;return delete e.prototype.__magic__,o}if(typeof globalThis=="object")return globalThis;if(this)return t();e.defineProperty(e.prototype,"__magic__",{configurable:!0,get:t});var r=__magic__;return r}(Object)});var at=v(()=>{"use strict";n()});var yi=v(()=>{"use strict";n()});var hi=v(()=>{"use strict";n()});var Si=v(()=>{"use strict";n()});var M=v(()=>{"use strict";n()});var xi=v(()=>{"use strict";n()});var wi=v(()=>{"use strict";n()});var X=v(()=>{"use strict";n()});var vi=v(()=>{"use strict";n()});var Ai=v(()=>{"use strict";n()});var V=v(()=>{"use strict";n();yi();hi();Si();M();xi();wi();X();vi();Ai()});var ct,Ii,cm,bi,lm,Li,pm,um,$l,Lt=v(()=>{"use strict";n();V();ct={devnet:{id:"devnet",chainId:"D",name:"Devnet",egldLabel:"xEGLD",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"https://maiar.page.link/?apn=com.elrond.maiar.wallet&isi=1519405832&ibi=com.elrond.maiar.wallet&link=https://xportal.com/",walletConnectBridgeAddresses:["https://bridge.walletconnect.org"],walletConnectV2RelayAddresses:["wss://relay.walletconnect.com"],walletAddress:"https://devnet-wallet.multiversx.com",apiAddress:"https://devnet-api.multiversx.com",explorerAddress:"http://devnet-explorer.multiversx.com",apiTimeout:"4000"},testnet:{id:"testnet",chainId:"T",name:"Testnet",egldLabel:"xEGLD",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"https://maiar.page.link/?apn=com.elrond.maiar.wallet&isi=1519405832&ibi=com.elrond.maiar.wallet&link=https://xportal.com/",walletConnectBridgeAddresses:["https://bridge.walletconnect.org"],walletConnectV2RelayAddresses:["wss://relay.walletconnect.com"],walletAddress:"https://testnet-wallet.multiversx.com",apiAddress:"https://testnet-api.multiversx.com",explorerAddress:"http://testnet-explorer.multiversx.com",apiTimeout:"4000"},mainnet:{id:"mainnet",chainId:"1",name:"Mainnet",egldLabel:"EGLD",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"https://maiar.page.link/?apn=com.elrond.maiar.wallet&isi=1519405832&ibi=com.elrond.maiar.wallet&link=https://xportal.com/",walletConnectBridgeAddresses:["https://bridge.walletconnect.org"],walletConnectV2RelayAddresses:["wss://relay.walletconnect.com"],walletAddress:"https://wallet.multiversx.com",apiAddress:"https://api.multiversx.com",explorerAddress:"https://explorer.multiversx.com",apiTimeout:"4000"}},{chainId:Ii,egldLabel:cm}=ct["devnet"],{chainId:bi,egldLabel:lm}=ct["testnet"],{chainId:Li,egldLabel:pm}=ct["mainnet"],um={["devnet"]:Ii,["testnet"]:bi,["mainnet"]:Li},$l={[Ii]:"devnet",[bi]:"testnet",[Li]:"mainnet"}});var On=v(()=>{"use strict";n()});var ki=v(()=>{"use strict";n()});var Ar,_n=v(()=>{"use strict";n();Ar="transaction-status-toast-id"});var ve,Ei=v(()=>{"use strict";n();ve=require("@multiversx/sdk-web-wallet-provider")});var Qt,Ir,Pi,Ci,br,Ri,kt,R=v(()=>{"use strict";n();at();Lt();On();ki();_n();Ei();Qt=5e4,Ir=1e9,Pi=1,Ci=1,br="logout",Ri="login",kt="0"});var Et,Lr=v(()=>{"use strict";n();Et=()=>Date.now()/1e3});var Ni=v(()=>{"use strict";n()});var Di=v(()=>{"use strict";n()});var Fn=v(()=>{"use strict";n();Lr();Ni();Di()});var Bn={};nt(Bn,{getItem:()=>Hl,localStorageKeys:()=>ae,removeItem:()=>zl,setItem:()=>Vl});var ae,Un,Vl,Hl,zl,lt=v(()=>{"use strict";n();Fn();ae={loginExpiresAt:"sdk-dapp-login-expires-at",logoutEvent:"sdk-dapp-logout-event"},Un=typeof localStorage!="undefined",Vl=({key:e,data:t,expires:r})=>{!Un||localStorage.setItem(String(e),JSON.stringify({expires:r,data:t}))},Hl=e=>{if(!Un)return;let t=localStorage.getItem(String(e));if(!t)return null;let r=JSON.parse(t);return!r||!r.hasOwnProperty("expires")||!r.hasOwnProperty("data")?null:Et()>=r.expires?(localStorage.removeItem(String(e)),null):r.data},zl=e=>{!Un||localStorage.removeItem(String(e))}});var Wn={};nt(Wn,{clear:()=>Fi,getItem:()=>Oi,removeItem:()=>_i,setItem:()=>Mi,storage:()=>jl});var Mi,Oi,_i,Fi,jl,Ui=v(()=>{"use strict";n();Mi=({key:e,data:t,expires:r})=>{sessionStorage.setItem(String(e),JSON.stringify({expires:r,data:t}))},Oi=e=>{let t=sessionStorage.getItem(String(e));if(!t)return null;let r=JSON.parse(t);return!r||!r.hasOwnProperty("expires")||!r.hasOwnProperty("data")?null:Date.now()>=r.expires?(sessionStorage.removeItem(String(e)),null):r.data},_i=e=>sessionStorage.removeItem(String(e)),Fi=()=>sessionStorage.clear(),jl={setItem:Mi,getItem:Oi,removeItem:_i,clear:Fi}});var Ae,Pt=v(()=>{"use strict";n();lt();Ui();Ae={session:Wn,local:Bn}});var Gn,B,Z,H=v(()=>{"use strict";n();Gn=require("@reduxjs/toolkit");R();B=(0,Gn.createAction)(br),Z=(0,Gn.createAction)(Ri,e=>({payload:e}))});var Vn,Bi,Wi,kr,$n,Gi,pt,Gm,Er,$m,Hn,ql,Vm,Ct,$i,Vi,Pr,Cr=v(()=>{"use strict";n();Vn=require("@multiversx/sdk-core"),Bi=require("@reduxjs/toolkit"),Wi=require("redux-persist");R();Pt();lt();H();kr={balance:"...",address:"",nonce:0,txCount:0,scrCount:0,claimableRewards:kt},$n={address:"",websocketEvent:null,accounts:{"":kr},ledgerAccount:null,publicKey:"",walletConnectAccount:null,isAccountLoading:!0,accountLoadingError:null},Gi=(0,Bi.createSlice)({name:"accountInfoSlice",initialState:$n,reducers:{setAddress:(e,t)=>{let r=t.payload;e.address=r,e.publicKey=new Vn.Address(r).hex()},setAccount:(e,t)=>{let r=e.address===t.payload.address;e.accounts={[e.address]:r?t.payload:kr},e.shard=t.payload.shard,e.isAccountLoading=!1,e.accountLoadingError=null},setAccountNonce:(e,t)=>{let{address:r}=e;e.accounts[r].nonce=t.payload},setAccountShard:(e,t)=>{e.shard=t.payload},setLedgerAccount:(e,t)=>{e.ledgerAccount=t.payload},updateLedgerAccount:(e,t)=>{e.ledgerAccount!=null&&(e.ledgerAccount.index=t.payload.index,e.ledgerAccount.address=t.payload.address)},setWalletConnectAccount:(e,t)=>{e.walletConnectAccount=t.payload},setIsAccountLoading:(e,t)=>{e.isAccountLoading=t.payload,e.accountLoadingError=null},setAccountLoadingError:(e,t)=>{e.accountLoadingError=t.payload,e.isAccountLoading=!1},setWebsocketEvent:(e,t)=>{e.websocketEvent={timestamp:Date.now(),message:t.payload}}},extraReducers:e=>{e.addCase(B,()=>(Ae.local.removeItem(ae.loginExpiresAt),$n)),e.addCase(Z,(t,r)=>{let{address:o}=r.payload;t.address=o,t.publicKey=new Vn.Address(o).hex()}),e.addCase(Wi.REHYDRATE,(t,r)=>{var g;if(!((g=r.payload)!=null&&g.account))return;let{account:o}=r.payload,{address:i,shard:l,accounts:p,publicKey:d}=o;t.address=i,t.shard=l;let u=p&&i in p;t.accounts=u?p:$n.accounts,t.publicKey=d})}}),{setAccount:pt,setAddress:Gm,setAccountNonce:Er,setAccountShard:$m,setLedgerAccount:Hn,updateLedgerAccount:ql,setWalletConnectAccount:Vm,setIsAccountLoading:Ct,setAccountLoadingError:$i,setWebsocketEvent:Vi}=Gi.actions,Pr=Gi.reducer});function er(){return new Date().setHours(new Date().getHours()+24)}function tr(e){Ae.local.setItem({key:ae.loginExpiresAt,data:e,expires:e})}var zn=v(()=>{"use strict";n();Pt();lt()});var zi,Hi,ji,Qm,Rr,Kl,He,eg,Nr,qi,Ki,Dr,rr=v(()=>{"use strict";n();zi=require("@reduxjs/toolkit");zn();M();H();Hi={loginMethod:"",walletConnectLogin:null,ledgerLogin:null,tokenLogin:null,walletLogin:null,extensionLogin:null,operaLogin:null,isLoginSessionInvalid:!1},ji=(0,zi.createSlice)({name:"loginInfoSlice",initialState:Hi,reducers:{setLoginMethod:(e,t)=>{e.loginMethod=t.payload},setTokenLogin:(e,t)=>{e.tokenLogin=t.payload},setTokenLoginSignature:(e,t)=>{(e==null?void 0:e.tokenLogin)!=null&&(e.tokenLogin.signature=t.payload)},setWalletLogin:(e,t)=>{e.walletLogin=t.payload},setWalletConnectLogin:(e,t)=>{e.walletConnectLogin=t.payload},setLedgerLogin:(e,t)=>{e.ledgerLogin=t.payload},invalidateLoginSession:e=>{e.isLoginSessionInvalid=!0},setLogoutRoute:(e,t)=>{e.logoutRoute=t.payload}},extraReducers:e=>{e.addCase(B,()=>Hi),e.addCase(Z,(t,r)=>{t.loginMethod=r.payload.loginMethod,tr(er())})}}),{setLoginMethod:Qm,setWalletConnectLogin:Rr,setLedgerLogin:Kl,setTokenLogin:He,setTokenLoginSignature:eg,setWalletLogin:Nr,invalidateLoginSession:qi,setLogoutRoute:Ki}=ji.actions,Dr=ji.reducer});var Yi,Ji,Zi,Xi,Jl,og,Yl,Mr,Or=v(()=>{"use strict";n();Yi=require("@reduxjs/toolkit");H();Ji={},Zi=(0,Yi.createSlice)({name:"modalsSlice",initialState:Ji,reducers:{setTxSubmittedModal:(e,t)=>{e.txSubmittedModal=t.payload},setNotificationModal:(e,t)=>{e.notificationModal=t.payload},clearTxSubmittedModal:e=>{e.txSubmittedModal=void 0},clearNotificationModal:e=>{e.notificationModal=void 0}},extraReducers:e=>{e.addCase(B,()=>Ji)}}),{setTxSubmittedModal:Xi,setNotificationModal:Jl,clearTxSubmittedModal:og,clearNotificationModal:Yl}=Zi.actions,Mr=Zi.reducer});var Qi,es,Ce,ut=v(()=>{"use strict";n();Qi=!1,es=(e=!0)=>{Qi=e},Ce=(e,t=0)=>{Qi||setTimeout(()=>{window.location.href=e,window.location.assign(e)},t)}});function dt({callbackRoute:e,onLoginRedirect:t,options:r}){let o=Boolean(e),i=typeof t=="function",l=i?0:Zl;o&&e!=null&&setTimeout(()=>{if(i)return t(e,r);window.location.pathname.includes(e)||Ce(e)},l)}var Zl,ts=v(()=>{"use strict";n();ut();Zl=200});function jn(e){return e[Math.floor(Math.random()*e.length)]}var rs=v(()=>{"use strict";n()});var qn=v(()=>{"use strict";n();On()});var mt=v(()=>{"use strict";n();ts();rs();qn()});var ns,os,Kn,Xl,is,Jn,ss,_r,nr=v(()=>{"use strict";n();ns=require("@reduxjs/toolkit"),os=A(require("lodash.omit"));mt();Kn={id:"not-configured",chainId:"",name:"NOT CONFIGURED",egldLabel:"",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"",walletConnectBridgeAddress:"",walletConnectV2RelayAddress:"",walletConnectV2ProjectId:"",walletConnectV2Options:{},walletAddress:"",apiAddress:"",explorerAddress:"",apiTimeout:"4000"},Xl={network:Kn,chainID:"-1"},is=(0,ns.createSlice)({name:"appConfig",initialState:Xl,reducers:{initializeNetworkConfig:(e,t)=>{let r=jn(t.payload.walletConnectBridgeAddresses),o=jn(t.payload.walletConnectV2RelayAddresses),i=(0,os.default)(t.payload,"walletConnectBridgeAddresses","walletConnectV2RelayAddresses");e.network=L(y(y({},e.network),i),{walletConnectBridgeAddress:r,walletConnectV2RelayAddress:o})},setChainID:(e,t)=>{e.chainID=t.payload}}}),{initializeNetworkConfig:Jn,setChainID:ss}=is.actions,_r=is.reducer});var as,Yn,cs,Ig,bg,Lg,Fr,Ur=v(()=>{"use strict";n();as=require("@reduxjs/toolkit");V();H();Yn={isSigning:!1,signedSessions:{}},cs=(0,as.createSlice)({name:"signedMessageInfoSliceState",initialState:Yn,reducers:{setSignSession:(e,t)=>{let{sessionId:r,signedSession:o,errorMessage:i}=t.payload;return L(y({},e),{errorMessage:i!=null?i:e.errorMessage,isSigning:o.status==="pending",signedSessions:L(y({},e.signedSessions),{[r]:o})})},setSignSessionState:(e,t)=>y(y({},e),t.payload),clearSignedMessageInfo:()=>Yn},extraReducers:e=>{e.addCase(B,()=>Yn)}}),{setSignSession:Ig,clearSignedMessageInfo:bg,setSignSessionState:Lg}=cs.actions,Fr=cs.reducer});var ps,us,ls,ds,Zn,Xn,Mg,Og,_g,Fg,Br,Wr=v(()=>{"use strict";n();ps=require("@reduxjs/toolkit"),us=require("redux-persist");_n();V();Lr();H();ls={customToasts:[],transactionToasts:[],failTransactionToast:null},ds=(0,ps.createSlice)({name:"toastsSlice",initialState:ls,reducers:{addCustomToast:(e,t)=>{e.customToasts.push(L(y({},t.payload),{type:"custom",toastId:t.payload.toastId||`custom-toast-${e.customToasts.length+1}`}))},removeCustomToast:(e,t)=>{e.customToasts=e.customToasts.filter(r=>r.toastId!==t.payload)},addTransactionToast:(e,t)=>{e.transactionToasts.push({type:"transaction",startTimestamp:Et(),toastId:t.payload||`custom-toast-${e.transactionToasts.length+1}`})},removeTransactionToast:(e,t)=>{e.transactionToasts=e.transactionToasts.filter(r=>r.toastId!==t.payload)},addFailTransactionToast:(e,t)=>{e.failTransactionToast=L(y({},t.payload),{toastId:Ar})},removeFailTransactionToast:e=>{e.failTransactionToast=null}},extraReducers:e=>{e.addCase(B,()=>ls),e.addCase(us.REHYDRATE,(t,r)=>{var i,l;let o=(l=(i=r.customToasts)==null?void 0:i.filter(p=>!("component"in p)))!=null?l:[];t.customToasts=o})}}),{addCustomToast:Zn,removeCustomToast:Xn,addTransactionToast:Mg,removeTransactionToast:Og,addFailTransactionToast:_g,removeFailTransactionToast:Fg}=ds.actions,Br=ds.reducer});var ms,eo,to,ro,Ql,Qn,gs,Gg,ep,no,Gr,$r=v(()=>{"use strict";n();ms=require("@reduxjs/toolkit");H();eo="Transaction failed",to="Transaction successful",ro="Processing transaction",Ql="Transaction submitted",Qn={},gs=(0,ms.createSlice)({name:"transactionsInfo",initialState:Qn,reducers:{setTransactionsDisplayInfo(e,t){let{sessionId:r,transactionsDisplayInfo:o}=t.payload;r!=null&&(e[r]={errorMessage:(o==null?void 0:o.errorMessage)||eo,successMessage:(o==null?void 0:o.successMessage)||to,processingMessage:(o==null?void 0:o.processingMessage)||ro,submittedMessage:(o==null?void 0:o.submittedMessage)||Ql,transactionDuration:o==null?void 0:o.transactionDuration})},clearTransactionsInfoForSessionId(e,t){t.payload!=null&&delete e[t.payload]},clearTransactionsInfo:()=>Qn},extraReducers:e=>{e.addCase(B,()=>Qn)}}),{clearTransactionsInfo:Gg,setTransactionsDisplayInfo:ep,clearTransactionsInfoForSessionId:no}=gs.actions,Gr=gs.reducer});function Re(e){return e!=null&&(cp(e)||dp(e))}function gt(e){return e!=null&&(lp(e)||mp(e))}function ft(e){return e!=null&&(pp(e)||gp(e))}function oo(e){return e!=null&&up(e)}function cp(e){return e!=null&&tp.includes(e)}function lp(e){return e!=null&&rp.includes(e)}function pp(e){return e!=null&&np.includes(e)}function up(e){return e!=null&&op.includes(e)}function dp(e){return e!=null&&ip.includes(e)}function mp(e){return e!=null&&sp.includes(e)}function gp(e){return e!=null&&ap.includes(e)}var tp,rp,np,op,ip,sp,ap,Nt=v(()=>{"use strict";n();M();tp=["sent"],rp=["success"],np=["fail","cancelled","timedOut"],op=["timedOut"],ip=["pending"],sp=["success"],ap=["fail","invalid"]});var fs,Ts,or,fp,ys,ir,Tt,Tp,Dt,yp,hp,Yg,Sp,Vr,io,Hr,zr=v(()=>{"use strict";n();fs=require("@reduxjs/toolkit"),Ts=require("redux-persist");M();Nt();H();or={signedTransactions:{},transactionsToSign:null,signTransactionsError:null,signTransactionsCancelMessage:null,customTransactionInformationForSessionId:{}},fp={signWithoutSending:!1,sessionInformation:null,redirectAfterSign:!1},ys=(0,fs.createSlice)({name:"transactionsSlice",initialState:or,reducers:{moveTransactionsToSignedState:(e,t)=>{var u,g;let{sessionId:r,transactions:o,errorMessage:i,status:l,redirectRoute:p}=t.payload,d=((u=e.customTransactionInformationForSessionId)==null?void 0:u[r])||fp;e.signedTransactions[r]={transactions:o,status:l,errorMessage:i,redirectRoute:p,customTransactionInformation:d},((g=e==null?void 0:e.transactionsToSign)==null?void 0:g.sessionId)===r&&(e.transactionsToSign=or.transactionsToSign)},clearSignedTransaction:(e,t)=>{e.signedTransactions[t.payload]&&delete e.signedTransactions[t.payload]},clearTransactionToSign:e=>{e!=null&&e.transactionsToSign&&(e.transactionsToSign=null)},updateSignedTransaction:(e,t)=>{e.signedTransactions=y(y({},e.signedTransactions),t.payload)},updateSignedTransactions:(e,t)=>{let{sessionId:r,status:o,errorMessage:i,transactions:l}=t.payload;e.signedTransactions[r]!=null&&(e.signedTransactions[r].status=o,i!=null&&(e.signedTransactions[r].errorMessage=i),l!=null&&(e.signedTransactions[r].transactions=l))},updateSignedTransactionStatus:(e,t)=>{var d,u,g,T,h,I;let{sessionId:r,status:o,errorMessage:i,transactionHash:l}=t.payload,p=(u=(d=e.signedTransactions)==null?void 0:d[r])==null?void 0:u.transactions;if(p!=null){e.signedTransactions[r].transactions=p.map(b=>b.hash===l?L(y({},b),{status:o,errorMessage:i}):b);let C=(T=(g=e.signedTransactions[r])==null?void 0:g.transactions)==null?void 0:T.every(b=>gt(b.status)),k=(I=(h=e.signedTransactions[r])==null?void 0:h.transactions)==null?void 0:I.every(b=>ft(b.status));C&&(e.signedTransactions[r].status="success"),k&&(e.signedTransactions[r].status="fail")}},setTransactionsToSign:(e,t)=>{e.transactionsToSign=t.payload;let{sessionId:r,customTransactionInformation:o}=t.payload;e.customTransactionInformationForSessionId[r]=o,e.signTransactionsError=null},clearAllTransactionsToSign:e=>{e.transactionsToSign=or.transactionsToSign,e.signTransactionsError=null},clearAllSignedTransactions:e=>{e.signedTransactions=or.signedTransactions},setSignTransactionsError:(e,t)=>{e.signTransactionsError=t.payload},setSignTransactionsCancelMessage:(e,t)=>{e.signTransactionsCancelMessage=t.payload}},extraReducers:e=>{e.addCase(B,()=>or),e.addCase(Ts.REHYDRATE,(t,r)=>{var p;if(t.signTransactionsCancelMessage=null,!((p=r.payload)!=null&&p.transactions))return;let{signedTransactions:o,customTransactionInformationForSessionId:i}=r.payload.transactions,l=Object.entries(o).reduce((d,[u,g])=>{let T=new Date(u),h=new Date;return h.setHours(h.getHours()+5),h-T>0||(d[u]=g),d},{});i!=null&&(t.customTransactionInformationForSessionId=i),o!=null&&(t.signedTransactions=l)})}}),{updateSignedTransactionStatus:ir,updateSignedTransactions:Tt,setTransactionsToSign:Tp,clearAllTransactionsToSign:Dt,clearAllSignedTransactions:yp,clearSignedTransaction:hp,clearTransactionToSign:Yg,setSignTransactionsError:Sp,setSignTransactionsCancelMessage:Vr,moveTransactionsToSignedState:io}=ys.actions,Hr=ys.reducer});var P=v(()=>{"use strict";n();Cr();rr();Or();nr();Ur();Wr();$r();zr()});var so=v(()=>{"use strict";n()});var vs,ws,As,wf,vf,Af,If,bf,Lf,Is,bs=v(()=>{"use strict";n();vs=require("@reduxjs/toolkit");H();ws={visible:!1,modal:{showHeader:!0,showFooter:!1,headerText:"",footerText:""}},As=(0,vs.createSlice)({name:"dappModalsSlice",initialState:ws,reducers:{setDappModalVisibility:(e,t)=>{e.visible=t.payload},setDappModalHeaderVisibility:(e,t)=>{e.modal.showHeader=t.payload},setDappModalFooterVisibility:(e,t)=>{e.modal.showFooter=t.payload},setDappModalHeaderText:(e,t)=>{e.modal.headerText=t.payload},setDappModalFooterText:(e,t)=>{e.modal.footerText=t.payload},setDappModalConfig:(e,t)=>{e.modal=y({},t.payload)}},extraReducers:e=>{e.addCase(B,()=>ws)}}),{setDappModalVisibility:wf,setDappModalHeaderVisibility:vf,setDappModalFooterVisibility:Af,setDappModalHeaderText:If,setDappModalFooterText:bf,setDappModalConfig:Lf}=As.actions,Is=As.reducer});var Ls,Ap,Ip,yt,Jr=v(()=>{"use strict";n();Ls=require("@reduxjs/toolkit");so();Cr();bs();rr();Or();nr();Ur();Wr();$r();zr();Ap={["account"]:Pr,["dappModal"]:Is,["loginInfo"]:Dr,["modals"]:Mr,["networkConfig"]:_r,["signedMessageInfo"]:Fr,["toasts"]:Br,["transactionsInfo"]:Gr,["transactions"]:Hr},Ip=(e={})=>(0,Ls.combineReducers)(y(y({},Ap),e)),yt=Ip});var Cs={};nt(Cs,{default:()=>Bp,sessionStorageReducers:()=>ao});function je(e,t=[]){return{key:e,version:1,storage:Es.default,blacklist:t}}var ce,ks,Es,bp,sr,Lp,kp,Ep,Pp,Cp,Rp,Np,Dp,Mp,Ps,Op,ao,_p,Fp,Up,Bp,Rs=v(()=>{"use strict";n();ce=require("redux-persist"),ks=A(require("redux-persist/lib/storage")),Es=A(require("redux-persist/lib/storage/session"));Jr();P();Cr();rr();Or();nr();Ur();Wr();$r();zr();so();bp={persistReducersStorageType:"localStorage"},sr={["account"]:"sdk-dapp-account",["loginInfo"]:"sdk-dapp-login-info",["modals"]:"sdk-dapp-modals",["networkConfig"]:"sdk-dapp-network-config"},Lp=je(sr["account"]),kp=je(sr["loginInfo"]),Ep=je(sr["modals"]),Pp=je(sr["networkConfig"]),Cp={2:e=>L(y({},e),{networkConfig:Kn})};Rp=je("sdk-dapp-transactionsInfo"),Np=je("sdk-dapp-transactions",["transactionsToSign"]),Dp=je("sdk-dapp-toasts"),Mp=je("sdk-dapp-signedMessageInfo"),Ps={key:"sdk-dapp-store",version:2,storage:ks.default,whitelist:Object.keys(sr),migrate:(0,ce.createMigrate)(Cp,{debug:!1})},Op=L(y({},Ps),{whitelist:[]}),ao={["toasts"]:(0,ce.persistReducer)(Dp,Br),["transactions"]:(0,ce.persistReducer)(Np,Hr),["transactionsInfo"]:(0,ce.persistReducer)(Rp,Gr),["signedMessageInfo"]:(0,ce.persistReducer)(Mp,Fr)},_p=L(y({},ao),{["account"]:(0,ce.persistReducer)(Lp,Pr),["loginInfo"]:(0,ce.persistReducer)(kp,Dr),["modals"]:(0,ce.persistReducer)(Ep,Mr),["networkConfig"]:(0,ce.persistReducer)(Pp,_r)}),Fp=bp.persistReducersStorageType==="localStorage",Up=Fp?(0,ce.persistReducer)(Ps,yt(ao)):(0,ce.persistReducer)(Op,yt(_p)),Bp=Up});var Ns={};nt(Ns,{default:()=>Wp});var Wp,Ds=v(()=>{"use strict";n();Jr();Wp=yt()});var Ms={};nt(Ms,{default:()=>$p});var de,Gp,$p,Os=v(()=>{"use strict";n();de=require("redux-persist"),Gp=[de.FLUSH,de.REHYDRATE,de.PAUSE,de.PERSIST,de.PURGE,de.REGISTER],$p=Gp});var Us={};nt(Us,{default:()=>Fs});function Fs(e){return(0,_s.persistStore)(e)}var _s,Bs=v(()=>{"use strict";n();_s=require("redux-persist")});var _d={};nt(_d,{AppInitializer:()=>Eo,AuthenticatedRoutesWrapper:()=>Ea,AxiosInterceptor:()=>Ro,AxiosInterceptorContext:()=>zu,AxiosInterceptorContextProvider:()=>Po,DappProvider:()=>Od,LoginInfoListener:()=>Co,useAxiosInterceptorContext:()=>Gt});module.exports=Xt(_d);n();n();var So=A(require("react"));n();var js=require("react"),Ot=require("react-redux");n();var co=require("@reduxjs/toolkit"),Vs=require("react-redux/lib/utils/Subscription");P();n();var Ss=A(require("lodash.throttle"));R();n();var hs=A(require("lodash.isequal")),jr=require("reselect");V();var x=(0,jr.createSelectorCreator)(jr.defaultMemoize,hs.default),Mt=(e,t)=>e!=""&&Boolean(t);P();zn();Pt();lt();var xp=[br],qr=!1,wp=(0,Ss.default)(()=>{tr(er())},5e3),xs=e=>t=>r=>{var u;if(xp.includes(r.type))return t(r);let o=e.getState(),i=Ae.local.getItem(ae.loginExpiresAt);if(!Mt((u=o==null?void 0:o.loginInfo)==null?void 0:u.loginMethod,o==null?void 0:o.account.address))return t(r);if(i==null)return tr(er());let p=Date.now();return i-p<0&&!qr?setTimeout(()=>{qr=!0,e.dispatch(qi())},1e3):(qr&&(qr=!1),wp()),t(r)};n();n();function Kr(){return typeof sessionStorage!="undefined"}var Ws=Kr()?(Rs(),Xt(Cs)).default:(Ds(),Xt(Ns)).default,Gs=Kr()?(Os(),Xt(Ms)).default:[],$s=Kr()?(Bs(),Xt(Us)).default:e=>e;Jr();var w=(0,co.configureStore)({reducer:Ws,middleware:e=>e({serializableCheck:{ignoredActions:[...Gs,Er.type,pt.type],ignoredPaths:["payload.nonce","account.account.nonce","providers.accountProvider"]}}).concat(xs)}),Hs=(0,Vs.createSubscription)(w),zs=$s(w),nT=(0,co.configureStore)({reducer:yt});var Vp={store:w,subscription:Hs},ar=(0,js.createContext)(Vp),aT=(0,Ot.createStoreHook)(ar),N=(0,Ot.createDispatchHook)(ar),S=(0,Ot.createSelectorHook)(ar);n();n();P();var Ne=e=>e.account,De=x(Ne,e=>e.address),qe=x(Ne,De,(e,t)=>t in e.accounts?e.accounts[t]:kr),qs=x(Ne,qe,(e,t)=>{let i=e,{accounts:r}=i,o=rt(i,["accounts"]);return L(y({},o),{account:t})}),Hp=x(qe,e=>e.balance),Ks=x(qe,e=>{var t;return((t=e==null?void 0:e.nonce)==null?void 0:t.valueOf())||0}),uT=x(Ne,e=>e.shard),lo=x(Ne,e=>e.ledgerAccount),dT=x(Ne,e=>e.walletConnectAccount),Js=x(Ne,e=>e.isAccountLoading),mT=x(Ne,e=>e.accountLoadingError),po=x(Ne,e=>e.websocketEvent);n();var K=e=>e.loginInfo,Ys=x(K,e=>e.loginMethod),Me=x(K,De,(e,t)=>Mt(e.loginMethod,t)),Zs=x(K,e=>e.walletConnectLogin),Xs=x(K,e=>e.ledgerLogin),_t=x(K,e=>e.walletLogin),Qs=x(K,e=>e.isLoginSessionInvalid),Yr=x(K,e=>e.tokenLogin),Ft=x(K,e=>e.logoutRoute);n();var ea=e=>e.modals,ST=x(ea,e=>e.txSubmittedModal),zp=x(ea,e=>e.notificationModal);n();var Ie=e=>e.networkConfig,cr=x(Ie,e=>e.chainID),ta=x(Ie,e=>e.network.walletConnectBridgeAddress),ra=x(Ie,e=>e.network.walletConnectV2RelayAddress),na=x(Ie,e=>e.network.walletConnectV2ProjectId),oa=x(Ie,e=>e.network.walletConnectV2Options),Zr=x(Ie,e=>e.network.walletConnectDeepLink),me=x(Ie,e=>e.network),Xr=x(me,e=>e.apiAddress),ia=x(me,e=>e.explorerAddress),sa=x(me,e=>e.egldLabel);n();var uo=e=>e.signedMessageInfo,IT=x(uo,e=>e.isSigning),bT=x(uo,e=>e.errorMessage),LT=x(uo,e=>{let t=Object.keys(e.signedSessions),r=t.length;return e.signedSessions[t[r-1]]});n();var mo=e=>e.toasts,PT=x(mo,e=>e.customToasts),CT=x(mo,e=>e.transactionToasts),RT=x(mo,e=>e.failTransactionToast);n();P();var aa={errorMessage:eo,successMessage:to,processingMessage:ro},jp=e=>e.transactionsInfo,qp=x(jp,(e,t)=>t,(e,t)=>t!=null&&(e==null?void 0:e[Number(t)])||aa);n();n();var le=require("@multiversx/sdk-core");R();n();function go(e){try{return s.Buffer.from(e,"base64").toString()===atob(e)}catch(t){return!1}}function Ut(e){return atob(e)}function Bt(e){var i,l,p;let{data:t}=e,r=go(t!=null?t:"")?le.TransactionPayload.fromEncoded(t):new le.TransactionPayload(t),o=new le.Transaction(y({value:e.value.valueOf(),data:r,nonce:e.nonce.valueOf(),receiver:new le.Address(e.receiver),sender:new le.Address(e.sender),gasLimit:(i=e.gasLimit.valueOf())!=null?i:Qt,gasPrice:(l=e.gasPrice.valueOf())!=null?l:Ir,chainID:e.chainID.valueOf(),version:new le.TransactionVersion((p=e.version)!=null?p:Pi)},e.options?{options:new le.TransactionOptions(e.options)}:{}));return o.applySignature({hex:()=>e.signature||""},new le.Address(e.sender)),o}n();Nt();n();var Jp=A(require("bignumber.js"));V();n();n();n();n();var Zp=require("@multiversx/sdk-core"),Xp=A(require("bignumber.js"));M();n();var pa=require("@multiversx/sdk-core");function Yp(e){try{let t=new pa.Address(e);return Boolean(t.bech32())}catch(t){return!1}}function lr(e){return(e==null?void 0:e.startsWith("erd"))&&e.length===62&&/^\w+$/.test(e)&&Yp(e)}n();n();n();var eu=require("@multiversx/sdk-core/out");n();R();n();var ua=require("@multiversx/sdk-core");V();n();n();n();n();M();n();n();n();n();n();n();n();var da="dapp/config",ma="network/config";var Qr="accounts";var fo="blocks";n();n();n();n();X();n();n();X();n();n();n();var cu=A(require("bignumber.js"));R();n();var au=require("@multiversx/sdk-core"),To=A(require("bignumber.js"));R();n();var iu=A(require("bignumber.js"));n();To.default.config({ROUNDING_MODE:To.default.ROUND_FLOOR});n();n();n();R();n();n();n();n();R();n();R();n();var lu=require("@multiversx/sdk-core");R();n();var pr=require("@multiversx/sdk-core"),du=require("@multiversx/sdk-network-providers");R();n();n();var pu=A(require("bignumber.js"));R();n();R();n();n();n();n();n();R();n();X();var gu=["reDelegateRewards","claimRewards","unBond"],fu=["wrapEgld","unwrapEgld"],Tu=["unStake"],yu=["unDelegate"];n();n();n();R();n();var wu=A(require("bignumber.js"));n();n();n();X();n();var vu=A(require("bignumber.js"));n();n();n();n();X();n();n();n();var bu=A(require("linkifyjs"));n();R();n();var Lu=A(require("bignumber.js"));n();V();n();n();M();n();M();n();n();n();X();n();X();n();var ku=A(require("bignumber.js"));R();X();n();X();n();var Sa=require("react");V();n();n();X();n();var Eu=require("@multiversx/sdk-core/out"),Pu=A(require("bignumber.js"));X();n();X();n();n();M();var rv=[{label:"Raw",value:"raw"},{label:"Text",value:"text"},{label:"Decimal",value:"decimal"},{label:"Smart",value:"smart"}];n();var xa=require("react");V();n();var Ru=require("react");X();var lv=["create","localMint","ESDTLocalMint","addQuantity","burn","localBurn","ESDTLocalBurn","wipe","writeLog","signalError"];var nn=e=>e.transactions,Je=x(nn,e=>e.signedTransactions),Nu=x(nn,e=>e.signTransactionsError),wa=x(nn,e=>e.signTransactionsCancelMessage),on=e=>t=>Object.entries(t).reduce((r,[o,i])=>(e(i.status)&&(r[o]=i),r),{}),ho=x(Je,on(Re)),va=x(Je,on(gt)),Aa=x(Je,on(ft)),Du=x(Je,on(oo)),Ia=x(nn,e=>{var t;return(e==null?void 0:e.transactionsToSign)==null?null:L(y({},e.transactionsToSign),{transactions:((t=e==null?void 0:e.transactionsToSign)==null?void 0:t.transactions.map(r=>Bt(r)))||[]})}),Mu=x(Je,(e,t)=>t,(e,t)=>t!=null?(e==null?void 0:e[t])||{}:{});ut();n();n();function ba(e,t){if(!e){typeof console!="undefined"&&console.warn(t);try{throw new Error(t)}catch(r){}}}function La(e,t){typeof e=="string"&&(e={path:e,caseSensitive:!1,end:!0});let[r,o]=Ou(e.path,e.caseSensitive,e.end),i=t.match(r);if(!i)return null;let l=i[0],p=l.replace(/(.)\/+$/,"$1"),d=i.slice(1);return{params:o.reduce((g,T,h)=>{if(T==="*"){let I=d[h]||"";p=l.slice(0,l.length-I.length).replace(/(.)\/+$/,"$1")}return g[T]=_u(d[h]||"",T),g},{}),pathname:l,pathnameBase:p,pattern:e}}function Ou(e,t=!1,r=!0){ba(e==="*"||!e.endsWith("*")||e.endsWith("/*"),`Route path "${e}" will be treated as if it were "${e.replace(/\*$/,"/*")}" because the \`*\` character must always follow a \`/\` in the pattern. To get rid of this warning, please change the route path to "${e.replace(/\*$/,"/*")}".`);let o=[],i="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^$?{}|()[\]]/g,"\\$&").replace(/:(\w+)/g,(p,d)=>(o.push(d),"([^\\/]+)"));return e.endsWith("*")?(o.push("*"),i+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):i+=r?"\\/*$":"(?:(?=[.~-]|%[0-9A-F]{2})|\\b|\\/|$)",[new RegExp(i,t?void 0:"i"),o]}function _u(e,t){try{return decodeURIComponent(e)}catch(r){return ba(!1,`The value for the URL param "${t}" will not be decoded because the string "${e}" is a malformed URL segment. This is probably due to a bad percent encoding (${r}).`),e}}var ka=(e,t)=>e.filter(({authenticatedRoute:i})=>Boolean(i)).some(({path:i})=>La(i,t)!==null);var Ea=({children:e,routes:t,unlockRoute:r,onRedirect:o})=>{let i=S(Me),l=S(Js),p=S(_t),u=ka(t,window.location.pathname)&&!i&&p==null;return l||p?null:u?(o?o(r):Ce(r),null):So.default.createElement(So.default.Fragment,null,e)};n();var Ue=A(require("react")),qa=require("@multiversx/sdk-core/out");n();n();n();var Pa=A(require("axios"));function Ca(e){return f(this,null,function*(){let{apiAddress:t,apiTimeout:r}=me(w.getState()),o=e.map(l=>Pa.default.post(`${t}/transactions`,l.toPlainObject(),{timeout:parseInt(r)}));return(yield Promise.all(o)).map(({data:l})=>l.txHash)})}n();var Ra=A(require("axios"));function sn(e){return f(this,null,function*(){let t=Xr(w.getState()),r=e.map(i=>i.hash),{data:o}=yield Ra.default.get(`${t}/transactions`,{params:{hashes:r.join(","),withScResults:!0}});return e.map(({hash:i,previousStatus:l})=>{let p=o.find(d=>(d==null?void 0:d.txHash)===i);return{hash:i,data:p==null?void 0:p.data,invalidTransaction:p==null,status:p==null?void 0:p.status,results:p==null?void 0:p.results,sender:p==null?void 0:p.sender,receiver:p==null?void 0:p.receiver,previousStatus:l,hasStatusChanged:p&&p.status!==l}})})}n();var Uu=A(require("axios"));n();n();var Bu=A(require("axios"));n();var Wu=A(require("axios"));n();n();n();var Da=A(require("axios"));n();n();var an=e=>{let t=e!=null?e:Xr(w.getState());return t.endsWith("/")?t.slice(0,-1):t};function Ma(e){return f(this,null,function*(){if(!e)return null;let r=`${an()}/${Qr}/${e}`;try{let{data:o}=yield Da.default.get(r);return o}catch(o){console.error("error fetching configuration for ",r)}return null})}n();n();Lt();n();var Oa=A(require("axios"));function xo(e){return f(this,null,function*(){let t=`${e}/${da}`;try{let{data:o}=yield Oa.default.get(t);if(o!=null){let i="egldDenomination";if(i in o){let r=o,{[i]:l,decimals:p}=r,d=rt(r,[qo(i),"decimals"]);return L(y({},d),{decimals:l,digits:p})}return o}}catch(o){console.error("error fetching configuration for ",t)}return null})}n();var _a=A(require("axios"));function Fa(){return f(this,null,function*(){var r;let t=`${an()}/${ma}`;try{let{data:o}=yield _a.default.get(t);if(o!=null)return(r=o==null?void 0:o.data)==null?void 0:r.config}catch(o){console.error("error fetching configuration for ",t)}return null})}n();Lt();n();Lt();n();var Gu=A(require("axios"));Lt();n();var Oe=()=>S(qs);nr();n();n();n();n();var Ua=require("@multiversx/sdk-extension-provider"),Ba=require("@multiversx/sdk-hw-provider"),Wa=require("@multiversx/sdk-opera-provider"),Ga=require("@multiversx/sdk-wallet-connect-provider/out/walletConnectProvider"),$a=require("@multiversx/sdk-wallet-connect-provider/out/walletConnectV2Provider"),wo=require("@multiversx/sdk-web-wallet-provider");R();M();var $u="/dapp/init",ht=e=>{switch(e==null?void 0:e.constructor){case wo.WalletProvider:return"wallet";case Ga.WalletConnectProvider:return"walletconnect";case $a.WalletConnectV2Provider:return"walletconnectv2";case Ba.HWProvider:return"ledger";case Ua.ExtensionProvider:return"extension";case Wa.OperaProvider:return"opera";case cn:return"";default:return"extra"}},vo=e=>new wo.WalletProvider(`${e}${$u}`),Ao=e=>f(void 0,null,function*(){if(!e.isInitialized())throw new Error("Unable to get version. Provider not initialized");let t=e.hwApp,{contractData:r,version:o}=yield t.getAppConfiguration();return{version:o,dataEnabled:r===Ci}}),_e=e=>`Unable to perform ${e}, Provider not initialized`,cn=class{init(){return Promise.resolve(!1)}login(t){throw new Error(_e(`login with options: ${t}`))}logout(t){throw new Error(_e(`logout with options: ${t}`))}getAddress(){throw new Error(_e("getAddress"))}isInitialized(){return!1}isConnected(){return Promise.resolve(!1)}sendTransaction(t,r){throw new Error(_e(`sendTransaction with transactions: ${t} options: ${r}`))}signTransaction(t,r){throw new Error(_e(`signTransaction with transactions: ${t} options: ${r}`))}signTransactions(t,r){throw new Error(_e(`signTransactions with transactions: ${t} options: ${r}`))}signMessage(t,r){throw new Error(_e(`signTransactions with ${t} and options ${r}`))}sendCustomMessage({method:t,params:r}){throw new Error(_e(`sendCustomMessage with method: ${t} params: ${r}`))}sendCustomRequest(t){throw new Error(_e(`sendSessionEvent with options: ${t}`))}ping(){return Promise.resolve(!1)}},ur=new cn;var bo=ur,Io=null;function pe(e){bo=e}function Lo(e){Io=e}function ln(){Io!=null&&(bo=Io)}function oe(){return bo||ur}H();V();n();function ge(){return Me(w.getState())}n();n();M();n();n();function Va(){let e=oe();return ht(e)}function fe(e){return Va()===e}function Fe(){let{search:e}=window.location,t=w.getState(),r=oe(),o=De(t),i=Me(t),l=_t(t);if(!r)throw"provider not initialized";return fe("ledger")&&i?new Promise(p=>{p(o)}):!fe("")&&!fe("wallet")&&!fe("extra")?r.getAddress():new Promise(p=>{if(l!=null){let d=new URLSearchParams(e),u=Object.fromEntries(d);lr(u.address)&&p(u.address)}i&&p(o),p("")})}n();function Ye(e){return f(this,null,function*(){return yield Ma(e)})}n();P();function Ha(e){w.dispatch(Er(e))}n();function Wt(e){let t=w.getState(),r=Ks(t);return e?r&&!isNaN(r)?Math.max(r,e.nonce):e.nonce:r}n();n();P();var za=()=>f(void 0,null,function*(){try{let e=yield Fe();try{let t=yield Ye(e);if(t!=null){let r=L(y({},t),{nonce:Wt(t)});return w.dispatch(pt(r)),r}}catch(t){console.error("Failed getting account ",t)}}catch(e){console.error("Failed getting address ",e)}return null});function pn(){return f(this,null,function*(){let e=oe();if(e==null)throw"Provider not initialized";if(!e.isInitialized||e.isInitialized())return za();try{if(!e.init)throw"Current provider does not have init() function";return(yield e.init())?za():void 0}catch(t){console.error("Failed initializing provider ",t)}})}n();var ja=require("@multiversx/sdk-core");n();H();V();ut();Pt();lt();var Vu=e=>{let t=Ae.local.getItem(ae.logoutEvent),{data:r}=t?JSON.parse(t):{data:e};e===r&&(Ae.local.setItem({key:ae.logoutEvent,data:e,expires:0}),Ae.local.removeItem(ae.logoutEvent))};function ee(e,t,r=!0){return f(this,null,function*(){let o=oe(),i=ht(o),l=ge(),p=i==="wallet";if(r&&(o==null?void 0:o.relogin)!=null)return yield o.relogin();if(!l||!o){ko(e,t,!1);return}try{let d=yield Fe();Vu(d)}catch(d){ko(e,t,!1),console.error("error fetching logout address",d)}p&&es(),w.dispatch(B());try{let u=p&&!e?window.location.origin:e;p?setTimeout(()=>{o.logout({callbackUrl:u})}):(yield o.logout({callbackUrl:u}),ko(e,t,p))}catch(d){console.error("error logging out",d)}})}function ko(e,t,r){e&&!r&&(typeof t=="function"?t(e):Ce(e))}rr();function Eo({customNetworkConfig:e={},children:t,environment:r,logoutRoute:o}){let[i,l]=(0,Ue.useState)(!1),p=Oe(),d=S(Qs),{address:u,publicKey:g}=p,T=N();function h(){return f(this,null,function*(){let C=!(e!=null&&e.skipFetchFromServer),k=e==null?void 0:e.apiAddress,b=ct[r]||{},_=y(y({},b),e);if(C){let D=b==null?void 0:b.apiAddress,z=yield xo(k||D);if(z!=null){let ie=y(y(y({},b),z),e);T(Jn(ie));return}}T(Jn(_))})}function I(){return f(this,null,function*(){T(Ki(o)),yield h(),l(!0)})}return(0,Ue.useEffect)(()=>{u&&new qa.Address(u).hex()!==g&&ee(o)},[u,g,o]),(0,Ue.useEffect)(()=>{I()},[e,r,o]),(0,Ue.useEffect)(()=>{p.address&&d&&ee(o)},[d,p.address,o]),i?Ue.default.createElement(Ue.default.Fragment,null,t):null}n();var Kt=A(require("react")),tl=require("react-redux"),rl=require("redux-persist/integration/react");n();var We=require("react"),lc=require("@multiversx/sdk-extension-provider"),pc=require("@multiversx/sdk-hw-provider"),uc=require("@multiversx/sdk-opera-provider");n();var rc=require("react"),gn=require("@multiversx/sdk-core");n();n();var St=()=>S(qe);n();n();n();n();n();var Be=A(require("react"));var Ka=(0,Be.createContext)({}),Hu=w.getState();function Po({children:e}){let[t,r]=(0,Be.useState)(),[o,i]=(0,Be.useState)(K(Hu)),l={address:t,setAddress:r,isLoggedIn:Mt(o.loginMethod,t),loginInfo:o,setLoginInfo:p=>i(p)};return Be.default.createElement(Ka.Provider,{value:l},e)}function Gt(){let e=(0,Be.useContext)(Ka);if(e===void 0||Object.values(e).length===0)throw new Error("useAxiosInterceptorContext must be used within an AxiosInterceptorContextProvider");return e}n();var dr=A(require("react"));var Co=({children:e=null})=>{var l;let{address:t}=St(),r=S(K),{setLoginInfo:o,setAddress:i}=Gt();return(0,dr.useEffect)(()=>{i(t),o(r)},[(l=r.tokenLogin)==null?void 0:l.loginToken,t]),dr.default.createElement(dr.default.Fragment,null,e)};n();var Ze=A(require("react")),un=A(require("axios"));var Ro=({children:e,authenticatedDomanis:t})=>{var d;let{loginInfo:r}=Gt(),o=(d=r==null?void 0:r.tokenLogin)==null?void 0:d.nativeAuthToken,i=(0,Ze.useRef)(-1),l=()=>{un.default.interceptors.response.use(u=>u,u=>{var T,h;let g=(T=u.config)==null?void 0:T.url;return(h=u.config)!=null&&h.params&&(g+=`?${new URLSearchParams(u.config.params).toString()}`),console.error("Axios error for: ",g),Promise.reject(u)})},p=()=>{un.default.interceptors.request.eject(i.current),i.current=un.default.interceptors.request.use(u=>f(void 0,null,function*(){return t.includes(String(u==null?void 0:u.baseURL))&&(u.headers={Authorization:`Bearer ${o}`}),u}),u=>{Promise.reject(u)})};return(0,Ze.useEffect)(l,[]),(0,Ze.useEffect)(()=>{o&&p()},[o]),Ze.default.createElement(Ze.default.Fragment,null,e)};var zu={Interceptor:Ro,Listener:Co,Provider:Po};n();n();var mr=()=>{let e=oe(),t=ht(e);return{provider:e,providerType:t}};n();P();n();n();n();var ju=e=>e.replace(/\+/g,"-").replace(/\//g,"_").replace(/=/g,""),$t=e=>ju(s.Buffer.from(e,"utf8").toString("base64"));n();var Za=A(require("axios"));n();n();n();function Ja(e){return f(this,null,function*(){return yield new Promise(t=>{setTimeout(()=>t(),e)})})}n();var Ya=(e,t,r,o=0)=>f(void 0,null,function*(){try{return yield e(...r)}catch(i){return o<t.retries?((t==null?void 0:t.delay)!=null&&(yield Ja(t.delay)),Ya(e,t,r,o+1)):null}}),dn=(e,t={retries:5,delay:500})=>(...r)=>f(void 0,null,function*(){return Ya(e,t,r)});var qu=4e4,No=null,Vt={current:null},Do={current:!1},Ku=dn((e,t)=>f(void 0,null,function*(){let{data:r}=yield Za.default.get(`${e}/${fo}?size=1&fields=hash,timestamp${t?"&shard="+t:""}`),[o]=r;return o}));function Xa(e,t){return f(this,null,function*(){if(e==null)throw new Error("missing api url");if(No!=null&&Date.now()<No&&Vt.current!=null)return Vt.current;{if(Do.current)return yield Ju();Do.current=!0,Vt.current=null;let o=yield Ku(e,t);return Vt.current=o,No=Date.now()+qu,Do.current=!1,o}})}function Ju(){return f(this,null,function*(){return new Promise((e,t)=>{let r,o=setInterval(()=>{Vt.current!=null&&(e(Vt.current),clearInterval(o),clearTimeout(r))},50);r=setTimeout(()=>{clearInterval(o),t("could not generate new token")},1e4)})})}n();var Qa,gr={hostname:typeof window!="undefined"?(Qa=window==null?void 0:window.location)==null?void 0:Qa.hostname:"",apiAddress:"https://api.multiversx.com",expirySeconds:60*60*24,tokenExpirationToastWarningSeconds:5*60},fr=e=>{var r,o,i,l,p;return e===!0?gr:{hostname:(r=e==null?void 0:e.hostname)!=null?r:gr.hostname,blockHashShard:(o=e==null?void 0:e.blockHashShard)!=null?o:null,expirySeconds:(i=e==null?void 0:e.expirySeconds)!=null?i:gr.expirySeconds,apiAddress:(l=e==null?void 0:e.apiAddress)!=null?l:gr.apiAddress,tokenExpirationToastWarningSeconds:(p=e==null?void 0:e.tokenExpirationToastWarningSeconds)!=null?p:gr.tokenExpirationToastWarningSeconds}};n();n();n();function Yu(e){return Object.prototype.toString.call(e)==="[object String]"}var mn=e=>{if(!e||!Yu(e))return null;try{let[t,r,o]=e.split("."),i=Ut(t),l=Ut(r),[p,d,u,g]=l.split("."),T=JSON.parse(Ut(g)),h=Ut(p),I={ttl:Number(u),address:i,extraInfo:T,host:h,signature:o,blockHash:d,body:l};return g==="e30"&&delete I.extraInfo,I}catch(t){return null}};var ec=({address:e,token:t,signature:r})=>{let o=$t(e),i=$t(t);return`${o}.${i}.${r}`};n();Lr();var Ht=e=>{let t=mn(e);if(!t)return{isExpired:!1};let r=Et(),{ttl:o,extraInfo:i}=t,l=i.timestamp;if(!l)return{isExpired:!1};let p=l+o,d=r>p,u=p-r;return{isExpired:d,expiresAt:p,secondsUntilExpires:u}};var tc=e=>{let{hostname:t,apiAddress:r,expirySeconds:o,blockHashShard:i}=fr(e);return{getNativeAuthConfig:fr,initialize:(...d)=>f(void 0,[...d],function*(p={}){let{hash:u,timestamp:g}=yield Xa(r,i),T=$t(JSON.stringify(y(y({},p),g?{timestamp:g}:{})));return`${$t(t)}.${u}.${o}.${T}`}),getToken:ec,getTokenExpiration:Ht}};n();var Zu=(e,t)=>{var r;return t?t===!0?e:(r=t.apiAddress)!=null?r:e:null},be=e=>{let t=S(me),r=S(Yr),o=(0,rc.useRef)(r==null?void 0:r.loginToken),i=Zu(t.apiAddress,e),l=fr(y(y({},e===!0?{}:e),i?{apiAddress:i}:{})),p=Boolean(e),d=tc(l),{address:u}=St(),g=N(),T=k=>{o.current=k,g(He(y({loginToken:k},i?{nativeAuthConfig:l}:{})))},h=()=>f(void 0,null,function*(){try{return yield d.initialize()}catch(k){console.error("Unable to get block. Login failed.",k);return}}),I=({address:k,signature:b})=>{let _=o.current;if(!_)throw"Token not found. Call `setLoginToken` first.";if(!p){g(He({loginToken:_,signature:b}));return}let D=d.getToken({address:k,token:_,signature:b});g(He(y({loginToken:_,signature:b,nativeAuthToken:D},i?{nativeAuthConfig:l}:{})))};return{configuration:l,setLoginToken:T,getNativeAuthLoginToken:h,setTokenLoginInfo:I,refreshNativeAuthTokenLogin:b=>f(void 0,[b],function*({signMessageCallback:k}){let _=yield h();if(o.current=_,!_)return;let D=new gn.SignableMessage({address:new gn.Address(u),message:s.Buffer.from(_)}),z=yield k(D,{});I({address:u,signature:z.toJSON().signature})})}};n();var Xe=require("react"),nc=require("@multiversx/sdk-wallet-connect-provider/out/walletConnectProvider");n();var fn=require("react");function zt(e,t=[]){let r=(0,fn.useRef)(!0);(0,fn.useEffect)(()=>{r.current?r.current=!1:e()},t)}H();P();M();mt();var Mo=({logoutRoute:e,callbackRoute:t,nativeAuth:r,token:o,onLoginRedirect:i})=>{let l=N(),p=15e3,d=r!=null,u=be(r),g=o,[T,h]=(0,Xe.useState)(""),[I,C]=(0,Xe.useState)(""),{provider:k}=mr(),b=S(ta),_=S(Zr),D=(0,Xe.useRef)(k),z=(0,Xe.useRef)(!0),ie,te=Boolean(I),Qe=!te,$e=te?`${_}?wallet-connect=${encodeURIComponent(I)}`:"";(0,Xe.useEffect)(()=>{tt();let F=setInterval(()=>{tt()},p);return()=>clearInterval(F)},[k]),zt(()=>{!o||wt()},[o]),zt(()=>{D.current=k},[k]);let W=()=>{ee(e)},et=()=>{z.current=!1};function tt(){return f(this,null,function*(){var se,j;if(k==null||!fe("walletconnect")||!Boolean((j=(se=D.current)==null?void 0:se.walletConnector)==null?void 0:j.connected))return;let J={method:"heartbeat",params:{}};try{yield D.current.sendCustomMessage(J)}catch(re){console.error("Connection lost",re),W()}})}function Jt(){return f(this,null,function*(){var F;try{let J=D.current;if(ge()||J==null||!fe("walletconnect"))return;if(!z.current){try{yield(F=D.current)==null?void 0:F.logout()}catch(q){console.warn("Unable to logout")}return}let j=yield J.getAddress();if(!j){console.warn("Login cancelled.");return}let re=yield J.getSignature(),vt={address:j,loginMethod:"walletconnect"},G={logoutRoute:e,loginType:"walletConnect",callbackRoute:t!=null?t:window.location.href};l(Rr(G)),re&&u.setTokenLoginInfo({signature:re,address:j}),l(Z(vt)),J.walletConnector.on("heartbeat",()=>{clearInterval(ie),ie=setInterval(()=>{console.log("xPortal Mobile Wallet Connection Lost"),W(),clearInterval(ie)},15e4)}),dt({callbackRoute:t,onLoginRedirect:i,options:{address:j,signature:re}})}catch(J){h("Invalid address"),console.error(J)}})}function Yt(F=!0){return f(this,null,function*(){var re,vt;let J=F&&!I;if(!b||((vt=(re=D==null?void 0:D.current)==null?void 0:re.isInitialized)==null?void 0:vt.call(re))&&!J)return;let se={onClientLogin:Jt,onClientLogout:W},j=new nc.WalletConnectProvider(b,se);yield j.init(),z.current=!0,pe(j),D.current=j,F&&wt()})}function wt(){return f(this,null,function*(){var j;if(!b)return;let F=yield(j=D.current)==null?void 0:j.login();if(!Boolean(F))return;if(d&&!g&&(g=yield u.getNativeAuthLoginToken(),!g)){console.warn("Fetching block failed. Login cancelled.");return}if(!g){C(F);return}u.setLoginToken(g);let se=`${F}&token=${g}`;C(se)})}let E=Boolean(T),O=ge();return[Yt,{error:T,loginFailed:E,isLoading:Qe&&!E,isLoggedIn:O&&!E},{uriDeepLink:$e,walletConnectUri:I,cancelLogin:et}]};n();var Le=require("react"),oc=require("@multiversx/sdk-wallet-connect-provider/out/walletConnectV2Provider");H();P();M();mt();var Oo=({callbackRoute:e,logoutRoute:t,token:r,nativeAuth:o,onLoginRedirect:i})=>{let l=N(),p=o!=null,d=be(o),u=r,[g,T]=(0,Le.useState)(""),[h,I]=(0,Le.useState)(""),[C,k]=(0,Le.useState)(!0),[b,_]=(0,Le.useState)([]),D=oe(),z=S(ra),ie=S(na),te=S(oa),Qe=S(cr),$e=S(Zr),W=(0,Le.useRef)(D),et=(0,Le.useRef)(!0),tt=["erd_cancelAction"],Jt=C?"":`${$e}?wallet-connect=${encodeURIComponent(h)}`;zt(()=>{!r||j()},[r]),zt(()=>{W.current=D},[D]),(0,Le.useEffect)(()=>{k(!Boolean(h))},[h]);let Yt=()=>{ee(t)},wt=G=>{console.log("wc2 session event: ",G)},E=()=>{et.current=!1};function O(){return f(this,null,function*(){var G;try{let q=W.current;if(ge()||q==null||!fe("walletconnectv2"))return;if(!et.current){try{yield(G=W.current)==null?void 0:G.logout()}catch(Fd){console.warn("Unable to logout")}return}let Te=yield q.getAddress();if(!Te){console.warn("Login cancelled.");return}let Ve=yield q.getSignature(),vn={address:Te,loginMethod:"walletconnectv2"},nl={logoutRoute:t,loginType:"walletconnectv2",callbackRoute:e!=null?e:window.location.href};l(Rr(nl)),Ve&&d.setTokenLoginInfo({signature:Ve,address:Te}),l(Z(vn)),dt({callbackRoute:e,onLoginRedirect:i,options:{address:Te,signature:Ve}})}catch(q){T("Invalid address"),console.error(q)}})}function F(G=!0){return f(this,null,function*(){if(!ie||!z){T("Invalid WalletConnect setup");return}let q={onClientLogin:O,onClientLogout:Yt,onClientEvent:wt},Y=new oc.WalletConnectV2Provider(q,Qe,z,ie,te);yield Y.init(),et.current=!0,pe(Y),_(Y.pairings),W.current=Y,G&&j()})}function J(G){return f(this,null,function*(){var q,Y,Te;if(!z||!ie){T("Invalid WalletConnect setup");return}if(!G||!G.topic){T("Expired connection");return}try{let{approval:Ve}=yield(q=W.current)==null?void 0:q.connect({topic:G.topic,methods:tt});if(p&&!u&&(u=yield d.getNativeAuthLoginToken(),!u)){console.warn("Fetching block failed. Login cancelled.");return}u&&d.setLoginToken(u);try{yield(Y=W.current)==null?void 0:Y.login({approval:Ve,token:u})}catch(vn){T("User rejected existing connection proposal"),k(!0),yield F()}}catch(Ve){console.error("Unable to connect to existing session",Ve),T("Unable to connect to existing session")}finally{_((Te=W.current)==null?void 0:Te.pairings)}})}function se(G){return f(this,null,function*(){var q,Y;try{G&&(yield(q=W.current)==null?void 0:q.logout({topic:G}))}catch(Te){console.error("Unable to remove existing pairing",Te),T("Unable to remove existing pairing")}finally{_((Y=W.current)==null?void 0:Y.pairings)}})}function j(){return f(this,null,function*(){var G,q;if(!z||!ie){T("Invalid WalletConnect setup");return}try{let{uri:Y,approval:Te}=yield(G=W.current)==null?void 0:G.connect({methods:tt});if(!Boolean(Y))return;if(I(Y),p&&!u&&(u=yield d.getNativeAuthLoginToken(),!u)){console.warn("Fetching block failed. Login cancelled.");return}u&&d.setLoginToken(u);try{yield(q=W.current)==null?void 0:q.login({approval:Te,token:u})}catch(vn){T("User rejected connection proposal"),k(!0),yield F()}}catch(Y){console.error("Unable to connect",Y)}})}let re=Boolean(g),vt=ge();return[F,{error:g,loginFailed:re,isLoading:C&&!re,isLoggedIn:vt&&!re},{uriDeepLink:Jt,walletConnectUri:h,cancelLogin:E,connectExisting:J,removeExistingPairing:se,wcPairings:b}]};H();P();M();n();n();var ic=e=>{let t=new URLSearchParams(e).toString(),{pathname:r}=window.location,o=t?`?${t}`:"",i=r?`${r}${o}`:"./";setTimeout(()=>{window.history.replaceState({},document==null?void 0:document.title,i)})};var sc=e=>{var o;let t={};if((o=window==null?void 0:window.location)!=null&&o.search){let i=new URLSearchParams(window.location.search);t=Object.fromEntries(i)}let r={};return e.forEach(i=>{r[i]=t[i],delete t[i]}),{remainingParams:r,clearNavigationHistory:()=>ic(t)}};n();var ac=require("react");n();H();P();V();function Tn(e,t){let r=mn(e);if(r==null)return;let o=t!=null?t:w.dispatch,{signature:i,address:l}=r;i&&e&&l&&(o(B()),setTimeout(()=>{o(He({loginToken:e,signature:i,nativeAuthToken:e})),o(Z({address:l,loginMethod:"extra"}))}))}function cc(){var l;let e=N(),t=typeof window!="undefined"?(l=window==null?void 0:window.location)==null?void 0:l.search:"",r=new URLSearchParams(t),o=Object.fromEntries(r),i=o==null?void 0:o.accessToken;(0,ac.useEffect)(()=>{Tn(i,e)},[i])}function dc(){let e=S(me),t=S(Zs),r=S(Ys),o=S(_t),i=S(De),l=S(lo),p=S(Xs),d=S(Me),u=S(Ft),[g,T]=(0,We.useState)(),h=S(Yr),I=h==null?void 0:h.nativeAuthConfig,C=be(I||!1),k=(0,We.useRef)(!1),b=N();cc();let{callbackRoute:_,logoutRoute:D}=t||{callbackRoute:"",logoutRoute:""},[z]=Mo({callbackRoute:_,logoutRoute:D}),[ie]=Oo({callbackRoute:_,logoutRoute:D});(0,We.useEffect)(()=>{te()},[e]),(0,We.useEffect)(()=>{wt()},[r]),(0,We.useEffect)(()=>{$e()},[i,e]),(0,We.useEffect)(()=>{Qe()},[l,d,g]);function te(){return f(this,null,function*(){try{let E=yield Fa();E&&b(ss(E.erd_chain_id))}catch(E){console.error("failed refreshing chainId ",E)}})}function Qe(){l==null&&p!=null&&g&&b(Hn({index:p.index,address:i,hasContractDataEnabled:g.dataEnabled,version:g.version}))}function $e(){return f(this,null,function*(){if(b(Ct(!0)),k.current){k.current=!1,b(Ct(!1));return}if(i)try{let E=yield Ye(i);E&&b(pt(L(y({},E),{address:i,nonce:E.nonce.valueOf()})))}catch(E){b($i("Failed getting account")),console.error("Failed getting account ",E)}b(Ct(!1))})}function W(){return f(this,null,function*(){let E=vo(e.walletAddress);if(pe(E),o!=null){try{let O=yield Fe(),{clearNavigationHistory:F,remainingParams:{signature:J}}=sc(["signature","loginToken","address"]);if(!O)return pe(ur),b(He(null)),b(Nr(null)),F();J&&C.setTokenLoginInfo({signature:J,address:O});let se=yield Ye(O);se&&(k.current=!0,b(Ct(!0)),b(Z({address:O,loginMethod:"wallet"})),b(pt(L(y({},se),{nonce:Wt(se)}))),b(Ct(!1))),F()}catch(O){console.error("Failed authenticating wallet user ",O)}b(Nr(null))}})}function et(){return f(this,null,function*(){let E=new pc.HWProvider,O=E.isInitialized();if(O||(O=yield E.init()),!O&&d){console.warn("Could not initialise ledger app"),ee(u);return}return(p==null?void 0:p.index)!=null&&(E.addressIndex=p.index),E})}function tt(){return f(this,null,function*(){try{let E=yield et();if(!E)return;let O=yield Ao(E);pe(E),T(O)}catch(E){console.error("Could not initialise ledger app",E),ee(u)}})}function Jt(){return f(this,null,function*(){try{let E=yield Fe(),O=lc.ExtensionProvider.getInstance().setAddress(E);(yield O.init())?pe(O):console.error("Could not initialise extension, make sure MultiversX wallet extension is installed.")}catch(E){console.error("Unable to login to ExtensionProvider",E)}})}function Yt(){return f(this,null,function*(){try{let E=yield Fe(),O=uc.OperaProvider.getInstance().setAddress(E);(yield O.init())?pe(O):console.error("Could not initialise opera crypto wallet, make sure that opera crypto wallet is installed.")}catch(E){console.error("Unable to login to OperaProvider",E)}})}function wt(){if(r!=null)switch(r){case"ledger":{tt();break}case"walletconnect":{z(!1);break}case"walletconnectv2":{ie(!1);break}case"extension":{Jt();break}case"opera":{Yt();break}case"extra":{ln();break}case"wallet":case"":{W();break}default:return}}return null}n();n();var Uo=require("@multiversx/sdk-core");V();n();M();var mc=()=>window!=null&&window.ReactNativeWebView?"reactNative":window.webkit?"ios":"web";n();V();var yn={signTransactions:{["ios"]:e=>window.webkit.messageHandlers.signTransactions.postMessage(e,ye),["reactNative"]:e=>window==null?void 0:window.ReactNativeWebView.postMessage(JSON.stringify({type:"SIGN_TRANSACTIONS_REQUEST",message:e}),ye),["web"]:e=>window==null?void 0:window.postMessage(JSON.stringify({type:"SIGN_TRANSACTIONS_REQUEST",message:e}),ye)},signMessage:{["ios"]:e=>window.webkit.messageHandlers.signMessage.postMessage(e),["reactNative"]:e=>window==null?void 0:window.ReactNativeWebView.postMessage(JSON.stringify({type:"SIGN_MESSAGE_REQUEST",message:e}),ye),["web"]:e=>window==null?void 0:window.postMessage(JSON.stringify({type:"SIGN_MESSAGE_REQUEST",message:e}),ye)},logout:{["ios"]:()=>window.webkit.messageHandlers.logout.postMessage(),["reactNative"]:()=>window==null?void 0:window.ReactNativeWebView.postMessage(JSON.stringify({type:"LOGOUT_REQUEST"}),ye),["web"]:()=>window==null?void 0:window.postMessage(JSON.stringify({type:"LOGOUT_REQUEST"}),ye)},login:{["ios"]:()=>window.webkit.messageHandlers.login.postMessage(),["reactNative"]:()=>window==null?void 0:window.ReactNativeWebView.postMessage(JSON.stringify({type:"LOGIN_REQUEST"}),ye),["web"]:()=>window==null?void 0:window.postMessage(JSON.stringify({type:"LOGIN_REQUEST"}),ye)}};var _o=e=>()=>{throw new Error(`Unable to perform ${e}, Provider not initialized`)},Fo=mc(),fc,Tc,ye=typeof window!="undefined"&&(Tc=(fc=window==null?void 0:window.parent)==null?void 0:fc.origin)!=null?Tc:"*",gc=e=>{let t=r=>{let o=r.data;if(r.target.origin==ye)try{o=JSON.parse(o),e(o)}catch(i){console.error("error parsing response")}};document.addEventListener("message",t),window.addEventListener("message",t)},yc={init:()=>f(void 0,null,function*(){return!0}),login:()=>f(void 0,null,function*(){return!0}),relogin:()=>f(void 0,null,function*(){try{return yn.login[Fo](),yield new Promise((t,r)=>{function o(i){let{message:l,type:p}=i;if(p==="LOGIN_RESPONSE")try{let{accessToken:d,error:u}=l;u?r(u):(Tn(d),ln(),t(d))}catch(d){r("Unable to login")}document.removeEventListener("message",o)}gc(o)})}catch(e){throw console.error("error logging in",e),e}}),logout:()=>(yn.logout[Fo](),new Promise(e=>{e(!0)})),getAddress:_o("getAddress"),isInitialized:()=>!0,isConnected:()=>f(void 0,null,function*(){return!0}),sendTransaction:_o("sendTransaction"),signMessage:_o("signMessage"),signTransactions:e=>f(void 0,null,function*(){try{let t=e.map(o=>o.toPlainObject());return yn.signTransactions[Fo](t),yield new Promise((o,i)=>{window.transactionsSigned=(p,d)=>{if(p=JSON.parse(p),d){i(d),window.transactionsSigned=null;return}o(p.map(u=>Uo.Transaction.fromPlainObject(u))),window.transactionsSigned=null};function l(p){let{message:d,type:u}=p;if(u==="SIGN_TRANSACTIONS_RESPONSE"){let{transactions:g,error:T}=d;try{T?i(T):o(g.map(h=>Uo.Transaction.fromPlainObject(h)))}catch(h){i("Unable to sign")}}document.removeEventListener("message",l)}gc(l)})}catch(t){throw console.error("error sending transaction",t),t}}),signTransaction:function(e){return f(this,null,function*(){return(yield this.signTransactions([e]))[0]})}};n();var qt=A(require("react"));n();n();n();n();var Bc=require("react");n();n();var Bo=()=>S(Ie);n();P();n();n();n();var ed=require("react"),td=require("@multiversx/sdk-web-wallet-provider"),rd=A(require("qs"));R();P();M();n();var xc=require("react"),ld=require("@multiversx/sdk-extension-provider");R();P();M();n();n();n();n();var Sc=require("react"),id=require("@multiversx/sdk-extension-provider");R();P();n();n();var pd=A(require("axios")),ud=A(require("swr"));n();n();var vc=require("react");n();var wc=require("react");qn();P();V();ut();n();at();P();n();n();n();n();n();function Ac(){let e=S(ho),t=Object.entries(e),r=(t==null?void 0:t.length)>0;return{pendingTransactions:e,pendingTransactionsArray:t,hasPendingTransactions:r}}Nt();n();P();M();n();Nt();function Ic(e,t){return e.reduce((o,{status:i,hash:l})=>(l!=null&&!t.includes(l)&&Re(i)&&o.push({hash:l,previousStatus:i}),o),[])}n();P();M();function bc({results:e,hash:t,sessionId:r}){let o=e==null?void 0:e.find(i=>(i==null?void 0:i.returnMessage)!=="");w.dispatch(ir({transactionHash:t,sessionId:r,status:"fail",errorMessage:o==null?void 0:o.returnMessage})),w.dispatch(Tt({sessionId:r,status:"fail",errorMessage:o==null?void 0:o.returnMessage}))}n();P();V();function Wo(e){w.dispatch(Tt({sessionId:e,status:"timedOut"}))}var hn={},Go=[];function md({serverTransaction:e,sessionId:t,customTransactionInformation:r,shouldRefreshBalance:o}){let{hash:i,status:l,results:p,invalidTransaction:d,hasStatusChanged:u}=e;try{if(Go.includes(i))return;if(hn[i]>30){Wo(t);return}if(d||Re(l)){hn[i]=hn[i]?hn[i]+1:1;return}u&&(gt(l)&&(r==null?void 0:r.completedTransactionsDelay)!=null?(Go.push(i),setTimeout(()=>w.dispatch(ir({sessionId:t,status:"success",transactionHash:i})),r==null?void 0:r.completedTransactionsDelay)):w.dispatch(ir({sessionId:t,status:l,transactionHash:i}))),o||pn(),ft(l)&&bc({sessionId:t,hash:i,results:p})}catch(g){console.error(g),Wo(t)}}function Lc(l){return f(this,arguments,function*({sessionId:e,transactionBatch:{transactions:t,customTransactionInformation:r},getTransactionsByHash:o=sn,shouldRefreshBalance:i}){try{if(t==null)return;let p=Ic(t,Go),d=yield o(p);for(let u of d)md({serverTransaction:u,sessionId:e,customTransactionInformation:r,shouldRefreshBalance:i})}catch(p){console.error(p)}})}function kc(){let{pendingTransactionsArray:e}=Ac();function t(r){return f(this,null,function*(){let o=e.filter(([i,l])=>i!=null&&Re(l.status));if(o.length>0)for(let[i,l]of o)yield Lc(y({sessionId:i,transactionBatch:l},r));r.shouldRefreshBalance&&pn()})}return t}n();var Sd=require("react");n();n();n();P();n();n();var Td=A(require("bignumber.js"));R();P();V();n();var fd=A(require("bignumber.js"));R();n();var yd=require("@multiversx/sdk-core"),hd=A(require("bignumber.js"));R();M();Nt();n();n();n();n();var Ec=require("react");n();n();var xd=require("react"),wd=require("@multiversx/sdk-extension-provider");at();H();M();mt();n();var vd=require("react"),Ad=require("@multiversx/sdk-opera-provider");at();H();M();mt();n();var Ld=require("react");at();P();n();n();Fn();n();n();var Id=A(require("platform"));n();n();n();n();n();ut();Pt();n();n();n();P();var bd={};var Pc=e=>{if(e.component!=null){let t=e,{component:r}=t,o=rt(t,["component"]),{payload:i}=w.dispatch(Zn(L(y({},o),{component:null})));return bd[i.toastId]=r,i}return w.dispatch(Zn(e)).payload};n();n();var Cc=A(require("axios"));function Vo(e){return f(this,null,function*(){try{let{data:t}=yield Cc.default.get(`${e}/websocket/config`);return`wss://${t.url}`}catch(t){throw console.error(t),new Error("Can not get websocket url")}})}n();n();var Rc=require("react"),Ed=require("@multiversx/sdk-hw-provider");at();H();P();M();mt();n();var kd=require("react");n();n();var Nc=require("react");n();var Oc=require("react");n();var xt=require("react"),Dc=require("socket.io-client");P();n();var Ge={current:null,status:"not_initialized"};var Pd=3e3,Cd=3,Rd=500,Nd=1e3;function Mc(){let e=(0,xt.useRef)(null),{address:t}=St(),r=N(),{network:o}=Bo(),i=p=>{e.current&&clearTimeout(e.current),e.current=setTimeout(()=>{r(Vi(p))},Nd)},l=(0,xt.useCallback)(dn(()=>f(this,null,function*(){Ge.status="pending";let p=yield Vo(o.apiAddress);if(p==null){console.warn("Can not get websocket url");return}Ge.current=(0,Dc.io)(p,{forceNew:!0,reconnectionAttempts:Cd,timeout:Pd,query:{address:t}}),Ge.status="completed",Ge.current.onAny(d=>{i(d)})}),{retries:2,delay:Rd}),[t]);(0,xt.useEffect)(()=>{t&&Ge.status==="not_initialized"&&!Ge.current&&l()},[t,Ge.current]),(0,xt.useEffect)(()=>()=>{var p;(p=Ge.current)==null||p.close(),e.current&&clearTimeout(e.current)},[])}function _c(e){Mc();let t=S(po);(0,Oc.useEffect)(()=>{let r=t==null?void 0:t.message;r&&e(r)},[e,t])}n();n();n();var Fc=e=>e.dappModal,Dd=x(Fc,e=>e.visible),Sn=x(Fc,e=>e.modal),xM=x(Sn,e=>e.showHeader),wM=x(Sn,e=>e.showFooter),vM=x(Sn,e=>e.headerText),AM=x(Sn,e=>e.footerText);lt();var{logoutEvent:Md}=ae,Uc="storage",Wc=()=>{let{address:e}=Oe(),t=S(Ft);(0,Bc.useEffect)(()=>{let r=o=>{if(!(o.key!==Md||!o.newValue))try{let{data:i}=JSON.parse(o.newValue);i===e&&ee(t)}catch(i){return}};return window.addEventListener(Uc,r),()=>{window.removeEventListener(Uc,r)}},[e,t])};n();n();var xn=require("react"),Ho=A(require("bignumber.js"));var $c=require("@fortawesome/free-solid-svg-icons");n();n();var Tr=A(require("bignumber.js")),Gc=e=>{let t=new Tr.default(e).dividedBy(1e3).integerValue(Tr.default.ROUND_FLOOR),r=new Tr.default(t).dividedBy(60).integerValue(Tr.default.ROUND_FLOOR),o=r.modulo(60).isGreaterThan(1),i=r.modulo(60).isLessThan(1);return o?`${r} minutes`:i?"less than 1 minute":`${r} minute`};var Vc=()=>{let{address:e}=Oe(),{tokenLogin:t}=S(K),{secondsUntilExpires:r,expiresAt:o}=Ht(t==null?void 0:t.nativeAuthToken),i=(0,xn.useRef)();return(0,xn.useEffect)(()=>{var d;let l=new Ho.default(String(r)),p=l.times(1e3);if(!(!r||l.isLessThanOrEqualTo(0))){if((d=t==null?void 0:t.nativeAuthConfig)!=null&&d.tokenExpirationToastWarningSeconds){clearTimeout(i.current);let g=new Ho.default(t.nativeAuthConfig.tokenExpirationToastWarningSeconds).times(1e3),T=l.times(1e3).minus(g),h=Gc(p),I=T.isLessThanOrEqualTo(0)?0:T.toNumber();i.current=setTimeout(()=>{Pc({toastId:"nativeAuthTokenExpiration",type:"custom",title:"Session Expiration Warning",icon:$c.faRefresh,message:`Your token will expire in ${h}!`})},I)}return()=>{clearTimeout(i.current)}}},[o,e,t==null?void 0:t.nativeAuthConfig]),null};n();var jt=require("react"),Hc=A(require("bignumber.js"));var zc=()=>{let{address:e}=Oe(),{tokenLogin:t}=S(K),r=S(Ft),{isExpired:o,secondsUntilExpires:i,expiresAt:l}=Ht(t==null?void 0:t.nativeAuthToken),p=(0,jt.useRef)(""),d=(0,jt.useRef)();return(0,jt.useEffect)(()=>{e&&o&&ee(r)},[o,e,r]),(0,jt.useEffect)(()=>{let u=new Hc.default(String(i)),g=`${e}_${l}`,T=p.current===g;if(!(i&&u.isGreaterThan(0))||T)return;p.current=g,clearTimeout(d.current);let I=u.times(1e3);return d.current=setTimeout(()=>{ee(r)},I.toNumber()),()=>{clearTimeout(d.current)}},[l,e,r]),null};var jc=()=>(Vc(),Wc(),zc(),null);n();n();var wn=require("react"),Kc=require("@multiversx/sdk-core"),Jc=require("@multiversx/sdk-core/out/signature");P();M();ut();var qc=e=>{let t=e.redirectRoute;t&&Ce(t)},Yc=({sendSignedTransactionsAsync:e=Ca})=>{let t=S(qe),r=S(Je),o=(0,wn.useRef)(!1),i=N(),l=()=>{i(Dt()),o.current=!1};function p(){return f(this,null,function*(){var u;let d=Object.keys(r);for(let g of d){let T=r==null?void 0:r[g],h=(u=T==null?void 0:T.customTransactionInformation)==null?void 0:u.signWithoutSending;if(!g||h){qc(T);continue}try{if(!(r[g].status==="signed"&&!o.current))continue;let{transactions:k}=r[g];if(!k)continue;o.current=!0;let b=k.map(te=>{let Qe=new Kc.Address(te.sender),$e=Bt(te),W=new Jc.Signature(te.signature);return $e.applySignature(W,Qe),$e}),_=yield e(b),D="pending",z=k.map(te=>_.includes(te.hash)?L(y({},te),{status:D}):te);i(Xi({sessionId:g,submittedMessage:"submitted"})),i(Tt({sessionId:g,status:"sent",transactions:z})),l(),Ha(t.nonce+k.length),qc(T),history.pushState({},document==null?void 0:document.title,"?")}catch(I){console.error("Unable to send transactions",I),i(Tt({sessionId:g,status:"fail",errorMessage:I.message})),l()}finally{o.current=!1}}})}return(0,wn.useEffect)(()=>{p()},[r,t]),null};n();n();n();var Zc=require("react");function Xc(e){var i;let t=kc(),r=(i=e==null?void 0:e.getTransactionsByHash)!=null?i:sn,o=()=>{t({shouldRefreshBalance:!0,getTransactionsByHash:r})};_c(o),(0,Zc.useEffect)(()=>{let l=setInterval(o,3e4);return()=>{clearInterval(l)}},[o])}function Qc({getTransactionsByHash:e}){return Xc({getTransactionsByHash:e}),null}function el({customComponents:e}){var l,p;let t=e==null?void 0:e.transactionSender,r=e==null?void 0:e.transactionTracker,o=(l=t==null?void 0:t.component)!=null?l:Yc,i=(p=r==null?void 0:r.component)!=null?p:Qc;return qt.default.createElement(qt.default.Fragment,null,qt.default.createElement(o,y({},t==null?void 0:t.props)),qt.default.createElement(i,y({},r==null?void 0:r.props)),qt.default.createElement(jc,null))}var Od=({children:e,customNetworkConfig:t={},externalProvider:r,environment:o,customComponents:i,dappConfig:l})=>{if(!o)throw new Error("missing environment flag");return r!=null&&Lo(r),l!=null&&l.shouldUseWebViewProvider&&Lo(yc),Kt.default.createElement(tl.Provider,{context:ar,store:w},Kt.default.createElement(rl.PersistGate,{persistor:zs,loading:null},Kt.default.createElement(Eo,{environment:o,customNetworkConfig:t,logoutRoute:l==null?void 0:l.logoutRoute},Kt.default.createElement(dc,null),Kt.default.createElement(el,{customComponents:i}),e)))};0&&(module.exports={AppInitializer,AuthenticatedRoutesWrapper,AxiosInterceptor,AxiosInterceptorContext,AxiosInterceptorContextProvider,DappProvider,LoginInfoListener,useAxiosInterceptorContext});
1
+ "use strict";var ol=Object.create;var Zt=Object.defineProperty,il=Object.defineProperties,sl=Object.getOwnPropertyDescriptor,al=Object.getOwnPropertyDescriptors,cl=Object.getOwnPropertyNames,yr=Object.getOwnPropertySymbols,ll=Object.getPrototypeOf,An=Object.prototype.hasOwnProperty,jo=Object.prototype.propertyIsEnumerable;var zo=(e,t,r)=>t in e?Zt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,y=(e,t)=>{for(var r in t||(t={}))An.call(t,r)&&zo(e,r,t[r]);if(yr)for(var r of yr(t))jo.call(t,r)&&zo(e,r,t[r]);return e},L=(e,t)=>il(e,al(t));var qo=e=>typeof e=="symbol"?e:e+"",rt=(e,t)=>{var r={};for(var o in e)An.call(e,o)&&t.indexOf(o)<0&&(r[o]=e[o]);if(e!=null&&yr)for(var o of yr(e))t.indexOf(o)<0&&jo.call(e,o)&&(r[o]=e[o]);return r};var v=(e,t)=>()=>(e&&(t=e(e=0)),t);var hr=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),nt=(e,t)=>{for(var r in t)Zt(e,r,{get:t[r],enumerable:!0})},Ko=(e,t,r,o)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of cl(t))!An.call(e,i)&&i!==r&&Zt(e,i,{get:()=>t[i],enumerable:!(o=sl(t,i))||o.enumerable});return e};var A=(e,t,r)=>(r=e!=null?ol(ll(e)):{},Ko(t||!e||!e.__esModule?Zt(r,"default",{value:e,enumerable:!0}):r,e)),Xt=e=>Ko(Zt({},"__esModule",{value:!0}),e);var f=(e,t,r)=>new Promise((o,i)=>{var l=u=>{try{d(r.next(u))}catch(g){i(g)}},p=u=>{try{d(r.throw(u))}catch(g){i(g)}},d=u=>u.done?o(u.value):Promise.resolve(u.value).then(l,p);d((r=r.apply(e,t)).next())});var Zo=hr(Sr=>{"use strict";n();Sr.byteLength=ul;Sr.toByteArray=ml;Sr.fromByteArray=Tl;var he=[],ue=[],pl=typeof Uint8Array!="undefined"?Uint8Array:Array,In="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(ot=0,Jo=In.length;ot<Jo;++ot)he[ot]=In[ot],ue[In.charCodeAt(ot)]=ot;var ot,Jo;ue["-".charCodeAt(0)]=62;ue["_".charCodeAt(0)]=63;function Yo(e){var t=e.length;if(t%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var r=e.indexOf("=");r===-1&&(r=t);var o=r===t?0:4-r%4;return[r,o]}function ul(e){var t=Yo(e),r=t[0],o=t[1];return(r+o)*3/4-o}function dl(e,t,r){return(t+r)*3/4-r}function ml(e){var t,r=Yo(e),o=r[0],i=r[1],l=new pl(dl(e,o,i)),p=0,d=i>0?o-4:o,u;for(u=0;u<d;u+=4)t=ue[e.charCodeAt(u)]<<18|ue[e.charCodeAt(u+1)]<<12|ue[e.charCodeAt(u+2)]<<6|ue[e.charCodeAt(u+3)],l[p++]=t>>16&255,l[p++]=t>>8&255,l[p++]=t&255;return i===2&&(t=ue[e.charCodeAt(u)]<<2|ue[e.charCodeAt(u+1)]>>4,l[p++]=t&255),i===1&&(t=ue[e.charCodeAt(u)]<<10|ue[e.charCodeAt(u+1)]<<4|ue[e.charCodeAt(u+2)]>>2,l[p++]=t>>8&255,l[p++]=t&255),l}function gl(e){return he[e>>18&63]+he[e>>12&63]+he[e>>6&63]+he[e&63]}function fl(e,t,r){for(var o,i=[],l=t;l<r;l+=3)o=(e[l]<<16&16711680)+(e[l+1]<<8&65280)+(e[l+2]&255),i.push(gl(o));return i.join("")}function Tl(e){for(var t,r=e.length,o=r%3,i=[],l=16383,p=0,d=r-o;p<d;p+=l)i.push(fl(e,p,p+l>d?d:p+l));return o===1?(t=e[r-1],i.push(he[t>>2]+he[t<<4&63]+"==")):o===2&&(t=(e[r-2]<<8)+e[r-1],i.push(he[t>>10]+he[t>>4&63]+he[t<<2&63]+"=")),i.join("")}});var Xo=hr(bn=>{n();bn.read=function(e,t,r,o,i){var l,p,d=i*8-o-1,u=(1<<d)-1,g=u>>1,T=-7,h=r?i-1:0,I=r?-1:1,C=e[t+h];for(h+=I,l=C&(1<<-T)-1,C>>=-T,T+=d;T>0;l=l*256+e[t+h],h+=I,T-=8);for(p=l&(1<<-T)-1,l>>=-T,T+=o;T>0;p=p*256+e[t+h],h+=I,T-=8);if(l===0)l=1-g;else{if(l===u)return p?NaN:(C?-1:1)*(1/0);p=p+Math.pow(2,o),l=l-g}return(C?-1:1)*p*Math.pow(2,l-o)};bn.write=function(e,t,r,o,i,l){var p,d,u,g=l*8-i-1,T=(1<<g)-1,h=T>>1,I=i===23?Math.pow(2,-24)-Math.pow(2,-77):0,C=o?0:l-1,k=o?1:-1,b=t<0||t===0&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(d=isNaN(t)?1:0,p=T):(p=Math.floor(Math.log(t)/Math.LN2),t*(u=Math.pow(2,-p))<1&&(p--,u*=2),p+h>=1?t+=I/u:t+=I*Math.pow(2,1-h),t*u>=2&&(p++,u/=2),p+h>=T?(d=0,p=T):p+h>=1?(d=(t*u-1)*Math.pow(2,i),p=p+h):(d=t*Math.pow(2,h-1)*Math.pow(2,i),p=0));i>=8;e[r+C]=d&255,C+=k,d/=256,i-=8);for(p=p<<i|d,g+=i;g>0;e[r+C]=p&255,C+=k,p/=256,g-=8);e[r+C-k]|=b*128}});var ui=hr(It=>{"use strict";n();var Ln=Zo(),At=Xo(),Qo=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;It.Buffer=m;It.SlowBuffer=vl;It.INSPECT_MAX_BYTES=50;var xr=2147483647;It.kMaxLength=xr;m.TYPED_ARRAY_SUPPORT=yl();!m.TYPED_ARRAY_SUPPORT&&typeof console!="undefined"&&typeof console.error=="function"&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function yl(){try{var e=new Uint8Array(1),t={foo:function(){return 42}};return Object.setPrototypeOf(t,Uint8Array.prototype),Object.setPrototypeOf(e,t),e.foo()===42}catch(r){return!1}}Object.defineProperty(m.prototype,"parent",{enumerable:!0,get:function(){if(!!m.isBuffer(this))return this.buffer}});Object.defineProperty(m.prototype,"offset",{enumerable:!0,get:function(){if(!!m.isBuffer(this))return this.byteOffset}});function ke(e){if(e>xr)throw new RangeError('The value "'+e+'" is invalid for option "size"');var t=new Uint8Array(e);return Object.setPrototypeOf(t,m.prototype),t}function m(e,t,r){if(typeof e=="number"){if(typeof t=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return Cn(e)}return ri(e,t,r)}m.poolSize=8192;function ri(e,t,r){if(typeof e=="string")return Sl(e,t);if(ArrayBuffer.isView(e))return xl(e);if(e==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e);if(Se(e,ArrayBuffer)||e&&Se(e.buffer,ArrayBuffer)||typeof SharedArrayBuffer!="undefined"&&(Se(e,SharedArrayBuffer)||e&&Se(e.buffer,SharedArrayBuffer)))return En(e,t,r);if(typeof e=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var o=e.valueOf&&e.valueOf();if(o!=null&&o!==e)return m.from(o,t,r);var i=wl(e);if(i)return i;if(typeof Symbol!="undefined"&&Symbol.toPrimitive!=null&&typeof e[Symbol.toPrimitive]=="function")return m.from(e[Symbol.toPrimitive]("string"),t,r);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e)}m.from=function(e,t,r){return ri(e,t,r)};Object.setPrototypeOf(m.prototype,Uint8Array.prototype);Object.setPrototypeOf(m,Uint8Array);function ni(e){if(typeof e!="number")throw new TypeError('"size" argument must be of type number');if(e<0)throw new RangeError('The value "'+e+'" is invalid for option "size"')}function hl(e,t,r){return ni(e),e<=0?ke(e):t!==void 0?typeof r=="string"?ke(e).fill(t,r):ke(e).fill(t):ke(e)}m.alloc=function(e,t,r){return hl(e,t,r)};function Cn(e){return ni(e),ke(e<0?0:Rn(e)|0)}m.allocUnsafe=function(e){return Cn(e)};m.allocUnsafeSlow=function(e){return Cn(e)};function Sl(e,t){if((typeof t!="string"||t==="")&&(t="utf8"),!m.isEncoding(t))throw new TypeError("Unknown encoding: "+t);var r=oi(e,t)|0,o=ke(r),i=o.write(e,t);return i!==r&&(o=o.slice(0,i)),o}function kn(e){for(var t=e.length<0?0:Rn(e.length)|0,r=ke(t),o=0;o<t;o+=1)r[o]=e[o]&255;return r}function xl(e){if(Se(e,Uint8Array)){var t=new Uint8Array(e);return En(t.buffer,t.byteOffset,t.byteLength)}return kn(e)}function En(e,t,r){if(t<0||e.byteLength<t)throw new RangeError('"offset" is outside of buffer bounds');if(e.byteLength<t+(r||0))throw new RangeError('"length" is outside of buffer bounds');var o;return t===void 0&&r===void 0?o=new Uint8Array(e):r===void 0?o=new Uint8Array(e,t):o=new Uint8Array(e,t,r),Object.setPrototypeOf(o,m.prototype),o}function wl(e){if(m.isBuffer(e)){var t=Rn(e.length)|0,r=ke(t);return r.length===0||e.copy(r,0,0,t),r}if(e.length!==void 0)return typeof e.length!="number"||Nn(e.length)?ke(0):kn(e);if(e.type==="Buffer"&&Array.isArray(e.data))return kn(e.data)}function Rn(e){if(e>=xr)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+xr.toString(16)+" bytes");return e|0}function vl(e){return+e!=e&&(e=0),m.alloc(+e)}m.isBuffer=function(t){return t!=null&&t._isBuffer===!0&&t!==m.prototype};m.compare=function(t,r){if(Se(t,Uint8Array)&&(t=m.from(t,t.offset,t.byteLength)),Se(r,Uint8Array)&&(r=m.from(r,r.offset,r.byteLength)),!m.isBuffer(t)||!m.isBuffer(r))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(t===r)return 0;for(var o=t.length,i=r.length,l=0,p=Math.min(o,i);l<p;++l)if(t[l]!==r[l]){o=t[l],i=r[l];break}return o<i?-1:i<o?1:0};m.isEncoding=function(t){switch(String(t).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}};m.concat=function(t,r){if(!Array.isArray(t))throw new TypeError('"list" argument must be an Array of Buffers');if(t.length===0)return m.alloc(0);var o;if(r===void 0)for(r=0,o=0;o<t.length;++o)r+=t[o].length;var i=m.allocUnsafe(r),l=0;for(o=0;o<t.length;++o){var p=t[o];if(Se(p,Uint8Array))l+p.length>i.length?m.from(p).copy(i,l):Uint8Array.prototype.set.call(i,p,l);else if(m.isBuffer(p))p.copy(i,l);else throw new TypeError('"list" argument must be an Array of Buffers');l+=p.length}return i};function oi(e,t){if(m.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||Se(e,ArrayBuffer))return e.byteLength;if(typeof e!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof e);var r=e.length,o=arguments.length>2&&arguments[2]===!0;if(!o&&r===0)return 0;for(var i=!1;;)switch(t){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":return Pn(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return r*2;case"hex":return r>>>1;case"base64":return pi(e).length;default:if(i)return o?-1:Pn(e).length;t=(""+t).toLowerCase(),i=!0}}m.byteLength=oi;function Al(e,t,r){var o=!1;if((t===void 0||t<0)&&(t=0),t>this.length||((r===void 0||r>this.length)&&(r=this.length),r<=0)||(r>>>=0,t>>>=0,r<=t))return"";for(e||(e="utf8");;)switch(e){case"hex":return Dl(this,t,r);case"utf8":case"utf-8":return si(this,t,r);case"ascii":return Rl(this,t,r);case"latin1":case"binary":return Nl(this,t,r);case"base64":return Pl(this,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Ml(this,t,r);default:if(o)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),o=!0}}m.prototype._isBuffer=!0;function it(e,t,r){var o=e[t];e[t]=e[r],e[r]=o}m.prototype.swap16=function(){var t=this.length;if(t%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var r=0;r<t;r+=2)it(this,r,r+1);return this};m.prototype.swap32=function(){var t=this.length;if(t%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var r=0;r<t;r+=4)it(this,r,r+3),it(this,r+1,r+2);return this};m.prototype.swap64=function(){var t=this.length;if(t%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var r=0;r<t;r+=8)it(this,r,r+7),it(this,r+1,r+6),it(this,r+2,r+5),it(this,r+3,r+4);return this};m.prototype.toString=function(){var t=this.length;return t===0?"":arguments.length===0?si(this,0,t):Al.apply(this,arguments)};m.prototype.toLocaleString=m.prototype.toString;m.prototype.equals=function(t){if(!m.isBuffer(t))throw new TypeError("Argument must be a Buffer");return this===t?!0:m.compare(this,t)===0};m.prototype.inspect=function(){var t="",r=It.INSPECT_MAX_BYTES;return t=this.toString("hex",0,r).replace(/(.{2})/g,"$1 ").trim(),this.length>r&&(t+=" ... "),"<Buffer "+t+">"};Qo&&(m.prototype[Qo]=m.prototype.inspect);m.prototype.compare=function(t,r,o,i,l){if(Se(t,Uint8Array)&&(t=m.from(t,t.offset,t.byteLength)),!m.isBuffer(t))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof t);if(r===void 0&&(r=0),o===void 0&&(o=t?t.length:0),i===void 0&&(i=0),l===void 0&&(l=this.length),r<0||o>t.length||i<0||l>this.length)throw new RangeError("out of range index");if(i>=l&&r>=o)return 0;if(i>=l)return-1;if(r>=o)return 1;if(r>>>=0,o>>>=0,i>>>=0,l>>>=0,this===t)return 0;for(var p=l-i,d=o-r,u=Math.min(p,d),g=this.slice(i,l),T=t.slice(r,o),h=0;h<u;++h)if(g[h]!==T[h]){p=g[h],d=T[h];break}return p<d?-1:d<p?1:0};function ii(e,t,r,o,i){if(e.length===0)return-1;if(typeof r=="string"?(o=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),r=+r,Nn(r)&&(r=i?0:e.length-1),r<0&&(r=e.length+r),r>=e.length){if(i)return-1;r=e.length-1}else if(r<0)if(i)r=0;else return-1;if(typeof t=="string"&&(t=m.from(t,o)),m.isBuffer(t))return t.length===0?-1:ei(e,t,r,o,i);if(typeof t=="number")return t=t&255,typeof Uint8Array.prototype.indexOf=="function"?i?Uint8Array.prototype.indexOf.call(e,t,r):Uint8Array.prototype.lastIndexOf.call(e,t,r):ei(e,[t],r,o,i);throw new TypeError("val must be string, number or Buffer")}function ei(e,t,r,o,i){var l=1,p=e.length,d=t.length;if(o!==void 0&&(o=String(o).toLowerCase(),o==="ucs2"||o==="ucs-2"||o==="utf16le"||o==="utf-16le")){if(e.length<2||t.length<2)return-1;l=2,p/=2,d/=2,r/=2}function u(C,k){return l===1?C[k]:C.readUInt16BE(k*l)}var g;if(i){var T=-1;for(g=r;g<p;g++)if(u(e,g)===u(t,T===-1?0:g-T)){if(T===-1&&(T=g),g-T+1===d)return T*l}else T!==-1&&(g-=g-T),T=-1}else for(r+d>p&&(r=p-d),g=r;g>=0;g--){for(var h=!0,I=0;I<d;I++)if(u(e,g+I)!==u(t,I)){h=!1;break}if(h)return g}return-1}m.prototype.includes=function(t,r,o){return this.indexOf(t,r,o)!==-1};m.prototype.indexOf=function(t,r,o){return ii(this,t,r,o,!0)};m.prototype.lastIndexOf=function(t,r,o){return ii(this,t,r,o,!1)};function Il(e,t,r,o){r=Number(r)||0;var i=e.length-r;o?(o=Number(o),o>i&&(o=i)):o=i;var l=t.length;o>l/2&&(o=l/2);for(var p=0;p<o;++p){var d=parseInt(t.substr(p*2,2),16);if(Nn(d))return p;e[r+p]=d}return p}function bl(e,t,r,o){return wr(Pn(t,e.length-r),e,r,o)}function Ll(e,t,r,o){return wr(Fl(t),e,r,o)}function kl(e,t,r,o){return wr(pi(t),e,r,o)}function El(e,t,r,o){return wr(Ul(t,e.length-r),e,r,o)}m.prototype.write=function(t,r,o,i){if(r===void 0)i="utf8",o=this.length,r=0;else if(o===void 0&&typeof r=="string")i=r,o=this.length,r=0;else if(isFinite(r))r=r>>>0,isFinite(o)?(o=o>>>0,i===void 0&&(i="utf8")):(i=o,o=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var l=this.length-r;if((o===void 0||o>l)&&(o=l),t.length>0&&(o<0||r<0)||r>this.length)throw new RangeError("Attempt to write outside buffer bounds");i||(i="utf8");for(var p=!1;;)switch(i){case"hex":return Il(this,t,r,o);case"utf8":case"utf-8":return bl(this,t,r,o);case"ascii":case"latin1":case"binary":return Ll(this,t,r,o);case"base64":return kl(this,t,r,o);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return El(this,t,r,o);default:if(p)throw new TypeError("Unknown encoding: "+i);i=(""+i).toLowerCase(),p=!0}};m.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function Pl(e,t,r){return t===0&&r===e.length?Ln.fromByteArray(e):Ln.fromByteArray(e.slice(t,r))}function si(e,t,r){r=Math.min(e.length,r);for(var o=[],i=t;i<r;){var l=e[i],p=null,d=l>239?4:l>223?3:l>191?2:1;if(i+d<=r){var u,g,T,h;switch(d){case 1:l<128&&(p=l);break;case 2:u=e[i+1],(u&192)===128&&(h=(l&31)<<6|u&63,h>127&&(p=h));break;case 3:u=e[i+1],g=e[i+2],(u&192)===128&&(g&192)===128&&(h=(l&15)<<12|(u&63)<<6|g&63,h>2047&&(h<55296||h>57343)&&(p=h));break;case 4:u=e[i+1],g=e[i+2],T=e[i+3],(u&192)===128&&(g&192)===128&&(T&192)===128&&(h=(l&15)<<18|(u&63)<<12|(g&63)<<6|T&63,h>65535&&h<1114112&&(p=h))}}p===null?(p=65533,d=1):p>65535&&(p-=65536,o.push(p>>>10&1023|55296),p=56320|p&1023),o.push(p),i+=d}return Cl(o)}var ti=4096;function Cl(e){var t=e.length;if(t<=ti)return String.fromCharCode.apply(String,e);for(var r="",o=0;o<t;)r+=String.fromCharCode.apply(String,e.slice(o,o+=ti));return r}function Rl(e,t,r){var o="";r=Math.min(e.length,r);for(var i=t;i<r;++i)o+=String.fromCharCode(e[i]&127);return o}function Nl(e,t,r){var o="";r=Math.min(e.length,r);for(var i=t;i<r;++i)o+=String.fromCharCode(e[i]);return o}function Dl(e,t,r){var o=e.length;(!t||t<0)&&(t=0),(!r||r<0||r>o)&&(r=o);for(var i="",l=t;l<r;++l)i+=Bl[e[l]];return i}function Ml(e,t,r){for(var o=e.slice(t,r),i="",l=0;l<o.length-1;l+=2)i+=String.fromCharCode(o[l]+o[l+1]*256);return i}m.prototype.slice=function(t,r){var o=this.length;t=~~t,r=r===void 0?o:~~r,t<0?(t+=o,t<0&&(t=0)):t>o&&(t=o),r<0?(r+=o,r<0&&(r=0)):r>o&&(r=o),r<t&&(r=t);var i=this.subarray(t,r);return Object.setPrototypeOf(i,m.prototype),i};function $(e,t,r){if(e%1!==0||e<0)throw new RangeError("offset is not uint");if(e+t>r)throw new RangeError("Trying to access beyond buffer length")}m.prototype.readUintLE=m.prototype.readUIntLE=function(t,r,o){t=t>>>0,r=r>>>0,o||$(t,r,this.length);for(var i=this[t],l=1,p=0;++p<r&&(l*=256);)i+=this[t+p]*l;return i};m.prototype.readUintBE=m.prototype.readUIntBE=function(t,r,o){t=t>>>0,r=r>>>0,o||$(t,r,this.length);for(var i=this[t+--r],l=1;r>0&&(l*=256);)i+=this[t+--r]*l;return i};m.prototype.readUint8=m.prototype.readUInt8=function(t,r){return t=t>>>0,r||$(t,1,this.length),this[t]};m.prototype.readUint16LE=m.prototype.readUInt16LE=function(t,r){return t=t>>>0,r||$(t,2,this.length),this[t]|this[t+1]<<8};m.prototype.readUint16BE=m.prototype.readUInt16BE=function(t,r){return t=t>>>0,r||$(t,2,this.length),this[t]<<8|this[t+1]};m.prototype.readUint32LE=m.prototype.readUInt32LE=function(t,r){return t=t>>>0,r||$(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+this[t+3]*16777216};m.prototype.readUint32BE=m.prototype.readUInt32BE=function(t,r){return t=t>>>0,r||$(t,4,this.length),this[t]*16777216+(this[t+1]<<16|this[t+2]<<8|this[t+3])};m.prototype.readIntLE=function(t,r,o){t=t>>>0,r=r>>>0,o||$(t,r,this.length);for(var i=this[t],l=1,p=0;++p<r&&(l*=256);)i+=this[t+p]*l;return l*=128,i>=l&&(i-=Math.pow(2,8*r)),i};m.prototype.readIntBE=function(t,r,o){t=t>>>0,r=r>>>0,o||$(t,r,this.length);for(var i=r,l=1,p=this[t+--i];i>0&&(l*=256);)p+=this[t+--i]*l;return l*=128,p>=l&&(p-=Math.pow(2,8*r)),p};m.prototype.readInt8=function(t,r){return t=t>>>0,r||$(t,1,this.length),this[t]&128?(255-this[t]+1)*-1:this[t]};m.prototype.readInt16LE=function(t,r){t=t>>>0,r||$(t,2,this.length);var o=this[t]|this[t+1]<<8;return o&32768?o|4294901760:o};m.prototype.readInt16BE=function(t,r){t=t>>>0,r||$(t,2,this.length);var o=this[t+1]|this[t]<<8;return o&32768?o|4294901760:o};m.prototype.readInt32LE=function(t,r){return t=t>>>0,r||$(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24};m.prototype.readInt32BE=function(t,r){return t=t>>>0,r||$(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]};m.prototype.readFloatLE=function(t,r){return t=t>>>0,r||$(t,4,this.length),At.read(this,t,!0,23,4)};m.prototype.readFloatBE=function(t,r){return t=t>>>0,r||$(t,4,this.length),At.read(this,t,!1,23,4)};m.prototype.readDoubleLE=function(t,r){return t=t>>>0,r||$(t,8,this.length),At.read(this,t,!0,52,8)};m.prototype.readDoubleBE=function(t,r){return t=t>>>0,r||$(t,8,this.length),At.read(this,t,!1,52,8)};function ne(e,t,r,o,i,l){if(!m.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>i||t<l)throw new RangeError('"value" argument is out of bounds');if(r+o>e.length)throw new RangeError("Index out of range")}m.prototype.writeUintLE=m.prototype.writeUIntLE=function(t,r,o,i){if(t=+t,r=r>>>0,o=o>>>0,!i){var l=Math.pow(2,8*o)-1;ne(this,t,r,o,l,0)}var p=1,d=0;for(this[r]=t&255;++d<o&&(p*=256);)this[r+d]=t/p&255;return r+o};m.prototype.writeUintBE=m.prototype.writeUIntBE=function(t,r,o,i){if(t=+t,r=r>>>0,o=o>>>0,!i){var l=Math.pow(2,8*o)-1;ne(this,t,r,o,l,0)}var p=o-1,d=1;for(this[r+p]=t&255;--p>=0&&(d*=256);)this[r+p]=t/d&255;return r+o};m.prototype.writeUint8=m.prototype.writeUInt8=function(t,r,o){return t=+t,r=r>>>0,o||ne(this,t,r,1,255,0),this[r]=t&255,r+1};m.prototype.writeUint16LE=m.prototype.writeUInt16LE=function(t,r,o){return t=+t,r=r>>>0,o||ne(this,t,r,2,65535,0),this[r]=t&255,this[r+1]=t>>>8,r+2};m.prototype.writeUint16BE=m.prototype.writeUInt16BE=function(t,r,o){return t=+t,r=r>>>0,o||ne(this,t,r,2,65535,0),this[r]=t>>>8,this[r+1]=t&255,r+2};m.prototype.writeUint32LE=m.prototype.writeUInt32LE=function(t,r,o){return t=+t,r=r>>>0,o||ne(this,t,r,4,4294967295,0),this[r+3]=t>>>24,this[r+2]=t>>>16,this[r+1]=t>>>8,this[r]=t&255,r+4};m.prototype.writeUint32BE=m.prototype.writeUInt32BE=function(t,r,o){return t=+t,r=r>>>0,o||ne(this,t,r,4,4294967295,0),this[r]=t>>>24,this[r+1]=t>>>16,this[r+2]=t>>>8,this[r+3]=t&255,r+4};m.prototype.writeIntLE=function(t,r,o,i){if(t=+t,r=r>>>0,!i){var l=Math.pow(2,8*o-1);ne(this,t,r,o,l-1,-l)}var p=0,d=1,u=0;for(this[r]=t&255;++p<o&&(d*=256);)t<0&&u===0&&this[r+p-1]!==0&&(u=1),this[r+p]=(t/d>>0)-u&255;return r+o};m.prototype.writeIntBE=function(t,r,o,i){if(t=+t,r=r>>>0,!i){var l=Math.pow(2,8*o-1);ne(this,t,r,o,l-1,-l)}var p=o-1,d=1,u=0;for(this[r+p]=t&255;--p>=0&&(d*=256);)t<0&&u===0&&this[r+p+1]!==0&&(u=1),this[r+p]=(t/d>>0)-u&255;return r+o};m.prototype.writeInt8=function(t,r,o){return t=+t,r=r>>>0,o||ne(this,t,r,1,127,-128),t<0&&(t=255+t+1),this[r]=t&255,r+1};m.prototype.writeInt16LE=function(t,r,o){return t=+t,r=r>>>0,o||ne(this,t,r,2,32767,-32768),this[r]=t&255,this[r+1]=t>>>8,r+2};m.prototype.writeInt16BE=function(t,r,o){return t=+t,r=r>>>0,o||ne(this,t,r,2,32767,-32768),this[r]=t>>>8,this[r+1]=t&255,r+2};m.prototype.writeInt32LE=function(t,r,o){return t=+t,r=r>>>0,o||ne(this,t,r,4,2147483647,-2147483648),this[r]=t&255,this[r+1]=t>>>8,this[r+2]=t>>>16,this[r+3]=t>>>24,r+4};m.prototype.writeInt32BE=function(t,r,o){return t=+t,r=r>>>0,o||ne(this,t,r,4,2147483647,-2147483648),t<0&&(t=4294967295+t+1),this[r]=t>>>24,this[r+1]=t>>>16,this[r+2]=t>>>8,this[r+3]=t&255,r+4};function ai(e,t,r,o,i,l){if(r+o>e.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function ci(e,t,r,o,i){return t=+t,r=r>>>0,i||ai(e,t,r,4,34028234663852886e22,-34028234663852886e22),At.write(e,t,r,o,23,4),r+4}m.prototype.writeFloatLE=function(t,r,o){return ci(this,t,r,!0,o)};m.prototype.writeFloatBE=function(t,r,o){return ci(this,t,r,!1,o)};function li(e,t,r,o,i){return t=+t,r=r>>>0,i||ai(e,t,r,8,17976931348623157e292,-17976931348623157e292),At.write(e,t,r,o,52,8),r+8}m.prototype.writeDoubleLE=function(t,r,o){return li(this,t,r,!0,o)};m.prototype.writeDoubleBE=function(t,r,o){return li(this,t,r,!1,o)};m.prototype.copy=function(t,r,o,i){if(!m.isBuffer(t))throw new TypeError("argument should be a Buffer");if(o||(o=0),!i&&i!==0&&(i=this.length),r>=t.length&&(r=t.length),r||(r=0),i>0&&i<o&&(i=o),i===o||t.length===0||this.length===0)return 0;if(r<0)throw new RangeError("targetStart out of bounds");if(o<0||o>=this.length)throw new RangeError("Index out of range");if(i<0)throw new RangeError("sourceEnd out of bounds");i>this.length&&(i=this.length),t.length-r<i-o&&(i=t.length-r+o);var l=i-o;return this===t&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(r,o,i):Uint8Array.prototype.set.call(t,this.subarray(o,i),r),l};m.prototype.fill=function(t,r,o,i){if(typeof t=="string"){if(typeof r=="string"?(i=r,r=0,o=this.length):typeof o=="string"&&(i=o,o=this.length),i!==void 0&&typeof i!="string")throw new TypeError("encoding must be a string");if(typeof i=="string"&&!m.isEncoding(i))throw new TypeError("Unknown encoding: "+i);if(t.length===1){var l=t.charCodeAt(0);(i==="utf8"&&l<128||i==="latin1")&&(t=l)}}else typeof t=="number"?t=t&255:typeof t=="boolean"&&(t=Number(t));if(r<0||this.length<r||this.length<o)throw new RangeError("Out of range index");if(o<=r)return this;r=r>>>0,o=o===void 0?this.length:o>>>0,t||(t=0);var p;if(typeof t=="number")for(p=r;p<o;++p)this[p]=t;else{var d=m.isBuffer(t)?t:m.from(t,i),u=d.length;if(u===0)throw new TypeError('The value "'+t+'" is invalid for argument "value"');for(p=0;p<o-r;++p)this[p+r]=d[p%u]}return this};var Ol=/[^+/0-9A-Za-z-_]/g;function _l(e){if(e=e.split("=")[0],e=e.trim().replace(Ol,""),e.length<2)return"";for(;e.length%4!==0;)e=e+"=";return e}function Pn(e,t){t=t||1/0;for(var r,o=e.length,i=null,l=[],p=0;p<o;++p){if(r=e.charCodeAt(p),r>55295&&r<57344){if(!i){if(r>56319){(t-=3)>-1&&l.push(239,191,189);continue}else if(p+1===o){(t-=3)>-1&&l.push(239,191,189);continue}i=r;continue}if(r<56320){(t-=3)>-1&&l.push(239,191,189),i=r;continue}r=(i-55296<<10|r-56320)+65536}else i&&(t-=3)>-1&&l.push(239,191,189);if(i=null,r<128){if((t-=1)<0)break;l.push(r)}else if(r<2048){if((t-=2)<0)break;l.push(r>>6|192,r&63|128)}else if(r<65536){if((t-=3)<0)break;l.push(r>>12|224,r>>6&63|128,r&63|128)}else if(r<1114112){if((t-=4)<0)break;l.push(r>>18|240,r>>12&63|128,r>>6&63|128,r&63|128)}else throw new Error("Invalid code point")}return l}function Fl(e){for(var t=[],r=0;r<e.length;++r)t.push(e.charCodeAt(r)&255);return t}function Ul(e,t){for(var r,o,i,l=[],p=0;p<e.length&&!((t-=2)<0);++p)r=e.charCodeAt(p),o=r>>8,i=r%256,l.push(i),l.push(o);return l}function pi(e){return Ln.toByteArray(_l(e))}function wr(e,t,r,o){for(var i=0;i<o&&!(i+r>=t.length||i>=e.length);++i)t[i+r]=e[i];return i}function Se(e,t){return e instanceof t||e!=null&&e.constructor!=null&&e.constructor.name!=null&&e.constructor.name===t.name}function Nn(e){return e!==e}var Bl=function(){for(var e="0123456789abcdef",t=new Array(256),r=0;r<16;++r)for(var o=r*16,i=0;i<16;++i)t[o+i]=e[r]+e[i];return t}()});var Ti=hr(($d,fi)=>{n();var U=fi.exports={},xe,we;function Dn(){throw new Error("setTimeout has not been defined")}function Mn(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?xe=setTimeout:xe=Dn}catch(e){xe=Dn}try{typeof clearTimeout=="function"?we=clearTimeout:we=Mn}catch(e){we=Mn}})();function di(e){if(xe===setTimeout)return setTimeout(e,0);if((xe===Dn||!xe)&&setTimeout)return xe=setTimeout,setTimeout(e,0);try{return xe(e,0)}catch(t){try{return xe.call(null,e,0)}catch(r){return xe.call(this,e,0)}}}function Wl(e){if(we===clearTimeout)return clearTimeout(e);if((we===Mn||!we)&&clearTimeout)return we=clearTimeout,clearTimeout(e);try{return we(e)}catch(t){try{return we.call(null,e)}catch(r){return we.call(this,e)}}}var Ee=[],bt=!1,st,vr=-1;function Gl(){!bt||!st||(bt=!1,st.length?Ee=st.concat(Ee):vr=-1,Ee.length&&mi())}function mi(){if(!bt){var e=di(Gl);bt=!0;for(var t=Ee.length;t;){for(st=Ee,Ee=[];++vr<t;)st&&st[vr].run();vr=-1,t=Ee.length}st=null,bt=!1,Wl(e)}}U.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)t[r-1]=arguments[r];Ee.push(new gi(e,t)),Ee.length===1&&!bt&&di(mi)};function gi(e,t){this.fun=e,this.array=t}gi.prototype.run=function(){this.fun.apply(null,this.array)};U.title="browser";U.browser=!0;U.env={};U.argv=[];U.version="";U.versions={};function Pe(){}U.on=Pe;U.addListener=Pe;U.once=Pe;U.off=Pe;U.removeListener=Pe;U.removeAllListeners=Pe;U.emit=Pe;U.prependListener=Pe;U.prependOnceListener=Pe;U.listeners=function(e){return[]};U.binding=function(e){throw new Error("process.binding is not supported")};U.cwd=function(){return"/"};U.chdir=function(e){throw new Error("process.chdir is not supported")};U.umask=function(){return 0}});var s,a,Vd,n=v(()=>{s=A(ui()),a=A(Ti()),Vd=function(e){function t(){var o=this||self;return delete e.prototype.__magic__,o}if(typeof globalThis=="object")return globalThis;if(this)return t();e.defineProperty(e.prototype,"__magic__",{configurable:!0,get:t});var r=__magic__;return r}(Object)});var at=v(()=>{"use strict";n()});var yi=v(()=>{"use strict";n()});var hi=v(()=>{"use strict";n()});var Si=v(()=>{"use strict";n()});var M=v(()=>{"use strict";n()});var xi=v(()=>{"use strict";n()});var wi=v(()=>{"use strict";n()});var X=v(()=>{"use strict";n()});var vi=v(()=>{"use strict";n()});var Ai=v(()=>{"use strict";n()});var V=v(()=>{"use strict";n();yi();hi();Si();M();xi();wi();X();vi();Ai()});var ct,Ii,cm,bi,lm,Li,pm,um,$l,Lt=v(()=>{"use strict";n();V();ct={devnet:{id:"devnet",chainId:"D",name:"Devnet",egldLabel:"xEGLD",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"https://maiar.page.link/?apn=com.elrond.maiar.wallet&isi=1519405832&ibi=com.elrond.maiar.wallet&link=https://xportal.com/",walletConnectBridgeAddresses:["https://bridge.walletconnect.org"],walletConnectV2RelayAddresses:["wss://relay.walletconnect.com"],walletAddress:"https://devnet-wallet.multiversx.com",apiAddress:"https://devnet-api.multiversx.com",explorerAddress:"http://devnet-explorer.multiversx.com",apiTimeout:"4000"},testnet:{id:"testnet",chainId:"T",name:"Testnet",egldLabel:"xEGLD",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"https://maiar.page.link/?apn=com.elrond.maiar.wallet&isi=1519405832&ibi=com.elrond.maiar.wallet&link=https://xportal.com/",walletConnectBridgeAddresses:["https://bridge.walletconnect.org"],walletConnectV2RelayAddresses:["wss://relay.walletconnect.com"],walletAddress:"https://testnet-wallet.multiversx.com",apiAddress:"https://testnet-api.multiversx.com",explorerAddress:"http://testnet-explorer.multiversx.com",apiTimeout:"4000"},mainnet:{id:"mainnet",chainId:"1",name:"Mainnet",egldLabel:"EGLD",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"https://maiar.page.link/?apn=com.elrond.maiar.wallet&isi=1519405832&ibi=com.elrond.maiar.wallet&link=https://xportal.com/",walletConnectBridgeAddresses:["https://bridge.walletconnect.org"],walletConnectV2RelayAddresses:["wss://relay.walletconnect.com"],walletAddress:"https://wallet.multiversx.com",apiAddress:"https://api.multiversx.com",explorerAddress:"https://explorer.multiversx.com",apiTimeout:"4000"}},{chainId:Ii,egldLabel:cm}=ct["devnet"],{chainId:bi,egldLabel:lm}=ct["testnet"],{chainId:Li,egldLabel:pm}=ct["mainnet"],um={["devnet"]:Ii,["testnet"]:bi,["mainnet"]:Li},$l={[Ii]:"devnet",[bi]:"testnet",[Li]:"mainnet"}});var On=v(()=>{"use strict";n()});var ki=v(()=>{"use strict";n()});var Ar,_n=v(()=>{"use strict";n();Ar="transaction-status-toast-id"});var ve,Ei=v(()=>{"use strict";n();ve=require("@multiversx/sdk-web-wallet-provider")});var Qt,Ir,Pi,Ci,br,Ri,kt,R=v(()=>{"use strict";n();at();Lt();On();ki();_n();Ei();Qt=5e4,Ir=1e9,Pi=1,Ci=1,br="logout",Ri="login",kt="0"});var Et,Lr=v(()=>{"use strict";n();Et=()=>Date.now()/1e3});var Ni=v(()=>{"use strict";n()});var Di=v(()=>{"use strict";n()});var Fn=v(()=>{"use strict";n();Lr();Ni();Di()});var Bn={};nt(Bn,{getItem:()=>Hl,localStorageKeys:()=>ae,removeItem:()=>zl,setItem:()=>Vl});var ae,Un,Vl,Hl,zl,lt=v(()=>{"use strict";n();Fn();ae={loginExpiresAt:"sdk-dapp-login-expires-at",logoutEvent:"sdk-dapp-logout-event"},Un=typeof localStorage!="undefined",Vl=({key:e,data:t,expires:r})=>{!Un||localStorage.setItem(String(e),JSON.stringify({expires:r,data:t}))},Hl=e=>{if(!Un)return;let t=localStorage.getItem(String(e));if(!t)return null;let r=JSON.parse(t);return!r||!r.hasOwnProperty("expires")||!r.hasOwnProperty("data")?null:Et()>=r.expires?(localStorage.removeItem(String(e)),null):r.data},zl=e=>{!Un||localStorage.removeItem(String(e))}});var Wn={};nt(Wn,{clear:()=>Fi,getItem:()=>Oi,removeItem:()=>_i,setItem:()=>Mi,storage:()=>jl});var Mi,Oi,_i,Fi,jl,Ui=v(()=>{"use strict";n();Mi=({key:e,data:t,expires:r})=>{sessionStorage.setItem(String(e),JSON.stringify({expires:r,data:t}))},Oi=e=>{let t=sessionStorage.getItem(String(e));if(!t)return null;let r=JSON.parse(t);return!r||!r.hasOwnProperty("expires")||!r.hasOwnProperty("data")?null:Date.now()>=r.expires?(sessionStorage.removeItem(String(e)),null):r.data},_i=e=>sessionStorage.removeItem(String(e)),Fi=()=>sessionStorage.clear(),jl={setItem:Mi,getItem:Oi,removeItem:_i,clear:Fi}});var Ae,Pt=v(()=>{"use strict";n();lt();Ui();Ae={session:Wn,local:Bn}});var Gn,B,Z,H=v(()=>{"use strict";n();Gn=require("@reduxjs/toolkit");R();B=(0,Gn.createAction)(br),Z=(0,Gn.createAction)(Ri,e=>({payload:e}))});var Vn,Bi,Wi,kr,$n,Gi,pt,Gm,Er,$m,Hn,ql,Vm,Ct,$i,Vi,Pr,Cr=v(()=>{"use strict";n();Vn=require("@multiversx/sdk-core"),Bi=require("@reduxjs/toolkit"),Wi=require("redux-persist");R();Pt();lt();H();kr={balance:"...",address:"",nonce:0,txCount:0,scrCount:0,claimableRewards:kt},$n={address:"",websocketEvent:null,accounts:{"":kr},ledgerAccount:null,publicKey:"",walletConnectAccount:null,isAccountLoading:!0,accountLoadingError:null},Gi=(0,Bi.createSlice)({name:"accountInfoSlice",initialState:$n,reducers:{setAddress:(e,t)=>{let r=t.payload;e.address=r,e.publicKey=new Vn.Address(r).hex()},setAccount:(e,t)=>{let r=e.address===t.payload.address;e.accounts={[e.address]:r?t.payload:kr},e.shard=t.payload.shard,e.isAccountLoading=!1,e.accountLoadingError=null},setAccountNonce:(e,t)=>{let{address:r}=e;e.accounts[r].nonce=t.payload},setAccountShard:(e,t)=>{e.shard=t.payload},setLedgerAccount:(e,t)=>{e.ledgerAccount=t.payload},updateLedgerAccount:(e,t)=>{e.ledgerAccount!=null&&(e.ledgerAccount.index=t.payload.index,e.ledgerAccount.address=t.payload.address)},setWalletConnectAccount:(e,t)=>{e.walletConnectAccount=t.payload},setIsAccountLoading:(e,t)=>{e.isAccountLoading=t.payload,e.accountLoadingError=null},setAccountLoadingError:(e,t)=>{e.accountLoadingError=t.payload,e.isAccountLoading=!1},setWebsocketEvent:(e,t)=>{e.websocketEvent={timestamp:Date.now(),message:t.payload}}},extraReducers:e=>{e.addCase(B,()=>(Ae.local.removeItem(ae.loginExpiresAt),$n)),e.addCase(Z,(t,r)=>{let{address:o}=r.payload;t.address=o,t.publicKey=new Vn.Address(o).hex()}),e.addCase(Wi.REHYDRATE,(t,r)=>{var g;if(!((g=r.payload)!=null&&g.account))return;let{account:o}=r.payload,{address:i,shard:l,accounts:p,publicKey:d}=o;t.address=i,t.shard=l;let u=p&&i in p;t.accounts=u?p:$n.accounts,t.publicKey=d})}}),{setAccount:pt,setAddress:Gm,setAccountNonce:Er,setAccountShard:$m,setLedgerAccount:Hn,updateLedgerAccount:ql,setWalletConnectAccount:Vm,setIsAccountLoading:Ct,setAccountLoadingError:$i,setWebsocketEvent:Vi}=Gi.actions,Pr=Gi.reducer});function er(){return new Date().setHours(new Date().getHours()+24)}function tr(e){Ae.local.setItem({key:ae.loginExpiresAt,data:e,expires:e})}var zn=v(()=>{"use strict";n();Pt();lt()});var zi,Hi,ji,Qm,Rr,Kl,He,eg,Nr,qi,Ki,Dr,rr=v(()=>{"use strict";n();zi=require("@reduxjs/toolkit");zn();M();H();Hi={loginMethod:"",walletConnectLogin:null,ledgerLogin:null,tokenLogin:null,walletLogin:null,extensionLogin:null,operaLogin:null,isLoginSessionInvalid:!1},ji=(0,zi.createSlice)({name:"loginInfoSlice",initialState:Hi,reducers:{setLoginMethod:(e,t)=>{e.loginMethod=t.payload},setTokenLogin:(e,t)=>{e.tokenLogin=t.payload},setTokenLoginSignature:(e,t)=>{(e==null?void 0:e.tokenLogin)!=null&&(e.tokenLogin.signature=t.payload)},setWalletLogin:(e,t)=>{e.walletLogin=t.payload},setWalletConnectLogin:(e,t)=>{e.walletConnectLogin=t.payload},setLedgerLogin:(e,t)=>{e.ledgerLogin=t.payload},invalidateLoginSession:e=>{e.isLoginSessionInvalid=!0},setLogoutRoute:(e,t)=>{e.logoutRoute=t.payload}},extraReducers:e=>{e.addCase(B,()=>Hi),e.addCase(Z,(t,r)=>{t.loginMethod=r.payload.loginMethod,tr(er())})}}),{setLoginMethod:Qm,setWalletConnectLogin:Rr,setLedgerLogin:Kl,setTokenLogin:He,setTokenLoginSignature:eg,setWalletLogin:Nr,invalidateLoginSession:qi,setLogoutRoute:Ki}=ji.actions,Dr=ji.reducer});var Yi,Ji,Zi,Xi,Jl,og,Yl,Mr,Or=v(()=>{"use strict";n();Yi=require("@reduxjs/toolkit");H();Ji={},Zi=(0,Yi.createSlice)({name:"modalsSlice",initialState:Ji,reducers:{setTxSubmittedModal:(e,t)=>{e.txSubmittedModal=t.payload},setNotificationModal:(e,t)=>{e.notificationModal=t.payload},clearTxSubmittedModal:e=>{e.txSubmittedModal=void 0},clearNotificationModal:e=>{e.notificationModal=void 0}},extraReducers:e=>{e.addCase(B,()=>Ji)}}),{setTxSubmittedModal:Xi,setNotificationModal:Jl,clearTxSubmittedModal:og,clearNotificationModal:Yl}=Zi.actions,Mr=Zi.reducer});var Qi,es,Ce,ut=v(()=>{"use strict";n();Qi=!1,es=(e=!0)=>{Qi=e},Ce=(e,t=0)=>{Qi||setTimeout(()=>{window.location.href=e,window.location.assign(e)},t)}});function dt({callbackRoute:e,onLoginRedirect:t,options:r}){let o=Boolean(e),i=typeof t=="function",l=i?0:Zl;o&&e!=null&&setTimeout(()=>{if(i)return t(e,r);window.location.pathname.includes(e)||Ce(e)},l)}var Zl,ts=v(()=>{"use strict";n();ut();Zl=200});function jn(e){return e[Math.floor(Math.random()*e.length)]}var rs=v(()=>{"use strict";n()});var qn=v(()=>{"use strict";n();On()});var mt=v(()=>{"use strict";n();ts();rs();qn()});var ns,os,Kn,Xl,is,Jn,ss,_r,nr=v(()=>{"use strict";n();ns=require("@reduxjs/toolkit"),os=A(require("lodash.omit"));mt();Kn={id:"not-configured",chainId:"",name:"NOT CONFIGURED",egldLabel:"",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"",walletConnectBridgeAddress:"",walletConnectV2RelayAddress:"",walletConnectV2ProjectId:"",walletConnectV2Options:{},walletAddress:"",apiAddress:"",explorerAddress:"",apiTimeout:"4000"},Xl={network:Kn,chainID:"-1"},is=(0,ns.createSlice)({name:"appConfig",initialState:Xl,reducers:{initializeNetworkConfig:(e,t)=>{let r=jn(t.payload.walletConnectBridgeAddresses),o=jn(t.payload.walletConnectV2RelayAddresses),i=(0,os.default)(t.payload,"walletConnectBridgeAddresses","walletConnectV2RelayAddresses");e.network=L(y(y({},e.network),i),{walletConnectBridgeAddress:r,walletConnectV2RelayAddress:o})},setChainID:(e,t)=>{e.chainID=t.payload}}}),{initializeNetworkConfig:Jn,setChainID:ss}=is.actions,_r=is.reducer});var as,Yn,cs,Ig,bg,Lg,Fr,Ur=v(()=>{"use strict";n();as=require("@reduxjs/toolkit");V();H();Yn={isSigning:!1,signedSessions:{}},cs=(0,as.createSlice)({name:"signedMessageInfoSliceState",initialState:Yn,reducers:{setSignSession:(e,t)=>{let{sessionId:r,signedSession:o,errorMessage:i}=t.payload;return L(y({},e),{errorMessage:i!=null?i:e.errorMessage,isSigning:o.status==="pending",signedSessions:L(y({},e.signedSessions),{[r]:o})})},setSignSessionState:(e,t)=>y(y({},e),t.payload),clearSignedMessageInfo:()=>Yn},extraReducers:e=>{e.addCase(B,()=>Yn)}}),{setSignSession:Ig,clearSignedMessageInfo:bg,setSignSessionState:Lg}=cs.actions,Fr=cs.reducer});var ps,us,ls,ds,Zn,Xn,Mg,Og,_g,Fg,Br,Wr=v(()=>{"use strict";n();ps=require("@reduxjs/toolkit"),us=require("redux-persist");_n();V();Lr();H();ls={customToasts:[],transactionToasts:[],failTransactionToast:null},ds=(0,ps.createSlice)({name:"toastsSlice",initialState:ls,reducers:{addCustomToast:(e,t)=>{e.customToasts.push(L(y({},t.payload),{type:"custom",toastId:t.payload.toastId||`custom-toast-${e.customToasts.length+1}`}))},removeCustomToast:(e,t)=>{e.customToasts=e.customToasts.filter(r=>r.toastId!==t.payload)},addTransactionToast:(e,t)=>{e.transactionToasts.push({type:"transaction",startTimestamp:Et(),toastId:t.payload||`custom-toast-${e.transactionToasts.length+1}`})},removeTransactionToast:(e,t)=>{e.transactionToasts=e.transactionToasts.filter(r=>r.toastId!==t.payload)},addFailTransactionToast:(e,t)=>{e.failTransactionToast=L(y({},t.payload),{toastId:Ar})},removeFailTransactionToast:e=>{e.failTransactionToast=null}},extraReducers:e=>{e.addCase(B,()=>ls),e.addCase(us.REHYDRATE,(t,r)=>{var i,l;let o=(l=(i=r.customToasts)==null?void 0:i.filter(p=>!("component"in p)))!=null?l:[];t.customToasts=o})}}),{addCustomToast:Zn,removeCustomToast:Xn,addTransactionToast:Mg,removeTransactionToast:Og,addFailTransactionToast:_g,removeFailTransactionToast:Fg}=ds.actions,Br=ds.reducer});var ms,eo,to,ro,Ql,Qn,gs,Gg,ep,no,Gr,$r=v(()=>{"use strict";n();ms=require("@reduxjs/toolkit");H();eo="Transaction failed",to="Transaction successful",ro="Processing transaction",Ql="Transaction submitted",Qn={},gs=(0,ms.createSlice)({name:"transactionsInfo",initialState:Qn,reducers:{setTransactionsDisplayInfo(e,t){let{sessionId:r,transactionsDisplayInfo:o}=t.payload;r!=null&&(e[r]={errorMessage:(o==null?void 0:o.errorMessage)||eo,successMessage:(o==null?void 0:o.successMessage)||to,processingMessage:(o==null?void 0:o.processingMessage)||ro,submittedMessage:(o==null?void 0:o.submittedMessage)||Ql,transactionDuration:o==null?void 0:o.transactionDuration})},clearTransactionsInfoForSessionId(e,t){t.payload!=null&&delete e[t.payload]},clearTransactionsInfo:()=>Qn},extraReducers:e=>{e.addCase(B,()=>Qn)}}),{clearTransactionsInfo:Gg,setTransactionsDisplayInfo:ep,clearTransactionsInfoForSessionId:no}=gs.actions,Gr=gs.reducer});function Re(e){return e!=null&&(cp(e)||dp(e))}function gt(e){return e!=null&&(lp(e)||mp(e))}function ft(e){return e!=null&&(pp(e)||gp(e))}function oo(e){return e!=null&&up(e)}function cp(e){return e!=null&&tp.includes(e)}function lp(e){return e!=null&&rp.includes(e)}function pp(e){return e!=null&&np.includes(e)}function up(e){return e!=null&&op.includes(e)}function dp(e){return e!=null&&ip.includes(e)}function mp(e){return e!=null&&sp.includes(e)}function gp(e){return e!=null&&ap.includes(e)}var tp,rp,np,op,ip,sp,ap,Nt=v(()=>{"use strict";n();M();tp=["sent"],rp=["success"],np=["fail","cancelled","timedOut"],op=["timedOut"],ip=["pending"],sp=["success"],ap=["fail","invalid"]});var fs,Ts,or,fp,ys,ir,Tt,Tp,Dt,yp,hp,Yg,Sp,Vr,io,Hr,zr=v(()=>{"use strict";n();fs=require("@reduxjs/toolkit"),Ts=require("redux-persist");M();Nt();H();or={signedTransactions:{},transactionsToSign:null,signTransactionsError:null,signTransactionsCancelMessage:null,customTransactionInformationForSessionId:{}},fp={signWithoutSending:!1,sessionInformation:null,redirectAfterSign:!1},ys=(0,fs.createSlice)({name:"transactionsSlice",initialState:or,reducers:{moveTransactionsToSignedState:(e,t)=>{var u,g;let{sessionId:r,transactions:o,errorMessage:i,status:l,redirectRoute:p}=t.payload,d=((u=e.customTransactionInformationForSessionId)==null?void 0:u[r])||fp;e.signedTransactions[r]={transactions:o,status:l,errorMessage:i,redirectRoute:p,customTransactionInformation:d},((g=e==null?void 0:e.transactionsToSign)==null?void 0:g.sessionId)===r&&(e.transactionsToSign=or.transactionsToSign)},clearSignedTransaction:(e,t)=>{e.signedTransactions[t.payload]&&delete e.signedTransactions[t.payload]},clearTransactionToSign:e=>{e!=null&&e.transactionsToSign&&(e.transactionsToSign=null)},updateSignedTransaction:(e,t)=>{e.signedTransactions=y(y({},e.signedTransactions),t.payload)},updateSignedTransactions:(e,t)=>{let{sessionId:r,status:o,errorMessage:i,transactions:l}=t.payload;e.signedTransactions[r]!=null&&(e.signedTransactions[r].status=o,i!=null&&(e.signedTransactions[r].errorMessage=i),l!=null&&(e.signedTransactions[r].transactions=l))},updateSignedTransactionStatus:(e,t)=>{var d,u,g,T,h,I;let{sessionId:r,status:o,errorMessage:i,transactionHash:l}=t.payload,p=(u=(d=e.signedTransactions)==null?void 0:d[r])==null?void 0:u.transactions;if(p!=null){e.signedTransactions[r].transactions=p.map(b=>b.hash===l?L(y({},b),{status:o,errorMessage:i}):b);let C=(T=(g=e.signedTransactions[r])==null?void 0:g.transactions)==null?void 0:T.every(b=>gt(b.status)),k=(I=(h=e.signedTransactions[r])==null?void 0:h.transactions)==null?void 0:I.every(b=>ft(b.status));C&&(e.signedTransactions[r].status="success"),k&&(e.signedTransactions[r].status="fail")}},setTransactionsToSign:(e,t)=>{e.transactionsToSign=t.payload;let{sessionId:r,customTransactionInformation:o}=t.payload;e.customTransactionInformationForSessionId[r]=o,e.signTransactionsError=null},clearAllTransactionsToSign:e=>{e.transactionsToSign=or.transactionsToSign,e.signTransactionsError=null},clearAllSignedTransactions:e=>{e.signedTransactions=or.signedTransactions},setSignTransactionsError:(e,t)=>{e.signTransactionsError=t.payload},setSignTransactionsCancelMessage:(e,t)=>{e.signTransactionsCancelMessage=t.payload}},extraReducers:e=>{e.addCase(B,()=>or),e.addCase(Ts.REHYDRATE,(t,r)=>{var p;if(t.signTransactionsCancelMessage=null,!((p=r.payload)!=null&&p.transactions))return;let{signedTransactions:o,customTransactionInformationForSessionId:i}=r.payload.transactions,l=Object.entries(o).reduce((d,[u,g])=>{let T=new Date(u),h=new Date;return h.setHours(h.getHours()+5),h-T>0||(d[u]=g),d},{});i!=null&&(t.customTransactionInformationForSessionId=i),o!=null&&(t.signedTransactions=l)})}}),{updateSignedTransactionStatus:ir,updateSignedTransactions:Tt,setTransactionsToSign:Tp,clearAllTransactionsToSign:Dt,clearAllSignedTransactions:yp,clearSignedTransaction:hp,clearTransactionToSign:Yg,setSignTransactionsError:Sp,setSignTransactionsCancelMessage:Vr,moveTransactionsToSignedState:io}=ys.actions,Hr=ys.reducer});var P=v(()=>{"use strict";n();Cr();rr();Or();nr();Ur();Wr();$r();zr()});var so=v(()=>{"use strict";n()});var vs,ws,As,wf,vf,Af,If,bf,Lf,Is,bs=v(()=>{"use strict";n();vs=require("@reduxjs/toolkit");H();ws={visible:!1,modal:{showHeader:!0,showFooter:!1,headerText:"",footerText:""}},As=(0,vs.createSlice)({name:"dappModalsSlice",initialState:ws,reducers:{setDappModalVisibility:(e,t)=>{e.visible=t.payload},setDappModalHeaderVisibility:(e,t)=>{e.modal.showHeader=t.payload},setDappModalFooterVisibility:(e,t)=>{e.modal.showFooter=t.payload},setDappModalHeaderText:(e,t)=>{e.modal.headerText=t.payload},setDappModalFooterText:(e,t)=>{e.modal.footerText=t.payload},setDappModalConfig:(e,t)=>{e.modal=y({},t.payload)}},extraReducers:e=>{e.addCase(B,()=>ws)}}),{setDappModalVisibility:wf,setDappModalHeaderVisibility:vf,setDappModalFooterVisibility:Af,setDappModalHeaderText:If,setDappModalFooterText:bf,setDappModalConfig:Lf}=As.actions,Is=As.reducer});var Ls,Ap,Ip,yt,Jr=v(()=>{"use strict";n();Ls=require("@reduxjs/toolkit");so();Cr();bs();rr();Or();nr();Ur();Wr();$r();zr();Ap={["account"]:Pr,["dappModal"]:Is,["loginInfo"]:Dr,["modals"]:Mr,["networkConfig"]:_r,["signedMessageInfo"]:Fr,["toasts"]:Br,["transactionsInfo"]:Gr,["transactions"]:Hr},Ip=(e={})=>(0,Ls.combineReducers)(y(y({},Ap),e)),yt=Ip});var Cs={};nt(Cs,{default:()=>Bp,sessionStorageReducers:()=>ao});function je(e,t=[]){return{key:e,version:1,storage:Es.default,blacklist:t}}var ce,ks,Es,bp,sr,Lp,kp,Ep,Pp,Cp,Rp,Np,Dp,Mp,Ps,Op,ao,_p,Fp,Up,Bp,Rs=v(()=>{"use strict";n();ce=require("redux-persist"),ks=A(require("redux-persist/lib/storage")),Es=A(require("redux-persist/lib/storage/session"));Jr();P();Cr();rr();Or();nr();Ur();Wr();$r();zr();so();bp={persistReducersStorageType:"localStorage"},sr={["account"]:"sdk-dapp-account",["loginInfo"]:"sdk-dapp-login-info",["modals"]:"sdk-dapp-modals",["networkConfig"]:"sdk-dapp-network-config"},Lp=je(sr["account"]),kp=je(sr["loginInfo"]),Ep=je(sr["modals"]),Pp=je(sr["networkConfig"]),Cp={2:e=>L(y({},e),{networkConfig:Kn})};Rp=je("sdk-dapp-transactionsInfo"),Np=je("sdk-dapp-transactions",["transactionsToSign"]),Dp=je("sdk-dapp-toasts"),Mp=je("sdk-dapp-signedMessageInfo"),Ps={key:"sdk-dapp-store",version:2,storage:ks.default,whitelist:Object.keys(sr),migrate:(0,ce.createMigrate)(Cp,{debug:!1})},Op=L(y({},Ps),{whitelist:[]}),ao={["toasts"]:(0,ce.persistReducer)(Dp,Br),["transactions"]:(0,ce.persistReducer)(Np,Hr),["transactionsInfo"]:(0,ce.persistReducer)(Rp,Gr),["signedMessageInfo"]:(0,ce.persistReducer)(Mp,Fr)},_p=L(y({},ao),{["account"]:(0,ce.persistReducer)(Lp,Pr),["loginInfo"]:(0,ce.persistReducer)(kp,Dr),["modals"]:(0,ce.persistReducer)(Ep,Mr),["networkConfig"]:(0,ce.persistReducer)(Pp,_r)}),Fp=bp.persistReducersStorageType==="localStorage",Up=Fp?(0,ce.persistReducer)(Ps,yt(ao)):(0,ce.persistReducer)(Op,yt(_p)),Bp=Up});var Ns={};nt(Ns,{default:()=>Wp});var Wp,Ds=v(()=>{"use strict";n();Jr();Wp=yt()});var Ms={};nt(Ms,{default:()=>$p});var de,Gp,$p,Os=v(()=>{"use strict";n();de=require("redux-persist"),Gp=[de.FLUSH,de.REHYDRATE,de.PAUSE,de.PERSIST,de.PURGE,de.REGISTER],$p=Gp});var Us={};nt(Us,{default:()=>Fs});function Fs(e){return(0,_s.persistStore)(e)}var _s,Bs=v(()=>{"use strict";n();_s=require("redux-persist")});var _d={};nt(_d,{AppInitializer:()=>Eo,AuthenticatedRoutesWrapper:()=>Ea,AxiosInterceptor:()=>Ro,AxiosInterceptorContext:()=>zu,AxiosInterceptorContextProvider:()=>Po,DappProvider:()=>Od,LoginInfoListener:()=>Co,useAxiosInterceptorContext:()=>Gt});module.exports=Xt(_d);n();n();var So=A(require("react"));n();var js=require("react"),Ot=require("react-redux");n();var co=require("@reduxjs/toolkit"),Vs=require("react-redux/lib/utils/Subscription");P();n();var Ss=A(require("lodash.throttle"));R();n();var hs=A(require("lodash.isequal")),jr=require("reselect");V();var x=(0,jr.createSelectorCreator)(jr.defaultMemoize,hs.default),Mt=(e,t)=>e!=""&&Boolean(t);P();zn();Pt();lt();var xp=[br],qr=!1,wp=(0,Ss.default)(()=>{tr(er())},5e3),xs=e=>t=>r=>{var u;if(xp.includes(r.type))return t(r);let o=e.getState(),i=Ae.local.getItem(ae.loginExpiresAt);if(!Mt((u=o==null?void 0:o.loginInfo)==null?void 0:u.loginMethod,o==null?void 0:o.account.address))return t(r);if(i==null)return tr(er());let p=Date.now();return i-p<0&&!qr?setTimeout(()=>{qr=!0,e.dispatch(qi())},1e3):(qr&&(qr=!1),wp()),t(r)};n();n();function Kr(){return typeof sessionStorage!="undefined"}var Ws=Kr()?(Rs(),Xt(Cs)).default:(Ds(),Xt(Ns)).default,Gs=Kr()?(Os(),Xt(Ms)).default:[],$s=Kr()?(Bs(),Xt(Us)).default:e=>e;Jr();var w=(0,co.configureStore)({reducer:Ws,middleware:e=>e({serializableCheck:{ignoredActions:[...Gs,Er.type,pt.type],ignoredPaths:["payload.nonce","account.account.nonce","providers.accountProvider"]}}).concat(xs)}),Hs=(0,Vs.createSubscription)(w),zs=$s(w),nT=(0,co.configureStore)({reducer:yt});var Vp={store:w,subscription:Hs},ar=(0,js.createContext)(Vp),aT=(0,Ot.createStoreHook)(ar),N=(0,Ot.createDispatchHook)(ar),S=(0,Ot.createSelectorHook)(ar);n();n();P();var Ne=e=>e.account,De=x(Ne,e=>e.address),qe=x(Ne,De,(e,t)=>t in e.accounts?e.accounts[t]:kr),qs=x(Ne,qe,(e,t)=>{let i=e,{accounts:r}=i,o=rt(i,["accounts"]);return L(y({},o),{account:t})}),Hp=x(qe,e=>e.balance),Ks=x(qe,e=>{var t;return((t=e==null?void 0:e.nonce)==null?void 0:t.valueOf())||0}),uT=x(Ne,e=>e.shard),lo=x(Ne,e=>e.ledgerAccount),dT=x(Ne,e=>e.walletConnectAccount),Js=x(Ne,e=>e.isAccountLoading),mT=x(Ne,e=>e.accountLoadingError),po=x(Ne,e=>e.websocketEvent);n();var K=e=>e.loginInfo,Ys=x(K,e=>e.loginMethod),Me=x(K,De,(e,t)=>Mt(e.loginMethod,t)),Zs=x(K,e=>e.walletConnectLogin),Xs=x(K,e=>e.ledgerLogin),_t=x(K,e=>e.walletLogin),Qs=x(K,e=>e.isLoginSessionInvalid),Yr=x(K,e=>e.tokenLogin),Ft=x(K,e=>e.logoutRoute);n();var ea=e=>e.modals,ST=x(ea,e=>e.txSubmittedModal),zp=x(ea,e=>e.notificationModal);n();var Ie=e=>e.networkConfig,cr=x(Ie,e=>e.chainID),ta=x(Ie,e=>e.network.walletConnectBridgeAddress),ra=x(Ie,e=>e.network.walletConnectV2RelayAddress),na=x(Ie,e=>e.network.walletConnectV2ProjectId),oa=x(Ie,e=>e.network.walletConnectV2Options),Zr=x(Ie,e=>e.network.walletConnectDeepLink),me=x(Ie,e=>e.network),Xr=x(me,e=>e.apiAddress),ia=x(me,e=>e.explorerAddress),sa=x(me,e=>e.egldLabel);n();var uo=e=>e.signedMessageInfo,IT=x(uo,e=>e.isSigning),bT=x(uo,e=>e.errorMessage),LT=x(uo,e=>{let t=Object.keys(e.signedSessions),r=t.length;return e.signedSessions[t[r-1]]});n();var mo=e=>e.toasts,PT=x(mo,e=>e.customToasts),CT=x(mo,e=>e.transactionToasts),RT=x(mo,e=>e.failTransactionToast);n();P();var aa={errorMessage:eo,successMessage:to,processingMessage:ro},jp=e=>e.transactionsInfo,qp=x(jp,(e,t)=>t,(e,t)=>t!=null&&(e==null?void 0:e[Number(t)])||aa);n();n();var le=require("@multiversx/sdk-core");R();n();function go(e){try{return s.Buffer.from(e,"base64").toString()===atob(e)}catch(t){return!1}}function Ut(e){return atob(e)}function Bt(e){var i,l,p;let{data:t}=e,r=go(t!=null?t:"")?le.TransactionPayload.fromEncoded(t):new le.TransactionPayload(t),o=new le.Transaction(y({value:e.value.valueOf(),data:r,nonce:e.nonce.valueOf(),receiver:new le.Address(e.receiver),sender:new le.Address(e.sender),gasLimit:(i=e.gasLimit.valueOf())!=null?i:Qt,gasPrice:(l=e.gasPrice.valueOf())!=null?l:Ir,chainID:e.chainID.valueOf(),version:new le.TransactionVersion((p=e.version)!=null?p:Pi)},e.options?{options:new le.TransactionOptions(e.options)}:{}));return o.applySignature({hex:()=>e.signature||""},new le.Address(e.sender)),o}n();Nt();n();var Jp=A(require("bignumber.js"));V();n();n();n();n();var Zp=require("@multiversx/sdk-core"),Xp=A(require("bignumber.js"));M();n();var pa=require("@multiversx/sdk-core");function Yp(e){try{let t=new pa.Address(e);return Boolean(t.bech32())}catch(t){return!1}}function lr(e){return(e==null?void 0:e.startsWith("erd"))&&e.length===62&&/^\w+$/.test(e)&&Yp(e)}n();n();n();var eu=require("@multiversx/sdk-core/out");n();R();n();var ua=require("@multiversx/sdk-core");V();n();n();n();n();M();n();n();n();n();n();n();n();var da="dapp/config",ma="network/config";var Qr="accounts";var fo="blocks";n();n();n();n();X();n();n();X();n();n();n();var cu=A(require("bignumber.js"));R();n();var au=require("@multiversx/sdk-core"),To=A(require("bignumber.js"));R();n();var iu=A(require("bignumber.js"));n();To.default.config({ROUNDING_MODE:To.default.ROUND_FLOOR});n();n();n();R();n();n();n();n();R();n();R();n();var lu=require("@multiversx/sdk-core");R();n();var pr=require("@multiversx/sdk-core"),du=require("@multiversx/sdk-network-providers");R();n();n();var pu=A(require("bignumber.js"));R();n();R();n();n();n();n();n();R();n();X();var gu=["reDelegateRewards","claimRewards","unBond"],fu=["wrapEgld","unwrapEgld"],Tu=["unStake"],yu=["unDelegate"];n();n();n();R();n();var wu=A(require("bignumber.js"));n();n();n();X();n();var vu=A(require("bignumber.js"));n();n();n();n();X();n();n();n();var bu=A(require("linkifyjs"));n();R();n();var Lu=A(require("bignumber.js"));n();V();n();n();M();n();M();n();n();n();X();n();X();n();var ku=A(require("bignumber.js"));R();X();n();X();n();var Sa=require("react");V();n();n();X();n();var Eu=require("@multiversx/sdk-core/out"),Pu=A(require("bignumber.js"));X();n();X();n();n();M();var rv=[{label:"Raw",value:"raw"},{label:"Text",value:"text"},{label:"Decimal",value:"decimal"},{label:"Smart",value:"smart"}];n();var xa=require("react");V();n();var Ru=require("react");X();var lv=["create","localMint","ESDTLocalMint","addQuantity","burn","localBurn","ESDTLocalBurn","wipe","writeLog","signalError"];var nn=e=>e.transactions,Je=x(nn,e=>e.signedTransactions),Nu=x(nn,e=>e.signTransactionsError),wa=x(nn,e=>e.signTransactionsCancelMessage),on=e=>t=>Object.entries(t).reduce((r,[o,i])=>(e(i.status)&&(r[o]=i),r),{}),ho=x(Je,on(Re)),va=x(Je,on(gt)),Aa=x(Je,on(ft)),Du=x(Je,on(oo)),Ia=x(nn,e=>{var t;return(e==null?void 0:e.transactionsToSign)==null?null:L(y({},e.transactionsToSign),{transactions:((t=e==null?void 0:e.transactionsToSign)==null?void 0:t.transactions.map(r=>Bt(r)))||[]})}),Mu=x(Je,(e,t)=>t,(e,t)=>t!=null?(e==null?void 0:e[t])||{}:{});ut();n();n();function ba(e,t){if(!e){typeof console!="undefined"&&console.warn(t);try{throw new Error(t)}catch(r){}}}function La(e,t){typeof e=="string"&&(e={path:e,caseSensitive:!1,end:!0});let[r,o]=Ou(e.path,e.caseSensitive,e.end),i=t.match(r);if(!i)return null;let l=i[0],p=l.replace(/(.)\/+$/,"$1"),d=i.slice(1);return{params:o.reduce((g,T,h)=>{if(T==="*"){let I=d[h]||"";p=l.slice(0,l.length-I.length).replace(/(.)\/+$/,"$1")}return g[T]=_u(d[h]||"",T),g},{}),pathname:l,pathnameBase:p,pattern:e}}function Ou(e,t=!1,r=!0){ba(e==="*"||!e.endsWith("*")||e.endsWith("/*"),`Route path "${e}" will be treated as if it were "${e.replace(/\*$/,"/*")}" because the \`*\` character must always follow a \`/\` in the pattern. To get rid of this warning, please change the route path to "${e.replace(/\*$/,"/*")}".`);let o=[],i="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^$?{}|()[\]]/g,"\\$&").replace(/:(\w+)/g,(p,d)=>(o.push(d),"([^\\/]+)"));return e.endsWith("*")?(o.push("*"),i+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):i+=r?"\\/*$":"(?:(?=[.~-]|%[0-9A-F]{2})|\\b|\\/|$)",[new RegExp(i,t?void 0:"i"),o]}function _u(e,t){try{return decodeURIComponent(e)}catch(r){return ba(!1,`The value for the URL param "${t}" will not be decoded because the string "${e}" is a malformed URL segment. This is probably due to a bad percent encoding (${r}).`),e}}var ka=(e,t)=>e.filter(({authenticatedRoute:i})=>Boolean(i)).some(({path:i})=>La(i,t)!==null);var Ea=({children:e,routes:t,unlockRoute:r,onRedirect:o})=>{let i=S(Me),l=S(Js),p=S(_t),u=ka(t,window.location.pathname)&&!i&&p==null;return l||p?null:u?(o?o(r):Ce(r),null):So.default.createElement(So.default.Fragment,null,e)};n();var Ue=A(require("react")),qa=require("@multiversx/sdk-core/out");n();n();n();var Pa=A(require("axios"));function Ca(e){return f(this,null,function*(){let{apiAddress:t,apiTimeout:r}=me(w.getState()),o=e.map(l=>Pa.default.post(`${t}/transactions`,l.toPlainObject(),{timeout:parseInt(r)}));return(yield Promise.all(o)).map(({data:l})=>l.txHash)})}n();var Ra=A(require("axios"));function sn(e){return f(this,null,function*(){let t=Xr(w.getState()),r=e.map(i=>i.hash),{data:o}=yield Ra.default.get(`${t}/transactions`,{params:{hashes:r.join(","),withScResults:!0}});return e.map(({hash:i,previousStatus:l})=>{let p=o.find(d=>(d==null?void 0:d.txHash)===i);return{hash:i,data:p==null?void 0:p.data,invalidTransaction:p==null,status:p==null?void 0:p.status,results:p==null?void 0:p.results,sender:p==null?void 0:p.sender,receiver:p==null?void 0:p.receiver,previousStatus:l,hasStatusChanged:p&&p.status!==l}})})}n();var Uu=A(require("axios"));n();n();var Bu=A(require("axios"));n();var Wu=A(require("axios"));n();n();n();var Da=A(require("axios"));n();n();var an=e=>{let t=e!=null?e:Xr(w.getState());return t.endsWith("/")?t.slice(0,-1):t};function Ma(e){return f(this,null,function*(){if(!e)return null;let r=`${an()}/${Qr}/${e}`;try{let{data:o}=yield Da.default.get(r);return o}catch(o){console.error("error fetching configuration for ",r)}return null})}n();n();Lt();n();var Oa=A(require("axios"));function xo(e){return f(this,null,function*(){let t=`${e}/${da}`;try{let{data:o}=yield Oa.default.get(t);if(o!=null){let i="egldDenomination";if(i in o){let r=o,{[i]:l,decimals:p}=r,d=rt(r,[qo(i),"decimals"]);return L(y({},d),{decimals:l,digits:p})}return o}}catch(o){console.error("error fetching configuration for ",t)}return null})}n();var _a=A(require("axios"));function Fa(){return f(this,null,function*(){var r;let t=`${an()}/${ma}`;try{let{data:o}=yield _a.default.get(t);if(o!=null)return(r=o==null?void 0:o.data)==null?void 0:r.config}catch(o){console.error("error fetching configuration for ",t)}return null})}n();Lt();n();Lt();n();var Gu=A(require("axios"));Lt();n();var Oe=()=>S(qs);nr();n();n();n();n();var Ua=require("@multiversx/sdk-extension-provider"),Ba=require("@multiversx/sdk-hw-provider"),Wa=require("@multiversx/sdk-opera-provider"),Ga=require("@multiversx/sdk-wallet-connect-provider/out/walletConnectProvider"),$a=require("@multiversx/sdk-wallet-connect-provider/out/walletConnectV2Provider"),wo=require("@multiversx/sdk-web-wallet-provider");R();M();var $u="/dapp/init",ht=e=>{switch(e==null?void 0:e.constructor){case wo.WalletProvider:return"wallet";case Ga.WalletConnectProvider:return"walletconnect";case $a.WalletConnectV2Provider:return"walletconnectv2";case Ba.HWProvider:return"ledger";case Ua.ExtensionProvider:return"extension";case Wa.OperaProvider:return"opera";case cn:return"";default:return"extra"}},vo=e=>new wo.WalletProvider(`${e}${$u}`),Ao=e=>f(void 0,null,function*(){if(!e.isInitialized())throw new Error("Unable to get version. Provider not initialized");let t=e.hwApp,{contractData:r,version:o}=yield t.getAppConfiguration();return{version:o,dataEnabled:r===Ci}}),_e=e=>`Unable to perform ${e}, Provider not initialized`,cn=class{init(){return Promise.resolve(!1)}login(t){throw new Error(_e(`login with options: ${t}`))}logout(t){throw new Error(_e(`logout with options: ${t}`))}getAddress(){throw new Error(_e("getAddress"))}isInitialized(){return!1}isConnected(){return Promise.resolve(!1)}sendTransaction(t,r){throw new Error(_e(`sendTransaction with transactions: ${t} options: ${r}`))}signTransaction(t,r){throw new Error(_e(`signTransaction with transactions: ${t} options: ${r}`))}signTransactions(t,r){throw new Error(_e(`signTransactions with transactions: ${t} options: ${r}`))}signMessage(t,r){throw new Error(_e(`signTransactions with ${t} and options ${r}`))}sendCustomMessage({method:t,params:r}){throw new Error(_e(`sendCustomMessage with method: ${t} params: ${r}`))}sendCustomRequest(t){throw new Error(_e(`sendSessionEvent with options: ${t}`))}ping(){return Promise.resolve(!1)}},ur=new cn;var bo=ur,Io=null;function pe(e){bo=e}function Lo(e){Io=e}function ln(){Io!=null&&(bo=Io)}function oe(){return bo||ur}H();V();n();function ge(){return Me(w.getState())}n();n();M();n();n();function Va(){let e=oe();return ht(e)}function fe(e){return Va()===e}function Fe(){let{search:e}=window.location,t=w.getState(),r=oe(),o=De(t),i=Me(t),l=_t(t);if(!r)throw"provider not initialized";return fe("ledger")&&i?new Promise(p=>{p(o)}):!fe("")&&!fe("wallet")&&!fe("extra")?r.getAddress():new Promise(p=>{if(l!=null){let d=new URLSearchParams(e),u=Object.fromEntries(d);lr(u.address)&&p(u.address)}i&&p(o),p("")})}n();function Ye(e){return f(this,null,function*(){return yield Ma(e)})}n();P();function Ha(e){w.dispatch(Er(e))}n();function Wt(e){let t=w.getState(),r=Ks(t);return e?r&&!isNaN(r)?Math.max(r,e.nonce):e.nonce:r}n();n();P();var za=()=>f(void 0,null,function*(){try{let e=yield Fe();try{let t=yield Ye(e);if(t!=null){let r=L(y({},t),{nonce:Wt(t)});return w.dispatch(pt(r)),r}}catch(t){console.error("Failed getting account ",t)}}catch(e){console.error("Failed getting address ",e)}return null});function pn(){return f(this,null,function*(){let e=oe();if(e==null)throw"Provider not initialized";if(!e.isInitialized||e.isInitialized())return za();try{if(!e.init)throw"Current provider does not have init() function";return(yield e.init())?za():void 0}catch(t){console.error("Failed initializing provider ",t)}})}n();var ja=require("@multiversx/sdk-core");n();H();V();ut();Pt();lt();var Vu=e=>{let t=Ae.local.getItem(ae.logoutEvent),{data:r}=t?JSON.parse(t):{data:e};e===r&&(Ae.local.setItem({key:ae.logoutEvent,data:e,expires:0}),Ae.local.removeItem(ae.logoutEvent))};function ee(e,t,r=!0){return f(this,null,function*(){let o=oe(),i=ht(o),l=ge(),p=i==="wallet";if(r&&(o==null?void 0:o.relogin)!=null)return yield o.relogin();if(!l||!o){ko(e,t,!1);return}try{let d=yield Fe();Vu(d)}catch(d){ko(e,t,!1),console.error("error fetching logout address",d)}p&&es(),w.dispatch(B());try{let u=p&&!e?window.location.origin:e;p?setTimeout(()=>{o.logout({callbackUrl:u})}):(yield o.logout({callbackUrl:u}),ko(e,t,p))}catch(d){console.error("error logging out",d)}})}function ko(e,t,r){e&&!r&&(typeof t=="function"?t(e):Ce(e))}rr();function Eo({customNetworkConfig:e={},children:t,environment:r,logoutRoute:o}){let[i,l]=(0,Ue.useState)(!1),p=Oe(),d=S(Qs),{address:u,publicKey:g}=p,T=N();function h(){return f(this,null,function*(){let C=!(e!=null&&e.skipFetchFromServer),k=e==null?void 0:e.apiAddress,b=ct[r]||{},_=y(y({},b),e);if(C){let D=b==null?void 0:b.apiAddress,z=yield xo(k||D);if(z!=null){let ie=y(y(y({},b),z),e);T(Jn(ie));return}}T(Jn(_))})}function I(){return f(this,null,function*(){T(Ki(o)),yield h(),l(!0)})}return(0,Ue.useEffect)(()=>{u&&new qa.Address(u).hex()!==g&&ee(o)},[u,g,o]),(0,Ue.useEffect)(()=>{I()},[e,r,o]),(0,Ue.useEffect)(()=>{p.address&&d&&ee(o)},[d,p.address,o]),i?Ue.default.createElement(Ue.default.Fragment,null,t):null}n();var Kt=A(require("react")),tl=require("react-redux"),rl=require("redux-persist/integration/react");n();var We=require("react"),lc=require("@multiversx/sdk-extension-provider"),pc=require("@multiversx/sdk-hw-provider"),uc=require("@multiversx/sdk-opera-provider");n();var rc=require("react"),gn=require("@multiversx/sdk-core");n();n();var St=()=>S(qe);n();n();n();n();n();var Be=A(require("react"));var Ka=(0,Be.createContext)({}),Hu=w.getState();function Po({children:e}){let[t,r]=(0,Be.useState)(),[o,i]=(0,Be.useState)(K(Hu)),l={address:t,setAddress:r,isLoggedIn:Mt(o.loginMethod,t),loginInfo:o,setLoginInfo:p=>i(p)};return Be.default.createElement(Ka.Provider,{value:l},e)}function Gt(){let e=(0,Be.useContext)(Ka);if(e===void 0||Object.values(e).length===0)throw new Error("useAxiosInterceptorContext must be used within an AxiosInterceptorContextProvider");return e}n();var dr=A(require("react"));var Co=({children:e=null})=>{var l;let{address:t}=St(),r=S(K),{setLoginInfo:o,setAddress:i}=Gt();return(0,dr.useEffect)(()=>{i(t),o(r)},[(l=r.tokenLogin)==null?void 0:l.loginToken,t]),dr.default.createElement(dr.default.Fragment,null,e)};n();var Ze=A(require("react")),un=A(require("axios"));var Ro=({children:e,authenticatedDomanis:t})=>{var d;let{loginInfo:r}=Gt(),o=(d=r==null?void 0:r.tokenLogin)==null?void 0:d.nativeAuthToken,i=(0,Ze.useRef)(-1),l=()=>{un.default.interceptors.response.use(u=>u,u=>{var T,h;let g=(T=u.config)==null?void 0:T.url;return(h=u.config)!=null&&h.params&&(g+=`?${new URLSearchParams(u.config.params).toString()}`),console.error("Axios error for: ",g),Promise.reject(u)})},p=()=>{un.default.interceptors.request.eject(i.current),i.current=un.default.interceptors.request.use(u=>f(void 0,null,function*(){return t.includes(String(u==null?void 0:u.baseURL))&&(u.headers={Authorization:`Bearer ${o}`}),u}),u=>{Promise.reject(u)})};return(0,Ze.useEffect)(l,[]),(0,Ze.useEffect)(()=>{o&&p()},[o]),Ze.default.createElement(Ze.default.Fragment,null,e)};var zu={Interceptor:Ro,Listener:Co,Provider:Po};n();n();var mr=()=>{let e=oe(),t=ht(e);return{provider:e,providerType:t}};n();P();n();n();n();var ju=e=>e.replace(/\+/g,"-").replace(/\//g,"_").replace(/=/g,""),$t=e=>ju(s.Buffer.from(e,"utf8").toString("base64"));n();var Za=A(require("axios"));n();n();n();function Ja(e){return f(this,null,function*(){return yield new Promise(t=>{setTimeout(()=>t(),e)})})}n();var Ya=(e,t,r,o=0)=>f(void 0,null,function*(){try{return yield e(...r)}catch(i){return o<t.retries?((t==null?void 0:t.delay)!=null&&(yield Ja(t.delay)),Ya(e,t,r,o+1)):null}}),dn=(e,t={retries:5,delay:500})=>(...r)=>f(void 0,null,function*(){return Ya(e,t,r)});var qu=4e4,No=null,Vt={current:null},Do={current:!1},Ku=dn((e,t)=>f(void 0,null,function*(){let{data:r}=yield Za.default.get(`${e}/${fo}?size=1&fields=hash,timestamp${t?"&shard="+t:""}`),[o]=r;return o}));function Xa(e,t){return f(this,null,function*(){if(e==null)throw new Error("missing api url");if(No!=null&&Date.now()<No&&Vt.current!=null)return Vt.current;{if(Do.current)return yield Ju();Do.current=!0,Vt.current=null;let o=yield Ku(e,t);return Vt.current=o,No=Date.now()+qu,Do.current=!1,o}})}function Ju(){return f(this,null,function*(){return new Promise((e,t)=>{let r,o=setInterval(()=>{Vt.current!=null&&(e(Vt.current),clearInterval(o),clearTimeout(r))},50);r=setTimeout(()=>{clearInterval(o),t("could not generate new token")},1e4)})})}n();var Qa,gr={hostname:typeof window!="undefined"?(Qa=window==null?void 0:window.location)==null?void 0:Qa.hostname:"",apiAddress:"https://api.multiversx.com",expirySeconds:60*60*24,tokenExpirationToastWarningSeconds:5*60},fr=e=>{var r,o,i,l,p;return e===!0?gr:{hostname:(r=e==null?void 0:e.hostname)!=null?r:gr.hostname,blockHashShard:(o=e==null?void 0:e.blockHashShard)!=null?o:null,expirySeconds:(i=e==null?void 0:e.expirySeconds)!=null?i:gr.expirySeconds,apiAddress:(l=e==null?void 0:e.apiAddress)!=null?l:gr.apiAddress,tokenExpirationToastWarningSeconds:(p=e==null?void 0:e.tokenExpirationToastWarningSeconds)!=null?p:gr.tokenExpirationToastWarningSeconds}};n();n();n();function Yu(e){return Object.prototype.toString.call(e)==="[object String]"}var mn=e=>{if(!e||!Yu(e))return null;try{let[t,r,o]=e.split("."),i=Ut(t),l=Ut(r),[p,d,u,g]=l.split("."),T=JSON.parse(Ut(g)),h=Ut(p),I={ttl:Number(u),address:i,extraInfo:T,host:h,signature:o,blockHash:d,body:l};return g==="e30"&&delete I.extraInfo,I}catch(t){return null}};var ec=({address:e,token:t,signature:r})=>{let o=$t(e),i=$t(t);return`${o}.${i}.${r}`};n();Lr();var Ht=e=>{let t=mn(e);if(!t)return{isExpired:!1};let r=Et(),{ttl:o,extraInfo:i}=t,l=i.timestamp;if(!l)return{isExpired:!1};let p=l+o,d=r>p,u=p-r;return{isExpired:d,expiresAt:p,secondsUntilExpires:u}};var tc=e=>{let{hostname:t,apiAddress:r,expirySeconds:o,blockHashShard:i}=fr(e);return{getNativeAuthConfig:fr,initialize:(...d)=>f(void 0,[...d],function*(p={}){let{hash:u,timestamp:g}=yield Xa(r,i),T=$t(JSON.stringify(y(y({},p),g?{timestamp:g}:{})));return`${$t(t)}.${u}.${o}.${T}`}),getToken:ec,getTokenExpiration:Ht}};n();var Zu=(e,t)=>{var r;return t?t===!0?e:(r=t.apiAddress)!=null?r:e:null},be=e=>{let t=S(me),r=S(Yr),o=(0,rc.useRef)(r==null?void 0:r.loginToken),i=Zu(t.apiAddress,e),l=fr(y(y({},e===!0?{}:e),i?{apiAddress:i}:{})),p=Boolean(e),d=tc(l),{address:u}=St(),g=N(),T=k=>{o.current=k,g(He(y({loginToken:k},i?{nativeAuthConfig:l}:{})))},h=()=>f(void 0,null,function*(){try{return yield d.initialize()}catch(k){console.error("Unable to get block. Login failed.",k);return}}),I=({address:k,signature:b})=>{let _=o.current;if(!_)throw"Token not found. Call `setLoginToken` first.";if(!p){g(He({loginToken:_,signature:b}));return}let D=d.getToken({address:k,token:_,signature:b});g(He(y({loginToken:_,signature:b,nativeAuthToken:D},i?{nativeAuthConfig:l}:{})))};return{configuration:l,setLoginToken:T,getNativeAuthLoginToken:h,setTokenLoginInfo:I,refreshNativeAuthTokenLogin:b=>f(void 0,[b],function*({signMessageCallback:k}){let _=yield h();if(o.current=_,!_)return;let D=new gn.SignableMessage({address:new gn.Address(u),message:s.Buffer.from(_)}),z=yield k(D,{});I({address:u,signature:z.toJSON().signature})})}};n();var Xe=require("react"),nc=require("@multiversx/sdk-wallet-connect-provider/out/walletConnectProvider");n();var fn=require("react");function zt(e,t=[]){let r=(0,fn.useRef)(!0);(0,fn.useEffect)(()=>{r.current?r.current=!1:e()},t)}H();P();M();mt();var Mo=({logoutRoute:e,callbackRoute:t,nativeAuth:r,token:o,onLoginRedirect:i})=>{let l=N(),p=15e3,d=r!=null,u=be(r),g=o,[T,h]=(0,Xe.useState)(""),[I,C]=(0,Xe.useState)(""),{provider:k}=mr(),b=S(ta),_=S(Zr),D=(0,Xe.useRef)(k),z=(0,Xe.useRef)(!0),ie,te=Boolean(I),Qe=!te,$e=te?`${_}?wallet-connect=${encodeURIComponent(I)}`:"";(0,Xe.useEffect)(()=>{tt();let F=setInterval(()=>{tt()},p);return()=>clearInterval(F)},[k]),zt(()=>{!o||wt()},[o]),zt(()=>{D.current=k},[k]);let W=()=>{ee(e)},et=()=>{z.current=!1};function tt(){return f(this,null,function*(){var se,j;if(k==null||!fe("walletconnect")||!Boolean((j=(se=D.current)==null?void 0:se.walletConnector)==null?void 0:j.connected))return;let J={method:"heartbeat",params:{}};try{yield D.current.sendCustomMessage(J)}catch(re){console.error("Connection lost",re),W()}})}function Jt(){return f(this,null,function*(){var F;try{let J=D.current;if(ge()||J==null||!fe("walletconnect"))return;if(!z.current){try{yield(F=D.current)==null?void 0:F.logout()}catch(q){console.warn("Unable to logout")}return}let j=yield J.getAddress();if(!j){console.warn("Login cancelled.");return}let re=yield J.getSignature(),vt={address:j,loginMethod:"walletconnect"},G={logoutRoute:e,loginType:"walletConnect",callbackRoute:t!=null?t:window.location.href};l(Rr(G)),re&&u.setTokenLoginInfo({signature:re,address:j}),l(Z(vt)),J.walletConnector.on("heartbeat",()=>{clearInterval(ie),ie=setInterval(()=>{console.log("xPortal Mobile Wallet Connection Lost"),W(),clearInterval(ie)},15e4)}),dt({callbackRoute:t,onLoginRedirect:i,options:{address:j,signature:re}})}catch(J){h("Invalid address"),console.error(J)}})}function Yt(F=!0){return f(this,null,function*(){var re,vt;let J=F&&!I;if(!b||((vt=(re=D==null?void 0:D.current)==null?void 0:re.isInitialized)==null?void 0:vt.call(re))&&!J)return;let se={onClientLogin:Jt,onClientLogout:W},j=new nc.WalletConnectProvider(b,se);yield j.init(),z.current=!0,pe(j),D.current=j,F&&wt()})}function wt(){return f(this,null,function*(){var j;if(!b)return;let F=yield(j=D.current)==null?void 0:j.login();if(!Boolean(F))return;if(d&&!g&&(g=yield u.getNativeAuthLoginToken(),!g)){console.warn("Fetching block failed. Login cancelled.");return}if(!g){C(F);return}u.setLoginToken(g);let se=`${F}&token=${g}`;C(se)})}let E=Boolean(T),O=ge();return[Yt,{error:T,loginFailed:E,isLoading:Qe&&!E,isLoggedIn:O&&!E},{uriDeepLink:$e,walletConnectUri:I,cancelLogin:et}]};n();var Le=require("react"),oc=require("@multiversx/sdk-wallet-connect-provider/out/walletConnectV2Provider");H();P();M();mt();var Oo=({callbackRoute:e,logoutRoute:t,token:r,nativeAuth:o,onLoginRedirect:i})=>{let l=N(),p=o!=null,d=be(o),u=r,[g,T]=(0,Le.useState)(""),[h,I]=(0,Le.useState)(""),[C,k]=(0,Le.useState)(!0),[b,_]=(0,Le.useState)([]),D=oe(),z=S(ra),ie=S(na),te=S(oa),Qe=S(cr),$e=S(Zr),W=(0,Le.useRef)(D),et=(0,Le.useRef)(!0),tt=["erd_cancelAction","multiversx_cancelAction"],Jt=C?"":`${$e}?wallet-connect=${encodeURIComponent(h)}`;zt(()=>{!r||j()},[r]),zt(()=>{W.current=D},[D]),(0,Le.useEffect)(()=>{k(!Boolean(h))},[h]);let Yt=()=>{ee(t)},wt=G=>{console.log("wc2 session event: ",G)},E=()=>{et.current=!1};function O(){return f(this,null,function*(){var G;try{let q=W.current;if(ge()||q==null||!fe("walletconnectv2"))return;if(!et.current){try{yield(G=W.current)==null?void 0:G.logout()}catch(Fd){console.warn("Unable to logout")}return}let Te=yield q.getAddress();if(!Te){console.warn("Login cancelled.");return}let Ve=yield q.getSignature(),vn={address:Te,loginMethod:"walletconnectv2"},nl={logoutRoute:t,loginType:"walletconnectv2",callbackRoute:e!=null?e:window.location.href};l(Rr(nl)),Ve&&d.setTokenLoginInfo({signature:Ve,address:Te}),l(Z(vn)),dt({callbackRoute:e,onLoginRedirect:i,options:{address:Te,signature:Ve}})}catch(q){T("Invalid address"),console.error(q)}})}function F(G=!0){return f(this,null,function*(){if(!ie||!z){T("Invalid WalletConnect setup");return}let q={onClientLogin:O,onClientLogout:Yt,onClientEvent:wt},Y=new oc.WalletConnectV2Provider(q,Qe,z,ie,te);yield Y.init(),et.current=!0,pe(Y),_(Y.pairings),W.current=Y,G&&j()})}function J(G){return f(this,null,function*(){var q,Y,Te;if(!z||!ie){T("Invalid WalletConnect setup");return}if(!G||!G.topic){T("Expired connection");return}try{let{approval:Ve}=yield(q=W.current)==null?void 0:q.connect({topic:G.topic,methods:tt});if(p&&!u&&(u=yield d.getNativeAuthLoginToken(),!u)){console.warn("Fetching block failed. Login cancelled.");return}u&&d.setLoginToken(u);try{yield(Y=W.current)==null?void 0:Y.login({approval:Ve,token:u})}catch(vn){T("User rejected existing connection proposal"),k(!0),yield F()}}catch(Ve){console.error("Unable to connect to existing session",Ve),T("Unable to connect to existing session")}finally{_((Te=W.current)==null?void 0:Te.pairings)}})}function se(G){return f(this,null,function*(){var q,Y;try{G&&(yield(q=W.current)==null?void 0:q.logout({topic:G}))}catch(Te){console.error("Unable to remove existing pairing",Te),T("Unable to remove existing pairing")}finally{_((Y=W.current)==null?void 0:Y.pairings)}})}function j(){return f(this,null,function*(){var G,q;if(!z||!ie){T("Invalid WalletConnect setup");return}try{let{uri:Y,approval:Te}=yield(G=W.current)==null?void 0:G.connect({methods:tt});if(!Boolean(Y))return;if(I(Y),p&&!u&&(u=yield d.getNativeAuthLoginToken(),!u)){console.warn("Fetching block failed. Login cancelled.");return}u&&d.setLoginToken(u);try{yield(q=W.current)==null?void 0:q.login({approval:Te,token:u})}catch(vn){T("User rejected connection proposal"),k(!0),yield F()}}catch(Y){console.error("Unable to connect",Y)}})}let re=Boolean(g),vt=ge();return[F,{error:g,loginFailed:re,isLoading:C&&!re,isLoggedIn:vt&&!re},{uriDeepLink:Jt,walletConnectUri:h,cancelLogin:E,connectExisting:J,removeExistingPairing:se,wcPairings:b}]};H();P();M();n();n();var ic=e=>{let t=new URLSearchParams(e).toString(),{pathname:r}=window.location,o=t?`?${t}`:"",i=r?`${r}${o}`:"./";setTimeout(()=>{window.history.replaceState({},document==null?void 0:document.title,i)})};var sc=e=>{var o;let t={};if((o=window==null?void 0:window.location)!=null&&o.search){let i=new URLSearchParams(window.location.search);t=Object.fromEntries(i)}let r={};return e.forEach(i=>{r[i]=t[i],delete t[i]}),{remainingParams:r,clearNavigationHistory:()=>ic(t)}};n();var ac=require("react");n();H();P();V();function Tn(e,t){let r=mn(e);if(r==null)return;let o=t!=null?t:w.dispatch,{signature:i,address:l}=r;i&&e&&l&&(o(B()),setTimeout(()=>{o(He({loginToken:e,signature:i,nativeAuthToken:e})),o(Z({address:l,loginMethod:"extra"}))}))}function cc(){var l;let e=N(),t=typeof window!="undefined"?(l=window==null?void 0:window.location)==null?void 0:l.search:"",r=new URLSearchParams(t),o=Object.fromEntries(r),i=o==null?void 0:o.accessToken;(0,ac.useEffect)(()=>{Tn(i,e)},[i])}function dc(){let e=S(me),t=S(Zs),r=S(Ys),o=S(_t),i=S(De),l=S(lo),p=S(Xs),d=S(Me),u=S(Ft),[g,T]=(0,We.useState)(),h=S(Yr),I=h==null?void 0:h.nativeAuthConfig,C=be(I||!1),k=(0,We.useRef)(!1),b=N();cc();let{callbackRoute:_,logoutRoute:D}=t||{callbackRoute:"",logoutRoute:""},[z]=Mo({callbackRoute:_,logoutRoute:D}),[ie]=Oo({callbackRoute:_,logoutRoute:D});(0,We.useEffect)(()=>{te()},[e]),(0,We.useEffect)(()=>{wt()},[r]),(0,We.useEffect)(()=>{$e()},[i,e]),(0,We.useEffect)(()=>{Qe()},[l,d,g]);function te(){return f(this,null,function*(){try{let E=yield Fa();E&&b(ss(E.erd_chain_id))}catch(E){console.error("failed refreshing chainId ",E)}})}function Qe(){l==null&&p!=null&&g&&b(Hn({index:p.index,address:i,hasContractDataEnabled:g.dataEnabled,version:g.version}))}function $e(){return f(this,null,function*(){if(b(Ct(!0)),k.current){k.current=!1,b(Ct(!1));return}if(i)try{let E=yield Ye(i);E&&b(pt(L(y({},E),{address:i,nonce:E.nonce.valueOf()})))}catch(E){b($i("Failed getting account")),console.error("Failed getting account ",E)}b(Ct(!1))})}function W(){return f(this,null,function*(){let E=vo(e.walletAddress);if(pe(E),o!=null){try{let O=yield Fe(),{clearNavigationHistory:F,remainingParams:{signature:J}}=sc(["signature","loginToken","address"]);if(!O)return pe(ur),b(He(null)),b(Nr(null)),F();J&&C.setTokenLoginInfo({signature:J,address:O});let se=yield Ye(O);se&&(k.current=!0,b(Ct(!0)),b(Z({address:O,loginMethod:"wallet"})),b(pt(L(y({},se),{nonce:Wt(se)}))),b(Ct(!1))),F()}catch(O){console.error("Failed authenticating wallet user ",O)}b(Nr(null))}})}function et(){return f(this,null,function*(){let E=new pc.HWProvider,O=E.isInitialized();if(O||(O=yield E.init()),!O&&d){console.warn("Could not initialise ledger app"),ee(u);return}return(p==null?void 0:p.index)!=null&&(E.addressIndex=p.index),E})}function tt(){return f(this,null,function*(){try{let E=yield et();if(!E)return;let O=yield Ao(E);pe(E),T(O)}catch(E){console.error("Could not initialise ledger app",E),ee(u)}})}function Jt(){return f(this,null,function*(){try{let E=yield Fe(),O=lc.ExtensionProvider.getInstance().setAddress(E);(yield O.init())?pe(O):console.error("Could not initialise extension, make sure MultiversX wallet extension is installed.")}catch(E){console.error("Unable to login to ExtensionProvider",E)}})}function Yt(){return f(this,null,function*(){try{let E=yield Fe(),O=uc.OperaProvider.getInstance().setAddress(E);(yield O.init())?pe(O):console.error("Could not initialise opera crypto wallet, make sure that opera crypto wallet is installed.")}catch(E){console.error("Unable to login to OperaProvider",E)}})}function wt(){if(r!=null)switch(r){case"ledger":{tt();break}case"walletconnect":{z(!1);break}case"walletconnectv2":{ie(!1);break}case"extension":{Jt();break}case"opera":{Yt();break}case"extra":{ln();break}case"wallet":case"":{W();break}default:return}}return null}n();n();var Uo=require("@multiversx/sdk-core");V();n();M();var mc=()=>window!=null&&window.ReactNativeWebView?"reactNative":window.webkit?"ios":"web";n();V();var yn={signTransactions:{["ios"]:e=>window.webkit.messageHandlers.signTransactions.postMessage(e,ye),["reactNative"]:e=>window==null?void 0:window.ReactNativeWebView.postMessage(JSON.stringify({type:"SIGN_TRANSACTIONS_REQUEST",message:e}),ye),["web"]:e=>window==null?void 0:window.postMessage(JSON.stringify({type:"SIGN_TRANSACTIONS_REQUEST",message:e}),ye)},signMessage:{["ios"]:e=>window.webkit.messageHandlers.signMessage.postMessage(e),["reactNative"]:e=>window==null?void 0:window.ReactNativeWebView.postMessage(JSON.stringify({type:"SIGN_MESSAGE_REQUEST",message:e}),ye),["web"]:e=>window==null?void 0:window.postMessage(JSON.stringify({type:"SIGN_MESSAGE_REQUEST",message:e}),ye)},logout:{["ios"]:()=>window.webkit.messageHandlers.logout.postMessage(),["reactNative"]:()=>window==null?void 0:window.ReactNativeWebView.postMessage(JSON.stringify({type:"LOGOUT_REQUEST"}),ye),["web"]:()=>window==null?void 0:window.postMessage(JSON.stringify({type:"LOGOUT_REQUEST"}),ye)},login:{["ios"]:()=>window.webkit.messageHandlers.login.postMessage(),["reactNative"]:()=>window==null?void 0:window.ReactNativeWebView.postMessage(JSON.stringify({type:"LOGIN_REQUEST"}),ye),["web"]:()=>window==null?void 0:window.postMessage(JSON.stringify({type:"LOGIN_REQUEST"}),ye)}};var _o=e=>()=>{throw new Error(`Unable to perform ${e}, Provider not initialized`)},Fo=mc(),fc,Tc,ye=typeof window!="undefined"&&(Tc=(fc=window==null?void 0:window.parent)==null?void 0:fc.origin)!=null?Tc:"*",gc=e=>{let t=r=>{let o=r.data;if(r.target.origin==ye)try{o=JSON.parse(o),e(o)}catch(i){console.error("error parsing response")}};document.addEventListener("message",t),window.addEventListener("message",t)},yc={init:()=>f(void 0,null,function*(){return!0}),login:()=>f(void 0,null,function*(){return!0}),relogin:()=>f(void 0,null,function*(){try{return yn.login[Fo](),yield new Promise((t,r)=>{function o(i){let{message:l,type:p}=i;if(p==="LOGIN_RESPONSE")try{let{accessToken:d,error:u}=l;u?r(u):(Tn(d),ln(),t(d))}catch(d){r("Unable to login")}document.removeEventListener("message",o)}gc(o)})}catch(e){throw console.error("error logging in",e),e}}),logout:()=>(yn.logout[Fo](),new Promise(e=>{e(!0)})),getAddress:_o("getAddress"),isInitialized:()=>!0,isConnected:()=>f(void 0,null,function*(){return!0}),sendTransaction:_o("sendTransaction"),signMessage:_o("signMessage"),signTransactions:e=>f(void 0,null,function*(){try{let t=e.map(o=>o.toPlainObject());return yn.signTransactions[Fo](t),yield new Promise((o,i)=>{window.transactionsSigned=(p,d)=>{if(p=JSON.parse(p),d){i(d),window.transactionsSigned=null;return}o(p.map(u=>Uo.Transaction.fromPlainObject(u))),window.transactionsSigned=null};function l(p){let{message:d,type:u}=p;if(u==="SIGN_TRANSACTIONS_RESPONSE"){let{transactions:g,error:T}=d;try{T?i(T):o(g.map(h=>Uo.Transaction.fromPlainObject(h)))}catch(h){i("Unable to sign")}}document.removeEventListener("message",l)}gc(l)})}catch(t){throw console.error("error sending transaction",t),t}}),signTransaction:function(e){return f(this,null,function*(){return(yield this.signTransactions([e]))[0]})}};n();var qt=A(require("react"));n();n();n();n();var Bc=require("react");n();n();var Bo=()=>S(Ie);n();P();n();n();n();var ed=require("react"),td=require("@multiversx/sdk-web-wallet-provider"),rd=A(require("qs"));R();P();M();n();var xc=require("react"),ld=require("@multiversx/sdk-extension-provider");R();P();M();n();n();n();n();var Sc=require("react"),id=require("@multiversx/sdk-extension-provider");R();P();n();n();var pd=A(require("axios")),ud=A(require("swr"));n();n();var vc=require("react");n();var wc=require("react");qn();P();V();ut();n();at();P();n();n();n();n();n();function Ac(){let e=S(ho),t=Object.entries(e),r=(t==null?void 0:t.length)>0;return{pendingTransactions:e,pendingTransactionsArray:t,hasPendingTransactions:r}}Nt();n();P();M();n();Nt();function Ic(e,t){return e.reduce((o,{status:i,hash:l})=>(l!=null&&!t.includes(l)&&Re(i)&&o.push({hash:l,previousStatus:i}),o),[])}n();P();M();function bc({results:e,hash:t,sessionId:r}){let o=e==null?void 0:e.find(i=>(i==null?void 0:i.returnMessage)!=="");w.dispatch(ir({transactionHash:t,sessionId:r,status:"fail",errorMessage:o==null?void 0:o.returnMessage})),w.dispatch(Tt({sessionId:r,status:"fail",errorMessage:o==null?void 0:o.returnMessage}))}n();P();V();function Wo(e){w.dispatch(Tt({sessionId:e,status:"timedOut"}))}var hn={},Go=[];function md({serverTransaction:e,sessionId:t,customTransactionInformation:r,shouldRefreshBalance:o}){let{hash:i,status:l,results:p,invalidTransaction:d,hasStatusChanged:u}=e;try{if(Go.includes(i))return;if(hn[i]>30){Wo(t);return}if(d||Re(l)){hn[i]=hn[i]?hn[i]+1:1;return}u&&(gt(l)&&(r==null?void 0:r.completedTransactionsDelay)!=null?(Go.push(i),setTimeout(()=>w.dispatch(ir({sessionId:t,status:"success",transactionHash:i})),r==null?void 0:r.completedTransactionsDelay)):w.dispatch(ir({sessionId:t,status:l,transactionHash:i}))),o||pn(),ft(l)&&bc({sessionId:t,hash:i,results:p})}catch(g){console.error(g),Wo(t)}}function Lc(l){return f(this,arguments,function*({sessionId:e,transactionBatch:{transactions:t,customTransactionInformation:r},getTransactionsByHash:o=sn,shouldRefreshBalance:i}){try{if(t==null)return;let p=Ic(t,Go),d=yield o(p);for(let u of d)md({serverTransaction:u,sessionId:e,customTransactionInformation:r,shouldRefreshBalance:i})}catch(p){console.error(p)}})}function kc(){let{pendingTransactionsArray:e}=Ac();function t(r){return f(this,null,function*(){let o=e.filter(([i,l])=>i!=null&&Re(l.status));if(o.length>0)for(let[i,l]of o)yield Lc(y({sessionId:i,transactionBatch:l},r));r.shouldRefreshBalance&&pn()})}return t}n();var Sd=require("react");n();n();n();P();n();n();var Td=A(require("bignumber.js"));R();P();V();n();var fd=A(require("bignumber.js"));R();n();var yd=require("@multiversx/sdk-core"),hd=A(require("bignumber.js"));R();M();Nt();n();n();n();n();var Ec=require("react");n();n();var xd=require("react"),wd=require("@multiversx/sdk-extension-provider");at();H();M();mt();n();var vd=require("react"),Ad=require("@multiversx/sdk-opera-provider");at();H();M();mt();n();var Ld=require("react");at();P();n();n();Fn();n();n();var Id=A(require("platform"));n();n();n();n();n();ut();Pt();n();n();n();P();var bd={};var Pc=e=>{if(e.component!=null){let t=e,{component:r}=t,o=rt(t,["component"]),{payload:i}=w.dispatch(Zn(L(y({},o),{component:null})));return bd[i.toastId]=r,i}return w.dispatch(Zn(e)).payload};n();n();var Cc=A(require("axios"));function Vo(e){return f(this,null,function*(){try{let{data:t}=yield Cc.default.get(`${e}/websocket/config`);return`wss://${t.url}`}catch(t){throw console.error(t),new Error("Can not get websocket url")}})}n();n();var Rc=require("react"),Ed=require("@multiversx/sdk-hw-provider");at();H();P();M();mt();n();var kd=require("react");n();n();var Nc=require("react");n();var Oc=require("react");n();var xt=require("react"),Dc=require("socket.io-client");P();n();var Ge={current:null,status:"not_initialized"};var Pd=3e3,Cd=3,Rd=500,Nd=1e3;function Mc(){let e=(0,xt.useRef)(null),{address:t}=St(),r=N(),{network:o}=Bo(),i=p=>{e.current&&clearTimeout(e.current),e.current=setTimeout(()=>{r(Vi(p))},Nd)},l=(0,xt.useCallback)(dn(()=>f(this,null,function*(){Ge.status="pending";let p=yield Vo(o.apiAddress);if(p==null){console.warn("Can not get websocket url");return}Ge.current=(0,Dc.io)(p,{forceNew:!0,reconnectionAttempts:Cd,timeout:Pd,query:{address:t}}),Ge.status="completed",Ge.current.onAny(d=>{i(d)})}),{retries:2,delay:Rd}),[t]);(0,xt.useEffect)(()=>{t&&Ge.status==="not_initialized"&&!Ge.current&&l()},[t,Ge.current]),(0,xt.useEffect)(()=>()=>{var p;(p=Ge.current)==null||p.close(),e.current&&clearTimeout(e.current)},[])}function _c(e){Mc();let t=S(po);(0,Oc.useEffect)(()=>{let r=t==null?void 0:t.message;r&&e(r)},[e,t])}n();n();n();var Fc=e=>e.dappModal,Dd=x(Fc,e=>e.visible),Sn=x(Fc,e=>e.modal),xM=x(Sn,e=>e.showHeader),wM=x(Sn,e=>e.showFooter),vM=x(Sn,e=>e.headerText),AM=x(Sn,e=>e.footerText);lt();var{logoutEvent:Md}=ae,Uc="storage",Wc=()=>{let{address:e}=Oe(),t=S(Ft);(0,Bc.useEffect)(()=>{let r=o=>{if(!(o.key!==Md||!o.newValue))try{let{data:i}=JSON.parse(o.newValue);i===e&&ee(t)}catch(i){return}};return window.addEventListener(Uc,r),()=>{window.removeEventListener(Uc,r)}},[e,t])};n();n();var xn=require("react"),Ho=A(require("bignumber.js"));var $c=require("@fortawesome/free-solid-svg-icons");n();n();var Tr=A(require("bignumber.js")),Gc=e=>{let t=new Tr.default(e).dividedBy(1e3).integerValue(Tr.default.ROUND_FLOOR),r=new Tr.default(t).dividedBy(60).integerValue(Tr.default.ROUND_FLOOR),o=r.modulo(60).isGreaterThan(1),i=r.modulo(60).isLessThan(1);return o?`${r} minutes`:i?"less than 1 minute":`${r} minute`};var Vc=()=>{let{address:e}=Oe(),{tokenLogin:t}=S(K),{secondsUntilExpires:r,expiresAt:o}=Ht(t==null?void 0:t.nativeAuthToken),i=(0,xn.useRef)();return(0,xn.useEffect)(()=>{var d;let l=new Ho.default(String(r)),p=l.times(1e3);if(!(!r||l.isLessThanOrEqualTo(0))){if((d=t==null?void 0:t.nativeAuthConfig)!=null&&d.tokenExpirationToastWarningSeconds){clearTimeout(i.current);let g=new Ho.default(t.nativeAuthConfig.tokenExpirationToastWarningSeconds).times(1e3),T=l.times(1e3).minus(g),h=Gc(p),I=T.isLessThanOrEqualTo(0)?0:T.toNumber();i.current=setTimeout(()=>{Pc({toastId:"nativeAuthTokenExpiration",type:"custom",title:"Session Expiration Warning",icon:$c.faRefresh,message:`Your token will expire in ${h}!`})},I)}return()=>{clearTimeout(i.current)}}},[o,e,t==null?void 0:t.nativeAuthConfig]),null};n();var jt=require("react"),Hc=A(require("bignumber.js"));var zc=()=>{let{address:e}=Oe(),{tokenLogin:t}=S(K),r=S(Ft),{isExpired:o,secondsUntilExpires:i,expiresAt:l}=Ht(t==null?void 0:t.nativeAuthToken),p=(0,jt.useRef)(""),d=(0,jt.useRef)();return(0,jt.useEffect)(()=>{e&&o&&ee(r)},[o,e,r]),(0,jt.useEffect)(()=>{let u=new Hc.default(String(i)),g=`${e}_${l}`,T=p.current===g;if(!(i&&u.isGreaterThan(0))||T)return;p.current=g,clearTimeout(d.current);let I=u.times(1e3);return d.current=setTimeout(()=>{ee(r)},I.toNumber()),()=>{clearTimeout(d.current)}},[l,e,r]),null};var jc=()=>(Vc(),Wc(),zc(),null);n();n();var wn=require("react"),Kc=require("@multiversx/sdk-core"),Jc=require("@multiversx/sdk-core/out/signature");P();M();ut();var qc=e=>{let t=e.redirectRoute;t&&Ce(t)},Yc=({sendSignedTransactionsAsync:e=Ca})=>{let t=S(qe),r=S(Je),o=(0,wn.useRef)(!1),i=N(),l=()=>{i(Dt()),o.current=!1};function p(){return f(this,null,function*(){var u;let d=Object.keys(r);for(let g of d){let T=r==null?void 0:r[g],h=(u=T==null?void 0:T.customTransactionInformation)==null?void 0:u.signWithoutSending;if(!g||h){qc(T);continue}try{if(!(r[g].status==="signed"&&!o.current))continue;let{transactions:k}=r[g];if(!k)continue;o.current=!0;let b=k.map(te=>{let Qe=new Kc.Address(te.sender),$e=Bt(te),W=new Jc.Signature(te.signature);return $e.applySignature(W,Qe),$e}),_=yield e(b),D="pending",z=k.map(te=>_.includes(te.hash)?L(y({},te),{status:D}):te);i(Xi({sessionId:g,submittedMessage:"submitted"})),i(Tt({sessionId:g,status:"sent",transactions:z})),l(),Ha(t.nonce+k.length),qc(T),history.pushState({},document==null?void 0:document.title,"?")}catch(I){console.error("Unable to send transactions",I),i(Tt({sessionId:g,status:"fail",errorMessage:I.message})),l()}finally{o.current=!1}}})}return(0,wn.useEffect)(()=>{p()},[r,t]),null};n();n();n();var Zc=require("react");function Xc(e){var i;let t=kc(),r=(i=e==null?void 0:e.getTransactionsByHash)!=null?i:sn,o=()=>{t({shouldRefreshBalance:!0,getTransactionsByHash:r})};_c(o),(0,Zc.useEffect)(()=>{let l=setInterval(o,3e4);return()=>{clearInterval(l)}},[o])}function Qc({getTransactionsByHash:e}){return Xc({getTransactionsByHash:e}),null}function el({customComponents:e}){var l,p;let t=e==null?void 0:e.transactionSender,r=e==null?void 0:e.transactionTracker,o=(l=t==null?void 0:t.component)!=null?l:Yc,i=(p=r==null?void 0:r.component)!=null?p:Qc;return qt.default.createElement(qt.default.Fragment,null,qt.default.createElement(o,y({},t==null?void 0:t.props)),qt.default.createElement(i,y({},r==null?void 0:r.props)),qt.default.createElement(jc,null))}var Od=({children:e,customNetworkConfig:t={},externalProvider:r,environment:o,customComponents:i,dappConfig:l})=>{if(!o)throw new Error("missing environment flag");return r!=null&&Lo(r),l!=null&&l.shouldUseWebViewProvider&&Lo(yc),Kt.default.createElement(tl.Provider,{context:ar,store:w},Kt.default.createElement(rl.PersistGate,{persistor:zs,loading:null},Kt.default.createElement(Eo,{environment:o,customNetworkConfig:t,logoutRoute:l==null?void 0:l.logoutRoute},Kt.default.createElement(dc,null),Kt.default.createElement(el,{customComponents:i}),e)))};0&&(module.exports={AppInitializer,AuthenticatedRoutesWrapper,AxiosInterceptor,AxiosInterceptorContext,AxiosInterceptorContextProvider,DappProvider,LoginInfoListener,useAxiosInterceptorContext});
2
2
  /*!
3
3
  * The buffer module from node.js, for the browser.
4
4
  *
@@ -1,2 +1,2 @@
1
- "use strict";import{a,b,c}from"../__chunks__/chunk-FKFPHPFX.js";import"../__chunks__/chunk-ZF6KDUMI.js";import"../__chunks__/chunk-AASOI2YB.js";import"../__chunks__/chunk-7NWZ6SR3.js";import"../__chunks__/chunk-OGKM4YOJ.js";import"../__chunks__/chunk-6LITAK4Z.js";import"../__chunks__/chunk-PP22G6PI.js";import"../__chunks__/chunk-CLAJ4EPW.js";import"../__chunks__/chunk-NV7UCWNW.js";import"../__chunks__/chunk-BPPVSU25.js";import"../__chunks__/chunk-DCI4LUDC.js";import"../__chunks__/chunk-43CTUMZY.js";import"../__chunks__/chunk-HBP5N4FR.js";export{a as testAddress,b as testNetwork,c as testReceiver};
1
+ "use strict";import{a,b,c}from"../__chunks__/chunk-LU3DM6HR.js";import"../__chunks__/chunk-7RDCJEBM.js";import"../__chunks__/chunk-3VNANIQN.js";import"../__chunks__/chunk-7NWZ6SR3.js";import"../__chunks__/chunk-OGKM4YOJ.js";import"../__chunks__/chunk-6LITAK4Z.js";import"../__chunks__/chunk-PP22G6PI.js";import"../__chunks__/chunk-CLAJ4EPW.js";import"../__chunks__/chunk-NV7UCWNW.js";import"../__chunks__/chunk-BPPVSU25.js";import"../__chunks__/chunk-DCI4LUDC.js";import"../__chunks__/chunk-CDW2662X.js";import"../__chunks__/chunk-HBP5N4FR.js";export{a as testAddress,b as testNetwork,c as testReceiver};
2
2
  //# sourceMappingURL=accountConfig.js.map
@@ -1,2 +1,2 @@
1
- "use strict";import"../__chunks__/chunk-OQMQWZG7.js";import{a as m}from"../__chunks__/chunk-WTAIM7XI.js";import{a as x,b as a,c as b}from"../__chunks__/chunk-IDNYXXUU.js";import"../__chunks__/chunk-G6V3RROQ.js";import{a as t}from"../__chunks__/chunk-ZD4T5RDE.js";import{a as p}from"../__chunks__/chunk-DXSPO7EM.js";import"../__chunks__/chunk-GMVQCQ3Y.js";import"../__chunks__/chunk-ZAKI6HUY.js";import"../__chunks__/chunk-JJGJCN5V.js";import"../__chunks__/chunk-K3PKB7WJ.js";import"../__chunks__/chunk-PWZQTMIM.js";import"../__chunks__/chunk-YPLFH5NC.js";import"../__chunks__/chunk-GKOGOKEY.js";import"../__chunks__/chunk-NY463RKX.js";import"../__chunks__/chunk-LO2RKWHN.js";import"../__chunks__/chunk-UCBDWIIG.js";import"../__chunks__/chunk-FA2UEZM2.js";import"../__chunks__/chunk-CURMR3DQ.js";import"../__chunks__/chunk-PEYRK6DJ.js";import"../__chunks__/chunk-5XAXZ3NX.js";import"../__chunks__/chunk-GVU7CFIB.js";import"../__chunks__/chunk-QZWFDZZ3.js";import"../__chunks__/chunk-SQJYWVIF.js";import"../__chunks__/chunk-CDWLWJH3.js";import"../__chunks__/chunk-7HKAHQUX.js";import"../__chunks__/chunk-L5ZELHXF.js";import"../__chunks__/chunk-CMG3PZXL.js";import"../__chunks__/chunk-O7YR4YPR.js";import"../__chunks__/chunk-HZSM6ODA.js";import"../__chunks__/chunk-OLYIRMPJ.js";import"../__chunks__/chunk-3O4GBHR3.js";import"../__chunks__/chunk-RVD7ASJL.js";import"../__chunks__/chunk-3SGZP5CP.js";import"../__chunks__/chunk-VPGECZPA.js";import"../__chunks__/chunk-OWV63OFS.js";import"../__chunks__/chunk-MDIJXESM.js";import"../__chunks__/chunk-IL5JDJWD.js";import"../__chunks__/chunk-DUYNNDUF.js";import"../__chunks__/chunk-FVPFOC6I.js";import"../__chunks__/chunk-2ZTVJLOJ.js";import"../__chunks__/chunk-BTPNQ5FQ.js";import"../__chunks__/chunk-QCGS2BTF.js";import"../__chunks__/chunk-MVJUBH74.js";import"../__chunks__/chunk-BFSRVA3J.js";import"../__chunks__/chunk-FOSUR33Y.js";import"../__chunks__/chunk-7C6XIICR.js";import"../__chunks__/chunk-WFUHPFAH.js";import"../__chunks__/chunk-ATNLLNOK.js";import"../__chunks__/chunk-OR4L5DIF.js";import"../__chunks__/chunk-A274U45O.js";import"../__chunks__/chunk-I6WCVWCL.js";import"../__chunks__/chunk-W6TJJEHF.js";import"../__chunks__/chunk-QDCY7OOZ.js";import"../__chunks__/chunk-IOSHQZNU.js";import"../__chunks__/chunk-BS36A7LR.js";import"../__chunks__/chunk-ZOMDIW6A.js";import"../__chunks__/chunk-W5XV2MWO.js";import"../__chunks__/chunk-66VVLQWA.js";import"../__chunks__/chunk-IUPXRKIH.js";import"../__chunks__/chunk-4DKSPOQC.js";import"../__chunks__/chunk-JKA54IGW.js";import"../__chunks__/chunk-BBDZAYAU.js";import"../__chunks__/chunk-S2ZXQSDD.js";import"../__chunks__/chunk-PNLICGB5.js";import"../__chunks__/chunk-P7ETYQLM.js";import"../__chunks__/chunk-35CA4MUL.js";import"../__chunks__/chunk-F7E7BINB.js";import"../__chunks__/chunk-HHGHERF3.js";import"../__chunks__/chunk-67CWWMJV.js";import"../__chunks__/chunk-NIXVRMA2.js";import"../__chunks__/chunk-7PMD4JRS.js";import"../__chunks__/chunk-ZSB5Q3QB.js";import"../__chunks__/chunk-6ERRM2KF.js";import"../__chunks__/chunk-WUF7FKNG.js";import"../__chunks__/chunk-3P3MCUKK.js";import"../__chunks__/chunk-RDJETZ3F.js";import"../__chunks__/chunk-XP6VAPF7.js";import"../__chunks__/chunk-J53G5Q65.js";import"../__chunks__/chunk-5WQI3F3M.js";import"../__chunks__/chunk-KN33FON4.js";import"../__chunks__/chunk-LIOPBJAR.js";import"../__chunks__/chunk-YTYNUTPN.js";import"../__chunks__/chunk-AY5CRAVB.js";import"../__chunks__/chunk-WME7JUV7.js";import"../__chunks__/chunk-FZMRVALH.js";import"../__chunks__/chunk-PQX6XDOO.js";import"../__chunks__/chunk-CUPMM5UN.js";import"../__chunks__/chunk-OX5CQN4Z.js";import"../__chunks__/chunk-FR4JYMVH.js";import"../__chunks__/chunk-SNKVBZTS.js";import"../__chunks__/chunk-C5LKGARX.js";import"../__chunks__/chunk-FJTOBBI5.js";import"../__chunks__/chunk-Z5PKPJRS.js";import"../__chunks__/chunk-47JMQSE2.js";import"../__chunks__/chunk-MBF7VDMJ.js";import"../__chunks__/chunk-WDVYNUMZ.js";import"../__chunks__/chunk-GZIWNMCW.js";import"../__chunks__/chunk-EVWIXAZV.js";import"../__chunks__/chunk-HH5S5FOE.js";import"../__chunks__/chunk-YR7YPWTF.js";import"../__chunks__/chunk-22UA5SNR.js";import"../__chunks__/chunk-JUFYXNHH.js";import"../__chunks__/chunk-5L64ER7E.js";import"../__chunks__/chunk-IPE5DLSE.js";import"../__chunks__/chunk-6E7UMUAT.js";import"../__chunks__/chunk-VLFWEDOB.js";import"../__chunks__/chunk-NGVE7MA7.js";import"../__chunks__/chunk-WJGL6LVA.js";import"../__chunks__/chunk-OCMDIV3Q.js";import"../__chunks__/chunk-LK5TR7MI.js";import"../__chunks__/chunk-KOH3SXG4.js";import"../__chunks__/chunk-BQ4N52MW.js";import"../__chunks__/chunk-37KH4Z57.js";import"../__chunks__/chunk-DGPHTEKD.js";import"../__chunks__/chunk-TXAITGIS.js";import"../__chunks__/chunk-JFXVZGSY.js";import"../__chunks__/chunk-SY4VVHFA.js";import"../__chunks__/chunk-4VDFQTIQ.js";import"../__chunks__/chunk-W5XMZRTH.js";import"../__chunks__/chunk-YAR2KJ42.js";import"../__chunks__/chunk-SZGCAC7X.js";import"../__chunks__/chunk-MV5K23LN.js";import"../__chunks__/chunk-AO6HRN56.js";import"../__chunks__/chunk-FP3YMQL6.js";import"../__chunks__/chunk-52LWAKUU.js";import"../__chunks__/chunk-HLAK3KWC.js";import"../__chunks__/chunk-42I454QK.js";import"../__chunks__/chunk-5IKM5Q2S.js";import"../__chunks__/chunk-GPLG6N3Y.js";import"../__chunks__/chunk-VRE5TYWU.js";import"../__chunks__/chunk-RLBSVH7A.js";import"../__chunks__/chunk-A6R7V6U3.js";import"../__chunks__/chunk-PJU2UKAU.js";import"../__chunks__/chunk-VMEHK3CK.js";import"../__chunks__/chunk-2RRQT2ZE.js";import"../__chunks__/chunk-XOZ662VA.js";import"../__chunks__/chunk-LO5NNAIV.js";import"../__chunks__/chunk-NAN2H6P3.js";import"../__chunks__/chunk-KEQTNP4F.js";import"../__chunks__/chunk-CUXSI37S.js";import"../__chunks__/chunk-6OGZDOZO.js";import"../__chunks__/chunk-QWA762UQ.js";import"../__chunks__/chunk-Y4MABHXD.js";import"../__chunks__/chunk-QCA255CH.js";import"../__chunks__/chunk-3U7QBETU.js";import"../__chunks__/chunk-QDL73CLR.js";import"../__chunks__/chunk-BZAS5UWX.js";import"../__chunks__/chunk-CSNNQII4.js";import"../__chunks__/chunk-4HLBQPQN.js";import"../__chunks__/chunk-IAU7HZOA.js";import"../__chunks__/chunk-FKHUTJ2C.js";import"../__chunks__/chunk-Q4ODFQVM.js";import"../__chunks__/chunk-SKMXMVKW.js";import"../__chunks__/chunk-A2UYY3JW.js";import"../__chunks__/chunk-OBF5YWS6.js";import"../__chunks__/chunk-IHEQMC3B.js";import"../__chunks__/chunk-ONNEZDFU.js";import"../__chunks__/chunk-LPQY7BQ4.js";import"../__chunks__/chunk-UXUA2YCT.js";import"../__chunks__/chunk-ZJPGJ7QI.js";import"../__chunks__/chunk-L6O2YAE3.js";import"../__chunks__/chunk-GW6MOKMY.js";import"../__chunks__/chunk-XOSPBGLI.js";import"../__chunks__/chunk-6PZJ6OYX.js";import"../__chunks__/chunk-OXSLKC3X.js";import"../__chunks__/chunk-FRNVGEYR.js";import"../__chunks__/chunk-AZWOFPFX.js";import"../__chunks__/chunk-NYM7F3NU.js";import"../__chunks__/chunk-TPDR3Y6L.js";import"../__chunks__/chunk-X5TGO2UY.js";import"../__chunks__/chunk-JKQBUYK2.js";import"../__chunks__/chunk-ZJQA5LBM.js";import"../__chunks__/chunk-NGVYQHDX.js";import"../__chunks__/chunk-BP7X5FRP.js";import"../__chunks__/chunk-QOM22MQB.js";import"../__chunks__/chunk-KMTJAVQJ.js";import"../__chunks__/chunk-A32WHRLH.js";import"../__chunks__/chunk-HYYC56WM.js";import"../__chunks__/chunk-F6GZHJMJ.js";import"../__chunks__/chunk-EDUYDVLW.js";import"../__chunks__/chunk-X6LCE6DY.js";import"../__chunks__/chunk-LNMQ6RED.js";import"../__chunks__/chunk-FMIRA7YL.js";import"../__chunks__/chunk-RQ3IOPRD.js";import"../__chunks__/chunk-WVJETRW5.js";import"../__chunks__/chunk-QZPF3VRD.js";import"../__chunks__/chunk-NCHDT5N7.js";import"../__chunks__/chunk-6QZHGHIR.js";import"../__chunks__/chunk-P5ISWVSR.js";import"../__chunks__/chunk-W2FL4F7Y.js";import"../__chunks__/chunk-5MHH6T2T.js";import"../__chunks__/chunk-DCYIMALR.js";import"../__chunks__/chunk-6U3Y3HED.js";import"../__chunks__/chunk-MDNDUSGB.js";import"../__chunks__/chunk-7F3MKQYJ.js";import"../__chunks__/chunk-PWZEN2EG.js";import"../__chunks__/chunk-L4OGNGVR.js";import"../__chunks__/chunk-EMQ3L23O.js";import"../__chunks__/chunk-7LG3PXXW.js";import"../__chunks__/chunk-OOZSFHYH.js";import"../__chunks__/chunk-UOJHMSFY.js";import"../__chunks__/chunk-EEJ5EEAY.js";import"../__chunks__/chunk-LKR7PEAH.js";import"../__chunks__/chunk-S267QGNY.js";import"../__chunks__/chunk-WOC5FZU4.js";import"../__chunks__/chunk-C4IGVF3G.js";import"../__chunks__/chunk-E7PHXPI7.js";import"../__chunks__/chunk-MYRD6QTU.js";import"../__chunks__/chunk-357APEOJ.js";import"../__chunks__/chunk-ID2JOC6Q.js";import"../__chunks__/chunk-POFMPPLE.js";import"../__chunks__/chunk-ZXXEZGKT.js";import"../__chunks__/chunk-FHE5FVE7.js";import"../__chunks__/chunk-L6CEZHRZ.js";import"../__chunks__/chunk-QN46IB4K.js";import"../__chunks__/chunk-DEY75ILF.js";import"../__chunks__/chunk-4PGVVXDY.js";import"../__chunks__/chunk-5NJW53EW.js";import"../__chunks__/chunk-X3JF7AJ7.js";import"../__chunks__/chunk-KRCUIXB4.js";import"../__chunks__/chunk-DF2AQYO7.js";import"../__chunks__/chunk-HP3L7RUD.js";import"../__chunks__/chunk-A3JT4J5G.js";import"../__chunks__/chunk-JRM3LDSG.js";import"../__chunks__/chunk-FOHOVMG2.js";import"../__chunks__/chunk-QVCVZLRQ.js";import"../__chunks__/chunk-UWE6TJ47.js";import"../__chunks__/chunk-4I33RXZI.js";import"../__chunks__/chunk-GBQ5D4O5.js";import"../__chunks__/chunk-PRBKZEMT.js";import"../__chunks__/chunk-T7D7BT5X.js";import"../__chunks__/chunk-XBLU7KZJ.js";import"../__chunks__/chunk-AF4A42IE.js";import"../__chunks__/chunk-JBJD3IUJ.js";import"../__chunks__/chunk-EIG7LFFL.js";import"../__chunks__/chunk-RRJM3255.js";import"../__chunks__/chunk-VCAA4VGH.js";import"../__chunks__/chunk-E66WVYJC.js";import"../__chunks__/chunk-6YEBPDTC.js";import"../__chunks__/chunk-XHBL2F6G.js";import"../__chunks__/chunk-SKUZQREX.js";import"../__chunks__/chunk-6OZDAYJV.js";import"../__chunks__/chunk-QFTWB3KE.js";import"../__chunks__/chunk-GNEQWXJE.js";import"../__chunks__/chunk-5ZHWPLU6.js";import"../__chunks__/chunk-7CGLDJOD.js";import"../__chunks__/chunk-SIEJ3BGE.js";import"../__chunks__/chunk-6K3QMAWT.js";import"../__chunks__/chunk-ANAT47NF.js";import"../__chunks__/chunk-VU5G7W7V.js";import"../__chunks__/chunk-LNYINVMN.js";import"../__chunks__/chunk-2EA2VIB5.js";import"../__chunks__/chunk-DVCP2A6O.js";import"../__chunks__/chunk-7I7NVYZT.js";import"../__chunks__/chunk-PYO6CNJL.js";import"../__chunks__/chunk-TXM7RATR.js";import"../__chunks__/chunk-GYB57BD3.js";import"../__chunks__/chunk-AP2OU4L5.js";import"../__chunks__/chunk-5JVA7MJI.js";import"../__chunks__/chunk-35N6HQAC.js";import"../__chunks__/chunk-ZFXP4YRF.js";import"../__chunks__/chunk-TA6HP4LD.js";import"../__chunks__/chunk-NQ25VRP6.js";import"../__chunks__/chunk-GG736LLW.js";import"../__chunks__/chunk-25PTVHEB.js";import"../__chunks__/chunk-NM43ACPN.js";import"../__chunks__/chunk-34MJDZ4X.js";import"../__chunks__/chunk-6WZ7DVP7.js";import"../__chunks__/chunk-GGMEVY45.js";import"../__chunks__/chunk-TZY5QRK7.js";import"../__chunks__/chunk-4A25I5EO.js";import"../__chunks__/chunk-KKMXLCWS.js";import"../__chunks__/chunk-GIZIGQZP.js";import"../__chunks__/chunk-ZU7HQJ2E.js";import"../__chunks__/chunk-EIE6T4QD.js";import"../__chunks__/chunk-XRA7MBOO.js";import"../__chunks__/chunk-KGF5QO63.js";import"../__chunks__/chunk-J36BPK32.js";import"../__chunks__/chunk-OMBMT76D.js";import"../__chunks__/chunk-2UFASAE6.js";import"../__chunks__/chunk-PFP32GAJ.js";import"../__chunks__/chunk-FYSR5U3I.js";import"../__chunks__/chunk-DUSZZPF5.js";import"../__chunks__/chunk-OXBZSHOZ.js";import"../__chunks__/chunk-PXHBOM4A.js";import"../__chunks__/chunk-ZU6LXEUO.js";import"../__chunks__/chunk-5KGDRZSV.js";import"../__chunks__/chunk-VTMJ7INI.js";import"../__chunks__/chunk-WTIKHG7D.js";import"../__chunks__/chunk-ZPNSZFF2.js";import"../__chunks__/chunk-RLE3NYEW.js";import"../__chunks__/chunk-TYNIHZ2F.js";import"../__chunks__/chunk-6ZGFYJ6T.js";import"../__chunks__/chunk-LGKB7JTU.js";import"../__chunks__/chunk-DZ5IJ4N3.js";import"../__chunks__/chunk-SBWX3IYZ.js";import"../__chunks__/chunk-J42ZO72F.js";import"../__chunks__/chunk-2DKPFSTT.js";import"../__chunks__/chunk-AM7A2OOW.js";import"../__chunks__/chunk-27DX5WIQ.js";import"../__chunks__/chunk-X2JZA2ND.js";import"../__chunks__/chunk-MV7THB7B.js";import"../__chunks__/chunk-WQFSDAGL.js";import"../__chunks__/chunk-QR72MI4M.js";import"../__chunks__/chunk-FC3CZOOQ.js";import{a as r,b as e,c as f}from"../__chunks__/chunk-FKFPHPFX.js";import"../__chunks__/chunk-ZF6KDUMI.js";import"../__chunks__/chunk-AASOI2YB.js";import"../__chunks__/chunk-7NWZ6SR3.js";import"../__chunks__/chunk-OGKM4YOJ.js";import"../__chunks__/chunk-6LITAK4Z.js";import"../__chunks__/chunk-PP22G6PI.js";import"../__chunks__/chunk-CLAJ4EPW.js";import"../__chunks__/chunk-NV7UCWNW.js";import"../__chunks__/chunk-BPPVSU25.js";import"../__chunks__/chunk-DCI4LUDC.js";import"../__chunks__/chunk-43CTUMZY.js";import"../__chunks__/chunk-GNCSMYRN.js";import"../__chunks__/chunk-Y4RXLAEX.js";import"../__chunks__/chunk-UIDXWJ2D.js";import"../__chunks__/chunk-FTQGHIGG.js";import"../__chunks__/chunk-NHHDQ53S.js";import"../__chunks__/chunk-XXP2T2NS.js";import"../__chunks__/chunk-AHX4GHIC.js";import{m as o}from"../__chunks__/chunk-HBP5N4FR.js";o();export{m as createSubscription,a as mockResponse,t as mockWindowLocation,p as renderWithProvider,x as rest,b as server,r as testAddress,e as testNetwork,f as testReceiver};
1
+ "use strict";import"../__chunks__/chunk-OQMQWZG7.js";import{a as m}from"../__chunks__/chunk-WTAIM7XI.js";import{a as x,b as a,c as b}from"../__chunks__/chunk-H3R6VXAV.js";import"../__chunks__/chunk-G6V3RROQ.js";import{a as t}from"../__chunks__/chunk-ZD4T5RDE.js";import{a as p}from"../__chunks__/chunk-5BOZYUAE.js";import"../__chunks__/chunk-6T4HLUJ5.js";import"../__chunks__/chunk-KAKTGT5L.js";import"../__chunks__/chunk-BMG5SADY.js";import"../__chunks__/chunk-K3PKB7WJ.js";import"../__chunks__/chunk-SBN47C2G.js";import"../__chunks__/chunk-J3Q7UDAZ.js";import"../__chunks__/chunk-GKOGOKEY.js";import"../__chunks__/chunk-C3S2OS2F.js";import"../__chunks__/chunk-ZMRSOKUW.js";import"../__chunks__/chunk-UCBDWIIG.js";import"../__chunks__/chunk-YABBPNUR.js";import"../__chunks__/chunk-JRJFNQAZ.js";import"../__chunks__/chunk-Z4ABT7NG.js";import"../__chunks__/chunk-WU2RFM5A.js";import"../__chunks__/chunk-GVU7CFIB.js";import"../__chunks__/chunk-QD5QDTC3.js";import"../__chunks__/chunk-SQJYWVIF.js";import"../__chunks__/chunk-SYT2T7G2.js";import"../__chunks__/chunk-O4ZYTYXZ.js";import"../__chunks__/chunk-L5ZELHXF.js";import"../__chunks__/chunk-5SFT27AY.js";import"../__chunks__/chunk-O7YR4YPR.js";import"../__chunks__/chunk-HZSM6ODA.js";import"../__chunks__/chunk-OLYIRMPJ.js";import"../__chunks__/chunk-37OCRXKG.js";import"../__chunks__/chunk-YRIWEATY.js";import"../__chunks__/chunk-3SGZP5CP.js";import"../__chunks__/chunk-VPGECZPA.js";import"../__chunks__/chunk-4MGGEDE4.js";import"../__chunks__/chunk-MDIJXESM.js";import"../__chunks__/chunk-CSS5DPJE.js";import"../__chunks__/chunk-6PSLWD7K.js";import"../__chunks__/chunk-FVPFOC6I.js";import"../__chunks__/chunk-JWP3WLIN.js";import"../__chunks__/chunk-ESLOIYNE.js";import"../__chunks__/chunk-QCGS2BTF.js";import"../__chunks__/chunk-MVJUBH74.js";import"../__chunks__/chunk-L5DW2DTN.js";import"../__chunks__/chunk-AJBKM66B.js";import"../__chunks__/chunk-SLZBO3FX.js";import"../__chunks__/chunk-NYNRNXOR.js";import"../__chunks__/chunk-FIPS3NHS.js";import"../__chunks__/chunk-WRKQTXD4.js";import"../__chunks__/chunk-A3YTVQRT.js";import"../__chunks__/chunk-2MN2JEL5.js";import"../__chunks__/chunk-VGVAZOOL.js";import"../__chunks__/chunk-KG3U55NF.js";import"../__chunks__/chunk-JK6EDPQT.js";import"../__chunks__/chunk-3DOTBYW5.js";import"../__chunks__/chunk-W4GD6OCO.js";import"../__chunks__/chunk-4E4GWX4K.js";import"../__chunks__/chunk-BRPCFDIZ.js";import"../__chunks__/chunk-65MQPHO4.js";import"../__chunks__/chunk-BZONU76B.js";import"../__chunks__/chunk-KYC5JNJB.js";import"../__chunks__/chunk-OXJW5VJL.js";import"../__chunks__/chunk-S2ZXQSDD.js";import"../__chunks__/chunk-NQ247DLE.js";import"../__chunks__/chunk-TKQGS7L2.js";import"../__chunks__/chunk-NEHGYCY2.js";import"../__chunks__/chunk-5E3Y7WDX.js";import"../__chunks__/chunk-M4KXOW7P.js";import"../__chunks__/chunk-PHYN544Z.js";import"../__chunks__/chunk-NIXVRMA2.js";import"../__chunks__/chunk-ZTWKQMJR.js";import"../__chunks__/chunk-COL2EXNW.js";import"../__chunks__/chunk-6ERRM2KF.js";import"../__chunks__/chunk-C54IH7AJ.js";import"../__chunks__/chunk-TFQXTJWG.js";import"../__chunks__/chunk-PXUGFT47.js";import"../__chunks__/chunk-EHIOPQMM.js";import"../__chunks__/chunk-J53G5Q65.js";import"../__chunks__/chunk-5WQI3F3M.js";import"../__chunks__/chunk-4EUXBDOP.js";import"../__chunks__/chunk-T37QL64L.js";import"../__chunks__/chunk-YTYNUTPN.js";import"../__chunks__/chunk-LWE4XOKK.js";import"../__chunks__/chunk-WME7JUV7.js";import"../__chunks__/chunk-FZMRVALH.js";import"../__chunks__/chunk-PQX6XDOO.js";import"../__chunks__/chunk-CUPMM5UN.js";import"../__chunks__/chunk-OX5CQN4Z.js";import"../__chunks__/chunk-FR4JYMVH.js";import"../__chunks__/chunk-SNKVBZTS.js";import"../__chunks__/chunk-C5LKGARX.js";import"../__chunks__/chunk-FJTOBBI5.js";import"../__chunks__/chunk-Z5PKPJRS.js";import"../__chunks__/chunk-47JMQSE2.js";import"../__chunks__/chunk-DXE4AAU7.js";import"../__chunks__/chunk-LWC25W2W.js";import"../__chunks__/chunk-A453JAS3.js";import"../__chunks__/chunk-YYBTFRCM.js";import"../__chunks__/chunk-HH5S5FOE.js";import"../__chunks__/chunk-E4X4P3T6.js";import"../__chunks__/chunk-22UA5SNR.js";import"../__chunks__/chunk-343YDU2S.js";import"../__chunks__/chunk-54NEP2BY.js";import"../__chunks__/chunk-T2CFMPMF.js";import"../__chunks__/chunk-6A6EWHUH.js";import"../__chunks__/chunk-YWMWYHIA.js";import"../__chunks__/chunk-NGVE7MA7.js";import"../__chunks__/chunk-WJGL6LVA.js";import"../__chunks__/chunk-OCMDIV3Q.js";import"../__chunks__/chunk-LK5TR7MI.js";import"../__chunks__/chunk-KOH3SXG4.js";import"../__chunks__/chunk-JCD6DJSC.js";import"../__chunks__/chunk-BAT5BA5V.js";import"../__chunks__/chunk-DGPHTEKD.js";import"../__chunks__/chunk-TXAITGIS.js";import"../__chunks__/chunk-JFXVZGSY.js";import"../__chunks__/chunk-JJWH3JYM.js";import"../__chunks__/chunk-4VDFQTIQ.js";import"../__chunks__/chunk-3ZPW6NBW.js";import"../__chunks__/chunk-YAR2KJ42.js";import"../__chunks__/chunk-SZGCAC7X.js";import"../__chunks__/chunk-MV5K23LN.js";import"../__chunks__/chunk-D6AVFA2D.js";import"../__chunks__/chunk-FP3YMQL6.js";import"../__chunks__/chunk-OE5DHTVR.js";import"../__chunks__/chunk-I4BUST3H.js";import"../__chunks__/chunk-QGGGF3OX.js";import"../__chunks__/chunk-BTUNYV43.js";import"../__chunks__/chunk-G3RFZTTV.js";import"../__chunks__/chunk-UGJIORNP.js";import"../__chunks__/chunk-WR6IIZFW.js";import"../__chunks__/chunk-OGZP3W4S.js";import"../__chunks__/chunk-B3TAZ7VX.js";import"../__chunks__/chunk-MYN7DB3X.js";import"../__chunks__/chunk-2RRQT2ZE.js";import"../__chunks__/chunk-XOZ662VA.js";import"../__chunks__/chunk-LO5NNAIV.js";import"../__chunks__/chunk-NAN2H6P3.js";import"../__chunks__/chunk-KEQTNP4F.js";import"../__chunks__/chunk-3ADB74GU.js";import"../__chunks__/chunk-4AXBEAVW.js";import"../__chunks__/chunk-IYGHEIZB.js";import"../__chunks__/chunk-ZQIOXJ4W.js";import"../__chunks__/chunk-346RZSEQ.js";import"../__chunks__/chunk-3U7QBETU.js";import"../__chunks__/chunk-QDL73CLR.js";import"../__chunks__/chunk-BZAS5UWX.js";import"../__chunks__/chunk-CSNNQII4.js";import"../__chunks__/chunk-TJUHE354.js";import"../__chunks__/chunk-EFMJXVWX.js";import"../__chunks__/chunk-FKHUTJ2C.js";import"../__chunks__/chunk-Q4ODFQVM.js";import"../__chunks__/chunk-SKMXMVKW.js";import"../__chunks__/chunk-3BQODYHQ.js";import"../__chunks__/chunk-OBF5YWS6.js";import"../__chunks__/chunk-IHEQMC3B.js";import"../__chunks__/chunk-ONNEZDFU.js";import"../__chunks__/chunk-LPQY7BQ4.js";import"../__chunks__/chunk-ZX7JX6JP.js";import"../__chunks__/chunk-L5UKH2NP.js";import"../__chunks__/chunk-AOEAP24C.js";import"../__chunks__/chunk-QNUO32JN.js";import"../__chunks__/chunk-XOSPBGLI.js";import"../__chunks__/chunk-YCWMLUF4.js";import"../__chunks__/chunk-OXSLKC3X.js";import"../__chunks__/chunk-NTCEKYNN.js";import"../__chunks__/chunk-T4Q37HLR.js";import"../__chunks__/chunk-YRLJP2A7.js";import"../__chunks__/chunk-TPDR3Y6L.js";import"../__chunks__/chunk-X5TGO2UY.js";import"../__chunks__/chunk-K5UIZVZV.js";import"../__chunks__/chunk-DTN6DYVS.js";import"../__chunks__/chunk-NGVYQHDX.js";import"../__chunks__/chunk-BP7X5FRP.js";import"../__chunks__/chunk-QOM22MQB.js";import"../__chunks__/chunk-T3NGVEED.js";import"../__chunks__/chunk-A32WHRLH.js";import"../__chunks__/chunk-LLTQNIPQ.js";import"../__chunks__/chunk-5LIPZK7I.js";import"../__chunks__/chunk-6TWOJZGW.js";import"../__chunks__/chunk-7S2XISHG.js";import"../__chunks__/chunk-EZWQ7DMD.js";import"../__chunks__/chunk-FMIRA7YL.js";import"../__chunks__/chunk-RQ3IOPRD.js";import"../__chunks__/chunk-WVJETRW5.js";import"../__chunks__/chunk-QZPF3VRD.js";import"../__chunks__/chunk-NCHDT5N7.js";import"../__chunks__/chunk-KYVILTBF.js";import"../__chunks__/chunk-P5ISWVSR.js";import"../__chunks__/chunk-W2FL4F7Y.js";import"../__chunks__/chunk-5MHH6T2T.js";import"../__chunks__/chunk-XGTZDEYC.js";import"../__chunks__/chunk-6U3Y3HED.js";import"../__chunks__/chunk-VHHIARAI.js";import"../__chunks__/chunk-7F3MKQYJ.js";import"../__chunks__/chunk-PWZEN2EG.js";import"../__chunks__/chunk-Q3OVBMP3.js";import"../__chunks__/chunk-EMQ3L23O.js";import"../__chunks__/chunk-7LG3PXXW.js";import"../__chunks__/chunk-XARXYP2R.js";import"../__chunks__/chunk-UOJHMSFY.js";import"../__chunks__/chunk-EEJ5EEAY.js";import"../__chunks__/chunk-LKR7PEAH.js";import"../__chunks__/chunk-S267QGNY.js";import"../__chunks__/chunk-WOC5FZU4.js";import"../__chunks__/chunk-4ZPZ6AIU.js";import"../__chunks__/chunk-T2MIRLFN.js";import"../__chunks__/chunk-MYRD6QTU.js";import"../__chunks__/chunk-357APEOJ.js";import"../__chunks__/chunk-ID2JOC6Q.js";import"../__chunks__/chunk-CJEHVP77.js";import"../__chunks__/chunk-2G7BO52P.js";import"../__chunks__/chunk-LGPEIIM7.js";import"../__chunks__/chunk-SXJLOBGK.js";import"../__chunks__/chunk-KHHNKZRB.js";import"../__chunks__/chunk-DEY75ILF.js";import"../__chunks__/chunk-AK245ZB2.js";import"../__chunks__/chunk-5NJW53EW.js";import"../__chunks__/chunk-YLMQQGTH.js";import"../__chunks__/chunk-KRCUIXB4.js";import"../__chunks__/chunk-PMREAIGI.js";import"../__chunks__/chunk-HP3L7RUD.js";import"../__chunks__/chunk-A3JT4J5G.js";import"../__chunks__/chunk-TGPRRERJ.js";import"../__chunks__/chunk-FOHOVMG2.js";import"../__chunks__/chunk-3CRW4ZUP.js";import"../__chunks__/chunk-C7BZLCLN.js";import"../__chunks__/chunk-4I33RXZI.js";import"../__chunks__/chunk-T2MFBGAA.js";import"../__chunks__/chunk-PRBKZEMT.js";import"../__chunks__/chunk-T7D7BT5X.js";import"../__chunks__/chunk-XBLU7KZJ.js";import"../__chunks__/chunk-CXXTFRHA.js";import"../__chunks__/chunk-JBJD3IUJ.js";import"../__chunks__/chunk-EIG7LFFL.js";import"../__chunks__/chunk-B4DRNYML.js";import"../__chunks__/chunk-KV6GSWNL.js";import"../__chunks__/chunk-TTBVJAYG.js";import"../__chunks__/chunk-6YEBPDTC.js";import"../__chunks__/chunk-CNNCGA7P.js";import"../__chunks__/chunk-6NPKQKN5.js";import"../__chunks__/chunk-6OZDAYJV.js";import"../__chunks__/chunk-QFTWB3KE.js";import"../__chunks__/chunk-HIX6QXZ4.js";import"../__chunks__/chunk-HOM67ZP7.js";import"../__chunks__/chunk-X7SBGOMA.js";import"../__chunks__/chunk-MCGMQBME.js";import"../__chunks__/chunk-J7NMG22C.js";import"../__chunks__/chunk-R4B6ID2N.js";import"../__chunks__/chunk-W5D3A5ES.js";import"../__chunks__/chunk-LNYINVMN.js";import"../__chunks__/chunk-3OTU3LGP.js";import"../__chunks__/chunk-DVCP2A6O.js";import"../__chunks__/chunk-7I7NVYZT.js";import"../__chunks__/chunk-E36MIU6P.js";import"../__chunks__/chunk-Y5PCCHR4.js";import"../__chunks__/chunk-GYB57BD3.js";import"../__chunks__/chunk-AP2OU4L5.js";import"../__chunks__/chunk-5JVA7MJI.js";import"../__chunks__/chunk-35N6HQAC.js";import"../__chunks__/chunk-ZFXP4YRF.js";import"../__chunks__/chunk-TA6HP4LD.js";import"../__chunks__/chunk-2UFNSJOJ.js";import"../__chunks__/chunk-SGNT3E2X.js";import"../__chunks__/chunk-UIXYMFD4.js";import"../__chunks__/chunk-NM43ACPN.js";import"../__chunks__/chunk-HWLMQLGK.js";import"../__chunks__/chunk-6WZ7DVP7.js";import"../__chunks__/chunk-GGMEVY45.js";import"../__chunks__/chunk-U2ELIFGD.js";import"../__chunks__/chunk-5LIDVEDY.js";import"../__chunks__/chunk-KKMXLCWS.js";import"../__chunks__/chunk-BKSSTINX.js";import"../__chunks__/chunk-MIKIMQR2.js";import"../__chunks__/chunk-UGAJ6X3Z.js";import"../__chunks__/chunk-PCHRWVXC.js";import"../__chunks__/chunk-MOA4IRT5.js";import"../__chunks__/chunk-SFP5Q2SB.js";import"../__chunks__/chunk-HACCGAKC.js";import"../__chunks__/chunk-6O5L57GH.js";import"../__chunks__/chunk-J6HSKOGJ.js";import"../__chunks__/chunk-FYSR5U3I.js";import"../__chunks__/chunk-DUSZZPF5.js";import"../__chunks__/chunk-OXBZSHOZ.js";import"../__chunks__/chunk-PXHBOM4A.js";import"../__chunks__/chunk-ZU6LXEUO.js";import"../__chunks__/chunk-5KGDRZSV.js";import"../__chunks__/chunk-VTMJ7INI.js";import"../__chunks__/chunk-WTIKHG7D.js";import"../__chunks__/chunk-HJ7GDMMX.js";import"../__chunks__/chunk-RLE3NYEW.js";import"../__chunks__/chunk-TYNIHZ2F.js";import"../__chunks__/chunk-6ZGFYJ6T.js";import"../__chunks__/chunk-LGKB7JTU.js";import"../__chunks__/chunk-DZ5IJ4N3.js";import"../__chunks__/chunk-S2KUPUGA.js";import"../__chunks__/chunk-J42ZO72F.js";import"../__chunks__/chunk-25LYYPSL.js";import"../__chunks__/chunk-T34J5F2S.js";import"../__chunks__/chunk-27DX5WIQ.js";import"../__chunks__/chunk-X2JZA2ND.js";import"../__chunks__/chunk-MV7THB7B.js";import"../__chunks__/chunk-WQFSDAGL.js";import"../__chunks__/chunk-QR72MI4M.js";import"../__chunks__/chunk-FC3CZOOQ.js";import{a as r,b as e,c as f}from"../__chunks__/chunk-LU3DM6HR.js";import"../__chunks__/chunk-7RDCJEBM.js";import"../__chunks__/chunk-3VNANIQN.js";import"../__chunks__/chunk-7NWZ6SR3.js";import"../__chunks__/chunk-OGKM4YOJ.js";import"../__chunks__/chunk-6LITAK4Z.js";import"../__chunks__/chunk-PP22G6PI.js";import"../__chunks__/chunk-CLAJ4EPW.js";import"../__chunks__/chunk-NV7UCWNW.js";import"../__chunks__/chunk-BPPVSU25.js";import"../__chunks__/chunk-DCI4LUDC.js";import"../__chunks__/chunk-CDW2662X.js";import"../__chunks__/chunk-GNCSMYRN.js";import"../__chunks__/chunk-Y4RXLAEX.js";import"../__chunks__/chunk-UIDXWJ2D.js";import"../__chunks__/chunk-FTQGHIGG.js";import"../__chunks__/chunk-NHHDQ53S.js";import"../__chunks__/chunk-XXP2T2NS.js";import"../__chunks__/chunk-AHX4GHIC.js";import{m as o}from"../__chunks__/chunk-HBP5N4FR.js";o();export{m as createSubscription,a as mockResponse,t as mockWindowLocation,p as renderWithProvider,x as rest,b as server,r as testAddress,e as testNetwork,f as testReceiver};
2
2
  //# sourceMappingURL=index.js.map