@multiversx/sdk-dapp 2.8.5 → 2.8.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (802) hide show
  1. package/UI/DappModal/hooks/index.js +1 -1
  2. package/UI/DappModal/hooks/useDappModal.js +1 -1
  3. package/UI/DappModal/index.js +1 -1
  4. package/UI/Denominate/index.js +1 -1
  5. package/UI/ExplorerLink/ExplorerLink.js +1 -1
  6. package/UI/ExplorerLink/index.js +1 -1
  7. package/UI/FormatAmount/FormatAmount.js +1 -1
  8. package/UI/FormatAmount/index.js +1 -1
  9. package/UI/ModalContainer/ModalContainer.js +1 -1
  10. package/UI/ModalContainer/index.js +1 -1
  11. package/UI/NotificationModal/index.js +1 -1
  12. package/UI/SignTransactionsModals/SignTransactionsModals.js +1 -1
  13. package/UI/SignTransactionsModals/SignWithDeviceModal/SignStep.js +1 -1
  14. package/UI/SignTransactionsModals/SignWithDeviceModal/index.js +1 -1
  15. package/UI/SignTransactionsModals/SignWithExtensionModal/index.js +1 -1
  16. package/UI/SignTransactionsModals/SignWithExtraModal/index.js +1 -1
  17. package/UI/SignTransactionsModals/SignWithLedgerModal/index.js +1 -1
  18. package/UI/SignTransactionsModals/SignWithOperaModal/index.js +1 -1
  19. package/UI/SignTransactionsModals/SignWithWalletConnectModal/index.js +1 -1
  20. package/UI/SignTransactionsModals/components/ConfirmationScreen.js +1 -1
  21. package/UI/SignTransactionsModals/components/DeviceConfirmationScreen.js +1 -1
  22. package/UI/SignTransactionsModals/components/TransactionStatusToast.js +1 -1
  23. package/UI/SignTransactionsModals/components/index.js +1 -1
  24. package/UI/SignTransactionsModals/index.js +1 -1
  25. package/UI/TokenDetails/index.js +1 -1
  26. package/UI/TransactionData/index.js +1 -1
  27. package/UI/TransactionDetails/TransactionDetails.js +1 -1
  28. package/UI/TransactionDetails/components/TransactionDetailsBody.js +1 -1
  29. package/UI/TransactionDetails/components/index.js +1 -1
  30. package/UI/TransactionDetails/index.js +1 -1
  31. package/UI/TransactionInfo/TransactionInfo.js +1 -1
  32. package/UI/TransactionInfo/components/AddressDetailItem/AddressDetailitem.js +1 -1
  33. package/UI/TransactionInfo/components/AddressDetailItem/index.js +1 -1
  34. package/UI/TransactionInfo/components/DataDecode/DataDecode.js +1 -1
  35. package/UI/TransactionInfo/components/DataDecode/index.js +1 -1
  36. package/UI/TransactionInfo/components/DataField/DataField.js +1 -1
  37. package/UI/TransactionInfo/components/DataField/index.js +1 -1
  38. package/UI/TransactionInfo/components/EventsList/EventsList.js +1 -1
  39. package/UI/TransactionInfo/components/EventsList/index.js +1 -1
  40. package/UI/TransactionInfo/components/NonceMessage/NonceMessage.js +1 -1
  41. package/UI/TransactionInfo/components/NonceMessage/index.js +1 -1
  42. package/UI/TransactionInfo/components/OperationsList/OperationList.js +1 -1
  43. package/UI/TransactionInfo/components/OperationsList/components/DetailedItem.js +1 -1
  44. package/UI/TransactionInfo/components/OperationsList/components/OperationBlock.js +1 -1
  45. package/UI/TransactionInfo/components/OperationsList/components/OperationRow.js +1 -1
  46. package/UI/TransactionInfo/components/OperationsList/components/OperationText.js +1 -1
  47. package/UI/TransactionInfo/components/OperationsList/components/OperationToken.js +1 -1
  48. package/UI/TransactionInfo/components/OperationsList/components/index.js +1 -1
  49. package/UI/TransactionInfo/components/OperationsList/index.js +1 -1
  50. package/UI/TransactionInfo/components/ScResultsList/ScResultsList.js +1 -1
  51. package/UI/TransactionInfo/components/ScResultsList/components/ResultData/ResultData.js +1 -1
  52. package/UI/TransactionInfo/components/ScResultsList/components/ResultData/index.js +1 -1
  53. package/UI/TransactionInfo/components/ScResultsList/components/ResultHash/ResultHash.js +1 -1
  54. package/UI/TransactionInfo/components/ScResultsList/components/ResultHash/index.js +1 -1
  55. package/UI/TransactionInfo/components/ScResultsList/components/ResultReceiver/ResultReceiver.js +1 -1
  56. package/UI/TransactionInfo/components/ScResultsList/components/ResultReceiver/index.js +1 -1
  57. package/UI/TransactionInfo/components/ScResultsList/components/ResultSender/ResultSender.js +1 -1
  58. package/UI/TransactionInfo/components/ScResultsList/components/ResultSender/index.js +1 -1
  59. package/UI/TransactionInfo/components/ScResultsList/index.js +1 -1
  60. package/UI/TransactionInfo/components/ScrDetailItem/ScrDetailItem.js +1 -1
  61. package/UI/TransactionInfo/components/ScrDetailItem/index.js +1 -1
  62. package/UI/TransactionInfo/components/TransactionAction/TransactionAction.js +1 -1
  63. package/UI/TransactionInfo/components/TransactionAction/components/ActionText/index.js +1 -1
  64. package/UI/TransactionInfo/components/TransactionAction/components/ActionToken.js +1 -1
  65. package/UI/TransactionInfo/components/TransactionAction/components/TransactionActionBlock/components/TransactionActionCollection.js +1 -1
  66. package/UI/TransactionInfo/components/TransactionAction/components/TransactionActionBlock/components/TransactionActionNft.js +1 -1
  67. package/UI/TransactionInfo/components/TransactionAction/components/TransactionActionBlock/components/TransactionActionToken.js +1 -1
  68. package/UI/TransactionInfo/components/TransactionAction/components/TransactionActionBlock/components/index.js +1 -1
  69. package/UI/TransactionInfo/components/TransactionAction/components/TransactionActionBlock/index.js +1 -1
  70. package/UI/TransactionInfo/components/TransactionAction/components/index.js +1 -1
  71. package/UI/TransactionInfo/components/TransactionAction/index.js +1 -1
  72. package/UI/TransactionInfo/components/TransactionLogs/TransactionLogs.js +1 -1
  73. package/UI/TransactionInfo/components/TransactionLogs/index.js +1 -1
  74. package/UI/TransactionInfo/components/TransactionStatus/TransactionStatus.js +1 -1
  75. package/UI/TransactionInfo/components/TransactionStatus/index.js +1 -1
  76. package/UI/TransactionInfo/components/index.js +1 -1
  77. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoAge/TransactionInfoAge.js +1 -1
  78. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoAge/index.js +1 -1
  79. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoEgldPrice/TransactionInfoEgldPrice.js +1 -1
  80. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoEgldPrice/index.js +1 -1
  81. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoFee/TransactionInfoFee.js +1 -1
  82. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoFee/index.js +1 -1
  83. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoFrom/TransactionInfoFrom.js +1 -1
  84. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoFrom/index.js +1 -1
  85. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoGasLimit/TransactionInfoGasLimit.js +1 -1
  86. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoGasLimit/index.js +1 -1
  87. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoGasPrice/TransactionInfoGasPrice.js +1 -1
  88. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoGasPrice/index.js +1 -1
  89. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoGasUsed/TransactionInfoGasUsed.js +1 -1
  90. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoGasUsed/index.js +1 -1
  91. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoInputData/TransactionInfoInputData.js +1 -1
  92. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoInputData/index.js +1 -1
  93. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoMethod/TransactionInfoMethod.js +1 -1
  94. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoMethod/index.js +1 -1
  95. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoMiniblock/TransactionInfoMiniblock.js +1 -1
  96. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoMiniblock/index.js +1 -1
  97. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoNonce/TransactionInfoNonce.js +1 -1
  98. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoNonce/index.js +1 -1
  99. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoScResults/TransactionInfoScResults.js +1 -1
  100. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoScResults/index.js +1 -1
  101. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoStatus/TransactionInfoStatus.js +1 -1
  102. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoStatus/index.js +1 -1
  103. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoTo/TransactionInfoTo.js +1 -1
  104. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoTo/index.js +1 -1
  105. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoTokenOperations/TransactionInfoTokenOperations.js +1 -1
  106. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoTokenOperations/index.js +1 -1
  107. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoValue/TransactionInfoValue.js +1 -1
  108. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoValue/index.js +1 -1
  109. package/UI/TransactionInfo/components/transactionInfoFields/index.js +1 -1
  110. package/UI/TransactionInfo/index.js +1 -1
  111. package/UI/TransactionsTable/TransactionsTable.js +1 -1
  112. package/UI/TransactionsTable/components/LockedTokenAddressIcon.js +1 -1
  113. package/UI/TransactionsTable/components/ScAddressIcon.js +1 -1
  114. package/UI/TransactionsTable/components/ShardSpan.js +1 -1
  115. package/UI/TransactionsTable/components/TransactionHash.js +1 -1
  116. package/UI/TransactionsTable/components/TransactionIcon.js +1 -1
  117. package/UI/TransactionsTable/components/TransactionReceiver.js +1 -1
  118. package/UI/TransactionsTable/components/TransactionRow.js +1 -1
  119. package/UI/TransactionsTable/components/TransactionSender.js +1 -1
  120. package/UI/TransactionsTable/components/TransactionShardsTransition.js +1 -1
  121. package/UI/TransactionsTable/components/TransactionValue/TransactionValue.js +1 -1
  122. package/UI/TransactionsTable/components/TransactionValue/index.js +1 -1
  123. package/UI/TransactionsTable/components/index.js +1 -1
  124. package/UI/TransactionsTable/index.js +1 -1
  125. package/UI/TransactionsToastList/TransactionsToastList.js +1 -1
  126. package/UI/TransactionsToastList/components/CustomToast/CustomToast.js +1 -1
  127. package/UI/TransactionsToastList/components/CustomToast/components/IconToast/IconToast.js +1 -1
  128. package/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/IconToastFooter.js +1 -1
  129. package/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/components/ComponentToastFooter.js +1 -1
  130. package/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/components/TransactionToastFooter.js +1 -1
  131. package/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/components/index.js +1 -1
  132. package/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/index.js +1 -1
  133. package/UI/TransactionsToastList/components/CustomToast/components/IconToast/index.js +1 -1
  134. package/UI/TransactionsToastList/components/CustomToast/components/SimpleToast.js +1 -1
  135. package/UI/TransactionsToastList/components/CustomToast/components/index.js +1 -1
  136. package/UI/TransactionsToastList/components/CustomToast/helpers/getIsTransaction.js +1 -1
  137. package/UI/TransactionsToastList/components/CustomToast/helpers/index.js +1 -1
  138. package/UI/TransactionsToastList/components/CustomToast/helpers/useMemoizedCloseButton.js +1 -1
  139. package/UI/TransactionsToastList/components/CustomToast/index.js +1 -1
  140. package/UI/TransactionsToastList/components/TransactionToast/TransactionToast.js +1 -1
  141. package/UI/TransactionsToastList/components/TransactionToast/components/TransactionToastContent.js +1 -1
  142. package/UI/TransactionsToastList/components/TransactionToast/components/index.js +1 -1
  143. package/UI/TransactionsToastList/components/TransactionToast/hooks/useTransactionToast.js +1 -1
  144. package/UI/TransactionsToastList/components/TransactionToast/index.js +1 -1
  145. package/UI/TransactionsToastList/components/TransactionToast/utils/getToastDataStateByStatus.js +1 -1
  146. package/UI/TransactionsToastList/components/TransactionToast/utils/index.js +1 -1
  147. package/UI/TransactionsToastList/components/TransactionToastGuard.js +1 -1
  148. package/UI/TransactionsToastList/components/index.js +1 -1
  149. package/UI/TransactionsToastList/index.js +1 -1
  150. package/UI/UsdValue/UsdValue.js +1 -1
  151. package/UI/UsdValue/index.js +1 -1
  152. package/UI/extension/ExtensionLoginButton/index.js +1 -1
  153. package/UI/index.js +1 -1
  154. package/UI/ledger/LedgerLoginButton/index.js +1 -1
  155. package/UI/ledger/LedgerLoginContainer/AddressRow.js +1 -1
  156. package/UI/ledger/LedgerLoginContainer/AddressTable.js +1 -1
  157. package/UI/ledger/LedgerLoginContainer/ConfirmAddress.js +1 -1
  158. package/UI/ledger/LedgerLoginContainer/index.js +1 -1
  159. package/UI/ledger/index.js +1 -1
  160. package/UI/operaWallet/OperaWalletLoginButton/index.js +1 -1
  161. package/UI/pages/UnlockPage/index.js +1 -1
  162. package/UI/pages/index.js +1 -1
  163. package/UI/walletConnect/WalletConnectConnectionStatus/WalletConnectConnectionStatus.js +1 -1
  164. package/UI/walletConnect/WalletConnectConnectionStatus/index.js +1 -1
  165. package/UI/walletConnect/WalletConnectLoginButton/index.js +1 -1
  166. package/UI/walletConnect/WalletConnectLoginContainer/index.js +1 -1
  167. package/UI/walletConnect/index.js +1 -1
  168. package/UI/webWallet/WebWalletLoginButton/index.js +1 -1
  169. package/__chunks__/{chunk-GS6HJLZT.js → chunk-23V4EWR6.js} +2 -2
  170. package/__chunks__/{chunk-VYDY4AQR.js → chunk-27HHZHC3.js} +2 -2
  171. package/__chunks__/{chunk-BA2ZPL2G.js → chunk-2BB6LW6O.js} +2 -2
  172. package/__chunks__/{chunk-XX66RRCJ.js → chunk-2DPI5E3W.js} +2 -2
  173. package/__chunks__/{chunk-FP26R7AX.js → chunk-2QUSEUT4.js} +2 -2
  174. package/__chunks__/{chunk-54ZTSEQ5.js → chunk-2QZSUGLK.js} +2 -2
  175. package/__chunks__/{chunk-YKKX7VTP.js → chunk-2YVBZL56.js} +2 -2
  176. package/__chunks__/{chunk-6METVVCY.js → chunk-3CUFCCHN.js} +2 -2
  177. package/__chunks__/{chunk-NSEU7FDE.js → chunk-3EOVBK4H.js} +2 -2
  178. package/__chunks__/chunk-3LTTE7Z4.js +2 -0
  179. package/__chunks__/{chunk-G5SFDK7J.js → chunk-3RRHOO6Q.js} +2 -2
  180. package/__chunks__/{chunk-W7LZILLC.js → chunk-3SFC2GLJ.js} +2 -2
  181. package/__chunks__/{chunk-EDDPV3NE.js → chunk-3Z4WULR6.js} +2 -2
  182. package/__chunks__/{chunk-DXPKJNDE.js → chunk-47J5ACB5.js} +2 -2
  183. package/__chunks__/{chunk-FXGUPH2W.js → chunk-47LI6T2V.js} +2 -2
  184. package/__chunks__/{chunk-EQJQRYF5.js → chunk-4ALRWZZQ.js} +2 -2
  185. package/__chunks__/chunk-4G4EWYKO.js +2 -0
  186. package/__chunks__/{chunk-SGK2VHTJ.js → chunk-4HQ3HNGC.js} +2 -2
  187. package/__chunks__/{chunk-PTJNZVG2.js → chunk-4JB5QVKY.js} +2 -2
  188. package/__chunks__/{chunk-WKA6UPHX.js → chunk-4JKMMUID.js} +2 -2
  189. package/__chunks__/{chunk-U46EN25L.js → chunk-4MGZX5SO.js} +2 -2
  190. package/__chunks__/{chunk-7WQENNA3.js → chunk-4MI42IXU.js} +2 -2
  191. package/__chunks__/{chunk-DV75PUIL.js → chunk-4P3LJAUR.js} +2 -2
  192. package/__chunks__/{chunk-2SSJ2YKM.js → chunk-4RKQJ2QT.js} +2 -2
  193. package/__chunks__/{chunk-ILLMOGA7.js → chunk-4Y7CGA35.js} +2 -2
  194. package/__chunks__/chunk-53BQDHVS.js +2 -0
  195. package/__chunks__/chunk-573MD3HA.js +2 -0
  196. package/__chunks__/{chunk-QNY7VVUN.js → chunk-5DS4QT2H.js} +2 -2
  197. package/__chunks__/{chunk-5XVRM6XP.js → chunk-5FF4GQ5B.js} +2 -2
  198. package/__chunks__/{chunk-VTAWEOCS.js → chunk-5MD4G7OU.js} +2 -2
  199. package/__chunks__/{chunk-TTYMX7BT.js → chunk-5WX4CALV.js} +2 -2
  200. package/__chunks__/chunk-67ZEEHNB.js +2 -0
  201. package/__chunks__/{chunk-LHDZVAZF.js → chunk-6A26JFI6.js} +2 -2
  202. package/__chunks__/chunk-6FUSRKDM.js +2 -0
  203. package/__chunks__/{chunk-WVD4J544.js → chunk-6K7DK4BV.js} +2 -2
  204. package/__chunks__/{chunk-26ZJFITF.js → chunk-6KSF6FWJ.js} +2 -2
  205. package/__chunks__/{chunk-KQ4YTMGX.js → chunk-6KY36DKF.js} +2 -2
  206. package/__chunks__/chunk-6LEY24MG.js +2 -0
  207. package/__chunks__/chunk-6LITAK4Z.js +2 -0
  208. package/__chunks__/{chunk-EK2OJMYC.js → chunk-6LW3MPXQ.js} +2 -2
  209. package/__chunks__/{chunk-5LVCTUUY.js → chunk-6UNQJUWL.js} +2 -2
  210. package/__chunks__/{chunk-QU5E3AUX.js → chunk-6YFMGTBJ.js} +2 -2
  211. package/__chunks__/chunk-72NPJ7U6.js +2 -0
  212. package/__chunks__/{chunk-QH6XD7FF.js → chunk-73KODBLR.js} +2 -2
  213. package/__chunks__/{chunk-2GLDUTJG.js → chunk-74RGGNQE.js} +2 -2
  214. package/__chunks__/{chunk-YQYOGTKG.js → chunk-77DECFQY.js} +2 -2
  215. package/__chunks__/{chunk-ZJ54DLN6.js → chunk-77JEI7XJ.js} +2 -2
  216. package/__chunks__/{chunk-KKYUPTDF.js → chunk-7IQDNRGT.js} +2 -2
  217. package/__chunks__/chunk-7JGJFFVM.js +2 -0
  218. package/__chunks__/{chunk-GHSMZJKF.js → chunk-7M3KNDRD.js} +2 -2
  219. package/__chunks__/chunk-7S7PQZ5T.js +2 -0
  220. package/__chunks__/{chunk-PFDSWMCA.js → chunk-A2IXF222.js} +2 -2
  221. package/__chunks__/{chunk-UCIOXYG7.js → chunk-A4SQDGPF.js} +2 -2
  222. package/__chunks__/{chunk-PF57YMQ4.js → chunk-A6LP7GVR.js} +2 -2
  223. package/__chunks__/{chunk-HNJYC4EB.js → chunk-AFPIMSQ3.js} +2 -2
  224. package/__chunks__/{chunk-5FJ5AR5R.js → chunk-AHQRHYRO.js} +2 -2
  225. package/__chunks__/{chunk-A43MGEZS.js → chunk-B25RPITH.js} +2 -2
  226. package/__chunks__/{chunk-2C3YYZ5L.js → chunk-B2RKB42J.js} +2 -2
  227. package/__chunks__/{chunk-X26JPWE6.js → chunk-B3AXHK5F.js} +2 -2
  228. package/__chunks__/{chunk-CRXWPZPY.js → chunk-B3ILFYYH.js} +2 -2
  229. package/__chunks__/{chunk-ACQNMKRR.js → chunk-BF2PN3VB.js} +2 -2
  230. package/__chunks__/{chunk-ZXSHG6WE.js → chunk-BFOC3ZMG.js} +2 -2
  231. package/__chunks__/{chunk-A3RVUJJA.js → chunk-BMJLZLZM.js} +2 -2
  232. package/__chunks__/chunk-BNEETMBI.js +2 -0
  233. package/__chunks__/chunk-BNMR3XO4.js +2 -0
  234. package/__chunks__/{chunk-RVD4LBUP.js → chunk-BOKSFKJF.js} +2 -2
  235. package/__chunks__/{chunk-KLOPABPR.js → chunk-BYS7QALE.js} +2 -2
  236. package/__chunks__/{chunk-OXWKNWBA.js → chunk-CI6Z2BAF.js} +2 -2
  237. package/__chunks__/{chunk-BOG7TTXG.js → chunk-COV3NRWK.js} +2 -2
  238. package/__chunks__/{chunk-R3S3GBRF.js → chunk-CPPFVM42.js} +2 -2
  239. package/__chunks__/{chunk-WNSHEGIH.js → chunk-CRI42HNH.js} +2 -2
  240. package/__chunks__/{chunk-GS5AQB2N.js → chunk-CUFA5NAA.js} +2 -2
  241. package/__chunks__/{chunk-XYVUQB6L.js → chunk-CY7H7XN3.js} +2 -2
  242. package/__chunks__/{chunk-A6CTPEDF.js → chunk-D2Z7XPJA.js} +2 -2
  243. package/__chunks__/{chunk-6RM5F6B7.js → chunk-D65VO5NP.js} +2 -2
  244. package/__chunks__/{chunk-SLHJHRDG.js → chunk-DCXJRPKX.js} +2 -2
  245. package/__chunks__/{chunk-YRCUGAVR.js → chunk-DF24IGER.js} +2 -2
  246. package/__chunks__/{chunk-V3FDAB7B.js → chunk-DG7FFCMC.js} +2 -2
  247. package/__chunks__/{chunk-4P3ESYFB.js → chunk-DHYV75O3.js} +2 -2
  248. package/__chunks__/{chunk-DR45L5ZW.js → chunk-DO7UWPFB.js} +2 -2
  249. package/__chunks__/{chunk-PW6YTJLG.js → chunk-DQ2PRTPV.js} +2 -2
  250. package/__chunks__/{chunk-CVQTFYDA.js → chunk-DQ74GUK3.js} +2 -2
  251. package/__chunks__/{chunk-35XRH5YO.js → chunk-DQLFYAJF.js} +2 -2
  252. package/__chunks__/chunk-DTX32CUJ.js +2 -0
  253. package/__chunks__/{chunk-LFRMYD5N.js → chunk-DU5JJJHS.js} +2 -2
  254. package/__chunks__/{chunk-6RRAKU4R.js → chunk-E7GX6TO4.js} +2 -2
  255. package/__chunks__/{chunk-MONFLPCV.js → chunk-EBMIHN52.js} +2 -2
  256. package/__chunks__/chunk-EBUFLVTW.js +2 -0
  257. package/__chunks__/{chunk-LQVOQZ2Z.js → chunk-EIHQ5QAQ.js} +2 -2
  258. package/__chunks__/{chunk-JSTXHRPF.js → chunk-EIYXU6DX.js} +2 -2
  259. package/__chunks__/{chunk-4UJNHEBL.js → chunk-ELIQXNO3.js} +2 -2
  260. package/__chunks__/{chunk-HHZV7D63.js → chunk-ELPKQVAL.js} +2 -2
  261. package/__chunks__/{chunk-U7RDI4SM.js → chunk-EN36KS5J.js} +2 -2
  262. package/__chunks__/{chunk-5G4U3FMS.js → chunk-EVFPM5QZ.js} +2 -2
  263. package/__chunks__/{chunk-7H5YSU4Q.js → chunk-EVUACURD.js} +2 -2
  264. package/__chunks__/{chunk-3UUAMXNQ.js → chunk-F2EJ4NBK.js} +2 -2
  265. package/__chunks__/{chunk-ZIKKB6YX.js → chunk-F4Z4BQFP.js} +2 -2
  266. package/__chunks__/{chunk-2736QXUL.js → chunk-F536LQRD.js} +2 -2
  267. package/__chunks__/{chunk-VWPPW3QQ.js → chunk-F5N57CYV.js} +2 -2
  268. package/__chunks__/{chunk-B2DXLHFG.js → chunk-FDH2IBTM.js} +2 -2
  269. package/__chunks__/{chunk-KAM4B4VN.js → chunk-FE2XDCKI.js} +2 -2
  270. package/__chunks__/{chunk-DH27IPAK.js → chunk-FNO4F4XU.js} +2 -2
  271. package/__chunks__/{chunk-6WERDF6Z.js → chunk-FOEPS273.js} +2 -2
  272. package/__chunks__/{chunk-WFPVM7XI.js → chunk-FOTM2EHF.js} +2 -2
  273. package/__chunks__/{chunk-HA6AP7PO.js → chunk-FXJLSZIP.js} +2 -2
  274. package/__chunks__/{chunk-7X3ATYAR.js → chunk-FXKLPJUW.js} +2 -2
  275. package/__chunks__/{chunk-BGSCXB2N.js → chunk-GG6RZBEW.js} +2 -2
  276. package/__chunks__/chunk-GHXKZA4W.js +2 -0
  277. package/__chunks__/{chunk-WYPOPDEK.js → chunk-GJBBAXJV.js} +2 -2
  278. package/__chunks__/chunk-GK63BH64.js +2 -0
  279. package/__chunks__/{chunk-YAFNHDUR.js → chunk-GNZDKRCA.js} +2 -2
  280. package/__chunks__/{chunk-IX2VX3E2.js → chunk-GPNUHVOM.js} +2 -2
  281. package/__chunks__/{chunk-5RGNESSR.js → chunk-GQMTJB4L.js} +2 -2
  282. package/__chunks__/{chunk-SU4SH37S.js → chunk-GSSXFF46.js} +2 -2
  283. package/__chunks__/{chunk-YRDNCWJW.js → chunk-GVMLSXIC.js} +2 -2
  284. package/__chunks__/{chunk-Z55BDNGH.js → chunk-GXOJLFD4.js} +2 -2
  285. package/__chunks__/chunk-GZMTC35J.js +2 -0
  286. package/__chunks__/chunk-H3LMBICV.js +2 -0
  287. package/__chunks__/{chunk-PIIC6ZNG.js → chunk-HEMJW4UP.js} +2 -2
  288. package/__chunks__/{chunk-XPX4OKXG.js → chunk-HF7ILRBL.js} +2 -2
  289. package/__chunks__/{chunk-GIYZHATY.js → chunk-HK7SHFC7.js} +2 -2
  290. package/__chunks__/chunk-HP3L7RUD.js +2 -0
  291. package/__chunks__/{chunk-NUZF7HJ7.js → chunk-HQYSBDE7.js} +2 -2
  292. package/__chunks__/{chunk-OIGIOS7N.js → chunk-HWDGDPLP.js} +2 -2
  293. package/__chunks__/{chunk-ZKPBZO4S.js → chunk-I3DMSSAU.js} +2 -2
  294. package/__chunks__/{chunk-5YDLOWAE.js → chunk-IAZWDFI7.js} +2 -2
  295. package/__chunks__/{chunk-GW7FG43P.js → chunk-IIXY6EVM.js} +2 -2
  296. package/__chunks__/{chunk-6GFHYUPK.js → chunk-ILI6V46A.js} +2 -2
  297. package/__chunks__/{chunk-UH6PGRAV.js → chunk-IQV54UKF.js} +2 -2
  298. package/__chunks__/{chunk-WFHOHG3Z.js → chunk-ISWYWGYF.js} +2 -2
  299. package/__chunks__/{chunk-2M25PYL7.js → chunk-IV2PWXWW.js} +2 -2
  300. package/__chunks__/chunk-J2VDNLD5.js +2 -0
  301. package/__chunks__/{chunk-CYMNJYOT.js → chunk-JAQOVDY4.js} +2 -2
  302. package/__chunks__/{chunk-VBV4IR3F.js → chunk-JTXTYAX4.js} +2 -2
  303. package/__chunks__/{chunk-2NB6K2AS.js → chunk-K4P3Q4G6.js} +2 -2
  304. package/__chunks__/{chunk-LXWQKMKY.js → chunk-K5AYECMY.js} +2 -2
  305. package/__chunks__/chunk-K6MC7S66.js +2 -0
  306. package/__chunks__/{chunk-QXBR6DSI.js → chunk-K7OKFHDI.js} +2 -2
  307. package/__chunks__/{chunk-TNJRCS6C.js → chunk-KCOIYEPV.js} +2 -2
  308. package/__chunks__/{chunk-AQQBB5MJ.js → chunk-KE3UZZPK.js} +2 -2
  309. package/__chunks__/{chunk-6UBKGHVU.js → chunk-KHTHET32.js} +2 -2
  310. package/__chunks__/{chunk-T2N2FLZB.js → chunk-KJD27PBB.js} +2 -2
  311. package/__chunks__/chunk-KKVFNX7Q.js +2 -0
  312. package/__chunks__/{chunk-SMAM2FXU.js → chunk-KO4CKUQ3.js} +2 -2
  313. package/__chunks__/chunk-KQCX4VG2.js +2 -0
  314. package/__chunks__/{chunk-4PSQ762B.js → chunk-KQM2BOQR.js} +2 -2
  315. package/__chunks__/{chunk-FPK4LCVU.js → chunk-KRGNGXNM.js} +2 -2
  316. package/__chunks__/chunk-KV6BSLXQ.js +2 -0
  317. package/__chunks__/chunk-KVAITXAV.js +2 -0
  318. package/__chunks__/{chunk-CRTGGESP.js → chunk-KZFZMU4Q.js} +2 -2
  319. package/__chunks__/{chunk-ALAK4GTA.js → chunk-L3JYP3XO.js} +2 -2
  320. package/__chunks__/{chunk-ZLXYL4KE.js → chunk-LF6VJNCF.js} +2 -2
  321. package/__chunks__/{chunk-DADEQIZ7.js → chunk-LKDW3XH3.js} +2 -2
  322. package/__chunks__/{chunk-DTI5KUZE.js → chunk-LKENFOWD.js} +2 -2
  323. package/__chunks__/chunk-LM64ZHBF.js +2 -0
  324. package/__chunks__/{chunk-BOR3D2OB.js → chunk-M2LAMT4S.js} +2 -2
  325. package/__chunks__/{chunk-2VLN4GAG.js → chunk-M43L3JXS.js} +2 -2
  326. package/__chunks__/{chunk-7J7LEURM.js → chunk-M7KYIVXW.js} +2 -2
  327. package/__chunks__/chunk-MAPKARLD.js +2 -0
  328. package/__chunks__/{chunk-UQD4NUXE.js → chunk-MDZPOO3F.js} +2 -2
  329. package/__chunks__/{chunk-WUOUATRU.js → chunk-MLSI3RC2.js} +2 -2
  330. package/__chunks__/{chunk-3JPJW72R.js → chunk-N6ZG65AM.js} +2 -2
  331. package/__chunks__/{chunk-VEWE7U4G.js → chunk-N7QEZOLU.js} +2 -2
  332. package/__chunks__/{chunk-3QT275JB.js → chunk-NANO4X2A.js} +2 -2
  333. package/__chunks__/{chunk-M7264WIR.js → chunk-NCR3TVLR.js} +2 -2
  334. package/__chunks__/{chunk-46W3A5KZ.js → chunk-NIBU432U.js} +2 -2
  335. package/__chunks__/{chunk-YHGIBDJL.js → chunk-NOBUX6VQ.js} +2 -2
  336. package/__chunks__/{chunk-JPDU4UXA.js → chunk-NZLLBXWM.js} +2 -2
  337. package/__chunks__/{chunk-XGJFR5OS.js → chunk-O65BW737.js} +2 -2
  338. package/__chunks__/{chunk-M2KXYI2A.js → chunk-OCVD7SVS.js} +2 -2
  339. package/__chunks__/{chunk-J6PK4YWJ.js → chunk-ODQ5XNPU.js} +2 -2
  340. package/__chunks__/chunk-OGWLSCJG.js +2 -0
  341. package/__chunks__/{chunk-HKTCXAEV.js → chunk-OM457L3M.js} +2 -2
  342. package/__chunks__/{chunk-FJ3QN3PS.js → chunk-OQAGSV22.js} +2 -2
  343. package/__chunks__/{chunk-FFWGADDT.js → chunk-P6MWBKH3.js} +2 -2
  344. package/__chunks__/{chunk-4CZXUHKR.js → chunk-P7STLJJI.js} +2 -2
  345. package/__chunks__/{chunk-23JSCKP4.js → chunk-PINKYRXT.js} +2 -2
  346. package/__chunks__/{chunk-6JLZW2OA.js → chunk-PJ6E34ZL.js} +2 -2
  347. package/__chunks__/chunk-PUOKVKOC.js +2 -0
  348. package/__chunks__/{chunk-WRWKNPRJ.js → chunk-QB3XGANM.js} +2 -2
  349. package/__chunks__/{chunk-FXN56EN4.js → chunk-QBRSJGQE.js} +2 -2
  350. package/__chunks__/chunk-QEZFF4AV.js +2 -0
  351. package/__chunks__/{chunk-RWPTHDGS.js → chunk-QNJU3UH4.js} +2 -2
  352. package/__chunks__/{chunk-COMCQ2RH.js → chunk-QPZBCE35.js} +2 -2
  353. package/__chunks__/{chunk-OYQQHGRD.js → chunk-QRLD5NAN.js} +2 -2
  354. package/__chunks__/{chunk-D76JYIBI.js → chunk-QUMYRH4H.js} +2 -2
  355. package/__chunks__/chunk-QUYE5ZBI.js +2 -0
  356. package/__chunks__/{chunk-JDTK5ZGT.js → chunk-QVBPB2T7.js} +2 -2
  357. package/__chunks__/{chunk-75OXB76N.js → chunk-R3FSXFX3.js} +2 -2
  358. package/__chunks__/chunk-RAERFN6K.js +2 -0
  359. package/__chunks__/chunk-RBHVYE2Y.js +2 -0
  360. package/__chunks__/chunk-RCD64P2M.js +2 -0
  361. package/__chunks__/{chunk-LMBBAIK5.js → chunk-RDWURAZH.js} +2 -2
  362. package/__chunks__/{chunk-NZN4JRXS.js → chunk-RRN3BAHE.js} +2 -2
  363. package/__chunks__/{chunk-QPM6EBHW.js → chunk-RXNYA6SF.js} +2 -2
  364. package/__chunks__/{chunk-4EVSF3PS.js → chunk-S7JDYKHM.js} +2 -2
  365. package/__chunks__/chunk-S7NHXRCC.js +2 -0
  366. package/__chunks__/{chunk-X2A2SM5T.js → chunk-SA6GTLVC.js} +2 -2
  367. package/__chunks__/{chunk-TXBKGILP.js → chunk-SBZWUOMH.js} +2 -2
  368. package/__chunks__/chunk-SCCXHHWP.js +2 -0
  369. package/__chunks__/{chunk-JNZ6IL2X.js → chunk-SHGJKBQ2.js} +2 -2
  370. package/__chunks__/{chunk-JQM25QQP.js → chunk-SL7V5DPB.js} +2 -2
  371. package/__chunks__/{chunk-WJB6D7BH.js → chunk-SOPJ4FVA.js} +2 -2
  372. package/__chunks__/{chunk-OX6HVB6Z.js → chunk-SS5LXDIB.js} +2 -2
  373. package/__chunks__/{chunk-STQRXGXK.js → chunk-SWIGSNZJ.js} +2 -2
  374. package/__chunks__/{chunk-VEDRIMSP.js → chunk-SZ4YBWGS.js} +2 -2
  375. package/__chunks__/{chunk-GVPT5QJS.js → chunk-T5NLJP65.js} +2 -2
  376. package/__chunks__/{chunk-I7HYXEHX.js → chunk-TFUYS7DO.js} +2 -2
  377. package/__chunks__/{chunk-ROV4X74D.js → chunk-TTCHRNRE.js} +2 -2
  378. package/__chunks__/chunk-TTS3WFEE.js +2 -0
  379. package/__chunks__/{chunk-4AOLZUI5.js → chunk-U6CY6KLT.js} +2 -2
  380. package/__chunks__/{chunk-KMLW3DOC.js → chunk-U6QHRFQ6.js} +2 -2
  381. package/__chunks__/{chunk-JSYMQHQS.js → chunk-U77UZINY.js} +2 -2
  382. package/__chunks__/{chunk-RTGCGOEH.js → chunk-UFDKARKU.js} +2 -2
  383. package/__chunks__/{chunk-UVZAZGRS.js → chunk-UHDCW2GI.js} +2 -2
  384. package/__chunks__/{chunk-U7ABFX65.js → chunk-UKXM7MVK.js} +2 -2
  385. package/__chunks__/{chunk-LVYMVB5S.js → chunk-UYKSTJCI.js} +2 -2
  386. package/__chunks__/{chunk-JR6UFMPN.js → chunk-V5CRB7KN.js} +2 -2
  387. package/__chunks__/{chunk-RWUGWUZ3.js → chunk-VAO473HJ.js} +2 -2
  388. package/__chunks__/{chunk-H3FNY2CC.js → chunk-VBLZKSYV.js} +2 -2
  389. package/__chunks__/chunk-VC4S5W27.js +2 -0
  390. package/__chunks__/{chunk-AIB7JPIU.js → chunk-VCVEL4JK.js} +2 -2
  391. package/__chunks__/{chunk-ZUIERUVA.js → chunk-VO7YQXK7.js} +2 -2
  392. package/__chunks__/{chunk-4UBNPFKQ.js → chunk-VTJ7ZV2L.js} +2 -2
  393. package/__chunks__/chunk-VUJTIQ5T.js +2 -0
  394. package/__chunks__/{chunk-VWCTHSCA.js → chunk-VVPMSN2M.js} +2 -2
  395. package/__chunks__/{chunk-CBNM53GV.js → chunk-VY4WH2HL.js} +2 -2
  396. package/__chunks__/{chunk-4DERMSXM.js → chunk-W7VTJPZR.js} +2 -2
  397. package/__chunks__/chunk-WEOPJLNL.js +2 -0
  398. package/__chunks__/chunk-WFAVXT4Z.js +2 -0
  399. package/__chunks__/{chunk-XC7MTS2B.js → chunk-WFXS633C.js} +2 -2
  400. package/__chunks__/{chunk-X7VSTJVD.js → chunk-WLSEVWTK.js} +2 -2
  401. package/__chunks__/{chunk-YHDMIMED.js → chunk-WPD43RUV.js} +2 -2
  402. package/__chunks__/{chunk-GFUPEEWS.js → chunk-WUBNBBRC.js} +2 -2
  403. package/__chunks__/chunk-WVWK6FVA.js +2 -0
  404. package/__chunks__/{chunk-XI6VMWXQ.js → chunk-WWSWE52T.js} +2 -2
  405. package/__chunks__/{chunk-UH7Q27YS.js → chunk-WXEXZGP7.js} +2 -2
  406. package/__chunks__/{chunk-PIFV6PQF.js → chunk-X2L7IGUP.js} +2 -2
  407. package/__chunks__/chunk-XBJLTGW4.js +2 -0
  408. package/__chunks__/{chunk-ERT7NKUC.js → chunk-XDDEM6PT.js} +2 -2
  409. package/__chunks__/{chunk-QB3UBBN7.js → chunk-XIHOENSC.js} +2 -2
  410. package/__chunks__/{chunk-3X2T57MR.js → chunk-XKMOG6SS.js} +2 -2
  411. package/__chunks__/{chunk-FOIFAZEF.js → chunk-XNHZJ2SC.js} +2 -2
  412. package/__chunks__/{chunk-PE7VNGP7.js → chunk-XRO5ERIE.js} +2 -2
  413. package/__chunks__/{chunk-3ULZPNUR.js → chunk-XT5BA43Z.js} +2 -2
  414. package/__chunks__/{chunk-FKD6BFBK.js → chunk-XTPO4MAO.js} +2 -2
  415. package/__chunks__/{chunk-PIJCCMC4.js → chunk-XUOXOTNR.js} +2 -2
  416. package/__chunks__/{chunk-NZ33RJGI.js → chunk-XUVVP5PW.js} +2 -2
  417. package/__chunks__/{chunk-VL5STY33.js → chunk-XUWCMUDF.js} +2 -2
  418. package/__chunks__/{chunk-4X3GINLE.js → chunk-XZOVSJUI.js} +2 -2
  419. package/__chunks__/{chunk-DCWRUDBH.js → chunk-YDIQ5IHA.js} +2 -2
  420. package/__chunks__/{chunk-EJNFO3FU.js → chunk-YKCZ2UKE.js} +2 -2
  421. package/__chunks__/{chunk-4BKMGOES.js → chunk-YKKS3O3Z.js} +2 -2
  422. package/__chunks__/{chunk-E5KBAFW4.js → chunk-YLMRTW5R.js} +2 -2
  423. package/__chunks__/{chunk-6UVEWZKX.js → chunk-YRHGZ4HS.js} +2 -2
  424. package/__chunks__/{chunk-IDUIQPIO.js → chunk-YU5OYJX7.js} +2 -2
  425. package/__chunks__/{chunk-BP5GRJNY.js → chunk-YUIINDCV.js} +2 -2
  426. package/__chunks__/{chunk-AMCEHQ3B.js → chunk-YWT4XNXN.js} +2 -2
  427. package/__chunks__/chunk-Z4BLO2TH.js +2 -0
  428. package/__chunks__/{chunk-KUQIYHQR.js → chunk-Z6PNQGOE.js} +2 -2
  429. package/__chunks__/{chunk-DCZOXC2M.js → chunk-Z7HQTVYF.js} +2 -2
  430. package/__chunks__/chunk-ZAFZIALH.js +2 -0
  431. package/__chunks__/{chunk-ITXDP2DE.js → chunk-ZD2DEAJR.js} +2 -2
  432. package/__chunks__/{chunk-4DLZ2JMF.js → chunk-ZEEWQEXA.js} +2 -2
  433. package/__chunks__/{chunk-SJ3GJK44.js → chunk-ZFSJ4FRX.js} +2 -2
  434. package/__chunks__/chunk-ZFSZJPYH.js +2 -0
  435. package/__chunks__/{chunk-RO7QNHOJ.js → chunk-ZRGSKGMW.js} +2 -2
  436. package/__commonjs/UI/TransactionInfo/TransactionInfo.js +29 -29
  437. package/__commonjs/UI/TransactionInfo/components/DataField/DataField.js +7 -7
  438. package/__commonjs/UI/TransactionInfo/components/DataField/index.js +7 -7
  439. package/__commonjs/UI/TransactionInfo/components/TransactionStatus/TransactionStatus.js +1 -1
  440. package/__commonjs/UI/TransactionInfo/components/TransactionStatus/index.js +1 -1
  441. package/__commonjs/UI/TransactionInfo/components/index.js +27 -27
  442. package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoInputData/TransactionInfoInputData.js +8 -8
  443. package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoInputData/index.js +8 -8
  444. package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoStatus/TransactionInfoStatus.js +2 -2
  445. package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoStatus/index.js +2 -2
  446. package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/index.js +31 -31
  447. package/__commonjs/UI/TransactionInfo/index.js +29 -29
  448. package/__commonjs/UI/TransactionsTable/components/TransactionReceiver.js +4 -4
  449. package/__commonjs/UI/TransactionsToastList/components/TransactionToast/utils/getToastDataStateByStatus.js +1 -1
  450. package/__commonjs/UI/TransactionsToastList/components/TransactionToast/utils/index.js +1 -1
  451. package/__commonjs/UI/TransactionsToastList/components/TransactionToastGuard.js +1 -1
  452. package/__commonjs/UI/extension/ExtensionLoginButton/index.js +1 -1
  453. package/__commonjs/UI/index.js +51 -51
  454. package/__commonjs/UI/ledger/LedgerLoginButton/index.js +1 -1
  455. package/__commonjs/UI/ledger/LedgerLoginContainer/index.js +1 -1
  456. package/__commonjs/UI/ledger/index.js +1 -1
  457. package/__commonjs/UI/operaWallet/OperaWalletLoginButton/index.js +1 -1
  458. package/__commonjs/UI/pages/UnlockPage/index.js +1 -1
  459. package/__commonjs/UI/pages/index.js +1 -1
  460. package/__commonjs/UI/walletConnect/WalletConnectLoginButton/index.js +1 -1
  461. package/__commonjs/UI/walletConnect/WalletConnectLoginContainer/index.js +1 -1
  462. package/__commonjs/UI/walletConnect/index.js +1 -1
  463. package/__commonjs/UI/webWallet/WebWalletLoginButton/index.js +1 -1
  464. package/__commonjs/__mocks__/index.js +1 -1
  465. package/__commonjs/__mocks__/utils/index.js +1 -1
  466. package/__commonjs/__mocks__/utils/renderWithProvider.js +1 -1
  467. package/__commonjs/apiCalls/configuration/getNetworkConfig.js +1 -1
  468. package/__commonjs/apiCalls/configuration/getServerConfigurationForEnvironment.js +1 -1
  469. package/__commonjs/apiCalls/utils/getCleanApiAddress.js +1 -1
  470. package/__commonjs/apiCalls/utils/index.js +1 -1
  471. package/__commonjs/components/ProviderInitializer.js +1 -1
  472. package/__commonjs/hooks/account/index.js +1 -1
  473. package/__commonjs/hooks/account/useGetAccount.js +1 -1
  474. package/__commonjs/hooks/account/useGetAccountInfo.js +1 -1
  475. package/__commonjs/hooks/account/useGetAccountProvider.js +1 -1
  476. package/__commonjs/hooks/account/useGetWebsocketEvent.js +1 -1
  477. package/__commonjs/hooks/index.js +1 -1
  478. package/__commonjs/hooks/login/index.js +1 -1
  479. package/__commonjs/hooks/login/useExtensionLogin.js +1 -1
  480. package/__commonjs/hooks/login/useLedgerLogin.js +1 -1
  481. package/__commonjs/hooks/login/useLoginService.js +1 -1
  482. package/__commonjs/hooks/login/useOperaLogin.js +1 -1
  483. package/__commonjs/hooks/login/useWalletConnectLogin.js +1 -1
  484. package/__commonjs/hooks/login/useWalletConnectV2Login.js +1 -1
  485. package/__commonjs/hooks/login/useWebWalletLogin.js +1 -1
  486. package/__commonjs/hooks/transactions/helpers/useClearTransactionsToSignWithWarning.js +1 -1
  487. package/__commonjs/hooks/transactions/helpers/useSetTransactionNonces.js +1 -1
  488. package/__commonjs/hooks/transactions/useGetActiveTransactionsStatus.js +1 -1
  489. package/__commonjs/hooks/transactions/useGetFailedTransactions.js +1 -1
  490. package/__commonjs/hooks/transactions/useGetSignTransactionsError.js +1 -1
  491. package/__commonjs/hooks/transactions/useGetSignedTransactions.js +1 -1
  492. package/__commonjs/hooks/transactions/useGetSuccessfulTransactions.js +1 -1
  493. package/__commonjs/hooks/transactions/useGetTransactionDisplayInfo.js +1 -1
  494. package/__commonjs/hooks/transactions/useSignTransactionsWithDevice.js +1 -1
  495. package/__commonjs/hooks/transactions/useSignTransactionsWithLedger.js +1 -1
  496. package/__commonjs/hooks/transactions/useTrackTransactionStatus.js +1 -1
  497. package/__commonjs/hooks/useGetNetworkConfig.js +1 -1
  498. package/__commonjs/reduxStore/selectors/index.js +1 -1
  499. package/__commonjs/reduxStore/selectors/transactionsSelectors.js +1 -1
  500. package/__commonjs/services/index.js +1 -1
  501. package/__commonjs/services/nativeAuth/helpers/getLatestBlockHash.js +1 -1
  502. package/__commonjs/services/nativeAuth/helpers/index.js +1 -1
  503. package/__commonjs/services/nativeAuth/index.js +1 -1
  504. package/__commonjs/services/nativeAuth/methods/getToken.js +1 -1
  505. package/__commonjs/services/nativeAuth/nativeAuth.js +1 -1
  506. package/__commonjs/services/transactions/signTransactions.js +1 -1
  507. package/__commonjs/types/index.js +1 -1
  508. package/__commonjs/utils/account/getAccountShard.js +1 -1
  509. package/__commonjs/utils/account/getAddress.js +1 -1
  510. package/__commonjs/utils/account/signMessage.js +1 -1
  511. package/__commonjs/utils/getIsLoggedIn.js +1 -1
  512. package/__commonjs/utils/index.js +3 -3
  513. package/__commonjs/utils/logout.js +1 -1
  514. package/__commonjs/utils/network/getChainID.js +1 -1
  515. package/__commonjs/utils/network/getEgldLabel.js +1 -1
  516. package/__commonjs/utils/network/getNetworkConfig.js +1 -1
  517. package/__commonjs/utils/network/index.js +1 -1
  518. package/__commonjs/utils/transactions/getAllTransactionsLink.js +1 -1
  519. package/__commonjs/utils/transactions/getInterpretedTransaction/helpers/getReceiptMessage.js +1 -1
  520. package/__commonjs/utils/transactions/getTransactionLink.js +1 -1
  521. package/__commonjs/utils/transactions/index.js +4 -4
  522. package/__commonjs/utils/transactions/transactionInfoHelpers/getScamFlag.js +1 -1
  523. package/__commonjs/utils/transactions/transactionInfoHelpers/index.js +4 -4
  524. package/__commonjs/utils/transactions/transactionInfoHelpers/transactionActionUnwrapper/helpers/index.js +1 -1
  525. package/__commonjs/utils/transactions/transactionInfoHelpers/transactionActionUnwrapper/helpers/mexUnwrapper.js +1 -1
  526. package/__commonjs/utils/transactions/transactionInfoHelpers/useDataDecode.js +5 -5
  527. package/__commonjs/wrappers/AppInitializer.js +1 -1
  528. package/__commonjs/wrappers/AxiosInterceptorContext/components/index.js +1 -1
  529. package/__commonjs/wrappers/DappProvider/index.js +1 -1
  530. package/__commonjs/wrappers/index.js +1 -1
  531. package/__mocks__/accountConfig.js +1 -1
  532. package/__mocks__/index.js +1 -1
  533. package/__mocks__/server.js +1 -1
  534. package/__mocks__/utils/index.js +1 -1
  535. package/__mocks__/utils/renderWithProvider.js +1 -1
  536. package/apiCalls/accounts/getAccountFromApi.js +1 -1
  537. package/apiCalls/accounts/index.js +1 -1
  538. package/apiCalls/configuration/getApiAddressForChainId.js +1 -1
  539. package/apiCalls/configuration/getEnvironmentForChainId.js +1 -1
  540. package/apiCalls/configuration/getNetworkConfig.js +1 -1
  541. package/apiCalls/configuration/getServerConfigurationForEnvironment.js +1 -1
  542. package/apiCalls/configuration/index.js +1 -1
  543. package/apiCalls/getScamAddressData.js +1 -1
  544. package/apiCalls/index.js +1 -1
  545. package/apiCalls/transactions/getTransactionsByHashes.js +1 -1
  546. package/apiCalls/transactions/index.js +1 -1
  547. package/apiCalls/transactions/sendSignedTransactions.js +1 -1
  548. package/apiCalls/utils/getCleanApiAddress.js +1 -1
  549. package/apiCalls/utils/index.js +1 -1
  550. package/components/LogoutListener/LogoutListener.js +1 -1
  551. package/components/LogoutListener/helpers/index.js +1 -1
  552. package/components/LogoutListener/helpers/useLogoutFromMultipleTabs.js +1 -1
  553. package/components/LogoutListener/helpers/useNativeAuthLogout.js +1 -1
  554. package/components/LogoutListener/helpers/useNativeAuthLogoutWarning/index.js +1 -1
  555. package/components/LogoutListener/helpers/useNativeAuthLogoutWarning/useNativeAuthLogoutWarning.js +1 -1
  556. package/components/LogoutListener/index.js +1 -1
  557. package/components/ProviderInitializer.js +1 -1
  558. package/components/TransactionSender/TransactionSender.js +1 -1
  559. package/components/TransactionSender/index.js +1 -1
  560. package/components/TransactionStatusToast/FailedTransactionStatusToast.js +1 -1
  561. package/components/TransactionsTracker/TransactionTracker.js +1 -1
  562. package/components/TransactionsTracker/index.js +1 -1
  563. package/components/TransactionsTracker/useTransactionsTracker.js +1 -1
  564. package/constants/index.js +1 -1
  565. package/constants/network.js +1 -1
  566. package/hooks/account/index.js +1 -1
  567. package/hooks/account/useGetAccount.js +1 -1
  568. package/hooks/account/useGetAccountInfo.js +1 -1
  569. package/hooks/account/useGetAccountProvider.js +1 -1
  570. package/hooks/account/useGetIsLoggedIn.js +1 -1
  571. package/hooks/account/useGetLoginInfo.js +1 -1
  572. package/hooks/account/useGetWebsocketEvent.js +1 -1
  573. package/hooks/index.js +1 -1
  574. package/hooks/login/index.js +1 -1
  575. package/hooks/login/useExtensionLogin.js +1 -1
  576. package/hooks/login/useLedgerLogin.js +1 -1
  577. package/hooks/login/useLoginService.js +1 -1
  578. package/hooks/login/useOperaLogin.js +1 -1
  579. package/hooks/login/useWalletConnectLogin.js +1 -1
  580. package/hooks/login/useWalletConnectV2Login.js +1 -1
  581. package/hooks/login/useWebViewLogin.js +1 -1
  582. package/hooks/login/useWebWalletLogin.js +1 -1
  583. package/hooks/signMessage/index.js +1 -1
  584. package/hooks/signMessage/useGetLastSignedMessageSession.js +1 -1
  585. package/hooks/signMessage/useGetSignMessageSession.js +1 -1
  586. package/hooks/signMessage/useGetSignedMessageStatus.js +1 -1
  587. package/hooks/signMessage/useSignMessage.js +1 -1
  588. package/hooks/transactions/helpers/getShouldMoveTransactionsToSignedState.js +1 -1
  589. package/hooks/transactions/helpers/index.js +1 -1
  590. package/hooks/transactions/helpers/useClearTransactionsToSignWithWarning.js +1 -1
  591. package/hooks/transactions/helpers/useSetTransactionNonces.js +1 -1
  592. package/hooks/transactions/index.js +1 -1
  593. package/hooks/transactions/useCancelWalletConnectAction.js +1 -1
  594. package/hooks/transactions/useCheckTransactionStatus/checkBatch.js +1 -1
  595. package/hooks/transactions/useCheckTransactionStatus/index.js +1 -1
  596. package/hooks/transactions/useCheckTransactionStatus/manageFailedTransactions.js +1 -1
  597. package/hooks/transactions/useCheckTransactionStatus/manageTimedOutTransactions.js +1 -1
  598. package/hooks/transactions/useCheckTransactionStatus/useCheckTransactionStatus.js +1 -1
  599. package/hooks/transactions/useGetActiveTransactionsStatus.js +1 -1
  600. package/hooks/transactions/useGetFailedTransactions.js +1 -1
  601. package/hooks/transactions/useGetPendingTransactions.js +1 -1
  602. package/hooks/transactions/useGetSignTransactionsError.js +1 -1
  603. package/hooks/transactions/useGetSignedTransactions.js +1 -1
  604. package/hooks/transactions/useGetSuccessfulTransactions.js +1 -1
  605. package/hooks/transactions/useGetTokenDetails.js +1 -1
  606. package/hooks/transactions/useGetTransactionDisplayInfo.js +1 -1
  607. package/hooks/transactions/useParseMultiEsdtTransferData.js +1 -1
  608. package/hooks/transactions/useParseSignedTransactions.js +1 -1
  609. package/hooks/transactions/useSignMultipleTransactions.js +1 -1
  610. package/hooks/transactions/useSignTransactions.js +1 -1
  611. package/hooks/transactions/useSignTransactionsCommonData.js +1 -1
  612. package/hooks/transactions/useSignTransactionsWithDevice.js +1 -1
  613. package/hooks/transactions/useSignTransactionsWithLedger.js +1 -1
  614. package/hooks/transactions/useTrackTransactionStatus.js +1 -1
  615. package/hooks/useGetNetworkConfig.js +1 -1
  616. package/hooks/useGetNotification.js +1 -1
  617. package/hooks/userInterface/index.js +1 -1
  618. package/hooks/userInterface/useIsDappModalVisible.js +1 -1
  619. package/hooks/websocketListener/index.js +1 -1
  620. package/hooks/websocketListener/useInitializeWebsocketConnection.js +1 -1
  621. package/hooks/websocketListener/useRegisterWebsocketListener.js +1 -1
  622. package/models/index.js +1 -1
  623. package/models/newTransaction.js +1 -1
  624. package/package.json +1 -1
  625. package/providers/accountProvider.js +1 -1
  626. package/providers/index.js +1 -1
  627. package/providers/utils.js +1 -1
  628. package/providers/webviewProvider/index.js +1 -1
  629. package/providers/webviewProvider/requestMethods.js +1 -1
  630. package/providers/webviewProvider/webviewProvider.js +1 -1
  631. package/reduxStore/DappProviderContext.js +1 -1
  632. package/reduxStore/commonActions.js +1 -1
  633. package/reduxStore/middlewares/loginSessionMiddleware.js +1 -1
  634. package/reduxStore/persistConfig.js +1 -1
  635. package/reduxStore/persistedRootReducer.js +1 -1
  636. package/reduxStore/reducers.js +1 -1
  637. package/reduxStore/rootReducer.js +1 -1
  638. package/reduxStore/selectors/accountInfoSelectors.js +1 -1
  639. package/reduxStore/selectors/dappModalsSelectors.js +1 -1
  640. package/reduxStore/selectors/helpers.js +1 -1
  641. package/reduxStore/selectors/index.js +1 -1
  642. package/reduxStore/selectors/loginInfoSelectors.js +1 -1
  643. package/reduxStore/selectors/modalsSelectors.js +1 -1
  644. package/reduxStore/selectors/networkConfigSelectors.js +1 -1
  645. package/reduxStore/selectors/signedMessageInfoSelectors.js +1 -1
  646. package/reduxStore/selectors/toastsSelectors.js +1 -1
  647. package/reduxStore/selectors/transactionsInfoSelectors.js +1 -1
  648. package/reduxStore/selectors/transactionsSelectors.js +1 -1
  649. package/reduxStore/slices/accountInfoSlice.js +1 -1
  650. package/reduxStore/slices/dappModalsSlice.js +1 -1
  651. package/reduxStore/slices/index.js +1 -1
  652. package/reduxStore/slices/loginInfoSlice.js +1 -1
  653. package/reduxStore/slices/modalsSlice.js +1 -1
  654. package/reduxStore/slices/signedMessageInfoSlice.js +1 -1
  655. package/reduxStore/slices/toastsSlice.js +1 -1
  656. package/reduxStore/slices/transactionsInfoSlice.js +1 -1
  657. package/reduxStore/slices/transactionsSlice.js +1 -1
  658. package/reduxStore/store.js +1 -1
  659. package/services/index.js +1 -1
  660. package/services/nativeAuth/helpers/getLatestBlockHash.js +1 -1
  661. package/services/nativeAuth/helpers/index.js +1 -1
  662. package/services/nativeAuth/helpers/loginWithNativeAuthToken.js +1 -1
  663. package/services/nativeAuth/index.js +1 -1
  664. package/services/nativeAuth/methods/getToken.js +1 -1
  665. package/services/nativeAuth/methods/index.js +1 -1
  666. package/services/nativeAuth/nativeAuth.js +1 -1
  667. package/services/transactions/clearTransactions.js +1 -1
  668. package/services/transactions/index.js +1 -1
  669. package/services/transactions/isCrossShardTransaction.js +1 -1
  670. package/services/transactions/sendTransactions.js +1 -1
  671. package/services/transactions/signTransactions.js +1 -1
  672. package/services/transactions/transformAndSignTransactions.js +1 -1
  673. package/services/transactions/utils.js +1 -1
  674. package/types/index.js +1 -1
  675. package/types/suspiciousLink.d.ts +1 -1
  676. package/types/suspiciousLink.js +1 -1
  677. package/utils/account/getAccount.js +1 -1
  678. package/utils/account/getAccountBalance.js +1 -1
  679. package/utils/account/getAccountProviderType.js +1 -1
  680. package/utils/account/getAccountShard.js +1 -1
  681. package/utils/account/getAddress.js +1 -1
  682. package/utils/account/getIsProviderEqualTo.js +1 -1
  683. package/utils/account/getLatestNonce.js +1 -1
  684. package/utils/account/getShardOfAddress.js +1 -1
  685. package/utils/account/index.js +1 -1
  686. package/utils/account/loginWithExternalProvider.js +1 -1
  687. package/utils/account/refreshAccount.js +1 -1
  688. package/utils/account/setNonce.js +1 -1
  689. package/utils/account/signMessage.js +1 -1
  690. package/utils/getIsLoggedIn.js +1 -1
  691. package/utils/index.js +1 -1
  692. package/utils/logout.js +1 -1
  693. package/utils/network/getChainID.js +1 -1
  694. package/utils/network/getEgldLabel.js +1 -1
  695. package/utils/network/getNetworkConfig.js +1 -1
  696. package/utils/network/index.js +1 -1
  697. package/utils/operations/calculateFeeLimit.js +1 -1
  698. package/utils/operations/denominate.js +1 -1
  699. package/utils/operations/formatAmount.js +1 -1
  700. package/utils/operations/index.js +1 -1
  701. package/utils/operations/nominate.js +1 -1
  702. package/utils/operations/parseAmount.js +1 -1
  703. package/utils/smartContracts.js +1 -1
  704. package/utils/toasts/customToastsActions.js +1 -1
  705. package/utils/toasts/index.js +1 -1
  706. package/utils/transactions/getAllTransactionsLink.js +1 -1
  707. package/utils/transactions/getAreTransactionsOnSameShard.js +1 -1
  708. package/utils/transactions/getInterpretedTransaction/getInterpretedTransaction.js +1 -1
  709. package/utils/transactions/getInterpretedTransaction/helpers/getReceiptMessage.js +1 -1
  710. package/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/getTransactionValue.js +1 -1
  711. package/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/helpers/getEgldValueData.js +1 -1
  712. package/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/helpers/getTitleText.js +1 -1
  713. package/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/helpers/getValueFromActions.js +1 -1
  714. package/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/helpers/getValueFromDataField.js +1 -1
  715. package/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/helpers/getValueFromOperations.js +1 -1
  716. package/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/helpers/index.js +1 -1
  717. package/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/index.js +1 -1
  718. package/utils/transactions/getInterpretedTransaction/helpers/index.js +1 -1
  719. package/utils/transactions/getInterpretedTransaction/index.js +1 -1
  720. package/utils/transactions/getTransactionLink.js +1 -1
  721. package/utils/transactions/index.js +1 -1
  722. package/utils/transactions/parseMultiEsdtTransferData.js +1 -1
  723. package/utils/transactions/parseTransactionAfterSigning.js +1 -1
  724. package/utils/transactions/transactionInfoHelpers/getScResultsInitialDecodeMethod.js +1 -1
  725. package/utils/transactions/transactionInfoHelpers/getScamFlag.d.ts +1 -1
  726. package/utils/transactions/transactionInfoHelpers/getScamFlag.js +1 -1
  727. package/utils/transactions/transactionInfoHelpers/getShardText.js +1 -1
  728. package/utils/transactions/transactionInfoHelpers/getTransactionActionNftText.js +1 -1
  729. package/utils/transactions/transactionInfoHelpers/getTransactionActionTokenText.js +1 -1
  730. package/utils/transactions/transactionInfoHelpers/getTransactionLinkWithLabel.js +1 -1
  731. package/utils/transactions/transactionInfoHelpers/getTransactionMessages.js +1 -1
  732. package/utils/transactions/transactionInfoHelpers/index.js +1 -1
  733. package/utils/transactions/transactionInfoHelpers/transactionActionUnwrapper/helpers/index.js +1 -1
  734. package/utils/transactions/transactionInfoHelpers/transactionActionUnwrapper/helpers/mexUnwrapper.js +1 -1
  735. package/utils/transactions/transactionInfoHelpers/transactionActionUnwrapper/index.js +1 -1
  736. package/utils/transactions/transactionInfoHelpers/transactionActionUnwrapper/transactionActionUnwrapper.js +1 -1
  737. package/utils/transactions/transactionInfoHelpers/useDataDecode.js +1 -1
  738. package/utils/transactions/transactionInfoHelpers/useDataDecodeMethod.js +1 -1
  739. package/utils/validation/index.js +1 -1
  740. package/utils/validation/maxDecimals.js +1 -1
  741. package/utils/validation/stringIsFloat.js +1 -1
  742. package/web/hooks/index.js +1 -1
  743. package/web/hooks/useIdleTimer.js +1 -1
  744. package/web/index.js +1 -1
  745. package/wrappers/AppInitializer.js +1 -1
  746. package/wrappers/AuthenticatedRoutesWrapper/index.js +1 -1
  747. package/wrappers/AxiosInterceptorContext/AxiosInterceptorContext.js +1 -1
  748. package/wrappers/AxiosInterceptorContext/components/AxiosInterceptor.js +1 -1
  749. package/wrappers/AxiosInterceptorContext/components/AxiosInterceptorContextProvider.js +1 -1
  750. package/wrappers/AxiosInterceptorContext/components/LoginInfoListener.js +1 -1
  751. package/wrappers/AxiosInterceptorContext/components/index.js +1 -1
  752. package/wrappers/AxiosInterceptorContext/index.js +1 -1
  753. package/wrappers/DappProvider/CustomComponents.js +1 -1
  754. package/wrappers/DappProvider/index.js +1 -1
  755. package/wrappers/index.js +1 -1
  756. package/__chunks__/chunk-257MQZJ7.js +0 -2
  757. package/__chunks__/chunk-2LLW6IVJ.js +0 -2
  758. package/__chunks__/chunk-2Q6WNGQ3.js +0 -2
  759. package/__chunks__/chunk-374772OF.js +0 -2
  760. package/__chunks__/chunk-3SRVL7NW.js +0 -2
  761. package/__chunks__/chunk-4SIXDSOL.js +0 -2
  762. package/__chunks__/chunk-4X5KCZ6J.js +0 -2
  763. package/__chunks__/chunk-5YY4FC5L.js +0 -2
  764. package/__chunks__/chunk-5ZXISSZ7.js +0 -2
  765. package/__chunks__/chunk-6T5YTSDO.js +0 -2
  766. package/__chunks__/chunk-72JZW4D4.js +0 -2
  767. package/__chunks__/chunk-77MJ4H2X.js +0 -2
  768. package/__chunks__/chunk-7BZUQTJT.js +0 -2
  769. package/__chunks__/chunk-D5NVSL2S.js +0 -2
  770. package/__chunks__/chunk-DJQVAF4K.js +0 -2
  771. package/__chunks__/chunk-EAK65F3A.js +0 -2
  772. package/__chunks__/chunk-ELLSRUGJ.js +0 -2
  773. package/__chunks__/chunk-FBDAZ2UU.js +0 -2
  774. package/__chunks__/chunk-GKFAI7FL.js +0 -2
  775. package/__chunks__/chunk-GSJZFGHK.js +0 -2
  776. package/__chunks__/chunk-GSOVFG26.js +0 -2
  777. package/__chunks__/chunk-GSUUHI7J.js +0 -2
  778. package/__chunks__/chunk-I42LQFAH.js +0 -2
  779. package/__chunks__/chunk-I6QS6Z2Y.js +0 -2
  780. package/__chunks__/chunk-ICXMCLJS.js +0 -2
  781. package/__chunks__/chunk-IOPYMHW4.js +0 -2
  782. package/__chunks__/chunk-IUGOLSWC.js +0 -2
  783. package/__chunks__/chunk-JCPJZUE5.js +0 -2
  784. package/__chunks__/chunk-JPYJYT7S.js +0 -2
  785. package/__chunks__/chunk-KCJKC2BG.js +0 -2
  786. package/__chunks__/chunk-LCU4TY25.js +0 -2
  787. package/__chunks__/chunk-LFCY6YND.js +0 -2
  788. package/__chunks__/chunk-LYKWMNOY.js +0 -2
  789. package/__chunks__/chunk-MW6CV76C.js +0 -2
  790. package/__chunks__/chunk-NB2UEIDR.js +0 -2
  791. package/__chunks__/chunk-NWBLGHEW.js +0 -2
  792. package/__chunks__/chunk-OTZ4VQBM.js +0 -2
  793. package/__chunks__/chunk-PHQITJCN.js +0 -2
  794. package/__chunks__/chunk-PQYTU7UW.js +0 -2
  795. package/__chunks__/chunk-QAVCUCZB.js +0 -2
  796. package/__chunks__/chunk-QKWFACPV.js +0 -2
  797. package/__chunks__/chunk-QYO7RWYF.js +0 -2
  798. package/__chunks__/chunk-RANC62GC.js +0 -2
  799. package/__chunks__/chunk-U76KYHMK.js +0 -2
  800. package/__chunks__/chunk-VAELNUTZ.js +0 -2
  801. package/__chunks__/chunk-WO7IDAN6.js +0 -2
  802. package/__chunks__/chunk-YUGUMBTX.js +0 -2
@@ -1,4 +1,4 @@
1
- "use strict";var qi=Object.create;var Me=Object.defineProperty,zi=Object.defineProperties,ji=Object.getOwnPropertyDescriptor,Ki=Object.getOwnPropertyDescriptors,Yi=Object.getOwnPropertyNames,Ke=Object.getOwnPropertySymbols,Zi=Object.getPrototypeOf,Rt=Object.prototype.hasOwnProperty,Zr=Object.prototype.propertyIsEnumerable;var Yr=(e,t,r)=>t in e?Me(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,h=(e,t)=>{for(var r in t||(t={}))Rt.call(t,r)&&Yr(e,r,t[r]);if(Ke)for(var r of Ke(t))Zr.call(t,r)&&Yr(e,r,t[r]);return e},A=(e,t)=>zi(e,Ki(t));var Ye=(e,t)=>{var r={};for(var o in e)Rt.call(e,o)&&t.indexOf(o)<0&&(r[o]=e[o]);if(e!=null&&Ke)for(var o of Ke(e))t.indexOf(o)<0&&Zr.call(e,o)&&(r[o]=e[o]);return r};var x=(e,t)=>()=>(e&&(t=e(e=0)),t);var Ze=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),pe=(e,t)=>{for(var r in t)Me(e,r,{get:t[r],enumerable:!0})},Xr=(e,t,r,o)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of Yi(t))!Rt.call(e,i)&&i!==r&&Me(e,i,{get:()=>t[i],enumerable:!(o=ji(t,i))||o.enumerable});return e};var w=(e,t,r)=>(r=e!=null?qi(Zi(e)):{},Xr(t||!e||!e.__esModule?Me(r,"default",{value:e,enumerable:!0}):r,e)),_e=e=>Xr(Me({},"__esModule",{value:!0}),e);var v=(e,t,r)=>new Promise((o,i)=>{var l=d=>{try{m(r.next(d))}catch(g){i(g)}},p=d=>{try{m(r.throw(d))}catch(g){i(g)}},m=d=>d.done?o(d.value):Promise.resolve(d.value).then(l,p);m((r=r.apply(e,t)).next())});var en=Ze(Xe=>{"use strict";n();Xe.byteLength=Ji;Xe.toByteArray=es;Xe.fromByteArray=ns;var K=[],U=[],Xi=typeof Uint8Array!="undefined"?Uint8Array:Array,Mt="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(ue=0,Jr=Mt.length;ue<Jr;++ue)K[ue]=Mt[ue],U[Mt.charCodeAt(ue)]=ue;var ue,Jr;U["-".charCodeAt(0)]=62;U["_".charCodeAt(0)]=63;function Qr(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 Ji(e){var t=Qr(e),r=t[0],o=t[1];return(r+o)*3/4-o}function Qi(e,t,r){return(t+r)*3/4-r}function es(e){var t,r=Qr(e),o=r[0],i=r[1],l=new Xi(Qi(e,o,i)),p=0,m=i>0?o-4:o,d;for(d=0;d<m;d+=4)t=U[e.charCodeAt(d)]<<18|U[e.charCodeAt(d+1)]<<12|U[e.charCodeAt(d+2)]<<6|U[e.charCodeAt(d+3)],l[p++]=t>>16&255,l[p++]=t>>8&255,l[p++]=t&255;return i===2&&(t=U[e.charCodeAt(d)]<<2|U[e.charCodeAt(d+1)]>>4,l[p++]=t&255),i===1&&(t=U[e.charCodeAt(d)]<<10|U[e.charCodeAt(d+1)]<<4|U[e.charCodeAt(d+2)]>>2,l[p++]=t>>8&255,l[p++]=t&255),l}function ts(e){return K[e>>18&63]+K[e>>12&63]+K[e>>6&63]+K[e&63]}function rs(e,t,r){for(var o,i=[],l=t;l<r;l+=3)o=(e[l]<<16&16711680)+(e[l+1]<<8&65280)+(e[l+2]&255),i.push(ts(o));return i.join("")}function ns(e){for(var t,r=e.length,o=r%3,i=[],l=16383,p=0,m=r-o;p<m;p+=l)i.push(rs(e,p,p+l>m?m:p+l));return o===1?(t=e[r-1],i.push(K[t>>2]+K[t<<4&63]+"==")):o===2&&(t=(e[r-2]<<8)+e[r-1],i.push(K[t>>10]+K[t>>4&63]+K[t<<2&63]+"=")),i.join("")}});var tn=Ze(_t=>{n();_t.read=function(e,t,r,o,i){var l,p,m=i*8-o-1,d=(1<<m)-1,g=d>>1,y=-7,f=r?i-1:0,b=r?-1:1,C=e[t+f];for(f+=b,l=C&(1<<-y)-1,C>>=-y,y+=m;y>0;l=l*256+e[t+f],f+=b,y-=8);for(p=l&(1<<-y)-1,l>>=-y,y+=o;y>0;p=p*256+e[t+f],f+=b,y-=8);if(l===0)l=1-g;else{if(l===d)return p?NaN:(C?-1:1)*(1/0);p=p+Math.pow(2,o),l=l-g}return(C?-1:1)*p*Math.pow(2,l-o)};_t.write=function(e,t,r,o,i,l){var p,m,d,g=l*8-i-1,y=(1<<g)-1,f=y>>1,b=i===23?Math.pow(2,-24)-Math.pow(2,-77):0,C=o?0:l-1,S=o?1:-1,k=t<0||t===0&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(m=isNaN(t)?1:0,p=y):(p=Math.floor(Math.log(t)/Math.LN2),t*(d=Math.pow(2,-p))<1&&(p--,d*=2),p+f>=1?t+=b/d:t+=b*Math.pow(2,1-f),t*d>=2&&(p++,d/=2),p+f>=y?(m=0,p=y):p+f>=1?(m=(t*d-1)*Math.pow(2,i),p=p+f):(m=t*Math.pow(2,f-1)*Math.pow(2,i),p=0));i>=8;e[r+C]=m&255,C+=S,m/=256,i-=8);for(p=p<<i|m,g+=i;g>0;e[r+C]=p&255,C+=S,p/=256,g-=8);e[r+C-S]|=k*128}});var fn=Ze(xe=>{"use strict";n();var Ot=en(),ye=tn(),rn=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;xe.Buffer=u;xe.SlowBuffer=ls;xe.INSPECT_MAX_BYTES=50;var Je=2147483647;xe.kMaxLength=Je;u.TYPED_ARRAY_SUPPORT=os();!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 os(){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 Q(e){if(e>Je)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 $t(e)}return sn(e,t,r)}u.poolSize=8192;function sn(e,t,r){if(typeof e=="string")return ss(e,t);if(ArrayBuffer.isView(e))return as(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(Y(e,ArrayBuffer)||e&&Y(e.buffer,ArrayBuffer)||typeof SharedArrayBuffer!="undefined"&&(Y(e,SharedArrayBuffer)||e&&Y(e.buffer,SharedArrayBuffer)))return Bt(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=cs(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 sn(e,t,r)};Object.setPrototypeOf(u.prototype,Uint8Array.prototype);Object.setPrototypeOf(u,Uint8Array);function an(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 is(e,t,r){return an(e),e<=0?Q(e):t!==void 0?typeof r=="string"?Q(e).fill(t,r):Q(e).fill(t):Q(e)}u.alloc=function(e,t,r){return is(e,t,r)};function $t(e){return an(e),Q(e<0?0:Vt(e)|0)}u.allocUnsafe=function(e){return $t(e)};u.allocUnsafeSlow=function(e){return $t(e)};function ss(e,t){if((typeof t!="string"||t==="")&&(t="utf8"),!u.isEncoding(t))throw new TypeError("Unknown encoding: "+t);var r=cn(e,t)|0,o=Q(r),i=o.write(e,t);return i!==r&&(o=o.slice(0,i)),o}function Ft(e){for(var t=e.length<0?0:Vt(e.length)|0,r=Q(t),o=0;o<t;o+=1)r[o]=e[o]&255;return r}function as(e){if(Y(e,Uint8Array)){var t=new Uint8Array(e);return Bt(t.buffer,t.byteOffset,t.byteLength)}return Ft(e)}function Bt(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 cs(e){if(u.isBuffer(e)){var t=Vt(e.length)|0,r=Q(t);return r.length===0||e.copy(r,0,0,t),r}if(e.length!==void 0)return typeof e.length!="number"||Gt(e.length)?Q(0):Ft(e);if(e.type==="Buffer"&&Array.isArray(e.data))return Ft(e.data)}function Vt(e){if(e>=Je)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+Je.toString(16)+" bytes");return e|0}function ls(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(Y(t,Uint8Array)&&(t=u.from(t,t.offset,t.byteLength)),Y(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,l=0,p=Math.min(o,i);l<p;++l)if(t[l]!==r[l]){o=t[l],i=r[l];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),l=0;for(o=0;o<t.length;++o){var p=t[o];if(Y(p,Uint8Array))l+p.length>i.length?u.from(p).copy(i,l):Uint8Array.prototype.set.call(i,p,l);else if(u.isBuffer(p))p.copy(i,l);else throw new TypeError('"list" argument must be an Array of Buffers');l+=p.length}return i};function cn(e,t){if(u.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||Y(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 Ut(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return r*2;case"hex":return r>>>1;case"base64":return gn(e).length;default:if(i)return o?-1:Ut(e).length;t=(""+t).toLowerCase(),i=!0}}u.byteLength=cn;function ps(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 Ss(this,t,r);case"utf8":case"utf-8":return pn(this,t,r);case"ascii":return xs(this,t,r);case"latin1":case"binary":return hs(this,t,r);case"base64":return Ts(this,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return ws(this,t,r);default:if(o)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),o=!0}}u.prototype._isBuffer=!0;function de(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)de(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)de(this,r,r+3),de(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)de(this,r,r+7),de(this,r+1,r+6),de(this,r+2,r+5),de(this,r+3,r+4);return this};u.prototype.toString=function(){var t=this.length;return t===0?"":arguments.length===0?pn(this,0,t):ps.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=xe.INSPECT_MAX_BYTES;return t=this.toString("hex",0,r).replace(/(.{2})/g,"$1 ").trim(),this.length>r&&(t+=" ... "),"<Buffer "+t+">"};rn&&(u.prototype[rn]=u.prototype.inspect);u.prototype.compare=function(t,r,o,i,l){if(Y(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),l===void 0&&(l=this.length),r<0||o>t.length||i<0||l>this.length)throw new RangeError("out of range index");if(i>=l&&r>=o)return 0;if(i>=l)return-1;if(r>=o)return 1;if(r>>>=0,o>>>=0,i>>>=0,l>>>=0,this===t)return 0;for(var p=l-i,m=o-r,d=Math.min(p,m),g=this.slice(i,l),y=t.slice(r,o),f=0;f<d;++f)if(g[f]!==y[f]){p=g[f],m=y[f];break}return p<m?-1:m<p?1:0};function ln(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,Gt(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:nn(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):nn(e,[t],r,o,i);throw new TypeError("val must be string, number or Buffer")}function nn(e,t,r,o,i){var l=1,p=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;l=2,p/=2,m/=2,r/=2}function d(C,S){return l===1?C[S]:C.readUInt16BE(S*l)}var g;if(i){var y=-1;for(g=r;g<p;g++)if(d(e,g)===d(t,y===-1?0:g-y)){if(y===-1&&(y=g),g-y+1===m)return y*l}else y!==-1&&(g-=g-y),y=-1}else for(r+m>p&&(r=p-m),g=r;g>=0;g--){for(var f=!0,b=0;b<m;b++)if(d(e,g+b)!==d(t,b)){f=!1;break}if(f)return g}return-1}u.prototype.includes=function(t,r,o){return this.indexOf(t,r,o)!==-1};u.prototype.indexOf=function(t,r,o){return ln(this,t,r,o,!0)};u.prototype.lastIndexOf=function(t,r,o){return ln(this,t,r,o,!1)};function us(e,t,r,o){r=Number(r)||0;var i=e.length-r;o?(o=Number(o),o>i&&(o=i)):o=i;var l=t.length;o>l/2&&(o=l/2);for(var p=0;p<o;++p){var m=parseInt(t.substr(p*2,2),16);if(Gt(m))return p;e[r+p]=m}return p}function ds(e,t,r,o){return Qe(Ut(t,e.length-r),e,r,o)}function ms(e,t,r,o){return Qe(Is(t),e,r,o)}function gs(e,t,r,o){return Qe(gn(t),e,r,o)}function fs(e,t,r,o){return Qe(bs(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 l=this.length-r;if((o===void 0||o>l)&&(o=l),t.length>0&&(o<0||r<0)||r>this.length)throw new RangeError("Attempt to write outside buffer bounds");i||(i="utf8");for(var p=!1;;)switch(i){case"hex":return us(this,t,r,o);case"utf8":case"utf-8":return ds(this,t,r,o);case"ascii":case"latin1":case"binary":return ms(this,t,r,o);case"base64":return gs(this,t,r,o);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return fs(this,t,r,o);default:if(p)throw new TypeError("Unknown encoding: "+i);i=(""+i).toLowerCase(),p=!0}};u.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function Ts(e,t,r){return t===0&&r===e.length?Ot.fromByteArray(e):Ot.fromByteArray(e.slice(t,r))}function pn(e,t,r){r=Math.min(e.length,r);for(var o=[],i=t;i<r;){var l=e[i],p=null,m=l>239?4:l>223?3:l>191?2:1;if(i+m<=r){var d,g,y,f;switch(m){case 1:l<128&&(p=l);break;case 2:d=e[i+1],(d&192)===128&&(f=(l&31)<<6|d&63,f>127&&(p=f));break;case 3:d=e[i+1],g=e[i+2],(d&192)===128&&(g&192)===128&&(f=(l&15)<<12|(d&63)<<6|g&63,f>2047&&(f<55296||f>57343)&&(p=f));break;case 4:d=e[i+1],g=e[i+2],y=e[i+3],(d&192)===128&&(g&192)===128&&(y&192)===128&&(f=(l&15)<<18|(d&63)<<12|(g&63)<<6|y&63,f>65535&&f<1114112&&(p=f))}}p===null?(p=65533,m=1):p>65535&&(p-=65536,o.push(p>>>10&1023|55296),p=56320|p&1023),o.push(p),i+=m}return ys(o)}var on=4096;function ys(e){var t=e.length;if(t<=on)return String.fromCharCode.apply(String,e);for(var r="",o=0;o<t;)r+=String.fromCharCode.apply(String,e.slice(o,o+=on));return r}function xs(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 hs(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 Ss(e,t,r){var o=e.length;(!t||t<0)&&(t=0),(!r||r<0||r>o)&&(r=o);for(var i="",l=t;l<r;++l)i+=ks[e[l]];return i}function ws(e,t,r){for(var o=e.slice(t,r),i="",l=0;l<o.length-1;l+=2)i+=String.fromCharCode(o[l]+o[l+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 R(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||R(t,r,this.length);for(var i=this[t],l=1,p=0;++p<r&&(l*=256);)i+=this[t+p]*l;return i};u.prototype.readUintBE=u.prototype.readUIntBE=function(t,r,o){t=t>>>0,r=r>>>0,o||R(t,r,this.length);for(var i=this[t+--r],l=1;r>0&&(l*=256);)i+=this[t+--r]*l;return i};u.prototype.readUint8=u.prototype.readUInt8=function(t,r){return t=t>>>0,r||R(t,1,this.length),this[t]};u.prototype.readUint16LE=u.prototype.readUInt16LE=function(t,r){return t=t>>>0,r||R(t,2,this.length),this[t]|this[t+1]<<8};u.prototype.readUint16BE=u.prototype.readUInt16BE=function(t,r){return t=t>>>0,r||R(t,2,this.length),this[t]<<8|this[t+1]};u.prototype.readUint32LE=u.prototype.readUInt32LE=function(t,r){return t=t>>>0,r||R(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||R(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||R(t,r,this.length);for(var i=this[t],l=1,p=0;++p<r&&(l*=256);)i+=this[t+p]*l;return l*=128,i>=l&&(i-=Math.pow(2,8*r)),i};u.prototype.readIntBE=function(t,r,o){t=t>>>0,r=r>>>0,o||R(t,r,this.length);for(var i=r,l=1,p=this[t+--i];i>0&&(l*=256);)p+=this[t+--i]*l;return l*=128,p>=l&&(p-=Math.pow(2,8*r)),p};u.prototype.readInt8=function(t,r){return t=t>>>0,r||R(t,1,this.length),this[t]&128?(255-this[t]+1)*-1:this[t]};u.prototype.readInt16LE=function(t,r){t=t>>>0,r||R(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||R(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||R(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||R(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||R(t,4,this.length),ye.read(this,t,!0,23,4)};u.prototype.readFloatBE=function(t,r){return t=t>>>0,r||R(t,4,this.length),ye.read(this,t,!1,23,4)};u.prototype.readDoubleLE=function(t,r){return t=t>>>0,r||R(t,8,this.length),ye.read(this,t,!0,52,8)};u.prototype.readDoubleBE=function(t,r){return t=t>>>0,r||R(t,8,this.length),ye.read(this,t,!1,52,8)};function O(e,t,r,o,i,l){if(!u.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>i||t<l)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 l=Math.pow(2,8*o)-1;O(this,t,r,o,l,0)}var p=1,m=0;for(this[r]=t&255;++m<o&&(p*=256);)this[r+m]=t/p&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 l=Math.pow(2,8*o)-1;O(this,t,r,o,l,0)}var p=o-1,m=1;for(this[r+p]=t&255;--p>=0&&(m*=256);)this[r+p]=t/m&255;return r+o};u.prototype.writeUint8=u.prototype.writeUInt8=function(t,r,o){return t=+t,r=r>>>0,o||O(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||O(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||O(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||O(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||O(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 l=Math.pow(2,8*o-1);O(this,t,r,o,l-1,-l)}var p=0,m=1,d=0;for(this[r]=t&255;++p<o&&(m*=256);)t<0&&d===0&&this[r+p-1]!==0&&(d=1),this[r+p]=(t/m>>0)-d&255;return r+o};u.prototype.writeIntBE=function(t,r,o,i){if(t=+t,r=r>>>0,!i){var l=Math.pow(2,8*o-1);O(this,t,r,o,l-1,-l)}var p=o-1,m=1,d=0;for(this[r+p]=t&255;--p>=0&&(m*=256);)t<0&&d===0&&this[r+p+1]!==0&&(d=1),this[r+p]=(t/m>>0)-d&255;return r+o};u.prototype.writeInt8=function(t,r,o){return t=+t,r=r>>>0,o||O(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||O(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||O(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||O(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||O(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 un(e,t,r,o,i,l){if(r+o>e.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function dn(e,t,r,o,i){return t=+t,r=r>>>0,i||un(e,t,r,4,34028234663852886e22,-34028234663852886e22),ye.write(e,t,r,o,23,4),r+4}u.prototype.writeFloatLE=function(t,r,o){return dn(this,t,r,!0,o)};u.prototype.writeFloatBE=function(t,r,o){return dn(this,t,r,!1,o)};function mn(e,t,r,o,i){return t=+t,r=r>>>0,i||un(e,t,r,8,17976931348623157e292,-17976931348623157e292),ye.write(e,t,r,o,52,8),r+8}u.prototype.writeDoubleLE=function(t,r,o){return mn(this,t,r,!0,o)};u.prototype.writeDoubleBE=function(t,r,o){return mn(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 l=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),l};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 l=t.charCodeAt(0);(i==="utf8"&&l<128||i==="latin1")&&(t=l)}}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 p;if(typeof t=="number")for(p=r;p<o;++p)this[p]=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(p=0;p<o-r;++p)this[p+r]=m[p%d]}return this};var As=/[^+/0-9A-Za-z-_]/g;function vs(e){if(e=e.split("=")[0],e=e.trim().replace(As,""),e.length<2)return"";for(;e.length%4!==0;)e=e+"=";return e}function Ut(e,t){t=t||1/0;for(var r,o=e.length,i=null,l=[],p=0;p<o;++p){if(r=e.charCodeAt(p),r>55295&&r<57344){if(!i){if(r>56319){(t-=3)>-1&&l.push(239,191,189);continue}else if(p+1===o){(t-=3)>-1&&l.push(239,191,189);continue}i=r;continue}if(r<56320){(t-=3)>-1&&l.push(239,191,189),i=r;continue}r=(i-55296<<10|r-56320)+65536}else i&&(t-=3)>-1&&l.push(239,191,189);if(i=null,r<128){if((t-=1)<0)break;l.push(r)}else if(r<2048){if((t-=2)<0)break;l.push(r>>6|192,r&63|128)}else if(r<65536){if((t-=3)<0)break;l.push(r>>12|224,r>>6&63|128,r&63|128)}else if(r<1114112){if((t-=4)<0)break;l.push(r>>18|240,r>>12&63|128,r>>6&63|128,r&63|128)}else throw new Error("Invalid code point")}return l}function Is(e){for(var t=[],r=0;r<e.length;++r)t.push(e.charCodeAt(r)&255);return t}function bs(e,t){for(var r,o,i,l=[],p=0;p<e.length&&!((t-=2)<0);++p)r=e.charCodeAt(p),o=r>>8,i=r%256,l.push(i),l.push(o);return l}function gn(e){return Ot.toByteArray(vs(e))}function Qe(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 Y(e,t){return e instanceof t||e!=null&&e.constructor!=null&&e.constructor.name!=null&&e.constructor.name===t.name}function Gt(e){return e!==e}var ks=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 Sn=Ze((Cc,hn)=>{n();var P=hn.exports={},Z,X;function Ht(){throw new Error("setTimeout has not been defined")}function Wt(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?Z=setTimeout:Z=Ht}catch(e){Z=Ht}try{typeof clearTimeout=="function"?X=clearTimeout:X=Wt}catch(e){X=Wt}})();function Tn(e){if(Z===setTimeout)return setTimeout(e,0);if((Z===Ht||!Z)&&setTimeout)return Z=setTimeout,setTimeout(e,0);try{return Z(e,0)}catch(t){try{return Z.call(null,e,0)}catch(r){return Z.call(this,e,0)}}}function Es(e){if(X===clearTimeout)return clearTimeout(e);if((X===Wt||!X)&&clearTimeout)return X=clearTimeout,clearTimeout(e);try{return X(e)}catch(t){try{return X.call(null,e)}catch(r){return X.call(this,e)}}}var ee=[],he=!1,me,et=-1;function Ls(){!he||!me||(he=!1,me.length?ee=me.concat(ee):et=-1,ee.length&&yn())}function yn(){if(!he){var e=Tn(Ls);he=!0;for(var t=ee.length;t;){for(me=ee,ee=[];++et<t;)me&&me[et].run();et=-1,t=ee.length}me=null,he=!1,Es(e)}}P.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];ee.push(new xn(e,t)),ee.length===1&&!he&&Tn(yn)};function xn(e,t){this.fun=e,this.array=t}xn.prototype.run=function(){this.fun.apply(null,this.array)};P.title="browser";P.browser=!0;P.env={};P.argv=[];P.version="";P.versions={};function te(){}P.on=te;P.addListener=te;P.once=te;P.off=te;P.removeListener=te;P.removeAllListeners=te;P.emit=te;P.prependListener=te;P.prependOnceListener=te;P.listeners=function(e){return[]};P.binding=function(e){throw new Error("process.binding is not supported")};P.cwd=function(){return"/"};P.chdir=function(e){throw new Error("process.chdir is not supported")};P.umask=function(){return 0}});var s,a,Rc,n=x(()=>{s=w(fn()),a=w(Sn()),Rc=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 wn,qt=x(()=>{"use strict";n();wn="Action not allowed. User is logged in. Call logout() first"});var An=x(()=>{"use strict";n()});var vn=x(()=>{"use strict";n()});var In=x(()=>{"use strict";n()});var F=x(()=>{"use strict";n()});var bn=x(()=>{"use strict";n()});var kn=x(()=>{"use strict";n()});var _=x(()=>{"use strict";n()});var En=x(()=>{"use strict";n()});var Ln=x(()=>{"use strict";n()});var $=x(()=>{"use strict";n();An();vn();In();F();bn();kn();_();En();Ln()});var zt,Nn,Jc,Pn,Qc,Dn,el,tl,rl,Cn=x(()=>{"use strict";n();$();zt={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:Jc}=zt["devnet"],{chainId:Pn,egldLabel:Qc}=zt["testnet"],{chainId:Dn,egldLabel:el}=zt["mainnet"],tl={["devnet"]:Nn,["testnet"]:Pn,["mainnet"]:Dn},rl={[Nn]:"devnet",[Pn]:"testnet",[Dn]:"mainnet"}});var jt,Kt=x(()=>{"use strict";n();jt={36864:{code:"codeSuccess",message:"Success"},27013:{code:"ERR_USER_DENIED",message:"Rejected by user"},27904:{code:"ERR_UNKNOWN_INSTRUCTION",message:"Unknown instruction"},28160:{code:"ERR_WRONG_CLA",message:"Wrong CLA"},28161:{code:"ERR_INVALID_ARGUMENTS",message:"Invalid arguments"},28162:{code:"ERR_INVALID_MESSAGE",message:"Invalid message"},28163:{code:"ERR_INVALID_P1",message:"Invalid P1"},28164:{code:"ERR_MESSAGE_TOO_LONG",message:"Message too long"},28165:{code:"ERR_RECEIVER_TOO_LONG",message:"Receiver too long"},28166:{code:"ERR_AMOUNT_TOO_LONG",message:"Amount too long"},28167:{code:"ERR_CONTRACT_DATA_DISABLED",message:"Contract data disabled in app options"},28168:{code:"ERR_MESSAGE_INCOMPLETE",message:"Message incomplete"},28176:{code:"ERR_SIGNATURE_FAILED",message:"Signature failed"},28169:{code:"ERR_WRONG_TX_VERSION",message:"Wrong TX version"},28170:{code:"ERR_NONCE_TOO_LONG",message:"Nonce too long"},28171:{code:"ERR_INVALID_AMOUNT",message:"Invalid amount"},28172:{code:"ERR_INVALID_FEE",message:"Invalid fee"},28173:{code:"ERR_PRETTY_FAILED",message:"Pretty failed"},28174:{code:"ERR_DATA_TOO_LONG",message:"Data too long"},28175:{code:"ERR_WRONG_TX_OPTIONS",message:"Invalid transaction options"},28177:{code:"ERR_SIGN_TX_DEPRECATED",message:"Regular transaction signing is deprecated in this version. Use hash signing."}}});var Rn=x(()=>{"use strict";n()});var Mn,Yt=x(()=>{"use strict";n();Mn="transaction-status-toast-id"});var J,_n=x(()=>{"use strict";n();J=require("@multiversx/sdk-web-wallet-provider")});var Zt,Xt,On,Fn,tt,Bn,Se,D=x(()=>{"use strict";n();qt();Cn();Kt();Rn();Yt();_n();Zt=5e4,Xt=1e9,On=1,Fn=1,tt="logout",Bn="login",Se="0"});var er,M,oe,V=x(()=>{"use strict";n();er=require("@reduxjs/toolkit");D();M=(0,er.createAction)(tt),oe=(0,er.createAction)(Bn,e=>({payload:e}))});var ve,rt=x(()=>{"use strict";n();ve=()=>Date.now()/1e3});var Vn=x(()=>{"use strict";n()});var Gn=x(()=>{"use strict";n()});var tr=x(()=>{"use strict";n();rt();Vn();Gn()});var nr={};pe(nr,{getItem:()=>Fs,localStorageKeys:()=>ie,removeItem:()=>Bs,setItem:()=>Os});var ie,rr,Os,Fs,Bs,Ie=x(()=>{"use strict";n();tr();ie={loginExpiresAt:"sdk-dapp-login-expires-at",logoutEvent:"sdk-dapp-logout-event"},rr=typeof localStorage!="undefined",Os=({key:e,data:t,expires:r})=>{!rr||localStorage.setItem(String(e),JSON.stringify({expires:r,data:t}))},Fs=e=>{if(!rr)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:ve()>=r.expires?(localStorage.removeItem(String(e)),null):r.data},Bs=e=>{!rr||localStorage.removeItem(String(e))}});var or={};pe(or,{clear:()=>zn,getItem:()=>Wn,removeItem:()=>qn,setItem:()=>Hn,storage:()=>Us});var Hn,Wn,qn,zn,Us,jn=x(()=>{"use strict";n();Hn=({key:e,data:t,expires:r})=>{sessionStorage.setItem(String(e),JSON.stringify({expires:r,data:t}))},Wn=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},qn=e=>sessionStorage.removeItem(String(e)),zn=()=>sessionStorage.clear(),Us={setItem:Hn,getItem:Wn,removeItem:qn,clear:zn}});var ge,be=x(()=>{"use strict";n();Ie();jn();ge={session:or,local:nr}});var sr,Kn,Yn,nt,ir,Zn,ar,Vl,cr,Gl,lr,Xn,Hl,Wl,ql,zl,Jn,pr=x(()=>{"use strict";n();sr=require("@multiversx/sdk-core"),Kn=require("@reduxjs/toolkit"),Yn=require("redux-persist");D();be();Ie();V();nt={balance:"...",address:"",nonce:0,txCount:0,scrCount:0,claimableRewards:Se},ir={address:"",websocketEvent:null,accounts:{"":nt},ledgerAccount:null,publicKey:"",walletConnectAccount:null,isAccountLoading:!0,accountLoadingError:null},Zn=(0,Kn.createSlice)({name:"accountInfoSlice",initialState:ir,reducers:{setAddress:(e,t)=>{let r=t.payload;e.address=r,e.publicKey=new sr.Address(r).hex()},setAccount:(e,t)=>{let r=e.address===t.payload.address;e.accounts={[e.address]:r?t.payload:nt},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(M,()=>(ge.local.removeItem(ie.loginExpiresAt),ir)),e.addCase(oe,(t,r)=>{let{address:o}=r.payload;t.address=o,t.publicKey=new sr.Address(o).hex()}),e.addCase(Yn.REHYDRATE,(t,r)=>{var g;if(!((g=r.payload)!=null&&g.account))return;let{account:o}=r.payload,{address:i,shard:l,accounts:p,publicKey:m}=o;t.address=i,t.shard=l;let d=p&&i in p;t.accounts=d?p:ir.accounts,t.publicKey=m})}}),{setAccount:ar,setAddress:Vl,setAccountNonce:cr,setAccountShard:Gl,setLedgerAccount:lr,updateLedgerAccount:Xn,setWalletConnectAccount:Hl,setIsAccountLoading:Wl,setAccountLoadingError:ql,setWebsocketEvent:zl}=Zn.actions,Jn=Zn.reducer});function Oe(){return new Date().setHours(new Date().getHours()+24)}function Fe(e){ge.local.setItem({key:ie.loginExpiresAt,data:e,expires:e})}var ur=x(()=>{"use strict";n();be();Ie()});var eo,Qn,to,rp,np,ro,ot,op,ip,no,sp,oo,dr=x(()=>{"use strict";n();eo=require("@reduxjs/toolkit");ur();F();V();Qn={loginMethod:"",walletConnectLogin:null,ledgerLogin:null,tokenLogin:null,walletLogin:null,extensionLogin:null,operaLogin:null,isLoginSessionInvalid:!1},to=(0,eo.createSlice)({name:"loginInfoSlice",initialState:Qn,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(M,()=>Qn),e.addCase(oe,(t,r)=>{t.loginMethod=r.payload.loginMethod,Fe(Oe())})}}),{setLoginMethod:rp,setWalletConnectLogin:np,setLedgerLogin:ro,setTokenLogin:ot,setTokenLoginSignature:op,setWalletLogin:ip,invalidateLoginSession:no,setLogoutRoute:sp}=to.actions,oo=to.reducer});var so,io,ao,pp,up,dp,mp,co,mr=x(()=>{"use strict";n();so=require("@reduxjs/toolkit");V();io={},ao=(0,so.createSlice)({name:"modalsSlice",initialState:io,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(M,()=>io)}}),{setTxSubmittedModal:pp,setNotificationModal:up,clearTxSubmittedModal:dp,clearNotificationModal:mp}=ao.actions,co=ao.reducer});var $s,gr,it=x(()=>{"use strict";n();$s=!1,gr=(e,t=0)=>{$s||setTimeout(()=>{window.location.href=e,window.location.assign(e)},t)}});function fr({callbackRoute:e,onLoginRedirect:t,options:r}){let o=Boolean(e),i=typeof t=="function",l=i?0:Vs;o&&e!=null&&setTimeout(()=>{if(i)return t(e,r);window.location.pathname.includes(e)||gr(e)},l)}var Vs,lo=x(()=>{"use strict";n();it();Vs=200});function Tr(e){return e[Math.floor(Math.random()*e.length)]}var po=x(()=>{"use strict";n()});function Be(e){let t=null;if((e==null?void 0:e.statusCode)in jt){let r=e==null?void 0:e.statusCode,{message:o}=jt[r];t=Ws.includes(r)?uo:o}return{errorMessage:t,defaultErrorMessage:uo}}var uo,Gs,Hs,Ws,mo=x(()=>{"use strict";n();Kt();uo="Check if the MultiversX app is open on Ledger",Gs=28161,Hs=28160,Ws=[Gs,Hs]});var yr=x(()=>{"use strict";n();lo();po();mo()});var go,fo,xr,qs,To,Ep,Lp,yo,hr=x(()=>{"use strict";n();go=require("@reduxjs/toolkit"),fo=w(require("lodash.omit"));yr();xr={id:"not-configured",chainId:"",name:"NOT CONFIGURED",egldLabel:"",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"",walletConnectBridgeAddress:"",walletConnectV2RelayAddress:"",walletConnectV2ProjectId:"",walletConnectV2Options:{},walletAddress:"",apiAddress:"",explorerAddress:"",apiTimeout:"4000"},qs={network:xr,chainID:"-1"},To=(0,go.createSlice)({name:"appConfig",initialState:qs,reducers:{initializeNetworkConfig:(e,t)=>{let r=Tr(t.payload.walletConnectBridgeAddresses),o=Tr(t.payload.walletConnectV2RelayAddresses),i=(0,fo.default)(t.payload,"walletConnectBridgeAddresses","walletConnectV2RelayAddresses");e.network=A(h(h({},e.network),i),{walletConnectBridgeAddress:r,walletConnectV2RelayAddress:o})},setChainID:(e,t)=>{e.chainID=t.payload}}}),{initializeNetworkConfig:Ep,setChainID:Lp}=To.actions,yo=To.reducer});var xo,Sr,ho,Mp,_p,Op,st,at=x(()=>{"use strict";n();xo=require("@reduxjs/toolkit");$();V();Sr={isSigning:!1,signedSessions:{}},ho=(0,xo.createSlice)({name:"signedMessageInfoSliceState",initialState:Sr,reducers:{setSignSession:(e,t)=>{let{sessionId:r,signedSession:o,errorMessage:i}=t.payload;return A(h({},e),{errorMessage:i!=null?i:e.errorMessage,isSigning:o.status==="pending",signedSessions:A(h({},e.signedSessions),{[r]:o})})},setSignSessionState:(e,t)=>h(h({},e),t.payload),clearSignedMessageInfo:()=>Sr},extraReducers:e=>{e.addCase(M,()=>Sr)}}),{setSignSession:Mp,clearSignedMessageInfo:_p,setSignSessionState:Op}=ho.actions,st=ho.reducer});var wo,Ao,So,vo,zs,js,Wp,qp,zp,jp,ct,lt=x(()=>{"use strict";n();wo=require("@reduxjs/toolkit"),Ao=require("redux-persist");Yt();$();rt();V();So={customToasts:[],transactionToasts:[],failTransactionToast:null},vo=(0,wo.createSlice)({name:"toastsSlice",initialState:So,reducers:{addCustomToast:(e,t)=>{e.customToasts.push(A(h({},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:ve(),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=A(h({},t.payload),{toastId:Mn})},removeFailTransactionToast:e=>{e.failTransactionToast=null}},extraReducers:e=>{e.addCase(M,()=>So),e.addCase(Ao.REHYDRATE,(t,r)=>{var i,l;let o=(l=(i=r.customToasts)==null?void 0:i.filter(p=>!("component"in p)))!=null?l:[];t.customToasts=o})}}),{addCustomToast:zs,removeCustomToast:js,addTransactionToast:Wp,removeTransactionToast:qp,addFailTransactionToast:zp,removeFailTransactionToast:jp}=vo.actions,ct=vo.reducer});var Io,Ar,vr,Ir,Ks,wr,bo,Xp,Jp,Qp,pt,ut=x(()=>{"use strict";n();Io=require("@reduxjs/toolkit");V();Ar="Transaction failed",vr="Transaction successful",Ir="Processing transaction",Ks="Transaction submitted",wr={},bo=(0,Io.createSlice)({name:"transactionsInfo",initialState:wr,reducers:{setTransactionsDisplayInfo(e,t){let{sessionId:r,transactionsDisplayInfo:o}=t.payload;r!=null&&(e[r]={errorMessage:(o==null?void 0:o.errorMessage)||Ar,successMessage:(o==null?void 0:o.successMessage)||vr,processingMessage:(o==null?void 0:o.processingMessage)||Ir,submittedMessage:(o==null?void 0:o.submittedMessage)||Ks,transactionDuration:o==null?void 0:o.transactionDuration})},clearTransactionsInfoForSessionId(e,t){t.payload!=null&&delete e[t.payload]},clearTransactionsInfo:()=>wr},extraReducers:e=>{e.addCase(M,()=>wr)}}),{clearTransactionsInfo:Xp,setTransactionsDisplayInfo:Jp,clearTransactionsInfoForSessionId:Qp}=bo.actions,pt=bo.reducer});function ko(e){return e!=null&&(na(e)||aa(e))}function dt(e){return e!=null&&(oa(e)||ca(e))}function mt(e){return e!=null&&(ia(e)||la(e))}function Eo(e){return e!=null&&sa(e)}function na(e){return e!=null&&Zs.includes(e)}function oa(e){return e!=null&&Xs.includes(e)}function ia(e){return e!=null&&Js.includes(e)}function sa(e){return e!=null&&Qs.includes(e)}function aa(e){return e!=null&&ea.includes(e)}function ca(e){return e!=null&&ta.includes(e)}function la(e){return e!=null&&ra.includes(e)}var Zs,Xs,Js,Qs,ea,ta,ra,kr=x(()=>{"use strict";n();F();Zs=["sent"],Xs=["success"],Js=["fail","cancelled","timedOut"],Qs=["timedOut"],ea=["pending"],ta=["success"],ra=["fail","invalid"]});var Lo,No,Ue,pa,Po,cu,lu,pu,uu,du,mu,gu,fu,Tu,yu,gt,ft=x(()=>{"use strict";n();Lo=require("@reduxjs/toolkit"),No=require("redux-persist");F();kr();V();Ue={signedTransactions:{},transactionsToSign:null,signTransactionsError:null,signTransactionsCancelMessage:null,customTransactionInformationForSessionId:{}},pa={signWithoutSending:!1,sessionInformation:null,redirectAfterSign:!1},Po=(0,Lo.createSlice)({name:"transactionsSlice",initialState:Ue,reducers:{moveTransactionsToSignedState:(e,t)=>{var d,g;let{sessionId:r,transactions:o,errorMessage:i,status:l,redirectRoute:p}=t.payload,m=((d=e.customTransactionInformationForSessionId)==null?void 0:d[r])||pa;e.signedTransactions[r]={transactions:o,status:l,errorMessage:i,redirectRoute:p,customTransactionInformation:m},((g=e==null?void 0:e.transactionsToSign)==null?void 0:g.sessionId)===r&&(e.transactionsToSign=Ue.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=h(h({},e.signedTransactions),t.payload)},updateSignedTransactions:(e,t)=>{let{sessionId:r,status:o,errorMessage:i,transactions:l}=t.payload;e.signedTransactions[r]!=null&&(e.signedTransactions[r].status=o,i!=null&&(e.signedTransactions[r].errorMessage=i),l!=null&&(e.signedTransactions[r].transactions=l))},updateSignedTransactionStatus:(e,t)=>{var m,d,g,y,f,b;let{sessionId:r,status:o,errorMessage:i,transactionHash:l}=t.payload,p=(d=(m=e.signedTransactions)==null?void 0:m[r])==null?void 0:d.transactions;if(p!=null){e.signedTransactions[r].transactions=p.map(k=>k.hash===l?A(h({},k),{status:o,errorMessage:i}):k);let C=(y=(g=e.signedTransactions[r])==null?void 0:g.transactions)==null?void 0:y.every(k=>dt(k.status)),S=(b=(f=e.signedTransactions[r])==null?void 0:f.transactions)==null?void 0:b.every(k=>mt(k.status));C&&(e.signedTransactions[r].status="success"),S&&(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=Ue.transactionsToSign,e.signTransactionsError=null},clearAllSignedTransactions:e=>{e.signedTransactions=Ue.signedTransactions},setSignTransactionsError:(e,t)=>{e.signTransactionsError=t.payload},setSignTransactionsCancelMessage:(e,t)=>{e.signTransactionsCancelMessage=t.payload}},extraReducers:e=>{e.addCase(M,()=>Ue),e.addCase(No.REHYDRATE,(t,r)=>{var p;if(t.signTransactionsCancelMessage=null,!((p=r.payload)!=null&&p.transactions))return;let{signedTransactions:o,customTransactionInformationForSessionId:i}=r.payload.transactions,l=Object.entries(o).reduce((m,[d,g])=>{let y=new Date(d),f=new Date;return f.setHours(f.getHours()+5),f-y>0||(m[d]=g),m},{});i!=null&&(t.customTransactionInformationForSessionId=i),o!=null&&(t.signedTransactions=l)})}}),{updateSignedTransactionStatus:cu,updateSignedTransactions:lu,setTransactionsToSign:pu,clearAllTransactionsToSign:uu,clearAllSignedTransactions:du,clearSignedTransaction:mu,clearTransactionToSign:gu,setSignTransactionsError:fu,setSignTransactionsCancelMessage:Tu,moveTransactionsToSignedState:yu}=Po.actions,gt=Po.reducer});var H=x(()=>{"use strict";n();pr();dr();mr();hr();at();lt();ut();ft()});var Er=x(()=>{"use strict";n()});var _o,Mo,Oo,Vu,Gu,Hu,Wu,qu,zu,Fo,Bo=x(()=>{"use strict";n();_o=require("@reduxjs/toolkit");V();Mo={visible:!1,modal:{showHeader:!0,showFooter:!1,headerText:"",footerText:""}},Oo=(0,_o.createSlice)({name:"dappModalsSlice",initialState:Mo,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=h({},t.payload)}},extraReducers:e=>{e.addCase(M,()=>Mo)}}),{setDappModalVisibility:Vu,setDappModalHeaderVisibility:Gu,setDappModalFooterVisibility:Hu,setDappModalHeaderText:Wu,setDappModalFooterText:qu,setDappModalConfig:zu}=Oo.actions,Fo=Oo.reducer});var Uo,ga,fa,ke,ht=x(()=>{"use strict";n();Uo=require("@reduxjs/toolkit");Er();pr();Bo();dr();mr();hr();at();lt();ut();ft();ga={["account"]:Jn,["dappModal"]:Fo,["loginInfo"]:oo,["modals"]:co,["networkConfig"]:yo,["signedMessageInfo"]:st,["toasts"]:ct,["transactionsInfo"]:pt,["transactions"]:gt},fa=(e={})=>(0,Uo.combineReducers)(h(h({},ga),e)),ke=fa});var Wo={};pe(Wo,{default:()=>wa,getSessionStoragePersistConfig:()=>Ve,localStoragePersistConfig:()=>Go,sessionStorageReducers:()=>Ho});function Ve(e,t=[]){return{key:e,version:1,storage:Vo.default,blacklist:t}}var se,$o,Vo,Ta,ya,xa,ha,Sa,Go,Ho,wa,qo=x(()=>{"use strict";n();se=require("redux-persist"),$o=w(require("redux-persist/lib/storage")),Vo=w(require("redux-persist/lib/storage/session"));ht();H();at();lt();ut();ft();Er();Ta={2:e=>A(h({},e),{networkConfig:xr})};ya=Ve("sdk-dapp-transactionsInfo"),xa=Ve("sdk-dapp-transactions",["transactionsToSign"]),ha=Ve("sdk-dapp-toasts"),Sa=Ve("sdk-dapp-signedMessageInfo"),Go={key:"sdk-dapp-store",version:2,storage:$o.default,whitelist:["account","loginInfo","modals","networkConfig"],migrate:(0,se.createMigrate)(Ta,{debug:!1})},Ho={["toasts"]:(0,se.persistReducer)(ha,ct),["transactions"]:(0,se.persistReducer)(xa,gt),["transactionsInfo"]:(0,se.persistReducer)(ya,pt),["signedMessageInfo"]:(0,se.persistReducer)(Sa,st)},wa=(0,se.persistReducer)(Go,ke(Ho))});var zo={};pe(zo,{default:()=>Aa});var Aa,jo=x(()=>{"use strict";n();ht();Aa=ke()});var Ko={};pe(Ko,{default:()=>Ia});var G,va,Ia,Yo=x(()=>{"use strict";n();G=require("redux-persist"),va=[G.FLUSH,G.REHYDRATE,G.PAUSE,G.PERSIST,G.PURGE,G.REGISTER],Ia=va});var Jo={};pe(Jo,{default:()=>Xo});function Xo(e){return(0,Zo.persistStore)(e)}var Zo,Qo=x(()=>{"use strict";n();Zo=require("redux-persist")});var Ec={};pe(Ec,{useLedgerLogin:()=>kc});module.exports=_e(Ec);n();var je=require("react"),Nt=require("@multiversx/sdk-hw-provider");qt();n();n();n();var Ns=require("@multiversx/sdk-extension-provider"),Ps=require("@multiversx/sdk-hw-provider"),Ds=require("@multiversx/sdk-opera-provider"),Cs=require("@multiversx/sdk-wallet-connect-provider/out/walletConnectProvider"),Rs=require("@multiversx/sdk-wallet-connect-provider/out/walletConnectV2Provider"),Ms=require("@multiversx/sdk-web-wallet-provider");D();F();var Un=e=>v(void 0,null,function*(){if(!e.isInitialized())throw new Error("Unable to get version. Provider not initialized");let t=e.hwApp,{contractData:r,version:o}=yield t.getAppConfiguration();return{version:o,dataEnabled:r===Fn}}),re=e=>`Unable to perform ${e}, Provider not initialized`,Jt=class{init(){return Promise.resolve(!1)}login(t){throw new Error(re(`login with options: ${t}`))}logout(t){throw new Error(re(`logout with options: ${t}`))}getAddress(){throw new Error(re("getAddress"))}isInitialized(){return!1}isConnected(){return Promise.resolve(!1)}sendTransaction(t,r){throw new Error(re(`sendTransaction with transactions: ${t} options: ${r}`))}signTransaction(t,r){throw new Error(re(`signTransaction with transactions: ${t} options: ${r}`))}signTransactions(t,r){throw new Error(re(`signTransactions with transactions: ${t} options: ${r}`))}signMessage(t,r){throw new Error(re(`signTransactions with ${t} and options ${r}`))}sendCustomMessage({method:t,params:r}){throw new Error(re(`sendCustomMessage with method: ${t} params: ${r}`))}sendCustomRequest(t){throw new Error(re(`sendSessionEvent with options: ${t}`))}ping(){return Promise.resolve(!1)}},$n=new Jt;var _s=$n;function Qt(e){_s=e}V();n();var ii=require("react"),Ee=require("react-redux");n();var Lr=require("@reduxjs/toolkit"),ni=require("react-redux/lib/utils/Subscription");H();n();var Co=w(require("lodash.throttle"));D();n();var Do=w(require("lodash.isequal")),Tt=require("reselect");$();var T=(0,Tt.createSelectorCreator)(Tt.defaultMemoize,Do.default),$e=(e,t)=>e!=""&&Boolean(t);H();ur();be();Ie();var ua=[tt],yt=!1,da=(0,Co.default)(()=>{Fe(Oe())},5e3),Ro=e=>t=>r=>{var d;if(ua.includes(r.type))return t(r);let o=e.getState(),i=ge.local.getItem(ie.loginExpiresAt);if(!$e((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 Fe(Oe());let p=Date.now();return i-p<0&&!yt?setTimeout(()=>{yt=!0,e.dispatch(no())},1e3):(yt&&(yt=!1),da()),t(r)};n();n();function xt(){return typeof sessionStorage!="undefined"}var ei=xt()?(qo(),_e(Wo)).default:(jo(),_e(zo)).default,ti=xt()?(Yo(),_e(Ko)).default:[],ri=xt()?(Qo(),_e(Jo)).default:e=>e;ht();var L=(0,Lr.configureStore)({reducer:ei,middleware:e=>e({serializableCheck:{ignoredActions:[...ti,cr.type,ar.type],ignoredPaths:["payload.nonce","account.account.nonce","providers.accountProvider"]}}).concat(Ro)}),oi=(0,ni.createSubscription)(L),hd=ri(L),Sd=(0,Lr.configureStore)({reducer:ke});var ba={store:L,subscription:oi},Nr=(0,ii.createContext)(ba),Id=(0,Ee.createStoreHook)(Nr),St=(0,Ee.createDispatchHook)(Nr),W=(0,Ee.createSelectorHook)(Nr);n();n();H();var ne=e=>e.account,wt=T(ne,e=>e.address),Le=T(ne,wt,(e,t)=>t in e.accounts?e.accounts[t]:nt),ka=T(ne,Le,(e,t)=>{let i=e,{accounts:r}=i,o=Ye(i,["accounts"]);return A(h({},o),{account:t})}),Ld=T(Le,e=>e.balance),Ea=T(Le,e=>{var t;return((t=e==null?void 0:e.nonce)==null?void 0:t.valueOf())||0}),Nd=T(ne,e=>e.shard),si=T(ne,e=>e.ledgerAccount),Pd=T(ne,e=>e.walletConnectAccount),Dd=T(ne,e=>e.isAccountLoading),Cd=T(ne,e=>e.accountLoadingError),La=T(ne,e=>e.websocketEvent);n();var q=e=>e.loginInfo,Od=T(q,e=>e.loginMethod),At=T(q,wt,(e,t)=>$e(e.loginMethod,t)),Fd=T(q,e=>e.walletConnectLogin),Bd=T(q,e=>e.ledgerLogin),Na=T(q,e=>e.walletLogin),Ud=T(q,e=>e.isLoginSessionInvalid),ai=T(q,e=>e.tokenLogin),$d=T(q,e=>e.logoutRoute);n();var ci=e=>e.modals,Hd=T(ci,e=>e.txSubmittedModal),Wd=T(ci,e=>e.notificationModal);n();var fe=e=>e.networkConfig,Pa=T(fe,e=>e.chainID),jd=T(fe,e=>e.network.walletConnectBridgeAddress),Kd=T(fe,e=>e.network.walletConnectV2RelayAddress),Yd=T(fe,e=>e.network.walletConnectV2ProjectId),Zd=T(fe,e=>e.network.walletConnectV2Options),Xd=T(fe,e=>e.network.walletConnectDeepLink),Ne=T(fe,e=>e.network),Da=T(Ne,e=>e.apiAddress),li=T(Ne,e=>e.explorerAddress),Ca=T(Ne,e=>e.egldLabel);n();var Pr=e=>e.signedMessageInfo,em=T(Pr,e=>e.isSigning),tm=T(Pr,e=>e.errorMessage),rm=T(Pr,e=>{let t=Object.keys(e.signedSessions),r=t.length;return e.signedSessions[t[r-1]]});n();var Dr=e=>e.toasts,im=T(Dr,e=>e.customToasts),sm=T(Dr,e=>e.transactionToasts),am=T(Dr,e=>e.failTransactionToast);n();H();var pi={errorMessage:Ar,successMessage:vr,processingMessage:Ir},Ra=e=>e.transactionsInfo,um=T(Ra,(e,t)=>t,(e,t)=>t!=null&&(e==null?void 0:e[Number(t)])||pi);n();n();var B=require("@multiversx/sdk-core");D();n();function Cr(e){try{return s.Buffer.from(e,"base64").toString()===atob(e)}catch(t){return!1}}function Pe(e){return atob(e)}function Rr(e){var i,l,p;let{data:t}=e,r=Cr(t!=null?t:"")?B.TransactionPayload.fromEncoded(t):new B.TransactionPayload(t),o=new B.Transaction(h({value:e.value.valueOf(),data:r,nonce:e.nonce.valueOf(),receiver:new B.Address(e.receiver),sender:new B.Address(e.sender),gasLimit:(i=e.gasLimit.valueOf())!=null?i:Zt,gasPrice:(l=e.gasPrice.valueOf())!=null?l:Xt,chainID:e.chainID.valueOf(),version:new B.TransactionVersion((p=e.version)!=null?p:On)},e.options?{options:new B.TransactionOptions(e.options)}:{}));return o.applySignature({hex:()=>e.signature||""},new B.Address(e.sender)),o}n();kr();n();var _a=w(require("bignumber.js"));$();n();n();n();n();var Fa=require("@multiversx/sdk-core"),Ba=w(require("bignumber.js"));F();n();var Oa=require("@multiversx/sdk-core");n();n();n();var $a=require("@multiversx/sdk-core/out");n();D();n();var mi=require("@multiversx/sdk-core");$();n();n();n();n();F();n();n();n();n();n();n();n();var _r="blocks";n();n();n();n();_();n();n();_();n();n();n();var ja=w(require("bignumber.js"));D();n();var za=require("@multiversx/sdk-core"),Or=w(require("bignumber.js"));D();n();var Wa=w(require("bignumber.js"));n();Or.default.config({ROUNDING_MODE:Or.default.ROUND_FLOOR});n();n();n();D();n();n();n();n();D();n();D();n();var Ka=require("@multiversx/sdk-core");D();n();var Ge=require("@multiversx/sdk-core"),Za=require("@multiversx/sdk-network-providers");D();n();n();var Ya=w(require("bignumber.js"));D();n();D();n();n();n();n();n();D();n();_();var Ja=["reDelegateRewards","claimRewards","unBond"],Qa=["wrapEgld","unwrapEgld"],ec=["unStake"],tc=["unDelegate"];n();n();n();D();n();var oc=w(require("bignumber.js"));n();n();n();_();n();var ic=w(require("bignumber.js"));n();n();n();n();_();n();n();n();var ac=w(require("linkifyjs"));n();D();n();var cc=w(require("bignumber.js"));n();$();n();n();F();n();F();n();n();n();_();n();_();n();var lc=w(require("bignumber.js"));D();_();n();_();n();var xi=require("react");$();n();n();_();n();var pc=require("@multiversx/sdk-core/out"),uc=w(require("bignumber.js"));_();n();_();n();n();F();var $x=[{label:"Raw",value:"raw"},{label:"Text",value:"text"},{label:"Decimal",value:"decimal"},{label:"Smart",value:"smart"}];n();var hi=require("react");$();n();var mc=require("react");_();var jx=["create","localMint","ESDTLocalMint","addQuantity","burn","localBurn","ESDTLocalBurn","wipe","writeLog","signalError"];var kt=e=>e.transactions,He=T(kt,e=>e.signedTransactions),Dh=T(kt,e=>e.signTransactionsError),Ch=T(kt,e=>e.signTransactionsCancelMessage),Et=e=>t=>Object.entries(t).reduce((r,[o,i])=>(e(i.status)&&(r[o]=i),r),{}),Rh=T(He,Et(ko)),Mh=T(He,Et(dt)),_h=T(He,Et(mt)),Oh=T(He,Et(Eo)),Fh=T(kt,e=>{var t;return(e==null?void 0:e.transactionsToSign)==null?null:A(h({},e.transactionsToSign),{transactions:((t=e==null?void 0:e.transactionsToSign)==null?void 0:t.transactions.map(r=>Rr(r)))||[]})}),Bh=T(He,(e,t)=>t,(e,t)=>t!=null?(e==null?void 0:e[t])||{}:{});H();F();yr();n();n();n();F();n();n();n();n();var gc=w(require("axios"));n();n();n();H();n();n();n();H();n();var Ai=require("@multiversx/sdk-core");n();V();$();n();n();tr();n();n();var Tc=w(require("platform"));n();function Br(){return At(L.getState())}n();V();$();it();be();Ie();n();n();n();n();n();n();it();n();n();n();n();be();n();n();n();H();n();n();var yc=w(require("axios"));n();var Te=require("react"),xc=10,vi=()=>{let[e,t]=(0,Te.useState)(""),[r,o]=(0,Te.useState)(!1),[i,l]=(0,Te.useState)(0),[p,m]=(0,Te.useState)([]),[d,g]=(0,Te.useState)(null),[y,f]=(0,Te.useState)(!1);return{accounts:p,setAccounts:m,isLoading:r,setIsLoading:o,setShowAddressList:f,showAddressList:y,startIndex:i,selectedAddress:d,onGoToPrevPage:()=>{g(null),l(k=>k===0?0:k-1)},onGoToNextPage:()=>{g(null),l(k=>k+1)},onSelectAddress:k=>{g(k)},error:e,setError:t,defaultAddressesPerPage:xc}};n();var Ri=require("react"),Lt=require("@multiversx/sdk-core");n();n();n();var Ur=()=>W(Le);n();n();n();n();n();var We=w(require("react"));var V0=(0,We.createContext)({}),G0=L.getState();n();var bi=w(require("react"));n();var $r=w(require("react")),hc=w(require("axios"));n();n();n();H();n();n();n();var Sc=e=>e.replace(/\+/g,"-").replace(/\//g,"_").replace(/=/g,""),De=e=>Sc(s.Buffer.from(e,"utf8").toString("base64"));n();var ki=w(require("axios"));var wc=5e4,Vr=null,Ce={current:null},Gr=!1;function Ei(e){return v(this,null,function*(){if(e==null)throw new Error("missing api url");if(Vr!=null&&Date.now()<Vr&&Ce.current!=null)return Ce.current;{if(Gr)return yield vc();Gr=!0,Ce.current=null;let r=yield Ac(e);return Ce.current=r,Vr=Date.now()+wc,Gr=!1,r}})}function Ac(e){return v(this,null,function*(){let{data:t}=yield ki.default.get(`${e}/${_r}?size=1&fields=hash,timestamp`),[r]=t;return r})}function vc(){return v(this,null,function*(){return new Promise((e,t)=>{let r,o=setInterval(()=>{Ce.current!=null&&(e(Ce.current),clearInterval(o),clearTimeout(r))},50);r=setTimeout(()=>{clearInterval(o),t("could not generate new token")},5e3)})})}n();var Li,qe={hostname:typeof window!="undefined"?(Li=window==null?void 0:window.location)==null?void 0:Li.hostname:"",apiAddress:"https://api.multiversx.com",expirySeconds:60*60*24,tokenExpirationToastWarningSeconds:5*60},ze=e=>{var r,o,i,l;return e===!0?qe:{hostname:(r=e==null?void 0:e.hostname)!=null?r:qe.hostname,expirySeconds:(o=e==null?void 0:e.expirySeconds)!=null?o:qe.expirySeconds,apiAddress:(i=e==null?void 0:e.apiAddress)!=null?i:qe.apiAddress,tokenExpirationToastWarningSeconds:(l=e==null?void 0:e.tokenExpirationToastWarningSeconds)!=null?l:qe.tokenExpirationToastWarningSeconds}};n();n();n();function Ic(e){return Object.prototype.toString.call(e)==="[object String]"}var Ni=e=>{if(!e||!Ic(e))return null;try{let[t,r,o]=e.split("."),i=Pe(t),l=Pe(r),[p,m,d,g]=l.split("."),y=JSON.parse(Pe(g)),f=Pe(p),b={ttl:Number(d),address:i,extraInfo:y,host:f,signature:o,blockHash:m,body:l};return g==="e30"&&delete b.extraInfo,b}catch(t){return null}};var Pi=({address:e,token:t,signature:r})=>{let o=De(e),i=De(t);return`${o}.${i}.${r}`};n();rt();var Di=e=>{let t=Ni(e);if(!t)return{isExpired:!1};let r=ve(),{ttl:o,extraInfo:i}=t,l=i.timestamp;if(!l)return{isExpired:!1};let p=l+o,m=r>p,d=p-r;return{isExpired:m,expiresAt:p,secondsUntilExpires:d}};var Ci=e=>{let{hostname:t,apiAddress:r,expirySeconds:o}=ze(e);return{getNativeAuthConfig:ze,initialize:(...p)=>v(void 0,[...p],function*(l={}){let{hash:m,timestamp:d}=yield Ei(r),g=De(JSON.stringify(h(h({},l),d?{timestamp:d}:{})));return`${De(t)}.${m}.${o}.${g}`}),getToken:Pi,getTokenExpiration:Di}};n();var bc=(e,t)=>{var r;return t?t===!0?e:(r=t.apiAddress)!=null?r:e:null},Mi=e=>{let t=W(Ne),r=W(ai),o=(0,Ri.useRef)(r==null?void 0:r.loginToken),i=bc(t.apiAddress,e),l=ze(h(h({},e===!0?{}:e),i?{apiAddress:i}:{})),p=Boolean(e),m=Ci(l),{address:d}=Ur(),g=St(),y=S=>{o.current=S,g(ot(h({loginToken:S},i?{nativeAuthConfig:l}:{})))},f=()=>v(void 0,null,function*(){try{return yield m.initialize()}catch(S){console.error("Unable to get block. Login failed.",S);return}}),b=({address:S,signature:k})=>{let z=o.current;if(!z)throw"Token not found. Call `setLoginToken` first.";if(!p){g(ot({loginToken:z,signature:k}));return}let ce=m.getToken({address:S,token:z,signature:k});g(ot(h({loginToken:z,signature:k,nativeAuthToken:ce},i?{nativeAuthConfig:l}:{})))};return{configuration:l,setLoginToken:y,getNativeAuthLoginToken:f,setTokenLoginInfo:b,refreshNativeAuthTokenLogin:k=>v(void 0,[k],function*({signMessageCallback:S}){let z=yield f();if(o.current=z,!z)return;let ce=new Lt.SignableMessage({address:new Lt.Address(d),message:s.Buffer.from(z)}),j=yield S(ce,{});b({address:d,signature:j.toJSON().signature})})}};var Re="Check if the MultiversX App is open on Ledger";function kc({callbackRoute:e,token:t,addressesPerPage:r,nativeAuth:o,onLoginRedirect:i}){let l=W(si),p=St(),m=Br(),d=o!=null,g=Mi(o),y=t,{accounts:f,setAccounts:b,isLoading:C,setIsLoading:S,setShowAddressList:k,showAddressList:z,startIndex:ce,selectedAddress:j,onGoToPrevPage:_i,onGoToNextPage:Oi,onSelectAddress:Fi,error:Hr,setError:le,defaultAddressesPerPage:Bi}=vi(),Ui=r!=null?r:Bi,Pt=new Nt.HWProvider,[Wr,$i]=(0,je.useState)(""),[qr,Vi]=(0,je.useState)(!1);function zr({provider:I,address:E,index:N,signature:Ct}){Qt(I),p(ro({index:N,loginType:"ledger"})),Ct&&g.setTokenLoginInfo({signature:Ct,address:E}),p(oe({address:E,loginMethod:"ledger"})),fr({callbackRoute:e,onLoginRedirect:i,options:{address:E,signature:Ct}})}let jr=(I,E="")=>{let{errorMessage:N}=Be(I);N&&le(`${N}.${E}`),S(!1),console.warn(I),p(lr(null))};function Gi(I){return v(this,null,function*(){if(j==null)return!1;let{index:E}=j;if(d&&!y&&(y=yield g.getNativeAuthLoginToken(),!y)){console.warn("Fetching block failed. Login cancelled.");return}if(y){g.setLoginToken(y);try{let N=yield I.tokenLogin({token:s.Buffer.from(`${y}{}`),addressIndex:E});zr({address:N.address,provider:I,index:E,signature:N.signature.hex()})}catch(N){jr(N,". Update MultiversX App to continue.")}}else try{let N=yield I.login({addressIndex:E});zr({address:N,provider:I,index:E})}catch(N){return jr(N),!1}return!0})}function Hi(){return v(this,null,function*(){try{if(S(!0),j==null)return!1;p(l?Xn(j):lr(A(h({},j),{version:Wr,hasContractDataEnabled:qr})));let I=new Nt.HWProvider;if(!(yield I.init()))return le(Re),console.warn(Re),!1;S(!1),yield Gi(I)}catch(I){let{errorMessage:E}=Be(I);E&&le(E),console.warn(Re,I)}finally{S(!1)}return k(!1),!0})}function Kr(){return v(this,null,function*(){try{if(S(!0),!(yield Pt.init())){le(Re),console.warn(Re),S(!1);return}let E=yield Pt.getAccounts(ce,Ui),N=yield Un(Pt);$i(N.version),Vi(N.dataEnabled),b(E),S(!1)}catch(I){let{errorMessage:E,defaultErrorMessage:N}=Be(I);le(E!=null?E:N),console.error("error",I),S(!1)}})}function Wi(){return v(this,null,function*(){if(m)throw new Error(wn);le("");try{if(S(!0),l!=null){let I=new Nt.HWProvider;if(!(yield I.init())||!j){console.warn(Re);return}let N=yield I.login({addressIndex:j.index.valueOf()});if(Qt(I),!N){S(!1),console.warn("Login cancelled.");return}p(oe({address:N,loginMethod:"ledger"})),fr({callbackRoute:e,onLoginRedirect:i})}else(f==null?void 0:f.length)>0||(yield Kr()),k(!0)}catch(I){console.error("error ",I);let{defaultErrorMessage:E}=Be();le(E)}finally{S(!1)}})}(0,je.useEffect)(()=>{Kr()},[ce]);let Dt=Boolean(Hr);return[Wi,{loginFailed:Dt,isLoggedIn:m&&!Dt,error:Hr,isLoading:C&&!Dt},{accounts:f,showAddressList:z,startIndex:ce,selectedAddress:j,version:Wr,contractDataEnabled:qr,onGoToPrevPage:_i,onGoToNextPage:Oi,onSelectAddress:Fi,onConfirmSelectedAddress:Hi}]}0&&(module.exports={useLedgerLogin});
1
+ "use strict";var qi=Object.create;var Me=Object.defineProperty,zi=Object.defineProperties,ji=Object.getOwnPropertyDescriptor,Ki=Object.getOwnPropertyDescriptors,Yi=Object.getOwnPropertyNames,Ke=Object.getOwnPropertySymbols,Zi=Object.getPrototypeOf,Rt=Object.prototype.hasOwnProperty,Zr=Object.prototype.propertyIsEnumerable;var Yr=(e,t,r)=>t in e?Me(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,h=(e,t)=>{for(var r in t||(t={}))Rt.call(t,r)&&Yr(e,r,t[r]);if(Ke)for(var r of Ke(t))Zr.call(t,r)&&Yr(e,r,t[r]);return e},A=(e,t)=>zi(e,Ki(t));var Ye=(e,t)=>{var r={};for(var o in e)Rt.call(e,o)&&t.indexOf(o)<0&&(r[o]=e[o]);if(e!=null&&Ke)for(var o of Ke(e))t.indexOf(o)<0&&Zr.call(e,o)&&(r[o]=e[o]);return r};var x=(e,t)=>()=>(e&&(t=e(e=0)),t);var Ze=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),pe=(e,t)=>{for(var r in t)Me(e,r,{get:t[r],enumerable:!0})},Xr=(e,t,r,o)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of Yi(t))!Rt.call(e,i)&&i!==r&&Me(e,i,{get:()=>t[i],enumerable:!(o=ji(t,i))||o.enumerable});return e};var w=(e,t,r)=>(r=e!=null?qi(Zi(e)):{},Xr(t||!e||!e.__esModule?Me(r,"default",{value:e,enumerable:!0}):r,e)),_e=e=>Xr(Me({},"__esModule",{value:!0}),e);var v=(e,t,r)=>new Promise((o,i)=>{var l=d=>{try{m(r.next(d))}catch(g){i(g)}},p=d=>{try{m(r.throw(d))}catch(g){i(g)}},m=d=>d.done?o(d.value):Promise.resolve(d.value).then(l,p);m((r=r.apply(e,t)).next())});var en=Ze(Xe=>{"use strict";n();Xe.byteLength=Ji;Xe.toByteArray=es;Xe.fromByteArray=ns;var K=[],U=[],Xi=typeof Uint8Array!="undefined"?Uint8Array:Array,Mt="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(ue=0,Jr=Mt.length;ue<Jr;++ue)K[ue]=Mt[ue],U[Mt.charCodeAt(ue)]=ue;var ue,Jr;U["-".charCodeAt(0)]=62;U["_".charCodeAt(0)]=63;function Qr(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 Ji(e){var t=Qr(e),r=t[0],o=t[1];return(r+o)*3/4-o}function Qi(e,t,r){return(t+r)*3/4-r}function es(e){var t,r=Qr(e),o=r[0],i=r[1],l=new Xi(Qi(e,o,i)),p=0,m=i>0?o-4:o,d;for(d=0;d<m;d+=4)t=U[e.charCodeAt(d)]<<18|U[e.charCodeAt(d+1)]<<12|U[e.charCodeAt(d+2)]<<6|U[e.charCodeAt(d+3)],l[p++]=t>>16&255,l[p++]=t>>8&255,l[p++]=t&255;return i===2&&(t=U[e.charCodeAt(d)]<<2|U[e.charCodeAt(d+1)]>>4,l[p++]=t&255),i===1&&(t=U[e.charCodeAt(d)]<<10|U[e.charCodeAt(d+1)]<<4|U[e.charCodeAt(d+2)]>>2,l[p++]=t>>8&255,l[p++]=t&255),l}function ts(e){return K[e>>18&63]+K[e>>12&63]+K[e>>6&63]+K[e&63]}function rs(e,t,r){for(var o,i=[],l=t;l<r;l+=3)o=(e[l]<<16&16711680)+(e[l+1]<<8&65280)+(e[l+2]&255),i.push(ts(o));return i.join("")}function ns(e){for(var t,r=e.length,o=r%3,i=[],l=16383,p=0,m=r-o;p<m;p+=l)i.push(rs(e,p,p+l>m?m:p+l));return o===1?(t=e[r-1],i.push(K[t>>2]+K[t<<4&63]+"==")):o===2&&(t=(e[r-2]<<8)+e[r-1],i.push(K[t>>10]+K[t>>4&63]+K[t<<2&63]+"=")),i.join("")}});var tn=Ze(_t=>{n();_t.read=function(e,t,r,o,i){var l,p,m=i*8-o-1,d=(1<<m)-1,g=d>>1,y=-7,f=r?i-1:0,b=r?-1:1,C=e[t+f];for(f+=b,l=C&(1<<-y)-1,C>>=-y,y+=m;y>0;l=l*256+e[t+f],f+=b,y-=8);for(p=l&(1<<-y)-1,l>>=-y,y+=o;y>0;p=p*256+e[t+f],f+=b,y-=8);if(l===0)l=1-g;else{if(l===d)return p?NaN:(C?-1:1)*(1/0);p=p+Math.pow(2,o),l=l-g}return(C?-1:1)*p*Math.pow(2,l-o)};_t.write=function(e,t,r,o,i,l){var p,m,d,g=l*8-i-1,y=(1<<g)-1,f=y>>1,b=i===23?Math.pow(2,-24)-Math.pow(2,-77):0,C=o?0:l-1,S=o?1:-1,k=t<0||t===0&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(m=isNaN(t)?1:0,p=y):(p=Math.floor(Math.log(t)/Math.LN2),t*(d=Math.pow(2,-p))<1&&(p--,d*=2),p+f>=1?t+=b/d:t+=b*Math.pow(2,1-f),t*d>=2&&(p++,d/=2),p+f>=y?(m=0,p=y):p+f>=1?(m=(t*d-1)*Math.pow(2,i),p=p+f):(m=t*Math.pow(2,f-1)*Math.pow(2,i),p=0));i>=8;e[r+C]=m&255,C+=S,m/=256,i-=8);for(p=p<<i|m,g+=i;g>0;e[r+C]=p&255,C+=S,p/=256,g-=8);e[r+C-S]|=k*128}});var fn=Ze(xe=>{"use strict";n();var Ot=en(),ye=tn(),rn=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;xe.Buffer=u;xe.SlowBuffer=ls;xe.INSPECT_MAX_BYTES=50;var Je=2147483647;xe.kMaxLength=Je;u.TYPED_ARRAY_SUPPORT=os();!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 os(){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 Q(e){if(e>Je)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 $t(e)}return sn(e,t,r)}u.poolSize=8192;function sn(e,t,r){if(typeof e=="string")return ss(e,t);if(ArrayBuffer.isView(e))return as(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(Y(e,ArrayBuffer)||e&&Y(e.buffer,ArrayBuffer)||typeof SharedArrayBuffer!="undefined"&&(Y(e,SharedArrayBuffer)||e&&Y(e.buffer,SharedArrayBuffer)))return Bt(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=cs(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 sn(e,t,r)};Object.setPrototypeOf(u.prototype,Uint8Array.prototype);Object.setPrototypeOf(u,Uint8Array);function an(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 is(e,t,r){return an(e),e<=0?Q(e):t!==void 0?typeof r=="string"?Q(e).fill(t,r):Q(e).fill(t):Q(e)}u.alloc=function(e,t,r){return is(e,t,r)};function $t(e){return an(e),Q(e<0?0:Vt(e)|0)}u.allocUnsafe=function(e){return $t(e)};u.allocUnsafeSlow=function(e){return $t(e)};function ss(e,t){if((typeof t!="string"||t==="")&&(t="utf8"),!u.isEncoding(t))throw new TypeError("Unknown encoding: "+t);var r=cn(e,t)|0,o=Q(r),i=o.write(e,t);return i!==r&&(o=o.slice(0,i)),o}function Ft(e){for(var t=e.length<0?0:Vt(e.length)|0,r=Q(t),o=0;o<t;o+=1)r[o]=e[o]&255;return r}function as(e){if(Y(e,Uint8Array)){var t=new Uint8Array(e);return Bt(t.buffer,t.byteOffset,t.byteLength)}return Ft(e)}function Bt(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 cs(e){if(u.isBuffer(e)){var t=Vt(e.length)|0,r=Q(t);return r.length===0||e.copy(r,0,0,t),r}if(e.length!==void 0)return typeof e.length!="number"||Gt(e.length)?Q(0):Ft(e);if(e.type==="Buffer"&&Array.isArray(e.data))return Ft(e.data)}function Vt(e){if(e>=Je)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+Je.toString(16)+" bytes");return e|0}function ls(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(Y(t,Uint8Array)&&(t=u.from(t,t.offset,t.byteLength)),Y(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,l=0,p=Math.min(o,i);l<p;++l)if(t[l]!==r[l]){o=t[l],i=r[l];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),l=0;for(o=0;o<t.length;++o){var p=t[o];if(Y(p,Uint8Array))l+p.length>i.length?u.from(p).copy(i,l):Uint8Array.prototype.set.call(i,p,l);else if(u.isBuffer(p))p.copy(i,l);else throw new TypeError('"list" argument must be an Array of Buffers');l+=p.length}return i};function cn(e,t){if(u.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||Y(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 Ut(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return r*2;case"hex":return r>>>1;case"base64":return gn(e).length;default:if(i)return o?-1:Ut(e).length;t=(""+t).toLowerCase(),i=!0}}u.byteLength=cn;function ps(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 Ss(this,t,r);case"utf8":case"utf-8":return pn(this,t,r);case"ascii":return xs(this,t,r);case"latin1":case"binary":return hs(this,t,r);case"base64":return Ts(this,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return ws(this,t,r);default:if(o)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),o=!0}}u.prototype._isBuffer=!0;function de(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)de(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)de(this,r,r+3),de(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)de(this,r,r+7),de(this,r+1,r+6),de(this,r+2,r+5),de(this,r+3,r+4);return this};u.prototype.toString=function(){var t=this.length;return t===0?"":arguments.length===0?pn(this,0,t):ps.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=xe.INSPECT_MAX_BYTES;return t=this.toString("hex",0,r).replace(/(.{2})/g,"$1 ").trim(),this.length>r&&(t+=" ... "),"<Buffer "+t+">"};rn&&(u.prototype[rn]=u.prototype.inspect);u.prototype.compare=function(t,r,o,i,l){if(Y(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),l===void 0&&(l=this.length),r<0||o>t.length||i<0||l>this.length)throw new RangeError("out of range index");if(i>=l&&r>=o)return 0;if(i>=l)return-1;if(r>=o)return 1;if(r>>>=0,o>>>=0,i>>>=0,l>>>=0,this===t)return 0;for(var p=l-i,m=o-r,d=Math.min(p,m),g=this.slice(i,l),y=t.slice(r,o),f=0;f<d;++f)if(g[f]!==y[f]){p=g[f],m=y[f];break}return p<m?-1:m<p?1:0};function ln(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,Gt(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:nn(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):nn(e,[t],r,o,i);throw new TypeError("val must be string, number or Buffer")}function nn(e,t,r,o,i){var l=1,p=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;l=2,p/=2,m/=2,r/=2}function d(C,S){return l===1?C[S]:C.readUInt16BE(S*l)}var g;if(i){var y=-1;for(g=r;g<p;g++)if(d(e,g)===d(t,y===-1?0:g-y)){if(y===-1&&(y=g),g-y+1===m)return y*l}else y!==-1&&(g-=g-y),y=-1}else for(r+m>p&&(r=p-m),g=r;g>=0;g--){for(var f=!0,b=0;b<m;b++)if(d(e,g+b)!==d(t,b)){f=!1;break}if(f)return g}return-1}u.prototype.includes=function(t,r,o){return this.indexOf(t,r,o)!==-1};u.prototype.indexOf=function(t,r,o){return ln(this,t,r,o,!0)};u.prototype.lastIndexOf=function(t,r,o){return ln(this,t,r,o,!1)};function us(e,t,r,o){r=Number(r)||0;var i=e.length-r;o?(o=Number(o),o>i&&(o=i)):o=i;var l=t.length;o>l/2&&(o=l/2);for(var p=0;p<o;++p){var m=parseInt(t.substr(p*2,2),16);if(Gt(m))return p;e[r+p]=m}return p}function ds(e,t,r,o){return Qe(Ut(t,e.length-r),e,r,o)}function ms(e,t,r,o){return Qe(Is(t),e,r,o)}function gs(e,t,r,o){return Qe(gn(t),e,r,o)}function fs(e,t,r,o){return Qe(bs(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 l=this.length-r;if((o===void 0||o>l)&&(o=l),t.length>0&&(o<0||r<0)||r>this.length)throw new RangeError("Attempt to write outside buffer bounds");i||(i="utf8");for(var p=!1;;)switch(i){case"hex":return us(this,t,r,o);case"utf8":case"utf-8":return ds(this,t,r,o);case"ascii":case"latin1":case"binary":return ms(this,t,r,o);case"base64":return gs(this,t,r,o);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return fs(this,t,r,o);default:if(p)throw new TypeError("Unknown encoding: "+i);i=(""+i).toLowerCase(),p=!0}};u.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function Ts(e,t,r){return t===0&&r===e.length?Ot.fromByteArray(e):Ot.fromByteArray(e.slice(t,r))}function pn(e,t,r){r=Math.min(e.length,r);for(var o=[],i=t;i<r;){var l=e[i],p=null,m=l>239?4:l>223?3:l>191?2:1;if(i+m<=r){var d,g,y,f;switch(m){case 1:l<128&&(p=l);break;case 2:d=e[i+1],(d&192)===128&&(f=(l&31)<<6|d&63,f>127&&(p=f));break;case 3:d=e[i+1],g=e[i+2],(d&192)===128&&(g&192)===128&&(f=(l&15)<<12|(d&63)<<6|g&63,f>2047&&(f<55296||f>57343)&&(p=f));break;case 4:d=e[i+1],g=e[i+2],y=e[i+3],(d&192)===128&&(g&192)===128&&(y&192)===128&&(f=(l&15)<<18|(d&63)<<12|(g&63)<<6|y&63,f>65535&&f<1114112&&(p=f))}}p===null?(p=65533,m=1):p>65535&&(p-=65536,o.push(p>>>10&1023|55296),p=56320|p&1023),o.push(p),i+=m}return ys(o)}var on=4096;function ys(e){var t=e.length;if(t<=on)return String.fromCharCode.apply(String,e);for(var r="",o=0;o<t;)r+=String.fromCharCode.apply(String,e.slice(o,o+=on));return r}function xs(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 hs(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 Ss(e,t,r){var o=e.length;(!t||t<0)&&(t=0),(!r||r<0||r>o)&&(r=o);for(var i="",l=t;l<r;++l)i+=ks[e[l]];return i}function ws(e,t,r){for(var o=e.slice(t,r),i="",l=0;l<o.length-1;l+=2)i+=String.fromCharCode(o[l]+o[l+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 R(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||R(t,r,this.length);for(var i=this[t],l=1,p=0;++p<r&&(l*=256);)i+=this[t+p]*l;return i};u.prototype.readUintBE=u.prototype.readUIntBE=function(t,r,o){t=t>>>0,r=r>>>0,o||R(t,r,this.length);for(var i=this[t+--r],l=1;r>0&&(l*=256);)i+=this[t+--r]*l;return i};u.prototype.readUint8=u.prototype.readUInt8=function(t,r){return t=t>>>0,r||R(t,1,this.length),this[t]};u.prototype.readUint16LE=u.prototype.readUInt16LE=function(t,r){return t=t>>>0,r||R(t,2,this.length),this[t]|this[t+1]<<8};u.prototype.readUint16BE=u.prototype.readUInt16BE=function(t,r){return t=t>>>0,r||R(t,2,this.length),this[t]<<8|this[t+1]};u.prototype.readUint32LE=u.prototype.readUInt32LE=function(t,r){return t=t>>>0,r||R(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||R(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||R(t,r,this.length);for(var i=this[t],l=1,p=0;++p<r&&(l*=256);)i+=this[t+p]*l;return l*=128,i>=l&&(i-=Math.pow(2,8*r)),i};u.prototype.readIntBE=function(t,r,o){t=t>>>0,r=r>>>0,o||R(t,r,this.length);for(var i=r,l=1,p=this[t+--i];i>0&&(l*=256);)p+=this[t+--i]*l;return l*=128,p>=l&&(p-=Math.pow(2,8*r)),p};u.prototype.readInt8=function(t,r){return t=t>>>0,r||R(t,1,this.length),this[t]&128?(255-this[t]+1)*-1:this[t]};u.prototype.readInt16LE=function(t,r){t=t>>>0,r||R(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||R(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||R(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||R(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||R(t,4,this.length),ye.read(this,t,!0,23,4)};u.prototype.readFloatBE=function(t,r){return t=t>>>0,r||R(t,4,this.length),ye.read(this,t,!1,23,4)};u.prototype.readDoubleLE=function(t,r){return t=t>>>0,r||R(t,8,this.length),ye.read(this,t,!0,52,8)};u.prototype.readDoubleBE=function(t,r){return t=t>>>0,r||R(t,8,this.length),ye.read(this,t,!1,52,8)};function O(e,t,r,o,i,l){if(!u.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>i||t<l)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 l=Math.pow(2,8*o)-1;O(this,t,r,o,l,0)}var p=1,m=0;for(this[r]=t&255;++m<o&&(p*=256);)this[r+m]=t/p&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 l=Math.pow(2,8*o)-1;O(this,t,r,o,l,0)}var p=o-1,m=1;for(this[r+p]=t&255;--p>=0&&(m*=256);)this[r+p]=t/m&255;return r+o};u.prototype.writeUint8=u.prototype.writeUInt8=function(t,r,o){return t=+t,r=r>>>0,o||O(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||O(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||O(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||O(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||O(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 l=Math.pow(2,8*o-1);O(this,t,r,o,l-1,-l)}var p=0,m=1,d=0;for(this[r]=t&255;++p<o&&(m*=256);)t<0&&d===0&&this[r+p-1]!==0&&(d=1),this[r+p]=(t/m>>0)-d&255;return r+o};u.prototype.writeIntBE=function(t,r,o,i){if(t=+t,r=r>>>0,!i){var l=Math.pow(2,8*o-1);O(this,t,r,o,l-1,-l)}var p=o-1,m=1,d=0;for(this[r+p]=t&255;--p>=0&&(m*=256);)t<0&&d===0&&this[r+p+1]!==0&&(d=1),this[r+p]=(t/m>>0)-d&255;return r+o};u.prototype.writeInt8=function(t,r,o){return t=+t,r=r>>>0,o||O(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||O(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||O(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||O(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||O(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 un(e,t,r,o,i,l){if(r+o>e.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function dn(e,t,r,o,i){return t=+t,r=r>>>0,i||un(e,t,r,4,34028234663852886e22,-34028234663852886e22),ye.write(e,t,r,o,23,4),r+4}u.prototype.writeFloatLE=function(t,r,o){return dn(this,t,r,!0,o)};u.prototype.writeFloatBE=function(t,r,o){return dn(this,t,r,!1,o)};function mn(e,t,r,o,i){return t=+t,r=r>>>0,i||un(e,t,r,8,17976931348623157e292,-17976931348623157e292),ye.write(e,t,r,o,52,8),r+8}u.prototype.writeDoubleLE=function(t,r,o){return mn(this,t,r,!0,o)};u.prototype.writeDoubleBE=function(t,r,o){return mn(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 l=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),l};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 l=t.charCodeAt(0);(i==="utf8"&&l<128||i==="latin1")&&(t=l)}}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 p;if(typeof t=="number")for(p=r;p<o;++p)this[p]=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(p=0;p<o-r;++p)this[p+r]=m[p%d]}return this};var As=/[^+/0-9A-Za-z-_]/g;function vs(e){if(e=e.split("=")[0],e=e.trim().replace(As,""),e.length<2)return"";for(;e.length%4!==0;)e=e+"=";return e}function Ut(e,t){t=t||1/0;for(var r,o=e.length,i=null,l=[],p=0;p<o;++p){if(r=e.charCodeAt(p),r>55295&&r<57344){if(!i){if(r>56319){(t-=3)>-1&&l.push(239,191,189);continue}else if(p+1===o){(t-=3)>-1&&l.push(239,191,189);continue}i=r;continue}if(r<56320){(t-=3)>-1&&l.push(239,191,189),i=r;continue}r=(i-55296<<10|r-56320)+65536}else i&&(t-=3)>-1&&l.push(239,191,189);if(i=null,r<128){if((t-=1)<0)break;l.push(r)}else if(r<2048){if((t-=2)<0)break;l.push(r>>6|192,r&63|128)}else if(r<65536){if((t-=3)<0)break;l.push(r>>12|224,r>>6&63|128,r&63|128)}else if(r<1114112){if((t-=4)<0)break;l.push(r>>18|240,r>>12&63|128,r>>6&63|128,r&63|128)}else throw new Error("Invalid code point")}return l}function Is(e){for(var t=[],r=0;r<e.length;++r)t.push(e.charCodeAt(r)&255);return t}function bs(e,t){for(var r,o,i,l=[],p=0;p<e.length&&!((t-=2)<0);++p)r=e.charCodeAt(p),o=r>>8,i=r%256,l.push(i),l.push(o);return l}function gn(e){return Ot.toByteArray(vs(e))}function Qe(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 Y(e,t){return e instanceof t||e!=null&&e.constructor!=null&&e.constructor.name!=null&&e.constructor.name===t.name}function Gt(e){return e!==e}var ks=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 Sn=Ze((Cc,hn)=>{n();var P=hn.exports={},Z,X;function Ht(){throw new Error("setTimeout has not been defined")}function Wt(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?Z=setTimeout:Z=Ht}catch(e){Z=Ht}try{typeof clearTimeout=="function"?X=clearTimeout:X=Wt}catch(e){X=Wt}})();function Tn(e){if(Z===setTimeout)return setTimeout(e,0);if((Z===Ht||!Z)&&setTimeout)return Z=setTimeout,setTimeout(e,0);try{return Z(e,0)}catch(t){try{return Z.call(null,e,0)}catch(r){return Z.call(this,e,0)}}}function Es(e){if(X===clearTimeout)return clearTimeout(e);if((X===Wt||!X)&&clearTimeout)return X=clearTimeout,clearTimeout(e);try{return X(e)}catch(t){try{return X.call(null,e)}catch(r){return X.call(this,e)}}}var ee=[],he=!1,me,et=-1;function Ls(){!he||!me||(he=!1,me.length?ee=me.concat(ee):et=-1,ee.length&&yn())}function yn(){if(!he){var e=Tn(Ls);he=!0;for(var t=ee.length;t;){for(me=ee,ee=[];++et<t;)me&&me[et].run();et=-1,t=ee.length}me=null,he=!1,Es(e)}}P.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];ee.push(new xn(e,t)),ee.length===1&&!he&&Tn(yn)};function xn(e,t){this.fun=e,this.array=t}xn.prototype.run=function(){this.fun.apply(null,this.array)};P.title="browser";P.browser=!0;P.env={};P.argv=[];P.version="";P.versions={};function te(){}P.on=te;P.addListener=te;P.once=te;P.off=te;P.removeListener=te;P.removeAllListeners=te;P.emit=te;P.prependListener=te;P.prependOnceListener=te;P.listeners=function(e){return[]};P.binding=function(e){throw new Error("process.binding is not supported")};P.cwd=function(){return"/"};P.chdir=function(e){throw new Error("process.chdir is not supported")};P.umask=function(){return 0}});var s,a,Rc,n=x(()=>{s=w(fn()),a=w(Sn()),Rc=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 wn,qt=x(()=>{"use strict";n();wn="Action not allowed. User is logged in. Call logout() first"});var An=x(()=>{"use strict";n()});var vn=x(()=>{"use strict";n()});var In=x(()=>{"use strict";n()});var F=x(()=>{"use strict";n()});var bn=x(()=>{"use strict";n()});var kn=x(()=>{"use strict";n()});var _=x(()=>{"use strict";n()});var En=x(()=>{"use strict";n()});var Ln=x(()=>{"use strict";n()});var $=x(()=>{"use strict";n();An();vn();In();F();bn();kn();_();En();Ln()});var zt,Nn,Jc,Pn,Qc,Dn,el,tl,rl,Cn=x(()=>{"use strict";n();$();zt={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:Jc}=zt["devnet"],{chainId:Pn,egldLabel:Qc}=zt["testnet"],{chainId:Dn,egldLabel:el}=zt["mainnet"],tl={["devnet"]:Nn,["testnet"]:Pn,["mainnet"]:Dn},rl={[Nn]:"devnet",[Pn]:"testnet",[Dn]:"mainnet"}});var jt,Kt=x(()=>{"use strict";n();jt={36864:{code:"codeSuccess",message:"Success"},27013:{code:"ERR_USER_DENIED",message:"Rejected by user"},27904:{code:"ERR_UNKNOWN_INSTRUCTION",message:"Unknown instruction"},28160:{code:"ERR_WRONG_CLA",message:"Wrong CLA"},28161:{code:"ERR_INVALID_ARGUMENTS",message:"Invalid arguments"},28162:{code:"ERR_INVALID_MESSAGE",message:"Invalid message"},28163:{code:"ERR_INVALID_P1",message:"Invalid P1"},28164:{code:"ERR_MESSAGE_TOO_LONG",message:"Message too long"},28165:{code:"ERR_RECEIVER_TOO_LONG",message:"Receiver too long"},28166:{code:"ERR_AMOUNT_TOO_LONG",message:"Amount too long"},28167:{code:"ERR_CONTRACT_DATA_DISABLED",message:"Contract data disabled in app options"},28168:{code:"ERR_MESSAGE_INCOMPLETE",message:"Message incomplete"},28176:{code:"ERR_SIGNATURE_FAILED",message:"Signature failed"},28169:{code:"ERR_WRONG_TX_VERSION",message:"Wrong TX version"},28170:{code:"ERR_NONCE_TOO_LONG",message:"Nonce too long"},28171:{code:"ERR_INVALID_AMOUNT",message:"Invalid amount"},28172:{code:"ERR_INVALID_FEE",message:"Invalid fee"},28173:{code:"ERR_PRETTY_FAILED",message:"Pretty failed"},28174:{code:"ERR_DATA_TOO_LONG",message:"Data too long"},28175:{code:"ERR_WRONG_TX_OPTIONS",message:"Invalid transaction options"},28177:{code:"ERR_SIGN_TX_DEPRECATED",message:"Regular transaction signing is deprecated in this version. Use hash signing."}}});var Rn=x(()=>{"use strict";n()});var Mn,Yt=x(()=>{"use strict";n();Mn="transaction-status-toast-id"});var J,_n=x(()=>{"use strict";n();J=require("@multiversx/sdk-web-wallet-provider")});var Zt,Xt,On,Fn,tt,Bn,Se,D=x(()=>{"use strict";n();qt();Cn();Kt();Rn();Yt();_n();Zt=5e4,Xt=1e9,On=1,Fn=1,tt="logout",Bn="login",Se="0"});var er,M,oe,V=x(()=>{"use strict";n();er=require("@reduxjs/toolkit");D();M=(0,er.createAction)(tt),oe=(0,er.createAction)(Bn,e=>({payload:e}))});var ve,rt=x(()=>{"use strict";n();ve=()=>Date.now()/1e3});var Vn=x(()=>{"use strict";n()});var Gn=x(()=>{"use strict";n()});var tr=x(()=>{"use strict";n();rt();Vn();Gn()});var nr={};pe(nr,{getItem:()=>Fs,localStorageKeys:()=>ie,removeItem:()=>Bs,setItem:()=>Os});var ie,rr,Os,Fs,Bs,Ie=x(()=>{"use strict";n();tr();ie={loginExpiresAt:"sdk-dapp-login-expires-at",logoutEvent:"sdk-dapp-logout-event"},rr=typeof localStorage!="undefined",Os=({key:e,data:t,expires:r})=>{!rr||localStorage.setItem(String(e),JSON.stringify({expires:r,data:t}))},Fs=e=>{if(!rr)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:ve()>=r.expires?(localStorage.removeItem(String(e)),null):r.data},Bs=e=>{!rr||localStorage.removeItem(String(e))}});var or={};pe(or,{clear:()=>zn,getItem:()=>Wn,removeItem:()=>qn,setItem:()=>Hn,storage:()=>Us});var Hn,Wn,qn,zn,Us,jn=x(()=>{"use strict";n();Hn=({key:e,data:t,expires:r})=>{sessionStorage.setItem(String(e),JSON.stringify({expires:r,data:t}))},Wn=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},qn=e=>sessionStorage.removeItem(String(e)),zn=()=>sessionStorage.clear(),Us={setItem:Hn,getItem:Wn,removeItem:qn,clear:zn}});var ge,be=x(()=>{"use strict";n();Ie();jn();ge={session:or,local:nr}});var sr,Kn,Yn,nt,ir,Zn,ar,Vl,cr,Gl,lr,Xn,Hl,Wl,ql,zl,Jn,pr=x(()=>{"use strict";n();sr=require("@multiversx/sdk-core"),Kn=require("@reduxjs/toolkit"),Yn=require("redux-persist");D();be();Ie();V();nt={balance:"...",address:"",nonce:0,txCount:0,scrCount:0,claimableRewards:Se},ir={address:"",websocketEvent:null,accounts:{"":nt},ledgerAccount:null,publicKey:"",walletConnectAccount:null,isAccountLoading:!0,accountLoadingError:null},Zn=(0,Kn.createSlice)({name:"accountInfoSlice",initialState:ir,reducers:{setAddress:(e,t)=>{let r=t.payload;e.address=r,e.publicKey=new sr.Address(r).hex()},setAccount:(e,t)=>{let r=e.address===t.payload.address;e.accounts={[e.address]:r?t.payload:nt},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(M,()=>(ge.local.removeItem(ie.loginExpiresAt),ir)),e.addCase(oe,(t,r)=>{let{address:o}=r.payload;t.address=o,t.publicKey=new sr.Address(o).hex()}),e.addCase(Yn.REHYDRATE,(t,r)=>{var g;if(!((g=r.payload)!=null&&g.account))return;let{account:o}=r.payload,{address:i,shard:l,accounts:p,publicKey:m}=o;t.address=i,t.shard=l;let d=p&&i in p;t.accounts=d?p:ir.accounts,t.publicKey=m})}}),{setAccount:ar,setAddress:Vl,setAccountNonce:cr,setAccountShard:Gl,setLedgerAccount:lr,updateLedgerAccount:Xn,setWalletConnectAccount:Hl,setIsAccountLoading:Wl,setAccountLoadingError:ql,setWebsocketEvent:zl}=Zn.actions,Jn=Zn.reducer});function Oe(){return new Date().setHours(new Date().getHours()+24)}function Fe(e){ge.local.setItem({key:ie.loginExpiresAt,data:e,expires:e})}var ur=x(()=>{"use strict";n();be();Ie()});var eo,Qn,to,rp,np,ro,ot,op,ip,no,sp,oo,dr=x(()=>{"use strict";n();eo=require("@reduxjs/toolkit");ur();F();V();Qn={loginMethod:"",walletConnectLogin:null,ledgerLogin:null,tokenLogin:null,walletLogin:null,extensionLogin:null,operaLogin:null,isLoginSessionInvalid:!1},to=(0,eo.createSlice)({name:"loginInfoSlice",initialState:Qn,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(M,()=>Qn),e.addCase(oe,(t,r)=>{t.loginMethod=r.payload.loginMethod,Fe(Oe())})}}),{setLoginMethod:rp,setWalletConnectLogin:np,setLedgerLogin:ro,setTokenLogin:ot,setTokenLoginSignature:op,setWalletLogin:ip,invalidateLoginSession:no,setLogoutRoute:sp}=to.actions,oo=to.reducer});var so,io,ao,pp,up,dp,mp,co,mr=x(()=>{"use strict";n();so=require("@reduxjs/toolkit");V();io={},ao=(0,so.createSlice)({name:"modalsSlice",initialState:io,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(M,()=>io)}}),{setTxSubmittedModal:pp,setNotificationModal:up,clearTxSubmittedModal:dp,clearNotificationModal:mp}=ao.actions,co=ao.reducer});var $s,gr,it=x(()=>{"use strict";n();$s=!1,gr=(e,t=0)=>{$s||setTimeout(()=>{window.location.href=e,window.location.assign(e)},t)}});function fr({callbackRoute:e,onLoginRedirect:t,options:r}){let o=Boolean(e),i=typeof t=="function",l=i?0:Vs;o&&e!=null&&setTimeout(()=>{if(i)return t(e,r);window.location.pathname.includes(e)||gr(e)},l)}var Vs,lo=x(()=>{"use strict";n();it();Vs=200});function Tr(e){return e[Math.floor(Math.random()*e.length)]}var po=x(()=>{"use strict";n()});function Be(e){let t=null;if((e==null?void 0:e.statusCode)in jt){let r=e==null?void 0:e.statusCode,{message:o}=jt[r];t=Ws.includes(r)?uo:o}return{errorMessage:t,defaultErrorMessage:uo}}var uo,Gs,Hs,Ws,mo=x(()=>{"use strict";n();Kt();uo="Check if the MultiversX app is open on Ledger",Gs=28161,Hs=28160,Ws=[Gs,Hs]});var yr=x(()=>{"use strict";n();lo();po();mo()});var go,fo,xr,qs,To,Ep,Lp,yo,hr=x(()=>{"use strict";n();go=require("@reduxjs/toolkit"),fo=w(require("lodash.omit"));yr();xr={id:"not-configured",chainId:"",name:"NOT CONFIGURED",egldLabel:"",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"",walletConnectBridgeAddress:"",walletConnectV2RelayAddress:"",walletConnectV2ProjectId:"",walletConnectV2Options:{},walletAddress:"",apiAddress:"",explorerAddress:"",apiTimeout:"4000"},qs={network:xr,chainID:"-1"},To=(0,go.createSlice)({name:"appConfig",initialState:qs,reducers:{initializeNetworkConfig:(e,t)=>{let r=Tr(t.payload.walletConnectBridgeAddresses),o=Tr(t.payload.walletConnectV2RelayAddresses),i=(0,fo.default)(t.payload,"walletConnectBridgeAddresses","walletConnectV2RelayAddresses");e.network=A(h(h({},e.network),i),{walletConnectBridgeAddress:r,walletConnectV2RelayAddress:o})},setChainID:(e,t)=>{e.chainID=t.payload}}}),{initializeNetworkConfig:Ep,setChainID:Lp}=To.actions,yo=To.reducer});var xo,Sr,ho,Mp,_p,Op,st,at=x(()=>{"use strict";n();xo=require("@reduxjs/toolkit");$();V();Sr={isSigning:!1,signedSessions:{}},ho=(0,xo.createSlice)({name:"signedMessageInfoSliceState",initialState:Sr,reducers:{setSignSession:(e,t)=>{let{sessionId:r,signedSession:o,errorMessage:i}=t.payload;return A(h({},e),{errorMessage:i!=null?i:e.errorMessage,isSigning:o.status==="pending",signedSessions:A(h({},e.signedSessions),{[r]:o})})},setSignSessionState:(e,t)=>h(h({},e),t.payload),clearSignedMessageInfo:()=>Sr},extraReducers:e=>{e.addCase(M,()=>Sr)}}),{setSignSession:Mp,clearSignedMessageInfo:_p,setSignSessionState:Op}=ho.actions,st=ho.reducer});var wo,Ao,So,vo,zs,js,Wp,qp,zp,jp,ct,lt=x(()=>{"use strict";n();wo=require("@reduxjs/toolkit"),Ao=require("redux-persist");Yt();$();rt();V();So={customToasts:[],transactionToasts:[],failTransactionToast:null},vo=(0,wo.createSlice)({name:"toastsSlice",initialState:So,reducers:{addCustomToast:(e,t)=>{e.customToasts.push(A(h({},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:ve(),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=A(h({},t.payload),{toastId:Mn})},removeFailTransactionToast:e=>{e.failTransactionToast=null}},extraReducers:e=>{e.addCase(M,()=>So),e.addCase(Ao.REHYDRATE,(t,r)=>{var i,l;let o=(l=(i=r.customToasts)==null?void 0:i.filter(p=>!("component"in p)))!=null?l:[];t.customToasts=o})}}),{addCustomToast:zs,removeCustomToast:js,addTransactionToast:Wp,removeTransactionToast:qp,addFailTransactionToast:zp,removeFailTransactionToast:jp}=vo.actions,ct=vo.reducer});var Io,Ar,vr,Ir,Ks,wr,bo,Xp,Jp,Qp,pt,ut=x(()=>{"use strict";n();Io=require("@reduxjs/toolkit");V();Ar="Transaction failed",vr="Transaction successful",Ir="Processing transaction",Ks="Transaction submitted",wr={},bo=(0,Io.createSlice)({name:"transactionsInfo",initialState:wr,reducers:{setTransactionsDisplayInfo(e,t){let{sessionId:r,transactionsDisplayInfo:o}=t.payload;r!=null&&(e[r]={errorMessage:(o==null?void 0:o.errorMessage)||Ar,successMessage:(o==null?void 0:o.successMessage)||vr,processingMessage:(o==null?void 0:o.processingMessage)||Ir,submittedMessage:(o==null?void 0:o.submittedMessage)||Ks,transactionDuration:o==null?void 0:o.transactionDuration})},clearTransactionsInfoForSessionId(e,t){t.payload!=null&&delete e[t.payload]},clearTransactionsInfo:()=>wr},extraReducers:e=>{e.addCase(M,()=>wr)}}),{clearTransactionsInfo:Xp,setTransactionsDisplayInfo:Jp,clearTransactionsInfoForSessionId:Qp}=bo.actions,pt=bo.reducer});function ko(e){return e!=null&&(na(e)||aa(e))}function dt(e){return e!=null&&(oa(e)||ca(e))}function mt(e){return e!=null&&(ia(e)||la(e))}function Eo(e){return e!=null&&sa(e)}function na(e){return e!=null&&Zs.includes(e)}function oa(e){return e!=null&&Xs.includes(e)}function ia(e){return e!=null&&Js.includes(e)}function sa(e){return e!=null&&Qs.includes(e)}function aa(e){return e!=null&&ea.includes(e)}function ca(e){return e!=null&&ta.includes(e)}function la(e){return e!=null&&ra.includes(e)}var Zs,Xs,Js,Qs,ea,ta,ra,kr=x(()=>{"use strict";n();F();Zs=["sent"],Xs=["success"],Js=["fail","cancelled","timedOut"],Qs=["timedOut"],ea=["pending"],ta=["success"],ra=["fail","invalid"]});var Lo,No,Ue,pa,Po,cu,lu,pu,uu,du,mu,gu,fu,Tu,yu,gt,ft=x(()=>{"use strict";n();Lo=require("@reduxjs/toolkit"),No=require("redux-persist");F();kr();V();Ue={signedTransactions:{},transactionsToSign:null,signTransactionsError:null,signTransactionsCancelMessage:null,customTransactionInformationForSessionId:{}},pa={signWithoutSending:!1,sessionInformation:null,redirectAfterSign:!1},Po=(0,Lo.createSlice)({name:"transactionsSlice",initialState:Ue,reducers:{moveTransactionsToSignedState:(e,t)=>{var d,g;let{sessionId:r,transactions:o,errorMessage:i,status:l,redirectRoute:p}=t.payload,m=((d=e.customTransactionInformationForSessionId)==null?void 0:d[r])||pa;e.signedTransactions[r]={transactions:o,status:l,errorMessage:i,redirectRoute:p,customTransactionInformation:m},((g=e==null?void 0:e.transactionsToSign)==null?void 0:g.sessionId)===r&&(e.transactionsToSign=Ue.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=h(h({},e.signedTransactions),t.payload)},updateSignedTransactions:(e,t)=>{let{sessionId:r,status:o,errorMessage:i,transactions:l}=t.payload;e.signedTransactions[r]!=null&&(e.signedTransactions[r].status=o,i!=null&&(e.signedTransactions[r].errorMessage=i),l!=null&&(e.signedTransactions[r].transactions=l))},updateSignedTransactionStatus:(e,t)=>{var m,d,g,y,f,b;let{sessionId:r,status:o,errorMessage:i,transactionHash:l}=t.payload,p=(d=(m=e.signedTransactions)==null?void 0:m[r])==null?void 0:d.transactions;if(p!=null){e.signedTransactions[r].transactions=p.map(k=>k.hash===l?A(h({},k),{status:o,errorMessage:i}):k);let C=(y=(g=e.signedTransactions[r])==null?void 0:g.transactions)==null?void 0:y.every(k=>dt(k.status)),S=(b=(f=e.signedTransactions[r])==null?void 0:f.transactions)==null?void 0:b.every(k=>mt(k.status));C&&(e.signedTransactions[r].status="success"),S&&(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=Ue.transactionsToSign,e.signTransactionsError=null},clearAllSignedTransactions:e=>{e.signedTransactions=Ue.signedTransactions},setSignTransactionsError:(e,t)=>{e.signTransactionsError=t.payload},setSignTransactionsCancelMessage:(e,t)=>{e.signTransactionsCancelMessage=t.payload}},extraReducers:e=>{e.addCase(M,()=>Ue),e.addCase(No.REHYDRATE,(t,r)=>{var p;if(t.signTransactionsCancelMessage=null,!((p=r.payload)!=null&&p.transactions))return;let{signedTransactions:o,customTransactionInformationForSessionId:i}=r.payload.transactions,l=Object.entries(o).reduce((m,[d,g])=>{let y=new Date(d),f=new Date;return f.setHours(f.getHours()+5),f-y>0||(m[d]=g),m},{});i!=null&&(t.customTransactionInformationForSessionId=i),o!=null&&(t.signedTransactions=l)})}}),{updateSignedTransactionStatus:cu,updateSignedTransactions:lu,setTransactionsToSign:pu,clearAllTransactionsToSign:uu,clearAllSignedTransactions:du,clearSignedTransaction:mu,clearTransactionToSign:gu,setSignTransactionsError:fu,setSignTransactionsCancelMessage:Tu,moveTransactionsToSignedState:yu}=Po.actions,gt=Po.reducer});var H=x(()=>{"use strict";n();pr();dr();mr();hr();at();lt();ut();ft()});var Er=x(()=>{"use strict";n()});var _o,Mo,Oo,Vu,Gu,Hu,Wu,qu,zu,Fo,Bo=x(()=>{"use strict";n();_o=require("@reduxjs/toolkit");V();Mo={visible:!1,modal:{showHeader:!0,showFooter:!1,headerText:"",footerText:""}},Oo=(0,_o.createSlice)({name:"dappModalsSlice",initialState:Mo,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=h({},t.payload)}},extraReducers:e=>{e.addCase(M,()=>Mo)}}),{setDappModalVisibility:Vu,setDappModalHeaderVisibility:Gu,setDappModalFooterVisibility:Hu,setDappModalHeaderText:Wu,setDappModalFooterText:qu,setDappModalConfig:zu}=Oo.actions,Fo=Oo.reducer});var Uo,ga,fa,ke,ht=x(()=>{"use strict";n();Uo=require("@reduxjs/toolkit");Er();pr();Bo();dr();mr();hr();at();lt();ut();ft();ga={["account"]:Jn,["dappModal"]:Fo,["loginInfo"]:oo,["modals"]:co,["networkConfig"]:yo,["signedMessageInfo"]:st,["toasts"]:ct,["transactionsInfo"]:pt,["transactions"]:gt},fa=(e={})=>(0,Uo.combineReducers)(h(h({},ga),e)),ke=fa});var Wo={};pe(Wo,{default:()=>wa,getSessionStoragePersistConfig:()=>Ve,localStoragePersistConfig:()=>Go,sessionStorageReducers:()=>Ho});function Ve(e,t=[]){return{key:e,version:1,storage:Vo.default,blacklist:t}}var se,$o,Vo,Ta,ya,xa,ha,Sa,Go,Ho,wa,qo=x(()=>{"use strict";n();se=require("redux-persist"),$o=w(require("redux-persist/lib/storage")),Vo=w(require("redux-persist/lib/storage/session"));ht();H();at();lt();ut();ft();Er();Ta={2:e=>A(h({},e),{networkConfig:xr})};ya=Ve("sdk-dapp-transactionsInfo"),xa=Ve("sdk-dapp-transactions",["transactionsToSign"]),ha=Ve("sdk-dapp-toasts"),Sa=Ve("sdk-dapp-signedMessageInfo"),Go={key:"sdk-dapp-store",version:2,storage:$o.default,whitelist:["account","loginInfo","modals","networkConfig"],migrate:(0,se.createMigrate)(Ta,{debug:!1})},Ho={["toasts"]:(0,se.persistReducer)(ha,ct),["transactions"]:(0,se.persistReducer)(xa,gt),["transactionsInfo"]:(0,se.persistReducer)(ya,pt),["signedMessageInfo"]:(0,se.persistReducer)(Sa,st)},wa=(0,se.persistReducer)(Go,ke(Ho))});var zo={};pe(zo,{default:()=>Aa});var Aa,jo=x(()=>{"use strict";n();ht();Aa=ke()});var Ko={};pe(Ko,{default:()=>Ia});var G,va,Ia,Yo=x(()=>{"use strict";n();G=require("redux-persist"),va=[G.FLUSH,G.REHYDRATE,G.PAUSE,G.PERSIST,G.PURGE,G.REGISTER],Ia=va});var Jo={};pe(Jo,{default:()=>Xo});function Xo(e){return(0,Zo.persistStore)(e)}var Zo,Qo=x(()=>{"use strict";n();Zo=require("redux-persist")});var Ec={};pe(Ec,{useLedgerLogin:()=>kc});module.exports=_e(Ec);n();var je=require("react"),Nt=require("@multiversx/sdk-hw-provider");qt();n();n();n();var Ns=require("@multiversx/sdk-extension-provider"),Ps=require("@multiversx/sdk-hw-provider"),Ds=require("@multiversx/sdk-opera-provider"),Cs=require("@multiversx/sdk-wallet-connect-provider/out/walletConnectProvider"),Rs=require("@multiversx/sdk-wallet-connect-provider/out/walletConnectV2Provider"),Ms=require("@multiversx/sdk-web-wallet-provider");D();F();var Un=e=>v(void 0,null,function*(){if(!e.isInitialized())throw new Error("Unable to get version. Provider not initialized");let t=e.hwApp,{contractData:r,version:o}=yield t.getAppConfiguration();return{version:o,dataEnabled:r===Fn}}),re=e=>`Unable to perform ${e}, Provider not initialized`,Jt=class{init(){return Promise.resolve(!1)}login(t){throw new Error(re(`login with options: ${t}`))}logout(t){throw new Error(re(`logout with options: ${t}`))}getAddress(){throw new Error(re("getAddress"))}isInitialized(){return!1}isConnected(){return Promise.resolve(!1)}sendTransaction(t,r){throw new Error(re(`sendTransaction with transactions: ${t} options: ${r}`))}signTransaction(t,r){throw new Error(re(`signTransaction with transactions: ${t} options: ${r}`))}signTransactions(t,r){throw new Error(re(`signTransactions with transactions: ${t} options: ${r}`))}signMessage(t,r){throw new Error(re(`signTransactions with ${t} and options ${r}`))}sendCustomMessage({method:t,params:r}){throw new Error(re(`sendCustomMessage with method: ${t} params: ${r}`))}sendCustomRequest(t){throw new Error(re(`sendSessionEvent with options: ${t}`))}ping(){return Promise.resolve(!1)}},$n=new Jt;var _s=$n;function Qt(e){_s=e}V();n();var ii=require("react"),Ee=require("react-redux");n();var Lr=require("@reduxjs/toolkit"),ni=require("react-redux/lib/utils/Subscription");H();n();var Co=w(require("lodash.throttle"));D();n();var Do=w(require("lodash.isequal")),Tt=require("reselect");$();var T=(0,Tt.createSelectorCreator)(Tt.defaultMemoize,Do.default),$e=(e,t)=>e!=""&&Boolean(t);H();ur();be();Ie();var ua=[tt],yt=!1,da=(0,Co.default)(()=>{Fe(Oe())},5e3),Ro=e=>t=>r=>{var d;if(ua.includes(r.type))return t(r);let o=e.getState(),i=ge.local.getItem(ie.loginExpiresAt);if(!$e((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 Fe(Oe());let p=Date.now();return i-p<0&&!yt?setTimeout(()=>{yt=!0,e.dispatch(no())},1e3):(yt&&(yt=!1),da()),t(r)};n();n();function xt(){return typeof sessionStorage!="undefined"}var ei=xt()?(qo(),_e(Wo)).default:(jo(),_e(zo)).default,ti=xt()?(Yo(),_e(Ko)).default:[],ri=xt()?(Qo(),_e(Jo)).default:e=>e;ht();var L=(0,Lr.configureStore)({reducer:ei,middleware:e=>e({serializableCheck:{ignoredActions:[...ti,cr.type,ar.type],ignoredPaths:["payload.nonce","account.account.nonce","providers.accountProvider"]}}).concat(Ro)}),oi=(0,ni.createSubscription)(L),hd=ri(L),Sd=(0,Lr.configureStore)({reducer:ke});var ba={store:L,subscription:oi},Nr=(0,ii.createContext)(ba),Id=(0,Ee.createStoreHook)(Nr),St=(0,Ee.createDispatchHook)(Nr),W=(0,Ee.createSelectorHook)(Nr);n();n();H();var ne=e=>e.account,wt=T(ne,e=>e.address),Le=T(ne,wt,(e,t)=>t in e.accounts?e.accounts[t]:nt),ka=T(ne,Le,(e,t)=>{let i=e,{accounts:r}=i,o=Ye(i,["accounts"]);return A(h({},o),{account:t})}),Ld=T(Le,e=>e.balance),Ea=T(Le,e=>{var t;return((t=e==null?void 0:e.nonce)==null?void 0:t.valueOf())||0}),Nd=T(ne,e=>e.shard),si=T(ne,e=>e.ledgerAccount),Pd=T(ne,e=>e.walletConnectAccount),Dd=T(ne,e=>e.isAccountLoading),Cd=T(ne,e=>e.accountLoadingError),La=T(ne,e=>e.websocketEvent);n();var q=e=>e.loginInfo,Od=T(q,e=>e.loginMethod),At=T(q,wt,(e,t)=>$e(e.loginMethod,t)),Fd=T(q,e=>e.walletConnectLogin),Bd=T(q,e=>e.ledgerLogin),Na=T(q,e=>e.walletLogin),Ud=T(q,e=>e.isLoginSessionInvalid),ai=T(q,e=>e.tokenLogin),$d=T(q,e=>e.logoutRoute);n();var ci=e=>e.modals,Hd=T(ci,e=>e.txSubmittedModal),Wd=T(ci,e=>e.notificationModal);n();var fe=e=>e.networkConfig,Pa=T(fe,e=>e.chainID),jd=T(fe,e=>e.network.walletConnectBridgeAddress),Kd=T(fe,e=>e.network.walletConnectV2RelayAddress),Yd=T(fe,e=>e.network.walletConnectV2ProjectId),Zd=T(fe,e=>e.network.walletConnectV2Options),Xd=T(fe,e=>e.network.walletConnectDeepLink),Ne=T(fe,e=>e.network),Da=T(Ne,e=>e.apiAddress),li=T(Ne,e=>e.explorerAddress),Ca=T(Ne,e=>e.egldLabel);n();var Pr=e=>e.signedMessageInfo,em=T(Pr,e=>e.isSigning),tm=T(Pr,e=>e.errorMessage),rm=T(Pr,e=>{let t=Object.keys(e.signedSessions),r=t.length;return e.signedSessions[t[r-1]]});n();var Dr=e=>e.toasts,im=T(Dr,e=>e.customToasts),sm=T(Dr,e=>e.transactionToasts),am=T(Dr,e=>e.failTransactionToast);n();H();var pi={errorMessage:Ar,successMessage:vr,processingMessage:Ir},Ra=e=>e.transactionsInfo,um=T(Ra,(e,t)=>t,(e,t)=>t!=null&&(e==null?void 0:e[Number(t)])||pi);n();n();var B=require("@multiversx/sdk-core");D();n();function Cr(e){try{return s.Buffer.from(e,"base64").toString()===atob(e)}catch(t){return!1}}function Pe(e){return atob(e)}function Rr(e){var i,l,p;let{data:t}=e,r=Cr(t!=null?t:"")?B.TransactionPayload.fromEncoded(t):new B.TransactionPayload(t),o=new B.Transaction(h({value:e.value.valueOf(),data:r,nonce:e.nonce.valueOf(),receiver:new B.Address(e.receiver),sender:new B.Address(e.sender),gasLimit:(i=e.gasLimit.valueOf())!=null?i:Zt,gasPrice:(l=e.gasPrice.valueOf())!=null?l:Xt,chainID:e.chainID.valueOf(),version:new B.TransactionVersion((p=e.version)!=null?p:On)},e.options?{options:new B.TransactionOptions(e.options)}:{}));return o.applySignature({hex:()=>e.signature||""},new B.Address(e.sender)),o}n();kr();n();var _a=w(require("bignumber.js"));$();n();n();n();n();var Fa=require("@multiversx/sdk-core"),Ba=w(require("bignumber.js"));F();n();var Oa=require("@multiversx/sdk-core");n();n();n();var $a=require("@multiversx/sdk-core/out");n();D();n();var mi=require("@multiversx/sdk-core");$();n();n();n();n();F();n();n();n();n();n();n();n();var _r="blocks";n();n();n();n();_();n();n();_();n();n();n();var ja=w(require("bignumber.js"));D();n();var za=require("@multiversx/sdk-core"),Or=w(require("bignumber.js"));D();n();var Wa=w(require("bignumber.js"));n();Or.default.config({ROUNDING_MODE:Or.default.ROUND_FLOOR});n();n();n();D();n();n();n();n();D();n();D();n();var Ka=require("@multiversx/sdk-core");D();n();var Ge=require("@multiversx/sdk-core"),Za=require("@multiversx/sdk-network-providers");D();n();n();var Ya=w(require("bignumber.js"));D();n();D();n();n();n();n();n();D();n();_();var Ja=["reDelegateRewards","claimRewards","unBond"],Qa=["wrapEgld","unwrapEgld"],ec=["unStake"],tc=["unDelegate"];n();n();n();D();n();var oc=w(require("bignumber.js"));n();n();n();_();n();var ic=w(require("bignumber.js"));n();n();n();n();_();n();n();n();var ac=w(require("linkifyjs"));n();D();n();var cc=w(require("bignumber.js"));n();$();n();n();F();n();F();n();n();n();_();n();_();n();var lc=w(require("bignumber.js"));D();_();n();_();n();var xi=require("react");$();n();n();_();n();var pc=require("@multiversx/sdk-core/out"),uc=w(require("bignumber.js"));_();n();_();n();n();F();var $x=[{label:"Raw",value:"raw"},{label:"Text",value:"text"},{label:"Decimal",value:"decimal"},{label:"Smart",value:"smart"}];n();var hi=require("react");$();n();var mc=require("react");_();var jx=["create","localMint","ESDTLocalMint","addQuantity","burn","localBurn","ESDTLocalBurn","wipe","writeLog","signalError"];var kt=e=>e.transactions,He=T(kt,e=>e.signedTransactions),Dh=T(kt,e=>e.signTransactionsError),Ch=T(kt,e=>e.signTransactionsCancelMessage),Et=e=>t=>Object.entries(t).reduce((r,[o,i])=>(e(i.status)&&(r[o]=i),r),{}),Rh=T(He,Et(ko)),Mh=T(He,Et(dt)),_h=T(He,Et(mt)),Oh=T(He,Et(Eo)),Fh=T(kt,e=>{var t;return(e==null?void 0:e.transactionsToSign)==null?null:A(h({},e.transactionsToSign),{transactions:((t=e==null?void 0:e.transactionsToSign)==null?void 0:t.transactions.map(r=>Rr(r)))||[]})}),Bh=T(He,(e,t)=>t,(e,t)=>t!=null?(e==null?void 0:e[t])||{}:{});H();F();yr();n();n();n();F();n();n();n();n();var gc=w(require("axios"));n();n();n();H();n();n();n();H();n();var Ai=require("@multiversx/sdk-core");n();V();$();n();n();tr();n();n();var Tc=w(require("platform"));n();function Br(){return At(L.getState())}n();V();$();it();be();Ie();n();n();n();n();n();n();it();n();n();n();n();be();n();n();n();H();n();n();var yc=w(require("axios"));n();var Te=require("react"),xc=10,vi=()=>{let[e,t]=(0,Te.useState)(""),[r,o]=(0,Te.useState)(!1),[i,l]=(0,Te.useState)(0),[p,m]=(0,Te.useState)([]),[d,g]=(0,Te.useState)(null),[y,f]=(0,Te.useState)(!1);return{accounts:p,setAccounts:m,isLoading:r,setIsLoading:o,setShowAddressList:f,showAddressList:y,startIndex:i,selectedAddress:d,onGoToPrevPage:()=>{g(null),l(k=>k===0?0:k-1)},onGoToNextPage:()=>{g(null),l(k=>k+1)},onSelectAddress:k=>{g(k)},error:e,setError:t,defaultAddressesPerPage:xc}};n();var Ri=require("react"),Lt=require("@multiversx/sdk-core");n();n();n();var Ur=()=>W(Le);n();n();n();n();n();var We=w(require("react"));var V0=(0,We.createContext)({}),G0=L.getState();n();var bi=w(require("react"));n();var $r=w(require("react")),hc=w(require("axios"));n();n();n();H();n();n();n();var Sc=e=>e.replace(/\+/g,"-").replace(/\//g,"_").replace(/=/g,""),De=e=>Sc(s.Buffer.from(e,"utf8").toString("base64"));n();var ki=w(require("axios"));var wc=4e4,Vr=null,Ce={current:null},Gr={current:!1};function Ei(e){return v(this,null,function*(){if(e==null)throw new Error("missing api url");if(Vr!=null&&Date.now()<Vr&&Ce.current!=null)return Ce.current;{if(Gr.current)return yield vc();Gr.current=!0,Ce.current=null;let r=yield Ac(e);return Ce.current=r,Vr=Date.now()+wc,Gr.current=!1,r}})}function Ac(e){return v(this,null,function*(){let{data:t}=yield ki.default.get(`${e}/${_r}?size=1&fields=hash,timestamp`),[r]=t;return r})}function vc(){return v(this,null,function*(){return new Promise((e,t)=>{let r,o=setInterval(()=>{Ce.current!=null&&(e(Ce.current),clearInterval(o),clearTimeout(r))},50);r=setTimeout(()=>{clearInterval(o),t("could not generate new token")},1e4)})})}n();var Li,qe={hostname:typeof window!="undefined"?(Li=window==null?void 0:window.location)==null?void 0:Li.hostname:"",apiAddress:"https://api.multiversx.com",expirySeconds:60*60*24,tokenExpirationToastWarningSeconds:5*60},ze=e=>{var r,o,i,l;return e===!0?qe:{hostname:(r=e==null?void 0:e.hostname)!=null?r:qe.hostname,expirySeconds:(o=e==null?void 0:e.expirySeconds)!=null?o:qe.expirySeconds,apiAddress:(i=e==null?void 0:e.apiAddress)!=null?i:qe.apiAddress,tokenExpirationToastWarningSeconds:(l=e==null?void 0:e.tokenExpirationToastWarningSeconds)!=null?l:qe.tokenExpirationToastWarningSeconds}};n();n();n();function Ic(e){return Object.prototype.toString.call(e)==="[object String]"}var Ni=e=>{if(!e||!Ic(e))return null;try{let[t,r,o]=e.split("."),i=Pe(t),l=Pe(r),[p,m,d,g]=l.split("."),y=JSON.parse(Pe(g)),f=Pe(p),b={ttl:Number(d),address:i,extraInfo:y,host:f,signature:o,blockHash:m,body:l};return g==="e30"&&delete b.extraInfo,b}catch(t){return null}};var Pi=({address:e,token:t,signature:r})=>{let o=De(e),i=De(t);return`${o}.${i}.${r}`};n();rt();var Di=e=>{let t=Ni(e);if(!t)return{isExpired:!1};let r=ve(),{ttl:o,extraInfo:i}=t,l=i.timestamp;if(!l)return{isExpired:!1};let p=l+o,m=r>p,d=p-r;return{isExpired:m,expiresAt:p,secondsUntilExpires:d}};var Ci=e=>{let{hostname:t,apiAddress:r,expirySeconds:o}=ze(e);return{getNativeAuthConfig:ze,initialize:(...p)=>v(void 0,[...p],function*(l={}){let{hash:m,timestamp:d}=yield Ei(r),g=De(JSON.stringify(h(h({},l),d?{timestamp:d}:{})));return`${De(t)}.${m}.${o}.${g}`}),getToken:Pi,getTokenExpiration:Di}};n();var bc=(e,t)=>{var r;return t?t===!0?e:(r=t.apiAddress)!=null?r:e:null},Mi=e=>{let t=W(Ne),r=W(ai),o=(0,Ri.useRef)(r==null?void 0:r.loginToken),i=bc(t.apiAddress,e),l=ze(h(h({},e===!0?{}:e),i?{apiAddress:i}:{})),p=Boolean(e),m=Ci(l),{address:d}=Ur(),g=St(),y=S=>{o.current=S,g(ot(h({loginToken:S},i?{nativeAuthConfig:l}:{})))},f=()=>v(void 0,null,function*(){try{return yield m.initialize()}catch(S){console.error("Unable to get block. Login failed.",S);return}}),b=({address:S,signature:k})=>{let z=o.current;if(!z)throw"Token not found. Call `setLoginToken` first.";if(!p){g(ot({loginToken:z,signature:k}));return}let ce=m.getToken({address:S,token:z,signature:k});g(ot(h({loginToken:z,signature:k,nativeAuthToken:ce},i?{nativeAuthConfig:l}:{})))};return{configuration:l,setLoginToken:y,getNativeAuthLoginToken:f,setTokenLoginInfo:b,refreshNativeAuthTokenLogin:k=>v(void 0,[k],function*({signMessageCallback:S}){let z=yield f();if(o.current=z,!z)return;let ce=new Lt.SignableMessage({address:new Lt.Address(d),message:s.Buffer.from(z)}),j=yield S(ce,{});b({address:d,signature:j.toJSON().signature})})}};var Re="Check if the MultiversX App is open on Ledger";function kc({callbackRoute:e,token:t,addressesPerPage:r,nativeAuth:o,onLoginRedirect:i}){let l=W(si),p=St(),m=Br(),d=o!=null,g=Mi(o),y=t,{accounts:f,setAccounts:b,isLoading:C,setIsLoading:S,setShowAddressList:k,showAddressList:z,startIndex:ce,selectedAddress:j,onGoToPrevPage:_i,onGoToNextPage:Oi,onSelectAddress:Fi,error:Hr,setError:le,defaultAddressesPerPage:Bi}=vi(),Ui=r!=null?r:Bi,Pt=new Nt.HWProvider,[Wr,$i]=(0,je.useState)(""),[qr,Vi]=(0,je.useState)(!1);function zr({provider:I,address:E,index:N,signature:Ct}){Qt(I),p(ro({index:N,loginType:"ledger"})),Ct&&g.setTokenLoginInfo({signature:Ct,address:E}),p(oe({address:E,loginMethod:"ledger"})),fr({callbackRoute:e,onLoginRedirect:i,options:{address:E,signature:Ct}})}let jr=(I,E="")=>{let{errorMessage:N}=Be(I);N&&le(`${N}.${E}`),S(!1),console.warn(I),p(lr(null))};function Gi(I){return v(this,null,function*(){if(j==null)return!1;let{index:E}=j;if(d&&!y&&(y=yield g.getNativeAuthLoginToken(),!y)){console.warn("Fetching block failed. Login cancelled.");return}if(y){g.setLoginToken(y);try{let N=yield I.tokenLogin({token:s.Buffer.from(`${y}{}`),addressIndex:E});zr({address:N.address,provider:I,index:E,signature:N.signature.hex()})}catch(N){jr(N,". Update MultiversX App to continue.")}}else try{let N=yield I.login({addressIndex:E});zr({address:N,provider:I,index:E})}catch(N){return jr(N),!1}return!0})}function Hi(){return v(this,null,function*(){try{if(S(!0),j==null)return!1;p(l?Xn(j):lr(A(h({},j),{version:Wr,hasContractDataEnabled:qr})));let I=new Nt.HWProvider;if(!(yield I.init()))return le(Re),console.warn(Re),!1;S(!1),yield Gi(I)}catch(I){let{errorMessage:E}=Be(I);E&&le(E),console.warn(Re,I)}finally{S(!1)}return k(!1),!0})}function Kr(){return v(this,null,function*(){try{if(S(!0),!(yield Pt.init())){le(Re),console.warn(Re),S(!1);return}let E=yield Pt.getAccounts(ce,Ui),N=yield Un(Pt);$i(N.version),Vi(N.dataEnabled),b(E),S(!1)}catch(I){let{errorMessage:E,defaultErrorMessage:N}=Be(I);le(E!=null?E:N),console.error("error",I),S(!1)}})}function Wi(){return v(this,null,function*(){if(m)throw new Error(wn);le("");try{if(S(!0),l!=null){let I=new Nt.HWProvider;if(!(yield I.init())||!j){console.warn(Re);return}let N=yield I.login({addressIndex:j.index.valueOf()});if(Qt(I),!N){S(!1),console.warn("Login cancelled.");return}p(oe({address:N,loginMethod:"ledger"})),fr({callbackRoute:e,onLoginRedirect:i})}else(f==null?void 0:f.length)>0||(yield Kr()),k(!0)}catch(I){console.error("error ",I);let{defaultErrorMessage:E}=Be();le(E)}finally{S(!1)}})}(0,je.useEffect)(()=>{Kr()},[ce]);let Dt=Boolean(Hr);return[Wi,{loginFailed:Dt,isLoggedIn:m&&!Dt,error:Hr,isLoading:C&&!Dt},{accounts:f,showAddressList:z,startIndex:ce,selectedAddress:j,version:Wr,contractDataEnabled:qr,onGoToPrevPage:_i,onGoToNextPage:Oi,onSelectAddress:Fi,onConfirmSelectedAddress:Hi}]}0&&(module.exports={useLedgerLogin});
2
2
  /*!
3
3
  * The buffer module from node.js, for the browser.
4
4
  *