@multiversx/sdk-dapp 3.0.11 → 3.0.12
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/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/NotificationModal/NotificationModal.js +1 -1
- package/UI/NotificationModal/index.js +1 -1
- package/UI/SignTransactionsModals/SignTransactionsModals.js +1 -1
- package/UI/SignTransactionsModals/SignWithCrossWindowWalletModal/SignWithCrossWindowWalletModal.js +1 -1
- package/UI/SignTransactionsModals/SignWithCrossWindowWalletModal/index.js +1 -1
- package/UI/SignTransactionsModals/SignWithDeviceModal/SignStep.js +1 -1
- package/UI/SignTransactionsModals/SignWithDeviceModal/SignWithDeviceModal.js +1 -1
- package/UI/SignTransactionsModals/SignWithDeviceModal/components/SignStepBody.js +1 -1
- package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmAmount/ConfirmAmount.js +1 -1
- package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmAmount/components/ConfirmAmountData/ConfirmAmountData.js +1 -1
- package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmAmount/components/ConfirmAmountData/index.js +1 -1
- package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmAmount/components/ConfirmAmountNftSft/ConfirmAmountNftSft.js +1 -1
- package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmAmount/components/ConfirmAmountNftSft/index.js +1 -1
- package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmAmount/components/index.js +1 -1
- package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmAmount/index.js +1 -1
- package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmFee/ConfirmFee.js +1 -1
- package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmFee/index.js +1 -1
- package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmReceiver/ConfirmReceiver.js +1 -1
- package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmReceiver/index.js +1 -1
- package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/index.js +1 -1
- package/UI/SignTransactionsModals/SignWithDeviceModal/components/index.js +1 -1
- package/UI/SignTransactionsModals/SignWithDeviceModal/index.js +1 -1
- package/UI/SignTransactionsModals/SignWithExtensionModal/SignWithExtensionModal.js +1 -1
- package/UI/SignTransactionsModals/SignWithExtensionModal/index.js +1 -1
- package/UI/SignTransactionsModals/SignWithExtraModal/SignWithExtraModal.js +1 -1
- package/UI/SignTransactionsModals/SignWithExtraModal/index.js +1 -1
- package/UI/SignTransactionsModals/SignWithIframeModal/SignWithIframeModal.js +1 -1
- package/UI/SignTransactionsModals/SignWithIframeModal/index.js +1 -1
- package/UI/SignTransactionsModals/SignWithLedgerModal/LedgerGuardianSigningModalError.js +1 -1
- package/UI/SignTransactionsModals/SignWithLedgerModal/SignWithLedgerModal.js +1 -1
- package/UI/SignTransactionsModals/SignWithLedgerModal/index.js +1 -1
- package/UI/SignTransactionsModals/SignWithMetamaskModal/SignWithMetamaskModal.js +1 -1
- package/UI/SignTransactionsModals/SignWithMetamaskModal/index.js +1 -1
- package/UI/SignTransactionsModals/SignWithPasskeyModal/SignWithPasskeyModal.js +1 -1
- package/UI/SignTransactionsModals/SignWithPasskeyModal/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/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/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/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/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/TransactionInfoGasUsed/TransactionInfoGasUsed.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoGasUsed/index.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoMethod/TransactionInfoMethod.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoMethod/index.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoMiniblock/TransactionInfoMiniblock.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoMiniblock/index.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoNonce/TransactionInfoNonce.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoNonce/index.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoScResults/TransactionInfoScResults.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoScResults/index.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoStatus/TransactionInfoStatus.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoStatus/index.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoTo/TransactionInfoTo.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoTo/index.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoTokenOperations/TransactionInfoTokenOperations.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoTokenOperations/index.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoValue/TransactionInfoValue.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoValue/index.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/index.js +1 -1
- package/UI/TransactionInfo/index.js +1 -1
- package/UI/TransactionsTable/TransactionsTable.js +1 -1
- package/UI/TransactionsTable/components/AccountName.js +1 -1
- package/UI/TransactionsTable/components/LockedTokenAddressIcon.js +1 -1
- package/UI/TransactionsTable/components/TransactionHash.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/CustomComponentToast.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/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/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/TransactionToastGuard.js +1 -1
- package/UI/TransactionsToastList/components/index.js +1 -1
- package/UI/TransactionsToastList/index.js +1 -1
- package/UI/Trim/Trim.js +1 -1
- package/UI/Trim/index.js +1 -1
- package/UI/extension/ExtensionLoginButton/ExtensionLoginButton.js +1 -1
- package/UI/extension/ExtensionLoginButton/index.js +1 -1
- package/UI/iframe/IframeLoginButton/IframeButton.js +1 -1
- package/UI/iframe/IframeLoginButton/index.js +1 -1
- package/UI/index.js +1 -1
- package/UI/ledger/LedgerLoginButton/LedgerLoginButton.js +1 -1
- package/UI/ledger/LedgerLoginButton/index.js +1 -1
- package/UI/ledger/LedgerLoginContainer/AddressRow/AddressRow.js +1 -1
- package/UI/ledger/LedgerLoginContainer/AddressRow/index.js +1 -1
- package/UI/ledger/LedgerLoginContainer/AddressTable/AddressTable.js +1 -1
- package/UI/ledger/LedgerLoginContainer/AddressTable/index.js +1 -1
- package/UI/ledger/LedgerLoginContainer/ConfirmAddress/ConfirmAddress.js +1 -1
- package/UI/ledger/LedgerLoginContainer/ConfirmAddress/index.js +1 -1
- package/UI/ledger/LedgerLoginContainer/LedgerLoginContainer.js +1 -1
- package/UI/ledger/LedgerLoginContainer/LedgerLoginContent/LedgerLoginContent.js +1 -1
- package/UI/ledger/LedgerLoginContainer/LedgerLoginContent/index.js +1 -1
- package/UI/ledger/LedgerLoginContainer/LedgerLoginContentBody/LedgerLoginContentBody.js +1 -1
- package/UI/ledger/LedgerLoginContainer/LedgerLoginContentBody/index.js +1 -1
- package/UI/ledger/LedgerLoginContainer/LedgerScamPhishingAlert/LedgerScamPhishingAlert.js +1 -1
- package/UI/ledger/LedgerLoginContainer/LedgerScamPhishingAlert/index.js +1 -1
- package/UI/ledger/LedgerLoginContainer/index.js +1 -1
- package/UI/ledger/index.js +1 -1
- package/UI/metamask/MetamaskLoginButton/MetamaskLoginButton.js +1 -1
- package/UI/metamask/MetamaskLoginButton/index.js +1 -1
- package/UI/operaWallet/OperaWalletLoginButton/OperaWalletLoginButton.js +1 -1
- package/UI/operaWallet/OperaWalletLoginButton/index.js +1 -1
- package/UI/pages/UnlockPage/index.js +1 -1
- package/UI/pages/index.js +1 -1
- package/UI/passkey/PasskeyLoginButton/PasskeyLoginButton.js +1 -1
- package/UI/passkey/PasskeyLoginButton/index.js +1 -1
- package/UI/walletConnect/WalletConnectLoginButton/WalletConnectLoginButton.js +1 -1
- package/UI/walletConnect/WalletConnectLoginButton/index.js +1 -1
- package/UI/walletConnect/WalletConnectLoginContainer/WalletConnectLoginContainer.js +1 -1
- package/UI/walletConnect/WalletConnectLoginContainer/WalletConnectLoginContent/WalletConnectLoginContent.js +1 -1
- package/UI/walletConnect/WalletConnectLoginContainer/WalletConnectLoginContent/index.js +1 -1
- package/UI/walletConnect/WalletConnectLoginContainer/index.js +1 -1
- package/UI/walletConnect/index.js +1 -1
- package/UI/webWallet/CrossWindowLoginButton/CrossWindowLoginButton.js +1 -1
- package/UI/webWallet/CrossWindowLoginButton/index.js +1 -1
- package/UI/webWallet/WebWalletLoginButton/WebWalletLoginButton.js +1 -1
- package/UI/webWallet/WebWalletLoginButton/index.js +1 -1
- package/UI/webWallet/XaliasCrossWindowLoginButton/XaliasCrossWindowLoginButton.js +1 -1
- package/UI/webWallet/XaliasCrossWindowLoginButton/index.js +1 -1
- package/UI/webWallet/XaliasLoginButton/XaliasLoginButton.js +1 -1
- package/UI/webWallet/XaliasLoginButton/index.js +1 -1
- package/__chunks__/{chunk-M7PXVQHW.js → chunk-23TR72AJ.js} +2 -2
- package/__chunks__/{chunk-6RHOCIBH.js → chunk-25ZL6S3E.js} +2 -2
- package/__chunks__/{chunk-CQ7KR24Z.js → chunk-2P5FEA6B.js} +2 -2
- package/__chunks__/{chunk-Q33CK6VK.js → chunk-2TLKLXT5.js} +2 -2
- package/__chunks__/{chunk-CYGAXSI7.js → chunk-2VLEWHUD.js} +2 -2
- package/__chunks__/{chunk-CAYP77EJ.js → chunk-2WQV5U7A.js} +2 -2
- package/__chunks__/{chunk-OGBDZWVY.js → chunk-2X4XG6VV.js} +2 -2
- package/__chunks__/{chunk-R367SL3O.js → chunk-37MLJ3F2.js} +2 -2
- package/__chunks__/{chunk-RCJOAPSJ.js → chunk-3CWG3L5H.js} +2 -2
- package/__chunks__/{chunk-AVX3AQ3N.js → chunk-3QD22IJC.js} +2 -2
- package/__chunks__/{chunk-IJZFZDM6.js → chunk-3QPR2OKH.js} +2 -2
- package/__chunks__/{chunk-MH26UPTH.js → chunk-3URNFJXC.js} +2 -2
- package/__chunks__/{chunk-IKQBLGWE.js → chunk-3WKVDHOJ.js} +2 -2
- package/__chunks__/{chunk-NU5YMIPG.js → chunk-3XWE23KN.js} +2 -2
- package/__chunks__/{chunk-GR2NJOJO.js → chunk-47HU22VO.js} +2 -2
- package/__chunks__/{chunk-6Q7LH6TJ.js → chunk-4CCWWYHM.js} +2 -2
- package/__chunks__/{chunk-MKAVPIDK.js → chunk-4HJZSGDV.js} +2 -2
- package/__chunks__/{chunk-WZZN5TQS.js → chunk-4HR4TSRR.js} +2 -2
- package/__chunks__/{chunk-755FPXUR.js → chunk-4HW5KHXC.js} +2 -2
- package/__chunks__/{chunk-IG64EYIP.js → chunk-4JGFPQQV.js} +2 -2
- package/__chunks__/{chunk-PHSIO5JD.js → chunk-4R275DSZ.js} +2 -2
- package/__chunks__/{chunk-AWIIFIGE.js → chunk-4RSXWZQI.js} +2 -2
- package/__chunks__/chunk-4SH2VEBP.js +2 -0
- package/__chunks__/{chunk-CRKFA322.js → chunk-4WW2VP3I.js} +2 -2
- package/__chunks__/{chunk-I5OU3T4Z.js → chunk-4XDE6ZMX.js} +2 -2
- package/__chunks__/{chunk-K76ZDYMR.js → chunk-4XDSHENP.js} +2 -2
- package/__chunks__/{chunk-VCXU4BEF.js → chunk-4XEZC76H.js} +2 -2
- package/__chunks__/{chunk-FC5QJEM6.js → chunk-5EE3NC65.js} +2 -2
- package/__chunks__/{chunk-OJJJEDC4.js → chunk-5K2Z2EOE.js} +2 -2
- package/__chunks__/{chunk-LF4A4RDD.js → chunk-5LNGLCJE.js} +2 -2
- package/__chunks__/{chunk-NZHCPUVP.js → chunk-5OWK4AEM.js} +2 -2
- package/__chunks__/{chunk-UROYWMSW.js → chunk-65RY5GUG.js} +2 -2
- package/__chunks__/{chunk-QRV3MPEI.js → chunk-67PLGQCS.js} +2 -2
- package/__chunks__/{chunk-SHVHMC4R.js → chunk-6DE5KDG7.js} +2 -2
- package/__chunks__/{chunk-CWZNQT7N.js → chunk-6IU3GZPK.js} +2 -2
- package/__chunks__/{chunk-MAYLTC27.js → chunk-6KWPAOPC.js} +2 -2
- package/__chunks__/chunk-6QWLOWYF.js +2 -0
- package/__chunks__/{chunk-3TQPQIDY.js → chunk-6S2TSF4K.js} +2 -2
- package/__chunks__/{chunk-YSJ5ZJGW.js → chunk-6SZ6AD7Z.js} +2 -2
- package/__chunks__/{chunk-2BO3H3A4.js → chunk-6TS5SMXS.js} +2 -2
- package/__chunks__/{chunk-FV72L4PT.js → chunk-6TWABVV2.js} +2 -2
- package/__chunks__/{chunk-FZJUXFID.js → chunk-7AWVWBKU.js} +2 -2
- package/__chunks__/{chunk-Q2WWJ6BA.js → chunk-7EWVUYJE.js} +2 -2
- package/__chunks__/{chunk-ZH2LQEMA.js → chunk-7NCEIDLQ.js} +2 -2
- package/__chunks__/{chunk-KNZFMGKO.js → chunk-7RJ7DFFY.js} +2 -2
- package/__chunks__/{chunk-NRBWXMDE.js → chunk-7WJU5VA4.js} +2 -2
- package/__chunks__/chunk-A36SZE4E.js +2 -0
- package/__chunks__/{chunk-BZRFIYVY.js → chunk-A3AV6F32.js} +2 -2
- package/__chunks__/{chunk-JQROPBOH.js → chunk-AIPPMSAN.js} +2 -2
- package/__chunks__/chunk-AMFDMMLL.js +2 -0
- package/__chunks__/{chunk-L6WDI3BS.js → chunk-AMNKDXXK.js} +2 -2
- package/__chunks__/{chunk-TGBIY22B.js → chunk-ATAPXNJL.js} +2 -2
- package/__chunks__/{chunk-KW5XEOIE.js → chunk-AXZCKYDZ.js} +2 -2
- package/__chunks__/{chunk-U4DOT2KY.js → chunk-B4LTWFE5.js} +2 -2
- package/__chunks__/{chunk-SZRJGC5B.js → chunk-BADXFZOX.js} +2 -2
- package/__chunks__/{chunk-32MXVQMR.js → chunk-BCJFU72L.js} +2 -2
- package/__chunks__/{chunk-N4F57VT3.js → chunk-BK7MNMUF.js} +2 -2
- package/__chunks__/{chunk-536MTT34.js → chunk-BMDPAAOV.js} +2 -2
- package/__chunks__/{chunk-VJOVB2LG.js → chunk-BPTDVYWL.js} +2 -2
- package/__chunks__/chunk-BSHZKJUJ.js +2 -0
- package/__chunks__/{chunk-JEWD45ZA.js → chunk-CB2E7VT4.js} +2 -2
- package/__chunks__/{chunk-PESD6A3E.js → chunk-CB4DNPAB.js} +2 -2
- package/__chunks__/{chunk-UZQIN5ED.js → chunk-CBOFCWMH.js} +2 -2
- package/__chunks__/{chunk-UPRM463D.js → chunk-CCIQZSMZ.js} +2 -2
- package/__chunks__/{chunk-L5RMHDD6.js → chunk-CJE3QMMX.js} +2 -2
- package/__chunks__/{chunk-BEP2X3CM.js → chunk-COYJTB6O.js} +2 -2
- package/__chunks__/{chunk-LXV2X3KY.js → chunk-CRY6BCHL.js} +2 -2
- package/__chunks__/{chunk-QC2BD4G7.js → chunk-CV6HO7PG.js} +2 -2
- package/__chunks__/chunk-DADEVIML.js +2 -0
- package/__chunks__/{chunk-57M7EVQS.js → chunk-DAVJOBSG.js} +2 -2
- package/__chunks__/{chunk-CQWTFZYI.js → chunk-DE7RITWC.js} +2 -2
- package/__chunks__/{chunk-TKZDFGIW.js → chunk-DNT4LNZ3.js} +2 -2
- package/__chunks__/{chunk-7U756T66.js → chunk-DRXG5VOV.js} +2 -2
- package/__chunks__/{chunk-34OAFTNK.js → chunk-E4Y7ZD2R.js} +2 -2
- package/__chunks__/chunk-ECFOGIJA.js +2 -0
- package/__chunks__/{chunk-QQUANNU2.js → chunk-ECINGN6R.js} +2 -2
- package/__chunks__/{chunk-5H7SLGE7.js → chunk-EEIAGHXT.js} +2 -2
- package/__chunks__/{chunk-XQ7P6XTS.js → chunk-ELW3QOST.js} +2 -2
- package/__chunks__/{chunk-Q46WA2IT.js → chunk-EQJJAVIM.js} +2 -2
- package/__chunks__/{chunk-2FCMHZJ3.js → chunk-F3BS7OKJ.js} +2 -2
- package/__chunks__/chunk-F6I27UY2.js +2 -0
- package/__chunks__/{chunk-3YNPS2RL.js → chunk-FEHNT2PV.js} +2 -2
- package/__chunks__/{chunk-JUD3SVIC.js → chunk-FFV746HP.js} +2 -2
- package/__chunks__/{chunk-MQEP3TR3.js → chunk-FJG565EX.js} +2 -2
- package/__chunks__/{chunk-UKPODV2T.js → chunk-FKNCSOEA.js} +2 -2
- package/__chunks__/{chunk-DUGJVY2A.js → chunk-FM6N2Y7M.js} +2 -2
- package/__chunks__/{chunk-32II2CJ3.js → chunk-FMNZ6RPB.js} +2 -2
- package/__chunks__/chunk-FOO4B2QA.js +2 -0
- package/__chunks__/{chunk-MVWF2BZ5.js → chunk-FSJE4CGU.js} +2 -2
- package/__chunks__/{chunk-UJA2T5DU.js → chunk-G2CXRZ4R.js} +2 -2
- package/__chunks__/{chunk-OKK66CYS.js → chunk-G4AIUC5A.js} +2 -2
- package/__chunks__/{chunk-SIB2TGMI.js → chunk-GCASIIXX.js} +2 -2
- package/__chunks__/{chunk-TCQZWMOZ.js → chunk-GEKU6VKO.js} +2 -2
- package/__chunks__/{chunk-E7KRGOJM.js → chunk-GFSCRQ3Z.js} +2 -2
- package/__chunks__/{chunk-VIXRYO5M.js → chunk-GKC62JCZ.js} +2 -2
- package/__chunks__/{chunk-6W5MKTNI.js → chunk-GQJKENCD.js} +2 -2
- package/__chunks__/{chunk-PB7I7YVW.js → chunk-H2DHZDKF.js} +2 -2
- package/__chunks__/{chunk-5ASLZSTQ.js → chunk-HAIS7EZF.js} +2 -2
- package/__chunks__/chunk-HAY5YI54.js +2 -0
- package/__chunks__/{chunk-NPJXLKC2.js → chunk-HH7LDERC.js} +2 -2
- package/__chunks__/{chunk-X3HQCV4B.js → chunk-HOM36NQU.js} +2 -2
- package/__chunks__/{chunk-77MMEHX6.js → chunk-I27X233U.js} +2 -2
- package/__chunks__/{chunk-EUU5TQ4S.js → chunk-I52TQTNR.js} +2 -2
- package/__chunks__/chunk-IDLUXNC3.js +2 -0
- package/__chunks__/{chunk-ZHC263TM.js → chunk-IF2FPKDL.js} +2 -2
- package/__chunks__/{chunk-QZ4ARQUD.js → chunk-IPCYSM2M.js} +2 -2
- package/__chunks__/{chunk-YANJPRTD.js → chunk-IRAI5BU5.js} +2 -2
- package/__chunks__/{chunk-2STCTDXA.js → chunk-ITZANLLL.js} +2 -2
- package/__chunks__/{chunk-EAZEEFIE.js → chunk-J2GZDYXS.js} +2 -2
- package/__chunks__/{chunk-H3ORRJ7K.js → chunk-J56GJVS3.js} +2 -2
- package/__chunks__/{chunk-YEKRLOIG.js → chunk-J62D43YU.js} +2 -2
- package/__chunks__/{chunk-RUNXYX45.js → chunk-JDOIBE2Y.js} +2 -2
- package/__chunks__/{chunk-73RDDHL6.js → chunk-JHHPND52.js} +2 -2
- package/__chunks__/{chunk-LBZUJ63X.js → chunk-JHQY6DVU.js} +2 -2
- package/__chunks__/{chunk-5KNGGIXI.js → chunk-JI6HLHH7.js} +2 -2
- package/__chunks__/chunk-JKNPWJCY.js +2 -0
- package/__chunks__/{chunk-UHFLI5XY.js → chunk-JNM6MKSD.js} +2 -2
- package/__chunks__/{chunk-5GYK6NRP.js → chunk-JNSOCUW4.js} +2 -2
- package/__chunks__/{chunk-F64VH6ES.js → chunk-JOHMTVJB.js} +2 -2
- package/__chunks__/{chunk-USRLEA4J.js → chunk-JWYGXM3K.js} +2 -2
- package/__chunks__/{chunk-IKGXRBQW.js → chunk-K5UTRQHL.js} +2 -2
- package/__chunks__/{chunk-WUIMD22M.js → chunk-K6EOSUX7.js} +2 -2
- package/__chunks__/{chunk-WQHYCXCM.js → chunk-KEK2OHJC.js} +2 -2
- package/__chunks__/{chunk-YAWPRUT3.js → chunk-KI2QBUCP.js} +2 -2
- package/__chunks__/chunk-KLAWE6UG.js +2 -0
- package/__chunks__/{chunk-HBBB7SVI.js → chunk-KMIVNF2B.js} +2 -2
- package/__chunks__/{chunk-Z5HI6RLG.js → chunk-KSYGEPZV.js} +2 -2
- package/__chunks__/{chunk-7DAGL6IJ.js → chunk-KYKTCGWW.js} +2 -2
- package/__chunks__/{chunk-CQFRQI7T.js → chunk-L7ZFQGXT.js} +2 -2
- package/__chunks__/{chunk-BYULLKGO.js → chunk-LH36N654.js} +2 -2
- package/__chunks__/{chunk-BUSPFVTE.js → chunk-LH5BLEM7.js} +2 -2
- package/__chunks__/{chunk-7CFCVJNF.js → chunk-LJZTD3TK.js} +2 -2
- package/__chunks__/{chunk-VU5NHCBQ.js → chunk-LNMZUYLT.js} +2 -2
- package/__chunks__/{chunk-NOR5RGAS.js → chunk-MFZECOGD.js} +2 -2
- package/__chunks__/{chunk-T4GNVC3N.js → chunk-MLMXP4XO.js} +2 -2
- package/__chunks__/{chunk-PLI4KU46.js → chunk-MMZW67QD.js} +2 -2
- package/__chunks__/{chunk-DC3BDQXT.js → chunk-MRY6WEJW.js} +2 -2
- package/__chunks__/{chunk-DCXUDHTZ.js → chunk-MY45YBVN.js} +2 -2
- package/__chunks__/{chunk-C2XF7W4Y.js → chunk-MYVGJ4KJ.js} +2 -2
- package/__chunks__/{chunk-6S4V7EUO.js → chunk-N2PAKXGN.js} +2 -2
- package/__chunks__/{chunk-GRXKAZ77.js → chunk-N337QEJ3.js} +2 -2
- package/__chunks__/{chunk-OLVSBW6Z.js → chunk-N3RD47CA.js} +2 -2
- package/__chunks__/{chunk-L36LK4D5.js → chunk-NHVXKWOR.js} +2 -2
- package/__chunks__/chunk-NKP5YPI4.js +2 -0
- package/__chunks__/{chunk-RNO4FHDF.js → chunk-NLVIHRY3.js} +2 -2
- package/__chunks__/{chunk-KV7Y3I64.js → chunk-NQJLEG2A.js} +2 -2
- package/__chunks__/{chunk-5663VCTX.js → chunk-NVWTW73U.js} +2 -2
- package/__chunks__/{chunk-F7YICR25.js → chunk-O2AUY4K6.js} +2 -2
- package/__chunks__/{chunk-LOMT2QXR.js → chunk-OEQKQBHV.js} +2 -2
- package/__chunks__/{chunk-QGZBICGM.js → chunk-OGDZBKNA.js} +2 -2
- package/__chunks__/chunk-OPRIP3CY.js +2 -0
- package/__chunks__/{chunk-BLY3ZBLN.js → chunk-OSBBSAK3.js} +2 -2
- package/__chunks__/{chunk-VGFKGBAM.js → chunk-OUSEC5GA.js} +2 -2
- package/__chunks__/chunk-PBIRD6SC.js +2 -0
- package/__chunks__/{chunk-CEVQE35T.js → chunk-PCTOOYEV.js} +2 -2
- package/__chunks__/{chunk-KFKCISF3.js → chunk-PPZL5AFE.js} +2 -2
- package/__chunks__/chunk-Q2LMDOK4.js +2 -0
- package/__chunks__/{chunk-RRN4UCCY.js → chunk-Q2YJHIDN.js} +2 -2
- package/__chunks__/{chunk-A744KMHC.js → chunk-Q6T3AH3K.js} +2 -2
- package/__chunks__/{chunk-MVHLZVMY.js → chunk-QMI3KSPB.js} +2 -2
- package/__chunks__/{chunk-F25TNGFW.js → chunk-QOKG7MQI.js} +2 -2
- package/__chunks__/{chunk-77KYOKKC.js → chunk-QORKTLT2.js} +2 -2
- package/__chunks__/{chunk-ZGO45QH6.js → chunk-QRBB2SM7.js} +2 -2
- package/__chunks__/{chunk-MRG43J3U.js → chunk-R3BBSWOV.js} +2 -2
- package/__chunks__/{chunk-OW23M4HN.js → chunk-R3FNJSQI.js} +2 -2
- package/__chunks__/{chunk-O43OMFYE.js → chunk-R4RUPXI3.js} +2 -2
- package/__chunks__/{chunk-WPWPG5LF.js → chunk-R76RP7IU.js} +2 -2
- package/__chunks__/{chunk-HRPKFRNL.js → chunk-RF4DZS4N.js} +2 -2
- package/__chunks__/{chunk-XJTLGDZK.js → chunk-RMJTLH3A.js} +2 -2
- package/__chunks__/{chunk-QMLN642B.js → chunk-RNI2BJ2Q.js} +2 -2
- package/__chunks__/{chunk-BQJREYR5.js → chunk-RO4UCCUR.js} +2 -2
- package/__chunks__/{chunk-G42O2PHI.js → chunk-RXMWMFOW.js} +2 -2
- package/__chunks__/{chunk-CUGULQR2.js → chunk-RY3K34JD.js} +2 -2
- package/__chunks__/{chunk-IQTZT235.js → chunk-RY7UFZSG.js} +2 -2
- package/__chunks__/{chunk-C243OR2M.js → chunk-RYRGZD4J.js} +2 -2
- package/__chunks__/{chunk-KFYYHQW2.js → chunk-SBI53RRN.js} +2 -2
- package/__chunks__/chunk-SBQF4BUK.js +2 -0
- package/__chunks__/{chunk-4TSBOPCC.js → chunk-SEBRATCG.js} +2 -2
- package/__chunks__/{chunk-SGX2FP6L.js → chunk-SGKBOIU5.js} +2 -2
- package/__chunks__/{chunk-7T4RV2SE.js → chunk-SIQY55FF.js} +2 -2
- package/__chunks__/{chunk-XNDPJ4TZ.js → chunk-SNECMDCH.js} +2 -2
- package/__chunks__/{chunk-YOP6W6FX.js → chunk-SPPOJOPL.js} +2 -2
- package/__chunks__/{chunk-ODNMVA7S.js → chunk-SXJVXIUD.js} +2 -2
- package/__chunks__/{chunk-CRHAOWL6.js → chunk-SZ3ESUQN.js} +2 -2
- package/__chunks__/{chunk-SGXA35GW.js → chunk-T2AUFYE3.js} +2 -2
- package/__chunks__/{chunk-2LM6VL2U.js → chunk-T5CFM2QY.js} +2 -2
- package/__chunks__/{chunk-CJOYAXR6.js → chunk-T5FCSA7N.js} +2 -2
- package/__chunks__/{chunk-JNUYKPPB.js → chunk-T5RK5BUP.js} +2 -2
- package/__chunks__/{chunk-YITHAPWP.js → chunk-TAQG357E.js} +2 -2
- package/__chunks__/{chunk-CXTATLNL.js → chunk-TFW7LSRX.js} +2 -2
- package/__chunks__/{chunk-WD723L2N.js → chunk-THZRRHSZ.js} +2 -2
- package/__chunks__/{chunk-QNMYZ3RM.js → chunk-TJRVK3UU.js} +2 -2
- package/__chunks__/{chunk-77VYVSPJ.js → chunk-TRSGUUCI.js} +2 -2
- package/__chunks__/{chunk-QZCZSEKK.js → chunk-TVEOKFWE.js} +2 -2
- package/__chunks__/{chunk-NWE4YSDQ.js → chunk-TYCTG4C4.js} +2 -2
- package/__chunks__/{chunk-EHHOHCEP.js → chunk-U2PE7CQP.js} +2 -2
- package/__chunks__/{chunk-CSN6QIDU.js → chunk-U4KFTJTY.js} +2 -2
- package/__chunks__/{chunk-ZWFDVX75.js → chunk-U4RJ4K45.js} +2 -2
- package/__chunks__/{chunk-2CJT4K3M.js → chunk-U7MLV2BW.js} +2 -2
- package/__chunks__/{chunk-NJ7DXG4S.js → chunk-UC735YPR.js} +2 -2
- package/__chunks__/{chunk-DLX3CQR5.js → chunk-UN4MARV3.js} +2 -2
- package/__chunks__/{chunk-564NV6F7.js → chunk-UN4REUZC.js} +2 -2
- package/__chunks__/{chunk-TWUAOACP.js → chunk-UNPQWGON.js} +2 -2
- package/__chunks__/{chunk-VAKTLMS2.js → chunk-URYLYTGJ.js} +2 -2
- package/__chunks__/{chunk-Y667HOJ4.js → chunk-UTL7U5UI.js} +2 -2
- package/__chunks__/{chunk-JMAHQ2BL.js → chunk-V2MJ6MFL.js} +2 -2
- package/__chunks__/{chunk-LAQHUF5U.js → chunk-V4BNAT4J.js} +2 -2
- package/__chunks__/{chunk-HYMCGUQ6.js → chunk-VFCAMANS.js} +2 -2
- package/__chunks__/{chunk-ZDHIL7U6.js → chunk-W6STDO6M.js} +2 -2
- package/__chunks__/{chunk-2QDKJUEV.js → chunk-WCLIA6EF.js} +2 -2
- package/__chunks__/{chunk-ESGOJKAO.js → chunk-WCPIQW67.js} +2 -2
- package/__chunks__/chunk-WFXYMXKM.js +2 -0
- package/__chunks__/{chunk-EQMMGHTK.js → chunk-WKEFNTGY.js} +2 -2
- package/__chunks__/{chunk-7TVDOR7N.js → chunk-X4QYLOZQ.js} +2 -2
- package/__chunks__/{chunk-BRQ3LLIQ.js → chunk-XDFXGTHL.js} +2 -2
- package/__chunks__/{chunk-MKQWG7BY.js → chunk-XMWMUGXP.js} +2 -2
- package/__chunks__/{chunk-XL5J5E3M.js → chunk-XPKYHPLW.js} +2 -2
- package/__chunks__/{chunk-VZMFJ3L6.js → chunk-Y23GX6IE.js} +2 -2
- package/__chunks__/{chunk-3TICMVZV.js → chunk-Y7RTER64.js} +2 -2
- package/__chunks__/{chunk-A6PXX4VJ.js → chunk-Y7S4LXWV.js} +2 -2
- package/__chunks__/{chunk-I36KJHVJ.js → chunk-YAPGMSYD.js} +2 -2
- package/__chunks__/chunk-YJVO66GP.js +2 -0
- package/__chunks__/{chunk-PDAULZTU.js → chunk-YJVYJ7QJ.js} +2 -2
- package/__chunks__/{chunk-2EW3XTFM.js → chunk-YK65SDM7.js} +2 -2
- package/__chunks__/{chunk-LI4YULOB.js → chunk-YLBCIDEH.js} +2 -2
- package/__chunks__/{chunk-X4NFMYKP.js → chunk-YMLBMHXB.js} +2 -2
- package/__chunks__/{chunk-UY2G6BM4.js → chunk-YOMCAFFL.js} +2 -2
- package/__chunks__/{chunk-NIC5DFYV.js → chunk-ZA7GYSFY.js} +2 -2
- package/__chunks__/{chunk-HNBPEVML.js → chunk-ZD24EOR6.js} +2 -2
- package/__chunks__/{chunk-KMJQYWK7.js → chunk-ZFH7IDUP.js} +2 -2
- package/__chunks__/{chunk-AEXHDH54.js → chunk-ZGSGJ6OM.js} +2 -2
- package/__chunks__/{chunk-5IGYDXE4.js → chunk-ZL4XOJE2.js} +2 -2
- package/__chunks__/{chunk-MTOYWW2O.js → chunk-ZMGF5ZY7.js} +2 -2
- package/__chunks__/{chunk-QIE35VSD.js → chunk-ZMXNGHVW.js} +2 -2
- package/__chunks__/{chunk-Q2KRXQYU.js → chunk-ZRLPJ4QN.js} +2 -2
- package/__chunks__/{chunk-XKOKOYUP.js → chunk-ZYZ433JO.js} +2 -2
- package/__commonjs/UI/SignTransactionsModals/SignTransactionsModals.js +20 -20
- package/__commonjs/UI/SignTransactionsModals/SignWithDeviceModal/SignStep.js +18 -18
- package/__commonjs/UI/SignTransactionsModals/SignWithDeviceModal/SignWithDeviceModal.js +18 -18
- package/__commonjs/UI/SignTransactionsModals/SignWithDeviceModal/components/SignStepBody.js +16 -16
- package/__commonjs/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmAmount/components/index.js +5 -5
- package/__commonjs/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmFee/ConfirmFee.js +6 -6
- package/__commonjs/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmFee/index.js +6 -6
- package/__commonjs/UI/SignTransactionsModals/SignWithDeviceModal/components/components/index.js +14 -14
- package/__commonjs/UI/SignTransactionsModals/SignWithDeviceModal/components/index.js +16 -16
- package/__commonjs/UI/SignTransactionsModals/SignWithDeviceModal/index.js +18 -18
- package/__commonjs/UI/SignTransactionsModals/SignWithExtraModal/SignWithExtraModal.js +1 -1
- package/__commonjs/UI/SignTransactionsModals/SignWithExtraModal/index.js +1 -1
- package/__commonjs/UI/SignTransactionsModals/SignWithLedgerModal/SignWithLedgerModal.js +18 -18
- package/__commonjs/UI/SignTransactionsModals/SignWithLedgerModal/index.js +18 -18
- package/__commonjs/UI/SignTransactionsModals/SignWithMetamaskModal/SignWithMetamaskModal.js +18 -18
- package/__commonjs/UI/SignTransactionsModals/SignWithMetamaskModal/index.js +18 -18
- package/__commonjs/UI/SignTransactionsModals/components/ConfirmationScreen.js +1 -1
- package/__commonjs/UI/SignTransactionsModals/components/index.js +1 -1
- package/__commonjs/UI/SignTransactionsModals/index.js +20 -20
- package/__commonjs/UI/TransactionDetails/TransactionDetails.js +4 -4
- package/__commonjs/UI/TransactionDetails/index.js +4 -4
- package/__commonjs/UI/TransactionInfo/components/ScResultsList/ScResultsList.js +2 -2
- package/__commonjs/UI/TransactionInfo/components/ScResultsList/index.js +2 -2
- package/__commonjs/UI/TransactionInfo/components/TransactionAction/components/TransactionActionBlock/components/TransactionActionNft.js +4 -4
- package/__commonjs/UI/TransactionInfo/components/TransactionAction/components/TransactionActionBlock/index.js +3 -3
- package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoGasUsed/TransactionInfoGasUsed.js +1 -1
- package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoGasUsed/index.js +1 -1
- package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoNonce/TransactionInfoNonce.js +3 -3
- package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoNonce/index.js +3 -3
- package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoTo/TransactionInfoTo.js +16 -16
- package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoTo/index.js +16 -16
- package/__commonjs/UI/TransactionsTable/components/LockedTokenAddressIcon.js +2 -2
- package/__commonjs/UI/TransactionsTable/components/TransactionReceiver.js +4 -4
- package/__commonjs/UI/TransactionsTable/components/TransactionSender.js +5 -5
- package/__commonjs/UI/TransactionsToastList/components/CustomToast/components/SimpleToast.js +6 -6
- package/__commonjs/UI/TransactionsToastList/components/CustomToast/components/index.js +1 -1
- package/__commonjs/UI/TransactionsToastList/components/TransactionToast/TransactionToast.js +4 -4
- package/__commonjs/UI/TransactionsToastList/components/TransactionToast/components/TransactionToastContent.js +6 -6
- package/__commonjs/UI/TransactionsToastList/components/TransactionToast/index.js +4 -4
- package/__commonjs/UI/TransactionsToastList/components/TransactionToastGuard.js +4 -4
- package/__commonjs/UI/index.js +65 -65
- package/__commonjs/UI/walletConnect/WalletConnectLoginButton/index.js +3 -3
- package/__commonjs/UI/walletConnect/index.js +4 -4
- package/__commonjs/UI/webWallet/WebWalletLoginButton/WebWalletLoginButton.js +2 -2
- package/__commonjs/UI/webWallet/WebWalletLoginButton/index.js +2 -2
- package/__commonjs/UI/webWallet/XaliasCrossWindowLoginButton/XaliasCrossWindowLoginButton.js +3 -3
- package/__commonjs/UI/webWallet/XaliasCrossWindowLoginButton/index.js +3 -3
- package/__commonjs/__mocks__/index.js +1 -1
- package/__commonjs/apiCalls/accounts/getAccountFromApi.js +1 -1
- package/__commonjs/apiCalls/accounts/useGetAccountFromApi.js +1 -1
- package/__commonjs/apiCalls/configuration/getNetworkConfig.js +1 -1
- package/__commonjs/apiCalls/configuration/useGetNetworkConfigFromApi.js +1 -1
- package/__commonjs/apiCalls/configuration/useGetServerConfigurationFromApi.js +1 -1
- package/__commonjs/apiCalls/transactions/useGetTransactionsFromApi.js +1 -1
- package/__commonjs/components/ProviderInitializer/helpers/index.js +1 -1
- package/__commonjs/components/TransactionsTracker/TransactionTracker.js +1 -1
- package/__commonjs/components/TransactionsTracker/index.js +1 -1
- package/__commonjs/hooks/index.js +1 -1
- package/__commonjs/hooks/login/useExtensionLogin.js +1 -1
- package/__commonjs/hooks/login/useMetamaskLogin.js +1 -1
- package/__commonjs/hooks/login/useWalletConnectV2Login.js +1 -1
- package/__commonjs/hooks/login/useWebWalletLogin.js +1 -1
- package/__commonjs/hooks/login/useXaliasLogin.js +1 -1
- package/__commonjs/hooks/signMessage/index.js +1 -1
- package/__commonjs/hooks/signMessage/useSignMessage.js +1 -1
- package/__commonjs/hooks/transactions/batch/tracker/useCheckBatchesOnWsFailureFallback.js +1 -1
- package/__commonjs/hooks/transactions/batch/tracker/useCheckHangingBatchesFallback.js +1 -1
- package/__commonjs/hooks/transactions/batch/tracker/useVerifyBatchStatus.js +1 -1
- package/__commonjs/hooks/transactions/helpers/checkNeedsGuardianSigning.js +1 -1
- package/__commonjs/hooks/transactions/helpers/index.js +1 -1
- package/__commonjs/hooks/transactions/helpers/useGetLedgerProvider.js +1 -1
- package/__commonjs/hooks/transactions/index.js +1 -1
- package/__commonjs/hooks/transactions/useCheckTransactionStatus/index.js +1 -1
- package/__commonjs/hooks/transactions/useCheckTransactionStatus/useCheckTransactionStatus.js +1 -1
- package/__commonjs/hooks/transactions/useSignTransactions.js +1 -1
- package/__commonjs/hooks/transactions/useSignTransactionsWithDevice.js +1 -1
- package/__commonjs/hooks/transactions/useSignTransactionsWithLedger.js +1 -1
- package/__commonjs/hooks/websocketListener/index.js +1 -1
- package/__commonjs/hooks/websocketListener/useRegisterWebsocketListener.js +1 -1
- package/__commonjs/services/index.js +1 -1
- package/__commonjs/services/nativeAuth/helpers/index.js +1 -1
- package/__commonjs/services/transactions/index.js +1 -1
- package/__commonjs/services/transactions/utils.js +1 -1
- package/__commonjs/utils/account/getAccount.js +1 -1
- package/__commonjs/utils/account/getAccountBalance.js +1 -1
- package/__commonjs/utils/account/getAddress.js +1 -1
- package/__commonjs/utils/index.js +4 -4
- package/__commonjs/utils/operations/calculateFeeLimit.js +1 -1
- package/__commonjs/utils/operations/index.js +1 -1
- package/__commonjs/utils/transactions/batch/updateBatchTransactionsStatuses.js +1 -1
- package/__commonjs/utils/transactions/builtCallbackUrl.js +1 -1
- package/__commonjs/utils/transactions/getInterpretedTransaction/getInterpretedTransaction.js +1 -1
- package/__commonjs/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/getTransactionValue.js +2 -2
- package/__commonjs/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/helpers/index.js +2 -2
- package/__commonjs/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/index.js +2 -2
- package/__commonjs/utils/transactions/getInterpretedTransaction/index.js +1 -1
- package/__commonjs/utils/transactions/index.js +1 -1
- package/__commonjs/utils/transactions/transactionInfoHelpers/getTransactionActionNftText.js +1 -1
- package/__commonjs/utils/transactions/transactionInfoHelpers/getTransactionActionTokenText.js +1 -1
- package/__commonjs/utils/transactions/transactionInfoHelpers/index.js +1 -1
- package/__commonjs/utils/validation/index.js +1 -1
- package/__commonjs/utils/validation/stringIsFloat.js +1 -1
- package/__commonjs/wrappers/AppInitializer.js +1 -1
- package/__commonjs/wrappers/AuthenticatedRoutesWrapper/AuthenticatedRoutesWrapper.js +1 -1
- package/__commonjs/wrappers/AuthenticatedRoutesWrapper/index.js +1 -1
- package/__commonjs/wrappers/DappProvider/DappProvider.js +3 -3
- package/__commonjs/wrappers/DappProvider/index.js +3 -3
- package/__mocks__/index.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/accounts/useGetAccountFromApi.js +1 -1
- package/apiCalls/configuration/getNetworkConfig.js +1 -1
- package/apiCalls/configuration/index.js +1 -1
- package/apiCalls/configuration/useGetNetworkConfigFromApi.js +1 -1
- package/apiCalls/configuration/useGetServerConfigurationFromApi.js +1 -1
- package/apiCalls/economics/getEconomicsInfo.js +1 -1
- package/apiCalls/economics/index.js +1 -1
- package/apiCalls/economics/useGetEconomicsInfoFromApi.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/sendSignedBatchTransactions.js +1 -1
- package/apiCalls/transactions/sendSignedTransactions.js +1 -1
- package/apiCalls/transactions/useGetTransactionsFromApi.js +1 -1
- package/apiCalls/utils/getCleanApiAddress.js +1 -1
- package/apiCalls/utils/getScamAddressData.js +1 -1
- package/apiCalls/utils/index.js +1 -1
- package/apiCalls/utils/useApiFetch.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/ProviderInitializer.js +1 -1
- package/components/ProviderInitializer/helpers/index.js +1 -1
- package/components/ProviderInitializer/helpers/processModifiedAccount.js +1 -1
- package/components/ProviderInitializer/hooks/index.js +1 -1
- package/components/ProviderInitializer/hooks/useSetLedgerProvider.js +1 -1
- package/components/ProviderInitializer/index.js +1 -1
- package/components/TransactionSender/TransactionSender.js +1 -1
- package/components/TransactionSender/index.js +1 -1
- package/components/TransactionSender/utils/invokeSendTransactions.js +1 -1
- package/components/TransactionsTracker/TransactionTracker.js +1 -1
- package/components/TransactionsTracker/index.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/useGetBatchWebsocketEvent.js +1 -1
- package/hooks/account/useGetIsLoggedIn.js +1 -1
- package/hooks/account/useGetIsWalletConnectV2Initialized.js +1 -1
- package/hooks/account/useGetLoginInfo.js +1 -1
- package/hooks/account/useGetWebsocketEvent.js +1 -1
- package/hooks/economics/index.js +1 -1
- package/hooks/economics/useGetEgldPrice.js +1 -1
- package/hooks/index.js +1 -1
- package/hooks/login/index.js +1 -1
- package/hooks/login/useCrossWindowLogin.js +1 -1
- package/hooks/login/useExtensionLogin.js +1 -1
- package/hooks/login/useGetModalLoginMethods.js +1 -1
- package/hooks/login/useIframeLogin.js +1 -1
- package/hooks/login/useLedgerLogin.js +1 -1
- package/hooks/login/useLoginService.js +1 -1
- package/hooks/login/useMetamaskLogin.js +1 -1
- package/hooks/login/useOperaLogin.js +1 -1
- package/hooks/login/usePasskeyLogin.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/login/useXaliasLogin.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/toasts/index.js +1 -1
- package/hooks/toasts/useGetToasts.js +1 -1
- package/hooks/toasts/useTransactionsToasts.js +1 -1
- package/hooks/transactions/batch/tracker/useBatchTransactionsTracker.js +1 -1
- package/hooks/transactions/batch/tracker/useCheckBatch.js +1 -1
- package/hooks/transactions/batch/tracker/useCheckBatchesOnWsFailureFallback.js +1 -1
- package/hooks/transactions/batch/tracker/useCheckHangingBatchesFallback.js +1 -1
- package/hooks/transactions/batch/tracker/useUpdateBatch.js +1 -1
- package/hooks/transactions/batch/tracker/useVerifyBatchStatus.js +1 -1
- package/hooks/transactions/batch/useGetBatchStatus.js +1 -1
- package/hooks/transactions/batch/useResolveBatchStatusResponse.js +1 -1
- package/hooks/transactions/batch/useSendBatchTransactions.js +1 -1
- package/hooks/transactions/helpers/checkNeedsGuardianSigning.js +1 -1
- package/hooks/transactions/helpers/getShouldMoveTransactionsToSignedState.js +1 -1
- package/hooks/transactions/helpers/index.js +1 -1
- package/hooks/transactions/helpers/useGetLedgerProvider.js +1 -1
- package/hooks/transactions/helpers/useSetTransactionNonces.js +1 -1
- package/hooks/transactions/index.js +1 -1
- package/hooks/transactions/useCheckTransactionStatus/checkBatch.js +1 -1
- package/hooks/transactions/useCheckTransactionStatus/index.js +1 -1
- package/hooks/transactions/useCheckTransactionStatus/useCheckTransactionStatus.js +1 -1
- package/hooks/transactions/useGetActiveTransactionsStatus.js +1 -1
- package/hooks/transactions/useGetFailedTransactions.js +1 -1
- package/hooks/transactions/useGetLastPendingTransactionHash.js +1 -1
- package/hooks/transactions/useGetPendingTransactions.js +1 -1
- package/hooks/transactions/useGetPollingInterval.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/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/transactions/useTransactionsTracker.js +1 -1
- package/hooks/useGetNetworkConfig.js +1 -1
- package/hooks/useGetNotification.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/package.json +1 -1
- package/providers/experimentalWebViewProvider/ExperimentalWebviewProvider.js +1 -1
- package/providers/experimentalWebViewProvider/index.js +1 -1
- package/reduxStore/selectors/index.js +1 -1
- package/reduxStore/selectors/transactionsSelectors.js +1 -1
- package/services/index.js +1 -1
- package/services/nativeAuth/helpers/getAuthorizationInfo.js +1 -1
- package/services/nativeAuth/helpers/getIsNativeAuthSingingForbidden.js +1 -1
- package/services/nativeAuth/helpers/index.js +1 -1
- package/services/transactions/clearTransactions.js +1 -1
- package/services/transactions/getBatchTransactionsStatus.js +1 -1
- package/services/transactions/getTransactionsDetails.js +1 -1
- package/services/transactions/index.js +1 -1
- package/services/transactions/sendBatchTransactions.js +1 -1
- package/services/transactions/sendBatchTransactions.test.js +1 -1
- package/services/transactions/sendTransactions.js +1 -1
- package/services/transactions/transformAndSignTransactions.js +1 -1
- package/services/transactions/utils/transformTransactionsToSign.js +1 -1
- package/services/transactions/utils.js +1 -1
- package/utils/account/getAccount.js +1 -1
- package/utils/account/getAccountBalance.js +1 -1
- package/utils/account/getAccountShard.js +1 -1
- package/utils/account/getAddress.js +1 -1
- package/utils/account/getLatestNonce.js +1 -1
- package/utils/account/getWebviewToken.js +1 -1
- package/utils/account/index.js +1 -1
- package/utils/account/refreshAccount.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/index.js +1 -1
- package/utils/transactions/batch/updateBatchTransactionsStatuses.js +1 -1
- package/utils/transactions/builtCallbackUrl.js +1 -1
- package/utils/transactions/getAllTransactionsLink.js +1 -1
- package/utils/transactions/getInterpretedTransaction/getInterpretedTransaction.js +1 -1
- package/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/getTransactionValue.js +1 -1
- package/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/helpers/getTitleText.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/getOperationsDetails.js +1 -1
- package/utils/transactions/getTransactionLink.js +1 -1
- package/utils/transactions/index.js +1 -1
- package/utils/transactions/transactionInfoHelpers/getTransactionActionNftText.js +1 -1
- package/utils/transactions/transactionInfoHelpers/getTransactionActionTokenText.js +1 -1
- package/utils/transactions/transactionInfoHelpers/index.js +1 -1
- package/utils/validation/index.js +1 -1
- package/utils/validation/stringIsFloat.js +1 -1
- package/utils/waitForChainID.js +1 -1
- package/web/hooks/index.js +1 -1
- package/web/hooks/useIdleTimer.js +1 -1
- package/web/index.js +1 -1
- package/wrappers/AppInitializer.js +1 -1
- package/wrappers/AuthenticatedRoutesWrapper/AuthenticatedRoutesWrapper.js +1 -1
- package/wrappers/AuthenticatedRoutesWrapper/index.js +1 -1
- package/wrappers/AxiosInterceptorContext/AxiosInterceptorContext.js +1 -1
- package/wrappers/AxiosInterceptorContext/components/AxiosInterceptor.js +1 -1
- package/wrappers/AxiosInterceptorContext/components/AxiosInterceptorContextProvider.js +1 -1
- package/wrappers/AxiosInterceptorContext/components/LoginInfoListener.js +1 -1
- package/wrappers/AxiosInterceptorContext/components/index.js +1 -1
- package/wrappers/AxiosInterceptorContext/index.js +1 -1
- package/wrappers/DappProvider/CustomComponents.js +1 -1
- package/wrappers/DappProvider/DappProvider.js +1 -1
- package/wrappers/DappProvider/index.js +1 -1
- package/wrappers/index.js +1 -1
- package/__chunks__/chunk-4IENPX4H.js +0 -2
- package/__chunks__/chunk-5ABZIP67.js +0 -2
- package/__chunks__/chunk-BBXPKZZG.js +0 -2
- package/__chunks__/chunk-CKDNZSN6.js +0 -2
- package/__chunks__/chunk-DAU32KDC.js +0 -2
- package/__chunks__/chunk-IKH6YE2P.js +0 -2
- package/__chunks__/chunk-JIUK364I.js +0 -2
- package/__chunks__/chunk-KZY4LCNF.js +0 -2
- package/__chunks__/chunk-LCR5C4ZS.js +0 -2
- package/__chunks__/chunk-LI32F4IE.js +0 -2
- package/__chunks__/chunk-PBMVDTRI.js +0 -2
- package/__chunks__/chunk-PKFKI3LD.js +0 -2
- package/__chunks__/chunk-PQC5B6GG.js +0 -2
- package/__chunks__/chunk-QJZTCHB4.js +0 -2
- package/__chunks__/chunk-QSJIOSJN.js +0 -2
- package/__chunks__/chunk-SRVPLYUK.js +0 -2
- package/__chunks__/chunk-VMDD5SZJ.js +0 -2
- package/__chunks__/chunk-YC2H4IT7.js +0 -2
- package/__chunks__/chunk-YG7S2B67.js +0 -2
- package/__chunks__/chunk-YUHSF3WL.js +0 -2
package/__commonjs/utils/transactions/getInterpretedTransaction/getInterpretedTransaction.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";var Dr=Object.create;var z=Object.defineProperty,Lr=Object.defineProperties,Fr=Object.getOwnPropertyDescriptor,Cr=Object.getOwnPropertyDescriptors,Or=Object.getOwnPropertyNames,Re=Object.getOwnPropertySymbols,Br=Object.getPrototypeOf,Le=Object.prototype.hasOwnProperty,Ur=Object.prototype.propertyIsEnumerable;var De=(t,e,r)=>e in t?z(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,C=(t,e)=>{for(var r in e||(e={}))Le.call(e,r)&&De(t,r,e[r]);if(Re)for(var r of Re(e))Ur.call(e,r)&&De(t,r,e[r]);return t},ae=(t,e)=>Lr(t,Cr(e));var Pr=(t,e)=>()=>(t&&(e=t(t=0)),e);var J=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),Mr=(t,e)=>{for(var r in e)z(t,r,{get:e[r],enumerable:!0})},Fe=(t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of Or(e))!Le.call(t,i)&&i!==r&&z(t,i,{get:()=>e[i],enumerable:!(n=Fr(e,i))||n.enumerable});return t};var S=(t,e,r)=>(r=t!=null?Dr(Br(t)):{},Fe(e||!t||!t.__esModule?z(r,"default",{value:t,enumerable:!0}):r,t)),Gr=t=>Fe(z({},"__esModule",{value:!0}),t);var Be=J(Q=>{"use strict";o();Q.byteLength=$r;Q.toByteArray=Hr;Q.fromByteArray=zr;var k=[],v=[],Vr=typeof Uint8Array!="undefined"?Uint8Array:Array,se="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(U=0,Ce=se.length;U<Ce;++U)k[U]=se[U],v[se.charCodeAt(U)]=U;var U,Ce;v["-".charCodeAt(0)]=62;v["_".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 $r(t){var e=Oe(t),r=e[0],n=e[1];return(r+n)*3/4-n}function Wr(t,e,r){return(e+r)*3/4-r}function Hr(t){var e,r=Oe(t),n=r[0],i=r[1],a=new Vr(Wr(t,n,i)),s=0,d=i>0?n-4:n,m;for(m=0;m<d;m+=4)e=v[t.charCodeAt(m)]<<18|v[t.charCodeAt(m+1)]<<12|v[t.charCodeAt(m+2)]<<6|v[t.charCodeAt(m+3)],a[s++]=e>>16&255,a[s++]=e>>8&255,a[s++]=e&255;return i===2&&(e=v[t.charCodeAt(m)]<<2|v[t.charCodeAt(m+1)]>>4,a[s++]=e&255),i===1&&(e=v[t.charCodeAt(m)]<<10|v[t.charCodeAt(m+1)]<<4|v[t.charCodeAt(m+2)]>>2,a[s++]=e>>8&255,a[s++]=e&255),a}function qr(t){return k[t>>18&63]+k[t>>12&63]+k[t>>6&63]+k[t&63]}function jr(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(qr(n));return i.join("")}function zr(t){for(var e,r=t.length,n=r%3,i=[],a=16383,s=0,d=r-n;s<d;s+=a)i.push(jr(t,s,s+a>d?d:s+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 Ue=J(ce=>{o();ce.read=function(t,e,r,n,i){var a,s,d=i*8-n-1,m=(1<<d)-1,f=m>>1,h=-7,g=r?i-1:0,w=r?-1:1,x=t[e+g];for(g+=w,a=x&(1<<-h)-1,x>>=-h,h+=d;h>0;a=a*256+t[e+g],g+=w,h-=8);for(s=a&(1<<-h)-1,a>>=-h,h+=n;h>0;s=s*256+t[e+g],g+=w,h-=8);if(a===0)a=1-f;else{if(a===m)return s?NaN:(x?-1:1)*(1/0);s=s+Math.pow(2,n),a=a-f}return(x?-1:1)*s*Math.pow(2,a-n)};ce.write=function(t,e,r,n,i,a){var s,d,m,f=a*8-i-1,h=(1<<f)-1,g=h>>1,w=i===23?Math.pow(2,-24)-Math.pow(2,-77):0,x=n?0:a-1,F=n?1:-1,Z=e<0||e===0&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(d=isNaN(e)?1:0,s=h):(s=Math.floor(Math.log(e)/Math.LN2),e*(m=Math.pow(2,-s))<1&&(s--,m*=2),s+g>=1?e+=w/m:e+=w*Math.pow(2,1-g),e*m>=2&&(s++,m/=2),s+g>=h?(d=0,s=h):s+g>=1?(d=(e*m-1)*Math.pow(2,i),s=s+g):(d=e*Math.pow(2,g-1)*Math.pow(2,i),s=0));i>=8;t[r+x]=d&255,x+=F,d/=256,i-=8);for(s=s<<i|d,f+=i;f>0;t[r+x]=s&255,x+=F,s/=256,f-=8);t[r+x-F]|=Z*128}});var Ye=J($=>{"use strict";o();var le=Be(),V=Ue(),Pe=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;$.Buffer=c;$.SlowBuffer=Qr;$.INSPECT_MAX_BYTES=50;var ee=2147483647;$.kMaxLength=ee;c.TYPED_ARRAY_SUPPORT=Kr();!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 Kr(){try{var t=new Uint8Array(1),e={foo:function(){return 42}};return Object.setPrototypeOf(e,Uint8Array.prototype),Object.setPrototypeOf(t,e),t.foo()===42}catch(r){return!1}}Object.defineProperty(c.prototype,"parent",{enumerable:!0,get:function(){if(!!c.isBuffer(this))return this.buffer}});Object.defineProperty(c.prototype,"offset",{enumerable:!0,get:function(){if(!!c.isBuffer(this))return this.byteOffset}});function _(t){if(t>ee)throw new RangeError('The value "'+t+'" is invalid for option "size"');var e=new Uint8Array(t);return Object.setPrototypeOf(e,c.prototype),e}function c(t,e,r){if(typeof t=="number"){if(typeof e=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return me(t)}return Ve(t,e,r)}c.poolSize=8192;function Ve(t,e,r){if(typeof t=="string")return Yr(t,e);if(ArrayBuffer.isView(t))return Zr(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 pe(t,e,r);if(typeof t=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var n=t.valueOf&&t.valueOf();if(n!=null&&n!==t)return c.from(n,e,r);var i=Jr(t);if(i)return i;if(typeof Symbol!="undefined"&&Symbol.toPrimitive!=null&&typeof t[Symbol.toPrimitive]=="function")return c.from(t[Symbol.toPrimitive]("string"),e,r);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t)}c.from=function(t,e,r){return Ve(t,e,r)};Object.setPrototypeOf(c.prototype,Uint8Array.prototype);Object.setPrototypeOf(c,Uint8Array);function $e(t){if(typeof t!="number")throw new TypeError('"size" argument must be of type number');if(t<0)throw new RangeError('The value "'+t+'" is invalid for option "size"')}function Xr(t,e,r){return $e(t),t<=0?_(t):e!==void 0?typeof r=="string"?_(t).fill(e,r):_(t).fill(e):_(t)}c.alloc=function(t,e,r){return Xr(t,e,r)};function me(t){return $e(t),_(t<0?0:ge(t)|0)}c.allocUnsafe=function(t){return me(t)};c.allocUnsafeSlow=function(t){return me(t)};function Yr(t,e){if((typeof e!="string"||e==="")&&(e="utf8"),!c.isEncoding(e))throw new TypeError("Unknown encoding: "+e);var r=We(t,e)|0,n=_(r),i=n.write(t,e);return i!==r&&(n=n.slice(0,i)),n}function ue(t){for(var e=t.length<0?0:ge(t.length)|0,r=_(e),n=0;n<e;n+=1)r[n]=t[n]&255;return r}function Zr(t){if(A(t,Uint8Array)){var e=new Uint8Array(t);return pe(e.buffer,e.byteOffset,e.byteLength)}return ue(t)}function pe(t,e,r){if(e<0||t.byteLength<e)throw new RangeError('"offset" is outside of buffer bounds');if(t.byteLength<e+(r||0))throw new RangeError('"length" is outside of buffer bounds');var n;return e===void 0&&r===void 0?n=new Uint8Array(t):r===void 0?n=new Uint8Array(t,e):n=new Uint8Array(t,e,r),Object.setPrototypeOf(n,c.prototype),n}function Jr(t){if(c.isBuffer(t)){var e=ge(t.length)|0,r=_(e);return r.length===0||t.copy(r,0,0,e),r}if(t.length!==void 0)return typeof t.length!="number"||fe(t.length)?_(0):ue(t);if(t.type==="Buffer"&&Array.isArray(t.data))return ue(t.data)}function ge(t){if(t>=ee)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+ee.toString(16)+" bytes");return t|0}function Qr(t){return+t!=t&&(t=0),c.alloc(+t)}c.isBuffer=function(e){return e!=null&&e._isBuffer===!0&&e!==c.prototype};c.compare=function(e,r){if(A(e,Uint8Array)&&(e=c.from(e,e.offset,e.byteLength)),A(r,Uint8Array)&&(r=c.from(r,r.offset,r.byteLength)),!c.isBuffer(e)||!c.isBuffer(r))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(e===r)return 0;for(var n=e.length,i=r.length,a=0,s=Math.min(n,i);a<s;++a)if(e[a]!==r[a]){n=e[a],i=r[a];break}return n<i?-1:i<n?1:0};c.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}};c.concat=function(e,r){if(!Array.isArray(e))throw new TypeError('"list" argument must be an Array of Buffers');if(e.length===0)return c.alloc(0);var n;if(r===void 0)for(r=0,n=0;n<e.length;++n)r+=e[n].length;var i=c.allocUnsafe(r),a=0;for(n=0;n<e.length;++n){var s=e[n];if(A(s,Uint8Array))a+s.length>i.length?c.from(s).copy(i,a):Uint8Array.prototype.set.call(i,s,a);else if(c.isBuffer(s))s.copy(i,a);else throw new TypeError('"list" argument must be an Array of Buffers');a+=s.length}return i};function We(t,e){if(c.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 de(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return r*2;case"hex":return r>>>1;case"base64":return Xe(t).length;default:if(i)return n?-1:de(t).length;e=(""+e).toLowerCase(),i=!0}}c.byteLength=We;function et(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 ut(this,e,r);case"utf8":case"utf-8":return qe(this,e,r);case"ascii":return ct(this,e,r);case"latin1":case"binary":return lt(this,e,r);case"base64":return at(this,e,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return pt(this,e,r);default:if(n)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),n=!0}}c.prototype._isBuffer=!0;function P(t,e,r){var n=t[e];t[e]=t[r],t[r]=n}c.prototype.swap16=function(){var e=this.length;if(e%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var r=0;r<e;r+=2)P(this,r,r+1);return this};c.prototype.swap32=function(){var e=this.length;if(e%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var r=0;r<e;r+=4)P(this,r,r+3),P(this,r+1,r+2);return this};c.prototype.swap64=function(){var e=this.length;if(e%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var r=0;r<e;r+=8)P(this,r,r+7),P(this,r+1,r+6),P(this,r+2,r+5),P(this,r+3,r+4);return this};c.prototype.toString=function(){var e=this.length;return e===0?"":arguments.length===0?qe(this,0,e):et.apply(this,arguments)};c.prototype.toLocaleString=c.prototype.toString;c.prototype.equals=function(e){if(!c.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e?!0:c.compare(this,e)===0};c.prototype.inspect=function(){var e="",r=$.INSPECT_MAX_BYTES;return e=this.toString("hex",0,r).replace(/(.{2})/g,"$1 ").trim(),this.length>r&&(e+=" ... "),"<Buffer "+e+">"};Pe&&(c.prototype[Pe]=c.prototype.inspect);c.prototype.compare=function(e,r,n,i,a){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(r===void 0&&(r=0),n===void 0&&(n=e?e.length:0),i===void 0&&(i=0),a===void 0&&(a=this.length),r<0||n>e.length||i<0||a>this.length)throw new RangeError("out of range index");if(i>=a&&r>=n)return 0;if(i>=a)return-1;if(r>=n)return 1;if(r>>>=0,n>>>=0,i>>>=0,a>>>=0,this===e)return 0;for(var s=a-i,d=n-r,m=Math.min(s,d),f=this.slice(i,a),h=e.slice(r,n),g=0;g<m;++g)if(f[g]!==h[g]){s=f[g],d=h[g];break}return s<d?-1:d<s?1:0};function He(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,fe(r)&&(r=i?0:t.length-1),r<0&&(r=t.length+r),r>=t.length){if(i)return-1;r=t.length-1}else if(r<0)if(i)r=0;else return-1;if(typeof e=="string"&&(e=c.from(e,n)),c.isBuffer(e))return e.length===0?-1:Me(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):Me(t,[e],r,n,i);throw new TypeError("val must be string, number or Buffer")}function Me(t,e,r,n,i){var a=1,s=t.length,d=e.length;if(n!==void 0&&(n=String(n).toLowerCase(),n==="ucs2"||n==="ucs-2"||n==="utf16le"||n==="utf-16le")){if(t.length<2||e.length<2)return-1;a=2,s/=2,d/=2,r/=2}function m(x,F){return a===1?x[F]:x.readUInt16BE(F*a)}var f;if(i){var h=-1;for(f=r;f<s;f++)if(m(t,f)===m(e,h===-1?0:f-h)){if(h===-1&&(h=f),f-h+1===d)return h*a}else h!==-1&&(f-=f-h),h=-1}else for(r+d>s&&(r=s-d),f=r;f>=0;f--){for(var g=!0,w=0;w<d;w++)if(m(t,f+w)!==m(e,w)){g=!1;break}if(g)return f}return-1}c.prototype.includes=function(e,r,n){return this.indexOf(e,r,n)!==-1};c.prototype.indexOf=function(e,r,n){return He(this,e,r,n,!0)};c.prototype.lastIndexOf=function(e,r,n){return He(this,e,r,n,!1)};function rt(t,e,r,n){r=Number(r)||0;var i=t.length-r;n?(n=Number(n),n>i&&(n=i)):n=i;var a=e.length;n>a/2&&(n=a/2);for(var s=0;s<n;++s){var d=parseInt(e.substr(s*2,2),16);if(fe(d))return s;t[r+s]=d}return s}function tt(t,e,r,n){return re(de(e,t.length-r),t,r,n)}function nt(t,e,r,n){return re(gt(e),t,r,n)}function it(t,e,r,n){return re(Xe(e),t,r,n)}function ot(t,e,r,n){return re(ft(e,t.length-r),t,r,n)}c.prototype.write=function(e,r,n,i){if(r===void 0)i="utf8",n=this.length,r=0;else if(n===void 0&&typeof r=="string")i=r,n=this.length,r=0;else if(isFinite(r))r=r>>>0,isFinite(n)?(n=n>>>0,i===void 0&&(i="utf8")):(i=n,n=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var a=this.length-r;if((n===void 0||n>a)&&(n=a),e.length>0&&(n<0||r<0)||r>this.length)throw new RangeError("Attempt to write outside buffer bounds");i||(i="utf8");for(var s=!1;;)switch(i){case"hex":return rt(this,e,r,n);case"utf8":case"utf-8":return tt(this,e,r,n);case"ascii":case"latin1":case"binary":return nt(this,e,r,n);case"base64":return it(this,e,r,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return ot(this,e,r,n);default:if(s)throw new TypeError("Unknown encoding: "+i);i=(""+i).toLowerCase(),s=!0}};c.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function at(t,e,r){return e===0&&r===t.length?le.fromByteArray(t):le.fromByteArray(t.slice(e,r))}function qe(t,e,r){r=Math.min(t.length,r);for(var n=[],i=e;i<r;){var a=t[i],s=null,d=a>239?4:a>223?3:a>191?2:1;if(i+d<=r){var m,f,h,g;switch(d){case 1:a<128&&(s=a);break;case 2:m=t[i+1],(m&192)===128&&(g=(a&31)<<6|m&63,g>127&&(s=g));break;case 3:m=t[i+1],f=t[i+2],(m&192)===128&&(f&192)===128&&(g=(a&15)<<12|(m&63)<<6|f&63,g>2047&&(g<55296||g>57343)&&(s=g));break;case 4:m=t[i+1],f=t[i+2],h=t[i+3],(m&192)===128&&(f&192)===128&&(h&192)===128&&(g=(a&15)<<18|(m&63)<<12|(f&63)<<6|h&63,g>65535&&g<1114112&&(s=g))}}s===null?(s=65533,d=1):s>65535&&(s-=65536,n.push(s>>>10&1023|55296),s=56320|s&1023),n.push(s),i+=d}return st(n)}var Ge=4096;function st(t){var e=t.length;if(e<=Ge)return String.fromCharCode.apply(String,t);for(var r="",n=0;n<e;)r+=String.fromCharCode.apply(String,t.slice(n,n+=Ge));return r}function ct(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 lt(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 ut(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+=ht[t[a]];return i}function pt(t,e,r){for(var n=t.slice(e,r),i="",a=0;a<n.length-1;a+=2)i+=String.fromCharCode(n[a]+n[a+1]*256);return i}c.prototype.slice=function(e,r){var n=this.length;e=~~e,r=r===void 0?n:~~r,e<0?(e+=n,e<0&&(e=0)):e>n&&(e=n),r<0?(r+=n,r<0&&(r=0)):r>n&&(r=n),r<e&&(r=e);var i=this.subarray(e,r);return Object.setPrototypeOf(i,c.prototype),i};function y(t,e,r){if(t%1!==0||t<0)throw new RangeError("offset is not uint");if(t+e>r)throw new RangeError("Trying to access beyond buffer length")}c.prototype.readUintLE=c.prototype.readUIntLE=function(e,r,n){e=e>>>0,r=r>>>0,n||y(e,r,this.length);for(var i=this[e],a=1,s=0;++s<r&&(a*=256);)i+=this[e+s]*a;return i};c.prototype.readUintBE=c.prototype.readUIntBE=function(e,r,n){e=e>>>0,r=r>>>0,n||y(e,r,this.length);for(var i=this[e+--r],a=1;r>0&&(a*=256);)i+=this[e+--r]*a;return i};c.prototype.readUint8=c.prototype.readUInt8=function(e,r){return e=e>>>0,r||y(e,1,this.length),this[e]};c.prototype.readUint16LE=c.prototype.readUInt16LE=function(e,r){return e=e>>>0,r||y(e,2,this.length),this[e]|this[e+1]<<8};c.prototype.readUint16BE=c.prototype.readUInt16BE=function(e,r){return e=e>>>0,r||y(e,2,this.length),this[e]<<8|this[e+1]};c.prototype.readUint32LE=c.prototype.readUInt32LE=function(e,r){return e=e>>>0,r||y(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+this[e+3]*16777216};c.prototype.readUint32BE=c.prototype.readUInt32BE=function(e,r){return e=e>>>0,r||y(e,4,this.length),this[e]*16777216+(this[e+1]<<16|this[e+2]<<8|this[e+3])};c.prototype.readIntLE=function(e,r,n){e=e>>>0,r=r>>>0,n||y(e,r,this.length);for(var i=this[e],a=1,s=0;++s<r&&(a*=256);)i+=this[e+s]*a;return a*=128,i>=a&&(i-=Math.pow(2,8*r)),i};c.prototype.readIntBE=function(e,r,n){e=e>>>0,r=r>>>0,n||y(e,r,this.length);for(var i=r,a=1,s=this[e+--i];i>0&&(a*=256);)s+=this[e+--i]*a;return a*=128,s>=a&&(s-=Math.pow(2,8*r)),s};c.prototype.readInt8=function(e,r){return e=e>>>0,r||y(e,1,this.length),this[e]&128?(255-this[e]+1)*-1:this[e]};c.prototype.readInt16LE=function(e,r){e=e>>>0,r||y(e,2,this.length);var n=this[e]|this[e+1]<<8;return n&32768?n|4294901760:n};c.prototype.readInt16BE=function(e,r){e=e>>>0,r||y(e,2,this.length);var n=this[e+1]|this[e]<<8;return n&32768?n|4294901760:n};c.prototype.readInt32LE=function(e,r){return e=e>>>0,r||y(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24};c.prototype.readInt32BE=function(e,r){return e=e>>>0,r||y(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]};c.prototype.readFloatLE=function(e,r){return e=e>>>0,r||y(e,4,this.length),V.read(this,e,!0,23,4)};c.prototype.readFloatBE=function(e,r){return e=e>>>0,r||y(e,4,this.length),V.read(this,e,!1,23,4)};c.prototype.readDoubleLE=function(e,r){return e=e>>>0,r||y(e,8,this.length),V.read(this,e,!0,52,8)};c.prototype.readDoubleBE=function(e,r){return e=e>>>0,r||y(e,8,this.length),V.read(this,e,!1,52,8)};function b(t,e,r,n,i,a){if(!c.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>i||e<a)throw new RangeError('"value" argument is out of bounds');if(r+n>t.length)throw new RangeError("Index out of range")}c.prototype.writeUintLE=c.prototype.writeUIntLE=function(e,r,n,i){if(e=+e,r=r>>>0,n=n>>>0,!i){var a=Math.pow(2,8*n)-1;b(this,e,r,n,a,0)}var s=1,d=0;for(this[r]=e&255;++d<n&&(s*=256);)this[r+d]=e/s&255;return r+n};c.prototype.writeUintBE=c.prototype.writeUIntBE=function(e,r,n,i){if(e=+e,r=r>>>0,n=n>>>0,!i){var a=Math.pow(2,8*n)-1;b(this,e,r,n,a,0)}var s=n-1,d=1;for(this[r+s]=e&255;--s>=0&&(d*=256);)this[r+s]=e/d&255;return r+n};c.prototype.writeUint8=c.prototype.writeUInt8=function(e,r,n){return e=+e,r=r>>>0,n||b(this,e,r,1,255,0),this[r]=e&255,r+1};c.prototype.writeUint16LE=c.prototype.writeUInt16LE=function(e,r,n){return e=+e,r=r>>>0,n||b(this,e,r,2,65535,0),this[r]=e&255,this[r+1]=e>>>8,r+2};c.prototype.writeUint16BE=c.prototype.writeUInt16BE=function(e,r,n){return e=+e,r=r>>>0,n||b(this,e,r,2,65535,0),this[r]=e>>>8,this[r+1]=e&255,r+2};c.prototype.writeUint32LE=c.prototype.writeUInt32LE=function(e,r,n){return e=+e,r=r>>>0,n||b(this,e,r,4,4294967295,0),this[r+3]=e>>>24,this[r+2]=e>>>16,this[r+1]=e>>>8,this[r]=e&255,r+4};c.prototype.writeUint32BE=c.prototype.writeUInt32BE=function(e,r,n){return e=+e,r=r>>>0,n||b(this,e,r,4,4294967295,0),this[r]=e>>>24,this[r+1]=e>>>16,this[r+2]=e>>>8,this[r+3]=e&255,r+4};c.prototype.writeIntLE=function(e,r,n,i){if(e=+e,r=r>>>0,!i){var a=Math.pow(2,8*n-1);b(this,e,r,n,a-1,-a)}var s=0,d=1,m=0;for(this[r]=e&255;++s<n&&(d*=256);)e<0&&m===0&&this[r+s-1]!==0&&(m=1),this[r+s]=(e/d>>0)-m&255;return r+n};c.prototype.writeIntBE=function(e,r,n,i){if(e=+e,r=r>>>0,!i){var a=Math.pow(2,8*n-1);b(this,e,r,n,a-1,-a)}var s=n-1,d=1,m=0;for(this[r+s]=e&255;--s>=0&&(d*=256);)e<0&&m===0&&this[r+s+1]!==0&&(m=1),this[r+s]=(e/d>>0)-m&255;return r+n};c.prototype.writeInt8=function(e,r,n){return e=+e,r=r>>>0,n||b(this,e,r,1,127,-128),e<0&&(e=255+e+1),this[r]=e&255,r+1};c.prototype.writeInt16LE=function(e,r,n){return e=+e,r=r>>>0,n||b(this,e,r,2,32767,-32768),this[r]=e&255,this[r+1]=e>>>8,r+2};c.prototype.writeInt16BE=function(e,r,n){return e=+e,r=r>>>0,n||b(this,e,r,2,32767,-32768),this[r]=e>>>8,this[r+1]=e&255,r+2};c.prototype.writeInt32LE=function(e,r,n){return e=+e,r=r>>>0,n||b(this,e,r,4,2147483647,-2147483648),this[r]=e&255,this[r+1]=e>>>8,this[r+2]=e>>>16,this[r+3]=e>>>24,r+4};c.prototype.writeInt32BE=function(e,r,n){return e=+e,r=r>>>0,n||b(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 je(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 ze(t,e,r,n,i){return e=+e,r=r>>>0,i||je(t,e,r,4,34028234663852886e22,-34028234663852886e22),V.write(t,e,r,n,23,4),r+4}c.prototype.writeFloatLE=function(e,r,n){return ze(this,e,r,!0,n)};c.prototype.writeFloatBE=function(e,r,n){return ze(this,e,r,!1,n)};function Ke(t,e,r,n,i){return e=+e,r=r>>>0,i||je(t,e,r,8,17976931348623157e292,-17976931348623157e292),V.write(t,e,r,n,52,8),r+8}c.prototype.writeDoubleLE=function(e,r,n){return Ke(this,e,r,!0,n)};c.prototype.writeDoubleBE=function(e,r,n){return Ke(this,e,r,!1,n)};c.prototype.copy=function(e,r,n,i){if(!c.isBuffer(e))throw new TypeError("argument should be a Buffer");if(n||(n=0),!i&&i!==0&&(i=this.length),r>=e.length&&(r=e.length),r||(r=0),i>0&&i<n&&(i=n),i===n||e.length===0||this.length===0)return 0;if(r<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw new RangeError("Index out of range");if(i<0)throw new RangeError("sourceEnd out of bounds");i>this.length&&(i=this.length),e.length-r<i-n&&(i=e.length-r+n);var a=i-n;return this===e&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(r,n,i):Uint8Array.prototype.set.call(e,this.subarray(n,i),r),a};c.prototype.fill=function(e,r,n,i){if(typeof e=="string"){if(typeof r=="string"?(i=r,r=0,n=this.length):typeof n=="string"&&(i=n,n=this.length),i!==void 0&&typeof i!="string")throw new TypeError("encoding must be a string");if(typeof i=="string"&&!c.isEncoding(i))throw new TypeError("Unknown encoding: "+i);if(e.length===1){var a=e.charCodeAt(0);(i==="utf8"&&a<128||i==="latin1")&&(e=a)}}else typeof e=="number"?e=e&255:typeof e=="boolean"&&(e=Number(e));if(r<0||this.length<r||this.length<n)throw new RangeError("Out of range index");if(n<=r)return this;r=r>>>0,n=n===void 0?this.length:n>>>0,e||(e=0);var s;if(typeof e=="number")for(s=r;s<n;++s)this[s]=e;else{var d=c.isBuffer(e)?e:c.from(e,i),m=d.length;if(m===0)throw new TypeError('The value "'+e+'" is invalid for argument "value"');for(s=0;s<n-r;++s)this[s+r]=d[s%m]}return this};var dt=/[^+/0-9A-Za-z-_]/g;function mt(t){if(t=t.split("=")[0],t=t.trim().replace(dt,""),t.length<2)return"";for(;t.length%4!==0;)t=t+"=";return t}function de(t,e){e=e||1/0;for(var r,n=t.length,i=null,a=[],s=0;s<n;++s){if(r=t.charCodeAt(s),r>55295&&r<57344){if(!i){if(r>56319){(e-=3)>-1&&a.push(239,191,189);continue}else if(s+1===n){(e-=3)>-1&&a.push(239,191,189);continue}i=r;continue}if(r<56320){(e-=3)>-1&&a.push(239,191,189),i=r;continue}r=(i-55296<<10|r-56320)+65536}else i&&(e-=3)>-1&&a.push(239,191,189);if(i=null,r<128){if((e-=1)<0)break;a.push(r)}else if(r<2048){if((e-=2)<0)break;a.push(r>>6|192,r&63|128)}else if(r<65536){if((e-=3)<0)break;a.push(r>>12|224,r>>6&63|128,r&63|128)}else if(r<1114112){if((e-=4)<0)break;a.push(r>>18|240,r>>12&63|128,r>>6&63|128,r&63|128)}else throw new Error("Invalid code point")}return a}function gt(t){for(var e=[],r=0;r<t.length;++r)e.push(t.charCodeAt(r)&255);return e}function ft(t,e){for(var r,n,i,a=[],s=0;s<t.length&&!((e-=2)<0);++s)r=t.charCodeAt(s),n=r>>8,i=r%256,a.push(i),a.push(n);return a}function Xe(t){return le.toByteArray(mt(t))}function re(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 fe(t){return t!==t}var ht=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 rr=J((Zt,er)=>{o();var T=er.exports={},I,N;function he(){throw new Error("setTimeout has not been defined")}function Te(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?I=setTimeout:I=he}catch(t){I=he}try{typeof clearTimeout=="function"?N=clearTimeout:N=Te}catch(t){N=Te}})();function Ze(t){if(I===setTimeout)return setTimeout(t,0);if((I===he||!I)&&setTimeout)return I=setTimeout,setTimeout(t,0);try{return I(t,0)}catch(e){try{return I.call(null,t,0)}catch(r){return I.call(this,t,0)}}}function Tt(t){if(N===clearTimeout)return clearTimeout(t);if((N===Te||!N)&&clearTimeout)return N=clearTimeout,clearTimeout(t);try{return N(t)}catch(e){try{return N.call(null,t)}catch(r){return N.call(this,t)}}}var R=[],W=!1,M,te=-1;function yt(){!W||!M||(W=!1,M.length?R=M.concat(R):te=-1,R.length&&Je())}function Je(){if(!W){var t=Ze(yt);W=!0;for(var e=R.length;e;){for(M=R,R=[];++te<e;)M&&M[te].run();te=-1,e=R.length}M=null,W=!1,Tt(t)}}T.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];R.push(new Qe(t,e)),R.length===1&&!W&&Ze(Je)};function Qe(t,e){this.fun=t,this.array=e}Qe.prototype.run=function(){this.fun.apply(null,this.array)};T.title="browser";T.browser=!0;T.env={};T.argv=[];T.version="";T.versions={};function D(){}T.on=D;T.addListener=D;T.once=D;T.off=D;T.removeListener=D;T.removeAllListeners=D;T.emit=D;T.prependListener=D;T.prependOnceListener=D;T.listeners=function(t){return[]};T.binding=function(t){throw new Error("process.binding is not supported")};T.cwd=function(){return"/"};T.chdir=function(t){throw new Error("process.chdir is not supported")};T.umask=function(){return 0}});var l,u,Jt,o=Pr(()=>{l=S(Ye()),u=S(rr()),Jt=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 jt={};Mr(jt,{getInterpretedTransaction:()=>qt});module.exports=Gr(jt);o();o();var K=require("@multiversx/sdk-core");o();o();o();o();o();o();var xt=require("@multiversx/sdk-web-wallet-cross-window-provider/out/CrossWindowProvider/CrossWindowProvider"),H=require("@multiversx/sdk-web-wallet-cross-window-provider/out/enums");var tr=(r=>(r.signTransactionsWithGuardianResponse="SIGN_TRANSACTIONS_WITH_GUARDIAN_RESPONSE",r.reloginRequest="RELOGIN_REQUEST",r))(tr||{}),nn=C(C({},H.WindowProviderRequestEnums),tr),nr=(e=>(e.reloginResponse="RELOGIN_RESPONSE",e))(nr||{}),on=C(C({},H.WindowProviderResponseEnums),nr);o();o();o();o();o();o();o();var ir=require("@multiversx/sdk-core");function bt(t){try{let e=new ir.Address(t);return Boolean(e.bech32())}catch(e){return!1}}function ne(t){return(t==null?void 0:t.length)===62&&/^\w+$/.test(t)&&bt(t)}o();function or(t){try{let e=atob(t),r=btoa(e),n=l.Buffer.from(t,"base64").toString(),i=l.Buffer.from(n).toString("base64"),a=t===r||r.startsWith(t),s=t===i||i.startsWith(t);if(a&&s)return!0}catch(e){return!1}return!1}var wt=["ESDTNFTTransfer","ESDTNFTBurn","ESDTNFTAddQuantity","ESDTNFTCreate","MultiESDTNFTTransfer","ESDTTransfer","ESDTBurn","ESDTLocalMint","ESDTLocalBurn","ESDTWipe","ESDTFreeze"];function ar(t,e,r=""){if(!ne(t))return!1;if(new K.Address(t).isContractAddress())return!0;let a=At({receiver:t,data:r});return a?new K.Address(a).isContractAddress()||kt(t,e,r):!1}var vt=t=>t.toLowerCase().match(/[0-9a-f]/g),St=t=>t.length%2===0;function kt(t,e,r){let n=r==null?void 0:r.split("@");if(n==null)return!1;let[i,...a]=n,s=e!=null&&t!=null&&t===e,d=wt.includes(i),m=a.every(f=>vt(f)&&St(f));return s&&d&&m}function At({receiver:t,data:e}){try{if(!e)return t;let r=or(e)?K.TransactionPayload.fromEncoded(e).toString():e,n=It(r),i=r.split("@");return n>-1?i[n]:t}catch(r){console.log(r);return}}function It(t){return t.includes("MultiESDTNFTTransfer")?1:t.includes("ESDTNFTTransfer")?4:-1}o();var xe=require("@multiversx/sdk-core"),ie=S(require("bignumber.js"));o();o();function sr(t){for(let e=0;e<t.length;e++)if(t.charCodeAt(e)>127)return!1;return!0}function cr(t){let e=t;try{let r=l.Buffer.from(t,"hex").toString();sr(r)&&r.length>1&&(e=r)}catch(r){}return e}var ye={tokenId:"",amount:""},lr=t=>t.split("@").map((a,s)=>[2,3].includes(s)?a:cr(a));function ur(t){if(!t)return ye;let e=t.startsWith("ESDTTransfer"),r=t.startsWith("ESDTNFTTransfer")&&t.includes("@"),n=t.startsWith("ESDTNFTBurn")&&t.includes("@");if(e){let[,i,a]=t.split("@");try{let s=l.Buffer.from(i,"hex").toString("ascii");if(!s)return ye;let d=new ie.default("0x"+a.replace("0x","")).toString(10);return{tokenId:s,amount:d}}catch(s){console.error("Error getting token from transaction data",s)}}if(r)try{let[,i,a,s,d]=lr(t);if([i,a,s,d].every(m=>Boolean(m))&&ne(new xe.Address(d).bech32()))return{tokenId:`${i}-${a}`,amount:new ie.default(s,16).toString(10),collection:i,nonce:a,receiver:new xe.Address(d).bech32()}}catch(i){}if(n)try{let[,i,a,s]=lr(t);if([i,a,s].every(d=>Boolean(d)))return{tokenId:`${i}-${a}`,amount:new ie.default(s,16).toString(10),collection:i,nonce:a}}catch(i){}return ye}o();o();o();var O="accounts";var pr="blocks",dr="code",mr="collections";var gr="contracts";var fr="identities";var hr="locked-accounts",Tr="logs",yr="miniblocks";var be="nfts",xr="nodes",we="providers",br="roles",ve="sc-results";var q="tokens";var G="transactions";var B={shard:t=>`/${pr}?shard=${t}`,receiverShard:t=>`/${G}?receivershard=${t}`,senderShard:t=>`/${G}?sendershard=${t}`,transactionDetails:t=>`/${G}/${t}`,transactionDetailsScResults:t=>`/${G}/${t}/${ve}`,transactionDetailsLogs:t=>`/${G}/${t}/${Tr}`,nodeDetails:t=>`/${xr}/${t}`,accountDetails:t=>`/${O}/${t}`,accountDetailsContractCode:t=>`/${O}/${t}/${dr}`,accountDetailsTokens:t=>`/${O}/${t}/${q}`,accountDetailsNfts:t=>`/${O}/${t}/${be}`,accountDetailsScResults:t=>`/${O}/${t}/${ve}`,accountDetailsContracts:t=>`/${O}/${t}/${gr}`,identityDetails:t=>`/${fr}/${t}`,tokenDetails:t=>`/${q}/${t}`,tokenDetailsAccounts:t=>`/${q}/${t}/${O}`,tokenDetailsLockedAccounts:t=>`/${q}/${t}/${hr}`,tokenDetailsRoles:t=>`/${q}/${t}/${br}`,collectionDetails:t=>`/${mr}/${t}`,nftDetails:t=>`/${be}/${t}`,providerDetails:t=>`/${we}/${t}`,providerDetailsTransactions:t=>`/${we}/${t}/${G}`,miniblockDetails:t=>`/${yr}/${t}`};o();var Se=t=>{var e,r,n,i;if(t.action){let a=[(e=t.action.arguments)==null?void 0:e.token,(r=t.action.arguments)==null?void 0:r.token1,(n=t.action.arguments)==null?void 0:n.token2,(i=t.action.arguments)==null?void 0:i.transfers].filter(d=>d!=null);return[].concat(...a)}return[]};o();o();function oe(t){var r,n;let e=t.receiver;return(n=(r=t.action)==null?void 0:r.arguments)!=null&&n.receiver&&(e=t.action.arguments.receiver),e}function wr(t){let e=oe(t);return t.receiver===e?t.receiverAssets:void 0}o();var vr=t=>{var n,i,a,s,d,m;let e="Transaction";return((n=t.action)==null?void 0:n.name)&&((i=t.action)==null?void 0:i.category)&&(((a=t.action)==null?void 0:a.category)==="esdtNft"&&((s=t.action)==null?void 0:s.name)==="transfer"?e="Transaction":t.action&&(e=t.action.name),(m=(d=t.action)==null?void 0:d.arguments)!=null&&m.functionName&&(e=t.action.arguments.functionName)),e};o();var Sr=!1;function Et(t){Sr||(console.error(t),Sr=!0)}function j({explorerAddress:t,to:e}){try{return new URL(e).href}catch(r){return e.startsWith("/")||(Et(`Link not prepended by / : ${e}`),e=`/${e}`),t?`${t}${e}`:e}}o();function kr(t,e,r){let n=t===e.sender,i=t===r,a=n&&i,s=(e==null?void 0:e.type)==="SmartContractResult";switch(!0){case s:return"Internal";case a:return"Self";case i:return"In";case n:default:return"Out"}}o();o();o();var Lt=S(require("bignumber.js"));o();o();o();o();o();o();o();o();o();var ke={devnet:{id:"devnet",chainId:"D",name:"Devnet",egldLabel:"xEGLD",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"https://maiar.page.link/?apn=com.elrond.maiar.wallet&isi=1519405832&ibi=com.elrond.maiar.wallet&link=https://xportal.com/",walletConnectBridgeAddresses:["https://bridge.walletconnect.org"],walletConnectV2RelayAddresses:["wss://relay.walletconnect.com"],walletAddress:"https://devnet-wallet.multiversx.com",xAliasAddress:"https://devnet.xalias.com",apiAddress:"https://devnet-api.multiversx.com",explorerAddress:"http://devnet-explorer.multiversx.com",metamaskSnapWalletAddress:"https://devnet-snap-wallet.multiversx.com",apiTimeout:"4000",roundDuration:6e3},testnet:{id:"testnet",chainId:"T",name:"Testnet",egldLabel:"xEGLD",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"https://maiar.page.link/?apn=com.elrond.maiar.wallet&isi=1519405832&ibi=com.elrond.maiar.wallet&link=https://xportal.com/",walletConnectBridgeAddresses:["https://bridge.walletconnect.org"],walletConnectV2RelayAddresses:["wss://relay.walletconnect.com"],walletAddress:"https://testnet-wallet.multiversx.com",xAliasAddress:"https://testnet.xalias.com",apiAddress:"https://testnet-api.multiversx.com",explorerAddress:"http://testnet-explorer.multiversx.com",metamaskSnapWalletAddress:"https://testnet-snap-wallet.multiversx.com",apiTimeout:"4000",roundDuration:6e3},mainnet:{id:"mainnet",chainId:"1",name:"Mainnet",egldLabel:"EGLD",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"https://maiar.page.link/?apn=com.elrond.maiar.wallet&isi=1519405832&ibi=com.elrond.maiar.wallet&link=https://xportal.com/",walletConnectBridgeAddresses:["https://bridge.walletconnect.org"],walletConnectV2RelayAddresses:["wss://relay.walletconnect.com"],walletAddress:"https://wallet.multiversx.com",xAliasAddress:"https://xalias.com",apiAddress:"https://api.multiversx.com",explorerAddress:"https://explorer.multiversx.com",metamaskSnapWalletAddress:"https://snap-wallet.multiversx.com",apiTimeout:"4000",roundDuration:6e3}},{chainId:Ar,egldLabel:li}=ke["devnet"],{chainId:Ir,egldLabel:ui}=ke["testnet"],{chainId:Nr,egldLabel:pi}=ke["mainnet"];var di={["devnet"]:Ar,["testnet"]:Ir,["mainnet"]:Nr},mi={[Ar]:"devnet",[Ir]:"testnet",[Nr]:"mainnet"};o();o();var E=require("@multiversx/sdk-web-wallet-provider");o();o();var Ae=require("@multiversx/sdk-dapp-utils/out/constants/browserConstants");var Er,_r,Ie=String((_r=(Er=Ae.safeWindow)==null?void 0:Er.navigator)==null?void 0:_r.userAgent),xi=/^((?!chrome|android).)*safari/i.test(Ie),bi=/firefox/i.test(Ie)&&/windows/i.test(Ie);o();var Dt=require("@multiversx/sdk-core"),Ne=S(require("bignumber.js"));o();var _t=S(require("bignumber.js"));o();Ne.default.config({ROUNDING_MODE:Ne.default.ROUND_FLOOR});o();o();o();o();o();o();o();o();o();var Ft=require("@multiversx/sdk-core");o();var Y=require("@multiversx/sdk-core"),Ot=S(require("bignumber.js"));o();o();o();var Ct=S(require("bignumber.js"));o();o();o();o();o();o();o();o();o();o();var Ut=["reDelegateRewards","claimRewards","unBond"],Pt=["wrapEgld","unwrapEgld"],Mt=["unStake"],Gt=["unDelegate"];o();o();o();o();var Wt=S(require("bignumber.js"));o();o();o();o();o();o();var Ht=S(require("bignumber.js"));function qt({transaction:t,address:e,explorerAddress:r}){var Z;let n=(Z=t.tokenIdentifier)!=null?Z:ur(t.data).tokenId,i=oe(t),a=wr(t),s=kr(e,t,i),d=vr(t),m=Se(t),f=j({explorerAddress:r,to:B.accountDetails(t.sender)}),h=j({explorerAddress:r,to:B.accountDetails(i)}),g=j({explorerAddress:r,to:B.senderShard(t.senderShard)}),w=j({explorerAddress:r,to:B.receiverShard(t.receiverShard)}),x=t.originalTxHash?`${t.originalTxHash}#${t.txHash}`:t.txHash,F=j({explorerAddress:r,to:B.transactionDetails(x)});return ae(C({},t),{tokenIdentifier:n,receiver:i,receiverAssets:a,transactionDetails:{direction:s,method:d,transactionTokens:m,isContract:ar(t.sender)},links:{senderLink:f,receiverLink:h,senderShardLink:g,receiverShardLink:w,transactionLink:F}})}0&&(module.exports={getInterpretedTransaction});
|
|
1
|
+
"use strict";var Dr=Object.create;var z=Object.defineProperty,Lr=Object.defineProperties,Cr=Object.getOwnPropertyDescriptor,Fr=Object.getOwnPropertyDescriptors,Or=Object.getOwnPropertyNames,Re=Object.getOwnPropertySymbols,Br=Object.getPrototypeOf,Le=Object.prototype.hasOwnProperty,Ur=Object.prototype.propertyIsEnumerable;var De=(t,e,r)=>e in t?z(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,F=(t,e)=>{for(var r in e||(e={}))Le.call(e,r)&&De(t,r,e[r]);if(Re)for(var r of Re(e))Ur.call(e,r)&&De(t,r,e[r]);return t},ae=(t,e)=>Lr(t,Fr(e));var Pr=(t,e)=>()=>(t&&(e=t(t=0)),e);var J=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),Mr=(t,e)=>{for(var r in e)z(t,r,{get:e[r],enumerable:!0})},Ce=(t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of Or(e))!Le.call(t,i)&&i!==r&&z(t,i,{get:()=>e[i],enumerable:!(n=Cr(e,i))||n.enumerable});return t};var S=(t,e,r)=>(r=t!=null?Dr(Br(t)):{},Ce(e||!t||!t.__esModule?z(r,"default",{value:t,enumerable:!0}):r,t)),Gr=t=>Ce(z({},"__esModule",{value:!0}),t);var Be=J(Q=>{"use strict";o();Q.byteLength=$r;Q.toByteArray=Hr;Q.fromByteArray=zr;var k=[],v=[],Vr=typeof Uint8Array!="undefined"?Uint8Array:Array,se="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(U=0,Fe=se.length;U<Fe;++U)k[U]=se[U],v[se.charCodeAt(U)]=U;var U,Fe;v["-".charCodeAt(0)]=62;v["_".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 $r(t){var e=Oe(t),r=e[0],n=e[1];return(r+n)*3/4-n}function Wr(t,e,r){return(e+r)*3/4-r}function Hr(t){var e,r=Oe(t),n=r[0],i=r[1],a=new Vr(Wr(t,n,i)),s=0,d=i>0?n-4:n,m;for(m=0;m<d;m+=4)e=v[t.charCodeAt(m)]<<18|v[t.charCodeAt(m+1)]<<12|v[t.charCodeAt(m+2)]<<6|v[t.charCodeAt(m+3)],a[s++]=e>>16&255,a[s++]=e>>8&255,a[s++]=e&255;return i===2&&(e=v[t.charCodeAt(m)]<<2|v[t.charCodeAt(m+1)]>>4,a[s++]=e&255),i===1&&(e=v[t.charCodeAt(m)]<<10|v[t.charCodeAt(m+1)]<<4|v[t.charCodeAt(m+2)]>>2,a[s++]=e>>8&255,a[s++]=e&255),a}function qr(t){return k[t>>18&63]+k[t>>12&63]+k[t>>6&63]+k[t&63]}function jr(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(qr(n));return i.join("")}function zr(t){for(var e,r=t.length,n=r%3,i=[],a=16383,s=0,d=r-n;s<d;s+=a)i.push(jr(t,s,s+a>d?d:s+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 Ue=J(ce=>{o();ce.read=function(t,e,r,n,i){var a,s,d=i*8-n-1,m=(1<<d)-1,f=m>>1,h=-7,g=r?i-1:0,w=r?-1:1,x=t[e+g];for(g+=w,a=x&(1<<-h)-1,x>>=-h,h+=d;h>0;a=a*256+t[e+g],g+=w,h-=8);for(s=a&(1<<-h)-1,a>>=-h,h+=n;h>0;s=s*256+t[e+g],g+=w,h-=8);if(a===0)a=1-f;else{if(a===m)return s?NaN:(x?-1:1)*(1/0);s=s+Math.pow(2,n),a=a-f}return(x?-1:1)*s*Math.pow(2,a-n)};ce.write=function(t,e,r,n,i,a){var s,d,m,f=a*8-i-1,h=(1<<f)-1,g=h>>1,w=i===23?Math.pow(2,-24)-Math.pow(2,-77):0,x=n?0:a-1,C=n?1:-1,Z=e<0||e===0&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(d=isNaN(e)?1:0,s=h):(s=Math.floor(Math.log(e)/Math.LN2),e*(m=Math.pow(2,-s))<1&&(s--,m*=2),s+g>=1?e+=w/m:e+=w*Math.pow(2,1-g),e*m>=2&&(s++,m/=2),s+g>=h?(d=0,s=h):s+g>=1?(d=(e*m-1)*Math.pow(2,i),s=s+g):(d=e*Math.pow(2,g-1)*Math.pow(2,i),s=0));i>=8;t[r+x]=d&255,x+=C,d/=256,i-=8);for(s=s<<i|d,f+=i;f>0;t[r+x]=s&255,x+=C,s/=256,f-=8);t[r+x-C]|=Z*128}});var Ye=J($=>{"use strict";o();var le=Be(),V=Ue(),Pe=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;$.Buffer=c;$.SlowBuffer=Qr;$.INSPECT_MAX_BYTES=50;var ee=2147483647;$.kMaxLength=ee;c.TYPED_ARRAY_SUPPORT=Kr();!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 Kr(){try{var t=new Uint8Array(1),e={foo:function(){return 42}};return Object.setPrototypeOf(e,Uint8Array.prototype),Object.setPrototypeOf(t,e),t.foo()===42}catch(r){return!1}}Object.defineProperty(c.prototype,"parent",{enumerable:!0,get:function(){if(!!c.isBuffer(this))return this.buffer}});Object.defineProperty(c.prototype,"offset",{enumerable:!0,get:function(){if(!!c.isBuffer(this))return this.byteOffset}});function _(t){if(t>ee)throw new RangeError('The value "'+t+'" is invalid for option "size"');var e=new Uint8Array(t);return Object.setPrototypeOf(e,c.prototype),e}function c(t,e,r){if(typeof t=="number"){if(typeof e=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return me(t)}return Ve(t,e,r)}c.poolSize=8192;function Ve(t,e,r){if(typeof t=="string")return Yr(t,e);if(ArrayBuffer.isView(t))return Zr(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 pe(t,e,r);if(typeof t=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var n=t.valueOf&&t.valueOf();if(n!=null&&n!==t)return c.from(n,e,r);var i=Jr(t);if(i)return i;if(typeof Symbol!="undefined"&&Symbol.toPrimitive!=null&&typeof t[Symbol.toPrimitive]=="function")return c.from(t[Symbol.toPrimitive]("string"),e,r);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t)}c.from=function(t,e,r){return Ve(t,e,r)};Object.setPrototypeOf(c.prototype,Uint8Array.prototype);Object.setPrototypeOf(c,Uint8Array);function $e(t){if(typeof t!="number")throw new TypeError('"size" argument must be of type number');if(t<0)throw new RangeError('The value "'+t+'" is invalid for option "size"')}function Xr(t,e,r){return $e(t),t<=0?_(t):e!==void 0?typeof r=="string"?_(t).fill(e,r):_(t).fill(e):_(t)}c.alloc=function(t,e,r){return Xr(t,e,r)};function me(t){return $e(t),_(t<0?0:ge(t)|0)}c.allocUnsafe=function(t){return me(t)};c.allocUnsafeSlow=function(t){return me(t)};function Yr(t,e){if((typeof e!="string"||e==="")&&(e="utf8"),!c.isEncoding(e))throw new TypeError("Unknown encoding: "+e);var r=We(t,e)|0,n=_(r),i=n.write(t,e);return i!==r&&(n=n.slice(0,i)),n}function ue(t){for(var e=t.length<0?0:ge(t.length)|0,r=_(e),n=0;n<e;n+=1)r[n]=t[n]&255;return r}function Zr(t){if(A(t,Uint8Array)){var e=new Uint8Array(t);return pe(e.buffer,e.byteOffset,e.byteLength)}return ue(t)}function pe(t,e,r){if(e<0||t.byteLength<e)throw new RangeError('"offset" is outside of buffer bounds');if(t.byteLength<e+(r||0))throw new RangeError('"length" is outside of buffer bounds');var n;return e===void 0&&r===void 0?n=new Uint8Array(t):r===void 0?n=new Uint8Array(t,e):n=new Uint8Array(t,e,r),Object.setPrototypeOf(n,c.prototype),n}function Jr(t){if(c.isBuffer(t)){var e=ge(t.length)|0,r=_(e);return r.length===0||t.copy(r,0,0,e),r}if(t.length!==void 0)return typeof t.length!="number"||fe(t.length)?_(0):ue(t);if(t.type==="Buffer"&&Array.isArray(t.data))return ue(t.data)}function ge(t){if(t>=ee)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+ee.toString(16)+" bytes");return t|0}function Qr(t){return+t!=t&&(t=0),c.alloc(+t)}c.isBuffer=function(e){return e!=null&&e._isBuffer===!0&&e!==c.prototype};c.compare=function(e,r){if(A(e,Uint8Array)&&(e=c.from(e,e.offset,e.byteLength)),A(r,Uint8Array)&&(r=c.from(r,r.offset,r.byteLength)),!c.isBuffer(e)||!c.isBuffer(r))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(e===r)return 0;for(var n=e.length,i=r.length,a=0,s=Math.min(n,i);a<s;++a)if(e[a]!==r[a]){n=e[a],i=r[a];break}return n<i?-1:i<n?1:0};c.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}};c.concat=function(e,r){if(!Array.isArray(e))throw new TypeError('"list" argument must be an Array of Buffers');if(e.length===0)return c.alloc(0);var n;if(r===void 0)for(r=0,n=0;n<e.length;++n)r+=e[n].length;var i=c.allocUnsafe(r),a=0;for(n=0;n<e.length;++n){var s=e[n];if(A(s,Uint8Array))a+s.length>i.length?c.from(s).copy(i,a):Uint8Array.prototype.set.call(i,s,a);else if(c.isBuffer(s))s.copy(i,a);else throw new TypeError('"list" argument must be an Array of Buffers');a+=s.length}return i};function We(t,e){if(c.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 de(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return r*2;case"hex":return r>>>1;case"base64":return Xe(t).length;default:if(i)return n?-1:de(t).length;e=(""+e).toLowerCase(),i=!0}}c.byteLength=We;function et(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 ut(this,e,r);case"utf8":case"utf-8":return qe(this,e,r);case"ascii":return ct(this,e,r);case"latin1":case"binary":return lt(this,e,r);case"base64":return at(this,e,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return pt(this,e,r);default:if(n)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),n=!0}}c.prototype._isBuffer=!0;function P(t,e,r){var n=t[e];t[e]=t[r],t[r]=n}c.prototype.swap16=function(){var e=this.length;if(e%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var r=0;r<e;r+=2)P(this,r,r+1);return this};c.prototype.swap32=function(){var e=this.length;if(e%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var r=0;r<e;r+=4)P(this,r,r+3),P(this,r+1,r+2);return this};c.prototype.swap64=function(){var e=this.length;if(e%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var r=0;r<e;r+=8)P(this,r,r+7),P(this,r+1,r+6),P(this,r+2,r+5),P(this,r+3,r+4);return this};c.prototype.toString=function(){var e=this.length;return e===0?"":arguments.length===0?qe(this,0,e):et.apply(this,arguments)};c.prototype.toLocaleString=c.prototype.toString;c.prototype.equals=function(e){if(!c.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e?!0:c.compare(this,e)===0};c.prototype.inspect=function(){var e="",r=$.INSPECT_MAX_BYTES;return e=this.toString("hex",0,r).replace(/(.{2})/g,"$1 ").trim(),this.length>r&&(e+=" ... "),"<Buffer "+e+">"};Pe&&(c.prototype[Pe]=c.prototype.inspect);c.prototype.compare=function(e,r,n,i,a){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(r===void 0&&(r=0),n===void 0&&(n=e?e.length:0),i===void 0&&(i=0),a===void 0&&(a=this.length),r<0||n>e.length||i<0||a>this.length)throw new RangeError("out of range index");if(i>=a&&r>=n)return 0;if(i>=a)return-1;if(r>=n)return 1;if(r>>>=0,n>>>=0,i>>>=0,a>>>=0,this===e)return 0;for(var s=a-i,d=n-r,m=Math.min(s,d),f=this.slice(i,a),h=e.slice(r,n),g=0;g<m;++g)if(f[g]!==h[g]){s=f[g],d=h[g];break}return s<d?-1:d<s?1:0};function He(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,fe(r)&&(r=i?0:t.length-1),r<0&&(r=t.length+r),r>=t.length){if(i)return-1;r=t.length-1}else if(r<0)if(i)r=0;else return-1;if(typeof e=="string"&&(e=c.from(e,n)),c.isBuffer(e))return e.length===0?-1:Me(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):Me(t,[e],r,n,i);throw new TypeError("val must be string, number or Buffer")}function Me(t,e,r,n,i){var a=1,s=t.length,d=e.length;if(n!==void 0&&(n=String(n).toLowerCase(),n==="ucs2"||n==="ucs-2"||n==="utf16le"||n==="utf-16le")){if(t.length<2||e.length<2)return-1;a=2,s/=2,d/=2,r/=2}function m(x,C){return a===1?x[C]:x.readUInt16BE(C*a)}var f;if(i){var h=-1;for(f=r;f<s;f++)if(m(t,f)===m(e,h===-1?0:f-h)){if(h===-1&&(h=f),f-h+1===d)return h*a}else h!==-1&&(f-=f-h),h=-1}else for(r+d>s&&(r=s-d),f=r;f>=0;f--){for(var g=!0,w=0;w<d;w++)if(m(t,f+w)!==m(e,w)){g=!1;break}if(g)return f}return-1}c.prototype.includes=function(e,r,n){return this.indexOf(e,r,n)!==-1};c.prototype.indexOf=function(e,r,n){return He(this,e,r,n,!0)};c.prototype.lastIndexOf=function(e,r,n){return He(this,e,r,n,!1)};function rt(t,e,r,n){r=Number(r)||0;var i=t.length-r;n?(n=Number(n),n>i&&(n=i)):n=i;var a=e.length;n>a/2&&(n=a/2);for(var s=0;s<n;++s){var d=parseInt(e.substr(s*2,2),16);if(fe(d))return s;t[r+s]=d}return s}function tt(t,e,r,n){return re(de(e,t.length-r),t,r,n)}function nt(t,e,r,n){return re(gt(e),t,r,n)}function it(t,e,r,n){return re(Xe(e),t,r,n)}function ot(t,e,r,n){return re(ft(e,t.length-r),t,r,n)}c.prototype.write=function(e,r,n,i){if(r===void 0)i="utf8",n=this.length,r=0;else if(n===void 0&&typeof r=="string")i=r,n=this.length,r=0;else if(isFinite(r))r=r>>>0,isFinite(n)?(n=n>>>0,i===void 0&&(i="utf8")):(i=n,n=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var a=this.length-r;if((n===void 0||n>a)&&(n=a),e.length>0&&(n<0||r<0)||r>this.length)throw new RangeError("Attempt to write outside buffer bounds");i||(i="utf8");for(var s=!1;;)switch(i){case"hex":return rt(this,e,r,n);case"utf8":case"utf-8":return tt(this,e,r,n);case"ascii":case"latin1":case"binary":return nt(this,e,r,n);case"base64":return it(this,e,r,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return ot(this,e,r,n);default:if(s)throw new TypeError("Unknown encoding: "+i);i=(""+i).toLowerCase(),s=!0}};c.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function at(t,e,r){return e===0&&r===t.length?le.fromByteArray(t):le.fromByteArray(t.slice(e,r))}function qe(t,e,r){r=Math.min(t.length,r);for(var n=[],i=e;i<r;){var a=t[i],s=null,d=a>239?4:a>223?3:a>191?2:1;if(i+d<=r){var m,f,h,g;switch(d){case 1:a<128&&(s=a);break;case 2:m=t[i+1],(m&192)===128&&(g=(a&31)<<6|m&63,g>127&&(s=g));break;case 3:m=t[i+1],f=t[i+2],(m&192)===128&&(f&192)===128&&(g=(a&15)<<12|(m&63)<<6|f&63,g>2047&&(g<55296||g>57343)&&(s=g));break;case 4:m=t[i+1],f=t[i+2],h=t[i+3],(m&192)===128&&(f&192)===128&&(h&192)===128&&(g=(a&15)<<18|(m&63)<<12|(f&63)<<6|h&63,g>65535&&g<1114112&&(s=g))}}s===null?(s=65533,d=1):s>65535&&(s-=65536,n.push(s>>>10&1023|55296),s=56320|s&1023),n.push(s),i+=d}return st(n)}var Ge=4096;function st(t){var e=t.length;if(e<=Ge)return String.fromCharCode.apply(String,t);for(var r="",n=0;n<e;)r+=String.fromCharCode.apply(String,t.slice(n,n+=Ge));return r}function ct(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 lt(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 ut(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+=ht[t[a]];return i}function pt(t,e,r){for(var n=t.slice(e,r),i="",a=0;a<n.length-1;a+=2)i+=String.fromCharCode(n[a]+n[a+1]*256);return i}c.prototype.slice=function(e,r){var n=this.length;e=~~e,r=r===void 0?n:~~r,e<0?(e+=n,e<0&&(e=0)):e>n&&(e=n),r<0?(r+=n,r<0&&(r=0)):r>n&&(r=n),r<e&&(r=e);var i=this.subarray(e,r);return Object.setPrototypeOf(i,c.prototype),i};function y(t,e,r){if(t%1!==0||t<0)throw new RangeError("offset is not uint");if(t+e>r)throw new RangeError("Trying to access beyond buffer length")}c.prototype.readUintLE=c.prototype.readUIntLE=function(e,r,n){e=e>>>0,r=r>>>0,n||y(e,r,this.length);for(var i=this[e],a=1,s=0;++s<r&&(a*=256);)i+=this[e+s]*a;return i};c.prototype.readUintBE=c.prototype.readUIntBE=function(e,r,n){e=e>>>0,r=r>>>0,n||y(e,r,this.length);for(var i=this[e+--r],a=1;r>0&&(a*=256);)i+=this[e+--r]*a;return i};c.prototype.readUint8=c.prototype.readUInt8=function(e,r){return e=e>>>0,r||y(e,1,this.length),this[e]};c.prototype.readUint16LE=c.prototype.readUInt16LE=function(e,r){return e=e>>>0,r||y(e,2,this.length),this[e]|this[e+1]<<8};c.prototype.readUint16BE=c.prototype.readUInt16BE=function(e,r){return e=e>>>0,r||y(e,2,this.length),this[e]<<8|this[e+1]};c.prototype.readUint32LE=c.prototype.readUInt32LE=function(e,r){return e=e>>>0,r||y(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+this[e+3]*16777216};c.prototype.readUint32BE=c.prototype.readUInt32BE=function(e,r){return e=e>>>0,r||y(e,4,this.length),this[e]*16777216+(this[e+1]<<16|this[e+2]<<8|this[e+3])};c.prototype.readIntLE=function(e,r,n){e=e>>>0,r=r>>>0,n||y(e,r,this.length);for(var i=this[e],a=1,s=0;++s<r&&(a*=256);)i+=this[e+s]*a;return a*=128,i>=a&&(i-=Math.pow(2,8*r)),i};c.prototype.readIntBE=function(e,r,n){e=e>>>0,r=r>>>0,n||y(e,r,this.length);for(var i=r,a=1,s=this[e+--i];i>0&&(a*=256);)s+=this[e+--i]*a;return a*=128,s>=a&&(s-=Math.pow(2,8*r)),s};c.prototype.readInt8=function(e,r){return e=e>>>0,r||y(e,1,this.length),this[e]&128?(255-this[e]+1)*-1:this[e]};c.prototype.readInt16LE=function(e,r){e=e>>>0,r||y(e,2,this.length);var n=this[e]|this[e+1]<<8;return n&32768?n|4294901760:n};c.prototype.readInt16BE=function(e,r){e=e>>>0,r||y(e,2,this.length);var n=this[e+1]|this[e]<<8;return n&32768?n|4294901760:n};c.prototype.readInt32LE=function(e,r){return e=e>>>0,r||y(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24};c.prototype.readInt32BE=function(e,r){return e=e>>>0,r||y(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]};c.prototype.readFloatLE=function(e,r){return e=e>>>0,r||y(e,4,this.length),V.read(this,e,!0,23,4)};c.prototype.readFloatBE=function(e,r){return e=e>>>0,r||y(e,4,this.length),V.read(this,e,!1,23,4)};c.prototype.readDoubleLE=function(e,r){return e=e>>>0,r||y(e,8,this.length),V.read(this,e,!0,52,8)};c.prototype.readDoubleBE=function(e,r){return e=e>>>0,r||y(e,8,this.length),V.read(this,e,!1,52,8)};function b(t,e,r,n,i,a){if(!c.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>i||e<a)throw new RangeError('"value" argument is out of bounds');if(r+n>t.length)throw new RangeError("Index out of range")}c.prototype.writeUintLE=c.prototype.writeUIntLE=function(e,r,n,i){if(e=+e,r=r>>>0,n=n>>>0,!i){var a=Math.pow(2,8*n)-1;b(this,e,r,n,a,0)}var s=1,d=0;for(this[r]=e&255;++d<n&&(s*=256);)this[r+d]=e/s&255;return r+n};c.prototype.writeUintBE=c.prototype.writeUIntBE=function(e,r,n,i){if(e=+e,r=r>>>0,n=n>>>0,!i){var a=Math.pow(2,8*n)-1;b(this,e,r,n,a,0)}var s=n-1,d=1;for(this[r+s]=e&255;--s>=0&&(d*=256);)this[r+s]=e/d&255;return r+n};c.prototype.writeUint8=c.prototype.writeUInt8=function(e,r,n){return e=+e,r=r>>>0,n||b(this,e,r,1,255,0),this[r]=e&255,r+1};c.prototype.writeUint16LE=c.prototype.writeUInt16LE=function(e,r,n){return e=+e,r=r>>>0,n||b(this,e,r,2,65535,0),this[r]=e&255,this[r+1]=e>>>8,r+2};c.prototype.writeUint16BE=c.prototype.writeUInt16BE=function(e,r,n){return e=+e,r=r>>>0,n||b(this,e,r,2,65535,0),this[r]=e>>>8,this[r+1]=e&255,r+2};c.prototype.writeUint32LE=c.prototype.writeUInt32LE=function(e,r,n){return e=+e,r=r>>>0,n||b(this,e,r,4,4294967295,0),this[r+3]=e>>>24,this[r+2]=e>>>16,this[r+1]=e>>>8,this[r]=e&255,r+4};c.prototype.writeUint32BE=c.prototype.writeUInt32BE=function(e,r,n){return e=+e,r=r>>>0,n||b(this,e,r,4,4294967295,0),this[r]=e>>>24,this[r+1]=e>>>16,this[r+2]=e>>>8,this[r+3]=e&255,r+4};c.prototype.writeIntLE=function(e,r,n,i){if(e=+e,r=r>>>0,!i){var a=Math.pow(2,8*n-1);b(this,e,r,n,a-1,-a)}var s=0,d=1,m=0;for(this[r]=e&255;++s<n&&(d*=256);)e<0&&m===0&&this[r+s-1]!==0&&(m=1),this[r+s]=(e/d>>0)-m&255;return r+n};c.prototype.writeIntBE=function(e,r,n,i){if(e=+e,r=r>>>0,!i){var a=Math.pow(2,8*n-1);b(this,e,r,n,a-1,-a)}var s=n-1,d=1,m=0;for(this[r+s]=e&255;--s>=0&&(d*=256);)e<0&&m===0&&this[r+s+1]!==0&&(m=1),this[r+s]=(e/d>>0)-m&255;return r+n};c.prototype.writeInt8=function(e,r,n){return e=+e,r=r>>>0,n||b(this,e,r,1,127,-128),e<0&&(e=255+e+1),this[r]=e&255,r+1};c.prototype.writeInt16LE=function(e,r,n){return e=+e,r=r>>>0,n||b(this,e,r,2,32767,-32768),this[r]=e&255,this[r+1]=e>>>8,r+2};c.prototype.writeInt16BE=function(e,r,n){return e=+e,r=r>>>0,n||b(this,e,r,2,32767,-32768),this[r]=e>>>8,this[r+1]=e&255,r+2};c.prototype.writeInt32LE=function(e,r,n){return e=+e,r=r>>>0,n||b(this,e,r,4,2147483647,-2147483648),this[r]=e&255,this[r+1]=e>>>8,this[r+2]=e>>>16,this[r+3]=e>>>24,r+4};c.prototype.writeInt32BE=function(e,r,n){return e=+e,r=r>>>0,n||b(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 je(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 ze(t,e,r,n,i){return e=+e,r=r>>>0,i||je(t,e,r,4,34028234663852886e22,-34028234663852886e22),V.write(t,e,r,n,23,4),r+4}c.prototype.writeFloatLE=function(e,r,n){return ze(this,e,r,!0,n)};c.prototype.writeFloatBE=function(e,r,n){return ze(this,e,r,!1,n)};function Ke(t,e,r,n,i){return e=+e,r=r>>>0,i||je(t,e,r,8,17976931348623157e292,-17976931348623157e292),V.write(t,e,r,n,52,8),r+8}c.prototype.writeDoubleLE=function(e,r,n){return Ke(this,e,r,!0,n)};c.prototype.writeDoubleBE=function(e,r,n){return Ke(this,e,r,!1,n)};c.prototype.copy=function(e,r,n,i){if(!c.isBuffer(e))throw new TypeError("argument should be a Buffer");if(n||(n=0),!i&&i!==0&&(i=this.length),r>=e.length&&(r=e.length),r||(r=0),i>0&&i<n&&(i=n),i===n||e.length===0||this.length===0)return 0;if(r<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw new RangeError("Index out of range");if(i<0)throw new RangeError("sourceEnd out of bounds");i>this.length&&(i=this.length),e.length-r<i-n&&(i=e.length-r+n);var a=i-n;return this===e&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(r,n,i):Uint8Array.prototype.set.call(e,this.subarray(n,i),r),a};c.prototype.fill=function(e,r,n,i){if(typeof e=="string"){if(typeof r=="string"?(i=r,r=0,n=this.length):typeof n=="string"&&(i=n,n=this.length),i!==void 0&&typeof i!="string")throw new TypeError("encoding must be a string");if(typeof i=="string"&&!c.isEncoding(i))throw new TypeError("Unknown encoding: "+i);if(e.length===1){var a=e.charCodeAt(0);(i==="utf8"&&a<128||i==="latin1")&&(e=a)}}else typeof e=="number"?e=e&255:typeof e=="boolean"&&(e=Number(e));if(r<0||this.length<r||this.length<n)throw new RangeError("Out of range index");if(n<=r)return this;r=r>>>0,n=n===void 0?this.length:n>>>0,e||(e=0);var s;if(typeof e=="number")for(s=r;s<n;++s)this[s]=e;else{var d=c.isBuffer(e)?e:c.from(e,i),m=d.length;if(m===0)throw new TypeError('The value "'+e+'" is invalid for argument "value"');for(s=0;s<n-r;++s)this[s+r]=d[s%m]}return this};var dt=/[^+/0-9A-Za-z-_]/g;function mt(t){if(t=t.split("=")[0],t=t.trim().replace(dt,""),t.length<2)return"";for(;t.length%4!==0;)t=t+"=";return t}function de(t,e){e=e||1/0;for(var r,n=t.length,i=null,a=[],s=0;s<n;++s){if(r=t.charCodeAt(s),r>55295&&r<57344){if(!i){if(r>56319){(e-=3)>-1&&a.push(239,191,189);continue}else if(s+1===n){(e-=3)>-1&&a.push(239,191,189);continue}i=r;continue}if(r<56320){(e-=3)>-1&&a.push(239,191,189),i=r;continue}r=(i-55296<<10|r-56320)+65536}else i&&(e-=3)>-1&&a.push(239,191,189);if(i=null,r<128){if((e-=1)<0)break;a.push(r)}else if(r<2048){if((e-=2)<0)break;a.push(r>>6|192,r&63|128)}else if(r<65536){if((e-=3)<0)break;a.push(r>>12|224,r>>6&63|128,r&63|128)}else if(r<1114112){if((e-=4)<0)break;a.push(r>>18|240,r>>12&63|128,r>>6&63|128,r&63|128)}else throw new Error("Invalid code point")}return a}function gt(t){for(var e=[],r=0;r<t.length;++r)e.push(t.charCodeAt(r)&255);return e}function ft(t,e){for(var r,n,i,a=[],s=0;s<t.length&&!((e-=2)<0);++s)r=t.charCodeAt(s),n=r>>8,i=r%256,a.push(i),a.push(n);return a}function Xe(t){return le.toByteArray(mt(t))}function re(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 fe(t){return t!==t}var ht=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 rr=J((Zt,er)=>{o();var T=er.exports={},I,N;function he(){throw new Error("setTimeout has not been defined")}function Te(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?I=setTimeout:I=he}catch(t){I=he}try{typeof clearTimeout=="function"?N=clearTimeout:N=Te}catch(t){N=Te}})();function Ze(t){if(I===setTimeout)return setTimeout(t,0);if((I===he||!I)&&setTimeout)return I=setTimeout,setTimeout(t,0);try{return I(t,0)}catch(e){try{return I.call(null,t,0)}catch(r){return I.call(this,t,0)}}}function Tt(t){if(N===clearTimeout)return clearTimeout(t);if((N===Te||!N)&&clearTimeout)return N=clearTimeout,clearTimeout(t);try{return N(t)}catch(e){try{return N.call(null,t)}catch(r){return N.call(this,t)}}}var R=[],W=!1,M,te=-1;function yt(){!W||!M||(W=!1,M.length?R=M.concat(R):te=-1,R.length&&Je())}function Je(){if(!W){var t=Ze(yt);W=!0;for(var e=R.length;e;){for(M=R,R=[];++te<e;)M&&M[te].run();te=-1,e=R.length}M=null,W=!1,Tt(t)}}T.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];R.push(new Qe(t,e)),R.length===1&&!W&&Ze(Je)};function Qe(t,e){this.fun=t,this.array=e}Qe.prototype.run=function(){this.fun.apply(null,this.array)};T.title="browser";T.browser=!0;T.env={};T.argv=[];T.version="";T.versions={};function D(){}T.on=D;T.addListener=D;T.once=D;T.off=D;T.removeListener=D;T.removeAllListeners=D;T.emit=D;T.prependListener=D;T.prependOnceListener=D;T.listeners=function(t){return[]};T.binding=function(t){throw new Error("process.binding is not supported")};T.cwd=function(){return"/"};T.chdir=function(t){throw new Error("process.chdir is not supported")};T.umask=function(){return 0}});var l,u,Jt,o=Pr(()=>{l=S(Ye()),u=S(rr()),Jt=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 jt={};Mr(jt,{getInterpretedTransaction:()=>qt});module.exports=Gr(jt);o();o();var K=require("@multiversx/sdk-core");o();o();o();o();o();o();var xt=require("@multiversx/sdk-web-wallet-cross-window-provider/out/CrossWindowProvider/CrossWindowProvider"),H=require("@multiversx/sdk-web-wallet-cross-window-provider/out/enums");var tr=(r=>(r.signTransactionsWithGuardianResponse="SIGN_TRANSACTIONS_WITH_GUARDIAN_RESPONSE",r.reloginRequest="RELOGIN_REQUEST",r))(tr||{}),nn=F(F({},H.WindowProviderRequestEnums),tr),nr=(e=>(e.reloginResponse="RELOGIN_RESPONSE",e))(nr||{}),on=F(F({},H.WindowProviderResponseEnums),nr);o();o();o();o();o();o();o();var ir=require("@multiversx/sdk-core");function bt(t){try{let e=new ir.Address(t);return Boolean(e.bech32())}catch(e){return!1}}function ne(t){return(t==null?void 0:t.length)===62&&/^\w+$/.test(t)&&bt(t)}o();function or(t){try{let e=atob(t),r=btoa(e),n=l.Buffer.from(t,"base64").toString(),i=l.Buffer.from(n).toString("base64"),a=t===r||r.startsWith(t),s=t===i||i.startsWith(t);if(a&&s)return!0}catch(e){return!1}return!1}var wt=["ESDTNFTTransfer","ESDTNFTBurn","ESDTNFTAddQuantity","ESDTNFTCreate","MultiESDTNFTTransfer","ESDTTransfer","ESDTBurn","ESDTLocalMint","ESDTLocalBurn","ESDTWipe","ESDTFreeze"];function ar(t,e,r=""){if(!ne(t))return!1;if(new K.Address(t).isContractAddress())return!0;let a=At({receiver:t,data:r});return a?new K.Address(a).isContractAddress()||kt(t,e,r):!1}var vt=t=>t.toLowerCase().match(/[0-9a-f]/g),St=t=>t.length%2===0;function kt(t,e,r){let n=r==null?void 0:r.split("@");if(n==null)return!1;let[i,...a]=n,s=e!=null&&t!=null&&t===e,d=wt.includes(i),m=a.every(f=>vt(f)&&St(f));return s&&d&&m}function At({receiver:t,data:e}){try{if(!e)return t;let r=or(e)?K.TransactionPayload.fromEncoded(e).toString():e,n=It(r),i=r.split("@");return n>-1?i[n]:t}catch(r){console.log(r);return}}function It(t){return t.includes("MultiESDTNFTTransfer")?1:t.includes("ESDTNFTTransfer")?4:-1}o();var xe=require("@multiversx/sdk-core"),ie=S(require("bignumber.js"));o();o();function sr(t){for(let e=0;e<t.length;e++)if(t.charCodeAt(e)>127)return!1;return!0}function cr(t){let e=t;try{let r=l.Buffer.from(t,"hex").toString();sr(r)&&r.length>1&&(e=r)}catch(r){}return e}var ye={tokenId:"",amount:""},lr=t=>t.split("@").map((a,s)=>[2,3].includes(s)?a:cr(a));function ur(t){if(!t)return ye;let e=t.startsWith("ESDTTransfer"),r=t.startsWith("ESDTNFTTransfer")&&t.includes("@"),n=t.startsWith("ESDTNFTBurn")&&t.includes("@");if(e){let[,i,a]=t.split("@");try{let s=l.Buffer.from(i,"hex").toString("ascii");if(!s)return ye;let d=new ie.default("0x"+a.replace("0x","")).toString(10);return{tokenId:s,amount:d}}catch(s){console.error("Error getting token from transaction data",s)}}if(r)try{let[,i,a,s,d]=lr(t);if([i,a,s,d].every(m=>Boolean(m))&&ne(new xe.Address(d).bech32()))return{tokenId:`${i}-${a}`,amount:new ie.default(s,16).toString(10),collection:i,nonce:a,receiver:new xe.Address(d).bech32()}}catch(i){}if(n)try{let[,i,a,s]=lr(t);if([i,a,s].every(d=>Boolean(d)))return{tokenId:`${i}-${a}`,amount:new ie.default(s,16).toString(10),collection:i,nonce:a}}catch(i){}return ye}o();o();o();var O="accounts";var pr="blocks",dr="code",mr="collections";var gr="contracts";var fr="identities";var hr="locked-accounts",Tr="logs",yr="miniblocks";var be="nfts",xr="nodes",we="providers",br="roles",ve="sc-results";var q="tokens";var G="transactions";var B={shard:t=>`/${pr}?shard=${t}`,receiverShard:t=>`/${G}?receivershard=${t}`,senderShard:t=>`/${G}?sendershard=${t}`,transactionDetails:t=>`/${G}/${t}`,transactionDetailsScResults:t=>`/${G}/${t}/${ve}`,transactionDetailsLogs:t=>`/${G}/${t}/${Tr}`,nodeDetails:t=>`/${xr}/${t}`,accountDetails:t=>`/${O}/${t}`,accountDetailsContractCode:t=>`/${O}/${t}/${dr}`,accountDetailsTokens:t=>`/${O}/${t}/${q}`,accountDetailsNfts:t=>`/${O}/${t}/${be}`,accountDetailsScResults:t=>`/${O}/${t}/${ve}`,accountDetailsContracts:t=>`/${O}/${t}/${gr}`,identityDetails:t=>`/${fr}/${t}`,tokenDetails:t=>`/${q}/${t}`,tokenDetailsAccounts:t=>`/${q}/${t}/${O}`,tokenDetailsLockedAccounts:t=>`/${q}/${t}/${hr}`,tokenDetailsRoles:t=>`/${q}/${t}/${br}`,collectionDetails:t=>`/${mr}/${t}`,nftDetails:t=>`/${be}/${t}`,providerDetails:t=>`/${we}/${t}`,providerDetailsTransactions:t=>`/${we}/${t}/${G}`,miniblockDetails:t=>`/${yr}/${t}`};o();var Se=t=>{var e,r,n,i;if(t.action){let a=[(e=t.action.arguments)==null?void 0:e.token,(r=t.action.arguments)==null?void 0:r.token1,(n=t.action.arguments)==null?void 0:n.token2,(i=t.action.arguments)==null?void 0:i.transfers].filter(d=>d!=null);return[].concat(...a)}return[]};o();o();function oe(t){var r,n;let e=t.receiver;return(n=(r=t.action)==null?void 0:r.arguments)!=null&&n.receiver&&(e=t.action.arguments.receiver),e}function wr(t){let e=oe(t);return t.receiver===e?t.receiverAssets:void 0}o();var vr=t=>{var n,i,a,s,d,m;let e="Transaction";return((n=t.action)==null?void 0:n.name)&&((i=t.action)==null?void 0:i.category)&&(((a=t.action)==null?void 0:a.category)==="esdtNft"&&((s=t.action)==null?void 0:s.name)==="transfer"?e="Transaction":t.action&&(e=t.action.name),(m=(d=t.action)==null?void 0:d.arguments)!=null&&m.functionName&&(e=t.action.arguments.functionName)),e};o();var Sr=!1;function Et(t){Sr||(console.error(t),Sr=!0)}function j({explorerAddress:t,to:e}){try{return new URL(e).href}catch(r){return e.startsWith("/")||(Et(`Link not prepended by / : ${e}`),e=`/${e}`),t?`${t}${e}`:e}}o();function kr(t,e,r){let n=t===e.sender,i=t===r,a=n&&i,s=(e==null?void 0:e.type)==="SmartContractResult";switch(!0){case s:return"Internal";case a:return"Self";case i:return"In";case n:default:return"Out"}}o();o();o();var Lt=S(require("bignumber.js"));o();o();o();o();o();o();o();o();o();var ke={devnet:{id:"devnet",chainId:"D",name:"Devnet",egldLabel:"xEGLD",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"https://maiar.page.link/?apn=com.elrond.maiar.wallet&isi=1519405832&ibi=com.elrond.maiar.wallet&link=https://xportal.com/",walletConnectBridgeAddresses:["https://bridge.walletconnect.org"],walletConnectV2RelayAddresses:["wss://relay.walletconnect.com"],walletAddress:"https://devnet-wallet.multiversx.com",xAliasAddress:"https://devnet.xalias.com",apiAddress:"https://devnet-api.multiversx.com",explorerAddress:"http://devnet-explorer.multiversx.com",metamaskSnapWalletAddress:"https://devnet-snap-wallet.multiversx.com",apiTimeout:"4000",roundDuration:6e3},testnet:{id:"testnet",chainId:"T",name:"Testnet",egldLabel:"xEGLD",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"https://maiar.page.link/?apn=com.elrond.maiar.wallet&isi=1519405832&ibi=com.elrond.maiar.wallet&link=https://xportal.com/",walletConnectBridgeAddresses:["https://bridge.walletconnect.org"],walletConnectV2RelayAddresses:["wss://relay.walletconnect.com"],walletAddress:"https://testnet-wallet.multiversx.com",xAliasAddress:"https://testnet.xalias.com",apiAddress:"https://testnet-api.multiversx.com",explorerAddress:"http://testnet-explorer.multiversx.com",metamaskSnapWalletAddress:"https://testnet-snap-wallet.multiversx.com",apiTimeout:"4000",roundDuration:6e3},mainnet:{id:"mainnet",chainId:"1",name:"Mainnet",egldLabel:"EGLD",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"https://maiar.page.link/?apn=com.elrond.maiar.wallet&isi=1519405832&ibi=com.elrond.maiar.wallet&link=https://xportal.com/",walletConnectBridgeAddresses:["https://bridge.walletconnect.org"],walletConnectV2RelayAddresses:["wss://relay.walletconnect.com"],walletAddress:"https://wallet.multiversx.com",xAliasAddress:"https://xalias.com",apiAddress:"https://api.multiversx.com",explorerAddress:"https://explorer.multiversx.com",metamaskSnapWalletAddress:"https://snap-wallet.multiversx.com",apiTimeout:"4000",roundDuration:6e3}},{chainId:Ar,egldLabel:li}=ke["devnet"],{chainId:Ir,egldLabel:ui}=ke["testnet"],{chainId:Nr,egldLabel:pi}=ke["mainnet"];var di={["devnet"]:Ar,["testnet"]:Ir,["mainnet"]:Nr},mi={[Ar]:"devnet",[Ir]:"testnet",[Nr]:"mainnet"};o();o();var E=require("@multiversx/sdk-web-wallet-provider");o();o();var Ae=require("@multiversx/sdk-dapp-utils/out/constants/browserConstants");var Er,_r,Ie=String((_r=(Er=Ae.safeWindow)==null?void 0:Er.navigator)==null?void 0:_r.userAgent),xi=/^((?!chrome|android).)*safari/i.test(Ie),bi=/firefox/i.test(Ie)&&/windows/i.test(Ie);o();var Dt=require("@multiversx/sdk-core"),Ne=S(require("bignumber.js"));o();var _t=S(require("bignumber.js"));o();Ne.default.config({ROUNDING_MODE:Ne.default.ROUND_FLOOR});o();o();o();o();o();o();o();o();o();var Ct=require("@multiversx/sdk-core");o();var Y=require("@multiversx/sdk-core"),Ot=S(require("bignumber.js"));o();o();o();var Ft=S(require("bignumber.js"));o();o();o();o();o();o();o();o();o();o();var Ut=["reDelegateRewards","claimRewards","unBond"],Pt=["wrapEgld","unwrapEgld"],Mt=["unStake"],Gt=["unDelegate"];o();o();o();o();var Wt=S(require("bignumber.js"));o();o();o();o();o();o();var Ht=S(require("bignumber.js"));function qt({transaction:t,address:e,explorerAddress:r}){var Z;let n=(Z=t.tokenIdentifier)!=null?Z:ur(t.data).tokenId,i=oe(t),a=wr(t),s=kr(e,t,i),d=vr(t),m=Se(t),f=j({explorerAddress:r,to:B.accountDetails(t.sender)}),h=j({explorerAddress:r,to:B.accountDetails(i)}),g=j({explorerAddress:r,to:B.senderShard(t.senderShard)}),w=j({explorerAddress:r,to:B.receiverShard(t.receiverShard)}),x=t.originalTxHash?`${t.originalTxHash}#${t.txHash}`:t.txHash,C=j({explorerAddress:r,to:B.transactionDetails(x)});return ae(F({},t),{tokenIdentifier:n,receiver:i,receiverAssets:a,transactionDetails:{direction:s,method:d,transactionTokens:m,isContract:ar(t.sender)},links:{senderLink:f,receiverLink:h,senderShardLink:g,receiverShardLink:w,transactionLink:C}})}0&&(module.exports={getInterpretedTransaction});
|
|
2
2
|
/*!
|
|
3
3
|
* The buffer module from node.js, for the browser.
|
|
4
4
|
*
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
"use strict";var zr=Object.create;var J=Object.defineProperty,Kr=Object.defineProperties,Xr=Object.getOwnPropertyDescriptor,Yr=Object.getOwnPropertyDescriptors,Zr=Object.getOwnPropertyNames,Be=Object.getOwnPropertySymbols,Jr=Object.getPrototypeOf,Pe=Object.prototype.hasOwnProperty,Qr=Object.prototype.propertyIsEnumerable;var Ue=(t,e,r)=>e in t?J(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,D=(t,e)=>{for(var r in e||(e={}))Pe.call(e,r)&&Ue(t,r,e[r]);if(Be)for(var r of Be(e))Qr.call(e,r)&&Ue(t,r,e[r]);return t},ne=(t,e)=>Kr(t,Yr(e));var et=(t,e)=>()=>(t&&(e=t(t=0)),e);var ie=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),rt=(t,e)=>{for(var r in e)J(t,r,{get:e[r],enumerable:!0})},Me=(t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of Zr(e))!Pe.call(t,i)&&i!==r&&J(t,i,{get:()=>e[i],enumerable:!(n=Xr(e,i))||n.enumerable});return t};var U=(t,e,r)=>(r=t!=null?zr(Jr(t)):{},Me(e||!t||!t.__esModule?J(r,"default",{value:t,enumerable:!0}):r,t)),tt=t=>Me(J({},"__esModule",{value:!0}),t);var We=ie(oe=>{"use strict";s();oe.byteLength=it;oe.toByteArray=at;oe.fromByteArray=ct;var N=[],A=[],nt=typeof Uint8Array!="undefined"?Uint8Array:Array,he="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(V=0,Ge=he.length;V<Ge;++V)N[V]=he[V],A[he.charCodeAt(V)]=V;var V,Ge;A["-".charCodeAt(0)]=62;A["_".charCodeAt(0)]=63;function Ve(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 it(t){var e=Ve(t),r=e[0],n=e[1];return(r+n)*3/4-n}function ot(t,e,r){return(e+r)*3/4-r}function at(t){var e,r=Ve(t),n=r[0],i=r[1],o=new nt(ot(t,n,i)),a=0,u=i>0?n-4:n,g;for(g=0;g<u;g+=4)e=A[t.charCodeAt(g)]<<18|A[t.charCodeAt(g+1)]<<12|A[t.charCodeAt(g+2)]<<6|A[t.charCodeAt(g+3)],o[a++]=e>>16&255,o[a++]=e>>8&255,o[a++]=e&255;return i===2&&(e=A[t.charCodeAt(g)]<<2|A[t.charCodeAt(g+1)]>>4,o[a++]=e&255),i===1&&(e=A[t.charCodeAt(g)]<<10|A[t.charCodeAt(g+1)]<<4|A[t.charCodeAt(g+2)]>>2,o[a++]=e>>8&255,o[a++]=e&255),o}function st(t){return N[t>>18&63]+N[t>>12&63]+N[t>>6&63]+N[t&63]}function lt(t,e,r){for(var n,i=[],o=e;o<r;o+=3)n=(t[o]<<16&16711680)+(t[o+1]<<8&65280)+(t[o+2]&255),i.push(st(n));return i.join("")}function ct(t){for(var e,r=t.length,n=r%3,i=[],o=16383,a=0,u=r-n;a<u;a+=o)i.push(lt(t,a,a+o>u?u:a+o));return n===1?(e=t[r-1],i.push(N[e>>2]+N[e<<4&63]+"==")):n===2&&(e=(t[r-2]<<8)+t[r-1],i.push(N[e>>10]+N[e>>4&63]+N[e<<2&63]+"=")),i.join("")}});var $e=ie(ye=>{s();ye.read=function(t,e,r,n,i){var o,a,u=i*8-n-1,g=(1<<u)-1,m=g>>1,h=-7,f=r?i-1:0,y=r?-1:1,T=t[e+f];for(f+=y,o=T&(1<<-h)-1,T>>=-h,h+=u;h>0;o=o*256+t[e+f],f+=y,h-=8);for(a=o&(1<<-h)-1,o>>=-h,h+=n;h>0;a=a*256+t[e+f],f+=y,h-=8);if(o===0)o=1-m;else{if(o===g)return a?NaN:(T?-1:1)*(1/0);a=a+Math.pow(2,n),o=o-m}return(T?-1:1)*a*Math.pow(2,o-n)};ye.write=function(t,e,r,n,i,o){var a,u,g,m=o*8-i-1,h=(1<<m)-1,f=h>>1,y=i===23?Math.pow(2,-24)-Math.pow(2,-77):0,T=n?0:o-1,w=n?1:-1,q=e<0||e===0&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(u=isNaN(e)?1:0,a=h):(a=Math.floor(Math.log(e)/Math.LN2),e*(g=Math.pow(2,-a))<1&&(a--,g*=2),a+f>=1?e+=y/g:e+=y*Math.pow(2,1-f),e*g>=2&&(a++,g/=2),a+f>=h?(u=0,a=h):a+f>=1?(u=(e*g-1)*Math.pow(2,i),a=a+f):(u=e*Math.pow(2,f-1)*Math.pow(2,i),a=0));i>=8;t[r+T]=u&255,T+=w,u/=256,i-=8);for(a=a<<i|u,m+=i;m>0;t[r+T]=a&255,T+=w,a/=256,m-=8);t[r+T-w]|=q*128}});var tr=ie(z=>{"use strict";s();var xe=We(),j=$e(),He=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;z.Buffer=l;z.SlowBuffer=ft;z.INSPECT_MAX_BYTES=50;var ae=2147483647;z.kMaxLength=ae;l.TYPED_ARRAY_SUPPORT=ut();!l.TYPED_ARRAY_SUPPORT&&typeof console!="undefined"&&typeof console.error=="function"&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function ut(){try{var t=new Uint8Array(1),e={foo:function(){return 42}};return Object.setPrototypeOf(e,Uint8Array.prototype),Object.setPrototypeOf(t,e),t.foo()===42}catch(r){return!1}}Object.defineProperty(l.prototype,"parent",{enumerable:!0,get:function(){if(!!l.isBuffer(this))return this.buffer}});Object.defineProperty(l.prototype,"offset",{enumerable:!0,get:function(){if(!!l.isBuffer(this))return this.byteOffset}});function F(t){if(t>ae)throw new RangeError('The value "'+t+'" is invalid for option "size"');var e=new Uint8Array(t);return Object.setPrototypeOf(e,l.prototype),e}function l(t,e,r){if(typeof t=="number"){if(typeof e=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return ve(t)}return ze(t,e,r)}l.poolSize=8192;function ze(t,e,r){if(typeof t=="string")return dt(t,e);if(ArrayBuffer.isView(t))return gt(t);if(t==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t);if(_(t,ArrayBuffer)||t&&_(t.buffer,ArrayBuffer)||typeof SharedArrayBuffer!="undefined"&&(_(t,SharedArrayBuffer)||t&&_(t.buffer,SharedArrayBuffer)))return be(t,e,r);if(typeof t=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var n=t.valueOf&&t.valueOf();if(n!=null&&n!==t)return l.from(n,e,r);var i=mt(t);if(i)return i;if(typeof Symbol!="undefined"&&Symbol.toPrimitive!=null&&typeof t[Symbol.toPrimitive]=="function")return l.from(t[Symbol.toPrimitive]("string"),e,r);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t)}l.from=function(t,e,r){return ze(t,e,r)};Object.setPrototypeOf(l.prototype,Uint8Array.prototype);Object.setPrototypeOf(l,Uint8Array);function Ke(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 pt(t,e,r){return Ke(t),t<=0?F(t):e!==void 0?typeof r=="string"?F(t).fill(e,r):F(t).fill(e):F(t)}l.alloc=function(t,e,r){return pt(t,e,r)};function ve(t){return Ke(t),F(t<0?0:ke(t)|0)}l.allocUnsafe=function(t){return ve(t)};l.allocUnsafeSlow=function(t){return ve(t)};function dt(t,e){if((typeof e!="string"||e==="")&&(e="utf8"),!l.isEncoding(e))throw new TypeError("Unknown encoding: "+e);var r=Xe(t,e)|0,n=F(r),i=n.write(t,e);return i!==r&&(n=n.slice(0,i)),n}function Te(t){for(var e=t.length<0?0:ke(t.length)|0,r=F(e),n=0;n<e;n+=1)r[n]=t[n]&255;return r}function gt(t){if(_(t,Uint8Array)){var e=new Uint8Array(t);return be(e.buffer,e.byteOffset,e.byteLength)}return Te(t)}function be(t,e,r){if(e<0||t.byteLength<e)throw new RangeError('"offset" is outside of buffer bounds');if(t.byteLength<e+(r||0))throw new RangeError('"length" is outside of buffer bounds');var n;return e===void 0&&r===void 0?n=new Uint8Array(t):r===void 0?n=new Uint8Array(t,e):n=new Uint8Array(t,e,r),Object.setPrototypeOf(n,l.prototype),n}function mt(t){if(l.isBuffer(t)){var e=ke(t.length)|0,r=F(e);return r.length===0||t.copy(r,0,0,e),r}if(t.length!==void 0)return typeof t.length!="number"||Ae(t.length)?F(0):Te(t);if(t.type==="Buffer"&&Array.isArray(t.data))return Te(t.data)}function ke(t){if(t>=ae)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+ae.toString(16)+" bytes");return t|0}function ft(t){return+t!=t&&(t=0),l.alloc(+t)}l.isBuffer=function(e){return e!=null&&e._isBuffer===!0&&e!==l.prototype};l.compare=function(e,r){if(_(e,Uint8Array)&&(e=l.from(e,e.offset,e.byteLength)),_(r,Uint8Array)&&(r=l.from(r,r.offset,r.byteLength)),!l.isBuffer(e)||!l.isBuffer(r))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(e===r)return 0;for(var n=e.length,i=r.length,o=0,a=Math.min(n,i);o<a;++o)if(e[o]!==r[o]){n=e[o],i=r[o];break}return n<i?-1:i<n?1:0};l.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}};l.concat=function(e,r){if(!Array.isArray(e))throw new TypeError('"list" argument must be an Array of Buffers');if(e.length===0)return l.alloc(0);var n;if(r===void 0)for(r=0,n=0;n<e.length;++n)r+=e[n].length;var i=l.allocUnsafe(r),o=0;for(n=0;n<e.length;++n){var a=e[n];if(_(a,Uint8Array))o+a.length>i.length?l.from(a).copy(i,o):Uint8Array.prototype.set.call(i,a,o);else if(l.isBuffer(a))a.copy(i,o);else throw new TypeError('"list" argument must be an Array of Buffers');o+=a.length}return i};function Xe(t,e){if(l.isBuffer(t))return t.length;if(ArrayBuffer.isView(t)||_(t,ArrayBuffer))return t.byteLength;if(typeof t!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof t);var r=t.length,n=arguments.length>2&&arguments[2]===!0;if(!n&&r===0)return 0;for(var i=!1;;)switch(e){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":return we(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return r*2;case"hex":return r>>>1;case"base64":return rr(t).length;default:if(i)return n?-1:we(t).length;e=(""+e).toLowerCase(),i=!0}}l.byteLength=Xe;function ht(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 St(this,e,r);case"utf8":case"utf-8":return Ze(this,e,r);case"ascii":return At(this,e,r);case"latin1":case"binary":return It(this,e,r);case"base64":return vt(this,e,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Nt(this,e,r);default:if(n)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),n=!0}}l.prototype._isBuffer=!0;function W(t,e,r){var n=t[e];t[e]=t[r],t[r]=n}l.prototype.swap16=function(){var e=this.length;if(e%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var r=0;r<e;r+=2)W(this,r,r+1);return this};l.prototype.swap32=function(){var e=this.length;if(e%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var r=0;r<e;r+=4)W(this,r,r+3),W(this,r+1,r+2);return this};l.prototype.swap64=function(){var e=this.length;if(e%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var r=0;r<e;r+=8)W(this,r,r+7),W(this,r+1,r+6),W(this,r+2,r+5),W(this,r+3,r+4);return this};l.prototype.toString=function(){var e=this.length;return e===0?"":arguments.length===0?Ze(this,0,e):ht.apply(this,arguments)};l.prototype.toLocaleString=l.prototype.toString;l.prototype.equals=function(e){if(!l.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e?!0:l.compare(this,e)===0};l.prototype.inspect=function(){var e="",r=z.INSPECT_MAX_BYTES;return e=this.toString("hex",0,r).replace(/(.{2})/g,"$1 ").trim(),this.length>r&&(e+=" ... "),"<Buffer "+e+">"};He&&(l.prototype[He]=l.prototype.inspect);l.prototype.compare=function(e,r,n,i,o){if(_(e,Uint8Array)&&(e=l.from(e,e.offset,e.byteLength)),!l.isBuffer(e))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof e);if(r===void 0&&(r=0),n===void 0&&(n=e?e.length:0),i===void 0&&(i=0),o===void 0&&(o=this.length),r<0||n>e.length||i<0||o>this.length)throw new RangeError("out of range index");if(i>=o&&r>=n)return 0;if(i>=o)return-1;if(r>=n)return 1;if(r>>>=0,n>>>=0,i>>>=0,o>>>=0,this===e)return 0;for(var a=o-i,u=n-r,g=Math.min(a,u),m=this.slice(i,o),h=e.slice(r,n),f=0;f<g;++f)if(m[f]!==h[f]){a=m[f],u=h[f];break}return a<u?-1:u<a?1:0};function Ye(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,Ae(r)&&(r=i?0:t.length-1),r<0&&(r=t.length+r),r>=t.length){if(i)return-1;r=t.length-1}else if(r<0)if(i)r=0;else return-1;if(typeof e=="string"&&(e=l.from(e,n)),l.isBuffer(e))return e.length===0?-1:qe(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):qe(t,[e],r,n,i);throw new TypeError("val must be string, number or Buffer")}function qe(t,e,r,n,i){var o=1,a=t.length,u=e.length;if(n!==void 0&&(n=String(n).toLowerCase(),n==="ucs2"||n==="ucs-2"||n==="utf16le"||n==="utf-16le")){if(t.length<2||e.length<2)return-1;o=2,a/=2,u/=2,r/=2}function g(T,w){return o===1?T[w]:T.readUInt16BE(w*o)}var m;if(i){var h=-1;for(m=r;m<a;m++)if(g(t,m)===g(e,h===-1?0:m-h)){if(h===-1&&(h=m),m-h+1===u)return h*o}else h!==-1&&(m-=m-h),h=-1}else for(r+u>a&&(r=a-u),m=r;m>=0;m--){for(var f=!0,y=0;y<u;y++)if(g(t,m+y)!==g(e,y)){f=!1;break}if(f)return m}return-1}l.prototype.includes=function(e,r,n){return this.indexOf(e,r,n)!==-1};l.prototype.indexOf=function(e,r,n){return Ye(this,e,r,n,!0)};l.prototype.lastIndexOf=function(e,r,n){return Ye(this,e,r,n,!1)};function yt(t,e,r,n){r=Number(r)||0;var i=t.length-r;n?(n=Number(n),n>i&&(n=i)):n=i;var o=e.length;n>o/2&&(n=o/2);for(var a=0;a<n;++a){var u=parseInt(e.substr(a*2,2),16);if(Ae(u))return a;t[r+a]=u}return a}function xt(t,e,r,n){return se(we(e,t.length-r),t,r,n)}function Tt(t,e,r,n){return se(Rt(e),t,r,n)}function bt(t,e,r,n){return se(rr(e),t,r,n)}function wt(t,e,r,n){return se(Lt(e,t.length-r),t,r,n)}l.prototype.write=function(e,r,n,i){if(r===void 0)i="utf8",n=this.length,r=0;else if(n===void 0&&typeof r=="string")i=r,n=this.length,r=0;else if(isFinite(r))r=r>>>0,isFinite(n)?(n=n>>>0,i===void 0&&(i="utf8")):(i=n,n=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var o=this.length-r;if((n===void 0||n>o)&&(n=o),e.length>0&&(n<0||r<0)||r>this.length)throw new RangeError("Attempt to write outside buffer bounds");i||(i="utf8");for(var a=!1;;)switch(i){case"hex":return yt(this,e,r,n);case"utf8":case"utf-8":return xt(this,e,r,n);case"ascii":case"latin1":case"binary":return Tt(this,e,r,n);case"base64":return bt(this,e,r,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return wt(this,e,r,n);default:if(a)throw new TypeError("Unknown encoding: "+i);i=(""+i).toLowerCase(),a=!0}};l.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function vt(t,e,r){return e===0&&r===t.length?xe.fromByteArray(t):xe.fromByteArray(t.slice(e,r))}function Ze(t,e,r){r=Math.min(t.length,r);for(var n=[],i=e;i<r;){var o=t[i],a=null,u=o>239?4:o>223?3:o>191?2:1;if(i+u<=r){var g,m,h,f;switch(u){case 1:o<128&&(a=o);break;case 2:g=t[i+1],(g&192)===128&&(f=(o&31)<<6|g&63,f>127&&(a=f));break;case 3:g=t[i+1],m=t[i+2],(g&192)===128&&(m&192)===128&&(f=(o&15)<<12|(g&63)<<6|m&63,f>2047&&(f<55296||f>57343)&&(a=f));break;case 4:g=t[i+1],m=t[i+2],h=t[i+3],(g&192)===128&&(m&192)===128&&(h&192)===128&&(f=(o&15)<<18|(g&63)<<12|(m&63)<<6|h&63,f>65535&&f<1114112&&(a=f))}}a===null?(a=65533,u=1):a>65535&&(a-=65536,n.push(a>>>10&1023|55296),a=56320|a&1023),n.push(a),i+=u}return kt(n)}var je=4096;function kt(t){var e=t.length;if(e<=je)return String.fromCharCode.apply(String,t);for(var r="",n=0;n<e;)r+=String.fromCharCode.apply(String,t.slice(n,n+=je));return r}function At(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 It(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 St(t,e,r){var n=t.length;(!e||e<0)&&(e=0),(!r||r<0||r>n)&&(r=n);for(var i="",o=e;o<r;++o)i+=Dt[t[o]];return i}function Nt(t,e,r){for(var n=t.slice(e,r),i="",o=0;o<n.length-1;o+=2)i+=String.fromCharCode(n[o]+n[o+1]*256);return i}l.prototype.slice=function(e,r){var n=this.length;e=~~e,r=r===void 0?n:~~r,e<0?(e+=n,e<0&&(e=0)):e>n&&(e=n),r<0?(r+=n,r<0&&(r=0)):r>n&&(r=n),r<e&&(r=e);var i=this.subarray(e,r);return Object.setPrototypeOf(i,l.prototype),i};function b(t,e,r){if(t%1!==0||t<0)throw new RangeError("offset is not uint");if(t+e>r)throw new RangeError("Trying to access beyond buffer length")}l.prototype.readUintLE=l.prototype.readUIntLE=function(e,r,n){e=e>>>0,r=r>>>0,n||b(e,r,this.length);for(var i=this[e],o=1,a=0;++a<r&&(o*=256);)i+=this[e+a]*o;return i};l.prototype.readUintBE=l.prototype.readUIntBE=function(e,r,n){e=e>>>0,r=r>>>0,n||b(e,r,this.length);for(var i=this[e+--r],o=1;r>0&&(o*=256);)i+=this[e+--r]*o;return i};l.prototype.readUint8=l.prototype.readUInt8=function(e,r){return e=e>>>0,r||b(e,1,this.length),this[e]};l.prototype.readUint16LE=l.prototype.readUInt16LE=function(e,r){return e=e>>>0,r||b(e,2,this.length),this[e]|this[e+1]<<8};l.prototype.readUint16BE=l.prototype.readUInt16BE=function(e,r){return e=e>>>0,r||b(e,2,this.length),this[e]<<8|this[e+1]};l.prototype.readUint32LE=l.prototype.readUInt32LE=function(e,r){return e=e>>>0,r||b(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+this[e+3]*16777216};l.prototype.readUint32BE=l.prototype.readUInt32BE=function(e,r){return e=e>>>0,r||b(e,4,this.length),this[e]*16777216+(this[e+1]<<16|this[e+2]<<8|this[e+3])};l.prototype.readIntLE=function(e,r,n){e=e>>>0,r=r>>>0,n||b(e,r,this.length);for(var i=this[e],o=1,a=0;++a<r&&(o*=256);)i+=this[e+a]*o;return o*=128,i>=o&&(i-=Math.pow(2,8*r)),i};l.prototype.readIntBE=function(e,r,n){e=e>>>0,r=r>>>0,n||b(e,r,this.length);for(var i=r,o=1,a=this[e+--i];i>0&&(o*=256);)a+=this[e+--i]*o;return o*=128,a>=o&&(a-=Math.pow(2,8*r)),a};l.prototype.readInt8=function(e,r){return e=e>>>0,r||b(e,1,this.length),this[e]&128?(255-this[e]+1)*-1:this[e]};l.prototype.readInt16LE=function(e,r){e=e>>>0,r||b(e,2,this.length);var n=this[e]|this[e+1]<<8;return n&32768?n|4294901760:n};l.prototype.readInt16BE=function(e,r){e=e>>>0,r||b(e,2,this.length);var n=this[e+1]|this[e]<<8;return n&32768?n|4294901760:n};l.prototype.readInt32LE=function(e,r){return e=e>>>0,r||b(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24};l.prototype.readInt32BE=function(e,r){return e=e>>>0,r||b(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]};l.prototype.readFloatLE=function(e,r){return e=e>>>0,r||b(e,4,this.length),j.read(this,e,!0,23,4)};l.prototype.readFloatBE=function(e,r){return e=e>>>0,r||b(e,4,this.length),j.read(this,e,!1,23,4)};l.prototype.readDoubleLE=function(e,r){return e=e>>>0,r||b(e,8,this.length),j.read(this,e,!0,52,8)};l.prototype.readDoubleBE=function(e,r){return e=e>>>0,r||b(e,8,this.length),j.read(this,e,!1,52,8)};function v(t,e,r,n,i,o){if(!l.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>i||e<o)throw new RangeError('"value" argument is out of bounds');if(r+n>t.length)throw new RangeError("Index out of range")}l.prototype.writeUintLE=l.prototype.writeUIntLE=function(e,r,n,i){if(e=+e,r=r>>>0,n=n>>>0,!i){var o=Math.pow(2,8*n)-1;v(this,e,r,n,o,0)}var a=1,u=0;for(this[r]=e&255;++u<n&&(a*=256);)this[r+u]=e/a&255;return r+n};l.prototype.writeUintBE=l.prototype.writeUIntBE=function(e,r,n,i){if(e=+e,r=r>>>0,n=n>>>0,!i){var o=Math.pow(2,8*n)-1;v(this,e,r,n,o,0)}var a=n-1,u=1;for(this[r+a]=e&255;--a>=0&&(u*=256);)this[r+a]=e/u&255;return r+n};l.prototype.writeUint8=l.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};l.prototype.writeUint16LE=l.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};l.prototype.writeUint16BE=l.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};l.prototype.writeUint32LE=l.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};l.prototype.writeUint32BE=l.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};l.prototype.writeIntLE=function(e,r,n,i){if(e=+e,r=r>>>0,!i){var o=Math.pow(2,8*n-1);v(this,e,r,n,o-1,-o)}var a=0,u=1,g=0;for(this[r]=e&255;++a<n&&(u*=256);)e<0&&g===0&&this[r+a-1]!==0&&(g=1),this[r+a]=(e/u>>0)-g&255;return r+n};l.prototype.writeIntBE=function(e,r,n,i){if(e=+e,r=r>>>0,!i){var o=Math.pow(2,8*n-1);v(this,e,r,n,o-1,-o)}var a=n-1,u=1,g=0;for(this[r+a]=e&255;--a>=0&&(u*=256);)e<0&&g===0&&this[r+a+1]!==0&&(g=1),this[r+a]=(e/u>>0)-g&255;return r+n};l.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};l.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};l.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};l.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};l.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 Je(t,e,r,n,i,o){if(r+n>t.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function Qe(t,e,r,n,i){return e=+e,r=r>>>0,i||Je(t,e,r,4,34028234663852886e22,-34028234663852886e22),j.write(t,e,r,n,23,4),r+4}l.prototype.writeFloatLE=function(e,r,n){return Qe(this,e,r,!0,n)};l.prototype.writeFloatBE=function(e,r,n){return Qe(this,e,r,!1,n)};function er(t,e,r,n,i){return e=+e,r=r>>>0,i||Je(t,e,r,8,17976931348623157e292,-17976931348623157e292),j.write(t,e,r,n,52,8),r+8}l.prototype.writeDoubleLE=function(e,r,n){return er(this,e,r,!0,n)};l.prototype.writeDoubleBE=function(e,r,n){return er(this,e,r,!1,n)};l.prototype.copy=function(e,r,n,i){if(!l.isBuffer(e))throw new TypeError("argument should be a Buffer");if(n||(n=0),!i&&i!==0&&(i=this.length),r>=e.length&&(r=e.length),r||(r=0),i>0&&i<n&&(i=n),i===n||e.length===0||this.length===0)return 0;if(r<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw new RangeError("Index out of range");if(i<0)throw new RangeError("sourceEnd out of bounds");i>this.length&&(i=this.length),e.length-r<i-n&&(i=e.length-r+n);var o=i-n;return this===e&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(r,n,i):Uint8Array.prototype.set.call(e,this.subarray(n,i),r),o};l.prototype.fill=function(e,r,n,i){if(typeof e=="string"){if(typeof r=="string"?(i=r,r=0,n=this.length):typeof n=="string"&&(i=n,n=this.length),i!==void 0&&typeof i!="string")throw new TypeError("encoding must be a string");if(typeof i=="string"&&!l.isEncoding(i))throw new TypeError("Unknown encoding: "+i);if(e.length===1){var o=e.charCodeAt(0);(i==="utf8"&&o<128||i==="latin1")&&(e=o)}}else typeof e=="number"?e=e&255:typeof e=="boolean"&&(e=Number(e));if(r<0||this.length<r||this.length<n)throw new RangeError("Out of range index");if(n<=r)return this;r=r>>>0,n=n===void 0?this.length:n>>>0,e||(e=0);var a;if(typeof e=="number")for(a=r;a<n;++a)this[a]=e;else{var u=l.isBuffer(e)?e:l.from(e,i),g=u.length;if(g===0)throw new TypeError('The value "'+e+'" is invalid for argument "value"');for(a=0;a<n-r;++a)this[a+r]=u[a%g]}return this};var _t=/[^+/0-9A-Za-z-_]/g;function Et(t){if(t=t.split("=")[0],t=t.trim().replace(_t,""),t.length<2)return"";for(;t.length%4!==0;)t=t+"=";return t}function we(t,e){e=e||1/0;for(var r,n=t.length,i=null,o=[],a=0;a<n;++a){if(r=t.charCodeAt(a),r>55295&&r<57344){if(!i){if(r>56319){(e-=3)>-1&&o.push(239,191,189);continue}else if(a+1===n){(e-=3)>-1&&o.push(239,191,189);continue}i=r;continue}if(r<56320){(e-=3)>-1&&o.push(239,191,189),i=r;continue}r=(i-55296<<10|r-56320)+65536}else i&&(e-=3)>-1&&o.push(239,191,189);if(i=null,r<128){if((e-=1)<0)break;o.push(r)}else if(r<2048){if((e-=2)<0)break;o.push(r>>6|192,r&63|128)}else if(r<65536){if((e-=3)<0)break;o.push(r>>12|224,r>>6&63|128,r&63|128)}else if(r<1114112){if((e-=4)<0)break;o.push(r>>18|240,r>>12&63|128,r>>6&63|128,r&63|128)}else throw new Error("Invalid code point")}return o}function Rt(t){for(var e=[],r=0;r<t.length;++r)e.push(t.charCodeAt(r)&255);return e}function Lt(t,e){for(var r,n,i,o=[],a=0;a<t.length&&!((e-=2)<0);++a)r=t.charCodeAt(a),n=r>>8,i=r%256,o.push(i),o.push(n);return o}function rr(t){return xe.toByteArray(Et(t))}function se(t,e,r,n){for(var i=0;i<n&&!(i+r>=e.length||i>=t.length);++i)e[i+r]=t[i];return i}function _(t,e){return t instanceof e||t!=null&&t.constructor!=null&&t.constructor.name!=null&&t.constructor.name===e.name}function Ae(t){return t!==t}var Dt=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 sr=ie((zt,ar)=>{s();var x=ar.exports={},E,R;function Ie(){throw new Error("setTimeout has not been defined")}function Se(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?E=setTimeout:E=Ie}catch(t){E=Ie}try{typeof clearTimeout=="function"?R=clearTimeout:R=Se}catch(t){R=Se}})();function nr(t){if(E===setTimeout)return setTimeout(t,0);if((E===Ie||!E)&&setTimeout)return E=setTimeout,setTimeout(t,0);try{return E(t,0)}catch(e){try{return E.call(null,t,0)}catch(r){return E.call(this,t,0)}}}function Ft(t){if(R===clearTimeout)return clearTimeout(t);if((R===Se||!R)&&clearTimeout)return R=clearTimeout,clearTimeout(t);try{return R(t)}catch(e){try{return R.call(null,t)}catch(r){return R.call(this,t)}}}var C=[],K=!1,$,le=-1;function Ct(){!K||!$||(K=!1,$.length?C=$.concat(C):le=-1,C.length&&ir())}function ir(){if(!K){var t=nr(Ct);K=!0;for(var e=C.length;e;){for($=C,C=[];++le<e;)$&&$[le].run();le=-1,e=C.length}$=null,K=!1,Ft(t)}}x.nextTick=function(t){var e=new Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)e[r-1]=arguments[r];C.push(new or(t,e)),C.length===1&&!K&&nr(ir)};function or(t,e){this.fun=t,this.array=e}or.prototype.run=function(){this.fun.apply(null,this.array)};x.title="browser";x.browser=!0;x.env={};x.argv=[];x.version="";x.versions={};function O(){}x.on=O;x.addListener=O;x.once=O;x.off=O;x.removeListener=O;x.removeAllListeners=O;x.emit=O;x.prependListener=O;x.prependOnceListener=O;x.listeners=function(t){return[]};x.binding=function(t){throw new Error("process.binding is not supported")};x.cwd=function(){return"/"};x.chdir=function(t){throw new Error("process.chdir is not supported")};x.umask=function(){return 0}});var c,p,Kt,s=et(()=>{c=U(tr()),p=U(sr()),Kt=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 Vt={};rt(Vt,{getTransactionValue:()=>Gt});module.exports=tt(Vt);s();s();s();s();s();s();s();s();s();s();s();s();s();s();s();s();var Ot=require("@multiversx/sdk-web-wallet-cross-window-provider/out/CrossWindowProvider/CrossWindowProvider"),X=require("@multiversx/sdk-web-wallet-cross-window-provider/out/enums");var lr=(r=>(r.signTransactionsWithGuardianResponse="SIGN_TRANSACTIONS_WITH_GUARDIAN_RESPONSE",r.reloginRequest="RELOGIN_REQUEST",r))(lr||{}),sn=D(D({},X.WindowProviderRequestEnums),lr),cr=(e=>(e.reloginResponse="RELOGIN_RESPONSE",e))(cr||{}),ln=D(D({},X.WindowProviderResponseEnums),cr);s();s();s();var Ne=(n=>(n.nft="nft",n.esdt="esdt",n.egld="egld",n))(Ne||{});s();s();s();var _e={devnet:{id:"devnet",chainId:"D",name:"Devnet",egldLabel:"xEGLD",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"https://maiar.page.link/?apn=com.elrond.maiar.wallet&isi=1519405832&ibi=com.elrond.maiar.wallet&link=https://xportal.com/",walletConnectBridgeAddresses:["https://bridge.walletconnect.org"],walletConnectV2RelayAddresses:["wss://relay.walletconnect.com"],walletAddress:"https://devnet-wallet.multiversx.com",xAliasAddress:"https://devnet.xalias.com",apiAddress:"https://devnet-api.multiversx.com",explorerAddress:"http://devnet-explorer.multiversx.com",metamaskSnapWalletAddress:"https://devnet-snap-wallet.multiversx.com",apiTimeout:"4000",roundDuration:6e3},testnet:{id:"testnet",chainId:"T",name:"Testnet",egldLabel:"xEGLD",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"https://maiar.page.link/?apn=com.elrond.maiar.wallet&isi=1519405832&ibi=com.elrond.maiar.wallet&link=https://xportal.com/",walletConnectBridgeAddresses:["https://bridge.walletconnect.org"],walletConnectV2RelayAddresses:["wss://relay.walletconnect.com"],walletAddress:"https://testnet-wallet.multiversx.com",xAliasAddress:"https://testnet.xalias.com",apiAddress:"https://testnet-api.multiversx.com",explorerAddress:"http://testnet-explorer.multiversx.com",metamaskSnapWalletAddress:"https://testnet-snap-wallet.multiversx.com",apiTimeout:"4000",roundDuration:6e3},mainnet:{id:"mainnet",chainId:"1",name:"Mainnet",egldLabel:"EGLD",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"https://maiar.page.link/?apn=com.elrond.maiar.wallet&isi=1519405832&ibi=com.elrond.maiar.wallet&link=https://xportal.com/",walletConnectBridgeAddresses:["https://bridge.walletconnect.org"],walletConnectV2RelayAddresses:["wss://relay.walletconnect.com"],walletAddress:"https://wallet.multiversx.com",xAliasAddress:"https://xalias.com",apiAddress:"https://api.multiversx.com",explorerAddress:"https://explorer.multiversx.com",metamaskSnapWalletAddress:"https://snap-wallet.multiversx.com",apiTimeout:"4000",roundDuration:6e3}},{chainId:ur,egldLabel:In}=_e["devnet"],{chainId:pr,egldLabel:Sn}=_e["testnet"],{chainId:dr,egldLabel:Nn}=_e["mainnet"];var _n={["devnet"]:ur,["testnet"]:pr,["mainnet"]:dr},En={[ur]:"devnet",[pr]:"testnet",[dr]:"mainnet"};s();s();var L=require("@multiversx/sdk-web-wallet-provider");s();s();var Ee=require("@multiversx/sdk-dapp-utils/out/constants/browserConstants");var gr,mr,Re=String((mr=(gr=Ee.safeWindow)==null?void 0:gr.navigator)==null?void 0:mr.userAgent),On=/^((?!chrome|android).)*safari/i.test(Re),Bn=/firefox/i.test(Re)&&/windows/i.test(Re);var k=18,ce=4;var ue="0";s();var pe=(n=>(n.NonFungibleESDT="NonFungibleESDT",n.SemiFungibleESDT="SemiFungibleESDT",n.MetaESDT="MetaESDT",n))(pe||{});s();var fr=t=>{var e,r,n,i;if(t.action){let o=[(e=t.action.arguments)==null?void 0:e.token,(r=t.action.arguments)==null?void 0:r.token1,(n=t.action.arguments)==null?void 0:n.token2,(i=t.action.arguments)==null?void 0:i.transfers].filter(u=>u!=null);return[].concat(...o)}return[]};s();s();s();s();var yr=require("@multiversx/sdk-core"),P=U(require("bignumber.js"));s();var hr=U(require("bignumber.js")),Le=(t,e=!0)=>{let r=String(t);if(!r.match(/^[-]?\d+$/))return!1;let n=new hr.default(r),i=e?0:-1;return n.toString(10)===r&&n.comparedTo(0)>=i};s();function B(t){return{if:function(e){return e?{then:r=>r instanceof Function?B(r(t)):B(r)}:{then:()=>B(t)}},then:e=>e instanceof Function?B(e(t)):B(e),valueOf:function(){return t}}}P.default.config({ROUNDING_MODE:P.default.ROUND_FLOOR});function M({input:t,decimals:e=k,digits:r=ce,showLastNonZeroDecimal:n=!0,showIsLessThanDecimalsLabel:i=!1,addCommas:o=!1}){if(!Le(t,!1))throw new Error("Invalid input");let a=new P.default(t).isNegative(),u=t;return a&&(u=t.substring(1)),B(u).then(()=>yr.TokenTransfer.fungibleFromBigInteger("",u,e).amountAsBigInteger.shiftedBy(-e).toFixed(e)).then(g=>{let m=new P.default(g);if(m.isZero())return ue;let h=m.toString(10),[f,y]=h.split("."),T=new P.default(y||0),w=B(0).if(Boolean(y&&n)).then(()=>Math.max(y.length,r)).if(T.isZero()&&!n).then(0).if(Boolean(y&&!n)).then(()=>Math.min(y.length,r)).valueOf(),q=y&&r>=1&&r<=y.length&&T.isGreaterThan(0)&&new P.default(y.substring(0,r)).isZero(),fe=m.toFormat(w);return B(h).if(o).then(fe).if(Boolean(q)).then(ee=>{let Z=new P.default(f).isZero(),[S,re]=ee.split("."),te=new Array(r-1).fill(0),qr=[...te,0].join(""),jr=[...te,1].join("");return Z?i?`<${S}.${jr}`:n?`${S}.${re}`:S:`${S}.${qr}`}).if(Boolean(!q&&y)).then(ee=>{let[Z]=ee.split("."),S=y.substring(0,w);if(n){let re=r-S.length;if(re>0){let te=Array(re).fill(0).join("");return S=`${S}${te}`,`${Z}.${S}`}return ee}return S?`${Z}.${S}`:Z}).valueOf()}).if(a).then(g=>`-${g}`).valueOf()}s();s();var Bt=require("@multiversx/sdk-core");s();var Q=require("@multiversx/sdk-core"),Pt=U(require("bignumber.js"));s();s();s();var Ut=U(require("bignumber.js"));s();s();var De={isEsdt:!1,isNft:!1,isEgld:!1};function xr(t){let e=t==null?void 0:t.split("-").length;return e===2?ne(D({},De),{isEsdt:!0}):e===3?ne(D({},De),{isNft:!0}):ne(D({},De),{isEgld:!0})}s();s();s();s();s();s();s();s();var G="accounts";var Tr="blocks",br="code",wr="collections";var vr="contracts";var kr="identities";var Ar="locked-accounts",Ir="logs",Sr="miniblocks";var Fe="nfts",Nr="nodes",Ce="providers",_r="roles",Oe="sc-results";var Y="tokens";var H="transactions";var de={shard:t=>`/${Tr}?shard=${t}`,receiverShard:t=>`/${H}?receivershard=${t}`,senderShard:t=>`/${H}?sendershard=${t}`,transactionDetails:t=>`/${H}/${t}`,transactionDetailsScResults:t=>`/${H}/${t}/${Oe}`,transactionDetailsLogs:t=>`/${H}/${t}/${Ir}`,nodeDetails:t=>`/${Nr}/${t}`,accountDetails:t=>`/${G}/${t}`,accountDetailsContractCode:t=>`/${G}/${t}/${br}`,accountDetailsTokens:t=>`/${G}/${t}/${Y}`,accountDetailsNfts:t=>`/${G}/${t}/${Fe}`,accountDetailsScResults:t=>`/${G}/${t}/${Oe}`,accountDetailsContracts:t=>`/${G}/${t}/${vr}`,identityDetails:t=>`/${kr}/${t}`,tokenDetails:t=>`/${Y}/${t}`,tokenDetailsAccounts:t=>`/${Y}/${t}/${G}`,tokenDetailsLockedAccounts:t=>`/${Y}/${t}/${Ar}`,tokenDetailsRoles:t=>`/${Y}/${t}/${_r}`,collectionDetails:t=>`/${wr}/${t}`,nftDetails:t=>`/${Fe}/${t}`,providerDetails:t=>`/${Ce}/${t}`,providerDetailsTransactions:t=>`/${Ce}/${t}/${H}`,miniblockDetails:t=>`/${Sr}/${t}`};function ge({token:t,noValue:e,showLastNonZeroDecimal:r}){var m;let n=!e&&t.value&&t.type!=="NonFungibleESDT",i=t.decimals!=null,o="";t.type==="NonFungibleESDT"&&(o="NFT"),t.type==="SemiFungibleESDT"&&(o="SFT"),t.type==="MetaESDT"&&(o="Meta-ESDT");let a="";n&&i&&(a=i?M({input:t.value,decimals:t.decimals,digits:2,showLastNonZeroDecimal:r}):Number(t.value).toLocaleString("en"));let u=de.nftDetails(String(t.identifier)),g=t.ticker===t.collection&&(m=t.identifier)!=null?m:t.ticker;return{badgeText:o,tokenFormattedAmount:n?a:null,tokenExplorerLink:u,tokenLinkText:g,token:t,noValue:e,showLastNonZeroDecimal:r}}s();function me({token:t,noValue:e,showLastNonZeroDecimal:r}){var u;let n=Boolean(!e&&t.value),i=n?M({input:t.value,decimals:(u=t.decimals)!=null?u:k,digits:2,showLastNonZeroDecimal:r,addCommas:!0}):null,o=de.tokenDetails(String(t.token)),a=t.ticker;return{tokenExplorerLink:o,tokenFormattedAmount:i,showFormattedAmount:n,tokenLinkText:a,token:t,showLastNonZeroDecimal:r}}s();var Er=["reDelegateRewards","claimRewards","unBond"],Rr=["wrapEgld","unwrapEgld"],Lr=["unStake"],Dr=["unDelegate"];s();s();var Fr=t=>{let e=t.map(n=>{let{isNft:i}=xr(n.type);if(i){let{badgeText:h,tokenFormattedAmount:f,tokenLinkText:y}=ge({token:n});return`${h!=null?`(${h}) `:""}${f} ${y}`}let{tokenFormattedAmount:o,tokenLinkText:a,token:u}=me({token:n}),g=u.collection?u.identifier:u.token;return`${o} ${a} (${g})`});return decodeURI(e.join("%0A"))};s();var I=t=>({egldValueData:{value:t,formattedValue:M({input:t}),decimals:k}});s();var Br=U(require("bignumber.js"));s();s();function Mt(t){try{let e=atob(t),r=btoa(e),n=c.Buffer.from(t,"base64").toString(),i=c.Buffer.from(n).toString("base64"),o=t===r||r.startsWith(t),a=t===i||i.startsWith(t);if(o&&a)return!0}catch(e){return!1}return!1}function Cr(t){return Mt(t)?atob(t):t}s();s();s();s();var Or=!1;function Ur(t){var e;try{let n=Cr(t.data).replace(`${(e=t.action)==null?void 0:e.name}@`,""),i=new Br.default(n,16);if(!i.isNaN())return I(i.toString(10))}catch(r){Or||(console.error(`Unable to extract value for txHash: ${t.txHash}`),Or=!0)}return I(t.value)}s();s();var Pr=t=>{var r,n;return(n=(r=t==null?void 0:t.operations)==null?void 0:r.filter(i=>Object.values(Ne).includes(i.type)))!=null?n:[]};var Mr=!1,Gr=t=>{Mr||(console.error(`Operations field missing for txHash: ${t}.
|
|
2
|
-
Unable to compute value field.`),Mr=!0)};function Vr(t){try{if(t.operations){let[e]=Pr(t);return I(e==null?void 0:e.value)}else Gr(t.txHash)}catch(e){Gr(t.txHash)}return I(t.value)}s();var $r=U(require("bignumber.js"));var Wr=!1;function Hr(t){var r,n,i,o,a;return new $r.default((n=(r=t.action)==null?void 0:r.arguments)==null?void 0:n.value).isNaN()?(Wr||(console.error(`Unable to interpret ${(a=t.action)==null?void 0:a.name} data for txHash: ${t.txHash}`),Wr=!0),I(t.value)):I((o=(i=t.action)==null?void 0:i.arguments)==null?void 0:o.value)}var Gt=({transaction:t,hideMultipleBadge:e})=>{var r;if(t.action){if(Rr.includes(t.action.name))return I(t.value);if(Lr.includes(t.action.name))return Ur(t);if(Er.includes(t.action.name))return Vr(t);if(Dr.includes(t.action.name))return Hr(t);let n=fr(t);if(n.length){let i=n[0],o=Object.values(pe).includes(i.type),u=!e&&n.length>1?
|
|
1
|
+
"use strict";var zr=Object.create;var J=Object.defineProperty,Kr=Object.defineProperties,Xr=Object.getOwnPropertyDescriptor,Yr=Object.getOwnPropertyDescriptors,Zr=Object.getOwnPropertyNames,Be=Object.getOwnPropertySymbols,Jr=Object.getPrototypeOf,Pe=Object.prototype.hasOwnProperty,Qr=Object.prototype.propertyIsEnumerable;var Ue=(t,e,r)=>e in t?J(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,D=(t,e)=>{for(var r in e||(e={}))Pe.call(e,r)&&Ue(t,r,e[r]);if(Be)for(var r of Be(e))Qr.call(e,r)&&Ue(t,r,e[r]);return t},ne=(t,e)=>Kr(t,Yr(e));var et=(t,e)=>()=>(t&&(e=t(t=0)),e);var ie=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),rt=(t,e)=>{for(var r in e)J(t,r,{get:e[r],enumerable:!0})},Me=(t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of Zr(e))!Pe.call(t,i)&&i!==r&&J(t,i,{get:()=>e[i],enumerable:!(n=Xr(e,i))||n.enumerable});return t};var U=(t,e,r)=>(r=t!=null?zr(Jr(t)):{},Me(e||!t||!t.__esModule?J(r,"default",{value:t,enumerable:!0}):r,t)),tt=t=>Me(J({},"__esModule",{value:!0}),t);var We=ie(oe=>{"use strict";s();oe.byteLength=it;oe.toByteArray=at;oe.fromByteArray=ct;var N=[],k=[],nt=typeof Uint8Array!="undefined"?Uint8Array:Array,he="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(V=0,Ge=he.length;V<Ge;++V)N[V]=he[V],k[he.charCodeAt(V)]=V;var V,Ge;k["-".charCodeAt(0)]=62;k["_".charCodeAt(0)]=63;function Ve(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 it(t){var e=Ve(t),r=e[0],n=e[1];return(r+n)*3/4-n}function ot(t,e,r){return(e+r)*3/4-r}function at(t){var e,r=Ve(t),n=r[0],i=r[1],o=new nt(ot(t,n,i)),a=0,u=i>0?n-4:n,g;for(g=0;g<u;g+=4)e=k[t.charCodeAt(g)]<<18|k[t.charCodeAt(g+1)]<<12|k[t.charCodeAt(g+2)]<<6|k[t.charCodeAt(g+3)],o[a++]=e>>16&255,o[a++]=e>>8&255,o[a++]=e&255;return i===2&&(e=k[t.charCodeAt(g)]<<2|k[t.charCodeAt(g+1)]>>4,o[a++]=e&255),i===1&&(e=k[t.charCodeAt(g)]<<10|k[t.charCodeAt(g+1)]<<4|k[t.charCodeAt(g+2)]>>2,o[a++]=e>>8&255,o[a++]=e&255),o}function st(t){return N[t>>18&63]+N[t>>12&63]+N[t>>6&63]+N[t&63]}function lt(t,e,r){for(var n,i=[],o=e;o<r;o+=3)n=(t[o]<<16&16711680)+(t[o+1]<<8&65280)+(t[o+2]&255),i.push(st(n));return i.join("")}function ct(t){for(var e,r=t.length,n=r%3,i=[],o=16383,a=0,u=r-n;a<u;a+=o)i.push(lt(t,a,a+o>u?u:a+o));return n===1?(e=t[r-1],i.push(N[e>>2]+N[e<<4&63]+"==")):n===2&&(e=(t[r-2]<<8)+t[r-1],i.push(N[e>>10]+N[e>>4&63]+N[e<<2&63]+"=")),i.join("")}});var $e=ie(ye=>{s();ye.read=function(t,e,r,n,i){var o,a,u=i*8-n-1,g=(1<<u)-1,m=g>>1,h=-7,f=r?i-1:0,y=r?-1:1,T=t[e+f];for(f+=y,o=T&(1<<-h)-1,T>>=-h,h+=u;h>0;o=o*256+t[e+f],f+=y,h-=8);for(a=o&(1<<-h)-1,o>>=-h,h+=n;h>0;a=a*256+t[e+f],f+=y,h-=8);if(o===0)o=1-m;else{if(o===g)return a?NaN:(T?-1:1)*(1/0);a=a+Math.pow(2,n),o=o-m}return(T?-1:1)*a*Math.pow(2,o-n)};ye.write=function(t,e,r,n,i,o){var a,u,g,m=o*8-i-1,h=(1<<m)-1,f=h>>1,y=i===23?Math.pow(2,-24)-Math.pow(2,-77):0,T=n?0:o-1,w=n?1:-1,q=e<0||e===0&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(u=isNaN(e)?1:0,a=h):(a=Math.floor(Math.log(e)/Math.LN2),e*(g=Math.pow(2,-a))<1&&(a--,g*=2),a+f>=1?e+=y/g:e+=y*Math.pow(2,1-f),e*g>=2&&(a++,g/=2),a+f>=h?(u=0,a=h):a+f>=1?(u=(e*g-1)*Math.pow(2,i),a=a+f):(u=e*Math.pow(2,f-1)*Math.pow(2,i),a=0));i>=8;t[r+T]=u&255,T+=w,u/=256,i-=8);for(a=a<<i|u,m+=i;m>0;t[r+T]=a&255,T+=w,a/=256,m-=8);t[r+T-w]|=q*128}});var tr=ie(z=>{"use strict";s();var xe=We(),j=$e(),He=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;z.Buffer=l;z.SlowBuffer=ft;z.INSPECT_MAX_BYTES=50;var ae=2147483647;z.kMaxLength=ae;l.TYPED_ARRAY_SUPPORT=ut();!l.TYPED_ARRAY_SUPPORT&&typeof console!="undefined"&&typeof console.error=="function"&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function ut(){try{var t=new Uint8Array(1),e={foo:function(){return 42}};return Object.setPrototypeOf(e,Uint8Array.prototype),Object.setPrototypeOf(t,e),t.foo()===42}catch(r){return!1}}Object.defineProperty(l.prototype,"parent",{enumerable:!0,get:function(){if(!!l.isBuffer(this))return this.buffer}});Object.defineProperty(l.prototype,"offset",{enumerable:!0,get:function(){if(!!l.isBuffer(this))return this.byteOffset}});function C(t){if(t>ae)throw new RangeError('The value "'+t+'" is invalid for option "size"');var e=new Uint8Array(t);return Object.setPrototypeOf(e,l.prototype),e}function l(t,e,r){if(typeof t=="number"){if(typeof e=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return ve(t)}return ze(t,e,r)}l.poolSize=8192;function ze(t,e,r){if(typeof t=="string")return dt(t,e);if(ArrayBuffer.isView(t))return gt(t);if(t==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t);if(_(t,ArrayBuffer)||t&&_(t.buffer,ArrayBuffer)||typeof SharedArrayBuffer!="undefined"&&(_(t,SharedArrayBuffer)||t&&_(t.buffer,SharedArrayBuffer)))return be(t,e,r);if(typeof t=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var n=t.valueOf&&t.valueOf();if(n!=null&&n!==t)return l.from(n,e,r);var i=mt(t);if(i)return i;if(typeof Symbol!="undefined"&&Symbol.toPrimitive!=null&&typeof t[Symbol.toPrimitive]=="function")return l.from(t[Symbol.toPrimitive]("string"),e,r);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t)}l.from=function(t,e,r){return ze(t,e,r)};Object.setPrototypeOf(l.prototype,Uint8Array.prototype);Object.setPrototypeOf(l,Uint8Array);function Ke(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 pt(t,e,r){return Ke(t),t<=0?C(t):e!==void 0?typeof r=="string"?C(t).fill(e,r):C(t).fill(e):C(t)}l.alloc=function(t,e,r){return pt(t,e,r)};function ve(t){return Ke(t),C(t<0?0:Ae(t)|0)}l.allocUnsafe=function(t){return ve(t)};l.allocUnsafeSlow=function(t){return ve(t)};function dt(t,e){if((typeof e!="string"||e==="")&&(e="utf8"),!l.isEncoding(e))throw new TypeError("Unknown encoding: "+e);var r=Xe(t,e)|0,n=C(r),i=n.write(t,e);return i!==r&&(n=n.slice(0,i)),n}function Te(t){for(var e=t.length<0?0:Ae(t.length)|0,r=C(e),n=0;n<e;n+=1)r[n]=t[n]&255;return r}function gt(t){if(_(t,Uint8Array)){var e=new Uint8Array(t);return be(e.buffer,e.byteOffset,e.byteLength)}return Te(t)}function be(t,e,r){if(e<0||t.byteLength<e)throw new RangeError('"offset" is outside of buffer bounds');if(t.byteLength<e+(r||0))throw new RangeError('"length" is outside of buffer bounds');var n;return e===void 0&&r===void 0?n=new Uint8Array(t):r===void 0?n=new Uint8Array(t,e):n=new Uint8Array(t,e,r),Object.setPrototypeOf(n,l.prototype),n}function mt(t){if(l.isBuffer(t)){var e=Ae(t.length)|0,r=C(e);return r.length===0||t.copy(r,0,0,e),r}if(t.length!==void 0)return typeof t.length!="number"||ke(t.length)?C(0):Te(t);if(t.type==="Buffer"&&Array.isArray(t.data))return Te(t.data)}function Ae(t){if(t>=ae)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+ae.toString(16)+" bytes");return t|0}function ft(t){return+t!=t&&(t=0),l.alloc(+t)}l.isBuffer=function(e){return e!=null&&e._isBuffer===!0&&e!==l.prototype};l.compare=function(e,r){if(_(e,Uint8Array)&&(e=l.from(e,e.offset,e.byteLength)),_(r,Uint8Array)&&(r=l.from(r,r.offset,r.byteLength)),!l.isBuffer(e)||!l.isBuffer(r))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(e===r)return 0;for(var n=e.length,i=r.length,o=0,a=Math.min(n,i);o<a;++o)if(e[o]!==r[o]){n=e[o],i=r[o];break}return n<i?-1:i<n?1:0};l.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}};l.concat=function(e,r){if(!Array.isArray(e))throw new TypeError('"list" argument must be an Array of Buffers');if(e.length===0)return l.alloc(0);var n;if(r===void 0)for(r=0,n=0;n<e.length;++n)r+=e[n].length;var i=l.allocUnsafe(r),o=0;for(n=0;n<e.length;++n){var a=e[n];if(_(a,Uint8Array))o+a.length>i.length?l.from(a).copy(i,o):Uint8Array.prototype.set.call(i,a,o);else if(l.isBuffer(a))a.copy(i,o);else throw new TypeError('"list" argument must be an Array of Buffers');o+=a.length}return i};function Xe(t,e){if(l.isBuffer(t))return t.length;if(ArrayBuffer.isView(t)||_(t,ArrayBuffer))return t.byteLength;if(typeof t!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof t);var r=t.length,n=arguments.length>2&&arguments[2]===!0;if(!n&&r===0)return 0;for(var i=!1;;)switch(e){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":return we(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return r*2;case"hex":return r>>>1;case"base64":return rr(t).length;default:if(i)return n?-1:we(t).length;e=(""+e).toLowerCase(),i=!0}}l.byteLength=Xe;function ht(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 St(this,e,r);case"utf8":case"utf-8":return Ze(this,e,r);case"ascii":return kt(this,e,r);case"latin1":case"binary":return It(this,e,r);case"base64":return vt(this,e,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Nt(this,e,r);default:if(n)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),n=!0}}l.prototype._isBuffer=!0;function W(t,e,r){var n=t[e];t[e]=t[r],t[r]=n}l.prototype.swap16=function(){var e=this.length;if(e%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var r=0;r<e;r+=2)W(this,r,r+1);return this};l.prototype.swap32=function(){var e=this.length;if(e%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var r=0;r<e;r+=4)W(this,r,r+3),W(this,r+1,r+2);return this};l.prototype.swap64=function(){var e=this.length;if(e%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var r=0;r<e;r+=8)W(this,r,r+7),W(this,r+1,r+6),W(this,r+2,r+5),W(this,r+3,r+4);return this};l.prototype.toString=function(){var e=this.length;return e===0?"":arguments.length===0?Ze(this,0,e):ht.apply(this,arguments)};l.prototype.toLocaleString=l.prototype.toString;l.prototype.equals=function(e){if(!l.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e?!0:l.compare(this,e)===0};l.prototype.inspect=function(){var e="",r=z.INSPECT_MAX_BYTES;return e=this.toString("hex",0,r).replace(/(.{2})/g,"$1 ").trim(),this.length>r&&(e+=" ... "),"<Buffer "+e+">"};He&&(l.prototype[He]=l.prototype.inspect);l.prototype.compare=function(e,r,n,i,o){if(_(e,Uint8Array)&&(e=l.from(e,e.offset,e.byteLength)),!l.isBuffer(e))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof e);if(r===void 0&&(r=0),n===void 0&&(n=e?e.length:0),i===void 0&&(i=0),o===void 0&&(o=this.length),r<0||n>e.length||i<0||o>this.length)throw new RangeError("out of range index");if(i>=o&&r>=n)return 0;if(i>=o)return-1;if(r>=n)return 1;if(r>>>=0,n>>>=0,i>>>=0,o>>>=0,this===e)return 0;for(var a=o-i,u=n-r,g=Math.min(a,u),m=this.slice(i,o),h=e.slice(r,n),f=0;f<g;++f)if(m[f]!==h[f]){a=m[f],u=h[f];break}return a<u?-1:u<a?1:0};function Ye(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,ke(r)&&(r=i?0:t.length-1),r<0&&(r=t.length+r),r>=t.length){if(i)return-1;r=t.length-1}else if(r<0)if(i)r=0;else return-1;if(typeof e=="string"&&(e=l.from(e,n)),l.isBuffer(e))return e.length===0?-1:qe(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):qe(t,[e],r,n,i);throw new TypeError("val must be string, number or Buffer")}function qe(t,e,r,n,i){var o=1,a=t.length,u=e.length;if(n!==void 0&&(n=String(n).toLowerCase(),n==="ucs2"||n==="ucs-2"||n==="utf16le"||n==="utf-16le")){if(t.length<2||e.length<2)return-1;o=2,a/=2,u/=2,r/=2}function g(T,w){return o===1?T[w]:T.readUInt16BE(w*o)}var m;if(i){var h=-1;for(m=r;m<a;m++)if(g(t,m)===g(e,h===-1?0:m-h)){if(h===-1&&(h=m),m-h+1===u)return h*o}else h!==-1&&(m-=m-h),h=-1}else for(r+u>a&&(r=a-u),m=r;m>=0;m--){for(var f=!0,y=0;y<u;y++)if(g(t,m+y)!==g(e,y)){f=!1;break}if(f)return m}return-1}l.prototype.includes=function(e,r,n){return this.indexOf(e,r,n)!==-1};l.prototype.indexOf=function(e,r,n){return Ye(this,e,r,n,!0)};l.prototype.lastIndexOf=function(e,r,n){return Ye(this,e,r,n,!1)};function yt(t,e,r,n){r=Number(r)||0;var i=t.length-r;n?(n=Number(n),n>i&&(n=i)):n=i;var o=e.length;n>o/2&&(n=o/2);for(var a=0;a<n;++a){var u=parseInt(e.substr(a*2,2),16);if(ke(u))return a;t[r+a]=u}return a}function xt(t,e,r,n){return se(we(e,t.length-r),t,r,n)}function Tt(t,e,r,n){return se(Rt(e),t,r,n)}function bt(t,e,r,n){return se(rr(e),t,r,n)}function wt(t,e,r,n){return se(Lt(e,t.length-r),t,r,n)}l.prototype.write=function(e,r,n,i){if(r===void 0)i="utf8",n=this.length,r=0;else if(n===void 0&&typeof r=="string")i=r,n=this.length,r=0;else if(isFinite(r))r=r>>>0,isFinite(n)?(n=n>>>0,i===void 0&&(i="utf8")):(i=n,n=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var o=this.length-r;if((n===void 0||n>o)&&(n=o),e.length>0&&(n<0||r<0)||r>this.length)throw new RangeError("Attempt to write outside buffer bounds");i||(i="utf8");for(var a=!1;;)switch(i){case"hex":return yt(this,e,r,n);case"utf8":case"utf-8":return xt(this,e,r,n);case"ascii":case"latin1":case"binary":return Tt(this,e,r,n);case"base64":return bt(this,e,r,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return wt(this,e,r,n);default:if(a)throw new TypeError("Unknown encoding: "+i);i=(""+i).toLowerCase(),a=!0}};l.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function vt(t,e,r){return e===0&&r===t.length?xe.fromByteArray(t):xe.fromByteArray(t.slice(e,r))}function Ze(t,e,r){r=Math.min(t.length,r);for(var n=[],i=e;i<r;){var o=t[i],a=null,u=o>239?4:o>223?3:o>191?2:1;if(i+u<=r){var g,m,h,f;switch(u){case 1:o<128&&(a=o);break;case 2:g=t[i+1],(g&192)===128&&(f=(o&31)<<6|g&63,f>127&&(a=f));break;case 3:g=t[i+1],m=t[i+2],(g&192)===128&&(m&192)===128&&(f=(o&15)<<12|(g&63)<<6|m&63,f>2047&&(f<55296||f>57343)&&(a=f));break;case 4:g=t[i+1],m=t[i+2],h=t[i+3],(g&192)===128&&(m&192)===128&&(h&192)===128&&(f=(o&15)<<18|(g&63)<<12|(m&63)<<6|h&63,f>65535&&f<1114112&&(a=f))}}a===null?(a=65533,u=1):a>65535&&(a-=65536,n.push(a>>>10&1023|55296),a=56320|a&1023),n.push(a),i+=u}return At(n)}var je=4096;function At(t){var e=t.length;if(e<=je)return String.fromCharCode.apply(String,t);for(var r="",n=0;n<e;)r+=String.fromCharCode.apply(String,t.slice(n,n+=je));return r}function kt(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 It(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 St(t,e,r){var n=t.length;(!e||e<0)&&(e=0),(!r||r<0||r>n)&&(r=n);for(var i="",o=e;o<r;++o)i+=Dt[t[o]];return i}function Nt(t,e,r){for(var n=t.slice(e,r),i="",o=0;o<n.length-1;o+=2)i+=String.fromCharCode(n[o]+n[o+1]*256);return i}l.prototype.slice=function(e,r){var n=this.length;e=~~e,r=r===void 0?n:~~r,e<0?(e+=n,e<0&&(e=0)):e>n&&(e=n),r<0?(r+=n,r<0&&(r=0)):r>n&&(r=n),r<e&&(r=e);var i=this.subarray(e,r);return Object.setPrototypeOf(i,l.prototype),i};function b(t,e,r){if(t%1!==0||t<0)throw new RangeError("offset is not uint");if(t+e>r)throw new RangeError("Trying to access beyond buffer length")}l.prototype.readUintLE=l.prototype.readUIntLE=function(e,r,n){e=e>>>0,r=r>>>0,n||b(e,r,this.length);for(var i=this[e],o=1,a=0;++a<r&&(o*=256);)i+=this[e+a]*o;return i};l.prototype.readUintBE=l.prototype.readUIntBE=function(e,r,n){e=e>>>0,r=r>>>0,n||b(e,r,this.length);for(var i=this[e+--r],o=1;r>0&&(o*=256);)i+=this[e+--r]*o;return i};l.prototype.readUint8=l.prototype.readUInt8=function(e,r){return e=e>>>0,r||b(e,1,this.length),this[e]};l.prototype.readUint16LE=l.prototype.readUInt16LE=function(e,r){return e=e>>>0,r||b(e,2,this.length),this[e]|this[e+1]<<8};l.prototype.readUint16BE=l.prototype.readUInt16BE=function(e,r){return e=e>>>0,r||b(e,2,this.length),this[e]<<8|this[e+1]};l.prototype.readUint32LE=l.prototype.readUInt32LE=function(e,r){return e=e>>>0,r||b(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+this[e+3]*16777216};l.prototype.readUint32BE=l.prototype.readUInt32BE=function(e,r){return e=e>>>0,r||b(e,4,this.length),this[e]*16777216+(this[e+1]<<16|this[e+2]<<8|this[e+3])};l.prototype.readIntLE=function(e,r,n){e=e>>>0,r=r>>>0,n||b(e,r,this.length);for(var i=this[e],o=1,a=0;++a<r&&(o*=256);)i+=this[e+a]*o;return o*=128,i>=o&&(i-=Math.pow(2,8*r)),i};l.prototype.readIntBE=function(e,r,n){e=e>>>0,r=r>>>0,n||b(e,r,this.length);for(var i=r,o=1,a=this[e+--i];i>0&&(o*=256);)a+=this[e+--i]*o;return o*=128,a>=o&&(a-=Math.pow(2,8*r)),a};l.prototype.readInt8=function(e,r){return e=e>>>0,r||b(e,1,this.length),this[e]&128?(255-this[e]+1)*-1:this[e]};l.prototype.readInt16LE=function(e,r){e=e>>>0,r||b(e,2,this.length);var n=this[e]|this[e+1]<<8;return n&32768?n|4294901760:n};l.prototype.readInt16BE=function(e,r){e=e>>>0,r||b(e,2,this.length);var n=this[e+1]|this[e]<<8;return n&32768?n|4294901760:n};l.prototype.readInt32LE=function(e,r){return e=e>>>0,r||b(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24};l.prototype.readInt32BE=function(e,r){return e=e>>>0,r||b(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]};l.prototype.readFloatLE=function(e,r){return e=e>>>0,r||b(e,4,this.length),j.read(this,e,!0,23,4)};l.prototype.readFloatBE=function(e,r){return e=e>>>0,r||b(e,4,this.length),j.read(this,e,!1,23,4)};l.prototype.readDoubleLE=function(e,r){return e=e>>>0,r||b(e,8,this.length),j.read(this,e,!0,52,8)};l.prototype.readDoubleBE=function(e,r){return e=e>>>0,r||b(e,8,this.length),j.read(this,e,!1,52,8)};function v(t,e,r,n,i,o){if(!l.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>i||e<o)throw new RangeError('"value" argument is out of bounds');if(r+n>t.length)throw new RangeError("Index out of range")}l.prototype.writeUintLE=l.prototype.writeUIntLE=function(e,r,n,i){if(e=+e,r=r>>>0,n=n>>>0,!i){var o=Math.pow(2,8*n)-1;v(this,e,r,n,o,0)}var a=1,u=0;for(this[r]=e&255;++u<n&&(a*=256);)this[r+u]=e/a&255;return r+n};l.prototype.writeUintBE=l.prototype.writeUIntBE=function(e,r,n,i){if(e=+e,r=r>>>0,n=n>>>0,!i){var o=Math.pow(2,8*n)-1;v(this,e,r,n,o,0)}var a=n-1,u=1;for(this[r+a]=e&255;--a>=0&&(u*=256);)this[r+a]=e/u&255;return r+n};l.prototype.writeUint8=l.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};l.prototype.writeUint16LE=l.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};l.prototype.writeUint16BE=l.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};l.prototype.writeUint32LE=l.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};l.prototype.writeUint32BE=l.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};l.prototype.writeIntLE=function(e,r,n,i){if(e=+e,r=r>>>0,!i){var o=Math.pow(2,8*n-1);v(this,e,r,n,o-1,-o)}var a=0,u=1,g=0;for(this[r]=e&255;++a<n&&(u*=256);)e<0&&g===0&&this[r+a-1]!==0&&(g=1),this[r+a]=(e/u>>0)-g&255;return r+n};l.prototype.writeIntBE=function(e,r,n,i){if(e=+e,r=r>>>0,!i){var o=Math.pow(2,8*n-1);v(this,e,r,n,o-1,-o)}var a=n-1,u=1,g=0;for(this[r+a]=e&255;--a>=0&&(u*=256);)e<0&&g===0&&this[r+a+1]!==0&&(g=1),this[r+a]=(e/u>>0)-g&255;return r+n};l.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};l.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};l.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};l.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};l.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 Je(t,e,r,n,i,o){if(r+n>t.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function Qe(t,e,r,n,i){return e=+e,r=r>>>0,i||Je(t,e,r,4,34028234663852886e22,-34028234663852886e22),j.write(t,e,r,n,23,4),r+4}l.prototype.writeFloatLE=function(e,r,n){return Qe(this,e,r,!0,n)};l.prototype.writeFloatBE=function(e,r,n){return Qe(this,e,r,!1,n)};function er(t,e,r,n,i){return e=+e,r=r>>>0,i||Je(t,e,r,8,17976931348623157e292,-17976931348623157e292),j.write(t,e,r,n,52,8),r+8}l.prototype.writeDoubleLE=function(e,r,n){return er(this,e,r,!0,n)};l.prototype.writeDoubleBE=function(e,r,n){return er(this,e,r,!1,n)};l.prototype.copy=function(e,r,n,i){if(!l.isBuffer(e))throw new TypeError("argument should be a Buffer");if(n||(n=0),!i&&i!==0&&(i=this.length),r>=e.length&&(r=e.length),r||(r=0),i>0&&i<n&&(i=n),i===n||e.length===0||this.length===0)return 0;if(r<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw new RangeError("Index out of range");if(i<0)throw new RangeError("sourceEnd out of bounds");i>this.length&&(i=this.length),e.length-r<i-n&&(i=e.length-r+n);var o=i-n;return this===e&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(r,n,i):Uint8Array.prototype.set.call(e,this.subarray(n,i),r),o};l.prototype.fill=function(e,r,n,i){if(typeof e=="string"){if(typeof r=="string"?(i=r,r=0,n=this.length):typeof n=="string"&&(i=n,n=this.length),i!==void 0&&typeof i!="string")throw new TypeError("encoding must be a string");if(typeof i=="string"&&!l.isEncoding(i))throw new TypeError("Unknown encoding: "+i);if(e.length===1){var o=e.charCodeAt(0);(i==="utf8"&&o<128||i==="latin1")&&(e=o)}}else typeof e=="number"?e=e&255:typeof e=="boolean"&&(e=Number(e));if(r<0||this.length<r||this.length<n)throw new RangeError("Out of range index");if(n<=r)return this;r=r>>>0,n=n===void 0?this.length:n>>>0,e||(e=0);var a;if(typeof e=="number")for(a=r;a<n;++a)this[a]=e;else{var u=l.isBuffer(e)?e:l.from(e,i),g=u.length;if(g===0)throw new TypeError('The value "'+e+'" is invalid for argument "value"');for(a=0;a<n-r;++a)this[a+r]=u[a%g]}return this};var _t=/[^+/0-9A-Za-z-_]/g;function Et(t){if(t=t.split("=")[0],t=t.trim().replace(_t,""),t.length<2)return"";for(;t.length%4!==0;)t=t+"=";return t}function we(t,e){e=e||1/0;for(var r,n=t.length,i=null,o=[],a=0;a<n;++a){if(r=t.charCodeAt(a),r>55295&&r<57344){if(!i){if(r>56319){(e-=3)>-1&&o.push(239,191,189);continue}else if(a+1===n){(e-=3)>-1&&o.push(239,191,189);continue}i=r;continue}if(r<56320){(e-=3)>-1&&o.push(239,191,189),i=r;continue}r=(i-55296<<10|r-56320)+65536}else i&&(e-=3)>-1&&o.push(239,191,189);if(i=null,r<128){if((e-=1)<0)break;o.push(r)}else if(r<2048){if((e-=2)<0)break;o.push(r>>6|192,r&63|128)}else if(r<65536){if((e-=3)<0)break;o.push(r>>12|224,r>>6&63|128,r&63|128)}else if(r<1114112){if((e-=4)<0)break;o.push(r>>18|240,r>>12&63|128,r>>6&63|128,r&63|128)}else throw new Error("Invalid code point")}return o}function Rt(t){for(var e=[],r=0;r<t.length;++r)e.push(t.charCodeAt(r)&255);return e}function Lt(t,e){for(var r,n,i,o=[],a=0;a<t.length&&!((e-=2)<0);++a)r=t.charCodeAt(a),n=r>>8,i=r%256,o.push(i),o.push(n);return o}function rr(t){return xe.toByteArray(Et(t))}function se(t,e,r,n){for(var i=0;i<n&&!(i+r>=e.length||i>=t.length);++i)e[i+r]=t[i];return i}function _(t,e){return t instanceof e||t!=null&&t.constructor!=null&&t.constructor.name!=null&&t.constructor.name===e.name}function ke(t){return t!==t}var Dt=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 sr=ie((zt,ar)=>{s();var x=ar.exports={},E,R;function Ie(){throw new Error("setTimeout has not been defined")}function Se(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?E=setTimeout:E=Ie}catch(t){E=Ie}try{typeof clearTimeout=="function"?R=clearTimeout:R=Se}catch(t){R=Se}})();function nr(t){if(E===setTimeout)return setTimeout(t,0);if((E===Ie||!E)&&setTimeout)return E=setTimeout,setTimeout(t,0);try{return E(t,0)}catch(e){try{return E.call(null,t,0)}catch(r){return E.call(this,t,0)}}}function Ct(t){if(R===clearTimeout)return clearTimeout(t);if((R===Se||!R)&&clearTimeout)return R=clearTimeout,clearTimeout(t);try{return R(t)}catch(e){try{return R.call(null,t)}catch(r){return R.call(this,t)}}}var F=[],K=!1,$,le=-1;function Ft(){!K||!$||(K=!1,$.length?F=$.concat(F):le=-1,F.length&&ir())}function ir(){if(!K){var t=nr(Ft);K=!0;for(var e=F.length;e;){for($=F,F=[];++le<e;)$&&$[le].run();le=-1,e=F.length}$=null,K=!1,Ct(t)}}x.nextTick=function(t){var e=new Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)e[r-1]=arguments[r];F.push(new or(t,e)),F.length===1&&!K&&nr(ir)};function or(t,e){this.fun=t,this.array=e}or.prototype.run=function(){this.fun.apply(null,this.array)};x.title="browser";x.browser=!0;x.env={};x.argv=[];x.version="";x.versions={};function O(){}x.on=O;x.addListener=O;x.once=O;x.off=O;x.removeListener=O;x.removeAllListeners=O;x.emit=O;x.prependListener=O;x.prependOnceListener=O;x.listeners=function(t){return[]};x.binding=function(t){throw new Error("process.binding is not supported")};x.cwd=function(){return"/"};x.chdir=function(t){throw new Error("process.chdir is not supported")};x.umask=function(){return 0}});var c,p,Kt,s=et(()=>{c=U(tr()),p=U(sr()),Kt=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 Vt={};rt(Vt,{getTransactionValue:()=>Gt});module.exports=tt(Vt);s();s();s();s();s();s();s();s();s();s();s();s();s();s();s();s();var Ot=require("@multiversx/sdk-web-wallet-cross-window-provider/out/CrossWindowProvider/CrossWindowProvider"),X=require("@multiversx/sdk-web-wallet-cross-window-provider/out/enums");var lr=(r=>(r.signTransactionsWithGuardianResponse="SIGN_TRANSACTIONS_WITH_GUARDIAN_RESPONSE",r.reloginRequest="RELOGIN_REQUEST",r))(lr||{}),sn=D(D({},X.WindowProviderRequestEnums),lr),cr=(e=>(e.reloginResponse="RELOGIN_RESPONSE",e))(cr||{}),ln=D(D({},X.WindowProviderResponseEnums),cr);s();s();s();var Ne=(n=>(n.nft="nft",n.esdt="esdt",n.egld="egld",n))(Ne||{});s();s();s();var _e={devnet:{id:"devnet",chainId:"D",name:"Devnet",egldLabel:"xEGLD",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"https://maiar.page.link/?apn=com.elrond.maiar.wallet&isi=1519405832&ibi=com.elrond.maiar.wallet&link=https://xportal.com/",walletConnectBridgeAddresses:["https://bridge.walletconnect.org"],walletConnectV2RelayAddresses:["wss://relay.walletconnect.com"],walletAddress:"https://devnet-wallet.multiversx.com",xAliasAddress:"https://devnet.xalias.com",apiAddress:"https://devnet-api.multiversx.com",explorerAddress:"http://devnet-explorer.multiversx.com",metamaskSnapWalletAddress:"https://devnet-snap-wallet.multiversx.com",apiTimeout:"4000",roundDuration:6e3},testnet:{id:"testnet",chainId:"T",name:"Testnet",egldLabel:"xEGLD",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"https://maiar.page.link/?apn=com.elrond.maiar.wallet&isi=1519405832&ibi=com.elrond.maiar.wallet&link=https://xportal.com/",walletConnectBridgeAddresses:["https://bridge.walletconnect.org"],walletConnectV2RelayAddresses:["wss://relay.walletconnect.com"],walletAddress:"https://testnet-wallet.multiversx.com",xAliasAddress:"https://testnet.xalias.com",apiAddress:"https://testnet-api.multiversx.com",explorerAddress:"http://testnet-explorer.multiversx.com",metamaskSnapWalletAddress:"https://testnet-snap-wallet.multiversx.com",apiTimeout:"4000",roundDuration:6e3},mainnet:{id:"mainnet",chainId:"1",name:"Mainnet",egldLabel:"EGLD",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"https://maiar.page.link/?apn=com.elrond.maiar.wallet&isi=1519405832&ibi=com.elrond.maiar.wallet&link=https://xportal.com/",walletConnectBridgeAddresses:["https://bridge.walletconnect.org"],walletConnectV2RelayAddresses:["wss://relay.walletconnect.com"],walletAddress:"https://wallet.multiversx.com",xAliasAddress:"https://xalias.com",apiAddress:"https://api.multiversx.com",explorerAddress:"https://explorer.multiversx.com",metamaskSnapWalletAddress:"https://snap-wallet.multiversx.com",apiTimeout:"4000",roundDuration:6e3}},{chainId:ur,egldLabel:In}=_e["devnet"],{chainId:pr,egldLabel:Sn}=_e["testnet"],{chainId:dr,egldLabel:Nn}=_e["mainnet"];var _n={["devnet"]:ur,["testnet"]:pr,["mainnet"]:dr},En={[ur]:"devnet",[pr]:"testnet",[dr]:"mainnet"};s();s();var L=require("@multiversx/sdk-web-wallet-provider");s();s();var Ee=require("@multiversx/sdk-dapp-utils/out/constants/browserConstants");var gr,mr,Re=String((mr=(gr=Ee.safeWindow)==null?void 0:gr.navigator)==null?void 0:mr.userAgent),On=/^((?!chrome|android).)*safari/i.test(Re),Bn=/firefox/i.test(Re)&&/windows/i.test(Re);var A=18,ce=4;var ue="0";s();var pe=(n=>(n.NonFungibleESDT="NonFungibleESDT",n.SemiFungibleESDT="SemiFungibleESDT",n.MetaESDT="MetaESDT",n))(pe||{});s();var fr=t=>{var e,r,n,i;if(t.action){let o=[(e=t.action.arguments)==null?void 0:e.token,(r=t.action.arguments)==null?void 0:r.token1,(n=t.action.arguments)==null?void 0:n.token2,(i=t.action.arguments)==null?void 0:i.transfers].filter(u=>u!=null);return[].concat(...o)}return[]};s();s();s();s();var yr=require("@multiversx/sdk-core"),P=U(require("bignumber.js"));s();var hr=U(require("bignumber.js")),Le=(t,e=!0)=>{let r=String(t);if(!r.match(/^[-]?\d+$/))return!1;let n=new hr.default(r),i=e?0:-1;return n.toString(10)===r&&n.comparedTo(0)>=i};s();function B(t){return{if:function(e){return e?{then:r=>r instanceof Function?B(r(t)):B(r)}:{then:()=>B(t)}},then:e=>e instanceof Function?B(e(t)):B(e),valueOf:function(){return t}}}P.default.config({ROUNDING_MODE:P.default.ROUND_FLOOR});function M({input:t,decimals:e=A,digits:r=ce,showLastNonZeroDecimal:n=!0,showIsLessThanDecimalsLabel:i=!1,addCommas:o=!1}){if(!Le(t,!1))throw new Error("Invalid input");let a=new P.default(t).isNegative(),u=t;return a&&(u=t.substring(1)),B(u).then(()=>yr.TokenTransfer.fungibleFromBigInteger("",u,e).amountAsBigInteger.shiftedBy(-e).toFixed(e)).then(g=>{let m=new P.default(g);if(m.isZero())return ue;let h=m.toString(10),[f,y]=h.split("."),T=new P.default(y||0),w=B(0).if(Boolean(y&&n)).then(()=>Math.max(y.length,r)).if(T.isZero()&&!n).then(0).if(Boolean(y&&!n)).then(()=>Math.min(y.length,r)).valueOf(),q=y&&r>=1&&r<=y.length&&T.isGreaterThan(0)&&new P.default(y.substring(0,r)).isZero(),fe=m.toFormat(w);return B(h).if(o).then(fe).if(Boolean(q)).then(ee=>{let Z=new P.default(f).isZero(),[S,re]=ee.split("."),te=new Array(r-1).fill(0),qr=[...te,0].join(""),jr=[...te,1].join("");return Z?i?`<${S}.${jr}`:n?`${S}.${re}`:S:`${S}.${qr}`}).if(Boolean(!q&&y)).then(ee=>{let[Z]=ee.split("."),S=y.substring(0,w);if(n){let re=r-S.length;if(re>0){let te=Array(re).fill(0).join("");return S=`${S}${te}`,`${Z}.${S}`}return ee}return S?`${Z}.${S}`:Z}).valueOf()}).if(a).then(g=>`-${g}`).valueOf()}s();s();var Bt=require("@multiversx/sdk-core");s();var Q=require("@multiversx/sdk-core"),Pt=U(require("bignumber.js"));s();s();s();var Ut=U(require("bignumber.js"));s();s();var De={isEsdt:!1,isNft:!1,isEgld:!1};function xr(t){let e=t==null?void 0:t.split("-").length;return e===2?ne(D({},De),{isEsdt:!0}):e===3?ne(D({},De),{isNft:!0}):ne(D({},De),{isEgld:!0})}s();s();s();s();s();s();s();s();var G="accounts";var Tr="blocks",br="code",wr="collections";var vr="contracts";var Ar="identities";var kr="locked-accounts",Ir="logs",Sr="miniblocks";var Ce="nfts",Nr="nodes",Fe="providers",_r="roles",Oe="sc-results";var Y="tokens";var H="transactions";var de={shard:t=>`/${Tr}?shard=${t}`,receiverShard:t=>`/${H}?receivershard=${t}`,senderShard:t=>`/${H}?sendershard=${t}`,transactionDetails:t=>`/${H}/${t}`,transactionDetailsScResults:t=>`/${H}/${t}/${Oe}`,transactionDetailsLogs:t=>`/${H}/${t}/${Ir}`,nodeDetails:t=>`/${Nr}/${t}`,accountDetails:t=>`/${G}/${t}`,accountDetailsContractCode:t=>`/${G}/${t}/${br}`,accountDetailsTokens:t=>`/${G}/${t}/${Y}`,accountDetailsNfts:t=>`/${G}/${t}/${Ce}`,accountDetailsScResults:t=>`/${G}/${t}/${Oe}`,accountDetailsContracts:t=>`/${G}/${t}/${vr}`,identityDetails:t=>`/${Ar}/${t}`,tokenDetails:t=>`/${Y}/${t}`,tokenDetailsAccounts:t=>`/${Y}/${t}/${G}`,tokenDetailsLockedAccounts:t=>`/${Y}/${t}/${kr}`,tokenDetailsRoles:t=>`/${Y}/${t}/${_r}`,collectionDetails:t=>`/${wr}/${t}`,nftDetails:t=>`/${Ce}/${t}`,providerDetails:t=>`/${Fe}/${t}`,providerDetailsTransactions:t=>`/${Fe}/${t}/${H}`,miniblockDetails:t=>`/${Sr}/${t}`};function ge({token:t,noValue:e,showLastNonZeroDecimal:r}){var m;let n=!e&&t.value&&t.type!=="NonFungibleESDT",i=t.decimals!=null,o="";t.type==="NonFungibleESDT"&&(o="NFT"),t.type==="SemiFungibleESDT"&&(o="SFT"),t.type==="MetaESDT"&&(o="Meta-ESDT");let a="";n&&i&&(a=i?M({input:t.value,decimals:t.decimals,digits:2,showLastNonZeroDecimal:r}):Number(t.value).toLocaleString("en"));let u=de.nftDetails(String(t.identifier)),g=t.ticker===t.collection&&(m=t.identifier)!=null?m:t.ticker;return{badgeText:o,tokenFormattedAmount:n?a:null,tokenExplorerLink:u,tokenLinkText:g,token:t,noValue:e,showLastNonZeroDecimal:r}}s();function me({token:t,noValue:e,showLastNonZeroDecimal:r}){var u;let n=Boolean(!e&&t.value),i=n?M({input:t.value,decimals:(u=t.decimals)!=null?u:A,digits:2,showLastNonZeroDecimal:r,addCommas:!0}):null,o=de.tokenDetails(String(t.token)),a=t.ticker;return{tokenExplorerLink:o,tokenFormattedAmount:i,showFormattedAmount:n,tokenLinkText:a,token:t,showLastNonZeroDecimal:r}}s();var Er=["reDelegateRewards","claimRewards","unBond"],Rr=["wrapEgld","unwrapEgld"],Lr=["unStake"],Dr=["unDelegate"];s();s();var Cr=t=>{let e=t.map(n=>{let{isNft:i}=xr(n.type);if(i){let{badgeText:h,tokenFormattedAmount:f,tokenLinkText:y}=ge({token:n});return`${h!=null?`(${h}) `:""}${f} ${y}`}let{tokenFormattedAmount:o,tokenLinkText:a,token:u}=me({token:n}),g=u.collection?u.identifier:u.token;return`${o} ${a} (${g})`});return decodeURI(e.join("%0A"))};s();var I=t=>({egldValueData:{value:t,formattedValue:M({input:t}),decimals:A}});s();var Br=U(require("bignumber.js"));s();s();function Mt(t){try{let e=atob(t),r=btoa(e),n=c.Buffer.from(t,"base64").toString(),i=c.Buffer.from(n).toString("base64"),o=t===r||r.startsWith(t),a=t===i||i.startsWith(t);if(o&&a)return!0}catch(e){return!1}return!1}function Fr(t){return Mt(t)?atob(t):t}s();s();s();s();var Or=!1;function Ur(t){var e;try{let n=Fr(t.data).replace(`${(e=t.action)==null?void 0:e.name}@`,""),i=new Br.default(n,16);if(!i.isNaN())return I(i.toString(10))}catch(r){Or||(console.error(`Unable to extract value for txHash: ${t.txHash}`),Or=!0)}return I(t.value)}s();s();var Pr=t=>{var r,n;return(n=(r=t==null?void 0:t.operations)==null?void 0:r.filter(i=>Object.values(Ne).includes(i.type)))!=null?n:[]};var Mr=!1,Gr=t=>{Mr||(console.error(`Operations field missing for txHash: ${t}.
|
|
2
|
+
Unable to compute value field.`),Mr=!0)};function Vr(t){try{if(t.operations){let[e]=Pr(t);return I(e==null?void 0:e.value)}else Gr(t.txHash)}catch(e){Gr(t.txHash)}return I(t.value)}s();var $r=U(require("bignumber.js"));var Wr=!1;function Hr(t){var r,n,i,o,a;return new $r.default((n=(r=t.action)==null?void 0:r.arguments)==null?void 0:n.value).isNaN()?(Wr||(console.error(`Unable to interpret ${(a=t.action)==null?void 0:a.name} data for txHash: ${t.txHash}`),Wr=!0),I(t.value)):I((o=(i=t.action)==null?void 0:i.arguments)==null?void 0:o.value)}var Gt=({transaction:t,hideMultipleBadge:e})=>{var r;if(t.action){if(Rr.includes(t.action.name))return I(t.value);if(Lr.includes(t.action.name))return Ur(t);if(Er.includes(t.action.name))return Vr(t);if(Dr.includes(t.action.name))return Hr(t);let n=fr(t);if(n.length){let i=n[0],o=Object.values(pe).includes(i.type),u=!e&&n.length>1?Cr(n):"";if(o){let{badgeText:T,tokenFormattedAmount:w,tokenExplorerLink:q,tokenLinkText:fe}=ge({token:i});return{nftValueData:{badgeText:T,tokenFormattedAmount:w,tokenExplorerLink:q,tokenLinkText:fe,transactionTokens:n,token:i,value:w!=null?i.value:null,decimals:w!=null?i.decimals:null,titleText:u}}}let{tokenExplorerLink:g,showFormattedAmount:m,tokenFormattedAmount:h,tokenLinkText:f,token:y}=me({token:i});return{tokenValueData:{tokenExplorerLink:g,showFormattedAmount:m,tokenFormattedAmount:h,tokenLinkText:f,transactionTokens:n,token:y,value:i.value,decimals:(r=i.decimals)!=null?r:A,titleText:u}}}}return I(t.value)};0&&(module.exports={getTransactionValue});
|
|
3
3
|
/*!
|
|
4
4
|
* The buffer module from node.js, for the browser.
|
|
5
5
|
*
|