@multiversx/sdk-dapp 2.12.6 → 2.12.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/UI/DappModal/hooks/index.js +1 -1
- package/UI/DappModal/hooks/useDappModal.js +1 -1
- package/UI/DappModal/index.js +1 -1
- package/UI/Denominate/index.js +1 -1
- package/UI/ExplorerLink/ExplorerLink.js +1 -1
- package/UI/ExplorerLink/index.js +1 -1
- package/UI/FormatAmount/FormatAmount.js +1 -1
- package/UI/FormatAmount/index.js +1 -1
- package/UI/ModalContainer/ModalContainer.js +1 -1
- package/UI/ModalContainer/index.js +1 -1
- package/UI/NotificationModal/NotificationModal.js +1 -1
- package/UI/NotificationModal/index.js +1 -1
- package/UI/SignTransactionsModals/SignTransactionsModals.js +1 -1
- package/UI/SignTransactionsModals/SignWithDeviceModal/SignStep.js +1 -1
- package/UI/SignTransactionsModals/SignWithDeviceModal/SignWithDeviceModal.js +1 -1
- package/UI/SignTransactionsModals/SignWithDeviceModal/components/SignStepBody.js +1 -1
- package/UI/SignTransactionsModals/SignWithDeviceModal/components/index.js +1 -1
- package/UI/SignTransactionsModals/SignWithDeviceModal/index.js +1 -1
- package/UI/SignTransactionsModals/SignWithExtensionModal/index.js +1 -1
- package/UI/SignTransactionsModals/SignWithExtraModal/SignWithExtraModal.js +1 -1
- package/UI/SignTransactionsModals/SignWithExtraModal/index.js +1 -1
- package/UI/SignTransactionsModals/SignWithLedgerModal/SignWithLedgerModal.js +1 -1
- package/UI/SignTransactionsModals/SignWithLedgerModal/index.js +1 -1
- package/UI/SignTransactionsModals/SignWithOperaModal/SignWithOperaModal.js +1 -1
- package/UI/SignTransactionsModals/SignWithOperaModal/index.js +1 -1
- package/UI/SignTransactionsModals/SignWithWalletConnectModal/index.js +1 -1
- package/UI/SignTransactionsModals/components/ConfirmationScreen.js +1 -1
- package/UI/SignTransactionsModals/components/DeviceConfirmationScreen.js +1 -1
- package/UI/SignTransactionsModals/components/TransactionStatusToast.js +1 -1
- package/UI/SignTransactionsModals/components/index.js +1 -1
- package/UI/SignTransactionsModals/index.js +1 -1
- package/UI/TokenDetails/index.js +1 -1
- package/UI/TransactionData/index.js +1 -1
- package/UI/TransactionDetails/TransactionDetails.js +1 -1
- package/UI/TransactionDetails/components/TransactionDetailsBody.js +1 -1
- package/UI/TransactionDetails/components/index.js +1 -1
- package/UI/TransactionDetails/index.js +1 -1
- package/UI/TransactionInfo/TransactionInfo.js +1 -1
- package/UI/TransactionInfo/components/AddressDetailItem/AddressDetailitem.js +1 -1
- package/UI/TransactionInfo/components/AddressDetailItem/index.js +1 -1
- package/UI/TransactionInfo/components/DataDecode/DataDecode.js +1 -1
- package/UI/TransactionInfo/components/DataDecode/index.js +1 -1
- package/UI/TransactionInfo/components/DataField/DataField.js +1 -1
- package/UI/TransactionInfo/components/DataField/index.js +1 -1
- package/UI/TransactionInfo/components/EventsList/EventsList.js +1 -1
- package/UI/TransactionInfo/components/EventsList/index.js +1 -1
- package/UI/TransactionInfo/components/NonceMessage/NonceMessage.js +1 -1
- package/UI/TransactionInfo/components/NonceMessage/index.js +1 -1
- package/UI/TransactionInfo/components/OperationsList/OperationList.js +1 -1
- package/UI/TransactionInfo/components/OperationsList/components/DetailedItem.js +1 -1
- package/UI/TransactionInfo/components/OperationsList/components/OperationBlock.js +1 -1
- package/UI/TransactionInfo/components/OperationsList/components/OperationRow.js +1 -1
- package/UI/TransactionInfo/components/OperationsList/components/OperationText.js +1 -1
- package/UI/TransactionInfo/components/OperationsList/components/OperationToken.js +1 -1
- package/UI/TransactionInfo/components/OperationsList/components/index.js +1 -1
- package/UI/TransactionInfo/components/OperationsList/index.js +1 -1
- package/UI/TransactionInfo/components/ScResultsList/ScResultsList.js +1 -1
- package/UI/TransactionInfo/components/ScResultsList/components/ResultData/ResultData.js +1 -1
- package/UI/TransactionInfo/components/ScResultsList/components/ResultData/index.js +1 -1
- package/UI/TransactionInfo/components/ScResultsList/components/ResultHash/ResultHash.js +1 -1
- package/UI/TransactionInfo/components/ScResultsList/components/ResultHash/index.js +1 -1
- package/UI/TransactionInfo/components/ScResultsList/components/ResultReceiver/ResultReceiver.js +1 -1
- package/UI/TransactionInfo/components/ScResultsList/components/ResultReceiver/index.js +1 -1
- package/UI/TransactionInfo/components/ScResultsList/components/ResultSender/ResultSender.js +1 -1
- package/UI/TransactionInfo/components/ScResultsList/components/ResultSender/index.js +1 -1
- package/UI/TransactionInfo/components/ScResultsList/index.js +1 -1
- package/UI/TransactionInfo/components/ScrDetailItem/ScrDetailItem.js +1 -1
- package/UI/TransactionInfo/components/ScrDetailItem/index.js +1 -1
- package/UI/TransactionInfo/components/TransactionAction/TransactionAction.js +1 -1
- package/UI/TransactionInfo/components/TransactionAction/components/ActionText/index.js +1 -1
- package/UI/TransactionInfo/components/TransactionAction/components/ActionToken.js +1 -1
- package/UI/TransactionInfo/components/TransactionAction/components/TransactionActionBlock/components/TransactionActionCollection.js +1 -1
- package/UI/TransactionInfo/components/TransactionAction/components/TransactionActionBlock/components/TransactionActionNft.js +1 -1
- package/UI/TransactionInfo/components/TransactionAction/components/TransactionActionBlock/components/TransactionActionToken.js +1 -1
- package/UI/TransactionInfo/components/TransactionAction/components/TransactionActionBlock/components/index.js +1 -1
- package/UI/TransactionInfo/components/TransactionAction/components/TransactionActionBlock/index.js +1 -1
- package/UI/TransactionInfo/components/TransactionAction/components/index.js +1 -1
- package/UI/TransactionInfo/components/TransactionAction/index.js +1 -1
- package/UI/TransactionInfo/components/TransactionLogs/TransactionLogs.js +1 -1
- package/UI/TransactionInfo/components/TransactionLogs/index.js +1 -1
- package/UI/TransactionInfo/components/TransactionStatus/TransactionStatus.js +1 -1
- package/UI/TransactionInfo/components/TransactionStatus/index.js +1 -1
- package/UI/TransactionInfo/components/index.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoAge/TransactionInfoAge.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoAge/index.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoEgldPrice/TransactionInfoEgldPrice.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoEgldPrice/index.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoFee/TransactionInfoFee.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoFee/index.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoFrom/TransactionInfoFrom.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoFrom/index.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoGasLimit/TransactionInfoGasLimit.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoGasLimit/index.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoGasPrice/TransactionInfoGasPrice.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoGasPrice/index.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoGasUsed/TransactionInfoGasUsed.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoGasUsed/index.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoInputData/TransactionInfoInputData.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoInputData/index.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoMethod/TransactionInfoMethod.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoMethod/index.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoMiniblock/TransactionInfoMiniblock.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoMiniblock/index.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoNonce/TransactionInfoNonce.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoNonce/index.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoScResults/TransactionInfoScResults.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoScResults/index.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoStatus/TransactionInfoStatus.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoStatus/index.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoTo/TransactionInfoTo.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoTo/index.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoTokenOperations/TransactionInfoTokenOperations.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoTokenOperations/index.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoValue/TransactionInfoValue.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoValue/index.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/index.js +1 -1
- package/UI/TransactionInfo/index.js +1 -1
- package/UI/TransactionsTable/TransactionsTable.js +1 -1
- package/UI/TransactionsTable/components/AccountName.js +1 -1
- package/UI/TransactionsTable/components/LockedTokenAddressIcon.js +1 -1
- package/UI/TransactionsTable/components/ScAddressIcon.js +1 -1
- package/UI/TransactionsTable/components/ShardSpan.js +1 -1
- package/UI/TransactionsTable/components/TransactionHash.js +1 -1
- package/UI/TransactionsTable/components/TransactionIcon.js +1 -1
- package/UI/TransactionsTable/components/TransactionReceiver.js +1 -1
- package/UI/TransactionsTable/components/TransactionRow.js +1 -1
- package/UI/TransactionsTable/components/TransactionSender.js +1 -1
- package/UI/TransactionsTable/components/TransactionShardsTransition.js +1 -1
- package/UI/TransactionsTable/components/TransactionValue/TransactionValue.js +1 -1
- package/UI/TransactionsTable/components/TransactionValue/index.js +1 -1
- package/UI/TransactionsTable/components/index.js +1 -1
- package/UI/TransactionsTable/index.js +1 -1
- package/UI/TransactionsToastList/TransactionsToastList.js +1 -1
- package/UI/TransactionsToastList/components/CustomToast/CustomToast.js +1 -1
- package/UI/TransactionsToastList/components/CustomToast/components/IconToast/IconToast.js +1 -1
- package/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/IconToastFooter.js +1 -1
- package/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/components/ComponentToastFooter.js +1 -1
- package/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/components/TransactionToastFooter.js +1 -1
- package/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/components/index.js +1 -1
- package/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/index.js +1 -1
- package/UI/TransactionsToastList/components/CustomToast/components/IconToast/index.js +1 -1
- package/UI/TransactionsToastList/components/CustomToast/components/SimpleToast.js +1 -1
- package/UI/TransactionsToastList/components/CustomToast/components/index.js +1 -1
- package/UI/TransactionsToastList/components/CustomToast/helpers/getIsTransaction.js +1 -1
- package/UI/TransactionsToastList/components/CustomToast/helpers/index.js +1 -1
- package/UI/TransactionsToastList/components/CustomToast/helpers/useMemoizedCloseButton.js +1 -1
- package/UI/TransactionsToastList/components/CustomToast/index.js +1 -1
- package/UI/TransactionsToastList/components/TransactionToast/TransactionToast.js +1 -1
- package/UI/TransactionsToastList/components/TransactionToast/components/TransactionToastContent.js +1 -1
- package/UI/TransactionsToastList/components/TransactionToast/components/index.js +1 -1
- package/UI/TransactionsToastList/components/TransactionToast/hooks/useTransactionToast.js +1 -1
- package/UI/TransactionsToastList/components/TransactionToast/index.js +1 -1
- package/UI/TransactionsToastList/components/TransactionToast/utils/getToastDataStateByStatus.js +1 -1
- package/UI/TransactionsToastList/components/TransactionToast/utils/index.js +1 -1
- package/UI/TransactionsToastList/components/TransactionToastGuard.js +1 -1
- package/UI/TransactionsToastList/components/index.js +1 -1
- package/UI/TransactionsToastList/index.js +1 -1
- package/UI/Trim/Trim.js +1 -1
- package/UI/Trim/index.js +1 -1
- package/UI/UsdValue/UsdValue.js +1 -1
- package/UI/UsdValue/index.js +1 -1
- package/UI/extension/ExtensionLoginButton/ExtensionLoginButton.js +1 -1
- package/UI/extension/ExtensionLoginButton/index.js +1 -1
- package/UI/index.js +1 -1
- package/UI/ledger/LedgerLoginButton/LedgerLoginButton.js +1 -1
- package/UI/ledger/LedgerLoginButton/index.js +1 -1
- package/UI/ledger/LedgerLoginContainer/AddressRow.js +1 -1
- package/UI/ledger/LedgerLoginContainer/AddressTable.js +1 -1
- package/UI/ledger/LedgerLoginContainer/ConfirmAddress.js +1 -1
- package/UI/ledger/LedgerLoginContainer/index.js +1 -1
- package/UI/ledger/index.js +1 -1
- package/UI/operaWallet/OperaWalletLoginButton/OperaWalletLoginButton.js +1 -1
- package/UI/operaWallet/OperaWalletLoginButton/index.js +1 -1
- package/UI/pages/UnlockPage/index.js +1 -1
- package/UI/pages/index.js +1 -1
- package/UI/walletConnect/WalletConnectConnectionStatus/WalletConnectConnectionStatus.js +1 -1
- package/UI/walletConnect/WalletConnectConnectionStatus/index.js +1 -1
- package/UI/walletConnect/WalletConnectLoginButton/WalletConnectLoginButton.js +1 -1
- package/UI/walletConnect/WalletConnectLoginButton/index.js +1 -1
- package/UI/walletConnect/WalletConnectLoginContainer/index.js +1 -1
- package/UI/walletConnect/index.js +1 -1
- package/UI/webWallet/WebWalletLoginButton/WebWalletLoginButton.js +1 -1
- package/UI/webWallet/WebWalletLoginButton/index.js +1 -1
- package/__chunks__/chunk-22OLJZCS.js +2 -0
- package/__chunks__/{chunk-PQSPUT4B.js → chunk-257M3QTY.js} +2 -2
- package/__chunks__/{chunk-HCA2L7JR.js → chunk-2AJOFYAV.js} +2 -2
- package/__chunks__/{chunk-6KOMZRWN.js → chunk-2CXJKNSP.js} +2 -2
- package/__chunks__/{chunk-C7RKCDF2.js → chunk-2JUQFS4O.js} +2 -2
- package/__chunks__/{chunk-VMSDTOVY.js → chunk-2JYLGADI.js} +2 -2
- package/__chunks__/chunk-2P64IWEV.js +2 -0
- package/__chunks__/chunk-2TQ727TI.js +2 -0
- package/__chunks__/{chunk-QCMJNPMK.js → chunk-2UCCB3MP.js} +2 -2
- package/__chunks__/{chunk-WMZGEPRE.js → chunk-2VADEZKQ.js} +2 -2
- package/__chunks__/{chunk-74U3XLB5.js → chunk-2YAOMBOW.js} +2 -2
- package/__chunks__/{chunk-4KSP7IY5.js → chunk-2ZZI3WWK.js} +2 -2
- package/__chunks__/{chunk-APXIKIH5.js → chunk-35NDQJYP.js} +2 -2
- package/__chunks__/{chunk-33IQ42R2.js → chunk-36LSGICN.js} +2 -2
- package/__chunks__/chunk-3E66U4NM.js +2 -0
- package/__chunks__/{chunk-EZ64DNFR.js → chunk-3F7ZGRBB.js} +2 -2
- package/__chunks__/{chunk-OD6OM6CQ.js → chunk-3FNKFXI5.js} +2 -2
- package/__chunks__/{chunk-EEB4LSSE.js → chunk-3GFG2A3U.js} +2 -2
- package/__chunks__/chunk-3HSI224D.js +2 -0
- package/__chunks__/{chunk-6MPQYEX3.js → chunk-3JQJVPDO.js} +2 -2
- package/__chunks__/{chunk-5JDLK5IZ.js → chunk-3WXHT4F4.js} +2 -2
- package/__chunks__/{chunk-XBDNP27C.js → chunk-42HHDBSD.js} +2 -2
- package/__chunks__/{chunk-KMUXGBEP.js → chunk-43KKXRC2.js} +2 -2
- package/__chunks__/{chunk-PUOI7ORV.js → chunk-4AI2UPIX.js} +2 -2
- package/__chunks__/{chunk-ZWSFBHWI.js → chunk-4DGKR73R.js} +2 -2
- package/__chunks__/chunk-4EVPEAAC.js +2 -0
- package/__chunks__/{chunk-LOMOG3J7.js → chunk-4NQAIS37.js} +2 -2
- package/__chunks__/{chunk-GLL2RDMN.js → chunk-4NWSTAAZ.js} +2 -2
- package/__chunks__/chunk-4ROA4IAP.js +2 -0
- package/__chunks__/{chunk-4BADCGHO.js → chunk-4UY6RTXV.js} +2 -2
- package/__chunks__/{chunk-NYP3EE3M.js → chunk-4WHOJTZJ.js} +2 -2
- package/__chunks__/{chunk-ZAAKPVNV.js → chunk-4XMP5GTT.js} +2 -2
- package/__chunks__/{chunk-HBT3EV3P.js → chunk-54I3HE7Z.js} +2 -2
- package/__chunks__/chunk-554M7MC7.js +2 -0
- package/__chunks__/{chunk-I4PAV4C3.js → chunk-56CSBJOA.js} +2 -2
- package/__chunks__/{chunk-LTLO2UFN.js → chunk-5AT2CLST.js} +2 -2
- package/__chunks__/{chunk-DUH3CYK4.js → chunk-5HE6XUP4.js} +2 -2
- package/__chunks__/chunk-5IYO3P75.js +2 -0
- package/__chunks__/{chunk-754BVF77.js → chunk-5LAIPB3D.js} +2 -2
- package/__chunks__/{chunk-WTWI4V3A.js → chunk-5RTGGHL7.js} +2 -2
- package/__chunks__/{chunk-DQH4ODE2.js → chunk-5U7BHTBF.js} +2 -2
- package/__chunks__/chunk-64OFEAPQ.js +2 -0
- package/__chunks__/chunk-64X5ELCG.js +2 -0
- package/__chunks__/chunk-67VZTXQO.js +2 -0
- package/__chunks__/{chunk-NBKRZNCH.js → chunk-6ACULWGS.js} +2 -2
- package/__chunks__/{chunk-BJTFPFBZ.js → chunk-6DXVSPG6.js} +2 -2
- package/__chunks__/{chunk-4ZHKUGO3.js → chunk-6NACE4ST.js} +2 -2
- package/__chunks__/{chunk-5EBT2DVT.js → chunk-6PBOXKX6.js} +2 -2
- package/__chunks__/{chunk-SK6LYXAJ.js → chunk-6RBPUPPU.js} +2 -2
- package/__chunks__/{chunk-BAO6HI6S.js → chunk-6SQUT3SR.js} +2 -2
- package/__chunks__/{chunk-YOAFFOB6.js → chunk-75DEF6KS.js} +2 -2
- package/__chunks__/{chunk-XGX4NLDC.js → chunk-75GJK2GI.js} +2 -2
- package/__chunks__/{chunk-3UDQW5BX.js → chunk-7AD356MZ.js} +2 -2
- package/__chunks__/{chunk-ZGXKMGS5.js → chunk-7CRTEUXQ.js} +2 -2
- package/__chunks__/chunk-7MBSMSCD.js +2 -0
- package/__chunks__/{chunk-CPWND4DW.js → chunk-7STA5D2T.js} +2 -2
- package/__chunks__/{chunk-DQ55HIYP.js → chunk-A2UHFBXC.js} +2 -2
- package/__chunks__/{chunk-SHPUY3H6.js → chunk-A3M2ZT2N.js} +2 -2
- package/__chunks__/{chunk-MB5IONA4.js → chunk-A44Y55F7.js} +2 -2
- package/__chunks__/{chunk-R6PGB4AY.js → chunk-A4OOIO54.js} +2 -2
- package/__chunks__/{chunk-Q6T3QBES.js → chunk-A5MGV2PF.js} +2 -2
- package/__chunks__/{chunk-V5FL3KG7.js → chunk-A7T4ZPNP.js} +2 -2
- package/__chunks__/{chunk-QDHZGBLR.js → chunk-AIQDX6K7.js} +2 -2
- package/__chunks__/{chunk-DDFD67MI.js → chunk-AMMIWVOK.js} +2 -2
- package/__chunks__/{chunk-MU6W7IW4.js → chunk-AQ72WZBJ.js} +2 -2
- package/__chunks__/{chunk-F6CQD7DQ.js → chunk-ARN4TXNS.js} +2 -2
- package/__chunks__/{chunk-5Y27KEXJ.js → chunk-B3VMBKYV.js} +2 -2
- package/__chunks__/{chunk-WBWWXPS3.js → chunk-B5VQE4H2.js} +2 -2
- package/__chunks__/{chunk-YSKH44IL.js → chunk-B76SBLRL.js} +2 -2
- package/__chunks__/{chunk-FUMXQBTW.js → chunk-BCXMOBSF.js} +2 -2
- package/__chunks__/{chunk-24KK7ZLP.js → chunk-BDCWCPQD.js} +2 -2
- package/__chunks__/{chunk-YW7HDX4O.js → chunk-BDZY57A6.js} +2 -2
- package/__chunks__/{chunk-O6IBA5MC.js → chunk-BFBJHILF.js} +2 -2
- package/__chunks__/{chunk-3VEMYIHI.js → chunk-BVZVVWO6.js} +2 -2
- package/__chunks__/{chunk-RHGBRWCG.js → chunk-BWVLB3EN.js} +2 -2
- package/__chunks__/{chunk-2H6SDBB6.js → chunk-BX66MXW6.js} +2 -2
- package/__chunks__/{chunk-PJUVVM6H.js → chunk-BYMPKNIX.js} +2 -2
- package/__chunks__/{chunk-RANXSXTE.js → chunk-BZI5U74P.js} +2 -2
- package/__chunks__/{chunk-PHISDJVG.js → chunk-C46ILTGH.js} +2 -2
- package/__chunks__/chunk-CAH5U2BC.js +2 -0
- package/__chunks__/{chunk-GW7MH7I2.js → chunk-CDXLD3UX.js} +2 -2
- package/__chunks__/{chunk-54H4EYRK.js → chunk-CLPLALDF.js} +2 -2
- package/__chunks__/{chunk-KANFKNL2.js → chunk-CM2GINJO.js} +2 -2
- package/__chunks__/{chunk-EMQGRYPV.js → chunk-CMXICFOE.js} +2 -2
- package/__chunks__/{chunk-SZDNQ3ZO.js → chunk-COWK2W2W.js} +2 -2
- package/__chunks__/{chunk-O6BSFMJR.js → chunk-CVNDZP76.js} +2 -2
- package/__chunks__/{chunk-EUSBDREN.js → chunk-CXFIBSLH.js} +2 -2
- package/__chunks__/{chunk-Y324QW64.js → chunk-CYKNXV5A.js} +2 -2
- package/__chunks__/chunk-D2YE4NU4.js +2 -0
- package/__chunks__/{chunk-65JKXTOY.js → chunk-D4GAJYCJ.js} +2 -2
- package/__chunks__/chunk-DDBXHWTW.js +2 -0
- package/__chunks__/{chunk-UWVCGIA3.js → chunk-DP5HIL2M.js} +2 -2
- package/__chunks__/{chunk-BAG4CV3S.js → chunk-DR52VSGD.js} +2 -2
- package/__chunks__/{chunk-W54GUOEP.js → chunk-E2X4CGZA.js} +2 -2
- package/__chunks__/{chunk-QEJ52S3Z.js → chunk-E6MPNKOA.js} +2 -2
- package/__chunks__/chunk-E7ZMJK5T.js +2 -0
- package/__chunks__/{chunk-WM254GJP.js → chunk-EBNTLOIS.js} +2 -2
- package/__chunks__/chunk-EDUVKTUJ.js +2 -0
- package/__chunks__/chunk-EFR4FYH4.js +2 -0
- package/__chunks__/{chunk-IETKO3Q2.js → chunk-EVT7EQKU.js} +2 -2
- package/__chunks__/{chunk-PJIJQQXT.js → chunk-EWPZVDAB.js} +2 -2
- package/__chunks__/{chunk-W5IJPL37.js → chunk-F6BJUWL4.js} +2 -2
- package/__chunks__/{chunk-UR5YPM52.js → chunk-FBQHXG72.js} +2 -2
- package/__chunks__/chunk-FHFSY4UV.js +2 -0
- package/__chunks__/{chunk-54RHTKXH.js → chunk-FWQBX5ZR.js} +2 -2
- package/__chunks__/{chunk-P27KVPG4.js → chunk-FX4ZAXUB.js} +2 -2
- package/__chunks__/{chunk-X5ZBDWIN.js → chunk-G22LQ54W.js} +2 -2
- package/__chunks__/{chunk-5FUXPQ5E.js → chunk-G2WKJ6KK.js} +2 -2
- package/__chunks__/{chunk-FQTR766W.js → chunk-GSAU65SR.js} +1 -1
- package/__chunks__/{chunk-MH74N345.js → chunk-GU3PXNAY.js} +2 -2
- package/__chunks__/{chunk-QEKZGB3R.js → chunk-GVTQCXHP.js} +2 -2
- package/__chunks__/{chunk-YLMSGZQS.js → chunk-GWOBNRCO.js} +2 -2
- package/__chunks__/chunk-GWOGB4RR.js +2 -0
- package/__chunks__/{chunk-M4WR7SBV.js → chunk-GXFGHRHG.js} +2 -2
- package/__chunks__/{chunk-QGH5G7VG.js → chunk-GZKFOA62.js} +2 -2
- package/__chunks__/chunk-GZVP3ZXI.js +2 -0
- package/__chunks__/{chunk-A5K54E4H.js → chunk-H2BDW4MQ.js} +2 -2
- package/__chunks__/{chunk-QDVANOM7.js → chunk-H2RDZWXV.js} +2 -2
- package/__chunks__/{chunk-4MJVLPVI.js → chunk-H4XPIFVE.js} +2 -2
- package/__chunks__/{chunk-22A4BGDM.js → chunk-HFQEDJ2B.js} +2 -2
- package/__chunks__/{chunk-23NY2WUK.js → chunk-HIONU7XT.js} +2 -2
- package/__chunks__/{chunk-MQBNTP43.js → chunk-HLAK36TW.js} +2 -2
- package/__chunks__/{chunk-YCKI7KFB.js → chunk-HLLGV3J2.js} +2 -2
- package/__chunks__/{chunk-XYMU6N2W.js → chunk-HM4ZNOAG.js} +2 -2
- package/__chunks__/{chunk-LDVWUPWF.js → chunk-HOXLOOU2.js} +2 -2
- package/__chunks__/{chunk-2UT73N3Q.js → chunk-I2ESI53D.js} +2 -2
- package/__chunks__/{chunk-POJO6MMX.js → chunk-I75FKBLR.js} +2 -2
- package/__chunks__/{chunk-2EZZWJ4A.js → chunk-IB3UZXZV.js} +2 -2
- package/__chunks__/{chunk-EE46SIK7.js → chunk-IE3ZZJWG.js} +2 -2
- package/__chunks__/{chunk-DDYXISJJ.js → chunk-IH33TIUO.js} +2 -2
- package/__chunks__/{chunk-6EJPAHUS.js → chunk-IKIIFVAO.js} +2 -2
- package/__chunks__/{chunk-FZCLL7UM.js → chunk-ILQFJH3G.js} +2 -2
- package/__chunks__/{chunk-NQJYE2G7.js → chunk-INRJLH3K.js} +2 -2
- package/__chunks__/{chunk-3NWKV3ES.js → chunk-IPHQVCKI.js} +2 -2
- package/__chunks__/chunk-IW6SN7BF.js +2 -0
- package/__chunks__/{chunk-EUSOFVHV.js → chunk-J27DLS5B.js} +2 -2
- package/__chunks__/chunk-JCNIVUOH.js +2 -0
- package/__chunks__/chunk-JQEIHESA.js +2 -0
- package/__chunks__/{chunk-4UDZRQOR.js → chunk-JRSSYB2W.js} +2 -2
- package/__chunks__/{chunk-UDFF6CV2.js → chunk-JSEXLEYA.js} +2 -2
- package/__chunks__/{chunk-ERARCGGG.js → chunk-JSYZ5XXA.js} +2 -2
- package/__chunks__/{chunk-4IUIV3HP.js → chunk-JURTWYMD.js} +2 -2
- package/__chunks__/{chunk-4PNL3CZC.js → chunk-K4DOQKCI.js} +2 -2
- package/__chunks__/{chunk-TDTF7WFM.js → chunk-KCBVOAE5.js} +2 -2
- package/__chunks__/{chunk-FT6ZVVYG.js → chunk-KJYPS4WM.js} +2 -2
- package/__chunks__/{chunk-ZSEY3H44.js → chunk-KO26IQAN.js} +2 -2
- package/__chunks__/{chunk-MJGRG63T.js → chunk-KRXH6FKC.js} +2 -2
- package/__chunks__/chunk-KV7GLUXD.js +2 -0
- package/__chunks__/{chunk-IPHIIAMJ.js → chunk-KWX447BW.js} +2 -2
- package/__chunks__/{chunk-U5LEC7IQ.js → chunk-KYUV4GGN.js} +2 -2
- package/__chunks__/{chunk-R2CPPFSK.js → chunk-LAZU73S2.js} +2 -2
- package/__chunks__/{chunk-Q3LXMSKA.js → chunk-LBX3NVTC.js} +2 -2
- package/__chunks__/{chunk-EZ63SSTN.js → chunk-LINILSAX.js} +2 -2
- package/__chunks__/{chunk-B2SFQIRM.js → chunk-LLKFSQJL.js} +2 -2
- package/__chunks__/chunk-LMFYIKOH.js +2 -0
- package/__chunks__/{chunk-JDN7QTR3.js → chunk-LMH5D7PO.js} +2 -2
- package/__chunks__/{chunk-LQW4DRQU.js → chunk-LNHJAXRU.js} +2 -2
- package/__chunks__/{chunk-5NJG63GD.js → chunk-LNYWXGW7.js} +2 -2
- package/__chunks__/{chunk-PKBDLCTQ.js → chunk-LOXGOWPI.js} +2 -2
- package/__chunks__/{chunk-GQFHQXF3.js → chunk-LY757UDU.js} +2 -2
- package/__chunks__/{chunk-DV6JEZP7.js → chunk-M2OXT3YO.js} +2 -2
- package/__chunks__/{chunk-T3A353IW.js → chunk-M37NJUED.js} +2 -2
- package/__chunks__/{chunk-ZYOTBLE2.js → chunk-MAYO43ZD.js} +2 -2
- package/__chunks__/{chunk-KFUGFCIB.js → chunk-MEYIRXHK.js} +2 -2
- package/__chunks__/{chunk-635CWMLH.js → chunk-MFTEMWCU.js} +2 -2
- package/__chunks__/chunk-MLXPX23B.js +2 -0
- package/__chunks__/{chunk-4WDBHDVR.js → chunk-MRKRIB2A.js} +2 -2
- package/__chunks__/{chunk-DHTRJBJ2.js → chunk-MWQ7XWJ3.js} +2 -2
- package/__chunks__/chunk-MXTJ27RN.js +2 -0
- package/__chunks__/{chunk-JXNLZIKK.js → chunk-N2ZBQYKD.js} +2 -2
- package/__chunks__/{chunk-E74NFQH2.js → chunk-N623YQX6.js} +2 -2
- package/__chunks__/chunk-N6SXDXRI.js +2 -0
- package/__chunks__/{chunk-OXVTZZQP.js → chunk-ND27OJ7I.js} +2 -2
- package/__chunks__/{chunk-O3LBNV3Q.js → chunk-NFTBRNA6.js} +2 -2
- package/__chunks__/{chunk-VLVIE24T.js → chunk-NGTYLR2P.js} +2 -2
- package/__chunks__/{chunk-IRYIU5HM.js → chunk-NHCAYUOL.js} +2 -2
- package/__chunks__/{chunk-P6GPL5QL.js → chunk-NJUUQIZ7.js} +2 -2
- package/__chunks__/{chunk-I6R64W27.js → chunk-NKVZAB3K.js} +2 -2
- package/__chunks__/{chunk-OP5S4OTU.js → chunk-NMJ6LNLI.js} +2 -2
- package/__chunks__/{chunk-EVZMZ2M6.js → chunk-NTPBZBNQ.js} +2 -2
- package/__chunks__/{chunk-NWT6SIAI.js → chunk-NV22SU2V.js} +2 -2
- package/__chunks__/chunk-O5OTL554.js +2 -0
- package/__chunks__/{chunk-LKK24GZJ.js → chunk-OB5OXBGC.js} +2 -2
- package/__chunks__/{chunk-PQLUBVOX.js → chunk-OC7RHJY6.js} +2 -2
- package/__chunks__/{chunk-GJVJSVHP.js → chunk-OHO5WVJC.js} +2 -2
- package/__chunks__/{chunk-42VSVW2Y.js → chunk-OQEMXMDD.js} +2 -2
- package/__chunks__/{chunk-DYI3WQWM.js → chunk-OQFYWEIS.js} +2 -2
- package/__chunks__/{chunk-WVI24XU7.js → chunk-OSOVIQYW.js} +2 -2
- package/__chunks__/{chunk-K2TNCKG2.js → chunk-OUA5FLAV.js} +2 -2
- package/__chunks__/{chunk-XN6TVWTL.js → chunk-OUT3EF54.js} +2 -2
- package/__chunks__/chunk-OWRF45PP.js +2 -0
- package/__chunks__/chunk-OY6DZ7KU.js +2 -0
- package/__chunks__/chunk-P3DNG2RV.js +2 -0
- package/__chunks__/{chunk-AYM5JJZN.js → chunk-P4JG3FOF.js} +2 -2
- package/__chunks__/chunk-PCR2WU5P.js +2 -0
- package/__chunks__/{chunk-EYMIIRFV.js → chunk-PED733EL.js} +2 -2
- package/__chunks__/{chunk-ECSLITFK.js → chunk-PFR5SUOK.js} +2 -2
- package/__chunks__/{chunk-BBYO4QOR.js → chunk-PHXT4KGL.js} +2 -2
- package/__chunks__/{chunk-ENEKVKCF.js → chunk-PLHSIUIH.js} +2 -2
- package/__chunks__/{chunk-ARRDY3GI.js → chunk-PUXPL4MQ.js} +2 -2
- package/__chunks__/{chunk-SQ7YIATY.js → chunk-PVWWYI7D.js} +2 -2
- package/__chunks__/{chunk-PUCLTLVZ.js → chunk-PW5QTCOQ.js} +2 -2
- package/__chunks__/{chunk-4LJO6KG2.js → chunk-PZZ4E52R.js} +2 -2
- package/__chunks__/chunk-Q4DPGKGE.js +2 -0
- package/__chunks__/{chunk-FBUSL726.js → chunk-Q5C2SPDB.js} +2 -2
- package/__chunks__/{chunk-R4MJYIUT.js → chunk-QMAHFUXC.js} +2 -2
- package/__chunks__/{chunk-FXGFZDUU.js → chunk-QWNXAJRR.js} +2 -2
- package/__chunks__/{chunk-RPEYA4P2.js → chunk-QXKIAILM.js} +2 -2
- package/__chunks__/chunk-R2BKZWTD.js +2 -0
- package/__chunks__/{chunk-B3ERZM5E.js → chunk-RCTS4E7X.js} +2 -2
- package/__chunks__/chunk-REFNSRHX.js +2 -0
- package/__chunks__/{chunk-5BE6YUVH.js → chunk-RIJFBAYV.js} +2 -2
- package/__chunks__/{chunk-DNZ3HHEO.js → chunk-RKD5TB6H.js} +2 -2
- package/__chunks__/{chunk-OU6RVF2K.js → chunk-RMWACIBX.js} +2 -2
- package/__chunks__/{chunk-C36KPI4J.js → chunk-RT4HX36Y.js} +2 -2
- package/__chunks__/{chunk-VMVXSDID.js → chunk-S5GCXB6J.js} +2 -2
- package/__chunks__/{chunk-3WCN5GML.js → chunk-S6OFZ37Q.js} +2 -2
- package/__chunks__/chunk-SB6Q3PIL.js +2 -0
- package/__chunks__/{chunk-24VHEX7N.js → chunk-SGTU3REC.js} +2 -2
- package/__chunks__/{chunk-NYEMKFOR.js → chunk-SINZVRGH.js} +2 -2
- package/__chunks__/chunk-SWEULXYJ.js +2 -0
- package/__chunks__/{chunk-DERN5X6K.js → chunk-SWWGJTL5.js} +2 -2
- package/__chunks__/{chunk-YODEUNJU.js → chunk-SXQZTZRH.js} +2 -2
- package/__chunks__/chunk-T7V7454F.js +2 -0
- package/__chunks__/{chunk-MOE2D4HR.js → chunk-TIQDH77C.js} +2 -2
- package/__chunks__/{chunk-HZPH647Y.js → chunk-TLFTE6OC.js} +2 -2
- package/__chunks__/{chunk-RECCQD7W.js → chunk-TPFN52IW.js} +2 -2
- package/__chunks__/{chunk-C3ALFGDR.js → chunk-TPQDDLQV.js} +2 -2
- package/__chunks__/{chunk-INWLBKDE.js → chunk-TPS5KPXT.js} +2 -2
- package/__chunks__/{chunk-7FAEWPZ2.js → chunk-TRJJUI2H.js} +2 -2
- package/__chunks__/{chunk-TVV5DBWU.js → chunk-TTWKANGP.js} +2 -2
- package/__chunks__/{chunk-WPIEQFLH.js → chunk-TYFF6L6K.js} +2 -2
- package/__chunks__/{chunk-ZFKA7XWT.js → chunk-U3IQKDUV.js} +2 -2
- package/__chunks__/{chunk-JJQ7I5SV.js → chunk-U5CE3C53.js} +2 -2
- package/__chunks__/{chunk-TIHBURHO.js → chunk-UBGMYFYP.js} +2 -2
- package/__chunks__/{chunk-HSMKWB5J.js → chunk-UCZZ5H3Z.js} +2 -2
- package/__chunks__/{chunk-PCGFLSJN.js → chunk-UH2JJ2OH.js} +2 -2
- package/__chunks__/{chunk-5PXSG6WV.js → chunk-UHCLDQPY.js} +2 -2
- package/__chunks__/{chunk-D2BBKLPY.js → chunk-UQDIW6ZF.js} +2 -2
- package/__chunks__/{chunk-QGESLMYY.js → chunk-URBTPPJQ.js} +2 -2
- package/__chunks__/{chunk-2UKIEP56.js → chunk-UTYB5SVR.js} +2 -2
- package/__chunks__/{chunk-NTKHZGWR.js → chunk-UX5PTPXR.js} +2 -2
- package/__chunks__/{chunk-SXISVR5Z.js → chunk-UZJLDHFK.js} +2 -2
- package/__chunks__/{chunk-RIT6WHYK.js → chunk-UZUMPS4D.js} +2 -2
- package/__chunks__/{chunk-TZLCXEDM.js → chunk-VKGQWWOB.js} +2 -2
- package/__chunks__/{chunk-ZVXR43EE.js → chunk-VMW2UT4I.js} +2 -2
- package/__chunks__/chunk-VRY2YA2B.js +2 -0
- package/__chunks__/{chunk-DTLDVTMB.js → chunk-VSOXJIE4.js} +2 -2
- package/__chunks__/chunk-VT4SCB2Q.js +2 -0
- package/__chunks__/{chunk-CJ2FXYNO.js → chunk-VXBWTSBA.js} +2 -2
- package/__chunks__/{chunk-JMVT2UMW.js → chunk-VXNIDAW4.js} +2 -2
- package/__chunks__/{chunk-KWSACFM6.js → chunk-W3ODGIKR.js} +2 -2
- package/__chunks__/{chunk-B36XNNUS.js → chunk-W3VTDJN2.js} +2 -2
- package/__chunks__/{chunk-AV42XZWH.js → chunk-WDAY7K7O.js} +2 -2
- package/__chunks__/{chunk-7KRJM76K.js → chunk-WG2WVJQW.js} +2 -2
- package/__chunks__/{chunk-7TGNXGEJ.js → chunk-WGPDVKY5.js} +2 -2
- package/__chunks__/{chunk-7N7PCWV6.js → chunk-WIA67UCL.js} +2 -2
- package/__chunks__/{chunk-I4ODQ3LI.js → chunk-WROIAT2N.js} +2 -2
- package/__chunks__/{chunk-W3SLNSGU.js → chunk-WUCNNANV.js} +2 -2
- package/__chunks__/{chunk-PJRU7NED.js → chunk-WWNMJLSX.js} +2 -2
- package/__chunks__/{chunk-HK7JFXLN.js → chunk-WXFYRHD2.js} +2 -2
- package/__chunks__/{chunk-YVL2E6BG.js → chunk-WYNDSNTB.js} +2 -2
- package/__chunks__/chunk-X6PPFAJP.js +2 -0
- package/__chunks__/{chunk-YGO3ADFR.js → chunk-XAGUELOI.js} +2 -2
- package/__chunks__/{chunk-TYGYAPBP.js → chunk-XD4W6G6Z.js} +2 -2
- package/__chunks__/{chunk-B762X3V5.js → chunk-XD6XBD7M.js} +2 -2
- package/__chunks__/{chunk-J2GFMUUO.js → chunk-XHHKUZ2U.js} +2 -2
- package/__chunks__/{chunk-3OOKJ2ER.js → chunk-XKNQBRZO.js} +2 -2
- package/__chunks__/{chunk-DGS6ETK7.js → chunk-XPTZTIQ2.js} +2 -2
- package/__chunks__/chunk-XRVWJ3RL.js +2 -0
- package/__chunks__/{chunk-F42M2XF4.js → chunk-XSU33MQE.js} +2 -2
- package/__chunks__/chunk-XSXPHHSS.js +2 -0
- package/__chunks__/{chunk-XOAXLXCL.js → chunk-Y3M4BQAH.js} +2 -2
- package/__chunks__/{chunk-IAFIDSV7.js → chunk-YCDWRKZR.js} +2 -2
- package/__chunks__/{chunk-CWO6CM26.js → chunk-YCH3M7LC.js} +2 -2
- package/__chunks__/{chunk-HSELUYFT.js → chunk-YISI3TO4.js} +2 -2
- package/__chunks__/{chunk-KQ7ITRLS.js → chunk-ZB5LRSUA.js} +2 -2
- package/__chunks__/{chunk-56XEKPEM.js → chunk-ZDEX2UMS.js} +2 -2
- package/__chunks__/chunk-ZGKYWFGV.js +2 -0
- package/__chunks__/{chunk-5II7EZNI.js → chunk-ZM53UQ5W.js} +2 -2
- package/__chunks__/{chunk-G4JUWVAG.js → chunk-ZMLTCUNQ.js} +2 -2
- package/__chunks__/{chunk-2MR62UP4.js → chunk-ZTX5FNGQ.js} +2 -2
- package/__chunks__/chunk-ZWEMOICZ.js +2 -0
- package/__chunks__/{chunk-6IVIBGDO.js → chunk-ZXNFWJMH.js} +2 -2
- package/__commonjs/UI/DappModal/hooks/index.js +1 -1
- package/__commonjs/UI/DappModal/hooks/useDappModal.js +1 -1
- package/__commonjs/UI/NotificationModal/NotificationModal.js +2 -2
- package/__commonjs/UI/NotificationModal/index.js +2 -2
- package/__commonjs/UI/SignTransactionsModals/SignTransactionsModals.js +22 -22
- package/__commonjs/UI/SignTransactionsModals/SignWithDeviceModal/SignWithDeviceModal.js +5 -5
- package/__commonjs/UI/SignTransactionsModals/SignWithDeviceModal/index.js +5 -5
- package/__commonjs/UI/SignTransactionsModals/SignWithExtensionModal/index.js +3 -3
- package/__commonjs/UI/SignTransactionsModals/SignWithExtraModal/SignWithExtraModal.js +1 -1
- package/__commonjs/UI/SignTransactionsModals/SignWithExtraModal/index.js +1 -1
- package/__commonjs/UI/SignTransactionsModals/SignWithLedgerModal/SignWithLedgerModal.js +5 -5
- package/__commonjs/UI/SignTransactionsModals/SignWithLedgerModal/index.js +5 -5
- package/__commonjs/UI/SignTransactionsModals/SignWithOperaModal/SignWithOperaModal.js +3 -3
- package/__commonjs/UI/SignTransactionsModals/SignWithOperaModal/index.js +3 -3
- package/__commonjs/UI/SignTransactionsModals/components/ConfirmationScreen.js +3 -3
- package/__commonjs/UI/SignTransactionsModals/components/index.js +3 -3
- package/__commonjs/UI/SignTransactionsModals/index.js +22 -22
- package/__commonjs/UI/TransactionInfo/components/ScrDetailItem/ScrDetailItem.js +3 -3
- package/__commonjs/UI/TransactionInfo/components/ScrDetailItem/index.js +3 -3
- package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoMethod/TransactionInfoMethod.js +7 -7
- package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoMethod/index.js +7 -7
- package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoMiniblock/TransactionInfoMiniblock.js +6 -6
- package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoMiniblock/index.js +6 -6
- package/__commonjs/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/components/TransactionToastFooter.js +5 -5
- package/__commonjs/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/components/index.js +5 -5
- package/__commonjs/UI/TransactionsToastList/components/TransactionToastGuard.js +9 -9
- package/__commonjs/UI/index.js +11 -11
- package/__commonjs/UI/ledger/LedgerLoginContainer/AddressTable.js +4 -4
- package/__commonjs/UI/ledger/LedgerLoginContainer/index.js +10 -10
- 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/components/LogoutListener/LogoutListener.js +1 -1
- package/__commonjs/components/LogoutListener/helpers/useLogoutFromMultipleTabs.js +1 -1
- package/__commonjs/components/LogoutListener/index.js +1 -1
- package/__commonjs/components/ProviderInitializer.js +1 -1
- package/__commonjs/components/TransactionsTracker/useTransactionsTracker.js +1 -1
- package/__commonjs/hooks/index.js +1 -1
- package/__commonjs/hooks/signMessage/index.js +1 -1
- package/__commonjs/hooks/transactions/helpers/index.js +1 -1
- package/__commonjs/hooks/transactions/index.js +1 -1
- package/__commonjs/hooks/transactions/useCheckTransactionStatus/index.js +1 -1
- package/__commonjs/hooks/transactions/useCheckTransactionStatus/useCheckTransactionStatus.js +1 -1
- package/__commonjs/hooks/transactions/useSignTransactions.js +1 -1
- package/__commonjs/hooks/transactions/useSignTransactionsWithDevice.js +1 -1
- package/__commonjs/hooks/transactions/useSignTransactionsWithLedger.js +1 -1
- package/__commonjs/hooks/websocketListener/useRegisterWebsocketListener.js +1 -1
- package/__commonjs/reduxStore/selectors/networkConfigSelectors.js +1 -1
- package/__commonjs/reduxStore/selectors/toastsSelectors.js +1 -1
- package/__commonjs/reduxStore/slices/index.js +1 -1
- package/__commonjs/reduxStore/slices/transactionsSlice.js +1 -1
- package/__commonjs/types/transactions.types.d.ts +4 -0
- package/__commonjs/types/transactions.types.js +1 -1
- package/__commonjs/utils/account/getAddress.js +1 -1
- package/__commonjs/utils/account/index.js +1 -1
- package/__commonjs/utils/smartContracts.js +1 -1
- package/__commonjs/utils/transactions/removeTransactionParamsFromUrl.js +1 -1
- package/__commonjs/utils/transactions/transactionInfoHelpers/useDataDecode.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/batch/useGetBatches.js +1 -1
- package/hooks/transactions/batch/useSendBatchTransactions.js +1 -1
- package/hooks/transactions/batch/useTrackBatchTransactions.js +1 -1
- package/hooks/transactions/batch/useUpdateBatch.js +1 -1
- package/hooks/transactions/batch/useUpdateBatches.js +1 -1
- package/hooks/transactions/helpers/checkNeedsGuardianSigning.js +1 -1
- package/hooks/transactions/helpers/getShouldMoveTransactionsToSignedState.js +1 -1
- package/hooks/transactions/helpers/index.js +1 -1
- package/hooks/transactions/helpers/useClearTransactionsToSignWithWarning.js +1 -1
- package/hooks/transactions/helpers/useSetTransactionNonces.js +1 -1
- package/hooks/transactions/index.js +1 -1
- package/hooks/transactions/useCancelWalletConnectAction.js +1 -1
- package/hooks/transactions/useCheckTransactionStatus/checkBatch.js +1 -1
- package/hooks/transactions/useCheckTransactionStatus/index.js +1 -1
- package/hooks/transactions/useCheckTransactionStatus/manageFailedTransactions.js +1 -1
- package/hooks/transactions/useCheckTransactionStatus/manageTimedOutTransactions.js +1 -1
- package/hooks/transactions/useCheckTransactionStatus/useCheckTransactionStatus.js +1 -1
- package/hooks/transactions/useGetActiveTransactionsStatus.js +1 -1
- package/hooks/transactions/useGetFailedTransactions.js +1 -1
- package/hooks/transactions/useGetLastPendingTransactionHash.js +1 -1
- package/hooks/transactions/useGetPendingTransactions.js +1 -1
- package/hooks/transactions/useGetSignTransactionsError.js +1 -1
- package/hooks/transactions/useGetSignedTransactions.js +1 -1
- package/hooks/transactions/useGetSuccessfulTransactions.js +1 -1
- package/hooks/transactions/useGetTokenDetails.js +1 -1
- package/hooks/transactions/useGetTransactionDisplayInfo.js +1 -1
- package/hooks/transactions/useParseMultiEsdtTransferData.js +1 -1
- package/hooks/transactions/useParseSignedTransactions.js +1 -1
- package/hooks/transactions/useSignMultipleTransactions.js +1 -1
- package/hooks/transactions/useSignTransactions.js +1 -1
- package/hooks/transactions/useSignTransactionsCommonData.js +1 -1
- package/hooks/transactions/useSignTransactionsWithDevice.js +1 -1
- package/hooks/transactions/useSignTransactionsWithLedger.js +1 -1
- package/hooks/transactions/useTrackTransactionStatus.js +1 -1
- package/hooks/useGetNetworkConfig.js +1 -1
- package/hooks/useGetNotification.js +1 -1
- package/hooks/userInterface/index.js +1 -1
- package/hooks/userInterface/useIsDappModalVisible.js +1 -1
- package/hooks/websocketListener/index.js +1 -1
- package/hooks/websocketListener/useInitializeWebsocketConnection.js +1 -1
- package/hooks/websocketListener/useRegisterWebsocketListener.js +1 -1
- package/models/index.js +1 -1
- package/models/newTransaction.js +1 -1
- package/package.json +1 -1
- package/providers/accountProvider.js +1 -1
- package/providers/index.js +1 -1
- package/providers/utils.js +1 -1
- package/providers/webviewProvider/index.js +1 -1
- package/providers/webviewProvider/requestMethods.js +1 -1
- package/providers/webviewProvider/webviewProvider.js +1 -1
- package/reduxStore/DappProviderContext.js +1 -1
- package/reduxStore/commonActions.js +1 -1
- package/reduxStore/middlewares/loginSessionMiddleware.js +1 -1
- package/reduxStore/persistConfig.js +1 -1
- package/reduxStore/persistedRootReducer.js +1 -1
- package/reduxStore/reducers.js +1 -1
- package/reduxStore/rootReducer.js +1 -1
- package/reduxStore/selectors/accountInfoSelectors.js +1 -1
- package/reduxStore/selectors/batchTransactionsSelectors.js +1 -1
- package/reduxStore/selectors/dappConfigSelector.js +1 -1
- package/reduxStore/selectors/dappModalsSelectors.js +1 -1
- package/reduxStore/selectors/helpers.js +1 -1
- package/reduxStore/selectors/index.js +1 -1
- package/reduxStore/selectors/loginInfoSelectors.js +1 -1
- package/reduxStore/selectors/modalsSelectors.js +1 -1
- package/reduxStore/selectors/networkConfigSelectors.js +1 -1
- package/reduxStore/selectors/signedMessageInfoSelectors.js +1 -1
- package/reduxStore/selectors/toastsSelectors.js +1 -1
- package/reduxStore/selectors/transactionsInfoSelectors.js +1 -1
- package/reduxStore/selectors/transactionsSelectors.js +1 -1
- package/reduxStore/slices/accountInfoSlice.js +1 -1
- package/reduxStore/slices/batchTransactionsSlice.js +1 -1
- package/reduxStore/slices/dappConfigSlice.js +1 -1
- package/reduxStore/slices/dappModalsSlice.js +1 -1
- package/reduxStore/slices/index.js +1 -1
- package/reduxStore/slices/loginInfoSlice.js +1 -1
- package/reduxStore/slices/modalsSlice.js +1 -1
- package/reduxStore/slices/signedMessageInfoSlice.js +1 -1
- package/reduxStore/slices/toastsSlice.js +1 -1
- package/reduxStore/slices/transactionsInfoSlice.js +1 -1
- package/reduxStore/slices/transactionsSlice.js +1 -1
- package/reduxStore/store.js +1 -1
- package/services/index.js +1 -1
- package/services/nativeAuth/helpers/getAuthorizationInfo.js +1 -1
- package/services/nativeAuth/helpers/getIsNativeAuthSingingForbidden.js +1 -1
- package/services/nativeAuth/helpers/index.js +1 -1
- package/services/nativeAuth/helpers/loginWithNativeAuthToken.js +1 -1
- package/services/transactions/clearTransactions.js +1 -1
- package/services/transactions/getBatchTransactionsStatus.js +1 -1
- package/services/transactions/index.js +1 -1
- package/services/transactions/isCrossShardTransaction.js +1 -1
- package/services/transactions/sendBatchTransactions.js +1 -1
- package/services/transactions/sendTransactions.js +1 -1
- package/services/transactions/signTransactions.js +1 -1
- package/services/transactions/transformAndSignTransactions.js +1 -1
- package/services/transactions/utils.js +1 -1
- package/types/index.js +1 -1
- package/types/transactions.types.d.ts +4 -0
- package/types/transactions.types.js +1 -1
- package/utils/account/getAccount.js +1 -1
- package/utils/account/getAccountBalance.js +1 -1
- package/utils/account/getAccountProviderType.js +1 -1
- package/utils/account/getAccountShard.js +1 -1
- package/utils/account/getAddress.js +1 -1
- package/utils/account/getIsProviderEqualTo.js +1 -1
- package/utils/account/getLatestNonce.js +1 -1
- package/utils/account/getShardOfAddress.js +1 -1
- package/utils/account/index.js +1 -1
- package/utils/account/loginWithExternalProvider.js +1 -1
- package/utils/account/refreshAccount.js +1 -1
- package/utils/account/setNonce.js +1 -1
- package/utils/account/signMessage.js +1 -1
- package/utils/getIsLoggedIn.js +1 -1
- package/utils/index.js +1 -1
- package/utils/logout.js +1 -1
- package/utils/network/getChainID.js +1 -1
- package/utils/network/getEgldLabel.js +1 -1
- package/utils/network/getNetworkConfig.js +1 -1
- package/utils/network/index.js +1 -1
- package/utils/operations/calculateFeeLimit.js +1 -1
- package/utils/operations/denominate.js +1 -1
- package/utils/operations/formatAmount.js +1 -1
- package/utils/operations/index.js +1 -1
- package/utils/operations/nominate.js +1 -1
- package/utils/operations/parseAmount.js +1 -1
- package/utils/smartContracts.js +1 -1
- package/utils/toasts/customToastsActions.js +1 -1
- package/utils/toasts/index.js +1 -1
- package/utils/transactions/batch/updateBatchTransactionsStatuses.js +1 -1
- package/utils/transactions/getAllTransactionsLink.js +1 -1
- package/utils/transactions/getAreTransactionsOnSameShard.js +1 -1
- package/utils/transactions/getInterpretedTransaction/getInterpretedTransaction.js +1 -1
- package/utils/transactions/getInterpretedTransaction/helpers/getReceiptMessage.js +1 -1
- package/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/getTransactionValue.js +1 -1
- package/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/helpers/getEgldValueData.js +1 -1
- package/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/helpers/getTitleText.js +1 -1
- package/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/helpers/getValueFromActions.js +1 -1
- package/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/helpers/getValueFromDataField.js +1 -1
- package/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/helpers/getValueFromOperations.js +1 -1
- package/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/helpers/index.js +1 -1
- package/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/index.js +1 -1
- package/utils/transactions/getInterpretedTransaction/helpers/index.js +1 -1
- package/utils/transactions/getInterpretedTransaction/index.js +1 -1
- package/utils/transactions/getTransactionLink.js +1 -1
- package/utils/transactions/index.js +1 -1
- package/utils/transactions/parseMultiEsdtTransferData.js +1 -1
- package/utils/transactions/parseTransactionAfterSigning.js +1 -1
- package/utils/transactions/removeTransactionParamsFromUrl.js +1 -1
- package/utils/transactions/transactionInfoHelpers/decodeForDisplay/decodeForDisplay.js +1 -1
- package/utils/transactions/transactionInfoHelpers/decodeForDisplay/helpers/getDisplayValueAndValidationWarnings.js +1 -1
- package/utils/transactions/transactionInfoHelpers/decodeForDisplay/helpers/getSmartDecodedParts.js +1 -1
- package/utils/transactions/transactionInfoHelpers/decodeForDisplay/helpers/index.js +1 -1
- package/utils/transactions/transactionInfoHelpers/decodeForDisplay/index.js +1 -1
- package/utils/transactions/transactionInfoHelpers/getScResultsInitialDecodeMethod.js +1 -1
- package/utils/transactions/transactionInfoHelpers/getShardText.js +1 -1
- package/utils/transactions/transactionInfoHelpers/getTransactionActionNftText.js +1 -1
- package/utils/transactions/transactionInfoHelpers/getTransactionActionTokenText.js +1 -1
- package/utils/transactions/transactionInfoHelpers/getTransactionLinkWithLabel.js +1 -1
- package/utils/transactions/transactionInfoHelpers/getTransactionMessages.js +1 -1
- package/utils/transactions/transactionInfoHelpers/index.js +1 -1
- package/utils/transactions/transactionInfoHelpers/transactionActionUnwrapper/helpers/index.js +1 -1
- package/utils/transactions/transactionInfoHelpers/transactionActionUnwrapper/helpers/mexUnwrapper.js +1 -1
- package/utils/transactions/transactionInfoHelpers/transactionActionUnwrapper/index.js +1 -1
- package/utils/transactions/transactionInfoHelpers/transactionActionUnwrapper/transactionActionUnwrapper.js +1 -1
- package/utils/transactions/transactionInfoHelpers/useDataDecode.js +1 -1
- package/utils/transactions/transactionInfoHelpers/useDataDecodeMethod.js +1 -1
- package/utils/validation/index.js +1 -1
- package/utils/validation/maxDecimals.js +1 -1
- package/utils/validation/stringIsFloat.js +1 -1
- package/utils/walletconnect/__mocks__/sdkWalletconnectProvider.js +1 -1
- package/web/hooks/index.js +1 -1
- package/web/hooks/useIdleTimer.js +1 -1
- package/web/index.js +1 -1
- package/wrappers/AppInitializer.js +1 -1
- package/wrappers/AuthenticatedRoutesWrapper/AuthenticatedRoutesWrapper.js +1 -1
- package/wrappers/AuthenticatedRoutesWrapper/index.js +1 -1
- package/wrappers/AxiosInterceptorContext/AxiosInterceptorContext.js +1 -1
- package/wrappers/AxiosInterceptorContext/components/AxiosInterceptor.js +1 -1
- package/wrappers/AxiosInterceptorContext/components/AxiosInterceptorContextProvider.js +1 -1
- package/wrappers/AxiosInterceptorContext/components/LoginInfoListener.js +1 -1
- package/wrappers/AxiosInterceptorContext/components/index.js +1 -1
- package/wrappers/AxiosInterceptorContext/index.js +1 -1
- package/wrappers/DappProvider/CustomComponents.js +1 -1
- package/wrappers/DappProvider/DappProvider.js +1 -1
- package/wrappers/DappProvider/index.js +1 -1
- package/wrappers/index.js +1 -1
- package/__chunks__/chunk-2DF5QDRY.js +0 -2
- package/__chunks__/chunk-2IKYBOID.js +0 -2
- package/__chunks__/chunk-3I4WSHUC.js +0 -2
- package/__chunks__/chunk-3UTHLT6A.js +0 -2
- package/__chunks__/chunk-4IOA75W6.js +0 -2
- package/__chunks__/chunk-4O6PWAKS.js +0 -2
- package/__chunks__/chunk-4PMLV6U3.js +0 -2
- package/__chunks__/chunk-6NEOCIRB.js +0 -2
- package/__chunks__/chunk-6XM3EBUS.js +0 -2
- package/__chunks__/chunk-72OGWB73.js +0 -2
- package/__chunks__/chunk-7CERDE75.js +0 -2
- package/__chunks__/chunk-7P4F7I5K.js +0 -2
- package/__chunks__/chunk-BH655BLS.js +0 -2
- package/__chunks__/chunk-BLWD4PKR.js +0 -2
- package/__chunks__/chunk-BN4BJQWE.js +0 -2
- package/__chunks__/chunk-BQFC2GGQ.js +0 -2
- package/__chunks__/chunk-BWHZUT7S.js +0 -2
- package/__chunks__/chunk-CL3YOGNK.js +0 -2
- package/__chunks__/chunk-EOVJZE2V.js +0 -2
- package/__chunks__/chunk-FWHFV2GY.js +0 -2
- package/__chunks__/chunk-G2MDLSAP.js +0 -2
- package/__chunks__/chunk-HFF63CWA.js +0 -2
- package/__chunks__/chunk-HQ64MG47.js +0 -2
- package/__chunks__/chunk-KS7XN62J.js +0 -2
- package/__chunks__/chunk-KSDVGCPP.js +0 -2
- package/__chunks__/chunk-KU6MQG4T.js +0 -2
- package/__chunks__/chunk-M3KWJSVP.js +0 -2
- package/__chunks__/chunk-MDLJLBON.js +0 -2
- package/__chunks__/chunk-MH3ZESL5.js +0 -2
- package/__chunks__/chunk-MNEZR55O.js +0 -2
- package/__chunks__/chunk-O252YP3B.js +0 -2
- package/__chunks__/chunk-OGBWOFC5.js +0 -2
- package/__chunks__/chunk-PD2665ST.js +0 -2
- package/__chunks__/chunk-QRNKLOPS.js +0 -2
- package/__chunks__/chunk-QUYLH34E.js +0 -2
- package/__chunks__/chunk-SR2NXF6S.js +0 -2
- package/__chunks__/chunk-SVC7DYDE.js +0 -2
- package/__chunks__/chunk-UI4DV6BF.js +0 -2
- package/__chunks__/chunk-VKPM6HWY.js +0 -2
- package/__chunks__/chunk-VWHAHJ7M.js +0 -2
- package/__chunks__/chunk-WGZYZ3J4.js +0 -2
- package/__chunks__/chunk-WZAWFI47.js +0 -2
- package/__chunks__/chunk-XG7OX5T2.js +0 -2
- package/__chunks__/chunk-XVJ73AJ4.js +0 -2
- package/__chunks__/chunk-YC7PF6LQ.js +0 -2
- package/__chunks__/chunk-YJVSP7IH.js +0 -2
- package/__chunks__/chunk-ZGUJTQO2.js +0 -2
- package/__chunks__/chunk-ZK6VVULN.js +0 -2
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";var Pe=Object.create;var M=Object.defineProperty;var Oe=Object.getOwnPropertyDescriptor;var Me=Object.getOwnPropertyNames;var Ge=Object.getPrototypeOf,ze=Object.prototype.hasOwnProperty;var qe=(t,e)=>()=>(t&&(e=t(t=0)),e);var G=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),He=(t,e)=>{for(var r in e)M(t,r,{get:e[r],enumerable:!0})},ae=(t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of Me(e))!ze.call(t,i)&&i!==r&&M(t,i,{get:()=>e[i],enumerable:!(n=Oe(e,i))||n.enumerable});return t};var V=(t,e,r)=>(r=t!=null?Pe(Ge(t)):{},ae(e||!t||!t.__esModule?M(r,"default",{value:t,enumerable:!0}):r,t)),je=t=>ae(M({},"__esModule",{value:!0}),t);var le=G(z=>{"use strict";c();z.byteLength=Ve;z.toByteArray=Ye;z.fromByteArray=Je;var k=[],v=[],We=typeof Uint8Array!="undefined"?Uint8Array:Array,X="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(N=0,oe=X.length;N<oe;++N)k[N]=X[N],v[X.charCodeAt(N)]=N;var N,oe;v["-".charCodeAt(0)]=62;v["_".charCodeAt(0)]=63;function se(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 Ve(t){var e=se(t),r=e[0],n=e[1];return(r+n)*3/4-n}function Xe(t,e,r){return(e+r)*3/4-r}function Ye(t){var e,r=se(t),n=r[0],i=r[1],a=new We(Xe(t,n,i)),o=0,l=i>0?n-4:n,p;for(p=0;p<l;p+=4)e=v[t.charCodeAt(p)]<<18|v[t.charCodeAt(p+1)]<<12|v[t.charCodeAt(p+2)]<<6|v[t.charCodeAt(p+3)],a[o++]=e>>16&255,a[o++]=e>>8&255,a[o++]=e&255;return i===2&&(e=v[t.charCodeAt(p)]<<2|v[t.charCodeAt(p+1)]>>4,a[o++]=e&255),i===1&&(e=v[t.charCodeAt(p)]<<10|v[t.charCodeAt(p+1)]<<4|v[t.charCodeAt(p+2)]>>2,a[o++]=e>>8&255,a[o++]=e&255),a}function Ke(t){return k[t>>18&63]+k[t>>12&63]+k[t>>6&63]+k[t&63]}function Qe(t,e,r){for(var n,i=[],a=e;a<r;a+=3)n=(t[a]<<16&16711680)+(t[a+1]<<8&65280)+(t[a+2]&255),i.push(Ke(n));return i.join("")}function Je(t){for(var e,r=t.length,n=r%3,i=[],a=16383,o=0,l=r-n;o<l;o+=a)i.push(Qe(t,o,o+a>l?l:o+a));return n===1?(e=t[r-1],i.push(k[e>>2]+k[e<<4&63]+"==")):n===2&&(e=(t[r-2]<<8)+t[r-1],i.push(k[e>>10]+k[e>>4&63]+k[e<<2&63]+"=")),i.join("")}});var ce=G(Y=>{c();Y.read=function(t,e,r,n,i){var a,o,l=i*8-n-1,p=(1<<l)-1,d=p>>1,g=-7,u=r?i-1:0,b=r?-1:1,T=t[e+u];for(u+=b,a=T&(1<<-g)-1,T>>=-g,g+=l;g>0;a=a*256+t[e+u],u+=b,g-=8);for(o=a&(1<<-g)-1,a>>=-g,g+=n;g>0;o=o*256+t[e+u],u+=b,g-=8);if(a===0)a=1-d;else{if(a===p)return o?NaN:(T?-1:1)*(1/0);o=o+Math.pow(2,n),a=a-d}return(T?-1:1)*o*Math.pow(2,a-n)};Y.write=function(t,e,r,n,i,a){var o,l,p,d=a*8-i-1,g=(1<<d)-1,u=g>>1,b=i===23?Math.pow(2,-24)-Math.pow(2,-77):0,T=n?0:a-1,C=n?1:-1,Be=e<0||e===0&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(l=isNaN(e)?1:0,o=g):(o=Math.floor(Math.log(e)/Math.LN2),e*(p=Math.pow(2,-o))<1&&(o--,p*=2),o+u>=1?e+=b/p:e+=b*Math.pow(2,1-u),e*p>=2&&(o++,p/=2),o+u>=g?(l=0,o=g):o+u>=1?(l=(e*p-1)*Math.pow(2,i),o=o+u):(l=e*Math.pow(2,u-1)*Math.pow(2,i),o=0));i>=8;t[r+T]=l&255,T+=C,l/=256,i-=8);for(o=o<<i|l,d+=i;d>0;t[r+T]=o&255,T+=C,o/=256,d-=8);t[r+T-C]|=Be*128}});var be=G(B=>{"use strict";c();var K=le(),U=ce(),pe=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;B.Buffer=s;B.SlowBuffer=nr;B.INSPECT_MAX_BYTES=50;var q=2147483647;B.kMaxLength=q;s.TYPED_ARRAY_SUPPORT=Ze();!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 Ze(){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 A(t){if(t>q)throw new RangeError('The value "'+t+'" is invalid for option "size"');var e=new Uint8Array(t);return Object.setPrototypeOf(e,s.prototype),e}function s(t,e,r){if(typeof t=="number"){if(typeof e=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return $(t)}return ge(t,e,r)}s.poolSize=8192;function ge(t,e,r){if(typeof t=="string")return er(t,e);if(ArrayBuffer.isView(t))return rr(t);if(t==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t);if(_(t,ArrayBuffer)||t&&_(t.buffer,ArrayBuffer)||typeof SharedArrayBuffer!="undefined"&&(_(t,SharedArrayBuffer)||t&&_(t.buffer,SharedArrayBuffer)))return J(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=tr(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 ge(t,e,r)};Object.setPrototypeOf(s.prototype,Uint8Array.prototype);Object.setPrototypeOf(s,Uint8Array);function me(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 $e(t,e,r){return me(t),t<=0?A(t):e!==void 0?typeof r=="string"?A(t).fill(e,r):A(t).fill(e):A(t)}s.alloc=function(t,e,r){return $e(t,e,r)};function $(t){return me(t),A(t<0?0:ee(t)|0)}s.allocUnsafe=function(t){return $(t)};s.allocUnsafeSlow=function(t){return $(t)};function er(t,e){if((typeof e!="string"||e==="")&&(e="utf8"),!s.isEncoding(e))throw new TypeError("Unknown encoding: "+e);var r=fe(t,e)|0,n=A(r),i=n.write(t,e);return i!==r&&(n=n.slice(0,i)),n}function Q(t){for(var e=t.length<0?0:ee(t.length)|0,r=A(e),n=0;n<e;n+=1)r[n]=t[n]&255;return r}function rr(t){if(_(t,Uint8Array)){var e=new Uint8Array(t);return J(e.buffer,e.byteOffset,e.byteLength)}return Q(t)}function J(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 tr(t){if(s.isBuffer(t)){var e=ee(t.length)|0,r=A(e);return r.length===0||t.copy(r,0,0,e),r}if(t.length!==void 0)return typeof t.length!="number"||re(t.length)?A(0):Q(t);if(t.type==="Buffer"&&Array.isArray(t.data))return Q(t.data)}function ee(t){if(t>=q)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+q.toString(16)+" bytes");return t|0}function nr(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(_(e,Uint8Array)&&(e=s.from(e,e.offset,e.byteLength)),_(r,Uint8Array)&&(r=s.from(r,r.offset,r.byteLength)),!s.isBuffer(e)||!s.isBuffer(r))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(e===r)return 0;for(var n=e.length,i=r.length,a=0,o=Math.min(n,i);a<o;++a)if(e[a]!==r[a]){n=e[a],i=r[a];break}return n<i?-1:i<n?1:0};s.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}};s.concat=function(e,r){if(!Array.isArray(e))throw new TypeError('"list" argument must be an Array of Buffers');if(e.length===0)return s.alloc(0);var n;if(r===void 0)for(r=0,n=0;n<e.length;++n)r+=e[n].length;var i=s.allocUnsafe(r),a=0;for(n=0;n<e.length;++n){var o=e[n];if(_(o,Uint8Array))a+o.length>i.length?s.from(o).copy(i,a):Uint8Array.prototype.set.call(i,o,a);else if(s.isBuffer(o))o.copy(i,a);else throw new TypeError('"list" argument must be an Array of Buffers');a+=o.length}return i};function fe(t,e){if(s.isBuffer(t))return t.length;if(ArrayBuffer.isView(t)||_(t,ArrayBuffer))return t.byteLength;if(typeof t!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof t);var r=t.length,n=arguments.length>2&&arguments[2]===!0;if(!n&&r===0)return 0;for(var i=!1;;)switch(e){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":return Z(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return r*2;case"hex":return r>>>1;case"base64":return ve(t).length;default:if(i)return n?-1:Z(t).length;e=(""+e).toLowerCase(),i=!0}}s.byteLength=fe;function ir(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 mr(this,e,r);case"utf8":case"utf-8":return ye(this,e,r);case"ascii":return dr(this,e,r);case"latin1":case"binary":return gr(this,e,r);case"base64":return pr(this,e,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return fr(this,e,r);default:if(n)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),n=!0}}s.prototype._isBuffer=!0;function F(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)F(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)F(this,r,r+3),F(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)F(this,r,r+7),F(this,r+1,r+6),F(this,r+2,r+5),F(this,r+3,r+4);return this};s.prototype.toString=function(){var e=this.length;return e===0?"":arguments.length===0?ye(this,0,e):ir.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=B.INSPECT_MAX_BYTES;return e=this.toString("hex",0,r).replace(/(.{2})/g,"$1 ").trim(),this.length>r&&(e+=" ... "),"<Buffer "+e+">"};pe&&(s.prototype[pe]=s.prototype.inspect);s.prototype.compare=function(e,r,n,i,a){if(_(e,Uint8Array)&&(e=s.from(e,e.offset,e.byteLength)),!s.isBuffer(e))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof e);if(r===void 0&&(r=0),n===void 0&&(n=e?e.length:0),i===void 0&&(i=0),a===void 0&&(a=this.length),r<0||n>e.length||i<0||a>this.length)throw new RangeError("out of range index");if(i>=a&&r>=n)return 0;if(i>=a)return-1;if(r>=n)return 1;if(r>>>=0,n>>>=0,i>>>=0,a>>>=0,this===e)return 0;for(var o=a-i,l=n-r,p=Math.min(o,l),d=this.slice(i,a),g=e.slice(r,n),u=0;u<p;++u)if(d[u]!==g[u]){o=d[u],l=g[u];break}return o<l?-1:l<o?1:0};function he(t,e,r,n,i){if(t.length===0)return-1;if(typeof r=="string"?(n=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),r=+r,re(r)&&(r=i?0:t.length-1),r<0&&(r=t.length+r),r>=t.length){if(i)return-1;r=t.length-1}else if(r<0)if(i)r=0;else return-1;if(typeof e=="string"&&(e=s.from(e,n)),s.isBuffer(e))return e.length===0?-1:ue(t,e,r,n,i);if(typeof e=="number")return e=e&255,typeof Uint8Array.prototype.indexOf=="function"?i?Uint8Array.prototype.indexOf.call(t,e,r):Uint8Array.prototype.lastIndexOf.call(t,e,r):ue(t,[e],r,n,i);throw new TypeError("val must be string, number or Buffer")}function ue(t,e,r,n,i){var a=1,o=t.length,l=e.length;if(n!==void 0&&(n=String(n).toLowerCase(),n==="ucs2"||n==="ucs-2"||n==="utf16le"||n==="utf-16le")){if(t.length<2||e.length<2)return-1;a=2,o/=2,l/=2,r/=2}function p(T,C){return a===1?T[C]:T.readUInt16BE(C*a)}var d;if(i){var g=-1;for(d=r;d<o;d++)if(p(t,d)===p(e,g===-1?0:d-g)){if(g===-1&&(g=d),d-g+1===l)return g*a}else g!==-1&&(d-=d-g),g=-1}else for(r+l>o&&(r=o-l),d=r;d>=0;d--){for(var u=!0,b=0;b<l;b++)if(p(t,d+b)!==p(e,b)){u=!1;break}if(u)return d}return-1}s.prototype.includes=function(e,r,n){return this.indexOf(e,r,n)!==-1};s.prototype.indexOf=function(e,r,n){return he(this,e,r,n,!0)};s.prototype.lastIndexOf=function(e,r,n){return he(this,e,r,n,!1)};function ar(t,e,r,n){r=Number(r)||0;var i=t.length-r;n?(n=Number(n),n>i&&(n=i)):n=i;var a=e.length;n>a/2&&(n=a/2);for(var o=0;o<n;++o){var l=parseInt(e.substr(o*2,2),16);if(re(l))return o;t[r+o]=l}return o}function or(t,e,r,n){return H(Z(e,t.length-r),t,r,n)}function sr(t,e,r,n){return H(xr(e),t,r,n)}function lr(t,e,r,n){return H(ve(e),t,r,n)}function cr(t,e,r,n){return H(wr(e,t.length-r),t,r,n)}s.prototype.write=function(e,r,n,i){if(r===void 0)i="utf8",n=this.length,r=0;else if(n===void 0&&typeof r=="string")i=r,n=this.length,r=0;else if(isFinite(r))r=r>>>0,isFinite(n)?(n=n>>>0,i===void 0&&(i="utf8")):(i=n,n=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var a=this.length-r;if((n===void 0||n>a)&&(n=a),e.length>0&&(n<0||r<0)||r>this.length)throw new RangeError("Attempt to write outside buffer bounds");i||(i="utf8");for(var o=!1;;)switch(i){case"hex":return ar(this,e,r,n);case"utf8":case"utf-8":return or(this,e,r,n);case"ascii":case"latin1":case"binary":return sr(this,e,r,n);case"base64":return lr(this,e,r,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return cr(this,e,r,n);default:if(o)throw new TypeError("Unknown encoding: "+i);i=(""+i).toLowerCase(),o=!0}};s.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function pr(t,e,r){return e===0&&r===t.length?K.fromByteArray(t):K.fromByteArray(t.slice(e,r))}function ye(t,e,r){r=Math.min(t.length,r);for(var n=[],i=e;i<r;){var a=t[i],o=null,l=a>239?4:a>223?3:a>191?2:1;if(i+l<=r){var p,d,g,u;switch(l){case 1:a<128&&(o=a);break;case 2:p=t[i+1],(p&192)===128&&(u=(a&31)<<6|p&63,u>127&&(o=u));break;case 3:p=t[i+1],d=t[i+2],(p&192)===128&&(d&192)===128&&(u=(a&15)<<12|(p&63)<<6|d&63,u>2047&&(u<55296||u>57343)&&(o=u));break;case 4:p=t[i+1],d=t[i+2],g=t[i+3],(p&192)===128&&(d&192)===128&&(g&192)===128&&(u=(a&15)<<18|(p&63)<<12|(d&63)<<6|g&63,u>65535&&u<1114112&&(o=u))}}o===null?(o=65533,l=1):o>65535&&(o-=65536,n.push(o>>>10&1023|55296),o=56320|o&1023),n.push(o),i+=l}return ur(n)}var de=4096;function ur(t){var e=t.length;if(e<=de)return String.fromCharCode.apply(String,t);for(var r="",n=0;n<e;)r+=String.fromCharCode.apply(String,t.slice(n,n+=de));return r}function dr(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 gr(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 mr(t,e,r){var n=t.length;(!e||e<0)&&(e=0),(!r||r<0||r>n)&&(r=n);for(var i="",a=e;a<r;++a)i+=Tr[t[a]];return i}function fr(t,e,r){for(var n=t.slice(e,r),i="",a=0;a<n.length-1;a+=2)i+=String.fromCharCode(n[a]+n[a+1]*256);return i}s.prototype.slice=function(e,r){var n=this.length;e=~~e,r=r===void 0?n:~~r,e<0?(e+=n,e<0&&(e=0)):e>n&&(e=n),r<0?(r+=n,r<0&&(r=0)):r>n&&(r=n),r<e&&(r=e);var i=this.subarray(e,r);return Object.setPrototypeOf(i,s.prototype),i};function 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],a=1,o=0;++o<r&&(a*=256);)i+=this[e+o]*a;return i};s.prototype.readUintBE=s.prototype.readUIntBE=function(e,r,n){e=e>>>0,r=r>>>0,n||x(e,r,this.length);for(var i=this[e+--r],a=1;r>0&&(a*=256);)i+=this[e+--r]*a;return i};s.prototype.readUint8=s.prototype.readUInt8=function(e,r){return e=e>>>0,r||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],a=1,o=0;++o<r&&(a*=256);)i+=this[e+o]*a;return a*=128,i>=a&&(i-=Math.pow(2,8*r)),i};s.prototype.readIntBE=function(e,r,n){e=e>>>0,r=r>>>0,n||x(e,r,this.length);for(var i=r,a=1,o=this[e+--i];i>0&&(a*=256);)o+=this[e+--i]*a;return a*=128,o>=a&&(o-=Math.pow(2,8*r)),o};s.prototype.readInt8=function(e,r){return e=e>>>0,r||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),U.read(this,e,!0,23,4)};s.prototype.readFloatBE=function(e,r){return e=e>>>0,r||x(e,4,this.length),U.read(this,e,!1,23,4)};s.prototype.readDoubleLE=function(e,r){return e=e>>>0,r||x(e,8,this.length),U.read(this,e,!0,52,8)};s.prototype.readDoubleBE=function(e,r){return e=e>>>0,r||x(e,8,this.length),U.read(this,e,!1,52,8)};function w(t,e,r,n,i,a){if(!s.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>i||e<a)throw new RangeError('"value" argument is out of bounds');if(r+n>t.length)throw new RangeError("Index out of range")}s.prototype.writeUintLE=s.prototype.writeUIntLE=function(e,r,n,i){if(e=+e,r=r>>>0,n=n>>>0,!i){var a=Math.pow(2,8*n)-1;w(this,e,r,n,a,0)}var o=1,l=0;for(this[r]=e&255;++l<n&&(o*=256);)this[r+l]=e/o&255;return r+n};s.prototype.writeUintBE=s.prototype.writeUIntBE=function(e,r,n,i){if(e=+e,r=r>>>0,n=n>>>0,!i){var a=Math.pow(2,8*n)-1;w(this,e,r,n,a,0)}var o=n-1,l=1;for(this[r+o]=e&255;--o>=0&&(l*=256);)this[r+o]=e/l&255;return r+n};s.prototype.writeUint8=s.prototype.writeUInt8=function(e,r,n){return e=+e,r=r>>>0,n||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 a=Math.pow(2,8*n-1);w(this,e,r,n,a-1,-a)}var o=0,l=1,p=0;for(this[r]=e&255;++o<n&&(l*=256);)e<0&&p===0&&this[r+o-1]!==0&&(p=1),this[r+o]=(e/l>>0)-p&255;return r+n};s.prototype.writeIntBE=function(e,r,n,i){if(e=+e,r=r>>>0,!i){var a=Math.pow(2,8*n-1);w(this,e,r,n,a-1,-a)}var o=n-1,l=1,p=0;for(this[r+o]=e&255;--o>=0&&(l*=256);)e<0&&p===0&&this[r+o+1]!==0&&(p=1),this[r+o]=(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 xe(t,e,r,n,i,a){if(r+n>t.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function we(t,e,r,n,i){return e=+e,r=r>>>0,i||xe(t,e,r,4,34028234663852886e22,-34028234663852886e22),U.write(t,e,r,n,23,4),r+4}s.prototype.writeFloatLE=function(e,r,n){return we(this,e,r,!0,n)};s.prototype.writeFloatBE=function(e,r,n){return we(this,e,r,!1,n)};function Te(t,e,r,n,i){return e=+e,r=r>>>0,i||xe(t,e,r,8,17976931348623157e292,-17976931348623157e292),U.write(t,e,r,n,52,8),r+8}s.prototype.writeDoubleLE=function(e,r,n){return Te(this,e,r,!0,n)};s.prototype.writeDoubleBE=function(e,r,n){return Te(this,e,r,!1,n)};s.prototype.copy=function(e,r,n,i){if(!s.isBuffer(e))throw new TypeError("argument should be a Buffer");if(n||(n=0),!i&&i!==0&&(i=this.length),r>=e.length&&(r=e.length),r||(r=0),i>0&&i<n&&(i=n),i===n||e.length===0||this.length===0)return 0;if(r<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw new RangeError("Index out of range");if(i<0)throw new RangeError("sourceEnd out of bounds");i>this.length&&(i=this.length),e.length-r<i-n&&(i=e.length-r+n);var a=i-n;return this===e&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(r,n,i):Uint8Array.prototype.set.call(e,this.subarray(n,i),r),a};s.prototype.fill=function(e,r,n,i){if(typeof e=="string"){if(typeof r=="string"?(i=r,r=0,n=this.length):typeof n=="string"&&(i=n,n=this.length),i!==void 0&&typeof i!="string")throw new TypeError("encoding must be a string");if(typeof i=="string"&&!s.isEncoding(i))throw new TypeError("Unknown encoding: "+i);if(e.length===1){var a=e.charCodeAt(0);(i==="utf8"&&a<128||i==="latin1")&&(e=a)}}else typeof e=="number"?e=e&255:typeof e=="boolean"&&(e=Number(e));if(r<0||this.length<r||this.length<n)throw new RangeError("Out of range index");if(n<=r)return this;r=r>>>0,n=n===void 0?this.length:n>>>0,e||(e=0);var o;if(typeof e=="number")for(o=r;o<n;++o)this[o]=e;else{var l=s.isBuffer(e)?e:s.from(e,i),p=l.length;if(p===0)throw new TypeError('The value "'+e+'" is invalid for argument "value"');for(o=0;o<n-r;++o)this[o+r]=l[o%p]}return this};var hr=/[^+/0-9A-Za-z-_]/g;function yr(t){if(t=t.split("=")[0],t=t.trim().replace(hr,""),t.length<2)return"";for(;t.length%4!==0;)t=t+"=";return t}function Z(t,e){e=e||1/0;for(var r,n=t.length,i=null,a=[],o=0;o<n;++o){if(r=t.charCodeAt(o),r>55295&&r<57344){if(!i){if(r>56319){(e-=3)>-1&&a.push(239,191,189);continue}else if(o+1===n){(e-=3)>-1&&a.push(239,191,189);continue}i=r;continue}if(r<56320){(e-=3)>-1&&a.push(239,191,189),i=r;continue}r=(i-55296<<10|r-56320)+65536}else i&&(e-=3)>-1&&a.push(239,191,189);if(i=null,r<128){if((e-=1)<0)break;a.push(r)}else if(r<2048){if((e-=2)<0)break;a.push(r>>6|192,r&63|128)}else if(r<65536){if((e-=3)<0)break;a.push(r>>12|224,r>>6&63|128,r&63|128)}else if(r<1114112){if((e-=4)<0)break;a.push(r>>18|240,r>>12&63|128,r>>6&63|128,r&63|128)}else throw new Error("Invalid code point")}return a}function xr(t){for(var e=[],r=0;r<t.length;++r)e.push(t.charCodeAt(r)&255);return e}function wr(t,e){for(var r,n,i,a=[],o=0;o<t.length&&!((e-=2)<0);++o)r=t.charCodeAt(o),n=r>>8,i=r%256,a.push(i),a.push(n);return a}function ve(t){return K.toByteArray(yr(t))}function H(t,e,r,n){for(var i=0;i<n&&!(i+r>=e.length||i>=t.length);++i)e[i+r]=t[i];return i}function _(t,e){return t instanceof e||t!=null&&t.constructor!=null&&t.constructor.name!=null&&t.constructor.name===e.name}function re(t){return t!==t}var Tr=function(){for(var t="0123456789abcdef",e=new Array(256),r=0;r<16;++r)for(var n=r*16,i=0;i<16;++i)e[n+i]=t[r]+t[i];return e}()});var Ee=G((Lr,Re)=>{c();var y=Re.exports={},I,R;function te(){throw new Error("setTimeout has not been defined")}function ne(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?I=setTimeout:I=te}catch(t){I=te}try{typeof clearTimeout=="function"?R=clearTimeout:R=ne}catch(t){R=ne}})();function ke(t){if(I===setTimeout)return setTimeout(t,0);if((I===te||!I)&&setTimeout)return I=setTimeout,setTimeout(t,0);try{return I(t,0)}catch(e){try{return I.call(null,t,0)}catch(r){return I.call(this,t,0)}}}function vr(t){if(R===clearTimeout)return clearTimeout(t);if((R===ne||!R)&&clearTimeout)return R=clearTimeout,clearTimeout(t);try{return R(t)}catch(e){try{return R.call(null,t)}catch(r){return R.call(this,t)}}}var S=[],P=!1,D,j=-1;function br(){!P||!D||(P=!1,D.length?S=D.concat(S):j=-1,S.length&&_e())}function _e(){if(!P){var t=ke(br);P=!0;for(var e=S.length;e;){for(D=S,S=[];++j<e;)D&&D[j].run();j=-1,e=S.length}D=null,P=!1,vr(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 Ie(t,e)),S.length===1&&!P&&ke(_e)};function Ie(t,e){this.fun=t,this.array=e}Ie.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,Nr,c=qe(()=>{m=V(be()),f=V(Ee()),Nr=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 Ir={};He(Ir,{removeTransactionParamsFromUrl:()=>_r});module.exports=je(Ir);c();var Ue=require("@multiversx/sdk-web-wallet-provider");c();c();c();c();c();c();c();c();c();c();c();c();c();c();var ie={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:Ae,egldLabel:Jr}=ie["devnet"],{chainId:Se,egldLabel:Zr}=ie["testnet"],{chainId:Le,egldLabel:$r}=ie["mainnet"];var et={["devnet"]:Ae,["testnet"]:Se,["mainnet"]:Le},rt={[Ae]:"devnet",[Se]:"testnet",[Le]:"mainnet"};c();c();c();c();var E=require("@multiversx/sdk-web-wallet-provider");c();var Ne="signSession";c();var De=V(require("qs"));c();var W=t=>{let e=new URLSearchParams(t).toString(),r=window==null?void 0:window.location.pathname,n=e?`?${e}`:"",i=r?`${r}${n}`:"./";setTimeout(()=>{window==null||window.history.replaceState({},document==null?void 0:document.title,i)})};c();var O=()=>typeof window!="undefined";c();var kr={search:O()?window.location.search:"",removeParams:[]},Fe=(t,e=kr)=>{var o;let r={},n=O()?window.location.search:"",i=(o=e.search)!=null?o:n;if(i){let l=i?new URLSearchParams(i):[];r=Object.fromEntries(l)}let a={};return t.forEach(l=>{a[l]=r[l],delete r[l]}),e.removeParams!=null&&Object.keys(r).forEach(l=>{var d,g;let[p]=l.split("[");(((d=e.removeParams)==null?void 0:d.includes(l))||((g=e.removeParams)==null?void 0:g.includes(p)))&&delete r[l]}),{remainingParams:a,params:r,clearNavigationHistory:()=>W(r)}};var Ce=({removeParams:t,search:e})=>{let r=O()?window.location.search:"",n=e!=null?e:r;if(!n)return{};let i=De.default.parse(n.replace("?","")),a=Object.keys(i).filter(l=>!t.includes(l)),{remainingParams:o}=Fe(a,{search:e,removeParams:t});return W(o),o};var _r=({transaction:t,search:e})=>Ce({removeParams:[...Object.keys(t),Ue.WALLET_PROVIDER_CALLBACK_PARAM,Ne],search:e});0&&(module.exports={removeTransactionParamsFromUrl});
|
|
1
|
+
"use strict";var Pe=Object.create;var M=Object.defineProperty;var Oe=Object.getOwnPropertyDescriptor;var Me=Object.getOwnPropertyNames;var Ge=Object.getPrototypeOf,ze=Object.prototype.hasOwnProperty;var qe=(t,e)=>()=>(t&&(e=t(t=0)),e);var G=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),He=(t,e)=>{for(var r in e)M(t,r,{get:e[r],enumerable:!0})},ae=(t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of Me(e))!ze.call(t,i)&&i!==r&&M(t,i,{get:()=>e[i],enumerable:!(n=Oe(e,i))||n.enumerable});return t};var V=(t,e,r)=>(r=t!=null?Pe(Ge(t)):{},ae(e||!t||!t.__esModule?M(r,"default",{value:t,enumerable:!0}):r,t)),je=t=>ae(M({},"__esModule",{value:!0}),t);var le=G(z=>{"use strict";c();z.byteLength=Ve;z.toByteArray=Ye;z.fromByteArray=Je;var k=[],b=[],We=typeof Uint8Array!="undefined"?Uint8Array:Array,X="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(N=0,oe=X.length;N<oe;++N)k[N]=X[N],b[X.charCodeAt(N)]=N;var N,oe;b["-".charCodeAt(0)]=62;b["_".charCodeAt(0)]=63;function se(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 Ve(t){var e=se(t),r=e[0],n=e[1];return(r+n)*3/4-n}function Xe(t,e,r){return(e+r)*3/4-r}function Ye(t){var e,r=se(t),n=r[0],i=r[1],a=new We(Xe(t,n,i)),o=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)],a[o++]=e>>16&255,a[o++]=e>>8&255,a[o++]=e&255;return i===2&&(e=b[t.charCodeAt(p)]<<2|b[t.charCodeAt(p+1)]>>4,a[o++]=e&255),i===1&&(e=b[t.charCodeAt(p)]<<10|b[t.charCodeAt(p+1)]<<4|b[t.charCodeAt(p+2)]>>2,a[o++]=e>>8&255,a[o++]=e&255),a}function Ke(t){return k[t>>18&63]+k[t>>12&63]+k[t>>6&63]+k[t&63]}function Qe(t,e,r){for(var n,i=[],a=e;a<r;a+=3)n=(t[a]<<16&16711680)+(t[a+1]<<8&65280)+(t[a+2]&255),i.push(Ke(n));return i.join("")}function Je(t){for(var e,r=t.length,n=r%3,i=[],a=16383,o=0,l=r-n;o<l;o+=a)i.push(Qe(t,o,o+a>l?l:o+a));return n===1?(e=t[r-1],i.push(k[e>>2]+k[e<<4&63]+"==")):n===2&&(e=(t[r-2]<<8)+t[r-1],i.push(k[e>>10]+k[e>>4&63]+k[e<<2&63]+"=")),i.join("")}});var ce=G(Y=>{c();Y.read=function(t,e,r,n,i){var a,o,l=i*8-n-1,p=(1<<l)-1,d=p>>1,g=-7,u=r?i-1:0,v=r?-1:1,T=t[e+u];for(u+=v,a=T&(1<<-g)-1,T>>=-g,g+=l;g>0;a=a*256+t[e+u],u+=v,g-=8);for(o=a&(1<<-g)-1,a>>=-g,g+=n;g>0;o=o*256+t[e+u],u+=v,g-=8);if(a===0)a=1-d;else{if(a===p)return o?NaN:(T?-1:1)*(1/0);o=o+Math.pow(2,n),a=a-d}return(T?-1:1)*o*Math.pow(2,a-n)};Y.write=function(t,e,r,n,i,a){var o,l,p,d=a*8-i-1,g=(1<<d)-1,u=g>>1,v=i===23?Math.pow(2,-24)-Math.pow(2,-77):0,T=n?0:a-1,C=n?1:-1,Be=e<0||e===0&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(l=isNaN(e)?1:0,o=g):(o=Math.floor(Math.log(e)/Math.LN2),e*(p=Math.pow(2,-o))<1&&(o--,p*=2),o+u>=1?e+=v/p:e+=v*Math.pow(2,1-u),e*p>=2&&(o++,p/=2),o+u>=g?(l=0,o=g):o+u>=1?(l=(e*p-1)*Math.pow(2,i),o=o+u):(l=e*Math.pow(2,u-1)*Math.pow(2,i),o=0));i>=8;t[r+T]=l&255,T+=C,l/=256,i-=8);for(o=o<<i|l,d+=i;d>0;t[r+T]=o&255,T+=C,o/=256,d-=8);t[r+T-C]|=Be*128}});var ve=G(B=>{"use strict";c();var K=le(),U=ce(),pe=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;B.Buffer=s;B.SlowBuffer=nr;B.INSPECT_MAX_BYTES=50;var q=2147483647;B.kMaxLength=q;s.TYPED_ARRAY_SUPPORT=Ze();!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 Ze(){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 A(t){if(t>q)throw new RangeError('The value "'+t+'" is invalid for option "size"');var e=new Uint8Array(t);return Object.setPrototypeOf(e,s.prototype),e}function s(t,e,r){if(typeof t=="number"){if(typeof e=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return $(t)}return ge(t,e,r)}s.poolSize=8192;function ge(t,e,r){if(typeof t=="string")return er(t,e);if(ArrayBuffer.isView(t))return rr(t);if(t==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t);if(_(t,ArrayBuffer)||t&&_(t.buffer,ArrayBuffer)||typeof SharedArrayBuffer!="undefined"&&(_(t,SharedArrayBuffer)||t&&_(t.buffer,SharedArrayBuffer)))return J(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=tr(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 ge(t,e,r)};Object.setPrototypeOf(s.prototype,Uint8Array.prototype);Object.setPrototypeOf(s,Uint8Array);function me(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 $e(t,e,r){return me(t),t<=0?A(t):e!==void 0?typeof r=="string"?A(t).fill(e,r):A(t).fill(e):A(t)}s.alloc=function(t,e,r){return $e(t,e,r)};function $(t){return me(t),A(t<0?0:ee(t)|0)}s.allocUnsafe=function(t){return $(t)};s.allocUnsafeSlow=function(t){return $(t)};function er(t,e){if((typeof e!="string"||e==="")&&(e="utf8"),!s.isEncoding(e))throw new TypeError("Unknown encoding: "+e);var r=fe(t,e)|0,n=A(r),i=n.write(t,e);return i!==r&&(n=n.slice(0,i)),n}function Q(t){for(var e=t.length<0?0:ee(t.length)|0,r=A(e),n=0;n<e;n+=1)r[n]=t[n]&255;return r}function rr(t){if(_(t,Uint8Array)){var e=new Uint8Array(t);return J(e.buffer,e.byteOffset,e.byteLength)}return Q(t)}function J(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 tr(t){if(s.isBuffer(t)){var e=ee(t.length)|0,r=A(e);return r.length===0||t.copy(r,0,0,e),r}if(t.length!==void 0)return typeof t.length!="number"||re(t.length)?A(0):Q(t);if(t.type==="Buffer"&&Array.isArray(t.data))return Q(t.data)}function ee(t){if(t>=q)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+q.toString(16)+" bytes");return t|0}function nr(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(_(e,Uint8Array)&&(e=s.from(e,e.offset,e.byteLength)),_(r,Uint8Array)&&(r=s.from(r,r.offset,r.byteLength)),!s.isBuffer(e)||!s.isBuffer(r))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(e===r)return 0;for(var n=e.length,i=r.length,a=0,o=Math.min(n,i);a<o;++a)if(e[a]!==r[a]){n=e[a],i=r[a];break}return n<i?-1:i<n?1:0};s.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}};s.concat=function(e,r){if(!Array.isArray(e))throw new TypeError('"list" argument must be an Array of Buffers');if(e.length===0)return s.alloc(0);var n;if(r===void 0)for(r=0,n=0;n<e.length;++n)r+=e[n].length;var i=s.allocUnsafe(r),a=0;for(n=0;n<e.length;++n){var o=e[n];if(_(o,Uint8Array))a+o.length>i.length?s.from(o).copy(i,a):Uint8Array.prototype.set.call(i,o,a);else if(s.isBuffer(o))o.copy(i,a);else throw new TypeError('"list" argument must be an Array of Buffers');a+=o.length}return i};function fe(t,e){if(s.isBuffer(t))return t.length;if(ArrayBuffer.isView(t)||_(t,ArrayBuffer))return t.byteLength;if(typeof t!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof t);var r=t.length,n=arguments.length>2&&arguments[2]===!0;if(!n&&r===0)return 0;for(var i=!1;;)switch(e){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":return Z(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return r*2;case"hex":return r>>>1;case"base64":return be(t).length;default:if(i)return n?-1:Z(t).length;e=(""+e).toLowerCase(),i=!0}}s.byteLength=fe;function ir(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 mr(this,e,r);case"utf8":case"utf-8":return ye(this,e,r);case"ascii":return dr(this,e,r);case"latin1":case"binary":return gr(this,e,r);case"base64":return pr(this,e,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return fr(this,e,r);default:if(n)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),n=!0}}s.prototype._isBuffer=!0;function F(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)F(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)F(this,r,r+3),F(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)F(this,r,r+7),F(this,r+1,r+6),F(this,r+2,r+5),F(this,r+3,r+4);return this};s.prototype.toString=function(){var e=this.length;return e===0?"":arguments.length===0?ye(this,0,e):ir.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=B.INSPECT_MAX_BYTES;return e=this.toString("hex",0,r).replace(/(.{2})/g,"$1 ").trim(),this.length>r&&(e+=" ... "),"<Buffer "+e+">"};pe&&(s.prototype[pe]=s.prototype.inspect);s.prototype.compare=function(e,r,n,i,a){if(_(e,Uint8Array)&&(e=s.from(e,e.offset,e.byteLength)),!s.isBuffer(e))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof e);if(r===void 0&&(r=0),n===void 0&&(n=e?e.length:0),i===void 0&&(i=0),a===void 0&&(a=this.length),r<0||n>e.length||i<0||a>this.length)throw new RangeError("out of range index");if(i>=a&&r>=n)return 0;if(i>=a)return-1;if(r>=n)return 1;if(r>>>=0,n>>>=0,i>>>=0,a>>>=0,this===e)return 0;for(var o=a-i,l=n-r,p=Math.min(o,l),d=this.slice(i,a),g=e.slice(r,n),u=0;u<p;++u)if(d[u]!==g[u]){o=d[u],l=g[u];break}return o<l?-1:l<o?1:0};function he(t,e,r,n,i){if(t.length===0)return-1;if(typeof r=="string"?(n=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),r=+r,re(r)&&(r=i?0:t.length-1),r<0&&(r=t.length+r),r>=t.length){if(i)return-1;r=t.length-1}else if(r<0)if(i)r=0;else return-1;if(typeof e=="string"&&(e=s.from(e,n)),s.isBuffer(e))return e.length===0?-1:ue(t,e,r,n,i);if(typeof e=="number")return e=e&255,typeof Uint8Array.prototype.indexOf=="function"?i?Uint8Array.prototype.indexOf.call(t,e,r):Uint8Array.prototype.lastIndexOf.call(t,e,r):ue(t,[e],r,n,i);throw new TypeError("val must be string, number or Buffer")}function ue(t,e,r,n,i){var a=1,o=t.length,l=e.length;if(n!==void 0&&(n=String(n).toLowerCase(),n==="ucs2"||n==="ucs-2"||n==="utf16le"||n==="utf-16le")){if(t.length<2||e.length<2)return-1;a=2,o/=2,l/=2,r/=2}function p(T,C){return a===1?T[C]:T.readUInt16BE(C*a)}var d;if(i){var g=-1;for(d=r;d<o;d++)if(p(t,d)===p(e,g===-1?0:d-g)){if(g===-1&&(g=d),d-g+1===l)return g*a}else g!==-1&&(d-=d-g),g=-1}else for(r+l>o&&(r=o-l),d=r;d>=0;d--){for(var u=!0,v=0;v<l;v++)if(p(t,d+v)!==p(e,v)){u=!1;break}if(u)return d}return-1}s.prototype.includes=function(e,r,n){return this.indexOf(e,r,n)!==-1};s.prototype.indexOf=function(e,r,n){return he(this,e,r,n,!0)};s.prototype.lastIndexOf=function(e,r,n){return he(this,e,r,n,!1)};function ar(t,e,r,n){r=Number(r)||0;var i=t.length-r;n?(n=Number(n),n>i&&(n=i)):n=i;var a=e.length;n>a/2&&(n=a/2);for(var o=0;o<n;++o){var l=parseInt(e.substr(o*2,2),16);if(re(l))return o;t[r+o]=l}return o}function or(t,e,r,n){return H(Z(e,t.length-r),t,r,n)}function sr(t,e,r,n){return H(xr(e),t,r,n)}function lr(t,e,r,n){return H(be(e),t,r,n)}function cr(t,e,r,n){return H(wr(e,t.length-r),t,r,n)}s.prototype.write=function(e,r,n,i){if(r===void 0)i="utf8",n=this.length,r=0;else if(n===void 0&&typeof r=="string")i=r,n=this.length,r=0;else if(isFinite(r))r=r>>>0,isFinite(n)?(n=n>>>0,i===void 0&&(i="utf8")):(i=n,n=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var a=this.length-r;if((n===void 0||n>a)&&(n=a),e.length>0&&(n<0||r<0)||r>this.length)throw new RangeError("Attempt to write outside buffer bounds");i||(i="utf8");for(var o=!1;;)switch(i){case"hex":return ar(this,e,r,n);case"utf8":case"utf-8":return or(this,e,r,n);case"ascii":case"latin1":case"binary":return sr(this,e,r,n);case"base64":return lr(this,e,r,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return cr(this,e,r,n);default:if(o)throw new TypeError("Unknown encoding: "+i);i=(""+i).toLowerCase(),o=!0}};s.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function pr(t,e,r){return e===0&&r===t.length?K.fromByteArray(t):K.fromByteArray(t.slice(e,r))}function ye(t,e,r){r=Math.min(t.length,r);for(var n=[],i=e;i<r;){var a=t[i],o=null,l=a>239?4:a>223?3:a>191?2:1;if(i+l<=r){var p,d,g,u;switch(l){case 1:a<128&&(o=a);break;case 2:p=t[i+1],(p&192)===128&&(u=(a&31)<<6|p&63,u>127&&(o=u));break;case 3:p=t[i+1],d=t[i+2],(p&192)===128&&(d&192)===128&&(u=(a&15)<<12|(p&63)<<6|d&63,u>2047&&(u<55296||u>57343)&&(o=u));break;case 4:p=t[i+1],d=t[i+2],g=t[i+3],(p&192)===128&&(d&192)===128&&(g&192)===128&&(u=(a&15)<<18|(p&63)<<12|(d&63)<<6|g&63,u>65535&&u<1114112&&(o=u))}}o===null?(o=65533,l=1):o>65535&&(o-=65536,n.push(o>>>10&1023|55296),o=56320|o&1023),n.push(o),i+=l}return ur(n)}var de=4096;function ur(t){var e=t.length;if(e<=de)return String.fromCharCode.apply(String,t);for(var r="",n=0;n<e;)r+=String.fromCharCode.apply(String,t.slice(n,n+=de));return r}function dr(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 gr(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 mr(t,e,r){var n=t.length;(!e||e<0)&&(e=0),(!r||r<0||r>n)&&(r=n);for(var i="",a=e;a<r;++a)i+=Tr[t[a]];return i}function fr(t,e,r){for(var n=t.slice(e,r),i="",a=0;a<n.length-1;a+=2)i+=String.fromCharCode(n[a]+n[a+1]*256);return i}s.prototype.slice=function(e,r){var n=this.length;e=~~e,r=r===void 0?n:~~r,e<0?(e+=n,e<0&&(e=0)):e>n&&(e=n),r<0?(r+=n,r<0&&(r=0)):r>n&&(r=n),r<e&&(r=e);var i=this.subarray(e,r);return Object.setPrototypeOf(i,s.prototype),i};function 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],a=1,o=0;++o<r&&(a*=256);)i+=this[e+o]*a;return i};s.prototype.readUintBE=s.prototype.readUIntBE=function(e,r,n){e=e>>>0,r=r>>>0,n||x(e,r,this.length);for(var i=this[e+--r],a=1;r>0&&(a*=256);)i+=this[e+--r]*a;return i};s.prototype.readUint8=s.prototype.readUInt8=function(e,r){return e=e>>>0,r||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],a=1,o=0;++o<r&&(a*=256);)i+=this[e+o]*a;return a*=128,i>=a&&(i-=Math.pow(2,8*r)),i};s.prototype.readIntBE=function(e,r,n){e=e>>>0,r=r>>>0,n||x(e,r,this.length);for(var i=r,a=1,o=this[e+--i];i>0&&(a*=256);)o+=this[e+--i]*a;return a*=128,o>=a&&(o-=Math.pow(2,8*r)),o};s.prototype.readInt8=function(e,r){return e=e>>>0,r||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),U.read(this,e,!0,23,4)};s.prototype.readFloatBE=function(e,r){return e=e>>>0,r||x(e,4,this.length),U.read(this,e,!1,23,4)};s.prototype.readDoubleLE=function(e,r){return e=e>>>0,r||x(e,8,this.length),U.read(this,e,!0,52,8)};s.prototype.readDoubleBE=function(e,r){return e=e>>>0,r||x(e,8,this.length),U.read(this,e,!1,52,8)};function w(t,e,r,n,i,a){if(!s.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>i||e<a)throw new RangeError('"value" argument is out of bounds');if(r+n>t.length)throw new RangeError("Index out of range")}s.prototype.writeUintLE=s.prototype.writeUIntLE=function(e,r,n,i){if(e=+e,r=r>>>0,n=n>>>0,!i){var a=Math.pow(2,8*n)-1;w(this,e,r,n,a,0)}var o=1,l=0;for(this[r]=e&255;++l<n&&(o*=256);)this[r+l]=e/o&255;return r+n};s.prototype.writeUintBE=s.prototype.writeUIntBE=function(e,r,n,i){if(e=+e,r=r>>>0,n=n>>>0,!i){var a=Math.pow(2,8*n)-1;w(this,e,r,n,a,0)}var o=n-1,l=1;for(this[r+o]=e&255;--o>=0&&(l*=256);)this[r+o]=e/l&255;return r+n};s.prototype.writeUint8=s.prototype.writeUInt8=function(e,r,n){return e=+e,r=r>>>0,n||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 a=Math.pow(2,8*n-1);w(this,e,r,n,a-1,-a)}var o=0,l=1,p=0;for(this[r]=e&255;++o<n&&(l*=256);)e<0&&p===0&&this[r+o-1]!==0&&(p=1),this[r+o]=(e/l>>0)-p&255;return r+n};s.prototype.writeIntBE=function(e,r,n,i){if(e=+e,r=r>>>0,!i){var a=Math.pow(2,8*n-1);w(this,e,r,n,a-1,-a)}var o=n-1,l=1,p=0;for(this[r+o]=e&255;--o>=0&&(l*=256);)e<0&&p===0&&this[r+o+1]!==0&&(p=1),this[r+o]=(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 xe(t,e,r,n,i,a){if(r+n>t.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function we(t,e,r,n,i){return e=+e,r=r>>>0,i||xe(t,e,r,4,34028234663852886e22,-34028234663852886e22),U.write(t,e,r,n,23,4),r+4}s.prototype.writeFloatLE=function(e,r,n){return we(this,e,r,!0,n)};s.prototype.writeFloatBE=function(e,r,n){return we(this,e,r,!1,n)};function Te(t,e,r,n,i){return e=+e,r=r>>>0,i||xe(t,e,r,8,17976931348623157e292,-17976931348623157e292),U.write(t,e,r,n,52,8),r+8}s.prototype.writeDoubleLE=function(e,r,n){return Te(this,e,r,!0,n)};s.prototype.writeDoubleBE=function(e,r,n){return Te(this,e,r,!1,n)};s.prototype.copy=function(e,r,n,i){if(!s.isBuffer(e))throw new TypeError("argument should be a Buffer");if(n||(n=0),!i&&i!==0&&(i=this.length),r>=e.length&&(r=e.length),r||(r=0),i>0&&i<n&&(i=n),i===n||e.length===0||this.length===0)return 0;if(r<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw new RangeError("Index out of range");if(i<0)throw new RangeError("sourceEnd out of bounds");i>this.length&&(i=this.length),e.length-r<i-n&&(i=e.length-r+n);var a=i-n;return this===e&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(r,n,i):Uint8Array.prototype.set.call(e,this.subarray(n,i),r),a};s.prototype.fill=function(e,r,n,i){if(typeof e=="string"){if(typeof r=="string"?(i=r,r=0,n=this.length):typeof n=="string"&&(i=n,n=this.length),i!==void 0&&typeof i!="string")throw new TypeError("encoding must be a string");if(typeof i=="string"&&!s.isEncoding(i))throw new TypeError("Unknown encoding: "+i);if(e.length===1){var a=e.charCodeAt(0);(i==="utf8"&&a<128||i==="latin1")&&(e=a)}}else typeof e=="number"?e=e&255:typeof e=="boolean"&&(e=Number(e));if(r<0||this.length<r||this.length<n)throw new RangeError("Out of range index");if(n<=r)return this;r=r>>>0,n=n===void 0?this.length:n>>>0,e||(e=0);var o;if(typeof e=="number")for(o=r;o<n;++o)this[o]=e;else{var l=s.isBuffer(e)?e:s.from(e,i),p=l.length;if(p===0)throw new TypeError('The value "'+e+'" is invalid for argument "value"');for(o=0;o<n-r;++o)this[o+r]=l[o%p]}return this};var hr=/[^+/0-9A-Za-z-_]/g;function yr(t){if(t=t.split("=")[0],t=t.trim().replace(hr,""),t.length<2)return"";for(;t.length%4!==0;)t=t+"=";return t}function Z(t,e){e=e||1/0;for(var r,n=t.length,i=null,a=[],o=0;o<n;++o){if(r=t.charCodeAt(o),r>55295&&r<57344){if(!i){if(r>56319){(e-=3)>-1&&a.push(239,191,189);continue}else if(o+1===n){(e-=3)>-1&&a.push(239,191,189);continue}i=r;continue}if(r<56320){(e-=3)>-1&&a.push(239,191,189),i=r;continue}r=(i-55296<<10|r-56320)+65536}else i&&(e-=3)>-1&&a.push(239,191,189);if(i=null,r<128){if((e-=1)<0)break;a.push(r)}else if(r<2048){if((e-=2)<0)break;a.push(r>>6|192,r&63|128)}else if(r<65536){if((e-=3)<0)break;a.push(r>>12|224,r>>6&63|128,r&63|128)}else if(r<1114112){if((e-=4)<0)break;a.push(r>>18|240,r>>12&63|128,r>>6&63|128,r&63|128)}else throw new Error("Invalid code point")}return a}function xr(t){for(var e=[],r=0;r<t.length;++r)e.push(t.charCodeAt(r)&255);return e}function wr(t,e){for(var r,n,i,a=[],o=0;o<t.length&&!((e-=2)<0);++o)r=t.charCodeAt(o),n=r>>8,i=r%256,a.push(i),a.push(n);return a}function be(t){return K.toByteArray(yr(t))}function H(t,e,r,n){for(var i=0;i<n&&!(i+r>=e.length||i>=t.length);++i)e[i+r]=t[i];return i}function _(t,e){return t instanceof e||t!=null&&t.constructor!=null&&t.constructor.name!=null&&t.constructor.name===e.name}function re(t){return t!==t}var Tr=function(){for(var t="0123456789abcdef",e=new Array(256),r=0;r<16;++r)for(var n=r*16,i=0;i<16;++i)e[n+i]=t[r]+t[i];return e}()});var Ee=G((Lr,Re)=>{c();var y=Re.exports={},I,R;function te(){throw new Error("setTimeout has not been defined")}function ne(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?I=setTimeout:I=te}catch(t){I=te}try{typeof clearTimeout=="function"?R=clearTimeout:R=ne}catch(t){R=ne}})();function ke(t){if(I===setTimeout)return setTimeout(t,0);if((I===te||!I)&&setTimeout)return I=setTimeout,setTimeout(t,0);try{return I(t,0)}catch(e){try{return I.call(null,t,0)}catch(r){return I.call(this,t,0)}}}function br(t){if(R===clearTimeout)return clearTimeout(t);if((R===ne||!R)&&clearTimeout)return R=clearTimeout,clearTimeout(t);try{return R(t)}catch(e){try{return R.call(null,t)}catch(r){return R.call(this,t)}}}var S=[],P=!1,D,j=-1;function vr(){!P||!D||(P=!1,D.length?S=D.concat(S):j=-1,S.length&&_e())}function _e(){if(!P){var t=ke(vr);P=!0;for(var e=S.length;e;){for(D=S,S=[];++j<e;)D&&D[j].run();j=-1,e=S.length}D=null,P=!1,br(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 Ie(t,e)),S.length===1&&!P&&ke(_e)};function Ie(t,e){this.fun=t,this.array=e}Ie.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,Nr,c=qe(()=>{m=V(ve()),f=V(Ee()),Nr=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 Ir={};He(Ir,{removeTransactionParamsFromUrl:()=>_r});module.exports=je(Ir);c();var Ue=require("@multiversx/sdk-web-wallet-provider");c();c();c();c();c();c();c();c();c();c();c();c();c();c();var ie={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:Ae,egldLabel:Jr}=ie["devnet"],{chainId:Se,egldLabel:Zr}=ie["testnet"],{chainId:Le,egldLabel:$r}=ie["mainnet"];var et={["devnet"]:Ae,["testnet"]:Se,["mainnet"]:Le},rt={[Ae]:"devnet",[Se]:"testnet",[Le]:"mainnet"};c();c();c();c();var E=require("@multiversx/sdk-web-wallet-provider");c();var Ne="signSession";c();var De=V(require("qs"));c();var W=t=>{let e=new URLSearchParams(t).toString(),r=window==null?void 0:window.location.pathname,n=e?`?${e}`:"",i=r?`${r}${n}`:"./";setTimeout(()=>{window==null||window.history.replaceState({},document==null?void 0:document.title,i)})};c();var O=()=>typeof window!="undefined";c();var kr={search:O()?window.location.search:"",removeParams:[]},Fe=(t,e=kr)=>{var o;let r={},n=O()?window.location.search:"",i=(o=e.search)!=null?o:n;if(i){let l=i?new URLSearchParams(i):[];r=Object.fromEntries(l)}let a={};return t.forEach(l=>{a[l]=r[l],delete r[l]}),e.removeParams!=null&&Object.keys(r).forEach(l=>{var d,g;let[p]=l.split("[");(((d=e.removeParams)==null?void 0:d.includes(l))||((g=e.removeParams)==null?void 0:g.includes(p)))&&delete r[l]}),{remainingParams:a,params:r,clearNavigationHistory:()=>W(r)}};var Ce=({removeParams:t,search:e})=>{let r=O()?window.location.search:"",n=e!=null?e:r;if(!n)return{};let i=De.default.parse(n.replace("?","")),a=Object.keys(i).filter(l=>!t.includes(l)),{remainingParams:o}=Fe(a,{search:e,removeParams:t});return W(o),o};var _r=({transaction:t,search:e})=>Ce({removeParams:[...Object.keys(t),Ue.WALLET_PROVIDER_CALLBACK_PARAM,Ne],search:e});0&&(module.exports={removeTransactionParamsFromUrl});
|
|
2
2
|
/*!
|
|
3
3
|
* The buffer module from node.js, for the browser.
|
|
4
4
|
*
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";var Mr=Object.create;var G=Object.defineProperty;var Gr=Object.getOwnPropertyDescriptor;var Hr=Object.getOwnPropertyNames;var Or=Object.getPrototypeOf,qr=Object.prototype.hasOwnProperty;var Vr=(t,r)=>()=>(t&&(r=t(t=0)),r);var H=(t,r)=>()=>(r||t((r={exports:{}}).exports,r),r.exports),Wr=(t,r)=>{for(var e in r)G(t,e,{get:r[e],enumerable:!0})},sr=(t,r,e,n)=>{if(r&&typeof r=="object"||typeof r=="function")for(let i of Hr(r))!qr.call(t,i)&&i!==e&&G(t,i,{get:()=>r[i],enumerable:!(n=Gr(r,i))||n.enumerable});return t};var Q=(t,r,e)=>(e=t!=null?Mr(Or(t)):{},sr(r||!t||!t.__esModule?G(e,"default",{value:t,enumerable:!0}):e,t)),Yr=t=>sr(G({},"__esModule",{value:!0}),t);var cr=H(O=>{"use strict";p();O.byteLength=Qr;O.toByteArray=$r;O.fromByteArray=Jr;var S=[],v=[],zr=typeof Uint8Array!="undefined"?Uint8Array:Array,X="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(E=0,pr=X.length;E<pr;++E)S[E]=X[E],v[X.charCodeAt(E)]=E;var E,pr;v["-".charCodeAt(0)]=62;v["_".charCodeAt(0)]=63;function ur(t){var r=t.length;if(r%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var e=t.indexOf("=");e===-1&&(e=r);var n=e===r?0:4-e%4;return[e,n]}function Qr(t){var r=ur(t),e=r[0],n=r[1];return(e+n)*3/4-n}function Xr(t,r,e){return(r+e)*3/4-e}function $r(t){var r,e=ur(t),n=e[0],i=e[1],o=new zr(Xr(t,n,i)),a=0,u=i>0?n-4:n,c;for(c=0;c<u;c+=4)r=v[t.charCodeAt(c)]<<18|v[t.charCodeAt(c+1)]<<12|v[t.charCodeAt(c+2)]<<6|v[t.charCodeAt(c+3)],o[a++]=r>>16&255,o[a++]=r>>8&255,o[a++]=r&255;return i===2&&(r=v[t.charCodeAt(c)]<<2|v[t.charCodeAt(c+1)]>>4,o[a++]=r&255),i===1&&(r=v[t.charCodeAt(c)]<<10|v[t.charCodeAt(c+1)]<<4|v[t.charCodeAt(c+2)]>>2,o[a++]=r>>8&255,o[a++]=r&255),o}function jr(t){return S[t>>18&63]+S[t>>12&63]+S[t>>6&63]+S[t&63]}function Kr(t,r,e){for(var n,i=[],o=r;o<e;o+=3)n=(t[o]<<16&16711680)+(t[o+1]<<8&65280)+(t[o+2]&255),i.push(jr(n));return i.join("")}function Jr(t){for(var r,e=t.length,n=e%3,i=[],o=16383,a=0,u=e-n;a<u;a+=o)i.push(Kr(t,a,a+o>u?u:a+o));return n===1?(r=t[e-1],i.push(S[r>>2]+S[r<<4&63]+"==")):n===2&&(r=(t[e-2]<<8)+t[e-1],i.push(S[r>>10]+S[r>>4&63]+S[r<<2&63]+"=")),i.join("")}});var lr=H($=>{p();$.read=function(t,r,e,n,i){var o,a,u=i*8-n-1,c=(1<<u)-1,g=c>>1,d=-7,l=e?i-1:0,F=e?-1:1,w=t[r+l];for(l+=F,o=w&(1<<-d)-1,w>>=-d,d+=u;d>0;o=o*256+t[r+l],l+=F,d-=8);for(a=o&(1<<-d)-1,o>>=-d,d+=n;d>0;a=a*256+t[r+l],l+=F,d-=8);if(o===0)o=1-g;else{if(o===c)return a?NaN:(w?-1:1)*(1/0);a=a+Math.pow(2,n),o=o-g}return(w?-1:1)*a*Math.pow(2,o-n)};$.write=function(t,r,e,n,i,o){var a,u,c,g=o*8-i-1,d=(1<<g)-1,l=d>>1,F=i===23?Math.pow(2,-24)-Math.pow(2,-77):0,w=n?0:o-1,U=n?1:-1,Nr=r<0||r===0&&1/r<0?1:0;for(r=Math.abs(r),isNaN(r)||r===1/0?(u=isNaN(r)?1:0,a=d):(a=Math.floor(Math.log(r)/Math.LN2),r*(c=Math.pow(2,-a))<1&&(a--,c*=2),a+l>=1?r+=F/c:r+=F*Math.pow(2,1-l),r*c>=2&&(a++,c/=2),a+l>=d?(u=0,a=d):a+l>=1?(u=(r*c-1)*Math.pow(2,i),a=a+l):(u=r*Math.pow(2,l-1)*Math.pow(2,i),a=0));i>=8;t[e+w]=u&255,w+=U,u/=256,i-=8);for(a=a<<i|u,g+=i;g>0;t[e+w]=a&255,w+=U,a/=256,g-=8);t[e+w-U]|=Nr*128}});var br=H(P=>{"use strict";p();var j=cr(),C=lr(),fr=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;P.Buffer=s;P.SlowBuffer=ie;P.INSPECT_MAX_BYTES=50;var q=2147483647;P.kMaxLength=q;s.TYPED_ARRAY_SUPPORT=Zr();!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 Zr(){try{var t=new Uint8Array(1),r={foo:function(){return 42}};return Object.setPrototypeOf(r,Uint8Array.prototype),Object.setPrototypeOf(t,r),t.foo()===42}catch(e){return!1}}Object.defineProperty(s.prototype,"parent",{enumerable:!0,get:function(){if(!!s.isBuffer(this))return this.buffer}});Object.defineProperty(s.prototype,"offset",{enumerable:!0,get:function(){if(!!s.isBuffer(this))return this.byteOffset}});function B(t){if(t>q)throw new RangeError('The value "'+t+'" is invalid for option "size"');var r=new Uint8Array(t);return Object.setPrototypeOf(r,s.prototype),r}function s(t,r,e){if(typeof t=="number"){if(typeof r=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return rr(t)}return hr(t,r,e)}s.poolSize=8192;function hr(t,r,e){if(typeof t=="string")return ee(t,r);if(ArrayBuffer.isView(t))return te(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(b(t,ArrayBuffer)||t&&b(t.buffer,ArrayBuffer)||typeof SharedArrayBuffer!="undefined"&&(b(t,SharedArrayBuffer)||t&&b(t.buffer,SharedArrayBuffer)))return J(t,r,e);if(typeof t=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var n=t.valueOf&&t.valueOf();if(n!=null&&n!==t)return s.from(n,r,e);var i=ne(t);if(i)return i;if(typeof Symbol!="undefined"&&Symbol.toPrimitive!=null&&typeof t[Symbol.toPrimitive]=="function")return s.from(t[Symbol.toPrimitive]("string"),r,e);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t)}s.from=function(t,r,e){return hr(t,r,e)};Object.setPrototypeOf(s.prototype,Uint8Array.prototype);Object.setPrototypeOf(s,Uint8Array);function mr(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 re(t,r,e){return mr(t),t<=0?B(t):r!==void 0?typeof e=="string"?B(t).fill(r,e):B(t).fill(r):B(t)}s.alloc=function(t,r,e){return re(t,r,e)};function rr(t){return mr(t),B(t<0?0:er(t)|0)}s.allocUnsafe=function(t){return rr(t)};s.allocUnsafeSlow=function(t){return rr(t)};function ee(t,r){if((typeof r!="string"||r==="")&&(r="utf8"),!s.isEncoding(r))throw new TypeError("Unknown encoding: "+r);var e=yr(t,r)|0,n=B(e),i=n.write(t,r);return i!==e&&(n=n.slice(0,i)),n}function K(t){for(var r=t.length<0?0:er(t.length)|0,e=B(r),n=0;n<r;n+=1)e[n]=t[n]&255;return e}function te(t){if(b(t,Uint8Array)){var r=new Uint8Array(t);return J(r.buffer,r.byteOffset,r.byteLength)}return K(t)}function J(t,r,e){if(r<0||t.byteLength<r)throw new RangeError('"offset" is outside of buffer bounds');if(t.byteLength<r+(e||0))throw new RangeError('"length" is outside of buffer bounds');var n;return r===void 0&&e===void 0?n=new Uint8Array(t):e===void 0?n=new Uint8Array(t,r):n=new Uint8Array(t,r,e),Object.setPrototypeOf(n,s.prototype),n}function ne(t){if(s.isBuffer(t)){var r=er(t.length)|0,e=B(r);return e.length===0||t.copy(e,0,0,r),e}if(t.length!==void 0)return typeof t.length!="number"||tr(t.length)?B(0):K(t);if(t.type==="Buffer"&&Array.isArray(t.data))return K(t.data)}function er(t){if(t>=q)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+q.toString(16)+" bytes");return t|0}function ie(t){return+t!=t&&(t=0),s.alloc(+t)}s.isBuffer=function(r){return r!=null&&r._isBuffer===!0&&r!==s.prototype};s.compare=function(r,e){if(b(r,Uint8Array)&&(r=s.from(r,r.offset,r.byteLength)),b(e,Uint8Array)&&(e=s.from(e,e.offset,e.byteLength)),!s.isBuffer(r)||!s.isBuffer(e))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(r===e)return 0;for(var n=r.length,i=e.length,o=0,a=Math.min(n,i);o<a;++o)if(r[o]!==e[o]){n=r[o],i=e[o];break}return n<i?-1:i<n?1:0};s.isEncoding=function(r){switch(String(r).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}};s.concat=function(r,e){if(!Array.isArray(r))throw new TypeError('"list" argument must be an Array of Buffers');if(r.length===0)return s.alloc(0);var n;if(e===void 0)for(e=0,n=0;n<r.length;++n)e+=r[n].length;var i=s.allocUnsafe(e),o=0;for(n=0;n<r.length;++n){var a=r[n];if(b(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 yr(t,r){if(s.isBuffer(t))return t.length;if(ArrayBuffer.isView(t)||b(t,ArrayBuffer))return t.byteLength;if(typeof t!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof t);var e=t.length,n=arguments.length>2&&arguments[2]===!0;if(!n&&e===0)return 0;for(var i=!1;;)switch(r){case"ascii":case"latin1":case"binary":return e;case"utf8":case"utf-8":return Z(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return e*2;case"hex":return e>>>1;case"base64":return Sr(t).length;default:if(i)return n?-1:Z(t).length;r=(""+r).toLowerCase(),i=!0}}s.byteLength=yr;function oe(t,r,e){var n=!1;if((r===void 0||r<0)&&(r=0),r>this.length||((e===void 0||e>this.length)&&(e=this.length),e<=0)||(e>>>=0,r>>>=0,e<=r))return"";for(t||(t="utf8");;)switch(t){case"hex":return he(this,r,e);case"utf8":case"utf-8":return Tr(this,r,e);case"ascii":return ge(this,r,e);case"latin1":case"binary":return de(this,r,e);case"base64":return le(this,r,e);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return me(this,r,e);default:if(n)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),n=!0}}s.prototype._isBuffer=!0;function _(t,r,e){var n=t[r];t[r]=t[e],t[e]=n}s.prototype.swap16=function(){var r=this.length;if(r%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var e=0;e<r;e+=2)_(this,e,e+1);return this};s.prototype.swap32=function(){var r=this.length;if(r%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var e=0;e<r;e+=4)_(this,e,e+3),_(this,e+1,e+2);return this};s.prototype.swap64=function(){var r=this.length;if(r%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var e=0;e<r;e+=8)_(this,e,e+7),_(this,e+1,e+6),_(this,e+2,e+5),_(this,e+3,e+4);return this};s.prototype.toString=function(){var r=this.length;return r===0?"":arguments.length===0?Tr(this,0,r):oe.apply(this,arguments)};s.prototype.toLocaleString=s.prototype.toString;s.prototype.equals=function(r){if(!s.isBuffer(r))throw new TypeError("Argument must be a Buffer");return this===r?!0:s.compare(this,r)===0};s.prototype.inspect=function(){var r="",e=P.INSPECT_MAX_BYTES;return r=this.toString("hex",0,e).replace(/(.{2})/g,"$1 ").trim(),this.length>e&&(r+=" ... "),"<Buffer "+r+">"};fr&&(s.prototype[fr]=s.prototype.inspect);s.prototype.compare=function(r,e,n,i,o){if(b(r,Uint8Array)&&(r=s.from(r,r.offset,r.byteLength)),!s.isBuffer(r))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof r);if(e===void 0&&(e=0),n===void 0&&(n=r?r.length:0),i===void 0&&(i=0),o===void 0&&(o=this.length),e<0||n>r.length||i<0||o>this.length)throw new RangeError("out of range index");if(i>=o&&e>=n)return 0;if(i>=o)return-1;if(e>=n)return 1;if(e>>>=0,n>>>=0,i>>>=0,o>>>=0,this===r)return 0;for(var a=o-i,u=n-e,c=Math.min(a,u),g=this.slice(i,o),d=r.slice(e,n),l=0;l<c;++l)if(g[l]!==d[l]){a=g[l],u=d[l];break}return a<u?-1:u<a?1:0};function xr(t,r,e,n,i){if(t.length===0)return-1;if(typeof e=="string"?(n=e,e=0):e>2147483647?e=2147483647:e<-2147483648&&(e=-2147483648),e=+e,tr(e)&&(e=i?0:t.length-1),e<0&&(e=t.length+e),e>=t.length){if(i)return-1;e=t.length-1}else if(e<0)if(i)e=0;else return-1;if(typeof r=="string"&&(r=s.from(r,n)),s.isBuffer(r))return r.length===0?-1:gr(t,r,e,n,i);if(typeof r=="number")return r=r&255,typeof Uint8Array.prototype.indexOf=="function"?i?Uint8Array.prototype.indexOf.call(t,r,e):Uint8Array.prototype.lastIndexOf.call(t,r,e):gr(t,[r],e,n,i);throw new TypeError("val must be string, number or Buffer")}function gr(t,r,e,n,i){var o=1,a=t.length,u=r.length;if(n!==void 0&&(n=String(n).toLowerCase(),n==="ucs2"||n==="ucs-2"||n==="utf16le"||n==="utf-16le")){if(t.length<2||r.length<2)return-1;o=2,a/=2,u/=2,e/=2}function c(w,U){return o===1?w[U]:w.readUInt16BE(U*o)}var g;if(i){var d=-1;for(g=e;g<a;g++)if(c(t,g)===c(r,d===-1?0:g-d)){if(d===-1&&(d=g),g-d+1===u)return d*o}else d!==-1&&(g-=g-d),d=-1}else for(e+u>a&&(e=a-u),g=e;g>=0;g--){for(var l=!0,F=0;F<u;F++)if(c(t,g+F)!==c(r,F)){l=!1;break}if(l)return g}return-1}s.prototype.includes=function(r,e,n){return this.indexOf(r,e,n)!==-1};s.prototype.indexOf=function(r,e,n){return xr(this,r,e,n,!0)};s.prototype.lastIndexOf=function(r,e,n){return xr(this,r,e,n,!1)};function ae(t,r,e,n){e=Number(e)||0;var i=t.length-e;n?(n=Number(n),n>i&&(n=i)):n=i;var o=r.length;n>o/2&&(n=o/2);for(var a=0;a<n;++a){var u=parseInt(r.substr(a*2,2),16);if(tr(u))return a;t[e+a]=u}return a}function se(t,r,e,n){return V(Z(r,t.length-e),t,e,n)}function pe(t,r,e,n){return V(Te(r),t,e,n)}function ue(t,r,e,n){return V(Sr(r),t,e,n)}function ce(t,r,e,n){return V(we(r,t.length-e),t,e,n)}s.prototype.write=function(r,e,n,i){if(e===void 0)i="utf8",n=this.length,e=0;else if(n===void 0&&typeof e=="string")i=e,n=this.length,e=0;else if(isFinite(e))e=e>>>0,isFinite(n)?(n=n>>>0,i===void 0&&(i="utf8")):(i=n,n=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var o=this.length-e;if((n===void 0||n>o)&&(n=o),r.length>0&&(n<0||e<0)||e>this.length)throw new RangeError("Attempt to write outside buffer bounds");i||(i="utf8");for(var a=!1;;)switch(i){case"hex":return ae(this,r,e,n);case"utf8":case"utf-8":return se(this,r,e,n);case"ascii":case"latin1":case"binary":return pe(this,r,e,n);case"base64":return ue(this,r,e,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return ce(this,r,e,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 le(t,r,e){return r===0&&e===t.length?j.fromByteArray(t):j.fromByteArray(t.slice(r,e))}function Tr(t,r,e){e=Math.min(t.length,e);for(var n=[],i=r;i<e;){var o=t[i],a=null,u=o>239?4:o>223?3:o>191?2:1;if(i+u<=e){var c,g,d,l;switch(u){case 1:o<128&&(a=o);break;case 2:c=t[i+1],(c&192)===128&&(l=(o&31)<<6|c&63,l>127&&(a=l));break;case 3:c=t[i+1],g=t[i+2],(c&192)===128&&(g&192)===128&&(l=(o&15)<<12|(c&63)<<6|g&63,l>2047&&(l<55296||l>57343)&&(a=l));break;case 4:c=t[i+1],g=t[i+2],d=t[i+3],(c&192)===128&&(g&192)===128&&(d&192)===128&&(l=(o&15)<<18|(c&63)<<12|(g&63)<<6|d&63,l>65535&&l<1114112&&(a=l))}}a===null?(a=65533,u=1):a>65535&&(a-=65536,n.push(a>>>10&1023|55296),a=56320|a&1023),n.push(a),i+=u}return fe(n)}var dr=4096;function fe(t){var r=t.length;if(r<=dr)return String.fromCharCode.apply(String,t);for(var e="",n=0;n<r;)e+=String.fromCharCode.apply(String,t.slice(n,n+=dr));return e}function ge(t,r,e){var n="";e=Math.min(t.length,e);for(var i=r;i<e;++i)n+=String.fromCharCode(t[i]&127);return n}function de(t,r,e){var n="";e=Math.min(t.length,e);for(var i=r;i<e;++i)n+=String.fromCharCode(t[i]);return n}function he(t,r,e){var n=t.length;(!r||r<0)&&(r=0),(!e||e<0||e>n)&&(e=n);for(var i="",o=r;o<e;++o)i+=ve[t[o]];return i}function me(t,r,e){for(var n=t.slice(r,e),i="",o=0;o<n.length-1;o+=2)i+=String.fromCharCode(n[o]+n[o+1]*256);return i}s.prototype.slice=function(r,e){var n=this.length;r=~~r,e=e===void 0?n:~~e,r<0?(r+=n,r<0&&(r=0)):r>n&&(r=n),e<0?(e+=n,e<0&&(e=0)):e>n&&(e=n),e<r&&(e=r);var i=this.subarray(r,e);return Object.setPrototypeOf(i,s.prototype),i};function x(t,r,e){if(t%1!==0||t<0)throw new RangeError("offset is not uint");if(t+r>e)throw new RangeError("Trying to access beyond buffer length")}s.prototype.readUintLE=s.prototype.readUIntLE=function(r,e,n){r=r>>>0,e=e>>>0,n||x(r,e,this.length);for(var i=this[r],o=1,a=0;++a<e&&(o*=256);)i+=this[r+a]*o;return i};s.prototype.readUintBE=s.prototype.readUIntBE=function(r,e,n){r=r>>>0,e=e>>>0,n||x(r,e,this.length);for(var i=this[r+--e],o=1;e>0&&(o*=256);)i+=this[r+--e]*o;return i};s.prototype.readUint8=s.prototype.readUInt8=function(r,e){return r=r>>>0,e||x(r,1,this.length),this[r]};s.prototype.readUint16LE=s.prototype.readUInt16LE=function(r,e){return r=r>>>0,e||x(r,2,this.length),this[r]|this[r+1]<<8};s.prototype.readUint16BE=s.prototype.readUInt16BE=function(r,e){return r=r>>>0,e||x(r,2,this.length),this[r]<<8|this[r+1]};s.prototype.readUint32LE=s.prototype.readUInt32LE=function(r,e){return r=r>>>0,e||x(r,4,this.length),(this[r]|this[r+1]<<8|this[r+2]<<16)+this[r+3]*16777216};s.prototype.readUint32BE=s.prototype.readUInt32BE=function(r,e){return r=r>>>0,e||x(r,4,this.length),this[r]*16777216+(this[r+1]<<16|this[r+2]<<8|this[r+3])};s.prototype.readIntLE=function(r,e,n){r=r>>>0,e=e>>>0,n||x(r,e,this.length);for(var i=this[r],o=1,a=0;++a<e&&(o*=256);)i+=this[r+a]*o;return o*=128,i>=o&&(i-=Math.pow(2,8*e)),i};s.prototype.readIntBE=function(r,e,n){r=r>>>0,e=e>>>0,n||x(r,e,this.length);for(var i=e,o=1,a=this[r+--i];i>0&&(o*=256);)a+=this[r+--i]*o;return o*=128,a>=o&&(a-=Math.pow(2,8*e)),a};s.prototype.readInt8=function(r,e){return r=r>>>0,e||x(r,1,this.length),this[r]&128?(255-this[r]+1)*-1:this[r]};s.prototype.readInt16LE=function(r,e){r=r>>>0,e||x(r,2,this.length);var n=this[r]|this[r+1]<<8;return n&32768?n|4294901760:n};s.prototype.readInt16BE=function(r,e){r=r>>>0,e||x(r,2,this.length);var n=this[r+1]|this[r]<<8;return n&32768?n|4294901760:n};s.prototype.readInt32LE=function(r,e){return r=r>>>0,e||x(r,4,this.length),this[r]|this[r+1]<<8|this[r+2]<<16|this[r+3]<<24};s.prototype.readInt32BE=function(r,e){return r=r>>>0,e||x(r,4,this.length),this[r]<<24|this[r+1]<<16|this[r+2]<<8|this[r+3]};s.prototype.readFloatLE=function(r,e){return r=r>>>0,e||x(r,4,this.length),C.read(this,r,!0,23,4)};s.prototype.readFloatBE=function(r,e){return r=r>>>0,e||x(r,4,this.length),C.read(this,r,!1,23,4)};s.prototype.readDoubleLE=function(r,e){return r=r>>>0,e||x(r,8,this.length),C.read(this,r,!0,52,8)};s.prototype.readDoubleBE=function(r,e){return r=r>>>0,e||x(r,8,this.length),C.read(this,r,!1,52,8)};function T(t,r,e,n,i,o){if(!s.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(r>i||r<o)throw new RangeError('"value" argument is out of bounds');if(e+n>t.length)throw new RangeError("Index out of range")}s.prototype.writeUintLE=s.prototype.writeUIntLE=function(r,e,n,i){if(r=+r,e=e>>>0,n=n>>>0,!i){var o=Math.pow(2,8*n)-1;T(this,r,e,n,o,0)}var a=1,u=0;for(this[e]=r&255;++u<n&&(a*=256);)this[e+u]=r/a&255;return e+n};s.prototype.writeUintBE=s.prototype.writeUIntBE=function(r,e,n,i){if(r=+r,e=e>>>0,n=n>>>0,!i){var o=Math.pow(2,8*n)-1;T(this,r,e,n,o,0)}var a=n-1,u=1;for(this[e+a]=r&255;--a>=0&&(u*=256);)this[e+a]=r/u&255;return e+n};s.prototype.writeUint8=s.prototype.writeUInt8=function(r,e,n){return r=+r,e=e>>>0,n||T(this,r,e,1,255,0),this[e]=r&255,e+1};s.prototype.writeUint16LE=s.prototype.writeUInt16LE=function(r,e,n){return r=+r,e=e>>>0,n||T(this,r,e,2,65535,0),this[e]=r&255,this[e+1]=r>>>8,e+2};s.prototype.writeUint16BE=s.prototype.writeUInt16BE=function(r,e,n){return r=+r,e=e>>>0,n||T(this,r,e,2,65535,0),this[e]=r>>>8,this[e+1]=r&255,e+2};s.prototype.writeUint32LE=s.prototype.writeUInt32LE=function(r,e,n){return r=+r,e=e>>>0,n||T(this,r,e,4,4294967295,0),this[e+3]=r>>>24,this[e+2]=r>>>16,this[e+1]=r>>>8,this[e]=r&255,e+4};s.prototype.writeUint32BE=s.prototype.writeUInt32BE=function(r,e,n){return r=+r,e=e>>>0,n||T(this,r,e,4,4294967295,0),this[e]=r>>>24,this[e+1]=r>>>16,this[e+2]=r>>>8,this[e+3]=r&255,e+4};s.prototype.writeIntLE=function(r,e,n,i){if(r=+r,e=e>>>0,!i){var o=Math.pow(2,8*n-1);T(this,r,e,n,o-1,-o)}var a=0,u=1,c=0;for(this[e]=r&255;++a<n&&(u*=256);)r<0&&c===0&&this[e+a-1]!==0&&(c=1),this[e+a]=(r/u>>0)-c&255;return e+n};s.prototype.writeIntBE=function(r,e,n,i){if(r=+r,e=e>>>0,!i){var o=Math.pow(2,8*n-1);T(this,r,e,n,o-1,-o)}var a=n-1,u=1,c=0;for(this[e+a]=r&255;--a>=0&&(u*=256);)r<0&&c===0&&this[e+a+1]!==0&&(c=1),this[e+a]=(r/u>>0)-c&255;return e+n};s.prototype.writeInt8=function(r,e,n){return r=+r,e=e>>>0,n||T(this,r,e,1,127,-128),r<0&&(r=255+r+1),this[e]=r&255,e+1};s.prototype.writeInt16LE=function(r,e,n){return r=+r,e=e>>>0,n||T(this,r,e,2,32767,-32768),this[e]=r&255,this[e+1]=r>>>8,e+2};s.prototype.writeInt16BE=function(r,e,n){return r=+r,e=e>>>0,n||T(this,r,e,2,32767,-32768),this[e]=r>>>8,this[e+1]=r&255,e+2};s.prototype.writeInt32LE=function(r,e,n){return r=+r,e=e>>>0,n||T(this,r,e,4,2147483647,-2147483648),this[e]=r&255,this[e+1]=r>>>8,this[e+2]=r>>>16,this[e+3]=r>>>24,e+4};s.prototype.writeInt32BE=function(r,e,n){return r=+r,e=e>>>0,n||T(this,r,e,4,2147483647,-2147483648),r<0&&(r=4294967295+r+1),this[e]=r>>>24,this[e+1]=r>>>16,this[e+2]=r>>>8,this[e+3]=r&255,e+4};function wr(t,r,e,n,i,o){if(e+n>t.length)throw new RangeError("Index out of range");if(e<0)throw new RangeError("Index out of range")}function vr(t,r,e,n,i){return r=+r,e=e>>>0,i||wr(t,r,e,4,34028234663852886e22,-34028234663852886e22),C.write(t,r,e,n,23,4),e+4}s.prototype.writeFloatLE=function(r,e,n){return vr(this,r,e,!0,n)};s.prototype.writeFloatBE=function(r,e,n){return vr(this,r,e,!1,n)};function Fr(t,r,e,n,i){return r=+r,e=e>>>0,i||wr(t,r,e,8,17976931348623157e292,-17976931348623157e292),C.write(t,r,e,n,52,8),e+8}s.prototype.writeDoubleLE=function(r,e,n){return Fr(this,r,e,!0,n)};s.prototype.writeDoubleBE=function(r,e,n){return Fr(this,r,e,!1,n)};s.prototype.copy=function(r,e,n,i){if(!s.isBuffer(r))throw new TypeError("argument should be a Buffer");if(n||(n=0),!i&&i!==0&&(i=this.length),e>=r.length&&(e=r.length),e||(e=0),i>0&&i<n&&(i=n),i===n||r.length===0||this.length===0)return 0;if(e<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw new RangeError("Index out of range");if(i<0)throw new RangeError("sourceEnd out of bounds");i>this.length&&(i=this.length),r.length-e<i-n&&(i=r.length-e+n);var o=i-n;return this===r&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(e,n,i):Uint8Array.prototype.set.call(r,this.subarray(n,i),e),o};s.prototype.fill=function(r,e,n,i){if(typeof r=="string"){if(typeof e=="string"?(i=e,e=0,n=this.length):typeof n=="string"&&(i=n,n=this.length),i!==void 0&&typeof i!="string")throw new TypeError("encoding must be a string");if(typeof i=="string"&&!s.isEncoding(i))throw new TypeError("Unknown encoding: "+i);if(r.length===1){var o=r.charCodeAt(0);(i==="utf8"&&o<128||i==="latin1")&&(r=o)}}else typeof r=="number"?r=r&255:typeof r=="boolean"&&(r=Number(r));if(e<0||this.length<e||this.length<n)throw new RangeError("Out of range index");if(n<=e)return this;e=e>>>0,n=n===void 0?this.length:n>>>0,r||(r=0);var a;if(typeof r=="number")for(a=e;a<n;++a)this[a]=r;else{var u=s.isBuffer(r)?r:s.from(r,i),c=u.length;if(c===0)throw new TypeError('The value "'+r+'" is invalid for argument "value"');for(a=0;a<n-e;++a)this[a+e]=u[a%c]}return this};var ye=/[^+/0-9A-Za-z-_]/g;function xe(t){if(t=t.split("=")[0],t=t.trim().replace(ye,""),t.length<2)return"";for(;t.length%4!==0;)t=t+"=";return t}function Z(t,r){r=r||1/0;for(var e,n=t.length,i=null,o=[],a=0;a<n;++a){if(e=t.charCodeAt(a),e>55295&&e<57344){if(!i){if(e>56319){(r-=3)>-1&&o.push(239,191,189);continue}else if(a+1===n){(r-=3)>-1&&o.push(239,191,189);continue}i=e;continue}if(e<56320){(r-=3)>-1&&o.push(239,191,189),i=e;continue}e=(i-55296<<10|e-56320)+65536}else i&&(r-=3)>-1&&o.push(239,191,189);if(i=null,e<128){if((r-=1)<0)break;o.push(e)}else if(e<2048){if((r-=2)<0)break;o.push(e>>6|192,e&63|128)}else if(e<65536){if((r-=3)<0)break;o.push(e>>12|224,e>>6&63|128,e&63|128)}else if(e<1114112){if((r-=4)<0)break;o.push(e>>18|240,e>>12&63|128,e>>6&63|128,e&63|128)}else throw new Error("Invalid code point")}return o}function Te(t){for(var r=[],e=0;e<t.length;++e)r.push(t.charCodeAt(e)&255);return r}function we(t,r){for(var e,n,i,o=[],a=0;a<t.length&&!((r-=2)<0);++a)e=t.charCodeAt(a),n=e>>8,i=e%256,o.push(i),o.push(n);return o}function Sr(t){return j.toByteArray(xe(t))}function V(t,r,e,n){for(var i=0;i<n&&!(i+e>=r.length||i>=t.length);++i)r[i+e]=t[i];return i}function b(t,r){return t instanceof r||t!=null&&t.constructor!=null&&t.constructor.name!=null&&t.constructor.name===r.name}function tr(t){return t!==t}var ve=function(){for(var t="0123456789abcdef",r=new Array(256),e=0;e<16;++e)for(var n=e*16,i=0;i<16;++i)r[n+i]=t[e]+t[i];return r}()});var Ar=H((Ue,Dr)=>{p();var y=Dr.exports={},k,I;function nr(){throw new Error("setTimeout has not been defined")}function ir(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?k=setTimeout:k=nr}catch(t){k=nr}try{typeof clearTimeout=="function"?I=clearTimeout:I=ir}catch(t){I=ir}})();function kr(t){if(k===setTimeout)return setTimeout(t,0);if((k===nr||!k)&&setTimeout)return k=setTimeout,setTimeout(t,0);try{return k(t,0)}catch(r){try{return k.call(null,t,0)}catch(e){return k.call(this,t,0)}}}function Fe(t){if(I===clearTimeout)return clearTimeout(t);if((I===ir||!I)&&clearTimeout)return I=clearTimeout,clearTimeout(t);try{return I(t)}catch(r){try{return I.call(null,t)}catch(e){return I.call(this,t)}}}var D=[],N=!1,L,W=-1;function Se(){!N||!L||(N=!1,L.length?D=L.concat(D):W=-1,D.length&&Ir())}function Ir(){if(!N){var t=kr(Se);N=!0;for(var r=D.length;r;){for(L=D,D=[];++W<r;)L&&L[W].run();W=-1,r=D.length}L=null,N=!1,Fe(t)}}y.nextTick=function(t){var r=new Array(arguments.length-1);if(arguments.length>1)for(var e=1;e<arguments.length;e++)r[e-1]=arguments[e];D.push(new Br(t,r)),D.length===1&&!N&&kr(Ir)};function Br(t,r){this.fun=t,this.array=r}Br.prototype.run=function(){this.fun.apply(null,this.array)};y.title="browser";y.browser=!0;y.env={};y.argv=[];y.version="";y.versions={};function A(){}y.on=A;y.addListener=A;y.once=A;y.off=A;y.removeListener=A;y.removeAllListeners=A;y.emit=A;y.prependListener=A;y.prependOnceListener=A;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 f,h,Ce,p=Vr(()=>{f=Q(br()),h=Q(Ar()),Ce=function(t){function r(){var n=this||self;return delete t.prototype.__magic__,n}if(typeof globalThis=="object")return globalThis;if(this)return r();t.defineProperty(t.prototype,"__magic__",{configurable:!0,get:r});var e=__magic__;return e}(Object)});var Ae={};Wr(Ae,{useDataDecode:()=>De});module.exports=Yr(Ae);p();var z=require("react");p();p();p();p();p();p();p();p();var M=(i=>(i.raw="raw",i.text="text",i.decimal="decimal",i.smart="smart",i))(M||{});p();p();p();p();p();p();p();var Lr=require("@multiversx/sdk-core/out"),ar=Q(require("bignumber.js"));p();var Rr=require("@multiversx/sdk-core");function be(t){try{let r=new Rr.Address(t);return Boolean(r.bech32())}catch(r){return!1}}function Er(t){return(t==null?void 0:t.startsWith("erd"))&&t.length===62&&/^\w+$/.test(t)&&be(t)}p();p();p();p();function or(t){for(let r=0;r<t.length;r++)if(t.charCodeAt(r)>127)return!1;return!0}p();p();var _r=t=>/\d/.test(t);var R=(t,r,e)=>{try{switch(r){case"text":return _r(t)?f.Buffer.from(t,"hex").toString("utf8"):t;case"decimal":return new ar.default(t,16).toString(10);case"smart":let i=Lr.Address.fromHex(t).toString();if(Er(i))return i;let o=f.Buffer.from(t,"hex").toString("utf8");return or(o)||e&&[...e.esdts,...e.nfts].some(c=>o.includes(c))?o:new ar.default(t,16).toString(10);case"raw":default:return t}}catch(n){return console.error(`Error during data decoding of "${t}" as "${r}"`,n),t}};p();p();var ke=t=>t.toLowerCase().match(/[0-9a-f]/g),Ie=t=>t.length%2===0,Ur=t=>{let r=[];return t&&!ke(t)&&r.push(`Invalid Hex characters on argument @${t}`),t&&!Ie(t)&&r.push(`Odd number of Hex characters on argument @${t}`),r};p();var Y=({parts:t,decodedParts:r,identifier:e})=>{let n=[...r];if(t[0]==="ESDTNFTTransfer"&&t[2]&&(n[2]=R(t[2],"decimal")),e==="ESDTNFTTransfer"&&t[1]){let i=f.Buffer.from(String(t[1]),"base64");n[1]=R(i.toString("hex"),"decimal")}return n};var Cr=({parts:t,decodeMethod:r,identifier:e,display:n})=>{let i=t.map((o,a)=>{if(t.length>=2&&(a===0&&o.length<64||a===1&&!t[0]))return/[^a-z0-9]/gi.test(o)?R(o,r):o;{let u=Ur(o);return u.length&&(n.validationWarnings=Array.from(new Set([...n.validationWarnings,...u]))),R(o,r)}});return r==="smart"?Y({parts:t,decodedParts:i,identifier:e}):i};var Pr=({input:t,decodeMethod:r,identifier:e})=>{let n={displayValue:"",validationWarnings:[]};if(t.includes("@")){let i=t.split("@"),o=Cr({parts:i,identifier:e,decodeMethod:r,display:n});return n.displayValue=o.join("@"),n}if(t.includes(`
|
|
1
|
+
"use strict";var Mr=Object.create;var G=Object.defineProperty;var Gr=Object.getOwnPropertyDescriptor;var Hr=Object.getOwnPropertyNames;var Or=Object.getPrototypeOf,qr=Object.prototype.hasOwnProperty;var Vr=(t,r)=>()=>(t&&(r=t(t=0)),r);var H=(t,r)=>()=>(r||t((r={exports:{}}).exports,r),r.exports),Wr=(t,r)=>{for(var e in r)G(t,e,{get:r[e],enumerable:!0})},sr=(t,r,e,n)=>{if(r&&typeof r=="object"||typeof r=="function")for(let i of Hr(r))!qr.call(t,i)&&i!==e&&G(t,i,{get:()=>r[i],enumerable:!(n=Gr(r,i))||n.enumerable});return t};var Q=(t,r,e)=>(e=t!=null?Mr(Or(t)):{},sr(r||!t||!t.__esModule?G(e,"default",{value:t,enumerable:!0}):e,t)),Yr=t=>sr(G({},"__esModule",{value:!0}),t);var cr=H(O=>{"use strict";p();O.byteLength=Qr;O.toByteArray=$r;O.fromByteArray=Jr;var b=[],v=[],zr=typeof Uint8Array!="undefined"?Uint8Array:Array,X="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(E=0,pr=X.length;E<pr;++E)b[E]=X[E],v[X.charCodeAt(E)]=E;var E,pr;v["-".charCodeAt(0)]=62;v["_".charCodeAt(0)]=63;function ur(t){var r=t.length;if(r%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var e=t.indexOf("=");e===-1&&(e=r);var n=e===r?0:4-e%4;return[e,n]}function Qr(t){var r=ur(t),e=r[0],n=r[1];return(e+n)*3/4-n}function Xr(t,r,e){return(r+e)*3/4-e}function $r(t){var r,e=ur(t),n=e[0],i=e[1],o=new zr(Xr(t,n,i)),a=0,u=i>0?n-4:n,c;for(c=0;c<u;c+=4)r=v[t.charCodeAt(c)]<<18|v[t.charCodeAt(c+1)]<<12|v[t.charCodeAt(c+2)]<<6|v[t.charCodeAt(c+3)],o[a++]=r>>16&255,o[a++]=r>>8&255,o[a++]=r&255;return i===2&&(r=v[t.charCodeAt(c)]<<2|v[t.charCodeAt(c+1)]>>4,o[a++]=r&255),i===1&&(r=v[t.charCodeAt(c)]<<10|v[t.charCodeAt(c+1)]<<4|v[t.charCodeAt(c+2)]>>2,o[a++]=r>>8&255,o[a++]=r&255),o}function jr(t){return b[t>>18&63]+b[t>>12&63]+b[t>>6&63]+b[t&63]}function Kr(t,r,e){for(var n,i=[],o=r;o<e;o+=3)n=(t[o]<<16&16711680)+(t[o+1]<<8&65280)+(t[o+2]&255),i.push(jr(n));return i.join("")}function Jr(t){for(var r,e=t.length,n=e%3,i=[],o=16383,a=0,u=e-n;a<u;a+=o)i.push(Kr(t,a,a+o>u?u:a+o));return n===1?(r=t[e-1],i.push(b[r>>2]+b[r<<4&63]+"==")):n===2&&(r=(t[e-2]<<8)+t[e-1],i.push(b[r>>10]+b[r>>4&63]+b[r<<2&63]+"=")),i.join("")}});var lr=H($=>{p();$.read=function(t,r,e,n,i){var o,a,u=i*8-n-1,c=(1<<u)-1,g=c>>1,d=-7,l=e?i-1:0,F=e?-1:1,w=t[r+l];for(l+=F,o=w&(1<<-d)-1,w>>=-d,d+=u;d>0;o=o*256+t[r+l],l+=F,d-=8);for(a=o&(1<<-d)-1,o>>=-d,d+=n;d>0;a=a*256+t[r+l],l+=F,d-=8);if(o===0)o=1-g;else{if(o===c)return a?NaN:(w?-1:1)*(1/0);a=a+Math.pow(2,n),o=o-g}return(w?-1:1)*a*Math.pow(2,o-n)};$.write=function(t,r,e,n,i,o){var a,u,c,g=o*8-i-1,d=(1<<g)-1,l=d>>1,F=i===23?Math.pow(2,-24)-Math.pow(2,-77):0,w=n?0:o-1,U=n?1:-1,Nr=r<0||r===0&&1/r<0?1:0;for(r=Math.abs(r),isNaN(r)||r===1/0?(u=isNaN(r)?1:0,a=d):(a=Math.floor(Math.log(r)/Math.LN2),r*(c=Math.pow(2,-a))<1&&(a--,c*=2),a+l>=1?r+=F/c:r+=F*Math.pow(2,1-l),r*c>=2&&(a++,c/=2),a+l>=d?(u=0,a=d):a+l>=1?(u=(r*c-1)*Math.pow(2,i),a=a+l):(u=r*Math.pow(2,l-1)*Math.pow(2,i),a=0));i>=8;t[e+w]=u&255,w+=U,u/=256,i-=8);for(a=a<<i|u,g+=i;g>0;t[e+w]=a&255,w+=U,a/=256,g-=8);t[e+w-U]|=Nr*128}});var Sr=H(P=>{"use strict";p();var j=cr(),C=lr(),fr=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;P.Buffer=s;P.SlowBuffer=ie;P.INSPECT_MAX_BYTES=50;var q=2147483647;P.kMaxLength=q;s.TYPED_ARRAY_SUPPORT=Zr();!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 Zr(){try{var t=new Uint8Array(1),r={foo:function(){return 42}};return Object.setPrototypeOf(r,Uint8Array.prototype),Object.setPrototypeOf(t,r),t.foo()===42}catch(e){return!1}}Object.defineProperty(s.prototype,"parent",{enumerable:!0,get:function(){if(!!s.isBuffer(this))return this.buffer}});Object.defineProperty(s.prototype,"offset",{enumerable:!0,get:function(){if(!!s.isBuffer(this))return this.byteOffset}});function B(t){if(t>q)throw new RangeError('The value "'+t+'" is invalid for option "size"');var r=new Uint8Array(t);return Object.setPrototypeOf(r,s.prototype),r}function s(t,r,e){if(typeof t=="number"){if(typeof r=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return rr(t)}return hr(t,r,e)}s.poolSize=8192;function hr(t,r,e){if(typeof t=="string")return ee(t,r);if(ArrayBuffer.isView(t))return te(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(S(t,ArrayBuffer)||t&&S(t.buffer,ArrayBuffer)||typeof SharedArrayBuffer!="undefined"&&(S(t,SharedArrayBuffer)||t&&S(t.buffer,SharedArrayBuffer)))return J(t,r,e);if(typeof t=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var n=t.valueOf&&t.valueOf();if(n!=null&&n!==t)return s.from(n,r,e);var i=ne(t);if(i)return i;if(typeof Symbol!="undefined"&&Symbol.toPrimitive!=null&&typeof t[Symbol.toPrimitive]=="function")return s.from(t[Symbol.toPrimitive]("string"),r,e);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t)}s.from=function(t,r,e){return hr(t,r,e)};Object.setPrototypeOf(s.prototype,Uint8Array.prototype);Object.setPrototypeOf(s,Uint8Array);function mr(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 re(t,r,e){return mr(t),t<=0?B(t):r!==void 0?typeof e=="string"?B(t).fill(r,e):B(t).fill(r):B(t)}s.alloc=function(t,r,e){return re(t,r,e)};function rr(t){return mr(t),B(t<0?0:er(t)|0)}s.allocUnsafe=function(t){return rr(t)};s.allocUnsafeSlow=function(t){return rr(t)};function ee(t,r){if((typeof r!="string"||r==="")&&(r="utf8"),!s.isEncoding(r))throw new TypeError("Unknown encoding: "+r);var e=yr(t,r)|0,n=B(e),i=n.write(t,r);return i!==e&&(n=n.slice(0,i)),n}function K(t){for(var r=t.length<0?0:er(t.length)|0,e=B(r),n=0;n<r;n+=1)e[n]=t[n]&255;return e}function te(t){if(S(t,Uint8Array)){var r=new Uint8Array(t);return J(r.buffer,r.byteOffset,r.byteLength)}return K(t)}function J(t,r,e){if(r<0||t.byteLength<r)throw new RangeError('"offset" is outside of buffer bounds');if(t.byteLength<r+(e||0))throw new RangeError('"length" is outside of buffer bounds');var n;return r===void 0&&e===void 0?n=new Uint8Array(t):e===void 0?n=new Uint8Array(t,r):n=new Uint8Array(t,r,e),Object.setPrototypeOf(n,s.prototype),n}function ne(t){if(s.isBuffer(t)){var r=er(t.length)|0,e=B(r);return e.length===0||t.copy(e,0,0,r),e}if(t.length!==void 0)return typeof t.length!="number"||tr(t.length)?B(0):K(t);if(t.type==="Buffer"&&Array.isArray(t.data))return K(t.data)}function er(t){if(t>=q)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+q.toString(16)+" bytes");return t|0}function ie(t){return+t!=t&&(t=0),s.alloc(+t)}s.isBuffer=function(r){return r!=null&&r._isBuffer===!0&&r!==s.prototype};s.compare=function(r,e){if(S(r,Uint8Array)&&(r=s.from(r,r.offset,r.byteLength)),S(e,Uint8Array)&&(e=s.from(e,e.offset,e.byteLength)),!s.isBuffer(r)||!s.isBuffer(e))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(r===e)return 0;for(var n=r.length,i=e.length,o=0,a=Math.min(n,i);o<a;++o)if(r[o]!==e[o]){n=r[o],i=e[o];break}return n<i?-1:i<n?1:0};s.isEncoding=function(r){switch(String(r).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}};s.concat=function(r,e){if(!Array.isArray(r))throw new TypeError('"list" argument must be an Array of Buffers');if(r.length===0)return s.alloc(0);var n;if(e===void 0)for(e=0,n=0;n<r.length;++n)e+=r[n].length;var i=s.allocUnsafe(e),o=0;for(n=0;n<r.length;++n){var a=r[n];if(S(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 yr(t,r){if(s.isBuffer(t))return t.length;if(ArrayBuffer.isView(t)||S(t,ArrayBuffer))return t.byteLength;if(typeof t!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof t);var e=t.length,n=arguments.length>2&&arguments[2]===!0;if(!n&&e===0)return 0;for(var i=!1;;)switch(r){case"ascii":case"latin1":case"binary":return e;case"utf8":case"utf-8":return Z(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return e*2;case"hex":return e>>>1;case"base64":return br(t).length;default:if(i)return n?-1:Z(t).length;r=(""+r).toLowerCase(),i=!0}}s.byteLength=yr;function oe(t,r,e){var n=!1;if((r===void 0||r<0)&&(r=0),r>this.length||((e===void 0||e>this.length)&&(e=this.length),e<=0)||(e>>>=0,r>>>=0,e<=r))return"";for(t||(t="utf8");;)switch(t){case"hex":return he(this,r,e);case"utf8":case"utf-8":return Tr(this,r,e);case"ascii":return ge(this,r,e);case"latin1":case"binary":return de(this,r,e);case"base64":return le(this,r,e);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return me(this,r,e);default:if(n)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),n=!0}}s.prototype._isBuffer=!0;function _(t,r,e){var n=t[r];t[r]=t[e],t[e]=n}s.prototype.swap16=function(){var r=this.length;if(r%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var e=0;e<r;e+=2)_(this,e,e+1);return this};s.prototype.swap32=function(){var r=this.length;if(r%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var e=0;e<r;e+=4)_(this,e,e+3),_(this,e+1,e+2);return this};s.prototype.swap64=function(){var r=this.length;if(r%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var e=0;e<r;e+=8)_(this,e,e+7),_(this,e+1,e+6),_(this,e+2,e+5),_(this,e+3,e+4);return this};s.prototype.toString=function(){var r=this.length;return r===0?"":arguments.length===0?Tr(this,0,r):oe.apply(this,arguments)};s.prototype.toLocaleString=s.prototype.toString;s.prototype.equals=function(r){if(!s.isBuffer(r))throw new TypeError("Argument must be a Buffer");return this===r?!0:s.compare(this,r)===0};s.prototype.inspect=function(){var r="",e=P.INSPECT_MAX_BYTES;return r=this.toString("hex",0,e).replace(/(.{2})/g,"$1 ").trim(),this.length>e&&(r+=" ... "),"<Buffer "+r+">"};fr&&(s.prototype[fr]=s.prototype.inspect);s.prototype.compare=function(r,e,n,i,o){if(S(r,Uint8Array)&&(r=s.from(r,r.offset,r.byteLength)),!s.isBuffer(r))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof r);if(e===void 0&&(e=0),n===void 0&&(n=r?r.length:0),i===void 0&&(i=0),o===void 0&&(o=this.length),e<0||n>r.length||i<0||o>this.length)throw new RangeError("out of range index");if(i>=o&&e>=n)return 0;if(i>=o)return-1;if(e>=n)return 1;if(e>>>=0,n>>>=0,i>>>=0,o>>>=0,this===r)return 0;for(var a=o-i,u=n-e,c=Math.min(a,u),g=this.slice(i,o),d=r.slice(e,n),l=0;l<c;++l)if(g[l]!==d[l]){a=g[l],u=d[l];break}return a<u?-1:u<a?1:0};function xr(t,r,e,n,i){if(t.length===0)return-1;if(typeof e=="string"?(n=e,e=0):e>2147483647?e=2147483647:e<-2147483648&&(e=-2147483648),e=+e,tr(e)&&(e=i?0:t.length-1),e<0&&(e=t.length+e),e>=t.length){if(i)return-1;e=t.length-1}else if(e<0)if(i)e=0;else return-1;if(typeof r=="string"&&(r=s.from(r,n)),s.isBuffer(r))return r.length===0?-1:gr(t,r,e,n,i);if(typeof r=="number")return r=r&255,typeof Uint8Array.prototype.indexOf=="function"?i?Uint8Array.prototype.indexOf.call(t,r,e):Uint8Array.prototype.lastIndexOf.call(t,r,e):gr(t,[r],e,n,i);throw new TypeError("val must be string, number or Buffer")}function gr(t,r,e,n,i){var o=1,a=t.length,u=r.length;if(n!==void 0&&(n=String(n).toLowerCase(),n==="ucs2"||n==="ucs-2"||n==="utf16le"||n==="utf-16le")){if(t.length<2||r.length<2)return-1;o=2,a/=2,u/=2,e/=2}function c(w,U){return o===1?w[U]:w.readUInt16BE(U*o)}var g;if(i){var d=-1;for(g=e;g<a;g++)if(c(t,g)===c(r,d===-1?0:g-d)){if(d===-1&&(d=g),g-d+1===u)return d*o}else d!==-1&&(g-=g-d),d=-1}else for(e+u>a&&(e=a-u),g=e;g>=0;g--){for(var l=!0,F=0;F<u;F++)if(c(t,g+F)!==c(r,F)){l=!1;break}if(l)return g}return-1}s.prototype.includes=function(r,e,n){return this.indexOf(r,e,n)!==-1};s.prototype.indexOf=function(r,e,n){return xr(this,r,e,n,!0)};s.prototype.lastIndexOf=function(r,e,n){return xr(this,r,e,n,!1)};function ae(t,r,e,n){e=Number(e)||0;var i=t.length-e;n?(n=Number(n),n>i&&(n=i)):n=i;var o=r.length;n>o/2&&(n=o/2);for(var a=0;a<n;++a){var u=parseInt(r.substr(a*2,2),16);if(tr(u))return a;t[e+a]=u}return a}function se(t,r,e,n){return V(Z(r,t.length-e),t,e,n)}function pe(t,r,e,n){return V(Te(r),t,e,n)}function ue(t,r,e,n){return V(br(r),t,e,n)}function ce(t,r,e,n){return V(we(r,t.length-e),t,e,n)}s.prototype.write=function(r,e,n,i){if(e===void 0)i="utf8",n=this.length,e=0;else if(n===void 0&&typeof e=="string")i=e,n=this.length,e=0;else if(isFinite(e))e=e>>>0,isFinite(n)?(n=n>>>0,i===void 0&&(i="utf8")):(i=n,n=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var o=this.length-e;if((n===void 0||n>o)&&(n=o),r.length>0&&(n<0||e<0)||e>this.length)throw new RangeError("Attempt to write outside buffer bounds");i||(i="utf8");for(var a=!1;;)switch(i){case"hex":return ae(this,r,e,n);case"utf8":case"utf-8":return se(this,r,e,n);case"ascii":case"latin1":case"binary":return pe(this,r,e,n);case"base64":return ue(this,r,e,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return ce(this,r,e,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 le(t,r,e){return r===0&&e===t.length?j.fromByteArray(t):j.fromByteArray(t.slice(r,e))}function Tr(t,r,e){e=Math.min(t.length,e);for(var n=[],i=r;i<e;){var o=t[i],a=null,u=o>239?4:o>223?3:o>191?2:1;if(i+u<=e){var c,g,d,l;switch(u){case 1:o<128&&(a=o);break;case 2:c=t[i+1],(c&192)===128&&(l=(o&31)<<6|c&63,l>127&&(a=l));break;case 3:c=t[i+1],g=t[i+2],(c&192)===128&&(g&192)===128&&(l=(o&15)<<12|(c&63)<<6|g&63,l>2047&&(l<55296||l>57343)&&(a=l));break;case 4:c=t[i+1],g=t[i+2],d=t[i+3],(c&192)===128&&(g&192)===128&&(d&192)===128&&(l=(o&15)<<18|(c&63)<<12|(g&63)<<6|d&63,l>65535&&l<1114112&&(a=l))}}a===null?(a=65533,u=1):a>65535&&(a-=65536,n.push(a>>>10&1023|55296),a=56320|a&1023),n.push(a),i+=u}return fe(n)}var dr=4096;function fe(t){var r=t.length;if(r<=dr)return String.fromCharCode.apply(String,t);for(var e="",n=0;n<r;)e+=String.fromCharCode.apply(String,t.slice(n,n+=dr));return e}function ge(t,r,e){var n="";e=Math.min(t.length,e);for(var i=r;i<e;++i)n+=String.fromCharCode(t[i]&127);return n}function de(t,r,e){var n="";e=Math.min(t.length,e);for(var i=r;i<e;++i)n+=String.fromCharCode(t[i]);return n}function he(t,r,e){var n=t.length;(!r||r<0)&&(r=0),(!e||e<0||e>n)&&(e=n);for(var i="",o=r;o<e;++o)i+=ve[t[o]];return i}function me(t,r,e){for(var n=t.slice(r,e),i="",o=0;o<n.length-1;o+=2)i+=String.fromCharCode(n[o]+n[o+1]*256);return i}s.prototype.slice=function(r,e){var n=this.length;r=~~r,e=e===void 0?n:~~e,r<0?(r+=n,r<0&&(r=0)):r>n&&(r=n),e<0?(e+=n,e<0&&(e=0)):e>n&&(e=n),e<r&&(e=r);var i=this.subarray(r,e);return Object.setPrototypeOf(i,s.prototype),i};function x(t,r,e){if(t%1!==0||t<0)throw new RangeError("offset is not uint");if(t+r>e)throw new RangeError("Trying to access beyond buffer length")}s.prototype.readUintLE=s.prototype.readUIntLE=function(r,e,n){r=r>>>0,e=e>>>0,n||x(r,e,this.length);for(var i=this[r],o=1,a=0;++a<e&&(o*=256);)i+=this[r+a]*o;return i};s.prototype.readUintBE=s.prototype.readUIntBE=function(r,e,n){r=r>>>0,e=e>>>0,n||x(r,e,this.length);for(var i=this[r+--e],o=1;e>0&&(o*=256);)i+=this[r+--e]*o;return i};s.prototype.readUint8=s.prototype.readUInt8=function(r,e){return r=r>>>0,e||x(r,1,this.length),this[r]};s.prototype.readUint16LE=s.prototype.readUInt16LE=function(r,e){return r=r>>>0,e||x(r,2,this.length),this[r]|this[r+1]<<8};s.prototype.readUint16BE=s.prototype.readUInt16BE=function(r,e){return r=r>>>0,e||x(r,2,this.length),this[r]<<8|this[r+1]};s.prototype.readUint32LE=s.prototype.readUInt32LE=function(r,e){return r=r>>>0,e||x(r,4,this.length),(this[r]|this[r+1]<<8|this[r+2]<<16)+this[r+3]*16777216};s.prototype.readUint32BE=s.prototype.readUInt32BE=function(r,e){return r=r>>>0,e||x(r,4,this.length),this[r]*16777216+(this[r+1]<<16|this[r+2]<<8|this[r+3])};s.prototype.readIntLE=function(r,e,n){r=r>>>0,e=e>>>0,n||x(r,e,this.length);for(var i=this[r],o=1,a=0;++a<e&&(o*=256);)i+=this[r+a]*o;return o*=128,i>=o&&(i-=Math.pow(2,8*e)),i};s.prototype.readIntBE=function(r,e,n){r=r>>>0,e=e>>>0,n||x(r,e,this.length);for(var i=e,o=1,a=this[r+--i];i>0&&(o*=256);)a+=this[r+--i]*o;return o*=128,a>=o&&(a-=Math.pow(2,8*e)),a};s.prototype.readInt8=function(r,e){return r=r>>>0,e||x(r,1,this.length),this[r]&128?(255-this[r]+1)*-1:this[r]};s.prototype.readInt16LE=function(r,e){r=r>>>0,e||x(r,2,this.length);var n=this[r]|this[r+1]<<8;return n&32768?n|4294901760:n};s.prototype.readInt16BE=function(r,e){r=r>>>0,e||x(r,2,this.length);var n=this[r+1]|this[r]<<8;return n&32768?n|4294901760:n};s.prototype.readInt32LE=function(r,e){return r=r>>>0,e||x(r,4,this.length),this[r]|this[r+1]<<8|this[r+2]<<16|this[r+3]<<24};s.prototype.readInt32BE=function(r,e){return r=r>>>0,e||x(r,4,this.length),this[r]<<24|this[r+1]<<16|this[r+2]<<8|this[r+3]};s.prototype.readFloatLE=function(r,e){return r=r>>>0,e||x(r,4,this.length),C.read(this,r,!0,23,4)};s.prototype.readFloatBE=function(r,e){return r=r>>>0,e||x(r,4,this.length),C.read(this,r,!1,23,4)};s.prototype.readDoubleLE=function(r,e){return r=r>>>0,e||x(r,8,this.length),C.read(this,r,!0,52,8)};s.prototype.readDoubleBE=function(r,e){return r=r>>>0,e||x(r,8,this.length),C.read(this,r,!1,52,8)};function T(t,r,e,n,i,o){if(!s.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(r>i||r<o)throw new RangeError('"value" argument is out of bounds');if(e+n>t.length)throw new RangeError("Index out of range")}s.prototype.writeUintLE=s.prototype.writeUIntLE=function(r,e,n,i){if(r=+r,e=e>>>0,n=n>>>0,!i){var o=Math.pow(2,8*n)-1;T(this,r,e,n,o,0)}var a=1,u=0;for(this[e]=r&255;++u<n&&(a*=256);)this[e+u]=r/a&255;return e+n};s.prototype.writeUintBE=s.prototype.writeUIntBE=function(r,e,n,i){if(r=+r,e=e>>>0,n=n>>>0,!i){var o=Math.pow(2,8*n)-1;T(this,r,e,n,o,0)}var a=n-1,u=1;for(this[e+a]=r&255;--a>=0&&(u*=256);)this[e+a]=r/u&255;return e+n};s.prototype.writeUint8=s.prototype.writeUInt8=function(r,e,n){return r=+r,e=e>>>0,n||T(this,r,e,1,255,0),this[e]=r&255,e+1};s.prototype.writeUint16LE=s.prototype.writeUInt16LE=function(r,e,n){return r=+r,e=e>>>0,n||T(this,r,e,2,65535,0),this[e]=r&255,this[e+1]=r>>>8,e+2};s.prototype.writeUint16BE=s.prototype.writeUInt16BE=function(r,e,n){return r=+r,e=e>>>0,n||T(this,r,e,2,65535,0),this[e]=r>>>8,this[e+1]=r&255,e+2};s.prototype.writeUint32LE=s.prototype.writeUInt32LE=function(r,e,n){return r=+r,e=e>>>0,n||T(this,r,e,4,4294967295,0),this[e+3]=r>>>24,this[e+2]=r>>>16,this[e+1]=r>>>8,this[e]=r&255,e+4};s.prototype.writeUint32BE=s.prototype.writeUInt32BE=function(r,e,n){return r=+r,e=e>>>0,n||T(this,r,e,4,4294967295,0),this[e]=r>>>24,this[e+1]=r>>>16,this[e+2]=r>>>8,this[e+3]=r&255,e+4};s.prototype.writeIntLE=function(r,e,n,i){if(r=+r,e=e>>>0,!i){var o=Math.pow(2,8*n-1);T(this,r,e,n,o-1,-o)}var a=0,u=1,c=0;for(this[e]=r&255;++a<n&&(u*=256);)r<0&&c===0&&this[e+a-1]!==0&&(c=1),this[e+a]=(r/u>>0)-c&255;return e+n};s.prototype.writeIntBE=function(r,e,n,i){if(r=+r,e=e>>>0,!i){var o=Math.pow(2,8*n-1);T(this,r,e,n,o-1,-o)}var a=n-1,u=1,c=0;for(this[e+a]=r&255;--a>=0&&(u*=256);)r<0&&c===0&&this[e+a+1]!==0&&(c=1),this[e+a]=(r/u>>0)-c&255;return e+n};s.prototype.writeInt8=function(r,e,n){return r=+r,e=e>>>0,n||T(this,r,e,1,127,-128),r<0&&(r=255+r+1),this[e]=r&255,e+1};s.prototype.writeInt16LE=function(r,e,n){return r=+r,e=e>>>0,n||T(this,r,e,2,32767,-32768),this[e]=r&255,this[e+1]=r>>>8,e+2};s.prototype.writeInt16BE=function(r,e,n){return r=+r,e=e>>>0,n||T(this,r,e,2,32767,-32768),this[e]=r>>>8,this[e+1]=r&255,e+2};s.prototype.writeInt32LE=function(r,e,n){return r=+r,e=e>>>0,n||T(this,r,e,4,2147483647,-2147483648),this[e]=r&255,this[e+1]=r>>>8,this[e+2]=r>>>16,this[e+3]=r>>>24,e+4};s.prototype.writeInt32BE=function(r,e,n){return r=+r,e=e>>>0,n||T(this,r,e,4,2147483647,-2147483648),r<0&&(r=4294967295+r+1),this[e]=r>>>24,this[e+1]=r>>>16,this[e+2]=r>>>8,this[e+3]=r&255,e+4};function wr(t,r,e,n,i,o){if(e+n>t.length)throw new RangeError("Index out of range");if(e<0)throw new RangeError("Index out of range")}function vr(t,r,e,n,i){return r=+r,e=e>>>0,i||wr(t,r,e,4,34028234663852886e22,-34028234663852886e22),C.write(t,r,e,n,23,4),e+4}s.prototype.writeFloatLE=function(r,e,n){return vr(this,r,e,!0,n)};s.prototype.writeFloatBE=function(r,e,n){return vr(this,r,e,!1,n)};function Fr(t,r,e,n,i){return r=+r,e=e>>>0,i||wr(t,r,e,8,17976931348623157e292,-17976931348623157e292),C.write(t,r,e,n,52,8),e+8}s.prototype.writeDoubleLE=function(r,e,n){return Fr(this,r,e,!0,n)};s.prototype.writeDoubleBE=function(r,e,n){return Fr(this,r,e,!1,n)};s.prototype.copy=function(r,e,n,i){if(!s.isBuffer(r))throw new TypeError("argument should be a Buffer");if(n||(n=0),!i&&i!==0&&(i=this.length),e>=r.length&&(e=r.length),e||(e=0),i>0&&i<n&&(i=n),i===n||r.length===0||this.length===0)return 0;if(e<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw new RangeError("Index out of range");if(i<0)throw new RangeError("sourceEnd out of bounds");i>this.length&&(i=this.length),r.length-e<i-n&&(i=r.length-e+n);var o=i-n;return this===r&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(e,n,i):Uint8Array.prototype.set.call(r,this.subarray(n,i),e),o};s.prototype.fill=function(r,e,n,i){if(typeof r=="string"){if(typeof e=="string"?(i=e,e=0,n=this.length):typeof n=="string"&&(i=n,n=this.length),i!==void 0&&typeof i!="string")throw new TypeError("encoding must be a string");if(typeof i=="string"&&!s.isEncoding(i))throw new TypeError("Unknown encoding: "+i);if(r.length===1){var o=r.charCodeAt(0);(i==="utf8"&&o<128||i==="latin1")&&(r=o)}}else typeof r=="number"?r=r&255:typeof r=="boolean"&&(r=Number(r));if(e<0||this.length<e||this.length<n)throw new RangeError("Out of range index");if(n<=e)return this;e=e>>>0,n=n===void 0?this.length:n>>>0,r||(r=0);var a;if(typeof r=="number")for(a=e;a<n;++a)this[a]=r;else{var u=s.isBuffer(r)?r:s.from(r,i),c=u.length;if(c===0)throw new TypeError('The value "'+r+'" is invalid for argument "value"');for(a=0;a<n-e;++a)this[a+e]=u[a%c]}return this};var ye=/[^+/0-9A-Za-z-_]/g;function xe(t){if(t=t.split("=")[0],t=t.trim().replace(ye,""),t.length<2)return"";for(;t.length%4!==0;)t=t+"=";return t}function Z(t,r){r=r||1/0;for(var e,n=t.length,i=null,o=[],a=0;a<n;++a){if(e=t.charCodeAt(a),e>55295&&e<57344){if(!i){if(e>56319){(r-=3)>-1&&o.push(239,191,189);continue}else if(a+1===n){(r-=3)>-1&&o.push(239,191,189);continue}i=e;continue}if(e<56320){(r-=3)>-1&&o.push(239,191,189),i=e;continue}e=(i-55296<<10|e-56320)+65536}else i&&(r-=3)>-1&&o.push(239,191,189);if(i=null,e<128){if((r-=1)<0)break;o.push(e)}else if(e<2048){if((r-=2)<0)break;o.push(e>>6|192,e&63|128)}else if(e<65536){if((r-=3)<0)break;o.push(e>>12|224,e>>6&63|128,e&63|128)}else if(e<1114112){if((r-=4)<0)break;o.push(e>>18|240,e>>12&63|128,e>>6&63|128,e&63|128)}else throw new Error("Invalid code point")}return o}function Te(t){for(var r=[],e=0;e<t.length;++e)r.push(t.charCodeAt(e)&255);return r}function we(t,r){for(var e,n,i,o=[],a=0;a<t.length&&!((r-=2)<0);++a)e=t.charCodeAt(a),n=e>>8,i=e%256,o.push(i),o.push(n);return o}function br(t){return j.toByteArray(xe(t))}function V(t,r,e,n){for(var i=0;i<n&&!(i+e>=r.length||i>=t.length);++i)r[i+e]=t[i];return i}function S(t,r){return t instanceof r||t!=null&&t.constructor!=null&&t.constructor.name!=null&&t.constructor.name===r.name}function tr(t){return t!==t}var ve=function(){for(var t="0123456789abcdef",r=new Array(256),e=0;e<16;++e)for(var n=e*16,i=0;i<16;++i)r[n+i]=t[e]+t[i];return r}()});var Ar=H((Ue,Dr)=>{p();var y=Dr.exports={},k,I;function nr(){throw new Error("setTimeout has not been defined")}function ir(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?k=setTimeout:k=nr}catch(t){k=nr}try{typeof clearTimeout=="function"?I=clearTimeout:I=ir}catch(t){I=ir}})();function kr(t){if(k===setTimeout)return setTimeout(t,0);if((k===nr||!k)&&setTimeout)return k=setTimeout,setTimeout(t,0);try{return k(t,0)}catch(r){try{return k.call(null,t,0)}catch(e){return k.call(this,t,0)}}}function Fe(t){if(I===clearTimeout)return clearTimeout(t);if((I===ir||!I)&&clearTimeout)return I=clearTimeout,clearTimeout(t);try{return I(t)}catch(r){try{return I.call(null,t)}catch(e){return I.call(this,t)}}}var D=[],N=!1,L,W=-1;function be(){!N||!L||(N=!1,L.length?D=L.concat(D):W=-1,D.length&&Ir())}function Ir(){if(!N){var t=kr(be);N=!0;for(var r=D.length;r;){for(L=D,D=[];++W<r;)L&&L[W].run();W=-1,r=D.length}L=null,N=!1,Fe(t)}}y.nextTick=function(t){var r=new Array(arguments.length-1);if(arguments.length>1)for(var e=1;e<arguments.length;e++)r[e-1]=arguments[e];D.push(new Br(t,r)),D.length===1&&!N&&kr(Ir)};function Br(t,r){this.fun=t,this.array=r}Br.prototype.run=function(){this.fun.apply(null,this.array)};y.title="browser";y.browser=!0;y.env={};y.argv=[];y.version="";y.versions={};function A(){}y.on=A;y.addListener=A;y.once=A;y.off=A;y.removeListener=A;y.removeAllListeners=A;y.emit=A;y.prependListener=A;y.prependOnceListener=A;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 f,h,Ce,p=Vr(()=>{f=Q(Sr()),h=Q(Ar()),Ce=function(t){function r(){var n=this||self;return delete t.prototype.__magic__,n}if(typeof globalThis=="object")return globalThis;if(this)return r();t.defineProperty(t.prototype,"__magic__",{configurable:!0,get:r});var e=__magic__;return e}(Object)});var Ae={};Wr(Ae,{useDataDecode:()=>De});module.exports=Yr(Ae);p();var z=require("react");p();p();p();p();p();p();p();p();var M=(i=>(i.raw="raw",i.text="text",i.decimal="decimal",i.smart="smart",i))(M||{});p();p();p();p();p();p();p();var Lr=require("@multiversx/sdk-core/out"),ar=Q(require("bignumber.js"));p();var Rr=require("@multiversx/sdk-core");function Se(t){try{let r=new Rr.Address(t);return Boolean(r.bech32())}catch(r){return!1}}function Er(t){return(t==null?void 0:t.startsWith("erd"))&&t.length===62&&/^\w+$/.test(t)&&Se(t)}p();p();p();p();function or(t){for(let r=0;r<t.length;r++)if(t.charCodeAt(r)>127)return!1;return!0}p();p();var _r=t=>/\d/.test(t);var R=(t,r,e)=>{try{switch(r){case"text":return _r(t)?f.Buffer.from(t,"hex").toString("utf8"):t;case"decimal":return new ar.default(t,16).toString(10);case"smart":let i=Lr.Address.fromHex(t).toString();if(Er(i))return i;let o=f.Buffer.from(t,"hex").toString("utf8");return or(o)||e&&[...e.esdts,...e.nfts].some(c=>o.includes(c))?o:new ar.default(t,16).toString(10);case"raw":default:return t}}catch(n){return console.error(`Error during data decoding of "${t}" as "${r}"`,n),t}};p();p();var ke=t=>t.toLowerCase().match(/[0-9a-f]/g),Ie=t=>t.length%2===0,Ur=t=>{let r=[];return t&&!ke(t)&&r.push(`Invalid Hex characters on argument @${t}`),t&&!Ie(t)&&r.push(`Odd number of Hex characters on argument @${t}`),r};p();var Y=({parts:t,decodedParts:r,identifier:e})=>{let n=[...r];if(t[0]==="ESDTNFTTransfer"&&t[2]&&(n[2]=R(t[2],"decimal")),e==="ESDTNFTTransfer"&&t[1]){let i=f.Buffer.from(String(t[1]),"base64");n[1]=R(i.toString("hex"),"decimal")}return n};var Cr=({parts:t,decodeMethod:r,identifier:e,display:n})=>{let i=t.map((o,a)=>{if(t.length>=2&&(a===0&&o.length<64||a===1&&!t[0]))return/[^a-z0-9]/gi.test(o)?R(o,r):o;{let u=Ur(o);return u.length&&(n.validationWarnings=Array.from(new Set([...n.validationWarnings,...u]))),R(o,r)}});return r==="smart"?Y({parts:t,decodedParts:i,identifier:e}):i};var Pr=({input:t,decodeMethod:r,identifier:e})=>{let n={displayValue:"",validationWarnings:[]};if(t.includes("@")){let i=t.split("@"),o=Cr({parts:i,identifier:e,decodeMethod:r,display:n});return n.displayValue=o.join("@"),n}if(t.includes(`
|
|
2
2
|
`)){let i=t.split(`
|
|
3
3
|
`),o=i.map(u=>{let c=f.Buffer.from(String(u),"base64");return r==="raw"?u:R(c.toString("hex"),r)}),a=r==="smart"?Y({parts:i,decodedParts:o,identifier:e}):o;return n.displayValue=a.join(`
|
|
4
4
|
`),n}return n.displayValue=R(t,r),n};var Be=[{label:"Raw",value:"raw"},{label:"Text",value:"text"},{label:"Decimal",value:"decimal"},{label:"Smart",value:"smart"}],De=({value:t,initialDecodeMethod:r,setDecodeMethod:e,identifier:n})=>{let[i,o]=(0,z.useState)(r&&Object.values(M).includes(r)?r:"raw"),{displayValue:a,validationWarnings:u}=Pr({input:t,decodeMethod:i,identifier:n});return(0,z.useEffect)(()=>{e&&e(i)},[i]),{displayValue:a,validationWarnings:u,setActiveKey:o,decodeOptions:Be}};0&&(module.exports={useDataDecode});
|