@multiversx/sdk-dapp 3.0.11 → 3.0.13

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 (753) hide show
  1. package/UI/Denominate/index.js +1 -1
  2. package/UI/ExplorerLink/ExplorerLink.js +1 -1
  3. package/UI/ExplorerLink/index.js +1 -1
  4. package/UI/FormatAmount/FormatAmount.js +1 -1
  5. package/UI/FormatAmount/index.js +1 -1
  6. package/UI/NotificationModal/NotificationModal.js +1 -1
  7. package/UI/NotificationModal/index.js +1 -1
  8. package/UI/SignTransactionsModals/SignTransactionsModals.js +1 -1
  9. package/UI/SignTransactionsModals/SignWithCrossWindowWalletModal/SignWithCrossWindowWalletModal.js +1 -1
  10. package/UI/SignTransactionsModals/SignWithCrossWindowWalletModal/index.js +1 -1
  11. package/UI/SignTransactionsModals/SignWithDeviceModal/SignStep.js +1 -1
  12. package/UI/SignTransactionsModals/SignWithDeviceModal/SignWithDeviceModal.js +1 -1
  13. package/UI/SignTransactionsModals/SignWithDeviceModal/components/SignStepBody.js +1 -1
  14. package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmAmount/ConfirmAmount.js +1 -1
  15. package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmAmount/components/ConfirmAmountData/ConfirmAmountData.js +1 -1
  16. package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmAmount/components/ConfirmAmountData/index.js +1 -1
  17. package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmAmount/components/ConfirmAmountNftSft/ConfirmAmountNftSft.js +1 -1
  18. package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmAmount/components/ConfirmAmountNftSft/index.js +1 -1
  19. package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmAmount/components/index.js +1 -1
  20. package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmAmount/index.js +1 -1
  21. package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmFee/ConfirmFee.js +1 -1
  22. package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmFee/index.js +1 -1
  23. package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmReceiver/ConfirmReceiver.js +1 -1
  24. package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmReceiver/index.js +1 -1
  25. package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/index.js +1 -1
  26. package/UI/SignTransactionsModals/SignWithDeviceModal/components/index.js +1 -1
  27. package/UI/SignTransactionsModals/SignWithDeviceModal/index.js +1 -1
  28. package/UI/SignTransactionsModals/SignWithExtensionModal/SignWithExtensionModal.js +1 -1
  29. package/UI/SignTransactionsModals/SignWithExtensionModal/index.js +1 -1
  30. package/UI/SignTransactionsModals/SignWithExtraModal/SignWithExtraModal.js +1 -1
  31. package/UI/SignTransactionsModals/SignWithExtraModal/index.js +1 -1
  32. package/UI/SignTransactionsModals/SignWithIframeModal/SignWithIframeModal.js +1 -1
  33. package/UI/SignTransactionsModals/SignWithIframeModal/index.js +1 -1
  34. package/UI/SignTransactionsModals/SignWithLedgerModal/LedgerGuardianSigningModalError.js +1 -1
  35. package/UI/SignTransactionsModals/SignWithLedgerModal/SignWithLedgerModal.js +1 -1
  36. package/UI/SignTransactionsModals/SignWithLedgerModal/index.js +1 -1
  37. package/UI/SignTransactionsModals/SignWithMetamaskModal/SignWithMetamaskModal.js +1 -1
  38. package/UI/SignTransactionsModals/SignWithMetamaskModal/index.js +1 -1
  39. package/UI/SignTransactionsModals/SignWithPasskeyModal/SignWithPasskeyModal.js +1 -1
  40. package/UI/SignTransactionsModals/SignWithPasskeyModal/index.js +1 -1
  41. package/UI/SignTransactionsModals/components/ConfirmationScreen.js +1 -1
  42. package/UI/SignTransactionsModals/components/DeviceConfirmationScreen.js +1 -1
  43. package/UI/SignTransactionsModals/components/TransactionStatusToast.js +1 -1
  44. package/UI/SignTransactionsModals/components/index.js +1 -1
  45. package/UI/SignTransactionsModals/index.js +1 -1
  46. package/UI/TokenDetails/index.js +1 -1
  47. package/UI/TransactionDetails/TransactionDetails.js +1 -1
  48. package/UI/TransactionDetails/components/TransactionDetailsBody.js +1 -1
  49. package/UI/TransactionDetails/components/index.js +1 -1
  50. package/UI/TransactionDetails/index.js +1 -1
  51. package/UI/TransactionInfo/TransactionInfo.js +1 -1
  52. package/UI/TransactionInfo/components/AddressDetailItem/AddressDetailitem.js +1 -1
  53. package/UI/TransactionInfo/components/AddressDetailItem/index.js +1 -1
  54. package/UI/TransactionInfo/components/EventsList/EventsList.js +1 -1
  55. package/UI/TransactionInfo/components/EventsList/index.js +1 -1
  56. package/UI/TransactionInfo/components/NonceMessage/NonceMessage.js +1 -1
  57. package/UI/TransactionInfo/components/NonceMessage/index.js +1 -1
  58. package/UI/TransactionInfo/components/OperationsList/OperationList.js +1 -1
  59. package/UI/TransactionInfo/components/OperationsList/components/DetailedItem.js +1 -1
  60. package/UI/TransactionInfo/components/OperationsList/components/OperationBlock.js +1 -1
  61. package/UI/TransactionInfo/components/OperationsList/components/OperationRow.js +1 -1
  62. package/UI/TransactionInfo/components/OperationsList/components/OperationText.js +1 -1
  63. package/UI/TransactionInfo/components/OperationsList/components/OperationToken.js +1 -1
  64. package/UI/TransactionInfo/components/OperationsList/components/index.js +1 -1
  65. package/UI/TransactionInfo/components/OperationsList/index.js +1 -1
  66. package/UI/TransactionInfo/components/ScResultsList/ScResultsList.js +1 -1
  67. package/UI/TransactionInfo/components/ScResultsList/components/ResultHash/ResultHash.js +1 -1
  68. package/UI/TransactionInfo/components/ScResultsList/components/ResultHash/index.js +1 -1
  69. package/UI/TransactionInfo/components/ScResultsList/components/ResultReceiver/ResultReceiver.js +1 -1
  70. package/UI/TransactionInfo/components/ScResultsList/components/ResultReceiver/index.js +1 -1
  71. package/UI/TransactionInfo/components/ScResultsList/components/ResultSender/ResultSender.js +1 -1
  72. package/UI/TransactionInfo/components/ScResultsList/components/ResultSender/index.js +1 -1
  73. package/UI/TransactionInfo/components/ScResultsList/index.js +1 -1
  74. package/UI/TransactionInfo/components/ScrDetailItem/ScrDetailItem.js +1 -1
  75. package/UI/TransactionInfo/components/ScrDetailItem/index.js +1 -1
  76. package/UI/TransactionInfo/components/TransactionAction/TransactionAction.js +1 -1
  77. package/UI/TransactionInfo/components/TransactionAction/components/ActionText/index.js +1 -1
  78. package/UI/TransactionInfo/components/TransactionAction/components/ActionToken.js +1 -1
  79. package/UI/TransactionInfo/components/TransactionAction/components/TransactionActionBlock/components/TransactionActionCollection.js +1 -1
  80. package/UI/TransactionInfo/components/TransactionAction/components/TransactionActionBlock/components/TransactionActionNft.js +1 -1
  81. package/UI/TransactionInfo/components/TransactionAction/components/TransactionActionBlock/components/TransactionActionToken.js +1 -1
  82. package/UI/TransactionInfo/components/TransactionAction/components/TransactionActionBlock/components/index.js +1 -1
  83. package/UI/TransactionInfo/components/TransactionAction/components/TransactionActionBlock/index.js +1 -1
  84. package/UI/TransactionInfo/components/TransactionAction/components/index.js +1 -1
  85. package/UI/TransactionInfo/components/TransactionAction/index.js +1 -1
  86. package/UI/TransactionInfo/components/TransactionLogs/TransactionLogs.js +1 -1
  87. package/UI/TransactionInfo/components/TransactionLogs/index.js +1 -1
  88. package/UI/TransactionInfo/components/TransactionStatus/TransactionStatus.js +1 -1
  89. package/UI/TransactionInfo/components/TransactionStatus/index.js +1 -1
  90. package/UI/TransactionInfo/components/index.js +1 -1
  91. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoFee/TransactionInfoFee.js +1 -1
  92. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoFee/index.js +1 -1
  93. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoFrom/TransactionInfoFrom.js +1 -1
  94. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoFrom/index.js +1 -1
  95. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoGasUsed/TransactionInfoGasUsed.js +1 -1
  96. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoGasUsed/index.js +1 -1
  97. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoMethod/TransactionInfoMethod.js +1 -1
  98. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoMethod/index.js +1 -1
  99. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoMiniblock/TransactionInfoMiniblock.js +1 -1
  100. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoMiniblock/index.js +1 -1
  101. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoNonce/TransactionInfoNonce.js +1 -1
  102. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoNonce/index.js +1 -1
  103. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoScResults/TransactionInfoScResults.js +1 -1
  104. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoScResults/index.js +1 -1
  105. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoStatus/TransactionInfoStatus.js +1 -1
  106. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoStatus/index.js +1 -1
  107. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoTo/TransactionInfoTo.js +1 -1
  108. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoTo/index.js +1 -1
  109. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoTokenOperations/TransactionInfoTokenOperations.js +1 -1
  110. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoTokenOperations/index.js +1 -1
  111. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoValue/TransactionInfoValue.js +1 -1
  112. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoValue/index.js +1 -1
  113. package/UI/TransactionInfo/components/transactionInfoFields/index.js +1 -1
  114. package/UI/TransactionInfo/index.js +1 -1
  115. package/UI/TransactionsTable/TransactionsTable.js +1 -1
  116. package/UI/TransactionsTable/components/AccountName.js +1 -1
  117. package/UI/TransactionsTable/components/LockedTokenAddressIcon.js +1 -1
  118. package/UI/TransactionsTable/components/TransactionHash.js +1 -1
  119. package/UI/TransactionsTable/components/TransactionReceiver.js +1 -1
  120. package/UI/TransactionsTable/components/TransactionRow.js +1 -1
  121. package/UI/TransactionsTable/components/TransactionSender.js +1 -1
  122. package/UI/TransactionsTable/components/TransactionShardsTransition.js +1 -1
  123. package/UI/TransactionsTable/components/TransactionValue/TransactionValue.js +1 -1
  124. package/UI/TransactionsTable/components/TransactionValue/index.js +1 -1
  125. package/UI/TransactionsTable/components/index.js +1 -1
  126. package/UI/TransactionsTable/index.js +1 -1
  127. package/UI/TransactionsToastList/TransactionsToastList.js +1 -1
  128. package/UI/TransactionsToastList/components/CustomToast/CustomToast.js +1 -1
  129. package/UI/TransactionsToastList/components/CustomToast/components/CustomComponentToast.js +1 -1
  130. package/UI/TransactionsToastList/components/CustomToast/components/IconToast/IconToast.js +1 -1
  131. package/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/IconToastFooter.js +1 -1
  132. package/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/components/TransactionToastFooter.js +1 -1
  133. package/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/components/index.js +1 -1
  134. package/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/index.js +1 -1
  135. package/UI/TransactionsToastList/components/CustomToast/components/IconToast/index.js +1 -1
  136. package/UI/TransactionsToastList/components/CustomToast/components/SimpleToast.js +1 -1
  137. package/UI/TransactionsToastList/components/CustomToast/components/index.js +1 -1
  138. package/UI/TransactionsToastList/components/CustomToast/helpers/index.js +1 -1
  139. package/UI/TransactionsToastList/components/CustomToast/helpers/useMemoizedCloseButton.js +1 -1
  140. package/UI/TransactionsToastList/components/CustomToast/index.js +1 -1
  141. package/UI/TransactionsToastList/components/TransactionToast/TransactionToast.js +1 -1
  142. package/UI/TransactionsToastList/components/TransactionToast/components/TransactionToastContent.js +1 -1
  143. package/UI/TransactionsToastList/components/TransactionToast/components/index.js +1 -1
  144. package/UI/TransactionsToastList/components/TransactionToast/hooks/useTransactionToast.js +1 -1
  145. package/UI/TransactionsToastList/components/TransactionToast/index.js +1 -1
  146. package/UI/TransactionsToastList/components/TransactionToastGuard.js +1 -1
  147. package/UI/TransactionsToastList/components/index.js +1 -1
  148. package/UI/TransactionsToastList/index.js +1 -1
  149. package/UI/Trim/Trim.js +1 -1
  150. package/UI/Trim/index.js +1 -1
  151. package/UI/extension/ExtensionLoginButton/ExtensionLoginButton.js +1 -1
  152. package/UI/extension/ExtensionLoginButton/index.js +1 -1
  153. package/UI/iframe/IframeLoginButton/IframeButton.js +1 -1
  154. package/UI/iframe/IframeLoginButton/index.js +1 -1
  155. package/UI/index.js +1 -1
  156. package/UI/ledger/LedgerLoginButton/LedgerLoginButton.js +1 -1
  157. package/UI/ledger/LedgerLoginButton/index.js +1 -1
  158. package/UI/ledger/LedgerLoginContainer/AddressRow/AddressRow.js +1 -1
  159. package/UI/ledger/LedgerLoginContainer/AddressRow/index.js +1 -1
  160. package/UI/ledger/LedgerLoginContainer/AddressTable/AddressTable.js +1 -1
  161. package/UI/ledger/LedgerLoginContainer/AddressTable/index.js +1 -1
  162. package/UI/ledger/LedgerLoginContainer/ConfirmAddress/ConfirmAddress.js +1 -1
  163. package/UI/ledger/LedgerLoginContainer/ConfirmAddress/index.js +1 -1
  164. package/UI/ledger/LedgerLoginContainer/LedgerLoginContainer.js +1 -1
  165. package/UI/ledger/LedgerLoginContainer/LedgerLoginContent/LedgerLoginContent.js +1 -1
  166. package/UI/ledger/LedgerLoginContainer/LedgerLoginContent/index.js +1 -1
  167. package/UI/ledger/LedgerLoginContainer/LedgerLoginContentBody/LedgerLoginContentBody.js +1 -1
  168. package/UI/ledger/LedgerLoginContainer/LedgerLoginContentBody/index.js +1 -1
  169. package/UI/ledger/LedgerLoginContainer/LedgerScamPhishingAlert/LedgerScamPhishingAlert.js +1 -1
  170. package/UI/ledger/LedgerLoginContainer/LedgerScamPhishingAlert/index.js +1 -1
  171. package/UI/ledger/LedgerLoginContainer/index.js +1 -1
  172. package/UI/ledger/index.js +1 -1
  173. package/UI/metamask/MetamaskLoginButton/MetamaskLoginButton.js +1 -1
  174. package/UI/metamask/MetamaskLoginButton/index.js +1 -1
  175. package/UI/operaWallet/OperaWalletLoginButton/OperaWalletLoginButton.js +1 -1
  176. package/UI/operaWallet/OperaWalletLoginButton/index.js +1 -1
  177. package/UI/pages/UnlockPage/index.js +1 -1
  178. package/UI/pages/index.js +1 -1
  179. package/UI/passkey/PasskeyLoginButton/PasskeyLoginButton.js +1 -1
  180. package/UI/passkey/PasskeyLoginButton/index.js +1 -1
  181. package/UI/walletConnect/WalletConnectLoginButton/WalletConnectLoginButton.js +1 -1
  182. package/UI/walletConnect/WalletConnectLoginButton/index.js +1 -1
  183. package/UI/walletConnect/WalletConnectLoginContainer/WalletConnectLoginContainer.js +1 -1
  184. package/UI/walletConnect/WalletConnectLoginContainer/WalletConnectLoginContent/WalletConnectLoginContent.js +1 -1
  185. package/UI/walletConnect/WalletConnectLoginContainer/WalletConnectLoginContent/index.js +1 -1
  186. package/UI/walletConnect/WalletConnectLoginContainer/index.js +1 -1
  187. package/UI/walletConnect/index.js +1 -1
  188. package/UI/webWallet/CrossWindowLoginButton/CrossWindowLoginButton.js +1 -1
  189. package/UI/webWallet/CrossWindowLoginButton/index.js +1 -1
  190. package/UI/webWallet/WebWalletLoginButton/WebWalletLoginButton.js +1 -1
  191. package/UI/webWallet/WebWalletLoginButton/index.js +1 -1
  192. package/UI/webWallet/XaliasCrossWindowLoginButton/XaliasCrossWindowLoginButton.js +1 -1
  193. package/UI/webWallet/XaliasCrossWindowLoginButton/index.js +1 -1
  194. package/UI/webWallet/XaliasLoginButton/XaliasLoginButton.js +1 -1
  195. package/UI/webWallet/XaliasLoginButton/index.js +1 -1
  196. package/__chunks__/{chunk-BLY3ZBLN.js → chunk-23PIU7R5.js} +2 -2
  197. package/__chunks__/{chunk-WQHYCXCM.js → chunk-25X5Q22A.js} +2 -2
  198. package/__chunks__/{chunk-ZGO45QH6.js → chunk-2CLNPZEM.js} +2 -2
  199. package/__chunks__/chunk-2FBBWZ5P.js +2 -0
  200. package/__chunks__/{chunk-NOR5RGAS.js → chunk-2JGQTW3X.js} +2 -2
  201. package/__chunks__/{chunk-564NV6F7.js → chunk-2KIP6RKS.js} +2 -2
  202. package/__chunks__/{chunk-RRN4UCCY.js → chunk-2O3IG4OE.js} +2 -2
  203. package/__chunks__/{chunk-2LM6VL2U.js → chunk-2O5CHQ3Y.js} +2 -2
  204. package/__chunks__/{chunk-MH26UPTH.js → chunk-2T7QOUDZ.js} +2 -2
  205. package/__chunks__/{chunk-NIC5DFYV.js → chunk-2TIFLGQT.js} +2 -2
  206. package/__chunks__/{chunk-IJZFZDM6.js → chunk-2TNJL7LK.js} +2 -2
  207. package/__chunks__/{chunk-4TSBOPCC.js → chunk-2TSCNRLF.js} +2 -2
  208. package/__chunks__/{chunk-XJTLGDZK.js → chunk-2U6KWOIS.js} +2 -2
  209. package/__chunks__/{chunk-GRXKAZ77.js → chunk-2XGU74NE.js} +2 -2
  210. package/__chunks__/{chunk-I36KJHVJ.js → chunk-342SDZIO.js} +2 -2
  211. package/__chunks__/{chunk-EAZEEFIE.js → chunk-37WVANPI.js} +2 -2
  212. package/__chunks__/{chunk-Q46WA2IT.js → chunk-3DQCBWZ4.js} +2 -2
  213. package/__chunks__/{chunk-QZCZSEKK.js → chunk-3HJO6R6W.js} +2 -2
  214. package/__chunks__/{chunk-E7KRGOJM.js → chunk-3J6UE36U.js} +2 -2
  215. package/__chunks__/{chunk-CEVQE35T.js → chunk-3KF3YZH4.js} +2 -2
  216. package/__chunks__/{chunk-UZQIN5ED.js → chunk-3MIW5GF3.js} +2 -2
  217. package/__chunks__/{chunk-RCJOAPSJ.js → chunk-3PQXUJFG.js} +2 -2
  218. package/__chunks__/{chunk-WD723L2N.js → chunk-3R3XZPGR.js} +2 -2
  219. package/__chunks__/{chunk-L5RMHDD6.js → chunk-3UA2Z47P.js} +2 -2
  220. package/__chunks__/{chunk-VJOVB2LG.js → chunk-3Y67HSJL.js} +2 -2
  221. package/__chunks__/{chunk-5IGYDXE4.js → chunk-43RMQ6DI.js} +2 -2
  222. package/__chunks__/{chunk-BRQ3LLIQ.js → chunk-4677WPLT.js} +2 -2
  223. package/__chunks__/{chunk-BEP2X3CM.js → chunk-4FRG47IP.js} +2 -2
  224. package/__chunks__/{chunk-536MTT34.js → chunk-4HUXSKRQ.js} +2 -2
  225. package/__chunks__/{chunk-7U756T66.js → chunk-4HYB7CQR.js} +2 -2
  226. package/__chunks__/{chunk-DUGJVY2A.js → chunk-4JFC7BY5.js} +2 -2
  227. package/__chunks__/{chunk-VAKTLMS2.js → chunk-4KUXVGGO.js} +2 -2
  228. package/__chunks__/{chunk-A6PXX4VJ.js → chunk-4VBOO2K6.js} +2 -2
  229. package/__chunks__/{chunk-MVHLZVMY.js → chunk-4WDBXKJS.js} +2 -2
  230. package/__chunks__/{chunk-CRHAOWL6.js → chunk-54NDMEVD.js} +2 -2
  231. package/__chunks__/{chunk-UHFLI5XY.js → chunk-5PPD7PER.js} +2 -2
  232. package/__chunks__/chunk-5RR26C73.js +2 -0
  233. package/__chunks__/{chunk-SGX2FP6L.js → chunk-5XWYFIZ4.js} +2 -2
  234. package/__chunks__/{chunk-JMAHQ2BL.js → chunk-65NUMTOS.js} +2 -2
  235. package/__chunks__/{chunk-HYMCGUQ6.js → chunk-6CE6IKEO.js} +2 -2
  236. package/__chunks__/{chunk-XKOKOYUP.js → chunk-6ENWJO37.js} +2 -2
  237. package/__chunks__/chunk-6FJKFENF.js +2 -0
  238. package/__chunks__/{chunk-7TVDOR7N.js → chunk-6HPNSTK7.js} +2 -2
  239. package/__chunks__/{chunk-QNMYZ3RM.js → chunk-6MHX4MQ7.js} +2 -2
  240. package/__chunks__/{chunk-77KYOKKC.js → chunk-6N2UYG4I.js} +2 -2
  241. package/__chunks__/{chunk-ZDHIL7U6.js → chunk-6TCJMQRO.js} +2 -2
  242. package/__chunks__/{chunk-YANJPRTD.js → chunk-6UP4NPIO.js} +2 -2
  243. package/__chunks__/{chunk-AVX3AQ3N.js → chunk-6YUYILZF.js} +2 -2
  244. package/__chunks__/{chunk-MAYLTC27.js → chunk-7A74SLMC.js} +2 -2
  245. package/__chunks__/{chunk-YSJ5ZJGW.js → chunk-7E7BSSD7.js} +2 -2
  246. package/__chunks__/{chunk-KV7Y3I64.js → chunk-7HULUVSB.js} +2 -2
  247. package/__chunks__/{chunk-CWZNQT7N.js → chunk-7KBAIJIH.js} +2 -2
  248. package/__chunks__/{chunk-U4DOT2KY.js → chunk-7PO3SR4Y.js} +2 -2
  249. package/__chunks__/{chunk-VIXRYO5M.js → chunk-7ZLGJOZQ.js} +2 -2
  250. package/__chunks__/{chunk-PESD6A3E.js → chunk-A3MTZ362.js} +2 -2
  251. package/__chunks__/{chunk-UKPODV2T.js → chunk-AJUS2CJD.js} +2 -2
  252. package/__chunks__/{chunk-7DAGL6IJ.js → chunk-AN42IZJG.js} +2 -2
  253. package/__chunks__/{chunk-CQ7KR24Z.js → chunk-ANWT4MPZ.js} +2 -2
  254. package/__chunks__/{chunk-F64VH6ES.js → chunk-AYB6WM3G.js} +2 -2
  255. package/__chunks__/{chunk-MKQWG7BY.js → chunk-AYWPYYRO.js} +2 -2
  256. package/__chunks__/chunk-B5Y4DJ3O.js +2 -0
  257. package/__chunks__/{chunk-PLI4KU46.js → chunk-BBNC4B4G.js} +2 -2
  258. package/__chunks__/{chunk-YOP6W6FX.js → chunk-BEUPJ5XB.js} +2 -2
  259. package/__chunks__/{chunk-F7YICR25.js → chunk-BMNZJEJS.js} +2 -2
  260. package/__chunks__/{chunk-HNBPEVML.js → chunk-BPB76O74.js} +2 -2
  261. package/__chunks__/{chunk-SHVHMC4R.js → chunk-BRRZGWCR.js} +2 -2
  262. package/__chunks__/{chunk-MRG43J3U.js → chunk-BYIBRL5S.js} +2 -2
  263. package/__chunks__/chunk-CG4TLD36.js +2 -0
  264. package/__chunks__/{chunk-ZHC263TM.js → chunk-CKHIGQAA.js} +2 -2
  265. package/__chunks__/{chunk-2EW3XTFM.js → chunk-COWZUBT3.js} +2 -2
  266. package/__chunks__/{chunk-QC2BD4G7.js → chunk-CS5BRRA7.js} +2 -2
  267. package/__chunks__/{chunk-LF4A4RDD.js → chunk-D6ETUJEH.js} +2 -2
  268. package/__chunks__/{chunk-LAQHUF5U.js → chunk-DIC2LITF.js} +2 -2
  269. package/__chunks__/{chunk-QIE35VSD.js → chunk-DNHBCTVE.js} +2 -2
  270. package/__chunks__/{chunk-CQFRQI7T.js → chunk-DSQAAMCT.js} +2 -2
  271. package/__chunks__/{chunk-SIB2TGMI.js → chunk-DTYNC2FT.js} +2 -2
  272. package/__chunks__/{chunk-6RHOCIBH.js → chunk-DZRZZQ7P.js} +2 -2
  273. package/__chunks__/{chunk-3YNPS2RL.js → chunk-E2VIFXOJ.js} +2 -2
  274. package/__chunks__/{chunk-Y667HOJ4.js → chunk-E4M3V4ML.js} +2 -2
  275. package/__chunks__/{chunk-7T4RV2SE.js → chunk-E5I6QGLN.js} +2 -2
  276. package/__chunks__/{chunk-PDAULZTU.js → chunk-E5SSGXGQ.js} +2 -2
  277. package/__chunks__/{chunk-PHSIO5JD.js → chunk-EKQF47OF.js} +2 -2
  278. package/__chunks__/{chunk-LXV2X3KY.js → chunk-ELGZIYJ2.js} +2 -2
  279. package/__chunks__/{chunk-EQMMGHTK.js → chunk-ELX2QM3X.js} +2 -2
  280. package/__chunks__/chunk-EXWZ6DTC.js +2 -0
  281. package/__chunks__/{chunk-CXTATLNL.js → chunk-F6HS52HQ.js} +2 -2
  282. package/__chunks__/{chunk-F25TNGFW.js → chunk-FDCLOUEV.js} +2 -2
  283. package/__chunks__/{chunk-MVWF2BZ5.js → chunk-FINTR4DJ.js} +2 -2
  284. package/__chunks__/{chunk-LI4YULOB.js → chunk-GGSGYQDG.js} +2 -2
  285. package/__chunks__/{chunk-IQTZT235.js → chunk-GJNITVL2.js} +2 -2
  286. package/__chunks__/{chunk-SZRJGC5B.js → chunk-GMEURFKH.js} +2 -2
  287. package/__chunks__/{chunk-TWUAOACP.js → chunk-GN6RC6US.js} +2 -2
  288. package/__chunks__/{chunk-DLX3CQR5.js → chunk-GQINRR4C.js} +2 -2
  289. package/__chunks__/{chunk-KFYYHQW2.js → chunk-GRXK4JO4.js} +2 -2
  290. package/__chunks__/{chunk-BQJREYR5.js → chunk-GWRXIHZU.js} +2 -2
  291. package/__chunks__/{chunk-AEXHDH54.js → chunk-GYYCSJ7F.js} +2 -2
  292. package/__chunks__/{chunk-CSN6QIDU.js → chunk-H27MS7TT.js} +2 -2
  293. package/__chunks__/chunk-H3IVFGXL.js +2 -0
  294. package/__chunks__/{chunk-LOMT2QXR.js → chunk-H75E7IWG.js} +2 -2
  295. package/__chunks__/{chunk-M7PXVQHW.js → chunk-HCAIA2LF.js} +2 -2
  296. package/__chunks__/{chunk-PB7I7YVW.js → chunk-HGSOQY2T.js} +2 -2
  297. package/__chunks__/{chunk-C243OR2M.js → chunk-HIAUC4SR.js} +2 -2
  298. package/__chunks__/{chunk-SGXA35GW.js → chunk-HPZ44IW7.js} +2 -2
  299. package/__chunks__/chunk-HWCYWBVR.js +2 -0
  300. package/__chunks__/{chunk-KNZFMGKO.js → chunk-HZUQJWJN.js} +2 -2
  301. package/__chunks__/{chunk-UROYWMSW.js → chunk-I5IVZGGO.js} +2 -2
  302. package/__chunks__/{chunk-XL5J5E3M.js → chunk-IAT5IYEG.js} +2 -2
  303. package/__chunks__/{chunk-G42O2PHI.js → chunk-IDMDI5HE.js} +2 -2
  304. package/__chunks__/chunk-ISQ6ZR4I.js +2 -0
  305. package/__chunks__/chunk-IWEDVO5G.js +2 -0
  306. package/__chunks__/chunk-IXGILEXT.js +2 -0
  307. package/__chunks__/chunk-J2DZ6ZYK.js +2 -0
  308. package/__chunks__/{chunk-5663VCTX.js → chunk-JGB7VUFN.js} +2 -2
  309. package/__chunks__/{chunk-73RDDHL6.js → chunk-JHKPHZTU.js} +2 -2
  310. package/__chunks__/{chunk-NU5YMIPG.js → chunk-JIFMNU3T.js} +2 -2
  311. package/__chunks__/{chunk-JEWD45ZA.js → chunk-JQPSMRO2.js} +2 -2
  312. package/__chunks__/{chunk-FZJUXFID.js → chunk-JXLATNJN.js} +2 -2
  313. package/__chunks__/{chunk-XQ7P6XTS.js → chunk-JYFMRPKW.js} +2 -2
  314. package/__chunks__/{chunk-ZWFDVX75.js → chunk-K34SMRXO.js} +2 -2
  315. package/__chunks__/{chunk-QMLN642B.js → chunk-KNFK23G2.js} +2 -2
  316. package/__chunks__/chunk-L27KT7X6.js +2 -0
  317. package/__chunks__/{chunk-H3ORRJ7K.js → chunk-L3NJ4PYU.js} +2 -2
  318. package/__chunks__/{chunk-VGFKGBAM.js → chunk-L75AIHGV.js} +2 -2
  319. package/__chunks__/{chunk-QZ4ARQUD.js → chunk-LUFXZRHD.js} +2 -2
  320. package/__chunks__/{chunk-OKK66CYS.js → chunk-M35TWPBX.js} +2 -2
  321. package/__chunks__/{chunk-MTOYWW2O.js → chunk-M3Z473D2.js} +2 -2
  322. package/__chunks__/{chunk-KW5XEOIE.js → chunk-M5XEF4Z7.js} +2 -2
  323. package/__chunks__/{chunk-I5OU3T4Z.js → chunk-M6UU67AG.js} +2 -2
  324. package/__chunks__/{chunk-MQEP3TR3.js → chunk-MAIN745V.js} +2 -2
  325. package/__chunks__/{chunk-TCQZWMOZ.js → chunk-MFV6JA2W.js} +2 -2
  326. package/__chunks__/{chunk-MKAVPIDK.js → chunk-MRIBWTVB.js} +2 -2
  327. package/__chunks__/{chunk-UJA2T5DU.js → chunk-MSJ6JCOL.js} +2 -2
  328. package/__chunks__/{chunk-CAYP77EJ.js → chunk-MVG2AI3H.js} +2 -2
  329. package/__chunks__/{chunk-32MXVQMR.js → chunk-MVKDLV3V.js} +2 -2
  330. package/__chunks__/{chunk-2BO3H3A4.js → chunk-MXZIPKDW.js} +2 -2
  331. package/__chunks__/{chunk-ZH2LQEMA.js → chunk-MY6OOI3O.js} +2 -2
  332. package/__chunks__/{chunk-DC3BDQXT.js → chunk-N7RPQ3BP.js} +2 -2
  333. package/__chunks__/{chunk-NWE4YSDQ.js → chunk-NEWXTL53.js} +2 -2
  334. package/__chunks__/{chunk-CJOYAXR6.js → chunk-NSI3S5SO.js} +2 -2
  335. package/__chunks__/{chunk-N4F57VT3.js → chunk-NVKAAKVX.js} +2 -2
  336. package/__chunks__/{chunk-JQROPBOH.js → chunk-NWYUN7KL.js} +2 -2
  337. package/__chunks__/{chunk-JNUYKPPB.js → chunk-NZOSK7ZG.js} +2 -2
  338. package/__chunks__/{chunk-ODNMVA7S.js → chunk-O2RCLZEJ.js} +2 -2
  339. package/__chunks__/{chunk-OGBDZWVY.js → chunk-O5LFQ7PU.js} +2 -2
  340. package/__chunks__/{chunk-BUSPFVTE.js → chunk-ODSC3OYN.js} +2 -2
  341. package/__chunks__/{chunk-2FCMHZJ3.js → chunk-OKUMDRYD.js} +2 -2
  342. package/__chunks__/{chunk-EHHOHCEP.js → chunk-OMDCIV6Y.js} +2 -2
  343. package/__chunks__/{chunk-A744KMHC.js → chunk-OTGD4JAJ.js} +2 -2
  344. package/__chunks__/{chunk-AWIIFIGE.js → chunk-OWLPJ5WC.js} +2 -2
  345. package/__chunks__/{chunk-HRPKFRNL.js → chunk-OXQSN452.js} +2 -2
  346. package/__chunks__/{chunk-BZRFIYVY.js → chunk-OYPOJX5B.js} +2 -2
  347. package/__chunks__/{chunk-CUGULQR2.js → chunk-OYW7O4D7.js} +2 -2
  348. package/__chunks__/{chunk-IKGXRBQW.js → chunk-OZJFYWEV.js} +2 -2
  349. package/__chunks__/{chunk-5KNGGIXI.js → chunk-P3LAYMNK.js} +2 -2
  350. package/__chunks__/{chunk-YEKRLOIG.js → chunk-P5BCR7DU.js} +2 -2
  351. package/__chunks__/{chunk-IG64EYIP.js → chunk-P7ZIXUCD.js} +2 -2
  352. package/__chunks__/{chunk-5H7SLGE7.js → chunk-PACECEA5.js} +2 -2
  353. package/__chunks__/{chunk-5GYK6NRP.js → chunk-PBQIRHKS.js} +2 -2
  354. package/__chunks__/{chunk-C2XF7W4Y.js → chunk-PDWUDYI7.js} +2 -2
  355. package/__chunks__/{chunk-ESGOJKAO.js → chunk-PMPEFNKQ.js} +2 -2
  356. package/__chunks__/{chunk-OLVSBW6Z.js → chunk-PRGNCJBV.js} +2 -2
  357. package/__chunks__/{chunk-TKZDFGIW.js → chunk-PVEYR3QS.js} +2 -2
  358. package/__chunks__/{chunk-77MMEHX6.js → chunk-PVP4JJQQ.js} +2 -2
  359. package/__chunks__/{chunk-HBBB7SVI.js → chunk-PYVPSLAY.js} +2 -2
  360. package/__chunks__/{chunk-2QDKJUEV.js → chunk-PYXKNIEO.js} +2 -2
  361. package/__chunks__/{chunk-T4GNVC3N.js → chunk-Q2G52LQT.js} +2 -2
  362. package/__chunks__/{chunk-USRLEA4J.js → chunk-Q3GH4AZT.js} +2 -2
  363. package/__chunks__/{chunk-DCXUDHTZ.js → chunk-Q4QKHBCF.js} +2 -2
  364. package/__chunks__/{chunk-77VYVSPJ.js → chunk-Q72IH2GP.js} +2 -2
  365. package/__chunks__/{chunk-Q2KRXQYU.js → chunk-QCCQBKIS.js} +2 -2
  366. package/__chunks__/{chunk-WUIMD22M.js → chunk-QL4WT2SV.js} +2 -2
  367. package/__chunks__/{chunk-WPWPG5LF.js → chunk-QX5K4KS5.js} +2 -2
  368. package/__chunks__/{chunk-6W5MKTNI.js → chunk-QYMCFJAE.js} +2 -2
  369. package/__chunks__/{chunk-VZMFJ3L6.js → chunk-R7WNY2SG.js} +2 -2
  370. package/__chunks__/{chunk-FV72L4PT.js → chunk-RFG6JC72.js} +2 -2
  371. package/__chunks__/{chunk-O43OMFYE.js → chunk-RS5N5Z2C.js} +2 -2
  372. package/__chunks__/{chunk-34OAFTNK.js → chunk-S3IYHRDI.js} +2 -2
  373. package/__chunks__/{chunk-UPRM463D.js → chunk-SD4OYWCY.js} +2 -2
  374. package/__chunks__/{chunk-JUD3SVIC.js → chunk-SE3W2WKX.js} +2 -2
  375. package/__chunks__/chunk-SGCSEZ5U.js +2 -0
  376. package/__chunks__/chunk-SR54XPOG.js +2 -0
  377. package/__chunks__/{chunk-UY2G6BM4.js → chunk-SR6QBXJP.js} +2 -2
  378. package/__chunks__/{chunk-R367SL3O.js → chunk-SY6WXOEE.js} +2 -2
  379. package/__chunks__/{chunk-755FPXUR.js → chunk-SZFTM37A.js} +2 -2
  380. package/__chunks__/{chunk-Z5HI6RLG.js → chunk-T4LXES6M.js} +2 -2
  381. package/__chunks__/{chunk-BYULLKGO.js → chunk-T6EPV3IF.js} +2 -2
  382. package/__chunks__/{chunk-NRBWXMDE.js → chunk-TAONSQDO.js} +2 -2
  383. package/__chunks__/{chunk-YITHAPWP.js → chunk-THIXBZRW.js} +2 -2
  384. package/__chunks__/{chunk-OJJJEDC4.js → chunk-TKK442LJ.js} +2 -2
  385. package/__chunks__/{chunk-6Q7LH6TJ.js → chunk-TNE6J45P.js} +2 -2
  386. package/__chunks__/chunk-TRNIGJBS.js +2 -0
  387. package/__chunks__/chunk-TW6MDVSJ.js +2 -0
  388. package/__chunks__/{chunk-QGZBICGM.js → chunk-U3LGK32T.js} +2 -2
  389. package/__chunks__/{chunk-NPJXLKC2.js → chunk-U6QFPKD7.js} +2 -2
  390. package/__chunks__/{chunk-CYGAXSI7.js → chunk-UABJ53XG.js} +2 -2
  391. package/__chunks__/{chunk-L6WDI3BS.js → chunk-UDO3HUUB.js} +2 -2
  392. package/__chunks__/{chunk-X3HQCV4B.js → chunk-UK5M7BDS.js} +2 -2
  393. package/__chunks__/chunk-UL6MGXCQ.js +2 -0
  394. package/__chunks__/{chunk-QQUANNU2.js → chunk-UNZT2I6H.js} +2 -2
  395. package/__chunks__/{chunk-KFKCISF3.js → chunk-UTZKTOPN.js} +2 -2
  396. package/__chunks__/{chunk-7CFCVJNF.js → chunk-UZHF4TQX.js} +2 -2
  397. package/__chunks__/chunk-UZPPUVWH.js +2 -0
  398. package/__chunks__/{chunk-CRKFA322.js → chunk-V2GNQ346.js} +2 -2
  399. package/__chunks__/{chunk-QRV3MPEI.js → chunk-V5NNO5Y6.js} +2 -2
  400. package/__chunks__/{chunk-NJ7DXG4S.js → chunk-VCOKVZDE.js} +2 -2
  401. package/__chunks__/{chunk-5ASLZSTQ.js → chunk-VEGEBRLT.js} +2 -2
  402. package/__chunks__/{chunk-Q33CK6VK.js → chunk-VLMQREQ3.js} +2 -2
  403. package/__chunks__/{chunk-K76ZDYMR.js → chunk-VU34UDK4.js} +2 -2
  404. package/__chunks__/{chunk-57M7EVQS.js → chunk-VZ3U7MRN.js} +2 -2
  405. package/__chunks__/{chunk-Q2WWJ6BA.js → chunk-W4HWWTUE.js} +2 -2
  406. package/__chunks__/{chunk-IKQBLGWE.js → chunk-WAKFYYL3.js} +2 -2
  407. package/__chunks__/{chunk-3TICMVZV.js → chunk-WATCWR7M.js} +2 -2
  408. package/__chunks__/{chunk-6S4V7EUO.js → chunk-WBKCUHYG.js} +2 -2
  409. package/__chunks__/{chunk-2STCTDXA.js → chunk-WGO3CPP6.js} +2 -2
  410. package/__chunks__/{chunk-KMJQYWK7.js → chunk-WRQX6OAA.js} +2 -2
  411. package/__chunks__/{chunk-L36LK4D5.js → chunk-WXE6E6ZO.js} +2 -2
  412. package/__chunks__/{chunk-FC5QJEM6.js → chunk-WYXPZNUG.js} +2 -2
  413. package/__chunks__/{chunk-RNO4FHDF.js → chunk-X4BV6JNR.js} +2 -2
  414. package/__chunks__/{chunk-LBZUJ63X.js → chunk-X4O7CKUP.js} +2 -2
  415. package/__chunks__/{chunk-X4NFMYKP.js → chunk-XAESEDA7.js} +2 -2
  416. package/__chunks__/{chunk-TGBIY22B.js → chunk-XCRE6SJC.js} +2 -2
  417. package/__chunks__/chunk-XHD77CKJ.js +2 -0
  418. package/__chunks__/{chunk-OW23M4HN.js → chunk-XJG2RHO3.js} +2 -2
  419. package/__chunks__/{chunk-WZZN5TQS.js → chunk-XONCQ3IS.js} +2 -2
  420. package/__chunks__/{chunk-GR2NJOJO.js → chunk-XPQ6JYKO.js} +2 -2
  421. package/__chunks__/{chunk-CQWTFZYI.js → chunk-XSFPPCNM.js} +2 -2
  422. package/__chunks__/{chunk-XNDPJ4TZ.js → chunk-XVYQURZE.js} +2 -2
  423. package/__chunks__/{chunk-YAWPRUT3.js → chunk-YBPWVTD5.js} +2 -2
  424. package/__chunks__/{chunk-3TQPQIDY.js → chunk-YR2SMTCR.js} +2 -2
  425. package/__chunks__/{chunk-RUNXYX45.js → chunk-YX4OEOIW.js} +2 -2
  426. package/__chunks__/{chunk-2CJT4K3M.js → chunk-Z43GQLAB.js} +2 -2
  427. package/__chunks__/{chunk-NZHCPUVP.js → chunk-ZBEFYGXD.js} +2 -2
  428. package/__chunks__/{chunk-VCXU4BEF.js → chunk-ZCZOG2RI.js} +2 -2
  429. package/__chunks__/{chunk-32II2CJ3.js → chunk-ZGVGRTNU.js} +2 -2
  430. package/__chunks__/{chunk-EUU5TQ4S.js → chunk-ZJC2CCGC.js} +2 -2
  431. package/__chunks__/{chunk-VU5NHCBQ.js → chunk-ZXDOYPWG.js} +2 -2
  432. package/__commonjs/UI/ExplorerLink/ExplorerLink.js +3 -3
  433. package/__commonjs/UI/ExplorerLink/index.js +3 -3
  434. package/__commonjs/UI/FormatAmount/index.js +3 -3
  435. package/__commonjs/UI/SignTransactionsModals/SignTransactionsModals.js +20 -20
  436. package/__commonjs/UI/SignTransactionsModals/SignWithDeviceModal/SignStep.js +18 -18
  437. package/__commonjs/UI/SignTransactionsModals/SignWithDeviceModal/SignWithDeviceModal.js +18 -18
  438. package/__commonjs/UI/SignTransactionsModals/SignWithDeviceModal/components/SignStepBody.js +16 -16
  439. package/__commonjs/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmAmount/components/index.js +5 -5
  440. package/__commonjs/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmFee/ConfirmFee.js +6 -6
  441. package/__commonjs/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmFee/index.js +6 -6
  442. package/__commonjs/UI/SignTransactionsModals/SignWithDeviceModal/components/components/index.js +14 -14
  443. package/__commonjs/UI/SignTransactionsModals/SignWithDeviceModal/components/index.js +16 -16
  444. package/__commonjs/UI/SignTransactionsModals/SignWithDeviceModal/index.js +18 -18
  445. package/__commonjs/UI/SignTransactionsModals/SignWithExtraModal/SignWithExtraModal.js +1 -1
  446. package/__commonjs/UI/SignTransactionsModals/SignWithExtraModal/index.js +1 -1
  447. package/__commonjs/UI/SignTransactionsModals/SignWithLedgerModal/SignWithLedgerModal.js +18 -18
  448. package/__commonjs/UI/SignTransactionsModals/SignWithLedgerModal/index.js +18 -18
  449. package/__commonjs/UI/SignTransactionsModals/SignWithMetamaskModal/SignWithMetamaskModal.js +18 -18
  450. package/__commonjs/UI/SignTransactionsModals/SignWithMetamaskModal/index.js +18 -18
  451. package/__commonjs/UI/SignTransactionsModals/components/ConfirmationScreen.js +1 -1
  452. package/__commonjs/UI/SignTransactionsModals/components/index.js +1 -1
  453. package/__commonjs/UI/SignTransactionsModals/index.js +20 -20
  454. package/__commonjs/UI/TransactionDetails/TransactionDetails.js +4 -4
  455. package/__commonjs/UI/TransactionDetails/index.js +4 -4
  456. package/__commonjs/UI/TransactionInfo/components/ScResultsList/ScResultsList.js +2 -2
  457. package/__commonjs/UI/TransactionInfo/components/ScResultsList/index.js +2 -2
  458. package/__commonjs/UI/TransactionInfo/components/TransactionAction/TransactionAction.js +4 -4
  459. package/__commonjs/UI/TransactionInfo/components/TransactionAction/components/ActionText/index.js +4 -4
  460. package/__commonjs/UI/TransactionInfo/components/TransactionAction/components/TransactionActionBlock/components/TransactionActionNft.js +4 -4
  461. package/__commonjs/UI/TransactionInfo/components/TransactionAction/components/TransactionActionBlock/index.js +3 -3
  462. package/__commonjs/UI/TransactionInfo/components/TransactionAction/components/index.js +4 -4
  463. package/__commonjs/UI/TransactionInfo/components/TransactionAction/index.js +4 -4
  464. package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoGasUsed/TransactionInfoGasUsed.js +1 -1
  465. package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoGasUsed/index.js +1 -1
  466. package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoNonce/TransactionInfoNonce.js +3 -3
  467. package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoNonce/index.js +3 -3
  468. package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoTo/TransactionInfoTo.js +16 -16
  469. package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoTo/index.js +16 -16
  470. package/__commonjs/UI/TransactionsTable/components/LockedTokenAddressIcon.js +2 -2
  471. package/__commonjs/UI/TransactionsTable/components/TransactionReceiver.js +4 -4
  472. package/__commonjs/UI/TransactionsTable/components/TransactionSender.js +5 -5
  473. package/__commonjs/UI/TransactionsToastList/components/CustomToast/components/index.js +1 -1
  474. package/__commonjs/UI/TransactionsToastList/components/TransactionToast/TransactionToast.js +4 -4
  475. package/__commonjs/UI/TransactionsToastList/components/TransactionToast/components/TransactionToastContent.js +6 -6
  476. package/__commonjs/UI/TransactionsToastList/components/TransactionToast/index.js +4 -4
  477. package/__commonjs/UI/TransactionsToastList/components/TransactionToastGuard.js +4 -4
  478. package/__commonjs/UI/index.js +64 -64
  479. package/__commonjs/UI/ledger/LedgerLoginContainer/AddressTable/AddressTable.js +7 -7
  480. package/__commonjs/UI/ledger/LedgerLoginContainer/AddressTable/index.js +7 -7
  481. package/__commonjs/UI/walletConnect/WalletConnectLoginButton/index.js +3 -3
  482. package/__commonjs/UI/walletConnect/index.js +4 -4
  483. package/__commonjs/UI/webWallet/WebWalletLoginButton/WebWalletLoginButton.js +2 -2
  484. package/__commonjs/UI/webWallet/WebWalletLoginButton/index.js +2 -2
  485. package/__commonjs/UI/webWallet/XaliasCrossWindowLoginButton/XaliasCrossWindowLoginButton.js +3 -3
  486. package/__commonjs/UI/webWallet/XaliasCrossWindowLoginButton/index.js +3 -3
  487. package/__commonjs/apiCalls/accounts/getAccountFromApi.js +1 -1
  488. package/__commonjs/apiCalls/accounts/useGetAccountFromApi.js +1 -1
  489. package/__commonjs/apiCalls/configuration/getNetworkConfig.js +1 -1
  490. package/__commonjs/apiCalls/configuration/useGetNetworkConfigFromApi.js +1 -1
  491. package/__commonjs/apiCalls/configuration/useGetServerConfigurationFromApi.js +1 -1
  492. package/__commonjs/apiCalls/transactions/useGetTransactionsFromApi.js +1 -1
  493. package/__commonjs/components/ProviderInitializer/helpers/index.js +1 -1
  494. package/__commonjs/components/TransactionsTracker/TransactionTracker.js +1 -1
  495. package/__commonjs/components/TransactionsTracker/index.js +1 -1
  496. package/__commonjs/hooks/index.js +1 -1
  497. package/__commonjs/hooks/login/useExtensionLogin.js +1 -1
  498. package/__commonjs/hooks/login/useMetamaskLogin.js +1 -1
  499. package/__commonjs/hooks/login/useWalletConnectV2Login.js +1 -1
  500. package/__commonjs/hooks/signMessage/index.js +1 -1
  501. package/__commonjs/hooks/signMessage/useSignMessage.js +1 -1
  502. package/__commonjs/hooks/transactions/batch/tracker/useCheckBatchesOnWsFailureFallback.js +1 -1
  503. package/__commonjs/hooks/transactions/batch/tracker/useCheckHangingBatchesFallback.js +1 -1
  504. package/__commonjs/hooks/transactions/batch/tracker/useUpdateBatch.js +1 -1
  505. package/__commonjs/hooks/transactions/batch/tracker/useVerifyBatchStatus.js +1 -1
  506. package/__commonjs/hooks/transactions/helpers/checkNeedsGuardianSigning.js +1 -1
  507. package/__commonjs/hooks/transactions/helpers/index.js +1 -1
  508. package/__commonjs/hooks/transactions/helpers/useGetLedgerProvider.js +1 -1
  509. package/__commonjs/hooks/transactions/index.js +1 -1
  510. package/__commonjs/hooks/transactions/useCheckTransactionStatus/index.js +1 -1
  511. package/__commonjs/hooks/transactions/useCheckTransactionStatus/useCheckTransactionStatus.js +1 -1
  512. package/__commonjs/hooks/transactions/useSignTransactions.js +1 -1
  513. package/__commonjs/hooks/transactions/useSignTransactionsWithDevice.js +1 -1
  514. package/__commonjs/hooks/transactions/useSignTransactionsWithLedger.js +1 -1
  515. package/__commonjs/hooks/transactions/useTransactionsTracker.js +1 -1
  516. package/__commonjs/hooks/websocketListener/index.js +1 -1
  517. package/__commonjs/hooks/websocketListener/useRegisterWebsocketListener.js +1 -1
  518. package/__commonjs/services/index.js +1 -1
  519. package/__commonjs/services/nativeAuth/helpers/index.js +1 -1
  520. package/__commonjs/services/transactions/index.js +1 -1
  521. package/__commonjs/services/transactions/utils.js +1 -1
  522. package/__commonjs/utils/account/getAccount.js +1 -1
  523. package/__commonjs/utils/account/getAccountBalance.js +1 -1
  524. package/__commonjs/utils/index.js +3 -3
  525. package/__commonjs/utils/operations/calculateFeeLimit.js +1 -1
  526. package/__commonjs/utils/operations/index.js +1 -1
  527. package/__commonjs/utils/transactions/batch/updateBatchTransactionsStatuses.js +1 -1
  528. package/__commonjs/utils/transactions/builtCallbackUrl.js +1 -1
  529. package/__commonjs/utils/transactions/getInterpretedTransaction/getInterpretedTransaction.js +1 -1
  530. package/__commonjs/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/getTransactionValue.js +2 -2
  531. package/__commonjs/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/helpers/getTitleText.js +1 -1
  532. package/__commonjs/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/helpers/index.js +2 -2
  533. package/__commonjs/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/index.js +2 -2
  534. package/__commonjs/utils/transactions/getInterpretedTransaction/helpers/index.js +2 -2
  535. package/__commonjs/utils/transactions/getInterpretedTransaction/index.js +2 -2
  536. package/__commonjs/utils/transactions/index.js +1 -1
  537. package/__commonjs/utils/transactions/transactionInfoHelpers/getTransactionActionNftText.js +1 -1
  538. package/__commonjs/utils/transactions/transactionInfoHelpers/getTransactionActionTokenText.js +1 -1
  539. package/__commonjs/utils/transactions/transactionInfoHelpers/index.js +1 -1
  540. package/__commonjs/utils/validation/index.js +1 -1
  541. package/__commonjs/utils/validation/stringIsFloat.js +1 -1
  542. package/__commonjs/wrappers/AppInitializer.js +1 -1
  543. package/__commonjs/wrappers/AuthenticatedRoutesWrapper/AuthenticatedRoutesWrapper.js +1 -1
  544. package/__commonjs/wrappers/AuthenticatedRoutesWrapper/index.js +1 -1
  545. package/__commonjs/wrappers/DappProvider/DappProvider.js +3 -3
  546. package/__commonjs/wrappers/DappProvider/index.js +3 -3
  547. package/__mocks__/index.js +1 -1
  548. package/__mocks__/utils/index.js +1 -1
  549. package/__mocks__/utils/renderWithProvider.js +1 -1
  550. package/apiCalls/accounts/getAccountFromApi.js +1 -1
  551. package/apiCalls/accounts/index.js +1 -1
  552. package/apiCalls/accounts/useGetAccountFromApi.js +1 -1
  553. package/apiCalls/configuration/getNetworkConfig.js +1 -1
  554. package/apiCalls/configuration/index.js +1 -1
  555. package/apiCalls/configuration/useGetNetworkConfigFromApi.js +1 -1
  556. package/apiCalls/configuration/useGetServerConfigurationFromApi.js +1 -1
  557. package/apiCalls/economics/getEconomicsInfo.js +1 -1
  558. package/apiCalls/economics/index.js +1 -1
  559. package/apiCalls/economics/useGetEconomicsInfoFromApi.js +1 -1
  560. package/apiCalls/index.js +1 -1
  561. package/apiCalls/transactions/getTransactionsByHashes.js +1 -1
  562. package/apiCalls/transactions/index.js +1 -1
  563. package/apiCalls/transactions/sendSignedBatchTransactions.js +1 -1
  564. package/apiCalls/transactions/sendSignedTransactions.js +1 -1
  565. package/apiCalls/transactions/useGetTransactionsFromApi.js +1 -1
  566. package/apiCalls/utils/getCleanApiAddress.js +1 -1
  567. package/apiCalls/utils/getScamAddressData.js +1 -1
  568. package/apiCalls/utils/index.js +1 -1
  569. package/apiCalls/utils/useApiFetch.js +1 -1
  570. package/components/LogoutListener/LogoutListener.js +1 -1
  571. package/components/LogoutListener/helpers/index.js +1 -1
  572. package/components/LogoutListener/helpers/useLogoutFromMultipleTabs.js +1 -1
  573. package/components/LogoutListener/helpers/useNativeAuthLogout.js +1 -1
  574. package/components/LogoutListener/helpers/useNativeAuthLogoutWarning/index.js +1 -1
  575. package/components/LogoutListener/helpers/useNativeAuthLogoutWarning/useNativeAuthLogoutWarning.js +1 -1
  576. package/components/LogoutListener/index.js +1 -1
  577. package/components/ProviderInitializer/ProviderInitializer.js +1 -1
  578. package/components/ProviderInitializer/helpers/index.js +1 -1
  579. package/components/ProviderInitializer/helpers/processModifiedAccount.js +1 -1
  580. package/components/ProviderInitializer/hooks/index.js +1 -1
  581. package/components/ProviderInitializer/hooks/useSetLedgerProvider.js +1 -1
  582. package/components/ProviderInitializer/index.js +1 -1
  583. package/components/TransactionSender/TransactionSender.js +1 -1
  584. package/components/TransactionSender/index.js +1 -1
  585. package/components/TransactionSender/utils/invokeSendTransactions.js +1 -1
  586. package/components/TransactionsTracker/TransactionTracker.js +1 -1
  587. package/components/TransactionsTracker/index.js +1 -1
  588. package/hooks/account/index.js +1 -1
  589. package/hooks/account/useGetAccount.js +1 -1
  590. package/hooks/account/useGetAccountInfo.js +1 -1
  591. package/hooks/account/useGetBatchWebsocketEvent.js +1 -1
  592. package/hooks/account/useGetIsLoggedIn.js +1 -1
  593. package/hooks/account/useGetIsWalletConnectV2Initialized.js +1 -1
  594. package/hooks/account/useGetLoginInfo.js +1 -1
  595. package/hooks/account/useGetWebsocketEvent.js +1 -1
  596. package/hooks/economics/index.js +1 -1
  597. package/hooks/economics/useGetEgldPrice.js +1 -1
  598. package/hooks/index.js +1 -1
  599. package/hooks/login/index.js +1 -1
  600. package/hooks/login/useCrossWindowLogin.js +1 -1
  601. package/hooks/login/useExtensionLogin.js +1 -1
  602. package/hooks/login/useGetModalLoginMethods.js +1 -1
  603. package/hooks/login/useIframeLogin.js +1 -1
  604. package/hooks/login/useLedgerLogin.js +1 -1
  605. package/hooks/login/useLoginService.js +1 -1
  606. package/hooks/login/useMetamaskLogin.js +1 -1
  607. package/hooks/login/useOperaLogin.js +1 -1
  608. package/hooks/login/usePasskeyLogin.js +1 -1
  609. package/hooks/login/useWalletConnectV2Login.js +1 -1
  610. package/hooks/login/useWebViewLogin.js +1 -1
  611. package/hooks/login/useWebWalletLogin.js +1 -1
  612. package/hooks/login/useXaliasLogin.js +1 -1
  613. package/hooks/signMessage/index.js +1 -1
  614. package/hooks/signMessage/useGetLastSignedMessageSession.js +1 -1
  615. package/hooks/signMessage/useGetSignMessageSession.js +1 -1
  616. package/hooks/signMessage/useGetSignedMessageStatus.js +1 -1
  617. package/hooks/signMessage/useSignMessage.js +1 -1
  618. package/hooks/toasts/index.js +1 -1
  619. package/hooks/toasts/useGetToasts.js +1 -1
  620. package/hooks/toasts/useTransactionsToasts.js +1 -1
  621. package/hooks/transactions/batch/tracker/useBatchTransactionsTracker.js +1 -1
  622. package/hooks/transactions/batch/tracker/useCheckBatch.js +1 -1
  623. package/hooks/transactions/batch/tracker/useCheckBatchesOnWsFailureFallback.js +1 -1
  624. package/hooks/transactions/batch/tracker/useCheckHangingBatchesFallback.js +1 -1
  625. package/hooks/transactions/batch/tracker/useUpdateBatch.js +1 -1
  626. package/hooks/transactions/batch/tracker/useVerifyBatchStatus.js +1 -1
  627. package/hooks/transactions/batch/useGetBatchStatus.js +1 -1
  628. package/hooks/transactions/batch/useResolveBatchStatusResponse.js +1 -1
  629. package/hooks/transactions/batch/useSendBatchTransactions.js +1 -1
  630. package/hooks/transactions/helpers/checkNeedsGuardianSigning.js +1 -1
  631. package/hooks/transactions/helpers/getShouldMoveTransactionsToSignedState.js +1 -1
  632. package/hooks/transactions/helpers/index.js +1 -1
  633. package/hooks/transactions/helpers/useGetLedgerProvider.js +1 -1
  634. package/hooks/transactions/helpers/useSetTransactionNonces.js +1 -1
  635. package/hooks/transactions/index.js +1 -1
  636. package/hooks/transactions/useCheckTransactionStatus/checkBatch.js +1 -1
  637. package/hooks/transactions/useCheckTransactionStatus/index.js +1 -1
  638. package/hooks/transactions/useCheckTransactionStatus/useCheckTransactionStatus.js +1 -1
  639. package/hooks/transactions/useGetActiveTransactionsStatus.js +1 -1
  640. package/hooks/transactions/useGetFailedTransactions.js +1 -1
  641. package/hooks/transactions/useGetLastPendingTransactionHash.js +1 -1
  642. package/hooks/transactions/useGetPendingTransactions.js +1 -1
  643. package/hooks/transactions/useGetPollingInterval.js +1 -1
  644. package/hooks/transactions/useGetSignTransactionsError.js +1 -1
  645. package/hooks/transactions/useGetSignedTransactions.js +1 -1
  646. package/hooks/transactions/useGetSuccessfulTransactions.js +1 -1
  647. package/hooks/transactions/useGetTokenDetails.js +1 -1
  648. package/hooks/transactions/useGetTransactionDisplayInfo.js +1 -1
  649. package/hooks/transactions/useParseSignedTransactions.js +1 -1
  650. package/hooks/transactions/useSignMultipleTransactions.js +1 -1
  651. package/hooks/transactions/useSignTransactions.js +1 -1
  652. package/hooks/transactions/useSignTransactionsCommonData.js +1 -1
  653. package/hooks/transactions/useSignTransactionsWithDevice.js +1 -1
  654. package/hooks/transactions/useSignTransactionsWithLedger.js +1 -1
  655. package/hooks/transactions/useTrackTransactionStatus.js +1 -1
  656. package/hooks/transactions/useTransactionsTracker.js +1 -1
  657. package/hooks/useGetNetworkConfig.js +1 -1
  658. package/hooks/useGetNotification.js +1 -1
  659. package/hooks/websocketListener/index.js +1 -1
  660. package/hooks/websocketListener/useInitializeWebsocketConnection.js +1 -1
  661. package/hooks/websocketListener/useRegisterWebsocketListener.js +1 -1
  662. package/package.json +1 -1
  663. package/providers/experimentalWebViewProvider/ExperimentalWebviewProvider.js +1 -1
  664. package/providers/experimentalWebViewProvider/index.js +1 -1
  665. package/reduxStore/selectors/index.js +1 -1
  666. package/reduxStore/selectors/transactionsSelectors.js +1 -1
  667. package/services/index.js +1 -1
  668. package/services/nativeAuth/helpers/getAuthorizationInfo.js +1 -1
  669. package/services/nativeAuth/helpers/getIsNativeAuthSingingForbidden.js +1 -1
  670. package/services/nativeAuth/helpers/index.js +1 -1
  671. package/services/transactions/clearTransactions.js +1 -1
  672. package/services/transactions/getBatchTransactionsStatus.js +1 -1
  673. package/services/transactions/getTransactionsDetails.js +1 -1
  674. package/services/transactions/index.js +1 -1
  675. package/services/transactions/sendBatchTransactions.js +1 -1
  676. package/services/transactions/sendBatchTransactions.test.js +1 -1
  677. package/services/transactions/sendTransactions.js +1 -1
  678. package/services/transactions/transformAndSignTransactions.js +1 -1
  679. package/services/transactions/utils/transformTransactionsToSign.js +1 -1
  680. package/services/transactions/utils.js +1 -1
  681. package/utils/account/getAccount.js +1 -1
  682. package/utils/account/getAccountBalance.js +1 -1
  683. package/utils/account/getAccountShard.js +1 -1
  684. package/utils/account/getAddress.js +1 -1
  685. package/utils/account/getLatestNonce.js +1 -1
  686. package/utils/account/getWebviewToken.js +1 -1
  687. package/utils/account/index.js +1 -1
  688. package/utils/account/refreshAccount.js +1 -1
  689. package/utils/account/signMessage.js +1 -1
  690. package/utils/getIsLoggedIn.js +1 -1
  691. package/utils/index.js +1 -1
  692. package/utils/logout.js +1 -1
  693. package/utils/network/getChainID.js +1 -1
  694. package/utils/network/getEgldLabel.js +1 -1
  695. package/utils/network/getNetworkConfig.js +1 -1
  696. package/utils/network/index.js +1 -1
  697. package/utils/operations/calculateFeeLimit.js +1 -1
  698. package/utils/operations/index.js +1 -1
  699. package/utils/transactions/batch/updateBatchTransactionsStatuses.js +1 -1
  700. package/utils/transactions/builtCallbackUrl.js +1 -1
  701. package/utils/transactions/getAllTransactionsLink.js +1 -1
  702. package/utils/transactions/getInterpretedTransaction/getInterpretedTransaction.js +1 -1
  703. package/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/getTransactionValue.js +1 -1
  704. package/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/helpers/getTitleText.js +1 -1
  705. package/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/helpers/index.js +1 -1
  706. package/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/index.js +1 -1
  707. package/utils/transactions/getInterpretedTransaction/helpers/index.js +1 -1
  708. package/utils/transactions/getInterpretedTransaction/index.js +1 -1
  709. package/utils/transactions/getOperationsDetails.js +1 -1
  710. package/utils/transactions/getTransactionLink.js +1 -1
  711. package/utils/transactions/index.js +1 -1
  712. package/utils/transactions/transactionInfoHelpers/getTransactionActionNftText.js +1 -1
  713. package/utils/transactions/transactionInfoHelpers/getTransactionActionTokenText.js +1 -1
  714. package/utils/transactions/transactionInfoHelpers/index.js +1 -1
  715. package/utils/validation/index.js +1 -1
  716. package/utils/validation/stringIsFloat.js +1 -1
  717. package/utils/waitForChainID.js +1 -1
  718. package/web/hooks/index.js +1 -1
  719. package/web/hooks/useIdleTimer.js +1 -1
  720. package/web/index.js +1 -1
  721. package/wrappers/AppInitializer.js +1 -1
  722. package/wrappers/AuthenticatedRoutesWrapper/AuthenticatedRoutesWrapper.js +1 -1
  723. package/wrappers/AuthenticatedRoutesWrapper/index.js +1 -1
  724. package/wrappers/AxiosInterceptorContext/AxiosInterceptorContext.js +1 -1
  725. package/wrappers/AxiosInterceptorContext/components/AxiosInterceptor.js +1 -1
  726. package/wrappers/AxiosInterceptorContext/components/AxiosInterceptorContextProvider.js +1 -1
  727. package/wrappers/AxiosInterceptorContext/components/LoginInfoListener.js +1 -1
  728. package/wrappers/AxiosInterceptorContext/components/index.js +1 -1
  729. package/wrappers/AxiosInterceptorContext/index.js +1 -1
  730. package/wrappers/DappProvider/CustomComponents.js +1 -1
  731. package/wrappers/DappProvider/DappProvider.js +1 -1
  732. package/wrappers/DappProvider/index.js +1 -1
  733. package/wrappers/index.js +1 -1
  734. package/__chunks__/chunk-4IENPX4H.js +0 -2
  735. package/__chunks__/chunk-5ABZIP67.js +0 -2
  736. package/__chunks__/chunk-BBXPKZZG.js +0 -2
  737. package/__chunks__/chunk-CKDNZSN6.js +0 -2
  738. package/__chunks__/chunk-DAU32KDC.js +0 -2
  739. package/__chunks__/chunk-IKH6YE2P.js +0 -2
  740. package/__chunks__/chunk-JIUK364I.js +0 -2
  741. package/__chunks__/chunk-KZY4LCNF.js +0 -2
  742. package/__chunks__/chunk-LCR5C4ZS.js +0 -2
  743. package/__chunks__/chunk-LI32F4IE.js +0 -2
  744. package/__chunks__/chunk-PBMVDTRI.js +0 -2
  745. package/__chunks__/chunk-PKFKI3LD.js +0 -2
  746. package/__chunks__/chunk-PQC5B6GG.js +0 -2
  747. package/__chunks__/chunk-QJZTCHB4.js +0 -2
  748. package/__chunks__/chunk-QSJIOSJN.js +0 -2
  749. package/__chunks__/chunk-SRVPLYUK.js +0 -2
  750. package/__chunks__/chunk-VMDD5SZJ.js +0 -2
  751. package/__chunks__/chunk-YC2H4IT7.js +0 -2
  752. package/__chunks__/chunk-YG7S2B67.js +0 -2
  753. package/__chunks__/chunk-YUHSF3WL.js +0 -2
@@ -1,5 +1,5 @@
1
- "use strict";var zr=Object.create;var J=Object.defineProperty,Kr=Object.defineProperties,Xr=Object.getOwnPropertyDescriptor,Yr=Object.getOwnPropertyDescriptors,Zr=Object.getOwnPropertyNames,Be=Object.getOwnPropertySymbols,Jr=Object.getPrototypeOf,Pe=Object.prototype.hasOwnProperty,Qr=Object.prototype.propertyIsEnumerable;var Ue=(t,e,r)=>e in t?J(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,D=(t,e)=>{for(var r in e||(e={}))Pe.call(e,r)&&Ue(t,r,e[r]);if(Be)for(var r of Be(e))Qr.call(e,r)&&Ue(t,r,e[r]);return t},ne=(t,e)=>Kr(t,Yr(e));var et=(t,e)=>()=>(t&&(e=t(t=0)),e);var ie=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),rt=(t,e)=>{for(var r in e)J(t,r,{get:e[r],enumerable:!0})},Me=(t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of Zr(e))!Pe.call(t,i)&&i!==r&&J(t,i,{get:()=>e[i],enumerable:!(n=Xr(e,i))||n.enumerable});return t};var U=(t,e,r)=>(r=t!=null?zr(Jr(t)):{},Me(e||!t||!t.__esModule?J(r,"default",{value:t,enumerable:!0}):r,t)),tt=t=>Me(J({},"__esModule",{value:!0}),t);var We=ie(oe=>{"use strict";s();oe.byteLength=it;oe.toByteArray=at;oe.fromByteArray=ct;var N=[],A=[],nt=typeof Uint8Array!="undefined"?Uint8Array:Array,he="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(V=0,Ge=he.length;V<Ge;++V)N[V]=he[V],A[he.charCodeAt(V)]=V;var V,Ge;A["-".charCodeAt(0)]=62;A["_".charCodeAt(0)]=63;function Ve(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 it(t){var e=Ve(t),r=e[0],n=e[1];return(r+n)*3/4-n}function ot(t,e,r){return(e+r)*3/4-r}function at(t){var e,r=Ve(t),n=r[0],i=r[1],o=new nt(ot(t,n,i)),a=0,p=i>0?n-4:n,g;for(g=0;g<p;g+=4)e=A[t.charCodeAt(g)]<<18|A[t.charCodeAt(g+1)]<<12|A[t.charCodeAt(g+2)]<<6|A[t.charCodeAt(g+3)],o[a++]=e>>16&255,o[a++]=e>>8&255,o[a++]=e&255;return i===2&&(e=A[t.charCodeAt(g)]<<2|A[t.charCodeAt(g+1)]>>4,o[a++]=e&255),i===1&&(e=A[t.charCodeAt(g)]<<10|A[t.charCodeAt(g+1)]<<4|A[t.charCodeAt(g+2)]>>2,o[a++]=e>>8&255,o[a++]=e&255),o}function st(t){return N[t>>18&63]+N[t>>12&63]+N[t>>6&63]+N[t&63]}function lt(t,e,r){for(var n,i=[],o=e;o<r;o+=3)n=(t[o]<<16&16711680)+(t[o+1]<<8&65280)+(t[o+2]&255),i.push(st(n));return i.join("")}function ct(t){for(var e,r=t.length,n=r%3,i=[],o=16383,a=0,p=r-n;a<p;a+=o)i.push(lt(t,a,a+o>p?p:a+o));return n===1?(e=t[r-1],i.push(N[e>>2]+N[e<<4&63]+"==")):n===2&&(e=(t[r-2]<<8)+t[r-1],i.push(N[e>>10]+N[e>>4&63]+N[e<<2&63]+"=")),i.join("")}});var $e=ie(ye=>{s();ye.read=function(t,e,r,n,i){var o,a,p=i*8-n-1,g=(1<<p)-1,m=g>>1,h=-7,f=r?i-1:0,y=r?-1:1,T=t[e+f];for(f+=y,o=T&(1<<-h)-1,T>>=-h,h+=p;h>0;o=o*256+t[e+f],f+=y,h-=8);for(a=o&(1<<-h)-1,o>>=-h,h+=n;h>0;a=a*256+t[e+f],f+=y,h-=8);if(o===0)o=1-m;else{if(o===g)return a?NaN:(T?-1:1)*(1/0);a=a+Math.pow(2,n),o=o-m}return(T?-1:1)*a*Math.pow(2,o-n)};ye.write=function(t,e,r,n,i,o){var a,p,g,m=o*8-i-1,h=(1<<m)-1,f=h>>1,y=i===23?Math.pow(2,-24)-Math.pow(2,-77):0,T=n?0:o-1,w=n?1:-1,q=e<0||e===0&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(p=isNaN(e)?1:0,a=h):(a=Math.floor(Math.log(e)/Math.LN2),e*(g=Math.pow(2,-a))<1&&(a--,g*=2),a+f>=1?e+=y/g:e+=y*Math.pow(2,1-f),e*g>=2&&(a++,g/=2),a+f>=h?(p=0,a=h):a+f>=1?(p=(e*g-1)*Math.pow(2,i),a=a+f):(p=e*Math.pow(2,f-1)*Math.pow(2,i),a=0));i>=8;t[r+T]=p&255,T+=w,p/=256,i-=8);for(a=a<<i|p,m+=i;m>0;t[r+T]=a&255,T+=w,a/=256,m-=8);t[r+T-w]|=q*128}});var tr=ie(z=>{"use strict";s();var xe=We(),j=$e(),He=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;z.Buffer=l;z.SlowBuffer=ft;z.INSPECT_MAX_BYTES=50;var ae=2147483647;z.kMaxLength=ae;l.TYPED_ARRAY_SUPPORT=ut();!l.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 ut(){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(l.prototype,"parent",{enumerable:!0,get:function(){if(!!l.isBuffer(this))return this.buffer}});Object.defineProperty(l.prototype,"offset",{enumerable:!0,get:function(){if(!!l.isBuffer(this))return this.byteOffset}});function F(t){if(t>ae)throw new RangeError('The value "'+t+'" is invalid for option "size"');var e=new Uint8Array(t);return Object.setPrototypeOf(e,l.prototype),e}function l(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 ve(t)}return ze(t,e,r)}l.poolSize=8192;function ze(t,e,r){if(typeof t=="string")return dt(t,e);if(ArrayBuffer.isView(t))return gt(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(_(t,ArrayBuffer)||t&&_(t.buffer,ArrayBuffer)||typeof SharedArrayBuffer!="undefined"&&(_(t,SharedArrayBuffer)||t&&_(t.buffer,SharedArrayBuffer)))return be(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 l.from(n,e,r);var i=mt(t);if(i)return i;if(typeof Symbol!="undefined"&&Symbol.toPrimitive!=null&&typeof t[Symbol.toPrimitive]=="function")return l.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)}l.from=function(t,e,r){return ze(t,e,r)};Object.setPrototypeOf(l.prototype,Uint8Array.prototype);Object.setPrototypeOf(l,Uint8Array);function Ke(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 pt(t,e,r){return Ke(t),t<=0?F(t):e!==void 0?typeof r=="string"?F(t).fill(e,r):F(t).fill(e):F(t)}l.alloc=function(t,e,r){return pt(t,e,r)};function ve(t){return Ke(t),F(t<0?0:ke(t)|0)}l.allocUnsafe=function(t){return ve(t)};l.allocUnsafeSlow=function(t){return ve(t)};function dt(t,e){if((typeof e!="string"||e==="")&&(e="utf8"),!l.isEncoding(e))throw new TypeError("Unknown encoding: "+e);var r=Xe(t,e)|0,n=F(r),i=n.write(t,e);return i!==r&&(n=n.slice(0,i)),n}function Te(t){for(var e=t.length<0?0:ke(t.length)|0,r=F(e),n=0;n<e;n+=1)r[n]=t[n]&255;return r}function gt(t){if(_(t,Uint8Array)){var e=new Uint8Array(t);return be(e.buffer,e.byteOffset,e.byteLength)}return Te(t)}function be(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,l.prototype),n}function mt(t){if(l.isBuffer(t)){var e=ke(t.length)|0,r=F(e);return r.length===0||t.copy(r,0,0,e),r}if(t.length!==void 0)return typeof t.length!="number"||Ae(t.length)?F(0):Te(t);if(t.type==="Buffer"&&Array.isArray(t.data))return Te(t.data)}function ke(t){if(t>=ae)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+ae.toString(16)+" bytes");return t|0}function ft(t){return+t!=t&&(t=0),l.alloc(+t)}l.isBuffer=function(e){return e!=null&&e._isBuffer===!0&&e!==l.prototype};l.compare=function(e,r){if(_(e,Uint8Array)&&(e=l.from(e,e.offset,e.byteLength)),_(r,Uint8Array)&&(r=l.from(r,r.offset,r.byteLength)),!l.isBuffer(e)||!l.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,i=r.length,o=0,a=Math.min(n,i);o<a;++o)if(e[o]!==r[o]){n=e[o],i=r[o];break}return n<i?-1:i<n?1:0};l.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}};l.concat=function(e,r){if(!Array.isArray(e))throw new TypeError('"list" argument must be an Array of Buffers');if(e.length===0)return l.alloc(0);var n;if(r===void 0)for(r=0,n=0;n<e.length;++n)r+=e[n].length;var i=l.allocUnsafe(r),o=0;for(n=0;n<e.length;++n){var a=e[n];if(_(a,Uint8Array))o+a.length>i.length?l.from(a).copy(i,o):Uint8Array.prototype.set.call(i,a,o);else if(l.isBuffer(a))a.copy(i,o);else throw new TypeError('"list" argument must be an Array of Buffers');o+=a.length}return i};function Xe(t,e){if(l.isBuffer(t))return t.length;if(ArrayBuffer.isView(t)||_(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 i=!1;;)switch(e){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":return we(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return r*2;case"hex":return r>>>1;case"base64":return rr(t).length;default:if(i)return n?-1:we(t).length;e=(""+e).toLowerCase(),i=!0}}l.byteLength=Xe;function ht(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 St(this,e,r);case"utf8":case"utf-8":return Ze(this,e,r);case"ascii":return At(this,e,r);case"latin1":case"binary":return It(this,e,r);case"base64":return vt(this,e,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Nt(this,e,r);default:if(n)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),n=!0}}l.prototype._isBuffer=!0;function W(t,e,r){var n=t[e];t[e]=t[r],t[r]=n}l.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)W(this,r,r+1);return this};l.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)W(this,r,r+3),W(this,r+1,r+2);return this};l.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)W(this,r,r+7),W(this,r+1,r+6),W(this,r+2,r+5),W(this,r+3,r+4);return this};l.prototype.toString=function(){var e=this.length;return e===0?"":arguments.length===0?Ze(this,0,e):ht.apply(this,arguments)};l.prototype.toLocaleString=l.prototype.toString;l.prototype.equals=function(e){if(!l.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e?!0:l.compare(this,e)===0};l.prototype.inspect=function(){var e="",r=z.INSPECT_MAX_BYTES;return e=this.toString("hex",0,r).replace(/(.{2})/g,"$1 ").trim(),this.length>r&&(e+=" ... "),"<Buffer "+e+">"};He&&(l.prototype[He]=l.prototype.inspect);l.prototype.compare=function(e,r,n,i,o){if(_(e,Uint8Array)&&(e=l.from(e,e.offset,e.byteLength)),!l.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),i===void 0&&(i=0),o===void 0&&(o=this.length),r<0||n>e.length||i<0||o>this.length)throw new RangeError("out of range index");if(i>=o&&r>=n)return 0;if(i>=o)return-1;if(r>=n)return 1;if(r>>>=0,n>>>=0,i>>>=0,o>>>=0,this===e)return 0;for(var a=o-i,p=n-r,g=Math.min(a,p),m=this.slice(i,o),h=e.slice(r,n),f=0;f<g;++f)if(m[f]!==h[f]){a=m[f],p=h[f];break}return a<p?-1:p<a?1:0};function Ye(t,e,r,n,i){if(t.length===0)return-1;if(typeof r=="string"?(n=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),r=+r,Ae(r)&&(r=i?0:t.length-1),r<0&&(r=t.length+r),r>=t.length){if(i)return-1;r=t.length-1}else if(r<0)if(i)r=0;else return-1;if(typeof e=="string"&&(e=l.from(e,n)),l.isBuffer(e))return e.length===0?-1:qe(t,e,r,n,i);if(typeof e=="number")return e=e&255,typeof Uint8Array.prototype.indexOf=="function"?i?Uint8Array.prototype.indexOf.call(t,e,r):Uint8Array.prototype.lastIndexOf.call(t,e,r):qe(t,[e],r,n,i);throw new TypeError("val must be string, number or Buffer")}function qe(t,e,r,n,i){var o=1,a=t.length,p=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;o=2,a/=2,p/=2,r/=2}function g(T,w){return o===1?T[w]:T.readUInt16BE(w*o)}var m;if(i){var h=-1;for(m=r;m<a;m++)if(g(t,m)===g(e,h===-1?0:m-h)){if(h===-1&&(h=m),m-h+1===p)return h*o}else h!==-1&&(m-=m-h),h=-1}else for(r+p>a&&(r=a-p),m=r;m>=0;m--){for(var f=!0,y=0;y<p;y++)if(g(t,m+y)!==g(e,y)){f=!1;break}if(f)return m}return-1}l.prototype.includes=function(e,r,n){return this.indexOf(e,r,n)!==-1};l.prototype.indexOf=function(e,r,n){return Ye(this,e,r,n,!0)};l.prototype.lastIndexOf=function(e,r,n){return Ye(this,e,r,n,!1)};function yt(t,e,r,n){r=Number(r)||0;var i=t.length-r;n?(n=Number(n),n>i&&(n=i)):n=i;var o=e.length;n>o/2&&(n=o/2);for(var a=0;a<n;++a){var p=parseInt(e.substr(a*2,2),16);if(Ae(p))return a;t[r+a]=p}return a}function xt(t,e,r,n){return se(we(e,t.length-r),t,r,n)}function Tt(t,e,r,n){return se(Rt(e),t,r,n)}function bt(t,e,r,n){return se(rr(e),t,r,n)}function wt(t,e,r,n){return se(Lt(e,t.length-r),t,r,n)}l.prototype.write=function(e,r,n,i){if(r===void 0)i="utf8",n=this.length,r=0;else if(n===void 0&&typeof r=="string")i=r,n=this.length,r=0;else if(isFinite(r))r=r>>>0,isFinite(n)?(n=n>>>0,i===void 0&&(i="utf8")):(i=n,n=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var o=this.length-r;if((n===void 0||n>o)&&(n=o),e.length>0&&(n<0||r<0)||r>this.length)throw new RangeError("Attempt to write outside buffer bounds");i||(i="utf8");for(var a=!1;;)switch(i){case"hex":return yt(this,e,r,n);case"utf8":case"utf-8":return xt(this,e,r,n);case"ascii":case"latin1":case"binary":return Tt(this,e,r,n);case"base64":return bt(this,e,r,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return wt(this,e,r,n);default:if(a)throw new TypeError("Unknown encoding: "+i);i=(""+i).toLowerCase(),a=!0}};l.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function vt(t,e,r){return e===0&&r===t.length?xe.fromByteArray(t):xe.fromByteArray(t.slice(e,r))}function Ze(t,e,r){r=Math.min(t.length,r);for(var n=[],i=e;i<r;){var o=t[i],a=null,p=o>239?4:o>223?3:o>191?2:1;if(i+p<=r){var g,m,h,f;switch(p){case 1:o<128&&(a=o);break;case 2:g=t[i+1],(g&192)===128&&(f=(o&31)<<6|g&63,f>127&&(a=f));break;case 3:g=t[i+1],m=t[i+2],(g&192)===128&&(m&192)===128&&(f=(o&15)<<12|(g&63)<<6|m&63,f>2047&&(f<55296||f>57343)&&(a=f));break;case 4:g=t[i+1],m=t[i+2],h=t[i+3],(g&192)===128&&(m&192)===128&&(h&192)===128&&(f=(o&15)<<18|(g&63)<<12|(m&63)<<6|h&63,f>65535&&f<1114112&&(a=f))}}a===null?(a=65533,p=1):a>65535&&(a-=65536,n.push(a>>>10&1023|55296),a=56320|a&1023),n.push(a),i+=p}return kt(n)}var je=4096;function kt(t){var e=t.length;if(e<=je)return String.fromCharCode.apply(String,t);for(var r="",n=0;n<e;)r+=String.fromCharCode.apply(String,t.slice(n,n+=je));return r}function At(t,e,r){var n="";r=Math.min(t.length,r);for(var i=e;i<r;++i)n+=String.fromCharCode(t[i]&127);return n}function It(t,e,r){var n="";r=Math.min(t.length,r);for(var i=e;i<r;++i)n+=String.fromCharCode(t[i]);return n}function St(t,e,r){var n=t.length;(!e||e<0)&&(e=0),(!r||r<0||r>n)&&(r=n);for(var i="",o=e;o<r;++o)i+=Dt[t[o]];return i}function Nt(t,e,r){for(var n=t.slice(e,r),i="",o=0;o<n.length-1;o+=2)i+=String.fromCharCode(n[o]+n[o+1]*256);return i}l.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 i=this.subarray(e,r);return Object.setPrototypeOf(i,l.prototype),i};function b(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")}l.prototype.readUintLE=l.prototype.readUIntLE=function(e,r,n){e=e>>>0,r=r>>>0,n||b(e,r,this.length);for(var i=this[e],o=1,a=0;++a<r&&(o*=256);)i+=this[e+a]*o;return i};l.prototype.readUintBE=l.prototype.readUIntBE=function(e,r,n){e=e>>>0,r=r>>>0,n||b(e,r,this.length);for(var i=this[e+--r],o=1;r>0&&(o*=256);)i+=this[e+--r]*o;return i};l.prototype.readUint8=l.prototype.readUInt8=function(e,r){return e=e>>>0,r||b(e,1,this.length),this[e]};l.prototype.readUint16LE=l.prototype.readUInt16LE=function(e,r){return e=e>>>0,r||b(e,2,this.length),this[e]|this[e+1]<<8};l.prototype.readUint16BE=l.prototype.readUInt16BE=function(e,r){return e=e>>>0,r||b(e,2,this.length),this[e]<<8|this[e+1]};l.prototype.readUint32LE=l.prototype.readUInt32LE=function(e,r){return e=e>>>0,r||b(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+this[e+3]*16777216};l.prototype.readUint32BE=l.prototype.readUInt32BE=function(e,r){return e=e>>>0,r||b(e,4,this.length),this[e]*16777216+(this[e+1]<<16|this[e+2]<<8|this[e+3])};l.prototype.readIntLE=function(e,r,n){e=e>>>0,r=r>>>0,n||b(e,r,this.length);for(var i=this[e],o=1,a=0;++a<r&&(o*=256);)i+=this[e+a]*o;return o*=128,i>=o&&(i-=Math.pow(2,8*r)),i};l.prototype.readIntBE=function(e,r,n){e=e>>>0,r=r>>>0,n||b(e,r,this.length);for(var i=r,o=1,a=this[e+--i];i>0&&(o*=256);)a+=this[e+--i]*o;return o*=128,a>=o&&(a-=Math.pow(2,8*r)),a};l.prototype.readInt8=function(e,r){return e=e>>>0,r||b(e,1,this.length),this[e]&128?(255-this[e]+1)*-1:this[e]};l.prototype.readInt16LE=function(e,r){e=e>>>0,r||b(e,2,this.length);var n=this[e]|this[e+1]<<8;return n&32768?n|4294901760:n};l.prototype.readInt16BE=function(e,r){e=e>>>0,r||b(e,2,this.length);var n=this[e+1]|this[e]<<8;return n&32768?n|4294901760:n};l.prototype.readInt32LE=function(e,r){return e=e>>>0,r||b(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24};l.prototype.readInt32BE=function(e,r){return e=e>>>0,r||b(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]};l.prototype.readFloatLE=function(e,r){return e=e>>>0,r||b(e,4,this.length),j.read(this,e,!0,23,4)};l.prototype.readFloatBE=function(e,r){return e=e>>>0,r||b(e,4,this.length),j.read(this,e,!1,23,4)};l.prototype.readDoubleLE=function(e,r){return e=e>>>0,r||b(e,8,this.length),j.read(this,e,!0,52,8)};l.prototype.readDoubleBE=function(e,r){return e=e>>>0,r||b(e,8,this.length),j.read(this,e,!1,52,8)};function v(t,e,r,n,i,o){if(!l.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>i||e<o)throw new RangeError('"value" argument is out of bounds');if(r+n>t.length)throw new RangeError("Index out of range")}l.prototype.writeUintLE=l.prototype.writeUIntLE=function(e,r,n,i){if(e=+e,r=r>>>0,n=n>>>0,!i){var o=Math.pow(2,8*n)-1;v(this,e,r,n,o,0)}var a=1,p=0;for(this[r]=e&255;++p<n&&(a*=256);)this[r+p]=e/a&255;return r+n};l.prototype.writeUintBE=l.prototype.writeUIntBE=function(e,r,n,i){if(e=+e,r=r>>>0,n=n>>>0,!i){var o=Math.pow(2,8*n)-1;v(this,e,r,n,o,0)}var a=n-1,p=1;for(this[r+a]=e&255;--a>=0&&(p*=256);)this[r+a]=e/p&255;return r+n};l.prototype.writeUint8=l.prototype.writeUInt8=function(e,r,n){return e=+e,r=r>>>0,n||v(this,e,r,1,255,0),this[r]=e&255,r+1};l.prototype.writeUint16LE=l.prototype.writeUInt16LE=function(e,r,n){return e=+e,r=r>>>0,n||v(this,e,r,2,65535,0),this[r]=e&255,this[r+1]=e>>>8,r+2};l.prototype.writeUint16BE=l.prototype.writeUInt16BE=function(e,r,n){return e=+e,r=r>>>0,n||v(this,e,r,2,65535,0),this[r]=e>>>8,this[r+1]=e&255,r+2};l.prototype.writeUint32LE=l.prototype.writeUInt32LE=function(e,r,n){return e=+e,r=r>>>0,n||v(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};l.prototype.writeUint32BE=l.prototype.writeUInt32BE=function(e,r,n){return e=+e,r=r>>>0,n||v(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};l.prototype.writeIntLE=function(e,r,n,i){if(e=+e,r=r>>>0,!i){var o=Math.pow(2,8*n-1);v(this,e,r,n,o-1,-o)}var a=0,p=1,g=0;for(this[r]=e&255;++a<n&&(p*=256);)e<0&&g===0&&this[r+a-1]!==0&&(g=1),this[r+a]=(e/p>>0)-g&255;return r+n};l.prototype.writeIntBE=function(e,r,n,i){if(e=+e,r=r>>>0,!i){var o=Math.pow(2,8*n-1);v(this,e,r,n,o-1,-o)}var a=n-1,p=1,g=0;for(this[r+a]=e&255;--a>=0&&(p*=256);)e<0&&g===0&&this[r+a+1]!==0&&(g=1),this[r+a]=(e/p>>0)-g&255;return r+n};l.prototype.writeInt8=function(e,r,n){return e=+e,r=r>>>0,n||v(this,e,r,1,127,-128),e<0&&(e=255+e+1),this[r]=e&255,r+1};l.prototype.writeInt16LE=function(e,r,n){return e=+e,r=r>>>0,n||v(this,e,r,2,32767,-32768),this[r]=e&255,this[r+1]=e>>>8,r+2};l.prototype.writeInt16BE=function(e,r,n){return e=+e,r=r>>>0,n||v(this,e,r,2,32767,-32768),this[r]=e>>>8,this[r+1]=e&255,r+2};l.prototype.writeInt32LE=function(e,r,n){return e=+e,r=r>>>0,n||v(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};l.prototype.writeInt32BE=function(e,r,n){return e=+e,r=r>>>0,n||v(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 Je(t,e,r,n,i,o){if(r+n>t.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function Qe(t,e,r,n,i){return e=+e,r=r>>>0,i||Je(t,e,r,4,34028234663852886e22,-34028234663852886e22),j.write(t,e,r,n,23,4),r+4}l.prototype.writeFloatLE=function(e,r,n){return Qe(this,e,r,!0,n)};l.prototype.writeFloatBE=function(e,r,n){return Qe(this,e,r,!1,n)};function er(t,e,r,n,i){return e=+e,r=r>>>0,i||Je(t,e,r,8,17976931348623157e292,-17976931348623157e292),j.write(t,e,r,n,52,8),r+8}l.prototype.writeDoubleLE=function(e,r,n){return er(this,e,r,!0,n)};l.prototype.writeDoubleBE=function(e,r,n){return er(this,e,r,!1,n)};l.prototype.copy=function(e,r,n,i){if(!l.isBuffer(e))throw new TypeError("argument should be a Buffer");if(n||(n=0),!i&&i!==0&&(i=this.length),r>=e.length&&(r=e.length),r||(r=0),i>0&&i<n&&(i=n),i===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(i<0)throw new RangeError("sourceEnd out of bounds");i>this.length&&(i=this.length),e.length-r<i-n&&(i=e.length-r+n);var o=i-n;return this===e&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(r,n,i):Uint8Array.prototype.set.call(e,this.subarray(n,i),r),o};l.prototype.fill=function(e,r,n,i){if(typeof e=="string"){if(typeof r=="string"?(i=r,r=0,n=this.length):typeof n=="string"&&(i=n,n=this.length),i!==void 0&&typeof i!="string")throw new TypeError("encoding must be a string");if(typeof i=="string"&&!l.isEncoding(i))throw new TypeError("Unknown encoding: "+i);if(e.length===1){var o=e.charCodeAt(0);(i==="utf8"&&o<128||i==="latin1")&&(e=o)}}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 a;if(typeof e=="number")for(a=r;a<n;++a)this[a]=e;else{var p=l.isBuffer(e)?e:l.from(e,i),g=p.length;if(g===0)throw new TypeError('The value "'+e+'" is invalid for argument "value"');for(a=0;a<n-r;++a)this[a+r]=p[a%g]}return this};var _t=/[^+/0-9A-Za-z-_]/g;function Et(t){if(t=t.split("=")[0],t=t.trim().replace(_t,""),t.length<2)return"";for(;t.length%4!==0;)t=t+"=";return t}function we(t,e){e=e||1/0;for(var r,n=t.length,i=null,o=[],a=0;a<n;++a){if(r=t.charCodeAt(a),r>55295&&r<57344){if(!i){if(r>56319){(e-=3)>-1&&o.push(239,191,189);continue}else if(a+1===n){(e-=3)>-1&&o.push(239,191,189);continue}i=r;continue}if(r<56320){(e-=3)>-1&&o.push(239,191,189),i=r;continue}r=(i-55296<<10|r-56320)+65536}else i&&(e-=3)>-1&&o.push(239,191,189);if(i=null,r<128){if((e-=1)<0)break;o.push(r)}else if(r<2048){if((e-=2)<0)break;o.push(r>>6|192,r&63|128)}else if(r<65536){if((e-=3)<0)break;o.push(r>>12|224,r>>6&63|128,r&63|128)}else if(r<1114112){if((e-=4)<0)break;o.push(r>>18|240,r>>12&63|128,r>>6&63|128,r&63|128)}else throw new Error("Invalid code point")}return o}function Rt(t){for(var e=[],r=0;r<t.length;++r)e.push(t.charCodeAt(r)&255);return e}function Lt(t,e){for(var r,n,i,o=[],a=0;a<t.length&&!((e-=2)<0);++a)r=t.charCodeAt(a),n=r>>8,i=r%256,o.push(i),o.push(n);return o}function rr(t){return xe.toByteArray(Et(t))}function se(t,e,r,n){for(var i=0;i<n&&!(i+r>=e.length||i>=t.length);++i)e[i+r]=t[i];return i}function _(t,e){return t instanceof e||t!=null&&t.constructor!=null&&t.constructor.name!=null&&t.constructor.name===e.name}function Ae(t){return t!==t}var Dt=function(){for(var t="0123456789abcdef",e=new Array(256),r=0;r<16;++r)for(var n=r*16,i=0;i<16;++i)e[n+i]=t[r]+t[i];return e}()});var sr=ie((zt,ar)=>{s();var x=ar.exports={},E,R;function Ie(){throw new Error("setTimeout has not been defined")}function Se(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?E=setTimeout:E=Ie}catch(t){E=Ie}try{typeof clearTimeout=="function"?R=clearTimeout:R=Se}catch(t){R=Se}})();function nr(t){if(E===setTimeout)return setTimeout(t,0);if((E===Ie||!E)&&setTimeout)return E=setTimeout,setTimeout(t,0);try{return E(t,0)}catch(e){try{return E.call(null,t,0)}catch(r){return E.call(this,t,0)}}}function Ft(t){if(R===clearTimeout)return clearTimeout(t);if((R===Se||!R)&&clearTimeout)return R=clearTimeout,clearTimeout(t);try{return R(t)}catch(e){try{return R.call(null,t)}catch(r){return R.call(this,t)}}}var C=[],K=!1,$,le=-1;function Ct(){!K||!$||(K=!1,$.length?C=$.concat(C):le=-1,C.length&&ir())}function ir(){if(!K){var t=nr(Ct);K=!0;for(var e=C.length;e;){for($=C,C=[];++le<e;)$&&$[le].run();le=-1,e=C.length}$=null,K=!1,Ft(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];C.push(new or(t,e)),C.length===1&&!K&&nr(ir)};function or(t,e){this.fun=t,this.array=e}or.prototype.run=function(){this.fun.apply(null,this.array)};x.title="browser";x.browser=!0;x.env={};x.argv=[];x.version="";x.versions={};function O(){}x.on=O;x.addListener=O;x.once=O;x.off=O;x.removeListener=O;x.removeAllListeners=O;x.emit=O;x.prependListener=O;x.prependOnceListener=O;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 c,u,Kt,s=et(()=>{c=U(tr()),u=U(sr()),Kt=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)});var Vt={};rt(Vt,{getTransactionValue:()=>Gt});module.exports=tt(Vt);s();s();s();s();s();s();s();s();s();s();s();s();s();s();s();s();s();var Ot=require("@multiversx/sdk-web-wallet-cross-window-provider/out/CrossWindowProvider/CrossWindowProvider"),X=require("@multiversx/sdk-web-wallet-cross-window-provider/out/enums");var lr=(r=>(r.signTransactionsWithGuardianResponse="SIGN_TRANSACTIONS_WITH_GUARDIAN_RESPONSE",r.reloginRequest="RELOGIN_REQUEST",r))(lr||{}),sn=D(D({},X.WindowProviderRequestEnums),lr),cr=(e=>(e.reloginResponse="RELOGIN_RESPONSE",e))(cr||{}),ln=D(D({},X.WindowProviderResponseEnums),cr);s();s();s();var Ne=(n=>(n.nft="nft",n.esdt="esdt",n.egld="egld",n))(Ne||{});s();s();s();var _e={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",metamaskSnapWalletAddress:"https://devnet-snap-wallet.multiversx.com",apiTimeout:"4000",roundDuration:6e3},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",metamaskSnapWalletAddress:"https://testnet-snap-wallet.multiversx.com",apiTimeout:"4000",roundDuration:6e3},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",metamaskSnapWalletAddress:"https://snap-wallet.multiversx.com",apiTimeout:"4000",roundDuration:6e3}},{chainId:ur,egldLabel:In}=_e["devnet"],{chainId:pr,egldLabel:Sn}=_e["testnet"],{chainId:dr,egldLabel:Nn}=_e["mainnet"];var _n={["devnet"]:ur,["testnet"]:pr,["mainnet"]:dr},En={[ur]:"devnet",[pr]:"testnet",[dr]:"mainnet"};s();s();var L=require("@multiversx/sdk-web-wallet-provider");s();s();var Ee=require("@multiversx/sdk-dapp-utils/out/constants/browserConstants");var gr,mr,Re=String((mr=(gr=Ee.safeWindow)==null?void 0:gr.navigator)==null?void 0:mr.userAgent),On=/^((?!chrome|android).)*safari/i.test(Re),Bn=/firefox/i.test(Re)&&/windows/i.test(Re);var k=18,ce=4;var ue="0";s();var pe=(n=>(n.NonFungibleESDT="NonFungibleESDT",n.SemiFungibleESDT="SemiFungibleESDT",n.MetaESDT="MetaESDT",n))(pe||{});s();var fr=t=>{var e,r,n,i;if(t.action){let o=[(e=t.action.arguments)==null?void 0:e.token,(r=t.action.arguments)==null?void 0:r.token1,(n=t.action.arguments)==null?void 0:n.token2,(i=t.action.arguments)==null?void 0:i.transfers].filter(p=>p!=null);return[].concat(...o)}return[]};s();s();s();s();var yr=require("@multiversx/sdk-core"),P=U(require("bignumber.js"));s();var hr=U(require("bignumber.js")),Le=(t,e=!0)=>{let r=String(t);if(!r.match(/^[-]?\d+$/))return!1;let n=new hr.default(r),i=e?0:-1;return n.toString(10)===r&&n.comparedTo(0)>=i};s();function B(t){return{if:function(e){return e?{then:r=>r instanceof Function?B(r(t)):B(r)}:{then:()=>B(t)}},then:e=>e instanceof Function?B(e(t)):B(e),valueOf:function(){return t}}}P.default.config({ROUNDING_MODE:P.default.ROUND_FLOOR});function M({input:t,decimals:e=k,digits:r=ce,showLastNonZeroDecimal:n=!0,showIsLessThanDecimalsLabel:i=!1,addCommas:o=!1}){if(!Le(t,!1))throw new Error("Invalid input");let a=new P.default(t).isNegative(),p=t;return a&&(p=t.substring(1)),B(p).then(()=>yr.TokenTransfer.fungibleFromBigInteger("",p,e).amountAsBigInteger.shiftedBy(-e).toFixed(e)).then(g=>{let m=new P.default(g);if(m.isZero())return ue;let h=m.toString(10),[f,y]=h.split("."),T=new P.default(y||0),w=B(0).if(Boolean(y&&n)).then(()=>Math.max(y.length,r)).if(T.isZero()&&!n).then(0).if(Boolean(y&&!n)).then(()=>Math.min(y.length,r)).valueOf(),q=y&&r>=1&&r<=y.length&&T.isGreaterThan(0)&&new P.default(y.substring(0,r)).isZero(),fe=m.toFormat(w);return B(h).if(o).then(fe).if(Boolean(q)).then(ee=>{let Z=new P.default(f).isZero(),[S,re]=ee.split("."),te=new Array(r-1).fill(0),qr=[...te,0].join(""),jr=[...te,1].join("");return Z?i?`<${S}.${jr}`:n?`${S}.${re}`:S:`${S}.${qr}`}).if(Boolean(!q&&y)).then(ee=>{let[Z]=ee.split("."),S=y.substring(0,w);if(n){let re=r-S.length;if(re>0){let te=Array(re).fill(0).join("");return S=`${S}${te}`,`${Z}.${S}`}return ee}return S?`${Z}.${S}`:Z}).valueOf()}).if(a).then(g=>`-${g}`).valueOf()}s();s();var Bt=require("@multiversx/sdk-core");s();var Q=require("@multiversx/sdk-core"),Pt=U(require("bignumber.js"));s();s();s();var Ut=U(require("bignumber.js"));s();s();var De={isEsdt:!1,isNft:!1,isEgld:!1};function xr(t){let e=t==null?void 0:t.split("-").length;return e===2?ne(D({},De),{isEsdt:!0}):e===3?ne(D({},De),{isNft:!0}):ne(D({},De),{isEgld:!0})}s();s();s();s();s();s();s();s();var G="accounts";var Tr="blocks",br="code",wr="collections";var vr="contracts";var kr="identities";var Ar="locked-accounts",Ir="logs",Sr="miniblocks";var Fe="nfts",Nr="nodes",Ce="providers",_r="roles",Oe="sc-results";var Y="tokens";var H="transactions";var de={shard:t=>`/${Tr}?shard=${t}`,receiverShard:t=>`/${H}?receivershard=${t}`,senderShard:t=>`/${H}?sendershard=${t}`,transactionDetails:t=>`/${H}/${t}`,transactionDetailsScResults:t=>`/${H}/${t}/${Oe}`,transactionDetailsLogs:t=>`/${H}/${t}/${Ir}`,nodeDetails:t=>`/${Nr}/${t}`,accountDetails:t=>`/${G}/${t}`,accountDetailsContractCode:t=>`/${G}/${t}/${br}`,accountDetailsTokens:t=>`/${G}/${t}/${Y}`,accountDetailsNfts:t=>`/${G}/${t}/${Fe}`,accountDetailsScResults:t=>`/${G}/${t}/${Oe}`,accountDetailsContracts:t=>`/${G}/${t}/${vr}`,identityDetails:t=>`/${kr}/${t}`,tokenDetails:t=>`/${Y}/${t}`,tokenDetailsAccounts:t=>`/${Y}/${t}/${G}`,tokenDetailsLockedAccounts:t=>`/${Y}/${t}/${Ar}`,tokenDetailsRoles:t=>`/${Y}/${t}/${_r}`,collectionDetails:t=>`/${wr}/${t}`,nftDetails:t=>`/${Fe}/${t}`,providerDetails:t=>`/${Ce}/${t}`,providerDetailsTransactions:t=>`/${Ce}/${t}/${H}`,miniblockDetails:t=>`/${Sr}/${t}`};function ge({token:t,noValue:e,showLastNonZeroDecimal:r}){var m;let n=!e&&t.value&&t.type!=="NonFungibleESDT",i=t.decimals!=null,o="";t.type==="NonFungibleESDT"&&(o="NFT"),t.type==="SemiFungibleESDT"&&(o="SFT"),t.type==="MetaESDT"&&(o="Meta-ESDT");let a="";n&&i&&(a=i?M({input:t.value,decimals:t.decimals,digits:2,showLastNonZeroDecimal:r}):Number(t.value).toLocaleString("en"));let p=de.nftDetails(String(t.identifier)),g=t.ticker===t.collection&&(m=t.identifier)!=null?m:t.ticker;return{badgeText:o,tokenFormattedAmount:n?a:null,tokenExplorerLink:p,tokenLinkText:g,token:t,noValue:e,showLastNonZeroDecimal:r}}s();function me({token:t,noValue:e,showLastNonZeroDecimal:r}){var p;let n=Boolean(!e&&t.value),i=n?M({input:t.value,decimals:(p=t.decimals)!=null?p:k,digits:2,showLastNonZeroDecimal:r,addCommas:!0}):null,o=de.tokenDetails(String(t.token)),a=t.ticker;return{tokenExplorerLink:o,tokenFormattedAmount:i,showFormattedAmount:n,tokenLinkText:a,token:t,showLastNonZeroDecimal:r}}s();var Er=["reDelegateRewards","claimRewards","unBond"],Rr=["wrapEgld","unwrapEgld"],Lr=["unStake"],Dr=["unDelegate"];s();s();var Fr=t=>{let e=t.map(n=>{let{isNft:i}=xr(n.type);if(i){let{badgeText:h,tokenFormattedAmount:f,tokenLinkText:y}=ge({token:n});return`${h!=null?`(${h}) `:""}${f} ${y}`}let{tokenFormattedAmount:o,tokenLinkText:a,token:p}=me({token:n}),g=p.collection?p.identifier:p.token;return`${o} ${a} (${g})`});return decodeURI(e.join("%0A"))};s();var I=t=>({egldValueData:{value:t,formattedValue:M({input:t}),decimals:k}});s();var Br=U(require("bignumber.js"));s();s();function Mt(t){try{let e=atob(t),r=btoa(e),n=c.Buffer.from(t,"base64").toString(),i=c.Buffer.from(n).toString("base64"),o=t===r||r.startsWith(t),a=t===i||i.startsWith(t);if(o&&a)return!0}catch(e){return!1}return!1}function Cr(t){return Mt(t)?atob(t):t}s();s();s();s();var Or=!1;function Ur(t){var e;try{let n=Cr(t.data).replace(`${(e=t.action)==null?void 0:e.name}@`,""),i=new Br.default(n,16);if(!i.isNaN())return I(i.toString(10))}catch(r){Or||(console.error(`Unable to extract value for txHash: ${t.txHash}`),Or=!0)}return I(t.value)}s();s();var Pr=t=>{var r,n;return(n=(r=t==null?void 0:t.operations)==null?void 0:r.filter(i=>Object.values(Ne).includes(i.type)))!=null?n:[]};var Mr=!1,Gr=t=>{Mr||(console.error(`Operations field missing for txHash: ${t}.
2
- Unable to compute value field.`),Mr=!0)};function Vr(t){try{if(t.operations){let[e]=Pr(t);return I(e==null?void 0:e.value)}else Gr(t.txHash)}catch(e){Gr(t.txHash)}return I(t.value)}s();var $r=U(require("bignumber.js"));var Wr=!1;function Hr(t){var r,n,i,o,a;return new $r.default((n=(r=t.action)==null?void 0:r.arguments)==null?void 0:n.value).isNaN()?(Wr||(console.error(`Unable to interpret ${(a=t.action)==null?void 0:a.name} data for txHash: ${t.txHash}`),Wr=!0),I(t.value)):I((o=(i=t.action)==null?void 0:i.arguments)==null?void 0:o.value)}var Gt=({transaction:t,hideMultipleBadge:e})=>{var r;if(t.action){if(Rr.includes(t.action.name))return I(t.value);if(Lr.includes(t.action.name))return Ur(t);if(Er.includes(t.action.name))return Vr(t);if(Dr.includes(t.action.name))return Hr(t);let n=fr(t);if(n.length){let i=n[0],o=Object.values(pe).includes(i.type),p=!e&&n.length>1?Fr(n):"";if(o){let{badgeText:T,tokenFormattedAmount:w,tokenExplorerLink:q,tokenLinkText:fe}=ge({token:i});return{nftValueData:{badgeText:T,tokenFormattedAmount:w,tokenExplorerLink:q,tokenLinkText:fe,transactionTokens:n,token:i,value:w!=null?i.value:null,decimals:w!=null?i.decimals:null,titleText:p}}}let{tokenExplorerLink:g,showFormattedAmount:m,tokenFormattedAmount:h,tokenLinkText:f,token:y}=me({token:i});return{tokenValueData:{tokenExplorerLink:g,showFormattedAmount:m,tokenFormattedAmount:h,tokenLinkText:f,transactionTokens:n,token:y,value:i.value,decimals:(r=i.decimals)!=null?r:k,titleText:p}}}}return I(t.value)};0&&(module.exports={getTransactionValue});
1
+ "use strict";var zr=Object.create;var J=Object.defineProperty,Kr=Object.defineProperties,Xr=Object.getOwnPropertyDescriptor,Yr=Object.getOwnPropertyDescriptors,Zr=Object.getOwnPropertyNames,Be=Object.getOwnPropertySymbols,Jr=Object.getPrototypeOf,Pe=Object.prototype.hasOwnProperty,Qr=Object.prototype.propertyIsEnumerable;var Ue=(t,e,r)=>e in t?J(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,D=(t,e)=>{for(var r in e||(e={}))Pe.call(e,r)&&Ue(t,r,e[r]);if(Be)for(var r of Be(e))Qr.call(e,r)&&Ue(t,r,e[r]);return t},ne=(t,e)=>Kr(t,Yr(e));var et=(t,e)=>()=>(t&&(e=t(t=0)),e);var ie=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),rt=(t,e)=>{for(var r in e)J(t,r,{get:e[r],enumerable:!0})},Me=(t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of Zr(e))!Pe.call(t,i)&&i!==r&&J(t,i,{get:()=>e[i],enumerable:!(n=Xr(e,i))||n.enumerable});return t};var U=(t,e,r)=>(r=t!=null?zr(Jr(t)):{},Me(e||!t||!t.__esModule?J(r,"default",{value:t,enumerable:!0}):r,t)),tt=t=>Me(J({},"__esModule",{value:!0}),t);var We=ie(oe=>{"use strict";s();oe.byteLength=it;oe.toByteArray=at;oe.fromByteArray=ct;var N=[],k=[],nt=typeof Uint8Array!="undefined"?Uint8Array:Array,he="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(V=0,Ge=he.length;V<Ge;++V)N[V]=he[V],k[he.charCodeAt(V)]=V;var V,Ge;k["-".charCodeAt(0)]=62;k["_".charCodeAt(0)]=63;function Ve(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 it(t){var e=Ve(t),r=e[0],n=e[1];return(r+n)*3/4-n}function ot(t,e,r){return(e+r)*3/4-r}function at(t){var e,r=Ve(t),n=r[0],i=r[1],o=new nt(ot(t,n,i)),a=0,p=i>0?n-4:n,g;for(g=0;g<p;g+=4)e=k[t.charCodeAt(g)]<<18|k[t.charCodeAt(g+1)]<<12|k[t.charCodeAt(g+2)]<<6|k[t.charCodeAt(g+3)],o[a++]=e>>16&255,o[a++]=e>>8&255,o[a++]=e&255;return i===2&&(e=k[t.charCodeAt(g)]<<2|k[t.charCodeAt(g+1)]>>4,o[a++]=e&255),i===1&&(e=k[t.charCodeAt(g)]<<10|k[t.charCodeAt(g+1)]<<4|k[t.charCodeAt(g+2)]>>2,o[a++]=e>>8&255,o[a++]=e&255),o}function st(t){return N[t>>18&63]+N[t>>12&63]+N[t>>6&63]+N[t&63]}function lt(t,e,r){for(var n,i=[],o=e;o<r;o+=3)n=(t[o]<<16&16711680)+(t[o+1]<<8&65280)+(t[o+2]&255),i.push(st(n));return i.join("")}function ct(t){for(var e,r=t.length,n=r%3,i=[],o=16383,a=0,p=r-n;a<p;a+=o)i.push(lt(t,a,a+o>p?p:a+o));return n===1?(e=t[r-1],i.push(N[e>>2]+N[e<<4&63]+"==")):n===2&&(e=(t[r-2]<<8)+t[r-1],i.push(N[e>>10]+N[e>>4&63]+N[e<<2&63]+"=")),i.join("")}});var $e=ie(ye=>{s();ye.read=function(t,e,r,n,i){var o,a,p=i*8-n-1,g=(1<<p)-1,m=g>>1,h=-7,f=r?i-1:0,y=r?-1:1,T=t[e+f];for(f+=y,o=T&(1<<-h)-1,T>>=-h,h+=p;h>0;o=o*256+t[e+f],f+=y,h-=8);for(a=o&(1<<-h)-1,o>>=-h,h+=n;h>0;a=a*256+t[e+f],f+=y,h-=8);if(o===0)o=1-m;else{if(o===g)return a?NaN:(T?-1:1)*(1/0);a=a+Math.pow(2,n),o=o-m}return(T?-1:1)*a*Math.pow(2,o-n)};ye.write=function(t,e,r,n,i,o){var a,p,g,m=o*8-i-1,h=(1<<m)-1,f=h>>1,y=i===23?Math.pow(2,-24)-Math.pow(2,-77):0,T=n?0:o-1,w=n?1:-1,q=e<0||e===0&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(p=isNaN(e)?1:0,a=h):(a=Math.floor(Math.log(e)/Math.LN2),e*(g=Math.pow(2,-a))<1&&(a--,g*=2),a+f>=1?e+=y/g:e+=y*Math.pow(2,1-f),e*g>=2&&(a++,g/=2),a+f>=h?(p=0,a=h):a+f>=1?(p=(e*g-1)*Math.pow(2,i),a=a+f):(p=e*Math.pow(2,f-1)*Math.pow(2,i),a=0));i>=8;t[r+T]=p&255,T+=w,p/=256,i-=8);for(a=a<<i|p,m+=i;m>0;t[r+T]=a&255,T+=w,a/=256,m-=8);t[r+T-w]|=q*128}});var tr=ie(z=>{"use strict";s();var xe=We(),j=$e(),He=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;z.Buffer=l;z.SlowBuffer=ft;z.INSPECT_MAX_BYTES=50;var ae=2147483647;z.kMaxLength=ae;l.TYPED_ARRAY_SUPPORT=ut();!l.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 ut(){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(l.prototype,"parent",{enumerable:!0,get:function(){if(!!l.isBuffer(this))return this.buffer}});Object.defineProperty(l.prototype,"offset",{enumerable:!0,get:function(){if(!!l.isBuffer(this))return this.byteOffset}});function C(t){if(t>ae)throw new RangeError('The value "'+t+'" is invalid for option "size"');var e=new Uint8Array(t);return Object.setPrototypeOf(e,l.prototype),e}function l(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 ve(t)}return ze(t,e,r)}l.poolSize=8192;function ze(t,e,r){if(typeof t=="string")return dt(t,e);if(ArrayBuffer.isView(t))return gt(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(_(t,ArrayBuffer)||t&&_(t.buffer,ArrayBuffer)||typeof SharedArrayBuffer!="undefined"&&(_(t,SharedArrayBuffer)||t&&_(t.buffer,SharedArrayBuffer)))return be(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 l.from(n,e,r);var i=mt(t);if(i)return i;if(typeof Symbol!="undefined"&&Symbol.toPrimitive!=null&&typeof t[Symbol.toPrimitive]=="function")return l.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)}l.from=function(t,e,r){return ze(t,e,r)};Object.setPrototypeOf(l.prototype,Uint8Array.prototype);Object.setPrototypeOf(l,Uint8Array);function Ke(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 pt(t,e,r){return Ke(t),t<=0?C(t):e!==void 0?typeof r=="string"?C(t).fill(e,r):C(t).fill(e):C(t)}l.alloc=function(t,e,r){return pt(t,e,r)};function ve(t){return Ke(t),C(t<0?0:Ae(t)|0)}l.allocUnsafe=function(t){return ve(t)};l.allocUnsafeSlow=function(t){return ve(t)};function dt(t,e){if((typeof e!="string"||e==="")&&(e="utf8"),!l.isEncoding(e))throw new TypeError("Unknown encoding: "+e);var r=Xe(t,e)|0,n=C(r),i=n.write(t,e);return i!==r&&(n=n.slice(0,i)),n}function Te(t){for(var e=t.length<0?0:Ae(t.length)|0,r=C(e),n=0;n<e;n+=1)r[n]=t[n]&255;return r}function gt(t){if(_(t,Uint8Array)){var e=new Uint8Array(t);return be(e.buffer,e.byteOffset,e.byteLength)}return Te(t)}function be(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,l.prototype),n}function mt(t){if(l.isBuffer(t)){var e=Ae(t.length)|0,r=C(e);return r.length===0||t.copy(r,0,0,e),r}if(t.length!==void 0)return typeof t.length!="number"||ke(t.length)?C(0):Te(t);if(t.type==="Buffer"&&Array.isArray(t.data))return Te(t.data)}function Ae(t){if(t>=ae)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+ae.toString(16)+" bytes");return t|0}function ft(t){return+t!=t&&(t=0),l.alloc(+t)}l.isBuffer=function(e){return e!=null&&e._isBuffer===!0&&e!==l.prototype};l.compare=function(e,r){if(_(e,Uint8Array)&&(e=l.from(e,e.offset,e.byteLength)),_(r,Uint8Array)&&(r=l.from(r,r.offset,r.byteLength)),!l.isBuffer(e)||!l.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,i=r.length,o=0,a=Math.min(n,i);o<a;++o)if(e[o]!==r[o]){n=e[o],i=r[o];break}return n<i?-1:i<n?1:0};l.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}};l.concat=function(e,r){if(!Array.isArray(e))throw new TypeError('"list" argument must be an Array of Buffers');if(e.length===0)return l.alloc(0);var n;if(r===void 0)for(r=0,n=0;n<e.length;++n)r+=e[n].length;var i=l.allocUnsafe(r),o=0;for(n=0;n<e.length;++n){var a=e[n];if(_(a,Uint8Array))o+a.length>i.length?l.from(a).copy(i,o):Uint8Array.prototype.set.call(i,a,o);else if(l.isBuffer(a))a.copy(i,o);else throw new TypeError('"list" argument must be an Array of Buffers');o+=a.length}return i};function Xe(t,e){if(l.isBuffer(t))return t.length;if(ArrayBuffer.isView(t)||_(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 i=!1;;)switch(e){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":return we(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return r*2;case"hex":return r>>>1;case"base64":return rr(t).length;default:if(i)return n?-1:we(t).length;e=(""+e).toLowerCase(),i=!0}}l.byteLength=Xe;function ht(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 St(this,e,r);case"utf8":case"utf-8":return Ze(this,e,r);case"ascii":return kt(this,e,r);case"latin1":case"binary":return It(this,e,r);case"base64":return vt(this,e,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Nt(this,e,r);default:if(n)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),n=!0}}l.prototype._isBuffer=!0;function W(t,e,r){var n=t[e];t[e]=t[r],t[r]=n}l.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)W(this,r,r+1);return this};l.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)W(this,r,r+3),W(this,r+1,r+2);return this};l.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)W(this,r,r+7),W(this,r+1,r+6),W(this,r+2,r+5),W(this,r+3,r+4);return this};l.prototype.toString=function(){var e=this.length;return e===0?"":arguments.length===0?Ze(this,0,e):ht.apply(this,arguments)};l.prototype.toLocaleString=l.prototype.toString;l.prototype.equals=function(e){if(!l.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e?!0:l.compare(this,e)===0};l.prototype.inspect=function(){var e="",r=z.INSPECT_MAX_BYTES;return e=this.toString("hex",0,r).replace(/(.{2})/g,"$1 ").trim(),this.length>r&&(e+=" ... "),"<Buffer "+e+">"};He&&(l.prototype[He]=l.prototype.inspect);l.prototype.compare=function(e,r,n,i,o){if(_(e,Uint8Array)&&(e=l.from(e,e.offset,e.byteLength)),!l.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),i===void 0&&(i=0),o===void 0&&(o=this.length),r<0||n>e.length||i<0||o>this.length)throw new RangeError("out of range index");if(i>=o&&r>=n)return 0;if(i>=o)return-1;if(r>=n)return 1;if(r>>>=0,n>>>=0,i>>>=0,o>>>=0,this===e)return 0;for(var a=o-i,p=n-r,g=Math.min(a,p),m=this.slice(i,o),h=e.slice(r,n),f=0;f<g;++f)if(m[f]!==h[f]){a=m[f],p=h[f];break}return a<p?-1:p<a?1:0};function Ye(t,e,r,n,i){if(t.length===0)return-1;if(typeof r=="string"?(n=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),r=+r,ke(r)&&(r=i?0:t.length-1),r<0&&(r=t.length+r),r>=t.length){if(i)return-1;r=t.length-1}else if(r<0)if(i)r=0;else return-1;if(typeof e=="string"&&(e=l.from(e,n)),l.isBuffer(e))return e.length===0?-1:qe(t,e,r,n,i);if(typeof e=="number")return e=e&255,typeof Uint8Array.prototype.indexOf=="function"?i?Uint8Array.prototype.indexOf.call(t,e,r):Uint8Array.prototype.lastIndexOf.call(t,e,r):qe(t,[e],r,n,i);throw new TypeError("val must be string, number or Buffer")}function qe(t,e,r,n,i){var o=1,a=t.length,p=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;o=2,a/=2,p/=2,r/=2}function g(T,w){return o===1?T[w]:T.readUInt16BE(w*o)}var m;if(i){var h=-1;for(m=r;m<a;m++)if(g(t,m)===g(e,h===-1?0:m-h)){if(h===-1&&(h=m),m-h+1===p)return h*o}else h!==-1&&(m-=m-h),h=-1}else for(r+p>a&&(r=a-p),m=r;m>=0;m--){for(var f=!0,y=0;y<p;y++)if(g(t,m+y)!==g(e,y)){f=!1;break}if(f)return m}return-1}l.prototype.includes=function(e,r,n){return this.indexOf(e,r,n)!==-1};l.prototype.indexOf=function(e,r,n){return Ye(this,e,r,n,!0)};l.prototype.lastIndexOf=function(e,r,n){return Ye(this,e,r,n,!1)};function yt(t,e,r,n){r=Number(r)||0;var i=t.length-r;n?(n=Number(n),n>i&&(n=i)):n=i;var o=e.length;n>o/2&&(n=o/2);for(var a=0;a<n;++a){var p=parseInt(e.substr(a*2,2),16);if(ke(p))return a;t[r+a]=p}return a}function xt(t,e,r,n){return se(we(e,t.length-r),t,r,n)}function Tt(t,e,r,n){return se(Rt(e),t,r,n)}function bt(t,e,r,n){return se(rr(e),t,r,n)}function wt(t,e,r,n){return se(Lt(e,t.length-r),t,r,n)}l.prototype.write=function(e,r,n,i){if(r===void 0)i="utf8",n=this.length,r=0;else if(n===void 0&&typeof r=="string")i=r,n=this.length,r=0;else if(isFinite(r))r=r>>>0,isFinite(n)?(n=n>>>0,i===void 0&&(i="utf8")):(i=n,n=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var o=this.length-r;if((n===void 0||n>o)&&(n=o),e.length>0&&(n<0||r<0)||r>this.length)throw new RangeError("Attempt to write outside buffer bounds");i||(i="utf8");for(var a=!1;;)switch(i){case"hex":return yt(this,e,r,n);case"utf8":case"utf-8":return xt(this,e,r,n);case"ascii":case"latin1":case"binary":return Tt(this,e,r,n);case"base64":return bt(this,e,r,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return wt(this,e,r,n);default:if(a)throw new TypeError("Unknown encoding: "+i);i=(""+i).toLowerCase(),a=!0}};l.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function vt(t,e,r){return e===0&&r===t.length?xe.fromByteArray(t):xe.fromByteArray(t.slice(e,r))}function Ze(t,e,r){r=Math.min(t.length,r);for(var n=[],i=e;i<r;){var o=t[i],a=null,p=o>239?4:o>223?3:o>191?2:1;if(i+p<=r){var g,m,h,f;switch(p){case 1:o<128&&(a=o);break;case 2:g=t[i+1],(g&192)===128&&(f=(o&31)<<6|g&63,f>127&&(a=f));break;case 3:g=t[i+1],m=t[i+2],(g&192)===128&&(m&192)===128&&(f=(o&15)<<12|(g&63)<<6|m&63,f>2047&&(f<55296||f>57343)&&(a=f));break;case 4:g=t[i+1],m=t[i+2],h=t[i+3],(g&192)===128&&(m&192)===128&&(h&192)===128&&(f=(o&15)<<18|(g&63)<<12|(m&63)<<6|h&63,f>65535&&f<1114112&&(a=f))}}a===null?(a=65533,p=1):a>65535&&(a-=65536,n.push(a>>>10&1023|55296),a=56320|a&1023),n.push(a),i+=p}return At(n)}var je=4096;function At(t){var e=t.length;if(e<=je)return String.fromCharCode.apply(String,t);for(var r="",n=0;n<e;)r+=String.fromCharCode.apply(String,t.slice(n,n+=je));return r}function kt(t,e,r){var n="";r=Math.min(t.length,r);for(var i=e;i<r;++i)n+=String.fromCharCode(t[i]&127);return n}function It(t,e,r){var n="";r=Math.min(t.length,r);for(var i=e;i<r;++i)n+=String.fromCharCode(t[i]);return n}function St(t,e,r){var n=t.length;(!e||e<0)&&(e=0),(!r||r<0||r>n)&&(r=n);for(var i="",o=e;o<r;++o)i+=Dt[t[o]];return i}function Nt(t,e,r){for(var n=t.slice(e,r),i="",o=0;o<n.length-1;o+=2)i+=String.fromCharCode(n[o]+n[o+1]*256);return i}l.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 i=this.subarray(e,r);return Object.setPrototypeOf(i,l.prototype),i};function b(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")}l.prototype.readUintLE=l.prototype.readUIntLE=function(e,r,n){e=e>>>0,r=r>>>0,n||b(e,r,this.length);for(var i=this[e],o=1,a=0;++a<r&&(o*=256);)i+=this[e+a]*o;return i};l.prototype.readUintBE=l.prototype.readUIntBE=function(e,r,n){e=e>>>0,r=r>>>0,n||b(e,r,this.length);for(var i=this[e+--r],o=1;r>0&&(o*=256);)i+=this[e+--r]*o;return i};l.prototype.readUint8=l.prototype.readUInt8=function(e,r){return e=e>>>0,r||b(e,1,this.length),this[e]};l.prototype.readUint16LE=l.prototype.readUInt16LE=function(e,r){return e=e>>>0,r||b(e,2,this.length),this[e]|this[e+1]<<8};l.prototype.readUint16BE=l.prototype.readUInt16BE=function(e,r){return e=e>>>0,r||b(e,2,this.length),this[e]<<8|this[e+1]};l.prototype.readUint32LE=l.prototype.readUInt32LE=function(e,r){return e=e>>>0,r||b(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+this[e+3]*16777216};l.prototype.readUint32BE=l.prototype.readUInt32BE=function(e,r){return e=e>>>0,r||b(e,4,this.length),this[e]*16777216+(this[e+1]<<16|this[e+2]<<8|this[e+3])};l.prototype.readIntLE=function(e,r,n){e=e>>>0,r=r>>>0,n||b(e,r,this.length);for(var i=this[e],o=1,a=0;++a<r&&(o*=256);)i+=this[e+a]*o;return o*=128,i>=o&&(i-=Math.pow(2,8*r)),i};l.prototype.readIntBE=function(e,r,n){e=e>>>0,r=r>>>0,n||b(e,r,this.length);for(var i=r,o=1,a=this[e+--i];i>0&&(o*=256);)a+=this[e+--i]*o;return o*=128,a>=o&&(a-=Math.pow(2,8*r)),a};l.prototype.readInt8=function(e,r){return e=e>>>0,r||b(e,1,this.length),this[e]&128?(255-this[e]+1)*-1:this[e]};l.prototype.readInt16LE=function(e,r){e=e>>>0,r||b(e,2,this.length);var n=this[e]|this[e+1]<<8;return n&32768?n|4294901760:n};l.prototype.readInt16BE=function(e,r){e=e>>>0,r||b(e,2,this.length);var n=this[e+1]|this[e]<<8;return n&32768?n|4294901760:n};l.prototype.readInt32LE=function(e,r){return e=e>>>0,r||b(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24};l.prototype.readInt32BE=function(e,r){return e=e>>>0,r||b(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]};l.prototype.readFloatLE=function(e,r){return e=e>>>0,r||b(e,4,this.length),j.read(this,e,!0,23,4)};l.prototype.readFloatBE=function(e,r){return e=e>>>0,r||b(e,4,this.length),j.read(this,e,!1,23,4)};l.prototype.readDoubleLE=function(e,r){return e=e>>>0,r||b(e,8,this.length),j.read(this,e,!0,52,8)};l.prototype.readDoubleBE=function(e,r){return e=e>>>0,r||b(e,8,this.length),j.read(this,e,!1,52,8)};function v(t,e,r,n,i,o){if(!l.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>i||e<o)throw new RangeError('"value" argument is out of bounds');if(r+n>t.length)throw new RangeError("Index out of range")}l.prototype.writeUintLE=l.prototype.writeUIntLE=function(e,r,n,i){if(e=+e,r=r>>>0,n=n>>>0,!i){var o=Math.pow(2,8*n)-1;v(this,e,r,n,o,0)}var a=1,p=0;for(this[r]=e&255;++p<n&&(a*=256);)this[r+p]=e/a&255;return r+n};l.prototype.writeUintBE=l.prototype.writeUIntBE=function(e,r,n,i){if(e=+e,r=r>>>0,n=n>>>0,!i){var o=Math.pow(2,8*n)-1;v(this,e,r,n,o,0)}var a=n-1,p=1;for(this[r+a]=e&255;--a>=0&&(p*=256);)this[r+a]=e/p&255;return r+n};l.prototype.writeUint8=l.prototype.writeUInt8=function(e,r,n){return e=+e,r=r>>>0,n||v(this,e,r,1,255,0),this[r]=e&255,r+1};l.prototype.writeUint16LE=l.prototype.writeUInt16LE=function(e,r,n){return e=+e,r=r>>>0,n||v(this,e,r,2,65535,0),this[r]=e&255,this[r+1]=e>>>8,r+2};l.prototype.writeUint16BE=l.prototype.writeUInt16BE=function(e,r,n){return e=+e,r=r>>>0,n||v(this,e,r,2,65535,0),this[r]=e>>>8,this[r+1]=e&255,r+2};l.prototype.writeUint32LE=l.prototype.writeUInt32LE=function(e,r,n){return e=+e,r=r>>>0,n||v(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};l.prototype.writeUint32BE=l.prototype.writeUInt32BE=function(e,r,n){return e=+e,r=r>>>0,n||v(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};l.prototype.writeIntLE=function(e,r,n,i){if(e=+e,r=r>>>0,!i){var o=Math.pow(2,8*n-1);v(this,e,r,n,o-1,-o)}var a=0,p=1,g=0;for(this[r]=e&255;++a<n&&(p*=256);)e<0&&g===0&&this[r+a-1]!==0&&(g=1),this[r+a]=(e/p>>0)-g&255;return r+n};l.prototype.writeIntBE=function(e,r,n,i){if(e=+e,r=r>>>0,!i){var o=Math.pow(2,8*n-1);v(this,e,r,n,o-1,-o)}var a=n-1,p=1,g=0;for(this[r+a]=e&255;--a>=0&&(p*=256);)e<0&&g===0&&this[r+a+1]!==0&&(g=1),this[r+a]=(e/p>>0)-g&255;return r+n};l.prototype.writeInt8=function(e,r,n){return e=+e,r=r>>>0,n||v(this,e,r,1,127,-128),e<0&&(e=255+e+1),this[r]=e&255,r+1};l.prototype.writeInt16LE=function(e,r,n){return e=+e,r=r>>>0,n||v(this,e,r,2,32767,-32768),this[r]=e&255,this[r+1]=e>>>8,r+2};l.prototype.writeInt16BE=function(e,r,n){return e=+e,r=r>>>0,n||v(this,e,r,2,32767,-32768),this[r]=e>>>8,this[r+1]=e&255,r+2};l.prototype.writeInt32LE=function(e,r,n){return e=+e,r=r>>>0,n||v(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};l.prototype.writeInt32BE=function(e,r,n){return e=+e,r=r>>>0,n||v(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 Je(t,e,r,n,i,o){if(r+n>t.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function Qe(t,e,r,n,i){return e=+e,r=r>>>0,i||Je(t,e,r,4,34028234663852886e22,-34028234663852886e22),j.write(t,e,r,n,23,4),r+4}l.prototype.writeFloatLE=function(e,r,n){return Qe(this,e,r,!0,n)};l.prototype.writeFloatBE=function(e,r,n){return Qe(this,e,r,!1,n)};function er(t,e,r,n,i){return e=+e,r=r>>>0,i||Je(t,e,r,8,17976931348623157e292,-17976931348623157e292),j.write(t,e,r,n,52,8),r+8}l.prototype.writeDoubleLE=function(e,r,n){return er(this,e,r,!0,n)};l.prototype.writeDoubleBE=function(e,r,n){return er(this,e,r,!1,n)};l.prototype.copy=function(e,r,n,i){if(!l.isBuffer(e))throw new TypeError("argument should be a Buffer");if(n||(n=0),!i&&i!==0&&(i=this.length),r>=e.length&&(r=e.length),r||(r=0),i>0&&i<n&&(i=n),i===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(i<0)throw new RangeError("sourceEnd out of bounds");i>this.length&&(i=this.length),e.length-r<i-n&&(i=e.length-r+n);var o=i-n;return this===e&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(r,n,i):Uint8Array.prototype.set.call(e,this.subarray(n,i),r),o};l.prototype.fill=function(e,r,n,i){if(typeof e=="string"){if(typeof r=="string"?(i=r,r=0,n=this.length):typeof n=="string"&&(i=n,n=this.length),i!==void 0&&typeof i!="string")throw new TypeError("encoding must be a string");if(typeof i=="string"&&!l.isEncoding(i))throw new TypeError("Unknown encoding: "+i);if(e.length===1){var o=e.charCodeAt(0);(i==="utf8"&&o<128||i==="latin1")&&(e=o)}}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 a;if(typeof e=="number")for(a=r;a<n;++a)this[a]=e;else{var p=l.isBuffer(e)?e:l.from(e,i),g=p.length;if(g===0)throw new TypeError('The value "'+e+'" is invalid for argument "value"');for(a=0;a<n-r;++a)this[a+r]=p[a%g]}return this};var _t=/[^+/0-9A-Za-z-_]/g;function Et(t){if(t=t.split("=")[0],t=t.trim().replace(_t,""),t.length<2)return"";for(;t.length%4!==0;)t=t+"=";return t}function we(t,e){e=e||1/0;for(var r,n=t.length,i=null,o=[],a=0;a<n;++a){if(r=t.charCodeAt(a),r>55295&&r<57344){if(!i){if(r>56319){(e-=3)>-1&&o.push(239,191,189);continue}else if(a+1===n){(e-=3)>-1&&o.push(239,191,189);continue}i=r;continue}if(r<56320){(e-=3)>-1&&o.push(239,191,189),i=r;continue}r=(i-55296<<10|r-56320)+65536}else i&&(e-=3)>-1&&o.push(239,191,189);if(i=null,r<128){if((e-=1)<0)break;o.push(r)}else if(r<2048){if((e-=2)<0)break;o.push(r>>6|192,r&63|128)}else if(r<65536){if((e-=3)<0)break;o.push(r>>12|224,r>>6&63|128,r&63|128)}else if(r<1114112){if((e-=4)<0)break;o.push(r>>18|240,r>>12&63|128,r>>6&63|128,r&63|128)}else throw new Error("Invalid code point")}return o}function Rt(t){for(var e=[],r=0;r<t.length;++r)e.push(t.charCodeAt(r)&255);return e}function Lt(t,e){for(var r,n,i,o=[],a=0;a<t.length&&!((e-=2)<0);++a)r=t.charCodeAt(a),n=r>>8,i=r%256,o.push(i),o.push(n);return o}function rr(t){return xe.toByteArray(Et(t))}function se(t,e,r,n){for(var i=0;i<n&&!(i+r>=e.length||i>=t.length);++i)e[i+r]=t[i];return i}function _(t,e){return t instanceof e||t!=null&&t.constructor!=null&&t.constructor.name!=null&&t.constructor.name===e.name}function ke(t){return t!==t}var Dt=function(){for(var t="0123456789abcdef",e=new Array(256),r=0;r<16;++r)for(var n=r*16,i=0;i<16;++i)e[n+i]=t[r]+t[i];return e}()});var sr=ie((zt,ar)=>{s();var x=ar.exports={},E,R;function Ie(){throw new Error("setTimeout has not been defined")}function Se(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?E=setTimeout:E=Ie}catch(t){E=Ie}try{typeof clearTimeout=="function"?R=clearTimeout:R=Se}catch(t){R=Se}})();function nr(t){if(E===setTimeout)return setTimeout(t,0);if((E===Ie||!E)&&setTimeout)return E=setTimeout,setTimeout(t,0);try{return E(t,0)}catch(e){try{return E.call(null,t,0)}catch(r){return E.call(this,t,0)}}}function Ct(t){if(R===clearTimeout)return clearTimeout(t);if((R===Se||!R)&&clearTimeout)return R=clearTimeout,clearTimeout(t);try{return R(t)}catch(e){try{return R.call(null,t)}catch(r){return R.call(this,t)}}}var F=[],K=!1,$,le=-1;function Ft(){!K||!$||(K=!1,$.length?F=$.concat(F):le=-1,F.length&&ir())}function ir(){if(!K){var t=nr(Ft);K=!0;for(var e=F.length;e;){for($=F,F=[];++le<e;)$&&$[le].run();le=-1,e=F.length}$=null,K=!1,Ct(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];F.push(new or(t,e)),F.length===1&&!K&&nr(ir)};function or(t,e){this.fun=t,this.array=e}or.prototype.run=function(){this.fun.apply(null,this.array)};x.title="browser";x.browser=!0;x.env={};x.argv=[];x.version="";x.versions={};function O(){}x.on=O;x.addListener=O;x.once=O;x.off=O;x.removeListener=O;x.removeAllListeners=O;x.emit=O;x.prependListener=O;x.prependOnceListener=O;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 c,u,Kt,s=et(()=>{c=U(tr()),u=U(sr()),Kt=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)});var Vt={};rt(Vt,{getTransactionValue:()=>Gt});module.exports=tt(Vt);s();s();s();s();s();s();s();s();s();s();s();s();s();s();s();s();s();var Ot=require("@multiversx/sdk-web-wallet-cross-window-provider/out/CrossWindowProvider/CrossWindowProvider"),X=require("@multiversx/sdk-web-wallet-cross-window-provider/out/enums");var lr=(r=>(r.signTransactionsWithGuardianResponse="SIGN_TRANSACTIONS_WITH_GUARDIAN_RESPONSE",r.reloginRequest="RELOGIN_REQUEST",r))(lr||{}),sn=D(D({},X.WindowProviderRequestEnums),lr),cr=(e=>(e.reloginResponse="RELOGIN_RESPONSE",e))(cr||{}),ln=D(D({},X.WindowProviderResponseEnums),cr);s();s();s();var Ne=(n=>(n.nft="nft",n.esdt="esdt",n.egld="egld",n))(Ne||{});s();s();s();var _e={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",metamaskSnapWalletAddress:"https://devnet-snap-wallet.multiversx.com",apiTimeout:"4000",roundDuration:6e3},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",metamaskSnapWalletAddress:"https://testnet-snap-wallet.multiversx.com",apiTimeout:"4000",roundDuration:6e3},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",metamaskSnapWalletAddress:"https://snap-wallet.multiversx.com",apiTimeout:"4000",roundDuration:6e3}},{chainId:ur,egldLabel:In}=_e["devnet"],{chainId:pr,egldLabel:Sn}=_e["testnet"],{chainId:dr,egldLabel:Nn}=_e["mainnet"];var _n={["devnet"]:ur,["testnet"]:pr,["mainnet"]:dr},En={[ur]:"devnet",[pr]:"testnet",[dr]:"mainnet"};s();s();var L=require("@multiversx/sdk-web-wallet-provider");s();s();var Ee=require("@multiversx/sdk-dapp-utils/out/constants/browserConstants");var gr,mr,Re=String((mr=(gr=Ee.safeWindow)==null?void 0:gr.navigator)==null?void 0:mr.userAgent),On=/^((?!chrome|android).)*safari/i.test(Re),Bn=/firefox/i.test(Re)&&/windows/i.test(Re);var A=18,ce=4;var ue="0";s();var pe=(n=>(n.NonFungibleESDT="NonFungibleESDT",n.SemiFungibleESDT="SemiFungibleESDT",n.MetaESDT="MetaESDT",n))(pe||{});s();var fr=t=>{var e,r,n,i;if(t.action){let o=[(e=t.action.arguments)==null?void 0:e.token,(r=t.action.arguments)==null?void 0:r.token1,(n=t.action.arguments)==null?void 0:n.token2,(i=t.action.arguments)==null?void 0:i.transfers].filter(p=>p!=null);return[].concat(...o)}return[]};s();s();s();s();var yr=require("@multiversx/sdk-core"),P=U(require("bignumber.js"));s();var hr=U(require("bignumber.js")),Le=(t,e=!0)=>{let r=String(t);if(!r.match(/^[-]?\d+$/))return!1;let n=new hr.default(r),i=e?0:-1;return n.toString(10)===r&&n.comparedTo(0)>=i};s();function B(t){return{if:function(e){return e?{then:r=>r instanceof Function?B(r(t)):B(r)}:{then:()=>B(t)}},then:e=>e instanceof Function?B(e(t)):B(e),valueOf:function(){return t}}}P.default.config({ROUNDING_MODE:P.default.ROUND_FLOOR});function M({input:t,decimals:e=A,digits:r=ce,showLastNonZeroDecimal:n=!0,showIsLessThanDecimalsLabel:i=!1,addCommas:o=!1}){if(!Le(t,!1))throw new Error("Invalid input");let a=new P.default(t).isNegative(),p=t;return a&&(p=t.substring(1)),B(p).then(()=>yr.TokenTransfer.fungibleFromBigInteger("",p,e).amountAsBigInteger.shiftedBy(-e).toFixed(e)).then(g=>{let m=new P.default(g);if(m.isZero())return ue;let h=m.toString(10),[f,y]=h.split("."),T=new P.default(y||0),w=B(0).if(Boolean(y&&n)).then(()=>Math.max(y.length,r)).if(T.isZero()&&!n).then(0).if(Boolean(y&&!n)).then(()=>Math.min(y.length,r)).valueOf(),q=y&&r>=1&&r<=y.length&&T.isGreaterThan(0)&&new P.default(y.substring(0,r)).isZero(),fe=m.toFormat(w);return B(h).if(o).then(fe).if(Boolean(q)).then(ee=>{let Z=new P.default(f).isZero(),[S,re]=ee.split("."),te=new Array(r-1).fill(0),qr=[...te,0].join(""),jr=[...te,1].join("");return Z?i?`<${S}.${jr}`:n?`${S}.${re}`:S:`${S}.${qr}`}).if(Boolean(!q&&y)).then(ee=>{let[Z]=ee.split("."),S=y.substring(0,w);if(n){let re=r-S.length;if(re>0){let te=Array(re).fill(0).join("");return S=`${S}${te}`,`${Z}.${S}`}return ee}return S?`${Z}.${S}`:Z}).valueOf()}).if(a).then(g=>`-${g}`).valueOf()}s();s();var Bt=require("@multiversx/sdk-core");s();var Q=require("@multiversx/sdk-core"),Pt=U(require("bignumber.js"));s();s();s();var Ut=U(require("bignumber.js"));s();s();var De={isEsdt:!1,isNft:!1,isEgld:!1};function xr(t){let e=t==null?void 0:t.split("-").length;return e===2?ne(D({},De),{isEsdt:!0}):e===3?ne(D({},De),{isNft:!0}):ne(D({},De),{isEgld:!0})}s();s();s();s();s();s();s();s();var G="accounts";var Tr="blocks",br="code",wr="collections";var vr="contracts";var Ar="identities";var kr="locked-accounts",Ir="logs",Sr="miniblocks";var Ce="nfts",Nr="nodes",Fe="providers",_r="roles",Oe="sc-results";var Y="tokens";var H="transactions";var de={shard:t=>`/${Tr}?shard=${t}`,receiverShard:t=>`/${H}?receivershard=${t}`,senderShard:t=>`/${H}?sendershard=${t}`,transactionDetails:t=>`/${H}/${t}`,transactionDetailsScResults:t=>`/${H}/${t}/${Oe}`,transactionDetailsLogs:t=>`/${H}/${t}/${Ir}`,nodeDetails:t=>`/${Nr}/${t}`,accountDetails:t=>`/${G}/${t}`,accountDetailsContractCode:t=>`/${G}/${t}/${br}`,accountDetailsTokens:t=>`/${G}/${t}/${Y}`,accountDetailsNfts:t=>`/${G}/${t}/${Ce}`,accountDetailsScResults:t=>`/${G}/${t}/${Oe}`,accountDetailsContracts:t=>`/${G}/${t}/${vr}`,identityDetails:t=>`/${Ar}/${t}`,tokenDetails:t=>`/${Y}/${t}`,tokenDetailsAccounts:t=>`/${Y}/${t}/${G}`,tokenDetailsLockedAccounts:t=>`/${Y}/${t}/${kr}`,tokenDetailsRoles:t=>`/${Y}/${t}/${_r}`,collectionDetails:t=>`/${wr}/${t}`,nftDetails:t=>`/${Ce}/${t}`,providerDetails:t=>`/${Fe}/${t}`,providerDetailsTransactions:t=>`/${Fe}/${t}/${H}`,miniblockDetails:t=>`/${Sr}/${t}`};function ge({token:t,noValue:e,showLastNonZeroDecimal:r}){var m;let n=!e&&t.value&&t.type!=="NonFungibleESDT",i=t.decimals!=null,o="";t.type==="NonFungibleESDT"&&(o="NFT"),t.type==="SemiFungibleESDT"&&(o="SFT"),t.type==="MetaESDT"&&(o="Meta-ESDT");let a="";n&&i&&(a=i?M({input:t.value,decimals:t.decimals,digits:2,showLastNonZeroDecimal:r}):Number(t.value).toLocaleString("en"));let p=de.nftDetails(String(t.identifier)),g=t.ticker===t.collection&&(m=t.identifier)!=null?m:t.ticker;return{badgeText:o,tokenFormattedAmount:n?a:null,tokenExplorerLink:p,tokenLinkText:g,token:t,noValue:e,showLastNonZeroDecimal:r}}s();function me({token:t,noValue:e,showLastNonZeroDecimal:r}){var p;let n=Boolean(!e&&t.value),i=n?M({input:t.value,decimals:(p=t.decimals)!=null?p:A,digits:2,showLastNonZeroDecimal:r,addCommas:!0}):null,o=de.tokenDetails(String(t.token)),a=t.ticker;return{tokenExplorerLink:o,tokenFormattedAmount:i,showFormattedAmount:n,tokenLinkText:a,token:t,showLastNonZeroDecimal:r}}s();var Er=["reDelegateRewards","claimRewards","unBond"],Rr=["wrapEgld","unwrapEgld"],Lr=["unStake"],Dr=["unDelegate"];s();s();var Cr=t=>{let e=t.map(n=>{let{isNft:i}=xr(n.type);if(i){let{badgeText:h,tokenFormattedAmount:f,tokenLinkText:y}=ge({token:n});return`${h!=null?`(${h}) `:""}${f} ${y}`}let{tokenFormattedAmount:o,tokenLinkText:a,token:p}=me({token:n}),g=p.collection?p.identifier:p.token;return`${o} ${a} (${g})`});return decodeURI(e.join("%0A"))};s();var I=t=>({egldValueData:{value:t,formattedValue:M({input:t}),decimals:A}});s();var Br=U(require("bignumber.js"));s();s();function Mt(t){try{let e=atob(t),r=btoa(e),n=c.Buffer.from(t,"base64").toString(),i=c.Buffer.from(n).toString("base64"),o=t===r||r.startsWith(t),a=t===i||i.startsWith(t);if(o&&a)return!0}catch(e){return!1}return!1}function Fr(t){return Mt(t)?atob(t):t}s();s();s();s();var Or=!1;function Ur(t){var e;try{let n=Fr(t.data).replace(`${(e=t.action)==null?void 0:e.name}@`,""),i=new Br.default(n,16);if(!i.isNaN())return I(i.toString(10))}catch(r){Or||(console.error(`Unable to extract value for txHash: ${t.txHash}`),Or=!0)}return I(t.value)}s();s();var Pr=t=>{var r,n;return(n=(r=t==null?void 0:t.operations)==null?void 0:r.filter(i=>Object.values(Ne).includes(i.type)))!=null?n:[]};var Mr=!1,Gr=t=>{Mr||(console.error(`Operations field missing for txHash: ${t}.
2
+ Unable to compute value field.`),Mr=!0)};function Vr(t){try{if(t.operations){let[e]=Pr(t);return I(e==null?void 0:e.value)}else Gr(t.txHash)}catch(e){Gr(t.txHash)}return I(t.value)}s();var $r=U(require("bignumber.js"));var Wr=!1;function Hr(t){var r,n,i,o,a;return new $r.default((n=(r=t.action)==null?void 0:r.arguments)==null?void 0:n.value).isNaN()?(Wr||(console.error(`Unable to interpret ${(a=t.action)==null?void 0:a.name} data for txHash: ${t.txHash}`),Wr=!0),I(t.value)):I((o=(i=t.action)==null?void 0:i.arguments)==null?void 0:o.value)}var Gt=({transaction:t,hideMultipleBadge:e})=>{var r;if(t.action){if(Rr.includes(t.action.name))return I(t.value);if(Lr.includes(t.action.name))return Ur(t);if(Er.includes(t.action.name))return Vr(t);if(Dr.includes(t.action.name))return Hr(t);let n=fr(t);if(n.length){let i=n[0],o=Object.values(pe).includes(i.type),p=!e&&n.length>1?Cr(n):"";if(o){let{badgeText:T,tokenFormattedAmount:w,tokenExplorerLink:q,tokenLinkText:fe}=ge({token:i});return{nftValueData:{badgeText:T,tokenFormattedAmount:w,tokenExplorerLink:q,tokenLinkText:fe,transactionTokens:n,token:i,value:w!=null?i.value:null,decimals:w!=null?i.decimals:null,titleText:p}}}let{tokenExplorerLink:g,showFormattedAmount:m,tokenFormattedAmount:h,tokenLinkText:f,token:y}=me({token:i});return{tokenValueData:{tokenExplorerLink:g,showFormattedAmount:m,tokenFormattedAmount:h,tokenLinkText:f,transactionTokens:n,token:y,value:i.value,decimals:(r=i.decimals)!=null?r:A,titleText:p}}}}return I(t.value)};0&&(module.exports={getTransactionValue});
3
3
  /*!
4
4
  * The buffer module from node.js, for the browser.
5
5
  *
@@ -1,5 +1,5 @@
1
- "use strict";var Jr=Object.create;var re=Object.defineProperty,Qr=Object.defineProperties,et=Object.getOwnPropertyDescriptor,rt=Object.getOwnPropertyDescriptors,tt=Object.getOwnPropertyNames,Pe=Object.getOwnPropertySymbols,nt=Object.getPrototypeOf,Ge=Object.prototype.hasOwnProperty,it=Object.prototype.propertyIsEnumerable;var Me=(t,e,r)=>e in t?re(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,F=(t,e)=>{for(var r in e||(e={}))Ge.call(e,r)&&Me(t,r,e[r]);if(Pe)for(var r of Pe(e))it.call(e,r)&&Me(t,r,e[r]);return t},ae=(t,e)=>Qr(t,rt(e));var ot=(t,e)=>()=>(t&&(e=t(t=0)),e);var se=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),at=(t,e)=>{for(var r in e)re(t,r,{get:e[r],enumerable:!0})},Ve=(t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of tt(e))!Ge.call(t,i)&&i!==r&&re(t,i,{get:()=>e[i],enumerable:!(n=et(e,i))||n.enumerable});return t};var C=(t,e,r)=>(r=t!=null?Jr(nt(t)):{},Ve(e||!t||!t.__esModule?re(r,"default",{value:t,enumerable:!0}):r,t)),st=t=>Ve(re({},"__esModule",{value:!0}),t);var He=se(le=>{"use strict";o();le.byteLength=ct;le.toByteArray=pt;le.fromByteArray=gt;var N=[],S=[],lt=typeof Uint8Array!="undefined"?Uint8Array:Array,he="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(W=0,$e=he.length;W<$e;++W)N[W]=he[W],S[he.charCodeAt(W)]=W;var W,$e;S["-".charCodeAt(0)]=62;S["_".charCodeAt(0)]=63;function We(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 ct(t){var e=We(t),r=e[0],n=e[1];return(r+n)*3/4-n}function ut(t,e,r){return(e+r)*3/4-r}function pt(t){var e,r=We(t),n=r[0],i=r[1],a=new lt(ut(t,n,i)),s=0,d=i>0?n-4:n,m;for(m=0;m<d;m+=4)e=S[t.charCodeAt(m)]<<18|S[t.charCodeAt(m+1)]<<12|S[t.charCodeAt(m+2)]<<6|S[t.charCodeAt(m+3)],a[s++]=e>>16&255,a[s++]=e>>8&255,a[s++]=e&255;return i===2&&(e=S[t.charCodeAt(m)]<<2|S[t.charCodeAt(m+1)]>>4,a[s++]=e&255),i===1&&(e=S[t.charCodeAt(m)]<<10|S[t.charCodeAt(m+1)]<<4|S[t.charCodeAt(m+2)]>>2,a[s++]=e>>8&255,a[s++]=e&255),a}function dt(t){return N[t>>18&63]+N[t>>12&63]+N[t>>6&63]+N[t&63]}function mt(t,e,r){for(var n,i=[],a=e;a<r;a+=3)n=(t[a]<<16&16711680)+(t[a+1]<<8&65280)+(t[a+2]&255),i.push(dt(n));return i.join("")}function gt(t){for(var e,r=t.length,n=r%3,i=[],a=16383,s=0,d=r-n;s<d;s+=a)i.push(mt(t,s,s+a>d?d:s+a));return n===1?(e=t[r-1],i.push(N[e>>2]+N[e<<4&63]+"==")):n===2&&(e=(t[r-2]<<8)+t[r-1],i.push(N[e>>10]+N[e>>4&63]+N[e<<2&63]+"=")),i.join("")}});var qe=se(ye=>{o();ye.read=function(t,e,r,n,i){var a,s,d=i*8-n-1,m=(1<<d)-1,g=m>>1,h=-7,f=r?i-1:0,y=r?-1:1,T=t[e+f];for(f+=y,a=T&(1<<-h)-1,T>>=-h,h+=d;h>0;a=a*256+t[e+f],f+=y,h-=8);for(s=a&(1<<-h)-1,a>>=-h,h+=n;h>0;s=s*256+t[e+f],f+=y,h-=8);if(a===0)a=1-g;else{if(a===m)return s?NaN:(T?-1:1)*(1/0);s=s+Math.pow(2,n),a=a-g}return(T?-1:1)*s*Math.pow(2,a-n)};ye.write=function(t,e,r,n,i,a){var s,d,m,g=a*8-i-1,h=(1<<g)-1,f=h>>1,y=i===23?Math.pow(2,-24)-Math.pow(2,-77):0,T=n?0:a-1,w=n?1:-1,M=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=h):(s=Math.floor(Math.log(e)/Math.LN2),e*(m=Math.pow(2,-s))<1&&(s--,m*=2),s+f>=1?e+=y/m:e+=y*Math.pow(2,1-f),e*m>=2&&(s++,m/=2),s+f>=h?(d=0,s=h):s+f>=1?(d=(e*m-1)*Math.pow(2,i),s=s+f):(d=e*Math.pow(2,f-1)*Math.pow(2,i),s=0));i>=8;t[r+T]=d&255,T+=w,d/=256,i-=8);for(s=s<<i|d,g+=i;g>0;t[r+T]=s&255,T+=w,s/=256,g-=8);t[r+T-w]|=M*128}});var ir=se(K=>{"use strict";o();var Te=He(),z=qe(),je=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;K.Buffer=l;K.SlowBuffer=bt;K.INSPECT_MAX_BYTES=50;var ce=2147483647;K.kMaxLength=ce;l.TYPED_ARRAY_SUPPORT=ft();!l.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 ft(){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(l.prototype,"parent",{enumerable:!0,get:function(){if(!!l.isBuffer(this))return this.buffer}});Object.defineProperty(l.prototype,"offset",{enumerable:!0,get:function(){if(!!l.isBuffer(this))return this.byteOffset}});function O(t){if(t>ce)throw new RangeError('The value "'+t+'" is invalid for option "size"');var e=new Uint8Array(t);return Object.setPrototypeOf(e,l.prototype),e}function l(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 ve(t)}return Xe(t,e,r)}l.poolSize=8192;function Xe(t,e,r){if(typeof t=="string")return yt(t,e);if(ArrayBuffer.isView(t))return Tt(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(_(t,ArrayBuffer)||t&&_(t.buffer,ArrayBuffer)||typeof SharedArrayBuffer!="undefined"&&(_(t,SharedArrayBuffer)||t&&_(t.buffer,SharedArrayBuffer)))return be(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 l.from(n,e,r);var i=xt(t);if(i)return i;if(typeof Symbol!="undefined"&&Symbol.toPrimitive!=null&&typeof t[Symbol.toPrimitive]=="function")return l.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)}l.from=function(t,e,r){return Xe(t,e,r)};Object.setPrototypeOf(l.prototype,Uint8Array.prototype);Object.setPrototypeOf(l,Uint8Array);function Ye(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 ht(t,e,r){return Ye(t),t<=0?O(t):e!==void 0?typeof r=="string"?O(t).fill(e,r):O(t).fill(e):O(t)}l.alloc=function(t,e,r){return ht(t,e,r)};function ve(t){return Ye(t),O(t<0?0:Ae(t)|0)}l.allocUnsafe=function(t){return ve(t)};l.allocUnsafeSlow=function(t){return ve(t)};function yt(t,e){if((typeof e!="string"||e==="")&&(e="utf8"),!l.isEncoding(e))throw new TypeError("Unknown encoding: "+e);var r=Ze(t,e)|0,n=O(r),i=n.write(t,e);return i!==r&&(n=n.slice(0,i)),n}function xe(t){for(var e=t.length<0?0:Ae(t.length)|0,r=O(e),n=0;n<e;n+=1)r[n]=t[n]&255;return r}function Tt(t){if(_(t,Uint8Array)){var e=new Uint8Array(t);return be(e.buffer,e.byteOffset,e.byteLength)}return xe(t)}function be(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,l.prototype),n}function xt(t){if(l.isBuffer(t)){var e=Ae(t.length)|0,r=O(e);return r.length===0||t.copy(r,0,0,e),r}if(t.length!==void 0)return typeof t.length!="number"||Se(t.length)?O(0):xe(t);if(t.type==="Buffer"&&Array.isArray(t.data))return xe(t.data)}function Ae(t){if(t>=ce)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+ce.toString(16)+" bytes");return t|0}function bt(t){return+t!=t&&(t=0),l.alloc(+t)}l.isBuffer=function(e){return e!=null&&e._isBuffer===!0&&e!==l.prototype};l.compare=function(e,r){if(_(e,Uint8Array)&&(e=l.from(e,e.offset,e.byteLength)),_(r,Uint8Array)&&(r=l.from(r,r.offset,r.byteLength)),!l.isBuffer(e)||!l.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,i=r.length,a=0,s=Math.min(n,i);a<s;++a)if(e[a]!==r[a]){n=e[a],i=r[a];break}return n<i?-1:i<n?1:0};l.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}};l.concat=function(e,r){if(!Array.isArray(e))throw new TypeError('"list" argument must be an Array of Buffers');if(e.length===0)return l.alloc(0);var n;if(r===void 0)for(r=0,n=0;n<e.length;++n)r+=e[n].length;var i=l.allocUnsafe(r),a=0;for(n=0;n<e.length;++n){var s=e[n];if(_(s,Uint8Array))a+s.length>i.length?l.from(s).copy(i,a):Uint8Array.prototype.set.call(i,s,a);else if(l.isBuffer(s))s.copy(i,a);else throw new TypeError('"list" argument must be an Array of Buffers');a+=s.length}return i};function Ze(t,e){if(l.isBuffer(t))return t.length;if(ArrayBuffer.isView(t)||_(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 i=!1;;)switch(e){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":return we(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return r*2;case"hex":return r>>>1;case"base64":return nr(t).length;default:if(i)return n?-1:we(t).length;e=(""+e).toLowerCase(),i=!0}}l.byteLength=Ze;function wt(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 Lt(this,e,r);case"utf8":case"utf-8":return Qe(this,e,r);case"ascii":return Et(this,e,r);case"latin1":case"binary":return Rt(this,e,r);case"base64":return Nt(this,e,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Dt(this,e,r);default:if(n)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),n=!0}}l.prototype._isBuffer=!0;function H(t,e,r){var n=t[e];t[e]=t[r],t[r]=n}l.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)H(this,r,r+1);return this};l.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)H(this,r,r+3),H(this,r+1,r+2);return this};l.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)H(this,r,r+7),H(this,r+1,r+6),H(this,r+2,r+5),H(this,r+3,r+4);return this};l.prototype.toString=function(){var e=this.length;return e===0?"":arguments.length===0?Qe(this,0,e):wt.apply(this,arguments)};l.prototype.toLocaleString=l.prototype.toString;l.prototype.equals=function(e){if(!l.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e?!0:l.compare(this,e)===0};l.prototype.inspect=function(){var e="",r=K.INSPECT_MAX_BYTES;return e=this.toString("hex",0,r).replace(/(.{2})/g,"$1 ").trim(),this.length>r&&(e+=" ... "),"<Buffer "+e+">"};je&&(l.prototype[je]=l.prototype.inspect);l.prototype.compare=function(e,r,n,i,a){if(_(e,Uint8Array)&&(e=l.from(e,e.offset,e.byteLength)),!l.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),i===void 0&&(i=0),a===void 0&&(a=this.length),r<0||n>e.length||i<0||a>this.length)throw new RangeError("out of range index");if(i>=a&&r>=n)return 0;if(i>=a)return-1;if(r>=n)return 1;if(r>>>=0,n>>>=0,i>>>=0,a>>>=0,this===e)return 0;for(var s=a-i,d=n-r,m=Math.min(s,d),g=this.slice(i,a),h=e.slice(r,n),f=0;f<m;++f)if(g[f]!==h[f]){s=g[f],d=h[f];break}return s<d?-1:d<s?1:0};function Je(t,e,r,n,i){if(t.length===0)return-1;if(typeof r=="string"?(n=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),r=+r,Se(r)&&(r=i?0:t.length-1),r<0&&(r=t.length+r),r>=t.length){if(i)return-1;r=t.length-1}else if(r<0)if(i)r=0;else return-1;if(typeof e=="string"&&(e=l.from(e,n)),l.isBuffer(e))return e.length===0?-1:ze(t,e,r,n,i);if(typeof e=="number")return e=e&255,typeof Uint8Array.prototype.indexOf=="function"?i?Uint8Array.prototype.indexOf.call(t,e,r):Uint8Array.prototype.lastIndexOf.call(t,e,r):ze(t,[e],r,n,i);throw new TypeError("val must be string, number or Buffer")}function ze(t,e,r,n,i){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 m(T,w){return a===1?T[w]:T.readUInt16BE(w*a)}var g;if(i){var h=-1;for(g=r;g<s;g++)if(m(t,g)===m(e,h===-1?0:g-h)){if(h===-1&&(h=g),g-h+1===d)return h*a}else h!==-1&&(g-=g-h),h=-1}else for(r+d>s&&(r=s-d),g=r;g>=0;g--){for(var f=!0,y=0;y<d;y++)if(m(t,g+y)!==m(e,y)){f=!1;break}if(f)return g}return-1}l.prototype.includes=function(e,r,n){return this.indexOf(e,r,n)!==-1};l.prototype.indexOf=function(e,r,n){return Je(this,e,r,n,!0)};l.prototype.lastIndexOf=function(e,r,n){return Je(this,e,r,n,!1)};function vt(t,e,r,n){r=Number(r)||0;var i=t.length-r;n?(n=Number(n),n>i&&(n=i)):n=i;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(Se(d))return s;t[r+s]=d}return s}function At(t,e,r,n){return ue(we(e,t.length-r),t,r,n)}function St(t,e,r,n){return ue(Ot(e),t,r,n)}function kt(t,e,r,n){return ue(nr(e),t,r,n)}function It(t,e,r,n){return ue(Ut(e,t.length-r),t,r,n)}l.prototype.write=function(e,r,n,i){if(r===void 0)i="utf8",n=this.length,r=0;else if(n===void 0&&typeof r=="string")i=r,n=this.length,r=0;else if(isFinite(r))r=r>>>0,isFinite(n)?(n=n>>>0,i===void 0&&(i="utf8")):(i=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");i||(i="utf8");for(var s=!1;;)switch(i){case"hex":return vt(this,e,r,n);case"utf8":case"utf-8":return At(this,e,r,n);case"ascii":case"latin1":case"binary":return St(this,e,r,n);case"base64":return kt(this,e,r,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return It(this,e,r,n);default:if(s)throw new TypeError("Unknown encoding: "+i);i=(""+i).toLowerCase(),s=!0}};l.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function Nt(t,e,r){return e===0&&r===t.length?Te.fromByteArray(t):Te.fromByteArray(t.slice(e,r))}function Qe(t,e,r){r=Math.min(t.length,r);for(var n=[],i=e;i<r;){var a=t[i],s=null,d=a>239?4:a>223?3:a>191?2:1;if(i+d<=r){var m,g,h,f;switch(d){case 1:a<128&&(s=a);break;case 2:m=t[i+1],(m&192)===128&&(f=(a&31)<<6|m&63,f>127&&(s=f));break;case 3:m=t[i+1],g=t[i+2],(m&192)===128&&(g&192)===128&&(f=(a&15)<<12|(m&63)<<6|g&63,f>2047&&(f<55296||f>57343)&&(s=f));break;case 4:m=t[i+1],g=t[i+2],h=t[i+3],(m&192)===128&&(g&192)===128&&(h&192)===128&&(f=(a&15)<<18|(m&63)<<12|(g&63)<<6|h&63,f>65535&&f<1114112&&(s=f))}}s===null?(s=65533,d=1):s>65535&&(s-=65536,n.push(s>>>10&1023|55296),s=56320|s&1023),n.push(s),i+=d}return _t(n)}var Ke=4096;function _t(t){var e=t.length;if(e<=Ke)return String.fromCharCode.apply(String,t);for(var r="",n=0;n<e;)r+=String.fromCharCode.apply(String,t.slice(n,n+=Ke));return r}function Et(t,e,r){var n="";r=Math.min(t.length,r);for(var i=e;i<r;++i)n+=String.fromCharCode(t[i]&127);return n}function Rt(t,e,r){var n="";r=Math.min(t.length,r);for(var i=e;i<r;++i)n+=String.fromCharCode(t[i]);return n}function Lt(t,e,r){var n=t.length;(!e||e<0)&&(e=0),(!r||r<0||r>n)&&(r=n);for(var i="",a=e;a<r;++a)i+=Bt[t[a]];return i}function Dt(t,e,r){for(var n=t.slice(e,r),i="",a=0;a<n.length-1;a+=2)i+=String.fromCharCode(n[a]+n[a+1]*256);return i}l.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 i=this.subarray(e,r);return Object.setPrototypeOf(i,l.prototype),i};function b(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")}l.prototype.readUintLE=l.prototype.readUIntLE=function(e,r,n){e=e>>>0,r=r>>>0,n||b(e,r,this.length);for(var i=this[e],a=1,s=0;++s<r&&(a*=256);)i+=this[e+s]*a;return i};l.prototype.readUintBE=l.prototype.readUIntBE=function(e,r,n){e=e>>>0,r=r>>>0,n||b(e,r,this.length);for(var i=this[e+--r],a=1;r>0&&(a*=256);)i+=this[e+--r]*a;return i};l.prototype.readUint8=l.prototype.readUInt8=function(e,r){return e=e>>>0,r||b(e,1,this.length),this[e]};l.prototype.readUint16LE=l.prototype.readUInt16LE=function(e,r){return e=e>>>0,r||b(e,2,this.length),this[e]|this[e+1]<<8};l.prototype.readUint16BE=l.prototype.readUInt16BE=function(e,r){return e=e>>>0,r||b(e,2,this.length),this[e]<<8|this[e+1]};l.prototype.readUint32LE=l.prototype.readUInt32LE=function(e,r){return e=e>>>0,r||b(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+this[e+3]*16777216};l.prototype.readUint32BE=l.prototype.readUInt32BE=function(e,r){return e=e>>>0,r||b(e,4,this.length),this[e]*16777216+(this[e+1]<<16|this[e+2]<<8|this[e+3])};l.prototype.readIntLE=function(e,r,n){e=e>>>0,r=r>>>0,n||b(e,r,this.length);for(var i=this[e],a=1,s=0;++s<r&&(a*=256);)i+=this[e+s]*a;return a*=128,i>=a&&(i-=Math.pow(2,8*r)),i};l.prototype.readIntBE=function(e,r,n){e=e>>>0,r=r>>>0,n||b(e,r,this.length);for(var i=r,a=1,s=this[e+--i];i>0&&(a*=256);)s+=this[e+--i]*a;return a*=128,s>=a&&(s-=Math.pow(2,8*r)),s};l.prototype.readInt8=function(e,r){return e=e>>>0,r||b(e,1,this.length),this[e]&128?(255-this[e]+1)*-1:this[e]};l.prototype.readInt16LE=function(e,r){e=e>>>0,r||b(e,2,this.length);var n=this[e]|this[e+1]<<8;return n&32768?n|4294901760:n};l.prototype.readInt16BE=function(e,r){e=e>>>0,r||b(e,2,this.length);var n=this[e+1]|this[e]<<8;return n&32768?n|4294901760:n};l.prototype.readInt32LE=function(e,r){return e=e>>>0,r||b(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24};l.prototype.readInt32BE=function(e,r){return e=e>>>0,r||b(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]};l.prototype.readFloatLE=function(e,r){return e=e>>>0,r||b(e,4,this.length),z.read(this,e,!0,23,4)};l.prototype.readFloatBE=function(e,r){return e=e>>>0,r||b(e,4,this.length),z.read(this,e,!1,23,4)};l.prototype.readDoubleLE=function(e,r){return e=e>>>0,r||b(e,8,this.length),z.read(this,e,!0,52,8)};l.prototype.readDoubleBE=function(e,r){return e=e>>>0,r||b(e,8,this.length),z.read(this,e,!1,52,8)};function A(t,e,r,n,i,a){if(!l.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>i||e<a)throw new RangeError('"value" argument is out of bounds');if(r+n>t.length)throw new RangeError("Index out of range")}l.prototype.writeUintLE=l.prototype.writeUIntLE=function(e,r,n,i){if(e=+e,r=r>>>0,n=n>>>0,!i){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};l.prototype.writeUintBE=l.prototype.writeUIntBE=function(e,r,n,i){if(e=+e,r=r>>>0,n=n>>>0,!i){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};l.prototype.writeUint8=l.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};l.prototype.writeUint16LE=l.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};l.prototype.writeUint16BE=l.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};l.prototype.writeUint32LE=l.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};l.prototype.writeUint32BE=l.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};l.prototype.writeIntLE=function(e,r,n,i){if(e=+e,r=r>>>0,!i){var a=Math.pow(2,8*n-1);A(this,e,r,n,a-1,-a)}var s=0,d=1,m=0;for(this[r]=e&255;++s<n&&(d*=256);)e<0&&m===0&&this[r+s-1]!==0&&(m=1),this[r+s]=(e/d>>0)-m&255;return r+n};l.prototype.writeIntBE=function(e,r,n,i){if(e=+e,r=r>>>0,!i){var a=Math.pow(2,8*n-1);A(this,e,r,n,a-1,-a)}var s=n-1,d=1,m=0;for(this[r+s]=e&255;--s>=0&&(d*=256);)e<0&&m===0&&this[r+s+1]!==0&&(m=1),this[r+s]=(e/d>>0)-m&255;return r+n};l.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};l.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};l.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};l.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};l.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 er(t,e,r,n,i,a){if(r+n>t.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function rr(t,e,r,n,i){return e=+e,r=r>>>0,i||er(t,e,r,4,34028234663852886e22,-34028234663852886e22),z.write(t,e,r,n,23,4),r+4}l.prototype.writeFloatLE=function(e,r,n){return rr(this,e,r,!0,n)};l.prototype.writeFloatBE=function(e,r,n){return rr(this,e,r,!1,n)};function tr(t,e,r,n,i){return e=+e,r=r>>>0,i||er(t,e,r,8,17976931348623157e292,-17976931348623157e292),z.write(t,e,r,n,52,8),r+8}l.prototype.writeDoubleLE=function(e,r,n){return tr(this,e,r,!0,n)};l.prototype.writeDoubleBE=function(e,r,n){return tr(this,e,r,!1,n)};l.prototype.copy=function(e,r,n,i){if(!l.isBuffer(e))throw new TypeError("argument should be a Buffer");if(n||(n=0),!i&&i!==0&&(i=this.length),r>=e.length&&(r=e.length),r||(r=0),i>0&&i<n&&(i=n),i===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(i<0)throw new RangeError("sourceEnd out of bounds");i>this.length&&(i=this.length),e.length-r<i-n&&(i=e.length-r+n);var a=i-n;return this===e&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(r,n,i):Uint8Array.prototype.set.call(e,this.subarray(n,i),r),a};l.prototype.fill=function(e,r,n,i){if(typeof e=="string"){if(typeof r=="string"?(i=r,r=0,n=this.length):typeof n=="string"&&(i=n,n=this.length),i!==void 0&&typeof i!="string")throw new TypeError("encoding must be a string");if(typeof i=="string"&&!l.isEncoding(i))throw new TypeError("Unknown encoding: "+i);if(e.length===1){var a=e.charCodeAt(0);(i==="utf8"&&a<128||i==="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=l.isBuffer(e)?e:l.from(e,i),m=d.length;if(m===0)throw new TypeError('The value "'+e+'" is invalid for argument "value"');for(s=0;s<n-r;++s)this[s+r]=d[s%m]}return this};var Ft=/[^+/0-9A-Za-z-_]/g;function Ct(t){if(t=t.split("=")[0],t=t.trim().replace(Ft,""),t.length<2)return"";for(;t.length%4!==0;)t=t+"=";return t}function we(t,e){e=e||1/0;for(var r,n=t.length,i=null,a=[],s=0;s<n;++s){if(r=t.charCodeAt(s),r>55295&&r<57344){if(!i){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}i=r;continue}if(r<56320){(e-=3)>-1&&a.push(239,191,189),i=r;continue}r=(i-55296<<10|r-56320)+65536}else i&&(e-=3)>-1&&a.push(239,191,189);if(i=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 Ot(t){for(var e=[],r=0;r<t.length;++r)e.push(t.charCodeAt(r)&255);return e}function Ut(t,e){for(var r,n,i,a=[],s=0;s<t.length&&!((e-=2)<0);++s)r=t.charCodeAt(s),n=r>>8,i=r%256,a.push(i),a.push(n);return a}function nr(t){return Te.toByteArray(Ct(t))}function ue(t,e,r,n){for(var i=0;i<n&&!(i+r>=e.length||i>=t.length);++i)e[i+r]=t[i];return i}function _(t,e){return t instanceof e||t!=null&&t.constructor!=null&&t.constructor.name!=null&&t.constructor.name===e.name}function Se(t){return t!==t}var Bt=function(){for(var t="0123456789abcdef",e=new Array(256),r=0;r<16;++r)for(var n=r*16,i=0;i<16;++i)e[n+i]=t[r]+t[i];return e}()});var cr=se((ln,lr)=>{o();var x=lr.exports={},E,R;function ke(){throw new Error("setTimeout has not been defined")}function Ie(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?E=setTimeout:E=ke}catch(t){E=ke}try{typeof clearTimeout=="function"?R=clearTimeout:R=Ie}catch(t){R=Ie}})();function or(t){if(E===setTimeout)return setTimeout(t,0);if((E===ke||!E)&&setTimeout)return E=setTimeout,setTimeout(t,0);try{return E(t,0)}catch(e){try{return E.call(null,t,0)}catch(r){return E.call(this,t,0)}}}function Pt(t){if(R===clearTimeout)return clearTimeout(t);if((R===Ie||!R)&&clearTimeout)return R=clearTimeout,clearTimeout(t);try{return R(t)}catch(e){try{return R.call(null,t)}catch(r){return R.call(this,t)}}}var U=[],X=!1,q,pe=-1;function Mt(){!X||!q||(X=!1,q.length?U=q.concat(U):pe=-1,U.length&&ar())}function ar(){if(!X){var t=or(Mt);X=!0;for(var e=U.length;e;){for(q=U,U=[];++pe<e;)q&&q[pe].run();pe=-1,e=U.length}q=null,X=!1,Pt(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];U.push(new sr(t,e)),U.length===1&&!X&&or(ar)};function sr(t,e){this.fun=t,this.array=e}sr.prototype.run=function(){this.fun.apply(null,this.array)};x.title="browser";x.browser=!0;x.env={};x.argv=[];x.version="";x.versions={};function B(){}x.on=B;x.addListener=B;x.once=B;x.off=B;x.removeListener=B;x.removeAllListeners=B;x.emit=B;x.prependListener=B;x.prependOnceListener=B;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 c,u,cn,o=ot(()=>{c=C(ir()),u=C(cr()),cn=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)});var tn={};at(tn,{explorerUrlBuilder:()=>te,getExplorerLink:()=>Ht,getHumanReadableTimeFormat:()=>jt,getOperationsMessages:()=>zt,getReceiptMessage:()=>Yt,getTransactionMethod:()=>$t,getTransactionReceiver:()=>Le,getTransactionReceiverAssets:()=>Gt,getTransactionTokens:()=>Re,getTransactionTransferType:()=>qt,getTransactionValue:()=>rn});module.exports=st(tn);o();o();o();var G="accounts";var ur="blocks",pr="code",dr="collections";var mr="contracts";var gr="identities";var fr="locked-accounts",hr="logs",yr="miniblocks";var Ne="nfts",Tr="nodes",_e="providers",xr="roles",Ee="sc-results";var Y="tokens";var j="transactions";var te={shard:t=>`/${ur}?shard=${t}`,receiverShard:t=>`/${j}?receivershard=${t}`,senderShard:t=>`/${j}?sendershard=${t}`,transactionDetails:t=>`/${j}/${t}`,transactionDetailsScResults:t=>`/${j}/${t}/${Ee}`,transactionDetailsLogs:t=>`/${j}/${t}/${hr}`,nodeDetails:t=>`/${Tr}/${t}`,accountDetails:t=>`/${G}/${t}`,accountDetailsContractCode:t=>`/${G}/${t}/${pr}`,accountDetailsTokens:t=>`/${G}/${t}/${Y}`,accountDetailsNfts:t=>`/${G}/${t}/${Ne}`,accountDetailsScResults:t=>`/${G}/${t}/${Ee}`,accountDetailsContracts:t=>`/${G}/${t}/${mr}`,identityDetails:t=>`/${gr}/${t}`,tokenDetails:t=>`/${Y}/${t}`,tokenDetailsAccounts:t=>`/${Y}/${t}/${G}`,tokenDetailsLockedAccounts:t=>`/${Y}/${t}/${fr}`,tokenDetailsRoles:t=>`/${Y}/${t}/${xr}`,collectionDetails:t=>`/${dr}/${t}`,nftDetails:t=>`/${Ne}/${t}`,providerDetails:t=>`/${_e}/${t}`,providerDetailsTransactions:t=>`/${_e}/${t}/${j}`,miniblockDetails:t=>`/${yr}/${t}`};o();var Re=t=>{var e,r,n,i;if(t.action){let a=[(e=t.action.arguments)==null?void 0:e.token,(r=t.action.arguments)==null?void 0:r.token1,(n=t.action.arguments)==null?void 0:n.token2,(i=t.action.arguments)==null?void 0:i.transfers].filter(d=>d!=null);return[].concat(...a)}return[]};o();o();function Le(t){var r,n;let e=t.receiver;return(n=(r=t.action)==null?void 0:r.arguments)!=null&&n.receiver&&(e=t.action.arguments.receiver),e}function Gt(t){let e=Le(t);return t.receiver===e?t.receiverAssets:void 0}o();o();var De=(n=>(n.nft="nft",n.esdt="esdt",n.egld="egld",n))(De||{});var $t=t=>{var n,i,a,s,d,m;let e="Transaction";return((n=t.action)==null?void 0:n.name)&&((i=t.action)==null?void 0:i.category)&&(((a=t.action)==null?void 0:a.category)==="esdtNft"&&((s=t.action)==null?void 0:s.name)==="transfer"?e="Transaction":t.action&&(e=t.action.name),(m=(d=t.action)==null?void 0:d.arguments)!=null&&m.functionName&&(e=t.action.arguments.functionName)),e};o();var br=!1;function Wt(t){br||(console.error(t),br=!0)}function Ht({explorerAddress:t,to:e}){try{return new URL(e).href}catch(r){return e.startsWith("/")||(Wt(`Link not prepended by / : ${e}`),e=`/${e}`),t?`${t}${e}`:e}}o();function qt(t,e,r){let n=t===e.sender,i=t===r,a=n&&i,s=(e==null?void 0:e.type)==="SmartContractResult";switch(!0){case s:return"Internal";case a:return"Self";case i:return"In";case n:default:return"Out"}}o();function jt({value:t,noSeconds:e,utc:r,meridiem:n=!0}){let i=new Date(t*1e3),[,a]=i.toLocaleString("en-US",{hour:"numeric",hour12:n}).split(" "),s=i.toUTCString(),[,d]=s.split(","),[m,g,h,f]=d.trim().split(" "),[y,T,w]=f.split(":"),M=`:${w}`,Q=`${y}:${T}${e?"":M}`,$=`${n?a:""} ${r?"UTC":""}`.trim();return`${g} ${m}, ${h} ${Q} ${$}`.trim()}o();function zt(t){var e,r;return(r=(e=t==null?void 0:t.operations)==null?void 0:e.map(n=>n.message).filter(n=>Boolean(n)))!=null?r:[]}o();var Lr=C(require("bignumber.js"));o();o();o();o();o();o();o();o();o();o();o();o();o();o();o();var Kt=require("@multiversx/sdk-web-wallet-cross-window-provider/out/CrossWindowProvider/CrossWindowProvider"),Z=require("@multiversx/sdk-web-wallet-cross-window-provider/out/enums");var wr=(r=>(r.signTransactionsWithGuardianResponse="SIGN_TRANSACTIONS_WITH_GUARDIAN_RESPONSE",r.reloginRequest="RELOGIN_REQUEST",r))(wr||{}),Vn=F(F({},Z.WindowProviderRequestEnums),wr),vr=(e=>(e.reloginResponse="RELOGIN_RESPONSE",e))(vr||{}),$n=F(F({},Z.WindowProviderResponseEnums),vr);o();o();o();o();o();var Fe={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",metamaskSnapWalletAddress:"https://devnet-snap-wallet.multiversx.com",apiTimeout:"4000",roundDuration:6e3},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",metamaskSnapWalletAddress:"https://testnet-snap-wallet.multiversx.com",apiTimeout:"4000",roundDuration:6e3},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",metamaskSnapWalletAddress:"https://snap-wallet.multiversx.com",apiTimeout:"4000",roundDuration:6e3}},{chainId:Ar,egldLabel:ii}=Fe["devnet"],{chainId:Sr,egldLabel:oi}=Fe["testnet"],{chainId:kr,egldLabel:ai}=Fe["mainnet"];var si={["devnet"]:Ar,["testnet"]:Sr,["mainnet"]:kr},li={[Ar]:"devnet",[Sr]:"testnet",[kr]:"mainnet"};o();o();var L=require("@multiversx/sdk-web-wallet-provider");o();o();var Ce=require("@multiversx/sdk-dapp-utils/out/constants/browserConstants");var Ir,Nr,Oe=String((Nr=(Ir=Ce.safeWindow)==null?void 0:Ir.navigator)==null?void 0:Nr.userAgent),gi=/^((?!chrome|android).)*safari/i.test(Oe),fi=/firefox/i.test(Oe)&&/windows/i.test(Oe);var v=18,J=4;var _r="refundedGas";var de="0";o();var Rr=require("@multiversx/sdk-core"),V=C(require("bignumber.js"));o();var Er=C(require("bignumber.js")),Ue=(t,e=!0)=>{let r=String(t);if(!r.match(/^[-]?\d+$/))return!1;let n=new Er.default(r),i=e?0:-1;return n.toString(10)===r&&n.comparedTo(0)>=i};o();function P(t){return{if:function(e){return e?{then:r=>r instanceof Function?P(r(t)):P(r)}:{then:()=>P(t)}},then:e=>e instanceof Function?P(e(t)):P(e),valueOf:function(){return t}}}V.default.config({ROUNDING_MODE:V.default.ROUND_FLOOR});function D({input:t,decimals:e=v,digits:r=J,showLastNonZeroDecimal:n=!0,showIsLessThanDecimalsLabel:i=!1,addCommas:a=!1}){if(!Ue(t,!1))throw new Error("Invalid input");let s=new V.default(t).isNegative(),d=t;return s&&(d=t.substring(1)),P(d).then(()=>Rr.TokenTransfer.fungibleFromBigInteger("",d,e).amountAsBigInteger.shiftedBy(-e).toFixed(e)).then(m=>{let g=new V.default(m);if(g.isZero())return de;let h=g.toString(10),[f,y]=h.split("."),T=new V.default(y||0),w=P(0).if(Boolean(y&&n)).then(()=>Math.max(y.length,r)).if(T.isZero()&&!n).then(0).if(Boolean(y&&!n)).then(()=>Math.min(y.length,r)).valueOf(),M=y&&r>=1&&r<=y.length&&T.isGreaterThan(0)&&new V.default(y.substring(0,r)).isZero(),Q=g.toFormat(w);return P(h).if(a).then(Q).if(Boolean(M)).then(ee=>{let $=new V.default(f).isZero(),[I,ie]=ee.split("."),oe=new Array(r-1).fill(0),Yr=[...oe,0].join(""),Zr=[...oe,1].join("");return $?i?`<${I}.${Zr}`:n?`${I}.${ie}`:I:`${I}.${Yr}`}).if(Boolean(!M&&y)).then(ee=>{let[$]=ee.split("."),I=y.substring(0,w);if(n){let ie=r-I.length;if(ie>0){let oe=Array(ie).fill(0).join("");return I=`${I}${oe}`,`${$}.${I}`}return ee}return I?`${$}.${I}`:$}).valueOf()}).if(s).then(m=>`-${m}`).valueOf()}var Xt=t=>{var e,r;if(!((e=t.receipt)!=null&&e.value))return"";if(((r=t.receipt)==null?void 0:r.data)===_r){let n=D({input:t.receipt.value,decimals:v,digits:J,showLastNonZeroDecimal:!0});return new Lr.default(n).times(t.gasPrice).times(100).toFixed()}return t.receipt.value};function Yt(t){var i;let e=(i=t.receipt)==null?void 0:i.data;if(!e)return"";let r=Xt(t),n=r?`: ${r}`:"";return`${e}${n}`}o();o();o();o();var me=(n=>(n.NonFungibleESDT="NonFungibleESDT",n.SemiFungibleESDT="SemiFungibleESDT",n.MetaESDT="MetaESDT",n))(me||{});o();o();o();o();o();var Zt=require("@multiversx/sdk-core");o();var ne=require("@multiversx/sdk-core"),Qt=C(require("bignumber.js"));o();o();o();var Jt=C(require("bignumber.js"));o();o();var Be={isEsdt:!1,isNft:!1,isEgld:!1};function Dr(t){let e=t==null?void 0:t.split("-").length;return e===2?ae(F({},Be),{isEsdt:!0}):e===3?ae(F({},Be),{isNft:!0}):ae(F({},Be),{isEgld:!0})}o();o();o();o();o();o();function ge({token:t,noValue:e,showLastNonZeroDecimal:r}){var g;let n=!e&&t.value&&t.type!=="NonFungibleESDT",i=t.decimals!=null,a="";t.type==="NonFungibleESDT"&&(a="NFT"),t.type==="SemiFungibleESDT"&&(a="SFT"),t.type==="MetaESDT"&&(a="Meta-ESDT");let s="";n&&i&&(s=i?D({input:t.value,decimals:t.decimals,digits:2,showLastNonZeroDecimal:r}):Number(t.value).toLocaleString("en"));let d=te.nftDetails(String(t.identifier)),m=t.ticker===t.collection&&(g=t.identifier)!=null?g:t.ticker;return{badgeText:a,tokenFormattedAmount:n?s:null,tokenExplorerLink:d,tokenLinkText:m,token:t,noValue:e,showLastNonZeroDecimal:r}}o();function fe({token:t,noValue:e,showLastNonZeroDecimal:r}){var d;let n=Boolean(!e&&t.value),i=n?D({input:t.value,decimals:(d=t.decimals)!=null?d:v,digits:2,showLastNonZeroDecimal:r,addCommas:!0}):null,a=te.tokenDetails(String(t.token)),s=t.ticker;return{tokenExplorerLink:a,tokenFormattedAmount:i,showFormattedAmount:n,tokenLinkText:s,token:t,showLastNonZeroDecimal:r}}o();var Fr=["reDelegateRewards","claimRewards","unBond"],Cr=["wrapEgld","unwrapEgld"],Or=["unStake"],Ur=["unDelegate"];o();o();var Br=t=>{let e=t.map(n=>{let{isNft:i}=Dr(n.type);if(i){let{badgeText:h,tokenFormattedAmount:f,tokenLinkText:y}=ge({token:n});return`${h!=null?`(${h}) `:""}${f} ${y}`}let{tokenFormattedAmount:a,tokenLinkText:s,token:d}=fe({token:n}),m=d.collection?d.identifier:d.token;return`${a} ${s} (${m})`});return decodeURI(e.join("%0A"))};o();var k=t=>({egldValueData:{value:t,formattedValue:D({input:t}),decimals:v}});o();var Gr=C(require("bignumber.js"));o();o();function en(t){try{let e=atob(t),r=btoa(e),n=c.Buffer.from(t,"base64").toString(),i=c.Buffer.from(n).toString("base64"),a=t===r||r.startsWith(t),s=t===i||i.startsWith(t);if(a&&s)return!0}catch(e){return!1}return!1}function Pr(t){return en(t)?atob(t):t}o();o();o();o();var Mr=!1;function Vr(t){var e;try{let n=Pr(t.data).replace(`${(e=t.action)==null?void 0:e.name}@`,""),i=new Gr.default(n,16);if(!i.isNaN())return k(i.toString(10))}catch(r){Mr||(console.error(`Unable to extract value for txHash: ${t.txHash}`),Mr=!0)}return k(t.value)}o();o();var $r=t=>{var r,n;return(n=(r=t==null?void 0:t.operations)==null?void 0:r.filter(i=>Object.values(De).includes(i.type)))!=null?n:[]};var Wr=!1,Hr=t=>{Wr||(console.error(`Operations field missing for txHash: ${t}.
2
- Unable to compute value field.`),Wr=!0)};function qr(t){try{if(t.operations){let[e]=$r(t);return k(e==null?void 0:e.value)}else Hr(t.txHash)}catch(e){Hr(t.txHash)}return k(t.value)}o();var zr=C(require("bignumber.js"));var jr=!1;function Kr(t){var r,n,i,a,s;return new zr.default((n=(r=t.action)==null?void 0:r.arguments)==null?void 0:n.value).isNaN()?(jr||(console.error(`Unable to interpret ${(s=t.action)==null?void 0:s.name} data for txHash: ${t.txHash}`),jr=!0),k(t.value)):k((a=(i=t.action)==null?void 0:i.arguments)==null?void 0:a.value)}var rn=({transaction:t,hideMultipleBadge:e})=>{var r;if(t.action){if(Cr.includes(t.action.name))return k(t.value);if(Or.includes(t.action.name))return Vr(t);if(Fr.includes(t.action.name))return qr(t);if(Ur.includes(t.action.name))return Kr(t);let n=Re(t);if(n.length){let i=n[0],a=Object.values(me).includes(i.type),d=!e&&n.length>1?Br(n):"";if(a){let{badgeText:T,tokenFormattedAmount:w,tokenExplorerLink:M,tokenLinkText:Q}=ge({token:i});return{nftValueData:{badgeText:T,tokenFormattedAmount:w,tokenExplorerLink:M,tokenLinkText:Q,transactionTokens:n,token:i,value:w!=null?i.value:null,decimals:w!=null?i.decimals:null,titleText:d}}}let{tokenExplorerLink:m,showFormattedAmount:g,tokenFormattedAmount:h,tokenLinkText:f,token:y}=fe({token:i});return{tokenValueData:{tokenExplorerLink:m,showFormattedAmount:g,tokenFormattedAmount:h,tokenLinkText:f,transactionTokens:n,token:y,value:i.value,decimals:(r=i.decimals)!=null?r:v,titleText:d}}}}return k(t.value)};0&&(module.exports={explorerUrlBuilder,getExplorerLink,getHumanReadableTimeFormat,getOperationsMessages,getReceiptMessage,getTransactionMethod,getTransactionReceiver,getTransactionReceiverAssets,getTransactionTokens,getTransactionTransferType,getTransactionValue});
1
+ "use strict";var Jr=Object.create;var re=Object.defineProperty,Qr=Object.defineProperties,et=Object.getOwnPropertyDescriptor,rt=Object.getOwnPropertyDescriptors,tt=Object.getOwnPropertyNames,Pe=Object.getOwnPropertySymbols,nt=Object.getPrototypeOf,Ge=Object.prototype.hasOwnProperty,it=Object.prototype.propertyIsEnumerable;var Me=(t,e,r)=>e in t?re(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,F=(t,e)=>{for(var r in e||(e={}))Ge.call(e,r)&&Me(t,r,e[r]);if(Pe)for(var r of Pe(e))it.call(e,r)&&Me(t,r,e[r]);return t},ae=(t,e)=>Qr(t,rt(e));var ot=(t,e)=>()=>(t&&(e=t(t=0)),e);var se=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),at=(t,e)=>{for(var r in e)re(t,r,{get:e[r],enumerable:!0})},Ve=(t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of tt(e))!Ge.call(t,i)&&i!==r&&re(t,i,{get:()=>e[i],enumerable:!(n=et(e,i))||n.enumerable});return t};var C=(t,e,r)=>(r=t!=null?Jr(nt(t)):{},Ve(e||!t||!t.__esModule?re(r,"default",{value:t,enumerable:!0}):r,t)),st=t=>Ve(re({},"__esModule",{value:!0}),t);var He=se(le=>{"use strict";o();le.byteLength=ct;le.toByteArray=pt;le.fromByteArray=gt;var N=[],S=[],lt=typeof Uint8Array!="undefined"?Uint8Array:Array,he="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(W=0,$e=he.length;W<$e;++W)N[W]=he[W],S[he.charCodeAt(W)]=W;var W,$e;S["-".charCodeAt(0)]=62;S["_".charCodeAt(0)]=63;function We(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 ct(t){var e=We(t),r=e[0],n=e[1];return(r+n)*3/4-n}function ut(t,e,r){return(e+r)*3/4-r}function pt(t){var e,r=We(t),n=r[0],i=r[1],a=new lt(ut(t,n,i)),s=0,m=i>0?n-4:n,d;for(d=0;d<m;d+=4)e=S[t.charCodeAt(d)]<<18|S[t.charCodeAt(d+1)]<<12|S[t.charCodeAt(d+2)]<<6|S[t.charCodeAt(d+3)],a[s++]=e>>16&255,a[s++]=e>>8&255,a[s++]=e&255;return i===2&&(e=S[t.charCodeAt(d)]<<2|S[t.charCodeAt(d+1)]>>4,a[s++]=e&255),i===1&&(e=S[t.charCodeAt(d)]<<10|S[t.charCodeAt(d+1)]<<4|S[t.charCodeAt(d+2)]>>2,a[s++]=e>>8&255,a[s++]=e&255),a}function mt(t){return N[t>>18&63]+N[t>>12&63]+N[t>>6&63]+N[t&63]}function dt(t,e,r){for(var n,i=[],a=e;a<r;a+=3)n=(t[a]<<16&16711680)+(t[a+1]<<8&65280)+(t[a+2]&255),i.push(mt(n));return i.join("")}function gt(t){for(var e,r=t.length,n=r%3,i=[],a=16383,s=0,m=r-n;s<m;s+=a)i.push(dt(t,s,s+a>m?m:s+a));return n===1?(e=t[r-1],i.push(N[e>>2]+N[e<<4&63]+"==")):n===2&&(e=(t[r-2]<<8)+t[r-1],i.push(N[e>>10]+N[e>>4&63]+N[e<<2&63]+"=")),i.join("")}});var qe=se(ye=>{o();ye.read=function(t,e,r,n,i){var a,s,m=i*8-n-1,d=(1<<m)-1,g=d>>1,h=-7,f=r?i-1:0,y=r?-1:1,T=t[e+f];for(f+=y,a=T&(1<<-h)-1,T>>=-h,h+=m;h>0;a=a*256+t[e+f],f+=y,h-=8);for(s=a&(1<<-h)-1,a>>=-h,h+=n;h>0;s=s*256+t[e+f],f+=y,h-=8);if(a===0)a=1-g;else{if(a===d)return s?NaN:(T?-1:1)*(1/0);s=s+Math.pow(2,n),a=a-g}return(T?-1:1)*s*Math.pow(2,a-n)};ye.write=function(t,e,r,n,i,a){var s,m,d,g=a*8-i-1,h=(1<<g)-1,f=h>>1,y=i===23?Math.pow(2,-24)-Math.pow(2,-77):0,T=n?0:a-1,w=n?1:-1,M=e<0||e===0&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(m=isNaN(e)?1:0,s=h):(s=Math.floor(Math.log(e)/Math.LN2),e*(d=Math.pow(2,-s))<1&&(s--,d*=2),s+f>=1?e+=y/d:e+=y*Math.pow(2,1-f),e*d>=2&&(s++,d/=2),s+f>=h?(m=0,s=h):s+f>=1?(m=(e*d-1)*Math.pow(2,i),s=s+f):(m=e*Math.pow(2,f-1)*Math.pow(2,i),s=0));i>=8;t[r+T]=m&255,T+=w,m/=256,i-=8);for(s=s<<i|m,g+=i;g>0;t[r+T]=s&255,T+=w,s/=256,g-=8);t[r+T-w]|=M*128}});var ir=se(K=>{"use strict";o();var Te=He(),z=qe(),je=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;K.Buffer=l;K.SlowBuffer=bt;K.INSPECT_MAX_BYTES=50;var ce=2147483647;K.kMaxLength=ce;l.TYPED_ARRAY_SUPPORT=ft();!l.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 ft(){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(l.prototype,"parent",{enumerable:!0,get:function(){if(!!l.isBuffer(this))return this.buffer}});Object.defineProperty(l.prototype,"offset",{enumerable:!0,get:function(){if(!!l.isBuffer(this))return this.byteOffset}});function O(t){if(t>ce)throw new RangeError('The value "'+t+'" is invalid for option "size"');var e=new Uint8Array(t);return Object.setPrototypeOf(e,l.prototype),e}function l(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 ve(t)}return Xe(t,e,r)}l.poolSize=8192;function Xe(t,e,r){if(typeof t=="string")return yt(t,e);if(ArrayBuffer.isView(t))return Tt(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(_(t,ArrayBuffer)||t&&_(t.buffer,ArrayBuffer)||typeof SharedArrayBuffer!="undefined"&&(_(t,SharedArrayBuffer)||t&&_(t.buffer,SharedArrayBuffer)))return be(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 l.from(n,e,r);var i=xt(t);if(i)return i;if(typeof Symbol!="undefined"&&Symbol.toPrimitive!=null&&typeof t[Symbol.toPrimitive]=="function")return l.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)}l.from=function(t,e,r){return Xe(t,e,r)};Object.setPrototypeOf(l.prototype,Uint8Array.prototype);Object.setPrototypeOf(l,Uint8Array);function Ye(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 ht(t,e,r){return Ye(t),t<=0?O(t):e!==void 0?typeof r=="string"?O(t).fill(e,r):O(t).fill(e):O(t)}l.alloc=function(t,e,r){return ht(t,e,r)};function ve(t){return Ye(t),O(t<0?0:Ae(t)|0)}l.allocUnsafe=function(t){return ve(t)};l.allocUnsafeSlow=function(t){return ve(t)};function yt(t,e){if((typeof e!="string"||e==="")&&(e="utf8"),!l.isEncoding(e))throw new TypeError("Unknown encoding: "+e);var r=Ze(t,e)|0,n=O(r),i=n.write(t,e);return i!==r&&(n=n.slice(0,i)),n}function xe(t){for(var e=t.length<0?0:Ae(t.length)|0,r=O(e),n=0;n<e;n+=1)r[n]=t[n]&255;return r}function Tt(t){if(_(t,Uint8Array)){var e=new Uint8Array(t);return be(e.buffer,e.byteOffset,e.byteLength)}return xe(t)}function be(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,l.prototype),n}function xt(t){if(l.isBuffer(t)){var e=Ae(t.length)|0,r=O(e);return r.length===0||t.copy(r,0,0,e),r}if(t.length!==void 0)return typeof t.length!="number"||Se(t.length)?O(0):xe(t);if(t.type==="Buffer"&&Array.isArray(t.data))return xe(t.data)}function Ae(t){if(t>=ce)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+ce.toString(16)+" bytes");return t|0}function bt(t){return+t!=t&&(t=0),l.alloc(+t)}l.isBuffer=function(e){return e!=null&&e._isBuffer===!0&&e!==l.prototype};l.compare=function(e,r){if(_(e,Uint8Array)&&(e=l.from(e,e.offset,e.byteLength)),_(r,Uint8Array)&&(r=l.from(r,r.offset,r.byteLength)),!l.isBuffer(e)||!l.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,i=r.length,a=0,s=Math.min(n,i);a<s;++a)if(e[a]!==r[a]){n=e[a],i=r[a];break}return n<i?-1:i<n?1:0};l.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}};l.concat=function(e,r){if(!Array.isArray(e))throw new TypeError('"list" argument must be an Array of Buffers');if(e.length===0)return l.alloc(0);var n;if(r===void 0)for(r=0,n=0;n<e.length;++n)r+=e[n].length;var i=l.allocUnsafe(r),a=0;for(n=0;n<e.length;++n){var s=e[n];if(_(s,Uint8Array))a+s.length>i.length?l.from(s).copy(i,a):Uint8Array.prototype.set.call(i,s,a);else if(l.isBuffer(s))s.copy(i,a);else throw new TypeError('"list" argument must be an Array of Buffers');a+=s.length}return i};function Ze(t,e){if(l.isBuffer(t))return t.length;if(ArrayBuffer.isView(t)||_(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 i=!1;;)switch(e){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":return we(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return r*2;case"hex":return r>>>1;case"base64":return nr(t).length;default:if(i)return n?-1:we(t).length;e=(""+e).toLowerCase(),i=!0}}l.byteLength=Ze;function wt(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 Lt(this,e,r);case"utf8":case"utf-8":return Qe(this,e,r);case"ascii":return Et(this,e,r);case"latin1":case"binary":return Rt(this,e,r);case"base64":return Nt(this,e,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Dt(this,e,r);default:if(n)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),n=!0}}l.prototype._isBuffer=!0;function H(t,e,r){var n=t[e];t[e]=t[r],t[r]=n}l.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)H(this,r,r+1);return this};l.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)H(this,r,r+3),H(this,r+1,r+2);return this};l.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)H(this,r,r+7),H(this,r+1,r+6),H(this,r+2,r+5),H(this,r+3,r+4);return this};l.prototype.toString=function(){var e=this.length;return e===0?"":arguments.length===0?Qe(this,0,e):wt.apply(this,arguments)};l.prototype.toLocaleString=l.prototype.toString;l.prototype.equals=function(e){if(!l.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e?!0:l.compare(this,e)===0};l.prototype.inspect=function(){var e="",r=K.INSPECT_MAX_BYTES;return e=this.toString("hex",0,r).replace(/(.{2})/g,"$1 ").trim(),this.length>r&&(e+=" ... "),"<Buffer "+e+">"};je&&(l.prototype[je]=l.prototype.inspect);l.prototype.compare=function(e,r,n,i,a){if(_(e,Uint8Array)&&(e=l.from(e,e.offset,e.byteLength)),!l.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),i===void 0&&(i=0),a===void 0&&(a=this.length),r<0||n>e.length||i<0||a>this.length)throw new RangeError("out of range index");if(i>=a&&r>=n)return 0;if(i>=a)return-1;if(r>=n)return 1;if(r>>>=0,n>>>=0,i>>>=0,a>>>=0,this===e)return 0;for(var s=a-i,m=n-r,d=Math.min(s,m),g=this.slice(i,a),h=e.slice(r,n),f=0;f<d;++f)if(g[f]!==h[f]){s=g[f],m=h[f];break}return s<m?-1:m<s?1:0};function Je(t,e,r,n,i){if(t.length===0)return-1;if(typeof r=="string"?(n=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),r=+r,Se(r)&&(r=i?0:t.length-1),r<0&&(r=t.length+r),r>=t.length){if(i)return-1;r=t.length-1}else if(r<0)if(i)r=0;else return-1;if(typeof e=="string"&&(e=l.from(e,n)),l.isBuffer(e))return e.length===0?-1:ze(t,e,r,n,i);if(typeof e=="number")return e=e&255,typeof Uint8Array.prototype.indexOf=="function"?i?Uint8Array.prototype.indexOf.call(t,e,r):Uint8Array.prototype.lastIndexOf.call(t,e,r):ze(t,[e],r,n,i);throw new TypeError("val must be string, number or Buffer")}function ze(t,e,r,n,i){var a=1,s=t.length,m=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,m/=2,r/=2}function d(T,w){return a===1?T[w]:T.readUInt16BE(w*a)}var g;if(i){var h=-1;for(g=r;g<s;g++)if(d(t,g)===d(e,h===-1?0:g-h)){if(h===-1&&(h=g),g-h+1===m)return h*a}else h!==-1&&(g-=g-h),h=-1}else for(r+m>s&&(r=s-m),g=r;g>=0;g--){for(var f=!0,y=0;y<m;y++)if(d(t,g+y)!==d(e,y)){f=!1;break}if(f)return g}return-1}l.prototype.includes=function(e,r,n){return this.indexOf(e,r,n)!==-1};l.prototype.indexOf=function(e,r,n){return Je(this,e,r,n,!0)};l.prototype.lastIndexOf=function(e,r,n){return Je(this,e,r,n,!1)};function vt(t,e,r,n){r=Number(r)||0;var i=t.length-r;n?(n=Number(n),n>i&&(n=i)):n=i;var a=e.length;n>a/2&&(n=a/2);for(var s=0;s<n;++s){var m=parseInt(e.substr(s*2,2),16);if(Se(m))return s;t[r+s]=m}return s}function At(t,e,r,n){return ue(we(e,t.length-r),t,r,n)}function St(t,e,r,n){return ue(Ot(e),t,r,n)}function kt(t,e,r,n){return ue(nr(e),t,r,n)}function It(t,e,r,n){return ue(Ut(e,t.length-r),t,r,n)}l.prototype.write=function(e,r,n,i){if(r===void 0)i="utf8",n=this.length,r=0;else if(n===void 0&&typeof r=="string")i=r,n=this.length,r=0;else if(isFinite(r))r=r>>>0,isFinite(n)?(n=n>>>0,i===void 0&&(i="utf8")):(i=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");i||(i="utf8");for(var s=!1;;)switch(i){case"hex":return vt(this,e,r,n);case"utf8":case"utf-8":return At(this,e,r,n);case"ascii":case"latin1":case"binary":return St(this,e,r,n);case"base64":return kt(this,e,r,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return It(this,e,r,n);default:if(s)throw new TypeError("Unknown encoding: "+i);i=(""+i).toLowerCase(),s=!0}};l.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function Nt(t,e,r){return e===0&&r===t.length?Te.fromByteArray(t):Te.fromByteArray(t.slice(e,r))}function Qe(t,e,r){r=Math.min(t.length,r);for(var n=[],i=e;i<r;){var a=t[i],s=null,m=a>239?4:a>223?3:a>191?2:1;if(i+m<=r){var d,g,h,f;switch(m){case 1:a<128&&(s=a);break;case 2:d=t[i+1],(d&192)===128&&(f=(a&31)<<6|d&63,f>127&&(s=f));break;case 3:d=t[i+1],g=t[i+2],(d&192)===128&&(g&192)===128&&(f=(a&15)<<12|(d&63)<<6|g&63,f>2047&&(f<55296||f>57343)&&(s=f));break;case 4:d=t[i+1],g=t[i+2],h=t[i+3],(d&192)===128&&(g&192)===128&&(h&192)===128&&(f=(a&15)<<18|(d&63)<<12|(g&63)<<6|h&63,f>65535&&f<1114112&&(s=f))}}s===null?(s=65533,m=1):s>65535&&(s-=65536,n.push(s>>>10&1023|55296),s=56320|s&1023),n.push(s),i+=m}return _t(n)}var Ke=4096;function _t(t){var e=t.length;if(e<=Ke)return String.fromCharCode.apply(String,t);for(var r="",n=0;n<e;)r+=String.fromCharCode.apply(String,t.slice(n,n+=Ke));return r}function Et(t,e,r){var n="";r=Math.min(t.length,r);for(var i=e;i<r;++i)n+=String.fromCharCode(t[i]&127);return n}function Rt(t,e,r){var n="";r=Math.min(t.length,r);for(var i=e;i<r;++i)n+=String.fromCharCode(t[i]);return n}function Lt(t,e,r){var n=t.length;(!e||e<0)&&(e=0),(!r||r<0||r>n)&&(r=n);for(var i="",a=e;a<r;++a)i+=Bt[t[a]];return i}function Dt(t,e,r){for(var n=t.slice(e,r),i="",a=0;a<n.length-1;a+=2)i+=String.fromCharCode(n[a]+n[a+1]*256);return i}l.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 i=this.subarray(e,r);return Object.setPrototypeOf(i,l.prototype),i};function b(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")}l.prototype.readUintLE=l.prototype.readUIntLE=function(e,r,n){e=e>>>0,r=r>>>0,n||b(e,r,this.length);for(var i=this[e],a=1,s=0;++s<r&&(a*=256);)i+=this[e+s]*a;return i};l.prototype.readUintBE=l.prototype.readUIntBE=function(e,r,n){e=e>>>0,r=r>>>0,n||b(e,r,this.length);for(var i=this[e+--r],a=1;r>0&&(a*=256);)i+=this[e+--r]*a;return i};l.prototype.readUint8=l.prototype.readUInt8=function(e,r){return e=e>>>0,r||b(e,1,this.length),this[e]};l.prototype.readUint16LE=l.prototype.readUInt16LE=function(e,r){return e=e>>>0,r||b(e,2,this.length),this[e]|this[e+1]<<8};l.prototype.readUint16BE=l.prototype.readUInt16BE=function(e,r){return e=e>>>0,r||b(e,2,this.length),this[e]<<8|this[e+1]};l.prototype.readUint32LE=l.prototype.readUInt32LE=function(e,r){return e=e>>>0,r||b(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+this[e+3]*16777216};l.prototype.readUint32BE=l.prototype.readUInt32BE=function(e,r){return e=e>>>0,r||b(e,4,this.length),this[e]*16777216+(this[e+1]<<16|this[e+2]<<8|this[e+3])};l.prototype.readIntLE=function(e,r,n){e=e>>>0,r=r>>>0,n||b(e,r,this.length);for(var i=this[e],a=1,s=0;++s<r&&(a*=256);)i+=this[e+s]*a;return a*=128,i>=a&&(i-=Math.pow(2,8*r)),i};l.prototype.readIntBE=function(e,r,n){e=e>>>0,r=r>>>0,n||b(e,r,this.length);for(var i=r,a=1,s=this[e+--i];i>0&&(a*=256);)s+=this[e+--i]*a;return a*=128,s>=a&&(s-=Math.pow(2,8*r)),s};l.prototype.readInt8=function(e,r){return e=e>>>0,r||b(e,1,this.length),this[e]&128?(255-this[e]+1)*-1:this[e]};l.prototype.readInt16LE=function(e,r){e=e>>>0,r||b(e,2,this.length);var n=this[e]|this[e+1]<<8;return n&32768?n|4294901760:n};l.prototype.readInt16BE=function(e,r){e=e>>>0,r||b(e,2,this.length);var n=this[e+1]|this[e]<<8;return n&32768?n|4294901760:n};l.prototype.readInt32LE=function(e,r){return e=e>>>0,r||b(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24};l.prototype.readInt32BE=function(e,r){return e=e>>>0,r||b(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]};l.prototype.readFloatLE=function(e,r){return e=e>>>0,r||b(e,4,this.length),z.read(this,e,!0,23,4)};l.prototype.readFloatBE=function(e,r){return e=e>>>0,r||b(e,4,this.length),z.read(this,e,!1,23,4)};l.prototype.readDoubleLE=function(e,r){return e=e>>>0,r||b(e,8,this.length),z.read(this,e,!0,52,8)};l.prototype.readDoubleBE=function(e,r){return e=e>>>0,r||b(e,8,this.length),z.read(this,e,!1,52,8)};function A(t,e,r,n,i,a){if(!l.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>i||e<a)throw new RangeError('"value" argument is out of bounds');if(r+n>t.length)throw new RangeError("Index out of range")}l.prototype.writeUintLE=l.prototype.writeUIntLE=function(e,r,n,i){if(e=+e,r=r>>>0,n=n>>>0,!i){var a=Math.pow(2,8*n)-1;A(this,e,r,n,a,0)}var s=1,m=0;for(this[r]=e&255;++m<n&&(s*=256);)this[r+m]=e/s&255;return r+n};l.prototype.writeUintBE=l.prototype.writeUIntBE=function(e,r,n,i){if(e=+e,r=r>>>0,n=n>>>0,!i){var a=Math.pow(2,8*n)-1;A(this,e,r,n,a,0)}var s=n-1,m=1;for(this[r+s]=e&255;--s>=0&&(m*=256);)this[r+s]=e/m&255;return r+n};l.prototype.writeUint8=l.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};l.prototype.writeUint16LE=l.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};l.prototype.writeUint16BE=l.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};l.prototype.writeUint32LE=l.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};l.prototype.writeUint32BE=l.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};l.prototype.writeIntLE=function(e,r,n,i){if(e=+e,r=r>>>0,!i){var a=Math.pow(2,8*n-1);A(this,e,r,n,a-1,-a)}var s=0,m=1,d=0;for(this[r]=e&255;++s<n&&(m*=256);)e<0&&d===0&&this[r+s-1]!==0&&(d=1),this[r+s]=(e/m>>0)-d&255;return r+n};l.prototype.writeIntBE=function(e,r,n,i){if(e=+e,r=r>>>0,!i){var a=Math.pow(2,8*n-1);A(this,e,r,n,a-1,-a)}var s=n-1,m=1,d=0;for(this[r+s]=e&255;--s>=0&&(m*=256);)e<0&&d===0&&this[r+s+1]!==0&&(d=1),this[r+s]=(e/m>>0)-d&255;return r+n};l.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};l.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};l.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};l.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};l.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 er(t,e,r,n,i,a){if(r+n>t.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function rr(t,e,r,n,i){return e=+e,r=r>>>0,i||er(t,e,r,4,34028234663852886e22,-34028234663852886e22),z.write(t,e,r,n,23,4),r+4}l.prototype.writeFloatLE=function(e,r,n){return rr(this,e,r,!0,n)};l.prototype.writeFloatBE=function(e,r,n){return rr(this,e,r,!1,n)};function tr(t,e,r,n,i){return e=+e,r=r>>>0,i||er(t,e,r,8,17976931348623157e292,-17976931348623157e292),z.write(t,e,r,n,52,8),r+8}l.prototype.writeDoubleLE=function(e,r,n){return tr(this,e,r,!0,n)};l.prototype.writeDoubleBE=function(e,r,n){return tr(this,e,r,!1,n)};l.prototype.copy=function(e,r,n,i){if(!l.isBuffer(e))throw new TypeError("argument should be a Buffer");if(n||(n=0),!i&&i!==0&&(i=this.length),r>=e.length&&(r=e.length),r||(r=0),i>0&&i<n&&(i=n),i===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(i<0)throw new RangeError("sourceEnd out of bounds");i>this.length&&(i=this.length),e.length-r<i-n&&(i=e.length-r+n);var a=i-n;return this===e&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(r,n,i):Uint8Array.prototype.set.call(e,this.subarray(n,i),r),a};l.prototype.fill=function(e,r,n,i){if(typeof e=="string"){if(typeof r=="string"?(i=r,r=0,n=this.length):typeof n=="string"&&(i=n,n=this.length),i!==void 0&&typeof i!="string")throw new TypeError("encoding must be a string");if(typeof i=="string"&&!l.isEncoding(i))throw new TypeError("Unknown encoding: "+i);if(e.length===1){var a=e.charCodeAt(0);(i==="utf8"&&a<128||i==="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 m=l.isBuffer(e)?e:l.from(e,i),d=m.length;if(d===0)throw new TypeError('The value "'+e+'" is invalid for argument "value"');for(s=0;s<n-r;++s)this[s+r]=m[s%d]}return this};var Ft=/[^+/0-9A-Za-z-_]/g;function Ct(t){if(t=t.split("=")[0],t=t.trim().replace(Ft,""),t.length<2)return"";for(;t.length%4!==0;)t=t+"=";return t}function we(t,e){e=e||1/0;for(var r,n=t.length,i=null,a=[],s=0;s<n;++s){if(r=t.charCodeAt(s),r>55295&&r<57344){if(!i){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}i=r;continue}if(r<56320){(e-=3)>-1&&a.push(239,191,189),i=r;continue}r=(i-55296<<10|r-56320)+65536}else i&&(e-=3)>-1&&a.push(239,191,189);if(i=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 Ot(t){for(var e=[],r=0;r<t.length;++r)e.push(t.charCodeAt(r)&255);return e}function Ut(t,e){for(var r,n,i,a=[],s=0;s<t.length&&!((e-=2)<0);++s)r=t.charCodeAt(s),n=r>>8,i=r%256,a.push(i),a.push(n);return a}function nr(t){return Te.toByteArray(Ct(t))}function ue(t,e,r,n){for(var i=0;i<n&&!(i+r>=e.length||i>=t.length);++i)e[i+r]=t[i];return i}function _(t,e){return t instanceof e||t!=null&&t.constructor!=null&&t.constructor.name!=null&&t.constructor.name===e.name}function Se(t){return t!==t}var Bt=function(){for(var t="0123456789abcdef",e=new Array(256),r=0;r<16;++r)for(var n=r*16,i=0;i<16;++i)e[n+i]=t[r]+t[i];return e}()});var cr=se((ln,lr)=>{o();var x=lr.exports={},E,R;function ke(){throw new Error("setTimeout has not been defined")}function Ie(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?E=setTimeout:E=ke}catch(t){E=ke}try{typeof clearTimeout=="function"?R=clearTimeout:R=Ie}catch(t){R=Ie}})();function or(t){if(E===setTimeout)return setTimeout(t,0);if((E===ke||!E)&&setTimeout)return E=setTimeout,setTimeout(t,0);try{return E(t,0)}catch(e){try{return E.call(null,t,0)}catch(r){return E.call(this,t,0)}}}function Pt(t){if(R===clearTimeout)return clearTimeout(t);if((R===Ie||!R)&&clearTimeout)return R=clearTimeout,clearTimeout(t);try{return R(t)}catch(e){try{return R.call(null,t)}catch(r){return R.call(this,t)}}}var U=[],X=!1,q,pe=-1;function Mt(){!X||!q||(X=!1,q.length?U=q.concat(U):pe=-1,U.length&&ar())}function ar(){if(!X){var t=or(Mt);X=!0;for(var e=U.length;e;){for(q=U,U=[];++pe<e;)q&&q[pe].run();pe=-1,e=U.length}q=null,X=!1,Pt(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];U.push(new sr(t,e)),U.length===1&&!X&&or(ar)};function sr(t,e){this.fun=t,this.array=e}sr.prototype.run=function(){this.fun.apply(null,this.array)};x.title="browser";x.browser=!0;x.env={};x.argv=[];x.version="";x.versions={};function B(){}x.on=B;x.addListener=B;x.once=B;x.off=B;x.removeListener=B;x.removeAllListeners=B;x.emit=B;x.prependListener=B;x.prependOnceListener=B;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 c,u,cn,o=ot(()=>{c=C(ir()),u=C(cr()),cn=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)});var tn={};at(tn,{explorerUrlBuilder:()=>te,getExplorerLink:()=>Ht,getHumanReadableTimeFormat:()=>jt,getOperationsMessages:()=>zt,getReceiptMessage:()=>Yt,getTransactionMethod:()=>$t,getTransactionReceiver:()=>Le,getTransactionReceiverAssets:()=>Gt,getTransactionTokens:()=>Re,getTransactionTransferType:()=>qt,getTransactionValue:()=>rn});module.exports=st(tn);o();o();o();var G="accounts";var ur="blocks",pr="code",mr="collections";var dr="contracts";var gr="identities";var fr="locked-accounts",hr="logs",yr="miniblocks";var Ne="nfts",Tr="nodes",_e="providers",xr="roles",Ee="sc-results";var Y="tokens";var j="transactions";var te={shard:t=>`/${ur}?shard=${t}`,receiverShard:t=>`/${j}?receivershard=${t}`,senderShard:t=>`/${j}?sendershard=${t}`,transactionDetails:t=>`/${j}/${t}`,transactionDetailsScResults:t=>`/${j}/${t}/${Ee}`,transactionDetailsLogs:t=>`/${j}/${t}/${hr}`,nodeDetails:t=>`/${Tr}/${t}`,accountDetails:t=>`/${G}/${t}`,accountDetailsContractCode:t=>`/${G}/${t}/${pr}`,accountDetailsTokens:t=>`/${G}/${t}/${Y}`,accountDetailsNfts:t=>`/${G}/${t}/${Ne}`,accountDetailsScResults:t=>`/${G}/${t}/${Ee}`,accountDetailsContracts:t=>`/${G}/${t}/${dr}`,identityDetails:t=>`/${gr}/${t}`,tokenDetails:t=>`/${Y}/${t}`,tokenDetailsAccounts:t=>`/${Y}/${t}/${G}`,tokenDetailsLockedAccounts:t=>`/${Y}/${t}/${fr}`,tokenDetailsRoles:t=>`/${Y}/${t}/${xr}`,collectionDetails:t=>`/${mr}/${t}`,nftDetails:t=>`/${Ne}/${t}`,providerDetails:t=>`/${_e}/${t}`,providerDetailsTransactions:t=>`/${_e}/${t}/${j}`,miniblockDetails:t=>`/${yr}/${t}`};o();var Re=t=>{var e,r,n,i;if(t.action){let a=[(e=t.action.arguments)==null?void 0:e.token,(r=t.action.arguments)==null?void 0:r.token1,(n=t.action.arguments)==null?void 0:n.token2,(i=t.action.arguments)==null?void 0:i.transfers].filter(m=>m!=null);return[].concat(...a)}return[]};o();o();function Le(t){var r,n;let e=t.receiver;return(n=(r=t.action)==null?void 0:r.arguments)!=null&&n.receiver&&(e=t.action.arguments.receiver),e}function Gt(t){let e=Le(t);return t.receiver===e?t.receiverAssets:void 0}o();o();var De=(n=>(n.nft="nft",n.esdt="esdt",n.egld="egld",n))(De||{});var $t=t=>{var n,i,a,s,m,d;let e="Transaction";return((n=t.action)==null?void 0:n.name)&&((i=t.action)==null?void 0:i.category)&&(((a=t.action)==null?void 0:a.category)==="esdtNft"&&((s=t.action)==null?void 0:s.name)==="transfer"?e="Transaction":t.action&&(e=t.action.name),(d=(m=t.action)==null?void 0:m.arguments)!=null&&d.functionName&&(e=t.action.arguments.functionName)),e};o();var br=!1;function Wt(t){br||(console.error(t),br=!0)}function Ht({explorerAddress:t,to:e}){try{return new URL(e).href}catch(r){return e.startsWith("/")||(Wt(`Link not prepended by / : ${e}`),e=`/${e}`),t?`${t}${e}`:e}}o();function qt(t,e,r){let n=t===e.sender,i=t===r,a=n&&i,s=(e==null?void 0:e.type)==="SmartContractResult";switch(!0){case s:return"Internal";case a:return"Self";case i:return"In";case n:default:return"Out"}}o();function jt({value:t,noSeconds:e,utc:r,meridiem:n=!0}){let i=new Date(t*1e3),[,a]=i.toLocaleString("en-US",{hour:"numeric",hour12:n}).split(" "),s=i.toUTCString(),[,m]=s.split(","),[d,g,h,f]=m.trim().split(" "),[y,T,w]=f.split(":"),M=`:${w}`,Q=`${y}:${T}${e?"":M}`,$=`${n?a:""} ${r?"UTC":""}`.trim();return`${g} ${d}, ${h} ${Q} ${$}`.trim()}o();function zt(t){var e,r;return(r=(e=t==null?void 0:t.operations)==null?void 0:e.map(n=>n.message).filter(n=>Boolean(n)))!=null?r:[]}o();var Lr=C(require("bignumber.js"));o();o();o();o();o();o();o();o();o();o();o();o();o();o();o();var Kt=require("@multiversx/sdk-web-wallet-cross-window-provider/out/CrossWindowProvider/CrossWindowProvider"),Z=require("@multiversx/sdk-web-wallet-cross-window-provider/out/enums");var wr=(r=>(r.signTransactionsWithGuardianResponse="SIGN_TRANSACTIONS_WITH_GUARDIAN_RESPONSE",r.reloginRequest="RELOGIN_REQUEST",r))(wr||{}),Vn=F(F({},Z.WindowProviderRequestEnums),wr),vr=(e=>(e.reloginResponse="RELOGIN_RESPONSE",e))(vr||{}),$n=F(F({},Z.WindowProviderResponseEnums),vr);o();o();o();o();o();var Fe={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",metamaskSnapWalletAddress:"https://devnet-snap-wallet.multiversx.com",apiTimeout:"4000",roundDuration:6e3},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",metamaskSnapWalletAddress:"https://testnet-snap-wallet.multiversx.com",apiTimeout:"4000",roundDuration:6e3},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",metamaskSnapWalletAddress:"https://snap-wallet.multiversx.com",apiTimeout:"4000",roundDuration:6e3}},{chainId:Ar,egldLabel:ii}=Fe["devnet"],{chainId:Sr,egldLabel:oi}=Fe["testnet"],{chainId:kr,egldLabel:ai}=Fe["mainnet"];var si={["devnet"]:Ar,["testnet"]:Sr,["mainnet"]:kr},li={[Ar]:"devnet",[Sr]:"testnet",[kr]:"mainnet"};o();o();var L=require("@multiversx/sdk-web-wallet-provider");o();o();var Ce=require("@multiversx/sdk-dapp-utils/out/constants/browserConstants");var Ir,Nr,Oe=String((Nr=(Ir=Ce.safeWindow)==null?void 0:Ir.navigator)==null?void 0:Nr.userAgent),gi=/^((?!chrome|android).)*safari/i.test(Oe),fi=/firefox/i.test(Oe)&&/windows/i.test(Oe);var v=18,J=4;var _r="refundedGas";var me="0";o();var Rr=require("@multiversx/sdk-core"),V=C(require("bignumber.js"));o();var Er=C(require("bignumber.js")),Ue=(t,e=!0)=>{let r=String(t);if(!r.match(/^[-]?\d+$/))return!1;let n=new Er.default(r),i=e?0:-1;return n.toString(10)===r&&n.comparedTo(0)>=i};o();function P(t){return{if:function(e){return e?{then:r=>r instanceof Function?P(r(t)):P(r)}:{then:()=>P(t)}},then:e=>e instanceof Function?P(e(t)):P(e),valueOf:function(){return t}}}V.default.config({ROUNDING_MODE:V.default.ROUND_FLOOR});function D({input:t,decimals:e=v,digits:r=J,showLastNonZeroDecimal:n=!0,showIsLessThanDecimalsLabel:i=!1,addCommas:a=!1}){if(!Ue(t,!1))throw new Error("Invalid input");let s=new V.default(t).isNegative(),m=t;return s&&(m=t.substring(1)),P(m).then(()=>Rr.TokenTransfer.fungibleFromBigInteger("",m,e).amountAsBigInteger.shiftedBy(-e).toFixed(e)).then(d=>{let g=new V.default(d);if(g.isZero())return me;let h=g.toString(10),[f,y]=h.split("."),T=new V.default(y||0),w=P(0).if(Boolean(y&&n)).then(()=>Math.max(y.length,r)).if(T.isZero()&&!n).then(0).if(Boolean(y&&!n)).then(()=>Math.min(y.length,r)).valueOf(),M=y&&r>=1&&r<=y.length&&T.isGreaterThan(0)&&new V.default(y.substring(0,r)).isZero(),Q=g.toFormat(w);return P(h).if(a).then(Q).if(Boolean(M)).then(ee=>{let $=new V.default(f).isZero(),[I,ie]=ee.split("."),oe=new Array(r-1).fill(0),Yr=[...oe,0].join(""),Zr=[...oe,1].join("");return $?i?`<${I}.${Zr}`:n?`${I}.${ie}`:I:`${I}.${Yr}`}).if(Boolean(!M&&y)).then(ee=>{let[$]=ee.split("."),I=y.substring(0,w);if(n){let ie=r-I.length;if(ie>0){let oe=Array(ie).fill(0).join("");return I=`${I}${oe}`,`${$}.${I}`}return ee}return I?`${$}.${I}`:$}).valueOf()}).if(s).then(d=>`-${d}`).valueOf()}var Xt=t=>{var e,r;if(!((e=t.receipt)!=null&&e.value))return"";if(((r=t.receipt)==null?void 0:r.data)===_r){let n=D({input:t.receipt.value,decimals:v,digits:J,showLastNonZeroDecimal:!0});return new Lr.default(n).times(t.gasPrice).times(100).toFixed()}return t.receipt.value};function Yt(t){var i;let e=(i=t.receipt)==null?void 0:i.data;if(!e)return"";let r=Xt(t),n=r?`: ${r}`:"";return`${e}${n}`}o();o();o();o();var de=(n=>(n.NonFungibleESDT="NonFungibleESDT",n.SemiFungibleESDT="SemiFungibleESDT",n.MetaESDT="MetaESDT",n))(de||{});o();o();o();o();o();var Zt=require("@multiversx/sdk-core");o();var ne=require("@multiversx/sdk-core"),Qt=C(require("bignumber.js"));o();o();o();var Jt=C(require("bignumber.js"));o();o();var Be={isEsdt:!1,isNft:!1,isEgld:!1};function Dr(t){let e=t==null?void 0:t.split("-").length;return e===2?ae(F({},Be),{isEsdt:!0}):e===3?ae(F({},Be),{isNft:!0}):ae(F({},Be),{isEgld:!0})}o();o();o();o();o();o();function ge({token:t,noValue:e,showLastNonZeroDecimal:r}){var g;let n=!e&&t.value&&t.type!=="NonFungibleESDT",i=t.decimals!=null,a="";t.type==="NonFungibleESDT"&&(a="NFT"),t.type==="SemiFungibleESDT"&&(a="SFT"),t.type==="MetaESDT"&&(a="Meta-ESDT");let s="";n&&i&&(s=i?D({input:t.value,decimals:t.decimals,digits:2,showLastNonZeroDecimal:r}):Number(t.value).toLocaleString("en"));let m=te.nftDetails(String(t.identifier)),d=t.ticker===t.collection&&(g=t.identifier)!=null?g:t.ticker;return{badgeText:a,tokenFormattedAmount:n?s:null,tokenExplorerLink:m,tokenLinkText:d,token:t,noValue:e,showLastNonZeroDecimal:r}}o();function fe({token:t,noValue:e,showLastNonZeroDecimal:r}){var m;let n=Boolean(!e&&t.value),i=n?D({input:t.value,decimals:(m=t.decimals)!=null?m:v,digits:2,showLastNonZeroDecimal:r,addCommas:!0}):null,a=te.tokenDetails(String(t.token)),s=t.ticker;return{tokenExplorerLink:a,tokenFormattedAmount:i,showFormattedAmount:n,tokenLinkText:s,token:t,showLastNonZeroDecimal:r}}o();var Fr=["reDelegateRewards","claimRewards","unBond"],Cr=["wrapEgld","unwrapEgld"],Or=["unStake"],Ur=["unDelegate"];o();o();var Br=t=>{let e=t.map(n=>{let{isNft:i}=Dr(n.type);if(i){let{badgeText:h,tokenFormattedAmount:f,tokenLinkText:y}=ge({token:n});return`${h!=null?`(${h}) `:""}${f} ${y}`}let{tokenFormattedAmount:a,tokenLinkText:s,token:m}=fe({token:n}),d=m.collection?m.identifier:m.token;return`${a} ${s} (${d})`});return decodeURI(e.join("%0A"))};o();var k=t=>({egldValueData:{value:t,formattedValue:D({input:t}),decimals:v}});o();var Gr=C(require("bignumber.js"));o();o();function en(t){try{let e=atob(t),r=btoa(e),n=c.Buffer.from(t,"base64").toString(),i=c.Buffer.from(n).toString("base64"),a=t===r||r.startsWith(t),s=t===i||i.startsWith(t);if(a&&s)return!0}catch(e){return!1}return!1}function Pr(t){return en(t)?atob(t):t}o();o();o();o();var Mr=!1;function Vr(t){var e;try{let n=Pr(t.data).replace(`${(e=t.action)==null?void 0:e.name}@`,""),i=new Gr.default(n,16);if(!i.isNaN())return k(i.toString(10))}catch(r){Mr||(console.error(`Unable to extract value for txHash: ${t.txHash}`),Mr=!0)}return k(t.value)}o();o();var $r=t=>{var r,n;return(n=(r=t==null?void 0:t.operations)==null?void 0:r.filter(i=>Object.values(De).includes(i.type)))!=null?n:[]};var Wr=!1,Hr=t=>{Wr||(console.error(`Operations field missing for txHash: ${t}.
2
+ Unable to compute value field.`),Wr=!0)};function qr(t){try{if(t.operations){let[e]=$r(t);return k(e==null?void 0:e.value)}else Hr(t.txHash)}catch(e){Hr(t.txHash)}return k(t.value)}o();var zr=C(require("bignumber.js"));var jr=!1;function Kr(t){var r,n,i,a,s;return new zr.default((n=(r=t.action)==null?void 0:r.arguments)==null?void 0:n.value).isNaN()?(jr||(console.error(`Unable to interpret ${(s=t.action)==null?void 0:s.name} data for txHash: ${t.txHash}`),jr=!0),k(t.value)):k((a=(i=t.action)==null?void 0:i.arguments)==null?void 0:a.value)}var rn=({transaction:t,hideMultipleBadge:e})=>{var r;if(t.action){if(Cr.includes(t.action.name))return k(t.value);if(Or.includes(t.action.name))return Vr(t);if(Fr.includes(t.action.name))return qr(t);if(Ur.includes(t.action.name))return Kr(t);let n=Re(t);if(n.length){let i=n[0],a=Object.values(de).includes(i.type),m=!e&&n.length>1?Br(n):"";if(a){let{badgeText:T,tokenFormattedAmount:w,tokenExplorerLink:M,tokenLinkText:Q}=ge({token:i});return{nftValueData:{badgeText:T,tokenFormattedAmount:w,tokenExplorerLink:M,tokenLinkText:Q,transactionTokens:n,token:i,value:w!=null?i.value:null,decimals:w!=null?i.decimals:null,titleText:m}}}let{tokenExplorerLink:d,showFormattedAmount:g,tokenFormattedAmount:h,tokenLinkText:f,token:y}=fe({token:i});return{tokenValueData:{tokenExplorerLink:d,showFormattedAmount:g,tokenFormattedAmount:h,tokenLinkText:f,transactionTokens:n,token:y,value:i.value,decimals:(r=i.decimals)!=null?r:v,titleText:m}}}}return k(t.value)};0&&(module.exports={explorerUrlBuilder,getExplorerLink,getHumanReadableTimeFormat,getOperationsMessages,getReceiptMessage,getTransactionMethod,getTransactionReceiver,getTransactionReceiverAssets,getTransactionTokens,getTransactionTransferType,getTransactionValue});
3
3
  /*!
4
4
  * The buffer module from node.js, for the browser.
5
5
  *