@multiversx/sdk-dapp 2.26.6 → 2.26.7

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 (572) hide show
  1. package/UI/ExplorerLink/ExplorerLink.js +1 -1
  2. package/UI/ExplorerLink/index.js +1 -1
  3. package/UI/NotificationModal/NotificationModal.js +1 -1
  4. package/UI/NotificationModal/index.js +1 -1
  5. package/UI/SignTransactionsModals/SignTransactionsModals.js +1 -1
  6. package/UI/SignTransactionsModals/SignWithDeviceModal/SignStep.js +1 -1
  7. package/UI/SignTransactionsModals/SignWithDeviceModal/SignWithDeviceModal.js +1 -1
  8. package/UI/SignTransactionsModals/SignWithDeviceModal/components/SignStepBody.js +1 -1
  9. package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmAmount/ConfirmAmount.js +1 -1
  10. package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmAmount/index.js +1 -1
  11. package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmFee/ConfirmFee.js +1 -1
  12. package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmFee/index.js +1 -1
  13. package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmReceiver/ConfirmReceiver.js +1 -1
  14. package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmReceiver/components/ReceiverSubValue/ReceiverSubValue.js +1 -1
  15. package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmReceiver/components/ReceiverSubValue/index.js +1 -1
  16. package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmReceiver/components/ReceiverValue/ReceiverValue.js +1 -1
  17. package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmReceiver/components/ReceiverValue/index.js +1 -1
  18. package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmReceiver/index.js +1 -1
  19. package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/NftSftPreviewComponent/NftSftPreviewComponent.js +1 -1
  20. package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/NftSftPreviewComponent/index.js +1 -1
  21. package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/TokenAvatar/TokenAvatar.js +1 -1
  22. package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/TokenAvatar/index.js +1 -1
  23. package/UI/SignTransactionsModals/SignWithDeviceModal/components/index.js +1 -1
  24. package/UI/SignTransactionsModals/SignWithDeviceModal/index.js +1 -1
  25. package/UI/SignTransactionsModals/SignWithExtensionModal/SignWithExtensionModal.js +1 -1
  26. package/UI/SignTransactionsModals/SignWithExtensionModal/index.js +1 -1
  27. package/UI/SignTransactionsModals/SignWithExtraModal/SignWithExtraModal.js +1 -1
  28. package/UI/SignTransactionsModals/SignWithExtraModal/index.js +1 -1
  29. package/UI/SignTransactionsModals/SignWithLedgerModal/LedgerGuardianSigningModalError.js +1 -1
  30. package/UI/SignTransactionsModals/SignWithLedgerModal/SignWithLedgerModal.js +1 -1
  31. package/UI/SignTransactionsModals/SignWithLedgerModal/index.js +1 -1
  32. package/UI/SignTransactionsModals/components/ConfirmationScreen.js +1 -1
  33. package/UI/SignTransactionsModals/components/DeviceConfirmationScreen.js +1 -1
  34. package/UI/SignTransactionsModals/components/TransactionStatusToast.js +1 -1
  35. package/UI/SignTransactionsModals/components/index.js +1 -1
  36. package/UI/SignTransactionsModals/index.js +1 -1
  37. package/UI/TokenDetails/index.js +1 -1
  38. package/UI/TransactionDetails/TransactionDetails.js +1 -1
  39. package/UI/TransactionDetails/components/TransactionDetailsBody.js +1 -1
  40. package/UI/TransactionDetails/components/index.js +1 -1
  41. package/UI/TransactionDetails/index.js +1 -1
  42. package/UI/TransactionInfo/TransactionInfo.js +1 -1
  43. package/UI/TransactionInfo/components/AddressDetailItem/AddressDetailitem.js +1 -1
  44. package/UI/TransactionInfo/components/AddressDetailItem/index.js +1 -1
  45. package/UI/TransactionInfo/components/EventsList/EventsList.js +1 -1
  46. package/UI/TransactionInfo/components/EventsList/index.js +1 -1
  47. package/UI/TransactionInfo/components/NonceMessage/NonceMessage.js +1 -1
  48. package/UI/TransactionInfo/components/NonceMessage/index.js +1 -1
  49. package/UI/TransactionInfo/components/OperationsList/OperationList.js +1 -1
  50. package/UI/TransactionInfo/components/OperationsList/components/DetailedItem.js +1 -1
  51. package/UI/TransactionInfo/components/OperationsList/components/OperationBlock.js +1 -1
  52. package/UI/TransactionInfo/components/OperationsList/components/OperationRow.js +1 -1
  53. package/UI/TransactionInfo/components/OperationsList/components/OperationText.js +1 -1
  54. package/UI/TransactionInfo/components/OperationsList/components/OperationToken.js +1 -1
  55. package/UI/TransactionInfo/components/OperationsList/components/index.js +1 -1
  56. package/UI/TransactionInfo/components/OperationsList/index.js +1 -1
  57. package/UI/TransactionInfo/components/ScResultsList/ScResultsList.js +1 -1
  58. package/UI/TransactionInfo/components/ScResultsList/components/ResultHash/ResultHash.js +1 -1
  59. package/UI/TransactionInfo/components/ScResultsList/components/ResultHash/index.js +1 -1
  60. package/UI/TransactionInfo/components/ScResultsList/components/ResultReceiver/ResultReceiver.js +1 -1
  61. package/UI/TransactionInfo/components/ScResultsList/components/ResultReceiver/index.js +1 -1
  62. package/UI/TransactionInfo/components/ScResultsList/components/ResultSender/ResultSender.js +1 -1
  63. package/UI/TransactionInfo/components/ScResultsList/components/ResultSender/index.js +1 -1
  64. package/UI/TransactionInfo/components/ScResultsList/index.js +1 -1
  65. package/UI/TransactionInfo/components/ScrDetailItem/ScrDetailItem.js +1 -1
  66. package/UI/TransactionInfo/components/ScrDetailItem/index.js +1 -1
  67. package/UI/TransactionInfo/components/TransactionAction/TransactionAction.js +1 -1
  68. package/UI/TransactionInfo/components/TransactionAction/components/ActionText/index.js +1 -1
  69. package/UI/TransactionInfo/components/TransactionAction/components/ActionToken.js +1 -1
  70. package/UI/TransactionInfo/components/TransactionAction/components/TransactionActionBlock/components/TransactionActionCollection.js +1 -1
  71. package/UI/TransactionInfo/components/TransactionAction/components/TransactionActionBlock/components/TransactionActionNft.js +1 -1
  72. package/UI/TransactionInfo/components/TransactionAction/components/TransactionActionBlock/components/TransactionActionToken.js +1 -1
  73. package/UI/TransactionInfo/components/TransactionAction/components/TransactionActionBlock/components/index.js +1 -1
  74. package/UI/TransactionInfo/components/TransactionAction/components/TransactionActionBlock/index.js +1 -1
  75. package/UI/TransactionInfo/components/TransactionAction/components/index.js +1 -1
  76. package/UI/TransactionInfo/components/TransactionAction/index.js +1 -1
  77. package/UI/TransactionInfo/components/TransactionLogs/TransactionLogs.js +1 -1
  78. package/UI/TransactionInfo/components/TransactionLogs/index.js +1 -1
  79. package/UI/TransactionInfo/components/index.js +1 -1
  80. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoFee/TransactionInfoFee.js +1 -1
  81. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoFee/index.js +1 -1
  82. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoFrom/TransactionInfoFrom.js +1 -1
  83. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoFrom/index.js +1 -1
  84. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoMethod/TransactionInfoMethod.js +1 -1
  85. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoMethod/index.js +1 -1
  86. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoMiniblock/TransactionInfoMiniblock.js +1 -1
  87. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoMiniblock/index.js +1 -1
  88. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoNonce/TransactionInfoNonce.js +1 -1
  89. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoNonce/index.js +1 -1
  90. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoScResults/TransactionInfoScResults.js +1 -1
  91. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoScResults/index.js +1 -1
  92. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoTo/TransactionInfoTo.js +1 -1
  93. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoTo/index.js +1 -1
  94. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoTokenOperations/TransactionInfoTokenOperations.js +1 -1
  95. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoTokenOperations/index.js +1 -1
  96. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoValue/TransactionInfoValue.js +1 -1
  97. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoValue/index.js +1 -1
  98. package/UI/TransactionInfo/components/transactionInfoFields/index.js +1 -1
  99. package/UI/TransactionInfo/index.js +1 -1
  100. package/UI/TransactionsTable/TransactionsTable.js +1 -1
  101. package/UI/TransactionsTable/components/AccountName.js +1 -1
  102. package/UI/TransactionsTable/components/LockedTokenAddressIcon.js +1 -1
  103. package/UI/TransactionsTable/components/TransactionHash.js +1 -1
  104. package/UI/TransactionsTable/components/TransactionReceiver.js +1 -1
  105. package/UI/TransactionsTable/components/TransactionRow.js +1 -1
  106. package/UI/TransactionsTable/components/TransactionSender.js +1 -1
  107. package/UI/TransactionsTable/components/TransactionShardsTransition.js +1 -1
  108. package/UI/TransactionsTable/components/TransactionValue/TransactionValue.js +1 -1
  109. package/UI/TransactionsTable/components/TransactionValue/index.js +1 -1
  110. package/UI/TransactionsTable/components/index.js +1 -1
  111. package/UI/TransactionsTable/index.js +1 -1
  112. package/UI/TransactionsToastList/TransactionsToastList.js +1 -1
  113. package/UI/TransactionsToastList/components/CustomToast/CustomToast.js +1 -1
  114. package/UI/TransactionsToastList/components/CustomToast/components/CustomComponentToast.js +1 -1
  115. package/UI/TransactionsToastList/components/CustomToast/components/IconToast/IconToast.js +1 -1
  116. package/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/IconToastFooter.js +1 -1
  117. package/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/components/TransactionToastFooter.js +1 -1
  118. package/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/components/index.js +1 -1
  119. package/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/index.js +1 -1
  120. package/UI/TransactionsToastList/components/CustomToast/components/IconToast/index.js +1 -1
  121. package/UI/TransactionsToastList/components/CustomToast/components/SimpleToast.js +1 -1
  122. package/UI/TransactionsToastList/components/CustomToast/components/index.js +1 -1
  123. package/UI/TransactionsToastList/components/CustomToast/helpers/index.js +1 -1
  124. package/UI/TransactionsToastList/components/CustomToast/helpers/useMemoizedCloseButton.js +1 -1
  125. package/UI/TransactionsToastList/components/CustomToast/index.js +1 -1
  126. package/UI/TransactionsToastList/components/TransactionToast/TransactionToast.js +1 -1
  127. package/UI/TransactionsToastList/components/TransactionToast/components/TransactionToastContent.js +1 -1
  128. package/UI/TransactionsToastList/components/TransactionToast/components/index.js +1 -1
  129. package/UI/TransactionsToastList/components/TransactionToast/hooks/useTransactionToast.js +1 -1
  130. package/UI/TransactionsToastList/components/TransactionToast/index.js +1 -1
  131. package/UI/TransactionsToastList/components/TransactionToastGuard.js +1 -1
  132. package/UI/TransactionsToastList/components/index.js +1 -1
  133. package/UI/TransactionsToastList/index.js +1 -1
  134. package/UI/Trim/Trim.js +1 -1
  135. package/UI/Trim/index.js +1 -1
  136. package/UI/extension/ExtensionLoginButton/ExtensionLoginButton.js +1 -1
  137. package/UI/extension/ExtensionLoginButton/index.js +1 -1
  138. package/UI/index.js +1 -1
  139. package/UI/ledger/LedgerLoginButton/LedgerLoginButton.js +1 -1
  140. package/UI/ledger/LedgerLoginButton/index.js +1 -1
  141. package/UI/ledger/LedgerLoginContainer/AddressRow/AddressRow.js +1 -1
  142. package/UI/ledger/LedgerLoginContainer/AddressRow/index.js +1 -1
  143. package/UI/ledger/LedgerLoginContainer/AddressTable/AddressTable.js +1 -1
  144. package/UI/ledger/LedgerLoginContainer/AddressTable/index.js +1 -1
  145. package/UI/ledger/LedgerLoginContainer/ConfirmAddress/ConfirmAddress.js +1 -1
  146. package/UI/ledger/LedgerLoginContainer/ConfirmAddress/index.js +1 -1
  147. package/UI/ledger/LedgerLoginContainer/LedgerLoginContainer.js +1 -1
  148. package/UI/ledger/LedgerLoginContainer/LedgerLoginContent/LedgerLoginContent.js +1 -1
  149. package/UI/ledger/LedgerLoginContainer/LedgerLoginContent/index.js +1 -1
  150. package/UI/ledger/LedgerLoginContainer/LedgerLoginContentBody/LedgerLoginContentBody.js +1 -1
  151. package/UI/ledger/LedgerLoginContainer/LedgerLoginContentBody/index.js +1 -1
  152. package/UI/ledger/LedgerLoginContainer/LedgerScamPhishingAlert/LedgerScamPhishingAlert.js +1 -1
  153. package/UI/ledger/LedgerLoginContainer/LedgerScamPhishingAlert/index.js +1 -1
  154. package/UI/ledger/LedgerLoginContainer/index.js +1 -1
  155. package/UI/ledger/index.js +1 -1
  156. package/UI/operaWallet/OperaWalletLoginButton/OperaWalletLoginButton.js +1 -1
  157. package/UI/operaWallet/OperaWalletLoginButton/index.js +1 -1
  158. package/UI/pages/UnlockPage/index.js +1 -1
  159. package/UI/pages/index.js +1 -1
  160. package/UI/walletConnect/WalletConnectLoginButton/WalletConnectLoginButton.js +1 -1
  161. package/UI/walletConnect/WalletConnectLoginButton/index.js +1 -1
  162. package/UI/walletConnect/WalletConnectLoginContainer/WalletConnectLoginContainer.js +1 -1
  163. package/UI/walletConnect/WalletConnectLoginContainer/WalletConnectLoginContent/WalletConnectLoginContent.js +1 -1
  164. package/UI/walletConnect/WalletConnectLoginContainer/WalletConnectLoginContent/index.js +1 -1
  165. package/UI/walletConnect/WalletConnectLoginContainer/index.js +1 -1
  166. package/UI/walletConnect/index.js +1 -1
  167. package/UI/webWallet/WebWalletLoginButton/WebWalletLoginButton.js +1 -1
  168. package/UI/webWallet/WebWalletLoginButton/index.js +1 -1
  169. package/UI/webWallet/XaliasLoginButton/XaliasLoginButton.js +1 -1
  170. package/UI/webWallet/XaliasLoginButton/index.js +1 -1
  171. package/__chunks__/{chunk-VV4Y5SMK.js → chunk-25PEVV5I.js} +2 -2
  172. package/__chunks__/{chunk-WK2FDXSO.js → chunk-2BDTQ3V7.js} +2 -2
  173. package/__chunks__/{chunk-STPNNW7S.js → chunk-2FXJVYA6.js} +2 -2
  174. package/__chunks__/{chunk-N7SSZ6M4.js → chunk-2IAI4THJ.js} +2 -2
  175. package/__chunks__/{chunk-DOPVA6CZ.js → chunk-2WRCHM2X.js} +2 -2
  176. package/__chunks__/{chunk-I3GOLOUM.js → chunk-2XP6B23V.js} +2 -2
  177. package/__chunks__/{chunk-AQP4RPQ2.js → chunk-3JPHV6UT.js} +2 -2
  178. package/__chunks__/{chunk-LDW4KY4B.js → chunk-42H4VBAZ.js} +2 -2
  179. package/__chunks__/{chunk-W2QG23MI.js → chunk-42LEPUNH.js} +2 -2
  180. package/__chunks__/{chunk-KYT45HC6.js → chunk-42ZOYCJK.js} +2 -2
  181. package/__chunks__/{chunk-4HKVDSBV.js → chunk-4BPNOD5I.js} +2 -2
  182. package/__chunks__/{chunk-UHYLS3HS.js → chunk-4IUETOG6.js} +2 -2
  183. package/__chunks__/{chunk-TKPQSJTM.js → chunk-4PWQJLKB.js} +2 -2
  184. package/__chunks__/{chunk-4LN2GXCO.js → chunk-4PZDJFTX.js} +2 -2
  185. package/__chunks__/{chunk-4R7TZX3U.js → chunk-4S673V7L.js} +2 -2
  186. package/__chunks__/{chunk-IK43TXW7.js → chunk-4WXJP6BN.js} +2 -2
  187. package/__chunks__/{chunk-SRILJHCN.js → chunk-4XUFDKPN.js} +2 -2
  188. package/__chunks__/{chunk-DAC5FGCG.js → chunk-5JAUN3QF.js} +2 -2
  189. package/__chunks__/{chunk-3XIZN4RW.js → chunk-5QPNIPK6.js} +2 -2
  190. package/__chunks__/{chunk-ZT5BFC6D.js → chunk-5RLRC6OV.js} +2 -2
  191. package/__chunks__/{chunk-R3OXWBI4.js → chunk-5UOCOKHG.js} +2 -2
  192. package/__chunks__/chunk-5WWK43KH.js +2 -0
  193. package/__chunks__/{chunk-3T24OXHE.js → chunk-64444QQJ.js} +2 -2
  194. package/__chunks__/{chunk-R3ZFBKRA.js → chunk-65V5B3CS.js} +2 -2
  195. package/__chunks__/{chunk-JNPTE3AH.js → chunk-67BLDTHZ.js} +2 -2
  196. package/__chunks__/{chunk-6IHBXTGL.js → chunk-6IG7NPL7.js} +2 -2
  197. package/__chunks__/{chunk-C2CN425M.js → chunk-6RO5O7QA.js} +2 -2
  198. package/__chunks__/{chunk-G5HAH4HD.js → chunk-6TSSQMV2.js} +2 -2
  199. package/__chunks__/{chunk-5BMJUB22.js → chunk-6UAF73EG.js} +2 -2
  200. package/__chunks__/{chunk-AX7TELJ3.js → chunk-75LFPJDA.js} +2 -2
  201. package/__chunks__/{chunk-5TQVUGWE.js → chunk-7I43Z4V5.js} +2 -2
  202. package/__chunks__/{chunk-W4HDE664.js → chunk-7JTO57MA.js} +2 -2
  203. package/__chunks__/{chunk-KGWR6EU4.js → chunk-7JX6JHDY.js} +2 -2
  204. package/__chunks__/{chunk-PZYPSUKY.js → chunk-7OW5ZKZT.js} +2 -2
  205. package/__chunks__/{chunk-ZVLWA4DI.js → chunk-7YHCDLQ7.js} +2 -2
  206. package/__chunks__/{chunk-IUCP56TN.js → chunk-A2566RHK.js} +2 -2
  207. package/__chunks__/chunk-A34LHAIB.js +2 -0
  208. package/__chunks__/{chunk-P46SV4ZY.js → chunk-A5FBIB2E.js} +2 -2
  209. package/__chunks__/{chunk-MC6D5LGY.js → chunk-A73Z3EX3.js} +2 -2
  210. package/__chunks__/{chunk-QJNJMSQR.js → chunk-AJYTMAEX.js} +2 -2
  211. package/__chunks__/{chunk-HT54ZNY5.js → chunk-ASBVWWHD.js} +2 -2
  212. package/__chunks__/chunk-AXZV6N6W.js +2 -0
  213. package/__chunks__/{chunk-SGGMCKW3.js → chunk-B424XWHD.js} +2 -2
  214. package/__chunks__/{chunk-I3T6OUF3.js → chunk-B7GSEKIK.js} +2 -2
  215. package/__chunks__/{chunk-KNM2DIOQ.js → chunk-BGAITHX2.js} +2 -2
  216. package/__chunks__/chunk-C347LMD7.js +2 -0
  217. package/__chunks__/{chunk-CJNFWVIR.js → chunk-C4RHGKQ2.js} +2 -2
  218. package/__chunks__/{chunk-YAQ5AQHR.js → chunk-C5G57LZ7.js} +2 -2
  219. package/__chunks__/{chunk-UDCHWT2A.js → chunk-C5LFGWWM.js} +2 -2
  220. package/__chunks__/{chunk-SVQSKIMP.js → chunk-CE5W6D5S.js} +2 -2
  221. package/__chunks__/{chunk-7P54ZU7V.js → chunk-CFRRXDY4.js} +2 -2
  222. package/__chunks__/{chunk-KNS3Y3PW.js → chunk-CGVQMRNN.js} +2 -2
  223. package/__chunks__/{chunk-6BN5DFTH.js → chunk-CJWSWW4L.js} +2 -2
  224. package/__chunks__/{chunk-ZWJJYNEC.js → chunk-D5USNE72.js} +2 -2
  225. package/__chunks__/{chunk-B6RFDNRY.js → chunk-DK76HANE.js} +2 -2
  226. package/__chunks__/{chunk-IED7JBJQ.js → chunk-DRPYWBKH.js} +2 -2
  227. package/__chunks__/{chunk-47UWJLXL.js → chunk-DSJVIFPK.js} +2 -2
  228. package/__chunks__/chunk-DX3M7ZKN.js +2 -0
  229. package/__chunks__/{chunk-2N2DZDKK.js → chunk-DZFPU6ES.js} +2 -2
  230. package/__chunks__/{chunk-CVTY5PJV.js → chunk-DZGFFFXR.js} +2 -2
  231. package/__chunks__/{chunk-474AFS3W.js → chunk-ECU3FNNV.js} +2 -2
  232. package/__chunks__/{chunk-DEZ42FOX.js → chunk-EDSSY6AK.js} +2 -2
  233. package/__chunks__/{chunk-FR4Q2YNG.js → chunk-EFKN7ZSO.js} +2 -2
  234. package/__chunks__/{chunk-3ULAA37F.js → chunk-EJA3MYJ2.js} +2 -2
  235. package/__chunks__/{chunk-CMLGWN4Z.js → chunk-EKEVDC4H.js} +2 -2
  236. package/__chunks__/{chunk-ZJSVDDS5.js → chunk-F3MFSKHV.js} +2 -2
  237. package/__chunks__/{chunk-7SVDFE3Z.js → chunk-FD5VZ4FG.js} +2 -2
  238. package/__chunks__/{chunk-UJ6CSFEK.js → chunk-FG5FGA6O.js} +2 -2
  239. package/__chunks__/{chunk-QHFSJZ7A.js → chunk-FHRHUNQ3.js} +2 -2
  240. package/__chunks__/{chunk-MEHTWTEB.js → chunk-FI3EIS7A.js} +2 -2
  241. package/__chunks__/{chunk-3NIA6CMR.js → chunk-FMHF6EX7.js} +2 -2
  242. package/__chunks__/{chunk-RE67DPM5.js → chunk-FN6XM3UY.js} +2 -2
  243. package/__chunks__/{chunk-L7FFDHG4.js → chunk-FTJRED3T.js} +2 -2
  244. package/__chunks__/{chunk-2JDBMXMM.js → chunk-G3TB3XM4.js} +2 -2
  245. package/__chunks__/{chunk-FZD2CU3W.js → chunk-GB66BJEC.js} +2 -2
  246. package/__chunks__/{chunk-4V7JYNRN.js → chunk-GLSFPEEX.js} +2 -2
  247. package/__chunks__/{chunk-M4METFEX.js → chunk-GQE5AJWK.js} +2 -2
  248. package/__chunks__/chunk-GUCN577L.js +2 -0
  249. package/__chunks__/{chunk-45GHDJWW.js → chunk-H3P7K5VI.js} +2 -2
  250. package/__chunks__/{chunk-UQGCVLJZ.js → chunk-HDCMSIP5.js} +2 -2
  251. package/__chunks__/{chunk-GIQTSKOP.js → chunk-HDUJGBOD.js} +2 -2
  252. package/__chunks__/{chunk-2XLOAB4V.js → chunk-HF76OOA2.js} +2 -2
  253. package/__chunks__/{chunk-XTNCEO25.js → chunk-HJO2JQKX.js} +2 -2
  254. package/__chunks__/{chunk-RQGID5W2.js → chunk-HQ3ZKDQK.js} +2 -2
  255. package/__chunks__/{chunk-PENPC46F.js → chunk-I67FYX2D.js} +2 -2
  256. package/__chunks__/{chunk-K3HWU4OW.js → chunk-IGMVPNSB.js} +2 -2
  257. package/__chunks__/{chunk-CH4OYEBH.js → chunk-IGMYV33E.js} +2 -2
  258. package/__chunks__/{chunk-7BZUNTTW.js → chunk-IK5UUUFL.js} +2 -2
  259. package/__chunks__/{chunk-BFQBLN7N.js → chunk-IM4FGDOT.js} +2 -2
  260. package/__chunks__/{chunk-CXVMIOGU.js → chunk-IMG66TRL.js} +2 -2
  261. package/__chunks__/{chunk-5NPD2G2E.js → chunk-IP24ZBUD.js} +2 -2
  262. package/__chunks__/{chunk-SKMPJPIH.js → chunk-IREBUIKC.js} +2 -2
  263. package/__chunks__/chunk-IVS36B5B.js +2 -0
  264. package/__chunks__/{chunk-5ILEAEOO.js → chunk-IX5GWYQI.js} +2 -2
  265. package/__chunks__/{chunk-O3BVKERO.js → chunk-IZAPXZ3M.js} +2 -2
  266. package/__chunks__/{chunk-354WSISY.js → chunk-J35O3M6O.js} +2 -2
  267. package/__chunks__/{chunk-J2YGKXGE.js → chunk-JDXPT6XD.js} +2 -2
  268. package/__chunks__/{chunk-TMNW2FKS.js → chunk-JKQXHXSQ.js} +2 -2
  269. package/__chunks__/{chunk-CWRWDXQC.js → chunk-JSPKBXMU.js} +2 -2
  270. package/__chunks__/{chunk-LDS35B36.js → chunk-JVRUNEQ3.js} +2 -2
  271. package/__chunks__/{chunk-AQL6GTNH.js → chunk-L3QDGMHF.js} +2 -2
  272. package/__chunks__/{chunk-X5T7SFKV.js → chunk-L4RFGWRW.js} +2 -2
  273. package/__chunks__/{chunk-T7FGGO3M.js → chunk-LXTGD2HO.js} +2 -2
  274. package/__chunks__/{chunk-G3H5D5FZ.js → chunk-M7XHCV7E.js} +2 -2
  275. package/__chunks__/{chunk-6JEOYCUP.js → chunk-MBFJYQSR.js} +2 -2
  276. package/__chunks__/{chunk-5Q3HICIL.js → chunk-MJDJYFUN.js} +2 -2
  277. package/__chunks__/{chunk-POSZ6T3A.js → chunk-MKLOAF4H.js} +2 -2
  278. package/__chunks__/{chunk-QDYA3QL5.js → chunk-MOZUNHIK.js} +2 -2
  279. package/__chunks__/{chunk-H3AP47KA.js → chunk-MPLDDF3N.js} +2 -2
  280. package/__chunks__/{chunk-X4NQW656.js → chunk-MQYUFWTE.js} +2 -2
  281. package/__chunks__/{chunk-HTKRXS4D.js → chunk-MRFHZ6YE.js} +2 -2
  282. package/__chunks__/chunk-MRQT2NC2.js +2 -0
  283. package/__chunks__/{chunk-47DDFYLM.js → chunk-MRWYUROQ.js} +2 -2
  284. package/__chunks__/{chunk-PSFQS3PS.js → chunk-N6VIHX2F.js} +2 -2
  285. package/__chunks__/{chunk-OK4JBZFZ.js → chunk-NOP3LH7H.js} +2 -2
  286. package/__chunks__/{chunk-2OIEWHZG.js → chunk-NQYS2IGB.js} +2 -2
  287. package/__chunks__/{chunk-ET3ACL77.js → chunk-NULG2Y26.js} +2 -2
  288. package/__chunks__/{chunk-KCEXB7AP.js → chunk-NYC6SUNN.js} +2 -2
  289. package/__chunks__/{chunk-GVJO3HW3.js → chunk-O5KMMKKE.js} +2 -2
  290. package/__chunks__/{chunk-JF4E5NBP.js → chunk-O5MZJDU4.js} +2 -2
  291. package/__chunks__/{chunk-KTP4BUXT.js → chunk-OOO6I56M.js} +2 -2
  292. package/__chunks__/{chunk-GDA7CBNV.js → chunk-OPYMFEMN.js} +2 -2
  293. package/__chunks__/{chunk-7YJPIKAG.js → chunk-P2LBKHOI.js} +2 -2
  294. package/__chunks__/{chunk-UH5YF2GQ.js → chunk-PA3ECEFV.js} +2 -2
  295. package/__chunks__/{chunk-LZKBC7ZA.js → chunk-PDKGUUKM.js} +2 -2
  296. package/__chunks__/{chunk-AOCKTTZJ.js → chunk-PFZZIPNO.js} +2 -2
  297. package/__chunks__/{chunk-23UBS7YK.js → chunk-PI46RBZ7.js} +2 -2
  298. package/__chunks__/{chunk-SWPLK6Z4.js → chunk-PS6AJ4P5.js} +2 -2
  299. package/__chunks__/{chunk-IA5UKTP2.js → chunk-Q46MND4P.js} +2 -2
  300. package/__chunks__/{chunk-NL7TIBLB.js → chunk-QBE5QPPE.js} +2 -2
  301. package/__chunks__/{chunk-2LFQI52S.js → chunk-QJBWTW63.js} +2 -2
  302. package/__chunks__/chunk-QN2WEZ7W.js +2 -0
  303. package/__chunks__/{chunk-JNU4G5V5.js → chunk-QOZRQNTI.js} +2 -2
  304. package/__chunks__/{chunk-VHJ3DBNC.js → chunk-QRUEMTNA.js} +2 -2
  305. package/__chunks__/{chunk-LHQ275RF.js → chunk-QSCITTQS.js} +2 -2
  306. package/__chunks__/{chunk-64YD6PIQ.js → chunk-QTSTU4L3.js} +2 -2
  307. package/__chunks__/{chunk-WXKXEFOX.js → chunk-QWWMLZAB.js} +2 -2
  308. package/__chunks__/{chunk-QCIOJDI2.js → chunk-R6AMVLF6.js} +2 -2
  309. package/__chunks__/{chunk-HUSTZZRI.js → chunk-R6AVVHZU.js} +2 -2
  310. package/__chunks__/chunk-RBNNNB6A.js +2 -0
  311. package/__chunks__/{chunk-Z5UDMYVY.js → chunk-RD6HHSUS.js} +2 -2
  312. package/__chunks__/{chunk-R25B5PIP.js → chunk-RGOEFK7Q.js} +2 -2
  313. package/__chunks__/{chunk-4CURQSZY.js → chunk-RPDJ6WEI.js} +2 -2
  314. package/__chunks__/{chunk-H6VO5ZKT.js → chunk-S7JSZQRG.js} +2 -2
  315. package/__chunks__/{chunk-VJUYAAQH.js → chunk-SJ4TPHQR.js} +2 -2
  316. package/__chunks__/{chunk-AJ4D7RKO.js → chunk-SJGMSBBA.js} +2 -2
  317. package/__chunks__/{chunk-3QU4QTUN.js → chunk-TD4JZIGK.js} +2 -2
  318. package/__chunks__/{chunk-EOR5GJI4.js → chunk-TJKRRX43.js} +2 -2
  319. package/__chunks__/{chunk-Z6GORG3J.js → chunk-TKSQ76ZJ.js} +2 -2
  320. package/__chunks__/{chunk-CKLNZ3NB.js → chunk-TKUH6JGO.js} +2 -2
  321. package/__chunks__/{chunk-Z6NIG65U.js → chunk-TL2QRYUM.js} +2 -2
  322. package/__chunks__/{chunk-UBKKFECJ.js → chunk-TTAJNEGW.js} +2 -2
  323. package/__chunks__/{chunk-XQGZ2RQ5.js → chunk-TW2WGRVK.js} +2 -2
  324. package/__chunks__/{chunk-Q26G6NGW.js → chunk-TXBHMXTJ.js} +2 -2
  325. package/__chunks__/{chunk-EHUSXIFK.js → chunk-U3ZCUJH7.js} +2 -2
  326. package/__chunks__/{chunk-SBLHCW3L.js → chunk-U4HSUNSU.js} +2 -2
  327. package/__chunks__/{chunk-W2QNBDJZ.js → chunk-UD7F3Y5C.js} +2 -2
  328. package/__chunks__/{chunk-GPOZCTJR.js → chunk-UEG2VKO4.js} +2 -2
  329. package/__chunks__/{chunk-6NZUWUL5.js → chunk-UF4RFETW.js} +2 -2
  330. package/__chunks__/{chunk-YPOLBHM7.js → chunk-UIU3246V.js} +2 -2
  331. package/__chunks__/{chunk-C6SFO5OB.js → chunk-UNCYVPN2.js} +2 -2
  332. package/__chunks__/{chunk-ZHX4QR4Z.js → chunk-UQ73GZXM.js} +2 -2
  333. package/__chunks__/{chunk-H3MBW2TW.js → chunk-UREVCC5V.js} +2 -2
  334. package/__chunks__/{chunk-4A77NIMJ.js → chunk-UUYUWTTP.js} +2 -2
  335. package/__chunks__/{chunk-DD6MBKQJ.js → chunk-VEEWWBEL.js} +2 -2
  336. package/__chunks__/chunk-W4VJH4U4.js +2 -0
  337. package/__chunks__/{chunk-AIQBO5FR.js → chunk-W5BYFGHE.js} +2 -2
  338. package/__chunks__/{chunk-LI4NOVJF.js → chunk-WD4IFJYT.js} +2 -2
  339. package/__chunks__/{chunk-DIIUEL6P.js → chunk-WLS2YPVI.js} +2 -2
  340. package/__chunks__/{chunk-3KWKCATY.js → chunk-WNO4KR27.js} +2 -2
  341. package/__chunks__/{chunk-EL7342FF.js → chunk-WOQKP6WJ.js} +2 -2
  342. package/__chunks__/{chunk-GJGSART4.js → chunk-WS3RMOUN.js} +2 -2
  343. package/__chunks__/chunk-X5RPE5YK.js +2 -0
  344. package/__chunks__/{chunk-PBPJWJF5.js → chunk-XBEH25W7.js} +2 -2
  345. package/__chunks__/{chunk-ZYJ3UL4L.js → chunk-XDSWO26O.js} +2 -2
  346. package/__chunks__/{chunk-SSBNA2F6.js → chunk-XE2HOK5L.js} +2 -2
  347. package/__chunks__/{chunk-WIFCWEPV.js → chunk-XHK6URBB.js} +2 -2
  348. package/__chunks__/{chunk-XY7SJH4Y.js → chunk-XLJGYYEW.js} +2 -2
  349. package/__chunks__/{chunk-R6733WGY.js → chunk-XT2LSUCQ.js} +2 -2
  350. package/__chunks__/{chunk-TCLCQVKP.js → chunk-XV3FTN3W.js} +2 -2
  351. package/__chunks__/{chunk-AVP6G25M.js → chunk-XWSZJBUK.js} +2 -2
  352. package/__chunks__/{chunk-XZSJKI4R.js → chunk-XXDHQXI3.js} +2 -2
  353. package/__chunks__/{chunk-IZDPF2L3.js → chunk-Y6Y7SHNQ.js} +2 -2
  354. package/__chunks__/{chunk-HGJDKEPB.js → chunk-Y7AY2RX3.js} +2 -2
  355. package/__chunks__/{chunk-6IC7D25B.js → chunk-YIKNPSGZ.js} +2 -2
  356. package/__chunks__/{chunk-PHJSW3XE.js → chunk-YSXN5VCY.js} +2 -2
  357. package/__chunks__/{chunk-W5STXEQ2.js → chunk-YTENRWOU.js} +2 -2
  358. package/__chunks__/{chunk-NBRGV3E2.js → chunk-YVN5JVSP.js} +2 -2
  359. package/__chunks__/{chunk-LBGZ6HDZ.js → chunk-Z4TJ4SIV.js} +2 -2
  360. package/__chunks__/{chunk-R2HS6J5S.js → chunk-ZDNO5MRX.js} +2 -2
  361. package/__chunks__/{chunk-3WAWAQDS.js → chunk-ZEPQ5FL4.js} +2 -2
  362. package/__chunks__/{chunk-PAYGR62X.js → chunk-ZITWSOIS.js} +2 -2
  363. package/__chunks__/{chunk-BAR45VRH.js → chunk-ZOA66R5C.js} +2 -2
  364. package/__chunks__/{chunk-UKY22L5R.js → chunk-ZOTONTST.js} +2 -2
  365. package/__chunks__/{chunk-RBCYNN4B.js → chunk-ZVDT5J3U.js} +2 -2
  366. package/__chunks__/{chunk-V5J462SG.js → chunk-ZZS46ORN.js} +2 -2
  367. package/__commonjs/UI/SignTransactionsModals/SignTransactionsModals.js +1 -1
  368. package/__commonjs/UI/SignTransactionsModals/SignWithDeviceModal/SignWithDeviceModal.js +1 -1
  369. package/__commonjs/UI/SignTransactionsModals/SignWithDeviceModal/index.js +1 -1
  370. package/__commonjs/UI/SignTransactionsModals/SignWithExtraModal/SignWithExtraModal.js +1 -1
  371. package/__commonjs/UI/SignTransactionsModals/SignWithExtraModal/index.js +1 -1
  372. package/__commonjs/UI/SignTransactionsModals/SignWithLedgerModal/SignWithLedgerModal.js +1 -1
  373. package/__commonjs/UI/SignTransactionsModals/SignWithLedgerModal/index.js +1 -1
  374. package/__commonjs/UI/SignTransactionsModals/components/ConfirmationScreen.js +1 -1
  375. package/__commonjs/UI/SignTransactionsModals/components/index.js +1 -1
  376. package/__commonjs/UI/SignTransactionsModals/index.js +1 -1
  377. package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/index.js +1 -1
  378. package/__commonjs/UI/index.js +1 -1
  379. package/__commonjs/__mocks__/index.js +2 -2
  380. package/__commonjs/__mocks__/utils/index.js +2 -2
  381. package/__commonjs/__mocks__/utils/renderWithProvider.js +2 -2
  382. package/__commonjs/components/ProviderInitializer/ProviderInitializer.js +1 -1
  383. package/__commonjs/components/ProviderInitializer/index.js +1 -1
  384. package/__commonjs/hooks/index.js +1 -1
  385. package/__commonjs/hooks/login/useWebViewLogin.js +1 -1
  386. package/__commonjs/hooks/transactions/helpers/checkNeedsGuardianSigning.js +1 -1
  387. package/__commonjs/hooks/transactions/helpers/index.js +1 -1
  388. package/__commonjs/hooks/transactions/index.js +1 -1
  389. package/__commonjs/hooks/transactions/useSignTransactions.js +1 -1
  390. package/__commonjs/hooks/transactions/useSignTransactionsWithDevice.js +1 -1
  391. package/__commonjs/hooks/transactions/useSignTransactionsWithLedger.js +1 -1
  392. package/__commonjs/providers/webviewProvider/index.js +1 -1
  393. package/__commonjs/providers/webviewProvider/requestMethods.js +1 -1
  394. package/__commonjs/providers/webviewProvider/webviewProvider.js +1 -1
  395. package/__commonjs/services/nativeAuth/helpers/loginWithNativeAuthToken.d.ts +1 -1
  396. package/__commonjs/services/nativeAuth/helpers/loginWithNativeAuthToken.js +1 -1
  397. package/__commonjs/utils/index.js +1 -1
  398. package/__commonjs/utils/transactions/builtCallbackUrl.js +1 -1
  399. package/__commonjs/utils/transactions/index.js +1 -1
  400. package/__commonjs/wrappers/DappProvider/DappProvider.js +2 -2
  401. package/__commonjs/wrappers/DappProvider/index.js +2 -2
  402. package/__commonjs/wrappers/index.js +2 -2
  403. package/__mocks__/index.js +1 -1
  404. package/__mocks__/utils/index.js +1 -1
  405. package/__mocks__/utils/renderWithProvider.js +1 -1
  406. package/apiCalls/accounts/getAccountFromApi.js +1 -1
  407. package/apiCalls/accounts/index.js +1 -1
  408. package/apiCalls/configuration/getNetworkConfig.js +1 -1
  409. package/apiCalls/configuration/index.js +1 -1
  410. package/apiCalls/economics/getEconomicsInfo.js +1 -1
  411. package/apiCalls/economics/index.js +1 -1
  412. package/apiCalls/getScamAddressData.js +1 -1
  413. package/apiCalls/index.js +1 -1
  414. package/apiCalls/transactions/getTransactionsByHashes.js +1 -1
  415. package/apiCalls/transactions/index.js +1 -1
  416. package/apiCalls/transactions/sendSignedBatchTransactions.js +1 -1
  417. package/apiCalls/transactions/sendSignedTransactions.js +1 -1
  418. package/apiCalls/utils/getCleanApiAddress.js +1 -1
  419. package/apiCalls/utils/index.js +1 -1
  420. package/components/LogoutListener/LogoutListener.js +1 -1
  421. package/components/LogoutListener/helpers/index.js +1 -1
  422. package/components/LogoutListener/helpers/useLogoutFromMultipleTabs.js +1 -1
  423. package/components/LogoutListener/helpers/useNativeAuthLogout.js +1 -1
  424. package/components/LogoutListener/helpers/useNativeAuthLogoutWarning/index.js +1 -1
  425. package/components/LogoutListener/helpers/useNativeAuthLogoutWarning/useNativeAuthLogoutWarning.js +1 -1
  426. package/components/LogoutListener/index.js +1 -1
  427. package/components/ProviderInitializer/ProviderInitializer.js +1 -1
  428. package/components/ProviderInitializer/hooks/index.js +1 -1
  429. package/components/ProviderInitializer/hooks/useSetLedgerProvider.js +1 -1
  430. package/components/ProviderInitializer/index.js +1 -1
  431. package/components/TransactionSender/TransactionSender.js +1 -1
  432. package/components/TransactionSender/index.js +1 -1
  433. package/components/TransactionSender/utils/invokeSendTransactions.js +1 -1
  434. package/components/TransactionsTracker/TransactionTracker.js +1 -1
  435. package/components/TransactionsTracker/index.js +1 -1
  436. package/hooks/account/index.js +1 -1
  437. package/hooks/account/useGetAccount.js +1 -1
  438. package/hooks/account/useGetAccountFromApi.js +1 -1
  439. package/hooks/account/useGetAccountInfo.js +1 -1
  440. package/hooks/account/useGetIsLoggedIn.js +1 -1
  441. package/hooks/account/useGetLoginInfo.js +1 -1
  442. package/hooks/account/useGetWebsocketEvent.js +1 -1
  443. package/hooks/economics/index.js +1 -1
  444. package/hooks/economics/useGetEgldPrice.js +1 -1
  445. package/hooks/index.js +1 -1
  446. package/hooks/login/index.js +1 -1
  447. package/hooks/login/useExtensionLogin.js +1 -1
  448. package/hooks/login/useGetModalLoginMethods.js +1 -1
  449. package/hooks/login/useLedgerLogin.js +1 -1
  450. package/hooks/login/useLoginService.js +1 -1
  451. package/hooks/login/useOperaLogin.js +1 -1
  452. package/hooks/login/useWalletConnectV2Login.js +1 -1
  453. package/hooks/login/useWebViewLogin.js +1 -1
  454. package/hooks/login/useWebWalletLogin.js +1 -1
  455. package/hooks/login/useXaliasLogin.js +1 -1
  456. package/hooks/signMessage/index.js +1 -1
  457. package/hooks/signMessage/useGetLastSignedMessageSession.js +1 -1
  458. package/hooks/signMessage/useGetSignMessageSession.js +1 -1
  459. package/hooks/signMessage/useGetSignedMessageStatus.js +1 -1
  460. package/hooks/signMessage/useSignMessage.js +1 -1
  461. package/hooks/toasts/index.js +1 -1
  462. package/hooks/toasts/useGetToasts.js +1 -1
  463. package/hooks/toasts/useTransactionsToasts.js +1 -1
  464. package/hooks/transactions/batch/tracker/useBatchTransactionsTracker.js +1 -1
  465. package/hooks/transactions/batch/tracker/useCheckBatch.js +1 -1
  466. package/hooks/transactions/batch/tracker/useCheckBatchesOnWsFailureFallback.js +1 -1
  467. package/hooks/transactions/batch/tracker/useCheckHangingBatchesFallback.js +1 -1
  468. package/hooks/transactions/batch/tracker/useUpdateBatch.js +1 -1
  469. package/hooks/transactions/batch/tracker/useVerifyBatchStatus.js +1 -1
  470. package/hooks/transactions/batch/useGetBatchStatus.js +1 -1
  471. package/hooks/transactions/batch/useResolveBatchStatusResponse.js +1 -1
  472. package/hooks/transactions/batch/useSendBatchTransactions.js +1 -1
  473. package/hooks/transactions/helpers/checkNeedsGuardianSigning.js +1 -1
  474. package/hooks/transactions/helpers/getShouldMoveTransactionsToSignedState.js +1 -1
  475. package/hooks/transactions/helpers/index.js +1 -1
  476. package/hooks/transactions/helpers/useGetLedgerProvider.js +1 -1
  477. package/hooks/transactions/helpers/useSetTransactionNonces.js +1 -1
  478. package/hooks/transactions/index.js +1 -1
  479. package/hooks/transactions/useCheckTransactionStatus/checkBatch.js +1 -1
  480. package/hooks/transactions/useCheckTransactionStatus/index.js +1 -1
  481. package/hooks/transactions/useCheckTransactionStatus/useCheckTransactionStatus.js +1 -1
  482. package/hooks/transactions/useGetActiveTransactionsStatus.js +1 -1
  483. package/hooks/transactions/useGetFailedTransactions.js +1 -1
  484. package/hooks/transactions/useGetLastPendingTransactionHash.js +1 -1
  485. package/hooks/transactions/useGetPendingTransactions.js +1 -1
  486. package/hooks/transactions/useGetSignTransactionsError.js +1 -1
  487. package/hooks/transactions/useGetSignedTransactions.js +1 -1
  488. package/hooks/transactions/useGetSuccessfulTransactions.js +1 -1
  489. package/hooks/transactions/useGetTokenDetails.js +1 -1
  490. package/hooks/transactions/useGetTransactionDisplayInfo.js +1 -1
  491. package/hooks/transactions/useParseSignedTransactions.js +1 -1
  492. package/hooks/transactions/useSignMultipleTransactions.js +1 -1
  493. package/hooks/transactions/useSignTransactions.js +1 -1
  494. package/hooks/transactions/useSignTransactionsCommonData.js +1 -1
  495. package/hooks/transactions/useSignTransactionsWithDevice.js +1 -1
  496. package/hooks/transactions/useSignTransactionsWithLedger.js +1 -1
  497. package/hooks/transactions/useTrackTransactionStatus.js +1 -1
  498. package/hooks/transactions/useTransactionsTracker.js +1 -1
  499. package/hooks/useGetNetworkConfig.js +1 -1
  500. package/hooks/useGetNotification.js +1 -1
  501. package/hooks/websocketListener/index.js +1 -1
  502. package/hooks/websocketListener/useInitializeWebsocketConnection.js +1 -1
  503. package/hooks/websocketListener/useRegisterWebsocketListener.js +1 -1
  504. package/package.json +1 -1
  505. package/providers/webviewProvider/index.js +1 -1
  506. package/providers/webviewProvider/requestMethods.js +1 -1
  507. package/providers/webviewProvider/webviewProvider.js +1 -1
  508. package/reduxStore/selectors/index.js +1 -1
  509. package/reduxStore/selectors/transactionsSelectors.js +1 -1
  510. package/services/index.js +1 -1
  511. package/services/nativeAuth/helpers/getAuthorizationInfo.js +1 -1
  512. package/services/nativeAuth/helpers/getIsNativeAuthSingingForbidden.js +1 -1
  513. package/services/nativeAuth/helpers/index.js +1 -1
  514. package/services/nativeAuth/helpers/loginWithNativeAuthToken.d.ts +1 -1
  515. package/services/nativeAuth/helpers/loginWithNativeAuthToken.js +1 -1
  516. package/services/transactions/clearTransactions.js +1 -1
  517. package/services/transactions/getBatchTransactionsStatus.js +1 -1
  518. package/services/transactions/getTransactionsDetails.js +1 -1
  519. package/services/transactions/index.js +1 -1
  520. package/services/transactions/sendBatchTransactions.js +1 -1
  521. package/services/transactions/sendBatchTransactions.test.js +1 -1
  522. package/services/transactions/sendTransactions.js +1 -1
  523. package/services/transactions/transformAndSignTransactions.js +1 -1
  524. package/services/transactions/utils/transformTransactionsToSign.js +1 -1
  525. package/utils/account/getAccount.js +1 -1
  526. package/utils/account/getAccountBalance.js +1 -1
  527. package/utils/account/getAccountShard.js +1 -1
  528. package/utils/account/getAddress.js +1 -1
  529. package/utils/account/getLatestNonce.js +1 -1
  530. package/utils/account/index.js +1 -1
  531. package/utils/account/refreshAccount.js +1 -1
  532. package/utils/account/signMessage.js +1 -1
  533. package/utils/getIsLoggedIn.js +1 -1
  534. package/utils/index.js +1 -1
  535. package/utils/logout.js +1 -1
  536. package/utils/network/getChainID.js +1 -1
  537. package/utils/network/getEgldLabel.js +1 -1
  538. package/utils/network/getNetworkConfig.js +1 -1
  539. package/utils/network/index.js +1 -1
  540. package/utils/transactions/batch/updateBatchTransactionsStatuses.js +1 -1
  541. package/utils/transactions/builtCallbackUrl.js +1 -1
  542. package/utils/transactions/getAllTransactionsLink.js +1 -1
  543. package/utils/transactions/getTransactionLink.js +1 -1
  544. package/utils/transactions/index.js +1 -1
  545. package/web/hooks/index.js +1 -1
  546. package/web/hooks/useIdleTimer.js +1 -1
  547. package/web/index.js +1 -1
  548. package/wrappers/AppInitializer.js +1 -1
  549. package/wrappers/AuthenticatedRoutesWrapper/AuthenticatedRoutesWrapper.js +1 -1
  550. package/wrappers/AuthenticatedRoutesWrapper/index.js +1 -1
  551. package/wrappers/AxiosInterceptorContext/AxiosInterceptorContext.js +1 -1
  552. package/wrappers/AxiosInterceptorContext/components/AxiosInterceptor.js +1 -1
  553. package/wrappers/AxiosInterceptorContext/components/AxiosInterceptorContextProvider.js +1 -1
  554. package/wrappers/AxiosInterceptorContext/components/LoginInfoListener.js +1 -1
  555. package/wrappers/AxiosInterceptorContext/components/index.js +1 -1
  556. package/wrappers/AxiosInterceptorContext/index.js +1 -1
  557. package/wrappers/DappProvider/CustomComponents.js +1 -1
  558. package/wrappers/DappProvider/DappProvider.js +1 -1
  559. package/wrappers/DappProvider/index.js +1 -1
  560. package/wrappers/index.js +1 -1
  561. package/__chunks__/chunk-3CY3QUY6.js +0 -2
  562. package/__chunks__/chunk-4VDY5VI4.js +0 -2
  563. package/__chunks__/chunk-D224EK4G.js +0 -2
  564. package/__chunks__/chunk-EEXZHFTZ.js +0 -2
  565. package/__chunks__/chunk-EUYTQE7C.js +0 -2
  566. package/__chunks__/chunk-FXKP2KPE.js +0 -2
  567. package/__chunks__/chunk-KLHNGWBK.js +0 -2
  568. package/__chunks__/chunk-KYXEKIWZ.js +0 -2
  569. package/__chunks__/chunk-LWSZPBGY.js +0 -2
  570. package/__chunks__/chunk-NSK7RCFD.js +0 -2
  571. package/__chunks__/chunk-XN7SJV47.js +0 -2
  572. package/__chunks__/chunk-YVFJKOS2.js +0 -2
@@ -1,4 +1,4 @@
1
- "use strict";var Lo=Object.create;var ce=Object.defineProperty,Co=Object.defineProperties,_o=Object.getOwnPropertyDescriptor,No=Object.getOwnPropertyDescriptors,Po=Object.getOwnPropertyNames,Et=Object.getOwnPropertySymbols,Mo=Object.getPrototypeOf,Ct=Object.prototype.hasOwnProperty,Bo=Object.prototype.propertyIsEnumerable;var Lt=(t,e,r)=>e in t?ce(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,h=(t,e)=>{for(var r in e||(e={}))Ct.call(e,r)&&Lt(t,r,e[r]);if(Et)for(var r of Et(e))Bo.call(e,r)&&Lt(t,r,e[r]);return t},k=(t,e)=>Co(t,No(e));var f=(t,e)=>()=>(t&&(e=t(t=0)),e);var R=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),j=(t,e)=>{for(var r in e)ce(t,r,{get:e[r],enumerable:!0})},_t=(t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let o of Po(e))!Ct.call(t,o)&&o!==r&&ce(t,o,{get:()=>e[o],enumerable:!(n=_o(e,o))||n.enumerable});return t};var z=(t,e,r)=>(r=t!=null?Lo(Mo(t)):{},_t(e||!t||!t.__esModule?ce(r,"default",{value:t,enumerable:!0}):r,t)),le=t=>_t(ce({},"__esModule",{value:!0}),t);var _=(t,e,r)=>new Promise((n,o)=>{var i=g=>{try{d(r.next(g))}catch(m){o(m)}},s=g=>{try{d(r.throw(g))}catch(m){o(m)}},d=g=>g.done?n(g.value):Promise.resolve(g.value).then(i,s);d((r=r.apply(t,e)).next())});var Mt=R(Se=>{"use strict";a();Se.byteLength=Oo;Se.toByteArray=Uo;Se.fromByteArray=qo;var N=[],E=[],Fo=typeof Uint8Array!="undefined"?Uint8Array:Array,Xe="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(K=0,Nt=Xe.length;K<Nt;++K)N[K]=Xe[K],E[Xe.charCodeAt(K)]=K;var K,Nt;E["-".charCodeAt(0)]=62;E["_".charCodeAt(0)]=63;function Pt(t){var e=t.length;if(e%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var r=t.indexOf("=");r===-1&&(r=e);var n=r===e?0:4-r%4;return[r,n]}function Oo(t){var e=Pt(t),r=e[0],n=e[1];return(r+n)*3/4-n}function Do(t,e,r){return(e+r)*3/4-r}function Uo(t){var e,r=Pt(t),n=r[0],o=r[1],i=new Fo(Do(t,n,o)),s=0,d=o>0?n-4:n,g;for(g=0;g<d;g+=4)e=E[t.charCodeAt(g)]<<18|E[t.charCodeAt(g+1)]<<12|E[t.charCodeAt(g+2)]<<6|E[t.charCodeAt(g+3)],i[s++]=e>>16&255,i[s++]=e>>8&255,i[s++]=e&255;return o===2&&(e=E[t.charCodeAt(g)]<<2|E[t.charCodeAt(g+1)]>>4,i[s++]=e&255),o===1&&(e=E[t.charCodeAt(g)]<<10|E[t.charCodeAt(g+1)]<<4|E[t.charCodeAt(g+2)]>>2,i[s++]=e>>8&255,i[s++]=e&255),i}function Go(t){return N[t>>18&63]+N[t>>12&63]+N[t>>6&63]+N[t&63]}function Wo(t,e,r){for(var n,o=[],i=e;i<r;i+=3)n=(t[i]<<16&16711680)+(t[i+1]<<8&65280)+(t[i+2]&255),o.push(Go(n));return o.join("")}function qo(t){for(var e,r=t.length,n=r%3,o=[],i=16383,s=0,d=r-n;s<d;s+=i)o.push(Wo(t,s,s+i>d?d:s+i));return n===1?(e=t[r-1],o.push(N[e>>2]+N[e<<4&63]+"==")):n===2&&(e=(t[r-2]<<8)+t[r-1],o.push(N[e>>10]+N[e>>4&63]+N[e<<2&63]+"=")),o.join("")}});var Bt=R(Qe=>{a();Qe.read=function(t,e,r,n,o){var i,s,d=o*8-n-1,g=(1<<d)-1,m=g>>1,T=-7,y=r?o-1:0,v=r?-1:1,b=t[e+y];for(y+=v,i=b&(1<<-T)-1,b>>=-T,T+=d;T>0;i=i*256+t[e+y],y+=v,T-=8);for(s=i&(1<<-T)-1,i>>=-T,T+=n;T>0;s=s*256+t[e+y],y+=v,T-=8);if(i===0)i=1-m;else{if(i===g)return s?NaN:(b?-1:1)*(1/0);s=s+Math.pow(2,n),i=i-m}return(b?-1:1)*s*Math.pow(2,i-n)};Qe.write=function(t,e,r,n,o,i){var s,d,g,m=i*8-o-1,T=(1<<m)-1,y=T>>1,v=o===23?Math.pow(2,-24)-Math.pow(2,-77):0,b=n?0:i-1,O=n?1:-1,xe=e<0||e===0&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(d=isNaN(e)?1:0,s=T):(s=Math.floor(Math.log(e)/Math.LN2),e*(g=Math.pow(2,-s))<1&&(s--,g*=2),s+y>=1?e+=v/g:e+=v*Math.pow(2,1-y),e*g>=2&&(s++,g/=2),s+y>=T?(d=0,s=T):s+y>=1?(d=(e*g-1)*Math.pow(2,o),s=s+y):(d=e*Math.pow(2,y-1)*Math.pow(2,o),s=0));o>=8;t[r+b]=d&255,b+=O,d/=256,o-=8);for(s=s<<o|d,m+=o;m>0;t[r+b]=s&255,b+=O,s/=256,m-=8);t[r+b-O]|=xe*128}});var Jt=R(te=>{"use strict";a();var Ze=Mt(),ee=Bt(),Ft=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;te.Buffer=c;te.SlowBuffer=Jo;te.INSPECT_MAX_BYTES=50;var we=2147483647;te.kMaxLength=we;c.TYPED_ARRAY_SUPPORT=Ho();!c.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 Ho(){try{var t=new Uint8Array(1),e={foo:function(){return 42}};return Object.setPrototypeOf(e,Uint8Array.prototype),Object.setPrototypeOf(t,e),t.foo()===42}catch(r){return!1}}Object.defineProperty(c.prototype,"parent",{enumerable:!0,get:function(){if(!!c.isBuffer(this))return this.buffer}});Object.defineProperty(c.prototype,"offset",{enumerable:!0,get:function(){if(!!c.isBuffer(this))return this.byteOffset}});function U(t){if(t>we)throw new RangeError('The value "'+t+'" is invalid for option "size"');var e=new Uint8Array(t);return Object.setPrototypeOf(e,c.prototype),e}function c(t,e,r){if(typeof t=="number"){if(typeof e=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return nt(t)}return Ut(t,e,r)}c.poolSize=8192;function Ut(t,e,r){if(typeof t=="string")return jo(t,e);if(ArrayBuffer.isView(t))return zo(t);if(t==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t);if(P(t,ArrayBuffer)||t&&P(t.buffer,ArrayBuffer)||typeof SharedArrayBuffer!="undefined"&&(P(t,SharedArrayBuffer)||t&&P(t.buffer,SharedArrayBuffer)))return tt(t,e,r);if(typeof t=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var n=t.valueOf&&t.valueOf();if(n!=null&&n!==t)return c.from(n,e,r);var o=Ko(t);if(o)return o;if(typeof Symbol!="undefined"&&Symbol.toPrimitive!=null&&typeof t[Symbol.toPrimitive]=="function")return c.from(t[Symbol.toPrimitive]("string"),e,r);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t)}c.from=function(t,e,r){return Ut(t,e,r)};Object.setPrototypeOf(c.prototype,Uint8Array.prototype);Object.setPrototypeOf(c,Uint8Array);function Gt(t){if(typeof t!="number")throw new TypeError('"size" argument must be of type number');if(t<0)throw new RangeError('The value "'+t+'" is invalid for option "size"')}function Vo(t,e,r){return Gt(t),t<=0?U(t):e!==void 0?typeof r=="string"?U(t).fill(e,r):U(t).fill(e):U(t)}c.alloc=function(t,e,r){return Vo(t,e,r)};function nt(t){return Gt(t),U(t<0?0:ot(t)|0)}c.allocUnsafe=function(t){return nt(t)};c.allocUnsafeSlow=function(t){return nt(t)};function jo(t,e){if((typeof e!="string"||e==="")&&(e="utf8"),!c.isEncoding(e))throw new TypeError("Unknown encoding: "+e);var r=Wt(t,e)|0,n=U(r),o=n.write(t,e);return o!==r&&(n=n.slice(0,o)),n}function et(t){for(var e=t.length<0?0:ot(t.length)|0,r=U(e),n=0;n<e;n+=1)r[n]=t[n]&255;return r}function zo(t){if(P(t,Uint8Array)){var e=new Uint8Array(t);return tt(e.buffer,e.byteOffset,e.byteLength)}return et(t)}function tt(t,e,r){if(e<0||t.byteLength<e)throw new RangeError('"offset" is outside of buffer bounds');if(t.byteLength<e+(r||0))throw new RangeError('"length" is outside of buffer bounds');var n;return e===void 0&&r===void 0?n=new Uint8Array(t):r===void 0?n=new Uint8Array(t,e):n=new Uint8Array(t,e,r),Object.setPrototypeOf(n,c.prototype),n}function Ko(t){if(c.isBuffer(t)){var e=ot(t.length)|0,r=U(e);return r.length===0||t.copy(r,0,0,e),r}if(t.length!==void 0)return typeof t.length!="number"||it(t.length)?U(0):et(t);if(t.type==="Buffer"&&Array.isArray(t.data))return et(t.data)}function ot(t){if(t>=we)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+we.toString(16)+" bytes");return t|0}function Jo(t){return+t!=t&&(t=0),c.alloc(+t)}c.isBuffer=function(e){return e!=null&&e._isBuffer===!0&&e!==c.prototype};c.compare=function(e,r){if(P(e,Uint8Array)&&(e=c.from(e,e.offset,e.byteLength)),P(r,Uint8Array)&&(r=c.from(r,r.offset,r.byteLength)),!c.isBuffer(e)||!c.isBuffer(r))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(e===r)return 0;for(var n=e.length,o=r.length,i=0,s=Math.min(n,o);i<s;++i)if(e[i]!==r[i]){n=e[i],o=r[i];break}return n<o?-1:o<n?1:0};c.isEncoding=function(e){switch(String(e).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}};c.concat=function(e,r){if(!Array.isArray(e))throw new TypeError('"list" argument must be an Array of Buffers');if(e.length===0)return c.alloc(0);var n;if(r===void 0)for(r=0,n=0;n<e.length;++n)r+=e[n].length;var o=c.allocUnsafe(r),i=0;for(n=0;n<e.length;++n){var s=e[n];if(P(s,Uint8Array))i+s.length>o.length?c.from(s).copy(o,i):Uint8Array.prototype.set.call(o,s,i);else if(c.isBuffer(s))s.copy(o,i);else throw new TypeError('"list" argument must be an Array of Buffers');i+=s.length}return o};function Wt(t,e){if(c.isBuffer(t))return t.length;if(ArrayBuffer.isView(t)||P(t,ArrayBuffer))return t.byteLength;if(typeof t!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof t);var r=t.length,n=arguments.length>2&&arguments[2]===!0;if(!n&&r===0)return 0;for(var o=!1;;)switch(e){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":return rt(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return r*2;case"hex":return r>>>1;case"base64":return Kt(t).length;default:if(o)return n?-1:rt(t).length;e=(""+e).toLowerCase(),o=!0}}c.byteLength=Wt;function Yo(t,e,r){var n=!1;if((e===void 0||e<0)&&(e=0),e>this.length||((r===void 0||r>this.length)&&(r=this.length),r<=0)||(r>>>=0,e>>>=0,r<=e))return"";for(t||(t="utf8");;)switch(t){case"hex":return ii(this,e,r);case"utf8":case"utf-8":return Ht(this,e,r);case"ascii":return ni(this,e,r);case"latin1":case"binary":return oi(this,e,r);case"base64":return ti(this,e,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return ai(this,e,r);default:if(n)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),n=!0}}c.prototype._isBuffer=!0;function J(t,e,r){var n=t[e];t[e]=t[r],t[r]=n}c.prototype.swap16=function(){var e=this.length;if(e%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var r=0;r<e;r+=2)J(this,r,r+1);return this};c.prototype.swap32=function(){var e=this.length;if(e%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var r=0;r<e;r+=4)J(this,r,r+3),J(this,r+1,r+2);return this};c.prototype.swap64=function(){var e=this.length;if(e%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var r=0;r<e;r+=8)J(this,r,r+7),J(this,r+1,r+6),J(this,r+2,r+5),J(this,r+3,r+4);return this};c.prototype.toString=function(){var e=this.length;return e===0?"":arguments.length===0?Ht(this,0,e):Yo.apply(this,arguments)};c.prototype.toLocaleString=c.prototype.toString;c.prototype.equals=function(e){if(!c.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e?!0:c.compare(this,e)===0};c.prototype.inspect=function(){var e="",r=te.INSPECT_MAX_BYTES;return e=this.toString("hex",0,r).replace(/(.{2})/g,"$1 ").trim(),this.length>r&&(e+=" ... "),"<Buffer "+e+">"};Ft&&(c.prototype[Ft]=c.prototype.inspect);c.prototype.compare=function(e,r,n,o,i){if(P(e,Uint8Array)&&(e=c.from(e,e.offset,e.byteLength)),!c.isBuffer(e))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof e);if(r===void 0&&(r=0),n===void 0&&(n=e?e.length:0),o===void 0&&(o=0),i===void 0&&(i=this.length),r<0||n>e.length||o<0||i>this.length)throw new RangeError("out of range index");if(o>=i&&r>=n)return 0;if(o>=i)return-1;if(r>=n)return 1;if(r>>>=0,n>>>=0,o>>>=0,i>>>=0,this===e)return 0;for(var s=i-o,d=n-r,g=Math.min(s,d),m=this.slice(o,i),T=e.slice(r,n),y=0;y<g;++y)if(m[y]!==T[y]){s=m[y],d=T[y];break}return s<d?-1:d<s?1:0};function qt(t,e,r,n,o){if(t.length===0)return-1;if(typeof r=="string"?(n=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),r=+r,it(r)&&(r=o?0:t.length-1),r<0&&(r=t.length+r),r>=t.length){if(o)return-1;r=t.length-1}else if(r<0)if(o)r=0;else return-1;if(typeof e=="string"&&(e=c.from(e,n)),c.isBuffer(e))return e.length===0?-1:Ot(t,e,r,n,o);if(typeof e=="number")return e=e&255,typeof Uint8Array.prototype.indexOf=="function"?o?Uint8Array.prototype.indexOf.call(t,e,r):Uint8Array.prototype.lastIndexOf.call(t,e,r):Ot(t,[e],r,n,o);throw new TypeError("val must be string, number or Buffer")}function Ot(t,e,r,n,o){var i=1,s=t.length,d=e.length;if(n!==void 0&&(n=String(n).toLowerCase(),n==="ucs2"||n==="ucs-2"||n==="utf16le"||n==="utf-16le")){if(t.length<2||e.length<2)return-1;i=2,s/=2,d/=2,r/=2}function g(b,O){return i===1?b[O]:b.readUInt16BE(O*i)}var m;if(o){var T=-1;for(m=r;m<s;m++)if(g(t,m)===g(e,T===-1?0:m-T)){if(T===-1&&(T=m),m-T+1===d)return T*i}else T!==-1&&(m-=m-T),T=-1}else for(r+d>s&&(r=s-d),m=r;m>=0;m--){for(var y=!0,v=0;v<d;v++)if(g(t,m+v)!==g(e,v)){y=!1;break}if(y)return m}return-1}c.prototype.includes=function(e,r,n){return this.indexOf(e,r,n)!==-1};c.prototype.indexOf=function(e,r,n){return qt(this,e,r,n,!0)};c.prototype.lastIndexOf=function(e,r,n){return qt(this,e,r,n,!1)};function $o(t,e,r,n){r=Number(r)||0;var o=t.length-r;n?(n=Number(n),n>o&&(n=o)):n=o;var i=e.length;n>i/2&&(n=i/2);for(var s=0;s<n;++s){var d=parseInt(e.substr(s*2,2),16);if(it(d))return s;t[r+s]=d}return s}function Xo(t,e,r,n){return be(rt(e,t.length-r),t,r,n)}function Qo(t,e,r,n){return be(li(e),t,r,n)}function Zo(t,e,r,n){return be(Kt(e),t,r,n)}function ei(t,e,r,n){return be(pi(e,t.length-r),t,r,n)}c.prototype.write=function(e,r,n,o){if(r===void 0)o="utf8",n=this.length,r=0;else if(n===void 0&&typeof r=="string")o=r,n=this.length,r=0;else if(isFinite(r))r=r>>>0,isFinite(n)?(n=n>>>0,o===void 0&&(o="utf8")):(o=n,n=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var i=this.length-r;if((n===void 0||n>i)&&(n=i),e.length>0&&(n<0||r<0)||r>this.length)throw new RangeError("Attempt to write outside buffer bounds");o||(o="utf8");for(var s=!1;;)switch(o){case"hex":return $o(this,e,r,n);case"utf8":case"utf-8":return Xo(this,e,r,n);case"ascii":case"latin1":case"binary":return Qo(this,e,r,n);case"base64":return Zo(this,e,r,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return ei(this,e,r,n);default:if(s)throw new TypeError("Unknown encoding: "+o);o=(""+o).toLowerCase(),s=!0}};c.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function ti(t,e,r){return e===0&&r===t.length?Ze.fromByteArray(t):Ze.fromByteArray(t.slice(e,r))}function Ht(t,e,r){r=Math.min(t.length,r);for(var n=[],o=e;o<r;){var i=t[o],s=null,d=i>239?4:i>223?3:i>191?2:1;if(o+d<=r){var g,m,T,y;switch(d){case 1:i<128&&(s=i);break;case 2:g=t[o+1],(g&192)===128&&(y=(i&31)<<6|g&63,y>127&&(s=y));break;case 3:g=t[o+1],m=t[o+2],(g&192)===128&&(m&192)===128&&(y=(i&15)<<12|(g&63)<<6|m&63,y>2047&&(y<55296||y>57343)&&(s=y));break;case 4:g=t[o+1],m=t[o+2],T=t[o+3],(g&192)===128&&(m&192)===128&&(T&192)===128&&(y=(i&15)<<18|(g&63)<<12|(m&63)<<6|T&63,y>65535&&y<1114112&&(s=y))}}s===null?(s=65533,d=1):s>65535&&(s-=65536,n.push(s>>>10&1023|55296),s=56320|s&1023),n.push(s),o+=d}return ri(n)}var Dt=4096;function ri(t){var e=t.length;if(e<=Dt)return String.fromCharCode.apply(String,t);for(var r="",n=0;n<e;)r+=String.fromCharCode.apply(String,t.slice(n,n+=Dt));return r}function ni(t,e,r){var n="";r=Math.min(t.length,r);for(var o=e;o<r;++o)n+=String.fromCharCode(t[o]&127);return n}function oi(t,e,r){var n="";r=Math.min(t.length,r);for(var o=e;o<r;++o)n+=String.fromCharCode(t[o]);return n}function ii(t,e,r){var n=t.length;(!e||e<0)&&(e=0),(!r||r<0||r>n)&&(r=n);for(var o="",i=e;i<r;++i)o+=di[t[i]];return o}function ai(t,e,r){for(var n=t.slice(e,r),o="",i=0;i<n.length-1;i+=2)o+=String.fromCharCode(n[i]+n[i+1]*256);return o}c.prototype.slice=function(e,r){var n=this.length;e=~~e,r=r===void 0?n:~~r,e<0?(e+=n,e<0&&(e=0)):e>n&&(e=n),r<0?(r+=n,r<0&&(r=0)):r>n&&(r=n),r<e&&(r=e);var o=this.subarray(e,r);return Object.setPrototypeOf(o,c.prototype),o};function w(t,e,r){if(t%1!==0||t<0)throw new RangeError("offset is not uint");if(t+e>r)throw new RangeError("Trying to access beyond buffer length")}c.prototype.readUintLE=c.prototype.readUIntLE=function(e,r,n){e=e>>>0,r=r>>>0,n||w(e,r,this.length);for(var o=this[e],i=1,s=0;++s<r&&(i*=256);)o+=this[e+s]*i;return o};c.prototype.readUintBE=c.prototype.readUIntBE=function(e,r,n){e=e>>>0,r=r>>>0,n||w(e,r,this.length);for(var o=this[e+--r],i=1;r>0&&(i*=256);)o+=this[e+--r]*i;return o};c.prototype.readUint8=c.prototype.readUInt8=function(e,r){return e=e>>>0,r||w(e,1,this.length),this[e]};c.prototype.readUint16LE=c.prototype.readUInt16LE=function(e,r){return e=e>>>0,r||w(e,2,this.length),this[e]|this[e+1]<<8};c.prototype.readUint16BE=c.prototype.readUInt16BE=function(e,r){return e=e>>>0,r||w(e,2,this.length),this[e]<<8|this[e+1]};c.prototype.readUint32LE=c.prototype.readUInt32LE=function(e,r){return e=e>>>0,r||w(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+this[e+3]*16777216};c.prototype.readUint32BE=c.prototype.readUInt32BE=function(e,r){return e=e>>>0,r||w(e,4,this.length),this[e]*16777216+(this[e+1]<<16|this[e+2]<<8|this[e+3])};c.prototype.readIntLE=function(e,r,n){e=e>>>0,r=r>>>0,n||w(e,r,this.length);for(var o=this[e],i=1,s=0;++s<r&&(i*=256);)o+=this[e+s]*i;return i*=128,o>=i&&(o-=Math.pow(2,8*r)),o};c.prototype.readIntBE=function(e,r,n){e=e>>>0,r=r>>>0,n||w(e,r,this.length);for(var o=r,i=1,s=this[e+--o];o>0&&(i*=256);)s+=this[e+--o]*i;return i*=128,s>=i&&(s-=Math.pow(2,8*r)),s};c.prototype.readInt8=function(e,r){return e=e>>>0,r||w(e,1,this.length),this[e]&128?(255-this[e]+1)*-1:this[e]};c.prototype.readInt16LE=function(e,r){e=e>>>0,r||w(e,2,this.length);var n=this[e]|this[e+1]<<8;return n&32768?n|4294901760:n};c.prototype.readInt16BE=function(e,r){e=e>>>0,r||w(e,2,this.length);var n=this[e+1]|this[e]<<8;return n&32768?n|4294901760:n};c.prototype.readInt32LE=function(e,r){return e=e>>>0,r||w(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24};c.prototype.readInt32BE=function(e,r){return e=e>>>0,r||w(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]};c.prototype.readFloatLE=function(e,r){return e=e>>>0,r||w(e,4,this.length),ee.read(this,e,!0,23,4)};c.prototype.readFloatBE=function(e,r){return e=e>>>0,r||w(e,4,this.length),ee.read(this,e,!1,23,4)};c.prototype.readDoubleLE=function(e,r){return e=e>>>0,r||w(e,8,this.length),ee.read(this,e,!0,52,8)};c.prototype.readDoubleBE=function(e,r){return e=e>>>0,r||w(e,8,this.length),ee.read(this,e,!1,52,8)};function A(t,e,r,n,o,i){if(!c.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>o||e<i)throw new RangeError('"value" argument is out of bounds');if(r+n>t.length)throw new RangeError("Index out of range")}c.prototype.writeUintLE=c.prototype.writeUIntLE=function(e,r,n,o){if(e=+e,r=r>>>0,n=n>>>0,!o){var i=Math.pow(2,8*n)-1;A(this,e,r,n,i,0)}var s=1,d=0;for(this[r]=e&255;++d<n&&(s*=256);)this[r+d]=e/s&255;return r+n};c.prototype.writeUintBE=c.prototype.writeUIntBE=function(e,r,n,o){if(e=+e,r=r>>>0,n=n>>>0,!o){var i=Math.pow(2,8*n)-1;A(this,e,r,n,i,0)}var s=n-1,d=1;for(this[r+s]=e&255;--s>=0&&(d*=256);)this[r+s]=e/d&255;return r+n};c.prototype.writeUint8=c.prototype.writeUInt8=function(e,r,n){return e=+e,r=r>>>0,n||A(this,e,r,1,255,0),this[r]=e&255,r+1};c.prototype.writeUint16LE=c.prototype.writeUInt16LE=function(e,r,n){return e=+e,r=r>>>0,n||A(this,e,r,2,65535,0),this[r]=e&255,this[r+1]=e>>>8,r+2};c.prototype.writeUint16BE=c.prototype.writeUInt16BE=function(e,r,n){return e=+e,r=r>>>0,n||A(this,e,r,2,65535,0),this[r]=e>>>8,this[r+1]=e&255,r+2};c.prototype.writeUint32LE=c.prototype.writeUInt32LE=function(e,r,n){return e=+e,r=r>>>0,n||A(this,e,r,4,4294967295,0),this[r+3]=e>>>24,this[r+2]=e>>>16,this[r+1]=e>>>8,this[r]=e&255,r+4};c.prototype.writeUint32BE=c.prototype.writeUInt32BE=function(e,r,n){return e=+e,r=r>>>0,n||A(this,e,r,4,4294967295,0),this[r]=e>>>24,this[r+1]=e>>>16,this[r+2]=e>>>8,this[r+3]=e&255,r+4};c.prototype.writeIntLE=function(e,r,n,o){if(e=+e,r=r>>>0,!o){var i=Math.pow(2,8*n-1);A(this,e,r,n,i-1,-i)}var s=0,d=1,g=0;for(this[r]=e&255;++s<n&&(d*=256);)e<0&&g===0&&this[r+s-1]!==0&&(g=1),this[r+s]=(e/d>>0)-g&255;return r+n};c.prototype.writeIntBE=function(e,r,n,o){if(e=+e,r=r>>>0,!o){var i=Math.pow(2,8*n-1);A(this,e,r,n,i-1,-i)}var s=n-1,d=1,g=0;for(this[r+s]=e&255;--s>=0&&(d*=256);)e<0&&g===0&&this[r+s+1]!==0&&(g=1),this[r+s]=(e/d>>0)-g&255;return r+n};c.prototype.writeInt8=function(e,r,n){return e=+e,r=r>>>0,n||A(this,e,r,1,127,-128),e<0&&(e=255+e+1),this[r]=e&255,r+1};c.prototype.writeInt16LE=function(e,r,n){return e=+e,r=r>>>0,n||A(this,e,r,2,32767,-32768),this[r]=e&255,this[r+1]=e>>>8,r+2};c.prototype.writeInt16BE=function(e,r,n){return e=+e,r=r>>>0,n||A(this,e,r,2,32767,-32768),this[r]=e>>>8,this[r+1]=e&255,r+2};c.prototype.writeInt32LE=function(e,r,n){return e=+e,r=r>>>0,n||A(this,e,r,4,2147483647,-2147483648),this[r]=e&255,this[r+1]=e>>>8,this[r+2]=e>>>16,this[r+3]=e>>>24,r+4};c.prototype.writeInt32BE=function(e,r,n){return e=+e,r=r>>>0,n||A(this,e,r,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),this[r]=e>>>24,this[r+1]=e>>>16,this[r+2]=e>>>8,this[r+3]=e&255,r+4};function Vt(t,e,r,n,o,i){if(r+n>t.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function jt(t,e,r,n,o){return e=+e,r=r>>>0,o||Vt(t,e,r,4,34028234663852886e22,-34028234663852886e22),ee.write(t,e,r,n,23,4),r+4}c.prototype.writeFloatLE=function(e,r,n){return jt(this,e,r,!0,n)};c.prototype.writeFloatBE=function(e,r,n){return jt(this,e,r,!1,n)};function zt(t,e,r,n,o){return e=+e,r=r>>>0,o||Vt(t,e,r,8,17976931348623157e292,-17976931348623157e292),ee.write(t,e,r,n,52,8),r+8}c.prototype.writeDoubleLE=function(e,r,n){return zt(this,e,r,!0,n)};c.prototype.writeDoubleBE=function(e,r,n){return zt(this,e,r,!1,n)};c.prototype.copy=function(e,r,n,o){if(!c.isBuffer(e))throw new TypeError("argument should be a Buffer");if(n||(n=0),!o&&o!==0&&(o=this.length),r>=e.length&&(r=e.length),r||(r=0),o>0&&o<n&&(o=n),o===n||e.length===0||this.length===0)return 0;if(r<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw new RangeError("Index out of range");if(o<0)throw new RangeError("sourceEnd out of bounds");o>this.length&&(o=this.length),e.length-r<o-n&&(o=e.length-r+n);var i=o-n;return this===e&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(r,n,o):Uint8Array.prototype.set.call(e,this.subarray(n,o),r),i};c.prototype.fill=function(e,r,n,o){if(typeof e=="string"){if(typeof r=="string"?(o=r,r=0,n=this.length):typeof n=="string"&&(o=n,n=this.length),o!==void 0&&typeof o!="string")throw new TypeError("encoding must be a string");if(typeof o=="string"&&!c.isEncoding(o))throw new TypeError("Unknown encoding: "+o);if(e.length===1){var i=e.charCodeAt(0);(o==="utf8"&&i<128||o==="latin1")&&(e=i)}}else typeof e=="number"?e=e&255:typeof e=="boolean"&&(e=Number(e));if(r<0||this.length<r||this.length<n)throw new RangeError("Out of range index");if(n<=r)return this;r=r>>>0,n=n===void 0?this.length:n>>>0,e||(e=0);var s;if(typeof e=="number")for(s=r;s<n;++s)this[s]=e;else{var d=c.isBuffer(e)?e:c.from(e,o),g=d.length;if(g===0)throw new TypeError('The value "'+e+'" is invalid for argument "value"');for(s=0;s<n-r;++s)this[s+r]=d[s%g]}return this};var si=/[^+/0-9A-Za-z-_]/g;function ci(t){if(t=t.split("=")[0],t=t.trim().replace(si,""),t.length<2)return"";for(;t.length%4!==0;)t=t+"=";return t}function rt(t,e){e=e||1/0;for(var r,n=t.length,o=null,i=[],s=0;s<n;++s){if(r=t.charCodeAt(s),r>55295&&r<57344){if(!o){if(r>56319){(e-=3)>-1&&i.push(239,191,189);continue}else if(s+1===n){(e-=3)>-1&&i.push(239,191,189);continue}o=r;continue}if(r<56320){(e-=3)>-1&&i.push(239,191,189),o=r;continue}r=(o-55296<<10|r-56320)+65536}else o&&(e-=3)>-1&&i.push(239,191,189);if(o=null,r<128){if((e-=1)<0)break;i.push(r)}else if(r<2048){if((e-=2)<0)break;i.push(r>>6|192,r&63|128)}else if(r<65536){if((e-=3)<0)break;i.push(r>>12|224,r>>6&63|128,r&63|128)}else if(r<1114112){if((e-=4)<0)break;i.push(r>>18|240,r>>12&63|128,r>>6&63|128,r&63|128)}else throw new Error("Invalid code point")}return i}function li(t){for(var e=[],r=0;r<t.length;++r)e.push(t.charCodeAt(r)&255);return e}function pi(t,e){for(var r,n,o,i=[],s=0;s<t.length&&!((e-=2)<0);++s)r=t.charCodeAt(s),n=r>>8,o=r%256,i.push(o),i.push(n);return i}function Kt(t){return Ze.toByteArray(ci(t))}function be(t,e,r,n){for(var o=0;o<n&&!(o+r>=e.length||o>=t.length);++o)e[o+r]=t[o];return o}function P(t,e){return t instanceof e||t!=null&&t.constructor!=null&&t.constructor.name!=null&&t.constructor.name===e.name}function it(t){return t!==t}var di=function(){for(var t="0123456789abcdef",e=new Array(256),r=0;r<16;++r)for(var n=r*16,o=0;o<16;++o)e[n+o]=t[r]+t[o];return e}()});var Zt=R((za,Qt)=>{a();var S=Qt.exports={},M,B;function at(){throw new Error("setTimeout has not been defined")}function st(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?M=setTimeout:M=at}catch(t){M=at}try{typeof clearTimeout=="function"?B=clearTimeout:B=st}catch(t){B=st}})();function Yt(t){if(M===setTimeout)return setTimeout(t,0);if((M===at||!M)&&setTimeout)return M=setTimeout,setTimeout(t,0);try{return M(t,0)}catch(e){try{return M.call(null,t,0)}catch(r){return M.call(this,t,0)}}}function ui(t){if(B===clearTimeout)return clearTimeout(t);if((B===st||!B)&&clearTimeout)return B=clearTimeout,clearTimeout(t);try{return B(t)}catch(e){try{return B.call(null,t)}catch(r){return B.call(this,t)}}}var G=[],re=!1,Y,ve=-1;function gi(){!re||!Y||(re=!1,Y.length?G=Y.concat(G):ve=-1,G.length&&$t())}function $t(){if(!re){var t=Yt(gi);re=!0;for(var e=G.length;e;){for(Y=G,G=[];++ve<e;)Y&&Y[ve].run();ve=-1,e=G.length}Y=null,re=!1,ui(t)}}S.nextTick=function(t){var e=new Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)e[r-1]=arguments[r];G.push(new Xt(t,e)),G.length===1&&!re&&Yt($t)};function Xt(t,e){this.fun=t,this.array=e}Xt.prototype.run=function(){this.fun.apply(null,this.array)};S.title="browser";S.browser=!0;S.env={};S.argv=[];S.version="";S.versions={};function W(){}S.on=W;S.addListener=W;S.once=W;S.off=W;S.removeListener=W;S.removeAllListeners=W;S.emit=W;S.prependListener=W;S.prependOnceListener=W;S.listeners=function(t){return[]};S.binding=function(t){throw new Error("process.binding is not supported")};S.cwd=function(){return"/"};S.chdir=function(t){throw new Error("process.chdir is not supported")};S.umask=function(){return 0}});var p,u,mi,l,a=f(()=>{p=z(Jt()),u=z(Zt()),mi=function(t){function e(){var n=this||self;return delete t.prototype.__magic__,n}if(typeof globalThis=="object")return globalThis;if(this)return e();t.defineProperty(t.prototype,"__magic__",{configurable:!0,get:e});var r=__magic__;return r}(Object),l=mi});var er=f(()=>{"use strict";a()});var tr=f(()=>{"use strict";a()});var rr=f(()=>{"use strict";a()});var nr=f(()=>{"use strict";a()});var or=f(()=>{"use strict";a()});var ct=f(()=>{"use strict";a()});var ir=f(()=>{"use strict";a()});var ar=f(()=>{"use strict";a()});var sr=f(()=>{"use strict";a()});var cr=f(()=>{"use strict";a()});var $=f(()=>{"use strict";a()});var lr=f(()=>{"use strict";a()});var pr=f(()=>{"use strict";a()});var dr=f(()=>{"use strict";a()});var ur=f(()=>{"use strict";a()});var gr=f(()=>{"use strict";a()});var mr=f(()=>{"use strict";a()});var X=f(()=>{"use strict";a();ar();sr();cr();$();lr();pr();dr();ur();gr();mr()});var lt,fr,hs,yr,xs,Tr,Ss,ws,bs,hr=f(()=>{"use strict";a();X();lt={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",xAliasAddress:"https://devnet.xalias.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",xAliasAddress:"https://testnet.xalias.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",xAliasAddress:"https://xalias.com",apiAddress:"https://api.multiversx.com",explorerAddress:"https://explorer.multiversx.com",apiTimeout:"4000"}},{chainId:fr,egldLabel:hs}=lt["devnet"],{chainId:yr,egldLabel:xs}=lt["testnet"],{chainId:Tr,egldLabel:Ss}=lt["mainnet"],ws={["devnet"]:fr,["testnet"]:yr,["mainnet"]:Tr},bs={[fr]:"devnet",[yr]:"testnet",[Tr]:"mainnet"}});var xr=f(()=>{"use strict";a()});var F,Sr=f(()=>{"use strict";a();F=require("@multiversx/sdk-web-wallet-provider")});var Ae,wr,br,pe=f(()=>{"use strict";a();er();tr();rr();nr();or();ct();ir();hr();xr();Sr();Ae="logout",wr="login",br="0"});var pt,x,ne,L=f(()=>{"use strict";a();pt=require("@reduxjs/toolkit");pe();x=(0,pt.createAction)(Ae),ne=(0,pt.createAction)(wr,t=>({payload:t}))});var Ie,dt=f(()=>{"use strict";a();Ie=()=>Date.now()/1e3});var vr=f(()=>{"use strict";a()});var Ar=f(()=>{"use strict";a()});var Ir=f(()=>{"use strict";a();dt();vr();Ar()});var ut={};j(ut,{clear:()=>hi,getItem:()=>yi,localStorageKeys:()=>Q,removeItem:()=>Ti,setItem:()=>fi});var Q,ke,fi,yi,Ti,hi,de=f(()=>{"use strict";a();Ir();Q={loginExpiresAt:"sdk-dapp-login-expires-at",logoutEvent:"sdk-dapp-logout-event"},ke=typeof localStorage!="undefined",fi=({key:t,data:e,expires:r})=>{!ke||localStorage.setItem(String(t),JSON.stringify({expires:r,data:e}))},yi=t=>{if(!ke)return;let e=localStorage.getItem(String(t));if(!e)return null;let r=JSON.parse(e);return!r||!r.hasOwnProperty("expires")||!r.hasOwnProperty("data")?null:Ie()>=r.expires?(localStorage.removeItem(String(t)),null):r.data},Ti=t=>{!ke||localStorage.removeItem(String(t))},hi=()=>{!ke||localStorage.clear()}});var gt={};j(gt,{clear:()=>Lr,getItem:()=>Rr,removeItem:()=>Er,setItem:()=>kr,storage:()=>xi});var kr,Rr,Er,Lr,xi,Cr=f(()=>{"use strict";a();kr=({key:t,data:e,expires:r})=>{sessionStorage.setItem(String(t),JSON.stringify({expires:r,data:e}))},Rr=t=>{let e=sessionStorage.getItem(String(t));if(!e)return null;let r=JSON.parse(e);return!r||!r.hasOwnProperty("expires")||!r.hasOwnProperty("data")?null:Date.now()>=r.expires?(sessionStorage.removeItem(String(t)),null):r.data},Er=t=>sessionStorage.removeItem(String(t)),Lr=()=>sessionStorage.clear(),xi={setItem:kr,getItem:Rr,removeItem:Er,clear:Lr}});var oe,Re=f(()=>{"use strict";a();de();Cr();oe={session:gt,local:ut}});var ft,_r,Nr,Pr,mt,Mr,Br,ec,Fr,tc,rc,nc,oc,ic,ac,sc,cc,Ee,Le=f(()=>{"use strict";a();ft=require("@multiversx/sdk-core"),_r=require("@reduxjs/toolkit"),Nr=require("redux-persist");pe();Re();de();L();Pr={balance:"...",address:"",isGuarded:!1,nonce:0,txCount:0,scrCount:0,claimableRewards:br},mt={address:"",websocketEvent:null,websocketBatchEvent:null,accounts:{"":Pr},ledgerAccount:null,publicKey:"",walletConnectAccount:null,isAccountLoading:!0,accountLoadingError:null},Mr=(0,_r.createSlice)({name:"accountInfoSlice",initialState:mt,reducers:{setAddress:(t,e)=>{let r=e.payload;t.address=r,t.publicKey=new ft.Address(r).hex()},setAccount:(t,e)=>{let r=t.address===e.payload.address;t.accounts={[t.address]:r?e.payload:Pr},t.shard=e.payload.shard,t.isAccountLoading=!1,t.accountLoadingError=null},setAccountNonce:(t,e)=>{let{address:r}=t;t.accounts[r].nonce=e.payload},setAccountShard:(t,e)=>{t.shard=e.payload},setLedgerAccount:(t,e)=>{t.ledgerAccount=e.payload},updateLedgerAccount:(t,e)=>{t.ledgerAccount!=null&&(t.ledgerAccount.index=e.payload.index,t.ledgerAccount.address=e.payload.address)},setWalletConnectAccount:(t,e)=>{t.walletConnectAccount=e.payload},setIsAccountLoading:(t,e)=>{t.isAccountLoading=e.payload,t.accountLoadingError=null},setAccountLoadingError:(t,e)=>{t.accountLoadingError=e.payload,t.isAccountLoading=!1},setWebsocketEvent:(t,e)=>{t.websocketEvent={timestamp:Date.now(),message:e.payload}},setWebsocketBatchEvent:(t,e)=>{t.websocketBatchEvent={timestamp:Date.now(),data:e.payload}}},extraReducers:t=>{t.addCase(x,()=>(oe.local.removeItem(Q.loginExpiresAt),mt)),t.addCase(ne,(e,r)=>{let{address:n}=r.payload;e.address=n,e.publicKey=new ft.Address(n).hex()}),t.addCase(Nr.REHYDRATE,(e,r)=>{var m;if(!((m=r.payload)!=null&&m.account))return;let{account:n}=r.payload,{address:o,shard:i,accounts:s,publicKey:d}=n;e.address=o,e.shard=i;let g=s&&o in s;e.accounts=g?s:mt.accounts,e.publicKey=d})}}),{setAccount:Br,setAddress:ec,setAccountNonce:Fr,setAccountShard:tc,setLedgerAccount:rc,updateLedgerAccount:nc,setWalletConnectAccount:oc,setIsAccountLoading:ic,setAccountLoadingError:ac,setWebsocketEvent:sc,setWebsocketBatchEvent:cc}=Mr.actions,Ee=Mr.reducer});function ue(){return new Date().setHours(new Date().getHours()+24)}function ge(t){oe.local.setItem({key:Q.loginExpiresAt,data:t,expires:t})}var yt=f(()=>{"use strict";a();Re();de()});var Ur,Or,Gr,hc,xc,Sc,Wr,wc,bc,qr,vc,Ce,_e=f(()=>{"use strict";a();Ur=require("@reduxjs/toolkit");yt();$();L();Or={loginMethod:"",walletConnectLogin:null,ledgerLogin:null,tokenLogin:null,walletLogin:null,extensionLogin:null,operaLogin:null,isLoginSessionInvalid:!1},Gr=(0,Ur.createSlice)({name:"loginInfoSlice",initialState:Or,reducers:{setLoginMethod:(t,e)=>{t.loginMethod=e.payload},setTokenLogin:(t,e)=>{t.tokenLogin=e.payload},setTokenLoginSignature:(t,e)=>{(t==null?void 0:t.tokenLogin)!=null&&(t.tokenLogin.signature=e.payload)},setWalletLogin:(t,e)=>{t.walletLogin=e.payload},setWalletConnectLogin:(t,e)=>{t.walletConnectLogin=e.payload},setLedgerLogin:(t,e)=>{t.ledgerLogin=e.payload},invalidateLoginSession:t=>{t.isLoginSessionInvalid=!0},setLogoutRoute:(t,e)=>{t.logoutRoute=e.payload}},extraReducers:t=>{t.addCase(x,()=>Or),t.addCase(ne,(e,r)=>{e.isLoginSessionInvalid=!1,e.loginMethod=r.payload.loginMethod,ge(ue())})}}),{setLoginMethod:hc,setWalletConnectLogin:xc,setLedgerLogin:Sc,setTokenLogin:Wr,setTokenLoginSignature:wc,setWalletLogin:bc,invalidateLoginSession:qr,setLogoutRoute:vc}=Gr.actions,Ce=Gr.reducer});var Vr,Hr,jr,Rc,Ec,Lc,Cc,Ne,Pe=f(()=>{"use strict";a();Vr=require("@reduxjs/toolkit");L();Hr={},jr=(0,Vr.createSlice)({name:"modalsSlice",initialState:Hr,reducers:{setTxSubmittedModal:(t,e)=>{t.txSubmittedModal=e.payload},setNotificationModal:(t,e)=>{t.notificationModal=e.payload},clearTxSubmittedModal:t=>{t.txSubmittedModal=void 0},clearNotificationModal:t=>{t.notificationModal=void 0}},extraReducers:t=>{t.addCase(x,()=>Hr)}}),{setTxSubmittedModal:Rc,setNotificationModal:Ec,clearTxSubmittedModal:Lc,clearNotificationModal:Cc}=jr.actions,Ne=jr.reducer});var zr=f(()=>{"use strict";a()});var Kr=f(()=>{"use strict";a();zr()});function Jr(t){return t[Math.floor(Math.random()*t.length)]}var Yr=f(()=>{"use strict";a()});var $r=f(()=>{"use strict";a();ct()});var Xr=f(()=>{"use strict";a();Kr();Yr();$r()});var Qr,Zr,en,Tt,Si,tn,Kc,Jc,Yc,Me,Be=f(()=>{"use strict";a();Qr=require("@reduxjs/toolkit"),Zr=z(require("lodash.omit")),en=require("redux-persist");L();Xr();Tt={id:"not-configured",chainId:"",name:"NOT CONFIGURED",egldLabel:"",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"",walletConnectBridgeAddress:"",walletConnectV2RelayAddress:"",walletConnectV2ProjectId:"",walletConnectV2Options:{},walletAddress:"",apiAddress:"",explorerAddress:"",apiTimeout:"4000"},Si={network:Tt,chainID:"-1"},tn=(0,Qr.createSlice)({name:"appConfig",initialState:Si,reducers:{initializeNetworkConfig:(t,e)=>{let r=Jr(e.payload.walletConnectV2RelayAddresses),n=(0,Zr.default)(e.payload,"walletConnectV2RelayAddresses");t.network=k(h(h({},t.network),n),{walletConnectV2RelayAddress:r})},setChainID:(t,e)=>{t.chainID=e.payload},setCustomWalletAddress:(t,e)=>{t.network.customWalletAddress=e.payload}},extraReducers:t=>{t.addCase(x,e=>{e.network.customWalletAddress=void 0}),t.addCase(en.REHYDRATE,(e,r)=>{var o,i;if(!((i=(o=r.payload)==null?void 0:o.network)!=null&&i.customWalletAddress))return;let{network:{customWalletAddress:n}}=r.payload;e.network.customWalletAddress=n})}}),{initializeNetworkConfig:Kc,setChainID:Jc,setCustomWalletAddress:Yc}=tn.actions,Me=tn.reducer});var rn,ht,nn,tl,rl,nl,Fe,Oe=f(()=>{"use strict";a();rn=require("@reduxjs/toolkit");X();L();ht={isSigning:!1,signedSessions:{}},nn=(0,rn.createSlice)({name:"signedMessageInfoSliceState",initialState:ht,reducers:{setSignSession:(t,e)=>{let{sessionId:r,signedSession:n,errorMessage:o}=e.payload;o&&(t.errorMessage=o),t.isSigning=n.status==="pending",t.signedSessions[r]=h(h({},t.signedSessions[r]),n)},setSignSessionState:(t,e)=>h(h({},t),e.payload),clearSignedMessageInfo:()=>ht},extraReducers:t=>{t.addCase(x,()=>ht)}}),{setSignSession:tl,clearSignedMessageInfo:rl,setSignSessionState:nl}=nn.actions,Fe=nn.reducer});var an,sn,on,cn,pl,dl,ul,gl,De,Ue=f(()=>{"use strict";a();an=require("@reduxjs/toolkit"),sn=require("redux-persist");X();dt();L();on={customToasts:[],transactionToasts:[]},cn=(0,an.createSlice)({name:"toastsSlice",initialState:on,reducers:{addCustomToast:(t,e)=>{let r=e.payload.toastId||`custom-toast-${t.customToasts.length+1}`,n=t.customToasts.findIndex(o=>o.toastId===r);if(n!==-1){t.customToasts[n]=k(h(h({},t.customToasts[n]),e.payload),{type:"custom",toastId:r});return}t.customToasts.push(k(h({},e.payload),{type:"custom",toastId:r}))},removeCustomToast:(t,e)=>{t.customToasts=t.customToasts.filter(r=>r.toastId!==e.payload)},addTransactionToast:(t,e)=>{t.transactionToasts.push({type:"transaction",startTimestamp:Ie(),toastId:e.payload||`custom-toast-${t.transactionToasts.length+1}`})},removeTransactionToast:(t,e)=>{t.transactionToasts=t.transactionToasts.filter(r=>r.toastId!==e.payload)}},extraReducers:t=>{t.addCase(x,()=>on),t.addCase(sn.REHYDRATE,(e,r)=>{var o,i;let n=(i=(o=r.customToasts)==null?void 0:o.filter(s=>!("component"in s)))!=null?i:[];e.customToasts=n})}}),{addCustomToast:pl,removeCustomToast:dl,addTransactionToast:ul,removeTransactionToast:gl}=cn.actions,De=cn.reducer});var ln,wi,bi,vi,Ai,xt,pn,Tl,hl,xl,Ge,We=f(()=>{"use strict";a();ln=require("@reduxjs/toolkit");L();wi="Transaction failed",bi="Transaction successful",vi="Processing transaction",Ai="Transaction submitted",xt={},pn=(0,ln.createSlice)({name:"transactionsInfo",initialState:xt,reducers:{setTransactionsDisplayInfo(t,e){let{sessionId:r,transactionsDisplayInfo:n}=e.payload;r!=null&&(t[r]={errorMessage:(n==null?void 0:n.errorMessage)||wi,successMessage:(n==null?void 0:n.successMessage)||bi,processingMessage:(n==null?void 0:n.processingMessage)||vi,submittedMessage:(n==null?void 0:n.submittedMessage)||Ai,transactionDuration:n==null?void 0:n.transactionDuration})},clearTransactionsInfoForSessionId(t,e){e.payload!=null&&delete t[e.payload]},clearTransactionsInfo:()=>xt},extraReducers:t=>{t.addCase(x,()=>xt)}}),{clearTransactionsInfo:Tl,setTransactionsDisplayInfo:hl,clearTransactionsInfoForSessionId:xl}=pn.actions,Ge=pn.reducer});function dn(t){return t!=null&&(Ni(t)||Bi(t))}function un(t){return t!=null&&(Pi(t)||Fi(t))}function gn(t){return t!=null&&(Mi(t)||Oi(t))}function Ni(t){return t!=null&&ki.includes(t)}function Pi(t){return t!=null&&Ri.includes(t)}function Mi(t){return t!=null&&Ei.includes(t)}function Bi(t){return t!=null&&Li.includes(t)}function Fi(t){return t!=null&&Ci.includes(t)}function Oi(t){return t!=null&&_i.includes(t)}var vl,ki,Ri,Ei,Al,Il,Li,Ci,_i,mn=f(()=>{"use strict";a();$();vl=["sent"],ki=["success"],Ri=["fail","cancelled","timedOut"],Ei=["invalid"],Al=["timedOut"],Il=["pending"],Li=["success"],Ci=["fail","invalid"],_i=["not executed"]});var fn,yn,me,Di,Tn,Nl,Pl,Ml,Bl,Fl,Ol,Dl,Ul,Gl,Wl,ql,qe,He=f(()=>{"use strict";a();fn=require("@reduxjs/toolkit"),yn=require("redux-persist");$();mn();L();me={signedTransactions:{},transactionsToSign:null,signTransactionsError:null,signTransactionsCancelMessage:null,customTransactionInformationForSessionId:{}},Di={signWithoutSending:!1,sessionInformation:null,redirectAfterSign:!1},Tn=(0,fn.createSlice)({name:"transactionsSlice",initialState:me,reducers:{moveTransactionsToSignedState:(t,e)=>{var g,m;let{sessionId:r,transactions:n,errorMessage:o,status:i,redirectRoute:s,customTransactionInformation:d}=e.payload;t.customTransactionInformationForSessionId[r]=h(h(h({},Di),((g=t.signedTransactions[r])==null?void 0:g.customTransactionInformation)||{}),t.customTransactionInformationForSessionId[r]||{}),t.signedTransactions[r]={transactions:n,status:i,errorMessage:o,redirectRoute:s,customTransactionInformation:h(h({},t.customTransactionInformationForSessionId[r]),d!=null?d:{})},((m=t==null?void 0:t.transactionsToSign)==null?void 0:m.sessionId)===r&&(t.transactionsToSign=me.transactionsToSign)},clearSignedTransaction:(t,e)=>{t.signedTransactions[e.payload]&&delete t.signedTransactions[e.payload]},clearTransactionToSign:t=>{t!=null&&t.transactionsToSign&&(t.transactionsToSign=null)},updateSignedTransaction:(t,e)=>{t.signedTransactions=h(h({},t.signedTransactions),e.payload)},updateSignedTransactions:(t,e)=>{let{sessionId:r,status:n,errorMessage:o,transactions:i}=e.payload;t.signedTransactions[r]!=null&&(t.signedTransactions[r].status=n,o!=null&&(t.signedTransactions[r].errorMessage=o),i!=null&&(t.signedTransactions[r].transactions=i))},updateSignedTransactionStatus:(t,e)=>{var g,m,T,y,v,b,O,xe;let{sessionId:r,status:n,errorMessage:o,transactionHash:i,inTransit:s}=e.payload,d=(m=(g=t.signedTransactions)==null?void 0:g[r])==null?void 0:m.transactions;if(d!=null){t.signedTransactions[r].transactions=d.map(D=>D.hash===i?k(h({},D),{status:n,errorMessage:o,inTransit:s}):D);let ko=(y=(T=t.signedTransactions[r])==null?void 0:T.transactions)==null?void 0:y.every(D=>dn(D.status)),Ro=(b=(v=t.signedTransactions[r])==null?void 0:v.transactions)==null?void 0:b.every(D=>un(D.status)),Eo=(xe=(O=t.signedTransactions[r])==null?void 0:O.transactions)==null?void 0:xe.every(D=>gn(D.status));ko&&(t.signedTransactions[r].status="success"),Ro&&(t.signedTransactions[r].status="fail"),Eo&&(t.signedTransactions[r].status="invalid")}},setTransactionsToSign:(t,e)=>{t.transactionsToSign=e.payload;let{sessionId:r,customTransactionInformation:n}=e.payload;t.customTransactionInformationForSessionId[r]=n,t.signTransactionsError=null},clearAllTransactionsToSign:t=>{t.transactionsToSign=me.transactionsToSign,t.signTransactionsError=null},clearAllSignedTransactions:t=>{t.signedTransactions=me.signedTransactions},setSignTransactionsError:(t,e)=>{t.signTransactionsError=e.payload},setSignTransactionsCancelMessage:(t,e)=>{t.signTransactionsCancelMessage=e.payload},updateSignedTransactionsCustomTransactionInformation:(t,e)=>{let{sessionId:r,customTransactionInformationOverrides:n}=e.payload;t.signedTransactions[r]!=null&&(t.signedTransactions[r].customTransactionInformation=h(h({},t.signedTransactions[r].customTransactionInformation),n))}},extraReducers:t=>{t.addCase(x,()=>me),t.addCase(yn.REHYDRATE,(e,r)=>{var s;if(e.signTransactionsCancelMessage=null,!((s=r.payload)!=null&&s.transactions))return;let{signedTransactions:n,customTransactionInformationForSessionId:o}=r.payload.transactions,i=Object.entries(n).reduce((d,[g,m])=>{let T=new Date(g),y=new Date;return y.setHours(y.getHours()+5),y-T>0||(d[g]=m),d},{});o!=null&&(e.customTransactionInformationForSessionId=o),n!=null&&(e.signedTransactions=i)})}}),{updateSignedTransactionStatus:Nl,updateSignedTransactions:Pl,setTransactionsToSign:Ml,clearAllTransactionsToSign:Bl,clearAllSignedTransactions:Fl,clearSignedTransaction:Ol,clearTransactionToSign:Dl,setSignTransactionsError:Ul,setSignTransactionsCancelMessage:Gl,moveTransactionsToSignedState:Wl,updateSignedTransactionsCustomTransactionInformation:ql}=Tn.actions,qe=Tn.reducer});var hn,St,xn,zl,Kl,Jl,Yl,Ve,je=f(()=>{"use strict";a();hn=require("@reduxjs/toolkit");L();St={},xn=(0,hn.createSlice)({name:"batchTransactionsSlice",initialState:St,reducers:{setBatchTransactions:(t,e)=>{t[e.payload.id]=e.payload},updateBatchTransactions:(t,e)=>{t[e.payload.id]=e.payload},clearBatchTransactions:(t,e)=>{delete t[e.payload.batchId]},clearAllBatchTransactions:()=>St},extraReducers:t=>{t.addCase(x,()=>St)}}),{setBatchTransactions:zl,updateBatchTransactions:Kl,clearBatchTransactions:Jl,clearAllBatchTransactions:Yl}=xn.actions,Ve=xn.reducer});var wn,Sn,bn,Zl,vn,wt=f(()=>{"use strict";a();wn=require("@reduxjs/toolkit");L();Sn={},bn=(0,wn.createSlice)({name:"dappConfigSlice",initialState:Sn,reducers:{setDappConfig:(t,e)=>e.payload},extraReducers:t=>{t.addCase(x,()=>Sn)}}),{setDappConfig:Zl}=bn.actions,vn=bn.reducer});var fe=f(()=>{"use strict";a();Le();_e();Pe();Be();Oe();Ue();We();He();je();wt()});var bt=f(()=>{"use strict";a()});var kn,qi,Hi,Z,Je=f(()=>{"use strict";a();kn=require("@reduxjs/toolkit");bt();Le();je();wt();_e();Pe();Be();Oe();Ue();We();He();qi={["account"]:Ee,["dappConfig"]:vn,["loginInfo"]:Ce,["modals"]:Ne,["networkConfig"]:Me,["signedMessageInfo"]:Fe,["toasts"]:De,["transactionsInfo"]:Ge,["transactions"]:qe,["batchTransactions"]:Ve},Hi=(t={})=>(0,kn.combineReducers)(h(h({},qi),t)),Z=Hi});var Cn={};j(Cn,{default:()=>ia,sessionStorageReducers:()=>vt});function q(t,e=[]){return{key:t,version:1,storage:En.default,blacklist:e}}var I,Rn,En,Vi,ye,ji,zi,Ki,Ji,Yi,$i,Xi,Qi,Zi,ea,Ln,ta,vt,ra,na,oa,ia,_n=f(()=>{"use strict";a();I=require("redux-persist"),Rn=z(require("redux-persist/lib/storage")),En=z(require("redux-persist/lib/storage/session"));Je();fe();Le();je();_e();Pe();Be();Oe();Ue();We();He();bt();Vi={persistReducersStorageType:"localStorage"},ye={["account"]:"sdk-dapp-account",["loginInfo"]:"sdk-dapp-login-info",["modals"]:"sdk-dapp-modals",["networkConfig"]:"sdk-dapp-network-config"},ji=q(ye["account"]),zi=q(ye["loginInfo"]),Ki=q(ye["modals"]),Ji=q(ye["networkConfig"]),Yi={2:t=>k(h({},t),{networkConfig:Tt})};$i=q("sdk-dapp-transactionsInfo"),Xi=q("sdk-dapp-transactions",["transactionsToSign"]),Qi=q("sdk-dapp-batchTransactions",["batchTransactions"]),Zi=q("sdk-dapp-toasts"),ea=q("sdk-dapp-signedMessageInfo"),Ln={key:"sdk-dapp-store",version:2,storage:Rn.default,whitelist:Object.keys(ye),migrate:(0,I.createMigrate)(Yi,{debug:!1})},ta=k(h({},Ln),{whitelist:[]}),vt={["toasts"]:(0,I.persistReducer)(Zi,De),["transactions"]:(0,I.persistReducer)(Xi,qe),["transactionsInfo"]:(0,I.persistReducer)($i,Ge),["batchTransactions"]:(0,I.persistReducer)(Qi,Ve),["signedMessageInfo"]:(0,I.persistReducer)(ea,Fe)},ra=k(h({},vt),{["account"]:(0,I.persistReducer)(ji,Ee),["loginInfo"]:(0,I.persistReducer)(zi,Ce),["modals"]:(0,I.persistReducer)(Ki,Ne),["networkConfig"]:(0,I.persistReducer)(Ji,Me)}),na=Vi.persistReducersStorageType==="localStorage",oa=na?(0,I.persistReducer)(Ln,Z(vt)):(0,I.persistReducer)(ta,Z(ra)),ia=oa});var Nn={};j(Nn,{default:()=>aa});var aa,Pn=f(()=>{"use strict";a();Je();aa=Z()});var Mn={};j(Mn,{default:()=>ca});var C,sa,ca,Bn=f(()=>{"use strict";a();C=require("redux-persist"),sa=[C.FLUSH,C.REHYDRATE,C.PAUSE,C.PERSIST,C.PURGE,C.REGISTER],ca=sa});var Dn={};j(Dn,{default:()=>On});function On(t){return(0,Fn.persistStore)(t)}var Fn,Un=f(()=>{"use strict";a();Fn=require("redux-persist")});var jn=R((rd,Vn)=>{a();var pa=typeof l=="object"&&l&&l.Object===Object&&l;Vn.exports=pa});var Kn=R((nd,zn)=>{a();var da=jn(),ua=typeof self=="object"&&self&&self.Object===Object&&self,ga=da||ua||Function("return this")();zn.exports=ga});var It=R((od,Jn)=>{a();var ma=Kn(),fa=ma.Symbol;Jn.exports=fa});var Qn=R((id,Xn)=>{a();var Yn=It(),$n=Object.prototype,ya=$n.hasOwnProperty,Ta=$n.toString,Te=Yn?Yn.toStringTag:void 0;function ha(t){var e=ya.call(t,Te),r=t[Te];try{t[Te]=void 0;var n=!0}catch(i){}var o=Ta.call(t);return n&&(e?t[Te]=r:delete t[Te]),o}Xn.exports=ha});var eo=R((ad,Zn)=>{a();var xa=Object.prototype,Sa=xa.toString;function wa(t){return Sa.call(t)}Zn.exports=wa});var oo=R((sd,no)=>{a();var to=It(),ba=Qn(),va=eo(),Aa="[object Null]",Ia="[object Undefined]",ro=to?to.toStringTag:void 0;function ka(t){return t==null?t===void 0?Ia:Aa:ro&&ro in Object(t)?ba(t):va(t)}no.exports=ka});var ao=R((cd,io)=>{a();var Ra=Array.isArray;io.exports=Ra});var co=R((ld,so)=>{a();function Ea(t){return t!=null&&typeof t=="object"}so.exports=Ea});var po=R((pd,lo)=>{a();var La=oo(),Ca=ao(),_a=co(),Na="[object String]";function Pa(t){return typeof t=="string"||!Ca(t)&&_a(t)&&La(t)==Na}lo.exports=Pa});var Wa={};j(Wa,{targetOrigin:()=>V,webviewProvider:()=>Ga});module.exports=le(Wa);a();a();var Rt=require("@multiversx/sdk-core");a();L();fe();a();var At=require("@reduxjs/toolkit"),Hn=require("react-redux/lib/utils/Subscription");fe();a();var An=z(require("lodash.throttle"));pe();fe();yt();Re();de();var Ui=[Ae],ze=!1,Gi=(0,An.default)(()=>{ge(ue())},5e3),In=t=>e=>r=>{if(Ui.includes(r.type))return e(r);let n=t.getState(),o=oe.local.getItem(Q.loginExpiresAt);if(!Boolean(n==null?void 0:n.account.address))return e(r);if(o==null)return ge(ue());let s=Date.now();return o-s<0&&!ze?setTimeout(()=>{ze=!0,t.dispatch(qr())},1e3):(ze&&(ze=!1),Gi()),e(r)};a();a();function Ke(){return typeof sessionStorage!="undefined"}var Gn=Ke()?(_n(),le(Cn)).default:(Pn(),le(Nn)).default,Wn=Ke()?(Bn(),le(Mn)).default:[],qn=Ke()?(Un(),le(Dn)).default:t=>t;Je();var Ye=(0,At.configureStore)({reducer:Gn,middleware:t=>t({serializableCheck:{ignoredActions:[...Wn,Fr.type,Br.type],ignoredPaths:["payload.nonce","account.account.nonce","providers.accountProvider"]}}).concat(In)}),Xp=(0,Hn.createSubscription)(Ye),Qp=qn(Ye),Zp=(0,At.configureStore)({reducer:Z});X();a();a();function la(t){try{let e=atob(t),r=btoa(e),n=p.Buffer.from(t,"base64").toString(),o=p.Buffer.from(n).toString("base64");if(t===r&&t===o||e===n)return!0}catch(e){return!1}return!1}function ie(t){return la(t)?atob(t):t}a();var uo=z(po());var go=t=>{if(!t||!(0,uo.default)(t))return null;let e=t.split(".");if(e.length!==4)return null;try{let[r,n,o,i]=e,s=JSON.parse(ie(i)),d=ie(r);return{ttl:Number(o),extraInfo:s,origin:d,blockHash:n}}catch(r){return console.error(`Error trying to decode ${t}:`,r),null}};function Ma(t){return Object.prototype.toString.call(t)==="[object String]"}var mo=t=>{var r;if(!t||!Ma(t))return null;let e=t.split(".");if(e.length!==3)return console.error("Invalid nativeAuthToken. You may be trying to decode a loginToken. Try using decodeLoginToken method instead"),null;try{let[n,o,i]=e,s=ie(n),d=ie(o),g=go(d);if(!g)return{address:s,body:d,signature:i,blockHash:"",origin:"",ttl:0};let m=k(h({},g),{address:s,body:d,signature:i});return(r=g.extraInfo)!=null&&r.timestamp||delete m.extraInfo,m}catch(n){return null}};function fo(t,e){let r=mo(t);if(r==null)return;let n=e!=null?e:Ye.dispatch,{signature:o,address:i}=r;o&&t&&i&&(n(x()),setTimeout(()=>{n(Wr({loginToken:t,signature:o,nativeAuthToken:t})),n(ne({address:i,loginMethod:"extra"}))}))}X();a();var yo=()=>typeof window!="undefined"&&typeof(window==null?void 0:window.location)!="undefined";a();$();var To=typeof window!="undefined"?window:{},xo=()=>To.ReactNativeWebView?"reactNative":To.webkit?"ios":"web";a();a();var Ba=require("@multiversx/sdk-extension-provider"),Fa=require("@multiversx/sdk-hw-provider"),Oa=require("@multiversx/sdk-opera-provider"),Da=require("@multiversx/sdk-web-wallet-provider");pe();$();a();a();var H=t=>`Unable to perform ${t}, Provider not initialized`,$e=class{init(){return Promise.resolve(!1)}login(e){throw new Error(H(`login with options: ${e}`))}logout(e){throw new Error(H(`logout with options: ${e}`))}getAddress(){throw new Error(H("getAddress"))}isInitialized(){return!1}isConnected(){return Promise.resolve(!1)}sendTransaction(e,r){throw new Error(H(`sendTransaction with transactions: ${e} options: ${r}`))}signTransaction(e,r){throw new Error(H(`signTransaction with transactions: ${e} options: ${r}`))}signTransactions(e,r){throw new Error(H(`signTransactions with transactions: ${e} options: ${r}`))}signMessage(e,r){throw new Error(H(`signTransactions with ${e} and options ${r}`))}sendCustomMessage({method:e,params:r}){throw new Error(H(`sendCustomMessage with method: ${e} params: ${r}`))}sendCustomRequest(e){throw new Error(H(`sendSessionEvent with options: ${e}`))}ping(){return Promise.resolve(!1)}},So=new $e;var Ua=So,wo=null;function bo(){wo!=null&&(Ua=wo)}a();X();var ae={signTransactions:{["ios"]:t=>window.webkit.messageHandlers.signTransactions.postMessage(t,V),["reactNative"]:t=>window==null?void 0:window.ReactNativeWebView.postMessage(JSON.stringify({type:"SIGN_TRANSACTIONS_REQUEST",message:t})),["web"]:t=>window==null?void 0:window.postMessage(JSON.stringify({type:"SIGN_TRANSACTIONS_REQUEST",message:t}),V)},sendCustomRequest:{["ios"]:t=>window.webkit.messageHandlers.signMessage.postMessage({type:t.request.method,payload:t.request.params}),["reactNative"]:t=>window==null?void 0:window.ReactNativeWebView.postMessage(JSON.stringify({type:t.request.method,payload:t.request.params})),["web"]:t=>window==null?void 0:window.postMessage(JSON.stringify({type:t.request.method,payload:t.request.params}),V)},signMessage:{["ios"]:t=>window.webkit.messageHandlers.signMessage.postMessage(t),["reactNative"]:t=>window==null?void 0:window.ReactNativeWebView.postMessage(JSON.stringify({type:"SIGN_MESSAGE_REQUEST",message:t})),["web"]:t=>window==null?void 0:window.postMessage(JSON.stringify({type:"SIGN_MESSAGE_REQUEST",message:t}),V)},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"}),V)},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"}),V)}};var vo=t=>()=>{throw new Error(`Unable to perform ${t}, Provider not initialized`)},se=xo(),Ao,Io,V=yo()&&(Io=(Ao=window==null?void 0:window.parent)==null?void 0:Ao.origin)!=null?Io:"*",he="message",kt=t=>{let e=r=>{let n=r.data;if(!(r.target.origin!=V&&se!="reactNative"))try{n=JSON.parse(n),t(n)}catch(o){console.error("error parsing response")}};document&&document.addEventListener(he,e),window&&window.addEventListener(he,e)},Ga={init:()=>_(void 0,null,function*(){return!0}),login:()=>_(void 0,null,function*(){return!0}),relogin:()=>_(void 0,null,function*(){try{return ae.login[se](),yield new Promise((e,r)=>{function n(o){let{message:i,type:s}=o;if(s==="LOGIN_RESPONSE")try{let{accessToken:d,error:g}=i;g?r(g):(fo(d),bo(),e(d))}catch(d){r("Unable to login")}document&&document.removeEventListener(he,n)}kt(n)})}catch(t){throw console.error("error logging in",t),t}}),logout:()=>(ae.logout[se](),new Promise(t=>{t(!0)})),getAddress:vo("getAddress"),isInitialized:()=>!0,isConnected:()=>_(void 0,null,function*(){return!0}),sendTransaction:vo("sendTransaction"),sendCustomRequest:t=>_(void 0,null,function*(){ae.sendCustomRequest[se](t)}),signMessage:t=>_(void 0,null,function*(){try{return ae.signMessage[se](t),yield new Promise((r,n)=>{window.signMessageResponse=(i,s)=>{if(s){n(s),window.signMessageResponse=null;return}r(i),window.signMessageResponse=null};function o(i){let{message:s,type:d}=i;if(d==="SIGN_MESSAGE_RESPONSE"&&s!=null){let{signedMessage:g,error:m}=s;m?n(m):r(g)}document==null||document.removeEventListener(he,o)}kt(o)})}catch(e){throw console.error("error sending transaction",e),e}}),signTransactions:t=>_(void 0,null,function*(){try{let e=t.map(n=>n.toPlainObject());return ae.signTransactions[se](e),yield new Promise((n,o)=>{window.transactionsSigned=(s,d)=>{if(s=JSON.parse(s),d){o(d),window.transactionsSigned=null;return}n(s.map(g=>Rt.Transaction.fromPlainObject(g))),window.transactionsSigned=null};function i(s){let{message:d,type:g}=s;if(g==="SIGN_TRANSACTIONS_RESPONSE"){let{transactions:m,error:T}=d;try{T?o(T):n(m.map(y=>Rt.Transaction.fromPlainObject(y)))}catch(y){o("Unable to sign")}}document&&document.removeEventListener(he,i)}kt(i)})}catch(e){throw console.error("error sending transaction",e),e}}),signTransaction:function(t){return _(this,null,function*(){return(yield this.signTransactions([t]))[0]})}};0&&(module.exports={targetOrigin,webviewProvider});
1
+ "use strict";var Lo=Object.create;var ce=Object.defineProperty,Co=Object.defineProperties,_o=Object.getOwnPropertyDescriptor,No=Object.getOwnPropertyDescriptors,Po=Object.getOwnPropertyNames,Et=Object.getOwnPropertySymbols,Mo=Object.getPrototypeOf,Ct=Object.prototype.hasOwnProperty,Bo=Object.prototype.propertyIsEnumerable;var Lt=(t,e,r)=>e in t?ce(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,h=(t,e)=>{for(var r in e||(e={}))Ct.call(e,r)&&Lt(t,r,e[r]);if(Et)for(var r of Et(e))Bo.call(e,r)&&Lt(t,r,e[r]);return t},k=(t,e)=>Co(t,No(e));var f=(t,e)=>()=>(t&&(e=t(t=0)),e);var R=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),j=(t,e)=>{for(var r in e)ce(t,r,{get:e[r],enumerable:!0})},_t=(t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let o of Po(e))!Ct.call(t,o)&&o!==r&&ce(t,o,{get:()=>e[o],enumerable:!(n=_o(e,o))||n.enumerable});return t};var z=(t,e,r)=>(r=t!=null?Lo(Mo(t)):{},_t(e||!t||!t.__esModule?ce(r,"default",{value:t,enumerable:!0}):r,t)),le=t=>_t(ce({},"__esModule",{value:!0}),t);var _=(t,e,r)=>new Promise((n,o)=>{var a=g=>{try{d(r.next(g))}catch(m){o(m)}},s=g=>{try{d(r.throw(g))}catch(m){o(m)}},d=g=>g.done?n(g.value):Promise.resolve(g.value).then(a,s);d((r=r.apply(t,e)).next())});var Mt=R(Se=>{"use strict";i();Se.byteLength=Oo;Se.toByteArray=Uo;Se.fromByteArray=qo;var N=[],E=[],Fo=typeof Uint8Array!="undefined"?Uint8Array:Array,Xe="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(K=0,Nt=Xe.length;K<Nt;++K)N[K]=Xe[K],E[Xe.charCodeAt(K)]=K;var K,Nt;E["-".charCodeAt(0)]=62;E["_".charCodeAt(0)]=63;function Pt(t){var e=t.length;if(e%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var r=t.indexOf("=");r===-1&&(r=e);var n=r===e?0:4-r%4;return[r,n]}function Oo(t){var e=Pt(t),r=e[0],n=e[1];return(r+n)*3/4-n}function Do(t,e,r){return(e+r)*3/4-r}function Uo(t){var e,r=Pt(t),n=r[0],o=r[1],a=new Fo(Do(t,n,o)),s=0,d=o>0?n-4:n,g;for(g=0;g<d;g+=4)e=E[t.charCodeAt(g)]<<18|E[t.charCodeAt(g+1)]<<12|E[t.charCodeAt(g+2)]<<6|E[t.charCodeAt(g+3)],a[s++]=e>>16&255,a[s++]=e>>8&255,a[s++]=e&255;return o===2&&(e=E[t.charCodeAt(g)]<<2|E[t.charCodeAt(g+1)]>>4,a[s++]=e&255),o===1&&(e=E[t.charCodeAt(g)]<<10|E[t.charCodeAt(g+1)]<<4|E[t.charCodeAt(g+2)]>>2,a[s++]=e>>8&255,a[s++]=e&255),a}function Go(t){return N[t>>18&63]+N[t>>12&63]+N[t>>6&63]+N[t&63]}function Wo(t,e,r){for(var n,o=[],a=e;a<r;a+=3)n=(t[a]<<16&16711680)+(t[a+1]<<8&65280)+(t[a+2]&255),o.push(Go(n));return o.join("")}function qo(t){for(var e,r=t.length,n=r%3,o=[],a=16383,s=0,d=r-n;s<d;s+=a)o.push(Wo(t,s,s+a>d?d:s+a));return n===1?(e=t[r-1],o.push(N[e>>2]+N[e<<4&63]+"==")):n===2&&(e=(t[r-2]<<8)+t[r-1],o.push(N[e>>10]+N[e>>4&63]+N[e<<2&63]+"=")),o.join("")}});var Bt=R(Qe=>{i();Qe.read=function(t,e,r,n,o){var a,s,d=o*8-n-1,g=(1<<d)-1,m=g>>1,T=-7,y=r?o-1:0,v=r?-1:1,b=t[e+y];for(y+=v,a=b&(1<<-T)-1,b>>=-T,T+=d;T>0;a=a*256+t[e+y],y+=v,T-=8);for(s=a&(1<<-T)-1,a>>=-T,T+=n;T>0;s=s*256+t[e+y],y+=v,T-=8);if(a===0)a=1-m;else{if(a===g)return s?NaN:(b?-1:1)*(1/0);s=s+Math.pow(2,n),a=a-m}return(b?-1:1)*s*Math.pow(2,a-n)};Qe.write=function(t,e,r,n,o,a){var s,d,g,m=a*8-o-1,T=(1<<m)-1,y=T>>1,v=o===23?Math.pow(2,-24)-Math.pow(2,-77):0,b=n?0:a-1,O=n?1:-1,xe=e<0||e===0&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(d=isNaN(e)?1:0,s=T):(s=Math.floor(Math.log(e)/Math.LN2),e*(g=Math.pow(2,-s))<1&&(s--,g*=2),s+y>=1?e+=v/g:e+=v*Math.pow(2,1-y),e*g>=2&&(s++,g/=2),s+y>=T?(d=0,s=T):s+y>=1?(d=(e*g-1)*Math.pow(2,o),s=s+y):(d=e*Math.pow(2,y-1)*Math.pow(2,o),s=0));o>=8;t[r+b]=d&255,b+=O,d/=256,o-=8);for(s=s<<o|d,m+=o;m>0;t[r+b]=s&255,b+=O,s/=256,m-=8);t[r+b-O]|=xe*128}});var Jt=R(te=>{"use strict";i();var Ze=Mt(),ee=Bt(),Ft=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;te.Buffer=c;te.SlowBuffer=Jo;te.INSPECT_MAX_BYTES=50;var we=2147483647;te.kMaxLength=we;c.TYPED_ARRAY_SUPPORT=Ho();!c.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 Ho(){try{var t=new Uint8Array(1),e={foo:function(){return 42}};return Object.setPrototypeOf(e,Uint8Array.prototype),Object.setPrototypeOf(t,e),t.foo()===42}catch(r){return!1}}Object.defineProperty(c.prototype,"parent",{enumerable:!0,get:function(){if(!!c.isBuffer(this))return this.buffer}});Object.defineProperty(c.prototype,"offset",{enumerable:!0,get:function(){if(!!c.isBuffer(this))return this.byteOffset}});function U(t){if(t>we)throw new RangeError('The value "'+t+'" is invalid for option "size"');var e=new Uint8Array(t);return Object.setPrototypeOf(e,c.prototype),e}function c(t,e,r){if(typeof t=="number"){if(typeof e=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return nt(t)}return Ut(t,e,r)}c.poolSize=8192;function Ut(t,e,r){if(typeof t=="string")return jo(t,e);if(ArrayBuffer.isView(t))return zo(t);if(t==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t);if(P(t,ArrayBuffer)||t&&P(t.buffer,ArrayBuffer)||typeof SharedArrayBuffer!="undefined"&&(P(t,SharedArrayBuffer)||t&&P(t.buffer,SharedArrayBuffer)))return tt(t,e,r);if(typeof t=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var n=t.valueOf&&t.valueOf();if(n!=null&&n!==t)return c.from(n,e,r);var o=Ko(t);if(o)return o;if(typeof Symbol!="undefined"&&Symbol.toPrimitive!=null&&typeof t[Symbol.toPrimitive]=="function")return c.from(t[Symbol.toPrimitive]("string"),e,r);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t)}c.from=function(t,e,r){return Ut(t,e,r)};Object.setPrototypeOf(c.prototype,Uint8Array.prototype);Object.setPrototypeOf(c,Uint8Array);function Gt(t){if(typeof t!="number")throw new TypeError('"size" argument must be of type number');if(t<0)throw new RangeError('The value "'+t+'" is invalid for option "size"')}function Vo(t,e,r){return Gt(t),t<=0?U(t):e!==void 0?typeof r=="string"?U(t).fill(e,r):U(t).fill(e):U(t)}c.alloc=function(t,e,r){return Vo(t,e,r)};function nt(t){return Gt(t),U(t<0?0:ot(t)|0)}c.allocUnsafe=function(t){return nt(t)};c.allocUnsafeSlow=function(t){return nt(t)};function jo(t,e){if((typeof e!="string"||e==="")&&(e="utf8"),!c.isEncoding(e))throw new TypeError("Unknown encoding: "+e);var r=Wt(t,e)|0,n=U(r),o=n.write(t,e);return o!==r&&(n=n.slice(0,o)),n}function et(t){for(var e=t.length<0?0:ot(t.length)|0,r=U(e),n=0;n<e;n+=1)r[n]=t[n]&255;return r}function zo(t){if(P(t,Uint8Array)){var e=new Uint8Array(t);return tt(e.buffer,e.byteOffset,e.byteLength)}return et(t)}function tt(t,e,r){if(e<0||t.byteLength<e)throw new RangeError('"offset" is outside of buffer bounds');if(t.byteLength<e+(r||0))throw new RangeError('"length" is outside of buffer bounds');var n;return e===void 0&&r===void 0?n=new Uint8Array(t):r===void 0?n=new Uint8Array(t,e):n=new Uint8Array(t,e,r),Object.setPrototypeOf(n,c.prototype),n}function Ko(t){if(c.isBuffer(t)){var e=ot(t.length)|0,r=U(e);return r.length===0||t.copy(r,0,0,e),r}if(t.length!==void 0)return typeof t.length!="number"||it(t.length)?U(0):et(t);if(t.type==="Buffer"&&Array.isArray(t.data))return et(t.data)}function ot(t){if(t>=we)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+we.toString(16)+" bytes");return t|0}function Jo(t){return+t!=t&&(t=0),c.alloc(+t)}c.isBuffer=function(e){return e!=null&&e._isBuffer===!0&&e!==c.prototype};c.compare=function(e,r){if(P(e,Uint8Array)&&(e=c.from(e,e.offset,e.byteLength)),P(r,Uint8Array)&&(r=c.from(r,r.offset,r.byteLength)),!c.isBuffer(e)||!c.isBuffer(r))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(e===r)return 0;for(var n=e.length,o=r.length,a=0,s=Math.min(n,o);a<s;++a)if(e[a]!==r[a]){n=e[a],o=r[a];break}return n<o?-1:o<n?1:0};c.isEncoding=function(e){switch(String(e).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}};c.concat=function(e,r){if(!Array.isArray(e))throw new TypeError('"list" argument must be an Array of Buffers');if(e.length===0)return c.alloc(0);var n;if(r===void 0)for(r=0,n=0;n<e.length;++n)r+=e[n].length;var o=c.allocUnsafe(r),a=0;for(n=0;n<e.length;++n){var s=e[n];if(P(s,Uint8Array))a+s.length>o.length?c.from(s).copy(o,a):Uint8Array.prototype.set.call(o,s,a);else if(c.isBuffer(s))s.copy(o,a);else throw new TypeError('"list" argument must be an Array of Buffers');a+=s.length}return o};function Wt(t,e){if(c.isBuffer(t))return t.length;if(ArrayBuffer.isView(t)||P(t,ArrayBuffer))return t.byteLength;if(typeof t!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof t);var r=t.length,n=arguments.length>2&&arguments[2]===!0;if(!n&&r===0)return 0;for(var o=!1;;)switch(e){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":return rt(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return r*2;case"hex":return r>>>1;case"base64":return Kt(t).length;default:if(o)return n?-1:rt(t).length;e=(""+e).toLowerCase(),o=!0}}c.byteLength=Wt;function Yo(t,e,r){var n=!1;if((e===void 0||e<0)&&(e=0),e>this.length||((r===void 0||r>this.length)&&(r=this.length),r<=0)||(r>>>=0,e>>>=0,r<=e))return"";for(t||(t="utf8");;)switch(t){case"hex":return ii(this,e,r);case"utf8":case"utf-8":return Ht(this,e,r);case"ascii":return ni(this,e,r);case"latin1":case"binary":return oi(this,e,r);case"base64":return ti(this,e,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return ai(this,e,r);default:if(n)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),n=!0}}c.prototype._isBuffer=!0;function J(t,e,r){var n=t[e];t[e]=t[r],t[r]=n}c.prototype.swap16=function(){var e=this.length;if(e%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var r=0;r<e;r+=2)J(this,r,r+1);return this};c.prototype.swap32=function(){var e=this.length;if(e%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var r=0;r<e;r+=4)J(this,r,r+3),J(this,r+1,r+2);return this};c.prototype.swap64=function(){var e=this.length;if(e%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var r=0;r<e;r+=8)J(this,r,r+7),J(this,r+1,r+6),J(this,r+2,r+5),J(this,r+3,r+4);return this};c.prototype.toString=function(){var e=this.length;return e===0?"":arguments.length===0?Ht(this,0,e):Yo.apply(this,arguments)};c.prototype.toLocaleString=c.prototype.toString;c.prototype.equals=function(e){if(!c.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e?!0:c.compare(this,e)===0};c.prototype.inspect=function(){var e="",r=te.INSPECT_MAX_BYTES;return e=this.toString("hex",0,r).replace(/(.{2})/g,"$1 ").trim(),this.length>r&&(e+=" ... "),"<Buffer "+e+">"};Ft&&(c.prototype[Ft]=c.prototype.inspect);c.prototype.compare=function(e,r,n,o,a){if(P(e,Uint8Array)&&(e=c.from(e,e.offset,e.byteLength)),!c.isBuffer(e))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof e);if(r===void 0&&(r=0),n===void 0&&(n=e?e.length:0),o===void 0&&(o=0),a===void 0&&(a=this.length),r<0||n>e.length||o<0||a>this.length)throw new RangeError("out of range index");if(o>=a&&r>=n)return 0;if(o>=a)return-1;if(r>=n)return 1;if(r>>>=0,n>>>=0,o>>>=0,a>>>=0,this===e)return 0;for(var s=a-o,d=n-r,g=Math.min(s,d),m=this.slice(o,a),T=e.slice(r,n),y=0;y<g;++y)if(m[y]!==T[y]){s=m[y],d=T[y];break}return s<d?-1:d<s?1:0};function qt(t,e,r,n,o){if(t.length===0)return-1;if(typeof r=="string"?(n=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),r=+r,it(r)&&(r=o?0:t.length-1),r<0&&(r=t.length+r),r>=t.length){if(o)return-1;r=t.length-1}else if(r<0)if(o)r=0;else return-1;if(typeof e=="string"&&(e=c.from(e,n)),c.isBuffer(e))return e.length===0?-1:Ot(t,e,r,n,o);if(typeof e=="number")return e=e&255,typeof Uint8Array.prototype.indexOf=="function"?o?Uint8Array.prototype.indexOf.call(t,e,r):Uint8Array.prototype.lastIndexOf.call(t,e,r):Ot(t,[e],r,n,o);throw new TypeError("val must be string, number or Buffer")}function Ot(t,e,r,n,o){var a=1,s=t.length,d=e.length;if(n!==void 0&&(n=String(n).toLowerCase(),n==="ucs2"||n==="ucs-2"||n==="utf16le"||n==="utf-16le")){if(t.length<2||e.length<2)return-1;a=2,s/=2,d/=2,r/=2}function g(b,O){return a===1?b[O]:b.readUInt16BE(O*a)}var m;if(o){var T=-1;for(m=r;m<s;m++)if(g(t,m)===g(e,T===-1?0:m-T)){if(T===-1&&(T=m),m-T+1===d)return T*a}else T!==-1&&(m-=m-T),T=-1}else for(r+d>s&&(r=s-d),m=r;m>=0;m--){for(var y=!0,v=0;v<d;v++)if(g(t,m+v)!==g(e,v)){y=!1;break}if(y)return m}return-1}c.prototype.includes=function(e,r,n){return this.indexOf(e,r,n)!==-1};c.prototype.indexOf=function(e,r,n){return qt(this,e,r,n,!0)};c.prototype.lastIndexOf=function(e,r,n){return qt(this,e,r,n,!1)};function $o(t,e,r,n){r=Number(r)||0;var o=t.length-r;n?(n=Number(n),n>o&&(n=o)):n=o;var a=e.length;n>a/2&&(n=a/2);for(var s=0;s<n;++s){var d=parseInt(e.substr(s*2,2),16);if(it(d))return s;t[r+s]=d}return s}function Xo(t,e,r,n){return be(rt(e,t.length-r),t,r,n)}function Qo(t,e,r,n){return be(li(e),t,r,n)}function Zo(t,e,r,n){return be(Kt(e),t,r,n)}function ei(t,e,r,n){return be(pi(e,t.length-r),t,r,n)}c.prototype.write=function(e,r,n,o){if(r===void 0)o="utf8",n=this.length,r=0;else if(n===void 0&&typeof r=="string")o=r,n=this.length,r=0;else if(isFinite(r))r=r>>>0,isFinite(n)?(n=n>>>0,o===void 0&&(o="utf8")):(o=n,n=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var a=this.length-r;if((n===void 0||n>a)&&(n=a),e.length>0&&(n<0||r<0)||r>this.length)throw new RangeError("Attempt to write outside buffer bounds");o||(o="utf8");for(var s=!1;;)switch(o){case"hex":return $o(this,e,r,n);case"utf8":case"utf-8":return Xo(this,e,r,n);case"ascii":case"latin1":case"binary":return Qo(this,e,r,n);case"base64":return Zo(this,e,r,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return ei(this,e,r,n);default:if(s)throw new TypeError("Unknown encoding: "+o);o=(""+o).toLowerCase(),s=!0}};c.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function ti(t,e,r){return e===0&&r===t.length?Ze.fromByteArray(t):Ze.fromByteArray(t.slice(e,r))}function Ht(t,e,r){r=Math.min(t.length,r);for(var n=[],o=e;o<r;){var a=t[o],s=null,d=a>239?4:a>223?3:a>191?2:1;if(o+d<=r){var g,m,T,y;switch(d){case 1:a<128&&(s=a);break;case 2:g=t[o+1],(g&192)===128&&(y=(a&31)<<6|g&63,y>127&&(s=y));break;case 3:g=t[o+1],m=t[o+2],(g&192)===128&&(m&192)===128&&(y=(a&15)<<12|(g&63)<<6|m&63,y>2047&&(y<55296||y>57343)&&(s=y));break;case 4:g=t[o+1],m=t[o+2],T=t[o+3],(g&192)===128&&(m&192)===128&&(T&192)===128&&(y=(a&15)<<18|(g&63)<<12|(m&63)<<6|T&63,y>65535&&y<1114112&&(s=y))}}s===null?(s=65533,d=1):s>65535&&(s-=65536,n.push(s>>>10&1023|55296),s=56320|s&1023),n.push(s),o+=d}return ri(n)}var Dt=4096;function ri(t){var e=t.length;if(e<=Dt)return String.fromCharCode.apply(String,t);for(var r="",n=0;n<e;)r+=String.fromCharCode.apply(String,t.slice(n,n+=Dt));return r}function ni(t,e,r){var n="";r=Math.min(t.length,r);for(var o=e;o<r;++o)n+=String.fromCharCode(t[o]&127);return n}function oi(t,e,r){var n="";r=Math.min(t.length,r);for(var o=e;o<r;++o)n+=String.fromCharCode(t[o]);return n}function ii(t,e,r){var n=t.length;(!e||e<0)&&(e=0),(!r||r<0||r>n)&&(r=n);for(var o="",a=e;a<r;++a)o+=di[t[a]];return o}function ai(t,e,r){for(var n=t.slice(e,r),o="",a=0;a<n.length-1;a+=2)o+=String.fromCharCode(n[a]+n[a+1]*256);return o}c.prototype.slice=function(e,r){var n=this.length;e=~~e,r=r===void 0?n:~~r,e<0?(e+=n,e<0&&(e=0)):e>n&&(e=n),r<0?(r+=n,r<0&&(r=0)):r>n&&(r=n),r<e&&(r=e);var o=this.subarray(e,r);return Object.setPrototypeOf(o,c.prototype),o};function w(t,e,r){if(t%1!==0||t<0)throw new RangeError("offset is not uint");if(t+e>r)throw new RangeError("Trying to access beyond buffer length")}c.prototype.readUintLE=c.prototype.readUIntLE=function(e,r,n){e=e>>>0,r=r>>>0,n||w(e,r,this.length);for(var o=this[e],a=1,s=0;++s<r&&(a*=256);)o+=this[e+s]*a;return o};c.prototype.readUintBE=c.prototype.readUIntBE=function(e,r,n){e=e>>>0,r=r>>>0,n||w(e,r,this.length);for(var o=this[e+--r],a=1;r>0&&(a*=256);)o+=this[e+--r]*a;return o};c.prototype.readUint8=c.prototype.readUInt8=function(e,r){return e=e>>>0,r||w(e,1,this.length),this[e]};c.prototype.readUint16LE=c.prototype.readUInt16LE=function(e,r){return e=e>>>0,r||w(e,2,this.length),this[e]|this[e+1]<<8};c.prototype.readUint16BE=c.prototype.readUInt16BE=function(e,r){return e=e>>>0,r||w(e,2,this.length),this[e]<<8|this[e+1]};c.prototype.readUint32LE=c.prototype.readUInt32LE=function(e,r){return e=e>>>0,r||w(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+this[e+3]*16777216};c.prototype.readUint32BE=c.prototype.readUInt32BE=function(e,r){return e=e>>>0,r||w(e,4,this.length),this[e]*16777216+(this[e+1]<<16|this[e+2]<<8|this[e+3])};c.prototype.readIntLE=function(e,r,n){e=e>>>0,r=r>>>0,n||w(e,r,this.length);for(var o=this[e],a=1,s=0;++s<r&&(a*=256);)o+=this[e+s]*a;return a*=128,o>=a&&(o-=Math.pow(2,8*r)),o};c.prototype.readIntBE=function(e,r,n){e=e>>>0,r=r>>>0,n||w(e,r,this.length);for(var o=r,a=1,s=this[e+--o];o>0&&(a*=256);)s+=this[e+--o]*a;return a*=128,s>=a&&(s-=Math.pow(2,8*r)),s};c.prototype.readInt8=function(e,r){return e=e>>>0,r||w(e,1,this.length),this[e]&128?(255-this[e]+1)*-1:this[e]};c.prototype.readInt16LE=function(e,r){e=e>>>0,r||w(e,2,this.length);var n=this[e]|this[e+1]<<8;return n&32768?n|4294901760:n};c.prototype.readInt16BE=function(e,r){e=e>>>0,r||w(e,2,this.length);var n=this[e+1]|this[e]<<8;return n&32768?n|4294901760:n};c.prototype.readInt32LE=function(e,r){return e=e>>>0,r||w(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24};c.prototype.readInt32BE=function(e,r){return e=e>>>0,r||w(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]};c.prototype.readFloatLE=function(e,r){return e=e>>>0,r||w(e,4,this.length),ee.read(this,e,!0,23,4)};c.prototype.readFloatBE=function(e,r){return e=e>>>0,r||w(e,4,this.length),ee.read(this,e,!1,23,4)};c.prototype.readDoubleLE=function(e,r){return e=e>>>0,r||w(e,8,this.length),ee.read(this,e,!0,52,8)};c.prototype.readDoubleBE=function(e,r){return e=e>>>0,r||w(e,8,this.length),ee.read(this,e,!1,52,8)};function A(t,e,r,n,o,a){if(!c.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>o||e<a)throw new RangeError('"value" argument is out of bounds');if(r+n>t.length)throw new RangeError("Index out of range")}c.prototype.writeUintLE=c.prototype.writeUIntLE=function(e,r,n,o){if(e=+e,r=r>>>0,n=n>>>0,!o){var a=Math.pow(2,8*n)-1;A(this,e,r,n,a,0)}var s=1,d=0;for(this[r]=e&255;++d<n&&(s*=256);)this[r+d]=e/s&255;return r+n};c.prototype.writeUintBE=c.prototype.writeUIntBE=function(e,r,n,o){if(e=+e,r=r>>>0,n=n>>>0,!o){var a=Math.pow(2,8*n)-1;A(this,e,r,n,a,0)}var s=n-1,d=1;for(this[r+s]=e&255;--s>=0&&(d*=256);)this[r+s]=e/d&255;return r+n};c.prototype.writeUint8=c.prototype.writeUInt8=function(e,r,n){return e=+e,r=r>>>0,n||A(this,e,r,1,255,0),this[r]=e&255,r+1};c.prototype.writeUint16LE=c.prototype.writeUInt16LE=function(e,r,n){return e=+e,r=r>>>0,n||A(this,e,r,2,65535,0),this[r]=e&255,this[r+1]=e>>>8,r+2};c.prototype.writeUint16BE=c.prototype.writeUInt16BE=function(e,r,n){return e=+e,r=r>>>0,n||A(this,e,r,2,65535,0),this[r]=e>>>8,this[r+1]=e&255,r+2};c.prototype.writeUint32LE=c.prototype.writeUInt32LE=function(e,r,n){return e=+e,r=r>>>0,n||A(this,e,r,4,4294967295,0),this[r+3]=e>>>24,this[r+2]=e>>>16,this[r+1]=e>>>8,this[r]=e&255,r+4};c.prototype.writeUint32BE=c.prototype.writeUInt32BE=function(e,r,n){return e=+e,r=r>>>0,n||A(this,e,r,4,4294967295,0),this[r]=e>>>24,this[r+1]=e>>>16,this[r+2]=e>>>8,this[r+3]=e&255,r+4};c.prototype.writeIntLE=function(e,r,n,o){if(e=+e,r=r>>>0,!o){var a=Math.pow(2,8*n-1);A(this,e,r,n,a-1,-a)}var s=0,d=1,g=0;for(this[r]=e&255;++s<n&&(d*=256);)e<0&&g===0&&this[r+s-1]!==0&&(g=1),this[r+s]=(e/d>>0)-g&255;return r+n};c.prototype.writeIntBE=function(e,r,n,o){if(e=+e,r=r>>>0,!o){var a=Math.pow(2,8*n-1);A(this,e,r,n,a-1,-a)}var s=n-1,d=1,g=0;for(this[r+s]=e&255;--s>=0&&(d*=256);)e<0&&g===0&&this[r+s+1]!==0&&(g=1),this[r+s]=(e/d>>0)-g&255;return r+n};c.prototype.writeInt8=function(e,r,n){return e=+e,r=r>>>0,n||A(this,e,r,1,127,-128),e<0&&(e=255+e+1),this[r]=e&255,r+1};c.prototype.writeInt16LE=function(e,r,n){return e=+e,r=r>>>0,n||A(this,e,r,2,32767,-32768),this[r]=e&255,this[r+1]=e>>>8,r+2};c.prototype.writeInt16BE=function(e,r,n){return e=+e,r=r>>>0,n||A(this,e,r,2,32767,-32768),this[r]=e>>>8,this[r+1]=e&255,r+2};c.prototype.writeInt32LE=function(e,r,n){return e=+e,r=r>>>0,n||A(this,e,r,4,2147483647,-2147483648),this[r]=e&255,this[r+1]=e>>>8,this[r+2]=e>>>16,this[r+3]=e>>>24,r+4};c.prototype.writeInt32BE=function(e,r,n){return e=+e,r=r>>>0,n||A(this,e,r,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),this[r]=e>>>24,this[r+1]=e>>>16,this[r+2]=e>>>8,this[r+3]=e&255,r+4};function Vt(t,e,r,n,o,a){if(r+n>t.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function jt(t,e,r,n,o){return e=+e,r=r>>>0,o||Vt(t,e,r,4,34028234663852886e22,-34028234663852886e22),ee.write(t,e,r,n,23,4),r+4}c.prototype.writeFloatLE=function(e,r,n){return jt(this,e,r,!0,n)};c.prototype.writeFloatBE=function(e,r,n){return jt(this,e,r,!1,n)};function zt(t,e,r,n,o){return e=+e,r=r>>>0,o||Vt(t,e,r,8,17976931348623157e292,-17976931348623157e292),ee.write(t,e,r,n,52,8),r+8}c.prototype.writeDoubleLE=function(e,r,n){return zt(this,e,r,!0,n)};c.prototype.writeDoubleBE=function(e,r,n){return zt(this,e,r,!1,n)};c.prototype.copy=function(e,r,n,o){if(!c.isBuffer(e))throw new TypeError("argument should be a Buffer");if(n||(n=0),!o&&o!==0&&(o=this.length),r>=e.length&&(r=e.length),r||(r=0),o>0&&o<n&&(o=n),o===n||e.length===0||this.length===0)return 0;if(r<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw new RangeError("Index out of range");if(o<0)throw new RangeError("sourceEnd out of bounds");o>this.length&&(o=this.length),e.length-r<o-n&&(o=e.length-r+n);var a=o-n;return this===e&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(r,n,o):Uint8Array.prototype.set.call(e,this.subarray(n,o),r),a};c.prototype.fill=function(e,r,n,o){if(typeof e=="string"){if(typeof r=="string"?(o=r,r=0,n=this.length):typeof n=="string"&&(o=n,n=this.length),o!==void 0&&typeof o!="string")throw new TypeError("encoding must be a string");if(typeof o=="string"&&!c.isEncoding(o))throw new TypeError("Unknown encoding: "+o);if(e.length===1){var a=e.charCodeAt(0);(o==="utf8"&&a<128||o==="latin1")&&(e=a)}}else typeof e=="number"?e=e&255:typeof e=="boolean"&&(e=Number(e));if(r<0||this.length<r||this.length<n)throw new RangeError("Out of range index");if(n<=r)return this;r=r>>>0,n=n===void 0?this.length:n>>>0,e||(e=0);var s;if(typeof e=="number")for(s=r;s<n;++s)this[s]=e;else{var d=c.isBuffer(e)?e:c.from(e,o),g=d.length;if(g===0)throw new TypeError('The value "'+e+'" is invalid for argument "value"');for(s=0;s<n-r;++s)this[s+r]=d[s%g]}return this};var si=/[^+/0-9A-Za-z-_]/g;function ci(t){if(t=t.split("=")[0],t=t.trim().replace(si,""),t.length<2)return"";for(;t.length%4!==0;)t=t+"=";return t}function rt(t,e){e=e||1/0;for(var r,n=t.length,o=null,a=[],s=0;s<n;++s){if(r=t.charCodeAt(s),r>55295&&r<57344){if(!o){if(r>56319){(e-=3)>-1&&a.push(239,191,189);continue}else if(s+1===n){(e-=3)>-1&&a.push(239,191,189);continue}o=r;continue}if(r<56320){(e-=3)>-1&&a.push(239,191,189),o=r;continue}r=(o-55296<<10|r-56320)+65536}else o&&(e-=3)>-1&&a.push(239,191,189);if(o=null,r<128){if((e-=1)<0)break;a.push(r)}else if(r<2048){if((e-=2)<0)break;a.push(r>>6|192,r&63|128)}else if(r<65536){if((e-=3)<0)break;a.push(r>>12|224,r>>6&63|128,r&63|128)}else if(r<1114112){if((e-=4)<0)break;a.push(r>>18|240,r>>12&63|128,r>>6&63|128,r&63|128)}else throw new Error("Invalid code point")}return a}function li(t){for(var e=[],r=0;r<t.length;++r)e.push(t.charCodeAt(r)&255);return e}function pi(t,e){for(var r,n,o,a=[],s=0;s<t.length&&!((e-=2)<0);++s)r=t.charCodeAt(s),n=r>>8,o=r%256,a.push(o),a.push(n);return a}function Kt(t){return Ze.toByteArray(ci(t))}function be(t,e,r,n){for(var o=0;o<n&&!(o+r>=e.length||o>=t.length);++o)e[o+r]=t[o];return o}function P(t,e){return t instanceof e||t!=null&&t.constructor!=null&&t.constructor.name!=null&&t.constructor.name===e.name}function it(t){return t!==t}var di=function(){for(var t="0123456789abcdef",e=new Array(256),r=0;r<16;++r)for(var n=r*16,o=0;o<16;++o)e[n+o]=t[r]+t[o];return e}()});var Zt=R((za,Qt)=>{i();var x=Qt.exports={},M,B;function at(){throw new Error("setTimeout has not been defined")}function st(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?M=setTimeout:M=at}catch(t){M=at}try{typeof clearTimeout=="function"?B=clearTimeout:B=st}catch(t){B=st}})();function Yt(t){if(M===setTimeout)return setTimeout(t,0);if((M===at||!M)&&setTimeout)return M=setTimeout,setTimeout(t,0);try{return M(t,0)}catch(e){try{return M.call(null,t,0)}catch(r){return M.call(this,t,0)}}}function ui(t){if(B===clearTimeout)return clearTimeout(t);if((B===st||!B)&&clearTimeout)return B=clearTimeout,clearTimeout(t);try{return B(t)}catch(e){try{return B.call(null,t)}catch(r){return B.call(this,t)}}}var G=[],re=!1,Y,ve=-1;function gi(){!re||!Y||(re=!1,Y.length?G=Y.concat(G):ve=-1,G.length&&$t())}function $t(){if(!re){var t=Yt(gi);re=!0;for(var e=G.length;e;){for(Y=G,G=[];++ve<e;)Y&&Y[ve].run();ve=-1,e=G.length}Y=null,re=!1,ui(t)}}x.nextTick=function(t){var e=new Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)e[r-1]=arguments[r];G.push(new Xt(t,e)),G.length===1&&!re&&Yt($t)};function Xt(t,e){this.fun=t,this.array=e}Xt.prototype.run=function(){this.fun.apply(null,this.array)};x.title="browser";x.browser=!0;x.env={};x.argv=[];x.version="";x.versions={};function W(){}x.on=W;x.addListener=W;x.once=W;x.off=W;x.removeListener=W;x.removeAllListeners=W;x.emit=W;x.prependListener=W;x.prependOnceListener=W;x.listeners=function(t){return[]};x.binding=function(t){throw new Error("process.binding is not supported")};x.cwd=function(){return"/"};x.chdir=function(t){throw new Error("process.chdir is not supported")};x.umask=function(){return 0}});var p,u,mi,l,i=f(()=>{p=z(Jt()),u=z(Zt()),mi=function(t){function e(){var n=this||self;return delete t.prototype.__magic__,n}if(typeof globalThis=="object")return globalThis;if(this)return e();t.defineProperty(t.prototype,"__magic__",{configurable:!0,get:e});var r=__magic__;return r}(Object),l=mi});var er=f(()=>{"use strict";i()});var tr=f(()=>{"use strict";i()});var rr=f(()=>{"use strict";i()});var nr=f(()=>{"use strict";i()});var or=f(()=>{"use strict";i()});var ct=f(()=>{"use strict";i()});var ir=f(()=>{"use strict";i()});var ar=f(()=>{"use strict";i()});var sr=f(()=>{"use strict";i()});var cr=f(()=>{"use strict";i()});var $=f(()=>{"use strict";i()});var lr=f(()=>{"use strict";i()});var pr=f(()=>{"use strict";i()});var dr=f(()=>{"use strict";i()});var ur=f(()=>{"use strict";i()});var gr=f(()=>{"use strict";i()});var mr=f(()=>{"use strict";i()});var X=f(()=>{"use strict";i();ar();sr();cr();$();lr();pr();dr();ur();gr();mr()});var lt,fr,hs,yr,xs,Tr,Ss,ws,bs,hr=f(()=>{"use strict";i();X();lt={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",xAliasAddress:"https://devnet.xalias.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",xAliasAddress:"https://testnet.xalias.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",xAliasAddress:"https://xalias.com",apiAddress:"https://api.multiversx.com",explorerAddress:"https://explorer.multiversx.com",apiTimeout:"4000"}},{chainId:fr,egldLabel:hs}=lt["devnet"],{chainId:yr,egldLabel:xs}=lt["testnet"],{chainId:Tr,egldLabel:Ss}=lt["mainnet"],ws={["devnet"]:fr,["testnet"]:yr,["mainnet"]:Tr},bs={[fr]:"devnet",[yr]:"testnet",[Tr]:"mainnet"}});var xr=f(()=>{"use strict";i()});var F,Sr=f(()=>{"use strict";i();F=require("@multiversx/sdk-web-wallet-provider")});var Ae,wr,br,pe=f(()=>{"use strict";i();er();tr();rr();nr();or();ct();ir();hr();xr();Sr();Ae="logout",wr="login",br="0"});var pt,S,ne,L=f(()=>{"use strict";i();pt=require("@reduxjs/toolkit");pe();S=(0,pt.createAction)(Ae),ne=(0,pt.createAction)(wr,t=>({payload:t}))});var Ie,dt=f(()=>{"use strict";i();Ie=()=>Date.now()/1e3});var vr=f(()=>{"use strict";i()});var Ar=f(()=>{"use strict";i()});var Ir=f(()=>{"use strict";i();dt();vr();Ar()});var ut={};j(ut,{clear:()=>hi,getItem:()=>yi,localStorageKeys:()=>Q,removeItem:()=>Ti,setItem:()=>fi});var Q,ke,fi,yi,Ti,hi,de=f(()=>{"use strict";i();Ir();Q={loginExpiresAt:"sdk-dapp-login-expires-at",logoutEvent:"sdk-dapp-logout-event"},ke=typeof localStorage!="undefined",fi=({key:t,data:e,expires:r})=>{!ke||localStorage.setItem(String(t),JSON.stringify({expires:r,data:e}))},yi=t=>{if(!ke)return;let e=localStorage.getItem(String(t));if(!e)return null;let r=JSON.parse(e);return!r||!r.hasOwnProperty("expires")||!r.hasOwnProperty("data")?null:Ie()>=r.expires?(localStorage.removeItem(String(t)),null):r.data},Ti=t=>{!ke||localStorage.removeItem(String(t))},hi=()=>{!ke||localStorage.clear()}});var gt={};j(gt,{clear:()=>Lr,getItem:()=>Rr,removeItem:()=>Er,setItem:()=>kr,storage:()=>xi});var kr,Rr,Er,Lr,xi,Cr=f(()=>{"use strict";i();kr=({key:t,data:e,expires:r})=>{sessionStorage.setItem(String(t),JSON.stringify({expires:r,data:e}))},Rr=t=>{let e=sessionStorage.getItem(String(t));if(!e)return null;let r=JSON.parse(e);return!r||!r.hasOwnProperty("expires")||!r.hasOwnProperty("data")?null:Date.now()>=r.expires?(sessionStorage.removeItem(String(t)),null):r.data},Er=t=>sessionStorage.removeItem(String(t)),Lr=()=>sessionStorage.clear(),xi={setItem:kr,getItem:Rr,removeItem:Er,clear:Lr}});var oe,Re=f(()=>{"use strict";i();de();Cr();oe={session:gt,local:ut}});var ft,_r,Nr,Pr,mt,Mr,Br,ec,Fr,tc,rc,nc,oc,ic,ac,sc,cc,Ee,Le=f(()=>{"use strict";i();ft=require("@multiversx/sdk-core"),_r=require("@reduxjs/toolkit"),Nr=require("redux-persist");pe();Re();de();L();Pr={balance:"...",address:"",isGuarded:!1,nonce:0,txCount:0,scrCount:0,claimableRewards:br},mt={address:"",websocketEvent:null,websocketBatchEvent:null,accounts:{"":Pr},ledgerAccount:null,publicKey:"",walletConnectAccount:null,isAccountLoading:!0,accountLoadingError:null},Mr=(0,_r.createSlice)({name:"accountInfoSlice",initialState:mt,reducers:{setAddress:(t,e)=>{let r=e.payload;t.address=r,t.publicKey=new ft.Address(r).hex()},setAccount:(t,e)=>{let r=t.address===e.payload.address;t.accounts={[t.address]:r?e.payload:Pr},t.shard=e.payload.shard,t.isAccountLoading=!1,t.accountLoadingError=null},setAccountNonce:(t,e)=>{let{address:r}=t;t.accounts[r].nonce=e.payload},setAccountShard:(t,e)=>{t.shard=e.payload},setLedgerAccount:(t,e)=>{t.ledgerAccount=e.payload},updateLedgerAccount:(t,e)=>{t.ledgerAccount!=null&&(t.ledgerAccount.index=e.payload.index,t.ledgerAccount.address=e.payload.address)},setWalletConnectAccount:(t,e)=>{t.walletConnectAccount=e.payload},setIsAccountLoading:(t,e)=>{t.isAccountLoading=e.payload,t.accountLoadingError=null},setAccountLoadingError:(t,e)=>{t.accountLoadingError=e.payload,t.isAccountLoading=!1},setWebsocketEvent:(t,e)=>{t.websocketEvent={timestamp:Date.now(),message:e.payload}},setWebsocketBatchEvent:(t,e)=>{t.websocketBatchEvent={timestamp:Date.now(),data:e.payload}}},extraReducers:t=>{t.addCase(S,()=>(oe.local.removeItem(Q.loginExpiresAt),mt)),t.addCase(ne,(e,r)=>{let{address:n}=r.payload;e.address=n,e.publicKey=new ft.Address(n).hex()}),t.addCase(Nr.REHYDRATE,(e,r)=>{var m;if(!((m=r.payload)!=null&&m.account))return;let{account:n}=r.payload,{address:o,shard:a,accounts:s,publicKey:d}=n;e.address=o,e.shard=a;let g=s&&o in s;e.accounts=g?s:mt.accounts,e.publicKey=d})}}),{setAccount:Br,setAddress:ec,setAccountNonce:Fr,setAccountShard:tc,setLedgerAccount:rc,updateLedgerAccount:nc,setWalletConnectAccount:oc,setIsAccountLoading:ic,setAccountLoadingError:ac,setWebsocketEvent:sc,setWebsocketBatchEvent:cc}=Mr.actions,Ee=Mr.reducer});function ue(){return new Date().setHours(new Date().getHours()+24)}function ge(t){oe.local.setItem({key:Q.loginExpiresAt,data:t,expires:t})}var yt=f(()=>{"use strict";i();Re();de()});var Ur,Or,Gr,hc,xc,Sc,Wr,wc,bc,qr,vc,Ce,_e=f(()=>{"use strict";i();Ur=require("@reduxjs/toolkit");yt();$();L();Or={loginMethod:"",walletConnectLogin:null,ledgerLogin:null,tokenLogin:null,walletLogin:null,extensionLogin:null,operaLogin:null,isLoginSessionInvalid:!1},Gr=(0,Ur.createSlice)({name:"loginInfoSlice",initialState:Or,reducers:{setLoginMethod:(t,e)=>{t.loginMethod=e.payload},setTokenLogin:(t,e)=>{t.tokenLogin=e.payload},setTokenLoginSignature:(t,e)=>{(t==null?void 0:t.tokenLogin)!=null&&(t.tokenLogin.signature=e.payload)},setWalletLogin:(t,e)=>{t.walletLogin=e.payload},setWalletConnectLogin:(t,e)=>{t.walletConnectLogin=e.payload},setLedgerLogin:(t,e)=>{t.ledgerLogin=e.payload},invalidateLoginSession:t=>{t.isLoginSessionInvalid=!0},setLogoutRoute:(t,e)=>{t.logoutRoute=e.payload}},extraReducers:t=>{t.addCase(S,()=>Or),t.addCase(ne,(e,r)=>{e.isLoginSessionInvalid=!1,e.loginMethod=r.payload.loginMethod,ge(ue())})}}),{setLoginMethod:hc,setWalletConnectLogin:xc,setLedgerLogin:Sc,setTokenLogin:Wr,setTokenLoginSignature:wc,setWalletLogin:bc,invalidateLoginSession:qr,setLogoutRoute:vc}=Gr.actions,Ce=Gr.reducer});var Vr,Hr,jr,Rc,Ec,Lc,Cc,Ne,Pe=f(()=>{"use strict";i();Vr=require("@reduxjs/toolkit");L();Hr={},jr=(0,Vr.createSlice)({name:"modalsSlice",initialState:Hr,reducers:{setTxSubmittedModal:(t,e)=>{t.txSubmittedModal=e.payload},setNotificationModal:(t,e)=>{t.notificationModal=e.payload},clearTxSubmittedModal:t=>{t.txSubmittedModal=void 0},clearNotificationModal:t=>{t.notificationModal=void 0}},extraReducers:t=>{t.addCase(S,()=>Hr)}}),{setTxSubmittedModal:Rc,setNotificationModal:Ec,clearTxSubmittedModal:Lc,clearNotificationModal:Cc}=jr.actions,Ne=jr.reducer});var zr=f(()=>{"use strict";i()});var Kr=f(()=>{"use strict";i();zr()});function Jr(t){return t[Math.floor(Math.random()*t.length)]}var Yr=f(()=>{"use strict";i()});var $r=f(()=>{"use strict";i();ct()});var Xr=f(()=>{"use strict";i();Kr();Yr();$r()});var Qr,Zr,en,Tt,Si,tn,Kc,Jc,Yc,Me,Be=f(()=>{"use strict";i();Qr=require("@reduxjs/toolkit"),Zr=z(require("lodash.omit")),en=require("redux-persist");L();Xr();Tt={id:"not-configured",chainId:"",name:"NOT CONFIGURED",egldLabel:"",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"",walletConnectBridgeAddress:"",walletConnectV2RelayAddress:"",walletConnectV2ProjectId:"",walletConnectV2Options:{},walletAddress:"",apiAddress:"",explorerAddress:"",apiTimeout:"4000"},Si={network:Tt,chainID:"-1"},tn=(0,Qr.createSlice)({name:"appConfig",initialState:Si,reducers:{initializeNetworkConfig:(t,e)=>{let r=Jr(e.payload.walletConnectV2RelayAddresses),n=(0,Zr.default)(e.payload,"walletConnectV2RelayAddresses");t.network=k(h(h({},t.network),n),{walletConnectV2RelayAddress:r})},setChainID:(t,e)=>{t.chainID=e.payload},setCustomWalletAddress:(t,e)=>{t.network.customWalletAddress=e.payload}},extraReducers:t=>{t.addCase(S,e=>{e.network.customWalletAddress=void 0}),t.addCase(en.REHYDRATE,(e,r)=>{var o,a;if(!((a=(o=r.payload)==null?void 0:o.network)!=null&&a.customWalletAddress))return;let{network:{customWalletAddress:n}}=r.payload;e.network.customWalletAddress=n})}}),{initializeNetworkConfig:Kc,setChainID:Jc,setCustomWalletAddress:Yc}=tn.actions,Me=tn.reducer});var rn,ht,nn,tl,rl,nl,Fe,Oe=f(()=>{"use strict";i();rn=require("@reduxjs/toolkit");X();L();ht={isSigning:!1,signedSessions:{}},nn=(0,rn.createSlice)({name:"signedMessageInfoSliceState",initialState:ht,reducers:{setSignSession:(t,e)=>{let{sessionId:r,signedSession:n,errorMessage:o}=e.payload;o&&(t.errorMessage=o),t.isSigning=n.status==="pending",t.signedSessions[r]=h(h({},t.signedSessions[r]),n)},setSignSessionState:(t,e)=>h(h({},t),e.payload),clearSignedMessageInfo:()=>ht},extraReducers:t=>{t.addCase(S,()=>ht)}}),{setSignSession:tl,clearSignedMessageInfo:rl,setSignSessionState:nl}=nn.actions,Fe=nn.reducer});var an,sn,on,cn,pl,dl,ul,gl,De,Ue=f(()=>{"use strict";i();an=require("@reduxjs/toolkit"),sn=require("redux-persist");X();dt();L();on={customToasts:[],transactionToasts:[]},cn=(0,an.createSlice)({name:"toastsSlice",initialState:on,reducers:{addCustomToast:(t,e)=>{let r=e.payload.toastId||`custom-toast-${t.customToasts.length+1}`,n=t.customToasts.findIndex(o=>o.toastId===r);if(n!==-1){t.customToasts[n]=k(h(h({},t.customToasts[n]),e.payload),{type:"custom",toastId:r});return}t.customToasts.push(k(h({},e.payload),{type:"custom",toastId:r}))},removeCustomToast:(t,e)=>{t.customToasts=t.customToasts.filter(r=>r.toastId!==e.payload)},addTransactionToast:(t,e)=>{t.transactionToasts.push({type:"transaction",startTimestamp:Ie(),toastId:e.payload||`custom-toast-${t.transactionToasts.length+1}`})},removeTransactionToast:(t,e)=>{t.transactionToasts=t.transactionToasts.filter(r=>r.toastId!==e.payload)}},extraReducers:t=>{t.addCase(S,()=>on),t.addCase(sn.REHYDRATE,(e,r)=>{var o,a;let n=(a=(o=r.customToasts)==null?void 0:o.filter(s=>!("component"in s)))!=null?a:[];e.customToasts=n})}}),{addCustomToast:pl,removeCustomToast:dl,addTransactionToast:ul,removeTransactionToast:gl}=cn.actions,De=cn.reducer});var ln,wi,bi,vi,Ai,xt,pn,Tl,hl,xl,Ge,We=f(()=>{"use strict";i();ln=require("@reduxjs/toolkit");L();wi="Transaction failed",bi="Transaction successful",vi="Processing transaction",Ai="Transaction submitted",xt={},pn=(0,ln.createSlice)({name:"transactionsInfo",initialState:xt,reducers:{setTransactionsDisplayInfo(t,e){let{sessionId:r,transactionsDisplayInfo:n}=e.payload;r!=null&&(t[r]={errorMessage:(n==null?void 0:n.errorMessage)||wi,successMessage:(n==null?void 0:n.successMessage)||bi,processingMessage:(n==null?void 0:n.processingMessage)||vi,submittedMessage:(n==null?void 0:n.submittedMessage)||Ai,transactionDuration:n==null?void 0:n.transactionDuration})},clearTransactionsInfoForSessionId(t,e){e.payload!=null&&delete t[e.payload]},clearTransactionsInfo:()=>xt},extraReducers:t=>{t.addCase(S,()=>xt)}}),{clearTransactionsInfo:Tl,setTransactionsDisplayInfo:hl,clearTransactionsInfoForSessionId:xl}=pn.actions,Ge=pn.reducer});function dn(t){return t!=null&&(Ni(t)||Bi(t))}function un(t){return t!=null&&(Pi(t)||Fi(t))}function gn(t){return t!=null&&(Mi(t)||Oi(t))}function Ni(t){return t!=null&&ki.includes(t)}function Pi(t){return t!=null&&Ri.includes(t)}function Mi(t){return t!=null&&Ei.includes(t)}function Bi(t){return t!=null&&Li.includes(t)}function Fi(t){return t!=null&&Ci.includes(t)}function Oi(t){return t!=null&&_i.includes(t)}var vl,ki,Ri,Ei,Al,Il,Li,Ci,_i,mn=f(()=>{"use strict";i();$();vl=["sent"],ki=["success"],Ri=["fail","cancelled","timedOut"],Ei=["invalid"],Al=["timedOut"],Il=["pending"],Li=["success"],Ci=["fail","invalid"],_i=["not executed"]});var fn,yn,me,Di,Tn,Nl,Pl,Ml,Bl,Fl,Ol,Dl,Ul,Gl,Wl,ql,qe,He=f(()=>{"use strict";i();fn=require("@reduxjs/toolkit"),yn=require("redux-persist");$();mn();L();me={signedTransactions:{},transactionsToSign:null,signTransactionsError:null,signTransactionsCancelMessage:null,customTransactionInformationForSessionId:{}},Di={signWithoutSending:!1,sessionInformation:null,redirectAfterSign:!1},Tn=(0,fn.createSlice)({name:"transactionsSlice",initialState:me,reducers:{moveTransactionsToSignedState:(t,e)=>{var g,m;let{sessionId:r,transactions:n,errorMessage:o,status:a,redirectRoute:s,customTransactionInformation:d}=e.payload;t.customTransactionInformationForSessionId[r]=h(h(h({},Di),((g=t.signedTransactions[r])==null?void 0:g.customTransactionInformation)||{}),t.customTransactionInformationForSessionId[r]||{}),t.signedTransactions[r]={transactions:n,status:a,errorMessage:o,redirectRoute:s,customTransactionInformation:h(h({},t.customTransactionInformationForSessionId[r]),d!=null?d:{})},((m=t==null?void 0:t.transactionsToSign)==null?void 0:m.sessionId)===r&&(t.transactionsToSign=me.transactionsToSign)},clearSignedTransaction:(t,e)=>{t.signedTransactions[e.payload]&&delete t.signedTransactions[e.payload]},clearTransactionToSign:t=>{t!=null&&t.transactionsToSign&&(t.transactionsToSign=null)},updateSignedTransaction:(t,e)=>{t.signedTransactions=h(h({},t.signedTransactions),e.payload)},updateSignedTransactions:(t,e)=>{let{sessionId:r,status:n,errorMessage:o,transactions:a}=e.payload;t.signedTransactions[r]!=null&&(t.signedTransactions[r].status=n,o!=null&&(t.signedTransactions[r].errorMessage=o),a!=null&&(t.signedTransactions[r].transactions=a))},updateSignedTransactionStatus:(t,e)=>{var g,m,T,y,v,b,O,xe;let{sessionId:r,status:n,errorMessage:o,transactionHash:a,inTransit:s}=e.payload,d=(m=(g=t.signedTransactions)==null?void 0:g[r])==null?void 0:m.transactions;if(d!=null){t.signedTransactions[r].transactions=d.map(D=>D.hash===a?k(h({},D),{status:n,errorMessage:o,inTransit:s}):D);let ko=(y=(T=t.signedTransactions[r])==null?void 0:T.transactions)==null?void 0:y.every(D=>dn(D.status)),Ro=(b=(v=t.signedTransactions[r])==null?void 0:v.transactions)==null?void 0:b.every(D=>un(D.status)),Eo=(xe=(O=t.signedTransactions[r])==null?void 0:O.transactions)==null?void 0:xe.every(D=>gn(D.status));ko&&(t.signedTransactions[r].status="success"),Ro&&(t.signedTransactions[r].status="fail"),Eo&&(t.signedTransactions[r].status="invalid")}},setTransactionsToSign:(t,e)=>{t.transactionsToSign=e.payload;let{sessionId:r,customTransactionInformation:n}=e.payload;t.customTransactionInformationForSessionId[r]=n,t.signTransactionsError=null},clearAllTransactionsToSign:t=>{t.transactionsToSign=me.transactionsToSign,t.signTransactionsError=null},clearAllSignedTransactions:t=>{t.signedTransactions=me.signedTransactions},setSignTransactionsError:(t,e)=>{t.signTransactionsError=e.payload},setSignTransactionsCancelMessage:(t,e)=>{t.signTransactionsCancelMessage=e.payload},updateSignedTransactionsCustomTransactionInformation:(t,e)=>{let{sessionId:r,customTransactionInformationOverrides:n}=e.payload;t.signedTransactions[r]!=null&&(t.signedTransactions[r].customTransactionInformation=h(h({},t.signedTransactions[r].customTransactionInformation),n))}},extraReducers:t=>{t.addCase(S,()=>me),t.addCase(yn.REHYDRATE,(e,r)=>{var s;if(e.signTransactionsCancelMessage=null,!((s=r.payload)!=null&&s.transactions))return;let{signedTransactions:n,customTransactionInformationForSessionId:o}=r.payload.transactions,a=Object.entries(n).reduce((d,[g,m])=>{let T=new Date(g),y=new Date;return y.setHours(y.getHours()+5),y-T>0||(d[g]=m),d},{});o!=null&&(e.customTransactionInformationForSessionId=o),n!=null&&(e.signedTransactions=a)})}}),{updateSignedTransactionStatus:Nl,updateSignedTransactions:Pl,setTransactionsToSign:Ml,clearAllTransactionsToSign:Bl,clearAllSignedTransactions:Fl,clearSignedTransaction:Ol,clearTransactionToSign:Dl,setSignTransactionsError:Ul,setSignTransactionsCancelMessage:Gl,moveTransactionsToSignedState:Wl,updateSignedTransactionsCustomTransactionInformation:ql}=Tn.actions,qe=Tn.reducer});var hn,St,xn,zl,Kl,Jl,Yl,Ve,je=f(()=>{"use strict";i();hn=require("@reduxjs/toolkit");L();St={},xn=(0,hn.createSlice)({name:"batchTransactionsSlice",initialState:St,reducers:{setBatchTransactions:(t,e)=>{t[e.payload.id]=e.payload},updateBatchTransactions:(t,e)=>{t[e.payload.id]=e.payload},clearBatchTransactions:(t,e)=>{delete t[e.payload.batchId]},clearAllBatchTransactions:()=>St},extraReducers:t=>{t.addCase(S,()=>St)}}),{setBatchTransactions:zl,updateBatchTransactions:Kl,clearBatchTransactions:Jl,clearAllBatchTransactions:Yl}=xn.actions,Ve=xn.reducer});var wn,Sn,bn,Zl,vn,wt=f(()=>{"use strict";i();wn=require("@reduxjs/toolkit");L();Sn={},bn=(0,wn.createSlice)({name:"dappConfigSlice",initialState:Sn,reducers:{setDappConfig:(t,e)=>e.payload},extraReducers:t=>{t.addCase(S,()=>Sn)}}),{setDappConfig:Zl}=bn.actions,vn=bn.reducer});var fe=f(()=>{"use strict";i();Le();_e();Pe();Be();Oe();Ue();We();He();je();wt()});var bt=f(()=>{"use strict";i()});var kn,qi,Hi,Z,Je=f(()=>{"use strict";i();kn=require("@reduxjs/toolkit");bt();Le();je();wt();_e();Pe();Be();Oe();Ue();We();He();qi={["account"]:Ee,["dappConfig"]:vn,["loginInfo"]:Ce,["modals"]:Ne,["networkConfig"]:Me,["signedMessageInfo"]:Fe,["toasts"]:De,["transactionsInfo"]:Ge,["transactions"]:qe,["batchTransactions"]:Ve},Hi=(t={})=>(0,kn.combineReducers)(h(h({},qi),t)),Z=Hi});var Cn={};j(Cn,{default:()=>ia,sessionStorageReducers:()=>vt});function q(t,e=[]){return{key:t,version:1,storage:En.default,blacklist:e}}var I,Rn,En,Vi,ye,ji,zi,Ki,Ji,Yi,$i,Xi,Qi,Zi,ea,Ln,ta,vt,ra,na,oa,ia,_n=f(()=>{"use strict";i();I=require("redux-persist"),Rn=z(require("redux-persist/lib/storage")),En=z(require("redux-persist/lib/storage/session"));Je();fe();Le();je();_e();Pe();Be();Oe();Ue();We();He();bt();Vi={persistReducersStorageType:"localStorage"},ye={["account"]:"sdk-dapp-account",["loginInfo"]:"sdk-dapp-login-info",["modals"]:"sdk-dapp-modals",["networkConfig"]:"sdk-dapp-network-config"},ji=q(ye["account"]),zi=q(ye["loginInfo"]),Ki=q(ye["modals"]),Ji=q(ye["networkConfig"]),Yi={2:t=>k(h({},t),{networkConfig:Tt})};$i=q("sdk-dapp-transactionsInfo"),Xi=q("sdk-dapp-transactions",["transactionsToSign"]),Qi=q("sdk-dapp-batchTransactions",["batchTransactions"]),Zi=q("sdk-dapp-toasts"),ea=q("sdk-dapp-signedMessageInfo"),Ln={key:"sdk-dapp-store",version:2,storage:Rn.default,whitelist:Object.keys(ye),migrate:(0,I.createMigrate)(Yi,{debug:!1})},ta=k(h({},Ln),{whitelist:[]}),vt={["toasts"]:(0,I.persistReducer)(Zi,De),["transactions"]:(0,I.persistReducer)(Xi,qe),["transactionsInfo"]:(0,I.persistReducer)($i,Ge),["batchTransactions"]:(0,I.persistReducer)(Qi,Ve),["signedMessageInfo"]:(0,I.persistReducer)(ea,Fe)},ra=k(h({},vt),{["account"]:(0,I.persistReducer)(ji,Ee),["loginInfo"]:(0,I.persistReducer)(zi,Ce),["modals"]:(0,I.persistReducer)(Ki,Ne),["networkConfig"]:(0,I.persistReducer)(Ji,Me)}),na=Vi.persistReducersStorageType==="localStorage",oa=na?(0,I.persistReducer)(Ln,Z(vt)):(0,I.persistReducer)(ta,Z(ra)),ia=oa});var Nn={};j(Nn,{default:()=>aa});var aa,Pn=f(()=>{"use strict";i();Je();aa=Z()});var Mn={};j(Mn,{default:()=>ca});var C,sa,ca,Bn=f(()=>{"use strict";i();C=require("redux-persist"),sa=[C.FLUSH,C.REHYDRATE,C.PAUSE,C.PERSIST,C.PURGE,C.REGISTER],ca=sa});var Dn={};j(Dn,{default:()=>On});function On(t){return(0,Fn.persistStore)(t)}var Fn,Un=f(()=>{"use strict";i();Fn=require("redux-persist")});var jn=R((rd,Vn)=>{i();var pa=typeof l=="object"&&l&&l.Object===Object&&l;Vn.exports=pa});var Kn=R((nd,zn)=>{i();var da=jn(),ua=typeof self=="object"&&self&&self.Object===Object&&self,ga=da||ua||Function("return this")();zn.exports=ga});var It=R((od,Jn)=>{i();var ma=Kn(),fa=ma.Symbol;Jn.exports=fa});var Qn=R((id,Xn)=>{i();var Yn=It(),$n=Object.prototype,ya=$n.hasOwnProperty,Ta=$n.toString,Te=Yn?Yn.toStringTag:void 0;function ha(t){var e=ya.call(t,Te),r=t[Te];try{t[Te]=void 0;var n=!0}catch(a){}var o=Ta.call(t);return n&&(e?t[Te]=r:delete t[Te]),o}Xn.exports=ha});var eo=R((ad,Zn)=>{i();var xa=Object.prototype,Sa=xa.toString;function wa(t){return Sa.call(t)}Zn.exports=wa});var oo=R((sd,no)=>{i();var to=It(),ba=Qn(),va=eo(),Aa="[object Null]",Ia="[object Undefined]",ro=to?to.toStringTag:void 0;function ka(t){return t==null?t===void 0?Ia:Aa:ro&&ro in Object(t)?ba(t):va(t)}no.exports=ka});var ao=R((cd,io)=>{i();var Ra=Array.isArray;io.exports=Ra});var co=R((ld,so)=>{i();function Ea(t){return t!=null&&typeof t=="object"}so.exports=Ea});var po=R((pd,lo)=>{i();var La=oo(),Ca=ao(),_a=co(),Na="[object String]";function Pa(t){return typeof t=="string"||!Ca(t)&&_a(t)&&La(t)==Na}lo.exports=Pa});var Wa={};j(Wa,{targetOrigin:()=>V,webviewProvider:()=>Ga});module.exports=le(Wa);i();i();var Rt=require("@multiversx/sdk-core");i();L();fe();i();var At=require("@reduxjs/toolkit"),Hn=require("react-redux/lib/utils/Subscription");fe();i();var An=z(require("lodash.throttle"));pe();fe();yt();Re();de();var Ui=[Ae],ze=!1,Gi=(0,An.default)(()=>{ge(ue())},5e3),In=t=>e=>r=>{if(Ui.includes(r.type))return e(r);let n=t.getState(),o=oe.local.getItem(Q.loginExpiresAt);if(!Boolean(n==null?void 0:n.account.address))return e(r);if(o==null)return ge(ue());let s=Date.now();return o-s<0&&!ze?setTimeout(()=>{ze=!0,t.dispatch(qr())},1e3):(ze&&(ze=!1),Gi()),e(r)};i();i();function Ke(){return typeof sessionStorage!="undefined"}var Gn=Ke()?(_n(),le(Cn)).default:(Pn(),le(Nn)).default,Wn=Ke()?(Bn(),le(Mn)).default:[],qn=Ke()?(Un(),le(Dn)).default:t=>t;Je();var Ye=(0,At.configureStore)({reducer:Gn,middleware:t=>t({serializableCheck:{ignoredActions:[...Wn,Fr.type,Br.type],ignoredPaths:["payload.nonce","account.account.nonce","providers.accountProvider"]}}).concat(In)}),Xp=(0,Hn.createSubscription)(Ye),Qp=qn(Ye),Zp=(0,At.configureStore)({reducer:Z});X();i();i();function la(t){try{let e=atob(t),r=btoa(e),n=p.Buffer.from(t,"base64").toString(),o=p.Buffer.from(n).toString("base64");if(t===r&&t===o||e===n)return!0}catch(e){return!1}return!1}function ie(t){return la(t)?atob(t):t}i();var uo=z(po());var go=t=>{if(!t||!(0,uo.default)(t))return null;let e=t.split(".");if(e.length!==4)return null;try{let[r,n,o,a]=e,s=JSON.parse(ie(a)),d=ie(r);return{ttl:Number(o),extraInfo:s,origin:d,blockHash:n}}catch(r){return console.error(`Error trying to decode ${t}:`,r),null}};function Ma(t){return Object.prototype.toString.call(t)==="[object String]"}var mo=t=>{var r;if(!t||!Ma(t))return null;let e=t.split(".");if(e.length!==3)return console.error("Invalid nativeAuthToken. You may be trying to decode a loginToken. Try using decodeLoginToken method instead"),null;try{let[n,o,a]=e,s=ie(n),d=ie(o),g=go(d);if(!g)return{address:s,body:d,signature:a,blockHash:"",origin:"",ttl:0};let m=k(h({},g),{address:s,body:d,signature:a});return(r=g.extraInfo)!=null&&r.timestamp||delete m.extraInfo,m}catch(n){return null}};function fo(t,e=Ye.dispatch){let r=mo(t);if(r==null)return;let{signature:n,address:o}=r;n&&t&&o&&(e(Wr({loginToken:t,signature:n,nativeAuthToken:t})),e(ne({address:o,loginMethod:"extra"})))}X();i();var yo=()=>typeof window!="undefined"&&typeof(window==null?void 0:window.location)!="undefined";i();$();var To=typeof window!="undefined"?window:{},xo=()=>To.ReactNativeWebView?"reactNative":To.webkit?"ios":"web";i();i();var Ba=require("@multiversx/sdk-extension-provider"),Fa=require("@multiversx/sdk-hw-provider"),Oa=require("@multiversx/sdk-opera-provider"),Da=require("@multiversx/sdk-web-wallet-provider");pe();$();i();i();var H=t=>`Unable to perform ${t}, Provider not initialized`,$e=class{init(){return Promise.resolve(!1)}login(e){throw new Error(H(`login with options: ${e}`))}logout(e){throw new Error(H(`logout with options: ${e}`))}getAddress(){throw new Error(H("getAddress"))}isInitialized(){return!1}isConnected(){return Promise.resolve(!1)}sendTransaction(e,r){throw new Error(H(`sendTransaction with transactions: ${e} options: ${r}`))}signTransaction(e,r){throw new Error(H(`signTransaction with transactions: ${e} options: ${r}`))}signTransactions(e,r){throw new Error(H(`signTransactions with transactions: ${e} options: ${r}`))}signMessage(e,r){throw new Error(H(`signTransactions with ${e} and options ${r}`))}sendCustomMessage({method:e,params:r}){throw new Error(H(`sendCustomMessage with method: ${e} params: ${r}`))}sendCustomRequest(e){throw new Error(H(`sendSessionEvent with options: ${e}`))}ping(){return Promise.resolve(!1)}},So=new $e;var Ua=So,wo=null;function bo(){wo!=null&&(Ua=wo)}i();X();var ae={signTransactions:{["ios"]:t=>window.webkit.messageHandlers.signTransactions.postMessage(t,V),["reactNative"]:t=>window==null?void 0:window.ReactNativeWebView.postMessage(JSON.stringify({type:"SIGN_TRANSACTIONS_REQUEST",message:t})),["web"]:t=>window==null?void 0:window.postMessage(JSON.stringify({type:"SIGN_TRANSACTIONS_REQUEST",message:t}),V)},sendCustomRequest:{["ios"]:t=>window.webkit.messageHandlers.signMessage.postMessage({type:t.request.method,payload:t.request.params}),["reactNative"]:t=>window==null?void 0:window.ReactNativeWebView.postMessage(JSON.stringify({type:t.request.method,payload:t.request.params})),["web"]:t=>window==null?void 0:window.postMessage(JSON.stringify({type:t.request.method,payload:t.request.params}),V)},signMessage:{["ios"]:t=>window.webkit.messageHandlers.signMessage.postMessage(t),["reactNative"]:t=>window==null?void 0:window.ReactNativeWebView.postMessage(JSON.stringify({type:"SIGN_MESSAGE_REQUEST",message:t})),["web"]:t=>window==null?void 0:window.postMessage(JSON.stringify({type:"SIGN_MESSAGE_REQUEST",message:t}),V)},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"}),V)},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"}),V)}};var vo=t=>()=>{throw new Error(`Unable to perform ${t}, Provider not initialized`)},se=xo(),Ao,Io,V=yo()&&(Io=(Ao=window==null?void 0:window.parent)==null?void 0:Ao.origin)!=null?Io:"*",he="message",kt=t=>{let e=r=>{let n=r.data;if(!(r.target.origin!=V&&se!="reactNative"))try{n=JSON.parse(n),t(n)}catch(o){console.error("error parsing response")}};document&&document.addEventListener(he,e),window&&window.addEventListener(he,e)},Ga={init:()=>_(void 0,null,function*(){return!0}),login:()=>_(void 0,null,function*(){return!0}),relogin:()=>_(void 0,null,function*(){try{return ae.login[se](),yield new Promise((e,r)=>{function n(o){let{message:a,type:s}=o;if(s==="LOGIN_RESPONSE")try{let{accessToken:d,error:g}=a;g?r(g):(fo(d),bo(),e(d))}catch(d){r("Unable to login")}document&&document.removeEventListener(he,n)}kt(n)})}catch(t){throw console.error("error logging in",t),t}}),logout:()=>(ae.logout[se](),new Promise(t=>{t(!0)})),getAddress:vo("getAddress"),isInitialized:()=>!0,isConnected:()=>_(void 0,null,function*(){return!0}),sendTransaction:vo("sendTransaction"),sendCustomRequest:t=>_(void 0,null,function*(){ae.sendCustomRequest[se](t)}),signMessage:t=>_(void 0,null,function*(){try{return ae.signMessage[se](t),yield new Promise((r,n)=>{window.signMessageResponse=(a,s)=>{if(s){n(s),window.signMessageResponse=null;return}r(a),window.signMessageResponse=null};function o(a){let{message:s,type:d}=a;if(d==="SIGN_MESSAGE_RESPONSE"&&s!=null){let{signedMessage:g,error:m}=s;m?n(m):r(g)}document==null||document.removeEventListener(he,o)}kt(o)})}catch(e){throw console.error("error sending transaction",e),e}}),signTransactions:t=>_(void 0,null,function*(){try{let e=t.map(n=>n.toPlainObject());return ae.signTransactions[se](e),yield new Promise((n,o)=>{window.transactionsSigned=(s,d)=>{if(s=JSON.parse(s),d){o(d),window.transactionsSigned=null;return}n(s.map(g=>Rt.Transaction.fromPlainObject(g))),window.transactionsSigned=null};function a(s){let{message:d,type:g}=s;if(g==="SIGN_TRANSACTIONS_RESPONSE"){let{transactions:m,error:T}=d;try{T?o(T):n(m.map(y=>Rt.Transaction.fromPlainObject(y)))}catch(y){o("Unable to sign")}}document&&document.removeEventListener(he,a)}kt(a)})}catch(e){throw console.error("error sending transaction",e),e}}),signTransaction:function(t){return _(this,null,function*(){return(yield this.signTransactions([t]))[0]})}};0&&(module.exports={targetOrigin,webviewProvider});
2
2
  /*!
3
3
  * The buffer module from node.js, for the browser.
4
4
  *