@multiversx/sdk-dapp 2.12.7 → 2.12.8
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/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/components/SignStepBody.js +1 -1
- package/UI/SignTransactionsModals/SignWithDeviceModal/components/index.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/index.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-LBX3NVTC.js → chunk-25TTQGEX.js} +2 -2
- package/__chunks__/chunk-2BLNKKQV.js +2 -0
- package/__chunks__/chunk-2BTY3EO2.js +2 -0
- package/__chunks__/{chunk-KWX447BW.js → chunk-2PENUQYV.js} +2 -2
- package/__chunks__/{chunk-43KKXRC2.js → chunk-2PHNBV5S.js} +2 -2
- package/__chunks__/{chunk-OQEMXMDD.js → chunk-2SLPJGXG.js} +2 -2
- package/__chunks__/{chunk-HFQEDJ2B.js → chunk-3HZD5T6Q.js} +2 -2
- package/__chunks__/chunk-3LVHX56S.js +2 -0
- package/__chunks__/chunk-3OGDWVO7.js +2 -0
- package/__chunks__/{chunk-3JQJVPDO.js → chunk-3R7ET7XL.js} +2 -2
- package/__chunks__/chunk-3THCFE3J.js +2 -0
- package/__chunks__/{chunk-N2ZBQYKD.js → chunk-3WFJFXHY.js} +2 -2
- package/__chunks__/{chunk-BVZVVWO6.js → chunk-4CAZDF4D.js} +2 -2
- package/__chunks__/{chunk-KRXH6FKC.js → chunk-4FE3KVGP.js} +2 -2
- package/__chunks__/{chunk-WXFYRHD2.js → chunk-4JYZVFIV.js} +2 -2
- package/__chunks__/{chunk-ZMLTCUNQ.js → chunk-4KYCLIP2.js} +2 -2
- package/__chunks__/{chunk-A44Y55F7.js → chunk-4TCBBUSU.js} +2 -2
- package/__chunks__/{chunk-WROIAT2N.js → chunk-53Z7RDHU.js} +2 -2
- package/__chunks__/{chunk-WG2WVJQW.js → chunk-54KIELDE.js} +2 -2
- package/__chunks__/{chunk-7STA5D2T.js → chunk-56B7W2CE.js} +2 -2
- package/__chunks__/{chunk-4DGKR73R.js → chunk-56SUHXO3.js} +2 -2
- package/__chunks__/{chunk-LMH5D7PO.js → chunk-57NMXSRH.js} +2 -2
- package/__chunks__/{chunk-HLLGV3J2.js → chunk-5HZXCEQP.js} +2 -2
- package/__chunks__/{chunk-5RTGGHL7.js → chunk-5ICW6RLY.js} +2 -2
- package/__chunks__/{chunk-UHCLDQPY.js → chunk-5KKL6JIU.js} +2 -2
- package/__chunks__/{chunk-NGTYLR2P.js → chunk-5NDR2D3X.js} +2 -2
- package/__chunks__/chunk-5OHINNEN.js +2 -0
- package/__chunks__/chunk-5OYFXQSK.js +2 -0
- package/__chunks__/{chunk-YISI3TO4.js → chunk-5RPCQPBF.js} +2 -2
- package/__chunks__/{chunk-SINZVRGH.js → chunk-5WVG4JZ7.js} +2 -2
- package/__chunks__/{chunk-A5MGV2PF.js → chunk-5YGIUAD2.js} +2 -2
- package/__chunks__/{chunk-2YAOMBOW.js → chunk-5ZIX54TL.js} +2 -2
- package/__chunks__/{chunk-LNYWXGW7.js → chunk-6BNAALDP.js} +2 -2
- package/__chunks__/{chunk-A4OOIO54.js → chunk-6K4XJH5A.js} +2 -2
- package/__chunks__/{chunk-XD4W6G6Z.js → chunk-6OMJ6CE3.js} +2 -2
- package/__chunks__/{chunk-7CRTEUXQ.js → chunk-6QPBOXBF.js} +2 -2
- package/__chunks__/{chunk-N623YQX6.js → chunk-6WNGX2UB.js} +2 -2
- package/__chunks__/{chunk-RT4HX36Y.js → chunk-74BGZJCF.js} +2 -2
- package/__chunks__/chunk-7ETWKK72.js +2 -0
- package/__chunks__/{chunk-6ACULWGS.js → chunk-7HNXQY2P.js} +2 -2
- package/__chunks__/chunk-7KVNUW4X.js +2 -0
- package/__chunks__/chunk-7N3S4X5Z.js +2 -0
- package/__chunks__/{chunk-WYNDSNTB.js → chunk-7UGNRV3L.js} +2 -2
- package/__chunks__/{chunk-XSU33MQE.js → chunk-7YF2VSF3.js} +2 -2
- package/__chunks__/chunk-7ZSWPMJ4.js +2 -0
- package/__chunks__/{chunk-WUCNNANV.js → chunk-A2CJZ723.js} +2 -2
- package/__chunks__/{chunk-TIQDH77C.js → chunk-AGTRHMNE.js} +2 -2
- package/__chunks__/{chunk-BDZY57A6.js → chunk-AHAGSUXW.js} +2 -2
- package/__chunks__/{chunk-42HHDBSD.js → chunk-AZUNNOQY.js} +2 -2
- package/__chunks__/{chunk-XKNQBRZO.js → chunk-B2SQFN7A.js} +2 -2
- package/__chunks__/{chunk-BZI5U74P.js → chunk-B76A3L37.js} +2 -2
- package/__chunks__/{chunk-M37NJUED.js → chunk-BB2CFNPA.js} +2 -2
- package/__chunks__/{chunk-QMAHFUXC.js → chunk-BKXGJHZ3.js} +2 -2
- package/__chunks__/{chunk-SGTU3REC.js → chunk-BMDDZG5S.js} +2 -2
- package/__chunks__/{chunk-5AT2CLST.js → chunk-BT4VUQHG.js} +2 -2
- package/__chunks__/{chunk-KJYPS4WM.js → chunk-BTVXK5F6.js} +2 -2
- package/__chunks__/chunk-BUNAZAQ2.js +2 -0
- package/__chunks__/{chunk-FX4ZAXUB.js → chunk-BVCSDUY7.js} +2 -2
- package/__chunks__/chunk-BZIYSYBS.js +2 -0
- package/__chunks__/chunk-C2O57ZZ3.js +2 -0
- package/__chunks__/{chunk-C46ILTGH.js → chunk-C3UPWTUL.js} +2 -2
- package/__chunks__/{chunk-INRJLH3K.js → chunk-C4JP2AAG.js} +2 -2
- package/__chunks__/{chunk-BFBJHILF.js → chunk-CE2CKTCJ.js} +2 -2
- package/__chunks__/{chunk-PFR5SUOK.js → chunk-CIY3BJYV.js} +2 -2
- package/__chunks__/{chunk-4NWSTAAZ.js → chunk-CLPQUX3I.js} +2 -2
- package/__chunks__/{chunk-GSAU65SR.js → chunk-CRFC2MYX.js} +1 -1
- package/__chunks__/{chunk-IE3ZZJWG.js → chunk-CS2PI52S.js} +2 -2
- package/__chunks__/{chunk-K4DOQKCI.js → chunk-CSONSW5S.js} +2 -2
- package/__chunks__/{chunk-U3IQKDUV.js → chunk-CXX3IDIG.js} +2 -2
- package/__chunks__/{chunk-D4GAJYCJ.js → chunk-DCD6EPNO.js} +2 -2
- package/__chunks__/{chunk-IB3UZXZV.js → chunk-DEHX5LRO.js} +2 -2
- package/__chunks__/{chunk-B3VMBKYV.js → chunk-DELOCRND.js} +2 -2
- package/__chunks__/{chunk-TPQDDLQV.js → chunk-DHI6DZRI.js} +2 -2
- package/__chunks__/{chunk-KCBVOAE5.js → chunk-DQAQI23Z.js} +2 -2
- package/__chunks__/{chunk-E6MPNKOA.js → chunk-DTARVI54.js} +2 -2
- package/__chunks__/{chunk-PW5QTCOQ.js → chunk-DZG4H2UO.js} +2 -2
- package/__chunks__/{chunk-PZZ4E52R.js → chunk-E2B7GAGB.js} +2 -2
- package/__chunks__/{chunk-2UCCB3MP.js → chunk-E3RKWI4F.js} +2 -2
- package/__chunks__/{chunk-H4XPIFVE.js → chunk-E5LS66QV.js} +2 -2
- package/__chunks__/{chunk-HOXLOOU2.js → chunk-EAK4AGOD.js} +2 -2
- package/__chunks__/{chunk-FBQHXG72.js → chunk-EDS2UEWP.js} +2 -2
- package/__chunks__/{chunk-CXFIBSLH.js → chunk-EHO2KJIN.js} +2 -2
- package/__chunks__/{chunk-3FNKFXI5.js → chunk-EIM6YCMX.js} +2 -2
- package/__chunks__/{chunk-UZUMPS4D.js → chunk-EK6G5G7U.js} +2 -2
- package/__chunks__/{chunk-ZTX5FNGQ.js → chunk-ELJKPLDZ.js} +2 -2
- package/__chunks__/chunk-EPKOUSPT.js +2 -0
- package/__chunks__/{chunk-LINILSAX.js → chunk-ERRCJ5WO.js} +2 -2
- package/__chunks__/{chunk-GXFGHRHG.js → chunk-ESUOJPFZ.js} +2 -2
- package/__chunks__/{chunk-UZJLDHFK.js → chunk-EZYQY5TX.js} +2 -2
- package/__chunks__/{chunk-OSOVIQYW.js → chunk-F5WM6Q4M.js} +2 -2
- package/__chunks__/{chunk-NHCAYUOL.js → chunk-FFPTTQ2Z.js} +2 -2
- package/__chunks__/{chunk-2CXJKNSP.js → chunk-FKMZQ6PI.js} +2 -2
- package/__chunks__/{chunk-VSOXJIE4.js → chunk-FLSN4Q5V.js} +2 -2
- package/__chunks__/{chunk-CM2GINJO.js → chunk-FPFBQQ56.js} +2 -2
- package/__chunks__/{chunk-TTWKANGP.js → chunk-FWJZ5654.js} +2 -2
- package/__chunks__/{chunk-AMMIWVOK.js → chunk-FWMS2ZOY.js} +2 -2
- package/__chunks__/{chunk-H2RDZWXV.js → chunk-G5H7YRBS.js} +2 -2
- package/__chunks__/{chunk-36LSGICN.js → chunk-G6X4KVAY.js} +2 -2
- package/__chunks__/{chunk-54I3HE7Z.js → chunk-GCPJTM3M.js} +2 -2
- package/__chunks__/{chunk-ILQFJH3G.js → chunk-GGBYOLVR.js} +2 -2
- package/__chunks__/{chunk-3WXHT4F4.js → chunk-GXICS4HS.js} +2 -2
- package/__chunks__/{chunk-NKVZAB3K.js → chunk-GZIH5BDU.js} +2 -2
- package/__chunks__/{chunk-WIA67UCL.js → chunk-HC2MOVRO.js} +2 -2
- package/__chunks__/{chunk-J27DLS5B.js → chunk-HI2HYZIX.js} +2 -2
- package/__chunks__/{chunk-OB5OXBGC.js → chunk-HST2GGJ4.js} +2 -2
- package/__chunks__/{chunk-FWQBX5ZR.js → chunk-HTLZKHTZ.js} +2 -2
- package/__chunks__/{chunk-F6BJUWL4.js → chunk-I2SADEBF.js} +2 -2
- package/__chunks__/{chunk-P4JG3FOF.js → chunk-I5UOXQG3.js} +2 -2
- package/__chunks__/{chunk-A7T4ZPNP.js → chunk-IC4MBEJO.js} +2 -2
- package/__chunks__/{chunk-TRJJUI2H.js → chunk-IEO7HJFG.js} +2 -2
- package/__chunks__/{chunk-B76SBLRL.js → chunk-IFU3X6UL.js} +2 -2
- package/__chunks__/{chunk-BWVLB3EN.js → chunk-IGGV5BN5.js} +2 -2
- package/__chunks__/{chunk-I2ESI53D.js → chunk-IIMMZPAX.js} +2 -2
- package/__chunks__/{chunk-PHXT4KGL.js → chunk-ILVOI5JX.js} +2 -2
- package/__chunks__/{chunk-HM4ZNOAG.js → chunk-ILWO7NM5.js} +2 -2
- package/__chunks__/{chunk-UTYB5SVR.js → chunk-IT535HRO.js} +2 -2
- package/__chunks__/{chunk-UH2JJ2OH.js → chunk-ITEK3GYE.js} +2 -2
- package/__chunks__/{chunk-JSEXLEYA.js → chunk-ITKI3OPN.js} +2 -2
- package/__chunks__/{chunk-2JYLGADI.js → chunk-J2T752PE.js} +2 -2
- package/__chunks__/chunk-J3OGDCG6.js +2 -0
- package/__chunks__/chunk-JG3M6MK2.js +2 -0
- package/__chunks__/{chunk-EVT7EQKU.js → chunk-JIOI46EQ.js} +2 -2
- package/__chunks__/{chunk-MEYIRXHK.js → chunk-JRB42IEO.js} +2 -2
- package/__chunks__/{chunk-DR52VSGD.js → chunk-JRYWXEFU.js} +2 -2
- package/__chunks__/{chunk-YCDWRKZR.js → chunk-JTCS3OCP.js} +2 -2
- package/__chunks__/chunk-JXE4FVEW.js +2 -0
- package/__chunks__/{chunk-JURTWYMD.js → chunk-K3YZ6F2M.js} +2 -2
- package/__chunks__/chunk-K6C3JJYH.js +2 -0
- package/__chunks__/{chunk-NJUUQIZ7.js → chunk-K6FG7P75.js} +2 -2
- package/__chunks__/{chunk-U5CE3C53.js → chunk-K7AQ2IOB.js} +2 -2
- package/__chunks__/{chunk-6NACE4ST.js → chunk-KGRMH2D7.js} +2 -2
- package/__chunks__/chunk-KL2XL2VN.js +2 -0
- package/__chunks__/{chunk-KYUV4GGN.js → chunk-KLFHVD2M.js} +2 -2
- package/__chunks__/{chunk-PUXPL4MQ.js → chunk-KOCSFAOU.js} +2 -2
- package/__chunks__/{chunk-2ZZI3WWK.js → chunk-KQWUKJ5U.js} +2 -2
- package/__chunks__/chunk-KTELSCIW.js +2 -0
- package/__chunks__/{chunk-35NDQJYP.js → chunk-KYLDQLLP.js} +2 -2
- package/__chunks__/{chunk-5U7BHTBF.js → chunk-L4V3H4JN.js} +2 -2
- package/__chunks__/{chunk-3F7ZGRBB.js → chunk-L7CJYIRS.js} +2 -2
- package/__chunks__/chunk-LDLA5E7Y.js +2 -0
- package/__chunks__/{chunk-DP5HIL2M.js → chunk-LHPTACPO.js} +2 -2
- package/__chunks__/chunk-LI6PILSE.js +2 -0
- package/__chunks__/{chunk-LY757UDU.js → chunk-LKA7Z7XC.js} +2 -2
- package/__chunks__/{chunk-AQ72WZBJ.js → chunk-LWWTVBER.js} +2 -2
- package/__chunks__/{chunk-XAGUELOI.js → chunk-LXWSWQO6.js} +2 -2
- package/__chunks__/{chunk-CDXLD3UX.js → chunk-LYF73EYO.js} +2 -2
- package/__chunks__/{chunk-LLKFSQJL.js → chunk-LZCS6ZYF.js} +2 -2
- package/__chunks__/{chunk-ZB5LRSUA.js → chunk-M2KURDCA.js} +2 -2
- package/__chunks__/chunk-MCKCARUG.js +2 -0
- package/__chunks__/chunk-MDEPBFNH.js +2 -0
- package/__chunks__/{chunk-UBGMYFYP.js → chunk-MDMDP7M4.js} +2 -2
- package/__chunks__/{chunk-URBTPPJQ.js → chunk-MEXHP4J3.js} +2 -2
- package/__chunks__/{chunk-E2X4CGZA.js → chunk-MGBNT5YC.js} +2 -2
- package/__chunks__/{chunk-EBNTLOIS.js → chunk-MMAQX7PZ.js} +2 -2
- package/__chunks__/{chunk-75DEF6KS.js → chunk-MMCZF45U.js} +2 -2
- package/__chunks__/{chunk-H2BDW4MQ.js → chunk-MV2L3RS5.js} +2 -2
- package/__chunks__/{chunk-UCZZ5H3Z.js → chunk-N4IWZRB4.js} +2 -2
- package/__chunks__/{chunk-BCXMOBSF.js → chunk-NAJM6SVE.js} +2 -2
- package/__chunks__/{chunk-ZXNFWJMH.js → chunk-NDJAQW5J.js} +2 -2
- package/__chunks__/{chunk-WWNMJLSX.js → chunk-NEJ5Y74B.js} +2 -2
- package/__chunks__/{chunk-NFTBRNA6.js → chunk-NFDTTOW7.js} +2 -2
- package/__chunks__/chunk-NGPND2WV.js +2 -0
- package/__chunks__/chunk-NOCNQEU6.js +2 -0
- package/__chunks__/{chunk-LNHJAXRU.js → chunk-NS3ODARJ.js} +2 -2
- package/__chunks__/{chunk-2JUQFS4O.js → chunk-NSFUSSUS.js} +2 -2
- package/__chunks__/{chunk-MAYO43ZD.js → chunk-NV6DLGYN.js} +2 -2
- package/__chunks__/{chunk-PVWWYI7D.js → chunk-NWGR33VA.js} +2 -2
- package/__chunks__/{chunk-VXNIDAW4.js → chunk-O2RCWISO.js} +2 -2
- package/__chunks__/{chunk-6RBPUPPU.js → chunk-O2V4CCMX.js} +2 -2
- package/__chunks__/{chunk-VXBWTSBA.js → chunk-O6MB6XKF.js} +2 -2
- package/__chunks__/{chunk-ZDEX2UMS.js → chunk-O6PZUAGB.js} +2 -2
- package/__chunks__/{chunk-AIQDX6K7.js → chunk-OBCB5GTS.js} +2 -2
- package/__chunks__/chunk-OGZDVTVE.js +2 -0
- package/__chunks__/{chunk-XD6XBD7M.js → chunk-OLNZJW3Z.js} +2 -2
- package/__chunks__/{chunk-PLHSIUIH.js → chunk-OSQQHPZM.js} +2 -2
- package/__chunks__/{chunk-PED733EL.js → chunk-OXFLL7Y7.js} +2 -2
- package/__chunks__/chunk-P4YFVYE7.js +2 -0
- package/__chunks__/chunk-P7DX33YP.js +2 -0
- package/__chunks__/{chunk-W3ODGIKR.js → chunk-PCTAH6TR.js} +2 -2
- package/__chunks__/{chunk-COWK2W2W.js → chunk-PEMMY7FF.js} +2 -2
- package/__chunks__/{chunk-GZKFOA62.js → chunk-PEXA24OF.js} +2 -2
- package/__chunks__/{chunk-SWWGJTL5.js → chunk-PEY3BQ4R.js} +2 -2
- package/__chunks__/{chunk-56CSBJOA.js → chunk-PHIGKLSY.js} +2 -2
- package/__chunks__/chunk-PKHVN6YW.js +2 -0
- package/__chunks__/{chunk-ZM53UQ5W.js → chunk-PTVVMPSO.js} +2 -2
- package/__chunks__/{chunk-B5VQE4H2.js → chunk-PWH7DEFN.js} +2 -2
- package/__chunks__/{chunk-BDCWCPQD.js → chunk-PWR23BXD.js} +2 -2
- package/__chunks__/{chunk-5HE6XUP4.js → chunk-Q5E266R2.js} +2 -2
- package/__chunks__/{chunk-YCH3M7LC.js → chunk-QEIPCSYQ.js} +2 -2
- package/__chunks__/{chunk-6DXVSPG6.js → chunk-QEKJFGEB.js} +2 -2
- package/__chunks__/{chunk-OHO5WVJC.js → chunk-QOEVYQ2J.js} +2 -2
- package/__chunks__/{chunk-SXQZTZRH.js → chunk-QW7HUS66.js} +2 -2
- package/__chunks__/{chunk-WGPDVKY5.js → chunk-QYHSBCZR.js} +2 -2
- package/__chunks__/{chunk-UX5PTPXR.js → chunk-QYNWZBUP.js} +2 -2
- package/__chunks__/{chunk-257M3QTY.js → chunk-R3SPPNHA.js} +2 -2
- package/__chunks__/{chunk-RKD5TB6H.js → chunk-R3SUSW6U.js} +2 -2
- package/__chunks__/{chunk-NTPBZBNQ.js → chunk-R7OFX7MT.js} +2 -2
- package/__chunks__/chunk-RAUSH6GD.js +2 -0
- package/__chunks__/chunk-RAXVRHEC.js +2 -0
- package/__chunks__/chunk-RISXNP5I.js +2 -0
- package/__chunks__/{chunk-CVNDZP76.js → chunk-RK7YWC7M.js} +2 -2
- package/__chunks__/chunk-RVTMBFZS.js +2 -0
- package/__chunks__/{chunk-CLPLALDF.js → chunk-RXPUGEMI.js} +2 -2
- package/__chunks__/{chunk-BYMPKNIX.js → chunk-RZUBAC4F.js} +2 -2
- package/__chunks__/{chunk-MFTEMWCU.js → chunk-S35I45ZQ.js} +2 -2
- package/__chunks__/{chunk-S6OFZ37Q.js → chunk-S6IMA7JA.js} +2 -2
- package/__chunks__/chunk-S7HOS4OW.js +2 -0
- package/__chunks__/{chunk-G22LQ54W.js → chunk-SEOGCMB7.js} +2 -2
- package/__chunks__/{chunk-RCTS4E7X.js → chunk-SGABRPP2.js} +2 -2
- package/__chunks__/{chunk-ARN4TXNS.js → chunk-SGR4M32T.js} +2 -2
- package/__chunks__/{chunk-I75FKBLR.js → chunk-SO35Z4MW.js} +2 -2
- package/__chunks__/{chunk-4AI2UPIX.js → chunk-SPYQGKPN.js} +2 -2
- package/__chunks__/{chunk-6SQUT3SR.js → chunk-SQZGFLHB.js} +2 -2
- package/__chunks__/chunk-STBCDKBR.js +2 -0
- package/__chunks__/{chunk-TPFN52IW.js → chunk-SUJQA2GW.js} +2 -2
- package/__chunks__/{chunk-OUA5FLAV.js → chunk-SXIYWPTT.js} +2 -2
- package/__chunks__/{chunk-TYFF6L6K.js → chunk-SYFNYNRB.js} +2 -2
- package/__chunks__/{chunk-5LAIPB3D.js → chunk-SYGJB5IB.js} +2 -2
- package/__chunks__/{chunk-GWOBNRCO.js → chunk-T3H7IRS4.js} +2 -2
- package/__chunks__/chunk-T73GS72T.js +2 -0
- package/__chunks__/{chunk-S5GCXB6J.js → chunk-TF6HF6WS.js} +2 -2
- package/__chunks__/chunk-TILRG3KA.js +2 -0
- package/__chunks__/{chunk-IKIIFVAO.js → chunk-TIUQ37EG.js} +2 -2
- package/__chunks__/{chunk-6PBOXKX6.js → chunk-TN2C4EIK.js} +2 -2
- package/__chunks__/{chunk-EWPZVDAB.js → chunk-TPXVUJ4F.js} +2 -2
- package/__chunks__/{chunk-XPTZTIQ2.js → chunk-TQBVGRQJ.js} +2 -2
- package/__chunks__/{chunk-BX66MXW6.js → chunk-TSA6LFXL.js} +2 -2
- package/__chunks__/{chunk-OQFYWEIS.js → chunk-TUTBPOOU.js} +2 -2
- package/__chunks__/{chunk-HLAK36TW.js → chunk-TWVF7JWR.js} +2 -2
- package/__chunks__/{chunk-M2OXT3YO.js → chunk-U7MX6NMH.js} +2 -2
- package/__chunks__/{chunk-2AJOFYAV.js → chunk-UIVAIKSB.js} +2 -2
- package/__chunks__/{chunk-GVTQCXHP.js → chunk-UNO2T253.js} +2 -2
- package/__chunks__/{chunk-Q5C2SPDB.js → chunk-UNV3HNHX.js} +2 -2
- package/__chunks__/{chunk-IH33TIUO.js → chunk-UOWJXU7B.js} +2 -2
- package/__chunks__/{chunk-MRKRIB2A.js → chunk-UPAK55WQ.js} +2 -2
- package/__chunks__/{chunk-3GFG2A3U.js → chunk-V6TTX2GU.js} +2 -2
- package/__chunks__/chunk-V72DHDIE.js +2 -0
- package/__chunks__/{chunk-QXKIAILM.js → chunk-VAZCKIPF.js} +2 -2
- package/__chunks__/{chunk-4XMP5GTT.js → chunk-VKB64W7O.js} +2 -2
- package/__chunks__/{chunk-OC7RHJY6.js → chunk-VO4HJBT7.js} +2 -2
- package/__chunks__/{chunk-LOXGOWPI.js → chunk-VOBCK75J.js} +2 -2
- package/__chunks__/{chunk-4WHOJTZJ.js → chunk-VR6NBMGB.js} +2 -2
- package/__chunks__/chunk-VTUFVU5E.js +2 -0
- package/__chunks__/{chunk-RIJFBAYV.js → chunk-VVNOAZCN.js} +2 -2
- package/__chunks__/{chunk-Y3M4BQAH.js → chunk-VVNRFT4C.js} +2 -2
- package/__chunks__/{chunk-W3VTDJN2.js → chunk-VWJGXL3X.js} +2 -2
- package/__chunks__/{chunk-OUT3EF54.js → chunk-VX4YFYDE.js} +2 -2
- package/__chunks__/{chunk-JSYZ5XXA.js → chunk-W4VUUW4H.js} +2 -2
- package/__chunks__/{chunk-2VADEZKQ.js → chunk-W5VCGTY2.js} +2 -2
- package/__chunks__/{chunk-VKGQWWOB.js → chunk-WBROSYRH.js} +2 -2
- package/__chunks__/{chunk-KO26IQAN.js → chunk-WDIVU4TD.js} +2 -2
- package/__chunks__/{chunk-WDAY7K7O.js → chunk-WG32V2A5.js} +2 -2
- package/__chunks__/{chunk-NMJ6LNLI.js → chunk-WJOKG7OZ.js} +2 -2
- package/__chunks__/chunk-WRHANSVT.js +2 -0
- package/__chunks__/{chunk-TPS5KPXT.js → chunk-XBBPF73Z.js} +2 -2
- package/__chunks__/chunk-XCCT4TST.js +2 -0
- package/__chunks__/chunk-XKEURXOS.js +2 -0
- package/__chunks__/{chunk-RMWACIBX.js → chunk-XKGH4TXG.js} +2 -2
- package/__chunks__/{chunk-75GJK2GI.js → chunk-XQWVYVIL.js} +2 -2
- package/__chunks__/{chunk-GU3PXNAY.js → chunk-XSPEML27.js} +2 -2
- package/__chunks__/{chunk-JRSSYB2W.js → chunk-XUPYKS5D.js} +2 -2
- package/__chunks__/{chunk-A2UHFBXC.js → chunk-XWNVIHRK.js} +2 -2
- package/__chunks__/{chunk-MWQ7XWJ3.js → chunk-XY3MUJLX.js} +2 -2
- package/__chunks__/{chunk-IPHQVCKI.js → chunk-XZQYMTBX.js} +2 -2
- package/__chunks__/{chunk-4NQAIS37.js → chunk-Y4WVBCUE.js} +2 -2
- package/__chunks__/{chunk-G2WKJ6KK.js → chunk-Y6RIVHS3.js} +2 -2
- package/__chunks__/{chunk-CMXICFOE.js → chunk-Y7MXTBUL.js} +2 -2
- package/__chunks__/{chunk-TLFTE6OC.js → chunk-YE3SEFOS.js} +2 -2
- package/__chunks__/chunk-YN4DUIRE.js +2 -0
- package/__chunks__/chunk-YNX3IGV3.js +2 -0
- package/__chunks__/chunk-Z2B7ZPZQ.js +2 -0
- package/__chunks__/{chunk-HIONU7XT.js → chunk-Z2TCNCR5.js} +2 -2
- package/__chunks__/chunk-Z3L3GZGW.js +2 -0
- package/__chunks__/{chunk-7AD356MZ.js → chunk-Z5IV5H2B.js} +2 -2
- package/__chunks__/{chunk-CYKNXV5A.js → chunk-Z6T4QJTP.js} +2 -2
- package/__chunks__/{chunk-ND27OJ7I.js → chunk-ZAOOJQI2.js} +2 -2
- package/__chunks__/{chunk-NV22SU2V.js → chunk-ZB5AGTC4.js} +2 -2
- package/__chunks__/{chunk-XHHKUZ2U.js → chunk-ZBORIYHN.js} +2 -2
- package/__chunks__/chunk-ZCIQDTNG.js +2 -0
- package/__chunks__/{chunk-4UY6RTXV.js → chunk-ZGL5N2CM.js} +2 -2
- package/__chunks__/{chunk-LAZU73S2.js → chunk-ZH7PXPQS.js} +2 -2
- package/__chunks__/{chunk-VMW2UT4I.js → chunk-ZIEQGTNV.js} +2 -2
- package/__chunks__/{chunk-UQDIW6ZF.js → chunk-ZPDYQNBF.js} +2 -2
- package/__chunks__/{chunk-QWNXAJRR.js → chunk-ZYI33ZZI.js} +2 -2
- package/__commonjs/UI/SignTransactionsModals/SignTransactionsModals.js +21 -21
- package/__commonjs/UI/SignTransactionsModals/SignWithDeviceModal/SignWithDeviceModal.js +6 -6
- package/__commonjs/UI/SignTransactionsModals/SignWithDeviceModal/index.js +6 -6
- package/__commonjs/UI/SignTransactionsModals/SignWithExtraModal/SignWithExtraModal.js +1 -1
- package/__commonjs/UI/SignTransactionsModals/SignWithExtraModal/index.js +1 -1
- package/__commonjs/UI/SignTransactionsModals/SignWithLedgerModal/SignWithLedgerModal.js +6 -6
- package/__commonjs/UI/SignTransactionsModals/SignWithLedgerModal/index.js +6 -6
- package/__commonjs/UI/SignTransactionsModals/components/ConfirmationScreen.js +14 -14
- package/__commonjs/UI/SignTransactionsModals/components/index.js +14 -14
- package/__commonjs/UI/SignTransactionsModals/index.js +21 -21
- package/__commonjs/UI/TransactionsToastList/components/CustomToast/components/SimpleToast.js +5 -5
- package/__commonjs/UI/TransactionsToastList/components/CustomToast/helpers/index.js +4 -4
- package/__commonjs/UI/TransactionsToastList/components/CustomToast/helpers/useMemoizedCloseButton.js +2 -2
- package/__commonjs/UI/TransactionsToastList/components/TransactionToast/TransactionToast.js +9 -9
- package/__commonjs/UI/TransactionsToastList/components/TransactionToast/components/index.js +4 -4
- package/__commonjs/UI/TransactionsToastList/components/TransactionToast/index.js +9 -9
- package/__commonjs/UI/index.js +52 -52
- package/__commonjs/apiCalls/configuration/getApiAddressForChainId.js +1 -1
- package/__commonjs/constants/network.js +1 -1
- package/__commonjs/hooks/index.js +1 -1
- package/__commonjs/hooks/transactions/batch/useSendBatchTransactions.js +1 -1
- package/__commonjs/hooks/transactions/index.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/hooks/transactions/useSignTransactionsWithLedger.js +1 -1
- package/__commonjs/hooks/websocketListener/useInitializeWebsocketConnection.js +1 -1
- package/__commonjs/reduxStore/selectors/modalsSelectors.js +1 -1
- package/__commonjs/services/index.js +1 -1
- package/__commonjs/services/transactions/index.js +1 -1
- package/__commonjs/services/transactions/sendTransactions.d.ts +1 -1
- package/__commonjs/services/transactions/sendTransactions.js +1 -1
- package/__commonjs/types/transactions.types.d.ts +1 -0
- package/__commonjs/types/transactions.types.js +1 -1
- package/__commonjs/utils/logout.js +1 -1
- package/__commonjs/utils/operations/calculateFeeLimit.js +1 -1
- package/__commonjs/utils/transactions/getInterpretedTransaction/getInterpretedTransaction.js +1 -1
- package/__commonjs/utils/transactions/getInterpretedTransaction/index.js +1 -1
- package/__commonjs/utils/transactions/parseMultiEsdtTransferData.js +1 -1
- package/__commonjs/utils/transactions/transactionInfoHelpers/getTransactionLinkWithLabel.js +1 -1
- package/__commonjs/wrappers/AxiosInterceptorContext/components/AxiosInterceptor.js +1 -1
- package/__commonjs/wrappers/AxiosInterceptorContext/components/LoginInfoListener.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/batch/useGetBatches.js +1 -1
- package/hooks/transactions/batch/useSendBatchTransactions.js +1 -1
- package/hooks/transactions/batch/useTrackBatchTransactions.js +1 -1
- package/hooks/transactions/batch/useUpdateBatch.js +1 -1
- package/hooks/transactions/batch/useUpdateBatches.js +1 -1
- package/hooks/transactions/helpers/checkNeedsGuardianSigning.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/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 +1 -1
- 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/batchTransactionsSelectors.js +1 -1
- package/reduxStore/selectors/dappConfigSelector.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/batchTransactionsSlice.js +1 -1
- package/reduxStore/slices/dappConfigSlice.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/getBatchTransactionsStatus.js +1 -1
- package/services/transactions/index.js +1 -1
- package/services/transactions/isCrossShardTransaction.js +1 -1
- package/services/transactions/sendBatchTransactions.js +1 -1
- package/services/transactions/sendTransactions.d.ts +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/index.js +1 -1
- package/types/transactions.types.d.ts +1 -0
- package/types/transactions.types.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/smartContracts.js +1 -1
- package/utils/toasts/customToastsActions.js +1 -1
- package/utils/toasts/index.js +1 -1
- package/utils/transactions/batch/updateBatchTransactionsStatuses.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/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/removeTransactionParamsFromUrl.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/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/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-22OLJZCS.js +0 -2
- package/__chunks__/chunk-2P64IWEV.js +0 -2
- package/__chunks__/chunk-2TQ727TI.js +0 -2
- package/__chunks__/chunk-3E66U4NM.js +0 -2
- package/__chunks__/chunk-3HSI224D.js +0 -2
- package/__chunks__/chunk-4EVPEAAC.js +0 -2
- package/__chunks__/chunk-4ROA4IAP.js +0 -2
- package/__chunks__/chunk-554M7MC7.js +0 -2
- package/__chunks__/chunk-5IYO3P75.js +0 -2
- package/__chunks__/chunk-64OFEAPQ.js +0 -2
- package/__chunks__/chunk-64X5ELCG.js +0 -2
- package/__chunks__/chunk-67VZTXQO.js +0 -2
- package/__chunks__/chunk-7MBSMSCD.js +0 -2
- package/__chunks__/chunk-A3M2ZT2N.js +0 -2
- package/__chunks__/chunk-CAH5U2BC.js +0 -2
- package/__chunks__/chunk-D2YE4NU4.js +0 -2
- package/__chunks__/chunk-DDBXHWTW.js +0 -2
- package/__chunks__/chunk-E7ZMJK5T.js +0 -2
- package/__chunks__/chunk-EDUVKTUJ.js +0 -2
- package/__chunks__/chunk-EFR4FYH4.js +0 -2
- package/__chunks__/chunk-FHFSY4UV.js +0 -2
- package/__chunks__/chunk-GWOGB4RR.js +0 -2
- package/__chunks__/chunk-GZVP3ZXI.js +0 -2
- package/__chunks__/chunk-IW6SN7BF.js +0 -2
- package/__chunks__/chunk-JCNIVUOH.js +0 -2
- package/__chunks__/chunk-JQEIHESA.js +0 -2
- package/__chunks__/chunk-KV7GLUXD.js +0 -2
- package/__chunks__/chunk-LMFYIKOH.js +0 -2
- package/__chunks__/chunk-MLXPX23B.js +0 -2
- package/__chunks__/chunk-MXTJ27RN.js +0 -2
- package/__chunks__/chunk-N6SXDXRI.js +0 -2
- package/__chunks__/chunk-O5OTL554.js +0 -2
- package/__chunks__/chunk-OWRF45PP.js +0 -2
- package/__chunks__/chunk-OY6DZ7KU.js +0 -2
- package/__chunks__/chunk-P3DNG2RV.js +0 -2
- package/__chunks__/chunk-PCR2WU5P.js +0 -2
- package/__chunks__/chunk-Q4DPGKGE.js +0 -2
- package/__chunks__/chunk-R2BKZWTD.js +0 -2
- package/__chunks__/chunk-REFNSRHX.js +0 -2
- package/__chunks__/chunk-SB6Q3PIL.js +0 -2
- package/__chunks__/chunk-SWEULXYJ.js +0 -2
- package/__chunks__/chunk-T7V7454F.js +0 -2
- package/__chunks__/chunk-VRY2YA2B.js +0 -2
- package/__chunks__/chunk-VT4SCB2Q.js +0 -2
- package/__chunks__/chunk-X6PPFAJP.js +0 -2
- package/__chunks__/chunk-XRVWJ3RL.js +0 -2
- package/__chunks__/chunk-XSXPHHSS.js +0 -2
- package/__chunks__/chunk-ZGKYWFGV.js +0 -2
- package/__chunks__/chunk-ZWEMOICZ.js +0 -2
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";var Lr=Object.create;var M=Object.defineProperty;var _r=Object.getOwnPropertyDescriptor;var Cr=Object.getOwnPropertyNames;var Ur=Object.getPrototypeOf,Dr=Object.prototype.hasOwnProperty;var Nr=(t,r)=>()=>(t&&(r=t(t=0)),r);var G=(t,r)=>()=>(r||t((r={exports:{}}).exports,r),r.exports),Pr=(t,r)=>{for(var e in r)M(t,e,{get:r[e],enumerable:!0})},er=(t,r,e,n)=>{if(r&&typeof r=="object"||typeof r=="function")for(let i of Cr(r))!Dr.call(t,i)&&i!==e&&M(t,i,{get:()=>r[i],enumerable:!(n=_r(r,i))||n.enumerable});return t};var tr=(t,r,e)=>(e=t!=null?Lr(Ur(t)):{},er(r||!t||!t.__esModule?M(e,"default",{value:t,enumerable:!0}):e,t)),Mr=t=>er(M({},"__esModule",{value:!0}),t);var ar=G(O=>{"use strict";c();O.byteLength=Or;O.toByteArray=qr;O.fromByteArray=zr;var k=[],v=[],Gr=typeof Uint8Array!="undefined"?Uint8Array:Array,Y="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(R=0,nr=Y.length;R<nr;++R)k[R]=Y[R],v[Y.charCodeAt(R)]=R;var R,nr;v["-".charCodeAt(0)]=62;v["_".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 n=e===r?0:4-e%4;return[e,n]}function Or(t){var r=ir(t),e=r[0],n=r[1];return(e+n)*3/4-n}function Hr(t,r,e){return(r+e)*3/4-e}function qr(t){var r,e=ir(t),n=e[0],i=e[1],a=new Gr(Hr(t,n,i)),o=0,p=i>0?n-4:n,u;for(u=0;u<p;u+=4)r=v[t.charCodeAt(u)]<<18|v[t.charCodeAt(u+1)]<<12|v[t.charCodeAt(u+2)]<<6|v[t.charCodeAt(u+3)],a[o++]=r>>16&255,a[o++]=r>>8&255,a[o++]=r&255;return i===2&&(r=v[t.charCodeAt(u)]<<2|v[t.charCodeAt(u+1)]>>4,a[o++]=r&255),i===1&&(r=v[t.charCodeAt(u)]<<10|v[t.charCodeAt(u+1)]<<4|v[t.charCodeAt(u+2)]>>2,a[o++]=r>>8&255,a[o++]=r&255),a}function Wr(t){return k[t>>18&63]+k[t>>12&63]+k[t>>6&63]+k[t&63]}function Yr(t,r,e){for(var n,i=[],a=r;a<e;a+=3)n=(t[a]<<16&16711680)+(t[a+1]<<8&65280)+(t[a+2]&255),i.push(Wr(n));return i.join("")}function zr(t){for(var r,e=t.length,n=e%3,i=[],a=16383,o=0,p=e-n;o<p;o+=a)i.push(Yr(t,o,o+a>p?p:o+a));return n===1?(r=t[e-1],i.push(k[r>>2]+k[r<<4&63]+"==")):n===2&&(r=(t[e-2]<<8)+t[e-1],i.push(k[r>>10]+k[r>>4&63]+k[r<<2&63]+"=")),i.join("")}});var or=G(z=>{c();z.read=function(t,r,e,n,i){var a,o,p=i*8-n-1,u=(1<<p)-1,g=u>>1,f=-7,l=e?i-1:0,I=e?-1:1,T=t[r+l];for(l+=I,a=T&(1<<-f)-1,T>>=-f,f+=p;f>0;a=a*256+t[r+l],l+=I,f-=8);for(o=a&(1<<-f)-1,a>>=-f,f+=n;f>0;o=o*256+t[r+l],l+=I,f-=8);if(a===0)a=1-g;else{if(a===u)return o?NaN:(T?-1:1)*(1/0);o=o+Math.pow(2,n),a=a-g}return(T?-1:1)*o*Math.pow(2,a-n)};z.write=function(t,r,e,n,i,a){var o,p,u,g=a*8-i-1,f=(1<<g)-1,l=f>>1,I=i===23?Math.pow(2,-24)-Math.pow(2,-77):0,T=n?0:a-1,C=n?1:-1,Rr=r<0||r===0&&1/r<0?1:0;for(r=Math.abs(r),isNaN(r)||r===1/0?(p=isNaN(r)?1:0,o=f):(o=Math.floor(Math.log(r)/Math.LN2),r*(u=Math.pow(2,-o))<1&&(o--,u*=2),o+l>=1?r+=I/u:r+=I*Math.pow(2,1-l),r*u>=2&&(o++,u/=2),o+l>=f?(p=0,o=f):o+l>=1?(p=(r*u-1)*Math.pow(2,i),o=o+l):(p=r*Math.pow(2,l-1)*Math.pow(2,i),o=0));i>=8;t[e+T]=p&255,T+=C,p/=256,i-=8);for(o=o<<i|p,g+=i;g>0;t[e+T]=o&255,T+=C,o/=256,g-=8);t[e+T-C]|=Rr*128}});var wr=G(D=>{"use strict";c();var V=ar(),U=or(),sr=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;D.Buffer=s;D.SlowBuffer=Kr;D.INSPECT_MAX_BYTES=50;var H=2147483647;D.kMaxLength=H;s.TYPED_ARRAY_SUPPORT=Vr();!s.TYPED_ARRAY_SUPPORT&&typeof console!="undefined"&&typeof console.error=="function"&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function Vr(){try{var t=new Uint8Array(1),r={foo:function(){return 42}};return Object.setPrototypeOf(r,Uint8Array.prototype),Object.setPrototypeOf(t,r),t.foo()===42}catch(e){return!1}}Object.defineProperty(s.prototype,"parent",{enumerable:!0,get:function(){if(!!s.isBuffer(this))return this.buffer}});Object.defineProperty(s.prototype,"offset",{enumerable:!0,get:function(){if(!!s.isBuffer(this))return this.byteOffset}});function A(t){if(t>H)throw new RangeError('The value "'+t+'" is invalid for option "size"');var r=new Uint8Array(t);return Object.setPrototypeOf(r,s.prototype),r}function s(t,r,e){if(typeof t=="number"){if(typeof r=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return j(t)}return cr(t,r,e)}s.poolSize=8192;function cr(t,r,e){if(typeof t=="string")return Xr(t,r);if(ArrayBuffer.isView(t))return Jr(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(F(t,ArrayBuffer)||t&&F(t.buffer,ArrayBuffer)||typeof SharedArrayBuffer!="undefined"&&(F(t,SharedArrayBuffer)||t&&F(t.buffer,SharedArrayBuffer)))return X(t,r,e);if(typeof t=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var n=t.valueOf&&t.valueOf();if(n!=null&&n!==t)return s.from(n,r,e);var i=jr(t);if(i)return i;if(typeof Symbol!="undefined"&&Symbol.toPrimitive!=null&&typeof t[Symbol.toPrimitive]=="function")return s.from(t[Symbol.toPrimitive]("string"),r,e);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t)}s.from=function(t,r,e){return cr(t,r,e)};Object.setPrototypeOf(s.prototype,Uint8Array.prototype);Object.setPrototypeOf(s,Uint8Array);function lr(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 Qr(t,r,e){return lr(t),t<=0?A(t):r!==void 0?typeof e=="string"?A(t).fill(r,e):A(t).fill(r):A(t)}s.alloc=function(t,r,e){return Qr(t,r,e)};function j(t){return lr(t),A(t<0?0:K(t)|0)}s.allocUnsafe=function(t){return j(t)};s.allocUnsafeSlow=function(t){return j(t)};function Xr(t,r){if((typeof r!="string"||r==="")&&(r="utf8"),!s.isEncoding(r))throw new TypeError("Unknown encoding: "+r);var e=gr(t,r)|0,n=A(e),i=n.write(t,r);return i!==e&&(n=n.slice(0,i)),n}function Q(t){for(var r=t.length<0?0:K(t.length)|0,e=A(r),n=0;n<r;n+=1)e[n]=t[n]&255;return e}function Jr(t){if(F(t,Uint8Array)){var r=new Uint8Array(t);return X(r.buffer,r.byteOffset,r.byteLength)}return Q(t)}function X(t,r,e){if(r<0||t.byteLength<r)throw new RangeError('"offset" is outside of buffer bounds');if(t.byteLength<r+(e||0))throw new RangeError('"length" is outside of buffer bounds');var n;return r===void 0&&e===void 0?n=new Uint8Array(t):e===void 0?n=new Uint8Array(t,r):n=new Uint8Array(t,r,e),Object.setPrototypeOf(n,s.prototype),n}function jr(t){if(s.isBuffer(t)){var r=K(t.length)|0,e=A(r);return e.length===0||t.copy(e,0,0,r),e}if(t.length!==void 0)return typeof t.length!="number"||Z(t.length)?A(0):Q(t);if(t.type==="Buffer"&&Array.isArray(t.data))return Q(t.data)}function K(t){if(t>=H)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+H.toString(16)+" bytes");return t|0}function Kr(t){return+t!=t&&(t=0),s.alloc(+t)}s.isBuffer=function(r){return r!=null&&r._isBuffer===!0&&r!==s.prototype};s.compare=function(r,e){if(F(r,Uint8Array)&&(r=s.from(r,r.offset,r.byteLength)),F(e,Uint8Array)&&(e=s.from(e,e.offset,e.byteLength)),!s.isBuffer(r)||!s.isBuffer(e))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(r===e)return 0;for(var n=r.length,i=e.length,a=0,o=Math.min(n,i);a<o;++a)if(r[a]!==e[a]){n=r[a],i=e[a];break}return n<i?-1:i<n?1:0};s.isEncoding=function(r){switch(String(r).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}};s.concat=function(r,e){if(!Array.isArray(r))throw new TypeError('"list" argument must be an Array of Buffers');if(r.length===0)return s.alloc(0);var n;if(e===void 0)for(e=0,n=0;n<r.length;++n)e+=r[n].length;var i=s.allocUnsafe(e),a=0;for(n=0;n<r.length;++n){var o=r[n];if(F(o,Uint8Array))a+o.length>i.length?s.from(o).copy(i,a):Uint8Array.prototype.set.call(i,o,a);else if(s.isBuffer(o))o.copy(i,a);else throw new TypeError('"list" argument must be an Array of Buffers');a+=o.length}return i};function gr(t,r){if(s.isBuffer(t))return t.length;if(ArrayBuffer.isView(t)||F(t,ArrayBuffer))return t.byteLength;if(typeof t!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof t);var e=t.length,n=arguments.length>2&&arguments[2]===!0;if(!n&&e===0)return 0;for(var i=!1;;)switch(r){case"ascii":case"latin1":case"binary":return e;case"utf8":case"utf-8":return J(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return e*2;case"hex":return e>>>1;case"base64":return xr(t).length;default:if(i)return n?-1:J(t).length;r=(""+r).toLowerCase(),i=!0}}s.byteLength=gr;function Zr(t,r,e){var n=!1;if((r===void 0||r<0)&&(r=0),r>this.length||((e===void 0||e>this.length)&&(e=this.length),e<=0)||(e>>>=0,r>>>=0,e<=r))return"";for(t||(t="utf8");;)switch(t){case"hex":return pe(this,r,e);case"utf8":case"utf-8":return dr(this,r,e);case"ascii":return oe(this,r,e);case"latin1":case"binary":return se(this,r,e);case"base64":return ie(this,r,e);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return ue(this,r,e);default:if(n)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),n=!0}}s.prototype._isBuffer=!0;function L(t,r,e){var n=t[r];t[r]=t[e],t[e]=n}s.prototype.swap16=function(){var r=this.length;if(r%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var e=0;e<r;e+=2)L(this,e,e+1);return this};s.prototype.swap32=function(){var r=this.length;if(r%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var e=0;e<r;e+=4)L(this,e,e+3),L(this,e+1,e+2);return this};s.prototype.swap64=function(){var r=this.length;if(r%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var e=0;e<r;e+=8)L(this,e,e+7),L(this,e+1,e+6),L(this,e+2,e+5),L(this,e+3,e+4);return this};s.prototype.toString=function(){var r=this.length;return r===0?"":arguments.length===0?dr(this,0,r):Zr.apply(this,arguments)};s.prototype.toLocaleString=s.prototype.toString;s.prototype.equals=function(r){if(!s.isBuffer(r))throw new TypeError("Argument must be a Buffer");return this===r?!0:s.compare(this,r)===0};s.prototype.inspect=function(){var r="",e=D.INSPECT_MAX_BYTES;return r=this.toString("hex",0,e).replace(/(.{2})/g,"$1 ").trim(),this.length>e&&(r+=" ... "),"<Buffer "+r+">"};sr&&(s.prototype[sr]=s.prototype.inspect);s.prototype.compare=function(r,e,n,i,a){if(F(r,Uint8Array)&&(r=s.from(r,r.offset,r.byteLength)),!s.isBuffer(r))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof r);if(e===void 0&&(e=0),n===void 0&&(n=r?r.length:0),i===void 0&&(i=0),a===void 0&&(a=this.length),e<0||n>r.length||i<0||a>this.length)throw new RangeError("out of range index");if(i>=a&&e>=n)return 0;if(i>=a)return-1;if(e>=n)return 1;if(e>>>=0,n>>>=0,i>>>=0,a>>>=0,this===r)return 0;for(var o=a-i,p=n-e,u=Math.min(o,p),g=this.slice(i,a),f=r.slice(e,n),l=0;l<u;++l)if(g[l]!==f[l]){o=g[l],p=f[l];break}return o<p?-1:p<o?1:0};function fr(t,r,e,n,i){if(t.length===0)return-1;if(typeof e=="string"?(n=e,e=0):e>2147483647?e=2147483647:e<-2147483648&&(e=-2147483648),e=+e,Z(e)&&(e=i?0:t.length-1),e<0&&(e=t.length+e),e>=t.length){if(i)return-1;e=t.length-1}else if(e<0)if(i)e=0;else return-1;if(typeof r=="string"&&(r=s.from(r,n)),s.isBuffer(r))return r.length===0?-1:pr(t,r,e,n,i);if(typeof r=="number")return r=r&255,typeof Uint8Array.prototype.indexOf=="function"?i?Uint8Array.prototype.indexOf.call(t,r,e):Uint8Array.prototype.lastIndexOf.call(t,r,e):pr(t,[r],e,n,i);throw new TypeError("val must be string, number or Buffer")}function pr(t,r,e,n,i){var a=1,o=t.length,p=r.length;if(n!==void 0&&(n=String(n).toLowerCase(),n==="ucs2"||n==="ucs-2"||n==="utf16le"||n==="utf-16le")){if(t.length<2||r.length<2)return-1;a=2,o/=2,p/=2,e/=2}function u(T,C){return a===1?T[C]:T.readUInt16BE(C*a)}var g;if(i){var f=-1;for(g=e;g<o;g++)if(u(t,g)===u(r,f===-1?0:g-f)){if(f===-1&&(f=g),g-f+1===p)return f*a}else f!==-1&&(g-=g-f),f=-1}else for(e+p>o&&(e=o-p),g=e;g>=0;g--){for(var l=!0,I=0;I<p;I++)if(u(t,g+I)!==u(r,I)){l=!1;break}if(l)return g}return-1}s.prototype.includes=function(r,e,n){return this.indexOf(r,e,n)!==-1};s.prototype.indexOf=function(r,e,n){return fr(this,r,e,n,!0)};s.prototype.lastIndexOf=function(r,e,n){return fr(this,r,e,n,!1)};function $r(t,r,e,n){e=Number(e)||0;var i=t.length-e;n?(n=Number(n),n>i&&(n=i)):n=i;var a=r.length;n>a/2&&(n=a/2);for(var o=0;o<n;++o){var p=parseInt(r.substr(o*2,2),16);if(Z(p))return o;t[e+o]=p}return o}function re(t,r,e,n){return q(J(r,t.length-e),t,e,n)}function ee(t,r,e,n){return q(ge(r),t,e,n)}function te(t,r,e,n){return q(xr(r),t,e,n)}function ne(t,r,e,n){return q(fe(r,t.length-e),t,e,n)}s.prototype.write=function(r,e,n,i){if(e===void 0)i="utf8",n=this.length,e=0;else if(n===void 0&&typeof e=="string")i=e,n=this.length,e=0;else if(isFinite(e))e=e>>>0,isFinite(n)?(n=n>>>0,i===void 0&&(i="utf8")):(i=n,n=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var a=this.length-e;if((n===void 0||n>a)&&(n=a),r.length>0&&(n<0||e<0)||e>this.length)throw new RangeError("Attempt to write outside buffer bounds");i||(i="utf8");for(var o=!1;;)switch(i){case"hex":return $r(this,r,e,n);case"utf8":case"utf-8":return re(this,r,e,n);case"ascii":case"latin1":case"binary":return ee(this,r,e,n);case"base64":return te(this,r,e,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return ne(this,r,e,n);default:if(o)throw new TypeError("Unknown encoding: "+i);i=(""+i).toLowerCase(),o=!0}};s.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function ie(t,r,e){return r===0&&e===t.length?V.fromByteArray(t):V.fromByteArray(t.slice(r,e))}function dr(t,r,e){e=Math.min(t.length,e);for(var n=[],i=r;i<e;){var a=t[i],o=null,p=a>239?4:a>223?3:a>191?2:1;if(i+p<=e){var u,g,f,l;switch(p){case 1:a<128&&(o=a);break;case 2:u=t[i+1],(u&192)===128&&(l=(a&31)<<6|u&63,l>127&&(o=l));break;case 3:u=t[i+1],g=t[i+2],(u&192)===128&&(g&192)===128&&(l=(a&15)<<12|(u&63)<<6|g&63,l>2047&&(l<55296||l>57343)&&(o=l));break;case 4:u=t[i+1],g=t[i+2],f=t[i+3],(u&192)===128&&(g&192)===128&&(f&192)===128&&(l=(a&15)<<18|(u&63)<<12|(g&63)<<6|f&63,l>65535&&l<1114112&&(o=l))}}o===null?(o=65533,p=1):o>65535&&(o-=65536,n.push(o>>>10&1023|55296),o=56320|o&1023),n.push(o),i+=p}return ae(n)}var ur=4096;function ae(t){var r=t.length;if(r<=ur)return String.fromCharCode.apply(String,t);for(var e="",n=0;n<r;)e+=String.fromCharCode.apply(String,t.slice(n,n+=ur));return e}function oe(t,r,e){var n="";e=Math.min(t.length,e);for(var i=r;i<e;++i)n+=String.fromCharCode(t[i]&127);return n}function se(t,r,e){var n="";e=Math.min(t.length,e);for(var i=r;i<e;++i)n+=String.fromCharCode(t[i]);return n}function pe(t,r,e){var n=t.length;(!r||r<0)&&(r=0),(!e||e<0||e>n)&&(e=n);for(var i="",a=r;a<e;++a)i+=de[t[a]];return i}function ue(t,r,e){for(var n=t.slice(r,e),i="",a=0;a<n.length-1;a+=2)i+=String.fromCharCode(n[a]+n[a+1]*256);return i}s.prototype.slice=function(r,e){var n=this.length;r=~~r,e=e===void 0?n:~~e,r<0?(r+=n,r<0&&(r=0)):r>n&&(r=n),e<0?(e+=n,e<0&&(e=0)):e>n&&(e=n),e<r&&(e=r);var i=this.subarray(r,e);return Object.setPrototypeOf(i,s.prototype),i};function y(t,r,e){if(t%1!==0||t<0)throw new RangeError("offset is not uint");if(t+r>e)throw new RangeError("Trying to access beyond buffer length")}s.prototype.readUintLE=s.prototype.readUIntLE=function(r,e,n){r=r>>>0,e=e>>>0,n||y(r,e,this.length);for(var i=this[r],a=1,o=0;++o<e&&(a*=256);)i+=this[r+o]*a;return i};s.prototype.readUintBE=s.prototype.readUIntBE=function(r,e,n){r=r>>>0,e=e>>>0,n||y(r,e,this.length);for(var i=this[r+--e],a=1;e>0&&(a*=256);)i+=this[r+--e]*a;return i};s.prototype.readUint8=s.prototype.readUInt8=function(r,e){return r=r>>>0,e||y(r,1,this.length),this[r]};s.prototype.readUint16LE=s.prototype.readUInt16LE=function(r,e){return r=r>>>0,e||y(r,2,this.length),this[r]|this[r+1]<<8};s.prototype.readUint16BE=s.prototype.readUInt16BE=function(r,e){return r=r>>>0,e||y(r,2,this.length),this[r]<<8|this[r+1]};s.prototype.readUint32LE=s.prototype.readUInt32LE=function(r,e){return r=r>>>0,e||y(r,4,this.length),(this[r]|this[r+1]<<8|this[r+2]<<16)+this[r+3]*16777216};s.prototype.readUint32BE=s.prototype.readUInt32BE=function(r,e){return r=r>>>0,e||y(r,4,this.length),this[r]*16777216+(this[r+1]<<16|this[r+2]<<8|this[r+3])};s.prototype.readIntLE=function(r,e,n){r=r>>>0,e=e>>>0,n||y(r,e,this.length);for(var i=this[r],a=1,o=0;++o<e&&(a*=256);)i+=this[r+o]*a;return a*=128,i>=a&&(i-=Math.pow(2,8*e)),i};s.prototype.readIntBE=function(r,e,n){r=r>>>0,e=e>>>0,n||y(r,e,this.length);for(var i=e,a=1,o=this[r+--i];i>0&&(a*=256);)o+=this[r+--i]*a;return a*=128,o>=a&&(o-=Math.pow(2,8*e)),o};s.prototype.readInt8=function(r,e){return r=r>>>0,e||y(r,1,this.length),this[r]&128?(255-this[r]+1)*-1:this[r]};s.prototype.readInt16LE=function(r,e){r=r>>>0,e||y(r,2,this.length);var n=this[r]|this[r+1]<<8;return n&32768?n|4294901760:n};s.prototype.readInt16BE=function(r,e){r=r>>>0,e||y(r,2,this.length);var n=this[r+1]|this[r]<<8;return n&32768?n|4294901760:n};s.prototype.readInt32LE=function(r,e){return r=r>>>0,e||y(r,4,this.length),this[r]|this[r+1]<<8|this[r+2]<<16|this[r+3]<<24};s.prototype.readInt32BE=function(r,e){return r=r>>>0,e||y(r,4,this.length),this[r]<<24|this[r+1]<<16|this[r+2]<<8|this[r+3]};s.prototype.readFloatLE=function(r,e){return r=r>>>0,e||y(r,4,this.length),U.read(this,r,!0,23,4)};s.prototype.readFloatBE=function(r,e){return r=r>>>0,e||y(r,4,this.length),U.read(this,r,!1,23,4)};s.prototype.readDoubleLE=function(r,e){return r=r>>>0,e||y(r,8,this.length),U.read(this,r,!0,52,8)};s.prototype.readDoubleBE=function(r,e){return r=r>>>0,e||y(r,8,this.length),U.read(this,r,!1,52,8)};function w(t,r,e,n,i,a){if(!s.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(r>i||r<a)throw new RangeError('"value" argument is out of bounds');if(e+n>t.length)throw new RangeError("Index out of range")}s.prototype.writeUintLE=s.prototype.writeUIntLE=function(r,e,n,i){if(r=+r,e=e>>>0,n=n>>>0,!i){var a=Math.pow(2,8*n)-1;w(this,r,e,n,a,0)}var o=1,p=0;for(this[e]=r&255;++p<n&&(o*=256);)this[e+p]=r/o&255;return e+n};s.prototype.writeUintBE=s.prototype.writeUIntBE=function(r,e,n,i){if(r=+r,e=e>>>0,n=n>>>0,!i){var a=Math.pow(2,8*n)-1;w(this,r,e,n,a,0)}var o=n-1,p=1;for(this[e+o]=r&255;--o>=0&&(p*=256);)this[e+o]=r/p&255;return e+n};s.prototype.writeUint8=s.prototype.writeUInt8=function(r,e,n){return r=+r,e=e>>>0,n||w(this,r,e,1,255,0),this[e]=r&255,e+1};s.prototype.writeUint16LE=s.prototype.writeUInt16LE=function(r,e,n){return r=+r,e=e>>>0,n||w(this,r,e,2,65535,0),this[e]=r&255,this[e+1]=r>>>8,e+2};s.prototype.writeUint16BE=s.prototype.writeUInt16BE=function(r,e,n){return r=+r,e=e>>>0,n||w(this,r,e,2,65535,0),this[e]=r>>>8,this[e+1]=r&255,e+2};s.prototype.writeUint32LE=s.prototype.writeUInt32LE=function(r,e,n){return r=+r,e=e>>>0,n||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};s.prototype.writeUint32BE=s.prototype.writeUInt32BE=function(r,e,n){return r=+r,e=e>>>0,n||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};s.prototype.writeIntLE=function(r,e,n,i){if(r=+r,e=e>>>0,!i){var a=Math.pow(2,8*n-1);w(this,r,e,n,a-1,-a)}var o=0,p=1,u=0;for(this[e]=r&255;++o<n&&(p*=256);)r<0&&u===0&&this[e+o-1]!==0&&(u=1),this[e+o]=(r/p>>0)-u&255;return e+n};s.prototype.writeIntBE=function(r,e,n,i){if(r=+r,e=e>>>0,!i){var a=Math.pow(2,8*n-1);w(this,r,e,n,a-1,-a)}var o=n-1,p=1,u=0;for(this[e+o]=r&255;--o>=0&&(p*=256);)r<0&&u===0&&this[e+o+1]!==0&&(u=1),this[e+o]=(r/p>>0)-u&255;return e+n};s.prototype.writeInt8=function(r,e,n){return r=+r,e=e>>>0,n||w(this,r,e,1,127,-128),r<0&&(r=255+r+1),this[e]=r&255,e+1};s.prototype.writeInt16LE=function(r,e,n){return r=+r,e=e>>>0,n||w(this,r,e,2,32767,-32768),this[e]=r&255,this[e+1]=r>>>8,e+2};s.prototype.writeInt16BE=function(r,e,n){return r=+r,e=e>>>0,n||w(this,r,e,2,32767,-32768),this[e]=r>>>8,this[e+1]=r&255,e+2};s.prototype.writeInt32LE=function(r,e,n){return r=+r,e=e>>>0,n||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};s.prototype.writeInt32BE=function(r,e,n){return r=+r,e=e>>>0,n||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 hr(t,r,e,n,i,a){if(e+n>t.length)throw new RangeError("Index out of range");if(e<0)throw new RangeError("Index out of range")}function mr(t,r,e,n,i){return r=+r,e=e>>>0,i||hr(t,r,e,4,34028234663852886e22,-34028234663852886e22),U.write(t,r,e,n,23,4),e+4}s.prototype.writeFloatLE=function(r,e,n){return mr(this,r,e,!0,n)};s.prototype.writeFloatBE=function(r,e,n){return mr(this,r,e,!1,n)};function yr(t,r,e,n,i){return r=+r,e=e>>>0,i||hr(t,r,e,8,17976931348623157e292,-17976931348623157e292),U.write(t,r,e,n,52,8),e+8}s.prototype.writeDoubleLE=function(r,e,n){return yr(this,r,e,!0,n)};s.prototype.writeDoubleBE=function(r,e,n){return yr(this,r,e,!1,n)};s.prototype.copy=function(r,e,n,i){if(!s.isBuffer(r))throw new TypeError("argument should be a Buffer");if(n||(n=0),!i&&i!==0&&(i=this.length),e>=r.length&&(e=r.length),e||(e=0),i>0&&i<n&&(i=n),i===n||r.length===0||this.length===0)return 0;if(e<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw new RangeError("Index out of range");if(i<0)throw new RangeError("sourceEnd out of bounds");i>this.length&&(i=this.length),r.length-e<i-n&&(i=r.length-e+n);var a=i-n;return this===r&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(e,n,i):Uint8Array.prototype.set.call(r,this.subarray(n,i),e),a};s.prototype.fill=function(r,e,n,i){if(typeof r=="string"){if(typeof e=="string"?(i=e,e=0,n=this.length):typeof n=="string"&&(i=n,n=this.length),i!==void 0&&typeof i!="string")throw new TypeError("encoding must be a string");if(typeof i=="string"&&!s.isEncoding(i))throw new TypeError("Unknown encoding: "+i);if(r.length===1){var a=r.charCodeAt(0);(i==="utf8"&&a<128||i==="latin1")&&(r=a)}}else typeof r=="number"?r=r&255:typeof r=="boolean"&&(r=Number(r));if(e<0||this.length<e||this.length<n)throw new RangeError("Out of range index");if(n<=e)return this;e=e>>>0,n=n===void 0?this.length:n>>>0,r||(r=0);var o;if(typeof r=="number")for(o=e;o<n;++o)this[o]=r;else{var p=s.isBuffer(r)?r:s.from(r,i),u=p.length;if(u===0)throw new TypeError('The value "'+r+'" is invalid for argument "value"');for(o=0;o<n-e;++o)this[o+e]=p[o%u]}return this};var ce=/[^+/0-9A-Za-z-_]/g;function le(t){if(t=t.split("=")[0],t=t.trim().replace(ce,""),t.length<2)return"";for(;t.length%4!==0;)t=t+"=";return t}function J(t,r){r=r||1/0;for(var e,n=t.length,i=null,a=[],o=0;o<n;++o){if(e=t.charCodeAt(o),e>55295&&e<57344){if(!i){if(e>56319){(r-=3)>-1&&a.push(239,191,189);continue}else if(o+1===n){(r-=3)>-1&&a.push(239,191,189);continue}i=e;continue}if(e<56320){(r-=3)>-1&&a.push(239,191,189),i=e;continue}e=(i-55296<<10|e-56320)+65536}else i&&(r-=3)>-1&&a.push(239,191,189);if(i=null,e<128){if((r-=1)<0)break;a.push(e)}else if(e<2048){if((r-=2)<0)break;a.push(e>>6|192,e&63|128)}else if(e<65536){if((r-=3)<0)break;a.push(e>>12|224,e>>6&63|128,e&63|128)}else if(e<1114112){if((r-=4)<0)break;a.push(e>>18|240,e>>12&63|128,e>>6&63|128,e&63|128)}else throw new Error("Invalid code point")}return a}function ge(t){for(var r=[],e=0;e<t.length;++e)r.push(t.charCodeAt(e)&255);return r}function fe(t,r){for(var e,n,i,a=[],o=0;o<t.length&&!((r-=2)<0);++o)e=t.charCodeAt(o),n=e>>8,i=e%256,a.push(i),a.push(n);return a}function xr(t){return V.toByteArray(le(t))}function q(t,r,e,n){for(var i=0;i<n&&!(i+e>=r.length||i>=t.length);++i)r[i+e]=t[i];return i}function F(t,r){return t instanceof r||t!=null&&t.constructor!=null&&t.constructor.name!=null&&t.constructor.name===r.name}function Z(t){return t!==t}var de=function(){for(var t="0123456789abcdef",r=new Array(256),e=0;e<16;++e)for(var n=e*16,i=0;i<16;++i)r[n+i]=t[e]+t[i];return r}()});var Fr=G((ke,kr)=>{c();var d=kr.exports={},b,S;function $(){throw new Error("setTimeout has not been defined")}function rr(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?b=setTimeout:b=$}catch(t){b=$}try{typeof clearTimeout=="function"?S=clearTimeout:S=rr}catch(t){S=rr}})();function Tr(t){if(b===setTimeout)return setTimeout(t,0);if((b===$||!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(S===clearTimeout)return clearTimeout(t);if((S===rr||!S)&&clearTimeout)return S=clearTimeout,clearTimeout(t);try{return S(t)}catch(r){try{return S.call(null,t)}catch(e){return S.call(this,t)}}}var B=[],N=!1,_,W=-1;function me(){!N||!_||(N=!1,_.length?B=_.concat(B):W=-1,B.length&&vr())}function vr(){if(!N){var t=Tr(me);N=!0;for(var r=B.length;r;){for(_=B,B=[];++W<r;)_&&_[W].run();W=-1,r=B.length}_=null,N=!1,he(t)}}d.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];B.push(new Ir(t,r)),B.length===1&&!N&&Tr(vr)};function Ir(t,r){this.fun=t,this.array=r}Ir.prototype.run=function(){this.fun.apply(null,this.array)};d.title="browser";d.browser=!0;d.env={};d.argv=[];d.version="";d.versions={};function E(){}d.on=E;d.addListener=E;d.once=E;d.off=E;d.removeListener=E;d.removeAllListeners=E;d.emit=E;d.prependListener=E;d.prependOnceListener=E;d.listeners=function(t){return[]};d.binding=function(t){throw new Error("process.binding is not supported")};d.cwd=function(){return"/"};d.chdir=function(t){throw new Error("process.chdir is not supported")};d.umask=function(){return 0}});var h,m,Fe,c=Nr(()=>{h=tr(wr()),m=tr(Fr()),Fe=function(t){function r(){var n=this||self;return delete t.prototype.__magic__,n}if(typeof globalThis=="object")return globalThis;if(this)return r();t.defineProperty(t.prototype,"__magic__",{configurable:!0,get:r});var e=__magic__;return e}(Object)});var xe={};Pr(xe,{getApiAddressForChainId:()=>ye});module.exports=Mr(xe);c();c();c();c();c();c();c();c();c();c();c();c();c();var P={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:br,egldLabel:We}=P["devnet"],{chainId:Sr,egldLabel:Ye}=P["testnet"],{chainId:Ar,egldLabel:ze}=P["mainnet"];var Ve={["devnet"]:br,["testnet"]:Sr,["mainnet"]:Ar},Br={[br]:"devnet",[Sr]:"testnet",[Ar]:"mainnet"};c();function Er(t){return Br[t]}function ye(t){let r=Er(t),e=P[r].apiAddress;if(!e)throw"Could not extract api address for environment, check if you have a valid chainID";return e}0&&(module.exports={getApiAddressForChainId});
|
|
1
|
+
"use strict";var Lr=Object.create;var M=Object.defineProperty;var _r=Object.getOwnPropertyDescriptor;var Cr=Object.getOwnPropertyNames;var Ur=Object.getPrototypeOf,Dr=Object.prototype.hasOwnProperty;var Nr=(t,r)=>()=>(t&&(r=t(t=0)),r);var G=(t,r)=>()=>(r||t((r={exports:{}}).exports,r),r.exports),Pr=(t,r)=>{for(var e in r)M(t,e,{get:r[e],enumerable:!0})},er=(t,r,e,n)=>{if(r&&typeof r=="object"||typeof r=="function")for(let i of Cr(r))!Dr.call(t,i)&&i!==e&&M(t,i,{get:()=>r[i],enumerable:!(n=_r(r,i))||n.enumerable});return t};var tr=(t,r,e)=>(e=t!=null?Lr(Ur(t)):{},er(r||!t||!t.__esModule?M(e,"default",{value:t,enumerable:!0}):e,t)),Mr=t=>er(M({},"__esModule",{value:!0}),t);var ar=G(O=>{"use strict";l();O.byteLength=Or;O.toByteArray=qr;O.fromByteArray=zr;var k=[],v=[],Gr=typeof Uint8Array!="undefined"?Uint8Array:Array,Y="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(R=0,nr=Y.length;R<nr;++R)k[R]=Y[R],v[Y.charCodeAt(R)]=R;var R,nr;v["-".charCodeAt(0)]=62;v["_".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 n=e===r?0:4-e%4;return[e,n]}function Or(t){var r=ir(t),e=r[0],n=r[1];return(e+n)*3/4-n}function Hr(t,r,e){return(r+e)*3/4-e}function qr(t){var r,e=ir(t),n=e[0],i=e[1],a=new Gr(Hr(t,n,i)),o=0,p=i>0?n-4:n,u;for(u=0;u<p;u+=4)r=v[t.charCodeAt(u)]<<18|v[t.charCodeAt(u+1)]<<12|v[t.charCodeAt(u+2)]<<6|v[t.charCodeAt(u+3)],a[o++]=r>>16&255,a[o++]=r>>8&255,a[o++]=r&255;return i===2&&(r=v[t.charCodeAt(u)]<<2|v[t.charCodeAt(u+1)]>>4,a[o++]=r&255),i===1&&(r=v[t.charCodeAt(u)]<<10|v[t.charCodeAt(u+1)]<<4|v[t.charCodeAt(u+2)]>>2,a[o++]=r>>8&255,a[o++]=r&255),a}function Wr(t){return k[t>>18&63]+k[t>>12&63]+k[t>>6&63]+k[t&63]}function Yr(t,r,e){for(var n,i=[],a=r;a<e;a+=3)n=(t[a]<<16&16711680)+(t[a+1]<<8&65280)+(t[a+2]&255),i.push(Wr(n));return i.join("")}function zr(t){for(var r,e=t.length,n=e%3,i=[],a=16383,o=0,p=e-n;o<p;o+=a)i.push(Yr(t,o,o+a>p?p:o+a));return n===1?(r=t[e-1],i.push(k[r>>2]+k[r<<4&63]+"==")):n===2&&(r=(t[e-2]<<8)+t[e-1],i.push(k[r>>10]+k[r>>4&63]+k[r<<2&63]+"=")),i.join("")}});var or=G(z=>{l();z.read=function(t,r,e,n,i){var a,o,p=i*8-n-1,u=(1<<p)-1,g=u>>1,f=-7,c=e?i-1:0,I=e?-1:1,T=t[r+c];for(c+=I,a=T&(1<<-f)-1,T>>=-f,f+=p;f>0;a=a*256+t[r+c],c+=I,f-=8);for(o=a&(1<<-f)-1,a>>=-f,f+=n;f>0;o=o*256+t[r+c],c+=I,f-=8);if(a===0)a=1-g;else{if(a===u)return o?NaN:(T?-1:1)*(1/0);o=o+Math.pow(2,n),a=a-g}return(T?-1:1)*o*Math.pow(2,a-n)};z.write=function(t,r,e,n,i,a){var o,p,u,g=a*8-i-1,f=(1<<g)-1,c=f>>1,I=i===23?Math.pow(2,-24)-Math.pow(2,-77):0,T=n?0:a-1,C=n?1:-1,Rr=r<0||r===0&&1/r<0?1:0;for(r=Math.abs(r),isNaN(r)||r===1/0?(p=isNaN(r)?1:0,o=f):(o=Math.floor(Math.log(r)/Math.LN2),r*(u=Math.pow(2,-o))<1&&(o--,u*=2),o+c>=1?r+=I/u:r+=I*Math.pow(2,1-c),r*u>=2&&(o++,u/=2),o+c>=f?(p=0,o=f):o+c>=1?(p=(r*u-1)*Math.pow(2,i),o=o+c):(p=r*Math.pow(2,c-1)*Math.pow(2,i),o=0));i>=8;t[e+T]=p&255,T+=C,p/=256,i-=8);for(o=o<<i|p,g+=i;g>0;t[e+T]=o&255,T+=C,o/=256,g-=8);t[e+T-C]|=Rr*128}});var wr=G(D=>{"use strict";l();var V=ar(),U=or(),sr=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;D.Buffer=s;D.SlowBuffer=Kr;D.INSPECT_MAX_BYTES=50;var H=2147483647;D.kMaxLength=H;s.TYPED_ARRAY_SUPPORT=Vr();!s.TYPED_ARRAY_SUPPORT&&typeof console!="undefined"&&typeof console.error=="function"&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function Vr(){try{var t=new Uint8Array(1),r={foo:function(){return 42}};return Object.setPrototypeOf(r,Uint8Array.prototype),Object.setPrototypeOf(t,r),t.foo()===42}catch(e){return!1}}Object.defineProperty(s.prototype,"parent",{enumerable:!0,get:function(){if(!!s.isBuffer(this))return this.buffer}});Object.defineProperty(s.prototype,"offset",{enumerable:!0,get:function(){if(!!s.isBuffer(this))return this.byteOffset}});function A(t){if(t>H)throw new RangeError('The value "'+t+'" is invalid for option "size"');var r=new Uint8Array(t);return Object.setPrototypeOf(r,s.prototype),r}function s(t,r,e){if(typeof t=="number"){if(typeof r=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return j(t)}return lr(t,r,e)}s.poolSize=8192;function lr(t,r,e){if(typeof t=="string")return Xr(t,r);if(ArrayBuffer.isView(t))return Jr(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(F(t,ArrayBuffer)||t&&F(t.buffer,ArrayBuffer)||typeof SharedArrayBuffer!="undefined"&&(F(t,SharedArrayBuffer)||t&&F(t.buffer,SharedArrayBuffer)))return X(t,r,e);if(typeof t=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var n=t.valueOf&&t.valueOf();if(n!=null&&n!==t)return s.from(n,r,e);var i=jr(t);if(i)return i;if(typeof Symbol!="undefined"&&Symbol.toPrimitive!=null&&typeof t[Symbol.toPrimitive]=="function")return s.from(t[Symbol.toPrimitive]("string"),r,e);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t)}s.from=function(t,r,e){return lr(t,r,e)};Object.setPrototypeOf(s.prototype,Uint8Array.prototype);Object.setPrototypeOf(s,Uint8Array);function cr(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 Qr(t,r,e){return cr(t),t<=0?A(t):r!==void 0?typeof e=="string"?A(t).fill(r,e):A(t).fill(r):A(t)}s.alloc=function(t,r,e){return Qr(t,r,e)};function j(t){return cr(t),A(t<0?0:K(t)|0)}s.allocUnsafe=function(t){return j(t)};s.allocUnsafeSlow=function(t){return j(t)};function Xr(t,r){if((typeof r!="string"||r==="")&&(r="utf8"),!s.isEncoding(r))throw new TypeError("Unknown encoding: "+r);var e=gr(t,r)|0,n=A(e),i=n.write(t,r);return i!==e&&(n=n.slice(0,i)),n}function Q(t){for(var r=t.length<0?0:K(t.length)|0,e=A(r),n=0;n<r;n+=1)e[n]=t[n]&255;return e}function Jr(t){if(F(t,Uint8Array)){var r=new Uint8Array(t);return X(r.buffer,r.byteOffset,r.byteLength)}return Q(t)}function X(t,r,e){if(r<0||t.byteLength<r)throw new RangeError('"offset" is outside of buffer bounds');if(t.byteLength<r+(e||0))throw new RangeError('"length" is outside of buffer bounds');var n;return r===void 0&&e===void 0?n=new Uint8Array(t):e===void 0?n=new Uint8Array(t,r):n=new Uint8Array(t,r,e),Object.setPrototypeOf(n,s.prototype),n}function jr(t){if(s.isBuffer(t)){var r=K(t.length)|0,e=A(r);return e.length===0||t.copy(e,0,0,r),e}if(t.length!==void 0)return typeof t.length!="number"||Z(t.length)?A(0):Q(t);if(t.type==="Buffer"&&Array.isArray(t.data))return Q(t.data)}function K(t){if(t>=H)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+H.toString(16)+" bytes");return t|0}function Kr(t){return+t!=t&&(t=0),s.alloc(+t)}s.isBuffer=function(r){return r!=null&&r._isBuffer===!0&&r!==s.prototype};s.compare=function(r,e){if(F(r,Uint8Array)&&(r=s.from(r,r.offset,r.byteLength)),F(e,Uint8Array)&&(e=s.from(e,e.offset,e.byteLength)),!s.isBuffer(r)||!s.isBuffer(e))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(r===e)return 0;for(var n=r.length,i=e.length,a=0,o=Math.min(n,i);a<o;++a)if(r[a]!==e[a]){n=r[a],i=e[a];break}return n<i?-1:i<n?1:0};s.isEncoding=function(r){switch(String(r).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}};s.concat=function(r,e){if(!Array.isArray(r))throw new TypeError('"list" argument must be an Array of Buffers');if(r.length===0)return s.alloc(0);var n;if(e===void 0)for(e=0,n=0;n<r.length;++n)e+=r[n].length;var i=s.allocUnsafe(e),a=0;for(n=0;n<r.length;++n){var o=r[n];if(F(o,Uint8Array))a+o.length>i.length?s.from(o).copy(i,a):Uint8Array.prototype.set.call(i,o,a);else if(s.isBuffer(o))o.copy(i,a);else throw new TypeError('"list" argument must be an Array of Buffers');a+=o.length}return i};function gr(t,r){if(s.isBuffer(t))return t.length;if(ArrayBuffer.isView(t)||F(t,ArrayBuffer))return t.byteLength;if(typeof t!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof t);var e=t.length,n=arguments.length>2&&arguments[2]===!0;if(!n&&e===0)return 0;for(var i=!1;;)switch(r){case"ascii":case"latin1":case"binary":return e;case"utf8":case"utf-8":return J(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return e*2;case"hex":return e>>>1;case"base64":return xr(t).length;default:if(i)return n?-1:J(t).length;r=(""+r).toLowerCase(),i=!0}}s.byteLength=gr;function Zr(t,r,e){var n=!1;if((r===void 0||r<0)&&(r=0),r>this.length||((e===void 0||e>this.length)&&(e=this.length),e<=0)||(e>>>=0,r>>>=0,e<=r))return"";for(t||(t="utf8");;)switch(t){case"hex":return pe(this,r,e);case"utf8":case"utf-8":return dr(this,r,e);case"ascii":return oe(this,r,e);case"latin1":case"binary":return se(this,r,e);case"base64":return ie(this,r,e);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return ue(this,r,e);default:if(n)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),n=!0}}s.prototype._isBuffer=!0;function L(t,r,e){var n=t[r];t[r]=t[e],t[e]=n}s.prototype.swap16=function(){var r=this.length;if(r%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var e=0;e<r;e+=2)L(this,e,e+1);return this};s.prototype.swap32=function(){var r=this.length;if(r%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var e=0;e<r;e+=4)L(this,e,e+3),L(this,e+1,e+2);return this};s.prototype.swap64=function(){var r=this.length;if(r%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var e=0;e<r;e+=8)L(this,e,e+7),L(this,e+1,e+6),L(this,e+2,e+5),L(this,e+3,e+4);return this};s.prototype.toString=function(){var r=this.length;return r===0?"":arguments.length===0?dr(this,0,r):Zr.apply(this,arguments)};s.prototype.toLocaleString=s.prototype.toString;s.prototype.equals=function(r){if(!s.isBuffer(r))throw new TypeError("Argument must be a Buffer");return this===r?!0:s.compare(this,r)===0};s.prototype.inspect=function(){var r="",e=D.INSPECT_MAX_BYTES;return r=this.toString("hex",0,e).replace(/(.{2})/g,"$1 ").trim(),this.length>e&&(r+=" ... "),"<Buffer "+r+">"};sr&&(s.prototype[sr]=s.prototype.inspect);s.prototype.compare=function(r,e,n,i,a){if(F(r,Uint8Array)&&(r=s.from(r,r.offset,r.byteLength)),!s.isBuffer(r))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof r);if(e===void 0&&(e=0),n===void 0&&(n=r?r.length:0),i===void 0&&(i=0),a===void 0&&(a=this.length),e<0||n>r.length||i<0||a>this.length)throw new RangeError("out of range index");if(i>=a&&e>=n)return 0;if(i>=a)return-1;if(e>=n)return 1;if(e>>>=0,n>>>=0,i>>>=0,a>>>=0,this===r)return 0;for(var o=a-i,p=n-e,u=Math.min(o,p),g=this.slice(i,a),f=r.slice(e,n),c=0;c<u;++c)if(g[c]!==f[c]){o=g[c],p=f[c];break}return o<p?-1:p<o?1:0};function fr(t,r,e,n,i){if(t.length===0)return-1;if(typeof e=="string"?(n=e,e=0):e>2147483647?e=2147483647:e<-2147483648&&(e=-2147483648),e=+e,Z(e)&&(e=i?0:t.length-1),e<0&&(e=t.length+e),e>=t.length){if(i)return-1;e=t.length-1}else if(e<0)if(i)e=0;else return-1;if(typeof r=="string"&&(r=s.from(r,n)),s.isBuffer(r))return r.length===0?-1:pr(t,r,e,n,i);if(typeof r=="number")return r=r&255,typeof Uint8Array.prototype.indexOf=="function"?i?Uint8Array.prototype.indexOf.call(t,r,e):Uint8Array.prototype.lastIndexOf.call(t,r,e):pr(t,[r],e,n,i);throw new TypeError("val must be string, number or Buffer")}function pr(t,r,e,n,i){var a=1,o=t.length,p=r.length;if(n!==void 0&&(n=String(n).toLowerCase(),n==="ucs2"||n==="ucs-2"||n==="utf16le"||n==="utf-16le")){if(t.length<2||r.length<2)return-1;a=2,o/=2,p/=2,e/=2}function u(T,C){return a===1?T[C]:T.readUInt16BE(C*a)}var g;if(i){var f=-1;for(g=e;g<o;g++)if(u(t,g)===u(r,f===-1?0:g-f)){if(f===-1&&(f=g),g-f+1===p)return f*a}else f!==-1&&(g-=g-f),f=-1}else for(e+p>o&&(e=o-p),g=e;g>=0;g--){for(var c=!0,I=0;I<p;I++)if(u(t,g+I)!==u(r,I)){c=!1;break}if(c)return g}return-1}s.prototype.includes=function(r,e,n){return this.indexOf(r,e,n)!==-1};s.prototype.indexOf=function(r,e,n){return fr(this,r,e,n,!0)};s.prototype.lastIndexOf=function(r,e,n){return fr(this,r,e,n,!1)};function $r(t,r,e,n){e=Number(e)||0;var i=t.length-e;n?(n=Number(n),n>i&&(n=i)):n=i;var a=r.length;n>a/2&&(n=a/2);for(var o=0;o<n;++o){var p=parseInt(r.substr(o*2,2),16);if(Z(p))return o;t[e+o]=p}return o}function re(t,r,e,n){return q(J(r,t.length-e),t,e,n)}function ee(t,r,e,n){return q(ge(r),t,e,n)}function te(t,r,e,n){return q(xr(r),t,e,n)}function ne(t,r,e,n){return q(fe(r,t.length-e),t,e,n)}s.prototype.write=function(r,e,n,i){if(e===void 0)i="utf8",n=this.length,e=0;else if(n===void 0&&typeof e=="string")i=e,n=this.length,e=0;else if(isFinite(e))e=e>>>0,isFinite(n)?(n=n>>>0,i===void 0&&(i="utf8")):(i=n,n=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var a=this.length-e;if((n===void 0||n>a)&&(n=a),r.length>0&&(n<0||e<0)||e>this.length)throw new RangeError("Attempt to write outside buffer bounds");i||(i="utf8");for(var o=!1;;)switch(i){case"hex":return $r(this,r,e,n);case"utf8":case"utf-8":return re(this,r,e,n);case"ascii":case"latin1":case"binary":return ee(this,r,e,n);case"base64":return te(this,r,e,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return ne(this,r,e,n);default:if(o)throw new TypeError("Unknown encoding: "+i);i=(""+i).toLowerCase(),o=!0}};s.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function ie(t,r,e){return r===0&&e===t.length?V.fromByteArray(t):V.fromByteArray(t.slice(r,e))}function dr(t,r,e){e=Math.min(t.length,e);for(var n=[],i=r;i<e;){var a=t[i],o=null,p=a>239?4:a>223?3:a>191?2:1;if(i+p<=e){var u,g,f,c;switch(p){case 1:a<128&&(o=a);break;case 2:u=t[i+1],(u&192)===128&&(c=(a&31)<<6|u&63,c>127&&(o=c));break;case 3:u=t[i+1],g=t[i+2],(u&192)===128&&(g&192)===128&&(c=(a&15)<<12|(u&63)<<6|g&63,c>2047&&(c<55296||c>57343)&&(o=c));break;case 4:u=t[i+1],g=t[i+2],f=t[i+3],(u&192)===128&&(g&192)===128&&(f&192)===128&&(c=(a&15)<<18|(u&63)<<12|(g&63)<<6|f&63,c>65535&&c<1114112&&(o=c))}}o===null?(o=65533,p=1):o>65535&&(o-=65536,n.push(o>>>10&1023|55296),o=56320|o&1023),n.push(o),i+=p}return ae(n)}var ur=4096;function ae(t){var r=t.length;if(r<=ur)return String.fromCharCode.apply(String,t);for(var e="",n=0;n<r;)e+=String.fromCharCode.apply(String,t.slice(n,n+=ur));return e}function oe(t,r,e){var n="";e=Math.min(t.length,e);for(var i=r;i<e;++i)n+=String.fromCharCode(t[i]&127);return n}function se(t,r,e){var n="";e=Math.min(t.length,e);for(var i=r;i<e;++i)n+=String.fromCharCode(t[i]);return n}function pe(t,r,e){var n=t.length;(!r||r<0)&&(r=0),(!e||e<0||e>n)&&(e=n);for(var i="",a=r;a<e;++a)i+=de[t[a]];return i}function ue(t,r,e){for(var n=t.slice(r,e),i="",a=0;a<n.length-1;a+=2)i+=String.fromCharCode(n[a]+n[a+1]*256);return i}s.prototype.slice=function(r,e){var n=this.length;r=~~r,e=e===void 0?n:~~e,r<0?(r+=n,r<0&&(r=0)):r>n&&(r=n),e<0?(e+=n,e<0&&(e=0)):e>n&&(e=n),e<r&&(e=r);var i=this.subarray(r,e);return Object.setPrototypeOf(i,s.prototype),i};function y(t,r,e){if(t%1!==0||t<0)throw new RangeError("offset is not uint");if(t+r>e)throw new RangeError("Trying to access beyond buffer length")}s.prototype.readUintLE=s.prototype.readUIntLE=function(r,e,n){r=r>>>0,e=e>>>0,n||y(r,e,this.length);for(var i=this[r],a=1,o=0;++o<e&&(a*=256);)i+=this[r+o]*a;return i};s.prototype.readUintBE=s.prototype.readUIntBE=function(r,e,n){r=r>>>0,e=e>>>0,n||y(r,e,this.length);for(var i=this[r+--e],a=1;e>0&&(a*=256);)i+=this[r+--e]*a;return i};s.prototype.readUint8=s.prototype.readUInt8=function(r,e){return r=r>>>0,e||y(r,1,this.length),this[r]};s.prototype.readUint16LE=s.prototype.readUInt16LE=function(r,e){return r=r>>>0,e||y(r,2,this.length),this[r]|this[r+1]<<8};s.prototype.readUint16BE=s.prototype.readUInt16BE=function(r,e){return r=r>>>0,e||y(r,2,this.length),this[r]<<8|this[r+1]};s.prototype.readUint32LE=s.prototype.readUInt32LE=function(r,e){return r=r>>>0,e||y(r,4,this.length),(this[r]|this[r+1]<<8|this[r+2]<<16)+this[r+3]*16777216};s.prototype.readUint32BE=s.prototype.readUInt32BE=function(r,e){return r=r>>>0,e||y(r,4,this.length),this[r]*16777216+(this[r+1]<<16|this[r+2]<<8|this[r+3])};s.prototype.readIntLE=function(r,e,n){r=r>>>0,e=e>>>0,n||y(r,e,this.length);for(var i=this[r],a=1,o=0;++o<e&&(a*=256);)i+=this[r+o]*a;return a*=128,i>=a&&(i-=Math.pow(2,8*e)),i};s.prototype.readIntBE=function(r,e,n){r=r>>>0,e=e>>>0,n||y(r,e,this.length);for(var i=e,a=1,o=this[r+--i];i>0&&(a*=256);)o+=this[r+--i]*a;return a*=128,o>=a&&(o-=Math.pow(2,8*e)),o};s.prototype.readInt8=function(r,e){return r=r>>>0,e||y(r,1,this.length),this[r]&128?(255-this[r]+1)*-1:this[r]};s.prototype.readInt16LE=function(r,e){r=r>>>0,e||y(r,2,this.length);var n=this[r]|this[r+1]<<8;return n&32768?n|4294901760:n};s.prototype.readInt16BE=function(r,e){r=r>>>0,e||y(r,2,this.length);var n=this[r+1]|this[r]<<8;return n&32768?n|4294901760:n};s.prototype.readInt32LE=function(r,e){return r=r>>>0,e||y(r,4,this.length),this[r]|this[r+1]<<8|this[r+2]<<16|this[r+3]<<24};s.prototype.readInt32BE=function(r,e){return r=r>>>0,e||y(r,4,this.length),this[r]<<24|this[r+1]<<16|this[r+2]<<8|this[r+3]};s.prototype.readFloatLE=function(r,e){return r=r>>>0,e||y(r,4,this.length),U.read(this,r,!0,23,4)};s.prototype.readFloatBE=function(r,e){return r=r>>>0,e||y(r,4,this.length),U.read(this,r,!1,23,4)};s.prototype.readDoubleLE=function(r,e){return r=r>>>0,e||y(r,8,this.length),U.read(this,r,!0,52,8)};s.prototype.readDoubleBE=function(r,e){return r=r>>>0,e||y(r,8,this.length),U.read(this,r,!1,52,8)};function w(t,r,e,n,i,a){if(!s.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(r>i||r<a)throw new RangeError('"value" argument is out of bounds');if(e+n>t.length)throw new RangeError("Index out of range")}s.prototype.writeUintLE=s.prototype.writeUIntLE=function(r,e,n,i){if(r=+r,e=e>>>0,n=n>>>0,!i){var a=Math.pow(2,8*n)-1;w(this,r,e,n,a,0)}var o=1,p=0;for(this[e]=r&255;++p<n&&(o*=256);)this[e+p]=r/o&255;return e+n};s.prototype.writeUintBE=s.prototype.writeUIntBE=function(r,e,n,i){if(r=+r,e=e>>>0,n=n>>>0,!i){var a=Math.pow(2,8*n)-1;w(this,r,e,n,a,0)}var o=n-1,p=1;for(this[e+o]=r&255;--o>=0&&(p*=256);)this[e+o]=r/p&255;return e+n};s.prototype.writeUint8=s.prototype.writeUInt8=function(r,e,n){return r=+r,e=e>>>0,n||w(this,r,e,1,255,0),this[e]=r&255,e+1};s.prototype.writeUint16LE=s.prototype.writeUInt16LE=function(r,e,n){return r=+r,e=e>>>0,n||w(this,r,e,2,65535,0),this[e]=r&255,this[e+1]=r>>>8,e+2};s.prototype.writeUint16BE=s.prototype.writeUInt16BE=function(r,e,n){return r=+r,e=e>>>0,n||w(this,r,e,2,65535,0),this[e]=r>>>8,this[e+1]=r&255,e+2};s.prototype.writeUint32LE=s.prototype.writeUInt32LE=function(r,e,n){return r=+r,e=e>>>0,n||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};s.prototype.writeUint32BE=s.prototype.writeUInt32BE=function(r,e,n){return r=+r,e=e>>>0,n||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};s.prototype.writeIntLE=function(r,e,n,i){if(r=+r,e=e>>>0,!i){var a=Math.pow(2,8*n-1);w(this,r,e,n,a-1,-a)}var o=0,p=1,u=0;for(this[e]=r&255;++o<n&&(p*=256);)r<0&&u===0&&this[e+o-1]!==0&&(u=1),this[e+o]=(r/p>>0)-u&255;return e+n};s.prototype.writeIntBE=function(r,e,n,i){if(r=+r,e=e>>>0,!i){var a=Math.pow(2,8*n-1);w(this,r,e,n,a-1,-a)}var o=n-1,p=1,u=0;for(this[e+o]=r&255;--o>=0&&(p*=256);)r<0&&u===0&&this[e+o+1]!==0&&(u=1),this[e+o]=(r/p>>0)-u&255;return e+n};s.prototype.writeInt8=function(r,e,n){return r=+r,e=e>>>0,n||w(this,r,e,1,127,-128),r<0&&(r=255+r+1),this[e]=r&255,e+1};s.prototype.writeInt16LE=function(r,e,n){return r=+r,e=e>>>0,n||w(this,r,e,2,32767,-32768),this[e]=r&255,this[e+1]=r>>>8,e+2};s.prototype.writeInt16BE=function(r,e,n){return r=+r,e=e>>>0,n||w(this,r,e,2,32767,-32768),this[e]=r>>>8,this[e+1]=r&255,e+2};s.prototype.writeInt32LE=function(r,e,n){return r=+r,e=e>>>0,n||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};s.prototype.writeInt32BE=function(r,e,n){return r=+r,e=e>>>0,n||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 hr(t,r,e,n,i,a){if(e+n>t.length)throw new RangeError("Index out of range");if(e<0)throw new RangeError("Index out of range")}function mr(t,r,e,n,i){return r=+r,e=e>>>0,i||hr(t,r,e,4,34028234663852886e22,-34028234663852886e22),U.write(t,r,e,n,23,4),e+4}s.prototype.writeFloatLE=function(r,e,n){return mr(this,r,e,!0,n)};s.prototype.writeFloatBE=function(r,e,n){return mr(this,r,e,!1,n)};function yr(t,r,e,n,i){return r=+r,e=e>>>0,i||hr(t,r,e,8,17976931348623157e292,-17976931348623157e292),U.write(t,r,e,n,52,8),e+8}s.prototype.writeDoubleLE=function(r,e,n){return yr(this,r,e,!0,n)};s.prototype.writeDoubleBE=function(r,e,n){return yr(this,r,e,!1,n)};s.prototype.copy=function(r,e,n,i){if(!s.isBuffer(r))throw new TypeError("argument should be a Buffer");if(n||(n=0),!i&&i!==0&&(i=this.length),e>=r.length&&(e=r.length),e||(e=0),i>0&&i<n&&(i=n),i===n||r.length===0||this.length===0)return 0;if(e<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw new RangeError("Index out of range");if(i<0)throw new RangeError("sourceEnd out of bounds");i>this.length&&(i=this.length),r.length-e<i-n&&(i=r.length-e+n);var a=i-n;return this===r&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(e,n,i):Uint8Array.prototype.set.call(r,this.subarray(n,i),e),a};s.prototype.fill=function(r,e,n,i){if(typeof r=="string"){if(typeof e=="string"?(i=e,e=0,n=this.length):typeof n=="string"&&(i=n,n=this.length),i!==void 0&&typeof i!="string")throw new TypeError("encoding must be a string");if(typeof i=="string"&&!s.isEncoding(i))throw new TypeError("Unknown encoding: "+i);if(r.length===1){var a=r.charCodeAt(0);(i==="utf8"&&a<128||i==="latin1")&&(r=a)}}else typeof r=="number"?r=r&255:typeof r=="boolean"&&(r=Number(r));if(e<0||this.length<e||this.length<n)throw new RangeError("Out of range index");if(n<=e)return this;e=e>>>0,n=n===void 0?this.length:n>>>0,r||(r=0);var o;if(typeof r=="number")for(o=e;o<n;++o)this[o]=r;else{var p=s.isBuffer(r)?r:s.from(r,i),u=p.length;if(u===0)throw new TypeError('The value "'+r+'" is invalid for argument "value"');for(o=0;o<n-e;++o)this[o+e]=p[o%u]}return this};var le=/[^+/0-9A-Za-z-_]/g;function ce(t){if(t=t.split("=")[0],t=t.trim().replace(le,""),t.length<2)return"";for(;t.length%4!==0;)t=t+"=";return t}function J(t,r){r=r||1/0;for(var e,n=t.length,i=null,a=[],o=0;o<n;++o){if(e=t.charCodeAt(o),e>55295&&e<57344){if(!i){if(e>56319){(r-=3)>-1&&a.push(239,191,189);continue}else if(o+1===n){(r-=3)>-1&&a.push(239,191,189);continue}i=e;continue}if(e<56320){(r-=3)>-1&&a.push(239,191,189),i=e;continue}e=(i-55296<<10|e-56320)+65536}else i&&(r-=3)>-1&&a.push(239,191,189);if(i=null,e<128){if((r-=1)<0)break;a.push(e)}else if(e<2048){if((r-=2)<0)break;a.push(e>>6|192,e&63|128)}else if(e<65536){if((r-=3)<0)break;a.push(e>>12|224,e>>6&63|128,e&63|128)}else if(e<1114112){if((r-=4)<0)break;a.push(e>>18|240,e>>12&63|128,e>>6&63|128,e&63|128)}else throw new Error("Invalid code point")}return a}function ge(t){for(var r=[],e=0;e<t.length;++e)r.push(t.charCodeAt(e)&255);return r}function fe(t,r){for(var e,n,i,a=[],o=0;o<t.length&&!((r-=2)<0);++o)e=t.charCodeAt(o),n=e>>8,i=e%256,a.push(i),a.push(n);return a}function xr(t){return V.toByteArray(ce(t))}function q(t,r,e,n){for(var i=0;i<n&&!(i+e>=r.length||i>=t.length);++i)r[i+e]=t[i];return i}function F(t,r){return t instanceof r||t!=null&&t.constructor!=null&&t.constructor.name!=null&&t.constructor.name===r.name}function Z(t){return t!==t}var de=function(){for(var t="0123456789abcdef",r=new Array(256),e=0;e<16;++e)for(var n=e*16,i=0;i<16;++i)r[n+i]=t[e]+t[i];return r}()});var Fr=G((ke,kr)=>{l();var d=kr.exports={},b,S;function $(){throw new Error("setTimeout has not been defined")}function rr(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?b=setTimeout:b=$}catch(t){b=$}try{typeof clearTimeout=="function"?S=clearTimeout:S=rr}catch(t){S=rr}})();function Tr(t){if(b===setTimeout)return setTimeout(t,0);if((b===$||!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(S===clearTimeout)return clearTimeout(t);if((S===rr||!S)&&clearTimeout)return S=clearTimeout,clearTimeout(t);try{return S(t)}catch(r){try{return S.call(null,t)}catch(e){return S.call(this,t)}}}var B=[],N=!1,_,W=-1;function me(){!N||!_||(N=!1,_.length?B=_.concat(B):W=-1,B.length&&vr())}function vr(){if(!N){var t=Tr(me);N=!0;for(var r=B.length;r;){for(_=B,B=[];++W<r;)_&&_[W].run();W=-1,r=B.length}_=null,N=!1,he(t)}}d.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];B.push(new Ir(t,r)),B.length===1&&!N&&Tr(vr)};function Ir(t,r){this.fun=t,this.array=r}Ir.prototype.run=function(){this.fun.apply(null,this.array)};d.title="browser";d.browser=!0;d.env={};d.argv=[];d.version="";d.versions={};function E(){}d.on=E;d.addListener=E;d.once=E;d.off=E;d.removeListener=E;d.removeAllListeners=E;d.emit=E;d.prependListener=E;d.prependOnceListener=E;d.listeners=function(t){return[]};d.binding=function(t){throw new Error("process.binding is not supported")};d.cwd=function(){return"/"};d.chdir=function(t){throw new Error("process.chdir is not supported")};d.umask=function(){return 0}});var h,m,Fe,l=Nr(()=>{h=tr(wr()),m=tr(Fr()),Fe=function(t){function r(){var n=this||self;return delete t.prototype.__magic__,n}if(typeof globalThis=="object")return globalThis;if(this)return r();t.defineProperty(t.prototype,"__magic__",{configurable:!0,get:r});var e=__magic__;return e}(Object)});var xe={};Pr(xe,{getApiAddressForChainId:()=>ye});module.exports=Mr(xe);l();l();l();l();l();l();l();l();l();l();l();l();l();var P={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:br,egldLabel:We}=P["devnet"],{chainId:Sr,egldLabel:Ye}=P["testnet"],{chainId:Ar,egldLabel:ze}=P["mainnet"];var Ve={["devnet"]:br,["testnet"]:Sr,["mainnet"]:Ar},Br={[br]:"devnet",[Sr]:"testnet",[Ar]:"mainnet"};l();function Er(t){return Br[t]}function ye(t){let r=Er(t),e=P[r].apiAddress;if(!e)throw"Could not extract api address for environment, check if you have a valid chainID";return e}0&&(module.exports={getApiAddressForChainId});
|
|
2
2
|
/*!
|
|
3
3
|
* The buffer module from node.js, for the browser.
|
|
4
4
|
*
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";var Rr=Object.create;var P=Object.defineProperty;var Er=Object.getOwnPropertyDescriptor;var Lr=Object.getOwnPropertyNames;var _r=Object.getPrototypeOf,Cr=Object.prototype.hasOwnProperty;var Ur=(t,r)=>()=>(t&&(r=t(t=0)),r);var M=(t,r)=>()=>(r||t((r={exports:{}}).exports,r),r.exports),Dr=(t,r)=>{for(var e in r)P(t,e,{get:r[e],enumerable:!0})},ir=(t,r,e,n)=>{if(r&&typeof r=="object"||typeof r=="function")for(let i of Lr(r))!Cr.call(t,i)&&i!==e&&P(t,i,{get:()=>r[i],enumerable:!(n=Er(r,i))||n.enumerable});return t};var ar=(t,r,e)=>(e=t!=null?Rr(_r(t)):{},ir(r||!t||!t.__esModule?P(e,"default",{value:t,enumerable:!0}):e,t)),Nr=t=>ir(P({},"__esModule",{value:!0}),t);var pr=M(G=>{"use strict";c();G.byteLength=Mr;G.toByteArray=Or;G.fromByteArray=Wr;var k=[],v=[],Pr=typeof Uint8Array!="undefined"?Uint8Array:Array,Y="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(E=0,or=Y.length;E<or;++E)k[E]=Y[E],v[Y.charCodeAt(E)]=E;var E,or;v["-".charCodeAt(0)]=62;v["_".charCodeAt(0)]=63;function sr(t){var r=t.length;if(r%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var e=t.indexOf("=");e===-1&&(e=r);var n=e===r?0:4-e%4;return[e,n]}function Mr(t){var r=sr(t),e=r[0],n=r[1];return(e+n)*3/4-n}function Gr(t,r,e){return(r+e)*3/4-e}function Or(t){var r,e=sr(t),n=e[0],i=e[1],a=new Pr(Gr(t,n,i)),o=0,p=i>0?n-4:n,u;for(u=0;u<p;u+=4)r=v[t.charCodeAt(u)]<<18|v[t.charCodeAt(u+1)]<<12|v[t.charCodeAt(u+2)]<<6|v[t.charCodeAt(u+3)],a[o++]=r>>16&255,a[o++]=r>>8&255,a[o++]=r&255;return i===2&&(r=v[t.charCodeAt(u)]<<2|v[t.charCodeAt(u+1)]>>4,a[o++]=r&255),i===1&&(r=v[t.charCodeAt(u)]<<10|v[t.charCodeAt(u+1)]<<4|v[t.charCodeAt(u+2)]>>2,a[o++]=r>>8&255,a[o++]=r&255),a}function Hr(t){return k[t>>18&63]+k[t>>12&63]+k[t>>6&63]+k[t&63]}function qr(t,r,e){for(var n,i=[],a=r;a<e;a+=3)n=(t[a]<<16&16711680)+(t[a+1]<<8&65280)+(t[a+2]&255),i.push(Hr(n));return i.join("")}function Wr(t){for(var r,e=t.length,n=e%3,i=[],a=16383,o=0,p=e-n;o<p;o+=a)i.push(qr(t,o,o+a>p?p:o+a));return n===1?(r=t[e-1],i.push(k[r>>2]+k[r<<4&63]+"==")):n===2&&(r=(t[e-2]<<8)+t[e-1],i.push(k[r>>10]+k[r>>4&63]+k[r<<2&63]+"=")),i.join("")}});var ur=M(z=>{c();z.read=function(t,r,e,n,i){var a,o,p=i*8-n-1,u=(1<<p)-1,g=u>>1,f=-7,l=e?i-1:0,I=e?-1:1,T=t[r+l];for(l+=I,a=T&(1<<-f)-1,T>>=-f,f+=p;f>0;a=a*256+t[r+l],l+=I,f-=8);for(o=a&(1<<-f)-1,a>>=-f,f+=n;f>0;o=o*256+t[r+l],l+=I,f-=8);if(a===0)a=1-g;else{if(a===u)return o?NaN:(T?-1:1)*(1/0);o=o+Math.pow(2,n),a=a-g}return(T?-1:1)*o*Math.pow(2,a-n)};z.write=function(t,r,e,n,i,a){var o,p,u,g=a*8-i-1,f=(1<<g)-1,l=f>>1,I=i===23?Math.pow(2,-24)-Math.pow(2,-77):0,T=n?0:a-1,C=n?1:-1,Br=r<0||r===0&&1/r<0?1:0;for(r=Math.abs(r),isNaN(r)||r===1/0?(p=isNaN(r)?1:0,o=f):(o=Math.floor(Math.log(r)/Math.LN2),r*(u=Math.pow(2,-o))<1&&(o--,u*=2),o+l>=1?r+=I/u:r+=I*Math.pow(2,1-l),r*u>=2&&(o++,u/=2),o+l>=f?(p=0,o=f):o+l>=1?(p=(r*u-1)*Math.pow(2,i),o=o+l):(p=r*Math.pow(2,l-1)*Math.pow(2,i),o=0));i>=8;t[e+T]=p&255,T+=C,p/=256,i-=8);for(o=o<<i|p,g+=i;g>0;t[e+T]=o&255,T+=C,o/=256,g-=8);t[e+T-C]|=Br*128}});var Ir=M(D=>{"use strict";c();var V=pr(),U=ur(),lr=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;D.Buffer=s;D.SlowBuffer=Jr;D.INSPECT_MAX_BYTES=50;var O=2147483647;D.kMaxLength=O;s.TYPED_ARRAY_SUPPORT=Yr();!s.TYPED_ARRAY_SUPPORT&&typeof console!="undefined"&&typeof console.error=="function"&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function Yr(){try{var t=new Uint8Array(1),r={foo:function(){return 42}};return Object.setPrototypeOf(r,Uint8Array.prototype),Object.setPrototypeOf(t,r),t.foo()===42}catch(e){return!1}}Object.defineProperty(s.prototype,"parent",{enumerable:!0,get:function(){if(!!s.isBuffer(this))return this.buffer}});Object.defineProperty(s.prototype,"offset",{enumerable:!0,get:function(){if(!!s.isBuffer(this))return this.byteOffset}});function A(t){if(t>O)throw new RangeError('The value "'+t+'" is invalid for option "size"');var r=new Uint8Array(t);return Object.setPrototypeOf(r,s.prototype),r}function s(t,r,e){if(typeof t=="number"){if(typeof r=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return j(t)}return fr(t,r,e)}s.poolSize=8192;function fr(t,r,e){if(typeof t=="string")return Vr(t,r);if(ArrayBuffer.isView(t))return Qr(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(F(t,ArrayBuffer)||t&&F(t.buffer,ArrayBuffer)||typeof SharedArrayBuffer!="undefined"&&(F(t,SharedArrayBuffer)||t&&F(t.buffer,SharedArrayBuffer)))return X(t,r,e);if(typeof t=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var n=t.valueOf&&t.valueOf();if(n!=null&&n!==t)return s.from(n,r,e);var i=Xr(t);if(i)return i;if(typeof Symbol!="undefined"&&Symbol.toPrimitive!=null&&typeof t[Symbol.toPrimitive]=="function")return s.from(t[Symbol.toPrimitive]("string"),r,e);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t)}s.from=function(t,r,e){return fr(t,r,e)};Object.setPrototypeOf(s.prototype,Uint8Array.prototype);Object.setPrototypeOf(s,Uint8Array);function dr(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 zr(t,r,e){return dr(t),t<=0?A(t):r!==void 0?typeof e=="string"?A(t).fill(r,e):A(t).fill(r):A(t)}s.alloc=function(t,r,e){return zr(t,r,e)};function j(t){return dr(t),A(t<0?0:K(t)|0)}s.allocUnsafe=function(t){return j(t)};s.allocUnsafeSlow=function(t){return j(t)};function Vr(t,r){if((typeof r!="string"||r==="")&&(r="utf8"),!s.isEncoding(r))throw new TypeError("Unknown encoding: "+r);var e=hr(t,r)|0,n=A(e),i=n.write(t,r);return i!==e&&(n=n.slice(0,i)),n}function Q(t){for(var r=t.length<0?0:K(t.length)|0,e=A(r),n=0;n<r;n+=1)e[n]=t[n]&255;return e}function Qr(t){if(F(t,Uint8Array)){var r=new Uint8Array(t);return X(r.buffer,r.byteOffset,r.byteLength)}return Q(t)}function X(t,r,e){if(r<0||t.byteLength<r)throw new RangeError('"offset" is outside of buffer bounds');if(t.byteLength<r+(e||0))throw new RangeError('"length" is outside of buffer bounds');var n;return r===void 0&&e===void 0?n=new Uint8Array(t):e===void 0?n=new Uint8Array(t,r):n=new Uint8Array(t,r,e),Object.setPrototypeOf(n,s.prototype),n}function Xr(t){if(s.isBuffer(t)){var r=K(t.length)|0,e=A(r);return e.length===0||t.copy(e,0,0,r),e}if(t.length!==void 0)return typeof t.length!="number"||Z(t.length)?A(0):Q(t);if(t.type==="Buffer"&&Array.isArray(t.data))return Q(t.data)}function K(t){if(t>=O)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+O.toString(16)+" bytes");return t|0}function Jr(t){return+t!=t&&(t=0),s.alloc(+t)}s.isBuffer=function(r){return r!=null&&r._isBuffer===!0&&r!==s.prototype};s.compare=function(r,e){if(F(r,Uint8Array)&&(r=s.from(r,r.offset,r.byteLength)),F(e,Uint8Array)&&(e=s.from(e,e.offset,e.byteLength)),!s.isBuffer(r)||!s.isBuffer(e))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(r===e)return 0;for(var n=r.length,i=e.length,a=0,o=Math.min(n,i);a<o;++a)if(r[a]!==e[a]){n=r[a],i=e[a];break}return n<i?-1:i<n?1:0};s.isEncoding=function(r){switch(String(r).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}};s.concat=function(r,e){if(!Array.isArray(r))throw new TypeError('"list" argument must be an Array of Buffers');if(r.length===0)return s.alloc(0);var n;if(e===void 0)for(e=0,n=0;n<r.length;++n)e+=r[n].length;var i=s.allocUnsafe(e),a=0;for(n=0;n<r.length;++n){var o=r[n];if(F(o,Uint8Array))a+o.length>i.length?s.from(o).copy(i,a):Uint8Array.prototype.set.call(i,o,a);else if(s.isBuffer(o))o.copy(i,a);else throw new TypeError('"list" argument must be an Array of Buffers');a+=o.length}return i};function hr(t,r){if(s.isBuffer(t))return t.length;if(ArrayBuffer.isView(t)||F(t,ArrayBuffer))return t.byteLength;if(typeof t!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof t);var e=t.length,n=arguments.length>2&&arguments[2]===!0;if(!n&&e===0)return 0;for(var i=!1;;)switch(r){case"ascii":case"latin1":case"binary":return e;case"utf8":case"utf-8":return J(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return e*2;case"hex":return e>>>1;case"base64":return vr(t).length;default:if(i)return n?-1:J(t).length;r=(""+r).toLowerCase(),i=!0}}s.byteLength=hr;function jr(t,r,e){var n=!1;if((r===void 0||r<0)&&(r=0),r>this.length||((e===void 0||e>this.length)&&(e=this.length),e<=0)||(e>>>=0,r>>>=0,e<=r))return"";for(t||(t="utf8");;)switch(t){case"hex":return oe(this,r,e);case"utf8":case"utf-8":return yr(this,r,e);case"ascii":return ie(this,r,e);case"latin1":case"binary":return ae(this,r,e);case"base64":return te(this,r,e);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return se(this,r,e);default:if(n)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),n=!0}}s.prototype._isBuffer=!0;function L(t,r,e){var n=t[r];t[r]=t[e],t[e]=n}s.prototype.swap16=function(){var r=this.length;if(r%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var e=0;e<r;e+=2)L(this,e,e+1);return this};s.prototype.swap32=function(){var r=this.length;if(r%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var e=0;e<r;e+=4)L(this,e,e+3),L(this,e+1,e+2);return this};s.prototype.swap64=function(){var r=this.length;if(r%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var e=0;e<r;e+=8)L(this,e,e+7),L(this,e+1,e+6),L(this,e+2,e+5),L(this,e+3,e+4);return this};s.prototype.toString=function(){var r=this.length;return r===0?"":arguments.length===0?yr(this,0,r):jr.apply(this,arguments)};s.prototype.toLocaleString=s.prototype.toString;s.prototype.equals=function(r){if(!s.isBuffer(r))throw new TypeError("Argument must be a Buffer");return this===r?!0:s.compare(this,r)===0};s.prototype.inspect=function(){var r="",e=D.INSPECT_MAX_BYTES;return r=this.toString("hex",0,e).replace(/(.{2})/g,"$1 ").trim(),this.length>e&&(r+=" ... "),"<Buffer "+r+">"};lr&&(s.prototype[lr]=s.prototype.inspect);s.prototype.compare=function(r,e,n,i,a){if(F(r,Uint8Array)&&(r=s.from(r,r.offset,r.byteLength)),!s.isBuffer(r))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof r);if(e===void 0&&(e=0),n===void 0&&(n=r?r.length:0),i===void 0&&(i=0),a===void 0&&(a=this.length),e<0||n>r.length||i<0||a>this.length)throw new RangeError("out of range index");if(i>=a&&e>=n)return 0;if(i>=a)return-1;if(e>=n)return 1;if(e>>>=0,n>>>=0,i>>>=0,a>>>=0,this===r)return 0;for(var o=a-i,p=n-e,u=Math.min(o,p),g=this.slice(i,a),f=r.slice(e,n),l=0;l<u;++l)if(g[l]!==f[l]){o=g[l],p=f[l];break}return o<p?-1:p<o?1:0};function mr(t,r,e,n,i){if(t.length===0)return-1;if(typeof e=="string"?(n=e,e=0):e>2147483647?e=2147483647:e<-2147483648&&(e=-2147483648),e=+e,Z(e)&&(e=i?0:t.length-1),e<0&&(e=t.length+e),e>=t.length){if(i)return-1;e=t.length-1}else if(e<0)if(i)e=0;else return-1;if(typeof r=="string"&&(r=s.from(r,n)),s.isBuffer(r))return r.length===0?-1:cr(t,r,e,n,i);if(typeof r=="number")return r=r&255,typeof Uint8Array.prototype.indexOf=="function"?i?Uint8Array.prototype.indexOf.call(t,r,e):Uint8Array.prototype.lastIndexOf.call(t,r,e):cr(t,[r],e,n,i);throw new TypeError("val must be string, number or Buffer")}function cr(t,r,e,n,i){var a=1,o=t.length,p=r.length;if(n!==void 0&&(n=String(n).toLowerCase(),n==="ucs2"||n==="ucs-2"||n==="utf16le"||n==="utf-16le")){if(t.length<2||r.length<2)return-1;a=2,o/=2,p/=2,e/=2}function u(T,C){return a===1?T[C]:T.readUInt16BE(C*a)}var g;if(i){var f=-1;for(g=e;g<o;g++)if(u(t,g)===u(r,f===-1?0:g-f)){if(f===-1&&(f=g),g-f+1===p)return f*a}else f!==-1&&(g-=g-f),f=-1}else for(e+p>o&&(e=o-p),g=e;g>=0;g--){for(var l=!0,I=0;I<p;I++)if(u(t,g+I)!==u(r,I)){l=!1;break}if(l)return g}return-1}s.prototype.includes=function(r,e,n){return this.indexOf(r,e,n)!==-1};s.prototype.indexOf=function(r,e,n){return mr(this,r,e,n,!0)};s.prototype.lastIndexOf=function(r,e,n){return mr(this,r,e,n,!1)};function Kr(t,r,e,n){e=Number(e)||0;var i=t.length-e;n?(n=Number(n),n>i&&(n=i)):n=i;var a=r.length;n>a/2&&(n=a/2);for(var o=0;o<n;++o){var p=parseInt(r.substr(o*2,2),16);if(Z(p))return o;t[e+o]=p}return o}function Zr(t,r,e,n){return H(J(r,t.length-e),t,e,n)}function $r(t,r,e,n){return H(le(r),t,e,n)}function re(t,r,e,n){return H(vr(r),t,e,n)}function ee(t,r,e,n){return H(ce(r,t.length-e),t,e,n)}s.prototype.write=function(r,e,n,i){if(e===void 0)i="utf8",n=this.length,e=0;else if(n===void 0&&typeof e=="string")i=e,n=this.length,e=0;else if(isFinite(e))e=e>>>0,isFinite(n)?(n=n>>>0,i===void 0&&(i="utf8")):(i=n,n=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var a=this.length-e;if((n===void 0||n>a)&&(n=a),r.length>0&&(n<0||e<0)||e>this.length)throw new RangeError("Attempt to write outside buffer bounds");i||(i="utf8");for(var o=!1;;)switch(i){case"hex":return Kr(this,r,e,n);case"utf8":case"utf-8":return Zr(this,r,e,n);case"ascii":case"latin1":case"binary":return $r(this,r,e,n);case"base64":return re(this,r,e,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return ee(this,r,e,n);default:if(o)throw new TypeError("Unknown encoding: "+i);i=(""+i).toLowerCase(),o=!0}};s.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function te(t,r,e){return r===0&&e===t.length?V.fromByteArray(t):V.fromByteArray(t.slice(r,e))}function yr(t,r,e){e=Math.min(t.length,e);for(var n=[],i=r;i<e;){var a=t[i],o=null,p=a>239?4:a>223?3:a>191?2:1;if(i+p<=e){var u,g,f,l;switch(p){case 1:a<128&&(o=a);break;case 2:u=t[i+1],(u&192)===128&&(l=(a&31)<<6|u&63,l>127&&(o=l));break;case 3:u=t[i+1],g=t[i+2],(u&192)===128&&(g&192)===128&&(l=(a&15)<<12|(u&63)<<6|g&63,l>2047&&(l<55296||l>57343)&&(o=l));break;case 4:u=t[i+1],g=t[i+2],f=t[i+3],(u&192)===128&&(g&192)===128&&(f&192)===128&&(l=(a&15)<<18|(u&63)<<12|(g&63)<<6|f&63,l>65535&&l<1114112&&(o=l))}}o===null?(o=65533,p=1):o>65535&&(o-=65536,n.push(o>>>10&1023|55296),o=56320|o&1023),n.push(o),i+=p}return ne(n)}var gr=4096;function ne(t){var r=t.length;if(r<=gr)return String.fromCharCode.apply(String,t);for(var e="",n=0;n<r;)e+=String.fromCharCode.apply(String,t.slice(n,n+=gr));return e}function ie(t,r,e){var n="";e=Math.min(t.length,e);for(var i=r;i<e;++i)n+=String.fromCharCode(t[i]&127);return n}function ae(t,r,e){var n="";e=Math.min(t.length,e);for(var i=r;i<e;++i)n+=String.fromCharCode(t[i]);return n}function oe(t,r,e){var n=t.length;(!r||r<0)&&(r=0),(!e||e<0||e>n)&&(e=n);for(var i="",a=r;a<e;++a)i+=ge[t[a]];return i}function se(t,r,e){for(var n=t.slice(r,e),i="",a=0;a<n.length-1;a+=2)i+=String.fromCharCode(n[a]+n[a+1]*256);return i}s.prototype.slice=function(r,e){var n=this.length;r=~~r,e=e===void 0?n:~~e,r<0?(r+=n,r<0&&(r=0)):r>n&&(r=n),e<0?(e+=n,e<0&&(e=0)):e>n&&(e=n),e<r&&(e=r);var i=this.subarray(r,e);return Object.setPrototypeOf(i,s.prototype),i};function h(t,r,e){if(t%1!==0||t<0)throw new RangeError("offset is not uint");if(t+r>e)throw new RangeError("Trying to access beyond buffer length")}s.prototype.readUintLE=s.prototype.readUIntLE=function(r,e,n){r=r>>>0,e=e>>>0,n||h(r,e,this.length);for(var i=this[r],a=1,o=0;++o<e&&(a*=256);)i+=this[r+o]*a;return i};s.prototype.readUintBE=s.prototype.readUIntBE=function(r,e,n){r=r>>>0,e=e>>>0,n||h(r,e,this.length);for(var i=this[r+--e],a=1;e>0&&(a*=256);)i+=this[r+--e]*a;return i};s.prototype.readUint8=s.prototype.readUInt8=function(r,e){return r=r>>>0,e||h(r,1,this.length),this[r]};s.prototype.readUint16LE=s.prototype.readUInt16LE=function(r,e){return r=r>>>0,e||h(r,2,this.length),this[r]|this[r+1]<<8};s.prototype.readUint16BE=s.prototype.readUInt16BE=function(r,e){return r=r>>>0,e||h(r,2,this.length),this[r]<<8|this[r+1]};s.prototype.readUint32LE=s.prototype.readUInt32LE=function(r,e){return r=r>>>0,e||h(r,4,this.length),(this[r]|this[r+1]<<8|this[r+2]<<16)+this[r+3]*16777216};s.prototype.readUint32BE=s.prototype.readUInt32BE=function(r,e){return r=r>>>0,e||h(r,4,this.length),this[r]*16777216+(this[r+1]<<16|this[r+2]<<8|this[r+3])};s.prototype.readIntLE=function(r,e,n){r=r>>>0,e=e>>>0,n||h(r,e,this.length);for(var i=this[r],a=1,o=0;++o<e&&(a*=256);)i+=this[r+o]*a;return a*=128,i>=a&&(i-=Math.pow(2,8*e)),i};s.prototype.readIntBE=function(r,e,n){r=r>>>0,e=e>>>0,n||h(r,e,this.length);for(var i=e,a=1,o=this[r+--i];i>0&&(a*=256);)o+=this[r+--i]*a;return a*=128,o>=a&&(o-=Math.pow(2,8*e)),o};s.prototype.readInt8=function(r,e){return r=r>>>0,e||h(r,1,this.length),this[r]&128?(255-this[r]+1)*-1:this[r]};s.prototype.readInt16LE=function(r,e){r=r>>>0,e||h(r,2,this.length);var n=this[r]|this[r+1]<<8;return n&32768?n|4294901760:n};s.prototype.readInt16BE=function(r,e){r=r>>>0,e||h(r,2,this.length);var n=this[r+1]|this[r]<<8;return n&32768?n|4294901760:n};s.prototype.readInt32LE=function(r,e){return r=r>>>0,e||h(r,4,this.length),this[r]|this[r+1]<<8|this[r+2]<<16|this[r+3]<<24};s.prototype.readInt32BE=function(r,e){return r=r>>>0,e||h(r,4,this.length),this[r]<<24|this[r+1]<<16|this[r+2]<<8|this[r+3]};s.prototype.readFloatLE=function(r,e){return r=r>>>0,e||h(r,4,this.length),U.read(this,r,!0,23,4)};s.prototype.readFloatBE=function(r,e){return r=r>>>0,e||h(r,4,this.length),U.read(this,r,!1,23,4)};s.prototype.readDoubleLE=function(r,e){return r=r>>>0,e||h(r,8,this.length),U.read(this,r,!0,52,8)};s.prototype.readDoubleBE=function(r,e){return r=r>>>0,e||h(r,8,this.length),U.read(this,r,!1,52,8)};function w(t,r,e,n,i,a){if(!s.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(r>i||r<a)throw new RangeError('"value" argument is out of bounds');if(e+n>t.length)throw new RangeError("Index out of range")}s.prototype.writeUintLE=s.prototype.writeUIntLE=function(r,e,n,i){if(r=+r,e=e>>>0,n=n>>>0,!i){var a=Math.pow(2,8*n)-1;w(this,r,e,n,a,0)}var o=1,p=0;for(this[e]=r&255;++p<n&&(o*=256);)this[e+p]=r/o&255;return e+n};s.prototype.writeUintBE=s.prototype.writeUIntBE=function(r,e,n,i){if(r=+r,e=e>>>0,n=n>>>0,!i){var a=Math.pow(2,8*n)-1;w(this,r,e,n,a,0)}var o=n-1,p=1;for(this[e+o]=r&255;--o>=0&&(p*=256);)this[e+o]=r/p&255;return e+n};s.prototype.writeUint8=s.prototype.writeUInt8=function(r,e,n){return r=+r,e=e>>>0,n||w(this,r,e,1,255,0),this[e]=r&255,e+1};s.prototype.writeUint16LE=s.prototype.writeUInt16LE=function(r,e,n){return r=+r,e=e>>>0,n||w(this,r,e,2,65535,0),this[e]=r&255,this[e+1]=r>>>8,e+2};s.prototype.writeUint16BE=s.prototype.writeUInt16BE=function(r,e,n){return r=+r,e=e>>>0,n||w(this,r,e,2,65535,0),this[e]=r>>>8,this[e+1]=r&255,e+2};s.prototype.writeUint32LE=s.prototype.writeUInt32LE=function(r,e,n){return r=+r,e=e>>>0,n||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};s.prototype.writeUint32BE=s.prototype.writeUInt32BE=function(r,e,n){return r=+r,e=e>>>0,n||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};s.prototype.writeIntLE=function(r,e,n,i){if(r=+r,e=e>>>0,!i){var a=Math.pow(2,8*n-1);w(this,r,e,n,a-1,-a)}var o=0,p=1,u=0;for(this[e]=r&255;++o<n&&(p*=256);)r<0&&u===0&&this[e+o-1]!==0&&(u=1),this[e+o]=(r/p>>0)-u&255;return e+n};s.prototype.writeIntBE=function(r,e,n,i){if(r=+r,e=e>>>0,!i){var a=Math.pow(2,8*n-1);w(this,r,e,n,a-1,-a)}var o=n-1,p=1,u=0;for(this[e+o]=r&255;--o>=0&&(p*=256);)r<0&&u===0&&this[e+o+1]!==0&&(u=1),this[e+o]=(r/p>>0)-u&255;return e+n};s.prototype.writeInt8=function(r,e,n){return r=+r,e=e>>>0,n||w(this,r,e,1,127,-128),r<0&&(r=255+r+1),this[e]=r&255,e+1};s.prototype.writeInt16LE=function(r,e,n){return r=+r,e=e>>>0,n||w(this,r,e,2,32767,-32768),this[e]=r&255,this[e+1]=r>>>8,e+2};s.prototype.writeInt16BE=function(r,e,n){return r=+r,e=e>>>0,n||w(this,r,e,2,32767,-32768),this[e]=r>>>8,this[e+1]=r&255,e+2};s.prototype.writeInt32LE=function(r,e,n){return r=+r,e=e>>>0,n||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};s.prototype.writeInt32BE=function(r,e,n){return r=+r,e=e>>>0,n||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,n,i,a){if(e+n>t.length)throw new RangeError("Index out of range");if(e<0)throw new RangeError("Index out of range")}function wr(t,r,e,n,i){return r=+r,e=e>>>0,i||xr(t,r,e,4,34028234663852886e22,-34028234663852886e22),U.write(t,r,e,n,23,4),e+4}s.prototype.writeFloatLE=function(r,e,n){return wr(this,r,e,!0,n)};s.prototype.writeFloatBE=function(r,e,n){return wr(this,r,e,!1,n)};function Tr(t,r,e,n,i){return r=+r,e=e>>>0,i||xr(t,r,e,8,17976931348623157e292,-17976931348623157e292),U.write(t,r,e,n,52,8),e+8}s.prototype.writeDoubleLE=function(r,e,n){return Tr(this,r,e,!0,n)};s.prototype.writeDoubleBE=function(r,e,n){return Tr(this,r,e,!1,n)};s.prototype.copy=function(r,e,n,i){if(!s.isBuffer(r))throw new TypeError("argument should be a Buffer");if(n||(n=0),!i&&i!==0&&(i=this.length),e>=r.length&&(e=r.length),e||(e=0),i>0&&i<n&&(i=n),i===n||r.length===0||this.length===0)return 0;if(e<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw new RangeError("Index out of range");if(i<0)throw new RangeError("sourceEnd out of bounds");i>this.length&&(i=this.length),r.length-e<i-n&&(i=r.length-e+n);var a=i-n;return this===r&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(e,n,i):Uint8Array.prototype.set.call(r,this.subarray(n,i),e),a};s.prototype.fill=function(r,e,n,i){if(typeof r=="string"){if(typeof e=="string"?(i=e,e=0,n=this.length):typeof n=="string"&&(i=n,n=this.length),i!==void 0&&typeof i!="string")throw new TypeError("encoding must be a string");if(typeof i=="string"&&!s.isEncoding(i))throw new TypeError("Unknown encoding: "+i);if(r.length===1){var a=r.charCodeAt(0);(i==="utf8"&&a<128||i==="latin1")&&(r=a)}}else typeof r=="number"?r=r&255:typeof r=="boolean"&&(r=Number(r));if(e<0||this.length<e||this.length<n)throw new RangeError("Out of range index");if(n<=e)return this;e=e>>>0,n=n===void 0?this.length:n>>>0,r||(r=0);var o;if(typeof r=="number")for(o=e;o<n;++o)this[o]=r;else{var p=s.isBuffer(r)?r:s.from(r,i),u=p.length;if(u===0)throw new TypeError('The value "'+r+'" is invalid for argument "value"');for(o=0;o<n-e;++o)this[o+e]=p[o%u]}return this};var pe=/[^+/0-9A-Za-z-_]/g;function ue(t){if(t=t.split("=")[0],t=t.trim().replace(pe,""),t.length<2)return"";for(;t.length%4!==0;)t=t+"=";return t}function J(t,r){r=r||1/0;for(var e,n=t.length,i=null,a=[],o=0;o<n;++o){if(e=t.charCodeAt(o),e>55295&&e<57344){if(!i){if(e>56319){(r-=3)>-1&&a.push(239,191,189);continue}else if(o+1===n){(r-=3)>-1&&a.push(239,191,189);continue}i=e;continue}if(e<56320){(r-=3)>-1&&a.push(239,191,189),i=e;continue}e=(i-55296<<10|e-56320)+65536}else i&&(r-=3)>-1&&a.push(239,191,189);if(i=null,e<128){if((r-=1)<0)break;a.push(e)}else if(e<2048){if((r-=2)<0)break;a.push(e>>6|192,e&63|128)}else if(e<65536){if((r-=3)<0)break;a.push(e>>12|224,e>>6&63|128,e&63|128)}else if(e<1114112){if((r-=4)<0)break;a.push(e>>18|240,e>>12&63|128,e>>6&63|128,e&63|128)}else throw new Error("Invalid code point")}return a}function le(t){for(var r=[],e=0;e<t.length;++e)r.push(t.charCodeAt(e)&255);return r}function ce(t,r){for(var e,n,i,a=[],o=0;o<t.length&&!((r-=2)<0);++o)e=t.charCodeAt(o),n=e>>8,i=e%256,a.push(i),a.push(n);return a}function vr(t){return V.toByteArray(ue(t))}function H(t,r,e,n){for(var i=0;i<n&&!(i+e>=r.length||i>=t.length);++i)r[i+e]=t[i];return i}function F(t,r){return t instanceof r||t!=null&&t.constructor!=null&&t.constructor.name!=null&&t.constructor.name===r.name}function Z(t){return t!==t}var ge=function(){for(var t="0123456789abcdef",r=new Array(256),e=0;e<16;++e)for(var n=e*16,i=0;i<16;++i)r[n+i]=t[e]+t[i];return r}()});var Ar=M((Ae,Sr)=>{c();var d=Sr.exports={},b,S;function $(){throw new Error("setTimeout has not been defined")}function rr(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?b=setTimeout:b=$}catch(t){b=$}try{typeof clearTimeout=="function"?S=clearTimeout:S=rr}catch(t){S=rr}})();function kr(t){if(b===setTimeout)return setTimeout(t,0);if((b===$||!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 fe(t){if(S===clearTimeout)return clearTimeout(t);if((S===rr||!S)&&clearTimeout)return S=clearTimeout,clearTimeout(t);try{return S(t)}catch(r){try{return S.call(null,t)}catch(e){return S.call(this,t)}}}var B=[],N=!1,_,q=-1;function de(){!N||!_||(N=!1,_.length?B=_.concat(B):q=-1,B.length&&Fr())}function Fr(){if(!N){var t=kr(de);N=!0;for(var r=B.length;r;){for(_=B,B=[];++q<r;)_&&_[q].run();q=-1,r=B.length}_=null,N=!1,fe(t)}}d.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];B.push(new br(t,r)),B.length===1&&!N&&kr(Fr)};function br(t,r){this.fun=t,this.array=r}br.prototype.run=function(){this.fun.apply(null,this.array)};d.title="browser";d.browser=!0;d.env={};d.argv=[];d.version="";d.versions={};function R(){}d.on=R;d.addListener=R;d.once=R;d.off=R;d.removeListener=R;d.removeAllListeners=R;d.emit=R;d.prependListener=R;d.prependOnceListener=R;d.listeners=function(t){return[]};d.binding=function(t){throw new Error("process.binding is not supported")};d.cwd=function(){return"/"};d.chdir=function(t){throw new Error("process.chdir is not supported")};d.umask=function(){return 0}});var m,y,Be,c=Ur(()=>{m=ar(Ir()),y=ar(Ar()),Be=function(t){function r(){var n=this||self;return delete t.prototype.__magic__,n}if(typeof globalThis=="object")return globalThis;if(this)return r();t.defineProperty(t.prototype,"__magic__",{configurable:!0,get:r});var e=__magic__;return e}(Object)});var Ie={};Dr(Ie,{DEVNET_CHAIN_ID:()=>er,DEVNET_EGLD_LABEL:()=>he,MAINNET_CHAIN_ID:()=>nr,MAINNET_EGLD_LABEL:()=>ye,MULTIVERSX_ORIGIN:()=>Te,TESTNET_CHAIN_ID:()=>tr,TESTNET_EGLD_LABEL:()=>me,TIMEOUT:()=>ve,chainIdByEnvironment:()=>xe,chainIdToEnvironment:()=>we,fallbackNetworkConfigurations:()=>W});module.exports=Nr(Ie);c();c();c();c();c();c();c();c();c();c();c();c();var W={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:er,egldLabel:he}=W["devnet"],{chainId:tr,egldLabel:me}=W["testnet"],{chainId:nr,egldLabel:ye}=W["mainnet"];var xe={["devnet"]:er,["testnet"]:tr,["mainnet"]:nr},we={[er]:"devnet",[tr]:"testnet",[nr]:"mainnet"},Te="multiversx://",ve=3e3;0&&(module.exports={DEVNET_CHAIN_ID,DEVNET_EGLD_LABEL,MAINNET_CHAIN_ID,MAINNET_EGLD_LABEL,MULTIVERSX_ORIGIN,TESTNET_CHAIN_ID,TESTNET_EGLD_LABEL,TIMEOUT,chainIdByEnvironment,chainIdToEnvironment,fallbackNetworkConfigurations});
|
|
1
|
+
"use strict";var Rr=Object.create;var P=Object.defineProperty;var Er=Object.getOwnPropertyDescriptor;var Lr=Object.getOwnPropertyNames;var _r=Object.getPrototypeOf,Cr=Object.prototype.hasOwnProperty;var Ur=(t,r)=>()=>(t&&(r=t(t=0)),r);var M=(t,r)=>()=>(r||t((r={exports:{}}).exports,r),r.exports),Dr=(t,r)=>{for(var e in r)P(t,e,{get:r[e],enumerable:!0})},ir=(t,r,e,n)=>{if(r&&typeof r=="object"||typeof r=="function")for(let i of Lr(r))!Cr.call(t,i)&&i!==e&&P(t,i,{get:()=>r[i],enumerable:!(n=Er(r,i))||n.enumerable});return t};var ar=(t,r,e)=>(e=t!=null?Rr(_r(t)):{},ir(r||!t||!t.__esModule?P(e,"default",{value:t,enumerable:!0}):e,t)),Nr=t=>ir(P({},"__esModule",{value:!0}),t);var pr=M(G=>{"use strict";c();G.byteLength=Mr;G.toByteArray=Or;G.fromByteArray=Wr;var I=[],v=[],Pr=typeof Uint8Array!="undefined"?Uint8Array:Array,Y="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(E=0,or=Y.length;E<or;++E)I[E]=Y[E],v[Y.charCodeAt(E)]=E;var E,or;v["-".charCodeAt(0)]=62;v["_".charCodeAt(0)]=63;function sr(t){var r=t.length;if(r%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var e=t.indexOf("=");e===-1&&(e=r);var n=e===r?0:4-e%4;return[e,n]}function Mr(t){var r=sr(t),e=r[0],n=r[1];return(e+n)*3/4-n}function Gr(t,r,e){return(r+e)*3/4-e}function Or(t){var r,e=sr(t),n=e[0],i=e[1],a=new Pr(Gr(t,n,i)),o=0,p=i>0?n-4:n,u;for(u=0;u<p;u+=4)r=v[t.charCodeAt(u)]<<18|v[t.charCodeAt(u+1)]<<12|v[t.charCodeAt(u+2)]<<6|v[t.charCodeAt(u+3)],a[o++]=r>>16&255,a[o++]=r>>8&255,a[o++]=r&255;return i===2&&(r=v[t.charCodeAt(u)]<<2|v[t.charCodeAt(u+1)]>>4,a[o++]=r&255),i===1&&(r=v[t.charCodeAt(u)]<<10|v[t.charCodeAt(u+1)]<<4|v[t.charCodeAt(u+2)]>>2,a[o++]=r>>8&255,a[o++]=r&255),a}function Hr(t){return I[t>>18&63]+I[t>>12&63]+I[t>>6&63]+I[t&63]}function qr(t,r,e){for(var n,i=[],a=r;a<e;a+=3)n=(t[a]<<16&16711680)+(t[a+1]<<8&65280)+(t[a+2]&255),i.push(Hr(n));return i.join("")}function Wr(t){for(var r,e=t.length,n=e%3,i=[],a=16383,o=0,p=e-n;o<p;o+=a)i.push(qr(t,o,o+a>p?p:o+a));return n===1?(r=t[e-1],i.push(I[r>>2]+I[r<<4&63]+"==")):n===2&&(r=(t[e-2]<<8)+t[e-1],i.push(I[r>>10]+I[r>>4&63]+I[r<<2&63]+"=")),i.join("")}});var ur=M(z=>{c();z.read=function(t,r,e,n,i){var a,o,p=i*8-n-1,u=(1<<p)-1,g=u>>1,f=-7,l=e?i-1:0,k=e?-1:1,T=t[r+l];for(l+=k,a=T&(1<<-f)-1,T>>=-f,f+=p;f>0;a=a*256+t[r+l],l+=k,f-=8);for(o=a&(1<<-f)-1,a>>=-f,f+=n;f>0;o=o*256+t[r+l],l+=k,f-=8);if(a===0)a=1-g;else{if(a===u)return o?NaN:(T?-1:1)*(1/0);o=o+Math.pow(2,n),a=a-g}return(T?-1:1)*o*Math.pow(2,a-n)};z.write=function(t,r,e,n,i,a){var o,p,u,g=a*8-i-1,f=(1<<g)-1,l=f>>1,k=i===23?Math.pow(2,-24)-Math.pow(2,-77):0,T=n?0:a-1,C=n?1:-1,Br=r<0||r===0&&1/r<0?1:0;for(r=Math.abs(r),isNaN(r)||r===1/0?(p=isNaN(r)?1:0,o=f):(o=Math.floor(Math.log(r)/Math.LN2),r*(u=Math.pow(2,-o))<1&&(o--,u*=2),o+l>=1?r+=k/u:r+=k*Math.pow(2,1-l),r*u>=2&&(o++,u/=2),o+l>=f?(p=0,o=f):o+l>=1?(p=(r*u-1)*Math.pow(2,i),o=o+l):(p=r*Math.pow(2,l-1)*Math.pow(2,i),o=0));i>=8;t[e+T]=p&255,T+=C,p/=256,i-=8);for(o=o<<i|p,g+=i;g>0;t[e+T]=o&255,T+=C,o/=256,g-=8);t[e+T-C]|=Br*128}});var kr=M(D=>{"use strict";c();var V=pr(),U=ur(),lr=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;D.Buffer=s;D.SlowBuffer=Jr;D.INSPECT_MAX_BYTES=50;var O=2147483647;D.kMaxLength=O;s.TYPED_ARRAY_SUPPORT=Yr();!s.TYPED_ARRAY_SUPPORT&&typeof console!="undefined"&&typeof console.error=="function"&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function Yr(){try{var t=new Uint8Array(1),r={foo:function(){return 42}};return Object.setPrototypeOf(r,Uint8Array.prototype),Object.setPrototypeOf(t,r),t.foo()===42}catch(e){return!1}}Object.defineProperty(s.prototype,"parent",{enumerable:!0,get:function(){if(!!s.isBuffer(this))return this.buffer}});Object.defineProperty(s.prototype,"offset",{enumerable:!0,get:function(){if(!!s.isBuffer(this))return this.byteOffset}});function A(t){if(t>O)throw new RangeError('The value "'+t+'" is invalid for option "size"');var r=new Uint8Array(t);return Object.setPrototypeOf(r,s.prototype),r}function s(t,r,e){if(typeof t=="number"){if(typeof r=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return j(t)}return fr(t,r,e)}s.poolSize=8192;function fr(t,r,e){if(typeof t=="string")return Vr(t,r);if(ArrayBuffer.isView(t))return Qr(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(F(t,ArrayBuffer)||t&&F(t.buffer,ArrayBuffer)||typeof SharedArrayBuffer!="undefined"&&(F(t,SharedArrayBuffer)||t&&F(t.buffer,SharedArrayBuffer)))return X(t,r,e);if(typeof t=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var n=t.valueOf&&t.valueOf();if(n!=null&&n!==t)return s.from(n,r,e);var i=Xr(t);if(i)return i;if(typeof Symbol!="undefined"&&Symbol.toPrimitive!=null&&typeof t[Symbol.toPrimitive]=="function")return s.from(t[Symbol.toPrimitive]("string"),r,e);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t)}s.from=function(t,r,e){return fr(t,r,e)};Object.setPrototypeOf(s.prototype,Uint8Array.prototype);Object.setPrototypeOf(s,Uint8Array);function dr(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 zr(t,r,e){return dr(t),t<=0?A(t):r!==void 0?typeof e=="string"?A(t).fill(r,e):A(t).fill(r):A(t)}s.alloc=function(t,r,e){return zr(t,r,e)};function j(t){return dr(t),A(t<0?0:K(t)|0)}s.allocUnsafe=function(t){return j(t)};s.allocUnsafeSlow=function(t){return j(t)};function Vr(t,r){if((typeof r!="string"||r==="")&&(r="utf8"),!s.isEncoding(r))throw new TypeError("Unknown encoding: "+r);var e=hr(t,r)|0,n=A(e),i=n.write(t,r);return i!==e&&(n=n.slice(0,i)),n}function Q(t){for(var r=t.length<0?0:K(t.length)|0,e=A(r),n=0;n<r;n+=1)e[n]=t[n]&255;return e}function Qr(t){if(F(t,Uint8Array)){var r=new Uint8Array(t);return X(r.buffer,r.byteOffset,r.byteLength)}return Q(t)}function X(t,r,e){if(r<0||t.byteLength<r)throw new RangeError('"offset" is outside of buffer bounds');if(t.byteLength<r+(e||0))throw new RangeError('"length" is outside of buffer bounds');var n;return r===void 0&&e===void 0?n=new Uint8Array(t):e===void 0?n=new Uint8Array(t,r):n=new Uint8Array(t,r,e),Object.setPrototypeOf(n,s.prototype),n}function Xr(t){if(s.isBuffer(t)){var r=K(t.length)|0,e=A(r);return e.length===0||t.copy(e,0,0,r),e}if(t.length!==void 0)return typeof t.length!="number"||Z(t.length)?A(0):Q(t);if(t.type==="Buffer"&&Array.isArray(t.data))return Q(t.data)}function K(t){if(t>=O)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+O.toString(16)+" bytes");return t|0}function Jr(t){return+t!=t&&(t=0),s.alloc(+t)}s.isBuffer=function(r){return r!=null&&r._isBuffer===!0&&r!==s.prototype};s.compare=function(r,e){if(F(r,Uint8Array)&&(r=s.from(r,r.offset,r.byteLength)),F(e,Uint8Array)&&(e=s.from(e,e.offset,e.byteLength)),!s.isBuffer(r)||!s.isBuffer(e))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(r===e)return 0;for(var n=r.length,i=e.length,a=0,o=Math.min(n,i);a<o;++a)if(r[a]!==e[a]){n=r[a],i=e[a];break}return n<i?-1:i<n?1:0};s.isEncoding=function(r){switch(String(r).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}};s.concat=function(r,e){if(!Array.isArray(r))throw new TypeError('"list" argument must be an Array of Buffers');if(r.length===0)return s.alloc(0);var n;if(e===void 0)for(e=0,n=0;n<r.length;++n)e+=r[n].length;var i=s.allocUnsafe(e),a=0;for(n=0;n<r.length;++n){var o=r[n];if(F(o,Uint8Array))a+o.length>i.length?s.from(o).copy(i,a):Uint8Array.prototype.set.call(i,o,a);else if(s.isBuffer(o))o.copy(i,a);else throw new TypeError('"list" argument must be an Array of Buffers');a+=o.length}return i};function hr(t,r){if(s.isBuffer(t))return t.length;if(ArrayBuffer.isView(t)||F(t,ArrayBuffer))return t.byteLength;if(typeof t!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof t);var e=t.length,n=arguments.length>2&&arguments[2]===!0;if(!n&&e===0)return 0;for(var i=!1;;)switch(r){case"ascii":case"latin1":case"binary":return e;case"utf8":case"utf-8":return J(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return e*2;case"hex":return e>>>1;case"base64":return vr(t).length;default:if(i)return n?-1:J(t).length;r=(""+r).toLowerCase(),i=!0}}s.byteLength=hr;function jr(t,r,e){var n=!1;if((r===void 0||r<0)&&(r=0),r>this.length||((e===void 0||e>this.length)&&(e=this.length),e<=0)||(e>>>=0,r>>>=0,e<=r))return"";for(t||(t="utf8");;)switch(t){case"hex":return oe(this,r,e);case"utf8":case"utf-8":return yr(this,r,e);case"ascii":return ie(this,r,e);case"latin1":case"binary":return ae(this,r,e);case"base64":return te(this,r,e);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return se(this,r,e);default:if(n)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),n=!0}}s.prototype._isBuffer=!0;function L(t,r,e){var n=t[r];t[r]=t[e],t[e]=n}s.prototype.swap16=function(){var r=this.length;if(r%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var e=0;e<r;e+=2)L(this,e,e+1);return this};s.prototype.swap32=function(){var r=this.length;if(r%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var e=0;e<r;e+=4)L(this,e,e+3),L(this,e+1,e+2);return this};s.prototype.swap64=function(){var r=this.length;if(r%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var e=0;e<r;e+=8)L(this,e,e+7),L(this,e+1,e+6),L(this,e+2,e+5),L(this,e+3,e+4);return this};s.prototype.toString=function(){var r=this.length;return r===0?"":arguments.length===0?yr(this,0,r):jr.apply(this,arguments)};s.prototype.toLocaleString=s.prototype.toString;s.prototype.equals=function(r){if(!s.isBuffer(r))throw new TypeError("Argument must be a Buffer");return this===r?!0:s.compare(this,r)===0};s.prototype.inspect=function(){var r="",e=D.INSPECT_MAX_BYTES;return r=this.toString("hex",0,e).replace(/(.{2})/g,"$1 ").trim(),this.length>e&&(r+=" ... "),"<Buffer "+r+">"};lr&&(s.prototype[lr]=s.prototype.inspect);s.prototype.compare=function(r,e,n,i,a){if(F(r,Uint8Array)&&(r=s.from(r,r.offset,r.byteLength)),!s.isBuffer(r))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof r);if(e===void 0&&(e=0),n===void 0&&(n=r?r.length:0),i===void 0&&(i=0),a===void 0&&(a=this.length),e<0||n>r.length||i<0||a>this.length)throw new RangeError("out of range index");if(i>=a&&e>=n)return 0;if(i>=a)return-1;if(e>=n)return 1;if(e>>>=0,n>>>=0,i>>>=0,a>>>=0,this===r)return 0;for(var o=a-i,p=n-e,u=Math.min(o,p),g=this.slice(i,a),f=r.slice(e,n),l=0;l<u;++l)if(g[l]!==f[l]){o=g[l],p=f[l];break}return o<p?-1:p<o?1:0};function mr(t,r,e,n,i){if(t.length===0)return-1;if(typeof e=="string"?(n=e,e=0):e>2147483647?e=2147483647:e<-2147483648&&(e=-2147483648),e=+e,Z(e)&&(e=i?0:t.length-1),e<0&&(e=t.length+e),e>=t.length){if(i)return-1;e=t.length-1}else if(e<0)if(i)e=0;else return-1;if(typeof r=="string"&&(r=s.from(r,n)),s.isBuffer(r))return r.length===0?-1:cr(t,r,e,n,i);if(typeof r=="number")return r=r&255,typeof Uint8Array.prototype.indexOf=="function"?i?Uint8Array.prototype.indexOf.call(t,r,e):Uint8Array.prototype.lastIndexOf.call(t,r,e):cr(t,[r],e,n,i);throw new TypeError("val must be string, number or Buffer")}function cr(t,r,e,n,i){var a=1,o=t.length,p=r.length;if(n!==void 0&&(n=String(n).toLowerCase(),n==="ucs2"||n==="ucs-2"||n==="utf16le"||n==="utf-16le")){if(t.length<2||r.length<2)return-1;a=2,o/=2,p/=2,e/=2}function u(T,C){return a===1?T[C]:T.readUInt16BE(C*a)}var g;if(i){var f=-1;for(g=e;g<o;g++)if(u(t,g)===u(r,f===-1?0:g-f)){if(f===-1&&(f=g),g-f+1===p)return f*a}else f!==-1&&(g-=g-f),f=-1}else for(e+p>o&&(e=o-p),g=e;g>=0;g--){for(var l=!0,k=0;k<p;k++)if(u(t,g+k)!==u(r,k)){l=!1;break}if(l)return g}return-1}s.prototype.includes=function(r,e,n){return this.indexOf(r,e,n)!==-1};s.prototype.indexOf=function(r,e,n){return mr(this,r,e,n,!0)};s.prototype.lastIndexOf=function(r,e,n){return mr(this,r,e,n,!1)};function Kr(t,r,e,n){e=Number(e)||0;var i=t.length-e;n?(n=Number(n),n>i&&(n=i)):n=i;var a=r.length;n>a/2&&(n=a/2);for(var o=0;o<n;++o){var p=parseInt(r.substr(o*2,2),16);if(Z(p))return o;t[e+o]=p}return o}function Zr(t,r,e,n){return H(J(r,t.length-e),t,e,n)}function $r(t,r,e,n){return H(le(r),t,e,n)}function re(t,r,e,n){return H(vr(r),t,e,n)}function ee(t,r,e,n){return H(ce(r,t.length-e),t,e,n)}s.prototype.write=function(r,e,n,i){if(e===void 0)i="utf8",n=this.length,e=0;else if(n===void 0&&typeof e=="string")i=e,n=this.length,e=0;else if(isFinite(e))e=e>>>0,isFinite(n)?(n=n>>>0,i===void 0&&(i="utf8")):(i=n,n=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var a=this.length-e;if((n===void 0||n>a)&&(n=a),r.length>0&&(n<0||e<0)||e>this.length)throw new RangeError("Attempt to write outside buffer bounds");i||(i="utf8");for(var o=!1;;)switch(i){case"hex":return Kr(this,r,e,n);case"utf8":case"utf-8":return Zr(this,r,e,n);case"ascii":case"latin1":case"binary":return $r(this,r,e,n);case"base64":return re(this,r,e,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return ee(this,r,e,n);default:if(o)throw new TypeError("Unknown encoding: "+i);i=(""+i).toLowerCase(),o=!0}};s.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function te(t,r,e){return r===0&&e===t.length?V.fromByteArray(t):V.fromByteArray(t.slice(r,e))}function yr(t,r,e){e=Math.min(t.length,e);for(var n=[],i=r;i<e;){var a=t[i],o=null,p=a>239?4:a>223?3:a>191?2:1;if(i+p<=e){var u,g,f,l;switch(p){case 1:a<128&&(o=a);break;case 2:u=t[i+1],(u&192)===128&&(l=(a&31)<<6|u&63,l>127&&(o=l));break;case 3:u=t[i+1],g=t[i+2],(u&192)===128&&(g&192)===128&&(l=(a&15)<<12|(u&63)<<6|g&63,l>2047&&(l<55296||l>57343)&&(o=l));break;case 4:u=t[i+1],g=t[i+2],f=t[i+3],(u&192)===128&&(g&192)===128&&(f&192)===128&&(l=(a&15)<<18|(u&63)<<12|(g&63)<<6|f&63,l>65535&&l<1114112&&(o=l))}}o===null?(o=65533,p=1):o>65535&&(o-=65536,n.push(o>>>10&1023|55296),o=56320|o&1023),n.push(o),i+=p}return ne(n)}var gr=4096;function ne(t){var r=t.length;if(r<=gr)return String.fromCharCode.apply(String,t);for(var e="",n=0;n<r;)e+=String.fromCharCode.apply(String,t.slice(n,n+=gr));return e}function ie(t,r,e){var n="";e=Math.min(t.length,e);for(var i=r;i<e;++i)n+=String.fromCharCode(t[i]&127);return n}function ae(t,r,e){var n="";e=Math.min(t.length,e);for(var i=r;i<e;++i)n+=String.fromCharCode(t[i]);return n}function oe(t,r,e){var n=t.length;(!r||r<0)&&(r=0),(!e||e<0||e>n)&&(e=n);for(var i="",a=r;a<e;++a)i+=ge[t[a]];return i}function se(t,r,e){for(var n=t.slice(r,e),i="",a=0;a<n.length-1;a+=2)i+=String.fromCharCode(n[a]+n[a+1]*256);return i}s.prototype.slice=function(r,e){var n=this.length;r=~~r,e=e===void 0?n:~~e,r<0?(r+=n,r<0&&(r=0)):r>n&&(r=n),e<0?(e+=n,e<0&&(e=0)):e>n&&(e=n),e<r&&(e=r);var i=this.subarray(r,e);return Object.setPrototypeOf(i,s.prototype),i};function h(t,r,e){if(t%1!==0||t<0)throw new RangeError("offset is not uint");if(t+r>e)throw new RangeError("Trying to access beyond buffer length")}s.prototype.readUintLE=s.prototype.readUIntLE=function(r,e,n){r=r>>>0,e=e>>>0,n||h(r,e,this.length);for(var i=this[r],a=1,o=0;++o<e&&(a*=256);)i+=this[r+o]*a;return i};s.prototype.readUintBE=s.prototype.readUIntBE=function(r,e,n){r=r>>>0,e=e>>>0,n||h(r,e,this.length);for(var i=this[r+--e],a=1;e>0&&(a*=256);)i+=this[r+--e]*a;return i};s.prototype.readUint8=s.prototype.readUInt8=function(r,e){return r=r>>>0,e||h(r,1,this.length),this[r]};s.prototype.readUint16LE=s.prototype.readUInt16LE=function(r,e){return r=r>>>0,e||h(r,2,this.length),this[r]|this[r+1]<<8};s.prototype.readUint16BE=s.prototype.readUInt16BE=function(r,e){return r=r>>>0,e||h(r,2,this.length),this[r]<<8|this[r+1]};s.prototype.readUint32LE=s.prototype.readUInt32LE=function(r,e){return r=r>>>0,e||h(r,4,this.length),(this[r]|this[r+1]<<8|this[r+2]<<16)+this[r+3]*16777216};s.prototype.readUint32BE=s.prototype.readUInt32BE=function(r,e){return r=r>>>0,e||h(r,4,this.length),this[r]*16777216+(this[r+1]<<16|this[r+2]<<8|this[r+3])};s.prototype.readIntLE=function(r,e,n){r=r>>>0,e=e>>>0,n||h(r,e,this.length);for(var i=this[r],a=1,o=0;++o<e&&(a*=256);)i+=this[r+o]*a;return a*=128,i>=a&&(i-=Math.pow(2,8*e)),i};s.prototype.readIntBE=function(r,e,n){r=r>>>0,e=e>>>0,n||h(r,e,this.length);for(var i=e,a=1,o=this[r+--i];i>0&&(a*=256);)o+=this[r+--i]*a;return a*=128,o>=a&&(o-=Math.pow(2,8*e)),o};s.prototype.readInt8=function(r,e){return r=r>>>0,e||h(r,1,this.length),this[r]&128?(255-this[r]+1)*-1:this[r]};s.prototype.readInt16LE=function(r,e){r=r>>>0,e||h(r,2,this.length);var n=this[r]|this[r+1]<<8;return n&32768?n|4294901760:n};s.prototype.readInt16BE=function(r,e){r=r>>>0,e||h(r,2,this.length);var n=this[r+1]|this[r]<<8;return n&32768?n|4294901760:n};s.prototype.readInt32LE=function(r,e){return r=r>>>0,e||h(r,4,this.length),this[r]|this[r+1]<<8|this[r+2]<<16|this[r+3]<<24};s.prototype.readInt32BE=function(r,e){return r=r>>>0,e||h(r,4,this.length),this[r]<<24|this[r+1]<<16|this[r+2]<<8|this[r+3]};s.prototype.readFloatLE=function(r,e){return r=r>>>0,e||h(r,4,this.length),U.read(this,r,!0,23,4)};s.prototype.readFloatBE=function(r,e){return r=r>>>0,e||h(r,4,this.length),U.read(this,r,!1,23,4)};s.prototype.readDoubleLE=function(r,e){return r=r>>>0,e||h(r,8,this.length),U.read(this,r,!0,52,8)};s.prototype.readDoubleBE=function(r,e){return r=r>>>0,e||h(r,8,this.length),U.read(this,r,!1,52,8)};function w(t,r,e,n,i,a){if(!s.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(r>i||r<a)throw new RangeError('"value" argument is out of bounds');if(e+n>t.length)throw new RangeError("Index out of range")}s.prototype.writeUintLE=s.prototype.writeUIntLE=function(r,e,n,i){if(r=+r,e=e>>>0,n=n>>>0,!i){var a=Math.pow(2,8*n)-1;w(this,r,e,n,a,0)}var o=1,p=0;for(this[e]=r&255;++p<n&&(o*=256);)this[e+p]=r/o&255;return e+n};s.prototype.writeUintBE=s.prototype.writeUIntBE=function(r,e,n,i){if(r=+r,e=e>>>0,n=n>>>0,!i){var a=Math.pow(2,8*n)-1;w(this,r,e,n,a,0)}var o=n-1,p=1;for(this[e+o]=r&255;--o>=0&&(p*=256);)this[e+o]=r/p&255;return e+n};s.prototype.writeUint8=s.prototype.writeUInt8=function(r,e,n){return r=+r,e=e>>>0,n||w(this,r,e,1,255,0),this[e]=r&255,e+1};s.prototype.writeUint16LE=s.prototype.writeUInt16LE=function(r,e,n){return r=+r,e=e>>>0,n||w(this,r,e,2,65535,0),this[e]=r&255,this[e+1]=r>>>8,e+2};s.prototype.writeUint16BE=s.prototype.writeUInt16BE=function(r,e,n){return r=+r,e=e>>>0,n||w(this,r,e,2,65535,0),this[e]=r>>>8,this[e+1]=r&255,e+2};s.prototype.writeUint32LE=s.prototype.writeUInt32LE=function(r,e,n){return r=+r,e=e>>>0,n||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};s.prototype.writeUint32BE=s.prototype.writeUInt32BE=function(r,e,n){return r=+r,e=e>>>0,n||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};s.prototype.writeIntLE=function(r,e,n,i){if(r=+r,e=e>>>0,!i){var a=Math.pow(2,8*n-1);w(this,r,e,n,a-1,-a)}var o=0,p=1,u=0;for(this[e]=r&255;++o<n&&(p*=256);)r<0&&u===0&&this[e+o-1]!==0&&(u=1),this[e+o]=(r/p>>0)-u&255;return e+n};s.prototype.writeIntBE=function(r,e,n,i){if(r=+r,e=e>>>0,!i){var a=Math.pow(2,8*n-1);w(this,r,e,n,a-1,-a)}var o=n-1,p=1,u=0;for(this[e+o]=r&255;--o>=0&&(p*=256);)r<0&&u===0&&this[e+o+1]!==0&&(u=1),this[e+o]=(r/p>>0)-u&255;return e+n};s.prototype.writeInt8=function(r,e,n){return r=+r,e=e>>>0,n||w(this,r,e,1,127,-128),r<0&&(r=255+r+1),this[e]=r&255,e+1};s.prototype.writeInt16LE=function(r,e,n){return r=+r,e=e>>>0,n||w(this,r,e,2,32767,-32768),this[e]=r&255,this[e+1]=r>>>8,e+2};s.prototype.writeInt16BE=function(r,e,n){return r=+r,e=e>>>0,n||w(this,r,e,2,32767,-32768),this[e]=r>>>8,this[e+1]=r&255,e+2};s.prototype.writeInt32LE=function(r,e,n){return r=+r,e=e>>>0,n||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};s.prototype.writeInt32BE=function(r,e,n){return r=+r,e=e>>>0,n||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,n,i,a){if(e+n>t.length)throw new RangeError("Index out of range");if(e<0)throw new RangeError("Index out of range")}function wr(t,r,e,n,i){return r=+r,e=e>>>0,i||xr(t,r,e,4,34028234663852886e22,-34028234663852886e22),U.write(t,r,e,n,23,4),e+4}s.prototype.writeFloatLE=function(r,e,n){return wr(this,r,e,!0,n)};s.prototype.writeFloatBE=function(r,e,n){return wr(this,r,e,!1,n)};function Tr(t,r,e,n,i){return r=+r,e=e>>>0,i||xr(t,r,e,8,17976931348623157e292,-17976931348623157e292),U.write(t,r,e,n,52,8),e+8}s.prototype.writeDoubleLE=function(r,e,n){return Tr(this,r,e,!0,n)};s.prototype.writeDoubleBE=function(r,e,n){return Tr(this,r,e,!1,n)};s.prototype.copy=function(r,e,n,i){if(!s.isBuffer(r))throw new TypeError("argument should be a Buffer");if(n||(n=0),!i&&i!==0&&(i=this.length),e>=r.length&&(e=r.length),e||(e=0),i>0&&i<n&&(i=n),i===n||r.length===0||this.length===0)return 0;if(e<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw new RangeError("Index out of range");if(i<0)throw new RangeError("sourceEnd out of bounds");i>this.length&&(i=this.length),r.length-e<i-n&&(i=r.length-e+n);var a=i-n;return this===r&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(e,n,i):Uint8Array.prototype.set.call(r,this.subarray(n,i),e),a};s.prototype.fill=function(r,e,n,i){if(typeof r=="string"){if(typeof e=="string"?(i=e,e=0,n=this.length):typeof n=="string"&&(i=n,n=this.length),i!==void 0&&typeof i!="string")throw new TypeError("encoding must be a string");if(typeof i=="string"&&!s.isEncoding(i))throw new TypeError("Unknown encoding: "+i);if(r.length===1){var a=r.charCodeAt(0);(i==="utf8"&&a<128||i==="latin1")&&(r=a)}}else typeof r=="number"?r=r&255:typeof r=="boolean"&&(r=Number(r));if(e<0||this.length<e||this.length<n)throw new RangeError("Out of range index");if(n<=e)return this;e=e>>>0,n=n===void 0?this.length:n>>>0,r||(r=0);var o;if(typeof r=="number")for(o=e;o<n;++o)this[o]=r;else{var p=s.isBuffer(r)?r:s.from(r,i),u=p.length;if(u===0)throw new TypeError('The value "'+r+'" is invalid for argument "value"');for(o=0;o<n-e;++o)this[o+e]=p[o%u]}return this};var pe=/[^+/0-9A-Za-z-_]/g;function ue(t){if(t=t.split("=")[0],t=t.trim().replace(pe,""),t.length<2)return"";for(;t.length%4!==0;)t=t+"=";return t}function J(t,r){r=r||1/0;for(var e,n=t.length,i=null,a=[],o=0;o<n;++o){if(e=t.charCodeAt(o),e>55295&&e<57344){if(!i){if(e>56319){(r-=3)>-1&&a.push(239,191,189);continue}else if(o+1===n){(r-=3)>-1&&a.push(239,191,189);continue}i=e;continue}if(e<56320){(r-=3)>-1&&a.push(239,191,189),i=e;continue}e=(i-55296<<10|e-56320)+65536}else i&&(r-=3)>-1&&a.push(239,191,189);if(i=null,e<128){if((r-=1)<0)break;a.push(e)}else if(e<2048){if((r-=2)<0)break;a.push(e>>6|192,e&63|128)}else if(e<65536){if((r-=3)<0)break;a.push(e>>12|224,e>>6&63|128,e&63|128)}else if(e<1114112){if((r-=4)<0)break;a.push(e>>18|240,e>>12&63|128,e>>6&63|128,e&63|128)}else throw new Error("Invalid code point")}return a}function le(t){for(var r=[],e=0;e<t.length;++e)r.push(t.charCodeAt(e)&255);return r}function ce(t,r){for(var e,n,i,a=[],o=0;o<t.length&&!((r-=2)<0);++o)e=t.charCodeAt(o),n=e>>8,i=e%256,a.push(i),a.push(n);return a}function vr(t){return V.toByteArray(ue(t))}function H(t,r,e,n){for(var i=0;i<n&&!(i+e>=r.length||i>=t.length);++i)r[i+e]=t[i];return i}function F(t,r){return t instanceof r||t!=null&&t.constructor!=null&&t.constructor.name!=null&&t.constructor.name===r.name}function Z(t){return t!==t}var ge=function(){for(var t="0123456789abcdef",r=new Array(256),e=0;e<16;++e)for(var n=e*16,i=0;i<16;++i)r[n+i]=t[e]+t[i];return r}()});var Ar=M((Ae,Sr)=>{c();var d=Sr.exports={},b,S;function $(){throw new Error("setTimeout has not been defined")}function rr(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?b=setTimeout:b=$}catch(t){b=$}try{typeof clearTimeout=="function"?S=clearTimeout:S=rr}catch(t){S=rr}})();function Ir(t){if(b===setTimeout)return setTimeout(t,0);if((b===$||!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 fe(t){if(S===clearTimeout)return clearTimeout(t);if((S===rr||!S)&&clearTimeout)return S=clearTimeout,clearTimeout(t);try{return S(t)}catch(r){try{return S.call(null,t)}catch(e){return S.call(this,t)}}}var B=[],N=!1,_,q=-1;function de(){!N||!_||(N=!1,_.length?B=_.concat(B):q=-1,B.length&&Fr())}function Fr(){if(!N){var t=Ir(de);N=!0;for(var r=B.length;r;){for(_=B,B=[];++q<r;)_&&_[q].run();q=-1,r=B.length}_=null,N=!1,fe(t)}}d.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];B.push(new br(t,r)),B.length===1&&!N&&Ir(Fr)};function br(t,r){this.fun=t,this.array=r}br.prototype.run=function(){this.fun.apply(null,this.array)};d.title="browser";d.browser=!0;d.env={};d.argv=[];d.version="";d.versions={};function R(){}d.on=R;d.addListener=R;d.once=R;d.off=R;d.removeListener=R;d.removeAllListeners=R;d.emit=R;d.prependListener=R;d.prependOnceListener=R;d.listeners=function(t){return[]};d.binding=function(t){throw new Error("process.binding is not supported")};d.cwd=function(){return"/"};d.chdir=function(t){throw new Error("process.chdir is not supported")};d.umask=function(){return 0}});var m,y,Be,c=Ur(()=>{m=ar(kr()),y=ar(Ar()),Be=function(t){function r(){var n=this||self;return delete t.prototype.__magic__,n}if(typeof globalThis=="object")return globalThis;if(this)return r();t.defineProperty(t.prototype,"__magic__",{configurable:!0,get:r});var e=__magic__;return e}(Object)});var ke={};Dr(ke,{DEVNET_CHAIN_ID:()=>er,DEVNET_EGLD_LABEL:()=>he,MAINNET_CHAIN_ID:()=>nr,MAINNET_EGLD_LABEL:()=>ye,MULTIVERSX_ORIGIN:()=>Te,TESTNET_CHAIN_ID:()=>tr,TESTNET_EGLD_LABEL:()=>me,TIMEOUT:()=>ve,chainIdByEnvironment:()=>xe,chainIdToEnvironment:()=>we,fallbackNetworkConfigurations:()=>W});module.exports=Nr(ke);c();c();c();c();c();c();c();c();c();c();c();c();var W={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:er,egldLabel:he}=W["devnet"],{chainId:tr,egldLabel:me}=W["testnet"],{chainId:nr,egldLabel:ye}=W["mainnet"];var xe={["devnet"]:er,["testnet"]:tr,["mainnet"]:nr},we={[er]:"devnet",[tr]:"testnet",[nr]:"mainnet"},Te="multiversx://",ve=3e3;0&&(module.exports={DEVNET_CHAIN_ID,DEVNET_EGLD_LABEL,MAINNET_CHAIN_ID,MAINNET_EGLD_LABEL,MULTIVERSX_ORIGIN,TESTNET_CHAIN_ID,TESTNET_EGLD_LABEL,TIMEOUT,chainIdByEnvironment,chainIdToEnvironment,fallbackNetworkConfigurations});
|
|
2
2
|
/*!
|
|
3
3
|
* The buffer module from node.js, for the browser.
|
|
4
4
|
*
|