@multiversx/sdk-dapp 2.40.5 → 2.40.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (828) 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/DataDecode/DataDecode.js +1 -1
  55. package/UI/TransactionInfo/components/DataDecode/index.js +1 -1
  56. package/UI/TransactionInfo/components/DataField/DataField.js +1 -1
  57. package/UI/TransactionInfo/components/DataField/index.js +1 -1
  58. package/UI/TransactionInfo/components/EventsList/EventsList.js +1 -1
  59. package/UI/TransactionInfo/components/EventsList/index.js +1 -1
  60. package/UI/TransactionInfo/components/NonceMessage/NonceMessage.js +1 -1
  61. package/UI/TransactionInfo/components/NonceMessage/index.js +1 -1
  62. package/UI/TransactionInfo/components/OperationsList/OperationList.js +1 -1
  63. package/UI/TransactionInfo/components/OperationsList/components/DetailedItem.js +1 -1
  64. package/UI/TransactionInfo/components/OperationsList/components/OperationBlock.js +1 -1
  65. package/UI/TransactionInfo/components/OperationsList/components/OperationRow.js +1 -1
  66. package/UI/TransactionInfo/components/OperationsList/components/OperationText.js +1 -1
  67. package/UI/TransactionInfo/components/OperationsList/components/OperationToken.js +1 -1
  68. package/UI/TransactionInfo/components/OperationsList/components/index.js +1 -1
  69. package/UI/TransactionInfo/components/OperationsList/index.js +1 -1
  70. package/UI/TransactionInfo/components/ScResultsList/ScResultsList.js +1 -1
  71. package/UI/TransactionInfo/components/ScResultsList/components/ResultData/ResultData.js +1 -1
  72. package/UI/TransactionInfo/components/ScResultsList/components/ResultData/index.js +1 -1
  73. package/UI/TransactionInfo/components/ScResultsList/components/ResultHash/ResultHash.js +1 -1
  74. package/UI/TransactionInfo/components/ScResultsList/components/ResultHash/index.js +1 -1
  75. package/UI/TransactionInfo/components/ScResultsList/components/ResultReceiver/ResultReceiver.js +1 -1
  76. package/UI/TransactionInfo/components/ScResultsList/components/ResultReceiver/index.js +1 -1
  77. package/UI/TransactionInfo/components/ScResultsList/components/ResultSender/ResultSender.js +1 -1
  78. package/UI/TransactionInfo/components/ScResultsList/components/ResultSender/index.js +1 -1
  79. package/UI/TransactionInfo/components/ScResultsList/index.js +1 -1
  80. package/UI/TransactionInfo/components/ScrDetailItem/ScrDetailItem.js +1 -1
  81. package/UI/TransactionInfo/components/ScrDetailItem/index.js +1 -1
  82. package/UI/TransactionInfo/components/TransactionAction/TransactionAction.js +1 -1
  83. package/UI/TransactionInfo/components/TransactionAction/components/ActionText/index.js +1 -1
  84. package/UI/TransactionInfo/components/TransactionAction/components/ActionToken.js +1 -1
  85. package/UI/TransactionInfo/components/TransactionAction/components/TransactionActionBlock/components/TransactionActionCollection.js +1 -1
  86. package/UI/TransactionInfo/components/TransactionAction/components/TransactionActionBlock/components/TransactionActionNft.js +1 -1
  87. package/UI/TransactionInfo/components/TransactionAction/components/TransactionActionBlock/components/TransactionActionToken.js +1 -1
  88. package/UI/TransactionInfo/components/TransactionAction/components/TransactionActionBlock/components/index.js +1 -1
  89. package/UI/TransactionInfo/components/TransactionAction/components/TransactionActionBlock/index.js +1 -1
  90. package/UI/TransactionInfo/components/TransactionAction/components/index.js +1 -1
  91. package/UI/TransactionInfo/components/TransactionAction/index.js +1 -1
  92. package/UI/TransactionInfo/components/TransactionLogs/TransactionLogs.js +1 -1
  93. package/UI/TransactionInfo/components/TransactionLogs/index.js +1 -1
  94. package/UI/TransactionInfo/components/TransactionStatus/TransactionStatus.js +1 -1
  95. package/UI/TransactionInfo/components/TransactionStatus/index.js +1 -1
  96. package/UI/TransactionInfo/components/index.js +1 -1
  97. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoFee/TransactionInfoFee.js +1 -1
  98. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoFee/index.js +1 -1
  99. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoFrom/TransactionInfoFrom.js +1 -1
  100. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoFrom/index.js +1 -1
  101. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoGasUsed/TransactionInfoGasUsed.js +1 -1
  102. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoGasUsed/index.js +1 -1
  103. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoInputData/TransactionInfoInputData.js +1 -1
  104. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoInputData/index.js +1 -1
  105. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoMethod/TransactionInfoMethod.js +1 -1
  106. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoMethod/index.js +1 -1
  107. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoMiniblock/TransactionInfoMiniblock.js +1 -1
  108. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoMiniblock/index.js +1 -1
  109. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoNonce/TransactionInfoNonce.js +1 -1
  110. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoNonce/index.js +1 -1
  111. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoScResults/TransactionInfoScResults.js +1 -1
  112. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoScResults/index.js +1 -1
  113. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoStatus/TransactionInfoStatus.js +1 -1
  114. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoStatus/index.js +1 -1
  115. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoTo/TransactionInfoTo.js +1 -1
  116. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoTo/index.js +1 -1
  117. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoTokenOperations/TransactionInfoTokenOperations.js +1 -1
  118. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoTokenOperations/index.js +1 -1
  119. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoValue/TransactionInfoValue.js +1 -1
  120. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoValue/index.js +1 -1
  121. package/UI/TransactionInfo/components/transactionInfoFields/index.js +1 -1
  122. package/UI/TransactionInfo/index.js +1 -1
  123. package/UI/TransactionsTable/TransactionsTable.js +1 -1
  124. package/UI/TransactionsTable/components/AccountName.js +1 -1
  125. package/UI/TransactionsTable/components/LockedTokenAddressIcon.js +1 -1
  126. package/UI/TransactionsTable/components/ScAddressIcon.js +1 -1
  127. package/UI/TransactionsTable/components/TransactionHash.js +1 -1
  128. package/UI/TransactionsTable/components/TransactionReceiver.js +1 -1
  129. package/UI/TransactionsTable/components/TransactionRow.js +1 -1
  130. package/UI/TransactionsTable/components/TransactionSender.js +1 -1
  131. package/UI/TransactionsTable/components/TransactionShardsTransition.js +1 -1
  132. package/UI/TransactionsTable/components/TransactionValue/TransactionValue.js +1 -1
  133. package/UI/TransactionsTable/components/TransactionValue/index.js +1 -1
  134. package/UI/TransactionsTable/components/index.js +1 -1
  135. package/UI/TransactionsTable/index.js +1 -1
  136. package/UI/TransactionsToastList/TransactionsToastList.js +1 -1
  137. package/UI/TransactionsToastList/components/CustomToast/CustomToast.js +1 -1
  138. package/UI/TransactionsToastList/components/CustomToast/components/CustomComponentToast.js +1 -1
  139. package/UI/TransactionsToastList/components/CustomToast/components/IconToast/IconToast.js +1 -1
  140. package/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/IconToastFooter.js +1 -1
  141. package/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/components/TransactionToastFooter.js +1 -1
  142. package/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/components/index.js +1 -1
  143. package/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/index.js +1 -1
  144. package/UI/TransactionsToastList/components/CustomToast/components/IconToast/index.js +1 -1
  145. package/UI/TransactionsToastList/components/CustomToast/components/SimpleToast.js +1 -1
  146. package/UI/TransactionsToastList/components/CustomToast/components/index.js +1 -1
  147. package/UI/TransactionsToastList/components/CustomToast/helpers/index.js +1 -1
  148. package/UI/TransactionsToastList/components/CustomToast/helpers/useMemoizedCloseButton.js +1 -1
  149. package/UI/TransactionsToastList/components/CustomToast/index.js +1 -1
  150. package/UI/TransactionsToastList/components/TransactionToast/TransactionToast.js +1 -1
  151. package/UI/TransactionsToastList/components/TransactionToast/components/TransactionToastContent.js +1 -1
  152. package/UI/TransactionsToastList/components/TransactionToast/components/index.js +1 -1
  153. package/UI/TransactionsToastList/components/TransactionToast/hooks/useTransactionToast.js +1 -1
  154. package/UI/TransactionsToastList/components/TransactionToast/index.js +1 -1
  155. package/UI/TransactionsToastList/components/TransactionToastGuard.js +1 -1
  156. package/UI/TransactionsToastList/components/index.js +1 -1
  157. package/UI/TransactionsToastList/index.js +1 -1
  158. package/UI/Trim/Trim.js +1 -1
  159. package/UI/Trim/index.js +1 -1
  160. package/UI/extension/ExtensionLoginButton/ExtensionLoginButton.js +1 -1
  161. package/UI/extension/ExtensionLoginButton/index.js +1 -1
  162. package/UI/iframe/IframeLoginButton/IframeButton.js +1 -1
  163. package/UI/iframe/IframeLoginButton/index.js +1 -1
  164. package/UI/index.js +1 -1
  165. package/UI/ledger/LedgerLoginButton/LedgerLoginButton.js +1 -1
  166. package/UI/ledger/LedgerLoginButton/index.js +1 -1
  167. package/UI/ledger/LedgerLoginContainer/AddressRow/AddressRow.js +1 -1
  168. package/UI/ledger/LedgerLoginContainer/AddressRow/index.js +1 -1
  169. package/UI/ledger/LedgerLoginContainer/AddressTable/AddressTable.js +1 -1
  170. package/UI/ledger/LedgerLoginContainer/AddressTable/index.js +1 -1
  171. package/UI/ledger/LedgerLoginContainer/ConfirmAddress/ConfirmAddress.js +1 -1
  172. package/UI/ledger/LedgerLoginContainer/ConfirmAddress/index.js +1 -1
  173. package/UI/ledger/LedgerLoginContainer/LedgerLoginContainer.js +1 -1
  174. package/UI/ledger/LedgerLoginContainer/LedgerLoginContent/LedgerLoginContent.js +1 -1
  175. package/UI/ledger/LedgerLoginContainer/LedgerLoginContent/index.js +1 -1
  176. package/UI/ledger/LedgerLoginContainer/LedgerLoginContentBody/LedgerLoginContentBody.js +1 -1
  177. package/UI/ledger/LedgerLoginContainer/LedgerLoginContentBody/index.js +1 -1
  178. package/UI/ledger/LedgerLoginContainer/LedgerScamPhishingAlert/LedgerScamPhishingAlert.js +1 -1
  179. package/UI/ledger/LedgerLoginContainer/LedgerScamPhishingAlert/index.js +1 -1
  180. package/UI/ledger/LedgerLoginContainer/index.js +1 -1
  181. package/UI/ledger/index.js +1 -1
  182. package/UI/metamask/MetamaskLoginButton/MetamaskLoginButton.js +1 -1
  183. package/UI/metamask/MetamaskLoginButton/index.js +1 -1
  184. package/UI/operaWallet/OperaWalletLoginButton/OperaWalletLoginButton.js +1 -1
  185. package/UI/operaWallet/OperaWalletLoginButton/index.js +1 -1
  186. package/UI/pages/UnlockPage/index.js +1 -1
  187. package/UI/pages/index.js +1 -1
  188. package/UI/passkey/PasskeyLoginButton/PasskeyLoginButton.js +1 -1
  189. package/UI/passkey/PasskeyLoginButton/index.js +1 -1
  190. package/UI/walletConnect/WalletConnectLoginButton/WalletConnectLoginButton.js +1 -1
  191. package/UI/walletConnect/WalletConnectLoginButton/index.js +1 -1
  192. package/UI/walletConnect/WalletConnectLoginContainer/WalletConnectLoginContainer.js +1 -1
  193. package/UI/walletConnect/WalletConnectLoginContainer/WalletConnectLoginContent/WalletConnectLoginContent.js +1 -1
  194. package/UI/walletConnect/WalletConnectLoginContainer/WalletConnectLoginContent/index.js +1 -1
  195. package/UI/walletConnect/WalletConnectLoginContainer/index.js +1 -1
  196. package/UI/walletConnect/index.js +1 -1
  197. package/UI/webWallet/CrossWindowLoginButton/CrossWindowLoginButton.js +1 -1
  198. package/UI/webWallet/CrossWindowLoginButton/index.js +1 -1
  199. package/UI/webWallet/WebWalletLoginButton/WebWalletLoginButton.js +1 -1
  200. package/UI/webWallet/WebWalletLoginButton/index.js +1 -1
  201. package/UI/webWallet/XaliasCrossWindowLoginButton/XaliasCrossWindowLoginButton.js +1 -1
  202. package/UI/webWallet/XaliasCrossWindowLoginButton/index.js +1 -1
  203. package/UI/webWallet/XaliasLoginButton/XaliasLoginButton.js +1 -1
  204. package/UI/webWallet/XaliasLoginButton/index.js +1 -1
  205. package/__chunks__/{chunk-GTTQMZBT.js → chunk-256ELXUN.js} +2 -2
  206. package/__chunks__/{chunk-JCNAOAHB.js → chunk-2I2CD3JW.js} +2 -2
  207. package/__chunks__/chunk-2O3XAXVP.js +2 -0
  208. package/__chunks__/chunk-2P4QW6L2.js +2 -0
  209. package/__chunks__/{chunk-D6AWNAHC.js → chunk-2RBMIVLO.js} +2 -2
  210. package/__chunks__/{chunk-ORD45C6B.js → chunk-2SUDHD3F.js} +2 -2
  211. package/__chunks__/{chunk-42XO3XDT.js → chunk-2ULLNCOZ.js} +2 -2
  212. package/__chunks__/{chunk-W3CUABJ2.js → chunk-2YGGTKCM.js} +2 -2
  213. package/__chunks__/{chunk-H7A3B56E.js → chunk-33C5OTPC.js} +2 -2
  214. package/__chunks__/{chunk-PMIUKWDC.js → chunk-3CI3JNO2.js} +2 -2
  215. package/__chunks__/{chunk-6BE7QH2R.js → chunk-3IUCDOHS.js} +2 -2
  216. package/__chunks__/{chunk-WJBFGFNP.js → chunk-3KBUXJNU.js} +2 -2
  217. package/__chunks__/{chunk-7H6ICC2C.js → chunk-3QMF6PSW.js} +2 -2
  218. package/__chunks__/{chunk-TAXES22D.js → chunk-3SLF3S4V.js} +2 -2
  219. package/__chunks__/{chunk-H2JJPQCB.js → chunk-3SV3CIMC.js} +2 -2
  220. package/__chunks__/{chunk-ZI7DR2J3.js → chunk-3W6UEGJU.js} +2 -2
  221. package/__chunks__/{chunk-GHJFKD4B.js → chunk-4EUNTSNN.js} +2 -2
  222. package/__chunks__/{chunk-GMGOHWFR.js → chunk-4FZRLMXO.js} +2 -2
  223. package/__chunks__/{chunk-EDCV2TZQ.js → chunk-4K3BTVR7.js} +2 -2
  224. package/__chunks__/{chunk-ONKEXPNQ.js → chunk-4MVNCUTP.js} +2 -2
  225. package/__chunks__/{chunk-H3FGN72B.js → chunk-4OYQINH3.js} +2 -2
  226. package/__chunks__/{chunk-TPTVNJLE.js → chunk-4PPUW3MU.js} +2 -2
  227. package/__chunks__/{chunk-KDPBQM7D.js → chunk-4SECHEFP.js} +2 -2
  228. package/__chunks__/{chunk-CKA5JFH5.js → chunk-4WBOQ2JX.js} +2 -2
  229. package/__chunks__/{chunk-JJFHJEWJ.js → chunk-5BARWVI6.js} +2 -2
  230. package/__chunks__/{chunk-R65FEYIW.js → chunk-5BLO5LC4.js} +2 -2
  231. package/__chunks__/{chunk-DRUENIF6.js → chunk-5DNMHYUQ.js} +2 -2
  232. package/__chunks__/{chunk-Z7OIXQYX.js → chunk-5I4EOIWP.js} +2 -2
  233. package/__chunks__/{chunk-OW5RAG33.js → chunk-5LLZAO75.js} +2 -2
  234. package/__chunks__/{chunk-I335IWQB.js → chunk-5P2LHLTD.js} +2 -2
  235. package/__chunks__/{chunk-EQUQ7BRA.js → chunk-5UF3KVGT.js} +2 -2
  236. package/__chunks__/{chunk-OHGSFOQA.js → chunk-647EPCPB.js} +2 -2
  237. package/__chunks__/chunk-64Y5SFL2.js +2 -0
  238. package/__chunks__/{chunk-UDOUGPVZ.js → chunk-6AQMPEBH.js} +2 -2
  239. package/__chunks__/{chunk-KBNEFBJT.js → chunk-6DKTUH4L.js} +2 -2
  240. package/__chunks__/chunk-6NNKJDPQ.js +2 -0
  241. package/__chunks__/chunk-6Q6SKGP3.js +2 -0
  242. package/__chunks__/{chunk-FHGKTS7E.js → chunk-73TAL55E.js} +2 -2
  243. package/__chunks__/{chunk-X6EAVIFT.js → chunk-7AAFEBYY.js} +2 -2
  244. package/__chunks__/{chunk-H46BD7WR.js → chunk-7BQ6JQGO.js} +2 -2
  245. package/__chunks__/{chunk-AQOBNZAQ.js → chunk-7EXVTLNQ.js} +2 -2
  246. package/__chunks__/{chunk-47CMJ2FZ.js → chunk-7EZMJ5IL.js} +2 -2
  247. package/__chunks__/{chunk-XL76YPAY.js → chunk-7F35K7XA.js} +2 -2
  248. package/__chunks__/chunk-7FYDX26G.js +2 -0
  249. package/__chunks__/chunk-7OWGSABI.js +2 -0
  250. package/__chunks__/{chunk-UHD67VUL.js → chunk-7SDB5EVR.js} +2 -2
  251. package/__chunks__/{chunk-2732T4DP.js → chunk-A6BXACIU.js} +2 -2
  252. package/__chunks__/{chunk-4BRT3VKO.js → chunk-AB6NSEZO.js} +2 -2
  253. package/__chunks__/{chunk-PJO4K5FT.js → chunk-ACGSNTB5.js} +2 -2
  254. package/__chunks__/chunk-AGCR3BWU.js +2 -0
  255. package/__chunks__/{chunk-UBRZRH5O.js → chunk-AIQD2X3F.js} +2 -2
  256. package/__chunks__/chunk-APNJKWK3.js +2 -0
  257. package/__chunks__/{chunk-CSLJELG7.js → chunk-AWBKIM76.js} +2 -2
  258. package/__chunks__/{chunk-LPK2XK3Z.js → chunk-B2EHHHHT.js} +2 -2
  259. package/__chunks__/{chunk-XCL2DJCN.js → chunk-B4MDUUC4.js} +2 -2
  260. package/__chunks__/{chunk-RQAMPTFS.js → chunk-B7UOTI2W.js} +2 -2
  261. package/__chunks__/{chunk-RWYXEBL2.js → chunk-BIJJEFX4.js} +2 -2
  262. package/__chunks__/{chunk-WCZX3I5K.js → chunk-BLKMOBM3.js} +2 -2
  263. package/__chunks__/{chunk-ACSMK7V6.js → chunk-BVBFUEXJ.js} +2 -2
  264. package/__chunks__/{chunk-6YGA42WQ.js → chunk-BWOFE7ED.js} +2 -2
  265. package/__chunks__/{chunk-REDUKIAW.js → chunk-BYU6XDUR.js} +2 -2
  266. package/__chunks__/{chunk-4VU2EPIT.js → chunk-C6L3K6EE.js} +2 -2
  267. package/__chunks__/{chunk-WFENM6WT.js → chunk-C7PAJLAT.js} +2 -2
  268. package/__chunks__/{chunk-5RR2E2Q4.js → chunk-CKL6I5PT.js} +2 -2
  269. package/__chunks__/{chunk-WPADQQNW.js → chunk-CL4H4IVM.js} +2 -2
  270. package/__chunks__/{chunk-4NXJHGDL.js → chunk-CSXA4TQQ.js} +2 -2
  271. package/__chunks__/{chunk-2MHBQF2A.js → chunk-CTMSGWKY.js} +2 -2
  272. package/__chunks__/{chunk-BG4AMJGX.js → chunk-CWSFAAKZ.js} +2 -2
  273. package/__chunks__/chunk-CZN2PADO.js +2 -0
  274. package/__chunks__/{chunk-MKGT6MMC.js → chunk-DCTZVFXY.js} +2 -2
  275. package/__chunks__/{chunk-ACW7VGCL.js → chunk-DGYISS44.js} +2 -2
  276. package/__chunks__/{chunk-PRAJF6BO.js → chunk-DLU7MRBR.js} +2 -2
  277. package/__chunks__/{chunk-MW7OPBWJ.js → chunk-E2N4A72V.js} +2 -2
  278. package/__chunks__/{chunk-VFAGY6CY.js → chunk-E3OXSBXP.js} +2 -2
  279. package/__chunks__/{chunk-WECAQCJD.js → chunk-EF6O73FT.js} +2 -2
  280. package/__chunks__/{chunk-OGU4J5WX.js → chunk-EOHDGODE.js} +2 -2
  281. package/__chunks__/{chunk-CLU7FG6U.js → chunk-EXGP7MBK.js} +2 -2
  282. package/__chunks__/{chunk-J24B4EEC.js → chunk-EYXOIZHH.js} +2 -2
  283. package/__chunks__/{chunk-Y4W5CUVC.js → chunk-F4MIIKBO.js} +2 -2
  284. package/__chunks__/{chunk-Z4FB6ODT.js → chunk-FFELGPPN.js} +2 -2
  285. package/__chunks__/{chunk-74WZECDO.js → chunk-FHSUBK37.js} +2 -2
  286. package/__chunks__/chunk-FKO7ZBQK.js +2 -0
  287. package/__chunks__/{chunk-6WVSBV6U.js → chunk-FOTWB46L.js} +2 -2
  288. package/__chunks__/{chunk-NW4OM7A4.js → chunk-FPCNDKKN.js} +2 -2
  289. package/__chunks__/{chunk-AUA3WRKV.js → chunk-FT7ZBDDX.js} +2 -2
  290. package/__chunks__/{chunk-QSQB3KPF.js → chunk-FWBFJPYW.js} +2 -2
  291. package/__chunks__/{chunk-3ZB5INPG.js → chunk-G4P4EJFU.js} +2 -2
  292. package/__chunks__/{chunk-ESO4IBXM.js → chunk-G5EIEPV2.js} +2 -2
  293. package/__chunks__/chunk-GIWNPTO6.js +2 -0
  294. package/__chunks__/{chunk-XR6WKP5A.js → chunk-GLOK5WOD.js} +2 -2
  295. package/__chunks__/{chunk-QYUJ2XSZ.js → chunk-GQGPKKCC.js} +2 -2
  296. package/__chunks__/{chunk-XUWF3Y7T.js → chunk-GTMNF6CO.js} +2 -2
  297. package/__chunks__/{chunk-CFX3WU4C.js → chunk-GVJDKDHX.js} +2 -2
  298. package/__chunks__/{chunk-67O3JK6B.js → chunk-GXVRKXVI.js} +2 -2
  299. package/__chunks__/{chunk-TZU2AHJQ.js → chunk-HCQ7FAID.js} +2 -2
  300. package/__chunks__/{chunk-L6SNPAEU.js → chunk-HPKAJG6T.js} +2 -2
  301. package/__chunks__/{chunk-QGA6ODTA.js → chunk-HQVZMIEO.js} +2 -2
  302. package/__chunks__/{chunk-DHDUT3G3.js → chunk-HWG4JVJI.js} +2 -2
  303. package/__chunks__/{chunk-QIYMIFHX.js → chunk-HX3R3AAV.js} +2 -2
  304. package/__chunks__/{chunk-7L57DIXF.js → chunk-I3C542XR.js} +2 -2
  305. package/__chunks__/{chunk-YWPKM4DH.js → chunk-IDL7ZJZU.js} +2 -2
  306. package/__chunks__/{chunk-KGIQNRTR.js → chunk-IDRELJ3S.js} +2 -2
  307. package/__chunks__/{chunk-Q3K6CQUI.js → chunk-IOY2Q7PE.js} +2 -2
  308. package/__chunks__/{chunk-U7ZNOVTM.js → chunk-IQYXZFFP.js} +2 -2
  309. package/__chunks__/{chunk-MGUF7U3E.js → chunk-IXJMOCYK.js} +2 -2
  310. package/__chunks__/{chunk-FS3TVPEX.js → chunk-J53IRRIS.js} +2 -2
  311. package/__chunks__/{chunk-KWNNXZRA.js → chunk-JAGDPU4B.js} +2 -2
  312. package/__chunks__/{chunk-T4J5TTGX.js → chunk-JAZLAI24.js} +2 -2
  313. package/__chunks__/{chunk-7WIEB6PO.js → chunk-JBVJWBTS.js} +2 -2
  314. package/__chunks__/{chunk-EHNHHJRF.js → chunk-JCBDAJYT.js} +2 -2
  315. package/__chunks__/{chunk-QAIBUAMW.js → chunk-JQOEARYD.js} +2 -2
  316. package/__chunks__/{chunk-ITVS5RYQ.js → chunk-JSJMO42V.js} +2 -2
  317. package/__chunks__/{chunk-HHXJC4G2.js → chunk-JSZ53WUI.js} +2 -2
  318. package/__chunks__/{chunk-JJXFIDJV.js → chunk-JWDEMVRQ.js} +2 -2
  319. package/__chunks__/{chunk-WA5BOWGU.js → chunk-JXF2JB3C.js} +2 -2
  320. package/__chunks__/{chunk-4STW42B2.js → chunk-KC5YD7BH.js} +2 -2
  321. package/__chunks__/{chunk-TRZ3QVRF.js → chunk-KF6JN34Y.js} +2 -2
  322. package/__chunks__/{chunk-BXAOBLS6.js → chunk-KIH63IPZ.js} +2 -2
  323. package/__chunks__/{chunk-TIF3XCLE.js → chunk-KIQNKTYD.js} +2 -2
  324. package/__chunks__/chunk-KS4SI3EJ.js +2 -0
  325. package/__chunks__/{chunk-2B2F5FAB.js → chunk-KUNVZQD4.js} +2 -2
  326. package/__chunks__/{chunk-IV2G2DQ7.js → chunk-KWY63ZV6.js} +2 -2
  327. package/__chunks__/chunk-KXQRDG5F.js +2 -0
  328. package/__chunks__/{chunk-MGXEC7PT.js → chunk-L3H7CU2R.js} +2 -2
  329. package/__chunks__/{chunk-UQDJEUTM.js → chunk-LCPV5GQG.js} +2 -2
  330. package/__chunks__/{chunk-NNLLAEDW.js → chunk-LFN65XGW.js} +2 -2
  331. package/__chunks__/{chunk-P7KS6ZGK.js → chunk-LGCFDGVP.js} +2 -2
  332. package/__chunks__/{chunk-C2DIQAR5.js → chunk-LLV2VJ5L.js} +2 -2
  333. package/__chunks__/{chunk-PYOAZZLY.js → chunk-LR6MY64W.js} +2 -2
  334. package/__chunks__/{chunk-UYCTCFY6.js → chunk-LSO7R2OQ.js} +2 -2
  335. package/__chunks__/{chunk-CKXOZQKO.js → chunk-M3H563MI.js} +2 -2
  336. package/__chunks__/{chunk-AFWXURLX.js → chunk-MEJLQRVP.js} +2 -2
  337. package/__chunks__/{chunk-3CXZOGXV.js → chunk-MHLVWX64.js} +2 -2
  338. package/__chunks__/{chunk-7LOO3ROQ.js → chunk-MTP44NBW.js} +2 -2
  339. package/__chunks__/{chunk-YUTL3ZNS.js → chunk-NERNXPH2.js} +2 -2
  340. package/__chunks__/{chunk-ISHTCWDR.js → chunk-NFZ7JO2Z.js} +2 -2
  341. package/__chunks__/{chunk-OAMC6DAX.js → chunk-NH6FT3IZ.js} +2 -2
  342. package/__chunks__/{chunk-O2JJ7TX2.js → chunk-NNOOMFID.js} +2 -2
  343. package/__chunks__/{chunk-DNHNKFHJ.js → chunk-NUUCOV6X.js} +2 -2
  344. package/__chunks__/{chunk-JLBHATQM.js → chunk-NW5ZGNQV.js} +2 -2
  345. package/__chunks__/{chunk-V3VNZ3LF.js → chunk-NZQKUKIU.js} +2 -2
  346. package/__chunks__/{chunk-JIE5CDBM.js → chunk-NZVWRMBH.js} +2 -2
  347. package/__chunks__/{chunk-7JQ3JF2S.js → chunk-O27E4JG4.js} +2 -2
  348. package/__chunks__/{chunk-BIMZTWXB.js → chunk-O2EPXHIC.js} +2 -2
  349. package/__chunks__/{chunk-JLIP76TX.js → chunk-O3X2Z3NX.js} +2 -2
  350. package/__chunks__/{chunk-CYUQTFV4.js → chunk-O57K5BPD.js} +2 -2
  351. package/__chunks__/{chunk-WPS5WCAD.js → chunk-OA5NXEM5.js} +2 -2
  352. package/__chunks__/{chunk-K2GJDKLB.js → chunk-OCSDRIZL.js} +2 -2
  353. package/__chunks__/{chunk-VSDJBGTI.js → chunk-OFZL7QGE.js} +2 -2
  354. package/__chunks__/{chunk-EGXFICI6.js → chunk-OHAZISBB.js} +2 -2
  355. package/__chunks__/{chunk-ULY6I5G4.js → chunk-OHLUDCZP.js} +2 -2
  356. package/__chunks__/{chunk-E5WZG22Q.js → chunk-OJJW7N3Y.js} +2 -2
  357. package/__chunks__/{chunk-LHOGTSVM.js → chunk-OK5VPSYN.js} +2 -2
  358. package/__chunks__/{chunk-7WIVWVYG.js → chunk-OM4HIUZV.js} +2 -2
  359. package/__chunks__/{chunk-JTA3GVIR.js → chunk-OPYMG7J6.js} +2 -2
  360. package/__chunks__/{chunk-TT6I2JPD.js → chunk-OXT27KBX.js} +2 -2
  361. package/__chunks__/{chunk-XV5T3OGI.js → chunk-P2I2W66R.js} +2 -2
  362. package/__chunks__/{chunk-YY7YJV3Z.js → chunk-P2TS43BL.js} +2 -2
  363. package/__chunks__/{chunk-2MTCVCJY.js → chunk-P3WILR7P.js} +2 -2
  364. package/__chunks__/{chunk-Y4NWJTDF.js → chunk-P7OHWGVE.js} +2 -2
  365. package/__chunks__/{chunk-2BLD2S6Y.js → chunk-PCBKXJAS.js} +2 -2
  366. package/__chunks__/{chunk-LBMDUUX2.js → chunk-PEE6QS7F.js} +2 -2
  367. package/__chunks__/{chunk-VBHFVCAT.js → chunk-PEHJVSQJ.js} +2 -2
  368. package/__chunks__/{chunk-EFYPXCHD.js → chunk-PJAESNTN.js} +2 -2
  369. package/__chunks__/chunk-PVDQFAJH.js +2 -0
  370. package/__chunks__/{chunk-4I2R2YBI.js → chunk-PZIEUX5I.js} +2 -2
  371. package/__chunks__/{chunk-5JAHGJZ3.js → chunk-Q4CSBUGG.js} +2 -2
  372. package/__chunks__/{chunk-2QJMUXY5.js → chunk-Q4MYQMLU.js} +2 -2
  373. package/__chunks__/{chunk-BN5LCWRP.js → chunk-Q5GRUOBA.js} +2 -2
  374. package/__chunks__/{chunk-AZ7PQ7BZ.js → chunk-Q6RIPAYC.js} +2 -2
  375. package/__chunks__/{chunk-ZZGKPNPK.js → chunk-QBKC3L3M.js} +2 -2
  376. package/__chunks__/{chunk-B5FEJ4M2.js → chunk-QIG55ESS.js} +2 -2
  377. package/__chunks__/{chunk-2QH46LHC.js → chunk-QJKWCOAE.js} +2 -2
  378. package/__chunks__/{chunk-GWWXW44U.js → chunk-QLTKW7UX.js} +2 -2
  379. package/__chunks__/{chunk-QBXIIWYO.js → chunk-RFBKEGBF.js} +2 -2
  380. package/__chunks__/{chunk-37HZU2NS.js → chunk-RI25J73C.js} +2 -2
  381. package/__chunks__/{chunk-HTIHDRK6.js → chunk-S2PFP7G2.js} +2 -2
  382. package/__chunks__/{chunk-OOXMCSWF.js → chunk-S5NJJAPQ.js} +2 -2
  383. package/__chunks__/{chunk-YO5YBMN5.js → chunk-S77UNI5R.js} +2 -2
  384. package/__chunks__/{chunk-Q4ULGJFI.js → chunk-SAVFWFK5.js} +2 -2
  385. package/__chunks__/{chunk-XKSXFTS2.js → chunk-SBQ57SK6.js} +2 -2
  386. package/__chunks__/{chunk-LW7ND3VE.js → chunk-SIC3HEYU.js} +2 -2
  387. package/__chunks__/{chunk-LICFOMVB.js → chunk-SK7YYO4P.js} +2 -2
  388. package/__chunks__/{chunk-VL7NMTCR.js → chunk-SWCKOXSX.js} +2 -2
  389. package/__chunks__/{chunk-GVJVBY3M.js → chunk-SY3UOM25.js} +2 -2
  390. package/__chunks__/{chunk-U6A2XQPV.js → chunk-SZCMNOHY.js} +2 -2
  391. package/__chunks__/{chunk-UOQBG7X3.js → chunk-TBIV2K6X.js} +2 -2
  392. package/__chunks__/{chunk-6OWJWBI5.js → chunk-TCHHIVWG.js} +2 -2
  393. package/__chunks__/{chunk-A4G62MA5.js → chunk-TEEBL6AK.js} +2 -2
  394. package/__chunks__/{chunk-Y7WN66J2.js → chunk-TH7LB4LY.js} +2 -2
  395. package/__chunks__/{chunk-NK7ZL2DT.js → chunk-THR6RXYS.js} +2 -2
  396. package/__chunks__/{chunk-VXRXUNEN.js → chunk-TL4XBKDU.js} +2 -2
  397. package/__chunks__/{chunk-CFF5LJLP.js → chunk-TMGLGASZ.js} +2 -2
  398. package/__chunks__/{chunk-T5WSVPXH.js → chunk-TNTBYP6K.js} +2 -2
  399. package/__chunks__/{chunk-JVP5G4OH.js → chunk-TRZUUKRO.js} +2 -2
  400. package/__chunks__/{chunk-3XKG2IZ7.js → chunk-TVESPVBL.js} +2 -2
  401. package/__chunks__/{chunk-GZU4XOBN.js → chunk-TZ7D3ABD.js} +2 -2
  402. package/__chunks__/{chunk-Y4JO6CBF.js → chunk-U3QQELXI.js} +2 -2
  403. package/__chunks__/{chunk-4XGVEFWE.js → chunk-U5QW2K3I.js} +2 -2
  404. package/__chunks__/{chunk-GCE7L2D3.js → chunk-U5UIO4UF.js} +2 -2
  405. package/__chunks__/{chunk-I7VLLM33.js → chunk-UICSKYIJ.js} +2 -2
  406. package/__chunks__/{chunk-YHTSP4GJ.js → chunk-ULECHZKW.js} +2 -2
  407. package/__chunks__/{chunk-B2JEMS3V.js → chunk-URAYO74E.js} +2 -2
  408. package/__chunks__/{chunk-7RCWI5DV.js → chunk-US4GXOAG.js} +2 -2
  409. package/__chunks__/{chunk-OEFBVOVP.js → chunk-UWKLKRGH.js} +2 -2
  410. package/__chunks__/{chunk-QJCZJ43W.js → chunk-V25ZKV7N.js} +2 -2
  411. package/__chunks__/{chunk-5V2VVYR4.js → chunk-VNJCCAFW.js} +2 -2
  412. package/__chunks__/{chunk-FBKUW7RX.js → chunk-VRP4T4FV.js} +2 -2
  413. package/__chunks__/chunk-VSE72FLZ.js +2 -0
  414. package/__chunks__/{chunk-4QMZL3QQ.js → chunk-VVNYKZD5.js} +2 -2
  415. package/__chunks__/{chunk-EI42VQCK.js → chunk-VZ72WJ2X.js} +2 -2
  416. package/__chunks__/{chunk-UYBXREWT.js → chunk-W6KBLENQ.js} +2 -2
  417. package/__chunks__/{chunk-MSXOQLN2.js → chunk-W7YIY5E7.js} +2 -2
  418. package/__chunks__/{chunk-LO3VURDM.js → chunk-WBKRKXLD.js} +2 -2
  419. package/__chunks__/{chunk-XEGV54WV.js → chunk-WCBZ6Z34.js} +2 -2
  420. package/__chunks__/{chunk-OPHZSLD4.js → chunk-WGEOYDAG.js} +2 -2
  421. package/__chunks__/{chunk-BWZPYI5B.js → chunk-WSRC4TQI.js} +2 -2
  422. package/__chunks__/{chunk-UH43PEYV.js → chunk-WTRR3D36.js} +2 -2
  423. package/__chunks__/{chunk-HXJ4HFX7.js → chunk-WW2ZOHAS.js} +2 -2
  424. package/__chunks__/chunk-WYDCYB2E.js +2 -0
  425. package/__chunks__/chunk-X3FCPAMI.js +2 -0
  426. package/__chunks__/chunk-X7WDIBT5.js +2 -0
  427. package/__chunks__/{chunk-JWOJVPSQ.js → chunk-XCGDGLK3.js} +2 -2
  428. package/__chunks__/{chunk-YHGHGEDP.js → chunk-XGACROB3.js} +2 -2
  429. package/__chunks__/{chunk-AGHBEBGH.js → chunk-XLJJNITC.js} +2 -2
  430. package/__chunks__/{chunk-CKTVDXZB.js → chunk-XPDTLVYA.js} +2 -2
  431. package/__chunks__/{chunk-IAAPCWKC.js → chunk-XQP76V2M.js} +2 -2
  432. package/__chunks__/{chunk-EQJ5TR37.js → chunk-XVF4IG3A.js} +2 -2
  433. package/__chunks__/{chunk-HLBUCVWT.js → chunk-XWPLCBYN.js} +2 -2
  434. package/__chunks__/{chunk-QHOAQEWT.js → chunk-XYT2TK3Q.js} +2 -2
  435. package/__chunks__/{chunk-NLHXFLTD.js → chunk-Y6KSTO3A.js} +2 -2
  436. package/__chunks__/{chunk-6ERULYYM.js → chunk-Y7ZCJ622.js} +2 -2
  437. package/__chunks__/{chunk-LV3SR5AZ.js → chunk-YCSJTLCS.js} +2 -2
  438. package/__chunks__/{chunk-AOWSKJU4.js → chunk-YG7VDKRN.js} +2 -2
  439. package/__chunks__/{chunk-VZP77QAT.js → chunk-YMS7SA5X.js} +2 -2
  440. package/__chunks__/{chunk-ALACRIIG.js → chunk-YTPED4VI.js} +2 -2
  441. package/__chunks__/{chunk-WZGTPUPX.js → chunk-YY2JXRIX.js} +2 -2
  442. package/__chunks__/{chunk-QZDIC3DK.js → chunk-Z2TN7537.js} +2 -2
  443. package/__chunks__/{chunk-SZZD7FYR.js → chunk-Z42BLK44.js} +2 -2
  444. package/__chunks__/chunk-Z5BQ5KOQ.js +2 -0
  445. package/__chunks__/{chunk-5CAUCI7D.js → chunk-ZBA5RQC3.js} +2 -2
  446. package/__chunks__/{chunk-LDY2FDOV.js → chunk-ZEM76I54.js} +2 -2
  447. package/__chunks__/{chunk-64PUFCWO.js → chunk-ZGZXVEDL.js} +2 -2
  448. package/__chunks__/{chunk-3MJ5MEYW.js → chunk-ZMMELDU7.js} +2 -2
  449. package/__chunks__/{chunk-7EY2LJ6M.js → chunk-ZO6MKGLO.js} +2 -2
  450. package/__commonjs/UI/SignTransactionsModals/SignTransactionsModals.js +1 -1
  451. package/__commonjs/UI/SignTransactionsModals/SignWithDeviceModal/SignStep.js +1 -1
  452. package/__commonjs/UI/SignTransactionsModals/SignWithDeviceModal/SignWithDeviceModal.js +1 -1
  453. package/__commonjs/UI/SignTransactionsModals/SignWithDeviceModal/components/SignStepBody.js +1 -1
  454. package/__commonjs/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmReceiver/ConfirmReceiver.js +1 -1
  455. package/__commonjs/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmReceiver/index.js +1 -1
  456. package/__commonjs/UI/SignTransactionsModals/SignWithDeviceModal/components/components/index.js +1 -1
  457. package/__commonjs/UI/SignTransactionsModals/SignWithDeviceModal/components/index.js +1 -1
  458. package/__commonjs/UI/SignTransactionsModals/SignWithDeviceModal/index.js +1 -1
  459. package/__commonjs/UI/SignTransactionsModals/SignWithExtraModal/SignWithExtraModal.js +1 -1
  460. package/__commonjs/UI/SignTransactionsModals/SignWithExtraModal/index.js +1 -1
  461. package/__commonjs/UI/SignTransactionsModals/SignWithLedgerModal/SignWithLedgerModal.js +1 -1
  462. package/__commonjs/UI/SignTransactionsModals/SignWithLedgerModal/index.js +1 -1
  463. package/__commonjs/UI/SignTransactionsModals/SignWithMetamaskModal/SignWithMetamaskModal.js +1 -1
  464. package/__commonjs/UI/SignTransactionsModals/SignWithMetamaskModal/index.js +1 -1
  465. package/__commonjs/UI/SignTransactionsModals/components/ConfirmationScreen.js +1 -1
  466. package/__commonjs/UI/SignTransactionsModals/components/index.js +1 -1
  467. package/__commonjs/UI/SignTransactionsModals/index.js +1 -1
  468. package/__commonjs/UI/TransactionDetails/components/TransactionDetailsBody.js +3 -3
  469. package/__commonjs/UI/TransactionDetails/components/index.js +3 -3
  470. package/__commonjs/UI/TransactionInfo/TransactionInfo.js +1 -1
  471. package/__commonjs/UI/TransactionInfo/components/AddressDetailItem/AddressDetailitem.js +1 -1
  472. package/__commonjs/UI/TransactionInfo/components/AddressDetailItem/index.js +1 -1
  473. package/__commonjs/UI/TransactionInfo/components/DataDecode/DataDecode.js +1 -1
  474. package/__commonjs/UI/TransactionInfo/components/DataDecode/index.js +1 -1
  475. package/__commonjs/UI/TransactionInfo/components/DataField/DataField.js +1 -1
  476. package/__commonjs/UI/TransactionInfo/components/DataField/index.js +1 -1
  477. package/__commonjs/UI/TransactionInfo/components/EventsList/EventsList.js +1 -1
  478. package/__commonjs/UI/TransactionInfo/components/EventsList/index.js +1 -1
  479. package/__commonjs/UI/TransactionInfo/components/OperationsList/OperationList.js +1 -1
  480. package/__commonjs/UI/TransactionInfo/components/OperationsList/components/DetailedItem.js +1 -1
  481. package/__commonjs/UI/TransactionInfo/components/OperationsList/components/OperationBlock.js +1 -1
  482. package/__commonjs/UI/TransactionInfo/components/OperationsList/components/OperationRow.js +1 -1
  483. package/__commonjs/UI/TransactionInfo/components/OperationsList/components/OperationText.js +1 -1
  484. package/__commonjs/UI/TransactionInfo/components/OperationsList/components/index.js +1 -1
  485. package/__commonjs/UI/TransactionInfo/components/OperationsList/index.js +1 -1
  486. package/__commonjs/UI/TransactionInfo/components/ScResultsList/ScResultsList.js +1 -1
  487. package/__commonjs/UI/TransactionInfo/components/ScResultsList/components/ResultData/ResultData.js +1 -1
  488. package/__commonjs/UI/TransactionInfo/components/ScResultsList/components/ResultData/index.js +1 -1
  489. package/__commonjs/UI/TransactionInfo/components/ScResultsList/components/ResultReceiver/ResultReceiver.js +1 -1
  490. package/__commonjs/UI/TransactionInfo/components/ScResultsList/components/ResultReceiver/index.js +1 -1
  491. package/__commonjs/UI/TransactionInfo/components/ScResultsList/components/ResultSender/ResultSender.js +1 -1
  492. package/__commonjs/UI/TransactionInfo/components/ScResultsList/components/ResultSender/index.js +1 -1
  493. package/__commonjs/UI/TransactionInfo/components/ScResultsList/index.js +1 -1
  494. package/__commonjs/UI/TransactionInfo/components/TransactionAction/TransactionAction.js +1 -1
  495. package/__commonjs/UI/TransactionInfo/components/TransactionAction/components/ActionText/index.js +1 -1
  496. package/__commonjs/UI/TransactionInfo/components/TransactionAction/components/index.js +1 -1
  497. package/__commonjs/UI/TransactionInfo/components/TransactionAction/index.js +1 -1
  498. package/__commonjs/UI/TransactionInfo/components/TransactionLogs/TransactionLogs.js +1 -1
  499. package/__commonjs/UI/TransactionInfo/components/TransactionLogs/index.js +1 -1
  500. package/__commonjs/UI/TransactionInfo/components/index.js +41 -41
  501. package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoFrom/TransactionInfoFrom.js +15 -15
  502. package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoFrom/index.js +15 -15
  503. package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoInputData/TransactionInfoInputData.js +1 -1
  504. package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoInputData/index.js +1 -1
  505. package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoMethod/TransactionInfoMethod.js +1 -1
  506. package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoMethod/index.js +1 -1
  507. package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoScResults/TransactionInfoScResults.js +1 -1
  508. package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoScResults/index.js +1 -1
  509. package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoTo/TransactionInfoTo.js +1 -1
  510. package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoTo/index.js +1 -1
  511. package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoTokenOperations/TransactionInfoTokenOperations.js +8 -8
  512. package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoTokenOperations/index.js +8 -8
  513. package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/index.js +1 -1
  514. package/__commonjs/UI/TransactionInfo/index.js +1 -1
  515. package/__commonjs/UI/TransactionsTable/TransactionsTable.js +1 -1
  516. package/__commonjs/UI/TransactionsTable/components/LockedTokenAddressIcon.js +1 -1
  517. package/__commonjs/UI/TransactionsTable/components/ScAddressIcon.js +1 -1
  518. package/__commonjs/UI/TransactionsTable/components/TransactionReceiver.js +1 -1
  519. package/__commonjs/UI/TransactionsTable/components/TransactionRow.js +1 -1
  520. package/__commonjs/UI/TransactionsTable/components/TransactionSender.js +1 -1
  521. package/__commonjs/UI/TransactionsTable/components/index.js +1 -1
  522. package/__commonjs/UI/TransactionsTable/index.js +1 -1
  523. package/__commonjs/UI/TransactionsToastList/TransactionsToastList.js +1 -1
  524. package/__commonjs/UI/TransactionsToastList/components/CustomToast/CustomToast.js +1 -1
  525. package/__commonjs/UI/TransactionsToastList/components/CustomToast/components/IconToast/IconToast.js +1 -1
  526. package/__commonjs/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/IconToastFooter.js +1 -1
  527. package/__commonjs/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/components/TransactionToastFooter.js +1 -1
  528. package/__commonjs/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/components/index.js +7 -7
  529. package/__commonjs/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/index.js +1 -1
  530. package/__commonjs/UI/TransactionsToastList/components/CustomToast/components/IconToast/index.js +1 -1
  531. package/__commonjs/UI/TransactionsToastList/components/CustomToast/components/index.js +1 -1
  532. package/__commonjs/UI/TransactionsToastList/components/CustomToast/index.js +1 -1
  533. package/__commonjs/UI/TransactionsToastList/components/index.js +1 -1
  534. package/__commonjs/UI/TransactionsToastList/index.js +1 -1
  535. package/__commonjs/UI/index.js +1 -1
  536. package/__commonjs/UI/pages/UnlockPage/index.js +1 -1
  537. package/__commonjs/UI/pages/index.js +1 -1
  538. package/__commonjs/UI/walletConnect/WalletConnectLoginButton/WalletConnectLoginButton.js +1 -1
  539. package/__commonjs/UI/walletConnect/WalletConnectLoginButton/index.js +1 -1
  540. package/__commonjs/UI/walletConnect/WalletConnectLoginContainer/WalletConnectLoginContainer.js +1 -1
  541. package/__commonjs/UI/walletConnect/WalletConnectLoginContainer/WalletConnectLoginContent/WalletConnectLoginContent.js +1 -1
  542. package/__commonjs/UI/walletConnect/WalletConnectLoginContainer/WalletConnectLoginContent/index.js +1 -1
  543. package/__commonjs/UI/walletConnect/WalletConnectLoginContainer/index.js +1 -1
  544. package/__commonjs/UI/walletConnect/index.js +1 -1
  545. package/__commonjs/__mocks__/index.js +1 -1
  546. package/__commonjs/__mocks__/utils/index.js +1 -1
  547. package/__commonjs/__mocks__/utils/renderWithProvider.js +1 -1
  548. package/__commonjs/components/LogoutListener/LogoutListener.js +1 -1
  549. package/__commonjs/components/LogoutListener/helpers/index.js +1 -1
  550. package/__commonjs/components/LogoutListener/helpers/useLogoutFromMultipleTabs.js +1 -1
  551. package/__commonjs/components/LogoutListener/helpers/useNativeAuthLogout.js +1 -1
  552. package/__commonjs/components/LogoutListener/index.js +1 -1
  553. package/__commonjs/components/ProviderInitializer/ProviderInitializer.js +1 -1
  554. package/__commonjs/components/ProviderInitializer/hooks/index.js +1 -1
  555. package/__commonjs/components/ProviderInitializer/hooks/useSetLedgerProvider.js +1 -1
  556. package/__commonjs/components/ProviderInitializer/index.js +1 -1
  557. package/__commonjs/components/TransactionsTracker/TransactionTracker.js +1 -1
  558. package/__commonjs/components/TransactionsTracker/index.js +1 -1
  559. package/__commonjs/hooks/account/useGetBatchWebsocketEvent.js +1 -1
  560. package/__commonjs/hooks/account/useGetWebsocketEvent.js +1 -1
  561. package/__commonjs/hooks/index.js +1 -1
  562. package/__commonjs/hooks/login/index.js +1 -1
  563. package/__commonjs/hooks/login/useWalletConnectV2Login.js +1 -1
  564. package/__commonjs/hooks/signMessage/index.js +1 -1
  565. package/__commonjs/hooks/signMessage/useSignMessage.js +1 -1
  566. package/__commonjs/hooks/transactions/batch/tracker/useBatchTransactionsTracker.js +1 -1
  567. package/__commonjs/hooks/transactions/batch/tracker/useCheckBatchesOnWsFailureFallback.js +1 -1
  568. package/__commonjs/hooks/transactions/batch/tracker/useCheckHangingBatchesFallback.js +1 -1
  569. package/__commonjs/hooks/transactions/batch/tracker/useUpdateBatch.js +1 -1
  570. package/__commonjs/hooks/transactions/batch/tracker/useVerifyBatchStatus.js +1 -1
  571. package/__commonjs/hooks/transactions/helpers/checkNeedsGuardianSigning.js +1 -1
  572. package/__commonjs/hooks/transactions/helpers/index.js +1 -1
  573. package/__commonjs/hooks/transactions/helpers/useGetLedgerProvider.js +1 -1
  574. package/__commonjs/hooks/transactions/index.js +1 -1
  575. package/__commonjs/hooks/transactions/useCheckTransactionStatus/checkBatch.js +1 -1
  576. package/__commonjs/hooks/transactions/useCheckTransactionStatus/index.js +1 -1
  577. package/__commonjs/hooks/transactions/useCheckTransactionStatus/useCheckTransactionStatus.js +1 -1
  578. package/__commonjs/hooks/transactions/useGetLastPendingTransactionHash.js +1 -1
  579. package/__commonjs/hooks/transactions/useParseMultiEsdtTransferData.js +1 -1
  580. package/__commonjs/hooks/transactions/useSignMultipleTransactions.js +1 -1
  581. package/__commonjs/hooks/transactions/useSignTransactions.js +1 -1
  582. package/__commonjs/hooks/transactions/useSignTransactionsWithDevice.js +1 -1
  583. package/__commonjs/hooks/transactions/useSignTransactionsWithLedger.js +1 -1
  584. package/__commonjs/hooks/transactions/useTransactionsTracker.js +1 -1
  585. package/__commonjs/hooks/websocketListener/index.js +1 -1
  586. package/__commonjs/hooks/websocketListener/useRegisterWebsocketListener.js +1 -1
  587. package/__commonjs/utils/account/addressIsValid.js +1 -1
  588. package/__commonjs/utils/account/getAddress.js +1 -1
  589. package/__commonjs/utils/account/getSearchParamAddress.js +1 -1
  590. package/__commonjs/utils/account/index.js +1 -1
  591. package/__commonjs/utils/account/refreshAccount.js +1 -1
  592. package/__commonjs/utils/account/signMessage.js +1 -1
  593. package/__commonjs/utils/index.js +1 -1
  594. package/__commonjs/utils/logout.js +1 -1
  595. package/__commonjs/utils/smartContracts.js +1 -1
  596. package/__commonjs/utils/transactions/builtCallbackUrl.js +1 -1
  597. package/__commonjs/utils/transactions/getInterpretedTransaction/getInterpretedTransaction.js +1 -1
  598. package/__commonjs/utils/transactions/getInterpretedTransaction/index.js +1 -1
  599. package/__commonjs/utils/transactions/getTokenFromData.js +1 -1
  600. package/__commonjs/utils/transactions/index.js +1 -1
  601. package/__commonjs/utils/transactions/parseMultiEsdtTransferDataForMultipleTransactions.js +1 -1
  602. package/__commonjs/utils/transactions/transactionInfoHelpers/decodeForDisplay/decodeForDisplay.js +1 -1
  603. package/__commonjs/utils/transactions/transactionInfoHelpers/decodeForDisplay/helpers/decodeByMethod.js +1 -1
  604. package/__commonjs/utils/transactions/transactionInfoHelpers/decodeForDisplay/helpers/getDisplayValueAndValidationWarnings.js +1 -1
  605. package/__commonjs/utils/transactions/transactionInfoHelpers/decodeForDisplay/helpers/getSmartDecodedParts.js +1 -1
  606. package/__commonjs/utils/transactions/transactionInfoHelpers/decodeForDisplay/helpers/index.js +1 -1
  607. package/__commonjs/utils/transactions/transactionInfoHelpers/decodeForDisplay/index.js +1 -1
  608. package/__commonjs/utils/transactions/transactionInfoHelpers/index.js +1 -1
  609. package/__commonjs/utils/transactions/transactionInfoHelpers/useDataDecode.js +2 -2
  610. package/__commonjs/web/hooks/index.js +1 -1
  611. package/__commonjs/web/hooks/useIdleTimer.js +1 -1
  612. package/__commonjs/web/index.js +1 -1
  613. package/__commonjs/wrappers/AppInitializer.js +1 -1
  614. package/__commonjs/wrappers/AuthenticatedRoutesWrapper/AuthenticatedRoutesWrapper.js +1 -1
  615. package/__commonjs/wrappers/AuthenticatedRoutesWrapper/index.js +1 -1
  616. package/__commonjs/wrappers/DappProvider/CustomComponents.js +1 -1
  617. package/__commonjs/wrappers/DappProvider/DappProvider.js +1 -1
  618. package/__commonjs/wrappers/DappProvider/index.js +1 -1
  619. package/__commonjs/wrappers/index.js +1 -1
  620. package/__mocks__/index.js +1 -1
  621. package/__mocks__/utils/index.js +1 -1
  622. package/__mocks__/utils/renderWithProvider.js +1 -1
  623. package/apiCalls/accounts/getAccountFromApi.js +1 -1
  624. package/apiCalls/accounts/index.js +1 -1
  625. package/apiCalls/accounts/useGetAccountFromApi.js +1 -1
  626. package/apiCalls/configuration/getNetworkConfig.js +1 -1
  627. package/apiCalls/configuration/index.js +1 -1
  628. package/apiCalls/configuration/useGetNetworkConfigFromApi.js +1 -1
  629. package/apiCalls/configuration/useGetServerConfigurationFromApi.js +1 -1
  630. package/apiCalls/economics/getEconomicsInfo.js +1 -1
  631. package/apiCalls/economics/index.js +1 -1
  632. package/apiCalls/economics/useGetEconomicsInfoFromApi.js +1 -1
  633. package/apiCalls/index.js +1 -1
  634. package/apiCalls/transactions/getTransactionsByHashes.js +1 -1
  635. package/apiCalls/transactions/index.js +1 -1
  636. package/apiCalls/transactions/sendSignedBatchTransactions.js +1 -1
  637. package/apiCalls/transactions/sendSignedTransactions.js +1 -1
  638. package/apiCalls/transactions/useGetTransactionsFromApi.js +1 -1
  639. package/apiCalls/utils/getCleanApiAddress.js +1 -1
  640. package/apiCalls/utils/getScamAddressData.js +1 -1
  641. package/apiCalls/utils/index.js +1 -1
  642. package/apiCalls/utils/useApiFetch.js +1 -1
  643. package/components/LogoutListener/LogoutListener.js +1 -1
  644. package/components/LogoutListener/helpers/index.js +1 -1
  645. package/components/LogoutListener/helpers/useLogoutFromMultipleTabs.js +1 -1
  646. package/components/LogoutListener/helpers/useNativeAuthLogout.js +1 -1
  647. package/components/LogoutListener/helpers/useNativeAuthLogoutWarning/index.js +1 -1
  648. package/components/LogoutListener/helpers/useNativeAuthLogoutWarning/useNativeAuthLogoutWarning.js +1 -1
  649. package/components/LogoutListener/index.js +1 -1
  650. package/components/ProviderInitializer/ProviderInitializer.js +1 -1
  651. package/components/ProviderInitializer/helpers/index.js +1 -1
  652. package/components/ProviderInitializer/helpers/processModifiedAccount.js +1 -1
  653. package/components/ProviderInitializer/hooks/index.js +1 -1
  654. package/components/ProviderInitializer/hooks/useSetLedgerProvider.js +1 -1
  655. package/components/ProviderInitializer/index.js +1 -1
  656. package/components/TransactionSender/TransactionSender.js +1 -1
  657. package/components/TransactionSender/index.js +1 -1
  658. package/components/TransactionSender/utils/invokeSendTransactions.js +1 -1
  659. package/components/TransactionsTracker/TransactionTracker.js +1 -1
  660. package/components/TransactionsTracker/index.js +1 -1
  661. package/hooks/account/index.js +1 -1
  662. package/hooks/account/useGetAccount.js +1 -1
  663. package/hooks/account/useGetAccountInfo.js +1 -1
  664. package/hooks/account/useGetBatchWebsocketEvent.js +1 -1
  665. package/hooks/account/useGetIsLoggedIn.js +1 -1
  666. package/hooks/account/useGetIsWalletConnectV2Initialized.js +1 -1
  667. package/hooks/account/useGetLoginInfo.js +1 -1
  668. package/hooks/account/useGetWebsocketEvent.js +1 -1
  669. package/hooks/economics/index.js +1 -1
  670. package/hooks/economics/useGetEgldPrice.js +1 -1
  671. package/hooks/index.js +1 -1
  672. package/hooks/login/index.js +1 -1
  673. package/hooks/login/useCrossWindowLogin.js +1 -1
  674. package/hooks/login/useExtensionLogin.js +1 -1
  675. package/hooks/login/useGetModalLoginMethods.js +1 -1
  676. package/hooks/login/useIframeLogin.js +1 -1
  677. package/hooks/login/useLedgerLogin.js +1 -1
  678. package/hooks/login/useLoginService.js +1 -1
  679. package/hooks/login/useMetamaskLogin.js +1 -1
  680. package/hooks/login/useOperaLogin.js +1 -1
  681. package/hooks/login/usePasskeyLogin.js +1 -1
  682. package/hooks/login/useWalletConnectV2Login.js +1 -1
  683. package/hooks/login/useWebViewLogin.js +1 -1
  684. package/hooks/login/useWebWalletLogin.js +1 -1
  685. package/hooks/login/useXaliasLogin.js +1 -1
  686. package/hooks/signMessage/index.js +1 -1
  687. package/hooks/signMessage/useGetLastSignedMessageSession.js +1 -1
  688. package/hooks/signMessage/useGetSignMessageSession.js +1 -1
  689. package/hooks/signMessage/useGetSignedMessageStatus.js +1 -1
  690. package/hooks/signMessage/useSignMessage.js +1 -1
  691. package/hooks/toasts/index.js +1 -1
  692. package/hooks/toasts/useGetToasts.js +1 -1
  693. package/hooks/toasts/useTransactionsToasts.js +1 -1
  694. package/hooks/transactions/batch/tracker/useBatchTransactionsTracker.js +1 -1
  695. package/hooks/transactions/batch/tracker/useCheckBatch.js +1 -1
  696. package/hooks/transactions/batch/tracker/useCheckBatchesOnWsFailureFallback.js +1 -1
  697. package/hooks/transactions/batch/tracker/useCheckHangingBatchesFallback.js +1 -1
  698. package/hooks/transactions/batch/tracker/useUpdateBatch.js +1 -1
  699. package/hooks/transactions/batch/tracker/useVerifyBatchStatus.js +1 -1
  700. package/hooks/transactions/batch/useGetBatchStatus.js +1 -1
  701. package/hooks/transactions/batch/useResolveBatchStatusResponse.js +1 -1
  702. package/hooks/transactions/batch/useSendBatchTransactions.js +1 -1
  703. package/hooks/transactions/helpers/checkNeedsGuardianSigning.js +1 -1
  704. package/hooks/transactions/helpers/getShouldMoveTransactionsToSignedState.js +1 -1
  705. package/hooks/transactions/helpers/index.js +1 -1
  706. package/hooks/transactions/helpers/useGetLedgerProvider.js +1 -1
  707. package/hooks/transactions/helpers/useSetTransactionNonces.js +1 -1
  708. package/hooks/transactions/index.js +1 -1
  709. package/hooks/transactions/useCheckTransactionStatus/checkBatch.js +1 -1
  710. package/hooks/transactions/useCheckTransactionStatus/index.js +1 -1
  711. package/hooks/transactions/useCheckTransactionStatus/useCheckTransactionStatus.js +1 -1
  712. package/hooks/transactions/useGetActiveTransactionsStatus.js +1 -1
  713. package/hooks/transactions/useGetFailedTransactions.js +1 -1
  714. package/hooks/transactions/useGetLastPendingTransactionHash.js +1 -1
  715. package/hooks/transactions/useGetPendingTransactions.js +1 -1
  716. package/hooks/transactions/useGetPollingInterval.js +1 -1
  717. package/hooks/transactions/useGetSignTransactionsError.js +1 -1
  718. package/hooks/transactions/useGetSignedTransactions.js +1 -1
  719. package/hooks/transactions/useGetSuccessfulTransactions.js +1 -1
  720. package/hooks/transactions/useGetTokenDetails.js +1 -1
  721. package/hooks/transactions/useGetTransactionDisplayInfo.js +1 -1
  722. package/hooks/transactions/useParseMultiEsdtTransferData.js +1 -1
  723. package/hooks/transactions/useParseSignedTransactions.js +1 -1
  724. package/hooks/transactions/useSignMultipleTransactions.js +1 -1
  725. package/hooks/transactions/useSignTransactions.js +1 -1
  726. package/hooks/transactions/useSignTransactionsCommonData.js +1 -1
  727. package/hooks/transactions/useSignTransactionsWithDevice.js +1 -1
  728. package/hooks/transactions/useSignTransactionsWithLedger.js +1 -1
  729. package/hooks/transactions/useTrackTransactionStatus.js +1 -1
  730. package/hooks/transactions/useTransactionsTracker.js +1 -1
  731. package/hooks/useGetNetworkConfig.js +1 -1
  732. package/hooks/useGetNotification.js +1 -1
  733. package/hooks/websocketListener/index.js +1 -1
  734. package/hooks/websocketListener/useInitializeWebsocketConnection.js +1 -1
  735. package/hooks/websocketListener/useRegisterWebsocketListener.js +1 -1
  736. package/package.json +2 -2
  737. package/providers/experimentalWebViewProvider/ExperimentalWebviewProvider.js +1 -1
  738. package/providers/experimentalWebViewProvider/index.js +1 -1
  739. package/reduxStore/selectors/index.js +1 -1
  740. package/reduxStore/selectors/transactionsSelectors.js +1 -1
  741. package/services/index.js +1 -1
  742. package/services/nativeAuth/helpers/getAuthorizationInfo.js +1 -1
  743. package/services/nativeAuth/helpers/getIsNativeAuthSingingForbidden.js +1 -1
  744. package/services/nativeAuth/helpers/index.js +1 -1
  745. package/services/transactions/clearTransactions.js +1 -1
  746. package/services/transactions/getBatchTransactionsStatus.js +1 -1
  747. package/services/transactions/getTransactionsDetails.js +1 -1
  748. package/services/transactions/index.js +1 -1
  749. package/services/transactions/sendBatchTransactions.js +1 -1
  750. package/services/transactions/sendBatchTransactions.test.js +1 -1
  751. package/services/transactions/sendTransactions.js +1 -1
  752. package/services/transactions/transformAndSignTransactions.js +1 -1
  753. package/services/transactions/utils/transformTransactionsToSign.js +1 -1
  754. package/utils/account/addressIsValid.js +1 -1
  755. package/utils/account/getAccount.js +1 -1
  756. package/utils/account/getAccountBalance.js +1 -1
  757. package/utils/account/getAccountShard.js +1 -1
  758. package/utils/account/getAddress.js +1 -1
  759. package/utils/account/getLatestNonce.js +1 -1
  760. package/utils/account/getSearchParamAddress.js +1 -1
  761. package/utils/account/getWebviewToken.js +1 -1
  762. package/utils/account/index.js +1 -1
  763. package/utils/account/refreshAccount.js +1 -1
  764. package/utils/account/signMessage.js +1 -1
  765. package/utils/getIsLoggedIn.js +1 -1
  766. package/utils/index.js +1 -1
  767. package/utils/logout.js +1 -1
  768. package/utils/network/getChainID.js +1 -1
  769. package/utils/network/getEgldLabel.js +1 -1
  770. package/utils/network/getNetworkConfig.js +1 -1
  771. package/utils/network/index.js +1 -1
  772. package/utils/smartContracts.js +1 -1
  773. package/utils/transactions/batch/updateBatchTransactionsStatuses.js +1 -1
  774. package/utils/transactions/builtCallbackUrl.js +1 -1
  775. package/utils/transactions/getAllTransactionsLink.js +1 -1
  776. package/utils/transactions/getAreTransactionsOnSameShard.js +1 -1
  777. package/utils/transactions/getInterpretedTransaction/getInterpretedTransaction.js +1 -1
  778. package/utils/transactions/getInterpretedTransaction/index.js +1 -1
  779. package/utils/transactions/getOperationsDetails.js +1 -1
  780. package/utils/transactions/getTokenFromData.js +1 -1
  781. package/utils/transactions/getTransactionLink.js +1 -1
  782. package/utils/transactions/index.js +1 -1
  783. package/utils/transactions/parseMultiEsdtTransferDataForMultipleTransactions.js +1 -1
  784. package/utils/transactions/transactionInfoHelpers/decodeForDisplay/decodeForDisplay.js +1 -1
  785. package/utils/transactions/transactionInfoHelpers/decodeForDisplay/helpers/decodeByMethod.js +1 -1
  786. package/utils/transactions/transactionInfoHelpers/decodeForDisplay/helpers/getDisplayValueAndValidationWarnings.js +1 -1
  787. package/utils/transactions/transactionInfoHelpers/decodeForDisplay/helpers/getSmartDecodedParts.js +1 -1
  788. package/utils/transactions/transactionInfoHelpers/decodeForDisplay/helpers/index.js +1 -1
  789. package/utils/transactions/transactionInfoHelpers/decodeForDisplay/index.js +1 -1
  790. package/utils/transactions/transactionInfoHelpers/index.js +1 -1
  791. package/utils/transactions/transactionInfoHelpers/useDataDecode.js +1 -1
  792. package/utils/waitForChainID.js +1 -1
  793. package/web/hooks/index.js +1 -1
  794. package/web/hooks/useIdleTimer.js +1 -1
  795. package/web/index.js +1 -1
  796. package/wrappers/AppInitializer.js +1 -1
  797. package/wrappers/AuthenticatedRoutesWrapper/AuthenticatedRoutesWrapper.js +1 -1
  798. package/wrappers/AuthenticatedRoutesWrapper/index.js +1 -1
  799. package/wrappers/AxiosInterceptorContext/AxiosInterceptorContext.js +1 -1
  800. package/wrappers/AxiosInterceptorContext/components/AxiosInterceptor.js +1 -1
  801. package/wrappers/AxiosInterceptorContext/components/AxiosInterceptorContextProvider.js +1 -1
  802. package/wrappers/AxiosInterceptorContext/components/LoginInfoListener.js +1 -1
  803. package/wrappers/AxiosInterceptorContext/components/index.js +1 -1
  804. package/wrappers/AxiosInterceptorContext/index.js +1 -1
  805. package/wrappers/DappProvider/CustomComponents.js +1 -1
  806. package/wrappers/DappProvider/DappProvider.js +1 -1
  807. package/wrappers/DappProvider/index.js +1 -1
  808. package/wrappers/index.js +1 -1
  809. package/__chunks__/chunk-3DRKBT5E.js +0 -2
  810. package/__chunks__/chunk-3YXLL6MW.js +0 -2
  811. package/__chunks__/chunk-5RZCYYFB.js +0 -2
  812. package/__chunks__/chunk-6OFEUWAW.js +0 -2
  813. package/__chunks__/chunk-6ORF3QPY.js +0 -2
  814. package/__chunks__/chunk-AYX7II5D.js +0 -2
  815. package/__chunks__/chunk-B2HUNSVF.js +0 -2
  816. package/__chunks__/chunk-FDI635JG.js +0 -2
  817. package/__chunks__/chunk-FIJSATLB.js +0 -2
  818. package/__chunks__/chunk-KGBCMOWB.js +0 -2
  819. package/__chunks__/chunk-M7XHLNDA.js +0 -2
  820. package/__chunks__/chunk-OFNDNL4K.js +0 -2
  821. package/__chunks__/chunk-OQPKYQ27.js +0 -2
  822. package/__chunks__/chunk-PUT4EQQN.js +0 -2
  823. package/__chunks__/chunk-V3DA6SW6.js +0 -2
  824. package/__chunks__/chunk-VBL2PL7V.js +0 -2
  825. package/__chunks__/chunk-WAYWMIAI.js +0 -2
  826. package/__chunks__/chunk-Y2CELDON.js +0 -2
  827. package/__chunks__/chunk-YLWL2XAU.js +0 -2
  828. package/__chunks__/chunk-Z5GTNNXT.js +0 -2
@@ -1,4 +1,4 @@
1
- "use strict";var ot=Object.create;var te=Object.defineProperty,at=Object.defineProperties,st=Object.getOwnPropertyDescriptor,ct=Object.getOwnPropertyDescriptors,lt=Object.getOwnPropertyNames,We=Object.getOwnPropertySymbols,pt=Object.getPrototypeOf,$e=Object.prototype.hasOwnProperty,ut=Object.prototype.propertyIsEnumerable;var Ve=(r,e,t)=>e in r?te(r,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):r[e]=t,U=(r,e)=>{for(var t in e||(e={}))$e.call(e,t)&&Ve(r,t,e[t]);if(We)for(var t of We(e))ut.call(e,t)&&Ve(r,t,e[t]);return r},ye=(r,e)=>at(r,ct(e));var dt=(r,e)=>()=>(r&&(e=r(r=0)),e);var se=(r,e)=>()=>(e||r((e={exports:{}}).exports,e),e.exports),gt=(r,e)=>{for(var t in e)te(r,t,{get:e[t],enumerable:!0})},He=(r,e,t,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of lt(e))!$e.call(r,i)&&i!==t&&te(r,i,{get:()=>e[i],enumerable:!(n=st(e,i))||n.enumerable});return r};var A=(r,e,t)=>(t=r!=null?ot(pt(r)):{},He(e||!r||!r.__esModule?te(t,"default",{value:r,enumerable:!0}):t,r)),mt=r=>He(te({},"__esModule",{value:!0}),r);var ze=se(ce=>{"use strict";a();ce.byteLength=ht;ce.toByteArray=xt;ce.fromByteArray=bt;var N=[],v=[],ft=typeof Uint8Array!="undefined"?Uint8Array:Array,xe="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(V=0,qe=xe.length;V<qe;++V)N[V]=xe[V],v[xe.charCodeAt(V)]=V;var V,qe;v["-".charCodeAt(0)]=62;v["_".charCodeAt(0)]=63;function je(r){var e=r.length;if(e%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var t=r.indexOf("=");t===-1&&(t=e);var n=t===e?0:4-t%4;return[t,n]}function ht(r){var e=je(r),t=e[0],n=e[1];return(t+n)*3/4-n}function yt(r,e,t){return(e+t)*3/4-t}function xt(r){var e,t=je(r),n=t[0],i=t[1],o=new ft(yt(r,n,i)),s=0,d=i>0?n-4:n,g;for(g=0;g<d;g+=4)e=v[r.charCodeAt(g)]<<18|v[r.charCodeAt(g+1)]<<12|v[r.charCodeAt(g+2)]<<6|v[r.charCodeAt(g+3)],o[s++]=e>>16&255,o[s++]=e>>8&255,o[s++]=e&255;return i===2&&(e=v[r.charCodeAt(g)]<<2|v[r.charCodeAt(g+1)]>>4,o[s++]=e&255),i===1&&(e=v[r.charCodeAt(g)]<<10|v[r.charCodeAt(g+1)]<<4|v[r.charCodeAt(g+2)]>>2,o[s++]=e>>8&255,o[s++]=e&255),o}function Tt(r){return N[r>>18&63]+N[r>>12&63]+N[r>>6&63]+N[r&63]}function wt(r,e,t){for(var n,i=[],o=e;o<t;o+=3)n=(r[o]<<16&16711680)+(r[o+1]<<8&65280)+(r[o+2]&255),i.push(Tt(n));return i.join("")}function bt(r){for(var e,t=r.length,n=t%3,i=[],o=16383,s=0,d=t-n;s<d;s+=o)i.push(wt(r,s,s+o>d?d:s+o));return n===1?(e=r[t-1],i.push(N[e>>2]+N[e<<4&63]+"==")):n===2&&(e=(r[t-2]<<8)+r[t-1],i.push(N[e>>10]+N[e>>4&63]+N[e<<2&63]+"=")),i.join("")}});var Ke=se(Te=>{a();Te.read=function(r,e,t,n,i){var o,s,d=i*8-n-1,g=(1<<d)-1,m=g>>1,f=-7,h=t?i-1:0,y=t?-1:1,T=r[e+h];for(h+=y,o=T&(1<<-f)-1,T>>=-f,f+=d;f>0;o=o*256+r[e+h],h+=y,f-=8);for(s=o&(1<<-f)-1,o>>=-f,f+=n;f>0;s=s*256+r[e+h],h+=y,f-=8);if(o===0)o=1-m;else{if(o===g)return s?NaN:(T?-1:1)*(1/0);s=s+Math.pow(2,n),o=o-m}return(T?-1:1)*s*Math.pow(2,o-n)};Te.write=function(r,e,t,n,i,o){var s,d,g,m=o*8-i-1,f=(1<<m)-1,h=f>>1,y=i===23?Math.pow(2,-24)-Math.pow(2,-77):0,T=n?0:o-1,S=n?1:-1,j=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=f):(s=Math.floor(Math.log(e)/Math.LN2),e*(g=Math.pow(2,-s))<1&&(s--,g*=2),s+h>=1?e+=y/g:e+=y*Math.pow(2,1-h),e*g>=2&&(s++,g/=2),s+h>=f?(d=0,s=f):s+h>=1?(d=(e*g-1)*Math.pow(2,i),s=s+h):(d=e*Math.pow(2,h-1)*Math.pow(2,i),s=0));i>=8;r[t+T]=d&255,T+=S,d/=256,i-=8);for(s=s<<i|d,m+=i;m>0;r[t+T]=s&255,T+=S,s/=256,m-=8);r[t+T-S]|=j*128}});var sr=se(K=>{"use strict";a();var we=ze(),z=Ke(),Xe=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;K.Buffer=c;K.SlowBuffer=Nt;K.INSPECT_MAX_BYTES=50;var le=2147483647;K.kMaxLength=le;c.TYPED_ARRAY_SUPPORT=vt();!c.TYPED_ARRAY_SUPPORT&&typeof console!="undefined"&&typeof console.error=="function"&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function vt(){try{var r=new Uint8Array(1),e={foo:function(){return 42}};return Object.setPrototypeOf(e,Uint8Array.prototype),Object.setPrototypeOf(r,e),r.foo()===42}catch(t){return!1}}Object.defineProperty(c.prototype,"parent",{enumerable:!0,get:function(){if(!!c.isBuffer(this))return this.buffer}});Object.defineProperty(c.prototype,"offset",{enumerable:!0,get:function(){if(!!c.isBuffer(this))return this.byteOffset}});function D(r){if(r>le)throw new RangeError('The value "'+r+'" is invalid for option "size"');var e=new Uint8Array(r);return Object.setPrototypeOf(e,c.prototype),e}function c(r,e,t){if(typeof r=="number"){if(typeof e=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return ke(r)}return Je(r,e,t)}c.poolSize=8192;function Je(r,e,t){if(typeof r=="string")return kt(r,e);if(ArrayBuffer.isView(r))return At(r);if(r==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof r);if(E(r,ArrayBuffer)||r&&E(r.buffer,ArrayBuffer)||typeof SharedArrayBuffer!="undefined"&&(E(r,SharedArrayBuffer)||r&&E(r.buffer,SharedArrayBuffer)))return ve(r,e,t);if(typeof r=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var n=r.valueOf&&r.valueOf();if(n!=null&&n!==r)return c.from(n,e,t);var i=It(r);if(i)return i;if(typeof Symbol!="undefined"&&Symbol.toPrimitive!=null&&typeof r[Symbol.toPrimitive]=="function")return c.from(r[Symbol.toPrimitive]("string"),e,t);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof r)}c.from=function(r,e,t){return Je(r,e,t)};Object.setPrototypeOf(c.prototype,Uint8Array.prototype);Object.setPrototypeOf(c,Uint8Array);function Qe(r){if(typeof r!="number")throw new TypeError('"size" argument must be of type number');if(r<0)throw new RangeError('The value "'+r+'" is invalid for option "size"')}function St(r,e,t){return Qe(r),r<=0?D(r):e!==void 0?typeof t=="string"?D(r).fill(e,t):D(r).fill(e):D(r)}c.alloc=function(r,e,t){return St(r,e,t)};function ke(r){return Qe(r),D(r<0?0:Ae(r)|0)}c.allocUnsafe=function(r){return ke(r)};c.allocUnsafeSlow=function(r){return ke(r)};function kt(r,e){if((typeof e!="string"||e==="")&&(e="utf8"),!c.isEncoding(e))throw new TypeError("Unknown encoding: "+e);var t=er(r,e)|0,n=D(t),i=n.write(r,e);return i!==t&&(n=n.slice(0,i)),n}function be(r){for(var e=r.length<0?0:Ae(r.length)|0,t=D(e),n=0;n<e;n+=1)t[n]=r[n]&255;return t}function At(r){if(E(r,Uint8Array)){var e=new Uint8Array(r);return ve(e.buffer,e.byteOffset,e.byteLength)}return be(r)}function ve(r,e,t){if(e<0||r.byteLength<e)throw new RangeError('"offset" is outside of buffer bounds');if(r.byteLength<e+(t||0))throw new RangeError('"length" is outside of buffer bounds');var n;return e===void 0&&t===void 0?n=new Uint8Array(r):t===void 0?n=new Uint8Array(r,e):n=new Uint8Array(r,e,t),Object.setPrototypeOf(n,c.prototype),n}function It(r){if(c.isBuffer(r)){var e=Ae(r.length)|0,t=D(e);return t.length===0||r.copy(t,0,0,e),t}if(r.length!==void 0)return typeof r.length!="number"||Ie(r.length)?D(0):be(r);if(r.type==="Buffer"&&Array.isArray(r.data))return be(r.data)}function Ae(r){if(r>=le)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+le.toString(16)+" bytes");return r|0}function Nt(r){return+r!=r&&(r=0),c.alloc(+r)}c.isBuffer=function(e){return e!=null&&e._isBuffer===!0&&e!==c.prototype};c.compare=function(e,t){if(E(e,Uint8Array)&&(e=c.from(e,e.offset,e.byteLength)),E(t,Uint8Array)&&(t=c.from(t,t.offset,t.byteLength)),!c.isBuffer(e)||!c.isBuffer(t))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(e===t)return 0;for(var n=e.length,i=t.length,o=0,s=Math.min(n,i);o<s;++o)if(e[o]!==t[o]){n=e[o],i=t[o];break}return n<i?-1:i<n?1:0};c.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}};c.concat=function(e,t){if(!Array.isArray(e))throw new TypeError('"list" argument must be an Array of Buffers');if(e.length===0)return c.alloc(0);var n;if(t===void 0)for(t=0,n=0;n<e.length;++n)t+=e[n].length;var i=c.allocUnsafe(t),o=0;for(n=0;n<e.length;++n){var s=e[n];if(E(s,Uint8Array))o+s.length>i.length?c.from(s).copy(i,o):Uint8Array.prototype.set.call(i,s,o);else if(c.isBuffer(s))s.copy(i,o);else throw new TypeError('"list" argument must be an Array of Buffers');o+=s.length}return i};function er(r,e){if(c.isBuffer(r))return r.length;if(ArrayBuffer.isView(r)||E(r,ArrayBuffer))return r.byteLength;if(typeof r!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof r);var t=r.length,n=arguments.length>2&&arguments[2]===!0;if(!n&&t===0)return 0;for(var i=!1;;)switch(e){case"ascii":case"latin1":case"binary":return t;case"utf8":case"utf-8":return Se(r).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return t*2;case"hex":return t>>>1;case"base64":return ar(r).length;default:if(i)return n?-1:Se(r).length;e=(""+e).toLowerCase(),i=!0}}c.byteLength=er;function Et(r,e,t){var n=!1;if((e===void 0||e<0)&&(e=0),e>this.length||((t===void 0||t>this.length)&&(t=this.length),t<=0)||(t>>>=0,e>>>=0,t<=e))return"";for(r||(r="utf8");;)switch(r){case"hex":return Pt(this,e,t);case"utf8":case"utf-8":return tr(this,e,t);case"ascii":return Bt(this,e,t);case"latin1":case"binary":return Ut(this,e,t);case"base64":return Ct(this,e,t);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Mt(this,e,t);default:if(n)throw new TypeError("Unknown encoding: "+r);r=(r+"").toLowerCase(),n=!0}}c.prototype._isBuffer=!0;function $(r,e,t){var n=r[e];r[e]=r[t],r[t]=n}c.prototype.swap16=function(){var e=this.length;if(e%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var t=0;t<e;t+=2)$(this,t,t+1);return this};c.prototype.swap32=function(){var e=this.length;if(e%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var t=0;t<e;t+=4)$(this,t,t+3),$(this,t+1,t+2);return this};c.prototype.swap64=function(){var e=this.length;if(e%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var t=0;t<e;t+=8)$(this,t,t+7),$(this,t+1,t+6),$(this,t+2,t+5),$(this,t+3,t+4);return this};c.prototype.toString=function(){var e=this.length;return e===0?"":arguments.length===0?tr(this,0,e):Et.apply(this,arguments)};c.prototype.toLocaleString=c.prototype.toString;c.prototype.equals=function(e){if(!c.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e?!0:c.compare(this,e)===0};c.prototype.inspect=function(){var e="",t=K.INSPECT_MAX_BYTES;return e=this.toString("hex",0,t).replace(/(.{2})/g,"$1 ").trim(),this.length>t&&(e+=" ... "),"<Buffer "+e+">"};Xe&&(c.prototype[Xe]=c.prototype.inspect);c.prototype.compare=function(e,t,n,i,o){if(E(e,Uint8Array)&&(e=c.from(e,e.offset,e.byteLength)),!c.isBuffer(e))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof e);if(t===void 0&&(t=0),n===void 0&&(n=e?e.length:0),i===void 0&&(i=0),o===void 0&&(o=this.length),t<0||n>e.length||i<0||o>this.length)throw new RangeError("out of range index");if(i>=o&&t>=n)return 0;if(i>=o)return-1;if(t>=n)return 1;if(t>>>=0,n>>>=0,i>>>=0,o>>>=0,this===e)return 0;for(var s=o-i,d=n-t,g=Math.min(s,d),m=this.slice(i,o),f=e.slice(t,n),h=0;h<g;++h)if(m[h]!==f[h]){s=m[h],d=f[h];break}return s<d?-1:d<s?1:0};function rr(r,e,t,n,i){if(r.length===0)return-1;if(typeof t=="string"?(n=t,t=0):t>2147483647?t=2147483647:t<-2147483648&&(t=-2147483648),t=+t,Ie(t)&&(t=i?0:r.length-1),t<0&&(t=r.length+t),t>=r.length){if(i)return-1;t=r.length-1}else if(t<0)if(i)t=0;else return-1;if(typeof e=="string"&&(e=c.from(e,n)),c.isBuffer(e))return e.length===0?-1:Ye(r,e,t,n,i);if(typeof e=="number")return e=e&255,typeof Uint8Array.prototype.indexOf=="function"?i?Uint8Array.prototype.indexOf.call(r,e,t):Uint8Array.prototype.lastIndexOf.call(r,e,t):Ye(r,[e],t,n,i);throw new TypeError("val must be string, number or Buffer")}function Ye(r,e,t,n,i){var o=1,s=r.length,d=e.length;if(n!==void 0&&(n=String(n).toLowerCase(),n==="ucs2"||n==="ucs-2"||n==="utf16le"||n==="utf-16le")){if(r.length<2||e.length<2)return-1;o=2,s/=2,d/=2,t/=2}function g(T,S){return o===1?T[S]:T.readUInt16BE(S*o)}var m;if(i){var f=-1;for(m=t;m<s;m++)if(g(r,m)===g(e,f===-1?0:m-f)){if(f===-1&&(f=m),m-f+1===d)return f*o}else f!==-1&&(m-=m-f),f=-1}else for(t+d>s&&(t=s-d),m=t;m>=0;m--){for(var h=!0,y=0;y<d;y++)if(g(r,m+y)!==g(e,y)){h=!1;break}if(h)return m}return-1}c.prototype.includes=function(e,t,n){return this.indexOf(e,t,n)!==-1};c.prototype.indexOf=function(e,t,n){return rr(this,e,t,n,!0)};c.prototype.lastIndexOf=function(e,t,n){return rr(this,e,t,n,!1)};function _t(r,e,t,n){t=Number(t)||0;var i=r.length-t;n?(n=Number(n),n>i&&(n=i)):n=i;var o=e.length;n>o/2&&(n=o/2);for(var s=0;s<n;++s){var d=parseInt(e.substr(s*2,2),16);if(Ie(d))return s;r[t+s]=d}return s}function Rt(r,e,t,n){return pe(Se(e,r.length-t),r,t,n)}function Lt(r,e,t,n){return pe(Vt(e),r,t,n)}function Dt(r,e,t,n){return pe(ar(e),r,t,n)}function Ft(r,e,t,n){return pe($t(e,r.length-t),r,t,n)}c.prototype.write=function(e,t,n,i){if(t===void 0)i="utf8",n=this.length,t=0;else if(n===void 0&&typeof t=="string")i=t,n=this.length,t=0;else if(isFinite(t))t=t>>>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-t;if((n===void 0||n>o)&&(n=o),e.length>0&&(n<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");i||(i="utf8");for(var s=!1;;)switch(i){case"hex":return _t(this,e,t,n);case"utf8":case"utf-8":return Rt(this,e,t,n);case"ascii":case"latin1":case"binary":return Lt(this,e,t,n);case"base64":return Dt(this,e,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Ft(this,e,t,n);default:if(s)throw new TypeError("Unknown encoding: "+i);i=(""+i).toLowerCase(),s=!0}};c.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function Ct(r,e,t){return e===0&&t===r.length?we.fromByteArray(r):we.fromByteArray(r.slice(e,t))}function tr(r,e,t){t=Math.min(r.length,t);for(var n=[],i=e;i<t;){var o=r[i],s=null,d=o>239?4:o>223?3:o>191?2:1;if(i+d<=t){var g,m,f,h;switch(d){case 1:o<128&&(s=o);break;case 2:g=r[i+1],(g&192)===128&&(h=(o&31)<<6|g&63,h>127&&(s=h));break;case 3:g=r[i+1],m=r[i+2],(g&192)===128&&(m&192)===128&&(h=(o&15)<<12|(g&63)<<6|m&63,h>2047&&(h<55296||h>57343)&&(s=h));break;case 4:g=r[i+1],m=r[i+2],f=r[i+3],(g&192)===128&&(m&192)===128&&(f&192)===128&&(h=(o&15)<<18|(g&63)<<12|(m&63)<<6|f&63,h>65535&&h<1114112&&(s=h))}}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 Ot(n)}var Ze=4096;function Ot(r){var e=r.length;if(e<=Ze)return String.fromCharCode.apply(String,r);for(var t="",n=0;n<e;)t+=String.fromCharCode.apply(String,r.slice(n,n+=Ze));return t}function Bt(r,e,t){var n="";t=Math.min(r.length,t);for(var i=e;i<t;++i)n+=String.fromCharCode(r[i]&127);return n}function Ut(r,e,t){var n="";t=Math.min(r.length,t);for(var i=e;i<t;++i)n+=String.fromCharCode(r[i]);return n}function Pt(r,e,t){var n=r.length;(!e||e<0)&&(e=0),(!t||t<0||t>n)&&(t=n);for(var i="",o=e;o<t;++o)i+=Ht[r[o]];return i}function Mt(r,e,t){for(var n=r.slice(e,t),i="",o=0;o<n.length-1;o+=2)i+=String.fromCharCode(n[o]+n[o+1]*256);return i}c.prototype.slice=function(e,t){var n=this.length;e=~~e,t=t===void 0?n:~~t,e<0?(e+=n,e<0&&(e=0)):e>n&&(e=n),t<0?(t+=n,t<0&&(t=0)):t>n&&(t=n),t<e&&(t=e);var i=this.subarray(e,t);return Object.setPrototypeOf(i,c.prototype),i};function w(r,e,t){if(r%1!==0||r<0)throw new RangeError("offset is not uint");if(r+e>t)throw new RangeError("Trying to access beyond buffer length")}c.prototype.readUintLE=c.prototype.readUIntLE=function(e,t,n){e=e>>>0,t=t>>>0,n||w(e,t,this.length);for(var i=this[e],o=1,s=0;++s<t&&(o*=256);)i+=this[e+s]*o;return i};c.prototype.readUintBE=c.prototype.readUIntBE=function(e,t,n){e=e>>>0,t=t>>>0,n||w(e,t,this.length);for(var i=this[e+--t],o=1;t>0&&(o*=256);)i+=this[e+--t]*o;return i};c.prototype.readUint8=c.prototype.readUInt8=function(e,t){return e=e>>>0,t||w(e,1,this.length),this[e]};c.prototype.readUint16LE=c.prototype.readUInt16LE=function(e,t){return e=e>>>0,t||w(e,2,this.length),this[e]|this[e+1]<<8};c.prototype.readUint16BE=c.prototype.readUInt16BE=function(e,t){return e=e>>>0,t||w(e,2,this.length),this[e]<<8|this[e+1]};c.prototype.readUint32LE=c.prototype.readUInt32LE=function(e,t){return e=e>>>0,t||w(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+this[e+3]*16777216};c.prototype.readUint32BE=c.prototype.readUInt32BE=function(e,t){return e=e>>>0,t||w(e,4,this.length),this[e]*16777216+(this[e+1]<<16|this[e+2]<<8|this[e+3])};c.prototype.readIntLE=function(e,t,n){e=e>>>0,t=t>>>0,n||w(e,t,this.length);for(var i=this[e],o=1,s=0;++s<t&&(o*=256);)i+=this[e+s]*o;return o*=128,i>=o&&(i-=Math.pow(2,8*t)),i};c.prototype.readIntBE=function(e,t,n){e=e>>>0,t=t>>>0,n||w(e,t,this.length);for(var i=t,o=1,s=this[e+--i];i>0&&(o*=256);)s+=this[e+--i]*o;return o*=128,s>=o&&(s-=Math.pow(2,8*t)),s};c.prototype.readInt8=function(e,t){return e=e>>>0,t||w(e,1,this.length),this[e]&128?(255-this[e]+1)*-1:this[e]};c.prototype.readInt16LE=function(e,t){e=e>>>0,t||w(e,2,this.length);var n=this[e]|this[e+1]<<8;return n&32768?n|4294901760:n};c.prototype.readInt16BE=function(e,t){e=e>>>0,t||w(e,2,this.length);var n=this[e+1]|this[e]<<8;return n&32768?n|4294901760:n};c.prototype.readInt32LE=function(e,t){return e=e>>>0,t||w(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24};c.prototype.readInt32BE=function(e,t){return e=e>>>0,t||w(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]};c.prototype.readFloatLE=function(e,t){return e=e>>>0,t||w(e,4,this.length),z.read(this,e,!0,23,4)};c.prototype.readFloatBE=function(e,t){return e=e>>>0,t||w(e,4,this.length),z.read(this,e,!1,23,4)};c.prototype.readDoubleLE=function(e,t){return e=e>>>0,t||w(e,8,this.length),z.read(this,e,!0,52,8)};c.prototype.readDoubleBE=function(e,t){return e=e>>>0,t||w(e,8,this.length),z.read(this,e,!1,52,8)};function b(r,e,t,n,i,o){if(!c.isBuffer(r))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(t+n>r.length)throw new RangeError("Index out of range")}c.prototype.writeUintLE=c.prototype.writeUIntLE=function(e,t,n,i){if(e=+e,t=t>>>0,n=n>>>0,!i){var o=Math.pow(2,8*n)-1;b(this,e,t,n,o,0)}var s=1,d=0;for(this[t]=e&255;++d<n&&(s*=256);)this[t+d]=e/s&255;return t+n};c.prototype.writeUintBE=c.prototype.writeUIntBE=function(e,t,n,i){if(e=+e,t=t>>>0,n=n>>>0,!i){var o=Math.pow(2,8*n)-1;b(this,e,t,n,o,0)}var s=n-1,d=1;for(this[t+s]=e&255;--s>=0&&(d*=256);)this[t+s]=e/d&255;return t+n};c.prototype.writeUint8=c.prototype.writeUInt8=function(e,t,n){return e=+e,t=t>>>0,n||b(this,e,t,1,255,0),this[t]=e&255,t+1};c.prototype.writeUint16LE=c.prototype.writeUInt16LE=function(e,t,n){return e=+e,t=t>>>0,n||b(this,e,t,2,65535,0),this[t]=e&255,this[t+1]=e>>>8,t+2};c.prototype.writeUint16BE=c.prototype.writeUInt16BE=function(e,t,n){return e=+e,t=t>>>0,n||b(this,e,t,2,65535,0),this[t]=e>>>8,this[t+1]=e&255,t+2};c.prototype.writeUint32LE=c.prototype.writeUInt32LE=function(e,t,n){return e=+e,t=t>>>0,n||b(this,e,t,4,4294967295,0),this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=e&255,t+4};c.prototype.writeUint32BE=c.prototype.writeUInt32BE=function(e,t,n){return e=+e,t=t>>>0,n||b(this,e,t,4,4294967295,0),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=e&255,t+4};c.prototype.writeIntLE=function(e,t,n,i){if(e=+e,t=t>>>0,!i){var o=Math.pow(2,8*n-1);b(this,e,t,n,o-1,-o)}var s=0,d=1,g=0;for(this[t]=e&255;++s<n&&(d*=256);)e<0&&g===0&&this[t+s-1]!==0&&(g=1),this[t+s]=(e/d>>0)-g&255;return t+n};c.prototype.writeIntBE=function(e,t,n,i){if(e=+e,t=t>>>0,!i){var o=Math.pow(2,8*n-1);b(this,e,t,n,o-1,-o)}var s=n-1,d=1,g=0;for(this[t+s]=e&255;--s>=0&&(d*=256);)e<0&&g===0&&this[t+s+1]!==0&&(g=1),this[t+s]=(e/d>>0)-g&255;return t+n};c.prototype.writeInt8=function(e,t,n){return e=+e,t=t>>>0,n||b(this,e,t,1,127,-128),e<0&&(e=255+e+1),this[t]=e&255,t+1};c.prototype.writeInt16LE=function(e,t,n){return e=+e,t=t>>>0,n||b(this,e,t,2,32767,-32768),this[t]=e&255,this[t+1]=e>>>8,t+2};c.prototype.writeInt16BE=function(e,t,n){return e=+e,t=t>>>0,n||b(this,e,t,2,32767,-32768),this[t]=e>>>8,this[t+1]=e&255,t+2};c.prototype.writeInt32LE=function(e,t,n){return e=+e,t=t>>>0,n||b(this,e,t,4,2147483647,-2147483648),this[t]=e&255,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24,t+4};c.prototype.writeInt32BE=function(e,t,n){return e=+e,t=t>>>0,n||b(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=e&255,t+4};function nr(r,e,t,n,i,o){if(t+n>r.length)throw new RangeError("Index out of range");if(t<0)throw new RangeError("Index out of range")}function ir(r,e,t,n,i){return e=+e,t=t>>>0,i||nr(r,e,t,4,34028234663852886e22,-34028234663852886e22),z.write(r,e,t,n,23,4),t+4}c.prototype.writeFloatLE=function(e,t,n){return ir(this,e,t,!0,n)};c.prototype.writeFloatBE=function(e,t,n){return ir(this,e,t,!1,n)};function or(r,e,t,n,i){return e=+e,t=t>>>0,i||nr(r,e,t,8,17976931348623157e292,-17976931348623157e292),z.write(r,e,t,n,52,8),t+8}c.prototype.writeDoubleLE=function(e,t,n){return or(this,e,t,!0,n)};c.prototype.writeDoubleBE=function(e,t,n){return or(this,e,t,!1,n)};c.prototype.copy=function(e,t,n,i){if(!c.isBuffer(e))throw new TypeError("argument should be a Buffer");if(n||(n=0),!i&&i!==0&&(i=this.length),t>=e.length&&(t=e.length),t||(t=0),i>0&&i<n&&(i=n),i===n||e.length===0||this.length===0)return 0;if(t<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-t<i-n&&(i=e.length-t+n);var o=i-n;return this===e&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(t,n,i):Uint8Array.prototype.set.call(e,this.subarray(n,i),t),o};c.prototype.fill=function(e,t,n,i){if(typeof e=="string"){if(typeof t=="string"?(i=t,t=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"&&!c.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(t<0||this.length<t||this.length<n)throw new RangeError("Out of range index");if(n<=t)return this;t=t>>>0,n=n===void 0?this.length:n>>>0,e||(e=0);var s;if(typeof e=="number")for(s=t;s<n;++s)this[s]=e;else{var d=c.isBuffer(e)?e:c.from(e,i),g=d.length;if(g===0)throw new TypeError('The value "'+e+'" is invalid for argument "value"');for(s=0;s<n-t;++s)this[s+t]=d[s%g]}return this};var Gt=/[^+/0-9A-Za-z-_]/g;function Wt(r){if(r=r.split("=")[0],r=r.trim().replace(Gt,""),r.length<2)return"";for(;r.length%4!==0;)r=r+"=";return r}function Se(r,e){e=e||1/0;for(var t,n=r.length,i=null,o=[],s=0;s<n;++s){if(t=r.charCodeAt(s),t>55295&&t<57344){if(!i){if(t>56319){(e-=3)>-1&&o.push(239,191,189);continue}else if(s+1===n){(e-=3)>-1&&o.push(239,191,189);continue}i=t;continue}if(t<56320){(e-=3)>-1&&o.push(239,191,189),i=t;continue}t=(i-55296<<10|t-56320)+65536}else i&&(e-=3)>-1&&o.push(239,191,189);if(i=null,t<128){if((e-=1)<0)break;o.push(t)}else if(t<2048){if((e-=2)<0)break;o.push(t>>6|192,t&63|128)}else if(t<65536){if((e-=3)<0)break;o.push(t>>12|224,t>>6&63|128,t&63|128)}else if(t<1114112){if((e-=4)<0)break;o.push(t>>18|240,t>>12&63|128,t>>6&63|128,t&63|128)}else throw new Error("Invalid code point")}return o}function Vt(r){for(var e=[],t=0;t<r.length;++t)e.push(r.charCodeAt(t)&255);return e}function $t(r,e){for(var t,n,i,o=[],s=0;s<r.length&&!((e-=2)<0);++s)t=r.charCodeAt(s),n=t>>8,i=t%256,o.push(i),o.push(n);return o}function ar(r){return we.toByteArray(Wt(r))}function pe(r,e,t,n){for(var i=0;i<n&&!(i+t>=e.length||i>=r.length);++i)e[i+t]=r[i];return i}function E(r,e){return r instanceof e||r!=null&&r.constructor!=null&&r.constructor.name!=null&&r.constructor.name===e.name}function Ie(r){return r!==r}var Ht=function(){for(var r="0123456789abcdef",e=new Array(256),t=0;t<16;++t)for(var n=t*16,i=0;i<16;++i)e[n+i]=r[t]+r[i];return e}()});var dr=se((Ln,ur)=>{a();var x=ur.exports={},_,R;function Ne(){throw new Error("setTimeout has not been defined")}function Ee(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?_=setTimeout:_=Ne}catch(r){_=Ne}try{typeof clearTimeout=="function"?R=clearTimeout:R=Ee}catch(r){R=Ee}})();function cr(r){if(_===setTimeout)return setTimeout(r,0);if((_===Ne||!_)&&setTimeout)return _=setTimeout,setTimeout(r,0);try{return _(r,0)}catch(e){try{return _.call(null,r,0)}catch(t){return _.call(this,r,0)}}}function qt(r){if(R===clearTimeout)return clearTimeout(r);if((R===Ee||!R)&&clearTimeout)return R=clearTimeout,clearTimeout(r);try{return R(r)}catch(e){try{return R.call(null,r)}catch(t){return R.call(this,r)}}}var F=[],X=!1,H,ue=-1;function jt(){!X||!H||(X=!1,H.length?F=H.concat(F):ue=-1,F.length&&lr())}function lr(){if(!X){var r=cr(jt);X=!0;for(var e=F.length;e;){for(H=F,F=[];++ue<e;)H&&H[ue].run();ue=-1,e=F.length}H=null,X=!1,qt(r)}}x.nextTick=function(r){var e=new Array(arguments.length-1);if(arguments.length>1)for(var t=1;t<arguments.length;t++)e[t-1]=arguments[t];F.push(new pr(r,e)),F.length===1&&!X&&cr(lr)};function pr(r,e){this.fun=r,this.array=e}pr.prototype.run=function(){this.fun.apply(null,this.array)};x.title="browser";x.browser=!0;x.env={};x.argv=[];x.version="";x.versions={};function C(){}x.on=C;x.addListener=C;x.once=C;x.off=C;x.removeListener=C;x.removeAllListeners=C;x.emit=C;x.prependListener=C;x.prependOnceListener=C;x.listeners=function(r){return[]};x.binding=function(r){throw new Error("process.binding is not supported")};x.cwd=function(){return"/"};x.chdir=function(r){throw new Error("process.chdir is not supported")};x.umask=function(){return 0}});var l,p,Dn,a=dt(()=>{l=A(sr()),p=A(dr()),Dn=function(r){function e(){var n=this||self;return delete r.prototype.__magic__,n}if(typeof globalThis=="object")return globalThis;if(this)return e();r.defineProperty(r.prototype,"__magic__",{configurable:!0,get:e});var t=__magic__;return t}(Object)});var An={};gt(An,{getEventListDataHexValue:()=>zt,getEventListHighlight:()=>Kt,getOperationDirection:()=>Yt,getOperationList:()=>rt,getScResultsDecodedData:()=>Zt,getScResultsHighlight:()=>Jt,getScamFlag:()=>Qt,getShardText:()=>en,getTextWithLinks:()=>fr,getTransactionActionNftText:()=>on,getTransactionActionTokenText:()=>an,getTransactionFee:()=>cn,getTransactionLinkWithLabel:()=>ln,getTransactionMessages:()=>un,getTransactionStatus:()=>gn,getTransactionStatusText:()=>mn,getTrimmedHash:()=>fn,getVisibleOperations:()=>hn,internalTransactionActions:()=>et,transactionActionUnwrapper:()=>yn,useDataDecode:()=>vn,useDataDecodeMethod:()=>Sn,useGetOperationList:()=>kn});module.exports=mt(An);a();a();var zt=r=>l.Buffer.from(String(r==null?void 0:r.data),"base64").toString("hex");a();a();a();var gr=()=>typeof window!="undefined"&&typeof(window==null?void 0:window.location)!="undefined";var Y=()=>{if(!gr())return{pathname:"",hash:"",origin:"",href:"",search:""};let{location:{pathname:e,hash:t,origin:n,href:i,search:o}}=window;return{pathname:e,hash:t,origin:n,href:i,search:o}};var Kt=(r,e)=>{var d;let{hash:t}=Y(),n=t.split("/"),i=n[0]?n[0].replace("#",""):"",o=(d=n[1])!=null?d:0;return i===e&&r.order===Number(o)};a();a();var _e=(n=>(n.nft="nft",n.esdt="esdt",n.egld="egld",n))(_e||{});var P=(i=>(i.raw="raw",i.text="text",i.decimal="decimal",i.smart="smart",i))(P||{});var Yt=({operation:r,address:e})=>{let t=e===r.sender,n=e===r.receiver,i=t&&n,o=!i,s="";switch(!0){case t:s="Out";break;case n:s="In";break;case i:s="Self";break;case o:s="Internal";break}return{direction:s}};a();a();a();function de(r){for(let e=0;e<r.length;e++)if(r.charCodeAt(e)>127)return!1;return!0}function Re(r){let e=r;try{let t=l.Buffer.from(r,"hex").toString();de(t)&&t.length>1&&(e=t)}catch(t){}return e}var Zt=r=>{let e=l.Buffer.from(r,"base64").toString().split("@");return e.length>=2&&(e[0].length>0?e[0]=Re(e[0]):e[1]=Re(e[1])),e.join("@")};a();var Jt=r=>{let{hash:e}=Y();return e.substring(0,e.indexOf("/")>0?e.indexOf("/"):e.length).replace("#","")===r};a();var mr=A(require("linkifyjs")),fr=r=>{let e=mr.find(r);if(!e.length)return{textWithLinks:r,hasLinks:!1};let t=r;for(let n of e){let i=r.substring(n.start,n.end);t=t.replace(i,n.value)}return{textWithLinks:t,hasLinks:!0}},Qt=({message:r,scamInfo:e,isNsfw:t,verified:n,messagePrefix:i="Message hidden due to suspicious content - "})=>{var g;if(n)return{message:"",textWithLinks:"",isSuspicious:!1};let o=`${i}${(g=e==null?void 0:e.info)!=null?g:"suspicious content"}`,{textWithLinks:s,hasLinks:d}=fr(r);return d||t||e?{message:o,textWithLinks:s,isSuspicious:!0}:{message:"",textWithLinks:s,isSuspicious:!1}};a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();var Le=require("@multiversx/sdk-dapp-utils/out/constants/browserConstants"),Z=require("@multiversx/sdk-dapp-utils/out/enums/windowProviderEnums");var hr=(t=>(t.signTransactionsWithGuardianResponse="SIGN_TRANSACTIONS_WITH_GUARDIAN_RESPONSE",t.reloginRequest="RELOGIN_REQUEST",t))(hr||{}),si=U(U({},Z.WindowProviderRequestEnums),hr),yr=(e=>(e.reloginResponse="RELOGIN_RESPONSE",e))(yr||{}),ci=U(U({},Z.WindowProviderResponseEnums),yr);a();a();a();a();a();var De={devnet:{id:"devnet",chainId:"D",name:"Devnet",egldLabel:"xEGLD",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"https://maiar.page.link/?apn=com.elrond.maiar.wallet&isi=1519405832&ibi=com.elrond.maiar.wallet&link=https://xportal.com/",walletConnectBridgeAddresses:["https://bridge.walletconnect.org"],walletConnectV2RelayAddresses:["wss://relay.walletconnect.com"],walletAddress:"https://devnet-wallet.multiversx.com",xAliasAddress:"https://devnet.xalias.com",apiAddress:"https://devnet-api.multiversx.com",explorerAddress:"http://devnet-explorer.multiversx.com",apiTimeout:"4000",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",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",apiTimeout:"4000",roundDuration:6e3}},{chainId:xr,egldLabel:ki}=De["devnet"],{chainId:Tr,egldLabel:Ai}=De["testnet"],{chainId:wr,egldLabel:Ii}=De["mainnet"];var Ni={["devnet"]:xr,["testnet"]:Tr,["mainnet"]:wr},Ei={[xr]:"devnet",[Tr]:"testnet",[wr]:"mainnet"};a();a();var L=require("@multiversx/sdk-web-wallet-provider");a();var br,vr,Fe=String((vr=(br=Le.safeWindow)==null?void 0:br.navigator)==null?void 0:vr.userAgent),Fi=/^((?!chrome|android).)*safari/i.test(Fe),Ci=/firefox/i.test(Fe)&&/windows/i.test(Fe);var I=18,J=4;var Sr=4294967295,kr=4294967280;var Ar="refundedGas";var Q="0";var en=r=>{let e=r;typeof e=="string"&&e.includes("Shard")&&(e=e.replace("Shard","").replace(" ",""));let t=Sr.toString()===String(e).toString()||String(e)==="metachain",n=kr.toString()===String(e).toString();return t?"Metachain":n?"All Shards":`Shard ${e}`};a();a();a();a();a();var Nr=require("@multiversx/sdk-core"),M=A(require("bignumber.js"));a();var Ir=A(require("bignumber.js")),Ce=(r,e=!0)=>{let t=String(r);if(!t.match(/^[-]?\d+$/))return!1;let n=new Ir.default(t),i=e?0:-1;return n.toString(10)===t&&n.comparedTo(0)>=i};a();function O(r){return{if:function(e){return e?{then:t=>t instanceof Function?O(t(r)):O(t)}:{then:()=>O(r)}},then:e=>e instanceof Function?O(e(r)):O(e),valueOf:function(){return r}}}M.default.config({ROUNDING_MODE:M.default.ROUND_FLOOR});function G({input:r,decimals:e=I,digits:t=J,showLastNonZeroDecimal:n=!0,showIsLessThanDecimalsLabel:i=!1,addCommas:o=!1}){if(!Ce(r,!1))throw new Error("Invalid input");let s=new M.default(r).isNegative(),d=r;return s&&(d=r.substring(1)),O(d).then(()=>Nr.TokenTransfer.fungibleFromBigInteger("",d,e).amountAsBigInteger.shiftedBy(-e).toFixed(e)).then(g=>{let m=new M.default(g);if(m.isZero())return Q;let f=m.toString(10),[h,y]=f.split("."),T=new M.default(y||0),S=O(0).if(Boolean(y&&n)).then(()=>Math.max(y.length,t)).if(T.isZero()&&!n).then(0).if(Boolean(y&&!n)).then(()=>Math.min(y.length,t)).valueOf(),j=y&&t>=1&&t<=y.length&&T.isGreaterThan(0)&&new M.default(y.substring(0,t)).isZero(),tt=m.toFormat(S);return O(f).if(o).then(tt).if(Boolean(j)).then(ie=>{let re=new M.default(h).isZero(),[k,oe]=ie.split("."),ae=new Array(t-1).fill(0),nt=[...ae,0].join(""),it=[...ae,1].join("");return re?i?`<${k}.${it}`:n?`${k}.${oe}`:k:`${k}.${nt}`}).if(Boolean(!j&&y)).then(ie=>{let[re]=ie.split("."),k=y.substring(0,S);if(n){let oe=t-k.length;if(oe>0){let ae=Array(oe).fill(0).join("");return k=`${k}${ae}`,`${re}.${k}`}return ie}return k?`${re}.${k}`:re}).valueOf()}).if(s).then(g=>`-${g}`).valueOf()}a();a();var rn=require("@multiversx/sdk-core");a();var ne=require("@multiversx/sdk-core"),nn=A(require("bignumber.js"));a();a();a();var tn=A(require("bignumber.js"));a();a();a();a();a();a();a();a();a();a();var W="accounts";var Er="blocks",_r="code",Rr="collections";var Lr="contracts";var Dr="identities";var Fr="locked-accounts",Cr="logs",Or="miniblocks";var Oe="nfts",Br="nodes",Be="providers",Ur="roles",Ue="sc-results";var ee="tokens";var q="transactions";var ge={shard:r=>`/${Er}?shard=${r}`,receiverShard:r=>`/${q}?receivershard=${r}`,senderShard:r=>`/${q}?sendershard=${r}`,transactionDetails:r=>`/${q}/${r}`,transactionDetailsScResults:r=>`/${q}/${r}/${Ue}`,transactionDetailsLogs:r=>`/${q}/${r}/${Cr}`,nodeDetails:r=>`/${Br}/${r}`,accountDetails:r=>`/${W}/${r}`,accountDetailsContractCode:r=>`/${W}/${r}/${_r}`,accountDetailsTokens:r=>`/${W}/${r}/${ee}`,accountDetailsNfts:r=>`/${W}/${r}/${Oe}`,accountDetailsScResults:r=>`/${W}/${r}/${Ue}`,accountDetailsContracts:r=>`/${W}/${r}/${Lr}`,identityDetails:r=>`/${Dr}/${r}`,tokenDetails:r=>`/${ee}/${r}`,tokenDetailsAccounts:r=>`/${ee}/${r}/${W}`,tokenDetailsLockedAccounts:r=>`/${ee}/${r}/${Fr}`,tokenDetailsRoles:r=>`/${ee}/${r}/${Ur}`,collectionDetails:r=>`/${Rr}/${r}`,nftDetails:r=>`/${Oe}/${r}`,providerDetails:r=>`/${Be}/${r}`,providerDetailsTransactions:r=>`/${Be}/${r}/${q}`,miniblockDetails:r=>`/${Or}/${r}`};function on({token:r,noValue:e,showLastNonZeroDecimal:t}){var m;let n=!e&&r.value&&r.type!=="NonFungibleESDT",i=r.decimals!=null,o="";r.type==="NonFungibleESDT"&&(o="NFT"),r.type==="SemiFungibleESDT"&&(o="SFT"),r.type==="MetaESDT"&&(o="Meta-ESDT");let s="";n&&i&&(s=i?G({input:r.value,decimals:r.decimals,digits:2,showLastNonZeroDecimal:t}):Number(r.value).toLocaleString("en"));let d=ge.nftDetails(String(r.identifier)),g=r.ticker===r.collection&&(m=r.identifier)!=null?m:r.ticker;return{badgeText:o,tokenFormattedAmount:n?s:null,tokenExplorerLink:d,tokenLinkText:g,token:r,noValue:e,showLastNonZeroDecimal:t}}a();function an({token:r,noValue:e,showLastNonZeroDecimal:t}){var d;let n=Boolean(!e&&r.value),i=n?G({input:r.value,decimals:(d=r.decimals)!=null?d:I,digits:2,showLastNonZeroDecimal:t,addCommas:!0}):null,o=ge.tokenDetails(String(r.token)),s=r.ticker;return{tokenExplorerLink:o,tokenFormattedAmount:i,showFormattedAmount:n,tokenLinkText:s,token:r,showLastNonZeroDecimal:t}}a();var Pe=A(require("bignumber.js")),sn=r=>{let e=new Pe.default(r.gasPrice),t=new Pe.default(r.gasUsed);return e.times(t).toString()};function cn(r){return r.fee?r.fee:r.gasUsed===void 0?null:sn(r)}a();var ln=({transaction:r,direction:e})=>{var g;let t=e==="Internal",n=r.sender;if(t)return{link:(g=r.links.senderLink)!=null?g:"",label:"Smart Contract transaction",address:n};let i=e==="Out",o=i?r.links.receiverLink:r.links.senderLink,s="";return e==="Self"&&r.receiverAssets?s=r.receiverAssets.name:(n=i?r.receiver:r.sender,s=i?"To:":"From:"),{label:s,address:n,link:o!=null?o:""}};a();a();function Pr(r){var e,t;return(t=(e=r==null?void 0:r.operations)==null?void 0:e.map(n=>n.message).filter(n=>Boolean(n)))!=null?t:[]}a();var Mr=A(require("bignumber.js"));var pn=r=>{var e,t;if(!((e=r.receipt)!=null&&e.value))return"";if(((t=r.receipt)==null?void 0:t.data)===Ar){let n=G({input:r.receipt.value,decimals:I,digits:J,showLastNonZeroDecimal:!0});return new Mr.default(n).times(r.gasPrice).times(100).toFixed()}return r.receipt.value};function Gr(r){var i;let e=(i=r.receipt)==null?void 0:i.data;if(!e)return"";let t=pn(r),n=t?`: ${t}`:"";return`${e}${n}`}a();function Me(r){var e,t;return(t=(e=r==null?void 0:r.results)==null?void 0:e.map(n=>n.returnMessage).filter(n=>Boolean(n)))!=null?t:[]}function un(r){return Array.from(new Set([...Me(r),...Pr(r),Gr(r)])).filter(t=>Boolean(t))}a();function gn(r){let e=s=>r.status.toLowerCase()===s.toLowerCase(),t=e("fail")||e("reward-reverted"),n=e("success"),i=e("not executed")||e("invalid"),o=e("pending")||r.pendingResults;return{failed:t,success:n,invalid:i,pending:o}}a();var mn=r=>{switch(!0){case r.pendingResults:return"Pending (Smart Contract Execution)";case r.status==="reward-reverted":return"fail";default:return r.status.toString()}};a();var fn=(r,e=4)=>`${r.substring(0,Math.floor(r.length/e))}...${r.substring(r.length-Math.ceil(r.length/e))}`;a();var hn=r=>{var t,n;return(n=(t=r==null?void 0:r.operations)==null?void 0:t.filter(i=>Object.values(_e).includes(i.type)))!=null?n:[]};a();a();a();var Vr=r=>{var e,t;switch(r.name){case"transfer":return["Transfer",{token:(e=r.arguments)==null?void 0:e.transfers},"to",{address:(t=r.arguments)==null?void 0:t.receiver}];default:return[]}};a();var $r=A(require("bignumber.js"));var Hr=r=>{var e,t,n,i,o,s,d,g,m,f,h,y;switch(r.name){case"claimLockedAssets":return["Claim locked assets"];case"enterFarm":case"enterFarmProxy":return["Enter farm with",{token:(e=r.arguments)==null?void 0:e.transfers}];case"enterFarmAndLockRewards":case"enterFarmAndLockRewardsProxy":return["Enter farm and lock rewards with",{token:(t=r.arguments)==null?void 0:t.transfers}];case"exitFarm":case"exitFarmProxy":return["Exit farm with",{token:(n=r.arguments)==null?void 0:n.transfers}];case"claimRewards":case"claimRewardsProxy":return["Claim rewards",{token:(i=r.arguments)==null?void 0:i.transfers}];case"compoundRewards":case"compoundRewardsProxy":return["Reinvest rewards",{token:(o=r.arguments)==null?void 0:o.transfers}];case"swapTokensFixedInput":case"swap":return r.description?[r.description]:[];case"swapTokensFixedOutput":return r.description?[r.description]:[];case"addLiquidity":case"addLiquidityProxy":return["Added liquidity for",{token:[(s=r.arguments)==null?void 0:s.transfers[0]]},"and",{token:[(d=r.arguments)==null?void 0:d.transfers[1]]}];case"removeLiquidity":case"removeLiquidityProxy":return["Removed liquidity with ",{token:(g=r.arguments)==null?void 0:g.transfers}];case"mergeLockedAssetTokens":let T=Q;if((m=r.arguments)!=null&&m.transfers){let S=r.arguments.transfers.map(({value:j})=>j);T=$r.default.sum.apply(null,S).toString(10)}return[`Merge ${(f=r.arguments)==null?void 0:f.transfers.length}`,{tokenNoLink:[(h=r.arguments)==null?void 0:h.transfers[0]]},"positions into a single",{tokenNoLink:[(y=r.arguments)==null?void 0:y.transfers[0]]},"position of value",{value:T}];case"wrapEgld":case"unwrapEgld":default:return r.description?[r.description]:[]}};a();var qr=r=>{var e,t,n,i,o,s,d,g,m,f,h,y;switch(r.name){case"delegate":case"stake":return["Delegate",{egldValue:(e=r.arguments)==null?void 0:e.value},"to staking provider",{providerName:(t=r.arguments)==null?void 0:t.providerName,providerAvatar:(n=r.arguments)==null?void 0:n.providerAvatar}];case"unDelegate":return["Undelegate",{egldValue:(i=r.arguments)==null?void 0:i.value},"from staking provider",{providerName:(o=r.arguments)==null?void 0:o.providerName,providerAvatar:(s=r.arguments)==null?void 0:s.providerAvatar}];case"claimRewards":return["Claim rewards from staking provider",{providerName:(d=r.arguments)==null?void 0:d.providerName,providerAvatar:(g=r.arguments)==null?void 0:g.providerAvatar}];case"reDelegateRewards":return["Redelegate rewards from staking provider",{providerName:(m=r.arguments)==null?void 0:m.providerName,providerAvatar:(f=r.arguments)==null?void 0:f.providerAvatar}];case"withdraw":return["Withdraw from staking provider",{providerName:(h=r.arguments)==null?void 0:h.providerName,providerAvatar:(y=r.arguments)==null?void 0:y.providerAvatar}];default:return[]}};var yn=r=>{if(!r.arguments)return r.description?[r.description]:[r.name];switch(r.category){case"esdtNft":return Vr(r);case"mex":return Hr(r);case"stake":return qr(r);default:return r.description?[r.description]:[]}};a();var fe=require("react");a();a();a();a();var Xr=require("@multiversx/sdk-core/out"),Ge=A(require("bignumber.js"));a();var jr=require("@multiversx/sdk-core");function xn(r){try{let e=new jr.Address(r);return Boolean(e.bech32())}catch(e){return!1}}function zr(r){return(r==null?void 0:r.startsWith("erd"))&&r.length===62&&/^\w+$/.test(r)&&xn(r)}a();a();a();a();var Kr=r=>/\d/.test(r);var B=(r,e,t)=>{try{switch(e){case"text":return Kr(r)?l.Buffer.from(r,"hex").toString("utf8"):r;case"decimal":return new Ge.default(r,16).toString(10);case"smart":let i=Xr.Address.fromHex(r).toString();if(zr(i))return i;let o=l.Buffer.from(r,"hex").toString("utf8");return de(o)||t&&[...t.esdts,...t.nfts].some(g=>o.includes(g))?o:new Ge.default(r,16).toString(10);case"raw":default:return r}}catch(n){return console.error(`Error during data decoding of "${r}" as "${e}"`,n),r}};a();a();var Tn=r=>r.toLowerCase().match(/[0-9a-f]/g),wn=r=>r.length%2===0,Yr=r=>{let e=[];return r&&!Tn(r)&&e.push(`Invalid Hex characters on argument @${r}`),r&&!wn(r)&&e.push(`Odd number of Hex characters on argument @${r}`),e};a();var me=({parts:r,decodedParts:e,identifier:t})=>{let n=[...e];if(r[0]==="ESDTNFTTransfer"&&r[2]&&(n[2]=B(r[2],"decimal")),t==="ESDTNFTTransfer"&&r[1]){let i=l.Buffer.from(String(r[1]),"base64");n[1]=B(i.toString("hex"),"decimal")}return n};var Zr=({parts:r,decodeMethod:e,identifier:t,display:n})=>{let i=r.map((o,s)=>{if(r.length>=2&&(s===0&&o.length<64||s===1&&!r[0]))return/[^a-z0-9]/gi.test(o)?B(o,e):o;{let d=Yr(o);return d.length&&(n.validationWarnings=Array.from(new Set([...n.validationWarnings,...d]))),B(o,e)}});return e==="smart"?me({parts:r,decodedParts:i,identifier:t}):i};var Jr=({input:r,decodeMethod:e,identifier:t})=>{let n={displayValue:"",validationWarnings:[]};if(r.includes("@")){let i=r.split("@"),o=Zr({parts:i,identifier:t,decodeMethod:e,display:n});return n.displayValue=o.join("@"),n}if(r.includes(`
1
+ "use strict";var ot=Object.create;var te=Object.defineProperty,at=Object.defineProperties,st=Object.getOwnPropertyDescriptor,ct=Object.getOwnPropertyDescriptors,lt=Object.getOwnPropertyNames,We=Object.getOwnPropertySymbols,pt=Object.getPrototypeOf,$e=Object.prototype.hasOwnProperty,ut=Object.prototype.propertyIsEnumerable;var Ve=(r,e,t)=>e in r?te(r,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):r[e]=t,U=(r,e)=>{for(var t in e||(e={}))$e.call(e,t)&&Ve(r,t,e[t]);if(We)for(var t of We(e))ut.call(e,t)&&Ve(r,t,e[t]);return r},ye=(r,e)=>at(r,ct(e));var dt=(r,e)=>()=>(r&&(e=r(r=0)),e);var se=(r,e)=>()=>(e||r((e={exports:{}}).exports,e),e.exports),gt=(r,e)=>{for(var t in e)te(r,t,{get:e[t],enumerable:!0})},He=(r,e,t,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of lt(e))!$e.call(r,i)&&i!==t&&te(r,i,{get:()=>e[i],enumerable:!(n=st(e,i))||n.enumerable});return r};var A=(r,e,t)=>(t=r!=null?ot(pt(r)):{},He(e||!r||!r.__esModule?te(t,"default",{value:r,enumerable:!0}):t,r)),mt=r=>He(te({},"__esModule",{value:!0}),r);var ze=se(ce=>{"use strict";a();ce.byteLength=ht;ce.toByteArray=xt;ce.fromByteArray=bt;var N=[],v=[],ft=typeof Uint8Array!="undefined"?Uint8Array:Array,xe="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(V=0,qe=xe.length;V<qe;++V)N[V]=xe[V],v[xe.charCodeAt(V)]=V;var V,qe;v["-".charCodeAt(0)]=62;v["_".charCodeAt(0)]=63;function je(r){var e=r.length;if(e%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var t=r.indexOf("=");t===-1&&(t=e);var n=t===e?0:4-t%4;return[t,n]}function ht(r){var e=je(r),t=e[0],n=e[1];return(t+n)*3/4-n}function yt(r,e,t){return(e+t)*3/4-t}function xt(r){var e,t=je(r),n=t[0],i=t[1],o=new ft(yt(r,n,i)),s=0,d=i>0?n-4:n,g;for(g=0;g<d;g+=4)e=v[r.charCodeAt(g)]<<18|v[r.charCodeAt(g+1)]<<12|v[r.charCodeAt(g+2)]<<6|v[r.charCodeAt(g+3)],o[s++]=e>>16&255,o[s++]=e>>8&255,o[s++]=e&255;return i===2&&(e=v[r.charCodeAt(g)]<<2|v[r.charCodeAt(g+1)]>>4,o[s++]=e&255),i===1&&(e=v[r.charCodeAt(g)]<<10|v[r.charCodeAt(g+1)]<<4|v[r.charCodeAt(g+2)]>>2,o[s++]=e>>8&255,o[s++]=e&255),o}function Tt(r){return N[r>>18&63]+N[r>>12&63]+N[r>>6&63]+N[r&63]}function wt(r,e,t){for(var n,i=[],o=e;o<t;o+=3)n=(r[o]<<16&16711680)+(r[o+1]<<8&65280)+(r[o+2]&255),i.push(Tt(n));return i.join("")}function bt(r){for(var e,t=r.length,n=t%3,i=[],o=16383,s=0,d=t-n;s<d;s+=o)i.push(wt(r,s,s+o>d?d:s+o));return n===1?(e=r[t-1],i.push(N[e>>2]+N[e<<4&63]+"==")):n===2&&(e=(r[t-2]<<8)+r[t-1],i.push(N[e>>10]+N[e>>4&63]+N[e<<2&63]+"=")),i.join("")}});var Ke=se(Te=>{a();Te.read=function(r,e,t,n,i){var o,s,d=i*8-n-1,g=(1<<d)-1,m=g>>1,f=-7,h=t?i-1:0,y=t?-1:1,T=r[e+h];for(h+=y,o=T&(1<<-f)-1,T>>=-f,f+=d;f>0;o=o*256+r[e+h],h+=y,f-=8);for(s=o&(1<<-f)-1,o>>=-f,f+=n;f>0;s=s*256+r[e+h],h+=y,f-=8);if(o===0)o=1-m;else{if(o===g)return s?NaN:(T?-1:1)*(1/0);s=s+Math.pow(2,n),o=o-m}return(T?-1:1)*s*Math.pow(2,o-n)};Te.write=function(r,e,t,n,i,o){var s,d,g,m=o*8-i-1,f=(1<<m)-1,h=f>>1,y=i===23?Math.pow(2,-24)-Math.pow(2,-77):0,T=n?0:o-1,S=n?1:-1,j=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=f):(s=Math.floor(Math.log(e)/Math.LN2),e*(g=Math.pow(2,-s))<1&&(s--,g*=2),s+h>=1?e+=y/g:e+=y*Math.pow(2,1-h),e*g>=2&&(s++,g/=2),s+h>=f?(d=0,s=f):s+h>=1?(d=(e*g-1)*Math.pow(2,i),s=s+h):(d=e*Math.pow(2,h-1)*Math.pow(2,i),s=0));i>=8;r[t+T]=d&255,T+=S,d/=256,i-=8);for(s=s<<i|d,m+=i;m>0;r[t+T]=s&255,T+=S,s/=256,m-=8);r[t+T-S]|=j*128}});var sr=se(K=>{"use strict";a();var we=ze(),z=Ke(),Xe=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;K.Buffer=c;K.SlowBuffer=Nt;K.INSPECT_MAX_BYTES=50;var le=2147483647;K.kMaxLength=le;c.TYPED_ARRAY_SUPPORT=vt();!c.TYPED_ARRAY_SUPPORT&&typeof console!="undefined"&&typeof console.error=="function"&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function vt(){try{var r=new Uint8Array(1),e={foo:function(){return 42}};return Object.setPrototypeOf(e,Uint8Array.prototype),Object.setPrototypeOf(r,e),r.foo()===42}catch(t){return!1}}Object.defineProperty(c.prototype,"parent",{enumerable:!0,get:function(){if(!!c.isBuffer(this))return this.buffer}});Object.defineProperty(c.prototype,"offset",{enumerable:!0,get:function(){if(!!c.isBuffer(this))return this.byteOffset}});function D(r){if(r>le)throw new RangeError('The value "'+r+'" is invalid for option "size"');var e=new Uint8Array(r);return Object.setPrototypeOf(e,c.prototype),e}function c(r,e,t){if(typeof r=="number"){if(typeof e=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return ke(r)}return Je(r,e,t)}c.poolSize=8192;function Je(r,e,t){if(typeof r=="string")return kt(r,e);if(ArrayBuffer.isView(r))return At(r);if(r==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof r);if(E(r,ArrayBuffer)||r&&E(r.buffer,ArrayBuffer)||typeof SharedArrayBuffer!="undefined"&&(E(r,SharedArrayBuffer)||r&&E(r.buffer,SharedArrayBuffer)))return ve(r,e,t);if(typeof r=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var n=r.valueOf&&r.valueOf();if(n!=null&&n!==r)return c.from(n,e,t);var i=It(r);if(i)return i;if(typeof Symbol!="undefined"&&Symbol.toPrimitive!=null&&typeof r[Symbol.toPrimitive]=="function")return c.from(r[Symbol.toPrimitive]("string"),e,t);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof r)}c.from=function(r,e,t){return Je(r,e,t)};Object.setPrototypeOf(c.prototype,Uint8Array.prototype);Object.setPrototypeOf(c,Uint8Array);function Qe(r){if(typeof r!="number")throw new TypeError('"size" argument must be of type number');if(r<0)throw new RangeError('The value "'+r+'" is invalid for option "size"')}function St(r,e,t){return Qe(r),r<=0?D(r):e!==void 0?typeof t=="string"?D(r).fill(e,t):D(r).fill(e):D(r)}c.alloc=function(r,e,t){return St(r,e,t)};function ke(r){return Qe(r),D(r<0?0:Ae(r)|0)}c.allocUnsafe=function(r){return ke(r)};c.allocUnsafeSlow=function(r){return ke(r)};function kt(r,e){if((typeof e!="string"||e==="")&&(e="utf8"),!c.isEncoding(e))throw new TypeError("Unknown encoding: "+e);var t=er(r,e)|0,n=D(t),i=n.write(r,e);return i!==t&&(n=n.slice(0,i)),n}function be(r){for(var e=r.length<0?0:Ae(r.length)|0,t=D(e),n=0;n<e;n+=1)t[n]=r[n]&255;return t}function At(r){if(E(r,Uint8Array)){var e=new Uint8Array(r);return ve(e.buffer,e.byteOffset,e.byteLength)}return be(r)}function ve(r,e,t){if(e<0||r.byteLength<e)throw new RangeError('"offset" is outside of buffer bounds');if(r.byteLength<e+(t||0))throw new RangeError('"length" is outside of buffer bounds');var n;return e===void 0&&t===void 0?n=new Uint8Array(r):t===void 0?n=new Uint8Array(r,e):n=new Uint8Array(r,e,t),Object.setPrototypeOf(n,c.prototype),n}function It(r){if(c.isBuffer(r)){var e=Ae(r.length)|0,t=D(e);return t.length===0||r.copy(t,0,0,e),t}if(r.length!==void 0)return typeof r.length!="number"||Ie(r.length)?D(0):be(r);if(r.type==="Buffer"&&Array.isArray(r.data))return be(r.data)}function Ae(r){if(r>=le)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+le.toString(16)+" bytes");return r|0}function Nt(r){return+r!=r&&(r=0),c.alloc(+r)}c.isBuffer=function(e){return e!=null&&e._isBuffer===!0&&e!==c.prototype};c.compare=function(e,t){if(E(e,Uint8Array)&&(e=c.from(e,e.offset,e.byteLength)),E(t,Uint8Array)&&(t=c.from(t,t.offset,t.byteLength)),!c.isBuffer(e)||!c.isBuffer(t))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(e===t)return 0;for(var n=e.length,i=t.length,o=0,s=Math.min(n,i);o<s;++o)if(e[o]!==t[o]){n=e[o],i=t[o];break}return n<i?-1:i<n?1:0};c.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}};c.concat=function(e,t){if(!Array.isArray(e))throw new TypeError('"list" argument must be an Array of Buffers');if(e.length===0)return c.alloc(0);var n;if(t===void 0)for(t=0,n=0;n<e.length;++n)t+=e[n].length;var i=c.allocUnsafe(t),o=0;for(n=0;n<e.length;++n){var s=e[n];if(E(s,Uint8Array))o+s.length>i.length?c.from(s).copy(i,o):Uint8Array.prototype.set.call(i,s,o);else if(c.isBuffer(s))s.copy(i,o);else throw new TypeError('"list" argument must be an Array of Buffers');o+=s.length}return i};function er(r,e){if(c.isBuffer(r))return r.length;if(ArrayBuffer.isView(r)||E(r,ArrayBuffer))return r.byteLength;if(typeof r!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof r);var t=r.length,n=arguments.length>2&&arguments[2]===!0;if(!n&&t===0)return 0;for(var i=!1;;)switch(e){case"ascii":case"latin1":case"binary":return t;case"utf8":case"utf-8":return Se(r).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return t*2;case"hex":return t>>>1;case"base64":return ar(r).length;default:if(i)return n?-1:Se(r).length;e=(""+e).toLowerCase(),i=!0}}c.byteLength=er;function Et(r,e,t){var n=!1;if((e===void 0||e<0)&&(e=0),e>this.length||((t===void 0||t>this.length)&&(t=this.length),t<=0)||(t>>>=0,e>>>=0,t<=e))return"";for(r||(r="utf8");;)switch(r){case"hex":return Pt(this,e,t);case"utf8":case"utf-8":return tr(this,e,t);case"ascii":return Bt(this,e,t);case"latin1":case"binary":return Ut(this,e,t);case"base64":return Ct(this,e,t);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Mt(this,e,t);default:if(n)throw new TypeError("Unknown encoding: "+r);r=(r+"").toLowerCase(),n=!0}}c.prototype._isBuffer=!0;function $(r,e,t){var n=r[e];r[e]=r[t],r[t]=n}c.prototype.swap16=function(){var e=this.length;if(e%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var t=0;t<e;t+=2)$(this,t,t+1);return this};c.prototype.swap32=function(){var e=this.length;if(e%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var t=0;t<e;t+=4)$(this,t,t+3),$(this,t+1,t+2);return this};c.prototype.swap64=function(){var e=this.length;if(e%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var t=0;t<e;t+=8)$(this,t,t+7),$(this,t+1,t+6),$(this,t+2,t+5),$(this,t+3,t+4);return this};c.prototype.toString=function(){var e=this.length;return e===0?"":arguments.length===0?tr(this,0,e):Et.apply(this,arguments)};c.prototype.toLocaleString=c.prototype.toString;c.prototype.equals=function(e){if(!c.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e?!0:c.compare(this,e)===0};c.prototype.inspect=function(){var e="",t=K.INSPECT_MAX_BYTES;return e=this.toString("hex",0,t).replace(/(.{2})/g,"$1 ").trim(),this.length>t&&(e+=" ... "),"<Buffer "+e+">"};Xe&&(c.prototype[Xe]=c.prototype.inspect);c.prototype.compare=function(e,t,n,i,o){if(E(e,Uint8Array)&&(e=c.from(e,e.offset,e.byteLength)),!c.isBuffer(e))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof e);if(t===void 0&&(t=0),n===void 0&&(n=e?e.length:0),i===void 0&&(i=0),o===void 0&&(o=this.length),t<0||n>e.length||i<0||o>this.length)throw new RangeError("out of range index");if(i>=o&&t>=n)return 0;if(i>=o)return-1;if(t>=n)return 1;if(t>>>=0,n>>>=0,i>>>=0,o>>>=0,this===e)return 0;for(var s=o-i,d=n-t,g=Math.min(s,d),m=this.slice(i,o),f=e.slice(t,n),h=0;h<g;++h)if(m[h]!==f[h]){s=m[h],d=f[h];break}return s<d?-1:d<s?1:0};function rr(r,e,t,n,i){if(r.length===0)return-1;if(typeof t=="string"?(n=t,t=0):t>2147483647?t=2147483647:t<-2147483648&&(t=-2147483648),t=+t,Ie(t)&&(t=i?0:r.length-1),t<0&&(t=r.length+t),t>=r.length){if(i)return-1;t=r.length-1}else if(t<0)if(i)t=0;else return-1;if(typeof e=="string"&&(e=c.from(e,n)),c.isBuffer(e))return e.length===0?-1:Ye(r,e,t,n,i);if(typeof e=="number")return e=e&255,typeof Uint8Array.prototype.indexOf=="function"?i?Uint8Array.prototype.indexOf.call(r,e,t):Uint8Array.prototype.lastIndexOf.call(r,e,t):Ye(r,[e],t,n,i);throw new TypeError("val must be string, number or Buffer")}function Ye(r,e,t,n,i){var o=1,s=r.length,d=e.length;if(n!==void 0&&(n=String(n).toLowerCase(),n==="ucs2"||n==="ucs-2"||n==="utf16le"||n==="utf-16le")){if(r.length<2||e.length<2)return-1;o=2,s/=2,d/=2,t/=2}function g(T,S){return o===1?T[S]:T.readUInt16BE(S*o)}var m;if(i){var f=-1;for(m=t;m<s;m++)if(g(r,m)===g(e,f===-1?0:m-f)){if(f===-1&&(f=m),m-f+1===d)return f*o}else f!==-1&&(m-=m-f),f=-1}else for(t+d>s&&(t=s-d),m=t;m>=0;m--){for(var h=!0,y=0;y<d;y++)if(g(r,m+y)!==g(e,y)){h=!1;break}if(h)return m}return-1}c.prototype.includes=function(e,t,n){return this.indexOf(e,t,n)!==-1};c.prototype.indexOf=function(e,t,n){return rr(this,e,t,n,!0)};c.prototype.lastIndexOf=function(e,t,n){return rr(this,e,t,n,!1)};function _t(r,e,t,n){t=Number(t)||0;var i=r.length-t;n?(n=Number(n),n>i&&(n=i)):n=i;var o=e.length;n>o/2&&(n=o/2);for(var s=0;s<n;++s){var d=parseInt(e.substr(s*2,2),16);if(Ie(d))return s;r[t+s]=d}return s}function Rt(r,e,t,n){return pe(Se(e,r.length-t),r,t,n)}function Lt(r,e,t,n){return pe(Vt(e),r,t,n)}function Dt(r,e,t,n){return pe(ar(e),r,t,n)}function Ft(r,e,t,n){return pe($t(e,r.length-t),r,t,n)}c.prototype.write=function(e,t,n,i){if(t===void 0)i="utf8",n=this.length,t=0;else if(n===void 0&&typeof t=="string")i=t,n=this.length,t=0;else if(isFinite(t))t=t>>>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-t;if((n===void 0||n>o)&&(n=o),e.length>0&&(n<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");i||(i="utf8");for(var s=!1;;)switch(i){case"hex":return _t(this,e,t,n);case"utf8":case"utf-8":return Rt(this,e,t,n);case"ascii":case"latin1":case"binary":return Lt(this,e,t,n);case"base64":return Dt(this,e,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Ft(this,e,t,n);default:if(s)throw new TypeError("Unknown encoding: "+i);i=(""+i).toLowerCase(),s=!0}};c.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function Ct(r,e,t){return e===0&&t===r.length?we.fromByteArray(r):we.fromByteArray(r.slice(e,t))}function tr(r,e,t){t=Math.min(r.length,t);for(var n=[],i=e;i<t;){var o=r[i],s=null,d=o>239?4:o>223?3:o>191?2:1;if(i+d<=t){var g,m,f,h;switch(d){case 1:o<128&&(s=o);break;case 2:g=r[i+1],(g&192)===128&&(h=(o&31)<<6|g&63,h>127&&(s=h));break;case 3:g=r[i+1],m=r[i+2],(g&192)===128&&(m&192)===128&&(h=(o&15)<<12|(g&63)<<6|m&63,h>2047&&(h<55296||h>57343)&&(s=h));break;case 4:g=r[i+1],m=r[i+2],f=r[i+3],(g&192)===128&&(m&192)===128&&(f&192)===128&&(h=(o&15)<<18|(g&63)<<12|(m&63)<<6|f&63,h>65535&&h<1114112&&(s=h))}}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 Ot(n)}var Ze=4096;function Ot(r){var e=r.length;if(e<=Ze)return String.fromCharCode.apply(String,r);for(var t="",n=0;n<e;)t+=String.fromCharCode.apply(String,r.slice(n,n+=Ze));return t}function Bt(r,e,t){var n="";t=Math.min(r.length,t);for(var i=e;i<t;++i)n+=String.fromCharCode(r[i]&127);return n}function Ut(r,e,t){var n="";t=Math.min(r.length,t);for(var i=e;i<t;++i)n+=String.fromCharCode(r[i]);return n}function Pt(r,e,t){var n=r.length;(!e||e<0)&&(e=0),(!t||t<0||t>n)&&(t=n);for(var i="",o=e;o<t;++o)i+=Ht[r[o]];return i}function Mt(r,e,t){for(var n=r.slice(e,t),i="",o=0;o<n.length-1;o+=2)i+=String.fromCharCode(n[o]+n[o+1]*256);return i}c.prototype.slice=function(e,t){var n=this.length;e=~~e,t=t===void 0?n:~~t,e<0?(e+=n,e<0&&(e=0)):e>n&&(e=n),t<0?(t+=n,t<0&&(t=0)):t>n&&(t=n),t<e&&(t=e);var i=this.subarray(e,t);return Object.setPrototypeOf(i,c.prototype),i};function w(r,e,t){if(r%1!==0||r<0)throw new RangeError("offset is not uint");if(r+e>t)throw new RangeError("Trying to access beyond buffer length")}c.prototype.readUintLE=c.prototype.readUIntLE=function(e,t,n){e=e>>>0,t=t>>>0,n||w(e,t,this.length);for(var i=this[e],o=1,s=0;++s<t&&(o*=256);)i+=this[e+s]*o;return i};c.prototype.readUintBE=c.prototype.readUIntBE=function(e,t,n){e=e>>>0,t=t>>>0,n||w(e,t,this.length);for(var i=this[e+--t],o=1;t>0&&(o*=256);)i+=this[e+--t]*o;return i};c.prototype.readUint8=c.prototype.readUInt8=function(e,t){return e=e>>>0,t||w(e,1,this.length),this[e]};c.prototype.readUint16LE=c.prototype.readUInt16LE=function(e,t){return e=e>>>0,t||w(e,2,this.length),this[e]|this[e+1]<<8};c.prototype.readUint16BE=c.prototype.readUInt16BE=function(e,t){return e=e>>>0,t||w(e,2,this.length),this[e]<<8|this[e+1]};c.prototype.readUint32LE=c.prototype.readUInt32LE=function(e,t){return e=e>>>0,t||w(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+this[e+3]*16777216};c.prototype.readUint32BE=c.prototype.readUInt32BE=function(e,t){return e=e>>>0,t||w(e,4,this.length),this[e]*16777216+(this[e+1]<<16|this[e+2]<<8|this[e+3])};c.prototype.readIntLE=function(e,t,n){e=e>>>0,t=t>>>0,n||w(e,t,this.length);for(var i=this[e],o=1,s=0;++s<t&&(o*=256);)i+=this[e+s]*o;return o*=128,i>=o&&(i-=Math.pow(2,8*t)),i};c.prototype.readIntBE=function(e,t,n){e=e>>>0,t=t>>>0,n||w(e,t,this.length);for(var i=t,o=1,s=this[e+--i];i>0&&(o*=256);)s+=this[e+--i]*o;return o*=128,s>=o&&(s-=Math.pow(2,8*t)),s};c.prototype.readInt8=function(e,t){return e=e>>>0,t||w(e,1,this.length),this[e]&128?(255-this[e]+1)*-1:this[e]};c.prototype.readInt16LE=function(e,t){e=e>>>0,t||w(e,2,this.length);var n=this[e]|this[e+1]<<8;return n&32768?n|4294901760:n};c.prototype.readInt16BE=function(e,t){e=e>>>0,t||w(e,2,this.length);var n=this[e+1]|this[e]<<8;return n&32768?n|4294901760:n};c.prototype.readInt32LE=function(e,t){return e=e>>>0,t||w(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24};c.prototype.readInt32BE=function(e,t){return e=e>>>0,t||w(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]};c.prototype.readFloatLE=function(e,t){return e=e>>>0,t||w(e,4,this.length),z.read(this,e,!0,23,4)};c.prototype.readFloatBE=function(e,t){return e=e>>>0,t||w(e,4,this.length),z.read(this,e,!1,23,4)};c.prototype.readDoubleLE=function(e,t){return e=e>>>0,t||w(e,8,this.length),z.read(this,e,!0,52,8)};c.prototype.readDoubleBE=function(e,t){return e=e>>>0,t||w(e,8,this.length),z.read(this,e,!1,52,8)};function b(r,e,t,n,i,o){if(!c.isBuffer(r))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(t+n>r.length)throw new RangeError("Index out of range")}c.prototype.writeUintLE=c.prototype.writeUIntLE=function(e,t,n,i){if(e=+e,t=t>>>0,n=n>>>0,!i){var o=Math.pow(2,8*n)-1;b(this,e,t,n,o,0)}var s=1,d=0;for(this[t]=e&255;++d<n&&(s*=256);)this[t+d]=e/s&255;return t+n};c.prototype.writeUintBE=c.prototype.writeUIntBE=function(e,t,n,i){if(e=+e,t=t>>>0,n=n>>>0,!i){var o=Math.pow(2,8*n)-1;b(this,e,t,n,o,0)}var s=n-1,d=1;for(this[t+s]=e&255;--s>=0&&(d*=256);)this[t+s]=e/d&255;return t+n};c.prototype.writeUint8=c.prototype.writeUInt8=function(e,t,n){return e=+e,t=t>>>0,n||b(this,e,t,1,255,0),this[t]=e&255,t+1};c.prototype.writeUint16LE=c.prototype.writeUInt16LE=function(e,t,n){return e=+e,t=t>>>0,n||b(this,e,t,2,65535,0),this[t]=e&255,this[t+1]=e>>>8,t+2};c.prototype.writeUint16BE=c.prototype.writeUInt16BE=function(e,t,n){return e=+e,t=t>>>0,n||b(this,e,t,2,65535,0),this[t]=e>>>8,this[t+1]=e&255,t+2};c.prototype.writeUint32LE=c.prototype.writeUInt32LE=function(e,t,n){return e=+e,t=t>>>0,n||b(this,e,t,4,4294967295,0),this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=e&255,t+4};c.prototype.writeUint32BE=c.prototype.writeUInt32BE=function(e,t,n){return e=+e,t=t>>>0,n||b(this,e,t,4,4294967295,0),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=e&255,t+4};c.prototype.writeIntLE=function(e,t,n,i){if(e=+e,t=t>>>0,!i){var o=Math.pow(2,8*n-1);b(this,e,t,n,o-1,-o)}var s=0,d=1,g=0;for(this[t]=e&255;++s<n&&(d*=256);)e<0&&g===0&&this[t+s-1]!==0&&(g=1),this[t+s]=(e/d>>0)-g&255;return t+n};c.prototype.writeIntBE=function(e,t,n,i){if(e=+e,t=t>>>0,!i){var o=Math.pow(2,8*n-1);b(this,e,t,n,o-1,-o)}var s=n-1,d=1,g=0;for(this[t+s]=e&255;--s>=0&&(d*=256);)e<0&&g===0&&this[t+s+1]!==0&&(g=1),this[t+s]=(e/d>>0)-g&255;return t+n};c.prototype.writeInt8=function(e,t,n){return e=+e,t=t>>>0,n||b(this,e,t,1,127,-128),e<0&&(e=255+e+1),this[t]=e&255,t+1};c.prototype.writeInt16LE=function(e,t,n){return e=+e,t=t>>>0,n||b(this,e,t,2,32767,-32768),this[t]=e&255,this[t+1]=e>>>8,t+2};c.prototype.writeInt16BE=function(e,t,n){return e=+e,t=t>>>0,n||b(this,e,t,2,32767,-32768),this[t]=e>>>8,this[t+1]=e&255,t+2};c.prototype.writeInt32LE=function(e,t,n){return e=+e,t=t>>>0,n||b(this,e,t,4,2147483647,-2147483648),this[t]=e&255,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24,t+4};c.prototype.writeInt32BE=function(e,t,n){return e=+e,t=t>>>0,n||b(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=e&255,t+4};function nr(r,e,t,n,i,o){if(t+n>r.length)throw new RangeError("Index out of range");if(t<0)throw new RangeError("Index out of range")}function ir(r,e,t,n,i){return e=+e,t=t>>>0,i||nr(r,e,t,4,34028234663852886e22,-34028234663852886e22),z.write(r,e,t,n,23,4),t+4}c.prototype.writeFloatLE=function(e,t,n){return ir(this,e,t,!0,n)};c.prototype.writeFloatBE=function(e,t,n){return ir(this,e,t,!1,n)};function or(r,e,t,n,i){return e=+e,t=t>>>0,i||nr(r,e,t,8,17976931348623157e292,-17976931348623157e292),z.write(r,e,t,n,52,8),t+8}c.prototype.writeDoubleLE=function(e,t,n){return or(this,e,t,!0,n)};c.prototype.writeDoubleBE=function(e,t,n){return or(this,e,t,!1,n)};c.prototype.copy=function(e,t,n,i){if(!c.isBuffer(e))throw new TypeError("argument should be a Buffer");if(n||(n=0),!i&&i!==0&&(i=this.length),t>=e.length&&(t=e.length),t||(t=0),i>0&&i<n&&(i=n),i===n||e.length===0||this.length===0)return 0;if(t<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-t<i-n&&(i=e.length-t+n);var o=i-n;return this===e&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(t,n,i):Uint8Array.prototype.set.call(e,this.subarray(n,i),t),o};c.prototype.fill=function(e,t,n,i){if(typeof e=="string"){if(typeof t=="string"?(i=t,t=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"&&!c.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(t<0||this.length<t||this.length<n)throw new RangeError("Out of range index");if(n<=t)return this;t=t>>>0,n=n===void 0?this.length:n>>>0,e||(e=0);var s;if(typeof e=="number")for(s=t;s<n;++s)this[s]=e;else{var d=c.isBuffer(e)?e:c.from(e,i),g=d.length;if(g===0)throw new TypeError('The value "'+e+'" is invalid for argument "value"');for(s=0;s<n-t;++s)this[s+t]=d[s%g]}return this};var Gt=/[^+/0-9A-Za-z-_]/g;function Wt(r){if(r=r.split("=")[0],r=r.trim().replace(Gt,""),r.length<2)return"";for(;r.length%4!==0;)r=r+"=";return r}function Se(r,e){e=e||1/0;for(var t,n=r.length,i=null,o=[],s=0;s<n;++s){if(t=r.charCodeAt(s),t>55295&&t<57344){if(!i){if(t>56319){(e-=3)>-1&&o.push(239,191,189);continue}else if(s+1===n){(e-=3)>-1&&o.push(239,191,189);continue}i=t;continue}if(t<56320){(e-=3)>-1&&o.push(239,191,189),i=t;continue}t=(i-55296<<10|t-56320)+65536}else i&&(e-=3)>-1&&o.push(239,191,189);if(i=null,t<128){if((e-=1)<0)break;o.push(t)}else if(t<2048){if((e-=2)<0)break;o.push(t>>6|192,t&63|128)}else if(t<65536){if((e-=3)<0)break;o.push(t>>12|224,t>>6&63|128,t&63|128)}else if(t<1114112){if((e-=4)<0)break;o.push(t>>18|240,t>>12&63|128,t>>6&63|128,t&63|128)}else throw new Error("Invalid code point")}return o}function Vt(r){for(var e=[],t=0;t<r.length;++t)e.push(r.charCodeAt(t)&255);return e}function $t(r,e){for(var t,n,i,o=[],s=0;s<r.length&&!((e-=2)<0);++s)t=r.charCodeAt(s),n=t>>8,i=t%256,o.push(i),o.push(n);return o}function ar(r){return we.toByteArray(Wt(r))}function pe(r,e,t,n){for(var i=0;i<n&&!(i+t>=e.length||i>=r.length);++i)e[i+t]=r[i];return i}function E(r,e){return r instanceof e||r!=null&&r.constructor!=null&&r.constructor.name!=null&&r.constructor.name===e.name}function Ie(r){return r!==r}var Ht=function(){for(var r="0123456789abcdef",e=new Array(256),t=0;t<16;++t)for(var n=t*16,i=0;i<16;++i)e[n+i]=r[t]+r[i];return e}()});var dr=se((Ln,ur)=>{a();var x=ur.exports={},_,R;function Ne(){throw new Error("setTimeout has not been defined")}function Ee(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?_=setTimeout:_=Ne}catch(r){_=Ne}try{typeof clearTimeout=="function"?R=clearTimeout:R=Ee}catch(r){R=Ee}})();function cr(r){if(_===setTimeout)return setTimeout(r,0);if((_===Ne||!_)&&setTimeout)return _=setTimeout,setTimeout(r,0);try{return _(r,0)}catch(e){try{return _.call(null,r,0)}catch(t){return _.call(this,r,0)}}}function qt(r){if(R===clearTimeout)return clearTimeout(r);if((R===Ee||!R)&&clearTimeout)return R=clearTimeout,clearTimeout(r);try{return R(r)}catch(e){try{return R.call(null,r)}catch(t){return R.call(this,r)}}}var F=[],X=!1,H,ue=-1;function jt(){!X||!H||(X=!1,H.length?F=H.concat(F):ue=-1,F.length&&lr())}function lr(){if(!X){var r=cr(jt);X=!0;for(var e=F.length;e;){for(H=F,F=[];++ue<e;)H&&H[ue].run();ue=-1,e=F.length}H=null,X=!1,qt(r)}}x.nextTick=function(r){var e=new Array(arguments.length-1);if(arguments.length>1)for(var t=1;t<arguments.length;t++)e[t-1]=arguments[t];F.push(new pr(r,e)),F.length===1&&!X&&cr(lr)};function pr(r,e){this.fun=r,this.array=e}pr.prototype.run=function(){this.fun.apply(null,this.array)};x.title="browser";x.browser=!0;x.env={};x.argv=[];x.version="";x.versions={};function C(){}x.on=C;x.addListener=C;x.once=C;x.off=C;x.removeListener=C;x.removeAllListeners=C;x.emit=C;x.prependListener=C;x.prependOnceListener=C;x.listeners=function(r){return[]};x.binding=function(r){throw new Error("process.binding is not supported")};x.cwd=function(){return"/"};x.chdir=function(r){throw new Error("process.chdir is not supported")};x.umask=function(){return 0}});var l,p,Dn,a=dt(()=>{l=A(sr()),p=A(dr()),Dn=function(r){function e(){var n=this||self;return delete r.prototype.__magic__,n}if(typeof globalThis=="object")return globalThis;if(this)return e();r.defineProperty(r.prototype,"__magic__",{configurable:!0,get:e});var t=__magic__;return t}(Object)});var An={};gt(An,{getEventListDataHexValue:()=>zt,getEventListHighlight:()=>Kt,getOperationDirection:()=>Yt,getOperationList:()=>rt,getScResultsDecodedData:()=>Zt,getScResultsHighlight:()=>Jt,getScamFlag:()=>Qt,getShardText:()=>en,getTextWithLinks:()=>fr,getTransactionActionNftText:()=>on,getTransactionActionTokenText:()=>an,getTransactionFee:()=>cn,getTransactionLinkWithLabel:()=>ln,getTransactionMessages:()=>un,getTransactionStatus:()=>gn,getTransactionStatusText:()=>mn,getTrimmedHash:()=>fn,getVisibleOperations:()=>hn,internalTransactionActions:()=>et,transactionActionUnwrapper:()=>yn,useDataDecode:()=>vn,useDataDecodeMethod:()=>Sn,useGetOperationList:()=>kn});module.exports=mt(An);a();a();var zt=r=>l.Buffer.from(String(r==null?void 0:r.data),"base64").toString("hex");a();a();a();var gr=()=>typeof window!="undefined"&&typeof(window==null?void 0:window.location)!="undefined";var Y=()=>{if(!gr())return{pathname:"",hash:"",origin:"",href:"",search:""};let{location:{pathname:e,hash:t,origin:n,href:i,search:o}}=window;return{pathname:e,hash:t,origin:n,href:i,search:o}};var Kt=(r,e)=>{var d;let{hash:t}=Y(),n=t.split("/"),i=n[0]?n[0].replace("#",""):"",o=(d=n[1])!=null?d:0;return i===e&&r.order===Number(o)};a();a();var _e=(n=>(n.nft="nft",n.esdt="esdt",n.egld="egld",n))(_e||{});var P=(i=>(i.raw="raw",i.text="text",i.decimal="decimal",i.smart="smart",i))(P||{});var Yt=({operation:r,address:e})=>{let t=e===r.sender,n=e===r.receiver,i=t&&n,o=!i,s="";switch(!0){case t:s="Out";break;case n:s="In";break;case i:s="Self";break;case o:s="Internal";break}return{direction:s}};a();a();a();function de(r){for(let e=0;e<r.length;e++)if(r.charCodeAt(e)>127)return!1;return!0}function Re(r){let e=r;try{let t=l.Buffer.from(r,"hex").toString();de(t)&&t.length>1&&(e=t)}catch(t){}return e}var Zt=r=>{let e=l.Buffer.from(r,"base64").toString().split("@");return e.length>=2&&(e[0].length>0?e[0]=Re(e[0]):e[1]=Re(e[1])),e.join("@")};a();var Jt=r=>{let{hash:e}=Y();return e.substring(0,e.indexOf("/")>0?e.indexOf("/"):e.length).replace("#","")===r};a();var mr=A(require("linkifyjs")),fr=r=>{let e=mr.find(r);if(!e.length)return{textWithLinks:r,hasLinks:!1};let t=r;for(let n of e){let i=r.substring(n.start,n.end);t=t.replace(i,n.value)}return{textWithLinks:t,hasLinks:!0}},Qt=({message:r,scamInfo:e,isNsfw:t,verified:n,messagePrefix:i="Message hidden due to suspicious content - "})=>{var g;if(n)return{message:"",textWithLinks:"",isSuspicious:!1};let o=`${i}${(g=e==null?void 0:e.info)!=null?g:"suspicious content"}`,{textWithLinks:s,hasLinks:d}=fr(r);return d||t||e?{message:o,textWithLinks:s,isSuspicious:!0}:{message:"",textWithLinks:s,isSuspicious:!1}};a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();var Le=require("@multiversx/sdk-dapp-utils/out/constants/browserConstants"),Z=require("@multiversx/sdk-dapp-utils/out/enums/windowProviderEnums");var hr=(t=>(t.signTransactionsWithGuardianResponse="SIGN_TRANSACTIONS_WITH_GUARDIAN_RESPONSE",t.reloginRequest="RELOGIN_REQUEST",t))(hr||{}),si=U(U({},Z.WindowProviderRequestEnums),hr),yr=(e=>(e.reloginResponse="RELOGIN_RESPONSE",e))(yr||{}),ci=U(U({},Z.WindowProviderResponseEnums),yr);a();a();a();a();a();var De={devnet:{id:"devnet",chainId:"D",name:"Devnet",egldLabel:"xEGLD",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"https://maiar.page.link/?apn=com.elrond.maiar.wallet&isi=1519405832&ibi=com.elrond.maiar.wallet&link=https://xportal.com/",walletConnectBridgeAddresses:["https://bridge.walletconnect.org"],walletConnectV2RelayAddresses:["wss://relay.walletconnect.com"],walletAddress:"https://devnet-wallet.multiversx.com",xAliasAddress:"https://devnet.xalias.com",apiAddress:"https://devnet-api.multiversx.com",explorerAddress:"http://devnet-explorer.multiversx.com",apiTimeout:"4000",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",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",apiTimeout:"4000",roundDuration:6e3}},{chainId:xr,egldLabel:ki}=De["devnet"],{chainId:Tr,egldLabel:Ai}=De["testnet"],{chainId:wr,egldLabel:Ii}=De["mainnet"];var Ni={["devnet"]:xr,["testnet"]:Tr,["mainnet"]:wr},Ei={[xr]:"devnet",[Tr]:"testnet",[wr]:"mainnet"};a();a();var L=require("@multiversx/sdk-web-wallet-provider");a();var br,vr,Fe=String((vr=(br=Le.safeWindow)==null?void 0:br.navigator)==null?void 0:vr.userAgent),Fi=/^((?!chrome|android).)*safari/i.test(Fe),Ci=/firefox/i.test(Fe)&&/windows/i.test(Fe);var I=18,J=4;var Sr=4294967295,kr=4294967280;var Ar="refundedGas";var Q="0";var en=r=>{let e=r;typeof e=="string"&&e.includes("Shard")&&(e=e.replace("Shard","").replace(" ",""));let t=Sr.toString()===String(e).toString()||String(e)==="metachain",n=kr.toString()===String(e).toString();return t?"Metachain":n?"All Shards":`Shard ${e}`};a();a();a();a();a();var Nr=require("@multiversx/sdk-core"),M=A(require("bignumber.js"));a();var Ir=A(require("bignumber.js")),Ce=(r,e=!0)=>{let t=String(r);if(!t.match(/^[-]?\d+$/))return!1;let n=new Ir.default(t),i=e?0:-1;return n.toString(10)===t&&n.comparedTo(0)>=i};a();function O(r){return{if:function(e){return e?{then:t=>t instanceof Function?O(t(r)):O(t)}:{then:()=>O(r)}},then:e=>e instanceof Function?O(e(r)):O(e),valueOf:function(){return r}}}M.default.config({ROUNDING_MODE:M.default.ROUND_FLOOR});function G({input:r,decimals:e=I,digits:t=J,showLastNonZeroDecimal:n=!0,showIsLessThanDecimalsLabel:i=!1,addCommas:o=!1}){if(!Ce(r,!1))throw new Error("Invalid input");let s=new M.default(r).isNegative(),d=r;return s&&(d=r.substring(1)),O(d).then(()=>Nr.TokenTransfer.fungibleFromBigInteger("",d,e).amountAsBigInteger.shiftedBy(-e).toFixed(e)).then(g=>{let m=new M.default(g);if(m.isZero())return Q;let f=m.toString(10),[h,y]=f.split("."),T=new M.default(y||0),S=O(0).if(Boolean(y&&n)).then(()=>Math.max(y.length,t)).if(T.isZero()&&!n).then(0).if(Boolean(y&&!n)).then(()=>Math.min(y.length,t)).valueOf(),j=y&&t>=1&&t<=y.length&&T.isGreaterThan(0)&&new M.default(y.substring(0,t)).isZero(),tt=m.toFormat(S);return O(f).if(o).then(tt).if(Boolean(j)).then(ie=>{let re=new M.default(h).isZero(),[k,oe]=ie.split("."),ae=new Array(t-1).fill(0),nt=[...ae,0].join(""),it=[...ae,1].join("");return re?i?`<${k}.${it}`:n?`${k}.${oe}`:k:`${k}.${nt}`}).if(Boolean(!j&&y)).then(ie=>{let[re]=ie.split("."),k=y.substring(0,S);if(n){let oe=t-k.length;if(oe>0){let ae=Array(oe).fill(0).join("");return k=`${k}${ae}`,`${re}.${k}`}return ie}return k?`${re}.${k}`:re}).valueOf()}).if(s).then(g=>`-${g}`).valueOf()}a();a();var rn=require("@multiversx/sdk-core");a();var ne=require("@multiversx/sdk-core"),nn=A(require("bignumber.js"));a();a();a();var tn=A(require("bignumber.js"));a();a();a();a();a();a();a();a();a();a();var W="accounts";var Er="blocks",_r="code",Rr="collections";var Lr="contracts";var Dr="identities";var Fr="locked-accounts",Cr="logs",Or="miniblocks";var Oe="nfts",Br="nodes",Be="providers",Ur="roles",Ue="sc-results";var ee="tokens";var q="transactions";var ge={shard:r=>`/${Er}?shard=${r}`,receiverShard:r=>`/${q}?receivershard=${r}`,senderShard:r=>`/${q}?sendershard=${r}`,transactionDetails:r=>`/${q}/${r}`,transactionDetailsScResults:r=>`/${q}/${r}/${Ue}`,transactionDetailsLogs:r=>`/${q}/${r}/${Cr}`,nodeDetails:r=>`/${Br}/${r}`,accountDetails:r=>`/${W}/${r}`,accountDetailsContractCode:r=>`/${W}/${r}/${_r}`,accountDetailsTokens:r=>`/${W}/${r}/${ee}`,accountDetailsNfts:r=>`/${W}/${r}/${Oe}`,accountDetailsScResults:r=>`/${W}/${r}/${Ue}`,accountDetailsContracts:r=>`/${W}/${r}/${Lr}`,identityDetails:r=>`/${Dr}/${r}`,tokenDetails:r=>`/${ee}/${r}`,tokenDetailsAccounts:r=>`/${ee}/${r}/${W}`,tokenDetailsLockedAccounts:r=>`/${ee}/${r}/${Fr}`,tokenDetailsRoles:r=>`/${ee}/${r}/${Ur}`,collectionDetails:r=>`/${Rr}/${r}`,nftDetails:r=>`/${Oe}/${r}`,providerDetails:r=>`/${Be}/${r}`,providerDetailsTransactions:r=>`/${Be}/${r}/${q}`,miniblockDetails:r=>`/${Or}/${r}`};function on({token:r,noValue:e,showLastNonZeroDecimal:t}){var m;let n=!e&&r.value&&r.type!=="NonFungibleESDT",i=r.decimals!=null,o="";r.type==="NonFungibleESDT"&&(o="NFT"),r.type==="SemiFungibleESDT"&&(o="SFT"),r.type==="MetaESDT"&&(o="Meta-ESDT");let s="";n&&i&&(s=i?G({input:r.value,decimals:r.decimals,digits:2,showLastNonZeroDecimal:t}):Number(r.value).toLocaleString("en"));let d=ge.nftDetails(String(r.identifier)),g=r.ticker===r.collection&&(m=r.identifier)!=null?m:r.ticker;return{badgeText:o,tokenFormattedAmount:n?s:null,tokenExplorerLink:d,tokenLinkText:g,token:r,noValue:e,showLastNonZeroDecimal:t}}a();function an({token:r,noValue:e,showLastNonZeroDecimal:t}){var d;let n=Boolean(!e&&r.value),i=n?G({input:r.value,decimals:(d=r.decimals)!=null?d:I,digits:2,showLastNonZeroDecimal:t,addCommas:!0}):null,o=ge.tokenDetails(String(r.token)),s=r.ticker;return{tokenExplorerLink:o,tokenFormattedAmount:i,showFormattedAmount:n,tokenLinkText:s,token:r,showLastNonZeroDecimal:t}}a();var Pe=A(require("bignumber.js")),sn=r=>{let e=new Pe.default(r.gasPrice),t=new Pe.default(r.gasUsed);return e.times(t).toString()};function cn(r){return r.fee?r.fee:r.gasUsed===void 0?null:sn(r)}a();var ln=({transaction:r,direction:e})=>{var g;let t=e==="Internal",n=r.sender;if(t)return{link:(g=r.links.senderLink)!=null?g:"",label:"Smart Contract transaction",address:n};let i=e==="Out",o=i?r.links.receiverLink:r.links.senderLink,s="";return e==="Self"&&r.receiverAssets?s=r.receiverAssets.name:(n=i?r.receiver:r.sender,s=i?"To:":"From:"),{label:s,address:n,link:o!=null?o:""}};a();a();function Pr(r){var e,t;return(t=(e=r==null?void 0:r.operations)==null?void 0:e.map(n=>n.message).filter(n=>Boolean(n)))!=null?t:[]}a();var Mr=A(require("bignumber.js"));var pn=r=>{var e,t;if(!((e=r.receipt)!=null&&e.value))return"";if(((t=r.receipt)==null?void 0:t.data)===Ar){let n=G({input:r.receipt.value,decimals:I,digits:J,showLastNonZeroDecimal:!0});return new Mr.default(n).times(r.gasPrice).times(100).toFixed()}return r.receipt.value};function Gr(r){var i;let e=(i=r.receipt)==null?void 0:i.data;if(!e)return"";let t=pn(r),n=t?`: ${t}`:"";return`${e}${n}`}a();function Me(r){var e,t;return(t=(e=r==null?void 0:r.results)==null?void 0:e.map(n=>n.returnMessage).filter(n=>Boolean(n)))!=null?t:[]}function un(r){return Array.from(new Set([...Me(r),...Pr(r),Gr(r)])).filter(t=>Boolean(t))}a();function gn(r){let e=s=>r.status.toLowerCase()===s.toLowerCase(),t=e("fail")||e("reward-reverted"),n=e("success"),i=e("not executed")||e("invalid"),o=e("pending")||r.pendingResults;return{failed:t,success:n,invalid:i,pending:o}}a();var mn=r=>{switch(!0){case r.pendingResults:return"Pending (Smart Contract Execution)";case r.status==="reward-reverted":return"fail";default:return r.status.toString()}};a();var fn=(r,e=4)=>`${r.substring(0,Math.floor(r.length/e))}...${r.substring(r.length-Math.ceil(r.length/e))}`;a();var hn=r=>{var t,n;return(n=(t=r==null?void 0:r.operations)==null?void 0:t.filter(i=>Object.values(_e).includes(i.type)))!=null?n:[]};a();a();a();var Vr=r=>{var e,t;switch(r.name){case"transfer":return["Transfer",{token:(e=r.arguments)==null?void 0:e.transfers},"to",{address:(t=r.arguments)==null?void 0:t.receiver}];default:return[]}};a();var $r=A(require("bignumber.js"));var Hr=r=>{var e,t,n,i,o,s,d,g,m,f,h,y;switch(r.name){case"claimLockedAssets":return["Claim locked assets"];case"enterFarm":case"enterFarmProxy":return["Enter farm with",{token:(e=r.arguments)==null?void 0:e.transfers}];case"enterFarmAndLockRewards":case"enterFarmAndLockRewardsProxy":return["Enter farm and lock rewards with",{token:(t=r.arguments)==null?void 0:t.transfers}];case"exitFarm":case"exitFarmProxy":return["Exit farm with",{token:(n=r.arguments)==null?void 0:n.transfers}];case"claimRewards":case"claimRewardsProxy":return["Claim rewards",{token:(i=r.arguments)==null?void 0:i.transfers}];case"compoundRewards":case"compoundRewardsProxy":return["Reinvest rewards",{token:(o=r.arguments)==null?void 0:o.transfers}];case"swapTokensFixedInput":case"swap":return r.description?[r.description]:[];case"swapTokensFixedOutput":return r.description?[r.description]:[];case"addLiquidity":case"addLiquidityProxy":return["Added liquidity for",{token:[(s=r.arguments)==null?void 0:s.transfers[0]]},"and",{token:[(d=r.arguments)==null?void 0:d.transfers[1]]}];case"removeLiquidity":case"removeLiquidityProxy":return["Removed liquidity with ",{token:(g=r.arguments)==null?void 0:g.transfers}];case"mergeLockedAssetTokens":let T=Q;if((m=r.arguments)!=null&&m.transfers){let S=r.arguments.transfers.map(({value:j})=>j);T=$r.default.sum.apply(null,S).toString(10)}return[`Merge ${(f=r.arguments)==null?void 0:f.transfers.length}`,{tokenNoLink:[(h=r.arguments)==null?void 0:h.transfers[0]]},"positions into a single",{tokenNoLink:[(y=r.arguments)==null?void 0:y.transfers[0]]},"position of value",{value:T}];case"wrapEgld":case"unwrapEgld":default:return r.description?[r.description]:[]}};a();var qr=r=>{var e,t,n,i,o,s,d,g,m,f,h,y;switch(r.name){case"delegate":case"stake":return["Delegate",{egldValue:(e=r.arguments)==null?void 0:e.value},"to staking provider",{providerName:(t=r.arguments)==null?void 0:t.providerName,providerAvatar:(n=r.arguments)==null?void 0:n.providerAvatar}];case"unDelegate":return["Undelegate",{egldValue:(i=r.arguments)==null?void 0:i.value},"from staking provider",{providerName:(o=r.arguments)==null?void 0:o.providerName,providerAvatar:(s=r.arguments)==null?void 0:s.providerAvatar}];case"claimRewards":return["Claim rewards from staking provider",{providerName:(d=r.arguments)==null?void 0:d.providerName,providerAvatar:(g=r.arguments)==null?void 0:g.providerAvatar}];case"reDelegateRewards":return["Redelegate rewards from staking provider",{providerName:(m=r.arguments)==null?void 0:m.providerName,providerAvatar:(f=r.arguments)==null?void 0:f.providerAvatar}];case"withdraw":return["Withdraw from staking provider",{providerName:(h=r.arguments)==null?void 0:h.providerName,providerAvatar:(y=r.arguments)==null?void 0:y.providerAvatar}];default:return[]}};var yn=r=>{if(!r.arguments)return r.description?[r.description]:[r.name];switch(r.category){case"esdtNft":return Vr(r);case"mex":return Hr(r);case"stake":return qr(r);default:return r.description?[r.description]:[]}};a();var fe=require("react");a();a();a();a();var Xr=require("@multiversx/sdk-core/out"),Ge=A(require("bignumber.js"));a();var jr=require("@multiversx/sdk-core");function xn(r){try{let e=new jr.Address(r);return Boolean(e.bech32())}catch(e){return!1}}function zr(r){return(r==null?void 0:r.length)===62&&/^\w+$/.test(r)&&xn(r)}a();a();a();a();var Kr=r=>/\d/.test(r);var B=(r,e,t)=>{try{switch(e){case"text":return Kr(r)?l.Buffer.from(r,"hex").toString("utf8"):r;case"decimal":return new Ge.default(r,16).toString(10);case"smart":let i=Xr.Address.fromHex(r).toString();if(zr(i))return i;let o=l.Buffer.from(r,"hex").toString("utf8");return de(o)||t&&[...t.esdts,...t.nfts].some(g=>o.includes(g))?o:new Ge.default(r,16).toString(10);case"raw":default:return r}}catch(n){return console.error(`Error during data decoding of "${r}" as "${e}"`,n),r}};a();a();var Tn=r=>r.toLowerCase().match(/[0-9a-f]/g),wn=r=>r.length%2===0,Yr=r=>{let e=[];return r&&!Tn(r)&&e.push(`Invalid Hex characters on argument @${r}`),r&&!wn(r)&&e.push(`Odd number of Hex characters on argument @${r}`),e};a();var me=({parts:r,decodedParts:e,identifier:t})=>{let n=[...e];if(r[0]==="ESDTNFTTransfer"&&r[2]&&(n[2]=B(r[2],"decimal")),t==="ESDTNFTTransfer"&&r[1]){let i=l.Buffer.from(String(r[1]),"base64");n[1]=B(i.toString("hex"),"decimal")}return n};var Zr=({parts:r,decodeMethod:e,identifier:t,display:n})=>{let i=r.map((o,s)=>{if(r.length>=2&&(s===0&&o.length<64||s===1&&!r[0]))return/[^a-z0-9]/gi.test(o)?B(o,e):o;{let d=Yr(o);return d.length&&(n.validationWarnings=Array.from(new Set([...n.validationWarnings,...d]))),B(o,e)}});return e==="smart"?me({parts:r,decodedParts:i,identifier:t}):i};var Jr=({input:r,decodeMethod:e,identifier:t})=>{let n={displayValue:"",validationWarnings:[]};if(r.includes("@")){let i=r.split("@"),o=Zr({parts:i,identifier:t,decodeMethod:e,display:n});return n.displayValue=o.join("@"),n}if(r.includes(`
2
2
  `)){let i=r.split(`
3
3
  `),o=i.map(d=>{let g=l.Buffer.from(String(d),"base64");return e==="raw"?d:B(g.toString("hex"),e)}),s=e==="smart"?me({parts:i,decodedParts:o,identifier:t}):o;return n.displayValue=s.join(`
4
4
  `),n}return n.displayValue=B(r,e),n};var bn=[{label:"Raw",value:"raw"},{label:"Text",value:"text"},{label:"Decimal",value:"decimal"},{label:"Smart",value:"smart"}],vn=({value:r,initialDecodeMethod:e,setDecodeMethod:t,identifier:n})=>{let[i,o]=(0,fe.useState)(e&&Object.values(P).includes(e)?e:"raw"),{displayValue:s,validationWarnings:d}=Jr({input:r,decodeMethod:i,identifier:n});return(0,fe.useEffect)(()=>{t&&t(i)},[i]),{displayValue:s,validationWarnings:d,setActiveKey:o,decodeOptions:bn}};a();var he=require("react");var Sn=()=>{let{hash:r,pathname:e}=Y(),t=r.replace("#",""),n=t&&Object.values(P).includes(t)?t:"raw",[i,o]=(0,he.useState)(t);return(0,he.useEffect)(()=>{i&&i!=="raw"&&(window==null||window.history.replaceState({},document==null?void 0:document.title,`${e}#${i}`))},[i,e]),{initialDecodeMethod:n,decodeMethod:i,setDecodeMethod:o}};a();var Qr=require("react");var et=["create","localMint","ESDTLocalMint","addQuantity","burn","localBurn","ESDTLocalBurn","wipe","writeLog","signalError"];function rt({operations:r,transaction:e,isExpanded:t=!1,listLength:n=25}){let i=r.filter(f=>!et.includes(f.action)&&(f.sender===e.sender||f.receiver===e.sender)),o=i.length>0?i:r,s=o.length>n?o.slice(0,n):o,d=o.length>n?o.slice(n,o.length):[],g=t?i.length>0?"Show in/out operations":"Show fewer operations":"Show all operations",m=s.length!==r.length||d.length>0;return{displayedOperations:t?r:s,toggleButtonText:g,showToggleButton:m}}function kn(r){let[e,t]=(0,Qr.useState)(!1),n=()=>{t(d=>!d)},{displayedOperations:i,showToggleButton:o,toggleButtonText:s}=rt(ye(U({},r),{isExpanded:e}));return{isExpanded:e,displayedOperations:i,showToggleButton:o,toggleButtonText:s,onToggleButtonClick:n}}0&&(module.exports={getEventListDataHexValue,getEventListHighlight,getOperationDirection,getOperationList,getScResultsDecodedData,getScResultsHighlight,getScamFlag,getShardText,getTextWithLinks,getTransactionActionNftText,getTransactionActionTokenText,getTransactionFee,getTransactionLinkWithLabel,getTransactionMessages,getTransactionStatus,getTransactionStatusText,getTrimmedHash,getVisibleOperations,internalTransactionActions,transactionActionUnwrapper,useDataDecode,useDataDecodeMethod,useGetOperationList});
@@ -1,7 +1,7 @@
1
- "use strict";var Yr=Object.create;var H=Object.defineProperty;var zr=Object.getOwnPropertyDescriptor;var Xr=Object.getOwnPropertyNames,pr=Object.getOwnPropertySymbols,$r=Object.getPrototypeOf,lr=Object.prototype.hasOwnProperty,jr=Object.prototype.propertyIsEnumerable;var cr=(t,r,e)=>r in t?H(t,r,{enumerable:!0,configurable:!0,writable:!0,value:e}):t[r]=e,G=(t,r)=>{for(var e in r||(r={}))lr.call(r,e)&&cr(t,e,r[e]);if(pr)for(var e of pr(r))jr.call(r,e)&&cr(t,e,r[e]);return t};var Kr=(t,r)=>()=>(t&&(r=t(t=0)),r);var V=(t,r)=>()=>(r||t((r={exports:{}}).exports,r),r.exports),Jr=(t,r)=>{for(var e in r)H(t,e,{get:r[e],enumerable:!0})},fr=(t,r,e,n)=>{if(r&&typeof r=="object"||typeof r=="function")for(let i of Xr(r))!lr.call(t,i)&&i!==e&&H(t,i,{get:()=>r[i],enumerable:!(n=zr(r,i))||n.enumerable});return t};var j=(t,r,e)=>(e=t!=null?Yr($r(t)):{},fr(r||!t||!t.__esModule?H(e,"default",{value:t,enumerable:!0}):e,t)),Qr=t=>fr(H({},"__esModule",{value:!0}),t);var hr=V(q=>{"use strict";u();q.byteLength=re;q.toByteArray=te;q.fromByteArray=oe;var F=[],v=[],Zr=typeof Uint8Array!="undefined"?Uint8Array:Array,K="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(C=0,dr=K.length;C<dr;++C)F[C]=K[C],v[K.charCodeAt(C)]=C;var C,dr;v["-".charCodeAt(0)]=62;v["_".charCodeAt(0)]=63;function gr(t){var r=t.length;if(r%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var e=t.indexOf("=");e===-1&&(e=r);var n=e===r?0:4-e%4;return[e,n]}function re(t){var r=gr(t),e=r[0],n=r[1];return(e+n)*3/4-n}function ee(t,r,e){return(r+e)*3/4-e}function te(t){var r,e=gr(t),n=e[0],i=e[1],o=new Zr(ee(t,n,i)),a=0,p=i>0?n-4:n,c;for(c=0;c<p;c+=4)r=v[t.charCodeAt(c)]<<18|v[t.charCodeAt(c+1)]<<12|v[t.charCodeAt(c+2)]<<6|v[t.charCodeAt(c+3)],o[a++]=r>>16&255,o[a++]=r>>8&255,o[a++]=r&255;return i===2&&(r=v[t.charCodeAt(c)]<<2|v[t.charCodeAt(c+1)]>>4,o[a++]=r&255),i===1&&(r=v[t.charCodeAt(c)]<<10|v[t.charCodeAt(c+1)]<<4|v[t.charCodeAt(c+2)]>>2,o[a++]=r>>8&255,o[a++]=r&255),o}function ne(t){return F[t>>18&63]+F[t>>12&63]+F[t>>6&63]+F[t&63]}function ie(t,r,e){for(var n,i=[],o=r;o<e;o+=3)n=(t[o]<<16&16711680)+(t[o+1]<<8&65280)+(t[o+2]&255),i.push(ne(n));return i.join("")}function oe(t){for(var r,e=t.length,n=e%3,i=[],o=16383,a=0,p=e-n;a<p;a+=o)i.push(ie(t,a,a+o>p?p:a+o));return n===1?(r=t[e-1],i.push(F[r>>2]+F[r<<4&63]+"==")):n===2&&(r=(t[e-2]<<8)+t[e-1],i.push(F[r>>10]+F[r>>4&63]+F[r<<2&63]+"=")),i.join("")}});var mr=V(J=>{u();J.read=function(t,r,e,n,i){var o,a,p=i*8-n-1,c=(1<<p)-1,d=c>>1,g=-7,l=e?i-1:0,b=e?-1:1,w=t[r+l];for(l+=b,o=w&(1<<-g)-1,w>>=-g,g+=p;g>0;o=o*256+t[r+l],l+=b,g-=8);for(a=o&(1<<-g)-1,o>>=-g,g+=n;g>0;a=a*256+t[r+l],l+=b,g-=8);if(o===0)o=1-d;else{if(o===c)return a?NaN:(w?-1:1)*(1/0);a=a+Math.pow(2,n),o=o-d}return(w?-1:1)*a*Math.pow(2,o-n)};J.write=function(t,r,e,n,i,o){var a,p,c,d=o*8-i-1,g=(1<<d)-1,l=g>>1,b=i===23?Math.pow(2,-24)-Math.pow(2,-77):0,w=n?0:o-1,_=n?1:-1,Or=r<0||r===0&&1/r<0?1:0;for(r=Math.abs(r),isNaN(r)||r===1/0?(p=isNaN(r)?1:0,a=g):(a=Math.floor(Math.log(r)/Math.LN2),r*(c=Math.pow(2,-a))<1&&(a--,c*=2),a+l>=1?r+=b/c:r+=b*Math.pow(2,1-l),r*c>=2&&(a++,c/=2),a+l>=g?(p=0,a=g):a+l>=1?(p=(r*c-1)*Math.pow(2,i),a=a+l):(p=r*Math.pow(2,l-1)*Math.pow(2,i),a=0));i>=8;t[e+w]=p&255,w+=_,p/=256,i-=8);for(a=a<<i|p,d+=i;d>0;t[e+w]=a&255,w+=_,a/=256,d-=8);t[e+w-_]|=Or*128}});var Ar=V(P=>{"use strict";u();var Q=hr(),L=mr(),yr=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;P.Buffer=s;P.SlowBuffer=le;P.INSPECT_MAX_BYTES=50;var O=2147483647;P.kMaxLength=O;s.TYPED_ARRAY_SUPPORT=ae();!s.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 ae(){try{var t=new Uint8Array(1),r={foo:function(){return 42}};return Object.setPrototypeOf(r,Uint8Array.prototype),Object.setPrototypeOf(t,r),t.foo()===42}catch(e){return!1}}Object.defineProperty(s.prototype,"parent",{enumerable:!0,get:function(){if(!!s.isBuffer(this))return this.buffer}});Object.defineProperty(s.prototype,"offset",{enumerable:!0,get:function(){if(!!s.isBuffer(this))return this.byteOffset}});function B(t){if(t>O)throw new RangeError('The value "'+t+'" is invalid for option "size"');var r=new Uint8Array(t);return Object.setPrototypeOf(r,s.prototype),r}function s(t,r,e){if(typeof t=="number"){if(typeof r=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return tr(t)}return wr(t,r,e)}s.poolSize=8192;function wr(t,r,e){if(typeof t=="string")return ue(t,r);if(ArrayBuffer.isView(t))return pe(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(k(t,ArrayBuffer)||t&&k(t.buffer,ArrayBuffer)||typeof SharedArrayBuffer!="undefined"&&(k(t,SharedArrayBuffer)||t&&k(t.buffer,SharedArrayBuffer)))return rr(t,r,e);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 s.from(n,r,e);var i=ce(t);if(i)return i;if(typeof Symbol!="undefined"&&Symbol.toPrimitive!=null&&typeof t[Symbol.toPrimitive]=="function")return s.from(t[Symbol.toPrimitive]("string"),r,e);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t)}s.from=function(t,r,e){return wr(t,r,e)};Object.setPrototypeOf(s.prototype,Uint8Array.prototype);Object.setPrototypeOf(s,Uint8Array);function vr(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 se(t,r,e){return vr(t),t<=0?B(t):r!==void 0?typeof e=="string"?B(t).fill(r,e):B(t).fill(r):B(t)}s.alloc=function(t,r,e){return se(t,r,e)};function tr(t){return vr(t),B(t<0?0:nr(t)|0)}s.allocUnsafe=function(t){return tr(t)};s.allocUnsafeSlow=function(t){return tr(t)};function ue(t,r){if((typeof r!="string"||r==="")&&(r="utf8"),!s.isEncoding(r))throw new TypeError("Unknown encoding: "+r);var e=br(t,r)|0,n=B(e),i=n.write(t,r);return i!==e&&(n=n.slice(0,i)),n}function Z(t){for(var r=t.length<0?0:nr(t.length)|0,e=B(r),n=0;n<r;n+=1)e[n]=t[n]&255;return e}function pe(t){if(k(t,Uint8Array)){var r=new Uint8Array(t);return rr(r.buffer,r.byteOffset,r.byteLength)}return Z(t)}function rr(t,r,e){if(r<0||t.byteLength<r)throw new RangeError('"offset" is outside of buffer bounds');if(t.byteLength<r+(e||0))throw new RangeError('"length" is outside of buffer bounds');var n;return r===void 0&&e===void 0?n=new Uint8Array(t):e===void 0?n=new Uint8Array(t,r):n=new Uint8Array(t,r,e),Object.setPrototypeOf(n,s.prototype),n}function ce(t){if(s.isBuffer(t)){var r=nr(t.length)|0,e=B(r);return e.length===0||t.copy(e,0,0,r),e}if(t.length!==void 0)return typeof t.length!="number"||ir(t.length)?B(0):Z(t);if(t.type==="Buffer"&&Array.isArray(t.data))return Z(t.data)}function nr(t){if(t>=O)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+O.toString(16)+" bytes");return t|0}function le(t){return+t!=t&&(t=0),s.alloc(+t)}s.isBuffer=function(r){return r!=null&&r._isBuffer===!0&&r!==s.prototype};s.compare=function(r,e){if(k(r,Uint8Array)&&(r=s.from(r,r.offset,r.byteLength)),k(e,Uint8Array)&&(e=s.from(e,e.offset,e.byteLength)),!s.isBuffer(r)||!s.isBuffer(e))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(r===e)return 0;for(var n=r.length,i=e.length,o=0,a=Math.min(n,i);o<a;++o)if(r[o]!==e[o]){n=r[o],i=e[o];break}return n<i?-1:i<n?1:0};s.isEncoding=function(r){switch(String(r).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}};s.concat=function(r,e){if(!Array.isArray(r))throw new TypeError('"list" argument must be an Array of Buffers');if(r.length===0)return s.alloc(0);var n;if(e===void 0)for(e=0,n=0;n<r.length;++n)e+=r[n].length;var i=s.allocUnsafe(e),o=0;for(n=0;n<r.length;++n){var a=r[n];if(k(a,Uint8Array))o+a.length>i.length?s.from(a).copy(i,o):Uint8Array.prototype.set.call(i,a,o);else if(s.isBuffer(a))a.copy(i,o);else throw new TypeError('"list" argument must be an Array of Buffers');o+=a.length}return i};function br(t,r){if(s.isBuffer(t))return t.length;if(ArrayBuffer.isView(t)||k(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 e=t.length,n=arguments.length>2&&arguments[2]===!0;if(!n&&e===0)return 0;for(var i=!1;;)switch(r){case"ascii":case"latin1":case"binary":return e;case"utf8":case"utf-8":return er(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return e*2;case"hex":return e>>>1;case"base64":return Dr(t).length;default:if(i)return n?-1:er(t).length;r=(""+r).toLowerCase(),i=!0}}s.byteLength=br;function fe(t,r,e){var n=!1;if((r===void 0||r<0)&&(r=0),r>this.length||((e===void 0||e>this.length)&&(e=this.length),e<=0)||(e>>>=0,r>>>=0,e<=r))return"";for(t||(t="utf8");;)switch(t){case"hex":return be(this,r,e);case"utf8":case"utf-8":return kr(this,r,e);case"ascii":return we(this,r,e);case"latin1":case"binary":return ve(this,r,e);case"base64":return xe(this,r,e);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Fe(this,r,e);default:if(n)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),n=!0}}s.prototype._isBuffer=!0;function E(t,r,e){var n=t[r];t[r]=t[e],t[e]=n}s.prototype.swap16=function(){var r=this.length;if(r%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var e=0;e<r;e+=2)E(this,e,e+1);return this};s.prototype.swap32=function(){var r=this.length;if(r%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var e=0;e<r;e+=4)E(this,e,e+3),E(this,e+1,e+2);return this};s.prototype.swap64=function(){var r=this.length;if(r%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var e=0;e<r;e+=8)E(this,e,e+7),E(this,e+1,e+6),E(this,e+2,e+5),E(this,e+3,e+4);return this};s.prototype.toString=function(){var r=this.length;return r===0?"":arguments.length===0?kr(this,0,r):fe.apply(this,arguments)};s.prototype.toLocaleString=s.prototype.toString;s.prototype.equals=function(r){if(!s.isBuffer(r))throw new TypeError("Argument must be a Buffer");return this===r?!0:s.compare(this,r)===0};s.prototype.inspect=function(){var r="",e=P.INSPECT_MAX_BYTES;return r=this.toString("hex",0,e).replace(/(.{2})/g,"$1 ").trim(),this.length>e&&(r+=" ... "),"<Buffer "+r+">"};yr&&(s.prototype[yr]=s.prototype.inspect);s.prototype.compare=function(r,e,n,i,o){if(k(r,Uint8Array)&&(r=s.from(r,r.offset,r.byteLength)),!s.isBuffer(r))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof r);if(e===void 0&&(e=0),n===void 0&&(n=r?r.length:0),i===void 0&&(i=0),o===void 0&&(o=this.length),e<0||n>r.length||i<0||o>this.length)throw new RangeError("out of range index");if(i>=o&&e>=n)return 0;if(i>=o)return-1;if(e>=n)return 1;if(e>>>=0,n>>>=0,i>>>=0,o>>>=0,this===r)return 0;for(var a=o-i,p=n-e,c=Math.min(a,p),d=this.slice(i,o),g=r.slice(e,n),l=0;l<c;++l)if(d[l]!==g[l]){a=d[l],p=g[l];break}return a<p?-1:p<a?1:0};function Fr(t,r,e,n,i){if(t.length===0)return-1;if(typeof e=="string"?(n=e,e=0):e>2147483647?e=2147483647:e<-2147483648&&(e=-2147483648),e=+e,ir(e)&&(e=i?0:t.length-1),e<0&&(e=t.length+e),e>=t.length){if(i)return-1;e=t.length-1}else if(e<0)if(i)e=0;else return-1;if(typeof r=="string"&&(r=s.from(r,n)),s.isBuffer(r))return r.length===0?-1:xr(t,r,e,n,i);if(typeof r=="number")return r=r&255,typeof Uint8Array.prototype.indexOf=="function"?i?Uint8Array.prototype.indexOf.call(t,r,e):Uint8Array.prototype.lastIndexOf.call(t,r,e):xr(t,[r],e,n,i);throw new TypeError("val must be string, number or Buffer")}function xr(t,r,e,n,i){var o=1,a=t.length,p=r.length;if(n!==void 0&&(n=String(n).toLowerCase(),n==="ucs2"||n==="ucs-2"||n==="utf16le"||n==="utf-16le")){if(t.length<2||r.length<2)return-1;o=2,a/=2,p/=2,e/=2}function c(w,_){return o===1?w[_]:w.readUInt16BE(_*o)}var d;if(i){var g=-1;for(d=e;d<a;d++)if(c(t,d)===c(r,g===-1?0:d-g)){if(g===-1&&(g=d),d-g+1===p)return g*o}else g!==-1&&(d-=d-g),g=-1}else for(e+p>a&&(e=a-p),d=e;d>=0;d--){for(var l=!0,b=0;b<p;b++)if(c(t,d+b)!==c(r,b)){l=!1;break}if(l)return d}return-1}s.prototype.includes=function(r,e,n){return this.indexOf(r,e,n)!==-1};s.prototype.indexOf=function(r,e,n){return Fr(this,r,e,n,!0)};s.prototype.lastIndexOf=function(r,e,n){return Fr(this,r,e,n,!1)};function de(t,r,e,n){e=Number(e)||0;var i=t.length-e;n?(n=Number(n),n>i&&(n=i)):n=i;var o=r.length;n>o/2&&(n=o/2);for(var a=0;a<n;++a){var p=parseInt(r.substr(a*2,2),16);if(ir(p))return a;t[e+a]=p}return a}function ge(t,r,e,n){return Y(er(r,t.length-e),t,e,n)}function he(t,r,e,n){return Y(Ie(r),t,e,n)}function me(t,r,e,n){return Y(Dr(r),t,e,n)}function ye(t,r,e,n){return Y(Be(r,t.length-e),t,e,n)}s.prototype.write=function(r,e,n,i){if(e===void 0)i="utf8",n=this.length,e=0;else if(n===void 0&&typeof e=="string")i=e,n=this.length,e=0;else if(isFinite(e))e=e>>>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-e;if((n===void 0||n>o)&&(n=o),r.length>0&&(n<0||e<0)||e>this.length)throw new RangeError("Attempt to write outside buffer bounds");i||(i="utf8");for(var a=!1;;)switch(i){case"hex":return de(this,r,e,n);case"utf8":case"utf-8":return ge(this,r,e,n);case"ascii":case"latin1":case"binary":return he(this,r,e,n);case"base64":return me(this,r,e,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return ye(this,r,e,n);default:if(a)throw new TypeError("Unknown encoding: "+i);i=(""+i).toLowerCase(),a=!0}};s.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function xe(t,r,e){return r===0&&e===t.length?Q.fromByteArray(t):Q.fromByteArray(t.slice(r,e))}function kr(t,r,e){e=Math.min(t.length,e);for(var n=[],i=r;i<e;){var o=t[i],a=null,p=o>239?4:o>223?3:o>191?2:1;if(i+p<=e){var c,d,g,l;switch(p){case 1:o<128&&(a=o);break;case 2:c=t[i+1],(c&192)===128&&(l=(o&31)<<6|c&63,l>127&&(a=l));break;case 3:c=t[i+1],d=t[i+2],(c&192)===128&&(d&192)===128&&(l=(o&15)<<12|(c&63)<<6|d&63,l>2047&&(l<55296||l>57343)&&(a=l));break;case 4:c=t[i+1],d=t[i+2],g=t[i+3],(c&192)===128&&(d&192)===128&&(g&192)===128&&(l=(o&15)<<18|(c&63)<<12|(d&63)<<6|g&63,l>65535&&l<1114112&&(a=l))}}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 Te(n)}var Tr=4096;function Te(t){var r=t.length;if(r<=Tr)return String.fromCharCode.apply(String,t);for(var e="",n=0;n<r;)e+=String.fromCharCode.apply(String,t.slice(n,n+=Tr));return e}function we(t,r,e){var n="";e=Math.min(t.length,e);for(var i=r;i<e;++i)n+=String.fromCharCode(t[i]&127);return n}function ve(t,r,e){var n="";e=Math.min(t.length,e);for(var i=r;i<e;++i)n+=String.fromCharCode(t[i]);return n}function be(t,r,e){var n=t.length;(!r||r<0)&&(r=0),(!e||e<0||e>n)&&(e=n);for(var i="",o=r;o<e;++o)i+=De[t[o]];return i}function Fe(t,r,e){for(var n=t.slice(r,e),i="",o=0;o<n.length-1;o+=2)i+=String.fromCharCode(n[o]+n[o+1]*256);return i}s.prototype.slice=function(r,e){var n=this.length;r=~~r,e=e===void 0?n:~~e,r<0?(r+=n,r<0&&(r=0)):r>n&&(r=n),e<0?(e+=n,e<0&&(e=0)):e>n&&(e=n),e<r&&(e=r);var i=this.subarray(r,e);return Object.setPrototypeOf(i,s.prototype),i};function x(t,r,e){if(t%1!==0||t<0)throw new RangeError("offset is not uint");if(t+r>e)throw new RangeError("Trying to access beyond buffer length")}s.prototype.readUintLE=s.prototype.readUIntLE=function(r,e,n){r=r>>>0,e=e>>>0,n||x(r,e,this.length);for(var i=this[r],o=1,a=0;++a<e&&(o*=256);)i+=this[r+a]*o;return i};s.prototype.readUintBE=s.prototype.readUIntBE=function(r,e,n){r=r>>>0,e=e>>>0,n||x(r,e,this.length);for(var i=this[r+--e],o=1;e>0&&(o*=256);)i+=this[r+--e]*o;return i};s.prototype.readUint8=s.prototype.readUInt8=function(r,e){return r=r>>>0,e||x(r,1,this.length),this[r]};s.prototype.readUint16LE=s.prototype.readUInt16LE=function(r,e){return r=r>>>0,e||x(r,2,this.length),this[r]|this[r+1]<<8};s.prototype.readUint16BE=s.prototype.readUInt16BE=function(r,e){return r=r>>>0,e||x(r,2,this.length),this[r]<<8|this[r+1]};s.prototype.readUint32LE=s.prototype.readUInt32LE=function(r,e){return r=r>>>0,e||x(r,4,this.length),(this[r]|this[r+1]<<8|this[r+2]<<16)+this[r+3]*16777216};s.prototype.readUint32BE=s.prototype.readUInt32BE=function(r,e){return r=r>>>0,e||x(r,4,this.length),this[r]*16777216+(this[r+1]<<16|this[r+2]<<8|this[r+3])};s.prototype.readIntLE=function(r,e,n){r=r>>>0,e=e>>>0,n||x(r,e,this.length);for(var i=this[r],o=1,a=0;++a<e&&(o*=256);)i+=this[r+a]*o;return o*=128,i>=o&&(i-=Math.pow(2,8*e)),i};s.prototype.readIntBE=function(r,e,n){r=r>>>0,e=e>>>0,n||x(r,e,this.length);for(var i=e,o=1,a=this[r+--i];i>0&&(o*=256);)a+=this[r+--i]*o;return o*=128,a>=o&&(a-=Math.pow(2,8*e)),a};s.prototype.readInt8=function(r,e){return r=r>>>0,e||x(r,1,this.length),this[r]&128?(255-this[r]+1)*-1:this[r]};s.prototype.readInt16LE=function(r,e){r=r>>>0,e||x(r,2,this.length);var n=this[r]|this[r+1]<<8;return n&32768?n|4294901760:n};s.prototype.readInt16BE=function(r,e){r=r>>>0,e||x(r,2,this.length);var n=this[r+1]|this[r]<<8;return n&32768?n|4294901760:n};s.prototype.readInt32LE=function(r,e){return r=r>>>0,e||x(r,4,this.length),this[r]|this[r+1]<<8|this[r+2]<<16|this[r+3]<<24};s.prototype.readInt32BE=function(r,e){return r=r>>>0,e||x(r,4,this.length),this[r]<<24|this[r+1]<<16|this[r+2]<<8|this[r+3]};s.prototype.readFloatLE=function(r,e){return r=r>>>0,e||x(r,4,this.length),L.read(this,r,!0,23,4)};s.prototype.readFloatBE=function(r,e){return r=r>>>0,e||x(r,4,this.length),L.read(this,r,!1,23,4)};s.prototype.readDoubleLE=function(r,e){return r=r>>>0,e||x(r,8,this.length),L.read(this,r,!0,52,8)};s.prototype.readDoubleBE=function(r,e){return r=r>>>0,e||x(r,8,this.length),L.read(this,r,!1,52,8)};function T(t,r,e,n,i,o){if(!s.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(r>i||r<o)throw new RangeError('"value" argument is out of bounds');if(e+n>t.length)throw new RangeError("Index out of range")}s.prototype.writeUintLE=s.prototype.writeUIntLE=function(r,e,n,i){if(r=+r,e=e>>>0,n=n>>>0,!i){var o=Math.pow(2,8*n)-1;T(this,r,e,n,o,0)}var a=1,p=0;for(this[e]=r&255;++p<n&&(a*=256);)this[e+p]=r/a&255;return e+n};s.prototype.writeUintBE=s.prototype.writeUIntBE=function(r,e,n,i){if(r=+r,e=e>>>0,n=n>>>0,!i){var o=Math.pow(2,8*n)-1;T(this,r,e,n,o,0)}var a=n-1,p=1;for(this[e+a]=r&255;--a>=0&&(p*=256);)this[e+a]=r/p&255;return e+n};s.prototype.writeUint8=s.prototype.writeUInt8=function(r,e,n){return r=+r,e=e>>>0,n||T(this,r,e,1,255,0),this[e]=r&255,e+1};s.prototype.writeUint16LE=s.prototype.writeUInt16LE=function(r,e,n){return r=+r,e=e>>>0,n||T(this,r,e,2,65535,0),this[e]=r&255,this[e+1]=r>>>8,e+2};s.prototype.writeUint16BE=s.prototype.writeUInt16BE=function(r,e,n){return r=+r,e=e>>>0,n||T(this,r,e,2,65535,0),this[e]=r>>>8,this[e+1]=r&255,e+2};s.prototype.writeUint32LE=s.prototype.writeUInt32LE=function(r,e,n){return r=+r,e=e>>>0,n||T(this,r,e,4,4294967295,0),this[e+3]=r>>>24,this[e+2]=r>>>16,this[e+1]=r>>>8,this[e]=r&255,e+4};s.prototype.writeUint32BE=s.prototype.writeUInt32BE=function(r,e,n){return r=+r,e=e>>>0,n||T(this,r,e,4,4294967295,0),this[e]=r>>>24,this[e+1]=r>>>16,this[e+2]=r>>>8,this[e+3]=r&255,e+4};s.prototype.writeIntLE=function(r,e,n,i){if(r=+r,e=e>>>0,!i){var o=Math.pow(2,8*n-1);T(this,r,e,n,o-1,-o)}var a=0,p=1,c=0;for(this[e]=r&255;++a<n&&(p*=256);)r<0&&c===0&&this[e+a-1]!==0&&(c=1),this[e+a]=(r/p>>0)-c&255;return e+n};s.prototype.writeIntBE=function(r,e,n,i){if(r=+r,e=e>>>0,!i){var o=Math.pow(2,8*n-1);T(this,r,e,n,o-1,-o)}var a=n-1,p=1,c=0;for(this[e+a]=r&255;--a>=0&&(p*=256);)r<0&&c===0&&this[e+a+1]!==0&&(c=1),this[e+a]=(r/p>>0)-c&255;return e+n};s.prototype.writeInt8=function(r,e,n){return r=+r,e=e>>>0,n||T(this,r,e,1,127,-128),r<0&&(r=255+r+1),this[e]=r&255,e+1};s.prototype.writeInt16LE=function(r,e,n){return r=+r,e=e>>>0,n||T(this,r,e,2,32767,-32768),this[e]=r&255,this[e+1]=r>>>8,e+2};s.prototype.writeInt16BE=function(r,e,n){return r=+r,e=e>>>0,n||T(this,r,e,2,32767,-32768),this[e]=r>>>8,this[e+1]=r&255,e+2};s.prototype.writeInt32LE=function(r,e,n){return r=+r,e=e>>>0,n||T(this,r,e,4,2147483647,-2147483648),this[e]=r&255,this[e+1]=r>>>8,this[e+2]=r>>>16,this[e+3]=r>>>24,e+4};s.prototype.writeInt32BE=function(r,e,n){return r=+r,e=e>>>0,n||T(this,r,e,4,2147483647,-2147483648),r<0&&(r=4294967295+r+1),this[e]=r>>>24,this[e+1]=r>>>16,this[e+2]=r>>>8,this[e+3]=r&255,e+4};function Sr(t,r,e,n,i,o){if(e+n>t.length)throw new RangeError("Index out of range");if(e<0)throw new RangeError("Index out of range")}function Ir(t,r,e,n,i){return r=+r,e=e>>>0,i||Sr(t,r,e,4,34028234663852886e22,-34028234663852886e22),L.write(t,r,e,n,23,4),e+4}s.prototype.writeFloatLE=function(r,e,n){return Ir(this,r,e,!0,n)};s.prototype.writeFloatBE=function(r,e,n){return Ir(this,r,e,!1,n)};function Br(t,r,e,n,i){return r=+r,e=e>>>0,i||Sr(t,r,e,8,17976931348623157e292,-17976931348623157e292),L.write(t,r,e,n,52,8),e+8}s.prototype.writeDoubleLE=function(r,e,n){return Br(this,r,e,!0,n)};s.prototype.writeDoubleBE=function(r,e,n){return Br(this,r,e,!1,n)};s.prototype.copy=function(r,e,n,i){if(!s.isBuffer(r))throw new TypeError("argument should be a Buffer");if(n||(n=0),!i&&i!==0&&(i=this.length),e>=r.length&&(e=r.length),e||(e=0),i>0&&i<n&&(i=n),i===n||r.length===0||this.length===0)return 0;if(e<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),r.length-e<i-n&&(i=r.length-e+n);var o=i-n;return this===r&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(e,n,i):Uint8Array.prototype.set.call(r,this.subarray(n,i),e),o};s.prototype.fill=function(r,e,n,i){if(typeof r=="string"){if(typeof e=="string"?(i=e,e=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"&&!s.isEncoding(i))throw new TypeError("Unknown encoding: "+i);if(r.length===1){var o=r.charCodeAt(0);(i==="utf8"&&o<128||i==="latin1")&&(r=o)}}else typeof r=="number"?r=r&255:typeof r=="boolean"&&(r=Number(r));if(e<0||this.length<e||this.length<n)throw new RangeError("Out of range index");if(n<=e)return this;e=e>>>0,n=n===void 0?this.length:n>>>0,r||(r=0);var a;if(typeof r=="number")for(a=e;a<n;++a)this[a]=r;else{var p=s.isBuffer(r)?r:s.from(r,i),c=p.length;if(c===0)throw new TypeError('The value "'+r+'" is invalid for argument "value"');for(a=0;a<n-e;++a)this[a+e]=p[a%c]}return this};var ke=/[^+/0-9A-Za-z-_]/g;function Se(t){if(t=t.split("=")[0],t=t.trim().replace(ke,""),t.length<2)return"";for(;t.length%4!==0;)t=t+"=";return t}function er(t,r){r=r||1/0;for(var e,n=t.length,i=null,o=[],a=0;a<n;++a){if(e=t.charCodeAt(a),e>55295&&e<57344){if(!i){if(e>56319){(r-=3)>-1&&o.push(239,191,189);continue}else if(a+1===n){(r-=3)>-1&&o.push(239,191,189);continue}i=e;continue}if(e<56320){(r-=3)>-1&&o.push(239,191,189),i=e;continue}e=(i-55296<<10|e-56320)+65536}else i&&(r-=3)>-1&&o.push(239,191,189);if(i=null,e<128){if((r-=1)<0)break;o.push(e)}else if(e<2048){if((r-=2)<0)break;o.push(e>>6|192,e&63|128)}else if(e<65536){if((r-=3)<0)break;o.push(e>>12|224,e>>6&63|128,e&63|128)}else if(e<1114112){if((r-=4)<0)break;o.push(e>>18|240,e>>12&63|128,e>>6&63|128,e&63|128)}else throw new Error("Invalid code point")}return o}function Ie(t){for(var r=[],e=0;e<t.length;++e)r.push(t.charCodeAt(e)&255);return r}function Be(t,r){for(var e,n,i,o=[],a=0;a<t.length&&!((r-=2)<0);++a)e=t.charCodeAt(a),n=e>>8,i=e%256,o.push(i),o.push(n);return o}function Dr(t){return Q.toByteArray(Se(t))}function Y(t,r,e,n){for(var i=0;i<n&&!(i+e>=r.length||i>=t.length);++i)r[i+e]=t[i];return i}function k(t,r){return t instanceof r||t!=null&&t.constructor!=null&&t.constructor.name!=null&&t.constructor.name===r.name}function ir(t){return t!==t}var De=function(){for(var t="0123456789abcdef",r=new Array(256),e=0;e<16;++e)for(var n=e*16,i=0;i<16;++i)r[n+i]=t[e]+t[i];return r}()});var _r=V((Ve,Ur)=>{u();var y=Ur.exports={},S,I;function or(){throw new Error("setTimeout has not been defined")}function ar(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?S=setTimeout:S=or}catch(t){S=or}try{typeof clearTimeout=="function"?I=clearTimeout:I=ar}catch(t){I=ar}})();function Rr(t){if(S===setTimeout)return setTimeout(t,0);if((S===or||!S)&&setTimeout)return S=setTimeout,setTimeout(t,0);try{return S(t,0)}catch(r){try{return S.call(null,t,0)}catch(e){return S.call(this,t,0)}}}function Ae(t){if(I===clearTimeout)return clearTimeout(t);if((I===ar||!I)&&clearTimeout)return I=clearTimeout,clearTimeout(t);try{return I(t)}catch(r){try{return I.call(null,t)}catch(e){return I.call(this,t)}}}var D=[],N=!1,U,z=-1;function Re(){!N||!U||(N=!1,U.length?D=U.concat(D):z=-1,D.length&&Cr())}function Cr(){if(!N){var t=Rr(Re);N=!0;for(var r=D.length;r;){for(U=D,D=[];++z<r;)U&&U[z].run();z=-1,r=D.length}U=null,N=!1,Ae(t)}}y.nextTick=function(t){var r=new Array(arguments.length-1);if(arguments.length>1)for(var e=1;e<arguments.length;e++)r[e-1]=arguments[e];D.push(new Er(t,r)),D.length===1&&!N&&Rr(Cr)};function Er(t,r){this.fun=t,this.array=r}Er.prototype.run=function(){this.fun.apply(null,this.array)};y.title="browser";y.browser=!0;y.env={};y.argv=[];y.version="";y.versions={};function A(){}y.on=A;y.addListener=A;y.once=A;y.off=A;y.removeListener=A;y.removeAllListeners=A;y.emit=A;y.prependListener=A;y.prependOnceListener=A;y.listeners=function(t){return[]};y.binding=function(t){throw new Error("process.binding is not supported")};y.cwd=function(){return"/"};y.chdir=function(t){throw new Error("process.chdir is not supported")};y.umask=function(){return 0}});var f,h,qe,u=Kr(()=>{f=j(Ar()),h=j(_r()),qe=function(t){function r(){var n=this||self;return delete t.prototype.__magic__,n}if(typeof globalThis=="object")return globalThis;if(this)return r();t.defineProperty(t.prototype,"__magic__",{configurable:!0,get:r});var e=__magic__;return e}(Object)});var Ne={};Jr(Ne,{useDataDecode:()=>Pe});module.exports=Qr(Ne);u();var $=require("react");u();u();u();u();u();u();var Ce=require("@multiversx/sdk-dapp-utils/out/constants/browserConstants"),W=require("@multiversx/sdk-dapp-utils/out/enums/windowProviderEnums");var Lr=(e=>(e.signTransactionsWithGuardianResponse="SIGN_TRANSACTIONS_WITH_GUARDIAN_RESPONSE",e.reloginRequest="RELOGIN_REQUEST",e))(Lr||{}),$e=G(G({},W.WindowProviderRequestEnums),Lr),Pr=(r=>(r.reloginResponse="RELOGIN_RESPONSE",r))(Pr||{}),je=G(G({},W.WindowProviderResponseEnums),Pr);u();u();u();var M=(i=>(i.raw="raw",i.text="text",i.decimal="decimal",i.smart="smart",i))(M||{});u();u();u();u();u();u();u();var Hr=require("@multiversx/sdk-core/out"),ur=j(require("bignumber.js"));u();var Nr=require("@multiversx/sdk-core");function Ee(t){try{let r=new Nr.Address(t);return Boolean(r.bech32())}catch(r){return!1}}function Wr(t){return(t==null?void 0:t.startsWith("erd"))&&t.length===62&&/^\w+$/.test(t)&&Ee(t)}u();u();u();u();function sr(t){for(let r=0;r<t.length;r++)if(t.charCodeAt(r)>127)return!1;return!0}u();u();var Mr=t=>/\d/.test(t);var R=(t,r,e)=>{try{switch(r){case"text":return Mr(t)?f.Buffer.from(t,"hex").toString("utf8"):t;case"decimal":return new ur.default(t,16).toString(10);case"smart":let i=Hr.Address.fromHex(t).toString();if(Wr(i))return i;let o=f.Buffer.from(t,"hex").toString("utf8");return sr(o)||e&&[...e.esdts,...e.nfts].some(c=>o.includes(c))?o:new ur.default(t,16).toString(10);case"raw":default:return t}}catch(n){return console.error(`Error during data decoding of "${t}" as "${r}"`,n),t}};u();u();var Ue=t=>t.toLowerCase().match(/[0-9a-f]/g),_e=t=>t.length%2===0,Gr=t=>{let r=[];return t&&!Ue(t)&&r.push(`Invalid Hex characters on argument @${t}`),t&&!_e(t)&&r.push(`Odd number of Hex characters on argument @${t}`),r};u();var X=({parts:t,decodedParts:r,identifier:e})=>{let n=[...r];if(t[0]==="ESDTNFTTransfer"&&t[2]&&(n[2]=R(t[2],"decimal")),e==="ESDTNFTTransfer"&&t[1]){let i=f.Buffer.from(String(t[1]),"base64");n[1]=R(i.toString("hex"),"decimal")}return n};var Vr=({parts:t,decodeMethod:r,identifier:e,display:n})=>{let i=t.map((o,a)=>{if(t.length>=2&&(a===0&&o.length<64||a===1&&!t[0]))return/[^a-z0-9]/gi.test(o)?R(o,r):o;{let p=Gr(o);return p.length&&(n.validationWarnings=Array.from(new Set([...n.validationWarnings,...p]))),R(o,r)}});return r==="smart"?X({parts:t,decodedParts:i,identifier:e}):i};var qr=({input:t,decodeMethod:r,identifier:e})=>{let n={displayValue:"",validationWarnings:[]};if(t.includes("@")){let i=t.split("@"),o=Vr({parts:i,identifier:e,decodeMethod:r,display:n});return n.displayValue=o.join("@"),n}if(t.includes(`
1
+ "use strict";var Yr=Object.create;var H=Object.defineProperty;var zr=Object.getOwnPropertyDescriptor;var Xr=Object.getOwnPropertyNames,pr=Object.getOwnPropertySymbols,$r=Object.getPrototypeOf,lr=Object.prototype.hasOwnProperty,jr=Object.prototype.propertyIsEnumerable;var cr=(t,r,e)=>r in t?H(t,r,{enumerable:!0,configurable:!0,writable:!0,value:e}):t[r]=e,G=(t,r)=>{for(var e in r||(r={}))lr.call(r,e)&&cr(t,e,r[e]);if(pr)for(var e of pr(r))jr.call(r,e)&&cr(t,e,r[e]);return t};var Kr=(t,r)=>()=>(t&&(r=t(t=0)),r);var V=(t,r)=>()=>(r||t((r={exports:{}}).exports,r),r.exports),Jr=(t,r)=>{for(var e in r)H(t,e,{get:r[e],enumerable:!0})},fr=(t,r,e,n)=>{if(r&&typeof r=="object"||typeof r=="function")for(let i of Xr(r))!lr.call(t,i)&&i!==e&&H(t,i,{get:()=>r[i],enumerable:!(n=zr(r,i))||n.enumerable});return t};var j=(t,r,e)=>(e=t!=null?Yr($r(t)):{},fr(r||!t||!t.__esModule?H(e,"default",{value:t,enumerable:!0}):e,t)),Qr=t=>fr(H({},"__esModule",{value:!0}),t);var hr=V(q=>{"use strict";u();q.byteLength=re;q.toByteArray=te;q.fromByteArray=oe;var F=[],v=[],Zr=typeof Uint8Array!="undefined"?Uint8Array:Array,K="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(C=0,dr=K.length;C<dr;++C)F[C]=K[C],v[K.charCodeAt(C)]=C;var C,dr;v["-".charCodeAt(0)]=62;v["_".charCodeAt(0)]=63;function gr(t){var r=t.length;if(r%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var e=t.indexOf("=");e===-1&&(e=r);var n=e===r?0:4-e%4;return[e,n]}function re(t){var r=gr(t),e=r[0],n=r[1];return(e+n)*3/4-n}function ee(t,r,e){return(r+e)*3/4-e}function te(t){var r,e=gr(t),n=e[0],i=e[1],o=new Zr(ee(t,n,i)),a=0,p=i>0?n-4:n,c;for(c=0;c<p;c+=4)r=v[t.charCodeAt(c)]<<18|v[t.charCodeAt(c+1)]<<12|v[t.charCodeAt(c+2)]<<6|v[t.charCodeAt(c+3)],o[a++]=r>>16&255,o[a++]=r>>8&255,o[a++]=r&255;return i===2&&(r=v[t.charCodeAt(c)]<<2|v[t.charCodeAt(c+1)]>>4,o[a++]=r&255),i===1&&(r=v[t.charCodeAt(c)]<<10|v[t.charCodeAt(c+1)]<<4|v[t.charCodeAt(c+2)]>>2,o[a++]=r>>8&255,o[a++]=r&255),o}function ne(t){return F[t>>18&63]+F[t>>12&63]+F[t>>6&63]+F[t&63]}function ie(t,r,e){for(var n,i=[],o=r;o<e;o+=3)n=(t[o]<<16&16711680)+(t[o+1]<<8&65280)+(t[o+2]&255),i.push(ne(n));return i.join("")}function oe(t){for(var r,e=t.length,n=e%3,i=[],o=16383,a=0,p=e-n;a<p;a+=o)i.push(ie(t,a,a+o>p?p:a+o));return n===1?(r=t[e-1],i.push(F[r>>2]+F[r<<4&63]+"==")):n===2&&(r=(t[e-2]<<8)+t[e-1],i.push(F[r>>10]+F[r>>4&63]+F[r<<2&63]+"=")),i.join("")}});var mr=V(J=>{u();J.read=function(t,r,e,n,i){var o,a,p=i*8-n-1,c=(1<<p)-1,d=c>>1,g=-7,l=e?i-1:0,b=e?-1:1,w=t[r+l];for(l+=b,o=w&(1<<-g)-1,w>>=-g,g+=p;g>0;o=o*256+t[r+l],l+=b,g-=8);for(a=o&(1<<-g)-1,o>>=-g,g+=n;g>0;a=a*256+t[r+l],l+=b,g-=8);if(o===0)o=1-d;else{if(o===c)return a?NaN:(w?-1:1)*(1/0);a=a+Math.pow(2,n),o=o-d}return(w?-1:1)*a*Math.pow(2,o-n)};J.write=function(t,r,e,n,i,o){var a,p,c,d=o*8-i-1,g=(1<<d)-1,l=g>>1,b=i===23?Math.pow(2,-24)-Math.pow(2,-77):0,w=n?0:o-1,_=n?1:-1,Or=r<0||r===0&&1/r<0?1:0;for(r=Math.abs(r),isNaN(r)||r===1/0?(p=isNaN(r)?1:0,a=g):(a=Math.floor(Math.log(r)/Math.LN2),r*(c=Math.pow(2,-a))<1&&(a--,c*=2),a+l>=1?r+=b/c:r+=b*Math.pow(2,1-l),r*c>=2&&(a++,c/=2),a+l>=g?(p=0,a=g):a+l>=1?(p=(r*c-1)*Math.pow(2,i),a=a+l):(p=r*Math.pow(2,l-1)*Math.pow(2,i),a=0));i>=8;t[e+w]=p&255,w+=_,p/=256,i-=8);for(a=a<<i|p,d+=i;d>0;t[e+w]=a&255,w+=_,a/=256,d-=8);t[e+w-_]|=Or*128}});var Ar=V(P=>{"use strict";u();var Q=hr(),L=mr(),yr=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;P.Buffer=s;P.SlowBuffer=le;P.INSPECT_MAX_BYTES=50;var O=2147483647;P.kMaxLength=O;s.TYPED_ARRAY_SUPPORT=ae();!s.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 ae(){try{var t=new Uint8Array(1),r={foo:function(){return 42}};return Object.setPrototypeOf(r,Uint8Array.prototype),Object.setPrototypeOf(t,r),t.foo()===42}catch(e){return!1}}Object.defineProperty(s.prototype,"parent",{enumerable:!0,get:function(){if(!!s.isBuffer(this))return this.buffer}});Object.defineProperty(s.prototype,"offset",{enumerable:!0,get:function(){if(!!s.isBuffer(this))return this.byteOffset}});function B(t){if(t>O)throw new RangeError('The value "'+t+'" is invalid for option "size"');var r=new Uint8Array(t);return Object.setPrototypeOf(r,s.prototype),r}function s(t,r,e){if(typeof t=="number"){if(typeof r=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return tr(t)}return wr(t,r,e)}s.poolSize=8192;function wr(t,r,e){if(typeof t=="string")return ue(t,r);if(ArrayBuffer.isView(t))return pe(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(k(t,ArrayBuffer)||t&&k(t.buffer,ArrayBuffer)||typeof SharedArrayBuffer!="undefined"&&(k(t,SharedArrayBuffer)||t&&k(t.buffer,SharedArrayBuffer)))return rr(t,r,e);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 s.from(n,r,e);var i=ce(t);if(i)return i;if(typeof Symbol!="undefined"&&Symbol.toPrimitive!=null&&typeof t[Symbol.toPrimitive]=="function")return s.from(t[Symbol.toPrimitive]("string"),r,e);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t)}s.from=function(t,r,e){return wr(t,r,e)};Object.setPrototypeOf(s.prototype,Uint8Array.prototype);Object.setPrototypeOf(s,Uint8Array);function vr(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 se(t,r,e){return vr(t),t<=0?B(t):r!==void 0?typeof e=="string"?B(t).fill(r,e):B(t).fill(r):B(t)}s.alloc=function(t,r,e){return se(t,r,e)};function tr(t){return vr(t),B(t<0?0:nr(t)|0)}s.allocUnsafe=function(t){return tr(t)};s.allocUnsafeSlow=function(t){return tr(t)};function ue(t,r){if((typeof r!="string"||r==="")&&(r="utf8"),!s.isEncoding(r))throw new TypeError("Unknown encoding: "+r);var e=br(t,r)|0,n=B(e),i=n.write(t,r);return i!==e&&(n=n.slice(0,i)),n}function Z(t){for(var r=t.length<0?0:nr(t.length)|0,e=B(r),n=0;n<r;n+=1)e[n]=t[n]&255;return e}function pe(t){if(k(t,Uint8Array)){var r=new Uint8Array(t);return rr(r.buffer,r.byteOffset,r.byteLength)}return Z(t)}function rr(t,r,e){if(r<0||t.byteLength<r)throw new RangeError('"offset" is outside of buffer bounds');if(t.byteLength<r+(e||0))throw new RangeError('"length" is outside of buffer bounds');var n;return r===void 0&&e===void 0?n=new Uint8Array(t):e===void 0?n=new Uint8Array(t,r):n=new Uint8Array(t,r,e),Object.setPrototypeOf(n,s.prototype),n}function ce(t){if(s.isBuffer(t)){var r=nr(t.length)|0,e=B(r);return e.length===0||t.copy(e,0,0,r),e}if(t.length!==void 0)return typeof t.length!="number"||ir(t.length)?B(0):Z(t);if(t.type==="Buffer"&&Array.isArray(t.data))return Z(t.data)}function nr(t){if(t>=O)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+O.toString(16)+" bytes");return t|0}function le(t){return+t!=t&&(t=0),s.alloc(+t)}s.isBuffer=function(r){return r!=null&&r._isBuffer===!0&&r!==s.prototype};s.compare=function(r,e){if(k(r,Uint8Array)&&(r=s.from(r,r.offset,r.byteLength)),k(e,Uint8Array)&&(e=s.from(e,e.offset,e.byteLength)),!s.isBuffer(r)||!s.isBuffer(e))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(r===e)return 0;for(var n=r.length,i=e.length,o=0,a=Math.min(n,i);o<a;++o)if(r[o]!==e[o]){n=r[o],i=e[o];break}return n<i?-1:i<n?1:0};s.isEncoding=function(r){switch(String(r).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}};s.concat=function(r,e){if(!Array.isArray(r))throw new TypeError('"list" argument must be an Array of Buffers');if(r.length===0)return s.alloc(0);var n;if(e===void 0)for(e=0,n=0;n<r.length;++n)e+=r[n].length;var i=s.allocUnsafe(e),o=0;for(n=0;n<r.length;++n){var a=r[n];if(k(a,Uint8Array))o+a.length>i.length?s.from(a).copy(i,o):Uint8Array.prototype.set.call(i,a,o);else if(s.isBuffer(a))a.copy(i,o);else throw new TypeError('"list" argument must be an Array of Buffers');o+=a.length}return i};function br(t,r){if(s.isBuffer(t))return t.length;if(ArrayBuffer.isView(t)||k(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 e=t.length,n=arguments.length>2&&arguments[2]===!0;if(!n&&e===0)return 0;for(var i=!1;;)switch(r){case"ascii":case"latin1":case"binary":return e;case"utf8":case"utf-8":return er(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return e*2;case"hex":return e>>>1;case"base64":return Dr(t).length;default:if(i)return n?-1:er(t).length;r=(""+r).toLowerCase(),i=!0}}s.byteLength=br;function fe(t,r,e){var n=!1;if((r===void 0||r<0)&&(r=0),r>this.length||((e===void 0||e>this.length)&&(e=this.length),e<=0)||(e>>>=0,r>>>=0,e<=r))return"";for(t||(t="utf8");;)switch(t){case"hex":return be(this,r,e);case"utf8":case"utf-8":return kr(this,r,e);case"ascii":return we(this,r,e);case"latin1":case"binary":return ve(this,r,e);case"base64":return xe(this,r,e);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Fe(this,r,e);default:if(n)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),n=!0}}s.prototype._isBuffer=!0;function E(t,r,e){var n=t[r];t[r]=t[e],t[e]=n}s.prototype.swap16=function(){var r=this.length;if(r%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var e=0;e<r;e+=2)E(this,e,e+1);return this};s.prototype.swap32=function(){var r=this.length;if(r%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var e=0;e<r;e+=4)E(this,e,e+3),E(this,e+1,e+2);return this};s.prototype.swap64=function(){var r=this.length;if(r%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var e=0;e<r;e+=8)E(this,e,e+7),E(this,e+1,e+6),E(this,e+2,e+5),E(this,e+3,e+4);return this};s.prototype.toString=function(){var r=this.length;return r===0?"":arguments.length===0?kr(this,0,r):fe.apply(this,arguments)};s.prototype.toLocaleString=s.prototype.toString;s.prototype.equals=function(r){if(!s.isBuffer(r))throw new TypeError("Argument must be a Buffer");return this===r?!0:s.compare(this,r)===0};s.prototype.inspect=function(){var r="",e=P.INSPECT_MAX_BYTES;return r=this.toString("hex",0,e).replace(/(.{2})/g,"$1 ").trim(),this.length>e&&(r+=" ... "),"<Buffer "+r+">"};yr&&(s.prototype[yr]=s.prototype.inspect);s.prototype.compare=function(r,e,n,i,o){if(k(r,Uint8Array)&&(r=s.from(r,r.offset,r.byteLength)),!s.isBuffer(r))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof r);if(e===void 0&&(e=0),n===void 0&&(n=r?r.length:0),i===void 0&&(i=0),o===void 0&&(o=this.length),e<0||n>r.length||i<0||o>this.length)throw new RangeError("out of range index");if(i>=o&&e>=n)return 0;if(i>=o)return-1;if(e>=n)return 1;if(e>>>=0,n>>>=0,i>>>=0,o>>>=0,this===r)return 0;for(var a=o-i,p=n-e,c=Math.min(a,p),d=this.slice(i,o),g=r.slice(e,n),l=0;l<c;++l)if(d[l]!==g[l]){a=d[l],p=g[l];break}return a<p?-1:p<a?1:0};function Fr(t,r,e,n,i){if(t.length===0)return-1;if(typeof e=="string"?(n=e,e=0):e>2147483647?e=2147483647:e<-2147483648&&(e=-2147483648),e=+e,ir(e)&&(e=i?0:t.length-1),e<0&&(e=t.length+e),e>=t.length){if(i)return-1;e=t.length-1}else if(e<0)if(i)e=0;else return-1;if(typeof r=="string"&&(r=s.from(r,n)),s.isBuffer(r))return r.length===0?-1:xr(t,r,e,n,i);if(typeof r=="number")return r=r&255,typeof Uint8Array.prototype.indexOf=="function"?i?Uint8Array.prototype.indexOf.call(t,r,e):Uint8Array.prototype.lastIndexOf.call(t,r,e):xr(t,[r],e,n,i);throw new TypeError("val must be string, number or Buffer")}function xr(t,r,e,n,i){var o=1,a=t.length,p=r.length;if(n!==void 0&&(n=String(n).toLowerCase(),n==="ucs2"||n==="ucs-2"||n==="utf16le"||n==="utf-16le")){if(t.length<2||r.length<2)return-1;o=2,a/=2,p/=2,e/=2}function c(w,_){return o===1?w[_]:w.readUInt16BE(_*o)}var d;if(i){var g=-1;for(d=e;d<a;d++)if(c(t,d)===c(r,g===-1?0:d-g)){if(g===-1&&(g=d),d-g+1===p)return g*o}else g!==-1&&(d-=d-g),g=-1}else for(e+p>a&&(e=a-p),d=e;d>=0;d--){for(var l=!0,b=0;b<p;b++)if(c(t,d+b)!==c(r,b)){l=!1;break}if(l)return d}return-1}s.prototype.includes=function(r,e,n){return this.indexOf(r,e,n)!==-1};s.prototype.indexOf=function(r,e,n){return Fr(this,r,e,n,!0)};s.prototype.lastIndexOf=function(r,e,n){return Fr(this,r,e,n,!1)};function de(t,r,e,n){e=Number(e)||0;var i=t.length-e;n?(n=Number(n),n>i&&(n=i)):n=i;var o=r.length;n>o/2&&(n=o/2);for(var a=0;a<n;++a){var p=parseInt(r.substr(a*2,2),16);if(ir(p))return a;t[e+a]=p}return a}function ge(t,r,e,n){return Y(er(r,t.length-e),t,e,n)}function he(t,r,e,n){return Y(Ie(r),t,e,n)}function me(t,r,e,n){return Y(Dr(r),t,e,n)}function ye(t,r,e,n){return Y(Be(r,t.length-e),t,e,n)}s.prototype.write=function(r,e,n,i){if(e===void 0)i="utf8",n=this.length,e=0;else if(n===void 0&&typeof e=="string")i=e,n=this.length,e=0;else if(isFinite(e))e=e>>>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-e;if((n===void 0||n>o)&&(n=o),r.length>0&&(n<0||e<0)||e>this.length)throw new RangeError("Attempt to write outside buffer bounds");i||(i="utf8");for(var a=!1;;)switch(i){case"hex":return de(this,r,e,n);case"utf8":case"utf-8":return ge(this,r,e,n);case"ascii":case"latin1":case"binary":return he(this,r,e,n);case"base64":return me(this,r,e,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return ye(this,r,e,n);default:if(a)throw new TypeError("Unknown encoding: "+i);i=(""+i).toLowerCase(),a=!0}};s.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function xe(t,r,e){return r===0&&e===t.length?Q.fromByteArray(t):Q.fromByteArray(t.slice(r,e))}function kr(t,r,e){e=Math.min(t.length,e);for(var n=[],i=r;i<e;){var o=t[i],a=null,p=o>239?4:o>223?3:o>191?2:1;if(i+p<=e){var c,d,g,l;switch(p){case 1:o<128&&(a=o);break;case 2:c=t[i+1],(c&192)===128&&(l=(o&31)<<6|c&63,l>127&&(a=l));break;case 3:c=t[i+1],d=t[i+2],(c&192)===128&&(d&192)===128&&(l=(o&15)<<12|(c&63)<<6|d&63,l>2047&&(l<55296||l>57343)&&(a=l));break;case 4:c=t[i+1],d=t[i+2],g=t[i+3],(c&192)===128&&(d&192)===128&&(g&192)===128&&(l=(o&15)<<18|(c&63)<<12|(d&63)<<6|g&63,l>65535&&l<1114112&&(a=l))}}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 Te(n)}var Tr=4096;function Te(t){var r=t.length;if(r<=Tr)return String.fromCharCode.apply(String,t);for(var e="",n=0;n<r;)e+=String.fromCharCode.apply(String,t.slice(n,n+=Tr));return e}function we(t,r,e){var n="";e=Math.min(t.length,e);for(var i=r;i<e;++i)n+=String.fromCharCode(t[i]&127);return n}function ve(t,r,e){var n="";e=Math.min(t.length,e);for(var i=r;i<e;++i)n+=String.fromCharCode(t[i]);return n}function be(t,r,e){var n=t.length;(!r||r<0)&&(r=0),(!e||e<0||e>n)&&(e=n);for(var i="",o=r;o<e;++o)i+=De[t[o]];return i}function Fe(t,r,e){for(var n=t.slice(r,e),i="",o=0;o<n.length-1;o+=2)i+=String.fromCharCode(n[o]+n[o+1]*256);return i}s.prototype.slice=function(r,e){var n=this.length;r=~~r,e=e===void 0?n:~~e,r<0?(r+=n,r<0&&(r=0)):r>n&&(r=n),e<0?(e+=n,e<0&&(e=0)):e>n&&(e=n),e<r&&(e=r);var i=this.subarray(r,e);return Object.setPrototypeOf(i,s.prototype),i};function x(t,r,e){if(t%1!==0||t<0)throw new RangeError("offset is not uint");if(t+r>e)throw new RangeError("Trying to access beyond buffer length")}s.prototype.readUintLE=s.prototype.readUIntLE=function(r,e,n){r=r>>>0,e=e>>>0,n||x(r,e,this.length);for(var i=this[r],o=1,a=0;++a<e&&(o*=256);)i+=this[r+a]*o;return i};s.prototype.readUintBE=s.prototype.readUIntBE=function(r,e,n){r=r>>>0,e=e>>>0,n||x(r,e,this.length);for(var i=this[r+--e],o=1;e>0&&(o*=256);)i+=this[r+--e]*o;return i};s.prototype.readUint8=s.prototype.readUInt8=function(r,e){return r=r>>>0,e||x(r,1,this.length),this[r]};s.prototype.readUint16LE=s.prototype.readUInt16LE=function(r,e){return r=r>>>0,e||x(r,2,this.length),this[r]|this[r+1]<<8};s.prototype.readUint16BE=s.prototype.readUInt16BE=function(r,e){return r=r>>>0,e||x(r,2,this.length),this[r]<<8|this[r+1]};s.prototype.readUint32LE=s.prototype.readUInt32LE=function(r,e){return r=r>>>0,e||x(r,4,this.length),(this[r]|this[r+1]<<8|this[r+2]<<16)+this[r+3]*16777216};s.prototype.readUint32BE=s.prototype.readUInt32BE=function(r,e){return r=r>>>0,e||x(r,4,this.length),this[r]*16777216+(this[r+1]<<16|this[r+2]<<8|this[r+3])};s.prototype.readIntLE=function(r,e,n){r=r>>>0,e=e>>>0,n||x(r,e,this.length);for(var i=this[r],o=1,a=0;++a<e&&(o*=256);)i+=this[r+a]*o;return o*=128,i>=o&&(i-=Math.pow(2,8*e)),i};s.prototype.readIntBE=function(r,e,n){r=r>>>0,e=e>>>0,n||x(r,e,this.length);for(var i=e,o=1,a=this[r+--i];i>0&&(o*=256);)a+=this[r+--i]*o;return o*=128,a>=o&&(a-=Math.pow(2,8*e)),a};s.prototype.readInt8=function(r,e){return r=r>>>0,e||x(r,1,this.length),this[r]&128?(255-this[r]+1)*-1:this[r]};s.prototype.readInt16LE=function(r,e){r=r>>>0,e||x(r,2,this.length);var n=this[r]|this[r+1]<<8;return n&32768?n|4294901760:n};s.prototype.readInt16BE=function(r,e){r=r>>>0,e||x(r,2,this.length);var n=this[r+1]|this[r]<<8;return n&32768?n|4294901760:n};s.prototype.readInt32LE=function(r,e){return r=r>>>0,e||x(r,4,this.length),this[r]|this[r+1]<<8|this[r+2]<<16|this[r+3]<<24};s.prototype.readInt32BE=function(r,e){return r=r>>>0,e||x(r,4,this.length),this[r]<<24|this[r+1]<<16|this[r+2]<<8|this[r+3]};s.prototype.readFloatLE=function(r,e){return r=r>>>0,e||x(r,4,this.length),L.read(this,r,!0,23,4)};s.prototype.readFloatBE=function(r,e){return r=r>>>0,e||x(r,4,this.length),L.read(this,r,!1,23,4)};s.prototype.readDoubleLE=function(r,e){return r=r>>>0,e||x(r,8,this.length),L.read(this,r,!0,52,8)};s.prototype.readDoubleBE=function(r,e){return r=r>>>0,e||x(r,8,this.length),L.read(this,r,!1,52,8)};function T(t,r,e,n,i,o){if(!s.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(r>i||r<o)throw new RangeError('"value" argument is out of bounds');if(e+n>t.length)throw new RangeError("Index out of range")}s.prototype.writeUintLE=s.prototype.writeUIntLE=function(r,e,n,i){if(r=+r,e=e>>>0,n=n>>>0,!i){var o=Math.pow(2,8*n)-1;T(this,r,e,n,o,0)}var a=1,p=0;for(this[e]=r&255;++p<n&&(a*=256);)this[e+p]=r/a&255;return e+n};s.prototype.writeUintBE=s.prototype.writeUIntBE=function(r,e,n,i){if(r=+r,e=e>>>0,n=n>>>0,!i){var o=Math.pow(2,8*n)-1;T(this,r,e,n,o,0)}var a=n-1,p=1;for(this[e+a]=r&255;--a>=0&&(p*=256);)this[e+a]=r/p&255;return e+n};s.prototype.writeUint8=s.prototype.writeUInt8=function(r,e,n){return r=+r,e=e>>>0,n||T(this,r,e,1,255,0),this[e]=r&255,e+1};s.prototype.writeUint16LE=s.prototype.writeUInt16LE=function(r,e,n){return r=+r,e=e>>>0,n||T(this,r,e,2,65535,0),this[e]=r&255,this[e+1]=r>>>8,e+2};s.prototype.writeUint16BE=s.prototype.writeUInt16BE=function(r,e,n){return r=+r,e=e>>>0,n||T(this,r,e,2,65535,0),this[e]=r>>>8,this[e+1]=r&255,e+2};s.prototype.writeUint32LE=s.prototype.writeUInt32LE=function(r,e,n){return r=+r,e=e>>>0,n||T(this,r,e,4,4294967295,0),this[e+3]=r>>>24,this[e+2]=r>>>16,this[e+1]=r>>>8,this[e]=r&255,e+4};s.prototype.writeUint32BE=s.prototype.writeUInt32BE=function(r,e,n){return r=+r,e=e>>>0,n||T(this,r,e,4,4294967295,0),this[e]=r>>>24,this[e+1]=r>>>16,this[e+2]=r>>>8,this[e+3]=r&255,e+4};s.prototype.writeIntLE=function(r,e,n,i){if(r=+r,e=e>>>0,!i){var o=Math.pow(2,8*n-1);T(this,r,e,n,o-1,-o)}var a=0,p=1,c=0;for(this[e]=r&255;++a<n&&(p*=256);)r<0&&c===0&&this[e+a-1]!==0&&(c=1),this[e+a]=(r/p>>0)-c&255;return e+n};s.prototype.writeIntBE=function(r,e,n,i){if(r=+r,e=e>>>0,!i){var o=Math.pow(2,8*n-1);T(this,r,e,n,o-1,-o)}var a=n-1,p=1,c=0;for(this[e+a]=r&255;--a>=0&&(p*=256);)r<0&&c===0&&this[e+a+1]!==0&&(c=1),this[e+a]=(r/p>>0)-c&255;return e+n};s.prototype.writeInt8=function(r,e,n){return r=+r,e=e>>>0,n||T(this,r,e,1,127,-128),r<0&&(r=255+r+1),this[e]=r&255,e+1};s.prototype.writeInt16LE=function(r,e,n){return r=+r,e=e>>>0,n||T(this,r,e,2,32767,-32768),this[e]=r&255,this[e+1]=r>>>8,e+2};s.prototype.writeInt16BE=function(r,e,n){return r=+r,e=e>>>0,n||T(this,r,e,2,32767,-32768),this[e]=r>>>8,this[e+1]=r&255,e+2};s.prototype.writeInt32LE=function(r,e,n){return r=+r,e=e>>>0,n||T(this,r,e,4,2147483647,-2147483648),this[e]=r&255,this[e+1]=r>>>8,this[e+2]=r>>>16,this[e+3]=r>>>24,e+4};s.prototype.writeInt32BE=function(r,e,n){return r=+r,e=e>>>0,n||T(this,r,e,4,2147483647,-2147483648),r<0&&(r=4294967295+r+1),this[e]=r>>>24,this[e+1]=r>>>16,this[e+2]=r>>>8,this[e+3]=r&255,e+4};function Sr(t,r,e,n,i,o){if(e+n>t.length)throw new RangeError("Index out of range");if(e<0)throw new RangeError("Index out of range")}function Ir(t,r,e,n,i){return r=+r,e=e>>>0,i||Sr(t,r,e,4,34028234663852886e22,-34028234663852886e22),L.write(t,r,e,n,23,4),e+4}s.prototype.writeFloatLE=function(r,e,n){return Ir(this,r,e,!0,n)};s.prototype.writeFloatBE=function(r,e,n){return Ir(this,r,e,!1,n)};function Br(t,r,e,n,i){return r=+r,e=e>>>0,i||Sr(t,r,e,8,17976931348623157e292,-17976931348623157e292),L.write(t,r,e,n,52,8),e+8}s.prototype.writeDoubleLE=function(r,e,n){return Br(this,r,e,!0,n)};s.prototype.writeDoubleBE=function(r,e,n){return Br(this,r,e,!1,n)};s.prototype.copy=function(r,e,n,i){if(!s.isBuffer(r))throw new TypeError("argument should be a Buffer");if(n||(n=0),!i&&i!==0&&(i=this.length),e>=r.length&&(e=r.length),e||(e=0),i>0&&i<n&&(i=n),i===n||r.length===0||this.length===0)return 0;if(e<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),r.length-e<i-n&&(i=r.length-e+n);var o=i-n;return this===r&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(e,n,i):Uint8Array.prototype.set.call(r,this.subarray(n,i),e),o};s.prototype.fill=function(r,e,n,i){if(typeof r=="string"){if(typeof e=="string"?(i=e,e=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"&&!s.isEncoding(i))throw new TypeError("Unknown encoding: "+i);if(r.length===1){var o=r.charCodeAt(0);(i==="utf8"&&o<128||i==="latin1")&&(r=o)}}else typeof r=="number"?r=r&255:typeof r=="boolean"&&(r=Number(r));if(e<0||this.length<e||this.length<n)throw new RangeError("Out of range index");if(n<=e)return this;e=e>>>0,n=n===void 0?this.length:n>>>0,r||(r=0);var a;if(typeof r=="number")for(a=e;a<n;++a)this[a]=r;else{var p=s.isBuffer(r)?r:s.from(r,i),c=p.length;if(c===0)throw new TypeError('The value "'+r+'" is invalid for argument "value"');for(a=0;a<n-e;++a)this[a+e]=p[a%c]}return this};var ke=/[^+/0-9A-Za-z-_]/g;function Se(t){if(t=t.split("=")[0],t=t.trim().replace(ke,""),t.length<2)return"";for(;t.length%4!==0;)t=t+"=";return t}function er(t,r){r=r||1/0;for(var e,n=t.length,i=null,o=[],a=0;a<n;++a){if(e=t.charCodeAt(a),e>55295&&e<57344){if(!i){if(e>56319){(r-=3)>-1&&o.push(239,191,189);continue}else if(a+1===n){(r-=3)>-1&&o.push(239,191,189);continue}i=e;continue}if(e<56320){(r-=3)>-1&&o.push(239,191,189),i=e;continue}e=(i-55296<<10|e-56320)+65536}else i&&(r-=3)>-1&&o.push(239,191,189);if(i=null,e<128){if((r-=1)<0)break;o.push(e)}else if(e<2048){if((r-=2)<0)break;o.push(e>>6|192,e&63|128)}else if(e<65536){if((r-=3)<0)break;o.push(e>>12|224,e>>6&63|128,e&63|128)}else if(e<1114112){if((r-=4)<0)break;o.push(e>>18|240,e>>12&63|128,e>>6&63|128,e&63|128)}else throw new Error("Invalid code point")}return o}function Ie(t){for(var r=[],e=0;e<t.length;++e)r.push(t.charCodeAt(e)&255);return r}function Be(t,r){for(var e,n,i,o=[],a=0;a<t.length&&!((r-=2)<0);++a)e=t.charCodeAt(a),n=e>>8,i=e%256,o.push(i),o.push(n);return o}function Dr(t){return Q.toByteArray(Se(t))}function Y(t,r,e,n){for(var i=0;i<n&&!(i+e>=r.length||i>=t.length);++i)r[i+e]=t[i];return i}function k(t,r){return t instanceof r||t!=null&&t.constructor!=null&&t.constructor.name!=null&&t.constructor.name===r.name}function ir(t){return t!==t}var De=function(){for(var t="0123456789abcdef",r=new Array(256),e=0;e<16;++e)for(var n=e*16,i=0;i<16;++i)r[n+i]=t[e]+t[i];return r}()});var _r=V((Ve,Ur)=>{u();var y=Ur.exports={},S,I;function or(){throw new Error("setTimeout has not been defined")}function ar(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?S=setTimeout:S=or}catch(t){S=or}try{typeof clearTimeout=="function"?I=clearTimeout:I=ar}catch(t){I=ar}})();function Rr(t){if(S===setTimeout)return setTimeout(t,0);if((S===or||!S)&&setTimeout)return S=setTimeout,setTimeout(t,0);try{return S(t,0)}catch(r){try{return S.call(null,t,0)}catch(e){return S.call(this,t,0)}}}function Ae(t){if(I===clearTimeout)return clearTimeout(t);if((I===ar||!I)&&clearTimeout)return I=clearTimeout,clearTimeout(t);try{return I(t)}catch(r){try{return I.call(null,t)}catch(e){return I.call(this,t)}}}var D=[],N=!1,U,z=-1;function Re(){!N||!U||(N=!1,U.length?D=U.concat(D):z=-1,D.length&&Cr())}function Cr(){if(!N){var t=Rr(Re);N=!0;for(var r=D.length;r;){for(U=D,D=[];++z<r;)U&&U[z].run();z=-1,r=D.length}U=null,N=!1,Ae(t)}}y.nextTick=function(t){var r=new Array(arguments.length-1);if(arguments.length>1)for(var e=1;e<arguments.length;e++)r[e-1]=arguments[e];D.push(new Er(t,r)),D.length===1&&!N&&Rr(Cr)};function Er(t,r){this.fun=t,this.array=r}Er.prototype.run=function(){this.fun.apply(null,this.array)};y.title="browser";y.browser=!0;y.env={};y.argv=[];y.version="";y.versions={};function A(){}y.on=A;y.addListener=A;y.once=A;y.off=A;y.removeListener=A;y.removeAllListeners=A;y.emit=A;y.prependListener=A;y.prependOnceListener=A;y.listeners=function(t){return[]};y.binding=function(t){throw new Error("process.binding is not supported")};y.cwd=function(){return"/"};y.chdir=function(t){throw new Error("process.chdir is not supported")};y.umask=function(){return 0}});var f,h,qe,u=Kr(()=>{f=j(Ar()),h=j(_r()),qe=function(t){function r(){var n=this||self;return delete t.prototype.__magic__,n}if(typeof globalThis=="object")return globalThis;if(this)return r();t.defineProperty(t.prototype,"__magic__",{configurable:!0,get:r});var e=__magic__;return e}(Object)});var Ne={};Jr(Ne,{useDataDecode:()=>Pe});module.exports=Qr(Ne);u();var $=require("react");u();u();u();u();u();u();var Ce=require("@multiversx/sdk-dapp-utils/out/constants/browserConstants"),M=require("@multiversx/sdk-dapp-utils/out/enums/windowProviderEnums");var Lr=(e=>(e.signTransactionsWithGuardianResponse="SIGN_TRANSACTIONS_WITH_GUARDIAN_RESPONSE",e.reloginRequest="RELOGIN_REQUEST",e))(Lr||{}),$e=G(G({},M.WindowProviderRequestEnums),Lr),Pr=(r=>(r.reloginResponse="RELOGIN_RESPONSE",r))(Pr||{}),je=G(G({},M.WindowProviderResponseEnums),Pr);u();u();u();var W=(i=>(i.raw="raw",i.text="text",i.decimal="decimal",i.smart="smart",i))(W||{});u();u();u();u();u();u();u();var Hr=require("@multiversx/sdk-core/out"),ur=j(require("bignumber.js"));u();var Nr=require("@multiversx/sdk-core");function Ee(t){try{let r=new Nr.Address(t);return Boolean(r.bech32())}catch(r){return!1}}function Mr(t){return(t==null?void 0:t.length)===62&&/^\w+$/.test(t)&&Ee(t)}u();u();u();u();function sr(t){for(let r=0;r<t.length;r++)if(t.charCodeAt(r)>127)return!1;return!0}u();u();var Wr=t=>/\d/.test(t);var R=(t,r,e)=>{try{switch(r){case"text":return Wr(t)?f.Buffer.from(t,"hex").toString("utf8"):t;case"decimal":return new ur.default(t,16).toString(10);case"smart":let i=Hr.Address.fromHex(t).toString();if(Mr(i))return i;let o=f.Buffer.from(t,"hex").toString("utf8");return sr(o)||e&&[...e.esdts,...e.nfts].some(c=>o.includes(c))?o:new ur.default(t,16).toString(10);case"raw":default:return t}}catch(n){return console.error(`Error during data decoding of "${t}" as "${r}"`,n),t}};u();u();var Ue=t=>t.toLowerCase().match(/[0-9a-f]/g),_e=t=>t.length%2===0,Gr=t=>{let r=[];return t&&!Ue(t)&&r.push(`Invalid Hex characters on argument @${t}`),t&&!_e(t)&&r.push(`Odd number of Hex characters on argument @${t}`),r};u();var X=({parts:t,decodedParts:r,identifier:e})=>{let n=[...r];if(t[0]==="ESDTNFTTransfer"&&t[2]&&(n[2]=R(t[2],"decimal")),e==="ESDTNFTTransfer"&&t[1]){let i=f.Buffer.from(String(t[1]),"base64");n[1]=R(i.toString("hex"),"decimal")}return n};var Vr=({parts:t,decodeMethod:r,identifier:e,display:n})=>{let i=t.map((o,a)=>{if(t.length>=2&&(a===0&&o.length<64||a===1&&!t[0]))return/[^a-z0-9]/gi.test(o)?R(o,r):o;{let p=Gr(o);return p.length&&(n.validationWarnings=Array.from(new Set([...n.validationWarnings,...p]))),R(o,r)}});return r==="smart"?X({parts:t,decodedParts:i,identifier:e}):i};var qr=({input:t,decodeMethod:r,identifier:e})=>{let n={displayValue:"",validationWarnings:[]};if(t.includes("@")){let i=t.split("@"),o=Vr({parts:i,identifier:e,decodeMethod:r,display:n});return n.displayValue=o.join("@"),n}if(t.includes(`
2
2
  `)){let i=t.split(`
3
3
  `),o=i.map(p=>{let c=f.Buffer.from(String(p),"base64");return r==="raw"?p:R(c.toString("hex"),r)}),a=r==="smart"?X({parts:i,decodedParts:o,identifier:e}):o;return n.displayValue=a.join(`
4
- `),n}return n.displayValue=R(t,r),n};var Le=[{label:"Raw",value:"raw"},{label:"Text",value:"text"},{label:"Decimal",value:"decimal"},{label:"Smart",value:"smart"}],Pe=({value:t,initialDecodeMethod:r,setDecodeMethod:e,identifier:n})=>{let[i,o]=(0,$.useState)(r&&Object.values(M).includes(r)?r:"raw"),{displayValue:a,validationWarnings:p}=qr({input:t,decodeMethod:i,identifier:n});return(0,$.useEffect)(()=>{e&&e(i)},[i]),{displayValue:a,validationWarnings:p,setActiveKey:o,decodeOptions:Le}};0&&(module.exports={useDataDecode});
4
+ `),n}return n.displayValue=R(t,r),n};var Le=[{label:"Raw",value:"raw"},{label:"Text",value:"text"},{label:"Decimal",value:"decimal"},{label:"Smart",value:"smart"}],Pe=({value:t,initialDecodeMethod:r,setDecodeMethod:e,identifier:n})=>{let[i,o]=(0,$.useState)(r&&Object.values(W).includes(r)?r:"raw"),{displayValue:a,validationWarnings:p}=qr({input:t,decodeMethod:i,identifier:n});return(0,$.useEffect)(()=>{e&&e(i)},[i]),{displayValue:a,validationWarnings:p,setActiveKey:o,decodeOptions:Le}};0&&(module.exports={useDataDecode});
5
5
  /*!
6
6
  * The buffer module from node.js, for the browser.
7
7
  *