@multiversx/sdk-dapp 2.8.7 → 2.8.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/UI/DappModal/hooks/index.js +1 -1
- package/UI/DappModal/hooks/useDappModal.js +1 -1
- package/UI/DappModal/index.js +1 -1
- package/UI/Denominate/index.js +1 -1
- package/UI/ExplorerLink/ExplorerLink.js +1 -1
- package/UI/ExplorerLink/index.js +1 -1
- package/UI/FormatAmount/FormatAmount.js +1 -1
- package/UI/FormatAmount/index.js +1 -1
- package/UI/ModalContainer/ModalContainer.js +1 -1
- package/UI/ModalContainer/index.js +1 -1
- package/UI/NotificationModal/index.js +1 -1
- package/UI/SignTransactionsModals/SignTransactionsModals.js +1 -1
- package/UI/SignTransactionsModals/SignWithDeviceModal/SignStep.js +1 -1
- package/UI/SignTransactionsModals/SignWithDeviceModal/index.js +1 -1
- package/UI/SignTransactionsModals/SignWithExtensionModal/index.js +1 -1
- package/UI/SignTransactionsModals/SignWithExtraModal/index.js +1 -1
- package/UI/SignTransactionsModals/SignWithLedgerModal/index.js +1 -1
- package/UI/SignTransactionsModals/SignWithOperaModal/index.js +1 -1
- package/UI/SignTransactionsModals/SignWithWalletConnectModal/index.js +1 -1
- package/UI/SignTransactionsModals/components/ConfirmationScreen.js +1 -1
- package/UI/SignTransactionsModals/components/DeviceConfirmationScreen.js +1 -1
- package/UI/SignTransactionsModals/components/TransactionStatusToast.js +1 -1
- package/UI/SignTransactionsModals/components/index.js +1 -1
- package/UI/SignTransactionsModals/index.js +1 -1
- package/UI/TokenDetails/index.js +1 -1
- package/UI/TransactionData/index.js +1 -1
- package/UI/TransactionDetails/TransactionDetails.js +1 -1
- package/UI/TransactionDetails/components/TransactionDetailsBody.js +1 -1
- package/UI/TransactionDetails/components/index.js +1 -1
- package/UI/TransactionDetails/index.js +1 -1
- package/UI/TransactionInfo/TransactionInfo.js +1 -1
- package/UI/TransactionInfo/components/AddressDetailItem/AddressDetailitem.js +1 -1
- package/UI/TransactionInfo/components/AddressDetailItem/index.js +1 -1
- package/UI/TransactionInfo/components/DataDecode/DataDecode.js +1 -1
- package/UI/TransactionInfo/components/DataDecode/index.js +1 -1
- package/UI/TransactionInfo/components/DataField/DataField.js +1 -1
- package/UI/TransactionInfo/components/DataField/index.js +1 -1
- package/UI/TransactionInfo/components/EventsList/EventsList.js +1 -1
- package/UI/TransactionInfo/components/EventsList/index.js +1 -1
- package/UI/TransactionInfo/components/NonceMessage/NonceMessage.js +1 -1
- package/UI/TransactionInfo/components/NonceMessage/index.js +1 -1
- package/UI/TransactionInfo/components/OperationsList/OperationList.js +1 -1
- package/UI/TransactionInfo/components/OperationsList/components/DetailedItem.js +1 -1
- package/UI/TransactionInfo/components/OperationsList/components/OperationBlock.js +1 -1
- package/UI/TransactionInfo/components/OperationsList/components/OperationRow.js +1 -1
- package/UI/TransactionInfo/components/OperationsList/components/OperationText.js +1 -1
- package/UI/TransactionInfo/components/OperationsList/components/OperationToken.js +1 -1
- package/UI/TransactionInfo/components/OperationsList/components/index.js +1 -1
- package/UI/TransactionInfo/components/OperationsList/index.js +1 -1
- package/UI/TransactionInfo/components/ScResultsList/ScResultsList.js +1 -1
- package/UI/TransactionInfo/components/ScResultsList/components/ResultData/ResultData.js +1 -1
- package/UI/TransactionInfo/components/ScResultsList/components/ResultData/index.js +1 -1
- package/UI/TransactionInfo/components/ScResultsList/components/ResultHash/ResultHash.js +1 -1
- package/UI/TransactionInfo/components/ScResultsList/components/ResultHash/index.js +1 -1
- package/UI/TransactionInfo/components/ScResultsList/components/ResultReceiver/ResultReceiver.js +1 -1
- package/UI/TransactionInfo/components/ScResultsList/components/ResultReceiver/index.js +1 -1
- package/UI/TransactionInfo/components/ScResultsList/components/ResultSender/ResultSender.js +1 -1
- package/UI/TransactionInfo/components/ScResultsList/components/ResultSender/index.js +1 -1
- package/UI/TransactionInfo/components/ScResultsList/index.js +1 -1
- package/UI/TransactionInfo/components/ScrDetailItem/ScrDetailItem.js +1 -1
- package/UI/TransactionInfo/components/ScrDetailItem/index.js +1 -1
- package/UI/TransactionInfo/components/TransactionAction/TransactionAction.js +1 -1
- package/UI/TransactionInfo/components/TransactionAction/components/ActionText/index.js +1 -1
- package/UI/TransactionInfo/components/TransactionAction/components/ActionToken.js +1 -1
- package/UI/TransactionInfo/components/TransactionAction/components/TransactionActionBlock/components/TransactionActionCollection.js +1 -1
- package/UI/TransactionInfo/components/TransactionAction/components/TransactionActionBlock/components/TransactionActionNft.js +1 -1
- package/UI/TransactionInfo/components/TransactionAction/components/TransactionActionBlock/components/TransactionActionToken.js +1 -1
- package/UI/TransactionInfo/components/TransactionAction/components/TransactionActionBlock/components/index.js +1 -1
- package/UI/TransactionInfo/components/TransactionAction/components/TransactionActionBlock/index.js +1 -1
- package/UI/TransactionInfo/components/TransactionAction/components/index.js +1 -1
- package/UI/TransactionInfo/components/TransactionAction/index.js +1 -1
- package/UI/TransactionInfo/components/TransactionLogs/TransactionLogs.js +1 -1
- package/UI/TransactionInfo/components/TransactionLogs/index.js +1 -1
- package/UI/TransactionInfo/components/TransactionStatus/TransactionStatus.js +1 -1
- package/UI/TransactionInfo/components/TransactionStatus/index.js +1 -1
- package/UI/TransactionInfo/components/index.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoAge/TransactionInfoAge.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoAge/index.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoEgldPrice/TransactionInfoEgldPrice.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoEgldPrice/index.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoFee/TransactionInfoFee.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoFee/index.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoFrom/TransactionInfoFrom.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoFrom/index.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoGasLimit/TransactionInfoGasLimit.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoGasLimit/index.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoGasPrice/TransactionInfoGasPrice.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoGasPrice/index.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoGasUsed/TransactionInfoGasUsed.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoGasUsed/index.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoInputData/TransactionInfoInputData.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoInputData/index.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoMethod/TransactionInfoMethod.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoMethod/index.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoMiniblock/TransactionInfoMiniblock.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoMiniblock/index.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoNonce/TransactionInfoNonce.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoNonce/index.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoScResults/TransactionInfoScResults.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoScResults/index.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoStatus/TransactionInfoStatus.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoStatus/index.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoTo/TransactionInfoTo.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoTo/index.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoTokenOperations/TransactionInfoTokenOperations.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoTokenOperations/index.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoValue/TransactionInfoValue.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoValue/index.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/index.js +1 -1
- package/UI/TransactionInfo/index.js +1 -1
- package/UI/TransactionsTable/TransactionsTable.js +1 -1
- package/UI/TransactionsTable/components/LockedTokenAddressIcon.js +1 -1
- package/UI/TransactionsTable/components/ScAddressIcon.js +1 -1
- package/UI/TransactionsTable/components/ShardSpan.js +1 -1
- package/UI/TransactionsTable/components/TransactionHash.js +1 -1
- package/UI/TransactionsTable/components/TransactionIcon.js +1 -1
- package/UI/TransactionsTable/components/TransactionReceiver.js +1 -1
- package/UI/TransactionsTable/components/TransactionRow.js +1 -1
- package/UI/TransactionsTable/components/TransactionSender.js +1 -1
- package/UI/TransactionsTable/components/TransactionShardsTransition.js +1 -1
- package/UI/TransactionsTable/components/TransactionValue/TransactionValue.js +1 -1
- package/UI/TransactionsTable/components/TransactionValue/index.js +1 -1
- package/UI/TransactionsTable/components/index.js +1 -1
- package/UI/TransactionsTable/index.js +1 -1
- package/UI/TransactionsToastList/TransactionsToastList.js +1 -1
- package/UI/TransactionsToastList/components/CustomToast/CustomToast.js +1 -1
- package/UI/TransactionsToastList/components/CustomToast/components/IconToast/IconToast.js +1 -1
- package/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/IconToastFooter.js +1 -1
- package/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/components/ComponentToastFooter.js +1 -1
- package/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/components/TransactionToastFooter.js +1 -1
- package/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/components/index.js +1 -1
- package/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/index.js +1 -1
- package/UI/TransactionsToastList/components/CustomToast/components/IconToast/index.js +1 -1
- package/UI/TransactionsToastList/components/CustomToast/components/SimpleToast.js +1 -1
- package/UI/TransactionsToastList/components/CustomToast/components/index.js +1 -1
- package/UI/TransactionsToastList/components/CustomToast/helpers/getIsTransaction.js +1 -1
- package/UI/TransactionsToastList/components/CustomToast/helpers/index.js +1 -1
- package/UI/TransactionsToastList/components/CustomToast/helpers/useMemoizedCloseButton.js +1 -1
- package/UI/TransactionsToastList/components/CustomToast/index.js +1 -1
- package/UI/TransactionsToastList/components/TransactionToast/TransactionToast.js +1 -1
- package/UI/TransactionsToastList/components/TransactionToast/components/TransactionToastContent.js +1 -1
- package/UI/TransactionsToastList/components/TransactionToast/components/index.js +1 -1
- package/UI/TransactionsToastList/components/TransactionToast/hooks/useTransactionToast.js +1 -1
- package/UI/TransactionsToastList/components/TransactionToast/index.js +1 -1
- package/UI/TransactionsToastList/components/TransactionToast/utils/getToastDataStateByStatus.js +1 -1
- package/UI/TransactionsToastList/components/TransactionToast/utils/index.js +1 -1
- package/UI/TransactionsToastList/components/TransactionToastGuard.js +1 -1
- package/UI/TransactionsToastList/components/index.js +1 -1
- package/UI/TransactionsToastList/index.js +1 -1
- package/UI/UsdValue/UsdValue.js +1 -1
- package/UI/UsdValue/index.js +1 -1
- package/UI/extension/ExtensionLoginButton/index.js +1 -1
- package/UI/index.js +1 -1
- package/UI/ledger/LedgerLoginButton/index.js +1 -1
- package/UI/ledger/LedgerLoginContainer/AddressRow.js +1 -1
- package/UI/ledger/LedgerLoginContainer/AddressTable.js +1 -1
- package/UI/ledger/LedgerLoginContainer/ConfirmAddress.js +1 -1
- package/UI/ledger/LedgerLoginContainer/index.js +1 -1
- package/UI/ledger/index.js +1 -1
- package/UI/operaWallet/OperaWalletLoginButton/index.js +1 -1
- package/UI/pages/UnlockPage/index.js +1 -1
- package/UI/pages/index.js +1 -1
- package/UI/walletConnect/WalletConnectConnectionStatus/WalletConnectConnectionStatus.js +1 -1
- package/UI/walletConnect/WalletConnectConnectionStatus/index.js +1 -1
- package/UI/walletConnect/WalletConnectLoginButton/index.js +1 -1
- package/UI/walletConnect/WalletConnectLoginContainer/index.js +1 -1
- package/UI/walletConnect/index.js +1 -1
- package/UI/webWallet/WebWalletLoginButton/index.js +1 -1
- package/__chunks__/{chunk-QUMYRH4H.js → chunk-22AVS7E3.js} +2 -2
- package/__chunks__/{chunk-ANO63HEG.js → chunk-25PTVHEB.js} +2 -2
- package/__chunks__/{chunk-CRI42HNH.js → chunk-2CN5KU25.js} +2 -2
- package/__chunks__/{chunk-XIHOENSC.js → chunk-2EA2VIB5.js} +2 -2
- package/__chunks__/{chunk-MRGB5FAN.js → chunk-2RRQT2ZE.js} +2 -2
- package/__chunks__/{chunk-OM457L3M.js → chunk-2TL4GHIJ.js} +2 -2
- package/__chunks__/{chunk-4P3LJAUR.js → chunk-2UFASAE6.js} +2 -2
- package/__chunks__/chunk-2ZTVJLOJ.js +2 -0
- package/__chunks__/{chunk-YLOIJNV2.js → chunk-34MJDZ4X.js} +2 -2
- package/__chunks__/{chunk-D3E65LJ5.js → chunk-35CA4MUL.js} +2 -2
- package/__chunks__/chunk-37KH4Z57.js +2 -0
- package/__chunks__/{chunk-4R3QOQZE.js → chunk-3AWXVQPI.js} +2 -2
- package/__chunks__/chunk-3O4GBHR3.js +2 -0
- package/__chunks__/{chunk-N7ACY27N.js → chunk-3P3MCUKK.js} +2 -2
- package/__chunks__/{chunk-ADE5S3WR.js → chunk-3RPV34NB.js} +2 -2
- package/__chunks__/{chunk-KGGATDBD.js → chunk-3SGMXEQG.js} +2 -2
- package/__chunks__/{chunk-YKCZ2UKE.js → chunk-3WJ37IJQ.js} +2 -2
- package/__chunks__/{chunk-737AN7JD.js → chunk-42I454QK.js} +2 -2
- package/__chunks__/{chunk-6UNQJUWL.js → chunk-4A25I5EO.js} +2 -2
- package/__chunks__/chunk-4DKSPOQC.js +2 -0
- package/__chunks__/{chunk-UMD2MTE3.js → chunk-4HLBQPQN.js} +2 -2
- package/__chunks__/{chunk-OCKI3V27.js → chunk-4JAU6EN6.js} +2 -2
- package/__chunks__/{chunk-A2MJT5TB.js → chunk-4KWGNHHC.js} +2 -2
- package/__chunks__/{chunk-74QKDRVQ.js → chunk-4NUCA54E.js} +2 -2
- package/__chunks__/{chunk-F2EJ4NBK.js → chunk-4PGVVXDY.js} +2 -2
- package/__chunks__/{chunk-XXUDAIKI.js → chunk-4QHVTLCL.js} +2 -2
- package/__chunks__/chunk-52LWAKUU.js +2 -0
- package/__chunks__/{chunk-JXDUGSUA.js → chunk-54UVT7XD.js} +2 -2
- package/__chunks__/{chunk-7BA6MF76.js → chunk-5F5AUJIV.js} +2 -2
- package/__chunks__/{chunk-SMISCEQS.js → chunk-5IKM5Q2S.js} +2 -2
- package/__chunks__/{chunk-TOZA3Q3T.js → chunk-5L64ER7E.js} +2 -2
- package/__chunks__/{chunk-UXBGGKWU.js → chunk-5RS2KBDW.js} +2 -2
- package/__chunks__/{chunk-3VGDFLNR.js → chunk-5X3T3BM4.js} +2 -2
- package/__chunks__/{chunk-2C65GIQZ.js → chunk-5XAXZ3NX.js} +2 -2
- package/__chunks__/{chunk-CUFA5NAA.js → chunk-5ZHWPLU6.js} +2 -2
- package/__chunks__/{chunk-IIAD2DSC.js → chunk-62DW3AHE.js} +2 -2
- package/__chunks__/chunk-66VVLQWA.js +2 -0
- package/__chunks__/{chunk-5MMAS7IS.js → chunk-67CWWMJV.js} +2 -2
- package/__chunks__/{chunk-B25RPITH.js → chunk-6DTOQEIQ.js} +2 -2
- package/__chunks__/chunk-6E7UMUAT.js +2 -0
- package/__chunks__/{chunk-S7JDYKHM.js → chunk-6K3QMAWT.js} +2 -2
- package/__chunks__/{chunk-FXKLPJUW.js → chunk-6OGZDOZO.js} +2 -2
- package/__chunks__/{chunk-E7MY3TPU.js → chunk-6PZJ6OYX.js} +2 -2
- package/__chunks__/{chunk-BYS7QALE.js → chunk-6QZHGHIR.js} +2 -2
- package/__chunks__/{chunk-B3ILFYYH.js → chunk-6XRDVX6C.js} +2 -2
- package/__chunks__/{chunk-NQ5XJOIL.js → chunk-7C6XIICR.js} +2 -2
- package/__chunks__/{chunk-P7STLJJI.js → chunk-7CGLDJOD.js} +2 -2
- package/__chunks__/{chunk-AFLDYYSB.js → chunk-7HKAHQUX.js} +2 -2
- package/__chunks__/chunk-7PMD4JRS.js +2 -0
- package/__chunks__/chunk-A274U45O.js +2 -0
- package/__chunks__/{chunk-LVCV5JOX.js → chunk-A2D7YVXP.js} +2 -2
- package/__chunks__/{chunk-GY336JML.js → chunk-A2UYY3JW.js} +2 -2
- package/__chunks__/chunk-A6R7V6U3.js +2 -0
- package/__chunks__/{chunk-XKMOG6SS.js → chunk-AASOI2YB.js} +2 -2
- package/__chunks__/{chunk-LF6VJNCF.js → chunk-AF4A42IE.js} +2 -2
- package/__chunks__/chunk-AJX7U6NK.js +2 -0
- package/__chunks__/{chunk-YKKS3O3Z.js → chunk-AM7A2OOW.js} +2 -2
- package/__chunks__/{chunk-ODQ5XNPU.js → chunk-ANAT47NF.js} +2 -2
- package/__chunks__/{chunk-UX2EZNAX.js → chunk-AO6HRN56.js} +2 -2
- package/__chunks__/{chunk-73KODBLR.js → chunk-ATNLLNOK.js} +2 -2
- package/__chunks__/{chunk-EBMIHN52.js → chunk-AWP342D7.js} +2 -2
- package/__chunks__/{chunk-MBOASZBJ.js → chunk-AY5CRAVB.js} +2 -2
- package/__chunks__/{chunk-RU373C7L.js → chunk-AZWOFPFX.js} +2 -2
- package/__chunks__/{chunk-TEFRLAUL.js → chunk-B3LFKKXC.js} +2 -2
- package/__chunks__/{chunk-HJFWUTN2.js → chunk-B47CQIA7.js} +2 -2
- package/__chunks__/{chunk-IK27WK4F.js → chunk-BB5K7AMG.js} +2 -2
- package/__chunks__/chunk-BBDZAYAU.js +2 -0
- package/__chunks__/{chunk-CN4TUEV7.js → chunk-BBPTFRVE.js} +2 -2
- package/__chunks__/chunk-BFSRVA3J.js +2 -0
- package/__chunks__/{chunk-FGT3C4FE.js → chunk-BPPVSU25.js} +1 -1
- package/__chunks__/chunk-BQ4N52MW.js +2 -0
- package/__chunks__/{chunk-YFDYMEP5.js → chunk-BS36A7LR.js} +2 -2
- package/__chunks__/{chunk-RJFWI3UU.js → chunk-BTPNQ5FQ.js} +2 -2
- package/__chunks__/{chunk-4HQ3HNGC.js → chunk-BWYB6R6W.js} +2 -2
- package/__chunks__/{chunk-Z7HQTVYF.js → chunk-C4IGVF3G.js} +2 -2
- package/__chunks__/{chunk-32VBXZXR.js → chunk-CDWLWJH3.js} +2 -2
- package/__chunks__/{chunk-BKMTF6D2.js → chunk-CDZFXCBL.js} +2 -2
- package/__chunks__/{chunk-TQVFVFKS.js → chunk-CMG3PZXL.js} +2 -2
- package/__chunks__/{chunk-FGJI7F7M.js → chunk-CSUG3NQC.js} +2 -2
- package/__chunks__/chunk-CUPMM5UN.js +2 -0
- package/__chunks__/{chunk-W37FQYGP.js → chunk-CURMR3DQ.js} +2 -2
- package/__chunks__/{chunk-R3FSXFX3.js → chunk-CUXSI37S.js} +2 -2
- package/__chunks__/{chunk-FNO4F4XU.js → chunk-DCYIMALR.js} +2 -2
- package/__chunks__/{chunk-DG7FFCMC.js → chunk-DF2AQYO7.js} +2 -2
- package/__chunks__/chunk-DKQCBXAE.js +2 -0
- package/__chunks__/{chunk-HGAKSUJP.js → chunk-DSXLBCJZ.js} +2 -2
- package/__chunks__/{chunk-2DPI5E3W.js → chunk-DUYNNDUF.js} +2 -2
- package/__chunks__/{chunk-5RFLO6MR.js → chunk-DXSPO7EM.js} +2 -2
- package/__chunks__/{chunk-KX4A4RXW.js → chunk-E63OT5BJ.js} +2 -2
- package/__chunks__/{chunk-GXOJLFD4.js → chunk-E66WVYJC.js} +2 -2
- package/__chunks__/{chunk-QB3XGANM.js → chunk-E7PHXPI7.js} +2 -2
- package/__chunks__/{chunk-EN36KS5J.js → chunk-EDAS6Z7S.js} +2 -2
- package/__chunks__/{chunk-DHYV75O3.js → chunk-EDUYDVLW.js} +2 -2
- package/__chunks__/chunk-EIE6T4QD.js +2 -0
- package/__chunks__/{chunk-7YFFVZWN.js → chunk-EKK5P7LA.js} +2 -2
- package/__chunks__/{chunk-JWQRJOLL.js → chunk-EVWIXAZV.js} +2 -2
- package/__chunks__/{chunk-7WWHCPMS.js → chunk-F4OB26CT.js} +2 -2
- package/__chunks__/{chunk-Z6PNQGOE.js → chunk-F6GZHJMJ.js} +2 -2
- package/__chunks__/chunk-F7E7BINB.js +2 -0
- package/__chunks__/chunk-FA2UEZM2.js +2 -0
- package/__chunks__/{chunk-4JKMMUID.js → chunk-FCAEZL4W.js} +2 -2
- package/__chunks__/{chunk-SLLPTUAV.js → chunk-FFSZJG62.js} +2 -2
- package/__chunks__/{chunk-K4P3Q4G6.js → chunk-FHE5FVE7.js} +2 -2
- package/__chunks__/{chunk-UYKSTJCI.js → chunk-FKFPHPFX.js} +2 -2
- package/__chunks__/chunk-FLZGZET2.js +2 -0
- package/__chunks__/{chunk-WUBNBBRC.js → chunk-FNE7PA64.js} +2 -2
- package/__chunks__/{chunk-YMP4Z5XY.js → chunk-FOSUR33Y.js} +2 -2
- package/__chunks__/{chunk-C6OSBOOY.js → chunk-FOTIYLGS.js} +2 -2
- package/__chunks__/chunk-FRNVGEYR.js +2 -0
- package/__chunks__/{chunk-LKDW3XH3.js → chunk-GG736LLW.js} +2 -2
- package/__chunks__/{chunk-5WX4CALV.js → chunk-GIZIGQZP.js} +2 -2
- package/__chunks__/{chunk-2KFSLVEO.js → chunk-GJLPTW4K.js} +2 -2
- package/__chunks__/{chunk-CJH2YV7X.js → chunk-GMVQCQ3Y.js} +2 -2
- package/__chunks__/chunk-GNEQWXJE.js +2 -0
- package/__chunks__/{chunk-XZ5MLYGD.js → chunk-GPLG6N3Y.js} +2 -2
- package/__chunks__/{chunk-NDJHFLTL.js → chunk-GQPWCE2U.js} +2 -2
- package/__chunks__/{chunk-6R7WMG4C.js → chunk-GSH4BYXB.js} +2 -2
- package/__chunks__/{chunk-WXZKC7M3.js → chunk-GSUIWNNM.js} +2 -2
- package/__chunks__/{chunk-WWSWE52T.js → chunk-GW6MOKMY.js} +2 -2
- package/__chunks__/chunk-GZIWNMCW.js +2 -0
- package/__chunks__/{chunk-MO7GMDSI.js → chunk-HJGXNUQZ.js} +2 -2
- package/__chunks__/{chunk-CPEIGU6U.js → chunk-HLAK3KWC.js} +2 -2
- package/__chunks__/{chunk-HEMJW4UP.js → chunk-HYYC56WM.js} +2 -2
- package/__chunks__/{chunk-CJT4DITV.js → chunk-I5GXT2NM.js} +2 -2
- package/__chunks__/{chunk-NAKSKDVH.js → chunk-I6WCVWCL.js} +2 -2
- package/__chunks__/{chunk-5FBZWQQA.js → chunk-IAU7HZOA.js} +2 -2
- package/__chunks__/{chunk-BOKSFKJF.js → chunk-IDNYXXUU.js} +2 -2
- package/__chunks__/chunk-IL5JDJWD.js +2 -0
- package/__chunks__/{chunk-ZEEWQEXA.js → chunk-IOSHQZNU.js} +2 -2
- package/__chunks__/{chunk-GCYQRVDH.js → chunk-IPE5DLSE.js} +2 -2
- package/__chunks__/{chunk-ROMNQSAY.js → chunk-ITRHXPQX.js} +2 -2
- package/__chunks__/chunk-IUPXRKIH.js +2 -0
- package/__chunks__/{chunk-NANO4X2A.js → chunk-J36BPK32.js} +2 -2
- package/__chunks__/{chunk-66KNLCQD.js → chunk-JCYM4TK6.js} +2 -2
- package/__chunks__/{chunk-KX4VZFVE.js → chunk-JDGBXBDB.js} +2 -2
- package/__chunks__/{chunk-USTDS2O5.js → chunk-JJGJCN5V.js} +2 -2
- package/__chunks__/{chunk-VS7YJKJM.js → chunk-JKA54IGW.js} +2 -2
- package/__chunks__/{chunk-I3DMSSAU.js → chunk-JKQBUYK2.js} +2 -2
- package/__chunks__/{chunk-F4Z4BQFP.js → chunk-JRM3LDSG.js} +2 -2
- package/__chunks__/{chunk-525WM2BT.js → chunk-JUFYXNHH.js} +2 -2
- package/__chunks__/{chunk-ACE3TC2R.js → chunk-JWAY75CZ.js} +2 -2
- package/__chunks__/{chunk-KHTHET32.js → chunk-JYF2TWOA.js} +2 -2
- package/__chunks__/{chunk-4JB5QVKY.js → chunk-K2TOOZFP.js} +2 -2
- package/__chunks__/{chunk-5LEO57S4.js → chunk-KDE7GIIV.js} +2 -2
- package/__chunks__/{chunk-DQLFYAJF.js → chunk-KGF5QO63.js} +2 -2
- package/__chunks__/{chunk-CY7H7XN3.js → chunk-KMTJAVQJ.js} +2 -2
- package/__chunks__/{chunk-UTDBQNDV.js → chunk-KN33FON4.js} +2 -2
- package/__chunks__/chunk-KW6HYOXT.js +2 -0
- package/__chunks__/{chunk-EVUACURD.js → chunk-L4OGNGVR.js} +2 -2
- package/__chunks__/{chunk-X2L7IGUP.js → chunk-L4RGRP2I.js} +2 -2
- package/__chunks__/{chunk-KCOIYEPV.js → chunk-L6CEZHRZ.js} +2 -2
- package/__chunks__/{chunk-XWDYQGE2.js → chunk-L6O2YAE3.js} +2 -2
- package/__chunks__/{chunk-TGSNOZEZ.js → chunk-LIOPBJAR.js} +2 -2
- package/__chunks__/chunk-LLFZUOHV.js +2 -0
- package/__chunks__/{chunk-423Z6LGX.js → chunk-LLJWVYQI.js} +2 -2
- package/__chunks__/chunk-LNMQ6RED.js +2 -0
- package/__chunks__/{chunk-WYFQSQAM.js → chunk-LO2RKWHN.js} +2 -2
- package/__chunks__/{chunk-AJ2VY4SZ.js → chunk-LZ4RLZRI.js} +2 -2
- package/__chunks__/chunk-MBF7VDMJ.js +2 -0
- package/__chunks__/{chunk-SJ6DPXLM.js → chunk-MCPXAAQH.js} +2 -2
- package/__chunks__/{chunk-T6GIIILG.js → chunk-MMCZ3ASQ.js} +2 -2
- package/__chunks__/chunk-MQNEHNFG.js +2 -0
- package/__chunks__/chunk-NAN2H6P3.js +2 -0
- package/__chunks__/{chunk-V5CRB7KN.js → chunk-NB6RUSDN.js} +2 -2
- package/__chunks__/{chunk-5R432HI2.js → chunk-NQ25VRP6.js} +2 -2
- package/__chunks__/{chunk-VPHC377M.js → chunk-NTZ4J3ZX.js} +2 -2
- package/__chunks__/{chunk-WX5BAI2J.js → chunk-NY3SRBV3.js} +2 -2
- package/__chunks__/{chunk-HER7NR3P.js → chunk-NY463RKX.js} +2 -2
- package/__chunks__/{chunk-6YFMGTBJ.js → chunk-NYM7F3NU.js} +2 -2
- package/__chunks__/{chunk-NMZHNNDO.js → chunk-O7TAHBTL.js} +2 -2
- package/__chunks__/{chunk-RXNYA6SF.js → chunk-OARRFKEW.js} +2 -2
- package/__chunks__/{chunk-A4RZQEKA.js → chunk-OEMRN6RA.js} +2 -2
- package/__chunks__/{chunk-WKD2ES4V.js → chunk-OHTQWFS7.js} +2 -2
- package/__chunks__/{chunk-R2G53LUI.js → chunk-OHZF3UCF.js} +2 -2
- package/__chunks__/{chunk-KDNMJ7M2.js → chunk-OIT7AZTZ.js} +2 -2
- package/__chunks__/{chunk-ILI6V46A.js → chunk-OMBMT76D.js} +2 -2
- package/__chunks__/{chunk-BDA7V4NQ.js → chunk-OMSJSEKB.js} +2 -2
- package/__chunks__/{chunk-PINKYRXT.js → chunk-OOZSFHYH.js} +2 -2
- package/__chunks__/{chunk-VXVGC3OH.js → chunk-OQIVIERX.js} +2 -2
- package/__chunks__/{chunk-KTYRUFXV.js → chunk-OR4L5DIF.js} +2 -2
- package/__chunks__/chunk-OWV63OFS.js +2 -0
- package/__chunks__/{chunk-23EGU54D.js → chunk-OYAY4A6E.js} +2 -2
- package/__chunks__/chunk-P7ETYQLM.js +2 -0
- package/__chunks__/{chunk-IOHWBSIX.js → chunk-PEYRK6DJ.js} +2 -2
- package/__chunks__/{chunk-IIXY6EVM.js → chunk-PFP32GAJ.js} +2 -2
- package/__chunks__/chunk-PJU2UKAU.js +2 -0
- package/__chunks__/{chunk-JFOJHUMM.js → chunk-PNLICGB5.js} +2 -2
- package/__chunks__/{chunk-MDZPOO3F.js → chunk-POFMPPLE.js} +2 -2
- package/__chunks__/chunk-PQX6XDOO.js +2 -0
- package/__chunks__/{chunk-ENVPO3OR.js → chunk-PWZQTMIM.js} +2 -2
- package/__chunks__/{chunk-4ALRWZZQ.js → chunk-PYO6CNJL.js} +2 -2
- package/__chunks__/{chunk-5GEXET3C.js → chunk-Q2LHZHWH.js} +2 -2
- package/__chunks__/{chunk-PVKKZXYP.js → chunk-Q5JVMVSG.js} +2 -2
- package/__chunks__/{chunk-T4FS5XNS.js → chunk-QANWJPQL.js} +2 -2
- package/__chunks__/{chunk-WWLOW2S3.js → chunk-QCA255CH.js} +2 -2
- package/__chunks__/{chunk-U77UZINY.js → chunk-QDCY7OOZ.js} +2 -2
- package/__chunks__/{chunk-CRIOGAAJ.js → chunk-QHROAYMM.js} +2 -2
- package/__chunks__/{chunk-M7AJLAY3.js → chunk-QM7QGMRH.js} +2 -2
- package/__chunks__/{chunk-P6MWBKH3.js → chunk-QN46IB4K.js} +2 -2
- package/__chunks__/chunk-QWA762UQ.js +2 -0
- package/__chunks__/{chunk-COV3NRWK.js → chunk-QWB6ASJZ.js} +2 -2
- package/__chunks__/{chunk-GFKBUR52.js → chunk-QZVP3TCG.js} +2 -2
- package/__chunks__/{chunk-QL7RMPDI.js → chunk-QZWFDZZ3.js} +2 -2
- package/__chunks__/{chunk-RHQ3FWWV.js → chunk-R5Z4JV3X.js} +2 -2
- package/__chunks__/{chunk-IHIUGJRW.js → chunk-RDJETZ3F.js} +2 -2
- package/__chunks__/chunk-RLBSVH7A.js +2 -0
- package/__chunks__/{chunk-S3J7OTBF.js → chunk-RNUOTUNR.js} +2 -2
- package/__chunks__/{chunk-KGYURMEO.js → chunk-RNVBV4W2.js} +2 -2
- package/__chunks__/{chunk-A4SQDGPF.js → chunk-RRJM3255.js} +2 -2
- package/__chunks__/{chunk-7XE7OVZZ.js → chunk-RVD7ASJL.js} +2 -2
- package/__chunks__/{chunk-YRHGZ4HS.js → chunk-SBWX3IYZ.js} +2 -2
- package/__chunks__/{chunk-VVPMSN2M.js → chunk-SIEJ3BGE.js} +2 -2
- package/__chunks__/{chunk-DF24IGER.js → chunk-SKUZQREX.js} +2 -2
- package/__chunks__/{chunk-U6QHRFQ6.js → chunk-SLKZO7VS.js} +2 -2
- package/__chunks__/{chunk-M2X2JVAM.js → chunk-SN6WAH6B.js} +2 -2
- package/__chunks__/chunk-SNKVBZTS.js +2 -0
- package/__chunks__/{chunk-A6EXXYVU.js → chunk-SUHRUIOX.js} +2 -2
- package/__chunks__/{chunk-3KOYQHTR.js → chunk-SY4VVHFA.js} +2 -2
- package/__chunks__/{chunk-6UNAWFJ2.js → chunk-TF5GKSWN.js} +2 -2
- package/__chunks__/{chunk-M22NL7FJ.js → chunk-TIXHEZXL.js} +2 -2
- package/__chunks__/{chunk-KE3UZZPK.js → chunk-TMWKLAQA.js} +2 -2
- package/__chunks__/{chunk-YWT4XNXN.js → chunk-TZY5QRK7.js} +2 -2
- package/__chunks__/{chunk-XTX67ABL.js → chunk-U2U4MUGT.js} +2 -2
- package/__chunks__/{chunk-YLMRTW5R.js → chunk-U53EBQ6E.js} +2 -2
- package/__chunks__/{chunk-VSXOMCDB.js → chunk-UC3BL6OL.js} +2 -2
- package/__chunks__/{chunk-HQJKEU6C.js → chunk-UKVVZZPC.js} +2 -2
- package/__chunks__/{chunk-NNVTUWMR.js → chunk-ULRLEVOX.js} +2 -2
- package/__chunks__/chunk-UXUA2YCT.js +2 -0
- package/__chunks__/{chunk-SOPJ4FVA.js → chunk-VCAA4VGH.js} +2 -2
- package/__chunks__/chunk-VLFWEDOB.js +2 -0
- package/__chunks__/chunk-VMEHK3CK.js +2 -0
- package/__chunks__/chunk-VRE5TYWU.js +2 -0
- package/__chunks__/{chunk-XNHZJ2SC.js → chunk-VU5G7W7V.js} +2 -2
- package/__chunks__/{chunk-TRBK7QQ6.js → chunk-VZTQJF5K.js} +2 -2
- package/__chunks__/{chunk-UG55ZHGL.js → chunk-W4D7AG72.js} +2 -2
- package/__chunks__/chunk-W5XMZRTH.js +2 -0
- package/__chunks__/{chunk-CEPGJ4CK.js → chunk-W5XV2MWO.js} +2 -2
- package/__chunks__/{chunk-W2FZFACI.js → chunk-W6TJJEHF.js} +2 -2
- package/__chunks__/chunk-WDVYNUMZ.js +2 -0
- package/__chunks__/{chunk-FSAAWDVV.js → chunk-WEXCOWWF.js} +2 -2
- package/__chunks__/{chunk-ADCSG5DO.js → chunk-WFUHPFAH.js} +2 -2
- package/__chunks__/{chunk-R5P34PUZ.js → chunk-WGZ6HMXJ.js} +2 -2
- package/__chunks__/{chunk-USUOFVP7.js → chunk-WUF7FKNG.js} +2 -2
- package/__chunks__/{chunk-HGTG6QDV.js → chunk-WZ4T4C6J.js} +2 -2
- package/__chunks__/{chunk-YUIINDCV.js → chunk-X6LCE6DY.js} +2 -2
- package/__chunks__/{chunk-Q7U3WZCF.js → chunk-XDH6CNY3.js} +2 -2
- package/__chunks__/{chunk-ELIQXNO3.js → chunk-XHBL2F6G.js} +2 -2
- package/__chunks__/{chunk-KO4CKUQ3.js → chunk-XHKQRSQL.js} +2 -2
- package/__chunks__/{chunk-52J7F3R2.js → chunk-XIS6CC4U.js} +2 -2
- package/__chunks__/{chunk-SAFQFQIH.js → chunk-XP6VAPF7.js} +2 -2
- package/__chunks__/{chunk-YU5OYJX7.js → chunk-XRA7MBOO.js} +2 -2
- package/__chunks__/chunk-Y4MABHXD.js +2 -0
- package/__chunks__/{chunk-4NPCJKVQ.js → chunk-Y6PJXZ2E.js} +2 -2
- package/__chunks__/chunk-YR7YPWTF.js +2 -0
- package/__chunks__/{chunk-EB7DKY7Z.js → chunk-Z56HIYKS.js} +2 -2
- package/__chunks__/{chunk-XT5BA43Z.js → chunk-Z7JWZURJ.js} +2 -2
- package/__chunks__/{chunk-BBL4ZXHW.js → chunk-ZAKI6HUY.js} +2 -2
- package/__chunks__/{chunk-6PTMJTAR.js → chunk-ZCM6OSDK.js} +2 -2
- package/__chunks__/{chunk-MLSI3RC2.js → chunk-ZF6KDUMI.js} +2 -2
- package/__chunks__/{chunk-M47D4COH.js → chunk-ZJECAQPC.js} +2 -2
- package/__chunks__/chunk-ZJPGJ7QI.js +2 -0
- package/__chunks__/{chunk-77DECFQY.js → chunk-ZJQA5LBM.js} +2 -2
- package/__chunks__/{chunk-UHDCW2GI.js → chunk-ZMSSS4XY.js} +2 -2
- package/__chunks__/{chunk-IC5Y7E5N.js → chunk-ZOMDIW6A.js} +2 -2
- package/__chunks__/{chunk-A2IXF222.js → chunk-ZPNSZFF2.js} +2 -2
- package/__chunks__/chunk-ZSB5Q3QB.js +2 -0
- package/__chunks__/{chunk-HWDGDPLP.js → chunk-ZU7HQJ2E.js} +2 -2
- package/__chunks__/{chunk-GPNUHVOM.js → chunk-ZUJVT2UK.js} +2 -2
- package/__chunks__/{chunk-BMJLZLZM.js → chunk-ZXXEZGKT.js} +2 -2
- package/__commonjs/UI/DappModal/hooks/index.js +1 -1
- package/__commonjs/UI/DappModal/hooks/useDappModal.js +1 -1
- package/__commonjs/UI/DappModal/index.js +3 -3
- package/__commonjs/UI/ModalContainer/ModalContainer.js +3 -3
- package/__commonjs/UI/ModalContainer/index.js +3 -3
- package/__commonjs/UI/NotificationModal/index.js +4 -4
- package/__commonjs/UI/SignTransactionsModals/SignTransactionsModals.js +22 -22
- package/__commonjs/UI/SignTransactionsModals/SignWithDeviceModal/SignStep.js +5 -5
- package/__commonjs/UI/SignTransactionsModals/SignWithDeviceModal/index.js +7 -7
- package/__commonjs/UI/SignTransactionsModals/SignWithExtensionModal/index.js +5 -5
- package/__commonjs/UI/SignTransactionsModals/SignWithExtraModal/index.js +1 -1
- package/__commonjs/UI/SignTransactionsModals/SignWithLedgerModal/index.js +7 -7
- package/__commonjs/UI/SignTransactionsModals/SignWithOperaModal/index.js +5 -5
- package/__commonjs/UI/SignTransactionsModals/SignWithWalletConnectModal/index.js +5 -5
- package/__commonjs/UI/SignTransactionsModals/components/ConfirmationScreen.js +14 -14
- package/__commonjs/UI/SignTransactionsModals/components/DeviceConfirmationScreen.js +14 -14
- package/__commonjs/UI/SignTransactionsModals/components/TransactionStatusToast.js +5 -5
- package/__commonjs/UI/SignTransactionsModals/components/index.js +14 -14
- package/__commonjs/UI/SignTransactionsModals/index.js +22 -22
- package/__commonjs/UI/TransactionInfo/TransactionInfo.js +42 -42
- package/__commonjs/UI/TransactionInfo/components/DataDecode/DataDecode.js +3 -3
- package/__commonjs/UI/TransactionInfo/components/DataDecode/index.js +3 -3
- package/__commonjs/UI/TransactionInfo/components/NonceMessage/NonceMessage.js +2 -2
- package/__commonjs/UI/TransactionInfo/components/NonceMessage/index.js +2 -2
- package/__commonjs/UI/TransactionInfo/components/index.js +43 -43
- package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoMiniblock/TransactionInfoMiniblock.js +5 -5
- package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoMiniblock/index.js +5 -5
- package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoNonce/TransactionInfoNonce.js +3 -3
- package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoNonce/index.js +3 -3
- package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/index.js +39 -39
- package/__commonjs/UI/TransactionInfo/index.js +43 -43
- package/__commonjs/UI/TransactionsTable/TransactionsTable.js +17 -17
- package/__commonjs/UI/TransactionsTable/index.js +17 -17
- package/__commonjs/UI/TransactionsToastList/TransactionsToastList.js +14 -14
- package/__commonjs/UI/TransactionsToastList/components/CustomToast/CustomToast.js +5 -5
- package/__commonjs/UI/TransactionsToastList/components/CustomToast/components/IconToast/IconToast.js +5 -5
- package/__commonjs/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/IconToastFooter.js +5 -5
- package/__commonjs/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/components/TransactionToastFooter.js +8 -8
- package/__commonjs/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/components/index.js +10 -10
- package/__commonjs/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/index.js +5 -5
- package/__commonjs/UI/TransactionsToastList/components/CustomToast/components/IconToast/index.js +5 -5
- package/__commonjs/UI/TransactionsToastList/components/CustomToast/components/index.js +5 -5
- package/__commonjs/UI/TransactionsToastList/components/CustomToast/index.js +5 -5
- package/__commonjs/UI/TransactionsToastList/components/TransactionToast/TransactionToast.js +9 -9
- package/__commonjs/UI/TransactionsToastList/components/TransactionToast/hooks/useTransactionToast.js +2 -2
- package/__commonjs/UI/TransactionsToastList/components/TransactionToast/index.js +9 -9
- package/__commonjs/UI/TransactionsToastList/components/TransactionToastGuard.js +9 -9
- package/__commonjs/UI/TransactionsToastList/components/index.js +14 -14
- package/__commonjs/UI/TransactionsToastList/index.js +14 -14
- package/__commonjs/UI/extension/ExtensionLoginButton/index.js +4 -4
- package/__commonjs/UI/index.js +67 -67
- package/__commonjs/UI/ledger/LedgerLoginButton/index.js +16 -16
- package/__commonjs/UI/ledger/LedgerLoginContainer/AddressRow.js +2 -2
- package/__commonjs/UI/ledger/LedgerLoginContainer/AddressTable.js +7 -7
- package/__commonjs/UI/ledger/LedgerLoginContainer/ConfirmAddress.js +2 -2
- package/__commonjs/UI/ledger/LedgerLoginContainer/index.js +15 -15
- package/__commonjs/UI/ledger/index.js +16 -16
- package/__commonjs/UI/operaWallet/OperaWalletLoginButton/index.js +3 -3
- package/__commonjs/UI/pages/UnlockPage/index.js +19 -19
- package/__commonjs/UI/pages/index.js +19 -19
- package/__commonjs/UI/walletConnect/WalletConnectConnectionStatus/WalletConnectConnectionStatus.js +2 -2
- package/__commonjs/UI/walletConnect/WalletConnectConnectionStatus/index.js +2 -2
- package/__commonjs/UI/walletConnect/WalletConnectLoginButton/index.js +7 -7
- package/__commonjs/UI/walletConnect/WalletConnectLoginContainer/index.js +6 -6
- package/__commonjs/UI/walletConnect/index.js +7 -7
- package/__commonjs/UI/webWallet/WebWalletLoginButton/index.js +3 -3
- package/__commonjs/__mocks__/accountConfig.js +1 -1
- package/__commonjs/__mocks__/index.js +1 -1
- package/__commonjs/__mocks__/utils/index.js +1 -1
- package/__commonjs/__mocks__/utils/renderWithProvider.js +1 -1
- package/__commonjs/apiCalls/configuration/getApiAddressForChainId.js +1 -1
- package/__commonjs/apiCalls/configuration/getEnvironmentForChainId.js +1 -1
- package/__commonjs/apiCalls/configuration/getServerConfigurationForEnvironment.js +1 -1
- package/__commonjs/components/LogoutListener/LogoutListener.js +1 -1
- package/__commonjs/components/LogoutListener/helpers/index.js +1 -1
- package/__commonjs/components/LogoutListener/helpers/useLogoutFromMultipleTabs.js +1 -1
- package/__commonjs/components/LogoutListener/helpers/useNativeAuthLogout.js +1 -1
- package/__commonjs/components/LogoutListener/helpers/useNativeAuthLogoutWarning/index.js +1 -1
- package/__commonjs/components/LogoutListener/helpers/useNativeAuthLogoutWarning/useNativeAuthLogoutWarning.js +1 -1
- package/__commonjs/components/LogoutListener/index.js +1 -1
- package/__commonjs/components/ProviderInitializer.js +1 -1
- package/__commonjs/components/TransactionStatusToast/FailedTransactionStatusToast.js +5 -5
- package/__commonjs/components/TransactionsTracker/TransactionTracker.js +1 -1
- package/__commonjs/components/TransactionsTracker/index.js +1 -1
- package/__commonjs/components/TransactionsTracker/useTransactionsTracker.js +1 -1
- package/__commonjs/constants/network.js +1 -1
- package/__commonjs/hooks/account/useGetAccountProvider.js +1 -1
- package/__commonjs/hooks/index.js +1 -1
- package/__commonjs/hooks/login/index.js +1 -1
- package/__commonjs/hooks/login/useExtensionLogin.js +1 -1
- package/__commonjs/hooks/login/useLedgerLogin.js +1 -1
- package/__commonjs/hooks/login/useLoginService.js +1 -1
- package/__commonjs/hooks/login/useOperaLogin.js +1 -1
- package/__commonjs/hooks/login/useWalletConnectLogin.js +1 -1
- package/__commonjs/hooks/login/useWalletConnectV2Login.js +1 -1
- package/__commonjs/hooks/login/useWebWalletLogin.js +1 -1
- package/__commonjs/hooks/signMessage/index.js +1 -1
- package/__commonjs/hooks/transactions/index.js +1 -1
- package/__commonjs/hooks/transactions/useParseMultiEsdtTransferData.js +1 -1
- package/__commonjs/hooks/transactions/useSignTransactions.js +1 -1
- package/__commonjs/hooks/transactions/useTrackTransactionStatus.js +1 -1
- package/__commonjs/hooks/websocketListener/index.js +1 -1
- package/__commonjs/hooks/websocketListener/useInitializeWebsocketConnection.js +1 -1
- package/__commonjs/hooks/websocketListener/useRegisterWebsocketListener.js +1 -1
- package/__commonjs/providers/accountProvider.js +1 -1
- package/__commonjs/reduxStore/commonActions.js +1 -1
- package/__commonjs/reduxStore/selectors/dappModalsSelectors.js +1 -1
- package/__commonjs/reduxStore/selectors/helpers.js +1 -1
- package/__commonjs/reduxStore/selectors/modalsSelectors.js +1 -1
- package/__commonjs/reduxStore/selectors/networkConfigSelectors.js +1 -1
- package/__commonjs/reduxStore/selectors/signedMessageInfoSelectors.js +1 -1
- package/__commonjs/reduxStore/selectors/toastsSelectors.js +1 -1
- package/__commonjs/reduxStore/slices/accountInfoSlice.js +1 -1
- package/__commonjs/reduxStore/slices/dappModalsSlice.js +1 -1
- package/__commonjs/reduxStore/slices/toastsSlice.js +1 -1
- package/__commonjs/services/index.js +1 -1
- package/__commonjs/services/nativeAuth/helpers/getLatestBlockHash.js +1 -1
- package/__commonjs/services/nativeAuth/helpers/index.js +1 -1
- package/__commonjs/services/nativeAuth/index.js +1 -1
- package/__commonjs/services/nativeAuth/methods/getNativeAuthConfig.js +1 -1
- package/__commonjs/services/nativeAuth/methods/getToken.js +1 -1
- package/__commonjs/services/nativeAuth/methods/index.js +1 -1
- package/__commonjs/services/nativeAuth/nativeAuth.js +1 -1
- package/__commonjs/services/transactions/signTransactions.js +1 -1
- package/__commonjs/types/index.js +1 -1
- package/__commonjs/utils/asyncActions/index.js +1 -1
- package/__commonjs/utils/asyncActions/sleep.js +1 -1
- package/__commonjs/utils/index.js +2 -2
- package/__commonjs/utils/logout.js +1 -1
- package/__commonjs/utils/operations/denominate.js +1 -1
- package/__commonjs/utils/operations/formatAmount.js +1 -1
- package/__commonjs/utils/operations/nominate.js +1 -1
- package/__commonjs/utils/retryMultipleTimes.js +1 -1
- package/__commonjs/utils/transactions/getAreTransactionsOnSameShard.js +1 -1
- package/__commonjs/utils/transactions/getInterpretedTransaction/helpers/getReceiptMessage.js +1 -1
- package/__commonjs/utils/transactions/parseMultiEsdtTransferData.js +1 -1
- package/__commonjs/utils/transactions/transactionInfoHelpers/getScResultsInitialDecodeMethod.js +1 -1
- package/__commonjs/utils/transactions/transactionInfoHelpers/getTransactionActionNftText.js +1 -1
- package/__commonjs/utils/transactions/transactionInfoHelpers/useDataDecode.js +5 -5
- package/__commonjs/utils/transactions/transactionInfoHelpers/useDataDecodeMethod.js +1 -1
- package/__commonjs/wrappers/AppInitializer.js +1 -1
- package/__commonjs/wrappers/AxiosInterceptorContext/components/AxiosInterceptor.js +1 -1
- package/__commonjs/wrappers/AxiosInterceptorContext/components/LoginInfoListener.js +1 -1
- package/__commonjs/wrappers/DappProvider/CustomComponents.js +1 -1
- package/__commonjs/wrappers/DappProvider/index.js +1 -1
- package/__commonjs/wrappers/index.js +1 -1
- package/__mocks__/accountConfig.js +1 -1
- package/__mocks__/index.js +1 -1
- package/__mocks__/server.js +1 -1
- package/__mocks__/utils/index.js +1 -1
- package/__mocks__/utils/renderWithProvider.js +1 -1
- package/apiCalls/accounts/getAccountFromApi.js +1 -1
- package/apiCalls/accounts/index.js +1 -1
- package/apiCalls/configuration/getApiAddressForChainId.js +1 -1
- package/apiCalls/configuration/getEnvironmentForChainId.js +1 -1
- package/apiCalls/configuration/getNetworkConfig.js +1 -1
- package/apiCalls/configuration/getServerConfigurationForEnvironment.js +1 -1
- package/apiCalls/configuration/index.js +1 -1
- package/apiCalls/getScamAddressData.js +1 -1
- package/apiCalls/index.js +1 -1
- package/apiCalls/transactions/getTransactionsByHashes.js +1 -1
- package/apiCalls/transactions/index.js +1 -1
- package/apiCalls/transactions/sendSignedTransactions.js +1 -1
- package/apiCalls/utils/getCleanApiAddress.js +1 -1
- package/apiCalls/utils/index.js +1 -1
- package/components/LogoutListener/LogoutListener.js +1 -1
- package/components/LogoutListener/helpers/index.js +1 -1
- package/components/LogoutListener/helpers/useLogoutFromMultipleTabs.js +1 -1
- package/components/LogoutListener/helpers/useNativeAuthLogout.js +1 -1
- package/components/LogoutListener/helpers/useNativeAuthLogoutWarning/index.js +1 -1
- package/components/LogoutListener/helpers/useNativeAuthLogoutWarning/useNativeAuthLogoutWarning.js +1 -1
- package/components/LogoutListener/index.js +1 -1
- package/components/ProviderInitializer.js +1 -1
- package/components/TransactionSender/TransactionSender.js +1 -1
- package/components/TransactionSender/index.js +1 -1
- package/components/TransactionStatusToast/FailedTransactionStatusToast.js +1 -1
- package/components/TransactionsTracker/TransactionTracker.js +1 -1
- package/components/TransactionsTracker/index.js +1 -1
- package/components/TransactionsTracker/useTransactionsTracker.js +1 -1
- package/constants/index.js +1 -1
- package/constants/network.js +1 -1
- package/hooks/account/index.js +1 -1
- package/hooks/account/useGetAccount.js +1 -1
- package/hooks/account/useGetAccountInfo.js +1 -1
- package/hooks/account/useGetAccountProvider.js +1 -1
- package/hooks/account/useGetIsLoggedIn.js +1 -1
- package/hooks/account/useGetLoginInfo.js +1 -1
- package/hooks/account/useGetWebsocketEvent.js +1 -1
- package/hooks/index.js +1 -1
- package/hooks/login/index.js +1 -1
- package/hooks/login/useExtensionLogin.js +1 -1
- package/hooks/login/useLedgerLogin.js +1 -1
- package/hooks/login/useLoginService.js +1 -1
- package/hooks/login/useOperaLogin.js +1 -1
- package/hooks/login/useWalletConnectLogin.js +1 -1
- package/hooks/login/useWalletConnectV2Login.js +1 -1
- package/hooks/login/useWebViewLogin.js +1 -1
- package/hooks/login/useWebWalletLogin.js +1 -1
- package/hooks/signMessage/index.js +1 -1
- package/hooks/signMessage/useGetLastSignedMessageSession.js +1 -1
- package/hooks/signMessage/useGetSignMessageSession.js +1 -1
- package/hooks/signMessage/useGetSignedMessageStatus.js +1 -1
- package/hooks/signMessage/useSignMessage.js +1 -1
- package/hooks/transactions/helpers/getShouldMoveTransactionsToSignedState.js +1 -1
- package/hooks/transactions/helpers/index.js +1 -1
- package/hooks/transactions/helpers/useClearTransactionsToSignWithWarning.js +1 -1
- package/hooks/transactions/helpers/useSetTransactionNonces.js +1 -1
- package/hooks/transactions/index.js +1 -1
- package/hooks/transactions/useCancelWalletConnectAction.js +1 -1
- package/hooks/transactions/useCheckTransactionStatus/checkBatch.js +1 -1
- package/hooks/transactions/useCheckTransactionStatus/index.js +1 -1
- package/hooks/transactions/useCheckTransactionStatus/manageFailedTransactions.js +1 -1
- package/hooks/transactions/useCheckTransactionStatus/manageTimedOutTransactions.js +1 -1
- package/hooks/transactions/useCheckTransactionStatus/useCheckTransactionStatus.js +1 -1
- package/hooks/transactions/useGetActiveTransactionsStatus.js +1 -1
- package/hooks/transactions/useGetFailedTransactions.js +1 -1
- package/hooks/transactions/useGetPendingTransactions.js +1 -1
- package/hooks/transactions/useGetSignTransactionsError.js +1 -1
- package/hooks/transactions/useGetSignedTransactions.js +1 -1
- package/hooks/transactions/useGetSuccessfulTransactions.js +1 -1
- package/hooks/transactions/useGetTokenDetails.js +1 -1
- package/hooks/transactions/useGetTransactionDisplayInfo.js +1 -1
- package/hooks/transactions/useParseMultiEsdtTransferData.js +1 -1
- package/hooks/transactions/useParseSignedTransactions.js +1 -1
- package/hooks/transactions/useSignMultipleTransactions.js +1 -1
- package/hooks/transactions/useSignTransactions.js +1 -1
- package/hooks/transactions/useSignTransactionsCommonData.js +1 -1
- package/hooks/transactions/useSignTransactionsWithDevice.js +1 -1
- package/hooks/transactions/useSignTransactionsWithLedger.js +1 -1
- package/hooks/transactions/useTrackTransactionStatus.js +1 -1
- package/hooks/useGetNetworkConfig.js +1 -1
- package/hooks/useGetNotification.js +1 -1
- package/hooks/userInterface/index.js +1 -1
- package/hooks/userInterface/useIsDappModalVisible.js +1 -1
- package/hooks/websocketListener/index.js +1 -1
- package/hooks/websocketListener/useInitializeWebsocketConnection.js +1 -1
- package/hooks/websocketListener/useRegisterWebsocketListener.js +1 -1
- package/models/index.js +1 -1
- package/models/newTransaction.js +1 -1
- package/package.json +1 -1
- package/providers/accountProvider.js +1 -1
- package/providers/index.js +1 -1
- package/providers/utils.js +1 -1
- package/providers/webviewProvider/index.js +1 -1
- package/providers/webviewProvider/requestMethods.js +1 -1
- package/providers/webviewProvider/webviewProvider.js +1 -1
- package/reduxStore/DappProviderContext.js +1 -1
- package/reduxStore/commonActions.js +1 -1
- package/reduxStore/middlewares/loginSessionMiddleware.js +1 -1
- package/reduxStore/persistConfig.js +1 -1
- package/reduxStore/persistedRootReducer.js +1 -1
- package/reduxStore/reducers.js +1 -1
- package/reduxStore/rootReducer.js +1 -1
- package/reduxStore/selectors/accountInfoSelectors.js +1 -1
- package/reduxStore/selectors/dappModalsSelectors.js +1 -1
- package/reduxStore/selectors/helpers.js +1 -1
- package/reduxStore/selectors/index.js +1 -1
- package/reduxStore/selectors/loginInfoSelectors.js +1 -1
- package/reduxStore/selectors/modalsSelectors.js +1 -1
- package/reduxStore/selectors/networkConfigSelectors.js +1 -1
- package/reduxStore/selectors/signedMessageInfoSelectors.js +1 -1
- package/reduxStore/selectors/toastsSelectors.js +1 -1
- package/reduxStore/selectors/transactionsInfoSelectors.js +1 -1
- package/reduxStore/selectors/transactionsSelectors.js +1 -1
- package/reduxStore/slices/accountInfoSlice.js +1 -1
- package/reduxStore/slices/dappModalsSlice.js +1 -1
- package/reduxStore/slices/index.js +1 -1
- package/reduxStore/slices/loginInfoSlice.js +1 -1
- package/reduxStore/slices/modalsSlice.js +1 -1
- package/reduxStore/slices/signedMessageInfoSlice.js +1 -1
- package/reduxStore/slices/toastsSlice.js +1 -1
- package/reduxStore/slices/transactionsInfoSlice.js +1 -1
- package/reduxStore/slices/transactionsSlice.js +1 -1
- package/reduxStore/store.js +1 -1
- package/services/index.js +1 -1
- package/services/nativeAuth/helpers/getLatestBlockHash.d.ts +1 -1
- package/services/nativeAuth/helpers/getLatestBlockHash.js +1 -1
- package/services/nativeAuth/helpers/index.js +1 -1
- package/services/nativeAuth/helpers/loginWithNativeAuthToken.js +1 -1
- package/services/nativeAuth/index.js +1 -1
- package/services/nativeAuth/methods/getNativeAuthConfig.js +1 -1
- package/services/nativeAuth/methods/getToken.js +1 -1
- package/services/nativeAuth/methods/index.js +1 -1
- package/services/nativeAuth/nativeAuth.js +1 -1
- package/services/transactions/clearTransactions.js +1 -1
- package/services/transactions/index.js +1 -1
- package/services/transactions/isCrossShardTransaction.js +1 -1
- package/services/transactions/sendTransactions.js +1 -1
- package/services/transactions/signTransactions.js +1 -1
- package/services/transactions/transformAndSignTransactions.js +1 -1
- package/services/transactions/utils.js +1 -1
- package/types/index.js +1 -1
- package/types/login.types.d.ts +1 -0
- package/types/login.types.js +1 -1
- package/utils/account/getAccount.js +1 -1
- package/utils/account/getAccountBalance.js +1 -1
- package/utils/account/getAccountProviderType.js +1 -1
- package/utils/account/getAccountShard.js +1 -1
- package/utils/account/getAddress.js +1 -1
- package/utils/account/getIsProviderEqualTo.js +1 -1
- package/utils/account/getLatestNonce.js +1 -1
- package/utils/account/getShardOfAddress.js +1 -1
- package/utils/account/index.js +1 -1
- package/utils/account/loginWithExternalProvider.js +1 -1
- package/utils/account/refreshAccount.js +1 -1
- package/utils/account/setNonce.js +1 -1
- package/utils/account/signMessage.js +1 -1
- package/utils/asyncActions/index.js +1 -1
- package/utils/asyncActions/sleep.js +1 -1
- package/utils/getIsLoggedIn.js +1 -1
- package/utils/index.js +1 -1
- package/utils/logout.js +1 -1
- package/utils/network/getChainID.js +1 -1
- package/utils/network/getEgldLabel.js +1 -1
- package/utils/network/getNetworkConfig.js +1 -1
- package/utils/network/index.js +1 -1
- package/utils/operations/calculateFeeLimit.js +1 -1
- package/utils/operations/denominate.js +1 -1
- package/utils/operations/formatAmount.js +1 -1
- package/utils/operations/index.js +1 -1
- package/utils/operations/nominate.js +1 -1
- package/utils/operations/parseAmount.js +1 -1
- package/utils/retryMultipleTimes.js +1 -1
- package/utils/smartContracts.js +1 -1
- package/utils/toasts/customToastsActions.js +1 -1
- package/utils/toasts/index.js +1 -1
- package/utils/transactions/getAllTransactionsLink.js +1 -1
- package/utils/transactions/getAreTransactionsOnSameShard.js +1 -1
- package/utils/transactions/getInterpretedTransaction/getInterpretedTransaction.js +1 -1
- package/utils/transactions/getInterpretedTransaction/helpers/getReceiptMessage.js +1 -1
- package/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/getTransactionValue.js +1 -1
- package/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/helpers/getEgldValueData.js +1 -1
- package/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/helpers/getTitleText.js +1 -1
- package/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/helpers/getValueFromActions.js +1 -1
- package/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/helpers/getValueFromDataField.js +1 -1
- package/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/helpers/getValueFromOperations.js +1 -1
- package/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/helpers/index.js +1 -1
- package/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/index.js +1 -1
- package/utils/transactions/getInterpretedTransaction/helpers/index.js +1 -1
- package/utils/transactions/getInterpretedTransaction/index.js +1 -1
- package/utils/transactions/getTransactionLink.js +1 -1
- package/utils/transactions/index.js +1 -1
- package/utils/transactions/parseMultiEsdtTransferData.js +1 -1
- package/utils/transactions/parseTransactionAfterSigning.js +1 -1
- package/utils/transactions/transactionInfoHelpers/getScResultsInitialDecodeMethod.js +1 -1
- package/utils/transactions/transactionInfoHelpers/getShardText.js +1 -1
- package/utils/transactions/transactionInfoHelpers/getTransactionActionNftText.js +1 -1
- package/utils/transactions/transactionInfoHelpers/getTransactionActionTokenText.js +1 -1
- package/utils/transactions/transactionInfoHelpers/getTransactionLinkWithLabel.js +1 -1
- package/utils/transactions/transactionInfoHelpers/getTransactionMessages.js +1 -1
- package/utils/transactions/transactionInfoHelpers/index.js +1 -1
- package/utils/transactions/transactionInfoHelpers/transactionActionUnwrapper/helpers/index.js +1 -1
- package/utils/transactions/transactionInfoHelpers/transactionActionUnwrapper/helpers/mexUnwrapper.js +1 -1
- package/utils/transactions/transactionInfoHelpers/transactionActionUnwrapper/index.js +1 -1
- package/utils/transactions/transactionInfoHelpers/transactionActionUnwrapper/transactionActionUnwrapper.js +1 -1
- package/utils/transactions/transactionInfoHelpers/useDataDecode.js +1 -1
- package/utils/transactions/transactionInfoHelpers/useDataDecodeMethod.js +1 -1
- package/utils/validation/index.js +1 -1
- package/utils/validation/maxDecimals.js +1 -1
- package/utils/validation/stringIsFloat.js +1 -1
- package/web/hooks/index.js +1 -1
- package/web/hooks/useIdleTimer.js +1 -1
- package/web/index.js +1 -1
- package/wrappers/AppInitializer.js +1 -1
- package/wrappers/AuthenticatedRoutesWrapper/index.js +1 -1
- package/wrappers/AxiosInterceptorContext/AxiosInterceptorContext.js +1 -1
- package/wrappers/AxiosInterceptorContext/components/AxiosInterceptor.js +1 -1
- package/wrappers/AxiosInterceptorContext/components/AxiosInterceptorContextProvider.js +1 -1
- package/wrappers/AxiosInterceptorContext/components/LoginInfoListener.js +1 -1
- package/wrappers/AxiosInterceptorContext/components/index.js +1 -1
- package/wrappers/AxiosInterceptorContext/index.js +1 -1
- package/wrappers/DappProvider/CustomComponents.js +1 -1
- package/wrappers/DappProvider/index.js +1 -1
- package/wrappers/index.js +1 -1
- package/__chunks__/chunk-3EYFCRQJ.js +0 -2
- package/__chunks__/chunk-3F3J26IL.js +0 -2
- package/__chunks__/chunk-3LTTE7Z4.js +0 -2
- package/__chunks__/chunk-3XYPMC5Z.js +0 -2
- package/__chunks__/chunk-3YOLWVYN.js +0 -2
- package/__chunks__/chunk-42BPBN4G.js +0 -2
- package/__chunks__/chunk-573MD3HA.js +0 -2
- package/__chunks__/chunk-7CRYWUS6.js +0 -2
- package/__chunks__/chunk-7NADEOVW.js +0 -2
- package/__chunks__/chunk-7ZZWUK5N.js +0 -2
- package/__chunks__/chunk-AJVN5NMC.js +0 -2
- package/__chunks__/chunk-BQOSJ42S.js +0 -2
- package/__chunks__/chunk-BQY4YEPO.js +0 -2
- package/__chunks__/chunk-CKRLCHHT.js +0 -2
- package/__chunks__/chunk-CX7JJAI7.js +0 -2
- package/__chunks__/chunk-D3DU3GYZ.js +0 -2
- package/__chunks__/chunk-FAPWAQOI.js +0 -2
- package/__chunks__/chunk-FLNAHHFO.js +0 -2
- package/__chunks__/chunk-G4FTNX3C.js +0 -2
- package/__chunks__/chunk-GNJAE3HJ.js +0 -2
- package/__chunks__/chunk-GQMTJB4L.js +0 -2
- package/__chunks__/chunk-JAEDB3IA.js +0 -2
- package/__chunks__/chunk-KCCZWHLF.js +0 -2
- package/__chunks__/chunk-KQCX4VG2.js +0 -2
- package/__chunks__/chunk-KQF4EULM.js +0 -2
- package/__chunks__/chunk-LG6WIZHT.js +0 -2
- package/__chunks__/chunk-LM64ZHBF.js +0 -2
- package/__chunks__/chunk-MAPKARLD.js +0 -2
- package/__chunks__/chunk-N7H3FMAE.js +0 -2
- package/__chunks__/chunk-NJVX7KSK.js +0 -2
- package/__chunks__/chunk-P2E3TG5U.js +0 -2
- package/__chunks__/chunk-PURPYWQM.js +0 -2
- package/__chunks__/chunk-RBHVYE2Y.js +0 -2
- package/__chunks__/chunk-RGJUSITX.js +0 -2
- package/__chunks__/chunk-RQ5KJRJY.js +0 -2
- package/__chunks__/chunk-S6DXOR2S.js +0 -2
- package/__chunks__/chunk-SCCXHHWP.js +0 -2
- package/__chunks__/chunk-SPNCRNER.js +0 -2
- package/__chunks__/chunk-T6SOZMFL.js +0 -2
- package/__chunks__/chunk-TTS3WFEE.js +0 -2
- package/__chunks__/chunk-UC3M6BHM.js +0 -2
- package/__chunks__/chunk-WALAONSP.js +0 -2
- package/__chunks__/chunk-XCBMXPY5.js +0 -2
- package/__chunks__/chunk-Y3CLO3PP.js +0 -2
- package/__chunks__/chunk-YA6SZOY2.js +0 -2
- package/__chunks__/chunk-YBGCB57C.js +0 -2
- package/__chunks__/chunk-Z4BLO2TH.js +0 -2
- package/__chunks__/chunk-Z6WGQSRM.js +0 -2
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";var Br=Object.create;var M=Object.defineProperty;var Ar=Object.getOwnPropertyDescriptor;var Rr=Object.getOwnPropertyNames;var _r=Object.getPrototypeOf,Lr=Object.prototype.hasOwnProperty;var Ur=(t,r)=>()=>(t&&(r=t(t=0)),r);var P=(t,r)=>()=>(r||t((r={exports:{}}).exports,r),r.exports),Er=(t,r)=>{for(var e in r)M(t,e,{get:r[e],enumerable:!0})},tr=(t,r,e,n)=>{if(r&&typeof r=="object"||typeof r=="function")for(let i of Rr(r))!Lr.call(t,i)&&i!==e&&M(t,i,{get:()=>r[i],enumerable:!(n=Ar(r,i))||n.enumerable});return t};var nr=(t,r,e)=>(e=t!=null?Br(_r(t)):{},tr(r||!t||!t.__esModule?M(e,"default",{value:t,enumerable:!0}):e,t)),Cr=t=>tr(M({},"__esModule",{value:!0}),t);var or=P(O=>{"use strict";g();O.byteLength=Nr;O.toByteArray=Pr;O.fromByteArray=Hr;var k=[],v=[],Dr=typeof Uint8Array!="undefined"?Uint8Array:Array,z="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(_=0,ir=z.length;_<ir;++_)k[_]=z[_],v[z.charCodeAt(_)]=_;var _,ir;v["-".charCodeAt(0)]=62;v["_".charCodeAt(0)]=63;function ar(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 Nr(t){var r=ar(t),e=r[0],n=r[1];return(e+n)*3/4-n}function Mr(t,r,e){return(r+e)*3/4-e}function Pr(t){var r,e=ar(t),n=e[0],i=e[1],a=new Dr(Mr(t,n,i)),o=0,u=i>0?n-4:n,p;for(p=0;p<u;p+=4)r=v[t.charCodeAt(p)]<<18|v[t.charCodeAt(p+1)]<<12|v[t.charCodeAt(p+2)]<<6|v[t.charCodeAt(p+3)],a[o++]=r>>16&255,a[o++]=r>>8&255,a[o++]=r&255;return i===2&&(r=v[t.charCodeAt(p)]<<2|v[t.charCodeAt(p+1)]>>4,a[o++]=r&255),i===1&&(r=v[t.charCodeAt(p)]<<10|v[t.charCodeAt(p+1)]<<4|v[t.charCodeAt(p+2)]>>2,a[o++]=r>>8&255,a[o++]=r&255),a}function Or(t){return k[t>>18&63]+k[t>>12&63]+k[t>>6&63]+k[t&63]}function Gr(t,r,e){for(var n,i=[],a=r;a<e;a+=3)n=(t[a]<<16&16711680)+(t[a+1]<<8&65280)+(t[a+2]&255),i.push(Or(n));return i.join("")}function Hr(t){for(var r,e=t.length,n=e%3,i=[],a=16383,o=0,u=e-n;o<u;o+=a)i.push(Gr(t,o,o+a>u?u:o+a));return n===1?(r=t[e-1],i.push(k[r>>2]+k[r<<4&63]+"==")):n===2&&(r=(t[e-2]<<8)+t[e-1],i.push(k[r>>10]+k[r>>4&63]+k[r<<2&63]+"=")),i.join("")}});var sr=P(W=>{g();W.read=function(t,r,e,n,i){var a,o,u=i*8-n-1,p=(1<<u)-1,l=p>>1,f=-7,c=e?i-1:0,F=e?-1:1,T=t[r+c];for(c+=F,a=T&(1<<-f)-1,T>>=-f,f+=u;f>0;a=a*256+t[r+c],c+=F,f-=8);for(o=a&(1<<-f)-1,a>>=-f,f+=n;f>0;o=o*256+t[r+c],c+=F,f-=8);if(a===0)a=1-l;else{if(a===p)return o?NaN:(T?-1:1)*(1/0);o=o+Math.pow(2,n),a=a-l}return(T?-1:1)*o*Math.pow(2,a-n)};W.write=function(t,r,e,n,i,a){var o,u,p,l=a*8-i-1,f=(1<<l)-1,c=f>>1,F=i===23?Math.pow(2,-24)-Math.pow(2,-77):0,T=n?0:a-1,E=n?1:-1,Sr=r<0||r===0&&1/r<0?1:0;for(r=Math.abs(r),isNaN(r)||r===1/0?(u=isNaN(r)?1:0,o=f):(o=Math.floor(Math.log(r)/Math.LN2),r*(p=Math.pow(2,-o))<1&&(o--,p*=2),o+c>=1?r+=F/p:r+=F*Math.pow(2,1-c),r*p>=2&&(o++,p/=2),o+c>=f?(u=0,o=f):o+c>=1?(u=(r*p-1)*Math.pow(2,i),o=o+c):(u=r*Math.pow(2,c-1)*Math.pow(2,i),o=0));i>=8;t[e+T]=u&255,T+=E,u/=256,i-=8);for(o=o<<i|u,l+=i;l>0;t[e+T]=o&255,T+=E,o/=256,l-=8);t[e+T-E]|=Sr*128}});var Tr=P(D=>{"use strict";g();var Q=or(),C=sr(),ur=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;D.Buffer=s;D.SlowBuffer=Xr;D.INSPECT_MAX_BYTES=50;var G=2147483647;D.kMaxLength=G;s.TYPED_ARRAY_SUPPORT=qr();!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 qr(){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>G)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 $(t)}return lr(t,r,e)}s.poolSize=8192;function lr(t,r,e){if(typeof t=="string")return zr(t,r);if(ArrayBuffer.isView(t))return Wr(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(I(t,ArrayBuffer)||t&&I(t.buffer,ArrayBuffer)||typeof SharedArrayBuffer!="undefined"&&(I(t,SharedArrayBuffer)||t&&I(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=Qr(t);if(i)return i;if(typeof Symbol!="undefined"&&Symbol.toPrimitive!=null&&typeof t[Symbol.toPrimitive]=="function")return s.from(t[Symbol.toPrimitive]("string"),r,e);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t)}s.from=function(t,r,e){return lr(t,r,e)};Object.setPrototypeOf(s.prototype,Uint8Array.prototype);Object.setPrototypeOf(s,Uint8Array);function fr(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 Yr(t,r,e){return fr(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 Yr(t,r,e)};function $(t){return fr(t),B(t<0?0:K(t)|0)}s.allocUnsafe=function(t){return $(t)};s.allocUnsafeSlow=function(t){return $(t)};function zr(t,r){if((typeof r!="string"||r==="")&&(r="utf8"),!s.isEncoding(r))throw new TypeError("Unknown encoding: "+r);var e=gr(t,r)|0,n=B(e),i=n.write(t,r);return i!==e&&(n=n.slice(0,i)),n}function X(t){for(var r=t.length<0?0:K(t.length)|0,e=B(r),n=0;n<r;n+=1)e[n]=t[n]&255;return e}function Wr(t){if(I(t,Uint8Array)){var r=new Uint8Array(t);return j(r.buffer,r.byteOffset,r.byteLength)}return X(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 Qr(t){if(s.isBuffer(t)){var r=K(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"||Z(t.length)?B(0):X(t);if(t.type==="Buffer"&&Array.isArray(t.data))return X(t.data)}function K(t){if(t>=G)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+G.toString(16)+" bytes");return t|0}function Xr(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(I(r,Uint8Array)&&(r=s.from(r,r.offset,r.byteLength)),I(e,Uint8Array)&&(e=s.from(e,e.offset,e.byteLength)),!s.isBuffer(r)||!s.isBuffer(e))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(r===e)return 0;for(var n=r.length,i=e.length,a=0,o=Math.min(n,i);a<o;++a)if(r[a]!==e[a]){n=r[a],i=e[a];break}return n<i?-1:i<n?1:0};s.isEncoding=function(r){switch(String(r).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}};s.concat=function(r,e){if(!Array.isArray(r))throw new TypeError('"list" argument must be an Array of Buffers');if(r.length===0)return s.alloc(0);var n;if(e===void 0)for(e=0,n=0;n<r.length;++n)e+=r[n].length;var i=s.allocUnsafe(e),a=0;for(n=0;n<r.length;++n){var o=r[n];if(I(o,Uint8Array))a+o.length>i.length?s.from(o).copy(i,a):Uint8Array.prototype.set.call(i,o,a);else if(s.isBuffer(o))o.copy(i,a);else throw new TypeError('"list" argument must be an Array of Buffers');a+=o.length}return i};function gr(t,r){if(s.isBuffer(t))return t.length;if(ArrayBuffer.isView(t)||I(t,ArrayBuffer))return t.byteLength;if(typeof t!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof t);var e=t.length,n=arguments.length>2&&arguments[2]===!0;if(!n&&e===0)return 0;for(var i=!1;;)switch(r){case"ascii":case"latin1":case"binary":return e;case"utf8":case"utf-8":return J(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return e*2;case"hex":return e>>>1;case"base64":return wr(t).length;default:if(i)return n?-1:J(t).length;r=(""+r).toLowerCase(),i=!0}}s.byteLength=gr;function jr(t,r,e){var n=!1;if((r===void 0||r<0)&&(r=0),r>this.length||((e===void 0||e>this.length)&&(e=this.length),e<=0)||(e>>>=0,r>>>=0,e<=r))return"";for(t||(t="utf8");;)switch(t){case"hex":return ie(this,r,e);case"utf8":case"utf-8":return dr(this,r,e);case"ascii":return te(this,r,e);case"latin1":case"binary":return ne(this,r,e);case"base64":return re(this,r,e);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return ae(this,r,e);default:if(n)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),n=!0}}s.prototype._isBuffer=!0;function L(t,r,e){var n=t[r];t[r]=t[e],t[e]=n}s.prototype.swap16=function(){var r=this.length;if(r%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var e=0;e<r;e+=2)L(this,e,e+1);return this};s.prototype.swap32=function(){var r=this.length;if(r%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var e=0;e<r;e+=4)L(this,e,e+3),L(this,e+1,e+2);return this};s.prototype.swap64=function(){var r=this.length;if(r%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var e=0;e<r;e+=8)L(this,e,e+7),L(this,e+1,e+6),L(this,e+2,e+5),L(this,e+3,e+4);return this};s.prototype.toString=function(){var r=this.length;return r===0?"":arguments.length===0?dr(this,0,r):jr.apply(this,arguments)};s.prototype.toLocaleString=s.prototype.toString;s.prototype.equals=function(r){if(!s.isBuffer(r))throw new TypeError("Argument must be a Buffer");return this===r?!0:s.compare(this,r)===0};s.prototype.inspect=function(){var r="",e=D.INSPECT_MAX_BYTES;return r=this.toString("hex",0,e).replace(/(.{2})/g,"$1 ").trim(),this.length>e&&(r+=" ... "),"<Buffer "+r+">"};ur&&(s.prototype[ur]=s.prototype.inspect);s.prototype.compare=function(r,e,n,i,a){if(I(r,Uint8Array)&&(r=s.from(r,r.offset,r.byteLength)),!s.isBuffer(r))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof r);if(e===void 0&&(e=0),n===void 0&&(n=r?r.length:0),i===void 0&&(i=0),a===void 0&&(a=this.length),e<0||n>r.length||i<0||a>this.length)throw new RangeError("out of range index");if(i>=a&&e>=n)return 0;if(i>=a)return-1;if(e>=n)return 1;if(e>>>=0,n>>>=0,i>>>=0,a>>>=0,this===r)return 0;for(var o=a-i,u=n-e,p=Math.min(o,u),l=this.slice(i,a),f=r.slice(e,n),c=0;c<p;++c)if(l[c]!==f[c]){o=l[c],u=f[c];break}return o<u?-1:u<o?1:0};function hr(t,r,e,n,i){if(t.length===0)return-1;if(typeof e=="string"?(n=e,e=0):e>2147483647?e=2147483647:e<-2147483648&&(e=-2147483648),e=+e,Z(e)&&(e=i?0:t.length-1),e<0&&(e=t.length+e),e>=t.length){if(i)return-1;e=t.length-1}else if(e<0)if(i)e=0;else return-1;if(typeof r=="string"&&(r=s.from(r,n)),s.isBuffer(r))return r.length===0?-1:pr(t,r,e,n,i);if(typeof r=="number")return r=r&255,typeof Uint8Array.prototype.indexOf=="function"?i?Uint8Array.prototype.indexOf.call(t,r,e):Uint8Array.prototype.lastIndexOf.call(t,r,e):pr(t,[r],e,n,i);throw new TypeError("val must be string, number or Buffer")}function pr(t,r,e,n,i){var a=1,o=t.length,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;a=2,o/=2,u/=2,e/=2}function p(T,E){return a===1?T[E]:T.readUInt16BE(E*a)}var l;if(i){var f=-1;for(l=e;l<o;l++)if(p(t,l)===p(r,f===-1?0:l-f)){if(f===-1&&(f=l),l-f+1===u)return f*a}else f!==-1&&(l-=l-f),f=-1}else for(e+u>o&&(e=o-u),l=e;l>=0;l--){for(var c=!0,F=0;F<u;F++)if(p(t,l+F)!==p(r,F)){c=!1;break}if(c)return l}return-1}s.prototype.includes=function(r,e,n){return this.indexOf(r,e,n)!==-1};s.prototype.indexOf=function(r,e,n){return hr(this,r,e,n,!0)};s.prototype.lastIndexOf=function(r,e,n){return hr(this,r,e,n,!1)};function Jr(t,r,e,n){e=Number(e)||0;var i=t.length-e;n?(n=Number(n),n>i&&(n=i)):n=i;var a=r.length;n>a/2&&(n=a/2);for(var o=0;o<n;++o){var u=parseInt(r.substr(o*2,2),16);if(Z(u))return o;t[e+o]=u}return o}function $r(t,r,e,n){return H(J(r,t.length-e),t,e,n)}function Kr(t,r,e,n){return H(ue(r),t,e,n)}function Zr(t,r,e,n){return H(wr(r),t,e,n)}function Vr(t,r,e,n){return H(pe(r,t.length-e),t,e,n)}s.prototype.write=function(r,e,n,i){if(e===void 0)i="utf8",n=this.length,e=0;else if(n===void 0&&typeof e=="string")i=e,n=this.length,e=0;else if(isFinite(e))e=e>>>0,isFinite(n)?(n=n>>>0,i===void 0&&(i="utf8")):(i=n,n=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var a=this.length-e;if((n===void 0||n>a)&&(n=a),r.length>0&&(n<0||e<0)||e>this.length)throw new RangeError("Attempt to write outside buffer bounds");i||(i="utf8");for(var o=!1;;)switch(i){case"hex":return Jr(this,r,e,n);case"utf8":case"utf-8":return $r(this,r,e,n);case"ascii":case"latin1":case"binary":return Kr(this,r,e,n);case"base64":return Zr(this,r,e,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Vr(this,r,e,n);default:if(o)throw new TypeError("Unknown encoding: "+i);i=(""+i).toLowerCase(),o=!0}};s.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function re(t,r,e){return r===0&&e===t.length?Q.fromByteArray(t):Q.fromByteArray(t.slice(r,e))}function dr(t,r,e){e=Math.min(t.length,e);for(var n=[],i=r;i<e;){var a=t[i],o=null,u=a>239?4:a>223?3:a>191?2:1;if(i+u<=e){var p,l,f,c;switch(u){case 1:a<128&&(o=a);break;case 2:p=t[i+1],(p&192)===128&&(c=(a&31)<<6|p&63,c>127&&(o=c));break;case 3:p=t[i+1],l=t[i+2],(p&192)===128&&(l&192)===128&&(c=(a&15)<<12|(p&63)<<6|l&63,c>2047&&(c<55296||c>57343)&&(o=c));break;case 4:p=t[i+1],l=t[i+2],f=t[i+3],(p&192)===128&&(l&192)===128&&(f&192)===128&&(c=(a&15)<<18|(p&63)<<12|(l&63)<<6|f&63,c>65535&&c<1114112&&(o=c))}}o===null?(o=65533,u=1):o>65535&&(o-=65536,n.push(o>>>10&1023|55296),o=56320|o&1023),n.push(o),i+=u}return ee(n)}var cr=4096;function ee(t){var r=t.length;if(r<=cr)return String.fromCharCode.apply(String,t);for(var e="",n=0;n<r;)e+=String.fromCharCode.apply(String,t.slice(n,n+=cr));return e}function te(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 ne(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 ie(t,r,e){var n=t.length;(!r||r<0)&&(r=0),(!e||e<0||e>n)&&(e=n);for(var i="",a=r;a<e;++a)i+=ce[t[a]];return i}function ae(t,r,e){for(var n=t.slice(r,e),i="",a=0;a<n.length-1;a+=2)i+=String.fromCharCode(n[a]+n[a+1]*256);return i}s.prototype.slice=function(r,e){var n=this.length;r=~~r,e=e===void 0?n:~~e,r<0?(r+=n,r<0&&(r=0)):r>n&&(r=n),e<0?(e+=n,e<0&&(e=0)):e>n&&(e=n),e<r&&(e=r);var i=this.subarray(r,e);return Object.setPrototypeOf(i,s.prototype),i};function d(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||d(r,e,this.length);for(var i=this[r],a=1,o=0;++o<e&&(a*=256);)i+=this[r+o]*a;return i};s.prototype.readUintBE=s.prototype.readUIntBE=function(r,e,n){r=r>>>0,e=e>>>0,n||d(r,e,this.length);for(var i=this[r+--e],a=1;e>0&&(a*=256);)i+=this[r+--e]*a;return i};s.prototype.readUint8=s.prototype.readUInt8=function(r,e){return r=r>>>0,e||d(r,1,this.length),this[r]};s.prototype.readUint16LE=s.prototype.readUInt16LE=function(r,e){return r=r>>>0,e||d(r,2,this.length),this[r]|this[r+1]<<8};s.prototype.readUint16BE=s.prototype.readUInt16BE=function(r,e){return r=r>>>0,e||d(r,2,this.length),this[r]<<8|this[r+1]};s.prototype.readUint32LE=s.prototype.readUInt32LE=function(r,e){return r=r>>>0,e||d(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||d(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||d(r,e,this.length);for(var i=this[r],a=1,o=0;++o<e&&(a*=256);)i+=this[r+o]*a;return a*=128,i>=a&&(i-=Math.pow(2,8*e)),i};s.prototype.readIntBE=function(r,e,n){r=r>>>0,e=e>>>0,n||d(r,e,this.length);for(var i=e,a=1,o=this[r+--i];i>0&&(a*=256);)o+=this[r+--i]*a;return a*=128,o>=a&&(o-=Math.pow(2,8*e)),o};s.prototype.readInt8=function(r,e){return r=r>>>0,e||d(r,1,this.length),this[r]&128?(255-this[r]+1)*-1:this[r]};s.prototype.readInt16LE=function(r,e){r=r>>>0,e||d(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||d(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||d(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||d(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||d(r,4,this.length),C.read(this,r,!0,23,4)};s.prototype.readFloatBE=function(r,e){return r=r>>>0,e||d(r,4,this.length),C.read(this,r,!1,23,4)};s.prototype.readDoubleLE=function(r,e){return r=r>>>0,e||d(r,8,this.length),C.read(this,r,!0,52,8)};s.prototype.readDoubleBE=function(r,e){return r=r>>>0,e||d(r,8,this.length),C.read(this,r,!1,52,8)};function w(t,r,e,n,i,a){if(!s.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(r>i||r<a)throw new RangeError('"value" argument is out of bounds');if(e+n>t.length)throw new RangeError("Index out of range")}s.prototype.writeUintLE=s.prototype.writeUIntLE=function(r,e,n,i){if(r=+r,e=e>>>0,n=n>>>0,!i){var a=Math.pow(2,8*n)-1;w(this,r,e,n,a,0)}var o=1,u=0;for(this[e]=r&255;++u<n&&(o*=256);)this[e+u]=r/o&255;return e+n};s.prototype.writeUintBE=s.prototype.writeUIntBE=function(r,e,n,i){if(r=+r,e=e>>>0,n=n>>>0,!i){var a=Math.pow(2,8*n)-1;w(this,r,e,n,a,0)}var o=n-1,u=1;for(this[e+o]=r&255;--o>=0&&(u*=256);)this[e+o]=r/u&255;return e+n};s.prototype.writeUint8=s.prototype.writeUInt8=function(r,e,n){return r=+r,e=e>>>0,n||w(this,r,e,1,255,0),this[e]=r&255,e+1};s.prototype.writeUint16LE=s.prototype.writeUInt16LE=function(r,e,n){return r=+r,e=e>>>0,n||w(this,r,e,2,65535,0),this[e]=r&255,this[e+1]=r>>>8,e+2};s.prototype.writeUint16BE=s.prototype.writeUInt16BE=function(r,e,n){return r=+r,e=e>>>0,n||w(this,r,e,2,65535,0),this[e]=r>>>8,this[e+1]=r&255,e+2};s.prototype.writeUint32LE=s.prototype.writeUInt32LE=function(r,e,n){return r=+r,e=e>>>0,n||w(this,r,e,4,4294967295,0),this[e+3]=r>>>24,this[e+2]=r>>>16,this[e+1]=r>>>8,this[e]=r&255,e+4};s.prototype.writeUint32BE=s.prototype.writeUInt32BE=function(r,e,n){return r=+r,e=e>>>0,n||w(this,r,e,4,4294967295,0),this[e]=r>>>24,this[e+1]=r>>>16,this[e+2]=r>>>8,this[e+3]=r&255,e+4};s.prototype.writeIntLE=function(r,e,n,i){if(r=+r,e=e>>>0,!i){var a=Math.pow(2,8*n-1);w(this,r,e,n,a-1,-a)}var o=0,u=1,p=0;for(this[e]=r&255;++o<n&&(u*=256);)r<0&&p===0&&this[e+o-1]!==0&&(p=1),this[e+o]=(r/u>>0)-p&255;return e+n};s.prototype.writeIntBE=function(r,e,n,i){if(r=+r,e=e>>>0,!i){var a=Math.pow(2,8*n-1);w(this,r,e,n,a-1,-a)}var o=n-1,u=1,p=0;for(this[e+o]=r&255;--o>=0&&(u*=256);)r<0&&p===0&&this[e+o+1]!==0&&(p=1),this[e+o]=(r/u>>0)-p&255;return e+n};s.prototype.writeInt8=function(r,e,n){return r=+r,e=e>>>0,n||w(this,r,e,1,127,-128),r<0&&(r=255+r+1),this[e]=r&255,e+1};s.prototype.writeInt16LE=function(r,e,n){return r=+r,e=e>>>0,n||w(this,r,e,2,32767,-32768),this[e]=r&255,this[e+1]=r>>>8,e+2};s.prototype.writeInt16BE=function(r,e,n){return r=+r,e=e>>>0,n||w(this,r,e,2,32767,-32768),this[e]=r>>>8,this[e+1]=r&255,e+2};s.prototype.writeInt32LE=function(r,e,n){return r=+r,e=e>>>0,n||w(this,r,e,4,2147483647,-2147483648),this[e]=r&255,this[e+1]=r>>>8,this[e+2]=r>>>16,this[e+3]=r>>>24,e+4};s.prototype.writeInt32BE=function(r,e,n){return r=+r,e=e>>>0,n||w(this,r,e,4,2147483647,-2147483648),r<0&&(r=4294967295+r+1),this[e]=r>>>24,this[e+1]=r>>>16,this[e+2]=r>>>8,this[e+3]=r&255,e+4};function yr(t,r,e,n,i,a){if(e+n>t.length)throw new RangeError("Index out of range");if(e<0)throw new RangeError("Index out of range")}function xr(t,r,e,n,i){return r=+r,e=e>>>0,i||yr(t,r,e,4,34028234663852886e22,-34028234663852886e22),C.write(t,r,e,n,23,4),e+4}s.prototype.writeFloatLE=function(r,e,n){return xr(this,r,e,!0,n)};s.prototype.writeFloatBE=function(r,e,n){return xr(this,r,e,!1,n)};function mr(t,r,e,n,i){return r=+r,e=e>>>0,i||yr(t,r,e,8,17976931348623157e292,-17976931348623157e292),C.write(t,r,e,n,52,8),e+8}s.prototype.writeDoubleLE=function(r,e,n){return mr(this,r,e,!0,n)};s.prototype.writeDoubleBE=function(r,e,n){return mr(this,r,e,!1,n)};s.prototype.copy=function(r,e,n,i){if(!s.isBuffer(r))throw new TypeError("argument should be a Buffer");if(n||(n=0),!i&&i!==0&&(i=this.length),e>=r.length&&(e=r.length),e||(e=0),i>0&&i<n&&(i=n),i===n||r.length===0||this.length===0)return 0;if(e<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw new RangeError("Index out of range");if(i<0)throw new RangeError("sourceEnd out of bounds");i>this.length&&(i=this.length),r.length-e<i-n&&(i=r.length-e+n);var a=i-n;return this===r&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(e,n,i):Uint8Array.prototype.set.call(r,this.subarray(n,i),e),a};s.prototype.fill=function(r,e,n,i){if(typeof r=="string"){if(typeof e=="string"?(i=e,e=0,n=this.length):typeof n=="string"&&(i=n,n=this.length),i!==void 0&&typeof i!="string")throw new TypeError("encoding must be a string");if(typeof i=="string"&&!s.isEncoding(i))throw new TypeError("Unknown encoding: "+i);if(r.length===1){var a=r.charCodeAt(0);(i==="utf8"&&a<128||i==="latin1")&&(r=a)}}else typeof r=="number"?r=r&255:typeof r=="boolean"&&(r=Number(r));if(e<0||this.length<e||this.length<n)throw new RangeError("Out of range index");if(n<=e)return this;e=e>>>0,n=n===void 0?this.length:n>>>0,r||(r=0);var o;if(typeof r=="number")for(o=e;o<n;++o)this[o]=r;else{var u=s.isBuffer(r)?r:s.from(r,i),p=u.length;if(p===0)throw new TypeError('The value "'+r+'" is invalid for argument "value"');for(o=0;o<n-e;++o)this[o+e]=u[o%p]}return this};var oe=/[^+/0-9A-Za-z-_]/g;function se(t){if(t=t.split("=")[0],t=t.trim().replace(oe,""),t.length<2)return"";for(;t.length%4!==0;)t=t+"=";return t}function J(t,r){r=r||1/0;for(var e,n=t.length,i=null,a=[],o=0;o<n;++o){if(e=t.charCodeAt(o),e>55295&&e<57344){if(!i){if(e>56319){(r-=3)>-1&&a.push(239,191,189);continue}else if(o+1===n){(r-=3)>-1&&a.push(239,191,189);continue}i=e;continue}if(e<56320){(r-=3)>-1&&a.push(239,191,189),i=e;continue}e=(i-55296<<10|e-56320)+65536}else i&&(r-=3)>-1&&a.push(239,191,189);if(i=null,e<128){if((r-=1)<0)break;a.push(e)}else if(e<2048){if((r-=2)<0)break;a.push(e>>6|192,e&63|128)}else if(e<65536){if((r-=3)<0)break;a.push(e>>12|224,e>>6&63|128,e&63|128)}else if(e<1114112){if((r-=4)<0)break;a.push(e>>18|240,e>>12&63|128,e>>6&63|128,e&63|128)}else throw new Error("Invalid code point")}return a}function ue(t){for(var r=[],e=0;e<t.length;++e)r.push(t.charCodeAt(e)&255);return r}function pe(t,r){for(var e,n,i,a=[],o=0;o<t.length&&!((r-=2)<0);++o)e=t.charCodeAt(o),n=e>>8,i=e%256,a.push(i),a.push(n);return a}function wr(t){return Q.toByteArray(se(t))}function H(t,r,e,n){for(var i=0;i<n&&!(i+e>=r.length||i>=t.length);++i)r[i+e]=t[i];return i}function I(t,r){return t instanceof r||t!=null&&t.constructor!=null&&t.constructor.name!=null&&t.constructor.name===r.name}function Z(t){return t!==t}var ce=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 br=P((we,Ir)=>{g();var h=Ir.exports={},b,S;function V(){throw new Error("setTimeout has not been defined")}function rr(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?b=setTimeout:b=V}catch(t){b=V}try{typeof clearTimeout=="function"?S=clearTimeout:S=rr}catch(t){S=rr}})();function vr(t){if(b===setTimeout)return setTimeout(t,0);if((b===V||!b)&&setTimeout)return b=setTimeout,setTimeout(t,0);try{return b(t,0)}catch(r){try{return b.call(null,t,0)}catch(e){return b.call(this,t,0)}}}function le(t){if(S===clearTimeout)return clearTimeout(t);if((S===rr||!S)&&clearTimeout)return S=clearTimeout,clearTimeout(t);try{return S(t)}catch(r){try{return S.call(null,t)}catch(e){return S.call(this,t)}}}var A=[],N=!1,U,q=-1;function fe(){!N||!U||(N=!1,U.length?A=U.concat(A):q=-1,A.length&&Fr())}function Fr(){if(!N){var t=vr(fe);N=!0;for(var r=A.length;r;){for(U=A,A=[];++q<r;)U&&U[q].run();q=-1,r=A.length}U=null,N=!1,le(t)}}h.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];A.push(new kr(t,r)),A.length===1&&!N&&vr(Fr)};function kr(t,r){this.fun=t,this.array=r}kr.prototype.run=function(){this.fun.apply(null,this.array)};h.title="browser";h.browser=!0;h.env={};h.argv=[];h.version="";h.versions={};function R(){}h.on=R;h.addListener=R;h.once=R;h.off=R;h.removeListener=R;h.removeAllListeners=R;h.emit=R;h.prependListener=R;h.prependOnceListener=R;h.listeners=function(t){return[]};h.binding=function(t){throw new Error("process.binding is not supported")};h.cwd=function(){return"/"};h.chdir=function(t){throw new Error("process.chdir is not supported")};h.umask=function(){return 0}});var y,x,Te,g=Ur(()=>{y=nr(Tr()),x=nr(br()),Te=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 he={};Er(he,{useDataDecodeMethod:()=>ge});module.exports=Cr(he);g();var Y=require("react");g();g();g();g();g();g();g();g();var er=(i=>(i.raw="raw",i.text="text",i.decimal="decimal",i.smart="smart",i))(er||{});g();g();var ge=()=>{let{hash:t,pathname:r}=window.location,e=t.replace("#",""),n=e&&Object.values(er).includes(e)?e:"raw",[i,a]=(0,Y.useState)(e);return(0,Y.useEffect)(()=>{i&&i!=="raw"&&window.history.replaceState({},document==null?void 0:document.title,`${r}#${i}`)},[i,r]),{initialDecodeMethod:n,decodeMethod:i,setDecodeMethod:a}};0&&(module.exports={useDataDecodeMethod});
|
|
1
|
+
"use strict";var Br=Object.create;var M=Object.defineProperty;var Ar=Object.getOwnPropertyDescriptor;var Rr=Object.getOwnPropertyNames;var _r=Object.getPrototypeOf,Lr=Object.prototype.hasOwnProperty;var Ur=(t,r)=>()=>(t&&(r=t(t=0)),r);var P=(t,r)=>()=>(r||t((r={exports:{}}).exports,r),r.exports),Er=(t,r)=>{for(var e in r)M(t,e,{get:r[e],enumerable:!0})},tr=(t,r,e,n)=>{if(r&&typeof r=="object"||typeof r=="function")for(let i of Rr(r))!Lr.call(t,i)&&i!==e&&M(t,i,{get:()=>r[i],enumerable:!(n=Ar(r,i))||n.enumerable});return t};var nr=(t,r,e)=>(e=t!=null?Br(_r(t)):{},tr(r||!t||!t.__esModule?M(e,"default",{value:t,enumerable:!0}):e,t)),Cr=t=>tr(M({},"__esModule",{value:!0}),t);var or=P(O=>{"use strict";g();O.byteLength=Nr;O.toByteArray=Pr;O.fromByteArray=Gr;var k=[],v=[],Dr=typeof Uint8Array!="undefined"?Uint8Array:Array,z="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(_=0,ir=z.length;_<ir;++_)k[_]=z[_],v[z.charCodeAt(_)]=_;var _,ir;v["-".charCodeAt(0)]=62;v["_".charCodeAt(0)]=63;function ar(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 Nr(t){var r=ar(t),e=r[0],n=r[1];return(e+n)*3/4-n}function Mr(t,r,e){return(r+e)*3/4-e}function Pr(t){var r,e=ar(t),n=e[0],i=e[1],a=new Dr(Mr(t,n,i)),o=0,u=i>0?n-4:n,p;for(p=0;p<u;p+=4)r=v[t.charCodeAt(p)]<<18|v[t.charCodeAt(p+1)]<<12|v[t.charCodeAt(p+2)]<<6|v[t.charCodeAt(p+3)],a[o++]=r>>16&255,a[o++]=r>>8&255,a[o++]=r&255;return i===2&&(r=v[t.charCodeAt(p)]<<2|v[t.charCodeAt(p+1)]>>4,a[o++]=r&255),i===1&&(r=v[t.charCodeAt(p)]<<10|v[t.charCodeAt(p+1)]<<4|v[t.charCodeAt(p+2)]>>2,a[o++]=r>>8&255,a[o++]=r&255),a}function Or(t){return k[t>>18&63]+k[t>>12&63]+k[t>>6&63]+k[t&63]}function Hr(t,r,e){for(var n,i=[],a=r;a<e;a+=3)n=(t[a]<<16&16711680)+(t[a+1]<<8&65280)+(t[a+2]&255),i.push(Or(n));return i.join("")}function Gr(t){for(var r,e=t.length,n=e%3,i=[],a=16383,o=0,u=e-n;o<u;o+=a)i.push(Hr(t,o,o+a>u?u:o+a));return n===1?(r=t[e-1],i.push(k[r>>2]+k[r<<4&63]+"==")):n===2&&(r=(t[e-2]<<8)+t[e-1],i.push(k[r>>10]+k[r>>4&63]+k[r<<2&63]+"=")),i.join("")}});var sr=P(W=>{g();W.read=function(t,r,e,n,i){var a,o,u=i*8-n-1,p=(1<<u)-1,l=p>>1,f=-7,c=e?i-1:0,F=e?-1:1,T=t[r+c];for(c+=F,a=T&(1<<-f)-1,T>>=-f,f+=u;f>0;a=a*256+t[r+c],c+=F,f-=8);for(o=a&(1<<-f)-1,a>>=-f,f+=n;f>0;o=o*256+t[r+c],c+=F,f-=8);if(a===0)a=1-l;else{if(a===p)return o?NaN:(T?-1:1)*(1/0);o=o+Math.pow(2,n),a=a-l}return(T?-1:1)*o*Math.pow(2,a-n)};W.write=function(t,r,e,n,i,a){var o,u,p,l=a*8-i-1,f=(1<<l)-1,c=f>>1,F=i===23?Math.pow(2,-24)-Math.pow(2,-77):0,T=n?0:a-1,E=n?1:-1,Sr=r<0||r===0&&1/r<0?1:0;for(r=Math.abs(r),isNaN(r)||r===1/0?(u=isNaN(r)?1:0,o=f):(o=Math.floor(Math.log(r)/Math.LN2),r*(p=Math.pow(2,-o))<1&&(o--,p*=2),o+c>=1?r+=F/p:r+=F*Math.pow(2,1-c),r*p>=2&&(o++,p/=2),o+c>=f?(u=0,o=f):o+c>=1?(u=(r*p-1)*Math.pow(2,i),o=o+c):(u=r*Math.pow(2,c-1)*Math.pow(2,i),o=0));i>=8;t[e+T]=u&255,T+=E,u/=256,i-=8);for(o=o<<i|u,l+=i;l>0;t[e+T]=o&255,T+=E,o/=256,l-=8);t[e+T-E]|=Sr*128}});var Tr=P(D=>{"use strict";g();var Q=or(),C=sr(),ur=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;D.Buffer=s;D.SlowBuffer=Xr;D.INSPECT_MAX_BYTES=50;var H=2147483647;D.kMaxLength=H;s.TYPED_ARRAY_SUPPORT=qr();!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 qr(){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>H)throw new RangeError('The value "'+t+'" is invalid for option "size"');var r=new Uint8Array(t);return Object.setPrototypeOf(r,s.prototype),r}function s(t,r,e){if(typeof t=="number"){if(typeof r=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return $(t)}return lr(t,r,e)}s.poolSize=8192;function lr(t,r,e){if(typeof t=="string")return zr(t,r);if(ArrayBuffer.isView(t))return Wr(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(I(t,ArrayBuffer)||t&&I(t.buffer,ArrayBuffer)||typeof SharedArrayBuffer!="undefined"&&(I(t,SharedArrayBuffer)||t&&I(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=Qr(t);if(i)return i;if(typeof Symbol!="undefined"&&Symbol.toPrimitive!=null&&typeof t[Symbol.toPrimitive]=="function")return s.from(t[Symbol.toPrimitive]("string"),r,e);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t)}s.from=function(t,r,e){return lr(t,r,e)};Object.setPrototypeOf(s.prototype,Uint8Array.prototype);Object.setPrototypeOf(s,Uint8Array);function fr(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 Yr(t,r,e){return fr(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 Yr(t,r,e)};function $(t){return fr(t),B(t<0?0:K(t)|0)}s.allocUnsafe=function(t){return $(t)};s.allocUnsafeSlow=function(t){return $(t)};function zr(t,r){if((typeof r!="string"||r==="")&&(r="utf8"),!s.isEncoding(r))throw new TypeError("Unknown encoding: "+r);var e=gr(t,r)|0,n=B(e),i=n.write(t,r);return i!==e&&(n=n.slice(0,i)),n}function X(t){for(var r=t.length<0?0:K(t.length)|0,e=B(r),n=0;n<r;n+=1)e[n]=t[n]&255;return e}function Wr(t){if(I(t,Uint8Array)){var r=new Uint8Array(t);return j(r.buffer,r.byteOffset,r.byteLength)}return X(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 Qr(t){if(s.isBuffer(t)){var r=K(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"||Z(t.length)?B(0):X(t);if(t.type==="Buffer"&&Array.isArray(t.data))return X(t.data)}function K(t){if(t>=H)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+H.toString(16)+" bytes");return t|0}function Xr(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(I(r,Uint8Array)&&(r=s.from(r,r.offset,r.byteLength)),I(e,Uint8Array)&&(e=s.from(e,e.offset,e.byteLength)),!s.isBuffer(r)||!s.isBuffer(e))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(r===e)return 0;for(var n=r.length,i=e.length,a=0,o=Math.min(n,i);a<o;++a)if(r[a]!==e[a]){n=r[a],i=e[a];break}return n<i?-1:i<n?1:0};s.isEncoding=function(r){switch(String(r).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}};s.concat=function(r,e){if(!Array.isArray(r))throw new TypeError('"list" argument must be an Array of Buffers');if(r.length===0)return s.alloc(0);var n;if(e===void 0)for(e=0,n=0;n<r.length;++n)e+=r[n].length;var i=s.allocUnsafe(e),a=0;for(n=0;n<r.length;++n){var o=r[n];if(I(o,Uint8Array))a+o.length>i.length?s.from(o).copy(i,a):Uint8Array.prototype.set.call(i,o,a);else if(s.isBuffer(o))o.copy(i,a);else throw new TypeError('"list" argument must be an Array of Buffers');a+=o.length}return i};function gr(t,r){if(s.isBuffer(t))return t.length;if(ArrayBuffer.isView(t)||I(t,ArrayBuffer))return t.byteLength;if(typeof t!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof t);var e=t.length,n=arguments.length>2&&arguments[2]===!0;if(!n&&e===0)return 0;for(var i=!1;;)switch(r){case"ascii":case"latin1":case"binary":return e;case"utf8":case"utf-8":return J(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return e*2;case"hex":return e>>>1;case"base64":return wr(t).length;default:if(i)return n?-1:J(t).length;r=(""+r).toLowerCase(),i=!0}}s.byteLength=gr;function jr(t,r,e){var n=!1;if((r===void 0||r<0)&&(r=0),r>this.length||((e===void 0||e>this.length)&&(e=this.length),e<=0)||(e>>>=0,r>>>=0,e<=r))return"";for(t||(t="utf8");;)switch(t){case"hex":return ie(this,r,e);case"utf8":case"utf-8":return dr(this,r,e);case"ascii":return te(this,r,e);case"latin1":case"binary":return ne(this,r,e);case"base64":return re(this,r,e);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return ae(this,r,e);default:if(n)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),n=!0}}s.prototype._isBuffer=!0;function L(t,r,e){var n=t[r];t[r]=t[e],t[e]=n}s.prototype.swap16=function(){var r=this.length;if(r%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var e=0;e<r;e+=2)L(this,e,e+1);return this};s.prototype.swap32=function(){var r=this.length;if(r%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var e=0;e<r;e+=4)L(this,e,e+3),L(this,e+1,e+2);return this};s.prototype.swap64=function(){var r=this.length;if(r%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var e=0;e<r;e+=8)L(this,e,e+7),L(this,e+1,e+6),L(this,e+2,e+5),L(this,e+3,e+4);return this};s.prototype.toString=function(){var r=this.length;return r===0?"":arguments.length===0?dr(this,0,r):jr.apply(this,arguments)};s.prototype.toLocaleString=s.prototype.toString;s.prototype.equals=function(r){if(!s.isBuffer(r))throw new TypeError("Argument must be a Buffer");return this===r?!0:s.compare(this,r)===0};s.prototype.inspect=function(){var r="",e=D.INSPECT_MAX_BYTES;return r=this.toString("hex",0,e).replace(/(.{2})/g,"$1 ").trim(),this.length>e&&(r+=" ... "),"<Buffer "+r+">"};ur&&(s.prototype[ur]=s.prototype.inspect);s.prototype.compare=function(r,e,n,i,a){if(I(r,Uint8Array)&&(r=s.from(r,r.offset,r.byteLength)),!s.isBuffer(r))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof r);if(e===void 0&&(e=0),n===void 0&&(n=r?r.length:0),i===void 0&&(i=0),a===void 0&&(a=this.length),e<0||n>r.length||i<0||a>this.length)throw new RangeError("out of range index");if(i>=a&&e>=n)return 0;if(i>=a)return-1;if(e>=n)return 1;if(e>>>=0,n>>>=0,i>>>=0,a>>>=0,this===r)return 0;for(var o=a-i,u=n-e,p=Math.min(o,u),l=this.slice(i,a),f=r.slice(e,n),c=0;c<p;++c)if(l[c]!==f[c]){o=l[c],u=f[c];break}return o<u?-1:u<o?1:0};function hr(t,r,e,n,i){if(t.length===0)return-1;if(typeof e=="string"?(n=e,e=0):e>2147483647?e=2147483647:e<-2147483648&&(e=-2147483648),e=+e,Z(e)&&(e=i?0:t.length-1),e<0&&(e=t.length+e),e>=t.length){if(i)return-1;e=t.length-1}else if(e<0)if(i)e=0;else return-1;if(typeof r=="string"&&(r=s.from(r,n)),s.isBuffer(r))return r.length===0?-1:pr(t,r,e,n,i);if(typeof r=="number")return r=r&255,typeof Uint8Array.prototype.indexOf=="function"?i?Uint8Array.prototype.indexOf.call(t,r,e):Uint8Array.prototype.lastIndexOf.call(t,r,e):pr(t,[r],e,n,i);throw new TypeError("val must be string, number or Buffer")}function pr(t,r,e,n,i){var a=1,o=t.length,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;a=2,o/=2,u/=2,e/=2}function p(T,E){return a===1?T[E]:T.readUInt16BE(E*a)}var l;if(i){var f=-1;for(l=e;l<o;l++)if(p(t,l)===p(r,f===-1?0:l-f)){if(f===-1&&(f=l),l-f+1===u)return f*a}else f!==-1&&(l-=l-f),f=-1}else for(e+u>o&&(e=o-u),l=e;l>=0;l--){for(var c=!0,F=0;F<u;F++)if(p(t,l+F)!==p(r,F)){c=!1;break}if(c)return l}return-1}s.prototype.includes=function(r,e,n){return this.indexOf(r,e,n)!==-1};s.prototype.indexOf=function(r,e,n){return hr(this,r,e,n,!0)};s.prototype.lastIndexOf=function(r,e,n){return hr(this,r,e,n,!1)};function Jr(t,r,e,n){e=Number(e)||0;var i=t.length-e;n?(n=Number(n),n>i&&(n=i)):n=i;var a=r.length;n>a/2&&(n=a/2);for(var o=0;o<n;++o){var u=parseInt(r.substr(o*2,2),16);if(Z(u))return o;t[e+o]=u}return o}function $r(t,r,e,n){return G(J(r,t.length-e),t,e,n)}function Kr(t,r,e,n){return G(ue(r),t,e,n)}function Zr(t,r,e,n){return G(wr(r),t,e,n)}function Vr(t,r,e,n){return G(pe(r,t.length-e),t,e,n)}s.prototype.write=function(r,e,n,i){if(e===void 0)i="utf8",n=this.length,e=0;else if(n===void 0&&typeof e=="string")i=e,n=this.length,e=0;else if(isFinite(e))e=e>>>0,isFinite(n)?(n=n>>>0,i===void 0&&(i="utf8")):(i=n,n=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var a=this.length-e;if((n===void 0||n>a)&&(n=a),r.length>0&&(n<0||e<0)||e>this.length)throw new RangeError("Attempt to write outside buffer bounds");i||(i="utf8");for(var o=!1;;)switch(i){case"hex":return Jr(this,r,e,n);case"utf8":case"utf-8":return $r(this,r,e,n);case"ascii":case"latin1":case"binary":return Kr(this,r,e,n);case"base64":return Zr(this,r,e,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Vr(this,r,e,n);default:if(o)throw new TypeError("Unknown encoding: "+i);i=(""+i).toLowerCase(),o=!0}};s.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function re(t,r,e){return r===0&&e===t.length?Q.fromByteArray(t):Q.fromByteArray(t.slice(r,e))}function dr(t,r,e){e=Math.min(t.length,e);for(var n=[],i=r;i<e;){var a=t[i],o=null,u=a>239?4:a>223?3:a>191?2:1;if(i+u<=e){var p,l,f,c;switch(u){case 1:a<128&&(o=a);break;case 2:p=t[i+1],(p&192)===128&&(c=(a&31)<<6|p&63,c>127&&(o=c));break;case 3:p=t[i+1],l=t[i+2],(p&192)===128&&(l&192)===128&&(c=(a&15)<<12|(p&63)<<6|l&63,c>2047&&(c<55296||c>57343)&&(o=c));break;case 4:p=t[i+1],l=t[i+2],f=t[i+3],(p&192)===128&&(l&192)===128&&(f&192)===128&&(c=(a&15)<<18|(p&63)<<12|(l&63)<<6|f&63,c>65535&&c<1114112&&(o=c))}}o===null?(o=65533,u=1):o>65535&&(o-=65536,n.push(o>>>10&1023|55296),o=56320|o&1023),n.push(o),i+=u}return ee(n)}var cr=4096;function ee(t){var r=t.length;if(r<=cr)return String.fromCharCode.apply(String,t);for(var e="",n=0;n<r;)e+=String.fromCharCode.apply(String,t.slice(n,n+=cr));return e}function te(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 ne(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 ie(t,r,e){var n=t.length;(!r||r<0)&&(r=0),(!e||e<0||e>n)&&(e=n);for(var i="",a=r;a<e;++a)i+=ce[t[a]];return i}function ae(t,r,e){for(var n=t.slice(r,e),i="",a=0;a<n.length-1;a+=2)i+=String.fromCharCode(n[a]+n[a+1]*256);return i}s.prototype.slice=function(r,e){var n=this.length;r=~~r,e=e===void 0?n:~~e,r<0?(r+=n,r<0&&(r=0)):r>n&&(r=n),e<0?(e+=n,e<0&&(e=0)):e>n&&(e=n),e<r&&(e=r);var i=this.subarray(r,e);return Object.setPrototypeOf(i,s.prototype),i};function d(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||d(r,e,this.length);for(var i=this[r],a=1,o=0;++o<e&&(a*=256);)i+=this[r+o]*a;return i};s.prototype.readUintBE=s.prototype.readUIntBE=function(r,e,n){r=r>>>0,e=e>>>0,n||d(r,e,this.length);for(var i=this[r+--e],a=1;e>0&&(a*=256);)i+=this[r+--e]*a;return i};s.prototype.readUint8=s.prototype.readUInt8=function(r,e){return r=r>>>0,e||d(r,1,this.length),this[r]};s.prototype.readUint16LE=s.prototype.readUInt16LE=function(r,e){return r=r>>>0,e||d(r,2,this.length),this[r]|this[r+1]<<8};s.prototype.readUint16BE=s.prototype.readUInt16BE=function(r,e){return r=r>>>0,e||d(r,2,this.length),this[r]<<8|this[r+1]};s.prototype.readUint32LE=s.prototype.readUInt32LE=function(r,e){return r=r>>>0,e||d(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||d(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||d(r,e,this.length);for(var i=this[r],a=1,o=0;++o<e&&(a*=256);)i+=this[r+o]*a;return a*=128,i>=a&&(i-=Math.pow(2,8*e)),i};s.prototype.readIntBE=function(r,e,n){r=r>>>0,e=e>>>0,n||d(r,e,this.length);for(var i=e,a=1,o=this[r+--i];i>0&&(a*=256);)o+=this[r+--i]*a;return a*=128,o>=a&&(o-=Math.pow(2,8*e)),o};s.prototype.readInt8=function(r,e){return r=r>>>0,e||d(r,1,this.length),this[r]&128?(255-this[r]+1)*-1:this[r]};s.prototype.readInt16LE=function(r,e){r=r>>>0,e||d(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||d(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||d(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||d(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||d(r,4,this.length),C.read(this,r,!0,23,4)};s.prototype.readFloatBE=function(r,e){return r=r>>>0,e||d(r,4,this.length),C.read(this,r,!1,23,4)};s.prototype.readDoubleLE=function(r,e){return r=r>>>0,e||d(r,8,this.length),C.read(this,r,!0,52,8)};s.prototype.readDoubleBE=function(r,e){return r=r>>>0,e||d(r,8,this.length),C.read(this,r,!1,52,8)};function w(t,r,e,n,i,a){if(!s.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(r>i||r<a)throw new RangeError('"value" argument is out of bounds');if(e+n>t.length)throw new RangeError("Index out of range")}s.prototype.writeUintLE=s.prototype.writeUIntLE=function(r,e,n,i){if(r=+r,e=e>>>0,n=n>>>0,!i){var a=Math.pow(2,8*n)-1;w(this,r,e,n,a,0)}var o=1,u=0;for(this[e]=r&255;++u<n&&(o*=256);)this[e+u]=r/o&255;return e+n};s.prototype.writeUintBE=s.prototype.writeUIntBE=function(r,e,n,i){if(r=+r,e=e>>>0,n=n>>>0,!i){var a=Math.pow(2,8*n)-1;w(this,r,e,n,a,0)}var o=n-1,u=1;for(this[e+o]=r&255;--o>=0&&(u*=256);)this[e+o]=r/u&255;return e+n};s.prototype.writeUint8=s.prototype.writeUInt8=function(r,e,n){return r=+r,e=e>>>0,n||w(this,r,e,1,255,0),this[e]=r&255,e+1};s.prototype.writeUint16LE=s.prototype.writeUInt16LE=function(r,e,n){return r=+r,e=e>>>0,n||w(this,r,e,2,65535,0),this[e]=r&255,this[e+1]=r>>>8,e+2};s.prototype.writeUint16BE=s.prototype.writeUInt16BE=function(r,e,n){return r=+r,e=e>>>0,n||w(this,r,e,2,65535,0),this[e]=r>>>8,this[e+1]=r&255,e+2};s.prototype.writeUint32LE=s.prototype.writeUInt32LE=function(r,e,n){return r=+r,e=e>>>0,n||w(this,r,e,4,4294967295,0),this[e+3]=r>>>24,this[e+2]=r>>>16,this[e+1]=r>>>8,this[e]=r&255,e+4};s.prototype.writeUint32BE=s.prototype.writeUInt32BE=function(r,e,n){return r=+r,e=e>>>0,n||w(this,r,e,4,4294967295,0),this[e]=r>>>24,this[e+1]=r>>>16,this[e+2]=r>>>8,this[e+3]=r&255,e+4};s.prototype.writeIntLE=function(r,e,n,i){if(r=+r,e=e>>>0,!i){var a=Math.pow(2,8*n-1);w(this,r,e,n,a-1,-a)}var o=0,u=1,p=0;for(this[e]=r&255;++o<n&&(u*=256);)r<0&&p===0&&this[e+o-1]!==0&&(p=1),this[e+o]=(r/u>>0)-p&255;return e+n};s.prototype.writeIntBE=function(r,e,n,i){if(r=+r,e=e>>>0,!i){var a=Math.pow(2,8*n-1);w(this,r,e,n,a-1,-a)}var o=n-1,u=1,p=0;for(this[e+o]=r&255;--o>=0&&(u*=256);)r<0&&p===0&&this[e+o+1]!==0&&(p=1),this[e+o]=(r/u>>0)-p&255;return e+n};s.prototype.writeInt8=function(r,e,n){return r=+r,e=e>>>0,n||w(this,r,e,1,127,-128),r<0&&(r=255+r+1),this[e]=r&255,e+1};s.prototype.writeInt16LE=function(r,e,n){return r=+r,e=e>>>0,n||w(this,r,e,2,32767,-32768),this[e]=r&255,this[e+1]=r>>>8,e+2};s.prototype.writeInt16BE=function(r,e,n){return r=+r,e=e>>>0,n||w(this,r,e,2,32767,-32768),this[e]=r>>>8,this[e+1]=r&255,e+2};s.prototype.writeInt32LE=function(r,e,n){return r=+r,e=e>>>0,n||w(this,r,e,4,2147483647,-2147483648),this[e]=r&255,this[e+1]=r>>>8,this[e+2]=r>>>16,this[e+3]=r>>>24,e+4};s.prototype.writeInt32BE=function(r,e,n){return r=+r,e=e>>>0,n||w(this,r,e,4,2147483647,-2147483648),r<0&&(r=4294967295+r+1),this[e]=r>>>24,this[e+1]=r>>>16,this[e+2]=r>>>8,this[e+3]=r&255,e+4};function yr(t,r,e,n,i,a){if(e+n>t.length)throw new RangeError("Index out of range");if(e<0)throw new RangeError("Index out of range")}function xr(t,r,e,n,i){return r=+r,e=e>>>0,i||yr(t,r,e,4,34028234663852886e22,-34028234663852886e22),C.write(t,r,e,n,23,4),e+4}s.prototype.writeFloatLE=function(r,e,n){return xr(this,r,e,!0,n)};s.prototype.writeFloatBE=function(r,e,n){return xr(this,r,e,!1,n)};function mr(t,r,e,n,i){return r=+r,e=e>>>0,i||yr(t,r,e,8,17976931348623157e292,-17976931348623157e292),C.write(t,r,e,n,52,8),e+8}s.prototype.writeDoubleLE=function(r,e,n){return mr(this,r,e,!0,n)};s.prototype.writeDoubleBE=function(r,e,n){return mr(this,r,e,!1,n)};s.prototype.copy=function(r,e,n,i){if(!s.isBuffer(r))throw new TypeError("argument should be a Buffer");if(n||(n=0),!i&&i!==0&&(i=this.length),e>=r.length&&(e=r.length),e||(e=0),i>0&&i<n&&(i=n),i===n||r.length===0||this.length===0)return 0;if(e<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw new RangeError("Index out of range");if(i<0)throw new RangeError("sourceEnd out of bounds");i>this.length&&(i=this.length),r.length-e<i-n&&(i=r.length-e+n);var a=i-n;return this===r&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(e,n,i):Uint8Array.prototype.set.call(r,this.subarray(n,i),e),a};s.prototype.fill=function(r,e,n,i){if(typeof r=="string"){if(typeof e=="string"?(i=e,e=0,n=this.length):typeof n=="string"&&(i=n,n=this.length),i!==void 0&&typeof i!="string")throw new TypeError("encoding must be a string");if(typeof i=="string"&&!s.isEncoding(i))throw new TypeError("Unknown encoding: "+i);if(r.length===1){var a=r.charCodeAt(0);(i==="utf8"&&a<128||i==="latin1")&&(r=a)}}else typeof r=="number"?r=r&255:typeof r=="boolean"&&(r=Number(r));if(e<0||this.length<e||this.length<n)throw new RangeError("Out of range index");if(n<=e)return this;e=e>>>0,n=n===void 0?this.length:n>>>0,r||(r=0);var o;if(typeof r=="number")for(o=e;o<n;++o)this[o]=r;else{var u=s.isBuffer(r)?r:s.from(r,i),p=u.length;if(p===0)throw new TypeError('The value "'+r+'" is invalid for argument "value"');for(o=0;o<n-e;++o)this[o+e]=u[o%p]}return this};var oe=/[^+/0-9A-Za-z-_]/g;function se(t){if(t=t.split("=")[0],t=t.trim().replace(oe,""),t.length<2)return"";for(;t.length%4!==0;)t=t+"=";return t}function J(t,r){r=r||1/0;for(var e,n=t.length,i=null,a=[],o=0;o<n;++o){if(e=t.charCodeAt(o),e>55295&&e<57344){if(!i){if(e>56319){(r-=3)>-1&&a.push(239,191,189);continue}else if(o+1===n){(r-=3)>-1&&a.push(239,191,189);continue}i=e;continue}if(e<56320){(r-=3)>-1&&a.push(239,191,189),i=e;continue}e=(i-55296<<10|e-56320)+65536}else i&&(r-=3)>-1&&a.push(239,191,189);if(i=null,e<128){if((r-=1)<0)break;a.push(e)}else if(e<2048){if((r-=2)<0)break;a.push(e>>6|192,e&63|128)}else if(e<65536){if((r-=3)<0)break;a.push(e>>12|224,e>>6&63|128,e&63|128)}else if(e<1114112){if((r-=4)<0)break;a.push(e>>18|240,e>>12&63|128,e>>6&63|128,e&63|128)}else throw new Error("Invalid code point")}return a}function ue(t){for(var r=[],e=0;e<t.length;++e)r.push(t.charCodeAt(e)&255);return r}function pe(t,r){for(var e,n,i,a=[],o=0;o<t.length&&!((r-=2)<0);++o)e=t.charCodeAt(o),n=e>>8,i=e%256,a.push(i),a.push(n);return a}function wr(t){return Q.toByteArray(se(t))}function G(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 I(t,r){return t instanceof r||t!=null&&t.constructor!=null&&t.constructor.name!=null&&t.constructor.name===r.name}function Z(t){return t!==t}var ce=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 br=P((we,Ir)=>{g();var h=Ir.exports={},b,S;function V(){throw new Error("setTimeout has not been defined")}function rr(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?b=setTimeout:b=V}catch(t){b=V}try{typeof clearTimeout=="function"?S=clearTimeout:S=rr}catch(t){S=rr}})();function vr(t){if(b===setTimeout)return setTimeout(t,0);if((b===V||!b)&&setTimeout)return b=setTimeout,setTimeout(t,0);try{return b(t,0)}catch(r){try{return b.call(null,t,0)}catch(e){return b.call(this,t,0)}}}function le(t){if(S===clearTimeout)return clearTimeout(t);if((S===rr||!S)&&clearTimeout)return S=clearTimeout,clearTimeout(t);try{return S(t)}catch(r){try{return S.call(null,t)}catch(e){return S.call(this,t)}}}var A=[],N=!1,U,q=-1;function fe(){!N||!U||(N=!1,U.length?A=U.concat(A):q=-1,A.length&&Fr())}function Fr(){if(!N){var t=vr(fe);N=!0;for(var r=A.length;r;){for(U=A,A=[];++q<r;)U&&U[q].run();q=-1,r=A.length}U=null,N=!1,le(t)}}h.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];A.push(new kr(t,r)),A.length===1&&!N&&vr(Fr)};function kr(t,r){this.fun=t,this.array=r}kr.prototype.run=function(){this.fun.apply(null,this.array)};h.title="browser";h.browser=!0;h.env={};h.argv=[];h.version="";h.versions={};function R(){}h.on=R;h.addListener=R;h.once=R;h.off=R;h.removeListener=R;h.removeAllListeners=R;h.emit=R;h.prependListener=R;h.prependOnceListener=R;h.listeners=function(t){return[]};h.binding=function(t){throw new Error("process.binding is not supported")};h.cwd=function(){return"/"};h.chdir=function(t){throw new Error("process.chdir is not supported")};h.umask=function(){return 0}});var y,x,Te,g=Ur(()=>{y=nr(Tr()),x=nr(br()),Te=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 he={};Er(he,{useDataDecodeMethod:()=>ge});module.exports=Cr(he);g();var Y=require("react");g();g();g();g();g();g();g();g();var er=(i=>(i.raw="raw",i.text="text",i.decimal="decimal",i.smart="smart",i))(er||{});g();g();var ge=()=>{let{hash:t,pathname:r}=window.location,e=t.replace("#",""),n=e&&Object.values(er).includes(e)?e:"raw",[i,a]=(0,Y.useState)(e);return(0,Y.useEffect)(()=>{i&&i!=="raw"&&window.history.replaceState({},document==null?void 0:document.title,`${r}#${i}`)},[i,r]),{initialDecodeMethod:n,decodeMethod:i,setDecodeMethod:a}};0&&(module.exports={useDataDecodeMethod});
|
|
2
2
|
/*!
|
|
3
3
|
* The buffer module from node.js, for the browser.
|
|
4
4
|
*
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";var ui=Object.create;var xe=Object.defineProperty,di=Object.defineProperties,mi=Object.getOwnPropertyDescriptor,gi=Object.getOwnPropertyDescriptors,fi=Object.getOwnPropertyNames,Me=Object.getOwnPropertySymbols,Ti=Object.getPrototypeOf,It=Object.prototype.hasOwnProperty,Ir=Object.prototype.propertyIsEnumerable;var vr=(e,t,r)=>t in e?xe(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,y=(e,t)=>{for(var r in t||(t={}))It.call(t,r)&&vr(e,r,t[r]);if(Me)for(var r of Me(t))Ir.call(t,r)&&vr(e,r,t[r]);return e},w=(e,t)=>di(e,gi(t));var br=e=>typeof e=="symbol"?e:e+"",Oe=(e,t)=>{var r={};for(var o in e)It.call(e,o)&&t.indexOf(o)<0&&(r[o]=e[o]);if(e!=null&&Me)for(var o of Me(e))t.indexOf(o)<0&&Ir.call(e,o)&&(r[o]=e[o]);return r};var T=(e,t)=>()=>(e&&(t=e(e=0)),t);var Fe=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),se=(e,t)=>{for(var r in t)xe(e,r,{get:t[r],enumerable:!0})},Er=(e,t,r,o)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of fi(t))!It.call(e,i)&&i!==r&&xe(e,i,{get:()=>t[i],enumerable:!(o=mi(t,i))||o.enumerable});return e};var S=(e,t,r)=>(r=e!=null?ui(Ti(e)):{},Er(t||!e||!e.__esModule?xe(r,"default",{value:e,enumerable:!0}):r,e)),Se=e=>Er(xe({},"__esModule",{value:!0}),e);var E=(e,t,r)=>new Promise((o,i)=>{var p=d=>{try{m(r.next(d))}catch(f){i(f)}},l=d=>{try{m(r.throw(d))}catch(f){i(f)}},m=d=>d.done?o(d.value):Promise.resolve(d.value).then(p,l);m((r=r.apply(e,t)).next())});var Dr=Fe(Be=>{"use strict";n();Be.byteLength=hi;Be.toByteArray=Si;Be.fromByteArray=vi;var G=[],M=[],yi=typeof Uint8Array!="undefined"?Uint8Array:Array,bt="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(ae=0,kr=bt.length;ae<kr;++ae)G[ae]=bt[ae],M[bt.charCodeAt(ae)]=ae;var ae,kr;M["-".charCodeAt(0)]=62;M["_".charCodeAt(0)]=63;function Lr(e){var t=e.length;if(t%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var r=e.indexOf("=");r===-1&&(r=t);var o=r===t?0:4-r%4;return[r,o]}function hi(e){var t=Lr(e),r=t[0],o=t[1];return(r+o)*3/4-o}function xi(e,t,r){return(t+r)*3/4-r}function Si(e){var t,r=Lr(e),o=r[0],i=r[1],p=new yi(xi(e,o,i)),l=0,m=i>0?o-4:o,d;for(d=0;d<m;d+=4)t=M[e.charCodeAt(d)]<<18|M[e.charCodeAt(d+1)]<<12|M[e.charCodeAt(d+2)]<<6|M[e.charCodeAt(d+3)],p[l++]=t>>16&255,p[l++]=t>>8&255,p[l++]=t&255;return i===2&&(t=M[e.charCodeAt(d)]<<2|M[e.charCodeAt(d+1)]>>4,p[l++]=t&255),i===1&&(t=M[e.charCodeAt(d)]<<10|M[e.charCodeAt(d+1)]<<4|M[e.charCodeAt(d+2)]>>2,p[l++]=t>>8&255,p[l++]=t&255),p}function wi(e){return G[e>>18&63]+G[e>>12&63]+G[e>>6&63]+G[e&63]}function Ai(e,t,r){for(var o,i=[],p=t;p<r;p+=3)o=(e[p]<<16&16711680)+(e[p+1]<<8&65280)+(e[p+2]&255),i.push(wi(o));return i.join("")}function vi(e){for(var t,r=e.length,o=r%3,i=[],p=16383,l=0,m=r-o;l<m;l+=p)i.push(Ai(e,l,l+p>m?m:l+p));return o===1?(t=e[r-1],i.push(G[t>>2]+G[t<<4&63]+"==")):o===2&&(t=(e[r-2]<<8)+e[r-1],i.push(G[t>>10]+G[t>>4&63]+G[t<<2&63]+"=")),i.join("")}});var Nr=Fe(Et=>{n();Et.read=function(e,t,r,o,i){var p,l,m=i*8-o-1,d=(1<<m)-1,f=d>>1,x=-7,h=r?i-1:0,D=r?-1:1,b=e[t+h];for(h+=D,p=b&(1<<-x)-1,b>>=-x,x+=m;x>0;p=p*256+e[t+h],h+=D,x-=8);for(l=p&(1<<-x)-1,p>>=-x,x+=o;x>0;l=l*256+e[t+h],h+=D,x-=8);if(p===0)p=1-f;else{if(p===d)return l?NaN:(b?-1:1)*(1/0);l=l+Math.pow(2,o),p=p-f}return(b?-1:1)*l*Math.pow(2,p-o)};Et.write=function(e,t,r,o,i,p){var l,m,d,f=p*8-i-1,x=(1<<f)-1,h=x>>1,D=i===23?Math.pow(2,-24)-Math.pow(2,-77):0,b=o?0:p-1,V=o?1:-1,N=t<0||t===0&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(m=isNaN(t)?1:0,l=x):(l=Math.floor(Math.log(t)/Math.LN2),t*(d=Math.pow(2,-l))<1&&(l--,d*=2),l+h>=1?t+=D/d:t+=D*Math.pow(2,1-h),t*d>=2&&(l++,d/=2),l+h>=x?(m=0,l=x):l+h>=1?(m=(t*d-1)*Math.pow(2,i),l=l+h):(m=t*Math.pow(2,h-1)*Math.pow(2,i),l=0));i>=8;e[r+b]=m&255,b+=V,m/=256,i-=8);for(l=l<<i|m,f+=i;f>0;e[r+b]=l&255,b+=V,l/=256,f-=8);e[r+b-V]|=N*128}});var Wr=Fe(me=>{"use strict";n();var kt=Dr(),de=Nr(),Cr=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;me.Buffer=u;me.SlowBuffer=Di;me.INSPECT_MAX_BYTES=50;var Ue=2147483647;me.kMaxLength=Ue;u.TYPED_ARRAY_SUPPORT=Ii();!u.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 Ii(){try{var e=new Uint8Array(1),t={foo:function(){return 42}};return Object.setPrototypeOf(t,Uint8Array.prototype),Object.setPrototypeOf(e,t),e.foo()===42}catch(r){return!1}}Object.defineProperty(u.prototype,"parent",{enumerable:!0,get:function(){if(!!u.isBuffer(this))return this.buffer}});Object.defineProperty(u.prototype,"offset",{enumerable:!0,get:function(){if(!!u.isBuffer(this))return this.byteOffset}});function K(e){if(e>Ue)throw new RangeError('The value "'+e+'" is invalid for option "size"');var t=new Uint8Array(e);return Object.setPrototypeOf(t,u.prototype),t}function u(e,t,r){if(typeof e=="number"){if(typeof t=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return Ct(e)}return _r(e,t,r)}u.poolSize=8192;function _r(e,t,r){if(typeof e=="string")return Ei(e,t);if(ArrayBuffer.isView(e))return ki(e);if(e==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e);if(W(e,ArrayBuffer)||e&&W(e.buffer,ArrayBuffer)||typeof SharedArrayBuffer!="undefined"&&(W(e,SharedArrayBuffer)||e&&W(e.buffer,SharedArrayBuffer)))return Dt(e,t,r);if(typeof e=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var o=e.valueOf&&e.valueOf();if(o!=null&&o!==e)return u.from(o,t,r);var i=Li(e);if(i)return i;if(typeof Symbol!="undefined"&&Symbol.toPrimitive!=null&&typeof e[Symbol.toPrimitive]=="function")return u.from(e[Symbol.toPrimitive]("string"),t,r);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e)}u.from=function(e,t,r){return _r(e,t,r)};Object.setPrototypeOf(u.prototype,Uint8Array.prototype);Object.setPrototypeOf(u,Uint8Array);function Mr(e){if(typeof e!="number")throw new TypeError('"size" argument must be of type number');if(e<0)throw new RangeError('The value "'+e+'" is invalid for option "size"')}function bi(e,t,r){return Mr(e),e<=0?K(e):t!==void 0?typeof r=="string"?K(e).fill(t,r):K(e).fill(t):K(e)}u.alloc=function(e,t,r){return bi(e,t,r)};function Ct(e){return Mr(e),K(e<0?0:Pt(e)|0)}u.allocUnsafe=function(e){return Ct(e)};u.allocUnsafeSlow=function(e){return Ct(e)};function Ei(e,t){if((typeof t!="string"||t==="")&&(t="utf8"),!u.isEncoding(t))throw new TypeError("Unknown encoding: "+t);var r=Or(e,t)|0,o=K(r),i=o.write(e,t);return i!==r&&(o=o.slice(0,i)),o}function Lt(e){for(var t=e.length<0?0:Pt(e.length)|0,r=K(t),o=0;o<t;o+=1)r[o]=e[o]&255;return r}function ki(e){if(W(e,Uint8Array)){var t=new Uint8Array(e);return Dt(t.buffer,t.byteOffset,t.byteLength)}return Lt(e)}function Dt(e,t,r){if(t<0||e.byteLength<t)throw new RangeError('"offset" is outside of buffer bounds');if(e.byteLength<t+(r||0))throw new RangeError('"length" is outside of buffer bounds');var o;return t===void 0&&r===void 0?o=new Uint8Array(e):r===void 0?o=new Uint8Array(e,t):o=new Uint8Array(e,t,r),Object.setPrototypeOf(o,u.prototype),o}function Li(e){if(u.isBuffer(e)){var t=Pt(e.length)|0,r=K(t);return r.length===0||e.copy(r,0,0,t),r}if(e.length!==void 0)return typeof e.length!="number"||Rt(e.length)?K(0):Lt(e);if(e.type==="Buffer"&&Array.isArray(e.data))return Lt(e.data)}function Pt(e){if(e>=Ue)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+Ue.toString(16)+" bytes");return e|0}function Di(e){return+e!=e&&(e=0),u.alloc(+e)}u.isBuffer=function(t){return t!=null&&t._isBuffer===!0&&t!==u.prototype};u.compare=function(t,r){if(W(t,Uint8Array)&&(t=u.from(t,t.offset,t.byteLength)),W(r,Uint8Array)&&(r=u.from(r,r.offset,r.byteLength)),!u.isBuffer(t)||!u.isBuffer(r))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(t===r)return 0;for(var o=t.length,i=r.length,p=0,l=Math.min(o,i);p<l;++p)if(t[p]!==r[p]){o=t[p],i=r[p];break}return o<i?-1:i<o?1:0};u.isEncoding=function(t){switch(String(t).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}};u.concat=function(t,r){if(!Array.isArray(t))throw new TypeError('"list" argument must be an Array of Buffers');if(t.length===0)return u.alloc(0);var o;if(r===void 0)for(r=0,o=0;o<t.length;++o)r+=t[o].length;var i=u.allocUnsafe(r),p=0;for(o=0;o<t.length;++o){var l=t[o];if(W(l,Uint8Array))p+l.length>i.length?u.from(l).copy(i,p):Uint8Array.prototype.set.call(i,l,p);else if(u.isBuffer(l))l.copy(i,p);else throw new TypeError('"list" argument must be an Array of Buffers');p+=l.length}return i};function Or(e,t){if(u.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||W(e,ArrayBuffer))return e.byteLength;if(typeof e!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof e);var r=e.length,o=arguments.length>2&&arguments[2]===!0;if(!o&&r===0)return 0;for(var i=!1;;)switch(t){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":return Nt(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return r*2;case"hex":return r>>>1;case"base64":return Gr(e).length;default:if(i)return o?-1:Nt(e).length;t=(""+t).toLowerCase(),i=!0}}u.byteLength=Or;function Ni(e,t,r){var o=!1;if((t===void 0||t<0)&&(t=0),t>this.length||((r===void 0||r>this.length)&&(r=this.length),r<=0)||(r>>>=0,t>>>=0,r<=t))return"";for(e||(e="utf8");;)switch(e){case"hex":return $i(this,t,r);case"utf8":case"utf-8":return Br(this,t,r);case"ascii":return Bi(this,t,r);case"latin1":case"binary":return Ui(this,t,r);case"base64":return Oi(this,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Vi(this,t,r);default:if(o)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),o=!0}}u.prototype._isBuffer=!0;function ce(e,t,r){var o=e[t];e[t]=e[r],e[r]=o}u.prototype.swap16=function(){var t=this.length;if(t%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var r=0;r<t;r+=2)ce(this,r,r+1);return this};u.prototype.swap32=function(){var t=this.length;if(t%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var r=0;r<t;r+=4)ce(this,r,r+3),ce(this,r+1,r+2);return this};u.prototype.swap64=function(){var t=this.length;if(t%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var r=0;r<t;r+=8)ce(this,r,r+7),ce(this,r+1,r+6),ce(this,r+2,r+5),ce(this,r+3,r+4);return this};u.prototype.toString=function(){var t=this.length;return t===0?"":arguments.length===0?Br(this,0,t):Ni.apply(this,arguments)};u.prototype.toLocaleString=u.prototype.toString;u.prototype.equals=function(t){if(!u.isBuffer(t))throw new TypeError("Argument must be a Buffer");return this===t?!0:u.compare(this,t)===0};u.prototype.inspect=function(){var t="",r=me.INSPECT_MAX_BYTES;return t=this.toString("hex",0,r).replace(/(.{2})/g,"$1 ").trim(),this.length>r&&(t+=" ... "),"<Buffer "+t+">"};Cr&&(u.prototype[Cr]=u.prototype.inspect);u.prototype.compare=function(t,r,o,i,p){if(W(t,Uint8Array)&&(t=u.from(t,t.offset,t.byteLength)),!u.isBuffer(t))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof t);if(r===void 0&&(r=0),o===void 0&&(o=t?t.length:0),i===void 0&&(i=0),p===void 0&&(p=this.length),r<0||o>t.length||i<0||p>this.length)throw new RangeError("out of range index");if(i>=p&&r>=o)return 0;if(i>=p)return-1;if(r>=o)return 1;if(r>>>=0,o>>>=0,i>>>=0,p>>>=0,this===t)return 0;for(var l=p-i,m=o-r,d=Math.min(l,m),f=this.slice(i,p),x=t.slice(r,o),h=0;h<d;++h)if(f[h]!==x[h]){l=f[h],m=x[h];break}return l<m?-1:m<l?1:0};function Fr(e,t,r,o,i){if(e.length===0)return-1;if(typeof r=="string"?(o=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),r=+r,Rt(r)&&(r=i?0:e.length-1),r<0&&(r=e.length+r),r>=e.length){if(i)return-1;r=e.length-1}else if(r<0)if(i)r=0;else return-1;if(typeof t=="string"&&(t=u.from(t,o)),u.isBuffer(t))return t.length===0?-1:Pr(e,t,r,o,i);if(typeof t=="number")return t=t&255,typeof Uint8Array.prototype.indexOf=="function"?i?Uint8Array.prototype.indexOf.call(e,t,r):Uint8Array.prototype.lastIndexOf.call(e,t,r):Pr(e,[t],r,o,i);throw new TypeError("val must be string, number or Buffer")}function Pr(e,t,r,o,i){var p=1,l=e.length,m=t.length;if(o!==void 0&&(o=String(o).toLowerCase(),o==="ucs2"||o==="ucs-2"||o==="utf16le"||o==="utf-16le")){if(e.length<2||t.length<2)return-1;p=2,l/=2,m/=2,r/=2}function d(b,V){return p===1?b[V]:b.readUInt16BE(V*p)}var f;if(i){var x=-1;for(f=r;f<l;f++)if(d(e,f)===d(t,x===-1?0:f-x)){if(x===-1&&(x=f),f-x+1===m)return x*p}else x!==-1&&(f-=f-x),x=-1}else for(r+m>l&&(r=l-m),f=r;f>=0;f--){for(var h=!0,D=0;D<m;D++)if(d(e,f+D)!==d(t,D)){h=!1;break}if(h)return f}return-1}u.prototype.includes=function(t,r,o){return this.indexOf(t,r,o)!==-1};u.prototype.indexOf=function(t,r,o){return Fr(this,t,r,o,!0)};u.prototype.lastIndexOf=function(t,r,o){return Fr(this,t,r,o,!1)};function Ci(e,t,r,o){r=Number(r)||0;var i=e.length-r;o?(o=Number(o),o>i&&(o=i)):o=i;var p=t.length;o>p/2&&(o=p/2);for(var l=0;l<o;++l){var m=parseInt(t.substr(l*2,2),16);if(Rt(m))return l;e[r+l]=m}return l}function Pi(e,t,r,o){return $e(Nt(t,e.length-r),e,r,o)}function Ri(e,t,r,o){return $e(Hi(t),e,r,o)}function _i(e,t,r,o){return $e(Gr(t),e,r,o)}function Mi(e,t,r,o){return $e(qi(t,e.length-r),e,r,o)}u.prototype.write=function(t,r,o,i){if(r===void 0)i="utf8",o=this.length,r=0;else if(o===void 0&&typeof r=="string")i=r,o=this.length,r=0;else if(isFinite(r))r=r>>>0,isFinite(o)?(o=o>>>0,i===void 0&&(i="utf8")):(i=o,o=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var p=this.length-r;if((o===void 0||o>p)&&(o=p),t.length>0&&(o<0||r<0)||r>this.length)throw new RangeError("Attempt to write outside buffer bounds");i||(i="utf8");for(var l=!1;;)switch(i){case"hex":return Ci(this,t,r,o);case"utf8":case"utf-8":return Pi(this,t,r,o);case"ascii":case"latin1":case"binary":return Ri(this,t,r,o);case"base64":return _i(this,t,r,o);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Mi(this,t,r,o);default:if(l)throw new TypeError("Unknown encoding: "+i);i=(""+i).toLowerCase(),l=!0}};u.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function Oi(e,t,r){return t===0&&r===e.length?kt.fromByteArray(e):kt.fromByteArray(e.slice(t,r))}function Br(e,t,r){r=Math.min(e.length,r);for(var o=[],i=t;i<r;){var p=e[i],l=null,m=p>239?4:p>223?3:p>191?2:1;if(i+m<=r){var d,f,x,h;switch(m){case 1:p<128&&(l=p);break;case 2:d=e[i+1],(d&192)===128&&(h=(p&31)<<6|d&63,h>127&&(l=h));break;case 3:d=e[i+1],f=e[i+2],(d&192)===128&&(f&192)===128&&(h=(p&15)<<12|(d&63)<<6|f&63,h>2047&&(h<55296||h>57343)&&(l=h));break;case 4:d=e[i+1],f=e[i+2],x=e[i+3],(d&192)===128&&(f&192)===128&&(x&192)===128&&(h=(p&15)<<18|(d&63)<<12|(f&63)<<6|x&63,h>65535&&h<1114112&&(l=h))}}l===null?(l=65533,m=1):l>65535&&(l-=65536,o.push(l>>>10&1023|55296),l=56320|l&1023),o.push(l),i+=m}return Fi(o)}var Rr=4096;function Fi(e){var t=e.length;if(t<=Rr)return String.fromCharCode.apply(String,e);for(var r="",o=0;o<t;)r+=String.fromCharCode.apply(String,e.slice(o,o+=Rr));return r}function Bi(e,t,r){var o="";r=Math.min(e.length,r);for(var i=t;i<r;++i)o+=String.fromCharCode(e[i]&127);return o}function Ui(e,t,r){var o="";r=Math.min(e.length,r);for(var i=t;i<r;++i)o+=String.fromCharCode(e[i]);return o}function $i(e,t,r){var o=e.length;(!t||t<0)&&(t=0),(!r||r<0||r>o)&&(r=o);for(var i="",p=t;p<r;++p)i+=zi[e[p]];return i}function Vi(e,t,r){for(var o=e.slice(t,r),i="",p=0;p<o.length-1;p+=2)i+=String.fromCharCode(o[p]+o[p+1]*256);return i}u.prototype.slice=function(t,r){var o=this.length;t=~~t,r=r===void 0?o:~~r,t<0?(t+=o,t<0&&(t=0)):t>o&&(t=o),r<0?(r+=o,r<0&&(r=0)):r>o&&(r=o),r<t&&(r=t);var i=this.subarray(t,r);return Object.setPrototypeOf(i,u.prototype),i};function k(e,t,r){if(e%1!==0||e<0)throw new RangeError("offset is not uint");if(e+t>r)throw new RangeError("Trying to access beyond buffer length")}u.prototype.readUintLE=u.prototype.readUIntLE=function(t,r,o){t=t>>>0,r=r>>>0,o||k(t,r,this.length);for(var i=this[t],p=1,l=0;++l<r&&(p*=256);)i+=this[t+l]*p;return i};u.prototype.readUintBE=u.prototype.readUIntBE=function(t,r,o){t=t>>>0,r=r>>>0,o||k(t,r,this.length);for(var i=this[t+--r],p=1;r>0&&(p*=256);)i+=this[t+--r]*p;return i};u.prototype.readUint8=u.prototype.readUInt8=function(t,r){return t=t>>>0,r||k(t,1,this.length),this[t]};u.prototype.readUint16LE=u.prototype.readUInt16LE=function(t,r){return t=t>>>0,r||k(t,2,this.length),this[t]|this[t+1]<<8};u.prototype.readUint16BE=u.prototype.readUInt16BE=function(t,r){return t=t>>>0,r||k(t,2,this.length),this[t]<<8|this[t+1]};u.prototype.readUint32LE=u.prototype.readUInt32LE=function(t,r){return t=t>>>0,r||k(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+this[t+3]*16777216};u.prototype.readUint32BE=u.prototype.readUInt32BE=function(t,r){return t=t>>>0,r||k(t,4,this.length),this[t]*16777216+(this[t+1]<<16|this[t+2]<<8|this[t+3])};u.prototype.readIntLE=function(t,r,o){t=t>>>0,r=r>>>0,o||k(t,r,this.length);for(var i=this[t],p=1,l=0;++l<r&&(p*=256);)i+=this[t+l]*p;return p*=128,i>=p&&(i-=Math.pow(2,8*r)),i};u.prototype.readIntBE=function(t,r,o){t=t>>>0,r=r>>>0,o||k(t,r,this.length);for(var i=r,p=1,l=this[t+--i];i>0&&(p*=256);)l+=this[t+--i]*p;return p*=128,l>=p&&(l-=Math.pow(2,8*r)),l};u.prototype.readInt8=function(t,r){return t=t>>>0,r||k(t,1,this.length),this[t]&128?(255-this[t]+1)*-1:this[t]};u.prototype.readInt16LE=function(t,r){t=t>>>0,r||k(t,2,this.length);var o=this[t]|this[t+1]<<8;return o&32768?o|4294901760:o};u.prototype.readInt16BE=function(t,r){t=t>>>0,r||k(t,2,this.length);var o=this[t+1]|this[t]<<8;return o&32768?o|4294901760:o};u.prototype.readInt32LE=function(t,r){return t=t>>>0,r||k(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24};u.prototype.readInt32BE=function(t,r){return t=t>>>0,r||k(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]};u.prototype.readFloatLE=function(t,r){return t=t>>>0,r||k(t,4,this.length),de.read(this,t,!0,23,4)};u.prototype.readFloatBE=function(t,r){return t=t>>>0,r||k(t,4,this.length),de.read(this,t,!1,23,4)};u.prototype.readDoubleLE=function(t,r){return t=t>>>0,r||k(t,8,this.length),de.read(this,t,!0,52,8)};u.prototype.readDoubleBE=function(t,r){return t=t>>>0,r||k(t,8,this.length),de.read(this,t,!1,52,8)};function P(e,t,r,o,i,p){if(!u.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>i||t<p)throw new RangeError('"value" argument is out of bounds');if(r+o>e.length)throw new RangeError("Index out of range")}u.prototype.writeUintLE=u.prototype.writeUIntLE=function(t,r,o,i){if(t=+t,r=r>>>0,o=o>>>0,!i){var p=Math.pow(2,8*o)-1;P(this,t,r,o,p,0)}var l=1,m=0;for(this[r]=t&255;++m<o&&(l*=256);)this[r+m]=t/l&255;return r+o};u.prototype.writeUintBE=u.prototype.writeUIntBE=function(t,r,o,i){if(t=+t,r=r>>>0,o=o>>>0,!i){var p=Math.pow(2,8*o)-1;P(this,t,r,o,p,0)}var l=o-1,m=1;for(this[r+l]=t&255;--l>=0&&(m*=256);)this[r+l]=t/m&255;return r+o};u.prototype.writeUint8=u.prototype.writeUInt8=function(t,r,o){return t=+t,r=r>>>0,o||P(this,t,r,1,255,0),this[r]=t&255,r+1};u.prototype.writeUint16LE=u.prototype.writeUInt16LE=function(t,r,o){return t=+t,r=r>>>0,o||P(this,t,r,2,65535,0),this[r]=t&255,this[r+1]=t>>>8,r+2};u.prototype.writeUint16BE=u.prototype.writeUInt16BE=function(t,r,o){return t=+t,r=r>>>0,o||P(this,t,r,2,65535,0),this[r]=t>>>8,this[r+1]=t&255,r+2};u.prototype.writeUint32LE=u.prototype.writeUInt32LE=function(t,r,o){return t=+t,r=r>>>0,o||P(this,t,r,4,4294967295,0),this[r+3]=t>>>24,this[r+2]=t>>>16,this[r+1]=t>>>8,this[r]=t&255,r+4};u.prototype.writeUint32BE=u.prototype.writeUInt32BE=function(t,r,o){return t=+t,r=r>>>0,o||P(this,t,r,4,4294967295,0),this[r]=t>>>24,this[r+1]=t>>>16,this[r+2]=t>>>8,this[r+3]=t&255,r+4};u.prototype.writeIntLE=function(t,r,o,i){if(t=+t,r=r>>>0,!i){var p=Math.pow(2,8*o-1);P(this,t,r,o,p-1,-p)}var l=0,m=1,d=0;for(this[r]=t&255;++l<o&&(m*=256);)t<0&&d===0&&this[r+l-1]!==0&&(d=1),this[r+l]=(t/m>>0)-d&255;return r+o};u.prototype.writeIntBE=function(t,r,o,i){if(t=+t,r=r>>>0,!i){var p=Math.pow(2,8*o-1);P(this,t,r,o,p-1,-p)}var l=o-1,m=1,d=0;for(this[r+l]=t&255;--l>=0&&(m*=256);)t<0&&d===0&&this[r+l+1]!==0&&(d=1),this[r+l]=(t/m>>0)-d&255;return r+o};u.prototype.writeInt8=function(t,r,o){return t=+t,r=r>>>0,o||P(this,t,r,1,127,-128),t<0&&(t=255+t+1),this[r]=t&255,r+1};u.prototype.writeInt16LE=function(t,r,o){return t=+t,r=r>>>0,o||P(this,t,r,2,32767,-32768),this[r]=t&255,this[r+1]=t>>>8,r+2};u.prototype.writeInt16BE=function(t,r,o){return t=+t,r=r>>>0,o||P(this,t,r,2,32767,-32768),this[r]=t>>>8,this[r+1]=t&255,r+2};u.prototype.writeInt32LE=function(t,r,o){return t=+t,r=r>>>0,o||P(this,t,r,4,2147483647,-2147483648),this[r]=t&255,this[r+1]=t>>>8,this[r+2]=t>>>16,this[r+3]=t>>>24,r+4};u.prototype.writeInt32BE=function(t,r,o){return t=+t,r=r>>>0,o||P(this,t,r,4,2147483647,-2147483648),t<0&&(t=4294967295+t+1),this[r]=t>>>24,this[r+1]=t>>>16,this[r+2]=t>>>8,this[r+3]=t&255,r+4};function Ur(e,t,r,o,i,p){if(r+o>e.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function $r(e,t,r,o,i){return t=+t,r=r>>>0,i||Ur(e,t,r,4,34028234663852886e22,-34028234663852886e22),de.write(e,t,r,o,23,4),r+4}u.prototype.writeFloatLE=function(t,r,o){return $r(this,t,r,!0,o)};u.prototype.writeFloatBE=function(t,r,o){return $r(this,t,r,!1,o)};function Vr(e,t,r,o,i){return t=+t,r=r>>>0,i||Ur(e,t,r,8,17976931348623157e292,-17976931348623157e292),de.write(e,t,r,o,52,8),r+8}u.prototype.writeDoubleLE=function(t,r,o){return Vr(this,t,r,!0,o)};u.prototype.writeDoubleBE=function(t,r,o){return Vr(this,t,r,!1,o)};u.prototype.copy=function(t,r,o,i){if(!u.isBuffer(t))throw new TypeError("argument should be a Buffer");if(o||(o=0),!i&&i!==0&&(i=this.length),r>=t.length&&(r=t.length),r||(r=0),i>0&&i<o&&(i=o),i===o||t.length===0||this.length===0)return 0;if(r<0)throw new RangeError("targetStart out of bounds");if(o<0||o>=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),t.length-r<i-o&&(i=t.length-r+o);var p=i-o;return this===t&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(r,o,i):Uint8Array.prototype.set.call(t,this.subarray(o,i),r),p};u.prototype.fill=function(t,r,o,i){if(typeof t=="string"){if(typeof r=="string"?(i=r,r=0,o=this.length):typeof o=="string"&&(i=o,o=this.length),i!==void 0&&typeof i!="string")throw new TypeError("encoding must be a string");if(typeof i=="string"&&!u.isEncoding(i))throw new TypeError("Unknown encoding: "+i);if(t.length===1){var p=t.charCodeAt(0);(i==="utf8"&&p<128||i==="latin1")&&(t=p)}}else typeof t=="number"?t=t&255:typeof t=="boolean"&&(t=Number(t));if(r<0||this.length<r||this.length<o)throw new RangeError("Out of range index");if(o<=r)return this;r=r>>>0,o=o===void 0?this.length:o>>>0,t||(t=0);var l;if(typeof t=="number")for(l=r;l<o;++l)this[l]=t;else{var m=u.isBuffer(t)?t:u.from(t,i),d=m.length;if(d===0)throw new TypeError('The value "'+t+'" is invalid for argument "value"');for(l=0;l<o-r;++l)this[l+r]=m[l%d]}return this};var Gi=/[^+/0-9A-Za-z-_]/g;function Wi(e){if(e=e.split("=")[0],e=e.trim().replace(Gi,""),e.length<2)return"";for(;e.length%4!==0;)e=e+"=";return e}function Nt(e,t){t=t||1/0;for(var r,o=e.length,i=null,p=[],l=0;l<o;++l){if(r=e.charCodeAt(l),r>55295&&r<57344){if(!i){if(r>56319){(t-=3)>-1&&p.push(239,191,189);continue}else if(l+1===o){(t-=3)>-1&&p.push(239,191,189);continue}i=r;continue}if(r<56320){(t-=3)>-1&&p.push(239,191,189),i=r;continue}r=(i-55296<<10|r-56320)+65536}else i&&(t-=3)>-1&&p.push(239,191,189);if(i=null,r<128){if((t-=1)<0)break;p.push(r)}else if(r<2048){if((t-=2)<0)break;p.push(r>>6|192,r&63|128)}else if(r<65536){if((t-=3)<0)break;p.push(r>>12|224,r>>6&63|128,r&63|128)}else if(r<1114112){if((t-=4)<0)break;p.push(r>>18|240,r>>12&63|128,r>>6&63|128,r&63|128)}else throw new Error("Invalid code point")}return p}function Hi(e){for(var t=[],r=0;r<e.length;++r)t.push(e.charCodeAt(r)&255);return t}function qi(e,t){for(var r,o,i,p=[],l=0;l<e.length&&!((t-=2)<0);++l)r=e.charCodeAt(l),o=r>>8,i=r%256,p.push(i),p.push(o);return p}function Gr(e){return kt.toByteArray(Wi(e))}function $e(e,t,r,o){for(var i=0;i<o&&!(i+r>=t.length||i>=e.length);++i)t[i+r]=e[i];return i}function W(e,t){return e instanceof t||e!=null&&e.constructor!=null&&e.constructor.name!=null&&e.constructor.name===t.name}function Rt(e){return e!==e}var zi=function(){for(var e="0123456789abcdef",t=new Array(256),r=0;r<16;++r)for(var o=r*16,i=0;i<16;++i)t[o+i]=e[r]+e[i];return t}()});var Kr=Fe((Ga,jr)=>{n();var A=jr.exports={},H,q;function _t(){throw new Error("setTimeout has not been defined")}function Mt(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?H=setTimeout:H=_t}catch(e){H=_t}try{typeof clearTimeout=="function"?q=clearTimeout:q=Mt}catch(e){q=Mt}})();function Hr(e){if(H===setTimeout)return setTimeout(e,0);if((H===_t||!H)&&setTimeout)return H=setTimeout,setTimeout(e,0);try{return H(e,0)}catch(t){try{return H.call(null,e,0)}catch(r){return H.call(this,e,0)}}}function ji(e){if(q===clearTimeout)return clearTimeout(e);if((q===Mt||!q)&&clearTimeout)return q=clearTimeout,clearTimeout(e);try{return q(e)}catch(t){try{return q.call(null,e)}catch(r){return q.call(this,e)}}}var Y=[],ge=!1,le,Ve=-1;function Ki(){!ge||!le||(ge=!1,le.length?Y=le.concat(Y):Ve=-1,Y.length&&qr())}function qr(){if(!ge){var e=Hr(Ki);ge=!0;for(var t=Y.length;t;){for(le=Y,Y=[];++Ve<t;)le&&le[Ve].run();Ve=-1,t=Y.length}le=null,ge=!1,ji(e)}}A.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)t[r-1]=arguments[r];Y.push(new zr(e,t)),Y.length===1&&!ge&&Hr(qr)};function zr(e,t){this.fun=e,this.array=t}zr.prototype.run=function(){this.fun.apply(null,this.array)};A.title="browser";A.browser=!0;A.env={};A.argv=[];A.version="";A.versions={};function Z(){}A.on=Z;A.addListener=Z;A.once=Z;A.off=Z;A.removeListener=Z;A.removeAllListeners=Z;A.emit=Z;A.prependListener=Z;A.prependOnceListener=Z;A.listeners=function(e){return[]};A.binding=function(e){throw new Error("process.binding is not supported")};A.cwd=function(){return"/"};A.chdir=function(e){throw new Error("process.chdir is not supported")};A.umask=function(){return 0}});var s,a,Wa,n=T(()=>{s=S(Wr()),a=S(Kr()),Wa=function(e){function t(){var o=this||self;return delete e.prototype.__magic__,o}if(typeof globalThis=="object")return globalThis;if(this)return t();e.defineProperty(e.prototype,"__magic__",{configurable:!0,get:t});var r=__magic__;return r}(Object)});var Yr=T(()=>{"use strict";n()});var Zr=T(()=>{"use strict";n()});var Xr=T(()=>{"use strict";n()});var Qr=T(()=>{"use strict";n()});var O=T(()=>{"use strict";n()});var Jr=T(()=>{"use strict";n()});var en=T(()=>{"use strict";n()});var C=T(()=>{"use strict";n()});var tn=T(()=>{"use strict";n()});var rn=T(()=>{"use strict";n()});var F=T(()=>{"use strict";n();Zr();Xr();Qr();O();Jr();en();C();tn();rn()});var pe,nn,cc,on,lc,sn,pc,uc,Yi,fe=T(()=>{"use strict";n();F();pe={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:nn,egldLabel:cc}=pe["devnet"],{chainId:on,egldLabel:lc}=pe["testnet"],{chainId:sn,egldLabel:pc}=pe["mainnet"],uc={["devnet"]:nn,["testnet"]:on,["mainnet"]:sn},Yi={[nn]:"devnet",[on]:"testnet",[sn]:"mainnet"}});var Ot=T(()=>{"use strict";n()});var an=T(()=>{"use strict";n()});var cn,Ft=T(()=>{"use strict";n();cn="transaction-status-toast-id"});var z,ln=T(()=>{"use strict";n();z=require("@multiversx/sdk-web-wallet-provider")});var Bt,Ut,pn,Ge,un,Te,I=T(()=>{"use strict";n();Yr();fe();Ot();an();Ft();ln();Bt=5e4,Ut=1e9,pn=1,Ge="logout",un="login",Te="0"});var We,$t=T(()=>{"use strict";n();We=()=>Date.now()/1e3});var dn=T(()=>{"use strict";n()});var mn=T(()=>{"use strict";n()});var gn=T(()=>{"use strict";n();$t();dn();mn()});var Gt={};se(Gt,{getItem:()=>Xi,localStorageKeys:()=>U,removeItem:()=>Qi,setItem:()=>Zi});var U,Vt,Zi,Xi,Qi,ye=T(()=>{"use strict";n();gn();U={loginExpiresAt:"sdk-dapp-login-expires-at",logoutEvent:"sdk-dapp-logout-event"},Vt=typeof localStorage!="undefined",Zi=({key:e,data:t,expires:r})=>{!Vt||localStorage.setItem(String(e),JSON.stringify({expires:r,data:t}))},Xi=e=>{if(!Vt)return;let t=localStorage.getItem(String(e));if(!t)return null;let r=JSON.parse(t);return!r||!r.hasOwnProperty("expires")||!r.hasOwnProperty("data")?null:We()>=r.expires?(localStorage.removeItem(String(e)),null):r.data},Qi=e=>{!Vt||localStorage.removeItem(String(e))}});var Wt={};se(Wt,{clear:()=>hn,getItem:()=>Tn,removeItem:()=>yn,setItem:()=>fn,storage:()=>Ji});var fn,Tn,yn,hn,Ji,xn=T(()=>{"use strict";n();fn=({key:e,data:t,expires:r})=>{sessionStorage.setItem(String(e),JSON.stringify({expires:r,data:t}))},Tn=e=>{let t=sessionStorage.getItem(String(e));if(!t)return null;let r=JSON.parse(t);return!r||!r.hasOwnProperty("expires")||!r.hasOwnProperty("data")?null:Date.now()>=r.expires?(sessionStorage.removeItem(String(e)),null):r.data},yn=e=>sessionStorage.removeItem(String(e)),hn=()=>sessionStorage.clear(),Ji={setItem:fn,getItem:Tn,removeItem:yn,clear:hn}});var j,we=T(()=>{"use strict";n();ye();xn();j={session:Wt,local:Gt}});var Ht,L,Ae,$=T(()=>{"use strict";n();Ht=require("@reduxjs/toolkit");I();L=(0,Ht.createAction)(Ge),Ae=(0,Ht.createAction)(un,e=>({payload:e}))});var zt,Sn,wn,He,qt,An,jt,Vc,Kt,Gc,Wc,Hc,qc,zc,jc,Kc,qe,ze=T(()=>{"use strict";n();zt=require("@multiversx/sdk-core"),Sn=require("@reduxjs/toolkit"),wn=require("redux-persist");I();we();ye();$();He={balance:"...",address:"",nonce:0,txCount:0,scrCount:0,claimableRewards:Te},qt={address:"",websocketEvent:null,accounts:{"":He},ledgerAccount:null,publicKey:"",walletConnectAccount:null,isAccountLoading:!0,accountLoadingError:null},An=(0,Sn.createSlice)({name:"accountInfoSlice",initialState:qt,reducers:{setAddress:(e,t)=>{let r=t.payload;e.address=r,e.publicKey=new zt.Address(r).hex()},setAccount:(e,t)=>{let r=e.address===t.payload.address;e.accounts={[e.address]:r?t.payload:He},e.shard=t.payload.shard,e.isAccountLoading=!1,e.accountLoadingError=null},setAccountNonce:(e,t)=>{let{address:r}=e;e.accounts[r].nonce=t.payload},setAccountShard:(e,t)=>{e.shard=t.payload},setLedgerAccount:(e,t)=>{e.ledgerAccount=t.payload},updateLedgerAccount:(e,t)=>{e.ledgerAccount!=null&&(e.ledgerAccount.index=t.payload.index,e.ledgerAccount.address=t.payload.address)},setWalletConnectAccount:(e,t)=>{e.walletConnectAccount=t.payload},setIsAccountLoading:(e,t)=>{e.isAccountLoading=t.payload,e.accountLoadingError=null},setAccountLoadingError:(e,t)=>{e.accountLoadingError=t.payload,e.isAccountLoading=!1},setWebsocketEvent:(e,t)=>{e.websocketEvent={timestamp:Date.now(),message:t.payload}}},extraReducers:e=>{e.addCase(L,()=>(j.local.removeItem(U.loginExpiresAt),qt)),e.addCase(Ae,(t,r)=>{let{address:o}=r.payload;t.address=o,t.publicKey=new zt.Address(o).hex()}),e.addCase(wn.REHYDRATE,(t,r)=>{var f;if(!((f=r.payload)!=null&&f.account))return;let{account:o}=r.payload,{address:i,shard:p,accounts:l,publicKey:m}=o;t.address=i,t.shard=p;let d=l&&i in l;t.accounts=d?l:qt.accounts,t.publicKey=m})}}),{setAccount:jt,setAddress:Vc,setAccountNonce:Kt,setAccountShard:Gc,setLedgerAccount:Wc,updateLedgerAccount:Hc,setWalletConnectAccount:qc,setIsAccountLoading:zc,setAccountLoadingError:jc,setWebsocketEvent:Kc}=An.actions,qe=An.reducer});function ve(){return new Date().setHours(new Date().getHours()+24)}function Ie(e){j.local.setItem({key:U.loginExpiresAt,data:e,expires:e})}var Yt=T(()=>{"use strict";n();we();ye()});var In,vn,bn,ol,il,sl,al,cl,ll,En,kn,je,Ee=T(()=>{"use strict";n();In=require("@reduxjs/toolkit");Yt();O();$();vn={loginMethod:"",walletConnectLogin:null,ledgerLogin:null,tokenLogin:null,walletLogin:null,extensionLogin:null,operaLogin:null,isLoginSessionInvalid:!1},bn=(0,In.createSlice)({name:"loginInfoSlice",initialState:vn,reducers:{setLoginMethod:(e,t)=>{e.loginMethod=t.payload},setTokenLogin:(e,t)=>{e.tokenLogin=t.payload},setTokenLoginSignature:(e,t)=>{(e==null?void 0:e.tokenLogin)!=null&&(e.tokenLogin.signature=t.payload)},setWalletLogin:(e,t)=>{e.walletLogin=t.payload},setWalletConnectLogin:(e,t)=>{e.walletConnectLogin=t.payload},setLedgerLogin:(e,t)=>{e.ledgerLogin=t.payload},invalidateLoginSession:e=>{e.isLoginSessionInvalid=!0},setLogoutRoute:(e,t)=>{e.logoutRoute=t.payload}},extraReducers:e=>{e.addCase(L,()=>vn),e.addCase(Ae,(t,r)=>{t.loginMethod=r.payload.loginMethod,Ie(ve())})}}),{setLoginMethod:ol,setWalletConnectLogin:il,setLedgerLogin:sl,setTokenLogin:al,setTokenLoginSignature:cl,setWalletLogin:ll,invalidateLoginSession:En,setLogoutRoute:kn}=bn.actions,je=bn.reducer});var Dn,Ln,Nn,ml,gl,fl,Tl,Ke,Ye=T(()=>{"use strict";n();Dn=require("@reduxjs/toolkit");$();Ln={},Nn=(0,Dn.createSlice)({name:"modalsSlice",initialState:Ln,reducers:{setTxSubmittedModal:(e,t)=>{e.txSubmittedModal=t.payload},setNotificationModal:(e,t)=>{e.notificationModal=t.payload},clearTxSubmittedModal:e=>{e.txSubmittedModal=void 0},clearNotificationModal:e=>{e.notificationModal=void 0}},extraReducers:e=>{e.addCase(L,()=>Ln)}}),{setTxSubmittedModal:ml,setNotificationModal:gl,clearTxSubmittedModal:fl,clearNotificationModal:Tl}=Nn.actions,Ke=Nn.reducer});var Cn,Pn,Zt,Xt=T(()=>{"use strict";n();Cn=!1,Pn=(e=!0)=>{Cn=e},Zt=(e,t=0)=>{Cn||setTimeout(()=>{window.location.href=e,window.location.assign(e)},t)}});var Rn=T(()=>{"use strict";n();Xt()});function Qt(e){return e[Math.floor(Math.random()*e.length)]}var _n=T(()=>{"use strict";n()});var Mn=T(()=>{"use strict";n();Ot()});var On=T(()=>{"use strict";n();Rn();_n();Mn()});var Fn,Bn,Jt,es,Un,er,Cl,Ze,ke=T(()=>{"use strict";n();Fn=require("@reduxjs/toolkit"),Bn=S(require("lodash.omit"));On();Jt={id:"not-configured",chainId:"",name:"NOT CONFIGURED",egldLabel:"",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"",walletConnectBridgeAddress:"",walletConnectV2RelayAddress:"",walletConnectV2ProjectId:"",walletConnectV2Options:{},walletAddress:"",apiAddress:"",explorerAddress:"",apiTimeout:"4000"},es={network:Jt,chainID:"-1"},Un=(0,Fn.createSlice)({name:"appConfig",initialState:es,reducers:{initializeNetworkConfig:(e,t)=>{let r=Qt(t.payload.walletConnectBridgeAddresses),o=Qt(t.payload.walletConnectV2RelayAddresses),i=(0,Bn.default)(t.payload,"walletConnectBridgeAddresses","walletConnectV2RelayAddresses");e.network=w(y(y({},e.network),i),{walletConnectBridgeAddress:r,walletConnectV2RelayAddress:o})},setChainID:(e,t)=>{e.chainID=t.payload}}}),{initializeNetworkConfig:er,setChainID:Cl}=Un.actions,Ze=Un.reducer});var $n,tr,Vn,Fl,Bl,Ul,Xe,Qe=T(()=>{"use strict";n();$n=require("@reduxjs/toolkit");F();$();tr={isSigning:!1,signedSessions:{}},Vn=(0,$n.createSlice)({name:"signedMessageInfoSliceState",initialState:tr,reducers:{setSignSession:(e,t)=>{let{sessionId:r,signedSession:o,errorMessage:i}=t.payload;return w(y({},e),{errorMessage:i!=null?i:e.errorMessage,isSigning:o.status==="pending",signedSessions:w(y({},e.signedSessions),{[r]:o})})},setSignSessionState:(e,t)=>y(y({},e),t.payload),clearSignedMessageInfo:()=>tr},extraReducers:e=>{e.addCase(L,()=>tr)}}),{setSignSession:Fl,clearSignedMessageInfo:Bl,setSignSessionState:Ul}=Vn.actions,Xe=Vn.reducer});var Wn,Hn,Gn,qn,jl,Kl,Yl,Zl,Xl,Ql,Je,et=T(()=>{"use strict";n();Wn=require("@reduxjs/toolkit"),Hn=require("redux-persist");Ft();F();$t();$();Gn={customToasts:[],transactionToasts:[],failTransactionToast:null},qn=(0,Wn.createSlice)({name:"toastsSlice",initialState:Gn,reducers:{addCustomToast:(e,t)=>{e.customToasts.push(w(y({},t.payload),{type:"custom",toastId:t.payload.toastId||`custom-toast-${e.customToasts.length+1}`}))},removeCustomToast:(e,t)=>{e.customToasts=e.customToasts.filter(r=>r.toastId!==t.payload)},addTransactionToast:(e,t)=>{e.transactionToasts.push({type:"transaction",startTimestamp:We(),toastId:t.payload||`custom-toast-${e.transactionToasts.length+1}`})},removeTransactionToast:(e,t)=>{e.transactionToasts=e.transactionToasts.filter(r=>r.toastId!==t.payload)},addFailTransactionToast:(e,t)=>{e.failTransactionToast=w(y({},t.payload),{toastId:cn})},removeFailTransactionToast:e=>{e.failTransactionToast=null}},extraReducers:e=>{e.addCase(L,()=>Gn),e.addCase(Hn.REHYDRATE,(t,r)=>{var i,p;let o=(p=(i=r.customToasts)==null?void 0:i.filter(l=>!("component"in l)))!=null?p:[];t.customToasts=o})}}),{addCustomToast:jl,removeCustomToast:Kl,addTransactionToast:Yl,removeTransactionToast:Zl,addFailTransactionToast:Xl,removeFailTransactionToast:Ql}=qn.actions,Je=qn.reducer});var zn,nr,or,ir,ts,rr,jn,rp,np,op,tt,rt=T(()=>{"use strict";n();zn=require("@reduxjs/toolkit");$();nr="Transaction failed",or="Transaction successful",ir="Processing transaction",ts="Transaction submitted",rr={},jn=(0,zn.createSlice)({name:"transactionsInfo",initialState:rr,reducers:{setTransactionsDisplayInfo(e,t){let{sessionId:r,transactionsDisplayInfo:o}=t.payload;r!=null&&(e[r]={errorMessage:(o==null?void 0:o.errorMessage)||nr,successMessage:(o==null?void 0:o.successMessage)||or,processingMessage:(o==null?void 0:o.processingMessage)||ir,submittedMessage:(o==null?void 0:o.submittedMessage)||ts,transactionDuration:o==null?void 0:o.transactionDuration})},clearTransactionsInfoForSessionId(e,t){t.payload!=null&&delete e[t.payload]},clearTransactionsInfo:()=>rr},extraReducers:e=>{e.addCase(L,()=>rr)}}),{clearTransactionsInfo:rp,setTransactionsDisplayInfo:np,clearTransactionsInfoForSessionId:op}=jn.actions,tt=jn.reducer});function Kn(e){return e!=null&&(ps(e)||gs(e))}function nt(e){return e!=null&&(us(e)||fs(e))}function ot(e){return e!=null&&(ds(e)||Ts(e))}function Yn(e){return e!=null&&ms(e)}function ps(e){return e!=null&&ns.includes(e)}function us(e){return e!=null&&os.includes(e)}function ds(e){return e!=null&&is.includes(e)}function ms(e){return e!=null&&ss.includes(e)}function gs(e){return e!=null&&as.includes(e)}function fs(e){return e!=null&&cs.includes(e)}function Ts(e){return e!=null&&ls.includes(e)}var ns,os,is,ss,as,cs,ls,ar=T(()=>{"use strict";n();O();ns=["sent"],os=["success"],is=["fail","cancelled","timedOut"],ss=["timedOut"],as=["pending"],cs=["success"],ls=["fail","invalid"]});var Zn,Xn,Le,ys,Qn,mp,gp,fp,Tp,yp,hp,xp,Sp,wp,Ap,it,st=T(()=>{"use strict";n();Zn=require("@reduxjs/toolkit"),Xn=require("redux-persist");O();ar();$();Le={signedTransactions:{},transactionsToSign:null,signTransactionsError:null,signTransactionsCancelMessage:null,customTransactionInformationForSessionId:{}},ys={signWithoutSending:!1,sessionInformation:null,redirectAfterSign:!1},Qn=(0,Zn.createSlice)({name:"transactionsSlice",initialState:Le,reducers:{moveTransactionsToSignedState:(e,t)=>{var d,f;let{sessionId:r,transactions:o,errorMessage:i,status:p,redirectRoute:l}=t.payload,m=((d=e.customTransactionInformationForSessionId)==null?void 0:d[r])||ys;e.signedTransactions[r]={transactions:o,status:p,errorMessage:i,redirectRoute:l,customTransactionInformation:m},((f=e==null?void 0:e.transactionsToSign)==null?void 0:f.sessionId)===r&&(e.transactionsToSign=Le.transactionsToSign)},clearSignedTransaction:(e,t)=>{e.signedTransactions[t.payload]&&delete e.signedTransactions[t.payload]},clearTransactionToSign:e=>{e!=null&&e.transactionsToSign&&(e.transactionsToSign=null)},updateSignedTransaction:(e,t)=>{e.signedTransactions=y(y({},e.signedTransactions),t.payload)},updateSignedTransactions:(e,t)=>{let{sessionId:r,status:o,errorMessage:i,transactions:p}=t.payload;e.signedTransactions[r]!=null&&(e.signedTransactions[r].status=o,i!=null&&(e.signedTransactions[r].errorMessage=i),p!=null&&(e.signedTransactions[r].transactions=p))},updateSignedTransactionStatus:(e,t)=>{var m,d,f,x,h,D;let{sessionId:r,status:o,errorMessage:i,transactionHash:p}=t.payload,l=(d=(m=e.signedTransactions)==null?void 0:m[r])==null?void 0:d.transactions;if(l!=null){e.signedTransactions[r].transactions=l.map(N=>N.hash===p?w(y({},N),{status:o,errorMessage:i}):N);let b=(x=(f=e.signedTransactions[r])==null?void 0:f.transactions)==null?void 0:x.every(N=>nt(N.status)),V=(D=(h=e.signedTransactions[r])==null?void 0:h.transactions)==null?void 0:D.every(N=>ot(N.status));b&&(e.signedTransactions[r].status="success"),V&&(e.signedTransactions[r].status="fail")}},setTransactionsToSign:(e,t)=>{e.transactionsToSign=t.payload;let{sessionId:r,customTransactionInformation:o}=t.payload;e.customTransactionInformationForSessionId[r]=o,e.signTransactionsError=null},clearAllTransactionsToSign:e=>{e.transactionsToSign=Le.transactionsToSign,e.signTransactionsError=null},clearAllSignedTransactions:e=>{e.signedTransactions=Le.signedTransactions},setSignTransactionsError:(e,t)=>{e.signTransactionsError=t.payload},setSignTransactionsCancelMessage:(e,t)=>{e.signTransactionsCancelMessage=t.payload}},extraReducers:e=>{e.addCase(L,()=>Le),e.addCase(Xn.REHYDRATE,(t,r)=>{var l;if(t.signTransactionsCancelMessage=null,!((l=r.payload)!=null&&l.transactions))return;let{signedTransactions:o,customTransactionInformationForSessionId:i}=r.payload.transactions,p=Object.entries(o).reduce((m,[d,f])=>{let x=new Date(d),h=new Date;return h.setHours(h.getHours()+5),h-x>0||(m[d]=f),m},{});i!=null&&(t.customTransactionInformationForSessionId=i),o!=null&&(t.signedTransactions=p)})}}),{updateSignedTransactionStatus:mp,updateSignedTransactions:gp,setTransactionsToSign:fp,clearAllTransactionsToSign:Tp,clearAllSignedTransactions:yp,clearSignedTransaction:hp,clearTransactionToSign:xp,setSignTransactionsError:Sp,setSignTransactionsCancelMessage:wp,moveTransactionsToSignedState:Ap}=Qn.actions,it=Qn.reducer});var te=T(()=>{"use strict";n();ze();Ee();Ye();ke();Qe();et();rt();st()});var dr=T(()=>{"use strict";n()});var fo,go,To,Ed,kd,Ld,Dd,Nd,Cd,yo,ho=T(()=>{"use strict";n();fo=require("@reduxjs/toolkit");$();go={visible:!1,modal:{showHeader:!0,showFooter:!1,headerText:"",footerText:""}},To=(0,fo.createSlice)({name:"dappModalsSlice",initialState:go,reducers:{setDappModalVisibility:(e,t)=>{e.visible=t.payload},setDappModalHeaderVisibility:(e,t)=>{e.modal.showHeader=t.payload},setDappModalFooterVisibility:(e,t)=>{e.modal.showFooter=t.payload},setDappModalHeaderText:(e,t)=>{e.modal.headerText=t.payload},setDappModalFooterText:(e,t)=>{e.modal.footerText=t.payload},setDappModalConfig:(e,t)=>{e.modal=y({},t.payload)}},extraReducers:e=>{e.addCase(L,()=>go)}}),{setDappModalVisibility:Ed,setDappModalHeaderVisibility:kd,setDappModalFooterVisibility:Ld,setDappModalHeaderText:Dd,setDappModalFooterText:Nd,setDappModalConfig:Cd}=To.actions,yo=To.reducer});var xo,Ns,Cs,ue,gt=T(()=>{"use strict";n();xo=require("@reduxjs/toolkit");dr();ze();ho();Ee();Ye();ke();Qe();et();rt();st();Ns={["account"]:qe,["dappModal"]:yo,["loginInfo"]:je,["modals"]:Ke,["networkConfig"]:Ze,["signedMessageInfo"]:Xe,["toasts"]:Je,["transactionsInfo"]:tt,["transactions"]:it},Cs=(e={})=>(0,xo.combineReducers)(y(y({},Ns),e)),ue=Cs});var vo={};se(vo,{default:()=>zs,sessionStorageReducers:()=>mr});function oe(e,t=[]){return{key:e,version:1,storage:wo.default,blacklist:t}}var _,So,wo,Ps,Ce,Rs,_s,Ms,Os,Fs,Bs,Us,$s,Vs,Ao,Gs,mr,Ws,Hs,qs,zs,Io=T(()=>{"use strict";n();_=require("redux-persist"),So=S(require("redux-persist/lib/storage")),wo=S(require("redux-persist/lib/storage/session"));gt();te();ze();Ee();Ye();ke();Qe();et();rt();st();dr();Ps={persistReducersStorageType:"localStorage"},Ce={["account"]:"sdk-dapp-account",["loginInfo"]:"sdk-dapp-login-info",["modals"]:"sdk-dapp-modals",["networkConfig"]:"sdk-dapp-network-config"},Rs=oe(Ce["account"]),_s=oe(Ce["loginInfo"]),Ms=oe(Ce["modals"]),Os=oe(Ce["networkConfig"]),Fs={2:e=>w(y({},e),{networkConfig:Jt})};Bs=oe("sdk-dapp-transactionsInfo"),Us=oe("sdk-dapp-transactions",["transactionsToSign"]),$s=oe("sdk-dapp-toasts"),Vs=oe("sdk-dapp-signedMessageInfo"),Ao={key:"sdk-dapp-store",version:2,storage:So.default,whitelist:Object.keys(Ce),migrate:(0,_.createMigrate)(Fs,{debug:!1})},Gs=w(y({},Ao),{whitelist:[]}),mr={["toasts"]:(0,_.persistReducer)($s,Je),["transactions"]:(0,_.persistReducer)(Us,it),["transactionsInfo"]:(0,_.persistReducer)(Bs,tt),["signedMessageInfo"]:(0,_.persistReducer)(Vs,Xe)},Ws=w(y({},mr),{["account"]:(0,_.persistReducer)(Rs,qe),["loginInfo"]:(0,_.persistReducer)(_s,je),["modals"]:(0,_.persistReducer)(Ms,Ke),["networkConfig"]:(0,_.persistReducer)(Os,Ze)}),Hs=Ps.persistReducersStorageType==="localStorage",qs=Hs?(0,_.persistReducer)(Ao,ue(mr)):(0,_.persistReducer)(Gs,ue(Ws)),zs=qs});var bo={};se(bo,{default:()=>js});var js,Eo=T(()=>{"use strict";n();gt();js=ue()});var ko={};se(ko,{default:()=>Ys});var B,Ks,Ys,Lo=T(()=>{"use strict";n();B=require("redux-persist"),Ks=[B.FLUSH,B.REHYDRATE,B.PAUSE,B.PERSIST,B.PURGE,B.REGISTER],Ys=Ks});var Co={};se(Co,{default:()=>No});function No(e){return(0,Do.persistStore)(e)}var Do,Po=T(()=>{"use strict";n();Do=require("redux-persist")});var Fa={};se(Fa,{AppInitializer:()=>Oa});module.exports=Se(Fa);n();var ee=S(require("react")),ai=require("@multiversx/sdk-core/out");n();n();n();var Aa=S(require("axios"));n();n();te();n();var Jn=S(require("lodash.isequal")),at=require("reselect");F();var g=(0,at.createSelectorCreator)(at.defaultMemoize,Jn.default),ct=(e,t)=>e!=""&&Boolean(t);var X=e=>e.account,De=g(X,e=>e.address),lt=g(X,De,(e,t)=>t in e.accounts?e.accounts[t]:He),eo=g(X,lt,(e,t)=>{let i=e,{accounts:r}=i,o=Oe(i,["accounts"]);return w(y({},o),{account:t})}),Fp=g(lt,e=>e.balance),hs=g(lt,e=>{var t;return((t=e==null?void 0:e.nonce)==null?void 0:t.valueOf())||0}),Bp=g(X,e=>e.shard),Up=g(X,e=>e.ledgerAccount),$p=g(X,e=>e.walletConnectAccount),Vp=g(X,e=>e.isAccountLoading),Gp=g(X,e=>e.accountLoadingError),Wp=g(X,e=>e.websocketEvent);n();var re=e=>e.loginInfo,jp=g(re,e=>e.loginMethod),pt=g(re,De,(e,t)=>ct(e.loginMethod,t)),Kp=g(re,e=>e.walletConnectLogin),Yp=g(re,e=>e.ledgerLogin),to=g(re,e=>e.walletLogin),ro=g(re,e=>e.isLoginSessionInvalid),Zp=g(re,e=>e.tokenLogin),Xp=g(re,e=>e.logoutRoute);n();var no=e=>e.modals,eu=g(no,e=>e.txSubmittedModal),tu=g(no,e=>e.notificationModal);n();var ne=e=>e.networkConfig,ou=g(ne,e=>e.chainID),iu=g(ne,e=>e.network.walletConnectBridgeAddress),su=g(ne,e=>e.network.walletConnectV2RelayAddress),au=g(ne,e=>e.network.walletConnectV2ProjectId),cu=g(ne,e=>e.network.walletConnectV2Options),lu=g(ne,e=>e.network.walletConnectDeepLink),ut=g(ne,e=>e.network),oo=g(ut,e=>e.apiAddress),io=g(ut,e=>e.explorerAddress),pu=g(ut,e=>e.egldLabel);n();var cr=e=>e.signedMessageInfo,mu=g(cr,e=>e.isSigning),gu=g(cr,e=>e.errorMessage),fu=g(cr,e=>{let t=Object.keys(e.signedSessions),r=t.length;return e.signedSessions[t[r-1]]});n();var lr=e=>e.toasts,hu=g(lr,e=>e.customToasts),xu=g(lr,e=>e.transactionToasts),Su=g(lr,e=>e.failTransactionToast);n();te();var so={errorMessage:nr,successMessage:or,processingMessage:ir},xs=e=>e.transactionsInfo,Iu=g(xs,(e,t)=>t,(e,t)=>t!=null&&(e==null?void 0:e[Number(t)])||so);n();n();var R=require("@multiversx/sdk-core");I();n();function pr(e){try{return s.Buffer.from(e,"base64").toString()===atob(e)}catch(t){return!1}}function ur(e){var i,p,l;let{data:t}=e,r=pr(t!=null?t:"")?R.TransactionPayload.fromEncoded(t):new R.TransactionPayload(t),o=new R.Transaction(y({value:e.value.valueOf(),data:r,nonce:e.nonce.valueOf(),receiver:new R.Address(e.receiver),sender:new R.Address(e.sender),gasLimit:(i=e.gasLimit.valueOf())!=null?i:Bt,gasPrice:(p=e.gasPrice.valueOf())!=null?p:Ut,chainID:e.chainID.valueOf(),version:new R.TransactionVersion((l=e.version)!=null?l:pn)},e.options?{options:new R.TransactionOptions(e.options)}:{}));return o.applySignature({hex:()=>e.signature||""},new R.Address(e.sender)),o}n();ar();n();var ws=S(require("bignumber.js"));F();n();n();n();n();var vs=require("@multiversx/sdk-core"),Is=S(require("bignumber.js"));O();n();var lo=require("@multiversx/sdk-core");function As(e){try{let t=new lo.Address(e);return Boolean(t.bech32())}catch(t){return!1}}function Ne(e){return(e==null?void 0:e.startsWith("erd"))&&e.length===62&&/^\w+$/.test(e)&&As(e)}n();n();n();var Es=require("@multiversx/sdk-core/out");n();I();n();var po=require("@multiversx/sdk-core");F();n();n();n();n();O();n();n();var gr=require("@reduxjs/toolkit"),Oo=require("react-redux/lib/utils/Subscription");te();n();var uo=S(require("lodash.throttle"));I();te();Yt();we();ye();var ks=[Ge],dt=!1,Ls=(0,uo.default)(()=>{Ie(ve())},5e3),mo=e=>t=>r=>{var d;if(ks.includes(r.type))return t(r);let o=e.getState(),i=j.local.getItem(U.loginExpiresAt);if(!ct((d=o==null?void 0:o.loginInfo)==null?void 0:d.loginMethod,o==null?void 0:o.account.address))return t(r);if(i==null)return Ie(ve());let l=Date.now();return i-l<0&&!dt?setTimeout(()=>{dt=!0,e.dispatch(En())},1e3):(dt&&(dt=!1),Ls()),t(r)};n();n();function mt(){return typeof sessionStorage!="undefined"}var Ro=mt()?(Io(),Se(vo)).default:(Eo(),Se(bo)).default,_o=mt()?(Lo(),Se(ko)).default:[],Mo=mt()?(Po(),Se(Co)).default:e=>e;gt();var v=(0,gr.configureStore)({reducer:Ro,middleware:e=>e({serializableCheck:{ignoredActions:[..._o,Kt.type,jt.type],ignoredPaths:["payload.nonce","account.account.nonce","providers.accountProvider"]}}).concat(mo)}),Fo=(0,Oo.createSubscription)(v),cm=Mo(v),lm=(0,gr.configureStore)({reducer:ue});n();n();n();n();n();n();var Bo="dapp/config";n();n();n();n();C();n();n();C();n();n();n();var ta=S(require("bignumber.js"));I();n();var ea=require("@multiversx/sdk-core"),fr=S(require("bignumber.js"));I();n();var Qs=S(require("bignumber.js"));n();fr.default.config({ROUNDING_MODE:fr.default.ROUND_FLOOR});n();n();n();I();n();n();n();n();I();n();I();n();var ra=require("@multiversx/sdk-core");I();n();var Pe=require("@multiversx/sdk-core"),oa=require("@multiversx/sdk-network-providers");I();n();n();var na=S(require("bignumber.js"));I();n();I();n();n();n();n();n();I();n();C();var sa=["reDelegateRewards","claimRewards","unBond"],aa=["wrapEgld","unwrapEgld"],ca=["unStake"],la=["unDelegate"];n();n();n();I();n();var da=S(require("bignumber.js"));n();n();n();C();n();var ma=S(require("bignumber.js"));n();n();n();n();C();n();n();n();var fa=S(require("linkifyjs"));n();I();n();var Ta=S(require("bignumber.js"));n();F();n();n();O();n();O();n();n();n();C();n();C();n();var ya=S(require("bignumber.js"));I();C();n();C();n();var qo=require("react");F();n();n();C();n();var ha=require("@multiversx/sdk-core/out"),xa=S(require("bignumber.js"));C();n();C();n();n();O();var Zy=[{label:"Raw",value:"raw"},{label:"Text",value:"text"},{label:"Decimal",value:"decimal"},{label:"Smart",value:"smart"}];n();var zo=require("react");F();n();var wa=require("react");C();var nh=["create","localMint","ESDTLocalMint","addQuantity","burn","localBurn","ESDTLocalBurn","wipe","writeLog","signalError"];var ht=e=>e.transactions,Re=g(ht,e=>e.signedTransactions),Vh=g(ht,e=>e.signTransactionsError),Gh=g(ht,e=>e.signTransactionsCancelMessage),xt=e=>t=>Object.entries(t).reduce((r,[o,i])=>(e(i.status)&&(r[o]=i),r),{}),Wh=g(Re,xt(Kn)),Hh=g(Re,xt(nt)),qh=g(Re,xt(ot)),zh=g(Re,xt(Yn)),jh=g(ht,e=>{var t;return(e==null?void 0:e.transactionsToSign)==null?null:w(y({},e.transactionsToSign),{transactions:((t=e==null?void 0:e.transactionsToSign)==null?void 0:t.transactions.map(r=>ur(r)))||[]})}),Kh=g(Re,(e,t)=>t,(e,t)=>t!=null?(e==null?void 0:e[t])||{}:{});n();var va=S(require("axios"));n();var ba=S(require("axios"));n();n();var Ea=S(require("axios"));n();var ka=S(require("axios"));n();n();n();var Da=S(require("axios"));n();n();n();n();fe();n();var Ko=S(require("axios"));function yr(e){return E(this,null,function*(){let t=`${e}/${Bo}`;try{let{data:o}=yield Ko.default.get(t);if(o!=null){let i="egldDenomination";if(i in o){let r=o,{[i]:p,decimals:l}=r,m=Oe(r,[br(i),"decimals"]);return w(y({},m),{decimals:p,digits:l})}return o}}catch(o){console.error("error fetching configuration for ",t)}return null})}n();var Na=S(require("axios"));n();fe();n();fe();n();var Ca=S(require("axios"));fe();n();n();var Yo=require("react"),he=require("react-redux");var Pa={store:v,subscription:Fo},hr=(0,Yo.createContext)(Pa),hS=(0,he.createStoreHook)(hr),Zo=(0,he.createDispatchHook)(hr),St=(0,he.createSelectorHook)(hr);var Xo=()=>St(eo);ke();n();n();n();n();var Qo=require("@multiversx/sdk-extension-provider"),Jo=require("@multiversx/sdk-hw-provider"),ei=require("@multiversx/sdk-opera-provider"),ti=require("@multiversx/sdk-wallet-connect-provider/out/walletConnectProvider"),ri=require("@multiversx/sdk-wallet-connect-provider/out/walletConnectV2Provider"),ni=require("@multiversx/sdk-web-wallet-provider");I();O();var At=e=>{switch(e==null?void 0:e.constructor){case ni.WalletProvider:return"wallet";case ti.WalletConnectProvider:return"walletconnect";case ri.WalletConnectV2Provider:return"walletconnectv2";case Jo.HWProvider:return"ledger";case Qo.ExtensionProvider:return"extension";case ei.OperaProvider:return"opera";case wt:return"";default:return"extra"}};var Q=e=>`Unable to perform ${e}, Provider not initialized`,wt=class{init(){return Promise.resolve(!1)}login(t){throw new Error(Q(`login with options: ${t}`))}logout(t){throw new Error(Q(`logout with options: ${t}`))}getAddress(){throw new Error(Q("getAddress"))}isInitialized(){return!1}isConnected(){return Promise.resolve(!1)}sendTransaction(t,r){throw new Error(Q(`sendTransaction with transactions: ${t} options: ${r}`))}signTransaction(t,r){throw new Error(Q(`signTransaction with transactions: ${t} options: ${r}`))}signTransactions(t,r){throw new Error(Q(`signTransactions with transactions: ${t} options: ${r}`))}signMessage(t,r){throw new Error(Q(`signTransactions with ${t} and options ${r}`))}sendCustomMessage({method:t,params:r}){throw new Error(Q(`sendCustomMessage with method: ${t} params: ${r}`))}sendCustomRequest(t){throw new Error(Q(`sendSessionEvent with options: ${t}`))}ping(){return Promise.resolve(!1)}},xr=new wt;var Ra=xr;function J(){return Ra||xr}$();F();n();function oi(){return pt(v.getState())}n();n();O();n();n();function ii(){let e=J();return At(e)}function _e(e){return ii()===e}function vt(){let{search:e}=window.location,t=v.getState(),r=J(),o=De(t),i=pt(t),p=to(t);if(!r)throw"provider not initialized";return _e("ledger")&&i?new Promise(l=>{l(o)}):!_e("")&&!_e("wallet")&&!_e("extra")?r.getAddress():new Promise(l=>{if(p!=null){let m=new URLSearchParams(e),d=Object.fromEntries(m);Ne(d.address)&&l(d.address)}i&&l(o),l("")})}n();n();te();n();n();n();te();n();var si=require("@multiversx/sdk-core");n();$();F();Xt();we();ye();var Ma=e=>{let t=j.local.getItem(U.logoutEvent),{data:r}=t?JSON.parse(t):{data:e};e===r&&(j.local.setItem({key:U.logoutEvent,data:e,expires:0}),j.local.removeItem(U.logoutEvent))};function wr(e,t,r=!0){return E(this,null,function*(){let o=J(),i=At(o),p=oi(),l=i==="wallet";if(r&&(o==null?void 0:o.relogin)!=null)return yield o.relogin();if(!p||!o){Sr(e,t,!1);return}try{let m=yield vt();Ma(m)}catch(m){Sr(e,t,!1),console.error("error fetching logout address",m)}l&&Pn(),v.dispatch(L());try{let d=l&&!e?window.location.origin:e;l?setTimeout(()=>{o.logout({callbackUrl:d})}):(yield o.logout({callbackUrl:d}),Sr(e,t,l))}catch(m){console.error("error logging out",m)}})}function Sr(e,t,r){e&&!r&&(typeof t=="function"?t(e):Zt(e))}Ee();function Oa({customNetworkConfig:e={},children:t,environment:r,logoutRoute:o}){let[i,p]=(0,ee.useState)(!1),l=Xo(),m=St(ro),{address:d,publicKey:f}=l,x=Zo();function h(){return E(this,null,function*(){let b=!(e!=null&&e.skipFetchFromServer),V=e==null?void 0:e.apiAddress,N=pe[r]||{},ci=y(y({},N),e);if(b){let li=N==null?void 0:N.apiAddress,Ar=yield yr(V||li);if(Ar!=null){let pi=y(y(y({},N),Ar),e);x(er(pi));return}}x(er(ci))})}function D(){return E(this,null,function*(){x(kn(o)),yield h(),p(!0)})}return(0,ee.useEffect)(()=>{d&&new ai.Address(d).hex()!==f&&wr(o)},[d,f,o]),(0,ee.useEffect)(()=>{D()},[e,r,o]),(0,ee.useEffect)(()=>{l.address&&m&&wr(o)},[m,l.address,o]),i?ee.default.createElement(ee.default.Fragment,null,t):null}0&&(module.exports={AppInitializer});
|
|
1
|
+
"use strict";var ui=Object.create;var xe=Object.defineProperty,di=Object.defineProperties,mi=Object.getOwnPropertyDescriptor,gi=Object.getOwnPropertyDescriptors,fi=Object.getOwnPropertyNames,Me=Object.getOwnPropertySymbols,Ti=Object.getPrototypeOf,It=Object.prototype.hasOwnProperty,Ir=Object.prototype.propertyIsEnumerable;var vr=(e,t,r)=>t in e?xe(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,y=(e,t)=>{for(var r in t||(t={}))It.call(t,r)&&vr(e,r,t[r]);if(Me)for(var r of Me(t))Ir.call(t,r)&&vr(e,r,t[r]);return e},w=(e,t)=>di(e,gi(t));var br=e=>typeof e=="symbol"?e:e+"",Oe=(e,t)=>{var r={};for(var o in e)It.call(e,o)&&t.indexOf(o)<0&&(r[o]=e[o]);if(e!=null&&Me)for(var o of Me(e))t.indexOf(o)<0&&Ir.call(e,o)&&(r[o]=e[o]);return r};var T=(e,t)=>()=>(e&&(t=e(e=0)),t);var Fe=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),se=(e,t)=>{for(var r in t)xe(e,r,{get:t[r],enumerable:!0})},Er=(e,t,r,o)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of fi(t))!It.call(e,i)&&i!==r&&xe(e,i,{get:()=>t[i],enumerable:!(o=mi(t,i))||o.enumerable});return e};var S=(e,t,r)=>(r=e!=null?ui(Ti(e)):{},Er(t||!e||!e.__esModule?xe(r,"default",{value:e,enumerable:!0}):r,e)),Se=e=>Er(xe({},"__esModule",{value:!0}),e);var E=(e,t,r)=>new Promise((o,i)=>{var p=d=>{try{m(r.next(d))}catch(f){i(f)}},l=d=>{try{m(r.throw(d))}catch(f){i(f)}},m=d=>d.done?o(d.value):Promise.resolve(d.value).then(p,l);m((r=r.apply(e,t)).next())});var Dr=Fe(Be=>{"use strict";n();Be.byteLength=hi;Be.toByteArray=Si;Be.fromByteArray=vi;var G=[],M=[],yi=typeof Uint8Array!="undefined"?Uint8Array:Array,bt="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(ae=0,kr=bt.length;ae<kr;++ae)G[ae]=bt[ae],M[bt.charCodeAt(ae)]=ae;var ae,kr;M["-".charCodeAt(0)]=62;M["_".charCodeAt(0)]=63;function Lr(e){var t=e.length;if(t%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var r=e.indexOf("=");r===-1&&(r=t);var o=r===t?0:4-r%4;return[r,o]}function hi(e){var t=Lr(e),r=t[0],o=t[1];return(r+o)*3/4-o}function xi(e,t,r){return(t+r)*3/4-r}function Si(e){var t,r=Lr(e),o=r[0],i=r[1],p=new yi(xi(e,o,i)),l=0,m=i>0?o-4:o,d;for(d=0;d<m;d+=4)t=M[e.charCodeAt(d)]<<18|M[e.charCodeAt(d+1)]<<12|M[e.charCodeAt(d+2)]<<6|M[e.charCodeAt(d+3)],p[l++]=t>>16&255,p[l++]=t>>8&255,p[l++]=t&255;return i===2&&(t=M[e.charCodeAt(d)]<<2|M[e.charCodeAt(d+1)]>>4,p[l++]=t&255),i===1&&(t=M[e.charCodeAt(d)]<<10|M[e.charCodeAt(d+1)]<<4|M[e.charCodeAt(d+2)]>>2,p[l++]=t>>8&255,p[l++]=t&255),p}function wi(e){return G[e>>18&63]+G[e>>12&63]+G[e>>6&63]+G[e&63]}function Ai(e,t,r){for(var o,i=[],p=t;p<r;p+=3)o=(e[p]<<16&16711680)+(e[p+1]<<8&65280)+(e[p+2]&255),i.push(wi(o));return i.join("")}function vi(e){for(var t,r=e.length,o=r%3,i=[],p=16383,l=0,m=r-o;l<m;l+=p)i.push(Ai(e,l,l+p>m?m:l+p));return o===1?(t=e[r-1],i.push(G[t>>2]+G[t<<4&63]+"==")):o===2&&(t=(e[r-2]<<8)+e[r-1],i.push(G[t>>10]+G[t>>4&63]+G[t<<2&63]+"=")),i.join("")}});var Nr=Fe(Et=>{n();Et.read=function(e,t,r,o,i){var p,l,m=i*8-o-1,d=(1<<m)-1,f=d>>1,x=-7,h=r?i-1:0,D=r?-1:1,b=e[t+h];for(h+=D,p=b&(1<<-x)-1,b>>=-x,x+=m;x>0;p=p*256+e[t+h],h+=D,x-=8);for(l=p&(1<<-x)-1,p>>=-x,x+=o;x>0;l=l*256+e[t+h],h+=D,x-=8);if(p===0)p=1-f;else{if(p===d)return l?NaN:(b?-1:1)*(1/0);l=l+Math.pow(2,o),p=p-f}return(b?-1:1)*l*Math.pow(2,p-o)};Et.write=function(e,t,r,o,i,p){var l,m,d,f=p*8-i-1,x=(1<<f)-1,h=x>>1,D=i===23?Math.pow(2,-24)-Math.pow(2,-77):0,b=o?0:p-1,V=o?1:-1,N=t<0||t===0&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(m=isNaN(t)?1:0,l=x):(l=Math.floor(Math.log(t)/Math.LN2),t*(d=Math.pow(2,-l))<1&&(l--,d*=2),l+h>=1?t+=D/d:t+=D*Math.pow(2,1-h),t*d>=2&&(l++,d/=2),l+h>=x?(m=0,l=x):l+h>=1?(m=(t*d-1)*Math.pow(2,i),l=l+h):(m=t*Math.pow(2,h-1)*Math.pow(2,i),l=0));i>=8;e[r+b]=m&255,b+=V,m/=256,i-=8);for(l=l<<i|m,f+=i;f>0;e[r+b]=l&255,b+=V,l/=256,f-=8);e[r+b-V]|=N*128}});var Hr=Fe(me=>{"use strict";n();var kt=Dr(),de=Nr(),Cr=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;me.Buffer=u;me.SlowBuffer=Di;me.INSPECT_MAX_BYTES=50;var Ue=2147483647;me.kMaxLength=Ue;u.TYPED_ARRAY_SUPPORT=Ii();!u.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 Ii(){try{var e=new Uint8Array(1),t={foo:function(){return 42}};return Object.setPrototypeOf(t,Uint8Array.prototype),Object.setPrototypeOf(e,t),e.foo()===42}catch(r){return!1}}Object.defineProperty(u.prototype,"parent",{enumerable:!0,get:function(){if(!!u.isBuffer(this))return this.buffer}});Object.defineProperty(u.prototype,"offset",{enumerable:!0,get:function(){if(!!u.isBuffer(this))return this.byteOffset}});function K(e){if(e>Ue)throw new RangeError('The value "'+e+'" is invalid for option "size"');var t=new Uint8Array(e);return Object.setPrototypeOf(t,u.prototype),t}function u(e,t,r){if(typeof e=="number"){if(typeof t=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return Ct(e)}return _r(e,t,r)}u.poolSize=8192;function _r(e,t,r){if(typeof e=="string")return Ei(e,t);if(ArrayBuffer.isView(e))return ki(e);if(e==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e);if(H(e,ArrayBuffer)||e&&H(e.buffer,ArrayBuffer)||typeof SharedArrayBuffer!="undefined"&&(H(e,SharedArrayBuffer)||e&&H(e.buffer,SharedArrayBuffer)))return Dt(e,t,r);if(typeof e=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var o=e.valueOf&&e.valueOf();if(o!=null&&o!==e)return u.from(o,t,r);var i=Li(e);if(i)return i;if(typeof Symbol!="undefined"&&Symbol.toPrimitive!=null&&typeof e[Symbol.toPrimitive]=="function")return u.from(e[Symbol.toPrimitive]("string"),t,r);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e)}u.from=function(e,t,r){return _r(e,t,r)};Object.setPrototypeOf(u.prototype,Uint8Array.prototype);Object.setPrototypeOf(u,Uint8Array);function Mr(e){if(typeof e!="number")throw new TypeError('"size" argument must be of type number');if(e<0)throw new RangeError('The value "'+e+'" is invalid for option "size"')}function bi(e,t,r){return Mr(e),e<=0?K(e):t!==void 0?typeof r=="string"?K(e).fill(t,r):K(e).fill(t):K(e)}u.alloc=function(e,t,r){return bi(e,t,r)};function Ct(e){return Mr(e),K(e<0?0:Pt(e)|0)}u.allocUnsafe=function(e){return Ct(e)};u.allocUnsafeSlow=function(e){return Ct(e)};function Ei(e,t){if((typeof t!="string"||t==="")&&(t="utf8"),!u.isEncoding(t))throw new TypeError("Unknown encoding: "+t);var r=Or(e,t)|0,o=K(r),i=o.write(e,t);return i!==r&&(o=o.slice(0,i)),o}function Lt(e){for(var t=e.length<0?0:Pt(e.length)|0,r=K(t),o=0;o<t;o+=1)r[o]=e[o]&255;return r}function ki(e){if(H(e,Uint8Array)){var t=new Uint8Array(e);return Dt(t.buffer,t.byteOffset,t.byteLength)}return Lt(e)}function Dt(e,t,r){if(t<0||e.byteLength<t)throw new RangeError('"offset" is outside of buffer bounds');if(e.byteLength<t+(r||0))throw new RangeError('"length" is outside of buffer bounds');var o;return t===void 0&&r===void 0?o=new Uint8Array(e):r===void 0?o=new Uint8Array(e,t):o=new Uint8Array(e,t,r),Object.setPrototypeOf(o,u.prototype),o}function Li(e){if(u.isBuffer(e)){var t=Pt(e.length)|0,r=K(t);return r.length===0||e.copy(r,0,0,t),r}if(e.length!==void 0)return typeof e.length!="number"||Rt(e.length)?K(0):Lt(e);if(e.type==="Buffer"&&Array.isArray(e.data))return Lt(e.data)}function Pt(e){if(e>=Ue)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+Ue.toString(16)+" bytes");return e|0}function Di(e){return+e!=e&&(e=0),u.alloc(+e)}u.isBuffer=function(t){return t!=null&&t._isBuffer===!0&&t!==u.prototype};u.compare=function(t,r){if(H(t,Uint8Array)&&(t=u.from(t,t.offset,t.byteLength)),H(r,Uint8Array)&&(r=u.from(r,r.offset,r.byteLength)),!u.isBuffer(t)||!u.isBuffer(r))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(t===r)return 0;for(var o=t.length,i=r.length,p=0,l=Math.min(o,i);p<l;++p)if(t[p]!==r[p]){o=t[p],i=r[p];break}return o<i?-1:i<o?1:0};u.isEncoding=function(t){switch(String(t).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}};u.concat=function(t,r){if(!Array.isArray(t))throw new TypeError('"list" argument must be an Array of Buffers');if(t.length===0)return u.alloc(0);var o;if(r===void 0)for(r=0,o=0;o<t.length;++o)r+=t[o].length;var i=u.allocUnsafe(r),p=0;for(o=0;o<t.length;++o){var l=t[o];if(H(l,Uint8Array))p+l.length>i.length?u.from(l).copy(i,p):Uint8Array.prototype.set.call(i,l,p);else if(u.isBuffer(l))l.copy(i,p);else throw new TypeError('"list" argument must be an Array of Buffers');p+=l.length}return i};function Or(e,t){if(u.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||H(e,ArrayBuffer))return e.byteLength;if(typeof e!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof e);var r=e.length,o=arguments.length>2&&arguments[2]===!0;if(!o&&r===0)return 0;for(var i=!1;;)switch(t){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":return Nt(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return r*2;case"hex":return r>>>1;case"base64":return Gr(e).length;default:if(i)return o?-1:Nt(e).length;t=(""+t).toLowerCase(),i=!0}}u.byteLength=Or;function Ni(e,t,r){var o=!1;if((t===void 0||t<0)&&(t=0),t>this.length||((r===void 0||r>this.length)&&(r=this.length),r<=0)||(r>>>=0,t>>>=0,r<=t))return"";for(e||(e="utf8");;)switch(e){case"hex":return $i(this,t,r);case"utf8":case"utf-8":return Br(this,t,r);case"ascii":return Bi(this,t,r);case"latin1":case"binary":return Ui(this,t,r);case"base64":return Oi(this,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Vi(this,t,r);default:if(o)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),o=!0}}u.prototype._isBuffer=!0;function ce(e,t,r){var o=e[t];e[t]=e[r],e[r]=o}u.prototype.swap16=function(){var t=this.length;if(t%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var r=0;r<t;r+=2)ce(this,r,r+1);return this};u.prototype.swap32=function(){var t=this.length;if(t%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var r=0;r<t;r+=4)ce(this,r,r+3),ce(this,r+1,r+2);return this};u.prototype.swap64=function(){var t=this.length;if(t%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var r=0;r<t;r+=8)ce(this,r,r+7),ce(this,r+1,r+6),ce(this,r+2,r+5),ce(this,r+3,r+4);return this};u.prototype.toString=function(){var t=this.length;return t===0?"":arguments.length===0?Br(this,0,t):Ni.apply(this,arguments)};u.prototype.toLocaleString=u.prototype.toString;u.prototype.equals=function(t){if(!u.isBuffer(t))throw new TypeError("Argument must be a Buffer");return this===t?!0:u.compare(this,t)===0};u.prototype.inspect=function(){var t="",r=me.INSPECT_MAX_BYTES;return t=this.toString("hex",0,r).replace(/(.{2})/g,"$1 ").trim(),this.length>r&&(t+=" ... "),"<Buffer "+t+">"};Cr&&(u.prototype[Cr]=u.prototype.inspect);u.prototype.compare=function(t,r,o,i,p){if(H(t,Uint8Array)&&(t=u.from(t,t.offset,t.byteLength)),!u.isBuffer(t))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof t);if(r===void 0&&(r=0),o===void 0&&(o=t?t.length:0),i===void 0&&(i=0),p===void 0&&(p=this.length),r<0||o>t.length||i<0||p>this.length)throw new RangeError("out of range index");if(i>=p&&r>=o)return 0;if(i>=p)return-1;if(r>=o)return 1;if(r>>>=0,o>>>=0,i>>>=0,p>>>=0,this===t)return 0;for(var l=p-i,m=o-r,d=Math.min(l,m),f=this.slice(i,p),x=t.slice(r,o),h=0;h<d;++h)if(f[h]!==x[h]){l=f[h],m=x[h];break}return l<m?-1:m<l?1:0};function Fr(e,t,r,o,i){if(e.length===0)return-1;if(typeof r=="string"?(o=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),r=+r,Rt(r)&&(r=i?0:e.length-1),r<0&&(r=e.length+r),r>=e.length){if(i)return-1;r=e.length-1}else if(r<0)if(i)r=0;else return-1;if(typeof t=="string"&&(t=u.from(t,o)),u.isBuffer(t))return t.length===0?-1:Pr(e,t,r,o,i);if(typeof t=="number")return t=t&255,typeof Uint8Array.prototype.indexOf=="function"?i?Uint8Array.prototype.indexOf.call(e,t,r):Uint8Array.prototype.lastIndexOf.call(e,t,r):Pr(e,[t],r,o,i);throw new TypeError("val must be string, number or Buffer")}function Pr(e,t,r,o,i){var p=1,l=e.length,m=t.length;if(o!==void 0&&(o=String(o).toLowerCase(),o==="ucs2"||o==="ucs-2"||o==="utf16le"||o==="utf-16le")){if(e.length<2||t.length<2)return-1;p=2,l/=2,m/=2,r/=2}function d(b,V){return p===1?b[V]:b.readUInt16BE(V*p)}var f;if(i){var x=-1;for(f=r;f<l;f++)if(d(e,f)===d(t,x===-1?0:f-x)){if(x===-1&&(x=f),f-x+1===m)return x*p}else x!==-1&&(f-=f-x),x=-1}else for(r+m>l&&(r=l-m),f=r;f>=0;f--){for(var h=!0,D=0;D<m;D++)if(d(e,f+D)!==d(t,D)){h=!1;break}if(h)return f}return-1}u.prototype.includes=function(t,r,o){return this.indexOf(t,r,o)!==-1};u.prototype.indexOf=function(t,r,o){return Fr(this,t,r,o,!0)};u.prototype.lastIndexOf=function(t,r,o){return Fr(this,t,r,o,!1)};function Ci(e,t,r,o){r=Number(r)||0;var i=e.length-r;o?(o=Number(o),o>i&&(o=i)):o=i;var p=t.length;o>p/2&&(o=p/2);for(var l=0;l<o;++l){var m=parseInt(t.substr(l*2,2),16);if(Rt(m))return l;e[r+l]=m}return l}function Pi(e,t,r,o){return $e(Nt(t,e.length-r),e,r,o)}function Ri(e,t,r,o){return $e(Wi(t),e,r,o)}function _i(e,t,r,o){return $e(Gr(t),e,r,o)}function Mi(e,t,r,o){return $e(qi(t,e.length-r),e,r,o)}u.prototype.write=function(t,r,o,i){if(r===void 0)i="utf8",o=this.length,r=0;else if(o===void 0&&typeof r=="string")i=r,o=this.length,r=0;else if(isFinite(r))r=r>>>0,isFinite(o)?(o=o>>>0,i===void 0&&(i="utf8")):(i=o,o=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var p=this.length-r;if((o===void 0||o>p)&&(o=p),t.length>0&&(o<0||r<0)||r>this.length)throw new RangeError("Attempt to write outside buffer bounds");i||(i="utf8");for(var l=!1;;)switch(i){case"hex":return Ci(this,t,r,o);case"utf8":case"utf-8":return Pi(this,t,r,o);case"ascii":case"latin1":case"binary":return Ri(this,t,r,o);case"base64":return _i(this,t,r,o);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Mi(this,t,r,o);default:if(l)throw new TypeError("Unknown encoding: "+i);i=(""+i).toLowerCase(),l=!0}};u.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function Oi(e,t,r){return t===0&&r===e.length?kt.fromByteArray(e):kt.fromByteArray(e.slice(t,r))}function Br(e,t,r){r=Math.min(e.length,r);for(var o=[],i=t;i<r;){var p=e[i],l=null,m=p>239?4:p>223?3:p>191?2:1;if(i+m<=r){var d,f,x,h;switch(m){case 1:p<128&&(l=p);break;case 2:d=e[i+1],(d&192)===128&&(h=(p&31)<<6|d&63,h>127&&(l=h));break;case 3:d=e[i+1],f=e[i+2],(d&192)===128&&(f&192)===128&&(h=(p&15)<<12|(d&63)<<6|f&63,h>2047&&(h<55296||h>57343)&&(l=h));break;case 4:d=e[i+1],f=e[i+2],x=e[i+3],(d&192)===128&&(f&192)===128&&(x&192)===128&&(h=(p&15)<<18|(d&63)<<12|(f&63)<<6|x&63,h>65535&&h<1114112&&(l=h))}}l===null?(l=65533,m=1):l>65535&&(l-=65536,o.push(l>>>10&1023|55296),l=56320|l&1023),o.push(l),i+=m}return Fi(o)}var Rr=4096;function Fi(e){var t=e.length;if(t<=Rr)return String.fromCharCode.apply(String,e);for(var r="",o=0;o<t;)r+=String.fromCharCode.apply(String,e.slice(o,o+=Rr));return r}function Bi(e,t,r){var o="";r=Math.min(e.length,r);for(var i=t;i<r;++i)o+=String.fromCharCode(e[i]&127);return o}function Ui(e,t,r){var o="";r=Math.min(e.length,r);for(var i=t;i<r;++i)o+=String.fromCharCode(e[i]);return o}function $i(e,t,r){var o=e.length;(!t||t<0)&&(t=0),(!r||r<0||r>o)&&(r=o);for(var i="",p=t;p<r;++p)i+=zi[e[p]];return i}function Vi(e,t,r){for(var o=e.slice(t,r),i="",p=0;p<o.length-1;p+=2)i+=String.fromCharCode(o[p]+o[p+1]*256);return i}u.prototype.slice=function(t,r){var o=this.length;t=~~t,r=r===void 0?o:~~r,t<0?(t+=o,t<0&&(t=0)):t>o&&(t=o),r<0?(r+=o,r<0&&(r=0)):r>o&&(r=o),r<t&&(r=t);var i=this.subarray(t,r);return Object.setPrototypeOf(i,u.prototype),i};function k(e,t,r){if(e%1!==0||e<0)throw new RangeError("offset is not uint");if(e+t>r)throw new RangeError("Trying to access beyond buffer length")}u.prototype.readUintLE=u.prototype.readUIntLE=function(t,r,o){t=t>>>0,r=r>>>0,o||k(t,r,this.length);for(var i=this[t],p=1,l=0;++l<r&&(p*=256);)i+=this[t+l]*p;return i};u.prototype.readUintBE=u.prototype.readUIntBE=function(t,r,o){t=t>>>0,r=r>>>0,o||k(t,r,this.length);for(var i=this[t+--r],p=1;r>0&&(p*=256);)i+=this[t+--r]*p;return i};u.prototype.readUint8=u.prototype.readUInt8=function(t,r){return t=t>>>0,r||k(t,1,this.length),this[t]};u.prototype.readUint16LE=u.prototype.readUInt16LE=function(t,r){return t=t>>>0,r||k(t,2,this.length),this[t]|this[t+1]<<8};u.prototype.readUint16BE=u.prototype.readUInt16BE=function(t,r){return t=t>>>0,r||k(t,2,this.length),this[t]<<8|this[t+1]};u.prototype.readUint32LE=u.prototype.readUInt32LE=function(t,r){return t=t>>>0,r||k(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+this[t+3]*16777216};u.prototype.readUint32BE=u.prototype.readUInt32BE=function(t,r){return t=t>>>0,r||k(t,4,this.length),this[t]*16777216+(this[t+1]<<16|this[t+2]<<8|this[t+3])};u.prototype.readIntLE=function(t,r,o){t=t>>>0,r=r>>>0,o||k(t,r,this.length);for(var i=this[t],p=1,l=0;++l<r&&(p*=256);)i+=this[t+l]*p;return p*=128,i>=p&&(i-=Math.pow(2,8*r)),i};u.prototype.readIntBE=function(t,r,o){t=t>>>0,r=r>>>0,o||k(t,r,this.length);for(var i=r,p=1,l=this[t+--i];i>0&&(p*=256);)l+=this[t+--i]*p;return p*=128,l>=p&&(l-=Math.pow(2,8*r)),l};u.prototype.readInt8=function(t,r){return t=t>>>0,r||k(t,1,this.length),this[t]&128?(255-this[t]+1)*-1:this[t]};u.prototype.readInt16LE=function(t,r){t=t>>>0,r||k(t,2,this.length);var o=this[t]|this[t+1]<<8;return o&32768?o|4294901760:o};u.prototype.readInt16BE=function(t,r){t=t>>>0,r||k(t,2,this.length);var o=this[t+1]|this[t]<<8;return o&32768?o|4294901760:o};u.prototype.readInt32LE=function(t,r){return t=t>>>0,r||k(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24};u.prototype.readInt32BE=function(t,r){return t=t>>>0,r||k(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]};u.prototype.readFloatLE=function(t,r){return t=t>>>0,r||k(t,4,this.length),de.read(this,t,!0,23,4)};u.prototype.readFloatBE=function(t,r){return t=t>>>0,r||k(t,4,this.length),de.read(this,t,!1,23,4)};u.prototype.readDoubleLE=function(t,r){return t=t>>>0,r||k(t,8,this.length),de.read(this,t,!0,52,8)};u.prototype.readDoubleBE=function(t,r){return t=t>>>0,r||k(t,8,this.length),de.read(this,t,!1,52,8)};function P(e,t,r,o,i,p){if(!u.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>i||t<p)throw new RangeError('"value" argument is out of bounds');if(r+o>e.length)throw new RangeError("Index out of range")}u.prototype.writeUintLE=u.prototype.writeUIntLE=function(t,r,o,i){if(t=+t,r=r>>>0,o=o>>>0,!i){var p=Math.pow(2,8*o)-1;P(this,t,r,o,p,0)}var l=1,m=0;for(this[r]=t&255;++m<o&&(l*=256);)this[r+m]=t/l&255;return r+o};u.prototype.writeUintBE=u.prototype.writeUIntBE=function(t,r,o,i){if(t=+t,r=r>>>0,o=o>>>0,!i){var p=Math.pow(2,8*o)-1;P(this,t,r,o,p,0)}var l=o-1,m=1;for(this[r+l]=t&255;--l>=0&&(m*=256);)this[r+l]=t/m&255;return r+o};u.prototype.writeUint8=u.prototype.writeUInt8=function(t,r,o){return t=+t,r=r>>>0,o||P(this,t,r,1,255,0),this[r]=t&255,r+1};u.prototype.writeUint16LE=u.prototype.writeUInt16LE=function(t,r,o){return t=+t,r=r>>>0,o||P(this,t,r,2,65535,0),this[r]=t&255,this[r+1]=t>>>8,r+2};u.prototype.writeUint16BE=u.prototype.writeUInt16BE=function(t,r,o){return t=+t,r=r>>>0,o||P(this,t,r,2,65535,0),this[r]=t>>>8,this[r+1]=t&255,r+2};u.prototype.writeUint32LE=u.prototype.writeUInt32LE=function(t,r,o){return t=+t,r=r>>>0,o||P(this,t,r,4,4294967295,0),this[r+3]=t>>>24,this[r+2]=t>>>16,this[r+1]=t>>>8,this[r]=t&255,r+4};u.prototype.writeUint32BE=u.prototype.writeUInt32BE=function(t,r,o){return t=+t,r=r>>>0,o||P(this,t,r,4,4294967295,0),this[r]=t>>>24,this[r+1]=t>>>16,this[r+2]=t>>>8,this[r+3]=t&255,r+4};u.prototype.writeIntLE=function(t,r,o,i){if(t=+t,r=r>>>0,!i){var p=Math.pow(2,8*o-1);P(this,t,r,o,p-1,-p)}var l=0,m=1,d=0;for(this[r]=t&255;++l<o&&(m*=256);)t<0&&d===0&&this[r+l-1]!==0&&(d=1),this[r+l]=(t/m>>0)-d&255;return r+o};u.prototype.writeIntBE=function(t,r,o,i){if(t=+t,r=r>>>0,!i){var p=Math.pow(2,8*o-1);P(this,t,r,o,p-1,-p)}var l=o-1,m=1,d=0;for(this[r+l]=t&255;--l>=0&&(m*=256);)t<0&&d===0&&this[r+l+1]!==0&&(d=1),this[r+l]=(t/m>>0)-d&255;return r+o};u.prototype.writeInt8=function(t,r,o){return t=+t,r=r>>>0,o||P(this,t,r,1,127,-128),t<0&&(t=255+t+1),this[r]=t&255,r+1};u.prototype.writeInt16LE=function(t,r,o){return t=+t,r=r>>>0,o||P(this,t,r,2,32767,-32768),this[r]=t&255,this[r+1]=t>>>8,r+2};u.prototype.writeInt16BE=function(t,r,o){return t=+t,r=r>>>0,o||P(this,t,r,2,32767,-32768),this[r]=t>>>8,this[r+1]=t&255,r+2};u.prototype.writeInt32LE=function(t,r,o){return t=+t,r=r>>>0,o||P(this,t,r,4,2147483647,-2147483648),this[r]=t&255,this[r+1]=t>>>8,this[r+2]=t>>>16,this[r+3]=t>>>24,r+4};u.prototype.writeInt32BE=function(t,r,o){return t=+t,r=r>>>0,o||P(this,t,r,4,2147483647,-2147483648),t<0&&(t=4294967295+t+1),this[r]=t>>>24,this[r+1]=t>>>16,this[r+2]=t>>>8,this[r+3]=t&255,r+4};function Ur(e,t,r,o,i,p){if(r+o>e.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function $r(e,t,r,o,i){return t=+t,r=r>>>0,i||Ur(e,t,r,4,34028234663852886e22,-34028234663852886e22),de.write(e,t,r,o,23,4),r+4}u.prototype.writeFloatLE=function(t,r,o){return $r(this,t,r,!0,o)};u.prototype.writeFloatBE=function(t,r,o){return $r(this,t,r,!1,o)};function Vr(e,t,r,o,i){return t=+t,r=r>>>0,i||Ur(e,t,r,8,17976931348623157e292,-17976931348623157e292),de.write(e,t,r,o,52,8),r+8}u.prototype.writeDoubleLE=function(t,r,o){return Vr(this,t,r,!0,o)};u.prototype.writeDoubleBE=function(t,r,o){return Vr(this,t,r,!1,o)};u.prototype.copy=function(t,r,o,i){if(!u.isBuffer(t))throw new TypeError("argument should be a Buffer");if(o||(o=0),!i&&i!==0&&(i=this.length),r>=t.length&&(r=t.length),r||(r=0),i>0&&i<o&&(i=o),i===o||t.length===0||this.length===0)return 0;if(r<0)throw new RangeError("targetStart out of bounds");if(o<0||o>=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),t.length-r<i-o&&(i=t.length-r+o);var p=i-o;return this===t&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(r,o,i):Uint8Array.prototype.set.call(t,this.subarray(o,i),r),p};u.prototype.fill=function(t,r,o,i){if(typeof t=="string"){if(typeof r=="string"?(i=r,r=0,o=this.length):typeof o=="string"&&(i=o,o=this.length),i!==void 0&&typeof i!="string")throw new TypeError("encoding must be a string");if(typeof i=="string"&&!u.isEncoding(i))throw new TypeError("Unknown encoding: "+i);if(t.length===1){var p=t.charCodeAt(0);(i==="utf8"&&p<128||i==="latin1")&&(t=p)}}else typeof t=="number"?t=t&255:typeof t=="boolean"&&(t=Number(t));if(r<0||this.length<r||this.length<o)throw new RangeError("Out of range index");if(o<=r)return this;r=r>>>0,o=o===void 0?this.length:o>>>0,t||(t=0);var l;if(typeof t=="number")for(l=r;l<o;++l)this[l]=t;else{var m=u.isBuffer(t)?t:u.from(t,i),d=m.length;if(d===0)throw new TypeError('The value "'+t+'" is invalid for argument "value"');for(l=0;l<o-r;++l)this[l+r]=m[l%d]}return this};var Gi=/[^+/0-9A-Za-z-_]/g;function Hi(e){if(e=e.split("=")[0],e=e.trim().replace(Gi,""),e.length<2)return"";for(;e.length%4!==0;)e=e+"=";return e}function Nt(e,t){t=t||1/0;for(var r,o=e.length,i=null,p=[],l=0;l<o;++l){if(r=e.charCodeAt(l),r>55295&&r<57344){if(!i){if(r>56319){(t-=3)>-1&&p.push(239,191,189);continue}else if(l+1===o){(t-=3)>-1&&p.push(239,191,189);continue}i=r;continue}if(r<56320){(t-=3)>-1&&p.push(239,191,189),i=r;continue}r=(i-55296<<10|r-56320)+65536}else i&&(t-=3)>-1&&p.push(239,191,189);if(i=null,r<128){if((t-=1)<0)break;p.push(r)}else if(r<2048){if((t-=2)<0)break;p.push(r>>6|192,r&63|128)}else if(r<65536){if((t-=3)<0)break;p.push(r>>12|224,r>>6&63|128,r&63|128)}else if(r<1114112){if((t-=4)<0)break;p.push(r>>18|240,r>>12&63|128,r>>6&63|128,r&63|128)}else throw new Error("Invalid code point")}return p}function Wi(e){for(var t=[],r=0;r<e.length;++r)t.push(e.charCodeAt(r)&255);return t}function qi(e,t){for(var r,o,i,p=[],l=0;l<e.length&&!((t-=2)<0);++l)r=e.charCodeAt(l),o=r>>8,i=r%256,p.push(i),p.push(o);return p}function Gr(e){return kt.toByteArray(Hi(e))}function $e(e,t,r,o){for(var i=0;i<o&&!(i+r>=t.length||i>=e.length);++i)t[i+r]=e[i];return i}function H(e,t){return e instanceof t||e!=null&&e.constructor!=null&&e.constructor.name!=null&&e.constructor.name===t.name}function Rt(e){return e!==e}var zi=function(){for(var e="0123456789abcdef",t=new Array(256),r=0;r<16;++r)for(var o=r*16,i=0;i<16;++i)t[o+i]=e[r]+e[i];return t}()});var Kr=Fe((Ga,jr)=>{n();var A=jr.exports={},W,q;function _t(){throw new Error("setTimeout has not been defined")}function Mt(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?W=setTimeout:W=_t}catch(e){W=_t}try{typeof clearTimeout=="function"?q=clearTimeout:q=Mt}catch(e){q=Mt}})();function Wr(e){if(W===setTimeout)return setTimeout(e,0);if((W===_t||!W)&&setTimeout)return W=setTimeout,setTimeout(e,0);try{return W(e,0)}catch(t){try{return W.call(null,e,0)}catch(r){return W.call(this,e,0)}}}function ji(e){if(q===clearTimeout)return clearTimeout(e);if((q===Mt||!q)&&clearTimeout)return q=clearTimeout,clearTimeout(e);try{return q(e)}catch(t){try{return q.call(null,e)}catch(r){return q.call(this,e)}}}var Y=[],ge=!1,le,Ve=-1;function Ki(){!ge||!le||(ge=!1,le.length?Y=le.concat(Y):Ve=-1,Y.length&&qr())}function qr(){if(!ge){var e=Wr(Ki);ge=!0;for(var t=Y.length;t;){for(le=Y,Y=[];++Ve<t;)le&&le[Ve].run();Ve=-1,t=Y.length}le=null,ge=!1,ji(e)}}A.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)t[r-1]=arguments[r];Y.push(new zr(e,t)),Y.length===1&&!ge&&Wr(qr)};function zr(e,t){this.fun=e,this.array=t}zr.prototype.run=function(){this.fun.apply(null,this.array)};A.title="browser";A.browser=!0;A.env={};A.argv=[];A.version="";A.versions={};function Z(){}A.on=Z;A.addListener=Z;A.once=Z;A.off=Z;A.removeListener=Z;A.removeAllListeners=Z;A.emit=Z;A.prependListener=Z;A.prependOnceListener=Z;A.listeners=function(e){return[]};A.binding=function(e){throw new Error("process.binding is not supported")};A.cwd=function(){return"/"};A.chdir=function(e){throw new Error("process.chdir is not supported")};A.umask=function(){return 0}});var s,a,Ha,n=T(()=>{s=S(Hr()),a=S(Kr()),Ha=function(e){function t(){var o=this||self;return delete e.prototype.__magic__,o}if(typeof globalThis=="object")return globalThis;if(this)return t();e.defineProperty(e.prototype,"__magic__",{configurable:!0,get:t});var r=__magic__;return r}(Object)});var Yr=T(()=>{"use strict";n()});var Zr=T(()=>{"use strict";n()});var Xr=T(()=>{"use strict";n()});var Qr=T(()=>{"use strict";n()});var O=T(()=>{"use strict";n()});var Jr=T(()=>{"use strict";n()});var en=T(()=>{"use strict";n()});var C=T(()=>{"use strict";n()});var tn=T(()=>{"use strict";n()});var rn=T(()=>{"use strict";n()});var F=T(()=>{"use strict";n();Zr();Xr();Qr();O();Jr();en();C();tn();rn()});var pe,nn,cc,on,lc,sn,pc,uc,Yi,fe=T(()=>{"use strict";n();F();pe={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:nn,egldLabel:cc}=pe["devnet"],{chainId:on,egldLabel:lc}=pe["testnet"],{chainId:sn,egldLabel:pc}=pe["mainnet"],uc={["devnet"]:nn,["testnet"]:on,["mainnet"]:sn},Yi={[nn]:"devnet",[on]:"testnet",[sn]:"mainnet"}});var Ot=T(()=>{"use strict";n()});var an=T(()=>{"use strict";n()});var cn,Ft=T(()=>{"use strict";n();cn="transaction-status-toast-id"});var z,ln=T(()=>{"use strict";n();z=require("@multiversx/sdk-web-wallet-provider")});var Bt,Ut,pn,Ge,un,Te,I=T(()=>{"use strict";n();Yr();fe();Ot();an();Ft();ln();Bt=5e4,Ut=1e9,pn=1,Ge="logout",un="login",Te="0"});var He,$t=T(()=>{"use strict";n();He=()=>Date.now()/1e3});var dn=T(()=>{"use strict";n()});var mn=T(()=>{"use strict";n()});var gn=T(()=>{"use strict";n();$t();dn();mn()});var Gt={};se(Gt,{getItem:()=>Xi,localStorageKeys:()=>U,removeItem:()=>Qi,setItem:()=>Zi});var U,Vt,Zi,Xi,Qi,ye=T(()=>{"use strict";n();gn();U={loginExpiresAt:"sdk-dapp-login-expires-at",logoutEvent:"sdk-dapp-logout-event"},Vt=typeof localStorage!="undefined",Zi=({key:e,data:t,expires:r})=>{!Vt||localStorage.setItem(String(e),JSON.stringify({expires:r,data:t}))},Xi=e=>{if(!Vt)return;let t=localStorage.getItem(String(e));if(!t)return null;let r=JSON.parse(t);return!r||!r.hasOwnProperty("expires")||!r.hasOwnProperty("data")?null:He()>=r.expires?(localStorage.removeItem(String(e)),null):r.data},Qi=e=>{!Vt||localStorage.removeItem(String(e))}});var Ht={};se(Ht,{clear:()=>hn,getItem:()=>Tn,removeItem:()=>yn,setItem:()=>fn,storage:()=>Ji});var fn,Tn,yn,hn,Ji,xn=T(()=>{"use strict";n();fn=({key:e,data:t,expires:r})=>{sessionStorage.setItem(String(e),JSON.stringify({expires:r,data:t}))},Tn=e=>{let t=sessionStorage.getItem(String(e));if(!t)return null;let r=JSON.parse(t);return!r||!r.hasOwnProperty("expires")||!r.hasOwnProperty("data")?null:Date.now()>=r.expires?(sessionStorage.removeItem(String(e)),null):r.data},yn=e=>sessionStorage.removeItem(String(e)),hn=()=>sessionStorage.clear(),Ji={setItem:fn,getItem:Tn,removeItem:yn,clear:hn}});var j,we=T(()=>{"use strict";n();ye();xn();j={session:Ht,local:Gt}});var Wt,L,Ae,$=T(()=>{"use strict";n();Wt=require("@reduxjs/toolkit");I();L=(0,Wt.createAction)(Ge),Ae=(0,Wt.createAction)(un,e=>({payload:e}))});var zt,Sn,wn,We,qt,An,jt,Vc,Kt,Gc,Hc,Wc,qc,zc,jc,Kc,qe,ze=T(()=>{"use strict";n();zt=require("@multiversx/sdk-core"),Sn=require("@reduxjs/toolkit"),wn=require("redux-persist");I();we();ye();$();We={balance:"...",address:"",nonce:0,txCount:0,scrCount:0,claimableRewards:Te},qt={address:"",websocketEvent:null,accounts:{"":We},ledgerAccount:null,publicKey:"",walletConnectAccount:null,isAccountLoading:!0,accountLoadingError:null},An=(0,Sn.createSlice)({name:"accountInfoSlice",initialState:qt,reducers:{setAddress:(e,t)=>{let r=t.payload;e.address=r,e.publicKey=new zt.Address(r).hex()},setAccount:(e,t)=>{let r=e.address===t.payload.address;e.accounts={[e.address]:r?t.payload:We},e.shard=t.payload.shard,e.isAccountLoading=!1,e.accountLoadingError=null},setAccountNonce:(e,t)=>{let{address:r}=e;e.accounts[r].nonce=t.payload},setAccountShard:(e,t)=>{e.shard=t.payload},setLedgerAccount:(e,t)=>{e.ledgerAccount=t.payload},updateLedgerAccount:(e,t)=>{e.ledgerAccount!=null&&(e.ledgerAccount.index=t.payload.index,e.ledgerAccount.address=t.payload.address)},setWalletConnectAccount:(e,t)=>{e.walletConnectAccount=t.payload},setIsAccountLoading:(e,t)=>{e.isAccountLoading=t.payload,e.accountLoadingError=null},setAccountLoadingError:(e,t)=>{e.accountLoadingError=t.payload,e.isAccountLoading=!1},setWebsocketEvent:(e,t)=>{e.websocketEvent={timestamp:Date.now(),message:t.payload}}},extraReducers:e=>{e.addCase(L,()=>(j.local.removeItem(U.loginExpiresAt),qt)),e.addCase(Ae,(t,r)=>{let{address:o}=r.payload;t.address=o,t.publicKey=new zt.Address(o).hex()}),e.addCase(wn.REHYDRATE,(t,r)=>{var f;if(!((f=r.payload)!=null&&f.account))return;let{account:o}=r.payload,{address:i,shard:p,accounts:l,publicKey:m}=o;t.address=i,t.shard=p;let d=l&&i in l;t.accounts=d?l:qt.accounts,t.publicKey=m})}}),{setAccount:jt,setAddress:Vc,setAccountNonce:Kt,setAccountShard:Gc,setLedgerAccount:Hc,updateLedgerAccount:Wc,setWalletConnectAccount:qc,setIsAccountLoading:zc,setAccountLoadingError:jc,setWebsocketEvent:Kc}=An.actions,qe=An.reducer});function ve(){return new Date().setHours(new Date().getHours()+24)}function Ie(e){j.local.setItem({key:U.loginExpiresAt,data:e,expires:e})}var Yt=T(()=>{"use strict";n();we();ye()});var In,vn,bn,ol,il,sl,al,cl,ll,En,kn,je,Ee=T(()=>{"use strict";n();In=require("@reduxjs/toolkit");Yt();O();$();vn={loginMethod:"",walletConnectLogin:null,ledgerLogin:null,tokenLogin:null,walletLogin:null,extensionLogin:null,operaLogin:null,isLoginSessionInvalid:!1},bn=(0,In.createSlice)({name:"loginInfoSlice",initialState:vn,reducers:{setLoginMethod:(e,t)=>{e.loginMethod=t.payload},setTokenLogin:(e,t)=>{e.tokenLogin=t.payload},setTokenLoginSignature:(e,t)=>{(e==null?void 0:e.tokenLogin)!=null&&(e.tokenLogin.signature=t.payload)},setWalletLogin:(e,t)=>{e.walletLogin=t.payload},setWalletConnectLogin:(e,t)=>{e.walletConnectLogin=t.payload},setLedgerLogin:(e,t)=>{e.ledgerLogin=t.payload},invalidateLoginSession:e=>{e.isLoginSessionInvalid=!0},setLogoutRoute:(e,t)=>{e.logoutRoute=t.payload}},extraReducers:e=>{e.addCase(L,()=>vn),e.addCase(Ae,(t,r)=>{t.loginMethod=r.payload.loginMethod,Ie(ve())})}}),{setLoginMethod:ol,setWalletConnectLogin:il,setLedgerLogin:sl,setTokenLogin:al,setTokenLoginSignature:cl,setWalletLogin:ll,invalidateLoginSession:En,setLogoutRoute:kn}=bn.actions,je=bn.reducer});var Dn,Ln,Nn,ml,gl,fl,Tl,Ke,Ye=T(()=>{"use strict";n();Dn=require("@reduxjs/toolkit");$();Ln={},Nn=(0,Dn.createSlice)({name:"modalsSlice",initialState:Ln,reducers:{setTxSubmittedModal:(e,t)=>{e.txSubmittedModal=t.payload},setNotificationModal:(e,t)=>{e.notificationModal=t.payload},clearTxSubmittedModal:e=>{e.txSubmittedModal=void 0},clearNotificationModal:e=>{e.notificationModal=void 0}},extraReducers:e=>{e.addCase(L,()=>Ln)}}),{setTxSubmittedModal:ml,setNotificationModal:gl,clearTxSubmittedModal:fl,clearNotificationModal:Tl}=Nn.actions,Ke=Nn.reducer});var Cn,Pn,Zt,Xt=T(()=>{"use strict";n();Cn=!1,Pn=(e=!0)=>{Cn=e},Zt=(e,t=0)=>{Cn||setTimeout(()=>{window.location.href=e,window.location.assign(e)},t)}});var Rn=T(()=>{"use strict";n();Xt()});function Qt(e){return e[Math.floor(Math.random()*e.length)]}var _n=T(()=>{"use strict";n()});var Mn=T(()=>{"use strict";n();Ot()});var On=T(()=>{"use strict";n();Rn();_n();Mn()});var Fn,Bn,Jt,es,Un,er,Cl,Ze,ke=T(()=>{"use strict";n();Fn=require("@reduxjs/toolkit"),Bn=S(require("lodash.omit"));On();Jt={id:"not-configured",chainId:"",name:"NOT CONFIGURED",egldLabel:"",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"",walletConnectBridgeAddress:"",walletConnectV2RelayAddress:"",walletConnectV2ProjectId:"",walletConnectV2Options:{},walletAddress:"",apiAddress:"",explorerAddress:"",apiTimeout:"4000"},es={network:Jt,chainID:"-1"},Un=(0,Fn.createSlice)({name:"appConfig",initialState:es,reducers:{initializeNetworkConfig:(e,t)=>{let r=Qt(t.payload.walletConnectBridgeAddresses),o=Qt(t.payload.walletConnectV2RelayAddresses),i=(0,Bn.default)(t.payload,"walletConnectBridgeAddresses","walletConnectV2RelayAddresses");e.network=w(y(y({},e.network),i),{walletConnectBridgeAddress:r,walletConnectV2RelayAddress:o})},setChainID:(e,t)=>{e.chainID=t.payload}}}),{initializeNetworkConfig:er,setChainID:Cl}=Un.actions,Ze=Un.reducer});var $n,tr,Vn,Fl,Bl,Ul,Xe,Qe=T(()=>{"use strict";n();$n=require("@reduxjs/toolkit");F();$();tr={isSigning:!1,signedSessions:{}},Vn=(0,$n.createSlice)({name:"signedMessageInfoSliceState",initialState:tr,reducers:{setSignSession:(e,t)=>{let{sessionId:r,signedSession:o,errorMessage:i}=t.payload;return w(y({},e),{errorMessage:i!=null?i:e.errorMessage,isSigning:o.status==="pending",signedSessions:w(y({},e.signedSessions),{[r]:o})})},setSignSessionState:(e,t)=>y(y({},e),t.payload),clearSignedMessageInfo:()=>tr},extraReducers:e=>{e.addCase(L,()=>tr)}}),{setSignSession:Fl,clearSignedMessageInfo:Bl,setSignSessionState:Ul}=Vn.actions,Xe=Vn.reducer});var Hn,Wn,Gn,qn,jl,Kl,Yl,Zl,Xl,Ql,Je,et=T(()=>{"use strict";n();Hn=require("@reduxjs/toolkit"),Wn=require("redux-persist");Ft();F();$t();$();Gn={customToasts:[],transactionToasts:[],failTransactionToast:null},qn=(0,Hn.createSlice)({name:"toastsSlice",initialState:Gn,reducers:{addCustomToast:(e,t)=>{e.customToasts.push(w(y({},t.payload),{type:"custom",toastId:t.payload.toastId||`custom-toast-${e.customToasts.length+1}`}))},removeCustomToast:(e,t)=>{e.customToasts=e.customToasts.filter(r=>r.toastId!==t.payload)},addTransactionToast:(e,t)=>{e.transactionToasts.push({type:"transaction",startTimestamp:He(),toastId:t.payload||`custom-toast-${e.transactionToasts.length+1}`})},removeTransactionToast:(e,t)=>{e.transactionToasts=e.transactionToasts.filter(r=>r.toastId!==t.payload)},addFailTransactionToast:(e,t)=>{e.failTransactionToast=w(y({},t.payload),{toastId:cn})},removeFailTransactionToast:e=>{e.failTransactionToast=null}},extraReducers:e=>{e.addCase(L,()=>Gn),e.addCase(Wn.REHYDRATE,(t,r)=>{var i,p;let o=(p=(i=r.customToasts)==null?void 0:i.filter(l=>!("component"in l)))!=null?p:[];t.customToasts=o})}}),{addCustomToast:jl,removeCustomToast:Kl,addTransactionToast:Yl,removeTransactionToast:Zl,addFailTransactionToast:Xl,removeFailTransactionToast:Ql}=qn.actions,Je=qn.reducer});var zn,nr,or,ir,ts,rr,jn,rp,np,op,tt,rt=T(()=>{"use strict";n();zn=require("@reduxjs/toolkit");$();nr="Transaction failed",or="Transaction successful",ir="Processing transaction",ts="Transaction submitted",rr={},jn=(0,zn.createSlice)({name:"transactionsInfo",initialState:rr,reducers:{setTransactionsDisplayInfo(e,t){let{sessionId:r,transactionsDisplayInfo:o}=t.payload;r!=null&&(e[r]={errorMessage:(o==null?void 0:o.errorMessage)||nr,successMessage:(o==null?void 0:o.successMessage)||or,processingMessage:(o==null?void 0:o.processingMessage)||ir,submittedMessage:(o==null?void 0:o.submittedMessage)||ts,transactionDuration:o==null?void 0:o.transactionDuration})},clearTransactionsInfoForSessionId(e,t){t.payload!=null&&delete e[t.payload]},clearTransactionsInfo:()=>rr},extraReducers:e=>{e.addCase(L,()=>rr)}}),{clearTransactionsInfo:rp,setTransactionsDisplayInfo:np,clearTransactionsInfoForSessionId:op}=jn.actions,tt=jn.reducer});function Kn(e){return e!=null&&(ps(e)||gs(e))}function nt(e){return e!=null&&(us(e)||fs(e))}function ot(e){return e!=null&&(ds(e)||Ts(e))}function Yn(e){return e!=null&&ms(e)}function ps(e){return e!=null&&ns.includes(e)}function us(e){return e!=null&&os.includes(e)}function ds(e){return e!=null&&is.includes(e)}function ms(e){return e!=null&&ss.includes(e)}function gs(e){return e!=null&&as.includes(e)}function fs(e){return e!=null&&cs.includes(e)}function Ts(e){return e!=null&&ls.includes(e)}var ns,os,is,ss,as,cs,ls,ar=T(()=>{"use strict";n();O();ns=["sent"],os=["success"],is=["fail","cancelled","timedOut"],ss=["timedOut"],as=["pending"],cs=["success"],ls=["fail","invalid"]});var Zn,Xn,Le,ys,Qn,mp,gp,fp,Tp,yp,hp,xp,Sp,wp,Ap,it,st=T(()=>{"use strict";n();Zn=require("@reduxjs/toolkit"),Xn=require("redux-persist");O();ar();$();Le={signedTransactions:{},transactionsToSign:null,signTransactionsError:null,signTransactionsCancelMessage:null,customTransactionInformationForSessionId:{}},ys={signWithoutSending:!1,sessionInformation:null,redirectAfterSign:!1},Qn=(0,Zn.createSlice)({name:"transactionsSlice",initialState:Le,reducers:{moveTransactionsToSignedState:(e,t)=>{var d,f;let{sessionId:r,transactions:o,errorMessage:i,status:p,redirectRoute:l}=t.payload,m=((d=e.customTransactionInformationForSessionId)==null?void 0:d[r])||ys;e.signedTransactions[r]={transactions:o,status:p,errorMessage:i,redirectRoute:l,customTransactionInformation:m},((f=e==null?void 0:e.transactionsToSign)==null?void 0:f.sessionId)===r&&(e.transactionsToSign=Le.transactionsToSign)},clearSignedTransaction:(e,t)=>{e.signedTransactions[t.payload]&&delete e.signedTransactions[t.payload]},clearTransactionToSign:e=>{e!=null&&e.transactionsToSign&&(e.transactionsToSign=null)},updateSignedTransaction:(e,t)=>{e.signedTransactions=y(y({},e.signedTransactions),t.payload)},updateSignedTransactions:(e,t)=>{let{sessionId:r,status:o,errorMessage:i,transactions:p}=t.payload;e.signedTransactions[r]!=null&&(e.signedTransactions[r].status=o,i!=null&&(e.signedTransactions[r].errorMessage=i),p!=null&&(e.signedTransactions[r].transactions=p))},updateSignedTransactionStatus:(e,t)=>{var m,d,f,x,h,D;let{sessionId:r,status:o,errorMessage:i,transactionHash:p}=t.payload,l=(d=(m=e.signedTransactions)==null?void 0:m[r])==null?void 0:d.transactions;if(l!=null){e.signedTransactions[r].transactions=l.map(N=>N.hash===p?w(y({},N),{status:o,errorMessage:i}):N);let b=(x=(f=e.signedTransactions[r])==null?void 0:f.transactions)==null?void 0:x.every(N=>nt(N.status)),V=(D=(h=e.signedTransactions[r])==null?void 0:h.transactions)==null?void 0:D.every(N=>ot(N.status));b&&(e.signedTransactions[r].status="success"),V&&(e.signedTransactions[r].status="fail")}},setTransactionsToSign:(e,t)=>{e.transactionsToSign=t.payload;let{sessionId:r,customTransactionInformation:o}=t.payload;e.customTransactionInformationForSessionId[r]=o,e.signTransactionsError=null},clearAllTransactionsToSign:e=>{e.transactionsToSign=Le.transactionsToSign,e.signTransactionsError=null},clearAllSignedTransactions:e=>{e.signedTransactions=Le.signedTransactions},setSignTransactionsError:(e,t)=>{e.signTransactionsError=t.payload},setSignTransactionsCancelMessage:(e,t)=>{e.signTransactionsCancelMessage=t.payload}},extraReducers:e=>{e.addCase(L,()=>Le),e.addCase(Xn.REHYDRATE,(t,r)=>{var l;if(t.signTransactionsCancelMessage=null,!((l=r.payload)!=null&&l.transactions))return;let{signedTransactions:o,customTransactionInformationForSessionId:i}=r.payload.transactions,p=Object.entries(o).reduce((m,[d,f])=>{let x=new Date(d),h=new Date;return h.setHours(h.getHours()+5),h-x>0||(m[d]=f),m},{});i!=null&&(t.customTransactionInformationForSessionId=i),o!=null&&(t.signedTransactions=p)})}}),{updateSignedTransactionStatus:mp,updateSignedTransactions:gp,setTransactionsToSign:fp,clearAllTransactionsToSign:Tp,clearAllSignedTransactions:yp,clearSignedTransaction:hp,clearTransactionToSign:xp,setSignTransactionsError:Sp,setSignTransactionsCancelMessage:wp,moveTransactionsToSignedState:Ap}=Qn.actions,it=Qn.reducer});var te=T(()=>{"use strict";n();ze();Ee();Ye();ke();Qe();et();rt();st()});var dr=T(()=>{"use strict";n()});var fo,go,To,Ed,kd,Ld,Dd,Nd,Cd,yo,ho=T(()=>{"use strict";n();fo=require("@reduxjs/toolkit");$();go={visible:!1,modal:{showHeader:!0,showFooter:!1,headerText:"",footerText:""}},To=(0,fo.createSlice)({name:"dappModalsSlice",initialState:go,reducers:{setDappModalVisibility:(e,t)=>{e.visible=t.payload},setDappModalHeaderVisibility:(e,t)=>{e.modal.showHeader=t.payload},setDappModalFooterVisibility:(e,t)=>{e.modal.showFooter=t.payload},setDappModalHeaderText:(e,t)=>{e.modal.headerText=t.payload},setDappModalFooterText:(e,t)=>{e.modal.footerText=t.payload},setDappModalConfig:(e,t)=>{e.modal=y({},t.payload)}},extraReducers:e=>{e.addCase(L,()=>go)}}),{setDappModalVisibility:Ed,setDappModalHeaderVisibility:kd,setDappModalFooterVisibility:Ld,setDappModalHeaderText:Dd,setDappModalFooterText:Nd,setDappModalConfig:Cd}=To.actions,yo=To.reducer});var xo,Ns,Cs,ue,gt=T(()=>{"use strict";n();xo=require("@reduxjs/toolkit");dr();ze();ho();Ee();Ye();ke();Qe();et();rt();st();Ns={["account"]:qe,["dappModal"]:yo,["loginInfo"]:je,["modals"]:Ke,["networkConfig"]:Ze,["signedMessageInfo"]:Xe,["toasts"]:Je,["transactionsInfo"]:tt,["transactions"]:it},Cs=(e={})=>(0,xo.combineReducers)(y(y({},Ns),e)),ue=Cs});var vo={};se(vo,{default:()=>zs,sessionStorageReducers:()=>mr});function oe(e,t=[]){return{key:e,version:1,storage:wo.default,blacklist:t}}var _,So,wo,Ps,Ce,Rs,_s,Ms,Os,Fs,Bs,Us,$s,Vs,Ao,Gs,mr,Hs,Ws,qs,zs,Io=T(()=>{"use strict";n();_=require("redux-persist"),So=S(require("redux-persist/lib/storage")),wo=S(require("redux-persist/lib/storage/session"));gt();te();ze();Ee();Ye();ke();Qe();et();rt();st();dr();Ps={persistReducersStorageType:"localStorage"},Ce={["account"]:"sdk-dapp-account",["loginInfo"]:"sdk-dapp-login-info",["modals"]:"sdk-dapp-modals",["networkConfig"]:"sdk-dapp-network-config"},Rs=oe(Ce["account"]),_s=oe(Ce["loginInfo"]),Ms=oe(Ce["modals"]),Os=oe(Ce["networkConfig"]),Fs={2:e=>w(y({},e),{networkConfig:Jt})};Bs=oe("sdk-dapp-transactionsInfo"),Us=oe("sdk-dapp-transactions",["transactionsToSign"]),$s=oe("sdk-dapp-toasts"),Vs=oe("sdk-dapp-signedMessageInfo"),Ao={key:"sdk-dapp-store",version:2,storage:So.default,whitelist:Object.keys(Ce),migrate:(0,_.createMigrate)(Fs,{debug:!1})},Gs=w(y({},Ao),{whitelist:[]}),mr={["toasts"]:(0,_.persistReducer)($s,Je),["transactions"]:(0,_.persistReducer)(Us,it),["transactionsInfo"]:(0,_.persistReducer)(Bs,tt),["signedMessageInfo"]:(0,_.persistReducer)(Vs,Xe)},Hs=w(y({},mr),{["account"]:(0,_.persistReducer)(Rs,qe),["loginInfo"]:(0,_.persistReducer)(_s,je),["modals"]:(0,_.persistReducer)(Ms,Ke),["networkConfig"]:(0,_.persistReducer)(Os,Ze)}),Ws=Ps.persistReducersStorageType==="localStorage",qs=Ws?(0,_.persistReducer)(Ao,ue(mr)):(0,_.persistReducer)(Gs,ue(Hs)),zs=qs});var bo={};se(bo,{default:()=>js});var js,Eo=T(()=>{"use strict";n();gt();js=ue()});var ko={};se(ko,{default:()=>Ys});var B,Ks,Ys,Lo=T(()=>{"use strict";n();B=require("redux-persist"),Ks=[B.FLUSH,B.REHYDRATE,B.PAUSE,B.PERSIST,B.PURGE,B.REGISTER],Ys=Ks});var Co={};se(Co,{default:()=>No});function No(e){return(0,Do.persistStore)(e)}var Do,Po=T(()=>{"use strict";n();Do=require("redux-persist")});var Fa={};se(Fa,{AppInitializer:()=>Oa});module.exports=Se(Fa);n();var ee=S(require("react")),ai=require("@multiversx/sdk-core/out");n();n();n();var Aa=S(require("axios"));n();n();te();n();var Jn=S(require("lodash.isequal")),at=require("reselect");F();var g=(0,at.createSelectorCreator)(at.defaultMemoize,Jn.default),ct=(e,t)=>e!=""&&Boolean(t);var X=e=>e.account,De=g(X,e=>e.address),lt=g(X,De,(e,t)=>t in e.accounts?e.accounts[t]:We),eo=g(X,lt,(e,t)=>{let i=e,{accounts:r}=i,o=Oe(i,["accounts"]);return w(y({},o),{account:t})}),Fp=g(lt,e=>e.balance),hs=g(lt,e=>{var t;return((t=e==null?void 0:e.nonce)==null?void 0:t.valueOf())||0}),Bp=g(X,e=>e.shard),Up=g(X,e=>e.ledgerAccount),$p=g(X,e=>e.walletConnectAccount),Vp=g(X,e=>e.isAccountLoading),Gp=g(X,e=>e.accountLoadingError),Hp=g(X,e=>e.websocketEvent);n();var re=e=>e.loginInfo,jp=g(re,e=>e.loginMethod),pt=g(re,De,(e,t)=>ct(e.loginMethod,t)),Kp=g(re,e=>e.walletConnectLogin),Yp=g(re,e=>e.ledgerLogin),to=g(re,e=>e.walletLogin),ro=g(re,e=>e.isLoginSessionInvalid),Zp=g(re,e=>e.tokenLogin),Xp=g(re,e=>e.logoutRoute);n();var no=e=>e.modals,eu=g(no,e=>e.txSubmittedModal),tu=g(no,e=>e.notificationModal);n();var ne=e=>e.networkConfig,ou=g(ne,e=>e.chainID),iu=g(ne,e=>e.network.walletConnectBridgeAddress),su=g(ne,e=>e.network.walletConnectV2RelayAddress),au=g(ne,e=>e.network.walletConnectV2ProjectId),cu=g(ne,e=>e.network.walletConnectV2Options),lu=g(ne,e=>e.network.walletConnectDeepLink),ut=g(ne,e=>e.network),oo=g(ut,e=>e.apiAddress),io=g(ut,e=>e.explorerAddress),pu=g(ut,e=>e.egldLabel);n();var cr=e=>e.signedMessageInfo,mu=g(cr,e=>e.isSigning),gu=g(cr,e=>e.errorMessage),fu=g(cr,e=>{let t=Object.keys(e.signedSessions),r=t.length;return e.signedSessions[t[r-1]]});n();var lr=e=>e.toasts,hu=g(lr,e=>e.customToasts),xu=g(lr,e=>e.transactionToasts),Su=g(lr,e=>e.failTransactionToast);n();te();var so={errorMessage:nr,successMessage:or,processingMessage:ir},xs=e=>e.transactionsInfo,Iu=g(xs,(e,t)=>t,(e,t)=>t!=null&&(e==null?void 0:e[Number(t)])||so);n();n();var R=require("@multiversx/sdk-core");I();n();function pr(e){try{return s.Buffer.from(e,"base64").toString()===atob(e)}catch(t){return!1}}function ur(e){var i,p,l;let{data:t}=e,r=pr(t!=null?t:"")?R.TransactionPayload.fromEncoded(t):new R.TransactionPayload(t),o=new R.Transaction(y({value:e.value.valueOf(),data:r,nonce:e.nonce.valueOf(),receiver:new R.Address(e.receiver),sender:new R.Address(e.sender),gasLimit:(i=e.gasLimit.valueOf())!=null?i:Bt,gasPrice:(p=e.gasPrice.valueOf())!=null?p:Ut,chainID:e.chainID.valueOf(),version:new R.TransactionVersion((l=e.version)!=null?l:pn)},e.options?{options:new R.TransactionOptions(e.options)}:{}));return o.applySignature({hex:()=>e.signature||""},new R.Address(e.sender)),o}n();ar();n();var ws=S(require("bignumber.js"));F();n();n();n();n();var vs=require("@multiversx/sdk-core"),Is=S(require("bignumber.js"));O();n();var lo=require("@multiversx/sdk-core");function As(e){try{let t=new lo.Address(e);return Boolean(t.bech32())}catch(t){return!1}}function Ne(e){return(e==null?void 0:e.startsWith("erd"))&&e.length===62&&/^\w+$/.test(e)&&As(e)}n();n();n();var Es=require("@multiversx/sdk-core/out");n();I();n();var po=require("@multiversx/sdk-core");F();n();n();n();n();O();n();n();var gr=require("@reduxjs/toolkit"),Oo=require("react-redux/lib/utils/Subscription");te();n();var uo=S(require("lodash.throttle"));I();te();Yt();we();ye();var ks=[Ge],dt=!1,Ls=(0,uo.default)(()=>{Ie(ve())},5e3),mo=e=>t=>r=>{var d;if(ks.includes(r.type))return t(r);let o=e.getState(),i=j.local.getItem(U.loginExpiresAt);if(!ct((d=o==null?void 0:o.loginInfo)==null?void 0:d.loginMethod,o==null?void 0:o.account.address))return t(r);if(i==null)return Ie(ve());let l=Date.now();return i-l<0&&!dt?setTimeout(()=>{dt=!0,e.dispatch(En())},1e3):(dt&&(dt=!1),Ls()),t(r)};n();n();function mt(){return typeof sessionStorage!="undefined"}var Ro=mt()?(Io(),Se(vo)).default:(Eo(),Se(bo)).default,_o=mt()?(Lo(),Se(ko)).default:[],Mo=mt()?(Po(),Se(Co)).default:e=>e;gt();var v=(0,gr.configureStore)({reducer:Ro,middleware:e=>e({serializableCheck:{ignoredActions:[..._o,Kt.type,jt.type],ignoredPaths:["payload.nonce","account.account.nonce","providers.accountProvider"]}}).concat(mo)}),Fo=(0,Oo.createSubscription)(v),cm=Mo(v),lm=(0,gr.configureStore)({reducer:ue});n();n();n();n();n();n();var Bo="dapp/config";n();n();n();n();C();n();n();C();n();n();n();var ta=S(require("bignumber.js"));I();n();var ea=require("@multiversx/sdk-core"),fr=S(require("bignumber.js"));I();n();var Qs=S(require("bignumber.js"));n();fr.default.config({ROUNDING_MODE:fr.default.ROUND_FLOOR});n();n();n();I();n();n();n();n();I();n();I();n();var ra=require("@multiversx/sdk-core");I();n();var Pe=require("@multiversx/sdk-core"),oa=require("@multiversx/sdk-network-providers");I();n();n();var na=S(require("bignumber.js"));I();n();I();n();n();n();n();n();I();n();C();var sa=["reDelegateRewards","claimRewards","unBond"],aa=["wrapEgld","unwrapEgld"],ca=["unStake"],la=["unDelegate"];n();n();n();I();n();var da=S(require("bignumber.js"));n();n();n();C();n();var ma=S(require("bignumber.js"));n();n();n();n();C();n();n();n();var fa=S(require("linkifyjs"));n();I();n();var Ta=S(require("bignumber.js"));n();F();n();n();O();n();O();n();n();n();C();n();C();n();var ya=S(require("bignumber.js"));I();C();n();C();n();var qo=require("react");F();n();n();C();n();var ha=require("@multiversx/sdk-core/out"),xa=S(require("bignumber.js"));C();n();C();n();n();O();var Zy=[{label:"Raw",value:"raw"},{label:"Text",value:"text"},{label:"Decimal",value:"decimal"},{label:"Smart",value:"smart"}];n();var zo=require("react");F();n();var wa=require("react");C();var nh=["create","localMint","ESDTLocalMint","addQuantity","burn","localBurn","ESDTLocalBurn","wipe","writeLog","signalError"];var ht=e=>e.transactions,Re=g(ht,e=>e.signedTransactions),Vh=g(ht,e=>e.signTransactionsError),Gh=g(ht,e=>e.signTransactionsCancelMessage),xt=e=>t=>Object.entries(t).reduce((r,[o,i])=>(e(i.status)&&(r[o]=i),r),{}),Hh=g(Re,xt(Kn)),Wh=g(Re,xt(nt)),qh=g(Re,xt(ot)),zh=g(Re,xt(Yn)),jh=g(ht,e=>{var t;return(e==null?void 0:e.transactionsToSign)==null?null:w(y({},e.transactionsToSign),{transactions:((t=e==null?void 0:e.transactionsToSign)==null?void 0:t.transactions.map(r=>ur(r)))||[]})}),Kh=g(Re,(e,t)=>t,(e,t)=>t!=null?(e==null?void 0:e[t])||{}:{});n();var va=S(require("axios"));n();var ba=S(require("axios"));n();n();var Ea=S(require("axios"));n();var ka=S(require("axios"));n();n();n();var Da=S(require("axios"));n();n();n();n();fe();n();var Ko=S(require("axios"));function yr(e){return E(this,null,function*(){let t=`${e}/${Bo}`;try{let{data:o}=yield Ko.default.get(t);if(o!=null){let i="egldDenomination";if(i in o){let r=o,{[i]:p,decimals:l}=r,m=Oe(r,[br(i),"decimals"]);return w(y({},m),{decimals:p,digits:l})}return o}}catch(o){console.error("error fetching configuration for ",t)}return null})}n();var Na=S(require("axios"));n();fe();n();fe();n();var Ca=S(require("axios"));fe();n();n();var Yo=require("react"),he=require("react-redux");var Pa={store:v,subscription:Fo},hr=(0,Yo.createContext)(Pa),hS=(0,he.createStoreHook)(hr),Zo=(0,he.createDispatchHook)(hr),St=(0,he.createSelectorHook)(hr);var Xo=()=>St(eo);ke();n();n();n();n();var Qo=require("@multiversx/sdk-extension-provider"),Jo=require("@multiversx/sdk-hw-provider"),ei=require("@multiversx/sdk-opera-provider"),ti=require("@multiversx/sdk-wallet-connect-provider/out/walletConnectProvider"),ri=require("@multiversx/sdk-wallet-connect-provider/out/walletConnectV2Provider"),ni=require("@multiversx/sdk-web-wallet-provider");I();O();var At=e=>{switch(e==null?void 0:e.constructor){case ni.WalletProvider:return"wallet";case ti.WalletConnectProvider:return"walletconnect";case ri.WalletConnectV2Provider:return"walletconnectv2";case Jo.HWProvider:return"ledger";case Qo.ExtensionProvider:return"extension";case ei.OperaProvider:return"opera";case wt:return"";default:return"extra"}};var Q=e=>`Unable to perform ${e}, Provider not initialized`,wt=class{init(){return Promise.resolve(!1)}login(t){throw new Error(Q(`login with options: ${t}`))}logout(t){throw new Error(Q(`logout with options: ${t}`))}getAddress(){throw new Error(Q("getAddress"))}isInitialized(){return!1}isConnected(){return Promise.resolve(!1)}sendTransaction(t,r){throw new Error(Q(`sendTransaction with transactions: ${t} options: ${r}`))}signTransaction(t,r){throw new Error(Q(`signTransaction with transactions: ${t} options: ${r}`))}signTransactions(t,r){throw new Error(Q(`signTransactions with transactions: ${t} options: ${r}`))}signMessage(t,r){throw new Error(Q(`signTransactions with ${t} and options ${r}`))}sendCustomMessage({method:t,params:r}){throw new Error(Q(`sendCustomMessage with method: ${t} params: ${r}`))}sendCustomRequest(t){throw new Error(Q(`sendSessionEvent with options: ${t}`))}ping(){return Promise.resolve(!1)}},xr=new wt;var Ra=xr;function J(){return Ra||xr}$();F();n();function oi(){return pt(v.getState())}n();n();O();n();n();function ii(){let e=J();return At(e)}function _e(e){return ii()===e}function vt(){let{search:e}=window.location,t=v.getState(),r=J(),o=De(t),i=pt(t),p=to(t);if(!r)throw"provider not initialized";return _e("ledger")&&i?new Promise(l=>{l(o)}):!_e("")&&!_e("wallet")&&!_e("extra")?r.getAddress():new Promise(l=>{if(p!=null){let m=new URLSearchParams(e),d=Object.fromEntries(m);Ne(d.address)&&l(d.address)}i&&l(o),l("")})}n();n();te();n();n();n();te();n();var si=require("@multiversx/sdk-core");n();$();F();Xt();we();ye();var Ma=e=>{let t=j.local.getItem(U.logoutEvent),{data:r}=t?JSON.parse(t):{data:e};e===r&&(j.local.setItem({key:U.logoutEvent,data:e,expires:0}),j.local.removeItem(U.logoutEvent))};function wr(e,t,r=!0){return E(this,null,function*(){let o=J(),i=At(o),p=oi(),l=i==="wallet";if(r&&(o==null?void 0:o.relogin)!=null)return yield o.relogin();if(!p||!o){Sr(e,t,!1);return}try{let m=yield vt();Ma(m)}catch(m){Sr(e,t,!1),console.error("error fetching logout address",m)}l&&Pn(),v.dispatch(L());try{let d=l&&!e?window.location.origin:e;l?setTimeout(()=>{o.logout({callbackUrl:d})}):(yield o.logout({callbackUrl:d}),Sr(e,t,l))}catch(m){console.error("error logging out",m)}})}function Sr(e,t,r){e&&!r&&(typeof t=="function"?t(e):Zt(e))}Ee();function Oa({customNetworkConfig:e={},children:t,environment:r,logoutRoute:o}){let[i,p]=(0,ee.useState)(!1),l=Xo(),m=St(ro),{address:d,publicKey:f}=l,x=Zo();function h(){return E(this,null,function*(){let b=!(e!=null&&e.skipFetchFromServer),V=e==null?void 0:e.apiAddress,N=pe[r]||{},ci=y(y({},N),e);if(b){let li=N==null?void 0:N.apiAddress,Ar=yield yr(V||li);if(Ar!=null){let pi=y(y(y({},N),Ar),e);x(er(pi));return}}x(er(ci))})}function D(){return E(this,null,function*(){x(kn(o)),yield h(),p(!0)})}return(0,ee.useEffect)(()=>{d&&new ai.Address(d).hex()!==f&&wr(o)},[d,f,o]),(0,ee.useEffect)(()=>{D()},[e,r,o]),(0,ee.useEffect)(()=>{l.address&&m&&wr(o)},[m,l.address,o]),i?ee.default.createElement(ee.default.Fragment,null,t):null}0&&(module.exports={AppInitializer});
|
|
2
2
|
/*!
|
|
3
3
|
* The buffer module from node.js, for the browser.
|
|
4
4
|
*
|