@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 vr=Object.create;var b=Object.defineProperty;var Ir=Object.getOwnPropertyDescriptor;var Ur=Object.getOwnPropertyNames;var _r=Object.getPrototypeOf,Rr=Object.prototype.hasOwnProperty;var Sr=(t,r)=>()=>(t&&(r=t(t=0)),r);var G=(t,r)=>()=>(r||t((r={exports:{}}).exports,r),r.exports),Nr=(t,r)=>{for(var e in r)b(t,e,{get:r[e],enumerable:!0})},rr=(t,r,e,i)=>{if(r&&typeof r=="object"||typeof r=="function")for(let n of Ur(r))!Rr.call(t,n)&&n!==e&&b(t,n,{get:()=>r[n],enumerable:!(i=Ir(r,n))||i.enumerable});return t};var er=(t,r,e)=>(e=t!=null?vr(_r(t)):{},rr(r||!t||!t.__esModule?b(e,"default",{value:t,enumerable:!0}):e,t)),Cr=t=>rr(b({},"__esModule",{value:!0}),t);var nr=G(O=>{"use strict";F();O.byteLength=Dr;O.toByteArray=Mr;O.fromByteArray=Or;var m=[],g=[],Lr=typeof Uint8Array!="undefined"?Uint8Array:Array,H="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(U=0,tr=H.length;U<tr;++U)m[U]=H[U],g[H.charCodeAt(U)]=U;var U,tr;g["-".charCodeAt(0)]=62;g["_".charCodeAt(0)]=63;function ir(t){var r=t.length;if(r%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var e=t.indexOf("=");e===-1&&(e=r);var i=e===r?0:4-e%4;return[e,i]}function Dr(t){var r=ir(t),e=r[0],i=r[1];return(e+i)*3/4-i}function kr(t,r,e){return(r+e)*3/4-e}function Mr(t){var r,e=ir(t),i=e[0],n=e[1],o=new Lr(kr(t,i,n)),u=0,f=n>0?i-4:i,h;for(h=0;h<f;h+=4)r=g[t.charCodeAt(h)]<<18|g[t.charCodeAt(h+1)]<<12|g[t.charCodeAt(h+2)]<<6|g[t.charCodeAt(h+3)],o[u++]=r>>16&255,o[u++]=r>>8&255,o[u++]=r&255;return n===2&&(r=g[t.charCodeAt(h)]<<2|g[t.charCodeAt(h+1)]>>4,o[u++]=r&255),n===1&&(r=g[t.charCodeAt(h)]<<10|g[t.charCodeAt(h+1)]<<4|g[t.charCodeAt(h+2)]>>2,o[u++]=r>>8&255,o[u++]=r&255),o}function br(t){return m[t>>18&63]+m[t>>12&63]+m[t>>6&63]+m[t&63]}function Gr(t,r,e){for(var i,n=[],o=r;o<e;o+=3)i=(t[o]<<16&16711680)+(t[o+1]<<8&65280)+(t[o+2]&255),n.push(br(i));return n.join("")}function Or(t){for(var r,e=t.length,i=e%3,n=[],o=16383,u=0,f=e-i;u<f;u+=o)n.push(Gr(t,u,u+o>f?f:u+o));return i===1?(r=t[e-1],n.push(m[r>>2]+m[r<<4&63]+"==")):i===2&&(r=(t[e-2]<<8)+t[e-1],n.push(m[r>>10]+m[r>>4&63]+m[r<<2&63]+"=")),n.join("")}});var or=G(X=>{F();X.read=function(t,r,e,i,n){var o,u,f=n*8-i-1,h=(1<<f)-1,c=h>>1,l=-7,p=e?n-1:0,E=e?-1:1,y=t[r+p];for(p+=E,o=y&(1<<-l)-1,y>>=-l,l+=f;l>0;o=o*256+t[r+p],p+=E,l-=8);for(u=o&(1<<-l)-1,o>>=-l,l+=i;l>0;u=u*256+t[r+p],p+=E,l-=8);if(o===0)o=1-c;else{if(o===h)return u?NaN:(y?-1:1)*(1/0);u=u+Math.pow(2,i),o=o-c}return(y?-1:1)*u*Math.pow(2,o-i)};X.write=function(t,r,e,i,n,o){var u,f,h,c=o*8-n-1,l=(1<<c)-1,p=l>>1,E=n===23?Math.pow(2,-24)-Math.pow(2,-77):0,y=i?0:o-1,S=i?1:-1,dr=r<0||r===0&&1/r<0?1:0;for(r=Math.abs(r),isNaN(r)||r===1/0?(f=isNaN(r)?1:0,u=l):(u=Math.floor(Math.log(r)/Math.LN2),r*(h=Math.pow(2,-u))<1&&(u--,h*=2),u+p>=1?r+=E/h:r+=E*Math.pow(2,1-p),r*h>=2&&(u++,h/=2),u+p>=l?(f=0,u=l):u+p>=1?(f=(r*h-1)*Math.pow(2,n),u=u+p):(f=r*Math.pow(2,p-1)*Math.pow(2,n),u=0));n>=8;t[e+y]=f&255,y+=S,f/=256,n-=8);for(u=u<<n|f,c+=n;c>0;t[e+y]=u&255,y+=S,u/=256,c-=8);t[e+y-S]|=dr*128}});var gr=G(D=>{"use strict";F();var z=nr(),L=or(),ur=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;D.Buffer=a;D.SlowBuffer=zr;D.INSPECT_MAX_BYTES=50;var Q=2147483647;D.kMaxLength=Q;a.TYPED_ARRAY_SUPPORT=Qr();!a.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 Qr(){try{var t=new Uint8Array(1),r={foo:function(){return 42}};return Object.setPrototypeOf(r,Uint8Array.prototype),Object.setPrototypeOf(t,r),t.foo()===42}catch(e){return!1}}Object.defineProperty(a.prototype,"parent",{enumerable:!0,get:function(){if(!!a.isBuffer(this))return this.buffer}});Object.defineProperty(a.prototype,"offset",{enumerable:!0,get:function(){if(!!a.isBuffer(this))return this.byteOffset}});function d(t){if(t>Q)throw new RangeError('The value "'+t+'" is invalid for option "size"');var r=new Uint8Array(t);return Object.setPrototypeOf(r,a.prototype),r}function a(t,r,e){if(typeof t=="number"){if(typeof r=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return $(t)}return hr(t,r,e)}a.poolSize=8192;function hr(t,r,e){if(typeof t=="string")return qr(t,r);if(ArrayBuffer.isView(t))return Hr(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(A(t,ArrayBuffer)||t&&A(t.buffer,ArrayBuffer)||typeof SharedArrayBuffer!="undefined"&&(A(t,SharedArrayBuffer)||t&&A(t.buffer,SharedArrayBuffer)))return K(t,r,e);if(typeof t=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var i=t.valueOf&&t.valueOf();if(i!=null&&i!==t)return a.from(i,r,e);var n=Xr(t);if(n)return n;if(typeof Symbol!="undefined"&&Symbol.toPrimitive!=null&&typeof t[Symbol.toPrimitive]=="function")return a.from(t[Symbol.toPrimitive]("string"),r,e);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t)}a.from=function(t,r,e){return hr(t,r,e)};Object.setPrototypeOf(a.prototype,Uint8Array.prototype);Object.setPrototypeOf(a,Uint8Array);function pr(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 Yr(t,r,e){return pr(t),t<=0?d(t):r!==void 0?typeof e=="string"?d(t).fill(r,e):d(t).fill(r):d(t)}a.alloc=function(t,r,e){return Yr(t,r,e)};function $(t){return pr(t),d(t<0?0:W(t)|0)}a.allocUnsafe=function(t){return $(t)};a.allocUnsafeSlow=function(t){return $(t)};function qr(t,r){if((typeof r!="string"||r==="")&&(r="utf8"),!a.isEncoding(r))throw new TypeError("Unknown encoding: "+r);var e=cr(t,r)|0,i=d(e),n=i.write(t,r);return n!==e&&(i=i.slice(0,n)),i}function J(t){for(var r=t.length<0?0:W(t.length)|0,e=d(r),i=0;i<r;i+=1)e[i]=t[i]&255;return e}function Hr(t){if(A(t,Uint8Array)){var r=new Uint8Array(t);return K(r.buffer,r.byteOffset,r.byteLength)}return J(t)}function K(t,r,e){if(r<0||t.byteLength<r)throw new RangeError('"offset" is outside of buffer bounds');if(t.byteLength<r+(e||0))throw new RangeError('"length" is outside of buffer bounds');var i;return r===void 0&&e===void 0?i=new Uint8Array(t):e===void 0?i=new Uint8Array(t,r):i=new Uint8Array(t,r,e),Object.setPrototypeOf(i,a.prototype),i}function Xr(t){if(a.isBuffer(t)){var r=W(t.length)|0,e=d(r);return e.length===0||t.copy(e,0,0,r),e}if(t.length!==void 0)return typeof t.length!="number"||j(t.length)?d(0):J(t);if(t.type==="Buffer"&&Array.isArray(t.data))return J(t.data)}function W(t){if(t>=Q)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+Q.toString(16)+" bytes");return t|0}function zr(t){return+t!=t&&(t=0),a.alloc(+t)}a.isBuffer=function(r){return r!=null&&r._isBuffer===!0&&r!==a.prototype};a.compare=function(r,e){if(A(r,Uint8Array)&&(r=a.from(r,r.offset,r.byteLength)),A(e,Uint8Array)&&(e=a.from(e,e.offset,e.byteLength)),!a.isBuffer(r)||!a.isBuffer(e))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(r===e)return 0;for(var i=r.length,n=e.length,o=0,u=Math.min(i,n);o<u;++o)if(r[o]!==e[o]){i=r[o],n=e[o];break}return i<n?-1:n<i?1:0};a.isEncoding=function(r){switch(String(r).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}};a.concat=function(r,e){if(!Array.isArray(r))throw new TypeError('"list" argument must be an Array of Buffers');if(r.length===0)return a.alloc(0);var i;if(e===void 0)for(e=0,i=0;i<r.length;++i)e+=r[i].length;var n=a.allocUnsafe(e),o=0;for(i=0;i<r.length;++i){var u=r[i];if(A(u,Uint8Array))o+u.length>n.length?a.from(u).copy(n,o):Uint8Array.prototype.set.call(n,u,o);else if(a.isBuffer(u))u.copy(n,o);else throw new TypeError('"list" argument must be an Array of Buffers');o+=u.length}return n};function cr(t,r){if(a.isBuffer(t))return t.length;if(ArrayBuffer.isView(t)||A(t,ArrayBuffer))return t.byteLength;if(typeof t!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof t);var e=t.length,i=arguments.length>2&&arguments[2]===!0;if(!i&&e===0)return 0;for(var n=!1;;)switch(r){case"ascii":case"latin1":case"binary":return e;case"utf8":case"utf-8":return Z(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return e*2;case"hex":return e>>>1;case"base64":return Fr(t).length;default:if(n)return i?-1:Z(t).length;r=(""+r).toLowerCase(),n=!0}}a.byteLength=cr;function Jr(t,r,e){var i=!1;if((r===void 0||r<0)&&(r=0),r>this.length||((e===void 0||e>this.length)&&(e=this.length),e<=0)||(e>>>=0,r>>>=0,e<=r))return"";for(t||(t="utf8");;)switch(t){case"hex":return te(this,r,e);case"utf8":case"utf-8":return sr(this,r,e);case"ascii":return re(this,r,e);case"latin1":case"binary":return ee(this,r,e);case"base64":return Vr(this,r,e);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return ie(this,r,e);default:if(i)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),i=!0}}a.prototype._isBuffer=!0;function _(t,r,e){var i=t[r];t[r]=t[e],t[e]=i}a.prototype.swap16=function(){var r=this.length;if(r%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var e=0;e<r;e+=2)_(this,e,e+1);return this};a.prototype.swap32=function(){var r=this.length;if(r%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var e=0;e<r;e+=4)_(this,e,e+3),_(this,e+1,e+2);return this};a.prototype.swap64=function(){var r=this.length;if(r%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var e=0;e<r;e+=8)_(this,e,e+7),_(this,e+1,e+6),_(this,e+2,e+5),_(this,e+3,e+4);return this};a.prototype.toString=function(){var r=this.length;return r===0?"":arguments.length===0?sr(this,0,r):Jr.apply(this,arguments)};a.prototype.toLocaleString=a.prototype.toString;a.prototype.equals=function(r){if(!a.isBuffer(r))throw new TypeError("Argument must be a Buffer");return this===r?!0:a.compare(this,r)===0};a.prototype.inspect=function(){var r="",e=D.INSPECT_MAX_BYTES;return r=this.toString("hex",0,e).replace(/(.{2})/g,"$1 ").trim(),this.length>e&&(r+=" ... "),"<Buffer "+r+">"};ur&&(a.prototype[ur]=a.prototype.inspect);a.prototype.compare=function(r,e,i,n,o){if(A(r,Uint8Array)&&(r=a.from(r,r.offset,r.byteLength)),!a.isBuffer(r))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof r);if(e===void 0&&(e=0),i===void 0&&(i=r?r.length:0),n===void 0&&(n=0),o===void 0&&(o=this.length),e<0||i>r.length||n<0||o>this.length)throw new RangeError("out of range index");if(n>=o&&e>=i)return 0;if(n>=o)return-1;if(e>=i)return 1;if(e>>>=0,i>>>=0,n>>>=0,o>>>=0,this===r)return 0;for(var u=o-n,f=i-e,h=Math.min(u,f),c=this.slice(n,o),l=r.slice(e,i),p=0;p<h;++p)if(c[p]!==l[p]){u=c[p],f=l[p];break}return u<f?-1:f<u?1:0};function lr(t,r,e,i,n){if(t.length===0)return-1;if(typeof e=="string"?(i=e,e=0):e>2147483647?e=2147483647:e<-2147483648&&(e=-2147483648),e=+e,j(e)&&(e=n?0:t.length-1),e<0&&(e=t.length+e),e>=t.length){if(n)return-1;e=t.length-1}else if(e<0)if(n)e=0;else return-1;if(typeof r=="string"&&(r=a.from(r,i)),a.isBuffer(r))return r.length===0?-1:ar(t,r,e,i,n);if(typeof r=="number")return r=r&255,typeof Uint8Array.prototype.indexOf=="function"?n?Uint8Array.prototype.indexOf.call(t,r,e):Uint8Array.prototype.lastIndexOf.call(t,r,e):ar(t,[r],e,i,n);throw new TypeError("val must be string, number or Buffer")}function ar(t,r,e,i,n){var o=1,u=t.length,f=r.length;if(i!==void 0&&(i=String(i).toLowerCase(),i==="ucs2"||i==="ucs-2"||i==="utf16le"||i==="utf-16le")){if(t.length<2||r.length<2)return-1;o=2,u/=2,f/=2,e/=2}function h(y,S){return o===1?y[S]:y.readUInt16BE(S*o)}var c;if(n){var l=-1;for(c=e;c<u;c++)if(h(t,c)===h(r,l===-1?0:c-l)){if(l===-1&&(l=c),c-l+1===f)return l*o}else l!==-1&&(c-=c-l),l=-1}else for(e+f>u&&(e=u-f),c=e;c>=0;c--){for(var p=!0,E=0;E<f;E++)if(h(t,c+E)!==h(r,E)){p=!1;break}if(p)return c}return-1}a.prototype.includes=function(r,e,i){return this.indexOf(r,e,i)!==-1};a.prototype.indexOf=function(r,e,i){return lr(this,r,e,i,!0)};a.prototype.lastIndexOf=function(r,e,i){return lr(this,r,e,i,!1)};function Kr(t,r,e,i){e=Number(e)||0;var n=t.length-e;i?(i=Number(i),i>n&&(i=n)):i=n;var o=r.length;i>o/2&&(i=o/2);for(var u=0;u<i;++u){var f=parseInt(r.substr(u*2,2),16);if(j(f))return u;t[e+u]=f}return u}function Zr(t,r,e,i){return Y(Z(r,t.length-e),t,e,i)}function $r(t,r,e,i){return Y(ue(r),t,e,i)}function Wr(t,r,e,i){return Y(Fr(r),t,e,i)}function jr(t,r,e,i){return Y(ae(r,t.length-e),t,e,i)}a.prototype.write=function(r,e,i,n){if(e===void 0)n="utf8",i=this.length,e=0;else if(i===void 0&&typeof e=="string")n=e,i=this.length,e=0;else if(isFinite(e))e=e>>>0,isFinite(i)?(i=i>>>0,n===void 0&&(n="utf8")):(n=i,i=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var o=this.length-e;if((i===void 0||i>o)&&(i=o),r.length>0&&(i<0||e<0)||e>this.length)throw new RangeError("Attempt to write outside buffer bounds");n||(n="utf8");for(var u=!1;;)switch(n){case"hex":return Kr(this,r,e,i);case"utf8":case"utf-8":return Zr(this,r,e,i);case"ascii":case"latin1":case"binary":return $r(this,r,e,i);case"base64":return Wr(this,r,e,i);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return jr(this,r,e,i);default:if(u)throw new TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),u=!0}};a.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function Vr(t,r,e){return r===0&&e===t.length?z.fromByteArray(t):z.fromByteArray(t.slice(r,e))}function sr(t,r,e){e=Math.min(t.length,e);for(var i=[],n=r;n<e;){var o=t[n],u=null,f=o>239?4:o>223?3:o>191?2:1;if(n+f<=e){var h,c,l,p;switch(f){case 1:o<128&&(u=o);break;case 2:h=t[n+1],(h&192)===128&&(p=(o&31)<<6|h&63,p>127&&(u=p));break;case 3:h=t[n+1],c=t[n+2],(h&192)===128&&(c&192)===128&&(p=(o&15)<<12|(h&63)<<6|c&63,p>2047&&(p<55296||p>57343)&&(u=p));break;case 4:h=t[n+1],c=t[n+2],l=t[n+3],(h&192)===128&&(c&192)===128&&(l&192)===128&&(p=(o&15)<<18|(h&63)<<12|(c&63)<<6|l&63,p>65535&&p<1114112&&(u=p))}}u===null?(u=65533,f=1):u>65535&&(u-=65536,i.push(u>>>10&1023|55296),u=56320|u&1023),i.push(u),n+=f}return Pr(i)}var fr=4096;function Pr(t){var r=t.length;if(r<=fr)return String.fromCharCode.apply(String,t);for(var e="",i=0;i<r;)e+=String.fromCharCode.apply(String,t.slice(i,i+=fr));return e}function re(t,r,e){var i="";e=Math.min(t.length,e);for(var n=r;n<e;++n)i+=String.fromCharCode(t[n]&127);return i}function ee(t,r,e){var i="";e=Math.min(t.length,e);for(var n=r;n<e;++n)i+=String.fromCharCode(t[n]);return i}function te(t,r,e){var i=t.length;(!r||r<0)&&(r=0),(!e||e<0||e>i)&&(e=i);for(var n="",o=r;o<e;++o)n+=fe[t[o]];return n}function ie(t,r,e){for(var i=t.slice(r,e),n="",o=0;o<i.length-1;o+=2)n+=String.fromCharCode(i[o]+i[o+1]*256);return n}a.prototype.slice=function(r,e){var i=this.length;r=~~r,e=e===void 0?i:~~e,r<0?(r+=i,r<0&&(r=0)):r>i&&(r=i),e<0?(e+=i,e<0&&(e=0)):e>i&&(e=i),e<r&&(e=r);var n=this.subarray(r,e);return Object.setPrototypeOf(n,a.prototype),n};function x(t,r,e){if(t%1!==0||t<0)throw new RangeError("offset is not uint");if(t+r>e)throw new RangeError("Trying to access beyond buffer length")}a.prototype.readUintLE=a.prototype.readUIntLE=function(r,e,i){r=r>>>0,e=e>>>0,i||x(r,e,this.length);for(var n=this[r],o=1,u=0;++u<e&&(o*=256);)n+=this[r+u]*o;return n};a.prototype.readUintBE=a.prototype.readUIntBE=function(r,e,i){r=r>>>0,e=e>>>0,i||x(r,e,this.length);for(var n=this[r+--e],o=1;e>0&&(o*=256);)n+=this[r+--e]*o;return n};a.prototype.readUint8=a.prototype.readUInt8=function(r,e){return r=r>>>0,e||x(r,1,this.length),this[r]};a.prototype.readUint16LE=a.prototype.readUInt16LE=function(r,e){return r=r>>>0,e||x(r,2,this.length),this[r]|this[r+1]<<8};a.prototype.readUint16BE=a.prototype.readUInt16BE=function(r,e){return r=r>>>0,e||x(r,2,this.length),this[r]<<8|this[r+1]};a.prototype.readUint32LE=a.prototype.readUInt32LE=function(r,e){return r=r>>>0,e||x(r,4,this.length),(this[r]|this[r+1]<<8|this[r+2]<<16)+this[r+3]*16777216};a.prototype.readUint32BE=a.prototype.readUInt32BE=function(r,e){return r=r>>>0,e||x(r,4,this.length),this[r]*16777216+(this[r+1]<<16|this[r+2]<<8|this[r+3])};a.prototype.readIntLE=function(r,e,i){r=r>>>0,e=e>>>0,i||x(r,e,this.length);for(var n=this[r],o=1,u=0;++u<e&&(o*=256);)n+=this[r+u]*o;return o*=128,n>=o&&(n-=Math.pow(2,8*e)),n};a.prototype.readIntBE=function(r,e,i){r=r>>>0,e=e>>>0,i||x(r,e,this.length);for(var n=e,o=1,u=this[r+--n];n>0&&(o*=256);)u+=this[r+--n]*o;return o*=128,u>=o&&(u-=Math.pow(2,8*e)),u};a.prototype.readInt8=function(r,e){return r=r>>>0,e||x(r,1,this.length),this[r]&128?(255-this[r]+1)*-1:this[r]};a.prototype.readInt16LE=function(r,e){r=r>>>0,e||x(r,2,this.length);var i=this[r]|this[r+1]<<8;return i&32768?i|4294901760:i};a.prototype.readInt16BE=function(r,e){r=r>>>0,e||x(r,2,this.length);var i=this[r+1]|this[r]<<8;return i&32768?i|4294901760:i};a.prototype.readInt32LE=function(r,e){return r=r>>>0,e||x(r,4,this.length),this[r]|this[r+1]<<8|this[r+2]<<16|this[r+3]<<24};a.prototype.readInt32BE=function(r,e){return r=r>>>0,e||x(r,4,this.length),this[r]<<24|this[r+1]<<16|this[r+2]<<8|this[r+3]};a.prototype.readFloatLE=function(r,e){return r=r>>>0,e||x(r,4,this.length),L.read(this,r,!0,23,4)};a.prototype.readFloatBE=function(r,e){return r=r>>>0,e||x(r,4,this.length),L.read(this,r,!1,23,4)};a.prototype.readDoubleLE=function(r,e){return r=r>>>0,e||x(r,8,this.length),L.read(this,r,!0,52,8)};a.prototype.readDoubleBE=function(r,e){return r=r>>>0,e||x(r,8,this.length),L.read(this,r,!1,52,8)};function w(t,r,e,i,n,o){if(!a.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(r>n||r<o)throw new RangeError('"value" argument is out of bounds');if(e+i>t.length)throw new RangeError("Index out of range")}a.prototype.writeUintLE=a.prototype.writeUIntLE=function(r,e,i,n){if(r=+r,e=e>>>0,i=i>>>0,!n){var o=Math.pow(2,8*i)-1;w(this,r,e,i,o,0)}var u=1,f=0;for(this[e]=r&255;++f<i&&(u*=256);)this[e+f]=r/u&255;return e+i};a.prototype.writeUintBE=a.prototype.writeUIntBE=function(r,e,i,n){if(r=+r,e=e>>>0,i=i>>>0,!n){var o=Math.pow(2,8*i)-1;w(this,r,e,i,o,0)}var u=i-1,f=1;for(this[e+u]=r&255;--u>=0&&(f*=256);)this[e+u]=r/f&255;return e+i};a.prototype.writeUint8=a.prototype.writeUInt8=function(r,e,i){return r=+r,e=e>>>0,i||w(this,r,e,1,255,0),this[e]=r&255,e+1};a.prototype.writeUint16LE=a.prototype.writeUInt16LE=function(r,e,i){return r=+r,e=e>>>0,i||w(this,r,e,2,65535,0),this[e]=r&255,this[e+1]=r>>>8,e+2};a.prototype.writeUint16BE=a.prototype.writeUInt16BE=function(r,e,i){return r=+r,e=e>>>0,i||w(this,r,e,2,65535,0),this[e]=r>>>8,this[e+1]=r&255,e+2};a.prototype.writeUint32LE=a.prototype.writeUInt32LE=function(r,e,i){return r=+r,e=e>>>0,i||w(this,r,e,4,4294967295,0),this[e+3]=r>>>24,this[e+2]=r>>>16,this[e+1]=r>>>8,this[e]=r&255,e+4};a.prototype.writeUint32BE=a.prototype.writeUInt32BE=function(r,e,i){return r=+r,e=e>>>0,i||w(this,r,e,4,4294967295,0),this[e]=r>>>24,this[e+1]=r>>>16,this[e+2]=r>>>8,this[e+3]=r&255,e+4};a.prototype.writeIntLE=function(r,e,i,n){if(r=+r,e=e>>>0,!n){var o=Math.pow(2,8*i-1);w(this,r,e,i,o-1,-o)}var u=0,f=1,h=0;for(this[e]=r&255;++u<i&&(f*=256);)r<0&&h===0&&this[e+u-1]!==0&&(h=1),this[e+u]=(r/f>>0)-h&255;return e+i};a.prototype.writeIntBE=function(r,e,i,n){if(r=+r,e=e>>>0,!n){var o=Math.pow(2,8*i-1);w(this,r,e,i,o-1,-o)}var u=i-1,f=1,h=0;for(this[e+u]=r&255;--u>=0&&(f*=256);)r<0&&h===0&&this[e+u+1]!==0&&(h=1),this[e+u]=(r/f>>0)-h&255;return e+i};a.prototype.writeInt8=function(r,e,i){return r=+r,e=e>>>0,i||w(this,r,e,1,127,-128),r<0&&(r=255+r+1),this[e]=r&255,e+1};a.prototype.writeInt16LE=function(r,e,i){return r=+r,e=e>>>0,i||w(this,r,e,2,32767,-32768),this[e]=r&255,this[e+1]=r>>>8,e+2};a.prototype.writeInt16BE=function(r,e,i){return r=+r,e=e>>>0,i||w(this,r,e,2,32767,-32768),this[e]=r>>>8,this[e+1]=r&255,e+2};a.prototype.writeInt32LE=function(r,e,i){return r=+r,e=e>>>0,i||w(this,r,e,4,2147483647,-2147483648),this[e]=r&255,this[e+1]=r>>>8,this[e+2]=r>>>16,this[e+3]=r>>>24,e+4};a.prototype.writeInt32BE=function(r,e,i){return r=+r,e=e>>>0,i||w(this,r,e,4,2147483647,-2147483648),r<0&&(r=4294967295+r+1),this[e]=r>>>24,this[e+1]=r>>>16,this[e+2]=r>>>8,this[e+3]=r&255,e+4};function xr(t,r,e,i,n,o){if(e+i>t.length)throw new RangeError("Index out of range");if(e<0)throw new RangeError("Index out of range")}function wr(t,r,e,i,n){return r=+r,e=e>>>0,n||xr(t,r,e,4,34028234663852886e22,-34028234663852886e22),L.write(t,r,e,i,23,4),e+4}a.prototype.writeFloatLE=function(r,e,i){return wr(this,r,e,!0,i)};a.prototype.writeFloatBE=function(r,e,i){return wr(this,r,e,!1,i)};function yr(t,r,e,i,n){return r=+r,e=e>>>0,n||xr(t,r,e,8,17976931348623157e292,-17976931348623157e292),L.write(t,r,e,i,52,8),e+8}a.prototype.writeDoubleLE=function(r,e,i){return yr(this,r,e,!0,i)};a.prototype.writeDoubleBE=function(r,e,i){return yr(this,r,e,!1,i)};a.prototype.copy=function(r,e,i,n){if(!a.isBuffer(r))throw new TypeError("argument should be a Buffer");if(i||(i=0),!n&&n!==0&&(n=this.length),e>=r.length&&(e=r.length),e||(e=0),n>0&&n<i&&(n=i),n===i||r.length===0||this.length===0)return 0;if(e<0)throw new RangeError("targetStart out of bounds");if(i<0||i>=this.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),r.length-e<n-i&&(n=r.length-e+i);var o=n-i;return this===r&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(e,i,n):Uint8Array.prototype.set.call(r,this.subarray(i,n),e),o};a.prototype.fill=function(r,e,i,n){if(typeof r=="string"){if(typeof e=="string"?(n=e,e=0,i=this.length):typeof i=="string"&&(n=i,i=this.length),n!==void 0&&typeof n!="string")throw new TypeError("encoding must be a string");if(typeof n=="string"&&!a.isEncoding(n))throw new TypeError("Unknown encoding: "+n);if(r.length===1){var o=r.charCodeAt(0);(n==="utf8"&&o<128||n==="latin1")&&(r=o)}}else typeof r=="number"?r=r&255:typeof r=="boolean"&&(r=Number(r));if(e<0||this.length<e||this.length<i)throw new RangeError("Out of range index");if(i<=e)return this;e=e>>>0,i=i===void 0?this.length:i>>>0,r||(r=0);var u;if(typeof r=="number")for(u=e;u<i;++u)this[u]=r;else{var f=a.isBuffer(r)?r:a.from(r,n),h=f.length;if(h===0)throw new TypeError('The value "'+r+'" is invalid for argument "value"');for(u=0;u<i-e;++u)this[u+e]=f[u%h]}return this};var ne=/[^+/0-9A-Za-z-_]/g;function oe(t){if(t=t.split("=")[0],t=t.trim().replace(ne,""),t.length<2)return"";for(;t.length%4!==0;)t=t+"=";return t}function Z(t,r){r=r||1/0;for(var e,i=t.length,n=null,o=[],u=0;u<i;++u){if(e=t.charCodeAt(u),e>55295&&e<57344){if(!n){if(e>56319){(r-=3)>-1&&o.push(239,191,189);continue}else if(u+1===i){(r-=3)>-1&&o.push(239,191,189);continue}n=e;continue}if(e<56320){(r-=3)>-1&&o.push(239,191,189),n=e;continue}e=(n-55296<<10|e-56320)+65536}else n&&(r-=3)>-1&&o.push(239,191,189);if(n=null,e<128){if((r-=1)<0)break;o.push(e)}else if(e<2048){if((r-=2)<0)break;o.push(e>>6|192,e&63|128)}else if(e<65536){if((r-=3)<0)break;o.push(e>>12|224,e>>6&63|128,e&63|128)}else if(e<1114112){if((r-=4)<0)break;o.push(e>>18|240,e>>12&63|128,e>>6&63|128,e&63|128)}else throw new Error("Invalid code point")}return o}function ue(t){for(var r=[],e=0;e<t.length;++e)r.push(t.charCodeAt(e)&255);return r}function ae(t,r){for(var e,i,n,o=[],u=0;u<t.length&&!((r-=2)<0);++u)e=t.charCodeAt(u),i=e>>8,n=e%256,o.push(n),o.push(i);return o}function Fr(t){return z.toByteArray(oe(t))}function Y(t,r,e,i){for(var n=0;n<i&&!(n+e>=r.length||n>=t.length);++n)r[n+e]=t[n];return n}function A(t,r){return t instanceof r||t!=null&&t.constructor!=null&&t.constructor.name!=null&&t.constructor.name===r.name}function j(t){return t!==t}var fe=function(){for(var t="0123456789abcdef",r=new Array(256),e=0;e<16;++e)for(var i=e*16,n=0;n<16;++n)r[i+n]=t[e]+t[n];return r}()});var Tr=G((Fe,Br)=>{F();var s=Br.exports={},B,T;function V(){throw new Error("setTimeout has not been defined")}function P(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?B=setTimeout:B=V}catch(t){B=V}try{typeof clearTimeout=="function"?T=clearTimeout:T=P}catch(t){T=P}})();function Er(t){if(B===setTimeout)return setTimeout(t,0);if((B===V||!B)&&setTimeout)return B=setTimeout,setTimeout(t,0);try{return B(t,0)}catch(r){try{return B.call(null,t,0)}catch(e){return B.call(this,t,0)}}}function he(t){if(T===clearTimeout)return clearTimeout(t);if((T===P||!T)&&clearTimeout)return T=clearTimeout,clearTimeout(t);try{return T(t)}catch(r){try{return T.call(null,t)}catch(e){return T.call(this,t)}}}var v=[],k=!1,R,q=-1;function pe(){!k||!R||(k=!1,R.length?v=R.concat(v):q=-1,v.length&&mr())}function mr(){if(!k){var t=Er(pe);k=!0;for(var r=v.length;r;){for(R=v,v=[];++q<r;)R&&R[q].run();q=-1,r=v.length}R=null,k=!1,he(t)}}s.nextTick=function(t){var r=new Array(arguments.length-1);if(arguments.length>1)for(var e=1;e<arguments.length;e++)r[e-1]=arguments[e];v.push(new Ar(t,r)),v.length===1&&!k&&Er(mr)};function Ar(t,r){this.fun=t,this.array=r}Ar.prototype.run=function(){this.fun.apply(null,this.array)};s.title="browser";s.browser=!0;s.env={};s.argv=[];s.version="";s.versions={};function I(){}s.on=I;s.addListener=I;s.once=I;s.off=I;s.removeListener=I;s.removeAllListeners=I;s.emit=I;s.prependListener=I;s.prependOnceListener=I;s.listeners=function(t){return[]};s.binding=function(t){throw new Error("process.binding is not supported")};s.cwd=function(){return"/"};s.chdir=function(t){throw new Error("process.chdir is not supported")};s.umask=function(){return 0}});var N,C,ge,F=Sr(()=>{N=er(gr()),C=er(Tr()),ge=function(t){function r(){var i=this||self;return delete t.prototype.__magic__,i}if(typeof globalThis=="object")return globalThis;if(this)return r();t.defineProperty(t.prototype,"__magic__",{configurable:!0,get:r});var e=__magic__;return e}(Object)});var le={};Nr(le,{getTransactionStatus:()=>ce});module.exports=Cr(le);F();F();function ce(t){let r=u=>t.status.toLowerCase()===u.toLowerCase(),e=r("fail")||r("reward-reverted"),i=r("success"),n=r("not executed")||r("invalid"),o=r("pending")||t.pendingResults;return{failed:e,success:i,invalid:n,pending:o}}0&&(module.exports={getTransactionStatus});
|
|
1
|
+
"use strict";var Ir=Object.create;var b=Object.defineProperty;var dr=Object.getOwnPropertyDescriptor;var Ur=Object.getOwnPropertyNames;var Rr=Object.getPrototypeOf,_r=Object.prototype.hasOwnProperty;var Cr=(t,r)=>()=>(t&&(r=t(t=0)),r);var G=(t,r)=>()=>(r||t((r={exports:{}}).exports,r),r.exports),Sr=(t,r)=>{for(var e in r)b(t,e,{get:r[e],enumerable:!0})},rr=(t,r,e,i)=>{if(r&&typeof r=="object"||typeof r=="function")for(let n of Ur(r))!_r.call(t,n)&&n!==e&&b(t,n,{get:()=>r[n],enumerable:!(i=dr(r,n))||i.enumerable});return t};var er=(t,r,e)=>(e=t!=null?Ir(Rr(t)):{},rr(r||!t||!t.__esModule?b(e,"default",{value:t,enumerable:!0}):e,t)),Nr=t=>rr(b({},"__esModule",{value:!0}),t);var nr=G(O=>{"use strict";F();O.byteLength=Dr;O.toByteArray=Mr;O.fromByteArray=Or;var m=[],g=[],Lr=typeof Uint8Array!="undefined"?Uint8Array:Array,H="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(U=0,tr=H.length;U<tr;++U)m[U]=H[U],g[H.charCodeAt(U)]=U;var U,tr;g["-".charCodeAt(0)]=62;g["_".charCodeAt(0)]=63;function ir(t){var r=t.length;if(r%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var e=t.indexOf("=");e===-1&&(e=r);var i=e===r?0:4-e%4;return[e,i]}function Dr(t){var r=ir(t),e=r[0],i=r[1];return(e+i)*3/4-i}function kr(t,r,e){return(r+e)*3/4-e}function Mr(t){var r,e=ir(t),i=e[0],n=e[1],o=new Lr(kr(t,i,n)),u=0,f=n>0?i-4:i,h;for(h=0;h<f;h+=4)r=g[t.charCodeAt(h)]<<18|g[t.charCodeAt(h+1)]<<12|g[t.charCodeAt(h+2)]<<6|g[t.charCodeAt(h+3)],o[u++]=r>>16&255,o[u++]=r>>8&255,o[u++]=r&255;return n===2&&(r=g[t.charCodeAt(h)]<<2|g[t.charCodeAt(h+1)]>>4,o[u++]=r&255),n===1&&(r=g[t.charCodeAt(h)]<<10|g[t.charCodeAt(h+1)]<<4|g[t.charCodeAt(h+2)]>>2,o[u++]=r>>8&255,o[u++]=r&255),o}function br(t){return m[t>>18&63]+m[t>>12&63]+m[t>>6&63]+m[t&63]}function Gr(t,r,e){for(var i,n=[],o=r;o<e;o+=3)i=(t[o]<<16&16711680)+(t[o+1]<<8&65280)+(t[o+2]&255),n.push(br(i));return n.join("")}function Or(t){for(var r,e=t.length,i=e%3,n=[],o=16383,u=0,f=e-i;u<f;u+=o)n.push(Gr(t,u,u+o>f?f:u+o));return i===1?(r=t[e-1],n.push(m[r>>2]+m[r<<4&63]+"==")):i===2&&(r=(t[e-2]<<8)+t[e-1],n.push(m[r>>10]+m[r>>4&63]+m[r<<2&63]+"=")),n.join("")}});var or=G(X=>{F();X.read=function(t,r,e,i,n){var o,u,f=n*8-i-1,h=(1<<f)-1,c=h>>1,l=-7,p=e?n-1:0,E=e?-1:1,y=t[r+p];for(p+=E,o=y&(1<<-l)-1,y>>=-l,l+=f;l>0;o=o*256+t[r+p],p+=E,l-=8);for(u=o&(1<<-l)-1,o>>=-l,l+=i;l>0;u=u*256+t[r+p],p+=E,l-=8);if(o===0)o=1-c;else{if(o===h)return u?NaN:(y?-1:1)*(1/0);u=u+Math.pow(2,i),o=o-c}return(y?-1:1)*u*Math.pow(2,o-i)};X.write=function(t,r,e,i,n,o){var u,f,h,c=o*8-n-1,l=(1<<c)-1,p=l>>1,E=n===23?Math.pow(2,-24)-Math.pow(2,-77):0,y=i?0:o-1,C=i?1:-1,vr=r<0||r===0&&1/r<0?1:0;for(r=Math.abs(r),isNaN(r)||r===1/0?(f=isNaN(r)?1:0,u=l):(u=Math.floor(Math.log(r)/Math.LN2),r*(h=Math.pow(2,-u))<1&&(u--,h*=2),u+p>=1?r+=E/h:r+=E*Math.pow(2,1-p),r*h>=2&&(u++,h/=2),u+p>=l?(f=0,u=l):u+p>=1?(f=(r*h-1)*Math.pow(2,n),u=u+p):(f=r*Math.pow(2,p-1)*Math.pow(2,n),u=0));n>=8;t[e+y]=f&255,y+=C,f/=256,n-=8);for(u=u<<n|f,c+=n;c>0;t[e+y]=u&255,y+=C,u/=256,c-=8);t[e+y-C]|=vr*128}});var gr=G(D=>{"use strict";F();var z=nr(),L=or(),ur=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;D.Buffer=a;D.SlowBuffer=zr;D.INSPECT_MAX_BYTES=50;var Q=2147483647;D.kMaxLength=Q;a.TYPED_ARRAY_SUPPORT=Qr();!a.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 Qr(){try{var t=new Uint8Array(1),r={foo:function(){return 42}};return Object.setPrototypeOf(r,Uint8Array.prototype),Object.setPrototypeOf(t,r),t.foo()===42}catch(e){return!1}}Object.defineProperty(a.prototype,"parent",{enumerable:!0,get:function(){if(!!a.isBuffer(this))return this.buffer}});Object.defineProperty(a.prototype,"offset",{enumerable:!0,get:function(){if(!!a.isBuffer(this))return this.byteOffset}});function v(t){if(t>Q)throw new RangeError('The value "'+t+'" is invalid for option "size"');var r=new Uint8Array(t);return Object.setPrototypeOf(r,a.prototype),r}function a(t,r,e){if(typeof t=="number"){if(typeof r=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return $(t)}return hr(t,r,e)}a.poolSize=8192;function hr(t,r,e){if(typeof t=="string")return qr(t,r);if(ArrayBuffer.isView(t))return Hr(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(A(t,ArrayBuffer)||t&&A(t.buffer,ArrayBuffer)||typeof SharedArrayBuffer!="undefined"&&(A(t,SharedArrayBuffer)||t&&A(t.buffer,SharedArrayBuffer)))return K(t,r,e);if(typeof t=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var i=t.valueOf&&t.valueOf();if(i!=null&&i!==t)return a.from(i,r,e);var n=Xr(t);if(n)return n;if(typeof Symbol!="undefined"&&Symbol.toPrimitive!=null&&typeof t[Symbol.toPrimitive]=="function")return a.from(t[Symbol.toPrimitive]("string"),r,e);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t)}a.from=function(t,r,e){return hr(t,r,e)};Object.setPrototypeOf(a.prototype,Uint8Array.prototype);Object.setPrototypeOf(a,Uint8Array);function pr(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 Yr(t,r,e){return pr(t),t<=0?v(t):r!==void 0?typeof e=="string"?v(t).fill(r,e):v(t).fill(r):v(t)}a.alloc=function(t,r,e){return Yr(t,r,e)};function $(t){return pr(t),v(t<0?0:W(t)|0)}a.allocUnsafe=function(t){return $(t)};a.allocUnsafeSlow=function(t){return $(t)};function qr(t,r){if((typeof r!="string"||r==="")&&(r="utf8"),!a.isEncoding(r))throw new TypeError("Unknown encoding: "+r);var e=cr(t,r)|0,i=v(e),n=i.write(t,r);return n!==e&&(i=i.slice(0,n)),i}function J(t){for(var r=t.length<0?0:W(t.length)|0,e=v(r),i=0;i<r;i+=1)e[i]=t[i]&255;return e}function Hr(t){if(A(t,Uint8Array)){var r=new Uint8Array(t);return K(r.buffer,r.byteOffset,r.byteLength)}return J(t)}function K(t,r,e){if(r<0||t.byteLength<r)throw new RangeError('"offset" is outside of buffer bounds');if(t.byteLength<r+(e||0))throw new RangeError('"length" is outside of buffer bounds');var i;return r===void 0&&e===void 0?i=new Uint8Array(t):e===void 0?i=new Uint8Array(t,r):i=new Uint8Array(t,r,e),Object.setPrototypeOf(i,a.prototype),i}function Xr(t){if(a.isBuffer(t)){var r=W(t.length)|0,e=v(r);return e.length===0||t.copy(e,0,0,r),e}if(t.length!==void 0)return typeof t.length!="number"||j(t.length)?v(0):J(t);if(t.type==="Buffer"&&Array.isArray(t.data))return J(t.data)}function W(t){if(t>=Q)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+Q.toString(16)+" bytes");return t|0}function zr(t){return+t!=t&&(t=0),a.alloc(+t)}a.isBuffer=function(r){return r!=null&&r._isBuffer===!0&&r!==a.prototype};a.compare=function(r,e){if(A(r,Uint8Array)&&(r=a.from(r,r.offset,r.byteLength)),A(e,Uint8Array)&&(e=a.from(e,e.offset,e.byteLength)),!a.isBuffer(r)||!a.isBuffer(e))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(r===e)return 0;for(var i=r.length,n=e.length,o=0,u=Math.min(i,n);o<u;++o)if(r[o]!==e[o]){i=r[o],n=e[o];break}return i<n?-1:n<i?1:0};a.isEncoding=function(r){switch(String(r).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}};a.concat=function(r,e){if(!Array.isArray(r))throw new TypeError('"list" argument must be an Array of Buffers');if(r.length===0)return a.alloc(0);var i;if(e===void 0)for(e=0,i=0;i<r.length;++i)e+=r[i].length;var n=a.allocUnsafe(e),o=0;for(i=0;i<r.length;++i){var u=r[i];if(A(u,Uint8Array))o+u.length>n.length?a.from(u).copy(n,o):Uint8Array.prototype.set.call(n,u,o);else if(a.isBuffer(u))u.copy(n,o);else throw new TypeError('"list" argument must be an Array of Buffers');o+=u.length}return n};function cr(t,r){if(a.isBuffer(t))return t.length;if(ArrayBuffer.isView(t)||A(t,ArrayBuffer))return t.byteLength;if(typeof t!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof t);var e=t.length,i=arguments.length>2&&arguments[2]===!0;if(!i&&e===0)return 0;for(var n=!1;;)switch(r){case"ascii":case"latin1":case"binary":return e;case"utf8":case"utf-8":return Z(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return e*2;case"hex":return e>>>1;case"base64":return Fr(t).length;default:if(n)return i?-1:Z(t).length;r=(""+r).toLowerCase(),n=!0}}a.byteLength=cr;function Jr(t,r,e){var i=!1;if((r===void 0||r<0)&&(r=0),r>this.length||((e===void 0||e>this.length)&&(e=this.length),e<=0)||(e>>>=0,r>>>=0,e<=r))return"";for(t||(t="utf8");;)switch(t){case"hex":return te(this,r,e);case"utf8":case"utf-8":return sr(this,r,e);case"ascii":return re(this,r,e);case"latin1":case"binary":return ee(this,r,e);case"base64":return Vr(this,r,e);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return ie(this,r,e);default:if(i)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),i=!0}}a.prototype._isBuffer=!0;function R(t,r,e){var i=t[r];t[r]=t[e],t[e]=i}a.prototype.swap16=function(){var r=this.length;if(r%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var e=0;e<r;e+=2)R(this,e,e+1);return this};a.prototype.swap32=function(){var r=this.length;if(r%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var e=0;e<r;e+=4)R(this,e,e+3),R(this,e+1,e+2);return this};a.prototype.swap64=function(){var r=this.length;if(r%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var e=0;e<r;e+=8)R(this,e,e+7),R(this,e+1,e+6),R(this,e+2,e+5),R(this,e+3,e+4);return this};a.prototype.toString=function(){var r=this.length;return r===0?"":arguments.length===0?sr(this,0,r):Jr.apply(this,arguments)};a.prototype.toLocaleString=a.prototype.toString;a.prototype.equals=function(r){if(!a.isBuffer(r))throw new TypeError("Argument must be a Buffer");return this===r?!0:a.compare(this,r)===0};a.prototype.inspect=function(){var r="",e=D.INSPECT_MAX_BYTES;return r=this.toString("hex",0,e).replace(/(.{2})/g,"$1 ").trim(),this.length>e&&(r+=" ... "),"<Buffer "+r+">"};ur&&(a.prototype[ur]=a.prototype.inspect);a.prototype.compare=function(r,e,i,n,o){if(A(r,Uint8Array)&&(r=a.from(r,r.offset,r.byteLength)),!a.isBuffer(r))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof r);if(e===void 0&&(e=0),i===void 0&&(i=r?r.length:0),n===void 0&&(n=0),o===void 0&&(o=this.length),e<0||i>r.length||n<0||o>this.length)throw new RangeError("out of range index");if(n>=o&&e>=i)return 0;if(n>=o)return-1;if(e>=i)return 1;if(e>>>=0,i>>>=0,n>>>=0,o>>>=0,this===r)return 0;for(var u=o-n,f=i-e,h=Math.min(u,f),c=this.slice(n,o),l=r.slice(e,i),p=0;p<h;++p)if(c[p]!==l[p]){u=c[p],f=l[p];break}return u<f?-1:f<u?1:0};function lr(t,r,e,i,n){if(t.length===0)return-1;if(typeof e=="string"?(i=e,e=0):e>2147483647?e=2147483647:e<-2147483648&&(e=-2147483648),e=+e,j(e)&&(e=n?0:t.length-1),e<0&&(e=t.length+e),e>=t.length){if(n)return-1;e=t.length-1}else if(e<0)if(n)e=0;else return-1;if(typeof r=="string"&&(r=a.from(r,i)),a.isBuffer(r))return r.length===0?-1:ar(t,r,e,i,n);if(typeof r=="number")return r=r&255,typeof Uint8Array.prototype.indexOf=="function"?n?Uint8Array.prototype.indexOf.call(t,r,e):Uint8Array.prototype.lastIndexOf.call(t,r,e):ar(t,[r],e,i,n);throw new TypeError("val must be string, number or Buffer")}function ar(t,r,e,i,n){var o=1,u=t.length,f=r.length;if(i!==void 0&&(i=String(i).toLowerCase(),i==="ucs2"||i==="ucs-2"||i==="utf16le"||i==="utf-16le")){if(t.length<2||r.length<2)return-1;o=2,u/=2,f/=2,e/=2}function h(y,C){return o===1?y[C]:y.readUInt16BE(C*o)}var c;if(n){var l=-1;for(c=e;c<u;c++)if(h(t,c)===h(r,l===-1?0:c-l)){if(l===-1&&(l=c),c-l+1===f)return l*o}else l!==-1&&(c-=c-l),l=-1}else for(e+f>u&&(e=u-f),c=e;c>=0;c--){for(var p=!0,E=0;E<f;E++)if(h(t,c+E)!==h(r,E)){p=!1;break}if(p)return c}return-1}a.prototype.includes=function(r,e,i){return this.indexOf(r,e,i)!==-1};a.prototype.indexOf=function(r,e,i){return lr(this,r,e,i,!0)};a.prototype.lastIndexOf=function(r,e,i){return lr(this,r,e,i,!1)};function Kr(t,r,e,i){e=Number(e)||0;var n=t.length-e;i?(i=Number(i),i>n&&(i=n)):i=n;var o=r.length;i>o/2&&(i=o/2);for(var u=0;u<i;++u){var f=parseInt(r.substr(u*2,2),16);if(j(f))return u;t[e+u]=f}return u}function Zr(t,r,e,i){return Y(Z(r,t.length-e),t,e,i)}function $r(t,r,e,i){return Y(ue(r),t,e,i)}function Wr(t,r,e,i){return Y(Fr(r),t,e,i)}function jr(t,r,e,i){return Y(ae(r,t.length-e),t,e,i)}a.prototype.write=function(r,e,i,n){if(e===void 0)n="utf8",i=this.length,e=0;else if(i===void 0&&typeof e=="string")n=e,i=this.length,e=0;else if(isFinite(e))e=e>>>0,isFinite(i)?(i=i>>>0,n===void 0&&(n="utf8")):(n=i,i=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var o=this.length-e;if((i===void 0||i>o)&&(i=o),r.length>0&&(i<0||e<0)||e>this.length)throw new RangeError("Attempt to write outside buffer bounds");n||(n="utf8");for(var u=!1;;)switch(n){case"hex":return Kr(this,r,e,i);case"utf8":case"utf-8":return Zr(this,r,e,i);case"ascii":case"latin1":case"binary":return $r(this,r,e,i);case"base64":return Wr(this,r,e,i);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return jr(this,r,e,i);default:if(u)throw new TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),u=!0}};a.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function Vr(t,r,e){return r===0&&e===t.length?z.fromByteArray(t):z.fromByteArray(t.slice(r,e))}function sr(t,r,e){e=Math.min(t.length,e);for(var i=[],n=r;n<e;){var o=t[n],u=null,f=o>239?4:o>223?3:o>191?2:1;if(n+f<=e){var h,c,l,p;switch(f){case 1:o<128&&(u=o);break;case 2:h=t[n+1],(h&192)===128&&(p=(o&31)<<6|h&63,p>127&&(u=p));break;case 3:h=t[n+1],c=t[n+2],(h&192)===128&&(c&192)===128&&(p=(o&15)<<12|(h&63)<<6|c&63,p>2047&&(p<55296||p>57343)&&(u=p));break;case 4:h=t[n+1],c=t[n+2],l=t[n+3],(h&192)===128&&(c&192)===128&&(l&192)===128&&(p=(o&15)<<18|(h&63)<<12|(c&63)<<6|l&63,p>65535&&p<1114112&&(u=p))}}u===null?(u=65533,f=1):u>65535&&(u-=65536,i.push(u>>>10&1023|55296),u=56320|u&1023),i.push(u),n+=f}return Pr(i)}var fr=4096;function Pr(t){var r=t.length;if(r<=fr)return String.fromCharCode.apply(String,t);for(var e="",i=0;i<r;)e+=String.fromCharCode.apply(String,t.slice(i,i+=fr));return e}function re(t,r,e){var i="";e=Math.min(t.length,e);for(var n=r;n<e;++n)i+=String.fromCharCode(t[n]&127);return i}function ee(t,r,e){var i="";e=Math.min(t.length,e);for(var n=r;n<e;++n)i+=String.fromCharCode(t[n]);return i}function te(t,r,e){var i=t.length;(!r||r<0)&&(r=0),(!e||e<0||e>i)&&(e=i);for(var n="",o=r;o<e;++o)n+=fe[t[o]];return n}function ie(t,r,e){for(var i=t.slice(r,e),n="",o=0;o<i.length-1;o+=2)n+=String.fromCharCode(i[o]+i[o+1]*256);return n}a.prototype.slice=function(r,e){var i=this.length;r=~~r,e=e===void 0?i:~~e,r<0?(r+=i,r<0&&(r=0)):r>i&&(r=i),e<0?(e+=i,e<0&&(e=0)):e>i&&(e=i),e<r&&(e=r);var n=this.subarray(r,e);return Object.setPrototypeOf(n,a.prototype),n};function x(t,r,e){if(t%1!==0||t<0)throw new RangeError("offset is not uint");if(t+r>e)throw new RangeError("Trying to access beyond buffer length")}a.prototype.readUintLE=a.prototype.readUIntLE=function(r,e,i){r=r>>>0,e=e>>>0,i||x(r,e,this.length);for(var n=this[r],o=1,u=0;++u<e&&(o*=256);)n+=this[r+u]*o;return n};a.prototype.readUintBE=a.prototype.readUIntBE=function(r,e,i){r=r>>>0,e=e>>>0,i||x(r,e,this.length);for(var n=this[r+--e],o=1;e>0&&(o*=256);)n+=this[r+--e]*o;return n};a.prototype.readUint8=a.prototype.readUInt8=function(r,e){return r=r>>>0,e||x(r,1,this.length),this[r]};a.prototype.readUint16LE=a.prototype.readUInt16LE=function(r,e){return r=r>>>0,e||x(r,2,this.length),this[r]|this[r+1]<<8};a.prototype.readUint16BE=a.prototype.readUInt16BE=function(r,e){return r=r>>>0,e||x(r,2,this.length),this[r]<<8|this[r+1]};a.prototype.readUint32LE=a.prototype.readUInt32LE=function(r,e){return r=r>>>0,e||x(r,4,this.length),(this[r]|this[r+1]<<8|this[r+2]<<16)+this[r+3]*16777216};a.prototype.readUint32BE=a.prototype.readUInt32BE=function(r,e){return r=r>>>0,e||x(r,4,this.length),this[r]*16777216+(this[r+1]<<16|this[r+2]<<8|this[r+3])};a.prototype.readIntLE=function(r,e,i){r=r>>>0,e=e>>>0,i||x(r,e,this.length);for(var n=this[r],o=1,u=0;++u<e&&(o*=256);)n+=this[r+u]*o;return o*=128,n>=o&&(n-=Math.pow(2,8*e)),n};a.prototype.readIntBE=function(r,e,i){r=r>>>0,e=e>>>0,i||x(r,e,this.length);for(var n=e,o=1,u=this[r+--n];n>0&&(o*=256);)u+=this[r+--n]*o;return o*=128,u>=o&&(u-=Math.pow(2,8*e)),u};a.prototype.readInt8=function(r,e){return r=r>>>0,e||x(r,1,this.length),this[r]&128?(255-this[r]+1)*-1:this[r]};a.prototype.readInt16LE=function(r,e){r=r>>>0,e||x(r,2,this.length);var i=this[r]|this[r+1]<<8;return i&32768?i|4294901760:i};a.prototype.readInt16BE=function(r,e){r=r>>>0,e||x(r,2,this.length);var i=this[r+1]|this[r]<<8;return i&32768?i|4294901760:i};a.prototype.readInt32LE=function(r,e){return r=r>>>0,e||x(r,4,this.length),this[r]|this[r+1]<<8|this[r+2]<<16|this[r+3]<<24};a.prototype.readInt32BE=function(r,e){return r=r>>>0,e||x(r,4,this.length),this[r]<<24|this[r+1]<<16|this[r+2]<<8|this[r+3]};a.prototype.readFloatLE=function(r,e){return r=r>>>0,e||x(r,4,this.length),L.read(this,r,!0,23,4)};a.prototype.readFloatBE=function(r,e){return r=r>>>0,e||x(r,4,this.length),L.read(this,r,!1,23,4)};a.prototype.readDoubleLE=function(r,e){return r=r>>>0,e||x(r,8,this.length),L.read(this,r,!0,52,8)};a.prototype.readDoubleBE=function(r,e){return r=r>>>0,e||x(r,8,this.length),L.read(this,r,!1,52,8)};function w(t,r,e,i,n,o){if(!a.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(r>n||r<o)throw new RangeError('"value" argument is out of bounds');if(e+i>t.length)throw new RangeError("Index out of range")}a.prototype.writeUintLE=a.prototype.writeUIntLE=function(r,e,i,n){if(r=+r,e=e>>>0,i=i>>>0,!n){var o=Math.pow(2,8*i)-1;w(this,r,e,i,o,0)}var u=1,f=0;for(this[e]=r&255;++f<i&&(u*=256);)this[e+f]=r/u&255;return e+i};a.prototype.writeUintBE=a.prototype.writeUIntBE=function(r,e,i,n){if(r=+r,e=e>>>0,i=i>>>0,!n){var o=Math.pow(2,8*i)-1;w(this,r,e,i,o,0)}var u=i-1,f=1;for(this[e+u]=r&255;--u>=0&&(f*=256);)this[e+u]=r/f&255;return e+i};a.prototype.writeUint8=a.prototype.writeUInt8=function(r,e,i){return r=+r,e=e>>>0,i||w(this,r,e,1,255,0),this[e]=r&255,e+1};a.prototype.writeUint16LE=a.prototype.writeUInt16LE=function(r,e,i){return r=+r,e=e>>>0,i||w(this,r,e,2,65535,0),this[e]=r&255,this[e+1]=r>>>8,e+2};a.prototype.writeUint16BE=a.prototype.writeUInt16BE=function(r,e,i){return r=+r,e=e>>>0,i||w(this,r,e,2,65535,0),this[e]=r>>>8,this[e+1]=r&255,e+2};a.prototype.writeUint32LE=a.prototype.writeUInt32LE=function(r,e,i){return r=+r,e=e>>>0,i||w(this,r,e,4,4294967295,0),this[e+3]=r>>>24,this[e+2]=r>>>16,this[e+1]=r>>>8,this[e]=r&255,e+4};a.prototype.writeUint32BE=a.prototype.writeUInt32BE=function(r,e,i){return r=+r,e=e>>>0,i||w(this,r,e,4,4294967295,0),this[e]=r>>>24,this[e+1]=r>>>16,this[e+2]=r>>>8,this[e+3]=r&255,e+4};a.prototype.writeIntLE=function(r,e,i,n){if(r=+r,e=e>>>0,!n){var o=Math.pow(2,8*i-1);w(this,r,e,i,o-1,-o)}var u=0,f=1,h=0;for(this[e]=r&255;++u<i&&(f*=256);)r<0&&h===0&&this[e+u-1]!==0&&(h=1),this[e+u]=(r/f>>0)-h&255;return e+i};a.prototype.writeIntBE=function(r,e,i,n){if(r=+r,e=e>>>0,!n){var o=Math.pow(2,8*i-1);w(this,r,e,i,o-1,-o)}var u=i-1,f=1,h=0;for(this[e+u]=r&255;--u>=0&&(f*=256);)r<0&&h===0&&this[e+u+1]!==0&&(h=1),this[e+u]=(r/f>>0)-h&255;return e+i};a.prototype.writeInt8=function(r,e,i){return r=+r,e=e>>>0,i||w(this,r,e,1,127,-128),r<0&&(r=255+r+1),this[e]=r&255,e+1};a.prototype.writeInt16LE=function(r,e,i){return r=+r,e=e>>>0,i||w(this,r,e,2,32767,-32768),this[e]=r&255,this[e+1]=r>>>8,e+2};a.prototype.writeInt16BE=function(r,e,i){return r=+r,e=e>>>0,i||w(this,r,e,2,32767,-32768),this[e]=r>>>8,this[e+1]=r&255,e+2};a.prototype.writeInt32LE=function(r,e,i){return r=+r,e=e>>>0,i||w(this,r,e,4,2147483647,-2147483648),this[e]=r&255,this[e+1]=r>>>8,this[e+2]=r>>>16,this[e+3]=r>>>24,e+4};a.prototype.writeInt32BE=function(r,e,i){return r=+r,e=e>>>0,i||w(this,r,e,4,2147483647,-2147483648),r<0&&(r=4294967295+r+1),this[e]=r>>>24,this[e+1]=r>>>16,this[e+2]=r>>>8,this[e+3]=r&255,e+4};function xr(t,r,e,i,n,o){if(e+i>t.length)throw new RangeError("Index out of range");if(e<0)throw new RangeError("Index out of range")}function wr(t,r,e,i,n){return r=+r,e=e>>>0,n||xr(t,r,e,4,34028234663852886e22,-34028234663852886e22),L.write(t,r,e,i,23,4),e+4}a.prototype.writeFloatLE=function(r,e,i){return wr(this,r,e,!0,i)};a.prototype.writeFloatBE=function(r,e,i){return wr(this,r,e,!1,i)};function yr(t,r,e,i,n){return r=+r,e=e>>>0,n||xr(t,r,e,8,17976931348623157e292,-17976931348623157e292),L.write(t,r,e,i,52,8),e+8}a.prototype.writeDoubleLE=function(r,e,i){return yr(this,r,e,!0,i)};a.prototype.writeDoubleBE=function(r,e,i){return yr(this,r,e,!1,i)};a.prototype.copy=function(r,e,i,n){if(!a.isBuffer(r))throw new TypeError("argument should be a Buffer");if(i||(i=0),!n&&n!==0&&(n=this.length),e>=r.length&&(e=r.length),e||(e=0),n>0&&n<i&&(n=i),n===i||r.length===0||this.length===0)return 0;if(e<0)throw new RangeError("targetStart out of bounds");if(i<0||i>=this.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),r.length-e<n-i&&(n=r.length-e+i);var o=n-i;return this===r&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(e,i,n):Uint8Array.prototype.set.call(r,this.subarray(i,n),e),o};a.prototype.fill=function(r,e,i,n){if(typeof r=="string"){if(typeof e=="string"?(n=e,e=0,i=this.length):typeof i=="string"&&(n=i,i=this.length),n!==void 0&&typeof n!="string")throw new TypeError("encoding must be a string");if(typeof n=="string"&&!a.isEncoding(n))throw new TypeError("Unknown encoding: "+n);if(r.length===1){var o=r.charCodeAt(0);(n==="utf8"&&o<128||n==="latin1")&&(r=o)}}else typeof r=="number"?r=r&255:typeof r=="boolean"&&(r=Number(r));if(e<0||this.length<e||this.length<i)throw new RangeError("Out of range index");if(i<=e)return this;e=e>>>0,i=i===void 0?this.length:i>>>0,r||(r=0);var u;if(typeof r=="number")for(u=e;u<i;++u)this[u]=r;else{var f=a.isBuffer(r)?r:a.from(r,n),h=f.length;if(h===0)throw new TypeError('The value "'+r+'" is invalid for argument "value"');for(u=0;u<i-e;++u)this[u+e]=f[u%h]}return this};var ne=/[^+/0-9A-Za-z-_]/g;function oe(t){if(t=t.split("=")[0],t=t.trim().replace(ne,""),t.length<2)return"";for(;t.length%4!==0;)t=t+"=";return t}function Z(t,r){r=r||1/0;for(var e,i=t.length,n=null,o=[],u=0;u<i;++u){if(e=t.charCodeAt(u),e>55295&&e<57344){if(!n){if(e>56319){(r-=3)>-1&&o.push(239,191,189);continue}else if(u+1===i){(r-=3)>-1&&o.push(239,191,189);continue}n=e;continue}if(e<56320){(r-=3)>-1&&o.push(239,191,189),n=e;continue}e=(n-55296<<10|e-56320)+65536}else n&&(r-=3)>-1&&o.push(239,191,189);if(n=null,e<128){if((r-=1)<0)break;o.push(e)}else if(e<2048){if((r-=2)<0)break;o.push(e>>6|192,e&63|128)}else if(e<65536){if((r-=3)<0)break;o.push(e>>12|224,e>>6&63|128,e&63|128)}else if(e<1114112){if((r-=4)<0)break;o.push(e>>18|240,e>>12&63|128,e>>6&63|128,e&63|128)}else throw new Error("Invalid code point")}return o}function ue(t){for(var r=[],e=0;e<t.length;++e)r.push(t.charCodeAt(e)&255);return r}function ae(t,r){for(var e,i,n,o=[],u=0;u<t.length&&!((r-=2)<0);++u)e=t.charCodeAt(u),i=e>>8,n=e%256,o.push(n),o.push(i);return o}function Fr(t){return z.toByteArray(oe(t))}function Y(t,r,e,i){for(var n=0;n<i&&!(n+e>=r.length||n>=t.length);++n)r[n+e]=t[n];return n}function A(t,r){return t instanceof r||t!=null&&t.constructor!=null&&t.constructor.name!=null&&t.constructor.name===r.name}function j(t){return t!==t}var fe=function(){for(var t="0123456789abcdef",r=new Array(256),e=0;e<16;++e)for(var i=e*16,n=0;n<16;++n)r[i+n]=t[e]+t[n];return r}()});var Tr=G((Fe,Br)=>{F();var s=Br.exports={},B,T;function V(){throw new Error("setTimeout has not been defined")}function P(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?B=setTimeout:B=V}catch(t){B=V}try{typeof clearTimeout=="function"?T=clearTimeout:T=P}catch(t){T=P}})();function Er(t){if(B===setTimeout)return setTimeout(t,0);if((B===V||!B)&&setTimeout)return B=setTimeout,setTimeout(t,0);try{return B(t,0)}catch(r){try{return B.call(null,t,0)}catch(e){return B.call(this,t,0)}}}function he(t){if(T===clearTimeout)return clearTimeout(t);if((T===P||!T)&&clearTimeout)return T=clearTimeout,clearTimeout(t);try{return T(t)}catch(r){try{return T.call(null,t)}catch(e){return T.call(this,t)}}}var I=[],k=!1,_,q=-1;function pe(){!k||!_||(k=!1,_.length?I=_.concat(I):q=-1,I.length&&mr())}function mr(){if(!k){var t=Er(pe);k=!0;for(var r=I.length;r;){for(_=I,I=[];++q<r;)_&&_[q].run();q=-1,r=I.length}_=null,k=!1,he(t)}}s.nextTick=function(t){var r=new Array(arguments.length-1);if(arguments.length>1)for(var e=1;e<arguments.length;e++)r[e-1]=arguments[e];I.push(new Ar(t,r)),I.length===1&&!k&&Er(mr)};function Ar(t,r){this.fun=t,this.array=r}Ar.prototype.run=function(){this.fun.apply(null,this.array)};s.title="browser";s.browser=!0;s.env={};s.argv=[];s.version="";s.versions={};function d(){}s.on=d;s.addListener=d;s.once=d;s.off=d;s.removeListener=d;s.removeAllListeners=d;s.emit=d;s.prependListener=d;s.prependOnceListener=d;s.listeners=function(t){return[]};s.binding=function(t){throw new Error("process.binding is not supported")};s.cwd=function(){return"/"};s.chdir=function(t){throw new Error("process.chdir is not supported")};s.umask=function(){return 0}});var S,N,ge,F=Cr(()=>{S=er(gr()),N=er(Tr()),ge=function(t){function r(){var i=this||self;return delete t.prototype.__magic__,i}if(typeof globalThis=="object")return globalThis;if(this)return r();t.defineProperty(t.prototype,"__magic__",{configurable:!0,get:r});var e=__magic__;return e}(Object)});var le={};Sr(le,{getTransactionStatus:()=>ce});module.exports=Nr(le);F();F();function ce(t){let r=u=>t.status.toLowerCase()===u.toLowerCase(),e=r("fail")||r("reward-reverted"),i=r("success"),n=r("not executed")||r("invalid"),o=r("pending")||t.pendingResults;return{failed:e,success:i,invalid:n,pending:o}}0&&(module.exports={getTransactionStatus});
|
|
2
2
|
/*!
|
|
3
3
|
* The buffer module from node.js, for the browser.
|
|
4
4
|
*
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";var Ur=Object.create;var b=Object.defineProperty;var vr=Object.getOwnPropertyDescriptor;var dr=Object.getOwnPropertyNames;var _r=Object.getPrototypeOf,Rr=Object.prototype.hasOwnProperty;var Sr=(t,r)=>()=>(t&&(r=t(t=0)),r);var G=(t,r)=>()=>(r||t((r={exports:{}}).exports,r),r.exports),Nr=(t,r)=>{for(var e in r)b(t,e,{get:r[e],enumerable:!0})},rr=(t,r,e,i)=>{if(r&&typeof r=="object"||typeof r=="function")for(let n of dr(r))!Rr.call(t,n)&&n!==e&&b(t,n,{get:()=>r[n],enumerable:!(i=vr(r,n))||i.enumerable});return t};var er=(t,r,e)=>(e=t!=null?Ur(_r(t)):{},rr(r||!t||!t.__esModule?b(e,"default",{value:t,enumerable:!0}):e,t)),Cr=t=>rr(b({},"__esModule",{value:!0}),t);var nr=G(O=>{"use strict";F();O.byteLength=Dr;O.toByteArray=Mr;O.fromByteArray=Or;var m=[],g=[],Lr=typeof Uint8Array!="undefined"?Uint8Array:Array,H="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(d=0,tr=H.length;d<tr;++d)m[d]=H[d],g[H.charCodeAt(d)]=d;var d,tr;g["-".charCodeAt(0)]=62;g["_".charCodeAt(0)]=63;function ir(t){var r=t.length;if(r%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var e=t.indexOf("=");e===-1&&(e=r);var i=e===r?0:4-e%4;return[e,i]}function Dr(t){var r=ir(t),e=r[0],i=r[1];return(e+i)*3/4-i}function kr(t,r,e){return(r+e)*3/4-e}function Mr(t){var r,e=ir(t),i=e[0],n=e[1],o=new Lr(kr(t,i,n)),u=0,f=n>0?i-4:i,h;for(h=0;h<f;h+=4)r=g[t.charCodeAt(h)]<<18|g[t.charCodeAt(h+1)]<<12|g[t.charCodeAt(h+2)]<<6|g[t.charCodeAt(h+3)],o[u++]=r>>16&255,o[u++]=r>>8&255,o[u++]=r&255;return n===2&&(r=g[t.charCodeAt(h)]<<2|g[t.charCodeAt(h+1)]>>4,o[u++]=r&255),n===1&&(r=g[t.charCodeAt(h)]<<10|g[t.charCodeAt(h+1)]<<4|g[t.charCodeAt(h+2)]>>2,o[u++]=r>>8&255,o[u++]=r&255),o}function br(t){return m[t>>18&63]+m[t>>12&63]+m[t>>6&63]+m[t&63]}function Gr(t,r,e){for(var i,n=[],o=r;o<e;o+=3)i=(t[o]<<16&16711680)+(t[o+1]<<8&65280)+(t[o+2]&255),n.push(br(i));return n.join("")}function Or(t){for(var r,e=t.length,i=e%3,n=[],o=16383,u=0,f=e-i;u<f;u+=o)n.push(Gr(t,u,u+o>f?f:u+o));return i===1?(r=t[e-1],n.push(m[r>>2]+m[r<<4&63]+"==")):i===2&&(r=(t[e-2]<<8)+t[e-1],n.push(m[r>>10]+m[r>>4&63]+m[r<<2&63]+"=")),n.join("")}});var or=G(X=>{F();X.read=function(t,r,e,i,n){var o,u,f=n*8-i-1,h=(1<<f)-1,c=h>>1,l=-7,p=e?n-1:0,E=e?-1:1,y=t[r+p];for(p+=E,o=y&(1<<-l)-1,y>>=-l,l+=f;l>0;o=o*256+t[r+p],p+=E,l-=8);for(u=o&(1<<-l)-1,o>>=-l,l+=i;l>0;u=u*256+t[r+p],p+=E,l-=8);if(o===0)o=1-c;else{if(o===h)return u?NaN:(y?-1:1)*(1/0);u=u+Math.pow(2,i),o=o-c}return(y?-1:1)*u*Math.pow(2,o-i)};X.write=function(t,r,e,i,n,o){var u,f,h,c=o*8-n-1,l=(1<<c)-1,p=l>>1,E=n===23?Math.pow(2,-24)-Math.pow(2,-77):0,y=i?0:o-1,S=i?1:-1,Ir=r<0||r===0&&1/r<0?1:0;for(r=Math.abs(r),isNaN(r)||r===1/0?(f=isNaN(r)?1:0,u=l):(u=Math.floor(Math.log(r)/Math.LN2),r*(h=Math.pow(2,-u))<1&&(u--,h*=2),u+p>=1?r+=E/h:r+=E*Math.pow(2,1-p),r*h>=2&&(u++,h/=2),u+p>=l?(f=0,u=l):u+p>=1?(f=(r*h-1)*Math.pow(2,n),u=u+p):(f=r*Math.pow(2,p-1)*Math.pow(2,n),u=0));n>=8;t[e+y]=f&255,y+=S,f/=256,n-=8);for(u=u<<n|f,c+=n;c>0;t[e+y]=u&255,y+=S,u/=256,c-=8);t[e+y-S]|=Ir*128}});var gr=G(D=>{"use strict";F();var z=nr(),L=or(),ur=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;D.Buffer=a;D.SlowBuffer=zr;D.INSPECT_MAX_BYTES=50;var Q=2147483647;D.kMaxLength=Q;a.TYPED_ARRAY_SUPPORT=Qr();!a.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 Qr(){try{var t=new Uint8Array(1),r={foo:function(){return 42}};return Object.setPrototypeOf(r,Uint8Array.prototype),Object.setPrototypeOf(t,r),t.foo()===42}catch(e){return!1}}Object.defineProperty(a.prototype,"parent",{enumerable:!0,get:function(){if(!!a.isBuffer(this))return this.buffer}});Object.defineProperty(a.prototype,"offset",{enumerable:!0,get:function(){if(!!a.isBuffer(this))return this.byteOffset}});function I(t){if(t>Q)throw new RangeError('The value "'+t+'" is invalid for option "size"');var r=new Uint8Array(t);return Object.setPrototypeOf(r,a.prototype),r}function a(t,r,e){if(typeof t=="number"){if(typeof r=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return $(t)}return hr(t,r,e)}a.poolSize=8192;function hr(t,r,e){if(typeof t=="string")return qr(t,r);if(ArrayBuffer.isView(t))return Hr(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(A(t,ArrayBuffer)||t&&A(t.buffer,ArrayBuffer)||typeof SharedArrayBuffer!="undefined"&&(A(t,SharedArrayBuffer)||t&&A(t.buffer,SharedArrayBuffer)))return K(t,r,e);if(typeof t=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var i=t.valueOf&&t.valueOf();if(i!=null&&i!==t)return a.from(i,r,e);var n=Xr(t);if(n)return n;if(typeof Symbol!="undefined"&&Symbol.toPrimitive!=null&&typeof t[Symbol.toPrimitive]=="function")return a.from(t[Symbol.toPrimitive]("string"),r,e);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t)}a.from=function(t,r,e){return hr(t,r,e)};Object.setPrototypeOf(a.prototype,Uint8Array.prototype);Object.setPrototypeOf(a,Uint8Array);function pr(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 Yr(t,r,e){return pr(t),t<=0?I(t):r!==void 0?typeof e=="string"?I(t).fill(r,e):I(t).fill(r):I(t)}a.alloc=function(t,r,e){return Yr(t,r,e)};function $(t){return pr(t),I(t<0?0:W(t)|0)}a.allocUnsafe=function(t){return $(t)};a.allocUnsafeSlow=function(t){return $(t)};function qr(t,r){if((typeof r!="string"||r==="")&&(r="utf8"),!a.isEncoding(r))throw new TypeError("Unknown encoding: "+r);var e=cr(t,r)|0,i=I(e),n=i.write(t,r);return n!==e&&(i=i.slice(0,n)),i}function J(t){for(var r=t.length<0?0:W(t.length)|0,e=I(r),i=0;i<r;i+=1)e[i]=t[i]&255;return e}function Hr(t){if(A(t,Uint8Array)){var r=new Uint8Array(t);return K(r.buffer,r.byteOffset,r.byteLength)}return J(t)}function K(t,r,e){if(r<0||t.byteLength<r)throw new RangeError('"offset" is outside of buffer bounds');if(t.byteLength<r+(e||0))throw new RangeError('"length" is outside of buffer bounds');var i;return r===void 0&&e===void 0?i=new Uint8Array(t):e===void 0?i=new Uint8Array(t,r):i=new Uint8Array(t,r,e),Object.setPrototypeOf(i,a.prototype),i}function Xr(t){if(a.isBuffer(t)){var r=W(t.length)|0,e=I(r);return e.length===0||t.copy(e,0,0,r),e}if(t.length!==void 0)return typeof t.length!="number"||j(t.length)?I(0):J(t);if(t.type==="Buffer"&&Array.isArray(t.data))return J(t.data)}function W(t){if(t>=Q)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+Q.toString(16)+" bytes");return t|0}function zr(t){return+t!=t&&(t=0),a.alloc(+t)}a.isBuffer=function(r){return r!=null&&r._isBuffer===!0&&r!==a.prototype};a.compare=function(r,e){if(A(r,Uint8Array)&&(r=a.from(r,r.offset,r.byteLength)),A(e,Uint8Array)&&(e=a.from(e,e.offset,e.byteLength)),!a.isBuffer(r)||!a.isBuffer(e))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(r===e)return 0;for(var i=r.length,n=e.length,o=0,u=Math.min(i,n);o<u;++o)if(r[o]!==e[o]){i=r[o],n=e[o];break}return i<n?-1:n<i?1:0};a.isEncoding=function(r){switch(String(r).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}};a.concat=function(r,e){if(!Array.isArray(r))throw new TypeError('"list" argument must be an Array of Buffers');if(r.length===0)return a.alloc(0);var i;if(e===void 0)for(e=0,i=0;i<r.length;++i)e+=r[i].length;var n=a.allocUnsafe(e),o=0;for(i=0;i<r.length;++i){var u=r[i];if(A(u,Uint8Array))o+u.length>n.length?a.from(u).copy(n,o):Uint8Array.prototype.set.call(n,u,o);else if(a.isBuffer(u))u.copy(n,o);else throw new TypeError('"list" argument must be an Array of Buffers');o+=u.length}return n};function cr(t,r){if(a.isBuffer(t))return t.length;if(ArrayBuffer.isView(t)||A(t,ArrayBuffer))return t.byteLength;if(typeof t!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof t);var e=t.length,i=arguments.length>2&&arguments[2]===!0;if(!i&&e===0)return 0;for(var n=!1;;)switch(r){case"ascii":case"latin1":case"binary":return e;case"utf8":case"utf-8":return Z(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return e*2;case"hex":return e>>>1;case"base64":return Fr(t).length;default:if(n)return i?-1:Z(t).length;r=(""+r).toLowerCase(),n=!0}}a.byteLength=cr;function Jr(t,r,e){var i=!1;if((r===void 0||r<0)&&(r=0),r>this.length||((e===void 0||e>this.length)&&(e=this.length),e<=0)||(e>>>=0,r>>>=0,e<=r))return"";for(t||(t="utf8");;)switch(t){case"hex":return te(this,r,e);case"utf8":case"utf-8":return sr(this,r,e);case"ascii":return re(this,r,e);case"latin1":case"binary":return ee(this,r,e);case"base64":return Vr(this,r,e);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return ie(this,r,e);default:if(i)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),i=!0}}a.prototype._isBuffer=!0;function _(t,r,e){var i=t[r];t[r]=t[e],t[e]=i}a.prototype.swap16=function(){var r=this.length;if(r%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var e=0;e<r;e+=2)_(this,e,e+1);return this};a.prototype.swap32=function(){var r=this.length;if(r%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var e=0;e<r;e+=4)_(this,e,e+3),_(this,e+1,e+2);return this};a.prototype.swap64=function(){var r=this.length;if(r%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var e=0;e<r;e+=8)_(this,e,e+7),_(this,e+1,e+6),_(this,e+2,e+5),_(this,e+3,e+4);return this};a.prototype.toString=function(){var r=this.length;return r===0?"":arguments.length===0?sr(this,0,r):Jr.apply(this,arguments)};a.prototype.toLocaleString=a.prototype.toString;a.prototype.equals=function(r){if(!a.isBuffer(r))throw new TypeError("Argument must be a Buffer");return this===r?!0:a.compare(this,r)===0};a.prototype.inspect=function(){var r="",e=D.INSPECT_MAX_BYTES;return r=this.toString("hex",0,e).replace(/(.{2})/g,"$1 ").trim(),this.length>e&&(r+=" ... "),"<Buffer "+r+">"};ur&&(a.prototype[ur]=a.prototype.inspect);a.prototype.compare=function(r,e,i,n,o){if(A(r,Uint8Array)&&(r=a.from(r,r.offset,r.byteLength)),!a.isBuffer(r))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof r);if(e===void 0&&(e=0),i===void 0&&(i=r?r.length:0),n===void 0&&(n=0),o===void 0&&(o=this.length),e<0||i>r.length||n<0||o>this.length)throw new RangeError("out of range index");if(n>=o&&e>=i)return 0;if(n>=o)return-1;if(e>=i)return 1;if(e>>>=0,i>>>=0,n>>>=0,o>>>=0,this===r)return 0;for(var u=o-n,f=i-e,h=Math.min(u,f),c=this.slice(n,o),l=r.slice(e,i),p=0;p<h;++p)if(c[p]!==l[p]){u=c[p],f=l[p];break}return u<f?-1:f<u?1:0};function lr(t,r,e,i,n){if(t.length===0)return-1;if(typeof e=="string"?(i=e,e=0):e>2147483647?e=2147483647:e<-2147483648&&(e=-2147483648),e=+e,j(e)&&(e=n?0:t.length-1),e<0&&(e=t.length+e),e>=t.length){if(n)return-1;e=t.length-1}else if(e<0)if(n)e=0;else return-1;if(typeof r=="string"&&(r=a.from(r,i)),a.isBuffer(r))return r.length===0?-1:ar(t,r,e,i,n);if(typeof r=="number")return r=r&255,typeof Uint8Array.prototype.indexOf=="function"?n?Uint8Array.prototype.indexOf.call(t,r,e):Uint8Array.prototype.lastIndexOf.call(t,r,e):ar(t,[r],e,i,n);throw new TypeError("val must be string, number or Buffer")}function ar(t,r,e,i,n){var o=1,u=t.length,f=r.length;if(i!==void 0&&(i=String(i).toLowerCase(),i==="ucs2"||i==="ucs-2"||i==="utf16le"||i==="utf-16le")){if(t.length<2||r.length<2)return-1;o=2,u/=2,f/=2,e/=2}function h(y,S){return o===1?y[S]:y.readUInt16BE(S*o)}var c;if(n){var l=-1;for(c=e;c<u;c++)if(h(t,c)===h(r,l===-1?0:c-l)){if(l===-1&&(l=c),c-l+1===f)return l*o}else l!==-1&&(c-=c-l),l=-1}else for(e+f>u&&(e=u-f),c=e;c>=0;c--){for(var p=!0,E=0;E<f;E++)if(h(t,c+E)!==h(r,E)){p=!1;break}if(p)return c}return-1}a.prototype.includes=function(r,e,i){return this.indexOf(r,e,i)!==-1};a.prototype.indexOf=function(r,e,i){return lr(this,r,e,i,!0)};a.prototype.lastIndexOf=function(r,e,i){return lr(this,r,e,i,!1)};function Kr(t,r,e,i){e=Number(e)||0;var n=t.length-e;i?(i=Number(i),i>n&&(i=n)):i=n;var o=r.length;i>o/2&&(i=o/2);for(var u=0;u<i;++u){var f=parseInt(r.substr(u*2,2),16);if(j(f))return u;t[e+u]=f}return u}function Zr(t,r,e,i){return Y(Z(r,t.length-e),t,e,i)}function $r(t,r,e,i){return Y(ue(r),t,e,i)}function Wr(t,r,e,i){return Y(Fr(r),t,e,i)}function jr(t,r,e,i){return Y(ae(r,t.length-e),t,e,i)}a.prototype.write=function(r,e,i,n){if(e===void 0)n="utf8",i=this.length,e=0;else if(i===void 0&&typeof e=="string")n=e,i=this.length,e=0;else if(isFinite(e))e=e>>>0,isFinite(i)?(i=i>>>0,n===void 0&&(n="utf8")):(n=i,i=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var o=this.length-e;if((i===void 0||i>o)&&(i=o),r.length>0&&(i<0||e<0)||e>this.length)throw new RangeError("Attempt to write outside buffer bounds");n||(n="utf8");for(var u=!1;;)switch(n){case"hex":return Kr(this,r,e,i);case"utf8":case"utf-8":return Zr(this,r,e,i);case"ascii":case"latin1":case"binary":return $r(this,r,e,i);case"base64":return Wr(this,r,e,i);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return jr(this,r,e,i);default:if(u)throw new TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),u=!0}};a.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function Vr(t,r,e){return r===0&&e===t.length?z.fromByteArray(t):z.fromByteArray(t.slice(r,e))}function sr(t,r,e){e=Math.min(t.length,e);for(var i=[],n=r;n<e;){var o=t[n],u=null,f=o>239?4:o>223?3:o>191?2:1;if(n+f<=e){var h,c,l,p;switch(f){case 1:o<128&&(u=o);break;case 2:h=t[n+1],(h&192)===128&&(p=(o&31)<<6|h&63,p>127&&(u=p));break;case 3:h=t[n+1],c=t[n+2],(h&192)===128&&(c&192)===128&&(p=(o&15)<<12|(h&63)<<6|c&63,p>2047&&(p<55296||p>57343)&&(u=p));break;case 4:h=t[n+1],c=t[n+2],l=t[n+3],(h&192)===128&&(c&192)===128&&(l&192)===128&&(p=(o&15)<<18|(h&63)<<12|(c&63)<<6|l&63,p>65535&&p<1114112&&(u=p))}}u===null?(u=65533,f=1):u>65535&&(u-=65536,i.push(u>>>10&1023|55296),u=56320|u&1023),i.push(u),n+=f}return Pr(i)}var fr=4096;function Pr(t){var r=t.length;if(r<=fr)return String.fromCharCode.apply(String,t);for(var e="",i=0;i<r;)e+=String.fromCharCode.apply(String,t.slice(i,i+=fr));return e}function re(t,r,e){var i="";e=Math.min(t.length,e);for(var n=r;n<e;++n)i+=String.fromCharCode(t[n]&127);return i}function ee(t,r,e){var i="";e=Math.min(t.length,e);for(var n=r;n<e;++n)i+=String.fromCharCode(t[n]);return i}function te(t,r,e){var i=t.length;(!r||r<0)&&(r=0),(!e||e<0||e>i)&&(e=i);for(var n="",o=r;o<e;++o)n+=fe[t[o]];return n}function ie(t,r,e){for(var i=t.slice(r,e),n="",o=0;o<i.length-1;o+=2)n+=String.fromCharCode(i[o]+i[o+1]*256);return n}a.prototype.slice=function(r,e){var i=this.length;r=~~r,e=e===void 0?i:~~e,r<0?(r+=i,r<0&&(r=0)):r>i&&(r=i),e<0?(e+=i,e<0&&(e=0)):e>i&&(e=i),e<r&&(e=r);var n=this.subarray(r,e);return Object.setPrototypeOf(n,a.prototype),n};function x(t,r,e){if(t%1!==0||t<0)throw new RangeError("offset is not uint");if(t+r>e)throw new RangeError("Trying to access beyond buffer length")}a.prototype.readUintLE=a.prototype.readUIntLE=function(r,e,i){r=r>>>0,e=e>>>0,i||x(r,e,this.length);for(var n=this[r],o=1,u=0;++u<e&&(o*=256);)n+=this[r+u]*o;return n};a.prototype.readUintBE=a.prototype.readUIntBE=function(r,e,i){r=r>>>0,e=e>>>0,i||x(r,e,this.length);for(var n=this[r+--e],o=1;e>0&&(o*=256);)n+=this[r+--e]*o;return n};a.prototype.readUint8=a.prototype.readUInt8=function(r,e){return r=r>>>0,e||x(r,1,this.length),this[r]};a.prototype.readUint16LE=a.prototype.readUInt16LE=function(r,e){return r=r>>>0,e||x(r,2,this.length),this[r]|this[r+1]<<8};a.prototype.readUint16BE=a.prototype.readUInt16BE=function(r,e){return r=r>>>0,e||x(r,2,this.length),this[r]<<8|this[r+1]};a.prototype.readUint32LE=a.prototype.readUInt32LE=function(r,e){return r=r>>>0,e||x(r,4,this.length),(this[r]|this[r+1]<<8|this[r+2]<<16)+this[r+3]*16777216};a.prototype.readUint32BE=a.prototype.readUInt32BE=function(r,e){return r=r>>>0,e||x(r,4,this.length),this[r]*16777216+(this[r+1]<<16|this[r+2]<<8|this[r+3])};a.prototype.readIntLE=function(r,e,i){r=r>>>0,e=e>>>0,i||x(r,e,this.length);for(var n=this[r],o=1,u=0;++u<e&&(o*=256);)n+=this[r+u]*o;return o*=128,n>=o&&(n-=Math.pow(2,8*e)),n};a.prototype.readIntBE=function(r,e,i){r=r>>>0,e=e>>>0,i||x(r,e,this.length);for(var n=e,o=1,u=this[r+--n];n>0&&(o*=256);)u+=this[r+--n]*o;return o*=128,u>=o&&(u-=Math.pow(2,8*e)),u};a.prototype.readInt8=function(r,e){return r=r>>>0,e||x(r,1,this.length),this[r]&128?(255-this[r]+1)*-1:this[r]};a.prototype.readInt16LE=function(r,e){r=r>>>0,e||x(r,2,this.length);var i=this[r]|this[r+1]<<8;return i&32768?i|4294901760:i};a.prototype.readInt16BE=function(r,e){r=r>>>0,e||x(r,2,this.length);var i=this[r+1]|this[r]<<8;return i&32768?i|4294901760:i};a.prototype.readInt32LE=function(r,e){return r=r>>>0,e||x(r,4,this.length),this[r]|this[r+1]<<8|this[r+2]<<16|this[r+3]<<24};a.prototype.readInt32BE=function(r,e){return r=r>>>0,e||x(r,4,this.length),this[r]<<24|this[r+1]<<16|this[r+2]<<8|this[r+3]};a.prototype.readFloatLE=function(r,e){return r=r>>>0,e||x(r,4,this.length),L.read(this,r,!0,23,4)};a.prototype.readFloatBE=function(r,e){return r=r>>>0,e||x(r,4,this.length),L.read(this,r,!1,23,4)};a.prototype.readDoubleLE=function(r,e){return r=r>>>0,e||x(r,8,this.length),L.read(this,r,!0,52,8)};a.prototype.readDoubleBE=function(r,e){return r=r>>>0,e||x(r,8,this.length),L.read(this,r,!1,52,8)};function w(t,r,e,i,n,o){if(!a.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(r>n||r<o)throw new RangeError('"value" argument is out of bounds');if(e+i>t.length)throw new RangeError("Index out of range")}a.prototype.writeUintLE=a.prototype.writeUIntLE=function(r,e,i,n){if(r=+r,e=e>>>0,i=i>>>0,!n){var o=Math.pow(2,8*i)-1;w(this,r,e,i,o,0)}var u=1,f=0;for(this[e]=r&255;++f<i&&(u*=256);)this[e+f]=r/u&255;return e+i};a.prototype.writeUintBE=a.prototype.writeUIntBE=function(r,e,i,n){if(r=+r,e=e>>>0,i=i>>>0,!n){var o=Math.pow(2,8*i)-1;w(this,r,e,i,o,0)}var u=i-1,f=1;for(this[e+u]=r&255;--u>=0&&(f*=256);)this[e+u]=r/f&255;return e+i};a.prototype.writeUint8=a.prototype.writeUInt8=function(r,e,i){return r=+r,e=e>>>0,i||w(this,r,e,1,255,0),this[e]=r&255,e+1};a.prototype.writeUint16LE=a.prototype.writeUInt16LE=function(r,e,i){return r=+r,e=e>>>0,i||w(this,r,e,2,65535,0),this[e]=r&255,this[e+1]=r>>>8,e+2};a.prototype.writeUint16BE=a.prototype.writeUInt16BE=function(r,e,i){return r=+r,e=e>>>0,i||w(this,r,e,2,65535,0),this[e]=r>>>8,this[e+1]=r&255,e+2};a.prototype.writeUint32LE=a.prototype.writeUInt32LE=function(r,e,i){return r=+r,e=e>>>0,i||w(this,r,e,4,4294967295,0),this[e+3]=r>>>24,this[e+2]=r>>>16,this[e+1]=r>>>8,this[e]=r&255,e+4};a.prototype.writeUint32BE=a.prototype.writeUInt32BE=function(r,e,i){return r=+r,e=e>>>0,i||w(this,r,e,4,4294967295,0),this[e]=r>>>24,this[e+1]=r>>>16,this[e+2]=r>>>8,this[e+3]=r&255,e+4};a.prototype.writeIntLE=function(r,e,i,n){if(r=+r,e=e>>>0,!n){var o=Math.pow(2,8*i-1);w(this,r,e,i,o-1,-o)}var u=0,f=1,h=0;for(this[e]=r&255;++u<i&&(f*=256);)r<0&&h===0&&this[e+u-1]!==0&&(h=1),this[e+u]=(r/f>>0)-h&255;return e+i};a.prototype.writeIntBE=function(r,e,i,n){if(r=+r,e=e>>>0,!n){var o=Math.pow(2,8*i-1);w(this,r,e,i,o-1,-o)}var u=i-1,f=1,h=0;for(this[e+u]=r&255;--u>=0&&(f*=256);)r<0&&h===0&&this[e+u+1]!==0&&(h=1),this[e+u]=(r/f>>0)-h&255;return e+i};a.prototype.writeInt8=function(r,e,i){return r=+r,e=e>>>0,i||w(this,r,e,1,127,-128),r<0&&(r=255+r+1),this[e]=r&255,e+1};a.prototype.writeInt16LE=function(r,e,i){return r=+r,e=e>>>0,i||w(this,r,e,2,32767,-32768),this[e]=r&255,this[e+1]=r>>>8,e+2};a.prototype.writeInt16BE=function(r,e,i){return r=+r,e=e>>>0,i||w(this,r,e,2,32767,-32768),this[e]=r>>>8,this[e+1]=r&255,e+2};a.prototype.writeInt32LE=function(r,e,i){return r=+r,e=e>>>0,i||w(this,r,e,4,2147483647,-2147483648),this[e]=r&255,this[e+1]=r>>>8,this[e+2]=r>>>16,this[e+3]=r>>>24,e+4};a.prototype.writeInt32BE=function(r,e,i){return r=+r,e=e>>>0,i||w(this,r,e,4,2147483647,-2147483648),r<0&&(r=4294967295+r+1),this[e]=r>>>24,this[e+1]=r>>>16,this[e+2]=r>>>8,this[e+3]=r&255,e+4};function xr(t,r,e,i,n,o){if(e+i>t.length)throw new RangeError("Index out of range");if(e<0)throw new RangeError("Index out of range")}function wr(t,r,e,i,n){return r=+r,e=e>>>0,n||xr(t,r,e,4,34028234663852886e22,-34028234663852886e22),L.write(t,r,e,i,23,4),e+4}a.prototype.writeFloatLE=function(r,e,i){return wr(this,r,e,!0,i)};a.prototype.writeFloatBE=function(r,e,i){return wr(this,r,e,!1,i)};function yr(t,r,e,i,n){return r=+r,e=e>>>0,n||xr(t,r,e,8,17976931348623157e292,-17976931348623157e292),L.write(t,r,e,i,52,8),e+8}a.prototype.writeDoubleLE=function(r,e,i){return yr(this,r,e,!0,i)};a.prototype.writeDoubleBE=function(r,e,i){return yr(this,r,e,!1,i)};a.prototype.copy=function(r,e,i,n){if(!a.isBuffer(r))throw new TypeError("argument should be a Buffer");if(i||(i=0),!n&&n!==0&&(n=this.length),e>=r.length&&(e=r.length),e||(e=0),n>0&&n<i&&(n=i),n===i||r.length===0||this.length===0)return 0;if(e<0)throw new RangeError("targetStart out of bounds");if(i<0||i>=this.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),r.length-e<n-i&&(n=r.length-e+i);var o=n-i;return this===r&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(e,i,n):Uint8Array.prototype.set.call(r,this.subarray(i,n),e),o};a.prototype.fill=function(r,e,i,n){if(typeof r=="string"){if(typeof e=="string"?(n=e,e=0,i=this.length):typeof i=="string"&&(n=i,i=this.length),n!==void 0&&typeof n!="string")throw new TypeError("encoding must be a string");if(typeof n=="string"&&!a.isEncoding(n))throw new TypeError("Unknown encoding: "+n);if(r.length===1){var o=r.charCodeAt(0);(n==="utf8"&&o<128||n==="latin1")&&(r=o)}}else typeof r=="number"?r=r&255:typeof r=="boolean"&&(r=Number(r));if(e<0||this.length<e||this.length<i)throw new RangeError("Out of range index");if(i<=e)return this;e=e>>>0,i=i===void 0?this.length:i>>>0,r||(r=0);var u;if(typeof r=="number")for(u=e;u<i;++u)this[u]=r;else{var f=a.isBuffer(r)?r:a.from(r,n),h=f.length;if(h===0)throw new TypeError('The value "'+r+'" is invalid for argument "value"');for(u=0;u<i-e;++u)this[u+e]=f[u%h]}return this};var ne=/[^+/0-9A-Za-z-_]/g;function oe(t){if(t=t.split("=")[0],t=t.trim().replace(ne,""),t.length<2)return"";for(;t.length%4!==0;)t=t+"=";return t}function Z(t,r){r=r||1/0;for(var e,i=t.length,n=null,o=[],u=0;u<i;++u){if(e=t.charCodeAt(u),e>55295&&e<57344){if(!n){if(e>56319){(r-=3)>-1&&o.push(239,191,189);continue}else if(u+1===i){(r-=3)>-1&&o.push(239,191,189);continue}n=e;continue}if(e<56320){(r-=3)>-1&&o.push(239,191,189),n=e;continue}e=(n-55296<<10|e-56320)+65536}else n&&(r-=3)>-1&&o.push(239,191,189);if(n=null,e<128){if((r-=1)<0)break;o.push(e)}else if(e<2048){if((r-=2)<0)break;o.push(e>>6|192,e&63|128)}else if(e<65536){if((r-=3)<0)break;o.push(e>>12|224,e>>6&63|128,e&63|128)}else if(e<1114112){if((r-=4)<0)break;o.push(e>>18|240,e>>12&63|128,e>>6&63|128,e&63|128)}else throw new Error("Invalid code point")}return o}function ue(t){for(var r=[],e=0;e<t.length;++e)r.push(t.charCodeAt(e)&255);return r}function ae(t,r){for(var e,i,n,o=[],u=0;u<t.length&&!((r-=2)<0);++u)e=t.charCodeAt(u),i=e>>8,n=e%256,o.push(n),o.push(i);return o}function Fr(t){return z.toByteArray(oe(t))}function Y(t,r,e,i){for(var n=0;n<i&&!(n+e>=r.length||n>=t.length);++n)r[n+e]=t[n];return n}function A(t,r){return t instanceof r||t!=null&&t.constructor!=null&&t.constructor.name!=null&&t.constructor.name===r.name}function j(t){return t!==t}var fe=function(){for(var t="0123456789abcdef",r=new Array(256),e=0;e<16;++e)for(var i=e*16,n=0;n<16;++n)r[i+n]=t[e]+t[n];return r}()});var Tr=G((Fe,Br)=>{F();var s=Br.exports={},B,T;function V(){throw new Error("setTimeout has not been defined")}function P(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?B=setTimeout:B=V}catch(t){B=V}try{typeof clearTimeout=="function"?T=clearTimeout:T=P}catch(t){T=P}})();function Er(t){if(B===setTimeout)return setTimeout(t,0);if((B===V||!B)&&setTimeout)return B=setTimeout,setTimeout(t,0);try{return B(t,0)}catch(r){try{return B.call(null,t,0)}catch(e){return B.call(this,t,0)}}}function he(t){if(T===clearTimeout)return clearTimeout(t);if((T===P||!T)&&clearTimeout)return T=clearTimeout,clearTimeout(t);try{return T(t)}catch(r){try{return T.call(null,t)}catch(e){return T.call(this,t)}}}var U=[],k=!1,R,q=-1;function pe(){!k||!R||(k=!1,R.length?U=R.concat(U):q=-1,U.length&&mr())}function mr(){if(!k){var t=Er(pe);k=!0;for(var r=U.length;r;){for(R=U,U=[];++q<r;)R&&R[q].run();q=-1,r=U.length}R=null,k=!1,he(t)}}s.nextTick=function(t){var r=new Array(arguments.length-1);if(arguments.length>1)for(var e=1;e<arguments.length;e++)r[e-1]=arguments[e];U.push(new Ar(t,r)),U.length===1&&!k&&Er(mr)};function Ar(t,r){this.fun=t,this.array=r}Ar.prototype.run=function(){this.fun.apply(null,this.array)};s.title="browser";s.browser=!0;s.env={};s.argv=[];s.version="";s.versions={};function v(){}s.on=v;s.addListener=v;s.once=v;s.off=v;s.removeListener=v;s.removeAllListeners=v;s.emit=v;s.prependListener=v;s.prependOnceListener=v;s.listeners=function(t){return[]};s.binding=function(t){throw new Error("process.binding is not supported")};s.cwd=function(){return"/"};s.chdir=function(t){throw new Error("process.chdir is not supported")};s.umask=function(){return 0}});var N,C,ge,F=Sr(()=>{N=er(gr()),C=er(Tr()),ge=function(t){function r(){var i=this||self;return delete t.prototype.__magic__,i}if(typeof globalThis=="object")return globalThis;if(this)return r();t.defineProperty(t.prototype,"__magic__",{configurable:!0,get:r});var e=__magic__;return e}(Object)});var le={};Nr(le,{getTransactionStatusText:()=>ce});module.exports=Cr(le);F();F();var ce=t=>{switch(!0){case t.pendingResults:return"Pending (Smart Contract Execution)";case t.status==="reward-reverted":return"fail";default:return t.status.toString()}};0&&(module.exports={getTransactionStatusText});
|
|
1
|
+
"use strict";var Ur=Object.create;var b=Object.defineProperty;var vr=Object.getOwnPropertyDescriptor;var dr=Object.getOwnPropertyNames;var Rr=Object.getPrototypeOf,_r=Object.prototype.hasOwnProperty;var Sr=(t,r)=>()=>(t&&(r=t(t=0)),r);var G=(t,r)=>()=>(r||t((r={exports:{}}).exports,r),r.exports),Cr=(t,r)=>{for(var e in r)b(t,e,{get:r[e],enumerable:!0})},rr=(t,r,e,i)=>{if(r&&typeof r=="object"||typeof r=="function")for(let n of dr(r))!_r.call(t,n)&&n!==e&&b(t,n,{get:()=>r[n],enumerable:!(i=vr(r,n))||i.enumerable});return t};var er=(t,r,e)=>(e=t!=null?Ur(Rr(t)):{},rr(r||!t||!t.__esModule?b(e,"default",{value:t,enumerable:!0}):e,t)),Nr=t=>rr(b({},"__esModule",{value:!0}),t);var nr=G(O=>{"use strict";F();O.byteLength=Dr;O.toByteArray=Mr;O.fromByteArray=Or;var m=[],E=[],Lr=typeof Uint8Array!="undefined"?Uint8Array:Array,H="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(d=0,tr=H.length;d<tr;++d)m[d]=H[d],E[H.charCodeAt(d)]=d;var d,tr;E["-".charCodeAt(0)]=62;E["_".charCodeAt(0)]=63;function ir(t){var r=t.length;if(r%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var e=t.indexOf("=");e===-1&&(e=r);var i=e===r?0:4-e%4;return[e,i]}function Dr(t){var r=ir(t),e=r[0],i=r[1];return(e+i)*3/4-i}function kr(t,r,e){return(r+e)*3/4-e}function Mr(t){var r,e=ir(t),i=e[0],n=e[1],o=new Lr(kr(t,i,n)),u=0,f=n>0?i-4:i,h;for(h=0;h<f;h+=4)r=E[t.charCodeAt(h)]<<18|E[t.charCodeAt(h+1)]<<12|E[t.charCodeAt(h+2)]<<6|E[t.charCodeAt(h+3)],o[u++]=r>>16&255,o[u++]=r>>8&255,o[u++]=r&255;return n===2&&(r=E[t.charCodeAt(h)]<<2|E[t.charCodeAt(h+1)]>>4,o[u++]=r&255),n===1&&(r=E[t.charCodeAt(h)]<<10|E[t.charCodeAt(h+1)]<<4|E[t.charCodeAt(h+2)]>>2,o[u++]=r>>8&255,o[u++]=r&255),o}function br(t){return m[t>>18&63]+m[t>>12&63]+m[t>>6&63]+m[t&63]}function Gr(t,r,e){for(var i,n=[],o=r;o<e;o+=3)i=(t[o]<<16&16711680)+(t[o+1]<<8&65280)+(t[o+2]&255),n.push(br(i));return n.join("")}function Or(t){for(var r,e=t.length,i=e%3,n=[],o=16383,u=0,f=e-i;u<f;u+=o)n.push(Gr(t,u,u+o>f?f:u+o));return i===1?(r=t[e-1],n.push(m[r>>2]+m[r<<4&63]+"==")):i===2&&(r=(t[e-2]<<8)+t[e-1],n.push(m[r>>10]+m[r>>4&63]+m[r<<2&63]+"=")),n.join("")}});var or=G(X=>{F();X.read=function(t,r,e,i,n){var o,u,f=n*8-i-1,h=(1<<f)-1,c=h>>1,l=-7,p=e?n-1:0,g=e?-1:1,y=t[r+p];for(p+=g,o=y&(1<<-l)-1,y>>=-l,l+=f;l>0;o=o*256+t[r+p],p+=g,l-=8);for(u=o&(1<<-l)-1,o>>=-l,l+=i;l>0;u=u*256+t[r+p],p+=g,l-=8);if(o===0)o=1-c;else{if(o===h)return u?NaN:(y?-1:1)*(1/0);u=u+Math.pow(2,i),o=o-c}return(y?-1:1)*u*Math.pow(2,o-i)};X.write=function(t,r,e,i,n,o){var u,f,h,c=o*8-n-1,l=(1<<c)-1,p=l>>1,g=n===23?Math.pow(2,-24)-Math.pow(2,-77):0,y=i?0:o-1,S=i?1:-1,Ir=r<0||r===0&&1/r<0?1:0;for(r=Math.abs(r),isNaN(r)||r===1/0?(f=isNaN(r)?1:0,u=l):(u=Math.floor(Math.log(r)/Math.LN2),r*(h=Math.pow(2,-u))<1&&(u--,h*=2),u+p>=1?r+=g/h:r+=g*Math.pow(2,1-p),r*h>=2&&(u++,h/=2),u+p>=l?(f=0,u=l):u+p>=1?(f=(r*h-1)*Math.pow(2,n),u=u+p):(f=r*Math.pow(2,p-1)*Math.pow(2,n),u=0));n>=8;t[e+y]=f&255,y+=S,f/=256,n-=8);for(u=u<<n|f,c+=n;c>0;t[e+y]=u&255,y+=S,u/=256,c-=8);t[e+y-S]|=Ir*128}});var Er=G(D=>{"use strict";F();var z=nr(),L=or(),ur=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;D.Buffer=a;D.SlowBuffer=zr;D.INSPECT_MAX_BYTES=50;var Q=2147483647;D.kMaxLength=Q;a.TYPED_ARRAY_SUPPORT=Qr();!a.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 Qr(){try{var t=new Uint8Array(1),r={foo:function(){return 42}};return Object.setPrototypeOf(r,Uint8Array.prototype),Object.setPrototypeOf(t,r),t.foo()===42}catch(e){return!1}}Object.defineProperty(a.prototype,"parent",{enumerable:!0,get:function(){if(!!a.isBuffer(this))return this.buffer}});Object.defineProperty(a.prototype,"offset",{enumerable:!0,get:function(){if(!!a.isBuffer(this))return this.byteOffset}});function I(t){if(t>Q)throw new RangeError('The value "'+t+'" is invalid for option "size"');var r=new Uint8Array(t);return Object.setPrototypeOf(r,a.prototype),r}function a(t,r,e){if(typeof t=="number"){if(typeof r=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return $(t)}return hr(t,r,e)}a.poolSize=8192;function hr(t,r,e){if(typeof t=="string")return qr(t,r);if(ArrayBuffer.isView(t))return Hr(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(A(t,ArrayBuffer)||t&&A(t.buffer,ArrayBuffer)||typeof SharedArrayBuffer!="undefined"&&(A(t,SharedArrayBuffer)||t&&A(t.buffer,SharedArrayBuffer)))return K(t,r,e);if(typeof t=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var i=t.valueOf&&t.valueOf();if(i!=null&&i!==t)return a.from(i,r,e);var n=Xr(t);if(n)return n;if(typeof Symbol!="undefined"&&Symbol.toPrimitive!=null&&typeof t[Symbol.toPrimitive]=="function")return a.from(t[Symbol.toPrimitive]("string"),r,e);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t)}a.from=function(t,r,e){return hr(t,r,e)};Object.setPrototypeOf(a.prototype,Uint8Array.prototype);Object.setPrototypeOf(a,Uint8Array);function pr(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 Yr(t,r,e){return pr(t),t<=0?I(t):r!==void 0?typeof e=="string"?I(t).fill(r,e):I(t).fill(r):I(t)}a.alloc=function(t,r,e){return Yr(t,r,e)};function $(t){return pr(t),I(t<0?0:W(t)|0)}a.allocUnsafe=function(t){return $(t)};a.allocUnsafeSlow=function(t){return $(t)};function qr(t,r){if((typeof r!="string"||r==="")&&(r="utf8"),!a.isEncoding(r))throw new TypeError("Unknown encoding: "+r);var e=cr(t,r)|0,i=I(e),n=i.write(t,r);return n!==e&&(i=i.slice(0,n)),i}function J(t){for(var r=t.length<0?0:W(t.length)|0,e=I(r),i=0;i<r;i+=1)e[i]=t[i]&255;return e}function Hr(t){if(A(t,Uint8Array)){var r=new Uint8Array(t);return K(r.buffer,r.byteOffset,r.byteLength)}return J(t)}function K(t,r,e){if(r<0||t.byteLength<r)throw new RangeError('"offset" is outside of buffer bounds');if(t.byteLength<r+(e||0))throw new RangeError('"length" is outside of buffer bounds');var i;return r===void 0&&e===void 0?i=new Uint8Array(t):e===void 0?i=new Uint8Array(t,r):i=new Uint8Array(t,r,e),Object.setPrototypeOf(i,a.prototype),i}function Xr(t){if(a.isBuffer(t)){var r=W(t.length)|0,e=I(r);return e.length===0||t.copy(e,0,0,r),e}if(t.length!==void 0)return typeof t.length!="number"||j(t.length)?I(0):J(t);if(t.type==="Buffer"&&Array.isArray(t.data))return J(t.data)}function W(t){if(t>=Q)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+Q.toString(16)+" bytes");return t|0}function zr(t){return+t!=t&&(t=0),a.alloc(+t)}a.isBuffer=function(r){return r!=null&&r._isBuffer===!0&&r!==a.prototype};a.compare=function(r,e){if(A(r,Uint8Array)&&(r=a.from(r,r.offset,r.byteLength)),A(e,Uint8Array)&&(e=a.from(e,e.offset,e.byteLength)),!a.isBuffer(r)||!a.isBuffer(e))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(r===e)return 0;for(var i=r.length,n=e.length,o=0,u=Math.min(i,n);o<u;++o)if(r[o]!==e[o]){i=r[o],n=e[o];break}return i<n?-1:n<i?1:0};a.isEncoding=function(r){switch(String(r).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}};a.concat=function(r,e){if(!Array.isArray(r))throw new TypeError('"list" argument must be an Array of Buffers');if(r.length===0)return a.alloc(0);var i;if(e===void 0)for(e=0,i=0;i<r.length;++i)e+=r[i].length;var n=a.allocUnsafe(e),o=0;for(i=0;i<r.length;++i){var u=r[i];if(A(u,Uint8Array))o+u.length>n.length?a.from(u).copy(n,o):Uint8Array.prototype.set.call(n,u,o);else if(a.isBuffer(u))u.copy(n,o);else throw new TypeError('"list" argument must be an Array of Buffers');o+=u.length}return n};function cr(t,r){if(a.isBuffer(t))return t.length;if(ArrayBuffer.isView(t)||A(t,ArrayBuffer))return t.byteLength;if(typeof t!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof t);var e=t.length,i=arguments.length>2&&arguments[2]===!0;if(!i&&e===0)return 0;for(var n=!1;;)switch(r){case"ascii":case"latin1":case"binary":return e;case"utf8":case"utf-8":return Z(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return e*2;case"hex":return e>>>1;case"base64":return Fr(t).length;default:if(n)return i?-1:Z(t).length;r=(""+r).toLowerCase(),n=!0}}a.byteLength=cr;function Jr(t,r,e){var i=!1;if((r===void 0||r<0)&&(r=0),r>this.length||((e===void 0||e>this.length)&&(e=this.length),e<=0)||(e>>>=0,r>>>=0,e<=r))return"";for(t||(t="utf8");;)switch(t){case"hex":return te(this,r,e);case"utf8":case"utf-8":return sr(this,r,e);case"ascii":return re(this,r,e);case"latin1":case"binary":return ee(this,r,e);case"base64":return Vr(this,r,e);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return ie(this,r,e);default:if(i)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),i=!0}}a.prototype._isBuffer=!0;function R(t,r,e){var i=t[r];t[r]=t[e],t[e]=i}a.prototype.swap16=function(){var r=this.length;if(r%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var e=0;e<r;e+=2)R(this,e,e+1);return this};a.prototype.swap32=function(){var r=this.length;if(r%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var e=0;e<r;e+=4)R(this,e,e+3),R(this,e+1,e+2);return this};a.prototype.swap64=function(){var r=this.length;if(r%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var e=0;e<r;e+=8)R(this,e,e+7),R(this,e+1,e+6),R(this,e+2,e+5),R(this,e+3,e+4);return this};a.prototype.toString=function(){var r=this.length;return r===0?"":arguments.length===0?sr(this,0,r):Jr.apply(this,arguments)};a.prototype.toLocaleString=a.prototype.toString;a.prototype.equals=function(r){if(!a.isBuffer(r))throw new TypeError("Argument must be a Buffer");return this===r?!0:a.compare(this,r)===0};a.prototype.inspect=function(){var r="",e=D.INSPECT_MAX_BYTES;return r=this.toString("hex",0,e).replace(/(.{2})/g,"$1 ").trim(),this.length>e&&(r+=" ... "),"<Buffer "+r+">"};ur&&(a.prototype[ur]=a.prototype.inspect);a.prototype.compare=function(r,e,i,n,o){if(A(r,Uint8Array)&&(r=a.from(r,r.offset,r.byteLength)),!a.isBuffer(r))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof r);if(e===void 0&&(e=0),i===void 0&&(i=r?r.length:0),n===void 0&&(n=0),o===void 0&&(o=this.length),e<0||i>r.length||n<0||o>this.length)throw new RangeError("out of range index");if(n>=o&&e>=i)return 0;if(n>=o)return-1;if(e>=i)return 1;if(e>>>=0,i>>>=0,n>>>=0,o>>>=0,this===r)return 0;for(var u=o-n,f=i-e,h=Math.min(u,f),c=this.slice(n,o),l=r.slice(e,i),p=0;p<h;++p)if(c[p]!==l[p]){u=c[p],f=l[p];break}return u<f?-1:f<u?1:0};function lr(t,r,e,i,n){if(t.length===0)return-1;if(typeof e=="string"?(i=e,e=0):e>2147483647?e=2147483647:e<-2147483648&&(e=-2147483648),e=+e,j(e)&&(e=n?0:t.length-1),e<0&&(e=t.length+e),e>=t.length){if(n)return-1;e=t.length-1}else if(e<0)if(n)e=0;else return-1;if(typeof r=="string"&&(r=a.from(r,i)),a.isBuffer(r))return r.length===0?-1:ar(t,r,e,i,n);if(typeof r=="number")return r=r&255,typeof Uint8Array.prototype.indexOf=="function"?n?Uint8Array.prototype.indexOf.call(t,r,e):Uint8Array.prototype.lastIndexOf.call(t,r,e):ar(t,[r],e,i,n);throw new TypeError("val must be string, number or Buffer")}function ar(t,r,e,i,n){var o=1,u=t.length,f=r.length;if(i!==void 0&&(i=String(i).toLowerCase(),i==="ucs2"||i==="ucs-2"||i==="utf16le"||i==="utf-16le")){if(t.length<2||r.length<2)return-1;o=2,u/=2,f/=2,e/=2}function h(y,S){return o===1?y[S]:y.readUInt16BE(S*o)}var c;if(n){var l=-1;for(c=e;c<u;c++)if(h(t,c)===h(r,l===-1?0:c-l)){if(l===-1&&(l=c),c-l+1===f)return l*o}else l!==-1&&(c-=c-l),l=-1}else for(e+f>u&&(e=u-f),c=e;c>=0;c--){for(var p=!0,g=0;g<f;g++)if(h(t,c+g)!==h(r,g)){p=!1;break}if(p)return c}return-1}a.prototype.includes=function(r,e,i){return this.indexOf(r,e,i)!==-1};a.prototype.indexOf=function(r,e,i){return lr(this,r,e,i,!0)};a.prototype.lastIndexOf=function(r,e,i){return lr(this,r,e,i,!1)};function Kr(t,r,e,i){e=Number(e)||0;var n=t.length-e;i?(i=Number(i),i>n&&(i=n)):i=n;var o=r.length;i>o/2&&(i=o/2);for(var u=0;u<i;++u){var f=parseInt(r.substr(u*2,2),16);if(j(f))return u;t[e+u]=f}return u}function Zr(t,r,e,i){return Y(Z(r,t.length-e),t,e,i)}function $r(t,r,e,i){return Y(ue(r),t,e,i)}function Wr(t,r,e,i){return Y(Fr(r),t,e,i)}function jr(t,r,e,i){return Y(ae(r,t.length-e),t,e,i)}a.prototype.write=function(r,e,i,n){if(e===void 0)n="utf8",i=this.length,e=0;else if(i===void 0&&typeof e=="string")n=e,i=this.length,e=0;else if(isFinite(e))e=e>>>0,isFinite(i)?(i=i>>>0,n===void 0&&(n="utf8")):(n=i,i=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var o=this.length-e;if((i===void 0||i>o)&&(i=o),r.length>0&&(i<0||e<0)||e>this.length)throw new RangeError("Attempt to write outside buffer bounds");n||(n="utf8");for(var u=!1;;)switch(n){case"hex":return Kr(this,r,e,i);case"utf8":case"utf-8":return Zr(this,r,e,i);case"ascii":case"latin1":case"binary":return $r(this,r,e,i);case"base64":return Wr(this,r,e,i);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return jr(this,r,e,i);default:if(u)throw new TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),u=!0}};a.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function Vr(t,r,e){return r===0&&e===t.length?z.fromByteArray(t):z.fromByteArray(t.slice(r,e))}function sr(t,r,e){e=Math.min(t.length,e);for(var i=[],n=r;n<e;){var o=t[n],u=null,f=o>239?4:o>223?3:o>191?2:1;if(n+f<=e){var h,c,l,p;switch(f){case 1:o<128&&(u=o);break;case 2:h=t[n+1],(h&192)===128&&(p=(o&31)<<6|h&63,p>127&&(u=p));break;case 3:h=t[n+1],c=t[n+2],(h&192)===128&&(c&192)===128&&(p=(o&15)<<12|(h&63)<<6|c&63,p>2047&&(p<55296||p>57343)&&(u=p));break;case 4:h=t[n+1],c=t[n+2],l=t[n+3],(h&192)===128&&(c&192)===128&&(l&192)===128&&(p=(o&15)<<18|(h&63)<<12|(c&63)<<6|l&63,p>65535&&p<1114112&&(u=p))}}u===null?(u=65533,f=1):u>65535&&(u-=65536,i.push(u>>>10&1023|55296),u=56320|u&1023),i.push(u),n+=f}return Pr(i)}var fr=4096;function Pr(t){var r=t.length;if(r<=fr)return String.fromCharCode.apply(String,t);for(var e="",i=0;i<r;)e+=String.fromCharCode.apply(String,t.slice(i,i+=fr));return e}function re(t,r,e){var i="";e=Math.min(t.length,e);for(var n=r;n<e;++n)i+=String.fromCharCode(t[n]&127);return i}function ee(t,r,e){var i="";e=Math.min(t.length,e);for(var n=r;n<e;++n)i+=String.fromCharCode(t[n]);return i}function te(t,r,e){var i=t.length;(!r||r<0)&&(r=0),(!e||e<0||e>i)&&(e=i);for(var n="",o=r;o<e;++o)n+=fe[t[o]];return n}function ie(t,r,e){for(var i=t.slice(r,e),n="",o=0;o<i.length-1;o+=2)n+=String.fromCharCode(i[o]+i[o+1]*256);return n}a.prototype.slice=function(r,e){var i=this.length;r=~~r,e=e===void 0?i:~~e,r<0?(r+=i,r<0&&(r=0)):r>i&&(r=i),e<0?(e+=i,e<0&&(e=0)):e>i&&(e=i),e<r&&(e=r);var n=this.subarray(r,e);return Object.setPrototypeOf(n,a.prototype),n};function x(t,r,e){if(t%1!==0||t<0)throw new RangeError("offset is not uint");if(t+r>e)throw new RangeError("Trying to access beyond buffer length")}a.prototype.readUintLE=a.prototype.readUIntLE=function(r,e,i){r=r>>>0,e=e>>>0,i||x(r,e,this.length);for(var n=this[r],o=1,u=0;++u<e&&(o*=256);)n+=this[r+u]*o;return n};a.prototype.readUintBE=a.prototype.readUIntBE=function(r,e,i){r=r>>>0,e=e>>>0,i||x(r,e,this.length);for(var n=this[r+--e],o=1;e>0&&(o*=256);)n+=this[r+--e]*o;return n};a.prototype.readUint8=a.prototype.readUInt8=function(r,e){return r=r>>>0,e||x(r,1,this.length),this[r]};a.prototype.readUint16LE=a.prototype.readUInt16LE=function(r,e){return r=r>>>0,e||x(r,2,this.length),this[r]|this[r+1]<<8};a.prototype.readUint16BE=a.prototype.readUInt16BE=function(r,e){return r=r>>>0,e||x(r,2,this.length),this[r]<<8|this[r+1]};a.prototype.readUint32LE=a.prototype.readUInt32LE=function(r,e){return r=r>>>0,e||x(r,4,this.length),(this[r]|this[r+1]<<8|this[r+2]<<16)+this[r+3]*16777216};a.prototype.readUint32BE=a.prototype.readUInt32BE=function(r,e){return r=r>>>0,e||x(r,4,this.length),this[r]*16777216+(this[r+1]<<16|this[r+2]<<8|this[r+3])};a.prototype.readIntLE=function(r,e,i){r=r>>>0,e=e>>>0,i||x(r,e,this.length);for(var n=this[r],o=1,u=0;++u<e&&(o*=256);)n+=this[r+u]*o;return o*=128,n>=o&&(n-=Math.pow(2,8*e)),n};a.prototype.readIntBE=function(r,e,i){r=r>>>0,e=e>>>0,i||x(r,e,this.length);for(var n=e,o=1,u=this[r+--n];n>0&&(o*=256);)u+=this[r+--n]*o;return o*=128,u>=o&&(u-=Math.pow(2,8*e)),u};a.prototype.readInt8=function(r,e){return r=r>>>0,e||x(r,1,this.length),this[r]&128?(255-this[r]+1)*-1:this[r]};a.prototype.readInt16LE=function(r,e){r=r>>>0,e||x(r,2,this.length);var i=this[r]|this[r+1]<<8;return i&32768?i|4294901760:i};a.prototype.readInt16BE=function(r,e){r=r>>>0,e||x(r,2,this.length);var i=this[r+1]|this[r]<<8;return i&32768?i|4294901760:i};a.prototype.readInt32LE=function(r,e){return r=r>>>0,e||x(r,4,this.length),this[r]|this[r+1]<<8|this[r+2]<<16|this[r+3]<<24};a.prototype.readInt32BE=function(r,e){return r=r>>>0,e||x(r,4,this.length),this[r]<<24|this[r+1]<<16|this[r+2]<<8|this[r+3]};a.prototype.readFloatLE=function(r,e){return r=r>>>0,e||x(r,4,this.length),L.read(this,r,!0,23,4)};a.prototype.readFloatBE=function(r,e){return r=r>>>0,e||x(r,4,this.length),L.read(this,r,!1,23,4)};a.prototype.readDoubleLE=function(r,e){return r=r>>>0,e||x(r,8,this.length),L.read(this,r,!0,52,8)};a.prototype.readDoubleBE=function(r,e){return r=r>>>0,e||x(r,8,this.length),L.read(this,r,!1,52,8)};function w(t,r,e,i,n,o){if(!a.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(r>n||r<o)throw new RangeError('"value" argument is out of bounds');if(e+i>t.length)throw new RangeError("Index out of range")}a.prototype.writeUintLE=a.prototype.writeUIntLE=function(r,e,i,n){if(r=+r,e=e>>>0,i=i>>>0,!n){var o=Math.pow(2,8*i)-1;w(this,r,e,i,o,0)}var u=1,f=0;for(this[e]=r&255;++f<i&&(u*=256);)this[e+f]=r/u&255;return e+i};a.prototype.writeUintBE=a.prototype.writeUIntBE=function(r,e,i,n){if(r=+r,e=e>>>0,i=i>>>0,!n){var o=Math.pow(2,8*i)-1;w(this,r,e,i,o,0)}var u=i-1,f=1;for(this[e+u]=r&255;--u>=0&&(f*=256);)this[e+u]=r/f&255;return e+i};a.prototype.writeUint8=a.prototype.writeUInt8=function(r,e,i){return r=+r,e=e>>>0,i||w(this,r,e,1,255,0),this[e]=r&255,e+1};a.prototype.writeUint16LE=a.prototype.writeUInt16LE=function(r,e,i){return r=+r,e=e>>>0,i||w(this,r,e,2,65535,0),this[e]=r&255,this[e+1]=r>>>8,e+2};a.prototype.writeUint16BE=a.prototype.writeUInt16BE=function(r,e,i){return r=+r,e=e>>>0,i||w(this,r,e,2,65535,0),this[e]=r>>>8,this[e+1]=r&255,e+2};a.prototype.writeUint32LE=a.prototype.writeUInt32LE=function(r,e,i){return r=+r,e=e>>>0,i||w(this,r,e,4,4294967295,0),this[e+3]=r>>>24,this[e+2]=r>>>16,this[e+1]=r>>>8,this[e]=r&255,e+4};a.prototype.writeUint32BE=a.prototype.writeUInt32BE=function(r,e,i){return r=+r,e=e>>>0,i||w(this,r,e,4,4294967295,0),this[e]=r>>>24,this[e+1]=r>>>16,this[e+2]=r>>>8,this[e+3]=r&255,e+4};a.prototype.writeIntLE=function(r,e,i,n){if(r=+r,e=e>>>0,!n){var o=Math.pow(2,8*i-1);w(this,r,e,i,o-1,-o)}var u=0,f=1,h=0;for(this[e]=r&255;++u<i&&(f*=256);)r<0&&h===0&&this[e+u-1]!==0&&(h=1),this[e+u]=(r/f>>0)-h&255;return e+i};a.prototype.writeIntBE=function(r,e,i,n){if(r=+r,e=e>>>0,!n){var o=Math.pow(2,8*i-1);w(this,r,e,i,o-1,-o)}var u=i-1,f=1,h=0;for(this[e+u]=r&255;--u>=0&&(f*=256);)r<0&&h===0&&this[e+u+1]!==0&&(h=1),this[e+u]=(r/f>>0)-h&255;return e+i};a.prototype.writeInt8=function(r,e,i){return r=+r,e=e>>>0,i||w(this,r,e,1,127,-128),r<0&&(r=255+r+1),this[e]=r&255,e+1};a.prototype.writeInt16LE=function(r,e,i){return r=+r,e=e>>>0,i||w(this,r,e,2,32767,-32768),this[e]=r&255,this[e+1]=r>>>8,e+2};a.prototype.writeInt16BE=function(r,e,i){return r=+r,e=e>>>0,i||w(this,r,e,2,32767,-32768),this[e]=r>>>8,this[e+1]=r&255,e+2};a.prototype.writeInt32LE=function(r,e,i){return r=+r,e=e>>>0,i||w(this,r,e,4,2147483647,-2147483648),this[e]=r&255,this[e+1]=r>>>8,this[e+2]=r>>>16,this[e+3]=r>>>24,e+4};a.prototype.writeInt32BE=function(r,e,i){return r=+r,e=e>>>0,i||w(this,r,e,4,2147483647,-2147483648),r<0&&(r=4294967295+r+1),this[e]=r>>>24,this[e+1]=r>>>16,this[e+2]=r>>>8,this[e+3]=r&255,e+4};function xr(t,r,e,i,n,o){if(e+i>t.length)throw new RangeError("Index out of range");if(e<0)throw new RangeError("Index out of range")}function wr(t,r,e,i,n){return r=+r,e=e>>>0,n||xr(t,r,e,4,34028234663852886e22,-34028234663852886e22),L.write(t,r,e,i,23,4),e+4}a.prototype.writeFloatLE=function(r,e,i){return wr(this,r,e,!0,i)};a.prototype.writeFloatBE=function(r,e,i){return wr(this,r,e,!1,i)};function yr(t,r,e,i,n){return r=+r,e=e>>>0,n||xr(t,r,e,8,17976931348623157e292,-17976931348623157e292),L.write(t,r,e,i,52,8),e+8}a.prototype.writeDoubleLE=function(r,e,i){return yr(this,r,e,!0,i)};a.prototype.writeDoubleBE=function(r,e,i){return yr(this,r,e,!1,i)};a.prototype.copy=function(r,e,i,n){if(!a.isBuffer(r))throw new TypeError("argument should be a Buffer");if(i||(i=0),!n&&n!==0&&(n=this.length),e>=r.length&&(e=r.length),e||(e=0),n>0&&n<i&&(n=i),n===i||r.length===0||this.length===0)return 0;if(e<0)throw new RangeError("targetStart out of bounds");if(i<0||i>=this.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),r.length-e<n-i&&(n=r.length-e+i);var o=n-i;return this===r&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(e,i,n):Uint8Array.prototype.set.call(r,this.subarray(i,n),e),o};a.prototype.fill=function(r,e,i,n){if(typeof r=="string"){if(typeof e=="string"?(n=e,e=0,i=this.length):typeof i=="string"&&(n=i,i=this.length),n!==void 0&&typeof n!="string")throw new TypeError("encoding must be a string");if(typeof n=="string"&&!a.isEncoding(n))throw new TypeError("Unknown encoding: "+n);if(r.length===1){var o=r.charCodeAt(0);(n==="utf8"&&o<128||n==="latin1")&&(r=o)}}else typeof r=="number"?r=r&255:typeof r=="boolean"&&(r=Number(r));if(e<0||this.length<e||this.length<i)throw new RangeError("Out of range index");if(i<=e)return this;e=e>>>0,i=i===void 0?this.length:i>>>0,r||(r=0);var u;if(typeof r=="number")for(u=e;u<i;++u)this[u]=r;else{var f=a.isBuffer(r)?r:a.from(r,n),h=f.length;if(h===0)throw new TypeError('The value "'+r+'" is invalid for argument "value"');for(u=0;u<i-e;++u)this[u+e]=f[u%h]}return this};var ne=/[^+/0-9A-Za-z-_]/g;function oe(t){if(t=t.split("=")[0],t=t.trim().replace(ne,""),t.length<2)return"";for(;t.length%4!==0;)t=t+"=";return t}function Z(t,r){r=r||1/0;for(var e,i=t.length,n=null,o=[],u=0;u<i;++u){if(e=t.charCodeAt(u),e>55295&&e<57344){if(!n){if(e>56319){(r-=3)>-1&&o.push(239,191,189);continue}else if(u+1===i){(r-=3)>-1&&o.push(239,191,189);continue}n=e;continue}if(e<56320){(r-=3)>-1&&o.push(239,191,189),n=e;continue}e=(n-55296<<10|e-56320)+65536}else n&&(r-=3)>-1&&o.push(239,191,189);if(n=null,e<128){if((r-=1)<0)break;o.push(e)}else if(e<2048){if((r-=2)<0)break;o.push(e>>6|192,e&63|128)}else if(e<65536){if((r-=3)<0)break;o.push(e>>12|224,e>>6&63|128,e&63|128)}else if(e<1114112){if((r-=4)<0)break;o.push(e>>18|240,e>>12&63|128,e>>6&63|128,e&63|128)}else throw new Error("Invalid code point")}return o}function ue(t){for(var r=[],e=0;e<t.length;++e)r.push(t.charCodeAt(e)&255);return r}function ae(t,r){for(var e,i,n,o=[],u=0;u<t.length&&!((r-=2)<0);++u)e=t.charCodeAt(u),i=e>>8,n=e%256,o.push(n),o.push(i);return o}function Fr(t){return z.toByteArray(oe(t))}function Y(t,r,e,i){for(var n=0;n<i&&!(n+e>=r.length||n>=t.length);++n)r[n+e]=t[n];return n}function A(t,r){return t instanceof r||t!=null&&t.constructor!=null&&t.constructor.name!=null&&t.constructor.name===r.name}function j(t){return t!==t}var fe=function(){for(var t="0123456789abcdef",r=new Array(256),e=0;e<16;++e)for(var i=e*16,n=0;n<16;++n)r[i+n]=t[e]+t[n];return r}()});var Tr=G((Fe,Br)=>{F();var s=Br.exports={},B,T;function V(){throw new Error("setTimeout has not been defined")}function P(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?B=setTimeout:B=V}catch(t){B=V}try{typeof clearTimeout=="function"?T=clearTimeout:T=P}catch(t){T=P}})();function gr(t){if(B===setTimeout)return setTimeout(t,0);if((B===V||!B)&&setTimeout)return B=setTimeout,setTimeout(t,0);try{return B(t,0)}catch(r){try{return B.call(null,t,0)}catch(e){return B.call(this,t,0)}}}function he(t){if(T===clearTimeout)return clearTimeout(t);if((T===P||!T)&&clearTimeout)return T=clearTimeout,clearTimeout(t);try{return T(t)}catch(r){try{return T.call(null,t)}catch(e){return T.call(this,t)}}}var U=[],k=!1,_,q=-1;function pe(){!k||!_||(k=!1,_.length?U=_.concat(U):q=-1,U.length&&mr())}function mr(){if(!k){var t=gr(pe);k=!0;for(var r=U.length;r;){for(_=U,U=[];++q<r;)_&&_[q].run();q=-1,r=U.length}_=null,k=!1,he(t)}}s.nextTick=function(t){var r=new Array(arguments.length-1);if(arguments.length>1)for(var e=1;e<arguments.length;e++)r[e-1]=arguments[e];U.push(new Ar(t,r)),U.length===1&&!k&&gr(mr)};function Ar(t,r){this.fun=t,this.array=r}Ar.prototype.run=function(){this.fun.apply(null,this.array)};s.title="browser";s.browser=!0;s.env={};s.argv=[];s.version="";s.versions={};function v(){}s.on=v;s.addListener=v;s.once=v;s.off=v;s.removeListener=v;s.removeAllListeners=v;s.emit=v;s.prependListener=v;s.prependOnceListener=v;s.listeners=function(t){return[]};s.binding=function(t){throw new Error("process.binding is not supported")};s.cwd=function(){return"/"};s.chdir=function(t){throw new Error("process.chdir is not supported")};s.umask=function(){return 0}});var C,N,Ee,F=Sr(()=>{C=er(Er()),N=er(Tr()),Ee=function(t){function r(){var i=this||self;return delete t.prototype.__magic__,i}if(typeof globalThis=="object")return globalThis;if(this)return r();t.defineProperty(t.prototype,"__magic__",{configurable:!0,get:r});var e=__magic__;return e}(Object)});var le={};Cr(le,{getTransactionStatusText:()=>ce});module.exports=Nr(le);F();F();var ce=t=>{switch(!0){case t.pendingResults:return"Pending (Smart Contract Execution)";case t.status==="reward-reverted":return"fail";default:return t.status.toString()}};0&&(module.exports={getTransactionStatusText});
|
|
2
2
|
/*!
|
|
3
3
|
* The buffer module from node.js, for the browser.
|
|
4
4
|
*
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";var Zr=Object.create;var Q=Object.defineProperty,Xr=Object.defineProperties,Qr=Object.getOwnPropertyDescriptor,Jr=Object.getOwnPropertyDescriptors,et=Object.getOwnPropertyNames,Be=Object.getOwnPropertySymbols,rt=Object.getPrototypeOf,Me=Object.prototype.hasOwnProperty,tt=Object.prototype.propertyIsEnumerable;var Ue=(r,e,t)=>e in r?Q(r,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):r[e]=t,ge=(r,e)=>{for(var t in e||(e={}))Me.call(e,t)&&Ue(r,t,e[t]);if(Be)for(var t of Be(e))tt.call(e,t)&&Ue(r,t,e[t]);return r},fe=(r,e)=>Xr(r,Jr(e));var nt=(r,e)=>()=>(r&&(e=r(r=0)),e);var ie=(r,e)=>()=>(e||r((e={exports:{}}).exports,e),e.exports),it=(r,e)=>{for(var t in e)Q(r,t,{get:e[t],enumerable:!0})},$e=(r,e,t,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of et(e))!Me.call(r,i)&&i!==t&&Q(r,i,{get:()=>e[i],enumerable:!(n=Qr(e,i))||n.enumerable});return r};var E=(r,e,t)=>(t=r!=null?Zr(rt(r)):{},$e(e||!r||!r.__esModule?Q(t,"default",{value:r,enumerable:!0}):t,r)),ot=r=>$e(Q({},"__esModule",{value:!0}),r);var We=ie(oe=>{"use strict";s();oe.byteLength=st;oe.toByteArray=lt;oe.fromByteArray=dt;var I=[],v=[],at=typeof Uint8Array!="undefined"?Uint8Array:Array,he="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for($=0,Ge=he.length;$<Ge;++$)I[$]=he[$],v[he.charCodeAt($)]=$;var $,Ge;v["-".charCodeAt(0)]=62;v["_".charCodeAt(0)]=63;function Ve(r){var e=r.length;if(e%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var t=r.indexOf("=");t===-1&&(t=e);var n=t===e?0:4-t%4;return[t,n]}function st(r){var e=Ve(r),t=e[0],n=e[1];return(t+n)*3/4-n}function ct(r,e,t){return(e+t)*3/4-t}function lt(r){var e,t=Ve(r),n=t[0],i=t[1],o=new at(ct(r,n,i)),a=0,u=i>0?n-4:n,m;for(m=0;m<u;m+=4)e=v[r.charCodeAt(m)]<<18|v[r.charCodeAt(m+1)]<<12|v[r.charCodeAt(m+2)]<<6|v[r.charCodeAt(m+3)],o[a++]=e>>16&255,o[a++]=e>>8&255,o[a++]=e&255;return i===2&&(e=v[r.charCodeAt(m)]<<2|v[r.charCodeAt(m+1)]>>4,o[a++]=e&255),i===1&&(e=v[r.charCodeAt(m)]<<10|v[r.charCodeAt(m+1)]<<4|v[r.charCodeAt(m+2)]>>2,o[a++]=e>>8&255,o[a++]=e&255),o}function ut(r){return I[r>>18&63]+I[r>>12&63]+I[r>>6&63]+I[r&63]}function pt(r,e,t){for(var n,i=[],o=e;o<t;o+=3)n=(r[o]<<16&16711680)+(r[o+1]<<8&65280)+(r[o+2]&255),i.push(ut(n));return i.join("")}function dt(r){for(var e,t=r.length,n=t%3,i=[],o=16383,a=0,u=t-n;a<u;a+=o)i.push(pt(r,a,a+o>u?u:a+o));return n===1?(e=r[t-1],i.push(I[e>>2]+I[e<<4&63]+"==")):n===2&&(e=(r[t-2]<<8)+r[t-1],i.push(I[e>>10]+I[e>>4&63]+I[e<<2&63]+"=")),i.join("")}});var He=ie(ye=>{s();ye.read=function(r,e,t,n,i){var o,a,u=i*8-n-1,m=(1<<u)-1,g=m>>1,f=-7,h=t?i-1:0,y=t?-1:1,x=r[e+h];for(h+=y,o=x&(1<<-f)-1,x>>=-f,f+=u;f>0;o=o*256+r[e+h],h+=y,f-=8);for(a=o&(1<<-f)-1,o>>=-f,f+=n;f>0;a=a*256+r[e+h],h+=y,f-=8);if(o===0)o=1-g;else{if(o===m)return a?NaN:(x?-1:1)*(1/0);a=a+Math.pow(2,n),o=o-g}return(x?-1:1)*a*Math.pow(2,o-n)};ye.write=function(r,e,t,n,i,o){var a,u,m,g=o*8-i-1,f=(1<<g)-1,h=f>>1,y=i===23?Math.pow(2,-24)-Math.pow(2,-77):0,x=n?0:o-1,k=n?1:-1,q=e<0||e===0&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(u=isNaN(e)?1:0,a=f):(a=Math.floor(Math.log(e)/Math.LN2),e*(m=Math.pow(2,-a))<1&&(a--,m*=2),a+h>=1?e+=y/m:e+=y*Math.pow(2,1-h),e*m>=2&&(a++,m/=2),a+h>=f?(u=0,a=f):a+h>=1?(u=(e*m-1)*Math.pow(2,i),a=a+h):(u=e*Math.pow(2,h-1)*Math.pow(2,i),a=0));i>=8;r[t+x]=u&255,x+=k,u/=256,i-=8);for(a=a<<i|u,g+=i;g>0;r[t+x]=a&255,x+=k,a/=256,g-=8);r[t+x-k]|=q*128}});var nr=ie(j=>{"use strict";s();var Te=We(),z=He(),qe=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;j.Buffer=c;j.SlowBuffer=Tt;j.INSPECT_MAX_BYTES=50;var ae=2147483647;j.kMaxLength=ae;c.TYPED_ARRAY_SUPPORT=mt();!c.TYPED_ARRAY_SUPPORT&&typeof console!="undefined"&&typeof console.error=="function"&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function mt(){try{var r=new Uint8Array(1),e={foo:function(){return 42}};return Object.setPrototypeOf(e,Uint8Array.prototype),Object.setPrototypeOf(r,e),r.foo()===42}catch(t){return!1}}Object.defineProperty(c.prototype,"parent",{enumerable:!0,get:function(){if(!!c.isBuffer(this))return this.buffer}});Object.defineProperty(c.prototype,"offset",{enumerable:!0,get:function(){if(!!c.isBuffer(this))return this.byteOffset}});function L(r){if(r>ae)throw new RangeError('The value "'+r+'" is invalid for option "size"');var e=new Uint8Array(r);return Object.setPrototypeOf(e,c.prototype),e}function c(r,e,t){if(typeof r=="number"){if(typeof e=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return ve(r)}return Ke(r,e,t)}c.poolSize=8192;function Ke(r,e,t){if(typeof r=="string")return ft(r,e);if(ArrayBuffer.isView(r))return ht(r);if(r==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof r);if(A(r,ArrayBuffer)||r&&A(r.buffer,ArrayBuffer)||typeof SharedArrayBuffer!="undefined"&&(A(r,SharedArrayBuffer)||r&&A(r.buffer,SharedArrayBuffer)))return we(r,e,t);if(typeof r=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var n=r.valueOf&&r.valueOf();if(n!=null&&n!==r)return c.from(n,e,t);var i=yt(r);if(i)return i;if(typeof Symbol!="undefined"&&Symbol.toPrimitive!=null&&typeof r[Symbol.toPrimitive]=="function")return c.from(r[Symbol.toPrimitive]("string"),e,t);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof r)}c.from=function(r,e,t){return Ke(r,e,t)};Object.setPrototypeOf(c.prototype,Uint8Array.prototype);Object.setPrototypeOf(c,Uint8Array);function Ye(r){if(typeof r!="number")throw new TypeError('"size" argument must be of type number');if(r<0)throw new RangeError('The value "'+r+'" is invalid for option "size"')}function gt(r,e,t){return Ye(r),r<=0?L(r):e!==void 0?typeof t=="string"?L(r).fill(e,t):L(r).fill(e):L(r)}c.alloc=function(r,e,t){return gt(r,e,t)};function ve(r){return Ye(r),L(r<0?0:ke(r)|0)}c.allocUnsafe=function(r){return ve(r)};c.allocUnsafeSlow=function(r){return ve(r)};function ft(r,e){if((typeof e!="string"||e==="")&&(e="utf8"),!c.isEncoding(e))throw new TypeError("Unknown encoding: "+e);var t=Ze(r,e)|0,n=L(t),i=n.write(r,e);return i!==t&&(n=n.slice(0,i)),n}function xe(r){for(var e=r.length<0?0:ke(r.length)|0,t=L(e),n=0;n<e;n+=1)t[n]=r[n]&255;return t}function ht(r){if(A(r,Uint8Array)){var e=new Uint8Array(r);return we(e.buffer,e.byteOffset,e.byteLength)}return xe(r)}function we(r,e,t){if(e<0||r.byteLength<e)throw new RangeError('"offset" is outside of buffer bounds');if(r.byteLength<e+(t||0))throw new RangeError('"length" is outside of buffer bounds');var n;return e===void 0&&t===void 0?n=new Uint8Array(r):t===void 0?n=new Uint8Array(r,e):n=new Uint8Array(r,e,t),Object.setPrototypeOf(n,c.prototype),n}function yt(r){if(c.isBuffer(r)){var e=ke(r.length)|0,t=L(e);return t.length===0||r.copy(t,0,0,e),t}if(r.length!==void 0)return typeof r.length!="number"||Se(r.length)?L(0):xe(r);if(r.type==="Buffer"&&Array.isArray(r.data))return xe(r.data)}function ke(r){if(r>=ae)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+ae.toString(16)+" bytes");return r|0}function Tt(r){return+r!=r&&(r=0),c.alloc(+r)}c.isBuffer=function(e){return e!=null&&e._isBuffer===!0&&e!==c.prototype};c.compare=function(e,t){if(A(e,Uint8Array)&&(e=c.from(e,e.offset,e.byteLength)),A(t,Uint8Array)&&(t=c.from(t,t.offset,t.byteLength)),!c.isBuffer(e)||!c.isBuffer(t))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(e===t)return 0;for(var n=e.length,i=t.length,o=0,a=Math.min(n,i);o<a;++o)if(e[o]!==t[o]){n=e[o],i=t[o];break}return n<i?-1:i<n?1:0};c.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}};c.concat=function(e,t){if(!Array.isArray(e))throw new TypeError('"list" argument must be an Array of Buffers');if(e.length===0)return c.alloc(0);var n;if(t===void 0)for(t=0,n=0;n<e.length;++n)t+=e[n].length;var i=c.allocUnsafe(t),o=0;for(n=0;n<e.length;++n){var a=e[n];if(A(a,Uint8Array))o+a.length>i.length?c.from(a).copy(i,o):Uint8Array.prototype.set.call(i,a,o);else if(c.isBuffer(a))a.copy(i,o);else throw new TypeError('"list" argument must be an Array of Buffers');o+=a.length}return i};function Ze(r,e){if(c.isBuffer(r))return r.length;if(ArrayBuffer.isView(r)||A(r,ArrayBuffer))return r.byteLength;if(typeof r!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof r);var t=r.length,n=arguments.length>2&&arguments[2]===!0;if(!n&&t===0)return 0;for(var i=!1;;)switch(e){case"ascii":case"latin1":case"binary":return t;case"utf8":case"utf-8":return be(r).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return t*2;case"hex":return t>>>1;case"base64":return tr(r).length;default:if(i)return n?-1:be(r).length;e=(""+e).toLowerCase(),i=!0}}c.byteLength=Ze;function xt(r,e,t){var n=!1;if((e===void 0||e<0)&&(e=0),e>this.length||((t===void 0||t>this.length)&&(t=this.length),t<=0)||(t>>>=0,e>>>=0,t<=e))return"";for(r||(r="utf8");;)switch(r){case"hex":return Dt(this,e,t);case"utf8":case"utf-8":return Qe(this,e,t);case"ascii":return At(this,e,t);case"latin1":case"binary":return Nt(this,e,t);case"base64":return Et(this,e,t);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return _t(this,e,t);default:if(n)throw new TypeError("Unknown encoding: "+r);r=(r+"").toLowerCase(),n=!0}}c.prototype._isBuffer=!0;function G(r,e,t){var n=r[e];r[e]=r[t],r[t]=n}c.prototype.swap16=function(){var e=this.length;if(e%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var t=0;t<e;t+=2)G(this,t,t+1);return this};c.prototype.swap32=function(){var e=this.length;if(e%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var t=0;t<e;t+=4)G(this,t,t+3),G(this,t+1,t+2);return this};c.prototype.swap64=function(){var e=this.length;if(e%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var t=0;t<e;t+=8)G(this,t,t+7),G(this,t+1,t+6),G(this,t+2,t+5),G(this,t+3,t+4);return this};c.prototype.toString=function(){var e=this.length;return e===0?"":arguments.length===0?Qe(this,0,e):xt.apply(this,arguments)};c.prototype.toLocaleString=c.prototype.toString;c.prototype.equals=function(e){if(!c.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e?!0:c.compare(this,e)===0};c.prototype.inspect=function(){var e="",t=j.INSPECT_MAX_BYTES;return e=this.toString("hex",0,t).replace(/(.{2})/g,"$1 ").trim(),this.length>t&&(e+=" ... "),"<Buffer "+e+">"};qe&&(c.prototype[qe]=c.prototype.inspect);c.prototype.compare=function(e,t,n,i,o){if(A(e,Uint8Array)&&(e=c.from(e,e.offset,e.byteLength)),!c.isBuffer(e))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof e);if(t===void 0&&(t=0),n===void 0&&(n=e?e.length:0),i===void 0&&(i=0),o===void 0&&(o=this.length),t<0||n>e.length||i<0||o>this.length)throw new RangeError("out of range index");if(i>=o&&t>=n)return 0;if(i>=o)return-1;if(t>=n)return 1;if(t>>>=0,n>>>=0,i>>>=0,o>>>=0,this===e)return 0;for(var a=o-i,u=n-t,m=Math.min(a,u),g=this.slice(i,o),f=e.slice(t,n),h=0;h<m;++h)if(g[h]!==f[h]){a=g[h],u=f[h];break}return a<u?-1:u<a?1:0};function Xe(r,e,t,n,i){if(r.length===0)return-1;if(typeof t=="string"?(n=t,t=0):t>2147483647?t=2147483647:t<-2147483648&&(t=-2147483648),t=+t,Se(t)&&(t=i?0:r.length-1),t<0&&(t=r.length+t),t>=r.length){if(i)return-1;t=r.length-1}else if(t<0)if(i)t=0;else return-1;if(typeof e=="string"&&(e=c.from(e,n)),c.isBuffer(e))return e.length===0?-1:ze(r,e,t,n,i);if(typeof e=="number")return e=e&255,typeof Uint8Array.prototype.indexOf=="function"?i?Uint8Array.prototype.indexOf.call(r,e,t):Uint8Array.prototype.lastIndexOf.call(r,e,t):ze(r,[e],t,n,i);throw new TypeError("val must be string, number or Buffer")}function ze(r,e,t,n,i){var o=1,a=r.length,u=e.length;if(n!==void 0&&(n=String(n).toLowerCase(),n==="ucs2"||n==="ucs-2"||n==="utf16le"||n==="utf-16le")){if(r.length<2||e.length<2)return-1;o=2,a/=2,u/=2,t/=2}function m(x,k){return o===1?x[k]:x.readUInt16BE(k*o)}var g;if(i){var f=-1;for(g=t;g<a;g++)if(m(r,g)===m(e,f===-1?0:g-f)){if(f===-1&&(f=g),g-f+1===u)return f*o}else f!==-1&&(g-=g-f),f=-1}else for(t+u>a&&(t=a-u),g=t;g>=0;g--){for(var h=!0,y=0;y<u;y++)if(m(r,g+y)!==m(e,y)){h=!1;break}if(h)return g}return-1}c.prototype.includes=function(e,t,n){return this.indexOf(e,t,n)!==-1};c.prototype.indexOf=function(e,t,n){return Xe(this,e,t,n,!0)};c.prototype.lastIndexOf=function(e,t,n){return Xe(this,e,t,n,!1)};function wt(r,e,t,n){t=Number(t)||0;var i=r.length-t;n?(n=Number(n),n>i&&(n=i)):n=i;var o=e.length;n>o/2&&(n=o/2);for(var a=0;a<n;++a){var u=parseInt(e.substr(a*2,2),16);if(Se(u))return a;r[t+a]=u}return a}function bt(r,e,t,n){return se(be(e,r.length-t),r,t,n)}function vt(r,e,t,n){return se(Ft(e),r,t,n)}function kt(r,e,t,n){return se(tr(e),r,t,n)}function St(r,e,t,n){return se(Ot(e,r.length-t),r,t,n)}c.prototype.write=function(e,t,n,i){if(t===void 0)i="utf8",n=this.length,t=0;else if(n===void 0&&typeof t=="string")i=t,n=this.length,t=0;else if(isFinite(t))t=t>>>0,isFinite(n)?(n=n>>>0,i===void 0&&(i="utf8")):(i=n,n=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var o=this.length-t;if((n===void 0||n>o)&&(n=o),e.length>0&&(n<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");i||(i="utf8");for(var a=!1;;)switch(i){case"hex":return wt(this,e,t,n);case"utf8":case"utf-8":return bt(this,e,t,n);case"ascii":case"latin1":case"binary":return vt(this,e,t,n);case"base64":return kt(this,e,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return St(this,e,t,n);default:if(a)throw new TypeError("Unknown encoding: "+i);i=(""+i).toLowerCase(),a=!0}};c.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function Et(r,e,t){return e===0&&t===r.length?Te.fromByteArray(r):Te.fromByteArray(r.slice(e,t))}function Qe(r,e,t){t=Math.min(r.length,t);for(var n=[],i=e;i<t;){var o=r[i],a=null,u=o>239?4:o>223?3:o>191?2:1;if(i+u<=t){var m,g,f,h;switch(u){case 1:o<128&&(a=o);break;case 2:m=r[i+1],(m&192)===128&&(h=(o&31)<<6|m&63,h>127&&(a=h));break;case 3:m=r[i+1],g=r[i+2],(m&192)===128&&(g&192)===128&&(h=(o&15)<<12|(m&63)<<6|g&63,h>2047&&(h<55296||h>57343)&&(a=h));break;case 4:m=r[i+1],g=r[i+2],f=r[i+3],(m&192)===128&&(g&192)===128&&(f&192)===128&&(h=(o&15)<<18|(m&63)<<12|(g&63)<<6|f&63,h>65535&&h<1114112&&(a=h))}}a===null?(a=65533,u=1):a>65535&&(a-=65536,n.push(a>>>10&1023|55296),a=56320|a&1023),n.push(a),i+=u}return It(n)}var je=4096;function It(r){var e=r.length;if(e<=je)return String.fromCharCode.apply(String,r);for(var t="",n=0;n<e;)t+=String.fromCharCode.apply(String,r.slice(n,n+=je));return t}function At(r,e,t){var n="";t=Math.min(r.length,t);for(var i=e;i<t;++i)n+=String.fromCharCode(r[i]&127);return n}function Nt(r,e,t){var n="";t=Math.min(r.length,t);for(var i=e;i<t;++i)n+=String.fromCharCode(r[i]);return n}function Dt(r,e,t){var n=r.length;(!e||e<0)&&(e=0),(!t||t<0||t>n)&&(t=n);for(var i="",o=e;o<t;++o)i+=Ct[r[o]];return i}function _t(r,e,t){for(var n=r.slice(e,t),i="",o=0;o<n.length-1;o+=2)i+=String.fromCharCode(n[o]+n[o+1]*256);return i}c.prototype.slice=function(e,t){var n=this.length;e=~~e,t=t===void 0?n:~~t,e<0?(e+=n,e<0&&(e=0)):e>n&&(e=n),t<0?(t+=n,t<0&&(t=0)):t>n&&(t=n),t<e&&(t=e);var i=this.subarray(e,t);return Object.setPrototypeOf(i,c.prototype),i};function w(r,e,t){if(r%1!==0||r<0)throw new RangeError("offset is not uint");if(r+e>t)throw new RangeError("Trying to access beyond buffer length")}c.prototype.readUintLE=c.prototype.readUIntLE=function(e,t,n){e=e>>>0,t=t>>>0,n||w(e,t,this.length);for(var i=this[e],o=1,a=0;++a<t&&(o*=256);)i+=this[e+a]*o;return i};c.prototype.readUintBE=c.prototype.readUIntBE=function(e,t,n){e=e>>>0,t=t>>>0,n||w(e,t,this.length);for(var i=this[e+--t],o=1;t>0&&(o*=256);)i+=this[e+--t]*o;return i};c.prototype.readUint8=c.prototype.readUInt8=function(e,t){return e=e>>>0,t||w(e,1,this.length),this[e]};c.prototype.readUint16LE=c.prototype.readUInt16LE=function(e,t){return e=e>>>0,t||w(e,2,this.length),this[e]|this[e+1]<<8};c.prototype.readUint16BE=c.prototype.readUInt16BE=function(e,t){return e=e>>>0,t||w(e,2,this.length),this[e]<<8|this[e+1]};c.prototype.readUint32LE=c.prototype.readUInt32LE=function(e,t){return e=e>>>0,t||w(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+this[e+3]*16777216};c.prototype.readUint32BE=c.prototype.readUInt32BE=function(e,t){return e=e>>>0,t||w(e,4,this.length),this[e]*16777216+(this[e+1]<<16|this[e+2]<<8|this[e+3])};c.prototype.readIntLE=function(e,t,n){e=e>>>0,t=t>>>0,n||w(e,t,this.length);for(var i=this[e],o=1,a=0;++a<t&&(o*=256);)i+=this[e+a]*o;return o*=128,i>=o&&(i-=Math.pow(2,8*t)),i};c.prototype.readIntBE=function(e,t,n){e=e>>>0,t=t>>>0,n||w(e,t,this.length);for(var i=t,o=1,a=this[e+--i];i>0&&(o*=256);)a+=this[e+--i]*o;return o*=128,a>=o&&(a-=Math.pow(2,8*t)),a};c.prototype.readInt8=function(e,t){return e=e>>>0,t||w(e,1,this.length),this[e]&128?(255-this[e]+1)*-1:this[e]};c.prototype.readInt16LE=function(e,t){e=e>>>0,t||w(e,2,this.length);var n=this[e]|this[e+1]<<8;return n&32768?n|4294901760:n};c.prototype.readInt16BE=function(e,t){e=e>>>0,t||w(e,2,this.length);var n=this[e+1]|this[e]<<8;return n&32768?n|4294901760:n};c.prototype.readInt32LE=function(e,t){return e=e>>>0,t||w(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24};c.prototype.readInt32BE=function(e,t){return e=e>>>0,t||w(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]};c.prototype.readFloatLE=function(e,t){return e=e>>>0,t||w(e,4,this.length),z.read(this,e,!0,23,4)};c.prototype.readFloatBE=function(e,t){return e=e>>>0,t||w(e,4,this.length),z.read(this,e,!1,23,4)};c.prototype.readDoubleLE=function(e,t){return e=e>>>0,t||w(e,8,this.length),z.read(this,e,!0,52,8)};c.prototype.readDoubleBE=function(e,t){return e=e>>>0,t||w(e,8,this.length),z.read(this,e,!1,52,8)};function b(r,e,t,n,i,o){if(!c.isBuffer(r))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>i||e<o)throw new RangeError('"value" argument is out of bounds');if(t+n>r.length)throw new RangeError("Index out of range")}c.prototype.writeUintLE=c.prototype.writeUIntLE=function(e,t,n,i){if(e=+e,t=t>>>0,n=n>>>0,!i){var o=Math.pow(2,8*n)-1;b(this,e,t,n,o,0)}var a=1,u=0;for(this[t]=e&255;++u<n&&(a*=256);)this[t+u]=e/a&255;return t+n};c.prototype.writeUintBE=c.prototype.writeUIntBE=function(e,t,n,i){if(e=+e,t=t>>>0,n=n>>>0,!i){var o=Math.pow(2,8*n)-1;b(this,e,t,n,o,0)}var a=n-1,u=1;for(this[t+a]=e&255;--a>=0&&(u*=256);)this[t+a]=e/u&255;return t+n};c.prototype.writeUint8=c.prototype.writeUInt8=function(e,t,n){return e=+e,t=t>>>0,n||b(this,e,t,1,255,0),this[t]=e&255,t+1};c.prototype.writeUint16LE=c.prototype.writeUInt16LE=function(e,t,n){return e=+e,t=t>>>0,n||b(this,e,t,2,65535,0),this[t]=e&255,this[t+1]=e>>>8,t+2};c.prototype.writeUint16BE=c.prototype.writeUInt16BE=function(e,t,n){return e=+e,t=t>>>0,n||b(this,e,t,2,65535,0),this[t]=e>>>8,this[t+1]=e&255,t+2};c.prototype.writeUint32LE=c.prototype.writeUInt32LE=function(e,t,n){return e=+e,t=t>>>0,n||b(this,e,t,4,4294967295,0),this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=e&255,t+4};c.prototype.writeUint32BE=c.prototype.writeUInt32BE=function(e,t,n){return e=+e,t=t>>>0,n||b(this,e,t,4,4294967295,0),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=e&255,t+4};c.prototype.writeIntLE=function(e,t,n,i){if(e=+e,t=t>>>0,!i){var o=Math.pow(2,8*n-1);b(this,e,t,n,o-1,-o)}var a=0,u=1,m=0;for(this[t]=e&255;++a<n&&(u*=256);)e<0&&m===0&&this[t+a-1]!==0&&(m=1),this[t+a]=(e/u>>0)-m&255;return t+n};c.prototype.writeIntBE=function(e,t,n,i){if(e=+e,t=t>>>0,!i){var o=Math.pow(2,8*n-1);b(this,e,t,n,o-1,-o)}var a=n-1,u=1,m=0;for(this[t+a]=e&255;--a>=0&&(u*=256);)e<0&&m===0&&this[t+a+1]!==0&&(m=1),this[t+a]=(e/u>>0)-m&255;return t+n};c.prototype.writeInt8=function(e,t,n){return e=+e,t=t>>>0,n||b(this,e,t,1,127,-128),e<0&&(e=255+e+1),this[t]=e&255,t+1};c.prototype.writeInt16LE=function(e,t,n){return e=+e,t=t>>>0,n||b(this,e,t,2,32767,-32768),this[t]=e&255,this[t+1]=e>>>8,t+2};c.prototype.writeInt16BE=function(e,t,n){return e=+e,t=t>>>0,n||b(this,e,t,2,32767,-32768),this[t]=e>>>8,this[t+1]=e&255,t+2};c.prototype.writeInt32LE=function(e,t,n){return e=+e,t=t>>>0,n||b(this,e,t,4,2147483647,-2147483648),this[t]=e&255,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24,t+4};c.prototype.writeInt32BE=function(e,t,n){return e=+e,t=t>>>0,n||b(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=e&255,t+4};function Je(r,e,t,n,i,o){if(t+n>r.length)throw new RangeError("Index out of range");if(t<0)throw new RangeError("Index out of range")}function er(r,e,t,n,i){return e=+e,t=t>>>0,i||Je(r,e,t,4,34028234663852886e22,-34028234663852886e22),z.write(r,e,t,n,23,4),t+4}c.prototype.writeFloatLE=function(e,t,n){return er(this,e,t,!0,n)};c.prototype.writeFloatBE=function(e,t,n){return er(this,e,t,!1,n)};function rr(r,e,t,n,i){return e=+e,t=t>>>0,i||Je(r,e,t,8,17976931348623157e292,-17976931348623157e292),z.write(r,e,t,n,52,8),t+8}c.prototype.writeDoubleLE=function(e,t,n){return rr(this,e,t,!0,n)};c.prototype.writeDoubleBE=function(e,t,n){return rr(this,e,t,!1,n)};c.prototype.copy=function(e,t,n,i){if(!c.isBuffer(e))throw new TypeError("argument should be a Buffer");if(n||(n=0),!i&&i!==0&&(i=this.length),t>=e.length&&(t=e.length),t||(t=0),i>0&&i<n&&(i=n),i===n||e.length===0||this.length===0)return 0;if(t<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw new RangeError("Index out of range");if(i<0)throw new RangeError("sourceEnd out of bounds");i>this.length&&(i=this.length),e.length-t<i-n&&(i=e.length-t+n);var o=i-n;return this===e&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(t,n,i):Uint8Array.prototype.set.call(e,this.subarray(n,i),t),o};c.prototype.fill=function(e,t,n,i){if(typeof e=="string"){if(typeof t=="string"?(i=t,t=0,n=this.length):typeof n=="string"&&(i=n,n=this.length),i!==void 0&&typeof i!="string")throw new TypeError("encoding must be a string");if(typeof i=="string"&&!c.isEncoding(i))throw new TypeError("Unknown encoding: "+i);if(e.length===1){var o=e.charCodeAt(0);(i==="utf8"&&o<128||i==="latin1")&&(e=o)}}else typeof e=="number"?e=e&255:typeof e=="boolean"&&(e=Number(e));if(t<0||this.length<t||this.length<n)throw new RangeError("Out of range index");if(n<=t)return this;t=t>>>0,n=n===void 0?this.length:n>>>0,e||(e=0);var a;if(typeof e=="number")for(a=t;a<n;++a)this[a]=e;else{var u=c.isBuffer(e)?e:c.from(e,i),m=u.length;if(m===0)throw new TypeError('The value "'+e+'" is invalid for argument "value"');for(a=0;a<n-t;++a)this[a+t]=u[a%m]}return this};var Rt=/[^+/0-9A-Za-z-_]/g;function Lt(r){if(r=r.split("=")[0],r=r.trim().replace(Rt,""),r.length<2)return"";for(;r.length%4!==0;)r=r+"=";return r}function be(r,e){e=e||1/0;for(var t,n=r.length,i=null,o=[],a=0;a<n;++a){if(t=r.charCodeAt(a),t>55295&&t<57344){if(!i){if(t>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=t;continue}if(t<56320){(e-=3)>-1&&o.push(239,191,189),i=t;continue}t=(i-55296<<10|t-56320)+65536}else i&&(e-=3)>-1&&o.push(239,191,189);if(i=null,t<128){if((e-=1)<0)break;o.push(t)}else if(t<2048){if((e-=2)<0)break;o.push(t>>6|192,t&63|128)}else if(t<65536){if((e-=3)<0)break;o.push(t>>12|224,t>>6&63|128,t&63|128)}else if(t<1114112){if((e-=4)<0)break;o.push(t>>18|240,t>>12&63|128,t>>6&63|128,t&63|128)}else throw new Error("Invalid code point")}return o}function Ft(r){for(var e=[],t=0;t<r.length;++t)e.push(r.charCodeAt(t)&255);return e}function Ot(r,e){for(var t,n,i,o=[],a=0;a<r.length&&!((e-=2)<0);++a)t=r.charCodeAt(a),n=t>>8,i=t%256,o.push(i),o.push(n);return o}function tr(r){return Te.toByteArray(Lt(r))}function se(r,e,t,n){for(var i=0;i<n&&!(i+t>=e.length||i>=r.length);++i)e[i+t]=r[i];return i}function A(r,e){return r instanceof e||r!=null&&r.constructor!=null&&r.constructor.name!=null&&r.constructor.name===e.name}function Se(r){return r!==r}var Ct=function(){for(var r="0123456789abcdef",e=new Array(256),t=0;t<16;++t)for(var n=t*16,i=0;i<16;++i)e[n+i]=r[t]+r[i];return e}()});var cr=ie((vn,sr)=>{s();var T=sr.exports={},N,D;function Ee(){throw new Error("setTimeout has not been defined")}function Ie(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?N=setTimeout:N=Ee}catch(r){N=Ee}try{typeof clearTimeout=="function"?D=clearTimeout:D=Ie}catch(r){D=Ie}})();function ir(r){if(N===setTimeout)return setTimeout(r,0);if((N===Ee||!N)&&setTimeout)return N=setTimeout,setTimeout(r,0);try{return N(r,0)}catch(e){try{return N.call(null,r,0)}catch(t){return N.call(this,r,0)}}}function Pt(r){if(D===clearTimeout)return clearTimeout(r);if((D===Ie||!D)&&clearTimeout)return D=clearTimeout,clearTimeout(r);try{return D(r)}catch(e){try{return D.call(null,r)}catch(t){return D.call(this,r)}}}var F=[],K=!1,V,ce=-1;function Bt(){!K||!V||(K=!1,V.length?F=V.concat(F):ce=-1,F.length&&or())}function or(){if(!K){var r=ir(Bt);K=!0;for(var e=F.length;e;){for(V=F,F=[];++ce<e;)V&&V[ce].run();ce=-1,e=F.length}V=null,K=!1,Pt(r)}}T.nextTick=function(r){var e=new Array(arguments.length-1);if(arguments.length>1)for(var t=1;t<arguments.length;t++)e[t-1]=arguments[t];F.push(new ar(r,e)),F.length===1&&!K&&ir(or)};function ar(r,e){this.fun=r,this.array=e}ar.prototype.run=function(){this.fun.apply(null,this.array)};T.title="browser";T.browser=!0;T.env={};T.argv=[];T.version="";T.versions={};function O(){}T.on=O;T.addListener=O;T.once=O;T.off=O;T.removeListener=O;T.removeAllListeners=O;T.emit=O;T.prependListener=O;T.prependOnceListener=O;T.listeners=function(r){return[]};T.binding=function(r){throw new Error("process.binding is not supported")};T.cwd=function(){return"/"};T.chdir=function(r){throw new Error("process.chdir is not supported")};T.umask=function(){return 0}});var l,p,kn,s=nt(()=>{l=E(nr()),p=E(cr()),kn=function(r){function e(){var n=this||self;return delete r.prototype.__magic__,n}if(typeof globalThis=="object")return globalThis;if(this)return e();r.defineProperty(r.prototype,"__magic__",{configurable:!0,get:e});var t=__magic__;return t}(Object)});var hn={};it(hn,{getEventListDataHexValue:()=>Ut,getEventListHighlight:()=>Mt,getOperationDirection:()=>Gt,getOperationList:()=>zr,getScResultsDecodedData:()=>Vt,getScResultsHighlight:()=>Wt,getScamFlag:()=>Ht,getShardText:()=>qt,getTextWithLinks:()=>ur,getTransactionActionNftText:()=>Yt,getTransactionActionTokenText:()=>Zt,getTransactionFee:()=>Qt,getTransactionLinkWithLabel:()=>Jt,getTransactionMessages:()=>rn,getTransactionStatus:()=>nn,getTransactionStatusText:()=>on,getTrimmedHash:()=>an,getVisibleOperations:()=>sn,internalTransactionActions:()=>qr,transactionActionUnwrapper:()=>cn,useDataDecode:()=>mn,useDataDecodeMethod:()=>gn,useGetOperationList:()=>fn});module.exports=ot(hn);s();s();var Ut=r=>l.Buffer.from(String(r==null?void 0:r.data),"base64").toString("hex");s();var Mt=(r,e)=>{var u;let n=(window==null?void 0:window.location.hash).split("/"),i=n[0]?n[0].replace("#",""):"",o=(u=n[1])!=null?u:0;return i===e&&r.order===Number(o)};s();s();var Ae=(n=>(n.nft="nft",n.esdt="esdt",n.egld="egld",n))(Ae||{});var B=(i=>(i.raw="raw",i.text="text",i.decimal="decimal",i.smart="smart",i))(B||{});var Gt=({operation:r,address:e})=>{let t=e===r.sender,n=e===r.receiver,i=t&&n,o=!i,a="";switch(!0){case t:a="Out";break;case n:a="In";break;case i:a="Self";break;case o:a="Internal";break}return{direction:a}};s();s();s();function le(r){for(let e=0;e<r.length;e++)if(r.charCodeAt(e)>127)return!1;return!0}function Ne(r){let e=r;try{let t=l.Buffer.from(r,"hex").toString();le(t)&&t.length>1&&(e=t)}catch(t){}return e}var Vt=r=>{let e=l.Buffer.from(r,"base64").toString().split("@");return e.length>=2&&(e[0].length>0?e[0]=Ne(e[0]):e[1]=Ne(e[1])),e.join("@")};s();var Wt=r=>{let e=window==null?void 0:window.location.hash;return e.substring(0,e.indexOf("/")>0?e.indexOf("/"):e.length).replace("#","")===r};s();var lr=E(require("linkifyjs")),ur=r=>{let e=lr.find(r);if(!e.length)return{textWithLinks:r,hasLinks:!1};let t=r;for(let n of e){let i=r.substring(n.start,n.end);t=t.replace(i,n.value)}return{textWithLinks:t,hasLinks:!0}},Ht=({message:r,scamInfo:e,isNsfw:t,verified:n,messagePrefix:i="Message hidden due to suspicious content - "})=>{var m;if(n)return{message:"",textWithLinks:"",isSuspicious:!1};let o=`${i}${(m=e==null?void 0:e.info)!=null?m:"suspicious content"}`,{textWithLinks:a,hasLinks:u}=ur(r);return u||t||e?{message:o,textWithLinks:a,isSuspicious:!0}:{message:"",textWithLinks:a,isSuspicious:!1}};s();s();s();s();s();s();s();s();s();s();s();s();s();var De={devnet:{id:"devnet",chainId:"D",name:"Devnet",egldLabel:"xEGLD",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"https://maiar.page.link/?apn=com.elrond.maiar.wallet&isi=1519405832&ibi=com.elrond.maiar.wallet&link=https://xportal.com/",walletConnectBridgeAddresses:["https://bridge.walletconnect.org"],walletConnectV2RelayAddresses:["wss://relay.walletconnect.com"],walletAddress:"https://devnet-wallet.multiversx.com",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:pr,egldLabel:Jn}=De["devnet"],{chainId:dr,egldLabel:ei}=De["testnet"],{chainId:mr,egldLabel:ri}=De["mainnet"];var ti={["devnet"]:pr,["testnet"]:dr,["mainnet"]:mr},ni={[pr]:"devnet",[dr]:"testnet",[mr]:"mainnet"};s();s();s();s();var _=require("@multiversx/sdk-web-wallet-provider");s();var R=18,J=4;var gr=4294967295,fr=4294967280;var hr="refundedGas";var Y="0";var qt=r=>{let e=r;typeof e=="string"&&e.includes("Shard")&&(e=e.replace("Shard","").replace(" ",""));let t=gr.toString()===String(e).toString()||String(e)==="metachain",n=fr.toString()===String(e).toString();return t?"Metachain":n?"All Shards":`Shard ${e}`};s();s();s();s();s();var Tr=require("@multiversx/sdk-core"),U=E(require("bignumber.js"));s();var yr=E(require("bignumber.js")),_e=(r,e=!0)=>{let t=String(r);if(!t.match(/^[-]?\d+$/))return!1;let n=new yr.default(t),i=e?0:-1;return n.toString(10)===t&&n.comparedTo(0)>=i};s();function C(r){return{if:function(e){return e?{then:t=>t instanceof Function?C(t(r)):C(t)}:{then:()=>C(r)}},then:e=>e instanceof Function?C(e(r)):C(e),valueOf:function(){return r}}}U.default.config({ROUNDING_MODE:U.default.ROUND_FLOOR});function W({input:r,decimals:e=R,digits:t=J,showLastNonZeroDecimal:n=!0,showIsLessThanDecimalsLabel:i=!1,addCommas:o=!1}){if(!_e(r,!1))throw new Error("Invalid input");let a=new U.default(r).isNegative(),u=r;return a&&(u=r.substring(1)),C(u).then(()=>Tr.TokenPayment.fungibleFromBigInteger("",u,e).toRationalNumber()).then(m=>{let g=new U.default(m);if(g.isZero())return Y;let f=g.toString(10),[h,y]=f.split("."),x=new U.default(y||0),k=C(0).if(Boolean(y&&n)).then(()=>Math.max(y.length,t)).if(x.isZero()&&!n).then(0).if(Boolean(y&&!n)).then(()=>Math.min(y.length,t)).valueOf(),q=y&&t>=1&&t<=y.length&&x.isGreaterThan(0)&&new U.default(y.substring(0,t)).isZero(),jr=g.toFormat(k);return C(f).if(o).then(jr).if(Boolean(q)).then(re=>{let X=new U.default(h).isZero(),[S,te]=re.split("."),ne=new Array(t-1).fill(0),Kr=[...ne,0].join(""),Yr=[...ne,1].join("");return X?i?`<${S}.${Yr}`:n?`${S}.${te}`:S:`${S}.${Kr}`}).if(Boolean(!q&&y)).then(re=>{let[X]=re.split("."),S=y.substring(0,k);if(n){let te=t-S.length;if(te>0){let ne=Array(te).fill(0).join("");return S=`${S}${ne}`,`${X}.${S}`}return re}return S?`${X}.${S}`:X}).valueOf()}).if(a).then(m=>`-${m}`).valueOf()}s();s();var zt=require("@multiversx/sdk-core");s();var ee=require("@multiversx/sdk-core"),Kt=require("@multiversx/sdk-network-providers");s();s();var jt=E(require("bignumber.js"));s();s();s();s();s();s();s();var M="accounts";var xr="blocks",wr="code",br="collections";var vr="contracts";var kr="identities";var Sr="locked-accounts",Er="logs",Ir="miniblocks";var Re="nfts",Ar="nodes",Le="providers",Nr="roles",Fe="sc-results";var Z="tokens";var H="transactions";var ue={shard:r=>`/${xr}?shard=${r}`,receiverShard:r=>`/${H}?receivershard=${r}`,senderShard:r=>`/${H}?sendershard=${r}`,transactionDetails:r=>`/${H}/${r}`,transactionDetailsScResults:r=>`/${H}/${r}/${Fe}`,transactionDetailsLogs:r=>`/${H}/${r}/${Er}`,nodeDetails:r=>`/${Ar}/${r}`,accountDetails:r=>`/${M}/${r}`,accountDetailsContractCode:r=>`/${M}/${r}/${wr}`,accountDetailsTokens:r=>`/${M}/${r}/${Z}`,accountDetailsNfts:r=>`/${M}/${r}/${Re}`,accountDetailsScResults:r=>`/${M}/${r}/${Fe}`,accountDetailsContracts:r=>`/${M}/${r}/${vr}`,identityDetails:r=>`/${kr}/${r}`,tokenDetails:r=>`/${Z}/${r}`,tokenDetailsAccounts:r=>`/${Z}/${r}/${M}`,tokenDetailsLockedAccounts:r=>`/${Z}/${r}/${Sr}`,tokenDetailsRoles:r=>`/${Z}/${r}/${Nr}`,collectionDetails:r=>`/${br}/${r}`,nftDetails:r=>`/${Re}/${r}`,providerDetails:r=>`/${Le}/${r}`,providerDetailsTransactions:r=>`/${Le}/${r}/${H}`,miniblockDetails:r=>`/${Ir}/${r}`};function Yt({token:r,noValue:e,showLastNonZeroDecimal:t}){var g;let n=!e&&r.value&&r.type!=="NonFungibleESDT",i=r.decimals!=null,o="";r.type==="NonFungibleESDT"&&(o="NFT"),r.type==="SemiFungibleESDT"&&(o="SFT"),r.type==="MetaESDT"&&(o="Meta-ESDT");let a="";n&&i&&(a=i?W({input:r.value,decimals:r.decimals,digits:2,showLastNonZeroDecimal:t}):Number(r.value).toLocaleString("en"));let u=ue.nftDetails(String(r.identifier)),m=r.ticker===r.collection&&(g=r.identifier)!=null?g:r.ticker;return{badgeText:o,tokenFormattedAmount:n?a:null,tokenExplorerLink:u,tokenLinkText:m,token:r,noValue:e,showLastNonZeroDecimal:t}}s();function Zt({token:r,noValue:e,showLastNonZeroDecimal:t}){var u;let n=Boolean(!e&&r.value),i=n?W({input:r.value,decimals:(u=r.decimals)!=null?u:R,digits:2,showLastNonZeroDecimal:t,addCommas:!0}):null,o=ue.tokenDetails(String(r.token)),a=r.ticker;return{tokenExplorerLink:o,tokenFormattedAmount:i,showFormattedAmount:n,tokenLinkText:a,token:r,showLastNonZeroDecimal:t}}s();var Oe=E(require("bignumber.js")),Xt=r=>{let e=new Oe.default(r.gasPrice),t=new Oe.default(r.gasUsed);return e.times(t).toString()};function Qt(r){return r.fee?r.fee:r.gasUsed===void 0?null:Xt(r)}s();var Jt=({transaction:r,direction:e})=>{var m;let t=e==="Internal",n=r.sender;if(t)return{link:(m=r.links.senderLink)!=null?m:"",label:"Smart Contract transaction",address:n};let i=e==="Out",o=i?r.links.receiverLink:r.links.senderLink,a="";return e==="Self"&&r.receiverAssets?a=r.receiverAssets.name:(n=i?r.receiver:r.sender,a=i?"To:":"From:"),{label:a,address:n,link:o!=null?o:""}};s();s();function Dr(r){var e,t;return(t=(e=r==null?void 0:r.operations)==null?void 0:e.map(n=>n.message).filter(n=>Boolean(n)))!=null?t:[]}s();var _r=E(require("bignumber.js"));var en=r=>{var e,t;if(!((e=r.receipt)!=null&&e.value))return"";if(((t=r.receipt)==null?void 0:t.data)===hr){let n=W({input:r.receipt.value,decimals:R,digits:J,showLastNonZeroDecimal:!0});return new _r.default(n).times(r.gasPrice).times(100).toFixed()}return r.receipt.value};function Rr(r){var i;let e=(i=r.receipt)==null?void 0:i.data;if(!e)return"";let t=en(r),n=t?`: ${t}`:"";return`${e}${n}`}s();function Ce(r){var e,t;return(t=(e=r==null?void 0:r.results)==null?void 0:e.map(n=>n.returnMessage).filter(n=>Boolean(n)))!=null?t:[]}function rn(r){return Array.from(new Set([...Ce(r),...Dr(r),Rr(r)])).filter(t=>Boolean(t))}s();function nn(r){let e=a=>r.status.toLowerCase()===a.toLowerCase(),t=e("fail")||e("reward-reverted"),n=e("success"),i=e("not executed")||e("invalid"),o=e("pending")||r.pendingResults;return{failed:t,success:n,invalid:i,pending:o}}s();var on=r=>{switch(!0){case r.pendingResults:return"Pending (Smart Contract Execution)";case r.status==="reward-reverted":return"fail";default:return r.status.toString()}};s();var an=(r,e=4)=>`${r.substring(0,Math.floor(r.length/e))}...${r.substring(r.length-Math.ceil(r.length/e))}`;s();var sn=r=>{var t,n;return(n=(t=r==null?void 0:r.operations)==null?void 0:t.filter(i=>Object.values(Ae).includes(i.type)))!=null?n:[]};s();s();s();var Fr=r=>{var e,t;switch(r.name){case"transfer":return["Transfer",{token:(e=r.arguments)==null?void 0:e.transfers},"to",{address:(t=r.arguments)==null?void 0:t.receiver}];default:return[]}};s();var Or=E(require("bignumber.js"));var Cr=r=>{var e,t,n,i,o,a,u,m,g,f,h,y;switch(r.name){case"claimLockedAssets":return["Claim locked assets"];case"enterFarm":case"enterFarmProxy":return["Enter farm with",{token:(e=r.arguments)==null?void 0:e.transfers}];case"enterFarmAndLockRewards":case"enterFarmAndLockRewardsProxy":return["Enter farm and lock rewards with",{token:(t=r.arguments)==null?void 0:t.transfers}];case"exitFarm":case"exitFarmProxy":return["Exit farm with",{token:(n=r.arguments)==null?void 0:n.transfers}];case"claimRewards":case"claimRewardsProxy":return["Claim rewards",{token:(i=r.arguments)==null?void 0:i.transfers}];case"compoundRewards":case"compoundRewardsProxy":return["Reinvest rewards",{token:(o=r.arguments)==null?void 0:o.transfers}];case"swapTokensFixedInput":case"swap":return r.description?[r.description]:[];case"swapTokensFixedOutput":return r.description?[r.description]:[];case"addLiquidity":case"addLiquidityProxy":return["Added liquidity for",{token:[(a=r.arguments)==null?void 0:a.transfers[0]]},"and",{token:[(u=r.arguments)==null?void 0:u.transfers[1]]}];case"removeLiquidity":case"removeLiquidityProxy":return["Removed liquidity with ",{token:(m=r.arguments)==null?void 0:m.transfers}];case"mergeLockedAssetTokens":let x=Y;if((g=r.arguments)!=null&&g.transfers){let k=r.arguments.transfers.map(({value:q})=>q);x=Or.default.sum.apply(null,k).toString(10)}return[`Merge ${(f=r.arguments)==null?void 0:f.transfers.length}`,{tokenNoLink:[(h=r.arguments)==null?void 0:h.transfers[0]]},"positions into a single",{tokenNoLink:[(y=r.arguments)==null?void 0:y.transfers[0]]},"position of value",{value:x}];case"wrapEgld":case"unwrapEgld":default:return r.description?[r.description]:[]}};s();var Pr=r=>{var e,t,n,i,o,a,u,m,g,f,h,y;switch(r.name){case"delegate":case"stake":return["Delegate",{egldValue:(e=r.arguments)==null?void 0:e.value},"to staking provider",{providerName:(t=r.arguments)==null?void 0:t.providerName,providerAvatar:(n=r.arguments)==null?void 0:n.providerAvatar}];case"unDelegate":return["Undelegate",{egldValue:(i=r.arguments)==null?void 0:i.value},"from staking provider",{providerName:(o=r.arguments)==null?void 0:o.providerName,providerAvatar:(a=r.arguments)==null?void 0:a.providerAvatar}];case"claimRewards":return["Claim rewards from staking provider",{providerName:(u=r.arguments)==null?void 0:u.providerName,providerAvatar:(m=r.arguments)==null?void 0:m.providerAvatar}];case"reDelegateRewards":return["Redelegate rewards from staking provider",{providerName:(g=r.arguments)==null?void 0:g.providerName,providerAvatar:(f=r.arguments)==null?void 0:f.providerAvatar}];case"withdraw":return["Withdraw from staking provider",{providerName:(h=r.arguments)==null?void 0:h.providerName,providerAvatar:(y=r.arguments)==null?void 0:y.providerAvatar}];default:return[]}};var cn=r=>{if(!r.arguments)return r.description?[r.description]:[r.name];switch(r.category){case"esdtNft":return Fr(r);case"mex":return Cr(r);case"stake":return Pr(r);default:return r.description?[r.description]:[]}};s();var de=require("react");s();s();s();s();var $r=require("@multiversx/sdk-core/out"),Pe=E(require("bignumber.js"));s();var Br=require("@multiversx/sdk-core");function ln(r){try{let e=new Br.Address(r);return Boolean(e.bech32())}catch(e){return!1}}function Ur(r){return(r==null?void 0:r.startsWith("erd"))&&r.length===62&&/^\w+$/.test(r)&&ln(r)}s();s();s();var Mr=r=>/\d/.test(r);var P=(r,e,t)=>{try{switch(e){case"text":return Mr(r)?l.Buffer.from(r,"hex").toString("utf8"):r;case"decimal":return new Pe.default(r,16).toString(10);case"smart":let i=$r.Address.fromHex(r).toString();if(Ur(i))return i;let o=l.Buffer.from(r,"hex").toString("utf8");return le(o)||t&&[...t.esdts,...t.nfts].some(m=>o.includes(m))?o:new Pe.default(r,16).toString(10);case"raw":default:return r}}catch(n){return console.error(`Error during data decoding of "${r}" as "${e}"`,n),r}};s();s();var un=r=>r.toLowerCase().match(/[0-9a-f]/g),pn=r=>r.length%2===0,Gr=r=>{let e=[];return r&&!un(r)&&e.push(`Invalid Hex characters on argument @${r}`),r&&!pn(r)&&e.push(`Odd number of Hex characters on argument @${r}`),e};s();var pe=({parts:r,decodedParts:e,identifier:t})=>{let n=[...e];if(r[0]==="ESDTNFTTransfer"&&r[2]&&(n[2]=P(r[2],"decimal")),t==="ESDTNFTTransfer"&&r[1]){let i=l.Buffer.from(String(r[1]),"base64");n[1]=P(i.toString("hex"),"decimal")}return n};var Vr=({parts:r,decodeMethod:e,identifier:t,display:n})=>{let i=r.map((o,a)=>{if(r.length>=2&&(a===0&&o.length<64||a===1&&!r[0]))return/[^a-z0-9]/gi.test(o)?P(o,e):o;{let u=Gr(o);return u.length&&(n.validationWarnings=Array.from(new Set([...n.validationWarnings,...u]))),P(o,e)}});return e==="smart"?pe({parts:r,decodedParts:i,identifier:t}):i};var Wr=({input:r,decodeMethod:e,identifier:t})=>{let n={displayValue:"",validationWarnings:[]};if(r.includes("@")){let i=r.split("@"),o=Vr({parts:i,identifier:t,decodeMethod:e,display:n});return n.displayValue=o.join("@"),n}if(r.includes(`
|
|
1
|
+
"use strict";var Zr=Object.create;var Q=Object.defineProperty,Xr=Object.defineProperties,Qr=Object.getOwnPropertyDescriptor,Jr=Object.getOwnPropertyDescriptors,et=Object.getOwnPropertyNames,Be=Object.getOwnPropertySymbols,rt=Object.getPrototypeOf,Me=Object.prototype.hasOwnProperty,tt=Object.prototype.propertyIsEnumerable;var Ue=(r,e,t)=>e in r?Q(r,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):r[e]=t,ge=(r,e)=>{for(var t in e||(e={}))Me.call(e,t)&&Ue(r,t,e[t]);if(Be)for(var t of Be(e))tt.call(e,t)&&Ue(r,t,e[t]);return r},fe=(r,e)=>Xr(r,Jr(e));var nt=(r,e)=>()=>(r&&(e=r(r=0)),e);var ie=(r,e)=>()=>(e||r((e={exports:{}}).exports,e),e.exports),it=(r,e)=>{for(var t in e)Q(r,t,{get:e[t],enumerable:!0})},$e=(r,e,t,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of et(e))!Me.call(r,i)&&i!==t&&Q(r,i,{get:()=>e[i],enumerable:!(n=Qr(e,i))||n.enumerable});return r};var E=(r,e,t)=>(t=r!=null?Zr(rt(r)):{},$e(e||!r||!r.__esModule?Q(t,"default",{value:r,enumerable:!0}):t,r)),ot=r=>$e(Q({},"__esModule",{value:!0}),r);var We=ie(oe=>{"use strict";s();oe.byteLength=st;oe.toByteArray=lt;oe.fromByteArray=dt;var I=[],v=[],at=typeof Uint8Array!="undefined"?Uint8Array:Array,he="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for($=0,Ge=he.length;$<Ge;++$)I[$]=he[$],v[he.charCodeAt($)]=$;var $,Ge;v["-".charCodeAt(0)]=62;v["_".charCodeAt(0)]=63;function Ve(r){var e=r.length;if(e%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var t=r.indexOf("=");t===-1&&(t=e);var n=t===e?0:4-t%4;return[t,n]}function st(r){var e=Ve(r),t=e[0],n=e[1];return(t+n)*3/4-n}function ct(r,e,t){return(e+t)*3/4-t}function lt(r){var e,t=Ve(r),n=t[0],i=t[1],o=new at(ct(r,n,i)),a=0,u=i>0?n-4:n,m;for(m=0;m<u;m+=4)e=v[r.charCodeAt(m)]<<18|v[r.charCodeAt(m+1)]<<12|v[r.charCodeAt(m+2)]<<6|v[r.charCodeAt(m+3)],o[a++]=e>>16&255,o[a++]=e>>8&255,o[a++]=e&255;return i===2&&(e=v[r.charCodeAt(m)]<<2|v[r.charCodeAt(m+1)]>>4,o[a++]=e&255),i===1&&(e=v[r.charCodeAt(m)]<<10|v[r.charCodeAt(m+1)]<<4|v[r.charCodeAt(m+2)]>>2,o[a++]=e>>8&255,o[a++]=e&255),o}function ut(r){return I[r>>18&63]+I[r>>12&63]+I[r>>6&63]+I[r&63]}function pt(r,e,t){for(var n,i=[],o=e;o<t;o+=3)n=(r[o]<<16&16711680)+(r[o+1]<<8&65280)+(r[o+2]&255),i.push(ut(n));return i.join("")}function dt(r){for(var e,t=r.length,n=t%3,i=[],o=16383,a=0,u=t-n;a<u;a+=o)i.push(pt(r,a,a+o>u?u:a+o));return n===1?(e=r[t-1],i.push(I[e>>2]+I[e<<4&63]+"==")):n===2&&(e=(r[t-2]<<8)+r[t-1],i.push(I[e>>10]+I[e>>4&63]+I[e<<2&63]+"=")),i.join("")}});var He=ie(ye=>{s();ye.read=function(r,e,t,n,i){var o,a,u=i*8-n-1,m=(1<<u)-1,g=m>>1,f=-7,h=t?i-1:0,y=t?-1:1,x=r[e+h];for(h+=y,o=x&(1<<-f)-1,x>>=-f,f+=u;f>0;o=o*256+r[e+h],h+=y,f-=8);for(a=o&(1<<-f)-1,o>>=-f,f+=n;f>0;a=a*256+r[e+h],h+=y,f-=8);if(o===0)o=1-g;else{if(o===m)return a?NaN:(x?-1:1)*(1/0);a=a+Math.pow(2,n),o=o-g}return(x?-1:1)*a*Math.pow(2,o-n)};ye.write=function(r,e,t,n,i,o){var a,u,m,g=o*8-i-1,f=(1<<g)-1,h=f>>1,y=i===23?Math.pow(2,-24)-Math.pow(2,-77):0,x=n?0:o-1,k=n?1:-1,q=e<0||e===0&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(u=isNaN(e)?1:0,a=f):(a=Math.floor(Math.log(e)/Math.LN2),e*(m=Math.pow(2,-a))<1&&(a--,m*=2),a+h>=1?e+=y/m:e+=y*Math.pow(2,1-h),e*m>=2&&(a++,m/=2),a+h>=f?(u=0,a=f):a+h>=1?(u=(e*m-1)*Math.pow(2,i),a=a+h):(u=e*Math.pow(2,h-1)*Math.pow(2,i),a=0));i>=8;r[t+x]=u&255,x+=k,u/=256,i-=8);for(a=a<<i|u,g+=i;g>0;r[t+x]=a&255,x+=k,a/=256,g-=8);r[t+x-k]|=q*128}});var nr=ie(j=>{"use strict";s();var Te=We(),z=He(),qe=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;j.Buffer=c;j.SlowBuffer=Tt;j.INSPECT_MAX_BYTES=50;var ae=2147483647;j.kMaxLength=ae;c.TYPED_ARRAY_SUPPORT=mt();!c.TYPED_ARRAY_SUPPORT&&typeof console!="undefined"&&typeof console.error=="function"&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function mt(){try{var r=new Uint8Array(1),e={foo:function(){return 42}};return Object.setPrototypeOf(e,Uint8Array.prototype),Object.setPrototypeOf(r,e),r.foo()===42}catch(t){return!1}}Object.defineProperty(c.prototype,"parent",{enumerable:!0,get:function(){if(!!c.isBuffer(this))return this.buffer}});Object.defineProperty(c.prototype,"offset",{enumerable:!0,get:function(){if(!!c.isBuffer(this))return this.byteOffset}});function L(r){if(r>ae)throw new RangeError('The value "'+r+'" is invalid for option "size"');var e=new Uint8Array(r);return Object.setPrototypeOf(e,c.prototype),e}function c(r,e,t){if(typeof r=="number"){if(typeof e=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return ve(r)}return Ke(r,e,t)}c.poolSize=8192;function Ke(r,e,t){if(typeof r=="string")return ft(r,e);if(ArrayBuffer.isView(r))return ht(r);if(r==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof r);if(N(r,ArrayBuffer)||r&&N(r.buffer,ArrayBuffer)||typeof SharedArrayBuffer!="undefined"&&(N(r,SharedArrayBuffer)||r&&N(r.buffer,SharedArrayBuffer)))return we(r,e,t);if(typeof r=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var n=r.valueOf&&r.valueOf();if(n!=null&&n!==r)return c.from(n,e,t);var i=yt(r);if(i)return i;if(typeof Symbol!="undefined"&&Symbol.toPrimitive!=null&&typeof r[Symbol.toPrimitive]=="function")return c.from(r[Symbol.toPrimitive]("string"),e,t);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof r)}c.from=function(r,e,t){return Ke(r,e,t)};Object.setPrototypeOf(c.prototype,Uint8Array.prototype);Object.setPrototypeOf(c,Uint8Array);function Ye(r){if(typeof r!="number")throw new TypeError('"size" argument must be of type number');if(r<0)throw new RangeError('The value "'+r+'" is invalid for option "size"')}function gt(r,e,t){return Ye(r),r<=0?L(r):e!==void 0?typeof t=="string"?L(r).fill(e,t):L(r).fill(e):L(r)}c.alloc=function(r,e,t){return gt(r,e,t)};function ve(r){return Ye(r),L(r<0?0:ke(r)|0)}c.allocUnsafe=function(r){return ve(r)};c.allocUnsafeSlow=function(r){return ve(r)};function ft(r,e){if((typeof e!="string"||e==="")&&(e="utf8"),!c.isEncoding(e))throw new TypeError("Unknown encoding: "+e);var t=Ze(r,e)|0,n=L(t),i=n.write(r,e);return i!==t&&(n=n.slice(0,i)),n}function xe(r){for(var e=r.length<0?0:ke(r.length)|0,t=L(e),n=0;n<e;n+=1)t[n]=r[n]&255;return t}function ht(r){if(N(r,Uint8Array)){var e=new Uint8Array(r);return we(e.buffer,e.byteOffset,e.byteLength)}return xe(r)}function we(r,e,t){if(e<0||r.byteLength<e)throw new RangeError('"offset" is outside of buffer bounds');if(r.byteLength<e+(t||0))throw new RangeError('"length" is outside of buffer bounds');var n;return e===void 0&&t===void 0?n=new Uint8Array(r):t===void 0?n=new Uint8Array(r,e):n=new Uint8Array(r,e,t),Object.setPrototypeOf(n,c.prototype),n}function yt(r){if(c.isBuffer(r)){var e=ke(r.length)|0,t=L(e);return t.length===0||r.copy(t,0,0,e),t}if(r.length!==void 0)return typeof r.length!="number"||Se(r.length)?L(0):xe(r);if(r.type==="Buffer"&&Array.isArray(r.data))return xe(r.data)}function ke(r){if(r>=ae)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+ae.toString(16)+" bytes");return r|0}function Tt(r){return+r!=r&&(r=0),c.alloc(+r)}c.isBuffer=function(e){return e!=null&&e._isBuffer===!0&&e!==c.prototype};c.compare=function(e,t){if(N(e,Uint8Array)&&(e=c.from(e,e.offset,e.byteLength)),N(t,Uint8Array)&&(t=c.from(t,t.offset,t.byteLength)),!c.isBuffer(e)||!c.isBuffer(t))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(e===t)return 0;for(var n=e.length,i=t.length,o=0,a=Math.min(n,i);o<a;++o)if(e[o]!==t[o]){n=e[o],i=t[o];break}return n<i?-1:i<n?1:0};c.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}};c.concat=function(e,t){if(!Array.isArray(e))throw new TypeError('"list" argument must be an Array of Buffers');if(e.length===0)return c.alloc(0);var n;if(t===void 0)for(t=0,n=0;n<e.length;++n)t+=e[n].length;var i=c.allocUnsafe(t),o=0;for(n=0;n<e.length;++n){var a=e[n];if(N(a,Uint8Array))o+a.length>i.length?c.from(a).copy(i,o):Uint8Array.prototype.set.call(i,a,o);else if(c.isBuffer(a))a.copy(i,o);else throw new TypeError('"list" argument must be an Array of Buffers');o+=a.length}return i};function Ze(r,e){if(c.isBuffer(r))return r.length;if(ArrayBuffer.isView(r)||N(r,ArrayBuffer))return r.byteLength;if(typeof r!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof r);var t=r.length,n=arguments.length>2&&arguments[2]===!0;if(!n&&t===0)return 0;for(var i=!1;;)switch(e){case"ascii":case"latin1":case"binary":return t;case"utf8":case"utf-8":return be(r).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return t*2;case"hex":return t>>>1;case"base64":return tr(r).length;default:if(i)return n?-1:be(r).length;e=(""+e).toLowerCase(),i=!0}}c.byteLength=Ze;function xt(r,e,t){var n=!1;if((e===void 0||e<0)&&(e=0),e>this.length||((t===void 0||t>this.length)&&(t=this.length),t<=0)||(t>>>=0,e>>>=0,t<=e))return"";for(r||(r="utf8");;)switch(r){case"hex":return Dt(this,e,t);case"utf8":case"utf-8":return Qe(this,e,t);case"ascii":return Nt(this,e,t);case"latin1":case"binary":return At(this,e,t);case"base64":return Et(this,e,t);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return _t(this,e,t);default:if(n)throw new TypeError("Unknown encoding: "+r);r=(r+"").toLowerCase(),n=!0}}c.prototype._isBuffer=!0;function G(r,e,t){var n=r[e];r[e]=r[t],r[t]=n}c.prototype.swap16=function(){var e=this.length;if(e%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var t=0;t<e;t+=2)G(this,t,t+1);return this};c.prototype.swap32=function(){var e=this.length;if(e%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var t=0;t<e;t+=4)G(this,t,t+3),G(this,t+1,t+2);return this};c.prototype.swap64=function(){var e=this.length;if(e%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var t=0;t<e;t+=8)G(this,t,t+7),G(this,t+1,t+6),G(this,t+2,t+5),G(this,t+3,t+4);return this};c.prototype.toString=function(){var e=this.length;return e===0?"":arguments.length===0?Qe(this,0,e):xt.apply(this,arguments)};c.prototype.toLocaleString=c.prototype.toString;c.prototype.equals=function(e){if(!c.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e?!0:c.compare(this,e)===0};c.prototype.inspect=function(){var e="",t=j.INSPECT_MAX_BYTES;return e=this.toString("hex",0,t).replace(/(.{2})/g,"$1 ").trim(),this.length>t&&(e+=" ... "),"<Buffer "+e+">"};qe&&(c.prototype[qe]=c.prototype.inspect);c.prototype.compare=function(e,t,n,i,o){if(N(e,Uint8Array)&&(e=c.from(e,e.offset,e.byteLength)),!c.isBuffer(e))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof e);if(t===void 0&&(t=0),n===void 0&&(n=e?e.length:0),i===void 0&&(i=0),o===void 0&&(o=this.length),t<0||n>e.length||i<0||o>this.length)throw new RangeError("out of range index");if(i>=o&&t>=n)return 0;if(i>=o)return-1;if(t>=n)return 1;if(t>>>=0,n>>>=0,i>>>=0,o>>>=0,this===e)return 0;for(var a=o-i,u=n-t,m=Math.min(a,u),g=this.slice(i,o),f=e.slice(t,n),h=0;h<m;++h)if(g[h]!==f[h]){a=g[h],u=f[h];break}return a<u?-1:u<a?1:0};function Xe(r,e,t,n,i){if(r.length===0)return-1;if(typeof t=="string"?(n=t,t=0):t>2147483647?t=2147483647:t<-2147483648&&(t=-2147483648),t=+t,Se(t)&&(t=i?0:r.length-1),t<0&&(t=r.length+t),t>=r.length){if(i)return-1;t=r.length-1}else if(t<0)if(i)t=0;else return-1;if(typeof e=="string"&&(e=c.from(e,n)),c.isBuffer(e))return e.length===0?-1:ze(r,e,t,n,i);if(typeof e=="number")return e=e&255,typeof Uint8Array.prototype.indexOf=="function"?i?Uint8Array.prototype.indexOf.call(r,e,t):Uint8Array.prototype.lastIndexOf.call(r,e,t):ze(r,[e],t,n,i);throw new TypeError("val must be string, number or Buffer")}function ze(r,e,t,n,i){var o=1,a=r.length,u=e.length;if(n!==void 0&&(n=String(n).toLowerCase(),n==="ucs2"||n==="ucs-2"||n==="utf16le"||n==="utf-16le")){if(r.length<2||e.length<2)return-1;o=2,a/=2,u/=2,t/=2}function m(x,k){return o===1?x[k]:x.readUInt16BE(k*o)}var g;if(i){var f=-1;for(g=t;g<a;g++)if(m(r,g)===m(e,f===-1?0:g-f)){if(f===-1&&(f=g),g-f+1===u)return f*o}else f!==-1&&(g-=g-f),f=-1}else for(t+u>a&&(t=a-u),g=t;g>=0;g--){for(var h=!0,y=0;y<u;y++)if(m(r,g+y)!==m(e,y)){h=!1;break}if(h)return g}return-1}c.prototype.includes=function(e,t,n){return this.indexOf(e,t,n)!==-1};c.prototype.indexOf=function(e,t,n){return Xe(this,e,t,n,!0)};c.prototype.lastIndexOf=function(e,t,n){return Xe(this,e,t,n,!1)};function wt(r,e,t,n){t=Number(t)||0;var i=r.length-t;n?(n=Number(n),n>i&&(n=i)):n=i;var o=e.length;n>o/2&&(n=o/2);for(var a=0;a<n;++a){var u=parseInt(e.substr(a*2,2),16);if(Se(u))return a;r[t+a]=u}return a}function bt(r,e,t,n){return se(be(e,r.length-t),r,t,n)}function vt(r,e,t,n){return se(Ft(e),r,t,n)}function kt(r,e,t,n){return se(tr(e),r,t,n)}function St(r,e,t,n){return se(Ct(e,r.length-t),r,t,n)}c.prototype.write=function(e,t,n,i){if(t===void 0)i="utf8",n=this.length,t=0;else if(n===void 0&&typeof t=="string")i=t,n=this.length,t=0;else if(isFinite(t))t=t>>>0,isFinite(n)?(n=n>>>0,i===void 0&&(i="utf8")):(i=n,n=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var o=this.length-t;if((n===void 0||n>o)&&(n=o),e.length>0&&(n<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");i||(i="utf8");for(var a=!1;;)switch(i){case"hex":return wt(this,e,t,n);case"utf8":case"utf-8":return bt(this,e,t,n);case"ascii":case"latin1":case"binary":return vt(this,e,t,n);case"base64":return kt(this,e,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return St(this,e,t,n);default:if(a)throw new TypeError("Unknown encoding: "+i);i=(""+i).toLowerCase(),a=!0}};c.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function Et(r,e,t){return e===0&&t===r.length?Te.fromByteArray(r):Te.fromByteArray(r.slice(e,t))}function Qe(r,e,t){t=Math.min(r.length,t);for(var n=[],i=e;i<t;){var o=r[i],a=null,u=o>239?4:o>223?3:o>191?2:1;if(i+u<=t){var m,g,f,h;switch(u){case 1:o<128&&(a=o);break;case 2:m=r[i+1],(m&192)===128&&(h=(o&31)<<6|m&63,h>127&&(a=h));break;case 3:m=r[i+1],g=r[i+2],(m&192)===128&&(g&192)===128&&(h=(o&15)<<12|(m&63)<<6|g&63,h>2047&&(h<55296||h>57343)&&(a=h));break;case 4:m=r[i+1],g=r[i+2],f=r[i+3],(m&192)===128&&(g&192)===128&&(f&192)===128&&(h=(o&15)<<18|(m&63)<<12|(g&63)<<6|f&63,h>65535&&h<1114112&&(a=h))}}a===null?(a=65533,u=1):a>65535&&(a-=65536,n.push(a>>>10&1023|55296),a=56320|a&1023),n.push(a),i+=u}return It(n)}var je=4096;function It(r){var e=r.length;if(e<=je)return String.fromCharCode.apply(String,r);for(var t="",n=0;n<e;)t+=String.fromCharCode.apply(String,r.slice(n,n+=je));return t}function Nt(r,e,t){var n="";t=Math.min(r.length,t);for(var i=e;i<t;++i)n+=String.fromCharCode(r[i]&127);return n}function At(r,e,t){var n="";t=Math.min(r.length,t);for(var i=e;i<t;++i)n+=String.fromCharCode(r[i]);return n}function Dt(r,e,t){var n=r.length;(!e||e<0)&&(e=0),(!t||t<0||t>n)&&(t=n);for(var i="",o=e;o<t;++o)i+=Ot[r[o]];return i}function _t(r,e,t){for(var n=r.slice(e,t),i="",o=0;o<n.length-1;o+=2)i+=String.fromCharCode(n[o]+n[o+1]*256);return i}c.prototype.slice=function(e,t){var n=this.length;e=~~e,t=t===void 0?n:~~t,e<0?(e+=n,e<0&&(e=0)):e>n&&(e=n),t<0?(t+=n,t<0&&(t=0)):t>n&&(t=n),t<e&&(t=e);var i=this.subarray(e,t);return Object.setPrototypeOf(i,c.prototype),i};function w(r,e,t){if(r%1!==0||r<0)throw new RangeError("offset is not uint");if(r+e>t)throw new RangeError("Trying to access beyond buffer length")}c.prototype.readUintLE=c.prototype.readUIntLE=function(e,t,n){e=e>>>0,t=t>>>0,n||w(e,t,this.length);for(var i=this[e],o=1,a=0;++a<t&&(o*=256);)i+=this[e+a]*o;return i};c.prototype.readUintBE=c.prototype.readUIntBE=function(e,t,n){e=e>>>0,t=t>>>0,n||w(e,t,this.length);for(var i=this[e+--t],o=1;t>0&&(o*=256);)i+=this[e+--t]*o;return i};c.prototype.readUint8=c.prototype.readUInt8=function(e,t){return e=e>>>0,t||w(e,1,this.length),this[e]};c.prototype.readUint16LE=c.prototype.readUInt16LE=function(e,t){return e=e>>>0,t||w(e,2,this.length),this[e]|this[e+1]<<8};c.prototype.readUint16BE=c.prototype.readUInt16BE=function(e,t){return e=e>>>0,t||w(e,2,this.length),this[e]<<8|this[e+1]};c.prototype.readUint32LE=c.prototype.readUInt32LE=function(e,t){return e=e>>>0,t||w(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+this[e+3]*16777216};c.prototype.readUint32BE=c.prototype.readUInt32BE=function(e,t){return e=e>>>0,t||w(e,4,this.length),this[e]*16777216+(this[e+1]<<16|this[e+2]<<8|this[e+3])};c.prototype.readIntLE=function(e,t,n){e=e>>>0,t=t>>>0,n||w(e,t,this.length);for(var i=this[e],o=1,a=0;++a<t&&(o*=256);)i+=this[e+a]*o;return o*=128,i>=o&&(i-=Math.pow(2,8*t)),i};c.prototype.readIntBE=function(e,t,n){e=e>>>0,t=t>>>0,n||w(e,t,this.length);for(var i=t,o=1,a=this[e+--i];i>0&&(o*=256);)a+=this[e+--i]*o;return o*=128,a>=o&&(a-=Math.pow(2,8*t)),a};c.prototype.readInt8=function(e,t){return e=e>>>0,t||w(e,1,this.length),this[e]&128?(255-this[e]+1)*-1:this[e]};c.prototype.readInt16LE=function(e,t){e=e>>>0,t||w(e,2,this.length);var n=this[e]|this[e+1]<<8;return n&32768?n|4294901760:n};c.prototype.readInt16BE=function(e,t){e=e>>>0,t||w(e,2,this.length);var n=this[e+1]|this[e]<<8;return n&32768?n|4294901760:n};c.prototype.readInt32LE=function(e,t){return e=e>>>0,t||w(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24};c.prototype.readInt32BE=function(e,t){return e=e>>>0,t||w(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]};c.prototype.readFloatLE=function(e,t){return e=e>>>0,t||w(e,4,this.length),z.read(this,e,!0,23,4)};c.prototype.readFloatBE=function(e,t){return e=e>>>0,t||w(e,4,this.length),z.read(this,e,!1,23,4)};c.prototype.readDoubleLE=function(e,t){return e=e>>>0,t||w(e,8,this.length),z.read(this,e,!0,52,8)};c.prototype.readDoubleBE=function(e,t){return e=e>>>0,t||w(e,8,this.length),z.read(this,e,!1,52,8)};function b(r,e,t,n,i,o){if(!c.isBuffer(r))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>i||e<o)throw new RangeError('"value" argument is out of bounds');if(t+n>r.length)throw new RangeError("Index out of range")}c.prototype.writeUintLE=c.prototype.writeUIntLE=function(e,t,n,i){if(e=+e,t=t>>>0,n=n>>>0,!i){var o=Math.pow(2,8*n)-1;b(this,e,t,n,o,0)}var a=1,u=0;for(this[t]=e&255;++u<n&&(a*=256);)this[t+u]=e/a&255;return t+n};c.prototype.writeUintBE=c.prototype.writeUIntBE=function(e,t,n,i){if(e=+e,t=t>>>0,n=n>>>0,!i){var o=Math.pow(2,8*n)-1;b(this,e,t,n,o,0)}var a=n-1,u=1;for(this[t+a]=e&255;--a>=0&&(u*=256);)this[t+a]=e/u&255;return t+n};c.prototype.writeUint8=c.prototype.writeUInt8=function(e,t,n){return e=+e,t=t>>>0,n||b(this,e,t,1,255,0),this[t]=e&255,t+1};c.prototype.writeUint16LE=c.prototype.writeUInt16LE=function(e,t,n){return e=+e,t=t>>>0,n||b(this,e,t,2,65535,0),this[t]=e&255,this[t+1]=e>>>8,t+2};c.prototype.writeUint16BE=c.prototype.writeUInt16BE=function(e,t,n){return e=+e,t=t>>>0,n||b(this,e,t,2,65535,0),this[t]=e>>>8,this[t+1]=e&255,t+2};c.prototype.writeUint32LE=c.prototype.writeUInt32LE=function(e,t,n){return e=+e,t=t>>>0,n||b(this,e,t,4,4294967295,0),this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=e&255,t+4};c.prototype.writeUint32BE=c.prototype.writeUInt32BE=function(e,t,n){return e=+e,t=t>>>0,n||b(this,e,t,4,4294967295,0),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=e&255,t+4};c.prototype.writeIntLE=function(e,t,n,i){if(e=+e,t=t>>>0,!i){var o=Math.pow(2,8*n-1);b(this,e,t,n,o-1,-o)}var a=0,u=1,m=0;for(this[t]=e&255;++a<n&&(u*=256);)e<0&&m===0&&this[t+a-1]!==0&&(m=1),this[t+a]=(e/u>>0)-m&255;return t+n};c.prototype.writeIntBE=function(e,t,n,i){if(e=+e,t=t>>>0,!i){var o=Math.pow(2,8*n-1);b(this,e,t,n,o-1,-o)}var a=n-1,u=1,m=0;for(this[t+a]=e&255;--a>=0&&(u*=256);)e<0&&m===0&&this[t+a+1]!==0&&(m=1),this[t+a]=(e/u>>0)-m&255;return t+n};c.prototype.writeInt8=function(e,t,n){return e=+e,t=t>>>0,n||b(this,e,t,1,127,-128),e<0&&(e=255+e+1),this[t]=e&255,t+1};c.prototype.writeInt16LE=function(e,t,n){return e=+e,t=t>>>0,n||b(this,e,t,2,32767,-32768),this[t]=e&255,this[t+1]=e>>>8,t+2};c.prototype.writeInt16BE=function(e,t,n){return e=+e,t=t>>>0,n||b(this,e,t,2,32767,-32768),this[t]=e>>>8,this[t+1]=e&255,t+2};c.prototype.writeInt32LE=function(e,t,n){return e=+e,t=t>>>0,n||b(this,e,t,4,2147483647,-2147483648),this[t]=e&255,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24,t+4};c.prototype.writeInt32BE=function(e,t,n){return e=+e,t=t>>>0,n||b(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=e&255,t+4};function Je(r,e,t,n,i,o){if(t+n>r.length)throw new RangeError("Index out of range");if(t<0)throw new RangeError("Index out of range")}function er(r,e,t,n,i){return e=+e,t=t>>>0,i||Je(r,e,t,4,34028234663852886e22,-34028234663852886e22),z.write(r,e,t,n,23,4),t+4}c.prototype.writeFloatLE=function(e,t,n){return er(this,e,t,!0,n)};c.prototype.writeFloatBE=function(e,t,n){return er(this,e,t,!1,n)};function rr(r,e,t,n,i){return e=+e,t=t>>>0,i||Je(r,e,t,8,17976931348623157e292,-17976931348623157e292),z.write(r,e,t,n,52,8),t+8}c.prototype.writeDoubleLE=function(e,t,n){return rr(this,e,t,!0,n)};c.prototype.writeDoubleBE=function(e,t,n){return rr(this,e,t,!1,n)};c.prototype.copy=function(e,t,n,i){if(!c.isBuffer(e))throw new TypeError("argument should be a Buffer");if(n||(n=0),!i&&i!==0&&(i=this.length),t>=e.length&&(t=e.length),t||(t=0),i>0&&i<n&&(i=n),i===n||e.length===0||this.length===0)return 0;if(t<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw new RangeError("Index out of range");if(i<0)throw new RangeError("sourceEnd out of bounds");i>this.length&&(i=this.length),e.length-t<i-n&&(i=e.length-t+n);var o=i-n;return this===e&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(t,n,i):Uint8Array.prototype.set.call(e,this.subarray(n,i),t),o};c.prototype.fill=function(e,t,n,i){if(typeof e=="string"){if(typeof t=="string"?(i=t,t=0,n=this.length):typeof n=="string"&&(i=n,n=this.length),i!==void 0&&typeof i!="string")throw new TypeError("encoding must be a string");if(typeof i=="string"&&!c.isEncoding(i))throw new TypeError("Unknown encoding: "+i);if(e.length===1){var o=e.charCodeAt(0);(i==="utf8"&&o<128||i==="latin1")&&(e=o)}}else typeof e=="number"?e=e&255:typeof e=="boolean"&&(e=Number(e));if(t<0||this.length<t||this.length<n)throw new RangeError("Out of range index");if(n<=t)return this;t=t>>>0,n=n===void 0?this.length:n>>>0,e||(e=0);var a;if(typeof e=="number")for(a=t;a<n;++a)this[a]=e;else{var u=c.isBuffer(e)?e:c.from(e,i),m=u.length;if(m===0)throw new TypeError('The value "'+e+'" is invalid for argument "value"');for(a=0;a<n-t;++a)this[a+t]=u[a%m]}return this};var Rt=/[^+/0-9A-Za-z-_]/g;function Lt(r){if(r=r.split("=")[0],r=r.trim().replace(Rt,""),r.length<2)return"";for(;r.length%4!==0;)r=r+"=";return r}function be(r,e){e=e||1/0;for(var t,n=r.length,i=null,o=[],a=0;a<n;++a){if(t=r.charCodeAt(a),t>55295&&t<57344){if(!i){if(t>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=t;continue}if(t<56320){(e-=3)>-1&&o.push(239,191,189),i=t;continue}t=(i-55296<<10|t-56320)+65536}else i&&(e-=3)>-1&&o.push(239,191,189);if(i=null,t<128){if((e-=1)<0)break;o.push(t)}else if(t<2048){if((e-=2)<0)break;o.push(t>>6|192,t&63|128)}else if(t<65536){if((e-=3)<0)break;o.push(t>>12|224,t>>6&63|128,t&63|128)}else if(t<1114112){if((e-=4)<0)break;o.push(t>>18|240,t>>12&63|128,t>>6&63|128,t&63|128)}else throw new Error("Invalid code point")}return o}function Ft(r){for(var e=[],t=0;t<r.length;++t)e.push(r.charCodeAt(t)&255);return e}function Ct(r,e){for(var t,n,i,o=[],a=0;a<r.length&&!((e-=2)<0);++a)t=r.charCodeAt(a),n=t>>8,i=t%256,o.push(i),o.push(n);return o}function tr(r){return Te.toByteArray(Lt(r))}function se(r,e,t,n){for(var i=0;i<n&&!(i+t>=e.length||i>=r.length);++i)e[i+t]=r[i];return i}function N(r,e){return r instanceof e||r!=null&&r.constructor!=null&&r.constructor.name!=null&&r.constructor.name===e.name}function Se(r){return r!==r}var Ot=function(){for(var r="0123456789abcdef",e=new Array(256),t=0;t<16;++t)for(var n=t*16,i=0;i<16;++i)e[n+i]=r[t]+r[i];return e}()});var cr=ie((vn,sr)=>{s();var T=sr.exports={},A,D;function Ee(){throw new Error("setTimeout has not been defined")}function Ie(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?A=setTimeout:A=Ee}catch(r){A=Ee}try{typeof clearTimeout=="function"?D=clearTimeout:D=Ie}catch(r){D=Ie}})();function ir(r){if(A===setTimeout)return setTimeout(r,0);if((A===Ee||!A)&&setTimeout)return A=setTimeout,setTimeout(r,0);try{return A(r,0)}catch(e){try{return A.call(null,r,0)}catch(t){return A.call(this,r,0)}}}function Pt(r){if(D===clearTimeout)return clearTimeout(r);if((D===Ie||!D)&&clearTimeout)return D=clearTimeout,clearTimeout(r);try{return D(r)}catch(e){try{return D.call(null,r)}catch(t){return D.call(this,r)}}}var F=[],K=!1,V,ce=-1;function Bt(){!K||!V||(K=!1,V.length?F=V.concat(F):ce=-1,F.length&&or())}function or(){if(!K){var r=ir(Bt);K=!0;for(var e=F.length;e;){for(V=F,F=[];++ce<e;)V&&V[ce].run();ce=-1,e=F.length}V=null,K=!1,Pt(r)}}T.nextTick=function(r){var e=new Array(arguments.length-1);if(arguments.length>1)for(var t=1;t<arguments.length;t++)e[t-1]=arguments[t];F.push(new ar(r,e)),F.length===1&&!K&&ir(or)};function ar(r,e){this.fun=r,this.array=e}ar.prototype.run=function(){this.fun.apply(null,this.array)};T.title="browser";T.browser=!0;T.env={};T.argv=[];T.version="";T.versions={};function C(){}T.on=C;T.addListener=C;T.once=C;T.off=C;T.removeListener=C;T.removeAllListeners=C;T.emit=C;T.prependListener=C;T.prependOnceListener=C;T.listeners=function(r){return[]};T.binding=function(r){throw new Error("process.binding is not supported")};T.cwd=function(){return"/"};T.chdir=function(r){throw new Error("process.chdir is not supported")};T.umask=function(){return 0}});var l,p,kn,s=nt(()=>{l=E(nr()),p=E(cr()),kn=function(r){function e(){var n=this||self;return delete r.prototype.__magic__,n}if(typeof globalThis=="object")return globalThis;if(this)return e();r.defineProperty(r.prototype,"__magic__",{configurable:!0,get:e});var t=__magic__;return t}(Object)});var hn={};it(hn,{getEventListDataHexValue:()=>Ut,getEventListHighlight:()=>Mt,getOperationDirection:()=>Gt,getOperationList:()=>zr,getScResultsDecodedData:()=>Vt,getScResultsHighlight:()=>Wt,getScamFlag:()=>Ht,getShardText:()=>qt,getTextWithLinks:()=>ur,getTransactionActionNftText:()=>Yt,getTransactionActionTokenText:()=>Zt,getTransactionFee:()=>Qt,getTransactionLinkWithLabel:()=>Jt,getTransactionMessages:()=>rn,getTransactionStatus:()=>nn,getTransactionStatusText:()=>on,getTrimmedHash:()=>an,getVisibleOperations:()=>sn,internalTransactionActions:()=>qr,transactionActionUnwrapper:()=>cn,useDataDecode:()=>mn,useDataDecodeMethod:()=>gn,useGetOperationList:()=>fn});module.exports=ot(hn);s();s();var Ut=r=>l.Buffer.from(String(r==null?void 0:r.data),"base64").toString("hex");s();var Mt=(r,e)=>{var u;let n=(window==null?void 0:window.location.hash).split("/"),i=n[0]?n[0].replace("#",""):"",o=(u=n[1])!=null?u:0;return i===e&&r.order===Number(o)};s();s();var Ne=(n=>(n.nft="nft",n.esdt="esdt",n.egld="egld",n))(Ne||{});var B=(i=>(i.raw="raw",i.text="text",i.decimal="decimal",i.smart="smart",i))(B||{});var Gt=({operation:r,address:e})=>{let t=e===r.sender,n=e===r.receiver,i=t&&n,o=!i,a="";switch(!0){case t:a="Out";break;case n:a="In";break;case i:a="Self";break;case o:a="Internal";break}return{direction:a}};s();s();s();function le(r){for(let e=0;e<r.length;e++)if(r.charCodeAt(e)>127)return!1;return!0}function Ae(r){let e=r;try{let t=l.Buffer.from(r,"hex").toString();le(t)&&t.length>1&&(e=t)}catch(t){}return e}var Vt=r=>{let e=l.Buffer.from(r,"base64").toString().split("@");return e.length>=2&&(e[0].length>0?e[0]=Ae(e[0]):e[1]=Ae(e[1])),e.join("@")};s();var Wt=r=>{let e=window==null?void 0:window.location.hash;return e.substring(0,e.indexOf("/")>0?e.indexOf("/"):e.length).replace("#","")===r};s();var lr=E(require("linkifyjs")),ur=r=>{let e=lr.find(r);if(!e.length)return{textWithLinks:r,hasLinks:!1};let t=r;for(let n of e){let i=r.substring(n.start,n.end);t=t.replace(i,n.value)}return{textWithLinks:t,hasLinks:!0}},Ht=({message:r,scamInfo:e,isNsfw:t,verified:n,messagePrefix:i="Message hidden due to suspicious content - "})=>{var m;if(n)return{message:"",textWithLinks:"",isSuspicious:!1};let o=`${i}${(m=e==null?void 0:e.info)!=null?m:"suspicious content"}`,{textWithLinks:a,hasLinks:u}=ur(r);return u||t||e?{message:o,textWithLinks:a,isSuspicious:!0}:{message:"",textWithLinks:a,isSuspicious:!1}};s();s();s();s();s();s();s();s();s();s();s();s();s();var De={devnet:{id:"devnet",chainId:"D",name:"Devnet",egldLabel:"xEGLD",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"https://maiar.page.link/?apn=com.elrond.maiar.wallet&isi=1519405832&ibi=com.elrond.maiar.wallet&link=https://xportal.com/",walletConnectBridgeAddresses:["https://bridge.walletconnect.org"],walletConnectV2RelayAddresses:["wss://relay.walletconnect.com"],walletAddress:"https://devnet-wallet.multiversx.com",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:pr,egldLabel:Jn}=De["devnet"],{chainId:dr,egldLabel:ei}=De["testnet"],{chainId:mr,egldLabel:ri}=De["mainnet"];var ti={["devnet"]:pr,["testnet"]:dr,["mainnet"]:mr},ni={[pr]:"devnet",[dr]:"testnet",[mr]:"mainnet"};s();s();s();s();var _=require("@multiversx/sdk-web-wallet-provider");s();var R=18,J=4;var gr=4294967295,fr=4294967280;var hr="refundedGas";var Y="0";var qt=r=>{let e=r;typeof e=="string"&&e.includes("Shard")&&(e=e.replace("Shard","").replace(" ",""));let t=gr.toString()===String(e).toString()||String(e)==="metachain",n=fr.toString()===String(e).toString();return t?"Metachain":n?"All Shards":`Shard ${e}`};s();s();s();s();s();var Tr=require("@multiversx/sdk-core"),U=E(require("bignumber.js"));s();var yr=E(require("bignumber.js")),_e=(r,e=!0)=>{let t=String(r);if(!t.match(/^[-]?\d+$/))return!1;let n=new yr.default(t),i=e?0:-1;return n.toString(10)===t&&n.comparedTo(0)>=i};s();function O(r){return{if:function(e){return e?{then:t=>t instanceof Function?O(t(r)):O(t)}:{then:()=>O(r)}},then:e=>e instanceof Function?O(e(r)):O(e),valueOf:function(){return r}}}U.default.config({ROUNDING_MODE:U.default.ROUND_FLOOR});function W({input:r,decimals:e=R,digits:t=J,showLastNonZeroDecimal:n=!0,showIsLessThanDecimalsLabel:i=!1,addCommas:o=!1}){if(!_e(r,!1))throw new Error("Invalid input");let a=new U.default(r).isNegative(),u=r;return a&&(u=r.substring(1)),O(u).then(()=>Tr.TokenPayment.fungibleFromBigInteger("",u,e).toRationalNumber()).then(m=>{let g=new U.default(m);if(g.isZero())return Y;let f=g.toString(10),[h,y]=f.split("."),x=new U.default(y||0),k=O(0).if(Boolean(y&&n)).then(()=>Math.max(y.length,t)).if(x.isZero()&&!n).then(0).if(Boolean(y&&!n)).then(()=>Math.min(y.length,t)).valueOf(),q=y&&t>=1&&t<=y.length&&x.isGreaterThan(0)&&new U.default(y.substring(0,t)).isZero(),jr=g.toFormat(k);return O(f).if(o).then(jr).if(Boolean(q)).then(re=>{let X=new U.default(h).isZero(),[S,te]=re.split("."),ne=new Array(t-1).fill(0),Kr=[...ne,0].join(""),Yr=[...ne,1].join("");return X?i?`<${S}.${Yr}`:n?`${S}.${te}`:S:`${S}.${Kr}`}).if(Boolean(!q&&y)).then(re=>{let[X]=re.split("."),S=y.substring(0,k);if(n){let te=t-S.length;if(te>0){let ne=Array(te).fill(0).join("");return S=`${S}${ne}`,`${X}.${S}`}return re}return S?`${X}.${S}`:X}).valueOf()}).if(a).then(m=>`-${m}`).valueOf()}s();s();var zt=require("@multiversx/sdk-core");s();var ee=require("@multiversx/sdk-core"),Kt=require("@multiversx/sdk-network-providers");s();s();var jt=E(require("bignumber.js"));s();s();s();s();s();s();s();var M="accounts";var xr="blocks",wr="code",br="collections";var vr="contracts";var kr="identities";var Sr="locked-accounts",Er="logs",Ir="miniblocks";var Re="nfts",Nr="nodes",Le="providers",Ar="roles",Fe="sc-results";var Z="tokens";var H="transactions";var ue={shard:r=>`/${xr}?shard=${r}`,receiverShard:r=>`/${H}?receivershard=${r}`,senderShard:r=>`/${H}?sendershard=${r}`,transactionDetails:r=>`/${H}/${r}`,transactionDetailsScResults:r=>`/${H}/${r}/${Fe}`,transactionDetailsLogs:r=>`/${H}/${r}/${Er}`,nodeDetails:r=>`/${Nr}/${r}`,accountDetails:r=>`/${M}/${r}`,accountDetailsContractCode:r=>`/${M}/${r}/${wr}`,accountDetailsTokens:r=>`/${M}/${r}/${Z}`,accountDetailsNfts:r=>`/${M}/${r}/${Re}`,accountDetailsScResults:r=>`/${M}/${r}/${Fe}`,accountDetailsContracts:r=>`/${M}/${r}/${vr}`,identityDetails:r=>`/${kr}/${r}`,tokenDetails:r=>`/${Z}/${r}`,tokenDetailsAccounts:r=>`/${Z}/${r}/${M}`,tokenDetailsLockedAccounts:r=>`/${Z}/${r}/${Sr}`,tokenDetailsRoles:r=>`/${Z}/${r}/${Ar}`,collectionDetails:r=>`/${br}/${r}`,nftDetails:r=>`/${Re}/${r}`,providerDetails:r=>`/${Le}/${r}`,providerDetailsTransactions:r=>`/${Le}/${r}/${H}`,miniblockDetails:r=>`/${Ir}/${r}`};function Yt({token:r,noValue:e,showLastNonZeroDecimal:t}){var g;let n=!e&&r.value&&r.type!=="NonFungibleESDT",i=r.decimals!=null,o="";r.type==="NonFungibleESDT"&&(o="NFT"),r.type==="SemiFungibleESDT"&&(o="SFT"),r.type==="MetaESDT"&&(o="Meta-ESDT");let a="";n&&i&&(a=i?W({input:r.value,decimals:r.decimals,digits:2,showLastNonZeroDecimal:t}):Number(r.value).toLocaleString("en"));let u=ue.nftDetails(String(r.identifier)),m=r.ticker===r.collection&&(g=r.identifier)!=null?g:r.ticker;return{badgeText:o,tokenFormattedAmount:n?a:null,tokenExplorerLink:u,tokenLinkText:m,token:r,noValue:e,showLastNonZeroDecimal:t}}s();function Zt({token:r,noValue:e,showLastNonZeroDecimal:t}){var u;let n=Boolean(!e&&r.value),i=n?W({input:r.value,decimals:(u=r.decimals)!=null?u:R,digits:2,showLastNonZeroDecimal:t,addCommas:!0}):null,o=ue.tokenDetails(String(r.token)),a=r.ticker;return{tokenExplorerLink:o,tokenFormattedAmount:i,showFormattedAmount:n,tokenLinkText:a,token:r,showLastNonZeroDecimal:t}}s();var Ce=E(require("bignumber.js")),Xt=r=>{let e=new Ce.default(r.gasPrice),t=new Ce.default(r.gasUsed);return e.times(t).toString()};function Qt(r){return r.fee?r.fee:r.gasUsed===void 0?null:Xt(r)}s();var Jt=({transaction:r,direction:e})=>{var m;let t=e==="Internal",n=r.sender;if(t)return{link:(m=r.links.senderLink)!=null?m:"",label:"Smart Contract transaction",address:n};let i=e==="Out",o=i?r.links.receiverLink:r.links.senderLink,a="";return e==="Self"&&r.receiverAssets?a=r.receiverAssets.name:(n=i?r.receiver:r.sender,a=i?"To:":"From:"),{label:a,address:n,link:o!=null?o:""}};s();s();function Dr(r){var e,t;return(t=(e=r==null?void 0:r.operations)==null?void 0:e.map(n=>n.message).filter(n=>Boolean(n)))!=null?t:[]}s();var _r=E(require("bignumber.js"));var en=r=>{var e,t;if(!((e=r.receipt)!=null&&e.value))return"";if(((t=r.receipt)==null?void 0:t.data)===hr){let n=W({input:r.receipt.value,decimals:R,digits:J,showLastNonZeroDecimal:!0});return new _r.default(n).times(r.gasPrice).times(100).toFixed()}return r.receipt.value};function Rr(r){var i;let e=(i=r.receipt)==null?void 0:i.data;if(!e)return"";let t=en(r),n=t?`: ${t}`:"";return`${e}${n}`}s();function Oe(r){var e,t;return(t=(e=r==null?void 0:r.results)==null?void 0:e.map(n=>n.returnMessage).filter(n=>Boolean(n)))!=null?t:[]}function rn(r){return Array.from(new Set([...Oe(r),...Dr(r),Rr(r)])).filter(t=>Boolean(t))}s();function nn(r){let e=a=>r.status.toLowerCase()===a.toLowerCase(),t=e("fail")||e("reward-reverted"),n=e("success"),i=e("not executed")||e("invalid"),o=e("pending")||r.pendingResults;return{failed:t,success:n,invalid:i,pending:o}}s();var on=r=>{switch(!0){case r.pendingResults:return"Pending (Smart Contract Execution)";case r.status==="reward-reverted":return"fail";default:return r.status.toString()}};s();var an=(r,e=4)=>`${r.substring(0,Math.floor(r.length/e))}...${r.substring(r.length-Math.ceil(r.length/e))}`;s();var sn=r=>{var t,n;return(n=(t=r==null?void 0:r.operations)==null?void 0:t.filter(i=>Object.values(Ne).includes(i.type)))!=null?n:[]};s();s();s();var Fr=r=>{var e,t;switch(r.name){case"transfer":return["Transfer",{token:(e=r.arguments)==null?void 0:e.transfers},"to",{address:(t=r.arguments)==null?void 0:t.receiver}];default:return[]}};s();var Cr=E(require("bignumber.js"));var Or=r=>{var e,t,n,i,o,a,u,m,g,f,h,y;switch(r.name){case"claimLockedAssets":return["Claim locked assets"];case"enterFarm":case"enterFarmProxy":return["Enter farm with",{token:(e=r.arguments)==null?void 0:e.transfers}];case"enterFarmAndLockRewards":case"enterFarmAndLockRewardsProxy":return["Enter farm and lock rewards with",{token:(t=r.arguments)==null?void 0:t.transfers}];case"exitFarm":case"exitFarmProxy":return["Exit farm with",{token:(n=r.arguments)==null?void 0:n.transfers}];case"claimRewards":case"claimRewardsProxy":return["Claim rewards",{token:(i=r.arguments)==null?void 0:i.transfers}];case"compoundRewards":case"compoundRewardsProxy":return["Reinvest rewards",{token:(o=r.arguments)==null?void 0:o.transfers}];case"swapTokensFixedInput":case"swap":return r.description?[r.description]:[];case"swapTokensFixedOutput":return r.description?[r.description]:[];case"addLiquidity":case"addLiquidityProxy":return["Added liquidity for",{token:[(a=r.arguments)==null?void 0:a.transfers[0]]},"and",{token:[(u=r.arguments)==null?void 0:u.transfers[1]]}];case"removeLiquidity":case"removeLiquidityProxy":return["Removed liquidity with ",{token:(m=r.arguments)==null?void 0:m.transfers}];case"mergeLockedAssetTokens":let x=Y;if((g=r.arguments)!=null&&g.transfers){let k=r.arguments.transfers.map(({value:q})=>q);x=Cr.default.sum.apply(null,k).toString(10)}return[`Merge ${(f=r.arguments)==null?void 0:f.transfers.length}`,{tokenNoLink:[(h=r.arguments)==null?void 0:h.transfers[0]]},"positions into a single",{tokenNoLink:[(y=r.arguments)==null?void 0:y.transfers[0]]},"position of value",{value:x}];case"wrapEgld":case"unwrapEgld":default:return r.description?[r.description]:[]}};s();var Pr=r=>{var e,t,n,i,o,a,u,m,g,f,h,y;switch(r.name){case"delegate":case"stake":return["Delegate",{egldValue:(e=r.arguments)==null?void 0:e.value},"to staking provider",{providerName:(t=r.arguments)==null?void 0:t.providerName,providerAvatar:(n=r.arguments)==null?void 0:n.providerAvatar}];case"unDelegate":return["Undelegate",{egldValue:(i=r.arguments)==null?void 0:i.value},"from staking provider",{providerName:(o=r.arguments)==null?void 0:o.providerName,providerAvatar:(a=r.arguments)==null?void 0:a.providerAvatar}];case"claimRewards":return["Claim rewards from staking provider",{providerName:(u=r.arguments)==null?void 0:u.providerName,providerAvatar:(m=r.arguments)==null?void 0:m.providerAvatar}];case"reDelegateRewards":return["Redelegate rewards from staking provider",{providerName:(g=r.arguments)==null?void 0:g.providerName,providerAvatar:(f=r.arguments)==null?void 0:f.providerAvatar}];case"withdraw":return["Withdraw from staking provider",{providerName:(h=r.arguments)==null?void 0:h.providerName,providerAvatar:(y=r.arguments)==null?void 0:y.providerAvatar}];default:return[]}};var cn=r=>{if(!r.arguments)return r.description?[r.description]:[r.name];switch(r.category){case"esdtNft":return Fr(r);case"mex":return Or(r);case"stake":return Pr(r);default:return r.description?[r.description]:[]}};s();var de=require("react");s();s();s();s();var $r=require("@multiversx/sdk-core/out"),Pe=E(require("bignumber.js"));s();var Br=require("@multiversx/sdk-core");function ln(r){try{let e=new Br.Address(r);return Boolean(e.bech32())}catch(e){return!1}}function Ur(r){return(r==null?void 0:r.startsWith("erd"))&&r.length===62&&/^\w+$/.test(r)&&ln(r)}s();s();s();var Mr=r=>/\d/.test(r);var P=(r,e,t)=>{try{switch(e){case"text":return Mr(r)?l.Buffer.from(r,"hex").toString("utf8"):r;case"decimal":return new Pe.default(r,16).toString(10);case"smart":let i=$r.Address.fromHex(r).toString();if(Ur(i))return i;let o=l.Buffer.from(r,"hex").toString("utf8");return le(o)||t&&[...t.esdts,...t.nfts].some(m=>o.includes(m))?o:new Pe.default(r,16).toString(10);case"raw":default:return r}}catch(n){return console.error(`Error during data decoding of "${r}" as "${e}"`,n),r}};s();s();var un=r=>r.toLowerCase().match(/[0-9a-f]/g),pn=r=>r.length%2===0,Gr=r=>{let e=[];return r&&!un(r)&&e.push(`Invalid Hex characters on argument @${r}`),r&&!pn(r)&&e.push(`Odd number of Hex characters on argument @${r}`),e};s();var pe=({parts:r,decodedParts:e,identifier:t})=>{let n=[...e];if(r[0]==="ESDTNFTTransfer"&&r[2]&&(n[2]=P(r[2],"decimal")),t==="ESDTNFTTransfer"&&r[1]){let i=l.Buffer.from(String(r[1]),"base64");n[1]=P(i.toString("hex"),"decimal")}return n};var Vr=({parts:r,decodeMethod:e,identifier:t,display:n})=>{let i=r.map((o,a)=>{if(r.length>=2&&(a===0&&o.length<64||a===1&&!r[0]))return/[^a-z0-9]/gi.test(o)?P(o,e):o;{let u=Gr(o);return u.length&&(n.validationWarnings=Array.from(new Set([...n.validationWarnings,...u]))),P(o,e)}});return e==="smart"?pe({parts:r,decodedParts:i,identifier:t}):i};var Wr=({input:r,decodeMethod:e,identifier:t})=>{let n={displayValue:"",validationWarnings:[]};if(r.includes("@")){let i=r.split("@"),o=Vr({parts:i,identifier:t,decodeMethod:e,display:n});return n.displayValue=o.join("@"),n}if(r.includes(`
|
|
2
2
|
`)){let i=r.split(`
|
|
3
3
|
`),o=i.map(u=>{let m=l.Buffer.from(String(u),"base64");return e==="raw"?u:P(m.toString("hex"),e)}),a=e==="smart"?pe({parts:i,decodedParts:o,identifier:t}):o;return n.displayValue=a.join(`
|
|
4
4
|
`),n}return n.displayValue=P(r,e),n};var dn=[{label:"Raw",value:"raw"},{label:"Text",value:"text"},{label:"Decimal",value:"decimal"},{label:"Smart",value:"smart"}],mn=({value:r,initialDecodeMethod:e,setDecodeMethod:t,identifier:n})=>{let[i,o]=(0,de.useState)(e&&Object.values(B).includes(e)?e:"raw"),{displayValue:a,validationWarnings:u}=Wr({input:r,decodeMethod:i,identifier:n});return(0,de.useEffect)(()=>{t&&t(i)},[i]),{displayValue:a,validationWarnings:u,setActiveKey:o,decodeOptions:dn}};s();var me=require("react");var gn=()=>{let r=window==null?void 0:window.location.hash,e=window==null?void 0:window.location.pathname,t=r.replace("#",""),n=t&&Object.values(B).includes(t)?t:"raw",[i,o]=(0,me.useState)(t);return(0,me.useEffect)(()=>{i&&i!=="raw"&&(window==null||window.history.replaceState({},document==null?void 0:document.title,`${e}#${i}`))},[i,e]),{initialDecodeMethod:n,decodeMethod:i,setDecodeMethod:o}};s();var Hr=require("react");var qr=["create","localMint","ESDTLocalMint","addQuantity","burn","localBurn","ESDTLocalBurn","wipe","writeLog","signalError"];function zr({operations:r,transaction:e,isExpanded:t=!1,listLength:n=25}){let i=r.filter(f=>!qr.includes(f.action)&&(f.sender===e.sender||f.receiver===e.sender)),o=i.length>0?i:r,a=o.length>n?o.slice(0,n):o,u=o.length>n?o.slice(n,o.length):[],m=t?i.length>0?"Show in/out operations":"Show fewer operations":"Show all operations",g=a.length!==r.length||u.length>0;return{displayedOperations:t?r:a,toggleButtonText:m,showToggleButton:g}}function fn(r){let[e,t]=(0,Hr.useState)(!1),n=()=>{t(u=>!u)},{displayedOperations:i,showToggleButton:o,toggleButtonText:a}=zr(fe(ge({},r),{isExpanded:e}));return{isExpanded:e,displayedOperations:i,showToggleButton:o,toggleButtonText:a,onToggleButtonClick:n}}0&&(module.exports={getEventListDataHexValue,getEventListHighlight,getOperationDirection,getOperationList,getScResultsDecodedData,getScResultsHighlight,getScamFlag,getShardText,getTextWithLinks,getTransactionActionNftText,getTransactionActionTokenText,getTransactionFee,getTransactionLinkWithLabel,getTransactionMessages,getTransactionStatus,getTransactionStatusText,getTrimmedHash,getVisibleOperations,internalTransactionActions,transactionActionUnwrapper,useDataDecode,useDataDecodeMethod,useGetOperationList});
|