@multiversx/sdk-dapp 2.9.3 → 2.10.0

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 (835) 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/ScamPhishingAlert/ScamPhishingAlert.d.ts +6 -0
  13. package/UI/ScamPhishingAlert/ScamPhishingAlert.js +1 -1
  14. package/UI/ScamPhishingAlert/index.js +1 -1
  15. package/UI/SignTransactionsModals/SignTransactionsModals.js +1 -1
  16. package/UI/SignTransactionsModals/SignWithDeviceModal/SignStep.js +1 -1
  17. package/UI/SignTransactionsModals/SignWithDeviceModal/index.js +1 -1
  18. package/UI/SignTransactionsModals/SignWithExtensionModal/index.js +1 -1
  19. package/UI/SignTransactionsModals/SignWithExtraModal/index.js +1 -1
  20. package/UI/SignTransactionsModals/SignWithLedgerModal/index.js +1 -1
  21. package/UI/SignTransactionsModals/SignWithOperaModal/index.js +1 -1
  22. package/UI/SignTransactionsModals/SignWithWalletConnectModal/index.js +1 -1
  23. package/UI/SignTransactionsModals/components/ConfirmationScreen.js +1 -1
  24. package/UI/SignTransactionsModals/components/DeviceConfirmationScreen.js +1 -1
  25. package/UI/SignTransactionsModals/components/TransactionStatusToast.js +1 -1
  26. package/UI/SignTransactionsModals/components/index.js +1 -1
  27. package/UI/SignTransactionsModals/index.js +1 -1
  28. package/UI/TokenDetails/index.js +1 -1
  29. package/UI/TransactionData/index.js +1 -1
  30. package/UI/TransactionDetails/TransactionDetails.js +1 -1
  31. package/UI/TransactionDetails/components/TransactionDetailsBody.js +1 -1
  32. package/UI/TransactionDetails/components/index.js +1 -1
  33. package/UI/TransactionDetails/index.js +1 -1
  34. package/UI/TransactionInfo/TransactionInfo.js +1 -1
  35. package/UI/TransactionInfo/components/AddressDetailItem/AddressDetailitem.js +1 -1
  36. package/UI/TransactionInfo/components/AddressDetailItem/index.js +1 -1
  37. package/UI/TransactionInfo/components/DataDecode/DataDecode.js +1 -1
  38. package/UI/TransactionInfo/components/DataDecode/index.js +1 -1
  39. package/UI/TransactionInfo/components/DataField/DataField.js +1 -1
  40. package/UI/TransactionInfo/components/DataField/index.js +1 -1
  41. package/UI/TransactionInfo/components/EventsList/EventsList.js +1 -1
  42. package/UI/TransactionInfo/components/EventsList/index.js +1 -1
  43. package/UI/TransactionInfo/components/NonceMessage/NonceMessage.js +1 -1
  44. package/UI/TransactionInfo/components/NonceMessage/index.js +1 -1
  45. package/UI/TransactionInfo/components/OperationsList/OperationList.js +1 -1
  46. package/UI/TransactionInfo/components/OperationsList/components/DetailedItem.js +1 -1
  47. package/UI/TransactionInfo/components/OperationsList/components/OperationBlock.js +1 -1
  48. package/UI/TransactionInfo/components/OperationsList/components/OperationRow.js +1 -1
  49. package/UI/TransactionInfo/components/OperationsList/components/OperationText.js +1 -1
  50. package/UI/TransactionInfo/components/OperationsList/components/OperationToken.js +1 -1
  51. package/UI/TransactionInfo/components/OperationsList/components/index.js +1 -1
  52. package/UI/TransactionInfo/components/OperationsList/index.js +1 -1
  53. package/UI/TransactionInfo/components/ScResultsList/ScResultsList.js +1 -1
  54. package/UI/TransactionInfo/components/ScResultsList/components/ResultData/ResultData.js +1 -1
  55. package/UI/TransactionInfo/components/ScResultsList/components/ResultData/index.js +1 -1
  56. package/UI/TransactionInfo/components/ScResultsList/components/ResultHash/ResultHash.js +1 -1
  57. package/UI/TransactionInfo/components/ScResultsList/components/ResultHash/index.js +1 -1
  58. package/UI/TransactionInfo/components/ScResultsList/components/ResultReceiver/ResultReceiver.js +1 -1
  59. package/UI/TransactionInfo/components/ScResultsList/components/ResultReceiver/index.js +1 -1
  60. package/UI/TransactionInfo/components/ScResultsList/components/ResultSender/ResultSender.js +1 -1
  61. package/UI/TransactionInfo/components/ScResultsList/components/ResultSender/index.js +1 -1
  62. package/UI/TransactionInfo/components/ScResultsList/index.js +1 -1
  63. package/UI/TransactionInfo/components/ScrDetailItem/ScrDetailItem.js +1 -1
  64. package/UI/TransactionInfo/components/ScrDetailItem/index.js +1 -1
  65. package/UI/TransactionInfo/components/TransactionAction/TransactionAction.js +1 -1
  66. package/UI/TransactionInfo/components/TransactionAction/components/ActionText/index.js +1 -1
  67. package/UI/TransactionInfo/components/TransactionAction/components/ActionToken.js +1 -1
  68. package/UI/TransactionInfo/components/TransactionAction/components/TransactionActionBlock/components/TransactionActionCollection.js +1 -1
  69. package/UI/TransactionInfo/components/TransactionAction/components/TransactionActionBlock/components/TransactionActionNft.js +1 -1
  70. package/UI/TransactionInfo/components/TransactionAction/components/TransactionActionBlock/components/TransactionActionToken.js +1 -1
  71. package/UI/TransactionInfo/components/TransactionAction/components/TransactionActionBlock/components/index.js +1 -1
  72. package/UI/TransactionInfo/components/TransactionAction/components/TransactionActionBlock/index.js +1 -1
  73. package/UI/TransactionInfo/components/TransactionAction/components/index.js +1 -1
  74. package/UI/TransactionInfo/components/TransactionAction/index.js +1 -1
  75. package/UI/TransactionInfo/components/TransactionLogs/TransactionLogs.js +1 -1
  76. package/UI/TransactionInfo/components/TransactionLogs/index.js +1 -1
  77. package/UI/TransactionInfo/components/TransactionStatus/TransactionStatus.js +1 -1
  78. package/UI/TransactionInfo/components/TransactionStatus/index.js +1 -1
  79. package/UI/TransactionInfo/components/index.js +1 -1
  80. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoAge/TransactionInfoAge.js +1 -1
  81. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoAge/index.js +1 -1
  82. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoEgldPrice/TransactionInfoEgldPrice.js +1 -1
  83. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoEgldPrice/index.js +1 -1
  84. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoFee/TransactionInfoFee.js +1 -1
  85. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoFee/index.js +1 -1
  86. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoFrom/TransactionInfoFrom.js +1 -1
  87. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoFrom/index.js +1 -1
  88. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoGasLimit/TransactionInfoGasLimit.js +1 -1
  89. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoGasLimit/index.js +1 -1
  90. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoGasPrice/TransactionInfoGasPrice.js +1 -1
  91. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoGasPrice/index.js +1 -1
  92. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoGasUsed/TransactionInfoGasUsed.js +1 -1
  93. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoGasUsed/index.js +1 -1
  94. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoInputData/TransactionInfoInputData.js +1 -1
  95. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoInputData/index.js +1 -1
  96. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoMethod/TransactionInfoMethod.js +1 -1
  97. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoMethod/index.js +1 -1
  98. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoMiniblock/TransactionInfoMiniblock.js +1 -1
  99. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoMiniblock/index.js +1 -1
  100. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoNonce/TransactionInfoNonce.js +1 -1
  101. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoNonce/index.js +1 -1
  102. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoScResults/TransactionInfoScResults.js +1 -1
  103. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoScResults/index.js +1 -1
  104. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoStatus/TransactionInfoStatus.js +1 -1
  105. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoStatus/index.js +1 -1
  106. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoTo/TransactionInfoTo.js +1 -1
  107. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoTo/index.js +1 -1
  108. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoTokenOperations/TransactionInfoTokenOperations.js +1 -1
  109. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoTokenOperations/index.js +1 -1
  110. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoValue/TransactionInfoValue.js +1 -1
  111. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoValue/index.js +1 -1
  112. package/UI/TransactionInfo/components/transactionInfoFields/index.js +1 -1
  113. package/UI/TransactionInfo/index.js +1 -1
  114. package/UI/TransactionsTable/TransactionsTable.js +1 -1
  115. package/UI/TransactionsTable/components/LockedTokenAddressIcon.js +1 -1
  116. package/UI/TransactionsTable/components/ScAddressIcon.js +1 -1
  117. package/UI/TransactionsTable/components/ShardSpan.js +1 -1
  118. package/UI/TransactionsTable/components/TransactionHash.js +1 -1
  119. package/UI/TransactionsTable/components/TransactionIcon.js +1 -1
  120. package/UI/TransactionsTable/components/TransactionReceiver.js +1 -1
  121. package/UI/TransactionsTable/components/TransactionRow.js +1 -1
  122. package/UI/TransactionsTable/components/TransactionSender.js +1 -1
  123. package/UI/TransactionsTable/components/TransactionShardsTransition.js +1 -1
  124. package/UI/TransactionsTable/components/TransactionValue/TransactionValue.js +1 -1
  125. package/UI/TransactionsTable/components/TransactionValue/index.js +1 -1
  126. package/UI/TransactionsTable/components/index.js +1 -1
  127. package/UI/TransactionsTable/index.js +1 -1
  128. package/UI/TransactionsToastList/TransactionsToastList.js +1 -1
  129. package/UI/TransactionsToastList/components/CustomToast/CustomToast.js +1 -1
  130. package/UI/TransactionsToastList/components/CustomToast/components/IconToast/IconToast.js +1 -1
  131. package/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/IconToastFooter.js +1 -1
  132. package/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/components/ComponentToastFooter.js +1 -1
  133. package/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/components/TransactionToastFooter.js +1 -1
  134. package/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/components/index.js +1 -1
  135. package/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/index.js +1 -1
  136. package/UI/TransactionsToastList/components/CustomToast/components/IconToast/index.js +1 -1
  137. package/UI/TransactionsToastList/components/CustomToast/components/SimpleToast.js +1 -1
  138. package/UI/TransactionsToastList/components/CustomToast/components/index.js +1 -1
  139. package/UI/TransactionsToastList/components/CustomToast/helpers/getIsTransaction.js +1 -1
  140. package/UI/TransactionsToastList/components/CustomToast/helpers/index.js +1 -1
  141. package/UI/TransactionsToastList/components/CustomToast/helpers/useMemoizedCloseButton.js +1 -1
  142. package/UI/TransactionsToastList/components/CustomToast/index.js +1 -1
  143. package/UI/TransactionsToastList/components/TransactionToast/TransactionToast.js +1 -1
  144. package/UI/TransactionsToastList/components/TransactionToast/components/TransactionToastContent.js +1 -1
  145. package/UI/TransactionsToastList/components/TransactionToast/components/index.js +1 -1
  146. package/UI/TransactionsToastList/components/TransactionToast/hooks/useTransactionToast.js +1 -1
  147. package/UI/TransactionsToastList/components/TransactionToast/index.js +1 -1
  148. package/UI/TransactionsToastList/components/TransactionToast/utils/getToastDataStateByStatus.js +1 -1
  149. package/UI/TransactionsToastList/components/TransactionToast/utils/index.js +1 -1
  150. package/UI/TransactionsToastList/components/TransactionToastGuard.js +1 -1
  151. package/UI/TransactionsToastList/components/index.js +1 -1
  152. package/UI/TransactionsToastList/index.js +1 -1
  153. package/UI/UsdValue/UsdValue.js +1 -1
  154. package/UI/UsdValue/index.js +1 -1
  155. package/UI/extension/ExtensionLoginButton/index.js +1 -1
  156. package/UI/index.js +1 -1
  157. package/UI/ledger/LedgerLoginButton/index.js +1 -1
  158. package/UI/ledger/LedgerLoginContainer/AddressRow.js +1 -1
  159. package/UI/ledger/LedgerLoginContainer/AddressTable.js +1 -1
  160. package/UI/ledger/LedgerLoginContainer/ConfirmAddress.js +1 -1
  161. package/UI/ledger/LedgerLoginContainer/index.js +1 -1
  162. package/UI/ledger/index.js +1 -1
  163. package/UI/operaWallet/OperaWalletLoginButton/index.js +1 -1
  164. package/UI/pages/UnlockPage/index.js +1 -1
  165. package/UI/pages/index.js +1 -1
  166. package/UI/walletConnect/WalletConnectConnectionStatus/WalletConnectConnectionStatus.js +1 -1
  167. package/UI/walletConnect/WalletConnectConnectionStatus/index.js +1 -1
  168. package/UI/walletConnect/WalletConnectLoginButton/index.js +1 -1
  169. package/UI/walletConnect/WalletConnectLoginContainer/index.js +1 -1
  170. package/UI/walletConnect/index.js +1 -1
  171. package/UI/webWallet/WebWalletLoginButton/index.js +1 -1
  172. package/__chunks__/chunk-24L47LFC.js +2 -0
  173. package/__chunks__/chunk-24NXBISC.js +2 -0
  174. package/__chunks__/{chunk-CKON224P.js → chunk-275ET3MG.js} +2 -2
  175. package/__chunks__/chunk-27FOVSG4.js +2 -0
  176. package/__chunks__/{chunk-DJE62XNL.js → chunk-2AUVCAY2.js} +2 -2
  177. package/__chunks__/{chunk-ZJLU56XW.js → chunk-2C4D4BXB.js} +2 -2
  178. package/__chunks__/{chunk-MUARPNJ4.js → chunk-2F2F6SXB.js} +2 -2
  179. package/__chunks__/{chunk-6D3XECJF.js → chunk-2GRUAWVQ.js} +2 -2
  180. package/__chunks__/{chunk-OGM64QGG.js → chunk-2OGSUSTF.js} +2 -2
  181. package/__chunks__/{chunk-YMALAD3K.js → chunk-2VZDXZQ5.js} +2 -2
  182. package/__chunks__/{chunk-QNBNTXIT.js → chunk-2W2FXPJN.js} +2 -2
  183. package/__chunks__/{chunk-KJDC7FVK.js → chunk-33RUZW2A.js} +2 -2
  184. package/__chunks__/{chunk-LT2FAIWS.js → chunk-3FTRTVML.js} +2 -2
  185. package/__chunks__/{chunk-GZYBS3RX.js → chunk-3JKM5GE5.js} +2 -2
  186. package/__chunks__/{chunk-OYESXIST.js → chunk-3LZDI5TU.js} +2 -2
  187. package/__chunks__/{chunk-4BNSTWCX.js → chunk-3M4SIGZT.js} +2 -2
  188. package/__chunks__/{chunk-JZ2Y7SFA.js → chunk-3Z3XQSPU.js} +2 -2
  189. package/__chunks__/{chunk-R7JGMLFZ.js → chunk-45AZIANS.js} +2 -2
  190. package/__chunks__/{chunk-YZSCV3FW.js → chunk-463NLZJE.js} +2 -2
  191. package/__chunks__/{chunk-HLEXPOK5.js → chunk-4BE3NFUD.js} +2 -2
  192. package/__chunks__/chunk-4JUSV4O3.js +2 -0
  193. package/__chunks__/{chunk-BYYVJIPP.js → chunk-4NK74AZF.js} +2 -2
  194. package/__chunks__/{chunk-MSXSTSBP.js → chunk-4PBGN6HU.js} +2 -2
  195. package/__chunks__/{chunk-7XL5MCJK.js → chunk-4QT63WFQ.js} +2 -2
  196. package/__chunks__/{chunk-ZGQSC36F.js → chunk-4QVOURVU.js} +2 -2
  197. package/__chunks__/{chunk-BBQMKL5D.js → chunk-4XDCRJFT.js} +2 -2
  198. package/__chunks__/{chunk-4AOEMKED.js → chunk-5DATHNGR.js} +2 -2
  199. package/__chunks__/chunk-5HEC3YLM.js +2 -0
  200. package/__chunks__/{chunk-BAG2O7IE.js → chunk-5KGYQ5YJ.js} +2 -2
  201. package/__chunks__/{chunk-5CTSV7TH.js → chunk-5LVOAS3B.js} +2 -2
  202. package/__chunks__/{chunk-NHNWAEZU.js → chunk-5MYSV4SO.js} +2 -2
  203. package/__chunks__/{chunk-ESYXEFZ7.js → chunk-5OLXKR6C.js} +2 -2
  204. package/__chunks__/{chunk-H2H3IXYD.js → chunk-5RTST5UL.js} +2 -2
  205. package/__chunks__/{chunk-PYG3OL3F.js → chunk-5VRKUYL5.js} +2 -2
  206. package/__chunks__/{chunk-5MRTWQBG.js → chunk-5ZMUR7H7.js} +2 -2
  207. package/__chunks__/{chunk-DQ2DOR6B.js → chunk-64FKZVXB.js} +2 -2
  208. package/__chunks__/{chunk-AMM27AEW.js → chunk-6D35ISCH.js} +2 -2
  209. package/__chunks__/{chunk-PHI6WXH3.js → chunk-6DXP6E4O.js} +2 -2
  210. package/__chunks__/{chunk-7EY74WNI.js → chunk-6GTXZ4FY.js} +2 -2
  211. package/__chunks__/{chunk-GFGHEH4C.js → chunk-6HLEIPL4.js} +2 -2
  212. package/__chunks__/chunk-6LYP3E7T.js +2 -0
  213. package/__chunks__/{chunk-J5EWZ734.js → chunk-6MI5GXXO.js} +2 -2
  214. package/__chunks__/chunk-6PH5XEI7.js +2 -0
  215. package/__chunks__/{chunk-ACFBL4A7.js → chunk-6QEOI4LP.js} +2 -2
  216. package/__chunks__/{chunk-D2O5MZMR.js → chunk-6QYMQVME.js} +2 -2
  217. package/__chunks__/{chunk-JJP72MAJ.js → chunk-6RHGIGMZ.js} +2 -2
  218. package/__chunks__/{chunk-ZLERNDUF.js → chunk-6ROKDWR7.js} +2 -2
  219. package/__chunks__/{chunk-VEAORVA6.js → chunk-74Q5MYVW.js} +2 -2
  220. package/__chunks__/chunk-7AEDPEBX.js +2 -0
  221. package/__chunks__/{chunk-JS2HC4SX.js → chunk-7WE7OBCZ.js} +2 -2
  222. package/__chunks__/{chunk-SA2UKCJX.js → chunk-7YH5VZS2.js} +2 -2
  223. package/__chunks__/{chunk-KMDMJSTX.js → chunk-A3XBAFZH.js} +2 -2
  224. package/__chunks__/chunk-AE66JOMW.js +2 -0
  225. package/__chunks__/{chunk-JI2RQZZD.js → chunk-AIL4PBA7.js} +2 -2
  226. package/__chunks__/chunk-AL2J7KB6.js +2 -0
  227. package/__chunks__/{chunk-5ZW4DA22.js → chunk-AQ3UNMCA.js} +2 -2
  228. package/__chunks__/chunk-AVGHJOI6.js +2 -0
  229. package/__chunks__/{chunk-UMK6DGBB.js → chunk-AWEYI553.js} +2 -2
  230. package/__chunks__/{chunk-M5D23LEL.js → chunk-B3M2FLWF.js} +2 -2
  231. package/__chunks__/{chunk-WUZCRVSU.js → chunk-B4WCXVUI.js} +2 -2
  232. package/__chunks__/{chunk-U63TNTLR.js → chunk-B7U7C44X.js} +2 -2
  233. package/__chunks__/{chunk-ALN2ZAQY.js → chunk-BGHY6J4G.js} +2 -2
  234. package/__chunks__/{chunk-4B4D6PRI.js → chunk-BHXTZPBC.js} +2 -2
  235. package/__chunks__/{chunk-XXJ64HPL.js → chunk-BK5NO33M.js} +2 -2
  236. package/__chunks__/{chunk-L2UUUYJG.js → chunk-BMHV4H76.js} +2 -2
  237. package/__chunks__/{chunk-3Q7OTNFY.js → chunk-BTPDVQON.js} +2 -2
  238. package/__chunks__/{chunk-V6H2IJKH.js → chunk-BUPVEQ5J.js} +2 -2
  239. package/__chunks__/chunk-C2H5OPTX.js +2 -0
  240. package/__chunks__/{chunk-VMNKME5Q.js → chunk-C34CKSUX.js} +2 -2
  241. package/__chunks__/chunk-C4MQO6LF.js +2 -0
  242. package/__chunks__/{chunk-DUPCI6XE.js → chunk-C5CGNL6I.js} +2 -2
  243. package/__chunks__/{chunk-N6WFQG55.js → chunk-C6XUZNBO.js} +2 -2
  244. package/__chunks__/{chunk-RGS2R63F.js → chunk-CA4Q4MT7.js} +2 -2
  245. package/__chunks__/{chunk-XWRW4TO4.js → chunk-CFRQE7JG.js} +2 -2
  246. package/__chunks__/{chunk-VNODUVFK.js → chunk-CGM7WOQF.js} +2 -2
  247. package/__chunks__/{chunk-KTUPMIFX.js → chunk-CLB447PY.js} +2 -2
  248. package/__chunks__/{chunk-KYEQ3HY7.js → chunk-CLY5MAPE.js} +2 -2
  249. package/__chunks__/{chunk-RUDUNU34.js → chunk-CNPDPX2F.js} +2 -2
  250. package/__chunks__/{chunk-TGRX3YCF.js → chunk-CQGYS7PC.js} +2 -2
  251. package/__chunks__/{chunk-WQ22KG5Y.js → chunk-CZJRRY2I.js} +2 -2
  252. package/__chunks__/{chunk-24SJCJRG.js → chunk-D2DOX7XX.js} +2 -2
  253. package/__chunks__/{chunk-7JLRHOSP.js → chunk-DHHFPYRR.js} +2 -2
  254. package/__chunks__/{chunk-WVNUK67H.js → chunk-DI67V6VC.js} +2 -2
  255. package/__chunks__/{chunk-VOLUHLVM.js → chunk-DNIYPVUV.js} +2 -2
  256. package/__chunks__/chunk-DNOXON3M.js +2 -0
  257. package/__chunks__/chunk-DSFJO624.js +2 -0
  258. package/__chunks__/{chunk-5EGPVDYI.js → chunk-DVOTPSUB.js} +2 -2
  259. package/__chunks__/chunk-DY7CS3RG.js +2 -0
  260. package/__chunks__/{chunk-65KFD325.js → chunk-E2NBQFIC.js} +2 -2
  261. package/__chunks__/{chunk-RFVFASBJ.js → chunk-E5KECQYG.js} +2 -2
  262. package/__chunks__/{chunk-LGYW2J5J.js → chunk-E7ZJLCWM.js} +2 -2
  263. package/__chunks__/{chunk-LVOMPLSI.js → chunk-EAVICDCR.js} +2 -2
  264. package/__chunks__/chunk-EBEYQZIS.js +2 -0
  265. package/__chunks__/{chunk-RRXC3HFG.js → chunk-ECNBTR2P.js} +2 -2
  266. package/__chunks__/chunk-EHBEIKPT.js +2 -0
  267. package/__chunks__/{chunk-BN5PQAN2.js → chunk-ELJRZBUP.js} +2 -2
  268. package/__chunks__/{chunk-OPDO5T3P.js → chunk-ESY2WJZF.js} +2 -2
  269. package/__chunks__/{chunk-VGPEWMQW.js → chunk-EU3M2TPH.js} +2 -2
  270. package/__chunks__/{chunk-SPLIL3ZF.js → chunk-EVHHLVIO.js} +2 -2
  271. package/__chunks__/{chunk-7KR7Q4BZ.js → chunk-EVKVW6OP.js} +2 -2
  272. package/__chunks__/{chunk-EFQAZJYN.js → chunk-F4LPQWRK.js} +2 -2
  273. package/__chunks__/{chunk-JGZCNGRV.js → chunk-FDG3CTJQ.js} +2 -2
  274. package/__chunks__/{chunk-DXOQOQTD.js → chunk-FG7U2ZRB.js} +2 -2
  275. package/__chunks__/{chunk-5XELCN7M.js → chunk-FITCOASE.js} +2 -2
  276. package/__chunks__/chunk-FL42ANFT.js +2 -0
  277. package/__chunks__/chunk-FT6XZQFL.js +2 -0
  278. package/__chunks__/{chunk-52ECK57H.js → chunk-FUMYEVN5.js} +2 -2
  279. package/__chunks__/{chunk-PUO4W3JY.js → chunk-FWTCHRN5.js} +2 -2
  280. package/__chunks__/{chunk-LTDUS257.js → chunk-G5T5SM4B.js} +2 -2
  281. package/__chunks__/{chunk-72FDUWXP.js → chunk-GDEIDSQC.js} +2 -2
  282. package/__chunks__/chunk-GFAN5STZ.js +2 -0
  283. package/__chunks__/{chunk-35VZ6NCK.js → chunk-GHTSBIH4.js} +2 -2
  284. package/__chunks__/chunk-GKSVI6Q5.js +2 -0
  285. package/__chunks__/{chunk-6CORFLG2.js → chunk-GO7NXC6I.js} +2 -2
  286. package/__chunks__/{chunk-OPAGSP3Y.js → chunk-GPQOL7GB.js} +2 -2
  287. package/__chunks__/chunk-GQX2AXPF.js +2 -0
  288. package/__chunks__/{chunk-JP736RXG.js → chunk-GZ7UARPP.js} +2 -2
  289. package/__chunks__/{chunk-XJVQOJZB.js → chunk-H5VMN2B4.js} +2 -2
  290. package/__chunks__/{chunk-KLLXNFCE.js → chunk-HCBNUJGK.js} +2 -2
  291. package/__chunks__/{chunk-J3POMKPU.js → chunk-HCG2PO6Z.js} +2 -2
  292. package/__chunks__/{chunk-FZ3BVOID.js → chunk-HFD6SX7K.js} +2 -2
  293. package/__chunks__/{chunk-NHLZWMC2.js → chunk-HHL5UDTQ.js} +2 -2
  294. package/__chunks__/chunk-HHNOK5PG.js +2 -0
  295. package/__chunks__/{chunk-KFKU4K4H.js → chunk-HKO35JVE.js} +2 -2
  296. package/__chunks__/chunk-HYUP22HC.js +2 -0
  297. package/__chunks__/{chunk-LKJPV45E.js → chunk-I4VYIHJD.js} +2 -2
  298. package/__chunks__/{chunk-TGQUDIQS.js → chunk-I5VKTCVW.js} +2 -2
  299. package/__chunks__/{chunk-IMNJMWNY.js → chunk-ID3NTT4Z.js} +2 -2
  300. package/__chunks__/{chunk-MIUU5UXK.js → chunk-IFVVHVQM.js} +2 -2
  301. package/__chunks__/{chunk-VKLTH4PZ.js → chunk-IJIYT3QB.js} +2 -2
  302. package/__chunks__/chunk-IRBTPHUB.js +2 -0
  303. package/__chunks__/{chunk-FT2IN7BT.js → chunk-ITUIM5G6.js} +2 -2
  304. package/__chunks__/{chunk-5KK3CLWQ.js → chunk-IUSZYBUQ.js} +2 -2
  305. package/__chunks__/{chunk-CLAUUCCC.js → chunk-IWAB24AH.js} +2 -2
  306. package/__chunks__/{chunk-L4CGB34M.js → chunk-J32KR5O6.js} +2 -2
  307. package/__chunks__/{chunk-6LGKAMXK.js → chunk-J56U5IAV.js} +2 -2
  308. package/__chunks__/{chunk-5DV7AOX4.js → chunk-J7M5HUAD.js} +2 -2
  309. package/__chunks__/{chunk-JCMBU43R.js → chunk-JDCJAJD4.js} +2 -2
  310. package/__chunks__/chunk-JHCHULG6.js +2 -0
  311. package/__chunks__/{chunk-SRVNBVIN.js → chunk-JHQFA6YK.js} +2 -2
  312. package/__chunks__/{chunk-PNXAVAWX.js → chunk-JMCMYELN.js} +2 -2
  313. package/__chunks__/{chunk-QQS7BRLY.js → chunk-JNMLUSOK.js} +2 -2
  314. package/__chunks__/{chunk-HEQQ64B6.js → chunk-JPJTXA2G.js} +2 -2
  315. package/__chunks__/{chunk-PADNJI6W.js → chunk-JQYERTXG.js} +2 -2
  316. package/__chunks__/{chunk-32JTIMBG.js → chunk-JUURLCJI.js} +2 -2
  317. package/__chunks__/chunk-JVSYNX7I.js +2 -0
  318. package/__chunks__/{chunk-6IBZJR36.js → chunk-JY3HMAMR.js} +2 -2
  319. package/__chunks__/{chunk-46PCNA3N.js → chunk-JZNLILZQ.js} +2 -2
  320. package/__chunks__/{chunk-QN2Y4SM6.js → chunk-K7WZNW5X.js} +2 -2
  321. package/__chunks__/{chunk-YKNQQTMV.js → chunk-KN53GKZX.js} +2 -2
  322. package/__chunks__/{chunk-JR6NRUWF.js → chunk-KOQXMQSP.js} +2 -2
  323. package/__chunks__/{chunk-OJC5LON4.js → chunk-KV4BYCDF.js} +2 -2
  324. package/__chunks__/{chunk-2WCENO6D.js → chunk-KWMPPLTR.js} +2 -2
  325. package/__chunks__/{chunk-TF77GIBC.js → chunk-LNOKECRH.js} +2 -2
  326. package/__chunks__/{chunk-CXMSIGN3.js → chunk-LTJVHYYW.js} +2 -2
  327. package/__chunks__/{chunk-EWWRMWGQ.js → chunk-LVWF5CKD.js} +2 -2
  328. package/__chunks__/chunk-LW7U3EUB.js +2 -0
  329. package/__chunks__/{chunk-R6OGIXW3.js → chunk-LWAL5OMN.js} +2 -2
  330. package/__chunks__/{chunk-TMUOMOCN.js → chunk-LYN37XH5.js} +2 -2
  331. package/__chunks__/{chunk-BPPVSU25.js → chunk-M233YJDK.js} +1 -1
  332. package/__chunks__/{chunk-PEA6B2ZZ.js → chunk-M3DCFIB7.js} +2 -2
  333. package/__chunks__/{chunk-NUNUM2A2.js → chunk-M5BOIA6B.js} +2 -2
  334. package/__chunks__/chunk-M7T4AUBP.js +2 -0
  335. package/__chunks__/{chunk-QH27B2OC.js → chunk-MC7RXBF4.js} +2 -2
  336. package/__chunks__/{chunk-VLHTKYIW.js → chunk-ME4CQMKT.js} +2 -2
  337. package/__chunks__/chunk-MFT36UPJ.js +2 -0
  338. package/__chunks__/{chunk-CQVMLDWA.js → chunk-MM5XW7VA.js} +2 -2
  339. package/__chunks__/{chunk-Z4CVKFHQ.js → chunk-MTWKFHRA.js} +2 -2
  340. package/__chunks__/chunk-MX3CY6TB.js +2 -0
  341. package/__chunks__/{chunk-DEO64IOA.js → chunk-MXMO5VOA.js} +2 -2
  342. package/__chunks__/{chunk-YTSEILVL.js → chunk-MY5N6ROI.js} +2 -2
  343. package/__chunks__/chunk-N5EEQD2P.js +2 -0
  344. package/__chunks__/{chunk-KU6GMEDW.js → chunk-NA7BBONT.js} +2 -2
  345. package/__chunks__/{chunk-RLOOYBXD.js → chunk-NALUFJK4.js} +2 -2
  346. package/__chunks__/chunk-NHZC5PWW.js +2 -0
  347. package/__chunks__/{chunk-X7KSFJQK.js → chunk-NKWA6FJW.js} +2 -2
  348. package/__chunks__/{chunk-CVSHXU7I.js → chunk-NTPWI3LZ.js} +2 -2
  349. package/__chunks__/chunk-NUQWOH62.js +2 -0
  350. package/__chunks__/chunk-O76SO5NN.js +2 -0
  351. package/__chunks__/chunk-OBCFAKCR.js +2 -0
  352. package/__chunks__/chunk-OCH5X6XJ.js +2 -0
  353. package/__chunks__/{chunk-ZUXEYBK5.js → chunk-OCIFQ26I.js} +2 -2
  354. package/__chunks__/{chunk-NDKKNO3E.js → chunk-OGY2VJHG.js} +2 -2
  355. package/__chunks__/{chunk-NR5NGCMG.js → chunk-OJUAVBN4.js} +2 -2
  356. package/__chunks__/chunk-OKGLECMC.js +2 -0
  357. package/__chunks__/chunk-OLI3TNCJ.js +2 -0
  358. package/__chunks__/{chunk-HED7LZVU.js → chunk-OQ2YXDWR.js} +2 -2
  359. package/__chunks__/{chunk-YANNTW2Q.js → chunk-OQ3JVDP4.js} +2 -2
  360. package/__chunks__/{chunk-UORGIPVL.js → chunk-OQUCU64T.js} +2 -2
  361. package/__chunks__/{chunk-BACKWDOJ.js → chunk-ORCYEIJZ.js} +2 -2
  362. package/__chunks__/chunk-OT7R2NEQ.js +2 -0
  363. package/__chunks__/chunk-OZBDF76V.js +2 -0
  364. package/__chunks__/{chunk-PDWYQFPS.js → chunk-P24VSIZF.js} +2 -2
  365. package/__chunks__/{chunk-W4GZJ24H.js → chunk-P2KRF4TX.js} +2 -2
  366. package/__chunks__/{chunk-TLCTBY2K.js → chunk-P4ZLCGAX.js} +2 -2
  367. package/__chunks__/chunk-PLVN6R4K.js +2 -0
  368. package/__chunks__/{chunk-CSSOPAY3.js → chunk-PRBT2JHG.js} +2 -2
  369. package/__chunks__/chunk-PV4P32HG.js +2 -0
  370. package/__chunks__/{chunk-43MYPOBW.js → chunk-PXLDGKC4.js} +2 -2
  371. package/__chunks__/{chunk-KBFFGMRC.js → chunk-PYNDT3DJ.js} +2 -2
  372. package/__chunks__/{chunk-CWCTVSSE.js → chunk-Q7HPUVKJ.js} +2 -2
  373. package/__chunks__/{chunk-UY7WU4RX.js → chunk-QE6MZGN5.js} +2 -2
  374. package/__chunks__/{chunk-ZGUGCPPH.js → chunk-QFLGG2EQ.js} +2 -2
  375. package/__chunks__/{chunk-D5K7WBRB.js → chunk-QGZR4AIT.js} +2 -2
  376. package/__chunks__/{chunk-O3DTNAEY.js → chunk-QSHIJADJ.js} +2 -2
  377. package/__chunks__/{chunk-RCHL72K4.js → chunk-QWWOCHOY.js} +2 -2
  378. package/__chunks__/{chunk-G2OLVYAC.js → chunk-QWZX4YJN.js} +2 -2
  379. package/__chunks__/{chunk-CEU34V6N.js → chunk-R2TDBDEX.js} +2 -2
  380. package/__chunks__/{chunk-3F3GOL42.js → chunk-R5AZ5VME.js} +2 -2
  381. package/__chunks__/chunk-RF7HMR74.js +2 -0
  382. package/__chunks__/{chunk-GBAACFEX.js → chunk-RYJFVB3O.js} +2 -2
  383. package/__chunks__/{chunk-FQ72GI3P.js → chunk-SF4HPDHQ.js} +2 -2
  384. package/__chunks__/{chunk-K5EF6Y3F.js → chunk-SHWQX35Z.js} +2 -2
  385. package/__chunks__/{chunk-U2XXWBAJ.js → chunk-SK3C6ZOZ.js} +2 -2
  386. package/__chunks__/{chunk-3M4QTTV7.js → chunk-SMYUEECP.js} +2 -2
  387. package/__chunks__/{chunk-S75EYWKY.js → chunk-SP5SBX3P.js} +2 -2
  388. package/__chunks__/{chunk-XX2BDOLP.js → chunk-SPD45ZEH.js} +2 -2
  389. package/__chunks__/{chunk-N4WBG64L.js → chunk-SQDL2UBG.js} +2 -2
  390. package/__chunks__/chunk-SW27GSXL.js +2 -0
  391. package/__chunks__/{chunk-THATLRXI.js → chunk-TKGUBRTO.js} +2 -2
  392. package/__chunks__/{chunk-ZUKUDAXO.js → chunk-TMIKWYU6.js} +2 -2
  393. package/__chunks__/chunk-TQPEOA25.js +2 -0
  394. package/__chunks__/{chunk-ZETCVO2R.js → chunk-TR2J6DEL.js} +2 -2
  395. package/__chunks__/{chunk-PKNLHLMK.js → chunk-TU5N4L3F.js} +2 -2
  396. package/__chunks__/{chunk-B4AJMI3T.js → chunk-TWBQ7KS3.js} +2 -2
  397. package/__chunks__/{chunk-CV6LTYEN.js → chunk-UB4DU6IY.js} +2 -2
  398. package/__chunks__/{chunk-ZUBYGCI6.js → chunk-UGG4ZVT7.js} +2 -2
  399. package/__chunks__/{chunk-HUHBWTGV.js → chunk-UHNAW66J.js} +2 -2
  400. package/__chunks__/{chunk-W4BJGGSU.js → chunk-UIMOFTYA.js} +2 -2
  401. package/__chunks__/{chunk-CB3TM7NC.js → chunk-UJNUZKVY.js} +2 -2
  402. package/__chunks__/{chunk-WL5XAOJQ.js → chunk-UNC4ZPZ7.js} +2 -2
  403. package/__chunks__/{chunk-QXVU5FGO.js → chunk-USGR36BQ.js} +2 -2
  404. package/__chunks__/{chunk-SNGAFUP6.js → chunk-UV3BQKFK.js} +2 -2
  405. package/__chunks__/{chunk-HKOVN6MG.js → chunk-V3X7UG2C.js} +2 -2
  406. package/__chunks__/{chunk-COUZONBL.js → chunk-V5QSDNY3.js} +2 -2
  407. package/__chunks__/{chunk-XMM4AD2U.js → chunk-V7ACSO4O.js} +2 -2
  408. package/__chunks__/chunk-VMD67BF6.js +2 -0
  409. package/__chunks__/{chunk-JJ5TU65J.js → chunk-VXWN2IY4.js} +2 -2
  410. package/__chunks__/{chunk-KXYOZZWH.js → chunk-WA5XP3EV.js} +2 -2
  411. package/__chunks__/{chunk-QMFN5L42.js → chunk-WEA4C5X7.js} +2 -2
  412. package/__chunks__/{chunk-IINAI2T7.js → chunk-WFMSTO6P.js} +2 -2
  413. package/__chunks__/{chunk-4UQWT5ZQ.js → chunk-WHJDOGU7.js} +2 -2
  414. package/__chunks__/{chunk-YNWHJAAC.js → chunk-WJF3CIOE.js} +2 -2
  415. package/__chunks__/{chunk-7ATRC2HC.js → chunk-WNSPURWS.js} +2 -2
  416. package/__chunks__/{chunk-GDDIVHLD.js → chunk-WOHL234A.js} +2 -2
  417. package/__chunks__/chunk-WQV4NSZG.js +2 -0
  418. package/__chunks__/{chunk-AUMJWTVL.js → chunk-WRO6THDA.js} +2 -2
  419. package/__chunks__/chunk-WTMHDI3F.js +2 -0
  420. package/__chunks__/{chunk-7VAMMQBW.js → chunk-WXYQ5GK4.js} +2 -2
  421. package/__chunks__/{chunk-FULWXGZA.js → chunk-X2VKBIHG.js} +2 -2
  422. package/__chunks__/{chunk-LPOKARPF.js → chunk-XCEK2L6C.js} +2 -2
  423. package/__chunks__/{chunk-G5FPMOKK.js → chunk-XHD63UMY.js} +2 -2
  424. package/__chunks__/{chunk-BJLACGZ2.js → chunk-XKG6MJJF.js} +2 -2
  425. package/__chunks__/{chunk-GZH3R2XH.js → chunk-XRI4KXUU.js} +2 -2
  426. package/__chunks__/{chunk-V2L6I47E.js → chunk-XW22FF2X.js} +2 -2
  427. package/__chunks__/chunk-XWZAWT7G.js +2 -0
  428. package/__chunks__/{chunk-QX22NYVR.js → chunk-Y3NLPZAR.js} +2 -2
  429. package/__chunks__/{chunk-RULY5VOQ.js → chunk-YB4BVMRP.js} +2 -2
  430. package/__chunks__/{chunk-C5LKGARX.js → chunk-YPXBAXJG.js} +2 -2
  431. package/__chunks__/{chunk-JSOZJSKF.js → chunk-YRXFSVU4.js} +2 -2
  432. package/__chunks__/chunk-YSQKUC2C.js +2 -0
  433. package/__chunks__/{chunk-RQJTGIXR.js → chunk-YT6MEERZ.js} +2 -2
  434. package/__chunks__/{chunk-RHJRKQLW.js → chunk-YUW6HFTC.js} +2 -2
  435. package/__chunks__/{chunk-JH6JZ4CB.js → chunk-YZLRTQIA.js} +2 -2
  436. package/__chunks__/{chunk-TKL5MHDO.js → chunk-Z2W42GR6.js} +2 -2
  437. package/__chunks__/{chunk-2L5WU6KF.js → chunk-Z5HOLA7Z.js} +2 -2
  438. package/__chunks__/{chunk-GVQUOFTI.js → chunk-ZEN5RLW4.js} +2 -2
  439. package/__chunks__/{chunk-TRBGUYRQ.js → chunk-ZERBKBEF.js} +2 -2
  440. package/__chunks__/{chunk-BOW2EG2N.js → chunk-ZFOGJLJ6.js} +2 -2
  441. package/__chunks__/{chunk-HWHFIUZU.js → chunk-ZJ6WAYTZ.js} +2 -2
  442. package/__chunks__/{chunk-IJJ232SS.js → chunk-ZXAUVMQ6.js} +2 -2
  443. package/__chunks__/{chunk-GSMMBXTD.js → chunk-ZYBZKJ66.js} +2 -2
  444. package/__chunks__/{chunk-NL2BF2BK.js → chunk-ZYXYZADX.js} +2 -2
  445. package/__chunks__/{chunk-5RYOEKY5.js → chunk-ZZ4XEJL7.js} +2 -2
  446. package/__commonjs/UI/DappModal/hooks/index.js +1 -1
  447. package/__commonjs/UI/DappModal/hooks/useDappModal.js +1 -1
  448. package/__commonjs/UI/DappModal/index.js +1 -1
  449. package/__commonjs/UI/ModalContainer/ModalContainer.js +1 -1
  450. package/__commonjs/UI/ModalContainer/index.js +1 -1
  451. package/__commonjs/UI/NotificationModal/index.js +1 -1
  452. package/__commonjs/UI/ScamPhishingAlert/ScamPhishingAlert.js +2 -2
  453. package/__commonjs/UI/ScamPhishingAlert/index.js +2 -2
  454. package/__commonjs/UI/SignTransactionsModals/SignTransactionsModals.js +22 -22
  455. package/__commonjs/UI/SignTransactionsModals/SignWithDeviceModal/SignStep.js +1 -1
  456. package/__commonjs/UI/SignTransactionsModals/SignWithDeviceModal/index.js +1 -1
  457. package/__commonjs/UI/SignTransactionsModals/SignWithExtensionModal/index.js +1 -1
  458. package/__commonjs/UI/SignTransactionsModals/SignWithLedgerModal/index.js +1 -1
  459. package/__commonjs/UI/SignTransactionsModals/SignWithOperaModal/index.js +1 -1
  460. package/__commonjs/UI/SignTransactionsModals/SignWithWalletConnectModal/index.js +4 -4
  461. package/__commonjs/UI/SignTransactionsModals/components/ConfirmationScreen.js +1 -1
  462. package/__commonjs/UI/SignTransactionsModals/components/DeviceConfirmationScreen.js +1 -1
  463. package/__commonjs/UI/SignTransactionsModals/components/index.js +1 -1
  464. package/__commonjs/UI/SignTransactionsModals/index.js +22 -22
  465. package/__commonjs/UI/TransactionInfo/TransactionInfo.js +1 -1
  466. package/__commonjs/UI/TransactionInfo/components/NonceMessage/NonceMessage.js +1 -1
  467. package/__commonjs/UI/TransactionInfo/components/NonceMessage/index.js +1 -1
  468. package/__commonjs/UI/TransactionInfo/components/index.js +1 -1
  469. package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoNonce/TransactionInfoNonce.js +1 -1
  470. package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoNonce/index.js +1 -1
  471. package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/index.js +1 -1
  472. package/__commonjs/UI/TransactionInfo/index.js +1 -1
  473. package/__commonjs/UI/TransactionsTable/TransactionsTable.js +1 -1
  474. package/__commonjs/UI/TransactionsTable/index.js +1 -1
  475. package/__commonjs/UI/TransactionsToastList/TransactionsToastList.js +1 -1
  476. package/__commonjs/UI/TransactionsToastList/components/TransactionToast/TransactionToast.js +8 -8
  477. package/__commonjs/UI/TransactionsToastList/components/TransactionToast/hooks/useTransactionToast.js +2 -2
  478. package/__commonjs/UI/TransactionsToastList/components/TransactionToast/index.js +8 -8
  479. package/__commonjs/UI/TransactionsToastList/components/TransactionToastGuard.js +1 -1
  480. package/__commonjs/UI/TransactionsToastList/components/index.js +1 -1
  481. package/__commonjs/UI/TransactionsToastList/index.js +1 -1
  482. package/__commonjs/UI/extension/ExtensionLoginButton/index.js +1 -1
  483. package/__commonjs/UI/index.js +69 -69
  484. package/__commonjs/UI/ledger/LedgerLoginButton/index.js +15 -15
  485. package/__commonjs/UI/ledger/LedgerLoginContainer/ConfirmAddress.js +1 -1
  486. package/__commonjs/UI/ledger/LedgerLoginContainer/index.js +14 -14
  487. package/__commonjs/UI/ledger/index.js +15 -15
  488. package/__commonjs/UI/operaWallet/OperaWalletLoginButton/index.js +1 -1
  489. package/__commonjs/UI/pages/UnlockPage/index.js +18 -18
  490. package/__commonjs/UI/pages/index.js +18 -18
  491. package/__commonjs/UI/walletConnect/WalletConnectLoginButton/index.js +7 -7
  492. package/__commonjs/UI/walletConnect/WalletConnectLoginContainer/index.js +6 -6
  493. package/__commonjs/UI/walletConnect/index.js +7 -7
  494. package/__commonjs/UI/webWallet/WebWalletLoginButton/index.js +1 -1
  495. package/__commonjs/__mocks__/index.js +1 -1
  496. package/__commonjs/__mocks__/server.js +1 -1
  497. package/__commonjs/__mocks__/utils/index.js +1 -1
  498. package/__commonjs/__mocks__/utils/renderWithProvider.js +1 -1
  499. package/__commonjs/components/LogoutListener/LogoutListener.js +1 -1
  500. package/__commonjs/components/LogoutListener/helpers/index.js +1 -1
  501. package/__commonjs/components/LogoutListener/helpers/useLogoutFromMultipleTabs.js +1 -1
  502. package/__commonjs/components/LogoutListener/helpers/useNativeAuthLogout.js +1 -1
  503. package/__commonjs/components/LogoutListener/helpers/useNativeAuthLogoutWarning/index.js +1 -1
  504. package/__commonjs/components/LogoutListener/helpers/useNativeAuthLogoutWarning/useNativeAuthLogoutWarning.js +1 -1
  505. package/__commonjs/components/LogoutListener/index.js +1 -1
  506. package/__commonjs/components/ProviderInitializer.js +1 -1
  507. package/__commonjs/components/TransactionsTracker/TransactionTracker.js +1 -1
  508. package/__commonjs/components/TransactionsTracker/index.js +1 -1
  509. package/__commonjs/components/TransactionsTracker/useTransactionsTracker.js +1 -1
  510. package/__commonjs/hooks/index.js +1 -1
  511. package/__commonjs/hooks/login/index.js +1 -1
  512. package/__commonjs/hooks/login/useExtensionLogin.js +1 -1
  513. package/__commonjs/hooks/login/useLedgerLogin.js +1 -1
  514. package/__commonjs/hooks/login/useLoginService.js +1 -1
  515. package/__commonjs/hooks/login/useOperaLogin.js +1 -1
  516. package/__commonjs/hooks/login/useWalletConnectLogin.js +1 -1
  517. package/__commonjs/hooks/login/useWalletConnectV2Login.js +1 -1
  518. package/__commonjs/hooks/login/useWebViewLogin.js +1 -1
  519. package/__commonjs/hooks/login/useWebWalletLogin.js +1 -1
  520. package/__commonjs/hooks/signMessage/index.js +1 -1
  521. package/__commonjs/hooks/signMessage/{useVerifyMessage.js → verifyMessage.js} +2 -2
  522. package/__commonjs/hooks/transactions/index.js +1 -1
  523. package/__commonjs/hooks/transactions/useTrackTransactionStatus.js +1 -1
  524. package/__commonjs/providers/webviewProvider/index.js +1 -1
  525. package/__commonjs/providers/webviewProvider/requestMethods.js +1 -1
  526. package/__commonjs/providers/webviewProvider/webviewProvider.js +1 -1
  527. package/__commonjs/reduxStore/commonActions.js +1 -1
  528. package/__commonjs/reduxStore/persistedRootReducer.js +1 -1
  529. package/__commonjs/reduxStore/slices/dappModalsSlice.js +1 -1
  530. package/__commonjs/services/index.js +1 -1
  531. package/__commonjs/services/nativeAuth/helpers/decodeNativeAuthToken.js +1 -1
  532. package/__commonjs/services/nativeAuth/helpers/getLatestBlockHash.js +1 -1
  533. package/__commonjs/services/nativeAuth/helpers/index.js +1 -1
  534. package/__commonjs/services/nativeAuth/helpers/loginWithNativeAuthToken.js +1 -1
  535. package/__commonjs/services/nativeAuth/index.js +1 -1
  536. package/__commonjs/services/nativeAuth/methods/getNativeAuthConfig.js +1 -1
  537. package/__commonjs/services/nativeAuth/methods/getTokenExpiration.js +1 -1
  538. package/__commonjs/services/nativeAuth/methods/index.js +1 -1
  539. package/__commonjs/services/nativeAuth/nativeAuth.js +1 -1
  540. package/__commonjs/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/helpers/getValueFromActions.js +1 -1
  541. package/__commonjs/wrappers/DappProvider/CustomComponents.js +1 -1
  542. package/__commonjs/wrappers/DappProvider/index.js +1 -1
  543. package/__commonjs/wrappers/index.js +1 -1
  544. package/__mocks__/accountConfig.js +1 -1
  545. package/__mocks__/index.js +1 -1
  546. package/__mocks__/server.js +1 -1
  547. package/__mocks__/utils/index.js +1 -1
  548. package/__mocks__/utils/renderWithProvider.js +1 -1
  549. package/apiCalls/accounts/getAccountFromApi.js +1 -1
  550. package/apiCalls/accounts/index.js +1 -1
  551. package/apiCalls/configuration/getApiAddressForChainId.js +1 -1
  552. package/apiCalls/configuration/getEnvironmentForChainId.js +1 -1
  553. package/apiCalls/configuration/getNetworkConfig.js +1 -1
  554. package/apiCalls/configuration/getServerConfigurationForEnvironment.js +1 -1
  555. package/apiCalls/configuration/index.js +1 -1
  556. package/apiCalls/getScamAddressData.js +1 -1
  557. package/apiCalls/index.js +1 -1
  558. package/apiCalls/transactions/getTransactionsByHashes.js +1 -1
  559. package/apiCalls/transactions/index.js +1 -1
  560. package/apiCalls/transactions/sendSignedTransactions.js +1 -1
  561. package/apiCalls/utils/getCleanApiAddress.js +1 -1
  562. package/apiCalls/utils/index.js +1 -1
  563. package/components/LogoutListener/LogoutListener.js +1 -1
  564. package/components/LogoutListener/helpers/index.js +1 -1
  565. package/components/LogoutListener/helpers/useLogoutFromMultipleTabs.js +1 -1
  566. package/components/LogoutListener/helpers/useNativeAuthLogout.js +1 -1
  567. package/components/LogoutListener/helpers/useNativeAuthLogoutWarning/index.js +1 -1
  568. package/components/LogoutListener/helpers/useNativeAuthLogoutWarning/useNativeAuthLogoutWarning.js +1 -1
  569. package/components/LogoutListener/index.js +1 -1
  570. package/components/ProviderInitializer.js +1 -1
  571. package/components/TransactionSender/TransactionSender.js +1 -1
  572. package/components/TransactionSender/index.js +1 -1
  573. package/components/TransactionStatusToast/FailedTransactionStatusToast.js +1 -1
  574. package/components/TransactionsTracker/TransactionTracker.js +1 -1
  575. package/components/TransactionsTracker/index.js +1 -1
  576. package/components/TransactionsTracker/useTransactionsTracker.js +1 -1
  577. package/constants/index.js +1 -1
  578. package/constants/network.js +1 -1
  579. package/hooks/account/index.js +1 -1
  580. package/hooks/account/useGetAccount.js +1 -1
  581. package/hooks/account/useGetAccountInfo.js +1 -1
  582. package/hooks/account/useGetAccountProvider.js +1 -1
  583. package/hooks/account/useGetIsLoggedIn.js +1 -1
  584. package/hooks/account/useGetLoginInfo.js +1 -1
  585. package/hooks/account/useGetWebsocketEvent.js +1 -1
  586. package/hooks/index.js +1 -1
  587. package/hooks/login/index.js +1 -1
  588. package/hooks/login/useExtensionLogin.js +1 -1
  589. package/hooks/login/useLedgerLogin.js +1 -1
  590. package/hooks/login/useLoginService.d.ts +1 -1
  591. package/hooks/login/useLoginService.js +1 -1
  592. package/hooks/login/useOperaLogin.js +1 -1
  593. package/hooks/login/useWalletConnectLogin.js +1 -1
  594. package/hooks/login/useWalletConnectV2Login.js +1 -1
  595. package/hooks/login/useWebViewLogin.js +1 -1
  596. package/hooks/login/useWebWalletLogin.js +1 -1
  597. package/hooks/signMessage/index.d.ts +1 -1
  598. package/hooks/signMessage/index.js +1 -1
  599. package/hooks/signMessage/useGetLastSignedMessageSession.js +1 -1
  600. package/hooks/signMessage/useGetSignMessageSession.js +1 -1
  601. package/hooks/signMessage/useGetSignedMessageStatus.js +1 -1
  602. package/hooks/signMessage/useSignMessage.js +1 -1
  603. package/hooks/signMessage/verifyMessage.d.ts +6 -0
  604. package/hooks/signMessage/verifyMessage.js +2 -0
  605. package/hooks/transactions/helpers/getShouldMoveTransactionsToSignedState.js +1 -1
  606. package/hooks/transactions/helpers/index.js +1 -1
  607. package/hooks/transactions/helpers/useClearTransactionsToSignWithWarning.js +1 -1
  608. package/hooks/transactions/helpers/useSetTransactionNonces.js +1 -1
  609. package/hooks/transactions/index.js +1 -1
  610. package/hooks/transactions/useCancelWalletConnectAction.js +1 -1
  611. package/hooks/transactions/useCheckTransactionStatus/checkBatch.js +1 -1
  612. package/hooks/transactions/useCheckTransactionStatus/index.js +1 -1
  613. package/hooks/transactions/useCheckTransactionStatus/manageFailedTransactions.js +1 -1
  614. package/hooks/transactions/useCheckTransactionStatus/manageTimedOutTransactions.js +1 -1
  615. package/hooks/transactions/useCheckTransactionStatus/useCheckTransactionStatus.js +1 -1
  616. package/hooks/transactions/useGetActiveTransactionsStatus.js +1 -1
  617. package/hooks/transactions/useGetFailedTransactions.js +1 -1
  618. package/hooks/transactions/useGetPendingTransactions.js +1 -1
  619. package/hooks/transactions/useGetSignTransactionsError.js +1 -1
  620. package/hooks/transactions/useGetSignedTransactions.js +1 -1
  621. package/hooks/transactions/useGetSuccessfulTransactions.js +1 -1
  622. package/hooks/transactions/useGetTokenDetails.js +1 -1
  623. package/hooks/transactions/useGetTransactionDisplayInfo.js +1 -1
  624. package/hooks/transactions/useParseMultiEsdtTransferData.js +1 -1
  625. package/hooks/transactions/useParseSignedTransactions.js +1 -1
  626. package/hooks/transactions/useSignMultipleTransactions.js +1 -1
  627. package/hooks/transactions/useSignTransactions.js +1 -1
  628. package/hooks/transactions/useSignTransactionsCommonData.js +1 -1
  629. package/hooks/transactions/useSignTransactionsWithDevice.js +1 -1
  630. package/hooks/transactions/useSignTransactionsWithLedger.js +1 -1
  631. package/hooks/transactions/useTrackTransactionStatus.js +1 -1
  632. package/hooks/useGetNetworkConfig.js +1 -1
  633. package/hooks/useGetNotification.js +1 -1
  634. package/hooks/userInterface/index.js +1 -1
  635. package/hooks/userInterface/useIsDappModalVisible.js +1 -1
  636. package/hooks/websocketListener/index.js +1 -1
  637. package/hooks/websocketListener/useInitializeWebsocketConnection.js +1 -1
  638. package/hooks/websocketListener/useRegisterWebsocketListener.js +1 -1
  639. package/models/index.js +1 -1
  640. package/models/newTransaction.js +1 -1
  641. package/package.json +2 -2
  642. package/providers/accountProvider.js +1 -1
  643. package/providers/index.js +1 -1
  644. package/providers/utils.js +1 -1
  645. package/providers/webviewProvider/index.js +1 -1
  646. package/providers/webviewProvider/requestMethods.js +1 -1
  647. package/providers/webviewProvider/webviewProvider.js +1 -1
  648. package/reduxStore/DappProviderContext.js +1 -1
  649. package/reduxStore/commonActions.js +1 -1
  650. package/reduxStore/middlewares/loginSessionMiddleware.js +1 -1
  651. package/reduxStore/persistConfig.js +1 -1
  652. package/reduxStore/persistedRootReducer.js +1 -1
  653. package/reduxStore/reducers.js +1 -1
  654. package/reduxStore/rootReducer.js +1 -1
  655. package/reduxStore/selectors/accountInfoSelectors.js +1 -1
  656. package/reduxStore/selectors/dappModalsSelectors.js +1 -1
  657. package/reduxStore/selectors/helpers.js +1 -1
  658. package/reduxStore/selectors/index.js +1 -1
  659. package/reduxStore/selectors/loginInfoSelectors.js +1 -1
  660. package/reduxStore/selectors/modalsSelectors.js +1 -1
  661. package/reduxStore/selectors/networkConfigSelectors.js +1 -1
  662. package/reduxStore/selectors/signedMessageInfoSelectors.js +1 -1
  663. package/reduxStore/selectors/toastsSelectors.js +1 -1
  664. package/reduxStore/selectors/transactionsInfoSelectors.js +1 -1
  665. package/reduxStore/selectors/transactionsSelectors.js +1 -1
  666. package/reduxStore/slices/accountInfoSlice.js +1 -1
  667. package/reduxStore/slices/dappModalsSlice.js +1 -1
  668. package/reduxStore/slices/index.js +1 -1
  669. package/reduxStore/slices/loginInfoSlice.js +1 -1
  670. package/reduxStore/slices/modalsSlice.js +1 -1
  671. package/reduxStore/slices/signedMessageInfoSlice.js +1 -1
  672. package/reduxStore/slices/toastsSlice.js +1 -1
  673. package/reduxStore/slices/transactionsInfoSlice.js +1 -1
  674. package/reduxStore/slices/transactionsSlice.js +1 -1
  675. package/reduxStore/store.js +1 -1
  676. package/services/index.js +1 -1
  677. package/services/nativeAuth/helpers/decodeNativeAuthToken.d.ts +1 -1
  678. package/services/nativeAuth/helpers/decodeNativeAuthToken.js +1 -1
  679. package/services/nativeAuth/helpers/getLatestBlockHash.js +1 -1
  680. package/services/nativeAuth/helpers/index.js +1 -1
  681. package/services/nativeAuth/helpers/loginWithNativeAuthToken.js +1 -1
  682. package/services/nativeAuth/index.js +1 -1
  683. package/services/nativeAuth/methods/getNativeAuthConfig.d.ts +1 -1
  684. package/services/nativeAuth/methods/getNativeAuthConfig.js +1 -1
  685. package/services/nativeAuth/methods/getToken.js +1 -1
  686. package/services/nativeAuth/methods/getTokenExpiration.js +1 -1
  687. package/services/nativeAuth/methods/index.js +1 -1
  688. package/services/nativeAuth/nativeAuth.d.ts +1 -1
  689. package/services/nativeAuth/nativeAuth.js +1 -1
  690. package/services/transactions/clearTransactions.js +1 -1
  691. package/services/transactions/index.js +1 -1
  692. package/services/transactions/isCrossShardTransaction.js +1 -1
  693. package/services/transactions/sendTransactions.js +1 -1
  694. package/services/transactions/signTransactions.js +1 -1
  695. package/services/transactions/transformAndSignTransactions.js +1 -1
  696. package/services/transactions/utils.js +1 -1
  697. package/types/index.js +1 -1
  698. package/types/login.types.d.ts +1 -1
  699. package/types/login.types.js +1 -1
  700. package/utils/account/getAccount.js +1 -1
  701. package/utils/account/getAccountBalance.js +1 -1
  702. package/utils/account/getAccountProviderType.js +1 -1
  703. package/utils/account/getAccountShard.js +1 -1
  704. package/utils/account/getAddress.js +1 -1
  705. package/utils/account/getIsProviderEqualTo.js +1 -1
  706. package/utils/account/getLatestNonce.js +1 -1
  707. package/utils/account/getShardOfAddress.js +1 -1
  708. package/utils/account/index.js +1 -1
  709. package/utils/account/loginWithExternalProvider.js +1 -1
  710. package/utils/account/refreshAccount.js +1 -1
  711. package/utils/account/setNonce.js +1 -1
  712. package/utils/account/signMessage.js +1 -1
  713. package/utils/getIsLoggedIn.js +1 -1
  714. package/utils/index.js +1 -1
  715. package/utils/logout.js +1 -1
  716. package/utils/network/getChainID.js +1 -1
  717. package/utils/network/getEgldLabel.js +1 -1
  718. package/utils/network/getNetworkConfig.js +1 -1
  719. package/utils/network/index.js +1 -1
  720. package/utils/operations/calculateFeeLimit.js +1 -1
  721. package/utils/operations/denominate.js +1 -1
  722. package/utils/operations/formatAmount.js +1 -1
  723. package/utils/operations/index.js +1 -1
  724. package/utils/operations/nominate.js +1 -1
  725. package/utils/operations/parseAmount.js +1 -1
  726. package/utils/smartContracts.js +1 -1
  727. package/utils/toasts/customToastsActions.js +1 -1
  728. package/utils/toasts/index.js +1 -1
  729. package/utils/transactions/getAllTransactionsLink.js +1 -1
  730. package/utils/transactions/getAreTransactionsOnSameShard.js +1 -1
  731. package/utils/transactions/getInterpretedTransaction/getInterpretedTransaction.js +1 -1
  732. package/utils/transactions/getInterpretedTransaction/helpers/getReceiptMessage.js +1 -1
  733. package/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/getTransactionValue.js +1 -1
  734. package/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/helpers/getEgldValueData.js +1 -1
  735. package/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/helpers/getTitleText.js +1 -1
  736. package/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/helpers/getValueFromActions.js +1 -1
  737. package/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/helpers/getValueFromDataField.js +1 -1
  738. package/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/helpers/getValueFromOperations.js +1 -1
  739. package/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/helpers/index.js +1 -1
  740. package/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/index.js +1 -1
  741. package/utils/transactions/getInterpretedTransaction/helpers/index.js +1 -1
  742. package/utils/transactions/getInterpretedTransaction/index.js +1 -1
  743. package/utils/transactions/getTransactionLink.js +1 -1
  744. package/utils/transactions/index.js +1 -1
  745. package/utils/transactions/parseMultiEsdtTransferData.js +1 -1
  746. package/utils/transactions/parseTransactionAfterSigning.js +1 -1
  747. package/utils/transactions/transactionInfoHelpers/decodeForDisplay/decodeForDisplay.js +1 -1
  748. package/utils/transactions/transactionInfoHelpers/decodeForDisplay/helpers/getDisplayValueAndValidationWarnings.js +1 -1
  749. package/utils/transactions/transactionInfoHelpers/decodeForDisplay/helpers/getSmartDecodedParts.js +1 -1
  750. package/utils/transactions/transactionInfoHelpers/decodeForDisplay/helpers/index.js +1 -1
  751. package/utils/transactions/transactionInfoHelpers/decodeForDisplay/index.js +1 -1
  752. package/utils/transactions/transactionInfoHelpers/getScResultsInitialDecodeMethod.js +1 -1
  753. package/utils/transactions/transactionInfoHelpers/getShardText.js +1 -1
  754. package/utils/transactions/transactionInfoHelpers/getTransactionActionNftText.js +1 -1
  755. package/utils/transactions/transactionInfoHelpers/getTransactionActionTokenText.js +1 -1
  756. package/utils/transactions/transactionInfoHelpers/getTransactionLinkWithLabel.js +1 -1
  757. package/utils/transactions/transactionInfoHelpers/getTransactionMessages.js +1 -1
  758. package/utils/transactions/transactionInfoHelpers/index.js +1 -1
  759. package/utils/transactions/transactionInfoHelpers/transactionActionUnwrapper/helpers/index.js +1 -1
  760. package/utils/transactions/transactionInfoHelpers/transactionActionUnwrapper/helpers/mexUnwrapper.js +1 -1
  761. package/utils/transactions/transactionInfoHelpers/transactionActionUnwrapper/index.js +1 -1
  762. package/utils/transactions/transactionInfoHelpers/transactionActionUnwrapper/transactionActionUnwrapper.js +1 -1
  763. package/utils/transactions/transactionInfoHelpers/useDataDecode.js +1 -1
  764. package/utils/transactions/transactionInfoHelpers/useDataDecodeMethod.js +1 -1
  765. package/utils/validation/index.js +1 -1
  766. package/utils/validation/maxDecimals.js +1 -1
  767. package/utils/validation/stringIsFloat.js +1 -1
  768. package/web/hooks/index.js +1 -1
  769. package/web/hooks/useIdleTimer.js +1 -1
  770. package/web/index.js +1 -1
  771. package/wrappers/AppInitializer.js +1 -1
  772. package/wrappers/AuthenticatedRoutesWrapper/index.js +1 -1
  773. package/wrappers/AxiosInterceptorContext/AxiosInterceptorContext.js +1 -1
  774. package/wrappers/AxiosInterceptorContext/components/AxiosInterceptor.js +1 -1
  775. package/wrappers/AxiosInterceptorContext/components/AxiosInterceptorContextProvider.js +1 -1
  776. package/wrappers/AxiosInterceptorContext/components/LoginInfoListener.js +1 -1
  777. package/wrappers/AxiosInterceptorContext/components/index.js +1 -1
  778. package/wrappers/AxiosInterceptorContext/index.js +1 -1
  779. package/wrappers/DappProvider/CustomComponents.js +1 -1
  780. package/wrappers/DappProvider/index.js +1 -1
  781. package/wrappers/index.js +1 -1
  782. package/__chunks__/chunk-23WPUIWM.js +0 -2
  783. package/__chunks__/chunk-2LFAG5UW.js +0 -2
  784. package/__chunks__/chunk-4QMATHBG.js +0 -2
  785. package/__chunks__/chunk-5C5IMDWD.js +0 -2
  786. package/__chunks__/chunk-5VEFV3IS.js +0 -2
  787. package/__chunks__/chunk-7A4X3VND.js +0 -2
  788. package/__chunks__/chunk-7AMV6USN.js +0 -2
  789. package/__chunks__/chunk-AFAUYTFM.js +0 -2
  790. package/__chunks__/chunk-AZVCA6PP.js +0 -2
  791. package/__chunks__/chunk-B4D6WVTB.js +0 -2
  792. package/__chunks__/chunk-BMM3EAVE.js +0 -2
  793. package/__chunks__/chunk-BQOOU5JN.js +0 -2
  794. package/__chunks__/chunk-CHTJEAWJ.js +0 -2
  795. package/__chunks__/chunk-CUPMM5UN.js +0 -2
  796. package/__chunks__/chunk-DQ6NMBLV.js +0 -2
  797. package/__chunks__/chunk-DXWP7WID.js +0 -2
  798. package/__chunks__/chunk-EGUQKZHO.js +0 -2
  799. package/__chunks__/chunk-EPODPC7N.js +0 -2
  800. package/__chunks__/chunk-EZOGNXLH.js +0 -2
  801. package/__chunks__/chunk-FDNJRVRV.js +0 -2
  802. package/__chunks__/chunk-FZKUX6GT.js +0 -2
  803. package/__chunks__/chunk-GTFL6MTY.js +0 -2
  804. package/__chunks__/chunk-IH6JAQIK.js +0 -2
  805. package/__chunks__/chunk-J5MXYBME.js +0 -2
  806. package/__chunks__/chunk-JRCA2D4O.js +0 -2
  807. package/__chunks__/chunk-JZMR4U4G.js +0 -2
  808. package/__chunks__/chunk-K4JDGZX7.js +0 -2
  809. package/__chunks__/chunk-KK63JPYF.js +0 -2
  810. package/__chunks__/chunk-KL3ZFTGO.js +0 -2
  811. package/__chunks__/chunk-KVKIF44C.js +0 -2
  812. package/__chunks__/chunk-LHMBRPVE.js +0 -2
  813. package/__chunks__/chunk-MNBMZXH4.js +0 -2
  814. package/__chunks__/chunk-N53WBDGP.js +0 -2
  815. package/__chunks__/chunk-NJ2FRDNT.js +0 -2
  816. package/__chunks__/chunk-NLB665WA.js +0 -2
  817. package/__chunks__/chunk-OQLWGB56.js +0 -2
  818. package/__chunks__/chunk-P44CM6L4.js +0 -2
  819. package/__chunks__/chunk-PK3B7MMU.js +0 -2
  820. package/__chunks__/chunk-Q2MHKB63.js +0 -2
  821. package/__chunks__/chunk-QC4HFPGK.js +0 -2
  822. package/__chunks__/chunk-QMD3AU7N.js +0 -2
  823. package/__chunks__/chunk-RNF6NJNX.js +0 -2
  824. package/__chunks__/chunk-T7QMSC3P.js +0 -2
  825. package/__chunks__/chunk-TMCGSBFK.js +0 -2
  826. package/__chunks__/chunk-TMST4RY3.js +0 -2
  827. package/__chunks__/chunk-U2HS3BH7.js +0 -2
  828. package/__chunks__/chunk-XUFBPLE5.js +0 -2
  829. package/__chunks__/chunk-XW4TJUAM.js +0 -2
  830. package/__chunks__/chunk-YHN6UC5D.js +0 -2
  831. package/__chunks__/chunk-YMCJEH4Z.js +0 -2
  832. package/__chunks__/chunk-Z5PKPJRS.js +0 -2
  833. package/__chunks__/chunk-ZTLF7T3Z.js +0 -2
  834. package/hooks/signMessage/useVerifyMessage.d.ts +0 -2
  835. package/hooks/signMessage/useVerifyMessage.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,In=Object.prototype.hasOwnProperty,zo=Object.prototype.propertyIsEnumerable;var Ho=(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={}))In.call(t,r)&&Ho(e,r,t[r]);if(yr)for(var r of yr(t))zo.call(t,r)&&Ho(e,r,t[r]);return e},L=(e,t)=>il(e,al(t));var jo=e=>typeof e=="symbol"?e:e+"",tt=(e,t)=>{var r={};for(var o in e)In.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&&zo.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),rt=(e,t)=>{for(var r in t)Zt(e,r,{get:t[r],enumerable:!0})},qo=(e,t,r,o)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of cl(t))!In.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)):{},qo(t||!e||!e.__esModule?Zt(r,"default",{value:e,enumerable:!0}):r,e)),Xt=e=>qo(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 Yo=hr(Sr=>{"use strict";n();Sr.byteLength=ul;Sr.toByteArray=ml;Sr.fromByteArray=Tl;var ye=[],ue=[],pl=typeof Uint8Array!="undefined"?Uint8Array:Array,bn="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(nt=0,Ko=bn.length;nt<Ko;++nt)ye[nt]=bn[nt],ue[bn.charCodeAt(nt)]=nt;var nt,Ko;ue["-".charCodeAt(0)]=62;ue["_".charCodeAt(0)]=63;function Jo(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=Jo(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=Jo(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 ye[e>>18&63]+ye[e>>12&63]+ye[e>>6&63]+ye[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(ye[t>>2]+ye[t<<4&63]+"==")):o===2&&(t=(e[r-2]<<8)+e[r-1],i.push(ye[t>>10]+ye[t>>4&63]+ye[t<<2&63]+"=")),i.join("")}});var Zo=hr(Ln=>{n();Ln.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,P=e[t+h];for(h+=I,l=P&(1<<-T)-1,P>>=-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:(P?-1:1)*(1/0);p=p+Math.pow(2,o),l=l-g}return(P?-1:1)*p*Math.pow(2,l-o)};Ln.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,P=o?0:l-1,E=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+P]=d&255,P+=E,d/=256,i-=8);for(p=p<<i|d,g+=i;g>0;e[r+P]=p&255,P+=E,p/=256,g-=8);e[r+P-E]|=b*128}});var pi=hr(bt=>{"use strict";n();var En=Yo(),It=Zo(),Xo=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;bt.Buffer=m;bt.SlowBuffer=vl;bt.INSPECT_MAX_BYTES=50;var xr=2147483647;bt.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 Le(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 Rn(e)}return ti(e,t,r)}m.poolSize=8192;function ti(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(he(e,ArrayBuffer)||e&&he(e.buffer,ArrayBuffer)||typeof SharedArrayBuffer!="undefined"&&(he(e,SharedArrayBuffer)||e&&he(e.buffer,SharedArrayBuffer)))return Pn(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 ti(e,t,r)};Object.setPrototypeOf(m.prototype,Uint8Array.prototype);Object.setPrototypeOf(m,Uint8Array);function ri(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 ri(e),e<=0?Le(e):t!==void 0?typeof r=="string"?Le(e).fill(t,r):Le(e).fill(t):Le(e)}m.alloc=function(e,t,r){return hl(e,t,r)};function Rn(e){return ri(e),Le(e<0?0:Nn(e)|0)}m.allocUnsafe=function(e){return Rn(e)};m.allocUnsafeSlow=function(e){return Rn(e)};function Sl(e,t){if((typeof t!="string"||t==="")&&(t="utf8"),!m.isEncoding(t))throw new TypeError("Unknown encoding: "+t);var r=ni(e,t)|0,o=Le(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:Nn(e.length)|0,r=Le(t),o=0;o<t;o+=1)r[o]=e[o]&255;return r}function xl(e){if(he(e,Uint8Array)){var t=new Uint8Array(e);return Pn(t.buffer,t.byteOffset,t.byteLength)}return kn(e)}function Pn(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=Nn(e.length)|0,r=Le(t);return r.length===0||e.copy(r,0,0,t),r}if(e.length!==void 0)return typeof e.length!="number"||Dn(e.length)?Le(0):kn(e);if(e.type==="Buffer"&&Array.isArray(e.data))return kn(e.data)}function Nn(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(he(t,Uint8Array)&&(t=m.from(t,t.offset,t.byteLength)),he(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(he(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 ni(e,t){if(m.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||he(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 Cn(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return r*2;case"hex":return r>>>1;case"base64":return li(e).length;default:if(i)return o?-1:Cn(e).length;t=(""+t).toLowerCase(),i=!0}}m.byteLength=ni;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 ii(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 ot(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)ot(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)ot(this,r,r+3),ot(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)ot(this,r,r+7),ot(this,r+1,r+6),ot(this,r+2,r+5),ot(this,r+3,r+4);return this};m.prototype.toString=function(){var t=this.length;return t===0?"":arguments.length===0?ii(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=bt.INSPECT_MAX_BYTES;return t=this.toString("hex",0,r).replace(/(.{2})/g,"$1 ").trim(),this.length>r&&(t+=" ... "),"<Buffer "+t+">"};Xo&&(m.prototype[Xo]=m.prototype.inspect);m.prototype.compare=function(t,r,o,i,l){if(he(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 oi(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,Dn(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:Qo(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):Qo(e,[t],r,o,i);throw new TypeError("val must be string, number or Buffer")}function Qo(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(P,E){return l===1?P[E]:P.readUInt16BE(E*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 oi(this,t,r,o,!0)};m.prototype.lastIndexOf=function(t,r,o){return oi(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(Dn(d))return p;e[r+p]=d}return p}function bl(e,t,r,o){return wr(Cn(t,e.length-r),e,r,o)}function Ll(e,t,r,o){return wr(Fl(t),e,r,o)}function El(e,t,r,o){return wr(li(t),e,r,o)}function kl(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 El(this,t,r,o);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return kl(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?En.fromByteArray(e):En.fromByteArray(e.slice(t,r))}function ii(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 ei=4096;function Cl(e){var t=e.length;if(t<=ei)return String.fromCharCode.apply(String,e);for(var r="",o=0;o<t;)r+=String.fromCharCode.apply(String,e.slice(o,o+=ei));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 V(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||V(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||V(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||V(t,1,this.length),this[t]};m.prototype.readUint16LE=m.prototype.readUInt16LE=function(t,r){return t=t>>>0,r||V(t,2,this.length),this[t]|this[t+1]<<8};m.prototype.readUint16BE=m.prototype.readUInt16BE=function(t,r){return t=t>>>0,r||V(t,2,this.length),this[t]<<8|this[t+1]};m.prototype.readUint32LE=m.prototype.readUInt32LE=function(t,r){return t=t>>>0,r||V(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||V(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||V(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||V(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||V(t,1,this.length),this[t]&128?(255-this[t]+1)*-1:this[t]};m.prototype.readInt16LE=function(t,r){t=t>>>0,r||V(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||V(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||V(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||V(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||V(t,4,this.length),It.read(this,t,!0,23,4)};m.prototype.readFloatBE=function(t,r){return t=t>>>0,r||V(t,4,this.length),It.read(this,t,!1,23,4)};m.prototype.readDoubleLE=function(t,r){return t=t>>>0,r||V(t,8,this.length),It.read(this,t,!0,52,8)};m.prototype.readDoubleBE=function(t,r){return t=t>>>0,r||V(t,8,this.length),It.read(this,t,!1,52,8)};function re(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;re(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;re(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||re(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||re(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||re(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||re(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||re(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);re(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);re(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||re(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||re(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||re(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||re(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||re(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 si(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 ai(e,t,r,o,i){return t=+t,r=r>>>0,i||si(e,t,r,4,34028234663852886e22,-34028234663852886e22),It.write(e,t,r,o,23,4),r+4}m.prototype.writeFloatLE=function(t,r,o){return ai(this,t,r,!0,o)};m.prototype.writeFloatBE=function(t,r,o){return ai(this,t,r,!1,o)};function ci(e,t,r,o,i){return t=+t,r=r>>>0,i||si(e,t,r,8,17976931348623157e292,-17976931348623157e292),It.write(e,t,r,o,52,8),r+8}m.prototype.writeDoubleLE=function(t,r,o){return ci(this,t,r,!0,o)};m.prototype.writeDoubleBE=function(t,r,o){return ci(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 Cn(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 li(e){return En.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 he(e,t){return e instanceof t||e!=null&&e.constructor!=null&&e.constructor.name!=null&&e.constructor.name===t.name}function Dn(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 fi=hr((Gd,gi)=>{n();var U=gi.exports={},Se,xe;function Mn(){throw new Error("setTimeout has not been defined")}function On(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?Se=setTimeout:Se=Mn}catch(e){Se=Mn}try{typeof clearTimeout=="function"?xe=clearTimeout:xe=On}catch(e){xe=On}})();function ui(e){if(Se===setTimeout)return setTimeout(e,0);if((Se===Mn||!Se)&&setTimeout)return Se=setTimeout,setTimeout(e,0);try{return Se(e,0)}catch(t){try{return Se.call(null,e,0)}catch(r){return Se.call(this,e,0)}}}function Wl(e){if(xe===clearTimeout)return clearTimeout(e);if((xe===On||!xe)&&clearTimeout)return xe=clearTimeout,clearTimeout(e);try{return xe(e)}catch(t){try{return xe.call(null,e)}catch(r){return xe.call(this,e)}}}var Ee=[],Lt=!1,it,vr=-1;function $l(){!Lt||!it||(Lt=!1,it.length?Ee=it.concat(Ee):vr=-1,Ee.length&&di())}function di(){if(!Lt){var e=ui($l);Lt=!0;for(var t=Ee.length;t;){for(it=Ee,Ee=[];++vr<t;)it&&it[vr].run();vr=-1,t=Ee.length}it=null,Lt=!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 mi(e,t)),Ee.length===1&&!Lt&&ui(di)};function mi(e,t){this.fun=e,this.array=t}mi.prototype.run=function(){this.fun.apply(null,this.array)};U.title="browser";U.browser=!0;U.env={};U.argv=[];U.version="";U.versions={};function ke(){}U.on=ke;U.addListener=ke;U.once=ke;U.off=ke;U.removeListener=ke;U.removeAllListeners=ke;U.emit=ke;U.prependListener=ke;U.prependOnceListener=ke;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(pi()),a=A(fi()),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 st=v(()=>{"use strict";n()});var Ti=v(()=>{"use strict";n()});var yi=v(()=>{"use strict";n()});var hi=v(()=>{"use strict";n()});var M=v(()=>{"use strict";n()});var Si=v(()=>{"use strict";n()});var xi=v(()=>{"use strict";n()});var ne=v(()=>{"use strict";n()});var wi=v(()=>{"use strict";n()});var vi=v(()=>{"use strict";n()});var B=v(()=>{"use strict";n();Ti();yi();hi();M();Si();xi();ne();wi();vi()});var at,Ai,cm,Ii,lm,bi,pm,um,Gl,Et=v(()=>{"use strict";n();B();at={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:Ai,egldLabel:cm}=at["devnet"],{chainId:Ii,egldLabel:lm}=at["testnet"],{chainId:bi,egldLabel:pm}=at["mainnet"],um={["devnet"]:Ai,["testnet"]:Ii,["mainnet"]:bi},Gl={[Ai]:"devnet",[Ii]:"testnet",[bi]:"mainnet"}});var _n=v(()=>{"use strict";n()});var Li=v(()=>{"use strict";n()});var Ar,Fn=v(()=>{"use strict";n();Ar="transaction-status-toast-id"});var we,Ei=v(()=>{"use strict";n();we=require("@multiversx/sdk-web-wallet-provider")});var Qt,Ir,ki,Pi,br,Ci,kt,R=v(()=>{"use strict";n();st();Et();_n();Li();Fn();Ei();Qt=5e4,Ir=1e9,ki=1,Pi=1,br="logout",Ci="login",kt="0"});var Pt,Lr=v(()=>{"use strict";n();Pt=()=>Date.now()/1e3});var Ri=v(()=>{"use strict";n()});var Ni=v(()=>{"use strict";n()});var Un=v(()=>{"use strict";n();Lr();Ri();Ni()});var Wn={};rt(Wn,{getItem:()=>Hl,localStorageKeys:()=>ae,removeItem:()=>zl,setItem:()=>Vl});var ae,Bn,Vl,Hl,zl,ct=v(()=>{"use strict";n();Un();ae={loginExpiresAt:"sdk-dapp-login-expires-at",logoutEvent:"sdk-dapp-logout-event"},Bn=typeof localStorage!="undefined",Vl=({key:e,data:t,expires:r})=>{!Bn||localStorage.setItem(String(e),JSON.stringify({expires:r,data:t}))},Hl=e=>{if(!Bn)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:Pt()>=r.expires?(localStorage.removeItem(String(e)),null):r.data},zl=e=>{!Bn||localStorage.removeItem(String(e))}});var $n={};rt($n,{clear:()=>_i,getItem:()=>Mi,removeItem:()=>Oi,setItem:()=>Di,storage:()=>jl});var Di,Mi,Oi,_i,jl,Fi=v(()=>{"use strict";n();Di=({key:e,data:t,expires:r})=>{sessionStorage.setItem(String(e),JSON.stringify({expires:r,data:t}))},Mi=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},Oi=e=>sessionStorage.removeItem(String(e)),_i=()=>sessionStorage.clear(),jl={setItem:Di,getItem:Mi,removeItem:Oi,clear:_i}});var ve,Ct=v(()=>{"use strict";n();ct();Fi();ve={session:$n,local:Wn}});var Gn,W,Z,H=v(()=>{"use strict";n();Gn=require("@reduxjs/toolkit");R();W=(0,Gn.createAction)(br),Z=(0,Gn.createAction)(Ci,e=>({payload:e}))});var Hn,Ui,Bi,Er,Vn,Wi,lt,$m,kr,Gm,zn,ql,Vm,Rt,$i,Gi,Pr,Cr=v(()=>{"use strict";n();Hn=require("@multiversx/sdk-core"),Ui=require("@reduxjs/toolkit"),Bi=require("redux-persist");R();Ct();ct();H();Er={balance:"...",address:"",nonce:0,txCount:0,scrCount:0,claimableRewards:kt},Vn={address:"",websocketEvent:null,accounts:{"":Er},ledgerAccount:null,publicKey:"",walletConnectAccount:null,isAccountLoading:!0,accountLoadingError:null},Wi=(0,Ui.createSlice)({name:"accountInfoSlice",initialState:Vn,reducers:{setAddress:(e,t)=>{let r=t.payload;e.address=r,e.publicKey=new Hn.Address(r).hex()},setAccount:(e,t)=>{let r=e.address===t.payload.address;e.accounts={[e.address]:r?t.payload:Er},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(W,()=>(ve.local.removeItem(ae.loginExpiresAt),Vn)),e.addCase(Z,(t,r)=>{let{address:o}=r.payload;t.address=o,t.publicKey=new Hn.Address(o).hex()}),e.addCase(Bi.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:Vn.accounts,t.publicKey=d})}}),{setAccount:lt,setAddress:$m,setAccountNonce:kr,setAccountShard:Gm,setLedgerAccount:zn,updateLedgerAccount:ql,setWalletConnectAccount:Vm,setIsAccountLoading:Rt,setAccountLoadingError:$i,setWebsocketEvent:Gi}=Wi.actions,Pr=Wi.reducer});function er(){return new Date().setHours(new Date().getHours()+24)}function tr(e){ve.local.setItem({key:ae.loginExpiresAt,data:e,expires:e})}var jn=v(()=>{"use strict";n();Ct();ct()});var Hi,Vi,zi,Qm,Rr,Kl,Ve,eg,Nr,ji,qi,Dr,rr=v(()=>{"use strict";n();Hi=require("@reduxjs/toolkit");jn();M();H();Vi={loginMethod:"",walletConnectLogin:null,ledgerLogin:null,tokenLogin:null,walletLogin:null,extensionLogin:null,operaLogin:null,isLoginSessionInvalid:!1},zi=(0,Hi.createSlice)({name:"loginInfoSlice",initialState:Vi,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(W,()=>Vi),e.addCase(Z,(t,r)=>{t.loginMethod=r.payload.loginMethod,tr(er())})}}),{setLoginMethod:Qm,setWalletConnectLogin:Rr,setLedgerLogin:Kl,setTokenLogin:Ve,setTokenLoginSignature:eg,setWalletLogin:Nr,invalidateLoginSession:ji,setLogoutRoute:qi}=zi.actions,Dr=zi.reducer});var Ji,Ki,Yi,Zi,Jl,og,Yl,Mr,Or=v(()=>{"use strict";n();Ji=require("@reduxjs/toolkit");H();Ki={},Yi=(0,Ji.createSlice)({name:"modalsSlice",initialState:Ki,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(W,()=>Ki)}}),{setTxSubmittedModal:Zi,setNotificationModal:Jl,clearTxSubmittedModal:og,clearNotificationModal:Yl}=Yi.actions,Mr=Yi.reducer});var Xi,Qi,Pe,pt=v(()=>{"use strict";n();Xi=!1,Qi=(e=!0)=>{Xi=e},Pe=(e,t=0)=>{Xi||setTimeout(()=>{window.location.href=e,window.location.assign(e)},t)}});function ut({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)||Pe(e)},l)}var Zl,es=v(()=>{"use strict";n();pt();Zl=200});function qn(e){return e[Math.floor(Math.random()*e.length)]}var ts=v(()=>{"use strict";n()});var Kn=v(()=>{"use strict";n();_n()});var dt=v(()=>{"use strict";n();es();ts();Kn()});var rs,ns,Jn,Xl,os,Yn,is,_r,nr=v(()=>{"use strict";n();rs=require("@reduxjs/toolkit"),ns=A(require("lodash.omit"));dt();Jn={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:Jn,chainID:"-1"},os=(0,rs.createSlice)({name:"appConfig",initialState:Xl,reducers:{initializeNetworkConfig:(e,t)=>{let r=qn(t.payload.walletConnectBridgeAddresses),o=qn(t.payload.walletConnectV2RelayAddresses),i=(0,ns.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:Yn,setChainID:is}=os.actions,_r=os.reducer});var ss,Zn,as,Ig,bg,Lg,Fr,Ur=v(()=>{"use strict";n();ss=require("@reduxjs/toolkit");B();H();Zn={isSigning:!1,signedSessions:{}},as=(0,ss.createSlice)({name:"signedMessageInfoSliceState",initialState:Zn,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:()=>Zn},extraReducers:e=>{e.addCase(W,()=>Zn)}}),{setSignSession:Ig,clearSignedMessageInfo:bg,setSignSessionState:Lg}=as.actions,Fr=as.reducer});var ls,ps,cs,us,Xn,Qn,Mg,Og,_g,Fg,Br,Wr=v(()=>{"use strict";n();ls=require("@reduxjs/toolkit"),ps=require("redux-persist");Fn();B();Lr();H();cs={customToasts:[],transactionToasts:[],failTransactionToast:null},us=(0,ls.createSlice)({name:"toastsSlice",initialState:cs,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:Pt(),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(W,()=>cs),e.addCase(ps.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:Xn,removeCustomToast:Qn,addTransactionToast:Mg,removeTransactionToast:Og,addFailTransactionToast:_g,removeFailTransactionToast:Fg}=us.actions,Br=us.reducer});var ds,to,ro,no,Ql,eo,ms,$g,ep,oo,$r,Gr=v(()=>{"use strict";n();ds=require("@reduxjs/toolkit");H();to="Transaction failed",ro="Transaction successful",no="Processing transaction",Ql="Transaction submitted",eo={},ms=(0,ds.createSlice)({name:"transactionsInfo",initialState:eo,reducers:{setTransactionsDisplayInfo(e,t){let{sessionId:r,transactionsDisplayInfo:o}=t.payload;r!=null&&(e[r]={errorMessage:(o==null?void 0:o.errorMessage)||to,successMessage:(o==null?void 0:o.successMessage)||ro,processingMessage:(o==null?void 0:o.processingMessage)||no,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:()=>eo},extraReducers:e=>{e.addCase(W,()=>eo)}}),{clearTransactionsInfo:$g,setTransactionsDisplayInfo:ep,clearTransactionsInfoForSessionId:oo}=ms.actions,$r=ms.reducer});function Ce(e){return e!=null&&(cp(e)||dp(e))}function mt(e){return e!=null&&(lp(e)||mp(e))}function gt(e){return e!=null&&(pp(e)||gp(e))}function io(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,Dt=v(()=>{"use strict";n();M();tp=["sent"],rp=["success"],np=["fail","cancelled","timedOut"],op=["timedOut"],ip=["pending"],sp=["success"],ap=["fail","invalid"]});var gs,fs,or,fp,Ts,ir,ft,Tp,Mt,yp,hp,Yg,Sp,Vr,so,Hr,zr=v(()=>{"use strict";n();gs=require("@reduxjs/toolkit"),fs=require("redux-persist");M();Dt();H();or={signedTransactions:{},transactionsToSign:null,signTransactionsError:null,signTransactionsCancelMessage:null,customTransactionInformationForSessionId:{}},fp={signWithoutSending:!1,sessionInformation:null,redirectAfterSign:!1},Ts=(0,gs.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 P=(T=(g=e.signedTransactions[r])==null?void 0:g.transactions)==null?void 0:T.every(b=>mt(b.status)),E=(I=(h=e.signedTransactions[r])==null?void 0:h.transactions)==null?void 0:I.every(b=>gt(b.status));P&&(e.signedTransactions[r].status="success"),E&&(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(W,()=>or),e.addCase(fs.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:ft,setTransactionsToSign:Tp,clearAllTransactionsToSign:Mt,clearAllSignedTransactions:yp,clearSignedTransaction:hp,clearTransactionToSign:Yg,setSignTransactionsError:Sp,setSignTransactionsCancelMessage:Vr,moveTransactionsToSignedState:so}=Ts.actions,Hr=Ts.reducer});var C=v(()=>{"use strict";n();Cr();rr();Or();nr();Ur();Wr();Gr();zr()});var ao=v(()=>{"use strict";n()});var ws,xs,vs,wf,vf,Af,If,bf,Lf,As,Is=v(()=>{"use strict";n();ws=require("@reduxjs/toolkit");H();xs={visible:!1,modal:{showHeader:!0,showFooter:!1,headerText:"",footerText:""}},vs=(0,ws.createSlice)({name:"dappModalsSlice",initialState:xs,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(W,()=>xs)}}),{setDappModalVisibility:wf,setDappModalHeaderVisibility:vf,setDappModalFooterVisibility:Af,setDappModalHeaderText:If,setDappModalFooterText:bf,setDappModalConfig:Lf}=vs.actions,As=vs.reducer});var bs,Ap,Ip,Tt,Jr=v(()=>{"use strict";n();bs=require("@reduxjs/toolkit");ao();Cr();Is();rr();Or();nr();Ur();Wr();Gr();zr();Ap={["account"]:Pr,["dappModal"]:As,["loginInfo"]:Dr,["modals"]:Mr,["networkConfig"]:_r,["signedMessageInfo"]:Fr,["toasts"]:Br,["transactionsInfo"]:$r,["transactions"]:Hr},Ip=(e={})=>(0,bs.combineReducers)(y(y({},Ap),e)),Tt=Ip});var Ps={};rt(Ps,{default:()=>Bp,sessionStorageReducers:()=>co});function ze(e,t=[]){return{key:e,version:1,storage:Es.default,blacklist:t}}var ce,Ls,Es,bp,sr,Lp,Ep,kp,Pp,Cp,Rp,Np,Dp,Mp,ks,Op,co,_p,Fp,Up,Bp,Cs=v(()=>{"use strict";n();ce=require("redux-persist"),Ls=A(require("redux-persist/lib/storage")),Es=A(require("redux-persist/lib/storage/session"));Jr();C();Cr();rr();Or();nr();Ur();Wr();Gr();zr();ao();bp={persistReducersStorageType:"localStorage"},sr={["account"]:"sdk-dapp-account",["loginInfo"]:"sdk-dapp-login-info",["modals"]:"sdk-dapp-modals",["networkConfig"]:"sdk-dapp-network-config"},Lp=ze(sr["account"]),Ep=ze(sr["loginInfo"]),kp=ze(sr["modals"]),Pp=ze(sr["networkConfig"]),Cp={2:e=>L(y({},e),{networkConfig:Jn})};Rp=ze("sdk-dapp-transactionsInfo"),Np=ze("sdk-dapp-transactions",["transactionsToSign"]),Dp=ze("sdk-dapp-toasts"),Mp=ze("sdk-dapp-signedMessageInfo"),ks={key:"sdk-dapp-store",version:2,storage:Ls.default,whitelist:Object.keys(sr),migrate:(0,ce.createMigrate)(Cp,{debug:!1})},Op=L(y({},ks),{whitelist:[]}),co={["toasts"]:(0,ce.persistReducer)(Dp,Br),["transactions"]:(0,ce.persistReducer)(Np,Hr),["transactionsInfo"]:(0,ce.persistReducer)(Rp,$r),["signedMessageInfo"]:(0,ce.persistReducer)(Mp,Fr)},_p=L(y({},co),{["account"]:(0,ce.persistReducer)(Lp,Pr),["loginInfo"]:(0,ce.persistReducer)(Ep,Dr),["modals"]:(0,ce.persistReducer)(kp,Mr),["networkConfig"]:(0,ce.persistReducer)(Pp,_r)}),Fp=bp.persistReducersStorageType==="localStorage",Up=Fp?(0,ce.persistReducer)(ks,Tt(co)):(0,ce.persistReducer)(Op,Tt(_p)),Bp=Up});var Rs={};rt(Rs,{default:()=>Wp});var Wp,Ns=v(()=>{"use strict";n();Jr();Wp=Tt()});var Ds={};rt(Ds,{default:()=>Gp});var de,$p,Gp,Ms=v(()=>{"use strict";n();de=require("redux-persist"),$p=[de.FLUSH,de.REHYDRATE,de.PAUSE,de.PERSIST,de.PURGE,de.REGISTER],Gp=$p});var Fs={};rt(Fs,{default:()=>_s});function _s(e){return(0,Os.persistStore)(e)}var Os,Us=v(()=>{"use strict";n();Os=require("redux-persist")});var _d={};rt(_d,{AppInitializer:()=>Po,AuthenticatedRoutesWrapper:()=>Ea,AxiosInterceptor:()=>No,AxiosInterceptorContext:()=>zu,AxiosInterceptorContextProvider:()=>Co,DappProvider:()=>Od,LoginInfoListener:()=>Ro,useAxiosInterceptorContext:()=>Gt});module.exports=Xt(_d);n();n();var xo=A(require("react"));n();var zs=require("react"),_t=require("react-redux");n();var lo=require("@reduxjs/toolkit"),Gs=require("react-redux/lib/utils/Subscription");C();n();var hs=A(require("lodash.throttle"));R();n();var ys=A(require("lodash.isequal")),jr=require("reselect");B();var x=(0,jr.createSelectorCreator)(jr.defaultMemoize,ys.default),Ot=(e,t)=>e!=""&&Boolean(t);C();jn();Ct();ct();var xp=[br],qr=!1,wp=(0,hs.default)(()=>{tr(er())},5e3),Ss=e=>t=>r=>{var u;if(xp.includes(r.type))return t(r);let o=e.getState(),i=ve.local.getItem(ae.loginExpiresAt);if(!Ot((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(ji())},1e3):(qr&&(qr=!1),wp()),t(r)};n();n();function Kr(){return typeof sessionStorage!="undefined"}var Bs=Kr()?(Cs(),Xt(Ps)).default:(Ns(),Xt(Rs)).default,Ws=Kr()?(Ms(),Xt(Ds)).default:[],$s=Kr()?(Us(),Xt(Fs)).default:e=>e;Jr();var w=(0,lo.configureStore)({reducer:Bs,middleware:e=>e({serializableCheck:{ignoredActions:[...Ws,kr.type,lt.type],ignoredPaths:["payload.nonce","account.account.nonce","providers.accountProvider"]}}).concat(Ss)}),Vs=(0,Gs.createSubscription)(w),Hs=$s(w),nT=(0,lo.configureStore)({reducer:Tt});var Vp={store:w,subscription:Vs},ar=(0,zs.createContext)(Vp),aT=(0,_t.createStoreHook)(ar),N=(0,_t.createDispatchHook)(ar),S=(0,_t.createSelectorHook)(ar);n();n();C();var Re=e=>e.account,Ne=x(Re,e=>e.address),je=x(Re,Ne,(e,t)=>t in e.accounts?e.accounts[t]:Er),js=x(Re,je,(e,t)=>{let i=e,{accounts:r}=i,o=tt(i,["accounts"]);return L(y({},o),{account:t})}),Hp=x(je,e=>e.balance),qs=x(je,e=>{var t;return((t=e==null?void 0:e.nonce)==null?void 0:t.valueOf())||0}),uT=x(Re,e=>e.shard),po=x(Re,e=>e.ledgerAccount),dT=x(Re,e=>e.walletConnectAccount),Ks=x(Re,e=>e.isAccountLoading),mT=x(Re,e=>e.accountLoadingError),uo=x(Re,e=>e.websocketEvent);n();var K=e=>e.loginInfo,Js=x(K,e=>e.loginMethod),De=x(K,Ne,(e,t)=>Ot(e.loginMethod,t)),Ys=x(K,e=>e.walletConnectLogin),Zs=x(K,e=>e.ledgerLogin),Ft=x(K,e=>e.walletLogin),Xs=x(K,e=>e.isLoginSessionInvalid),Yr=x(K,e=>e.tokenLogin),Ut=x(K,e=>e.logoutRoute);n();var Qs=e=>e.modals,ST=x(Qs,e=>e.txSubmittedModal),zp=x(Qs,e=>e.notificationModal);n();var Ae=e=>e.networkConfig,cr=x(Ae,e=>e.chainID),ea=x(Ae,e=>e.network.walletConnectBridgeAddress),ta=x(Ae,e=>e.network.walletConnectV2RelayAddress),ra=x(Ae,e=>e.network.walletConnectV2ProjectId),na=x(Ae,e=>e.network.walletConnectV2Options),Zr=x(Ae,e=>e.network.walletConnectDeepLink),me=x(Ae,e=>e.network),Xr=x(me,e=>e.apiAddress),oa=x(me,e=>e.explorerAddress),ia=x(me,e=>e.egldLabel);n();var mo=e=>e.signedMessageInfo,IT=x(mo,e=>e.isSigning),bT=x(mo,e=>e.errorMessage),LT=x(mo,e=>{let t=Object.keys(e.signedSessions),r=t.length;return e.signedSessions[t[r-1]]});n();var go=e=>e.toasts,PT=x(go,e=>e.customToasts),CT=x(go,e=>e.transactionToasts),RT=x(go,e=>e.failTransactionToast);n();C();var sa={errorMessage:to,successMessage:ro,processingMessage:no},jp=e=>e.transactionsInfo,qp=x(jp,(e,t)=>t,(e,t)=>t!=null&&(e==null?void 0:e[Number(t)])||sa);n();n();var le=require("@multiversx/sdk-core");R();n();function fo(e){try{return s.Buffer.from(e,"base64").toString()===atob(e)}catch(t){return!1}}function Bt(e){return atob(e)}function Wt(e){var i,l,p;let{data:t}=e,r=fo(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:ki)},e.options?{options:new le.TransactionOptions(e.options)}:{}));return o.applySignature({hex:()=>e.signature||""},new le.Address(e.sender)),o}n();Dt();n();var Jp=A(require("bignumber.js"));B();n();n();n();n();var Zp=require("@multiversx/sdk-core"),Xp=A(require("bignumber.js"));M();n();var la=require("@multiversx/sdk-core");function Yp(e){try{let t=new la.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 pa=require("@multiversx/sdk-core");B();n();n();n();n();M();n();n();n();n();n();n();n();var ua="dapp/config",da="network/config";var Qr="accounts";var To="blocks";n();n();n();n();ne();n();n();ne();n();n();n();var cu=A(require("bignumber.js"));R();n();var au=require("@multiversx/sdk-core"),yo=A(require("bignumber.js"));R();n();var iu=A(require("bignumber.js"));n();yo.default.config({ROUNDING_MODE:yo.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();ne();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();n();ne();n();var vu=A(require("bignumber.js"));n();n();n();n();ne();n();n();n();var bu=A(require("linkifyjs"));n();R();n();var Lu=A(require("bignumber.js"));n();B();n();n();M();n();M();n();n();n();ne();n();ne();n();var Eu=A(require("bignumber.js"));R();ne();n();ne();n();var ha=require("react");B();n();n();ne();n();n();var ku=require("@multiversx/sdk-core/out"),Pu=A(require("bignumber.js"));ne();n();B();n();n();B();var uv=[{label:"Raw",value:"raw"},{label:"Text",value:"text"},{label:"Decimal",value:"decimal"},{label:"Smart",value:"smart"}];n();var Sa=require("react");B();n();var Ru=require("react");ne();var hv=["create","localMint","ESDTLocalMint","addQuantity","burn","localBurn","ESDTLocalBurn","wipe","writeLog","signalError"];var nn=e=>e.transactions,Ke=x(nn,e=>e.signedTransactions),Nu=x(nn,e=>e.signTransactionsError),xa=x(nn,e=>e.signTransactionsCancelMessage),on=e=>t=>Object.entries(t).reduce((r,[o,i])=>(e(i.status)&&(r[o]=i),r),{}),So=x(Ke,on(Ce)),wa=x(Ke,on(mt)),va=x(Ke,on(gt)),Du=x(Ke,on(io)),Aa=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=>Wt(r)))||[]})}),Mu=x(Ke,(e,t)=>t,(e,t)=>t!=null?(e==null?void 0:e[t])||{}:{});pt();n();n();function Ia(e,t){if(!e){typeof console!="undefined"&&console.warn(t);try{throw new Error(t)}catch(r){}}}function ba(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){Ia(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 Ia(!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 La=(e,t)=>e.filter(({authenticatedRoute:i})=>Boolean(i)).some(({path:i})=>ba(i,t)!==null);var Ea=({children:e,routes:t,unlockRoute:r,onRedirect:o})=>{let i=S(De),l=S(Ks),p=S(Ft),u=La(t,window.location.pathname)&&!i&&p==null;return l||p?null:u?(o?o(r):Pe(r),null):xo.default.createElement(xo.default.Fragment,null,e)};n();var Fe=A(require("react")),ja=require("@multiversx/sdk-core/out");n();n();n();var ka=A(require("axios"));function Pa(e){return f(this,null,function*(){let{apiAddress:t,apiTimeout:r}=me(w.getState()),o=e.map(l=>ka.default.post(`${t}/transactions`,l.toPlainObject(),{timeout:parseInt(r)}));return(yield Promise.all(o)).map(({data:l})=>l.txHash)})}n();var Ca=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 Ca.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 Na=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 Da(e){return f(this,null,function*(){if(!e)return null;let r=`${an()}/${Qr}/${e}`;try{let{data:o}=yield Na.default.get(r);return o}catch(o){console.error("error fetching configuration for ",r)}return null})}n();n();Et();n();var Ma=A(require("axios"));function wo(e){return f(this,null,function*(){let t=`${e}/${ua}`;try{let{data:o}=yield Ma.default.get(t);if(o!=null){let i="egldDenomination";if(i in o){let r=o,{[i]:l,decimals:p}=r,d=tt(r,[jo(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 Oa=A(require("axios"));function _a(){return f(this,null,function*(){var r;let t=`${an()}/${da}`;try{let{data:o}=yield Oa.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();Et();n();Et();n();var $u=A(require("axios"));Et();n();var Me=()=>S(js);rr();nr();n();n();n();n();var Fa=require("@multiversx/sdk-extension-provider"),Ua=require("@multiversx/sdk-hw-provider"),Ba=require("@multiversx/sdk-opera-provider"),Wa=require("@multiversx/sdk-wallet-connect-provider/out/walletConnectProvider"),$a=require("@multiversx/sdk-wallet-connect-provider/out/walletConnectV2Provider"),vo=require("@multiversx/sdk-web-wallet-provider");R();M();var Gu="/dapp/init",yt=e=>{switch(e==null?void 0:e.constructor){case vo.WalletProvider:return"wallet";case Wa.WalletConnectProvider:return"walletconnect";case $a.WalletConnectV2Provider:return"walletconnectv2";case Ua.HWProvider:return"ledger";case Fa.ExtensionProvider:return"extension";case Ba.OperaProvider:return"opera";case cn:return"";default:return"extra"}},Ao=e=>new vo.WalletProvider(`${e}${Gu}`),Io=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===Pi}}),Oe=e=>`Unable to perform ${e}, Provider not initialized`,cn=class{init(){return Promise.resolve(!1)}login(t){throw new Error(Oe(`login with options: ${t}`))}logout(t){throw new Error(Oe(`logout with options: ${t}`))}getAddress(){throw new Error(Oe("getAddress"))}isInitialized(){return!1}isConnected(){return Promise.resolve(!1)}sendTransaction(t,r){throw new Error(Oe(`sendTransaction with transactions: ${t} options: ${r}`))}signTransaction(t,r){throw new Error(Oe(`signTransaction with transactions: ${t} options: ${r}`))}signTransactions(t,r){throw new Error(Oe(`signTransactions with transactions: ${t} options: ${r}`))}signMessage(t,r){throw new Error(Oe(`signTransactions with ${t} and options ${r}`))}sendCustomMessage({method:t,params:r}){throw new Error(Oe(`sendCustomMessage with method: ${t} params: ${r}`))}sendCustomRequest(t){throw new Error(Oe(`sendSessionEvent with options: ${t}`))}ping(){return Promise.resolve(!1)}},ur=new cn;var Lo=ur,bo=null;function pe(e){Lo=e}function Eo(e){bo=e}function ln(){bo!=null&&(Lo=bo)}function oe(){return Lo||ur}H();B();n();function ge(){return De(w.getState())}n();n();M();n();n();function Ga(){let e=oe();return yt(e)}function fe(e){return Ga()===e}function _e(){let{search:e}=window.location,t=w.getState(),r=oe(),o=Ne(t),i=De(t),l=Ft(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 Je(e){return f(this,null,function*(){return yield Da(e)})}n();C();function Va(e){w.dispatch(kr(e))}n();function $t(e){let t=w.getState(),r=qs(t);return e?r&&!isNaN(r)?Math.max(r,e.nonce):e.nonce:r}n();n();C();var Ha=()=>f(void 0,null,function*(){try{let e=yield _e();try{let t=yield Je(e);if(t!=null){let r=L(y({},t),{nonce:$t(t)});return w.dispatch(lt(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 Ha();try{if(!e.init)throw"Current provider does not have init() function";return(yield e.init())?Ha():void 0}catch(t){console.error("Failed initializing provider ",t)}})}n();var za=require("@multiversx/sdk-core");n();H();B();pt();Ct();ct();var Vu=e=>{let t=ve.local.getItem(ae.logoutEvent),{data:r}=t?JSON.parse(t):{data:e};e===r&&(ve.local.setItem({key:ae.logoutEvent,data:e,expires:0}),ve.local.removeItem(ae.logoutEvent))};function Q(e,t,r=!0){return f(this,null,function*(){let o=oe(),i=yt(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 _e();Vu(d)}catch(d){ko(e,t,!1),console.error("error fetching logout address",d)}p&&Qi(),w.dispatch(W());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):Pe(e))}function Po({customNetworkConfig:e={},children:t,environment:r,logoutRoute:o}){let[i,l]=(0,Fe.useState)(!1),p=Me(),d=S(Xs),{address:u,publicKey:g}=p,T=N();function h(){return f(this,null,function*(){let P=!(e!=null&&e.skipFetchFromServer),E=e==null?void 0:e.apiAddress,b=at[r]||{},_=y(y({},b),e);if(P){let D=b==null?void 0:b.apiAddress,z=yield wo(E||D);if(z!=null){let ie=y(y(y({},b),z),e);T(Yn(ie));return}}T(Yn(_))})}function I(){return f(this,null,function*(){T(qi(o)),yield h(),l(!0)})}return(0,Fe.useEffect)(()=>{u&&new ja.Address(u).hex()!==g&&Q(o)},[u,g,o]),(0,Fe.useEffect)(()=>{I()},[e,r,o]),(0,Fe.useEffect)(()=>{p.address&&d&&Q(o)},[d,p.address,o]),i?Fe.default.createElement(Fe.default.Fragment,null,t):null}n();var Kt=A(require("react")),tl=require("react-redux"),rl=require("redux-persist/integration/react");n();var Be=require("react"),cc=require("@multiversx/sdk-extension-provider"),lc=require("@multiversx/sdk-hw-provider"),pc=require("@multiversx/sdk-opera-provider");n();var tc=require("react"),fn=require("@multiversx/sdk-core");n();n();var ht=()=>S(je);n();n();n();n();n();var Ue=A(require("react"));var qa=(0,Ue.createContext)({}),Hu=w.getState();function Co({children:e}){let[t,r]=(0,Ue.useState)(),[o,i]=(0,Ue.useState)(K(Hu)),l={address:t,setAddress:r,isLoggedIn:Ot(o.loginMethod,t),loginInfo:o,setLoginInfo:p=>i(p)};return Ue.default.createElement(qa.Provider,{value:l},e)}function Gt(){let e=(0,Ue.useContext)(qa);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 Ro=({children:e=null})=>{var l;let{address:t}=ht(),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 Ye=A(require("react")),un=A(require("axios"));var No=({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,Ye.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,Ye.useEffect)(l,[]),(0,Ye.useEffect)(()=>{o&&p()},[o]),Ye.default.createElement(Ye.default.Fragment,null,e)};var zu={Interceptor:No,Listener:Ro,Provider:Co};n();n();var mr=()=>{let e=oe(),t=yt(e);return{provider:e,providerType:t}};n();C();n();n();n();n();var ju=e=>e.replace(/\+/g,"-").replace(/\//g,"_").replace(/=/g,""),Vt=e=>ju(s.Buffer.from(e,"utf8").toString("base64"));n();var Ya=A(require("axios"));n();n();n();function Ka(e){return f(this,null,function*(){return yield new Promise(t=>{setTimeout(()=>t(),e)})})}n();var Ja=(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 Ka(t.delay)),yield Ja(e,t,r,o+1)):null}}),dn=(e,t={retries:5,delay:500})=>(...r)=>f(void 0,null,function*(){return yield Ja(e,t,r)});var qu=4,Ku=3e4,mn={current:null},St={current:null},Ju=dn((e,t)=>f(void 0,null,function*(){let{data:r}=yield Ya.default.get(`${e}/${To}?from=${qu}&size=1&fields=hash,timestamp${t?"&shard="+t:""}`),[o]=r;return o}));function Za(e,t){return f(this,null,function*(){if(e==null)throw new Error("missing api url");if(mn.current!=null&&Date.now()<mn.current.timestamp*1e3+Ku)return mn.current;if(St.current!=null)return yield St.current;St.current=Ju(e,t);try{let r=yield St.current;if(r==null)throw St.current=null,new Error("could not get block hash");return mn.current={hash:r.hash,timestamp:r.timestamp},St.current=null,r}catch(r){return St.current=null,null}})}n();function Yu(e){return Object.prototype.toString.call(e)==="[object String]"}var gn=e=>{if(!e||!Yu(e))return null;try{let[t,r,o]=e.split("."),i=Bt(t),l=Bt(r),[p,d,u,g]=l.split("."),T=JSON.parse(Bt(g)),h=Bt(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}};n();n();Lr();var Ht=e=>{let t=gn(e);if(!t)return{isExpired:!1};let r=Pt(),{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}};n();var Xa,gr={hostname:typeof window!="undefined"?(Xa=window==null?void 0:window.location)==null?void 0:Xa.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();var Qa=({address:e,token:t,signature:r})=>{let o=Vt(e),i=Vt(t);return`${o}.${i}.${r}`};var ec=e=>{let{hostname:t,apiAddress:r,expirySeconds:o,blockHashShard:i}=fr(e);return{getNativeAuthConfig:fr,initialize:(...u)=>f(void 0,[...u],function*(p={},d){if(!r||!t)return"";let g=d!=null?d:yield Za(r,i),{hash:T,timestamp:h}=g,I=Vt(JSON.stringify(y(y({},p),h?{timestamp:h}:{})));return`${Vt(t)}.${T}.${o}.${I}`}),getToken:Qa,getTokenExpiration:Ht}};var Zu=(e,t)=>{var r;return t?t===!0?e:(r=t.apiAddress)!=null?r:e:null},Ie=e=>{let t=S(me),r=S(Yr),o=(0,tc.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=ec(l),{address:u}=ht(),g=N(),T=E=>{o.current=E,g(Ve(y({loginToken:E},i?{nativeAuthConfig:l}:{})))},h=()=>f(void 0,null,function*(){try{return yield d.initialize()}catch(E){console.error("Unable to get block. Login failed.",E);return}}),I=({address:E,signature:b})=>{let _=o.current;if(!_)throw"Token not found. Call `setLoginToken` first.";if(!p){g(Ve({loginToken:_,signature:b}));return}let D=d.getToken({address:E,token:_,signature:b});g(Ve(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:E}){let _=yield h();if(o.current=_,!_)return;let D=new fn.SignableMessage({address:new fn.Address(u),message:s.Buffer.from(_)}),z=yield E(D,{});I({address:u,signature:z.toJSON().signature})})}};n();var Ze=require("react"),rc=require("@multiversx/sdk-wallet-connect-provider/out/walletConnectProvider");n();var Tn=require("react");function zt(e,t=[]){let r=(0,Tn.useRef)(!0);(0,Tn.useEffect)(()=>{r.current?r.current=!1:e()},t)}H();C();M();dt();var Do=({logoutRoute:e,callbackRoute:t,nativeAuth:r,token:o,onLoginRedirect:i})=>{let l=N(),p=15e3,d=r!=null,u=Ie(r),g=o,[T,h]=(0,Ze.useState)(""),[I,P]=(0,Ze.useState)(""),{provider:E}=mr(),b=S(ea),_=S(Zr),D=(0,Ze.useRef)(E),z=(0,Ze.useRef)(!0),ie,ee=Boolean(I),Xe=!ee,$e=ee?`${_}?wallet-connect=${encodeURIComponent(I)}`:"";(0,Ze.useEffect)(()=>{et();let F=setInterval(()=>{et()},p);return()=>clearInterval(F)},[E]),zt(()=>{!o||vt()},[o]),zt(()=>{D.current=E},[E]);let $=()=>{Q(e)},Qe=()=>{z.current=!1};function et(){return f(this,null,function*(){var se,j;if(E==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(te){console.error("Connection lost",te),$()}})}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 te=yield J.getSignature(),At={address:j,loginMethod:"walletconnect"},G={logoutRoute:e,loginType:"walletConnect",callbackRoute:t!=null?t:window.location.href};l(Rr(G)),te&&u.setTokenLoginInfo({signature:te,address:j}),l(Z(At)),J.walletConnector.on("heartbeat",()=>{clearInterval(ie),ie=setInterval(()=>{console.log("xPortal Mobile Wallet Connection Lost"),$(),clearInterval(ie)},15e4)}),ut({callbackRoute:t,onLoginRedirect:i,options:{address:j,signature:te}})}catch(J){h("Invalid address"),console.error(J)}})}function Yt(F=!0){return f(this,null,function*(){var te,At;let J=F&&!I;if(!b||((At=(te=D==null?void 0:D.current)==null?void 0:te.isInitialized)==null?void 0:At.call(te))&&!J)return;let se={onClientLogin:Jt,onClientLogout:$},j=new rc.WalletConnectProvider(b,se);yield j.init(),z.current=!0,pe(j),D.current=j,F&&vt()})}function vt(){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){P(F);return}u.setLoginToken(g);let se=`${F}&token=${g}`;P(se)})}let k=Boolean(T),O=ge();return[Yt,{error:T,loginFailed:k,isLoading:Xe&&!k,isLoggedIn:O&&!k},{uriDeepLink:$e,walletConnectUri:I,cancelLogin:Qe}]};n();var be=require("react"),nc=require("@multiversx/sdk-wallet-connect-provider/out/walletConnectV2Provider");H();C();M();dt();var Mo=({callbackRoute:e,logoutRoute:t,token:r,nativeAuth:o,onLoginRedirect:i})=>{let l=N(),p=o!=null,d=Ie(o),u=r,[g,T]=(0,be.useState)(""),[h,I]=(0,be.useState)(""),[P,E]=(0,be.useState)(!0),[b,_]=(0,be.useState)([]),D=oe(),z=S(ta),ie=S(ra),ee=S(na),Xe=S(cr),$e=S(Zr),$=(0,be.useRef)(D),Qe=(0,be.useRef)(!0),et=["erd_cancelAction","multiversx_cancelAction"],Jt=P?"":`${$e}?wallet-connect=${encodeURIComponent(h)}`;zt(()=>{!r||j()},[r]),zt(()=>{$.current=D},[D]),(0,be.useEffect)(()=>{E(!Boolean(h))},[h]);let Yt=()=>{Q(t)},vt=G=>{console.log("wc2 session event: ",G)},k=()=>{Qe.current=!1};function O(){return f(this,null,function*(){var G;try{let q=$.current;if(ge()||q==null||!fe("walletconnectv2"))return;if(!Qe.current){try{yield(G=$.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 Ge=yield q.getSignature(),An={address:Te,loginMethod:"walletconnectv2"},nl={logoutRoute:t,loginType:"walletconnectv2",callbackRoute:e!=null?e:window.location.href};l(Rr(nl)),Ge&&d.setTokenLoginInfo({signature:Ge,address:Te}),l(Z(An)),ut({callbackRoute:e,onLoginRedirect:i,options:{address:Te,signature:Ge}})}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:vt},Y=new nc.WalletConnectV2Provider(q,Xe,z,ie,ee);yield Y.init(),Qe.current=!0,pe(Y),_(Y.pairings),$.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:Ge}=yield(q=$.current)==null?void 0:q.connect({topic:G.topic,methods:et});if(p&&!u&&(u=yield d.getNativeAuthLoginToken(),!u)){console.warn("Fetching block failed. Login cancelled.");return}u&&d.setLoginToken(u);try{yield(Y=$.current)==null?void 0:Y.login({approval:Ge,token:u})}catch(An){T("User rejected existing connection proposal"),E(!0),yield F()}}catch(Ge){console.error("Unable to connect to existing session",Ge),T("Unable to connect to existing session")}finally{_((Te=$.current)==null?void 0:Te.pairings)}})}function se(G){return f(this,null,function*(){var q,Y;try{G&&(yield(q=$.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=$.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=$.current)==null?void 0:G.connect({methods:et});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=$.current)==null?void 0:q.login({approval:Te,token:u})}catch(An){T("User rejected connection proposal"),E(!0),yield F()}}catch(Y){console.error("Unable to connect",Y)}})}let te=Boolean(g),At=ge();return[F,{error:g,loginFailed:te,isLoading:P&&!te,isLoggedIn:At&&!te},{uriDeepLink:Jt,walletConnectUri:h,cancelLogin:k,connectExisting:J,removeExistingPairing:se,wcPairings:b}]};H();C();M();n();n();var oc=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 ic=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:()=>oc(t)}};n();var sc=require("react");n();H();C();B();function yn(e,t){let r=gn(e);if(r==null)return;let o=t!=null?t:w.dispatch,{signature:i,address:l}=r;i&&e&&l&&(o(W()),setTimeout(()=>{o(Ve({loginToken:e,signature:i,nativeAuthToken:e})),o(Z({address:l,loginMethod:"extra"}))}))}function ac(){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,sc.useEffect)(()=>{yn(i,e)},[i])}function uc(){let e=S(me),t=S(Ys),r=S(Js),o=S(Ft),i=S(Ne),l=S(po),p=S(Zs),d=S(De),u=S(Ut),[g,T]=(0,Be.useState)(),h=S(Yr),I=h==null?void 0:h.nativeAuthConfig,P=Ie(I||!1),E=(0,Be.useRef)(!1),b=N();ac();let{callbackRoute:_,logoutRoute:D}=t||{callbackRoute:"",logoutRoute:""},[z]=Do({callbackRoute:_,logoutRoute:D}),[ie]=Mo({callbackRoute:_,logoutRoute:D});(0,Be.useEffect)(()=>{ee()},[e]),(0,Be.useEffect)(()=>{vt()},[r]),(0,Be.useEffect)(()=>{$e()},[i,e]),(0,Be.useEffect)(()=>{Xe()},[l,d,g]);function ee(){return f(this,null,function*(){try{let k=yield _a();k&&b(is(k.erd_chain_id))}catch(k){console.error("failed refreshing chainId ",k)}})}function Xe(){l==null&&p!=null&&g&&b(zn({index:p.index,address:i,hasContractDataEnabled:g.dataEnabled,version:g.version}))}function $e(){return f(this,null,function*(){if(b(Rt(!0)),E.current){E.current=!1,b(Rt(!1));return}if(i)try{let k=yield Je(i);k&&b(lt(L(y({},k),{address:i,nonce:k.nonce.valueOf()})))}catch(k){b($i("Failed getting account")),console.error("Failed getting account ",k)}b(Rt(!1))})}function $(){return f(this,null,function*(){let k=Ao(e.walletAddress);if(pe(k),o!=null){try{let O=yield _e(),{clearNavigationHistory:F,remainingParams:{signature:J}}=ic(["signature","loginToken","address"]);if(!O)return pe(ur),b(Ve(null)),b(Nr(null)),F();J&&P.setTokenLoginInfo({signature:J,address:O});let se=yield Je(O);se&&(E.current=!0,b(Rt(!0)),b(Z({address:O,loginMethod:"wallet"})),b(lt(L(y({},se),{nonce:$t(se)}))),b(Rt(!1))),F()}catch(O){console.error("Failed authenticating wallet user ",O)}b(Nr(null))}})}function Qe(){return f(this,null,function*(){let k=new lc.HWProvider,O=k.isInitialized();if(O||(O=yield k.init()),!O&&d){console.warn("Could not initialise ledger app"),Q(u);return}return(p==null?void 0:p.index)!=null&&(k.addressIndex=p.index),k})}function et(){return f(this,null,function*(){try{let k=yield Qe();if(!k)return;let O=yield Io(k);pe(k),T(O)}catch(k){console.error("Could not initialise ledger app",k),Q(u)}})}function Jt(){return f(this,null,function*(){try{let k=yield _e(),O=cc.ExtensionProvider.getInstance().setAddress(k);(yield O.init())?pe(O):console.error("Could not initialise extension, make sure MultiversX wallet extension is installed.")}catch(k){console.error("Unable to login to ExtensionProvider",k)}})}function Yt(){return f(this,null,function*(){try{let k=yield _e(),O=pc.OperaProvider.getInstance().setAddress(k);(yield O.init())?pe(O):console.error("Could not initialise opera crypto wallet, make sure that opera crypto wallet is installed.")}catch(k){console.error("Unable to login to OperaProvider",k)}})}function vt(){if(r!=null)switch(r){case"ledger":{et();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"":{$();break}default:return}}return null}n();n();var Fo=require("@multiversx/sdk-core");B();n();M();var dc=typeof window!="undefined"?window:{},mc=()=>dc.ReactNativeWebView?"reactNative":dc.webkit?"ios":"web";n();B();var hn={signTransactions:{["ios"]:e=>window.webkit.messageHandlers.signTransactions.postMessage(e,xt),["reactNative"]:e=>window==null?void 0:window.ReactNativeWebView.postMessage(JSON.stringify({type:"SIGN_TRANSACTIONS_REQUEST",message:e})),["web"]:e=>window==null?void 0:window.postMessage(JSON.stringify({type:"SIGN_TRANSACTIONS_REQUEST",message:e}),xt)},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})),["web"]:e=>window==null?void 0:window.postMessage(JSON.stringify({type:"SIGN_MESSAGE_REQUEST",message:e}),xt)},logout:{["ios"]:()=>window.webkit.messageHandlers.logout.postMessage(),["reactNative"]:()=>window==null?void 0:window.ReactNativeWebView.postMessage(JSON.stringify({type:"LOGOUT_REQUEST"})),["web"]:()=>window==null?void 0:window.postMessage(JSON.stringify({type:"LOGOUT_REQUEST"}),xt)},login:{["ios"]:()=>window.webkit.messageHandlers.login.postMessage(),["reactNative"]:()=>window==null?void 0:window.ReactNativeWebView.postMessage(JSON.stringify({type:"LOGIN_REQUEST"})),["web"]:()=>window==null?void 0:window.postMessage(JSON.stringify({type:"LOGIN_REQUEST"}),xt)}};var Oo=e=>()=>{throw new Error(`Unable to perform ${e}, Provider not initialized`)},_o=mc(),fc,Tc,xt=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==xt)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 hn.login[_o](),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):(yn(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:()=>(hn.logout[_o](),new Promise(e=>{e(!0)})),getAddress:Oo("getAddress"),isInitialized:()=>!0,isConnected:()=>f(void 0,null,function*(){return!0}),sendTransaction:Oo("sendTransaction"),signMessage:Oo("signMessage"),signTransactions:e=>f(void 0,null,function*(){try{let t=e.map(o=>o.toPlainObject());return hn.signTransactions[_o](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=>Fo.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=>Fo.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 Uo=()=>S(Ae);n();C();n();n();n();var ed=require("react"),td=require("@multiversx/sdk-web-wallet-provider"),rd=A(require("qs"));R();C();M();n();var xc=require("react"),ld=require("@multiversx/sdk-extension-provider");R();C();M();n();n();n();n();var Sc=require("react"),id=require("@multiversx/sdk-extension-provider");R();C();n();n();var pd=A(require("axios")),ud=A(require("swr"));n();n();var vc=require("react");n();var wc=require("react");Kn();C();B();pt();n();st();C();n();n();n();n();n();function Ac(){let e=S(So),t=Object.entries(e),r=(t==null?void 0:t.length)>0;return{pendingTransactions:e,pendingTransactionsArray:t,hasPendingTransactions:r}}Dt();n();C();M();n();Dt();function Ic(e,t){return e.reduce((o,{status:i,hash:l})=>(l!=null&&!t.includes(l)&&Ce(i)&&o.push({hash:l,previousStatus:i}),o),[])}n();C();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(ft({sessionId:r,status:"fail",errorMessage:o==null?void 0:o.returnMessage}))}n();C();B();function Bo(e){w.dispatch(ft({sessionId:e,status:"timedOut"}))}var Sn={},Wo=[];function md({serverTransaction:e,sessionId:t,customTransactionInformation:r,shouldRefreshBalance:o}){let{hash:i,status:l,results:p,invalidTransaction:d,hasStatusChanged:u}=e;try{if(Wo.includes(i))return;if(Sn[i]>30){Bo(t);return}if(d||Ce(l)){Sn[i]=Sn[i]?Sn[i]+1:1;return}u&&(mt(l)&&(r==null?void 0:r.completedTransactionsDelay)!=null?(Wo.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(),gt(l)&&bc({sessionId:t,hash:i,results:p})}catch(g){console.error(g),Bo(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,Wo),d=yield o(p);for(let u of d)md({serverTransaction:u,sessionId:e,customTransactionInformation:r,shouldRefreshBalance:i})}catch(p){console.error(p)}})}function Ec(){let{pendingTransactionsArray:e}=Ac();function t(r){return f(this,null,function*(){let o=e.filter(([i,l])=>i!=null&&Ce(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();C();n();n();var Td=A(require("bignumber.js"));R();C();B();n();var fd=A(require("bignumber.js"));R();n();var yd=require("@multiversx/sdk-core"),hd=A(require("bignumber.js"));R();M();Dt();n();n();n();n();var kc=require("react");n();n();var xd=require("react"),wd=require("@multiversx/sdk-extension-provider");st();H();M();dt();n();var vd=require("react"),Ad=require("@multiversx/sdk-opera-provider");st();H();M();dt();n();var Ld=require("react");st();C();n();n();Un();n();n();var Id=A(require("platform"));n();n();n();n();n();pt();Ct();n();n();n();C();var bd={};var Pc=e=>{if(e.component!=null){let t=e,{component:r}=t,o=tt(t,["component"]),{payload:i}=w.dispatch(Xn(L(y({},o),{component:null})));return bd[i.toastId]=r,i}return w.dispatch(Xn(e)).payload};n();n();var Cc=A(require("axios"));function Go(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"),kd=require("@multiversx/sdk-hw-provider");st();H();C();M();dt();n();var Ed=require("react");n();n();var Nc=require("react");n();var Oc=require("react");n();var wt=require("react"),Dc=require("socket.io-client");C();n();var We={current:null,status:"not_initialized"};var Pd=3e3,Cd=3,Rd=500,Nd=1e3;function Mc(){let e=(0,wt.useRef)(null),{address:t}=ht(),r=N(),{network:o}=Uo(),i=p=>{e.current&&clearTimeout(e.current),e.current=setTimeout(()=>{r(Gi(p))},Nd)},l=(0,wt.useCallback)(dn(()=>f(this,null,function*(){We.status="pending";let p=yield Go(o.apiAddress);if(p==null){console.warn("Can not get websocket url");return}We.current=(0,Dc.io)(p,{forceNew:!0,reconnectionAttempts:Cd,timeout:Pd,query:{address:t}}),We.status="completed",We.current.onAny(d=>{i(d)})}),{retries:2,delay:Rd}),[t]);(0,wt.useEffect)(()=>{t&&We.status==="not_initialized"&&!We.current&&l()},[t,We.current]),(0,wt.useEffect)(()=>()=>{var p;(p=We.current)==null||p.close(),e.current&&clearTimeout(e.current)},[])}function _c(e){Mc();let t=S(uo);(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),xn=x(Fc,e=>e.modal),LM=x(xn,e=>e.showHeader),EM=x(xn,e=>e.showFooter),kM=x(xn,e=>e.headerText),PM=x(xn,e=>e.footerText);ct();var{logoutEvent:Md}=ae,Uc="storage",Wc=()=>{let{address:e}=Me(),t=S(Ut);(0,Bc.useEffect)(()=>{let r=o=>{if(!(o.key!==Md||!o.newValue))try{let{data:i}=JSON.parse(o.newValue);i===e&&Q(t)}catch(i){return}};return window.addEventListener(Uc,r),()=>{window.removeEventListener(Uc,r)}},[e,t])};n();n();var wn=require("react"),Gc=require("@fortawesome/free-solid-svg-icons"),Vo=A(require("bignumber.js"));n();n();var Tr=A(require("bignumber.js")),$c=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}=Me(),{tokenLogin:t}=S(K),{secondsUntilExpires:r,expiresAt:o}=Ht(t==null?void 0:t.nativeAuthToken),i=(0,wn.useRef)();return(0,wn.useEffect)(()=>{var d;let l=new Vo.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 Vo.default(t.nativeAuthConfig.tokenExpirationToastWarningSeconds).times(1e3),T=l.times(1e3).minus(g),h=$c(p),I=T.isLessThanOrEqualTo(0)?0:T.toNumber();i.current=setTimeout(()=>{Pc({toastId:"nativeAuthTokenExpiration",type:"custom",title:"Session Expiration Warning",icon:Gc.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}=Me(),{tokenLogin:t}=S(K),r=S(Ut),{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&&Q(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(()=>{Q(r)},I.toNumber()),()=>{clearTimeout(d.current)}},[l,e,r]),null};var jc=()=>(Vc(),Wc(),zc(),null);n();n();var vn=require("react"),Kc=require("@multiversx/sdk-core"),Jc=require("@multiversx/sdk-core/out/signature");C();M();pt();var qc=e=>{let t=e.redirectRoute;t&&Pe(t)},Yc=({sendSignedTransactionsAsync:e=Pa})=>{let t=S(je),r=S(Ke),o=(0,vn.useRef)(!1),i=N(),l=()=>{i(Mt()),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:E}=r[g];if(!E)continue;o.current=!0;let b=E.map(ee=>{let Xe=new Kc.Address(ee.sender),$e=Wt(ee),$=new Jc.Signature(ee.signature);return $e.applySignature($,Xe),$e}),_=yield e(b),D="pending",z=E.map(ee=>_.includes(ee.hash)?L(y({},ee),{status:D}):ee);i(Zi({sessionId:g,submittedMessage:"submitted"})),i(ft({sessionId:g,status:"sent",transactions:z})),l(),Va(t.nonce+E.length),qc(T),history.pushState({},document==null?void 0:document.title,"?")}catch(I){console.error("Unable to send transactions",I),i(ft({sessionId:g,status:"fail",errorMessage:I.message})),l()}finally{o.current=!1}}})}return(0,vn.useEffect)(()=>{p()},[r,t]),null};n();n();n();var Zc=require("react");function Xc(e){var i;let t=Ec(),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&&Eo(r),l!=null&&l.shouldUseWebViewProvider&&Eo(yc),Kt.default.createElement(tl.Provider,{context:ar,store:w},Kt.default.createElement(rl.PersistGate,{persistor:Hs,loading:null},Kt.default.createElement(Po,{environment:o,customNetworkConfig:t,logoutRoute:l==null?void 0:l.logoutRoute},Kt.default.createElement(uc,null),Kt.default.createElement(el,{customComponents:i}),e)))};0&&(module.exports={AppInitializer,AuthenticatedRoutesWrapper,AxiosInterceptor,AxiosInterceptorContext,AxiosInterceptorContextProvider,DappProvider,LoginInfoListener,useAxiosInterceptorContext});
1
+ "use strict";var il=Object.create;var Zt=Object.defineProperty,sl=Object.defineProperties,al=Object.getOwnPropertyDescriptor,cl=Object.getOwnPropertyDescriptors,ll=Object.getOwnPropertyNames,yr=Object.getOwnPropertySymbols,pl=Object.getPrototypeOf,bn=Object.prototype.hasOwnProperty,zo=Object.prototype.propertyIsEnumerable;var Ho=(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={}))bn.call(t,r)&&Ho(e,r,t[r]);if(yr)for(var r of yr(t))zo.call(t,r)&&Ho(e,r,t[r]);return e},L=(e,t)=>sl(e,cl(t));var jo=e=>typeof e=="symbol"?e:e+"",tt=(e,t)=>{var r={};for(var o in e)bn.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&&zo.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),rt=(e,t)=>{for(var r in t)Zt(e,r,{get:t[r],enumerable:!0})},qo=(e,t,r,o)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of ll(t))!bn.call(e,i)&&i!==r&&Zt(e,i,{get:()=>t[i],enumerable:!(o=al(t,i))||o.enumerable});return e};var A=(e,t,r)=>(r=e!=null?il(pl(e)):{},qo(t||!e||!e.__esModule?Zt(r,"default",{value:e,enumerable:!0}):r,e)),Xt=e=>qo(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 Yo=hr(Sr=>{"use strict";n();Sr.byteLength=dl;Sr.toByteArray=gl;Sr.fromByteArray=yl;var ye=[],ue=[],ul=typeof Uint8Array!="undefined"?Uint8Array:Array,Ln="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(nt=0,Ko=Ln.length;nt<Ko;++nt)ye[nt]=Ln[nt],ue[Ln.charCodeAt(nt)]=nt;var nt,Ko;ue["-".charCodeAt(0)]=62;ue["_".charCodeAt(0)]=63;function Jo(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 dl(e){var t=Jo(e),r=t[0],o=t[1];return(r+o)*3/4-o}function ml(e,t,r){return(t+r)*3/4-r}function gl(e){var t,r=Jo(e),o=r[0],i=r[1],l=new ul(ml(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 fl(e){return ye[e>>18&63]+ye[e>>12&63]+ye[e>>6&63]+ye[e&63]}function Tl(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(fl(o));return i.join("")}function yl(e){for(var t,r=e.length,o=r%3,i=[],l=16383,p=0,d=r-o;p<d;p+=l)i.push(Tl(e,p,p+l>d?d:p+l));return o===1?(t=e[r-1],i.push(ye[t>>2]+ye[t<<4&63]+"==")):o===2&&(t=(e[r-2]<<8)+e[r-1],i.push(ye[t>>10]+ye[t>>4&63]+ye[t<<2&63]+"=")),i.join("")}});var Zo=hr(En=>{n();En.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,P=e[t+h];for(h+=I,l=P&(1<<-T)-1,P>>=-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:(P?-1:1)*(1/0);p=p+Math.pow(2,o),l=l-g}return(P?-1:1)*p*Math.pow(2,l-o)};En.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,P=o?0:l-1,E=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+P]=d&255,P+=E,d/=256,i-=8);for(p=p<<i|d,g+=i;g>0;e[r+P]=p&255,P+=E,p/=256,g-=8);e[r+P-E]|=b*128}});var pi=hr(bt=>{"use strict";n();var kn=Yo(),It=Zo(),Xo=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;bt.Buffer=m;bt.SlowBuffer=Al;bt.INSPECT_MAX_BYTES=50;var xr=2147483647;bt.kMaxLength=xr;m.TYPED_ARRAY_SUPPORT=hl();!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 hl(){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 Le(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 Nn(e)}return ti(e,t,r)}m.poolSize=8192;function ti(e,t,r){if(typeof e=="string")return xl(e,t);if(ArrayBuffer.isView(e))return wl(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(he(e,ArrayBuffer)||e&&he(e.buffer,ArrayBuffer)||typeof SharedArrayBuffer!="undefined"&&(he(e,SharedArrayBuffer)||e&&he(e.buffer,SharedArrayBuffer)))return Cn(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=vl(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 ti(e,t,r)};Object.setPrototypeOf(m.prototype,Uint8Array.prototype);Object.setPrototypeOf(m,Uint8Array);function ri(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 Sl(e,t,r){return ri(e),e<=0?Le(e):t!==void 0?typeof r=="string"?Le(e).fill(t,r):Le(e).fill(t):Le(e)}m.alloc=function(e,t,r){return Sl(e,t,r)};function Nn(e){return ri(e),Le(e<0?0:Dn(e)|0)}m.allocUnsafe=function(e){return Nn(e)};m.allocUnsafeSlow=function(e){return Nn(e)};function xl(e,t){if((typeof t!="string"||t==="")&&(t="utf8"),!m.isEncoding(t))throw new TypeError("Unknown encoding: "+t);var r=ni(e,t)|0,o=Le(r),i=o.write(e,t);return i!==r&&(o=o.slice(0,i)),o}function Pn(e){for(var t=e.length<0?0:Dn(e.length)|0,r=Le(t),o=0;o<t;o+=1)r[o]=e[o]&255;return r}function wl(e){if(he(e,Uint8Array)){var t=new Uint8Array(e);return Cn(t.buffer,t.byteOffset,t.byteLength)}return Pn(e)}function Cn(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 vl(e){if(m.isBuffer(e)){var t=Dn(e.length)|0,r=Le(t);return r.length===0||e.copy(r,0,0,t),r}if(e.length!==void 0)return typeof e.length!="number"||Mn(e.length)?Le(0):Pn(e);if(e.type==="Buffer"&&Array.isArray(e.data))return Pn(e.data)}function Dn(e){if(e>=xr)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+xr.toString(16)+" bytes");return e|0}function Al(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(he(t,Uint8Array)&&(t=m.from(t,t.offset,t.byteLength)),he(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(he(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 ni(e,t){if(m.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||he(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 Rn(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return r*2;case"hex":return r>>>1;case"base64":return li(e).length;default:if(i)return o?-1:Rn(e).length;t=(""+t).toLowerCase(),i=!0}}m.byteLength=ni;function Il(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 Ml(this,t,r);case"utf8":case"utf-8":return ii(this,t,r);case"ascii":return Nl(this,t,r);case"latin1":case"binary":return Dl(this,t,r);case"base64":return Cl(this,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Ol(this,t,r);default:if(o)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),o=!0}}m.prototype._isBuffer=!0;function ot(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)ot(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)ot(this,r,r+3),ot(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)ot(this,r,r+7),ot(this,r+1,r+6),ot(this,r+2,r+5),ot(this,r+3,r+4);return this};m.prototype.toString=function(){var t=this.length;return t===0?"":arguments.length===0?ii(this,0,t):Il.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=bt.INSPECT_MAX_BYTES;return t=this.toString("hex",0,r).replace(/(.{2})/g,"$1 ").trim(),this.length>r&&(t+=" ... "),"<Buffer "+t+">"};Xo&&(m.prototype[Xo]=m.prototype.inspect);m.prototype.compare=function(t,r,o,i,l){if(he(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 oi(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,Mn(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:Qo(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):Qo(e,[t],r,o,i);throw new TypeError("val must be string, number or Buffer")}function Qo(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(P,E){return l===1?P[E]:P.readUInt16BE(E*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 oi(this,t,r,o,!0)};m.prototype.lastIndexOf=function(t,r,o){return oi(this,t,r,o,!1)};function bl(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(Mn(d))return p;e[r+p]=d}return p}function Ll(e,t,r,o){return wr(Rn(t,e.length-r),e,r,o)}function El(e,t,r,o){return wr(Ul(t),e,r,o)}function kl(e,t,r,o){return wr(li(t),e,r,o)}function Pl(e,t,r,o){return wr(Bl(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 bl(this,t,r,o);case"utf8":case"utf-8":return Ll(this,t,r,o);case"ascii":case"latin1":case"binary":return El(this,t,r,o);case"base64":return kl(this,t,r,o);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Pl(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 Cl(e,t,r){return t===0&&r===e.length?kn.fromByteArray(e):kn.fromByteArray(e.slice(t,r))}function ii(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 Rl(o)}var ei=4096;function Rl(e){var t=e.length;if(t<=ei)return String.fromCharCode.apply(String,e);for(var r="",o=0;o<t;)r+=String.fromCharCode.apply(String,e.slice(o,o+=ei));return r}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]&127);return o}function Dl(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 Ml(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+=Wl[e[l]];return i}function Ol(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 V(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||V(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||V(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||V(t,1,this.length),this[t]};m.prototype.readUint16LE=m.prototype.readUInt16LE=function(t,r){return t=t>>>0,r||V(t,2,this.length),this[t]|this[t+1]<<8};m.prototype.readUint16BE=m.prototype.readUInt16BE=function(t,r){return t=t>>>0,r||V(t,2,this.length),this[t]<<8|this[t+1]};m.prototype.readUint32LE=m.prototype.readUInt32LE=function(t,r){return t=t>>>0,r||V(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||V(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||V(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||V(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||V(t,1,this.length),this[t]&128?(255-this[t]+1)*-1:this[t]};m.prototype.readInt16LE=function(t,r){t=t>>>0,r||V(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||V(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||V(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||V(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||V(t,4,this.length),It.read(this,t,!0,23,4)};m.prototype.readFloatBE=function(t,r){return t=t>>>0,r||V(t,4,this.length),It.read(this,t,!1,23,4)};m.prototype.readDoubleLE=function(t,r){return t=t>>>0,r||V(t,8,this.length),It.read(this,t,!0,52,8)};m.prototype.readDoubleBE=function(t,r){return t=t>>>0,r||V(t,8,this.length),It.read(this,t,!1,52,8)};function re(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;re(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;re(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||re(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||re(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||re(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||re(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||re(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);re(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);re(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||re(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||re(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||re(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||re(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||re(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 si(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 ai(e,t,r,o,i){return t=+t,r=r>>>0,i||si(e,t,r,4,34028234663852886e22,-34028234663852886e22),It.write(e,t,r,o,23,4),r+4}m.prototype.writeFloatLE=function(t,r,o){return ai(this,t,r,!0,o)};m.prototype.writeFloatBE=function(t,r,o){return ai(this,t,r,!1,o)};function ci(e,t,r,o,i){return t=+t,r=r>>>0,i||si(e,t,r,8,17976931348623157e292,-17976931348623157e292),It.write(e,t,r,o,52,8),r+8}m.prototype.writeDoubleLE=function(t,r,o){return ci(this,t,r,!0,o)};m.prototype.writeDoubleBE=function(t,r,o){return ci(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 _l=/[^+/0-9A-Za-z-_]/g;function Fl(e){if(e=e.split("=")[0],e=e.trim().replace(_l,""),e.length<2)return"";for(;e.length%4!==0;)e=e+"=";return e}function Rn(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 Ul(e){for(var t=[],r=0;r<e.length;++r)t.push(e.charCodeAt(r)&255);return t}function Bl(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 li(e){return kn.toByteArray(Fl(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 he(e,t){return e instanceof t||e!=null&&e.constructor!=null&&e.constructor.name!=null&&e.constructor.name===t.name}function Mn(e){return e!==e}var Wl=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 fi=hr((Gd,gi)=>{n();var U=gi.exports={},Se,xe;function On(){throw new Error("setTimeout has not been defined")}function _n(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?Se=setTimeout:Se=On}catch(e){Se=On}try{typeof clearTimeout=="function"?xe=clearTimeout:xe=_n}catch(e){xe=_n}})();function ui(e){if(Se===setTimeout)return setTimeout(e,0);if((Se===On||!Se)&&setTimeout)return Se=setTimeout,setTimeout(e,0);try{return Se(e,0)}catch(t){try{return Se.call(null,e,0)}catch(r){return Se.call(this,e,0)}}}function $l(e){if(xe===clearTimeout)return clearTimeout(e);if((xe===_n||!xe)&&clearTimeout)return xe=clearTimeout,clearTimeout(e);try{return xe(e)}catch(t){try{return xe.call(null,e)}catch(r){return xe.call(this,e)}}}var Ee=[],Lt=!1,it,vr=-1;function Gl(){!Lt||!it||(Lt=!1,it.length?Ee=it.concat(Ee):vr=-1,Ee.length&&di())}function di(){if(!Lt){var e=ui(Gl);Lt=!0;for(var t=Ee.length;t;){for(it=Ee,Ee=[];++vr<t;)it&&it[vr].run();vr=-1,t=Ee.length}it=null,Lt=!1,$l(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 mi(e,t)),Ee.length===1&&!Lt&&ui(di)};function mi(e,t){this.fun=e,this.array=t}mi.prototype.run=function(){this.fun.apply(null,this.array)};U.title="browser";U.browser=!0;U.env={};U.argv=[];U.version="";U.versions={};function ke(){}U.on=ke;U.addListener=ke;U.once=ke;U.off=ke;U.removeListener=ke;U.removeAllListeners=ke;U.emit=ke;U.prependListener=ke;U.prependOnceListener=ke;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(pi()),a=A(fi()),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 st=v(()=>{"use strict";n()});var Ti=v(()=>{"use strict";n()});var yi=v(()=>{"use strict";n()});var hi=v(()=>{"use strict";n()});var M=v(()=>{"use strict";n()});var Si=v(()=>{"use strict";n()});var xi=v(()=>{"use strict";n()});var ne=v(()=>{"use strict";n()});var wi=v(()=>{"use strict";n()});var vi=v(()=>{"use strict";n()});var B=v(()=>{"use strict";n();Ti();yi();hi();M();Si();xi();ne();wi();vi()});var at,Ai,cm,Ii,lm,bi,pm,um,Vl,Et=v(()=>{"use strict";n();B();at={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:Ai,egldLabel:cm}=at["devnet"],{chainId:Ii,egldLabel:lm}=at["testnet"],{chainId:bi,egldLabel:pm}=at["mainnet"],um={["devnet"]:Ai,["testnet"]:Ii,["mainnet"]:bi},Vl={[Ai]:"devnet",[Ii]:"testnet",[bi]:"mainnet"}});var Fn=v(()=>{"use strict";n()});var Li=v(()=>{"use strict";n()});var Ar,Un=v(()=>{"use strict";n();Ar="transaction-status-toast-id"});var we,Ei=v(()=>{"use strict";n();we=require("@multiversx/sdk-web-wallet-provider")});var Qt,Ir,ki,Pi,br,Ci,kt,R=v(()=>{"use strict";n();st();Et();Fn();Li();Un();Ei();Qt=5e4,Ir=1e9,ki=1,Pi=1,br="logout",Ci="login",kt="0"});var Pt,Lr=v(()=>{"use strict";n();Pt=()=>Date.now()/1e3});var Ri=v(()=>{"use strict";n()});var Ni=v(()=>{"use strict";n()});var Bn=v(()=>{"use strict";n();Lr();Ri();Ni()});var $n={};rt($n,{getItem:()=>zl,localStorageKeys:()=>ae,removeItem:()=>jl,setItem:()=>Hl});var ae,Wn,Hl,zl,jl,ct=v(()=>{"use strict";n();Bn();ae={loginExpiresAt:"sdk-dapp-login-expires-at",logoutEvent:"sdk-dapp-logout-event"},Wn=typeof localStorage!="undefined",Hl=({key:e,data:t,expires:r})=>{!Wn||localStorage.setItem(String(e),JSON.stringify({expires:r,data:t}))},zl=e=>{if(!Wn)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:Pt()>=r.expires?(localStorage.removeItem(String(e)),null):r.data},jl=e=>{!Wn||localStorage.removeItem(String(e))}});var Gn={};rt(Gn,{clear:()=>_i,getItem:()=>Mi,removeItem:()=>Oi,setItem:()=>Di,storage:()=>ql});var Di,Mi,Oi,_i,ql,Fi=v(()=>{"use strict";n();Di=({key:e,data:t,expires:r})=>{sessionStorage.setItem(String(e),JSON.stringify({expires:r,data:t}))},Mi=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},Oi=e=>sessionStorage.removeItem(String(e)),_i=()=>sessionStorage.clear(),ql={setItem:Di,getItem:Mi,removeItem:Oi,clear:_i}});var ve,Ct=v(()=>{"use strict";n();ct();Fi();ve={session:Gn,local:$n}});var Vn,W,Z,H=v(()=>{"use strict";n();Vn=require("@reduxjs/toolkit");R();W=(0,Vn.createAction)(br),Z=(0,Vn.createAction)(Ci,e=>({payload:e}))});var zn,Ui,Bi,Er,Hn,Wi,lt,$m,kr,Gm,jn,Kl,Vm,Rt,$i,Gi,Pr,Cr=v(()=>{"use strict";n();zn=require("@multiversx/sdk-core"),Ui=require("@reduxjs/toolkit"),Bi=require("redux-persist");R();Ct();ct();H();Er={balance:"...",address:"",nonce:0,txCount:0,scrCount:0,claimableRewards:kt},Hn={address:"",websocketEvent:null,accounts:{"":Er},ledgerAccount:null,publicKey:"",walletConnectAccount:null,isAccountLoading:!0,accountLoadingError:null},Wi=(0,Ui.createSlice)({name:"accountInfoSlice",initialState:Hn,reducers:{setAddress:(e,t)=>{let r=t.payload;e.address=r,e.publicKey=new zn.Address(r).hex()},setAccount:(e,t)=>{let r=e.address===t.payload.address;e.accounts={[e.address]:r?t.payload:Er},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(W,()=>(ve.local.removeItem(ae.loginExpiresAt),Hn)),e.addCase(Z,(t,r)=>{let{address:o}=r.payload;t.address=o,t.publicKey=new zn.Address(o).hex()}),e.addCase(Bi.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:Hn.accounts,t.publicKey=d})}}),{setAccount:lt,setAddress:$m,setAccountNonce:kr,setAccountShard:Gm,setLedgerAccount:jn,updateLedgerAccount:Kl,setWalletConnectAccount:Vm,setIsAccountLoading:Rt,setAccountLoadingError:$i,setWebsocketEvent:Gi}=Wi.actions,Pr=Wi.reducer});function er(){return new Date().setHours(new Date().getHours()+24)}function tr(e){ve.local.setItem({key:ae.loginExpiresAt,data:e,expires:e})}var qn=v(()=>{"use strict";n();Ct();ct()});var Hi,Vi,zi,Qm,Rr,Jl,Ve,eg,Nr,ji,qi,Dr,rr=v(()=>{"use strict";n();Hi=require("@reduxjs/toolkit");qn();M();H();Vi={loginMethod:"",walletConnectLogin:null,ledgerLogin:null,tokenLogin:null,walletLogin:null,extensionLogin:null,operaLogin:null,isLoginSessionInvalid:!1},zi=(0,Hi.createSlice)({name:"loginInfoSlice",initialState:Vi,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(W,()=>Vi),e.addCase(Z,(t,r)=>{t.loginMethod=r.payload.loginMethod,tr(er())})}}),{setLoginMethod:Qm,setWalletConnectLogin:Rr,setLedgerLogin:Jl,setTokenLogin:Ve,setTokenLoginSignature:eg,setWalletLogin:Nr,invalidateLoginSession:ji,setLogoutRoute:qi}=zi.actions,Dr=zi.reducer});var Ji,Ki,Yi,Zi,Yl,og,Zl,Mr,Or=v(()=>{"use strict";n();Ji=require("@reduxjs/toolkit");H();Ki={},Yi=(0,Ji.createSlice)({name:"modalsSlice",initialState:Ki,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(W,()=>Ki)}}),{setTxSubmittedModal:Zi,setNotificationModal:Yl,clearTxSubmittedModal:og,clearNotificationModal:Zl}=Yi.actions,Mr=Yi.reducer});var Xi,Qi,Pe,pt=v(()=>{"use strict";n();Xi=!1,Qi=(e=!0)=>{Xi=e},Pe=(e,t=0)=>{Xi||setTimeout(()=>{window.location.href=e,window.location.assign(e)},t)}});function ut({callbackRoute:e,onLoginRedirect:t,options:r}){let o=Boolean(e),i=typeof t=="function",l=i?0:Xl;o&&e!=null&&setTimeout(()=>{if(i)return t(e,r);window.location.pathname.includes(e)||Pe(e)},l)}var Xl,es=v(()=>{"use strict";n();pt();Xl=200});function Kn(e){return e[Math.floor(Math.random()*e.length)]}var ts=v(()=>{"use strict";n()});var Jn=v(()=>{"use strict";n();Fn()});var dt=v(()=>{"use strict";n();es();ts();Jn()});var rs,ns,Yn,Ql,os,Zn,is,_r,nr=v(()=>{"use strict";n();rs=require("@reduxjs/toolkit"),ns=A(require("lodash.omit"));dt();Yn={id:"not-configured",chainId:"",name:"NOT CONFIGURED",egldLabel:"",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"",walletConnectBridgeAddress:"",walletConnectV2RelayAddress:"",walletConnectV2ProjectId:"",walletConnectV2Options:{},walletAddress:"",apiAddress:"",explorerAddress:"",apiTimeout:"4000"},Ql={network:Yn,chainID:"-1"},os=(0,rs.createSlice)({name:"appConfig",initialState:Ql,reducers:{initializeNetworkConfig:(e,t)=>{let r=Kn(t.payload.walletConnectBridgeAddresses),o=Kn(t.payload.walletConnectV2RelayAddresses),i=(0,ns.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:Zn,setChainID:is}=os.actions,_r=os.reducer});var ss,Xn,as,Ig,bg,Lg,Fr,Ur=v(()=>{"use strict";n();ss=require("@reduxjs/toolkit");B();H();Xn={isSigning:!1,signedSessions:{}},as=(0,ss.createSlice)({name:"signedMessageInfoSliceState",initialState:Xn,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:()=>Xn},extraReducers:e=>{e.addCase(W,()=>Xn)}}),{setSignSession:Ig,clearSignedMessageInfo:bg,setSignSessionState:Lg}=as.actions,Fr=as.reducer});var ls,ps,cs,us,Qn,eo,Mg,Og,_g,Fg,Br,Wr=v(()=>{"use strict";n();ls=require("@reduxjs/toolkit"),ps=require("redux-persist");Un();B();Lr();H();cs={customToasts:[],transactionToasts:[],failTransactionToast:null},us=(0,ls.createSlice)({name:"toastsSlice",initialState:cs,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:Pt(),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(W,()=>cs),e.addCase(ps.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:Qn,removeCustomToast:eo,addTransactionToast:Mg,removeTransactionToast:Og,addFailTransactionToast:_g,removeFailTransactionToast:Fg}=us.actions,Br=us.reducer});var ds,ro,no,oo,ep,to,ms,$g,tp,io,$r,Gr=v(()=>{"use strict";n();ds=require("@reduxjs/toolkit");H();ro="Transaction failed",no="Transaction successful",oo="Processing transaction",ep="Transaction submitted",to={},ms=(0,ds.createSlice)({name:"transactionsInfo",initialState:to,reducers:{setTransactionsDisplayInfo(e,t){let{sessionId:r,transactionsDisplayInfo:o}=t.payload;r!=null&&(e[r]={errorMessage:(o==null?void 0:o.errorMessage)||ro,successMessage:(o==null?void 0:o.successMessage)||no,processingMessage:(o==null?void 0:o.processingMessage)||oo,submittedMessage:(o==null?void 0:o.submittedMessage)||ep,transactionDuration:o==null?void 0:o.transactionDuration})},clearTransactionsInfoForSessionId(e,t){t.payload!=null&&delete e[t.payload]},clearTransactionsInfo:()=>to},extraReducers:e=>{e.addCase(W,()=>to)}}),{clearTransactionsInfo:$g,setTransactionsDisplayInfo:tp,clearTransactionsInfoForSessionId:io}=ms.actions,$r=ms.reducer});function Ce(e){return e!=null&&(lp(e)||mp(e))}function mt(e){return e!=null&&(pp(e)||gp(e))}function gt(e){return e!=null&&(up(e)||fp(e))}function so(e){return e!=null&&dp(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)}function fp(e){return e!=null&&cp.includes(e)}var rp,np,op,ip,sp,ap,cp,Dt=v(()=>{"use strict";n();M();rp=["sent"],np=["success"],op=["fail","cancelled","timedOut"],ip=["timedOut"],sp=["pending"],ap=["success"],cp=["fail","invalid"]});var gs,fs,or,Tp,Ts,ir,ft,yp,Mt,hp,Sp,Yg,xp,Vr,ao,Hr,zr=v(()=>{"use strict";n();gs=require("@reduxjs/toolkit"),fs=require("redux-persist");M();Dt();H();or={signedTransactions:{},transactionsToSign:null,signTransactionsError:null,signTransactionsCancelMessage:null,customTransactionInformationForSessionId:{}},Tp={signWithoutSending:!1,sessionInformation:null,redirectAfterSign:!1},Ts=(0,gs.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])||Tp;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 P=(T=(g=e.signedTransactions[r])==null?void 0:g.transactions)==null?void 0:T.every(b=>mt(b.status)),E=(I=(h=e.signedTransactions[r])==null?void 0:h.transactions)==null?void 0:I.every(b=>gt(b.status));P&&(e.signedTransactions[r].status="success"),E&&(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(W,()=>or),e.addCase(fs.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:ft,setTransactionsToSign:yp,clearAllTransactionsToSign:Mt,clearAllSignedTransactions:hp,clearSignedTransaction:Sp,clearTransactionToSign:Yg,setSignTransactionsError:xp,setSignTransactionsCancelMessage:Vr,moveTransactionsToSignedState:ao}=Ts.actions,Hr=Ts.reducer});var C=v(()=>{"use strict";n();Cr();rr();Or();nr();Ur();Wr();Gr();zr()});var co=v(()=>{"use strict";n()});var ws,xs,vs,wf,vf,Af,If,bf,Lf,As,Is=v(()=>{"use strict";n();ws=require("@reduxjs/toolkit");H();xs={visible:!1,modal:{showHeader:!0,showFooter:!1,headerText:"",footerText:""}},vs=(0,ws.createSlice)({name:"dappModalsSlice",initialState:xs,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(W,()=>xs)}}),{setDappModalVisibility:wf,setDappModalHeaderVisibility:vf,setDappModalFooterVisibility:Af,setDappModalHeaderText:If,setDappModalFooterText:bf,setDappModalConfig:Lf}=vs.actions,As=vs.reducer});var bs,Ip,bp,Tt,Jr=v(()=>{"use strict";n();bs=require("@reduxjs/toolkit");co();Cr();Is();rr();Or();nr();Ur();Wr();Gr();zr();Ip={["account"]:Pr,["dappModal"]:As,["loginInfo"]:Dr,["modals"]:Mr,["networkConfig"]:_r,["signedMessageInfo"]:Fr,["toasts"]:Br,["transactionsInfo"]:$r,["transactions"]:Hr},bp=(e={})=>(0,bs.combineReducers)(y(y({},Ip),e)),Tt=bp});var Ps={};rt(Ps,{default:()=>Wp,sessionStorageReducers:()=>lo});function ze(e,t=[]){return{key:e,version:1,storage:Es.default,blacklist:t}}var ce,Ls,Es,Lp,sr,Ep,kp,Pp,Cp,Rp,Np,Dp,Mp,Op,ks,_p,lo,Fp,Up,Bp,Wp,Cs=v(()=>{"use strict";n();ce=require("redux-persist"),Ls=A(require("redux-persist/lib/storage")),Es=A(require("redux-persist/lib/storage/session"));Jr();C();Cr();rr();Or();nr();Ur();Wr();Gr();zr();co();Lp={persistReducersStorageType:"localStorage"},sr={["account"]:"sdk-dapp-account",["loginInfo"]:"sdk-dapp-login-info",["modals"]:"sdk-dapp-modals",["networkConfig"]:"sdk-dapp-network-config"},Ep=ze(sr["account"]),kp=ze(sr["loginInfo"]),Pp=ze(sr["modals"]),Cp=ze(sr["networkConfig"]),Rp={2:e=>L(y({},e),{networkConfig:Yn})};Np=ze("sdk-dapp-transactionsInfo"),Dp=ze("sdk-dapp-transactions",["transactionsToSign"]),Mp=ze("sdk-dapp-toasts"),Op=ze("sdk-dapp-signedMessageInfo"),ks={key:"sdk-dapp-store",version:2,storage:Ls.default,whitelist:Object.keys(sr),migrate:(0,ce.createMigrate)(Rp,{debug:!1})},_p=L(y({},ks),{whitelist:[]}),lo={["toasts"]:(0,ce.persistReducer)(Mp,Br),["transactions"]:(0,ce.persistReducer)(Dp,Hr),["transactionsInfo"]:(0,ce.persistReducer)(Np,$r),["signedMessageInfo"]:(0,ce.persistReducer)(Op,Fr)},Fp=L(y({},lo),{["account"]:(0,ce.persistReducer)(Ep,Pr),["loginInfo"]:(0,ce.persistReducer)(kp,Dr),["modals"]:(0,ce.persistReducer)(Pp,Mr),["networkConfig"]:(0,ce.persistReducer)(Cp,_r)}),Up=Lp.persistReducersStorageType==="localStorage",Bp=Up?(0,ce.persistReducer)(ks,Tt(lo)):(0,ce.persistReducer)(_p,Tt(Fp)),Wp=Bp});var Rs={};rt(Rs,{default:()=>$p});var $p,Ns=v(()=>{"use strict";n();Jr();$p=Tt()});var Ds={};rt(Ds,{default:()=>Vp});var de,Gp,Vp,Ms=v(()=>{"use strict";n();de=require("redux-persist"),Gp=[de.FLUSH,de.REHYDRATE,de.PAUSE,de.PERSIST,de.PURGE,de.REGISTER],Vp=Gp});var Fs={};rt(Fs,{default:()=>_s});function _s(e){return(0,Os.persistStore)(e)}var Os,Us=v(()=>{"use strict";n();Os=require("redux-persist")});var _d={};rt(_d,{AppInitializer:()=>Co,AuthenticatedRoutesWrapper:()=>Ea,AxiosInterceptor:()=>Do,AxiosInterceptorContext:()=>ju,AxiosInterceptorContextProvider:()=>Ro,DappProvider:()=>Od,LoginInfoListener:()=>No,useAxiosInterceptorContext:()=>Gt});module.exports=Xt(_d);n();n();var wo=A(require("react"));n();var zs=require("react"),_t=require("react-redux");n();var po=require("@reduxjs/toolkit"),Gs=require("react-redux/lib/utils/Subscription");C();n();var hs=A(require("lodash.throttle"));R();n();var ys=A(require("lodash.isequal")),jr=require("reselect");B();var x=(0,jr.createSelectorCreator)(jr.defaultMemoize,ys.default),Ot=(e,t)=>e!=""&&Boolean(t);C();qn();Ct();ct();var wp=[br],qr=!1,vp=(0,hs.default)(()=>{tr(er())},5e3),Ss=e=>t=>r=>{var u;if(wp.includes(r.type))return t(r);let o=e.getState(),i=ve.local.getItem(ae.loginExpiresAt);if(!Ot((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(ji())},1e3):(qr&&(qr=!1),vp()),t(r)};n();n();function Kr(){return typeof sessionStorage!="undefined"}var Bs=Kr()?(Cs(),Xt(Ps)).default:(Ns(),Xt(Rs)).default,Ws=Kr()?(Ms(),Xt(Ds)).default:[],$s=Kr()?(Us(),Xt(Fs)).default:e=>e;Jr();var w=(0,po.configureStore)({reducer:Bs,middleware:e=>e({serializableCheck:{ignoredActions:[...Ws,kr.type,lt.type],ignoredPaths:["payload.nonce","account.account.nonce","providers.accountProvider"]}}).concat(Ss)}),Vs=(0,Gs.createSubscription)(w),Hs=$s(w),nT=(0,po.configureStore)({reducer:Tt});var Hp={store:w,subscription:Vs},ar=(0,zs.createContext)(Hp),aT=(0,_t.createStoreHook)(ar),N=(0,_t.createDispatchHook)(ar),S=(0,_t.createSelectorHook)(ar);n();n();C();var Re=e=>e.account,Ne=x(Re,e=>e.address),je=x(Re,Ne,(e,t)=>t in e.accounts?e.accounts[t]:Er),js=x(Re,je,(e,t)=>{let i=e,{accounts:r}=i,o=tt(i,["accounts"]);return L(y({},o),{account:t})}),zp=x(je,e=>e.balance),qs=x(je,e=>{var t;return((t=e==null?void 0:e.nonce)==null?void 0:t.valueOf())||0}),uT=x(Re,e=>e.shard),uo=x(Re,e=>e.ledgerAccount),dT=x(Re,e=>e.walletConnectAccount),Ks=x(Re,e=>e.isAccountLoading),mT=x(Re,e=>e.accountLoadingError),mo=x(Re,e=>e.websocketEvent);n();var K=e=>e.loginInfo,Js=x(K,e=>e.loginMethod),De=x(K,Ne,(e,t)=>Ot(e.loginMethod,t)),Ys=x(K,e=>e.walletConnectLogin),Zs=x(K,e=>e.ledgerLogin),Ft=x(K,e=>e.walletLogin),Xs=x(K,e=>e.isLoginSessionInvalid),Yr=x(K,e=>e.tokenLogin),Ut=x(K,e=>e.logoutRoute);n();var Qs=e=>e.modals,ST=x(Qs,e=>e.txSubmittedModal),jp=x(Qs,e=>e.notificationModal);n();var Ae=e=>e.networkConfig,cr=x(Ae,e=>e.chainID),ea=x(Ae,e=>e.network.walletConnectBridgeAddress),ta=x(Ae,e=>e.network.walletConnectV2RelayAddress),ra=x(Ae,e=>e.network.walletConnectV2ProjectId),na=x(Ae,e=>e.network.walletConnectV2Options),Zr=x(Ae,e=>e.network.walletConnectDeepLink),me=x(Ae,e=>e.network),Xr=x(me,e=>e.apiAddress),oa=x(me,e=>e.explorerAddress),ia=x(me,e=>e.egldLabel);n();var go=e=>e.signedMessageInfo,IT=x(go,e=>e.isSigning),bT=x(go,e=>e.errorMessage),LT=x(go,e=>{let t=Object.keys(e.signedSessions),r=t.length;return e.signedSessions[t[r-1]]});n();var fo=e=>e.toasts,PT=x(fo,e=>e.customToasts),CT=x(fo,e=>e.transactionToasts),RT=x(fo,e=>e.failTransactionToast);n();C();var sa={errorMessage:ro,successMessage:no,processingMessage:oo},qp=e=>e.transactionsInfo,Kp=x(qp,(e,t)=>t,(e,t)=>t!=null&&(e==null?void 0:e[Number(t)])||sa);n();n();var le=require("@multiversx/sdk-core");R();n();function To(e){try{return s.Buffer.from(e,"base64").toString()===atob(e)}catch(t){return!1}}function Bt(e){return atob(e)}function Wt(e){var i,l,p;let{data:t}=e,r=To(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:ki)},e.options?{options:new le.TransactionOptions(e.options)}:{}));return o.applySignature({hex:()=>e.signature||""},new le.Address(e.sender)),o}n();Dt();n();var Yp=A(require("bignumber.js"));B();n();n();n();n();var Xp=require("@multiversx/sdk-core"),Qp=A(require("bignumber.js"));M();n();var la=require("@multiversx/sdk-core");function Zp(e){try{let t=new la.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)&&Zp(e)}n();n();n();var tu=require("@multiversx/sdk-core/out");n();R();n();var pa=require("@multiversx/sdk-core");B();n();n();n();n();M();n();n();n();n();n();n();n();var ua="dapp/config",da="network/config";var Qr="accounts";var yo="blocks";n();n();n();n();ne();n();n();ne();n();n();n();var lu=A(require("bignumber.js"));R();n();var cu=require("@multiversx/sdk-core"),ho=A(require("bignumber.js"));R();n();var su=A(require("bignumber.js"));n();ho.default.config({ROUNDING_MODE:ho.default.ROUND_FLOOR});n();n();n();R();n();n();n();n();R();n();R();n();var pu=require("@multiversx/sdk-core");R();n();var pr=require("@multiversx/sdk-core"),mu=require("@multiversx/sdk-network-providers");R();n();n();var uu=A(require("bignumber.js"));R();n();R();n();n();n();n();n();R();n();ne();var fu=["reDelegateRewards","claimRewards","unBond"],Tu=["wrapEgld","unwrapEgld"],yu=["unStake"],hu=["unDelegate"];n();n();n();R();n();var vu=A(require("bignumber.js"));n();n();n();n();ne();n();var Au=A(require("bignumber.js"));n();n();n();n();ne();n();n();n();var Lu=A(require("linkifyjs"));n();R();n();var Eu=A(require("bignumber.js"));n();B();n();n();M();n();M();n();n();n();ne();n();ne();n();var ku=A(require("bignumber.js"));R();ne();n();ne();n();var ha=require("react");B();n();n();ne();n();n();var Pu=require("@multiversx/sdk-core/out"),Cu=A(require("bignumber.js"));ne();n();B();n();n();B();var uv=[{label:"Raw",value:"raw"},{label:"Text",value:"text"},{label:"Decimal",value:"decimal"},{label:"Smart",value:"smart"}];n();var Sa=require("react");B();n();var Nu=require("react");ne();var hv=["create","localMint","ESDTLocalMint","addQuantity","burn","localBurn","ESDTLocalBurn","wipe","writeLog","signalError"];var nn=e=>e.transactions,Ke=x(nn,e=>e.signedTransactions),Du=x(nn,e=>e.signTransactionsError),xa=x(nn,e=>e.signTransactionsCancelMessage),on=e=>t=>Object.entries(t).reduce((r,[o,i])=>(e(i.status)&&(r[o]=i),r),{}),xo=x(Ke,on(Ce)),wa=x(Ke,on(mt)),va=x(Ke,on(gt)),Mu=x(Ke,on(so)),Aa=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=>Wt(r)))||[]})}),Ou=x(Ke,(e,t)=>t,(e,t)=>t!=null?(e==null?void 0:e[t])||{}:{});pt();n();n();function Ia(e,t){if(!e){typeof console!="undefined"&&console.warn(t);try{throw new Error(t)}catch(r){}}}function ba(e,t){typeof e=="string"&&(e={path:e,caseSensitive:!1,end:!0});let[r,o]=_u(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]=Fu(d[h]||"",T),g},{}),pathname:l,pathnameBase:p,pattern:e}}function _u(e,t=!1,r=!0){Ia(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 Fu(e,t){try{return decodeURIComponent(e)}catch(r){return Ia(!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 La=(e,t)=>e.filter(({authenticatedRoute:i})=>Boolean(i)).some(({path:i})=>ba(i,t)!==null);var Ea=({children:e,routes:t,unlockRoute:r,onRedirect:o})=>{let i=S(De),l=S(Ks),p=S(Ft),u=La(t,window.location.pathname)&&!i&&p==null;return l||p?null:u?(o?o(r):Pe(r),null):wo.default.createElement(wo.default.Fragment,null,e)};n();var Fe=A(require("react")),ja=require("@multiversx/sdk-core/out");n();n();n();var ka=A(require("axios"));function Pa(e){return f(this,null,function*(){let{apiAddress:t,apiTimeout:r}=me(w.getState()),o=e.map(l=>ka.default.post(`${t}/transactions`,l.toPlainObject(),{timeout:parseInt(r)}));return(yield Promise.all(o)).map(({data:l})=>l.txHash)})}n();var Ca=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 Ca.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 Bu=A(require("axios"));n();n();var Wu=A(require("axios"));n();var $u=A(require("axios"));n();n();n();var Na=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 Da(e){return f(this,null,function*(){if(!e)return null;let r=`${an()}/${Qr}/${e}`;try{let{data:o}=yield Na.default.get(r);return o}catch(o){console.error("error fetching configuration for ",r)}return null})}n();n();Et();n();var Ma=A(require("axios"));function vo(e){return f(this,null,function*(){let t=`${e}/${ua}`;try{let{data:o}=yield Ma.default.get(t);if(o!=null){let i="egldDenomination";if(i in o){let r=o,{[i]:l,decimals:p}=r,d=tt(r,[jo(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 Oa=A(require("axios"));function _a(){return f(this,null,function*(){var r;let t=`${an()}/${da}`;try{let{data:o}=yield Oa.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();Et();n();Et();n();var Gu=A(require("axios"));Et();n();var Me=()=>S(js);rr();nr();n();n();n();n();var Fa=require("@multiversx/sdk-extension-provider"),Ua=require("@multiversx/sdk-hw-provider"),Ba=require("@multiversx/sdk-opera-provider"),Wa=require("@multiversx/sdk-wallet-connect-provider/out/walletConnectProvider"),$a=require("@multiversx/sdk-wallet-connect-provider/out/walletConnectV2Provider"),Ao=require("@multiversx/sdk-web-wallet-provider");R();M();var Vu="/dapp/init",yt=e=>{switch(e==null?void 0:e.constructor){case Ao.WalletProvider:return"wallet";case Wa.WalletConnectProvider:return"walletconnect";case $a.WalletConnectV2Provider:return"walletconnectv2";case Ua.HWProvider:return"ledger";case Fa.ExtensionProvider:return"extension";case Ba.OperaProvider:return"opera";case cn:return"";default:return"extra"}},Io=e=>new Ao.WalletProvider(`${e}${Vu}`),bo=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===Pi}}),Oe=e=>`Unable to perform ${e}, Provider not initialized`,cn=class{init(){return Promise.resolve(!1)}login(t){throw new Error(Oe(`login with options: ${t}`))}logout(t){throw new Error(Oe(`logout with options: ${t}`))}getAddress(){throw new Error(Oe("getAddress"))}isInitialized(){return!1}isConnected(){return Promise.resolve(!1)}sendTransaction(t,r){throw new Error(Oe(`sendTransaction with transactions: ${t} options: ${r}`))}signTransaction(t,r){throw new Error(Oe(`signTransaction with transactions: ${t} options: ${r}`))}signTransactions(t,r){throw new Error(Oe(`signTransactions with transactions: ${t} options: ${r}`))}signMessage(t,r){throw new Error(Oe(`signTransactions with ${t} and options ${r}`))}sendCustomMessage({method:t,params:r}){throw new Error(Oe(`sendCustomMessage with method: ${t} params: ${r}`))}sendCustomRequest(t){throw new Error(Oe(`sendSessionEvent with options: ${t}`))}ping(){return Promise.resolve(!1)}},ur=new cn;var Eo=ur,Lo=null;function pe(e){Eo=e}function ko(e){Lo=e}function ln(){Lo!=null&&(Eo=Lo)}function oe(){return Eo||ur}H();B();n();function ge(){return De(w.getState())}n();n();M();n();n();function Ga(){let e=oe();return yt(e)}function fe(e){return Ga()===e}function _e(){let{search:e}=window.location,t=w.getState(),r=oe(),o=Ne(t),i=De(t),l=Ft(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 Je(e){return f(this,null,function*(){return yield Da(e)})}n();C();function Va(e){w.dispatch(kr(e))}n();function $t(e){let t=w.getState(),r=qs(t);return e?r&&!isNaN(r)?Math.max(r,e.nonce):e.nonce:r}n();n();C();var Ha=()=>f(void 0,null,function*(){try{let e=yield _e();try{let t=yield Je(e);if(t!=null){let r=L(y({},t),{nonce:$t(t)});return w.dispatch(lt(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 Ha();try{if(!e.init)throw"Current provider does not have init() function";return(yield e.init())?Ha():void 0}catch(t){console.error("Failed initializing provider ",t)}})}n();var za=require("@multiversx/sdk-core");n();H();B();pt();Ct();ct();var Hu=e=>{let t=ve.local.getItem(ae.logoutEvent),{data:r}=t?JSON.parse(t):{data:e};e===r&&(ve.local.setItem({key:ae.logoutEvent,data:e,expires:0}),ve.local.removeItem(ae.logoutEvent))};function Q(e,t,r=!0){return f(this,null,function*(){let o=oe(),i=yt(o),l=ge(),p=i==="wallet";if(r&&(o==null?void 0:o.relogin)!=null)return yield o.relogin();if(!l||!o){Po(e,t,!1);return}try{let d=yield _e();Hu(d)}catch(d){Po(e,t,!1),console.error("error fetching logout address",d)}p&&Qi(),w.dispatch(W());try{let u=p&&!e?window.location.origin:e;p?setTimeout(()=>{o.logout({callbackUrl:u})}):(yield o.logout({callbackUrl:u}),Po(e,t,p))}catch(d){console.error("error logging out",d)}})}function Po(e,t,r){e&&!r&&(typeof t=="function"?t(e):Pe(e))}function Co({customNetworkConfig:e={},children:t,environment:r,logoutRoute:o}){let[i,l]=(0,Fe.useState)(!1),p=Me(),d=S(Xs),{address:u,publicKey:g}=p,T=N();function h(){return f(this,null,function*(){let P=!(e!=null&&e.skipFetchFromServer),E=e==null?void 0:e.apiAddress,b=at[r]||{},_=y(y({},b),e);if(P){let D=b==null?void 0:b.apiAddress,z=yield vo(E||D);if(z!=null){let ie=y(y(y({},b),z),e);T(Zn(ie));return}}T(Zn(_))})}function I(){return f(this,null,function*(){T(qi(o)),yield h(),l(!0)})}return(0,Fe.useEffect)(()=>{u&&new ja.Address(u).hex()!==g&&Q(o)},[u,g,o]),(0,Fe.useEffect)(()=>{I()},[e,r,o]),(0,Fe.useEffect)(()=>{p.address&&d&&Q(o)},[d,p.address,o]),i?Fe.default.createElement(Fe.default.Fragment,null,t):null}n();var Kt=A(require("react")),rl=require("react-redux"),nl=require("redux-persist/integration/react");n();var Be=require("react"),cc=require("@multiversx/sdk-extension-provider"),lc=require("@multiversx/sdk-hw-provider"),pc=require("@multiversx/sdk-opera-provider");n();var tc=require("react"),fn=require("@multiversx/sdk-core");n();n();var ht=()=>S(je);n();n();n();n();n();var Ue=A(require("react"));var qa=(0,Ue.createContext)({}),zu=w.getState();function Ro({children:e}){let[t,r]=(0,Ue.useState)(),[o,i]=(0,Ue.useState)(K(zu)),l={address:t,setAddress:r,isLoggedIn:Ot(o.loginMethod,t),loginInfo:o,setLoginInfo:p=>i(p)};return Ue.default.createElement(qa.Provider,{value:l},e)}function Gt(){let e=(0,Ue.useContext)(qa);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 No=({children:e=null})=>{var l;let{address:t}=ht(),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 Ye=A(require("react")),un=A(require("axios"));var Do=({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,Ye.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,Ye.useEffect)(l,[]),(0,Ye.useEffect)(()=>{o&&p()},[o]),Ye.default.createElement(Ye.default.Fragment,null,e)};var ju={Interceptor:Do,Listener:No,Provider:Ro};n();n();var mr=()=>{let e=oe(),t=yt(e);return{provider:e,providerType:t}};n();C();n();n();n();n();var qu=e=>e.replace(/\+/g,"-").replace(/\//g,"_").replace(/=/g,""),Vt=e=>qu(s.Buffer.from(e,"utf8").toString("base64"));n();var Ya=A(require("axios"));n();n();n();function Ka(e){return f(this,null,function*(){return yield new Promise(t=>{setTimeout(()=>t(),e)})})}n();var Ja=(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 Ka(t.delay)),yield Ja(e,t,r,o+1)):null}}),dn=(e,t={retries:5,delay:500})=>(...r)=>f(void 0,null,function*(){return yield Ja(e,t,r)});var Ku=4,Ju=3e4,mn={current:null},St={current:null},Yu=dn((e,t)=>f(void 0,null,function*(){let{data:r}=yield Ya.default.get(`${e}/${yo}?from=${Ku}&size=1&fields=hash,timestamp${t?"&shard="+t:""}`),[o]=r;return o}));function Za(e,t){return f(this,null,function*(){if(e==null)throw new Error("missing api url");let r=Date.now();if(mn.current!=null&&r<mn.current.timestamp*1e3+Ju)return mn.current;if(St.current!=null)return yield St.current;St.current=Yu(e,t);try{let o=yield St.current;if(o==null)throw St.current=null,new Error("could not get block hash");return mn.current={hash:o.hash,timestamp:o.timestamp},St.current=null,o}catch(o){return St.current=null,null}})}n();function Zu(e){return Object.prototype.toString.call(e)==="[object String]"}var gn=e=>{if(!e||!Zu(e))return null;try{let[t,r,o]=e.split("."),i=Bt(t),l=Bt(r),[p,d,u,g]=l.split("."),T=JSON.parse(Bt(g)),h=Bt(p),I={ttl:Number(u),address:i,extraInfo:T,origin:h,signature:o,blockHash:d,body:l};return g==="e30"&&delete I.extraInfo,I}catch(t){return null}};n();n();Lr();var Ht=e=>{let t=gn(e);if(!t)return{isExpired:!1};let r=Pt(),{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}};n();var Xa,gr={origin:typeof window!="undefined"?(Xa=window==null?void 0:window.location)==null?void 0:Xa.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:{origin:(r=e==null?void 0:e.origin)!=null?r:gr.origin,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();var Qa=({address:e,token:t,signature:r})=>{let o=Vt(e),i=Vt(t);return`${o}.${i}.${r}`};var ec=e=>{let{origin:t,apiAddress:r,expirySeconds:o,blockHashShard:i}=fr(e);return{getNativeAuthConfig:fr,initialize:(...u)=>f(void 0,[...u],function*(p={},d){if(!r||!t)return"";let g=d!=null?d:yield Za(r,i),{hash:T,timestamp:h}=g,I=Vt(JSON.stringify(y(y({},p),h?{timestamp:h}:{})));return`${Vt(t)}.${T}.${o}.${I}`}),getToken:Qa,getTokenExpiration:Ht}};var Xu=(e,t)=>{var r;return t?t===!0?e:(r=t.apiAddress)!=null?r:e:null},Ie=e=>{let t=S(me),r=S(Yr),o=(0,tc.useRef)(r==null?void 0:r.loginToken),i=Xu(t.apiAddress,e),l=fr(y(y({},e===!0?{}:e),i?{apiAddress:i}:{})),p=Boolean(e),d=ec(l),{address:u}=ht(),g=N(),T=E=>{o.current=E,g(Ve(y({loginToken:E},i?{nativeAuthConfig:l}:{})))},h=()=>f(void 0,null,function*(){try{return yield d.initialize()}catch(E){console.error("Unable to get block. Login failed.",E);return}}),I=({address:E,signature:b})=>{let _=o.current;if(!_)throw"Token not found. Call `setLoginToken` first.";if(!p){g(Ve({loginToken:_,signature:b}));return}let D=d.getToken({address:E,token:_,signature:b});g(Ve(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:E}){let _=yield h();if(o.current=_,!_)return;let D=new fn.SignableMessage({address:new fn.Address(u),message:s.Buffer.from(_)}),z=yield E(D,{});I({address:u,signature:z.toJSON().signature})})}};n();var Ze=require("react"),rc=require("@multiversx/sdk-wallet-connect-provider/out/walletConnectProvider");n();var Tn=require("react");function zt(e,t=[]){let r=(0,Tn.useRef)(!0);(0,Tn.useEffect)(()=>{r.current?r.current=!1:e()},t)}H();C();M();dt();var Mo=({logoutRoute:e,callbackRoute:t,nativeAuth:r,token:o,onLoginRedirect:i})=>{let l=N(),p=15e3,d=r!=null,u=Ie(r),g=o,[T,h]=(0,Ze.useState)(""),[I,P]=(0,Ze.useState)(""),{provider:E}=mr(),b=S(ea),_=S(Zr),D=(0,Ze.useRef)(E),z=(0,Ze.useRef)(!0),ie,ee=Boolean(I),Xe=!ee,$e=ee?`${_}?wallet-connect=${encodeURIComponent(I)}`:"";(0,Ze.useEffect)(()=>{et();let F=setInterval(()=>{et()},p);return()=>clearInterval(F)},[E]),zt(()=>{!o||vt()},[o]),zt(()=>{D.current=E},[E]);let $=()=>{Q(e)},Qe=()=>{z.current=!1};function et(){return f(this,null,function*(){var se,j;if(E==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(te){console.error("Connection lost",te),$()}})}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 te=yield J.getSignature(),At={address:j,loginMethod:"walletconnect"},G={logoutRoute:e,loginType:"walletConnect",callbackRoute:t!=null?t:window.location.href};l(Rr(G)),te&&u.setTokenLoginInfo({signature:te,address:j}),l(Z(At)),J.walletConnector.on("heartbeat",()=>{clearInterval(ie),ie=setInterval(()=>{console.log("xPortal Mobile Wallet Connection Lost"),$(),clearInterval(ie)},15e4)}),ut({callbackRoute:t,onLoginRedirect:i,options:{address:j,signature:te}})}catch(J){h("Invalid address"),console.error(J)}})}function Yt(F=!0){return f(this,null,function*(){var te,At;let J=F&&!I;if(!b||((At=(te=D==null?void 0:D.current)==null?void 0:te.isInitialized)==null?void 0:At.call(te))&&!J)return;let se={onClientLogin:Jt,onClientLogout:$},j=new rc.WalletConnectProvider(b,se);yield j.init(),z.current=!0,pe(j),D.current=j,F&&vt()})}function vt(){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){P(F);return}u.setLoginToken(g);let se=`${F}&token=${g}`;P(se)})}let k=Boolean(T),O=ge();return[Yt,{error:T,loginFailed:k,isLoading:Xe&&!k,isLoggedIn:O&&!k},{uriDeepLink:$e,walletConnectUri:I,cancelLogin:Qe}]};n();var be=require("react"),nc=require("@multiversx/sdk-wallet-connect-provider/out/walletConnectV2Provider");H();C();M();dt();var Oo=({callbackRoute:e,logoutRoute:t,token:r,nativeAuth:o,onLoginRedirect:i})=>{let l=N(),p=o!=null,d=Ie(o),u=r,[g,T]=(0,be.useState)(""),[h,I]=(0,be.useState)(""),[P,E]=(0,be.useState)(!0),[b,_]=(0,be.useState)([]),D=oe(),z=S(ta),ie=S(ra),ee=S(na),Xe=S(cr),$e=S(Zr),$=(0,be.useRef)(D),Qe=(0,be.useRef)(!0),et=["erd_cancelAction","multiversx_cancelAction"],Jt=P?"":`${$e}?wallet-connect=${encodeURIComponent(h)}`;zt(()=>{!r||j()},[r]),zt(()=>{$.current=D},[D]),(0,be.useEffect)(()=>{E(!Boolean(h))},[h]);let Yt=()=>{Q(t)},vt=G=>{console.log("wc2 session event: ",G)},k=()=>{Qe.current=!1};function O(){return f(this,null,function*(){var G;try{let q=$.current;if(ge()||q==null||!fe("walletconnectv2"))return;if(!Qe.current){try{yield(G=$.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 Ge=yield q.getSignature(),In={address:Te,loginMethod:"walletconnectv2"},ol={logoutRoute:t,loginType:"walletconnectv2",callbackRoute:e!=null?e:window.location.href};l(Rr(ol)),Ge&&d.setTokenLoginInfo({signature:Ge,address:Te}),l(Z(In)),ut({callbackRoute:e,onLoginRedirect:i,options:{address:Te,signature:Ge}})}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:vt},Y=new nc.WalletConnectV2Provider(q,Xe,z,ie,ee);yield Y.init(),Qe.current=!0,pe(Y),_(Y.pairings),$.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:Ge}=yield(q=$.current)==null?void 0:q.connect({topic:G.topic,methods:et});if(p&&!u&&(u=yield d.getNativeAuthLoginToken(),!u)){console.warn("Fetching block failed. Login cancelled.");return}u&&d.setLoginToken(u);try{yield(Y=$.current)==null?void 0:Y.login({approval:Ge,token:u})}catch(In){T("User rejected existing connection proposal"),E(!0),yield F()}}catch(Ge){console.error("Unable to connect to existing session",Ge),T("Unable to connect to existing session")}finally{_((Te=$.current)==null?void 0:Te.pairings)}})}function se(G){return f(this,null,function*(){var q,Y;try{G&&(yield(q=$.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=$.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=$.current)==null?void 0:G.connect({methods:et});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=$.current)==null?void 0:q.login({approval:Te,token:u})}catch(In){T("User rejected connection proposal"),E(!0),yield F()}}catch(Y){console.error("Unable to connect",Y)}})}let te=Boolean(g),At=ge();return[F,{error:g,loginFailed:te,isLoading:P&&!te,isLoggedIn:At&&!te},{uriDeepLink:Jt,walletConnectUri:h,cancelLogin:k,connectExisting:J,removeExistingPairing:se,wcPairings:b}]};H();C();M();n();n();var oc=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 ic=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:()=>oc(t)}};n();var sc=require("react");n();H();C();B();function yn(e,t){let r=gn(e);if(r==null)return;let o=t!=null?t:w.dispatch,{signature:i,address:l}=r;i&&e&&l&&(o(W()),setTimeout(()=>{o(Ve({loginToken:e,signature:i,nativeAuthToken:e})),o(Z({address:l,loginMethod:"extra"}))}))}function ac(){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,sc.useEffect)(()=>{yn(i,e)},[i])}function uc(){let e=S(me),t=S(Ys),r=S(Js),o=S(Ft),i=S(Ne),l=S(uo),p=S(Zs),d=S(De),u=S(Ut),[g,T]=(0,Be.useState)(),h=S(Yr),I=h==null?void 0:h.nativeAuthConfig,P=Ie(I||!1),E=(0,Be.useRef)(!1),b=N();ac();let{callbackRoute:_,logoutRoute:D}=t||{callbackRoute:"",logoutRoute:""},[z]=Mo({callbackRoute:_,logoutRoute:D}),[ie]=Oo({callbackRoute:_,logoutRoute:D});(0,Be.useEffect)(()=>{ee()},[e]),(0,Be.useEffect)(()=>{vt()},[r]),(0,Be.useEffect)(()=>{$e()},[i,e]),(0,Be.useEffect)(()=>{Xe()},[l,d,g]);function ee(){return f(this,null,function*(){try{let k=yield _a();k&&b(is(k.erd_chain_id))}catch(k){console.error("failed refreshing chainId ",k)}})}function Xe(){l==null&&p!=null&&g&&b(jn({index:p.index,address:i,hasContractDataEnabled:g.dataEnabled,version:g.version}))}function $e(){return f(this,null,function*(){if(b(Rt(!0)),E.current){E.current=!1,b(Rt(!1));return}if(i)try{let k=yield Je(i);k&&b(lt(L(y({},k),{address:i,nonce:k.nonce.valueOf()})))}catch(k){b($i("Failed getting account")),console.error("Failed getting account ",k)}b(Rt(!1))})}function $(){return f(this,null,function*(){let k=Io(e.walletAddress);if(pe(k),o!=null){try{let O=yield _e(),{clearNavigationHistory:F,remainingParams:{signature:J}}=ic(["signature","loginToken","address"]);if(!O)return pe(ur),b(Ve(null)),b(Nr(null)),F();J&&P.setTokenLoginInfo({signature:J,address:O});let se=yield Je(O);se&&(E.current=!0,b(Rt(!0)),b(Z({address:O,loginMethod:"wallet"})),b(lt(L(y({},se),{nonce:$t(se)}))),b(Rt(!1))),F()}catch(O){console.error("Failed authenticating wallet user ",O)}b(Nr(null))}})}function Qe(){return f(this,null,function*(){let k=new lc.HWProvider,O=k.isInitialized();if(O||(O=yield k.init()),!O&&d){console.warn("Could not initialise ledger app"),Q(u);return}return(p==null?void 0:p.index)!=null&&(k.addressIndex=p.index),k})}function et(){return f(this,null,function*(){try{let k=yield Qe();if(!k)return;let O=yield bo(k);pe(k),T(O)}catch(k){console.error("Could not initialise ledger app",k),Q(u)}})}function Jt(){return f(this,null,function*(){try{let k=yield _e(),O=cc.ExtensionProvider.getInstance().setAddress(k);(yield O.init())?pe(O):console.error("Could not initialise extension, make sure MultiversX wallet extension is installed.")}catch(k){console.error("Unable to login to ExtensionProvider",k)}})}function Yt(){return f(this,null,function*(){try{let k=yield _e(),O=pc.OperaProvider.getInstance().setAddress(k);(yield O.init())?pe(O):console.error("Could not initialise opera crypto wallet, make sure that opera crypto wallet is installed.")}catch(k){console.error("Unable to login to OperaProvider",k)}})}function vt(){if(r!=null)switch(r){case"ledger":{et();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"":{$();break}default:return}}return null}n();n();var Fo=require("@multiversx/sdk-core");B();n();M();var dc=typeof window!="undefined"?window:{},gc=()=>dc.ReactNativeWebView?"reactNative":dc.webkit?"ios":"web";n();B();var hn={signTransactions:{["ios"]:e=>window.webkit.messageHandlers.signTransactions.postMessage(e,xt),["reactNative"]:e=>window==null?void 0:window.ReactNativeWebView.postMessage(JSON.stringify({type:"SIGN_TRANSACTIONS_REQUEST",message:e})),["web"]:e=>window==null?void 0:window.postMessage(JSON.stringify({type:"SIGN_TRANSACTIONS_REQUEST",message:e}),xt)},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})),["web"]:e=>window==null?void 0:window.postMessage(JSON.stringify({type:"SIGN_MESSAGE_REQUEST",message:e}),xt)},logout:{["ios"]:()=>window.webkit.messageHandlers.logout.postMessage(),["reactNative"]:()=>window==null?void 0:window.ReactNativeWebView.postMessage(JSON.stringify({type:"LOGOUT_REQUEST"})),["web"]:()=>window==null?void 0:window.postMessage(JSON.stringify({type:"LOGOUT_REQUEST"}),xt)},login:{["ios"]:()=>window.webkit.messageHandlers.login.postMessage(),["reactNative"]:()=>window==null?void 0:window.ReactNativeWebView.postMessage(JSON.stringify({type:"LOGIN_REQUEST"})),["web"]:()=>window==null?void 0:window.postMessage(JSON.stringify({type:"LOGIN_REQUEST"}),xt)}};var _o=e=>()=>{throw new Error(`Unable to perform ${e}, Provider not initialized`)},Sn=gc(),Tc,yc,xt=typeof window!="undefined"&&(yc=(Tc=window==null?void 0:window.parent)==null?void 0:Tc.origin)!=null?yc:"*",fc=e=>{let t=r=>{let o=r.data;if(!(r.target.origin!=xt&&Sn!="reactNative"))try{o=JSON.parse(o),e(o)}catch(i){console.error("error parsing response")}};document.addEventListener("message",t),window.addEventListener("message",t)},hc={init:()=>f(void 0,null,function*(){return!0}),login:()=>f(void 0,null,function*(){return!0}),relogin:()=>f(void 0,null,function*(){try{return hn.login[Sn](),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):(yn(d),ln(),t(d))}catch(d){r("Unable to login")}document.removeEventListener("message",o)}fc(o)})}catch(e){throw console.error("error logging in",e),e}}),logout:()=>(hn.logout[Sn](),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 hn.signTransactions[Sn](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=>Fo.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=>Fo.Transaction.fromPlainObject(h)))}catch(h){i("Unable to sign")}}document.removeEventListener("message",l)}fc(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 Wc=require("react");n();n();var Uo=()=>S(Ae);n();C();n();n();n();var ed=require("react"),td=require("@multiversx/sdk-web-wallet-provider"),rd=A(require("qs"));R();C();M();n();var wc=require("react"),ld=require("@multiversx/sdk-extension-provider");R();C();M();n();n();n();n();var xc=require("react"),id=require("@multiversx/sdk-extension-provider");R();C();n();n();var pd=A(require("axios")),ud=A(require("swr"));n();n();var Ac=require("react");n();var vc=require("react");Jn();C();B();pt();n();st();C();n();n();n();n();n();function Ic(){let e=S(xo),t=Object.entries(e),r=(t==null?void 0:t.length)>0;return{pendingTransactions:e,pendingTransactionsArray:t,hasPendingTransactions:r}}Dt();n();C();M();n();Dt();function bc(e,t){return e.reduce((o,{status:i,hash:l})=>(l!=null&&!t.includes(l)&&Ce(i)&&o.push({hash:l,previousStatus:i}),o),[])}n();C();M();function Lc({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(ft({sessionId:r,status:"fail",errorMessage:o==null?void 0:o.returnMessage}))}n();C();B();function Bo(e){w.dispatch(ft({sessionId:e,status:"timedOut"}))}var xn={},Wo=[];function md({serverTransaction:e,sessionId:t,customTransactionInformation:r,shouldRefreshBalance:o}){let{hash:i,status:l,results:p,invalidTransaction:d,hasStatusChanged:u}=e;try{if(Wo.includes(i))return;if(xn[i]>30){Bo(t);return}if(d||Ce(l)){xn[i]=xn[i]?xn[i]+1:1;return}u&&(mt(l)&&(r==null?void 0:r.completedTransactionsDelay)!=null?(Wo.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(),gt(l)&&Lc({sessionId:t,hash:i,results:p})}catch(g){console.error(g),Bo(t)}}function Ec(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=bc(t,Wo),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}=Ic();function t(r){return f(this,null,function*(){let o=e.filter(([i,l])=>i!=null&&Ce(l.status));if(o.length>0)for(let[i,l]of o)yield Ec(y({sessionId:i,transactionBatch:l},r));r.shouldRefreshBalance&&pn()})}return t}n();var Sd=require("react");n();n();n();C();n();n();var Td=A(require("bignumber.js"));R();C();B();n();var fd=A(require("bignumber.js"));R();n();var yd=require("@multiversx/sdk-core"),hd=A(require("bignumber.js"));R();M();Dt();n();n();n();n();var Pc=require("react");n();n();var xd=require("react"),wd=require("@multiversx/sdk-extension-provider");st();H();M();dt();n();var vd=require("react"),Ad=require("@multiversx/sdk-opera-provider");st();H();M();dt();n();var Ld=require("react");st();C();n();n();Bn();n();n();var Id=A(require("platform"));n();n();n();n();n();pt();Ct();n();n();n();C();var bd={};var Cc=e=>{if(e.component!=null){let t=e,{component:r}=t,o=tt(t,["component"]),{payload:i}=w.dispatch(Qn(L(y({},o),{component:null})));return bd[i.toastId]=r,i}return w.dispatch(Qn(e)).payload};n();n();var Rc=A(require("axios"));function Go(e){return f(this,null,function*(){try{let{data:t}=yield Rc.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 Nc=require("react"),kd=require("@multiversx/sdk-hw-provider");st();H();C();M();dt();n();var Ed=require("react");n();n();var Dc=require("react");n();var _c=require("react");n();var wt=require("react"),Mc=require("socket.io-client");C();n();var We={current:null,status:"not_initialized"};var Pd=3e3,Cd=3,Rd=500,Nd=1e3;function Oc(){let e=(0,wt.useRef)(null),{address:t}=ht(),r=N(),{network:o}=Uo(),i=p=>{e.current&&clearTimeout(e.current),e.current=setTimeout(()=>{r(Gi(p))},Nd)},l=(0,wt.useCallback)(dn(()=>f(this,null,function*(){We.status="pending";let p=yield Go(o.apiAddress);if(p==null){console.warn("Can not get websocket url");return}We.current=(0,Mc.io)(p,{forceNew:!0,reconnectionAttempts:Cd,timeout:Pd,query:{address:t}}),We.status="completed",We.current.onAny(d=>{i(d)})}),{retries:2,delay:Rd}),[t]);(0,wt.useEffect)(()=>{t&&We.status==="not_initialized"&&!We.current&&l()},[t,We.current]),(0,wt.useEffect)(()=>()=>{var p;(p=We.current)==null||p.close(),e.current&&clearTimeout(e.current)},[])}function Fc(e){Oc();let t=S(mo);(0,_c.useEffect)(()=>{let r=t==null?void 0:t.message;r&&e(r)},[e,t])}n();n();n();var Uc=e=>e.dappModal,Dd=x(Uc,e=>e.visible),wn=x(Uc,e=>e.modal),LM=x(wn,e=>e.showHeader),EM=x(wn,e=>e.showFooter),kM=x(wn,e=>e.headerText),PM=x(wn,e=>e.footerText);ct();var{logoutEvent:Md}=ae,Bc="storage",$c=()=>{let{address:e}=Me(),t=S(Ut);(0,Wc.useEffect)(()=>{let r=o=>{if(!(o.key!==Md||!o.newValue))try{let{data:i}=JSON.parse(o.newValue);i===e&&Q(t)}catch(i){return}};return window.addEventListener(Bc,r),()=>{window.removeEventListener(Bc,r)}},[e,t])};n();n();var vn=require("react"),Vc=require("@fortawesome/free-solid-svg-icons"),Vo=A(require("bignumber.js"));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 Hc=()=>{let{address:e}=Me(),{tokenLogin:t}=S(K),{secondsUntilExpires:r,expiresAt:o}=Ht(t==null?void 0:t.nativeAuthToken),i=(0,vn.useRef)();return(0,vn.useEffect)(()=>{var d;let l=new Vo.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 Vo.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(()=>{Cc({toastId:"nativeAuthTokenExpiration",type:"custom",title:"Session Expiration Warning",icon:Vc.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"),zc=A(require("bignumber.js"));var jc=()=>{let{address:e}=Me(),{tokenLogin:t}=S(K),r=S(Ut),{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&&Q(r)},[o,e,r]),(0,jt.useEffect)(()=>{let u=new zc.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(()=>{Q(r)},I.toNumber()),()=>{clearTimeout(d.current)}},[l,e,r]),null};var qc=()=>(Hc(),$c(),jc(),null);n();n();var An=require("react"),Jc=require("@multiversx/sdk-core"),Yc=require("@multiversx/sdk-core/out/signature");C();M();pt();var Kc=e=>{let t=e.redirectRoute;t&&Pe(t)},Zc=({sendSignedTransactionsAsync:e=Pa})=>{let t=S(je),r=S(Ke),o=(0,An.useRef)(!1),i=N(),l=()=>{i(Mt()),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){Kc(T);continue}try{if(!(r[g].status==="signed"&&!o.current))continue;let{transactions:E}=r[g];if(!E)continue;o.current=!0;let b=E.map(ee=>{let Xe=new Jc.Address(ee.sender),$e=Wt(ee),$=new Yc.Signature(ee.signature);return $e.applySignature($,Xe),$e}),_=yield e(b),D="pending",z=E.map(ee=>_.includes(ee.hash)?L(y({},ee),{status:D}):ee);i(Zi({sessionId:g,submittedMessage:"submitted"})),i(ft({sessionId:g,status:"sent",transactions:z})),l(),Va(t.nonce+E.length),Kc(T),history.pushState({},document==null?void 0:document.title,"?")}catch(I){console.error("Unable to send transactions",I),i(ft({sessionId:g,status:"fail",errorMessage:I.message})),l()}finally{o.current=!1}}})}return(0,An.useEffect)(()=>{p()},[r,t]),null};n();n();n();var Xc=require("react");function Qc(e){var i;let t=kc(),r=(i=e==null?void 0:e.getTransactionsByHash)!=null?i:sn,o=()=>{t({shouldRefreshBalance:!0,getTransactionsByHash:r})};Fc(o),(0,Xc.useEffect)(()=>{let l=setInterval(o,3e4);return()=>{clearInterval(l)}},[o])}function el({getTransactionsByHash:e}){return Qc({getTransactionsByHash:e}),null}function tl({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:Zc,i=(p=r==null?void 0:r.component)!=null?p:el;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(qc,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&&ko(r),l!=null&&l.shouldUseWebViewProvider&&ko(hc),Kt.default.createElement(rl.Provider,{context:ar,store:w},Kt.default.createElement(nl.PersistGate,{persistor:Hs,loading:null},Kt.default.createElement(Co,{environment:o,customNetworkConfig:t,logoutRoute:l==null?void 0:l.logoutRoute},Kt.default.createElement(uc,null),Kt.default.createElement(tl,{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-L2UUUYJG.js";import"../__chunks__/chunk-NUNUM2A2.js";import"../__chunks__/chunk-VKLTH4PZ.js";import"../__chunks__/chunk-OWVDW4YO.js";import"../__chunks__/chunk-OGKM4YOJ.js";import"../__chunks__/chunk-6LITAK4Z.js";import"../__chunks__/chunk-VPLKOEAB.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};
1
+ "use strict";import{a,b,c}from"../__chunks__/chunk-BMHV4H76.js";import"../__chunks__/chunk-M5BOIA6B.js";import"../__chunks__/chunk-IJIYT3QB.js";import"../__chunks__/chunk-OWVDW4YO.js";import"../__chunks__/chunk-OGKM4YOJ.js";import"../__chunks__/chunk-6LITAK4Z.js";import"../__chunks__/chunk-VPLKOEAB.js";import"../__chunks__/chunk-CLAJ4EPW.js";import"../__chunks__/chunk-NV7UCWNW.js";import"../__chunks__/chunk-M233YJDK.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-VGPEWMQW.js";import"../__chunks__/chunk-G6V3RROQ.js";import{a as t}from"../__chunks__/chunk-ZD4T5RDE.js";import{a as p}from"../__chunks__/chunk-IJJ232SS.js";import"../__chunks__/chunk-DEO64IOA.js";import"../__chunks__/chunk-YZSCV3FW.js";import"../__chunks__/chunk-DQ2DOR6B.js";import"../__chunks__/chunk-K3PKB7WJ.js";import"../__chunks__/chunk-EZOGNXLH.js";import"../__chunks__/chunk-R7ADKYKL.js";import"../__chunks__/chunk-GKOGOKEY.js";import"../__chunks__/chunk-AUMJWTVL.js";import"../__chunks__/chunk-TGRX3YCF.js";import"../__chunks__/chunk-UCBDWIIG.js";import"../__chunks__/chunk-KK63JPYF.js";import"../__chunks__/chunk-ZUKUDAXO.js";import"../__chunks__/chunk-D5K7WBRB.js";import"../__chunks__/chunk-NJ2FRDNT.js";import"../__chunks__/chunk-GVU7CFIB.js";import"../__chunks__/chunk-YTSEILVL.js";import"../__chunks__/chunk-SQJYWVIF.js";import"../__chunks__/chunk-RCHL72K4.js";import"../__chunks__/chunk-VOLUHLVM.js";import"../__chunks__/chunk-L5ZELHXF.js";import"../__chunks__/chunk-G5FPMOKK.js";import"../__chunks__/chunk-O7YR4YPR.js";import"../__chunks__/chunk-HZSM6ODA.js";import"../__chunks__/chunk-OLYIRMPJ.js";import"../__chunks__/chunk-DQ6NMBLV.js";import"../__chunks__/chunk-JZ2Y7SFA.js";import"../__chunks__/chunk-3SGZP5CP.js";import"../__chunks__/chunk-VPGECZPA.js";import"../__chunks__/chunk-IH6JAQIK.js";import"../__chunks__/chunk-MDIJXESM.js";import"../__chunks__/chunk-BQOOU5JN.js";import"../__chunks__/chunk-QH27B2OC.js";import"../__chunks__/chunk-FVPFOC6I.js";import"../__chunks__/chunk-4QMATHBG.js";import"../__chunks__/chunk-VLHTKYIW.js";import"../__chunks__/chunk-QCGS2BTF.js";import"../__chunks__/chunk-MVJUBH74.js";import"../__chunks__/chunk-23WPUIWM.js";import"../__chunks__/chunk-MSXSTSBP.js";import"../__chunks__/chunk-5RYOEKY5.js";import"../__chunks__/chunk-65KFD325.js";import"../__chunks__/chunk-HLEXPOK5.js";import"../__chunks__/chunk-6CORFLG2.js";import"../__chunks__/chunk-EGUQKZHO.js";import"../__chunks__/chunk-SA2UKCJX.js";import"../__chunks__/chunk-PNXAVAWX.js";import"../__chunks__/chunk-VMNKME5Q.js";import"../__chunks__/chunk-JGZCNGRV.js";import"../__chunks__/chunk-PKNLHLMK.js";import"../__chunks__/chunk-EWWRMWGQ.js";import"../__chunks__/chunk-IINAI2T7.js";import"../__chunks__/chunk-7A4X3VND.js";import"../__chunks__/chunk-5VEFV3IS.js";import"../__chunks__/chunk-5C5IMDWD.js";import"../__chunks__/chunk-72FDUWXP.js";import"../__chunks__/chunk-BMM3EAVE.js";import"../__chunks__/chunk-S2ZXQSDD.js";import"../__chunks__/chunk-SPLIL3ZF.js";import"../__chunks__/chunk-YHN6UC5D.js";import"../__chunks__/chunk-7XL5MCJK.js";import"../__chunks__/chunk-KL3ZFTGO.js";import"../__chunks__/chunk-M4KXOW7P.js";import"../__chunks__/chunk-ESYXEFZ7.js";import"../__chunks__/chunk-NIXVRMA2.js";import"../__chunks__/chunk-EPODPC7N.js";import"../__chunks__/chunk-AZVCA6PP.js";import"../__chunks__/chunk-6ERRM2KF.js";import"../__chunks__/chunk-PEA6B2ZZ.js";import"../__chunks__/chunk-CB3TM7NC.js";import"../__chunks__/chunk-B4AJMI3T.js";import"../__chunks__/chunk-NDKKNO3E.js";import"../__chunks__/chunk-F3USMPPZ.js";import"../__chunks__/chunk-5WQI3F3M.js";import"../__chunks__/chunk-L4CGB34M.js";import"../__chunks__/chunk-3Q7OTNFY.js";import"../__chunks__/chunk-YTYNUTPN.js";import"../__chunks__/chunk-KU6GMEDW.js";import"../__chunks__/chunk-FZMRVALH.js";import"../__chunks__/chunk-B4D6WVTB.js";import"../__chunks__/chunk-WME7JUV7.js";import"../__chunks__/chunk-CUPMM5UN.js";import"../__chunks__/chunk-OX5CQN4Z.js";import"../__chunks__/chunk-FR4JYMVH.js";import"../__chunks__/chunk-7AMV6USN.js";import"../__chunks__/chunk-C5LKGARX.js";import"../__chunks__/chunk-FJTOBBI5.js";import"../__chunks__/chunk-Z5PKPJRS.js";import"../__chunks__/chunk-47JMQSE2.js";import"../__chunks__/chunk-J5MXYBME.js";import"../__chunks__/chunk-LHMBRPVE.js";import"../__chunks__/chunk-CHTJEAWJ.js";import"../__chunks__/chunk-6D3XECJF.js";import"../__chunks__/chunk-HH5S5FOE.js";import"../__chunks__/chunk-MNBMZXH4.js";import"../__chunks__/chunk-22UA5SNR.js";import"../__chunks__/chunk-DXOQOQTD.js";import"../__chunks__/chunk-TKL5MHDO.js";import"../__chunks__/chunk-WQ22KG5Y.js";import"../__chunks__/chunk-JZMR4U4G.js";import"../__chunks__/chunk-NLB665WA.js";import"../__chunks__/chunk-L6PXXNNQ.js";import"../__chunks__/chunk-WJGL6LVA.js";import"../__chunks__/chunk-OCMDIV3Q.js";import"../__chunks__/chunk-LK5TR7MI.js";import"../__chunks__/chunk-KOH3SXG4.js";import"../__chunks__/chunk-K4JDGZX7.js";import"../__chunks__/chunk-XUFBPLE5.js";import"../__chunks__/chunk-DGPHTEKD.js";import"../__chunks__/chunk-TXAITGIS.js";import"../__chunks__/chunk-JFXVZGSY.js";import"../__chunks__/chunk-UORGIPVL.js";import"../__chunks__/chunk-E3ZZOQNR.js";import"../__chunks__/chunk-Q2MHKB63.js";import"../__chunks__/chunk-YAR2KJ42.js";import"../__chunks__/chunk-SZGCAC7X.js";import"../__chunks__/chunk-MV5K23LN.js";import"../__chunks__/chunk-LT2FAIWS.js";import"../__chunks__/chunk-FP3YMQL6.js";import"../__chunks__/chunk-QMD3AU7N.js";import"../__chunks__/chunk-HWHFIUZU.js";import"../__chunks__/chunk-ZJLU56XW.js";import"../__chunks__/chunk-3M4QTTV7.js";import"../__chunks__/chunk-FT2IN7BT.js";import"../__chunks__/chunk-XW4TJUAM.js";import"../__chunks__/chunk-FZKUX6GT.js";import"../__chunks__/chunk-JRCA2D4O.js";import"../__chunks__/chunk-2LFAG5UW.js";import"../__chunks__/chunk-KVKIF44C.js";import"../__chunks__/chunk-KZR7TQ7H.js";import"../__chunks__/chunk-XOZ662VA.js";import"../__chunks__/chunk-LO5NNAIV.js";import"../__chunks__/chunk-NAN2H6P3.js";import"../__chunks__/chunk-KEQTNP4F.js";import"../__chunks__/chunk-7JLRHOSP.js";import"../__chunks__/chunk-KMDMJSTX.js";import"../__chunks__/chunk-TMCGSBFK.js";import"../__chunks__/chunk-GTFL6MTY.js";import"../__chunks__/chunk-XWRW4TO4.js";import"../__chunks__/chunk-3U7QBETU.js";import"../__chunks__/chunk-QDL73CLR.js";import"../__chunks__/chunk-BZAS5UWX.js";import"../__chunks__/chunk-CSNNQII4.js";import"../__chunks__/chunk-HED7LZVU.js";import"../__chunks__/chunk-M5D23LEL.js";import"../__chunks__/chunk-FKHUTJ2C.js";import"../__chunks__/chunk-Q4ODFQVM.js";import"../__chunks__/chunk-SKMXMVKW.js";import"../__chunks__/chunk-COUZONBL.js";import"../__chunks__/chunk-OBF5YWS6.js";import"../__chunks__/chunk-IHEQMC3B.js";import"../__chunks__/chunk-ONNEZDFU.js";import"../__chunks__/chunk-LPQY7BQ4.js";import"../__chunks__/chunk-RNF6NJNX.js";import"../__chunks__/chunk-U2HS3BH7.js";import"../__chunks__/chunk-RRXC3HFG.js";import"../__chunks__/chunk-JH6JZ4CB.js";import"../__chunks__/chunk-XOSPBGLI.js";import"../__chunks__/chunk-ZGQSC36F.js";import"../__chunks__/chunk-OXSLKC3X.js";import"../__chunks__/chunk-QC4HFPGK.js";import"../__chunks__/chunk-LGYW2J5J.js";import"../__chunks__/chunk-NHLZWMC2.js";import"../__chunks__/chunk-TPDR3Y6L.js";import"../__chunks__/chunk-X5TGO2UY.js";import"../__chunks__/chunk-5ZW4DA22.js";import"../__chunks__/chunk-PUO4W3JY.js";import"../__chunks__/chunk-NGVYQHDX.js";import"../__chunks__/chunk-BP7X5FRP.js";import"../__chunks__/chunk-IDMVPVRN.js";import"../__chunks__/chunk-GSMMBXTD.js";import"../__chunks__/chunk-A32WHRLH.js";import"../__chunks__/chunk-WVJETRW5.js";import"../__chunks__/chunk-QX22NYVR.js";import"../__chunks__/chunk-7KR7Q4BZ.js";import"../__chunks__/chunk-SNGAFUP6.js";import"../__chunks__/chunk-R7JGMLFZ.js";import"../__chunks__/chunk-ZTLF7T3Z.js";import"../__chunks__/chunk-NCHDT5N7.js";import"../__chunks__/chunk-FMIRA7YL.js";import"../__chunks__/chunk-RQ3IOPRD.js";import"../__chunks__/chunk-43JAU5XR.js";import"../__chunks__/chunk-ZLERNDUF.js";import"../__chunks__/chunk-4KO7EUF3.js";import"../__chunks__/chunk-W2FL4F7Y.js";import"../__chunks__/chunk-5MHH6T2T.js";import"../__chunks__/chunk-PADNJI6W.js";import"../__chunks__/chunk-4JRTSMDG.js";import"../__chunks__/chunk-VHHIARAI.js";import"../__chunks__/chunk-7F3MKQYJ.js";import"../__chunks__/chunk-NQL5MPQV.js";import"../__chunks__/chunk-3J5AQE4Q.js";import"../__chunks__/chunk-GFGHEH4C.js";import"../__chunks__/chunk-WOC5FZU4.js";import"../__chunks__/chunk-7LG3PXXW.js";import"../__chunks__/chunk-MUARPNJ4.js";import"../__chunks__/chunk-UOJHMSFY.js";import"../__chunks__/chunk-EEJ5EEAY.js";import"../__chunks__/chunk-OGSV3NK6.js";import"../__chunks__/chunk-MSYI33IZ.js";import"../__chunks__/chunk-W4GZJ24H.js";import"../__chunks__/chunk-JCMBU43R.js";import"../__chunks__/chunk-JYAU4WXI.js";import"../__chunks__/chunk-357APEOJ.js";import"../__chunks__/chunk-ID2JOC6Q.js";import"../__chunks__/chunk-5CTSV7TH.js";import"../__chunks__/chunk-OGM64QGG.js";import"../__chunks__/chunk-DJE62XNL.js";import"../__chunks__/chunk-YMALAD3K.js";import"../__chunks__/chunk-4AOEMKED.js";import"../__chunks__/chunk-DEY75ILF.js";import"../__chunks__/chunk-R6OGIXW3.js";import"../__chunks__/chunk-5NJW53EW.js";import"../__chunks__/chunk-YLMQQGTH.js";import"../__chunks__/chunk-KRCUIXB4.js";import"../__chunks__/chunk-V6H2IJKH.js";import"../__chunks__/chunk-HP3L7RUD.js";import"../__chunks__/chunk-A3JT4J5G.js";import"../__chunks__/chunk-SRVNBVIN.js";import"../__chunks__/chunk-FOHOVMG2.js";import"../__chunks__/chunk-JSOZJSKF.js";import"../__chunks__/chunk-7NDRRNEP.js";import"../__chunks__/chunk-YNWHJAAC.js";import"../__chunks__/chunk-4I33RXZI.js";import"../__chunks__/chunk-YANNTW2Q.js";import"../__chunks__/chunk-Z5GIRQ2J.js";import"../__chunks__/chunk-T7D7BT5X.js";import"../__chunks__/chunk-XBLU7KZJ.js";import"../__chunks__/chunk-46PCNA3N.js";import"../__chunks__/chunk-DQG5M55E.js";import"../__chunks__/chunk-EIG7LFFL.js";import"../__chunks__/chunk-BN5PQAN2.js";import"../__chunks__/chunk-LKJPV45E.js";import"../__chunks__/chunk-7EY74WNI.js";import"../__chunks__/chunk-6YEBPDTC.js";import"../__chunks__/chunk-WVNUK67H.js";import"../__chunks__/chunk-JP736RXG.js";import"../__chunks__/chunk-DHRIIJW6.js";import"../__chunks__/chunk-QFTWB3KE.js";import"../__chunks__/chunk-OQLWGB56.js";import"../__chunks__/chunk-PDWYQFPS.js";import"../__chunks__/chunk-QXVU5FGO.js";import"../__chunks__/chunk-ZUXEYBK5.js";import"../__chunks__/chunk-RULY5VOQ.js";import"../__chunks__/chunk-QMFN5L42.js";import"../__chunks__/chunk-KTUPMIFX.js";import"../__chunks__/chunk-LNYINVMN.js";import"../__chunks__/chunk-6IBZJR36.js";import"../__chunks__/chunk-DVCP2A6O.js";import"../__chunks__/chunk-7I7NVYZT.js";import"../__chunks__/chunk-7VAMMQBW.js";import"../__chunks__/chunk-Y5PCCHR4.js";import"../__chunks__/chunk-GYB57BD3.js";import"../__chunks__/chunk-AP2OU4L5.js";import"../__chunks__/chunk-VZZ2SVSW.js";import"../__chunks__/chunk-63OK7TX5.js";import"../__chunks__/chunk-35N6HQAC.js";import"../__chunks__/chunk-ZFXP4YRF.js";import"../__chunks__/chunk-TA6HP4LD.js";import"../__chunks__/chunk-BJLACGZ2.js";import"../__chunks__/chunk-WUZCRVSU.js";import"../__chunks__/chunk-RGS2R63F.js";import"../__chunks__/chunk-NM43ACPN.js";import"../__chunks__/chunk-FULWXGZA.js";import"../__chunks__/chunk-6WZ7DVP7.js";import"../__chunks__/chunk-GGMEVY45.js";import"../__chunks__/chunk-N6WFQG55.js";import"../__chunks__/chunk-Z4CVKFHQ.js";import"../__chunks__/chunk-KKMXLCWS.js";import"../__chunks__/chunk-VEAORVA6.js";import"../__chunks__/chunk-LTDUS257.js";import"../__chunks__/chunk-T7QMSC3P.js";import"../__chunks__/chunk-BACKWDOJ.js";import"../__chunks__/chunk-W4BJGGSU.js";import"../__chunks__/chunk-QN2Y4SM6.js";import"../__chunks__/chunk-35VZ6NCK.js";import"../__chunks__/chunk-EFQAZJYN.js";import"../__chunks__/chunk-QQS7BRLY.js";import"../__chunks__/chunk-SI5TLADF.js";import"../__chunks__/chunk-HSUU5363.js";import"../__chunks__/chunk-WZZ2ZH2A.js";import"../__chunks__/chunk-PXHBOM4A.js";import"../__chunks__/chunk-6XR6BLIB.js";import"../__chunks__/chunk-5KGDRZSV.js";import"../__chunks__/chunk-HGOHQNWK.js";import"../__chunks__/chunk-WTIKHG7D.js";import"../__chunks__/chunk-JJP72MAJ.js";import"../__chunks__/chunk-CSZSL3UU.js";import"../__chunks__/chunk-TYNIHZ2F.js";import"../__chunks__/chunk-6ZGFYJ6T.js";import"../__chunks__/chunk-LGKB7JTU.js";import"../__chunks__/chunk-DZ5IJ4N3.js";import"../__chunks__/chunk-CQVMLDWA.js";import"../__chunks__/chunk-J42ZO72F.js";import"../__chunks__/chunk-25LYYPSL.js";import"../__chunks__/chunk-VNODUVFK.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-L2UUUYJG.js";import"../__chunks__/chunk-NUNUM2A2.js";import"../__chunks__/chunk-VKLTH4PZ.js";import"../__chunks__/chunk-OWVDW4YO.js";import"../__chunks__/chunk-OGKM4YOJ.js";import"../__chunks__/chunk-6LITAK4Z.js";import"../__chunks__/chunk-VPLKOEAB.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};
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-EU3M2TPH.js";import"../__chunks__/chunk-G6V3RROQ.js";import{a as t}from"../__chunks__/chunk-ZD4T5RDE.js";import{a as p}from"../__chunks__/chunk-ZXAUVMQ6.js";import"../__chunks__/chunk-MXMO5VOA.js";import"../__chunks__/chunk-463NLZJE.js";import"../__chunks__/chunk-64FKZVXB.js";import"../__chunks__/chunk-K3PKB7WJ.js";import"../__chunks__/chunk-XWZAWT7G.js";import"../__chunks__/chunk-R7ADKYKL.js";import"../__chunks__/chunk-GKOGOKEY.js";import"../__chunks__/chunk-WRO6THDA.js";import"../__chunks__/chunk-CQGYS7PC.js";import"../__chunks__/chunk-UCBDWIIG.js";import"../__chunks__/chunk-TQPEOA25.js";import"../__chunks__/chunk-TMIKWYU6.js";import"../__chunks__/chunk-QGZR4AIT.js";import"../__chunks__/chunk-DNOXON3M.js";import"../__chunks__/chunk-GVU7CFIB.js";import"../__chunks__/chunk-MY5N6ROI.js";import"../__chunks__/chunk-SQJYWVIF.js";import"../__chunks__/chunk-QWWOCHOY.js";import"../__chunks__/chunk-DNIYPVUV.js";import"../__chunks__/chunk-L5ZELHXF.js";import"../__chunks__/chunk-XHD63UMY.js";import"../__chunks__/chunk-O7YR4YPR.js";import"../__chunks__/chunk-HZSM6ODA.js";import"../__chunks__/chunk-OLYIRMPJ.js";import"../__chunks__/chunk-EHBEIKPT.js";import"../__chunks__/chunk-3Z3XQSPU.js";import"../__chunks__/chunk-3SGZP5CP.js";import"../__chunks__/chunk-VPGECZPA.js";import"../__chunks__/chunk-OBCFAKCR.js";import"../__chunks__/chunk-MDIJXESM.js";import"../__chunks__/chunk-MX3CY6TB.js";import"../__chunks__/chunk-MC7RXBF4.js";import"../__chunks__/chunk-FVPFOC6I.js";import"../__chunks__/chunk-GKSVI6Q5.js";import"../__chunks__/chunk-ME4CQMKT.js";import"../__chunks__/chunk-QCGS2BTF.js";import"../__chunks__/chunk-MVJUBH74.js";import"../__chunks__/chunk-EBEYQZIS.js";import"../__chunks__/chunk-4PBGN6HU.js";import"../__chunks__/chunk-ZZ4XEJL7.js";import"../__chunks__/chunk-E2NBQFIC.js";import"../__chunks__/chunk-4BE3NFUD.js";import"../__chunks__/chunk-GO7NXC6I.js";import"../__chunks__/chunk-OLI3TNCJ.js";import"../__chunks__/chunk-7YH5VZS2.js";import"../__chunks__/chunk-JMCMYELN.js";import"../__chunks__/chunk-C34CKSUX.js";import"../__chunks__/chunk-FDG3CTJQ.js";import"../__chunks__/chunk-TU5N4L3F.js";import"../__chunks__/chunk-LVWF5CKD.js";import"../__chunks__/chunk-WFMSTO6P.js";import"../__chunks__/chunk-PV4P32HG.js";import"../__chunks__/chunk-IRBTPHUB.js";import"../__chunks__/chunk-VMD67BF6.js";import"../__chunks__/chunk-GDEIDSQC.js";import"../__chunks__/chunk-4JUSV4O3.js";import"../__chunks__/chunk-S2ZXQSDD.js";import"../__chunks__/chunk-EVHHLVIO.js";import"../__chunks__/chunk-JVSYNX7I.js";import"../__chunks__/chunk-4QT63WFQ.js";import"../__chunks__/chunk-WQV4NSZG.js";import"../__chunks__/chunk-M4KXOW7P.js";import"../__chunks__/chunk-5OLXKR6C.js";import"../__chunks__/chunk-NIXVRMA2.js";import"../__chunks__/chunk-HHNOK5PG.js";import"../__chunks__/chunk-OT7R2NEQ.js";import"../__chunks__/chunk-6ERRM2KF.js";import"../__chunks__/chunk-M3DCFIB7.js";import"../__chunks__/chunk-UJNUZKVY.js";import"../__chunks__/chunk-TWBQ7KS3.js";import"../__chunks__/chunk-OGY2VJHG.js";import"../__chunks__/chunk-F3USMPPZ.js";import"../__chunks__/chunk-5WQI3F3M.js";import"../__chunks__/chunk-J32KR5O6.js";import"../__chunks__/chunk-BTPDVQON.js";import"../__chunks__/chunk-YTYNUTPN.js";import"../__chunks__/chunk-NA7BBONT.js";import"../__chunks__/chunk-FZMRVALH.js";import"../__chunks__/chunk-AE66JOMW.js";import"../__chunks__/chunk-WME7JUV7.js";import"../__chunks__/chunk-PLVN6R4K.js";import"../__chunks__/chunk-OX5CQN4Z.js";import"../__chunks__/chunk-FR4JYMVH.js";import"../__chunks__/chunk-JHCHULG6.js";import"../__chunks__/chunk-YPXBAXJG.js";import"../__chunks__/chunk-FJTOBBI5.js";import"../__chunks__/chunk-SW27GSXL.js";import"../__chunks__/chunk-47JMQSE2.js";import"../__chunks__/chunk-7AEDPEBX.js";import"../__chunks__/chunk-C2H5OPTX.js";import"../__chunks__/chunk-OCH5X6XJ.js";import"../__chunks__/chunk-2GRUAWVQ.js";import"../__chunks__/chunk-HH5S5FOE.js";import"../__chunks__/chunk-NHZC5PWW.js";import"../__chunks__/chunk-22UA5SNR.js";import"../__chunks__/chunk-FG7U2ZRB.js";import"../__chunks__/chunk-Z2W42GR6.js";import"../__chunks__/chunk-CZJRRY2I.js";import"../__chunks__/chunk-OKGLECMC.js";import"../__chunks__/chunk-AL2J7KB6.js";import"../__chunks__/chunk-L6PXXNNQ.js";import"../__chunks__/chunk-WJGL6LVA.js";import"../__chunks__/chunk-OCMDIV3Q.js";import"../__chunks__/chunk-LK5TR7MI.js";import"../__chunks__/chunk-KOH3SXG4.js";import"../__chunks__/chunk-AVGHJOI6.js";import"../__chunks__/chunk-DY7CS3RG.js";import"../__chunks__/chunk-DGPHTEKD.js";import"../__chunks__/chunk-TXAITGIS.js";import"../__chunks__/chunk-JFXVZGSY.js";import"../__chunks__/chunk-OQUCU64T.js";import"../__chunks__/chunk-E3ZZOQNR.js";import"../__chunks__/chunk-DSFJO624.js";import"../__chunks__/chunk-YAR2KJ42.js";import"../__chunks__/chunk-SZGCAC7X.js";import"../__chunks__/chunk-MV5K23LN.js";import"../__chunks__/chunk-3FTRTVML.js";import"../__chunks__/chunk-FP3YMQL6.js";import"../__chunks__/chunk-LW7U3EUB.js";import"../__chunks__/chunk-ZJ6WAYTZ.js";import"../__chunks__/chunk-2C4D4BXB.js";import"../__chunks__/chunk-SMYUEECP.js";import"../__chunks__/chunk-ITUIM5G6.js";import"../__chunks__/chunk-C4MQO6LF.js";import"../__chunks__/chunk-6LYP3E7T.js";import"../__chunks__/chunk-27FOVSG4.js";import"../__chunks__/chunk-FT6XZQFL.js";import"../__chunks__/chunk-WTMHDI3F.js";import"../__chunks__/chunk-KZR7TQ7H.js";import"../__chunks__/chunk-XOZ662VA.js";import"../__chunks__/chunk-LO5NNAIV.js";import"../__chunks__/chunk-NAN2H6P3.js";import"../__chunks__/chunk-KEQTNP4F.js";import"../__chunks__/chunk-DHHFPYRR.js";import"../__chunks__/chunk-A3XBAFZH.js";import"../__chunks__/chunk-5HEC3YLM.js";import"../__chunks__/chunk-GFAN5STZ.js";import"../__chunks__/chunk-CFRQE7JG.js";import"../__chunks__/chunk-3U7QBETU.js";import"../__chunks__/chunk-QDL73CLR.js";import"../__chunks__/chunk-BZAS5UWX.js";import"../__chunks__/chunk-CSNNQII4.js";import"../__chunks__/chunk-OQ2YXDWR.js";import"../__chunks__/chunk-B3M2FLWF.js";import"../__chunks__/chunk-FKHUTJ2C.js";import"../__chunks__/chunk-Q4ODFQVM.js";import"../__chunks__/chunk-SKMXMVKW.js";import"../__chunks__/chunk-V5QSDNY3.js";import"../__chunks__/chunk-OBF5YWS6.js";import"../__chunks__/chunk-IHEQMC3B.js";import"../__chunks__/chunk-ONNEZDFU.js";import"../__chunks__/chunk-LPQY7BQ4.js";import"../__chunks__/chunk-6PH5XEI7.js";import"../__chunks__/chunk-N5EEQD2P.js";import"../__chunks__/chunk-ECNBTR2P.js";import"../__chunks__/chunk-YZLRTQIA.js";import"../__chunks__/chunk-XOSPBGLI.js";import"../__chunks__/chunk-4QVOURVU.js";import"../__chunks__/chunk-OXSLKC3X.js";import"../__chunks__/chunk-MFT36UPJ.js";import"../__chunks__/chunk-E7ZJLCWM.js";import"../__chunks__/chunk-HHL5UDTQ.js";import"../__chunks__/chunk-TPDR3Y6L.js";import"../__chunks__/chunk-X5TGO2UY.js";import"../__chunks__/chunk-AQ3UNMCA.js";import"../__chunks__/chunk-FWTCHRN5.js";import"../__chunks__/chunk-NGVYQHDX.js";import"../__chunks__/chunk-BP7X5FRP.js";import"../__chunks__/chunk-IDMVPVRN.js";import"../__chunks__/chunk-ZYBZKJ66.js";import"../__chunks__/chunk-A32WHRLH.js";import"../__chunks__/chunk-WVJETRW5.js";import"../__chunks__/chunk-Y3NLPZAR.js";import"../__chunks__/chunk-EVKVW6OP.js";import"../__chunks__/chunk-UV3BQKFK.js";import"../__chunks__/chunk-45AZIANS.js";import"../__chunks__/chunk-YSQKUC2C.js";import"../__chunks__/chunk-NCHDT5N7.js";import"../__chunks__/chunk-FMIRA7YL.js";import"../__chunks__/chunk-RQ3IOPRD.js";import"../__chunks__/chunk-43JAU5XR.js";import"../__chunks__/chunk-6ROKDWR7.js";import"../__chunks__/chunk-4KO7EUF3.js";import"../__chunks__/chunk-W2FL4F7Y.js";import"../__chunks__/chunk-5MHH6T2T.js";import"../__chunks__/chunk-JQYERTXG.js";import"../__chunks__/chunk-4JRTSMDG.js";import"../__chunks__/chunk-VHHIARAI.js";import"../__chunks__/chunk-7F3MKQYJ.js";import"../__chunks__/chunk-NQL5MPQV.js";import"../__chunks__/chunk-3J5AQE4Q.js";import"../__chunks__/chunk-6HLEIPL4.js";import"../__chunks__/chunk-WOC5FZU4.js";import"../__chunks__/chunk-7LG3PXXW.js";import"../__chunks__/chunk-2F2F6SXB.js";import"../__chunks__/chunk-UOJHMSFY.js";import"../__chunks__/chunk-EEJ5EEAY.js";import"../__chunks__/chunk-OGSV3NK6.js";import"../__chunks__/chunk-MSYI33IZ.js";import"../__chunks__/chunk-P2KRF4TX.js";import"../__chunks__/chunk-JDCJAJD4.js";import"../__chunks__/chunk-JYAU4WXI.js";import"../__chunks__/chunk-357APEOJ.js";import"../__chunks__/chunk-ID2JOC6Q.js";import"../__chunks__/chunk-5LVOAS3B.js";import"../__chunks__/chunk-2OGSUSTF.js";import"../__chunks__/chunk-2AUVCAY2.js";import"../__chunks__/chunk-2VZDXZQ5.js";import"../__chunks__/chunk-5DATHNGR.js";import"../__chunks__/chunk-DEY75ILF.js";import"../__chunks__/chunk-LWAL5OMN.js";import"../__chunks__/chunk-5NJW53EW.js";import"../__chunks__/chunk-YLMQQGTH.js";import"../__chunks__/chunk-KRCUIXB4.js";import"../__chunks__/chunk-BUPVEQ5J.js";import"../__chunks__/chunk-HP3L7RUD.js";import"../__chunks__/chunk-A3JT4J5G.js";import"../__chunks__/chunk-JHQFA6YK.js";import"../__chunks__/chunk-FOHOVMG2.js";import"../__chunks__/chunk-YRXFSVU4.js";import"../__chunks__/chunk-7NDRRNEP.js";import"../__chunks__/chunk-WJF3CIOE.js";import"../__chunks__/chunk-4I33RXZI.js";import"../__chunks__/chunk-OQ3JVDP4.js";import"../__chunks__/chunk-Z5GIRQ2J.js";import"../__chunks__/chunk-T7D7BT5X.js";import"../__chunks__/chunk-XBLU7KZJ.js";import"../__chunks__/chunk-JZNLILZQ.js";import"../__chunks__/chunk-DQG5M55E.js";import"../__chunks__/chunk-EIG7LFFL.js";import"../__chunks__/chunk-ELJRZBUP.js";import"../__chunks__/chunk-I4VYIHJD.js";import"../__chunks__/chunk-6GTXZ4FY.js";import"../__chunks__/chunk-6YEBPDTC.js";import"../__chunks__/chunk-DI67V6VC.js";import"../__chunks__/chunk-GZ7UARPP.js";import"../__chunks__/chunk-DHRIIJW6.js";import"../__chunks__/chunk-QFTWB3KE.js";import"../__chunks__/chunk-O76SO5NN.js";import"../__chunks__/chunk-P24VSIZF.js";import"../__chunks__/chunk-USGR36BQ.js";import"../__chunks__/chunk-OCIFQ26I.js";import"../__chunks__/chunk-YB4BVMRP.js";import"../__chunks__/chunk-WEA4C5X7.js";import"../__chunks__/chunk-CLB447PY.js";import"../__chunks__/chunk-LNYINVMN.js";import"../__chunks__/chunk-JY3HMAMR.js";import"../__chunks__/chunk-DVCP2A6O.js";import"../__chunks__/chunk-7I7NVYZT.js";import"../__chunks__/chunk-WXYQ5GK4.js";import"../__chunks__/chunk-Y5PCCHR4.js";import"../__chunks__/chunk-GYB57BD3.js";import"../__chunks__/chunk-AP2OU4L5.js";import"../__chunks__/chunk-VZZ2SVSW.js";import"../__chunks__/chunk-63OK7TX5.js";import"../__chunks__/chunk-35N6HQAC.js";import"../__chunks__/chunk-ZFXP4YRF.js";import"../__chunks__/chunk-TA6HP4LD.js";import"../__chunks__/chunk-XKG6MJJF.js";import"../__chunks__/chunk-B4WCXVUI.js";import"../__chunks__/chunk-CA4Q4MT7.js";import"../__chunks__/chunk-NM43ACPN.js";import"../__chunks__/chunk-X2VKBIHG.js";import"../__chunks__/chunk-6WZ7DVP7.js";import"../__chunks__/chunk-GGMEVY45.js";import"../__chunks__/chunk-C6XUZNBO.js";import"../__chunks__/chunk-MTWKFHRA.js";import"../__chunks__/chunk-KKMXLCWS.js";import"../__chunks__/chunk-74Q5MYVW.js";import"../__chunks__/chunk-G5T5SM4B.js";import"../__chunks__/chunk-RF7HMR74.js";import"../__chunks__/chunk-ORCYEIJZ.js";import"../__chunks__/chunk-UIMOFTYA.js";import"../__chunks__/chunk-K7WZNW5X.js";import"../__chunks__/chunk-GHTSBIH4.js";import"../__chunks__/chunk-F4LPQWRK.js";import"../__chunks__/chunk-JNMLUSOK.js";import"../__chunks__/chunk-SI5TLADF.js";import"../__chunks__/chunk-HSUU5363.js";import"../__chunks__/chunk-WZZ2ZH2A.js";import"../__chunks__/chunk-PXHBOM4A.js";import"../__chunks__/chunk-6XR6BLIB.js";import"../__chunks__/chunk-5KGDRZSV.js";import"../__chunks__/chunk-HGOHQNWK.js";import"../__chunks__/chunk-WTIKHG7D.js";import"../__chunks__/chunk-6RHGIGMZ.js";import"../__chunks__/chunk-CSZSL3UU.js";import"../__chunks__/chunk-TYNIHZ2F.js";import"../__chunks__/chunk-6ZGFYJ6T.js";import"../__chunks__/chunk-LGKB7JTU.js";import"../__chunks__/chunk-DZ5IJ4N3.js";import"../__chunks__/chunk-MM5XW7VA.js";import"../__chunks__/chunk-J42ZO72F.js";import"../__chunks__/chunk-25LYYPSL.js";import"../__chunks__/chunk-CGM7WOQF.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-BMHV4H76.js";import"../__chunks__/chunk-M5BOIA6B.js";import"../__chunks__/chunk-IJIYT3QB.js";import"../__chunks__/chunk-OWVDW4YO.js";import"../__chunks__/chunk-OGKM4YOJ.js";import"../__chunks__/chunk-6LITAK4Z.js";import"../__chunks__/chunk-VPLKOEAB.js";import"../__chunks__/chunk-CLAJ4EPW.js";import"../__chunks__/chunk-NV7UCWNW.js";import"../__chunks__/chunk-M233YJDK.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