@multiversx/sdk-dapp 2.8.5 → 2.8.6
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/index.js +1 -1
- package/UI/SignTransactionsModals/SignTransactionsModals.js +1 -1
- package/UI/SignTransactionsModals/SignWithDeviceModal/SignStep.js +1 -1
- package/UI/SignTransactionsModals/SignWithDeviceModal/index.js +1 -1
- package/UI/SignTransactionsModals/SignWithExtensionModal/index.js +1 -1
- package/UI/SignTransactionsModals/SignWithExtraModal/index.js +1 -1
- package/UI/SignTransactionsModals/SignWithLedgerModal/index.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/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/UsdValue/UsdValue.js +1 -1
- package/UI/UsdValue/index.js +1 -1
- package/UI/extension/ExtensionLoginButton/index.js +1 -1
- package/UI/index.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/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/index.js +1 -1
- package/UI/walletConnect/WalletConnectLoginContainer/index.js +1 -1
- package/UI/walletConnect/index.js +1 -1
- package/UI/webWallet/WebWalletLoginButton/index.js +1 -1
- package/__chunks__/{chunk-GS6HJLZT.js → chunk-23V4EWR6.js} +2 -2
- package/__chunks__/{chunk-VYDY4AQR.js → chunk-27HHZHC3.js} +2 -2
- package/__chunks__/{chunk-BA2ZPL2G.js → chunk-2BB6LW6O.js} +2 -2
- package/__chunks__/{chunk-XX66RRCJ.js → chunk-2DPI5E3W.js} +2 -2
- package/__chunks__/{chunk-FP26R7AX.js → chunk-2QUSEUT4.js} +2 -2
- package/__chunks__/{chunk-54ZTSEQ5.js → chunk-2QZSUGLK.js} +2 -2
- package/__chunks__/{chunk-YKKX7VTP.js → chunk-2YVBZL56.js} +2 -2
- package/__chunks__/{chunk-6METVVCY.js → chunk-3CUFCCHN.js} +2 -2
- package/__chunks__/{chunk-NSEU7FDE.js → chunk-3EOVBK4H.js} +2 -2
- package/__chunks__/chunk-3LTTE7Z4.js +2 -0
- package/__chunks__/{chunk-G5SFDK7J.js → chunk-3RRHOO6Q.js} +2 -2
- package/__chunks__/{chunk-W7LZILLC.js → chunk-3SFC2GLJ.js} +2 -2
- package/__chunks__/{chunk-EDDPV3NE.js → chunk-3Z4WULR6.js} +2 -2
- package/__chunks__/{chunk-DXPKJNDE.js → chunk-47J5ACB5.js} +2 -2
- package/__chunks__/{chunk-FXGUPH2W.js → chunk-47LI6T2V.js} +2 -2
- package/__chunks__/{chunk-EQJQRYF5.js → chunk-4ALRWZZQ.js} +2 -2
- package/__chunks__/chunk-4G4EWYKO.js +2 -0
- package/__chunks__/{chunk-SGK2VHTJ.js → chunk-4HQ3HNGC.js} +2 -2
- package/__chunks__/{chunk-PTJNZVG2.js → chunk-4JB5QVKY.js} +2 -2
- package/__chunks__/{chunk-WKA6UPHX.js → chunk-4JKMMUID.js} +2 -2
- package/__chunks__/{chunk-U46EN25L.js → chunk-4MGZX5SO.js} +2 -2
- package/__chunks__/{chunk-7WQENNA3.js → chunk-4MI42IXU.js} +2 -2
- package/__chunks__/{chunk-DV75PUIL.js → chunk-4P3LJAUR.js} +2 -2
- package/__chunks__/{chunk-2SSJ2YKM.js → chunk-4RKQJ2QT.js} +2 -2
- package/__chunks__/{chunk-ILLMOGA7.js → chunk-4Y7CGA35.js} +2 -2
- package/__chunks__/chunk-53BQDHVS.js +2 -0
- package/__chunks__/chunk-573MD3HA.js +2 -0
- package/__chunks__/{chunk-QNY7VVUN.js → chunk-5DS4QT2H.js} +2 -2
- package/__chunks__/{chunk-5XVRM6XP.js → chunk-5FF4GQ5B.js} +2 -2
- package/__chunks__/{chunk-VTAWEOCS.js → chunk-5MD4G7OU.js} +2 -2
- package/__chunks__/{chunk-TTYMX7BT.js → chunk-5WX4CALV.js} +2 -2
- package/__chunks__/chunk-67ZEEHNB.js +2 -0
- package/__chunks__/{chunk-LHDZVAZF.js → chunk-6A26JFI6.js} +2 -2
- package/__chunks__/chunk-6FUSRKDM.js +2 -0
- package/__chunks__/{chunk-WVD4J544.js → chunk-6K7DK4BV.js} +2 -2
- package/__chunks__/{chunk-26ZJFITF.js → chunk-6KSF6FWJ.js} +2 -2
- package/__chunks__/{chunk-KQ4YTMGX.js → chunk-6KY36DKF.js} +2 -2
- package/__chunks__/chunk-6LEY24MG.js +2 -0
- package/__chunks__/chunk-6LITAK4Z.js +2 -0
- package/__chunks__/{chunk-EK2OJMYC.js → chunk-6LW3MPXQ.js} +2 -2
- package/__chunks__/{chunk-5LVCTUUY.js → chunk-6UNQJUWL.js} +2 -2
- package/__chunks__/{chunk-QU5E3AUX.js → chunk-6YFMGTBJ.js} +2 -2
- package/__chunks__/chunk-72NPJ7U6.js +2 -0
- package/__chunks__/{chunk-QH6XD7FF.js → chunk-73KODBLR.js} +2 -2
- package/__chunks__/{chunk-2GLDUTJG.js → chunk-74RGGNQE.js} +2 -2
- package/__chunks__/{chunk-YQYOGTKG.js → chunk-77DECFQY.js} +2 -2
- package/__chunks__/{chunk-ZJ54DLN6.js → chunk-77JEI7XJ.js} +2 -2
- package/__chunks__/{chunk-KKYUPTDF.js → chunk-7IQDNRGT.js} +2 -2
- package/__chunks__/chunk-7JGJFFVM.js +2 -0
- package/__chunks__/{chunk-GHSMZJKF.js → chunk-7M3KNDRD.js} +2 -2
- package/__chunks__/chunk-7S7PQZ5T.js +2 -0
- package/__chunks__/{chunk-PFDSWMCA.js → chunk-A2IXF222.js} +2 -2
- package/__chunks__/{chunk-UCIOXYG7.js → chunk-A4SQDGPF.js} +2 -2
- package/__chunks__/{chunk-PF57YMQ4.js → chunk-A6LP7GVR.js} +2 -2
- package/__chunks__/{chunk-HNJYC4EB.js → chunk-AFPIMSQ3.js} +2 -2
- package/__chunks__/{chunk-5FJ5AR5R.js → chunk-AHQRHYRO.js} +2 -2
- package/__chunks__/{chunk-A43MGEZS.js → chunk-B25RPITH.js} +2 -2
- package/__chunks__/{chunk-2C3YYZ5L.js → chunk-B2RKB42J.js} +2 -2
- package/__chunks__/{chunk-X26JPWE6.js → chunk-B3AXHK5F.js} +2 -2
- package/__chunks__/{chunk-CRXWPZPY.js → chunk-B3ILFYYH.js} +2 -2
- package/__chunks__/{chunk-ACQNMKRR.js → chunk-BF2PN3VB.js} +2 -2
- package/__chunks__/{chunk-ZXSHG6WE.js → chunk-BFOC3ZMG.js} +2 -2
- package/__chunks__/{chunk-A3RVUJJA.js → chunk-BMJLZLZM.js} +2 -2
- package/__chunks__/chunk-BNEETMBI.js +2 -0
- package/__chunks__/chunk-BNMR3XO4.js +2 -0
- package/__chunks__/{chunk-RVD4LBUP.js → chunk-BOKSFKJF.js} +2 -2
- package/__chunks__/{chunk-KLOPABPR.js → chunk-BYS7QALE.js} +2 -2
- package/__chunks__/{chunk-OXWKNWBA.js → chunk-CI6Z2BAF.js} +2 -2
- package/__chunks__/{chunk-BOG7TTXG.js → chunk-COV3NRWK.js} +2 -2
- package/__chunks__/{chunk-R3S3GBRF.js → chunk-CPPFVM42.js} +2 -2
- package/__chunks__/{chunk-WNSHEGIH.js → chunk-CRI42HNH.js} +2 -2
- package/__chunks__/{chunk-GS5AQB2N.js → chunk-CUFA5NAA.js} +2 -2
- package/__chunks__/{chunk-XYVUQB6L.js → chunk-CY7H7XN3.js} +2 -2
- package/__chunks__/{chunk-A6CTPEDF.js → chunk-D2Z7XPJA.js} +2 -2
- package/__chunks__/{chunk-6RM5F6B7.js → chunk-D65VO5NP.js} +2 -2
- package/__chunks__/{chunk-SLHJHRDG.js → chunk-DCXJRPKX.js} +2 -2
- package/__chunks__/{chunk-YRCUGAVR.js → chunk-DF24IGER.js} +2 -2
- package/__chunks__/{chunk-V3FDAB7B.js → chunk-DG7FFCMC.js} +2 -2
- package/__chunks__/{chunk-4P3ESYFB.js → chunk-DHYV75O3.js} +2 -2
- package/__chunks__/{chunk-DR45L5ZW.js → chunk-DO7UWPFB.js} +2 -2
- package/__chunks__/{chunk-PW6YTJLG.js → chunk-DQ2PRTPV.js} +2 -2
- package/__chunks__/{chunk-CVQTFYDA.js → chunk-DQ74GUK3.js} +2 -2
- package/__chunks__/{chunk-35XRH5YO.js → chunk-DQLFYAJF.js} +2 -2
- package/__chunks__/chunk-DTX32CUJ.js +2 -0
- package/__chunks__/{chunk-LFRMYD5N.js → chunk-DU5JJJHS.js} +2 -2
- package/__chunks__/{chunk-6RRAKU4R.js → chunk-E7GX6TO4.js} +2 -2
- package/__chunks__/{chunk-MONFLPCV.js → chunk-EBMIHN52.js} +2 -2
- package/__chunks__/chunk-EBUFLVTW.js +2 -0
- package/__chunks__/{chunk-LQVOQZ2Z.js → chunk-EIHQ5QAQ.js} +2 -2
- package/__chunks__/{chunk-JSTXHRPF.js → chunk-EIYXU6DX.js} +2 -2
- package/__chunks__/{chunk-4UJNHEBL.js → chunk-ELIQXNO3.js} +2 -2
- package/__chunks__/{chunk-HHZV7D63.js → chunk-ELPKQVAL.js} +2 -2
- package/__chunks__/{chunk-U7RDI4SM.js → chunk-EN36KS5J.js} +2 -2
- package/__chunks__/{chunk-5G4U3FMS.js → chunk-EVFPM5QZ.js} +2 -2
- package/__chunks__/{chunk-7H5YSU4Q.js → chunk-EVUACURD.js} +2 -2
- package/__chunks__/{chunk-3UUAMXNQ.js → chunk-F2EJ4NBK.js} +2 -2
- package/__chunks__/{chunk-ZIKKB6YX.js → chunk-F4Z4BQFP.js} +2 -2
- package/__chunks__/{chunk-2736QXUL.js → chunk-F536LQRD.js} +2 -2
- package/__chunks__/{chunk-VWPPW3QQ.js → chunk-F5N57CYV.js} +2 -2
- package/__chunks__/{chunk-B2DXLHFG.js → chunk-FDH2IBTM.js} +2 -2
- package/__chunks__/{chunk-KAM4B4VN.js → chunk-FE2XDCKI.js} +2 -2
- package/__chunks__/{chunk-DH27IPAK.js → chunk-FNO4F4XU.js} +2 -2
- package/__chunks__/{chunk-6WERDF6Z.js → chunk-FOEPS273.js} +2 -2
- package/__chunks__/{chunk-WFPVM7XI.js → chunk-FOTM2EHF.js} +2 -2
- package/__chunks__/{chunk-HA6AP7PO.js → chunk-FXJLSZIP.js} +2 -2
- package/__chunks__/{chunk-7X3ATYAR.js → chunk-FXKLPJUW.js} +2 -2
- package/__chunks__/{chunk-BGSCXB2N.js → chunk-GG6RZBEW.js} +2 -2
- package/__chunks__/chunk-GHXKZA4W.js +2 -0
- package/__chunks__/{chunk-WYPOPDEK.js → chunk-GJBBAXJV.js} +2 -2
- package/__chunks__/chunk-GK63BH64.js +2 -0
- package/__chunks__/{chunk-YAFNHDUR.js → chunk-GNZDKRCA.js} +2 -2
- package/__chunks__/{chunk-IX2VX3E2.js → chunk-GPNUHVOM.js} +2 -2
- package/__chunks__/{chunk-5RGNESSR.js → chunk-GQMTJB4L.js} +2 -2
- package/__chunks__/{chunk-SU4SH37S.js → chunk-GSSXFF46.js} +2 -2
- package/__chunks__/{chunk-YRDNCWJW.js → chunk-GVMLSXIC.js} +2 -2
- package/__chunks__/{chunk-Z55BDNGH.js → chunk-GXOJLFD4.js} +2 -2
- package/__chunks__/chunk-GZMTC35J.js +2 -0
- package/__chunks__/chunk-H3LMBICV.js +2 -0
- package/__chunks__/{chunk-PIIC6ZNG.js → chunk-HEMJW4UP.js} +2 -2
- package/__chunks__/{chunk-XPX4OKXG.js → chunk-HF7ILRBL.js} +2 -2
- package/__chunks__/{chunk-GIYZHATY.js → chunk-HK7SHFC7.js} +2 -2
- package/__chunks__/chunk-HP3L7RUD.js +2 -0
- package/__chunks__/{chunk-NUZF7HJ7.js → chunk-HQYSBDE7.js} +2 -2
- package/__chunks__/{chunk-OIGIOS7N.js → chunk-HWDGDPLP.js} +2 -2
- package/__chunks__/{chunk-ZKPBZO4S.js → chunk-I3DMSSAU.js} +2 -2
- package/__chunks__/{chunk-5YDLOWAE.js → chunk-IAZWDFI7.js} +2 -2
- package/__chunks__/{chunk-GW7FG43P.js → chunk-IIXY6EVM.js} +2 -2
- package/__chunks__/{chunk-6GFHYUPK.js → chunk-ILI6V46A.js} +2 -2
- package/__chunks__/{chunk-UH6PGRAV.js → chunk-IQV54UKF.js} +2 -2
- package/__chunks__/{chunk-WFHOHG3Z.js → chunk-ISWYWGYF.js} +2 -2
- package/__chunks__/{chunk-2M25PYL7.js → chunk-IV2PWXWW.js} +2 -2
- package/__chunks__/chunk-J2VDNLD5.js +2 -0
- package/__chunks__/{chunk-CYMNJYOT.js → chunk-JAQOVDY4.js} +2 -2
- package/__chunks__/{chunk-VBV4IR3F.js → chunk-JTXTYAX4.js} +2 -2
- package/__chunks__/{chunk-2NB6K2AS.js → chunk-K4P3Q4G6.js} +2 -2
- package/__chunks__/{chunk-LXWQKMKY.js → chunk-K5AYECMY.js} +2 -2
- package/__chunks__/chunk-K6MC7S66.js +2 -0
- package/__chunks__/{chunk-QXBR6DSI.js → chunk-K7OKFHDI.js} +2 -2
- package/__chunks__/{chunk-TNJRCS6C.js → chunk-KCOIYEPV.js} +2 -2
- package/__chunks__/{chunk-AQQBB5MJ.js → chunk-KE3UZZPK.js} +2 -2
- package/__chunks__/{chunk-6UBKGHVU.js → chunk-KHTHET32.js} +2 -2
- package/__chunks__/{chunk-T2N2FLZB.js → chunk-KJD27PBB.js} +2 -2
- package/__chunks__/chunk-KKVFNX7Q.js +2 -0
- package/__chunks__/{chunk-SMAM2FXU.js → chunk-KO4CKUQ3.js} +2 -2
- package/__chunks__/chunk-KQCX4VG2.js +2 -0
- package/__chunks__/{chunk-4PSQ762B.js → chunk-KQM2BOQR.js} +2 -2
- package/__chunks__/{chunk-FPK4LCVU.js → chunk-KRGNGXNM.js} +2 -2
- package/__chunks__/chunk-KV6BSLXQ.js +2 -0
- package/__chunks__/chunk-KVAITXAV.js +2 -0
- package/__chunks__/{chunk-CRTGGESP.js → chunk-KZFZMU4Q.js} +2 -2
- package/__chunks__/{chunk-ALAK4GTA.js → chunk-L3JYP3XO.js} +2 -2
- package/__chunks__/{chunk-ZLXYL4KE.js → chunk-LF6VJNCF.js} +2 -2
- package/__chunks__/{chunk-DADEQIZ7.js → chunk-LKDW3XH3.js} +2 -2
- package/__chunks__/{chunk-DTI5KUZE.js → chunk-LKENFOWD.js} +2 -2
- package/__chunks__/chunk-LM64ZHBF.js +2 -0
- package/__chunks__/{chunk-BOR3D2OB.js → chunk-M2LAMT4S.js} +2 -2
- package/__chunks__/{chunk-2VLN4GAG.js → chunk-M43L3JXS.js} +2 -2
- package/__chunks__/{chunk-7J7LEURM.js → chunk-M7KYIVXW.js} +2 -2
- package/__chunks__/chunk-MAPKARLD.js +2 -0
- package/__chunks__/{chunk-UQD4NUXE.js → chunk-MDZPOO3F.js} +2 -2
- package/__chunks__/{chunk-WUOUATRU.js → chunk-MLSI3RC2.js} +2 -2
- package/__chunks__/{chunk-3JPJW72R.js → chunk-N6ZG65AM.js} +2 -2
- package/__chunks__/{chunk-VEWE7U4G.js → chunk-N7QEZOLU.js} +2 -2
- package/__chunks__/{chunk-3QT275JB.js → chunk-NANO4X2A.js} +2 -2
- package/__chunks__/{chunk-M7264WIR.js → chunk-NCR3TVLR.js} +2 -2
- package/__chunks__/{chunk-46W3A5KZ.js → chunk-NIBU432U.js} +2 -2
- package/__chunks__/{chunk-YHGIBDJL.js → chunk-NOBUX6VQ.js} +2 -2
- package/__chunks__/{chunk-JPDU4UXA.js → chunk-NZLLBXWM.js} +2 -2
- package/__chunks__/{chunk-XGJFR5OS.js → chunk-O65BW737.js} +2 -2
- package/__chunks__/{chunk-M2KXYI2A.js → chunk-OCVD7SVS.js} +2 -2
- package/__chunks__/{chunk-J6PK4YWJ.js → chunk-ODQ5XNPU.js} +2 -2
- package/__chunks__/chunk-OGWLSCJG.js +2 -0
- package/__chunks__/{chunk-HKTCXAEV.js → chunk-OM457L3M.js} +2 -2
- package/__chunks__/{chunk-FJ3QN3PS.js → chunk-OQAGSV22.js} +2 -2
- package/__chunks__/{chunk-FFWGADDT.js → chunk-P6MWBKH3.js} +2 -2
- package/__chunks__/{chunk-4CZXUHKR.js → chunk-P7STLJJI.js} +2 -2
- package/__chunks__/{chunk-23JSCKP4.js → chunk-PINKYRXT.js} +2 -2
- package/__chunks__/{chunk-6JLZW2OA.js → chunk-PJ6E34ZL.js} +2 -2
- package/__chunks__/chunk-PUOKVKOC.js +2 -0
- package/__chunks__/{chunk-WRWKNPRJ.js → chunk-QB3XGANM.js} +2 -2
- package/__chunks__/{chunk-FXN56EN4.js → chunk-QBRSJGQE.js} +2 -2
- package/__chunks__/chunk-QEZFF4AV.js +2 -0
- package/__chunks__/{chunk-RWPTHDGS.js → chunk-QNJU3UH4.js} +2 -2
- package/__chunks__/{chunk-COMCQ2RH.js → chunk-QPZBCE35.js} +2 -2
- package/__chunks__/{chunk-OYQQHGRD.js → chunk-QRLD5NAN.js} +2 -2
- package/__chunks__/{chunk-D76JYIBI.js → chunk-QUMYRH4H.js} +2 -2
- package/__chunks__/chunk-QUYE5ZBI.js +2 -0
- package/__chunks__/{chunk-JDTK5ZGT.js → chunk-QVBPB2T7.js} +2 -2
- package/__chunks__/{chunk-75OXB76N.js → chunk-R3FSXFX3.js} +2 -2
- package/__chunks__/chunk-RAERFN6K.js +2 -0
- package/__chunks__/chunk-RBHVYE2Y.js +2 -0
- package/__chunks__/chunk-RCD64P2M.js +2 -0
- package/__chunks__/{chunk-LMBBAIK5.js → chunk-RDWURAZH.js} +2 -2
- package/__chunks__/{chunk-NZN4JRXS.js → chunk-RRN3BAHE.js} +2 -2
- package/__chunks__/{chunk-QPM6EBHW.js → chunk-RXNYA6SF.js} +2 -2
- package/__chunks__/{chunk-4EVSF3PS.js → chunk-S7JDYKHM.js} +2 -2
- package/__chunks__/chunk-S7NHXRCC.js +2 -0
- package/__chunks__/{chunk-X2A2SM5T.js → chunk-SA6GTLVC.js} +2 -2
- package/__chunks__/{chunk-TXBKGILP.js → chunk-SBZWUOMH.js} +2 -2
- package/__chunks__/chunk-SCCXHHWP.js +2 -0
- package/__chunks__/{chunk-JNZ6IL2X.js → chunk-SHGJKBQ2.js} +2 -2
- package/__chunks__/{chunk-JQM25QQP.js → chunk-SL7V5DPB.js} +2 -2
- package/__chunks__/{chunk-WJB6D7BH.js → chunk-SOPJ4FVA.js} +2 -2
- package/__chunks__/{chunk-OX6HVB6Z.js → chunk-SS5LXDIB.js} +2 -2
- package/__chunks__/{chunk-STQRXGXK.js → chunk-SWIGSNZJ.js} +2 -2
- package/__chunks__/{chunk-VEDRIMSP.js → chunk-SZ4YBWGS.js} +2 -2
- package/__chunks__/{chunk-GVPT5QJS.js → chunk-T5NLJP65.js} +2 -2
- package/__chunks__/{chunk-I7HYXEHX.js → chunk-TFUYS7DO.js} +2 -2
- package/__chunks__/{chunk-ROV4X74D.js → chunk-TTCHRNRE.js} +2 -2
- package/__chunks__/chunk-TTS3WFEE.js +2 -0
- package/__chunks__/{chunk-4AOLZUI5.js → chunk-U6CY6KLT.js} +2 -2
- package/__chunks__/{chunk-KMLW3DOC.js → chunk-U6QHRFQ6.js} +2 -2
- package/__chunks__/{chunk-JSYMQHQS.js → chunk-U77UZINY.js} +2 -2
- package/__chunks__/{chunk-RTGCGOEH.js → chunk-UFDKARKU.js} +2 -2
- package/__chunks__/{chunk-UVZAZGRS.js → chunk-UHDCW2GI.js} +2 -2
- package/__chunks__/{chunk-U7ABFX65.js → chunk-UKXM7MVK.js} +2 -2
- package/__chunks__/{chunk-LVYMVB5S.js → chunk-UYKSTJCI.js} +2 -2
- package/__chunks__/{chunk-JR6UFMPN.js → chunk-V5CRB7KN.js} +2 -2
- package/__chunks__/{chunk-RWUGWUZ3.js → chunk-VAO473HJ.js} +2 -2
- package/__chunks__/{chunk-H3FNY2CC.js → chunk-VBLZKSYV.js} +2 -2
- package/__chunks__/chunk-VC4S5W27.js +2 -0
- package/__chunks__/{chunk-AIB7JPIU.js → chunk-VCVEL4JK.js} +2 -2
- package/__chunks__/{chunk-ZUIERUVA.js → chunk-VO7YQXK7.js} +2 -2
- package/__chunks__/{chunk-4UBNPFKQ.js → chunk-VTJ7ZV2L.js} +2 -2
- package/__chunks__/chunk-VUJTIQ5T.js +2 -0
- package/__chunks__/{chunk-VWCTHSCA.js → chunk-VVPMSN2M.js} +2 -2
- package/__chunks__/{chunk-CBNM53GV.js → chunk-VY4WH2HL.js} +2 -2
- package/__chunks__/{chunk-4DERMSXM.js → chunk-W7VTJPZR.js} +2 -2
- package/__chunks__/chunk-WEOPJLNL.js +2 -0
- package/__chunks__/chunk-WFAVXT4Z.js +2 -0
- package/__chunks__/{chunk-XC7MTS2B.js → chunk-WFXS633C.js} +2 -2
- package/__chunks__/{chunk-X7VSTJVD.js → chunk-WLSEVWTK.js} +2 -2
- package/__chunks__/{chunk-YHDMIMED.js → chunk-WPD43RUV.js} +2 -2
- package/__chunks__/{chunk-GFUPEEWS.js → chunk-WUBNBBRC.js} +2 -2
- package/__chunks__/chunk-WVWK6FVA.js +2 -0
- package/__chunks__/{chunk-XI6VMWXQ.js → chunk-WWSWE52T.js} +2 -2
- package/__chunks__/{chunk-UH7Q27YS.js → chunk-WXEXZGP7.js} +2 -2
- package/__chunks__/{chunk-PIFV6PQF.js → chunk-X2L7IGUP.js} +2 -2
- package/__chunks__/chunk-XBJLTGW4.js +2 -0
- package/__chunks__/{chunk-ERT7NKUC.js → chunk-XDDEM6PT.js} +2 -2
- package/__chunks__/{chunk-QB3UBBN7.js → chunk-XIHOENSC.js} +2 -2
- package/__chunks__/{chunk-3X2T57MR.js → chunk-XKMOG6SS.js} +2 -2
- package/__chunks__/{chunk-FOIFAZEF.js → chunk-XNHZJ2SC.js} +2 -2
- package/__chunks__/{chunk-PE7VNGP7.js → chunk-XRO5ERIE.js} +2 -2
- package/__chunks__/{chunk-3ULZPNUR.js → chunk-XT5BA43Z.js} +2 -2
- package/__chunks__/{chunk-FKD6BFBK.js → chunk-XTPO4MAO.js} +2 -2
- package/__chunks__/{chunk-PIJCCMC4.js → chunk-XUOXOTNR.js} +2 -2
- package/__chunks__/{chunk-NZ33RJGI.js → chunk-XUVVP5PW.js} +2 -2
- package/__chunks__/{chunk-VL5STY33.js → chunk-XUWCMUDF.js} +2 -2
- package/__chunks__/{chunk-4X3GINLE.js → chunk-XZOVSJUI.js} +2 -2
- package/__chunks__/{chunk-DCWRUDBH.js → chunk-YDIQ5IHA.js} +2 -2
- package/__chunks__/{chunk-EJNFO3FU.js → chunk-YKCZ2UKE.js} +2 -2
- package/__chunks__/{chunk-4BKMGOES.js → chunk-YKKS3O3Z.js} +2 -2
- package/__chunks__/{chunk-E5KBAFW4.js → chunk-YLMRTW5R.js} +2 -2
- package/__chunks__/{chunk-6UVEWZKX.js → chunk-YRHGZ4HS.js} +2 -2
- package/__chunks__/{chunk-IDUIQPIO.js → chunk-YU5OYJX7.js} +2 -2
- package/__chunks__/{chunk-BP5GRJNY.js → chunk-YUIINDCV.js} +2 -2
- package/__chunks__/{chunk-AMCEHQ3B.js → chunk-YWT4XNXN.js} +2 -2
- package/__chunks__/chunk-Z4BLO2TH.js +2 -0
- package/__chunks__/{chunk-KUQIYHQR.js → chunk-Z6PNQGOE.js} +2 -2
- package/__chunks__/{chunk-DCZOXC2M.js → chunk-Z7HQTVYF.js} +2 -2
- package/__chunks__/chunk-ZAFZIALH.js +2 -0
- package/__chunks__/{chunk-ITXDP2DE.js → chunk-ZD2DEAJR.js} +2 -2
- package/__chunks__/{chunk-4DLZ2JMF.js → chunk-ZEEWQEXA.js} +2 -2
- package/__chunks__/{chunk-SJ3GJK44.js → chunk-ZFSJ4FRX.js} +2 -2
- package/__chunks__/chunk-ZFSZJPYH.js +2 -0
- package/__chunks__/{chunk-RO7QNHOJ.js → chunk-ZRGSKGMW.js} +2 -2
- package/__commonjs/UI/TransactionInfo/TransactionInfo.js +29 -29
- package/__commonjs/UI/TransactionInfo/components/DataField/DataField.js +7 -7
- package/__commonjs/UI/TransactionInfo/components/DataField/index.js +7 -7
- package/__commonjs/UI/TransactionInfo/components/TransactionStatus/TransactionStatus.js +1 -1
- package/__commonjs/UI/TransactionInfo/components/TransactionStatus/index.js +1 -1
- package/__commonjs/UI/TransactionInfo/components/index.js +27 -27
- package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoInputData/TransactionInfoInputData.js +8 -8
- package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoInputData/index.js +8 -8
- package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoStatus/TransactionInfoStatus.js +2 -2
- package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoStatus/index.js +2 -2
- package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/index.js +31 -31
- package/__commonjs/UI/TransactionInfo/index.js +29 -29
- package/__commonjs/UI/TransactionsTable/components/TransactionReceiver.js +4 -4
- package/__commonjs/UI/TransactionsToastList/components/TransactionToast/utils/getToastDataStateByStatus.js +1 -1
- package/__commonjs/UI/TransactionsToastList/components/TransactionToast/utils/index.js +1 -1
- package/__commonjs/UI/TransactionsToastList/components/TransactionToastGuard.js +1 -1
- package/__commonjs/UI/extension/ExtensionLoginButton/index.js +1 -1
- package/__commonjs/UI/index.js +51 -51
- package/__commonjs/UI/ledger/LedgerLoginButton/index.js +1 -1
- package/__commonjs/UI/ledger/LedgerLoginContainer/index.js +1 -1
- package/__commonjs/UI/ledger/index.js +1 -1
- package/__commonjs/UI/operaWallet/OperaWalletLoginButton/index.js +1 -1
- package/__commonjs/UI/pages/UnlockPage/index.js +1 -1
- package/__commonjs/UI/pages/index.js +1 -1
- package/__commonjs/UI/walletConnect/WalletConnectLoginButton/index.js +1 -1
- package/__commonjs/UI/walletConnect/WalletConnectLoginContainer/index.js +1 -1
- package/__commonjs/UI/walletConnect/index.js +1 -1
- package/__commonjs/UI/webWallet/WebWalletLoginButton/index.js +1 -1
- package/__commonjs/__mocks__/index.js +1 -1
- package/__commonjs/__mocks__/utils/index.js +1 -1
- package/__commonjs/__mocks__/utils/renderWithProvider.js +1 -1
- package/__commonjs/apiCalls/configuration/getNetworkConfig.js +1 -1
- package/__commonjs/apiCalls/configuration/getServerConfigurationForEnvironment.js +1 -1
- package/__commonjs/apiCalls/utils/getCleanApiAddress.js +1 -1
- package/__commonjs/apiCalls/utils/index.js +1 -1
- package/__commonjs/components/ProviderInitializer.js +1 -1
- package/__commonjs/hooks/account/index.js +1 -1
- package/__commonjs/hooks/account/useGetAccount.js +1 -1
- package/__commonjs/hooks/account/useGetAccountInfo.js +1 -1
- package/__commonjs/hooks/account/useGetAccountProvider.js +1 -1
- package/__commonjs/hooks/account/useGetWebsocketEvent.js +1 -1
- package/__commonjs/hooks/index.js +1 -1
- package/__commonjs/hooks/login/index.js +1 -1
- package/__commonjs/hooks/login/useExtensionLogin.js +1 -1
- package/__commonjs/hooks/login/useLedgerLogin.js +1 -1
- package/__commonjs/hooks/login/useLoginService.js +1 -1
- package/__commonjs/hooks/login/useOperaLogin.js +1 -1
- package/__commonjs/hooks/login/useWalletConnectLogin.js +1 -1
- package/__commonjs/hooks/login/useWalletConnectV2Login.js +1 -1
- package/__commonjs/hooks/login/useWebWalletLogin.js +1 -1
- package/__commonjs/hooks/transactions/helpers/useClearTransactionsToSignWithWarning.js +1 -1
- package/__commonjs/hooks/transactions/helpers/useSetTransactionNonces.js +1 -1
- package/__commonjs/hooks/transactions/useGetActiveTransactionsStatus.js +1 -1
- package/__commonjs/hooks/transactions/useGetFailedTransactions.js +1 -1
- package/__commonjs/hooks/transactions/useGetSignTransactionsError.js +1 -1
- package/__commonjs/hooks/transactions/useGetSignedTransactions.js +1 -1
- package/__commonjs/hooks/transactions/useGetSuccessfulTransactions.js +1 -1
- package/__commonjs/hooks/transactions/useGetTransactionDisplayInfo.js +1 -1
- package/__commonjs/hooks/transactions/useSignTransactionsWithDevice.js +1 -1
- package/__commonjs/hooks/transactions/useSignTransactionsWithLedger.js +1 -1
- package/__commonjs/hooks/transactions/useTrackTransactionStatus.js +1 -1
- package/__commonjs/hooks/useGetNetworkConfig.js +1 -1
- package/__commonjs/reduxStore/selectors/index.js +1 -1
- package/__commonjs/reduxStore/selectors/transactionsSelectors.js +1 -1
- package/__commonjs/services/index.js +1 -1
- package/__commonjs/services/nativeAuth/helpers/getLatestBlockHash.js +1 -1
- package/__commonjs/services/nativeAuth/helpers/index.js +1 -1
- package/__commonjs/services/nativeAuth/index.js +1 -1
- package/__commonjs/services/nativeAuth/methods/getToken.js +1 -1
- package/__commonjs/services/nativeAuth/nativeAuth.js +1 -1
- package/__commonjs/services/transactions/signTransactions.js +1 -1
- package/__commonjs/types/index.js +1 -1
- package/__commonjs/utils/account/getAccountShard.js +1 -1
- package/__commonjs/utils/account/getAddress.js +1 -1
- package/__commonjs/utils/account/signMessage.js +1 -1
- package/__commonjs/utils/getIsLoggedIn.js +1 -1
- package/__commonjs/utils/index.js +3 -3
- package/__commonjs/utils/logout.js +1 -1
- package/__commonjs/utils/network/getChainID.js +1 -1
- package/__commonjs/utils/network/getEgldLabel.js +1 -1
- package/__commonjs/utils/network/getNetworkConfig.js +1 -1
- package/__commonjs/utils/network/index.js +1 -1
- package/__commonjs/utils/transactions/getAllTransactionsLink.js +1 -1
- package/__commonjs/utils/transactions/getInterpretedTransaction/helpers/getReceiptMessage.js +1 -1
- package/__commonjs/utils/transactions/getTransactionLink.js +1 -1
- package/__commonjs/utils/transactions/index.js +4 -4
- package/__commonjs/utils/transactions/transactionInfoHelpers/getScamFlag.js +1 -1
- package/__commonjs/utils/transactions/transactionInfoHelpers/index.js +4 -4
- package/__commonjs/utils/transactions/transactionInfoHelpers/transactionActionUnwrapper/helpers/index.js +1 -1
- package/__commonjs/utils/transactions/transactionInfoHelpers/transactionActionUnwrapper/helpers/mexUnwrapper.js +1 -1
- package/__commonjs/utils/transactions/transactionInfoHelpers/useDataDecode.js +5 -5
- package/__commonjs/wrappers/AppInitializer.js +1 -1
- package/__commonjs/wrappers/AxiosInterceptorContext/components/index.js +1 -1
- package/__commonjs/wrappers/DappProvider/index.js +1 -1
- package/__commonjs/wrappers/index.js +1 -1
- package/__mocks__/accountConfig.js +1 -1
- package/__mocks__/index.js +1 -1
- package/__mocks__/server.js +1 -1
- package/__mocks__/utils/index.js +1 -1
- package/__mocks__/utils/renderWithProvider.js +1 -1
- package/apiCalls/accounts/getAccountFromApi.js +1 -1
- package/apiCalls/accounts/index.js +1 -1
- package/apiCalls/configuration/getApiAddressForChainId.js +1 -1
- package/apiCalls/configuration/getEnvironmentForChainId.js +1 -1
- package/apiCalls/configuration/getNetworkConfig.js +1 -1
- package/apiCalls/configuration/getServerConfigurationForEnvironment.js +1 -1
- package/apiCalls/configuration/index.js +1 -1
- package/apiCalls/getScamAddressData.js +1 -1
- package/apiCalls/index.js +1 -1
- package/apiCalls/transactions/getTransactionsByHashes.js +1 -1
- package/apiCalls/transactions/index.js +1 -1
- package/apiCalls/transactions/sendSignedTransactions.js +1 -1
- package/apiCalls/utils/getCleanApiAddress.js +1 -1
- package/apiCalls/utils/index.js +1 -1
- package/components/LogoutListener/LogoutListener.js +1 -1
- package/components/LogoutListener/helpers/index.js +1 -1
- package/components/LogoutListener/helpers/useLogoutFromMultipleTabs.js +1 -1
- package/components/LogoutListener/helpers/useNativeAuthLogout.js +1 -1
- package/components/LogoutListener/helpers/useNativeAuthLogoutWarning/index.js +1 -1
- package/components/LogoutListener/helpers/useNativeAuthLogoutWarning/useNativeAuthLogoutWarning.js +1 -1
- package/components/LogoutListener/index.js +1 -1
- package/components/ProviderInitializer.js +1 -1
- package/components/TransactionSender/TransactionSender.js +1 -1
- package/components/TransactionSender/index.js +1 -1
- package/components/TransactionStatusToast/FailedTransactionStatusToast.js +1 -1
- package/components/TransactionsTracker/TransactionTracker.js +1 -1
- package/components/TransactionsTracker/index.js +1 -1
- package/components/TransactionsTracker/useTransactionsTracker.js +1 -1
- package/constants/index.js +1 -1
- package/constants/network.js +1 -1
- package/hooks/account/index.js +1 -1
- package/hooks/account/useGetAccount.js +1 -1
- package/hooks/account/useGetAccountInfo.js +1 -1
- package/hooks/account/useGetAccountProvider.js +1 -1
- package/hooks/account/useGetIsLoggedIn.js +1 -1
- package/hooks/account/useGetLoginInfo.js +1 -1
- package/hooks/account/useGetWebsocketEvent.js +1 -1
- package/hooks/index.js +1 -1
- package/hooks/login/index.js +1 -1
- package/hooks/login/useExtensionLogin.js +1 -1
- package/hooks/login/useLedgerLogin.js +1 -1
- package/hooks/login/useLoginService.js +1 -1
- package/hooks/login/useOperaLogin.js +1 -1
- package/hooks/login/useWalletConnectLogin.js +1 -1
- package/hooks/login/useWalletConnectV2Login.js +1 -1
- package/hooks/login/useWebViewLogin.js +1 -1
- package/hooks/login/useWebWalletLogin.js +1 -1
- package/hooks/signMessage/index.js +1 -1
- package/hooks/signMessage/useGetLastSignedMessageSession.js +1 -1
- package/hooks/signMessage/useGetSignMessageSession.js +1 -1
- package/hooks/signMessage/useGetSignedMessageStatus.js +1 -1
- package/hooks/signMessage/useSignMessage.js +1 -1
- package/hooks/transactions/helpers/getShouldMoveTransactionsToSignedState.js +1 -1
- package/hooks/transactions/helpers/index.js +1 -1
- package/hooks/transactions/helpers/useClearTransactionsToSignWithWarning.js +1 -1
- package/hooks/transactions/helpers/useSetTransactionNonces.js +1 -1
- package/hooks/transactions/index.js +1 -1
- package/hooks/transactions/useCancelWalletConnectAction.js +1 -1
- package/hooks/transactions/useCheckTransactionStatus/checkBatch.js +1 -1
- package/hooks/transactions/useCheckTransactionStatus/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/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/dappModalsSelectors.js +1 -1
- package/reduxStore/selectors/helpers.js +1 -1
- package/reduxStore/selectors/index.js +1 -1
- package/reduxStore/selectors/loginInfoSelectors.js +1 -1
- package/reduxStore/selectors/modalsSelectors.js +1 -1
- package/reduxStore/selectors/networkConfigSelectors.js +1 -1
- package/reduxStore/selectors/signedMessageInfoSelectors.js +1 -1
- package/reduxStore/selectors/toastsSelectors.js +1 -1
- package/reduxStore/selectors/transactionsInfoSelectors.js +1 -1
- package/reduxStore/selectors/transactionsSelectors.js +1 -1
- package/reduxStore/slices/accountInfoSlice.js +1 -1
- package/reduxStore/slices/dappModalsSlice.js +1 -1
- package/reduxStore/slices/index.js +1 -1
- package/reduxStore/slices/loginInfoSlice.js +1 -1
- package/reduxStore/slices/modalsSlice.js +1 -1
- package/reduxStore/slices/signedMessageInfoSlice.js +1 -1
- package/reduxStore/slices/toastsSlice.js +1 -1
- package/reduxStore/slices/transactionsInfoSlice.js +1 -1
- package/reduxStore/slices/transactionsSlice.js +1 -1
- package/reduxStore/store.js +1 -1
- package/services/index.js +1 -1
- package/services/nativeAuth/helpers/getLatestBlockHash.js +1 -1
- package/services/nativeAuth/helpers/index.js +1 -1
- package/services/nativeAuth/helpers/loginWithNativeAuthToken.js +1 -1
- package/services/nativeAuth/index.js +1 -1
- package/services/nativeAuth/methods/getToken.js +1 -1
- package/services/nativeAuth/methods/index.js +1 -1
- package/services/nativeAuth/nativeAuth.js +1 -1
- package/services/transactions/clearTransactions.js +1 -1
- package/services/transactions/index.js +1 -1
- package/services/transactions/isCrossShardTransaction.js +1 -1
- package/services/transactions/sendTransactions.js +1 -1
- package/services/transactions/signTransactions.js +1 -1
- package/services/transactions/transformAndSignTransactions.js +1 -1
- package/services/transactions/utils.js +1 -1
- package/types/index.js +1 -1
- package/types/suspiciousLink.d.ts +1 -1
- package/types/suspiciousLink.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/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/transactionInfoHelpers/getScResultsInitialDecodeMethod.js +1 -1
- package/utils/transactions/transactionInfoHelpers/getScamFlag.d.ts +1 -1
- package/utils/transactions/transactionInfoHelpers/getScamFlag.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/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/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/index.js +1 -1
- package/wrappers/index.js +1 -1
- package/__chunks__/chunk-257MQZJ7.js +0 -2
- package/__chunks__/chunk-2LLW6IVJ.js +0 -2
- package/__chunks__/chunk-2Q6WNGQ3.js +0 -2
- package/__chunks__/chunk-374772OF.js +0 -2
- package/__chunks__/chunk-3SRVL7NW.js +0 -2
- package/__chunks__/chunk-4SIXDSOL.js +0 -2
- package/__chunks__/chunk-4X5KCZ6J.js +0 -2
- package/__chunks__/chunk-5YY4FC5L.js +0 -2
- package/__chunks__/chunk-5ZXISSZ7.js +0 -2
- package/__chunks__/chunk-6T5YTSDO.js +0 -2
- package/__chunks__/chunk-72JZW4D4.js +0 -2
- package/__chunks__/chunk-77MJ4H2X.js +0 -2
- package/__chunks__/chunk-7BZUQTJT.js +0 -2
- package/__chunks__/chunk-D5NVSL2S.js +0 -2
- package/__chunks__/chunk-DJQVAF4K.js +0 -2
- package/__chunks__/chunk-EAK65F3A.js +0 -2
- package/__chunks__/chunk-ELLSRUGJ.js +0 -2
- package/__chunks__/chunk-FBDAZ2UU.js +0 -2
- package/__chunks__/chunk-GKFAI7FL.js +0 -2
- package/__chunks__/chunk-GSJZFGHK.js +0 -2
- package/__chunks__/chunk-GSOVFG26.js +0 -2
- package/__chunks__/chunk-GSUUHI7J.js +0 -2
- package/__chunks__/chunk-I42LQFAH.js +0 -2
- package/__chunks__/chunk-I6QS6Z2Y.js +0 -2
- package/__chunks__/chunk-ICXMCLJS.js +0 -2
- package/__chunks__/chunk-IOPYMHW4.js +0 -2
- package/__chunks__/chunk-IUGOLSWC.js +0 -2
- package/__chunks__/chunk-JCPJZUE5.js +0 -2
- package/__chunks__/chunk-JPYJYT7S.js +0 -2
- package/__chunks__/chunk-KCJKC2BG.js +0 -2
- package/__chunks__/chunk-LCU4TY25.js +0 -2
- package/__chunks__/chunk-LFCY6YND.js +0 -2
- package/__chunks__/chunk-LYKWMNOY.js +0 -2
- package/__chunks__/chunk-MW6CV76C.js +0 -2
- package/__chunks__/chunk-NB2UEIDR.js +0 -2
- package/__chunks__/chunk-NWBLGHEW.js +0 -2
- package/__chunks__/chunk-OTZ4VQBM.js +0 -2
- package/__chunks__/chunk-PHQITJCN.js +0 -2
- package/__chunks__/chunk-PQYTU7UW.js +0 -2
- package/__chunks__/chunk-QAVCUCZB.js +0 -2
- package/__chunks__/chunk-QKWFACPV.js +0 -2
- package/__chunks__/chunk-QYO7RWYF.js +0 -2
- package/__chunks__/chunk-RANC62GC.js +0 -2
- package/__chunks__/chunk-U76KYHMK.js +0 -2
- package/__chunks__/chunk-VAELNUTZ.js +0 -2
- package/__chunks__/chunk-WO7IDAN6.js +0 -2
- package/__chunks__/chunk-YUGUMBTX.js +0 -2
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
"use strict";var Yr=Object.create;var Q=Object.defineProperty,Xr=Object.defineProperties,Qr=Object.getOwnPropertyDescriptor,Jr=Object.getOwnPropertyDescriptors,et=Object.getOwnPropertyNames,Pe=Object.getOwnPropertySymbols,rt=Object.getPrototypeOf,Me=Object.prototype.hasOwnProperty,tt=Object.prototype.propertyIsEnumerable;var Ue=(r,e,t)=>e in r?Q(r,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):r[e]=t,ge=(r,e)=>{for(var t in e||(e={}))Me.call(e,t)&&Ue(r,t,e[t]);if(Pe)for(var t of Pe(e))tt.call(e,t)&&Ue(r,t,e[t]);return r},fe=(r,e)=>Xr(r,Jr(e));var nt=(r,e)=>()=>(r&&(e=r(r=0)),e);var ie=(r,e)=>()=>(e||r((e={exports:{}}).exports,e),e.exports),it=(r,e)=>{for(var t in e)Q(r,t,{get:e[t],enumerable:!0})},$e=(r,e,t,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of et(e))!Me.call(r,i)&&i!==t&&Q(r,i,{get:()=>e[i],enumerable:!(n=Qr(e,i))||n.enumerable});return r};var E=(r,e,t)=>(t=r!=null?Yr(rt(r)):{},$e(e||!r||!r.__esModule?Q(t,"default",{value:r,enumerable:!0}):t,r)),ot=r=>$e(Q({},"__esModule",{value:!0}),r);var We=ie(oe=>{"use strict";s();oe.byteLength=st;oe.toByteArray=lt;oe.fromByteArray=dt;var I=[],v=[],at=typeof Uint8Array!="undefined"?Uint8Array:Array,he="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for($=0,Ge=he.length;$<Ge;++$)I[$]=he[$],v[he.charCodeAt($)]=$;var $,Ge;v["-".charCodeAt(0)]=62;v["_".charCodeAt(0)]=63;function Ve(r){var e=r.length;if(e%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var t=r.indexOf("=");t===-1&&(t=e);var n=t===e?0:4-t%4;return[t,n]}function st(r){var e=Ve(r),t=e[0],n=e[1];return(t+n)*3/4-n}function ct(r,e,t){return(e+t)*3/4-t}function lt(r){var e,t=Ve(r),n=t[0],i=t[1],o=new at(ct(r,n,i)),a=0,l=i>0?n-4:n,p;for(p=0;p<l;p+=4)e=v[r.charCodeAt(p)]<<18|v[r.charCodeAt(p+1)]<<12|v[r.charCodeAt(p+2)]<<6|v[r.charCodeAt(p+3)],o[a++]=e>>16&255,o[a++]=e>>8&255,o[a++]=e&255;return i===2&&(e=v[r.charCodeAt(p)]<<2|v[r.charCodeAt(p+1)]>>4,o[a++]=e&255),i===1&&(e=v[r.charCodeAt(p)]<<10|v[r.charCodeAt(p+1)]<<4|v[r.charCodeAt(p+2)]>>2,o[a++]=e>>8&255,o[a++]=e&255),o}function ut(r){return I[r>>18&63]+I[r>>12&63]+I[r>>6&63]+I[r&63]}function pt(r,e,t){for(var n,i=[],o=e;o<t;o+=3)n=(r[o]<<16&16711680)+(r[o+1]<<8&65280)+(r[o+2]&255),i.push(ut(n));return i.join("")}function dt(r){for(var e,t=r.length,n=t%3,i=[],o=16383,a=0,l=t-n;a<l;a+=o)i.push(pt(r,a,a+o>l?l:a+o));return n===1?(e=r[t-1],i.push(I[e>>2]+I[e<<4&63]+"==")):n===2&&(e=(r[t-2]<<8)+r[t-1],i.push(I[e>>10]+I[e>>4&63]+I[e<<2&63]+"=")),i.join("")}});var He=ie(ye=>{s();ye.read=function(r,e,t,n,i){var o,a,l=i*8-n-1,p=(1<<l)-1,g=p>>1,f=-7,h=t?i-1:0,y=t?-1:1,x=r[e+h];for(h+=y,o=x&(1<<-f)-1,x>>=-f,f+=l;f>0;o=o*256+r[e+h],h+=y,f-=8);for(a=o&(1<<-f)-1,o>>=-f,f+=n;f>0;a=a*256+r[e+h],h+=y,f-=8);if(o===0)o=1-g;else{if(o===p)return a?NaN:(x?-1:1)*(1/0);a=a+Math.pow(2,n),o=o-g}return(x?-1:1)*a*Math.pow(2,o-n)};ye.write=function(r,e,t,n,i,o){var a,l,p,g=o*8-i-1,f=(1<<g)-1,h=f>>1,y=i===23?Math.pow(2,-24)-Math.pow(2,-77):0,x=n?0:o-1,k=n?1:-1,q=e<0||e===0&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(l=isNaN(e)?1:0,a=f):(a=Math.floor(Math.log(e)/Math.LN2),e*(p=Math.pow(2,-a))<1&&(a--,p*=2),a+h>=1?e+=y/p:e+=y*Math.pow(2,1-h),e*p>=2&&(a++,p/=2),a+h>=f?(l=0,a=f):a+h>=1?(l=(e*p-1)*Math.pow(2,i),a=a+h):(l=e*Math.pow(2,h-1)*Math.pow(2,i),a=0));i>=8;r[t+x]=l&255,x+=k,l/=256,i-=8);for(a=a<<i|l,g+=i;g>0;r[t+x]=a&255,x+=k,a/=256,g-=8);r[t+x-k]|=q*128}});var nr=ie(j=>{"use strict";s();var Te=We(),z=He(),qe=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;j.Buffer=c;j.SlowBuffer=Tt;j.INSPECT_MAX_BYTES=50;var ae=2147483647;j.kMaxLength=ae;c.TYPED_ARRAY_SUPPORT=mt();!c.TYPED_ARRAY_SUPPORT&&typeof console!="undefined"&&typeof console.error=="function"&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function mt(){try{var r=new Uint8Array(1),e={foo:function(){return 42}};return Object.setPrototypeOf(e,Uint8Array.prototype),Object.setPrototypeOf(r,e),r.foo()===42}catch(t){return!1}}Object.defineProperty(c.prototype,"parent",{enumerable:!0,get:function(){if(!!c.isBuffer(this))return this.buffer}});Object.defineProperty(c.prototype,"offset",{enumerable:!0,get:function(){if(!!c.isBuffer(this))return this.byteOffset}});function L(r){if(r>ae)throw new RangeError('The value "'+r+'" is invalid for option "size"');var e=new Uint8Array(r);return Object.setPrototypeOf(e,c.prototype),e}function c(r,e,t){if(typeof r=="number"){if(typeof e=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return ve(r)}return Ke(r,e,t)}c.poolSize=8192;function Ke(r,e,t){if(typeof r=="string")return ft(r,e);if(ArrayBuffer.isView(r))return ht(r);if(r==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof r);if(A(r,ArrayBuffer)||r&&A(r.buffer,ArrayBuffer)||typeof SharedArrayBuffer!="undefined"&&(A(r,SharedArrayBuffer)||r&&A(r.buffer,SharedArrayBuffer)))return we(r,e,t);if(typeof r=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var n=r.valueOf&&r.valueOf();if(n!=null&&n!==r)return c.from(n,e,t);var i=yt(r);if(i)return i;if(typeof Symbol!="undefined"&&Symbol.toPrimitive!=null&&typeof r[Symbol.toPrimitive]=="function")return c.from(r[Symbol.toPrimitive]("string"),e,t);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof r)}c.from=function(r,e,t){return Ke(r,e,t)};Object.setPrototypeOf(c.prototype,Uint8Array.prototype);Object.setPrototypeOf(c,Uint8Array);function Ze(r){if(typeof r!="number")throw new TypeError('"size" argument must be of type number');if(r<0)throw new RangeError('The value "'+r+'" is invalid for option "size"')}function gt(r,e,t){return Ze(r),r<=0?L(r):e!==void 0?typeof t=="string"?L(r).fill(e,t):L(r).fill(e):L(r)}c.alloc=function(r,e,t){return gt(r,e,t)};function ve(r){return Ze(r),L(r<0?0:ke(r)|0)}c.allocUnsafe=function(r){return ve(r)};c.allocUnsafeSlow=function(r){return ve(r)};function ft(r,e){if((typeof e!="string"||e==="")&&(e="utf8"),!c.isEncoding(e))throw new TypeError("Unknown encoding: "+e);var t=Ye(r,e)|0,n=L(t),i=n.write(r,e);return i!==t&&(n=n.slice(0,i)),n}function xe(r){for(var e=r.length<0?0:ke(r.length)|0,t=L(e),n=0;n<e;n+=1)t[n]=r[n]&255;return t}function ht(r){if(A(r,Uint8Array)){var e=new Uint8Array(r);return we(e.buffer,e.byteOffset,e.byteLength)}return xe(r)}function we(r,e,t){if(e<0||r.byteLength<e)throw new RangeError('"offset" is outside of buffer bounds');if(r.byteLength<e+(t||0))throw new RangeError('"length" is outside of buffer bounds');var n;return e===void 0&&t===void 0?n=new Uint8Array(r):t===void 0?n=new Uint8Array(r,e):n=new Uint8Array(r,e,t),Object.setPrototypeOf(n,c.prototype),n}function yt(r){if(c.isBuffer(r)){var e=ke(r.length)|0,t=L(e);return t.length===0||r.copy(t,0,0,e),t}if(r.length!==void 0)return typeof r.length!="number"||Se(r.length)?L(0):xe(r);if(r.type==="Buffer"&&Array.isArray(r.data))return xe(r.data)}function ke(r){if(r>=ae)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+ae.toString(16)+" bytes");return r|0}function Tt(r){return+r!=r&&(r=0),c.alloc(+r)}c.isBuffer=function(e){return e!=null&&e._isBuffer===!0&&e!==c.prototype};c.compare=function(e,t){if(A(e,Uint8Array)&&(e=c.from(e,e.offset,e.byteLength)),A(t,Uint8Array)&&(t=c.from(t,t.offset,t.byteLength)),!c.isBuffer(e)||!c.isBuffer(t))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(e===t)return 0;for(var n=e.length,i=t.length,o=0,a=Math.min(n,i);o<a;++o)if(e[o]!==t[o]){n=e[o],i=t[o];break}return n<i?-1:i<n?1:0};c.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}};c.concat=function(e,t){if(!Array.isArray(e))throw new TypeError('"list" argument must be an Array of Buffers');if(e.length===0)return c.alloc(0);var n;if(t===void 0)for(t=0,n=0;n<e.length;++n)t+=e[n].length;var i=c.allocUnsafe(t),o=0;for(n=0;n<e.length;++n){var a=e[n];if(A(a,Uint8Array))o+a.length>i.length?c.from(a).copy(i,o):Uint8Array.prototype.set.call(i,a,o);else if(c.isBuffer(a))a.copy(i,o);else throw new TypeError('"list" argument must be an Array of Buffers');o+=a.length}return i};function Ye(r,e){if(c.isBuffer(r))return r.length;if(ArrayBuffer.isView(r)||A(r,ArrayBuffer))return r.byteLength;if(typeof r!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof r);var t=r.length,n=arguments.length>2&&arguments[2]===!0;if(!n&&t===0)return 0;for(var i=!1;;)switch(e){case"ascii":case"latin1":case"binary":return t;case"utf8":case"utf-8":return be(r).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return t*2;case"hex":return t>>>1;case"base64":return tr(r).length;default:if(i)return n?-1:be(r).length;e=(""+e).toLowerCase(),i=!0}}c.byteLength=Ye;function xt(r,e,t){var n=!1;if((e===void 0||e<0)&&(e=0),e>this.length||((t===void 0||t>this.length)&&(t=this.length),t<=0)||(t>>>=0,e>>>=0,t<=e))return"";for(r||(r="utf8");;)switch(r){case"hex":return Dt(this,e,t);case"utf8":case"utf-8":return Qe(this,e,t);case"ascii":return At(this,e,t);case"latin1":case"binary":return Nt(this,e,t);case"base64":return Et(this,e,t);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return _t(this,e,t);default:if(n)throw new TypeError("Unknown encoding: "+r);r=(r+"").toLowerCase(),n=!0}}c.prototype._isBuffer=!0;function G(r,e,t){var n=r[e];r[e]=r[t],r[t]=n}c.prototype.swap16=function(){var e=this.length;if(e%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var t=0;t<e;t+=2)G(this,t,t+1);return this};c.prototype.swap32=function(){var e=this.length;if(e%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var t=0;t<e;t+=4)G(this,t,t+3),G(this,t+1,t+2);return this};c.prototype.swap64=function(){var e=this.length;if(e%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var t=0;t<e;t+=8)G(this,t,t+7),G(this,t+1,t+6),G(this,t+2,t+5),G(this,t+3,t+4);return this};c.prototype.toString=function(){var e=this.length;return e===0?"":arguments.length===0?Qe(this,0,e):xt.apply(this,arguments)};c.prototype.toLocaleString=c.prototype.toString;c.prototype.equals=function(e){if(!c.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e?!0:c.compare(this,e)===0};c.prototype.inspect=function(){var e="",t=j.INSPECT_MAX_BYTES;return e=this.toString("hex",0,t).replace(/(.{2})/g,"$1 ").trim(),this.length>t&&(e+=" ... "),"<Buffer "+e+">"};qe&&(c.prototype[qe]=c.prototype.inspect);c.prototype.compare=function(e,t,n,i,o){if(A(e,Uint8Array)&&(e=c.from(e,e.offset,e.byteLength)),!c.isBuffer(e))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof e);if(t===void 0&&(t=0),n===void 0&&(n=e?e.length:0),i===void 0&&(i=0),o===void 0&&(o=this.length),t<0||n>e.length||i<0||o>this.length)throw new RangeError("out of range index");if(i>=o&&t>=n)return 0;if(i>=o)return-1;if(t>=n)return 1;if(t>>>=0,n>>>=0,i>>>=0,o>>>=0,this===e)return 0;for(var a=o-i,l=n-t,p=Math.min(a,l),g=this.slice(i,o),f=e.slice(t,n),h=0;h<p;++h)if(g[h]!==f[h]){a=g[h],l=f[h];break}return a<l?-1:l<a?1:0};function Xe(r,e,t,n,i){if(r.length===0)return-1;if(typeof t=="string"?(n=t,t=0):t>2147483647?t=2147483647:t<-2147483648&&(t=-2147483648),t=+t,Se(t)&&(t=i?0:r.length-1),t<0&&(t=r.length+t),t>=r.length){if(i)return-1;t=r.length-1}else if(t<0)if(i)t=0;else return-1;if(typeof e=="string"&&(e=c.from(e,n)),c.isBuffer(e))return e.length===0?-1:ze(r,e,t,n,i);if(typeof e=="number")return e=e&255,typeof Uint8Array.prototype.indexOf=="function"?i?Uint8Array.prototype.indexOf.call(r,e,t):Uint8Array.prototype.lastIndexOf.call(r,e,t):ze(r,[e],t,n,i);throw new TypeError("val must be string, number or Buffer")}function ze(r,e,t,n,i){var o=1,a=r.length,l=e.length;if(n!==void 0&&(n=String(n).toLowerCase(),n==="ucs2"||n==="ucs-2"||n==="utf16le"||n==="utf-16le")){if(r.length<2||e.length<2)return-1;o=2,a/=2,l/=2,t/=2}function p(x,k){return o===1?x[k]:x.readUInt16BE(k*o)}var g;if(i){var f=-1;for(g=t;g<a;g++)if(p(r,g)===p(e,f===-1?0:g-f)){if(f===-1&&(f=g),g-f+1===l)return f*o}else f!==-1&&(g-=g-f),f=-1}else for(t+l>a&&(t=a-l),g=t;g>=0;g--){for(var h=!0,y=0;y<l;y++)if(p(r,g+y)!==p(e,y)){h=!1;break}if(h)return g}return-1}c.prototype.includes=function(e,t,n){return this.indexOf(e,t,n)!==-1};c.prototype.indexOf=function(e,t,n){return Xe(this,e,t,n,!0)};c.prototype.lastIndexOf=function(e,t,n){return Xe(this,e,t,n,!1)};function wt(r,e,t,n){t=Number(t)||0;var i=r.length-t;n?(n=Number(n),n>i&&(n=i)):n=i;var o=e.length;n>o/2&&(n=o/2);for(var a=0;a<n;++a){var l=parseInt(e.substr(a*2,2),16);if(Se(l))return a;r[t+a]=l}return a}function bt(r,e,t,n){return se(be(e,r.length-t),r,t,n)}function vt(r,e,t,n){return se(Ft(e),r,t,n)}function kt(r,e,t,n){return se(tr(e),r,t,n)}function St(r,e,t,n){return se(Ct(e,r.length-t),r,t,n)}c.prototype.write=function(e,t,n,i){if(t===void 0)i="utf8",n=this.length,t=0;else if(n===void 0&&typeof t=="string")i=t,n=this.length,t=0;else if(isFinite(t))t=t>>>0,isFinite(n)?(n=n>>>0,i===void 0&&(i="utf8")):(i=n,n=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var o=this.length-t;if((n===void 0||n>o)&&(n=o),e.length>0&&(n<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");i||(i="utf8");for(var a=!1;;)switch(i){case"hex":return wt(this,e,t,n);case"utf8":case"utf-8":return bt(this,e,t,n);case"ascii":case"latin1":case"binary":return vt(this,e,t,n);case"base64":return kt(this,e,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return St(this,e,t,n);default:if(a)throw new TypeError("Unknown encoding: "+i);i=(""+i).toLowerCase(),a=!0}};c.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function Et(r,e,t){return e===0&&t===r.length?Te.fromByteArray(r):Te.fromByteArray(r.slice(e,t))}function Qe(r,e,t){t=Math.min(r.length,t);for(var n=[],i=e;i<t;){var o=r[i],a=null,l=o>239?4:o>223?3:o>191?2:1;if(i+l<=t){var p,g,f,h;switch(l){case 1:o<128&&(a=o);break;case 2:p=r[i+1],(p&192)===128&&(h=(o&31)<<6|p&63,h>127&&(a=h));break;case 3:p=r[i+1],g=r[i+2],(p&192)===128&&(g&192)===128&&(h=(o&15)<<12|(p&63)<<6|g&63,h>2047&&(h<55296||h>57343)&&(a=h));break;case 4:p=r[i+1],g=r[i+2],f=r[i+3],(p&192)===128&&(g&192)===128&&(f&192)===128&&(h=(o&15)<<18|(p&63)<<12|(g&63)<<6|f&63,h>65535&&h<1114112&&(a=h))}}a===null?(a=65533,l=1):a>65535&&(a-=65536,n.push(a>>>10&1023|55296),a=56320|a&1023),n.push(a),i+=l}return It(n)}var je=4096;function It(r){var e=r.length;if(e<=je)return String.fromCharCode.apply(String,r);for(var t="",n=0;n<e;)t+=String.fromCharCode.apply(String,r.slice(n,n+=je));return t}function At(r,e,t){var n="";t=Math.min(r.length,t);for(var i=e;i<t;++i)n+=String.fromCharCode(r[i]&127);return n}function Nt(r,e,t){var n="";t=Math.min(r.length,t);for(var i=e;i<t;++i)n+=String.fromCharCode(r[i]);return n}function Dt(r,e,t){var n=r.length;(!e||e<0)&&(e=0),(!t||t<0||t>n)&&(t=n);for(var i="",o=e;o<t;++o)i+=Ot[r[o]];return i}function _t(r,e,t){for(var n=r.slice(e,t),i="",o=0;o<n.length-1;o+=2)i+=String.fromCharCode(n[o]+n[o+1]*256);return i}c.prototype.slice=function(e,t){var n=this.length;e=~~e,t=t===void 0?n:~~t,e<0?(e+=n,e<0&&(e=0)):e>n&&(e=n),t<0?(t+=n,t<0&&(t=0)):t>n&&(t=n),t<e&&(t=e);var i=this.subarray(e,t);return Object.setPrototypeOf(i,c.prototype),i};function w(r,e,t){if(r%1!==0||r<0)throw new RangeError("offset is not uint");if(r+e>t)throw new RangeError("Trying to access beyond buffer length")}c.prototype.readUintLE=c.prototype.readUIntLE=function(e,t,n){e=e>>>0,t=t>>>0,n||w(e,t,this.length);for(var i=this[e],o=1,a=0;++a<t&&(o*=256);)i+=this[e+a]*o;return i};c.prototype.readUintBE=c.prototype.readUIntBE=function(e,t,n){e=e>>>0,t=t>>>0,n||w(e,t,this.length);for(var i=this[e+--t],o=1;t>0&&(o*=256);)i+=this[e+--t]*o;return i};c.prototype.readUint8=c.prototype.readUInt8=function(e,t){return e=e>>>0,t||w(e,1,this.length),this[e]};c.prototype.readUint16LE=c.prototype.readUInt16LE=function(e,t){return e=e>>>0,t||w(e,2,this.length),this[e]|this[e+1]<<8};c.prototype.readUint16BE=c.prototype.readUInt16BE=function(e,t){return e=e>>>0,t||w(e,2,this.length),this[e]<<8|this[e+1]};c.prototype.readUint32LE=c.prototype.readUInt32LE=function(e,t){return e=e>>>0,t||w(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+this[e+3]*16777216};c.prototype.readUint32BE=c.prototype.readUInt32BE=function(e,t){return e=e>>>0,t||w(e,4,this.length),this[e]*16777216+(this[e+1]<<16|this[e+2]<<8|this[e+3])};c.prototype.readIntLE=function(e,t,n){e=e>>>0,t=t>>>0,n||w(e,t,this.length);for(var i=this[e],o=1,a=0;++a<t&&(o*=256);)i+=this[e+a]*o;return o*=128,i>=o&&(i-=Math.pow(2,8*t)),i};c.prototype.readIntBE=function(e,t,n){e=e>>>0,t=t>>>0,n||w(e,t,this.length);for(var i=t,o=1,a=this[e+--i];i>0&&(o*=256);)a+=this[e+--i]*o;return o*=128,a>=o&&(a-=Math.pow(2,8*t)),a};c.prototype.readInt8=function(e,t){return e=e>>>0,t||w(e,1,this.length),this[e]&128?(255-this[e]+1)*-1:this[e]};c.prototype.readInt16LE=function(e,t){e=e>>>0,t||w(e,2,this.length);var n=this[e]|this[e+1]<<8;return n&32768?n|4294901760:n};c.prototype.readInt16BE=function(e,t){e=e>>>0,t||w(e,2,this.length);var n=this[e+1]|this[e]<<8;return n&32768?n|4294901760:n};c.prototype.readInt32LE=function(e,t){return e=e>>>0,t||w(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24};c.prototype.readInt32BE=function(e,t){return e=e>>>0,t||w(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]};c.prototype.readFloatLE=function(e,t){return e=e>>>0,t||w(e,4,this.length),z.read(this,e,!0,23,4)};c.prototype.readFloatBE=function(e,t){return e=e>>>0,t||w(e,4,this.length),z.read(this,e,!1,23,4)};c.prototype.readDoubleLE=function(e,t){return e=e>>>0,t||w(e,8,this.length),z.read(this,e,!0,52,8)};c.prototype.readDoubleBE=function(e,t){return e=e>>>0,t||w(e,8,this.length),z.read(this,e,!1,52,8)};function b(r,e,t,n,i,o){if(!c.isBuffer(r))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>i||e<o)throw new RangeError('"value" argument is out of bounds');if(t+n>r.length)throw new RangeError("Index out of range")}c.prototype.writeUintLE=c.prototype.writeUIntLE=function(e,t,n,i){if(e=+e,t=t>>>0,n=n>>>0,!i){var o=Math.pow(2,8*n)-1;b(this,e,t,n,o,0)}var a=1,l=0;for(this[t]=e&255;++l<n&&(a*=256);)this[t+l]=e/a&255;return t+n};c.prototype.writeUintBE=c.prototype.writeUIntBE=function(e,t,n,i){if(e=+e,t=t>>>0,n=n>>>0,!i){var o=Math.pow(2,8*n)-1;b(this,e,t,n,o,0)}var a=n-1,l=1;for(this[t+a]=e&255;--a>=0&&(l*=256);)this[t+a]=e/l&255;return t+n};c.prototype.writeUint8=c.prototype.writeUInt8=function(e,t,n){return e=+e,t=t>>>0,n||b(this,e,t,1,255,0),this[t]=e&255,t+1};c.prototype.writeUint16LE=c.prototype.writeUInt16LE=function(e,t,n){return e=+e,t=t>>>0,n||b(this,e,t,2,65535,0),this[t]=e&255,this[t+1]=e>>>8,t+2};c.prototype.writeUint16BE=c.prototype.writeUInt16BE=function(e,t,n){return e=+e,t=t>>>0,n||b(this,e,t,2,65535,0),this[t]=e>>>8,this[t+1]=e&255,t+2};c.prototype.writeUint32LE=c.prototype.writeUInt32LE=function(e,t,n){return e=+e,t=t>>>0,n||b(this,e,t,4,4294967295,0),this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=e&255,t+4};c.prototype.writeUint32BE=c.prototype.writeUInt32BE=function(e,t,n){return e=+e,t=t>>>0,n||b(this,e,t,4,4294967295,0),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=e&255,t+4};c.prototype.writeIntLE=function(e,t,n,i){if(e=+e,t=t>>>0,!i){var o=Math.pow(2,8*n-1);b(this,e,t,n,o-1,-o)}var a=0,l=1,p=0;for(this[t]=e&255;++a<n&&(l*=256);)e<0&&p===0&&this[t+a-1]!==0&&(p=1),this[t+a]=(e/l>>0)-p&255;return t+n};c.prototype.writeIntBE=function(e,t,n,i){if(e=+e,t=t>>>0,!i){var o=Math.pow(2,8*n-1);b(this,e,t,n,o-1,-o)}var a=n-1,l=1,p=0;for(this[t+a]=e&255;--a>=0&&(l*=256);)e<0&&p===0&&this[t+a+1]!==0&&(p=1),this[t+a]=(e/l>>0)-p&255;return t+n};c.prototype.writeInt8=function(e,t,n){return e=+e,t=t>>>0,n||b(this,e,t,1,127,-128),e<0&&(e=255+e+1),this[t]=e&255,t+1};c.prototype.writeInt16LE=function(e,t,n){return e=+e,t=t>>>0,n||b(this,e,t,2,32767,-32768),this[t]=e&255,this[t+1]=e>>>8,t+2};c.prototype.writeInt16BE=function(e,t,n){return e=+e,t=t>>>0,n||b(this,e,t,2,32767,-32768),this[t]=e>>>8,this[t+1]=e&255,t+2};c.prototype.writeInt32LE=function(e,t,n){return e=+e,t=t>>>0,n||b(this,e,t,4,2147483647,-2147483648),this[t]=e&255,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24,t+4};c.prototype.writeInt32BE=function(e,t,n){return e=+e,t=t>>>0,n||b(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=e&255,t+4};function Je(r,e,t,n,i,o){if(t+n>r.length)throw new RangeError("Index out of range");if(t<0)throw new RangeError("Index out of range")}function er(r,e,t,n,i){return e=+e,t=t>>>0,i||Je(r,e,t,4,34028234663852886e22,-34028234663852886e22),z.write(r,e,t,n,23,4),t+4}c.prototype.writeFloatLE=function(e,t,n){return er(this,e,t,!0,n)};c.prototype.writeFloatBE=function(e,t,n){return er(this,e,t,!1,n)};function rr(r,e,t,n,i){return e=+e,t=t>>>0,i||Je(r,e,t,8,17976931348623157e292,-17976931348623157e292),z.write(r,e,t,n,52,8),t+8}c.prototype.writeDoubleLE=function(e,t,n){return rr(this,e,t,!0,n)};c.prototype.writeDoubleBE=function(e,t,n){return rr(this,e,t,!1,n)};c.prototype.copy=function(e,t,n,i){if(!c.isBuffer(e))throw new TypeError("argument should be a Buffer");if(n||(n=0),!i&&i!==0&&(i=this.length),t>=e.length&&(t=e.length),t||(t=0),i>0&&i<n&&(i=n),i===n||e.length===0||this.length===0)return 0;if(t<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw new RangeError("Index out of range");if(i<0)throw new RangeError("sourceEnd out of bounds");i>this.length&&(i=this.length),e.length-t<i-n&&(i=e.length-t+n);var o=i-n;return this===e&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(t,n,i):Uint8Array.prototype.set.call(e,this.subarray(n,i),t),o};c.prototype.fill=function(e,t,n,i){if(typeof e=="string"){if(typeof t=="string"?(i=t,t=0,n=this.length):typeof n=="string"&&(i=n,n=this.length),i!==void 0&&typeof i!="string")throw new TypeError("encoding must be a string");if(typeof i=="string"&&!c.isEncoding(i))throw new TypeError("Unknown encoding: "+i);if(e.length===1){var o=e.charCodeAt(0);(i==="utf8"&&o<128||i==="latin1")&&(e=o)}}else typeof e=="number"?e=e&255:typeof e=="boolean"&&(e=Number(e));if(t<0||this.length<t||this.length<n)throw new RangeError("Out of range index");if(n<=t)return this;t=t>>>0,n=n===void 0?this.length:n>>>0,e||(e=0);var a;if(typeof e=="number")for(a=t;a<n;++a)this[a]=e;else{var l=c.isBuffer(e)?e:c.from(e,i),p=l.length;if(p===0)throw new TypeError('The value "'+e+'" is invalid for argument "value"');for(a=0;a<n-t;++a)this[a+t]=l[a%p]}return this};var Rt=/[^+/0-9A-Za-z-_]/g;function Lt(r){if(r=r.split("=")[0],r=r.trim().replace(Rt,""),r.length<2)return"";for(;r.length%4!==0;)r=r+"=";return r}function be(r,e){e=e||1/0;for(var t,n=r.length,i=null,o=[],a=0;a<n;++a){if(t=r.charCodeAt(a),t>55295&&t<57344){if(!i){if(t>56319){(e-=3)>-1&&o.push(239,191,189);continue}else if(a+1===n){(e-=3)>-1&&o.push(239,191,189);continue}i=t;continue}if(t<56320){(e-=3)>-1&&o.push(239,191,189),i=t;continue}t=(i-55296<<10|t-56320)+65536}else i&&(e-=3)>-1&&o.push(239,191,189);if(i=null,t<128){if((e-=1)<0)break;o.push(t)}else if(t<2048){if((e-=2)<0)break;o.push(t>>6|192,t&63|128)}else if(t<65536){if((e-=3)<0)break;o.push(t>>12|224,t>>6&63|128,t&63|128)}else if(t<1114112){if((e-=4)<0)break;o.push(t>>18|240,t>>12&63|128,t>>6&63|128,t&63|128)}else throw new Error("Invalid code point")}return o}function Ft(r){for(var e=[],t=0;t<r.length;++t)e.push(r.charCodeAt(t)&255);return e}function Ct(r,e){for(var t,n,i,o=[],a=0;a<r.length&&!((e-=2)<0);++a)t=r.charCodeAt(a),n=t>>8,i=t%256,o.push(i),o.push(n);return o}function tr(r){return Te.toByteArray(Lt(r))}function se(r,e,t,n){for(var i=0;i<n&&!(i+t>=e.length||i>=r.length);++i)e[i+t]=r[i];return i}function A(r,e){return r instanceof e||r!=null&&r.constructor!=null&&r.constructor.name!=null&&r.constructor.name===e.name}function Se(r){return r!==r}var Ot=function(){for(var r="0123456789abcdef",e=new Array(256),t=0;t<16;++t)for(var n=t*16,i=0;i<16;++i)e[n+i]=r[t]+r[i];return e}()});var cr=ie((bn,sr)=>{s();var T=sr.exports={},N,D;function Ee(){throw new Error("setTimeout has not been defined")}function Ie(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?N=setTimeout:N=Ee}catch(r){N=Ee}try{typeof clearTimeout=="function"?D=clearTimeout:D=Ie}catch(r){D=Ie}})();function ir(r){if(N===setTimeout)return setTimeout(r,0);if((N===Ee||!N)&&setTimeout)return N=setTimeout,setTimeout(r,0);try{return N(r,0)}catch(e){try{return N.call(null,r,0)}catch(t){return N.call(this,r,0)}}}function Bt(r){if(D===clearTimeout)return clearTimeout(r);if((D===Ie||!D)&&clearTimeout)return D=clearTimeout,clearTimeout(r);try{return D(r)}catch(e){try{return D.call(null,r)}catch(t){return D.call(this,r)}}}var F=[],K=!1,V,ce=-1;function Pt(){!K||!V||(K=!1,V.length?F=V.concat(F):ce=-1,F.length&&or())}function or(){if(!K){var r=ir(Pt);K=!0;for(var e=F.length;e;){for(V=F,F=[];++ce<e;)V&&V[ce].run();ce=-1,e=F.length}V=null,K=!1,Bt(r)}}T.nextTick=function(r){var e=new Array(arguments.length-1);if(arguments.length>1)for(var t=1;t<arguments.length;t++)e[t-1]=arguments[t];F.push(new ar(r,e)),F.length===1&&!K&&ir(or)};function ar(r,e){this.fun=r,this.array=e}ar.prototype.run=function(){this.fun.apply(null,this.array)};T.title="browser";T.browser=!0;T.env={};T.argv=[];T.version="";T.versions={};function C(){}T.on=C;T.addListener=C;T.once=C;T.off=C;T.removeListener=C;T.removeAllListeners=C;T.emit=C;T.prependListener=C;T.prependOnceListener=C;T.listeners=function(r){return[]};T.binding=function(r){throw new Error("process.binding is not supported")};T.cwd=function(){return"/"};T.chdir=function(r){throw new Error("process.chdir is not supported")};T.umask=function(){return 0}});var u,d,vn,s=nt(()=>{u=E(nr()),d=E(cr()),vn=function(r){function e(){var n=this||self;return delete r.prototype.__magic__,n}if(typeof globalThis=="object")return globalThis;if(this)return e();r.defineProperty(r.prototype,"__magic__",{configurable:!0,get:e});var t=__magic__;return t}(Object)});var fn={};it(fn,{getEventListDataHexValue:()=>Ut,getEventListHighlight:()=>Mt,getOperationDirection:()=>Gt,getOperationList:()=>zr,getScResultsDecodedData:()=>Vt,getScResultsHighlight:()=>Wt,getScamFlag:()=>pr,getShardText:()=>Ht,getTextWithLinks:()=>ur,getTransactionActionNftText:()=>Kt,getTransactionActionTokenText:()=>Zt,getTransactionFee:()=>Xt,getTransactionLinkWithLabel:()=>Qt,getTransactionMessages:()=>en,getTransactionStatus:()=>tn,getTransactionStatusText:()=>nn,getTrimmedHash:()=>on,getVisibleOperations:()=>an,internalTransactionActions:()=>qr,transactionActionUnwrapper:()=>sn,useDataDecode:()=>dn,useDataDecodeMethod:()=>mn,useGetOperationList:()=>gn});module.exports=ot(fn);s();s();var Ut=r=>u.Buffer.from(String(r==null?void 0:r.data),"base64").toString("hex");s();var Mt=(r,e)=>{var l;let{hash:t}=window.location,n=t.split("/"),i=n[0]?n[0].replace("#",""):"",o=(l=n[1])!=null?l:0;return i===e&&r.order===Number(o)};s();s();var Ae=(n=>(n.nft="nft",n.esdt="esdt",n.egld="egld",n))(Ae||{});var P=(i=>(i.raw="raw",i.text="text",i.decimal="decimal",i.smart="smart",i))(P||{});var Gt=({operation:r,address:e})=>{let t=e===r.sender,n=e===r.receiver,i=t&&n,o=!i,a="";switch(!0){case t:a="Out";break;case n:a="In";break;case i:a="Self";break;case o:a="Internal";break}return{direction:a}};s();s();s();function le(r){for(let e=0;e<r.length;e++)if(r.charCodeAt(e)>127)return!1;return!0}function Ne(r){let e=r;try{let t=u.Buffer.from(r,"hex").toString();le(t)&&t.length>1&&(e=t)}catch(t){}return e}var Vt=r=>{let e=u.Buffer.from(r,"base64").toString().split("@");return e.length>=2&&(e[0].length>0?e[0]=Ne(e[0]):e[1]=Ne(e[1])),e.join("@")};s();var Wt=r=>{let{hash:e}=window.location;return e.substring(0,e.indexOf("/")>0?e.indexOf("/"):e.length).replace("#","")===r};s();var lr=E(require("linkifyjs")),ur=r=>{let e=lr.find(r);if(!e.length)return{textWithLinks:r,hasLinks:!1};let t=r;for(let n of e){let i=r.substring(n.start,n.end);t=t.replace(i,n.value)}return{textWithLinks:t,hasLinks:!0}},pr=({message:r,scamInfo:e,isNsfw:t,uris:n,messagePrefix:i="Message hidden due to suspicious content - "})=>{var p;let o=`${i}${(p=e==null?void 0:e.info)!=null?p:"suspicious content"}`,{textWithLinks:a,hasLinks:l}=ur(r);if(l||t||e)return{message:o,textWithLinks:a,isSuspicious:!0};if(n!=null&&n.length)for(let g of n){let f=pr({message:g,messagePrefix:i});if(f.isSuspicious)return f}return!l&&!e&&!t?{message:"",textWithLinks:a,isSuspicious:!1}:{message:o,textWithLinks:a,isSuspicious:!0}};s();s();s();s();s();s();s();s();s();s();s();s();s();var De={devnet:{id:"devnet",chainId:"D",name:"Devnet",egldLabel:"xEGLD",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"https://maiar.page.link/?apn=com.elrond.maiar.wallet&isi=1519405832&ibi=com.elrond.maiar.wallet&link=https://xportal.com/",walletConnectBridgeAddresses:["https://bridge.walletconnect.org"],walletConnectV2RelayAddresses:["wss://relay.walletconnect.com"],walletAddress:"https://devnet-wallet.multiversx.com",apiAddress:"https://devnet-api.multiversx.com",explorerAddress:"http://devnet-explorer.multiversx.com",apiTimeout:"4000"},testnet:{id:"testnet",chainId:"T",name:"Testnet",egldLabel:"xEGLD",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"https://maiar.page.link/?apn=com.elrond.maiar.wallet&isi=1519405832&ibi=com.elrond.maiar.wallet&link=https://xportal.com/",walletConnectBridgeAddresses:["https://bridge.walletconnect.org"],walletConnectV2RelayAddresses:["wss://relay.walletconnect.com"],walletAddress:"https://testnet-wallet.multiversx.com",apiAddress:"https://testnet-api.multiversx.com",explorerAddress:"http://testnet-explorer.multiversx.com",apiTimeout:"4000"},mainnet:{id:"mainnet",chainId:"1",name:"Mainnet",egldLabel:"EGLD",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"https://maiar.page.link/?apn=com.elrond.maiar.wallet&isi=1519405832&ibi=com.elrond.maiar.wallet&link=https://xportal.com/",walletConnectBridgeAddresses:["https://bridge.walletconnect.org"],walletConnectV2RelayAddresses:["wss://relay.walletconnect.com"],walletAddress:"https://wallet.multiversx.com",apiAddress:"https://api.multiversx.com",explorerAddress:"https://explorer.multiversx.com",apiTimeout:"4000"}},{chainId:dr,egldLabel:Qn}=De["devnet"],{chainId:mr,egldLabel:Jn}=De["testnet"],{chainId:gr,egldLabel:ei}=De["mainnet"];var ri={["devnet"]:dr,["testnet"]:mr,["mainnet"]:gr},ti={[dr]:"devnet",[mr]:"testnet",[gr]:"mainnet"};s();s();s();s();var _=require("@multiversx/sdk-web-wallet-provider");var R=18,J=4;var fr=4294967295,hr=4294967280;var yr="refundedGas";var Z="0";var Ht=r=>{let e=r;typeof e=="string"&&e.includes("Shard")&&(e=e.replace("Shard","").replace(" ",""));let t=fr.toString()===String(e).toString()||String(e)==="metachain",n=hr.toString()===String(e).toString();return t?"Metachain":n?"All Shards":`Shard ${e}`};s();s();s();s();s();var xr=require("@multiversx/sdk-core"),U=E(require("bignumber.js"));s();var Tr=E(require("bignumber.js")),_e=(r,e=!0)=>{let t=String(r);if(!t.match(/^[-]?\d+$/))return!1;let n=new Tr.default(t),i=e?0:-1;return n.toString(10)===t&&n.comparedTo(0)>=i};s();function O(r){return{if:function(e){return e?{then:t=>t instanceof Function?O(t(r)):O(t)}:{then:()=>O(r)}},then:e=>e instanceof Function?O(e(r)):O(e),valueOf:function(){return r}}}U.default.config({ROUNDING_MODE:U.default.ROUND_FLOOR});function W({input:r,decimals:e=R,digits:t=J,showLastNonZeroDecimal:n=!0,showIsLessThanDecimalsLabel:i=!1,addCommas:o=!1}){if(!_e(r,!1))throw new Error("Invalid input");let a=new U.default(r).isNegative(),l=r;return a&&(l=r.substring(1)),O(l).then(()=>xr.TokenPayment.fungibleFromBigInteger("",l,e).toRationalNumber()).then(p=>{let g=new U.default(p);if(g.isZero())return Z;let f=g.toString(10),[h,y]=f.split("."),x=new U.default(y||0),k=O(0).if(Boolean(y&&n)).then(()=>Math.max(y.length,t)).if(x.isZero()&&!n).then(0).if(Boolean(y&&!n)).then(()=>Math.min(y.length,t)).valueOf(),q=y&&t>=1&&t<=y.length&&x.isGreaterThan(0)&&new U.default(y.substring(0,t)).isZero(),jr=g.toFormat(k);return O(f).if(o).then(jr).if(Boolean(q)).then(re=>{let X=new U.default(h).isZero(),[S,te]=re.split("."),ne=new Array(t-1).fill(0),Kr=[...ne,0].join(""),Zr=[...ne,1].join("");return X?i?`<${S}.${Zr}`:n?`${S}.${te}`:S:`${S}.${Kr}`}).if(Boolean(!q&&y)).then(re=>{let[X]=re.split("."),S=y.substring(0,k);if(n){let te=t-S.length;if(te>0){let ne=Array(te).fill(0).join("");return S=`${S}${ne}`,`${X}.${S}`}return re}return S?`${X}.${S}`:X}).valueOf()}).if(a).then(p=>`-${p}`).valueOf()}s();s();var qt=require("@multiversx/sdk-core");s();var ee=require("@multiversx/sdk-core"),jt=require("@multiversx/sdk-network-providers");s();s();var zt=E(require("bignumber.js"));s();s();s();s();s();s();s();var M="accounts",H="transactions";var Y="tokens",wr="blocks",br="miniblocks",vr="nodes",kr="identities",Sr="collections",Re="nfts",Le="providers",Fe="sc-results",Er="contracts",Ir="logs",Ar="code",Nr="locked-accounts",Dr="roles";var ue={shard:r=>`/${wr}?shard=${r}`,receiverShard:r=>`/${H}?receivershard=${r}`,senderShard:r=>`/${H}?sendershard=${r}`,transactionDetails:r=>`/${H}/${r}`,transactionDetailsScResults:r=>`/${H}/${r}/${Fe}`,transactionDetailsLogs:r=>`/${H}/${r}/${Ir}`,nodeDetails:r=>`/${vr}/${r}`,accountDetails:r=>`/${M}/${r}`,accountDetailsContractCode:r=>`/${M}/${r}/${Ar}`,accountDetailsTokens:r=>`/${M}/${r}/${Y}`,accountDetailsNfts:r=>`/${M}/${r}/${Re}`,accountDetailsScResults:r=>`/${M}/${r}/${Fe}`,accountDetailsContracts:r=>`/${M}/${r}/${Er}`,identityDetails:r=>`/${kr}/${r}`,tokenDetails:r=>`/${Y}/${r}`,tokenDetailsAccounts:r=>`/${Y}/${r}/${M}`,tokenDetailsLockedAccounts:r=>`/${Y}/${r}/${Nr}`,tokenDetailsRoles:r=>`/${Y}/${r}/${Dr}`,collectionDetails:r=>`/${Sr}/${r}`,nftDetails:r=>`/${Re}/${r}`,providerDetails:r=>`/${Le}/${r}`,providerDetailsTransactions:r=>`/${Le}/${r}/${H}`,miniblockDetails:r=>`/${br}/${r}`};function Kt({token:r,noValue:e,showLastNonZeroDecimal:t}){var g;let n=!e&&r.value&&r.type!=="NonFungibleESDT",i=r.decimals!=null,o="";r.type==="NonFungibleESDT"&&(o="NFT"),r.type==="SemiFungibleESDT"&&(o="SFT"),r.type==="MetaESDT"&&(o="Meta-ESDT");let a="";n&&i&&(a=i?W({input:r.value,decimals:r.decimals,digits:2,showLastNonZeroDecimal:t}):Number(r.value).toLocaleString("en"));let l=ue.nftDetails(String(r.identifier)),p=r.ticker===r.collection&&(g=r.identifier)!=null?g:r.ticker;return{badgeText:o,tokenFormattedAmount:n?a:null,tokenExplorerLink:l,tokenLinkText:p,token:r,noValue:e,showLastNonZeroDecimal:t}}s();function Zt({token:r,noValue:e,showLastNonZeroDecimal:t}){var l;let n=Boolean(!e&&r.value),i=n?W({input:r.value,decimals:(l=r.decimals)!=null?l:R,digits:2,showLastNonZeroDecimal:t,addCommas:!0}):null,o=ue.tokenDetails(String(r.token)),a=r.ticker;return{tokenExplorerLink:o,tokenFormattedAmount:i,showFormattedAmount:n,tokenLinkText:a,token:r,showLastNonZeroDecimal:t}}s();var Ce=E(require("bignumber.js")),Yt=r=>{let e=new Ce.default(r.gasPrice),t=new Ce.default(r.gasUsed);return e.times(t).toString()};function Xt(r){return r.fee?r.fee:r.gasUsed===void 0?null:Yt(r)}s();var Qt=({transaction:r,direction:e})=>{var p;let t=e==="Internal",n=r.sender;if(t)return{link:(p=r.links.senderLink)!=null?p:"",label:"Smart Contract transaction",address:n};let i=e==="Out",o=i?r.links.receiverLink:r.links.senderLink,a="";return e==="Self"&&r.receiverAssets?a=r.receiverAssets.name:(n=i?r.receiver:r.sender,a=i?"To:":"From:"),{label:a,address:n,link:o!=null?o:""}};s();s();function _r(r){var e,t;return(t=(e=r==null?void 0:r.operations)==null?void 0:e.map(n=>n.message).filter(n=>Boolean(n)))!=null?t:[]}s();var Rr=E(require("bignumber.js"));var Jt=r=>{var e,t;if(!((e=r.receipt)!=null&&e.value))return"";if(((t=r.receipt)==null?void 0:t.data)===yr){let n=W({input:r.receipt.value,decimals:R,digits:J,showLastNonZeroDecimal:!0});return new Rr.default(n).times(r.gasPrice).times(100).toFixed()}return r.receipt.value};function Lr(r){var i;let e=(i=r.receipt)==null?void 0:i.data;if(!e)return"";let t=Jt(r),n=t?`: ${t}`:"";return`${e}${n}`}s();function Oe(r){var e,t;return(t=(e=r==null?void 0:r.results)==null?void 0:e.map(n=>n.returnMessage).filter(n=>Boolean(n)))!=null?t:[]}function en(r){return Array.from(new Set([...Oe(r),..._r(r),Lr(r)])).filter(t=>Boolean(t))}s();function tn(r){let e=a=>r.status.toLowerCase()===a.toLowerCase(),t=e("fail")||e("reward-reverted"),n=e("success"),i=e("not executed")||e("invalid"),o=e("pending")||r.pendingResults;return{failed:t,success:n,invalid:i,pending:o}}s();var nn=r=>{switch(!0){case r.pendingResults:return"Pending (Smart Contract Execution)";case r.status==="reward-reverted":return"fail";default:return r.status.toString()}};s();var on=(r,e=4)=>`${r.substring(0,Math.floor(r.length/e))}...${r.substring(r.length-Math.ceil(r.length/e))}`;s();var an=r=>{var t,n;return(n=(t=r==null?void 0:r.operations)==null?void 0:t.filter(i=>Object.values(Ae).includes(i.type)))!=null?n:[]};s();s();s();var Cr=r=>{var e,t;switch(r.name){case"transfer":return["Transfer",{token:(e=r.arguments)==null?void 0:e.transfers},"to",{address:(t=r.arguments)==null?void 0:t.receiver}];default:return[]}};s();var Or=E(require("bignumber.js"));var Br=r=>{var e,t,n,i,o,a,l,p,g,f,h,y;switch(r.name){case"claimLockedAssets":return["Claim locked assets"];case"enterFarm":case"enterFarmProxy":return["Enter farm with",{token:(e=r.arguments)==null?void 0:e.transfers}];case"enterFarmAndLockRewards":case"enterFarmAndLockRewardsProxy":return["Enter farm and lock rewards with",{token:(t=r.arguments)==null?void 0:t.transfers}];case"exitFarm":case"exitFarmProxy":return["Exit farm with",{token:(n=r.arguments)==null?void 0:n.transfers}];case"claimRewards":case"claimRewardsProxy":return["Claim rewards",{token:(i=r.arguments)==null?void 0:i.transfers}];case"compoundRewards":case"compoundRewardsProxy":return["Reinvest rewards",{token:(o=r.arguments)==null?void 0:o.transfers}];case"swapTokensFixedInput":case"swap":return r.description?[r.description]:[];case"swapTokensFixedOutput":return r.description?[r.description]:[];case"addLiquidity":case"addLiquidityProxy":return["Added liquidity for",{token:[(a=r.arguments)==null?void 0:a.transfers[0]]},"and",{token:[(l=r.arguments)==null?void 0:l.transfers[1]]}];case"removeLiquidity":case"removeLiquidityProxy":return["Removed liquidity with ",{token:(p=r.arguments)==null?void 0:p.transfers}];case"mergeLockedAssetTokens":let x=Z;if((g=r.arguments)!=null&&g.transfers){let k=r.arguments.transfers.map(({value:q})=>q);x=Or.default.sum.apply(null,k).toString(10)}return[`Merge ${(f=r.arguments)==null?void 0:f.transfers.length}`,{tokenNoLink:[(h=r.arguments)==null?void 0:h.transfers[0]]},"positions into a single",{tokenNoLink:[(y=r.arguments)==null?void 0:y.transfers[0]]},"position of value",{value:x}];case"wrapEgld":case"unwrapEgld":default:return r.description?[r.description]:[]}};s();var Pr=r=>{var e,t,n,i,o,a,l,p,g,f,h,y;switch(r.name){case"delegate":case"stake":return["Delegate",{egldValue:(e=r.arguments)==null?void 0:e.value},"to staking provider",{providerName:(t=r.arguments)==null?void 0:t.providerName,providerAvatar:(n=r.arguments)==null?void 0:n.providerAvatar}];case"unDelegate":return["Undelegate",{egldValue:(i=r.arguments)==null?void 0:i.value},"from staking provider",{providerName:(o=r.arguments)==null?void 0:o.providerName,providerAvatar:(a=r.arguments)==null?void 0:a.providerAvatar}];case"claimRewards":return["Claim rewards from staking provider",{providerName:(l=r.arguments)==null?void 0:l.providerName,providerAvatar:(p=r.arguments)==null?void 0:p.providerAvatar}];case"reDelegateRewards":return["Redelegate rewards from staking provider",{providerName:(g=r.arguments)==null?void 0:g.providerName,providerAvatar:(f=r.arguments)==null?void 0:f.providerAvatar}];case"withdraw":return["Withdraw from staking provider",{providerName:(h=r.arguments)==null?void 0:h.providerName,providerAvatar:(y=r.arguments)==null?void 0:y.providerAvatar}];default:return[]}};var sn=r=>{if(!r.arguments)return r.description?[r.description]:[r.name];switch(r.category){case"esdtNft":return Cr(r);case"mex":return Br(r);case"stake":return Pr(r);default:return r.description?[r.description]:[]}};s();var de=require("react");s();s();s();var $r=require("@multiversx/sdk-core/out"),Be=E(require("bignumber.js"));s();var Ur=require("@multiversx/sdk-core");function cn(r){try{let e=new Ur.Address(r);return Boolean(e.bech32())}catch(e){return!1}}function Mr(r){return(r==null?void 0:r.startsWith("erd"))&&r.length===62&&/^\w+$/.test(r)&&cn(r)}var B=(r,e,t)=>{switch(e){case"text":try{return u.Buffer.from(String(r),"hex").toString("utf8")}catch(i){}return r;case"decimal":return new Be.default(r,16).toString(10);case"smart":try{let i=$r.Address.fromHex(r).toString();if(Mr(i))return i}catch(i){}try{let i=u.Buffer.from(String(r),"hex").toString("utf8");return le(i)||t&&[...t.esdts,...t.nfts].some(l=>i.includes(l))?i:new Be.default(r,16).toString(10)}catch(i){}return r;case"raw":default:return r}};s();s();var ln=r=>r.toLowerCase().match(/[0-9a-f]/g),un=r=>r.length%2===0,Gr=r=>{let e=[];return r&&!ln(r)&&e.push(`Invalid Hex characters on argument @${r}`),r&&!un(r)&&e.push(`Odd number of Hex characters on argument @${r}`),e};s();var pe=({parts:r,decodedParts:e,identifier:t})=>{let n=[...e];if(r[0]==="ESDTNFTTransfer"&&r[2]&&(n[2]=B(r[2],"decimal")),t==="ESDTNFTTransfer"&&r[1]){let i=u.Buffer.from(String(r[1]),"base64");n[1]=B(i.toString("hex"),"decimal")}return n};var Vr=({parts:r,decodeMethod:e,identifier:t})=>{let n=[],i=r.map((a,l)=>{if(r.length>=2&&(l===0&&a.length<64||l===1&&!r[0]))return/[^a-z0-9]/gi.test(a)?B(a,e):a;{let p=Gr(a);return p.length&&(n=p),B(a,e)}});return{displayValue:(e==="smart"?pe({parts:r,decodedParts:i,identifier:t}):i).join("@"),validationWarnings:n}};var Wr=({input:r,decodeMethod:e,identifier:t})=>{let n={displayValue:"",validationWarnings:[]};if(!(r.includes("@")||r.includes(`
|
|
2
|
-
`)))return n.displayValue=
|
|
1
|
+
"use strict";var Zr=Object.create;var Q=Object.defineProperty,Yr=Object.defineProperties,Xr=Object.getOwnPropertyDescriptor,Qr=Object.getOwnPropertyDescriptors,Jr=Object.getOwnPropertyNames,Be=Object.getOwnPropertySymbols,et=Object.getPrototypeOf,Me=Object.prototype.hasOwnProperty,rt=Object.prototype.propertyIsEnumerable;var Ue=(r,e,t)=>e in r?Q(r,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):r[e]=t,ge=(r,e)=>{for(var t in e||(e={}))Me.call(e,t)&&Ue(r,t,e[t]);if(Be)for(var t of Be(e))rt.call(e,t)&&Ue(r,t,e[t]);return r},fe=(r,e)=>Yr(r,Qr(e));var tt=(r,e)=>()=>(r&&(e=r(r=0)),e);var ie=(r,e)=>()=>(e||r((e={exports:{}}).exports,e),e.exports),nt=(r,e)=>{for(var t in e)Q(r,t,{get:e[t],enumerable:!0})},$e=(r,e,t,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of Jr(e))!Me.call(r,i)&&i!==t&&Q(r,i,{get:()=>e[i],enumerable:!(n=Xr(e,i))||n.enumerable});return r};var E=(r,e,t)=>(t=r!=null?Zr(et(r)):{},$e(e||!r||!r.__esModule?Q(t,"default",{value:r,enumerable:!0}):t,r)),it=r=>$e(Q({},"__esModule",{value:!0}),r);var We=ie(oe=>{"use strict";s();oe.byteLength=at;oe.toByteArray=ct;oe.fromByteArray=pt;var I=[],v=[],ot=typeof Uint8Array!="undefined"?Uint8Array:Array,he="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for($=0,Ge=he.length;$<Ge;++$)I[$]=he[$],v[he.charCodeAt($)]=$;var $,Ge;v["-".charCodeAt(0)]=62;v["_".charCodeAt(0)]=63;function Ve(r){var e=r.length;if(e%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var t=r.indexOf("=");t===-1&&(t=e);var n=t===e?0:4-t%4;return[t,n]}function at(r){var e=Ve(r),t=e[0],n=e[1];return(t+n)*3/4-n}function st(r,e,t){return(e+t)*3/4-t}function ct(r){var e,t=Ve(r),n=t[0],i=t[1],o=new ot(st(r,n,i)),a=0,l=i>0?n-4:n,p;for(p=0;p<l;p+=4)e=v[r.charCodeAt(p)]<<18|v[r.charCodeAt(p+1)]<<12|v[r.charCodeAt(p+2)]<<6|v[r.charCodeAt(p+3)],o[a++]=e>>16&255,o[a++]=e>>8&255,o[a++]=e&255;return i===2&&(e=v[r.charCodeAt(p)]<<2|v[r.charCodeAt(p+1)]>>4,o[a++]=e&255),i===1&&(e=v[r.charCodeAt(p)]<<10|v[r.charCodeAt(p+1)]<<4|v[r.charCodeAt(p+2)]>>2,o[a++]=e>>8&255,o[a++]=e&255),o}function lt(r){return I[r>>18&63]+I[r>>12&63]+I[r>>6&63]+I[r&63]}function ut(r,e,t){for(var n,i=[],o=e;o<t;o+=3)n=(r[o]<<16&16711680)+(r[o+1]<<8&65280)+(r[o+2]&255),i.push(lt(n));return i.join("")}function pt(r){for(var e,t=r.length,n=t%3,i=[],o=16383,a=0,l=t-n;a<l;a+=o)i.push(ut(r,a,a+o>l?l:a+o));return n===1?(e=r[t-1],i.push(I[e>>2]+I[e<<4&63]+"==")):n===2&&(e=(r[t-2]<<8)+r[t-1],i.push(I[e>>10]+I[e>>4&63]+I[e<<2&63]+"=")),i.join("")}});var He=ie(ye=>{s();ye.read=function(r,e,t,n,i){var o,a,l=i*8-n-1,p=(1<<l)-1,g=p>>1,f=-7,h=t?i-1:0,y=t?-1:1,x=r[e+h];for(h+=y,o=x&(1<<-f)-1,x>>=-f,f+=l;f>0;o=o*256+r[e+h],h+=y,f-=8);for(a=o&(1<<-f)-1,o>>=-f,f+=n;f>0;a=a*256+r[e+h],h+=y,f-=8);if(o===0)o=1-g;else{if(o===p)return a?NaN:(x?-1:1)*(1/0);a=a+Math.pow(2,n),o=o-g}return(x?-1:1)*a*Math.pow(2,o-n)};ye.write=function(r,e,t,n,i,o){var a,l,p,g=o*8-i-1,f=(1<<g)-1,h=f>>1,y=i===23?Math.pow(2,-24)-Math.pow(2,-77):0,x=n?0:o-1,k=n?1:-1,q=e<0||e===0&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(l=isNaN(e)?1:0,a=f):(a=Math.floor(Math.log(e)/Math.LN2),e*(p=Math.pow(2,-a))<1&&(a--,p*=2),a+h>=1?e+=y/p:e+=y*Math.pow(2,1-h),e*p>=2&&(a++,p/=2),a+h>=f?(l=0,a=f):a+h>=1?(l=(e*p-1)*Math.pow(2,i),a=a+h):(l=e*Math.pow(2,h-1)*Math.pow(2,i),a=0));i>=8;r[t+x]=l&255,x+=k,l/=256,i-=8);for(a=a<<i|l,g+=i;g>0;r[t+x]=a&255,x+=k,a/=256,g-=8);r[t+x-k]|=q*128}});var nr=ie(j=>{"use strict";s();var Te=We(),z=He(),qe=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;j.Buffer=c;j.SlowBuffer=yt;j.INSPECT_MAX_BYTES=50;var ae=2147483647;j.kMaxLength=ae;c.TYPED_ARRAY_SUPPORT=dt();!c.TYPED_ARRAY_SUPPORT&&typeof console!="undefined"&&typeof console.error=="function"&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function dt(){try{var r=new Uint8Array(1),e={foo:function(){return 42}};return Object.setPrototypeOf(e,Uint8Array.prototype),Object.setPrototypeOf(r,e),r.foo()===42}catch(t){return!1}}Object.defineProperty(c.prototype,"parent",{enumerable:!0,get:function(){if(!!c.isBuffer(this))return this.buffer}});Object.defineProperty(c.prototype,"offset",{enumerable:!0,get:function(){if(!!c.isBuffer(this))return this.byteOffset}});function L(r){if(r>ae)throw new RangeError('The value "'+r+'" is invalid for option "size"');var e=new Uint8Array(r);return Object.setPrototypeOf(e,c.prototype),e}function c(r,e,t){if(typeof r=="number"){if(typeof e=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return ve(r)}return Ke(r,e,t)}c.poolSize=8192;function Ke(r,e,t){if(typeof r=="string")return gt(r,e);if(ArrayBuffer.isView(r))return ft(r);if(r==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof r);if(A(r,ArrayBuffer)||r&&A(r.buffer,ArrayBuffer)||typeof SharedArrayBuffer!="undefined"&&(A(r,SharedArrayBuffer)||r&&A(r.buffer,SharedArrayBuffer)))return we(r,e,t);if(typeof r=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var n=r.valueOf&&r.valueOf();if(n!=null&&n!==r)return c.from(n,e,t);var i=ht(r);if(i)return i;if(typeof Symbol!="undefined"&&Symbol.toPrimitive!=null&&typeof r[Symbol.toPrimitive]=="function")return c.from(r[Symbol.toPrimitive]("string"),e,t);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof r)}c.from=function(r,e,t){return Ke(r,e,t)};Object.setPrototypeOf(c.prototype,Uint8Array.prototype);Object.setPrototypeOf(c,Uint8Array);function Ze(r){if(typeof r!="number")throw new TypeError('"size" argument must be of type number');if(r<0)throw new RangeError('The value "'+r+'" is invalid for option "size"')}function mt(r,e,t){return Ze(r),r<=0?L(r):e!==void 0?typeof t=="string"?L(r).fill(e,t):L(r).fill(e):L(r)}c.alloc=function(r,e,t){return mt(r,e,t)};function ve(r){return Ze(r),L(r<0?0:ke(r)|0)}c.allocUnsafe=function(r){return ve(r)};c.allocUnsafeSlow=function(r){return ve(r)};function gt(r,e){if((typeof e!="string"||e==="")&&(e="utf8"),!c.isEncoding(e))throw new TypeError("Unknown encoding: "+e);var t=Ye(r,e)|0,n=L(t),i=n.write(r,e);return i!==t&&(n=n.slice(0,i)),n}function xe(r){for(var e=r.length<0?0:ke(r.length)|0,t=L(e),n=0;n<e;n+=1)t[n]=r[n]&255;return t}function ft(r){if(A(r,Uint8Array)){var e=new Uint8Array(r);return we(e.buffer,e.byteOffset,e.byteLength)}return xe(r)}function we(r,e,t){if(e<0||r.byteLength<e)throw new RangeError('"offset" is outside of buffer bounds');if(r.byteLength<e+(t||0))throw new RangeError('"length" is outside of buffer bounds');var n;return e===void 0&&t===void 0?n=new Uint8Array(r):t===void 0?n=new Uint8Array(r,e):n=new Uint8Array(r,e,t),Object.setPrototypeOf(n,c.prototype),n}function ht(r){if(c.isBuffer(r)){var e=ke(r.length)|0,t=L(e);return t.length===0||r.copy(t,0,0,e),t}if(r.length!==void 0)return typeof r.length!="number"||Se(r.length)?L(0):xe(r);if(r.type==="Buffer"&&Array.isArray(r.data))return xe(r.data)}function ke(r){if(r>=ae)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+ae.toString(16)+" bytes");return r|0}function yt(r){return+r!=r&&(r=0),c.alloc(+r)}c.isBuffer=function(e){return e!=null&&e._isBuffer===!0&&e!==c.prototype};c.compare=function(e,t){if(A(e,Uint8Array)&&(e=c.from(e,e.offset,e.byteLength)),A(t,Uint8Array)&&(t=c.from(t,t.offset,t.byteLength)),!c.isBuffer(e)||!c.isBuffer(t))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(e===t)return 0;for(var n=e.length,i=t.length,o=0,a=Math.min(n,i);o<a;++o)if(e[o]!==t[o]){n=e[o],i=t[o];break}return n<i?-1:i<n?1:0};c.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}};c.concat=function(e,t){if(!Array.isArray(e))throw new TypeError('"list" argument must be an Array of Buffers');if(e.length===0)return c.alloc(0);var n;if(t===void 0)for(t=0,n=0;n<e.length;++n)t+=e[n].length;var i=c.allocUnsafe(t),o=0;for(n=0;n<e.length;++n){var a=e[n];if(A(a,Uint8Array))o+a.length>i.length?c.from(a).copy(i,o):Uint8Array.prototype.set.call(i,a,o);else if(c.isBuffer(a))a.copy(i,o);else throw new TypeError('"list" argument must be an Array of Buffers');o+=a.length}return i};function Ye(r,e){if(c.isBuffer(r))return r.length;if(ArrayBuffer.isView(r)||A(r,ArrayBuffer))return r.byteLength;if(typeof r!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof r);var t=r.length,n=arguments.length>2&&arguments[2]===!0;if(!n&&t===0)return 0;for(var i=!1;;)switch(e){case"ascii":case"latin1":case"binary":return t;case"utf8":case"utf-8":return be(r).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return t*2;case"hex":return t>>>1;case"base64":return tr(r).length;default:if(i)return n?-1:be(r).length;e=(""+e).toLowerCase(),i=!0}}c.byteLength=Ye;function Tt(r,e,t){var n=!1;if((e===void 0||e<0)&&(e=0),e>this.length||((t===void 0||t>this.length)&&(t=this.length),t<=0)||(t>>>=0,e>>>=0,t<=e))return"";for(r||(r="utf8");;)switch(r){case"hex":return Nt(this,e,t);case"utf8":case"utf-8":return Qe(this,e,t);case"ascii":return It(this,e,t);case"latin1":case"binary":return At(this,e,t);case"base64":return St(this,e,t);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Dt(this,e,t);default:if(n)throw new TypeError("Unknown encoding: "+r);r=(r+"").toLowerCase(),n=!0}}c.prototype._isBuffer=!0;function G(r,e,t){var n=r[e];r[e]=r[t],r[t]=n}c.prototype.swap16=function(){var e=this.length;if(e%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var t=0;t<e;t+=2)G(this,t,t+1);return this};c.prototype.swap32=function(){var e=this.length;if(e%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var t=0;t<e;t+=4)G(this,t,t+3),G(this,t+1,t+2);return this};c.prototype.swap64=function(){var e=this.length;if(e%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var t=0;t<e;t+=8)G(this,t,t+7),G(this,t+1,t+6),G(this,t+2,t+5),G(this,t+3,t+4);return this};c.prototype.toString=function(){var e=this.length;return e===0?"":arguments.length===0?Qe(this,0,e):Tt.apply(this,arguments)};c.prototype.toLocaleString=c.prototype.toString;c.prototype.equals=function(e){if(!c.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e?!0:c.compare(this,e)===0};c.prototype.inspect=function(){var e="",t=j.INSPECT_MAX_BYTES;return e=this.toString("hex",0,t).replace(/(.{2})/g,"$1 ").trim(),this.length>t&&(e+=" ... "),"<Buffer "+e+">"};qe&&(c.prototype[qe]=c.prototype.inspect);c.prototype.compare=function(e,t,n,i,o){if(A(e,Uint8Array)&&(e=c.from(e,e.offset,e.byteLength)),!c.isBuffer(e))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof e);if(t===void 0&&(t=0),n===void 0&&(n=e?e.length:0),i===void 0&&(i=0),o===void 0&&(o=this.length),t<0||n>e.length||i<0||o>this.length)throw new RangeError("out of range index");if(i>=o&&t>=n)return 0;if(i>=o)return-1;if(t>=n)return 1;if(t>>>=0,n>>>=0,i>>>=0,o>>>=0,this===e)return 0;for(var a=o-i,l=n-t,p=Math.min(a,l),g=this.slice(i,o),f=e.slice(t,n),h=0;h<p;++h)if(g[h]!==f[h]){a=g[h],l=f[h];break}return a<l?-1:l<a?1:0};function Xe(r,e,t,n,i){if(r.length===0)return-1;if(typeof t=="string"?(n=t,t=0):t>2147483647?t=2147483647:t<-2147483648&&(t=-2147483648),t=+t,Se(t)&&(t=i?0:r.length-1),t<0&&(t=r.length+t),t>=r.length){if(i)return-1;t=r.length-1}else if(t<0)if(i)t=0;else return-1;if(typeof e=="string"&&(e=c.from(e,n)),c.isBuffer(e))return e.length===0?-1:ze(r,e,t,n,i);if(typeof e=="number")return e=e&255,typeof Uint8Array.prototype.indexOf=="function"?i?Uint8Array.prototype.indexOf.call(r,e,t):Uint8Array.prototype.lastIndexOf.call(r,e,t):ze(r,[e],t,n,i);throw new TypeError("val must be string, number or Buffer")}function ze(r,e,t,n,i){var o=1,a=r.length,l=e.length;if(n!==void 0&&(n=String(n).toLowerCase(),n==="ucs2"||n==="ucs-2"||n==="utf16le"||n==="utf-16le")){if(r.length<2||e.length<2)return-1;o=2,a/=2,l/=2,t/=2}function p(x,k){return o===1?x[k]:x.readUInt16BE(k*o)}var g;if(i){var f=-1;for(g=t;g<a;g++)if(p(r,g)===p(e,f===-1?0:g-f)){if(f===-1&&(f=g),g-f+1===l)return f*o}else f!==-1&&(g-=g-f),f=-1}else for(t+l>a&&(t=a-l),g=t;g>=0;g--){for(var h=!0,y=0;y<l;y++)if(p(r,g+y)!==p(e,y)){h=!1;break}if(h)return g}return-1}c.prototype.includes=function(e,t,n){return this.indexOf(e,t,n)!==-1};c.prototype.indexOf=function(e,t,n){return Xe(this,e,t,n,!0)};c.prototype.lastIndexOf=function(e,t,n){return Xe(this,e,t,n,!1)};function xt(r,e,t,n){t=Number(t)||0;var i=r.length-t;n?(n=Number(n),n>i&&(n=i)):n=i;var o=e.length;n>o/2&&(n=o/2);for(var a=0;a<n;++a){var l=parseInt(e.substr(a*2,2),16);if(Se(l))return a;r[t+a]=l}return a}function wt(r,e,t,n){return se(be(e,r.length-t),r,t,n)}function bt(r,e,t,n){return se(Lt(e),r,t,n)}function vt(r,e,t,n){return se(tr(e),r,t,n)}function kt(r,e,t,n){return se(Ft(e,r.length-t),r,t,n)}c.prototype.write=function(e,t,n,i){if(t===void 0)i="utf8",n=this.length,t=0;else if(n===void 0&&typeof t=="string")i=t,n=this.length,t=0;else if(isFinite(t))t=t>>>0,isFinite(n)?(n=n>>>0,i===void 0&&(i="utf8")):(i=n,n=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var o=this.length-t;if((n===void 0||n>o)&&(n=o),e.length>0&&(n<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");i||(i="utf8");for(var a=!1;;)switch(i){case"hex":return xt(this,e,t,n);case"utf8":case"utf-8":return wt(this,e,t,n);case"ascii":case"latin1":case"binary":return bt(this,e,t,n);case"base64":return vt(this,e,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return kt(this,e,t,n);default:if(a)throw new TypeError("Unknown encoding: "+i);i=(""+i).toLowerCase(),a=!0}};c.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function St(r,e,t){return e===0&&t===r.length?Te.fromByteArray(r):Te.fromByteArray(r.slice(e,t))}function Qe(r,e,t){t=Math.min(r.length,t);for(var n=[],i=e;i<t;){var o=r[i],a=null,l=o>239?4:o>223?3:o>191?2:1;if(i+l<=t){var p,g,f,h;switch(l){case 1:o<128&&(a=o);break;case 2:p=r[i+1],(p&192)===128&&(h=(o&31)<<6|p&63,h>127&&(a=h));break;case 3:p=r[i+1],g=r[i+2],(p&192)===128&&(g&192)===128&&(h=(o&15)<<12|(p&63)<<6|g&63,h>2047&&(h<55296||h>57343)&&(a=h));break;case 4:p=r[i+1],g=r[i+2],f=r[i+3],(p&192)===128&&(g&192)===128&&(f&192)===128&&(h=(o&15)<<18|(p&63)<<12|(g&63)<<6|f&63,h>65535&&h<1114112&&(a=h))}}a===null?(a=65533,l=1):a>65535&&(a-=65536,n.push(a>>>10&1023|55296),a=56320|a&1023),n.push(a),i+=l}return Et(n)}var je=4096;function Et(r){var e=r.length;if(e<=je)return String.fromCharCode.apply(String,r);for(var t="",n=0;n<e;)t+=String.fromCharCode.apply(String,r.slice(n,n+=je));return t}function It(r,e,t){var n="";t=Math.min(r.length,t);for(var i=e;i<t;++i)n+=String.fromCharCode(r[i]&127);return n}function At(r,e,t){var n="";t=Math.min(r.length,t);for(var i=e;i<t;++i)n+=String.fromCharCode(r[i]);return n}function Nt(r,e,t){var n=r.length;(!e||e<0)&&(e=0),(!t||t<0||t>n)&&(t=n);for(var i="",o=e;o<t;++o)i+=Ct[r[o]];return i}function Dt(r,e,t){for(var n=r.slice(e,t),i="",o=0;o<n.length-1;o+=2)i+=String.fromCharCode(n[o]+n[o+1]*256);return i}c.prototype.slice=function(e,t){var n=this.length;e=~~e,t=t===void 0?n:~~t,e<0?(e+=n,e<0&&(e=0)):e>n&&(e=n),t<0?(t+=n,t<0&&(t=0)):t>n&&(t=n),t<e&&(t=e);var i=this.subarray(e,t);return Object.setPrototypeOf(i,c.prototype),i};function w(r,e,t){if(r%1!==0||r<0)throw new RangeError("offset is not uint");if(r+e>t)throw new RangeError("Trying to access beyond buffer length")}c.prototype.readUintLE=c.prototype.readUIntLE=function(e,t,n){e=e>>>0,t=t>>>0,n||w(e,t,this.length);for(var i=this[e],o=1,a=0;++a<t&&(o*=256);)i+=this[e+a]*o;return i};c.prototype.readUintBE=c.prototype.readUIntBE=function(e,t,n){e=e>>>0,t=t>>>0,n||w(e,t,this.length);for(var i=this[e+--t],o=1;t>0&&(o*=256);)i+=this[e+--t]*o;return i};c.prototype.readUint8=c.prototype.readUInt8=function(e,t){return e=e>>>0,t||w(e,1,this.length),this[e]};c.prototype.readUint16LE=c.prototype.readUInt16LE=function(e,t){return e=e>>>0,t||w(e,2,this.length),this[e]|this[e+1]<<8};c.prototype.readUint16BE=c.prototype.readUInt16BE=function(e,t){return e=e>>>0,t||w(e,2,this.length),this[e]<<8|this[e+1]};c.prototype.readUint32LE=c.prototype.readUInt32LE=function(e,t){return e=e>>>0,t||w(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+this[e+3]*16777216};c.prototype.readUint32BE=c.prototype.readUInt32BE=function(e,t){return e=e>>>0,t||w(e,4,this.length),this[e]*16777216+(this[e+1]<<16|this[e+2]<<8|this[e+3])};c.prototype.readIntLE=function(e,t,n){e=e>>>0,t=t>>>0,n||w(e,t,this.length);for(var i=this[e],o=1,a=0;++a<t&&(o*=256);)i+=this[e+a]*o;return o*=128,i>=o&&(i-=Math.pow(2,8*t)),i};c.prototype.readIntBE=function(e,t,n){e=e>>>0,t=t>>>0,n||w(e,t,this.length);for(var i=t,o=1,a=this[e+--i];i>0&&(o*=256);)a+=this[e+--i]*o;return o*=128,a>=o&&(a-=Math.pow(2,8*t)),a};c.prototype.readInt8=function(e,t){return e=e>>>0,t||w(e,1,this.length),this[e]&128?(255-this[e]+1)*-1:this[e]};c.prototype.readInt16LE=function(e,t){e=e>>>0,t||w(e,2,this.length);var n=this[e]|this[e+1]<<8;return n&32768?n|4294901760:n};c.prototype.readInt16BE=function(e,t){e=e>>>0,t||w(e,2,this.length);var n=this[e+1]|this[e]<<8;return n&32768?n|4294901760:n};c.prototype.readInt32LE=function(e,t){return e=e>>>0,t||w(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24};c.prototype.readInt32BE=function(e,t){return e=e>>>0,t||w(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]};c.prototype.readFloatLE=function(e,t){return e=e>>>0,t||w(e,4,this.length),z.read(this,e,!0,23,4)};c.prototype.readFloatBE=function(e,t){return e=e>>>0,t||w(e,4,this.length),z.read(this,e,!1,23,4)};c.prototype.readDoubleLE=function(e,t){return e=e>>>0,t||w(e,8,this.length),z.read(this,e,!0,52,8)};c.prototype.readDoubleBE=function(e,t){return e=e>>>0,t||w(e,8,this.length),z.read(this,e,!1,52,8)};function b(r,e,t,n,i,o){if(!c.isBuffer(r))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>i||e<o)throw new RangeError('"value" argument is out of bounds');if(t+n>r.length)throw new RangeError("Index out of range")}c.prototype.writeUintLE=c.prototype.writeUIntLE=function(e,t,n,i){if(e=+e,t=t>>>0,n=n>>>0,!i){var o=Math.pow(2,8*n)-1;b(this,e,t,n,o,0)}var a=1,l=0;for(this[t]=e&255;++l<n&&(a*=256);)this[t+l]=e/a&255;return t+n};c.prototype.writeUintBE=c.prototype.writeUIntBE=function(e,t,n,i){if(e=+e,t=t>>>0,n=n>>>0,!i){var o=Math.pow(2,8*n)-1;b(this,e,t,n,o,0)}var a=n-1,l=1;for(this[t+a]=e&255;--a>=0&&(l*=256);)this[t+a]=e/l&255;return t+n};c.prototype.writeUint8=c.prototype.writeUInt8=function(e,t,n){return e=+e,t=t>>>0,n||b(this,e,t,1,255,0),this[t]=e&255,t+1};c.prototype.writeUint16LE=c.prototype.writeUInt16LE=function(e,t,n){return e=+e,t=t>>>0,n||b(this,e,t,2,65535,0),this[t]=e&255,this[t+1]=e>>>8,t+2};c.prototype.writeUint16BE=c.prototype.writeUInt16BE=function(e,t,n){return e=+e,t=t>>>0,n||b(this,e,t,2,65535,0),this[t]=e>>>8,this[t+1]=e&255,t+2};c.prototype.writeUint32LE=c.prototype.writeUInt32LE=function(e,t,n){return e=+e,t=t>>>0,n||b(this,e,t,4,4294967295,0),this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=e&255,t+4};c.prototype.writeUint32BE=c.prototype.writeUInt32BE=function(e,t,n){return e=+e,t=t>>>0,n||b(this,e,t,4,4294967295,0),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=e&255,t+4};c.prototype.writeIntLE=function(e,t,n,i){if(e=+e,t=t>>>0,!i){var o=Math.pow(2,8*n-1);b(this,e,t,n,o-1,-o)}var a=0,l=1,p=0;for(this[t]=e&255;++a<n&&(l*=256);)e<0&&p===0&&this[t+a-1]!==0&&(p=1),this[t+a]=(e/l>>0)-p&255;return t+n};c.prototype.writeIntBE=function(e,t,n,i){if(e=+e,t=t>>>0,!i){var o=Math.pow(2,8*n-1);b(this,e,t,n,o-1,-o)}var a=n-1,l=1,p=0;for(this[t+a]=e&255;--a>=0&&(l*=256);)e<0&&p===0&&this[t+a+1]!==0&&(p=1),this[t+a]=(e/l>>0)-p&255;return t+n};c.prototype.writeInt8=function(e,t,n){return e=+e,t=t>>>0,n||b(this,e,t,1,127,-128),e<0&&(e=255+e+1),this[t]=e&255,t+1};c.prototype.writeInt16LE=function(e,t,n){return e=+e,t=t>>>0,n||b(this,e,t,2,32767,-32768),this[t]=e&255,this[t+1]=e>>>8,t+2};c.prototype.writeInt16BE=function(e,t,n){return e=+e,t=t>>>0,n||b(this,e,t,2,32767,-32768),this[t]=e>>>8,this[t+1]=e&255,t+2};c.prototype.writeInt32LE=function(e,t,n){return e=+e,t=t>>>0,n||b(this,e,t,4,2147483647,-2147483648),this[t]=e&255,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24,t+4};c.prototype.writeInt32BE=function(e,t,n){return e=+e,t=t>>>0,n||b(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=e&255,t+4};function Je(r,e,t,n,i,o){if(t+n>r.length)throw new RangeError("Index out of range");if(t<0)throw new RangeError("Index out of range")}function er(r,e,t,n,i){return e=+e,t=t>>>0,i||Je(r,e,t,4,34028234663852886e22,-34028234663852886e22),z.write(r,e,t,n,23,4),t+4}c.prototype.writeFloatLE=function(e,t,n){return er(this,e,t,!0,n)};c.prototype.writeFloatBE=function(e,t,n){return er(this,e,t,!1,n)};function rr(r,e,t,n,i){return e=+e,t=t>>>0,i||Je(r,e,t,8,17976931348623157e292,-17976931348623157e292),z.write(r,e,t,n,52,8),t+8}c.prototype.writeDoubleLE=function(e,t,n){return rr(this,e,t,!0,n)};c.prototype.writeDoubleBE=function(e,t,n){return rr(this,e,t,!1,n)};c.prototype.copy=function(e,t,n,i){if(!c.isBuffer(e))throw new TypeError("argument should be a Buffer");if(n||(n=0),!i&&i!==0&&(i=this.length),t>=e.length&&(t=e.length),t||(t=0),i>0&&i<n&&(i=n),i===n||e.length===0||this.length===0)return 0;if(t<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw new RangeError("Index out of range");if(i<0)throw new RangeError("sourceEnd out of bounds");i>this.length&&(i=this.length),e.length-t<i-n&&(i=e.length-t+n);var o=i-n;return this===e&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(t,n,i):Uint8Array.prototype.set.call(e,this.subarray(n,i),t),o};c.prototype.fill=function(e,t,n,i){if(typeof e=="string"){if(typeof t=="string"?(i=t,t=0,n=this.length):typeof n=="string"&&(i=n,n=this.length),i!==void 0&&typeof i!="string")throw new TypeError("encoding must be a string");if(typeof i=="string"&&!c.isEncoding(i))throw new TypeError("Unknown encoding: "+i);if(e.length===1){var o=e.charCodeAt(0);(i==="utf8"&&o<128||i==="latin1")&&(e=o)}}else typeof e=="number"?e=e&255:typeof e=="boolean"&&(e=Number(e));if(t<0||this.length<t||this.length<n)throw new RangeError("Out of range index");if(n<=t)return this;t=t>>>0,n=n===void 0?this.length:n>>>0,e||(e=0);var a;if(typeof e=="number")for(a=t;a<n;++a)this[a]=e;else{var l=c.isBuffer(e)?e:c.from(e,i),p=l.length;if(p===0)throw new TypeError('The value "'+e+'" is invalid for argument "value"');for(a=0;a<n-t;++a)this[a+t]=l[a%p]}return this};var _t=/[^+/0-9A-Za-z-_]/g;function Rt(r){if(r=r.split("=")[0],r=r.trim().replace(_t,""),r.length<2)return"";for(;r.length%4!==0;)r=r+"=";return r}function be(r,e){e=e||1/0;for(var t,n=r.length,i=null,o=[],a=0;a<n;++a){if(t=r.charCodeAt(a),t>55295&&t<57344){if(!i){if(t>56319){(e-=3)>-1&&o.push(239,191,189);continue}else if(a+1===n){(e-=3)>-1&&o.push(239,191,189);continue}i=t;continue}if(t<56320){(e-=3)>-1&&o.push(239,191,189),i=t;continue}t=(i-55296<<10|t-56320)+65536}else i&&(e-=3)>-1&&o.push(239,191,189);if(i=null,t<128){if((e-=1)<0)break;o.push(t)}else if(t<2048){if((e-=2)<0)break;o.push(t>>6|192,t&63|128)}else if(t<65536){if((e-=3)<0)break;o.push(t>>12|224,t>>6&63|128,t&63|128)}else if(t<1114112){if((e-=4)<0)break;o.push(t>>18|240,t>>12&63|128,t>>6&63|128,t&63|128)}else throw new Error("Invalid code point")}return o}function Lt(r){for(var e=[],t=0;t<r.length;++t)e.push(r.charCodeAt(t)&255);return e}function Ft(r,e){for(var t,n,i,o=[],a=0;a<r.length&&!((e-=2)<0);++a)t=r.charCodeAt(a),n=t>>8,i=t%256,o.push(i),o.push(n);return o}function tr(r){return Te.toByteArray(Rt(r))}function se(r,e,t,n){for(var i=0;i<n&&!(i+t>=e.length||i>=r.length);++i)e[i+t]=r[i];return i}function A(r,e){return r instanceof e||r!=null&&r.constructor!=null&&r.constructor.name!=null&&r.constructor.name===e.name}function Se(r){return r!==r}var Ct=function(){for(var r="0123456789abcdef",e=new Array(256),t=0;t<16;++t)for(var n=t*16,i=0;i<16;++i)e[n+i]=r[t]+r[i];return e}()});var cr=ie((bn,sr)=>{s();var T=sr.exports={},N,D;function Ee(){throw new Error("setTimeout has not been defined")}function Ie(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?N=setTimeout:N=Ee}catch(r){N=Ee}try{typeof clearTimeout=="function"?D=clearTimeout:D=Ie}catch(r){D=Ie}})();function ir(r){if(N===setTimeout)return setTimeout(r,0);if((N===Ee||!N)&&setTimeout)return N=setTimeout,setTimeout(r,0);try{return N(r,0)}catch(e){try{return N.call(null,r,0)}catch(t){return N.call(this,r,0)}}}function Ot(r){if(D===clearTimeout)return clearTimeout(r);if((D===Ie||!D)&&clearTimeout)return D=clearTimeout,clearTimeout(r);try{return D(r)}catch(e){try{return D.call(null,r)}catch(t){return D.call(this,r)}}}var F=[],K=!1,V,ce=-1;function Pt(){!K||!V||(K=!1,V.length?F=V.concat(F):ce=-1,F.length&&or())}function or(){if(!K){var r=ir(Pt);K=!0;for(var e=F.length;e;){for(V=F,F=[];++ce<e;)V&&V[ce].run();ce=-1,e=F.length}V=null,K=!1,Ot(r)}}T.nextTick=function(r){var e=new Array(arguments.length-1);if(arguments.length>1)for(var t=1;t<arguments.length;t++)e[t-1]=arguments[t];F.push(new ar(r,e)),F.length===1&&!K&&ir(or)};function ar(r,e){this.fun=r,this.array=e}ar.prototype.run=function(){this.fun.apply(null,this.array)};T.title="browser";T.browser=!0;T.env={};T.argv=[];T.version="";T.versions={};function C(){}T.on=C;T.addListener=C;T.once=C;T.off=C;T.removeListener=C;T.removeAllListeners=C;T.emit=C;T.prependListener=C;T.prependOnceListener=C;T.listeners=function(r){return[]};T.binding=function(r){throw new Error("process.binding is not supported")};T.cwd=function(){return"/"};T.chdir=function(r){throw new Error("process.chdir is not supported")};T.umask=function(){return 0}});var u,d,vn,s=tt(()=>{u=E(nr()),d=E(cr()),vn=function(r){function e(){var n=this||self;return delete r.prototype.__magic__,n}if(typeof globalThis=="object")return globalThis;if(this)return e();r.defineProperty(r.prototype,"__magic__",{configurable:!0,get:e});var t=__magic__;return t}(Object)});var fn={};nt(fn,{getEventListDataHexValue:()=>Bt,getEventListHighlight:()=>Ut,getOperationDirection:()=>$t,getOperationList:()=>qr,getScResultsDecodedData:()=>Gt,getScResultsHighlight:()=>Vt,getScamFlag:()=>Wt,getShardText:()=>Ht,getTextWithLinks:()=>ur,getTransactionActionNftText:()=>Kt,getTransactionActionTokenText:()=>Zt,getTransactionFee:()=>Xt,getTransactionLinkWithLabel:()=>Qt,getTransactionMessages:()=>en,getTransactionStatus:()=>tn,getTransactionStatusText:()=>nn,getTrimmedHash:()=>on,getVisibleOperations:()=>an,internalTransactionActions:()=>Hr,transactionActionUnwrapper:()=>sn,useDataDecode:()=>dn,useDataDecodeMethod:()=>mn,useGetOperationList:()=>gn});module.exports=it(fn);s();s();var Bt=r=>u.Buffer.from(String(r==null?void 0:r.data),"base64").toString("hex");s();var Ut=(r,e)=>{var l;let{hash:t}=window.location,n=t.split("/"),i=n[0]?n[0].replace("#",""):"",o=(l=n[1])!=null?l:0;return i===e&&r.order===Number(o)};s();s();var Ae=(n=>(n.nft="nft",n.esdt="esdt",n.egld="egld",n))(Ae||{});var B=(i=>(i.raw="raw",i.text="text",i.decimal="decimal",i.smart="smart",i))(B||{});var $t=({operation:r,address:e})=>{let t=e===r.sender,n=e===r.receiver,i=t&&n,o=!i,a="";switch(!0){case t:a="Out";break;case n:a="In";break;case i:a="Self";break;case o:a="Internal";break}return{direction:a}};s();s();s();function le(r){for(let e=0;e<r.length;e++)if(r.charCodeAt(e)>127)return!1;return!0}function Ne(r){let e=r;try{let t=u.Buffer.from(r,"hex").toString();le(t)&&t.length>1&&(e=t)}catch(t){}return e}var Gt=r=>{let e=u.Buffer.from(r,"base64").toString().split("@");return e.length>=2&&(e[0].length>0?e[0]=Ne(e[0]):e[1]=Ne(e[1])),e.join("@")};s();var Vt=r=>{let{hash:e}=window.location;return e.substring(0,e.indexOf("/")>0?e.indexOf("/"):e.length).replace("#","")===r};s();var lr=E(require("linkifyjs")),ur=r=>{let e=lr.find(r);if(!e.length)return{textWithLinks:r,hasLinks:!1};let t=r;for(let n of e){let i=r.substring(n.start,n.end);t=t.replace(i,n.value)}return{textWithLinks:t,hasLinks:!0}},Wt=({message:r,scamInfo:e,isNsfw:t,verified:n,messagePrefix:i="Message hidden due to suspicious content - "})=>{var p;if(n)return{message:"",textWithLinks:"",isSuspicious:!1};let o=`${i}${(p=e==null?void 0:e.info)!=null?p:"suspicious content"}`,{textWithLinks:a,hasLinks:l}=ur(r);return l||t||e?{message:o,textWithLinks:a,isSuspicious:!0}:{message:"",textWithLinks:a,isSuspicious:!1}};s();s();s();s();s();s();s();s();s();s();s();s();s();var De={devnet:{id:"devnet",chainId:"D",name:"Devnet",egldLabel:"xEGLD",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"https://maiar.page.link/?apn=com.elrond.maiar.wallet&isi=1519405832&ibi=com.elrond.maiar.wallet&link=https://xportal.com/",walletConnectBridgeAddresses:["https://bridge.walletconnect.org"],walletConnectV2RelayAddresses:["wss://relay.walletconnect.com"],walletAddress:"https://devnet-wallet.multiversx.com",apiAddress:"https://devnet-api.multiversx.com",explorerAddress:"http://devnet-explorer.multiversx.com",apiTimeout:"4000"},testnet:{id:"testnet",chainId:"T",name:"Testnet",egldLabel:"xEGLD",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"https://maiar.page.link/?apn=com.elrond.maiar.wallet&isi=1519405832&ibi=com.elrond.maiar.wallet&link=https://xportal.com/",walletConnectBridgeAddresses:["https://bridge.walletconnect.org"],walletConnectV2RelayAddresses:["wss://relay.walletconnect.com"],walletAddress:"https://testnet-wallet.multiversx.com",apiAddress:"https://testnet-api.multiversx.com",explorerAddress:"http://testnet-explorer.multiversx.com",apiTimeout:"4000"},mainnet:{id:"mainnet",chainId:"1",name:"Mainnet",egldLabel:"EGLD",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"https://maiar.page.link/?apn=com.elrond.maiar.wallet&isi=1519405832&ibi=com.elrond.maiar.wallet&link=https://xportal.com/",walletConnectBridgeAddresses:["https://bridge.walletconnect.org"],walletConnectV2RelayAddresses:["wss://relay.walletconnect.com"],walletAddress:"https://wallet.multiversx.com",apiAddress:"https://api.multiversx.com",explorerAddress:"https://explorer.multiversx.com",apiTimeout:"4000"}},{chainId:pr,egldLabel:Qn}=De["devnet"],{chainId:dr,egldLabel:Jn}=De["testnet"],{chainId:mr,egldLabel:ei}=De["mainnet"];var ri={["devnet"]:pr,["testnet"]:dr,["mainnet"]:mr},ti={[pr]:"devnet",[dr]:"testnet",[mr]:"mainnet"};s();s();s();s();var _=require("@multiversx/sdk-web-wallet-provider");var R=18,J=4;var gr=4294967295,fr=4294967280;var hr="refundedGas";var Z="0";var Ht=r=>{let e=r;typeof e=="string"&&e.includes("Shard")&&(e=e.replace("Shard","").replace(" ",""));let t=gr.toString()===String(e).toString()||String(e)==="metachain",n=fr.toString()===String(e).toString();return t?"Metachain":n?"All Shards":`Shard ${e}`};s();s();s();s();s();var Tr=require("@multiversx/sdk-core"),U=E(require("bignumber.js"));s();var yr=E(require("bignumber.js")),_e=(r,e=!0)=>{let t=String(r);if(!t.match(/^[-]?\d+$/))return!1;let n=new yr.default(t),i=e?0:-1;return n.toString(10)===t&&n.comparedTo(0)>=i};s();function O(r){return{if:function(e){return e?{then:t=>t instanceof Function?O(t(r)):O(t)}:{then:()=>O(r)}},then:e=>e instanceof Function?O(e(r)):O(e),valueOf:function(){return r}}}U.default.config({ROUNDING_MODE:U.default.ROUND_FLOOR});function W({input:r,decimals:e=R,digits:t=J,showLastNonZeroDecimal:n=!0,showIsLessThanDecimalsLabel:i=!1,addCommas:o=!1}){if(!_e(r,!1))throw new Error("Invalid input");let a=new U.default(r).isNegative(),l=r;return a&&(l=r.substring(1)),O(l).then(()=>Tr.TokenPayment.fungibleFromBigInteger("",l,e).toRationalNumber()).then(p=>{let g=new U.default(p);if(g.isZero())return Z;let f=g.toString(10),[h,y]=f.split("."),x=new U.default(y||0),k=O(0).if(Boolean(y&&n)).then(()=>Math.max(y.length,t)).if(x.isZero()&&!n).then(0).if(Boolean(y&&!n)).then(()=>Math.min(y.length,t)).valueOf(),q=y&&t>=1&&t<=y.length&&x.isGreaterThan(0)&&new U.default(y.substring(0,t)).isZero(),zr=g.toFormat(k);return O(f).if(o).then(zr).if(Boolean(q)).then(re=>{let X=new U.default(h).isZero(),[S,te]=re.split("."),ne=new Array(t-1).fill(0),jr=[...ne,0].join(""),Kr=[...ne,1].join("");return X?i?`<${S}.${Kr}`:n?`${S}.${te}`:S:`${S}.${jr}`}).if(Boolean(!q&&y)).then(re=>{let[X]=re.split("."),S=y.substring(0,k);if(n){let te=t-S.length;if(te>0){let ne=Array(te).fill(0).join("");return S=`${S}${ne}`,`${X}.${S}`}return re}return S?`${X}.${S}`:X}).valueOf()}).if(a).then(p=>`-${p}`).valueOf()}s();s();var qt=require("@multiversx/sdk-core");s();var ee=require("@multiversx/sdk-core"),jt=require("@multiversx/sdk-network-providers");s();s();var zt=E(require("bignumber.js"));s();s();s();s();s();s();s();var M="accounts",H="transactions";var Y="tokens",xr="blocks",wr="miniblocks",br="nodes",vr="identities",kr="collections",Re="nfts",Le="providers",Fe="sc-results",Sr="contracts",Er="logs",Ir="code",Ar="locked-accounts",Nr="roles";var ue={shard:r=>`/${xr}?shard=${r}`,receiverShard:r=>`/${H}?receivershard=${r}`,senderShard:r=>`/${H}?sendershard=${r}`,transactionDetails:r=>`/${H}/${r}`,transactionDetailsScResults:r=>`/${H}/${r}/${Fe}`,transactionDetailsLogs:r=>`/${H}/${r}/${Er}`,nodeDetails:r=>`/${br}/${r}`,accountDetails:r=>`/${M}/${r}`,accountDetailsContractCode:r=>`/${M}/${r}/${Ir}`,accountDetailsTokens:r=>`/${M}/${r}/${Y}`,accountDetailsNfts:r=>`/${M}/${r}/${Re}`,accountDetailsScResults:r=>`/${M}/${r}/${Fe}`,accountDetailsContracts:r=>`/${M}/${r}/${Sr}`,identityDetails:r=>`/${vr}/${r}`,tokenDetails:r=>`/${Y}/${r}`,tokenDetailsAccounts:r=>`/${Y}/${r}/${M}`,tokenDetailsLockedAccounts:r=>`/${Y}/${r}/${Ar}`,tokenDetailsRoles:r=>`/${Y}/${r}/${Nr}`,collectionDetails:r=>`/${kr}/${r}`,nftDetails:r=>`/${Re}/${r}`,providerDetails:r=>`/${Le}/${r}`,providerDetailsTransactions:r=>`/${Le}/${r}/${H}`,miniblockDetails:r=>`/${wr}/${r}`};function Kt({token:r,noValue:e,showLastNonZeroDecimal:t}){var g;let n=!e&&r.value&&r.type!=="NonFungibleESDT",i=r.decimals!=null,o="";r.type==="NonFungibleESDT"&&(o="NFT"),r.type==="SemiFungibleESDT"&&(o="SFT"),r.type==="MetaESDT"&&(o="Meta-ESDT");let a="";n&&i&&(a=i?W({input:r.value,decimals:r.decimals,digits:2,showLastNonZeroDecimal:t}):Number(r.value).toLocaleString("en"));let l=ue.nftDetails(String(r.identifier)),p=r.ticker===r.collection&&(g=r.identifier)!=null?g:r.ticker;return{badgeText:o,tokenFormattedAmount:n?a:null,tokenExplorerLink:l,tokenLinkText:p,token:r,noValue:e,showLastNonZeroDecimal:t}}s();function Zt({token:r,noValue:e,showLastNonZeroDecimal:t}){var l;let n=Boolean(!e&&r.value),i=n?W({input:r.value,decimals:(l=r.decimals)!=null?l:R,digits:2,showLastNonZeroDecimal:t,addCommas:!0}):null,o=ue.tokenDetails(String(r.token)),a=r.ticker;return{tokenExplorerLink:o,tokenFormattedAmount:i,showFormattedAmount:n,tokenLinkText:a,token:r,showLastNonZeroDecimal:t}}s();var Ce=E(require("bignumber.js")),Yt=r=>{let e=new Ce.default(r.gasPrice),t=new Ce.default(r.gasUsed);return e.times(t).toString()};function Xt(r){return r.fee?r.fee:r.gasUsed===void 0?null:Yt(r)}s();var Qt=({transaction:r,direction:e})=>{var p;let t=e==="Internal",n=r.sender;if(t)return{link:(p=r.links.senderLink)!=null?p:"",label:"Smart Contract transaction",address:n};let i=e==="Out",o=i?r.links.receiverLink:r.links.senderLink,a="";return e==="Self"&&r.receiverAssets?a=r.receiverAssets.name:(n=i?r.receiver:r.sender,a=i?"To:":"From:"),{label:a,address:n,link:o!=null?o:""}};s();s();function Dr(r){var e,t;return(t=(e=r==null?void 0:r.operations)==null?void 0:e.map(n=>n.message).filter(n=>Boolean(n)))!=null?t:[]}s();var _r=E(require("bignumber.js"));var Jt=r=>{var e,t;if(!((e=r.receipt)!=null&&e.value))return"";if(((t=r.receipt)==null?void 0:t.data)===hr){let n=W({input:r.receipt.value,decimals:R,digits:J,showLastNonZeroDecimal:!0});return new _r.default(n).times(r.gasPrice).times(100).toFixed()}return r.receipt.value};function Rr(r){var i;let e=(i=r.receipt)==null?void 0:i.data;if(!e)return"";let t=Jt(r),n=t?`: ${t}`:"";return`${e}${n}`}s();function Oe(r){var e,t;return(t=(e=r==null?void 0:r.results)==null?void 0:e.map(n=>n.returnMessage).filter(n=>Boolean(n)))!=null?t:[]}function en(r){return Array.from(new Set([...Oe(r),...Dr(r),Rr(r)])).filter(t=>Boolean(t))}s();function tn(r){let e=a=>r.status.toLowerCase()===a.toLowerCase(),t=e("fail")||e("reward-reverted"),n=e("success"),i=e("not executed")||e("invalid"),o=e("pending")||r.pendingResults;return{failed:t,success:n,invalid:i,pending:o}}s();var nn=r=>{switch(!0){case r.pendingResults:return"Pending (Smart Contract Execution)";case r.status==="reward-reverted":return"fail";default:return r.status.toString()}};s();var on=(r,e=4)=>`${r.substring(0,Math.floor(r.length/e))}...${r.substring(r.length-Math.ceil(r.length/e))}`;s();var an=r=>{var t,n;return(n=(t=r==null?void 0:r.operations)==null?void 0:t.filter(i=>Object.values(Ae).includes(i.type)))!=null?n:[]};s();s();s();var Fr=r=>{var e,t;switch(r.name){case"transfer":return["Transfer",{token:(e=r.arguments)==null?void 0:e.transfers},"to",{address:(t=r.arguments)==null?void 0:t.receiver}];default:return[]}};s();var Cr=E(require("bignumber.js"));var Or=r=>{var e,t,n,i,o,a,l,p,g,f,h,y;switch(r.name){case"claimLockedAssets":return["Claim locked assets"];case"enterFarm":case"enterFarmProxy":return["Enter farm with",{token:(e=r.arguments)==null?void 0:e.transfers}];case"enterFarmAndLockRewards":case"enterFarmAndLockRewardsProxy":return["Enter farm and lock rewards with",{token:(t=r.arguments)==null?void 0:t.transfers}];case"exitFarm":case"exitFarmProxy":return["Exit farm with",{token:(n=r.arguments)==null?void 0:n.transfers}];case"claimRewards":case"claimRewardsProxy":return["Claim rewards",{token:(i=r.arguments)==null?void 0:i.transfers}];case"compoundRewards":case"compoundRewardsProxy":return["Reinvest rewards",{token:(o=r.arguments)==null?void 0:o.transfers}];case"swapTokensFixedInput":case"swap":return r.description?[r.description]:[];case"swapTokensFixedOutput":return r.description?[r.description]:[];case"addLiquidity":case"addLiquidityProxy":return["Added liquidity for",{token:[(a=r.arguments)==null?void 0:a.transfers[0]]},"and",{token:[(l=r.arguments)==null?void 0:l.transfers[1]]}];case"removeLiquidity":case"removeLiquidityProxy":return["Removed liquidity with ",{token:(p=r.arguments)==null?void 0:p.transfers}];case"mergeLockedAssetTokens":let x=Z;if((g=r.arguments)!=null&&g.transfers){let k=r.arguments.transfers.map(({value:q})=>q);x=Cr.default.sum.apply(null,k).toString(10)}return[`Merge ${(f=r.arguments)==null?void 0:f.transfers.length}`,{tokenNoLink:[(h=r.arguments)==null?void 0:h.transfers[0]]},"positions into a single",{tokenNoLink:[(y=r.arguments)==null?void 0:y.transfers[0]]},"position of value",{value:x}];case"wrapEgld":case"unwrapEgld":default:return r.description?[r.description]:[]}};s();var Pr=r=>{var e,t,n,i,o,a,l,p,g,f,h,y;switch(r.name){case"delegate":case"stake":return["Delegate",{egldValue:(e=r.arguments)==null?void 0:e.value},"to staking provider",{providerName:(t=r.arguments)==null?void 0:t.providerName,providerAvatar:(n=r.arguments)==null?void 0:n.providerAvatar}];case"unDelegate":return["Undelegate",{egldValue:(i=r.arguments)==null?void 0:i.value},"from staking provider",{providerName:(o=r.arguments)==null?void 0:o.providerName,providerAvatar:(a=r.arguments)==null?void 0:a.providerAvatar}];case"claimRewards":return["Claim rewards from staking provider",{providerName:(l=r.arguments)==null?void 0:l.providerName,providerAvatar:(p=r.arguments)==null?void 0:p.providerAvatar}];case"reDelegateRewards":return["Redelegate rewards from staking provider",{providerName:(g=r.arguments)==null?void 0:g.providerName,providerAvatar:(f=r.arguments)==null?void 0:f.providerAvatar}];case"withdraw":return["Withdraw from staking provider",{providerName:(h=r.arguments)==null?void 0:h.providerName,providerAvatar:(y=r.arguments)==null?void 0:y.providerAvatar}];default:return[]}};var sn=r=>{if(!r.arguments)return r.description?[r.description]:[r.name];switch(r.category){case"esdtNft":return Fr(r);case"mex":return Or(r);case"stake":return Pr(r);default:return r.description?[r.description]:[]}};s();var de=require("react");s();s();s();var Mr=require("@multiversx/sdk-core/out"),Pe=E(require("bignumber.js"));s();var Br=require("@multiversx/sdk-core");function cn(r){try{let e=new Br.Address(r);return Boolean(e.bech32())}catch(e){return!1}}function Ur(r){return(r==null?void 0:r.startsWith("erd"))&&r.length===62&&/^\w+$/.test(r)&&cn(r)}var P=(r,e,t)=>{switch(e){case"text":try{return u.Buffer.from(String(r),"hex").toString("utf8")}catch(i){}return r;case"decimal":return new Pe.default(r,16).toString(10);case"smart":try{let i=Mr.Address.fromHex(r).toString();if(Ur(i))return i}catch(i){}try{let i=u.Buffer.from(String(r),"hex").toString("utf8");return le(i)||t&&[...t.esdts,...t.nfts].some(l=>i.includes(l))?i:new Pe.default(r,16).toString(10)}catch(i){}return r;case"raw":default:return r}};s();s();var ln=r=>r.toLowerCase().match(/[0-9a-f]/g),un=r=>r.length%2===0,$r=r=>{let e=[];return r&&!ln(r)&&e.push(`Invalid Hex characters on argument @${r}`),r&&!un(r)&&e.push(`Odd number of Hex characters on argument @${r}`),e};s();var pe=({parts:r,decodedParts:e,identifier:t})=>{let n=[...e];if(r[0]==="ESDTNFTTransfer"&&r[2]&&(n[2]=P(r[2],"decimal")),t==="ESDTNFTTransfer"&&r[1]){let i=u.Buffer.from(String(r[1]),"base64");n[1]=P(i.toString("hex"),"decimal")}return n};var Gr=({parts:r,decodeMethod:e,identifier:t})=>{let n=[],i=r.map((a,l)=>{if(r.length>=2&&(l===0&&a.length<64||l===1&&!r[0]))return/[^a-z0-9]/gi.test(a)?P(a,e):a;{let p=$r(a);return p.length&&(n=p),P(a,e)}});return{displayValue:(e==="smart"?pe({parts:r,decodedParts:i,identifier:t}):i).join("@"),validationWarnings:n}};var Vr=({input:r,decodeMethod:e,identifier:t})=>{let n={displayValue:"",validationWarnings:[]};if(!(r.includes("@")||r.includes(`
|
|
2
|
+
`)))return n.displayValue=P(r,e),n;if(r.includes("@")){let o=r.split("@");n=Gr({parts:o,decodeMethod:e,identifier:t})}if(r.includes(`
|
|
3
3
|
`)){let o=r.split(`
|
|
4
|
-
`),a=o.map(p=>{let g=u.Buffer.from(String(p),"base64");return e==="raw"?p:
|
|
5
|
-
`)}return n};var pn=[{label:"Raw",value:"raw"},{label:"Text",value:"text"},{label:"Decimal",value:"decimal"},{label:"Smart",value:"smart"}],dn=({value:r,initialDecodeMethod:e,setDecodeMethod:t,identifier:n})=>{let[i,o]=(0,de.useState)(e&&Object.values(
|
|
4
|
+
`),a=o.map(p=>{let g=u.Buffer.from(String(p),"base64");return e==="raw"?p:P(g.toString("hex"),e)}),l=e==="smart"?pe({parts:o,decodedParts:a,identifier:t}):a;n.displayValue=l.join(`
|
|
5
|
+
`)}return n};var pn=[{label:"Raw",value:"raw"},{label:"Text",value:"text"},{label:"Decimal",value:"decimal"},{label:"Smart",value:"smart"}],dn=({value:r,initialDecodeMethod:e,setDecodeMethod:t,identifier:n})=>{let[i,o]=(0,de.useState)(e&&Object.values(B).includes(e)?e:"raw"),{displayValue:a,validationWarnings:l}=Vr({input:r,decodeMethod:i,identifier:n});return(0,de.useEffect)(()=>{t&&t(i)},[i]),{displayValue:a,validationWarnings:l,setActiveKey:o,decodeOptions:pn}};s();var me=require("react");var mn=()=>{let{hash:r,pathname:e}=window.location,t=r.replace("#",""),n=t&&Object.values(B).includes(t)?t:"raw",[i,o]=(0,me.useState)(t);return(0,me.useEffect)(()=>{i&&i!=="raw"&&window.history.replaceState({},document==null?void 0:document.title,`${e}#${i}`)},[i,e]),{initialDecodeMethod:n,decodeMethod:i,setDecodeMethod:o}};s();var Wr=require("react");var Hr=["create","localMint","ESDTLocalMint","addQuantity","burn","localBurn","ESDTLocalBurn","wipe","writeLog","signalError"];function qr({operations:r,transaction:e,isExpanded:t=!1,listLength:n=25}){let i=r.filter(f=>!Hr.includes(f.action)&&(f.sender===e.sender||f.receiver===e.sender)),o=i.length>0?i:r,a=o.length>n?o.slice(0,n):o,l=o.length>n?o.slice(n,o.length):[],p=t?i.length>0?"Show in/out operations":"Show fewer operations":"Show all operations",g=a.length!==r.length||l.length>0;return{displayedOperations:t?r:a,toggleButtonText:p,showToggleButton:g}}function gn(r){let[e,t]=(0,Wr.useState)(!1),n=()=>{t(l=>!l)},{displayedOperations:i,showToggleButton:o,toggleButtonText:a}=qr(fe(ge({},r),{isExpanded:e}));return{isExpanded:e,displayedOperations:i,showToggleButton:o,toggleButtonText:a,onToggleButtonClick:n}}0&&(module.exports={getEventListDataHexValue,getEventListHighlight,getOperationDirection,getOperationList,getScResultsDecodedData,getScResultsHighlight,getScamFlag,getShardText,getTextWithLinks,getTransactionActionNftText,getTransactionActionTokenText,getTransactionFee,getTransactionLinkWithLabel,getTransactionMessages,getTransactionStatus,getTransactionStatusText,getTrimmedHash,getVisibleOperations,internalTransactionActions,transactionActionUnwrapper,useDataDecode,useDataDecodeMethod,useGetOperationList});
|
|
6
6
|
/*!
|
|
7
7
|
* The buffer module from node.js, for the browser.
|
|
8
8
|
*
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";var Ce=Object.create;var P=Object.defineProperty;var De=Object.getOwnPropertyDescriptor;var Be=Object.getOwnPropertyNames;var Ue=Object.getPrototypeOf,Oe=Object.prototype.hasOwnProperty;var Pe=(t,e)=>()=>(t&&(e=t(t=0)),e);var M=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),Me=(t,e)=>{for(var r in e)P(t,r,{get:e[r],enumerable:!0})},ie=(t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of Be(e))!Oe.call(t,i)&&i!==r&&P(t,i,{get:()=>e[i],enumerable:!(n=De(e,i))||n.enumerable});return t};var V=(t,e,r)=>(r=t!=null?Ce(Ue(t)):{},ie(e||!t||!t.__esModule?P(r,"default",{value:t,enumerable:!0}):r,t)),Ge=t=>ie(P({},"__esModule",{value:!0}),t);var se=M(G=>{"use strict";u();G.byteLength=ze;G.toByteArray=He;G.fromByteArray=Ye;var k=[],b=[],qe=typeof Uint8Array!="undefined"?Uint8Array:Array,W="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(F=0,ae=W.length;F<ae;++F)k[F]=W[F],b[W.charCodeAt(F)]=F;var F,ae;b["-".charCodeAt(0)]=62;b["_".charCodeAt(0)]=63;function oe(t){var e=t.length;if(e%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var r=t.indexOf("=");r===-1&&(r=e);var n=r===e?0:4-r%4;return[r,n]}function ze(t){var e=oe(t),r=e[0],n=e[1];return(r+n)*3/4-n}function je(t,e,r){return(e+r)*3/4-r}function He(t){var e,r=oe(t),n=r[0],i=r[1],a=new qe(je(t,n,i)),o=0,l=i>0?n-4:n,c;for(c=0;c<l;c+=4)e=b[t.charCodeAt(c)]<<18|b[t.charCodeAt(c+1)]<<12|b[t.charCodeAt(c+2)]<<6|b[t.charCodeAt(c+3)],a[o++]=e>>16&255,a[o++]=e>>8&255,a[o++]=e&255;return i===2&&(e=b[t.charCodeAt(c)]<<2|b[t.charCodeAt(c+1)]>>4,a[o++]=e&255),i===1&&(e=b[t.charCodeAt(c)]<<10|b[t.charCodeAt(c+1)]<<4|b[t.charCodeAt(c+2)]>>2,a[o++]=e>>8&255,a[o++]=e&255),a}function Ve(t){return k[t>>18&63]+k[t>>12&63]+k[t>>6&63]+k[t&63]}function We(t,e,r){for(var n,i=[],a=e;a<r;a+=3)n=(t[a]<<16&16711680)+(t[a+1]<<8&65280)+(t[a+2]&255),i.push(Ve(n));return i.join("")}function Ye(t){for(var e,r=t.length,n=r%3,i=[],a=16383,o=0,l=r-n;o<l;o+=a)i.push(We(t,o,o+a>l?l:o+a));return n===1?(e=t[r-1],i.push(k[e>>2]+k[e<<4&63]+"==")):n===2&&(e=(t[r-2]<<8)+t[r-1],i.push(k[e>>10]+k[e>>4&63]+k[e<<2&63]+"=")),i.join("")}});var le=M(Y=>{u();Y.read=function(t,e,r,n,i){var a,o,l=i*8-n-1,c=(1<<l)-1,d=c>>1,g=-7,p=r?i-1:0,x=r?-1:1,T=t[e+p];for(p+=x,a=T&(1<<-g)-1,T>>=-g,g+=l;g>0;a=a*256+t[e+p],p+=x,g-=8);for(o=a&(1<<-g)-1,a>>=-g,g+=n;g>0;o=o*256+t[e+p],p+=x,g-=8);if(a===0)a=1-d;else{if(a===c)return o?NaN:(T?-1:1)*(1/0);o=o+Math.pow(2,n),a=a-d}return(T?-1:1)*o*Math.pow(2,a-n)};Y.write=function(t,e,r,n,i,a){var o,l,c,d=a*8-i-1,g=(1<<d)-1,p=g>>1,x=i===23?Math.pow(2,-24)-Math.pow(2,-77):0,T=n?0:a-1,N=n?1:-1,H=e<0||e===0&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(l=isNaN(e)?1:0,o=g):(o=Math.floor(Math.log(e)/Math.LN2),e*(c=Math.pow(2,-o))<1&&(o--,c*=2),o+p>=1?e+=x/c:e+=x*Math.pow(2,1-p),e*c>=2&&(o++,c/=2),o+p>=g?(l=0,o=g):o+p>=1?(l=(e*c-1)*Math.pow(2,i),o=o+p):(l=e*Math.pow(2,p-1)*Math.pow(2,i),o=0));i>=8;t[r+T]=l&255,T+=N,l/=256,i-=8);for(o=o<<i|l,d+=i;d>0;t[r+T]=o&255,T+=N,o/=256,d-=8);t[r+T-N]|=H*128}});var ve=M(U=>{"use strict";u();var X=se(),B=le(),ce=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;U.Buffer=s;U.SlowBuffer=$e;U.INSPECT_MAX_BYTES=50;var q=2147483647;U.kMaxLength=q;s.TYPED_ARRAY_SUPPORT=Xe();!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 Xe(){try{var t=new Uint8Array(1),e={foo:function(){return 42}};return Object.setPrototypeOf(e,Uint8Array.prototype),Object.setPrototypeOf(t,e),t.foo()===42}catch(r){return!1}}Object.defineProperty(s.prototype,"parent",{enumerable:!0,get:function(){if(!!s.isBuffer(this))return this.buffer}});Object.defineProperty(s.prototype,"offset",{enumerable:!0,get:function(){if(!!s.isBuffer(this))return this.byteOffset}});function R(t){if(t>q)throw new RangeError('The value "'+t+'" is invalid for option "size"');var e=new Uint8Array(t);return Object.setPrototypeOf(e,s.prototype),e}function s(t,e,r){if(typeof t=="number"){if(typeof e=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return J(t)}return de(t,e,r)}s.poolSize=8192;function de(t,e,r){if(typeof t=="string")return Ke(t,e);if(ArrayBuffer.isView(t))return Ze(t);if(t==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t);if(A(t,ArrayBuffer)||t&&A(t.buffer,ArrayBuffer)||typeof SharedArrayBuffer!="undefined"&&(A(t,SharedArrayBuffer)||t&&A(t.buffer,SharedArrayBuffer)))return K(t,e,r);if(typeof t=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var n=t.valueOf&&t.valueOf();if(n!=null&&n!==t)return s.from(n,e,r);var i=Je(t);if(i)return i;if(typeof Symbol!="undefined"&&Symbol.toPrimitive!=null&&typeof t[Symbol.toPrimitive]=="function")return s.from(t[Symbol.toPrimitive]("string"),e,r);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t)}s.from=function(t,e,r){return de(t,e,r)};Object.setPrototypeOf(s.prototype,Uint8Array.prototype);Object.setPrototypeOf(s,Uint8Array);function ge(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 Qe(t,e,r){return ge(t),t<=0?R(t):e!==void 0?typeof r=="string"?R(t).fill(e,r):R(t).fill(e):R(t)}s.alloc=function(t,e,r){return Qe(t,e,r)};function J(t){return ge(t),R(t<0?0:$(t)|0)}s.allocUnsafe=function(t){return J(t)};s.allocUnsafeSlow=function(t){return J(t)};function Ke(t,e){if((typeof e!="string"||e==="")&&(e="utf8"),!s.isEncoding(e))throw new TypeError("Unknown encoding: "+e);var r=me(t,e)|0,n=R(r),i=n.write(t,e);return i!==r&&(n=n.slice(0,i)),n}function Q(t){for(var e=t.length<0?0:$(t.length)|0,r=R(e),n=0;n<e;n+=1)r[n]=t[n]&255;return r}function Ze(t){if(A(t,Uint8Array)){var e=new Uint8Array(t);return K(e.buffer,e.byteOffset,e.byteLength)}return Q(t)}function K(t,e,r){if(e<0||t.byteLength<e)throw new RangeError('"offset" is outside of buffer bounds');if(t.byteLength<e+(r||0))throw new RangeError('"length" is outside of buffer bounds');var n;return e===void 0&&r===void 0?n=new Uint8Array(t):r===void 0?n=new Uint8Array(t,e):n=new Uint8Array(t,e,r),Object.setPrototypeOf(n,s.prototype),n}function Je(t){if(s.isBuffer(t)){var e=$(t.length)|0,r=R(e);return r.length===0||t.copy(r,0,0,e),r}if(t.length!==void 0)return typeof t.length!="number"||ee(t.length)?R(0):Q(t);if(t.type==="Buffer"&&Array.isArray(t.data))return Q(t.data)}function $(t){if(t>=q)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+q.toString(16)+" bytes");return t|0}function $e(t){return+t!=t&&(t=0),s.alloc(+t)}s.isBuffer=function(e){return e!=null&&e._isBuffer===!0&&e!==s.prototype};s.compare=function(e,r){if(A(e,Uint8Array)&&(e=s.from(e,e.offset,e.byteLength)),A(r,Uint8Array)&&(r=s.from(r,r.offset,r.byteLength)),!s.isBuffer(e)||!s.isBuffer(r))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(e===r)return 0;for(var n=e.length,i=r.length,a=0,o=Math.min(n,i);a<o;++a)if(e[a]!==r[a]){n=e[a],i=r[a];break}return n<i?-1:i<n?1:0};s.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}};s.concat=function(e,r){if(!Array.isArray(e))throw new TypeError('"list" argument must be an Array of Buffers');if(e.length===0)return s.alloc(0);var n;if(r===void 0)for(r=0,n=0;n<e.length;++n)r+=e[n].length;var i=s.allocUnsafe(r),a=0;for(n=0;n<e.length;++n){var o=e[n];if(A(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 me(t,e){if(s.isBuffer(t))return t.length;if(ArrayBuffer.isView(t)||A(t,ArrayBuffer))return t.byteLength;if(typeof t!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof t);var r=t.length,n=arguments.length>2&&arguments[2]===!0;if(!n&&r===0)return 0;for(var i=!1;;)switch(e){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":return Z(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return r*2;case"hex":return r>>>1;case"base64":return Te(t).length;default:if(i)return n?-1:Z(t).length;e=(""+e).toLowerCase(),i=!0}}s.byteLength=me;function er(t,e,r){var n=!1;if((e===void 0||e<0)&&(e=0),e>this.length||((r===void 0||r>this.length)&&(r=this.length),r<=0)||(r>>>=0,e>>>=0,r<=e))return"";for(t||(t="utf8");;)switch(t){case"hex":return ur(this,e,r);case"utf8":case"utf-8":return he(this,e,r);case"ascii":return lr(this,e,r);case"latin1":case"binary":return cr(this,e,r);case"base64":return or(this,e,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return pr(this,e,r);default:if(n)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),n=!0}}s.prototype._isBuffer=!0;function C(t,e,r){var n=t[e];t[e]=t[r],t[r]=n}s.prototype.swap16=function(){var e=this.length;if(e%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var r=0;r<e;r+=2)C(this,r,r+1);return this};s.prototype.swap32=function(){var e=this.length;if(e%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var r=0;r<e;r+=4)C(this,r,r+3),C(this,r+1,r+2);return this};s.prototype.swap64=function(){var e=this.length;if(e%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var r=0;r<e;r+=8)C(this,r,r+7),C(this,r+1,r+6),C(this,r+2,r+5),C(this,r+3,r+4);return this};s.prototype.toString=function(){var e=this.length;return e===0?"":arguments.length===0?he(this,0,e):er.apply(this,arguments)};s.prototype.toLocaleString=s.prototype.toString;s.prototype.equals=function(e){if(!s.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e?!0:s.compare(this,e)===0};s.prototype.inspect=function(){var e="",r=U.INSPECT_MAX_BYTES;return e=this.toString("hex",0,r).replace(/(.{2})/g,"$1 ").trim(),this.length>r&&(e+=" ... "),"<Buffer "+e+">"};ce&&(s.prototype[ce]=s.prototype.inspect);s.prototype.compare=function(e,r,n,i,a){if(A(e,Uint8Array)&&(e=s.from(e,e.offset,e.byteLength)),!s.isBuffer(e))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof e);if(r===void 0&&(r=0),n===void 0&&(n=e?e.length:0),i===void 0&&(i=0),a===void 0&&(a=this.length),r<0||n>e.length||i<0||a>this.length)throw new RangeError("out of range index");if(i>=a&&r>=n)return 0;if(i>=a)return-1;if(r>=n)return 1;if(r>>>=0,n>>>=0,i>>>=0,a>>>=0,this===e)return 0;for(var o=a-i,l=n-r,c=Math.min(o,l),d=this.slice(i,a),g=e.slice(r,n),p=0;p<c;++p)if(d[p]!==g[p]){o=d[p],l=g[p];break}return o<l?-1:l<o?1:0};function fe(t,e,r,n,i){if(t.length===0)return-1;if(typeof r=="string"?(n=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),r=+r,ee(r)&&(r=i?0:t.length-1),r<0&&(r=t.length+r),r>=t.length){if(i)return-1;r=t.length-1}else if(r<0)if(i)r=0;else return-1;if(typeof e=="string"&&(e=s.from(e,n)),s.isBuffer(e))return e.length===0?-1:ue(t,e,r,n,i);if(typeof e=="number")return e=e&255,typeof Uint8Array.prototype.indexOf=="function"?i?Uint8Array.prototype.indexOf.call(t,e,r):Uint8Array.prototype.lastIndexOf.call(t,e,r):ue(t,[e],r,n,i);throw new TypeError("val must be string, number or Buffer")}function ue(t,e,r,n,i){var a=1,o=t.length,l=e.length;if(n!==void 0&&(n=String(n).toLowerCase(),n==="ucs2"||n==="ucs-2"||n==="utf16le"||n==="utf-16le")){if(t.length<2||e.length<2)return-1;a=2,o/=2,l/=2,r/=2}function c(T,N){return a===1?T[N]:T.readUInt16BE(N*a)}var d;if(i){var g=-1;for(d=r;d<o;d++)if(c(t,d)===c(e,g===-1?0:d-g)){if(g===-1&&(g=d),d-g+1===l)return g*a}else g!==-1&&(d-=d-g),g=-1}else for(r+l>o&&(r=o-l),d=r;d>=0;d--){for(var p=!0,x=0;x<l;x++)if(c(t,d+x)!==c(e,x)){p=!1;break}if(p)return d}return-1}s.prototype.includes=function(e,r,n){return this.indexOf(e,r,n)!==-1};s.prototype.indexOf=function(e,r,n){return fe(this,e,r,n,!0)};s.prototype.lastIndexOf=function(e,r,n){return fe(this,e,r,n,!1)};function rr(t,e,r,n){r=Number(r)||0;var i=t.length-r;n?(n=Number(n),n>i&&(n=i)):n=i;var a=e.length;n>a/2&&(n=a/2);for(var o=0;o<n;++o){var l=parseInt(e.substr(o*2,2),16);if(ee(l))return o;t[r+o]=l}return o}function tr(t,e,r,n){return z(Z(e,t.length-r),t,r,n)}function nr(t,e,r,n){return z(mr(e),t,r,n)}function ir(t,e,r,n){return z(Te(e),t,r,n)}function ar(t,e,r,n){return z(fr(e,t.length-r),t,r,n)}s.prototype.write=function(e,r,n,i){if(r===void 0)i="utf8",n=this.length,r=0;else if(n===void 0&&typeof r=="string")i=r,n=this.length,r=0;else if(isFinite(r))r=r>>>0,isFinite(n)?(n=n>>>0,i===void 0&&(i="utf8")):(i=n,n=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var a=this.length-r;if((n===void 0||n>a)&&(n=a),e.length>0&&(n<0||r<0)||r>this.length)throw new RangeError("Attempt to write outside buffer bounds");i||(i="utf8");for(var o=!1;;)switch(i){case"hex":return rr(this,e,r,n);case"utf8":case"utf-8":return tr(this,e,r,n);case"ascii":case"latin1":case"binary":return nr(this,e,r,n);case"base64":return ir(this,e,r,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return ar(this,e,r,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 or(t,e,r){return e===0&&r===t.length?X.fromByteArray(t):X.fromByteArray(t.slice(e,r))}function he(t,e,r){r=Math.min(t.length,r);for(var n=[],i=e;i<r;){var a=t[i],o=null,l=a>239?4:a>223?3:a>191?2:1;if(i+l<=r){var c,d,g,p;switch(l){case 1:a<128&&(o=a);break;case 2:c=t[i+1],(c&192)===128&&(p=(a&31)<<6|c&63,p>127&&(o=p));break;case 3:c=t[i+1],d=t[i+2],(c&192)===128&&(d&192)===128&&(p=(a&15)<<12|(c&63)<<6|d&63,p>2047&&(p<55296||p>57343)&&(o=p));break;case 4:c=t[i+1],d=t[i+2],g=t[i+3],(c&192)===128&&(d&192)===128&&(g&192)===128&&(p=(a&15)<<18|(c&63)<<12|(d&63)<<6|g&63,p>65535&&p<1114112&&(o=p))}}o===null?(o=65533,l=1):o>65535&&(o-=65536,n.push(o>>>10&1023|55296),o=56320|o&1023),n.push(o),i+=l}return sr(n)}var pe=4096;function sr(t){var e=t.length;if(e<=pe)return String.fromCharCode.apply(String,t);for(var r="",n=0;n<e;)r+=String.fromCharCode.apply(String,t.slice(n,n+=pe));return r}function lr(t,e,r){var n="";r=Math.min(t.length,r);for(var i=e;i<r;++i)n+=String.fromCharCode(t[i]&127);return n}function cr(t,e,r){var n="";r=Math.min(t.length,r);for(var i=e;i<r;++i)n+=String.fromCharCode(t[i]);return n}function ur(t,e,r){var n=t.length;(!e||e<0)&&(e=0),(!r||r<0||r>n)&&(r=n);for(var i="",a=e;a<r;++a)i+=hr[t[a]];return i}function pr(t,e,r){for(var n=t.slice(e,r),i="",a=0;a<n.length-1;a+=2)i+=String.fromCharCode(n[a]+n[a+1]*256);return i}s.prototype.slice=function(e,r){var n=this.length;e=~~e,r=r===void 0?n:~~r,e<0?(e+=n,e<0&&(e=0)):e>n&&(e=n),r<0?(r+=n,r<0&&(r=0)):r>n&&(r=n),r<e&&(r=e);var i=this.subarray(e,r);return Object.setPrototypeOf(i,s.prototype),i};function w(t,e,r){if(t%1!==0||t<0)throw new RangeError("offset is not uint");if(t+e>r)throw new RangeError("Trying to access beyond buffer length")}s.prototype.readUintLE=s.prototype.readUIntLE=function(e,r,n){e=e>>>0,r=r>>>0,n||w(e,r,this.length);for(var i=this[e],a=1,o=0;++o<r&&(a*=256);)i+=this[e+o]*a;return i};s.prototype.readUintBE=s.prototype.readUIntBE=function(e,r,n){e=e>>>0,r=r>>>0,n||w(e,r,this.length);for(var i=this[e+--r],a=1;r>0&&(a*=256);)i+=this[e+--r]*a;return i};s.prototype.readUint8=s.prototype.readUInt8=function(e,r){return e=e>>>0,r||w(e,1,this.length),this[e]};s.prototype.readUint16LE=s.prototype.readUInt16LE=function(e,r){return e=e>>>0,r||w(e,2,this.length),this[e]|this[e+1]<<8};s.prototype.readUint16BE=s.prototype.readUInt16BE=function(e,r){return e=e>>>0,r||w(e,2,this.length),this[e]<<8|this[e+1]};s.prototype.readUint32LE=s.prototype.readUInt32LE=function(e,r){return e=e>>>0,r||w(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+this[e+3]*16777216};s.prototype.readUint32BE=s.prototype.readUInt32BE=function(e,r){return e=e>>>0,r||w(e,4,this.length),this[e]*16777216+(this[e+1]<<16|this[e+2]<<8|this[e+3])};s.prototype.readIntLE=function(e,r,n){e=e>>>0,r=r>>>0,n||w(e,r,this.length);for(var i=this[e],a=1,o=0;++o<r&&(a*=256);)i+=this[e+o]*a;return a*=128,i>=a&&(i-=Math.pow(2,8*r)),i};s.prototype.readIntBE=function(e,r,n){e=e>>>0,r=r>>>0,n||w(e,r,this.length);for(var i=r,a=1,o=this[e+--i];i>0&&(a*=256);)o+=this[e+--i]*a;return a*=128,o>=a&&(o-=Math.pow(2,8*r)),o};s.prototype.readInt8=function(e,r){return e=e>>>0,r||w(e,1,this.length),this[e]&128?(255-this[e]+1)*-1:this[e]};s.prototype.readInt16LE=function(e,r){e=e>>>0,r||w(e,2,this.length);var n=this[e]|this[e+1]<<8;return n&32768?n|4294901760:n};s.prototype.readInt16BE=function(e,r){e=e>>>0,r||w(e,2,this.length);var n=this[e+1]|this[e]<<8;return n&32768?n|4294901760:n};s.prototype.readInt32LE=function(e,r){return e=e>>>0,r||w(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24};s.prototype.readInt32BE=function(e,r){return e=e>>>0,r||w(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]};s.prototype.readFloatLE=function(e,r){return e=e>>>0,r||w(e,4,this.length),B.read(this,e,!0,23,4)};s.prototype.readFloatBE=function(e,r){return e=e>>>0,r||w(e,4,this.length),B.read(this,e,!1,23,4)};s.prototype.readDoubleLE=function(e,r){return e=e>>>0,r||w(e,8,this.length),B.read(this,e,!0,52,8)};s.prototype.readDoubleBE=function(e,r){return e=e>>>0,r||w(e,8,this.length),B.read(this,e,!1,52,8)};function v(t,e,r,n,i,a){if(!s.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>i||e<a)throw new RangeError('"value" argument is out of bounds');if(r+n>t.length)throw new RangeError("Index out of range")}s.prototype.writeUintLE=s.prototype.writeUIntLE=function(e,r,n,i){if(e=+e,r=r>>>0,n=n>>>0,!i){var a=Math.pow(2,8*n)-1;v(this,e,r,n,a,0)}var o=1,l=0;for(this[r]=e&255;++l<n&&(o*=256);)this[r+l]=e/o&255;return r+n};s.prototype.writeUintBE=s.prototype.writeUIntBE=function(e,r,n,i){if(e=+e,r=r>>>0,n=n>>>0,!i){var a=Math.pow(2,8*n)-1;v(this,e,r,n,a,0)}var o=n-1,l=1;for(this[r+o]=e&255;--o>=0&&(l*=256);)this[r+o]=e/l&255;return r+n};s.prototype.writeUint8=s.prototype.writeUInt8=function(e,r,n){return e=+e,r=r>>>0,n||v(this,e,r,1,255,0),this[r]=e&255,r+1};s.prototype.writeUint16LE=s.prototype.writeUInt16LE=function(e,r,n){return e=+e,r=r>>>0,n||v(this,e,r,2,65535,0),this[r]=e&255,this[r+1]=e>>>8,r+2};s.prototype.writeUint16BE=s.prototype.writeUInt16BE=function(e,r,n){return e=+e,r=r>>>0,n||v(this,e,r,2,65535,0),this[r]=e>>>8,this[r+1]=e&255,r+2};s.prototype.writeUint32LE=s.prototype.writeUInt32LE=function(e,r,n){return e=+e,r=r>>>0,n||v(this,e,r,4,4294967295,0),this[r+3]=e>>>24,this[r+2]=e>>>16,this[r+1]=e>>>8,this[r]=e&255,r+4};s.prototype.writeUint32BE=s.prototype.writeUInt32BE=function(e,r,n){return e=+e,r=r>>>0,n||v(this,e,r,4,4294967295,0),this[r]=e>>>24,this[r+1]=e>>>16,this[r+2]=e>>>8,this[r+3]=e&255,r+4};s.prototype.writeIntLE=function(e,r,n,i){if(e=+e,r=r>>>0,!i){var a=Math.pow(2,8*n-1);v(this,e,r,n,a-1,-a)}var o=0,l=1,c=0;for(this[r]=e&255;++o<n&&(l*=256);)e<0&&c===0&&this[r+o-1]!==0&&(c=1),this[r+o]=(e/l>>0)-c&255;return r+n};s.prototype.writeIntBE=function(e,r,n,i){if(e=+e,r=r>>>0,!i){var a=Math.pow(2,8*n-1);v(this,e,r,n,a-1,-a)}var o=n-1,l=1,c=0;for(this[r+o]=e&255;--o>=0&&(l*=256);)e<0&&c===0&&this[r+o+1]!==0&&(c=1),this[r+o]=(e/l>>0)-c&255;return r+n};s.prototype.writeInt8=function(e,r,n){return e=+e,r=r>>>0,n||v(this,e,r,1,127,-128),e<0&&(e=255+e+1),this[r]=e&255,r+1};s.prototype.writeInt16LE=function(e,r,n){return e=+e,r=r>>>0,n||v(this,e,r,2,32767,-32768),this[r]=e&255,this[r+1]=e>>>8,r+2};s.prototype.writeInt16BE=function(e,r,n){return e=+e,r=r>>>0,n||v(this,e,r,2,32767,-32768),this[r]=e>>>8,this[r+1]=e&255,r+2};s.prototype.writeInt32LE=function(e,r,n){return e=+e,r=r>>>0,n||v(this,e,r,4,2147483647,-2147483648),this[r]=e&255,this[r+1]=e>>>8,this[r+2]=e>>>16,this[r+3]=e>>>24,r+4};s.prototype.writeInt32BE=function(e,r,n){return e=+e,r=r>>>0,n||v(this,e,r,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),this[r]=e>>>24,this[r+1]=e>>>16,this[r+2]=e>>>8,this[r+3]=e&255,r+4};function ye(t,e,r,n,i,a){if(r+n>t.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function we(t,e,r,n,i){return e=+e,r=r>>>0,i||ye(t,e,r,4,34028234663852886e22,-34028234663852886e22),B.write(t,e,r,n,23,4),r+4}s.prototype.writeFloatLE=function(e,r,n){return we(this,e,r,!0,n)};s.prototype.writeFloatBE=function(e,r,n){return we(this,e,r,!1,n)};function xe(t,e,r,n,i){return e=+e,r=r>>>0,i||ye(t,e,r,8,17976931348623157e292,-17976931348623157e292),B.write(t,e,r,n,52,8),r+8}s.prototype.writeDoubleLE=function(e,r,n){return xe(this,e,r,!0,n)};s.prototype.writeDoubleBE=function(e,r,n){return xe(this,e,r,!1,n)};s.prototype.copy=function(e,r,n,i){if(!s.isBuffer(e))throw new TypeError("argument should be a Buffer");if(n||(n=0),!i&&i!==0&&(i=this.length),r>=e.length&&(r=e.length),r||(r=0),i>0&&i<n&&(i=n),i===n||e.length===0||this.length===0)return 0;if(r<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw new RangeError("Index out of range");if(i<0)throw new RangeError("sourceEnd out of bounds");i>this.length&&(i=this.length),e.length-r<i-n&&(i=e.length-r+n);var a=i-n;return this===e&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(r,n,i):Uint8Array.prototype.set.call(e,this.subarray(n,i),r),a};s.prototype.fill=function(e,r,n,i){if(typeof e=="string"){if(typeof r=="string"?(i=r,r=0,n=this.length):typeof n=="string"&&(i=n,n=this.length),i!==void 0&&typeof i!="string")throw new TypeError("encoding must be a string");if(typeof i=="string"&&!s.isEncoding(i))throw new TypeError("Unknown encoding: "+i);if(e.length===1){var a=e.charCodeAt(0);(i==="utf8"&&a<128||i==="latin1")&&(e=a)}}else typeof e=="number"?e=e&255:typeof e=="boolean"&&(e=Number(e));if(r<0||this.length<r||this.length<n)throw new RangeError("Out of range index");if(n<=r)return this;r=r>>>0,n=n===void 0?this.length:n>>>0,e||(e=0);var o;if(typeof e=="number")for(o=r;o<n;++o)this[o]=e;else{var l=s.isBuffer(e)?e:s.from(e,i),c=l.length;if(c===0)throw new TypeError('The value "'+e+'" is invalid for argument "value"');for(o=0;o<n-r;++o)this[o+r]=l[o%c]}return this};var dr=/[^+/0-9A-Za-z-_]/g;function gr(t){if(t=t.split("=")[0],t=t.trim().replace(dr,""),t.length<2)return"";for(;t.length%4!==0;)t=t+"=";return t}function Z(t,e){e=e||1/0;for(var r,n=t.length,i=null,a=[],o=0;o<n;++o){if(r=t.charCodeAt(o),r>55295&&r<57344){if(!i){if(r>56319){(e-=3)>-1&&a.push(239,191,189);continue}else if(o+1===n){(e-=3)>-1&&a.push(239,191,189);continue}i=r;continue}if(r<56320){(e-=3)>-1&&a.push(239,191,189),i=r;continue}r=(i-55296<<10|r-56320)+65536}else i&&(e-=3)>-1&&a.push(239,191,189);if(i=null,r<128){if((e-=1)<0)break;a.push(r)}else if(r<2048){if((e-=2)<0)break;a.push(r>>6|192,r&63|128)}else if(r<65536){if((e-=3)<0)break;a.push(r>>12|224,r>>6&63|128,r&63|128)}else if(r<1114112){if((e-=4)<0)break;a.push(r>>18|240,r>>12&63|128,r>>6&63|128,r&63|128)}else throw new Error("Invalid code point")}return a}function mr(t){for(var e=[],r=0;r<t.length;++r)e.push(t.charCodeAt(r)&255);return e}function fr(t,e){for(var r,n,i,a=[],o=0;o<t.length&&!((e-=2)<0);++o)r=t.charCodeAt(o),n=r>>8,i=r%256,a.push(i),a.push(n);return a}function Te(t){return X.toByteArray(gr(t))}function z(t,e,r,n){for(var i=0;i<n&&!(i+r>=e.length||i>=t.length);++i)e[i+r]=t[i];return i}function A(t,e){return t instanceof e||t!=null&&t.constructor!=null&&t.constructor.name!=null&&t.constructor.name===e.name}function ee(t){return t!==t}var hr=function(){for(var t="0123456789abcdef",e=new Array(256),r=0;r<16;++r)for(var n=r*16,i=0;i<16;++i)e[n+i]=t[r]+t[i];return e}()});var Ee=M((Ir,_e)=>{u();var y=_e.exports={},_,E;function re(){throw new Error("setTimeout has not been defined")}function te(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?_=setTimeout:_=re}catch(t){_=re}try{typeof clearTimeout=="function"?E=clearTimeout:E=te}catch(t){E=te}})();function be(t){if(_===setTimeout)return setTimeout(t,0);if((_===re||!_)&&setTimeout)return _=setTimeout,setTimeout(t,0);try{return _(t,0)}catch(e){try{return _.call(null,t,0)}catch(r){return _.call(this,t,0)}}}function yr(t){if(E===clearTimeout)return clearTimeout(t);if((E===te||!E)&&clearTimeout)return E=clearTimeout,clearTimeout(t);try{return E(t)}catch(e){try{return E.call(null,t)}catch(r){return E.call(this,t)}}}var L=[],O=!1,D,j=-1;function wr(){!O||!D||(O=!1,D.length?L=D.concat(L):j=-1,L.length&&ke())}function ke(){if(!O){var t=be(wr);O=!0;for(var e=L.length;e;){for(D=L,L=[];++j<e;)D&&D[j].run();j=-1,e=L.length}D=null,O=!1,yr(t)}}y.nextTick=function(t){var e=new Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)e[r-1]=arguments[r];L.push(new Ae(t,e)),L.length===1&&!O&&be(ke)};function Ae(t,e){this.fun=t,this.array=e}Ae.prototype.run=function(){this.fun.apply(null,this.array)};y.title="browser";y.browser=!0;y.env={};y.argv=[];y.version="";y.versions={};function S(){}y.on=S;y.addListener=S;y.once=S;y.off=S;y.removeListener=S;y.removeAllListeners=S;y.emit=S;y.prependListener=S;y.prependOnceListener=S;y.listeners=function(t){return[]};y.binding=function(t){throw new Error("process.binding is not supported")};y.cwd=function(){return"/"};y.chdir=function(t){throw new Error("process.chdir is not supported")};y.umask=function(){return 0}});var m,f,Rr,u=Pe(()=>{m=V(ve()),f=V(Ee()),Rr=function(t){function e(){var n=this||self;return delete t.prototype.__magic__,n}if(typeof globalThis=="object")return globalThis;if(this)return e();t.defineProperty(t.prototype,"__magic__",{configurable:!0,get:e});var r=__magic__;return r}(Object)});var br={};Me(br,{esdtNftUnwrapper:()=>Tr,mexUnwrapper:()=>vr,stakeUnwrapper:()=>xr});module.exports=Ge(br);u();u();u();var xr=t=>{var e,r,n,i,a,o,l,c,d,g,p,x;switch(t.name){case"delegate":case"stake":return["Delegate",{egldValue:(e=t.arguments)==null?void 0:e.value},"to staking provider",{providerName:(r=t.arguments)==null?void 0:r.providerName,providerAvatar:(n=t.arguments)==null?void 0:n.providerAvatar}];case"unDelegate":return["Undelegate",{egldValue:(i=t.arguments)==null?void 0:i.value},"from staking provider",{providerName:(a=t.arguments)==null?void 0:a.providerName,providerAvatar:(o=t.arguments)==null?void 0:o.providerAvatar}];case"claimRewards":return["Claim rewards from staking provider",{providerName:(l=t.arguments)==null?void 0:l.providerName,providerAvatar:(c=t.arguments)==null?void 0:c.providerAvatar}];case"reDelegateRewards":return["Redelegate rewards from staking provider",{providerName:(d=t.arguments)==null?void 0:d.providerName,providerAvatar:(g=t.arguments)==null?void 0:g.providerAvatar}];case"withdraw":return["Withdraw from staking provider",{providerName:(p=t.arguments)==null?void 0:p.providerName,providerAvatar:(x=t.arguments)==null?void 0:x.providerAvatar}];default:return[]}};u();var Tr=t=>{var e,r;switch(t.name){case"transfer":return["Transfer",{token:(e=t.arguments)==null?void 0:e.transfers},"to",{address:(r=t.arguments)==null?void 0:r.receiver}];default:return[]}};u();var Fe=V(require("bignumber.js"));u();u();u();u();u();u();u();u();u();u();u();u();var ne={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:Re,egldLabel:rt}=ne["devnet"],{chainId:Le,egldLabel:tt}=ne["testnet"],{chainId:Se,egldLabel:nt}=ne["mainnet"];var it={["devnet"]:Re,["testnet"]:Le,["mainnet"]:Se},at={[Re]:"devnet",[Le]:"testnet",[Se]:"mainnet"};u();u();u();u();var I=require("@multiversx/sdk-web-wallet-provider");var Ne="0";var vr=t=>{var e,r,n,i,a,o,l,c,d,g,p,x;switch(t.name){case"claimLockedAssets":return["Claim locked assets"];case"enterFarm":case"enterFarmProxy":return["Enter farm with",{token:(e=t.arguments)==null?void 0:e.transfers}];case"enterFarmAndLockRewards":case"enterFarmAndLockRewardsProxy":return["Enter farm and lock rewards with",{token:(r=t.arguments)==null?void 0:r.transfers}];case"exitFarm":case"exitFarmProxy":return["Exit farm with",{token:(n=t.arguments)==null?void 0:n.transfers}];case"claimRewards":case"claimRewardsProxy":return["Claim rewards",{token:(i=t.arguments)==null?void 0:i.transfers}];case"compoundRewards":case"compoundRewardsProxy":return["Reinvest rewards",{token:(a=t.arguments)==null?void 0:a.transfers}];case"swapTokensFixedInput":case"swap":return t.description?[t.description]:[];case"swapTokensFixedOutput":return t.description?[t.description]:[];case"addLiquidity":case"addLiquidityProxy":return["Added liquidity for",{token:[(o=t.arguments)==null?void 0:o.transfers[0]]},"and",{token:[(l=t.arguments)==null?void 0:l.transfers[1]]}];case"removeLiquidity":case"removeLiquidityProxy":return["Removed liquidity with ",{token:(c=t.arguments)==null?void 0:c.transfers}];case"mergeLockedAssetTokens":let T=Ne;if((d=t.arguments)!=null&&d.transfers){let N=t.arguments.transfers.map(({value:H})=>H);T=Fe.default.sum.apply(null,N).toString(10)}return[`Merge ${(g=t.arguments)==null?void 0:g.transfers.length}`,{tokenNoLink:[(p=t.arguments)==null?void 0:p.transfers[0]]},"positions into a single",{tokenNoLink:[(x=t.arguments)==null?void 0:x.transfers[0]]},"position of value",{value:T}];case"wrapEgld":case"unwrapEgld":default:return t.description?[t.description]:[]}};0&&(module.exports={esdtNftUnwrapper,mexUnwrapper,stakeUnwrapper});
|
|
1
|
+
"use strict";var Ce=Object.create;var P=Object.defineProperty;var De=Object.getOwnPropertyDescriptor;var Be=Object.getOwnPropertyNames;var Ue=Object.getPrototypeOf,Oe=Object.prototype.hasOwnProperty;var Pe=(t,e)=>()=>(t&&(e=t(t=0)),e);var M=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),Me=(t,e)=>{for(var r in e)P(t,r,{get:e[r],enumerable:!0})},ie=(t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of Be(e))!Oe.call(t,i)&&i!==r&&P(t,i,{get:()=>e[i],enumerable:!(n=De(e,i))||n.enumerable});return t};var V=(t,e,r)=>(r=t!=null?Ce(Ue(t)):{},ie(e||!t||!t.__esModule?P(r,"default",{value:t,enumerable:!0}):r,t)),Ge=t=>ie(P({},"__esModule",{value:!0}),t);var se=M(G=>{"use strict";u();G.byteLength=ze;G.toByteArray=He;G.fromByteArray=Ye;var k=[],b=[],qe=typeof Uint8Array!="undefined"?Uint8Array:Array,W="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(F=0,ae=W.length;F<ae;++F)k[F]=W[F],b[W.charCodeAt(F)]=F;var F,ae;b["-".charCodeAt(0)]=62;b["_".charCodeAt(0)]=63;function oe(t){var e=t.length;if(e%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var r=t.indexOf("=");r===-1&&(r=e);var n=r===e?0:4-r%4;return[r,n]}function ze(t){var e=oe(t),r=e[0],n=e[1];return(r+n)*3/4-n}function je(t,e,r){return(e+r)*3/4-r}function He(t){var e,r=oe(t),n=r[0],i=r[1],a=new qe(je(t,n,i)),o=0,l=i>0?n-4:n,c;for(c=0;c<l;c+=4)e=b[t.charCodeAt(c)]<<18|b[t.charCodeAt(c+1)]<<12|b[t.charCodeAt(c+2)]<<6|b[t.charCodeAt(c+3)],a[o++]=e>>16&255,a[o++]=e>>8&255,a[o++]=e&255;return i===2&&(e=b[t.charCodeAt(c)]<<2|b[t.charCodeAt(c+1)]>>4,a[o++]=e&255),i===1&&(e=b[t.charCodeAt(c)]<<10|b[t.charCodeAt(c+1)]<<4|b[t.charCodeAt(c+2)]>>2,a[o++]=e>>8&255,a[o++]=e&255),a}function Ve(t){return k[t>>18&63]+k[t>>12&63]+k[t>>6&63]+k[t&63]}function We(t,e,r){for(var n,i=[],a=e;a<r;a+=3)n=(t[a]<<16&16711680)+(t[a+1]<<8&65280)+(t[a+2]&255),i.push(Ve(n));return i.join("")}function Ye(t){for(var e,r=t.length,n=r%3,i=[],a=16383,o=0,l=r-n;o<l;o+=a)i.push(We(t,o,o+a>l?l:o+a));return n===1?(e=t[r-1],i.push(k[e>>2]+k[e<<4&63]+"==")):n===2&&(e=(t[r-2]<<8)+t[r-1],i.push(k[e>>10]+k[e>>4&63]+k[e<<2&63]+"=")),i.join("")}});var le=M(Y=>{u();Y.read=function(t,e,r,n,i){var a,o,l=i*8-n-1,c=(1<<l)-1,d=c>>1,g=-7,p=r?i-1:0,x=r?-1:1,v=t[e+p];for(p+=x,a=v&(1<<-g)-1,v>>=-g,g+=l;g>0;a=a*256+t[e+p],p+=x,g-=8);for(o=a&(1<<-g)-1,a>>=-g,g+=n;g>0;o=o*256+t[e+p],p+=x,g-=8);if(a===0)a=1-d;else{if(a===c)return o?NaN:(v?-1:1)*(1/0);o=o+Math.pow(2,n),a=a-d}return(v?-1:1)*o*Math.pow(2,a-n)};Y.write=function(t,e,r,n,i,a){var o,l,c,d=a*8-i-1,g=(1<<d)-1,p=g>>1,x=i===23?Math.pow(2,-24)-Math.pow(2,-77):0,v=n?0:a-1,N=n?1:-1,H=e<0||e===0&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(l=isNaN(e)?1:0,o=g):(o=Math.floor(Math.log(e)/Math.LN2),e*(c=Math.pow(2,-o))<1&&(o--,c*=2),o+p>=1?e+=x/c:e+=x*Math.pow(2,1-p),e*c>=2&&(o++,c/=2),o+p>=g?(l=0,o=g):o+p>=1?(l=(e*c-1)*Math.pow(2,i),o=o+p):(l=e*Math.pow(2,p-1)*Math.pow(2,i),o=0));i>=8;t[r+v]=l&255,v+=N,l/=256,i-=8);for(o=o<<i|l,d+=i;d>0;t[r+v]=o&255,v+=N,o/=256,d-=8);t[r+v-N]|=H*128}});var Te=M(U=>{"use strict";u();var X=se(),B=le(),ce=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;U.Buffer=s;U.SlowBuffer=$e;U.INSPECT_MAX_BYTES=50;var q=2147483647;U.kMaxLength=q;s.TYPED_ARRAY_SUPPORT=Xe();!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 Xe(){try{var t=new Uint8Array(1),e={foo:function(){return 42}};return Object.setPrototypeOf(e,Uint8Array.prototype),Object.setPrototypeOf(t,e),t.foo()===42}catch(r){return!1}}Object.defineProperty(s.prototype,"parent",{enumerable:!0,get:function(){if(!!s.isBuffer(this))return this.buffer}});Object.defineProperty(s.prototype,"offset",{enumerable:!0,get:function(){if(!!s.isBuffer(this))return this.byteOffset}});function R(t){if(t>q)throw new RangeError('The value "'+t+'" is invalid for option "size"');var e=new Uint8Array(t);return Object.setPrototypeOf(e,s.prototype),e}function s(t,e,r){if(typeof t=="number"){if(typeof e=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return J(t)}return de(t,e,r)}s.poolSize=8192;function de(t,e,r){if(typeof t=="string")return Ke(t,e);if(ArrayBuffer.isView(t))return Ze(t);if(t==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t);if(A(t,ArrayBuffer)||t&&A(t.buffer,ArrayBuffer)||typeof SharedArrayBuffer!="undefined"&&(A(t,SharedArrayBuffer)||t&&A(t.buffer,SharedArrayBuffer)))return K(t,e,r);if(typeof t=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var n=t.valueOf&&t.valueOf();if(n!=null&&n!==t)return s.from(n,e,r);var i=Je(t);if(i)return i;if(typeof Symbol!="undefined"&&Symbol.toPrimitive!=null&&typeof t[Symbol.toPrimitive]=="function")return s.from(t[Symbol.toPrimitive]("string"),e,r);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t)}s.from=function(t,e,r){return de(t,e,r)};Object.setPrototypeOf(s.prototype,Uint8Array.prototype);Object.setPrototypeOf(s,Uint8Array);function ge(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 Qe(t,e,r){return ge(t),t<=0?R(t):e!==void 0?typeof r=="string"?R(t).fill(e,r):R(t).fill(e):R(t)}s.alloc=function(t,e,r){return Qe(t,e,r)};function J(t){return ge(t),R(t<0?0:$(t)|0)}s.allocUnsafe=function(t){return J(t)};s.allocUnsafeSlow=function(t){return J(t)};function Ke(t,e){if((typeof e!="string"||e==="")&&(e="utf8"),!s.isEncoding(e))throw new TypeError("Unknown encoding: "+e);var r=me(t,e)|0,n=R(r),i=n.write(t,e);return i!==r&&(n=n.slice(0,i)),n}function Q(t){for(var e=t.length<0?0:$(t.length)|0,r=R(e),n=0;n<e;n+=1)r[n]=t[n]&255;return r}function Ze(t){if(A(t,Uint8Array)){var e=new Uint8Array(t);return K(e.buffer,e.byteOffset,e.byteLength)}return Q(t)}function K(t,e,r){if(e<0||t.byteLength<e)throw new RangeError('"offset" is outside of buffer bounds');if(t.byteLength<e+(r||0))throw new RangeError('"length" is outside of buffer bounds');var n;return e===void 0&&r===void 0?n=new Uint8Array(t):r===void 0?n=new Uint8Array(t,e):n=new Uint8Array(t,e,r),Object.setPrototypeOf(n,s.prototype),n}function Je(t){if(s.isBuffer(t)){var e=$(t.length)|0,r=R(e);return r.length===0||t.copy(r,0,0,e),r}if(t.length!==void 0)return typeof t.length!="number"||ee(t.length)?R(0):Q(t);if(t.type==="Buffer"&&Array.isArray(t.data))return Q(t.data)}function $(t){if(t>=q)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+q.toString(16)+" bytes");return t|0}function $e(t){return+t!=t&&(t=0),s.alloc(+t)}s.isBuffer=function(e){return e!=null&&e._isBuffer===!0&&e!==s.prototype};s.compare=function(e,r){if(A(e,Uint8Array)&&(e=s.from(e,e.offset,e.byteLength)),A(r,Uint8Array)&&(r=s.from(r,r.offset,r.byteLength)),!s.isBuffer(e)||!s.isBuffer(r))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(e===r)return 0;for(var n=e.length,i=r.length,a=0,o=Math.min(n,i);a<o;++a)if(e[a]!==r[a]){n=e[a],i=r[a];break}return n<i?-1:i<n?1:0};s.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}};s.concat=function(e,r){if(!Array.isArray(e))throw new TypeError('"list" argument must be an Array of Buffers');if(e.length===0)return s.alloc(0);var n;if(r===void 0)for(r=0,n=0;n<e.length;++n)r+=e[n].length;var i=s.allocUnsafe(r),a=0;for(n=0;n<e.length;++n){var o=e[n];if(A(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 me(t,e){if(s.isBuffer(t))return t.length;if(ArrayBuffer.isView(t)||A(t,ArrayBuffer))return t.byteLength;if(typeof t!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof t);var r=t.length,n=arguments.length>2&&arguments[2]===!0;if(!n&&r===0)return 0;for(var i=!1;;)switch(e){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":return Z(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return r*2;case"hex":return r>>>1;case"base64":return ve(t).length;default:if(i)return n?-1:Z(t).length;e=(""+e).toLowerCase(),i=!0}}s.byteLength=me;function er(t,e,r){var n=!1;if((e===void 0||e<0)&&(e=0),e>this.length||((r===void 0||r>this.length)&&(r=this.length),r<=0)||(r>>>=0,e>>>=0,r<=e))return"";for(t||(t="utf8");;)switch(t){case"hex":return ur(this,e,r);case"utf8":case"utf-8":return he(this,e,r);case"ascii":return lr(this,e,r);case"latin1":case"binary":return cr(this,e,r);case"base64":return or(this,e,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return pr(this,e,r);default:if(n)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),n=!0}}s.prototype._isBuffer=!0;function C(t,e,r){var n=t[e];t[e]=t[r],t[r]=n}s.prototype.swap16=function(){var e=this.length;if(e%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var r=0;r<e;r+=2)C(this,r,r+1);return this};s.prototype.swap32=function(){var e=this.length;if(e%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var r=0;r<e;r+=4)C(this,r,r+3),C(this,r+1,r+2);return this};s.prototype.swap64=function(){var e=this.length;if(e%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var r=0;r<e;r+=8)C(this,r,r+7),C(this,r+1,r+6),C(this,r+2,r+5),C(this,r+3,r+4);return this};s.prototype.toString=function(){var e=this.length;return e===0?"":arguments.length===0?he(this,0,e):er.apply(this,arguments)};s.prototype.toLocaleString=s.prototype.toString;s.prototype.equals=function(e){if(!s.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e?!0:s.compare(this,e)===0};s.prototype.inspect=function(){var e="",r=U.INSPECT_MAX_BYTES;return e=this.toString("hex",0,r).replace(/(.{2})/g,"$1 ").trim(),this.length>r&&(e+=" ... "),"<Buffer "+e+">"};ce&&(s.prototype[ce]=s.prototype.inspect);s.prototype.compare=function(e,r,n,i,a){if(A(e,Uint8Array)&&(e=s.from(e,e.offset,e.byteLength)),!s.isBuffer(e))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof e);if(r===void 0&&(r=0),n===void 0&&(n=e?e.length:0),i===void 0&&(i=0),a===void 0&&(a=this.length),r<0||n>e.length||i<0||a>this.length)throw new RangeError("out of range index");if(i>=a&&r>=n)return 0;if(i>=a)return-1;if(r>=n)return 1;if(r>>>=0,n>>>=0,i>>>=0,a>>>=0,this===e)return 0;for(var o=a-i,l=n-r,c=Math.min(o,l),d=this.slice(i,a),g=e.slice(r,n),p=0;p<c;++p)if(d[p]!==g[p]){o=d[p],l=g[p];break}return o<l?-1:l<o?1:0};function fe(t,e,r,n,i){if(t.length===0)return-1;if(typeof r=="string"?(n=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),r=+r,ee(r)&&(r=i?0:t.length-1),r<0&&(r=t.length+r),r>=t.length){if(i)return-1;r=t.length-1}else if(r<0)if(i)r=0;else return-1;if(typeof e=="string"&&(e=s.from(e,n)),s.isBuffer(e))return e.length===0?-1:ue(t,e,r,n,i);if(typeof e=="number")return e=e&255,typeof Uint8Array.prototype.indexOf=="function"?i?Uint8Array.prototype.indexOf.call(t,e,r):Uint8Array.prototype.lastIndexOf.call(t,e,r):ue(t,[e],r,n,i);throw new TypeError("val must be string, number or Buffer")}function ue(t,e,r,n,i){var a=1,o=t.length,l=e.length;if(n!==void 0&&(n=String(n).toLowerCase(),n==="ucs2"||n==="ucs-2"||n==="utf16le"||n==="utf-16le")){if(t.length<2||e.length<2)return-1;a=2,o/=2,l/=2,r/=2}function c(v,N){return a===1?v[N]:v.readUInt16BE(N*a)}var d;if(i){var g=-1;for(d=r;d<o;d++)if(c(t,d)===c(e,g===-1?0:d-g)){if(g===-1&&(g=d),d-g+1===l)return g*a}else g!==-1&&(d-=d-g),g=-1}else for(r+l>o&&(r=o-l),d=r;d>=0;d--){for(var p=!0,x=0;x<l;x++)if(c(t,d+x)!==c(e,x)){p=!1;break}if(p)return d}return-1}s.prototype.includes=function(e,r,n){return this.indexOf(e,r,n)!==-1};s.prototype.indexOf=function(e,r,n){return fe(this,e,r,n,!0)};s.prototype.lastIndexOf=function(e,r,n){return fe(this,e,r,n,!1)};function rr(t,e,r,n){r=Number(r)||0;var i=t.length-r;n?(n=Number(n),n>i&&(n=i)):n=i;var a=e.length;n>a/2&&(n=a/2);for(var o=0;o<n;++o){var l=parseInt(e.substr(o*2,2),16);if(ee(l))return o;t[r+o]=l}return o}function tr(t,e,r,n){return z(Z(e,t.length-r),t,r,n)}function nr(t,e,r,n){return z(mr(e),t,r,n)}function ir(t,e,r,n){return z(ve(e),t,r,n)}function ar(t,e,r,n){return z(fr(e,t.length-r),t,r,n)}s.prototype.write=function(e,r,n,i){if(r===void 0)i="utf8",n=this.length,r=0;else if(n===void 0&&typeof r=="string")i=r,n=this.length,r=0;else if(isFinite(r))r=r>>>0,isFinite(n)?(n=n>>>0,i===void 0&&(i="utf8")):(i=n,n=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var a=this.length-r;if((n===void 0||n>a)&&(n=a),e.length>0&&(n<0||r<0)||r>this.length)throw new RangeError("Attempt to write outside buffer bounds");i||(i="utf8");for(var o=!1;;)switch(i){case"hex":return rr(this,e,r,n);case"utf8":case"utf-8":return tr(this,e,r,n);case"ascii":case"latin1":case"binary":return nr(this,e,r,n);case"base64":return ir(this,e,r,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return ar(this,e,r,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 or(t,e,r){return e===0&&r===t.length?X.fromByteArray(t):X.fromByteArray(t.slice(e,r))}function he(t,e,r){r=Math.min(t.length,r);for(var n=[],i=e;i<r;){var a=t[i],o=null,l=a>239?4:a>223?3:a>191?2:1;if(i+l<=r){var c,d,g,p;switch(l){case 1:a<128&&(o=a);break;case 2:c=t[i+1],(c&192)===128&&(p=(a&31)<<6|c&63,p>127&&(o=p));break;case 3:c=t[i+1],d=t[i+2],(c&192)===128&&(d&192)===128&&(p=(a&15)<<12|(c&63)<<6|d&63,p>2047&&(p<55296||p>57343)&&(o=p));break;case 4:c=t[i+1],d=t[i+2],g=t[i+3],(c&192)===128&&(d&192)===128&&(g&192)===128&&(p=(a&15)<<18|(c&63)<<12|(d&63)<<6|g&63,p>65535&&p<1114112&&(o=p))}}o===null?(o=65533,l=1):o>65535&&(o-=65536,n.push(o>>>10&1023|55296),o=56320|o&1023),n.push(o),i+=l}return sr(n)}var pe=4096;function sr(t){var e=t.length;if(e<=pe)return String.fromCharCode.apply(String,t);for(var r="",n=0;n<e;)r+=String.fromCharCode.apply(String,t.slice(n,n+=pe));return r}function lr(t,e,r){var n="";r=Math.min(t.length,r);for(var i=e;i<r;++i)n+=String.fromCharCode(t[i]&127);return n}function cr(t,e,r){var n="";r=Math.min(t.length,r);for(var i=e;i<r;++i)n+=String.fromCharCode(t[i]);return n}function ur(t,e,r){var n=t.length;(!e||e<0)&&(e=0),(!r||r<0||r>n)&&(r=n);for(var i="",a=e;a<r;++a)i+=hr[t[a]];return i}function pr(t,e,r){for(var n=t.slice(e,r),i="",a=0;a<n.length-1;a+=2)i+=String.fromCharCode(n[a]+n[a+1]*256);return i}s.prototype.slice=function(e,r){var n=this.length;e=~~e,r=r===void 0?n:~~r,e<0?(e+=n,e<0&&(e=0)):e>n&&(e=n),r<0?(r+=n,r<0&&(r=0)):r>n&&(r=n),r<e&&(r=e);var i=this.subarray(e,r);return Object.setPrototypeOf(i,s.prototype),i};function w(t,e,r){if(t%1!==0||t<0)throw new RangeError("offset is not uint");if(t+e>r)throw new RangeError("Trying to access beyond buffer length")}s.prototype.readUintLE=s.prototype.readUIntLE=function(e,r,n){e=e>>>0,r=r>>>0,n||w(e,r,this.length);for(var i=this[e],a=1,o=0;++o<r&&(a*=256);)i+=this[e+o]*a;return i};s.prototype.readUintBE=s.prototype.readUIntBE=function(e,r,n){e=e>>>0,r=r>>>0,n||w(e,r,this.length);for(var i=this[e+--r],a=1;r>0&&(a*=256);)i+=this[e+--r]*a;return i};s.prototype.readUint8=s.prototype.readUInt8=function(e,r){return e=e>>>0,r||w(e,1,this.length),this[e]};s.prototype.readUint16LE=s.prototype.readUInt16LE=function(e,r){return e=e>>>0,r||w(e,2,this.length),this[e]|this[e+1]<<8};s.prototype.readUint16BE=s.prototype.readUInt16BE=function(e,r){return e=e>>>0,r||w(e,2,this.length),this[e]<<8|this[e+1]};s.prototype.readUint32LE=s.prototype.readUInt32LE=function(e,r){return e=e>>>0,r||w(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+this[e+3]*16777216};s.prototype.readUint32BE=s.prototype.readUInt32BE=function(e,r){return e=e>>>0,r||w(e,4,this.length),this[e]*16777216+(this[e+1]<<16|this[e+2]<<8|this[e+3])};s.prototype.readIntLE=function(e,r,n){e=e>>>0,r=r>>>0,n||w(e,r,this.length);for(var i=this[e],a=1,o=0;++o<r&&(a*=256);)i+=this[e+o]*a;return a*=128,i>=a&&(i-=Math.pow(2,8*r)),i};s.prototype.readIntBE=function(e,r,n){e=e>>>0,r=r>>>0,n||w(e,r,this.length);for(var i=r,a=1,o=this[e+--i];i>0&&(a*=256);)o+=this[e+--i]*a;return a*=128,o>=a&&(o-=Math.pow(2,8*r)),o};s.prototype.readInt8=function(e,r){return e=e>>>0,r||w(e,1,this.length),this[e]&128?(255-this[e]+1)*-1:this[e]};s.prototype.readInt16LE=function(e,r){e=e>>>0,r||w(e,2,this.length);var n=this[e]|this[e+1]<<8;return n&32768?n|4294901760:n};s.prototype.readInt16BE=function(e,r){e=e>>>0,r||w(e,2,this.length);var n=this[e+1]|this[e]<<8;return n&32768?n|4294901760:n};s.prototype.readInt32LE=function(e,r){return e=e>>>0,r||w(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24};s.prototype.readInt32BE=function(e,r){return e=e>>>0,r||w(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]};s.prototype.readFloatLE=function(e,r){return e=e>>>0,r||w(e,4,this.length),B.read(this,e,!0,23,4)};s.prototype.readFloatBE=function(e,r){return e=e>>>0,r||w(e,4,this.length),B.read(this,e,!1,23,4)};s.prototype.readDoubleLE=function(e,r){return e=e>>>0,r||w(e,8,this.length),B.read(this,e,!0,52,8)};s.prototype.readDoubleBE=function(e,r){return e=e>>>0,r||w(e,8,this.length),B.read(this,e,!1,52,8)};function T(t,e,r,n,i,a){if(!s.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>i||e<a)throw new RangeError('"value" argument is out of bounds');if(r+n>t.length)throw new RangeError("Index out of range")}s.prototype.writeUintLE=s.prototype.writeUIntLE=function(e,r,n,i){if(e=+e,r=r>>>0,n=n>>>0,!i){var a=Math.pow(2,8*n)-1;T(this,e,r,n,a,0)}var o=1,l=0;for(this[r]=e&255;++l<n&&(o*=256);)this[r+l]=e/o&255;return r+n};s.prototype.writeUintBE=s.prototype.writeUIntBE=function(e,r,n,i){if(e=+e,r=r>>>0,n=n>>>0,!i){var a=Math.pow(2,8*n)-1;T(this,e,r,n,a,0)}var o=n-1,l=1;for(this[r+o]=e&255;--o>=0&&(l*=256);)this[r+o]=e/l&255;return r+n};s.prototype.writeUint8=s.prototype.writeUInt8=function(e,r,n){return e=+e,r=r>>>0,n||T(this,e,r,1,255,0),this[r]=e&255,r+1};s.prototype.writeUint16LE=s.prototype.writeUInt16LE=function(e,r,n){return e=+e,r=r>>>0,n||T(this,e,r,2,65535,0),this[r]=e&255,this[r+1]=e>>>8,r+2};s.prototype.writeUint16BE=s.prototype.writeUInt16BE=function(e,r,n){return e=+e,r=r>>>0,n||T(this,e,r,2,65535,0),this[r]=e>>>8,this[r+1]=e&255,r+2};s.prototype.writeUint32LE=s.prototype.writeUInt32LE=function(e,r,n){return e=+e,r=r>>>0,n||T(this,e,r,4,4294967295,0),this[r+3]=e>>>24,this[r+2]=e>>>16,this[r+1]=e>>>8,this[r]=e&255,r+4};s.prototype.writeUint32BE=s.prototype.writeUInt32BE=function(e,r,n){return e=+e,r=r>>>0,n||T(this,e,r,4,4294967295,0),this[r]=e>>>24,this[r+1]=e>>>16,this[r+2]=e>>>8,this[r+3]=e&255,r+4};s.prototype.writeIntLE=function(e,r,n,i){if(e=+e,r=r>>>0,!i){var a=Math.pow(2,8*n-1);T(this,e,r,n,a-1,-a)}var o=0,l=1,c=0;for(this[r]=e&255;++o<n&&(l*=256);)e<0&&c===0&&this[r+o-1]!==0&&(c=1),this[r+o]=(e/l>>0)-c&255;return r+n};s.prototype.writeIntBE=function(e,r,n,i){if(e=+e,r=r>>>0,!i){var a=Math.pow(2,8*n-1);T(this,e,r,n,a-1,-a)}var o=n-1,l=1,c=0;for(this[r+o]=e&255;--o>=0&&(l*=256);)e<0&&c===0&&this[r+o+1]!==0&&(c=1),this[r+o]=(e/l>>0)-c&255;return r+n};s.prototype.writeInt8=function(e,r,n){return e=+e,r=r>>>0,n||T(this,e,r,1,127,-128),e<0&&(e=255+e+1),this[r]=e&255,r+1};s.prototype.writeInt16LE=function(e,r,n){return e=+e,r=r>>>0,n||T(this,e,r,2,32767,-32768),this[r]=e&255,this[r+1]=e>>>8,r+2};s.prototype.writeInt16BE=function(e,r,n){return e=+e,r=r>>>0,n||T(this,e,r,2,32767,-32768),this[r]=e>>>8,this[r+1]=e&255,r+2};s.prototype.writeInt32LE=function(e,r,n){return e=+e,r=r>>>0,n||T(this,e,r,4,2147483647,-2147483648),this[r]=e&255,this[r+1]=e>>>8,this[r+2]=e>>>16,this[r+3]=e>>>24,r+4};s.prototype.writeInt32BE=function(e,r,n){return e=+e,r=r>>>0,n||T(this,e,r,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),this[r]=e>>>24,this[r+1]=e>>>16,this[r+2]=e>>>8,this[r+3]=e&255,r+4};function ye(t,e,r,n,i,a){if(r+n>t.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function we(t,e,r,n,i){return e=+e,r=r>>>0,i||ye(t,e,r,4,34028234663852886e22,-34028234663852886e22),B.write(t,e,r,n,23,4),r+4}s.prototype.writeFloatLE=function(e,r,n){return we(this,e,r,!0,n)};s.prototype.writeFloatBE=function(e,r,n){return we(this,e,r,!1,n)};function xe(t,e,r,n,i){return e=+e,r=r>>>0,i||ye(t,e,r,8,17976931348623157e292,-17976931348623157e292),B.write(t,e,r,n,52,8),r+8}s.prototype.writeDoubleLE=function(e,r,n){return xe(this,e,r,!0,n)};s.prototype.writeDoubleBE=function(e,r,n){return xe(this,e,r,!1,n)};s.prototype.copy=function(e,r,n,i){if(!s.isBuffer(e))throw new TypeError("argument should be a Buffer");if(n||(n=0),!i&&i!==0&&(i=this.length),r>=e.length&&(r=e.length),r||(r=0),i>0&&i<n&&(i=n),i===n||e.length===0||this.length===0)return 0;if(r<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw new RangeError("Index out of range");if(i<0)throw new RangeError("sourceEnd out of bounds");i>this.length&&(i=this.length),e.length-r<i-n&&(i=e.length-r+n);var a=i-n;return this===e&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(r,n,i):Uint8Array.prototype.set.call(e,this.subarray(n,i),r),a};s.prototype.fill=function(e,r,n,i){if(typeof e=="string"){if(typeof r=="string"?(i=r,r=0,n=this.length):typeof n=="string"&&(i=n,n=this.length),i!==void 0&&typeof i!="string")throw new TypeError("encoding must be a string");if(typeof i=="string"&&!s.isEncoding(i))throw new TypeError("Unknown encoding: "+i);if(e.length===1){var a=e.charCodeAt(0);(i==="utf8"&&a<128||i==="latin1")&&(e=a)}}else typeof e=="number"?e=e&255:typeof e=="boolean"&&(e=Number(e));if(r<0||this.length<r||this.length<n)throw new RangeError("Out of range index");if(n<=r)return this;r=r>>>0,n=n===void 0?this.length:n>>>0,e||(e=0);var o;if(typeof e=="number")for(o=r;o<n;++o)this[o]=e;else{var l=s.isBuffer(e)?e:s.from(e,i),c=l.length;if(c===0)throw new TypeError('The value "'+e+'" is invalid for argument "value"');for(o=0;o<n-r;++o)this[o+r]=l[o%c]}return this};var dr=/[^+/0-9A-Za-z-_]/g;function gr(t){if(t=t.split("=")[0],t=t.trim().replace(dr,""),t.length<2)return"";for(;t.length%4!==0;)t=t+"=";return t}function Z(t,e){e=e||1/0;for(var r,n=t.length,i=null,a=[],o=0;o<n;++o){if(r=t.charCodeAt(o),r>55295&&r<57344){if(!i){if(r>56319){(e-=3)>-1&&a.push(239,191,189);continue}else if(o+1===n){(e-=3)>-1&&a.push(239,191,189);continue}i=r;continue}if(r<56320){(e-=3)>-1&&a.push(239,191,189),i=r;continue}r=(i-55296<<10|r-56320)+65536}else i&&(e-=3)>-1&&a.push(239,191,189);if(i=null,r<128){if((e-=1)<0)break;a.push(r)}else if(r<2048){if((e-=2)<0)break;a.push(r>>6|192,r&63|128)}else if(r<65536){if((e-=3)<0)break;a.push(r>>12|224,r>>6&63|128,r&63|128)}else if(r<1114112){if((e-=4)<0)break;a.push(r>>18|240,r>>12&63|128,r>>6&63|128,r&63|128)}else throw new Error("Invalid code point")}return a}function mr(t){for(var e=[],r=0;r<t.length;++r)e.push(t.charCodeAt(r)&255);return e}function fr(t,e){for(var r,n,i,a=[],o=0;o<t.length&&!((e-=2)<0);++o)r=t.charCodeAt(o),n=r>>8,i=r%256,a.push(i),a.push(n);return a}function ve(t){return X.toByteArray(gr(t))}function z(t,e,r,n){for(var i=0;i<n&&!(i+r>=e.length||i>=t.length);++i)e[i+r]=t[i];return i}function A(t,e){return t instanceof e||t!=null&&t.constructor!=null&&t.constructor.name!=null&&t.constructor.name===e.name}function ee(t){return t!==t}var hr=function(){for(var t="0123456789abcdef",e=new Array(256),r=0;r<16;++r)for(var n=r*16,i=0;i<16;++i)e[n+i]=t[r]+t[i];return e}()});var Ee=M((Ir,_e)=>{u();var y=_e.exports={},_,E;function re(){throw new Error("setTimeout has not been defined")}function te(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?_=setTimeout:_=re}catch(t){_=re}try{typeof clearTimeout=="function"?E=clearTimeout:E=te}catch(t){E=te}})();function be(t){if(_===setTimeout)return setTimeout(t,0);if((_===re||!_)&&setTimeout)return _=setTimeout,setTimeout(t,0);try{return _(t,0)}catch(e){try{return _.call(null,t,0)}catch(r){return _.call(this,t,0)}}}function yr(t){if(E===clearTimeout)return clearTimeout(t);if((E===te||!E)&&clearTimeout)return E=clearTimeout,clearTimeout(t);try{return E(t)}catch(e){try{return E.call(null,t)}catch(r){return E.call(this,t)}}}var L=[],O=!1,D,j=-1;function wr(){!O||!D||(O=!1,D.length?L=D.concat(L):j=-1,L.length&&ke())}function ke(){if(!O){var t=be(wr);O=!0;for(var e=L.length;e;){for(D=L,L=[];++j<e;)D&&D[j].run();j=-1,e=L.length}D=null,O=!1,yr(t)}}y.nextTick=function(t){var e=new Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)e[r-1]=arguments[r];L.push(new Ae(t,e)),L.length===1&&!O&&be(ke)};function Ae(t,e){this.fun=t,this.array=e}Ae.prototype.run=function(){this.fun.apply(null,this.array)};y.title="browser";y.browser=!0;y.env={};y.argv=[];y.version="";y.versions={};function S(){}y.on=S;y.addListener=S;y.once=S;y.off=S;y.removeListener=S;y.removeAllListeners=S;y.emit=S;y.prependListener=S;y.prependOnceListener=S;y.listeners=function(t){return[]};y.binding=function(t){throw new Error("process.binding is not supported")};y.cwd=function(){return"/"};y.chdir=function(t){throw new Error("process.chdir is not supported")};y.umask=function(){return 0}});var m,f,Rr,u=Pe(()=>{m=V(Te()),f=V(Ee()),Rr=function(t){function e(){var n=this||self;return delete t.prototype.__magic__,n}if(typeof globalThis=="object")return globalThis;if(this)return e();t.defineProperty(t.prototype,"__magic__",{configurable:!0,get:e});var r=__magic__;return r}(Object)});var br={};Me(br,{esdtNftUnwrapper:()=>vr,mexUnwrapper:()=>Tr,stakeUnwrapper:()=>xr});module.exports=Ge(br);u();u();u();var xr=t=>{var e,r,n,i,a,o,l,c,d,g,p,x;switch(t.name){case"delegate":case"stake":return["Delegate",{egldValue:(e=t.arguments)==null?void 0:e.value},"to staking provider",{providerName:(r=t.arguments)==null?void 0:r.providerName,providerAvatar:(n=t.arguments)==null?void 0:n.providerAvatar}];case"unDelegate":return["Undelegate",{egldValue:(i=t.arguments)==null?void 0:i.value},"from staking provider",{providerName:(a=t.arguments)==null?void 0:a.providerName,providerAvatar:(o=t.arguments)==null?void 0:o.providerAvatar}];case"claimRewards":return["Claim rewards from staking provider",{providerName:(l=t.arguments)==null?void 0:l.providerName,providerAvatar:(c=t.arguments)==null?void 0:c.providerAvatar}];case"reDelegateRewards":return["Redelegate rewards from staking provider",{providerName:(d=t.arguments)==null?void 0:d.providerName,providerAvatar:(g=t.arguments)==null?void 0:g.providerAvatar}];case"withdraw":return["Withdraw from staking provider",{providerName:(p=t.arguments)==null?void 0:p.providerName,providerAvatar:(x=t.arguments)==null?void 0:x.providerAvatar}];default:return[]}};u();var vr=t=>{var e,r;switch(t.name){case"transfer":return["Transfer",{token:(e=t.arguments)==null?void 0:e.transfers},"to",{address:(r=t.arguments)==null?void 0:r.receiver}];default:return[]}};u();var Fe=V(require("bignumber.js"));u();u();u();u();u();u();u();u();u();u();u();u();var ne={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:Re,egldLabel:rt}=ne["devnet"],{chainId:Le,egldLabel:tt}=ne["testnet"],{chainId:Se,egldLabel:nt}=ne["mainnet"];var it={["devnet"]:Re,["testnet"]:Le,["mainnet"]:Se},at={[Re]:"devnet",[Le]:"testnet",[Se]:"mainnet"};u();u();u();u();var I=require("@multiversx/sdk-web-wallet-provider");var Ne="0";var Tr=t=>{var e,r,n,i,a,o,l,c,d,g,p,x;switch(t.name){case"claimLockedAssets":return["Claim locked assets"];case"enterFarm":case"enterFarmProxy":return["Enter farm with",{token:(e=t.arguments)==null?void 0:e.transfers}];case"enterFarmAndLockRewards":case"enterFarmAndLockRewardsProxy":return["Enter farm and lock rewards with",{token:(r=t.arguments)==null?void 0:r.transfers}];case"exitFarm":case"exitFarmProxy":return["Exit farm with",{token:(n=t.arguments)==null?void 0:n.transfers}];case"claimRewards":case"claimRewardsProxy":return["Claim rewards",{token:(i=t.arguments)==null?void 0:i.transfers}];case"compoundRewards":case"compoundRewardsProxy":return["Reinvest rewards",{token:(a=t.arguments)==null?void 0:a.transfers}];case"swapTokensFixedInput":case"swap":return t.description?[t.description]:[];case"swapTokensFixedOutput":return t.description?[t.description]:[];case"addLiquidity":case"addLiquidityProxy":return["Added liquidity for",{token:[(o=t.arguments)==null?void 0:o.transfers[0]]},"and",{token:[(l=t.arguments)==null?void 0:l.transfers[1]]}];case"removeLiquidity":case"removeLiquidityProxy":return["Removed liquidity with ",{token:(c=t.arguments)==null?void 0:c.transfers}];case"mergeLockedAssetTokens":let v=Ne;if((d=t.arguments)!=null&&d.transfers){let N=t.arguments.transfers.map(({value:H})=>H);v=Fe.default.sum.apply(null,N).toString(10)}return[`Merge ${(g=t.arguments)==null?void 0:g.transfers.length}`,{tokenNoLink:[(p=t.arguments)==null?void 0:p.transfers[0]]},"positions into a single",{tokenNoLink:[(x=t.arguments)==null?void 0:x.transfers[0]]},"position of value",{value:v}];case"wrapEgld":case"unwrapEgld":default:return t.description?[t.description]:[]}};0&&(module.exports={esdtNftUnwrapper,mexUnwrapper,stakeUnwrapper});
|
|
2
2
|
/*!
|
|
3
3
|
* The buffer module from node.js, for the browser.
|
|
4
4
|
*
|