@multiversx/sdk-dapp 3.0.17 → 3.0.18

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 (1012) hide show
  1. package/UI/DappModal/components/DappModal.js +1 -1
  2. package/UI/DappModal/components/index.js +1 -1
  3. package/UI/DappModal/index.js +1 -1
  4. package/UI/Denominate/index.js +1 -1
  5. package/UI/ExplorerLink/ExplorerLink.js +1 -1
  6. package/UI/ExplorerLink/index.js +1 -1
  7. package/UI/FormatAmount/FormatAmount.js +1 -1
  8. package/UI/FormatAmount/index.js +1 -1
  9. package/UI/ModalContainer/ModalContainer.js +1 -1
  10. package/UI/ModalContainer/index.js +1 -1
  11. package/UI/NotificationModal/NotificationModal.js +1 -1
  12. package/UI/NotificationModal/index.js +1 -1
  13. package/UI/SignTransactionsModals/SignTransactionsModals.js +1 -1
  14. package/UI/SignTransactionsModals/SignWithCrossWindowWalletModal/SignWithCrossWindowWalletModal.js +1 -1
  15. package/UI/SignTransactionsModals/SignWithCrossWindowWalletModal/index.js +1 -1
  16. package/UI/SignTransactionsModals/SignWithDeviceModal/SignStep.js +1 -1
  17. package/UI/SignTransactionsModals/SignWithDeviceModal/SignWithDeviceModal.js +1 -1
  18. package/UI/SignTransactionsModals/SignWithDeviceModal/components/SignStepBody.js +1 -1
  19. package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmAmount/ConfirmAmount.js +1 -1
  20. package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmAmount/components/ConfirmAmountData/ConfirmAmountData.js +1 -1
  21. package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmAmount/components/ConfirmAmountData/index.js +1 -1
  22. package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmAmount/components/ConfirmAmountLabel/ConfirmAmountLabel.js +1 -1
  23. package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmAmount/components/ConfirmAmountLabel/index.js +1 -1
  24. package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmAmount/components/ConfirmAmountNftSft/ConfirmAmountNftSft.js +1 -1
  25. package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmAmount/components/ConfirmAmountNftSft/index.js +1 -1
  26. package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmAmount/components/index.js +1 -1
  27. package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmAmount/index.js +1 -1
  28. package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmFee/ConfirmFee.js +1 -1
  29. package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmFee/index.js +1 -1
  30. package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmReceiver/ConfirmReceiver.js +1 -1
  31. package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmReceiver/index.js +1 -1
  32. package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/index.js +1 -1
  33. package/UI/SignTransactionsModals/SignWithDeviceModal/components/index.js +1 -1
  34. package/UI/SignTransactionsModals/SignWithDeviceModal/index.js +1 -1
  35. package/UI/SignTransactionsModals/SignWithExtensionModal/SignWithExtensionModal.js +1 -1
  36. package/UI/SignTransactionsModals/SignWithExtensionModal/index.js +1 -1
  37. package/UI/SignTransactionsModals/SignWithExtraModal/SignWithExtraModal.js +1 -1
  38. package/UI/SignTransactionsModals/SignWithExtraModal/index.js +1 -1
  39. package/UI/SignTransactionsModals/SignWithIframeModal/SignWithIframeModal.js +1 -1
  40. package/UI/SignTransactionsModals/SignWithIframeModal/index.js +1 -1
  41. package/UI/SignTransactionsModals/SignWithLedgerModal/LedgerGuardianSigningModalError.js +1 -1
  42. package/UI/SignTransactionsModals/SignWithLedgerModal/SignWithLedgerModal.js +1 -1
  43. package/UI/SignTransactionsModals/SignWithLedgerModal/index.js +1 -1
  44. package/UI/SignTransactionsModals/SignWithMetamaskModal/SignWithMetamaskModal.js +1 -1
  45. package/UI/SignTransactionsModals/SignWithMetamaskModal/index.js +1 -1
  46. package/UI/SignTransactionsModals/SignWithOperaModal/SignWithOperaModal.js +1 -1
  47. package/UI/SignTransactionsModals/SignWithOperaModal/index.js +1 -1
  48. package/UI/SignTransactionsModals/SignWithPasskeyModal/SignWithPasskeyModal.js +1 -1
  49. package/UI/SignTransactionsModals/SignWithPasskeyModal/index.js +1 -1
  50. package/UI/SignTransactionsModals/SignWithWalletConnectModal/SignWithWalletConnectModal.js +1 -1
  51. package/UI/SignTransactionsModals/SignWithWalletConnectModal/index.js +1 -1
  52. package/UI/SignTransactionsModals/components/ConfirmationScreen.js +1 -1
  53. package/UI/SignTransactionsModals/components/DeviceConfirmationScreen.js +1 -1
  54. package/UI/SignTransactionsModals/components/SignWaitingScreenModal/SignWaitingScreenModal.js +1 -1
  55. package/UI/SignTransactionsModals/components/SignWaitingScreenModal/index.js +1 -1
  56. package/UI/SignTransactionsModals/components/TransactionStatusToast.js +1 -1
  57. package/UI/SignTransactionsModals/components/index.js +1 -1
  58. package/UI/SignTransactionsModals/index.js +1 -1
  59. package/UI/TokenDetails/index.js +1 -1
  60. package/UI/TransactionData/TransactionData.js +1 -1
  61. package/UI/TransactionData/components/TransactionDataDecode.js +1 -1
  62. package/UI/TransactionData/components/index.js +1 -1
  63. package/UI/TransactionData/index.js +1 -1
  64. package/UI/TransactionDetails/TransactionDetails.js +1 -1
  65. package/UI/TransactionDetails/components/TransactionDetailsBody.js +1 -1
  66. package/UI/TransactionDetails/components/index.js +1 -1
  67. package/UI/TransactionDetails/index.js +1 -1
  68. package/UI/TransactionInfo/TransactionInfo.js +1 -1
  69. package/UI/TransactionInfo/components/AddressDetailItem/AddressDetailitem.js +1 -1
  70. package/UI/TransactionInfo/components/AddressDetailItem/index.js +1 -1
  71. package/UI/TransactionInfo/components/DataDecode/DataDecode.js +1 -1
  72. package/UI/TransactionInfo/components/DataDecode/index.js +1 -1
  73. package/UI/TransactionInfo/components/DataField/DataField.js +1 -1
  74. package/UI/TransactionInfo/components/DataField/components/ModalLink/ModalLink.js +1 -1
  75. package/UI/TransactionInfo/components/DataField/components/ModalLink/index.js +1 -1
  76. package/UI/TransactionInfo/components/DataField/components/index.js +1 -1
  77. package/UI/TransactionInfo/components/DataField/index.js +1 -1
  78. package/UI/TransactionInfo/components/EventsList/EventsList.js +1 -1
  79. package/UI/TransactionInfo/components/EventsList/index.js +1 -1
  80. package/UI/TransactionInfo/components/NonceMessage/NonceMessage.js +1 -1
  81. package/UI/TransactionInfo/components/NonceMessage/index.js +1 -1
  82. package/UI/TransactionInfo/components/OperationsList/OperationList.js +1 -1
  83. package/UI/TransactionInfo/components/OperationsList/components/DetailedItem.js +1 -1
  84. package/UI/TransactionInfo/components/OperationsList/components/OperationBlock.js +1 -1
  85. package/UI/TransactionInfo/components/OperationsList/components/OperationRow.js +1 -1
  86. package/UI/TransactionInfo/components/OperationsList/components/OperationText.js +1 -1
  87. package/UI/TransactionInfo/components/OperationsList/components/OperationToken.js +1 -1
  88. package/UI/TransactionInfo/components/OperationsList/components/index.js +1 -1
  89. package/UI/TransactionInfo/components/OperationsList/index.js +1 -1
  90. package/UI/TransactionInfo/components/ScResultsList/ScResultsList.js +1 -1
  91. package/UI/TransactionInfo/components/ScResultsList/components/ResultData/ResultData.js +1 -1
  92. package/UI/TransactionInfo/components/ScResultsList/components/ResultData/index.js +1 -1
  93. package/UI/TransactionInfo/components/ScResultsList/components/ResultHash/ResultHash.js +1 -1
  94. package/UI/TransactionInfo/components/ScResultsList/components/ResultHash/index.js +1 -1
  95. package/UI/TransactionInfo/components/ScResultsList/components/ResultReceiver/ResultReceiver.js +1 -1
  96. package/UI/TransactionInfo/components/ScResultsList/components/ResultReceiver/index.js +1 -1
  97. package/UI/TransactionInfo/components/ScResultsList/components/ResultSender/ResultSender.js +1 -1
  98. package/UI/TransactionInfo/components/ScResultsList/components/ResultSender/index.js +1 -1
  99. package/UI/TransactionInfo/components/ScResultsList/index.js +1 -1
  100. package/UI/TransactionInfo/components/ScrDetailItem/ScrDetailItem.js +1 -1
  101. package/UI/TransactionInfo/components/ScrDetailItem/index.js +1 -1
  102. package/UI/TransactionInfo/components/TransactionAction/TransactionAction.js +1 -1
  103. package/UI/TransactionInfo/components/TransactionAction/components/ActionText/index.js +1 -1
  104. package/UI/TransactionInfo/components/TransactionAction/components/ActionToken.js +1 -1
  105. package/UI/TransactionInfo/components/TransactionAction/components/TransactionActionBlock/components/TransactionActionCollection.js +1 -1
  106. package/UI/TransactionInfo/components/TransactionAction/components/TransactionActionBlock/components/TransactionActionNft.js +1 -1
  107. package/UI/TransactionInfo/components/TransactionAction/components/TransactionActionBlock/components/TransactionActionToken.js +1 -1
  108. package/UI/TransactionInfo/components/TransactionAction/components/TransactionActionBlock/components/index.js +1 -1
  109. package/UI/TransactionInfo/components/TransactionAction/components/TransactionActionBlock/index.js +1 -1
  110. package/UI/TransactionInfo/components/TransactionAction/components/index.js +1 -1
  111. package/UI/TransactionInfo/components/TransactionAction/index.js +1 -1
  112. package/UI/TransactionInfo/components/TransactionLogs/TransactionLogs.js +1 -1
  113. package/UI/TransactionInfo/components/TransactionLogs/index.js +1 -1
  114. package/UI/TransactionInfo/components/TransactionStatus/TransactionStatus.js +1 -1
  115. package/UI/TransactionInfo/components/TransactionStatus/index.js +1 -1
  116. package/UI/TransactionInfo/components/index.js +1 -1
  117. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoAge/TransactionInfoAge.js +1 -1
  118. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoAge/index.js +1 -1
  119. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoEgldPrice/TransactionInfoEgldPrice.js +1 -1
  120. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoEgldPrice/index.js +1 -1
  121. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoFee/TransactionInfoFee.js +1 -1
  122. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoFee/index.js +1 -1
  123. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoFrom/TransactionInfoFrom.js +1 -1
  124. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoFrom/index.js +1 -1
  125. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoGasLimit/TransactionInfoGasLimit.js +1 -1
  126. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoGasLimit/index.js +1 -1
  127. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoGasPrice/TransactionInfoGasPrice.js +1 -1
  128. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoGasPrice/index.js +1 -1
  129. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoGasUsed/TransactionInfoGasUsed.js +1 -1
  130. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoGasUsed/index.js +1 -1
  131. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoInputData/TransactionInfoInputData.js +1 -1
  132. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoInputData/index.js +1 -1
  133. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoMethod/TransactionInfoMethod.js +1 -1
  134. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoMethod/index.js +1 -1
  135. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoMiniblock/TransactionInfoMiniblock.js +1 -1
  136. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoMiniblock/index.js +1 -1
  137. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoNonce/TransactionInfoNonce.js +1 -1
  138. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoNonce/index.js +1 -1
  139. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoScResults/TransactionInfoScResults.js +1 -1
  140. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoScResults/index.js +1 -1
  141. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoStatus/TransactionInfoStatus.js +1 -1
  142. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoStatus/index.js +1 -1
  143. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoTo/TransactionInfoTo.js +1 -1
  144. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoTo/index.js +1 -1
  145. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoTokenOperations/TransactionInfoTokenOperations.js +1 -1
  146. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoTokenOperations/index.js +1 -1
  147. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoValue/TransactionInfoValue.js +1 -1
  148. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoValue/index.js +1 -1
  149. package/UI/TransactionInfo/components/transactionInfoFields/index.js +1 -1
  150. package/UI/TransactionInfo/index.js +1 -1
  151. package/UI/TransactionsTable/TransactionsTable.js +1 -1
  152. package/UI/TransactionsTable/components/AccountName.js +1 -1
  153. package/UI/TransactionsTable/components/FailedTransactions.js +1 -1
  154. package/UI/TransactionsTable/components/LockedTokenAddressIcon.js +1 -1
  155. package/UI/TransactionsTable/components/ScAddressIcon.js +1 -1
  156. package/UI/TransactionsTable/components/ShardSpan.js +1 -1
  157. package/UI/TransactionsTable/components/TransactionHash.js +1 -1
  158. package/UI/TransactionsTable/components/TransactionIcon.js +1 -1
  159. package/UI/TransactionsTable/components/TransactionMethod.js +1 -1
  160. package/UI/TransactionsTable/components/TransactionReceiver.js +1 -1
  161. package/UI/TransactionsTable/components/TransactionRow.js +1 -1
  162. package/UI/TransactionsTable/components/TransactionSender.js +1 -1
  163. package/UI/TransactionsTable/components/TransactionShardsTransition.js +1 -1
  164. package/UI/TransactionsTable/components/TransactionValue/TransactionValue.js +1 -1
  165. package/UI/TransactionsTable/components/TransactionValue/index.js +1 -1
  166. package/UI/TransactionsTable/components/index.js +1 -1
  167. package/UI/TransactionsTable/index.js +1 -1
  168. package/UI/TransactionsToastList/TransactionsToastList.js +1 -1
  169. package/UI/TransactionsToastList/components/CustomToast/CustomToast.js +1 -1
  170. package/UI/TransactionsToastList/components/CustomToast/components/CustomComponentToast.js +1 -1
  171. package/UI/TransactionsToastList/components/CustomToast/components/IconToast/IconToast.js +1 -1
  172. package/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/IconToastFooter.js +1 -1
  173. package/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/components/ComponentToastFooter.js +1 -1
  174. package/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/components/TransactionToastFooter.js +1 -1
  175. package/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/components/index.js +1 -1
  176. package/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/index.js +1 -1
  177. package/UI/TransactionsToastList/components/CustomToast/components/IconToast/index.js +1 -1
  178. package/UI/TransactionsToastList/components/CustomToast/components/SimpleToast.js +1 -1
  179. package/UI/TransactionsToastList/components/CustomToast/components/index.js +1 -1
  180. package/UI/TransactionsToastList/components/CustomToast/helpers/getIsTransaction.js +1 -1
  181. package/UI/TransactionsToastList/components/CustomToast/helpers/index.js +1 -1
  182. package/UI/TransactionsToastList/components/CustomToast/helpers/useMemoizedCloseButton.js +1 -1
  183. package/UI/TransactionsToastList/components/CustomToast/index.js +1 -1
  184. package/UI/TransactionsToastList/components/TransactionToast/TransactionToast.js +1 -1
  185. package/UI/TransactionsToastList/components/TransactionToast/components/DefaultToastDeleteButton.js +1 -1
  186. package/UI/TransactionsToastList/components/TransactionToast/components/TransactionToastContent.js +1 -1
  187. package/UI/TransactionsToastList/components/TransactionToast/components/index.js +1 -1
  188. package/UI/TransactionsToastList/components/TransactionToast/hooks/useTransactionToast.js +1 -1
  189. package/UI/TransactionsToastList/components/TransactionToast/index.js +1 -1
  190. package/UI/TransactionsToastList/components/TransactionToastGuard.js +1 -1
  191. package/UI/TransactionsToastList/components/index.js +1 -1
  192. package/UI/TransactionsToastList/index.js +1 -1
  193. package/UI/Trim/Trim.js +1 -1
  194. package/UI/Trim/index.js +1 -1
  195. package/UI/UsdValue/UsdValue.js +1 -1
  196. package/UI/UsdValue/index.js +1 -1
  197. package/UI/extension/ExtensionLoginButton/ExtensionLoginButton.js +1 -1
  198. package/UI/extension/ExtensionLoginButton/index.js +1 -1
  199. package/UI/iframe/IframeLoginButton/IframeButton.js +1 -1
  200. package/UI/iframe/IframeLoginButton/index.js +1 -1
  201. package/UI/index.js +1 -1
  202. package/UI/ledger/LedgerLoginButton/LedgerLoginButton.js +1 -1
  203. package/UI/ledger/LedgerLoginButton/index.js +1 -1
  204. package/UI/ledger/LedgerLoginContainer/AddressRow/AddressRow.js +1 -1
  205. package/UI/ledger/LedgerLoginContainer/AddressRow/index.js +1 -1
  206. package/UI/ledger/LedgerLoginContainer/AddressTable/AddressTable.js +1 -1
  207. package/UI/ledger/LedgerLoginContainer/AddressTable/index.js +1 -1
  208. package/UI/ledger/LedgerLoginContainer/ConfirmAddress/ConfirmAddress.js +1 -1
  209. package/UI/ledger/LedgerLoginContainer/ConfirmAddress/helpers/getAuthTokenText.js +1 -1
  210. package/UI/ledger/LedgerLoginContainer/ConfirmAddress/helpers/index.js +1 -1
  211. package/UI/ledger/LedgerLoginContainer/ConfirmAddress/index.js +1 -1
  212. package/UI/ledger/LedgerLoginContainer/LedgerConnect/LedgerConnect.js +1 -1
  213. package/UI/ledger/LedgerLoginContainer/LedgerConnect/index.js +1 -1
  214. package/UI/ledger/LedgerLoginContainer/LedgerLoading/LedgerLoading.js +1 -1
  215. package/UI/ledger/LedgerLoginContainer/LedgerLoading/index.js +1 -1
  216. package/UI/ledger/LedgerLoginContainer/LedgerLoginContainer.js +1 -1
  217. package/UI/ledger/LedgerLoginContainer/LedgerLoginContent/LedgerLoginContent.js +1 -1
  218. package/UI/ledger/LedgerLoginContainer/LedgerLoginContent/index.js +1 -1
  219. package/UI/ledger/LedgerLoginContainer/LedgerLoginContentBody/LedgerLoginContentBody.js +1 -1
  220. package/UI/ledger/LedgerLoginContainer/LedgerLoginContentBody/index.js +1 -1
  221. package/UI/ledger/LedgerLoginContainer/LedgerScamPhishingAlert/LedgerScamPhishingAlert.js +1 -1
  222. package/UI/ledger/LedgerLoginContainer/LedgerScamPhishingAlert/index.js +1 -1
  223. package/UI/ledger/LedgerLoginContainer/index.js +1 -1
  224. package/UI/ledger/index.js +1 -1
  225. package/UI/metamask/MetamaskLoginButton/MetamaskLoginButton.js +1 -1
  226. package/UI/metamask/MetamaskLoginButton/index.js +1 -1
  227. package/UI/operaWallet/OperaWalletLoginButton/OperaWalletLoginButton.js +1 -1
  228. package/UI/operaWallet/OperaWalletLoginButton/index.js +1 -1
  229. package/UI/pages/UnlockPage/index.js +1 -1
  230. package/UI/pages/index.js +1 -1
  231. package/UI/passkey/PasskeyLoginButton/PasskeyLoginButton.js +1 -1
  232. package/UI/passkey/PasskeyLoginButton/index.js +1 -1
  233. package/UI/walletConnect/WalletConnectConnectionStatus/WalletConnectConnectionStatus.js +1 -1
  234. package/UI/walletConnect/WalletConnectConnectionStatus/index.js +1 -1
  235. package/UI/walletConnect/WalletConnectLoginButton/WalletConnectLoginButton.js +1 -1
  236. package/UI/walletConnect/WalletConnectLoginButton/index.js +1 -1
  237. package/UI/walletConnect/WalletConnectLoginContainer/WalletConnectLoginContainer.js +1 -1
  238. package/UI/walletConnect/WalletConnectLoginContainer/WalletConnectLoginContent/WalletConnectLoginContent.js +1 -1
  239. package/UI/walletConnect/WalletConnectLoginContainer/WalletConnectLoginContent/index.js +1 -1
  240. package/UI/walletConnect/WalletConnectLoginContainer/index.js +1 -1
  241. package/UI/walletConnect/index.js +1 -1
  242. package/UI/webWallet/CrossWindowLoginButton/CrossWindowLoginButton.js +1 -1
  243. package/UI/webWallet/CrossWindowLoginButton/index.js +1 -1
  244. package/UI/webWallet/WebWalletLoginButton/WebWalletLoginButton.js +1 -1
  245. package/UI/webWallet/WebWalletLoginButton/index.js +1 -1
  246. package/UI/webWallet/XaliasCrossWindowLoginButton/XaliasCrossWindowLoginButton.js +1 -1
  247. package/UI/webWallet/XaliasCrossWindowLoginButton/index.js +1 -1
  248. package/UI/webWallet/XaliasLoginButton/XaliasLoginButton.js +1 -1
  249. package/UI/webWallet/XaliasLoginButton/index.js +1 -1
  250. package/__chunks__/chunk-27FH5G67.js +2 -0
  251. package/__chunks__/{chunk-WT3FGIIY.js → chunk-2AIEU6LZ.js} +2 -2
  252. package/__chunks__/{chunk-YLFYQYD3.js → chunk-2GRCIZYF.js} +2 -2
  253. package/__chunks__/{chunk-XWSSWFTD.js → chunk-2HIUA3PT.js} +2 -2
  254. package/__chunks__/{chunk-RMNLKAFR.js → chunk-2IP7PG2N.js} +2 -2
  255. package/__chunks__/{chunk-IFCEM2UW.js → chunk-2JGKGQC4.js} +2 -2
  256. package/__chunks__/{chunk-A2CBNGN4.js → chunk-2KGXFHHC.js} +2 -2
  257. package/__chunks__/{chunk-MRNCVD3U.js → chunk-2KLEV5AU.js} +2 -2
  258. package/__chunks__/{chunk-BFRGEQGK.js → chunk-2NCVBO6D.js} +2 -2
  259. package/__chunks__/{chunk-YWFYVD4G.js → chunk-2OGUKUYW.js} +2 -2
  260. package/__chunks__/{chunk-KSK7DKUN.js → chunk-2RG4XFAN.js} +2 -2
  261. package/__chunks__/{chunk-5IJ6LP4I.js → chunk-2SCHD7Y5.js} +2 -2
  262. package/__chunks__/{chunk-NLKVPZDS.js → chunk-2VM6SFLZ.js} +2 -2
  263. package/__chunks__/{chunk-YBAE7GFQ.js → chunk-2Y7KT3FW.js} +2 -2
  264. package/__chunks__/{chunk-LZQZJU3W.js → chunk-33ZQXWGC.js} +2 -2
  265. package/__chunks__/{chunk-OKIOGBK3.js → chunk-366BFEAQ.js} +2 -2
  266. package/__chunks__/{chunk-NXKTQZRX.js → chunk-36ZXKKNC.js} +2 -2
  267. package/__chunks__/{chunk-U7DVMPTX.js → chunk-3AOUWDRN.js} +2 -2
  268. package/__chunks__/{chunk-VYQ6IUMX.js → chunk-3B4DWW6O.js} +2 -2
  269. package/__chunks__/{chunk-3A4GVG6U.js → chunk-3CINYBP7.js} +2 -2
  270. package/__chunks__/{chunk-P7WESPEI.js → chunk-3D2KUB25.js} +2 -2
  271. package/__chunks__/{chunk-TW45XY74.js → chunk-3FRL7P2E.js} +2 -2
  272. package/__chunks__/{chunk-22JN6N73.js → chunk-3L3N56FB.js} +2 -2
  273. package/__chunks__/{chunk-3WVAONFD.js → chunk-3NXEJBK7.js} +2 -2
  274. package/__chunks__/{chunk-O6NULEHL.js → chunk-3QAMKN76.js} +2 -2
  275. package/__chunks__/{chunk-OEE4AKVK.js → chunk-3VDMQS32.js} +2 -2
  276. package/__chunks__/{chunk-K27V442V.js → chunk-42M6IY4Z.js} +2 -2
  277. package/__chunks__/chunk-443DT25B.js +2 -0
  278. package/__chunks__/{chunk-ORLHMIEC.js → chunk-4EMUKO3O.js} +2 -2
  279. package/__chunks__/chunk-4H47G34Q.js +2 -0
  280. package/__chunks__/{chunk-TI3ANIQU.js → chunk-4MYDIG2C.js} +2 -2
  281. package/__chunks__/{chunk-MY244MYG.js → chunk-4QMNIBLK.js} +2 -2
  282. package/__chunks__/{chunk-5C2GZIUZ.js → chunk-4YP6ER5C.js} +2 -2
  283. package/__chunks__/{chunk-7SETDCR4.js → chunk-52FCCIBT.js} +2 -2
  284. package/__chunks__/chunk-52IXS66S.js +2 -0
  285. package/__chunks__/{chunk-3VDW6P23.js → chunk-5B3VR2FV.js} +2 -2
  286. package/__chunks__/{chunk-NQWDBVCU.js → chunk-5IFIHV7J.js} +2 -2
  287. package/__chunks__/{chunk-L3PFBTYT.js → chunk-5PD4V7PN.js} +2 -2
  288. package/__chunks__/{chunk-XYG2GT62.js → chunk-5Q4NNIXY.js} +2 -2
  289. package/__chunks__/{chunk-WGJCID34.js → chunk-5TQ6M4FL.js} +2 -2
  290. package/__chunks__/chunk-5YK22TET.js +2 -0
  291. package/__chunks__/{chunk-UNXXYSEH.js → chunk-5YOFTA6Z.js} +2 -2
  292. package/__chunks__/{chunk-6MVSRKSW.js → chunk-5ZE4DETZ.js} +2 -2
  293. package/__chunks__/chunk-5ZEU6QMA.js +2 -0
  294. package/__chunks__/{chunk-HGJG26HB.js → chunk-6AJXQNY4.js} +2 -2
  295. package/__chunks__/{chunk-G3WMM467.js → chunk-6DGZJKY3.js} +2 -2
  296. package/__chunks__/chunk-6E3DEOH3.js +2 -0
  297. package/__chunks__/{chunk-YDTXMKIU.js → chunk-6IOVE2XD.js} +2 -2
  298. package/__chunks__/{chunk-TQH47APX.js → chunk-6JKT3JAV.js} +2 -2
  299. package/__chunks__/{chunk-USLL3BF7.js → chunk-6KOTAMEE.js} +2 -2
  300. package/__chunks__/{chunk-KHW6DXSV.js → chunk-6QMORR5K.js} +2 -2
  301. package/__chunks__/{chunk-GMMNKNOR.js → chunk-6VEYADOE.js} +2 -2
  302. package/__chunks__/chunk-6W7DVGIL.js +2 -0
  303. package/__chunks__/{chunk-GY4NLIXS.js → chunk-73TBJORY.js} +2 -2
  304. package/__chunks__/{chunk-EY67IUVU.js → chunk-75T2I3S5.js} +2 -2
  305. package/__chunks__/{chunk-65IDFVWB.js → chunk-7ICEDXUF.js} +2 -2
  306. package/__chunks__/{chunk-QU55M6V5.js → chunk-7IKDWUZY.js} +2 -2
  307. package/__chunks__/{chunk-XNTBUCLS.js → chunk-7MEQWRNH.js} +2 -2
  308. package/__chunks__/chunk-7OACEH3X.js +2 -0
  309. package/__chunks__/{chunk-U3XNHBKX.js → chunk-7UV4S7IL.js} +2 -2
  310. package/__chunks__/{chunk-EIPIMQWF.js → chunk-7XPJPXQF.js} +2 -2
  311. package/__chunks__/{chunk-HC2LFFDZ.js → chunk-A4X2GOUI.js} +2 -2
  312. package/__chunks__/{chunk-HJV3S3GA.js → chunk-A5DQLJGX.js} +2 -2
  313. package/__chunks__/{chunk-LVFD76RL.js → chunk-A6Z6LN54.js} +2 -2
  314. package/__chunks__/{chunk-U4AJKPBS.js → chunk-A6ZSNFXP.js} +2 -2
  315. package/__chunks__/{chunk-YO7XRCO7.js → chunk-ABDJB5G2.js} +2 -2
  316. package/__chunks__/{chunk-RJ5NZ6AO.js → chunk-ACV6ZBKI.js} +2 -2
  317. package/__chunks__/{chunk-LGVKJWOE.js → chunk-AFOBGIC6.js} +2 -2
  318. package/__chunks__/{chunk-Y2RCTKBX.js → chunk-AHFVMJ7X.js} +2 -2
  319. package/__chunks__/{chunk-7OFHGTYC.js → chunk-AIKFVFQ3.js} +2 -2
  320. package/__chunks__/{chunk-ICXOCZAA.js → chunk-AMFNXVCM.js} +2 -2
  321. package/__chunks__/{chunk-YCJWST4I.js → chunk-AN3PVYB6.js} +2 -2
  322. package/__chunks__/{chunk-62STDYU4.js → chunk-AS43CSOP.js} +2 -2
  323. package/__chunks__/{chunk-MVQ5M2I7.js → chunk-ASQ3U46M.js} +2 -2
  324. package/__chunks__/{chunk-O5WZCBNH.js → chunk-ASSEYEJJ.js} +2 -2
  325. package/__chunks__/{chunk-S4F4I3EL.js → chunk-ATGKNVBX.js} +2 -2
  326. package/__chunks__/chunk-AVGGN2LY.js +2 -0
  327. package/__chunks__/{chunk-2V3E3WRB.js → chunk-B2XE3XO6.js} +2 -2
  328. package/__chunks__/chunk-BFHMV5A6.js +2 -0
  329. package/__chunks__/chunk-BG5F4VLD.js +2 -0
  330. package/__chunks__/{chunk-3CUOMC2D.js → chunk-BHK3YIYA.js} +2 -2
  331. package/__chunks__/{chunk-3KHT75N2.js → chunk-BK3F643X.js} +2 -2
  332. package/__chunks__/{chunk-OBWRRQFF.js → chunk-BL3YCAIK.js} +2 -2
  333. package/__chunks__/chunk-BMV2L5DM.js +2 -0
  334. package/__chunks__/{chunk-BRXIN6O6.js → chunk-BNAILBH3.js} +2 -2
  335. package/__chunks__/{chunk-O5X5ZJ2X.js → chunk-BNDLAUUS.js} +2 -2
  336. package/__chunks__/{chunk-NUAT4GP2.js → chunk-BPUHN7WW.js} +2 -2
  337. package/__chunks__/{chunk-LB35NEGJ.js → chunk-BQZAL57Q.js} +2 -2
  338. package/__chunks__/{chunk-ZV5KFJQG.js → chunk-BRMDGFCG.js} +2 -2
  339. package/__chunks__/{chunk-XYIINX7L.js → chunk-BUXN3GSA.js} +2 -2
  340. package/__chunks__/chunk-BWI6T72S.js +2 -0
  341. package/__chunks__/{chunk-S74OWSEP.js → chunk-C4I5OLSZ.js} +2 -2
  342. package/__chunks__/{chunk-2KDYG3SO.js → chunk-C64OHZJI.js} +2 -2
  343. package/__chunks__/{chunk-QAXYRYC4.js → chunk-C66BVUKM.js} +2 -2
  344. package/__chunks__/{chunk-BBWWGDQW.js → chunk-CDJPQRSF.js} +2 -2
  345. package/__chunks__/{chunk-IV77VRKI.js → chunk-CG2QJHSL.js} +2 -2
  346. package/__chunks__/{chunk-UYTH5YHT.js → chunk-CKNPVVRA.js} +2 -2
  347. package/__chunks__/chunk-CL6IW7IS.js +2 -0
  348. package/__chunks__/{chunk-TMS47H5N.js → chunk-CLMGL2UV.js} +2 -2
  349. package/__chunks__/{chunk-ODC7QWD2.js → chunk-CN2BS3Z5.js} +2 -2
  350. package/__chunks__/{chunk-YUAQJODP.js → chunk-CPTGXWUV.js} +2 -2
  351. package/__chunks__/chunk-CQYDQFE4.js +2 -0
  352. package/__chunks__/chunk-CS3BFVVL.js +2 -0
  353. package/__chunks__/{chunk-KM22PKZI.js → chunk-CUYJAD7W.js} +2 -2
  354. package/__chunks__/{chunk-UK6TMYAE.js → chunk-CYSLBY5U.js} +2 -2
  355. package/__chunks__/chunk-D4NANPZS.js +2 -0
  356. package/__chunks__/{chunk-YYK62RW6.js → chunk-D62OYHN4.js} +2 -2
  357. package/__chunks__/{chunk-PWN2GZNT.js → chunk-D75WP7GF.js} +2 -2
  358. package/__chunks__/{chunk-C4VT2ERW.js → chunk-DBEM42SR.js} +2 -2
  359. package/__chunks__/{chunk-FPLYKLXQ.js → chunk-DBRTYYBP.js} +2 -2
  360. package/__chunks__/{chunk-LE6E76JC.js → chunk-DEZFV57Q.js} +2 -2
  361. package/__chunks__/{chunk-PO5AWVDZ.js → chunk-DFXCBJPX.js} +2 -2
  362. package/__chunks__/{chunk-TIEZXLF2.js → chunk-DHRUNZEK.js} +2 -2
  363. package/__chunks__/chunk-DL6ZH3ZM.js +2 -0
  364. package/__chunks__/{chunk-GIRJIZEX.js → chunk-DOSMNWM2.js} +2 -2
  365. package/__chunks__/{chunk-TKAZPDQD.js → chunk-DPD3XJBG.js} +2 -2
  366. package/__chunks__/chunk-DSNZ6WWJ.js +2 -0
  367. package/__chunks__/{chunk-7P4DCZH2.js → chunk-DYVTV6RQ.js} +2 -2
  368. package/__chunks__/{chunk-4NEPCTFX.js → chunk-E4VQH6BK.js} +2 -2
  369. package/__chunks__/{chunk-ATHPZDJE.js → chunk-E5O47KXV.js} +2 -2
  370. package/__chunks__/{chunk-NHOS36NE.js → chunk-E663HYOF.js} +2 -2
  371. package/__chunks__/{chunk-WEOGIT34.js → chunk-EB7KSHVC.js} +2 -2
  372. package/__chunks__/{chunk-EU5ABVL3.js → chunk-ELUYAFQH.js} +2 -2
  373. package/__chunks__/chunk-EMIZYMPZ.js +2 -0
  374. package/__chunks__/{chunk-LBOSXJ4J.js → chunk-EQ6O7XYT.js} +2 -2
  375. package/__chunks__/{chunk-EF2UXIU4.js → chunk-EZ2PLUR5.js} +2 -2
  376. package/__chunks__/{chunk-VIQBMB7R.js → chunk-F4PPWPLD.js} +2 -2
  377. package/__chunks__/{chunk-BZ5ZNPRL.js → chunk-F74R22JL.js} +2 -2
  378. package/__chunks__/{chunk-BPULXLJZ.js → chunk-FERW6O6J.js} +2 -2
  379. package/__chunks__/{chunk-UXCGROP3.js → chunk-FFPSOIDK.js} +2 -2
  380. package/__chunks__/{chunk-IS3UGNWF.js → chunk-FLNPSKM5.js} +2 -2
  381. package/__chunks__/chunk-FOV4YAAN.js +2 -0
  382. package/__chunks__/{chunk-NWH3BG5P.js → chunk-FUNIQ52G.js} +2 -2
  383. package/__chunks__/{chunk-5RSAZX46.js → chunk-FXTYNVIR.js} +2 -2
  384. package/__chunks__/{chunk-BWGJEGRO.js → chunk-FY6ENH4F.js} +2 -2
  385. package/__chunks__/{chunk-YXZHP6AI.js → chunk-G2GEDE5X.js} +2 -2
  386. package/__chunks__/{chunk-TWKW7IAP.js → chunk-G2TQCLY5.js} +2 -2
  387. package/__chunks__/{chunk-O4AMG7HZ.js → chunk-G7NPLNV6.js} +2 -2
  388. package/__chunks__/{chunk-XG22CTWL.js → chunk-GAMY5LR7.js} +2 -2
  389. package/__chunks__/{chunk-GIMVUCZB.js → chunk-GC24T2RU.js} +2 -2
  390. package/__chunks__/{chunk-RTG6UTB2.js → chunk-GC3IMAFY.js} +2 -2
  391. package/__chunks__/{chunk-RYJAJ56G.js → chunk-GCNH3RZR.js} +2 -2
  392. package/__chunks__/{chunk-SSCQNJ5T.js → chunk-GDIJ3VWC.js} +2 -2
  393. package/__chunks__/{chunk-3FBESZUW.js → chunk-GDUQ43F2.js} +2 -2
  394. package/__chunks__/chunk-GE6AWBV7.js +2 -0
  395. package/__chunks__/{chunk-EOBC3SGK.js → chunk-GNYH4SPT.js} +2 -2
  396. package/__chunks__/{chunk-DYQCW5KD.js → chunk-GPRQNTUG.js} +2 -2
  397. package/__chunks__/{chunk-ZA3EOZGC.js → chunk-GSIGCMHA.js} +2 -2
  398. package/__chunks__/{chunk-S7M2FS7P.js → chunk-GSQ6RX24.js} +2 -2
  399. package/__chunks__/{chunk-BKKRTXC4.js → chunk-GUBGMHIC.js} +2 -2
  400. package/__chunks__/{chunk-P7P5UUFA.js → chunk-GWK5BOR4.js} +2 -2
  401. package/__chunks__/chunk-GYFGZGPB.js +2 -0
  402. package/__chunks__/{chunk-LRYZZFQK.js → chunk-H2MQCKDV.js} +2 -2
  403. package/__chunks__/{chunk-OLOMMKEU.js → chunk-H7F7QSSU.js} +2 -2
  404. package/__chunks__/{chunk-N7ADAEPB.js → chunk-HAKH2P4P.js} +2 -2
  405. package/__chunks__/{chunk-DUNXCYMV.js → chunk-HEV2DLYP.js} +2 -2
  406. package/__chunks__/{chunk-MT3Y2HBI.js → chunk-HFGBJ5GL.js} +2 -2
  407. package/__chunks__/chunk-HGBHLYSY.js +2 -0
  408. package/__chunks__/{chunk-AFDBN25I.js → chunk-HI6OFQF5.js} +2 -2
  409. package/__chunks__/{chunk-O2ZEL6NT.js → chunk-HK3BL5WJ.js} +2 -2
  410. package/__chunks__/chunk-HK3IGHZP.js +2 -0
  411. package/__chunks__/chunk-HL5YGNOT.js +2 -0
  412. package/__chunks__/{chunk-5NULPHFT.js → chunk-HLTYS3PQ.js} +2 -2
  413. package/__chunks__/{chunk-FKBZ5UQI.js → chunk-HV7MRP6D.js} +2 -2
  414. package/__chunks__/{chunk-BYMJYEHI.js → chunk-HWKORQ2K.js} +2 -2
  415. package/__chunks__/{chunk-4GFEXTZD.js → chunk-I5OGC7V5.js} +2 -2
  416. package/__chunks__/{chunk-FNDDL6TB.js → chunk-IAKCDH5D.js} +2 -2
  417. package/__chunks__/{chunk-APY6NMJV.js → chunk-IE3IVXRG.js} +2 -2
  418. package/__chunks__/{chunk-ZENU2WFM.js → chunk-IGORY6G3.js} +2 -2
  419. package/__chunks__/{chunk-T4VQSZEL.js → chunk-IJKIVSOH.js} +2 -2
  420. package/__chunks__/{chunk-KQ7RVOIZ.js → chunk-IN4SP3V2.js} +2 -2
  421. package/__chunks__/{chunk-V76FYMTO.js → chunk-IOK2AYLN.js} +2 -2
  422. package/__chunks__/{chunk-JRTEZHT3.js → chunk-IOL6OMHE.js} +2 -2
  423. package/__chunks__/{chunk-RZKCPVPQ.js → chunk-IUMHVMTK.js} +2 -2
  424. package/__chunks__/chunk-IXUNCHI4.js +2 -0
  425. package/__chunks__/{chunk-TFFWE4BT.js → chunk-IZ2LTUAS.js} +2 -2
  426. package/__chunks__/{chunk-B3QOKO5I.js → chunk-J5WQX5EE.js} +2 -2
  427. package/__chunks__/{chunk-YTK76YT2.js → chunk-JA3SLGX2.js} +2 -2
  428. package/__chunks__/{chunk-TQT5YUX5.js → chunk-JMTSXEZ3.js} +2 -2
  429. package/__chunks__/{chunk-6N4RLQ5C.js → chunk-JN4X6QCT.js} +2 -2
  430. package/__chunks__/{chunk-SOT46JZ4.js → chunk-JSANEGSJ.js} +2 -2
  431. package/__chunks__/{chunk-M2ZPVVVY.js → chunk-JTMWMYCS.js} +2 -2
  432. package/__chunks__/{chunk-NP4OVEKX.js → chunk-JUNOVW6Y.js} +2 -2
  433. package/__chunks__/{chunk-S7QUPUT2.js → chunk-JVKY75JG.js} +2 -2
  434. package/__chunks__/{chunk-LBNVU6PX.js → chunk-K34NQEQO.js} +2 -2
  435. package/__chunks__/{chunk-5FOAU3JX.js → chunk-K6Q3BCRA.js} +2 -2
  436. package/__chunks__/{chunk-725DQS6I.js → chunk-K7ITUXHA.js} +2 -2
  437. package/__chunks__/{chunk-6DQ7WJGR.js → chunk-KACXL2VQ.js} +2 -2
  438. package/__chunks__/{chunk-QFGYD6TB.js → chunk-KBWCG46F.js} +2 -2
  439. package/__chunks__/{chunk-IJUEBJAF.js → chunk-KKHZHP3E.js} +2 -2
  440. package/__chunks__/{chunk-OD662V2W.js → chunk-KPFB6TA7.js} +2 -2
  441. package/__chunks__/{chunk-QU7CA45V.js → chunk-KRAXDXND.js} +2 -2
  442. package/__chunks__/chunk-KSBIKCRA.js +2 -0
  443. package/__chunks__/{chunk-ABCTLPKE.js → chunk-KSXK7ZQS.js} +2 -2
  444. package/__chunks__/{chunk-TWTHHNTM.js → chunk-KY6VRMZ7.js} +2 -2
  445. package/__chunks__/{chunk-CGWAXN6N.js → chunk-L5MDW727.js} +2 -2
  446. package/__chunks__/{chunk-A4LWJRGO.js → chunk-L5QBPZ5I.js} +2 -2
  447. package/__chunks__/{chunk-5LRIVXCH.js → chunk-L6WTPOV5.js} +2 -2
  448. package/__chunks__/{chunk-FAKD6TQU.js → chunk-L7JIR6OV.js} +2 -2
  449. package/__chunks__/{chunk-MEVXHA66.js → chunk-LEKYTY2K.js} +2 -2
  450. package/__chunks__/{chunk-L2MNSAH6.js → chunk-LMMPVJHS.js} +2 -2
  451. package/__chunks__/{chunk-KRA5K2CA.js → chunk-LPRQ2IYP.js} +2 -2
  452. package/__chunks__/chunk-LTQQHGJA.js +2 -0
  453. package/__chunks__/{chunk-YMBGOTL7.js → chunk-LUGGITMH.js} +2 -2
  454. package/__chunks__/{chunk-E4B3E3AR.js → chunk-LX7I6YEI.js} +2 -2
  455. package/__chunks__/{chunk-OJE3TJIQ.js → chunk-LYB2N5RS.js} +2 -2
  456. package/__chunks__/{chunk-WJR6UK3M.js → chunk-LZM7JQGH.js} +2 -2
  457. package/__chunks__/{chunk-NHRIRJWC.js → chunk-M3I2BY6B.js} +2 -2
  458. package/__chunks__/chunk-M3KZ5ZCM.js +2 -0
  459. package/__chunks__/chunk-M7QUL4WU.js +2 -0
  460. package/__chunks__/{chunk-UJ5NQGFL.js → chunk-MBNT47JC.js} +2 -2
  461. package/__chunks__/{chunk-PRVH5LV4.js → chunk-MCBGUPUJ.js} +2 -2
  462. package/__chunks__/{chunk-FKPR7F7N.js → chunk-MFPKPOZT.js} +2 -2
  463. package/__chunks__/{chunk-M56LZ3W7.js → chunk-MG4D5Y35.js} +2 -2
  464. package/__chunks__/{chunk-ZHI6VDK3.js → chunk-MJJOJ7DA.js} +2 -2
  465. package/__chunks__/{chunk-SVN5HNM2.js → chunk-MTF3EZIB.js} +2 -2
  466. package/__chunks__/{chunk-WPFAZXYU.js → chunk-MYP4XQY5.js} +2 -2
  467. package/__chunks__/{chunk-UJP5XOCK.js → chunk-N2CCCYOS.js} +2 -2
  468. package/__chunks__/{chunk-CCWOG6MB.js → chunk-N2M34KLB.js} +2 -2
  469. package/__chunks__/chunk-N5OGU3OY.js +2 -0
  470. package/__chunks__/{chunk-QIF4RAQV.js → chunk-N6NWN72A.js} +2 -2
  471. package/__chunks__/chunk-NGSXPTM7.js +2 -0
  472. package/__chunks__/{chunk-QJ7HFUDR.js → chunk-NMC25ZUJ.js} +2 -2
  473. package/__chunks__/{chunk-C3ZPT2ID.js → chunk-NNNZOKRA.js} +2 -2
  474. package/__chunks__/chunk-NOFGMWJX.js +2 -0
  475. package/__chunks__/{chunk-GEH3ZXZJ.js → chunk-NPOQRA75.js} +2 -2
  476. package/__chunks__/{chunk-SFYZHJUF.js → chunk-NRUQYCRY.js} +2 -2
  477. package/__chunks__/chunk-NSUEKEPT.js +2 -0
  478. package/__chunks__/{chunk-N2XOKZ5I.js → chunk-NTZB4F5Z.js} +2 -2
  479. package/__chunks__/{chunk-SIVLWB4D.js → chunk-NVVUEWXN.js} +2 -2
  480. package/__chunks__/{chunk-SX5YBID4.js → chunk-NW56V3MY.js} +2 -2
  481. package/__chunks__/{chunk-VOVGM76A.js → chunk-OGQJGQSH.js} +2 -2
  482. package/__chunks__/{chunk-RW52YTWK.js → chunk-OHDOIVLS.js} +2 -2
  483. package/__chunks__/chunk-OJDKSNKS.js +2 -0
  484. package/__chunks__/{chunk-W6DYGRIO.js → chunk-OR42DSOO.js} +2 -2
  485. package/__chunks__/{chunk-SBUSN3HF.js → chunk-OT7M3OPU.js} +2 -2
  486. package/__chunks__/{chunk-IS2TKLNE.js → chunk-OUSIKRNJ.js} +2 -2
  487. package/__chunks__/{chunk-AOHMQPZL.js → chunk-OVTUQNFB.js} +2 -2
  488. package/__chunks__/{chunk-GBKWCLTK.js → chunk-PAIRJY2N.js} +2 -2
  489. package/__chunks__/{chunk-NPCALBS3.js → chunk-PBD3PMQ6.js} +2 -2
  490. package/__chunks__/{chunk-I4E2LF4E.js → chunk-PQQY2VA2.js} +2 -2
  491. package/__chunks__/{chunk-IPXTANOK.js → chunk-PTP4ZK4E.js} +2 -2
  492. package/__chunks__/{chunk-XXOINCQR.js → chunk-PXO3KXPV.js} +2 -2
  493. package/__chunks__/chunk-Q4L3J62S.js +2 -0
  494. package/__chunks__/chunk-Q7G6IS5N.js +2 -0
  495. package/__chunks__/{chunk-PBCZXHIJ.js → chunk-QGCSWJ3J.js} +2 -2
  496. package/__chunks__/chunk-QQGKX76V.js +2 -0
  497. package/__chunks__/chunk-QSQMERZY.js +2 -0
  498. package/__chunks__/{chunk-N3TKVWQ6.js → chunk-QZD5N7RZ.js} +2 -2
  499. package/__chunks__/chunk-R4NOSGSY.js +2 -0
  500. package/__chunks__/{chunk-IZT5M3NI.js → chunk-R53SJ3NZ.js} +2 -2
  501. package/__chunks__/{chunk-II4JTXXI.js → chunk-R666NKD7.js} +2 -2
  502. package/__chunks__/{chunk-YS264G4H.js → chunk-RBG6ZS7K.js} +2 -2
  503. package/__chunks__/{chunk-5FHEIYXO.js → chunk-RC7NBVBT.js} +2 -2
  504. package/__chunks__/chunk-RMSI2KAF.js +2 -0
  505. package/__chunks__/{chunk-DBXSYSN3.js → chunk-RORU34DN.js} +2 -2
  506. package/__chunks__/chunk-ROVLCWLB.js +2 -0
  507. package/__chunks__/{chunk-BNTCTEV4.js → chunk-RPRH53SN.js} +2 -2
  508. package/__chunks__/{chunk-3PQESL5F.js → chunk-RWKKUCND.js} +2 -2
  509. package/__chunks__/chunk-S6WU7FIP.js +2 -0
  510. package/__chunks__/{chunk-T56U5SCF.js → chunk-SD2ZJL4Z.js} +2 -2
  511. package/__chunks__/{chunk-U73ZTPDU.js → chunk-SIBZP36W.js} +2 -2
  512. package/__chunks__/{chunk-BSDAN6CW.js → chunk-SJFNSQDE.js} +2 -2
  513. package/__chunks__/chunk-SKQHXYAY.js +2 -0
  514. package/__chunks__/{chunk-WRX3NWCT.js → chunk-SKX4EJGO.js} +2 -2
  515. package/__chunks__/chunk-SMD3P2QU.js +2 -0
  516. package/__chunks__/chunk-SNJ63XJS.js +2 -0
  517. package/__chunks__/{chunk-X5ICOU7C.js → chunk-SOOZPADC.js} +2 -2
  518. package/__chunks__/chunk-SUNJRNCA.js +2 -0
  519. package/__chunks__/{chunk-YHUPKAM7.js → chunk-SUPKMGBY.js} +2 -2
  520. package/__chunks__/{chunk-MAV57NWH.js → chunk-SUY4WMMQ.js} +2 -2
  521. package/__chunks__/chunk-SYEARPKN.js +2 -0
  522. package/__chunks__/chunk-SYYNFXUN.js +2 -0
  523. package/__chunks__/{chunk-YPMP62YX.js → chunk-T24YSU7I.js} +2 -2
  524. package/__chunks__/{chunk-NOMYSJLF.js → chunk-T3SLPLBT.js} +2 -2
  525. package/__chunks__/chunk-TELFM4OQ.js +2 -0
  526. package/__chunks__/{chunk-ABVIX57I.js → chunk-TFZRV4WV.js} +2 -2
  527. package/__chunks__/{chunk-LSB7OMSQ.js → chunk-TIMS5S2C.js} +2 -2
  528. package/__chunks__/{chunk-HVQFYTGW.js → chunk-TLG4GXZW.js} +2 -2
  529. package/__chunks__/{chunk-FATBVCBP.js → chunk-TLR5RFIN.js} +2 -2
  530. package/__chunks__/{chunk-6FPX673H.js → chunk-TOCSIKJA.js} +2 -2
  531. package/__chunks__/{chunk-266G5JQJ.js → chunk-TPMTRTYF.js} +2 -2
  532. package/__chunks__/{chunk-CYSDZCF5.js → chunk-TRUASFOC.js} +2 -2
  533. package/__chunks__/{chunk-ATPUAU7X.js → chunk-U7I66IZO.js} +2 -2
  534. package/__chunks__/{chunk-2YLBTMG6.js → chunk-UDMQAGTD.js} +2 -2
  535. package/__chunks__/{chunk-64HD2IJE.js → chunk-UES4R3TC.js} +2 -2
  536. package/__chunks__/{chunk-FE6U2NQN.js → chunk-UH2U3I5W.js} +2 -2
  537. package/__chunks__/{chunk-C4CGIKHQ.js → chunk-UPRCDBIL.js} +2 -2
  538. package/__chunks__/{chunk-B7HYNARA.js → chunk-UTY6BZUT.js} +2 -2
  539. package/__chunks__/{chunk-XKIHSHRR.js → chunk-UXY5WZPX.js} +2 -2
  540. package/__chunks__/{chunk-TA6KXPDS.js → chunk-V3TVICHS.js} +2 -2
  541. package/__chunks__/{chunk-YUFTIAXC.js → chunk-VLCJAOJZ.js} +2 -2
  542. package/__chunks__/chunk-VUAMGFOX.js +2 -0
  543. package/__chunks__/chunk-VYUSRJOU.js +2 -0
  544. package/__chunks__/{chunk-RDD3H2JW.js → chunk-W6MOVXXY.js} +2 -2
  545. package/__chunks__/{chunk-BTK7EQXR.js → chunk-W6YGSEZ4.js} +2 -2
  546. package/__chunks__/{chunk-KRZC3JQ2.js → chunk-WANC2RXX.js} +2 -2
  547. package/__chunks__/{chunk-VXQEK23G.js → chunk-WJSEVDZX.js} +2 -2
  548. package/__chunks__/{chunk-MHWNNEJG.js → chunk-WLELEAGK.js} +2 -2
  549. package/__chunks__/{chunk-JRZH7GPF.js → chunk-WNUN6H4T.js} +2 -2
  550. package/__chunks__/{chunk-PWSOJTA4.js → chunk-WOXPP5OG.js} +2 -2
  551. package/__chunks__/{chunk-PFVDDVOD.js → chunk-WP6VM5J2.js} +2 -2
  552. package/__chunks__/{chunk-MWTZ7DNL.js → chunk-WQDTUJFG.js} +2 -2
  553. package/__chunks__/{chunk-PQ24WIES.js → chunk-WQPYK64A.js} +2 -2
  554. package/__chunks__/{chunk-AVJDCB7V.js → chunk-WRXNJQIY.js} +2 -2
  555. package/__chunks__/chunk-WWSMEEPR.js +2 -0
  556. package/__chunks__/{chunk-HCRA3RAT.js → chunk-XBNVZQA4.js} +2 -2
  557. package/__chunks__/{chunk-TKR4FVIS.js → chunk-XCEBI3EQ.js} +2 -2
  558. package/__chunks__/{chunk-X7AZT6CA.js → chunk-XCETJVG5.js} +2 -2
  559. package/__chunks__/{chunk-GSKFIRV6.js → chunk-XDRLF7XB.js} +2 -2
  560. package/__chunks__/{chunk-IMQ4I6WW.js → chunk-XECVYP4E.js} +2 -2
  561. package/__chunks__/{chunk-M56Y4AHA.js → chunk-XEEY3HDK.js} +2 -2
  562. package/__chunks__/{chunk-HJUPUIOO.js → chunk-XL7XIOJR.js} +2 -2
  563. package/__chunks__/{chunk-CN47U3Z4.js → chunk-XLNHVIPK.js} +2 -2
  564. package/__chunks__/{chunk-N7AWBBNE.js → chunk-XNYEQEU6.js} +2 -2
  565. package/__chunks__/{chunk-OEND4E23.js → chunk-XP6N4TB2.js} +2 -2
  566. package/__chunks__/{chunk-VJYHC2IC.js → chunk-XPMQVAXE.js} +2 -2
  567. package/__chunks__/{chunk-DUE4NORV.js → chunk-XRNT76UY.js} +2 -2
  568. package/__chunks__/chunk-XSCEIJSP.js +2 -0
  569. package/__chunks__/{chunk-VV4EKABW.js → chunk-XSPP3G57.js} +2 -2
  570. package/__chunks__/chunk-XUEKGCYZ.js +2 -0
  571. package/__chunks__/chunk-XVIPFZ65.js +2 -0
  572. package/__chunks__/{chunk-YE4P3ZZ7.js → chunk-Y36G3HGF.js} +2 -2
  573. package/__chunks__/{chunk-YGZXGGKB.js → chunk-Y4OZCVUZ.js} +2 -2
  574. package/__chunks__/chunk-YGWO7L5T.js +2 -0
  575. package/__chunks__/{chunk-5VE2X5PQ.js → chunk-YH4AUJVA.js} +2 -2
  576. package/__chunks__/chunk-YHUSZC3I.js +2 -0
  577. package/__chunks__/{chunk-4Q52MB5B.js → chunk-YIMSX4VD.js} +2 -2
  578. package/__chunks__/{chunk-OZDL46NA.js → chunk-YLPK7HAX.js} +2 -2
  579. package/__chunks__/{chunk-XYNRMMQW.js → chunk-YNW5XE5N.js} +2 -2
  580. package/__chunks__/{chunk-YOBVDDDP.js → chunk-YOZHK36J.js} +2 -2
  581. package/__chunks__/{chunk-LJKUHO7G.js → chunk-YPOZU6Y3.js} +2 -2
  582. package/__chunks__/{chunk-HZLQIFYM.js → chunk-YR74VMN6.js} +2 -2
  583. package/__chunks__/{chunk-NQUPSQWU.js → chunk-YSAZC3FJ.js} +2 -2
  584. package/__chunks__/chunk-YVGR3MVT.js +2 -0
  585. package/__chunks__/{chunk-3WJYDELU.js → chunk-YVH24RZH.js} +2 -2
  586. package/__chunks__/chunk-YWRTTCYK.js +2 -0
  587. package/__chunks__/chunk-ZDIO44CA.js +2 -0
  588. package/__chunks__/{chunk-DOSMTMSA.js → chunk-ZF27ANY4.js} +2 -2
  589. package/__chunks__/{chunk-F47KH2MF.js → chunk-ZHHX65UY.js} +2 -2
  590. package/__chunks__/{chunk-XIJOWM33.js → chunk-ZIHDYJLL.js} +2 -2
  591. package/__chunks__/{chunk-IZYPU3LW.js → chunk-ZIIQ5MFR.js} +2 -2
  592. package/__chunks__/{chunk-NPBAPU5Z.js → chunk-ZP4YU52T.js} +2 -2
  593. package/__chunks__/{chunk-4I7NHD4D.js → chunk-ZPAVSH7G.js} +2 -2
  594. package/__chunks__/{chunk-KB6S7Q6T.js → chunk-ZPB3ZJ2J.js} +2 -2
  595. package/__chunks__/{chunk-JMDO47UU.js → chunk-ZPEVRMR3.js} +2 -2
  596. package/__chunks__/{chunk-GU7IUTXI.js → chunk-ZQBSKR72.js} +2 -2
  597. package/__chunks__/{chunk-YT7A5JWD.js → chunk-ZVNBY4BK.js} +2 -2
  598. package/__chunks__/{chunk-P32QGFY7.js → chunk-ZWAI37XZ.js} +2 -2
  599. package/__chunks__/{chunk-I3EOPXZH.js → chunk-ZZ3PILAG.js} +2 -2
  600. package/__commonjs/UI/Denominate/index.js +3 -3
  601. package/__commonjs/UI/SignTransactionsModals/SignTransactionsModals.js +21 -21
  602. package/__commonjs/UI/SignTransactionsModals/SignWithDeviceModal/SignStep.js +19 -19
  603. package/__commonjs/UI/SignTransactionsModals/SignWithDeviceModal/SignWithDeviceModal.js +19 -19
  604. package/__commonjs/UI/SignTransactionsModals/SignWithDeviceModal/components/SignStepBody.js +18 -18
  605. package/__commonjs/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmAmount/components/index.js +5 -5
  606. package/__commonjs/UI/SignTransactionsModals/SignWithDeviceModal/components/index.js +18 -18
  607. package/__commonjs/UI/SignTransactionsModals/SignWithDeviceModal/index.js +19 -19
  608. package/__commonjs/UI/SignTransactionsModals/SignWithExtraModal/SignWithExtraModal.js +1 -1
  609. package/__commonjs/UI/SignTransactionsModals/SignWithExtraModal/index.js +1 -1
  610. package/__commonjs/UI/SignTransactionsModals/SignWithLedgerModal/SignWithLedgerModal.js +22 -22
  611. package/__commonjs/UI/SignTransactionsModals/SignWithLedgerModal/index.js +22 -22
  612. package/__commonjs/UI/SignTransactionsModals/SignWithMetamaskModal/SignWithMetamaskModal.js +19 -19
  613. package/__commonjs/UI/SignTransactionsModals/SignWithMetamaskModal/index.js +19 -19
  614. package/__commonjs/UI/SignTransactionsModals/components/ConfirmationScreen.js +1 -1
  615. package/__commonjs/UI/SignTransactionsModals/components/index.js +1 -1
  616. package/__commonjs/UI/SignTransactionsModals/index.js +21 -21
  617. package/__commonjs/UI/TransactionData/TransactionData.js +4 -4
  618. package/__commonjs/UI/TransactionData/components/TransactionDataDecode.js +4 -4
  619. package/__commonjs/UI/TransactionData/components/index.js +4 -4
  620. package/__commonjs/UI/TransactionData/index.js +5 -5
  621. package/__commonjs/UI/TransactionDetails/TransactionDetails.js +4 -4
  622. package/__commonjs/UI/TransactionDetails/index.js +4 -4
  623. package/__commonjs/UI/TransactionInfo/components/OperationsList/components/OperationBlock.js +13 -13
  624. package/__commonjs/UI/TransactionInfo/components/ScResultsList/components/ResultData/ResultData.js +3 -3
  625. package/__commonjs/UI/TransactionInfo/components/ScResultsList/components/ResultData/index.js +3 -3
  626. package/__commonjs/UI/TransactionInfo/components/TransactionAction/components/ActionToken.js +3 -3
  627. package/__commonjs/UI/TransactionInfo/components/TransactionAction/components/TransactionActionBlock/components/TransactionActionCollection.js +3 -3
  628. package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoEgldPrice/TransactionInfoEgldPrice.js +1 -1
  629. package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoEgldPrice/index.js +1 -1
  630. package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoGasLimit/TransactionInfoGasLimit.js +2 -2
  631. package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoGasLimit/index.js +2 -2
  632. package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoGasUsed/TransactionInfoGasUsed.js +5 -5
  633. package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoGasUsed/index.js +5 -5
  634. package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoInputData/TransactionInfoInputData.js +5 -5
  635. package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoInputData/index.js +5 -5
  636. package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoMiniblock/TransactionInfoMiniblock.js +4 -4
  637. package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoMiniblock/index.js +4 -4
  638. package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoNonce/TransactionInfoNonce.js +3 -3
  639. package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoNonce/index.js +3 -3
  640. package/__commonjs/UI/TransactionsTable/components/TransactionIcon.js +3 -3
  641. package/__commonjs/UI/TransactionsTable/components/TransactionSender.js +4 -4
  642. package/__commonjs/UI/TransactionsToastList/components/CustomToast/components/IconToast/IconToast.js +6 -6
  643. package/__commonjs/UI/TransactionsToastList/components/CustomToast/components/IconToast/index.js +6 -6
  644. package/__commonjs/UI/index.js +10 -10
  645. package/__commonjs/UI/walletConnect/WalletConnectConnectionStatus/WalletConnectConnectionStatus.js +2 -2
  646. package/__commonjs/UI/walletConnect/WalletConnectConnectionStatus/index.js +2 -2
  647. package/__commonjs/UI/webWallet/XaliasCrossWindowLoginButton/XaliasCrossWindowLoginButton.js +3 -3
  648. package/__commonjs/UI/webWallet/XaliasCrossWindowLoginButton/index.js +3 -3
  649. package/__commonjs/constants/dataTestIds.enum.d.ts +1 -0
  650. package/__commonjs/constants/dataTestIds.enum.js +1 -1
  651. package/__commonjs/constants/index.js +1 -1
  652. package/__commonjs/hooks/account/useGetAccountProvider.js +1 -1
  653. package/__commonjs/hooks/index.js +1 -1
  654. package/__commonjs/hooks/login/useCrossWindowLogin.js +1 -1
  655. package/__commonjs/hooks/transactions/batch/tracker/useVerifyBatchStatus.js +1 -1
  656. package/__commonjs/hooks/transactions/batch/useGetBatches.js +1 -1
  657. package/__commonjs/hooks/transactions/helpers/checkNeedsGuardianSigning.js +1 -1
  658. package/__commonjs/hooks/transactions/helpers/index.js +1 -1
  659. package/__commonjs/hooks/transactions/index.js +1 -1
  660. package/__commonjs/hooks/transactions/useSignTransactions.js +1 -1
  661. package/__commonjs/hooks/transactions/useSignTransactionsWithDevice.js +1 -1
  662. package/__commonjs/hooks/transactions/useSignTransactionsWithLedger.js +1 -1
  663. package/__commonjs/providers/accountProvider.js +1 -1
  664. package/__commonjs/providers/index.js +1 -1
  665. package/__commonjs/providers/utils.js +1 -1
  666. package/__commonjs/reduxStore/slices/networkConfigSlice.js +1 -1
  667. package/__commonjs/reduxStore/slices/signedMessageInfoSlice.js +1 -1
  668. package/__commonjs/reduxStore/slices/transactionsSlice.js +1 -1
  669. package/__commonjs/services/nativeAuth/helpers/index.js +1 -1
  670. package/__commonjs/services/nativeAuth/helpers/loginWithNativeAuthToken.js +1 -1
  671. package/__commonjs/services/transactions/signTransactions.js +1 -1
  672. package/__commonjs/utils/account/getAccountProviderType.js +1 -1
  673. package/__commonjs/utils/account/refreshAccount.js +1 -1
  674. package/__commonjs/utils/index.js +5 -5
  675. package/__commonjs/utils/operations/index.js +1 -1
  676. package/__commonjs/utils/transactions/builtCallbackUrl.js +1 -1
  677. package/__commonjs/utils/transactions/getInterpretedTransaction/getInterpretedTransaction.js +1 -1
  678. package/__commonjs/utils/transactions/getInterpretedTransaction/helpers/index.js +1 -1
  679. package/__commonjs/utils/transactions/getInterpretedTransaction/index.js +2 -2
  680. package/__commonjs/utils/transactions/index.js +1 -1
  681. package/__commonjs/utils/transactions/transactionInfoHelpers/transactionActionUnwrapper/helpers/index.js +1 -1
  682. package/__commonjs/utils/walletconnect/__mocks__/sdkWalletconnectProvider.js +1 -1
  683. package/__commonjs/wrappers/index.js +3 -3
  684. package/__mocks__/index.js +1 -1
  685. package/__mocks__/utils/index.js +1 -1
  686. package/__mocks__/utils/renderWithProvider.js +1 -1
  687. package/apiCalls/accounts/getAccountFromApi.js +1 -1
  688. package/apiCalls/accounts/index.js +1 -1
  689. package/apiCalls/accounts/useGetAccountFromApi.js +1 -1
  690. package/apiCalls/configuration/getNetworkConfig.js +1 -1
  691. package/apiCalls/configuration/index.js +1 -1
  692. package/apiCalls/configuration/useGetNetworkConfigFromApi.js +1 -1
  693. package/apiCalls/configuration/useGetServerConfigurationFromApi.js +1 -1
  694. package/apiCalls/economics/getEconomicsInfo.js +1 -1
  695. package/apiCalls/economics/index.js +1 -1
  696. package/apiCalls/economics/useGetEconomicsInfoFromApi.js +1 -1
  697. package/apiCalls/index.js +1 -1
  698. package/apiCalls/tokens/getPersistedToken.js +1 -1
  699. package/apiCalls/transactions/getTransactionsByHashes.js +1 -1
  700. package/apiCalls/transactions/index.js +1 -1
  701. package/apiCalls/transactions/sendSignedBatchTransactions.js +1 -1
  702. package/apiCalls/transactions/sendSignedTransactions.js +1 -1
  703. package/apiCalls/transactions/useGetTransactionsFromApi.js +1 -1
  704. package/apiCalls/utils/getCleanApiAddress.js +1 -1
  705. package/apiCalls/utils/getScamAddressData.js +1 -1
  706. package/apiCalls/utils/index.js +1 -1
  707. package/apiCalls/utils/useApiFetch.js +1 -1
  708. package/components/LogoutListener/LogoutListener.js +1 -1
  709. package/components/LogoutListener/helpers/index.js +1 -1
  710. package/components/LogoutListener/helpers/useLogoutFromMultipleTabs.js +1 -1
  711. package/components/LogoutListener/helpers/useNativeAuthLogout.js +1 -1
  712. package/components/LogoutListener/helpers/useNativeAuthLogoutWarning/index.js +1 -1
  713. package/components/LogoutListener/helpers/useNativeAuthLogoutWarning/useNativeAuthLogoutWarning.js +1 -1
  714. package/components/LogoutListener/index.js +1 -1
  715. package/components/ProviderInitializer/ProviderInitializer.js +1 -1
  716. package/components/ProviderInitializer/helpers/index.js +1 -1
  717. package/components/ProviderInitializer/helpers/processModifiedAccount.js +1 -1
  718. package/components/ProviderInitializer/hooks/index.js +1 -1
  719. package/components/ProviderInitializer/hooks/useSetLedgerProvider.js +1 -1
  720. package/components/ProviderInitializer/index.js +1 -1
  721. package/components/TransactionSender/TransactionSender.js +1 -1
  722. package/components/TransactionSender/index.js +1 -1
  723. package/components/TransactionSender/utils/handleSendBatchTransactionsErrors.js +1 -1
  724. package/components/TransactionSender/utils/handleSendTransactionsErrors.js +1 -1
  725. package/components/TransactionSender/utils/invokeSendTransactions.js +1 -1
  726. package/components/TransactionsTracker/TransactionTracker.js +1 -1
  727. package/components/TransactionsTracker/index.js +1 -1
  728. package/constants/dataTestIds.enum.d.ts +1 -0
  729. package/constants/dataTestIds.enum.js +1 -1
  730. package/constants/index.js +1 -1
  731. package/hooks/account/index.js +1 -1
  732. package/hooks/account/useGetAccount.js +1 -1
  733. package/hooks/account/useGetAccountInfo.js +1 -1
  734. package/hooks/account/useGetAccountProvider.js +1 -1
  735. package/hooks/account/useGetBatchWebsocketEvent.js +1 -1
  736. package/hooks/account/useGetIsLoggedIn.js +1 -1
  737. package/hooks/account/useGetIsWalletConnectV2Initialized.js +1 -1
  738. package/hooks/account/useGetLoginInfo.js +1 -1
  739. package/hooks/account/useGetWebsocketEvent.js +1 -1
  740. package/hooks/economics/index.js +1 -1
  741. package/hooks/economics/useGetEgldPrice.js +1 -1
  742. package/hooks/index.js +1 -1
  743. package/hooks/login/index.js +1 -1
  744. package/hooks/login/useCrossWindowLogin.js +1 -1
  745. package/hooks/login/useExtensionLogin.js +1 -1
  746. package/hooks/login/useGetModalLoginMethods.js +1 -1
  747. package/hooks/login/useIframeLogin.js +1 -1
  748. package/hooks/login/useLedgerLogin.js +1 -1
  749. package/hooks/login/useLoginService.js +1 -1
  750. package/hooks/login/useMetamaskLogin.js +1 -1
  751. package/hooks/login/useOperaLogin.js +1 -1
  752. package/hooks/login/usePasskeyLogin.js +1 -1
  753. package/hooks/login/useWalletConnectV2Login.js +1 -1
  754. package/hooks/login/useWebViewLogin.js +1 -1
  755. package/hooks/login/useWebWalletLogin.js +1 -1
  756. package/hooks/login/useXaliasLogin.js +1 -1
  757. package/hooks/signMessage/index.js +1 -1
  758. package/hooks/signMessage/useGetLastSignedMessageSession.js +1 -1
  759. package/hooks/signMessage/useGetSignMessageSession.js +1 -1
  760. package/hooks/signMessage/useGetSignedMessageStatus.js +1 -1
  761. package/hooks/signMessage/useSignMessage.js +1 -1
  762. package/hooks/toasts/index.js +1 -1
  763. package/hooks/toasts/useGetToasts.js +1 -1
  764. package/hooks/toasts/useTransactionsToasts.js +1 -1
  765. package/hooks/transactions/batch/tracker/useBatchTransactionsTracker.js +1 -1
  766. package/hooks/transactions/batch/tracker/useCheckBatch.js +1 -1
  767. package/hooks/transactions/batch/tracker/useCheckBatchesOnWsFailureFallback.js +1 -1
  768. package/hooks/transactions/batch/tracker/useCheckHangingBatchesFallback.js +1 -1
  769. package/hooks/transactions/batch/tracker/useUpdateBatch.js +1 -1
  770. package/hooks/transactions/batch/tracker/useVerifyBatchStatus.js +1 -1
  771. package/hooks/transactions/batch/useGetBatchStatus.js +1 -1
  772. package/hooks/transactions/batch/useGetBatches.js +1 -1
  773. package/hooks/transactions/batch/useResolveBatchStatusResponse.js +1 -1
  774. package/hooks/transactions/batch/useSendBatchTransactions.js +1 -1
  775. package/hooks/transactions/helpers/buildBatchId.js +1 -1
  776. package/hooks/transactions/helpers/checkNeedsGuardianSigning.js +1 -1
  777. package/hooks/transactions/helpers/extractSessionId.js +1 -1
  778. package/hooks/transactions/helpers/getShouldMoveTransactionsToSignedState.js +1 -1
  779. package/hooks/transactions/helpers/index.js +1 -1
  780. package/hooks/transactions/helpers/useClearTransactionsToSignWithWarning.js +1 -1
  781. package/hooks/transactions/helpers/useGetLedgerProvider.js +1 -1
  782. package/hooks/transactions/helpers/useSetTransactionNonces.js +1 -1
  783. package/hooks/transactions/index.js +1 -1
  784. package/hooks/transactions/useCancelWalletConnectAction.js +1 -1
  785. package/hooks/transactions/useCheckTransactionStatus/checkBatch.js +1 -1
  786. package/hooks/transactions/useCheckTransactionStatus/index.js +1 -1
  787. package/hooks/transactions/useCheckTransactionStatus/manageFailedTransactions.js +1 -1
  788. package/hooks/transactions/useCheckTransactionStatus/manageTimedOutTransactions.js +1 -1
  789. package/hooks/transactions/useCheckTransactionStatus/useCheckTransactionStatus.js +1 -1
  790. package/hooks/transactions/useGetActiveTransactionsStatus.js +1 -1
  791. package/hooks/transactions/useGetFailedTransactions.js +1 -1
  792. package/hooks/transactions/useGetLastPendingTransactionHash.js +1 -1
  793. package/hooks/transactions/useGetPendingTransactions.js +1 -1
  794. package/hooks/transactions/useGetPollingInterval.js +1 -1
  795. package/hooks/transactions/useGetSignTransactionsError.js +1 -1
  796. package/hooks/transactions/useGetSignedTransactions.js +1 -1
  797. package/hooks/transactions/useGetSuccessfulTransactions.js +1 -1
  798. package/hooks/transactions/useGetTokenDetails.js +1 -1
  799. package/hooks/transactions/useGetTransactionDisplayInfo.js +1 -1
  800. package/hooks/transactions/useParseSignedTransactions.js +1 -1
  801. package/hooks/transactions/useSignMultipleTransactions.js +1 -1
  802. package/hooks/transactions/useSignTransactions.js +1 -1
  803. package/hooks/transactions/useSignTransactionsCommonData.js +1 -1
  804. package/hooks/transactions/useSignTransactionsWithDevice.js +1 -1
  805. package/hooks/transactions/useSignTransactionsWithLedger.js +1 -1
  806. package/hooks/transactions/useTrackTransactionStatus.js +1 -1
  807. package/hooks/transactions/useTransactionsTracker.js +1 -1
  808. package/hooks/useGetNetworkConfig.js +1 -1
  809. package/hooks/useGetNotification.js +1 -1
  810. package/hooks/websocketListener/index.js +1 -1
  811. package/hooks/websocketListener/useInitializeWebsocketConnection.js +1 -1
  812. package/hooks/websocketListener/useRegisterWebsocketListener.js +1 -1
  813. package/models/index.js +1 -1
  814. package/models/newTransaction.js +1 -1
  815. package/package.json +1 -1
  816. package/providers/accountProvider.js +1 -1
  817. package/providers/experimentalWebViewProvider/ExperimentalWebviewProvider.js +1 -1
  818. package/providers/experimentalWebViewProvider/index.js +1 -1
  819. package/providers/index.js +1 -1
  820. package/providers/utils.js +1 -1
  821. package/providers/webviewProvider/index.js +1 -1
  822. package/providers/webviewProvider/requestMethods.js +1 -1
  823. package/providers/webviewProvider/webviewProvider.js +1 -1
  824. package/reduxStore/DappProviderContext.js +1 -1
  825. package/reduxStore/commonActions.js +1 -1
  826. package/reduxStore/middlewares/loginSessionMiddleware.js +1 -1
  827. package/reduxStore/persistConfig.js +1 -1
  828. package/reduxStore/persistedRootReducer.js +1 -1
  829. package/reduxStore/reducers.js +1 -1
  830. package/reduxStore/rootReducer.js +1 -1
  831. package/reduxStore/selectors/accountInfoSelectors.js +1 -1
  832. package/reduxStore/selectors/index.js +1 -1
  833. package/reduxStore/selectors/loginInfoSelectors.js +1 -1
  834. package/reduxStore/selectors/transactionsInfoSelectors.js +1 -1
  835. package/reduxStore/selectors/transactionsSelectors.js +1 -1
  836. package/reduxStore/slices/accountInfoSlice.js +1 -1
  837. package/reduxStore/slices/batchTransactionsSlice.js +1 -1
  838. package/reduxStore/slices/dappConfigSlice.js +1 -1
  839. package/reduxStore/slices/index.js +1 -1
  840. package/reduxStore/slices/loginInfoSlice.js +1 -1
  841. package/reduxStore/slices/modalsSlice.js +1 -1
  842. package/reduxStore/slices/networkConfigSlice.js +1 -1
  843. package/reduxStore/slices/signedMessageInfoSlice.js +1 -1
  844. package/reduxStore/slices/toastsSlice.js +1 -1
  845. package/reduxStore/slices/transactionsInfoSlice.js +1 -1
  846. package/reduxStore/slices/transactionsSlice.js +1 -1
  847. package/reduxStore/store.js +1 -1
  848. package/services/index.js +1 -1
  849. package/services/nativeAuth/helpers/getAuthorizationInfo.js +1 -1
  850. package/services/nativeAuth/helpers/getIsNativeAuthSingingForbidden.js +1 -1
  851. package/services/nativeAuth/helpers/index.js +1 -1
  852. package/services/nativeAuth/helpers/loginWithNativeAuthToken.js +1 -1
  853. package/services/transactions/clearTransactions.js +1 -1
  854. package/services/transactions/getBatchTransactionsStatus.js +1 -1
  855. package/services/transactions/getTransactionsDetails.js +1 -1
  856. package/services/transactions/index.js +1 -1
  857. package/services/transactions/isCrossShardTransaction.js +1 -1
  858. package/services/transactions/sendBatchTransactions.js +1 -1
  859. package/services/transactions/sendBatchTransactions.test.js +1 -1
  860. package/services/transactions/sendTransactions.js +1 -1
  861. package/services/transactions/signTransactions.js +1 -1
  862. package/services/transactions/transformAndSignTransactions.js +1 -1
  863. package/services/transactions/updateSignedTransactions.js +1 -1
  864. package/services/transactions/utils/transformTransactionsToSign.js +1 -1
  865. package/services/transactions/utils.js +1 -1
  866. package/utils/account/getAccount.js +1 -1
  867. package/utils/account/getAccountBalance.js +1 -1
  868. package/utils/account/getAccountProviderType.js +1 -1
  869. package/utils/account/getAccountShard.js +1 -1
  870. package/utils/account/getAddress.js +1 -1
  871. package/utils/account/getIsProviderEqualTo.js +1 -1
  872. package/utils/account/getLatestNonce.js +1 -1
  873. package/utils/account/getShardOfAddress.js +1 -1
  874. package/utils/account/getWebviewToken.js +1 -1
  875. package/utils/account/index.js +1 -1
  876. package/utils/account/loginWithExternalProvider.js +1 -1
  877. package/utils/account/refreshAccount.js +1 -1
  878. package/utils/account/setNonce.js +1 -1
  879. package/utils/account/signMessage.js +1 -1
  880. package/utils/getIsLoggedIn.js +1 -1
  881. package/utils/index.js +1 -1
  882. package/utils/logout.js +1 -1
  883. package/utils/network/getChainID.js +1 -1
  884. package/utils/network/getEgldLabel.js +1 -1
  885. package/utils/network/getNetworkConfig.js +1 -1
  886. package/utils/network/index.js +1 -1
  887. package/utils/operations/calculateFeeInFiat.js +1 -1
  888. package/utils/operations/calculateFeeLimit.js +1 -1
  889. package/utils/operations/denominate.js +1 -1
  890. package/utils/operations/formatAmount.js +1 -1
  891. package/utils/operations/index.js +1 -1
  892. package/utils/operations/ledger/getLedgerVersionOptions.js +1 -1
  893. package/utils/operations/ledger/index.js +1 -1
  894. package/utils/operations/nominate.js +1 -1
  895. package/utils/operations/parseAmount.js +1 -1
  896. package/utils/toasts/customToastsActions.js +1 -1
  897. package/utils/toasts/index.js +1 -1
  898. package/utils/transactions/batch/updateBatchTransactionsStatuses.js +1 -1
  899. package/utils/transactions/builtCallbackUrl.js +1 -1
  900. package/utils/transactions/getAllTransactionsLink.js +1 -1
  901. package/utils/transactions/getAreTransactionsOnSameShard.js +1 -1
  902. package/utils/transactions/getInterpretedTransaction/getInterpretedTransaction.js +1 -1
  903. package/utils/transactions/getInterpretedTransaction/helpers/getReceiptMessage.js +1 -1
  904. package/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/getTransactionValue.js +1 -1
  905. package/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/helpers/getEgldValueData.js +1 -1
  906. package/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/helpers/getTitleText.js +1 -1
  907. package/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/helpers/getValueFromActions.js +1 -1
  908. package/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/helpers/getValueFromDataField.js +1 -1
  909. package/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/helpers/getValueFromOperations.js +1 -1
  910. package/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/helpers/index.js +1 -1
  911. package/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/index.js +1 -1
  912. package/utils/transactions/getInterpretedTransaction/helpers/index.js +1 -1
  913. package/utils/transactions/getInterpretedTransaction/index.js +1 -1
  914. package/utils/transactions/getOperationsDetails.js +1 -1
  915. package/utils/transactions/getTransactionLink.js +1 -1
  916. package/utils/transactions/index.js +1 -1
  917. package/utils/transactions/isGuardianTx.js +1 -1
  918. package/utils/transactions/parseTransactionAfterSigning.js +1 -1
  919. package/utils/transactions/removeTransactionParamsFromUrl.js +1 -1
  920. package/utils/transactions/transactionInfoHelpers/getShardText.js +1 -1
  921. package/utils/transactions/transactionInfoHelpers/getTransactionActionNftText.js +1 -1
  922. package/utils/transactions/transactionInfoHelpers/getTransactionActionTokenText.js +1 -1
  923. package/utils/transactions/transactionInfoHelpers/getTransactionMessages.js +1 -1
  924. package/utils/transactions/transactionInfoHelpers/index.js +1 -1
  925. package/utils/transactions/transactionInfoHelpers/transactionActionUnwrapper/helpers/index.js +1 -1
  926. package/utils/transactions/transactionInfoHelpers/transactionActionUnwrapper/helpers/mexUnwrapper.js +1 -1
  927. package/utils/transactions/transactionInfoHelpers/transactionActionUnwrapper/index.js +1 -1
  928. package/utils/transactions/transactionInfoHelpers/transactionActionUnwrapper/transactionActionUnwrapper.js +1 -1
  929. package/utils/validation/index.js +1 -1
  930. package/utils/validation/maxDecimals.js +1 -1
  931. package/utils/validation/stringIsFloat.js +1 -1
  932. package/utils/waitForChainID.js +1 -1
  933. package/utils/walletconnect/__mocks__/sdkWalletconnectProvider.js +1 -1
  934. package/web/hooks/index.js +1 -1
  935. package/web/hooks/useIdleTimer.js +1 -1
  936. package/web/index.js +1 -1
  937. package/wrappers/AppInitializer.js +1 -1
  938. package/wrappers/AuthenticatedRoutesWrapper/AuthenticatedRoutesWrapper.js +1 -1
  939. package/wrappers/AuthenticatedRoutesWrapper/index.js +1 -1
  940. package/wrappers/AxiosInterceptorContext/AxiosInterceptorContext.js +1 -1
  941. package/wrappers/AxiosInterceptorContext/components/AxiosInterceptor.js +1 -1
  942. package/wrappers/AxiosInterceptorContext/components/AxiosInterceptorContextProvider.js +1 -1
  943. package/wrappers/AxiosInterceptorContext/components/LoginInfoListener.js +1 -1
  944. package/wrappers/AxiosInterceptorContext/components/index.js +1 -1
  945. package/wrappers/AxiosInterceptorContext/index.js +1 -1
  946. package/wrappers/DappProvider/CustomComponents.js +1 -1
  947. package/wrappers/DappProvider/DappProvider.js +1 -1
  948. package/wrappers/DappProvider/index.js +1 -1
  949. package/wrappers/index.js +1 -1
  950. package/__chunks__/chunk-2CIKILAW.js +0 -2
  951. package/__chunks__/chunk-2OYU5WPX.js +0 -2
  952. package/__chunks__/chunk-374SPKUP.js +0 -2
  953. package/__chunks__/chunk-3ENWF7YR.js +0 -2
  954. package/__chunks__/chunk-4PV7B6OC.js +0 -2
  955. package/__chunks__/chunk-5CUNBDJS.js +0 -2
  956. package/__chunks__/chunk-5GZQ4REB.js +0 -2
  957. package/__chunks__/chunk-5ON2ZU5O.js +0 -2
  958. package/__chunks__/chunk-6CAO2NGV.js +0 -2
  959. package/__chunks__/chunk-6IQIPHJS.js +0 -2
  960. package/__chunks__/chunk-6NIELLKI.js +0 -2
  961. package/__chunks__/chunk-6U55E5BU.js +0 -2
  962. package/__chunks__/chunk-6YTBMA3L.js +0 -2
  963. package/__chunks__/chunk-742UIH6M.js +0 -2
  964. package/__chunks__/chunk-7PNWS3GR.js +0 -2
  965. package/__chunks__/chunk-ANAR4IRU.js +0 -2
  966. package/__chunks__/chunk-B7LFYDED.js +0 -2
  967. package/__chunks__/chunk-BMO5RCC5.js +0 -2
  968. package/__chunks__/chunk-BP52J7CD.js +0 -2
  969. package/__chunks__/chunk-CJAPWZXN.js +0 -2
  970. package/__chunks__/chunk-DFR7P23J.js +0 -2
  971. package/__chunks__/chunk-DUV2RGVU.js +0 -2
  972. package/__chunks__/chunk-E5DSKAV7.js +0 -2
  973. package/__chunks__/chunk-G4XEIEOD.js +0 -2
  974. package/__chunks__/chunk-GHFRCWZU.js +0 -2
  975. package/__chunks__/chunk-GMEPYWSN.js +0 -2
  976. package/__chunks__/chunk-HPW4LYHW.js +0 -2
  977. package/__chunks__/chunk-IOIPFMWK.js +0 -2
  978. package/__chunks__/chunk-J4LEZDHO.js +0 -2
  979. package/__chunks__/chunk-JBFTLTH7.js +0 -2
  980. package/__chunks__/chunk-LCTNXSYB.js +0 -2
  981. package/__chunks__/chunk-LZU4AQRM.js +0 -2
  982. package/__chunks__/chunk-MDJ2PLT3.js +0 -2
  983. package/__chunks__/chunk-MIFW35FG.js +0 -2
  984. package/__chunks__/chunk-NPRONW74.js +0 -2
  985. package/__chunks__/chunk-O3JF5Q7D.js +0 -2
  986. package/__chunks__/chunk-O4HAQEWQ.js +0 -2
  987. package/__chunks__/chunk-OS3KFYDU.js +0 -2
  988. package/__chunks__/chunk-OZ7ANBS3.js +0 -2
  989. package/__chunks__/chunk-PAX7M4ZA.js +0 -2
  990. package/__chunks__/chunk-PCYE2DXE.js +0 -2
  991. package/__chunks__/chunk-PHQZ5JGB.js +0 -2
  992. package/__chunks__/chunk-PJTUBBED.js +0 -2
  993. package/__chunks__/chunk-PYXNU6FU.js +0 -2
  994. package/__chunks__/chunk-QGQKCL7C.js +0 -2
  995. package/__chunks__/chunk-RLTGJLTK.js +0 -2
  996. package/__chunks__/chunk-RQLQURWN.js +0 -2
  997. package/__chunks__/chunk-SB5OER4G.js +0 -2
  998. package/__chunks__/chunk-TGN5MZTJ.js +0 -2
  999. package/__chunks__/chunk-TNBTG7EY.js +0 -2
  1000. package/__chunks__/chunk-TW3W4TEQ.js +0 -2
  1001. package/__chunks__/chunk-U3F4YV5C.js +0 -2
  1002. package/__chunks__/chunk-UANI2K3E.js +0 -2
  1003. package/__chunks__/chunk-UUZWA5KU.js +0 -2
  1004. package/__chunks__/chunk-W3LC3DJ3.js +0 -2
  1005. package/__chunks__/chunk-WD34FATV.js +0 -2
  1006. package/__chunks__/chunk-XC2TOXRS.js +0 -2
  1007. package/__chunks__/chunk-XSEH43PQ.js +0 -2
  1008. package/__chunks__/chunk-Y2KGN2FJ.js +0 -2
  1009. package/__chunks__/chunk-YMQ3LJXF.js +0 -2
  1010. package/__chunks__/chunk-YTYYPK7N.js +0 -2
  1011. package/__chunks__/chunk-ZCKZ2UUI.js +0 -2
  1012. package/__chunks__/chunk-ZJWWEHIM.js +0 -2
@@ -1,4 +1,4 @@
1
- "use strict";var Jr=Object.create;var re=Object.defineProperty,Qr=Object.defineProperties,et=Object.getOwnPropertyDescriptor,rt=Object.getOwnPropertyDescriptors,tt=Object.getOwnPropertyNames,Pe=Object.getOwnPropertySymbols,nt=Object.getPrototypeOf,Ge=Object.prototype.hasOwnProperty,it=Object.prototype.propertyIsEnumerable;var Me=(t,e,r)=>e in t?re(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,F=(t,e)=>{for(var r in e||(e={}))Ge.call(e,r)&&Me(t,r,e[r]);if(Pe)for(var r of Pe(e))it.call(e,r)&&Me(t,r,e[r]);return t},ae=(t,e)=>Qr(t,rt(e));var ot=(t,e)=>()=>(t&&(e=t(t=0)),e);var se=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),at=(t,e)=>{for(var r in e)re(t,r,{get:e[r],enumerable:!0})},Ve=(t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of tt(e))!Ge.call(t,i)&&i!==r&&re(t,i,{get:()=>e[i],enumerable:!(n=et(e,i))||n.enumerable});return t};var C=(t,e,r)=>(r=t!=null?Jr(nt(t)):{},Ve(e||!t||!t.__esModule?re(r,"default",{value:t,enumerable:!0}):r,t)),st=t=>Ve(re({},"__esModule",{value:!0}),t);var He=se(le=>{"use strict";o();le.byteLength=ct;le.toByteArray=pt;le.fromByteArray=gt;var N=[],S=[],lt=typeof Uint8Array!="undefined"?Uint8Array:Array,he="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(W=0,$e=he.length;W<$e;++W)N[W]=he[W],S[he.charCodeAt(W)]=W;var W,$e;S["-".charCodeAt(0)]=62;S["_".charCodeAt(0)]=63;function We(t){var e=t.length;if(e%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var r=t.indexOf("=");r===-1&&(r=e);var n=r===e?0:4-r%4;return[r,n]}function ct(t){var e=We(t),r=e[0],n=e[1];return(r+n)*3/4-n}function ut(t,e,r){return(e+r)*3/4-r}function pt(t){var e,r=We(t),n=r[0],i=r[1],a=new lt(ut(t,n,i)),s=0,m=i>0?n-4:n,d;for(d=0;d<m;d+=4)e=S[t.charCodeAt(d)]<<18|S[t.charCodeAt(d+1)]<<12|S[t.charCodeAt(d+2)]<<6|S[t.charCodeAt(d+3)],a[s++]=e>>16&255,a[s++]=e>>8&255,a[s++]=e&255;return i===2&&(e=S[t.charCodeAt(d)]<<2|S[t.charCodeAt(d+1)]>>4,a[s++]=e&255),i===1&&(e=S[t.charCodeAt(d)]<<10|S[t.charCodeAt(d+1)]<<4|S[t.charCodeAt(d+2)]>>2,a[s++]=e>>8&255,a[s++]=e&255),a}function mt(t){return N[t>>18&63]+N[t>>12&63]+N[t>>6&63]+N[t&63]}function dt(t,e,r){for(var n,i=[],a=e;a<r;a+=3)n=(t[a]<<16&16711680)+(t[a+1]<<8&65280)+(t[a+2]&255),i.push(mt(n));return i.join("")}function gt(t){for(var e,r=t.length,n=r%3,i=[],a=16383,s=0,m=r-n;s<m;s+=a)i.push(dt(t,s,s+a>m?m:s+a));return n===1?(e=t[r-1],i.push(N[e>>2]+N[e<<4&63]+"==")):n===2&&(e=(t[r-2]<<8)+t[r-1],i.push(N[e>>10]+N[e>>4&63]+N[e<<2&63]+"=")),i.join("")}});var qe=se(ye=>{o();ye.read=function(t,e,r,n,i){var a,s,m=i*8-n-1,d=(1<<m)-1,g=d>>1,h=-7,f=r?i-1:0,y=r?-1:1,T=t[e+f];for(f+=y,a=T&(1<<-h)-1,T>>=-h,h+=m;h>0;a=a*256+t[e+f],f+=y,h-=8);for(s=a&(1<<-h)-1,a>>=-h,h+=n;h>0;s=s*256+t[e+f],f+=y,h-=8);if(a===0)a=1-g;else{if(a===d)return s?NaN:(T?-1:1)*(1/0);s=s+Math.pow(2,n),a=a-g}return(T?-1:1)*s*Math.pow(2,a-n)};ye.write=function(t,e,r,n,i,a){var s,m,d,g=a*8-i-1,h=(1<<g)-1,f=h>>1,y=i===23?Math.pow(2,-24)-Math.pow(2,-77):0,T=n?0:a-1,w=n?1:-1,M=e<0||e===0&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(m=isNaN(e)?1:0,s=h):(s=Math.floor(Math.log(e)/Math.LN2),e*(d=Math.pow(2,-s))<1&&(s--,d*=2),s+f>=1?e+=y/d:e+=y*Math.pow(2,1-f),e*d>=2&&(s++,d/=2),s+f>=h?(m=0,s=h):s+f>=1?(m=(e*d-1)*Math.pow(2,i),s=s+f):(m=e*Math.pow(2,f-1)*Math.pow(2,i),s=0));i>=8;t[r+T]=m&255,T+=w,m/=256,i-=8);for(s=s<<i|m,g+=i;g>0;t[r+T]=s&255,T+=w,s/=256,g-=8);t[r+T-w]|=M*128}});var ir=se(K=>{"use strict";o();var Te=He(),z=qe(),je=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;K.Buffer=l;K.SlowBuffer=bt;K.INSPECT_MAX_BYTES=50;var ce=2147483647;K.kMaxLength=ce;l.TYPED_ARRAY_SUPPORT=ft();!l.TYPED_ARRAY_SUPPORT&&typeof console!="undefined"&&typeof console.error=="function"&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function ft(){try{var t=new Uint8Array(1),e={foo:function(){return 42}};return Object.setPrototypeOf(e,Uint8Array.prototype),Object.setPrototypeOf(t,e),t.foo()===42}catch(r){return!1}}Object.defineProperty(l.prototype,"parent",{enumerable:!0,get:function(){if(!!l.isBuffer(this))return this.buffer}});Object.defineProperty(l.prototype,"offset",{enumerable:!0,get:function(){if(!!l.isBuffer(this))return this.byteOffset}});function O(t){if(t>ce)throw new RangeError('The value "'+t+'" is invalid for option "size"');var e=new Uint8Array(t);return Object.setPrototypeOf(e,l.prototype),e}function l(t,e,r){if(typeof t=="number"){if(typeof e=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return ve(t)}return Xe(t,e,r)}l.poolSize=8192;function Xe(t,e,r){if(typeof t=="string")return yt(t,e);if(ArrayBuffer.isView(t))return Tt(t);if(t==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t);if(_(t,ArrayBuffer)||t&&_(t.buffer,ArrayBuffer)||typeof SharedArrayBuffer!="undefined"&&(_(t,SharedArrayBuffer)||t&&_(t.buffer,SharedArrayBuffer)))return be(t,e,r);if(typeof t=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var n=t.valueOf&&t.valueOf();if(n!=null&&n!==t)return l.from(n,e,r);var i=xt(t);if(i)return i;if(typeof Symbol!="undefined"&&Symbol.toPrimitive!=null&&typeof t[Symbol.toPrimitive]=="function")return l.from(t[Symbol.toPrimitive]("string"),e,r);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t)}l.from=function(t,e,r){return Xe(t,e,r)};Object.setPrototypeOf(l.prototype,Uint8Array.prototype);Object.setPrototypeOf(l,Uint8Array);function Ye(t){if(typeof t!="number")throw new TypeError('"size" argument must be of type number');if(t<0)throw new RangeError('The value "'+t+'" is invalid for option "size"')}function ht(t,e,r){return Ye(t),t<=0?O(t):e!==void 0?typeof r=="string"?O(t).fill(e,r):O(t).fill(e):O(t)}l.alloc=function(t,e,r){return ht(t,e,r)};function ve(t){return Ye(t),O(t<0?0:Ae(t)|0)}l.allocUnsafe=function(t){return ve(t)};l.allocUnsafeSlow=function(t){return ve(t)};function yt(t,e){if((typeof e!="string"||e==="")&&(e="utf8"),!l.isEncoding(e))throw new TypeError("Unknown encoding: "+e);var r=Ze(t,e)|0,n=O(r),i=n.write(t,e);return i!==r&&(n=n.slice(0,i)),n}function xe(t){for(var e=t.length<0?0:Ae(t.length)|0,r=O(e),n=0;n<e;n+=1)r[n]=t[n]&255;return r}function Tt(t){if(_(t,Uint8Array)){var e=new Uint8Array(t);return be(e.buffer,e.byteOffset,e.byteLength)}return xe(t)}function be(t,e,r){if(e<0||t.byteLength<e)throw new RangeError('"offset" is outside of buffer bounds');if(t.byteLength<e+(r||0))throw new RangeError('"length" is outside of buffer bounds');var n;return e===void 0&&r===void 0?n=new Uint8Array(t):r===void 0?n=new Uint8Array(t,e):n=new Uint8Array(t,e,r),Object.setPrototypeOf(n,l.prototype),n}function xt(t){if(l.isBuffer(t)){var e=Ae(t.length)|0,r=O(e);return r.length===0||t.copy(r,0,0,e),r}if(t.length!==void 0)return typeof t.length!="number"||Se(t.length)?O(0):xe(t);if(t.type==="Buffer"&&Array.isArray(t.data))return xe(t.data)}function Ae(t){if(t>=ce)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+ce.toString(16)+" bytes");return t|0}function bt(t){return+t!=t&&(t=0),l.alloc(+t)}l.isBuffer=function(e){return e!=null&&e._isBuffer===!0&&e!==l.prototype};l.compare=function(e,r){if(_(e,Uint8Array)&&(e=l.from(e,e.offset,e.byteLength)),_(r,Uint8Array)&&(r=l.from(r,r.offset,r.byteLength)),!l.isBuffer(e)||!l.isBuffer(r))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(e===r)return 0;for(var n=e.length,i=r.length,a=0,s=Math.min(n,i);a<s;++a)if(e[a]!==r[a]){n=e[a],i=r[a];break}return n<i?-1:i<n?1:0};l.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}};l.concat=function(e,r){if(!Array.isArray(e))throw new TypeError('"list" argument must be an Array of Buffers');if(e.length===0)return l.alloc(0);var n;if(r===void 0)for(r=0,n=0;n<e.length;++n)r+=e[n].length;var i=l.allocUnsafe(r),a=0;for(n=0;n<e.length;++n){var s=e[n];if(_(s,Uint8Array))a+s.length>i.length?l.from(s).copy(i,a):Uint8Array.prototype.set.call(i,s,a);else if(l.isBuffer(s))s.copy(i,a);else throw new TypeError('"list" argument must be an Array of Buffers');a+=s.length}return i};function Ze(t,e){if(l.isBuffer(t))return t.length;if(ArrayBuffer.isView(t)||_(t,ArrayBuffer))return t.byteLength;if(typeof t!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof t);var r=t.length,n=arguments.length>2&&arguments[2]===!0;if(!n&&r===0)return 0;for(var i=!1;;)switch(e){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":return we(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return r*2;case"hex":return r>>>1;case"base64":return nr(t).length;default:if(i)return n?-1:we(t).length;e=(""+e).toLowerCase(),i=!0}}l.byteLength=Ze;function wt(t,e,r){var n=!1;if((e===void 0||e<0)&&(e=0),e>this.length||((r===void 0||r>this.length)&&(r=this.length),r<=0)||(r>>>=0,e>>>=0,r<=e))return"";for(t||(t="utf8");;)switch(t){case"hex":return Lt(this,e,r);case"utf8":case"utf-8":return Qe(this,e,r);case"ascii":return Et(this,e,r);case"latin1":case"binary":return Rt(this,e,r);case"base64":return Nt(this,e,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Dt(this,e,r);default:if(n)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),n=!0}}l.prototype._isBuffer=!0;function H(t,e,r){var n=t[e];t[e]=t[r],t[r]=n}l.prototype.swap16=function(){var e=this.length;if(e%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var r=0;r<e;r+=2)H(this,r,r+1);return this};l.prototype.swap32=function(){var e=this.length;if(e%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var r=0;r<e;r+=4)H(this,r,r+3),H(this,r+1,r+2);return this};l.prototype.swap64=function(){var e=this.length;if(e%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var r=0;r<e;r+=8)H(this,r,r+7),H(this,r+1,r+6),H(this,r+2,r+5),H(this,r+3,r+4);return this};l.prototype.toString=function(){var e=this.length;return e===0?"":arguments.length===0?Qe(this,0,e):wt.apply(this,arguments)};l.prototype.toLocaleString=l.prototype.toString;l.prototype.equals=function(e){if(!l.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e?!0:l.compare(this,e)===0};l.prototype.inspect=function(){var e="",r=K.INSPECT_MAX_BYTES;return e=this.toString("hex",0,r).replace(/(.{2})/g,"$1 ").trim(),this.length>r&&(e+=" ... "),"<Buffer "+e+">"};je&&(l.prototype[je]=l.prototype.inspect);l.prototype.compare=function(e,r,n,i,a){if(_(e,Uint8Array)&&(e=l.from(e,e.offset,e.byteLength)),!l.isBuffer(e))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof e);if(r===void 0&&(r=0),n===void 0&&(n=e?e.length:0),i===void 0&&(i=0),a===void 0&&(a=this.length),r<0||n>e.length||i<0||a>this.length)throw new RangeError("out of range index");if(i>=a&&r>=n)return 0;if(i>=a)return-1;if(r>=n)return 1;if(r>>>=0,n>>>=0,i>>>=0,a>>>=0,this===e)return 0;for(var s=a-i,m=n-r,d=Math.min(s,m),g=this.slice(i,a),h=e.slice(r,n),f=0;f<d;++f)if(g[f]!==h[f]){s=g[f],m=h[f];break}return s<m?-1:m<s?1:0};function Je(t,e,r,n,i){if(t.length===0)return-1;if(typeof r=="string"?(n=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),r=+r,Se(r)&&(r=i?0:t.length-1),r<0&&(r=t.length+r),r>=t.length){if(i)return-1;r=t.length-1}else if(r<0)if(i)r=0;else return-1;if(typeof e=="string"&&(e=l.from(e,n)),l.isBuffer(e))return e.length===0?-1:ze(t,e,r,n,i);if(typeof e=="number")return e=e&255,typeof Uint8Array.prototype.indexOf=="function"?i?Uint8Array.prototype.indexOf.call(t,e,r):Uint8Array.prototype.lastIndexOf.call(t,e,r):ze(t,[e],r,n,i);throw new TypeError("val must be string, number or Buffer")}function ze(t,e,r,n,i){var a=1,s=t.length,m=e.length;if(n!==void 0&&(n=String(n).toLowerCase(),n==="ucs2"||n==="ucs-2"||n==="utf16le"||n==="utf-16le")){if(t.length<2||e.length<2)return-1;a=2,s/=2,m/=2,r/=2}function d(T,w){return a===1?T[w]:T.readUInt16BE(w*a)}var g;if(i){var h=-1;for(g=r;g<s;g++)if(d(t,g)===d(e,h===-1?0:g-h)){if(h===-1&&(h=g),g-h+1===m)return h*a}else h!==-1&&(g-=g-h),h=-1}else for(r+m>s&&(r=s-m),g=r;g>=0;g--){for(var f=!0,y=0;y<m;y++)if(d(t,g+y)!==d(e,y)){f=!1;break}if(f)return g}return-1}l.prototype.includes=function(e,r,n){return this.indexOf(e,r,n)!==-1};l.prototype.indexOf=function(e,r,n){return Je(this,e,r,n,!0)};l.prototype.lastIndexOf=function(e,r,n){return Je(this,e,r,n,!1)};function vt(t,e,r,n){r=Number(r)||0;var i=t.length-r;n?(n=Number(n),n>i&&(n=i)):n=i;var a=e.length;n>a/2&&(n=a/2);for(var s=0;s<n;++s){var m=parseInt(e.substr(s*2,2),16);if(Se(m))return s;t[r+s]=m}return s}function At(t,e,r,n){return ue(we(e,t.length-r),t,r,n)}function St(t,e,r,n){return ue(Ot(e),t,r,n)}function kt(t,e,r,n){return ue(nr(e),t,r,n)}function It(t,e,r,n){return ue(Ut(e,t.length-r),t,r,n)}l.prototype.write=function(e,r,n,i){if(r===void 0)i="utf8",n=this.length,r=0;else if(n===void 0&&typeof r=="string")i=r,n=this.length,r=0;else if(isFinite(r))r=r>>>0,isFinite(n)?(n=n>>>0,i===void 0&&(i="utf8")):(i=n,n=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var a=this.length-r;if((n===void 0||n>a)&&(n=a),e.length>0&&(n<0||r<0)||r>this.length)throw new RangeError("Attempt to write outside buffer bounds");i||(i="utf8");for(var s=!1;;)switch(i){case"hex":return vt(this,e,r,n);case"utf8":case"utf-8":return At(this,e,r,n);case"ascii":case"latin1":case"binary":return St(this,e,r,n);case"base64":return kt(this,e,r,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return It(this,e,r,n);default:if(s)throw new TypeError("Unknown encoding: "+i);i=(""+i).toLowerCase(),s=!0}};l.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function Nt(t,e,r){return e===0&&r===t.length?Te.fromByteArray(t):Te.fromByteArray(t.slice(e,r))}function Qe(t,e,r){r=Math.min(t.length,r);for(var n=[],i=e;i<r;){var a=t[i],s=null,m=a>239?4:a>223?3:a>191?2:1;if(i+m<=r){var d,g,h,f;switch(m){case 1:a<128&&(s=a);break;case 2:d=t[i+1],(d&192)===128&&(f=(a&31)<<6|d&63,f>127&&(s=f));break;case 3:d=t[i+1],g=t[i+2],(d&192)===128&&(g&192)===128&&(f=(a&15)<<12|(d&63)<<6|g&63,f>2047&&(f<55296||f>57343)&&(s=f));break;case 4:d=t[i+1],g=t[i+2],h=t[i+3],(d&192)===128&&(g&192)===128&&(h&192)===128&&(f=(a&15)<<18|(d&63)<<12|(g&63)<<6|h&63,f>65535&&f<1114112&&(s=f))}}s===null?(s=65533,m=1):s>65535&&(s-=65536,n.push(s>>>10&1023|55296),s=56320|s&1023),n.push(s),i+=m}return _t(n)}var Ke=4096;function _t(t){var e=t.length;if(e<=Ke)return String.fromCharCode.apply(String,t);for(var r="",n=0;n<e;)r+=String.fromCharCode.apply(String,t.slice(n,n+=Ke));return r}function Et(t,e,r){var n="";r=Math.min(t.length,r);for(var i=e;i<r;++i)n+=String.fromCharCode(t[i]&127);return n}function Rt(t,e,r){var n="";r=Math.min(t.length,r);for(var i=e;i<r;++i)n+=String.fromCharCode(t[i]);return n}function Lt(t,e,r){var n=t.length;(!e||e<0)&&(e=0),(!r||r<0||r>n)&&(r=n);for(var i="",a=e;a<r;++a)i+=Bt[t[a]];return i}function Dt(t,e,r){for(var n=t.slice(e,r),i="",a=0;a<n.length-1;a+=2)i+=String.fromCharCode(n[a]+n[a+1]*256);return i}l.prototype.slice=function(e,r){var n=this.length;e=~~e,r=r===void 0?n:~~r,e<0?(e+=n,e<0&&(e=0)):e>n&&(e=n),r<0?(r+=n,r<0&&(r=0)):r>n&&(r=n),r<e&&(r=e);var i=this.subarray(e,r);return Object.setPrototypeOf(i,l.prototype),i};function b(t,e,r){if(t%1!==0||t<0)throw new RangeError("offset is not uint");if(t+e>r)throw new RangeError("Trying to access beyond buffer length")}l.prototype.readUintLE=l.prototype.readUIntLE=function(e,r,n){e=e>>>0,r=r>>>0,n||b(e,r,this.length);for(var i=this[e],a=1,s=0;++s<r&&(a*=256);)i+=this[e+s]*a;return i};l.prototype.readUintBE=l.prototype.readUIntBE=function(e,r,n){e=e>>>0,r=r>>>0,n||b(e,r,this.length);for(var i=this[e+--r],a=1;r>0&&(a*=256);)i+=this[e+--r]*a;return i};l.prototype.readUint8=l.prototype.readUInt8=function(e,r){return e=e>>>0,r||b(e,1,this.length),this[e]};l.prototype.readUint16LE=l.prototype.readUInt16LE=function(e,r){return e=e>>>0,r||b(e,2,this.length),this[e]|this[e+1]<<8};l.prototype.readUint16BE=l.prototype.readUInt16BE=function(e,r){return e=e>>>0,r||b(e,2,this.length),this[e]<<8|this[e+1]};l.prototype.readUint32LE=l.prototype.readUInt32LE=function(e,r){return e=e>>>0,r||b(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+this[e+3]*16777216};l.prototype.readUint32BE=l.prototype.readUInt32BE=function(e,r){return e=e>>>0,r||b(e,4,this.length),this[e]*16777216+(this[e+1]<<16|this[e+2]<<8|this[e+3])};l.prototype.readIntLE=function(e,r,n){e=e>>>0,r=r>>>0,n||b(e,r,this.length);for(var i=this[e],a=1,s=0;++s<r&&(a*=256);)i+=this[e+s]*a;return a*=128,i>=a&&(i-=Math.pow(2,8*r)),i};l.prototype.readIntBE=function(e,r,n){e=e>>>0,r=r>>>0,n||b(e,r,this.length);for(var i=r,a=1,s=this[e+--i];i>0&&(a*=256);)s+=this[e+--i]*a;return a*=128,s>=a&&(s-=Math.pow(2,8*r)),s};l.prototype.readInt8=function(e,r){return e=e>>>0,r||b(e,1,this.length),this[e]&128?(255-this[e]+1)*-1:this[e]};l.prototype.readInt16LE=function(e,r){e=e>>>0,r||b(e,2,this.length);var n=this[e]|this[e+1]<<8;return n&32768?n|4294901760:n};l.prototype.readInt16BE=function(e,r){e=e>>>0,r||b(e,2,this.length);var n=this[e+1]|this[e]<<8;return n&32768?n|4294901760:n};l.prototype.readInt32LE=function(e,r){return e=e>>>0,r||b(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24};l.prototype.readInt32BE=function(e,r){return e=e>>>0,r||b(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]};l.prototype.readFloatLE=function(e,r){return e=e>>>0,r||b(e,4,this.length),z.read(this,e,!0,23,4)};l.prototype.readFloatBE=function(e,r){return e=e>>>0,r||b(e,4,this.length),z.read(this,e,!1,23,4)};l.prototype.readDoubleLE=function(e,r){return e=e>>>0,r||b(e,8,this.length),z.read(this,e,!0,52,8)};l.prototype.readDoubleBE=function(e,r){return e=e>>>0,r||b(e,8,this.length),z.read(this,e,!1,52,8)};function A(t,e,r,n,i,a){if(!l.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>i||e<a)throw new RangeError('"value" argument is out of bounds');if(r+n>t.length)throw new RangeError("Index out of range")}l.prototype.writeUintLE=l.prototype.writeUIntLE=function(e,r,n,i){if(e=+e,r=r>>>0,n=n>>>0,!i){var a=Math.pow(2,8*n)-1;A(this,e,r,n,a,0)}var s=1,m=0;for(this[r]=e&255;++m<n&&(s*=256);)this[r+m]=e/s&255;return r+n};l.prototype.writeUintBE=l.prototype.writeUIntBE=function(e,r,n,i){if(e=+e,r=r>>>0,n=n>>>0,!i){var a=Math.pow(2,8*n)-1;A(this,e,r,n,a,0)}var s=n-1,m=1;for(this[r+s]=e&255;--s>=0&&(m*=256);)this[r+s]=e/m&255;return r+n};l.prototype.writeUint8=l.prototype.writeUInt8=function(e,r,n){return e=+e,r=r>>>0,n||A(this,e,r,1,255,0),this[r]=e&255,r+1};l.prototype.writeUint16LE=l.prototype.writeUInt16LE=function(e,r,n){return e=+e,r=r>>>0,n||A(this,e,r,2,65535,0),this[r]=e&255,this[r+1]=e>>>8,r+2};l.prototype.writeUint16BE=l.prototype.writeUInt16BE=function(e,r,n){return e=+e,r=r>>>0,n||A(this,e,r,2,65535,0),this[r]=e>>>8,this[r+1]=e&255,r+2};l.prototype.writeUint32LE=l.prototype.writeUInt32LE=function(e,r,n){return e=+e,r=r>>>0,n||A(this,e,r,4,4294967295,0),this[r+3]=e>>>24,this[r+2]=e>>>16,this[r+1]=e>>>8,this[r]=e&255,r+4};l.prototype.writeUint32BE=l.prototype.writeUInt32BE=function(e,r,n){return e=+e,r=r>>>0,n||A(this,e,r,4,4294967295,0),this[r]=e>>>24,this[r+1]=e>>>16,this[r+2]=e>>>8,this[r+3]=e&255,r+4};l.prototype.writeIntLE=function(e,r,n,i){if(e=+e,r=r>>>0,!i){var a=Math.pow(2,8*n-1);A(this,e,r,n,a-1,-a)}var s=0,m=1,d=0;for(this[r]=e&255;++s<n&&(m*=256);)e<0&&d===0&&this[r+s-1]!==0&&(d=1),this[r+s]=(e/m>>0)-d&255;return r+n};l.prototype.writeIntBE=function(e,r,n,i){if(e=+e,r=r>>>0,!i){var a=Math.pow(2,8*n-1);A(this,e,r,n,a-1,-a)}var s=n-1,m=1,d=0;for(this[r+s]=e&255;--s>=0&&(m*=256);)e<0&&d===0&&this[r+s+1]!==0&&(d=1),this[r+s]=(e/m>>0)-d&255;return r+n};l.prototype.writeInt8=function(e,r,n){return e=+e,r=r>>>0,n||A(this,e,r,1,127,-128),e<0&&(e=255+e+1),this[r]=e&255,r+1};l.prototype.writeInt16LE=function(e,r,n){return e=+e,r=r>>>0,n||A(this,e,r,2,32767,-32768),this[r]=e&255,this[r+1]=e>>>8,r+2};l.prototype.writeInt16BE=function(e,r,n){return e=+e,r=r>>>0,n||A(this,e,r,2,32767,-32768),this[r]=e>>>8,this[r+1]=e&255,r+2};l.prototype.writeInt32LE=function(e,r,n){return e=+e,r=r>>>0,n||A(this,e,r,4,2147483647,-2147483648),this[r]=e&255,this[r+1]=e>>>8,this[r+2]=e>>>16,this[r+3]=e>>>24,r+4};l.prototype.writeInt32BE=function(e,r,n){return e=+e,r=r>>>0,n||A(this,e,r,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),this[r]=e>>>24,this[r+1]=e>>>16,this[r+2]=e>>>8,this[r+3]=e&255,r+4};function er(t,e,r,n,i,a){if(r+n>t.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function rr(t,e,r,n,i){return e=+e,r=r>>>0,i||er(t,e,r,4,34028234663852886e22,-34028234663852886e22),z.write(t,e,r,n,23,4),r+4}l.prototype.writeFloatLE=function(e,r,n){return rr(this,e,r,!0,n)};l.prototype.writeFloatBE=function(e,r,n){return rr(this,e,r,!1,n)};function tr(t,e,r,n,i){return e=+e,r=r>>>0,i||er(t,e,r,8,17976931348623157e292,-17976931348623157e292),z.write(t,e,r,n,52,8),r+8}l.prototype.writeDoubleLE=function(e,r,n){return tr(this,e,r,!0,n)};l.prototype.writeDoubleBE=function(e,r,n){return tr(this,e,r,!1,n)};l.prototype.copy=function(e,r,n,i){if(!l.isBuffer(e))throw new TypeError("argument should be a Buffer");if(n||(n=0),!i&&i!==0&&(i=this.length),r>=e.length&&(r=e.length),r||(r=0),i>0&&i<n&&(i=n),i===n||e.length===0||this.length===0)return 0;if(r<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw new RangeError("Index out of range");if(i<0)throw new RangeError("sourceEnd out of bounds");i>this.length&&(i=this.length),e.length-r<i-n&&(i=e.length-r+n);var a=i-n;return this===e&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(r,n,i):Uint8Array.prototype.set.call(e,this.subarray(n,i),r),a};l.prototype.fill=function(e,r,n,i){if(typeof e=="string"){if(typeof r=="string"?(i=r,r=0,n=this.length):typeof n=="string"&&(i=n,n=this.length),i!==void 0&&typeof i!="string")throw new TypeError("encoding must be a string");if(typeof i=="string"&&!l.isEncoding(i))throw new TypeError("Unknown encoding: "+i);if(e.length===1){var a=e.charCodeAt(0);(i==="utf8"&&a<128||i==="latin1")&&(e=a)}}else typeof e=="number"?e=e&255:typeof e=="boolean"&&(e=Number(e));if(r<0||this.length<r||this.length<n)throw new RangeError("Out of range index");if(n<=r)return this;r=r>>>0,n=n===void 0?this.length:n>>>0,e||(e=0);var s;if(typeof e=="number")for(s=r;s<n;++s)this[s]=e;else{var m=l.isBuffer(e)?e:l.from(e,i),d=m.length;if(d===0)throw new TypeError('The value "'+e+'" is invalid for argument "value"');for(s=0;s<n-r;++s)this[s+r]=m[s%d]}return this};var Ft=/[^+/0-9A-Za-z-_]/g;function Ct(t){if(t=t.split("=")[0],t=t.trim().replace(Ft,""),t.length<2)return"";for(;t.length%4!==0;)t=t+"=";return t}function we(t,e){e=e||1/0;for(var r,n=t.length,i=null,a=[],s=0;s<n;++s){if(r=t.charCodeAt(s),r>55295&&r<57344){if(!i){if(r>56319){(e-=3)>-1&&a.push(239,191,189);continue}else if(s+1===n){(e-=3)>-1&&a.push(239,191,189);continue}i=r;continue}if(r<56320){(e-=3)>-1&&a.push(239,191,189),i=r;continue}r=(i-55296<<10|r-56320)+65536}else i&&(e-=3)>-1&&a.push(239,191,189);if(i=null,r<128){if((e-=1)<0)break;a.push(r)}else if(r<2048){if((e-=2)<0)break;a.push(r>>6|192,r&63|128)}else if(r<65536){if((e-=3)<0)break;a.push(r>>12|224,r>>6&63|128,r&63|128)}else if(r<1114112){if((e-=4)<0)break;a.push(r>>18|240,r>>12&63|128,r>>6&63|128,r&63|128)}else throw new Error("Invalid code point")}return a}function Ot(t){for(var e=[],r=0;r<t.length;++r)e.push(t.charCodeAt(r)&255);return e}function Ut(t,e){for(var r,n,i,a=[],s=0;s<t.length&&!((e-=2)<0);++s)r=t.charCodeAt(s),n=r>>8,i=r%256,a.push(i),a.push(n);return a}function nr(t){return Te.toByteArray(Ct(t))}function ue(t,e,r,n){for(var i=0;i<n&&!(i+r>=e.length||i>=t.length);++i)e[i+r]=t[i];return i}function _(t,e){return t instanceof e||t!=null&&t.constructor!=null&&t.constructor.name!=null&&t.constructor.name===e.name}function Se(t){return t!==t}var Bt=function(){for(var t="0123456789abcdef",e=new Array(256),r=0;r<16;++r)for(var n=r*16,i=0;i<16;++i)e[n+i]=t[r]+t[i];return e}()});var cr=se((ln,lr)=>{o();var x=lr.exports={},E,R;function ke(){throw new Error("setTimeout has not been defined")}function Ie(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?E=setTimeout:E=ke}catch(t){E=ke}try{typeof clearTimeout=="function"?R=clearTimeout:R=Ie}catch(t){R=Ie}})();function or(t){if(E===setTimeout)return setTimeout(t,0);if((E===ke||!E)&&setTimeout)return E=setTimeout,setTimeout(t,0);try{return E(t,0)}catch(e){try{return E.call(null,t,0)}catch(r){return E.call(this,t,0)}}}function Pt(t){if(R===clearTimeout)return clearTimeout(t);if((R===Ie||!R)&&clearTimeout)return R=clearTimeout,clearTimeout(t);try{return R(t)}catch(e){try{return R.call(null,t)}catch(r){return R.call(this,t)}}}var U=[],X=!1,q,pe=-1;function Mt(){!X||!q||(X=!1,q.length?U=q.concat(U):pe=-1,U.length&&ar())}function ar(){if(!X){var t=or(Mt);X=!0;for(var e=U.length;e;){for(q=U,U=[];++pe<e;)q&&q[pe].run();pe=-1,e=U.length}q=null,X=!1,Pt(t)}}x.nextTick=function(t){var e=new Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)e[r-1]=arguments[r];U.push(new sr(t,e)),U.length===1&&!X&&or(ar)};function sr(t,e){this.fun=t,this.array=e}sr.prototype.run=function(){this.fun.apply(null,this.array)};x.title="browser";x.browser=!0;x.env={};x.argv=[];x.version="";x.versions={};function B(){}x.on=B;x.addListener=B;x.once=B;x.off=B;x.removeListener=B;x.removeAllListeners=B;x.emit=B;x.prependListener=B;x.prependOnceListener=B;x.listeners=function(t){return[]};x.binding=function(t){throw new Error("process.binding is not supported")};x.cwd=function(){return"/"};x.chdir=function(t){throw new Error("process.chdir is not supported")};x.umask=function(){return 0}});var c,u,cn,o=ot(()=>{c=C(ir()),u=C(cr()),cn=function(t){function e(){var n=this||self;return delete t.prototype.__magic__,n}if(typeof globalThis=="object")return globalThis;if(this)return e();t.defineProperty(t.prototype,"__magic__",{configurable:!0,get:e});var r=__magic__;return r}(Object)});var tn={};at(tn,{explorerUrlBuilder:()=>te,getExplorerLink:()=>Ht,getHumanReadableTimeFormat:()=>jt,getOperationsMessages:()=>zt,getReceiptMessage:()=>Yt,getTransactionMethod:()=>$t,getTransactionReceiver:()=>Le,getTransactionReceiverAssets:()=>Gt,getTransactionTokens:()=>Re,getTransactionTransferType:()=>qt,getTransactionValue:()=>rn});module.exports=st(tn);o();o();o();var G="accounts";var ur="blocks",pr="code",mr="collections";var dr="contracts";var gr="identities";var fr="locked-accounts",hr="logs",yr="miniblocks";var Ne="nfts",Tr="nodes",_e="providers",xr="roles",Ee="sc-results";var Y="tokens";var j="transactions";var te={shard:t=>`/${ur}?shard=${t}`,receiverShard:t=>`/${j}?receivershard=${t}`,senderShard:t=>`/${j}?sendershard=${t}`,transactionDetails:t=>`/${j}/${t}`,transactionDetailsScResults:t=>`/${j}/${t}/${Ee}`,transactionDetailsLogs:t=>`/${j}/${t}/${hr}`,nodeDetails:t=>`/${Tr}/${t}`,accountDetails:t=>`/${G}/${t}`,accountDetailsContractCode:t=>`/${G}/${t}/${pr}`,accountDetailsTokens:t=>`/${G}/${t}/${Y}`,accountDetailsNfts:t=>`/${G}/${t}/${Ne}`,accountDetailsScResults:t=>`/${G}/${t}/${Ee}`,accountDetailsContracts:t=>`/${G}/${t}/${dr}`,identityDetails:t=>`/${gr}/${t}`,tokenDetails:t=>`/${Y}/${t}`,tokenDetailsAccounts:t=>`/${Y}/${t}/${G}`,tokenDetailsLockedAccounts:t=>`/${Y}/${t}/${fr}`,tokenDetailsRoles:t=>`/${Y}/${t}/${xr}`,collectionDetails:t=>`/${mr}/${t}`,nftDetails:t=>`/${Ne}/${t}`,providerDetails:t=>`/${_e}/${t}`,providerDetailsTransactions:t=>`/${_e}/${t}/${j}`,miniblockDetails:t=>`/${yr}/${t}`};o();var Re=t=>{var e,r,n,i;if(t.action){let a=[(e=t.action.arguments)==null?void 0:e.token,(r=t.action.arguments)==null?void 0:r.token1,(n=t.action.arguments)==null?void 0:n.token2,(i=t.action.arguments)==null?void 0:i.transfers].filter(m=>m!=null);return[].concat(...a)}return[]};o();o();function Le(t){var r,n;let e=t.receiver;return(n=(r=t.action)==null?void 0:r.arguments)!=null&&n.receiver&&(e=t.action.arguments.receiver),e}function Gt(t){let e=Le(t);return t.receiver===e?t.receiverAssets:void 0}o();o();var De=(n=>(n.nft="nft",n.esdt="esdt",n.egld="egld",n))(De||{});var $t=t=>{var n,i,a,s,m,d;let e="Transaction";return((n=t.action)==null?void 0:n.name)&&((i=t.action)==null?void 0:i.category)&&(((a=t.action)==null?void 0:a.category)==="esdtNft"&&((s=t.action)==null?void 0:s.name)==="transfer"?e="Transaction":t.action&&(e=t.action.name),(d=(m=t.action)==null?void 0:m.arguments)!=null&&d.functionName&&(e=t.action.arguments.functionName)),e};o();var br=!1;function Wt(t){br||(console.error(t),br=!0)}function Ht({explorerAddress:t,to:e}){try{return new URL(e).href}catch(r){return e.startsWith("/")||(Wt(`Link not prepended by / : ${e}`),e=`/${e}`),t?`${t}${e}`:e}}o();function qt(t,e,r){let n=t===e.sender,i=t===r,a=n&&i,s=(e==null?void 0:e.type)==="SmartContractResult";switch(!0){case s:return"Internal";case a:return"Self";case i:return"In";case n:default:return"Out"}}o();function jt({value:t,noSeconds:e,utc:r,meridiem:n=!0}){let i=new Date(t*1e3),[,a]=i.toLocaleString("en-US",{hour:"numeric",hour12:n}).split(" "),s=i.toUTCString(),[,m]=s.split(","),[d,g,h,f]=m.trim().split(" "),[y,T,w]=f.split(":"),M=`:${w}`,Q=`${y}:${T}${e?"":M}`,$=`${n?a:""} ${r?"UTC":""}`.trim();return`${g} ${d}, ${h} ${Q} ${$}`.trim()}o();function zt(t){var e,r;return(r=(e=t==null?void 0:t.operations)==null?void 0:e.map(n=>n.message).filter(n=>Boolean(n)))!=null?r:[]}o();var Lr=C(require("bignumber.js"));o();o();o();o();o();o();o();o();o();o();o();o();o();o();o();var Kt=require("@multiversx/sdk-web-wallet-cross-window-provider/out/CrossWindowProvider/CrossWindowProvider"),Z=require("@multiversx/sdk-web-wallet-cross-window-provider/out/enums");var wr=(r=>(r.signTransactionsWithGuardianResponse="SIGN_TRANSACTIONS_WITH_GUARDIAN_RESPONSE",r.reloginRequest="RELOGIN_REQUEST",r))(wr||{}),Vn=F(F({},Z.WindowProviderRequestEnums),wr),vr=(e=>(e.reloginResponse="RELOGIN_RESPONSE",e))(vr||{}),$n=F(F({},Z.WindowProviderResponseEnums),vr);o();o();o();o();o();var Fe={devnet:{id:"devnet",chainId:"D",name:"Devnet",egldLabel:"xEGLD",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"https://maiar.page.link/?apn=com.elrond.maiar.wallet&isi=1519405832&ibi=com.elrond.maiar.wallet&link=https://xportal.com/",walletConnectBridgeAddresses:["https://bridge.walletconnect.org"],walletConnectV2RelayAddresses:["wss://relay.walletconnect.com"],walletAddress:"https://devnet-wallet.multiversx.com",xAliasAddress:"https://devnet.xalias.com",apiAddress:"https://devnet-api.multiversx.com",explorerAddress:"http://devnet-explorer.multiversx.com",metamaskSnapWalletAddress:"https://devnet-iframe-wallet.multiversx.com",apiTimeout:"4000",roundDuration:6e3},testnet:{id:"testnet",chainId:"T",name:"Testnet",egldLabel:"xEGLD",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"https://maiar.page.link/?apn=com.elrond.maiar.wallet&isi=1519405832&ibi=com.elrond.maiar.wallet&link=https://xportal.com/",walletConnectBridgeAddresses:["https://bridge.walletconnect.org"],walletConnectV2RelayAddresses:["wss://relay.walletconnect.com"],walletAddress:"https://testnet-wallet.multiversx.com",xAliasAddress:"https://testnet.xalias.com",apiAddress:"https://testnet-api.multiversx.com",explorerAddress:"http://testnet-explorer.multiversx.com",metamaskSnapWalletAddress:"https://testnet-iframe-wallet.multiversx.com",apiTimeout:"4000",roundDuration:6e3},mainnet:{id:"mainnet",chainId:"1",name:"Mainnet",egldLabel:"EGLD",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"https://maiar.page.link/?apn=com.elrond.maiar.wallet&isi=1519405832&ibi=com.elrond.maiar.wallet&link=https://xportal.com/",walletConnectBridgeAddresses:["https://bridge.walletconnect.org"],walletConnectV2RelayAddresses:["wss://relay.walletconnect.com"],walletAddress:"https://wallet.multiversx.com",xAliasAddress:"https://xalias.com",apiAddress:"https://api.multiversx.com",explorerAddress:"https://explorer.multiversx.com",metamaskSnapWalletAddress:"https://iframe-wallet.multiversx.com",apiTimeout:"4000",roundDuration:6e3}},{chainId:Ar,egldLabel:ii}=Fe["devnet"],{chainId:Sr,egldLabel:oi}=Fe["testnet"],{chainId:kr,egldLabel:ai}=Fe["mainnet"];var si={["devnet"]:Ar,["testnet"]:Sr,["mainnet"]:kr},li={[Ar]:"devnet",[Sr]:"testnet",[kr]:"mainnet"};o();o();var L=require("@multiversx/sdk-web-wallet-provider");o();o();var Ce=require("@multiversx/sdk-dapp-utils/out/constants/browserConstants");var Ir,Nr,Oe=String((Nr=(Ir=Ce.safeWindow)==null?void 0:Ir.navigator)==null?void 0:Nr.userAgent),gi=/^((?!chrome|android).)*safari/i.test(Oe),fi=/firefox/i.test(Oe)&&/windows/i.test(Oe);var v=18,J=4;var _r="refundedGas";var me="0";o();var Rr=require("@multiversx/sdk-core"),V=C(require("bignumber.js"));o();var Er=C(require("bignumber.js")),Ue=(t,e=!0)=>{let r=String(t);if(!r.match(/^[-]?\d+$/))return!1;let n=new Er.default(r),i=e?0:-1;return n.toString(10)===r&&n.comparedTo(0)>=i};o();function P(t){return{if:function(e){return e?{then:r=>r instanceof Function?P(r(t)):P(r)}:{then:()=>P(t)}},then:e=>e instanceof Function?P(e(t)):P(e),valueOf:function(){return t}}}V.default.config({ROUNDING_MODE:V.default.ROUND_FLOOR});function D({input:t,decimals:e=v,digits:r=J,showLastNonZeroDecimal:n=!0,showIsLessThanDecimalsLabel:i=!1,addCommas:a=!1}){if(!Ue(t,!1))throw new Error("Invalid input");let s=new V.default(t).isNegative(),m=t;return s&&(m=t.substring(1)),P(m).then(()=>Rr.TokenTransfer.fungibleFromBigInteger("",m,e).amountAsBigInteger.shiftedBy(-e).toFixed(e)).then(d=>{let g=new V.default(d);if(g.isZero())return me;let h=g.toString(10),[f,y]=h.split("."),T=new V.default(y||0),w=P(0).if(Boolean(y&&n)).then(()=>Math.max(y.length,r)).if(T.isZero()&&!n).then(0).if(Boolean(y&&!n)).then(()=>Math.min(y.length,r)).valueOf(),M=y&&r>=1&&r<=y.length&&T.isGreaterThan(0)&&new V.default(y.substring(0,r)).isZero(),Q=g.toFormat(w);return P(h).if(a).then(Q).if(Boolean(M)).then(ee=>{let $=new V.default(f).isZero(),[I,ie]=ee.split("."),oe=new Array(r-1).fill(0),Yr=[...oe,0].join(""),Zr=[...oe,1].join("");return $?i?`<${I}.${Zr}`:n?`${I}.${ie}`:I:`${I}.${Yr}`}).if(Boolean(!M&&y)).then(ee=>{let[$]=ee.split("."),I=y.substring(0,w);if(n){let ie=r-I.length;if(ie>0){let oe=Array(ie).fill(0).join("");return I=`${I}${oe}`,`${$}.${I}`}return ee}return I?`${$}.${I}`:$}).valueOf()}).if(s).then(d=>`-${d}`).valueOf()}var Xt=t=>{var e,r;if(!((e=t.receipt)!=null&&e.value))return"";if(((r=t.receipt)==null?void 0:r.data)===_r){let n=D({input:t.receipt.value,decimals:v,digits:J,showLastNonZeroDecimal:!0});return new Lr.default(n).times(t.gasPrice).times(100).toFixed()}return t.receipt.value};function Yt(t){var i;let e=(i=t.receipt)==null?void 0:i.data;if(!e)return"";let r=Xt(t),n=r?`: ${r}`:"";return`${e}${n}`}o();o();o();o();var de=(n=>(n.NonFungibleESDT="NonFungibleESDT",n.SemiFungibleESDT="SemiFungibleESDT",n.MetaESDT="MetaESDT",n))(de||{});o();o();o();o();o();var Zt=require("@multiversx/sdk-core");o();var ne=require("@multiversx/sdk-core"),Qt=C(require("bignumber.js"));o();o();o();var Jt=C(require("bignumber.js"));o();o();var Be={isEsdt:!1,isNft:!1,isEgld:!1};function Dr(t){let e=t==null?void 0:t.split("-").length;return e===2?ae(F({},Be),{isEsdt:!0}):e===3?ae(F({},Be),{isNft:!0}):ae(F({},Be),{isEgld:!0})}o();o();o();o();o();o();function ge({token:t,noValue:e,showLastNonZeroDecimal:r}){var g;let n=!e&&t.value&&t.type!=="NonFungibleESDT",i=t.decimals!=null,a="";t.type==="NonFungibleESDT"&&(a="NFT"),t.type==="SemiFungibleESDT"&&(a="SFT"),t.type==="MetaESDT"&&(a="Meta-ESDT");let s="";n&&i&&(s=i?D({input:t.value,decimals:t.decimals,digits:2,showLastNonZeroDecimal:r}):Number(t.value).toLocaleString("en"));let m=te.nftDetails(String(t.identifier)),d=t.ticker===t.collection&&(g=t.identifier)!=null?g:t.ticker;return{badgeText:a,tokenFormattedAmount:n?s:null,tokenExplorerLink:m,tokenLinkText:d,token:t,noValue:e,showLastNonZeroDecimal:r}}o();function fe({token:t,noValue:e,showLastNonZeroDecimal:r}){var m;let n=Boolean(!e&&t.value),i=n?D({input:t.value,decimals:(m=t.decimals)!=null?m:v,digits:2,showLastNonZeroDecimal:r,addCommas:!0}):null,a=te.tokenDetails(String(t.token)),s=t.ticker;return{tokenExplorerLink:a,tokenFormattedAmount:i,showFormattedAmount:n,tokenLinkText:s,token:t,showLastNonZeroDecimal:r}}o();var Fr=["reDelegateRewards","claimRewards","unBond"],Cr=["wrapEgld","unwrapEgld"],Or=["unStake"],Ur=["unDelegate"];o();o();var Br=t=>{let e=t.map(n=>{let{isNft:i}=Dr(n.type);if(i){let{badgeText:h,tokenFormattedAmount:f,tokenLinkText:y}=ge({token:n});return`${h!=null?`(${h}) `:""}${f} ${y}`}let{tokenFormattedAmount:a,tokenLinkText:s,token:m}=fe({token:n}),d=m.collection?m.identifier:m.token;return`${a} ${s} (${d})`});return decodeURI(e.join("%0A"))};o();var k=t=>({egldValueData:{value:t,formattedValue:D({input:t}),decimals:v}});o();var Gr=C(require("bignumber.js"));o();o();function en(t){try{let e=atob(t),r=btoa(e),n=c.Buffer.from(t,"base64").toString(),i=c.Buffer.from(n).toString("base64"),a=t===r||r.startsWith(t),s=t===i||i.startsWith(t);if(a&&s)return!0}catch(e){return!1}return!1}function Pr(t){return en(t)?atob(t):t}o();o();o();o();var Mr=!1;function Vr(t){var e;try{let n=Pr(t.data).replace(`${(e=t.action)==null?void 0:e.name}@`,""),i=new Gr.default(n,16);if(!i.isNaN())return k(i.toString(10))}catch(r){Mr||(console.error(`Unable to extract value for txHash: ${t.txHash}`),Mr=!0)}return k(t.value)}o();o();var $r=t=>{var r,n;return(n=(r=t==null?void 0:t.operations)==null?void 0:r.filter(i=>Object.values(De).includes(i.type)))!=null?n:[]};var Wr=!1,Hr=t=>{Wr||(console.error(`Operations field missing for txHash: ${t}.
1
+ "use strict";var Jr=Object.create;var re=Object.defineProperty,Qr=Object.defineProperties,et=Object.getOwnPropertyDescriptor,rt=Object.getOwnPropertyDescriptors,tt=Object.getOwnPropertyNames,Pe=Object.getOwnPropertySymbols,nt=Object.getPrototypeOf,Ge=Object.prototype.hasOwnProperty,it=Object.prototype.propertyIsEnumerable;var Me=(t,e,r)=>e in t?re(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,F=(t,e)=>{for(var r in e||(e={}))Ge.call(e,r)&&Me(t,r,e[r]);if(Pe)for(var r of Pe(e))it.call(e,r)&&Me(t,r,e[r]);return t},ae=(t,e)=>Qr(t,rt(e));var ot=(t,e)=>()=>(t&&(e=t(t=0)),e);var se=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),at=(t,e)=>{for(var r in e)re(t,r,{get:e[r],enumerable:!0})},Ve=(t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of tt(e))!Ge.call(t,i)&&i!==r&&re(t,i,{get:()=>e[i],enumerable:!(n=et(e,i))||n.enumerable});return t};var C=(t,e,r)=>(r=t!=null?Jr(nt(t)):{},Ve(e||!t||!t.__esModule?re(r,"default",{value:t,enumerable:!0}):r,t)),st=t=>Ve(re({},"__esModule",{value:!0}),t);var He=se(ce=>{"use strict";o();ce.byteLength=lt;ce.toByteArray=pt;ce.fromByteArray=gt;var N=[],S=[],ct=typeof Uint8Array!="undefined"?Uint8Array:Array,he="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(W=0,$e=he.length;W<$e;++W)N[W]=he[W],S[he.charCodeAt(W)]=W;var W,$e;S["-".charCodeAt(0)]=62;S["_".charCodeAt(0)]=63;function We(t){var e=t.length;if(e%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var r=t.indexOf("=");r===-1&&(r=e);var n=r===e?0:4-r%4;return[r,n]}function lt(t){var e=We(t),r=e[0],n=e[1];return(r+n)*3/4-n}function ut(t,e,r){return(e+r)*3/4-r}function pt(t){var e,r=We(t),n=r[0],i=r[1],a=new ct(ut(t,n,i)),s=0,m=i>0?n-4:n,d;for(d=0;d<m;d+=4)e=S[t.charCodeAt(d)]<<18|S[t.charCodeAt(d+1)]<<12|S[t.charCodeAt(d+2)]<<6|S[t.charCodeAt(d+3)],a[s++]=e>>16&255,a[s++]=e>>8&255,a[s++]=e&255;return i===2&&(e=S[t.charCodeAt(d)]<<2|S[t.charCodeAt(d+1)]>>4,a[s++]=e&255),i===1&&(e=S[t.charCodeAt(d)]<<10|S[t.charCodeAt(d+1)]<<4|S[t.charCodeAt(d+2)]>>2,a[s++]=e>>8&255,a[s++]=e&255),a}function mt(t){return N[t>>18&63]+N[t>>12&63]+N[t>>6&63]+N[t&63]}function dt(t,e,r){for(var n,i=[],a=e;a<r;a+=3)n=(t[a]<<16&16711680)+(t[a+1]<<8&65280)+(t[a+2]&255),i.push(mt(n));return i.join("")}function gt(t){for(var e,r=t.length,n=r%3,i=[],a=16383,s=0,m=r-n;s<m;s+=a)i.push(dt(t,s,s+a>m?m:s+a));return n===1?(e=t[r-1],i.push(N[e>>2]+N[e<<4&63]+"==")):n===2&&(e=(t[r-2]<<8)+t[r-1],i.push(N[e>>10]+N[e>>4&63]+N[e<<2&63]+"=")),i.join("")}});var qe=se(ye=>{o();ye.read=function(t,e,r,n,i){var a,s,m=i*8-n-1,d=(1<<m)-1,g=d>>1,h=-7,f=r?i-1:0,y=r?-1:1,T=t[e+f];for(f+=y,a=T&(1<<-h)-1,T>>=-h,h+=m;h>0;a=a*256+t[e+f],f+=y,h-=8);for(s=a&(1<<-h)-1,a>>=-h,h+=n;h>0;s=s*256+t[e+f],f+=y,h-=8);if(a===0)a=1-g;else{if(a===d)return s?NaN:(T?-1:1)*(1/0);s=s+Math.pow(2,n),a=a-g}return(T?-1:1)*s*Math.pow(2,a-n)};ye.write=function(t,e,r,n,i,a){var s,m,d,g=a*8-i-1,h=(1<<g)-1,f=h>>1,y=i===23?Math.pow(2,-24)-Math.pow(2,-77):0,T=n?0:a-1,w=n?1:-1,M=e<0||e===0&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(m=isNaN(e)?1:0,s=h):(s=Math.floor(Math.log(e)/Math.LN2),e*(d=Math.pow(2,-s))<1&&(s--,d*=2),s+f>=1?e+=y/d:e+=y*Math.pow(2,1-f),e*d>=2&&(s++,d/=2),s+f>=h?(m=0,s=h):s+f>=1?(m=(e*d-1)*Math.pow(2,i),s=s+f):(m=e*Math.pow(2,f-1)*Math.pow(2,i),s=0));i>=8;t[r+T]=m&255,T+=w,m/=256,i-=8);for(s=s<<i|m,g+=i;g>0;t[r+T]=s&255,T+=w,s/=256,g-=8);t[r+T-w]|=M*128}});var ir=se(K=>{"use strict";o();var Te=He(),z=qe(),je=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;K.Buffer=c;K.SlowBuffer=bt;K.INSPECT_MAX_BYTES=50;var le=2147483647;K.kMaxLength=le;c.TYPED_ARRAY_SUPPORT=ft();!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 ft(){try{var t=new Uint8Array(1),e={foo:function(){return 42}};return Object.setPrototypeOf(e,Uint8Array.prototype),Object.setPrototypeOf(t,e),t.foo()===42}catch(r){return!1}}Object.defineProperty(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 O(t){if(t>le)throw new RangeError('The value "'+t+'" is invalid for option "size"');var e=new Uint8Array(t);return Object.setPrototypeOf(e,c.prototype),e}function c(t,e,r){if(typeof t=="number"){if(typeof e=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return ve(t)}return Xe(t,e,r)}c.poolSize=8192;function Xe(t,e,r){if(typeof t=="string")return yt(t,e);if(ArrayBuffer.isView(t))return Tt(t);if(t==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t);if(_(t,ArrayBuffer)||t&&_(t.buffer,ArrayBuffer)||typeof SharedArrayBuffer!="undefined"&&(_(t,SharedArrayBuffer)||t&&_(t.buffer,SharedArrayBuffer)))return be(t,e,r);if(typeof t=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var n=t.valueOf&&t.valueOf();if(n!=null&&n!==t)return c.from(n,e,r);var i=xt(t);if(i)return i;if(typeof Symbol!="undefined"&&Symbol.toPrimitive!=null&&typeof t[Symbol.toPrimitive]=="function")return c.from(t[Symbol.toPrimitive]("string"),e,r);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t)}c.from=function(t,e,r){return Xe(t,e,r)};Object.setPrototypeOf(c.prototype,Uint8Array.prototype);Object.setPrototypeOf(c,Uint8Array);function Ye(t){if(typeof t!="number")throw new TypeError('"size" argument must be of type number');if(t<0)throw new RangeError('The value "'+t+'" is invalid for option "size"')}function ht(t,e,r){return Ye(t),t<=0?O(t):e!==void 0?typeof r=="string"?O(t).fill(e,r):O(t).fill(e):O(t)}c.alloc=function(t,e,r){return ht(t,e,r)};function ve(t){return Ye(t),O(t<0?0:Ae(t)|0)}c.allocUnsafe=function(t){return ve(t)};c.allocUnsafeSlow=function(t){return ve(t)};function yt(t,e){if((typeof e!="string"||e==="")&&(e="utf8"),!c.isEncoding(e))throw new TypeError("Unknown encoding: "+e);var r=Ze(t,e)|0,n=O(r),i=n.write(t,e);return i!==r&&(n=n.slice(0,i)),n}function xe(t){for(var e=t.length<0?0:Ae(t.length)|0,r=O(e),n=0;n<e;n+=1)r[n]=t[n]&255;return r}function Tt(t){if(_(t,Uint8Array)){var e=new Uint8Array(t);return be(e.buffer,e.byteOffset,e.byteLength)}return xe(t)}function be(t,e,r){if(e<0||t.byteLength<e)throw new RangeError('"offset" is outside of buffer bounds');if(t.byteLength<e+(r||0))throw new RangeError('"length" is outside of buffer bounds');var n;return e===void 0&&r===void 0?n=new Uint8Array(t):r===void 0?n=new Uint8Array(t,e):n=new Uint8Array(t,e,r),Object.setPrototypeOf(n,c.prototype),n}function xt(t){if(c.isBuffer(t)){var e=Ae(t.length)|0,r=O(e);return r.length===0||t.copy(r,0,0,e),r}if(t.length!==void 0)return typeof t.length!="number"||Se(t.length)?O(0):xe(t);if(t.type==="Buffer"&&Array.isArray(t.data))return xe(t.data)}function Ae(t){if(t>=le)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+le.toString(16)+" bytes");return t|0}function bt(t){return+t!=t&&(t=0),c.alloc(+t)}c.isBuffer=function(e){return e!=null&&e._isBuffer===!0&&e!==c.prototype};c.compare=function(e,r){if(_(e,Uint8Array)&&(e=c.from(e,e.offset,e.byteLength)),_(r,Uint8Array)&&(r=c.from(r,r.offset,r.byteLength)),!c.isBuffer(e)||!c.isBuffer(r))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(e===r)return 0;for(var n=e.length,i=r.length,a=0,s=Math.min(n,i);a<s;++a)if(e[a]!==r[a]){n=e[a],i=r[a];break}return n<i?-1:i<n?1:0};c.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}};c.concat=function(e,r){if(!Array.isArray(e))throw new TypeError('"list" argument must be an Array of Buffers');if(e.length===0)return c.alloc(0);var n;if(r===void 0)for(r=0,n=0;n<e.length;++n)r+=e[n].length;var i=c.allocUnsafe(r),a=0;for(n=0;n<e.length;++n){var s=e[n];if(_(s,Uint8Array))a+s.length>i.length?c.from(s).copy(i,a):Uint8Array.prototype.set.call(i,s,a);else if(c.isBuffer(s))s.copy(i,a);else throw new TypeError('"list" argument must be an Array of Buffers');a+=s.length}return i};function Ze(t,e){if(c.isBuffer(t))return t.length;if(ArrayBuffer.isView(t)||_(t,ArrayBuffer))return t.byteLength;if(typeof t!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof t);var r=t.length,n=arguments.length>2&&arguments[2]===!0;if(!n&&r===0)return 0;for(var i=!1;;)switch(e){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":return we(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return r*2;case"hex":return r>>>1;case"base64":return nr(t).length;default:if(i)return n?-1:we(t).length;e=(""+e).toLowerCase(),i=!0}}c.byteLength=Ze;function wt(t,e,r){var n=!1;if((e===void 0||e<0)&&(e=0),e>this.length||((r===void 0||r>this.length)&&(r=this.length),r<=0)||(r>>>=0,e>>>=0,r<=e))return"";for(t||(t="utf8");;)switch(t){case"hex":return Lt(this,e,r);case"utf8":case"utf-8":return Qe(this,e,r);case"ascii":return Et(this,e,r);case"latin1":case"binary":return Rt(this,e,r);case"base64":return Nt(this,e,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Dt(this,e,r);default:if(n)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),n=!0}}c.prototype._isBuffer=!0;function H(t,e,r){var n=t[e];t[e]=t[r],t[r]=n}c.prototype.swap16=function(){var e=this.length;if(e%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var r=0;r<e;r+=2)H(this,r,r+1);return this};c.prototype.swap32=function(){var e=this.length;if(e%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var r=0;r<e;r+=4)H(this,r,r+3),H(this,r+1,r+2);return this};c.prototype.swap64=function(){var e=this.length;if(e%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var r=0;r<e;r+=8)H(this,r,r+7),H(this,r+1,r+6),H(this,r+2,r+5),H(this,r+3,r+4);return this};c.prototype.toString=function(){var e=this.length;return e===0?"":arguments.length===0?Qe(this,0,e):wt.apply(this,arguments)};c.prototype.toLocaleString=c.prototype.toString;c.prototype.equals=function(e){if(!c.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e?!0:c.compare(this,e)===0};c.prototype.inspect=function(){var e="",r=K.INSPECT_MAX_BYTES;return e=this.toString("hex",0,r).replace(/(.{2})/g,"$1 ").trim(),this.length>r&&(e+=" ... "),"<Buffer "+e+">"};je&&(c.prototype[je]=c.prototype.inspect);c.prototype.compare=function(e,r,n,i,a){if(_(e,Uint8Array)&&(e=c.from(e,e.offset,e.byteLength)),!c.isBuffer(e))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof e);if(r===void 0&&(r=0),n===void 0&&(n=e?e.length:0),i===void 0&&(i=0),a===void 0&&(a=this.length),r<0||n>e.length||i<0||a>this.length)throw new RangeError("out of range index");if(i>=a&&r>=n)return 0;if(i>=a)return-1;if(r>=n)return 1;if(r>>>=0,n>>>=0,i>>>=0,a>>>=0,this===e)return 0;for(var s=a-i,m=n-r,d=Math.min(s,m),g=this.slice(i,a),h=e.slice(r,n),f=0;f<d;++f)if(g[f]!==h[f]){s=g[f],m=h[f];break}return s<m?-1:m<s?1:0};function Je(t,e,r,n,i){if(t.length===0)return-1;if(typeof r=="string"?(n=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),r=+r,Se(r)&&(r=i?0:t.length-1),r<0&&(r=t.length+r),r>=t.length){if(i)return-1;r=t.length-1}else if(r<0)if(i)r=0;else return-1;if(typeof e=="string"&&(e=c.from(e,n)),c.isBuffer(e))return e.length===0?-1:ze(t,e,r,n,i);if(typeof e=="number")return e=e&255,typeof Uint8Array.prototype.indexOf=="function"?i?Uint8Array.prototype.indexOf.call(t,e,r):Uint8Array.prototype.lastIndexOf.call(t,e,r):ze(t,[e],r,n,i);throw new TypeError("val must be string, number or Buffer")}function ze(t,e,r,n,i){var a=1,s=t.length,m=e.length;if(n!==void 0&&(n=String(n).toLowerCase(),n==="ucs2"||n==="ucs-2"||n==="utf16le"||n==="utf-16le")){if(t.length<2||e.length<2)return-1;a=2,s/=2,m/=2,r/=2}function d(T,w){return a===1?T[w]:T.readUInt16BE(w*a)}var g;if(i){var h=-1;for(g=r;g<s;g++)if(d(t,g)===d(e,h===-1?0:g-h)){if(h===-1&&(h=g),g-h+1===m)return h*a}else h!==-1&&(g-=g-h),h=-1}else for(r+m>s&&(r=s-m),g=r;g>=0;g--){for(var f=!0,y=0;y<m;y++)if(d(t,g+y)!==d(e,y)){f=!1;break}if(f)return g}return-1}c.prototype.includes=function(e,r,n){return this.indexOf(e,r,n)!==-1};c.prototype.indexOf=function(e,r,n){return Je(this,e,r,n,!0)};c.prototype.lastIndexOf=function(e,r,n){return Je(this,e,r,n,!1)};function vt(t,e,r,n){r=Number(r)||0;var i=t.length-r;n?(n=Number(n),n>i&&(n=i)):n=i;var a=e.length;n>a/2&&(n=a/2);for(var s=0;s<n;++s){var m=parseInt(e.substr(s*2,2),16);if(Se(m))return s;t[r+s]=m}return s}function At(t,e,r,n){return ue(we(e,t.length-r),t,r,n)}function St(t,e,r,n){return ue(Ot(e),t,r,n)}function kt(t,e,r,n){return ue(nr(e),t,r,n)}function It(t,e,r,n){return ue(Ut(e,t.length-r),t,r,n)}c.prototype.write=function(e,r,n,i){if(r===void 0)i="utf8",n=this.length,r=0;else if(n===void 0&&typeof r=="string")i=r,n=this.length,r=0;else if(isFinite(r))r=r>>>0,isFinite(n)?(n=n>>>0,i===void 0&&(i="utf8")):(i=n,n=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var a=this.length-r;if((n===void 0||n>a)&&(n=a),e.length>0&&(n<0||r<0)||r>this.length)throw new RangeError("Attempt to write outside buffer bounds");i||(i="utf8");for(var s=!1;;)switch(i){case"hex":return vt(this,e,r,n);case"utf8":case"utf-8":return At(this,e,r,n);case"ascii":case"latin1":case"binary":return St(this,e,r,n);case"base64":return kt(this,e,r,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return It(this,e,r,n);default:if(s)throw new TypeError("Unknown encoding: "+i);i=(""+i).toLowerCase(),s=!0}};c.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function Nt(t,e,r){return e===0&&r===t.length?Te.fromByteArray(t):Te.fromByteArray(t.slice(e,r))}function Qe(t,e,r){r=Math.min(t.length,r);for(var n=[],i=e;i<r;){var a=t[i],s=null,m=a>239?4:a>223?3:a>191?2:1;if(i+m<=r){var d,g,h,f;switch(m){case 1:a<128&&(s=a);break;case 2:d=t[i+1],(d&192)===128&&(f=(a&31)<<6|d&63,f>127&&(s=f));break;case 3:d=t[i+1],g=t[i+2],(d&192)===128&&(g&192)===128&&(f=(a&15)<<12|(d&63)<<6|g&63,f>2047&&(f<55296||f>57343)&&(s=f));break;case 4:d=t[i+1],g=t[i+2],h=t[i+3],(d&192)===128&&(g&192)===128&&(h&192)===128&&(f=(a&15)<<18|(d&63)<<12|(g&63)<<6|h&63,f>65535&&f<1114112&&(s=f))}}s===null?(s=65533,m=1):s>65535&&(s-=65536,n.push(s>>>10&1023|55296),s=56320|s&1023),n.push(s),i+=m}return _t(n)}var Ke=4096;function _t(t){var e=t.length;if(e<=Ke)return String.fromCharCode.apply(String,t);for(var r="",n=0;n<e;)r+=String.fromCharCode.apply(String,t.slice(n,n+=Ke));return r}function Et(t,e,r){var n="";r=Math.min(t.length,r);for(var i=e;i<r;++i)n+=String.fromCharCode(t[i]&127);return n}function Rt(t,e,r){var n="";r=Math.min(t.length,r);for(var i=e;i<r;++i)n+=String.fromCharCode(t[i]);return n}function Lt(t,e,r){var n=t.length;(!e||e<0)&&(e=0),(!r||r<0||r>n)&&(r=n);for(var i="",a=e;a<r;++a)i+=Bt[t[a]];return i}function Dt(t,e,r){for(var n=t.slice(e,r),i="",a=0;a<n.length-1;a+=2)i+=String.fromCharCode(n[a]+n[a+1]*256);return i}c.prototype.slice=function(e,r){var n=this.length;e=~~e,r=r===void 0?n:~~r,e<0?(e+=n,e<0&&(e=0)):e>n&&(e=n),r<0?(r+=n,r<0&&(r=0)):r>n&&(r=n),r<e&&(r=e);var i=this.subarray(e,r);return Object.setPrototypeOf(i,c.prototype),i};function b(t,e,r){if(t%1!==0||t<0)throw new RangeError("offset is not uint");if(t+e>r)throw new RangeError("Trying to access beyond buffer length")}c.prototype.readUintLE=c.prototype.readUIntLE=function(e,r,n){e=e>>>0,r=r>>>0,n||b(e,r,this.length);for(var i=this[e],a=1,s=0;++s<r&&(a*=256);)i+=this[e+s]*a;return i};c.prototype.readUintBE=c.prototype.readUIntBE=function(e,r,n){e=e>>>0,r=r>>>0,n||b(e,r,this.length);for(var i=this[e+--r],a=1;r>0&&(a*=256);)i+=this[e+--r]*a;return i};c.prototype.readUint8=c.prototype.readUInt8=function(e,r){return e=e>>>0,r||b(e,1,this.length),this[e]};c.prototype.readUint16LE=c.prototype.readUInt16LE=function(e,r){return e=e>>>0,r||b(e,2,this.length),this[e]|this[e+1]<<8};c.prototype.readUint16BE=c.prototype.readUInt16BE=function(e,r){return e=e>>>0,r||b(e,2,this.length),this[e]<<8|this[e+1]};c.prototype.readUint32LE=c.prototype.readUInt32LE=function(e,r){return e=e>>>0,r||b(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+this[e+3]*16777216};c.prototype.readUint32BE=c.prototype.readUInt32BE=function(e,r){return e=e>>>0,r||b(e,4,this.length),this[e]*16777216+(this[e+1]<<16|this[e+2]<<8|this[e+3])};c.prototype.readIntLE=function(e,r,n){e=e>>>0,r=r>>>0,n||b(e,r,this.length);for(var i=this[e],a=1,s=0;++s<r&&(a*=256);)i+=this[e+s]*a;return a*=128,i>=a&&(i-=Math.pow(2,8*r)),i};c.prototype.readIntBE=function(e,r,n){e=e>>>0,r=r>>>0,n||b(e,r,this.length);for(var i=r,a=1,s=this[e+--i];i>0&&(a*=256);)s+=this[e+--i]*a;return a*=128,s>=a&&(s-=Math.pow(2,8*r)),s};c.prototype.readInt8=function(e,r){return e=e>>>0,r||b(e,1,this.length),this[e]&128?(255-this[e]+1)*-1:this[e]};c.prototype.readInt16LE=function(e,r){e=e>>>0,r||b(e,2,this.length);var n=this[e]|this[e+1]<<8;return n&32768?n|4294901760:n};c.prototype.readInt16BE=function(e,r){e=e>>>0,r||b(e,2,this.length);var n=this[e+1]|this[e]<<8;return n&32768?n|4294901760:n};c.prototype.readInt32LE=function(e,r){return e=e>>>0,r||b(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24};c.prototype.readInt32BE=function(e,r){return e=e>>>0,r||b(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]};c.prototype.readFloatLE=function(e,r){return e=e>>>0,r||b(e,4,this.length),z.read(this,e,!0,23,4)};c.prototype.readFloatBE=function(e,r){return e=e>>>0,r||b(e,4,this.length),z.read(this,e,!1,23,4)};c.prototype.readDoubleLE=function(e,r){return e=e>>>0,r||b(e,8,this.length),z.read(this,e,!0,52,8)};c.prototype.readDoubleBE=function(e,r){return e=e>>>0,r||b(e,8,this.length),z.read(this,e,!1,52,8)};function A(t,e,r,n,i,a){if(!c.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>i||e<a)throw new RangeError('"value" argument is out of bounds');if(r+n>t.length)throw new RangeError("Index out of range")}c.prototype.writeUintLE=c.prototype.writeUIntLE=function(e,r,n,i){if(e=+e,r=r>>>0,n=n>>>0,!i){var a=Math.pow(2,8*n)-1;A(this,e,r,n,a,0)}var s=1,m=0;for(this[r]=e&255;++m<n&&(s*=256);)this[r+m]=e/s&255;return r+n};c.prototype.writeUintBE=c.prototype.writeUIntBE=function(e,r,n,i){if(e=+e,r=r>>>0,n=n>>>0,!i){var a=Math.pow(2,8*n)-1;A(this,e,r,n,a,0)}var s=n-1,m=1;for(this[r+s]=e&255;--s>=0&&(m*=256);)this[r+s]=e/m&255;return r+n};c.prototype.writeUint8=c.prototype.writeUInt8=function(e,r,n){return e=+e,r=r>>>0,n||A(this,e,r,1,255,0),this[r]=e&255,r+1};c.prototype.writeUint16LE=c.prototype.writeUInt16LE=function(e,r,n){return e=+e,r=r>>>0,n||A(this,e,r,2,65535,0),this[r]=e&255,this[r+1]=e>>>8,r+2};c.prototype.writeUint16BE=c.prototype.writeUInt16BE=function(e,r,n){return e=+e,r=r>>>0,n||A(this,e,r,2,65535,0),this[r]=e>>>8,this[r+1]=e&255,r+2};c.prototype.writeUint32LE=c.prototype.writeUInt32LE=function(e,r,n){return e=+e,r=r>>>0,n||A(this,e,r,4,4294967295,0),this[r+3]=e>>>24,this[r+2]=e>>>16,this[r+1]=e>>>8,this[r]=e&255,r+4};c.prototype.writeUint32BE=c.prototype.writeUInt32BE=function(e,r,n){return e=+e,r=r>>>0,n||A(this,e,r,4,4294967295,0),this[r]=e>>>24,this[r+1]=e>>>16,this[r+2]=e>>>8,this[r+3]=e&255,r+4};c.prototype.writeIntLE=function(e,r,n,i){if(e=+e,r=r>>>0,!i){var a=Math.pow(2,8*n-1);A(this,e,r,n,a-1,-a)}var s=0,m=1,d=0;for(this[r]=e&255;++s<n&&(m*=256);)e<0&&d===0&&this[r+s-1]!==0&&(d=1),this[r+s]=(e/m>>0)-d&255;return r+n};c.prototype.writeIntBE=function(e,r,n,i){if(e=+e,r=r>>>0,!i){var a=Math.pow(2,8*n-1);A(this,e,r,n,a-1,-a)}var s=n-1,m=1,d=0;for(this[r+s]=e&255;--s>=0&&(m*=256);)e<0&&d===0&&this[r+s+1]!==0&&(d=1),this[r+s]=(e/m>>0)-d&255;return r+n};c.prototype.writeInt8=function(e,r,n){return e=+e,r=r>>>0,n||A(this,e,r,1,127,-128),e<0&&(e=255+e+1),this[r]=e&255,r+1};c.prototype.writeInt16LE=function(e,r,n){return e=+e,r=r>>>0,n||A(this,e,r,2,32767,-32768),this[r]=e&255,this[r+1]=e>>>8,r+2};c.prototype.writeInt16BE=function(e,r,n){return e=+e,r=r>>>0,n||A(this,e,r,2,32767,-32768),this[r]=e>>>8,this[r+1]=e&255,r+2};c.prototype.writeInt32LE=function(e,r,n){return e=+e,r=r>>>0,n||A(this,e,r,4,2147483647,-2147483648),this[r]=e&255,this[r+1]=e>>>8,this[r+2]=e>>>16,this[r+3]=e>>>24,r+4};c.prototype.writeInt32BE=function(e,r,n){return e=+e,r=r>>>0,n||A(this,e,r,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),this[r]=e>>>24,this[r+1]=e>>>16,this[r+2]=e>>>8,this[r+3]=e&255,r+4};function er(t,e,r,n,i,a){if(r+n>t.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function rr(t,e,r,n,i){return e=+e,r=r>>>0,i||er(t,e,r,4,34028234663852886e22,-34028234663852886e22),z.write(t,e,r,n,23,4),r+4}c.prototype.writeFloatLE=function(e,r,n){return rr(this,e,r,!0,n)};c.prototype.writeFloatBE=function(e,r,n){return rr(this,e,r,!1,n)};function tr(t,e,r,n,i){return e=+e,r=r>>>0,i||er(t,e,r,8,17976931348623157e292,-17976931348623157e292),z.write(t,e,r,n,52,8),r+8}c.prototype.writeDoubleLE=function(e,r,n){return tr(this,e,r,!0,n)};c.prototype.writeDoubleBE=function(e,r,n){return tr(this,e,r,!1,n)};c.prototype.copy=function(e,r,n,i){if(!c.isBuffer(e))throw new TypeError("argument should be a Buffer");if(n||(n=0),!i&&i!==0&&(i=this.length),r>=e.length&&(r=e.length),r||(r=0),i>0&&i<n&&(i=n),i===n||e.length===0||this.length===0)return 0;if(r<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw new RangeError("Index out of range");if(i<0)throw new RangeError("sourceEnd out of bounds");i>this.length&&(i=this.length),e.length-r<i-n&&(i=e.length-r+n);var a=i-n;return this===e&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(r,n,i):Uint8Array.prototype.set.call(e,this.subarray(n,i),r),a};c.prototype.fill=function(e,r,n,i){if(typeof e=="string"){if(typeof r=="string"?(i=r,r=0,n=this.length):typeof n=="string"&&(i=n,n=this.length),i!==void 0&&typeof i!="string")throw new TypeError("encoding must be a string");if(typeof i=="string"&&!c.isEncoding(i))throw new TypeError("Unknown encoding: "+i);if(e.length===1){var a=e.charCodeAt(0);(i==="utf8"&&a<128||i==="latin1")&&(e=a)}}else typeof e=="number"?e=e&255:typeof e=="boolean"&&(e=Number(e));if(r<0||this.length<r||this.length<n)throw new RangeError("Out of range index");if(n<=r)return this;r=r>>>0,n=n===void 0?this.length:n>>>0,e||(e=0);var s;if(typeof e=="number")for(s=r;s<n;++s)this[s]=e;else{var m=c.isBuffer(e)?e:c.from(e,i),d=m.length;if(d===0)throw new TypeError('The value "'+e+'" is invalid for argument "value"');for(s=0;s<n-r;++s)this[s+r]=m[s%d]}return this};var Ft=/[^+/0-9A-Za-z-_]/g;function Ct(t){if(t=t.split("=")[0],t=t.trim().replace(Ft,""),t.length<2)return"";for(;t.length%4!==0;)t=t+"=";return t}function we(t,e){e=e||1/0;for(var r,n=t.length,i=null,a=[],s=0;s<n;++s){if(r=t.charCodeAt(s),r>55295&&r<57344){if(!i){if(r>56319){(e-=3)>-1&&a.push(239,191,189);continue}else if(s+1===n){(e-=3)>-1&&a.push(239,191,189);continue}i=r;continue}if(r<56320){(e-=3)>-1&&a.push(239,191,189),i=r;continue}r=(i-55296<<10|r-56320)+65536}else i&&(e-=3)>-1&&a.push(239,191,189);if(i=null,r<128){if((e-=1)<0)break;a.push(r)}else if(r<2048){if((e-=2)<0)break;a.push(r>>6|192,r&63|128)}else if(r<65536){if((e-=3)<0)break;a.push(r>>12|224,r>>6&63|128,r&63|128)}else if(r<1114112){if((e-=4)<0)break;a.push(r>>18|240,r>>12&63|128,r>>6&63|128,r&63|128)}else throw new Error("Invalid code point")}return a}function Ot(t){for(var e=[],r=0;r<t.length;++r)e.push(t.charCodeAt(r)&255);return e}function Ut(t,e){for(var r,n,i,a=[],s=0;s<t.length&&!((e-=2)<0);++s)r=t.charCodeAt(s),n=r>>8,i=r%256,a.push(i),a.push(n);return a}function nr(t){return Te.toByteArray(Ct(t))}function ue(t,e,r,n){for(var i=0;i<n&&!(i+r>=e.length||i>=t.length);++i)e[i+r]=t[i];return i}function _(t,e){return t instanceof e||t!=null&&t.constructor!=null&&t.constructor.name!=null&&t.constructor.name===e.name}function Se(t){return t!==t}var Bt=function(){for(var t="0123456789abcdef",e=new Array(256),r=0;r<16;++r)for(var n=r*16,i=0;i<16;++i)e[n+i]=t[r]+t[i];return e}()});var lr=se((cn,cr)=>{o();var x=cr.exports={},E,R;function ke(){throw new Error("setTimeout has not been defined")}function Ie(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?E=setTimeout:E=ke}catch(t){E=ke}try{typeof clearTimeout=="function"?R=clearTimeout:R=Ie}catch(t){R=Ie}})();function or(t){if(E===setTimeout)return setTimeout(t,0);if((E===ke||!E)&&setTimeout)return E=setTimeout,setTimeout(t,0);try{return E(t,0)}catch(e){try{return E.call(null,t,0)}catch(r){return E.call(this,t,0)}}}function Pt(t){if(R===clearTimeout)return clearTimeout(t);if((R===Ie||!R)&&clearTimeout)return R=clearTimeout,clearTimeout(t);try{return R(t)}catch(e){try{return R.call(null,t)}catch(r){return R.call(this,t)}}}var U=[],X=!1,q,pe=-1;function Mt(){!X||!q||(X=!1,q.length?U=q.concat(U):pe=-1,U.length&&ar())}function ar(){if(!X){var t=or(Mt);X=!0;for(var e=U.length;e;){for(q=U,U=[];++pe<e;)q&&q[pe].run();pe=-1,e=U.length}q=null,X=!1,Pt(t)}}x.nextTick=function(t){var e=new Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)e[r-1]=arguments[r];U.push(new sr(t,e)),U.length===1&&!X&&or(ar)};function sr(t,e){this.fun=t,this.array=e}sr.prototype.run=function(){this.fun.apply(null,this.array)};x.title="browser";x.browser=!0;x.env={};x.argv=[];x.version="";x.versions={};function B(){}x.on=B;x.addListener=B;x.once=B;x.off=B;x.removeListener=B;x.removeAllListeners=B;x.emit=B;x.prependListener=B;x.prependOnceListener=B;x.listeners=function(t){return[]};x.binding=function(t){throw new Error("process.binding is not supported")};x.cwd=function(){return"/"};x.chdir=function(t){throw new Error("process.chdir is not supported")};x.umask=function(){return 0}});var l,u,ln,o=ot(()=>{l=C(ir()),u=C(lr()),ln=function(t){function e(){var n=this||self;return delete t.prototype.__magic__,n}if(typeof globalThis=="object")return globalThis;if(this)return e();t.defineProperty(t.prototype,"__magic__",{configurable:!0,get:e});var r=__magic__;return r}(Object)});var tn={};at(tn,{explorerUrlBuilder:()=>te,getExplorerLink:()=>Ht,getHumanReadableTimeFormat:()=>jt,getOperationsMessages:()=>zt,getReceiptMessage:()=>Yt,getTransactionMethod:()=>$t,getTransactionReceiver:()=>Le,getTransactionReceiverAssets:()=>Gt,getTransactionTokens:()=>Re,getTransactionTransferType:()=>qt,getTransactionValue:()=>rn});module.exports=st(tn);o();o();o();var G="accounts";var ur="blocks",pr="code",mr="collections";var dr="contracts";var gr="identities";var fr="locked-accounts",hr="logs",yr="miniblocks";var Ne="nfts",Tr="nodes",_e="providers",xr="roles",Ee="sc-results";var Y="tokens";var j="transactions";var te={shard:t=>`/${ur}?shard=${t}`,receiverShard:t=>`/${j}?receivershard=${t}`,senderShard:t=>`/${j}?sendershard=${t}`,transactionDetails:t=>`/${j}/${t}`,transactionDetailsScResults:t=>`/${j}/${t}/${Ee}`,transactionDetailsLogs:t=>`/${j}/${t}/${hr}`,nodeDetails:t=>`/${Tr}/${t}`,accountDetails:t=>`/${G}/${t}`,accountDetailsContractCode:t=>`/${G}/${t}/${pr}`,accountDetailsTokens:t=>`/${G}/${t}/${Y}`,accountDetailsNfts:t=>`/${G}/${t}/${Ne}`,accountDetailsScResults:t=>`/${G}/${t}/${Ee}`,accountDetailsContracts:t=>`/${G}/${t}/${dr}`,identityDetails:t=>`/${gr}/${t}`,tokenDetails:t=>`/${Y}/${t}`,tokenDetailsAccounts:t=>`/${Y}/${t}/${G}`,tokenDetailsLockedAccounts:t=>`/${Y}/${t}/${fr}`,tokenDetailsRoles:t=>`/${Y}/${t}/${xr}`,collectionDetails:t=>`/${mr}/${t}`,nftDetails:t=>`/${Ne}/${t}`,providerDetails:t=>`/${_e}/${t}`,providerDetailsTransactions:t=>`/${_e}/${t}/${j}`,miniblockDetails:t=>`/${yr}/${t}`};o();var Re=t=>{var e,r,n,i;if(t.action){let a=[(e=t.action.arguments)==null?void 0:e.token,(r=t.action.arguments)==null?void 0:r.token1,(n=t.action.arguments)==null?void 0:n.token2,(i=t.action.arguments)==null?void 0:i.transfers].filter(m=>m!=null);return[].concat(...a)}return[]};o();o();function Le(t){var r,n;let e=t.receiver;return(n=(r=t.action)==null?void 0:r.arguments)!=null&&n.receiver&&(e=t.action.arguments.receiver),e}function Gt(t){let e=Le(t);return t.receiver===e?t.receiverAssets:void 0}o();o();var De=(n=>(n.nft="nft",n.esdt="esdt",n.egld="egld",n))(De||{});var $t=t=>{var n,i,a,s,m,d;let e="Transaction";return((n=t.action)==null?void 0:n.name)&&((i=t.action)==null?void 0:i.category)&&(((a=t.action)==null?void 0:a.category)==="esdtNft"&&((s=t.action)==null?void 0:s.name)==="transfer"?e="Transaction":t.action&&(e=t.action.name),(d=(m=t.action)==null?void 0:m.arguments)!=null&&d.functionName&&(e=t.action.arguments.functionName)),e};o();var br=!1;function Wt(t){br||(console.error(t),br=!0)}function Ht({explorerAddress:t,to:e}){try{return new URL(e).href}catch(r){return e.startsWith("/")||(Wt(`Link not prepended by / : ${e}`),e=`/${e}`),t?`${t}${e}`:e}}o();function qt(t,e,r){let n=t===e.sender,i=t===r,a=n&&i,s=(e==null?void 0:e.type)==="SmartContractResult";switch(!0){case s:return"Internal";case a:return"Self";case i:return"In";case n:default:return"Out"}}o();function jt({value:t,noSeconds:e,utc:r,meridiem:n=!0}){let i=new Date(t*1e3),[,a]=i.toLocaleString("en-US",{hour:"numeric",hour12:n}).split(" "),s=i.toUTCString(),[,m]=s.split(","),[d,g,h,f]=m.trim().split(" "),[y,T,w]=f.split(":"),M=`:${w}`,Q=`${y}:${T}${e?"":M}`,$=`${n?a:""} ${r?"UTC":""}`.trim();return`${g} ${d}, ${h} ${Q} ${$}`.trim()}o();function zt(t){var e,r;return(r=(e=t==null?void 0:t.operations)==null?void 0:e.map(n=>n.message).filter(n=>Boolean(n)))!=null?r:[]}o();var Lr=C(require("bignumber.js"));o();o();o();o();o();o();o();o();o();o();o();o();o();o();o();var Kt=require("@multiversx/sdk-web-wallet-cross-window-provider/out/CrossWindowProvider/CrossWindowProvider"),Z=require("@multiversx/sdk-web-wallet-cross-window-provider/out/enums");var wr=(r=>(r.signTransactionsWithGuardianResponse="SIGN_TRANSACTIONS_WITH_GUARDIAN_RESPONSE",r.reloginRequest="RELOGIN_REQUEST",r))(wr||{}),Vn=F(F({},Z.WindowProviderRequestEnums),wr),vr=(e=>(e.reloginResponse="RELOGIN_RESPONSE",e))(vr||{}),$n=F(F({},Z.WindowProviderResponseEnums),vr);o();o();o();o();o();var Fe={devnet:{id:"devnet",chainId:"D",name:"Devnet",egldLabel:"xEGLD",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"https://maiar.page.link/?apn=com.elrond.maiar.wallet&isi=1519405832&ibi=com.elrond.maiar.wallet&link=https://xportal.com/",walletConnectBridgeAddresses:["https://bridge.walletconnect.org"],walletConnectV2RelayAddresses:["wss://relay.walletconnect.com"],walletAddress:"https://devnet-wallet.multiversx.com",xAliasAddress:"https://devnet.xalias.com",apiAddress:"https://devnet-api.multiversx.com",explorerAddress:"http://devnet-explorer.multiversx.com",metamaskSnapWalletAddress:"https://devnet-iframe-wallet.multiversx.com",apiTimeout:"4000",roundDuration:6e3},testnet:{id:"testnet",chainId:"T",name:"Testnet",egldLabel:"xEGLD",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"https://maiar.page.link/?apn=com.elrond.maiar.wallet&isi=1519405832&ibi=com.elrond.maiar.wallet&link=https://xportal.com/",walletConnectBridgeAddresses:["https://bridge.walletconnect.org"],walletConnectV2RelayAddresses:["wss://relay.walletconnect.com"],walletAddress:"https://testnet-wallet.multiversx.com",xAliasAddress:"https://testnet.xalias.com",apiAddress:"https://testnet-api.multiversx.com",explorerAddress:"http://testnet-explorer.multiversx.com",metamaskSnapWalletAddress:"https://testnet-iframe-wallet.multiversx.com",apiTimeout:"4000",roundDuration:6e3},mainnet:{id:"mainnet",chainId:"1",name:"Mainnet",egldLabel:"EGLD",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"https://maiar.page.link/?apn=com.elrond.maiar.wallet&isi=1519405832&ibi=com.elrond.maiar.wallet&link=https://xportal.com/",walletConnectBridgeAddresses:["https://bridge.walletconnect.org"],walletConnectV2RelayAddresses:["wss://relay.walletconnect.com"],walletAddress:"https://wallet.multiversx.com",xAliasAddress:"https://xalias.com",apiAddress:"https://api.multiversx.com",explorerAddress:"https://explorer.multiversx.com",metamaskSnapWalletAddress:"https://iframe-wallet.multiversx.com",apiTimeout:"4000",roundDuration:6e3}},{chainId:Ar,egldLabel:ii}=Fe["devnet"],{chainId:Sr,egldLabel:oi}=Fe["testnet"],{chainId:kr,egldLabel:ai}=Fe["mainnet"];var si={["devnet"]:Ar,["testnet"]:Sr,["mainnet"]:kr},ci={[Ar]:"devnet",[Sr]:"testnet",[kr]:"mainnet"};o();o();var L=require("@multiversx/sdk-web-wallet-provider");o();o();var Ce=require("@multiversx/sdk-dapp-utils/out/constants/browserConstants");var Ir,Nr,Oe=String((Nr=(Ir=Ce.safeWindow)==null?void 0:Ir.navigator)==null?void 0:Nr.userAgent),gi=/^((?!chrome|android).)*safari/i.test(Oe),fi=/firefox/i.test(Oe)&&/windows/i.test(Oe);var v=18,J=4;var _r="refundedGas";var me="0";o();var Rr=require("@multiversx/sdk-core"),V=C(require("bignumber.js"));o();var Er=C(require("bignumber.js")),Ue=(t,e=!0)=>{let r=String(t);if(!r.match(/^[-]?\d+$/))return!1;let n=new Er.default(r),i=e?0:-1;return n.toString(10)===r&&n.comparedTo(0)>=i};o();function P(t){return{if:function(e){return e?{then:r=>r instanceof Function?P(r(t)):P(r)}:{then:()=>P(t)}},then:e=>e instanceof Function?P(e(t)):P(e),valueOf:function(){return t}}}V.default.config({ROUNDING_MODE:V.default.ROUND_FLOOR});function D({input:t,decimals:e=v,digits:r=J,showLastNonZeroDecimal:n=!0,showIsLessThanDecimalsLabel:i=!1,addCommas:a=!1}){if(!Ue(t,!1))throw new Error("Invalid input");let s=new V.default(t).isNegative(),m=t;return s&&(m=t.substring(1)),P(m).then(()=>Rr.TokenTransfer.fungibleFromBigInteger("",m,e).amountAsBigInteger.shiftedBy(-e).toFixed(e)).then(d=>{let g=new V.default(d);if(g.isZero())return me;let h=g.toString(10),[f,y]=h.split("."),T=new V.default(y||0),w=P(0).if(Boolean(y&&n)).then(()=>Math.max(y.length,r)).if(T.isZero()&&!n).then(0).if(Boolean(y&&!n)).then(()=>Math.min(y.length,r)).valueOf(),M=y&&r>=1&&r<=y.length&&T.isGreaterThan(0)&&new V.default(y.substring(0,r)).isZero(),Q=g.toFormat(w);return P(h).if(a).then(Q).if(Boolean(M)).then(ee=>{let $=new V.default(f).isZero(),[I,ie]=ee.split("."),oe=new Array(r-1).fill(0),Yr=[...oe,0].join(""),Zr=[...oe,1].join("");return $?i?`<${I}.${Zr}`:n?`${I}.${ie}`:I:`${I}.${Yr}`}).if(Boolean(!M&&y)).then(ee=>{let[$]=ee.split("."),I=y.substring(0,w);if(n){let ie=r-I.length;if(ie>0){let oe=Array(ie).fill(0).join("");return I=`${I}${oe}`,`${$}.${I}`}return ee}return I?`${$}.${I}`:$}).valueOf()}).if(s).then(d=>`-${d}`).valueOf()}var Xt=t=>{var e,r;if(!((e=t.receipt)!=null&&e.value))return"";if(((r=t.receipt)==null?void 0:r.data)===_r){let n=D({input:t.receipt.value,decimals:v,digits:J,showLastNonZeroDecimal:!0});return new Lr.default(n).times(t.gasPrice).times(100).toFixed()}return t.receipt.value};function Yt(t){var i;let e=(i=t.receipt)==null?void 0:i.data;if(!e)return"";let r=Xt(t),n=r?`: ${r}`:"";return`${e}${n}`}o();o();o();o();var de=(n=>(n.NonFungibleESDT="NonFungibleESDT",n.SemiFungibleESDT="SemiFungibleESDT",n.MetaESDT="MetaESDT",n))(de||{});o();o();o();o();o();var Zt=require("@multiversx/sdk-core");o();var ne=require("@multiversx/sdk-core"),Qt=C(require("bignumber.js"));o();o();o();var Jt=C(require("bignumber.js"));o();o();var Be={isEsdt:!1,isNft:!1,isEgld:!1};function Dr(t){let e=t==null?void 0:t.split("-").length;return e===2?ae(F({},Be),{isEsdt:!0}):e===3?ae(F({},Be),{isNft:!0}):ae(F({},Be),{isEgld:!0})}o();o();o();o();o();o();function ge({token:t,noValue:e,showLastNonZeroDecimal:r}){var g;let n=!e&&t.value&&t.type!=="NonFungibleESDT",i=t.decimals!=null,a="";t.type==="NonFungibleESDT"&&(a="NFT"),t.type==="SemiFungibleESDT"&&(a="SFT"),t.type==="MetaESDT"&&(a="Meta-ESDT");let s="";n&&i&&(s=i?D({input:t.value,decimals:t.decimals,digits:2,showLastNonZeroDecimal:r}):Number(t.value).toLocaleString("en"));let m=te.nftDetails(String(t.identifier)),d=t.ticker===t.collection&&(g=t.identifier)!=null?g:t.ticker;return{badgeText:a,tokenFormattedAmount:n?s:null,tokenExplorerLink:m,tokenLinkText:d,token:t,noValue:e,showLastNonZeroDecimal:r}}o();function fe({token:t,noValue:e,showLastNonZeroDecimal:r}){var m;let n=Boolean(!e&&t.value),i=n?D({input:t.value,decimals:(m=t.decimals)!=null?m:v,digits:2,showLastNonZeroDecimal:r,addCommas:!0}):null,a=te.tokenDetails(String(t.token)),s=t.ticker;return{tokenExplorerLink:a,tokenFormattedAmount:i,showFormattedAmount:n,tokenLinkText:s,token:t,showLastNonZeroDecimal:r}}o();var Fr=["reDelegateRewards","claimRewards","unBond"],Cr=["wrapEgld","unwrapEgld"],Or=["unStake"],Ur=["unDelegate"];o();o();var Br=t=>{let e=t.map(n=>{let{isNft:i}=Dr(n.type);if(i){let{badgeText:h,tokenFormattedAmount:f,tokenLinkText:y}=ge({token:n});return`${h!=null?`(${h}) `:""}${f} ${y}`}let{tokenFormattedAmount:a,tokenLinkText:s,token:m}=fe({token:n}),d=m.collection?m.identifier:m.token;return`${a} ${s} (${d})`});return decodeURI(e.join("%0A"))};o();var k=t=>({egldValueData:{value:t,formattedValue:D({input:t}),decimals:v}});o();var Gr=C(require("bignumber.js"));o();o();function en(t){try{let e=atob(t),r=btoa(e),n=l.Buffer.from(t,"base64").toString(),i=l.Buffer.from(n).toString("base64"),a=t===r||r.startsWith(t),s=t===i||i.startsWith(t);if(a&&s)return!0}catch(e){return!1}return!1}function Pr(t){return en(t)?atob(t):t}o();o();o();o();var Mr=!1;function Vr(t){var e;try{let n=Pr(t.data).replace(`${(e=t.action)==null?void 0:e.name}@`,""),i=new Gr.default(n,16);if(!i.isNaN())return k(i.toString(10))}catch(r){Mr||(console.error(`Unable to extract value for txHash: ${t.txHash}`),Mr=!0)}return k(t.value)}o();o();var $r=t=>{var r,n;return(n=(r=t==null?void 0:t.operations)==null?void 0:r.filter(i=>Object.values(De).includes(i.type)))!=null?n:[]};var Wr=!1,Hr=t=>{Wr||(console.error(`Operations field missing for txHash: ${t}.
2
2
  Unable to compute value field.`),Wr=!0)};function qr(t){try{if(t.operations){let[e]=$r(t);return k(e==null?void 0:e.value)}else Hr(t.txHash)}catch(e){Hr(t.txHash)}return k(t.value)}o();var zr=C(require("bignumber.js"));var jr=!1;function Kr(t){var r,n,i,a,s;return new zr.default((n=(r=t.action)==null?void 0:r.arguments)==null?void 0:n.value).isNaN()?(jr||(console.error(`Unable to interpret ${(s=t.action)==null?void 0:s.name} data for txHash: ${t.txHash}`),jr=!0),k(t.value)):k((a=(i=t.action)==null?void 0:i.arguments)==null?void 0:a.value)}var rn=({transaction:t,hideMultipleBadge:e})=>{var r;if(t.action){if(Cr.includes(t.action.name))return k(t.value);if(Or.includes(t.action.name))return Vr(t);if(Fr.includes(t.action.name))return qr(t);if(Ur.includes(t.action.name))return Kr(t);let n=Re(t);if(n.length){let i=n[0],a=Object.values(de).includes(i.type),m=!e&&n.length>1?Br(n):"";if(a){let{badgeText:T,tokenFormattedAmount:w,tokenExplorerLink:M,tokenLinkText:Q}=ge({token:i});return{nftValueData:{badgeText:T,tokenFormattedAmount:w,tokenExplorerLink:M,tokenLinkText:Q,transactionTokens:n,token:i,value:w!=null?i.value:null,decimals:w!=null?i.decimals:null,titleText:m}}}let{tokenExplorerLink:d,showFormattedAmount:g,tokenFormattedAmount:h,tokenLinkText:f,token:y}=fe({token:i});return{tokenValueData:{tokenExplorerLink:d,showFormattedAmount:g,tokenFormattedAmount:h,tokenLinkText:f,transactionTokens:n,token:y,value:i.value,decimals:(r=i.decimals)!=null?r:v,titleText:m}}}}return k(t.value)};0&&(module.exports={explorerUrlBuilder,getExplorerLink,getHumanReadableTimeFormat,getOperationsMessages,getReceiptMessage,getTransactionMethod,getTransactionReceiver,getTransactionReceiverAssets,getTransactionTokens,getTransactionTransferType,getTransactionValue});
3
3
  /*!
4
4
  * The buffer module from node.js, for the browser.
@@ -1,5 +1,5 @@
1
- "use strict";var gt=Object.create;var ie=Object.defineProperty,ft=Object.defineProperties,ht=Object.getOwnPropertyDescriptor,Tt=Object.getOwnPropertyDescriptors,yt=Object.getOwnPropertyNames,Je=Object.getOwnPropertySymbols,xt=Object.getPrototypeOf,er=Object.prototype.hasOwnProperty,bt=Object.prototype.propertyIsEnumerable;var Qe=(r,e,t)=>e in r?ie(r,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):r[e]=t,E=(r,e)=>{for(var t in e||(e={}))er.call(e,t)&&Qe(r,t,e[t]);if(Je)for(var t of Je(e))bt.call(e,t)&&Qe(r,t,e[t]);return r},X=(r,e)=>ft(r,Tt(e));var wt=(r,e)=>()=>(r&&(e=r(r=0)),e);var pe=(r,e)=>()=>(e||r((e={exports:{}}).exports,e),e.exports),vt=(r,e)=>{for(var t in e)ie(r,t,{get:e[t],enumerable:!0})},rr=(r,e,t,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of yt(e))!er.call(r,i)&&i!==t&&ie(r,i,{get:()=>e[i],enumerable:!(n=ht(e,i))||n.enumerable});return r};var R=(r,e,t)=>(t=r!=null?gt(xt(r)):{},rr(e||!r||!r.__esModule?ie(t,"default",{value:r,enumerable:!0}):t,r)),St=r=>rr(ie({},"__esModule",{value:!0}),r);var ir=pe(de=>{"use strict";a();de.byteLength=At;de.toByteArray=Nt;de.fromByteArray=Rt;var L=[],k=[],kt=typeof Uint8Array!="undefined"?Uint8Array:Array,ve="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(H=0,tr=ve.length;H<tr;++H)L[H]=ve[H],k[ve.charCodeAt(H)]=H;var H,tr;k["-".charCodeAt(0)]=62;k["_".charCodeAt(0)]=63;function nr(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 At(r){var e=nr(r),t=e[0],n=e[1];return(t+n)*3/4-n}function It(r,e,t){return(e+t)*3/4-t}function Nt(r){var e,t=nr(r),n=t[0],i=t[1],o=new kt(It(r,n,i)),s=0,u=i>0?n-4:n,m;for(m=0;m<u;m+=4)e=k[r.charCodeAt(m)]<<18|k[r.charCodeAt(m+1)]<<12|k[r.charCodeAt(m+2)]<<6|k[r.charCodeAt(m+3)],o[s++]=e>>16&255,o[s++]=e>>8&255,o[s++]=e&255;return i===2&&(e=k[r.charCodeAt(m)]<<2|k[r.charCodeAt(m+1)]>>4,o[s++]=e&255),i===1&&(e=k[r.charCodeAt(m)]<<10|k[r.charCodeAt(m+1)]<<4|k[r.charCodeAt(m+2)]>>2,o[s++]=e>>8&255,o[s++]=e&255),o}function Et(r){return L[r>>18&63]+L[r>>12&63]+L[r>>6&63]+L[r&63]}function _t(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(Et(n));return i.join("")}function Rt(r){for(var e,t=r.length,n=t%3,i=[],o=16383,s=0,u=t-n;s<u;s+=o)i.push(_t(r,s,s+o>u?u:s+o));return n===1?(e=r[t-1],i.push(L[e>>2]+L[e<<4&63]+"==")):n===2&&(e=(r[t-2]<<8)+r[t-1],i.push(L[e>>10]+L[e>>4&63]+L[e<<2&63]+"=")),i.join("")}});var or=pe(Se=>{a();Se.read=function(r,e,t,n,i){var o,s,u=i*8-n-1,m=(1<<u)-1,g=m>>1,h=-7,f=t?i-1:0,T=t?-1:1,y=r[e+f];for(f+=T,o=y&(1<<-h)-1,y>>=-h,h+=u;h>0;o=o*256+r[e+f],f+=T,h-=8);for(s=o&(1<<-h)-1,o>>=-h,h+=n;h>0;s=s*256+r[e+f],f+=T,h-=8);if(o===0)o=1-g;else{if(o===m)return s?NaN:(y?-1:1)*(1/0);s=s+Math.pow(2,n),o=o-g}return(y?-1:1)*s*Math.pow(2,o-n)};Se.write=function(r,e,t,n,i,o){var s,u,m,g=o*8-i-1,h=(1<<g)-1,f=h>>1,T=i===23?Math.pow(2,-24)-Math.pow(2,-77):0,y=n?0:o-1,b=n?1:-1,I=e<0||e===0&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(u=isNaN(e)?1:0,s=h):(s=Math.floor(Math.log(e)/Math.LN2),e*(m=Math.pow(2,-s))<1&&(s--,m*=2),s+f>=1?e+=T/m:e+=T*Math.pow(2,1-f),e*m>=2&&(s++,m/=2),s+f>=h?(u=0,s=h):s+f>=1?(u=(e*m-1)*Math.pow(2,i),s=s+f):(u=e*Math.pow(2,f-1)*Math.pow(2,i),s=0));i>=8;r[t+y]=u&255,y+=b,u/=256,i-=8);for(s=s<<i|u,g+=i;g>0;r[t+y]=s&255,y+=b,s/=256,g-=8);r[t+y-b]|=I*128}});var yr=pe(Z=>{"use strict";a();var ke=ir(),Y=or(),ar=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;Z.Buffer=c;Z.SlowBuffer=Bt;Z.INSPECT_MAX_BYTES=50;var me=2147483647;Z.kMaxLength=me;c.TYPED_ARRAY_SUPPORT=Lt();!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 Lt(){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 U(r){if(r>me)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 Ee(r)}return lr(r,e,t)}c.poolSize=8192;function lr(r,e,t){if(typeof r=="string")return Ct(r,e);if(ArrayBuffer.isView(r))return Ft(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(D(r,ArrayBuffer)||r&&D(r.buffer,ArrayBuffer)||typeof SharedArrayBuffer!="undefined"&&(D(r,SharedArrayBuffer)||r&&D(r.buffer,SharedArrayBuffer)))return Ie(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=Ot(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 lr(r,e,t)};Object.setPrototypeOf(c.prototype,Uint8Array.prototype);Object.setPrototypeOf(c,Uint8Array);function ur(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 Dt(r,e,t){return ur(r),r<=0?U(r):e!==void 0?typeof t=="string"?U(r).fill(e,t):U(r).fill(e):U(r)}c.alloc=function(r,e,t){return Dt(r,e,t)};function Ee(r){return ur(r),U(r<0?0:_e(r)|0)}c.allocUnsafe=function(r){return Ee(r)};c.allocUnsafeSlow=function(r){return Ee(r)};function Ct(r,e){if((typeof e!="string"||e==="")&&(e="utf8"),!c.isEncoding(e))throw new TypeError("Unknown encoding: "+e);var t=pr(r,e)|0,n=U(t),i=n.write(r,e);return i!==t&&(n=n.slice(0,i)),n}function Ae(r){for(var e=r.length<0?0:_e(r.length)|0,t=U(e),n=0;n<e;n+=1)t[n]=r[n]&255;return t}function Ft(r){if(D(r,Uint8Array)){var e=new Uint8Array(r);return Ie(e.buffer,e.byteOffset,e.byteLength)}return Ae(r)}function Ie(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 Ot(r){if(c.isBuffer(r)){var e=_e(r.length)|0,t=U(e);return t.length===0||r.copy(t,0,0,e),t}if(r.length!==void 0)return typeof r.length!="number"||Re(r.length)?U(0):Ae(r);if(r.type==="Buffer"&&Array.isArray(r.data))return Ae(r.data)}function _e(r){if(r>=me)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+me.toString(16)+" bytes");return r|0}function Bt(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(D(e,Uint8Array)&&(e=c.from(e,e.offset,e.byteLength)),D(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(D(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 pr(r,e){if(c.isBuffer(r))return r.length;if(ArrayBuffer.isView(r)||D(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 Ne(r).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return t*2;case"hex":return t>>>1;case"base64":return Tr(r).length;default:if(i)return n?-1:Ne(r).length;e=(""+e).toLowerCase(),i=!0}}c.byteLength=pr;function Ut(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 zt(this,e,t);case"utf8":case"utf-8":return mr(this,e,t);case"ascii":return qt(this,e,t);case"latin1":case"binary":return jt(this,e,t);case"base64":return Wt(this,e,t);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Kt(this,e,t);default:if(n)throw new TypeError("Unknown encoding: "+r);r=(r+"").toLowerCase(),n=!0}}c.prototype._isBuffer=!0;function q(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)q(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)q(this,t,t+3),q(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)q(this,t,t+7),q(this,t+1,t+6),q(this,t+2,t+5),q(this,t+3,t+4);return this};c.prototype.toString=function(){var e=this.length;return e===0?"":arguments.length===0?mr(this,0,e):Ut.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=Z.INSPECT_MAX_BYTES;return e=this.toString("hex",0,t).replace(/(.{2})/g,"$1 ").trim(),this.length>t&&(e+=" ... "),"<Buffer "+e+">"};ar&&(c.prototype[ar]=c.prototype.inspect);c.prototype.compare=function(e,t,n,i,o){if(D(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,u=n-t,m=Math.min(s,u),g=this.slice(i,o),h=e.slice(t,n),f=0;f<m;++f)if(g[f]!==h[f]){s=g[f],u=h[f];break}return s<u?-1:u<s?1:0};function dr(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,Re(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:sr(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):sr(r,[e],t,n,i);throw new TypeError("val must be string, number or Buffer")}function sr(r,e,t,n,i){var o=1,s=r.length,u=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,u/=2,t/=2}function m(y,b){return o===1?y[b]:y.readUInt16BE(b*o)}var g;if(i){var h=-1;for(g=t;g<s;g++)if(m(r,g)===m(e,h===-1?0:g-h)){if(h===-1&&(h=g),g-h+1===u)return h*o}else h!==-1&&(g-=g-h),h=-1}else for(t+u>s&&(t=s-u),g=t;g>=0;g--){for(var f=!0,T=0;T<u;T++)if(m(r,g+T)!==m(e,T)){f=!1;break}if(f)return g}return-1}c.prototype.includes=function(e,t,n){return this.indexOf(e,t,n)!==-1};c.prototype.indexOf=function(e,t,n){return dr(this,e,t,n,!0)};c.prototype.lastIndexOf=function(e,t,n){return dr(this,e,t,n,!1)};function Pt(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 u=parseInt(e.substr(s*2,2),16);if(Re(u))return s;r[t+s]=u}return s}function Mt(r,e,t,n){return ge(Ne(e,r.length-t),r,t,n)}function Gt(r,e,t,n){return ge(Zt(e),r,t,n)}function Vt(r,e,t,n){return ge(Tr(e),r,t,n)}function $t(r,e,t,n){return ge(Jt(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 Pt(this,e,t,n);case"utf8":case"utf-8":return Mt(this,e,t,n);case"ascii":case"latin1":case"binary":return Gt(this,e,t,n);case"base64":return Vt(this,e,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return $t(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 Wt(r,e,t){return e===0&&t===r.length?ke.fromByteArray(r):ke.fromByteArray(r.slice(e,t))}function mr(r,e,t){t=Math.min(r.length,t);for(var n=[],i=e;i<t;){var o=r[i],s=null,u=o>239?4:o>223?3:o>191?2:1;if(i+u<=t){var m,g,h,f;switch(u){case 1:o<128&&(s=o);break;case 2:m=r[i+1],(m&192)===128&&(f=(o&31)<<6|m&63,f>127&&(s=f));break;case 3:m=r[i+1],g=r[i+2],(m&192)===128&&(g&192)===128&&(f=(o&15)<<12|(m&63)<<6|g&63,f>2047&&(f<55296||f>57343)&&(s=f));break;case 4:m=r[i+1],g=r[i+2],h=r[i+3],(m&192)===128&&(g&192)===128&&(h&192)===128&&(f=(o&15)<<18|(m&63)<<12|(g&63)<<6|h&63,f>65535&&f<1114112&&(s=f))}}s===null?(s=65533,u=1):s>65535&&(s-=65536,n.push(s>>>10&1023|55296),s=56320|s&1023),n.push(s),i+=u}return Ht(n)}var cr=4096;function Ht(r){var e=r.length;if(e<=cr)return String.fromCharCode.apply(String,r);for(var t="",n=0;n<e;)t+=String.fromCharCode.apply(String,r.slice(n,n+=cr));return t}function qt(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 jt(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 zt(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+=Qt[r[o]];return i}function Kt(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),Y.read(this,e,!0,23,4)};c.prototype.readFloatBE=function(e,t){return e=e>>>0,t||w(e,4,this.length),Y.read(this,e,!1,23,4)};c.prototype.readDoubleLE=function(e,t){return e=e>>>0,t||w(e,8,this.length),Y.read(this,e,!0,52,8)};c.prototype.readDoubleBE=function(e,t){return e=e>>>0,t||w(e,8,this.length),Y.read(this,e,!1,52,8)};function S(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;S(this,e,t,n,o,0)}var s=1,u=0;for(this[t]=e&255;++u<n&&(s*=256);)this[t+u]=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;S(this,e,t,n,o,0)}var s=n-1,u=1;for(this[t+s]=e&255;--s>=0&&(u*=256);)this[t+s]=e/u&255;return t+n};c.prototype.writeUint8=c.prototype.writeUInt8=function(e,t,n){return e=+e,t=t>>>0,n||S(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||S(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||S(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||S(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||S(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);S(this,e,t,n,o-1,-o)}var s=0,u=1,m=0;for(this[t]=e&255;++s<n&&(u*=256);)e<0&&m===0&&this[t+s-1]!==0&&(m=1),this[t+s]=(e/u>>0)-m&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);S(this,e,t,n,o-1,-o)}var s=n-1,u=1,m=0;for(this[t+s]=e&255;--s>=0&&(u*=256);)e<0&&m===0&&this[t+s+1]!==0&&(m=1),this[t+s]=(e/u>>0)-m&255;return t+n};c.prototype.writeInt8=function(e,t,n){return e=+e,t=t>>>0,n||S(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||S(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||S(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||S(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||S(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 gr(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 fr(r,e,t,n,i){return e=+e,t=t>>>0,i||gr(r,e,t,4,34028234663852886e22,-34028234663852886e22),Y.write(r,e,t,n,23,4),t+4}c.prototype.writeFloatLE=function(e,t,n){return fr(this,e,t,!0,n)};c.prototype.writeFloatBE=function(e,t,n){return fr(this,e,t,!1,n)};function hr(r,e,t,n,i){return e=+e,t=t>>>0,i||gr(r,e,t,8,17976931348623157e292,-17976931348623157e292),Y.write(r,e,t,n,52,8),t+8}c.prototype.writeDoubleLE=function(e,t,n){return hr(this,e,t,!0,n)};c.prototype.writeDoubleBE=function(e,t,n){return hr(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 u=c.isBuffer(e)?e:c.from(e,i),m=u.length;if(m===0)throw new TypeError('The value "'+e+'" is invalid for argument "value"');for(s=0;s<n-t;++s)this[s+t]=u[s%m]}return this};var Xt=/[^+/0-9A-Za-z-_]/g;function Yt(r){if(r=r.split("=")[0],r=r.trim().replace(Xt,""),r.length<2)return"";for(;r.length%4!==0;)r=r+"=";return r}function Ne(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 Zt(r){for(var e=[],t=0;t<r.length;++t)e.push(r.charCodeAt(t)&255);return e}function Jt(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 Tr(r){return ke.toByteArray(Yt(r))}function ge(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 D(r,e){return r instanceof e||r!=null&&r.constructor!=null&&r.constructor.name!=null&&r.constructor.name===e.name}function Re(r){return r!==r}var Qt=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 Sr=pe((Nn,vr)=>{a();var x=vr.exports={},C,F;function Le(){throw new Error("setTimeout has not been defined")}function De(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?C=setTimeout:C=Le}catch(r){C=Le}try{typeof clearTimeout=="function"?F=clearTimeout:F=De}catch(r){F=De}})();function xr(r){if(C===setTimeout)return setTimeout(r,0);if((C===Le||!C)&&setTimeout)return C=setTimeout,setTimeout(r,0);try{return C(r,0)}catch(e){try{return C.call(null,r,0)}catch(t){return C.call(this,r,0)}}}function en(r){if(F===clearTimeout)return clearTimeout(r);if((F===De||!F)&&clearTimeout)return F=clearTimeout,clearTimeout(r);try{return F(r)}catch(e){try{return F.call(null,r)}catch(t){return F.call(this,r)}}}var P=[],J=!1,j,fe=-1;function rn(){!J||!j||(J=!1,j.length?P=j.concat(P):fe=-1,P.length&&br())}function br(){if(!J){var r=xr(rn);J=!0;for(var e=P.length;e;){for(j=P,P=[];++fe<e;)j&&j[fe].run();fe=-1,e=P.length}j=null,J=!1,en(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];P.push(new wr(r,e)),P.length===1&&!J&&xr(br)};function wr(r,e){this.fun=r,this.array=e}wr.prototype.run=function(){this.fun.apply(null,this.array)};x.title="browser";x.browser=!0;x.env={};x.argv=[];x.version="";x.versions={};function M(){}x.on=M;x.addListener=M;x.once=M;x.off=M;x.removeListener=M;x.removeAllListeners=M;x.emit=M;x.prependListener=M;x.prependOnceListener=M;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,En,a=wt(()=>{l=R(yr()),p=R(Sr()),En=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 vn={};vt(vn,{ACTIONS_WITH_EGLD_VALUE:()=>Xe,ACTIONS_WITH_MANDATORY_OPERATIONS:()=>Ke,ACTIONS_WITH_VALUE_IN_ACTION_FIELD:()=>Ze,ACTIONS_WITH_VALUE_IN_DATA_FIELD:()=>Ye,explorerUrlBuilder:()=>_,getExplorerLink:()=>K,getHumanReadableTimeFormat:()=>mn,getInterpretedTransaction:()=>wn,getOperationsMessages:()=>gn,getReceiptMessage:()=>hn,getTransactionMethod:()=>Ve,getTransactionReceiver:()=>se,getTransactionReceiverAssets:()=>Ge,getTransactionTokens:()=>ae,getTransactionTransferType:()=>$e,getTransactionValue:()=>bn});module.exports=St(vn);a();a();a();var oe=require("@multiversx/sdk-core");a();a();a();a();a();a();var tn=require("@multiversx/sdk-web-wallet-cross-window-provider/out/CrossWindowProvider/CrossWindowProvider"),Q=require("@multiversx/sdk-web-wallet-cross-window-provider/out/enums");var kr=(t=>(t.signTransactionsWithGuardianResponse="SIGN_TRANSACTIONS_WITH_GUARDIAN_RESPONSE",t.reloginRequest="RELOGIN_REQUEST",t))(kr||{}),Cn=E(E({},Q.WindowProviderRequestEnums),kr),Ar=(e=>(e.reloginResponse="RELOGIN_RESPONSE",e))(Ar||{}),Fn=E(E({},Q.WindowProviderResponseEnums),Ar);a();a();a();var Ce=(n=>(n.nft="nft",n.esdt="esdt",n.egld="egld",n))(Ce||{});a();a();a();a();var Ir=require("@multiversx/sdk-core");function nn(r){try{let e=new Ir.Address(r);return Boolean(e.bech32())}catch(e){return!1}}function he(r){return(r==null?void 0:r.length)===62&&/^\w+$/.test(r)&&nn(r)}a();function Fe(r){try{let e=atob(r),t=btoa(e),n=l.Buffer.from(r,"base64").toString(),i=l.Buffer.from(n).toString("base64"),o=r===t||t.startsWith(r),s=r===i||i.startsWith(r);if(o&&s)return!0}catch(e){return!1}return!1}function Nr(r){return Fe(r)?atob(r):r}var on=["ESDTNFTTransfer","ESDTNFTBurn","ESDTNFTAddQuantity","ESDTNFTCreate","MultiESDTNFTTransfer","ESDTTransfer","ESDTBurn","ESDTLocalMint","ESDTLocalBurn","ESDTWipe","ESDTFreeze"];function Er(r,e,t=""){if(!he(r))return!1;if(new oe.Address(r).isContractAddress())return!0;let o=ln({receiver:r,data:t});return o?new oe.Address(o).isContractAddress()||cn(r,e,t):!1}var an=r=>r.toLowerCase().match(/[0-9a-f]/g),sn=r=>r.length%2===0;function cn(r,e,t){let n=t==null?void 0:t.split("@");if(n==null)return!1;let[i,...o]=n,s=e!=null&&r!=null&&r===e,u=on.includes(i),m=o.every(g=>an(g)&&sn(g));return s&&u&&m}function ln({receiver:r,data:e}){try{if(!e)return r;let t=Fe(e)?oe.TransactionPayload.fromEncoded(e).toString():e,n=un(t),i=t.split("@");return n>-1?i[n]:r}catch(t){console.log(t);return}}function un(r){return r.includes("MultiESDTNFTTransfer")?1:r.includes("ESDTNFTTransfer")?4:-1}a();var Be=require("@multiversx/sdk-core"),Te=R(require("bignumber.js"));a();a();function _r(r){for(let e=0;e<r.length;e++)if(r.charCodeAt(e)>127)return!1;return!0}function Rr(r){let e=r;try{let t=l.Buffer.from(r,"hex").toString();_r(t)&&t.length>1&&(e=t)}catch(t){}return e}var Oe={tokenId:"",amount:""},Lr=r=>r.split("@").map((o,s)=>[2,3].includes(s)?o:Rr(o));function Dr(r){if(!r)return Oe;let e=r.startsWith("ESDTTransfer"),t=r.startsWith("ESDTNFTTransfer")&&r.includes("@"),n=r.startsWith("ESDTNFTBurn")&&r.includes("@");if(e){let[,i,o]=r.split("@");try{let s=l.Buffer.from(i,"hex").toString("ascii");if(!s)return Oe;let u=new Te.default("0x"+o.replace("0x","")).toString(10);return{tokenId:s,amount:u}}catch(s){console.error("Error getting token from transaction data",s)}}if(t)try{let[,i,o,s,u]=Lr(r);if([i,o,s,u].every(m=>Boolean(m))&&he(new Be.Address(u).bech32()))return{tokenId:`${i}-${o}`,amount:new Te.default(s,16).toString(10),collection:i,nonce:o,receiver:new Be.Address(u).bech32()}}catch(i){}if(n)try{let[,i,o,s]=Lr(r);if([i,o,s].every(u=>Boolean(u)))return{tokenId:`${i}-${o}`,amount:new Te.default(s,16).toString(10),collection:i,nonce:o}}catch(i){}return Oe}a();a();a();var V="accounts";var Cr="blocks",Fr="code",Or="collections";var Br="contracts";var Ur="identities";var Pr="locked-accounts",Mr="logs",Gr="miniblocks";var Ue="nfts",Vr="nodes",Pe="providers",$r="roles",Me="sc-results";var ee="tokens";var z="transactions";var _={shard:r=>`/${Cr}?shard=${r}`,receiverShard:r=>`/${z}?receivershard=${r}`,senderShard:r=>`/${z}?sendershard=${r}`,transactionDetails:r=>`/${z}/${r}`,transactionDetailsScResults:r=>`/${z}/${r}/${Me}`,transactionDetailsLogs:r=>`/${z}/${r}/${Mr}`,nodeDetails:r=>`/${Vr}/${r}`,accountDetails:r=>`/${V}/${r}`,accountDetailsContractCode:r=>`/${V}/${r}/${Fr}`,accountDetailsTokens:r=>`/${V}/${r}/${ee}`,accountDetailsNfts:r=>`/${V}/${r}/${Ue}`,accountDetailsScResults:r=>`/${V}/${r}/${Me}`,accountDetailsContracts:r=>`/${V}/${r}/${Br}`,identityDetails:r=>`/${Ur}/${r}`,tokenDetails:r=>`/${ee}/${r}`,tokenDetailsAccounts:r=>`/${ee}/${r}/${V}`,tokenDetailsLockedAccounts:r=>`/${ee}/${r}/${Pr}`,tokenDetailsRoles:r=>`/${ee}/${r}/${$r}`,collectionDetails:r=>`/${Or}/${r}`,nftDetails:r=>`/${Ue}/${r}`,providerDetails:r=>`/${Pe}/${r}`,providerDetailsTransactions:r=>`/${Pe}/${r}/${z}`,miniblockDetails:r=>`/${Gr}/${r}`};a();var ae=r=>{var e,t,n,i;if(r.action){let o=[(e=r.action.arguments)==null?void 0:e.token,(t=r.action.arguments)==null?void 0:t.token1,(n=r.action.arguments)==null?void 0:n.token2,(i=r.action.arguments)==null?void 0:i.transfers].filter(u=>u!=null);return[].concat(...o)}return[]};a();a();function se(r){var t,n;let e=r.receiver;return(n=(t=r.action)==null?void 0:t.arguments)!=null&&n.receiver&&(e=r.action.arguments.receiver),e}function Ge(r){let e=se(r);return r.receiver===e?r.receiverAssets:void 0}a();var Ve=r=>{var n,i,o,s,u,m;let e="Transaction";return((n=r.action)==null?void 0:n.name)&&((i=r.action)==null?void 0:i.category)&&(((o=r.action)==null?void 0:o.category)==="esdtNft"&&((s=r.action)==null?void 0:s.name)==="transfer"?e="Transaction":r.action&&(e=r.action.name),(m=(u=r.action)==null?void 0:u.arguments)!=null&&m.functionName&&(e=r.action.arguments.functionName)),e};a();var Wr=!1;function dn(r){Wr||(console.error(r),Wr=!0)}function K({explorerAddress:r,to:e}){try{return new URL(e).href}catch(t){return e.startsWith("/")||(dn(`Link not prepended by / : ${e}`),e=`/${e}`),r?`${r}${e}`:e}}a();function $e(r,e,t){let n=r===e.sender,i=r===t,o=n&&i,s=(e==null?void 0:e.type)==="SmartContractResult";switch(!0){case s:return"Internal";case o:return"Self";case i:return"In";case n:default:return"Out"}}a();function mn({value:r,noSeconds:e,utc:t,meridiem:n=!0}){let i=new Date(r*1e3),[,o]=i.toLocaleString("en-US",{hour:"numeric",hour12:n}).split(" "),s=i.toUTCString(),[,u]=s.split(","),[m,g,h,f]=u.trim().split(" "),[T,y,b]=f.split(":"),I=`:${b}`,te=`${T}:${y}${e?"":I}`,W=`${n?o:""} ${t?"UTC":""}`.trim();return`${g} ${m}, ${h} ${te} ${W}`.trim()}a();function gn(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 Jr=R(require("bignumber.js"));a();a();a();a();a();a();a();a();a();var We={devnet:{id:"devnet",chainId:"D",name:"Devnet",egldLabel:"xEGLD",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"https://maiar.page.link/?apn=com.elrond.maiar.wallet&isi=1519405832&ibi=com.elrond.maiar.wallet&link=https://xportal.com/",walletConnectBridgeAddresses:["https://bridge.walletconnect.org"],walletConnectV2RelayAddresses:["wss://relay.walletconnect.com"],walletAddress:"https://devnet-wallet.multiversx.com",xAliasAddress:"https://devnet.xalias.com",apiAddress:"https://devnet-api.multiversx.com",explorerAddress:"http://devnet-explorer.multiversx.com",metamaskSnapWalletAddress:"https://devnet-iframe-wallet.multiversx.com",apiTimeout:"4000",roundDuration:6e3},testnet:{id:"testnet",chainId:"T",name:"Testnet",egldLabel:"xEGLD",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"https://maiar.page.link/?apn=com.elrond.maiar.wallet&isi=1519405832&ibi=com.elrond.maiar.wallet&link=https://xportal.com/",walletConnectBridgeAddresses:["https://bridge.walletconnect.org"],walletConnectV2RelayAddresses:["wss://relay.walletconnect.com"],walletAddress:"https://testnet-wallet.multiversx.com",xAliasAddress:"https://testnet.xalias.com",apiAddress:"https://testnet-api.multiversx.com",explorerAddress:"http://testnet-explorer.multiversx.com",metamaskSnapWalletAddress:"https://testnet-iframe-wallet.multiversx.com",apiTimeout:"4000",roundDuration:6e3},mainnet:{id:"mainnet",chainId:"1",name:"Mainnet",egldLabel:"EGLD",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"https://maiar.page.link/?apn=com.elrond.maiar.wallet&isi=1519405832&ibi=com.elrond.maiar.wallet&link=https://xportal.com/",walletConnectBridgeAddresses:["https://bridge.walletconnect.org"],walletConnectV2RelayAddresses:["wss://relay.walletconnect.com"],walletAddress:"https://wallet.multiversx.com",xAliasAddress:"https://xalias.com",apiAddress:"https://api.multiversx.com",explorerAddress:"https://explorer.multiversx.com",metamaskSnapWalletAddress:"https://iframe-wallet.multiversx.com",apiTimeout:"4000",roundDuration:6e3}},{chainId:Hr,egldLabel:Pi}=We["devnet"],{chainId:qr,egldLabel:Mi}=We["testnet"],{chainId:jr,egldLabel:Gi}=We["mainnet"];var Vi={["devnet"]:Hr,["testnet"]:qr,["mainnet"]:jr},$i={[Hr]:"devnet",[qr]:"testnet",[jr]:"mainnet"};a();a();var O=require("@multiversx/sdk-web-wallet-provider");a();a();var He=require("@multiversx/sdk-dapp-utils/out/constants/browserConstants");var zr,Kr,qe=String((Kr=(zr=He.safeWindow)==null?void 0:zr.navigator)==null?void 0:Kr.userAgent),Ki=/^((?!chrome|android).)*safari/i.test(qe),Xi=/firefox/i.test(qe)&&/windows/i.test(qe);var v=18,re=4;var Xr="refundedGas";var ye="0";a();var Zr=require("@multiversx/sdk-core"),$=R(require("bignumber.js"));a();var Yr=R(require("bignumber.js")),je=(r,e=!0)=>{let t=String(r);if(!t.match(/^[-]?\d+$/))return!1;let n=new Yr.default(t),i=e?0:-1;return n.toString(10)===t&&n.comparedTo(0)>=i};a();function G(r){return{if:function(e){return e?{then:t=>t instanceof Function?G(t(r)):G(t)}:{then:()=>G(r)}},then:e=>e instanceof Function?G(e(r)):G(e),valueOf:function(){return r}}}$.default.config({ROUNDING_MODE:$.default.ROUND_FLOOR});function B({input:r,decimals:e=v,digits:t=re,showLastNonZeroDecimal:n=!0,showIsLessThanDecimalsLabel:i=!1,addCommas:o=!1}){if(!je(r,!1))throw new Error("Invalid input");let s=new $.default(r).isNegative(),u=r;return s&&(u=r.substring(1)),G(u).then(()=>Zr.TokenTransfer.fungibleFromBigInteger("",u,e).amountAsBigInteger.shiftedBy(-e).toFixed(e)).then(m=>{let g=new $.default(m);if(g.isZero())return ye;let h=g.toString(10),[f,T]=h.split("."),y=new $.default(T||0),b=G(0).if(Boolean(T&&n)).then(()=>Math.max(T.length,t)).if(y.isZero()&&!n).then(0).if(Boolean(T&&!n)).then(()=>Math.min(T.length,t)).valueOf(),I=T&&t>=1&&t<=T.length&&y.isGreaterThan(0)&&new $.default(T.substring(0,t)).isZero(),te=g.toFormat(b);return G(h).if(o).then(te).if(Boolean(I)).then(ne=>{let W=new $.default(f).isZero(),[N,le]=ne.split("."),ue=new Array(t-1).fill(0),dt=[...ue,0].join(""),mt=[...ue,1].join("");return W?i?`<${N}.${mt}`:n?`${N}.${le}`:N:`${N}.${dt}`}).if(Boolean(!I&&T)).then(ne=>{let[W]=ne.split("."),N=T.substring(0,b);if(n){let le=t-N.length;if(le>0){let ue=Array(le).fill(0).join("");return N=`${N}${ue}`,`${W}.${N}`}return ne}return N?`${W}.${N}`:W}).valueOf()}).if(s).then(m=>`-${m}`).valueOf()}var fn=r=>{var e,t;if(!((e=r.receipt)!=null&&e.value))return"";if(((t=r.receipt)==null?void 0:t.data)===Xr){let n=B({input:r.receipt.value,decimals:v,digits:re,showLastNonZeroDecimal:!0});return new Jr.default(n).times(r.gasPrice).times(100).toFixed()}return r.receipt.value};function hn(r){var i;let e=(i=r.receipt)==null?void 0:i.data;if(!e)return"";let t=fn(r),n=t?`: ${t}`:"";return`${e}${n}`}a();a();a();a();var xe=(n=>(n.NonFungibleESDT="NonFungibleESDT",n.SemiFungibleESDT="SemiFungibleESDT",n.MetaESDT="MetaESDT",n))(xe||{});a();a();a();a();a();var Tn=require("@multiversx/sdk-core");a();var ce=require("@multiversx/sdk-core"),xn=R(require("bignumber.js"));a();a();a();var yn=R(require("bignumber.js"));a();a();var ze={isEsdt:!1,isNft:!1,isEgld:!1};function Qr(r){let e=r==null?void 0:r.split("-").length;return e===2?X(E({},ze),{isEsdt:!0}):e===3?X(E({},ze),{isNft:!0}):X(E({},ze),{isEgld:!0})}a();a();a();a();a();a();function be({token:r,noValue:e,showLastNonZeroDecimal:t}){var g;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?B({input:r.value,decimals:r.decimals,digits:2,showLastNonZeroDecimal:t}):Number(r.value).toLocaleString("en"));let u=_.nftDetails(String(r.identifier)),m=r.ticker===r.collection&&(g=r.identifier)!=null?g:r.ticker;return{badgeText:o,tokenFormattedAmount:n?s:null,tokenExplorerLink:u,tokenLinkText:m,token:r,noValue:e,showLastNonZeroDecimal:t}}a();function we({token:r,noValue:e,showLastNonZeroDecimal:t}){var u;let n=Boolean(!e&&r.value),i=n?B({input:r.value,decimals:(u=r.decimals)!=null?u:v,digits:2,showLastNonZeroDecimal:t,addCommas:!0}):null,o=_.tokenDetails(String(r.token)),s=r.ticker;return{tokenExplorerLink:o,tokenFormattedAmount:i,showFormattedAmount:n,tokenLinkText:s,token:r,showLastNonZeroDecimal:t}}a();var Ke=["reDelegateRewards","claimRewards","unBond"],Xe=["wrapEgld","unwrapEgld"],Ye=["unStake"],Ze=["unDelegate"];a();a();var et=r=>{let e=r.map(n=>{let{isNft:i}=Qr(n.type);if(i){let{badgeText:h,tokenFormattedAmount:f,tokenLinkText:T}=be({token:n});return`${h!=null?`(${h}) `:""}${f} ${T}`}let{tokenFormattedAmount:o,tokenLinkText:s,token:u}=we({token:n}),m=u.collection?u.identifier:u.token;return`${o} ${s} (${m})`});return decodeURI(e.join("%0A"))};a();var A=r=>({egldValueData:{value:r,formattedValue:B({input:r}),decimals:v}});a();var tt=R(require("bignumber.js"));a();a();a();var rt=!1;function nt(r){var e;try{let n=Nr(r.data).replace(`${(e=r.action)==null?void 0:e.name}@`,""),i=new tt.default(n,16);if(!i.isNaN())return A(i.toString(10))}catch(t){rt||(console.error(`Unable to extract value for txHash: ${r.txHash}`),rt=!0)}return A(r.value)}a();a();var it=r=>{var t,n;return(n=(t=r==null?void 0:r.operations)==null?void 0:t.filter(i=>Object.values(Ce).includes(i.type)))!=null?n:[]};var ot=!1,at=r=>{ot||(console.error(`Operations field missing for txHash: ${r}.
2
- Unable to compute value field.`),ot=!0)};function st(r){try{if(r.operations){let[e]=it(r);return A(e==null?void 0:e.value)}else at(r.txHash)}catch(e){at(r.txHash)}return A(r.value)}a();var lt=R(require("bignumber.js"));var ct=!1;function ut(r){var t,n,i,o,s;return new lt.default((n=(t=r.action)==null?void 0:t.arguments)==null?void 0:n.value).isNaN()?(ct||(console.error(`Unable to interpret ${(s=r.action)==null?void 0:s.name} data for txHash: ${r.txHash}`),ct=!0),A(r.value)):A((o=(i=r.action)==null?void 0:i.arguments)==null?void 0:o.value)}var bn=({transaction:r,hideMultipleBadge:e})=>{var t;if(r.action){if(Xe.includes(r.action.name))return A(r.value);if(Ye.includes(r.action.name))return nt(r);if(Ke.includes(r.action.name))return st(r);if(Ze.includes(r.action.name))return ut(r);let n=ae(r);if(n.length){let i=n[0],o=Object.values(xe).includes(i.type),u=!e&&n.length>1?et(n):"";if(o){let{badgeText:y,tokenFormattedAmount:b,tokenExplorerLink:I,tokenLinkText:te}=be({token:i});return{nftValueData:{badgeText:y,tokenFormattedAmount:b,tokenExplorerLink:I,tokenLinkText:te,transactionTokens:n,token:i,value:b!=null?i.value:null,decimals:b!=null?i.decimals:null,titleText:u}}}let{tokenExplorerLink:m,showFormattedAmount:g,tokenFormattedAmount:h,tokenLinkText:f,token:T}=we({token:i});return{tokenValueData:{tokenExplorerLink:m,showFormattedAmount:g,tokenFormattedAmount:h,tokenLinkText:f,transactionTokens:n,token:T,value:i.value,decimals:(t=i.decimals)!=null?t:v,titleText:u}}}}return A(r.value)};function wn({transaction:r,address:e,explorerAddress:t}){var I;let n=(I=r.tokenIdentifier)!=null?I:Dr(r.data).tokenId,i=se(r),o=Ge(r),s=$e(e,r,i),u=Ve(r),m=ae(r),g=K({explorerAddress:t,to:_.accountDetails(r.sender)}),h=K({explorerAddress:t,to:_.accountDetails(i)}),f=K({explorerAddress:t,to:_.senderShard(r.senderShard)}),T=K({explorerAddress:t,to:_.receiverShard(r.receiverShard)}),y=r.originalTxHash?`${r.originalTxHash}#${r.txHash}`:r.txHash,b=K({explorerAddress:t,to:_.transactionDetails(y)});return X(E({},r),{tokenIdentifier:n,receiver:i,receiverAssets:o,transactionDetails:{direction:s,method:u,transactionTokens:m,isContract:Er(r.sender)},links:{senderLink:g,receiverLink:h,senderShardLink:f,receiverShardLink:T,transactionLink:b}})}0&&(module.exports={ACTIONS_WITH_EGLD_VALUE,ACTIONS_WITH_MANDATORY_OPERATIONS,ACTIONS_WITH_VALUE_IN_ACTION_FIELD,ACTIONS_WITH_VALUE_IN_DATA_FIELD,explorerUrlBuilder,getExplorerLink,getHumanReadableTimeFormat,getInterpretedTransaction,getOperationsMessages,getReceiptMessage,getTransactionMethod,getTransactionReceiver,getTransactionReceiverAssets,getTransactionTokens,getTransactionTransferType,getTransactionValue});
1
+ "use strict";var gt=Object.create;var ie=Object.defineProperty,ft=Object.defineProperties,ht=Object.getOwnPropertyDescriptor,Tt=Object.getOwnPropertyDescriptors,yt=Object.getOwnPropertyNames,Je=Object.getOwnPropertySymbols,xt=Object.getPrototypeOf,er=Object.prototype.hasOwnProperty,bt=Object.prototype.propertyIsEnumerable;var Qe=(r,e,t)=>e in r?ie(r,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):r[e]=t,E=(r,e)=>{for(var t in e||(e={}))er.call(e,t)&&Qe(r,t,e[t]);if(Je)for(var t of Je(e))bt.call(e,t)&&Qe(r,t,e[t]);return r},X=(r,e)=>ft(r,Tt(e));var wt=(r,e)=>()=>(r&&(e=r(r=0)),e);var pe=(r,e)=>()=>(e||r((e={exports:{}}).exports,e),e.exports),vt=(r,e)=>{for(var t in e)ie(r,t,{get:e[t],enumerable:!0})},rr=(r,e,t,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of yt(e))!er.call(r,i)&&i!==t&&ie(r,i,{get:()=>e[i],enumerable:!(n=ht(e,i))||n.enumerable});return r};var R=(r,e,t)=>(t=r!=null?gt(xt(r)):{},rr(e||!r||!r.__esModule?ie(t,"default",{value:r,enumerable:!0}):t,r)),St=r=>rr(ie({},"__esModule",{value:!0}),r);var ir=pe(de=>{"use strict";a();de.byteLength=At;de.toByteArray=Nt;de.fromByteArray=Rt;var D=[],k=[],kt=typeof Uint8Array!="undefined"?Uint8Array:Array,ve="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(H=0,tr=ve.length;H<tr;++H)D[H]=ve[H],k[ve.charCodeAt(H)]=H;var H,tr;k["-".charCodeAt(0)]=62;k["_".charCodeAt(0)]=63;function nr(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 At(r){var e=nr(r),t=e[0],n=e[1];return(t+n)*3/4-n}function It(r,e,t){return(e+t)*3/4-t}function Nt(r){var e,t=nr(r),n=t[0],i=t[1],o=new kt(It(r,n,i)),s=0,u=i>0?n-4:n,m;for(m=0;m<u;m+=4)e=k[r.charCodeAt(m)]<<18|k[r.charCodeAt(m+1)]<<12|k[r.charCodeAt(m+2)]<<6|k[r.charCodeAt(m+3)],o[s++]=e>>16&255,o[s++]=e>>8&255,o[s++]=e&255;return i===2&&(e=k[r.charCodeAt(m)]<<2|k[r.charCodeAt(m+1)]>>4,o[s++]=e&255),i===1&&(e=k[r.charCodeAt(m)]<<10|k[r.charCodeAt(m+1)]<<4|k[r.charCodeAt(m+2)]>>2,o[s++]=e>>8&255,o[s++]=e&255),o}function Et(r){return D[r>>18&63]+D[r>>12&63]+D[r>>6&63]+D[r&63]}function _t(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(Et(n));return i.join("")}function Rt(r){for(var e,t=r.length,n=t%3,i=[],o=16383,s=0,u=t-n;s<u;s+=o)i.push(_t(r,s,s+o>u?u:s+o));return n===1?(e=r[t-1],i.push(D[e>>2]+D[e<<4&63]+"==")):n===2&&(e=(r[t-2]<<8)+r[t-1],i.push(D[e>>10]+D[e>>4&63]+D[e<<2&63]+"=")),i.join("")}});var or=pe(Se=>{a();Se.read=function(r,e,t,n,i){var o,s,u=i*8-n-1,m=(1<<u)-1,g=m>>1,h=-7,f=t?i-1:0,T=t?-1:1,y=r[e+f];for(f+=T,o=y&(1<<-h)-1,y>>=-h,h+=u;h>0;o=o*256+r[e+f],f+=T,h-=8);for(s=o&(1<<-h)-1,o>>=-h,h+=n;h>0;s=s*256+r[e+f],f+=T,h-=8);if(o===0)o=1-g;else{if(o===m)return s?NaN:(y?-1:1)*(1/0);s=s+Math.pow(2,n),o=o-g}return(y?-1:1)*s*Math.pow(2,o-n)};Se.write=function(r,e,t,n,i,o){var s,u,m,g=o*8-i-1,h=(1<<g)-1,f=h>>1,T=i===23?Math.pow(2,-24)-Math.pow(2,-77):0,y=n?0:o-1,b=n?1:-1,I=e<0||e===0&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(u=isNaN(e)?1:0,s=h):(s=Math.floor(Math.log(e)/Math.LN2),e*(m=Math.pow(2,-s))<1&&(s--,m*=2),s+f>=1?e+=T/m:e+=T*Math.pow(2,1-f),e*m>=2&&(s++,m/=2),s+f>=h?(u=0,s=h):s+f>=1?(u=(e*m-1)*Math.pow(2,i),s=s+f):(u=e*Math.pow(2,f-1)*Math.pow(2,i),s=0));i>=8;r[t+y]=u&255,y+=b,u/=256,i-=8);for(s=s<<i|u,g+=i;g>0;r[t+y]=s&255,y+=b,s/=256,g-=8);r[t+y-b]|=I*128}});var yr=pe(Z=>{"use strict";a();var ke=ir(),Y=or(),ar=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;Z.Buffer=c;Z.SlowBuffer=Bt;Z.INSPECT_MAX_BYTES=50;var me=2147483647;Z.kMaxLength=me;c.TYPED_ARRAY_SUPPORT=Dt();!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 Dt(){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 U(r){if(r>me)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 Ee(r)}return lr(r,e,t)}c.poolSize=8192;function lr(r,e,t){if(typeof r=="string")return Ct(r,e);if(ArrayBuffer.isView(r))return Ft(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(L(r,ArrayBuffer)||r&&L(r.buffer,ArrayBuffer)||typeof SharedArrayBuffer!="undefined"&&(L(r,SharedArrayBuffer)||r&&L(r.buffer,SharedArrayBuffer)))return Ie(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=Ot(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 lr(r,e,t)};Object.setPrototypeOf(c.prototype,Uint8Array.prototype);Object.setPrototypeOf(c,Uint8Array);function ur(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 Lt(r,e,t){return ur(r),r<=0?U(r):e!==void 0?typeof t=="string"?U(r).fill(e,t):U(r).fill(e):U(r)}c.alloc=function(r,e,t){return Lt(r,e,t)};function Ee(r){return ur(r),U(r<0?0:_e(r)|0)}c.allocUnsafe=function(r){return Ee(r)};c.allocUnsafeSlow=function(r){return Ee(r)};function Ct(r,e){if((typeof e!="string"||e==="")&&(e="utf8"),!c.isEncoding(e))throw new TypeError("Unknown encoding: "+e);var t=pr(r,e)|0,n=U(t),i=n.write(r,e);return i!==t&&(n=n.slice(0,i)),n}function Ae(r){for(var e=r.length<0?0:_e(r.length)|0,t=U(e),n=0;n<e;n+=1)t[n]=r[n]&255;return t}function Ft(r){if(L(r,Uint8Array)){var e=new Uint8Array(r);return Ie(e.buffer,e.byteOffset,e.byteLength)}return Ae(r)}function Ie(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 Ot(r){if(c.isBuffer(r)){var e=_e(r.length)|0,t=U(e);return t.length===0||r.copy(t,0,0,e),t}if(r.length!==void 0)return typeof r.length!="number"||Re(r.length)?U(0):Ae(r);if(r.type==="Buffer"&&Array.isArray(r.data))return Ae(r.data)}function _e(r){if(r>=me)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+me.toString(16)+" bytes");return r|0}function Bt(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(L(e,Uint8Array)&&(e=c.from(e,e.offset,e.byteLength)),L(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(L(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 pr(r,e){if(c.isBuffer(r))return r.length;if(ArrayBuffer.isView(r)||L(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 Ne(r).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return t*2;case"hex":return t>>>1;case"base64":return Tr(r).length;default:if(i)return n?-1:Ne(r).length;e=(""+e).toLowerCase(),i=!0}}c.byteLength=pr;function Ut(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 zt(this,e,t);case"utf8":case"utf-8":return mr(this,e,t);case"ascii":return qt(this,e,t);case"latin1":case"binary":return jt(this,e,t);case"base64":return Wt(this,e,t);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Kt(this,e,t);default:if(n)throw new TypeError("Unknown encoding: "+r);r=(r+"").toLowerCase(),n=!0}}c.prototype._isBuffer=!0;function q(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)q(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)q(this,t,t+3),q(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)q(this,t,t+7),q(this,t+1,t+6),q(this,t+2,t+5),q(this,t+3,t+4);return this};c.prototype.toString=function(){var e=this.length;return e===0?"":arguments.length===0?mr(this,0,e):Ut.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=Z.INSPECT_MAX_BYTES;return e=this.toString("hex",0,t).replace(/(.{2})/g,"$1 ").trim(),this.length>t&&(e+=" ... "),"<Buffer "+e+">"};ar&&(c.prototype[ar]=c.prototype.inspect);c.prototype.compare=function(e,t,n,i,o){if(L(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,u=n-t,m=Math.min(s,u),g=this.slice(i,o),h=e.slice(t,n),f=0;f<m;++f)if(g[f]!==h[f]){s=g[f],u=h[f];break}return s<u?-1:u<s?1:0};function dr(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,Re(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:sr(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):sr(r,[e],t,n,i);throw new TypeError("val must be string, number or Buffer")}function sr(r,e,t,n,i){var o=1,s=r.length,u=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,u/=2,t/=2}function m(y,b){return o===1?y[b]:y.readUInt16BE(b*o)}var g;if(i){var h=-1;for(g=t;g<s;g++)if(m(r,g)===m(e,h===-1?0:g-h)){if(h===-1&&(h=g),g-h+1===u)return h*o}else h!==-1&&(g-=g-h),h=-1}else for(t+u>s&&(t=s-u),g=t;g>=0;g--){for(var f=!0,T=0;T<u;T++)if(m(r,g+T)!==m(e,T)){f=!1;break}if(f)return g}return-1}c.prototype.includes=function(e,t,n){return this.indexOf(e,t,n)!==-1};c.prototype.indexOf=function(e,t,n){return dr(this,e,t,n,!0)};c.prototype.lastIndexOf=function(e,t,n){return dr(this,e,t,n,!1)};function Pt(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 u=parseInt(e.substr(s*2,2),16);if(Re(u))return s;r[t+s]=u}return s}function Mt(r,e,t,n){return ge(Ne(e,r.length-t),r,t,n)}function Gt(r,e,t,n){return ge(Zt(e),r,t,n)}function Vt(r,e,t,n){return ge(Tr(e),r,t,n)}function $t(r,e,t,n){return ge(Jt(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 Pt(this,e,t,n);case"utf8":case"utf-8":return Mt(this,e,t,n);case"ascii":case"latin1":case"binary":return Gt(this,e,t,n);case"base64":return Vt(this,e,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return $t(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 Wt(r,e,t){return e===0&&t===r.length?ke.fromByteArray(r):ke.fromByteArray(r.slice(e,t))}function mr(r,e,t){t=Math.min(r.length,t);for(var n=[],i=e;i<t;){var o=r[i],s=null,u=o>239?4:o>223?3:o>191?2:1;if(i+u<=t){var m,g,h,f;switch(u){case 1:o<128&&(s=o);break;case 2:m=r[i+1],(m&192)===128&&(f=(o&31)<<6|m&63,f>127&&(s=f));break;case 3:m=r[i+1],g=r[i+2],(m&192)===128&&(g&192)===128&&(f=(o&15)<<12|(m&63)<<6|g&63,f>2047&&(f<55296||f>57343)&&(s=f));break;case 4:m=r[i+1],g=r[i+2],h=r[i+3],(m&192)===128&&(g&192)===128&&(h&192)===128&&(f=(o&15)<<18|(m&63)<<12|(g&63)<<6|h&63,f>65535&&f<1114112&&(s=f))}}s===null?(s=65533,u=1):s>65535&&(s-=65536,n.push(s>>>10&1023|55296),s=56320|s&1023),n.push(s),i+=u}return Ht(n)}var cr=4096;function Ht(r){var e=r.length;if(e<=cr)return String.fromCharCode.apply(String,r);for(var t="",n=0;n<e;)t+=String.fromCharCode.apply(String,r.slice(n,n+=cr));return t}function qt(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 jt(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 zt(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+=Qt[r[o]];return i}function Kt(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),Y.read(this,e,!0,23,4)};c.prototype.readFloatBE=function(e,t){return e=e>>>0,t||w(e,4,this.length),Y.read(this,e,!1,23,4)};c.prototype.readDoubleLE=function(e,t){return e=e>>>0,t||w(e,8,this.length),Y.read(this,e,!0,52,8)};c.prototype.readDoubleBE=function(e,t){return e=e>>>0,t||w(e,8,this.length),Y.read(this,e,!1,52,8)};function S(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;S(this,e,t,n,o,0)}var s=1,u=0;for(this[t]=e&255;++u<n&&(s*=256);)this[t+u]=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;S(this,e,t,n,o,0)}var s=n-1,u=1;for(this[t+s]=e&255;--s>=0&&(u*=256);)this[t+s]=e/u&255;return t+n};c.prototype.writeUint8=c.prototype.writeUInt8=function(e,t,n){return e=+e,t=t>>>0,n||S(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||S(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||S(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||S(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||S(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);S(this,e,t,n,o-1,-o)}var s=0,u=1,m=0;for(this[t]=e&255;++s<n&&(u*=256);)e<0&&m===0&&this[t+s-1]!==0&&(m=1),this[t+s]=(e/u>>0)-m&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);S(this,e,t,n,o-1,-o)}var s=n-1,u=1,m=0;for(this[t+s]=e&255;--s>=0&&(u*=256);)e<0&&m===0&&this[t+s+1]!==0&&(m=1),this[t+s]=(e/u>>0)-m&255;return t+n};c.prototype.writeInt8=function(e,t,n){return e=+e,t=t>>>0,n||S(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||S(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||S(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||S(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||S(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 gr(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 fr(r,e,t,n,i){return e=+e,t=t>>>0,i||gr(r,e,t,4,34028234663852886e22,-34028234663852886e22),Y.write(r,e,t,n,23,4),t+4}c.prototype.writeFloatLE=function(e,t,n){return fr(this,e,t,!0,n)};c.prototype.writeFloatBE=function(e,t,n){return fr(this,e,t,!1,n)};function hr(r,e,t,n,i){return e=+e,t=t>>>0,i||gr(r,e,t,8,17976931348623157e292,-17976931348623157e292),Y.write(r,e,t,n,52,8),t+8}c.prototype.writeDoubleLE=function(e,t,n){return hr(this,e,t,!0,n)};c.prototype.writeDoubleBE=function(e,t,n){return hr(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 u=c.isBuffer(e)?e:c.from(e,i),m=u.length;if(m===0)throw new TypeError('The value "'+e+'" is invalid for argument "value"');for(s=0;s<n-t;++s)this[s+t]=u[s%m]}return this};var Xt=/[^+/0-9A-Za-z-_]/g;function Yt(r){if(r=r.split("=")[0],r=r.trim().replace(Xt,""),r.length<2)return"";for(;r.length%4!==0;)r=r+"=";return r}function Ne(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 Zt(r){for(var e=[],t=0;t<r.length;++t)e.push(r.charCodeAt(t)&255);return e}function Jt(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 Tr(r){return ke.toByteArray(Yt(r))}function ge(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 L(r,e){return r instanceof e||r!=null&&r.constructor!=null&&r.constructor.name!=null&&r.constructor.name===e.name}function Re(r){return r!==r}var Qt=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 Sr=pe((Nn,vr)=>{a();var x=vr.exports={},C,F;function De(){throw new Error("setTimeout has not been defined")}function Le(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?C=setTimeout:C=De}catch(r){C=De}try{typeof clearTimeout=="function"?F=clearTimeout:F=Le}catch(r){F=Le}})();function xr(r){if(C===setTimeout)return setTimeout(r,0);if((C===De||!C)&&setTimeout)return C=setTimeout,setTimeout(r,0);try{return C(r,0)}catch(e){try{return C.call(null,r,0)}catch(t){return C.call(this,r,0)}}}function en(r){if(F===clearTimeout)return clearTimeout(r);if((F===Le||!F)&&clearTimeout)return F=clearTimeout,clearTimeout(r);try{return F(r)}catch(e){try{return F.call(null,r)}catch(t){return F.call(this,r)}}}var P=[],J=!1,j,fe=-1;function rn(){!J||!j||(J=!1,j.length?P=j.concat(P):fe=-1,P.length&&br())}function br(){if(!J){var r=xr(rn);J=!0;for(var e=P.length;e;){for(j=P,P=[];++fe<e;)j&&j[fe].run();fe=-1,e=P.length}j=null,J=!1,en(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];P.push(new wr(r,e)),P.length===1&&!J&&xr(br)};function wr(r,e){this.fun=r,this.array=e}wr.prototype.run=function(){this.fun.apply(null,this.array)};x.title="browser";x.browser=!0;x.env={};x.argv=[];x.version="";x.versions={};function M(){}x.on=M;x.addListener=M;x.once=M;x.off=M;x.removeListener=M;x.removeAllListeners=M;x.emit=M;x.prependListener=M;x.prependOnceListener=M;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,En,a=wt(()=>{l=R(yr()),p=R(Sr()),En=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 vn={};vt(vn,{ACTIONS_WITH_EGLD_VALUE:()=>Xe,ACTIONS_WITH_MANDATORY_OPERATIONS:()=>Ke,ACTIONS_WITH_VALUE_IN_ACTION_FIELD:()=>Ze,ACTIONS_WITH_VALUE_IN_DATA_FIELD:()=>Ye,explorerUrlBuilder:()=>_,getExplorerLink:()=>K,getHumanReadableTimeFormat:()=>mn,getInterpretedTransaction:()=>wn,getOperationsMessages:()=>gn,getReceiptMessage:()=>hn,getTransactionMethod:()=>Ve,getTransactionReceiver:()=>se,getTransactionReceiverAssets:()=>Ge,getTransactionTokens:()=>ae,getTransactionTransferType:()=>$e,getTransactionValue:()=>bn});module.exports=St(vn);a();a();a();var oe=require("@multiversx/sdk-core");a();a();a();a();a();a();var tn=require("@multiversx/sdk-web-wallet-cross-window-provider/out/CrossWindowProvider/CrossWindowProvider"),Q=require("@multiversx/sdk-web-wallet-cross-window-provider/out/enums");var kr=(t=>(t.signTransactionsWithGuardianResponse="SIGN_TRANSACTIONS_WITH_GUARDIAN_RESPONSE",t.reloginRequest="RELOGIN_REQUEST",t))(kr||{}),Cn=E(E({},Q.WindowProviderRequestEnums),kr),Ar=(e=>(e.reloginResponse="RELOGIN_RESPONSE",e))(Ar||{}),Fn=E(E({},Q.WindowProviderResponseEnums),Ar);a();a();a();var Ce=(n=>(n.nft="nft",n.esdt="esdt",n.egld="egld",n))(Ce||{});a();a();a();a();var Ir=require("@multiversx/sdk-core");function nn(r){try{let e=new Ir.Address(r);return Boolean(e.bech32())}catch(e){return!1}}function he(r){return(r==null?void 0:r.length)===62&&/^\w+$/.test(r)&&nn(r)}a();function Fe(r){try{let e=atob(r),t=btoa(e),n=l.Buffer.from(r,"base64").toString(),i=l.Buffer.from(n).toString("base64"),o=r===t||t.startsWith(r),s=r===i||i.startsWith(r);if(o&&s)return!0}catch(e){return!1}return!1}function Nr(r){return Fe(r)?atob(r):r}var on=["ESDTNFTTransfer","ESDTNFTBurn","ESDTNFTAddQuantity","ESDTNFTCreate","MultiESDTNFTTransfer","ESDTTransfer","ESDTBurn","ESDTLocalMint","ESDTLocalBurn","ESDTWipe","ESDTFreeze"];function Er(r,e,t=""){if(!he(r))return!1;if(new oe.Address(r).isContractAddress())return!0;let o=ln({receiver:r,data:t});return o?new oe.Address(o).isContractAddress()||cn(r,e,t):!1}var an=r=>r.toLowerCase().match(/[0-9a-f]/g),sn=r=>r.length%2===0;function cn(r,e,t){let n=t==null?void 0:t.split("@");if(n==null)return!1;let[i,...o]=n,s=e!=null&&r!=null&&r===e,u=on.includes(i),m=o.every(g=>an(g)&&sn(g));return s&&u&&m}function ln({receiver:r,data:e}){try{if(!e)return r;let t=Fe(e)?oe.TransactionPayload.fromEncoded(e).toString():e,n=un(t),i=t.split("@");return n>-1?i[n]:r}catch(t){console.log(t);return}}function un(r){return r.includes("MultiESDTNFTTransfer")?1:r.includes("ESDTNFTTransfer")?4:-1}a();var Be=require("@multiversx/sdk-core"),Te=R(require("bignumber.js"));a();a();function _r(r){for(let e=0;e<r.length;e++)if(r.charCodeAt(e)>127)return!1;return!0}function Rr(r){let e=r;try{let t=l.Buffer.from(r,"hex").toString();_r(t)&&t.length>1&&(e=t)}catch(t){}return e}var Oe={tokenId:"",amount:""},Dr=r=>r.split("@").map((o,s)=>[2,3].includes(s)?o:Rr(o));function Lr(r){if(!r)return Oe;let e=r.startsWith("ESDTTransfer"),t=r.startsWith("ESDTNFTTransfer")&&r.includes("@"),n=r.startsWith("ESDTNFTBurn")&&r.includes("@");if(e){let[,i,o]=r.split("@");try{let s=l.Buffer.from(i,"hex").toString("ascii");if(!s)return Oe;let u=new Te.default("0x"+o.replace("0x","")).toString(10);return{tokenId:s,amount:u}}catch(s){console.error("Error getting token from transaction data",s)}}if(t)try{let[,i,o,s,u]=Dr(r);if([i,o,s,u].every(m=>Boolean(m))&&he(new Be.Address(u).bech32()))return{tokenId:`${i}-${o}`,amount:new Te.default(s,16).toString(10),collection:i,nonce:o,receiver:new Be.Address(u).bech32()}}catch(i){}if(n)try{let[,i,o,s]=Dr(r);if([i,o,s].every(u=>Boolean(u)))return{tokenId:`${i}-${o}`,amount:new Te.default(s,16).toString(10),collection:i,nonce:o}}catch(i){}return Oe}a();a();a();var V="accounts";var Cr="blocks",Fr="code",Or="collections";var Br="contracts";var Ur="identities";var Pr="locked-accounts",Mr="logs",Gr="miniblocks";var Ue="nfts",Vr="nodes",Pe="providers",$r="roles",Me="sc-results";var ee="tokens";var z="transactions";var _={shard:r=>`/${Cr}?shard=${r}`,receiverShard:r=>`/${z}?receivershard=${r}`,senderShard:r=>`/${z}?sendershard=${r}`,transactionDetails:r=>`/${z}/${r}`,transactionDetailsScResults:r=>`/${z}/${r}/${Me}`,transactionDetailsLogs:r=>`/${z}/${r}/${Mr}`,nodeDetails:r=>`/${Vr}/${r}`,accountDetails:r=>`/${V}/${r}`,accountDetailsContractCode:r=>`/${V}/${r}/${Fr}`,accountDetailsTokens:r=>`/${V}/${r}/${ee}`,accountDetailsNfts:r=>`/${V}/${r}/${Ue}`,accountDetailsScResults:r=>`/${V}/${r}/${Me}`,accountDetailsContracts:r=>`/${V}/${r}/${Br}`,identityDetails:r=>`/${Ur}/${r}`,tokenDetails:r=>`/${ee}/${r}`,tokenDetailsAccounts:r=>`/${ee}/${r}/${V}`,tokenDetailsLockedAccounts:r=>`/${ee}/${r}/${Pr}`,tokenDetailsRoles:r=>`/${ee}/${r}/${$r}`,collectionDetails:r=>`/${Or}/${r}`,nftDetails:r=>`/${Ue}/${r}`,providerDetails:r=>`/${Pe}/${r}`,providerDetailsTransactions:r=>`/${Pe}/${r}/${z}`,miniblockDetails:r=>`/${Gr}/${r}`};a();var ae=r=>{var e,t,n,i;if(r.action){let o=[(e=r.action.arguments)==null?void 0:e.token,(t=r.action.arguments)==null?void 0:t.token1,(n=r.action.arguments)==null?void 0:n.token2,(i=r.action.arguments)==null?void 0:i.transfers].filter(u=>u!=null);return[].concat(...o)}return[]};a();a();function se(r){var t,n;let e=r.receiver;return(n=(t=r.action)==null?void 0:t.arguments)!=null&&n.receiver&&(e=r.action.arguments.receiver),e}function Ge(r){let e=se(r);return r.receiver===e?r.receiverAssets:void 0}a();var Ve=r=>{var n,i,o,s,u,m;let e="Transaction";return((n=r.action)==null?void 0:n.name)&&((i=r.action)==null?void 0:i.category)&&(((o=r.action)==null?void 0:o.category)==="esdtNft"&&((s=r.action)==null?void 0:s.name)==="transfer"?e="Transaction":r.action&&(e=r.action.name),(m=(u=r.action)==null?void 0:u.arguments)!=null&&m.functionName&&(e=r.action.arguments.functionName)),e};a();var Wr=!1;function dn(r){Wr||(console.error(r),Wr=!0)}function K({explorerAddress:r,to:e}){try{return new URL(e).href}catch(t){return e.startsWith("/")||(dn(`Link not prepended by / : ${e}`),e=`/${e}`),r?`${r}${e}`:e}}a();function $e(r,e,t){let n=r===e.sender,i=r===t,o=n&&i,s=(e==null?void 0:e.type)==="SmartContractResult";switch(!0){case s:return"Internal";case o:return"Self";case i:return"In";case n:default:return"Out"}}a();function mn({value:r,noSeconds:e,utc:t,meridiem:n=!0}){let i=new Date(r*1e3),[,o]=i.toLocaleString("en-US",{hour:"numeric",hour12:n}).split(" "),s=i.toUTCString(),[,u]=s.split(","),[m,g,h,f]=u.trim().split(" "),[T,y,b]=f.split(":"),I=`:${b}`,te=`${T}:${y}${e?"":I}`,W=`${n?o:""} ${t?"UTC":""}`.trim();return`${g} ${m}, ${h} ${te} ${W}`.trim()}a();function gn(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 Jr=R(require("bignumber.js"));a();a();a();a();a();a();a();a();a();var We={devnet:{id:"devnet",chainId:"D",name:"Devnet",egldLabel:"xEGLD",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"https://maiar.page.link/?apn=com.elrond.maiar.wallet&isi=1519405832&ibi=com.elrond.maiar.wallet&link=https://xportal.com/",walletConnectBridgeAddresses:["https://bridge.walletconnect.org"],walletConnectV2RelayAddresses:["wss://relay.walletconnect.com"],walletAddress:"https://devnet-wallet.multiversx.com",xAliasAddress:"https://devnet.xalias.com",apiAddress:"https://devnet-api.multiversx.com",explorerAddress:"http://devnet-explorer.multiversx.com",metamaskSnapWalletAddress:"https://devnet-iframe-wallet.multiversx.com",apiTimeout:"4000",roundDuration:6e3},testnet:{id:"testnet",chainId:"T",name:"Testnet",egldLabel:"xEGLD",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"https://maiar.page.link/?apn=com.elrond.maiar.wallet&isi=1519405832&ibi=com.elrond.maiar.wallet&link=https://xportal.com/",walletConnectBridgeAddresses:["https://bridge.walletconnect.org"],walletConnectV2RelayAddresses:["wss://relay.walletconnect.com"],walletAddress:"https://testnet-wallet.multiversx.com",xAliasAddress:"https://testnet.xalias.com",apiAddress:"https://testnet-api.multiversx.com",explorerAddress:"http://testnet-explorer.multiversx.com",metamaskSnapWalletAddress:"https://testnet-iframe-wallet.multiversx.com",apiTimeout:"4000",roundDuration:6e3},mainnet:{id:"mainnet",chainId:"1",name:"Mainnet",egldLabel:"EGLD",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"https://maiar.page.link/?apn=com.elrond.maiar.wallet&isi=1519405832&ibi=com.elrond.maiar.wallet&link=https://xportal.com/",walletConnectBridgeAddresses:["https://bridge.walletconnect.org"],walletConnectV2RelayAddresses:["wss://relay.walletconnect.com"],walletAddress:"https://wallet.multiversx.com",xAliasAddress:"https://xalias.com",apiAddress:"https://api.multiversx.com",explorerAddress:"https://explorer.multiversx.com",metamaskSnapWalletAddress:"https://iframe-wallet.multiversx.com",apiTimeout:"4000",roundDuration:6e3}},{chainId:Hr,egldLabel:Pi}=We["devnet"],{chainId:qr,egldLabel:Mi}=We["testnet"],{chainId:jr,egldLabel:Gi}=We["mainnet"];var Vi={["devnet"]:Hr,["testnet"]:qr,["mainnet"]:jr},$i={[Hr]:"devnet",[qr]:"testnet",[jr]:"mainnet"};a();a();var O=require("@multiversx/sdk-web-wallet-provider");a();a();var He=require("@multiversx/sdk-dapp-utils/out/constants/browserConstants");var zr,Kr,qe=String((Kr=(zr=He.safeWindow)==null?void 0:zr.navigator)==null?void 0:Kr.userAgent),Ki=/^((?!chrome|android).)*safari/i.test(qe),Xi=/firefox/i.test(qe)&&/windows/i.test(qe);var v=18,re=4;var Xr="refundedGas";var ye="0";a();var Zr=require("@multiversx/sdk-core"),$=R(require("bignumber.js"));a();var Yr=R(require("bignumber.js")),je=(r,e=!0)=>{let t=String(r);if(!t.match(/^[-]?\d+$/))return!1;let n=new Yr.default(t),i=e?0:-1;return n.toString(10)===t&&n.comparedTo(0)>=i};a();function G(r){return{if:function(e){return e?{then:t=>t instanceof Function?G(t(r)):G(t)}:{then:()=>G(r)}},then:e=>e instanceof Function?G(e(r)):G(e),valueOf:function(){return r}}}$.default.config({ROUNDING_MODE:$.default.ROUND_FLOOR});function B({input:r,decimals:e=v,digits:t=re,showLastNonZeroDecimal:n=!0,showIsLessThanDecimalsLabel:i=!1,addCommas:o=!1}){if(!je(r,!1))throw new Error("Invalid input");let s=new $.default(r).isNegative(),u=r;return s&&(u=r.substring(1)),G(u).then(()=>Zr.TokenTransfer.fungibleFromBigInteger("",u,e).amountAsBigInteger.shiftedBy(-e).toFixed(e)).then(m=>{let g=new $.default(m);if(g.isZero())return ye;let h=g.toString(10),[f,T]=h.split("."),y=new $.default(T||0),b=G(0).if(Boolean(T&&n)).then(()=>Math.max(T.length,t)).if(y.isZero()&&!n).then(0).if(Boolean(T&&!n)).then(()=>Math.min(T.length,t)).valueOf(),I=T&&t>=1&&t<=T.length&&y.isGreaterThan(0)&&new $.default(T.substring(0,t)).isZero(),te=g.toFormat(b);return G(h).if(o).then(te).if(Boolean(I)).then(ne=>{let W=new $.default(f).isZero(),[N,le]=ne.split("."),ue=new Array(t-1).fill(0),dt=[...ue,0].join(""),mt=[...ue,1].join("");return W?i?`<${N}.${mt}`:n?`${N}.${le}`:N:`${N}.${dt}`}).if(Boolean(!I&&T)).then(ne=>{let[W]=ne.split("."),N=T.substring(0,b);if(n){let le=t-N.length;if(le>0){let ue=Array(le).fill(0).join("");return N=`${N}${ue}`,`${W}.${N}`}return ne}return N?`${W}.${N}`:W}).valueOf()}).if(s).then(m=>`-${m}`).valueOf()}var fn=r=>{var e,t;if(!((e=r.receipt)!=null&&e.value))return"";if(((t=r.receipt)==null?void 0:t.data)===Xr){let n=B({input:r.receipt.value,decimals:v,digits:re,showLastNonZeroDecimal:!0});return new Jr.default(n).times(r.gasPrice).times(100).toFixed()}return r.receipt.value};function hn(r){var i;let e=(i=r.receipt)==null?void 0:i.data;if(!e)return"";let t=fn(r),n=t?`: ${t}`:"";return`${e}${n}`}a();a();a();a();var xe=(n=>(n.NonFungibleESDT="NonFungibleESDT",n.SemiFungibleESDT="SemiFungibleESDT",n.MetaESDT="MetaESDT",n))(xe||{});a();a();a();a();a();var Tn=require("@multiversx/sdk-core");a();var ce=require("@multiversx/sdk-core"),xn=R(require("bignumber.js"));a();a();a();var yn=R(require("bignumber.js"));a();a();var ze={isEsdt:!1,isNft:!1,isEgld:!1};function Qr(r){let e=r==null?void 0:r.split("-").length;return e===2?X(E({},ze),{isEsdt:!0}):e===3?X(E({},ze),{isNft:!0}):X(E({},ze),{isEgld:!0})}a();a();a();a();a();a();function be({token:r,noValue:e,showLastNonZeroDecimal:t}){var g;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?B({input:r.value,decimals:r.decimals,digits:2,showLastNonZeroDecimal:t}):Number(r.value).toLocaleString("en"));let u=_.nftDetails(String(r.identifier)),m=r.ticker===r.collection&&(g=r.identifier)!=null?g:r.ticker;return{badgeText:o,tokenFormattedAmount:n?s:null,tokenExplorerLink:u,tokenLinkText:m,token:r,noValue:e,showLastNonZeroDecimal:t}}a();function we({token:r,noValue:e,showLastNonZeroDecimal:t}){var u;let n=Boolean(!e&&r.value),i=n?B({input:r.value,decimals:(u=r.decimals)!=null?u:v,digits:2,showLastNonZeroDecimal:t,addCommas:!0}):null,o=_.tokenDetails(String(r.token)),s=r.ticker;return{tokenExplorerLink:o,tokenFormattedAmount:i,showFormattedAmount:n,tokenLinkText:s,token:r,showLastNonZeroDecimal:t}}a();var Ke=["reDelegateRewards","claimRewards","unBond"],Xe=["wrapEgld","unwrapEgld"],Ye=["unStake"],Ze=["unDelegate"];a();a();var et=r=>{let e=r.map(n=>{let{isNft:i}=Qr(n.type);if(i){let{badgeText:h,tokenFormattedAmount:f,tokenLinkText:T}=be({token:n});return`${h!=null?`(${h}) `:""}${f} ${T}`}let{tokenFormattedAmount:o,tokenLinkText:s,token:u}=we({token:n}),m=u.collection?u.identifier:u.token;return`${o} ${s} (${m})`});return decodeURI(e.join("%0A"))};a();var A=r=>({egldValueData:{value:r,formattedValue:B({input:r}),decimals:v}});a();var tt=R(require("bignumber.js"));a();a();a();var rt=!1;function nt(r){var e;try{let n=Nr(r.data).replace(`${(e=r.action)==null?void 0:e.name}@`,""),i=new tt.default(n,16);if(!i.isNaN())return A(i.toString(10))}catch(t){rt||(console.error(`Unable to extract value for txHash: ${r.txHash}`),rt=!0)}return A(r.value)}a();a();var it=r=>{var t,n;return(n=(t=r==null?void 0:r.operations)==null?void 0:t.filter(i=>Object.values(Ce).includes(i.type)))!=null?n:[]};var ot=!1,at=r=>{ot||(console.error(`Operations field missing for txHash: ${r}.
2
+ Unable to compute value field.`),ot=!0)};function st(r){try{if(r.operations){let[e]=it(r);return A(e==null?void 0:e.value)}else at(r.txHash)}catch(e){at(r.txHash)}return A(r.value)}a();var lt=R(require("bignumber.js"));var ct=!1;function ut(r){var t,n,i,o,s;return new lt.default((n=(t=r.action)==null?void 0:t.arguments)==null?void 0:n.value).isNaN()?(ct||(console.error(`Unable to interpret ${(s=r.action)==null?void 0:s.name} data for txHash: ${r.txHash}`),ct=!0),A(r.value)):A((o=(i=r.action)==null?void 0:i.arguments)==null?void 0:o.value)}var bn=({transaction:r,hideMultipleBadge:e})=>{var t;if(r.action){if(Xe.includes(r.action.name))return A(r.value);if(Ye.includes(r.action.name))return nt(r);if(Ke.includes(r.action.name))return st(r);if(Ze.includes(r.action.name))return ut(r);let n=ae(r);if(n.length){let i=n[0],o=Object.values(xe).includes(i.type),u=!e&&n.length>1?et(n):"";if(o){let{badgeText:y,tokenFormattedAmount:b,tokenExplorerLink:I,tokenLinkText:te}=be({token:i});return{nftValueData:{badgeText:y,tokenFormattedAmount:b,tokenExplorerLink:I,tokenLinkText:te,transactionTokens:n,token:i,value:b!=null?i.value:null,decimals:b!=null?i.decimals:null,titleText:u}}}let{tokenExplorerLink:m,showFormattedAmount:g,tokenFormattedAmount:h,tokenLinkText:f,token:T}=we({token:i});return{tokenValueData:{tokenExplorerLink:m,showFormattedAmount:g,tokenFormattedAmount:h,tokenLinkText:f,transactionTokens:n,token:T,value:i.value,decimals:(t=i.decimals)!=null?t:v,titleText:u}}}}return A(r.value)};function wn({transaction:r,address:e,explorerAddress:t}){var I;let n=(I=r.tokenIdentifier)!=null?I:Lr(r.data).tokenId,i=se(r),o=Ge(r),s=$e(e,r,i),u=Ve(r),m=ae(r),g=K({explorerAddress:t,to:_.accountDetails(r.sender)}),h=K({explorerAddress:t,to:_.accountDetails(i)}),f=K({explorerAddress:t,to:_.senderShard(r.senderShard)}),T=K({explorerAddress:t,to:_.receiverShard(r.receiverShard)}),y=r.originalTxHash?`${r.originalTxHash}#${r.txHash}`:r.txHash,b=K({explorerAddress:t,to:_.transactionDetails(y)});return X(E({},r),{tokenIdentifier:n,receiver:i,receiverAssets:o,transactionDetails:{direction:s,method:u,transactionTokens:m,isContract:Er(r.sender)},links:{senderLink:g,receiverLink:h,senderShardLink:f,receiverShardLink:T,transactionLink:b}})}0&&(module.exports={ACTIONS_WITH_EGLD_VALUE,ACTIONS_WITH_MANDATORY_OPERATIONS,ACTIONS_WITH_VALUE_IN_ACTION_FIELD,ACTIONS_WITH_VALUE_IN_DATA_FIELD,explorerUrlBuilder,getExplorerLink,getHumanReadableTimeFormat,getInterpretedTransaction,getOperationsMessages,getReceiptMessage,getTransactionMethod,getTransactionReceiver,getTransactionReceiverAssets,getTransactionTokens,getTransactionTransferType,getTransactionValue});
3
3
  /*!
4
4
  * The buffer module from node.js, for the browser.
5
5
  *