@multiversx/sdk-dapp 2.8.7 → 2.8.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/UI/DappModal/hooks/index.js +1 -1
- package/UI/DappModal/hooks/useDappModal.js +1 -1
- package/UI/DappModal/index.js +1 -1
- package/UI/Denominate/index.js +1 -1
- package/UI/ExplorerLink/ExplorerLink.js +1 -1
- package/UI/ExplorerLink/index.js +1 -1
- package/UI/FormatAmount/FormatAmount.js +1 -1
- package/UI/FormatAmount/index.js +1 -1
- package/UI/ModalContainer/ModalContainer.js +1 -1
- package/UI/ModalContainer/index.js +1 -1
- package/UI/NotificationModal/index.js +1 -1
- package/UI/SignTransactionsModals/SignTransactionsModals.js +1 -1
- package/UI/SignTransactionsModals/SignWithDeviceModal/SignStep.js +1 -1
- package/UI/SignTransactionsModals/SignWithDeviceModal/index.js +1 -1
- package/UI/SignTransactionsModals/SignWithExtensionModal/index.js +1 -1
- package/UI/SignTransactionsModals/SignWithExtraModal/index.js +1 -1
- package/UI/SignTransactionsModals/SignWithLedgerModal/index.js +1 -1
- package/UI/SignTransactionsModals/SignWithOperaModal/index.js +1 -1
- package/UI/SignTransactionsModals/SignWithWalletConnectModal/index.js +1 -1
- package/UI/SignTransactionsModals/components/ConfirmationScreen.js +1 -1
- package/UI/SignTransactionsModals/components/DeviceConfirmationScreen.js +1 -1
- package/UI/SignTransactionsModals/components/TransactionStatusToast.js +1 -1
- package/UI/SignTransactionsModals/components/index.js +1 -1
- package/UI/SignTransactionsModals/index.js +1 -1
- package/UI/TokenDetails/index.js +1 -1
- package/UI/TransactionData/index.js +1 -1
- package/UI/TransactionDetails/TransactionDetails.js +1 -1
- package/UI/TransactionDetails/components/TransactionDetailsBody.js +1 -1
- package/UI/TransactionDetails/components/index.js +1 -1
- package/UI/TransactionDetails/index.js +1 -1
- package/UI/TransactionInfo/TransactionInfo.js +1 -1
- package/UI/TransactionInfo/components/AddressDetailItem/AddressDetailitem.js +1 -1
- package/UI/TransactionInfo/components/AddressDetailItem/index.js +1 -1
- package/UI/TransactionInfo/components/DataDecode/DataDecode.js +1 -1
- package/UI/TransactionInfo/components/DataDecode/index.js +1 -1
- package/UI/TransactionInfo/components/DataField/DataField.js +1 -1
- package/UI/TransactionInfo/components/DataField/index.js +1 -1
- package/UI/TransactionInfo/components/EventsList/EventsList.js +1 -1
- package/UI/TransactionInfo/components/EventsList/index.js +1 -1
- package/UI/TransactionInfo/components/NonceMessage/NonceMessage.js +1 -1
- package/UI/TransactionInfo/components/NonceMessage/index.js +1 -1
- package/UI/TransactionInfo/components/OperationsList/OperationList.js +1 -1
- package/UI/TransactionInfo/components/OperationsList/components/DetailedItem.js +1 -1
- package/UI/TransactionInfo/components/OperationsList/components/OperationBlock.js +1 -1
- package/UI/TransactionInfo/components/OperationsList/components/OperationRow.js +1 -1
- package/UI/TransactionInfo/components/OperationsList/components/OperationText.js +1 -1
- package/UI/TransactionInfo/components/OperationsList/components/OperationToken.js +1 -1
- package/UI/TransactionInfo/components/OperationsList/components/index.js +1 -1
- package/UI/TransactionInfo/components/OperationsList/index.js +1 -1
- package/UI/TransactionInfo/components/ScResultsList/ScResultsList.js +1 -1
- package/UI/TransactionInfo/components/ScResultsList/components/ResultData/ResultData.js +1 -1
- package/UI/TransactionInfo/components/ScResultsList/components/ResultData/index.js +1 -1
- package/UI/TransactionInfo/components/ScResultsList/components/ResultHash/ResultHash.js +1 -1
- package/UI/TransactionInfo/components/ScResultsList/components/ResultHash/index.js +1 -1
- package/UI/TransactionInfo/components/ScResultsList/components/ResultReceiver/ResultReceiver.js +1 -1
- package/UI/TransactionInfo/components/ScResultsList/components/ResultReceiver/index.js +1 -1
- package/UI/TransactionInfo/components/ScResultsList/components/ResultSender/ResultSender.js +1 -1
- package/UI/TransactionInfo/components/ScResultsList/components/ResultSender/index.js +1 -1
- package/UI/TransactionInfo/components/ScResultsList/index.js +1 -1
- package/UI/TransactionInfo/components/ScrDetailItem/ScrDetailItem.js +1 -1
- package/UI/TransactionInfo/components/ScrDetailItem/index.js +1 -1
- package/UI/TransactionInfo/components/TransactionAction/TransactionAction.js +1 -1
- package/UI/TransactionInfo/components/TransactionAction/components/ActionText/index.js +1 -1
- package/UI/TransactionInfo/components/TransactionAction/components/ActionToken.js +1 -1
- package/UI/TransactionInfo/components/TransactionAction/components/TransactionActionBlock/components/TransactionActionCollection.js +1 -1
- package/UI/TransactionInfo/components/TransactionAction/components/TransactionActionBlock/components/TransactionActionNft.js +1 -1
- package/UI/TransactionInfo/components/TransactionAction/components/TransactionActionBlock/components/TransactionActionToken.js +1 -1
- package/UI/TransactionInfo/components/TransactionAction/components/TransactionActionBlock/components/index.js +1 -1
- package/UI/TransactionInfo/components/TransactionAction/components/TransactionActionBlock/index.js +1 -1
- package/UI/TransactionInfo/components/TransactionAction/components/index.js +1 -1
- package/UI/TransactionInfo/components/TransactionAction/index.js +1 -1
- package/UI/TransactionInfo/components/TransactionLogs/TransactionLogs.js +1 -1
- package/UI/TransactionInfo/components/TransactionLogs/index.js +1 -1
- package/UI/TransactionInfo/components/TransactionStatus/TransactionStatus.js +1 -1
- package/UI/TransactionInfo/components/TransactionStatus/index.js +1 -1
- package/UI/TransactionInfo/components/index.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoAge/TransactionInfoAge.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoAge/index.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoEgldPrice/TransactionInfoEgldPrice.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoEgldPrice/index.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoFee/TransactionInfoFee.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoFee/index.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoFrom/TransactionInfoFrom.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoFrom/index.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoGasLimit/TransactionInfoGasLimit.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoGasLimit/index.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoGasPrice/TransactionInfoGasPrice.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoGasPrice/index.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoGasUsed/TransactionInfoGasUsed.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoGasUsed/index.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoInputData/TransactionInfoInputData.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoInputData/index.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoMethod/TransactionInfoMethod.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoMethod/index.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoMiniblock/TransactionInfoMiniblock.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoMiniblock/index.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoNonce/TransactionInfoNonce.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoNonce/index.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoScResults/TransactionInfoScResults.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoScResults/index.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoStatus/TransactionInfoStatus.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoStatus/index.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoTo/TransactionInfoTo.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoTo/index.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoTokenOperations/TransactionInfoTokenOperations.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoTokenOperations/index.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoValue/TransactionInfoValue.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoValue/index.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/index.js +1 -1
- package/UI/TransactionInfo/index.js +1 -1
- package/UI/TransactionsTable/TransactionsTable.js +1 -1
- package/UI/TransactionsTable/components/LockedTokenAddressIcon.js +1 -1
- package/UI/TransactionsTable/components/ScAddressIcon.js +1 -1
- package/UI/TransactionsTable/components/ShardSpan.js +1 -1
- package/UI/TransactionsTable/components/TransactionHash.js +1 -1
- package/UI/TransactionsTable/components/TransactionIcon.js +1 -1
- package/UI/TransactionsTable/components/TransactionReceiver.js +1 -1
- package/UI/TransactionsTable/components/TransactionRow.js +1 -1
- package/UI/TransactionsTable/components/TransactionSender.js +1 -1
- package/UI/TransactionsTable/components/TransactionShardsTransition.js +1 -1
- package/UI/TransactionsTable/components/TransactionValue/TransactionValue.js +1 -1
- package/UI/TransactionsTable/components/TransactionValue/index.js +1 -1
- package/UI/TransactionsTable/components/index.js +1 -1
- package/UI/TransactionsTable/index.js +1 -1
- package/UI/TransactionsToastList/TransactionsToastList.js +1 -1
- package/UI/TransactionsToastList/components/CustomToast/CustomToast.js +1 -1
- package/UI/TransactionsToastList/components/CustomToast/components/IconToast/IconToast.js +1 -1
- package/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/IconToastFooter.js +1 -1
- package/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/components/ComponentToastFooter.js +1 -1
- package/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/components/TransactionToastFooter.js +1 -1
- package/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/components/index.js +1 -1
- package/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/index.js +1 -1
- package/UI/TransactionsToastList/components/CustomToast/components/IconToast/index.js +1 -1
- package/UI/TransactionsToastList/components/CustomToast/components/SimpleToast.js +1 -1
- package/UI/TransactionsToastList/components/CustomToast/components/index.js +1 -1
- package/UI/TransactionsToastList/components/CustomToast/helpers/getIsTransaction.js +1 -1
- package/UI/TransactionsToastList/components/CustomToast/helpers/index.js +1 -1
- package/UI/TransactionsToastList/components/CustomToast/helpers/useMemoizedCloseButton.js +1 -1
- package/UI/TransactionsToastList/components/CustomToast/index.js +1 -1
- package/UI/TransactionsToastList/components/TransactionToast/TransactionToast.js +1 -1
- package/UI/TransactionsToastList/components/TransactionToast/components/TransactionToastContent.js +1 -1
- package/UI/TransactionsToastList/components/TransactionToast/components/index.js +1 -1
- package/UI/TransactionsToastList/components/TransactionToast/hooks/useTransactionToast.js +1 -1
- package/UI/TransactionsToastList/components/TransactionToast/index.js +1 -1
- package/UI/TransactionsToastList/components/TransactionToast/utils/getToastDataStateByStatus.js +1 -1
- package/UI/TransactionsToastList/components/TransactionToast/utils/index.js +1 -1
- package/UI/TransactionsToastList/components/TransactionToastGuard.js +1 -1
- package/UI/TransactionsToastList/components/index.js +1 -1
- package/UI/TransactionsToastList/index.js +1 -1
- package/UI/UsdValue/UsdValue.js +1 -1
- package/UI/UsdValue/index.js +1 -1
- package/UI/extension/ExtensionLoginButton/index.js +1 -1
- package/UI/index.js +1 -1
- package/UI/ledger/LedgerLoginButton/index.js +1 -1
- package/UI/ledger/LedgerLoginContainer/AddressRow.js +1 -1
- package/UI/ledger/LedgerLoginContainer/AddressTable.js +1 -1
- package/UI/ledger/LedgerLoginContainer/ConfirmAddress.js +1 -1
- package/UI/ledger/LedgerLoginContainer/index.js +1 -1
- package/UI/ledger/index.js +1 -1
- package/UI/operaWallet/OperaWalletLoginButton/index.js +1 -1
- package/UI/pages/UnlockPage/index.js +1 -1
- package/UI/pages/index.js +1 -1
- package/UI/walletConnect/WalletConnectConnectionStatus/WalletConnectConnectionStatus.js +1 -1
- package/UI/walletConnect/WalletConnectConnectionStatus/index.js +1 -1
- package/UI/walletConnect/WalletConnectLoginButton/index.js +1 -1
- package/UI/walletConnect/WalletConnectLoginContainer/index.js +1 -1
- package/UI/walletConnect/index.js +1 -1
- package/UI/webWallet/WebWalletLoginButton/index.js +1 -1
- package/__chunks__/{chunk-QUMYRH4H.js → chunk-22AVS7E3.js} +2 -2
- package/__chunks__/{chunk-ANO63HEG.js → chunk-25PTVHEB.js} +2 -2
- package/__chunks__/{chunk-CRI42HNH.js → chunk-2CN5KU25.js} +2 -2
- package/__chunks__/{chunk-XIHOENSC.js → chunk-2EA2VIB5.js} +2 -2
- package/__chunks__/{chunk-MRGB5FAN.js → chunk-2RRQT2ZE.js} +2 -2
- package/__chunks__/{chunk-OM457L3M.js → chunk-2TL4GHIJ.js} +2 -2
- package/__chunks__/{chunk-4P3LJAUR.js → chunk-2UFASAE6.js} +2 -2
- package/__chunks__/chunk-2ZTVJLOJ.js +2 -0
- package/__chunks__/{chunk-YLOIJNV2.js → chunk-34MJDZ4X.js} +2 -2
- package/__chunks__/{chunk-D3E65LJ5.js → chunk-35CA4MUL.js} +2 -2
- package/__chunks__/chunk-37KH4Z57.js +2 -0
- package/__chunks__/{chunk-4R3QOQZE.js → chunk-3AWXVQPI.js} +2 -2
- package/__chunks__/chunk-3O4GBHR3.js +2 -0
- package/__chunks__/{chunk-N7ACY27N.js → chunk-3P3MCUKK.js} +2 -2
- package/__chunks__/{chunk-ADE5S3WR.js → chunk-3RPV34NB.js} +2 -2
- package/__chunks__/{chunk-KGGATDBD.js → chunk-3SGMXEQG.js} +2 -2
- package/__chunks__/{chunk-YKCZ2UKE.js → chunk-3WJ37IJQ.js} +2 -2
- package/__chunks__/{chunk-737AN7JD.js → chunk-42I454QK.js} +2 -2
- package/__chunks__/{chunk-6UNQJUWL.js → chunk-4A25I5EO.js} +2 -2
- package/__chunks__/chunk-4DKSPOQC.js +2 -0
- package/__chunks__/{chunk-UMD2MTE3.js → chunk-4HLBQPQN.js} +2 -2
- package/__chunks__/{chunk-OCKI3V27.js → chunk-4JAU6EN6.js} +2 -2
- package/__chunks__/{chunk-A2MJT5TB.js → chunk-4KWGNHHC.js} +2 -2
- package/__chunks__/{chunk-74QKDRVQ.js → chunk-4NUCA54E.js} +2 -2
- package/__chunks__/{chunk-F2EJ4NBK.js → chunk-4PGVVXDY.js} +2 -2
- package/__chunks__/{chunk-XXUDAIKI.js → chunk-4QHVTLCL.js} +2 -2
- package/__chunks__/chunk-52LWAKUU.js +2 -0
- package/__chunks__/{chunk-JXDUGSUA.js → chunk-54UVT7XD.js} +2 -2
- package/__chunks__/{chunk-7BA6MF76.js → chunk-5F5AUJIV.js} +2 -2
- package/__chunks__/{chunk-SMISCEQS.js → chunk-5IKM5Q2S.js} +2 -2
- package/__chunks__/{chunk-TOZA3Q3T.js → chunk-5L64ER7E.js} +2 -2
- package/__chunks__/{chunk-UXBGGKWU.js → chunk-5RS2KBDW.js} +2 -2
- package/__chunks__/{chunk-3VGDFLNR.js → chunk-5X3T3BM4.js} +2 -2
- package/__chunks__/{chunk-2C65GIQZ.js → chunk-5XAXZ3NX.js} +2 -2
- package/__chunks__/{chunk-CUFA5NAA.js → chunk-5ZHWPLU6.js} +2 -2
- package/__chunks__/{chunk-IIAD2DSC.js → chunk-62DW3AHE.js} +2 -2
- package/__chunks__/chunk-66VVLQWA.js +2 -0
- package/__chunks__/{chunk-5MMAS7IS.js → chunk-67CWWMJV.js} +2 -2
- package/__chunks__/{chunk-B25RPITH.js → chunk-6DTOQEIQ.js} +2 -2
- package/__chunks__/chunk-6E7UMUAT.js +2 -0
- package/__chunks__/{chunk-S7JDYKHM.js → chunk-6K3QMAWT.js} +2 -2
- package/__chunks__/{chunk-FXKLPJUW.js → chunk-6OGZDOZO.js} +2 -2
- package/__chunks__/{chunk-E7MY3TPU.js → chunk-6PZJ6OYX.js} +2 -2
- package/__chunks__/{chunk-BYS7QALE.js → chunk-6QZHGHIR.js} +2 -2
- package/__chunks__/{chunk-B3ILFYYH.js → chunk-6XRDVX6C.js} +2 -2
- package/__chunks__/{chunk-NQ5XJOIL.js → chunk-7C6XIICR.js} +2 -2
- package/__chunks__/{chunk-P7STLJJI.js → chunk-7CGLDJOD.js} +2 -2
- package/__chunks__/{chunk-AFLDYYSB.js → chunk-7HKAHQUX.js} +2 -2
- package/__chunks__/chunk-7PMD4JRS.js +2 -0
- package/__chunks__/chunk-A274U45O.js +2 -0
- package/__chunks__/{chunk-LVCV5JOX.js → chunk-A2D7YVXP.js} +2 -2
- package/__chunks__/{chunk-GY336JML.js → chunk-A2UYY3JW.js} +2 -2
- package/__chunks__/chunk-A6R7V6U3.js +2 -0
- package/__chunks__/{chunk-XKMOG6SS.js → chunk-AASOI2YB.js} +2 -2
- package/__chunks__/{chunk-LF6VJNCF.js → chunk-AF4A42IE.js} +2 -2
- package/__chunks__/chunk-AJX7U6NK.js +2 -0
- package/__chunks__/{chunk-YKKS3O3Z.js → chunk-AM7A2OOW.js} +2 -2
- package/__chunks__/{chunk-ODQ5XNPU.js → chunk-ANAT47NF.js} +2 -2
- package/__chunks__/{chunk-UX2EZNAX.js → chunk-AO6HRN56.js} +2 -2
- package/__chunks__/{chunk-73KODBLR.js → chunk-ATNLLNOK.js} +2 -2
- package/__chunks__/{chunk-EBMIHN52.js → chunk-AWP342D7.js} +2 -2
- package/__chunks__/{chunk-MBOASZBJ.js → chunk-AY5CRAVB.js} +2 -2
- package/__chunks__/{chunk-RU373C7L.js → chunk-AZWOFPFX.js} +2 -2
- package/__chunks__/{chunk-TEFRLAUL.js → chunk-B3LFKKXC.js} +2 -2
- package/__chunks__/{chunk-HJFWUTN2.js → chunk-B47CQIA7.js} +2 -2
- package/__chunks__/{chunk-IK27WK4F.js → chunk-BB5K7AMG.js} +2 -2
- package/__chunks__/chunk-BBDZAYAU.js +2 -0
- package/__chunks__/{chunk-CN4TUEV7.js → chunk-BBPTFRVE.js} +2 -2
- package/__chunks__/chunk-BFSRVA3J.js +2 -0
- package/__chunks__/{chunk-FGT3C4FE.js → chunk-BPPVSU25.js} +1 -1
- package/__chunks__/chunk-BQ4N52MW.js +2 -0
- package/__chunks__/{chunk-YFDYMEP5.js → chunk-BS36A7LR.js} +2 -2
- package/__chunks__/{chunk-RJFWI3UU.js → chunk-BTPNQ5FQ.js} +2 -2
- package/__chunks__/{chunk-4HQ3HNGC.js → chunk-BWYB6R6W.js} +2 -2
- package/__chunks__/{chunk-Z7HQTVYF.js → chunk-C4IGVF3G.js} +2 -2
- package/__chunks__/{chunk-32VBXZXR.js → chunk-CDWLWJH3.js} +2 -2
- package/__chunks__/{chunk-BKMTF6D2.js → chunk-CDZFXCBL.js} +2 -2
- package/__chunks__/{chunk-TQVFVFKS.js → chunk-CMG3PZXL.js} +2 -2
- package/__chunks__/{chunk-FGJI7F7M.js → chunk-CSUG3NQC.js} +2 -2
- package/__chunks__/chunk-CUPMM5UN.js +2 -0
- package/__chunks__/{chunk-W37FQYGP.js → chunk-CURMR3DQ.js} +2 -2
- package/__chunks__/{chunk-R3FSXFX3.js → chunk-CUXSI37S.js} +2 -2
- package/__chunks__/{chunk-FNO4F4XU.js → chunk-DCYIMALR.js} +2 -2
- package/__chunks__/{chunk-DG7FFCMC.js → chunk-DF2AQYO7.js} +2 -2
- package/__chunks__/chunk-DKQCBXAE.js +2 -0
- package/__chunks__/{chunk-HGAKSUJP.js → chunk-DSXLBCJZ.js} +2 -2
- package/__chunks__/{chunk-2DPI5E3W.js → chunk-DUYNNDUF.js} +2 -2
- package/__chunks__/{chunk-5RFLO6MR.js → chunk-DXSPO7EM.js} +2 -2
- package/__chunks__/{chunk-KX4A4RXW.js → chunk-E63OT5BJ.js} +2 -2
- package/__chunks__/{chunk-GXOJLFD4.js → chunk-E66WVYJC.js} +2 -2
- package/__chunks__/{chunk-QB3XGANM.js → chunk-E7PHXPI7.js} +2 -2
- package/__chunks__/{chunk-EN36KS5J.js → chunk-EDAS6Z7S.js} +2 -2
- package/__chunks__/{chunk-DHYV75O3.js → chunk-EDUYDVLW.js} +2 -2
- package/__chunks__/chunk-EIE6T4QD.js +2 -0
- package/__chunks__/{chunk-7YFFVZWN.js → chunk-EKK5P7LA.js} +2 -2
- package/__chunks__/{chunk-JWQRJOLL.js → chunk-EVWIXAZV.js} +2 -2
- package/__chunks__/{chunk-7WWHCPMS.js → chunk-F4OB26CT.js} +2 -2
- package/__chunks__/{chunk-Z6PNQGOE.js → chunk-F6GZHJMJ.js} +2 -2
- package/__chunks__/chunk-F7E7BINB.js +2 -0
- package/__chunks__/chunk-FA2UEZM2.js +2 -0
- package/__chunks__/{chunk-4JKMMUID.js → chunk-FCAEZL4W.js} +2 -2
- package/__chunks__/{chunk-SLLPTUAV.js → chunk-FFSZJG62.js} +2 -2
- package/__chunks__/{chunk-K4P3Q4G6.js → chunk-FHE5FVE7.js} +2 -2
- package/__chunks__/{chunk-UYKSTJCI.js → chunk-FKFPHPFX.js} +2 -2
- package/__chunks__/chunk-FLZGZET2.js +2 -0
- package/__chunks__/{chunk-WUBNBBRC.js → chunk-FNE7PA64.js} +2 -2
- package/__chunks__/{chunk-YMP4Z5XY.js → chunk-FOSUR33Y.js} +2 -2
- package/__chunks__/{chunk-C6OSBOOY.js → chunk-FOTIYLGS.js} +2 -2
- package/__chunks__/chunk-FRNVGEYR.js +2 -0
- package/__chunks__/{chunk-LKDW3XH3.js → chunk-GG736LLW.js} +2 -2
- package/__chunks__/{chunk-5WX4CALV.js → chunk-GIZIGQZP.js} +2 -2
- package/__chunks__/{chunk-2KFSLVEO.js → chunk-GJLPTW4K.js} +2 -2
- package/__chunks__/{chunk-CJH2YV7X.js → chunk-GMVQCQ3Y.js} +2 -2
- package/__chunks__/chunk-GNEQWXJE.js +2 -0
- package/__chunks__/{chunk-XZ5MLYGD.js → chunk-GPLG6N3Y.js} +2 -2
- package/__chunks__/{chunk-NDJHFLTL.js → chunk-GQPWCE2U.js} +2 -2
- package/__chunks__/{chunk-6R7WMG4C.js → chunk-GSH4BYXB.js} +2 -2
- package/__chunks__/{chunk-WXZKC7M3.js → chunk-GSUIWNNM.js} +2 -2
- package/__chunks__/{chunk-WWSWE52T.js → chunk-GW6MOKMY.js} +2 -2
- package/__chunks__/chunk-GZIWNMCW.js +2 -0
- package/__chunks__/{chunk-MO7GMDSI.js → chunk-HJGXNUQZ.js} +2 -2
- package/__chunks__/{chunk-CPEIGU6U.js → chunk-HLAK3KWC.js} +2 -2
- package/__chunks__/{chunk-HEMJW4UP.js → chunk-HYYC56WM.js} +2 -2
- package/__chunks__/{chunk-CJT4DITV.js → chunk-I5GXT2NM.js} +2 -2
- package/__chunks__/{chunk-NAKSKDVH.js → chunk-I6WCVWCL.js} +2 -2
- package/__chunks__/{chunk-5FBZWQQA.js → chunk-IAU7HZOA.js} +2 -2
- package/__chunks__/{chunk-BOKSFKJF.js → chunk-IDNYXXUU.js} +2 -2
- package/__chunks__/chunk-IL5JDJWD.js +2 -0
- package/__chunks__/{chunk-ZEEWQEXA.js → chunk-IOSHQZNU.js} +2 -2
- package/__chunks__/{chunk-GCYQRVDH.js → chunk-IPE5DLSE.js} +2 -2
- package/__chunks__/{chunk-ROMNQSAY.js → chunk-ITRHXPQX.js} +2 -2
- package/__chunks__/chunk-IUPXRKIH.js +2 -0
- package/__chunks__/{chunk-NANO4X2A.js → chunk-J36BPK32.js} +2 -2
- package/__chunks__/{chunk-66KNLCQD.js → chunk-JCYM4TK6.js} +2 -2
- package/__chunks__/{chunk-KX4VZFVE.js → chunk-JDGBXBDB.js} +2 -2
- package/__chunks__/{chunk-USTDS2O5.js → chunk-JJGJCN5V.js} +2 -2
- package/__chunks__/{chunk-VS7YJKJM.js → chunk-JKA54IGW.js} +2 -2
- package/__chunks__/{chunk-I3DMSSAU.js → chunk-JKQBUYK2.js} +2 -2
- package/__chunks__/{chunk-F4Z4BQFP.js → chunk-JRM3LDSG.js} +2 -2
- package/__chunks__/{chunk-525WM2BT.js → chunk-JUFYXNHH.js} +2 -2
- package/__chunks__/{chunk-ACE3TC2R.js → chunk-JWAY75CZ.js} +2 -2
- package/__chunks__/{chunk-KHTHET32.js → chunk-JYF2TWOA.js} +2 -2
- package/__chunks__/{chunk-4JB5QVKY.js → chunk-K2TOOZFP.js} +2 -2
- package/__chunks__/{chunk-5LEO57S4.js → chunk-KDE7GIIV.js} +2 -2
- package/__chunks__/{chunk-DQLFYAJF.js → chunk-KGF5QO63.js} +2 -2
- package/__chunks__/{chunk-CY7H7XN3.js → chunk-KMTJAVQJ.js} +2 -2
- package/__chunks__/{chunk-UTDBQNDV.js → chunk-KN33FON4.js} +2 -2
- package/__chunks__/chunk-KW6HYOXT.js +2 -0
- package/__chunks__/{chunk-EVUACURD.js → chunk-L4OGNGVR.js} +2 -2
- package/__chunks__/{chunk-X2L7IGUP.js → chunk-L4RGRP2I.js} +2 -2
- package/__chunks__/{chunk-KCOIYEPV.js → chunk-L6CEZHRZ.js} +2 -2
- package/__chunks__/{chunk-XWDYQGE2.js → chunk-L6O2YAE3.js} +2 -2
- package/__chunks__/{chunk-TGSNOZEZ.js → chunk-LIOPBJAR.js} +2 -2
- package/__chunks__/chunk-LLFZUOHV.js +2 -0
- package/__chunks__/{chunk-423Z6LGX.js → chunk-LLJWVYQI.js} +2 -2
- package/__chunks__/chunk-LNMQ6RED.js +2 -0
- package/__chunks__/{chunk-WYFQSQAM.js → chunk-LO2RKWHN.js} +2 -2
- package/__chunks__/{chunk-AJ2VY4SZ.js → chunk-LZ4RLZRI.js} +2 -2
- package/__chunks__/chunk-MBF7VDMJ.js +2 -0
- package/__chunks__/{chunk-SJ6DPXLM.js → chunk-MCPXAAQH.js} +2 -2
- package/__chunks__/{chunk-T6GIIILG.js → chunk-MMCZ3ASQ.js} +2 -2
- package/__chunks__/chunk-MQNEHNFG.js +2 -0
- package/__chunks__/chunk-NAN2H6P3.js +2 -0
- package/__chunks__/{chunk-V5CRB7KN.js → chunk-NB6RUSDN.js} +2 -2
- package/__chunks__/{chunk-5R432HI2.js → chunk-NQ25VRP6.js} +2 -2
- package/__chunks__/{chunk-VPHC377M.js → chunk-NTZ4J3ZX.js} +2 -2
- package/__chunks__/{chunk-WX5BAI2J.js → chunk-NY3SRBV3.js} +2 -2
- package/__chunks__/{chunk-HER7NR3P.js → chunk-NY463RKX.js} +2 -2
- package/__chunks__/{chunk-6YFMGTBJ.js → chunk-NYM7F3NU.js} +2 -2
- package/__chunks__/{chunk-NMZHNNDO.js → chunk-O7TAHBTL.js} +2 -2
- package/__chunks__/{chunk-RXNYA6SF.js → chunk-OARRFKEW.js} +2 -2
- package/__chunks__/{chunk-A4RZQEKA.js → chunk-OEMRN6RA.js} +2 -2
- package/__chunks__/{chunk-WKD2ES4V.js → chunk-OHTQWFS7.js} +2 -2
- package/__chunks__/{chunk-R2G53LUI.js → chunk-OHZF3UCF.js} +2 -2
- package/__chunks__/{chunk-KDNMJ7M2.js → chunk-OIT7AZTZ.js} +2 -2
- package/__chunks__/{chunk-ILI6V46A.js → chunk-OMBMT76D.js} +2 -2
- package/__chunks__/{chunk-BDA7V4NQ.js → chunk-OMSJSEKB.js} +2 -2
- package/__chunks__/{chunk-PINKYRXT.js → chunk-OOZSFHYH.js} +2 -2
- package/__chunks__/{chunk-VXVGC3OH.js → chunk-OQIVIERX.js} +2 -2
- package/__chunks__/{chunk-KTYRUFXV.js → chunk-OR4L5DIF.js} +2 -2
- package/__chunks__/chunk-OWV63OFS.js +2 -0
- package/__chunks__/{chunk-23EGU54D.js → chunk-OYAY4A6E.js} +2 -2
- package/__chunks__/chunk-P7ETYQLM.js +2 -0
- package/__chunks__/{chunk-IOHWBSIX.js → chunk-PEYRK6DJ.js} +2 -2
- package/__chunks__/{chunk-IIXY6EVM.js → chunk-PFP32GAJ.js} +2 -2
- package/__chunks__/chunk-PJU2UKAU.js +2 -0
- package/__chunks__/{chunk-JFOJHUMM.js → chunk-PNLICGB5.js} +2 -2
- package/__chunks__/{chunk-MDZPOO3F.js → chunk-POFMPPLE.js} +2 -2
- package/__chunks__/chunk-PQX6XDOO.js +2 -0
- package/__chunks__/{chunk-ENVPO3OR.js → chunk-PWZQTMIM.js} +2 -2
- package/__chunks__/{chunk-4ALRWZZQ.js → chunk-PYO6CNJL.js} +2 -2
- package/__chunks__/{chunk-5GEXET3C.js → chunk-Q2LHZHWH.js} +2 -2
- package/__chunks__/{chunk-PVKKZXYP.js → chunk-Q5JVMVSG.js} +2 -2
- package/__chunks__/{chunk-T4FS5XNS.js → chunk-QANWJPQL.js} +2 -2
- package/__chunks__/{chunk-WWLOW2S3.js → chunk-QCA255CH.js} +2 -2
- package/__chunks__/{chunk-U77UZINY.js → chunk-QDCY7OOZ.js} +2 -2
- package/__chunks__/{chunk-CRIOGAAJ.js → chunk-QHROAYMM.js} +2 -2
- package/__chunks__/{chunk-M7AJLAY3.js → chunk-QM7QGMRH.js} +2 -2
- package/__chunks__/{chunk-P6MWBKH3.js → chunk-QN46IB4K.js} +2 -2
- package/__chunks__/chunk-QWA762UQ.js +2 -0
- package/__chunks__/{chunk-COV3NRWK.js → chunk-QWB6ASJZ.js} +2 -2
- package/__chunks__/{chunk-GFKBUR52.js → chunk-QZVP3TCG.js} +2 -2
- package/__chunks__/{chunk-QL7RMPDI.js → chunk-QZWFDZZ3.js} +2 -2
- package/__chunks__/{chunk-RHQ3FWWV.js → chunk-R5Z4JV3X.js} +2 -2
- package/__chunks__/{chunk-IHIUGJRW.js → chunk-RDJETZ3F.js} +2 -2
- package/__chunks__/chunk-RLBSVH7A.js +2 -0
- package/__chunks__/{chunk-S3J7OTBF.js → chunk-RNUOTUNR.js} +2 -2
- package/__chunks__/{chunk-KGYURMEO.js → chunk-RNVBV4W2.js} +2 -2
- package/__chunks__/{chunk-A4SQDGPF.js → chunk-RRJM3255.js} +2 -2
- package/__chunks__/{chunk-7XE7OVZZ.js → chunk-RVD7ASJL.js} +2 -2
- package/__chunks__/{chunk-YRHGZ4HS.js → chunk-SBWX3IYZ.js} +2 -2
- package/__chunks__/{chunk-VVPMSN2M.js → chunk-SIEJ3BGE.js} +2 -2
- package/__chunks__/{chunk-DF24IGER.js → chunk-SKUZQREX.js} +2 -2
- package/__chunks__/{chunk-U6QHRFQ6.js → chunk-SLKZO7VS.js} +2 -2
- package/__chunks__/{chunk-M2X2JVAM.js → chunk-SN6WAH6B.js} +2 -2
- package/__chunks__/chunk-SNKVBZTS.js +2 -0
- package/__chunks__/{chunk-A6EXXYVU.js → chunk-SUHRUIOX.js} +2 -2
- package/__chunks__/{chunk-3KOYQHTR.js → chunk-SY4VVHFA.js} +2 -2
- package/__chunks__/{chunk-6UNAWFJ2.js → chunk-TF5GKSWN.js} +2 -2
- package/__chunks__/{chunk-M22NL7FJ.js → chunk-TIXHEZXL.js} +2 -2
- package/__chunks__/{chunk-KE3UZZPK.js → chunk-TMWKLAQA.js} +2 -2
- package/__chunks__/{chunk-YWT4XNXN.js → chunk-TZY5QRK7.js} +2 -2
- package/__chunks__/{chunk-XTX67ABL.js → chunk-U2U4MUGT.js} +2 -2
- package/__chunks__/{chunk-YLMRTW5R.js → chunk-U53EBQ6E.js} +2 -2
- package/__chunks__/{chunk-VSXOMCDB.js → chunk-UC3BL6OL.js} +2 -2
- package/__chunks__/{chunk-HQJKEU6C.js → chunk-UKVVZZPC.js} +2 -2
- package/__chunks__/{chunk-NNVTUWMR.js → chunk-ULRLEVOX.js} +2 -2
- package/__chunks__/chunk-UXUA2YCT.js +2 -0
- package/__chunks__/{chunk-SOPJ4FVA.js → chunk-VCAA4VGH.js} +2 -2
- package/__chunks__/chunk-VLFWEDOB.js +2 -0
- package/__chunks__/chunk-VMEHK3CK.js +2 -0
- package/__chunks__/chunk-VRE5TYWU.js +2 -0
- package/__chunks__/{chunk-XNHZJ2SC.js → chunk-VU5G7W7V.js} +2 -2
- package/__chunks__/{chunk-TRBK7QQ6.js → chunk-VZTQJF5K.js} +2 -2
- package/__chunks__/{chunk-UG55ZHGL.js → chunk-W4D7AG72.js} +2 -2
- package/__chunks__/chunk-W5XMZRTH.js +2 -0
- package/__chunks__/{chunk-CEPGJ4CK.js → chunk-W5XV2MWO.js} +2 -2
- package/__chunks__/{chunk-W2FZFACI.js → chunk-W6TJJEHF.js} +2 -2
- package/__chunks__/chunk-WDVYNUMZ.js +2 -0
- package/__chunks__/{chunk-FSAAWDVV.js → chunk-WEXCOWWF.js} +2 -2
- package/__chunks__/{chunk-ADCSG5DO.js → chunk-WFUHPFAH.js} +2 -2
- package/__chunks__/{chunk-R5P34PUZ.js → chunk-WGZ6HMXJ.js} +2 -2
- package/__chunks__/{chunk-USUOFVP7.js → chunk-WUF7FKNG.js} +2 -2
- package/__chunks__/{chunk-HGTG6QDV.js → chunk-WZ4T4C6J.js} +2 -2
- package/__chunks__/{chunk-YUIINDCV.js → chunk-X6LCE6DY.js} +2 -2
- package/__chunks__/{chunk-Q7U3WZCF.js → chunk-XDH6CNY3.js} +2 -2
- package/__chunks__/{chunk-ELIQXNO3.js → chunk-XHBL2F6G.js} +2 -2
- package/__chunks__/{chunk-KO4CKUQ3.js → chunk-XHKQRSQL.js} +2 -2
- package/__chunks__/{chunk-52J7F3R2.js → chunk-XIS6CC4U.js} +2 -2
- package/__chunks__/{chunk-SAFQFQIH.js → chunk-XP6VAPF7.js} +2 -2
- package/__chunks__/{chunk-YU5OYJX7.js → chunk-XRA7MBOO.js} +2 -2
- package/__chunks__/chunk-Y4MABHXD.js +2 -0
- package/__chunks__/{chunk-4NPCJKVQ.js → chunk-Y6PJXZ2E.js} +2 -2
- package/__chunks__/chunk-YR7YPWTF.js +2 -0
- package/__chunks__/{chunk-EB7DKY7Z.js → chunk-Z56HIYKS.js} +2 -2
- package/__chunks__/{chunk-XT5BA43Z.js → chunk-Z7JWZURJ.js} +2 -2
- package/__chunks__/{chunk-BBL4ZXHW.js → chunk-ZAKI6HUY.js} +2 -2
- package/__chunks__/{chunk-6PTMJTAR.js → chunk-ZCM6OSDK.js} +2 -2
- package/__chunks__/{chunk-MLSI3RC2.js → chunk-ZF6KDUMI.js} +2 -2
- package/__chunks__/{chunk-M47D4COH.js → chunk-ZJECAQPC.js} +2 -2
- package/__chunks__/chunk-ZJPGJ7QI.js +2 -0
- package/__chunks__/{chunk-77DECFQY.js → chunk-ZJQA5LBM.js} +2 -2
- package/__chunks__/{chunk-UHDCW2GI.js → chunk-ZMSSS4XY.js} +2 -2
- package/__chunks__/{chunk-IC5Y7E5N.js → chunk-ZOMDIW6A.js} +2 -2
- package/__chunks__/{chunk-A2IXF222.js → chunk-ZPNSZFF2.js} +2 -2
- package/__chunks__/chunk-ZSB5Q3QB.js +2 -0
- package/__chunks__/{chunk-HWDGDPLP.js → chunk-ZU7HQJ2E.js} +2 -2
- package/__chunks__/{chunk-GPNUHVOM.js → chunk-ZUJVT2UK.js} +2 -2
- package/__chunks__/{chunk-BMJLZLZM.js → chunk-ZXXEZGKT.js} +2 -2
- package/__commonjs/UI/DappModal/hooks/index.js +1 -1
- package/__commonjs/UI/DappModal/hooks/useDappModal.js +1 -1
- package/__commonjs/UI/DappModal/index.js +3 -3
- package/__commonjs/UI/ModalContainer/ModalContainer.js +3 -3
- package/__commonjs/UI/ModalContainer/index.js +3 -3
- package/__commonjs/UI/NotificationModal/index.js +4 -4
- package/__commonjs/UI/SignTransactionsModals/SignTransactionsModals.js +22 -22
- package/__commonjs/UI/SignTransactionsModals/SignWithDeviceModal/SignStep.js +5 -5
- package/__commonjs/UI/SignTransactionsModals/SignWithDeviceModal/index.js +7 -7
- package/__commonjs/UI/SignTransactionsModals/SignWithExtensionModal/index.js +5 -5
- package/__commonjs/UI/SignTransactionsModals/SignWithExtraModal/index.js +1 -1
- package/__commonjs/UI/SignTransactionsModals/SignWithLedgerModal/index.js +7 -7
- package/__commonjs/UI/SignTransactionsModals/SignWithOperaModal/index.js +5 -5
- package/__commonjs/UI/SignTransactionsModals/SignWithWalletConnectModal/index.js +5 -5
- package/__commonjs/UI/SignTransactionsModals/components/ConfirmationScreen.js +14 -14
- package/__commonjs/UI/SignTransactionsModals/components/DeviceConfirmationScreen.js +14 -14
- package/__commonjs/UI/SignTransactionsModals/components/TransactionStatusToast.js +5 -5
- package/__commonjs/UI/SignTransactionsModals/components/index.js +14 -14
- package/__commonjs/UI/SignTransactionsModals/index.js +22 -22
- package/__commonjs/UI/TransactionInfo/TransactionInfo.js +42 -42
- package/__commonjs/UI/TransactionInfo/components/DataDecode/DataDecode.js +3 -3
- package/__commonjs/UI/TransactionInfo/components/DataDecode/index.js +3 -3
- package/__commonjs/UI/TransactionInfo/components/NonceMessage/NonceMessage.js +2 -2
- package/__commonjs/UI/TransactionInfo/components/NonceMessage/index.js +2 -2
- package/__commonjs/UI/TransactionInfo/components/index.js +43 -43
- package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoMiniblock/TransactionInfoMiniblock.js +5 -5
- package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoMiniblock/index.js +5 -5
- 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/index.js +39 -39
- package/__commonjs/UI/TransactionInfo/index.js +43 -43
- package/__commonjs/UI/TransactionsTable/TransactionsTable.js +17 -17
- package/__commonjs/UI/TransactionsTable/index.js +17 -17
- package/__commonjs/UI/TransactionsToastList/TransactionsToastList.js +14 -14
- package/__commonjs/UI/TransactionsToastList/components/CustomToast/CustomToast.js +5 -5
- package/__commonjs/UI/TransactionsToastList/components/CustomToast/components/IconToast/IconToast.js +5 -5
- package/__commonjs/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/IconToastFooter.js +5 -5
- package/__commonjs/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/components/TransactionToastFooter.js +8 -8
- package/__commonjs/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/components/index.js +10 -10
- package/__commonjs/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/index.js +5 -5
- package/__commonjs/UI/TransactionsToastList/components/CustomToast/components/IconToast/index.js +5 -5
- package/__commonjs/UI/TransactionsToastList/components/CustomToast/components/index.js +5 -5
- package/__commonjs/UI/TransactionsToastList/components/CustomToast/index.js +5 -5
- package/__commonjs/UI/TransactionsToastList/components/TransactionToast/TransactionToast.js +9 -9
- package/__commonjs/UI/TransactionsToastList/components/TransactionToast/hooks/useTransactionToast.js +2 -2
- package/__commonjs/UI/TransactionsToastList/components/TransactionToast/index.js +9 -9
- package/__commonjs/UI/TransactionsToastList/components/TransactionToastGuard.js +9 -9
- package/__commonjs/UI/TransactionsToastList/components/index.js +14 -14
- package/__commonjs/UI/TransactionsToastList/index.js +14 -14
- package/__commonjs/UI/extension/ExtensionLoginButton/index.js +4 -4
- package/__commonjs/UI/index.js +67 -67
- package/__commonjs/UI/ledger/LedgerLoginButton/index.js +16 -16
- package/__commonjs/UI/ledger/LedgerLoginContainer/AddressRow.js +2 -2
- package/__commonjs/UI/ledger/LedgerLoginContainer/AddressTable.js +7 -7
- package/__commonjs/UI/ledger/LedgerLoginContainer/ConfirmAddress.js +2 -2
- package/__commonjs/UI/ledger/LedgerLoginContainer/index.js +15 -15
- package/__commonjs/UI/ledger/index.js +16 -16
- package/__commonjs/UI/operaWallet/OperaWalletLoginButton/index.js +3 -3
- package/__commonjs/UI/pages/UnlockPage/index.js +19 -19
- package/__commonjs/UI/pages/index.js +19 -19
- package/__commonjs/UI/walletConnect/WalletConnectConnectionStatus/WalletConnectConnectionStatus.js +2 -2
- package/__commonjs/UI/walletConnect/WalletConnectConnectionStatus/index.js +2 -2
- package/__commonjs/UI/walletConnect/WalletConnectLoginButton/index.js +7 -7
- package/__commonjs/UI/walletConnect/WalletConnectLoginContainer/index.js +6 -6
- package/__commonjs/UI/walletConnect/index.js +7 -7
- package/__commonjs/UI/webWallet/WebWalletLoginButton/index.js +3 -3
- package/__commonjs/__mocks__/accountConfig.js +1 -1
- package/__commonjs/__mocks__/index.js +1 -1
- package/__commonjs/__mocks__/utils/index.js +1 -1
- package/__commonjs/__mocks__/utils/renderWithProvider.js +1 -1
- package/__commonjs/apiCalls/configuration/getApiAddressForChainId.js +1 -1
- package/__commonjs/apiCalls/configuration/getEnvironmentForChainId.js +1 -1
- package/__commonjs/apiCalls/configuration/getServerConfigurationForEnvironment.js +1 -1
- package/__commonjs/components/LogoutListener/LogoutListener.js +1 -1
- package/__commonjs/components/LogoutListener/helpers/index.js +1 -1
- package/__commonjs/components/LogoutListener/helpers/useLogoutFromMultipleTabs.js +1 -1
- package/__commonjs/components/LogoutListener/helpers/useNativeAuthLogout.js +1 -1
- package/__commonjs/components/LogoutListener/helpers/useNativeAuthLogoutWarning/index.js +1 -1
- package/__commonjs/components/LogoutListener/helpers/useNativeAuthLogoutWarning/useNativeAuthLogoutWarning.js +1 -1
- package/__commonjs/components/LogoutListener/index.js +1 -1
- package/__commonjs/components/ProviderInitializer.js +1 -1
- package/__commonjs/components/TransactionStatusToast/FailedTransactionStatusToast.js +5 -5
- package/__commonjs/components/TransactionsTracker/TransactionTracker.js +1 -1
- package/__commonjs/components/TransactionsTracker/index.js +1 -1
- package/__commonjs/components/TransactionsTracker/useTransactionsTracker.js +1 -1
- package/__commonjs/constants/network.js +1 -1
- package/__commonjs/hooks/account/useGetAccountProvider.js +1 -1
- package/__commonjs/hooks/index.js +1 -1
- package/__commonjs/hooks/login/index.js +1 -1
- package/__commonjs/hooks/login/useExtensionLogin.js +1 -1
- package/__commonjs/hooks/login/useLedgerLogin.js +1 -1
- package/__commonjs/hooks/login/useLoginService.js +1 -1
- package/__commonjs/hooks/login/useOperaLogin.js +1 -1
- package/__commonjs/hooks/login/useWalletConnectLogin.js +1 -1
- package/__commonjs/hooks/login/useWalletConnectV2Login.js +1 -1
- package/__commonjs/hooks/login/useWebWalletLogin.js +1 -1
- package/__commonjs/hooks/signMessage/index.js +1 -1
- package/__commonjs/hooks/transactions/index.js +1 -1
- package/__commonjs/hooks/transactions/useParseMultiEsdtTransferData.js +1 -1
- package/__commonjs/hooks/transactions/useSignTransactions.js +1 -1
- package/__commonjs/hooks/transactions/useTrackTransactionStatus.js +1 -1
- package/__commonjs/hooks/websocketListener/index.js +1 -1
- package/__commonjs/hooks/websocketListener/useInitializeWebsocketConnection.js +1 -1
- package/__commonjs/hooks/websocketListener/useRegisterWebsocketListener.js +1 -1
- package/__commonjs/providers/accountProvider.js +1 -1
- package/__commonjs/reduxStore/commonActions.js +1 -1
- package/__commonjs/reduxStore/selectors/dappModalsSelectors.js +1 -1
- package/__commonjs/reduxStore/selectors/helpers.js +1 -1
- package/__commonjs/reduxStore/selectors/modalsSelectors.js +1 -1
- package/__commonjs/reduxStore/selectors/networkConfigSelectors.js +1 -1
- package/__commonjs/reduxStore/selectors/signedMessageInfoSelectors.js +1 -1
- package/__commonjs/reduxStore/selectors/toastsSelectors.js +1 -1
- package/__commonjs/reduxStore/slices/accountInfoSlice.js +1 -1
- package/__commonjs/reduxStore/slices/dappModalsSlice.js +1 -1
- package/__commonjs/reduxStore/slices/toastsSlice.js +1 -1
- package/__commonjs/services/index.js +1 -1
- package/__commonjs/services/nativeAuth/helpers/getLatestBlockHash.js +1 -1
- package/__commonjs/services/nativeAuth/helpers/index.js +1 -1
- package/__commonjs/services/nativeAuth/index.js +1 -1
- package/__commonjs/services/nativeAuth/methods/getNativeAuthConfig.js +1 -1
- package/__commonjs/services/nativeAuth/methods/getToken.js +1 -1
- package/__commonjs/services/nativeAuth/methods/index.js +1 -1
- package/__commonjs/services/nativeAuth/nativeAuth.js +1 -1
- package/__commonjs/services/transactions/signTransactions.js +1 -1
- package/__commonjs/types/index.js +1 -1
- package/__commonjs/utils/asyncActions/index.js +1 -1
- package/__commonjs/utils/asyncActions/sleep.js +1 -1
- package/__commonjs/utils/index.js +2 -2
- package/__commonjs/utils/logout.js +1 -1
- package/__commonjs/utils/operations/denominate.js +1 -1
- package/__commonjs/utils/operations/formatAmount.js +1 -1
- package/__commonjs/utils/operations/nominate.js +1 -1
- package/__commonjs/utils/retryMultipleTimes.js +1 -1
- package/__commonjs/utils/transactions/getAreTransactionsOnSameShard.js +1 -1
- package/__commonjs/utils/transactions/getInterpretedTransaction/helpers/getReceiptMessage.js +1 -1
- package/__commonjs/utils/transactions/parseMultiEsdtTransferData.js +1 -1
- package/__commonjs/utils/transactions/transactionInfoHelpers/getScResultsInitialDecodeMethod.js +1 -1
- package/__commonjs/utils/transactions/transactionInfoHelpers/getTransactionActionNftText.js +1 -1
- package/__commonjs/utils/transactions/transactionInfoHelpers/useDataDecode.js +5 -5
- package/__commonjs/utils/transactions/transactionInfoHelpers/useDataDecodeMethod.js +1 -1
- package/__commonjs/wrappers/AppInitializer.js +1 -1
- package/__commonjs/wrappers/AxiosInterceptorContext/components/AxiosInterceptor.js +1 -1
- package/__commonjs/wrappers/AxiosInterceptorContext/components/LoginInfoListener.js +1 -1
- package/__commonjs/wrappers/DappProvider/CustomComponents.js +1 -1
- package/__commonjs/wrappers/DappProvider/index.js +1 -1
- package/__commonjs/wrappers/index.js +1 -1
- package/__mocks__/accountConfig.js +1 -1
- package/__mocks__/index.js +1 -1
- package/__mocks__/server.js +1 -1
- package/__mocks__/utils/index.js +1 -1
- package/__mocks__/utils/renderWithProvider.js +1 -1
- package/apiCalls/accounts/getAccountFromApi.js +1 -1
- package/apiCalls/accounts/index.js +1 -1
- package/apiCalls/configuration/getApiAddressForChainId.js +1 -1
- package/apiCalls/configuration/getEnvironmentForChainId.js +1 -1
- package/apiCalls/configuration/getNetworkConfig.js +1 -1
- package/apiCalls/configuration/getServerConfigurationForEnvironment.js +1 -1
- package/apiCalls/configuration/index.js +1 -1
- package/apiCalls/getScamAddressData.js +1 -1
- package/apiCalls/index.js +1 -1
- package/apiCalls/transactions/getTransactionsByHashes.js +1 -1
- package/apiCalls/transactions/index.js +1 -1
- package/apiCalls/transactions/sendSignedTransactions.js +1 -1
- package/apiCalls/utils/getCleanApiAddress.js +1 -1
- package/apiCalls/utils/index.js +1 -1
- package/components/LogoutListener/LogoutListener.js +1 -1
- package/components/LogoutListener/helpers/index.js +1 -1
- package/components/LogoutListener/helpers/useLogoutFromMultipleTabs.js +1 -1
- package/components/LogoutListener/helpers/useNativeAuthLogout.js +1 -1
- package/components/LogoutListener/helpers/useNativeAuthLogoutWarning/index.js +1 -1
- package/components/LogoutListener/helpers/useNativeAuthLogoutWarning/useNativeAuthLogoutWarning.js +1 -1
- package/components/LogoutListener/index.js +1 -1
- package/components/ProviderInitializer.js +1 -1
- package/components/TransactionSender/TransactionSender.js +1 -1
- package/components/TransactionSender/index.js +1 -1
- package/components/TransactionStatusToast/FailedTransactionStatusToast.js +1 -1
- package/components/TransactionsTracker/TransactionTracker.js +1 -1
- package/components/TransactionsTracker/index.js +1 -1
- package/components/TransactionsTracker/useTransactionsTracker.js +1 -1
- package/constants/index.js +1 -1
- package/constants/network.js +1 -1
- package/hooks/account/index.js +1 -1
- package/hooks/account/useGetAccount.js +1 -1
- package/hooks/account/useGetAccountInfo.js +1 -1
- package/hooks/account/useGetAccountProvider.js +1 -1
- package/hooks/account/useGetIsLoggedIn.js +1 -1
- package/hooks/account/useGetLoginInfo.js +1 -1
- package/hooks/account/useGetWebsocketEvent.js +1 -1
- package/hooks/index.js +1 -1
- package/hooks/login/index.js +1 -1
- package/hooks/login/useExtensionLogin.js +1 -1
- package/hooks/login/useLedgerLogin.js +1 -1
- package/hooks/login/useLoginService.js +1 -1
- package/hooks/login/useOperaLogin.js +1 -1
- package/hooks/login/useWalletConnectLogin.js +1 -1
- package/hooks/login/useWalletConnectV2Login.js +1 -1
- package/hooks/login/useWebViewLogin.js +1 -1
- package/hooks/login/useWebWalletLogin.js +1 -1
- package/hooks/signMessage/index.js +1 -1
- package/hooks/signMessage/useGetLastSignedMessageSession.js +1 -1
- package/hooks/signMessage/useGetSignMessageSession.js +1 -1
- package/hooks/signMessage/useGetSignedMessageStatus.js +1 -1
- package/hooks/signMessage/useSignMessage.js +1 -1
- package/hooks/transactions/helpers/getShouldMoveTransactionsToSignedState.js +1 -1
- package/hooks/transactions/helpers/index.js +1 -1
- package/hooks/transactions/helpers/useClearTransactionsToSignWithWarning.js +1 -1
- package/hooks/transactions/helpers/useSetTransactionNonces.js +1 -1
- package/hooks/transactions/index.js +1 -1
- package/hooks/transactions/useCancelWalletConnectAction.js +1 -1
- package/hooks/transactions/useCheckTransactionStatus/checkBatch.js +1 -1
- package/hooks/transactions/useCheckTransactionStatus/index.js +1 -1
- package/hooks/transactions/useCheckTransactionStatus/manageFailedTransactions.js +1 -1
- package/hooks/transactions/useCheckTransactionStatus/manageTimedOutTransactions.js +1 -1
- package/hooks/transactions/useCheckTransactionStatus/useCheckTransactionStatus.js +1 -1
- package/hooks/transactions/useGetActiveTransactionsStatus.js +1 -1
- package/hooks/transactions/useGetFailedTransactions.js +1 -1
- package/hooks/transactions/useGetPendingTransactions.js +1 -1
- package/hooks/transactions/useGetSignTransactionsError.js +1 -1
- package/hooks/transactions/useGetSignedTransactions.js +1 -1
- package/hooks/transactions/useGetSuccessfulTransactions.js +1 -1
- package/hooks/transactions/useGetTokenDetails.js +1 -1
- package/hooks/transactions/useGetTransactionDisplayInfo.js +1 -1
- package/hooks/transactions/useParseMultiEsdtTransferData.js +1 -1
- package/hooks/transactions/useParseSignedTransactions.js +1 -1
- package/hooks/transactions/useSignMultipleTransactions.js +1 -1
- package/hooks/transactions/useSignTransactions.js +1 -1
- package/hooks/transactions/useSignTransactionsCommonData.js +1 -1
- package/hooks/transactions/useSignTransactionsWithDevice.js +1 -1
- package/hooks/transactions/useSignTransactionsWithLedger.js +1 -1
- package/hooks/transactions/useTrackTransactionStatus.js +1 -1
- package/hooks/useGetNetworkConfig.js +1 -1
- package/hooks/useGetNotification.js +1 -1
- package/hooks/userInterface/index.js +1 -1
- package/hooks/userInterface/useIsDappModalVisible.js +1 -1
- package/hooks/websocketListener/index.js +1 -1
- package/hooks/websocketListener/useInitializeWebsocketConnection.js +1 -1
- package/hooks/websocketListener/useRegisterWebsocketListener.js +1 -1
- package/models/index.js +1 -1
- package/models/newTransaction.js +1 -1
- package/package.json +1 -1
- package/providers/accountProvider.js +1 -1
- package/providers/index.js +1 -1
- package/providers/utils.js +1 -1
- package/providers/webviewProvider/index.js +1 -1
- package/providers/webviewProvider/requestMethods.js +1 -1
- package/providers/webviewProvider/webviewProvider.js +1 -1
- package/reduxStore/DappProviderContext.js +1 -1
- package/reduxStore/commonActions.js +1 -1
- package/reduxStore/middlewares/loginSessionMiddleware.js +1 -1
- package/reduxStore/persistConfig.js +1 -1
- package/reduxStore/persistedRootReducer.js +1 -1
- package/reduxStore/reducers.js +1 -1
- package/reduxStore/rootReducer.js +1 -1
- package/reduxStore/selectors/accountInfoSelectors.js +1 -1
- package/reduxStore/selectors/dappModalsSelectors.js +1 -1
- package/reduxStore/selectors/helpers.js +1 -1
- package/reduxStore/selectors/index.js +1 -1
- package/reduxStore/selectors/loginInfoSelectors.js +1 -1
- package/reduxStore/selectors/modalsSelectors.js +1 -1
- package/reduxStore/selectors/networkConfigSelectors.js +1 -1
- package/reduxStore/selectors/signedMessageInfoSelectors.js +1 -1
- package/reduxStore/selectors/toastsSelectors.js +1 -1
- package/reduxStore/selectors/transactionsInfoSelectors.js +1 -1
- package/reduxStore/selectors/transactionsSelectors.js +1 -1
- package/reduxStore/slices/accountInfoSlice.js +1 -1
- package/reduxStore/slices/dappModalsSlice.js +1 -1
- package/reduxStore/slices/index.js +1 -1
- package/reduxStore/slices/loginInfoSlice.js +1 -1
- package/reduxStore/slices/modalsSlice.js +1 -1
- package/reduxStore/slices/signedMessageInfoSlice.js +1 -1
- package/reduxStore/slices/toastsSlice.js +1 -1
- package/reduxStore/slices/transactionsInfoSlice.js +1 -1
- package/reduxStore/slices/transactionsSlice.js +1 -1
- package/reduxStore/store.js +1 -1
- package/services/index.js +1 -1
- package/services/nativeAuth/helpers/getLatestBlockHash.d.ts +1 -1
- package/services/nativeAuth/helpers/getLatestBlockHash.js +1 -1
- package/services/nativeAuth/helpers/index.js +1 -1
- package/services/nativeAuth/helpers/loginWithNativeAuthToken.js +1 -1
- package/services/nativeAuth/index.js +1 -1
- package/services/nativeAuth/methods/getNativeAuthConfig.js +1 -1
- package/services/nativeAuth/methods/getToken.js +1 -1
- package/services/nativeAuth/methods/index.js +1 -1
- package/services/nativeAuth/nativeAuth.js +1 -1
- package/services/transactions/clearTransactions.js +1 -1
- package/services/transactions/index.js +1 -1
- package/services/transactions/isCrossShardTransaction.js +1 -1
- package/services/transactions/sendTransactions.js +1 -1
- package/services/transactions/signTransactions.js +1 -1
- package/services/transactions/transformAndSignTransactions.js +1 -1
- package/services/transactions/utils.js +1 -1
- package/types/index.js +1 -1
- package/types/login.types.d.ts +1 -0
- package/types/login.types.js +1 -1
- package/utils/account/getAccount.js +1 -1
- package/utils/account/getAccountBalance.js +1 -1
- package/utils/account/getAccountProviderType.js +1 -1
- package/utils/account/getAccountShard.js +1 -1
- package/utils/account/getAddress.js +1 -1
- package/utils/account/getIsProviderEqualTo.js +1 -1
- package/utils/account/getLatestNonce.js +1 -1
- package/utils/account/getShardOfAddress.js +1 -1
- package/utils/account/index.js +1 -1
- package/utils/account/loginWithExternalProvider.js +1 -1
- package/utils/account/refreshAccount.js +1 -1
- package/utils/account/setNonce.js +1 -1
- package/utils/account/signMessage.js +1 -1
- package/utils/asyncActions/index.js +1 -1
- package/utils/asyncActions/sleep.js +1 -1
- package/utils/getIsLoggedIn.js +1 -1
- package/utils/index.js +1 -1
- package/utils/logout.js +1 -1
- package/utils/network/getChainID.js +1 -1
- package/utils/network/getEgldLabel.js +1 -1
- package/utils/network/getNetworkConfig.js +1 -1
- package/utils/network/index.js +1 -1
- package/utils/operations/calculateFeeLimit.js +1 -1
- package/utils/operations/denominate.js +1 -1
- package/utils/operations/formatAmount.js +1 -1
- package/utils/operations/index.js +1 -1
- package/utils/operations/nominate.js +1 -1
- package/utils/operations/parseAmount.js +1 -1
- package/utils/retryMultipleTimes.js +1 -1
- package/utils/smartContracts.js +1 -1
- package/utils/toasts/customToastsActions.js +1 -1
- package/utils/toasts/index.js +1 -1
- package/utils/transactions/getAllTransactionsLink.js +1 -1
- package/utils/transactions/getAreTransactionsOnSameShard.js +1 -1
- package/utils/transactions/getInterpretedTransaction/getInterpretedTransaction.js +1 -1
- package/utils/transactions/getInterpretedTransaction/helpers/getReceiptMessage.js +1 -1
- package/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/getTransactionValue.js +1 -1
- package/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/helpers/getEgldValueData.js +1 -1
- package/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/helpers/getTitleText.js +1 -1
- package/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/helpers/getValueFromActions.js +1 -1
- package/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/helpers/getValueFromDataField.js +1 -1
- package/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/helpers/getValueFromOperations.js +1 -1
- package/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/helpers/index.js +1 -1
- package/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/index.js +1 -1
- package/utils/transactions/getInterpretedTransaction/helpers/index.js +1 -1
- package/utils/transactions/getInterpretedTransaction/index.js +1 -1
- package/utils/transactions/getTransactionLink.js +1 -1
- package/utils/transactions/index.js +1 -1
- package/utils/transactions/parseMultiEsdtTransferData.js +1 -1
- package/utils/transactions/parseTransactionAfterSigning.js +1 -1
- package/utils/transactions/transactionInfoHelpers/getScResultsInitialDecodeMethod.js +1 -1
- package/utils/transactions/transactionInfoHelpers/getShardText.js +1 -1
- package/utils/transactions/transactionInfoHelpers/getTransactionActionNftText.js +1 -1
- package/utils/transactions/transactionInfoHelpers/getTransactionActionTokenText.js +1 -1
- package/utils/transactions/transactionInfoHelpers/getTransactionLinkWithLabel.js +1 -1
- package/utils/transactions/transactionInfoHelpers/getTransactionMessages.js +1 -1
- package/utils/transactions/transactionInfoHelpers/index.js +1 -1
- package/utils/transactions/transactionInfoHelpers/transactionActionUnwrapper/helpers/index.js +1 -1
- package/utils/transactions/transactionInfoHelpers/transactionActionUnwrapper/helpers/mexUnwrapper.js +1 -1
- package/utils/transactions/transactionInfoHelpers/transactionActionUnwrapper/index.js +1 -1
- package/utils/transactions/transactionInfoHelpers/transactionActionUnwrapper/transactionActionUnwrapper.js +1 -1
- package/utils/transactions/transactionInfoHelpers/useDataDecode.js +1 -1
- package/utils/transactions/transactionInfoHelpers/useDataDecodeMethod.js +1 -1
- package/utils/validation/index.js +1 -1
- package/utils/validation/maxDecimals.js +1 -1
- package/utils/validation/stringIsFloat.js +1 -1
- package/web/hooks/index.js +1 -1
- package/web/hooks/useIdleTimer.js +1 -1
- package/web/index.js +1 -1
- package/wrappers/AppInitializer.js +1 -1
- package/wrappers/AuthenticatedRoutesWrapper/index.js +1 -1
- package/wrappers/AxiosInterceptorContext/AxiosInterceptorContext.js +1 -1
- package/wrappers/AxiosInterceptorContext/components/AxiosInterceptor.js +1 -1
- package/wrappers/AxiosInterceptorContext/components/AxiosInterceptorContextProvider.js +1 -1
- package/wrappers/AxiosInterceptorContext/components/LoginInfoListener.js +1 -1
- package/wrappers/AxiosInterceptorContext/components/index.js +1 -1
- package/wrappers/AxiosInterceptorContext/index.js +1 -1
- package/wrappers/DappProvider/CustomComponents.js +1 -1
- package/wrappers/DappProvider/index.js +1 -1
- package/wrappers/index.js +1 -1
- package/__chunks__/chunk-3EYFCRQJ.js +0 -2
- package/__chunks__/chunk-3F3J26IL.js +0 -2
- package/__chunks__/chunk-3LTTE7Z4.js +0 -2
- package/__chunks__/chunk-3XYPMC5Z.js +0 -2
- package/__chunks__/chunk-3YOLWVYN.js +0 -2
- package/__chunks__/chunk-42BPBN4G.js +0 -2
- package/__chunks__/chunk-573MD3HA.js +0 -2
- package/__chunks__/chunk-7CRYWUS6.js +0 -2
- package/__chunks__/chunk-7NADEOVW.js +0 -2
- package/__chunks__/chunk-7ZZWUK5N.js +0 -2
- package/__chunks__/chunk-AJVN5NMC.js +0 -2
- package/__chunks__/chunk-BQOSJ42S.js +0 -2
- package/__chunks__/chunk-BQY4YEPO.js +0 -2
- package/__chunks__/chunk-CKRLCHHT.js +0 -2
- package/__chunks__/chunk-CX7JJAI7.js +0 -2
- package/__chunks__/chunk-D3DU3GYZ.js +0 -2
- package/__chunks__/chunk-FAPWAQOI.js +0 -2
- package/__chunks__/chunk-FLNAHHFO.js +0 -2
- package/__chunks__/chunk-G4FTNX3C.js +0 -2
- package/__chunks__/chunk-GNJAE3HJ.js +0 -2
- package/__chunks__/chunk-GQMTJB4L.js +0 -2
- package/__chunks__/chunk-JAEDB3IA.js +0 -2
- package/__chunks__/chunk-KCCZWHLF.js +0 -2
- package/__chunks__/chunk-KQCX4VG2.js +0 -2
- package/__chunks__/chunk-KQF4EULM.js +0 -2
- package/__chunks__/chunk-LG6WIZHT.js +0 -2
- package/__chunks__/chunk-LM64ZHBF.js +0 -2
- package/__chunks__/chunk-MAPKARLD.js +0 -2
- package/__chunks__/chunk-N7H3FMAE.js +0 -2
- package/__chunks__/chunk-NJVX7KSK.js +0 -2
- package/__chunks__/chunk-P2E3TG5U.js +0 -2
- package/__chunks__/chunk-PURPYWQM.js +0 -2
- package/__chunks__/chunk-RBHVYE2Y.js +0 -2
- package/__chunks__/chunk-RGJUSITX.js +0 -2
- package/__chunks__/chunk-RQ5KJRJY.js +0 -2
- package/__chunks__/chunk-S6DXOR2S.js +0 -2
- package/__chunks__/chunk-SCCXHHWP.js +0 -2
- package/__chunks__/chunk-SPNCRNER.js +0 -2
- package/__chunks__/chunk-T6SOZMFL.js +0 -2
- package/__chunks__/chunk-TTS3WFEE.js +0 -2
- package/__chunks__/chunk-UC3M6BHM.js +0 -2
- package/__chunks__/chunk-WALAONSP.js +0 -2
- package/__chunks__/chunk-XCBMXPY5.js +0 -2
- package/__chunks__/chunk-Y3CLO3PP.js +0 -2
- package/__chunks__/chunk-YA6SZOY2.js +0 -2
- package/__chunks__/chunk-YBGCB57C.js +0 -2
- package/__chunks__/chunk-Z4BLO2TH.js +0 -2
- package/__chunks__/chunk-Z6WGQSRM.js +0 -2
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
"use strict";var Ke=Object.create;var W=Object.defineProperty;var Qe=Object.getOwnPropertyDescriptor;var Ze=Object.getOwnPropertyNames;var $e=Object.getPrototypeOf,Je=Object.prototype.hasOwnProperty;var er=(t,e)=>()=>(t&&(e=t(t=0)),e);var q=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),rr=(t,e)=>{for(var r in e)W(t,r,{get:e[r],enumerable:!0})},pe=(t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of Ze(e))!Je.call(t,i)&&i!==r&&W(t,i,{get:()=>e[i],enumerable:!(n=Qe(e,i))||n.enumerable});return t};var V=(t,e,r)=>(r=t!=null?Ke($e(t)):{},pe(e||!t||!t.__esModule?W(r,"default",{value:t,enumerable:!0}):r,t)),tr=t=>pe(W({},"__esModule",{value:!0}),t);var me=q(H=>{"use strict";c();H.byteLength=ir;H.toByteArray=ar;H.fromByteArray=lr;var v=[],b=[],nr=typeof Uint8Array!="undefined"?Uint8Array:Array,Z="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(C=0,ue=Z.length;C<ue;++C)v[C]=Z[C],b[Z.charCodeAt(C)]=C;var C,ue;b["-".charCodeAt(0)]=62;b["_".charCodeAt(0)]=63;function de(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 ir(t){var e=de(t),r=e[0],n=e[1];return(r+n)*3/4-n}function or(t,e,r){return(e+r)*3/4-r}function ar(t){var e,r=de(t),n=r[0],i=r[1],o=new nr(or(t,n,i)),a=0,l=i>0?n-4:n,p;for(p=0;p<l;p+=4)e=b[t.charCodeAt(p)]<<18|b[t.charCodeAt(p+1)]<<12|b[t.charCodeAt(p+2)]<<6|b[t.charCodeAt(p+3)],o[a++]=e>>16&255,o[a++]=e>>8&255,o[a++]=e&255;return i===2&&(e=b[t.charCodeAt(p)]<<2|b[t.charCodeAt(p+1)]>>4,o[a++]=e&255),i===1&&(e=b[t.charCodeAt(p)]<<10|b[t.charCodeAt(p+1)]<<4|b[t.charCodeAt(p+2)]>>2,o[a++]=e>>8&255,o[a++]=e&255),o}function sr(t){return v[t>>18&63]+v[t>>12&63]+v[t>>6&63]+v[t&63]}function cr(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(sr(n));return i.join("")}function lr(t){for(var e,r=t.length,n=r%3,i=[],o=16383,a=0,l=r-n;a<l;a+=o)i.push(cr(t,a,a+o>l?l:a+o));return n===1?(e=t[r-1],i.push(v[e>>2]+v[e<<4&63]+"==")):n===2&&(e=(t[r-2]<<8)+t[r-1],i.push(v[e>>10]+v[e>>4&63]+v[e<<2&63]+"=")),i.join("")}});var ge=q($=>{c();$.read=function(t,e,r,n,i){var o,a,l=i*8-n-1,p=(1<<l)-1,u=p>>1,g=-7,d=r?i-1:0,T=r?-1:1,_=t[e+d];for(d+=T,o=_&(1<<-g)-1,_>>=-g,g+=l;g>0;o=o*256+t[e+d],d+=T,g-=8);for(a=o&(1<<-g)-1,o>>=-g,g+=n;g>0;a=a*256+t[e+d],d+=T,g-=8);if(o===0)o=1-u;else{if(o===p)return a?NaN:(_?-1:1)*(1/0);a=a+Math.pow(2,n),o=o-u}return(_?-1:1)*a*Math.pow(2,o-n)};$.write=function(t,e,r,n,i,o){var a,l,p,u=o*8-i-1,g=(1<<u)-1,d=g>>1,T=i===23?Math.pow(2,-24)-Math.pow(2,-77):0,_=n?0:o-1,O=n?1:-1,Xe=e<0||e===0&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(l=isNaN(e)?1:0,a=g):(a=Math.floor(Math.log(e)/Math.LN2),e*(p=Math.pow(2,-a))<1&&(a--,p*=2),a+d>=1?e+=T/p:e+=T*Math.pow(2,1-d),e*p>=2&&(a++,p/=2),a+d>=g?(l=0,a=g):a+d>=1?(l=(e*p-1)*Math.pow(2,i),a=a+d):(l=e*Math.pow(2,d-1)*Math.pow(2,i),a=0));i>=8;t[r+_]=l&255,_+=O,l/=256,i-=8);for(a=a<<i|l,u+=i;u>0;t[r+_]=a&255,_+=O,a/=256,u-=8);t[r+_-O]|=Xe*128}});var Ae=q(G=>{"use strict";c();var J=me(),M=ge(),fe=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;G.Buffer=s;G.SlowBuffer=fr;G.INSPECT_MAX_BYTES=50;var j=2147483647;G.kMaxLength=j;s.TYPED_ARRAY_SUPPORT=pr();!s.TYPED_ARRAY_SUPPORT&&typeof console!="undefined"&&typeof console.error=="function"&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function pr(){try{var t=new Uint8Array(1),e={foo:function(){return 42}};return Object.setPrototypeOf(e,Uint8Array.prototype),Object.setPrototypeOf(t,e),t.foo()===42}catch(r){return!1}}Object.defineProperty(s.prototype,"parent",{enumerable:!0,get:function(){if(!!s.isBuffer(this))return this.buffer}});Object.defineProperty(s.prototype,"offset",{enumerable:!0,get:function(){if(!!s.isBuffer(this))return this.byteOffset}});function R(t){if(t>j)throw new RangeError('The value "'+t+'" is invalid for option "size"');var e=new Uint8Array(t);return Object.setPrototypeOf(e,s.prototype),e}function s(t,e,r){if(typeof t=="number"){if(typeof e=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return ne(t)}return xe(t,e,r)}s.poolSize=8192;function xe(t,e,r){if(typeof t=="string")return dr(t,e);if(ArrayBuffer.isView(t))return mr(t);if(t==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t);if(k(t,ArrayBuffer)||t&&k(t.buffer,ArrayBuffer)||typeof SharedArrayBuffer!="undefined"&&(k(t,SharedArrayBuffer)||t&&k(t.buffer,SharedArrayBuffer)))return re(t,e,r);if(typeof t=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var n=t.valueOf&&t.valueOf();if(n!=null&&n!==t)return s.from(n,e,r);var i=gr(t);if(i)return i;if(typeof Symbol!="undefined"&&Symbol.toPrimitive!=null&&typeof t[Symbol.toPrimitive]=="function")return s.from(t[Symbol.toPrimitive]("string"),e,r);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t)}s.from=function(t,e,r){return xe(t,e,r)};Object.setPrototypeOf(s.prototype,Uint8Array.prototype);Object.setPrototypeOf(s,Uint8Array);function we(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 ur(t,e,r){return we(t),t<=0?R(t):e!==void 0?typeof r=="string"?R(t).fill(e,r):R(t).fill(e):R(t)}s.alloc=function(t,e,r){return ur(t,e,r)};function ne(t){return we(t),R(t<0?0:ie(t)|0)}s.allocUnsafe=function(t){return ne(t)};s.allocUnsafeSlow=function(t){return ne(t)};function dr(t,e){if((typeof e!="string"||e==="")&&(e="utf8"),!s.isEncoding(e))throw new TypeError("Unknown encoding: "+e);var r=_e(t,e)|0,n=R(r),i=n.write(t,e);return i!==r&&(n=n.slice(0,i)),n}function ee(t){for(var e=t.length<0?0:ie(t.length)|0,r=R(e),n=0;n<e;n+=1)r[n]=t[n]&255;return r}function mr(t){if(k(t,Uint8Array)){var e=new Uint8Array(t);return re(e.buffer,e.byteOffset,e.byteLength)}return ee(t)}function re(t,e,r){if(e<0||t.byteLength<e)throw new RangeError('"offset" is outside of buffer bounds');if(t.byteLength<e+(r||0))throw new RangeError('"length" is outside of buffer bounds');var n;return e===void 0&&r===void 0?n=new Uint8Array(t):r===void 0?n=new Uint8Array(t,e):n=new Uint8Array(t,e,r),Object.setPrototypeOf(n,s.prototype),n}function gr(t){if(s.isBuffer(t)){var e=ie(t.length)|0,r=R(e);return r.length===0||t.copy(r,0,0,e),r}if(t.length!==void 0)return typeof t.length!="number"||oe(t.length)?R(0):ee(t);if(t.type==="Buffer"&&Array.isArray(t.data))return ee(t.data)}function ie(t){if(t>=j)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+j.toString(16)+" bytes");return t|0}function fr(t){return+t!=t&&(t=0),s.alloc(+t)}s.isBuffer=function(e){return e!=null&&e._isBuffer===!0&&e!==s.prototype};s.compare=function(e,r){if(k(e,Uint8Array)&&(e=s.from(e,e.offset,e.byteLength)),k(r,Uint8Array)&&(r=s.from(r,r.offset,r.byteLength)),!s.isBuffer(e)||!s.isBuffer(r))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(e===r)return 0;for(var n=e.length,i=r.length,o=0,a=Math.min(n,i);o<a;++o)if(e[o]!==r[o]){n=e[o],i=r[o];break}return n<i?-1:i<n?1:0};s.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}};s.concat=function(e,r){if(!Array.isArray(e))throw new TypeError('"list" argument must be an Array of Buffers');if(e.length===0)return s.alloc(0);var n;if(r===void 0)for(r=0,n=0;n<e.length;++n)r+=e[n].length;var i=s.allocUnsafe(r),o=0;for(n=0;n<e.length;++n){var a=e[n];if(k(a,Uint8Array))o+a.length>i.length?s.from(a).copy(i,o):Uint8Array.prototype.set.call(i,a,o);else if(s.isBuffer(a))a.copy(i,o);else throw new TypeError('"list" argument must be an Array of Buffers');o+=a.length}return i};function _e(t,e){if(s.isBuffer(t))return t.length;if(ArrayBuffer.isView(t)||k(t,ArrayBuffer))return t.byteLength;if(typeof t!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof t);var r=t.length,n=arguments.length>2&&arguments[2]===!0;if(!n&&r===0)return 0;for(var i=!1;;)switch(e){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":return te(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return r*2;case"hex":return r>>>1;case"base64":return Ie(t).length;default:if(i)return n?-1:te(t).length;e=(""+e).toLowerCase(),i=!0}}s.byteLength=_e;function hr(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 Ir(this,e,r);case"utf8":case"utf-8":return Te(this,e,r);case"ascii":return kr(this,e,r);case"latin1":case"binary":return Er(this,e,r);case"base64":return Tr(this,e,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Ar(this,e,r);default:if(n)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),n=!0}}s.prototype._isBuffer=!0;function B(t,e,r){var n=t[e];t[e]=t[r],t[r]=n}s.prototype.swap16=function(){var e=this.length;if(e%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var r=0;r<e;r+=2)B(this,r,r+1);return this};s.prototype.swap32=function(){var e=this.length;if(e%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var r=0;r<e;r+=4)B(this,r,r+3),B(this,r+1,r+2);return this};s.prototype.swap64=function(){var e=this.length;if(e%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var r=0;r<e;r+=8)B(this,r,r+7),B(this,r+1,r+6),B(this,r+2,r+5),B(this,r+3,r+4);return this};s.prototype.toString=function(){var e=this.length;return e===0?"":arguments.length===0?Te(this,0,e):hr.apply(this,arguments)};s.prototype.toLocaleString=s.prototype.toString;s.prototype.equals=function(e){if(!s.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e?!0:s.compare(this,e)===0};s.prototype.inspect=function(){var e="",r=G.INSPECT_MAX_BYTES;return e=this.toString("hex",0,r).replace(/(.{2})/g,"$1 ").trim(),this.length>r&&(e+=" ... "),"<Buffer "+e+">"};fe&&(s.prototype[fe]=s.prototype.inspect);s.prototype.compare=function(e,r,n,i,o){if(k(e,Uint8Array)&&(e=s.from(e,e.offset,e.byteLength)),!s.isBuffer(e))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof e);if(r===void 0&&(r=0),n===void 0&&(n=e?e.length:0),i===void 0&&(i=0),o===void 0&&(o=this.length),r<0||n>e.length||i<0||o>this.length)throw new RangeError("out of range index");if(i>=o&&r>=n)return 0;if(i>=o)return-1;if(r>=n)return 1;if(r>>>=0,n>>>=0,i>>>=0,o>>>=0,this===e)return 0;for(var a=o-i,l=n-r,p=Math.min(a,l),u=this.slice(i,o),g=e.slice(r,n),d=0;d<p;++d)if(u[d]!==g[d]){a=u[d],l=g[d];break}return a<l?-1:l<a?1:0};function be(t,e,r,n,i){if(t.length===0)return-1;if(typeof r=="string"?(n=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),r=+r,oe(r)&&(r=i?0:t.length-1),r<0&&(r=t.length+r),r>=t.length){if(i)return-1;r=t.length-1}else if(r<0)if(i)r=0;else return-1;if(typeof e=="string"&&(e=s.from(e,n)),s.isBuffer(e))return e.length===0?-1:he(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):he(t,[e],r,n,i);throw new TypeError("val must be string, number or Buffer")}function he(t,e,r,n,i){var o=1,a=t.length,l=e.length;if(n!==void 0&&(n=String(n).toLowerCase(),n==="ucs2"||n==="ucs-2"||n==="utf16le"||n==="utf-16le")){if(t.length<2||e.length<2)return-1;o=2,a/=2,l/=2,r/=2}function p(_,O){return o===1?_[O]:_.readUInt16BE(O*o)}var u;if(i){var g=-1;for(u=r;u<a;u++)if(p(t,u)===p(e,g===-1?0:u-g)){if(g===-1&&(g=u),u-g+1===l)return g*o}else g!==-1&&(u-=u-g),g=-1}else for(r+l>a&&(r=a-l),u=r;u>=0;u--){for(var d=!0,T=0;T<l;T++)if(p(t,u+T)!==p(e,T)){d=!1;break}if(d)return u}return-1}s.prototype.includes=function(e,r,n){return this.indexOf(e,r,n)!==-1};s.prototype.indexOf=function(e,r,n){return be(this,e,r,n,!0)};s.prototype.lastIndexOf=function(e,r,n){return be(this,e,r,n,!1)};function yr(t,e,r,n){r=Number(r)||0;var i=t.length-r;n?(n=Number(n),n>i&&(n=i)):n=i;var o=e.length;n>o/2&&(n=o/2);for(var a=0;a<n;++a){var l=parseInt(e.substr(a*2,2),16);if(oe(l))return a;t[r+a]=l}return a}function xr(t,e,r,n){return Y(te(e,t.length-r),t,r,n)}function wr(t,e,r,n){return Y(Lr(e),t,r,n)}function _r(t,e,r,n){return Y(Ie(e),t,r,n)}function br(t,e,r,n){return Y(Dr(e,t.length-r),t,r,n)}s.prototype.write=function(e,r,n,i){if(r===void 0)i="utf8",n=this.length,r=0;else if(n===void 0&&typeof r=="string")i=r,n=this.length,r=0;else if(isFinite(r))r=r>>>0,isFinite(n)?(n=n>>>0,i===void 0&&(i="utf8")):(i=n,n=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var o=this.length-r;if((n===void 0||n>o)&&(n=o),e.length>0&&(n<0||r<0)||r>this.length)throw new RangeError("Attempt to write outside buffer bounds");i||(i="utf8");for(var a=!1;;)switch(i){case"hex":return yr(this,e,r,n);case"utf8":case"utf-8":return xr(this,e,r,n);case"ascii":case"latin1":case"binary":return wr(this,e,r,n);case"base64":return _r(this,e,r,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return br(this,e,r,n);default:if(a)throw new TypeError("Unknown encoding: "+i);i=(""+i).toLowerCase(),a=!0}};s.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function Tr(t,e,r){return e===0&&r===t.length?J.fromByteArray(t):J.fromByteArray(t.slice(e,r))}function Te(t,e,r){r=Math.min(t.length,r);for(var n=[],i=e;i<r;){var o=t[i],a=null,l=o>239?4:o>223?3:o>191?2:1;if(i+l<=r){var p,u,g,d;switch(l){case 1:o<128&&(a=o);break;case 2:p=t[i+1],(p&192)===128&&(d=(o&31)<<6|p&63,d>127&&(a=d));break;case 3:p=t[i+1],u=t[i+2],(p&192)===128&&(u&192)===128&&(d=(o&15)<<12|(p&63)<<6|u&63,d>2047&&(d<55296||d>57343)&&(a=d));break;case 4:p=t[i+1],u=t[i+2],g=t[i+3],(p&192)===128&&(u&192)===128&&(g&192)===128&&(d=(o&15)<<18|(p&63)<<12|(u&63)<<6|g&63,d>65535&&d<1114112&&(a=d))}}a===null?(a=65533,l=1):a>65535&&(a-=65536,n.push(a>>>10&1023|55296),a=56320|a&1023),n.push(a),i+=l}return vr(n)}var ye=4096;function vr(t){var e=t.length;if(e<=ye)return String.fromCharCode.apply(String,t);for(var r="",n=0;n<e;)r+=String.fromCharCode.apply(String,t.slice(n,n+=ye));return r}function kr(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 Er(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 Ir(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+=Nr[t[o]];return i}function Ar(t,e,r){for(var n=t.slice(e,r),i="",o=0;o<n.length-1;o+=2)i+=String.fromCharCode(n[o]+n[o+1]*256);return i}s.prototype.slice=function(e,r){var n=this.length;e=~~e,r=r===void 0?n:~~r,e<0?(e+=n,e<0&&(e=0)):e>n&&(e=n),r<0?(r+=n,r<0&&(r=0)):r>n&&(r=n),r<e&&(r=e);var i=this.subarray(e,r);return Object.setPrototypeOf(i,s.prototype),i};function x(t,e,r){if(t%1!==0||t<0)throw new RangeError("offset is not uint");if(t+e>r)throw new RangeError("Trying to access beyond buffer length")}s.prototype.readUintLE=s.prototype.readUIntLE=function(e,r,n){e=e>>>0,r=r>>>0,n||x(e,r,this.length);for(var i=this[e],o=1,a=0;++a<r&&(o*=256);)i+=this[e+a]*o;return i};s.prototype.readUintBE=s.prototype.readUIntBE=function(e,r,n){e=e>>>0,r=r>>>0,n||x(e,r,this.length);for(var i=this[e+--r],o=1;r>0&&(o*=256);)i+=this[e+--r]*o;return i};s.prototype.readUint8=s.prototype.readUInt8=function(e,r){return e=e>>>0,r||x(e,1,this.length),this[e]};s.prototype.readUint16LE=s.prototype.readUInt16LE=function(e,r){return e=e>>>0,r||x(e,2,this.length),this[e]|this[e+1]<<8};s.prototype.readUint16BE=s.prototype.readUInt16BE=function(e,r){return e=e>>>0,r||x(e,2,this.length),this[e]<<8|this[e+1]};s.prototype.readUint32LE=s.prototype.readUInt32LE=function(e,r){return e=e>>>0,r||x(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+this[e+3]*16777216};s.prototype.readUint32BE=s.prototype.readUInt32BE=function(e,r){return e=e>>>0,r||x(e,4,this.length),this[e]*16777216+(this[e+1]<<16|this[e+2]<<8|this[e+3])};s.prototype.readIntLE=function(e,r,n){e=e>>>0,r=r>>>0,n||x(e,r,this.length);for(var i=this[e],o=1,a=0;++a<r&&(o*=256);)i+=this[e+a]*o;return o*=128,i>=o&&(i-=Math.pow(2,8*r)),i};s.prototype.readIntBE=function(e,r,n){e=e>>>0,r=r>>>0,n||x(e,r,this.length);for(var i=r,o=1,a=this[e+--i];i>0&&(o*=256);)a+=this[e+--i]*o;return o*=128,a>=o&&(a-=Math.pow(2,8*r)),a};s.prototype.readInt8=function(e,r){return e=e>>>0,r||x(e,1,this.length),this[e]&128?(255-this[e]+1)*-1:this[e]};s.prototype.readInt16LE=function(e,r){e=e>>>0,r||x(e,2,this.length);var n=this[e]|this[e+1]<<8;return n&32768?n|4294901760:n};s.prototype.readInt16BE=function(e,r){e=e>>>0,r||x(e,2,this.length);var n=this[e+1]|this[e]<<8;return n&32768?n|4294901760:n};s.prototype.readInt32LE=function(e,r){return e=e>>>0,r||x(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24};s.prototype.readInt32BE=function(e,r){return e=e>>>0,r||x(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]};s.prototype.readFloatLE=function(e,r){return e=e>>>0,r||x(e,4,this.length),M.read(this,e,!0,23,4)};s.prototype.readFloatBE=function(e,r){return e=e>>>0,r||x(e,4,this.length),M.read(this,e,!1,23,4)};s.prototype.readDoubleLE=function(e,r){return e=e>>>0,r||x(e,8,this.length),M.read(this,e,!0,52,8)};s.prototype.readDoubleBE=function(e,r){return e=e>>>0,r||x(e,8,this.length),M.read(this,e,!1,52,8)};function w(t,e,r,n,i,o){if(!s.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>i||e<o)throw new RangeError('"value" argument is out of bounds');if(r+n>t.length)throw new RangeError("Index out of range")}s.prototype.writeUintLE=s.prototype.writeUIntLE=function(e,r,n,i){if(e=+e,r=r>>>0,n=n>>>0,!i){var o=Math.pow(2,8*n)-1;w(this,e,r,n,o,0)}var a=1,l=0;for(this[r]=e&255;++l<n&&(a*=256);)this[r+l]=e/a&255;return r+n};s.prototype.writeUintBE=s.prototype.writeUIntBE=function(e,r,n,i){if(e=+e,r=r>>>0,n=n>>>0,!i){var o=Math.pow(2,8*n)-1;w(this,e,r,n,o,0)}var a=n-1,l=1;for(this[r+a]=e&255;--a>=0&&(l*=256);)this[r+a]=e/l&255;return r+n};s.prototype.writeUint8=s.prototype.writeUInt8=function(e,r,n){return e=+e,r=r>>>0,n||w(this,e,r,1,255,0),this[r]=e&255,r+1};s.prototype.writeUint16LE=s.prototype.writeUInt16LE=function(e,r,n){return e=+e,r=r>>>0,n||w(this,e,r,2,65535,0),this[r]=e&255,this[r+1]=e>>>8,r+2};s.prototype.writeUint16BE=s.prototype.writeUInt16BE=function(e,r,n){return e=+e,r=r>>>0,n||w(this,e,r,2,65535,0),this[r]=e>>>8,this[r+1]=e&255,r+2};s.prototype.writeUint32LE=s.prototype.writeUInt32LE=function(e,r,n){return e=+e,r=r>>>0,n||w(this,e,r,4,4294967295,0),this[r+3]=e>>>24,this[r+2]=e>>>16,this[r+1]=e>>>8,this[r]=e&255,r+4};s.prototype.writeUint32BE=s.prototype.writeUInt32BE=function(e,r,n){return e=+e,r=r>>>0,n||w(this,e,r,4,4294967295,0),this[r]=e>>>24,this[r+1]=e>>>16,this[r+2]=e>>>8,this[r+3]=e&255,r+4};s.prototype.writeIntLE=function(e,r,n,i){if(e=+e,r=r>>>0,!i){var o=Math.pow(2,8*n-1);w(this,e,r,n,o-1,-o)}var a=0,l=1,p=0;for(this[r]=e&255;++a<n&&(l*=256);)e<0&&p===0&&this[r+a-1]!==0&&(p=1),this[r+a]=(e/l>>0)-p&255;return r+n};s.prototype.writeIntBE=function(e,r,n,i){if(e=+e,r=r>>>0,!i){var o=Math.pow(2,8*n-1);w(this,e,r,n,o-1,-o)}var a=n-1,l=1,p=0;for(this[r+a]=e&255;--a>=0&&(l*=256);)e<0&&p===0&&this[r+a+1]!==0&&(p=1),this[r+a]=(e/l>>0)-p&255;return r+n};s.prototype.writeInt8=function(e,r,n){return e=+e,r=r>>>0,n||w(this,e,r,1,127,-128),e<0&&(e=255+e+1),this[r]=e&255,r+1};s.prototype.writeInt16LE=function(e,r,n){return e=+e,r=r>>>0,n||w(this,e,r,2,32767,-32768),this[r]=e&255,this[r+1]=e>>>8,r+2};s.prototype.writeInt16BE=function(e,r,n){return e=+e,r=r>>>0,n||w(this,e,r,2,32767,-32768),this[r]=e>>>8,this[r+1]=e&255,r+2};s.prototype.writeInt32LE=function(e,r,n){return e=+e,r=r>>>0,n||w(this,e,r,4,2147483647,-2147483648),this[r]=e&255,this[r+1]=e>>>8,this[r+2]=e>>>16,this[r+3]=e>>>24,r+4};s.prototype.writeInt32BE=function(e,r,n){return e=+e,r=r>>>0,n||w(this,e,r,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),this[r]=e>>>24,this[r+1]=e>>>16,this[r+2]=e>>>8,this[r+3]=e&255,r+4};function ve(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 ke(t,e,r,n,i){return e=+e,r=r>>>0,i||ve(t,e,r,4,34028234663852886e22,-34028234663852886e22),M.write(t,e,r,n,23,4),r+4}s.prototype.writeFloatLE=function(e,r,n){return ke(this,e,r,!0,n)};s.prototype.writeFloatBE=function(e,r,n){return ke(this,e,r,!1,n)};function Ee(t,e,r,n,i){return e=+e,r=r>>>0,i||ve(t,e,r,8,17976931348623157e292,-17976931348623157e292),M.write(t,e,r,n,52,8),r+8}s.prototype.writeDoubleLE=function(e,r,n){return Ee(this,e,r,!0,n)};s.prototype.writeDoubleBE=function(e,r,n){return Ee(this,e,r,!1,n)};s.prototype.copy=function(e,r,n,i){if(!s.isBuffer(e))throw new TypeError("argument should be a Buffer");if(n||(n=0),!i&&i!==0&&(i=this.length),r>=e.length&&(r=e.length),r||(r=0),i>0&&i<n&&(i=n),i===n||e.length===0||this.length===0)return 0;if(r<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw new RangeError("Index out of range");if(i<0)throw new RangeError("sourceEnd out of bounds");i>this.length&&(i=this.length),e.length-r<i-n&&(i=e.length-r+n);var o=i-n;return this===e&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(r,n,i):Uint8Array.prototype.set.call(e,this.subarray(n,i),r),o};s.prototype.fill=function(e,r,n,i){if(typeof e=="string"){if(typeof r=="string"?(i=r,r=0,n=this.length):typeof n=="string"&&(i=n,n=this.length),i!==void 0&&typeof i!="string")throw new TypeError("encoding must be a string");if(typeof i=="string"&&!s.isEncoding(i))throw new TypeError("Unknown encoding: "+i);if(e.length===1){var o=e.charCodeAt(0);(i==="utf8"&&o<128||i==="latin1")&&(e=o)}}else typeof e=="number"?e=e&255:typeof e=="boolean"&&(e=Number(e));if(r<0||this.length<r||this.length<n)throw new RangeError("Out of range index");if(n<=r)return this;r=r>>>0,n=n===void 0?this.length:n>>>0,e||(e=0);var a;if(typeof e=="number")for(a=r;a<n;++a)this[a]=e;else{var l=s.isBuffer(e)?e:s.from(e,i),p=l.length;if(p===0)throw new TypeError('The value "'+e+'" is invalid for argument "value"');for(a=0;a<n-r;++a)this[a+r]=l[a%p]}return this};var Rr=/[^+/0-9A-Za-z-_]/g;function Sr(t){if(t=t.split("=")[0],t=t.trim().replace(Rr,""),t.length<2)return"";for(;t.length%4!==0;)t=t+"=";return t}function te(t,e){e=e||1/0;for(var r,n=t.length,i=null,o=[],a=0;a<n;++a){if(r=t.charCodeAt(a),r>55295&&r<57344){if(!i){if(r>56319){(e-=3)>-1&&o.push(239,191,189);continue}else if(a+1===n){(e-=3)>-1&&o.push(239,191,189);continue}i=r;continue}if(r<56320){(e-=3)>-1&&o.push(239,191,189),i=r;continue}r=(i-55296<<10|r-56320)+65536}else i&&(e-=3)>-1&&o.push(239,191,189);if(i=null,r<128){if((e-=1)<0)break;o.push(r)}else if(r<2048){if((e-=2)<0)break;o.push(r>>6|192,r&63|128)}else if(r<65536){if((e-=3)<0)break;o.push(r>>12|224,r>>6&63|128,r&63|128)}else if(r<1114112){if((e-=4)<0)break;o.push(r>>18|240,r>>12&63|128,r>>6&63|128,r&63|128)}else throw new Error("Invalid code point")}return o}function Lr(t){for(var e=[],r=0;r<t.length;++r)e.push(t.charCodeAt(r)&255);return e}function Dr(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 Ie(t){return J.toByteArray(Sr(t))}function Y(t,e,r,n){for(var i=0;i<n&&!(i+r>=e.length||i>=t.length);++i)e[i+r]=t[i];return i}function k(t,e){return t instanceof e||t!=null&&t.constructor!=null&&t.constructor.name!=null&&t.constructor.name===e.name}function oe(t){return t!==t}var Nr=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 Ne=q((jr,De)=>{c();var y=De.exports={},E,I;function ae(){throw new Error("setTimeout has not been defined")}function se(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?E=setTimeout:E=ae}catch(t){E=ae}try{typeof clearTimeout=="function"?I=clearTimeout:I=se}catch(t){I=se}})();function Re(t){if(E===setTimeout)return setTimeout(t,0);if((E===ae||!E)&&setTimeout)return E=setTimeout,setTimeout(t,0);try{return E(t,0)}catch(e){try{return E.call(null,t,0)}catch(r){return E.call(this,t,0)}}}function Fr(t){if(I===clearTimeout)return clearTimeout(t);if((I===se||!I)&&clearTimeout)return I=clearTimeout,clearTimeout(t);try{return I(t)}catch(e){try{return I.call(null,t)}catch(r){return I.call(this,t)}}}var S=[],z=!1,U,X=-1;function Cr(){!z||!U||(z=!1,U.length?S=U.concat(S):X=-1,S.length&&Se())}function Se(){if(!z){var t=Re(Cr);z=!0;for(var e=S.length;e;){for(U=S,S=[];++X<e;)U&&U[X].run();X=-1,e=S.length}U=null,z=!1,Fr(t)}}y.nextTick=function(t){var e=new Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)e[r-1]=arguments[r];S.push(new Le(t,e)),S.length===1&&!z&&Re(Se)};function Le(t,e){this.fun=t,this.array=e}Le.prototype.run=function(){this.fun.apply(null,this.array)};y.title="browser";y.browser=!0;y.env={};y.argv=[];y.version="";y.versions={};function L(){}y.on=L;y.addListener=L;y.once=L;y.off=L;y.removeListener=L;y.removeAllListeners=L;y.emit=L;y.prependListener=L;y.prependOnceListener=L;y.listeners=function(t){return[]};y.binding=function(t){throw new Error("process.binding is not supported")};y.cwd=function(){return"/"};y.chdir=function(t){throw new Error("process.chdir is not supported")};y.umask=function(){return 0}});var m,f,Yr,c=er(()=>{m=V(Ae()),f=V(Ne()),Yr=function(t){function e(){var n=this||self;return delete t.prototype.__magic__,n}if(typeof globalThis=="object")return globalThis;if(this)return e();t.defineProperty(t.prototype,"__magic__",{configurable:!0,get:e});var r=__magic__;return r}(Object)});var zr={};rr(zr,{DataDecode:()=>Gr});module.exports=tr(zr);c();var N=V(require("react")),He=require("@fortawesome/free-solid-svg-icons"),je=require("@fortawesome/react-fontawesome"),Ye=V(require("classnames"));c();c();c();c();c();c();c();c();c();c();c();var P=(i=>(i.raw="raw",i.text="text",i.decimal="decimal",i.smart="smart",i))(P||{});c();c();var ce={devnet:{id:"devnet",chainId:"D",name:"Devnet",egldLabel:"xEGLD",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"https://maiar.page.link/?apn=com.elrond.maiar.wallet&isi=1519405832&ibi=com.elrond.maiar.wallet&link=https://xportal.com/",walletConnectBridgeAddresses:["https://bridge.walletconnect.org"],walletConnectV2RelayAddresses:["wss://relay.walletconnect.com"],walletAddress:"https://devnet-wallet.multiversx.com",apiAddress:"https://devnet-api.multiversx.com",explorerAddress:"http://devnet-explorer.multiversx.com",apiTimeout:"4000"},testnet:{id:"testnet",chainId:"T",name:"Testnet",egldLabel:"xEGLD",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"https://maiar.page.link/?apn=com.elrond.maiar.wallet&isi=1519405832&ibi=com.elrond.maiar.wallet&link=https://xportal.com/",walletConnectBridgeAddresses:["https://bridge.walletconnect.org"],walletConnectV2RelayAddresses:["wss://relay.walletconnect.com"],walletAddress:"https://testnet-wallet.multiversx.com",apiAddress:"https://testnet-api.multiversx.com",explorerAddress:"http://testnet-explorer.multiversx.com",apiTimeout:"4000"},mainnet:{id:"mainnet",chainId:"1",name:"Mainnet",egldLabel:"EGLD",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"https://maiar.page.link/?apn=com.elrond.maiar.wallet&isi=1519405832&ibi=com.elrond.maiar.wallet&link=https://xportal.com/",walletConnectBridgeAddresses:["https://bridge.walletconnect.org"],walletConnectV2RelayAddresses:["wss://relay.walletconnect.com"],walletAddress:"https://wallet.multiversx.com",apiAddress:"https://api.multiversx.com",explorerAddress:"https://explorer.multiversx.com",apiTimeout:"4000"}},{chainId:Fe,egldLabel:dt}=ce["devnet"],{chainId:Ce,egldLabel:mt}=ce["testnet"],{chainId:Be,egldLabel:gt}=ce["mainnet"];var ft={["devnet"]:Fe,["testnet"]:Ce,["mainnet"]:Be},ht={[Fe]:"devnet",[Ce]:"testnet",[Be]:"mainnet"};c();c();c();c();var A=require("@multiversx/sdk-web-wallet-provider");var Ue="N/A";c();var Q=require("react");c();c();c();var Ge=require("@multiversx/sdk-core/out"),le=V(require("bignumber.js"));c();var Pe=require("@multiversx/sdk-core");function Br(t){try{let e=new Pe.Address(t);return Boolean(e.bech32())}catch(e){return!1}}function Oe(t){return(t==null?void 0:t.startsWith("erd"))&&t.length===62&&/^\w+$/.test(t)&&Br(t)}c();function Me(t){for(let e=0;e<t.length;e++)if(t.charCodeAt(e)>127)return!1;return!0}var D=(t,e,r)=>{switch(e){case"text":try{return m.Buffer.from(String(t),"hex").toString("utf8")}catch(i){}return t;case"decimal":return new le.default(t,16).toString(10);case"smart":try{let i=Ge.Address.fromHex(t).toString();if(Oe(i))return i}catch(i){}try{let i=m.Buffer.from(String(t),"hex").toString("utf8");return Me(i)||r&&[...r.esdts,...r.nfts].some(l=>i.includes(l))?i:new le.default(t,16).toString(10)}catch(i){}return t;case"raw":default:return t}};c();c();var Ur=t=>t.toLowerCase().match(/[0-9a-f]/g),Pr=t=>t.length%2===0,ze=t=>{let e=[];return t&&!Ur(t)&&e.push(`Invalid Hex characters on argument @${t}`),t&&!Pr(t)&&e.push(`Odd number of Hex characters on argument @${t}`),e};c();var K=({parts:t,decodedParts:e,identifier:r})=>{let n=[...e];if(t[0]==="ESDTNFTTransfer"&&t[2]&&(n[2]=D(t[2],"decimal")),r==="ESDTNFTTransfer"&&t[1]){let i=m.Buffer.from(String(t[1]),"base64");n[1]=D(i.toString("hex"),"decimal")}return n};var Ve=({parts:t,decodeMethod:e,identifier:r})=>{let n=[],i=t.map((a,l)=>{if(t.length>=2&&(l===0&&a.length<64||l===1&&!t[0]))return/[^a-z0-9]/gi.test(a)?D(a,e):a;{let p=ze(a);return p.length&&(n=p),D(a,e)}});return{displayValue:(e==="smart"?K({parts:t,decodedParts:i,identifier:r}):i).join("@"),validationWarnings:n}};var We=({input:t,decodeMethod:e,identifier:r})=>{let n={displayValue:"",validationWarnings:[]};if(!(t.includes("@")||t.includes(`
|
|
1
|
+
"use strict";var Ke=Object.create;var W=Object.defineProperty;var Qe=Object.getOwnPropertyDescriptor;var Ze=Object.getOwnPropertyNames;var $e=Object.getPrototypeOf,Je=Object.prototype.hasOwnProperty;var er=(t,e)=>()=>(t&&(e=t(t=0)),e);var H=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),rr=(t,e)=>{for(var r in e)W(t,r,{get:e[r],enumerable:!0})},pe=(t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of Ze(e))!Je.call(t,i)&&i!==r&&W(t,i,{get:()=>e[i],enumerable:!(n=Qe(e,i))||n.enumerable});return t};var V=(t,e,r)=>(r=t!=null?Ke($e(t)):{},pe(e||!t||!t.__esModule?W(r,"default",{value:t,enumerable:!0}):r,t)),tr=t=>pe(W({},"__esModule",{value:!0}),t);var me=H(q=>{"use strict";c();q.byteLength=ir;q.toByteArray=ar;q.fromByteArray=lr;var v=[],b=[],nr=typeof Uint8Array!="undefined"?Uint8Array:Array,Z="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(C=0,ue=Z.length;C<ue;++C)v[C]=Z[C],b[Z.charCodeAt(C)]=C;var C,ue;b["-".charCodeAt(0)]=62;b["_".charCodeAt(0)]=63;function de(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 ir(t){var e=de(t),r=e[0],n=e[1];return(r+n)*3/4-n}function or(t,e,r){return(e+r)*3/4-r}function ar(t){var e,r=de(t),n=r[0],i=r[1],o=new nr(or(t,n,i)),a=0,l=i>0?n-4:n,p;for(p=0;p<l;p+=4)e=b[t.charCodeAt(p)]<<18|b[t.charCodeAt(p+1)]<<12|b[t.charCodeAt(p+2)]<<6|b[t.charCodeAt(p+3)],o[a++]=e>>16&255,o[a++]=e>>8&255,o[a++]=e&255;return i===2&&(e=b[t.charCodeAt(p)]<<2|b[t.charCodeAt(p+1)]>>4,o[a++]=e&255),i===1&&(e=b[t.charCodeAt(p)]<<10|b[t.charCodeAt(p+1)]<<4|b[t.charCodeAt(p+2)]>>2,o[a++]=e>>8&255,o[a++]=e&255),o}function sr(t){return v[t>>18&63]+v[t>>12&63]+v[t>>6&63]+v[t&63]}function cr(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(sr(n));return i.join("")}function lr(t){for(var e,r=t.length,n=r%3,i=[],o=16383,a=0,l=r-n;a<l;a+=o)i.push(cr(t,a,a+o>l?l:a+o));return n===1?(e=t[r-1],i.push(v[e>>2]+v[e<<4&63]+"==")):n===2&&(e=(t[r-2]<<8)+t[r-1],i.push(v[e>>10]+v[e>>4&63]+v[e<<2&63]+"=")),i.join("")}});var ge=H($=>{c();$.read=function(t,e,r,n,i){var o,a,l=i*8-n-1,p=(1<<l)-1,u=p>>1,g=-7,d=r?i-1:0,T=r?-1:1,_=t[e+d];for(d+=T,o=_&(1<<-g)-1,_>>=-g,g+=l;g>0;o=o*256+t[e+d],d+=T,g-=8);for(a=o&(1<<-g)-1,o>>=-g,g+=n;g>0;a=a*256+t[e+d],d+=T,g-=8);if(o===0)o=1-u;else{if(o===p)return a?NaN:(_?-1:1)*(1/0);a=a+Math.pow(2,n),o=o-u}return(_?-1:1)*a*Math.pow(2,o-n)};$.write=function(t,e,r,n,i,o){var a,l,p,u=o*8-i-1,g=(1<<u)-1,d=g>>1,T=i===23?Math.pow(2,-24)-Math.pow(2,-77):0,_=n?0:o-1,O=n?1:-1,Xe=e<0||e===0&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(l=isNaN(e)?1:0,a=g):(a=Math.floor(Math.log(e)/Math.LN2),e*(p=Math.pow(2,-a))<1&&(a--,p*=2),a+d>=1?e+=T/p:e+=T*Math.pow(2,1-d),e*p>=2&&(a++,p/=2),a+d>=g?(l=0,a=g):a+d>=1?(l=(e*p-1)*Math.pow(2,i),a=a+d):(l=e*Math.pow(2,d-1)*Math.pow(2,i),a=0));i>=8;t[r+_]=l&255,_+=O,l/=256,i-=8);for(a=a<<i|l,u+=i;u>0;t[r+_]=a&255,_+=O,a/=256,u-=8);t[r+_-O]|=Xe*128}});var Ae=H(G=>{"use strict";c();var J=me(),M=ge(),fe=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;G.Buffer=s;G.SlowBuffer=fr;G.INSPECT_MAX_BYTES=50;var j=2147483647;G.kMaxLength=j;s.TYPED_ARRAY_SUPPORT=pr();!s.TYPED_ARRAY_SUPPORT&&typeof console!="undefined"&&typeof console.error=="function"&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function pr(){try{var t=new Uint8Array(1),e={foo:function(){return 42}};return Object.setPrototypeOf(e,Uint8Array.prototype),Object.setPrototypeOf(t,e),t.foo()===42}catch(r){return!1}}Object.defineProperty(s.prototype,"parent",{enumerable:!0,get:function(){if(!!s.isBuffer(this))return this.buffer}});Object.defineProperty(s.prototype,"offset",{enumerable:!0,get:function(){if(!!s.isBuffer(this))return this.byteOffset}});function R(t){if(t>j)throw new RangeError('The value "'+t+'" is invalid for option "size"');var e=new Uint8Array(t);return Object.setPrototypeOf(e,s.prototype),e}function s(t,e,r){if(typeof t=="number"){if(typeof e=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return ne(t)}return xe(t,e,r)}s.poolSize=8192;function xe(t,e,r){if(typeof t=="string")return dr(t,e);if(ArrayBuffer.isView(t))return mr(t);if(t==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t);if(k(t,ArrayBuffer)||t&&k(t.buffer,ArrayBuffer)||typeof SharedArrayBuffer!="undefined"&&(k(t,SharedArrayBuffer)||t&&k(t.buffer,SharedArrayBuffer)))return re(t,e,r);if(typeof t=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var n=t.valueOf&&t.valueOf();if(n!=null&&n!==t)return s.from(n,e,r);var i=gr(t);if(i)return i;if(typeof Symbol!="undefined"&&Symbol.toPrimitive!=null&&typeof t[Symbol.toPrimitive]=="function")return s.from(t[Symbol.toPrimitive]("string"),e,r);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t)}s.from=function(t,e,r){return xe(t,e,r)};Object.setPrototypeOf(s.prototype,Uint8Array.prototype);Object.setPrototypeOf(s,Uint8Array);function we(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 ur(t,e,r){return we(t),t<=0?R(t):e!==void 0?typeof r=="string"?R(t).fill(e,r):R(t).fill(e):R(t)}s.alloc=function(t,e,r){return ur(t,e,r)};function ne(t){return we(t),R(t<0?0:ie(t)|0)}s.allocUnsafe=function(t){return ne(t)};s.allocUnsafeSlow=function(t){return ne(t)};function dr(t,e){if((typeof e!="string"||e==="")&&(e="utf8"),!s.isEncoding(e))throw new TypeError("Unknown encoding: "+e);var r=_e(t,e)|0,n=R(r),i=n.write(t,e);return i!==r&&(n=n.slice(0,i)),n}function ee(t){for(var e=t.length<0?0:ie(t.length)|0,r=R(e),n=0;n<e;n+=1)r[n]=t[n]&255;return r}function mr(t){if(k(t,Uint8Array)){var e=new Uint8Array(t);return re(e.buffer,e.byteOffset,e.byteLength)}return ee(t)}function re(t,e,r){if(e<0||t.byteLength<e)throw new RangeError('"offset" is outside of buffer bounds');if(t.byteLength<e+(r||0))throw new RangeError('"length" is outside of buffer bounds');var n;return e===void 0&&r===void 0?n=new Uint8Array(t):r===void 0?n=new Uint8Array(t,e):n=new Uint8Array(t,e,r),Object.setPrototypeOf(n,s.prototype),n}function gr(t){if(s.isBuffer(t)){var e=ie(t.length)|0,r=R(e);return r.length===0||t.copy(r,0,0,e),r}if(t.length!==void 0)return typeof t.length!="number"||oe(t.length)?R(0):ee(t);if(t.type==="Buffer"&&Array.isArray(t.data))return ee(t.data)}function ie(t){if(t>=j)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+j.toString(16)+" bytes");return t|0}function fr(t){return+t!=t&&(t=0),s.alloc(+t)}s.isBuffer=function(e){return e!=null&&e._isBuffer===!0&&e!==s.prototype};s.compare=function(e,r){if(k(e,Uint8Array)&&(e=s.from(e,e.offset,e.byteLength)),k(r,Uint8Array)&&(r=s.from(r,r.offset,r.byteLength)),!s.isBuffer(e)||!s.isBuffer(r))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(e===r)return 0;for(var n=e.length,i=r.length,o=0,a=Math.min(n,i);o<a;++o)if(e[o]!==r[o]){n=e[o],i=r[o];break}return n<i?-1:i<n?1:0};s.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}};s.concat=function(e,r){if(!Array.isArray(e))throw new TypeError('"list" argument must be an Array of Buffers');if(e.length===0)return s.alloc(0);var n;if(r===void 0)for(r=0,n=0;n<e.length;++n)r+=e[n].length;var i=s.allocUnsafe(r),o=0;for(n=0;n<e.length;++n){var a=e[n];if(k(a,Uint8Array))o+a.length>i.length?s.from(a).copy(i,o):Uint8Array.prototype.set.call(i,a,o);else if(s.isBuffer(a))a.copy(i,o);else throw new TypeError('"list" argument must be an Array of Buffers');o+=a.length}return i};function _e(t,e){if(s.isBuffer(t))return t.length;if(ArrayBuffer.isView(t)||k(t,ArrayBuffer))return t.byteLength;if(typeof t!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof t);var r=t.length,n=arguments.length>2&&arguments[2]===!0;if(!n&&r===0)return 0;for(var i=!1;;)switch(e){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":return te(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return r*2;case"hex":return r>>>1;case"base64":return Ie(t).length;default:if(i)return n?-1:te(t).length;e=(""+e).toLowerCase(),i=!0}}s.byteLength=_e;function hr(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 Ir(this,e,r);case"utf8":case"utf-8":return Te(this,e,r);case"ascii":return kr(this,e,r);case"latin1":case"binary":return Er(this,e,r);case"base64":return Tr(this,e,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Ar(this,e,r);default:if(n)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),n=!0}}s.prototype._isBuffer=!0;function B(t,e,r){var n=t[e];t[e]=t[r],t[r]=n}s.prototype.swap16=function(){var e=this.length;if(e%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var r=0;r<e;r+=2)B(this,r,r+1);return this};s.prototype.swap32=function(){var e=this.length;if(e%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var r=0;r<e;r+=4)B(this,r,r+3),B(this,r+1,r+2);return this};s.prototype.swap64=function(){var e=this.length;if(e%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var r=0;r<e;r+=8)B(this,r,r+7),B(this,r+1,r+6),B(this,r+2,r+5),B(this,r+3,r+4);return this};s.prototype.toString=function(){var e=this.length;return e===0?"":arguments.length===0?Te(this,0,e):hr.apply(this,arguments)};s.prototype.toLocaleString=s.prototype.toString;s.prototype.equals=function(e){if(!s.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e?!0:s.compare(this,e)===0};s.prototype.inspect=function(){var e="",r=G.INSPECT_MAX_BYTES;return e=this.toString("hex",0,r).replace(/(.{2})/g,"$1 ").trim(),this.length>r&&(e+=" ... "),"<Buffer "+e+">"};fe&&(s.prototype[fe]=s.prototype.inspect);s.prototype.compare=function(e,r,n,i,o){if(k(e,Uint8Array)&&(e=s.from(e,e.offset,e.byteLength)),!s.isBuffer(e))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof e);if(r===void 0&&(r=0),n===void 0&&(n=e?e.length:0),i===void 0&&(i=0),o===void 0&&(o=this.length),r<0||n>e.length||i<0||o>this.length)throw new RangeError("out of range index");if(i>=o&&r>=n)return 0;if(i>=o)return-1;if(r>=n)return 1;if(r>>>=0,n>>>=0,i>>>=0,o>>>=0,this===e)return 0;for(var a=o-i,l=n-r,p=Math.min(a,l),u=this.slice(i,o),g=e.slice(r,n),d=0;d<p;++d)if(u[d]!==g[d]){a=u[d],l=g[d];break}return a<l?-1:l<a?1:0};function be(t,e,r,n,i){if(t.length===0)return-1;if(typeof r=="string"?(n=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),r=+r,oe(r)&&(r=i?0:t.length-1),r<0&&(r=t.length+r),r>=t.length){if(i)return-1;r=t.length-1}else if(r<0)if(i)r=0;else return-1;if(typeof e=="string"&&(e=s.from(e,n)),s.isBuffer(e))return e.length===0?-1:he(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):he(t,[e],r,n,i);throw new TypeError("val must be string, number or Buffer")}function he(t,e,r,n,i){var o=1,a=t.length,l=e.length;if(n!==void 0&&(n=String(n).toLowerCase(),n==="ucs2"||n==="ucs-2"||n==="utf16le"||n==="utf-16le")){if(t.length<2||e.length<2)return-1;o=2,a/=2,l/=2,r/=2}function p(_,O){return o===1?_[O]:_.readUInt16BE(O*o)}var u;if(i){var g=-1;for(u=r;u<a;u++)if(p(t,u)===p(e,g===-1?0:u-g)){if(g===-1&&(g=u),u-g+1===l)return g*o}else g!==-1&&(u-=u-g),g=-1}else for(r+l>a&&(r=a-l),u=r;u>=0;u--){for(var d=!0,T=0;T<l;T++)if(p(t,u+T)!==p(e,T)){d=!1;break}if(d)return u}return-1}s.prototype.includes=function(e,r,n){return this.indexOf(e,r,n)!==-1};s.prototype.indexOf=function(e,r,n){return be(this,e,r,n,!0)};s.prototype.lastIndexOf=function(e,r,n){return be(this,e,r,n,!1)};function yr(t,e,r,n){r=Number(r)||0;var i=t.length-r;n?(n=Number(n),n>i&&(n=i)):n=i;var o=e.length;n>o/2&&(n=o/2);for(var a=0;a<n;++a){var l=parseInt(e.substr(a*2,2),16);if(oe(l))return a;t[r+a]=l}return a}function xr(t,e,r,n){return Y(te(e,t.length-r),t,r,n)}function wr(t,e,r,n){return Y(Lr(e),t,r,n)}function _r(t,e,r,n){return Y(Ie(e),t,r,n)}function br(t,e,r,n){return Y(Dr(e,t.length-r),t,r,n)}s.prototype.write=function(e,r,n,i){if(r===void 0)i="utf8",n=this.length,r=0;else if(n===void 0&&typeof r=="string")i=r,n=this.length,r=0;else if(isFinite(r))r=r>>>0,isFinite(n)?(n=n>>>0,i===void 0&&(i="utf8")):(i=n,n=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var o=this.length-r;if((n===void 0||n>o)&&(n=o),e.length>0&&(n<0||r<0)||r>this.length)throw new RangeError("Attempt to write outside buffer bounds");i||(i="utf8");for(var a=!1;;)switch(i){case"hex":return yr(this,e,r,n);case"utf8":case"utf-8":return xr(this,e,r,n);case"ascii":case"latin1":case"binary":return wr(this,e,r,n);case"base64":return _r(this,e,r,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return br(this,e,r,n);default:if(a)throw new TypeError("Unknown encoding: "+i);i=(""+i).toLowerCase(),a=!0}};s.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function Tr(t,e,r){return e===0&&r===t.length?J.fromByteArray(t):J.fromByteArray(t.slice(e,r))}function Te(t,e,r){r=Math.min(t.length,r);for(var n=[],i=e;i<r;){var o=t[i],a=null,l=o>239?4:o>223?3:o>191?2:1;if(i+l<=r){var p,u,g,d;switch(l){case 1:o<128&&(a=o);break;case 2:p=t[i+1],(p&192)===128&&(d=(o&31)<<6|p&63,d>127&&(a=d));break;case 3:p=t[i+1],u=t[i+2],(p&192)===128&&(u&192)===128&&(d=(o&15)<<12|(p&63)<<6|u&63,d>2047&&(d<55296||d>57343)&&(a=d));break;case 4:p=t[i+1],u=t[i+2],g=t[i+3],(p&192)===128&&(u&192)===128&&(g&192)===128&&(d=(o&15)<<18|(p&63)<<12|(u&63)<<6|g&63,d>65535&&d<1114112&&(a=d))}}a===null?(a=65533,l=1):a>65535&&(a-=65536,n.push(a>>>10&1023|55296),a=56320|a&1023),n.push(a),i+=l}return vr(n)}var ye=4096;function vr(t){var e=t.length;if(e<=ye)return String.fromCharCode.apply(String,t);for(var r="",n=0;n<e;)r+=String.fromCharCode.apply(String,t.slice(n,n+=ye));return r}function kr(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 Er(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 Ir(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+=Nr[t[o]];return i}function Ar(t,e,r){for(var n=t.slice(e,r),i="",o=0;o<n.length-1;o+=2)i+=String.fromCharCode(n[o]+n[o+1]*256);return i}s.prototype.slice=function(e,r){var n=this.length;e=~~e,r=r===void 0?n:~~r,e<0?(e+=n,e<0&&(e=0)):e>n&&(e=n),r<0?(r+=n,r<0&&(r=0)):r>n&&(r=n),r<e&&(r=e);var i=this.subarray(e,r);return Object.setPrototypeOf(i,s.prototype),i};function x(t,e,r){if(t%1!==0||t<0)throw new RangeError("offset is not uint");if(t+e>r)throw new RangeError("Trying to access beyond buffer length")}s.prototype.readUintLE=s.prototype.readUIntLE=function(e,r,n){e=e>>>0,r=r>>>0,n||x(e,r,this.length);for(var i=this[e],o=1,a=0;++a<r&&(o*=256);)i+=this[e+a]*o;return i};s.prototype.readUintBE=s.prototype.readUIntBE=function(e,r,n){e=e>>>0,r=r>>>0,n||x(e,r,this.length);for(var i=this[e+--r],o=1;r>0&&(o*=256);)i+=this[e+--r]*o;return i};s.prototype.readUint8=s.prototype.readUInt8=function(e,r){return e=e>>>0,r||x(e,1,this.length),this[e]};s.prototype.readUint16LE=s.prototype.readUInt16LE=function(e,r){return e=e>>>0,r||x(e,2,this.length),this[e]|this[e+1]<<8};s.prototype.readUint16BE=s.prototype.readUInt16BE=function(e,r){return e=e>>>0,r||x(e,2,this.length),this[e]<<8|this[e+1]};s.prototype.readUint32LE=s.prototype.readUInt32LE=function(e,r){return e=e>>>0,r||x(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+this[e+3]*16777216};s.prototype.readUint32BE=s.prototype.readUInt32BE=function(e,r){return e=e>>>0,r||x(e,4,this.length),this[e]*16777216+(this[e+1]<<16|this[e+2]<<8|this[e+3])};s.prototype.readIntLE=function(e,r,n){e=e>>>0,r=r>>>0,n||x(e,r,this.length);for(var i=this[e],o=1,a=0;++a<r&&(o*=256);)i+=this[e+a]*o;return o*=128,i>=o&&(i-=Math.pow(2,8*r)),i};s.prototype.readIntBE=function(e,r,n){e=e>>>0,r=r>>>0,n||x(e,r,this.length);for(var i=r,o=1,a=this[e+--i];i>0&&(o*=256);)a+=this[e+--i]*o;return o*=128,a>=o&&(a-=Math.pow(2,8*r)),a};s.prototype.readInt8=function(e,r){return e=e>>>0,r||x(e,1,this.length),this[e]&128?(255-this[e]+1)*-1:this[e]};s.prototype.readInt16LE=function(e,r){e=e>>>0,r||x(e,2,this.length);var n=this[e]|this[e+1]<<8;return n&32768?n|4294901760:n};s.prototype.readInt16BE=function(e,r){e=e>>>0,r||x(e,2,this.length);var n=this[e+1]|this[e]<<8;return n&32768?n|4294901760:n};s.prototype.readInt32LE=function(e,r){return e=e>>>0,r||x(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24};s.prototype.readInt32BE=function(e,r){return e=e>>>0,r||x(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]};s.prototype.readFloatLE=function(e,r){return e=e>>>0,r||x(e,4,this.length),M.read(this,e,!0,23,4)};s.prototype.readFloatBE=function(e,r){return e=e>>>0,r||x(e,4,this.length),M.read(this,e,!1,23,4)};s.prototype.readDoubleLE=function(e,r){return e=e>>>0,r||x(e,8,this.length),M.read(this,e,!0,52,8)};s.prototype.readDoubleBE=function(e,r){return e=e>>>0,r||x(e,8,this.length),M.read(this,e,!1,52,8)};function w(t,e,r,n,i,o){if(!s.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>i||e<o)throw new RangeError('"value" argument is out of bounds');if(r+n>t.length)throw new RangeError("Index out of range")}s.prototype.writeUintLE=s.prototype.writeUIntLE=function(e,r,n,i){if(e=+e,r=r>>>0,n=n>>>0,!i){var o=Math.pow(2,8*n)-1;w(this,e,r,n,o,0)}var a=1,l=0;for(this[r]=e&255;++l<n&&(a*=256);)this[r+l]=e/a&255;return r+n};s.prototype.writeUintBE=s.prototype.writeUIntBE=function(e,r,n,i){if(e=+e,r=r>>>0,n=n>>>0,!i){var o=Math.pow(2,8*n)-1;w(this,e,r,n,o,0)}var a=n-1,l=1;for(this[r+a]=e&255;--a>=0&&(l*=256);)this[r+a]=e/l&255;return r+n};s.prototype.writeUint8=s.prototype.writeUInt8=function(e,r,n){return e=+e,r=r>>>0,n||w(this,e,r,1,255,0),this[r]=e&255,r+1};s.prototype.writeUint16LE=s.prototype.writeUInt16LE=function(e,r,n){return e=+e,r=r>>>0,n||w(this,e,r,2,65535,0),this[r]=e&255,this[r+1]=e>>>8,r+2};s.prototype.writeUint16BE=s.prototype.writeUInt16BE=function(e,r,n){return e=+e,r=r>>>0,n||w(this,e,r,2,65535,0),this[r]=e>>>8,this[r+1]=e&255,r+2};s.prototype.writeUint32LE=s.prototype.writeUInt32LE=function(e,r,n){return e=+e,r=r>>>0,n||w(this,e,r,4,4294967295,0),this[r+3]=e>>>24,this[r+2]=e>>>16,this[r+1]=e>>>8,this[r]=e&255,r+4};s.prototype.writeUint32BE=s.prototype.writeUInt32BE=function(e,r,n){return e=+e,r=r>>>0,n||w(this,e,r,4,4294967295,0),this[r]=e>>>24,this[r+1]=e>>>16,this[r+2]=e>>>8,this[r+3]=e&255,r+4};s.prototype.writeIntLE=function(e,r,n,i){if(e=+e,r=r>>>0,!i){var o=Math.pow(2,8*n-1);w(this,e,r,n,o-1,-o)}var a=0,l=1,p=0;for(this[r]=e&255;++a<n&&(l*=256);)e<0&&p===0&&this[r+a-1]!==0&&(p=1),this[r+a]=(e/l>>0)-p&255;return r+n};s.prototype.writeIntBE=function(e,r,n,i){if(e=+e,r=r>>>0,!i){var o=Math.pow(2,8*n-1);w(this,e,r,n,o-1,-o)}var a=n-1,l=1,p=0;for(this[r+a]=e&255;--a>=0&&(l*=256);)e<0&&p===0&&this[r+a+1]!==0&&(p=1),this[r+a]=(e/l>>0)-p&255;return r+n};s.prototype.writeInt8=function(e,r,n){return e=+e,r=r>>>0,n||w(this,e,r,1,127,-128),e<0&&(e=255+e+1),this[r]=e&255,r+1};s.prototype.writeInt16LE=function(e,r,n){return e=+e,r=r>>>0,n||w(this,e,r,2,32767,-32768),this[r]=e&255,this[r+1]=e>>>8,r+2};s.prototype.writeInt16BE=function(e,r,n){return e=+e,r=r>>>0,n||w(this,e,r,2,32767,-32768),this[r]=e>>>8,this[r+1]=e&255,r+2};s.prototype.writeInt32LE=function(e,r,n){return e=+e,r=r>>>0,n||w(this,e,r,4,2147483647,-2147483648),this[r]=e&255,this[r+1]=e>>>8,this[r+2]=e>>>16,this[r+3]=e>>>24,r+4};s.prototype.writeInt32BE=function(e,r,n){return e=+e,r=r>>>0,n||w(this,e,r,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),this[r]=e>>>24,this[r+1]=e>>>16,this[r+2]=e>>>8,this[r+3]=e&255,r+4};function ve(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 ke(t,e,r,n,i){return e=+e,r=r>>>0,i||ve(t,e,r,4,34028234663852886e22,-34028234663852886e22),M.write(t,e,r,n,23,4),r+4}s.prototype.writeFloatLE=function(e,r,n){return ke(this,e,r,!0,n)};s.prototype.writeFloatBE=function(e,r,n){return ke(this,e,r,!1,n)};function Ee(t,e,r,n,i){return e=+e,r=r>>>0,i||ve(t,e,r,8,17976931348623157e292,-17976931348623157e292),M.write(t,e,r,n,52,8),r+8}s.prototype.writeDoubleLE=function(e,r,n){return Ee(this,e,r,!0,n)};s.prototype.writeDoubleBE=function(e,r,n){return Ee(this,e,r,!1,n)};s.prototype.copy=function(e,r,n,i){if(!s.isBuffer(e))throw new TypeError("argument should be a Buffer");if(n||(n=0),!i&&i!==0&&(i=this.length),r>=e.length&&(r=e.length),r||(r=0),i>0&&i<n&&(i=n),i===n||e.length===0||this.length===0)return 0;if(r<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw new RangeError("Index out of range");if(i<0)throw new RangeError("sourceEnd out of bounds");i>this.length&&(i=this.length),e.length-r<i-n&&(i=e.length-r+n);var o=i-n;return this===e&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(r,n,i):Uint8Array.prototype.set.call(e,this.subarray(n,i),r),o};s.prototype.fill=function(e,r,n,i){if(typeof e=="string"){if(typeof r=="string"?(i=r,r=0,n=this.length):typeof n=="string"&&(i=n,n=this.length),i!==void 0&&typeof i!="string")throw new TypeError("encoding must be a string");if(typeof i=="string"&&!s.isEncoding(i))throw new TypeError("Unknown encoding: "+i);if(e.length===1){var o=e.charCodeAt(0);(i==="utf8"&&o<128||i==="latin1")&&(e=o)}}else typeof e=="number"?e=e&255:typeof e=="boolean"&&(e=Number(e));if(r<0||this.length<r||this.length<n)throw new RangeError("Out of range index");if(n<=r)return this;r=r>>>0,n=n===void 0?this.length:n>>>0,e||(e=0);var a;if(typeof e=="number")for(a=r;a<n;++a)this[a]=e;else{var l=s.isBuffer(e)?e:s.from(e,i),p=l.length;if(p===0)throw new TypeError('The value "'+e+'" is invalid for argument "value"');for(a=0;a<n-r;++a)this[a+r]=l[a%p]}return this};var Rr=/[^+/0-9A-Za-z-_]/g;function Sr(t){if(t=t.split("=")[0],t=t.trim().replace(Rr,""),t.length<2)return"";for(;t.length%4!==0;)t=t+"=";return t}function te(t,e){e=e||1/0;for(var r,n=t.length,i=null,o=[],a=0;a<n;++a){if(r=t.charCodeAt(a),r>55295&&r<57344){if(!i){if(r>56319){(e-=3)>-1&&o.push(239,191,189);continue}else if(a+1===n){(e-=3)>-1&&o.push(239,191,189);continue}i=r;continue}if(r<56320){(e-=3)>-1&&o.push(239,191,189),i=r;continue}r=(i-55296<<10|r-56320)+65536}else i&&(e-=3)>-1&&o.push(239,191,189);if(i=null,r<128){if((e-=1)<0)break;o.push(r)}else if(r<2048){if((e-=2)<0)break;o.push(r>>6|192,r&63|128)}else if(r<65536){if((e-=3)<0)break;o.push(r>>12|224,r>>6&63|128,r&63|128)}else if(r<1114112){if((e-=4)<0)break;o.push(r>>18|240,r>>12&63|128,r>>6&63|128,r&63|128)}else throw new Error("Invalid code point")}return o}function Lr(t){for(var e=[],r=0;r<t.length;++r)e.push(t.charCodeAt(r)&255);return e}function Dr(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 Ie(t){return J.toByteArray(Sr(t))}function Y(t,e,r,n){for(var i=0;i<n&&!(i+r>=e.length||i>=t.length);++i)e[i+r]=t[i];return i}function k(t,e){return t instanceof e||t!=null&&t.constructor!=null&&t.constructor.name!=null&&t.constructor.name===e.name}function oe(t){return t!==t}var Nr=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 Ne=H((jr,De)=>{c();var y=De.exports={},E,I;function ae(){throw new Error("setTimeout has not been defined")}function se(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?E=setTimeout:E=ae}catch(t){E=ae}try{typeof clearTimeout=="function"?I=clearTimeout:I=se}catch(t){I=se}})();function Re(t){if(E===setTimeout)return setTimeout(t,0);if((E===ae||!E)&&setTimeout)return E=setTimeout,setTimeout(t,0);try{return E(t,0)}catch(e){try{return E.call(null,t,0)}catch(r){return E.call(this,t,0)}}}function Fr(t){if(I===clearTimeout)return clearTimeout(t);if((I===se||!I)&&clearTimeout)return I=clearTimeout,clearTimeout(t);try{return I(t)}catch(e){try{return I.call(null,t)}catch(r){return I.call(this,t)}}}var S=[],z=!1,U,X=-1;function Cr(){!z||!U||(z=!1,U.length?S=U.concat(S):X=-1,S.length&&Se())}function Se(){if(!z){var t=Re(Cr);z=!0;for(var e=S.length;e;){for(U=S,S=[];++X<e;)U&&U[X].run();X=-1,e=S.length}U=null,z=!1,Fr(t)}}y.nextTick=function(t){var e=new Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)e[r-1]=arguments[r];S.push(new Le(t,e)),S.length===1&&!z&&Re(Se)};function Le(t,e){this.fun=t,this.array=e}Le.prototype.run=function(){this.fun.apply(null,this.array)};y.title="browser";y.browser=!0;y.env={};y.argv=[];y.version="";y.versions={};function L(){}y.on=L;y.addListener=L;y.once=L;y.off=L;y.removeListener=L;y.removeAllListeners=L;y.emit=L;y.prependListener=L;y.prependOnceListener=L;y.listeners=function(t){return[]};y.binding=function(t){throw new Error("process.binding is not supported")};y.cwd=function(){return"/"};y.chdir=function(t){throw new Error("process.chdir is not supported")};y.umask=function(){return 0}});var m,f,Yr,c=er(()=>{m=V(Ae()),f=V(Ne()),Yr=function(t){function e(){var n=this||self;return delete t.prototype.__magic__,n}if(typeof globalThis=="object")return globalThis;if(this)return e();t.defineProperty(t.prototype,"__magic__",{configurable:!0,get:e});var r=__magic__;return r}(Object)});var zr={};rr(zr,{DataDecode:()=>Gr});module.exports=tr(zr);c();var N=V(require("react")),qe=require("@fortawesome/free-solid-svg-icons"),je=require("@fortawesome/react-fontawesome"),Ye=V(require("classnames"));c();c();c();c();c();c();c();c();c();c();c();var P=(i=>(i.raw="raw",i.text="text",i.decimal="decimal",i.smart="smart",i))(P||{});c();c();var ce={devnet:{id:"devnet",chainId:"D",name:"Devnet",egldLabel:"xEGLD",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"https://maiar.page.link/?apn=com.elrond.maiar.wallet&isi=1519405832&ibi=com.elrond.maiar.wallet&link=https://xportal.com/",walletConnectBridgeAddresses:["https://bridge.walletconnect.org"],walletConnectV2RelayAddresses:["wss://relay.walletconnect.com"],walletAddress:"https://devnet-wallet.multiversx.com",apiAddress:"https://devnet-api.multiversx.com",explorerAddress:"http://devnet-explorer.multiversx.com",apiTimeout:"4000"},testnet:{id:"testnet",chainId:"T",name:"Testnet",egldLabel:"xEGLD",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"https://maiar.page.link/?apn=com.elrond.maiar.wallet&isi=1519405832&ibi=com.elrond.maiar.wallet&link=https://xportal.com/",walletConnectBridgeAddresses:["https://bridge.walletconnect.org"],walletConnectV2RelayAddresses:["wss://relay.walletconnect.com"],walletAddress:"https://testnet-wallet.multiversx.com",apiAddress:"https://testnet-api.multiversx.com",explorerAddress:"http://testnet-explorer.multiversx.com",apiTimeout:"4000"},mainnet:{id:"mainnet",chainId:"1",name:"Mainnet",egldLabel:"EGLD",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"https://maiar.page.link/?apn=com.elrond.maiar.wallet&isi=1519405832&ibi=com.elrond.maiar.wallet&link=https://xportal.com/",walletConnectBridgeAddresses:["https://bridge.walletconnect.org"],walletConnectV2RelayAddresses:["wss://relay.walletconnect.com"],walletAddress:"https://wallet.multiversx.com",apiAddress:"https://api.multiversx.com",explorerAddress:"https://explorer.multiversx.com",apiTimeout:"4000"}},{chainId:Fe,egldLabel:dt}=ce["devnet"],{chainId:Ce,egldLabel:mt}=ce["testnet"],{chainId:Be,egldLabel:gt}=ce["mainnet"];var ft={["devnet"]:Fe,["testnet"]:Ce,["mainnet"]:Be},ht={[Fe]:"devnet",[Ce]:"testnet",[Be]:"mainnet"};c();c();c();c();var A=require("@multiversx/sdk-web-wallet-provider");var Ue="N/A";c();var Q=require("react");c();c();c();var Ge=require("@multiversx/sdk-core/out"),le=V(require("bignumber.js"));c();var Pe=require("@multiversx/sdk-core");function Br(t){try{let e=new Pe.Address(t);return Boolean(e.bech32())}catch(e){return!1}}function Oe(t){return(t==null?void 0:t.startsWith("erd"))&&t.length===62&&/^\w+$/.test(t)&&Br(t)}c();function Me(t){for(let e=0;e<t.length;e++)if(t.charCodeAt(e)>127)return!1;return!0}var D=(t,e,r)=>{switch(e){case"text":try{return m.Buffer.from(String(t),"hex").toString("utf8")}catch(i){}return t;case"decimal":return new le.default(t,16).toString(10);case"smart":try{let i=Ge.Address.fromHex(t).toString();if(Oe(i))return i}catch(i){}try{let i=m.Buffer.from(String(t),"hex").toString("utf8");return Me(i)||r&&[...r.esdts,...r.nfts].some(l=>i.includes(l))?i:new le.default(t,16).toString(10)}catch(i){}return t;case"raw":default:return t}};c();c();var Ur=t=>t.toLowerCase().match(/[0-9a-f]/g),Pr=t=>t.length%2===0,ze=t=>{let e=[];return t&&!Ur(t)&&e.push(`Invalid Hex characters on argument @${t}`),t&&!Pr(t)&&e.push(`Odd number of Hex characters on argument @${t}`),e};c();var K=({parts:t,decodedParts:e,identifier:r})=>{let n=[...e];if(t[0]==="ESDTNFTTransfer"&&t[2]&&(n[2]=D(t[2],"decimal")),r==="ESDTNFTTransfer"&&t[1]){let i=m.Buffer.from(String(t[1]),"base64");n[1]=D(i.toString("hex"),"decimal")}return n};var Ve=({parts:t,decodeMethod:e,identifier:r})=>{let n=[],i=t.map((a,l)=>{if(t.length>=2&&(l===0&&a.length<64||l===1&&!t[0]))return/[^a-z0-9]/gi.test(a)?D(a,e):a;{let p=ze(a);return p.length&&(n=p),D(a,e)}});return{displayValue:(e==="smart"?K({parts:t,decodedParts:i,identifier:r}):i).join("@"),validationWarnings:n}};var We=({input:t,decodeMethod:e,identifier:r})=>{let n={displayValue:"",validationWarnings:[]};if(!(t.includes("@")||t.includes(`
|
|
2
2
|
`)))return n.displayValue=D(t,e),n;if(t.includes("@")){let o=t.split("@");n=Ve({parts:o,decodeMethod:e,identifier:r})}if(t.includes(`
|
|
3
3
|
`)){let o=t.split(`
|
|
4
4
|
`),a=o.map(p=>{let u=m.Buffer.from(String(p),"base64");return e==="raw"?p:D(u.toString("hex"),e)}),l=e==="smart"?K({parts:o,decodedParts:a,identifier:r}):a;n.displayValue=l.join(`
|
|
5
|
-
`)}return n};var Or=[{label:"Raw",value:"raw"},{label:"Text",value:"text"},{label:"Decimal",value:"decimal"},{label:"Smart",value:"smart"}],
|
|
5
|
+
`)}return n};var Or=[{label:"Raw",value:"raw"},{label:"Text",value:"text"},{label:"Decimal",value:"decimal"},{label:"Smart",value:"smart"}],He=({value:t,initialDecodeMethod:e,setDecodeMethod:r,identifier:n})=>{let[i,o]=(0,Q.useState)(e&&Object.values(P).includes(e)?e:"raw"),{displayValue:a,validationWarnings:l}=We({input:t,decodeMethod:i,identifier:n});return(0,Q.useEffect)(()=>{r&&r(i)},[i]),{displayValue:a,validationWarnings:l,setActiveKey:o,decodeOptions:Or}};c();var Mr=`.dapp-core-component__styles__decode {
|
|
6
6
|
margin-top: 0.25rem;
|
|
7
7
|
position: relative;
|
|
8
8
|
max-width: 100%;
|
|
@@ -136,7 +136,7 @@
|
|
|
136
136
|
}
|
|
137
137
|
.dapp-core-component__styles__decode .dapp-core-component__styles__warnings .dapp-core-component__styles__warning {
|
|
138
138
|
color: #f0ad4e;
|
|
139
|
-
}`;document.head.appendChild(document.createElement("style")).appendChild(document.createTextNode(Mr));var F={decode:"dapp-core-component__styles__decode",textarea:"dapp-core-component__styles__textarea",select:"dapp-core-component__styles__select",dropdown:"dapp-core-component__styles__dropdown",warnings:"dapp-core-component__styles__warnings",icon:"dapp-core-component__styles__icon",warning:"dapp-core-component__styles__warning"};var Gr=t=>{let{className:e,value:r}=t,{displayValue:n,validationWarnings:i,setActiveKey:o,decodeOptions:a}=
|
|
139
|
+
}`;document.head.appendChild(document.createElement("style")).appendChild(document.createTextNode(Mr));var F={decode:"dapp-core-component__styles__decode",textarea:"dapp-core-component__styles__textarea",select:"dapp-core-component__styles__select",dropdown:"dapp-core-component__styles__dropdown",warnings:"dapp-core-component__styles__warnings",icon:"dapp-core-component__styles__icon",warning:"dapp-core-component__styles__warning"};var Gr=t=>{let{className:e,value:r}=t,{displayValue:n,validationWarnings:i,setActiveKey:o,decodeOptions:a}=He(t),l=r&&r!==Ue,p=u=>u?o(u.target.value):"raw";return N.default.createElement("div",{className:F.decode},N.default.createElement("div",{className:(0,Ye.default)(F.textarea,e)},n),l&&N.default.createElement("div",{className:F.select},N.default.createElement("select",{className:F.dropdown,onChange:p},a.map(u=>N.default.createElement("option",{key:u.value,value:u.value},u.label)))),i.map((u,g)=>N.default.createElement("div",{key:g,className:F.warnings},N.default.createElement(je.FontAwesomeIcon,{icon:qe.faExclamationTriangle,className:F.icon,size:"xs"}),N.default.createElement("small",{className:F.warning},u))))};0&&(module.exports={DataDecode});
|
|
140
140
|
/*!
|
|
141
141
|
* The buffer module from node.js, for the browser.
|
|
142
142
|
*
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
"use strict";var Ke=Object.create;var W=Object.defineProperty;var Qe=Object.getOwnPropertyDescriptor;var Ze=Object.getOwnPropertyNames;var $e=Object.getPrototypeOf,Je=Object.prototype.hasOwnProperty;var er=(t,e)=>()=>(t&&(e=t(t=0)),e);var q=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),rr=(t,e)=>{for(var r in e)W(t,r,{get:e[r],enumerable:!0})},pe=(t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of Ze(e))!Je.call(t,i)&&i!==r&&W(t,i,{get:()=>e[i],enumerable:!(n=Qe(e,i))||n.enumerable});return t};var V=(t,e,r)=>(r=t!=null?Ke($e(t)):{},pe(e||!t||!t.__esModule?W(r,"default",{value:t,enumerable:!0}):r,t)),tr=t=>pe(W({},"__esModule",{value:!0}),t);var me=q(H=>{"use strict";c();H.byteLength=ir;H.toByteArray=ar;H.fromByteArray=lr;var v=[],b=[],nr=typeof Uint8Array!="undefined"?Uint8Array:Array,Z="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(C=0,ue=Z.length;C<ue;++C)v[C]=Z[C],b[Z.charCodeAt(C)]=C;var C,ue;b["-".charCodeAt(0)]=62;b["_".charCodeAt(0)]=63;function de(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 ir(t){var e=de(t),r=e[0],n=e[1];return(r+n)*3/4-n}function or(t,e,r){return(e+r)*3/4-r}function ar(t){var e,r=de(t),n=r[0],i=r[1],o=new nr(or(t,n,i)),a=0,l=i>0?n-4:n,p;for(p=0;p<l;p+=4)e=b[t.charCodeAt(p)]<<18|b[t.charCodeAt(p+1)]<<12|b[t.charCodeAt(p+2)]<<6|b[t.charCodeAt(p+3)],o[a++]=e>>16&255,o[a++]=e>>8&255,o[a++]=e&255;return i===2&&(e=b[t.charCodeAt(p)]<<2|b[t.charCodeAt(p+1)]>>4,o[a++]=e&255),i===1&&(e=b[t.charCodeAt(p)]<<10|b[t.charCodeAt(p+1)]<<4|b[t.charCodeAt(p+2)]>>2,o[a++]=e>>8&255,o[a++]=e&255),o}function sr(t){return v[t>>18&63]+v[t>>12&63]+v[t>>6&63]+v[t&63]}function cr(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(sr(n));return i.join("")}function lr(t){for(var e,r=t.length,n=r%3,i=[],o=16383,a=0,l=r-n;a<l;a+=o)i.push(cr(t,a,a+o>l?l:a+o));return n===1?(e=t[r-1],i.push(v[e>>2]+v[e<<4&63]+"==")):n===2&&(e=(t[r-2]<<8)+t[r-1],i.push(v[e>>10]+v[e>>4&63]+v[e<<2&63]+"=")),i.join("")}});var ge=q($=>{c();$.read=function(t,e,r,n,i){var o,a,l=i*8-n-1,p=(1<<l)-1,u=p>>1,g=-7,m=r?i-1:0,T=r?-1:1,_=t[e+m];for(m+=T,o=_&(1<<-g)-1,_>>=-g,g+=l;g>0;o=o*256+t[e+m],m+=T,g-=8);for(a=o&(1<<-g)-1,o>>=-g,g+=n;g>0;a=a*256+t[e+m],m+=T,g-=8);if(o===0)o=1-u;else{if(o===p)return a?NaN:(_?-1:1)*(1/0);a=a+Math.pow(2,n),o=o-u}return(_?-1:1)*a*Math.pow(2,o-n)};$.write=function(t,e,r,n,i,o){var a,l,p,u=o*8-i-1,g=(1<<u)-1,m=g>>1,T=i===23?Math.pow(2,-24)-Math.pow(2,-77):0,_=n?0:o-1,O=n?1:-1,Xe=e<0||e===0&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(l=isNaN(e)?1:0,a=g):(a=Math.floor(Math.log(e)/Math.LN2),e*(p=Math.pow(2,-a))<1&&(a--,p*=2),a+m>=1?e+=T/p:e+=T*Math.pow(2,1-m),e*p>=2&&(a++,p/=2),a+m>=g?(l=0,a=g):a+m>=1?(l=(e*p-1)*Math.pow(2,i),a=a+m):(l=e*Math.pow(2,m-1)*Math.pow(2,i),a=0));i>=8;t[r+_]=l&255,_+=O,l/=256,i-=8);for(a=a<<i|l,u+=i;u>0;t[r+_]=a&255,_+=O,a/=256,u-=8);t[r+_-O]|=Xe*128}});var Ae=q(G=>{"use strict";c();var J=me(),M=ge(),fe=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;G.Buffer=s;G.SlowBuffer=fr;G.INSPECT_MAX_BYTES=50;var j=2147483647;G.kMaxLength=j;s.TYPED_ARRAY_SUPPORT=pr();!s.TYPED_ARRAY_SUPPORT&&typeof console!="undefined"&&typeof console.error=="function"&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function pr(){try{var t=new Uint8Array(1),e={foo:function(){return 42}};return Object.setPrototypeOf(e,Uint8Array.prototype),Object.setPrototypeOf(t,e),t.foo()===42}catch(r){return!1}}Object.defineProperty(s.prototype,"parent",{enumerable:!0,get:function(){if(!!s.isBuffer(this))return this.buffer}});Object.defineProperty(s.prototype,"offset",{enumerable:!0,get:function(){if(!!s.isBuffer(this))return this.byteOffset}});function R(t){if(t>j)throw new RangeError('The value "'+t+'" is invalid for option "size"');var e=new Uint8Array(t);return Object.setPrototypeOf(e,s.prototype),e}function s(t,e,r){if(typeof t=="number"){if(typeof e=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return ne(t)}return xe(t,e,r)}s.poolSize=8192;function xe(t,e,r){if(typeof t=="string")return dr(t,e);if(ArrayBuffer.isView(t))return mr(t);if(t==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t);if(k(t,ArrayBuffer)||t&&k(t.buffer,ArrayBuffer)||typeof SharedArrayBuffer!="undefined"&&(k(t,SharedArrayBuffer)||t&&k(t.buffer,SharedArrayBuffer)))return re(t,e,r);if(typeof t=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var n=t.valueOf&&t.valueOf();if(n!=null&&n!==t)return s.from(n,e,r);var i=gr(t);if(i)return i;if(typeof Symbol!="undefined"&&Symbol.toPrimitive!=null&&typeof t[Symbol.toPrimitive]=="function")return s.from(t[Symbol.toPrimitive]("string"),e,r);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t)}s.from=function(t,e,r){return xe(t,e,r)};Object.setPrototypeOf(s.prototype,Uint8Array.prototype);Object.setPrototypeOf(s,Uint8Array);function we(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 ur(t,e,r){return we(t),t<=0?R(t):e!==void 0?typeof r=="string"?R(t).fill(e,r):R(t).fill(e):R(t)}s.alloc=function(t,e,r){return ur(t,e,r)};function ne(t){return we(t),R(t<0?0:ie(t)|0)}s.allocUnsafe=function(t){return ne(t)};s.allocUnsafeSlow=function(t){return ne(t)};function dr(t,e){if((typeof e!="string"||e==="")&&(e="utf8"),!s.isEncoding(e))throw new TypeError("Unknown encoding: "+e);var r=_e(t,e)|0,n=R(r),i=n.write(t,e);return i!==r&&(n=n.slice(0,i)),n}function ee(t){for(var e=t.length<0?0:ie(t.length)|0,r=R(e),n=0;n<e;n+=1)r[n]=t[n]&255;return r}function mr(t){if(k(t,Uint8Array)){var e=new Uint8Array(t);return re(e.buffer,e.byteOffset,e.byteLength)}return ee(t)}function re(t,e,r){if(e<0||t.byteLength<e)throw new RangeError('"offset" is outside of buffer bounds');if(t.byteLength<e+(r||0))throw new RangeError('"length" is outside of buffer bounds');var n;return e===void 0&&r===void 0?n=new Uint8Array(t):r===void 0?n=new Uint8Array(t,e):n=new Uint8Array(t,e,r),Object.setPrototypeOf(n,s.prototype),n}function gr(t){if(s.isBuffer(t)){var e=ie(t.length)|0,r=R(e);return r.length===0||t.copy(r,0,0,e),r}if(t.length!==void 0)return typeof t.length!="number"||oe(t.length)?R(0):ee(t);if(t.type==="Buffer"&&Array.isArray(t.data))return ee(t.data)}function ie(t){if(t>=j)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+j.toString(16)+" bytes");return t|0}function fr(t){return+t!=t&&(t=0),s.alloc(+t)}s.isBuffer=function(e){return e!=null&&e._isBuffer===!0&&e!==s.prototype};s.compare=function(e,r){if(k(e,Uint8Array)&&(e=s.from(e,e.offset,e.byteLength)),k(r,Uint8Array)&&(r=s.from(r,r.offset,r.byteLength)),!s.isBuffer(e)||!s.isBuffer(r))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(e===r)return 0;for(var n=e.length,i=r.length,o=0,a=Math.min(n,i);o<a;++o)if(e[o]!==r[o]){n=e[o],i=r[o];break}return n<i?-1:i<n?1:0};s.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}};s.concat=function(e,r){if(!Array.isArray(e))throw new TypeError('"list" argument must be an Array of Buffers');if(e.length===0)return s.alloc(0);var n;if(r===void 0)for(r=0,n=0;n<e.length;++n)r+=e[n].length;var i=s.allocUnsafe(r),o=0;for(n=0;n<e.length;++n){var a=e[n];if(k(a,Uint8Array))o+a.length>i.length?s.from(a).copy(i,o):Uint8Array.prototype.set.call(i,a,o);else if(s.isBuffer(a))a.copy(i,o);else throw new TypeError('"list" argument must be an Array of Buffers');o+=a.length}return i};function _e(t,e){if(s.isBuffer(t))return t.length;if(ArrayBuffer.isView(t)||k(t,ArrayBuffer))return t.byteLength;if(typeof t!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof t);var r=t.length,n=arguments.length>2&&arguments[2]===!0;if(!n&&r===0)return 0;for(var i=!1;;)switch(e){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":return te(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return r*2;case"hex":return r>>>1;case"base64":return Ie(t).length;default:if(i)return n?-1:te(t).length;e=(""+e).toLowerCase(),i=!0}}s.byteLength=_e;function hr(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 Ir(this,e,r);case"utf8":case"utf-8":return Te(this,e,r);case"ascii":return kr(this,e,r);case"latin1":case"binary":return Er(this,e,r);case"base64":return Tr(this,e,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Ar(this,e,r);default:if(n)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),n=!0}}s.prototype._isBuffer=!0;function B(t,e,r){var n=t[e];t[e]=t[r],t[r]=n}s.prototype.swap16=function(){var e=this.length;if(e%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var r=0;r<e;r+=2)B(this,r,r+1);return this};s.prototype.swap32=function(){var e=this.length;if(e%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var r=0;r<e;r+=4)B(this,r,r+3),B(this,r+1,r+2);return this};s.prototype.swap64=function(){var e=this.length;if(e%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var r=0;r<e;r+=8)B(this,r,r+7),B(this,r+1,r+6),B(this,r+2,r+5),B(this,r+3,r+4);return this};s.prototype.toString=function(){var e=this.length;return e===0?"":arguments.length===0?Te(this,0,e):hr.apply(this,arguments)};s.prototype.toLocaleString=s.prototype.toString;s.prototype.equals=function(e){if(!s.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e?!0:s.compare(this,e)===0};s.prototype.inspect=function(){var e="",r=G.INSPECT_MAX_BYTES;return e=this.toString("hex",0,r).replace(/(.{2})/g,"$1 ").trim(),this.length>r&&(e+=" ... "),"<Buffer "+e+">"};fe&&(s.prototype[fe]=s.prototype.inspect);s.prototype.compare=function(e,r,n,i,o){if(k(e,Uint8Array)&&(e=s.from(e,e.offset,e.byteLength)),!s.isBuffer(e))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof e);if(r===void 0&&(r=0),n===void 0&&(n=e?e.length:0),i===void 0&&(i=0),o===void 0&&(o=this.length),r<0||n>e.length||i<0||o>this.length)throw new RangeError("out of range index");if(i>=o&&r>=n)return 0;if(i>=o)return-1;if(r>=n)return 1;if(r>>>=0,n>>>=0,i>>>=0,o>>>=0,this===e)return 0;for(var a=o-i,l=n-r,p=Math.min(a,l),u=this.slice(i,o),g=e.slice(r,n),m=0;m<p;++m)if(u[m]!==g[m]){a=u[m],l=g[m];break}return a<l?-1:l<a?1:0};function be(t,e,r,n,i){if(t.length===0)return-1;if(typeof r=="string"?(n=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),r=+r,oe(r)&&(r=i?0:t.length-1),r<0&&(r=t.length+r),r>=t.length){if(i)return-1;r=t.length-1}else if(r<0)if(i)r=0;else return-1;if(typeof e=="string"&&(e=s.from(e,n)),s.isBuffer(e))return e.length===0?-1:he(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):he(t,[e],r,n,i);throw new TypeError("val must be string, number or Buffer")}function he(t,e,r,n,i){var o=1,a=t.length,l=e.length;if(n!==void 0&&(n=String(n).toLowerCase(),n==="ucs2"||n==="ucs-2"||n==="utf16le"||n==="utf-16le")){if(t.length<2||e.length<2)return-1;o=2,a/=2,l/=2,r/=2}function p(_,O){return o===1?_[O]:_.readUInt16BE(O*o)}var u;if(i){var g=-1;for(u=r;u<a;u++)if(p(t,u)===p(e,g===-1?0:u-g)){if(g===-1&&(g=u),u-g+1===l)return g*o}else g!==-1&&(u-=u-g),g=-1}else for(r+l>a&&(r=a-l),u=r;u>=0;u--){for(var m=!0,T=0;T<l;T++)if(p(t,u+T)!==p(e,T)){m=!1;break}if(m)return u}return-1}s.prototype.includes=function(e,r,n){return this.indexOf(e,r,n)!==-1};s.prototype.indexOf=function(e,r,n){return be(this,e,r,n,!0)};s.prototype.lastIndexOf=function(e,r,n){return be(this,e,r,n,!1)};function yr(t,e,r,n){r=Number(r)||0;var i=t.length-r;n?(n=Number(n),n>i&&(n=i)):n=i;var o=e.length;n>o/2&&(n=o/2);for(var a=0;a<n;++a){var l=parseInt(e.substr(a*2,2),16);if(oe(l))return a;t[r+a]=l}return a}function xr(t,e,r,n){return Y(te(e,t.length-r),t,r,n)}function wr(t,e,r,n){return Y(Lr(e),t,r,n)}function _r(t,e,r,n){return Y(Ie(e),t,r,n)}function br(t,e,r,n){return Y(Dr(e,t.length-r),t,r,n)}s.prototype.write=function(e,r,n,i){if(r===void 0)i="utf8",n=this.length,r=0;else if(n===void 0&&typeof r=="string")i=r,n=this.length,r=0;else if(isFinite(r))r=r>>>0,isFinite(n)?(n=n>>>0,i===void 0&&(i="utf8")):(i=n,n=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var o=this.length-r;if((n===void 0||n>o)&&(n=o),e.length>0&&(n<0||r<0)||r>this.length)throw new RangeError("Attempt to write outside buffer bounds");i||(i="utf8");for(var a=!1;;)switch(i){case"hex":return yr(this,e,r,n);case"utf8":case"utf-8":return xr(this,e,r,n);case"ascii":case"latin1":case"binary":return wr(this,e,r,n);case"base64":return _r(this,e,r,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return br(this,e,r,n);default:if(a)throw new TypeError("Unknown encoding: "+i);i=(""+i).toLowerCase(),a=!0}};s.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function Tr(t,e,r){return e===0&&r===t.length?J.fromByteArray(t):J.fromByteArray(t.slice(e,r))}function Te(t,e,r){r=Math.min(t.length,r);for(var n=[],i=e;i<r;){var o=t[i],a=null,l=o>239?4:o>223?3:o>191?2:1;if(i+l<=r){var p,u,g,m;switch(l){case 1:o<128&&(a=o);break;case 2:p=t[i+1],(p&192)===128&&(m=(o&31)<<6|p&63,m>127&&(a=m));break;case 3:p=t[i+1],u=t[i+2],(p&192)===128&&(u&192)===128&&(m=(o&15)<<12|(p&63)<<6|u&63,m>2047&&(m<55296||m>57343)&&(a=m));break;case 4:p=t[i+1],u=t[i+2],g=t[i+3],(p&192)===128&&(u&192)===128&&(g&192)===128&&(m=(o&15)<<18|(p&63)<<12|(u&63)<<6|g&63,m>65535&&m<1114112&&(a=m))}}a===null?(a=65533,l=1):a>65535&&(a-=65536,n.push(a>>>10&1023|55296),a=56320|a&1023),n.push(a),i+=l}return vr(n)}var ye=4096;function vr(t){var e=t.length;if(e<=ye)return String.fromCharCode.apply(String,t);for(var r="",n=0;n<e;)r+=String.fromCharCode.apply(String,t.slice(n,n+=ye));return r}function kr(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 Er(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 Ir(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+=Nr[t[o]];return i}function Ar(t,e,r){for(var n=t.slice(e,r),i="",o=0;o<n.length-1;o+=2)i+=String.fromCharCode(n[o]+n[o+1]*256);return i}s.prototype.slice=function(e,r){var n=this.length;e=~~e,r=r===void 0?n:~~r,e<0?(e+=n,e<0&&(e=0)):e>n&&(e=n),r<0?(r+=n,r<0&&(r=0)):r>n&&(r=n),r<e&&(r=e);var i=this.subarray(e,r);return Object.setPrototypeOf(i,s.prototype),i};function x(t,e,r){if(t%1!==0||t<0)throw new RangeError("offset is not uint");if(t+e>r)throw new RangeError("Trying to access beyond buffer length")}s.prototype.readUintLE=s.prototype.readUIntLE=function(e,r,n){e=e>>>0,r=r>>>0,n||x(e,r,this.length);for(var i=this[e],o=1,a=0;++a<r&&(o*=256);)i+=this[e+a]*o;return i};s.prototype.readUintBE=s.prototype.readUIntBE=function(e,r,n){e=e>>>0,r=r>>>0,n||x(e,r,this.length);for(var i=this[e+--r],o=1;r>0&&(o*=256);)i+=this[e+--r]*o;return i};s.prototype.readUint8=s.prototype.readUInt8=function(e,r){return e=e>>>0,r||x(e,1,this.length),this[e]};s.prototype.readUint16LE=s.prototype.readUInt16LE=function(e,r){return e=e>>>0,r||x(e,2,this.length),this[e]|this[e+1]<<8};s.prototype.readUint16BE=s.prototype.readUInt16BE=function(e,r){return e=e>>>0,r||x(e,2,this.length),this[e]<<8|this[e+1]};s.prototype.readUint32LE=s.prototype.readUInt32LE=function(e,r){return e=e>>>0,r||x(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+this[e+3]*16777216};s.prototype.readUint32BE=s.prototype.readUInt32BE=function(e,r){return e=e>>>0,r||x(e,4,this.length),this[e]*16777216+(this[e+1]<<16|this[e+2]<<8|this[e+3])};s.prototype.readIntLE=function(e,r,n){e=e>>>0,r=r>>>0,n||x(e,r,this.length);for(var i=this[e],o=1,a=0;++a<r&&(o*=256);)i+=this[e+a]*o;return o*=128,i>=o&&(i-=Math.pow(2,8*r)),i};s.prototype.readIntBE=function(e,r,n){e=e>>>0,r=r>>>0,n||x(e,r,this.length);for(var i=r,o=1,a=this[e+--i];i>0&&(o*=256);)a+=this[e+--i]*o;return o*=128,a>=o&&(a-=Math.pow(2,8*r)),a};s.prototype.readInt8=function(e,r){return e=e>>>0,r||x(e,1,this.length),this[e]&128?(255-this[e]+1)*-1:this[e]};s.prototype.readInt16LE=function(e,r){e=e>>>0,r||x(e,2,this.length);var n=this[e]|this[e+1]<<8;return n&32768?n|4294901760:n};s.prototype.readInt16BE=function(e,r){e=e>>>0,r||x(e,2,this.length);var n=this[e+1]|this[e]<<8;return n&32768?n|4294901760:n};s.prototype.readInt32LE=function(e,r){return e=e>>>0,r||x(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24};s.prototype.readInt32BE=function(e,r){return e=e>>>0,r||x(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]};s.prototype.readFloatLE=function(e,r){return e=e>>>0,r||x(e,4,this.length),M.read(this,e,!0,23,4)};s.prototype.readFloatBE=function(e,r){return e=e>>>0,r||x(e,4,this.length),M.read(this,e,!1,23,4)};s.prototype.readDoubleLE=function(e,r){return e=e>>>0,r||x(e,8,this.length),M.read(this,e,!0,52,8)};s.prototype.readDoubleBE=function(e,r){return e=e>>>0,r||x(e,8,this.length),M.read(this,e,!1,52,8)};function w(t,e,r,n,i,o){if(!s.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>i||e<o)throw new RangeError('"value" argument is out of bounds');if(r+n>t.length)throw new RangeError("Index out of range")}s.prototype.writeUintLE=s.prototype.writeUIntLE=function(e,r,n,i){if(e=+e,r=r>>>0,n=n>>>0,!i){var o=Math.pow(2,8*n)-1;w(this,e,r,n,o,0)}var a=1,l=0;for(this[r]=e&255;++l<n&&(a*=256);)this[r+l]=e/a&255;return r+n};s.prototype.writeUintBE=s.prototype.writeUIntBE=function(e,r,n,i){if(e=+e,r=r>>>0,n=n>>>0,!i){var o=Math.pow(2,8*n)-1;w(this,e,r,n,o,0)}var a=n-1,l=1;for(this[r+a]=e&255;--a>=0&&(l*=256);)this[r+a]=e/l&255;return r+n};s.prototype.writeUint8=s.prototype.writeUInt8=function(e,r,n){return e=+e,r=r>>>0,n||w(this,e,r,1,255,0),this[r]=e&255,r+1};s.prototype.writeUint16LE=s.prototype.writeUInt16LE=function(e,r,n){return e=+e,r=r>>>0,n||w(this,e,r,2,65535,0),this[r]=e&255,this[r+1]=e>>>8,r+2};s.prototype.writeUint16BE=s.prototype.writeUInt16BE=function(e,r,n){return e=+e,r=r>>>0,n||w(this,e,r,2,65535,0),this[r]=e>>>8,this[r+1]=e&255,r+2};s.prototype.writeUint32LE=s.prototype.writeUInt32LE=function(e,r,n){return e=+e,r=r>>>0,n||w(this,e,r,4,4294967295,0),this[r+3]=e>>>24,this[r+2]=e>>>16,this[r+1]=e>>>8,this[r]=e&255,r+4};s.prototype.writeUint32BE=s.prototype.writeUInt32BE=function(e,r,n){return e=+e,r=r>>>0,n||w(this,e,r,4,4294967295,0),this[r]=e>>>24,this[r+1]=e>>>16,this[r+2]=e>>>8,this[r+3]=e&255,r+4};s.prototype.writeIntLE=function(e,r,n,i){if(e=+e,r=r>>>0,!i){var o=Math.pow(2,8*n-1);w(this,e,r,n,o-1,-o)}var a=0,l=1,p=0;for(this[r]=e&255;++a<n&&(l*=256);)e<0&&p===0&&this[r+a-1]!==0&&(p=1),this[r+a]=(e/l>>0)-p&255;return r+n};s.prototype.writeIntBE=function(e,r,n,i){if(e=+e,r=r>>>0,!i){var o=Math.pow(2,8*n-1);w(this,e,r,n,o-1,-o)}var a=n-1,l=1,p=0;for(this[r+a]=e&255;--a>=0&&(l*=256);)e<0&&p===0&&this[r+a+1]!==0&&(p=1),this[r+a]=(e/l>>0)-p&255;return r+n};s.prototype.writeInt8=function(e,r,n){return e=+e,r=r>>>0,n||w(this,e,r,1,127,-128),e<0&&(e=255+e+1),this[r]=e&255,r+1};s.prototype.writeInt16LE=function(e,r,n){return e=+e,r=r>>>0,n||w(this,e,r,2,32767,-32768),this[r]=e&255,this[r+1]=e>>>8,r+2};s.prototype.writeInt16BE=function(e,r,n){return e=+e,r=r>>>0,n||w(this,e,r,2,32767,-32768),this[r]=e>>>8,this[r+1]=e&255,r+2};s.prototype.writeInt32LE=function(e,r,n){return e=+e,r=r>>>0,n||w(this,e,r,4,2147483647,-2147483648),this[r]=e&255,this[r+1]=e>>>8,this[r+2]=e>>>16,this[r+3]=e>>>24,r+4};s.prototype.writeInt32BE=function(e,r,n){return e=+e,r=r>>>0,n||w(this,e,r,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),this[r]=e>>>24,this[r+1]=e>>>16,this[r+2]=e>>>8,this[r+3]=e&255,r+4};function ve(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 ke(t,e,r,n,i){return e=+e,r=r>>>0,i||ve(t,e,r,4,34028234663852886e22,-34028234663852886e22),M.write(t,e,r,n,23,4),r+4}s.prototype.writeFloatLE=function(e,r,n){return ke(this,e,r,!0,n)};s.prototype.writeFloatBE=function(e,r,n){return ke(this,e,r,!1,n)};function Ee(t,e,r,n,i){return e=+e,r=r>>>0,i||ve(t,e,r,8,17976931348623157e292,-17976931348623157e292),M.write(t,e,r,n,52,8),r+8}s.prototype.writeDoubleLE=function(e,r,n){return Ee(this,e,r,!0,n)};s.prototype.writeDoubleBE=function(e,r,n){return Ee(this,e,r,!1,n)};s.prototype.copy=function(e,r,n,i){if(!s.isBuffer(e))throw new TypeError("argument should be a Buffer");if(n||(n=0),!i&&i!==0&&(i=this.length),r>=e.length&&(r=e.length),r||(r=0),i>0&&i<n&&(i=n),i===n||e.length===0||this.length===0)return 0;if(r<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw new RangeError("Index out of range");if(i<0)throw new RangeError("sourceEnd out of bounds");i>this.length&&(i=this.length),e.length-r<i-n&&(i=e.length-r+n);var o=i-n;return this===e&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(r,n,i):Uint8Array.prototype.set.call(e,this.subarray(n,i),r),o};s.prototype.fill=function(e,r,n,i){if(typeof e=="string"){if(typeof r=="string"?(i=r,r=0,n=this.length):typeof n=="string"&&(i=n,n=this.length),i!==void 0&&typeof i!="string")throw new TypeError("encoding must be a string");if(typeof i=="string"&&!s.isEncoding(i))throw new TypeError("Unknown encoding: "+i);if(e.length===1){var o=e.charCodeAt(0);(i==="utf8"&&o<128||i==="latin1")&&(e=o)}}else typeof e=="number"?e=e&255:typeof e=="boolean"&&(e=Number(e));if(r<0||this.length<r||this.length<n)throw new RangeError("Out of range index");if(n<=r)return this;r=r>>>0,n=n===void 0?this.length:n>>>0,e||(e=0);var a;if(typeof e=="number")for(a=r;a<n;++a)this[a]=e;else{var l=s.isBuffer(e)?e:s.from(e,i),p=l.length;if(p===0)throw new TypeError('The value "'+e+'" is invalid for argument "value"');for(a=0;a<n-r;++a)this[a+r]=l[a%p]}return this};var Rr=/[^+/0-9A-Za-z-_]/g;function Sr(t){if(t=t.split("=")[0],t=t.trim().replace(Rr,""),t.length<2)return"";for(;t.length%4!==0;)t=t+"=";return t}function te(t,e){e=e||1/0;for(var r,n=t.length,i=null,o=[],a=0;a<n;++a){if(r=t.charCodeAt(a),r>55295&&r<57344){if(!i){if(r>56319){(e-=3)>-1&&o.push(239,191,189);continue}else if(a+1===n){(e-=3)>-1&&o.push(239,191,189);continue}i=r;continue}if(r<56320){(e-=3)>-1&&o.push(239,191,189),i=r;continue}r=(i-55296<<10|r-56320)+65536}else i&&(e-=3)>-1&&o.push(239,191,189);if(i=null,r<128){if((e-=1)<0)break;o.push(r)}else if(r<2048){if((e-=2)<0)break;o.push(r>>6|192,r&63|128)}else if(r<65536){if((e-=3)<0)break;o.push(r>>12|224,r>>6&63|128,r&63|128)}else if(r<1114112){if((e-=4)<0)break;o.push(r>>18|240,r>>12&63|128,r>>6&63|128,r&63|128)}else throw new Error("Invalid code point")}return o}function Lr(t){for(var e=[],r=0;r<t.length;++r)e.push(t.charCodeAt(r)&255);return e}function Dr(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 Ie(t){return J.toByteArray(Sr(t))}function Y(t,e,r,n){for(var i=0;i<n&&!(i+r>=e.length||i>=t.length);++i)e[i+r]=t[i];return i}function k(t,e){return t instanceof e||t!=null&&t.constructor!=null&&t.constructor.name!=null&&t.constructor.name===e.name}function oe(t){return t!==t}var Nr=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 Ne=q((jr,De)=>{c();var y=De.exports={},E,I;function ae(){throw new Error("setTimeout has not been defined")}function se(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?E=setTimeout:E=ae}catch(t){E=ae}try{typeof clearTimeout=="function"?I=clearTimeout:I=se}catch(t){I=se}})();function Re(t){if(E===setTimeout)return setTimeout(t,0);if((E===ae||!E)&&setTimeout)return E=setTimeout,setTimeout(t,0);try{return E(t,0)}catch(e){try{return E.call(null,t,0)}catch(r){return E.call(this,t,0)}}}function Fr(t){if(I===clearTimeout)return clearTimeout(t);if((I===se||!I)&&clearTimeout)return I=clearTimeout,clearTimeout(t);try{return I(t)}catch(e){try{return I.call(null,t)}catch(r){return I.call(this,t)}}}var S=[],z=!1,U,X=-1;function Cr(){!z||!U||(z=!1,U.length?S=U.concat(S):X=-1,S.length&&Se())}function Se(){if(!z){var t=Re(Cr);z=!0;for(var e=S.length;e;){for(U=S,S=[];++X<e;)U&&U[X].run();X=-1,e=S.length}U=null,z=!1,Fr(t)}}y.nextTick=function(t){var e=new Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)e[r-1]=arguments[r];S.push(new Le(t,e)),S.length===1&&!z&&Re(Se)};function Le(t,e){this.fun=t,this.array=e}Le.prototype.run=function(){this.fun.apply(null,this.array)};y.title="browser";y.browser=!0;y.env={};y.argv=[];y.version="";y.versions={};function L(){}y.on=L;y.addListener=L;y.once=L;y.off=L;y.removeListener=L;y.removeAllListeners=L;y.emit=L;y.prependListener=L;y.prependOnceListener=L;y.listeners=function(t){return[]};y.binding=function(t){throw new Error("process.binding is not supported")};y.cwd=function(){return"/"};y.chdir=function(t){throw new Error("process.chdir is not supported")};y.umask=function(){return 0}});var d,f,Yr,c=er(()=>{d=V(Ae()),f=V(Ne()),Yr=function(t){function e(){var n=this||self;return delete t.prototype.__magic__,n}if(typeof globalThis=="object")return globalThis;if(this)return e();t.defineProperty(t.prototype,"__magic__",{configurable:!0,get:e});var r=__magic__;return r}(Object)});var zr={};rr(zr,{DataDecode:()=>Gr});module.exports=tr(zr);c();c();var N=V(require("react")),He=require("@fortawesome/free-solid-svg-icons"),je=require("@fortawesome/react-fontawesome"),Ye=V(require("classnames"));c();c();c();c();c();c();c();c();c();c();c();var P=(i=>(i.raw="raw",i.text="text",i.decimal="decimal",i.smart="smart",i))(P||{});c();c();var ce={devnet:{id:"devnet",chainId:"D",name:"Devnet",egldLabel:"xEGLD",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"https://maiar.page.link/?apn=com.elrond.maiar.wallet&isi=1519405832&ibi=com.elrond.maiar.wallet&link=https://xportal.com/",walletConnectBridgeAddresses:["https://bridge.walletconnect.org"],walletConnectV2RelayAddresses:["wss://relay.walletconnect.com"],walletAddress:"https://devnet-wallet.multiversx.com",apiAddress:"https://devnet-api.multiversx.com",explorerAddress:"http://devnet-explorer.multiversx.com",apiTimeout:"4000"},testnet:{id:"testnet",chainId:"T",name:"Testnet",egldLabel:"xEGLD",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"https://maiar.page.link/?apn=com.elrond.maiar.wallet&isi=1519405832&ibi=com.elrond.maiar.wallet&link=https://xportal.com/",walletConnectBridgeAddresses:["https://bridge.walletconnect.org"],walletConnectV2RelayAddresses:["wss://relay.walletconnect.com"],walletAddress:"https://testnet-wallet.multiversx.com",apiAddress:"https://testnet-api.multiversx.com",explorerAddress:"http://testnet-explorer.multiversx.com",apiTimeout:"4000"},mainnet:{id:"mainnet",chainId:"1",name:"Mainnet",egldLabel:"EGLD",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"https://maiar.page.link/?apn=com.elrond.maiar.wallet&isi=1519405832&ibi=com.elrond.maiar.wallet&link=https://xportal.com/",walletConnectBridgeAddresses:["https://bridge.walletconnect.org"],walletConnectV2RelayAddresses:["wss://relay.walletconnect.com"],walletAddress:"https://wallet.multiversx.com",apiAddress:"https://api.multiversx.com",explorerAddress:"https://explorer.multiversx.com",apiTimeout:"4000"}},{chainId:Fe,egldLabel:dt}=ce["devnet"],{chainId:Ce,egldLabel:mt}=ce["testnet"],{chainId:Be,egldLabel:gt}=ce["mainnet"];var ft={["devnet"]:Fe,["testnet"]:Ce,["mainnet"]:Be},ht={[Fe]:"devnet",[Ce]:"testnet",[Be]:"mainnet"};c();c();c();c();var A=require("@multiversx/sdk-web-wallet-provider");var Ue="N/A";c();var Q=require("react");c();c();c();var Ge=require("@multiversx/sdk-core/out"),le=V(require("bignumber.js"));c();var Pe=require("@multiversx/sdk-core");function Br(t){try{let e=new Pe.Address(t);return Boolean(e.bech32())}catch(e){return!1}}function Oe(t){return(t==null?void 0:t.startsWith("erd"))&&t.length===62&&/^\w+$/.test(t)&&Br(t)}c();function Me(t){for(let e=0;e<t.length;e++)if(t.charCodeAt(e)>127)return!1;return!0}var D=(t,e,r)=>{switch(e){case"text":try{return d.Buffer.from(String(t),"hex").toString("utf8")}catch(i){}return t;case"decimal":return new le.default(t,16).toString(10);case"smart":try{let i=Ge.Address.fromHex(t).toString();if(Oe(i))return i}catch(i){}try{let i=d.Buffer.from(String(t),"hex").toString("utf8");return Me(i)||r&&[...r.esdts,...r.nfts].some(l=>i.includes(l))?i:new le.default(t,16).toString(10)}catch(i){}return t;case"raw":default:return t}};c();c();var Ur=t=>t.toLowerCase().match(/[0-9a-f]/g),Pr=t=>t.length%2===0,ze=t=>{let e=[];return t&&!Ur(t)&&e.push(`Invalid Hex characters on argument @${t}`),t&&!Pr(t)&&e.push(`Odd number of Hex characters on argument @${t}`),e};c();var K=({parts:t,decodedParts:e,identifier:r})=>{let n=[...e];if(t[0]==="ESDTNFTTransfer"&&t[2]&&(n[2]=D(t[2],"decimal")),r==="ESDTNFTTransfer"&&t[1]){let i=d.Buffer.from(String(t[1]),"base64");n[1]=D(i.toString("hex"),"decimal")}return n};var Ve=({parts:t,decodeMethod:e,identifier:r})=>{let n=[],i=t.map((a,l)=>{if(t.length>=2&&(l===0&&a.length<64||l===1&&!t[0]))return/[^a-z0-9]/gi.test(a)?D(a,e):a;{let p=ze(a);return p.length&&(n=p),D(a,e)}});return{displayValue:(e==="smart"?K({parts:t,decodedParts:i,identifier:r}):i).join("@"),validationWarnings:n}};var We=({input:t,decodeMethod:e,identifier:r})=>{let n={displayValue:"",validationWarnings:[]};if(!(t.includes("@")||t.includes(`
|
|
1
|
+
"use strict";var Ke=Object.create;var W=Object.defineProperty;var Qe=Object.getOwnPropertyDescriptor;var Ze=Object.getOwnPropertyNames;var $e=Object.getPrototypeOf,Je=Object.prototype.hasOwnProperty;var er=(t,e)=>()=>(t&&(e=t(t=0)),e);var H=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),rr=(t,e)=>{for(var r in e)W(t,r,{get:e[r],enumerable:!0})},pe=(t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of Ze(e))!Je.call(t,i)&&i!==r&&W(t,i,{get:()=>e[i],enumerable:!(n=Qe(e,i))||n.enumerable});return t};var V=(t,e,r)=>(r=t!=null?Ke($e(t)):{},pe(e||!t||!t.__esModule?W(r,"default",{value:t,enumerable:!0}):r,t)),tr=t=>pe(W({},"__esModule",{value:!0}),t);var me=H(q=>{"use strict";c();q.byteLength=ir;q.toByteArray=ar;q.fromByteArray=lr;var v=[],b=[],nr=typeof Uint8Array!="undefined"?Uint8Array:Array,Z="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(C=0,ue=Z.length;C<ue;++C)v[C]=Z[C],b[Z.charCodeAt(C)]=C;var C,ue;b["-".charCodeAt(0)]=62;b["_".charCodeAt(0)]=63;function de(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 ir(t){var e=de(t),r=e[0],n=e[1];return(r+n)*3/4-n}function or(t,e,r){return(e+r)*3/4-r}function ar(t){var e,r=de(t),n=r[0],i=r[1],o=new nr(or(t,n,i)),a=0,l=i>0?n-4:n,p;for(p=0;p<l;p+=4)e=b[t.charCodeAt(p)]<<18|b[t.charCodeAt(p+1)]<<12|b[t.charCodeAt(p+2)]<<6|b[t.charCodeAt(p+3)],o[a++]=e>>16&255,o[a++]=e>>8&255,o[a++]=e&255;return i===2&&(e=b[t.charCodeAt(p)]<<2|b[t.charCodeAt(p+1)]>>4,o[a++]=e&255),i===1&&(e=b[t.charCodeAt(p)]<<10|b[t.charCodeAt(p+1)]<<4|b[t.charCodeAt(p+2)]>>2,o[a++]=e>>8&255,o[a++]=e&255),o}function sr(t){return v[t>>18&63]+v[t>>12&63]+v[t>>6&63]+v[t&63]}function cr(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(sr(n));return i.join("")}function lr(t){for(var e,r=t.length,n=r%3,i=[],o=16383,a=0,l=r-n;a<l;a+=o)i.push(cr(t,a,a+o>l?l:a+o));return n===1?(e=t[r-1],i.push(v[e>>2]+v[e<<4&63]+"==")):n===2&&(e=(t[r-2]<<8)+t[r-1],i.push(v[e>>10]+v[e>>4&63]+v[e<<2&63]+"=")),i.join("")}});var ge=H($=>{c();$.read=function(t,e,r,n,i){var o,a,l=i*8-n-1,p=(1<<l)-1,u=p>>1,g=-7,m=r?i-1:0,T=r?-1:1,_=t[e+m];for(m+=T,o=_&(1<<-g)-1,_>>=-g,g+=l;g>0;o=o*256+t[e+m],m+=T,g-=8);for(a=o&(1<<-g)-1,o>>=-g,g+=n;g>0;a=a*256+t[e+m],m+=T,g-=8);if(o===0)o=1-u;else{if(o===p)return a?NaN:(_?-1:1)*(1/0);a=a+Math.pow(2,n),o=o-u}return(_?-1:1)*a*Math.pow(2,o-n)};$.write=function(t,e,r,n,i,o){var a,l,p,u=o*8-i-1,g=(1<<u)-1,m=g>>1,T=i===23?Math.pow(2,-24)-Math.pow(2,-77):0,_=n?0:o-1,O=n?1:-1,Xe=e<0||e===0&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(l=isNaN(e)?1:0,a=g):(a=Math.floor(Math.log(e)/Math.LN2),e*(p=Math.pow(2,-a))<1&&(a--,p*=2),a+m>=1?e+=T/p:e+=T*Math.pow(2,1-m),e*p>=2&&(a++,p/=2),a+m>=g?(l=0,a=g):a+m>=1?(l=(e*p-1)*Math.pow(2,i),a=a+m):(l=e*Math.pow(2,m-1)*Math.pow(2,i),a=0));i>=8;t[r+_]=l&255,_+=O,l/=256,i-=8);for(a=a<<i|l,u+=i;u>0;t[r+_]=a&255,_+=O,a/=256,u-=8);t[r+_-O]|=Xe*128}});var Ae=H(G=>{"use strict";c();var J=me(),M=ge(),fe=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;G.Buffer=s;G.SlowBuffer=fr;G.INSPECT_MAX_BYTES=50;var j=2147483647;G.kMaxLength=j;s.TYPED_ARRAY_SUPPORT=pr();!s.TYPED_ARRAY_SUPPORT&&typeof console!="undefined"&&typeof console.error=="function"&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function pr(){try{var t=new Uint8Array(1),e={foo:function(){return 42}};return Object.setPrototypeOf(e,Uint8Array.prototype),Object.setPrototypeOf(t,e),t.foo()===42}catch(r){return!1}}Object.defineProperty(s.prototype,"parent",{enumerable:!0,get:function(){if(!!s.isBuffer(this))return this.buffer}});Object.defineProperty(s.prototype,"offset",{enumerable:!0,get:function(){if(!!s.isBuffer(this))return this.byteOffset}});function R(t){if(t>j)throw new RangeError('The value "'+t+'" is invalid for option "size"');var e=new Uint8Array(t);return Object.setPrototypeOf(e,s.prototype),e}function s(t,e,r){if(typeof t=="number"){if(typeof e=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return ne(t)}return xe(t,e,r)}s.poolSize=8192;function xe(t,e,r){if(typeof t=="string")return dr(t,e);if(ArrayBuffer.isView(t))return mr(t);if(t==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t);if(k(t,ArrayBuffer)||t&&k(t.buffer,ArrayBuffer)||typeof SharedArrayBuffer!="undefined"&&(k(t,SharedArrayBuffer)||t&&k(t.buffer,SharedArrayBuffer)))return re(t,e,r);if(typeof t=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var n=t.valueOf&&t.valueOf();if(n!=null&&n!==t)return s.from(n,e,r);var i=gr(t);if(i)return i;if(typeof Symbol!="undefined"&&Symbol.toPrimitive!=null&&typeof t[Symbol.toPrimitive]=="function")return s.from(t[Symbol.toPrimitive]("string"),e,r);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t)}s.from=function(t,e,r){return xe(t,e,r)};Object.setPrototypeOf(s.prototype,Uint8Array.prototype);Object.setPrototypeOf(s,Uint8Array);function we(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 ur(t,e,r){return we(t),t<=0?R(t):e!==void 0?typeof r=="string"?R(t).fill(e,r):R(t).fill(e):R(t)}s.alloc=function(t,e,r){return ur(t,e,r)};function ne(t){return we(t),R(t<0?0:ie(t)|0)}s.allocUnsafe=function(t){return ne(t)};s.allocUnsafeSlow=function(t){return ne(t)};function dr(t,e){if((typeof e!="string"||e==="")&&(e="utf8"),!s.isEncoding(e))throw new TypeError("Unknown encoding: "+e);var r=_e(t,e)|0,n=R(r),i=n.write(t,e);return i!==r&&(n=n.slice(0,i)),n}function ee(t){for(var e=t.length<0?0:ie(t.length)|0,r=R(e),n=0;n<e;n+=1)r[n]=t[n]&255;return r}function mr(t){if(k(t,Uint8Array)){var e=new Uint8Array(t);return re(e.buffer,e.byteOffset,e.byteLength)}return ee(t)}function re(t,e,r){if(e<0||t.byteLength<e)throw new RangeError('"offset" is outside of buffer bounds');if(t.byteLength<e+(r||0))throw new RangeError('"length" is outside of buffer bounds');var n;return e===void 0&&r===void 0?n=new Uint8Array(t):r===void 0?n=new Uint8Array(t,e):n=new Uint8Array(t,e,r),Object.setPrototypeOf(n,s.prototype),n}function gr(t){if(s.isBuffer(t)){var e=ie(t.length)|0,r=R(e);return r.length===0||t.copy(r,0,0,e),r}if(t.length!==void 0)return typeof t.length!="number"||oe(t.length)?R(0):ee(t);if(t.type==="Buffer"&&Array.isArray(t.data))return ee(t.data)}function ie(t){if(t>=j)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+j.toString(16)+" bytes");return t|0}function fr(t){return+t!=t&&(t=0),s.alloc(+t)}s.isBuffer=function(e){return e!=null&&e._isBuffer===!0&&e!==s.prototype};s.compare=function(e,r){if(k(e,Uint8Array)&&(e=s.from(e,e.offset,e.byteLength)),k(r,Uint8Array)&&(r=s.from(r,r.offset,r.byteLength)),!s.isBuffer(e)||!s.isBuffer(r))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(e===r)return 0;for(var n=e.length,i=r.length,o=0,a=Math.min(n,i);o<a;++o)if(e[o]!==r[o]){n=e[o],i=r[o];break}return n<i?-1:i<n?1:0};s.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}};s.concat=function(e,r){if(!Array.isArray(e))throw new TypeError('"list" argument must be an Array of Buffers');if(e.length===0)return s.alloc(0);var n;if(r===void 0)for(r=0,n=0;n<e.length;++n)r+=e[n].length;var i=s.allocUnsafe(r),o=0;for(n=0;n<e.length;++n){var a=e[n];if(k(a,Uint8Array))o+a.length>i.length?s.from(a).copy(i,o):Uint8Array.prototype.set.call(i,a,o);else if(s.isBuffer(a))a.copy(i,o);else throw new TypeError('"list" argument must be an Array of Buffers');o+=a.length}return i};function _e(t,e){if(s.isBuffer(t))return t.length;if(ArrayBuffer.isView(t)||k(t,ArrayBuffer))return t.byteLength;if(typeof t!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof t);var r=t.length,n=arguments.length>2&&arguments[2]===!0;if(!n&&r===0)return 0;for(var i=!1;;)switch(e){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":return te(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return r*2;case"hex":return r>>>1;case"base64":return Ie(t).length;default:if(i)return n?-1:te(t).length;e=(""+e).toLowerCase(),i=!0}}s.byteLength=_e;function hr(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 Ir(this,e,r);case"utf8":case"utf-8":return Te(this,e,r);case"ascii":return kr(this,e,r);case"latin1":case"binary":return Er(this,e,r);case"base64":return Tr(this,e,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Ar(this,e,r);default:if(n)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),n=!0}}s.prototype._isBuffer=!0;function B(t,e,r){var n=t[e];t[e]=t[r],t[r]=n}s.prototype.swap16=function(){var e=this.length;if(e%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var r=0;r<e;r+=2)B(this,r,r+1);return this};s.prototype.swap32=function(){var e=this.length;if(e%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var r=0;r<e;r+=4)B(this,r,r+3),B(this,r+1,r+2);return this};s.prototype.swap64=function(){var e=this.length;if(e%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var r=0;r<e;r+=8)B(this,r,r+7),B(this,r+1,r+6),B(this,r+2,r+5),B(this,r+3,r+4);return this};s.prototype.toString=function(){var e=this.length;return e===0?"":arguments.length===0?Te(this,0,e):hr.apply(this,arguments)};s.prototype.toLocaleString=s.prototype.toString;s.prototype.equals=function(e){if(!s.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e?!0:s.compare(this,e)===0};s.prototype.inspect=function(){var e="",r=G.INSPECT_MAX_BYTES;return e=this.toString("hex",0,r).replace(/(.{2})/g,"$1 ").trim(),this.length>r&&(e+=" ... "),"<Buffer "+e+">"};fe&&(s.prototype[fe]=s.prototype.inspect);s.prototype.compare=function(e,r,n,i,o){if(k(e,Uint8Array)&&(e=s.from(e,e.offset,e.byteLength)),!s.isBuffer(e))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof e);if(r===void 0&&(r=0),n===void 0&&(n=e?e.length:0),i===void 0&&(i=0),o===void 0&&(o=this.length),r<0||n>e.length||i<0||o>this.length)throw new RangeError("out of range index");if(i>=o&&r>=n)return 0;if(i>=o)return-1;if(r>=n)return 1;if(r>>>=0,n>>>=0,i>>>=0,o>>>=0,this===e)return 0;for(var a=o-i,l=n-r,p=Math.min(a,l),u=this.slice(i,o),g=e.slice(r,n),m=0;m<p;++m)if(u[m]!==g[m]){a=u[m],l=g[m];break}return a<l?-1:l<a?1:0};function be(t,e,r,n,i){if(t.length===0)return-1;if(typeof r=="string"?(n=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),r=+r,oe(r)&&(r=i?0:t.length-1),r<0&&(r=t.length+r),r>=t.length){if(i)return-1;r=t.length-1}else if(r<0)if(i)r=0;else return-1;if(typeof e=="string"&&(e=s.from(e,n)),s.isBuffer(e))return e.length===0?-1:he(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):he(t,[e],r,n,i);throw new TypeError("val must be string, number or Buffer")}function he(t,e,r,n,i){var o=1,a=t.length,l=e.length;if(n!==void 0&&(n=String(n).toLowerCase(),n==="ucs2"||n==="ucs-2"||n==="utf16le"||n==="utf-16le")){if(t.length<2||e.length<2)return-1;o=2,a/=2,l/=2,r/=2}function p(_,O){return o===1?_[O]:_.readUInt16BE(O*o)}var u;if(i){var g=-1;for(u=r;u<a;u++)if(p(t,u)===p(e,g===-1?0:u-g)){if(g===-1&&(g=u),u-g+1===l)return g*o}else g!==-1&&(u-=u-g),g=-1}else for(r+l>a&&(r=a-l),u=r;u>=0;u--){for(var m=!0,T=0;T<l;T++)if(p(t,u+T)!==p(e,T)){m=!1;break}if(m)return u}return-1}s.prototype.includes=function(e,r,n){return this.indexOf(e,r,n)!==-1};s.prototype.indexOf=function(e,r,n){return be(this,e,r,n,!0)};s.prototype.lastIndexOf=function(e,r,n){return be(this,e,r,n,!1)};function yr(t,e,r,n){r=Number(r)||0;var i=t.length-r;n?(n=Number(n),n>i&&(n=i)):n=i;var o=e.length;n>o/2&&(n=o/2);for(var a=0;a<n;++a){var l=parseInt(e.substr(a*2,2),16);if(oe(l))return a;t[r+a]=l}return a}function xr(t,e,r,n){return Y(te(e,t.length-r),t,r,n)}function wr(t,e,r,n){return Y(Lr(e),t,r,n)}function _r(t,e,r,n){return Y(Ie(e),t,r,n)}function br(t,e,r,n){return Y(Dr(e,t.length-r),t,r,n)}s.prototype.write=function(e,r,n,i){if(r===void 0)i="utf8",n=this.length,r=0;else if(n===void 0&&typeof r=="string")i=r,n=this.length,r=0;else if(isFinite(r))r=r>>>0,isFinite(n)?(n=n>>>0,i===void 0&&(i="utf8")):(i=n,n=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var o=this.length-r;if((n===void 0||n>o)&&(n=o),e.length>0&&(n<0||r<0)||r>this.length)throw new RangeError("Attempt to write outside buffer bounds");i||(i="utf8");for(var a=!1;;)switch(i){case"hex":return yr(this,e,r,n);case"utf8":case"utf-8":return xr(this,e,r,n);case"ascii":case"latin1":case"binary":return wr(this,e,r,n);case"base64":return _r(this,e,r,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return br(this,e,r,n);default:if(a)throw new TypeError("Unknown encoding: "+i);i=(""+i).toLowerCase(),a=!0}};s.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function Tr(t,e,r){return e===0&&r===t.length?J.fromByteArray(t):J.fromByteArray(t.slice(e,r))}function Te(t,e,r){r=Math.min(t.length,r);for(var n=[],i=e;i<r;){var o=t[i],a=null,l=o>239?4:o>223?3:o>191?2:1;if(i+l<=r){var p,u,g,m;switch(l){case 1:o<128&&(a=o);break;case 2:p=t[i+1],(p&192)===128&&(m=(o&31)<<6|p&63,m>127&&(a=m));break;case 3:p=t[i+1],u=t[i+2],(p&192)===128&&(u&192)===128&&(m=(o&15)<<12|(p&63)<<6|u&63,m>2047&&(m<55296||m>57343)&&(a=m));break;case 4:p=t[i+1],u=t[i+2],g=t[i+3],(p&192)===128&&(u&192)===128&&(g&192)===128&&(m=(o&15)<<18|(p&63)<<12|(u&63)<<6|g&63,m>65535&&m<1114112&&(a=m))}}a===null?(a=65533,l=1):a>65535&&(a-=65536,n.push(a>>>10&1023|55296),a=56320|a&1023),n.push(a),i+=l}return vr(n)}var ye=4096;function vr(t){var e=t.length;if(e<=ye)return String.fromCharCode.apply(String,t);for(var r="",n=0;n<e;)r+=String.fromCharCode.apply(String,t.slice(n,n+=ye));return r}function kr(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 Er(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 Ir(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+=Nr[t[o]];return i}function Ar(t,e,r){for(var n=t.slice(e,r),i="",o=0;o<n.length-1;o+=2)i+=String.fromCharCode(n[o]+n[o+1]*256);return i}s.prototype.slice=function(e,r){var n=this.length;e=~~e,r=r===void 0?n:~~r,e<0?(e+=n,e<0&&(e=0)):e>n&&(e=n),r<0?(r+=n,r<0&&(r=0)):r>n&&(r=n),r<e&&(r=e);var i=this.subarray(e,r);return Object.setPrototypeOf(i,s.prototype),i};function x(t,e,r){if(t%1!==0||t<0)throw new RangeError("offset is not uint");if(t+e>r)throw new RangeError("Trying to access beyond buffer length")}s.prototype.readUintLE=s.prototype.readUIntLE=function(e,r,n){e=e>>>0,r=r>>>0,n||x(e,r,this.length);for(var i=this[e],o=1,a=0;++a<r&&(o*=256);)i+=this[e+a]*o;return i};s.prototype.readUintBE=s.prototype.readUIntBE=function(e,r,n){e=e>>>0,r=r>>>0,n||x(e,r,this.length);for(var i=this[e+--r],o=1;r>0&&(o*=256);)i+=this[e+--r]*o;return i};s.prototype.readUint8=s.prototype.readUInt8=function(e,r){return e=e>>>0,r||x(e,1,this.length),this[e]};s.prototype.readUint16LE=s.prototype.readUInt16LE=function(e,r){return e=e>>>0,r||x(e,2,this.length),this[e]|this[e+1]<<8};s.prototype.readUint16BE=s.prototype.readUInt16BE=function(e,r){return e=e>>>0,r||x(e,2,this.length),this[e]<<8|this[e+1]};s.prototype.readUint32LE=s.prototype.readUInt32LE=function(e,r){return e=e>>>0,r||x(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+this[e+3]*16777216};s.prototype.readUint32BE=s.prototype.readUInt32BE=function(e,r){return e=e>>>0,r||x(e,4,this.length),this[e]*16777216+(this[e+1]<<16|this[e+2]<<8|this[e+3])};s.prototype.readIntLE=function(e,r,n){e=e>>>0,r=r>>>0,n||x(e,r,this.length);for(var i=this[e],o=1,a=0;++a<r&&(o*=256);)i+=this[e+a]*o;return o*=128,i>=o&&(i-=Math.pow(2,8*r)),i};s.prototype.readIntBE=function(e,r,n){e=e>>>0,r=r>>>0,n||x(e,r,this.length);for(var i=r,o=1,a=this[e+--i];i>0&&(o*=256);)a+=this[e+--i]*o;return o*=128,a>=o&&(a-=Math.pow(2,8*r)),a};s.prototype.readInt8=function(e,r){return e=e>>>0,r||x(e,1,this.length),this[e]&128?(255-this[e]+1)*-1:this[e]};s.prototype.readInt16LE=function(e,r){e=e>>>0,r||x(e,2,this.length);var n=this[e]|this[e+1]<<8;return n&32768?n|4294901760:n};s.prototype.readInt16BE=function(e,r){e=e>>>0,r||x(e,2,this.length);var n=this[e+1]|this[e]<<8;return n&32768?n|4294901760:n};s.prototype.readInt32LE=function(e,r){return e=e>>>0,r||x(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24};s.prototype.readInt32BE=function(e,r){return e=e>>>0,r||x(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]};s.prototype.readFloatLE=function(e,r){return e=e>>>0,r||x(e,4,this.length),M.read(this,e,!0,23,4)};s.prototype.readFloatBE=function(e,r){return e=e>>>0,r||x(e,4,this.length),M.read(this,e,!1,23,4)};s.prototype.readDoubleLE=function(e,r){return e=e>>>0,r||x(e,8,this.length),M.read(this,e,!0,52,8)};s.prototype.readDoubleBE=function(e,r){return e=e>>>0,r||x(e,8,this.length),M.read(this,e,!1,52,8)};function w(t,e,r,n,i,o){if(!s.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>i||e<o)throw new RangeError('"value" argument is out of bounds');if(r+n>t.length)throw new RangeError("Index out of range")}s.prototype.writeUintLE=s.prototype.writeUIntLE=function(e,r,n,i){if(e=+e,r=r>>>0,n=n>>>0,!i){var o=Math.pow(2,8*n)-1;w(this,e,r,n,o,0)}var a=1,l=0;for(this[r]=e&255;++l<n&&(a*=256);)this[r+l]=e/a&255;return r+n};s.prototype.writeUintBE=s.prototype.writeUIntBE=function(e,r,n,i){if(e=+e,r=r>>>0,n=n>>>0,!i){var o=Math.pow(2,8*n)-1;w(this,e,r,n,o,0)}var a=n-1,l=1;for(this[r+a]=e&255;--a>=0&&(l*=256);)this[r+a]=e/l&255;return r+n};s.prototype.writeUint8=s.prototype.writeUInt8=function(e,r,n){return e=+e,r=r>>>0,n||w(this,e,r,1,255,0),this[r]=e&255,r+1};s.prototype.writeUint16LE=s.prototype.writeUInt16LE=function(e,r,n){return e=+e,r=r>>>0,n||w(this,e,r,2,65535,0),this[r]=e&255,this[r+1]=e>>>8,r+2};s.prototype.writeUint16BE=s.prototype.writeUInt16BE=function(e,r,n){return e=+e,r=r>>>0,n||w(this,e,r,2,65535,0),this[r]=e>>>8,this[r+1]=e&255,r+2};s.prototype.writeUint32LE=s.prototype.writeUInt32LE=function(e,r,n){return e=+e,r=r>>>0,n||w(this,e,r,4,4294967295,0),this[r+3]=e>>>24,this[r+2]=e>>>16,this[r+1]=e>>>8,this[r]=e&255,r+4};s.prototype.writeUint32BE=s.prototype.writeUInt32BE=function(e,r,n){return e=+e,r=r>>>0,n||w(this,e,r,4,4294967295,0),this[r]=e>>>24,this[r+1]=e>>>16,this[r+2]=e>>>8,this[r+3]=e&255,r+4};s.prototype.writeIntLE=function(e,r,n,i){if(e=+e,r=r>>>0,!i){var o=Math.pow(2,8*n-1);w(this,e,r,n,o-1,-o)}var a=0,l=1,p=0;for(this[r]=e&255;++a<n&&(l*=256);)e<0&&p===0&&this[r+a-1]!==0&&(p=1),this[r+a]=(e/l>>0)-p&255;return r+n};s.prototype.writeIntBE=function(e,r,n,i){if(e=+e,r=r>>>0,!i){var o=Math.pow(2,8*n-1);w(this,e,r,n,o-1,-o)}var a=n-1,l=1,p=0;for(this[r+a]=e&255;--a>=0&&(l*=256);)e<0&&p===0&&this[r+a+1]!==0&&(p=1),this[r+a]=(e/l>>0)-p&255;return r+n};s.prototype.writeInt8=function(e,r,n){return e=+e,r=r>>>0,n||w(this,e,r,1,127,-128),e<0&&(e=255+e+1),this[r]=e&255,r+1};s.prototype.writeInt16LE=function(e,r,n){return e=+e,r=r>>>0,n||w(this,e,r,2,32767,-32768),this[r]=e&255,this[r+1]=e>>>8,r+2};s.prototype.writeInt16BE=function(e,r,n){return e=+e,r=r>>>0,n||w(this,e,r,2,32767,-32768),this[r]=e>>>8,this[r+1]=e&255,r+2};s.prototype.writeInt32LE=function(e,r,n){return e=+e,r=r>>>0,n||w(this,e,r,4,2147483647,-2147483648),this[r]=e&255,this[r+1]=e>>>8,this[r+2]=e>>>16,this[r+3]=e>>>24,r+4};s.prototype.writeInt32BE=function(e,r,n){return e=+e,r=r>>>0,n||w(this,e,r,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),this[r]=e>>>24,this[r+1]=e>>>16,this[r+2]=e>>>8,this[r+3]=e&255,r+4};function ve(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 ke(t,e,r,n,i){return e=+e,r=r>>>0,i||ve(t,e,r,4,34028234663852886e22,-34028234663852886e22),M.write(t,e,r,n,23,4),r+4}s.prototype.writeFloatLE=function(e,r,n){return ke(this,e,r,!0,n)};s.prototype.writeFloatBE=function(e,r,n){return ke(this,e,r,!1,n)};function Ee(t,e,r,n,i){return e=+e,r=r>>>0,i||ve(t,e,r,8,17976931348623157e292,-17976931348623157e292),M.write(t,e,r,n,52,8),r+8}s.prototype.writeDoubleLE=function(e,r,n){return Ee(this,e,r,!0,n)};s.prototype.writeDoubleBE=function(e,r,n){return Ee(this,e,r,!1,n)};s.prototype.copy=function(e,r,n,i){if(!s.isBuffer(e))throw new TypeError("argument should be a Buffer");if(n||(n=0),!i&&i!==0&&(i=this.length),r>=e.length&&(r=e.length),r||(r=0),i>0&&i<n&&(i=n),i===n||e.length===0||this.length===0)return 0;if(r<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw new RangeError("Index out of range");if(i<0)throw new RangeError("sourceEnd out of bounds");i>this.length&&(i=this.length),e.length-r<i-n&&(i=e.length-r+n);var o=i-n;return this===e&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(r,n,i):Uint8Array.prototype.set.call(e,this.subarray(n,i),r),o};s.prototype.fill=function(e,r,n,i){if(typeof e=="string"){if(typeof r=="string"?(i=r,r=0,n=this.length):typeof n=="string"&&(i=n,n=this.length),i!==void 0&&typeof i!="string")throw new TypeError("encoding must be a string");if(typeof i=="string"&&!s.isEncoding(i))throw new TypeError("Unknown encoding: "+i);if(e.length===1){var o=e.charCodeAt(0);(i==="utf8"&&o<128||i==="latin1")&&(e=o)}}else typeof e=="number"?e=e&255:typeof e=="boolean"&&(e=Number(e));if(r<0||this.length<r||this.length<n)throw new RangeError("Out of range index");if(n<=r)return this;r=r>>>0,n=n===void 0?this.length:n>>>0,e||(e=0);var a;if(typeof e=="number")for(a=r;a<n;++a)this[a]=e;else{var l=s.isBuffer(e)?e:s.from(e,i),p=l.length;if(p===0)throw new TypeError('The value "'+e+'" is invalid for argument "value"');for(a=0;a<n-r;++a)this[a+r]=l[a%p]}return this};var Rr=/[^+/0-9A-Za-z-_]/g;function Sr(t){if(t=t.split("=")[0],t=t.trim().replace(Rr,""),t.length<2)return"";for(;t.length%4!==0;)t=t+"=";return t}function te(t,e){e=e||1/0;for(var r,n=t.length,i=null,o=[],a=0;a<n;++a){if(r=t.charCodeAt(a),r>55295&&r<57344){if(!i){if(r>56319){(e-=3)>-1&&o.push(239,191,189);continue}else if(a+1===n){(e-=3)>-1&&o.push(239,191,189);continue}i=r;continue}if(r<56320){(e-=3)>-1&&o.push(239,191,189),i=r;continue}r=(i-55296<<10|r-56320)+65536}else i&&(e-=3)>-1&&o.push(239,191,189);if(i=null,r<128){if((e-=1)<0)break;o.push(r)}else if(r<2048){if((e-=2)<0)break;o.push(r>>6|192,r&63|128)}else if(r<65536){if((e-=3)<0)break;o.push(r>>12|224,r>>6&63|128,r&63|128)}else if(r<1114112){if((e-=4)<0)break;o.push(r>>18|240,r>>12&63|128,r>>6&63|128,r&63|128)}else throw new Error("Invalid code point")}return o}function Lr(t){for(var e=[],r=0;r<t.length;++r)e.push(t.charCodeAt(r)&255);return e}function Dr(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 Ie(t){return J.toByteArray(Sr(t))}function Y(t,e,r,n){for(var i=0;i<n&&!(i+r>=e.length||i>=t.length);++i)e[i+r]=t[i];return i}function k(t,e){return t instanceof e||t!=null&&t.constructor!=null&&t.constructor.name!=null&&t.constructor.name===e.name}function oe(t){return t!==t}var Nr=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 Ne=H((jr,De)=>{c();var y=De.exports={},E,I;function ae(){throw new Error("setTimeout has not been defined")}function se(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?E=setTimeout:E=ae}catch(t){E=ae}try{typeof clearTimeout=="function"?I=clearTimeout:I=se}catch(t){I=se}})();function Re(t){if(E===setTimeout)return setTimeout(t,0);if((E===ae||!E)&&setTimeout)return E=setTimeout,setTimeout(t,0);try{return E(t,0)}catch(e){try{return E.call(null,t,0)}catch(r){return E.call(this,t,0)}}}function Fr(t){if(I===clearTimeout)return clearTimeout(t);if((I===se||!I)&&clearTimeout)return I=clearTimeout,clearTimeout(t);try{return I(t)}catch(e){try{return I.call(null,t)}catch(r){return I.call(this,t)}}}var S=[],z=!1,U,X=-1;function Cr(){!z||!U||(z=!1,U.length?S=U.concat(S):X=-1,S.length&&Se())}function Se(){if(!z){var t=Re(Cr);z=!0;for(var e=S.length;e;){for(U=S,S=[];++X<e;)U&&U[X].run();X=-1,e=S.length}U=null,z=!1,Fr(t)}}y.nextTick=function(t){var e=new Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)e[r-1]=arguments[r];S.push(new Le(t,e)),S.length===1&&!z&&Re(Se)};function Le(t,e){this.fun=t,this.array=e}Le.prototype.run=function(){this.fun.apply(null,this.array)};y.title="browser";y.browser=!0;y.env={};y.argv=[];y.version="";y.versions={};function L(){}y.on=L;y.addListener=L;y.once=L;y.off=L;y.removeListener=L;y.removeAllListeners=L;y.emit=L;y.prependListener=L;y.prependOnceListener=L;y.listeners=function(t){return[]};y.binding=function(t){throw new Error("process.binding is not supported")};y.cwd=function(){return"/"};y.chdir=function(t){throw new Error("process.chdir is not supported")};y.umask=function(){return 0}});var d,f,Yr,c=er(()=>{d=V(Ae()),f=V(Ne()),Yr=function(t){function e(){var n=this||self;return delete t.prototype.__magic__,n}if(typeof globalThis=="object")return globalThis;if(this)return e();t.defineProperty(t.prototype,"__magic__",{configurable:!0,get:e});var r=__magic__;return r}(Object)});var zr={};rr(zr,{DataDecode:()=>Gr});module.exports=tr(zr);c();c();var N=V(require("react")),qe=require("@fortawesome/free-solid-svg-icons"),je=require("@fortawesome/react-fontawesome"),Ye=V(require("classnames"));c();c();c();c();c();c();c();c();c();c();c();var P=(i=>(i.raw="raw",i.text="text",i.decimal="decimal",i.smart="smart",i))(P||{});c();c();var ce={devnet:{id:"devnet",chainId:"D",name:"Devnet",egldLabel:"xEGLD",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"https://maiar.page.link/?apn=com.elrond.maiar.wallet&isi=1519405832&ibi=com.elrond.maiar.wallet&link=https://xportal.com/",walletConnectBridgeAddresses:["https://bridge.walletconnect.org"],walletConnectV2RelayAddresses:["wss://relay.walletconnect.com"],walletAddress:"https://devnet-wallet.multiversx.com",apiAddress:"https://devnet-api.multiversx.com",explorerAddress:"http://devnet-explorer.multiversx.com",apiTimeout:"4000"},testnet:{id:"testnet",chainId:"T",name:"Testnet",egldLabel:"xEGLD",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"https://maiar.page.link/?apn=com.elrond.maiar.wallet&isi=1519405832&ibi=com.elrond.maiar.wallet&link=https://xportal.com/",walletConnectBridgeAddresses:["https://bridge.walletconnect.org"],walletConnectV2RelayAddresses:["wss://relay.walletconnect.com"],walletAddress:"https://testnet-wallet.multiversx.com",apiAddress:"https://testnet-api.multiversx.com",explorerAddress:"http://testnet-explorer.multiversx.com",apiTimeout:"4000"},mainnet:{id:"mainnet",chainId:"1",name:"Mainnet",egldLabel:"EGLD",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"https://maiar.page.link/?apn=com.elrond.maiar.wallet&isi=1519405832&ibi=com.elrond.maiar.wallet&link=https://xportal.com/",walletConnectBridgeAddresses:["https://bridge.walletconnect.org"],walletConnectV2RelayAddresses:["wss://relay.walletconnect.com"],walletAddress:"https://wallet.multiversx.com",apiAddress:"https://api.multiversx.com",explorerAddress:"https://explorer.multiversx.com",apiTimeout:"4000"}},{chainId:Fe,egldLabel:dt}=ce["devnet"],{chainId:Ce,egldLabel:mt}=ce["testnet"],{chainId:Be,egldLabel:gt}=ce["mainnet"];var ft={["devnet"]:Fe,["testnet"]:Ce,["mainnet"]:Be},ht={[Fe]:"devnet",[Ce]:"testnet",[Be]:"mainnet"};c();c();c();c();var A=require("@multiversx/sdk-web-wallet-provider");var Ue="N/A";c();var Q=require("react");c();c();c();var Ge=require("@multiversx/sdk-core/out"),le=V(require("bignumber.js"));c();var Pe=require("@multiversx/sdk-core");function Br(t){try{let e=new Pe.Address(t);return Boolean(e.bech32())}catch(e){return!1}}function Oe(t){return(t==null?void 0:t.startsWith("erd"))&&t.length===62&&/^\w+$/.test(t)&&Br(t)}c();function Me(t){for(let e=0;e<t.length;e++)if(t.charCodeAt(e)>127)return!1;return!0}var D=(t,e,r)=>{switch(e){case"text":try{return d.Buffer.from(String(t),"hex").toString("utf8")}catch(i){}return t;case"decimal":return new le.default(t,16).toString(10);case"smart":try{let i=Ge.Address.fromHex(t).toString();if(Oe(i))return i}catch(i){}try{let i=d.Buffer.from(String(t),"hex").toString("utf8");return Me(i)||r&&[...r.esdts,...r.nfts].some(l=>i.includes(l))?i:new le.default(t,16).toString(10)}catch(i){}return t;case"raw":default:return t}};c();c();var Ur=t=>t.toLowerCase().match(/[0-9a-f]/g),Pr=t=>t.length%2===0,ze=t=>{let e=[];return t&&!Ur(t)&&e.push(`Invalid Hex characters on argument @${t}`),t&&!Pr(t)&&e.push(`Odd number of Hex characters on argument @${t}`),e};c();var K=({parts:t,decodedParts:e,identifier:r})=>{let n=[...e];if(t[0]==="ESDTNFTTransfer"&&t[2]&&(n[2]=D(t[2],"decimal")),r==="ESDTNFTTransfer"&&t[1]){let i=d.Buffer.from(String(t[1]),"base64");n[1]=D(i.toString("hex"),"decimal")}return n};var Ve=({parts:t,decodeMethod:e,identifier:r})=>{let n=[],i=t.map((a,l)=>{if(t.length>=2&&(l===0&&a.length<64||l===1&&!t[0]))return/[^a-z0-9]/gi.test(a)?D(a,e):a;{let p=ze(a);return p.length&&(n=p),D(a,e)}});return{displayValue:(e==="smart"?K({parts:t,decodedParts:i,identifier:r}):i).join("@"),validationWarnings:n}};var We=({input:t,decodeMethod:e,identifier:r})=>{let n={displayValue:"",validationWarnings:[]};if(!(t.includes("@")||t.includes(`
|
|
2
2
|
`)))return n.displayValue=D(t,e),n;if(t.includes("@")){let o=t.split("@");n=Ve({parts:o,decodeMethod:e,identifier:r})}if(t.includes(`
|
|
3
3
|
`)){let o=t.split(`
|
|
4
4
|
`),a=o.map(p=>{let u=d.Buffer.from(String(p),"base64");return e==="raw"?p:D(u.toString("hex"),e)}),l=e==="smart"?K({parts:o,decodedParts:a,identifier:r}):a;n.displayValue=l.join(`
|
|
5
|
-
`)}return n};var Or=[{label:"Raw",value:"raw"},{label:"Text",value:"text"},{label:"Decimal",value:"decimal"},{label:"Smart",value:"smart"}],
|
|
5
|
+
`)}return n};var Or=[{label:"Raw",value:"raw"},{label:"Text",value:"text"},{label:"Decimal",value:"decimal"},{label:"Smart",value:"smart"}],He=({value:t,initialDecodeMethod:e,setDecodeMethod:r,identifier:n})=>{let[i,o]=(0,Q.useState)(e&&Object.values(P).includes(e)?e:"raw"),{displayValue:a,validationWarnings:l}=We({input:t,decodeMethod:i,identifier:n});return(0,Q.useEffect)(()=>{r&&r(i)},[i]),{displayValue:a,validationWarnings:l,setActiveKey:o,decodeOptions:Or}};c();var Mr=`.dapp-core-component__styles__decode {
|
|
6
6
|
margin-top: 0.25rem;
|
|
7
7
|
position: relative;
|
|
8
8
|
max-width: 100%;
|
|
@@ -136,7 +136,7 @@
|
|
|
136
136
|
}
|
|
137
137
|
.dapp-core-component__styles__decode .dapp-core-component__styles__warnings .dapp-core-component__styles__warning {
|
|
138
138
|
color: #f0ad4e;
|
|
139
|
-
}`;document.head.appendChild(document.createElement("style")).appendChild(document.createTextNode(Mr));var F={decode:"dapp-core-component__styles__decode",textarea:"dapp-core-component__styles__textarea",select:"dapp-core-component__styles__select",dropdown:"dapp-core-component__styles__dropdown",warnings:"dapp-core-component__styles__warnings",icon:"dapp-core-component__styles__icon",warning:"dapp-core-component__styles__warning"};var Gr=t=>{let{className:e,value:r}=t,{displayValue:n,validationWarnings:i,setActiveKey:o,decodeOptions:a}=
|
|
139
|
+
}`;document.head.appendChild(document.createElement("style")).appendChild(document.createTextNode(Mr));var F={decode:"dapp-core-component__styles__decode",textarea:"dapp-core-component__styles__textarea",select:"dapp-core-component__styles__select",dropdown:"dapp-core-component__styles__dropdown",warnings:"dapp-core-component__styles__warnings",icon:"dapp-core-component__styles__icon",warning:"dapp-core-component__styles__warning"};var Gr=t=>{let{className:e,value:r}=t,{displayValue:n,validationWarnings:i,setActiveKey:o,decodeOptions:a}=He(t),l=r&&r!==Ue,p=u=>u?o(u.target.value):"raw";return N.default.createElement("div",{className:F.decode},N.default.createElement("div",{className:(0,Ye.default)(F.textarea,e)},n),l&&N.default.createElement("div",{className:F.select},N.default.createElement("select",{className:F.dropdown,onChange:p},a.map(u=>N.default.createElement("option",{key:u.value,value:u.value},u.label)))),i.map((u,g)=>N.default.createElement("div",{key:g,className:F.warnings},N.default.createElement(je.FontAwesomeIcon,{icon:qe.faExclamationTriangle,className:F.icon,size:"xs"}),N.default.createElement("small",{className:F.warning},u))))};0&&(module.exports={DataDecode});
|
|
140
140
|
/*!
|
|
141
141
|
* The buffer module from node.js, for the browser.
|
|
142
142
|
*
|