@multiversx/sdk-dapp 2.10.16 → 2.10.17
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.
- package/README.md +3 -3
- package/UI/DappModal/hooks/index.js +1 -1
- package/UI/DappModal/hooks/useDappModal.js +1 -1
- package/UI/DappModal/index.js +1 -1
- package/UI/Denominate/index.js +1 -1
- package/UI/ExplorerLink/ExplorerLink.js +1 -1
- package/UI/ExplorerLink/index.js +1 -1
- package/UI/FormatAmount/FormatAmount.js +1 -1
- package/UI/FormatAmount/index.js +1 -1
- package/UI/ModalContainer/ModalContainer.js +1 -1
- package/UI/ModalContainer/index.js +1 -1
- package/UI/NotificationModal/NotificationModal.js +1 -1
- package/UI/NotificationModal/index.js +1 -1
- package/UI/SignTransactionsModals/SignTransactionsModals.js +1 -1
- package/UI/SignTransactionsModals/SignWithDeviceModal/SignStep.js +1 -1
- package/UI/SignTransactionsModals/SignWithDeviceModal/SignWithDeviceModal.js +1 -1
- package/UI/SignTransactionsModals/SignWithDeviceModal/index.js +1 -1
- package/UI/SignTransactionsModals/SignWithExtensionModal/index.js +1 -1
- package/UI/SignTransactionsModals/SignWithExtraModal/SignWithExtraModal.js +1 -1
- package/UI/SignTransactionsModals/SignWithExtraModal/index.js +1 -1
- package/UI/SignTransactionsModals/SignWithLedgerModal/SignWithLedgerModal.js +1 -1
- package/UI/SignTransactionsModals/SignWithLedgerModal/index.js +1 -1
- package/UI/SignTransactionsModals/SignWithOperaModal/SignWithOperaModal.js +1 -1
- package/UI/SignTransactionsModals/SignWithOperaModal/index.js +1 -1
- package/UI/SignTransactionsModals/SignWithWalletConnectModal/index.js +1 -1
- package/UI/SignTransactionsModals/components/ConfirmationScreen.js +1 -1
- package/UI/SignTransactionsModals/components/DeviceConfirmationScreen.js +1 -1
- package/UI/SignTransactionsModals/components/TransactionStatusToast.js +1 -1
- package/UI/SignTransactionsModals/components/index.js +1 -1
- package/UI/SignTransactionsModals/index.js +1 -1
- package/UI/TokenDetails/index.js +1 -1
- package/UI/TransactionData/index.js +1 -1
- package/UI/TransactionDetails/TransactionDetails.js +1 -1
- package/UI/TransactionDetails/components/TransactionDetailsBody.js +1 -1
- package/UI/TransactionDetails/components/index.js +1 -1
- package/UI/TransactionDetails/index.js +1 -1
- package/UI/TransactionInfo/TransactionInfo.js +1 -1
- package/UI/TransactionInfo/components/AddressDetailItem/AddressDetailitem.js +1 -1
- package/UI/TransactionInfo/components/AddressDetailItem/index.js +1 -1
- package/UI/TransactionInfo/components/DataDecode/DataDecode.js +1 -1
- package/UI/TransactionInfo/components/DataDecode/index.js +1 -1
- package/UI/TransactionInfo/components/DataField/DataField.js +1 -1
- package/UI/TransactionInfo/components/DataField/index.js +1 -1
- package/UI/TransactionInfo/components/EventsList/EventsList.js +1 -1
- package/UI/TransactionInfo/components/EventsList/index.js +1 -1
- package/UI/TransactionInfo/components/NonceMessage/NonceMessage.js +1 -1
- package/UI/TransactionInfo/components/NonceMessage/index.js +1 -1
- package/UI/TransactionInfo/components/OperationsList/OperationList.js +1 -1
- package/UI/TransactionInfo/components/OperationsList/components/DetailedItem.js +1 -1
- package/UI/TransactionInfo/components/OperationsList/components/OperationBlock.js +1 -1
- package/UI/TransactionInfo/components/OperationsList/components/OperationRow.js +1 -1
- package/UI/TransactionInfo/components/OperationsList/components/OperationText.js +1 -1
- package/UI/TransactionInfo/components/OperationsList/components/OperationToken.js +1 -1
- package/UI/TransactionInfo/components/OperationsList/components/index.js +1 -1
- package/UI/TransactionInfo/components/OperationsList/index.js +1 -1
- package/UI/TransactionInfo/components/ScResultsList/ScResultsList.js +1 -1
- package/UI/TransactionInfo/components/ScResultsList/components/ResultData/ResultData.js +1 -1
- package/UI/TransactionInfo/components/ScResultsList/components/ResultData/index.js +1 -1
- package/UI/TransactionInfo/components/ScResultsList/components/ResultHash/ResultHash.js +1 -1
- package/UI/TransactionInfo/components/ScResultsList/components/ResultHash/index.js +1 -1
- package/UI/TransactionInfo/components/ScResultsList/components/ResultReceiver/ResultReceiver.js +1 -1
- package/UI/TransactionInfo/components/ScResultsList/components/ResultReceiver/index.js +1 -1
- package/UI/TransactionInfo/components/ScResultsList/components/ResultSender/ResultSender.js +1 -1
- package/UI/TransactionInfo/components/ScResultsList/components/ResultSender/index.js +1 -1
- package/UI/TransactionInfo/components/ScResultsList/index.js +1 -1
- package/UI/TransactionInfo/components/ScrDetailItem/ScrDetailItem.js +1 -1
- package/UI/TransactionInfo/components/ScrDetailItem/index.js +1 -1
- package/UI/TransactionInfo/components/TransactionAction/TransactionAction.js +1 -1
- package/UI/TransactionInfo/components/TransactionAction/components/ActionText/index.js +1 -1
- package/UI/TransactionInfo/components/TransactionAction/components/ActionToken.js +1 -1
- package/UI/TransactionInfo/components/TransactionAction/components/TransactionActionBlock/components/TransactionActionCollection.js +1 -1
- package/UI/TransactionInfo/components/TransactionAction/components/TransactionActionBlock/components/TransactionActionNft.js +1 -1
- package/UI/TransactionInfo/components/TransactionAction/components/TransactionActionBlock/components/TransactionActionToken.js +1 -1
- package/UI/TransactionInfo/components/TransactionAction/components/TransactionActionBlock/components/index.js +1 -1
- package/UI/TransactionInfo/components/TransactionAction/components/TransactionActionBlock/index.js +1 -1
- package/UI/TransactionInfo/components/TransactionAction/components/index.js +1 -1
- package/UI/TransactionInfo/components/TransactionAction/index.js +1 -1
- package/UI/TransactionInfo/components/TransactionLogs/TransactionLogs.js +1 -1
- package/UI/TransactionInfo/components/TransactionLogs/index.js +1 -1
- package/UI/TransactionInfo/components/TransactionStatus/TransactionStatus.js +1 -1
- package/UI/TransactionInfo/components/TransactionStatus/index.js +1 -1
- package/UI/TransactionInfo/components/index.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoAge/TransactionInfoAge.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoAge/index.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoEgldPrice/TransactionInfoEgldPrice.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoEgldPrice/index.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoFee/TransactionInfoFee.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoFee/index.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoFrom/TransactionInfoFrom.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoFrom/index.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoGasLimit/TransactionInfoGasLimit.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoGasLimit/index.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoGasPrice/TransactionInfoGasPrice.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoGasPrice/index.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoGasUsed/TransactionInfoGasUsed.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoGasUsed/index.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoInputData/TransactionInfoInputData.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoInputData/index.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoMethod/TransactionInfoMethod.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoMethod/index.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoMiniblock/TransactionInfoMiniblock.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoMiniblock/index.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoNonce/TransactionInfoNonce.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoNonce/index.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoScResults/TransactionInfoScResults.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoScResults/index.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoStatus/TransactionInfoStatus.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoStatus/index.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoTo/TransactionInfoTo.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoTo/index.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoTokenOperations/TransactionInfoTokenOperations.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoTokenOperations/index.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoValue/TransactionInfoValue.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoValue/index.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/index.js +1 -1
- package/UI/TransactionInfo/index.js +1 -1
- package/UI/TransactionsTable/TransactionsTable.js +1 -1
- package/UI/TransactionsTable/components/AccountName.js +1 -1
- package/UI/TransactionsTable/components/LockedTokenAddressIcon.js +1 -1
- package/UI/TransactionsTable/components/ScAddressIcon.js +1 -1
- package/UI/TransactionsTable/components/ShardSpan.js +1 -1
- package/UI/TransactionsTable/components/TransactionHash.js +1 -1
- package/UI/TransactionsTable/components/TransactionIcon.js +1 -1
- package/UI/TransactionsTable/components/TransactionReceiver.js +1 -1
- package/UI/TransactionsTable/components/TransactionRow.js +1 -1
- package/UI/TransactionsTable/components/TransactionSender.js +1 -1
- package/UI/TransactionsTable/components/TransactionShardsTransition.js +1 -1
- package/UI/TransactionsTable/components/TransactionValue/TransactionValue.js +1 -1
- package/UI/TransactionsTable/components/TransactionValue/index.js +1 -1
- package/UI/TransactionsTable/components/index.js +1 -1
- package/UI/TransactionsTable/index.js +1 -1
- package/UI/TransactionsToastList/TransactionsToastList.js +1 -1
- package/UI/TransactionsToastList/components/CustomToast/CustomToast.js +1 -1
- package/UI/TransactionsToastList/components/CustomToast/components/IconToast/IconToast.js +1 -1
- package/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/IconToastFooter.js +1 -1
- package/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/components/ComponentToastFooter.js +1 -1
- package/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/components/TransactionToastFooter.js +1 -1
- package/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/components/index.js +1 -1
- package/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/index.js +1 -1
- package/UI/TransactionsToastList/components/CustomToast/components/IconToast/index.js +1 -1
- package/UI/TransactionsToastList/components/CustomToast/components/SimpleToast.js +1 -1
- package/UI/TransactionsToastList/components/CustomToast/components/index.js +1 -1
- package/UI/TransactionsToastList/components/CustomToast/helpers/getIsTransaction.js +1 -1
- package/UI/TransactionsToastList/components/CustomToast/helpers/index.js +1 -1
- package/UI/TransactionsToastList/components/CustomToast/helpers/useMemoizedCloseButton.js +1 -1
- package/UI/TransactionsToastList/components/CustomToast/index.js +1 -1
- package/UI/TransactionsToastList/components/TransactionToast/TransactionToast.js +1 -1
- package/UI/TransactionsToastList/components/TransactionToast/components/TransactionToastContent.js +1 -1
- package/UI/TransactionsToastList/components/TransactionToast/components/index.js +1 -1
- package/UI/TransactionsToastList/components/TransactionToast/hooks/useTransactionToast.js +1 -1
- package/UI/TransactionsToastList/components/TransactionToast/index.js +1 -1
- package/UI/TransactionsToastList/components/TransactionToast/utils/getToastDataStateByStatus.js +1 -1
- package/UI/TransactionsToastList/components/TransactionToast/utils/index.js +1 -1
- package/UI/TransactionsToastList/components/TransactionToastGuard.js +1 -1
- package/UI/TransactionsToastList/components/index.js +1 -1
- package/UI/TransactionsToastList/index.js +1 -1
- package/UI/Trim/Trim.js +1 -1
- package/UI/Trim/index.js +1 -1
- package/UI/UsdValue/UsdValue.js +1 -1
- package/UI/UsdValue/index.js +1 -1
- package/UI/extension/ExtensionLoginButton/ExtensionLoginButton.js +1 -1
- package/UI/extension/ExtensionLoginButton/index.js +1 -1
- package/UI/index.js +1 -1
- package/UI/ledger/LedgerLoginButton/LedgerLoginButton.js +1 -1
- package/UI/ledger/LedgerLoginButton/index.js +1 -1
- package/UI/ledger/LedgerLoginContainer/AddressRow.js +1 -1
- package/UI/ledger/LedgerLoginContainer/AddressTable.js +1 -1
- package/UI/ledger/LedgerLoginContainer/ConfirmAddress.js +1 -1
- package/UI/ledger/LedgerLoginContainer/index.js +1 -1
- package/UI/ledger/index.js +1 -1
- package/UI/operaWallet/OperaWalletLoginButton/OperaWalletLoginButton.js +1 -1
- package/UI/operaWallet/OperaWalletLoginButton/index.js +1 -1
- package/UI/pages/UnlockPage/index.js +1 -1
- package/UI/pages/index.js +1 -1
- package/UI/walletConnect/WalletConnectConnectionStatus/WalletConnectConnectionStatus.js +1 -1
- package/UI/walletConnect/WalletConnectConnectionStatus/index.js +1 -1
- package/UI/walletConnect/WalletConnectLoginButton/WalletConnectLoginButton.js +1 -1
- package/UI/walletConnect/WalletConnectLoginButton/index.js +1 -1
- package/UI/walletConnect/WalletConnectLoginContainer/ImageWithFallback.d.ts +7 -0
- package/UI/walletConnect/WalletConnectLoginContainer/ImageWithFallback.js +2 -0
- package/UI/walletConnect/WalletConnectLoginContainer/PairingList.js +1 -1
- package/UI/walletConnect/WalletConnectLoginContainer/index.d.ts +1 -1
- package/UI/walletConnect/WalletConnectLoginContainer/index.js +1 -1
- package/UI/walletConnect/WalletConnectLoginContainer/walletConnectLoginContainerStyles.js +1 -1
- package/UI/walletConnect/index.js +1 -1
- package/UI/webWallet/WebWalletLoginButton/WebWalletLoginButton.js +1 -1
- package/UI/webWallet/WebWalletLoginButton/index.js +1 -1
- package/__chunks__/{chunk-JJDEBWPU.js → chunk-24OJ7KCF.js} +2 -2
- package/__chunks__/{chunk-LQQXP7XC.js → chunk-24SGLNBY.js} +2 -2
- package/__chunks__/{chunk-HY2CW4MA.js → chunk-2A2MCZLD.js} +2 -2
- package/__chunks__/{chunk-7X6HMTFB.js → chunk-2AOPQAPV.js} +2 -2
- package/__chunks__/{chunk-APT6TZDP.js → chunk-2DM3MLLS.js} +2 -2
- package/__chunks__/chunk-2OPNEB2K.js +2 -0
- package/__chunks__/{chunk-H6JLXN4M.js → chunk-2OXZ65MK.js} +2 -2
- package/__chunks__/{chunk-UFEQ7YFP.js → chunk-2QLPNN7L.js} +2 -2
- package/__chunks__/{chunk-NFZ3DY2N.js → chunk-2RBD4FTR.js} +2 -2
- package/__chunks__/{chunk-SLDA4IQM.js → chunk-2YMRTE7T.js} +2 -2
- package/__chunks__/{chunk-7ZYCCREG.js → chunk-2ZEUNKTP.js} +2 -2
- package/__chunks__/{chunk-5DBVU5IQ.js → chunk-353VUEUC.js} +2 -2
- package/__chunks__/{chunk-XARG24JS.js → chunk-3EMJ6VHI.js} +2 -2
- package/__chunks__/{chunk-VNSV65R6.js → chunk-3IQVAJO6.js} +2 -2
- package/__chunks__/{chunk-3GOMAM3K.js → chunk-3LKAAPJM.js} +2 -2
- package/__chunks__/{chunk-CI77PDNR.js → chunk-3P57B6U6.js} +2 -2
- package/__chunks__/{chunk-QIKAC5BP.js → chunk-3R3VZI2S.js} +2 -2
- package/__chunks__/{chunk-3DG4MWZW.js → chunk-3RUHPLHA.js} +2 -2
- package/__chunks__/{chunk-VGLU5WHV.js → chunk-3VP4LJRB.js} +2 -2
- package/__chunks__/{chunk-4HUZXJU6.js → chunk-3WQODEBZ.js} +2 -2
- package/__chunks__/{chunk-MRRKFV6I.js → chunk-42RJQAFV.js} +2 -2
- package/__chunks__/{chunk-HYGRY4QB.js → chunk-4E5ZK46H.js} +2 -2
- package/__chunks__/{chunk-DYMENMQ5.js → chunk-4EOHXDP3.js} +2 -2
- package/__chunks__/chunk-4JGOLVJN.js +2 -0
- package/__chunks__/{chunk-EG5RSUPK.js → chunk-4PR6ZJ3J.js} +2 -2
- package/__chunks__/{chunk-56AHKWRJ.js → chunk-4Z6EY67I.js} +2 -2
- package/__chunks__/{chunk-ZM6K2FFG.js → chunk-5AR4CLDY.js} +2 -2
- package/__chunks__/{chunk-RC3NVNXX.js → chunk-5BB5RBNN.js} +2 -2
- package/__chunks__/chunk-5FGVAFZ7.js +2 -0
- package/__chunks__/chunk-5GQHZUMU.js +2 -0
- package/__chunks__/{chunk-TRUEH24M.js → chunk-5NPCXYNH.js} +2 -2
- package/__chunks__/{chunk-ODGQYPUL.js → chunk-5RD6HM3T.js} +2 -2
- package/__chunks__/chunk-5TM2W72O.js +2 -0
- package/__chunks__/{chunk-4V5LOWP7.js → chunk-5V4KCOPF.js} +2 -2
- package/__chunks__/{chunk-R7ADKYKL.js → chunk-5VPXKALT.js} +2 -2
- package/__chunks__/{chunk-A3EX3PIS.js → chunk-5ZQEV7DE.js} +2 -2
- package/__chunks__/chunk-62Y4445N.js +2 -0
- package/__chunks__/{chunk-64DC4TYB.js → chunk-63THRQDH.js} +2 -2
- package/__chunks__/{chunk-A3NKEWOX.js → chunk-6I3TXZZD.js} +2 -2
- package/__chunks__/{chunk-7BL6YWLN.js → chunk-6OVH2EJQ.js} +2 -2
- package/__chunks__/{chunk-BD5HTXC3.js → chunk-6P37SHMZ.js} +2 -2
- package/__chunks__/chunk-6PHQRATN.js +2 -0
- package/__chunks__/chunk-6X5R7OB5.js +2 -0
- package/__chunks__/{chunk-PVRNLQLY.js → chunk-76XGJS7U.js} +2 -2
- package/__chunks__/{chunk-6Z56IRF4.js → chunk-7DEKJTJ2.js} +2 -2
- package/__chunks__/{chunk-D5UBDY7T.js → chunk-7DOOD73B.js} +2 -2
- package/__chunks__/{chunk-YRXXO2IW.js → chunk-7IC3HZVB.js} +2 -2
- package/__chunks__/chunk-7KK5ED2S.js +2 -0
- package/__chunks__/{chunk-O4NXR6GC.js → chunk-7P4TXZMP.js} +2 -2
- package/__chunks__/{chunk-V4QDMLWO.js → chunk-7RNOZDML.js} +2 -2
- package/__chunks__/chunk-7SGCCT6C.js +2 -0
- package/__chunks__/{chunk-I7PAWXVF.js → chunk-7VKMKSMR.js} +2 -2
- package/__chunks__/{chunk-WCGXNTPB.js → chunk-A2CO2YVF.js} +2 -2
- package/__chunks__/{chunk-VHHIARAI.js → chunk-A6VL65WE.js} +2 -2
- package/__chunks__/{chunk-T6XHPPMM.js → chunk-A7BO3UNU.js} +2 -2
- package/__chunks__/{chunk-LBHWOAGE.js → chunk-ABJ5PPND.js} +2 -2
- package/__chunks__/{chunk-EE4UODBX.js → chunk-AHUFO6JJ.js} +2 -2
- package/__chunks__/{chunk-GTDRLMGZ.js → chunk-AKXLYENO.js} +2 -2
- package/__chunks__/chunk-ASB43WOA.js +2 -0
- package/__chunks__/{chunk-HEZ55RY6.js → chunk-AUBIXMVS.js} +2 -2
- package/__chunks__/{chunk-Z4UGGLNJ.js → chunk-B5NVVMR7.js} +2 -2
- package/__chunks__/{chunk-MISABUHS.js → chunk-B6PGANAK.js} +2 -2
- package/__chunks__/{chunk-HRCH4Y24.js → chunk-BKQNVPXF.js} +2 -2
- package/__chunks__/{chunk-FTYX6AG2.js → chunk-BOGJH656.js} +2 -2
- package/__chunks__/{chunk-7TWOE75A.js → chunk-BOQAP3DC.js} +2 -2
- package/__chunks__/{chunk-NOYJLD7U.js → chunk-BS736HVP.js} +2 -2
- package/__chunks__/{chunk-CWAWFXKQ.js → chunk-BT7NJ6MX.js} +2 -2
- package/__chunks__/{chunk-XVZN357I.js → chunk-BX64MMLT.js} +2 -2
- package/__chunks__/{chunk-XJK44YBP.js → chunk-BXDGZ253.js} +2 -2
- package/__chunks__/{chunk-YBAZ4ISZ.js → chunk-BY6S6WNQ.js} +2 -2
- package/__chunks__/{chunk-MDR6T623.js → chunk-C4A6VHGL.js} +2 -2
- package/__chunks__/{chunk-72SKNNY5.js → chunk-CJ4ECDKI.js} +2 -2
- package/__chunks__/chunk-CJLZ3B24.js +2 -0
- package/__chunks__/{chunk-ICNKI7XM.js → chunk-CNF7Y7AQ.js} +2 -2
- package/__chunks__/{chunk-PJGIRBV6.js → chunk-D5D6AV6G.js} +2 -2
- package/__chunks__/{chunk-VDVHL356.js → chunk-DBXOPGJW.js} +2 -2
- package/__chunks__/{chunk-7AOLP4UV.js → chunk-DFZAKONB.js} +2 -2
- package/__chunks__/{chunk-4B4RXNGS.js → chunk-E2AVLPGD.js} +2 -2
- package/__chunks__/chunk-E5TRYVLP.js +2 -0
- package/__chunks__/{chunk-VI4CEFAP.js → chunk-EC436OTI.js} +2 -2
- package/__chunks__/{chunk-MVA4RMOU.js → chunk-EDXKPRBF.js} +2 -2
- package/__chunks__/{chunk-67S3BFX7.js → chunk-EFJVIBBH.js} +2 -2
- package/__chunks__/{chunk-UP53FJ6K.js → chunk-EGRWVT4Y.js} +2 -2
- package/__chunks__/{chunk-EFBQ67ZU.js → chunk-EIXEFFD7.js} +2 -2
- package/__chunks__/{chunk-25LYYPSL.js → chunk-EJAEQJGS.js} +2 -2
- package/__chunks__/{chunk-STRKWZEN.js → chunk-EMVKGLD7.js} +2 -2
- package/__chunks__/{chunk-Q5YGWIM7.js → chunk-EO272DZL.js} +2 -2
- package/__chunks__/chunk-EOOIJMLH.js +2 -0
- package/__chunks__/{chunk-6XFZX4V3.js → chunk-ET7634GV.js} +2 -2
- package/__chunks__/{chunk-IIRSMPA2.js → chunk-EV2NV6KZ.js} +2 -2
- package/__chunks__/{chunk-FTPMKH6A.js → chunk-EWWU75VZ.js} +2 -2
- package/__chunks__/{chunk-2GCNFOBQ.js → chunk-F26JGGDS.js} +2 -2
- package/__chunks__/{chunk-HBF5SY7F.js → chunk-F4GULQAI.js} +2 -2
- package/__chunks__/chunk-F6AJXONI.js +2 -0
- package/__chunks__/{chunk-5QWRRMG2.js → chunk-F6RFYLMF.js} +2 -2
- package/__chunks__/{chunk-FA7ULR4S.js → chunk-FEEPN2KN.js} +4 -1
- package/__chunks__/chunk-FEWSMC4F.js +2 -0
- package/__chunks__/{chunk-VXUOWYMK.js → chunk-FK7CLTXE.js} +2 -2
- package/__chunks__/{chunk-UEHFZV3I.js → chunk-FQQWI2D4.js} +2 -2
- package/__chunks__/{chunk-6IBVLNVR.js → chunk-FVQ22MYZ.js} +2 -2
- package/__chunks__/{chunk-WLNBHZ2R.js → chunk-FX2OEKNY.js} +2 -2
- package/__chunks__/chunk-FX327RUW.js +2 -0
- package/__chunks__/chunk-FXQ35K3U.js +2 -0
- package/__chunks__/{chunk-FHXJESVH.js → chunk-FY63CB2A.js} +2 -2
- package/__chunks__/{chunk-SHDX7NR2.js → chunk-G3PZHPKZ.js} +2 -2
- package/__chunks__/{chunk-B2FPMM73.js → chunk-G3XJ7574.js} +2 -2
- package/__chunks__/{chunk-PFRXTPGY.js → chunk-GD6SCNZV.js} +2 -2
- package/__chunks__/{chunk-OKDSWITH.js → chunk-GE2RPCCV.js} +2 -2
- package/__chunks__/{chunk-CMF7545O.js → chunk-GE7XUQDI.js} +2 -2
- package/__chunks__/{chunk-BEP37UC6.js → chunk-GHPCUPU2.js} +2 -2
- package/__chunks__/{chunk-C2TUA5D7.js → chunk-GMCBRLKE.js} +2 -2
- package/__chunks__/{chunk-I55IS57L.js → chunk-GQQZ3U4O.js} +2 -2
- package/__chunks__/{chunk-YLMQQGTH.js → chunk-GY7525ST.js} +2 -2
- package/__chunks__/{chunk-TZGEIXX4.js → chunk-GYOCH7BN.js} +2 -2
- package/__chunks__/{chunk-LIHBSEAD.js → chunk-H367JQ46.js} +2 -2
- package/__chunks__/{chunk-3PTECJEN.js → chunk-H6OKWNQL.js} +2 -2
- package/__chunks__/{chunk-JQNDBEDA.js → chunk-HAVQLHXJ.js} +2 -2
- package/__chunks__/{chunk-TQ6BZ3YK.js → chunk-HDWH4ZRO.js} +2 -2
- package/__chunks__/{chunk-33H7HM36.js → chunk-HOFMVQXK.js} +2 -2
- package/__chunks__/chunk-HT6ZSM7P.js +2 -0
- package/__chunks__/{chunk-WFTVAB73.js → chunk-HTO5H5GO.js} +2 -2
- package/__chunks__/{chunk-R27UKMA6.js → chunk-HVCZPSWW.js} +2 -2
- package/__chunks__/chunk-I2NVMWNR.js +2 -0
- package/__chunks__/{chunk-JNHRBSPO.js → chunk-I3V5NNNC.js} +2 -2
- package/__chunks__/chunk-I5YYBZDP.js +2 -0
- package/__chunks__/{chunk-BBBZEERM.js → chunk-IBNOB7HH.js} +2 -2
- package/__chunks__/{chunk-P2BCRP5V.js → chunk-ICGFAZ6F.js} +2 -2
- package/__chunks__/{chunk-EDX2MNPG.js → chunk-IJYBKFJ4.js} +2 -2
- package/__chunks__/chunk-IMX3Z3RY.js +2 -0
- package/__chunks__/{chunk-4RC7VEYO.js → chunk-J6OT6HQZ.js} +2 -2
- package/__chunks__/{chunk-QXIBYDPP.js → chunk-JASKCX5T.js} +2 -2
- package/__chunks__/chunk-JCFXQJSI.js +2 -0
- package/__chunks__/{chunk-2PA72F75.js → chunk-JF2LFW3V.js} +2 -2
- package/__chunks__/chunk-JHW32CXC.js +2 -0
- package/__chunks__/{chunk-3HVIENSM.js → chunk-JLY4442Z.js} +2 -2
- package/__chunks__/{chunk-XJOLNCFK.js → chunk-JNKZSJNZ.js} +2 -2
- package/__chunks__/chunk-JOSJCDBR.js +2 -0
- package/__chunks__/chunk-JX5SSSLF.js +2 -0
- package/__chunks__/{chunk-QMQH5ULY.js → chunk-JXOKW4SL.js} +2 -2
- package/__chunks__/chunk-K2GW23ZC.js +2 -0
- package/__chunks__/{chunk-FERUHIYS.js → chunk-K2U5CLQE.js} +2 -2
- package/__chunks__/{chunk-V7FHBHU4.js → chunk-K7ZH2SJE.js} +2 -2
- package/__chunks__/chunk-KG4M4ACY.js +2 -0
- package/__chunks__/{chunk-IQVKUFGU.js → chunk-KGRJ6NTJ.js} +2 -2
- package/__chunks__/{chunk-FPQRZSTF.js → chunk-KJCMYCPS.js} +2 -2
- package/__chunks__/{chunk-MLGIGWWZ.js → chunk-KJE55U6V.js} +2 -2
- package/__chunks__/{chunk-ESBNZUXN.js → chunk-KMO3VZVQ.js} +2 -2
- package/__chunks__/{chunk-C7FH4AOI.js → chunk-KO3OTCSC.js} +2 -2
- package/__chunks__/chunk-KOCTQUOL.js +2 -0
- package/__chunks__/{chunk-CGC7JCKX.js → chunk-KRIHLOOP.js} +2 -2
- package/__chunks__/{chunk-JI42XC5O.js → chunk-KSOG6NO5.js} +2 -2
- package/__chunks__/{chunk-VTI5IUEC.js → chunk-KUYDWTU3.js} +2 -2
- package/__chunks__/chunk-KVVBB443.js +2 -0
- package/__chunks__/{chunk-P26LLO2D.js → chunk-KZZFZL5X.js} +2 -2
- package/__chunks__/{chunk-ID2G62VE.js → chunk-L57O22OD.js} +2 -2
- package/__chunks__/{chunk-YYEQ5OVG.js → chunk-LCNI2BNF.js} +2 -2
- package/__chunks__/{chunk-BQZWZAUY.js → chunk-LFKXTV7X.js} +2 -2
- package/__chunks__/chunk-LH46WQCP.js +2 -0
- package/__chunks__/{chunk-4X4DKRC3.js → chunk-LHCY2HW6.js} +2 -2
- package/__chunks__/{chunk-JGNCDJ62.js → chunk-LIIQO42Z.js} +2 -2
- package/__chunks__/chunk-LZLEOSIF.js +2 -0
- package/__chunks__/chunk-M263BCY6.js +2 -0
- package/__chunks__/chunk-M7JJAO3P.js +2 -0
- package/__chunks__/chunk-MT6AUSWR.js +2 -0
- package/__chunks__/{chunk-VJA3OS4V.js → chunk-MU3IENP2.js} +2 -2
- package/__chunks__/{chunk-LB2BFY3H.js → chunk-N2KE5OLS.js} +2 -2
- package/__chunks__/{chunk-AM6LBD2Y.js → chunk-N6A2MP6S.js} +2 -2
- package/__chunks__/{chunk-TDNCTPDS.js → chunk-NHEXKPFG.js} +2 -2
- package/__chunks__/{chunk-FOIN27NE.js → chunk-NHV5UWGF.js} +2 -2
- package/__chunks__/{chunk-QVZ7AIER.js → chunk-NO2XENP2.js} +2 -2
- package/__chunks__/chunk-NOGITS7R.js +2 -0
- package/__chunks__/{chunk-5H6LBSZM.js → chunk-NQTEJEB6.js} +2 -2
- package/__chunks__/{chunk-M4KXOW7P.js → chunk-NRIPFZ2O.js} +2 -2
- package/__chunks__/{chunk-IYZV7QCG.js → chunk-NUCIBJ4B.js} +2 -2
- package/__chunks__/{chunk-CVAD6EJ5.js → chunk-O2PLAER7.js} +2 -2
- package/__chunks__/{chunk-NWDZJJBT.js → chunk-OBYQB3UE.js} +2 -2
- package/__chunks__/{chunk-NFOZMVGI.js → chunk-OGD3H3N6.js} +2 -2
- package/__chunks__/{chunk-SLJ43T3X.js → chunk-OLQ65VS3.js} +2 -2
- package/__chunks__/{chunk-XEFCN2UF.js → chunk-ONX75UCI.js} +2 -2
- package/__chunks__/chunk-OUEPJKUR.js +2 -0
- package/__chunks__/{chunk-DQLINIBP.js → chunk-OXJSMSZX.js} +2 -2
- package/__chunks__/{chunk-HNE23OWE.js → chunk-OYT6COQO.js} +2 -2
- package/__chunks__/{chunk-TUDZ5KRU.js → chunk-P2HNYTSF.js} +2 -2
- package/__chunks__/{chunk-KA3CAMX7.js → chunk-P3FDUSLT.js} +2 -2
- package/__chunks__/{chunk-MK36FVJQ.js → chunk-P4IXJSAY.js} +2 -2
- package/__chunks__/{chunk-W7L7KEB6.js → chunk-P4RW434P.js} +2 -2
- package/__chunks__/{chunk-44X3EF7R.js → chunk-P7VDW7ZE.js} +2 -2
- package/__chunks__/{chunk-HOANVKA5.js → chunk-PBZX43A4.js} +2 -2
- package/__chunks__/{chunk-PTZVBHGW.js → chunk-PGPUQUEU.js} +2 -2
- package/__chunks__/{chunk-535RKD6M.js → chunk-PKCZS7U7.js} +2 -2
- package/__chunks__/{chunk-BQ6EKGFU.js → chunk-PQ7LBVAC.js} +2 -2
- package/__chunks__/{chunk-4YTCJ2WF.js → chunk-Q3YZ2723.js} +2 -2
- package/__chunks__/{chunk-HHBJDEI5.js → chunk-QCFETWAC.js} +2 -2
- package/__chunks__/chunk-QCG7SGOX.js +2 -0
- package/__chunks__/{chunk-KFFYCLNJ.js → chunk-QFKT22AW.js} +2 -2
- package/__chunks__/{chunk-6N5VY32R.js → chunk-QGIODHFK.js} +2 -2
- package/__chunks__/{chunk-ALQQT64V.js → chunk-QLWST6HJ.js} +2 -2
- package/__chunks__/{chunk-A2IKCHP3.js → chunk-QM237XII.js} +2 -2
- package/__chunks__/chunk-QNH7L3M6.js +2 -0
- package/__chunks__/{chunk-7YQNZ5P4.js → chunk-QRPURFAS.js} +2 -2
- package/__chunks__/{chunk-TWENT6YN.js → chunk-QRY35NB4.js} +2 -2
- package/__chunks__/chunk-QWY6SHHG.js +2 -0
- package/__chunks__/{chunk-2YSNVCBV.js → chunk-QX4DKR3D.js} +2 -2
- package/__chunks__/{chunk-BIWSS3BJ.js → chunk-QY7CJB4G.js} +2 -2
- package/__chunks__/{chunk-EB6HXNNY.js → chunk-R2YSMQ4I.js} +2 -2
- package/__chunks__/{chunk-YW57QDWN.js → chunk-R475WYSE.js} +2 -2
- package/__chunks__/{chunk-WKASIRAF.js → chunk-R76ZRE5A.js} +2 -2
- package/__chunks__/{chunk-LBLUZ7RI.js → chunk-RLU4NPC4.js} +2 -2
- package/__chunks__/{chunk-PASKU42C.js → chunk-RMD6HAI4.js} +2 -2
- package/__chunks__/{chunk-IV6DYDHK.js → chunk-RR356Z6D.js} +2 -2
- package/__chunks__/chunk-RRQEQ76C.js +2 -0
- package/__chunks__/{chunk-MR2IS7HI.js → chunk-RTPBDY4Q.js} +2 -2
- package/__chunks__/{chunk-RNVUI7T5.js → chunk-RVFDHAR7.js} +2 -2
- package/__chunks__/{chunk-N65WVSV2.js → chunk-RZP7K7XL.js} +2 -2
- package/__chunks__/{chunk-SFSXPOIO.js → chunk-S5BSIREW.js} +2 -2
- package/__chunks__/{chunk-PMCD5ZAT.js → chunk-S6OUF334.js} +2 -2
- package/__chunks__/{chunk-WLMHQ4N6.js → chunk-SA4WPLAS.js} +2 -2
- package/__chunks__/chunk-SADC2JUH.js +2 -0
- package/__chunks__/{chunk-HNPFS3FK.js → chunk-SAUXZHGQ.js} +2 -2
- package/__chunks__/{chunk-5FXUUUID.js → chunk-SF5FGOZB.js} +2 -2
- package/__chunks__/{chunk-XL32YOXR.js → chunk-SGTXMF4C.js} +2 -2
- package/__chunks__/{chunk-BTVZMKCD.js → chunk-SI3BPIM6.js} +2 -2
- package/__chunks__/{chunk-RBP2NLFO.js → chunk-SMNYUV4M.js} +2 -2
- package/__chunks__/{chunk-F3VFHLEI.js → chunk-SQCWRC3T.js} +2 -2
- package/__chunks__/chunk-SQGZEGO2.js +2 -0
- package/__chunks__/{chunk-SD4EHSNN.js → chunk-SQZPRBQJ.js} +2 -2
- package/__chunks__/{chunk-QBW6NGXK.js → chunk-T7DKVSBF.js} +2 -2
- package/__chunks__/chunk-THVMKNL7.js +2 -0
- package/__chunks__/{chunk-FSW3CZET.js → chunk-TJ222MQ4.js} +2 -2
- package/__chunks__/{chunk-A55WDU6L.js → chunk-TMEQ5IAI.js} +2 -2
- package/__chunks__/{chunk-OUVYD352.js → chunk-TPHV3KKL.js} +2 -2
- package/__chunks__/chunk-U5WH7XDN.js +2 -0
- package/__chunks__/{chunk-3PWLCKRL.js → chunk-U65BLT4U.js} +2 -2
- package/__chunks__/{chunk-SQNI4KUP.js → chunk-UBYTQURY.js} +2 -2
- package/__chunks__/chunk-UFAQWNZH.js +2 -0
- package/__chunks__/{chunk-67CUT27B.js → chunk-V2SBWOXY.js} +2 -2
- package/__chunks__/{chunk-XAZUU7SL.js → chunk-V3FFCD5I.js} +2 -2
- package/__chunks__/{chunk-72GWBK46.js → chunk-V4UF3ZPO.js} +2 -2
- package/__chunks__/{chunk-6LFQ6O6O.js → chunk-V52UR2GQ.js} +2 -2
- package/__chunks__/chunk-VE4KRWGC.js +2 -0
- package/__chunks__/chunk-VF3JB6E5.js +2 -0
- package/__chunks__/chunk-VFG6MPL7.js +2 -0
- package/__chunks__/{chunk-6SKFOK2M.js → chunk-VFIWMO3Z.js} +2 -2
- package/__chunks__/{chunk-L6GH2U6P.js → chunk-VL7EOLJA.js} +2 -2
- package/__chunks__/{chunk-LCO5R2BH.js → chunk-VLPVGL6U.js} +2 -2
- package/__chunks__/{chunk-VMPAE4NV.js → chunk-VMWLEDGI.js} +2 -2
- package/__chunks__/{chunk-7DFFSWVU.js → chunk-VUQGX2RG.js} +2 -2
- package/__chunks__/chunk-VYKIRYQG.js +2 -0
- package/__chunks__/{chunk-CT6ZTIJ6.js → chunk-W6SJ5T7V.js} +2 -2
- package/__chunks__/{chunk-MAO376S7.js → chunk-WAHBBIVA.js} +2 -2
- package/__chunks__/{chunk-WES4PTU5.js → chunk-WAKVWA2P.js} +2 -2
- package/__chunks__/{chunk-3NKORX5R.js → chunk-WBQEZGXF.js} +2 -2
- package/__chunks__/chunk-WGNSMBOL.js +2 -0
- package/__chunks__/{chunk-3M6DNWCB.js → chunk-WTZF74FI.js} +2 -2
- package/__chunks__/chunk-WUYXYYM2.js +2 -0
- package/__chunks__/{chunk-R4WZTTPT.js → chunk-WZ7N27VY.js} +2 -2
- package/__chunks__/{chunk-OCQXYTOS.js → chunk-XAK27FPP.js} +2 -2
- package/__chunks__/{chunk-KBNYB3FJ.js → chunk-XHAR7AGZ.js} +2 -2
- package/__chunks__/{chunk-XDO7HTVT.js → chunk-XHF4XEBJ.js} +2 -2
- package/__chunks__/{chunk-NOSM25LP.js → chunk-XK4BZEB4.js} +2 -2
- package/__chunks__/{chunk-3NNKUOLW.js → chunk-XL6XYI3G.js} +2 -2
- package/__chunks__/{chunk-QFWODHWG.js → chunk-XLCD2XA6.js} +2 -2
- package/__chunks__/{chunk-X2LPLBHT.js → chunk-XM4KUUW5.js} +2 -2
- package/__chunks__/{chunk-HIH3MEYF.js → chunk-XNB63NZM.js} +2 -2
- package/__chunks__/{chunk-L3N2U4UJ.js → chunk-XNZGF3PO.js} +2 -2
- package/__chunks__/{chunk-UMQSHIZY.js → chunk-XTKGZAYQ.js} +2 -2
- package/__chunks__/{chunk-OLS3M5CX.js → chunk-XWKJXLR5.js} +2 -2
- package/__chunks__/{chunk-FYAGCYUX.js → chunk-Y5FI3HHM.js} +2 -2
- package/__chunks__/{chunk-55RJ4CEA.js → chunk-YC4XSSW2.js} +2 -2
- package/__chunks__/{chunk-XF33DAZM.js → chunk-YDWYRAA7.js} +2 -2
- package/__chunks__/{chunk-OIYBDCB7.js → chunk-YHPEMIIR.js} +2 -2
- package/__chunks__/{chunk-JGAMPOJJ.js → chunk-YIQS65Q7.js} +2 -2
- package/__chunks__/{chunk-SDEXBQ7D.js → chunk-YP6ZL2GT.js} +2 -2
- package/__chunks__/chunk-YRIZOKJO.js +2 -0
- package/__chunks__/{chunk-OKVUWLHY.js → chunk-YWXELVTE.js} +2 -2
- package/__chunks__/chunk-YZC6D7ZZ.js +2 -0
- package/__chunks__/{chunk-646ESGYB.js → chunk-YZNOHKIO.js} +2 -2
- package/__chunks__/{chunk-4H7MOXLV.js → chunk-ZDVAKUDB.js} +2 -2
- package/__chunks__/{chunk-PJO6HLOP.js → chunk-ZJU7AUBQ.js} +2 -2
- package/__chunks__/{chunk-C3NPVNAI.js → chunk-ZMXT6PTT.js} +2 -2
- package/__chunks__/{chunk-TMSAYXTB.js → chunk-ZUAKIX6J.js} +2 -2
- package/__chunks__/chunk-ZWB67SM7.js +2 -0
- package/__chunks__/{chunk-XHVGPBGV.js → chunk-ZZ2X3CU4.js} +2 -2
- package/__commonjs/UI/DappModal/index.js +3 -3
- package/__commonjs/UI/Denominate/index.js +2 -2
- package/__commonjs/UI/FormatAmount/FormatAmount.js +3 -3
- package/__commonjs/UI/FormatAmount/index.js +2 -2
- package/__commonjs/UI/SignTransactionsModals/SignTransactionsModals.js +2 -2
- package/__commonjs/UI/SignTransactionsModals/SignWithExtraModal/SignWithExtraModal.js +1 -1
- package/__commonjs/UI/SignTransactionsModals/SignWithExtraModal/index.js +1 -1
- package/__commonjs/UI/SignTransactionsModals/SignWithWalletConnectModal/index.js +2 -2
- package/__commonjs/UI/SignTransactionsModals/components/index.js +6 -6
- package/__commonjs/UI/SignTransactionsModals/index.js +2 -2
- package/__commonjs/UI/TransactionData/index.js +1 -1
- package/__commonjs/UI/TransactionInfo/components/DataDecode/DataDecode.js +2 -2
- package/__commonjs/UI/TransactionInfo/components/DataDecode/index.js +2 -2
- package/__commonjs/UI/TransactionInfo/components/DataField/DataField.js +5 -5
- package/__commonjs/UI/TransactionInfo/components/DataField/index.js +5 -5
- package/__commonjs/UI/TransactionInfo/components/NonceMessage/NonceMessage.js +2 -2
- package/__commonjs/UI/TransactionInfo/components/NonceMessage/index.js +2 -2
- package/__commonjs/UI/TransactionInfo/components/OperationsList/OperationList.js +2 -2
- package/__commonjs/UI/TransactionInfo/components/OperationsList/components/DetailedItem.js +1 -1
- package/__commonjs/UI/TransactionInfo/components/OperationsList/components/OperationBlock.js +1 -1
- package/__commonjs/UI/TransactionInfo/components/OperationsList/components/OperationRow.js +2 -2
- package/__commonjs/UI/TransactionInfo/components/OperationsList/components/OperationText.js +1 -1
- package/__commonjs/UI/TransactionInfo/components/OperationsList/components/index.js +2 -2
- package/__commonjs/UI/TransactionInfo/components/OperationsList/index.js +2 -2
- package/__commonjs/UI/TransactionInfo/components/ScResultsList/ScResultsList.js +11 -11
- package/__commonjs/UI/TransactionInfo/components/ScResultsList/index.js +11 -11
- package/__commonjs/UI/TransactionInfo/components/TransactionAction/components/ActionText/index.js +4 -4
- package/__commonjs/UI/TransactionInfo/components/TransactionAction/components/index.js +4 -4
- package/__commonjs/UI/TransactionInfo/components/TransactionLogs/TransactionLogs.js +11 -11
- package/__commonjs/UI/TransactionInfo/components/TransactionLogs/index.js +11 -11
- package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoFee/TransactionInfoFee.js +1 -1
- package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoFee/index.js +1 -1
- package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoGasLimit/TransactionInfoGasLimit.js +2 -2
- package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoGasLimit/index.js +2 -2
- package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoGasUsed/TransactionInfoGasUsed.js +2 -2
- package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoGasUsed/index.js +2 -2
- package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoTokenOperations/TransactionInfoTokenOperations.js +2 -2
- package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoTokenOperations/index.js +2 -2
- package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoValue/TransactionInfoValue.js +1 -1
- package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoValue/index.js +3 -3
- package/__commonjs/UI/TransactionsTable/TransactionsTable.js +2 -2
- package/__commonjs/UI/TransactionsTable/components/AccountName.js +2 -2
- package/__commonjs/UI/TransactionsTable/components/LockedTokenAddressIcon.js +2 -2
- package/__commonjs/UI/TransactionsTable/components/ScAddressIcon.js +2 -2
- package/__commonjs/UI/TransactionsTable/components/ShardSpan.js +1 -1
- package/__commonjs/UI/TransactionsTable/components/TransactionShardsTransition.js +3 -3
- package/__commonjs/UI/TransactionsTable/index.js +2 -2
- package/__commonjs/UI/TransactionsToastList/components/CustomToast/CustomToast.js +12 -12
- package/__commonjs/UI/TransactionsToastList/components/CustomToast/components/IconToast/IconToast.js +9 -9
- package/__commonjs/UI/TransactionsToastList/components/CustomToast/components/IconToast/index.js +9 -9
- package/__commonjs/UI/TransactionsToastList/components/CustomToast/components/index.js +10 -10
- package/__commonjs/UI/TransactionsToastList/components/CustomToast/helpers/useMemoizedCloseButton.js +5 -5
- package/__commonjs/UI/TransactionsToastList/components/CustomToast/index.js +12 -12
- package/__commonjs/UI/TransactionsToastList/components/TransactionToast/hooks/useTransactionToast.js +2 -2
- package/__commonjs/UI/TransactionsToastList/components/TransactionToast/utils/getToastDataStateByStatus.js +1 -1
- package/__commonjs/UI/TransactionsToastList/components/TransactionToast/utils/index.js +1 -1
- package/__commonjs/UI/UsdValue/UsdValue.js +2 -2
- package/__commonjs/UI/UsdValue/index.js +2 -2
- package/__commonjs/UI/index.js +78 -75
- package/__commonjs/UI/ledger/LedgerLoginContainer/AddressRow.js +2 -2
- package/__commonjs/UI/ledger/LedgerLoginContainer/ConfirmAddress.js +2 -2
- package/__commonjs/UI/pages/UnlockPage/index.js +22 -19
- package/__commonjs/UI/pages/index.js +22 -19
- package/__commonjs/UI/walletConnect/WalletConnectConnectionStatus/WalletConnectConnectionStatus.js +1 -1
- package/__commonjs/UI/walletConnect/WalletConnectConnectionStatus/index.js +1 -1
- package/__commonjs/UI/walletConnect/WalletConnectLoginButton/WalletConnectLoginButton.js +10 -7
- package/__commonjs/UI/walletConnect/WalletConnectLoginButton/index.js +10 -7
- package/__commonjs/UI/walletConnect/WalletConnectLoginContainer/ImageWithFallback.d.ts +7 -0
- package/__commonjs/UI/walletConnect/WalletConnectLoginContainer/ImageWithFallback.js +9 -0
- package/__commonjs/UI/walletConnect/WalletConnectLoginContainer/PairingList.js +5 -2
- package/__commonjs/UI/walletConnect/WalletConnectLoginContainer/index.d.ts +1 -1
- package/__commonjs/UI/walletConnect/WalletConnectLoginContainer/index.js +9 -6
- package/__commonjs/UI/walletConnect/WalletConnectLoginContainer/walletConnectLoginContainerStyles.js +5 -2
- package/__commonjs/UI/walletConnect/index.js +10 -7
- package/__commonjs/UI/webWallet/WebWalletLoginButton/WebWalletLoginButton.js +1 -1
- package/__commonjs/UI/webWallet/WebWalletLoginButton/index.js +1 -1
- package/__commonjs/__mocks__/accountConfig.js +1 -1
- package/__commonjs/__mocks__/index.js +1 -1
- package/__commonjs/__mocks__/server.js +1 -1
- package/__commonjs/__mocks__/utils/index.js +1 -1
- package/__commonjs/__mocks__/utils/renderWithProvider.js +1 -1
- package/__commonjs/apiCalls/configuration/getApiAddressForChainId.js +1 -1
- package/__commonjs/apiCalls/configuration/getEnvironmentForChainId.js +1 -1
- package/__commonjs/apiCalls/configuration/getServerConfigurationForEnvironment.js +1 -1
- package/__commonjs/apiCalls/configuration/index.js +1 -1
- package/__commonjs/apiCalls/index.js +1 -1
- package/__commonjs/components/LogoutListener/LogoutListener.js +1 -1
- package/__commonjs/components/LogoutListener/helpers/index.js +1 -1
- package/__commonjs/components/LogoutListener/helpers/useNativeAuthLogoutWarning/index.js +1 -1
- package/__commonjs/components/LogoutListener/helpers/useNativeAuthLogoutWarning/useNativeAuthLogoutWarning.js +1 -1
- package/__commonjs/components/LogoutListener/index.js +1 -1
- package/__commonjs/components/ProviderInitializer.js +1 -1
- package/__commonjs/constants/network.js +1 -1
- package/__commonjs/hooks/account/index.js +1 -1
- package/__commonjs/hooks/account/useGetAccountProvider.js +1 -1
- package/__commonjs/hooks/account/useGetIsLoggedIn.js +1 -1
- package/__commonjs/hooks/account/useGetLoginInfo.js +1 -1
- package/__commonjs/hooks/index.js +1 -1
- package/__commonjs/hooks/login/index.js +1 -1
- package/__commonjs/hooks/login/useExtensionLogin.js +1 -1
- package/__commonjs/hooks/login/useLoginService.js +1 -1
- package/__commonjs/hooks/login/useOperaLogin.js +1 -1
- package/__commonjs/hooks/login/useWalletConnectLogin.js +1 -1
- package/__commonjs/hooks/login/useWalletConnectV2Login.js +1 -1
- package/__commonjs/hooks/login/useWebViewLogin.js +1 -1
- package/__commonjs/hooks/transactions/helpers/useClearTransactionsToSignWithWarning.js +1 -1
- package/__commonjs/hooks/transactions/useCancelWalletConnectAction.js +1 -1
- package/__commonjs/hooks/transactions/useCheckTransactionStatus/getPendingTransactions.js +1 -1
- package/__commonjs/hooks/transactions/useCheckTransactionStatus/index.js +1 -1
- package/__commonjs/hooks/transactions/useCheckTransactionStatus/manageTimedOutTransactions.js +1 -1
- package/__commonjs/hooks/transactions/useCheckTransactionStatus/useCheckTransactionStatus.js +1 -1
- package/__commonjs/hooks/transactions/useGetLastPendingTransactionHash.js +1 -1
- package/__commonjs/hooks/transactions/useParseMultiEsdtTransferData.js +1 -1
- package/__commonjs/hooks/transactions/useSignTransactions.js +1 -1
- package/__commonjs/hooks/transactions/useSignTransactionsWithDevice.js +1 -1
- package/__commonjs/models/index.js +1 -1
- package/__commonjs/providers/accountProvider.js +1 -1
- package/__commonjs/providers/index.js +1 -1
- package/__commonjs/providers/utils.js +1 -1
- package/__commonjs/providers/webviewProvider/index.js +1 -1
- package/__commonjs/providers/webviewProvider/requestMethods.js +1 -1
- package/__commonjs/providers/webviewProvider/webviewProvider.js +1 -1
- package/__commonjs/reduxStore/DappProviderContext.js +1 -1
- package/__commonjs/reduxStore/commonActions.js +1 -1
- package/__commonjs/reduxStore/middlewares/loginSessionMiddleware.js +1 -1
- package/__commonjs/reduxStore/persistConfig.js +1 -1
- package/__commonjs/reduxStore/persistedRootReducer.js +1 -1
- package/__commonjs/reduxStore/reducers.js +1 -1
- package/__commonjs/reduxStore/selectors/accountInfoSelectors.js +1 -1
- package/__commonjs/reduxStore/selectors/dappModalsSelectors.js +1 -1
- package/__commonjs/reduxStore/selectors/helpers.js +1 -1
- package/__commonjs/reduxStore/selectors/loginInfoSelectors.js +1 -1
- package/__commonjs/reduxStore/selectors/modalsSelectors.js +1 -1
- package/__commonjs/reduxStore/selectors/networkConfigSelectors.js +1 -1
- package/__commonjs/reduxStore/selectors/signedMessageInfoSelectors.js +1 -1
- package/__commonjs/reduxStore/selectors/toastsSelectors.js +1 -1
- package/__commonjs/reduxStore/selectors/transactionsInfoSelectors.js +1 -1
- package/__commonjs/reduxStore/slices/accountInfoSlice.js +1 -1
- package/__commonjs/reduxStore/slices/dappModalsSlice.js +1 -1
- package/__commonjs/reduxStore/slices/index.js +1 -1
- package/__commonjs/reduxStore/slices/loginInfoSlice.js +1 -1
- package/__commonjs/reduxStore/slices/modalsSlice.js +1 -1
- package/__commonjs/reduxStore/slices/signedMessageInfoSlice.js +1 -1
- package/__commonjs/reduxStore/slices/toastsSlice.js +1 -1
- package/__commonjs/reduxStore/slices/transactionsInfoSlice.js +1 -1
- package/__commonjs/reduxStore/slices/transactionsSlice.js +1 -1
- package/__commonjs/reduxStore/store.js +1 -1
- package/__commonjs/services/transactions/clearTransactions.js +1 -1
- package/__commonjs/services/transactions/signTransactions.js +1 -1
- package/__commonjs/types/enums.types.d.ts +1 -2
- package/__commonjs/types/enums.types.js +1 -1
- package/__commonjs/types/index.js +1 -1
- package/__commonjs/utils/account/getAccountProviderType.js +1 -1
- package/__commonjs/utils/account/getAddress.js +1 -1
- package/__commonjs/utils/account/getIsProviderEqualTo.js +1 -1
- package/__commonjs/utils/account/getShardOfAddress.js +1 -1
- package/__commonjs/utils/account/loginWithExternalProvider.js +1 -1
- package/__commonjs/utils/account/refreshAccount.js +1 -1
- package/__commonjs/utils/account/signMessage.js +1 -1
- package/__commonjs/utils/logout.js +1 -1
- package/__commonjs/utils/operations/denominate.js +1 -1
- package/__commonjs/utils/operations/formatAmount.js +1 -1
- package/__commonjs/utils/operations/index.js +1 -1
- package/__commonjs/utils/platform/detectCurrentPlatform.js +1 -1
- package/__commonjs/utils/platform/index.js +1 -1
- package/__commonjs/utils/smartContracts.js +1 -1
- package/__commonjs/utils/transactions/getAreTransactionsOnSameShard.js +1 -1
- package/__commonjs/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/getTransactionValue.js +1 -1
- package/__commonjs/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/helpers/getEgldValueData.js +1 -1
- package/__commonjs/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/helpers/getValueFromActions.js +1 -1
- package/__commonjs/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/helpers/getValueFromDataField.js +1 -1
- package/__commonjs/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/helpers/index.js +1 -1
- package/__commonjs/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/index.js +1 -1
- package/__commonjs/utils/transactions/getInterpretedTransaction/helpers/index.js +2 -2
- package/__commonjs/utils/transactions/getTokenFromData.js +1 -1
- package/__commonjs/utils/transactions/parseMultiEsdtTransferData.js +1 -1
- package/__commonjs/utils/transactions/parseTransactionAfterSigning.js +1 -1
- package/__commonjs/utils/transactions/transactionInfoHelpers/decodeForDisplay/decodeForDisplay.js +3 -3
- package/__commonjs/utils/transactions/transactionInfoHelpers/decodeForDisplay/helpers/getDisplayValueAndValidationWarnings.js +1 -1
- package/__commonjs/utils/transactions/transactionInfoHelpers/decodeForDisplay/helpers/getSmartDecodedParts.js +1 -1
- package/__commonjs/utils/transactions/transactionInfoHelpers/decodeForDisplay/helpers/index.js +1 -1
- package/__commonjs/utils/transactions/transactionInfoHelpers/decodeForDisplay/index.js +3 -3
- package/__commonjs/utils/transactions/transactionInfoHelpers/getScResultsInitialDecodeMethod.js +1 -1
- package/__commonjs/utils/transactions/transactionInfoHelpers/getShardText.js +1 -1
- package/__commonjs/utils/transactions/transactionInfoHelpers/getTransactionActionNftText.js +1 -1
- package/__commonjs/utils/transactions/transactionInfoHelpers/getTransactionActionTokenText.js +1 -1
- package/__commonjs/utils/transactions/transactionInfoHelpers/getTransactionLinkWithLabel.js +1 -1
- package/__commonjs/utils/transactions/transactionInfoHelpers/getTransactionMessages.js +1 -1
- package/__commonjs/utils/transactions/transactionInfoHelpers/getTransactionStatus.js +1 -1
- package/__commonjs/utils/transactions/transactionInfoHelpers/getTransactionStatusText.js +1 -1
- package/__commonjs/utils/transactions/transactionInfoHelpers/index.js +1 -1
- package/__commonjs/utils/transactions/transactionInfoHelpers/useDataDecode.js +3 -3
- package/__commonjs/utils/transactions/transactionInfoHelpers/useDataDecodeMethod.js +1 -1
- package/__commonjs/utils/transactions/transactionStateByStatus.js +1 -1
- package/__commonjs/utils/walletconnect/__mocks__/sdkWalletconnectProvider.js +1 -1
- package/__commonjs/web/hooks/index.js +1 -1
- package/__commonjs/web/hooks/useIdleTimer.js +1 -1
- package/__commonjs/web/index.js +1 -1
- package/__commonjs/wrappers/AppInitializer.js +1 -1
- package/__commonjs/wrappers/AxiosInterceptorContext/components/index.js +1 -1
- package/__commonjs/wrappers/DappProvider/CustomComponents.js +1 -1
- package/__commonjs/wrappers/DappProvider/DappProvider.js +1 -1
- package/__commonjs/wrappers/DappProvider/index.js +1 -1
- package/__commonjs/wrappers/index.js +1 -1
- package/__mocks__/accountConfig.js +1 -1
- package/__mocks__/index.js +1 -1
- package/__mocks__/server.js +1 -1
- package/__mocks__/utils/index.js +1 -1
- package/__mocks__/utils/renderWithProvider.js +1 -1
- package/apiCalls/accounts/getAccountFromApi.js +1 -1
- package/apiCalls/accounts/index.js +1 -1
- package/apiCalls/configuration/getApiAddressForChainId.js +1 -1
- package/apiCalls/configuration/getEnvironmentForChainId.js +1 -1
- package/apiCalls/configuration/getNetworkConfig.js +1 -1
- package/apiCalls/configuration/getServerConfigurationForEnvironment.js +1 -1
- package/apiCalls/configuration/index.js +1 -1
- package/apiCalls/getScamAddressData.js +1 -1
- package/apiCalls/index.js +1 -1
- package/apiCalls/transactions/getTransactionsByHashes.js +1 -1
- package/apiCalls/transactions/index.js +1 -1
- package/apiCalls/transactions/sendSignedTransactions.js +1 -1
- package/apiCalls/utils/getCleanApiAddress.js +1 -1
- package/apiCalls/utils/index.js +1 -1
- package/components/LogoutListener/LogoutListener.js +1 -1
- package/components/LogoutListener/helpers/index.js +1 -1
- package/components/LogoutListener/helpers/useLogoutFromMultipleTabs.js +1 -1
- package/components/LogoutListener/helpers/useNativeAuthLogout.js +1 -1
- package/components/LogoutListener/helpers/useNativeAuthLogoutWarning/index.js +1 -1
- package/components/LogoutListener/helpers/useNativeAuthLogoutWarning/useNativeAuthLogoutWarning.js +1 -1
- package/components/LogoutListener/index.js +1 -1
- package/components/ProviderInitializer.js +1 -1
- package/components/TransactionSender/TransactionSender.js +1 -1
- package/components/TransactionSender/index.js +1 -1
- package/components/TransactionStatusToast/FailedTransactionStatusToast.js +1 -1
- package/components/TransactionsTracker/TransactionTracker.js +1 -1
- package/components/TransactionsTracker/index.js +1 -1
- package/components/TransactionsTracker/useTransactionsTracker.js +1 -1
- package/constants/index.js +1 -1
- package/constants/network.js +1 -1
- package/hooks/account/index.js +1 -1
- package/hooks/account/useGetAccount.js +1 -1
- package/hooks/account/useGetAccountInfo.js +1 -1
- package/hooks/account/useGetAccountProvider.js +1 -1
- package/hooks/account/useGetIsLoggedIn.js +1 -1
- package/hooks/account/useGetLoginInfo.js +1 -1
- package/hooks/account/useGetWebsocketEvent.js +1 -1
- package/hooks/index.js +1 -1
- package/hooks/login/index.js +1 -1
- package/hooks/login/useExtensionLogin.js +1 -1
- package/hooks/login/useLedgerLogin.js +1 -1
- package/hooks/login/useLoginService.js +1 -1
- package/hooks/login/useOperaLogin.js +1 -1
- package/hooks/login/useWalletConnectLogin.js +1 -1
- package/hooks/login/useWalletConnectV2Login.js +1 -1
- package/hooks/login/useWebViewLogin.js +1 -1
- package/hooks/login/useWebWalletLogin.js +1 -1
- package/hooks/signMessage/index.js +1 -1
- package/hooks/signMessage/useGetLastSignedMessageSession.js +1 -1
- package/hooks/signMessage/useGetSignMessageSession.js +1 -1
- package/hooks/signMessage/useGetSignedMessageStatus.js +1 -1
- package/hooks/signMessage/useSignMessage.js +1 -1
- package/hooks/transactions/helpers/getShouldMoveTransactionsToSignedState.js +1 -1
- package/hooks/transactions/helpers/index.js +1 -1
- package/hooks/transactions/helpers/useClearTransactionsToSignWithWarning.js +1 -1
- package/hooks/transactions/helpers/useSetTransactionNonces.js +1 -1
- package/hooks/transactions/index.js +1 -1
- package/hooks/transactions/useCancelWalletConnectAction.js +1 -1
- package/hooks/transactions/useCheckTransactionStatus/checkBatch.js +1 -1
- package/hooks/transactions/useCheckTransactionStatus/getPendingTransactions.js +1 -1
- package/hooks/transactions/useCheckTransactionStatus/index.js +1 -1
- package/hooks/transactions/useCheckTransactionStatus/manageFailedTransactions.js +1 -1
- package/hooks/transactions/useCheckTransactionStatus/manageTimedOutTransactions.js +1 -1
- package/hooks/transactions/useCheckTransactionStatus/useCheckTransactionStatus.js +1 -1
- package/hooks/transactions/useGetActiveTransactionsStatus.js +1 -1
- package/hooks/transactions/useGetFailedTransactions.js +1 -1
- package/hooks/transactions/useGetLastPendingTransactionHash.js +1 -1
- package/hooks/transactions/useGetPendingTransactions.js +1 -1
- package/hooks/transactions/useGetSignTransactionsError.js +1 -1
- package/hooks/transactions/useGetSignedTransactions.js +1 -1
- package/hooks/transactions/useGetSuccessfulTransactions.js +1 -1
- package/hooks/transactions/useGetTokenDetails.js +1 -1
- package/hooks/transactions/useGetTransactionDisplayInfo.js +1 -1
- package/hooks/transactions/useParseMultiEsdtTransferData.js +1 -1
- package/hooks/transactions/useParseSignedTransactions.js +1 -1
- package/hooks/transactions/useSignMultipleTransactions.js +1 -1
- package/hooks/transactions/useSignTransactions.js +1 -1
- package/hooks/transactions/useSignTransactionsCommonData.js +1 -1
- package/hooks/transactions/useSignTransactionsWithDevice.js +1 -1
- package/hooks/transactions/useSignTransactionsWithLedger.js +1 -1
- package/hooks/transactions/useTrackTransactionStatus.js +1 -1
- package/hooks/useGetNetworkConfig.js +1 -1
- package/hooks/useGetNotification.js +1 -1
- package/hooks/userInterface/index.js +1 -1
- package/hooks/userInterface/useIsDappModalVisible.js +1 -1
- package/hooks/websocketListener/index.js +1 -1
- package/hooks/websocketListener/useInitializeWebsocketConnection.js +1 -1
- package/hooks/websocketListener/useRegisterWebsocketListener.js +1 -1
- package/models/index.js +1 -1
- package/models/newTransaction.js +1 -1
- package/package.json +2 -2
- package/providers/accountProvider.js +1 -1
- package/providers/index.js +1 -1
- package/providers/utils.js +1 -1
- package/providers/webviewProvider/index.js +1 -1
- package/providers/webviewProvider/requestMethods.js +1 -1
- package/providers/webviewProvider/webviewProvider.js +1 -1
- package/reduxStore/DappProviderContext.js +1 -1
- package/reduxStore/commonActions.js +1 -1
- package/reduxStore/middlewares/loginSessionMiddleware.js +1 -1
- package/reduxStore/persistConfig.js +1 -1
- package/reduxStore/persistedRootReducer.js +1 -1
- package/reduxStore/reducers.js +1 -1
- package/reduxStore/rootReducer.js +1 -1
- package/reduxStore/selectors/accountInfoSelectors.js +1 -1
- package/reduxStore/selectors/dappModalsSelectors.js +1 -1
- package/reduxStore/selectors/helpers.js +1 -1
- package/reduxStore/selectors/index.js +1 -1
- package/reduxStore/selectors/loginInfoSelectors.js +1 -1
- package/reduxStore/selectors/modalsSelectors.js +1 -1
- package/reduxStore/selectors/networkConfigSelectors.js +1 -1
- package/reduxStore/selectors/signedMessageInfoSelectors.js +1 -1
- package/reduxStore/selectors/toastsSelectors.js +1 -1
- package/reduxStore/selectors/transactionsInfoSelectors.js +1 -1
- package/reduxStore/selectors/transactionsSelectors.js +1 -1
- package/reduxStore/slices/accountInfoSlice.js +1 -1
- package/reduxStore/slices/dappModalsSlice.js +1 -1
- package/reduxStore/slices/index.js +1 -1
- package/reduxStore/slices/loginInfoSlice.js +1 -1
- package/reduxStore/slices/modalsSlice.js +1 -1
- package/reduxStore/slices/signedMessageInfoSlice.js +1 -1
- package/reduxStore/slices/toastsSlice.js +1 -1
- package/reduxStore/slices/transactionsInfoSlice.js +1 -1
- package/reduxStore/slices/transactionsSlice.js +1 -1
- package/reduxStore/store.js +1 -1
- package/services/index.js +1 -1
- package/services/nativeAuth/helpers/getAuthorizationInfo.js +1 -1
- package/services/nativeAuth/helpers/getIsNativeAuthSingingForbidden.js +1 -1
- package/services/nativeAuth/helpers/index.js +1 -1
- package/services/nativeAuth/helpers/loginWithNativeAuthToken.js +1 -1
- package/services/transactions/clearTransactions.js +1 -1
- package/services/transactions/index.js +1 -1
- package/services/transactions/isCrossShardTransaction.js +1 -1
- package/services/transactions/sendTransactions.js +1 -1
- package/services/transactions/signTransactions.js +1 -1
- package/services/transactions/transformAndSignTransactions.js +1 -1
- package/services/transactions/utils.js +1 -1
- package/types/enums.types.d.ts +1 -2
- package/types/enums.types.js +1 -1
- package/types/index.js +1 -1
- package/utils/account/getAccount.js +1 -1
- package/utils/account/getAccountBalance.js +1 -1
- package/utils/account/getAccountProviderType.js +1 -1
- package/utils/account/getAccountShard.js +1 -1
- package/utils/account/getAddress.js +1 -1
- package/utils/account/getIsProviderEqualTo.js +1 -1
- package/utils/account/getLatestNonce.js +1 -1
- package/utils/account/getShardOfAddress.js +1 -1
- package/utils/account/index.js +1 -1
- package/utils/account/loginWithExternalProvider.js +1 -1
- package/utils/account/refreshAccount.js +1 -1
- package/utils/account/setNonce.js +1 -1
- package/utils/account/signMessage.js +1 -1
- package/utils/getIsLoggedIn.js +1 -1
- package/utils/index.js +1 -1
- package/utils/logout.js +1 -1
- package/utils/network/getChainID.js +1 -1
- package/utils/network/getEgldLabel.js +1 -1
- package/utils/network/getNetworkConfig.js +1 -1
- package/utils/network/index.js +1 -1
- package/utils/operations/calculateFeeLimit.js +1 -1
- package/utils/operations/denominate.js +1 -1
- package/utils/operations/formatAmount.js +1 -1
- package/utils/operations/index.js +1 -1
- package/utils/operations/nominate.js +1 -1
- package/utils/operations/parseAmount.js +1 -1
- package/utils/platform/detectCurrentPlatform.js +1 -1
- package/utils/platform/index.js +1 -1
- package/utils/smartContracts.js +1 -1
- package/utils/toasts/customToastsActions.js +1 -1
- package/utils/toasts/index.js +1 -1
- package/utils/transactions/getAllTransactionsLink.js +1 -1
- package/utils/transactions/getAreTransactionsOnSameShard.js +1 -1
- package/utils/transactions/getInterpretedTransaction/getInterpretedTransaction.js +1 -1
- package/utils/transactions/getInterpretedTransaction/helpers/getReceiptMessage.js +1 -1
- package/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/getTransactionValue.js +1 -1
- package/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/helpers/getEgldValueData.js +1 -1
- package/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/helpers/getTitleText.js +1 -1
- package/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/helpers/getValueFromActions.js +1 -1
- package/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/helpers/getValueFromDataField.js +1 -1
- package/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/helpers/getValueFromOperations.js +1 -1
- package/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/helpers/index.js +1 -1
- package/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/index.js +1 -1
- package/utils/transactions/getInterpretedTransaction/helpers/index.js +1 -1
- package/utils/transactions/getInterpretedTransaction/index.js +1 -1
- package/utils/transactions/getTokenFromData.js +1 -1
- package/utils/transactions/getTransactionLink.js +1 -1
- package/utils/transactions/index.js +1 -1
- package/utils/transactions/parseMultiEsdtTransferData.js +1 -1
- package/utils/transactions/parseTransactionAfterSigning.js +1 -1
- package/utils/transactions/transactionInfoHelpers/decodeForDisplay/decodeForDisplay.js +1 -1
- package/utils/transactions/transactionInfoHelpers/decodeForDisplay/helpers/getDisplayValueAndValidationWarnings.js +1 -1
- package/utils/transactions/transactionInfoHelpers/decodeForDisplay/helpers/getSmartDecodedParts.js +1 -1
- package/utils/transactions/transactionInfoHelpers/decodeForDisplay/helpers/index.js +1 -1
- package/utils/transactions/transactionInfoHelpers/decodeForDisplay/index.js +1 -1
- package/utils/transactions/transactionInfoHelpers/getScResultsInitialDecodeMethod.js +1 -1
- package/utils/transactions/transactionInfoHelpers/getShardText.js +1 -1
- package/utils/transactions/transactionInfoHelpers/getTransactionActionNftText.js +1 -1
- package/utils/transactions/transactionInfoHelpers/getTransactionActionTokenText.js +1 -1
- package/utils/transactions/transactionInfoHelpers/getTransactionLinkWithLabel.js +1 -1
- package/utils/transactions/transactionInfoHelpers/getTransactionMessages.js +1 -1
- package/utils/transactions/transactionInfoHelpers/getTransactionStatus.js +1 -1
- package/utils/transactions/transactionInfoHelpers/getTransactionStatusText.js +1 -1
- package/utils/transactions/transactionInfoHelpers/index.js +1 -1
- package/utils/transactions/transactionInfoHelpers/transactionActionUnwrapper/helpers/index.js +1 -1
- package/utils/transactions/transactionInfoHelpers/transactionActionUnwrapper/helpers/mexUnwrapper.js +1 -1
- package/utils/transactions/transactionInfoHelpers/transactionActionUnwrapper/index.js +1 -1
- package/utils/transactions/transactionInfoHelpers/transactionActionUnwrapper/transactionActionUnwrapper.js +1 -1
- package/utils/transactions/transactionInfoHelpers/useDataDecode.js +1 -1
- package/utils/transactions/transactionInfoHelpers/useDataDecodeMethod.js +1 -1
- package/utils/transactions/transactionStateByStatus.js +1 -1
- package/utils/validation/index.js +1 -1
- package/utils/validation/maxDecimals.js +1 -1
- package/utils/validation/stringIsFloat.js +1 -1
- package/utils/walletconnect/__mocks__/sdkWalletconnectProvider.js +1 -1
- package/web/hooks/index.js +1 -1
- package/web/hooks/useIdleTimer.js +1 -1
- package/web/index.js +1 -1
- package/wrappers/AppInitializer.js +1 -1
- package/wrappers/AuthenticatedRoutesWrapper/AuthenticatedRoutesWrapper.js +1 -1
- package/wrappers/AuthenticatedRoutesWrapper/index.js +1 -1
- package/wrappers/AxiosInterceptorContext/AxiosInterceptorContext.js +1 -1
- package/wrappers/AxiosInterceptorContext/components/AxiosInterceptor.js +1 -1
- package/wrappers/AxiosInterceptorContext/components/AxiosInterceptorContextProvider.js +1 -1
- package/wrappers/AxiosInterceptorContext/components/LoginInfoListener.js +1 -1
- package/wrappers/AxiosInterceptorContext/components/index.js +1 -1
- package/wrappers/AxiosInterceptorContext/index.js +1 -1
- package/wrappers/DappProvider/CustomComponents.js +1 -1
- package/wrappers/DappProvider/DappProvider.js +1 -1
- package/wrappers/DappProvider/index.js +1 -1
- package/wrappers/index.js +1 -1
- package/__chunks__/chunk-2KPRW74K.js +0 -2
- package/__chunks__/chunk-3YW6SLXC.js +0 -2
- package/__chunks__/chunk-4DS2Q5LW.js +0 -2
- package/__chunks__/chunk-5HRV72ZC.js +0 -2
- package/__chunks__/chunk-5ZXJXM3L.js +0 -2
- package/__chunks__/chunk-744DQ7ZI.js +0 -2
- package/__chunks__/chunk-7Z6F2U52.js +0 -2
- package/__chunks__/chunk-BAOVOANA.js +0 -2
- package/__chunks__/chunk-BCE6RONK.js +0 -2
- package/__chunks__/chunk-BLUG63Q2.js +0 -2
- package/__chunks__/chunk-BLWDDJJF.js +0 -2
- package/__chunks__/chunk-BRXBMHAS.js +0 -2
- package/__chunks__/chunk-C2NK6QSW.js +0 -2
- package/__chunks__/chunk-CDW2662X.js +0 -2
- package/__chunks__/chunk-CJO53GSR.js +0 -2
- package/__chunks__/chunk-CSHPES7K.js +0 -2
- package/__chunks__/chunk-CVRC3LLT.js +0 -2
- package/__chunks__/chunk-E3KA2FJ5.js +0 -2
- package/__chunks__/chunk-E6C3JWXL.js +0 -2
- package/__chunks__/chunk-EIUJUUMA.js +0 -2
- package/__chunks__/chunk-FCLS44BI.js +0 -2
- package/__chunks__/chunk-FLC53TPV.js +0 -2
- package/__chunks__/chunk-FTCWSZIB.js +0 -2
- package/__chunks__/chunk-G65FNHLP.js +0 -2
- package/__chunks__/chunk-GKK7U7J7.js +0 -2
- package/__chunks__/chunk-GMQ53JDD.js +0 -2
- package/__chunks__/chunk-GO5P7HHE.js +0 -2
- package/__chunks__/chunk-IJTARIG6.js +0 -2
- package/__chunks__/chunk-LEZT7BGE.js +0 -2
- package/__chunks__/chunk-LKUT6VEX.js +0 -2
- package/__chunks__/chunk-LTPOFFWE.js +0 -2
- package/__chunks__/chunk-LZSBQU7C.js +0 -2
- package/__chunks__/chunk-MM4TCQU3.js +0 -2
- package/__chunks__/chunk-MPH3OBOB.js +0 -2
- package/__chunks__/chunk-NGZ7GQV4.js +0 -2
- package/__chunks__/chunk-NMGB3ORJ.js +0 -2
- package/__chunks__/chunk-NVJ6UVZ3.js +0 -2
- package/__chunks__/chunk-OUJ2TGXC.js +0 -2
- package/__chunks__/chunk-Q27BCXDP.js +0 -2
- package/__chunks__/chunk-Q6BK2CI7.js +0 -2
- package/__chunks__/chunk-QHJZA2MO.js +0 -2
- package/__chunks__/chunk-QWJ446RL.js +0 -2
- package/__chunks__/chunk-R3TYUNXK.js +0 -2
- package/__chunks__/chunk-RGOYZTEJ.js +0 -2
- package/__chunks__/chunk-RUVW6WUN.js +0 -2
- package/__chunks__/chunk-T3ET46NT.js +0 -2
- package/__chunks__/chunk-UE5SMZSJ.js +0 -2
- package/__chunks__/chunk-UIGOLJ7B.js +0 -2
- package/__chunks__/chunk-VPN67LUL.js +0 -2
- package/__chunks__/chunk-VWLFZWE6.js +0 -2
- package/__chunks__/chunk-W7PLC5YB.js +0 -2
- package/__chunks__/chunk-XTIXKEXM.js +0 -2
- package/__chunks__/chunk-Z5J2KGZZ.js +0 -2
- package/__chunks__/chunk-ZWP2VUR6.js +0 -2
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";var Ue=Object.create;var j=Object.defineProperty;var Me=Object.getOwnPropertyDescriptor;var Oe=Object.getOwnPropertyNames;var Pe=Object.getPrototypeOf,ze=Object.prototype.hasOwnProperty;var je=(n,e)=>()=>(n&&(e=n(n=0)),e);var G=(n,e)=>()=>(e||n((e={exports:{}}).exports,e),e.exports),Ge=(n,e)=>{for(var o in e)j(n,o,{get:e[o],enumerable:!0})},pe=(n,e,o,r)=>{if(e&&typeof e=="object"||typeof e=="function")for(let a of Oe(e))!ze.call(n,a)&&a!==o&&j(n,a,{get:()=>e[a],enumerable:!(r=Me(e,a))||r.enumerable});return n};var W=(n,e,o)=>(o=n!=null?Ue(Pe(n)):{},pe(e||!n||!n.__esModule?j(o,"default",{value:n,enumerable:!0}):o,n)),We=n=>pe(j({},"__esModule",{value:!0}),n);var ce=G(q=>{"use strict";m();q.byteLength=He;q.toByteArray=Ve;q.fromByteArray=Qe;var I=[],v=[],qe=typeof Uint8Array!="undefined"?Uint8Array:Array,Y="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(F=0,_e=Y.length;F<_e;++F)I[F]=Y[F],v[Y.charCodeAt(F)]=F;var F,_e;v["-".charCodeAt(0)]=62;v["_".charCodeAt(0)]=63;function ie(n){var e=n.length;if(e%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var o=n.indexOf("=");o===-1&&(o=e);var r=o===e?0:4-o%4;return[o,r]}function He(n){var e=ie(n),o=e[0],r=e[1];return(o+r)*3/4-r}function Xe(n,e,o){return(e+o)*3/4-o}function Ve(n){var e,o=ie(n),r=o[0],a=o[1],t=new qe(Xe(n,r,a)),p=0,i=a>0?r-4:r,c;for(c=0;c<i;c+=4)e=v[n.charCodeAt(c)]<<18|v[n.charCodeAt(c+1)]<<12|v[n.charCodeAt(c+2)]<<6|v[n.charCodeAt(c+3)],t[p++]=e>>16&255,t[p++]=e>>8&255,t[p++]=e&255;return a===2&&(e=v[n.charCodeAt(c)]<<2|v[n.charCodeAt(c+1)]>>4,t[p++]=e&255),a===1&&(e=v[n.charCodeAt(c)]<<10|v[n.charCodeAt(c+1)]<<4|v[n.charCodeAt(c+2)]>>2,t[p++]=e>>8&255,t[p++]=e&255),t}function Ye(n){return I[n>>18&63]+I[n>>12&63]+I[n>>6&63]+I[n&63]}function Ke(n,e,o){for(var r,a=[],t=e;t<o;t+=3)r=(n[t]<<16&16711680)+(n[t+1]<<8&65280)+(n[t+2]&255),a.push(Ye(r));return a.join("")}function Qe(n){for(var e,o=n.length,r=o%3,a=[],t=16383,p=0,i=o-r;p<i;p+=t)a.push(Ke(n,p,p+t>i?i:p+t));return r===1?(e=n[o-1],a.push(I[e>>2]+I[e<<4&63]+"==")):r===2&&(e=(n[o-2]<<8)+n[o-1],a.push(I[e>>10]+I[e>>4&63]+I[e<<2&63]+"=")),a.join("")}});var me=G(K=>{m();K.read=function(n,e,o,r,a){var t,p,i=a*8-r-1,c=(1<<i)-1,s=c>>1,d=-7,l=o?a-1:0,T=o?-1:1,k=n[e+l];for(l+=T,t=k&(1<<-d)-1,k>>=-d,d+=i;d>0;t=t*256+n[e+l],l+=T,d-=8);for(p=t&(1<<-d)-1,t>>=-d,d+=r;d>0;p=p*256+n[e+l],l+=T,d-=8);if(t===0)t=1-s;else{if(t===c)return p?NaN:(k?-1:1)*(1/0);p=p+Math.pow(2,r),t=t-s}return(k?-1:1)*p*Math.pow(2,t-r)};K.write=function(n,e,o,r,a,t){var p,i,c,s=t*8-a-1,d=(1<<s)-1,l=d>>1,T=a===23?Math.pow(2,-24)-Math.pow(2,-77):0,k=r?0:t-1,M=r?1:-1,Be=e<0||e===0&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(i=isNaN(e)?1:0,p=d):(p=Math.floor(Math.log(e)/Math.LN2),e*(c=Math.pow(2,-p))<1&&(p--,c*=2),p+l>=1?e+=T/c:e+=T*Math.pow(2,1-l),e*c>=2&&(p++,c/=2),p+l>=d?(i=0,p=d):p+l>=1?(i=(e*c-1)*Math.pow(2,a),p=p+l):(i=e*Math.pow(2,l-1)*Math.pow(2,a),p=0));a>=8;n[o+k]=i&255,k+=M,i/=256,a-=8);for(p=p<<a|i,s+=a;s>0;n[o+k]=p&255,k+=M,p/=256,s-=8);n[o+k-M]|=Be*128}});var ve=G(P=>{"use strict";m();var Q=ce(),O=me(),de=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;P.Buffer=_;P.SlowBuffer=no;P.INSPECT_MAX_BYTES=50;var H=2147483647;P.kMaxLength=H;_.TYPED_ARRAY_SUPPORT=Je();!_.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 Je(){try{var n=new Uint8Array(1),e={foo:function(){return 42}};return Object.setPrototypeOf(e,Uint8Array.prototype),Object.setPrototypeOf(n,e),n.foo()===42}catch(o){return!1}}Object.defineProperty(_.prototype,"parent",{enumerable:!0,get:function(){if(!!_.isBuffer(this))return this.buffer}});Object.defineProperty(_.prototype,"offset",{enumerable:!0,get:function(){if(!!_.isBuffer(this))return this.byteOffset}});function N(n){if(n>H)throw new RangeError('The value "'+n+'" is invalid for option "size"');var e=new Uint8Array(n);return Object.setPrototypeOf(e,_.prototype),e}function _(n,e,o){if(typeof n=="number"){if(typeof e=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return ee(n)}return ge(n,e,o)}_.poolSize=8192;function ge(n,e,o){if(typeof n=="string")return $e(n,e);if(ArrayBuffer.isView(n))return eo(n);if(n==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof n);if(S(n,ArrayBuffer)||n&&S(n.buffer,ArrayBuffer)||typeof SharedArrayBuffer!="undefined"&&(S(n,SharedArrayBuffer)||n&&S(n.buffer,SharedArrayBuffer)))return Z(n,e,o);if(typeof n=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var r=n.valueOf&&n.valueOf();if(r!=null&&r!==n)return _.from(r,e,o);var a=oo(n);if(a)return a;if(typeof Symbol!="undefined"&&Symbol.toPrimitive!=null&&typeof n[Symbol.toPrimitive]=="function")return _.from(n[Symbol.toPrimitive]("string"),e,o);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof n)}_.from=function(n,e,o){return ge(n,e,o)};Object.setPrototypeOf(_.prototype,Uint8Array.prototype);Object.setPrototypeOf(_,Uint8Array);function ue(n){if(typeof n!="number")throw new TypeError('"size" argument must be of type number');if(n<0)throw new RangeError('The value "'+n+'" is invalid for option "size"')}function Ze(n,e,o){return ue(n),n<=0?N(n):e!==void 0?typeof o=="string"?N(n).fill(e,o):N(n).fill(e):N(n)}_.alloc=function(n,e,o){return Ze(n,e,o)};function ee(n){return ue(n),N(n<0?0:oe(n)|0)}_.allocUnsafe=function(n){return ee(n)};_.allocUnsafeSlow=function(n){return ee(n)};function $e(n,e){if((typeof e!="string"||e==="")&&(e="utf8"),!_.isEncoding(e))throw new TypeError("Unknown encoding: "+e);var o=fe(n,e)|0,r=N(o),a=r.write(n,e);return a!==o&&(r=r.slice(0,a)),r}function J(n){for(var e=n.length<0?0:oe(n.length)|0,o=N(e),r=0;r<e;r+=1)o[r]=n[r]&255;return o}function eo(n){if(S(n,Uint8Array)){var e=new Uint8Array(n);return Z(e.buffer,e.byteOffset,e.byteLength)}return J(n)}function Z(n,e,o){if(e<0||n.byteLength<e)throw new RangeError('"offset" is outside of buffer bounds');if(n.byteLength<e+(o||0))throw new RangeError('"length" is outside of buffer bounds');var r;return e===void 0&&o===void 0?r=new Uint8Array(n):o===void 0?r=new Uint8Array(n,e):r=new Uint8Array(n,e,o),Object.setPrototypeOf(r,_.prototype),r}function oo(n){if(_.isBuffer(n)){var e=oe(n.length)|0,o=N(e);return o.length===0||n.copy(o,0,0,e),o}if(n.length!==void 0)return typeof n.length!="number"||ne(n.length)?N(0):J(n);if(n.type==="Buffer"&&Array.isArray(n.data))return J(n.data)}function oe(n){if(n>=H)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+H.toString(16)+" bytes");return n|0}function no(n){return+n!=n&&(n=0),_.alloc(+n)}_.isBuffer=function(e){return e!=null&&e._isBuffer===!0&&e!==_.prototype};_.compare=function(e,o){if(S(e,Uint8Array)&&(e=_.from(e,e.offset,e.byteLength)),S(o,Uint8Array)&&(o=_.from(o,o.offset,o.byteLength)),!_.isBuffer(e)||!_.isBuffer(o))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(e===o)return 0;for(var r=e.length,a=o.length,t=0,p=Math.min(r,a);t<p;++t)if(e[t]!==o[t]){r=e[t],a=o[t];break}return r<a?-1:a<r?1:0};_.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}};_.concat=function(e,o){if(!Array.isArray(e))throw new TypeError('"list" argument must be an Array of Buffers');if(e.length===0)return _.alloc(0);var r;if(o===void 0)for(o=0,r=0;r<e.length;++r)o+=e[r].length;var a=_.allocUnsafe(o),t=0;for(r=0;r<e.length;++r){var p=e[r];if(S(p,Uint8Array))t+p.length>a.length?_.from(p).copy(a,t):Uint8Array.prototype.set.call(a,p,t);else if(_.isBuffer(p))p.copy(a,t);else throw new TypeError('"list" argument must be an Array of Buffers');t+=p.length}return a};function fe(n,e){if(_.isBuffer(n))return n.length;if(ArrayBuffer.isView(n)||S(n,ArrayBuffer))return n.byteLength;if(typeof n!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof n);var o=n.length,r=arguments.length>2&&arguments[2]===!0;if(!r&&o===0)return 0;for(var a=!1;;)switch(e){case"ascii":case"latin1":case"binary":return o;case"utf8":case"utf-8":return $(n).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return o*2;case"hex":return o>>>1;case"base64":return ke(n).length;default:if(a)return r?-1:$(n).length;e=(""+e).toLowerCase(),a=!0}}_.byteLength=fe;function ro(n,e,o){var r=!1;if((e===void 0||e<0)&&(e=0),e>this.length||((o===void 0||o>this.length)&&(o=this.length),o<=0)||(o>>>=0,e>>>=0,o<=e))return"";for(n||(n="utf8");;)switch(n){case"hex":return go(this,e,o);case"utf8":case"utf-8":return be(this,e,o);case"ascii":return lo(this,e,o);case"latin1":case"binary":return so(this,e,o);case"base64":return co(this,e,o);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return uo(this,e,o);default:if(r)throw new TypeError("Unknown encoding: "+n);n=(n+"").toLowerCase(),r=!0}}_.prototype._isBuffer=!0;function D(n,e,o){var r=n[e];n[e]=n[o],n[o]=r}_.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 o=0;o<e;o+=2)D(this,o,o+1);return this};_.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 o=0;o<e;o+=4)D(this,o,o+3),D(this,o+1,o+2);return this};_.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 o=0;o<e;o+=8)D(this,o,o+7),D(this,o+1,o+6),D(this,o+2,o+5),D(this,o+3,o+4);return this};_.prototype.toString=function(){var e=this.length;return e===0?"":arguments.length===0?be(this,0,e):ro.apply(this,arguments)};_.prototype.toLocaleString=_.prototype.toString;_.prototype.equals=function(e){if(!_.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e?!0:_.compare(this,e)===0};_.prototype.inspect=function(){var e="",o=P.INSPECT_MAX_BYTES;return e=this.toString("hex",0,o).replace(/(.{2})/g,"$1 ").trim(),this.length>o&&(e+=" ... "),"<Buffer "+e+">"};de&&(_.prototype[de]=_.prototype.inspect);_.prototype.compare=function(e,o,r,a,t){if(S(e,Uint8Array)&&(e=_.from(e,e.offset,e.byteLength)),!_.isBuffer(e))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof e);if(o===void 0&&(o=0),r===void 0&&(r=e?e.length:0),a===void 0&&(a=0),t===void 0&&(t=this.length),o<0||r>e.length||a<0||t>this.length)throw new RangeError("out of range index");if(a>=t&&o>=r)return 0;if(a>=t)return-1;if(o>=r)return 1;if(o>>>=0,r>>>=0,a>>>=0,t>>>=0,this===e)return 0;for(var p=t-a,i=r-o,c=Math.min(p,i),s=this.slice(a,t),d=e.slice(o,r),l=0;l<c;++l)if(s[l]!==d[l]){p=s[l],i=d[l];break}return p<i?-1:i<p?1:0};function he(n,e,o,r,a){if(n.length===0)return-1;if(typeof o=="string"?(r=o,o=0):o>2147483647?o=2147483647:o<-2147483648&&(o=-2147483648),o=+o,ne(o)&&(o=a?0:n.length-1),o<0&&(o=n.length+o),o>=n.length){if(a)return-1;o=n.length-1}else if(o<0)if(a)o=0;else return-1;if(typeof e=="string"&&(e=_.from(e,r)),_.isBuffer(e))return e.length===0?-1:le(n,e,o,r,a);if(typeof e=="number")return e=e&255,typeof Uint8Array.prototype.indexOf=="function"?a?Uint8Array.prototype.indexOf.call(n,e,o):Uint8Array.prototype.lastIndexOf.call(n,e,o):le(n,[e],o,r,a);throw new TypeError("val must be string, number or Buffer")}function le(n,e,o,r,a){var t=1,p=n.length,i=e.length;if(r!==void 0&&(r=String(r).toLowerCase(),r==="ucs2"||r==="ucs-2"||r==="utf16le"||r==="utf-16le")){if(n.length<2||e.length<2)return-1;t=2,p/=2,i/=2,o/=2}function c(k,M){return t===1?k[M]:k.readUInt16BE(M*t)}var s;if(a){var d=-1;for(s=o;s<p;s++)if(c(n,s)===c(e,d===-1?0:s-d)){if(d===-1&&(d=s),s-d+1===i)return d*t}else d!==-1&&(s-=s-d),d=-1}else for(o+i>p&&(o=p-i),s=o;s>=0;s--){for(var l=!0,T=0;T<i;T++)if(c(n,s+T)!==c(e,T)){l=!1;break}if(l)return s}return-1}_.prototype.includes=function(e,o,r){return this.indexOf(e,o,r)!==-1};_.prototype.indexOf=function(e,o,r){return he(this,e,o,r,!0)};_.prototype.lastIndexOf=function(e,o,r){return he(this,e,o,r,!1)};function ao(n,e,o,r){o=Number(o)||0;var a=n.length-o;r?(r=Number(r),r>a&&(r=a)):r=a;var t=e.length;r>t/2&&(r=t/2);for(var p=0;p<r;++p){var i=parseInt(e.substr(p*2,2),16);if(ne(i))return p;n[o+p]=i}return p}function to(n,e,o,r){return X($(e,n.length-o),n,o,r)}function po(n,e,o,r){return X(bo(e),n,o,r)}function _o(n,e,o,r){return X(ke(e),n,o,r)}function io(n,e,o,r){return X(xo(e,n.length-o),n,o,r)}_.prototype.write=function(e,o,r,a){if(o===void 0)a="utf8",r=this.length,o=0;else if(r===void 0&&typeof o=="string")a=o,r=this.length,o=0;else if(isFinite(o))o=o>>>0,isFinite(r)?(r=r>>>0,a===void 0&&(a="utf8")):(a=r,r=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var t=this.length-o;if((r===void 0||r>t)&&(r=t),e.length>0&&(r<0||o<0)||o>this.length)throw new RangeError("Attempt to write outside buffer bounds");a||(a="utf8");for(var p=!1;;)switch(a){case"hex":return ao(this,e,o,r);case"utf8":case"utf-8":return to(this,e,o,r);case"ascii":case"latin1":case"binary":return po(this,e,o,r);case"base64":return _o(this,e,o,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return io(this,e,o,r);default:if(p)throw new TypeError("Unknown encoding: "+a);a=(""+a).toLowerCase(),p=!0}};_.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function co(n,e,o){return e===0&&o===n.length?Q.fromByteArray(n):Q.fromByteArray(n.slice(e,o))}function be(n,e,o){o=Math.min(n.length,o);for(var r=[],a=e;a<o;){var t=n[a],p=null,i=t>239?4:t>223?3:t>191?2:1;if(a+i<=o){var c,s,d,l;switch(i){case 1:t<128&&(p=t);break;case 2:c=n[a+1],(c&192)===128&&(l=(t&31)<<6|c&63,l>127&&(p=l));break;case 3:c=n[a+1],s=n[a+2],(c&192)===128&&(s&192)===128&&(l=(t&15)<<12|(c&63)<<6|s&63,l>2047&&(l<55296||l>57343)&&(p=l));break;case 4:c=n[a+1],s=n[a+2],d=n[a+3],(c&192)===128&&(s&192)===128&&(d&192)===128&&(l=(t&15)<<18|(c&63)<<12|(s&63)<<6|d&63,l>65535&&l<1114112&&(p=l))}}p===null?(p=65533,i=1):p>65535&&(p-=65536,r.push(p>>>10&1023|55296),p=56320|p&1023),r.push(p),a+=i}return mo(r)}var se=4096;function mo(n){var e=n.length;if(e<=se)return String.fromCharCode.apply(String,n);for(var o="",r=0;r<e;)o+=String.fromCharCode.apply(String,n.slice(r,r+=se));return o}function lo(n,e,o){var r="";o=Math.min(n.length,o);for(var a=e;a<o;++a)r+=String.fromCharCode(n[a]&127);return r}function so(n,e,o){var r="";o=Math.min(n.length,o);for(var a=e;a<o;++a)r+=String.fromCharCode(n[a]);return r}function go(n,e,o){var r=n.length;(!e||e<0)&&(e=0),(!o||o<0||o>r)&&(o=r);for(var a="",t=e;t<o;++t)a+=yo[n[t]];return a}function uo(n,e,o){for(var r=n.slice(e,o),a="",t=0;t<r.length-1;t+=2)a+=String.fromCharCode(r[t]+r[t+1]*256);return a}_.prototype.slice=function(e,o){var r=this.length;e=~~e,o=o===void 0?r:~~o,e<0?(e+=r,e<0&&(e=0)):e>r&&(e=r),o<0?(o+=r,o<0&&(o=0)):o>r&&(o=r),o<e&&(o=e);var a=this.subarray(e,o);return Object.setPrototypeOf(a,_.prototype),a};function y(n,e,o){if(n%1!==0||n<0)throw new RangeError("offset is not uint");if(n+e>o)throw new RangeError("Trying to access beyond buffer length")}_.prototype.readUintLE=_.prototype.readUIntLE=function(e,o,r){e=e>>>0,o=o>>>0,r||y(e,o,this.length);for(var a=this[e],t=1,p=0;++p<o&&(t*=256);)a+=this[e+p]*t;return a};_.prototype.readUintBE=_.prototype.readUIntBE=function(e,o,r){e=e>>>0,o=o>>>0,r||y(e,o,this.length);for(var a=this[e+--o],t=1;o>0&&(t*=256);)a+=this[e+--o]*t;return a};_.prototype.readUint8=_.prototype.readUInt8=function(e,o){return e=e>>>0,o||y(e,1,this.length),this[e]};_.prototype.readUint16LE=_.prototype.readUInt16LE=function(e,o){return e=e>>>0,o||y(e,2,this.length),this[e]|this[e+1]<<8};_.prototype.readUint16BE=_.prototype.readUInt16BE=function(e,o){return e=e>>>0,o||y(e,2,this.length),this[e]<<8|this[e+1]};_.prototype.readUint32LE=_.prototype.readUInt32LE=function(e,o){return e=e>>>0,o||y(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+this[e+3]*16777216};_.prototype.readUint32BE=_.prototype.readUInt32BE=function(e,o){return e=e>>>0,o||y(e,4,this.length),this[e]*16777216+(this[e+1]<<16|this[e+2]<<8|this[e+3])};_.prototype.readIntLE=function(e,o,r){e=e>>>0,o=o>>>0,r||y(e,o,this.length);for(var a=this[e],t=1,p=0;++p<o&&(t*=256);)a+=this[e+p]*t;return t*=128,a>=t&&(a-=Math.pow(2,8*o)),a};_.prototype.readIntBE=function(e,o,r){e=e>>>0,o=o>>>0,r||y(e,o,this.length);for(var a=o,t=1,p=this[e+--a];a>0&&(t*=256);)p+=this[e+--a]*t;return t*=128,p>=t&&(p-=Math.pow(2,8*o)),p};_.prototype.readInt8=function(e,o){return e=e>>>0,o||y(e,1,this.length),this[e]&128?(255-this[e]+1)*-1:this[e]};_.prototype.readInt16LE=function(e,o){e=e>>>0,o||y(e,2,this.length);var r=this[e]|this[e+1]<<8;return r&32768?r|4294901760:r};_.prototype.readInt16BE=function(e,o){e=e>>>0,o||y(e,2,this.length);var r=this[e+1]|this[e]<<8;return r&32768?r|4294901760:r};_.prototype.readInt32LE=function(e,o){return e=e>>>0,o||y(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24};_.prototype.readInt32BE=function(e,o){return e=e>>>0,o||y(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]};_.prototype.readFloatLE=function(e,o){return e=e>>>0,o||y(e,4,this.length),O.read(this,e,!0,23,4)};_.prototype.readFloatBE=function(e,o){return e=e>>>0,o||y(e,4,this.length),O.read(this,e,!1,23,4)};_.prototype.readDoubleLE=function(e,o){return e=e>>>0,o||y(e,8,this.length),O.read(this,e,!0,52,8)};_.prototype.readDoubleBE=function(e,o){return e=e>>>0,o||y(e,8,this.length),O.read(this,e,!1,52,8)};function w(n,e,o,r,a,t){if(!_.isBuffer(n))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>a||e<t)throw new RangeError('"value" argument is out of bounds');if(o+r>n.length)throw new RangeError("Index out of range")}_.prototype.writeUintLE=_.prototype.writeUIntLE=function(e,o,r,a){if(e=+e,o=o>>>0,r=r>>>0,!a){var t=Math.pow(2,8*r)-1;w(this,e,o,r,t,0)}var p=1,i=0;for(this[o]=e&255;++i<r&&(p*=256);)this[o+i]=e/p&255;return o+r};_.prototype.writeUintBE=_.prototype.writeUIntBE=function(e,o,r,a){if(e=+e,o=o>>>0,r=r>>>0,!a){var t=Math.pow(2,8*r)-1;w(this,e,o,r,t,0)}var p=r-1,i=1;for(this[o+p]=e&255;--p>=0&&(i*=256);)this[o+p]=e/i&255;return o+r};_.prototype.writeUint8=_.prototype.writeUInt8=function(e,o,r){return e=+e,o=o>>>0,r||w(this,e,o,1,255,0),this[o]=e&255,o+1};_.prototype.writeUint16LE=_.prototype.writeUInt16LE=function(e,o,r){return e=+e,o=o>>>0,r||w(this,e,o,2,65535,0),this[o]=e&255,this[o+1]=e>>>8,o+2};_.prototype.writeUint16BE=_.prototype.writeUInt16BE=function(e,o,r){return e=+e,o=o>>>0,r||w(this,e,o,2,65535,0),this[o]=e>>>8,this[o+1]=e&255,o+2};_.prototype.writeUint32LE=_.prototype.writeUInt32LE=function(e,o,r){return e=+e,o=o>>>0,r||w(this,e,o,4,4294967295,0),this[o+3]=e>>>24,this[o+2]=e>>>16,this[o+1]=e>>>8,this[o]=e&255,o+4};_.prototype.writeUint32BE=_.prototype.writeUInt32BE=function(e,o,r){return e=+e,o=o>>>0,r||w(this,e,o,4,4294967295,0),this[o]=e>>>24,this[o+1]=e>>>16,this[o+2]=e>>>8,this[o+3]=e&255,o+4};_.prototype.writeIntLE=function(e,o,r,a){if(e=+e,o=o>>>0,!a){var t=Math.pow(2,8*r-1);w(this,e,o,r,t-1,-t)}var p=0,i=1,c=0;for(this[o]=e&255;++p<r&&(i*=256);)e<0&&c===0&&this[o+p-1]!==0&&(c=1),this[o+p]=(e/i>>0)-c&255;return o+r};_.prototype.writeIntBE=function(e,o,r,a){if(e=+e,o=o>>>0,!a){var t=Math.pow(2,8*r-1);w(this,e,o,r,t-1,-t)}var p=r-1,i=1,c=0;for(this[o+p]=e&255;--p>=0&&(i*=256);)e<0&&c===0&&this[o+p+1]!==0&&(c=1),this[o+p]=(e/i>>0)-c&255;return o+r};_.prototype.writeInt8=function(e,o,r){return e=+e,o=o>>>0,r||w(this,e,o,1,127,-128),e<0&&(e=255+e+1),this[o]=e&255,o+1};_.prototype.writeInt16LE=function(e,o,r){return e=+e,o=o>>>0,r||w(this,e,o,2,32767,-32768),this[o]=e&255,this[o+1]=e>>>8,o+2};_.prototype.writeInt16BE=function(e,o,r){return e=+e,o=o>>>0,r||w(this,e,o,2,32767,-32768),this[o]=e>>>8,this[o+1]=e&255,o+2};_.prototype.writeInt32LE=function(e,o,r){return e=+e,o=o>>>0,r||w(this,e,o,4,2147483647,-2147483648),this[o]=e&255,this[o+1]=e>>>8,this[o+2]=e>>>16,this[o+3]=e>>>24,o+4};_.prototype.writeInt32BE=function(e,o,r){return e=+e,o=o>>>0,r||w(this,e,o,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),this[o]=e>>>24,this[o+1]=e>>>16,this[o+2]=e>>>8,this[o+3]=e&255,o+4};function xe(n,e,o,r,a,t){if(o+r>n.length)throw new RangeError("Index out of range");if(o<0)throw new RangeError("Index out of range")}function ye(n,e,o,r,a){return e=+e,o=o>>>0,a||xe(n,e,o,4,34028234663852886e22,-34028234663852886e22),O.write(n,e,o,r,23,4),o+4}_.prototype.writeFloatLE=function(e,o,r){return ye(this,e,o,!0,r)};_.prototype.writeFloatBE=function(e,o,r){return ye(this,e,o,!1,r)};function we(n,e,o,r,a){return e=+e,o=o>>>0,a||xe(n,e,o,8,17976931348623157e292,-17976931348623157e292),O.write(n,e,o,r,52,8),o+8}_.prototype.writeDoubleLE=function(e,o,r){return we(this,e,o,!0,r)};_.prototype.writeDoubleBE=function(e,o,r){return we(this,e,o,!1,r)};_.prototype.copy=function(e,o,r,a){if(!_.isBuffer(e))throw new TypeError("argument should be a Buffer");if(r||(r=0),!a&&a!==0&&(a=this.length),o>=e.length&&(o=e.length),o||(o=0),a>0&&a<r&&(a=r),a===r||e.length===0||this.length===0)return 0;if(o<0)throw new RangeError("targetStart out of bounds");if(r<0||r>=this.length)throw new RangeError("Index out of range");if(a<0)throw new RangeError("sourceEnd out of bounds");a>this.length&&(a=this.length),e.length-o<a-r&&(a=e.length-o+r);var t=a-r;return this===e&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(o,r,a):Uint8Array.prototype.set.call(e,this.subarray(r,a),o),t};_.prototype.fill=function(e,o,r,a){if(typeof e=="string"){if(typeof o=="string"?(a=o,o=0,r=this.length):typeof r=="string"&&(a=r,r=this.length),a!==void 0&&typeof a!="string")throw new TypeError("encoding must be a string");if(typeof a=="string"&&!_.isEncoding(a))throw new TypeError("Unknown encoding: "+a);if(e.length===1){var t=e.charCodeAt(0);(a==="utf8"&&t<128||a==="latin1")&&(e=t)}}else typeof e=="number"?e=e&255:typeof e=="boolean"&&(e=Number(e));if(o<0||this.length<o||this.length<r)throw new RangeError("Out of range index");if(r<=o)return this;o=o>>>0,r=r===void 0?this.length:r>>>0,e||(e=0);var p;if(typeof e=="number")for(p=o;p<r;++p)this[p]=e;else{var i=_.isBuffer(e)?e:_.from(e,a),c=i.length;if(c===0)throw new TypeError('The value "'+e+'" is invalid for argument "value"');for(p=0;p<r-o;++p)this[p+o]=i[p%c]}return this};var fo=/[^+/0-9A-Za-z-_]/g;function ho(n){if(n=n.split("=")[0],n=n.trim().replace(fo,""),n.length<2)return"";for(;n.length%4!==0;)n=n+"=";return n}function $(n,e){e=e||1/0;for(var o,r=n.length,a=null,t=[],p=0;p<r;++p){if(o=n.charCodeAt(p),o>55295&&o<57344){if(!a){if(o>56319){(e-=3)>-1&&t.push(239,191,189);continue}else if(p+1===r){(e-=3)>-1&&t.push(239,191,189);continue}a=o;continue}if(o<56320){(e-=3)>-1&&t.push(239,191,189),a=o;continue}o=(a-55296<<10|o-56320)+65536}else a&&(e-=3)>-1&&t.push(239,191,189);if(a=null,o<128){if((e-=1)<0)break;t.push(o)}else if(o<2048){if((e-=2)<0)break;t.push(o>>6|192,o&63|128)}else if(o<65536){if((e-=3)<0)break;t.push(o>>12|224,o>>6&63|128,o&63|128)}else if(o<1114112){if((e-=4)<0)break;t.push(o>>18|240,o>>12&63|128,o>>6&63|128,o&63|128)}else throw new Error("Invalid code point")}return t}function bo(n){for(var e=[],o=0;o<n.length;++o)e.push(n.charCodeAt(o)&255);return e}function xo(n,e){for(var o,r,a,t=[],p=0;p<n.length&&!((e-=2)<0);++p)o=n.charCodeAt(p),r=o>>8,a=o%256,t.push(a),t.push(r);return t}function ke(n){return Q.toByteArray(ho(n))}function X(n,e,o,r){for(var a=0;a<r&&!(a+o>=e.length||a>=n.length);++a)e[a+o]=n[a];return a}function S(n,e){return n instanceof e||n!=null&&n.constructor!=null&&n.constructor.name!=null&&n.constructor.name===e.name}function ne(n){return n!==n}var yo=function(){for(var n="0123456789abcdef",e=new Array(256),o=0;o<16;++o)for(var r=o*16,a=0;a<16;++a)e[r+a]=n[o]+n[a];return e}()});var Ee=G((Ro,Ae)=>{m();var x=Ae.exports={},A,E;function re(){throw new Error("setTimeout has not been defined")}function ae(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?A=setTimeout:A=re}catch(n){A=re}try{typeof clearTimeout=="function"?E=clearTimeout:E=ae}catch(n){E=ae}})();function Te(n){if(A===setTimeout)return setTimeout(n,0);if((A===re||!A)&&setTimeout)return A=setTimeout,setTimeout(n,0);try{return A(n,0)}catch(e){try{return A.call(null,n,0)}catch(o){return A.call(this,n,0)}}}function wo(n){if(E===clearTimeout)return clearTimeout(n);if((E===ae||!E)&&clearTimeout)return E=clearTimeout,clearTimeout(n);try{return E(n)}catch(e){try{return E.call(null,n)}catch(o){return E.call(this,n)}}}var R=[],z=!1,B,V=-1;function ko(){!z||!B||(z=!1,B.length?R=B.concat(R):V=-1,R.length&&Ie())}function Ie(){if(!z){var n=Te(ko);z=!0;for(var e=R.length;e;){for(B=R,R=[];++V<e;)B&&B[V].run();V=-1,e=R.length}B=null,z=!1,wo(n)}}x.nextTick=function(n){var e=new Array(arguments.length-1);if(arguments.length>1)for(var o=1;o<arguments.length;o++)e[o-1]=arguments[o];R.push(new Se(n,e)),R.length===1&&!z&&Te(Ie)};function Se(n,e){this.fun=n,this.array=e}Se.prototype.run=function(){this.fun.apply(null,this.array)};x.title="browser";x.browser=!0;x.env={};x.argv=[];x.version="";x.versions={};function C(){}x.on=C;x.addListener=C;x.once=C;x.off=C;x.removeListener=C;x.removeAllListeners=C;x.emit=C;x.prependListener=C;x.prependOnceListener=C;x.listeners=function(n){return[]};x.binding=function(n){throw new Error("process.binding is not supported")};x.cwd=function(){return"/"};x.chdir=function(n){throw new Error("process.chdir is not supported")};x.umask=function(){return 0}});var u,f,Co,m=je(()=>{u=W(ve()),f=W(Ee()),Co=function(n){function e(){var r=this||self;return delete n.prototype.__magic__,r}if(typeof globalThis=="object")return globalThis;if(this)return e();n.defineProperty(n.prototype,"__magic__",{configurable:!0,get:e});var o=__magic__;return o}(Object)});var So={};Ge(So,{TransactionData:()=>Io});module.exports=We(So);m();var b=W(require("react")),U=W(require("classnames"));m();var vo=`.dapp-core-component__main__link-style {
|
|
1
|
+
"use strict";var Ue=Object.create;var j=Object.defineProperty;var Me=Object.getOwnPropertyDescriptor;var Oe=Object.getOwnPropertyNames;var Pe=Object.getPrototypeOf,ze=Object.prototype.hasOwnProperty;var je=(n,e)=>()=>(n&&(e=n(n=0)),e);var G=(n,e)=>()=>(e||n((e={exports:{}}).exports,e),e.exports),Ge=(n,e)=>{for(var o in e)j(n,o,{get:e[o],enumerable:!0})},pe=(n,e,o,r)=>{if(e&&typeof e=="object"||typeof e=="function")for(let a of Oe(e))!ze.call(n,a)&&a!==o&&j(n,a,{get:()=>e[a],enumerable:!(r=Me(e,a))||r.enumerable});return n};var W=(n,e,o)=>(o=n!=null?Ue(Pe(n)):{},pe(e||!n||!n.__esModule?j(o,"default",{value:n,enumerable:!0}):o,n)),We=n=>pe(j({},"__esModule",{value:!0}),n);var ce=G(q=>{"use strict";m();q.byteLength=He;q.toByteArray=Xe;q.fromByteArray=Qe;var I=[],v=[],qe=typeof Uint8Array!="undefined"?Uint8Array:Array,Y="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(F=0,_e=Y.length;F<_e;++F)I[F]=Y[F],v[Y.charCodeAt(F)]=F;var F,_e;v["-".charCodeAt(0)]=62;v["_".charCodeAt(0)]=63;function ie(n){var e=n.length;if(e%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var o=n.indexOf("=");o===-1&&(o=e);var r=o===e?0:4-o%4;return[o,r]}function He(n){var e=ie(n),o=e[0],r=e[1];return(o+r)*3/4-r}function Ve(n,e,o){return(e+o)*3/4-o}function Xe(n){var e,o=ie(n),r=o[0],a=o[1],t=new qe(Ve(n,r,a)),p=0,i=a>0?r-4:r,c;for(c=0;c<i;c+=4)e=v[n.charCodeAt(c)]<<18|v[n.charCodeAt(c+1)]<<12|v[n.charCodeAt(c+2)]<<6|v[n.charCodeAt(c+3)],t[p++]=e>>16&255,t[p++]=e>>8&255,t[p++]=e&255;return a===2&&(e=v[n.charCodeAt(c)]<<2|v[n.charCodeAt(c+1)]>>4,t[p++]=e&255),a===1&&(e=v[n.charCodeAt(c)]<<10|v[n.charCodeAt(c+1)]<<4|v[n.charCodeAt(c+2)]>>2,t[p++]=e>>8&255,t[p++]=e&255),t}function Ye(n){return I[n>>18&63]+I[n>>12&63]+I[n>>6&63]+I[n&63]}function Ke(n,e,o){for(var r,a=[],t=e;t<o;t+=3)r=(n[t]<<16&16711680)+(n[t+1]<<8&65280)+(n[t+2]&255),a.push(Ye(r));return a.join("")}function Qe(n){for(var e,o=n.length,r=o%3,a=[],t=16383,p=0,i=o-r;p<i;p+=t)a.push(Ke(n,p,p+t>i?i:p+t));return r===1?(e=n[o-1],a.push(I[e>>2]+I[e<<4&63]+"==")):r===2&&(e=(n[o-2]<<8)+n[o-1],a.push(I[e>>10]+I[e>>4&63]+I[e<<2&63]+"=")),a.join("")}});var me=G(K=>{m();K.read=function(n,e,o,r,a){var t,p,i=a*8-r-1,c=(1<<i)-1,s=c>>1,d=-7,l=o?a-1:0,T=o?-1:1,k=n[e+l];for(l+=T,t=k&(1<<-d)-1,k>>=-d,d+=i;d>0;t=t*256+n[e+l],l+=T,d-=8);for(p=t&(1<<-d)-1,t>>=-d,d+=r;d>0;p=p*256+n[e+l],l+=T,d-=8);if(t===0)t=1-s;else{if(t===c)return p?NaN:(k?-1:1)*(1/0);p=p+Math.pow(2,r),t=t-s}return(k?-1:1)*p*Math.pow(2,t-r)};K.write=function(n,e,o,r,a,t){var p,i,c,s=t*8-a-1,d=(1<<s)-1,l=d>>1,T=a===23?Math.pow(2,-24)-Math.pow(2,-77):0,k=r?0:t-1,M=r?1:-1,Be=e<0||e===0&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(i=isNaN(e)?1:0,p=d):(p=Math.floor(Math.log(e)/Math.LN2),e*(c=Math.pow(2,-p))<1&&(p--,c*=2),p+l>=1?e+=T/c:e+=T*Math.pow(2,1-l),e*c>=2&&(p++,c/=2),p+l>=d?(i=0,p=d):p+l>=1?(i=(e*c-1)*Math.pow(2,a),p=p+l):(i=e*Math.pow(2,l-1)*Math.pow(2,a),p=0));a>=8;n[o+k]=i&255,k+=M,i/=256,a-=8);for(p=p<<a|i,s+=a;s>0;n[o+k]=p&255,k+=M,p/=256,s-=8);n[o+k-M]|=Be*128}});var ve=G(P=>{"use strict";m();var Q=ce(),O=me(),de=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;P.Buffer=_;P.SlowBuffer=no;P.INSPECT_MAX_BYTES=50;var H=2147483647;P.kMaxLength=H;_.TYPED_ARRAY_SUPPORT=Je();!_.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 Je(){try{var n=new Uint8Array(1),e={foo:function(){return 42}};return Object.setPrototypeOf(e,Uint8Array.prototype),Object.setPrototypeOf(n,e),n.foo()===42}catch(o){return!1}}Object.defineProperty(_.prototype,"parent",{enumerable:!0,get:function(){if(!!_.isBuffer(this))return this.buffer}});Object.defineProperty(_.prototype,"offset",{enumerable:!0,get:function(){if(!!_.isBuffer(this))return this.byteOffset}});function N(n){if(n>H)throw new RangeError('The value "'+n+'" is invalid for option "size"');var e=new Uint8Array(n);return Object.setPrototypeOf(e,_.prototype),e}function _(n,e,o){if(typeof n=="number"){if(typeof e=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return ee(n)}return ge(n,e,o)}_.poolSize=8192;function ge(n,e,o){if(typeof n=="string")return $e(n,e);if(ArrayBuffer.isView(n))return eo(n);if(n==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof n);if(S(n,ArrayBuffer)||n&&S(n.buffer,ArrayBuffer)||typeof SharedArrayBuffer!="undefined"&&(S(n,SharedArrayBuffer)||n&&S(n.buffer,SharedArrayBuffer)))return Z(n,e,o);if(typeof n=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var r=n.valueOf&&n.valueOf();if(r!=null&&r!==n)return _.from(r,e,o);var a=oo(n);if(a)return a;if(typeof Symbol!="undefined"&&Symbol.toPrimitive!=null&&typeof n[Symbol.toPrimitive]=="function")return _.from(n[Symbol.toPrimitive]("string"),e,o);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof n)}_.from=function(n,e,o){return ge(n,e,o)};Object.setPrototypeOf(_.prototype,Uint8Array.prototype);Object.setPrototypeOf(_,Uint8Array);function ue(n){if(typeof n!="number")throw new TypeError('"size" argument must be of type number');if(n<0)throw new RangeError('The value "'+n+'" is invalid for option "size"')}function Ze(n,e,o){return ue(n),n<=0?N(n):e!==void 0?typeof o=="string"?N(n).fill(e,o):N(n).fill(e):N(n)}_.alloc=function(n,e,o){return Ze(n,e,o)};function ee(n){return ue(n),N(n<0?0:oe(n)|0)}_.allocUnsafe=function(n){return ee(n)};_.allocUnsafeSlow=function(n){return ee(n)};function $e(n,e){if((typeof e!="string"||e==="")&&(e="utf8"),!_.isEncoding(e))throw new TypeError("Unknown encoding: "+e);var o=fe(n,e)|0,r=N(o),a=r.write(n,e);return a!==o&&(r=r.slice(0,a)),r}function J(n){for(var e=n.length<0?0:oe(n.length)|0,o=N(e),r=0;r<e;r+=1)o[r]=n[r]&255;return o}function eo(n){if(S(n,Uint8Array)){var e=new Uint8Array(n);return Z(e.buffer,e.byteOffset,e.byteLength)}return J(n)}function Z(n,e,o){if(e<0||n.byteLength<e)throw new RangeError('"offset" is outside of buffer bounds');if(n.byteLength<e+(o||0))throw new RangeError('"length" is outside of buffer bounds');var r;return e===void 0&&o===void 0?r=new Uint8Array(n):o===void 0?r=new Uint8Array(n,e):r=new Uint8Array(n,e,o),Object.setPrototypeOf(r,_.prototype),r}function oo(n){if(_.isBuffer(n)){var e=oe(n.length)|0,o=N(e);return o.length===0||n.copy(o,0,0,e),o}if(n.length!==void 0)return typeof n.length!="number"||ne(n.length)?N(0):J(n);if(n.type==="Buffer"&&Array.isArray(n.data))return J(n.data)}function oe(n){if(n>=H)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+H.toString(16)+" bytes");return n|0}function no(n){return+n!=n&&(n=0),_.alloc(+n)}_.isBuffer=function(e){return e!=null&&e._isBuffer===!0&&e!==_.prototype};_.compare=function(e,o){if(S(e,Uint8Array)&&(e=_.from(e,e.offset,e.byteLength)),S(o,Uint8Array)&&(o=_.from(o,o.offset,o.byteLength)),!_.isBuffer(e)||!_.isBuffer(o))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(e===o)return 0;for(var r=e.length,a=o.length,t=0,p=Math.min(r,a);t<p;++t)if(e[t]!==o[t]){r=e[t],a=o[t];break}return r<a?-1:a<r?1:0};_.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}};_.concat=function(e,o){if(!Array.isArray(e))throw new TypeError('"list" argument must be an Array of Buffers');if(e.length===0)return _.alloc(0);var r;if(o===void 0)for(o=0,r=0;r<e.length;++r)o+=e[r].length;var a=_.allocUnsafe(o),t=0;for(r=0;r<e.length;++r){var p=e[r];if(S(p,Uint8Array))t+p.length>a.length?_.from(p).copy(a,t):Uint8Array.prototype.set.call(a,p,t);else if(_.isBuffer(p))p.copy(a,t);else throw new TypeError('"list" argument must be an Array of Buffers');t+=p.length}return a};function fe(n,e){if(_.isBuffer(n))return n.length;if(ArrayBuffer.isView(n)||S(n,ArrayBuffer))return n.byteLength;if(typeof n!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof n);var o=n.length,r=arguments.length>2&&arguments[2]===!0;if(!r&&o===0)return 0;for(var a=!1;;)switch(e){case"ascii":case"latin1":case"binary":return o;case"utf8":case"utf-8":return $(n).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return o*2;case"hex":return o>>>1;case"base64":return ke(n).length;default:if(a)return r?-1:$(n).length;e=(""+e).toLowerCase(),a=!0}}_.byteLength=fe;function ro(n,e,o){var r=!1;if((e===void 0||e<0)&&(e=0),e>this.length||((o===void 0||o>this.length)&&(o=this.length),o<=0)||(o>>>=0,e>>>=0,o<=e))return"";for(n||(n="utf8");;)switch(n){case"hex":return go(this,e,o);case"utf8":case"utf-8":return be(this,e,o);case"ascii":return lo(this,e,o);case"latin1":case"binary":return so(this,e,o);case"base64":return co(this,e,o);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return uo(this,e,o);default:if(r)throw new TypeError("Unknown encoding: "+n);n=(n+"").toLowerCase(),r=!0}}_.prototype._isBuffer=!0;function D(n,e,o){var r=n[e];n[e]=n[o],n[o]=r}_.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 o=0;o<e;o+=2)D(this,o,o+1);return this};_.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 o=0;o<e;o+=4)D(this,o,o+3),D(this,o+1,o+2);return this};_.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 o=0;o<e;o+=8)D(this,o,o+7),D(this,o+1,o+6),D(this,o+2,o+5),D(this,o+3,o+4);return this};_.prototype.toString=function(){var e=this.length;return e===0?"":arguments.length===0?be(this,0,e):ro.apply(this,arguments)};_.prototype.toLocaleString=_.prototype.toString;_.prototype.equals=function(e){if(!_.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e?!0:_.compare(this,e)===0};_.prototype.inspect=function(){var e="",o=P.INSPECT_MAX_BYTES;return e=this.toString("hex",0,o).replace(/(.{2})/g,"$1 ").trim(),this.length>o&&(e+=" ... "),"<Buffer "+e+">"};de&&(_.prototype[de]=_.prototype.inspect);_.prototype.compare=function(e,o,r,a,t){if(S(e,Uint8Array)&&(e=_.from(e,e.offset,e.byteLength)),!_.isBuffer(e))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof e);if(o===void 0&&(o=0),r===void 0&&(r=e?e.length:0),a===void 0&&(a=0),t===void 0&&(t=this.length),o<0||r>e.length||a<0||t>this.length)throw new RangeError("out of range index");if(a>=t&&o>=r)return 0;if(a>=t)return-1;if(o>=r)return 1;if(o>>>=0,r>>>=0,a>>>=0,t>>>=0,this===e)return 0;for(var p=t-a,i=r-o,c=Math.min(p,i),s=this.slice(a,t),d=e.slice(o,r),l=0;l<c;++l)if(s[l]!==d[l]){p=s[l],i=d[l];break}return p<i?-1:i<p?1:0};function he(n,e,o,r,a){if(n.length===0)return-1;if(typeof o=="string"?(r=o,o=0):o>2147483647?o=2147483647:o<-2147483648&&(o=-2147483648),o=+o,ne(o)&&(o=a?0:n.length-1),o<0&&(o=n.length+o),o>=n.length){if(a)return-1;o=n.length-1}else if(o<0)if(a)o=0;else return-1;if(typeof e=="string"&&(e=_.from(e,r)),_.isBuffer(e))return e.length===0?-1:le(n,e,o,r,a);if(typeof e=="number")return e=e&255,typeof Uint8Array.prototype.indexOf=="function"?a?Uint8Array.prototype.indexOf.call(n,e,o):Uint8Array.prototype.lastIndexOf.call(n,e,o):le(n,[e],o,r,a);throw new TypeError("val must be string, number or Buffer")}function le(n,e,o,r,a){var t=1,p=n.length,i=e.length;if(r!==void 0&&(r=String(r).toLowerCase(),r==="ucs2"||r==="ucs-2"||r==="utf16le"||r==="utf-16le")){if(n.length<2||e.length<2)return-1;t=2,p/=2,i/=2,o/=2}function c(k,M){return t===1?k[M]:k.readUInt16BE(M*t)}var s;if(a){var d=-1;for(s=o;s<p;s++)if(c(n,s)===c(e,d===-1?0:s-d)){if(d===-1&&(d=s),s-d+1===i)return d*t}else d!==-1&&(s-=s-d),d=-1}else for(o+i>p&&(o=p-i),s=o;s>=0;s--){for(var l=!0,T=0;T<i;T++)if(c(n,s+T)!==c(e,T)){l=!1;break}if(l)return s}return-1}_.prototype.includes=function(e,o,r){return this.indexOf(e,o,r)!==-1};_.prototype.indexOf=function(e,o,r){return he(this,e,o,r,!0)};_.prototype.lastIndexOf=function(e,o,r){return he(this,e,o,r,!1)};function ao(n,e,o,r){o=Number(o)||0;var a=n.length-o;r?(r=Number(r),r>a&&(r=a)):r=a;var t=e.length;r>t/2&&(r=t/2);for(var p=0;p<r;++p){var i=parseInt(e.substr(p*2,2),16);if(ne(i))return p;n[o+p]=i}return p}function to(n,e,o,r){return V($(e,n.length-o),n,o,r)}function po(n,e,o,r){return V(bo(e),n,o,r)}function _o(n,e,o,r){return V(ke(e),n,o,r)}function io(n,e,o,r){return V(xo(e,n.length-o),n,o,r)}_.prototype.write=function(e,o,r,a){if(o===void 0)a="utf8",r=this.length,o=0;else if(r===void 0&&typeof o=="string")a=o,r=this.length,o=0;else if(isFinite(o))o=o>>>0,isFinite(r)?(r=r>>>0,a===void 0&&(a="utf8")):(a=r,r=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var t=this.length-o;if((r===void 0||r>t)&&(r=t),e.length>0&&(r<0||o<0)||o>this.length)throw new RangeError("Attempt to write outside buffer bounds");a||(a="utf8");for(var p=!1;;)switch(a){case"hex":return ao(this,e,o,r);case"utf8":case"utf-8":return to(this,e,o,r);case"ascii":case"latin1":case"binary":return po(this,e,o,r);case"base64":return _o(this,e,o,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return io(this,e,o,r);default:if(p)throw new TypeError("Unknown encoding: "+a);a=(""+a).toLowerCase(),p=!0}};_.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function co(n,e,o){return e===0&&o===n.length?Q.fromByteArray(n):Q.fromByteArray(n.slice(e,o))}function be(n,e,o){o=Math.min(n.length,o);for(var r=[],a=e;a<o;){var t=n[a],p=null,i=t>239?4:t>223?3:t>191?2:1;if(a+i<=o){var c,s,d,l;switch(i){case 1:t<128&&(p=t);break;case 2:c=n[a+1],(c&192)===128&&(l=(t&31)<<6|c&63,l>127&&(p=l));break;case 3:c=n[a+1],s=n[a+2],(c&192)===128&&(s&192)===128&&(l=(t&15)<<12|(c&63)<<6|s&63,l>2047&&(l<55296||l>57343)&&(p=l));break;case 4:c=n[a+1],s=n[a+2],d=n[a+3],(c&192)===128&&(s&192)===128&&(d&192)===128&&(l=(t&15)<<18|(c&63)<<12|(s&63)<<6|d&63,l>65535&&l<1114112&&(p=l))}}p===null?(p=65533,i=1):p>65535&&(p-=65536,r.push(p>>>10&1023|55296),p=56320|p&1023),r.push(p),a+=i}return mo(r)}var se=4096;function mo(n){var e=n.length;if(e<=se)return String.fromCharCode.apply(String,n);for(var o="",r=0;r<e;)o+=String.fromCharCode.apply(String,n.slice(r,r+=se));return o}function lo(n,e,o){var r="";o=Math.min(n.length,o);for(var a=e;a<o;++a)r+=String.fromCharCode(n[a]&127);return r}function so(n,e,o){var r="";o=Math.min(n.length,o);for(var a=e;a<o;++a)r+=String.fromCharCode(n[a]);return r}function go(n,e,o){var r=n.length;(!e||e<0)&&(e=0),(!o||o<0||o>r)&&(o=r);for(var a="",t=e;t<o;++t)a+=yo[n[t]];return a}function uo(n,e,o){for(var r=n.slice(e,o),a="",t=0;t<r.length-1;t+=2)a+=String.fromCharCode(r[t]+r[t+1]*256);return a}_.prototype.slice=function(e,o){var r=this.length;e=~~e,o=o===void 0?r:~~o,e<0?(e+=r,e<0&&(e=0)):e>r&&(e=r),o<0?(o+=r,o<0&&(o=0)):o>r&&(o=r),o<e&&(o=e);var a=this.subarray(e,o);return Object.setPrototypeOf(a,_.prototype),a};function y(n,e,o){if(n%1!==0||n<0)throw new RangeError("offset is not uint");if(n+e>o)throw new RangeError("Trying to access beyond buffer length")}_.prototype.readUintLE=_.prototype.readUIntLE=function(e,o,r){e=e>>>0,o=o>>>0,r||y(e,o,this.length);for(var a=this[e],t=1,p=0;++p<o&&(t*=256);)a+=this[e+p]*t;return a};_.prototype.readUintBE=_.prototype.readUIntBE=function(e,o,r){e=e>>>0,o=o>>>0,r||y(e,o,this.length);for(var a=this[e+--o],t=1;o>0&&(t*=256);)a+=this[e+--o]*t;return a};_.prototype.readUint8=_.prototype.readUInt8=function(e,o){return e=e>>>0,o||y(e,1,this.length),this[e]};_.prototype.readUint16LE=_.prototype.readUInt16LE=function(e,o){return e=e>>>0,o||y(e,2,this.length),this[e]|this[e+1]<<8};_.prototype.readUint16BE=_.prototype.readUInt16BE=function(e,o){return e=e>>>0,o||y(e,2,this.length),this[e]<<8|this[e+1]};_.prototype.readUint32LE=_.prototype.readUInt32LE=function(e,o){return e=e>>>0,o||y(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+this[e+3]*16777216};_.prototype.readUint32BE=_.prototype.readUInt32BE=function(e,o){return e=e>>>0,o||y(e,4,this.length),this[e]*16777216+(this[e+1]<<16|this[e+2]<<8|this[e+3])};_.prototype.readIntLE=function(e,o,r){e=e>>>0,o=o>>>0,r||y(e,o,this.length);for(var a=this[e],t=1,p=0;++p<o&&(t*=256);)a+=this[e+p]*t;return t*=128,a>=t&&(a-=Math.pow(2,8*o)),a};_.prototype.readIntBE=function(e,o,r){e=e>>>0,o=o>>>0,r||y(e,o,this.length);for(var a=o,t=1,p=this[e+--a];a>0&&(t*=256);)p+=this[e+--a]*t;return t*=128,p>=t&&(p-=Math.pow(2,8*o)),p};_.prototype.readInt8=function(e,o){return e=e>>>0,o||y(e,1,this.length),this[e]&128?(255-this[e]+1)*-1:this[e]};_.prototype.readInt16LE=function(e,o){e=e>>>0,o||y(e,2,this.length);var r=this[e]|this[e+1]<<8;return r&32768?r|4294901760:r};_.prototype.readInt16BE=function(e,o){e=e>>>0,o||y(e,2,this.length);var r=this[e+1]|this[e]<<8;return r&32768?r|4294901760:r};_.prototype.readInt32LE=function(e,o){return e=e>>>0,o||y(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24};_.prototype.readInt32BE=function(e,o){return e=e>>>0,o||y(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]};_.prototype.readFloatLE=function(e,o){return e=e>>>0,o||y(e,4,this.length),O.read(this,e,!0,23,4)};_.prototype.readFloatBE=function(e,o){return e=e>>>0,o||y(e,4,this.length),O.read(this,e,!1,23,4)};_.prototype.readDoubleLE=function(e,o){return e=e>>>0,o||y(e,8,this.length),O.read(this,e,!0,52,8)};_.prototype.readDoubleBE=function(e,o){return e=e>>>0,o||y(e,8,this.length),O.read(this,e,!1,52,8)};function w(n,e,o,r,a,t){if(!_.isBuffer(n))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>a||e<t)throw new RangeError('"value" argument is out of bounds');if(o+r>n.length)throw new RangeError("Index out of range")}_.prototype.writeUintLE=_.prototype.writeUIntLE=function(e,o,r,a){if(e=+e,o=o>>>0,r=r>>>0,!a){var t=Math.pow(2,8*r)-1;w(this,e,o,r,t,0)}var p=1,i=0;for(this[o]=e&255;++i<r&&(p*=256);)this[o+i]=e/p&255;return o+r};_.prototype.writeUintBE=_.prototype.writeUIntBE=function(e,o,r,a){if(e=+e,o=o>>>0,r=r>>>0,!a){var t=Math.pow(2,8*r)-1;w(this,e,o,r,t,0)}var p=r-1,i=1;for(this[o+p]=e&255;--p>=0&&(i*=256);)this[o+p]=e/i&255;return o+r};_.prototype.writeUint8=_.prototype.writeUInt8=function(e,o,r){return e=+e,o=o>>>0,r||w(this,e,o,1,255,0),this[o]=e&255,o+1};_.prototype.writeUint16LE=_.prototype.writeUInt16LE=function(e,o,r){return e=+e,o=o>>>0,r||w(this,e,o,2,65535,0),this[o]=e&255,this[o+1]=e>>>8,o+2};_.prototype.writeUint16BE=_.prototype.writeUInt16BE=function(e,o,r){return e=+e,o=o>>>0,r||w(this,e,o,2,65535,0),this[o]=e>>>8,this[o+1]=e&255,o+2};_.prototype.writeUint32LE=_.prototype.writeUInt32LE=function(e,o,r){return e=+e,o=o>>>0,r||w(this,e,o,4,4294967295,0),this[o+3]=e>>>24,this[o+2]=e>>>16,this[o+1]=e>>>8,this[o]=e&255,o+4};_.prototype.writeUint32BE=_.prototype.writeUInt32BE=function(e,o,r){return e=+e,o=o>>>0,r||w(this,e,o,4,4294967295,0),this[o]=e>>>24,this[o+1]=e>>>16,this[o+2]=e>>>8,this[o+3]=e&255,o+4};_.prototype.writeIntLE=function(e,o,r,a){if(e=+e,o=o>>>0,!a){var t=Math.pow(2,8*r-1);w(this,e,o,r,t-1,-t)}var p=0,i=1,c=0;for(this[o]=e&255;++p<r&&(i*=256);)e<0&&c===0&&this[o+p-1]!==0&&(c=1),this[o+p]=(e/i>>0)-c&255;return o+r};_.prototype.writeIntBE=function(e,o,r,a){if(e=+e,o=o>>>0,!a){var t=Math.pow(2,8*r-1);w(this,e,o,r,t-1,-t)}var p=r-1,i=1,c=0;for(this[o+p]=e&255;--p>=0&&(i*=256);)e<0&&c===0&&this[o+p+1]!==0&&(c=1),this[o+p]=(e/i>>0)-c&255;return o+r};_.prototype.writeInt8=function(e,o,r){return e=+e,o=o>>>0,r||w(this,e,o,1,127,-128),e<0&&(e=255+e+1),this[o]=e&255,o+1};_.prototype.writeInt16LE=function(e,o,r){return e=+e,o=o>>>0,r||w(this,e,o,2,32767,-32768),this[o]=e&255,this[o+1]=e>>>8,o+2};_.prototype.writeInt16BE=function(e,o,r){return e=+e,o=o>>>0,r||w(this,e,o,2,32767,-32768),this[o]=e>>>8,this[o+1]=e&255,o+2};_.prototype.writeInt32LE=function(e,o,r){return e=+e,o=o>>>0,r||w(this,e,o,4,2147483647,-2147483648),this[o]=e&255,this[o+1]=e>>>8,this[o+2]=e>>>16,this[o+3]=e>>>24,o+4};_.prototype.writeInt32BE=function(e,o,r){return e=+e,o=o>>>0,r||w(this,e,o,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),this[o]=e>>>24,this[o+1]=e>>>16,this[o+2]=e>>>8,this[o+3]=e&255,o+4};function xe(n,e,o,r,a,t){if(o+r>n.length)throw new RangeError("Index out of range");if(o<0)throw new RangeError("Index out of range")}function ye(n,e,o,r,a){return e=+e,o=o>>>0,a||xe(n,e,o,4,34028234663852886e22,-34028234663852886e22),O.write(n,e,o,r,23,4),o+4}_.prototype.writeFloatLE=function(e,o,r){return ye(this,e,o,!0,r)};_.prototype.writeFloatBE=function(e,o,r){return ye(this,e,o,!1,r)};function we(n,e,o,r,a){return e=+e,o=o>>>0,a||xe(n,e,o,8,17976931348623157e292,-17976931348623157e292),O.write(n,e,o,r,52,8),o+8}_.prototype.writeDoubleLE=function(e,o,r){return we(this,e,o,!0,r)};_.prototype.writeDoubleBE=function(e,o,r){return we(this,e,o,!1,r)};_.prototype.copy=function(e,o,r,a){if(!_.isBuffer(e))throw new TypeError("argument should be a Buffer");if(r||(r=0),!a&&a!==0&&(a=this.length),o>=e.length&&(o=e.length),o||(o=0),a>0&&a<r&&(a=r),a===r||e.length===0||this.length===0)return 0;if(o<0)throw new RangeError("targetStart out of bounds");if(r<0||r>=this.length)throw new RangeError("Index out of range");if(a<0)throw new RangeError("sourceEnd out of bounds");a>this.length&&(a=this.length),e.length-o<a-r&&(a=e.length-o+r);var t=a-r;return this===e&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(o,r,a):Uint8Array.prototype.set.call(e,this.subarray(r,a),o),t};_.prototype.fill=function(e,o,r,a){if(typeof e=="string"){if(typeof o=="string"?(a=o,o=0,r=this.length):typeof r=="string"&&(a=r,r=this.length),a!==void 0&&typeof a!="string")throw new TypeError("encoding must be a string");if(typeof a=="string"&&!_.isEncoding(a))throw new TypeError("Unknown encoding: "+a);if(e.length===1){var t=e.charCodeAt(0);(a==="utf8"&&t<128||a==="latin1")&&(e=t)}}else typeof e=="number"?e=e&255:typeof e=="boolean"&&(e=Number(e));if(o<0||this.length<o||this.length<r)throw new RangeError("Out of range index");if(r<=o)return this;o=o>>>0,r=r===void 0?this.length:r>>>0,e||(e=0);var p;if(typeof e=="number")for(p=o;p<r;++p)this[p]=e;else{var i=_.isBuffer(e)?e:_.from(e,a),c=i.length;if(c===0)throw new TypeError('The value "'+e+'" is invalid for argument "value"');for(p=0;p<r-o;++p)this[p+o]=i[p%c]}return this};var fo=/[^+/0-9A-Za-z-_]/g;function ho(n){if(n=n.split("=")[0],n=n.trim().replace(fo,""),n.length<2)return"";for(;n.length%4!==0;)n=n+"=";return n}function $(n,e){e=e||1/0;for(var o,r=n.length,a=null,t=[],p=0;p<r;++p){if(o=n.charCodeAt(p),o>55295&&o<57344){if(!a){if(o>56319){(e-=3)>-1&&t.push(239,191,189);continue}else if(p+1===r){(e-=3)>-1&&t.push(239,191,189);continue}a=o;continue}if(o<56320){(e-=3)>-1&&t.push(239,191,189),a=o;continue}o=(a-55296<<10|o-56320)+65536}else a&&(e-=3)>-1&&t.push(239,191,189);if(a=null,o<128){if((e-=1)<0)break;t.push(o)}else if(o<2048){if((e-=2)<0)break;t.push(o>>6|192,o&63|128)}else if(o<65536){if((e-=3)<0)break;t.push(o>>12|224,o>>6&63|128,o&63|128)}else if(o<1114112){if((e-=4)<0)break;t.push(o>>18|240,o>>12&63|128,o>>6&63|128,o&63|128)}else throw new Error("Invalid code point")}return t}function bo(n){for(var e=[],o=0;o<n.length;++o)e.push(n.charCodeAt(o)&255);return e}function xo(n,e){for(var o,r,a,t=[],p=0;p<n.length&&!((e-=2)<0);++p)o=n.charCodeAt(p),r=o>>8,a=o%256,t.push(a),t.push(r);return t}function ke(n){return Q.toByteArray(ho(n))}function V(n,e,o,r){for(var a=0;a<r&&!(a+o>=e.length||a>=n.length);++a)e[a+o]=n[a];return a}function S(n,e){return n instanceof e||n!=null&&n.constructor!=null&&n.constructor.name!=null&&n.constructor.name===e.name}function ne(n){return n!==n}var yo=function(){for(var n="0123456789abcdef",e=new Array(256),o=0;o<16;++o)for(var r=o*16,a=0;a<16;++a)e[r+a]=n[o]+n[a];return e}()});var Ae=G((Ro,Ee)=>{m();var x=Ee.exports={},E,A;function re(){throw new Error("setTimeout has not been defined")}function ae(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?E=setTimeout:E=re}catch(n){E=re}try{typeof clearTimeout=="function"?A=clearTimeout:A=ae}catch(n){A=ae}})();function Te(n){if(E===setTimeout)return setTimeout(n,0);if((E===re||!E)&&setTimeout)return E=setTimeout,setTimeout(n,0);try{return E(n,0)}catch(e){try{return E.call(null,n,0)}catch(o){return E.call(this,n,0)}}}function wo(n){if(A===clearTimeout)return clearTimeout(n);if((A===ae||!A)&&clearTimeout)return A=clearTimeout,clearTimeout(n);try{return A(n)}catch(e){try{return A.call(null,n)}catch(o){return A.call(this,n)}}}var R=[],z=!1,B,X=-1;function ko(){!z||!B||(z=!1,B.length?R=B.concat(R):X=-1,R.length&&Ie())}function Ie(){if(!z){var n=Te(ko);z=!0;for(var e=R.length;e;){for(B=R,R=[];++X<e;)B&&B[X].run();X=-1,e=R.length}B=null,z=!1,wo(n)}}x.nextTick=function(n){var e=new Array(arguments.length-1);if(arguments.length>1)for(var o=1;o<arguments.length;o++)e[o-1]=arguments[o];R.push(new Se(n,e)),R.length===1&&!z&&Te(Ie)};function Se(n,e){this.fun=n,this.array=e}Se.prototype.run=function(){this.fun.apply(null,this.array)};x.title="browser";x.browser=!0;x.env={};x.argv=[];x.version="";x.versions={};function C(){}x.on=C;x.addListener=C;x.once=C;x.off=C;x.removeListener=C;x.removeAllListeners=C;x.emit=C;x.prependListener=C;x.prependOnceListener=C;x.listeners=function(n){return[]};x.binding=function(n){throw new Error("process.binding is not supported")};x.cwd=function(){return"/"};x.chdir=function(n){throw new Error("process.chdir is not supported")};x.umask=function(){return 0}});var u,f,Co,m=je(()=>{u=W(ve()),f=W(Ae()),Co=function(n){function e(){var r=this||self;return delete n.prototype.__magic__,r}if(typeof globalThis=="object")return globalThis;if(this)return e();n.defineProperty(n.prototype,"__magic__",{configurable:!0,get:e});var o=__magic__;return o}(Object)});var So={};Ge(So,{TransactionData:()=>Io});module.exports=We(So);m();var b=W(require("react")),U=W(require("classnames"));m();var vo=`.dapp-core-component__main__link-style {
|
|
2
2
|
color: #1392ff;
|
|
3
3
|
}
|
|
4
4
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
"use strict";var Qe=Object.create;var H=Object.defineProperty;var $e=Object.getOwnPropertyDescriptor;var Ze=Object.getOwnPropertyNames;var Je=Object.getPrototypeOf,er=Object.prototype.hasOwnProperty;var rr=(t,e)=>()=>(t&&(e=t(t=0)),e);var W=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),tr=(t,e)=>{for(var r in e)H(t,r,{get:e[r],enumerable:!0})},ue=(t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of Ze(e))!er.call(t,i)&&i!==r&&H(t,i,{get:()=>e[i],enumerable:!(n=$e(e,i))||n.enumerable});return t};var V=(t,e,r)=>(r=t!=null?Qe(Je(t)):{},ue(e||!t||!t.__esModule?H(r,"default",{value:t,enumerable:!0}):r,t)),nr=t=>ue(H({},"__esModule",{value:!0}),t);var ge=W(q=>{"use strict";c();q.byteLength=or;q.toByteArray=sr;q.fromByteArray=pr;var v=[],b=[],ir=typeof Uint8Array!="undefined"?Uint8Array:Array,$="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(C=0,de=$.length;C<de;++C)v[C]=$[C],b[$.charCodeAt(C)]=C;var C,de;b["-".charCodeAt(0)]=62;b["_".charCodeAt(0)]=63;function me(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 or(t){var e=me(t),r=e[0],n=e[1];return(r+n)*3/4-n}function ar(t,e,r){return(e+r)*3/4-r}function sr(t){var e,r=me(t),n=r[0],i=r[1],o=new ir(ar(t,n,i)),a=0,l=i>0?n-4:n,p;for(p=0;p<l;p+=4)e=b[t.charCodeAt(p)]<<18|b[t.charCodeAt(p+1)]<<12|b[t.charCodeAt(p+2)]<<6|b[t.charCodeAt(p+3)],o[a++]=e>>16&255,o[a++]=e>>8&255,o[a++]=e&255;return i===2&&(e=b[t.charCodeAt(p)]<<2|b[t.charCodeAt(p+1)]>>4,o[a++]=e&255),i===1&&(e=b[t.charCodeAt(p)]<<10|b[t.charCodeAt(p+1)]<<4|b[t.charCodeAt(p+2)]>>2,o[a++]=e>>8&255,o[a++]=e&255),o}function cr(t){return v[t>>18&63]+v[t>>12&63]+v[t>>6&63]+v[t&63]}function lr(t,e,r){for(var n,i=[],o=e;o<r;o+=3)n=(t[o]<<16&16711680)+(t[o+1]<<8&65280)+(t[o+2]&255),i.push(cr(n));return i.join("")}function pr(t){for(var e,r=t.length,n=r%3,i=[],o=16383,a=0,l=r-n;a<l;a+=o)i.push(lr(t,a,a+o>l?l:a+o));return n===1?(e=t[r-1],i.push(v[e>>2]+v[e<<4&63]+"==")):n===2&&(e=(t[r-2]<<8)+t[r-1],i.push(v[e>>10]+v[e>>4&63]+v[e<<2&63]+"=")),i.join("")}});var fe=W(Z=>{c();Z.read=function(t,e,r,n,i){var o,a,l=i*8-n-1,p=(1<<l)-1,d=p>>1,h=-7,f=r?i-1:0,T=r?-1:1,_=t[e+f];for(f+=T,o=_&(1<<-h)-1,_>>=-h,h+=l;h>0;o=o*256+t[e+f],f+=T,h-=8);for(a=o&(1<<-h)-1,o>>=-h,h+=n;h>0;a=a*256+t[e+f],f+=T,h-=8);if(o===0)o=1-d;else{if(o===p)return a?NaN:(_?-1:1)*(1/0);a=a+Math.pow(2,n),o=o-d}return(_?-1:1)*a*Math.pow(2,o-n)};Z.write=function(t,e,r,n,i,o){var a,l,p,d=o*8-i-1,h=(1<<d)-1,f=h>>1,T=i===23?Math.pow(2,-24)-Math.pow(2,-77):0,_=n?0:o-1,O=n?1:-1,Ke=e<0||e===0&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(l=isNaN(e)?1:0,a=h):(a=Math.floor(Math.log(e)/Math.LN2),e*(p=Math.pow(2,-a))<1&&(a--,p*=2),a+f>=1?e+=T/p:e+=T*Math.pow(2,1-f),e*p>=2&&(a++,p/=2),a+f>=h?(l=0,a=h):a+f>=1?(l=(e*p-1)*Math.pow(2,i),a=a+f):(l=e*Math.pow(2,f-1)*Math.pow(2,i),a=0));i>=8;t[r+_]=l&255,_+=O,l/=256,i-=8);for(a=a<<i|l,d+=i;d>0;t[r+_]=a&255,_+=O,a/=256,d-=8);t[r+_-O]|=Ke*128}});var Re=W(G=>{"use strict";c();var J=ge(),M=fe(),he=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;G.Buffer=s;G.SlowBuffer=hr;G.INSPECT_MAX_BYTES=50;var j=2147483647;G.kMaxLength=j;s.TYPED_ARRAY_SUPPORT=ur();!s.TYPED_ARRAY_SUPPORT&&typeof console!="undefined"&&typeof console.error=="function"&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function ur(){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(s.prototype,"parent",{enumerable:!0,get:function(){if(!!s.isBuffer(this))return this.buffer}});Object.defineProperty(s.prototype,"offset",{enumerable:!0,get:function(){if(!!s.isBuffer(this))return this.byteOffset}});function R(t){if(t>j)throw new RangeError('The value "'+t+'" is invalid for option "size"');var e=new Uint8Array(t);return Object.setPrototypeOf(e,s.prototype),e}function s(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 ne(t)}return we(t,e,r)}s.poolSize=8192;function we(t,e,r){if(typeof t=="string")return mr(t,e);if(ArrayBuffer.isView(t))return gr(t);if(t==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t);if(k(t,ArrayBuffer)||t&&k(t.buffer,ArrayBuffer)||typeof SharedArrayBuffer!="undefined"&&(k(t,SharedArrayBuffer)||t&&k(t.buffer,SharedArrayBuffer)))return re(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 s.from(n,e,r);var i=fr(t);if(i)return i;if(typeof Symbol!="undefined"&&Symbol.toPrimitive!=null&&typeof t[Symbol.toPrimitive]=="function")return s.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)}s.from=function(t,e,r){return we(t,e,r)};Object.setPrototypeOf(s.prototype,Uint8Array.prototype);Object.setPrototypeOf(s,Uint8Array);function _e(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 dr(t,e,r){return _e(t),t<=0?R(t):e!==void 0?typeof r=="string"?R(t).fill(e,r):R(t).fill(e):R(t)}s.alloc=function(t,e,r){return dr(t,e,r)};function ne(t){return _e(t),R(t<0?0:ie(t)|0)}s.allocUnsafe=function(t){return ne(t)};s.allocUnsafeSlow=function(t){return ne(t)};function mr(t,e){if((typeof e!="string"||e==="")&&(e="utf8"),!s.isEncoding(e))throw new TypeError("Unknown encoding: "+e);var r=be(t,e)|0,n=R(r),i=n.write(t,e);return i!==r&&(n=n.slice(0,i)),n}function ee(t){for(var e=t.length<0?0:ie(t.length)|0,r=R(e),n=0;n<e;n+=1)r[n]=t[n]&255;return r}function gr(t){if(k(t,Uint8Array)){var e=new Uint8Array(t);return re(e.buffer,e.byteOffset,e.byteLength)}return ee(t)}function re(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,s.prototype),n}function fr(t){if(s.isBuffer(t)){var e=ie(t.length)|0,r=R(e);return r.length===0||t.copy(r,0,0,e),r}if(t.length!==void 0)return typeof t.length!="number"||oe(t.length)?R(0):ee(t);if(t.type==="Buffer"&&Array.isArray(t.data))return ee(t.data)}function ie(t){if(t>=j)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+j.toString(16)+" bytes");return t|0}function hr(t){return+t!=t&&(t=0),s.alloc(+t)}s.isBuffer=function(e){return e!=null&&e._isBuffer===!0&&e!==s.prototype};s.compare=function(e,r){if(k(e,Uint8Array)&&(e=s.from(e,e.offset,e.byteLength)),k(r,Uint8Array)&&(r=s.from(r,r.offset,r.byteLength)),!s.isBuffer(e)||!s.isBuffer(r))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(e===r)return 0;for(var n=e.length,i=r.length,o=0,a=Math.min(n,i);o<a;++o)if(e[o]!==r[o]){n=e[o],i=r[o];break}return n<i?-1:i<n?1:0};s.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}};s.concat=function(e,r){if(!Array.isArray(e))throw new TypeError('"list" argument must be an Array of Buffers');if(e.length===0)return s.alloc(0);var n;if(r===void 0)for(r=0,n=0;n<e.length;++n)r+=e[n].length;var i=s.allocUnsafe(r),o=0;for(n=0;n<e.length;++n){var a=e[n];if(k(a,Uint8Array))o+a.length>i.length?s.from(a).copy(i,o):Uint8Array.prototype.set.call(i,a,o);else if(s.isBuffer(a))a.copy(i,o);else throw new TypeError('"list" argument must be an Array of Buffers');o+=a.length}return i};function be(t,e){if(s.isBuffer(t))return t.length;if(ArrayBuffer.isView(t)||k(t,ArrayBuffer))return t.byteLength;if(typeof t!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof t);var 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 te(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return r*2;case"hex":return r>>>1;case"base64":return Ae(t).length;default:if(i)return n?-1:te(t).length;e=(""+e).toLowerCase(),i=!0}}s.byteLength=be;function yr(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 Ar(this,e,r);case"utf8":case"utf-8":return ve(this,e,r);case"ascii":return Er(this,e,r);case"latin1":case"binary":return Ir(this,e,r);case"base64":return vr(this,e,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Rr(this,e,r);default:if(n)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),n=!0}}s.prototype._isBuffer=!0;function B(t,e,r){var n=t[e];t[e]=t[r],t[r]=n}s.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)B(this,r,r+1);return this};s.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)B(this,r,r+3),B(this,r+1,r+2);return this};s.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)B(this,r,r+7),B(this,r+1,r+6),B(this,r+2,r+5),B(this,r+3,r+4);return this};s.prototype.toString=function(){var e=this.length;return e===0?"":arguments.length===0?ve(this,0,e):yr.apply(this,arguments)};s.prototype.toLocaleString=s.prototype.toString;s.prototype.equals=function(e){if(!s.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e?!0:s.compare(this,e)===0};s.prototype.inspect=function(){var e="",r=G.INSPECT_MAX_BYTES;return e=this.toString("hex",0,r).replace(/(.{2})/g,"$1 ").trim(),this.length>r&&(e+=" ... "),"<Buffer "+e+">"};he&&(s.prototype[he]=s.prototype.inspect);s.prototype.compare=function(e,r,n,i,o){if(k(e,Uint8Array)&&(e=s.from(e,e.offset,e.byteLength)),!s.isBuffer(e))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof e);if(r===void 0&&(r=0),n===void 0&&(n=e?e.length:0),i===void 0&&(i=0),o===void 0&&(o=this.length),r<0||n>e.length||i<0||o>this.length)throw new RangeError("out of range index");if(i>=o&&r>=n)return 0;if(i>=o)return-1;if(r>=n)return 1;if(r>>>=0,n>>>=0,i>>>=0,o>>>=0,this===e)return 0;for(var a=o-i,l=n-r,p=Math.min(a,l),d=this.slice(i,o),h=e.slice(r,n),f=0;f<p;++f)if(d[f]!==h[f]){a=d[f],l=h[f];break}return a<l?-1:l<a?1:0};function Te(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,oe(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=s.from(e,n)),s.isBuffer(e))return e.length===0?-1:ye(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):ye(t,[e],r,n,i);throw new TypeError("val must be string, number or Buffer")}function ye(t,e,r,n,i){var o=1,a=t.length,l=e.length;if(n!==void 0&&(n=String(n).toLowerCase(),n==="ucs2"||n==="ucs-2"||n==="utf16le"||n==="utf-16le")){if(t.length<2||e.length<2)return-1;o=2,a/=2,l/=2,r/=2}function p(_,O){return o===1?_[O]:_.readUInt16BE(O*o)}var d;if(i){var h=-1;for(d=r;d<a;d++)if(p(t,d)===p(e,h===-1?0:d-h)){if(h===-1&&(h=d),d-h+1===l)return h*o}else h!==-1&&(d-=d-h),h=-1}else for(r+l>a&&(r=a-l),d=r;d>=0;d--){for(var f=!0,T=0;T<l;T++)if(p(t,d+T)!==p(e,T)){f=!1;break}if(f)return d}return-1}s.prototype.includes=function(e,r,n){return this.indexOf(e,r,n)!==-1};s.prototype.indexOf=function(e,r,n){return Te(this,e,r,n,!0)};s.prototype.lastIndexOf=function(e,r,n){return Te(this,e,r,n,!1)};function xr(t,e,r,n){r=Number(r)||0;var i=t.length-r;n?(n=Number(n),n>i&&(n=i)):n=i;var o=e.length;n>o/2&&(n=o/2);for(var a=0;a<n;++a){var l=parseInt(e.substr(a*2,2),16);if(oe(l))return a;t[r+a]=l}return a}function wr(t,e,r,n){return X(te(e,t.length-r),t,r,n)}function _r(t,e,r,n){return X(Lr(e),t,r,n)}function br(t,e,r,n){return X(Ae(e),t,r,n)}function Tr(t,e,r,n){return X(Nr(e,t.length-r),t,r,n)}s.prototype.write=function(e,r,n,i){if(r===void 0)i="utf8",n=this.length,r=0;else if(n===void 0&&typeof r=="string")i=r,n=this.length,r=0;else if(isFinite(r))r=r>>>0,isFinite(n)?(n=n>>>0,i===void 0&&(i="utf8")):(i=n,n=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var o=this.length-r;if((n===void 0||n>o)&&(n=o),e.length>0&&(n<0||r<0)||r>this.length)throw new RangeError("Attempt to write outside buffer bounds");i||(i="utf8");for(var a=!1;;)switch(i){case"hex":return xr(this,e,r,n);case"utf8":case"utf-8":return wr(this,e,r,n);case"ascii":case"latin1":case"binary":return _r(this,e,r,n);case"base64":return br(this,e,r,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Tr(this,e,r,n);default:if(a)throw new TypeError("Unknown encoding: "+i);i=(""+i).toLowerCase(),a=!0}};s.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function vr(t,e,r){return e===0&&r===t.length?J.fromByteArray(t):J.fromByteArray(t.slice(e,r))}function ve(t,e,r){r=Math.min(t.length,r);for(var n=[],i=e;i<r;){var o=t[i],a=null,l=o>239?4:o>223?3:o>191?2:1;if(i+l<=r){var p,d,h,f;switch(l){case 1:o<128&&(a=o);break;case 2:p=t[i+1],(p&192)===128&&(f=(o&31)<<6|p&63,f>127&&(a=f));break;case 3:p=t[i+1],d=t[i+2],(p&192)===128&&(d&192)===128&&(f=(o&15)<<12|(p&63)<<6|d&63,f>2047&&(f<55296||f>57343)&&(a=f));break;case 4:p=t[i+1],d=t[i+2],h=t[i+3],(p&192)===128&&(d&192)===128&&(h&192)===128&&(f=(o&15)<<18|(p&63)<<12|(d&63)<<6|h&63,f>65535&&f<1114112&&(a=f))}}a===null?(a=65533,l=1):a>65535&&(a-=65536,n.push(a>>>10&1023|55296),a=56320|a&1023),n.push(a),i+=l}return kr(n)}var xe=4096;function kr(t){var e=t.length;if(e<=xe)return String.fromCharCode.apply(String,t);for(var r="",n=0;n<e;)r+=String.fromCharCode.apply(String,t.slice(n,n+=xe));return r}function Er(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 Ir(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 Ar(t,e,r){var n=t.length;(!e||e<0)&&(e=0),(!r||r<0||r>n)&&(r=n);for(var i="",o=e;o<r;++o)i+=Fr[t[o]];return i}function Rr(t,e,r){for(var n=t.slice(e,r),i="",o=0;o<n.length-1;o+=2)i+=String.fromCharCode(n[o]+n[o+1]*256);return i}s.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,s.prototype),i};function x(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")}s.prototype.readUintLE=s.prototype.readUIntLE=function(e,r,n){e=e>>>0,r=r>>>0,n||x(e,r,this.length);for(var i=this[e],o=1,a=0;++a<r&&(o*=256);)i+=this[e+a]*o;return i};s.prototype.readUintBE=s.prototype.readUIntBE=function(e,r,n){e=e>>>0,r=r>>>0,n||x(e,r,this.length);for(var i=this[e+--r],o=1;r>0&&(o*=256);)i+=this[e+--r]*o;return i};s.prototype.readUint8=s.prototype.readUInt8=function(e,r){return e=e>>>0,r||x(e,1,this.length),this[e]};s.prototype.readUint16LE=s.prototype.readUInt16LE=function(e,r){return e=e>>>0,r||x(e,2,this.length),this[e]|this[e+1]<<8};s.prototype.readUint16BE=s.prototype.readUInt16BE=function(e,r){return e=e>>>0,r||x(e,2,this.length),this[e]<<8|this[e+1]};s.prototype.readUint32LE=s.prototype.readUInt32LE=function(e,r){return e=e>>>0,r||x(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+this[e+3]*16777216};s.prototype.readUint32BE=s.prototype.readUInt32BE=function(e,r){return e=e>>>0,r||x(e,4,this.length),this[e]*16777216+(this[e+1]<<16|this[e+2]<<8|this[e+3])};s.prototype.readIntLE=function(e,r,n){e=e>>>0,r=r>>>0,n||x(e,r,this.length);for(var i=this[e],o=1,a=0;++a<r&&(o*=256);)i+=this[e+a]*o;return o*=128,i>=o&&(i-=Math.pow(2,8*r)),i};s.prototype.readIntBE=function(e,r,n){e=e>>>0,r=r>>>0,n||x(e,r,this.length);for(var i=r,o=1,a=this[e+--i];i>0&&(o*=256);)a+=this[e+--i]*o;return o*=128,a>=o&&(a-=Math.pow(2,8*r)),a};s.prototype.readInt8=function(e,r){return e=e>>>0,r||x(e,1,this.length),this[e]&128?(255-this[e]+1)*-1:this[e]};s.prototype.readInt16LE=function(e,r){e=e>>>0,r||x(e,2,this.length);var n=this[e]|this[e+1]<<8;return n&32768?n|4294901760:n};s.prototype.readInt16BE=function(e,r){e=e>>>0,r||x(e,2,this.length);var n=this[e+1]|this[e]<<8;return n&32768?n|4294901760:n};s.prototype.readInt32LE=function(e,r){return e=e>>>0,r||x(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24};s.prototype.readInt32BE=function(e,r){return e=e>>>0,r||x(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]};s.prototype.readFloatLE=function(e,r){return e=e>>>0,r||x(e,4,this.length),M.read(this,e,!0,23,4)};s.prototype.readFloatBE=function(e,r){return e=e>>>0,r||x(e,4,this.length),M.read(this,e,!1,23,4)};s.prototype.readDoubleLE=function(e,r){return e=e>>>0,r||x(e,8,this.length),M.read(this,e,!0,52,8)};s.prototype.readDoubleBE=function(e,r){return e=e>>>0,r||x(e,8,this.length),M.read(this,e,!1,52,8)};function w(t,e,r,n,i,o){if(!s.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>i||e<o)throw new RangeError('"value" argument is out of bounds');if(r+n>t.length)throw new RangeError("Index out of range")}s.prototype.writeUintLE=s.prototype.writeUIntLE=function(e,r,n,i){if(e=+e,r=r>>>0,n=n>>>0,!i){var o=Math.pow(2,8*n)-1;w(this,e,r,n,o,0)}var a=1,l=0;for(this[r]=e&255;++l<n&&(a*=256);)this[r+l]=e/a&255;return r+n};s.prototype.writeUintBE=s.prototype.writeUIntBE=function(e,r,n,i){if(e=+e,r=r>>>0,n=n>>>0,!i){var o=Math.pow(2,8*n)-1;w(this,e,r,n,o,0)}var a=n-1,l=1;for(this[r+a]=e&255;--a>=0&&(l*=256);)this[r+a]=e/l&255;return r+n};s.prototype.writeUint8=s.prototype.writeUInt8=function(e,r,n){return e=+e,r=r>>>0,n||w(this,e,r,1,255,0),this[r]=e&255,r+1};s.prototype.writeUint16LE=s.prototype.writeUInt16LE=function(e,r,n){return e=+e,r=r>>>0,n||w(this,e,r,2,65535,0),this[r]=e&255,this[r+1]=e>>>8,r+2};s.prototype.writeUint16BE=s.prototype.writeUInt16BE=function(e,r,n){return e=+e,r=r>>>0,n||w(this,e,r,2,65535,0),this[r]=e>>>8,this[r+1]=e&255,r+2};s.prototype.writeUint32LE=s.prototype.writeUInt32LE=function(e,r,n){return e=+e,r=r>>>0,n||w(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};s.prototype.writeUint32BE=s.prototype.writeUInt32BE=function(e,r,n){return e=+e,r=r>>>0,n||w(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};s.prototype.writeIntLE=function(e,r,n,i){if(e=+e,r=r>>>0,!i){var o=Math.pow(2,8*n-1);w(this,e,r,n,o-1,-o)}var a=0,l=1,p=0;for(this[r]=e&255;++a<n&&(l*=256);)e<0&&p===0&&this[r+a-1]!==0&&(p=1),this[r+a]=(e/l>>0)-p&255;return r+n};s.prototype.writeIntBE=function(e,r,n,i){if(e=+e,r=r>>>0,!i){var o=Math.pow(2,8*n-1);w(this,e,r,n,o-1,-o)}var a=n-1,l=1,p=0;for(this[r+a]=e&255;--a>=0&&(l*=256);)e<0&&p===0&&this[r+a+1]!==0&&(p=1),this[r+a]=(e/l>>0)-p&255;return r+n};s.prototype.writeInt8=function(e,r,n){return e=+e,r=r>>>0,n||w(this,e,r,1,127,-128),e<0&&(e=255+e+1),this[r]=e&255,r+1};s.prototype.writeInt16LE=function(e,r,n){return e=+e,r=r>>>0,n||w(this,e,r,2,32767,-32768),this[r]=e&255,this[r+1]=e>>>8,r+2};s.prototype.writeInt16BE=function(e,r,n){return e=+e,r=r>>>0,n||w(this,e,r,2,32767,-32768),this[r]=e>>>8,this[r+1]=e&255,r+2};s.prototype.writeInt32LE=function(e,r,n){return e=+e,r=r>>>0,n||w(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};s.prototype.writeInt32BE=function(e,r,n){return e=+e,r=r>>>0,n||w(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 ke(t,e,r,n,i,o){if(r+n>t.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function Ee(t,e,r,n,i){return e=+e,r=r>>>0,i||ke(t,e,r,4,34028234663852886e22,-34028234663852886e22),M.write(t,e,r,n,23,4),r+4}s.prototype.writeFloatLE=function(e,r,n){return Ee(this,e,r,!0,n)};s.prototype.writeFloatBE=function(e,r,n){return Ee(this,e,r,!1,n)};function Ie(t,e,r,n,i){return e=+e,r=r>>>0,i||ke(t,e,r,8,17976931348623157e292,-17976931348623157e292),M.write(t,e,r,n,52,8),r+8}s.prototype.writeDoubleLE=function(e,r,n){return Ie(this,e,r,!0,n)};s.prototype.writeDoubleBE=function(e,r,n){return Ie(this,e,r,!1,n)};s.prototype.copy=function(e,r,n,i){if(!s.isBuffer(e))throw new TypeError("argument should be a Buffer");if(n||(n=0),!i&&i!==0&&(i=this.length),r>=e.length&&(r=e.length),r||(r=0),i>0&&i<n&&(i=n),i===n||e.length===0||this.length===0)return 0;if(r<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw new RangeError("Index out of range");if(i<0)throw new RangeError("sourceEnd out of bounds");i>this.length&&(i=this.length),e.length-r<i-n&&(i=e.length-r+n);var o=i-n;return this===e&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(r,n,i):Uint8Array.prototype.set.call(e,this.subarray(n,i),r),o};s.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"&&!s.isEncoding(i))throw new TypeError("Unknown encoding: "+i);if(e.length===1){var o=e.charCodeAt(0);(i==="utf8"&&o<128||i==="latin1")&&(e=o)}}else typeof e=="number"?e=e&255:typeof e=="boolean"&&(e=Number(e));if(r<0||this.length<r||this.length<n)throw new RangeError("Out of range index");if(n<=r)return this;r=r>>>0,n=n===void 0?this.length:n>>>0,e||(e=0);var a;if(typeof e=="number")for(a=r;a<n;++a)this[a]=e;else{var l=s.isBuffer(e)?e:s.from(e,i),p=l.length;if(p===0)throw new TypeError('The value "'+e+'" is invalid for argument "value"');for(a=0;a<n-r;++a)this[a+r]=l[a%p]}return this};var Sr=/[^+/0-9A-Za-z-_]/g;function Dr(t){if(t=t.split("=")[0],t=t.trim().replace(Sr,""),t.length<2)return"";for(;t.length%4!==0;)t=t+"=";return t}function te(t,e){e=e||1/0;for(var r,n=t.length,i=null,o=[],a=0;a<n;++a){if(r=t.charCodeAt(a),r>55295&&r<57344){if(!i){if(r>56319){(e-=3)>-1&&o.push(239,191,189);continue}else if(a+1===n){(e-=3)>-1&&o.push(239,191,189);continue}i=r;continue}if(r<56320){(e-=3)>-1&&o.push(239,191,189),i=r;continue}r=(i-55296<<10|r-56320)+65536}else i&&(e-=3)>-1&&o.push(239,191,189);if(i=null,r<128){if((e-=1)<0)break;o.push(r)}else if(r<2048){if((e-=2)<0)break;o.push(r>>6|192,r&63|128)}else if(r<65536){if((e-=3)<0)break;o.push(r>>12|224,r>>6&63|128,r&63|128)}else if(r<1114112){if((e-=4)<0)break;o.push(r>>18|240,r>>12&63|128,r>>6&63|128,r&63|128)}else throw new Error("Invalid code point")}return o}function Lr(t){for(var e=[],r=0;r<t.length;++r)e.push(t.charCodeAt(r)&255);return e}function Nr(t,e){for(var r,n,i,o=[],a=0;a<t.length&&!((e-=2)<0);++a)r=t.charCodeAt(a),n=r>>8,i=r%256,o.push(i),o.push(n);return o}function Ae(t){return J.toByteArray(Dr(t))}function X(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 k(t,e){return t instanceof e||t!=null&&t.constructor!=null&&t.constructor.name!=null&&t.constructor.name===e.name}function oe(t){return t!==t}var Fr=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 Fe=W((Xr,Ne)=>{c();var y=Ne.exports={},E,I;function ae(){throw new Error("setTimeout has not been defined")}function se(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?E=setTimeout:E=ae}catch(t){E=ae}try{typeof clearTimeout=="function"?I=clearTimeout:I=se}catch(t){I=se}})();function Se(t){if(E===setTimeout)return setTimeout(t,0);if((E===ae||!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 Cr(t){if(I===clearTimeout)return clearTimeout(t);if((I===se||!I)&&clearTimeout)return I=clearTimeout,clearTimeout(t);try{return I(t)}catch(e){try{return I.call(null,t)}catch(r){return I.call(this,t)}}}var S=[],z=!1,U,Y=-1;function Br(){!z||!U||(z=!1,U.length?S=U.concat(S):Y=-1,S.length&&De())}function De(){if(!z){var t=Se(Br);z=!0;for(var e=S.length;e;){for(U=S,S=[];++Y<e;)U&&U[Y].run();Y=-1,e=S.length}U=null,z=!1,Cr(t)}}y.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];S.push(new Le(t,e)),S.length===1&&!z&&Se(De)};function Le(t,e){this.fun=t,this.array=e}Le.prototype.run=function(){this.fun.apply(null,this.array)};y.title="browser";y.browser=!0;y.env={};y.argv=[];y.version="";y.versions={};function D(){}y.on=D;y.addListener=D;y.once=D;y.off=D;y.removeListener=D;y.removeAllListeners=D;y.emit=D;y.prependListener=D;y.prependOnceListener=D;y.listeners=function(t){return[]};y.binding=function(t){throw new Error("process.binding is not supported")};y.cwd=function(){return"/"};y.chdir=function(t){throw new Error("process.chdir is not supported")};y.umask=function(){return 0}});var u,m,Yr,c=rr(()=>{u=V(Re()),m=V(Fe()),Yr=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 Vr={};tr(Vr,{DataDecode:()=>zr});module.exports=nr(Vr);c();var N=V(require("react")),je=require("@fortawesome/free-solid-svg-icons"),Xe=require("@fortawesome/react-fontawesome"),Ye=V(require("classnames"));c();c();c();c();c();c();c();c();c();c();c();var P=(i=>(i.raw="raw",i.text="text",i.decimal="decimal",i.smart="smart",i))(P||{});c();c();var ce={devnet:{id:"devnet",chainId:"D",name:"Devnet",egldLabel:"xEGLD",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"https://maiar.page.link/?apn=com.elrond.maiar.wallet&isi=1519405832&ibi=com.elrond.maiar.wallet&link=https://xportal.com/",walletConnectBridgeAddresses:["https://bridge.walletconnect.org"],walletConnectV2RelayAddresses:["wss://relay.walletconnect.com"],walletAddress:"https://devnet-wallet.multiversx.com",apiAddress:"https://devnet-api.multiversx.com",explorerAddress:"http://devnet-explorer.multiversx.com",apiTimeout:"4000"},testnet:{id:"testnet",chainId:"T",name:"Testnet",egldLabel:"xEGLD",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"https://maiar.page.link/?apn=com.elrond.maiar.wallet&isi=1519405832&ibi=com.elrond.maiar.wallet&link=https://xportal.com/",walletConnectBridgeAddresses:["https://bridge.walletconnect.org"],walletConnectV2RelayAddresses:["wss://relay.walletconnect.com"],walletAddress:"https://testnet-wallet.multiversx.com",apiAddress:"https://testnet-api.multiversx.com",explorerAddress:"http://testnet-explorer.multiversx.com",apiTimeout:"4000"},mainnet:{id:"mainnet",chainId:"1",name:"Mainnet",egldLabel:"EGLD",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"https://maiar.page.link/?apn=com.elrond.maiar.wallet&isi=1519405832&ibi=com.elrond.maiar.wallet&link=https://xportal.com/",walletConnectBridgeAddresses:["https://bridge.walletconnect.org"],walletConnectV2RelayAddresses:["wss://relay.walletconnect.com"],walletAddress:"https://wallet.multiversx.com",apiAddress:"https://api.multiversx.com",explorerAddress:"https://explorer.multiversx.com",apiTimeout:"4000"}},{chainId:Ce,egldLabel:mt}=ce["devnet"],{chainId:Be,egldLabel:gt}=ce["testnet"],{chainId:Ue,egldLabel:ft}=ce["mainnet"];var ht={["devnet"]:Ce,["testnet"]:Be,["mainnet"]:Ue},yt={[Ce]:"devnet",[Be]:"testnet",[Ue]:"mainnet"};c();c();c();c();var A=require("@multiversx/sdk-web-wallet-provider");c();var Pe="N/A";c();var Q=require("react");c();c();c();c();var ze=require("@multiversx/sdk-core/out"),pe=V(require("bignumber.js"));c();var Oe=require("@multiversx/sdk-core");function Ur(t){try{let e=new Oe.Address(t);return Boolean(e.bech32())}catch(e){return!1}}function Me(t){return(t==null?void 0:t.startsWith("erd"))&&t.length===62&&/^\w+$/.test(t)&&Ur(t)}c();c();c();c();function le(t){for(let e=0;e<t.length;e++)if(t.charCodeAt(e)>127)return!1;return!0}c();var Ge=t=>/\d/.test(t);var L=(t,e,r)=>{try{switch(e){case"text":return Ge(t)?u.Buffer.from(t,"hex").toString("utf8"):t;case"decimal":return new pe.default(t,16).toString(10);case"smart":let i=ze.Address.fromHex(t).toString();if(Me(i))return i;let o=u.Buffer.from(t,"hex").toString("utf8");return le(o)||r&&[...r.esdts,...r.nfts].some(p=>o.includes(p))?o:new pe.default(t,16).toString(10);case"raw":default:return t}}catch(n){return console.error(`Error during data decoding of "${t}" as "${e}"`,n),t}};c();c();var Pr=t=>t.toLowerCase().match(/[0-9a-f]/g),Or=t=>t.length%2===0,Ve=t=>{let e=[];return t&&!Pr(t)&&e.push(`Invalid Hex characters on argument @${t}`),t&&!Or(t)&&e.push(`Odd number of Hex characters on argument @${t}`),e};c();var K=({parts:t,decodedParts:e,identifier:r})=>{let n=[...e];if(t[0]==="ESDTNFTTransfer"&&t[2]&&(n[2]=L(t[2],"decimal")),r==="ESDTNFTTransfer"&&t[1]){let i=u.Buffer.from(String(t[1]),"base64");n[1]=L(i.toString("hex"),"decimal")}return n};var He=({parts:t,decodeMethod:e,identifier:r,display:n})=>{let i=t.map((o,a)=>{if(t.length>=2&&(a===0&&o.length<64||a===1&&!t[0]))return/[^a-z0-9]/gi.test(o)?L(o,e):o;{let l=Ve(o);return l.length&&(n.validationWarnings=Array.from(new Set([...n.validationWarnings,...l]))),L(o,e)}});return e==="smart"?K({parts:t,decodedParts:i,identifier:r}):i};var We=({input:t,decodeMethod:e,identifier:r})=>{let n={displayValue:"",validationWarnings:[]};if(t.includes("@")){let i=t.split("@"),o=He({parts:i,identifier:r,decodeMethod:e,display:n});return n.displayValue=o.join("@"),n}if(t.includes(`
|
|
1
|
+
"use strict";var Qe=Object.create;var W=Object.defineProperty;var $e=Object.getOwnPropertyDescriptor;var Ze=Object.getOwnPropertyNames;var Je=Object.getPrototypeOf,er=Object.prototype.hasOwnProperty;var rr=(t,e)=>()=>(t&&(e=t(t=0)),e);var H=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),tr=(t,e)=>{for(var r in e)W(t,r,{get:e[r],enumerable:!0})},ue=(t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of Ze(e))!er.call(t,i)&&i!==r&&W(t,i,{get:()=>e[i],enumerable:!(n=$e(e,i))||n.enumerable});return t};var V=(t,e,r)=>(r=t!=null?Qe(Je(t)):{},ue(e||!t||!t.__esModule?W(r,"default",{value:t,enumerable:!0}):r,t)),nr=t=>ue(W({},"__esModule",{value:!0}),t);var ge=H(q=>{"use strict";c();q.byteLength=or;q.toByteArray=sr;q.fromByteArray=pr;var v=[],b=[],ir=typeof Uint8Array!="undefined"?Uint8Array:Array,$="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(C=0,de=$.length;C<de;++C)v[C]=$[C],b[$.charCodeAt(C)]=C;var C,de;b["-".charCodeAt(0)]=62;b["_".charCodeAt(0)]=63;function me(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 or(t){var e=me(t),r=e[0],n=e[1];return(r+n)*3/4-n}function ar(t,e,r){return(e+r)*3/4-r}function sr(t){var e,r=me(t),n=r[0],i=r[1],o=new ir(ar(t,n,i)),a=0,l=i>0?n-4:n,p;for(p=0;p<l;p+=4)e=b[t.charCodeAt(p)]<<18|b[t.charCodeAt(p+1)]<<12|b[t.charCodeAt(p+2)]<<6|b[t.charCodeAt(p+3)],o[a++]=e>>16&255,o[a++]=e>>8&255,o[a++]=e&255;return i===2&&(e=b[t.charCodeAt(p)]<<2|b[t.charCodeAt(p+1)]>>4,o[a++]=e&255),i===1&&(e=b[t.charCodeAt(p)]<<10|b[t.charCodeAt(p+1)]<<4|b[t.charCodeAt(p+2)]>>2,o[a++]=e>>8&255,o[a++]=e&255),o}function cr(t){return v[t>>18&63]+v[t>>12&63]+v[t>>6&63]+v[t&63]}function lr(t,e,r){for(var n,i=[],o=e;o<r;o+=3)n=(t[o]<<16&16711680)+(t[o+1]<<8&65280)+(t[o+2]&255),i.push(cr(n));return i.join("")}function pr(t){for(var e,r=t.length,n=r%3,i=[],o=16383,a=0,l=r-n;a<l;a+=o)i.push(lr(t,a,a+o>l?l:a+o));return n===1?(e=t[r-1],i.push(v[e>>2]+v[e<<4&63]+"==")):n===2&&(e=(t[r-2]<<8)+t[r-1],i.push(v[e>>10]+v[e>>4&63]+v[e<<2&63]+"=")),i.join("")}});var fe=H(Z=>{c();Z.read=function(t,e,r,n,i){var o,a,l=i*8-n-1,p=(1<<l)-1,d=p>>1,h=-7,f=r?i-1:0,T=r?-1:1,_=t[e+f];for(f+=T,o=_&(1<<-h)-1,_>>=-h,h+=l;h>0;o=o*256+t[e+f],f+=T,h-=8);for(a=o&(1<<-h)-1,o>>=-h,h+=n;h>0;a=a*256+t[e+f],f+=T,h-=8);if(o===0)o=1-d;else{if(o===p)return a?NaN:(_?-1:1)*(1/0);a=a+Math.pow(2,n),o=o-d}return(_?-1:1)*a*Math.pow(2,o-n)};Z.write=function(t,e,r,n,i,o){var a,l,p,d=o*8-i-1,h=(1<<d)-1,f=h>>1,T=i===23?Math.pow(2,-24)-Math.pow(2,-77):0,_=n?0:o-1,O=n?1:-1,Ke=e<0||e===0&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(l=isNaN(e)?1:0,a=h):(a=Math.floor(Math.log(e)/Math.LN2),e*(p=Math.pow(2,-a))<1&&(a--,p*=2),a+f>=1?e+=T/p:e+=T*Math.pow(2,1-f),e*p>=2&&(a++,p/=2),a+f>=h?(l=0,a=h):a+f>=1?(l=(e*p-1)*Math.pow(2,i),a=a+f):(l=e*Math.pow(2,f-1)*Math.pow(2,i),a=0));i>=8;t[r+_]=l&255,_+=O,l/=256,i-=8);for(a=a<<i|l,d+=i;d>0;t[r+_]=a&255,_+=O,a/=256,d-=8);t[r+_-O]|=Ke*128}});var Re=H(G=>{"use strict";c();var J=ge(),M=fe(),he=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;G.Buffer=s;G.SlowBuffer=hr;G.INSPECT_MAX_BYTES=50;var j=2147483647;G.kMaxLength=j;s.TYPED_ARRAY_SUPPORT=ur();!s.TYPED_ARRAY_SUPPORT&&typeof console!="undefined"&&typeof console.error=="function"&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function ur(){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(s.prototype,"parent",{enumerable:!0,get:function(){if(!!s.isBuffer(this))return this.buffer}});Object.defineProperty(s.prototype,"offset",{enumerable:!0,get:function(){if(!!s.isBuffer(this))return this.byteOffset}});function R(t){if(t>j)throw new RangeError('The value "'+t+'" is invalid for option "size"');var e=new Uint8Array(t);return Object.setPrototypeOf(e,s.prototype),e}function s(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 ne(t)}return we(t,e,r)}s.poolSize=8192;function we(t,e,r){if(typeof t=="string")return mr(t,e);if(ArrayBuffer.isView(t))return gr(t);if(t==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t);if(k(t,ArrayBuffer)||t&&k(t.buffer,ArrayBuffer)||typeof SharedArrayBuffer!="undefined"&&(k(t,SharedArrayBuffer)||t&&k(t.buffer,SharedArrayBuffer)))return re(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 s.from(n,e,r);var i=fr(t);if(i)return i;if(typeof Symbol!="undefined"&&Symbol.toPrimitive!=null&&typeof t[Symbol.toPrimitive]=="function")return s.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)}s.from=function(t,e,r){return we(t,e,r)};Object.setPrototypeOf(s.prototype,Uint8Array.prototype);Object.setPrototypeOf(s,Uint8Array);function _e(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 dr(t,e,r){return _e(t),t<=0?R(t):e!==void 0?typeof r=="string"?R(t).fill(e,r):R(t).fill(e):R(t)}s.alloc=function(t,e,r){return dr(t,e,r)};function ne(t){return _e(t),R(t<0?0:ie(t)|0)}s.allocUnsafe=function(t){return ne(t)};s.allocUnsafeSlow=function(t){return ne(t)};function mr(t,e){if((typeof e!="string"||e==="")&&(e="utf8"),!s.isEncoding(e))throw new TypeError("Unknown encoding: "+e);var r=be(t,e)|0,n=R(r),i=n.write(t,e);return i!==r&&(n=n.slice(0,i)),n}function ee(t){for(var e=t.length<0?0:ie(t.length)|0,r=R(e),n=0;n<e;n+=1)r[n]=t[n]&255;return r}function gr(t){if(k(t,Uint8Array)){var e=new Uint8Array(t);return re(e.buffer,e.byteOffset,e.byteLength)}return ee(t)}function re(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,s.prototype),n}function fr(t){if(s.isBuffer(t)){var e=ie(t.length)|0,r=R(e);return r.length===0||t.copy(r,0,0,e),r}if(t.length!==void 0)return typeof t.length!="number"||oe(t.length)?R(0):ee(t);if(t.type==="Buffer"&&Array.isArray(t.data))return ee(t.data)}function ie(t){if(t>=j)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+j.toString(16)+" bytes");return t|0}function hr(t){return+t!=t&&(t=0),s.alloc(+t)}s.isBuffer=function(e){return e!=null&&e._isBuffer===!0&&e!==s.prototype};s.compare=function(e,r){if(k(e,Uint8Array)&&(e=s.from(e,e.offset,e.byteLength)),k(r,Uint8Array)&&(r=s.from(r,r.offset,r.byteLength)),!s.isBuffer(e)||!s.isBuffer(r))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(e===r)return 0;for(var n=e.length,i=r.length,o=0,a=Math.min(n,i);o<a;++o)if(e[o]!==r[o]){n=e[o],i=r[o];break}return n<i?-1:i<n?1:0};s.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}};s.concat=function(e,r){if(!Array.isArray(e))throw new TypeError('"list" argument must be an Array of Buffers');if(e.length===0)return s.alloc(0);var n;if(r===void 0)for(r=0,n=0;n<e.length;++n)r+=e[n].length;var i=s.allocUnsafe(r),o=0;for(n=0;n<e.length;++n){var a=e[n];if(k(a,Uint8Array))o+a.length>i.length?s.from(a).copy(i,o):Uint8Array.prototype.set.call(i,a,o);else if(s.isBuffer(a))a.copy(i,o);else throw new TypeError('"list" argument must be an Array of Buffers');o+=a.length}return i};function be(t,e){if(s.isBuffer(t))return t.length;if(ArrayBuffer.isView(t)||k(t,ArrayBuffer))return t.byteLength;if(typeof t!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof t);var 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 te(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return r*2;case"hex":return r>>>1;case"base64":return Ae(t).length;default:if(i)return n?-1:te(t).length;e=(""+e).toLowerCase(),i=!0}}s.byteLength=be;function yr(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 Ar(this,e,r);case"utf8":case"utf-8":return ve(this,e,r);case"ascii":return Er(this,e,r);case"latin1":case"binary":return Ir(this,e,r);case"base64":return vr(this,e,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Rr(this,e,r);default:if(n)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),n=!0}}s.prototype._isBuffer=!0;function B(t,e,r){var n=t[e];t[e]=t[r],t[r]=n}s.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)B(this,r,r+1);return this};s.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)B(this,r,r+3),B(this,r+1,r+2);return this};s.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)B(this,r,r+7),B(this,r+1,r+6),B(this,r+2,r+5),B(this,r+3,r+4);return this};s.prototype.toString=function(){var e=this.length;return e===0?"":arguments.length===0?ve(this,0,e):yr.apply(this,arguments)};s.prototype.toLocaleString=s.prototype.toString;s.prototype.equals=function(e){if(!s.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e?!0:s.compare(this,e)===0};s.prototype.inspect=function(){var e="",r=G.INSPECT_MAX_BYTES;return e=this.toString("hex",0,r).replace(/(.{2})/g,"$1 ").trim(),this.length>r&&(e+=" ... "),"<Buffer "+e+">"};he&&(s.prototype[he]=s.prototype.inspect);s.prototype.compare=function(e,r,n,i,o){if(k(e,Uint8Array)&&(e=s.from(e,e.offset,e.byteLength)),!s.isBuffer(e))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof e);if(r===void 0&&(r=0),n===void 0&&(n=e?e.length:0),i===void 0&&(i=0),o===void 0&&(o=this.length),r<0||n>e.length||i<0||o>this.length)throw new RangeError("out of range index");if(i>=o&&r>=n)return 0;if(i>=o)return-1;if(r>=n)return 1;if(r>>>=0,n>>>=0,i>>>=0,o>>>=0,this===e)return 0;for(var a=o-i,l=n-r,p=Math.min(a,l),d=this.slice(i,o),h=e.slice(r,n),f=0;f<p;++f)if(d[f]!==h[f]){a=d[f],l=h[f];break}return a<l?-1:l<a?1:0};function Te(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,oe(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=s.from(e,n)),s.isBuffer(e))return e.length===0?-1:ye(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):ye(t,[e],r,n,i);throw new TypeError("val must be string, number or Buffer")}function ye(t,e,r,n,i){var o=1,a=t.length,l=e.length;if(n!==void 0&&(n=String(n).toLowerCase(),n==="ucs2"||n==="ucs-2"||n==="utf16le"||n==="utf-16le")){if(t.length<2||e.length<2)return-1;o=2,a/=2,l/=2,r/=2}function p(_,O){return o===1?_[O]:_.readUInt16BE(O*o)}var d;if(i){var h=-1;for(d=r;d<a;d++)if(p(t,d)===p(e,h===-1?0:d-h)){if(h===-1&&(h=d),d-h+1===l)return h*o}else h!==-1&&(d-=d-h),h=-1}else for(r+l>a&&(r=a-l),d=r;d>=0;d--){for(var f=!0,T=0;T<l;T++)if(p(t,d+T)!==p(e,T)){f=!1;break}if(f)return d}return-1}s.prototype.includes=function(e,r,n){return this.indexOf(e,r,n)!==-1};s.prototype.indexOf=function(e,r,n){return Te(this,e,r,n,!0)};s.prototype.lastIndexOf=function(e,r,n){return Te(this,e,r,n,!1)};function xr(t,e,r,n){r=Number(r)||0;var i=t.length-r;n?(n=Number(n),n>i&&(n=i)):n=i;var o=e.length;n>o/2&&(n=o/2);for(var a=0;a<n;++a){var l=parseInt(e.substr(a*2,2),16);if(oe(l))return a;t[r+a]=l}return a}function wr(t,e,r,n){return X(te(e,t.length-r),t,r,n)}function _r(t,e,r,n){return X(Lr(e),t,r,n)}function br(t,e,r,n){return X(Ae(e),t,r,n)}function Tr(t,e,r,n){return X(Nr(e,t.length-r),t,r,n)}s.prototype.write=function(e,r,n,i){if(r===void 0)i="utf8",n=this.length,r=0;else if(n===void 0&&typeof r=="string")i=r,n=this.length,r=0;else if(isFinite(r))r=r>>>0,isFinite(n)?(n=n>>>0,i===void 0&&(i="utf8")):(i=n,n=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var o=this.length-r;if((n===void 0||n>o)&&(n=o),e.length>0&&(n<0||r<0)||r>this.length)throw new RangeError("Attempt to write outside buffer bounds");i||(i="utf8");for(var a=!1;;)switch(i){case"hex":return xr(this,e,r,n);case"utf8":case"utf-8":return wr(this,e,r,n);case"ascii":case"latin1":case"binary":return _r(this,e,r,n);case"base64":return br(this,e,r,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Tr(this,e,r,n);default:if(a)throw new TypeError("Unknown encoding: "+i);i=(""+i).toLowerCase(),a=!0}};s.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function vr(t,e,r){return e===0&&r===t.length?J.fromByteArray(t):J.fromByteArray(t.slice(e,r))}function ve(t,e,r){r=Math.min(t.length,r);for(var n=[],i=e;i<r;){var o=t[i],a=null,l=o>239?4:o>223?3:o>191?2:1;if(i+l<=r){var p,d,h,f;switch(l){case 1:o<128&&(a=o);break;case 2:p=t[i+1],(p&192)===128&&(f=(o&31)<<6|p&63,f>127&&(a=f));break;case 3:p=t[i+1],d=t[i+2],(p&192)===128&&(d&192)===128&&(f=(o&15)<<12|(p&63)<<6|d&63,f>2047&&(f<55296||f>57343)&&(a=f));break;case 4:p=t[i+1],d=t[i+2],h=t[i+3],(p&192)===128&&(d&192)===128&&(h&192)===128&&(f=(o&15)<<18|(p&63)<<12|(d&63)<<6|h&63,f>65535&&f<1114112&&(a=f))}}a===null?(a=65533,l=1):a>65535&&(a-=65536,n.push(a>>>10&1023|55296),a=56320|a&1023),n.push(a),i+=l}return kr(n)}var xe=4096;function kr(t){var e=t.length;if(e<=xe)return String.fromCharCode.apply(String,t);for(var r="",n=0;n<e;)r+=String.fromCharCode.apply(String,t.slice(n,n+=xe));return r}function Er(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 Ir(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 Ar(t,e,r){var n=t.length;(!e||e<0)&&(e=0),(!r||r<0||r>n)&&(r=n);for(var i="",o=e;o<r;++o)i+=Fr[t[o]];return i}function Rr(t,e,r){for(var n=t.slice(e,r),i="",o=0;o<n.length-1;o+=2)i+=String.fromCharCode(n[o]+n[o+1]*256);return i}s.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,s.prototype),i};function x(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")}s.prototype.readUintLE=s.prototype.readUIntLE=function(e,r,n){e=e>>>0,r=r>>>0,n||x(e,r,this.length);for(var i=this[e],o=1,a=0;++a<r&&(o*=256);)i+=this[e+a]*o;return i};s.prototype.readUintBE=s.prototype.readUIntBE=function(e,r,n){e=e>>>0,r=r>>>0,n||x(e,r,this.length);for(var i=this[e+--r],o=1;r>0&&(o*=256);)i+=this[e+--r]*o;return i};s.prototype.readUint8=s.prototype.readUInt8=function(e,r){return e=e>>>0,r||x(e,1,this.length),this[e]};s.prototype.readUint16LE=s.prototype.readUInt16LE=function(e,r){return e=e>>>0,r||x(e,2,this.length),this[e]|this[e+1]<<8};s.prototype.readUint16BE=s.prototype.readUInt16BE=function(e,r){return e=e>>>0,r||x(e,2,this.length),this[e]<<8|this[e+1]};s.prototype.readUint32LE=s.prototype.readUInt32LE=function(e,r){return e=e>>>0,r||x(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+this[e+3]*16777216};s.prototype.readUint32BE=s.prototype.readUInt32BE=function(e,r){return e=e>>>0,r||x(e,4,this.length),this[e]*16777216+(this[e+1]<<16|this[e+2]<<8|this[e+3])};s.prototype.readIntLE=function(e,r,n){e=e>>>0,r=r>>>0,n||x(e,r,this.length);for(var i=this[e],o=1,a=0;++a<r&&(o*=256);)i+=this[e+a]*o;return o*=128,i>=o&&(i-=Math.pow(2,8*r)),i};s.prototype.readIntBE=function(e,r,n){e=e>>>0,r=r>>>0,n||x(e,r,this.length);for(var i=r,o=1,a=this[e+--i];i>0&&(o*=256);)a+=this[e+--i]*o;return o*=128,a>=o&&(a-=Math.pow(2,8*r)),a};s.prototype.readInt8=function(e,r){return e=e>>>0,r||x(e,1,this.length),this[e]&128?(255-this[e]+1)*-1:this[e]};s.prototype.readInt16LE=function(e,r){e=e>>>0,r||x(e,2,this.length);var n=this[e]|this[e+1]<<8;return n&32768?n|4294901760:n};s.prototype.readInt16BE=function(e,r){e=e>>>0,r||x(e,2,this.length);var n=this[e+1]|this[e]<<8;return n&32768?n|4294901760:n};s.prototype.readInt32LE=function(e,r){return e=e>>>0,r||x(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24};s.prototype.readInt32BE=function(e,r){return e=e>>>0,r||x(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]};s.prototype.readFloatLE=function(e,r){return e=e>>>0,r||x(e,4,this.length),M.read(this,e,!0,23,4)};s.prototype.readFloatBE=function(e,r){return e=e>>>0,r||x(e,4,this.length),M.read(this,e,!1,23,4)};s.prototype.readDoubleLE=function(e,r){return e=e>>>0,r||x(e,8,this.length),M.read(this,e,!0,52,8)};s.prototype.readDoubleBE=function(e,r){return e=e>>>0,r||x(e,8,this.length),M.read(this,e,!1,52,8)};function w(t,e,r,n,i,o){if(!s.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>i||e<o)throw new RangeError('"value" argument is out of bounds');if(r+n>t.length)throw new RangeError("Index out of range")}s.prototype.writeUintLE=s.prototype.writeUIntLE=function(e,r,n,i){if(e=+e,r=r>>>0,n=n>>>0,!i){var o=Math.pow(2,8*n)-1;w(this,e,r,n,o,0)}var a=1,l=0;for(this[r]=e&255;++l<n&&(a*=256);)this[r+l]=e/a&255;return r+n};s.prototype.writeUintBE=s.prototype.writeUIntBE=function(e,r,n,i){if(e=+e,r=r>>>0,n=n>>>0,!i){var o=Math.pow(2,8*n)-1;w(this,e,r,n,o,0)}var a=n-1,l=1;for(this[r+a]=e&255;--a>=0&&(l*=256);)this[r+a]=e/l&255;return r+n};s.prototype.writeUint8=s.prototype.writeUInt8=function(e,r,n){return e=+e,r=r>>>0,n||w(this,e,r,1,255,0),this[r]=e&255,r+1};s.prototype.writeUint16LE=s.prototype.writeUInt16LE=function(e,r,n){return e=+e,r=r>>>0,n||w(this,e,r,2,65535,0),this[r]=e&255,this[r+1]=e>>>8,r+2};s.prototype.writeUint16BE=s.prototype.writeUInt16BE=function(e,r,n){return e=+e,r=r>>>0,n||w(this,e,r,2,65535,0),this[r]=e>>>8,this[r+1]=e&255,r+2};s.prototype.writeUint32LE=s.prototype.writeUInt32LE=function(e,r,n){return e=+e,r=r>>>0,n||w(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};s.prototype.writeUint32BE=s.prototype.writeUInt32BE=function(e,r,n){return e=+e,r=r>>>0,n||w(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};s.prototype.writeIntLE=function(e,r,n,i){if(e=+e,r=r>>>0,!i){var o=Math.pow(2,8*n-1);w(this,e,r,n,o-1,-o)}var a=0,l=1,p=0;for(this[r]=e&255;++a<n&&(l*=256);)e<0&&p===0&&this[r+a-1]!==0&&(p=1),this[r+a]=(e/l>>0)-p&255;return r+n};s.prototype.writeIntBE=function(e,r,n,i){if(e=+e,r=r>>>0,!i){var o=Math.pow(2,8*n-1);w(this,e,r,n,o-1,-o)}var a=n-1,l=1,p=0;for(this[r+a]=e&255;--a>=0&&(l*=256);)e<0&&p===0&&this[r+a+1]!==0&&(p=1),this[r+a]=(e/l>>0)-p&255;return r+n};s.prototype.writeInt8=function(e,r,n){return e=+e,r=r>>>0,n||w(this,e,r,1,127,-128),e<0&&(e=255+e+1),this[r]=e&255,r+1};s.prototype.writeInt16LE=function(e,r,n){return e=+e,r=r>>>0,n||w(this,e,r,2,32767,-32768),this[r]=e&255,this[r+1]=e>>>8,r+2};s.prototype.writeInt16BE=function(e,r,n){return e=+e,r=r>>>0,n||w(this,e,r,2,32767,-32768),this[r]=e>>>8,this[r+1]=e&255,r+2};s.prototype.writeInt32LE=function(e,r,n){return e=+e,r=r>>>0,n||w(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};s.prototype.writeInt32BE=function(e,r,n){return e=+e,r=r>>>0,n||w(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 ke(t,e,r,n,i,o){if(r+n>t.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function Ee(t,e,r,n,i){return e=+e,r=r>>>0,i||ke(t,e,r,4,34028234663852886e22,-34028234663852886e22),M.write(t,e,r,n,23,4),r+4}s.prototype.writeFloatLE=function(e,r,n){return Ee(this,e,r,!0,n)};s.prototype.writeFloatBE=function(e,r,n){return Ee(this,e,r,!1,n)};function Ie(t,e,r,n,i){return e=+e,r=r>>>0,i||ke(t,e,r,8,17976931348623157e292,-17976931348623157e292),M.write(t,e,r,n,52,8),r+8}s.prototype.writeDoubleLE=function(e,r,n){return Ie(this,e,r,!0,n)};s.prototype.writeDoubleBE=function(e,r,n){return Ie(this,e,r,!1,n)};s.prototype.copy=function(e,r,n,i){if(!s.isBuffer(e))throw new TypeError("argument should be a Buffer");if(n||(n=0),!i&&i!==0&&(i=this.length),r>=e.length&&(r=e.length),r||(r=0),i>0&&i<n&&(i=n),i===n||e.length===0||this.length===0)return 0;if(r<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw new RangeError("Index out of range");if(i<0)throw new RangeError("sourceEnd out of bounds");i>this.length&&(i=this.length),e.length-r<i-n&&(i=e.length-r+n);var o=i-n;return this===e&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(r,n,i):Uint8Array.prototype.set.call(e,this.subarray(n,i),r),o};s.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"&&!s.isEncoding(i))throw new TypeError("Unknown encoding: "+i);if(e.length===1){var o=e.charCodeAt(0);(i==="utf8"&&o<128||i==="latin1")&&(e=o)}}else typeof e=="number"?e=e&255:typeof e=="boolean"&&(e=Number(e));if(r<0||this.length<r||this.length<n)throw new RangeError("Out of range index");if(n<=r)return this;r=r>>>0,n=n===void 0?this.length:n>>>0,e||(e=0);var a;if(typeof e=="number")for(a=r;a<n;++a)this[a]=e;else{var l=s.isBuffer(e)?e:s.from(e,i),p=l.length;if(p===0)throw new TypeError('The value "'+e+'" is invalid for argument "value"');for(a=0;a<n-r;++a)this[a+r]=l[a%p]}return this};var Sr=/[^+/0-9A-Za-z-_]/g;function Dr(t){if(t=t.split("=")[0],t=t.trim().replace(Sr,""),t.length<2)return"";for(;t.length%4!==0;)t=t+"=";return t}function te(t,e){e=e||1/0;for(var r,n=t.length,i=null,o=[],a=0;a<n;++a){if(r=t.charCodeAt(a),r>55295&&r<57344){if(!i){if(r>56319){(e-=3)>-1&&o.push(239,191,189);continue}else if(a+1===n){(e-=3)>-1&&o.push(239,191,189);continue}i=r;continue}if(r<56320){(e-=3)>-1&&o.push(239,191,189),i=r;continue}r=(i-55296<<10|r-56320)+65536}else i&&(e-=3)>-1&&o.push(239,191,189);if(i=null,r<128){if((e-=1)<0)break;o.push(r)}else if(r<2048){if((e-=2)<0)break;o.push(r>>6|192,r&63|128)}else if(r<65536){if((e-=3)<0)break;o.push(r>>12|224,r>>6&63|128,r&63|128)}else if(r<1114112){if((e-=4)<0)break;o.push(r>>18|240,r>>12&63|128,r>>6&63|128,r&63|128)}else throw new Error("Invalid code point")}return o}function Lr(t){for(var e=[],r=0;r<t.length;++r)e.push(t.charCodeAt(r)&255);return e}function Nr(t,e){for(var r,n,i,o=[],a=0;a<t.length&&!((e-=2)<0);++a)r=t.charCodeAt(a),n=r>>8,i=r%256,o.push(i),o.push(n);return o}function Ae(t){return J.toByteArray(Dr(t))}function X(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 k(t,e){return t instanceof e||t!=null&&t.constructor!=null&&t.constructor.name!=null&&t.constructor.name===e.name}function oe(t){return t!==t}var Fr=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 Fe=H((Xr,Ne)=>{c();var y=Ne.exports={},E,I;function ae(){throw new Error("setTimeout has not been defined")}function se(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?E=setTimeout:E=ae}catch(t){E=ae}try{typeof clearTimeout=="function"?I=clearTimeout:I=se}catch(t){I=se}})();function Se(t){if(E===setTimeout)return setTimeout(t,0);if((E===ae||!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 Cr(t){if(I===clearTimeout)return clearTimeout(t);if((I===se||!I)&&clearTimeout)return I=clearTimeout,clearTimeout(t);try{return I(t)}catch(e){try{return I.call(null,t)}catch(r){return I.call(this,t)}}}var S=[],z=!1,U,Y=-1;function Br(){!z||!U||(z=!1,U.length?S=U.concat(S):Y=-1,S.length&&De())}function De(){if(!z){var t=Se(Br);z=!0;for(var e=S.length;e;){for(U=S,S=[];++Y<e;)U&&U[Y].run();Y=-1,e=S.length}U=null,z=!1,Cr(t)}}y.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];S.push(new Le(t,e)),S.length===1&&!z&&Se(De)};function Le(t,e){this.fun=t,this.array=e}Le.prototype.run=function(){this.fun.apply(null,this.array)};y.title="browser";y.browser=!0;y.env={};y.argv=[];y.version="";y.versions={};function D(){}y.on=D;y.addListener=D;y.once=D;y.off=D;y.removeListener=D;y.removeAllListeners=D;y.emit=D;y.prependListener=D;y.prependOnceListener=D;y.listeners=function(t){return[]};y.binding=function(t){throw new Error("process.binding is not supported")};y.cwd=function(){return"/"};y.chdir=function(t){throw new Error("process.chdir is not supported")};y.umask=function(){return 0}});var u,m,Yr,c=rr(()=>{u=V(Re()),m=V(Fe()),Yr=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 Vr={};tr(Vr,{DataDecode:()=>zr});module.exports=nr(Vr);c();var N=V(require("react")),je=require("@fortawesome/free-solid-svg-icons"),Xe=require("@fortawesome/react-fontawesome"),Ye=V(require("classnames"));c();c();c();c();c();c();c();c();c();c();c();var P=(i=>(i.raw="raw",i.text="text",i.decimal="decimal",i.smart="smart",i))(P||{});c();c();var ce={devnet:{id:"devnet",chainId:"D",name:"Devnet",egldLabel:"xEGLD",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"https://maiar.page.link/?apn=com.elrond.maiar.wallet&isi=1519405832&ibi=com.elrond.maiar.wallet&link=https://xportal.com/",walletConnectBridgeAddresses:["https://bridge.walletconnect.org"],walletConnectV2RelayAddresses:["wss://relay.walletconnect.com"],walletAddress:"https://devnet-wallet.multiversx.com",apiAddress:"https://devnet-api.multiversx.com",explorerAddress:"http://devnet-explorer.multiversx.com",apiTimeout:"4000"},testnet:{id:"testnet",chainId:"T",name:"Testnet",egldLabel:"xEGLD",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"https://maiar.page.link/?apn=com.elrond.maiar.wallet&isi=1519405832&ibi=com.elrond.maiar.wallet&link=https://xportal.com/",walletConnectBridgeAddresses:["https://bridge.walletconnect.org"],walletConnectV2RelayAddresses:["wss://relay.walletconnect.com"],walletAddress:"https://testnet-wallet.multiversx.com",apiAddress:"https://testnet-api.multiversx.com",explorerAddress:"http://testnet-explorer.multiversx.com",apiTimeout:"4000"},mainnet:{id:"mainnet",chainId:"1",name:"Mainnet",egldLabel:"EGLD",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"https://maiar.page.link/?apn=com.elrond.maiar.wallet&isi=1519405832&ibi=com.elrond.maiar.wallet&link=https://xportal.com/",walletConnectBridgeAddresses:["https://bridge.walletconnect.org"],walletConnectV2RelayAddresses:["wss://relay.walletconnect.com"],walletAddress:"https://wallet.multiversx.com",apiAddress:"https://api.multiversx.com",explorerAddress:"https://explorer.multiversx.com",apiTimeout:"4000"}},{chainId:Ce,egldLabel:mt}=ce["devnet"],{chainId:Be,egldLabel:gt}=ce["testnet"],{chainId:Ue,egldLabel:ft}=ce["mainnet"];var ht={["devnet"]:Ce,["testnet"]:Be,["mainnet"]:Ue},yt={[Ce]:"devnet",[Be]:"testnet",[Ue]:"mainnet"};c();c();c();c();var A=require("@multiversx/sdk-web-wallet-provider");c();var Pe="N/A";c();var Q=require("react");c();c();c();c();var ze=require("@multiversx/sdk-core/out"),pe=V(require("bignumber.js"));c();var Oe=require("@multiversx/sdk-core");function Ur(t){try{let e=new Oe.Address(t);return Boolean(e.bech32())}catch(e){return!1}}function Me(t){return(t==null?void 0:t.startsWith("erd"))&&t.length===62&&/^\w+$/.test(t)&&Ur(t)}c();c();c();c();function le(t){for(let e=0;e<t.length;e++)if(t.charCodeAt(e)>127)return!1;return!0}c();var Ge=t=>/\d/.test(t);var L=(t,e,r)=>{try{switch(e){case"text":return Ge(t)?u.Buffer.from(t,"hex").toString("utf8"):t;case"decimal":return new pe.default(t,16).toString(10);case"smart":let i=ze.Address.fromHex(t).toString();if(Me(i))return i;let o=u.Buffer.from(t,"hex").toString("utf8");return le(o)||r&&[...r.esdts,...r.nfts].some(p=>o.includes(p))?o:new pe.default(t,16).toString(10);case"raw":default:return t}}catch(n){return console.error(`Error during data decoding of "${t}" as "${e}"`,n),t}};c();c();var Pr=t=>t.toLowerCase().match(/[0-9a-f]/g),Or=t=>t.length%2===0,Ve=t=>{let e=[];return t&&!Pr(t)&&e.push(`Invalid Hex characters on argument @${t}`),t&&!Or(t)&&e.push(`Odd number of Hex characters on argument @${t}`),e};c();var K=({parts:t,decodedParts:e,identifier:r})=>{let n=[...e];if(t[0]==="ESDTNFTTransfer"&&t[2]&&(n[2]=L(t[2],"decimal")),r==="ESDTNFTTransfer"&&t[1]){let i=u.Buffer.from(String(t[1]),"base64");n[1]=L(i.toString("hex"),"decimal")}return n};var We=({parts:t,decodeMethod:e,identifier:r,display:n})=>{let i=t.map((o,a)=>{if(t.length>=2&&(a===0&&o.length<64||a===1&&!t[0]))return/[^a-z0-9]/gi.test(o)?L(o,e):o;{let l=Ve(o);return l.length&&(n.validationWarnings=Array.from(new Set([...n.validationWarnings,...l]))),L(o,e)}});return e==="smart"?K({parts:t,decodedParts:i,identifier:r}):i};var He=({input:t,decodeMethod:e,identifier:r})=>{let n={displayValue:"",validationWarnings:[]};if(t.includes("@")){let i=t.split("@"),o=We({parts:i,identifier:r,decodeMethod:e,display:n});return n.displayValue=o.join("@"),n}if(t.includes(`
|
|
2
2
|
`)){let i=t.split(`
|
|
3
3
|
`),o=i.map(l=>{let p=u.Buffer.from(String(l),"base64");return e==="raw"?l:L(p.toString("hex"),e)}),a=e==="smart"?K({parts:i,decodedParts:o,identifier:r}):o;return n.displayValue=a.join(`
|
|
4
|
-
`),n}return n.displayValue=L(t,e),n};var Mr=[{label:"Raw",value:"raw"},{label:"Text",value:"text"},{label:"Decimal",value:"decimal"},{label:"Smart",value:"smart"}],qe=({value:t,initialDecodeMethod:e,setDecodeMethod:r,identifier:n})=>{let[i,o]=(0,Q.useState)(e&&Object.values(P).includes(e)?e:"raw"),{displayValue:a,validationWarnings:l}=
|
|
4
|
+
`),n}return n.displayValue=L(t,e),n};var Mr=[{label:"Raw",value:"raw"},{label:"Text",value:"text"},{label:"Decimal",value:"decimal"},{label:"Smart",value:"smart"}],qe=({value:t,initialDecodeMethod:e,setDecodeMethod:r,identifier:n})=>{let[i,o]=(0,Q.useState)(e&&Object.values(P).includes(e)?e:"raw"),{displayValue:a,validationWarnings:l}=He({input:t,decodeMethod:i,identifier:n});return(0,Q.useEffect)(()=>{r&&r(i)},[i]),{displayValue:a,validationWarnings:l,setActiveKey:o,decodeOptions:Mr}};c();var Gr=`.dapp-core-component__styles__decode {
|
|
5
5
|
margin-top: 0.25rem;
|
|
6
6
|
position: relative;
|
|
7
7
|
max-width: 100%;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
"use strict";var Qe=Object.create;var H=Object.defineProperty;var $e=Object.getOwnPropertyDescriptor;var Ze=Object.getOwnPropertyNames;var Je=Object.getPrototypeOf,er=Object.prototype.hasOwnProperty;var rr=(t,e)=>()=>(t&&(e=t(t=0)),e);var W=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),tr=(t,e)=>{for(var r in e)H(t,r,{get:e[r],enumerable:!0})},ue=(t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of Ze(e))!er.call(t,i)&&i!==r&&H(t,i,{get:()=>e[i],enumerable:!(n=$e(e,i))||n.enumerable});return t};var V=(t,e,r)=>(r=t!=null?Qe(Je(t)):{},ue(e||!t||!t.__esModule?H(r,"default",{value:t,enumerable:!0}):r,t)),nr=t=>ue(H({},"__esModule",{value:!0}),t);var ge=W(q=>{"use strict";c();q.byteLength=or;q.toByteArray=sr;q.fromByteArray=pr;var v=[],b=[],ir=typeof Uint8Array!="undefined"?Uint8Array:Array,$="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(C=0,de=$.length;C<de;++C)v[C]=$[C],b[$.charCodeAt(C)]=C;var C,de;b["-".charCodeAt(0)]=62;b["_".charCodeAt(0)]=63;function me(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 or(t){var e=me(t),r=e[0],n=e[1];return(r+n)*3/4-n}function ar(t,e,r){return(e+r)*3/4-r}function sr(t){var e,r=me(t),n=r[0],i=r[1],o=new ir(ar(t,n,i)),a=0,l=i>0?n-4:n,p;for(p=0;p<l;p+=4)e=b[t.charCodeAt(p)]<<18|b[t.charCodeAt(p+1)]<<12|b[t.charCodeAt(p+2)]<<6|b[t.charCodeAt(p+3)],o[a++]=e>>16&255,o[a++]=e>>8&255,o[a++]=e&255;return i===2&&(e=b[t.charCodeAt(p)]<<2|b[t.charCodeAt(p+1)]>>4,o[a++]=e&255),i===1&&(e=b[t.charCodeAt(p)]<<10|b[t.charCodeAt(p+1)]<<4|b[t.charCodeAt(p+2)]>>2,o[a++]=e>>8&255,o[a++]=e&255),o}function cr(t){return v[t>>18&63]+v[t>>12&63]+v[t>>6&63]+v[t&63]}function lr(t,e,r){for(var n,i=[],o=e;o<r;o+=3)n=(t[o]<<16&16711680)+(t[o+1]<<8&65280)+(t[o+2]&255),i.push(cr(n));return i.join("")}function pr(t){for(var e,r=t.length,n=r%3,i=[],o=16383,a=0,l=r-n;a<l;a+=o)i.push(lr(t,a,a+o>l?l:a+o));return n===1?(e=t[r-1],i.push(v[e>>2]+v[e<<4&63]+"==")):n===2&&(e=(t[r-2]<<8)+t[r-1],i.push(v[e>>10]+v[e>>4&63]+v[e<<2&63]+"=")),i.join("")}});var fe=W(Z=>{c();Z.read=function(t,e,r,n,i){var o,a,l=i*8-n-1,p=(1<<l)-1,d=p>>1,h=-7,f=r?i-1:0,T=r?-1:1,_=t[e+f];for(f+=T,o=_&(1<<-h)-1,_>>=-h,h+=l;h>0;o=o*256+t[e+f],f+=T,h-=8);for(a=o&(1<<-h)-1,o>>=-h,h+=n;h>0;a=a*256+t[e+f],f+=T,h-=8);if(o===0)o=1-d;else{if(o===p)return a?NaN:(_?-1:1)*(1/0);a=a+Math.pow(2,n),o=o-d}return(_?-1:1)*a*Math.pow(2,o-n)};Z.write=function(t,e,r,n,i,o){var a,l,p,d=o*8-i-1,h=(1<<d)-1,f=h>>1,T=i===23?Math.pow(2,-24)-Math.pow(2,-77):0,_=n?0:o-1,O=n?1:-1,Ke=e<0||e===0&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(l=isNaN(e)?1:0,a=h):(a=Math.floor(Math.log(e)/Math.LN2),e*(p=Math.pow(2,-a))<1&&(a--,p*=2),a+f>=1?e+=T/p:e+=T*Math.pow(2,1-f),e*p>=2&&(a++,p/=2),a+f>=h?(l=0,a=h):a+f>=1?(l=(e*p-1)*Math.pow(2,i),a=a+f):(l=e*Math.pow(2,f-1)*Math.pow(2,i),a=0));i>=8;t[r+_]=l&255,_+=O,l/=256,i-=8);for(a=a<<i|l,d+=i;d>0;t[r+_]=a&255,_+=O,a/=256,d-=8);t[r+_-O]|=Ke*128}});var Re=W(G=>{"use strict";c();var J=ge(),M=fe(),he=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;G.Buffer=s;G.SlowBuffer=hr;G.INSPECT_MAX_BYTES=50;var j=2147483647;G.kMaxLength=j;s.TYPED_ARRAY_SUPPORT=ur();!s.TYPED_ARRAY_SUPPORT&&typeof console!="undefined"&&typeof console.error=="function"&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function ur(){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(s.prototype,"parent",{enumerable:!0,get:function(){if(!!s.isBuffer(this))return this.buffer}});Object.defineProperty(s.prototype,"offset",{enumerable:!0,get:function(){if(!!s.isBuffer(this))return this.byteOffset}});function R(t){if(t>j)throw new RangeError('The value "'+t+'" is invalid for option "size"');var e=new Uint8Array(t);return Object.setPrototypeOf(e,s.prototype),e}function s(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 ne(t)}return we(t,e,r)}s.poolSize=8192;function we(t,e,r){if(typeof t=="string")return mr(t,e);if(ArrayBuffer.isView(t))return gr(t);if(t==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t);if(k(t,ArrayBuffer)||t&&k(t.buffer,ArrayBuffer)||typeof SharedArrayBuffer!="undefined"&&(k(t,SharedArrayBuffer)||t&&k(t.buffer,SharedArrayBuffer)))return re(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 s.from(n,e,r);var i=fr(t);if(i)return i;if(typeof Symbol!="undefined"&&Symbol.toPrimitive!=null&&typeof t[Symbol.toPrimitive]=="function")return s.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)}s.from=function(t,e,r){return we(t,e,r)};Object.setPrototypeOf(s.prototype,Uint8Array.prototype);Object.setPrototypeOf(s,Uint8Array);function _e(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 dr(t,e,r){return _e(t),t<=0?R(t):e!==void 0?typeof r=="string"?R(t).fill(e,r):R(t).fill(e):R(t)}s.alloc=function(t,e,r){return dr(t,e,r)};function ne(t){return _e(t),R(t<0?0:ie(t)|0)}s.allocUnsafe=function(t){return ne(t)};s.allocUnsafeSlow=function(t){return ne(t)};function mr(t,e){if((typeof e!="string"||e==="")&&(e="utf8"),!s.isEncoding(e))throw new TypeError("Unknown encoding: "+e);var r=be(t,e)|0,n=R(r),i=n.write(t,e);return i!==r&&(n=n.slice(0,i)),n}function ee(t){for(var e=t.length<0?0:ie(t.length)|0,r=R(e),n=0;n<e;n+=1)r[n]=t[n]&255;return r}function gr(t){if(k(t,Uint8Array)){var e=new Uint8Array(t);return re(e.buffer,e.byteOffset,e.byteLength)}return ee(t)}function re(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,s.prototype),n}function fr(t){if(s.isBuffer(t)){var e=ie(t.length)|0,r=R(e);return r.length===0||t.copy(r,0,0,e),r}if(t.length!==void 0)return typeof t.length!="number"||oe(t.length)?R(0):ee(t);if(t.type==="Buffer"&&Array.isArray(t.data))return ee(t.data)}function ie(t){if(t>=j)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+j.toString(16)+" bytes");return t|0}function hr(t){return+t!=t&&(t=0),s.alloc(+t)}s.isBuffer=function(e){return e!=null&&e._isBuffer===!0&&e!==s.prototype};s.compare=function(e,r){if(k(e,Uint8Array)&&(e=s.from(e,e.offset,e.byteLength)),k(r,Uint8Array)&&(r=s.from(r,r.offset,r.byteLength)),!s.isBuffer(e)||!s.isBuffer(r))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(e===r)return 0;for(var n=e.length,i=r.length,o=0,a=Math.min(n,i);o<a;++o)if(e[o]!==r[o]){n=e[o],i=r[o];break}return n<i?-1:i<n?1:0};s.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}};s.concat=function(e,r){if(!Array.isArray(e))throw new TypeError('"list" argument must be an Array of Buffers');if(e.length===0)return s.alloc(0);var n;if(r===void 0)for(r=0,n=0;n<e.length;++n)r+=e[n].length;var i=s.allocUnsafe(r),o=0;for(n=0;n<e.length;++n){var a=e[n];if(k(a,Uint8Array))o+a.length>i.length?s.from(a).copy(i,o):Uint8Array.prototype.set.call(i,a,o);else if(s.isBuffer(a))a.copy(i,o);else throw new TypeError('"list" argument must be an Array of Buffers');o+=a.length}return i};function be(t,e){if(s.isBuffer(t))return t.length;if(ArrayBuffer.isView(t)||k(t,ArrayBuffer))return t.byteLength;if(typeof t!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof t);var 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 te(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return r*2;case"hex":return r>>>1;case"base64":return Ae(t).length;default:if(i)return n?-1:te(t).length;e=(""+e).toLowerCase(),i=!0}}s.byteLength=be;function yr(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 Ar(this,e,r);case"utf8":case"utf-8":return ve(this,e,r);case"ascii":return Er(this,e,r);case"latin1":case"binary":return Ir(this,e,r);case"base64":return vr(this,e,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Rr(this,e,r);default:if(n)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),n=!0}}s.prototype._isBuffer=!0;function B(t,e,r){var n=t[e];t[e]=t[r],t[r]=n}s.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)B(this,r,r+1);return this};s.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)B(this,r,r+3),B(this,r+1,r+2);return this};s.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)B(this,r,r+7),B(this,r+1,r+6),B(this,r+2,r+5),B(this,r+3,r+4);return this};s.prototype.toString=function(){var e=this.length;return e===0?"":arguments.length===0?ve(this,0,e):yr.apply(this,arguments)};s.prototype.toLocaleString=s.prototype.toString;s.prototype.equals=function(e){if(!s.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e?!0:s.compare(this,e)===0};s.prototype.inspect=function(){var e="",r=G.INSPECT_MAX_BYTES;return e=this.toString("hex",0,r).replace(/(.{2})/g,"$1 ").trim(),this.length>r&&(e+=" ... "),"<Buffer "+e+">"};he&&(s.prototype[he]=s.prototype.inspect);s.prototype.compare=function(e,r,n,i,o){if(k(e,Uint8Array)&&(e=s.from(e,e.offset,e.byteLength)),!s.isBuffer(e))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof e);if(r===void 0&&(r=0),n===void 0&&(n=e?e.length:0),i===void 0&&(i=0),o===void 0&&(o=this.length),r<0||n>e.length||i<0||o>this.length)throw new RangeError("out of range index");if(i>=o&&r>=n)return 0;if(i>=o)return-1;if(r>=n)return 1;if(r>>>=0,n>>>=0,i>>>=0,o>>>=0,this===e)return 0;for(var a=o-i,l=n-r,p=Math.min(a,l),d=this.slice(i,o),h=e.slice(r,n),f=0;f<p;++f)if(d[f]!==h[f]){a=d[f],l=h[f];break}return a<l?-1:l<a?1:0};function Te(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,oe(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=s.from(e,n)),s.isBuffer(e))return e.length===0?-1:ye(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):ye(t,[e],r,n,i);throw new TypeError("val must be string, number or Buffer")}function ye(t,e,r,n,i){var o=1,a=t.length,l=e.length;if(n!==void 0&&(n=String(n).toLowerCase(),n==="ucs2"||n==="ucs-2"||n==="utf16le"||n==="utf-16le")){if(t.length<2||e.length<2)return-1;o=2,a/=2,l/=2,r/=2}function p(_,O){return o===1?_[O]:_.readUInt16BE(O*o)}var d;if(i){var h=-1;for(d=r;d<a;d++)if(p(t,d)===p(e,h===-1?0:d-h)){if(h===-1&&(h=d),d-h+1===l)return h*o}else h!==-1&&(d-=d-h),h=-1}else for(r+l>a&&(r=a-l),d=r;d>=0;d--){for(var f=!0,T=0;T<l;T++)if(p(t,d+T)!==p(e,T)){f=!1;break}if(f)return d}return-1}s.prototype.includes=function(e,r,n){return this.indexOf(e,r,n)!==-1};s.prototype.indexOf=function(e,r,n){return Te(this,e,r,n,!0)};s.prototype.lastIndexOf=function(e,r,n){return Te(this,e,r,n,!1)};function xr(t,e,r,n){r=Number(r)||0;var i=t.length-r;n?(n=Number(n),n>i&&(n=i)):n=i;var o=e.length;n>o/2&&(n=o/2);for(var a=0;a<n;++a){var l=parseInt(e.substr(a*2,2),16);if(oe(l))return a;t[r+a]=l}return a}function wr(t,e,r,n){return X(te(e,t.length-r),t,r,n)}function _r(t,e,r,n){return X(Lr(e),t,r,n)}function br(t,e,r,n){return X(Ae(e),t,r,n)}function Tr(t,e,r,n){return X(Nr(e,t.length-r),t,r,n)}s.prototype.write=function(e,r,n,i){if(r===void 0)i="utf8",n=this.length,r=0;else if(n===void 0&&typeof r=="string")i=r,n=this.length,r=0;else if(isFinite(r))r=r>>>0,isFinite(n)?(n=n>>>0,i===void 0&&(i="utf8")):(i=n,n=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var o=this.length-r;if((n===void 0||n>o)&&(n=o),e.length>0&&(n<0||r<0)||r>this.length)throw new RangeError("Attempt to write outside buffer bounds");i||(i="utf8");for(var a=!1;;)switch(i){case"hex":return xr(this,e,r,n);case"utf8":case"utf-8":return wr(this,e,r,n);case"ascii":case"latin1":case"binary":return _r(this,e,r,n);case"base64":return br(this,e,r,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Tr(this,e,r,n);default:if(a)throw new TypeError("Unknown encoding: "+i);i=(""+i).toLowerCase(),a=!0}};s.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function vr(t,e,r){return e===0&&r===t.length?J.fromByteArray(t):J.fromByteArray(t.slice(e,r))}function ve(t,e,r){r=Math.min(t.length,r);for(var n=[],i=e;i<r;){var o=t[i],a=null,l=o>239?4:o>223?3:o>191?2:1;if(i+l<=r){var p,d,h,f;switch(l){case 1:o<128&&(a=o);break;case 2:p=t[i+1],(p&192)===128&&(f=(o&31)<<6|p&63,f>127&&(a=f));break;case 3:p=t[i+1],d=t[i+2],(p&192)===128&&(d&192)===128&&(f=(o&15)<<12|(p&63)<<6|d&63,f>2047&&(f<55296||f>57343)&&(a=f));break;case 4:p=t[i+1],d=t[i+2],h=t[i+3],(p&192)===128&&(d&192)===128&&(h&192)===128&&(f=(o&15)<<18|(p&63)<<12|(d&63)<<6|h&63,f>65535&&f<1114112&&(a=f))}}a===null?(a=65533,l=1):a>65535&&(a-=65536,n.push(a>>>10&1023|55296),a=56320|a&1023),n.push(a),i+=l}return kr(n)}var xe=4096;function kr(t){var e=t.length;if(e<=xe)return String.fromCharCode.apply(String,t);for(var r="",n=0;n<e;)r+=String.fromCharCode.apply(String,t.slice(n,n+=xe));return r}function Er(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 Ir(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 Ar(t,e,r){var n=t.length;(!e||e<0)&&(e=0),(!r||r<0||r>n)&&(r=n);for(var i="",o=e;o<r;++o)i+=Fr[t[o]];return i}function Rr(t,e,r){for(var n=t.slice(e,r),i="",o=0;o<n.length-1;o+=2)i+=String.fromCharCode(n[o]+n[o+1]*256);return i}s.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,s.prototype),i};function x(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")}s.prototype.readUintLE=s.prototype.readUIntLE=function(e,r,n){e=e>>>0,r=r>>>0,n||x(e,r,this.length);for(var i=this[e],o=1,a=0;++a<r&&(o*=256);)i+=this[e+a]*o;return i};s.prototype.readUintBE=s.prototype.readUIntBE=function(e,r,n){e=e>>>0,r=r>>>0,n||x(e,r,this.length);for(var i=this[e+--r],o=1;r>0&&(o*=256);)i+=this[e+--r]*o;return i};s.prototype.readUint8=s.prototype.readUInt8=function(e,r){return e=e>>>0,r||x(e,1,this.length),this[e]};s.prototype.readUint16LE=s.prototype.readUInt16LE=function(e,r){return e=e>>>0,r||x(e,2,this.length),this[e]|this[e+1]<<8};s.prototype.readUint16BE=s.prototype.readUInt16BE=function(e,r){return e=e>>>0,r||x(e,2,this.length),this[e]<<8|this[e+1]};s.prototype.readUint32LE=s.prototype.readUInt32LE=function(e,r){return e=e>>>0,r||x(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+this[e+3]*16777216};s.prototype.readUint32BE=s.prototype.readUInt32BE=function(e,r){return e=e>>>0,r||x(e,4,this.length),this[e]*16777216+(this[e+1]<<16|this[e+2]<<8|this[e+3])};s.prototype.readIntLE=function(e,r,n){e=e>>>0,r=r>>>0,n||x(e,r,this.length);for(var i=this[e],o=1,a=0;++a<r&&(o*=256);)i+=this[e+a]*o;return o*=128,i>=o&&(i-=Math.pow(2,8*r)),i};s.prototype.readIntBE=function(e,r,n){e=e>>>0,r=r>>>0,n||x(e,r,this.length);for(var i=r,o=1,a=this[e+--i];i>0&&(o*=256);)a+=this[e+--i]*o;return o*=128,a>=o&&(a-=Math.pow(2,8*r)),a};s.prototype.readInt8=function(e,r){return e=e>>>0,r||x(e,1,this.length),this[e]&128?(255-this[e]+1)*-1:this[e]};s.prototype.readInt16LE=function(e,r){e=e>>>0,r||x(e,2,this.length);var n=this[e]|this[e+1]<<8;return n&32768?n|4294901760:n};s.prototype.readInt16BE=function(e,r){e=e>>>0,r||x(e,2,this.length);var n=this[e+1]|this[e]<<8;return n&32768?n|4294901760:n};s.prototype.readInt32LE=function(e,r){return e=e>>>0,r||x(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24};s.prototype.readInt32BE=function(e,r){return e=e>>>0,r||x(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]};s.prototype.readFloatLE=function(e,r){return e=e>>>0,r||x(e,4,this.length),M.read(this,e,!0,23,4)};s.prototype.readFloatBE=function(e,r){return e=e>>>0,r||x(e,4,this.length),M.read(this,e,!1,23,4)};s.prototype.readDoubleLE=function(e,r){return e=e>>>0,r||x(e,8,this.length),M.read(this,e,!0,52,8)};s.prototype.readDoubleBE=function(e,r){return e=e>>>0,r||x(e,8,this.length),M.read(this,e,!1,52,8)};function w(t,e,r,n,i,o){if(!s.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>i||e<o)throw new RangeError('"value" argument is out of bounds');if(r+n>t.length)throw new RangeError("Index out of range")}s.prototype.writeUintLE=s.prototype.writeUIntLE=function(e,r,n,i){if(e=+e,r=r>>>0,n=n>>>0,!i){var o=Math.pow(2,8*n)-1;w(this,e,r,n,o,0)}var a=1,l=0;for(this[r]=e&255;++l<n&&(a*=256);)this[r+l]=e/a&255;return r+n};s.prototype.writeUintBE=s.prototype.writeUIntBE=function(e,r,n,i){if(e=+e,r=r>>>0,n=n>>>0,!i){var o=Math.pow(2,8*n)-1;w(this,e,r,n,o,0)}var a=n-1,l=1;for(this[r+a]=e&255;--a>=0&&(l*=256);)this[r+a]=e/l&255;return r+n};s.prototype.writeUint8=s.prototype.writeUInt8=function(e,r,n){return e=+e,r=r>>>0,n||w(this,e,r,1,255,0),this[r]=e&255,r+1};s.prototype.writeUint16LE=s.prototype.writeUInt16LE=function(e,r,n){return e=+e,r=r>>>0,n||w(this,e,r,2,65535,0),this[r]=e&255,this[r+1]=e>>>8,r+2};s.prototype.writeUint16BE=s.prototype.writeUInt16BE=function(e,r,n){return e=+e,r=r>>>0,n||w(this,e,r,2,65535,0),this[r]=e>>>8,this[r+1]=e&255,r+2};s.prototype.writeUint32LE=s.prototype.writeUInt32LE=function(e,r,n){return e=+e,r=r>>>0,n||w(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};s.prototype.writeUint32BE=s.prototype.writeUInt32BE=function(e,r,n){return e=+e,r=r>>>0,n||w(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};s.prototype.writeIntLE=function(e,r,n,i){if(e=+e,r=r>>>0,!i){var o=Math.pow(2,8*n-1);w(this,e,r,n,o-1,-o)}var a=0,l=1,p=0;for(this[r]=e&255;++a<n&&(l*=256);)e<0&&p===0&&this[r+a-1]!==0&&(p=1),this[r+a]=(e/l>>0)-p&255;return r+n};s.prototype.writeIntBE=function(e,r,n,i){if(e=+e,r=r>>>0,!i){var o=Math.pow(2,8*n-1);w(this,e,r,n,o-1,-o)}var a=n-1,l=1,p=0;for(this[r+a]=e&255;--a>=0&&(l*=256);)e<0&&p===0&&this[r+a+1]!==0&&(p=1),this[r+a]=(e/l>>0)-p&255;return r+n};s.prototype.writeInt8=function(e,r,n){return e=+e,r=r>>>0,n||w(this,e,r,1,127,-128),e<0&&(e=255+e+1),this[r]=e&255,r+1};s.prototype.writeInt16LE=function(e,r,n){return e=+e,r=r>>>0,n||w(this,e,r,2,32767,-32768),this[r]=e&255,this[r+1]=e>>>8,r+2};s.prototype.writeInt16BE=function(e,r,n){return e=+e,r=r>>>0,n||w(this,e,r,2,32767,-32768),this[r]=e>>>8,this[r+1]=e&255,r+2};s.prototype.writeInt32LE=function(e,r,n){return e=+e,r=r>>>0,n||w(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};s.prototype.writeInt32BE=function(e,r,n){return e=+e,r=r>>>0,n||w(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 ke(t,e,r,n,i,o){if(r+n>t.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function Ee(t,e,r,n,i){return e=+e,r=r>>>0,i||ke(t,e,r,4,34028234663852886e22,-34028234663852886e22),M.write(t,e,r,n,23,4),r+4}s.prototype.writeFloatLE=function(e,r,n){return Ee(this,e,r,!0,n)};s.prototype.writeFloatBE=function(e,r,n){return Ee(this,e,r,!1,n)};function Ie(t,e,r,n,i){return e=+e,r=r>>>0,i||ke(t,e,r,8,17976931348623157e292,-17976931348623157e292),M.write(t,e,r,n,52,8),r+8}s.prototype.writeDoubleLE=function(e,r,n){return Ie(this,e,r,!0,n)};s.prototype.writeDoubleBE=function(e,r,n){return Ie(this,e,r,!1,n)};s.prototype.copy=function(e,r,n,i){if(!s.isBuffer(e))throw new TypeError("argument should be a Buffer");if(n||(n=0),!i&&i!==0&&(i=this.length),r>=e.length&&(r=e.length),r||(r=0),i>0&&i<n&&(i=n),i===n||e.length===0||this.length===0)return 0;if(r<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw new RangeError("Index out of range");if(i<0)throw new RangeError("sourceEnd out of bounds");i>this.length&&(i=this.length),e.length-r<i-n&&(i=e.length-r+n);var o=i-n;return this===e&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(r,n,i):Uint8Array.prototype.set.call(e,this.subarray(n,i),r),o};s.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"&&!s.isEncoding(i))throw new TypeError("Unknown encoding: "+i);if(e.length===1){var o=e.charCodeAt(0);(i==="utf8"&&o<128||i==="latin1")&&(e=o)}}else typeof e=="number"?e=e&255:typeof e=="boolean"&&(e=Number(e));if(r<0||this.length<r||this.length<n)throw new RangeError("Out of range index");if(n<=r)return this;r=r>>>0,n=n===void 0?this.length:n>>>0,e||(e=0);var a;if(typeof e=="number")for(a=r;a<n;++a)this[a]=e;else{var l=s.isBuffer(e)?e:s.from(e,i),p=l.length;if(p===0)throw new TypeError('The value "'+e+'" is invalid for argument "value"');for(a=0;a<n-r;++a)this[a+r]=l[a%p]}return this};var Sr=/[^+/0-9A-Za-z-_]/g;function Dr(t){if(t=t.split("=")[0],t=t.trim().replace(Sr,""),t.length<2)return"";for(;t.length%4!==0;)t=t+"=";return t}function te(t,e){e=e||1/0;for(var r,n=t.length,i=null,o=[],a=0;a<n;++a){if(r=t.charCodeAt(a),r>55295&&r<57344){if(!i){if(r>56319){(e-=3)>-1&&o.push(239,191,189);continue}else if(a+1===n){(e-=3)>-1&&o.push(239,191,189);continue}i=r;continue}if(r<56320){(e-=3)>-1&&o.push(239,191,189),i=r;continue}r=(i-55296<<10|r-56320)+65536}else i&&(e-=3)>-1&&o.push(239,191,189);if(i=null,r<128){if((e-=1)<0)break;o.push(r)}else if(r<2048){if((e-=2)<0)break;o.push(r>>6|192,r&63|128)}else if(r<65536){if((e-=3)<0)break;o.push(r>>12|224,r>>6&63|128,r&63|128)}else if(r<1114112){if((e-=4)<0)break;o.push(r>>18|240,r>>12&63|128,r>>6&63|128,r&63|128)}else throw new Error("Invalid code point")}return o}function Lr(t){for(var e=[],r=0;r<t.length;++r)e.push(t.charCodeAt(r)&255);return e}function Nr(t,e){for(var r,n,i,o=[],a=0;a<t.length&&!((e-=2)<0);++a)r=t.charCodeAt(a),n=r>>8,i=r%256,o.push(i),o.push(n);return o}function Ae(t){return J.toByteArray(Dr(t))}function X(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 k(t,e){return t instanceof e||t!=null&&t.constructor!=null&&t.constructor.name!=null&&t.constructor.name===e.name}function oe(t){return t!==t}var Fr=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 Fe=W((Xr,Ne)=>{c();var y=Ne.exports={},E,I;function ae(){throw new Error("setTimeout has not been defined")}function se(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?E=setTimeout:E=ae}catch(t){E=ae}try{typeof clearTimeout=="function"?I=clearTimeout:I=se}catch(t){I=se}})();function Se(t){if(E===setTimeout)return setTimeout(t,0);if((E===ae||!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 Cr(t){if(I===clearTimeout)return clearTimeout(t);if((I===se||!I)&&clearTimeout)return I=clearTimeout,clearTimeout(t);try{return I(t)}catch(e){try{return I.call(null,t)}catch(r){return I.call(this,t)}}}var S=[],z=!1,U,Y=-1;function Br(){!z||!U||(z=!1,U.length?S=U.concat(S):Y=-1,S.length&&De())}function De(){if(!z){var t=Se(Br);z=!0;for(var e=S.length;e;){for(U=S,S=[];++Y<e;)U&&U[Y].run();Y=-1,e=S.length}U=null,z=!1,Cr(t)}}y.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];S.push(new Le(t,e)),S.length===1&&!z&&Se(De)};function Le(t,e){this.fun=t,this.array=e}Le.prototype.run=function(){this.fun.apply(null,this.array)};y.title="browser";y.browser=!0;y.env={};y.argv=[];y.version="";y.versions={};function D(){}y.on=D;y.addListener=D;y.once=D;y.off=D;y.removeListener=D;y.removeAllListeners=D;y.emit=D;y.prependListener=D;y.prependOnceListener=D;y.listeners=function(t){return[]};y.binding=function(t){throw new Error("process.binding is not supported")};y.cwd=function(){return"/"};y.chdir=function(t){throw new Error("process.chdir is not supported")};y.umask=function(){return 0}});var u,m,Yr,c=rr(()=>{u=V(Re()),m=V(Fe()),Yr=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 Vr={};tr(Vr,{DataDecode:()=>zr});module.exports=nr(Vr);c();c();var N=V(require("react")),je=require("@fortawesome/free-solid-svg-icons"),Xe=require("@fortawesome/react-fontawesome"),Ye=V(require("classnames"));c();c();c();c();c();c();c();c();c();c();c();var P=(i=>(i.raw="raw",i.text="text",i.decimal="decimal",i.smart="smart",i))(P||{});c();c();var ce={devnet:{id:"devnet",chainId:"D",name:"Devnet",egldLabel:"xEGLD",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"https://maiar.page.link/?apn=com.elrond.maiar.wallet&isi=1519405832&ibi=com.elrond.maiar.wallet&link=https://xportal.com/",walletConnectBridgeAddresses:["https://bridge.walletconnect.org"],walletConnectV2RelayAddresses:["wss://relay.walletconnect.com"],walletAddress:"https://devnet-wallet.multiversx.com",apiAddress:"https://devnet-api.multiversx.com",explorerAddress:"http://devnet-explorer.multiversx.com",apiTimeout:"4000"},testnet:{id:"testnet",chainId:"T",name:"Testnet",egldLabel:"xEGLD",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"https://maiar.page.link/?apn=com.elrond.maiar.wallet&isi=1519405832&ibi=com.elrond.maiar.wallet&link=https://xportal.com/",walletConnectBridgeAddresses:["https://bridge.walletconnect.org"],walletConnectV2RelayAddresses:["wss://relay.walletconnect.com"],walletAddress:"https://testnet-wallet.multiversx.com",apiAddress:"https://testnet-api.multiversx.com",explorerAddress:"http://testnet-explorer.multiversx.com",apiTimeout:"4000"},mainnet:{id:"mainnet",chainId:"1",name:"Mainnet",egldLabel:"EGLD",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"https://maiar.page.link/?apn=com.elrond.maiar.wallet&isi=1519405832&ibi=com.elrond.maiar.wallet&link=https://xportal.com/",walletConnectBridgeAddresses:["https://bridge.walletconnect.org"],walletConnectV2RelayAddresses:["wss://relay.walletconnect.com"],walletAddress:"https://wallet.multiversx.com",apiAddress:"https://api.multiversx.com",explorerAddress:"https://explorer.multiversx.com",apiTimeout:"4000"}},{chainId:Ce,egldLabel:mt}=ce["devnet"],{chainId:Be,egldLabel:gt}=ce["testnet"],{chainId:Ue,egldLabel:ft}=ce["mainnet"];var ht={["devnet"]:Ce,["testnet"]:Be,["mainnet"]:Ue},yt={[Ce]:"devnet",[Be]:"testnet",[Ue]:"mainnet"};c();c();c();c();var A=require("@multiversx/sdk-web-wallet-provider");c();var Pe="N/A";c();var Q=require("react");c();c();c();c();var ze=require("@multiversx/sdk-core/out"),pe=V(require("bignumber.js"));c();var Oe=require("@multiversx/sdk-core");function Ur(t){try{let e=new Oe.Address(t);return Boolean(e.bech32())}catch(e){return!1}}function Me(t){return(t==null?void 0:t.startsWith("erd"))&&t.length===62&&/^\w+$/.test(t)&&Ur(t)}c();c();c();c();function le(t){for(let e=0;e<t.length;e++)if(t.charCodeAt(e)>127)return!1;return!0}c();var Ge=t=>/\d/.test(t);var L=(t,e,r)=>{try{switch(e){case"text":return Ge(t)?u.Buffer.from(t,"hex").toString("utf8"):t;case"decimal":return new pe.default(t,16).toString(10);case"smart":let i=ze.Address.fromHex(t).toString();if(Me(i))return i;let o=u.Buffer.from(t,"hex").toString("utf8");return le(o)||r&&[...r.esdts,...r.nfts].some(p=>o.includes(p))?o:new pe.default(t,16).toString(10);case"raw":default:return t}}catch(n){return console.error(`Error during data decoding of "${t}" as "${e}"`,n),t}};c();c();var Pr=t=>t.toLowerCase().match(/[0-9a-f]/g),Or=t=>t.length%2===0,Ve=t=>{let e=[];return t&&!Pr(t)&&e.push(`Invalid Hex characters on argument @${t}`),t&&!Or(t)&&e.push(`Odd number of Hex characters on argument @${t}`),e};c();var K=({parts:t,decodedParts:e,identifier:r})=>{let n=[...e];if(t[0]==="ESDTNFTTransfer"&&t[2]&&(n[2]=L(t[2],"decimal")),r==="ESDTNFTTransfer"&&t[1]){let i=u.Buffer.from(String(t[1]),"base64");n[1]=L(i.toString("hex"),"decimal")}return n};var He=({parts:t,decodeMethod:e,identifier:r,display:n})=>{let i=t.map((o,a)=>{if(t.length>=2&&(a===0&&o.length<64||a===1&&!t[0]))return/[^a-z0-9]/gi.test(o)?L(o,e):o;{let l=Ve(o);return l.length&&(n.validationWarnings=Array.from(new Set([...n.validationWarnings,...l]))),L(o,e)}});return e==="smart"?K({parts:t,decodedParts:i,identifier:r}):i};var We=({input:t,decodeMethod:e,identifier:r})=>{let n={displayValue:"",validationWarnings:[]};if(t.includes("@")){let i=t.split("@"),o=He({parts:i,identifier:r,decodeMethod:e,display:n});return n.displayValue=o.join("@"),n}if(t.includes(`
|
|
1
|
+
"use strict";var Qe=Object.create;var W=Object.defineProperty;var $e=Object.getOwnPropertyDescriptor;var Ze=Object.getOwnPropertyNames;var Je=Object.getPrototypeOf,er=Object.prototype.hasOwnProperty;var rr=(t,e)=>()=>(t&&(e=t(t=0)),e);var H=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),tr=(t,e)=>{for(var r in e)W(t,r,{get:e[r],enumerable:!0})},ue=(t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of Ze(e))!er.call(t,i)&&i!==r&&W(t,i,{get:()=>e[i],enumerable:!(n=$e(e,i))||n.enumerable});return t};var V=(t,e,r)=>(r=t!=null?Qe(Je(t)):{},ue(e||!t||!t.__esModule?W(r,"default",{value:t,enumerable:!0}):r,t)),nr=t=>ue(W({},"__esModule",{value:!0}),t);var ge=H(q=>{"use strict";c();q.byteLength=or;q.toByteArray=sr;q.fromByteArray=pr;var v=[],b=[],ir=typeof Uint8Array!="undefined"?Uint8Array:Array,$="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(C=0,de=$.length;C<de;++C)v[C]=$[C],b[$.charCodeAt(C)]=C;var C,de;b["-".charCodeAt(0)]=62;b["_".charCodeAt(0)]=63;function me(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 or(t){var e=me(t),r=e[0],n=e[1];return(r+n)*3/4-n}function ar(t,e,r){return(e+r)*3/4-r}function sr(t){var e,r=me(t),n=r[0],i=r[1],o=new ir(ar(t,n,i)),a=0,l=i>0?n-4:n,p;for(p=0;p<l;p+=4)e=b[t.charCodeAt(p)]<<18|b[t.charCodeAt(p+1)]<<12|b[t.charCodeAt(p+2)]<<6|b[t.charCodeAt(p+3)],o[a++]=e>>16&255,o[a++]=e>>8&255,o[a++]=e&255;return i===2&&(e=b[t.charCodeAt(p)]<<2|b[t.charCodeAt(p+1)]>>4,o[a++]=e&255),i===1&&(e=b[t.charCodeAt(p)]<<10|b[t.charCodeAt(p+1)]<<4|b[t.charCodeAt(p+2)]>>2,o[a++]=e>>8&255,o[a++]=e&255),o}function cr(t){return v[t>>18&63]+v[t>>12&63]+v[t>>6&63]+v[t&63]}function lr(t,e,r){for(var n,i=[],o=e;o<r;o+=3)n=(t[o]<<16&16711680)+(t[o+1]<<8&65280)+(t[o+2]&255),i.push(cr(n));return i.join("")}function pr(t){for(var e,r=t.length,n=r%3,i=[],o=16383,a=0,l=r-n;a<l;a+=o)i.push(lr(t,a,a+o>l?l:a+o));return n===1?(e=t[r-1],i.push(v[e>>2]+v[e<<4&63]+"==")):n===2&&(e=(t[r-2]<<8)+t[r-1],i.push(v[e>>10]+v[e>>4&63]+v[e<<2&63]+"=")),i.join("")}});var fe=H(Z=>{c();Z.read=function(t,e,r,n,i){var o,a,l=i*8-n-1,p=(1<<l)-1,d=p>>1,h=-7,f=r?i-1:0,T=r?-1:1,_=t[e+f];for(f+=T,o=_&(1<<-h)-1,_>>=-h,h+=l;h>0;o=o*256+t[e+f],f+=T,h-=8);for(a=o&(1<<-h)-1,o>>=-h,h+=n;h>0;a=a*256+t[e+f],f+=T,h-=8);if(o===0)o=1-d;else{if(o===p)return a?NaN:(_?-1:1)*(1/0);a=a+Math.pow(2,n),o=o-d}return(_?-1:1)*a*Math.pow(2,o-n)};Z.write=function(t,e,r,n,i,o){var a,l,p,d=o*8-i-1,h=(1<<d)-1,f=h>>1,T=i===23?Math.pow(2,-24)-Math.pow(2,-77):0,_=n?0:o-1,O=n?1:-1,Ke=e<0||e===0&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(l=isNaN(e)?1:0,a=h):(a=Math.floor(Math.log(e)/Math.LN2),e*(p=Math.pow(2,-a))<1&&(a--,p*=2),a+f>=1?e+=T/p:e+=T*Math.pow(2,1-f),e*p>=2&&(a++,p/=2),a+f>=h?(l=0,a=h):a+f>=1?(l=(e*p-1)*Math.pow(2,i),a=a+f):(l=e*Math.pow(2,f-1)*Math.pow(2,i),a=0));i>=8;t[r+_]=l&255,_+=O,l/=256,i-=8);for(a=a<<i|l,d+=i;d>0;t[r+_]=a&255,_+=O,a/=256,d-=8);t[r+_-O]|=Ke*128}});var Re=H(G=>{"use strict";c();var J=ge(),M=fe(),he=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;G.Buffer=s;G.SlowBuffer=hr;G.INSPECT_MAX_BYTES=50;var j=2147483647;G.kMaxLength=j;s.TYPED_ARRAY_SUPPORT=ur();!s.TYPED_ARRAY_SUPPORT&&typeof console!="undefined"&&typeof console.error=="function"&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function ur(){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(s.prototype,"parent",{enumerable:!0,get:function(){if(!!s.isBuffer(this))return this.buffer}});Object.defineProperty(s.prototype,"offset",{enumerable:!0,get:function(){if(!!s.isBuffer(this))return this.byteOffset}});function R(t){if(t>j)throw new RangeError('The value "'+t+'" is invalid for option "size"');var e=new Uint8Array(t);return Object.setPrototypeOf(e,s.prototype),e}function s(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 ne(t)}return we(t,e,r)}s.poolSize=8192;function we(t,e,r){if(typeof t=="string")return mr(t,e);if(ArrayBuffer.isView(t))return gr(t);if(t==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t);if(k(t,ArrayBuffer)||t&&k(t.buffer,ArrayBuffer)||typeof SharedArrayBuffer!="undefined"&&(k(t,SharedArrayBuffer)||t&&k(t.buffer,SharedArrayBuffer)))return re(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 s.from(n,e,r);var i=fr(t);if(i)return i;if(typeof Symbol!="undefined"&&Symbol.toPrimitive!=null&&typeof t[Symbol.toPrimitive]=="function")return s.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)}s.from=function(t,e,r){return we(t,e,r)};Object.setPrototypeOf(s.prototype,Uint8Array.prototype);Object.setPrototypeOf(s,Uint8Array);function _e(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 dr(t,e,r){return _e(t),t<=0?R(t):e!==void 0?typeof r=="string"?R(t).fill(e,r):R(t).fill(e):R(t)}s.alloc=function(t,e,r){return dr(t,e,r)};function ne(t){return _e(t),R(t<0?0:ie(t)|0)}s.allocUnsafe=function(t){return ne(t)};s.allocUnsafeSlow=function(t){return ne(t)};function mr(t,e){if((typeof e!="string"||e==="")&&(e="utf8"),!s.isEncoding(e))throw new TypeError("Unknown encoding: "+e);var r=be(t,e)|0,n=R(r),i=n.write(t,e);return i!==r&&(n=n.slice(0,i)),n}function ee(t){for(var e=t.length<0?0:ie(t.length)|0,r=R(e),n=0;n<e;n+=1)r[n]=t[n]&255;return r}function gr(t){if(k(t,Uint8Array)){var e=new Uint8Array(t);return re(e.buffer,e.byteOffset,e.byteLength)}return ee(t)}function re(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,s.prototype),n}function fr(t){if(s.isBuffer(t)){var e=ie(t.length)|0,r=R(e);return r.length===0||t.copy(r,0,0,e),r}if(t.length!==void 0)return typeof t.length!="number"||oe(t.length)?R(0):ee(t);if(t.type==="Buffer"&&Array.isArray(t.data))return ee(t.data)}function ie(t){if(t>=j)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+j.toString(16)+" bytes");return t|0}function hr(t){return+t!=t&&(t=0),s.alloc(+t)}s.isBuffer=function(e){return e!=null&&e._isBuffer===!0&&e!==s.prototype};s.compare=function(e,r){if(k(e,Uint8Array)&&(e=s.from(e,e.offset,e.byteLength)),k(r,Uint8Array)&&(r=s.from(r,r.offset,r.byteLength)),!s.isBuffer(e)||!s.isBuffer(r))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(e===r)return 0;for(var n=e.length,i=r.length,o=0,a=Math.min(n,i);o<a;++o)if(e[o]!==r[o]){n=e[o],i=r[o];break}return n<i?-1:i<n?1:0};s.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}};s.concat=function(e,r){if(!Array.isArray(e))throw new TypeError('"list" argument must be an Array of Buffers');if(e.length===0)return s.alloc(0);var n;if(r===void 0)for(r=0,n=0;n<e.length;++n)r+=e[n].length;var i=s.allocUnsafe(r),o=0;for(n=0;n<e.length;++n){var a=e[n];if(k(a,Uint8Array))o+a.length>i.length?s.from(a).copy(i,o):Uint8Array.prototype.set.call(i,a,o);else if(s.isBuffer(a))a.copy(i,o);else throw new TypeError('"list" argument must be an Array of Buffers');o+=a.length}return i};function be(t,e){if(s.isBuffer(t))return t.length;if(ArrayBuffer.isView(t)||k(t,ArrayBuffer))return t.byteLength;if(typeof t!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof t);var 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 te(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return r*2;case"hex":return r>>>1;case"base64":return Ae(t).length;default:if(i)return n?-1:te(t).length;e=(""+e).toLowerCase(),i=!0}}s.byteLength=be;function yr(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 Ar(this,e,r);case"utf8":case"utf-8":return ve(this,e,r);case"ascii":return Er(this,e,r);case"latin1":case"binary":return Ir(this,e,r);case"base64":return vr(this,e,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Rr(this,e,r);default:if(n)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),n=!0}}s.prototype._isBuffer=!0;function B(t,e,r){var n=t[e];t[e]=t[r],t[r]=n}s.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)B(this,r,r+1);return this};s.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)B(this,r,r+3),B(this,r+1,r+2);return this};s.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)B(this,r,r+7),B(this,r+1,r+6),B(this,r+2,r+5),B(this,r+3,r+4);return this};s.prototype.toString=function(){var e=this.length;return e===0?"":arguments.length===0?ve(this,0,e):yr.apply(this,arguments)};s.prototype.toLocaleString=s.prototype.toString;s.prototype.equals=function(e){if(!s.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e?!0:s.compare(this,e)===0};s.prototype.inspect=function(){var e="",r=G.INSPECT_MAX_BYTES;return e=this.toString("hex",0,r).replace(/(.{2})/g,"$1 ").trim(),this.length>r&&(e+=" ... "),"<Buffer "+e+">"};he&&(s.prototype[he]=s.prototype.inspect);s.prototype.compare=function(e,r,n,i,o){if(k(e,Uint8Array)&&(e=s.from(e,e.offset,e.byteLength)),!s.isBuffer(e))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof e);if(r===void 0&&(r=0),n===void 0&&(n=e?e.length:0),i===void 0&&(i=0),o===void 0&&(o=this.length),r<0||n>e.length||i<0||o>this.length)throw new RangeError("out of range index");if(i>=o&&r>=n)return 0;if(i>=o)return-1;if(r>=n)return 1;if(r>>>=0,n>>>=0,i>>>=0,o>>>=0,this===e)return 0;for(var a=o-i,l=n-r,p=Math.min(a,l),d=this.slice(i,o),h=e.slice(r,n),f=0;f<p;++f)if(d[f]!==h[f]){a=d[f],l=h[f];break}return a<l?-1:l<a?1:0};function Te(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,oe(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=s.from(e,n)),s.isBuffer(e))return e.length===0?-1:ye(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):ye(t,[e],r,n,i);throw new TypeError("val must be string, number or Buffer")}function ye(t,e,r,n,i){var o=1,a=t.length,l=e.length;if(n!==void 0&&(n=String(n).toLowerCase(),n==="ucs2"||n==="ucs-2"||n==="utf16le"||n==="utf-16le")){if(t.length<2||e.length<2)return-1;o=2,a/=2,l/=2,r/=2}function p(_,O){return o===1?_[O]:_.readUInt16BE(O*o)}var d;if(i){var h=-1;for(d=r;d<a;d++)if(p(t,d)===p(e,h===-1?0:d-h)){if(h===-1&&(h=d),d-h+1===l)return h*o}else h!==-1&&(d-=d-h),h=-1}else for(r+l>a&&(r=a-l),d=r;d>=0;d--){for(var f=!0,T=0;T<l;T++)if(p(t,d+T)!==p(e,T)){f=!1;break}if(f)return d}return-1}s.prototype.includes=function(e,r,n){return this.indexOf(e,r,n)!==-1};s.prototype.indexOf=function(e,r,n){return Te(this,e,r,n,!0)};s.prototype.lastIndexOf=function(e,r,n){return Te(this,e,r,n,!1)};function xr(t,e,r,n){r=Number(r)||0;var i=t.length-r;n?(n=Number(n),n>i&&(n=i)):n=i;var o=e.length;n>o/2&&(n=o/2);for(var a=0;a<n;++a){var l=parseInt(e.substr(a*2,2),16);if(oe(l))return a;t[r+a]=l}return a}function wr(t,e,r,n){return X(te(e,t.length-r),t,r,n)}function _r(t,e,r,n){return X(Lr(e),t,r,n)}function br(t,e,r,n){return X(Ae(e),t,r,n)}function Tr(t,e,r,n){return X(Nr(e,t.length-r),t,r,n)}s.prototype.write=function(e,r,n,i){if(r===void 0)i="utf8",n=this.length,r=0;else if(n===void 0&&typeof r=="string")i=r,n=this.length,r=0;else if(isFinite(r))r=r>>>0,isFinite(n)?(n=n>>>0,i===void 0&&(i="utf8")):(i=n,n=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var o=this.length-r;if((n===void 0||n>o)&&(n=o),e.length>0&&(n<0||r<0)||r>this.length)throw new RangeError("Attempt to write outside buffer bounds");i||(i="utf8");for(var a=!1;;)switch(i){case"hex":return xr(this,e,r,n);case"utf8":case"utf-8":return wr(this,e,r,n);case"ascii":case"latin1":case"binary":return _r(this,e,r,n);case"base64":return br(this,e,r,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Tr(this,e,r,n);default:if(a)throw new TypeError("Unknown encoding: "+i);i=(""+i).toLowerCase(),a=!0}};s.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function vr(t,e,r){return e===0&&r===t.length?J.fromByteArray(t):J.fromByteArray(t.slice(e,r))}function ve(t,e,r){r=Math.min(t.length,r);for(var n=[],i=e;i<r;){var o=t[i],a=null,l=o>239?4:o>223?3:o>191?2:1;if(i+l<=r){var p,d,h,f;switch(l){case 1:o<128&&(a=o);break;case 2:p=t[i+1],(p&192)===128&&(f=(o&31)<<6|p&63,f>127&&(a=f));break;case 3:p=t[i+1],d=t[i+2],(p&192)===128&&(d&192)===128&&(f=(o&15)<<12|(p&63)<<6|d&63,f>2047&&(f<55296||f>57343)&&(a=f));break;case 4:p=t[i+1],d=t[i+2],h=t[i+3],(p&192)===128&&(d&192)===128&&(h&192)===128&&(f=(o&15)<<18|(p&63)<<12|(d&63)<<6|h&63,f>65535&&f<1114112&&(a=f))}}a===null?(a=65533,l=1):a>65535&&(a-=65536,n.push(a>>>10&1023|55296),a=56320|a&1023),n.push(a),i+=l}return kr(n)}var xe=4096;function kr(t){var e=t.length;if(e<=xe)return String.fromCharCode.apply(String,t);for(var r="",n=0;n<e;)r+=String.fromCharCode.apply(String,t.slice(n,n+=xe));return r}function Er(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 Ir(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 Ar(t,e,r){var n=t.length;(!e||e<0)&&(e=0),(!r||r<0||r>n)&&(r=n);for(var i="",o=e;o<r;++o)i+=Fr[t[o]];return i}function Rr(t,e,r){for(var n=t.slice(e,r),i="",o=0;o<n.length-1;o+=2)i+=String.fromCharCode(n[o]+n[o+1]*256);return i}s.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,s.prototype),i};function x(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")}s.prototype.readUintLE=s.prototype.readUIntLE=function(e,r,n){e=e>>>0,r=r>>>0,n||x(e,r,this.length);for(var i=this[e],o=1,a=0;++a<r&&(o*=256);)i+=this[e+a]*o;return i};s.prototype.readUintBE=s.prototype.readUIntBE=function(e,r,n){e=e>>>0,r=r>>>0,n||x(e,r,this.length);for(var i=this[e+--r],o=1;r>0&&(o*=256);)i+=this[e+--r]*o;return i};s.prototype.readUint8=s.prototype.readUInt8=function(e,r){return e=e>>>0,r||x(e,1,this.length),this[e]};s.prototype.readUint16LE=s.prototype.readUInt16LE=function(e,r){return e=e>>>0,r||x(e,2,this.length),this[e]|this[e+1]<<8};s.prototype.readUint16BE=s.prototype.readUInt16BE=function(e,r){return e=e>>>0,r||x(e,2,this.length),this[e]<<8|this[e+1]};s.prototype.readUint32LE=s.prototype.readUInt32LE=function(e,r){return e=e>>>0,r||x(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+this[e+3]*16777216};s.prototype.readUint32BE=s.prototype.readUInt32BE=function(e,r){return e=e>>>0,r||x(e,4,this.length),this[e]*16777216+(this[e+1]<<16|this[e+2]<<8|this[e+3])};s.prototype.readIntLE=function(e,r,n){e=e>>>0,r=r>>>0,n||x(e,r,this.length);for(var i=this[e],o=1,a=0;++a<r&&(o*=256);)i+=this[e+a]*o;return o*=128,i>=o&&(i-=Math.pow(2,8*r)),i};s.prototype.readIntBE=function(e,r,n){e=e>>>0,r=r>>>0,n||x(e,r,this.length);for(var i=r,o=1,a=this[e+--i];i>0&&(o*=256);)a+=this[e+--i]*o;return o*=128,a>=o&&(a-=Math.pow(2,8*r)),a};s.prototype.readInt8=function(e,r){return e=e>>>0,r||x(e,1,this.length),this[e]&128?(255-this[e]+1)*-1:this[e]};s.prototype.readInt16LE=function(e,r){e=e>>>0,r||x(e,2,this.length);var n=this[e]|this[e+1]<<8;return n&32768?n|4294901760:n};s.prototype.readInt16BE=function(e,r){e=e>>>0,r||x(e,2,this.length);var n=this[e+1]|this[e]<<8;return n&32768?n|4294901760:n};s.prototype.readInt32LE=function(e,r){return e=e>>>0,r||x(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24};s.prototype.readInt32BE=function(e,r){return e=e>>>0,r||x(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]};s.prototype.readFloatLE=function(e,r){return e=e>>>0,r||x(e,4,this.length),M.read(this,e,!0,23,4)};s.prototype.readFloatBE=function(e,r){return e=e>>>0,r||x(e,4,this.length),M.read(this,e,!1,23,4)};s.prototype.readDoubleLE=function(e,r){return e=e>>>0,r||x(e,8,this.length),M.read(this,e,!0,52,8)};s.prototype.readDoubleBE=function(e,r){return e=e>>>0,r||x(e,8,this.length),M.read(this,e,!1,52,8)};function w(t,e,r,n,i,o){if(!s.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>i||e<o)throw new RangeError('"value" argument is out of bounds');if(r+n>t.length)throw new RangeError("Index out of range")}s.prototype.writeUintLE=s.prototype.writeUIntLE=function(e,r,n,i){if(e=+e,r=r>>>0,n=n>>>0,!i){var o=Math.pow(2,8*n)-1;w(this,e,r,n,o,0)}var a=1,l=0;for(this[r]=e&255;++l<n&&(a*=256);)this[r+l]=e/a&255;return r+n};s.prototype.writeUintBE=s.prototype.writeUIntBE=function(e,r,n,i){if(e=+e,r=r>>>0,n=n>>>0,!i){var o=Math.pow(2,8*n)-1;w(this,e,r,n,o,0)}var a=n-1,l=1;for(this[r+a]=e&255;--a>=0&&(l*=256);)this[r+a]=e/l&255;return r+n};s.prototype.writeUint8=s.prototype.writeUInt8=function(e,r,n){return e=+e,r=r>>>0,n||w(this,e,r,1,255,0),this[r]=e&255,r+1};s.prototype.writeUint16LE=s.prototype.writeUInt16LE=function(e,r,n){return e=+e,r=r>>>0,n||w(this,e,r,2,65535,0),this[r]=e&255,this[r+1]=e>>>8,r+2};s.prototype.writeUint16BE=s.prototype.writeUInt16BE=function(e,r,n){return e=+e,r=r>>>0,n||w(this,e,r,2,65535,0),this[r]=e>>>8,this[r+1]=e&255,r+2};s.prototype.writeUint32LE=s.prototype.writeUInt32LE=function(e,r,n){return e=+e,r=r>>>0,n||w(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};s.prototype.writeUint32BE=s.prototype.writeUInt32BE=function(e,r,n){return e=+e,r=r>>>0,n||w(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};s.prototype.writeIntLE=function(e,r,n,i){if(e=+e,r=r>>>0,!i){var o=Math.pow(2,8*n-1);w(this,e,r,n,o-1,-o)}var a=0,l=1,p=0;for(this[r]=e&255;++a<n&&(l*=256);)e<0&&p===0&&this[r+a-1]!==0&&(p=1),this[r+a]=(e/l>>0)-p&255;return r+n};s.prototype.writeIntBE=function(e,r,n,i){if(e=+e,r=r>>>0,!i){var o=Math.pow(2,8*n-1);w(this,e,r,n,o-1,-o)}var a=n-1,l=1,p=0;for(this[r+a]=e&255;--a>=0&&(l*=256);)e<0&&p===0&&this[r+a+1]!==0&&(p=1),this[r+a]=(e/l>>0)-p&255;return r+n};s.prototype.writeInt8=function(e,r,n){return e=+e,r=r>>>0,n||w(this,e,r,1,127,-128),e<0&&(e=255+e+1),this[r]=e&255,r+1};s.prototype.writeInt16LE=function(e,r,n){return e=+e,r=r>>>0,n||w(this,e,r,2,32767,-32768),this[r]=e&255,this[r+1]=e>>>8,r+2};s.prototype.writeInt16BE=function(e,r,n){return e=+e,r=r>>>0,n||w(this,e,r,2,32767,-32768),this[r]=e>>>8,this[r+1]=e&255,r+2};s.prototype.writeInt32LE=function(e,r,n){return e=+e,r=r>>>0,n||w(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};s.prototype.writeInt32BE=function(e,r,n){return e=+e,r=r>>>0,n||w(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 ke(t,e,r,n,i,o){if(r+n>t.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function Ee(t,e,r,n,i){return e=+e,r=r>>>0,i||ke(t,e,r,4,34028234663852886e22,-34028234663852886e22),M.write(t,e,r,n,23,4),r+4}s.prototype.writeFloatLE=function(e,r,n){return Ee(this,e,r,!0,n)};s.prototype.writeFloatBE=function(e,r,n){return Ee(this,e,r,!1,n)};function Ie(t,e,r,n,i){return e=+e,r=r>>>0,i||ke(t,e,r,8,17976931348623157e292,-17976931348623157e292),M.write(t,e,r,n,52,8),r+8}s.prototype.writeDoubleLE=function(e,r,n){return Ie(this,e,r,!0,n)};s.prototype.writeDoubleBE=function(e,r,n){return Ie(this,e,r,!1,n)};s.prototype.copy=function(e,r,n,i){if(!s.isBuffer(e))throw new TypeError("argument should be a Buffer");if(n||(n=0),!i&&i!==0&&(i=this.length),r>=e.length&&(r=e.length),r||(r=0),i>0&&i<n&&(i=n),i===n||e.length===0||this.length===0)return 0;if(r<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw new RangeError("Index out of range");if(i<0)throw new RangeError("sourceEnd out of bounds");i>this.length&&(i=this.length),e.length-r<i-n&&(i=e.length-r+n);var o=i-n;return this===e&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(r,n,i):Uint8Array.prototype.set.call(e,this.subarray(n,i),r),o};s.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"&&!s.isEncoding(i))throw new TypeError("Unknown encoding: "+i);if(e.length===1){var o=e.charCodeAt(0);(i==="utf8"&&o<128||i==="latin1")&&(e=o)}}else typeof e=="number"?e=e&255:typeof e=="boolean"&&(e=Number(e));if(r<0||this.length<r||this.length<n)throw new RangeError("Out of range index");if(n<=r)return this;r=r>>>0,n=n===void 0?this.length:n>>>0,e||(e=0);var a;if(typeof e=="number")for(a=r;a<n;++a)this[a]=e;else{var l=s.isBuffer(e)?e:s.from(e,i),p=l.length;if(p===0)throw new TypeError('The value "'+e+'" is invalid for argument "value"');for(a=0;a<n-r;++a)this[a+r]=l[a%p]}return this};var Sr=/[^+/0-9A-Za-z-_]/g;function Dr(t){if(t=t.split("=")[0],t=t.trim().replace(Sr,""),t.length<2)return"";for(;t.length%4!==0;)t=t+"=";return t}function te(t,e){e=e||1/0;for(var r,n=t.length,i=null,o=[],a=0;a<n;++a){if(r=t.charCodeAt(a),r>55295&&r<57344){if(!i){if(r>56319){(e-=3)>-1&&o.push(239,191,189);continue}else if(a+1===n){(e-=3)>-1&&o.push(239,191,189);continue}i=r;continue}if(r<56320){(e-=3)>-1&&o.push(239,191,189),i=r;continue}r=(i-55296<<10|r-56320)+65536}else i&&(e-=3)>-1&&o.push(239,191,189);if(i=null,r<128){if((e-=1)<0)break;o.push(r)}else if(r<2048){if((e-=2)<0)break;o.push(r>>6|192,r&63|128)}else if(r<65536){if((e-=3)<0)break;o.push(r>>12|224,r>>6&63|128,r&63|128)}else if(r<1114112){if((e-=4)<0)break;o.push(r>>18|240,r>>12&63|128,r>>6&63|128,r&63|128)}else throw new Error("Invalid code point")}return o}function Lr(t){for(var e=[],r=0;r<t.length;++r)e.push(t.charCodeAt(r)&255);return e}function Nr(t,e){for(var r,n,i,o=[],a=0;a<t.length&&!((e-=2)<0);++a)r=t.charCodeAt(a),n=r>>8,i=r%256,o.push(i),o.push(n);return o}function Ae(t){return J.toByteArray(Dr(t))}function X(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 k(t,e){return t instanceof e||t!=null&&t.constructor!=null&&t.constructor.name!=null&&t.constructor.name===e.name}function oe(t){return t!==t}var Fr=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 Fe=H((Xr,Ne)=>{c();var y=Ne.exports={},E,I;function ae(){throw new Error("setTimeout has not been defined")}function se(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?E=setTimeout:E=ae}catch(t){E=ae}try{typeof clearTimeout=="function"?I=clearTimeout:I=se}catch(t){I=se}})();function Se(t){if(E===setTimeout)return setTimeout(t,0);if((E===ae||!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 Cr(t){if(I===clearTimeout)return clearTimeout(t);if((I===se||!I)&&clearTimeout)return I=clearTimeout,clearTimeout(t);try{return I(t)}catch(e){try{return I.call(null,t)}catch(r){return I.call(this,t)}}}var S=[],z=!1,U,Y=-1;function Br(){!z||!U||(z=!1,U.length?S=U.concat(S):Y=-1,S.length&&De())}function De(){if(!z){var t=Se(Br);z=!0;for(var e=S.length;e;){for(U=S,S=[];++Y<e;)U&&U[Y].run();Y=-1,e=S.length}U=null,z=!1,Cr(t)}}y.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];S.push(new Le(t,e)),S.length===1&&!z&&Se(De)};function Le(t,e){this.fun=t,this.array=e}Le.prototype.run=function(){this.fun.apply(null,this.array)};y.title="browser";y.browser=!0;y.env={};y.argv=[];y.version="";y.versions={};function D(){}y.on=D;y.addListener=D;y.once=D;y.off=D;y.removeListener=D;y.removeAllListeners=D;y.emit=D;y.prependListener=D;y.prependOnceListener=D;y.listeners=function(t){return[]};y.binding=function(t){throw new Error("process.binding is not supported")};y.cwd=function(){return"/"};y.chdir=function(t){throw new Error("process.chdir is not supported")};y.umask=function(){return 0}});var u,m,Yr,c=rr(()=>{u=V(Re()),m=V(Fe()),Yr=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 Vr={};tr(Vr,{DataDecode:()=>zr});module.exports=nr(Vr);c();c();var N=V(require("react")),je=require("@fortawesome/free-solid-svg-icons"),Xe=require("@fortawesome/react-fontawesome"),Ye=V(require("classnames"));c();c();c();c();c();c();c();c();c();c();c();var P=(i=>(i.raw="raw",i.text="text",i.decimal="decimal",i.smart="smart",i))(P||{});c();c();var ce={devnet:{id:"devnet",chainId:"D",name:"Devnet",egldLabel:"xEGLD",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"https://maiar.page.link/?apn=com.elrond.maiar.wallet&isi=1519405832&ibi=com.elrond.maiar.wallet&link=https://xportal.com/",walletConnectBridgeAddresses:["https://bridge.walletconnect.org"],walletConnectV2RelayAddresses:["wss://relay.walletconnect.com"],walletAddress:"https://devnet-wallet.multiversx.com",apiAddress:"https://devnet-api.multiversx.com",explorerAddress:"http://devnet-explorer.multiversx.com",apiTimeout:"4000"},testnet:{id:"testnet",chainId:"T",name:"Testnet",egldLabel:"xEGLD",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"https://maiar.page.link/?apn=com.elrond.maiar.wallet&isi=1519405832&ibi=com.elrond.maiar.wallet&link=https://xportal.com/",walletConnectBridgeAddresses:["https://bridge.walletconnect.org"],walletConnectV2RelayAddresses:["wss://relay.walletconnect.com"],walletAddress:"https://testnet-wallet.multiversx.com",apiAddress:"https://testnet-api.multiversx.com",explorerAddress:"http://testnet-explorer.multiversx.com",apiTimeout:"4000"},mainnet:{id:"mainnet",chainId:"1",name:"Mainnet",egldLabel:"EGLD",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"https://maiar.page.link/?apn=com.elrond.maiar.wallet&isi=1519405832&ibi=com.elrond.maiar.wallet&link=https://xportal.com/",walletConnectBridgeAddresses:["https://bridge.walletconnect.org"],walletConnectV2RelayAddresses:["wss://relay.walletconnect.com"],walletAddress:"https://wallet.multiversx.com",apiAddress:"https://api.multiversx.com",explorerAddress:"https://explorer.multiversx.com",apiTimeout:"4000"}},{chainId:Ce,egldLabel:mt}=ce["devnet"],{chainId:Be,egldLabel:gt}=ce["testnet"],{chainId:Ue,egldLabel:ft}=ce["mainnet"];var ht={["devnet"]:Ce,["testnet"]:Be,["mainnet"]:Ue},yt={[Ce]:"devnet",[Be]:"testnet",[Ue]:"mainnet"};c();c();c();c();var A=require("@multiversx/sdk-web-wallet-provider");c();var Pe="N/A";c();var Q=require("react");c();c();c();c();var ze=require("@multiversx/sdk-core/out"),pe=V(require("bignumber.js"));c();var Oe=require("@multiversx/sdk-core");function Ur(t){try{let e=new Oe.Address(t);return Boolean(e.bech32())}catch(e){return!1}}function Me(t){return(t==null?void 0:t.startsWith("erd"))&&t.length===62&&/^\w+$/.test(t)&&Ur(t)}c();c();c();c();function le(t){for(let e=0;e<t.length;e++)if(t.charCodeAt(e)>127)return!1;return!0}c();var Ge=t=>/\d/.test(t);var L=(t,e,r)=>{try{switch(e){case"text":return Ge(t)?u.Buffer.from(t,"hex").toString("utf8"):t;case"decimal":return new pe.default(t,16).toString(10);case"smart":let i=ze.Address.fromHex(t).toString();if(Me(i))return i;let o=u.Buffer.from(t,"hex").toString("utf8");return le(o)||r&&[...r.esdts,...r.nfts].some(p=>o.includes(p))?o:new pe.default(t,16).toString(10);case"raw":default:return t}}catch(n){return console.error(`Error during data decoding of "${t}" as "${e}"`,n),t}};c();c();var Pr=t=>t.toLowerCase().match(/[0-9a-f]/g),Or=t=>t.length%2===0,Ve=t=>{let e=[];return t&&!Pr(t)&&e.push(`Invalid Hex characters on argument @${t}`),t&&!Or(t)&&e.push(`Odd number of Hex characters on argument @${t}`),e};c();var K=({parts:t,decodedParts:e,identifier:r})=>{let n=[...e];if(t[0]==="ESDTNFTTransfer"&&t[2]&&(n[2]=L(t[2],"decimal")),r==="ESDTNFTTransfer"&&t[1]){let i=u.Buffer.from(String(t[1]),"base64");n[1]=L(i.toString("hex"),"decimal")}return n};var We=({parts:t,decodeMethod:e,identifier:r,display:n})=>{let i=t.map((o,a)=>{if(t.length>=2&&(a===0&&o.length<64||a===1&&!t[0]))return/[^a-z0-9]/gi.test(o)?L(o,e):o;{let l=Ve(o);return l.length&&(n.validationWarnings=Array.from(new Set([...n.validationWarnings,...l]))),L(o,e)}});return e==="smart"?K({parts:t,decodedParts:i,identifier:r}):i};var He=({input:t,decodeMethod:e,identifier:r})=>{let n={displayValue:"",validationWarnings:[]};if(t.includes("@")){let i=t.split("@"),o=We({parts:i,identifier:r,decodeMethod:e,display:n});return n.displayValue=o.join("@"),n}if(t.includes(`
|
|
2
2
|
`)){let i=t.split(`
|
|
3
3
|
`),o=i.map(l=>{let p=u.Buffer.from(String(l),"base64");return e==="raw"?l:L(p.toString("hex"),e)}),a=e==="smart"?K({parts:i,decodedParts:o,identifier:r}):o;return n.displayValue=a.join(`
|
|
4
|
-
`),n}return n.displayValue=L(t,e),n};var Mr=[{label:"Raw",value:"raw"},{label:"Text",value:"text"},{label:"Decimal",value:"decimal"},{label:"Smart",value:"smart"}],qe=({value:t,initialDecodeMethod:e,setDecodeMethod:r,identifier:n})=>{let[i,o]=(0,Q.useState)(e&&Object.values(P).includes(e)?e:"raw"),{displayValue:a,validationWarnings:l}=
|
|
4
|
+
`),n}return n.displayValue=L(t,e),n};var Mr=[{label:"Raw",value:"raw"},{label:"Text",value:"text"},{label:"Decimal",value:"decimal"},{label:"Smart",value:"smart"}],qe=({value:t,initialDecodeMethod:e,setDecodeMethod:r,identifier:n})=>{let[i,o]=(0,Q.useState)(e&&Object.values(P).includes(e)?e:"raw"),{displayValue:a,validationWarnings:l}=He({input:t,decodeMethod:i,identifier:n});return(0,Q.useEffect)(()=>{r&&r(i)},[i]),{displayValue:a,validationWarnings:l,setActiveKey:o,decodeOptions:Mr}};c();var Gr=`.dapp-core-component__styles__decode {
|
|
5
5
|
margin-top: 0.25rem;
|
|
6
6
|
position: relative;
|
|
7
7
|
max-width: 100%;
|