@multiversx/sdk-dapp 2.32.4 → 2.32.5-alpha.0

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 (605) hide show
  1. package/UI/ExplorerLink/ExplorerLink.js +1 -1
  2. package/UI/ExplorerLink/index.js +1 -1
  3. package/UI/NotificationModal/NotificationModal.js +1 -1
  4. package/UI/NotificationModal/index.js +1 -1
  5. package/UI/SignTransactionsModals/SignTransactionsModals.js +1 -1
  6. package/UI/SignTransactionsModals/SignWithCrossWindowWalletModal/SignWithCrossWindowWalletModal.js +1 -1
  7. package/UI/SignTransactionsModals/SignWithCrossWindowWalletModal/index.js +1 -1
  8. package/UI/SignTransactionsModals/SignWithDeviceModal/SignStep.js +1 -1
  9. package/UI/SignTransactionsModals/SignWithDeviceModal/SignWithDeviceModal.js +1 -1
  10. package/UI/SignTransactionsModals/SignWithDeviceModal/components/SignStepBody.js +1 -1
  11. package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmAmount/ConfirmAmount.js +1 -1
  12. package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmAmount/components/ConfirmAmountData/ConfirmAmountData.js +1 -1
  13. package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmAmount/components/ConfirmAmountData/index.js +1 -1
  14. package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmAmount/components/ConfirmAmountNftSft/ConfirmAmountNftSft.js +1 -1
  15. package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmAmount/components/ConfirmAmountNftSft/index.js +1 -1
  16. package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmAmount/components/index.js +1 -1
  17. package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmAmount/index.js +1 -1
  18. package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmFee/ConfirmFee.js +1 -1
  19. package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmFee/index.js +1 -1
  20. package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmReceiver/ConfirmReceiver.js +1 -1
  21. package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmReceiver/index.js +1 -1
  22. package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/index.js +1 -1
  23. package/UI/SignTransactionsModals/SignWithDeviceModal/components/index.js +1 -1
  24. package/UI/SignTransactionsModals/SignWithDeviceModal/index.js +1 -1
  25. package/UI/SignTransactionsModals/SignWithExtensionModal/SignWithExtensionModal.js +1 -1
  26. package/UI/SignTransactionsModals/SignWithExtensionModal/index.js +1 -1
  27. package/UI/SignTransactionsModals/SignWithExtraModal/SignWithExtraModal.js +1 -1
  28. package/UI/SignTransactionsModals/SignWithExtraModal/index.js +1 -1
  29. package/UI/SignTransactionsModals/SignWithLedgerModal/LedgerGuardianSigningModalError.js +1 -1
  30. package/UI/SignTransactionsModals/SignWithLedgerModal/SignWithLedgerModal.js +1 -1
  31. package/UI/SignTransactionsModals/SignWithLedgerModal/index.js +1 -1
  32. package/UI/SignTransactionsModals/SignWithMetamaskModal/SignWithMetamaskModal.js +1 -1
  33. package/UI/SignTransactionsModals/SignWithMetamaskModal/index.js +1 -1
  34. package/UI/SignTransactionsModals/components/ConfirmationScreen.js +1 -1
  35. package/UI/SignTransactionsModals/components/DeviceConfirmationScreen.js +1 -1
  36. package/UI/SignTransactionsModals/components/TransactionStatusToast.js +1 -1
  37. package/UI/SignTransactionsModals/components/index.js +1 -1
  38. package/UI/SignTransactionsModals/index.js +1 -1
  39. package/UI/TokenDetails/index.js +1 -1
  40. package/UI/TransactionDetails/TransactionDetails.js +1 -1
  41. package/UI/TransactionDetails/components/TransactionDetailsBody.js +1 -1
  42. package/UI/TransactionDetails/components/index.js +1 -1
  43. package/UI/TransactionDetails/index.js +1 -1
  44. package/UI/TransactionInfo/TransactionInfo.js +1 -1
  45. package/UI/TransactionInfo/components/AddressDetailItem/AddressDetailitem.js +1 -1
  46. package/UI/TransactionInfo/components/AddressDetailItem/index.js +1 -1
  47. package/UI/TransactionInfo/components/EventsList/EventsList.js +1 -1
  48. package/UI/TransactionInfo/components/EventsList/index.js +1 -1
  49. package/UI/TransactionInfo/components/NonceMessage/NonceMessage.js +1 -1
  50. package/UI/TransactionInfo/components/NonceMessage/index.js +1 -1
  51. package/UI/TransactionInfo/components/OperationsList/OperationList.js +1 -1
  52. package/UI/TransactionInfo/components/OperationsList/components/DetailedItem.js +1 -1
  53. package/UI/TransactionInfo/components/OperationsList/components/OperationBlock.js +1 -1
  54. package/UI/TransactionInfo/components/OperationsList/components/OperationRow.js +1 -1
  55. package/UI/TransactionInfo/components/OperationsList/components/OperationText.js +1 -1
  56. package/UI/TransactionInfo/components/OperationsList/components/OperationToken.js +1 -1
  57. package/UI/TransactionInfo/components/OperationsList/components/index.js +1 -1
  58. package/UI/TransactionInfo/components/OperationsList/index.js +1 -1
  59. package/UI/TransactionInfo/components/ScResultsList/ScResultsList.js +1 -1
  60. package/UI/TransactionInfo/components/ScResultsList/components/ResultHash/ResultHash.js +1 -1
  61. package/UI/TransactionInfo/components/ScResultsList/components/ResultHash/index.js +1 -1
  62. package/UI/TransactionInfo/components/ScResultsList/components/ResultReceiver/ResultReceiver.js +1 -1
  63. package/UI/TransactionInfo/components/ScResultsList/components/ResultReceiver/index.js +1 -1
  64. package/UI/TransactionInfo/components/ScResultsList/components/ResultSender/ResultSender.js +1 -1
  65. package/UI/TransactionInfo/components/ScResultsList/components/ResultSender/index.js +1 -1
  66. package/UI/TransactionInfo/components/ScResultsList/index.js +1 -1
  67. package/UI/TransactionInfo/components/ScrDetailItem/ScrDetailItem.js +1 -1
  68. package/UI/TransactionInfo/components/ScrDetailItem/index.js +1 -1
  69. package/UI/TransactionInfo/components/TransactionAction/TransactionAction.js +1 -1
  70. package/UI/TransactionInfo/components/TransactionAction/components/ActionText/index.js +1 -1
  71. package/UI/TransactionInfo/components/TransactionAction/components/ActionToken.js +1 -1
  72. package/UI/TransactionInfo/components/TransactionAction/components/TransactionActionBlock/components/TransactionActionCollection.js +1 -1
  73. package/UI/TransactionInfo/components/TransactionAction/components/TransactionActionBlock/components/TransactionActionNft.js +1 -1
  74. package/UI/TransactionInfo/components/TransactionAction/components/TransactionActionBlock/components/TransactionActionToken.js +1 -1
  75. package/UI/TransactionInfo/components/TransactionAction/components/TransactionActionBlock/components/index.js +1 -1
  76. package/UI/TransactionInfo/components/TransactionAction/components/TransactionActionBlock/index.js +1 -1
  77. package/UI/TransactionInfo/components/TransactionAction/components/index.js +1 -1
  78. package/UI/TransactionInfo/components/TransactionAction/index.js +1 -1
  79. package/UI/TransactionInfo/components/TransactionLogs/TransactionLogs.js +1 -1
  80. package/UI/TransactionInfo/components/TransactionLogs/index.js +1 -1
  81. package/UI/TransactionInfo/components/index.js +1 -1
  82. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoFee/TransactionInfoFee.js +1 -1
  83. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoFee/index.js +1 -1
  84. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoFrom/TransactionInfoFrom.js +1 -1
  85. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoFrom/index.js +1 -1
  86. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoMethod/TransactionInfoMethod.js +1 -1
  87. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoMethod/index.js +1 -1
  88. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoMiniblock/TransactionInfoMiniblock.js +1 -1
  89. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoMiniblock/index.js +1 -1
  90. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoNonce/TransactionInfoNonce.js +1 -1
  91. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoNonce/index.js +1 -1
  92. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoScResults/TransactionInfoScResults.js +1 -1
  93. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoScResults/index.js +1 -1
  94. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoTo/TransactionInfoTo.js +1 -1
  95. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoTo/index.js +1 -1
  96. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoTokenOperations/TransactionInfoTokenOperations.js +1 -1
  97. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoTokenOperations/index.js +1 -1
  98. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoValue/TransactionInfoValue.js +1 -1
  99. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoValue/index.js +1 -1
  100. package/UI/TransactionInfo/components/transactionInfoFields/index.js +1 -1
  101. package/UI/TransactionInfo/index.js +1 -1
  102. package/UI/TransactionsTable/TransactionsTable.js +1 -1
  103. package/UI/TransactionsTable/components/AccountName.js +1 -1
  104. package/UI/TransactionsTable/components/LockedTokenAddressIcon.js +1 -1
  105. package/UI/TransactionsTable/components/TransactionHash.js +1 -1
  106. package/UI/TransactionsTable/components/TransactionReceiver.js +1 -1
  107. package/UI/TransactionsTable/components/TransactionRow.js +1 -1
  108. package/UI/TransactionsTable/components/TransactionSender.js +1 -1
  109. package/UI/TransactionsTable/components/TransactionShardsTransition.js +1 -1
  110. package/UI/TransactionsTable/components/TransactionValue/TransactionValue.js +1 -1
  111. package/UI/TransactionsTable/components/TransactionValue/index.js +1 -1
  112. package/UI/TransactionsTable/components/index.js +1 -1
  113. package/UI/TransactionsTable/index.js +1 -1
  114. package/UI/TransactionsToastList/TransactionsToastList.js +1 -1
  115. package/UI/TransactionsToastList/components/CustomToast/CustomToast.js +1 -1
  116. package/UI/TransactionsToastList/components/CustomToast/components/CustomComponentToast.js +1 -1
  117. package/UI/TransactionsToastList/components/CustomToast/components/IconToast/IconToast.js +1 -1
  118. package/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/IconToastFooter.js +1 -1
  119. package/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/components/TransactionToastFooter.js +1 -1
  120. package/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/components/index.js +1 -1
  121. package/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/index.js +1 -1
  122. package/UI/TransactionsToastList/components/CustomToast/components/IconToast/index.js +1 -1
  123. package/UI/TransactionsToastList/components/CustomToast/components/SimpleToast.js +1 -1
  124. package/UI/TransactionsToastList/components/CustomToast/components/index.js +1 -1
  125. package/UI/TransactionsToastList/components/CustomToast/helpers/index.js +1 -1
  126. package/UI/TransactionsToastList/components/CustomToast/helpers/useMemoizedCloseButton.js +1 -1
  127. package/UI/TransactionsToastList/components/CustomToast/index.js +1 -1
  128. package/UI/TransactionsToastList/components/TransactionToast/TransactionToast.js +1 -1
  129. package/UI/TransactionsToastList/components/TransactionToast/components/TransactionToastContent.js +1 -1
  130. package/UI/TransactionsToastList/components/TransactionToast/components/index.js +1 -1
  131. package/UI/TransactionsToastList/components/TransactionToast/hooks/useTransactionToast.js +1 -1
  132. package/UI/TransactionsToastList/components/TransactionToast/index.js +1 -1
  133. package/UI/TransactionsToastList/components/TransactionToastGuard.js +1 -1
  134. package/UI/TransactionsToastList/components/index.js +1 -1
  135. package/UI/TransactionsToastList/index.js +1 -1
  136. package/UI/Trim/Trim.js +1 -1
  137. package/UI/Trim/index.js +1 -1
  138. package/UI/extension/ExtensionLoginButton/ExtensionLoginButton.js +1 -1
  139. package/UI/extension/ExtensionLoginButton/index.js +1 -1
  140. package/UI/index.js +1 -1
  141. package/UI/ledger/LedgerLoginButton/LedgerLoginButton.js +1 -1
  142. package/UI/ledger/LedgerLoginButton/index.js +1 -1
  143. package/UI/ledger/LedgerLoginContainer/AddressRow/AddressRow.js +1 -1
  144. package/UI/ledger/LedgerLoginContainer/AddressRow/index.js +1 -1
  145. package/UI/ledger/LedgerLoginContainer/AddressTable/AddressTable.js +1 -1
  146. package/UI/ledger/LedgerLoginContainer/AddressTable/index.js +1 -1
  147. package/UI/ledger/LedgerLoginContainer/ConfirmAddress/ConfirmAddress.js +1 -1
  148. package/UI/ledger/LedgerLoginContainer/ConfirmAddress/index.js +1 -1
  149. package/UI/ledger/LedgerLoginContainer/LedgerLoginContainer.js +1 -1
  150. package/UI/ledger/LedgerLoginContainer/LedgerLoginContent/LedgerLoginContent.js +1 -1
  151. package/UI/ledger/LedgerLoginContainer/LedgerLoginContent/index.js +1 -1
  152. package/UI/ledger/LedgerLoginContainer/LedgerLoginContentBody/LedgerLoginContentBody.js +1 -1
  153. package/UI/ledger/LedgerLoginContainer/LedgerLoginContentBody/index.js +1 -1
  154. package/UI/ledger/LedgerLoginContainer/LedgerScamPhishingAlert/LedgerScamPhishingAlert.js +1 -1
  155. package/UI/ledger/LedgerLoginContainer/LedgerScamPhishingAlert/index.js +1 -1
  156. package/UI/ledger/LedgerLoginContainer/index.js +1 -1
  157. package/UI/ledger/index.js +1 -1
  158. package/UI/metamask/MetamaskLoginButton/MetamaskLoginButton.js +1 -1
  159. package/UI/metamask/MetamaskLoginButton/index.js +1 -1
  160. package/UI/operaWallet/OperaWalletLoginButton/OperaWalletLoginButton.js +1 -1
  161. package/UI/operaWallet/OperaWalletLoginButton/index.js +1 -1
  162. package/UI/pages/UnlockPage/index.js +1 -1
  163. package/UI/pages/index.js +1 -1
  164. package/UI/walletConnect/WalletConnectLoginButton/WalletConnectLoginButton.js +1 -1
  165. package/UI/walletConnect/WalletConnectLoginButton/index.js +1 -1
  166. package/UI/walletConnect/WalletConnectLoginContainer/WalletConnectLoginContainer.js +1 -1
  167. package/UI/walletConnect/WalletConnectLoginContainer/WalletConnectLoginContent/WalletConnectLoginContent.js +1 -1
  168. package/UI/walletConnect/WalletConnectLoginContainer/WalletConnectLoginContent/index.js +1 -1
  169. package/UI/walletConnect/WalletConnectLoginContainer/index.js +1 -1
  170. package/UI/walletConnect/index.js +1 -1
  171. package/UI/webWallet/CrossWindowLoginButton/CrossWindowLoginButton.js +1 -1
  172. package/UI/webWallet/CrossWindowLoginButton/index.js +1 -1
  173. package/UI/webWallet/WebWalletLoginButton/WebWalletLoginButton.js +1 -1
  174. package/UI/webWallet/WebWalletLoginButton/index.js +1 -1
  175. package/UI/webWallet/XaliasLoginButton/XaliasLoginButton.js +1 -1
  176. package/UI/webWallet/XaliasLoginButton/index.js +1 -1
  177. package/__chunks__/{chunk-RR6PW4HJ.js → chunk-225MAJMY.js} +2 -2
  178. package/__chunks__/{chunk-QLRQQAIS.js → chunk-2A3IFRCR.js} +2 -2
  179. package/__chunks__/{chunk-ESFBVK3B.js → chunk-2EW2MWQW.js} +2 -2
  180. package/__chunks__/{chunk-I5HQOS7V.js → chunk-2HCBV7DJ.js} +2 -2
  181. package/__chunks__/{chunk-TICPQUYL.js → chunk-2N3PAW7F.js} +2 -2
  182. package/__chunks__/{chunk-ISXW5URB.js → chunk-2NTU2FTP.js} +2 -2
  183. package/__chunks__/{chunk-522SCIMJ.js → chunk-2UYELSQ5.js} +2 -2
  184. package/__chunks__/{chunk-P54ZEHEV.js → chunk-2ZOSKVZQ.js} +2 -2
  185. package/__chunks__/{chunk-LL6G4L6P.js → chunk-2ZSL6BL7.js} +2 -2
  186. package/__chunks__/{chunk-3AXWPBOB.js → chunk-3EZ3MAWE.js} +2 -2
  187. package/__chunks__/{chunk-SBRP7B7K.js → chunk-3L557HHH.js} +2 -2
  188. package/__chunks__/{chunk-B6DM45PS.js → chunk-3L7DMH5Z.js} +2 -2
  189. package/__chunks__/{chunk-24L3EP3X.js → chunk-42AQ2R5U.js} +2 -2
  190. package/__chunks__/{chunk-VFEAE4TU.js → chunk-4BFPA46X.js} +2 -2
  191. package/__chunks__/{chunk-RROQFIXU.js → chunk-4EF4GRCH.js} +2 -2
  192. package/__chunks__/{chunk-MIHAPYJ2.js → chunk-4HGTPCIE.js} +2 -2
  193. package/__chunks__/{chunk-FDLU7XE4.js → chunk-4L7XUJCK.js} +2 -2
  194. package/__chunks__/{chunk-6MMI3TGH.js → chunk-4MM2BMPB.js} +2 -2
  195. package/__chunks__/{chunk-UEQORRYF.js → chunk-56W3V3GL.js} +2 -2
  196. package/__chunks__/{chunk-Z3JQWSMS.js → chunk-5GZLWO7G.js} +2 -2
  197. package/__chunks__/{chunk-UI3TZMI6.js → chunk-5LS2CLXN.js} +2 -2
  198. package/__chunks__/chunk-5N37MEEQ.js +2 -0
  199. package/__chunks__/{chunk-RFQOWANL.js → chunk-5RCGFSB6.js} +2 -2
  200. package/__chunks__/{chunk-N27P526J.js → chunk-5W5BVYIX.js} +2 -2
  201. package/__chunks__/{chunk-CPSWGVRI.js → chunk-5Y5JNHNW.js} +2 -2
  202. package/__chunks__/{chunk-TSGXD4W2.js → chunk-5Y76AN6Q.js} +2 -2
  203. package/__chunks__/{chunk-KLPFCDK5.js → chunk-6GFSCJTE.js} +2 -2
  204. package/__chunks__/{chunk-7O4TZG3S.js → chunk-6II6FJPO.js} +2 -2
  205. package/__chunks__/{chunk-2LT3JYUH.js → chunk-6ITM4R45.js} +2 -2
  206. package/__chunks__/{chunk-5FK464YV.js → chunk-6KH7ZG3T.js} +2 -2
  207. package/__chunks__/{chunk-Q2EWQ3O6.js → chunk-6PFDV3JM.js} +2 -2
  208. package/__chunks__/{chunk-HE5H3IUQ.js → chunk-6Q4GKXJ6.js} +2 -2
  209. package/__chunks__/{chunk-S5G3TDG2.js → chunk-6VJENKCV.js} +2 -2
  210. package/__chunks__/{chunk-AZY7SGQY.js → chunk-7CTDIQHL.js} +2 -2
  211. package/__chunks__/{chunk-53NL6Z26.js → chunk-7MKU4ZEY.js} +2 -2
  212. package/__chunks__/chunk-7QE62N43.js +2 -0
  213. package/__chunks__/chunk-7TJUAMKU.js +2 -0
  214. package/__chunks__/{chunk-MPPWMXND.js → chunk-7UP77KLA.js} +2 -2
  215. package/__chunks__/{chunk-K2SSD4WX.js → chunk-7UYJPDPI.js} +2 -2
  216. package/__chunks__/{chunk-5Y5US36W.js → chunk-7XCIOE2Q.js} +2 -2
  217. package/__chunks__/{chunk-26IEWKXP.js → chunk-A3W6OIH7.js} +2 -2
  218. package/__chunks__/{chunk-JWEZBJ6L.js → chunk-ABU6YN6J.js} +2 -2
  219. package/__chunks__/{chunk-KRZ5ABN4.js → chunk-AI2ZIT5T.js} +2 -2
  220. package/__chunks__/{chunk-QFXCHELB.js → chunk-AOYNPVU2.js} +2 -2
  221. package/__chunks__/{chunk-E5MZBMWI.js → chunk-AZ6K6D4Y.js} +2 -2
  222. package/__chunks__/{chunk-NDANH5F4.js → chunk-B3CUVIVR.js} +2 -2
  223. package/__chunks__/chunk-B4YY6JJK.js +2 -0
  224. package/__chunks__/chunk-B5YPIDC3.js +2 -0
  225. package/__chunks__/{chunk-O2O37VT2.js → chunk-BAQMROAK.js} +2 -2
  226. package/__chunks__/chunk-BBWJVUMG.js +2 -0
  227. package/__chunks__/{chunk-WQRPV7YY.js → chunk-BJBDNTF6.js} +2 -2
  228. package/__chunks__/{chunk-7PNHX3K4.js → chunk-BK55WKRN.js} +2 -2
  229. package/__chunks__/{chunk-6WGLLPH4.js → chunk-BKATCG6T.js} +2 -2
  230. package/__chunks__/{chunk-YXS5R5BB.js → chunk-BMSKRA6W.js} +2 -2
  231. package/__chunks__/{chunk-XJBQQ4T4.js → chunk-BVA7VSPT.js} +2 -2
  232. package/__chunks__/{chunk-DOKQPRKW.js → chunk-BVWFBZ5I.js} +2 -2
  233. package/__chunks__/{chunk-RWHGGW3F.js → chunk-BYYL34IG.js} +2 -2
  234. package/__chunks__/{chunk-LRUM5VI5.js → chunk-BZCZTPGP.js} +2 -2
  235. package/__chunks__/{chunk-WX6SFHDG.js → chunk-C2ZVBJLV.js} +2 -2
  236. package/__chunks__/{chunk-TNLDJHAT.js → chunk-CBNAZVTK.js} +2 -2
  237. package/__chunks__/{chunk-2Q35DRL4.js → chunk-CJ7MDCQ6.js} +2 -2
  238. package/__chunks__/{chunk-YFSX2WDW.js → chunk-CO6RK4JC.js} +2 -2
  239. package/__chunks__/{chunk-7UALDRKV.js → chunk-CR2HR4XM.js} +2 -2
  240. package/__chunks__/chunk-CTRUFMPD.js +2 -0
  241. package/__chunks__/{chunk-QTZ2AVTM.js → chunk-CZHVPAF2.js} +2 -2
  242. package/__chunks__/{chunk-2P5KGPIK.js → chunk-D6FF6CIH.js} +2 -2
  243. package/__chunks__/{chunk-CPIYJ3AI.js → chunk-D6MXCOGV.js} +2 -2
  244. package/__chunks__/{chunk-RAX5TJKZ.js → chunk-D6QEVSYW.js} +2 -2
  245. package/__chunks__/{chunk-3ZFPJ55S.js → chunk-DIXNZ4JU.js} +2 -2
  246. package/__chunks__/{chunk-LQAFSV4U.js → chunk-DLQ3MCNZ.js} +2 -2
  247. package/__chunks__/chunk-DNUGYAWT.js +2 -0
  248. package/__chunks__/{chunk-WIBTSGAN.js → chunk-DXPNZ53E.js} +2 -2
  249. package/__chunks__/{chunk-JH2NENF4.js → chunk-ECLSX34U.js} +2 -2
  250. package/__chunks__/{chunk-Z2P75SJK.js → chunk-EEUMJ3FF.js} +2 -2
  251. package/__chunks__/{chunk-QX3PX4FB.js → chunk-EEWS3COE.js} +2 -2
  252. package/__chunks__/{chunk-UBSYMVI2.js → chunk-EFJVAW6M.js} +2 -2
  253. package/__chunks__/{chunk-PBVJZCKJ.js → chunk-EIQFUAXP.js} +2 -2
  254. package/__chunks__/{chunk-HWCSFE7I.js → chunk-ESTYUOXM.js} +2 -2
  255. package/__chunks__/{chunk-YM6JOVEI.js → chunk-EWVWG2HE.js} +2 -2
  256. package/__chunks__/{chunk-6BJGDI5V.js → chunk-F3HPXDDH.js} +2 -2
  257. package/__chunks__/{chunk-GEKOPFO4.js → chunk-F3IAUQ4X.js} +2 -2
  258. package/__chunks__/{chunk-Z3IQSZTC.js → chunk-F4A6RKDT.js} +2 -2
  259. package/__chunks__/{chunk-BMCXMZUA.js → chunk-FEYJYAWE.js} +2 -2
  260. package/__chunks__/chunk-FJQMK2XK.js +2 -0
  261. package/__chunks__/{chunk-RCSUSTAX.js → chunk-FKTR3VVY.js} +2 -2
  262. package/__chunks__/{chunk-GOSC7GCZ.js → chunk-FTGV72B3.js} +2 -2
  263. package/__chunks__/{chunk-JLZRAVMS.js → chunk-GFKCACKP.js} +2 -2
  264. package/__chunks__/{chunk-Z4USM6HU.js → chunk-GI5JJF42.js} +2 -2
  265. package/__chunks__/{chunk-LNRF6HD3.js → chunk-GI5SZG35.js} +2 -2
  266. package/__chunks__/{chunk-FM7QYIDD.js → chunk-GPAVVKOW.js} +2 -2
  267. package/__chunks__/{chunk-SIWRTJ3Y.js → chunk-GRLAMGMQ.js} +2 -2
  268. package/__chunks__/{chunk-ZKYPXSFF.js → chunk-GWRDULH6.js} +2 -2
  269. package/__chunks__/{chunk-UWJ7IK5D.js → chunk-HF6BEHJN.js} +2 -2
  270. package/__chunks__/{chunk-YTHXECUZ.js → chunk-HFL7G3NQ.js} +2 -2
  271. package/__chunks__/{chunk-7KY35JZP.js → chunk-HGTUM5YX.js} +2 -2
  272. package/__chunks__/{chunk-M2VPBPOY.js → chunk-HMMBAFFP.js} +2 -2
  273. package/__chunks__/{chunk-MDEXJCOG.js → chunk-HPGKSD6P.js} +2 -2
  274. package/__chunks__/{chunk-WCHG77ZB.js → chunk-HYHOQWCM.js} +2 -2
  275. package/__chunks__/{chunk-3AVLCHT6.js → chunk-HYL3W3MH.js} +2 -2
  276. package/__chunks__/{chunk-I24UU7C7.js → chunk-I3SPHUZL.js} +2 -2
  277. package/__chunks__/{chunk-D7BWEA7O.js → chunk-I7WCW26A.js} +2 -2
  278. package/__chunks__/{chunk-AAEUG6I4.js → chunk-IAVOJITJ.js} +2 -2
  279. package/__chunks__/{chunk-U3MHBOL2.js → chunk-ICXTENP4.js} +2 -2
  280. package/__chunks__/{chunk-B25AOOIF.js → chunk-IGXTDLD4.js} +2 -2
  281. package/__chunks__/{chunk-FXDTRL2W.js → chunk-IHQXVMZS.js} +2 -2
  282. package/__chunks__/{chunk-UVG4U4VG.js → chunk-ILKPNROD.js} +2 -2
  283. package/__chunks__/chunk-ILREXW5M.js +2 -0
  284. package/__chunks__/chunk-IMUSM2JY.js +2 -0
  285. package/__chunks__/{chunk-GDKD55OL.js → chunk-INFYD6FR.js} +2 -2
  286. package/__chunks__/{chunk-37EVIUDK.js → chunk-IOIXOZTW.js} +2 -2
  287. package/__chunks__/{chunk-3WKDQ7UP.js → chunk-JINRZHTX.js} +2 -2
  288. package/__chunks__/{chunk-632HG4AB.js → chunk-JM5LDSE3.js} +2 -2
  289. package/__chunks__/{chunk-427BULF5.js → chunk-JOW3NYUN.js} +2 -2
  290. package/__chunks__/{chunk-ATHCLLSE.js → chunk-JUME6JNL.js} +2 -2
  291. package/__chunks__/{chunk-Q7D7E7PL.js → chunk-K64PLOWZ.js} +2 -2
  292. package/__chunks__/{chunk-BN6THFRS.js → chunk-KFTQKDLL.js} +2 -2
  293. package/__chunks__/{chunk-PND46ONJ.js → chunk-KIYXG5DO.js} +2 -2
  294. package/__chunks__/chunk-KRCETY2P.js +2 -0
  295. package/__chunks__/chunk-KX6X56ES.js +2 -0
  296. package/__chunks__/{chunk-XAWMBJCB.js → chunk-L2HUMFSX.js} +2 -2
  297. package/__chunks__/{chunk-EN7J6DFK.js → chunk-LHXS32J3.js} +2 -2
  298. package/__chunks__/{chunk-D6U5G53T.js → chunk-LMUMBDQ4.js} +2 -2
  299. package/__chunks__/{chunk-NM63SW3V.js → chunk-LXRK7KEB.js} +2 -2
  300. package/__chunks__/chunk-M7MNZNIB.js +2 -0
  301. package/__chunks__/{chunk-XMUTNG4Y.js → chunk-MAPRLOZW.js} +2 -2
  302. package/__chunks__/{chunk-IKUFYS7B.js → chunk-MFH5SDDV.js} +2 -2
  303. package/__chunks__/{chunk-E6FEADJZ.js → chunk-MG4S7QMF.js} +2 -2
  304. package/__chunks__/{chunk-CUNOOUPL.js → chunk-MLSV763U.js} +2 -2
  305. package/__chunks__/{chunk-JLYIFBOY.js → chunk-MZHMRQZV.js} +2 -2
  306. package/__chunks__/{chunk-KRSTS4HA.js → chunk-N4W7T4YS.js} +2 -2
  307. package/__chunks__/{chunk-XBIYJYHC.js → chunk-NAUFD62W.js} +2 -2
  308. package/__chunks__/{chunk-74KOQ77F.js → chunk-NFQ47OOC.js} +2 -2
  309. package/__chunks__/chunk-NPFP6G65.js +2 -0
  310. package/__chunks__/{chunk-PYWZMAXO.js → chunk-NRFHTRSZ.js} +2 -2
  311. package/__chunks__/{chunk-FLYAPUPK.js → chunk-NYW5ZG7S.js} +2 -2
  312. package/__chunks__/{chunk-LLLVY75E.js → chunk-O22KSFTX.js} +2 -2
  313. package/__chunks__/{chunk-N6WWVZPC.js → chunk-O3WEX3DQ.js} +2 -2
  314. package/__chunks__/{chunk-MTMX77QM.js → chunk-O4RQEGY2.js} +2 -2
  315. package/__chunks__/{chunk-254NMEV6.js → chunk-O7T4P4GE.js} +2 -2
  316. package/__chunks__/{chunk-N2RKDP53.js → chunk-OE376NDX.js} +2 -2
  317. package/__chunks__/{chunk-JAG5T3PB.js → chunk-OPKRISTB.js} +2 -2
  318. package/__chunks__/{chunk-GVB3SP7U.js → chunk-OS2AFCQA.js} +2 -2
  319. package/__chunks__/{chunk-HJ7YHPA4.js → chunk-OVGPOG4J.js} +2 -2
  320. package/__chunks__/{chunk-Z4EJYJFD.js → chunk-OYUTBY5S.js} +2 -2
  321. package/__chunks__/{chunk-C7MULEKP.js → chunk-OYVJGT3C.js} +2 -2
  322. package/__chunks__/{chunk-Z5MOFHUQ.js → chunk-P4TZLKMB.js} +2 -2
  323. package/__chunks__/{chunk-GBE7W5D5.js → chunk-P4ZJADF7.js} +2 -2
  324. package/__chunks__/{chunk-EHODQQRY.js → chunk-P5CGP23B.js} +2 -2
  325. package/__chunks__/{chunk-SKNGWUUB.js → chunk-PHFD7CEG.js} +2 -2
  326. package/__chunks__/{chunk-JG3TDBM5.js → chunk-PJOFJC7W.js} +2 -2
  327. package/__chunks__/{chunk-5ZXQ2CL5.js → chunk-PQLCFECD.js} +2 -2
  328. package/__chunks__/{chunk-OM6PZK3O.js → chunk-PSDNIQG7.js} +2 -2
  329. package/__chunks__/{chunk-ORR4KLZZ.js → chunk-PYJP4NRH.js} +2 -2
  330. package/__chunks__/{chunk-VHJALRZ6.js → chunk-Q6GWPO2R.js} +2 -2
  331. package/__chunks__/{chunk-RQGL77EN.js → chunk-QEXVEFVF.js} +2 -2
  332. package/__chunks__/{chunk-EOHHUC2A.js → chunk-QHMTZHSV.js} +2 -2
  333. package/__chunks__/chunk-QJERS6IM.js +2 -0
  334. package/__chunks__/{chunk-VALUGW7I.js → chunk-QMV7ZFWZ.js} +2 -2
  335. package/__chunks__/{chunk-JNS6K5JJ.js → chunk-QYHTRJZI.js} +2 -2
  336. package/__chunks__/{chunk-CQLNS7FF.js → chunk-QZU5N3SU.js} +2 -2
  337. package/__chunks__/{chunk-AGDZA7SR.js → chunk-R2VSTFPB.js} +2 -2
  338. package/__chunks__/{chunk-L6JVEOGI.js → chunk-R5WHMDT6.js} +2 -2
  339. package/__chunks__/{chunk-DGIKXDXZ.js → chunk-R6GFSEGJ.js} +2 -2
  340. package/__chunks__/{chunk-Z54LTCOI.js → chunk-RMEZLMEI.js} +2 -2
  341. package/__chunks__/{chunk-UUH56QMY.js → chunk-RXHCZPVN.js} +2 -2
  342. package/__chunks__/{chunk-53ELINAN.js → chunk-S34J4Y7X.js} +2 -2
  343. package/__chunks__/{chunk-PUIZWBKL.js → chunk-S7KOWTSW.js} +2 -2
  344. package/__chunks__/{chunk-OFGDA4KD.js → chunk-SMKOFCW5.js} +2 -2
  345. package/__chunks__/{chunk-JKAVFLBR.js → chunk-TAIAME4W.js} +2 -2
  346. package/__chunks__/{chunk-FDWMHZYS.js → chunk-TFJTYH3E.js} +2 -2
  347. package/__chunks__/{chunk-KLVZZPKR.js → chunk-TQRREZU3.js} +2 -2
  348. package/__chunks__/chunk-TYZV4FVM.js +2 -0
  349. package/__chunks__/{chunk-LHPF477E.js → chunk-UDR3TG2L.js} +2 -2
  350. package/__chunks__/{chunk-DVFUKMBJ.js → chunk-UF2U424D.js} +2 -2
  351. package/__chunks__/{chunk-LFPPDHNJ.js → chunk-UF6ENZNA.js} +2 -2
  352. package/__chunks__/{chunk-QO4DXEHR.js → chunk-UG4H65VQ.js} +2 -2
  353. package/__chunks__/{chunk-NUK6LUYH.js → chunk-UKERBFNF.js} +2 -2
  354. package/__chunks__/{chunk-LABDTT4U.js → chunk-ULTKRYB2.js} +2 -2
  355. package/__chunks__/{chunk-C2HO2C64.js → chunk-ULVCOEAR.js} +2 -2
  356. package/__chunks__/{chunk-AA47ELUI.js → chunk-UN2FV34T.js} +2 -2
  357. package/__chunks__/{chunk-7UN7YW5V.js → chunk-USCHJNSN.js} +2 -2
  358. package/__chunks__/{chunk-WWSGJKRX.js → chunk-UW5GUMIC.js} +2 -2
  359. package/__chunks__/{chunk-WZF3XPST.js → chunk-VMXLEZN2.js} +2 -2
  360. package/__chunks__/{chunk-4D5SCRRS.js → chunk-VTWFVMTW.js} +2 -2
  361. package/__chunks__/{chunk-QIGNWMYI.js → chunk-VZJYNM46.js} +2 -2
  362. package/__chunks__/{chunk-XFTMZTCM.js → chunk-W6UWUSTS.js} +2 -2
  363. package/__chunks__/{chunk-I33OYJFI.js → chunk-WBM6UQEY.js} +2 -2
  364. package/__chunks__/{chunk-ZV5KU6OZ.js → chunk-WMRGE2AJ.js} +2 -2
  365. package/__chunks__/{chunk-JKM2BV3U.js → chunk-WPS5MRO4.js} +2 -2
  366. package/__chunks__/{chunk-WBB2G2NG.js → chunk-XCLALRXB.js} +2 -2
  367. package/__chunks__/{chunk-EHXXN7Z7.js → chunk-XECDWB5U.js} +2 -2
  368. package/__chunks__/{chunk-IWVQEMRI.js → chunk-XQRSG32I.js} +2 -2
  369. package/__chunks__/{chunk-QSBBTMAV.js → chunk-XRJTMGSZ.js} +2 -2
  370. package/__chunks__/{chunk-PJ4DTJ66.js → chunk-XSFRCF2K.js} +2 -2
  371. package/__chunks__/{chunk-DYR4OZF7.js → chunk-XTZJNQRY.js} +2 -2
  372. package/__chunks__/chunk-Y2WR6EYR.js +2 -0
  373. package/__chunks__/{chunk-HNTAW2IE.js → chunk-YGCUDU76.js} +2 -2
  374. package/__chunks__/chunk-YM6OFZAZ.js +2 -0
  375. package/__chunks__/{chunk-IKULCGJI.js → chunk-YOHCX5O7.js} +2 -2
  376. package/__chunks__/{chunk-U6UOMW63.js → chunk-YQUQW4LN.js} +2 -2
  377. package/__chunks__/{chunk-PT7HOY2I.js → chunk-YU5CCSYN.js} +2 -2
  378. package/__chunks__/{chunk-G6R3OLNZ.js → chunk-YWR7Z7UM.js} +2 -2
  379. package/__chunks__/{chunk-XTCWSAPB.js → chunk-Z6EQGCCV.js} +2 -2
  380. package/__chunks__/{chunk-3FXK4HDJ.js → chunk-ZF3BWYQT.js} +2 -2
  381. package/__chunks__/{chunk-Z74Y7IOP.js → chunk-ZJASXITW.js} +2 -2
  382. package/__chunks__/{chunk-BWZ6ZXOL.js → chunk-ZKTPW4C3.js} +2 -2
  383. package/__chunks__/{chunk-4BDKPYF3.js → chunk-ZPGEAG57.js} +2 -2
  384. package/__commonjs/UI/SignTransactionsModals/SignTransactionsModals.js +1 -1
  385. package/__commonjs/UI/SignTransactionsModals/SignWithDeviceModal/SignStep.js +1 -1
  386. package/__commonjs/UI/SignTransactionsModals/SignWithDeviceModal/SignWithDeviceModal.js +1 -1
  387. package/__commonjs/UI/SignTransactionsModals/SignWithDeviceModal/components/SignStepBody.js +1 -1
  388. package/__commonjs/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmReceiver/ConfirmReceiver.js +1 -1
  389. package/__commonjs/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmReceiver/index.js +1 -1
  390. package/__commonjs/UI/SignTransactionsModals/SignWithDeviceModal/components/components/index.js +2 -2
  391. package/__commonjs/UI/SignTransactionsModals/SignWithDeviceModal/components/index.js +1 -1
  392. package/__commonjs/UI/SignTransactionsModals/SignWithDeviceModal/index.js +1 -1
  393. package/__commonjs/UI/SignTransactionsModals/SignWithExtraModal/SignWithExtraModal.js +1 -1
  394. package/__commonjs/UI/SignTransactionsModals/SignWithExtraModal/index.js +1 -1
  395. package/__commonjs/UI/SignTransactionsModals/SignWithLedgerModal/SignWithLedgerModal.js +1 -1
  396. package/__commonjs/UI/SignTransactionsModals/SignWithLedgerModal/index.js +1 -1
  397. package/__commonjs/UI/SignTransactionsModals/components/ConfirmationScreen.js +1 -1
  398. package/__commonjs/UI/SignTransactionsModals/components/TransactionStatusToast.js +2 -2
  399. package/__commonjs/UI/SignTransactionsModals/components/index.js +1 -1
  400. package/__commonjs/UI/SignTransactionsModals/index.js +1 -1
  401. package/__commonjs/UI/TransactionInfo/components/TransactionAction/components/TransactionActionBlock/index.js +3 -3
  402. package/__commonjs/UI/index.js +2 -2
  403. package/__commonjs/components/ProviderInitializer/helpers/processModifiedAccount.js +1 -1
  404. package/__commonjs/hooks/account/helpers/index.js +1 -1
  405. package/__commonjs/hooks/account/helpers/trimUsernameDomain.js +1 -1
  406. package/__commonjs/hooks/account/useGetLoginInfo.js +1 -1
  407. package/__commonjs/hooks/index.js +1 -1
  408. package/__commonjs/hooks/login/useLoginService.js +1 -1
  409. package/__commonjs/hooks/transactions/helpers/checkNeedsGuardianSigning.js +1 -1
  410. package/__commonjs/hooks/transactions/helpers/index.js +1 -1
  411. package/__commonjs/hooks/transactions/index.js +1 -1
  412. package/__commonjs/hooks/transactions/useSignTransactions.js +1 -1
  413. package/__commonjs/hooks/transactions/useSignTransactionsWithDevice.js +1 -1
  414. package/__commonjs/hooks/transactions/useSignTransactionsWithLedger.js +1 -1
  415. package/__commonjs/utils/index.js +1 -1
  416. package/__commonjs/utils/transactions/builtCallbackUrl.js +1 -1
  417. package/__commonjs/utils/transactions/index.js +1 -1
  418. package/__mocks__/index.js +1 -1
  419. package/__mocks__/utils/index.js +1 -1
  420. package/__mocks__/utils/renderWithProvider.js +1 -1
  421. package/apiCalls/accounts/getAccountFromApi.js +1 -1
  422. package/apiCalls/accounts/index.js +1 -1
  423. package/apiCalls/accounts/useGetAccountFromApi.js +1 -1
  424. package/apiCalls/configuration/getNetworkConfig.js +1 -1
  425. package/apiCalls/configuration/index.js +1 -1
  426. package/apiCalls/configuration/useGetNetworkConfigFromApi.js +1 -1
  427. package/apiCalls/configuration/useGetServerConfigurationFromApi.js +1 -1
  428. package/apiCalls/economics/getEconomicsInfo.js +1 -1
  429. package/apiCalls/economics/index.js +1 -1
  430. package/apiCalls/economics/useGetEconomicsInfoFromApi.js +1 -1
  431. package/apiCalls/index.js +1 -1
  432. package/apiCalls/transactions/getTransactionsByHashes.js +1 -1
  433. package/apiCalls/transactions/index.js +1 -1
  434. package/apiCalls/transactions/sendSignedBatchTransactions.js +1 -1
  435. package/apiCalls/transactions/sendSignedTransactions.js +1 -1
  436. package/apiCalls/transactions/useGetTransactionsFromApi.js +1 -1
  437. package/apiCalls/utils/getCleanApiAddress.js +1 -1
  438. package/apiCalls/utils/getScamAddressData.js +1 -1
  439. package/apiCalls/utils/index.js +1 -1
  440. package/apiCalls/utils/useApiFetch.js +1 -1
  441. package/components/LogoutListener/LogoutListener.js +1 -1
  442. package/components/LogoutListener/helpers/index.js +1 -1
  443. package/components/LogoutListener/helpers/useLogoutFromMultipleTabs.js +1 -1
  444. package/components/LogoutListener/helpers/useNativeAuthLogout.js +1 -1
  445. package/components/LogoutListener/helpers/useNativeAuthLogoutWarning/index.js +1 -1
  446. package/components/LogoutListener/helpers/useNativeAuthLogoutWarning/useNativeAuthLogoutWarning.js +1 -1
  447. package/components/LogoutListener/index.js +1 -1
  448. package/components/ProviderInitializer/ProviderInitializer.js +1 -1
  449. package/components/ProviderInitializer/helpers/index.js +1 -1
  450. package/components/ProviderInitializer/helpers/processModifiedAccount.js +1 -1
  451. package/components/ProviderInitializer/hooks/index.js +1 -1
  452. package/components/ProviderInitializer/hooks/useSetLedgerProvider.js +1 -1
  453. package/components/ProviderInitializer/index.js +1 -1
  454. package/components/TransactionSender/TransactionSender.js +1 -1
  455. package/components/TransactionSender/index.js +1 -1
  456. package/components/TransactionSender/utils/invokeSendTransactions.js +1 -1
  457. package/components/TransactionsTracker/TransactionTracker.js +1 -1
  458. package/components/TransactionsTracker/index.js +1 -1
  459. package/hooks/account/helpers/index.js +1 -1
  460. package/hooks/account/helpers/trimUsernameDomain.js +1 -1
  461. package/hooks/account/index.js +1 -1
  462. package/hooks/account/useGetAccount.js +1 -1
  463. package/hooks/account/useGetAccountInfo.js +1 -1
  464. package/hooks/account/useGetIsLoggedIn.js +1 -1
  465. package/hooks/account/useGetIsWalletConnectV2Initialized.js +1 -1
  466. package/hooks/account/useGetLoginInfo.js +1 -1
  467. package/hooks/account/useGetWebsocketEvent.js +1 -1
  468. package/hooks/economics/index.js +1 -1
  469. package/hooks/economics/useGetEgldPrice.js +1 -1
  470. package/hooks/index.js +1 -1
  471. package/hooks/login/index.js +1 -1
  472. package/hooks/login/useCrossWindowLogin.js +1 -1
  473. package/hooks/login/useExtensionLogin.js +1 -1
  474. package/hooks/login/useGetModalLoginMethods.js +1 -1
  475. package/hooks/login/useLedgerLogin.js +1 -1
  476. package/hooks/login/useLoginService.js +1 -1
  477. package/hooks/login/useMetamaskLogin.js +1 -1
  478. package/hooks/login/useOperaLogin.js +1 -1
  479. package/hooks/login/useWalletConnectV2Login.js +1 -1
  480. package/hooks/login/useWebViewLogin.js +1 -1
  481. package/hooks/login/useWebWalletLogin.js +1 -1
  482. package/hooks/login/useXaliasLogin.js +1 -1
  483. package/hooks/signMessage/index.js +1 -1
  484. package/hooks/signMessage/useGetLastSignedMessageSession.js +1 -1
  485. package/hooks/signMessage/useGetSignMessageSession.js +1 -1
  486. package/hooks/signMessage/useGetSignedMessageStatus.js +1 -1
  487. package/hooks/signMessage/useSignMessage.js +1 -1
  488. package/hooks/toasts/index.js +1 -1
  489. package/hooks/toasts/useGetToasts.js +1 -1
  490. package/hooks/toasts/useTransactionsToasts.js +1 -1
  491. package/hooks/transactions/batch/tracker/useBatchTransactionsTracker.js +1 -1
  492. package/hooks/transactions/batch/tracker/useCheckBatch.js +1 -1
  493. package/hooks/transactions/batch/tracker/useCheckBatchesOnWsFailureFallback.js +1 -1
  494. package/hooks/transactions/batch/tracker/useCheckHangingBatchesFallback.js +1 -1
  495. package/hooks/transactions/batch/tracker/useUpdateBatch.js +1 -1
  496. package/hooks/transactions/batch/tracker/useVerifyBatchStatus.js +1 -1
  497. package/hooks/transactions/batch/useGetBatchStatus.js +1 -1
  498. package/hooks/transactions/batch/useResolveBatchStatusResponse.js +1 -1
  499. package/hooks/transactions/batch/useSendBatchTransactions.js +1 -1
  500. package/hooks/transactions/helpers/checkNeedsGuardianSigning.js +1 -1
  501. package/hooks/transactions/helpers/getShouldMoveTransactionsToSignedState.js +1 -1
  502. package/hooks/transactions/helpers/index.js +1 -1
  503. package/hooks/transactions/helpers/useGetLedgerProvider.js +1 -1
  504. package/hooks/transactions/helpers/useSetTransactionNonces.js +1 -1
  505. package/hooks/transactions/index.js +1 -1
  506. package/hooks/transactions/useCheckTransactionStatus/checkBatch.js +1 -1
  507. package/hooks/transactions/useCheckTransactionStatus/index.js +1 -1
  508. package/hooks/transactions/useCheckTransactionStatus/useCheckTransactionStatus.js +1 -1
  509. package/hooks/transactions/useGetActiveTransactionsStatus.js +1 -1
  510. package/hooks/transactions/useGetFailedTransactions.js +1 -1
  511. package/hooks/transactions/useGetLastPendingTransactionHash.js +1 -1
  512. package/hooks/transactions/useGetPendingTransactions.js +1 -1
  513. package/hooks/transactions/useGetSignTransactionsError.js +1 -1
  514. package/hooks/transactions/useGetSignedTransactions.js +1 -1
  515. package/hooks/transactions/useGetSuccessfulTransactions.js +1 -1
  516. package/hooks/transactions/useGetTokenDetails.js +1 -1
  517. package/hooks/transactions/useGetTransactionDisplayInfo.js +1 -1
  518. package/hooks/transactions/useParseSignedTransactions.js +1 -1
  519. package/hooks/transactions/useSignMultipleTransactions.js +1 -1
  520. package/hooks/transactions/useSignTransactions.js +1 -1
  521. package/hooks/transactions/useSignTransactionsCommonData.js +1 -1
  522. package/hooks/transactions/useSignTransactionsWithDevice.js +1 -1
  523. package/hooks/transactions/useSignTransactionsWithLedger.js +1 -1
  524. package/hooks/transactions/useTrackTransactionStatus.js +1 -1
  525. package/hooks/transactions/useTransactionsTracker.js +1 -1
  526. package/hooks/useGetNetworkConfig.js +1 -1
  527. package/hooks/useGetNotification.js +1 -1
  528. package/hooks/websocketListener/index.js +1 -1
  529. package/hooks/websocketListener/useInitializeWebsocketConnection.js +1 -1
  530. package/hooks/websocketListener/useRegisterWebsocketListener.js +1 -1
  531. package/package.json +4 -3
  532. package/providers/experimentalWebViewProvider/ExperimentalWebviewProvider.js +1 -1
  533. package/providers/experimentalWebViewProvider/index.js +1 -1
  534. package/reduxStore/selectors/index.js +1 -1
  535. package/reduxStore/selectors/transactionsSelectors.js +1 -1
  536. package/services/index.js +1 -1
  537. package/services/nativeAuth/helpers/getAuthorizationInfo.js +1 -1
  538. package/services/nativeAuth/helpers/getIsNativeAuthSingingForbidden.js +1 -1
  539. package/services/nativeAuth/helpers/index.js +1 -1
  540. package/services/transactions/clearTransactions.js +1 -1
  541. package/services/transactions/getBatchTransactionsStatus.js +1 -1
  542. package/services/transactions/getTransactionsDetails.js +1 -1
  543. package/services/transactions/index.js +1 -1
  544. package/services/transactions/sendBatchTransactions.js +1 -1
  545. package/services/transactions/sendBatchTransactions.test.js +1 -1
  546. package/services/transactions/sendTransactions.js +1 -1
  547. package/services/transactions/transformAndSignTransactions.js +1 -1
  548. package/services/transactions/utils/transformTransactionsToSign.js +1 -1
  549. package/utils/account/getAccount.js +1 -1
  550. package/utils/account/getAccountBalance.js +1 -1
  551. package/utils/account/getAccountShard.js +1 -1
  552. package/utils/account/getAddress.js +1 -1
  553. package/utils/account/getLatestNonce.js +1 -1
  554. package/utils/account/index.js +1 -1
  555. package/utils/account/refreshAccount.js +1 -1
  556. package/utils/account/signMessage.js +1 -1
  557. package/utils/getIsLoggedIn.js +1 -1
  558. package/utils/index.js +1 -1
  559. package/utils/logout.js +1 -1
  560. package/utils/network/getChainID.js +1 -1
  561. package/utils/network/getEgldLabel.js +1 -1
  562. package/utils/network/getNetworkConfig.js +1 -1
  563. package/utils/network/index.js +1 -1
  564. package/utils/transactions/batch/updateBatchTransactionsStatuses.js +1 -1
  565. package/utils/transactions/builtCallbackUrl.js +1 -1
  566. package/utils/transactions/getAllTransactionsLink.js +1 -1
  567. package/utils/transactions/getOperationsDetails.js +1 -1
  568. package/utils/transactions/getTransactionLink.js +1 -1
  569. package/utils/transactions/index.js +1 -1
  570. package/utils/waitForChainID.js +1 -1
  571. package/web/hooks/index.js +1 -1
  572. package/web/hooks/useIdleTimer.js +1 -1
  573. package/web/index.js +1 -1
  574. package/wrappers/AppInitializer.js +1 -1
  575. package/wrappers/AuthenticatedRoutesWrapper/AuthenticatedRoutesWrapper.js +1 -1
  576. package/wrappers/AuthenticatedRoutesWrapper/index.js +1 -1
  577. package/wrappers/AxiosInterceptorContext/AxiosInterceptorContext.js +1 -1
  578. package/wrappers/AxiosInterceptorContext/components/AxiosInterceptor.js +1 -1
  579. package/wrappers/AxiosInterceptorContext/components/AxiosInterceptorContextProvider.js +1 -1
  580. package/wrappers/AxiosInterceptorContext/components/LoginInfoListener.js +1 -1
  581. package/wrappers/AxiosInterceptorContext/components/index.js +1 -1
  582. package/wrappers/AxiosInterceptorContext/index.js +1 -1
  583. package/wrappers/DappProvider/CustomComponents.js +1 -1
  584. package/wrappers/DappProvider/DappProvider.js +1 -1
  585. package/wrappers/DappProvider/index.js +1 -1
  586. package/wrappers/index.js +1 -1
  587. package/__chunks__/chunk-7AXEJPQY.js +0 -2
  588. package/__chunks__/chunk-7P3EEYSW.js +0 -2
  589. package/__chunks__/chunk-IS65BXMU.js +0 -2
  590. package/__chunks__/chunk-JKXUZE3A.js +0 -2
  591. package/__chunks__/chunk-JZ2JORMD.js +0 -2
  592. package/__chunks__/chunk-K7O7MYCR.js +0 -2
  593. package/__chunks__/chunk-LBSAILTN.js +0 -2
  594. package/__chunks__/chunk-MEUWOUWJ.js +0 -2
  595. package/__chunks__/chunk-OD6XQYG4.js +0 -2
  596. package/__chunks__/chunk-OO2GZFVE.js +0 -2
  597. package/__chunks__/chunk-QCVUHPN7.js +0 -2
  598. package/__chunks__/chunk-QHKRFWGP.js +0 -2
  599. package/__chunks__/chunk-RRKXVXM3.js +0 -2
  600. package/__chunks__/chunk-U77IE254.js +0 -2
  601. package/__chunks__/chunk-UBREY3FY.js +0 -2
  602. package/__chunks__/chunk-WC7XCAMB.js +0 -2
  603. package/__chunks__/chunk-Y7BSP55V.js +0 -2
  604. package/__chunks__/chunk-YULRVTGP.js +0 -2
  605. package/__chunks__/chunk-ZUZUV32Z.js +0 -2
@@ -1,4 +1,4 @@
1
- "use strict";var Ir=Object.create;var b=Object.defineProperty;var Tr=Object.getOwnPropertyDescriptor;var dr=Object.getOwnPropertyNames;var Cr=Object.getPrototypeOf,Lr=Object.prototype.hasOwnProperty;var Sr=(e,r)=>()=>(e&&(r=e(e=0)),r);var N=(e,r)=>()=>(r||e((r={exports:{}}).exports,r),r.exports),Rr=(e,r)=>{for(var t in r)b(e,t,{get:r[t],enumerable:!0})},rr=(e,r,t,i)=>{if(r&&typeof r=="object"||typeof r=="function")for(let n of dr(r))!Lr.call(e,n)&&n!==t&&b(e,n,{get:()=>r[n],enumerable:!(i=Tr(r,n))||i.enumerable});return e};var tr=(e,r,t)=>(t=e!=null?Ir(Cr(e)):{},rr(r||!e||!e.__esModule?b(t,"default",{value:e,enumerable:!0}):t,e)),_r=e=>rr(b({},"__esModule",{value:!0}),e);var nr=N(W=>{"use strict";F();W.byteLength=Dr;W.toByteArray=br;W.fromByteArray=Yr;var g=[],m=[],Mr=typeof Uint8Array!="undefined"?Uint8Array:Array,G="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(d=0,er=G.length;d<er;++d)g[d]=G[d],m[G.charCodeAt(d)]=d;var d,er;m["-".charCodeAt(0)]=62;m["_".charCodeAt(0)]=63;function ir(e){var r=e.length;if(r%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var t=e.indexOf("=");t===-1&&(t=r);var i=t===r?0:4-t%4;return[t,i]}function Dr(e){var r=ir(e),t=r[0],i=r[1];return(t+i)*3/4-i}function kr(e,r,t){return(r+t)*3/4-t}function br(e){var r,t=ir(e),i=t[0],n=t[1],o=new Mr(kr(e,i,n)),u=0,h=n>0?i-4:i,f;for(f=0;f<h;f+=4)r=m[e.charCodeAt(f)]<<18|m[e.charCodeAt(f+1)]<<12|m[e.charCodeAt(f+2)]<<6|m[e.charCodeAt(f+3)],o[u++]=r>>16&255,o[u++]=r>>8&255,o[u++]=r&255;return n===2&&(r=m[e.charCodeAt(f)]<<2|m[e.charCodeAt(f+1)]>>4,o[u++]=r&255),n===1&&(r=m[e.charCodeAt(f)]<<10|m[e.charCodeAt(f+1)]<<4|m[e.charCodeAt(f+2)]>>2,o[u++]=r>>8&255,o[u++]=r&255),o}function Nr(e){return g[e>>18&63]+g[e>>12&63]+g[e>>6&63]+g[e&63]}function Wr(e,r,t){for(var i,n=[],o=r;o<t;o+=3)i=(e[o]<<16&16711680)+(e[o+1]<<8&65280)+(e[o+2]&255),n.push(Nr(i));return n.join("")}function Yr(e){for(var r,t=e.length,i=t%3,n=[],o=16383,u=0,h=t-i;u<h;u+=o)n.push(Wr(e,u,u+o>h?h:u+o));return i===1?(r=e[t-1],n.push(g[r>>2]+g[r<<4&63]+"==")):i===2&&(r=(e[t-2]<<8)+e[t-1],n.push(g[r>>10]+g[r>>4&63]+g[r<<2&63]+"=")),n.join("")}});var or=N(O=>{F();O.read=function(e,r,t,i,n){var o,u,h=n*8-i-1,f=(1<<h)-1,c=f>>1,l=-7,p=t?n-1:0,E=t?-1:1,x=e[r+p];for(p+=E,o=x&(1<<-l)-1,x>>=-l,l+=h;l>0;o=o*256+e[r+p],p+=E,l-=8);for(u=o&(1<<-l)-1,o>>=-l,l+=i;l>0;u=u*256+e[r+p],p+=E,l-=8);if(o===0)o=1-c;else{if(o===f)return u?NaN:(x?-1:1)*(1/0);u=u+Math.pow(2,i),o=o-c}return(x?-1:1)*u*Math.pow(2,o-i)};O.write=function(e,r,t,i,n,o){var u,h,f,c=o*8-n-1,l=(1<<c)-1,p=l>>1,E=n===23?Math.pow(2,-24)-Math.pow(2,-77):0,x=i?0:o-1,S=i?1:-1,Ur=r<0||r===0&&1/r<0?1:0;for(r=Math.abs(r),isNaN(r)||r===1/0?(h=isNaN(r)?1:0,u=l):(u=Math.floor(Math.log(r)/Math.LN2),r*(f=Math.pow(2,-u))<1&&(u--,f*=2),u+p>=1?r+=E/f:r+=E*Math.pow(2,1-p),r*f>=2&&(u++,f/=2),u+p>=l?(h=0,u=l):u+p>=1?(h=(r*f-1)*Math.pow(2,n),u=u+p):(h=r*Math.pow(2,p-1)*Math.pow(2,n),u=0));n>=8;e[t+x]=h&255,x+=S,h/=256,n-=8);for(u=u<<n|h,c+=n;c>0;e[t+x]=u&255,x+=S,u/=256,c-=8);e[t+x-S]|=Ur*128}});var Er=N(_=>{"use strict";F();var z=nr(),R=or(),ur=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;_.Buffer=a;_.SlowBuffer=zr;_.INSPECT_MAX_BYTES=50;var q=2147483647;_.kMaxLength=q;a.TYPED_ARRAY_SUPPORT=qr();!a.TYPED_ARRAY_SUPPORT&&typeof console!="undefined"&&typeof console.error=="function"&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function qr(){try{var e=new Uint8Array(1),r={foo:function(){return 42}};return Object.setPrototypeOf(r,Uint8Array.prototype),Object.setPrototypeOf(e,r),e.foo()===42}catch(t){return!1}}Object.defineProperty(a.prototype,"parent",{enumerable:!0,get:function(){if(!!a.isBuffer(this))return this.buffer}});Object.defineProperty(a.prototype,"offset",{enumerable:!0,get:function(){if(!!a.isBuffer(this))return this.byteOffset}});function U(e){if(e>q)throw new RangeError('The value "'+e+'" is invalid for option "size"');var r=new Uint8Array(e);return Object.setPrototypeOf(r,a.prototype),r}function a(e,r,t){if(typeof e=="number"){if(typeof r=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return K(e)}return fr(e,r,t)}a.poolSize=8192;function fr(e,r,t){if(typeof e=="string")return Xr(e,r);if(ArrayBuffer.isView(e))return Gr(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(B(e,ArrayBuffer)||e&&B(e.buffer,ArrayBuffer)||typeof SharedArrayBuffer!="undefined"&&(B(e,SharedArrayBuffer)||e&&B(e.buffer,SharedArrayBuffer)))return Q(e,r,t);if(typeof e=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var i=e.valueOf&&e.valueOf();if(i!=null&&i!==e)return a.from(i,r,t);var n=Or(e);if(n)return n;if(typeof Symbol!="undefined"&&Symbol.toPrimitive!=null&&typeof e[Symbol.toPrimitive]=="function")return a.from(e[Symbol.toPrimitive]("string"),r,t);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e)}a.from=function(e,r,t){return fr(e,r,t)};Object.setPrototypeOf(a.prototype,Uint8Array.prototype);Object.setPrototypeOf(a,Uint8Array);function pr(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 Hr(e,r,t){return pr(e),e<=0?U(e):r!==void 0?typeof t=="string"?U(e).fill(r,t):U(e).fill(r):U(e)}a.alloc=function(e,r,t){return Hr(e,r,t)};function K(e){return pr(e),U(e<0?0:Z(e)|0)}a.allocUnsafe=function(e){return K(e)};a.allocUnsafeSlow=function(e){return K(e)};function Xr(e,r){if((typeof r!="string"||r==="")&&(r="utf8"),!a.isEncoding(r))throw new TypeError("Unknown encoding: "+r);var t=cr(e,r)|0,i=U(t),n=i.write(e,r);return n!==t&&(i=i.slice(0,n)),i}function J(e){for(var r=e.length<0?0:Z(e.length)|0,t=U(r),i=0;i<r;i+=1)t[i]=e[i]&255;return t}function Gr(e){if(B(e,Uint8Array)){var r=new Uint8Array(e);return Q(r.buffer,r.byteOffset,r.byteLength)}return J(e)}function Q(e,r,t){if(r<0||e.byteLength<r)throw new RangeError('"offset" is outside of buffer bounds');if(e.byteLength<r+(t||0))throw new RangeError('"length" is outside of buffer bounds');var i;return r===void 0&&t===void 0?i=new Uint8Array(e):t===void 0?i=new Uint8Array(e,r):i=new Uint8Array(e,r,t),Object.setPrototypeOf(i,a.prototype),i}function Or(e){if(a.isBuffer(e)){var r=Z(e.length)|0,t=U(r);return t.length===0||e.copy(t,0,0,r),t}if(e.length!==void 0)return typeof e.length!="number"||$(e.length)?U(0):J(e);if(e.type==="Buffer"&&Array.isArray(e.data))return J(e.data)}function Z(e){if(e>=q)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+q.toString(16)+" bytes");return e|0}function zr(e){return+e!=e&&(e=0),a.alloc(+e)}a.isBuffer=function(r){return r!=null&&r._isBuffer===!0&&r!==a.prototype};a.compare=function(r,t){if(B(r,Uint8Array)&&(r=a.from(r,r.offset,r.byteLength)),B(t,Uint8Array)&&(t=a.from(t,t.offset,t.byteLength)),!a.isBuffer(r)||!a.isBuffer(t))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(r===t)return 0;for(var i=r.length,n=t.length,o=0,u=Math.min(i,n);o<u;++o)if(r[o]!==t[o]){i=r[o],n=t[o];break}return i<n?-1:n<i?1:0};a.isEncoding=function(r){switch(String(r).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}};a.concat=function(r,t){if(!Array.isArray(r))throw new TypeError('"list" argument must be an Array of Buffers');if(r.length===0)return a.alloc(0);var i;if(t===void 0)for(t=0,i=0;i<r.length;++i)t+=r[i].length;var n=a.allocUnsafe(t),o=0;for(i=0;i<r.length;++i){var u=r[i];if(B(u,Uint8Array))o+u.length>n.length?a.from(u).copy(n,o):Uint8Array.prototype.set.call(n,u,o);else if(a.isBuffer(u))u.copy(n,o);else throw new TypeError('"list" argument must be an Array of Buffers');o+=u.length}return n};function cr(e,r){if(a.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||B(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 t=e.length,i=arguments.length>2&&arguments[2]===!0;if(!i&&t===0)return 0;for(var n=!1;;)switch(r){case"ascii":case"latin1":case"binary":return t;case"utf8":case"utf-8":return V(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return t*2;case"hex":return t>>>1;case"base64":return mr(e).length;default:if(n)return i?-1:V(e).length;r=(""+r).toLowerCase(),n=!0}}a.byteLength=cr;function Jr(e,r,t){var i=!1;if((r===void 0||r<0)&&(r=0),r>this.length||((t===void 0||t>this.length)&&(t=this.length),t<=0)||(t>>>=0,r>>>=0,t<=r))return"";for(e||(e="utf8");;)switch(e){case"hex":return et(this,r,t);case"utf8":case"utf-8":return sr(this,r,t);case"ascii":return rt(this,r,t);case"latin1":case"binary":return tt(this,r,t);case"base64":return Pr(this,r,t);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return it(this,r,t);default:if(i)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),i=!0}}a.prototype._isBuffer=!0;function C(e,r,t){var i=e[r];e[r]=e[t],e[t]=i}a.prototype.swap16=function(){var r=this.length;if(r%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var t=0;t<r;t+=2)C(this,t,t+1);return this};a.prototype.swap32=function(){var r=this.length;if(r%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var t=0;t<r;t+=4)C(this,t,t+3),C(this,t+1,t+2);return this};a.prototype.swap64=function(){var r=this.length;if(r%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var t=0;t<r;t+=8)C(this,t,t+7),C(this,t+1,t+6),C(this,t+2,t+5),C(this,t+3,t+4);return this};a.prototype.toString=function(){var r=this.length;return r===0?"":arguments.length===0?sr(this,0,r):Jr.apply(this,arguments)};a.prototype.toLocaleString=a.prototype.toString;a.prototype.equals=function(r){if(!a.isBuffer(r))throw new TypeError("Argument must be a Buffer");return this===r?!0:a.compare(this,r)===0};a.prototype.inspect=function(){var r="",t=_.INSPECT_MAX_BYTES;return r=this.toString("hex",0,t).replace(/(.{2})/g,"$1 ").trim(),this.length>t&&(r+=" ... "),"<Buffer "+r+">"};ur&&(a.prototype[ur]=a.prototype.inspect);a.prototype.compare=function(r,t,i,n,o){if(B(r,Uint8Array)&&(r=a.from(r,r.offset,r.byteLength)),!a.isBuffer(r))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof r);if(t===void 0&&(t=0),i===void 0&&(i=r?r.length:0),n===void 0&&(n=0),o===void 0&&(o=this.length),t<0||i>r.length||n<0||o>this.length)throw new RangeError("out of range index");if(n>=o&&t>=i)return 0;if(n>=o)return-1;if(t>=i)return 1;if(t>>>=0,i>>>=0,n>>>=0,o>>>=0,this===r)return 0;for(var u=o-n,h=i-t,f=Math.min(u,h),c=this.slice(n,o),l=r.slice(t,i),p=0;p<f;++p)if(c[p]!==l[p]){u=c[p],h=l[p];break}return u<h?-1:h<u?1:0};function lr(e,r,t,i,n){if(e.length===0)return-1;if(typeof t=="string"?(i=t,t=0):t>2147483647?t=2147483647:t<-2147483648&&(t=-2147483648),t=+t,$(t)&&(t=n?0:e.length-1),t<0&&(t=e.length+t),t>=e.length){if(n)return-1;t=e.length-1}else if(t<0)if(n)t=0;else return-1;if(typeof r=="string"&&(r=a.from(r,i)),a.isBuffer(r))return r.length===0?-1:ar(e,r,t,i,n);if(typeof r=="number")return r=r&255,typeof Uint8Array.prototype.indexOf=="function"?n?Uint8Array.prototype.indexOf.call(e,r,t):Uint8Array.prototype.lastIndexOf.call(e,r,t):ar(e,[r],t,i,n);throw new TypeError("val must be string, number or Buffer")}function ar(e,r,t,i,n){var o=1,u=e.length,h=r.length;if(i!==void 0&&(i=String(i).toLowerCase(),i==="ucs2"||i==="ucs-2"||i==="utf16le"||i==="utf-16le")){if(e.length<2||r.length<2)return-1;o=2,u/=2,h/=2,t/=2}function f(x,S){return o===1?x[S]:x.readUInt16BE(S*o)}var c;if(n){var l=-1;for(c=t;c<u;c++)if(f(e,c)===f(r,l===-1?0:c-l)){if(l===-1&&(l=c),c-l+1===h)return l*o}else l!==-1&&(c-=c-l),l=-1}else for(t+h>u&&(t=u-h),c=t;c>=0;c--){for(var p=!0,E=0;E<h;E++)if(f(e,c+E)!==f(r,E)){p=!1;break}if(p)return c}return-1}a.prototype.includes=function(r,t,i){return this.indexOf(r,t,i)!==-1};a.prototype.indexOf=function(r,t,i){return lr(this,r,t,i,!0)};a.prototype.lastIndexOf=function(r,t,i){return lr(this,r,t,i,!1)};function Qr(e,r,t,i){t=Number(t)||0;var n=e.length-t;i?(i=Number(i),i>n&&(i=n)):i=n;var o=r.length;i>o/2&&(i=o/2);for(var u=0;u<i;++u){var h=parseInt(r.substr(u*2,2),16);if($(h))return u;e[t+u]=h}return u}function Vr(e,r,t,i){return H(V(r,e.length-t),e,t,i)}function Kr(e,r,t,i){return H(ut(r),e,t,i)}function Zr(e,r,t,i){return H(mr(r),e,t,i)}function $r(e,r,t,i){return H(at(r,e.length-t),e,t,i)}a.prototype.write=function(r,t,i,n){if(t===void 0)n="utf8",i=this.length,t=0;else if(i===void 0&&typeof t=="string")n=t,i=this.length,t=0;else if(isFinite(t))t=t>>>0,isFinite(i)?(i=i>>>0,n===void 0&&(n="utf8")):(n=i,i=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var o=this.length-t;if((i===void 0||i>o)&&(i=o),r.length>0&&(i<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");n||(n="utf8");for(var u=!1;;)switch(n){case"hex":return Qr(this,r,t,i);case"utf8":case"utf-8":return Vr(this,r,t,i);case"ascii":case"latin1":case"binary":return Kr(this,r,t,i);case"base64":return Zr(this,r,t,i);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return $r(this,r,t,i);default:if(u)throw new TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),u=!0}};a.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function Pr(e,r,t){return r===0&&t===e.length?z.fromByteArray(e):z.fromByteArray(e.slice(r,t))}function sr(e,r,t){t=Math.min(e.length,t);for(var i=[],n=r;n<t;){var o=e[n],u=null,h=o>239?4:o>223?3:o>191?2:1;if(n+h<=t){var f,c,l,p;switch(h){case 1:o<128&&(u=o);break;case 2:f=e[n+1],(f&192)===128&&(p=(o&31)<<6|f&63,p>127&&(u=p));break;case 3:f=e[n+1],c=e[n+2],(f&192)===128&&(c&192)===128&&(p=(o&15)<<12|(f&63)<<6|c&63,p>2047&&(p<55296||p>57343)&&(u=p));break;case 4:f=e[n+1],c=e[n+2],l=e[n+3],(f&192)===128&&(c&192)===128&&(l&192)===128&&(p=(o&15)<<18|(f&63)<<12|(c&63)<<6|l&63,p>65535&&p<1114112&&(u=p))}}u===null?(u=65533,h=1):u>65535&&(u-=65536,i.push(u>>>10&1023|55296),u=56320|u&1023),i.push(u),n+=h}return jr(i)}var hr=4096;function jr(e){var r=e.length;if(r<=hr)return String.fromCharCode.apply(String,e);for(var t="",i=0;i<r;)t+=String.fromCharCode.apply(String,e.slice(i,i+=hr));return t}function rt(e,r,t){var i="";t=Math.min(e.length,t);for(var n=r;n<t;++n)i+=String.fromCharCode(e[n]&127);return i}function tt(e,r,t){var i="";t=Math.min(e.length,t);for(var n=r;n<t;++n)i+=String.fromCharCode(e[n]);return i}function et(e,r,t){var i=e.length;(!r||r<0)&&(r=0),(!t||t<0||t>i)&&(t=i);for(var n="",o=r;o<t;++o)n+=ht[e[o]];return n}function it(e,r,t){for(var i=e.slice(r,t),n="",o=0;o<i.length-1;o+=2)n+=String.fromCharCode(i[o]+i[o+1]*256);return n}a.prototype.slice=function(r,t){var i=this.length;r=~~r,t=t===void 0?i:~~t,r<0?(r+=i,r<0&&(r=0)):r>i&&(r=i),t<0?(t+=i,t<0&&(t=0)):t>i&&(t=i),t<r&&(t=r);var n=this.subarray(r,t);return Object.setPrototypeOf(n,a.prototype),n};function w(e,r,t){if(e%1!==0||e<0)throw new RangeError("offset is not uint");if(e+r>t)throw new RangeError("Trying to access beyond buffer length")}a.prototype.readUintLE=a.prototype.readUIntLE=function(r,t,i){r=r>>>0,t=t>>>0,i||w(r,t,this.length);for(var n=this[r],o=1,u=0;++u<t&&(o*=256);)n+=this[r+u]*o;return n};a.prototype.readUintBE=a.prototype.readUIntBE=function(r,t,i){r=r>>>0,t=t>>>0,i||w(r,t,this.length);for(var n=this[r+--t],o=1;t>0&&(o*=256);)n+=this[r+--t]*o;return n};a.prototype.readUint8=a.prototype.readUInt8=function(r,t){return r=r>>>0,t||w(r,1,this.length),this[r]};a.prototype.readUint16LE=a.prototype.readUInt16LE=function(r,t){return r=r>>>0,t||w(r,2,this.length),this[r]|this[r+1]<<8};a.prototype.readUint16BE=a.prototype.readUInt16BE=function(r,t){return r=r>>>0,t||w(r,2,this.length),this[r]<<8|this[r+1]};a.prototype.readUint32LE=a.prototype.readUInt32LE=function(r,t){return r=r>>>0,t||w(r,4,this.length),(this[r]|this[r+1]<<8|this[r+2]<<16)+this[r+3]*16777216};a.prototype.readUint32BE=a.prototype.readUInt32BE=function(r,t){return r=r>>>0,t||w(r,4,this.length),this[r]*16777216+(this[r+1]<<16|this[r+2]<<8|this[r+3])};a.prototype.readIntLE=function(r,t,i){r=r>>>0,t=t>>>0,i||w(r,t,this.length);for(var n=this[r],o=1,u=0;++u<t&&(o*=256);)n+=this[r+u]*o;return o*=128,n>=o&&(n-=Math.pow(2,8*t)),n};a.prototype.readIntBE=function(r,t,i){r=r>>>0,t=t>>>0,i||w(r,t,this.length);for(var n=t,o=1,u=this[r+--n];n>0&&(o*=256);)u+=this[r+--n]*o;return o*=128,u>=o&&(u-=Math.pow(2,8*t)),u};a.prototype.readInt8=function(r,t){return r=r>>>0,t||w(r,1,this.length),this[r]&128?(255-this[r]+1)*-1:this[r]};a.prototype.readInt16LE=function(r,t){r=r>>>0,t||w(r,2,this.length);var i=this[r]|this[r+1]<<8;return i&32768?i|4294901760:i};a.prototype.readInt16BE=function(r,t){r=r>>>0,t||w(r,2,this.length);var i=this[r+1]|this[r]<<8;return i&32768?i|4294901760:i};a.prototype.readInt32LE=function(r,t){return r=r>>>0,t||w(r,4,this.length),this[r]|this[r+1]<<8|this[r+2]<<16|this[r+3]<<24};a.prototype.readInt32BE=function(r,t){return r=r>>>0,t||w(r,4,this.length),this[r]<<24|this[r+1]<<16|this[r+2]<<8|this[r+3]};a.prototype.readFloatLE=function(r,t){return r=r>>>0,t||w(r,4,this.length),R.read(this,r,!0,23,4)};a.prototype.readFloatBE=function(r,t){return r=r>>>0,t||w(r,4,this.length),R.read(this,r,!1,23,4)};a.prototype.readDoubleLE=function(r,t){return r=r>>>0,t||w(r,8,this.length),R.read(this,r,!0,52,8)};a.prototype.readDoubleBE=function(r,t){return r=r>>>0,t||w(r,8,this.length),R.read(this,r,!1,52,8)};function y(e,r,t,i,n,o){if(!a.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(r>n||r<o)throw new RangeError('"value" argument is out of bounds');if(t+i>e.length)throw new RangeError("Index out of range")}a.prototype.writeUintLE=a.prototype.writeUIntLE=function(r,t,i,n){if(r=+r,t=t>>>0,i=i>>>0,!n){var o=Math.pow(2,8*i)-1;y(this,r,t,i,o,0)}var u=1,h=0;for(this[t]=r&255;++h<i&&(u*=256);)this[t+h]=r/u&255;return t+i};a.prototype.writeUintBE=a.prototype.writeUIntBE=function(r,t,i,n){if(r=+r,t=t>>>0,i=i>>>0,!n){var o=Math.pow(2,8*i)-1;y(this,r,t,i,o,0)}var u=i-1,h=1;for(this[t+u]=r&255;--u>=0&&(h*=256);)this[t+u]=r/h&255;return t+i};a.prototype.writeUint8=a.prototype.writeUInt8=function(r,t,i){return r=+r,t=t>>>0,i||y(this,r,t,1,255,0),this[t]=r&255,t+1};a.prototype.writeUint16LE=a.prototype.writeUInt16LE=function(r,t,i){return r=+r,t=t>>>0,i||y(this,r,t,2,65535,0),this[t]=r&255,this[t+1]=r>>>8,t+2};a.prototype.writeUint16BE=a.prototype.writeUInt16BE=function(r,t,i){return r=+r,t=t>>>0,i||y(this,r,t,2,65535,0),this[t]=r>>>8,this[t+1]=r&255,t+2};a.prototype.writeUint32LE=a.prototype.writeUInt32LE=function(r,t,i){return r=+r,t=t>>>0,i||y(this,r,t,4,4294967295,0),this[t+3]=r>>>24,this[t+2]=r>>>16,this[t+1]=r>>>8,this[t]=r&255,t+4};a.prototype.writeUint32BE=a.prototype.writeUInt32BE=function(r,t,i){return r=+r,t=t>>>0,i||y(this,r,t,4,4294967295,0),this[t]=r>>>24,this[t+1]=r>>>16,this[t+2]=r>>>8,this[t+3]=r&255,t+4};a.prototype.writeIntLE=function(r,t,i,n){if(r=+r,t=t>>>0,!n){var o=Math.pow(2,8*i-1);y(this,r,t,i,o-1,-o)}var u=0,h=1,f=0;for(this[t]=r&255;++u<i&&(h*=256);)r<0&&f===0&&this[t+u-1]!==0&&(f=1),this[t+u]=(r/h>>0)-f&255;return t+i};a.prototype.writeIntBE=function(r,t,i,n){if(r=+r,t=t>>>0,!n){var o=Math.pow(2,8*i-1);y(this,r,t,i,o-1,-o)}var u=i-1,h=1,f=0;for(this[t+u]=r&255;--u>=0&&(h*=256);)r<0&&f===0&&this[t+u+1]!==0&&(f=1),this[t+u]=(r/h>>0)-f&255;return t+i};a.prototype.writeInt8=function(r,t,i){return r=+r,t=t>>>0,i||y(this,r,t,1,127,-128),r<0&&(r=255+r+1),this[t]=r&255,t+1};a.prototype.writeInt16LE=function(r,t,i){return r=+r,t=t>>>0,i||y(this,r,t,2,32767,-32768),this[t]=r&255,this[t+1]=r>>>8,t+2};a.prototype.writeInt16BE=function(r,t,i){return r=+r,t=t>>>0,i||y(this,r,t,2,32767,-32768),this[t]=r>>>8,this[t+1]=r&255,t+2};a.prototype.writeInt32LE=function(r,t,i){return r=+r,t=t>>>0,i||y(this,r,t,4,2147483647,-2147483648),this[t]=r&255,this[t+1]=r>>>8,this[t+2]=r>>>16,this[t+3]=r>>>24,t+4};a.prototype.writeInt32BE=function(r,t,i){return r=+r,t=t>>>0,i||y(this,r,t,4,2147483647,-2147483648),r<0&&(r=4294967295+r+1),this[t]=r>>>24,this[t+1]=r>>>16,this[t+2]=r>>>8,this[t+3]=r&255,t+4};function wr(e,r,t,i,n,o){if(t+i>e.length)throw new RangeError("Index out of range");if(t<0)throw new RangeError("Index out of range")}function yr(e,r,t,i,n){return r=+r,t=t>>>0,n||wr(e,r,t,4,34028234663852886e22,-34028234663852886e22),R.write(e,r,t,i,23,4),t+4}a.prototype.writeFloatLE=function(r,t,i){return yr(this,r,t,!0,i)};a.prototype.writeFloatBE=function(r,t,i){return yr(this,r,t,!1,i)};function xr(e,r,t,i,n){return r=+r,t=t>>>0,n||wr(e,r,t,8,17976931348623157e292,-17976931348623157e292),R.write(e,r,t,i,52,8),t+8}a.prototype.writeDoubleLE=function(r,t,i){return xr(this,r,t,!0,i)};a.prototype.writeDoubleBE=function(r,t,i){return xr(this,r,t,!1,i)};a.prototype.copy=function(r,t,i,n){if(!a.isBuffer(r))throw new TypeError("argument should be a Buffer");if(i||(i=0),!n&&n!==0&&(n=this.length),t>=r.length&&(t=r.length),t||(t=0),n>0&&n<i&&(n=i),n===i||r.length===0||this.length===0)return 0;if(t<0)throw new RangeError("targetStart out of bounds");if(i<0||i>=this.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),r.length-t<n-i&&(n=r.length-t+i);var o=n-i;return this===r&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(t,i,n):Uint8Array.prototype.set.call(r,this.subarray(i,n),t),o};a.prototype.fill=function(r,t,i,n){if(typeof r=="string"){if(typeof t=="string"?(n=t,t=0,i=this.length):typeof i=="string"&&(n=i,i=this.length),n!==void 0&&typeof n!="string")throw new TypeError("encoding must be a string");if(typeof n=="string"&&!a.isEncoding(n))throw new TypeError("Unknown encoding: "+n);if(r.length===1){var o=r.charCodeAt(0);(n==="utf8"&&o<128||n==="latin1")&&(r=o)}}else typeof r=="number"?r=r&255:typeof r=="boolean"&&(r=Number(r));if(t<0||this.length<t||this.length<i)throw new RangeError("Out of range index");if(i<=t)return this;t=t>>>0,i=i===void 0?this.length:i>>>0,r||(r=0);var u;if(typeof r=="number")for(u=t;u<i;++u)this[u]=r;else{var h=a.isBuffer(r)?r:a.from(r,n),f=h.length;if(f===0)throw new TypeError('The value "'+r+'" is invalid for argument "value"');for(u=0;u<i-t;++u)this[u+t]=h[u%f]}return this};var nt=/[^+/0-9A-Za-z-_]/g;function ot(e){if(e=e.split("=")[0],e=e.trim().replace(nt,""),e.length<2)return"";for(;e.length%4!==0;)e=e+"=";return e}function V(e,r){r=r||1/0;for(var t,i=e.length,n=null,o=[],u=0;u<i;++u){if(t=e.charCodeAt(u),t>55295&&t<57344){if(!n){if(t>56319){(r-=3)>-1&&o.push(239,191,189);continue}else if(u+1===i){(r-=3)>-1&&o.push(239,191,189);continue}n=t;continue}if(t<56320){(r-=3)>-1&&o.push(239,191,189),n=t;continue}t=(n-55296<<10|t-56320)+65536}else n&&(r-=3)>-1&&o.push(239,191,189);if(n=null,t<128){if((r-=1)<0)break;o.push(t)}else if(t<2048){if((r-=2)<0)break;o.push(t>>6|192,t&63|128)}else if(t<65536){if((r-=3)<0)break;o.push(t>>12|224,t>>6&63|128,t&63|128)}else if(t<1114112){if((r-=4)<0)break;o.push(t>>18|240,t>>12&63|128,t>>6&63|128,t&63|128)}else throw new Error("Invalid code point")}return o}function ut(e){for(var r=[],t=0;t<e.length;++t)r.push(e.charCodeAt(t)&255);return r}function at(e,r){for(var t,i,n,o=[],u=0;u<e.length&&!((r-=2)<0);++u)t=e.charCodeAt(u),i=t>>8,n=t%256,o.push(n),o.push(i);return o}function mr(e){return z.toByteArray(ot(e))}function H(e,r,t,i){for(var n=0;n<i&&!(n+t>=r.length||n>=e.length);++n)r[n+t]=e[n];return n}function B(e,r){return e instanceof r||e!=null&&e.constructor!=null&&e.constructor.name!=null&&e.constructor.name===r.name}function $(e){return e!==e}var ht=function(){for(var e="0123456789abcdef",r=new Array(256),t=0;t<16;++t)for(var i=t*16,n=0;n<16;++n)r[i+n]=e[t]+e[n];return r}()});var vr=N((mt,Ar)=>{F();var s=Ar.exports={},A,v;function P(){throw new Error("setTimeout has not been defined")}function j(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?A=setTimeout:A=P}catch(e){A=P}try{typeof clearTimeout=="function"?v=clearTimeout:v=j}catch(e){v=j}})();function Fr(e){if(A===setTimeout)return setTimeout(e,0);if((A===P||!A)&&setTimeout)return A=setTimeout,setTimeout(e,0);try{return A(e,0)}catch(r){try{return A.call(null,e,0)}catch(t){return A.call(this,e,0)}}}function ft(e){if(v===clearTimeout)return clearTimeout(e);if((v===j||!v)&&clearTimeout)return v=clearTimeout,clearTimeout(e);try{return v(e)}catch(r){try{return v.call(null,e)}catch(t){return v.call(this,e)}}}var I=[],M=!1,L,X=-1;function pt(){!M||!L||(M=!1,L.length?I=L.concat(I):X=-1,I.length&&gr())}function gr(){if(!M){var e=Fr(pt);M=!0;for(var r=I.length;r;){for(L=I,I=[];++X<r;)L&&L[X].run();X=-1,r=I.length}L=null,M=!1,ft(e)}}s.nextTick=function(e){var r=new Array(arguments.length-1);if(arguments.length>1)for(var t=1;t<arguments.length;t++)r[t-1]=arguments[t];I.push(new Br(e,r)),I.length===1&&!M&&Fr(gr)};function Br(e,r){this.fun=e,this.array=r}Br.prototype.run=function(){this.fun.apply(null,this.array)};s.title="browser";s.browser=!0;s.env={};s.argv=[];s.version="";s.versions={};function T(){}s.on=T;s.addListener=T;s.once=T;s.off=T;s.removeListener=T;s.removeAllListeners=T;s.emit=T;s.prependListener=T;s.prependOnceListener=T;s.listeners=function(e){return[]};s.binding=function(e){throw new Error("process.binding is not supported")};s.cwd=function(){return"/"};s.chdir=function(e){throw new Error("process.chdir is not supported")};s.umask=function(){return 0}});var D,k,Et,F=Sr(()=>{D=tr(Er()),k=tr(vr()),Et=function(e){function r(){var i=this||self;return delete e.prototype.__magic__,i}if(typeof globalThis=="object")return globalThis;if(this)return r();e.defineProperty(e.prototype,"__magic__",{configurable:!0,get:r});var t=__magic__;return t}(Object)});var lt={};Rr(lt,{trimUsernameDomain:()=>ct});module.exports=_r(lt);F();var ct=e=>e?e.lastIndexOf(".")>0?e.substring(0,e.lastIndexOf(".")):e:void 0;0&&(module.exports={trimUsernameDomain});
1
+ "use strict";var Ir=Object.create;var b=Object.defineProperty;var Tr=Object.getOwnPropertyDescriptor;var dr=Object.getOwnPropertyNames;var Cr=Object.getPrototypeOf,Lr=Object.prototype.hasOwnProperty;var Sr=(e,r)=>()=>(e&&(r=e(e=0)),r);var N=(e,r)=>()=>(r||e((r={exports:{}}).exports,r),r.exports),Rr=(e,r)=>{for(var t in r)b(e,t,{get:r[t],enumerable:!0})},rr=(e,r,t,i)=>{if(r&&typeof r=="object"||typeof r=="function")for(let n of dr(r))!Lr.call(e,n)&&n!==t&&b(e,n,{get:()=>r[n],enumerable:!(i=Tr(r,n))||i.enumerable});return e};var tr=(e,r,t)=>(t=e!=null?Ir(Cr(e)):{},rr(r||!e||!e.__esModule?b(t,"default",{value:e,enumerable:!0}):t,e)),_r=e=>rr(b({},"__esModule",{value:!0}),e);var nr=N(W=>{"use strict";F();W.byteLength=Dr;W.toByteArray=br;W.fromByteArray=Yr;var g=[],m=[],Mr=typeof Uint8Array!="undefined"?Uint8Array:Array,G="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(d=0,er=G.length;d<er;++d)g[d]=G[d],m[G.charCodeAt(d)]=d;var d,er;m["-".charCodeAt(0)]=62;m["_".charCodeAt(0)]=63;function ir(e){var r=e.length;if(r%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var t=e.indexOf("=");t===-1&&(t=r);var i=t===r?0:4-t%4;return[t,i]}function Dr(e){var r=ir(e),t=r[0],i=r[1];return(t+i)*3/4-i}function kr(e,r,t){return(r+t)*3/4-t}function br(e){var r,t=ir(e),i=t[0],n=t[1],o=new Mr(kr(e,i,n)),u=0,h=n>0?i-4:i,f;for(f=0;f<h;f+=4)r=m[e.charCodeAt(f)]<<18|m[e.charCodeAt(f+1)]<<12|m[e.charCodeAt(f+2)]<<6|m[e.charCodeAt(f+3)],o[u++]=r>>16&255,o[u++]=r>>8&255,o[u++]=r&255;return n===2&&(r=m[e.charCodeAt(f)]<<2|m[e.charCodeAt(f+1)]>>4,o[u++]=r&255),n===1&&(r=m[e.charCodeAt(f)]<<10|m[e.charCodeAt(f+1)]<<4|m[e.charCodeAt(f+2)]>>2,o[u++]=r>>8&255,o[u++]=r&255),o}function Nr(e){return g[e>>18&63]+g[e>>12&63]+g[e>>6&63]+g[e&63]}function Wr(e,r,t){for(var i,n=[],o=r;o<t;o+=3)i=(e[o]<<16&16711680)+(e[o+1]<<8&65280)+(e[o+2]&255),n.push(Nr(i));return n.join("")}function Yr(e){for(var r,t=e.length,i=t%3,n=[],o=16383,u=0,h=t-i;u<h;u+=o)n.push(Wr(e,u,u+o>h?h:u+o));return i===1?(r=e[t-1],n.push(g[r>>2]+g[r<<4&63]+"==")):i===2&&(r=(e[t-2]<<8)+e[t-1],n.push(g[r>>10]+g[r>>4&63]+g[r<<2&63]+"=")),n.join("")}});var or=N(O=>{F();O.read=function(e,r,t,i,n){var o,u,h=n*8-i-1,f=(1<<h)-1,c=f>>1,l=-7,p=t?n-1:0,E=t?-1:1,x=e[r+p];for(p+=E,o=x&(1<<-l)-1,x>>=-l,l+=h;l>0;o=o*256+e[r+p],p+=E,l-=8);for(u=o&(1<<-l)-1,o>>=-l,l+=i;l>0;u=u*256+e[r+p],p+=E,l-=8);if(o===0)o=1-c;else{if(o===f)return u?NaN:(x?-1:1)*(1/0);u=u+Math.pow(2,i),o=o-c}return(x?-1:1)*u*Math.pow(2,o-i)};O.write=function(e,r,t,i,n,o){var u,h,f,c=o*8-n-1,l=(1<<c)-1,p=l>>1,E=n===23?Math.pow(2,-24)-Math.pow(2,-77):0,x=i?0:o-1,S=i?1:-1,Ur=r<0||r===0&&1/r<0?1:0;for(r=Math.abs(r),isNaN(r)||r===1/0?(h=isNaN(r)?1:0,u=l):(u=Math.floor(Math.log(r)/Math.LN2),r*(f=Math.pow(2,-u))<1&&(u--,f*=2),u+p>=1?r+=E/f:r+=E*Math.pow(2,1-p),r*f>=2&&(u++,f/=2),u+p>=l?(h=0,u=l):u+p>=1?(h=(r*f-1)*Math.pow(2,n),u=u+p):(h=r*Math.pow(2,p-1)*Math.pow(2,n),u=0));n>=8;e[t+x]=h&255,x+=S,h/=256,n-=8);for(u=u<<n|h,c+=n;c>0;e[t+x]=u&255,x+=S,u/=256,c-=8);e[t+x-S]|=Ur*128}});var Er=N(_=>{"use strict";F();var z=nr(),R=or(),ur=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;_.Buffer=a;_.SlowBuffer=zr;_.INSPECT_MAX_BYTES=50;var q=2147483647;_.kMaxLength=q;a.TYPED_ARRAY_SUPPORT=qr();!a.TYPED_ARRAY_SUPPORT&&typeof console!="undefined"&&typeof console.error=="function"&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function qr(){try{var e=new Uint8Array(1),r={foo:function(){return 42}};return Object.setPrototypeOf(r,Uint8Array.prototype),Object.setPrototypeOf(e,r),e.foo()===42}catch(t){return!1}}Object.defineProperty(a.prototype,"parent",{enumerable:!0,get:function(){if(!!a.isBuffer(this))return this.buffer}});Object.defineProperty(a.prototype,"offset",{enumerable:!0,get:function(){if(!!a.isBuffer(this))return this.byteOffset}});function U(e){if(e>q)throw new RangeError('The value "'+e+'" is invalid for option "size"');var r=new Uint8Array(e);return Object.setPrototypeOf(r,a.prototype),r}function a(e,r,t){if(typeof e=="number"){if(typeof r=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return K(e)}return fr(e,r,t)}a.poolSize=8192;function fr(e,r,t){if(typeof e=="string")return Xr(e,r);if(ArrayBuffer.isView(e))return Gr(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(B(e,ArrayBuffer)||e&&B(e.buffer,ArrayBuffer)||typeof SharedArrayBuffer!="undefined"&&(B(e,SharedArrayBuffer)||e&&B(e.buffer,SharedArrayBuffer)))return Q(e,r,t);if(typeof e=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var i=e.valueOf&&e.valueOf();if(i!=null&&i!==e)return a.from(i,r,t);var n=Or(e);if(n)return n;if(typeof Symbol!="undefined"&&Symbol.toPrimitive!=null&&typeof e[Symbol.toPrimitive]=="function")return a.from(e[Symbol.toPrimitive]("string"),r,t);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e)}a.from=function(e,r,t){return fr(e,r,t)};Object.setPrototypeOf(a.prototype,Uint8Array.prototype);Object.setPrototypeOf(a,Uint8Array);function pr(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 Hr(e,r,t){return pr(e),e<=0?U(e):r!==void 0?typeof t=="string"?U(e).fill(r,t):U(e).fill(r):U(e)}a.alloc=function(e,r,t){return Hr(e,r,t)};function K(e){return pr(e),U(e<0?0:Z(e)|0)}a.allocUnsafe=function(e){return K(e)};a.allocUnsafeSlow=function(e){return K(e)};function Xr(e,r){if((typeof r!="string"||r==="")&&(r="utf8"),!a.isEncoding(r))throw new TypeError("Unknown encoding: "+r);var t=cr(e,r)|0,i=U(t),n=i.write(e,r);return n!==t&&(i=i.slice(0,n)),i}function J(e){for(var r=e.length<0?0:Z(e.length)|0,t=U(r),i=0;i<r;i+=1)t[i]=e[i]&255;return t}function Gr(e){if(B(e,Uint8Array)){var r=new Uint8Array(e);return Q(r.buffer,r.byteOffset,r.byteLength)}return J(e)}function Q(e,r,t){if(r<0||e.byteLength<r)throw new RangeError('"offset" is outside of buffer bounds');if(e.byteLength<r+(t||0))throw new RangeError('"length" is outside of buffer bounds');var i;return r===void 0&&t===void 0?i=new Uint8Array(e):t===void 0?i=new Uint8Array(e,r):i=new Uint8Array(e,r,t),Object.setPrototypeOf(i,a.prototype),i}function Or(e){if(a.isBuffer(e)){var r=Z(e.length)|0,t=U(r);return t.length===0||e.copy(t,0,0,r),t}if(e.length!==void 0)return typeof e.length!="number"||$(e.length)?U(0):J(e);if(e.type==="Buffer"&&Array.isArray(e.data))return J(e.data)}function Z(e){if(e>=q)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+q.toString(16)+" bytes");return e|0}function zr(e){return+e!=e&&(e=0),a.alloc(+e)}a.isBuffer=function(r){return r!=null&&r._isBuffer===!0&&r!==a.prototype};a.compare=function(r,t){if(B(r,Uint8Array)&&(r=a.from(r,r.offset,r.byteLength)),B(t,Uint8Array)&&(t=a.from(t,t.offset,t.byteLength)),!a.isBuffer(r)||!a.isBuffer(t))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(r===t)return 0;for(var i=r.length,n=t.length,o=0,u=Math.min(i,n);o<u;++o)if(r[o]!==t[o]){i=r[o],n=t[o];break}return i<n?-1:n<i?1:0};a.isEncoding=function(r){switch(String(r).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}};a.concat=function(r,t){if(!Array.isArray(r))throw new TypeError('"list" argument must be an Array of Buffers');if(r.length===0)return a.alloc(0);var i;if(t===void 0)for(t=0,i=0;i<r.length;++i)t+=r[i].length;var n=a.allocUnsafe(t),o=0;for(i=0;i<r.length;++i){var u=r[i];if(B(u,Uint8Array))o+u.length>n.length?a.from(u).copy(n,o):Uint8Array.prototype.set.call(n,u,o);else if(a.isBuffer(u))u.copy(n,o);else throw new TypeError('"list" argument must be an Array of Buffers');o+=u.length}return n};function cr(e,r){if(a.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||B(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 t=e.length,i=arguments.length>2&&arguments[2]===!0;if(!i&&t===0)return 0;for(var n=!1;;)switch(r){case"ascii":case"latin1":case"binary":return t;case"utf8":case"utf-8":return V(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return t*2;case"hex":return t>>>1;case"base64":return mr(e).length;default:if(n)return i?-1:V(e).length;r=(""+r).toLowerCase(),n=!0}}a.byteLength=cr;function Jr(e,r,t){var i=!1;if((r===void 0||r<0)&&(r=0),r>this.length||((t===void 0||t>this.length)&&(t=this.length),t<=0)||(t>>>=0,r>>>=0,t<=r))return"";for(e||(e="utf8");;)switch(e){case"hex":return et(this,r,t);case"utf8":case"utf-8":return sr(this,r,t);case"ascii":return rt(this,r,t);case"latin1":case"binary":return tt(this,r,t);case"base64":return Pr(this,r,t);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return it(this,r,t);default:if(i)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),i=!0}}a.prototype._isBuffer=!0;function C(e,r,t){var i=e[r];e[r]=e[t],e[t]=i}a.prototype.swap16=function(){var r=this.length;if(r%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var t=0;t<r;t+=2)C(this,t,t+1);return this};a.prototype.swap32=function(){var r=this.length;if(r%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var t=0;t<r;t+=4)C(this,t,t+3),C(this,t+1,t+2);return this};a.prototype.swap64=function(){var r=this.length;if(r%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var t=0;t<r;t+=8)C(this,t,t+7),C(this,t+1,t+6),C(this,t+2,t+5),C(this,t+3,t+4);return this};a.prototype.toString=function(){var r=this.length;return r===0?"":arguments.length===0?sr(this,0,r):Jr.apply(this,arguments)};a.prototype.toLocaleString=a.prototype.toString;a.prototype.equals=function(r){if(!a.isBuffer(r))throw new TypeError("Argument must be a Buffer");return this===r?!0:a.compare(this,r)===0};a.prototype.inspect=function(){var r="",t=_.INSPECT_MAX_BYTES;return r=this.toString("hex",0,t).replace(/(.{2})/g,"$1 ").trim(),this.length>t&&(r+=" ... "),"<Buffer "+r+">"};ur&&(a.prototype[ur]=a.prototype.inspect);a.prototype.compare=function(r,t,i,n,o){if(B(r,Uint8Array)&&(r=a.from(r,r.offset,r.byteLength)),!a.isBuffer(r))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof r);if(t===void 0&&(t=0),i===void 0&&(i=r?r.length:0),n===void 0&&(n=0),o===void 0&&(o=this.length),t<0||i>r.length||n<0||o>this.length)throw new RangeError("out of range index");if(n>=o&&t>=i)return 0;if(n>=o)return-1;if(t>=i)return 1;if(t>>>=0,i>>>=0,n>>>=0,o>>>=0,this===r)return 0;for(var u=o-n,h=i-t,f=Math.min(u,h),c=this.slice(n,o),l=r.slice(t,i),p=0;p<f;++p)if(c[p]!==l[p]){u=c[p],h=l[p];break}return u<h?-1:h<u?1:0};function lr(e,r,t,i,n){if(e.length===0)return-1;if(typeof t=="string"?(i=t,t=0):t>2147483647?t=2147483647:t<-2147483648&&(t=-2147483648),t=+t,$(t)&&(t=n?0:e.length-1),t<0&&(t=e.length+t),t>=e.length){if(n)return-1;t=e.length-1}else if(t<0)if(n)t=0;else return-1;if(typeof r=="string"&&(r=a.from(r,i)),a.isBuffer(r))return r.length===0?-1:ar(e,r,t,i,n);if(typeof r=="number")return r=r&255,typeof Uint8Array.prototype.indexOf=="function"?n?Uint8Array.prototype.indexOf.call(e,r,t):Uint8Array.prototype.lastIndexOf.call(e,r,t):ar(e,[r],t,i,n);throw new TypeError("val must be string, number or Buffer")}function ar(e,r,t,i,n){var o=1,u=e.length,h=r.length;if(i!==void 0&&(i=String(i).toLowerCase(),i==="ucs2"||i==="ucs-2"||i==="utf16le"||i==="utf-16le")){if(e.length<2||r.length<2)return-1;o=2,u/=2,h/=2,t/=2}function f(x,S){return o===1?x[S]:x.readUInt16BE(S*o)}var c;if(n){var l=-1;for(c=t;c<u;c++)if(f(e,c)===f(r,l===-1?0:c-l)){if(l===-1&&(l=c),c-l+1===h)return l*o}else l!==-1&&(c-=c-l),l=-1}else for(t+h>u&&(t=u-h),c=t;c>=0;c--){for(var p=!0,E=0;E<h;E++)if(f(e,c+E)!==f(r,E)){p=!1;break}if(p)return c}return-1}a.prototype.includes=function(r,t,i){return this.indexOf(r,t,i)!==-1};a.prototype.indexOf=function(r,t,i){return lr(this,r,t,i,!0)};a.prototype.lastIndexOf=function(r,t,i){return lr(this,r,t,i,!1)};function Qr(e,r,t,i){t=Number(t)||0;var n=e.length-t;i?(i=Number(i),i>n&&(i=n)):i=n;var o=r.length;i>o/2&&(i=o/2);for(var u=0;u<i;++u){var h=parseInt(r.substr(u*2,2),16);if($(h))return u;e[t+u]=h}return u}function Vr(e,r,t,i){return H(V(r,e.length-t),e,t,i)}function Kr(e,r,t,i){return H(ut(r),e,t,i)}function Zr(e,r,t,i){return H(mr(r),e,t,i)}function $r(e,r,t,i){return H(at(r,e.length-t),e,t,i)}a.prototype.write=function(r,t,i,n){if(t===void 0)n="utf8",i=this.length,t=0;else if(i===void 0&&typeof t=="string")n=t,i=this.length,t=0;else if(isFinite(t))t=t>>>0,isFinite(i)?(i=i>>>0,n===void 0&&(n="utf8")):(n=i,i=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var o=this.length-t;if((i===void 0||i>o)&&(i=o),r.length>0&&(i<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");n||(n="utf8");for(var u=!1;;)switch(n){case"hex":return Qr(this,r,t,i);case"utf8":case"utf-8":return Vr(this,r,t,i);case"ascii":case"latin1":case"binary":return Kr(this,r,t,i);case"base64":return Zr(this,r,t,i);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return $r(this,r,t,i);default:if(u)throw new TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),u=!0}};a.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function Pr(e,r,t){return r===0&&t===e.length?z.fromByteArray(e):z.fromByteArray(e.slice(r,t))}function sr(e,r,t){t=Math.min(e.length,t);for(var i=[],n=r;n<t;){var o=e[n],u=null,h=o>239?4:o>223?3:o>191?2:1;if(n+h<=t){var f,c,l,p;switch(h){case 1:o<128&&(u=o);break;case 2:f=e[n+1],(f&192)===128&&(p=(o&31)<<6|f&63,p>127&&(u=p));break;case 3:f=e[n+1],c=e[n+2],(f&192)===128&&(c&192)===128&&(p=(o&15)<<12|(f&63)<<6|c&63,p>2047&&(p<55296||p>57343)&&(u=p));break;case 4:f=e[n+1],c=e[n+2],l=e[n+3],(f&192)===128&&(c&192)===128&&(l&192)===128&&(p=(o&15)<<18|(f&63)<<12|(c&63)<<6|l&63,p>65535&&p<1114112&&(u=p))}}u===null?(u=65533,h=1):u>65535&&(u-=65536,i.push(u>>>10&1023|55296),u=56320|u&1023),i.push(u),n+=h}return jr(i)}var hr=4096;function jr(e){var r=e.length;if(r<=hr)return String.fromCharCode.apply(String,e);for(var t="",i=0;i<r;)t+=String.fromCharCode.apply(String,e.slice(i,i+=hr));return t}function rt(e,r,t){var i="";t=Math.min(e.length,t);for(var n=r;n<t;++n)i+=String.fromCharCode(e[n]&127);return i}function tt(e,r,t){var i="";t=Math.min(e.length,t);for(var n=r;n<t;++n)i+=String.fromCharCode(e[n]);return i}function et(e,r,t){var i=e.length;(!r||r<0)&&(r=0),(!t||t<0||t>i)&&(t=i);for(var n="",o=r;o<t;++o)n+=ht[e[o]];return n}function it(e,r,t){for(var i=e.slice(r,t),n="",o=0;o<i.length-1;o+=2)n+=String.fromCharCode(i[o]+i[o+1]*256);return n}a.prototype.slice=function(r,t){var i=this.length;r=~~r,t=t===void 0?i:~~t,r<0?(r+=i,r<0&&(r=0)):r>i&&(r=i),t<0?(t+=i,t<0&&(t=0)):t>i&&(t=i),t<r&&(t=r);var n=this.subarray(r,t);return Object.setPrototypeOf(n,a.prototype),n};function w(e,r,t){if(e%1!==0||e<0)throw new RangeError("offset is not uint");if(e+r>t)throw new RangeError("Trying to access beyond buffer length")}a.prototype.readUintLE=a.prototype.readUIntLE=function(r,t,i){r=r>>>0,t=t>>>0,i||w(r,t,this.length);for(var n=this[r],o=1,u=0;++u<t&&(o*=256);)n+=this[r+u]*o;return n};a.prototype.readUintBE=a.prototype.readUIntBE=function(r,t,i){r=r>>>0,t=t>>>0,i||w(r,t,this.length);for(var n=this[r+--t],o=1;t>0&&(o*=256);)n+=this[r+--t]*o;return n};a.prototype.readUint8=a.prototype.readUInt8=function(r,t){return r=r>>>0,t||w(r,1,this.length),this[r]};a.prototype.readUint16LE=a.prototype.readUInt16LE=function(r,t){return r=r>>>0,t||w(r,2,this.length),this[r]|this[r+1]<<8};a.prototype.readUint16BE=a.prototype.readUInt16BE=function(r,t){return r=r>>>0,t||w(r,2,this.length),this[r]<<8|this[r+1]};a.prototype.readUint32LE=a.prototype.readUInt32LE=function(r,t){return r=r>>>0,t||w(r,4,this.length),(this[r]|this[r+1]<<8|this[r+2]<<16)+this[r+3]*16777216};a.prototype.readUint32BE=a.prototype.readUInt32BE=function(r,t){return r=r>>>0,t||w(r,4,this.length),this[r]*16777216+(this[r+1]<<16|this[r+2]<<8|this[r+3])};a.prototype.readIntLE=function(r,t,i){r=r>>>0,t=t>>>0,i||w(r,t,this.length);for(var n=this[r],o=1,u=0;++u<t&&(o*=256);)n+=this[r+u]*o;return o*=128,n>=o&&(n-=Math.pow(2,8*t)),n};a.prototype.readIntBE=function(r,t,i){r=r>>>0,t=t>>>0,i||w(r,t,this.length);for(var n=t,o=1,u=this[r+--n];n>0&&(o*=256);)u+=this[r+--n]*o;return o*=128,u>=o&&(u-=Math.pow(2,8*t)),u};a.prototype.readInt8=function(r,t){return r=r>>>0,t||w(r,1,this.length),this[r]&128?(255-this[r]+1)*-1:this[r]};a.prototype.readInt16LE=function(r,t){r=r>>>0,t||w(r,2,this.length);var i=this[r]|this[r+1]<<8;return i&32768?i|4294901760:i};a.prototype.readInt16BE=function(r,t){r=r>>>0,t||w(r,2,this.length);var i=this[r+1]|this[r]<<8;return i&32768?i|4294901760:i};a.prototype.readInt32LE=function(r,t){return r=r>>>0,t||w(r,4,this.length),this[r]|this[r+1]<<8|this[r+2]<<16|this[r+3]<<24};a.prototype.readInt32BE=function(r,t){return r=r>>>0,t||w(r,4,this.length),this[r]<<24|this[r+1]<<16|this[r+2]<<8|this[r+3]};a.prototype.readFloatLE=function(r,t){return r=r>>>0,t||w(r,4,this.length),R.read(this,r,!0,23,4)};a.prototype.readFloatBE=function(r,t){return r=r>>>0,t||w(r,4,this.length),R.read(this,r,!1,23,4)};a.prototype.readDoubleLE=function(r,t){return r=r>>>0,t||w(r,8,this.length),R.read(this,r,!0,52,8)};a.prototype.readDoubleBE=function(r,t){return r=r>>>0,t||w(r,8,this.length),R.read(this,r,!1,52,8)};function y(e,r,t,i,n,o){if(!a.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(r>n||r<o)throw new RangeError('"value" argument is out of bounds');if(t+i>e.length)throw new RangeError("Index out of range")}a.prototype.writeUintLE=a.prototype.writeUIntLE=function(r,t,i,n){if(r=+r,t=t>>>0,i=i>>>0,!n){var o=Math.pow(2,8*i)-1;y(this,r,t,i,o,0)}var u=1,h=0;for(this[t]=r&255;++h<i&&(u*=256);)this[t+h]=r/u&255;return t+i};a.prototype.writeUintBE=a.prototype.writeUIntBE=function(r,t,i,n){if(r=+r,t=t>>>0,i=i>>>0,!n){var o=Math.pow(2,8*i)-1;y(this,r,t,i,o,0)}var u=i-1,h=1;for(this[t+u]=r&255;--u>=0&&(h*=256);)this[t+u]=r/h&255;return t+i};a.prototype.writeUint8=a.prototype.writeUInt8=function(r,t,i){return r=+r,t=t>>>0,i||y(this,r,t,1,255,0),this[t]=r&255,t+1};a.prototype.writeUint16LE=a.prototype.writeUInt16LE=function(r,t,i){return r=+r,t=t>>>0,i||y(this,r,t,2,65535,0),this[t]=r&255,this[t+1]=r>>>8,t+2};a.prototype.writeUint16BE=a.prototype.writeUInt16BE=function(r,t,i){return r=+r,t=t>>>0,i||y(this,r,t,2,65535,0),this[t]=r>>>8,this[t+1]=r&255,t+2};a.prototype.writeUint32LE=a.prototype.writeUInt32LE=function(r,t,i){return r=+r,t=t>>>0,i||y(this,r,t,4,4294967295,0),this[t+3]=r>>>24,this[t+2]=r>>>16,this[t+1]=r>>>8,this[t]=r&255,t+4};a.prototype.writeUint32BE=a.prototype.writeUInt32BE=function(r,t,i){return r=+r,t=t>>>0,i||y(this,r,t,4,4294967295,0),this[t]=r>>>24,this[t+1]=r>>>16,this[t+2]=r>>>8,this[t+3]=r&255,t+4};a.prototype.writeIntLE=function(r,t,i,n){if(r=+r,t=t>>>0,!n){var o=Math.pow(2,8*i-1);y(this,r,t,i,o-1,-o)}var u=0,h=1,f=0;for(this[t]=r&255;++u<i&&(h*=256);)r<0&&f===0&&this[t+u-1]!==0&&(f=1),this[t+u]=(r/h>>0)-f&255;return t+i};a.prototype.writeIntBE=function(r,t,i,n){if(r=+r,t=t>>>0,!n){var o=Math.pow(2,8*i-1);y(this,r,t,i,o-1,-o)}var u=i-1,h=1,f=0;for(this[t+u]=r&255;--u>=0&&(h*=256);)r<0&&f===0&&this[t+u+1]!==0&&(f=1),this[t+u]=(r/h>>0)-f&255;return t+i};a.prototype.writeInt8=function(r,t,i){return r=+r,t=t>>>0,i||y(this,r,t,1,127,-128),r<0&&(r=255+r+1),this[t]=r&255,t+1};a.prototype.writeInt16LE=function(r,t,i){return r=+r,t=t>>>0,i||y(this,r,t,2,32767,-32768),this[t]=r&255,this[t+1]=r>>>8,t+2};a.prototype.writeInt16BE=function(r,t,i){return r=+r,t=t>>>0,i||y(this,r,t,2,32767,-32768),this[t]=r>>>8,this[t+1]=r&255,t+2};a.prototype.writeInt32LE=function(r,t,i){return r=+r,t=t>>>0,i||y(this,r,t,4,2147483647,-2147483648),this[t]=r&255,this[t+1]=r>>>8,this[t+2]=r>>>16,this[t+3]=r>>>24,t+4};a.prototype.writeInt32BE=function(r,t,i){return r=+r,t=t>>>0,i||y(this,r,t,4,2147483647,-2147483648),r<0&&(r=4294967295+r+1),this[t]=r>>>24,this[t+1]=r>>>16,this[t+2]=r>>>8,this[t+3]=r&255,t+4};function wr(e,r,t,i,n,o){if(t+i>e.length)throw new RangeError("Index out of range");if(t<0)throw new RangeError("Index out of range")}function yr(e,r,t,i,n){return r=+r,t=t>>>0,n||wr(e,r,t,4,34028234663852886e22,-34028234663852886e22),R.write(e,r,t,i,23,4),t+4}a.prototype.writeFloatLE=function(r,t,i){return yr(this,r,t,!0,i)};a.prototype.writeFloatBE=function(r,t,i){return yr(this,r,t,!1,i)};function xr(e,r,t,i,n){return r=+r,t=t>>>0,n||wr(e,r,t,8,17976931348623157e292,-17976931348623157e292),R.write(e,r,t,i,52,8),t+8}a.prototype.writeDoubleLE=function(r,t,i){return xr(this,r,t,!0,i)};a.prototype.writeDoubleBE=function(r,t,i){return xr(this,r,t,!1,i)};a.prototype.copy=function(r,t,i,n){if(!a.isBuffer(r))throw new TypeError("argument should be a Buffer");if(i||(i=0),!n&&n!==0&&(n=this.length),t>=r.length&&(t=r.length),t||(t=0),n>0&&n<i&&(n=i),n===i||r.length===0||this.length===0)return 0;if(t<0)throw new RangeError("targetStart out of bounds");if(i<0||i>=this.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),r.length-t<n-i&&(n=r.length-t+i);var o=n-i;return this===r&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(t,i,n):Uint8Array.prototype.set.call(r,this.subarray(i,n),t),o};a.prototype.fill=function(r,t,i,n){if(typeof r=="string"){if(typeof t=="string"?(n=t,t=0,i=this.length):typeof i=="string"&&(n=i,i=this.length),n!==void 0&&typeof n!="string")throw new TypeError("encoding must be a string");if(typeof n=="string"&&!a.isEncoding(n))throw new TypeError("Unknown encoding: "+n);if(r.length===1){var o=r.charCodeAt(0);(n==="utf8"&&o<128||n==="latin1")&&(r=o)}}else typeof r=="number"?r=r&255:typeof r=="boolean"&&(r=Number(r));if(t<0||this.length<t||this.length<i)throw new RangeError("Out of range index");if(i<=t)return this;t=t>>>0,i=i===void 0?this.length:i>>>0,r||(r=0);var u;if(typeof r=="number")for(u=t;u<i;++u)this[u]=r;else{var h=a.isBuffer(r)?r:a.from(r,n),f=h.length;if(f===0)throw new TypeError('The value "'+r+'" is invalid for argument "value"');for(u=0;u<i-t;++u)this[u+t]=h[u%f]}return this};var nt=/[^+/0-9A-Za-z-_]/g;function ot(e){if(e=e.split("=")[0],e=e.trim().replace(nt,""),e.length<2)return"";for(;e.length%4!==0;)e=e+"=";return e}function V(e,r){r=r||1/0;for(var t,i=e.length,n=null,o=[],u=0;u<i;++u){if(t=e.charCodeAt(u),t>55295&&t<57344){if(!n){if(t>56319){(r-=3)>-1&&o.push(239,191,189);continue}else if(u+1===i){(r-=3)>-1&&o.push(239,191,189);continue}n=t;continue}if(t<56320){(r-=3)>-1&&o.push(239,191,189),n=t;continue}t=(n-55296<<10|t-56320)+65536}else n&&(r-=3)>-1&&o.push(239,191,189);if(n=null,t<128){if((r-=1)<0)break;o.push(t)}else if(t<2048){if((r-=2)<0)break;o.push(t>>6|192,t&63|128)}else if(t<65536){if((r-=3)<0)break;o.push(t>>12|224,t>>6&63|128,t&63|128)}else if(t<1114112){if((r-=4)<0)break;o.push(t>>18|240,t>>12&63|128,t>>6&63|128,t&63|128)}else throw new Error("Invalid code point")}return o}function ut(e){for(var r=[],t=0;t<e.length;++t)r.push(e.charCodeAt(t)&255);return r}function at(e,r){for(var t,i,n,o=[],u=0;u<e.length&&!((r-=2)<0);++u)t=e.charCodeAt(u),i=t>>8,n=t%256,o.push(n),o.push(i);return o}function mr(e){return z.toByteArray(ot(e))}function H(e,r,t,i){for(var n=0;n<i&&!(n+t>=r.length||n>=e.length);++n)r[n+t]=e[n];return n}function B(e,r){return e instanceof r||e!=null&&e.constructor!=null&&e.constructor.name!=null&&e.constructor.name===r.name}function $(e){return e!==e}var ht=function(){for(var e="0123456789abcdef",r=new Array(256),t=0;t<16;++t)for(var i=t*16,n=0;n<16;++n)r[i+n]=e[t]+e[n];return r}()});var vr=N((mt,Ar)=>{F();var s=Ar.exports={},A,v;function P(){throw new Error("setTimeout has not been defined")}function j(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?A=setTimeout:A=P}catch(e){A=P}try{typeof clearTimeout=="function"?v=clearTimeout:v=j}catch(e){v=j}})();function Fr(e){if(A===setTimeout)return setTimeout(e,0);if((A===P||!A)&&setTimeout)return A=setTimeout,setTimeout(e,0);try{return A(e,0)}catch(r){try{return A.call(null,e,0)}catch(t){return A.call(this,e,0)}}}function ft(e){if(v===clearTimeout)return clearTimeout(e);if((v===j||!v)&&clearTimeout)return v=clearTimeout,clearTimeout(e);try{return v(e)}catch(r){try{return v.call(null,e)}catch(t){return v.call(this,e)}}}var I=[],M=!1,L,X=-1;function pt(){!M||!L||(M=!1,L.length?I=L.concat(I):X=-1,I.length&&gr())}function gr(){if(!M){var e=Fr(pt);M=!0;for(var r=I.length;r;){for(L=I,I=[];++X<r;)L&&L[X].run();X=-1,r=I.length}L=null,M=!1,ft(e)}}s.nextTick=function(e){var r=new Array(arguments.length-1);if(arguments.length>1)for(var t=1;t<arguments.length;t++)r[t-1]=arguments[t];I.push(new Br(e,r)),I.length===1&&!M&&Fr(gr)};function Br(e,r){this.fun=e,this.array=r}Br.prototype.run=function(){this.fun.apply(null,this.array)};s.title="browser";s.browser=!0;s.env={};s.argv=[];s.version="";s.versions={};function T(){}s.on=T;s.addListener=T;s.once=T;s.off=T;s.removeListener=T;s.removeAllListeners=T;s.emit=T;s.prependListener=T;s.prependOnceListener=T;s.listeners=function(e){return[]};s.binding=function(e){throw new Error("process.binding is not supported")};s.cwd=function(){return"/"};s.chdir=function(e){throw new Error("process.chdir is not supported")};s.umask=function(){return 0}});var D,k,Et,F=Sr(()=>{D=tr(Er()),k=tr(vr()),Et=function(e){function r(){var i=this||self;return delete e.prototype.__magic__,i}if(typeof globalThis=="object")return globalThis;if(this)return r();e.defineProperty(e.prototype,"__magic__",{configurable:!0,get:r});var t=__magic__;return t}(Object)});var lt={};Rr(lt,{trimUsernameDomain:()=>ct});module.exports=_r(lt);F();var ct=e=>e?e.lastIndexOf(".elrond")>0?e.substring(0,e.lastIndexOf(".")):e:void 0;0&&(module.exports={trimUsernameDomain});
2
2
  /*!
3
3
  * The buffer module from node.js, for the browser.
4
4
  *
@@ -1,4 +1,4 @@
1
- "use strict";var ei=Object.create;var ge=Object.defineProperty,ti=Object.defineProperties,ri=Object.getOwnPropertyDescriptor,ni=Object.getOwnPropertyDescriptors,oi=Object.getOwnPropertyNames,Le=Object.getOwnPropertySymbols,ii=Object.getPrototypeOf,xt=Object.prototype.hasOwnProperty,Tr=Object.prototype.propertyIsEnumerable;var fr=(e,t,r)=>t in e?ge(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,T=(e,t)=>{for(var r in t||(t={}))xt.call(t,r)&&fr(e,r,t[r]);if(Le)for(var r of Le(t))Tr.call(t,r)&&fr(e,r,t[r]);return e},S=(e,t)=>ti(e,ni(t));var yr=(e,t)=>{var r={};for(var o in e)xt.call(e,o)&&t.indexOf(o)<0&&(r[o]=e[o]);if(e!=null&&Le)for(var o of Le(e))t.indexOf(o)<0&&Tr.call(e,o)&&(r[o]=e[o]);return r};var f=(e,t)=>()=>(e&&(t=e(e=0)),t);var Ne=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),J=(e,t)=>{for(var r in t)ge(e,r,{get:t[r],enumerable:!0})},hr=(e,t,r,o)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of oi(t))!xt.call(e,i)&&i!==r&&ge(e,i,{get:()=>t[i],enumerable:!(o=ri(t,i))||o.enumerable});return e};var w=(e,t,r)=>(r=e!=null?ei(ii(e)):{},hr(t||!e||!e.__esModule?ge(r,"default",{value:e,enumerable:!0}):r,e)),fe=e=>hr(ge({},"__esModule",{value:!0}),e);var wr=Ne(Re=>{"use strict";n();Re.byteLength=ai;Re.toByteArray=li;Re.fromByteArray=di;var M=[],D=[],si=typeof Uint8Array!="undefined"?Uint8Array:Array,St="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(Q=0,xr=St.length;Q<xr;++Q)M[Q]=St[Q],D[St.charCodeAt(Q)]=Q;var Q,xr;D["-".charCodeAt(0)]=62;D["_".charCodeAt(0)]=63;function Sr(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 ai(e){var t=Sr(e),r=t[0],o=t[1];return(r+o)*3/4-o}function ci(e,t,r){return(t+r)*3/4-r}function li(e){var t,r=Sr(e),o=r[0],i=r[1],l=new si(ci(e,o,i)),p=0,d=i>0?o-4:o,m;for(m=0;m<d;m+=4)t=D[e.charCodeAt(m)]<<18|D[e.charCodeAt(m+1)]<<12|D[e.charCodeAt(m+2)]<<6|D[e.charCodeAt(m+3)],l[p++]=t>>16&255,l[p++]=t>>8&255,l[p++]=t&255;return i===2&&(t=D[e.charCodeAt(m)]<<2|D[e.charCodeAt(m+1)]>>4,l[p++]=t&255),i===1&&(t=D[e.charCodeAt(m)]<<10|D[e.charCodeAt(m+1)]<<4|D[e.charCodeAt(m+2)]>>2,l[p++]=t>>8&255,l[p++]=t&255),l}function pi(e){return M[e>>18&63]+M[e>>12&63]+M[e>>6&63]+M[e&63]}function ui(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(pi(o));return i.join("")}function di(e){for(var t,r=e.length,o=r%3,i=[],l=16383,p=0,d=r-o;p<d;p+=l)i.push(ui(e,p,p+l>d?d:p+l));return o===1?(t=e[r-1],i.push(M[t>>2]+M[t<<4&63]+"==")):o===2&&(t=(e[r-2]<<8)+e[r-1],i.push(M[t>>10]+M[t>>4&63]+M[t<<2&63]+"=")),i.join("")}});var Ar=Ne(wt=>{n();wt.read=function(e,t,r,o,i){var l,p,d=i*8-o-1,m=(1<<d)-1,y=m>>1,x=-7,h=r?i-1:0,E=r?-1:1,k=e[t+h];for(h+=E,l=k&(1<<-x)-1,k>>=-x,x+=d;x>0;l=l*256+e[t+h],h+=E,x-=8);for(p=l&(1<<-x)-1,l>>=-x,x+=o;x>0;p=p*256+e[t+h],h+=E,x-=8);if(l===0)l=1-y;else{if(l===m)return p?NaN:(k?-1:1)*(1/0);p=p+Math.pow(2,o),l=l-y}return(k?-1:1)*p*Math.pow(2,l-o)};wt.write=function(e,t,r,o,i,l){var p,d,m,y=l*8-i-1,x=(1<<y)-1,h=x>>1,E=i===23?Math.pow(2,-24)-Math.pow(2,-77):0,k=o?0:l-1,$=o?1:-1,Ee=t<0||t===0&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(d=isNaN(t)?1:0,p=x):(p=Math.floor(Math.log(t)/Math.LN2),t*(m=Math.pow(2,-p))<1&&(p--,m*=2),p+h>=1?t+=E/m:t+=E*Math.pow(2,1-h),t*m>=2&&(p++,m/=2),p+h>=x?(d=0,p=x):p+h>=1?(d=(t*m-1)*Math.pow(2,i),p=p+h):(d=t*Math.pow(2,h-1)*Math.pow(2,i),p=0));i>=8;e[r+k]=d&255,k+=$,d/=256,i-=8);for(p=p<<i|d,y+=i;y>0;e[r+k]=p&255,k+=$,p/=256,y-=8);e[r+k-$]|=Ee*128}});var Or=Ne(se=>{"use strict";n();var At=wr(),ie=Ar(),Ir=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;se.Buffer=u;se.SlowBuffer=hi;se.INSPECT_MAX_BYTES=50;var Ce=2147483647;se.kMaxLength=Ce;u.TYPED_ARRAY_SUPPORT=mi();!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 mi(){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>Ce)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 kt(e)}return kr(e,t,r)}u.poolSize=8192;function kr(e,t,r){if(typeof e=="string")return fi(e,t);if(ArrayBuffer.isView(e))return Ti(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(F(e,ArrayBuffer)||e&&F(e.buffer,ArrayBuffer)||typeof SharedArrayBuffer!="undefined"&&(F(e,SharedArrayBuffer)||e&&F(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=yi(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 kr(e,t,r)};Object.setPrototypeOf(u.prototype,Uint8Array.prototype);Object.setPrototypeOf(u,Uint8Array);function Er(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 gi(e,t,r){return Er(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 gi(e,t,r)};function kt(e){return Er(e),q(e<0?0:Et(e)|0)}u.allocUnsafe=function(e){return kt(e)};u.allocUnsafeSlow=function(e){return kt(e)};function fi(e,t){if((typeof t!="string"||t==="")&&(t="utf8"),!u.isEncoding(t))throw new TypeError("Unknown encoding: "+t);var r=Lr(e,t)|0,o=q(r),i=o.write(e,t);return i!==r&&(o=o.slice(0,i)),o}function It(e){for(var t=e.length<0?0:Et(e.length)|0,r=q(t),o=0;o<t;o+=1)r[o]=e[o]&255;return r}function Ti(e){if(F(e,Uint8Array)){var t=new Uint8Array(e);return bt(t.buffer,t.byteOffset,t.byteLength)}return It(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 yi(e){if(u.isBuffer(e)){var t=Et(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"||Lt(e.length)?q(0):It(e);if(e.type==="Buffer"&&Array.isArray(e.data))return It(e.data)}function Et(e){if(e>=Ce)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+Ce.toString(16)+" bytes");return e|0}function hi(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(F(t,Uint8Array)&&(t=u.from(t,t.offset,t.byteLength)),F(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(F(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 Lr(e,t){if(u.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||F(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 vt(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return r*2;case"hex":return r>>>1;case"base64":return Pr(e).length;default:if(i)return o?-1:vt(e).length;t=(""+t).toLowerCase(),i=!0}}u.byteLength=Lr;function xi(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 Ni(this,t,r);case"utf8":case"utf-8":return Rr(this,t,r);case"ascii":return Ei(this,t,r);case"latin1":case"binary":return Li(this,t,r);case"base64":return vi(this,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Ri(this,t,r);default:if(o)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),o=!0}}u.prototype._isBuffer=!0;function ee(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)ee(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)ee(this,r,r+3),ee(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)ee(this,r,r+7),ee(this,r+1,r+6),ee(this,r+2,r+5),ee(this,r+3,r+4);return this};u.prototype.toString=function(){var t=this.length;return t===0?"":arguments.length===0?Rr(this,0,t):xi.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=se.INSPECT_MAX_BYTES;return t=this.toString("hex",0,r).replace(/(.{2})/g,"$1 ").trim(),this.length>r&&(t+=" ... "),"<Buffer "+t+">"};Ir&&(u.prototype[Ir]=u.prototype.inspect);u.prototype.compare=function(t,r,o,i,l){if(F(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,d=o-r,m=Math.min(p,d),y=this.slice(i,l),x=t.slice(r,o),h=0;h<m;++h)if(y[h]!==x[h]){p=y[h],d=x[h];break}return p<d?-1:d<p?1:0};function Nr(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,Lt(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:br(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):br(e,[t],r,o,i);throw new TypeError("val must be string, number or Buffer")}function br(e,t,r,o,i){var l=1,p=e.length,d=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,d/=2,r/=2}function m(k,$){return l===1?k[$]:k.readUInt16BE($*l)}var y;if(i){var x=-1;for(y=r;y<p;y++)if(m(e,y)===m(t,x===-1?0:y-x)){if(x===-1&&(x=y),y-x+1===d)return x*l}else x!==-1&&(y-=y-x),x=-1}else for(r+d>p&&(r=p-d),y=r;y>=0;y--){for(var h=!0,E=0;E<d;E++)if(m(e,y+E)!==m(t,E)){h=!1;break}if(h)return y}return-1}u.prototype.includes=function(t,r,o){return this.indexOf(t,r,o)!==-1};u.prototype.indexOf=function(t,r,o){return Nr(this,t,r,o,!0)};u.prototype.lastIndexOf=function(t,r,o){return Nr(this,t,r,o,!1)};function Si(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 d=parseInt(t.substr(p*2,2),16);if(Lt(d))return p;e[r+p]=d}return p}function wi(e,t,r,o){return De(vt(t,e.length-r),e,r,o)}function Ai(e,t,r,o){return De(_i(t),e,r,o)}function Ii(e,t,r,o){return De(Pr(t),e,r,o)}function bi(e,t,r,o){return De(Pi(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 Si(this,t,r,o);case"utf8":case"utf-8":return wi(this,t,r,o);case"ascii":case"latin1":case"binary":return Ai(this,t,r,o);case"base64":return Ii(this,t,r,o);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return bi(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 vi(e,t,r){return t===0&&r===e.length?At.fromByteArray(e):At.fromByteArray(e.slice(t,r))}function Rr(e,t,r){r=Math.min(e.length,r);for(var o=[],i=t;i<r;){var l=e[i],p=null,d=l>239?4:l>223?3:l>191?2:1;if(i+d<=r){var m,y,x,h;switch(d){case 1:l<128&&(p=l);break;case 2:m=e[i+1],(m&192)===128&&(h=(l&31)<<6|m&63,h>127&&(p=h));break;case 3:m=e[i+1],y=e[i+2],(m&192)===128&&(y&192)===128&&(h=(l&15)<<12|(m&63)<<6|y&63,h>2047&&(h<55296||h>57343)&&(p=h));break;case 4:m=e[i+1],y=e[i+2],x=e[i+3],(m&192)===128&&(y&192)===128&&(x&192)===128&&(h=(l&15)<<18|(m&63)<<12|(y&63)<<6|x&63,h>65535&&h<1114112&&(p=h))}}p===null?(p=65533,d=1):p>65535&&(p-=65536,o.push(p>>>10&1023|55296),p=56320|p&1023),o.push(p),i+=d}return ki(o)}var vr=4096;function ki(e){var t=e.length;if(t<=vr)return String.fromCharCode.apply(String,e);for(var r="",o=0;o<t;)r+=String.fromCharCode.apply(String,e.slice(o,o+=vr));return r}function Ei(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 Li(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 Ni(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+=Oi[e[l]];return i}function Ri(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 v(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||v(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||v(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||v(t,1,this.length),this[t]};u.prototype.readUint16LE=u.prototype.readUInt16LE=function(t,r){return t=t>>>0,r||v(t,2,this.length),this[t]|this[t+1]<<8};u.prototype.readUint16BE=u.prototype.readUInt16BE=function(t,r){return t=t>>>0,r||v(t,2,this.length),this[t]<<8|this[t+1]};u.prototype.readUint32LE=u.prototype.readUInt32LE=function(t,r){return t=t>>>0,r||v(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||v(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||v(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||v(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||v(t,1,this.length),this[t]&128?(255-this[t]+1)*-1:this[t]};u.prototype.readInt16LE=function(t,r){t=t>>>0,r||v(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||v(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||v(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||v(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||v(t,4,this.length),ie.read(this,t,!0,23,4)};u.prototype.readFloatBE=function(t,r){return t=t>>>0,r||v(t,4,this.length),ie.read(this,t,!1,23,4)};u.prototype.readDoubleLE=function(t,r){return t=t>>>0,r||v(t,8,this.length),ie.read(this,t,!0,52,8)};u.prototype.readDoubleBE=function(t,r){return t=t>>>0,r||v(t,8,this.length),ie.read(this,t,!1,52,8)};function L(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;L(this,t,r,o,l,0)}var p=1,d=0;for(this[r]=t&255;++d<o&&(p*=256);)this[r+d]=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;L(this,t,r,o,l,0)}var p=o-1,d=1;for(this[r+p]=t&255;--p>=0&&(d*=256);)this[r+p]=t/d&255;return r+o};u.prototype.writeUint8=u.prototype.writeUInt8=function(t,r,o){return t=+t,r=r>>>0,o||L(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||L(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||L(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||L(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||L(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);L(this,t,r,o,l-1,-l)}var p=0,d=1,m=0;for(this[r]=t&255;++p<o&&(d*=256);)t<0&&m===0&&this[r+p-1]!==0&&(m=1),this[r+p]=(t/d>>0)-m&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);L(this,t,r,o,l-1,-l)}var p=o-1,d=1,m=0;for(this[r+p]=t&255;--p>=0&&(d*=256);)t<0&&m===0&&this[r+p+1]!==0&&(m=1),this[r+p]=(t/d>>0)-m&255;return r+o};u.prototype.writeInt8=function(t,r,o){return t=+t,r=r>>>0,o||L(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||L(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||L(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||L(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||L(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 Cr(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 Dr(e,t,r,o,i){return t=+t,r=r>>>0,i||Cr(e,t,r,4,34028234663852886e22,-34028234663852886e22),ie.write(e,t,r,o,23,4),r+4}u.prototype.writeFloatLE=function(t,r,o){return Dr(this,t,r,!0,o)};u.prototype.writeFloatBE=function(t,r,o){return Dr(this,t,r,!1,o)};function _r(e,t,r,o,i){return t=+t,r=r>>>0,i||Cr(e,t,r,8,17976931348623157e292,-17976931348623157e292),ie.write(e,t,r,o,52,8),r+8}u.prototype.writeDoubleLE=function(t,r,o){return _r(this,t,r,!0,o)};u.prototype.writeDoubleBE=function(t,r,o){return _r(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 d=u.isBuffer(t)?t:u.from(t,i),m=d.length;if(m===0)throw new TypeError('The value "'+t+'" is invalid for argument "value"');for(p=0;p<o-r;++p)this[p+r]=d[p%m]}return this};var Ci=/[^+/0-9A-Za-z-_]/g;function Di(e){if(e=e.split("=")[0],e=e.trim().replace(Ci,""),e.length<2)return"";for(;e.length%4!==0;)e=e+"=";return e}function vt(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 _i(e){for(var t=[],r=0;r<e.length;++r)t.push(e.charCodeAt(r)&255);return t}function Pi(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 Pr(e){return At.toByteArray(Di(e))}function De(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 F(e,t){return e instanceof t||e!=null&&e.constructor!=null&&e.constructor.name!=null&&e.constructor.name===t.name}function Lt(e){return e!==e}var Oi=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 Vr=Ne((Ra,Ur)=>{n();var I=Ur.exports={},B,U;function Nt(){throw new Error("setTimeout has not been defined")}function Rt(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?B=setTimeout:B=Nt}catch(e){B=Nt}try{typeof clearTimeout=="function"?U=clearTimeout:U=Rt}catch(e){U=Rt}})();function Mr(e){if(B===setTimeout)return setTimeout(e,0);if((B===Nt||!B)&&setTimeout)return B=setTimeout,setTimeout(e,0);try{return B(e,0)}catch(t){try{return B.call(null,e,0)}catch(r){return B.call(this,e,0)}}}function Mi(e){if(U===clearTimeout)return clearTimeout(e);if((U===Rt||!U)&&clearTimeout)return U=clearTimeout,clearTimeout(e);try{return U(e)}catch(t){try{return U.call(null,e)}catch(r){return U.call(this,e)}}}var j=[],ae=!1,te,_e=-1;function Fi(){!ae||!te||(ae=!1,te.length?j=te.concat(j):_e=-1,j.length&&Fr())}function Fr(){if(!ae){var e=Mr(Fi);ae=!0;for(var t=j.length;t;){for(te=j,j=[];++_e<t;)te&&te[_e].run();_e=-1,t=j.length}te=null,ae=!1,Mi(e)}}I.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];j.push(new Br(e,t)),j.length===1&&!ae&&Mr(Fr)};function Br(e,t){this.fun=e,this.array=t}Br.prototype.run=function(){this.fun.apply(null,this.array)};I.title="browser";I.browser=!0;I.env={};I.argv=[];I.version="";I.versions={};function z(){}I.on=z;I.addListener=z;I.once=z;I.off=z;I.removeListener=z;I.removeAllListeners=z;I.emit=z;I.prependListener=z;I.prependOnceListener=z;I.listeners=function(e){return[]};I.binding=function(e){throw new Error("process.binding is not supported")};I.cwd=function(){return"/"};I.chdir=function(e){throw new Error("process.chdir is not supported")};I.umask=function(){return 0}});var s,a,Ca,n=f(()=>{s=w(Or()),a=w(Vr()),Ca=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 Wr=f(()=>{"use strict";n()});var Gr=f(()=>{"use strict";n()});var $r=f(()=>{"use strict";n()});var Ct,Hr=f(()=>{"use strict";n();Ct=(o=>(o.SetGuardian="SetGuardian",o.GuardAccount="GuardAccount",o.UnGuardAccount="UnGuardAccount",o))(Ct||{})});var qr=f(()=>{"use strict";n()});var Dt=f(()=>{"use strict";n()});var jr=f(()=>{"use strict";n()});var zr=f(()=>{"use strict";n()});var Kr=f(()=>{"use strict";n()});var Yr=f(()=>{"use strict";n()});var _t,ce,Pt=f(()=>{"use strict";n();_t=require("@multiversx/sdk-dapp-utils/out/constants/crossWindowProviderConstants"),ce=require("@multiversx/sdk-dapp-utils/out/enums/crossWindowProviderEnums")});var Xr,$a,Zr,Ha,K=f(()=>{"use strict";n();Pt();Xr=(r=>(r.signTransactionsWithGuardianResponse="SIGN_TRANSACTIONS_WITH_GUARDIAN_RESPONSE",r.reloginRequest="RELOGIN_REQUEST",r))(Xr||{}),$a=T(T({},ce.CrossWindowProviderRequestEnums),Xr),Zr=(t=>(t.reloginResponse="RELOGIN_RESPONSE",t))(Zr||{}),Ha=T(T({},ce.CrossWindowProviderResponseEnums),Zr)});var Jr=f(()=>{"use strict";n()});var Qr=f(()=>{"use strict";n()});var N=f(()=>{"use strict";n()});var en=f(()=>{"use strict";n()});var tn=f(()=>{"use strict";n()});var rn=f(()=>{"use strict";n()});var P=f(()=>{"use strict";n();zr();Kr();Yr();K();Jr();Qr();N();en();tn();rn()});var Ot,nn,ac,on,cc,sn,lc,pc,uc,an=f(()=>{"use strict";n();P();Ot={devnet:{id:"devnet",chainId:"D",name:"Devnet",egldLabel:"xEGLD",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"https://maiar.page.link/?apn=com.elrond.maiar.wallet&isi=1519405832&ibi=com.elrond.maiar.wallet&link=https://xportal.com/",walletConnectBridgeAddresses:["https://bridge.walletconnect.org"],walletConnectV2RelayAddresses:["wss://relay.walletconnect.com"],walletAddress:"https://devnet-wallet.multiversx.com",xAliasAddress:"https://devnet.xalias.com",apiAddress:"https://devnet-api.multiversx.com",explorerAddress:"http://devnet-explorer.multiversx.com",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",xAliasAddress:"https://testnet.xalias.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",xAliasAddress:"https://xalias.com",apiAddress:"https://api.multiversx.com",explorerAddress:"https://explorer.multiversx.com",apiTimeout:"4000"}},{chainId:nn,egldLabel:ac}=Ot["devnet"],{chainId:on,egldLabel:cc}=Ot["testnet"],{chainId:sn,egldLabel:lc}=Ot["mainnet"],pc={["devnet"]:nn,["testnet"]:on,["mainnet"]:sn},uc={[nn]:"devnet",[on]:"testnet",[sn]:"mainnet"}});var cn=f(()=>{"use strict";n()});var V,ln=f(()=>{"use strict";n();V=require("@multiversx/sdk-web-wallet-provider")});var pn,un,Mt,Tc,yc,dn=f(()=>{"use strict";n();Pt();Mt=String((un=(pn=_t.safeWindow)==null?void 0:pn.navigator)==null?void 0:un.userAgent),Tc=/^((?!chrome|android).)*safari/i.test(Mt),yc=/firefox/i.test(Mt)&&/windows/i.test(Mt)});var Ft,Bt,mn,Pe,gn,le,A=f(()=>{"use strict";n();Wr();Gr();$r();Hr();qr();Dt();jr();an();cn();ln();dn();Ft=5e4,Bt=1e9,mn=1,Pe="logout",gn="login",le="0"});var Oe,Ut=f(()=>{"use strict";n();Oe=()=>Date.now()/1e3});var fn=f(()=>{"use strict";n()});var Tn=f(()=>{"use strict";n()});var yn=f(()=>{"use strict";n();Ut();fn();Tn()});var Vt={};J(Vt,{clear:()=>Wi,getItem:()=>Ui,localStorageKeys:()=>re,removeItem:()=>Vi,setItem:()=>Bi});var re,Me,Bi,Ui,Vi,Wi,Te=f(()=>{"use strict";n();yn();re={loginExpiresAt:"sdk-dapp-login-expires-at",logoutEvent:"sdk-dapp-logout-event"},Me=typeof localStorage!="undefined",Bi=({key:e,data:t,expires:r})=>{!Me||localStorage.setItem(String(e),JSON.stringify({expires:r,data:t}))},Ui=e=>{if(!Me)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:Oe()>=r.expires?(localStorage.removeItem(String(e)),null):r.data},Vi=e=>{!Me||localStorage.removeItem(String(e))},Wi=()=>{!Me||localStorage.clear()}});var Wt={};J(Wt,{clear:()=>wn,getItem:()=>xn,removeItem:()=>Sn,setItem:()=>hn,storage:()=>Gi});var hn,xn,Sn,wn,Gi,An=f(()=>{"use strict";n();hn=({key:e,data:t,expires:r})=>{sessionStorage.setItem(String(e),JSON.stringify({expires:r,data:t}))},xn=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},Sn=e=>sessionStorage.removeItem(String(e)),wn=()=>sessionStorage.clear(),Gi={setItem:hn,getItem:xn,removeItem:Sn,clear:wn}});var pe,Fe=f(()=>{"use strict";n();Te();An();pe={session:Wt,local:Vt}});var Gt,b,Be,O=f(()=>{"use strict";n();Gt=require("@reduxjs/toolkit");A();b=(0,Gt.createAction)(Pe),Be=(0,Gt.createAction)(gn,e=>({payload:e}))});var Ht,In,bn,Ue,$t,vn,kn,Kc,En,Yc,Xc,Zc,Jc,Qc,el,tl,rl,Ve,We=f(()=>{"use strict";n();Ht=require("@multiversx/sdk-core"),In=require("@reduxjs/toolkit"),bn=require("redux-persist");A();Fe();Te();O();Ue={balance:"...",address:"",isGuarded:!1,nonce:0,txCount:0,scrCount:0,claimableRewards:le},$t={address:"",websocketEvent:null,websocketBatchEvent:null,accounts:{"":Ue},ledgerAccount:null,publicKey:"",walletConnectAccount:null,isAccountLoading:!0,accountLoadingError:null},vn=(0,In.createSlice)({name:"accountInfoSlice",initialState:$t,reducers:{setAddress:(e,t)=>{let r=t.payload;e.address=r,e.publicKey=r?new Ht.Address(r).hex():""},setAccount:(e,t)=>{let r=e.address===t.payload.address;e.accounts={[e.address]:r?t.payload:Ue},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}},setWebsocketBatchEvent:(e,t)=>{e.websocketBatchEvent={timestamp:Date.now(),data:t.payload}}},extraReducers:e=>{e.addCase(b,()=>(pe.local.removeItem(re.loginExpiresAt),$t)),e.addCase(Be,(t,r)=>{let{address:o}=r.payload;t.address=o,t.publicKey=new Ht.Address(o).hex()}),e.addCase(bn.REHYDRATE,(t,r)=>{var y;if(!((y=r.payload)!=null&&y.account))return;let{account:o}=r.payload,{address:i,shard:l,accounts:p,publicKey:d}=o;t.address=i,t.shard=l;let m=p&&i in p;t.accounts=m?p:$t.accounts,t.publicKey=d})}}),{setAccount:kn,setAddress:Kc,setAccountNonce:En,setAccountShard:Yc,setLedgerAccount:Xc,updateLedgerAccount:Zc,setWalletConnectAccount:Jc,setIsAccountLoading:Qc,setAccountLoadingError:el,setWebsocketEvent:tl,setWebsocketBatchEvent:rl}=vn.actions,Ve=vn.reducer});function ye(){return new Date().setHours(new Date().getHours()+24)}function he(e){pe.local.setItem({key:re.loginExpiresAt,data:e,expires:e})}var qt=f(()=>{"use strict";n();Fe();Te()});var Nn,Ln,Rn,ml,gl,fl,Tl,yl,hl,Cn,xl,Sl,Ge,$e=f(()=>{"use strict";n();Nn=require("@reduxjs/toolkit");qt();K();O();Ln={loginMethod:"",walletConnectLogin:null,ledgerLogin:null,tokenLogin:null,walletLogin:null,extensionLogin:null,operaLogin:null,crossWindowLogin:null,isLoginSessionInvalid:!1},Rn=(0,Nn.createSlice)({name:"loginInfoSlice",initialState:Ln,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},setIsWalletConnectV2Initialized:(e,t)=>{e.isWalletConnectV2Initialized=t.payload}},extraReducers:e=>{e.addCase(b,()=>Ln),e.addCase(Be,(t,r)=>{t.isLoginSessionInvalid=!1,t.loginMethod=r.payload.loginMethod,he(ye())})}}),{setLoginMethod:ml,setWalletConnectLogin:gl,setLedgerLogin:fl,setTokenLogin:Tl,setTokenLoginSignature:yl,setWalletLogin:hl,invalidateLoginSession:Cn,setLogoutRoute:xl,setIsWalletConnectV2Initialized:Sl}=Rn.actions,Ge=Rn.reducer});var _n,Dn,Pn,bl,vl,kl,El,He,qe=f(()=>{"use strict";n();_n=require("@reduxjs/toolkit");O();Dn={},Pn=(0,_n.createSlice)({name:"modalsSlice",initialState:Dn,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(b,()=>Dn)}}),{setTxSubmittedModal:bl,setNotificationModal:vl,clearTxSubmittedModal:kl,clearNotificationModal:El}=Pn.actions,He=Pn.reducer});var On=f(()=>{"use strict";n()});var Mn=f(()=>{"use strict";n();On()});function Fn(e){return e[Math.floor(Math.random()*e.length)]}var Bn=f(()=>{"use strict";n()});var Un=f(()=>{"use strict";n();Dt()});var Vn=f(()=>{"use strict";n();Mn();Bn();Un()});var Wn,Gn,$n,jt,$i,Hn,Hl,ql,jl,je,ze=f(()=>{"use strict";n();Wn=require("@reduxjs/toolkit"),Gn=w(require("lodash.omit")),$n=require("redux-persist");O();Vn();jt={id:"not-configured",chainId:"",name:"NOT CONFIGURED",egldLabel:"",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"",walletConnectBridgeAddress:"",walletConnectV2RelayAddress:"",walletConnectV2ProjectId:"",walletConnectV2Options:{},walletAddress:"",apiAddress:"",explorerAddress:"",apiTimeout:"4000"},$i={network:jt,chainID:"-1"},Hn=(0,Wn.createSlice)({name:"appConfig",initialState:$i,reducers:{initializeNetworkConfig:(e,t)=>{let r=Fn(t.payload.walletConnectV2RelayAddresses),o=(0,Gn.default)(t.payload,"walletConnectV2RelayAddresses");e.network=S(T(T({},e.network),o),{walletConnectV2RelayAddress:r})},setChainID:(e,t)=>{e.chainID=t.payload},setCustomWalletAddress:(e,t)=>{e.network.customWalletAddress=t.payload}},extraReducers:e=>{e.addCase(b,t=>{t.network.customWalletAddress=void 0}),e.addCase($n.REHYDRATE,(t,r)=>{var i,l;if(!((l=(i=r.payload)==null?void 0:i.network)!=null&&l.customWalletAddress))return;let{network:{customWalletAddress:o}}=r.payload;t.network.customWalletAddress=o})}}),{initializeNetworkConfig:Hl,setChainID:ql,setCustomWalletAddress:jl}=Hn.actions,je=Hn.reducer});var qn,zt,jn,Jl,Ql,ep,Ke,Ye=f(()=>{"use strict";n();qn=require("@reduxjs/toolkit");P();O();zt={isSigning:!1,signedSessions:{}},jn=(0,qn.createSlice)({name:"signedMessageInfoSliceState",initialState:zt,reducers:{setSignSession:(e,t)=>{let{sessionId:r,signedSession:o,errorMessage:i}=t.payload;i&&(e.errorMessage=i),e.isSigning=o.status==="pending",e.signedSessions[r]=T(T({},e.signedSessions[r]),o)},setSignSessionState:(e,t)=>T(T({},e),t.payload),clearSignedMessageInfo:()=>zt},extraReducers:e=>{e.addCase(b,()=>zt)}}),{setSignSession:Jl,clearSignedMessageInfo:Ql,setSignSessionState:ep}=jn.actions,Ke=jn.reducer});var Kn,Yn,zn,Xn,ap,cp,lp,pp,Xe,Ze=f(()=>{"use strict";n();Kn=require("@reduxjs/toolkit"),Yn=require("redux-persist");P();Ut();O();zn={customToasts:[],transactionToasts:[]},Xn=(0,Kn.createSlice)({name:"toastsSlice",initialState:zn,reducers:{addCustomToast:(e,t)=>{let r=t.payload.toastId||`custom-toast-${e.customToasts.length+1}`,o=e.customToasts.findIndex(i=>i.toastId===r);if(o!==-1){e.customToasts[o]=S(T(T({},e.customToasts[o]),t.payload),{type:"custom",toastId:r});return}e.customToasts.push(S(T({},t.payload),{type:"custom",toastId:r}))},removeCustomToast:(e,t)=>{e.customToasts=e.customToasts.filter(r=>r.toastId!==t.payload)},addTransactionToast:(e,t)=>{e.transactionToasts.push({type:"transaction",startTimestamp:Oe(),toastId:t.payload||`custom-toast-${e.transactionToasts.length+1}`})},removeTransactionToast:(e,t)=>{e.transactionToasts=e.transactionToasts.filter(r=>r.toastId!==t.payload)}},extraReducers:e=>{e.addCase(b,()=>zn),e.addCase(Yn.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:ap,removeCustomToast:cp,addTransactionToast:lp,removeTransactionToast:pp}=Xn.actions,Xe=Xn.reducer});var Zn,Yt,Xt,Zt,Hi,Kt,Jn,gp,fp,Tp,Je,Qe=f(()=>{"use strict";n();Zn=require("@reduxjs/toolkit");O();Yt="Transaction failed",Xt="Transaction successful",Zt="Processing transaction",Hi="Transaction submitted",Kt={},Jn=(0,Zn.createSlice)({name:"transactionsInfo",initialState:Kt,reducers:{setTransactionsDisplayInfo(e,t){let{sessionId:r,transactionsDisplayInfo:o}=t.payload;r!=null&&(e[r]={errorMessage:(o==null?void 0:o.errorMessage)||Yt,successMessage:(o==null?void 0:o.successMessage)||Xt,processingMessage:(o==null?void 0:o.processingMessage)||Zt,submittedMessage:(o==null?void 0:o.submittedMessage)||Hi,transactionDuration:o==null?void 0:o.transactionDuration})},clearTransactionsInfoForSessionId(e,t){t.payload!=null&&delete e[t.payload]},clearTransactionsInfo:()=>Kt},extraReducers:e=>{e.addCase(b,()=>Kt)}}),{clearTransactionsInfo:gp,setTransactionsDisplayInfo:fp,clearTransactionsInfoForSessionId:Tp}=Jn.actions,Je=Jn.reducer});function Qn(e){return e!=null&&(ts(e)||ss(e))}function et(e){return e!=null&&(rs(e)||as(e))}function tt(e){return e!=null&&(ns(e)||cs(e))}function eo(e){return e!=null&&(os(e)||ls(e))}function to(e){return e!=null&&is(e)}function ts(e){return e!=null&&ji.includes(e)}function rs(e){return e!=null&&zi.includes(e)}function ns(e){return e!=null&&Ki.includes(e)}function os(e){return e!=null&&Yi.includes(e)}function is(e){return e!=null&&Xi.includes(e)}function ss(e){return e!=null&&Zi.includes(e)}function as(e){return e!=null&&Ji.includes(e)}function cs(e){return e!=null&&Qi.includes(e)}function ls(e){return e!=null&&es.includes(e)}var ji,zi,Ki,Yi,Xi,Zi,Ji,Qi,es,Qt=f(()=>{"use strict";n();K();ji=["sent"],zi=["success"],Ki=["fail","cancelled","timedOut"],Yi=["invalid"],Xi=["timedOut"],Zi=["pending"],Ji=["success"],Qi=["fail","invalid"],es=["not executed"]});var ro,no,xe,ps,oo,vp,kp,Ep,Lp,Np,Rp,Cp,Dp,_p,Pp,Op,rt,nt=f(()=>{"use strict";n();ro=require("@reduxjs/toolkit"),no=require("redux-persist");K();Qt();O();xe={signedTransactions:{},transactionsToSign:null,signTransactionsError:null,signTransactionsCancelMessage:null,customTransactionInformationForSessionId:{}},ps={signWithoutSending:!1,sessionInformation:null,redirectAfterSign:!1},oo=(0,ro.createSlice)({name:"transactionsSlice",initialState:xe,reducers:{moveTransactionsToSignedState:(e,t)=>{var m,y;let{sessionId:r,transactions:o,errorMessage:i,status:l,redirectRoute:p,customTransactionInformation:d}=t.payload;e.customTransactionInformationForSessionId[r]=T(T(T({},ps),((m=e.signedTransactions[r])==null?void 0:m.customTransactionInformation)||{}),e.customTransactionInformationForSessionId[r]||{}),e.signedTransactions[r]={transactions:o,status:l,errorMessage:i,redirectRoute:p,customTransactionInformation:T(T({},e.customTransactionInformationForSessionId[r]),d!=null?d:{})},((y=e==null?void 0:e.transactionsToSign)==null?void 0:y.sessionId)===r&&(e.transactionsToSign=xe.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=T(T({},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 y,x,h,E,k,$,Ee,gr;let{sessionId:r,status:o,errorMessage:i,transactionHash:l,serverTransaction:p,inTransit:d}=t.payload,m=(x=(y=e.signedTransactions)==null?void 0:y[r])==null?void 0:x.transactions;if(m!=null){e.signedTransactions[r].transactions=m.map(H=>H.hash===l?S(T(T({},p!=null?p:{}),H),{status:o,errorMessage:i,inTransit:d}):H);let Zo=(E=(h=e.signedTransactions[r])==null?void 0:h.transactions)==null?void 0:E.every(H=>et(H.status)),Jo=($=(k=e.signedTransactions[r])==null?void 0:k.transactions)==null?void 0:$.some(H=>tt(H.status)),Qo=(gr=(Ee=e.signedTransactions[r])==null?void 0:Ee.transactions)==null?void 0:gr.every(H=>eo(H.status));Zo&&(e.signedTransactions[r].status="success"),Jo&&(e.signedTransactions[r].status="fail"),Qo&&(e.signedTransactions[r].status="invalid")}},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=xe.transactionsToSign,e.signTransactionsError=null},clearAllSignedTransactions:e=>{e.signedTransactions=xe.signedTransactions},setSignTransactionsError:(e,t)=>{e.signTransactionsError=t.payload},setSignTransactionsCancelMessage:(e,t)=>{e.signTransactionsCancelMessage=t.payload},updateSignedTransactionsCustomTransactionInformation:(e,t)=>{let{sessionId:r,customTransactionInformationOverrides:o}=t.payload;e.signedTransactions[r]!=null&&(e.signedTransactions[r].customTransactionInformation=T(T({},e.signedTransactions[r].customTransactionInformation),o))}},extraReducers:e=>{e.addCase(b,()=>xe),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((d,[m,y])=>{let x=new Date(m),h=new Date;return h.setHours(h.getHours()+5),h-x>0||(d[m]=y),d},{});i!=null&&(t.customTransactionInformationForSessionId=i),o!=null&&(t.signedTransactions=l)})}}),{updateSignedTransactionStatus:vp,updateSignedTransactions:kp,setTransactionsToSign:Ep,clearAllTransactionsToSign:Lp,clearAllSignedTransactions:Np,clearSignedTransaction:Rp,clearTransactionToSign:Cp,setSignTransactionsError:Dp,setSignTransactionsCancelMessage:_p,moveTransactionsToSignedState:Pp,updateSignedTransactionsCustomTransactionInformation:Op}=oo.actions,rt=oo.reducer});var io,er,so,Up,Vp,Wp,Gp,ot,it=f(()=>{"use strict";n();io=require("@reduxjs/toolkit");O();er={},so=(0,io.createSlice)({name:"batchTransactionsSlice",initialState:er,reducers:{setBatchTransactions:(e,t)=>{e[t.payload.id]=t.payload},updateBatchTransactions:(e,t)=>{e[t.payload.id]=t.payload},clearBatchTransactions:(e,t)=>{delete e[t.payload.batchId]},clearAllBatchTransactions:()=>er},extraReducers:e=>{e.addCase(b,()=>er)}}),{setBatchTransactions:Up,updateBatchTransactions:Vp,clearBatchTransactions:Wp,clearAllBatchTransactions:Gp}=so.actions,ot=so.reducer});var co,ao,lo,jp,po,tr=f(()=>{"use strict";n();co=require("@reduxjs/toolkit");O();ao={},lo=(0,co.createSlice)({name:"dappConfigSlice",initialState:ao,reducers:{setDappConfig:(e,t)=>t.payload},extraReducers:e=>{e.addCase(b,()=>ao)}}),{setDappConfig:jp}=lo.actions,po=lo.reducer});var ue=f(()=>{"use strict";n();We();$e();qe();ze();Ye();Ze();Qe();nt();it();tr()});var rr=f(()=>{"use strict";n()});var go,gs,fs,ne,ct=f(()=>{"use strict";n();go=require("@reduxjs/toolkit");rr();We();it();tr();$e();qe();ze();Ye();Ze();Qe();nt();gs={["account"]:Ve,["dappConfig"]:po,["loginInfo"]:Ge,["modals"]:He,["networkConfig"]:je,["signedMessageInfo"]:Ke,["toasts"]:Xe,["transactionsInfo"]:Je,["transactions"]:rt,["batchTransactions"]:ot},fs=(e={})=>(0,go.combineReducers)(T(T({},gs),e)),ne=fs});var ho={};J(ho,{default:()=>Cs,sessionStorageReducers:()=>nr});function Y(e,t=[]){return{key:e,version:1,storage:To.default,blacklist:t}}var R,fo,To,Ts,Se,ys,hs,xs,Ss,ws,As,Is,bs,vs,ks,yo,Es,nr,Ls,Ns,Rs,Cs,xo=f(()=>{"use strict";n();R=require("redux-persist"),fo=w(require("redux-persist/lib/storage")),To=w(require("redux-persist/lib/storage/session"));ct();ue();We();it();$e();qe();ze();Ye();Ze();Qe();nt();rr();Ts={persistReducersStorageType:"localStorage"},Se={["account"]:"sdk-dapp-account",["loginInfo"]:"sdk-dapp-login-info",["modals"]:"sdk-dapp-modals",["networkConfig"]:"sdk-dapp-network-config"},ys=Y(Se["account"]),hs=Y(Se["loginInfo"]),xs=Y(Se["modals"]),Ss=Y(Se["networkConfig"]),ws={2:e=>S(T({},e),{networkConfig:jt})};As=Y("sdk-dapp-transactionsInfo"),Is=Y("sdk-dapp-transactions",["transactionsToSign"]),bs=Y("sdk-dapp-batchTransactions",["batchTransactions"]),vs=Y("sdk-dapp-toasts"),ks=Y("sdk-dapp-signedMessageInfo"),yo={key:"sdk-dapp-store",version:2,storage:fo.default,whitelist:Object.keys(Se),migrate:(0,R.createMigrate)(ws,{debug:!1})},Es=S(T({},yo),{whitelist:[]}),nr={["toasts"]:(0,R.persistReducer)(vs,Xe),["transactions"]:(0,R.persistReducer)(Is,rt),["transactionsInfo"]:(0,R.persistReducer)(As,Je),["batchTransactions"]:(0,R.persistReducer)(bs,ot),["signedMessageInfo"]:(0,R.persistReducer)(ks,Ke)},Ls=S(T({},nr),{["account"]:(0,R.persistReducer)(ys,Ve),["loginInfo"]:(0,R.persistReducer)(hs,Ge),["modals"]:(0,R.persistReducer)(xs,He),["networkConfig"]:(0,R.persistReducer)(Ss,je)}),Ns=Ts.persistReducersStorageType==="localStorage",Rs=Ns?(0,R.persistReducer)(yo,ne(nr)):(0,R.persistReducer)(Es,ne(Ls)),Cs=Rs});var So={};J(So,{default:()=>Ds});var Ds,wo=f(()=>{"use strict";n();ct();Ds=ne()});var Ao={};J(Ao,{default:()=>Ps});var _,_s,Ps,Io=f(()=>{"use strict";n();_=require("redux-persist"),_s=[_.FLUSH,_.REHYDRATE,_.PAUSE,_.PERSIST,_.PURGE,_.REGISTER],Ps=_s});var ko={};J(ko,{default:()=>vo});function vo(e){return(0,bo.persistStore)(e)}var bo,Eo=f(()=>{"use strict";n();bo=require("redux-persist")});var va={};J(va,{useGetLoginInfo:()=>ba});module.exports=fe(va);n();n();var _o=require("react"),de=require("react-redux");n();var or=require("@reduxjs/toolkit"),Co=require("react-redux/lib/utils/Subscription");ue();n();var uo=w(require("lodash.throttle"));A();ue();qt();Fe();Te();var us=[Pe],st=!1,ds=(0,uo.default)(()=>{he(ye())},5e3),mo=e=>t=>r=>{if(us.includes(r.type))return t(r);let o=e.getState(),i=pe.local.getItem(re.loginExpiresAt);if(!Boolean(o==null?void 0:o.account.address))return t(r);if(i==null)return he(ye());let p=Date.now();return i-p<0&&!st?setTimeout(()=>{st=!0,e.dispatch(Cn())},1e3):(st&&(st=!1),ds()),t(r)};n();n();function at(){return typeof sessionStorage!="undefined"}var Lo=at()?(xo(),fe(ho)).default:(wo(),fe(So)).default,No=at()?(Io(),fe(Ao)).default:[],Ro=at()?(Eo(),fe(ko)).default:e=>e;ct();var Z=(0,or.configureStore)({reducer:Lo,middleware:e=>e({serializableCheck:{ignoredActions:[...No,En.type,kn.type],ignoredPaths:["payload.nonce","account.account.nonce","providers.accountProvider"]}}).concat(mo)}),Do=(0,Co.createSubscription)(Z),Hu=Ro(Z),qu=(0,or.configureStore)({reducer:ne});var Os={store:Z,subscription:Do},ir=(0,_o.createContext)(Os),Yu=(0,de.createStoreHook)(ir),Xu=(0,de.createDispatchHook)(ir),we=(0,de.createSelectorHook)(ir);n();n();ue();n();var Po=w(require("lodash.isequal")),lt=require("reselect"),g=(0,lt.createSelectorCreator)(lt.defaultMemoize,Po.default);var W=e=>e.account,sr=g(W,e=>e.address),pt=g(W,sr,(e,t)=>t in e.accounts?e.accounts[t]:Ue),td=g(W,pt,(e,t)=>{let i=e,{accounts:r}=i,o=yr(i,["accounts"]);return S(T({},o),{address:t.address,account:t})}),rd=g(pt,e=>e.balance),nd=g(pt,e=>{var t;return((t=e==null?void 0:e.nonce)==null?void 0:t.valueOf())||0}),od=g(W,e=>e.shard),id=g(W,e=>e.ledgerAccount),sd=g(W,e=>e.walletConnectAccount),ad=g(W,e=>e.isAccountLoading),cd=g(W,e=>e.accountLoadingError),ld=g(W,e=>e.websocketEvent),pd=g(W,e=>e.websocketBatchEvent);n();var Ms=e=>e.dappConfig,md=g(Ms,e=>e.shouldUseWebViewProvider);n();var C=e=>e.loginInfo,yd=g(C,e=>e.loginMethod),Oo=g(C,sr,(e,t)=>Boolean(t)),hd=g(C,e=>e.walletConnectLogin),xd=g(C,e=>e.ledgerLogin),Sd=g(C,e=>e.walletLogin),wd=g(C,e=>e.isLoginSessionInvalid),Ad=g(C,e=>e.tokenLogin),Id=g(C,e=>e.logoutRoute),bd=g(C,e=>e.isWalletConnectV2Initialized);n();var Mo=e=>e.modals,Ed=g(Mo,e=>e.txSubmittedModal),Ld=g(Mo,e=>e.notificationModal);n();var oe=e=>e.networkConfig,Cd=g(oe,e=>e.chainID),Dd=g(oe,e=>e.network.walletConnectBridgeAddress),_d=g(oe,e=>e.network.walletConnectV2RelayAddress),Pd=g(oe,e=>e.network.walletConnectV2ProjectId),Od=g(oe,e=>e.network.walletConnectV2Options),Md=g(oe,e=>e.network.walletConnectDeepLink),Ae=g(oe,e=>e.network),Fd=g(Ae,e=>e.apiAddress),Fo=g(Ae,e=>e.explorerAddress),Bd=g(Ae,e=>{var t;return(t=e.customWalletAddress)!=null?t:e.walletAddress}),Ud=g(Ae,e=>e.xAliasAddress),Vd=g(Ae,e=>e.egldLabel);n();var ut=e=>e.signedMessageInfo,$d=g(ut,e=>e.isSigning),Hd=g(ut,e=>e.errorMessage),qd=g(ut,e=>{let t=Object.keys(e.signedSessions),r=t.length;return e.signedSessions[t[r-1]]}),jd=g(ut,e=>{let t=Object.keys(e.signedSessions),r=t.length;return t.length>0?t[r-1]:""});n();var Bo=e=>e.toasts,Yd=g(Bo,e=>e.customToasts),Xd=g(Bo,e=>e.transactionToasts);n();ue();var Uo={errorMessage:Yt,successMessage:Xt,processingMessage:Zt},Fs=e=>e.transactionsInfo,em=g(Fs,(e,t)=>t,(e,t)=>t!=null&&(e==null?void 0:e[Number(t)])||Uo);n();n();var G=require("@multiversx/sdk-core");A();n();var cr=require("@multiversx/sdk-core/out");n();n();function ar(e){try{let t=atob(e),r=btoa(t),o=s.Buffer.from(e,"base64").toString(),i=s.Buffer.from(o).toString("base64"),l=e===r||r.startsWith(e),p=e===i||i.startsWith(e);if(l&&p)return!0}catch(t){return!1}return!1}n();n();n();n();var Vo=e=>{let t=e!=null?e:"";return ar(t)?cr.TransactionPayload.fromEncoded(t):new cr.TransactionPayload(t)};n();A();var dt=({data:e,onlySetGuardian:t})=>e?t?e.startsWith("SetGuardian"):Object.values(Ct).some(r=>e.startsWith(r)):!1;function lr(e){var o,i,l;let t=T({},e);dt({data:t.data,onlySetGuardian:!0})&&(delete t.senderUsername,delete t.receiverUsername);let r=new G.Transaction(T(T(S(T(S(T({value:t.value.valueOf(),data:Vo(t.data),nonce:t.nonce.valueOf(),receiver:new G.Address(t.receiver)},t.receiverUsername?{receiverUsername:t.receiverUsername}:{}),{sender:new G.Address(t.sender)}),t.senderUsername?{senderUsername:t.senderUsername}:{}),{gasLimit:(o=t.gasLimit.valueOf())!=null?o:Ft,gasPrice:(i=t.gasPrice.valueOf())!=null?i:Bt,chainID:t.chainID.valueOf(),version:new G.TransactionVersion((l=t.version)!=null?l:mn)}),t.options?{options:new G.TransactionOptions(t.options)}:{}),t.guardian?{guardian:new G.Address(t.guardian)}:{}));return t.guardianSignature&&r.applyGuardianSignature(s.Buffer.from(t.guardianSignature,"hex")),t.signature&&r.applySignature(s.Buffer.from(t.signature,"hex")),r}n();n();A();n();n();n();var Ws=require("@multiversx/sdk-core/out");n();A();n();var Go=require("@multiversx/sdk-core");P();n();var Gs=require("@multiversx/sdk-core");n();n();n();var $s=require("@multiversx/sdk-core"),Hs=w(require("bignumber.js"));K();n();n();n();n();n();n();n();N();n();n();N();n();n();n();var Xs=w(require("bignumber.js"));A();n();var Ys=require("@multiversx/sdk-core"),pr=w(require("bignumber.js"));A();n();var zs=w(require("bignumber.js"));n();pr.default.config({ROUNDING_MODE:pr.default.ROUND_FLOOR});n();n();n();A();n();n();n();n();A();n();A();n();var Zs=require("@multiversx/sdk-core");A();n();var be=require("@multiversx/sdk-core"),Qs=w(require("bignumber.js"));A();n();n();var Js=w(require("bignumber.js"));A();n();A();n();n();n();n();n();n();A();n();A();n();A();n();N();var ta=["reDelegateRewards","claimRewards","unBond"],ra=["wrapEgld","unwrapEgld"],na=["unStake"],oa=["unDelegate"];n();n();n();A();n();var aa=w(require("bignumber.js"));n();n();N();n();var la=w(require("bignumber.js"));n();n();n();n();var ua=w(require("bignumber.js"));P();n();n();n();n();K();n();var ga=require("@multiversx/sdk-web-wallet-provider");A();n();var ma=w(require("qs"));n();n();n();n();n();var gt=()=>typeof window!="undefined"&&typeof(window==null?void 0:window.location)!="undefined";n();n();var Zy={search:gt()?window.location.search:"",removeParams:[]};n();n();n();n();N();n();n();n();var fa=w(require("linkifyjs"));n();A();n();var Ta=w(require("bignumber.js"));n();P();n();n();K();n();K();n();n();n();N();n();N();n();var ya=w(require("bignumber.js"));A();N();n();N();n();var Ko=require("react");P();n();n();N();n();n();var ha=require("@multiversx/sdk-core/out"),xa=w(require("bignumber.js"));N();n();P();n();n();P();var qx=[{label:"Raw",value:"raw"},{label:"Text",value:"text"},{label:"Decimal",value:"decimal"},{label:"Smart",value:"smart"}];n();var Yo=require("react");P();n();var wa=require("react");N();var Qx=["create","localMint","ESDTLocalMint","addQuantity","burn","localBurn","ESDTLocalBurn","wipe","writeLog","signalError"];Qt();n();var Tt=e=>e.transactions,ke=g(Tt,e=>e.signedTransactions),$S=g(Tt,e=>e.signTransactionsError),HS=g(Tt,e=>e.signTransactionsCancelMessage),yt=e=>t=>Object.entries(t).reduce((r,[o,i])=>(e(i.status)&&(r[o]=i),r),{}),qS=g(ke,yt(Qn)),jS=g(ke,yt(et)),zS=g(ke,yt(tt)),KS=g(ke,yt(to)),YS=g(Tt,e=>{var t;return(e==null?void 0:e.transactionsToSign)==null?null:S(T({},e.transactionsToSign),{transactions:((t=e==null?void 0:e.transactionsToSign)==null?void 0:t.transactions.map(r=>lr(r)))||[]})}),XS=g(ke,(e,t)=>t,(e,t)=>t!=null?(e==null?void 0:e[t])||{}:{});n();n();n();n();var me=w(require("react"));var Aa=(0,me.createContext)({}),gw=Z.getState();function ht(){let e=(0,me.useContext)(Aa);if(e===void 0||Object.values(e).length===0)throw new Error("useAxiosInterceptorContext must be used within an AxiosInterceptorContextProvider");return e}n();var Xo=w(require("react"));n();n();var mr=w(require("react")),Ia=w(require("axios"));var ba=()=>{try{let{loginInfo:e,isLoggedIn:t}=ht();return S(T({},e),{isLoggedIn:t})}catch(e){let t=we(C),r=we(Oo);return S(T({},t),{isLoggedIn:r})}};0&&(module.exports={useGetLoginInfo});
1
+ "use strict";var ei=Object.create;var ge=Object.defineProperty,ti=Object.defineProperties,ri=Object.getOwnPropertyDescriptor,ni=Object.getOwnPropertyDescriptors,oi=Object.getOwnPropertyNames,Le=Object.getOwnPropertySymbols,ii=Object.getPrototypeOf,xt=Object.prototype.hasOwnProperty,Tr=Object.prototype.propertyIsEnumerable;var fr=(e,t,r)=>t in e?ge(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,T=(e,t)=>{for(var r in t||(t={}))xt.call(t,r)&&fr(e,r,t[r]);if(Le)for(var r of Le(t))Tr.call(t,r)&&fr(e,r,t[r]);return e},S=(e,t)=>ti(e,ni(t));var yr=(e,t)=>{var r={};for(var o in e)xt.call(e,o)&&t.indexOf(o)<0&&(r[o]=e[o]);if(e!=null&&Le)for(var o of Le(e))t.indexOf(o)<0&&Tr.call(e,o)&&(r[o]=e[o]);return r};var f=(e,t)=>()=>(e&&(t=e(e=0)),t);var Ne=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),J=(e,t)=>{for(var r in t)ge(e,r,{get:t[r],enumerable:!0})},hr=(e,t,r,o)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of oi(t))!xt.call(e,i)&&i!==r&&ge(e,i,{get:()=>t[i],enumerable:!(o=ri(t,i))||o.enumerable});return e};var w=(e,t,r)=>(r=e!=null?ei(ii(e)):{},hr(t||!e||!e.__esModule?ge(r,"default",{value:e,enumerable:!0}):r,e)),fe=e=>hr(ge({},"__esModule",{value:!0}),e);var wr=Ne(Re=>{"use strict";n();Re.byteLength=si;Re.toByteArray=li;Re.fromByteArray=di;var M=[],D=[],ai=typeof Uint8Array!="undefined"?Uint8Array:Array,St="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(Q=0,xr=St.length;Q<xr;++Q)M[Q]=St[Q],D[St.charCodeAt(Q)]=Q;var Q,xr;D["-".charCodeAt(0)]=62;D["_".charCodeAt(0)]=63;function Sr(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 si(e){var t=Sr(e),r=t[0],o=t[1];return(r+o)*3/4-o}function ci(e,t,r){return(t+r)*3/4-r}function li(e){var t,r=Sr(e),o=r[0],i=r[1],l=new ai(ci(e,o,i)),p=0,d=i>0?o-4:o,m;for(m=0;m<d;m+=4)t=D[e.charCodeAt(m)]<<18|D[e.charCodeAt(m+1)]<<12|D[e.charCodeAt(m+2)]<<6|D[e.charCodeAt(m+3)],l[p++]=t>>16&255,l[p++]=t>>8&255,l[p++]=t&255;return i===2&&(t=D[e.charCodeAt(m)]<<2|D[e.charCodeAt(m+1)]>>4,l[p++]=t&255),i===1&&(t=D[e.charCodeAt(m)]<<10|D[e.charCodeAt(m+1)]<<4|D[e.charCodeAt(m+2)]>>2,l[p++]=t>>8&255,l[p++]=t&255),l}function pi(e){return M[e>>18&63]+M[e>>12&63]+M[e>>6&63]+M[e&63]}function ui(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(pi(o));return i.join("")}function di(e){for(var t,r=e.length,o=r%3,i=[],l=16383,p=0,d=r-o;p<d;p+=l)i.push(ui(e,p,p+l>d?d:p+l));return o===1?(t=e[r-1],i.push(M[t>>2]+M[t<<4&63]+"==")):o===2&&(t=(e[r-2]<<8)+e[r-1],i.push(M[t>>10]+M[t>>4&63]+M[t<<2&63]+"=")),i.join("")}});var Ar=Ne(wt=>{n();wt.read=function(e,t,r,o,i){var l,p,d=i*8-o-1,m=(1<<d)-1,y=m>>1,x=-7,h=r?i-1:0,E=r?-1:1,k=e[t+h];for(h+=E,l=k&(1<<-x)-1,k>>=-x,x+=d;x>0;l=l*256+e[t+h],h+=E,x-=8);for(p=l&(1<<-x)-1,l>>=-x,x+=o;x>0;p=p*256+e[t+h],h+=E,x-=8);if(l===0)l=1-y;else{if(l===m)return p?NaN:(k?-1:1)*(1/0);p=p+Math.pow(2,o),l=l-y}return(k?-1:1)*p*Math.pow(2,l-o)};wt.write=function(e,t,r,o,i,l){var p,d,m,y=l*8-i-1,x=(1<<y)-1,h=x>>1,E=i===23?Math.pow(2,-24)-Math.pow(2,-77):0,k=o?0:l-1,$=o?1:-1,Ee=t<0||t===0&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(d=isNaN(t)?1:0,p=x):(p=Math.floor(Math.log(t)/Math.LN2),t*(m=Math.pow(2,-p))<1&&(p--,m*=2),p+h>=1?t+=E/m:t+=E*Math.pow(2,1-h),t*m>=2&&(p++,m/=2),p+h>=x?(d=0,p=x):p+h>=1?(d=(t*m-1)*Math.pow(2,i),p=p+h):(d=t*Math.pow(2,h-1)*Math.pow(2,i),p=0));i>=8;e[r+k]=d&255,k+=$,d/=256,i-=8);for(p=p<<i|d,y+=i;y>0;e[r+k]=p&255,k+=$,p/=256,y-=8);e[r+k-$]|=Ee*128}});var Or=Ne(ae=>{"use strict";n();var At=wr(),ie=Ar(),Ir=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;ae.Buffer=u;ae.SlowBuffer=hi;ae.INSPECT_MAX_BYTES=50;var Ce=2147483647;ae.kMaxLength=Ce;u.TYPED_ARRAY_SUPPORT=mi();!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 mi(){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>Ce)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 kt(e)}return kr(e,t,r)}u.poolSize=8192;function kr(e,t,r){if(typeof e=="string")return fi(e,t);if(ArrayBuffer.isView(e))return Ti(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(F(e,ArrayBuffer)||e&&F(e.buffer,ArrayBuffer)||typeof SharedArrayBuffer!="undefined"&&(F(e,SharedArrayBuffer)||e&&F(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=yi(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 kr(e,t,r)};Object.setPrototypeOf(u.prototype,Uint8Array.prototype);Object.setPrototypeOf(u,Uint8Array);function Er(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 gi(e,t,r){return Er(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 gi(e,t,r)};function kt(e){return Er(e),q(e<0?0:Et(e)|0)}u.allocUnsafe=function(e){return kt(e)};u.allocUnsafeSlow=function(e){return kt(e)};function fi(e,t){if((typeof t!="string"||t==="")&&(t="utf8"),!u.isEncoding(t))throw new TypeError("Unknown encoding: "+t);var r=Lr(e,t)|0,o=q(r),i=o.write(e,t);return i!==r&&(o=o.slice(0,i)),o}function It(e){for(var t=e.length<0?0:Et(e.length)|0,r=q(t),o=0;o<t;o+=1)r[o]=e[o]&255;return r}function Ti(e){if(F(e,Uint8Array)){var t=new Uint8Array(e);return bt(t.buffer,t.byteOffset,t.byteLength)}return It(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 yi(e){if(u.isBuffer(e)){var t=Et(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"||Lt(e.length)?q(0):It(e);if(e.type==="Buffer"&&Array.isArray(e.data))return It(e.data)}function Et(e){if(e>=Ce)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+Ce.toString(16)+" bytes");return e|0}function hi(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(F(t,Uint8Array)&&(t=u.from(t,t.offset,t.byteLength)),F(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(F(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 Lr(e,t){if(u.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||F(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 vt(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return r*2;case"hex":return r>>>1;case"base64":return Pr(e).length;default:if(i)return o?-1:vt(e).length;t=(""+t).toLowerCase(),i=!0}}u.byteLength=Lr;function xi(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 Ni(this,t,r);case"utf8":case"utf-8":return Rr(this,t,r);case"ascii":return Ei(this,t,r);case"latin1":case"binary":return Li(this,t,r);case"base64":return vi(this,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Ri(this,t,r);default:if(o)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),o=!0}}u.prototype._isBuffer=!0;function ee(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)ee(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)ee(this,r,r+3),ee(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)ee(this,r,r+7),ee(this,r+1,r+6),ee(this,r+2,r+5),ee(this,r+3,r+4);return this};u.prototype.toString=function(){var t=this.length;return t===0?"":arguments.length===0?Rr(this,0,t):xi.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=ae.INSPECT_MAX_BYTES;return t=this.toString("hex",0,r).replace(/(.{2})/g,"$1 ").trim(),this.length>r&&(t+=" ... "),"<Buffer "+t+">"};Ir&&(u.prototype[Ir]=u.prototype.inspect);u.prototype.compare=function(t,r,o,i,l){if(F(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,d=o-r,m=Math.min(p,d),y=this.slice(i,l),x=t.slice(r,o),h=0;h<m;++h)if(y[h]!==x[h]){p=y[h],d=x[h];break}return p<d?-1:d<p?1:0};function Nr(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,Lt(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:br(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):br(e,[t],r,o,i);throw new TypeError("val must be string, number or Buffer")}function br(e,t,r,o,i){var l=1,p=e.length,d=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,d/=2,r/=2}function m(k,$){return l===1?k[$]:k.readUInt16BE($*l)}var y;if(i){var x=-1;for(y=r;y<p;y++)if(m(e,y)===m(t,x===-1?0:y-x)){if(x===-1&&(x=y),y-x+1===d)return x*l}else x!==-1&&(y-=y-x),x=-1}else for(r+d>p&&(r=p-d),y=r;y>=0;y--){for(var h=!0,E=0;E<d;E++)if(m(e,y+E)!==m(t,E)){h=!1;break}if(h)return y}return-1}u.prototype.includes=function(t,r,o){return this.indexOf(t,r,o)!==-1};u.prototype.indexOf=function(t,r,o){return Nr(this,t,r,o,!0)};u.prototype.lastIndexOf=function(t,r,o){return Nr(this,t,r,o,!1)};function Si(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 d=parseInt(t.substr(p*2,2),16);if(Lt(d))return p;e[r+p]=d}return p}function wi(e,t,r,o){return De(vt(t,e.length-r),e,r,o)}function Ai(e,t,r,o){return De(_i(t),e,r,o)}function Ii(e,t,r,o){return De(Pr(t),e,r,o)}function bi(e,t,r,o){return De(Pi(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 Si(this,t,r,o);case"utf8":case"utf-8":return wi(this,t,r,o);case"ascii":case"latin1":case"binary":return Ai(this,t,r,o);case"base64":return Ii(this,t,r,o);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return bi(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 vi(e,t,r){return t===0&&r===e.length?At.fromByteArray(e):At.fromByteArray(e.slice(t,r))}function Rr(e,t,r){r=Math.min(e.length,r);for(var o=[],i=t;i<r;){var l=e[i],p=null,d=l>239?4:l>223?3:l>191?2:1;if(i+d<=r){var m,y,x,h;switch(d){case 1:l<128&&(p=l);break;case 2:m=e[i+1],(m&192)===128&&(h=(l&31)<<6|m&63,h>127&&(p=h));break;case 3:m=e[i+1],y=e[i+2],(m&192)===128&&(y&192)===128&&(h=(l&15)<<12|(m&63)<<6|y&63,h>2047&&(h<55296||h>57343)&&(p=h));break;case 4:m=e[i+1],y=e[i+2],x=e[i+3],(m&192)===128&&(y&192)===128&&(x&192)===128&&(h=(l&15)<<18|(m&63)<<12|(y&63)<<6|x&63,h>65535&&h<1114112&&(p=h))}}p===null?(p=65533,d=1):p>65535&&(p-=65536,o.push(p>>>10&1023|55296),p=56320|p&1023),o.push(p),i+=d}return ki(o)}var vr=4096;function ki(e){var t=e.length;if(t<=vr)return String.fromCharCode.apply(String,e);for(var r="",o=0;o<t;)r+=String.fromCharCode.apply(String,e.slice(o,o+=vr));return r}function Ei(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 Li(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 Ni(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+=Oi[e[l]];return i}function Ri(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 v(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||v(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||v(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||v(t,1,this.length),this[t]};u.prototype.readUint16LE=u.prototype.readUInt16LE=function(t,r){return t=t>>>0,r||v(t,2,this.length),this[t]|this[t+1]<<8};u.prototype.readUint16BE=u.prototype.readUInt16BE=function(t,r){return t=t>>>0,r||v(t,2,this.length),this[t]<<8|this[t+1]};u.prototype.readUint32LE=u.prototype.readUInt32LE=function(t,r){return t=t>>>0,r||v(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||v(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||v(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||v(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||v(t,1,this.length),this[t]&128?(255-this[t]+1)*-1:this[t]};u.prototype.readInt16LE=function(t,r){t=t>>>0,r||v(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||v(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||v(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||v(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||v(t,4,this.length),ie.read(this,t,!0,23,4)};u.prototype.readFloatBE=function(t,r){return t=t>>>0,r||v(t,4,this.length),ie.read(this,t,!1,23,4)};u.prototype.readDoubleLE=function(t,r){return t=t>>>0,r||v(t,8,this.length),ie.read(this,t,!0,52,8)};u.prototype.readDoubleBE=function(t,r){return t=t>>>0,r||v(t,8,this.length),ie.read(this,t,!1,52,8)};function L(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;L(this,t,r,o,l,0)}var p=1,d=0;for(this[r]=t&255;++d<o&&(p*=256);)this[r+d]=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;L(this,t,r,o,l,0)}var p=o-1,d=1;for(this[r+p]=t&255;--p>=0&&(d*=256);)this[r+p]=t/d&255;return r+o};u.prototype.writeUint8=u.prototype.writeUInt8=function(t,r,o){return t=+t,r=r>>>0,o||L(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||L(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||L(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||L(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||L(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);L(this,t,r,o,l-1,-l)}var p=0,d=1,m=0;for(this[r]=t&255;++p<o&&(d*=256);)t<0&&m===0&&this[r+p-1]!==0&&(m=1),this[r+p]=(t/d>>0)-m&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);L(this,t,r,o,l-1,-l)}var p=o-1,d=1,m=0;for(this[r+p]=t&255;--p>=0&&(d*=256);)t<0&&m===0&&this[r+p+1]!==0&&(m=1),this[r+p]=(t/d>>0)-m&255;return r+o};u.prototype.writeInt8=function(t,r,o){return t=+t,r=r>>>0,o||L(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||L(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||L(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||L(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||L(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 Cr(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 Dr(e,t,r,o,i){return t=+t,r=r>>>0,i||Cr(e,t,r,4,34028234663852886e22,-34028234663852886e22),ie.write(e,t,r,o,23,4),r+4}u.prototype.writeFloatLE=function(t,r,o){return Dr(this,t,r,!0,o)};u.prototype.writeFloatBE=function(t,r,o){return Dr(this,t,r,!1,o)};function _r(e,t,r,o,i){return t=+t,r=r>>>0,i||Cr(e,t,r,8,17976931348623157e292,-17976931348623157e292),ie.write(e,t,r,o,52,8),r+8}u.prototype.writeDoubleLE=function(t,r,o){return _r(this,t,r,!0,o)};u.prototype.writeDoubleBE=function(t,r,o){return _r(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 d=u.isBuffer(t)?t:u.from(t,i),m=d.length;if(m===0)throw new TypeError('The value "'+t+'" is invalid for argument "value"');for(p=0;p<o-r;++p)this[p+r]=d[p%m]}return this};var Ci=/[^+/0-9A-Za-z-_]/g;function Di(e){if(e=e.split("=")[0],e=e.trim().replace(Ci,""),e.length<2)return"";for(;e.length%4!==0;)e=e+"=";return e}function vt(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 _i(e){for(var t=[],r=0;r<e.length;++r)t.push(e.charCodeAt(r)&255);return t}function Pi(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 Pr(e){return At.toByteArray(Di(e))}function De(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 F(e,t){return e instanceof t||e!=null&&e.constructor!=null&&e.constructor.name!=null&&e.constructor.name===t.name}function Lt(e){return e!==e}var Oi=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 Vr=Ne((Rs,Ur)=>{n();var I=Ur.exports={},B,U;function Nt(){throw new Error("setTimeout has not been defined")}function Rt(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?B=setTimeout:B=Nt}catch(e){B=Nt}try{typeof clearTimeout=="function"?U=clearTimeout:U=Rt}catch(e){U=Rt}})();function Mr(e){if(B===setTimeout)return setTimeout(e,0);if((B===Nt||!B)&&setTimeout)return B=setTimeout,setTimeout(e,0);try{return B(e,0)}catch(t){try{return B.call(null,e,0)}catch(r){return B.call(this,e,0)}}}function Mi(e){if(U===clearTimeout)return clearTimeout(e);if((U===Rt||!U)&&clearTimeout)return U=clearTimeout,clearTimeout(e);try{return U(e)}catch(t){try{return U.call(null,e)}catch(r){return U.call(this,e)}}}var j=[],se=!1,te,_e=-1;function Fi(){!se||!te||(se=!1,te.length?j=te.concat(j):_e=-1,j.length&&Fr())}function Fr(){if(!se){var e=Mr(Fi);se=!0;for(var t=j.length;t;){for(te=j,j=[];++_e<t;)te&&te[_e].run();_e=-1,t=j.length}te=null,se=!1,Mi(e)}}I.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];j.push(new Br(e,t)),j.length===1&&!se&&Mr(Fr)};function Br(e,t){this.fun=e,this.array=t}Br.prototype.run=function(){this.fun.apply(null,this.array)};I.title="browser";I.browser=!0;I.env={};I.argv=[];I.version="";I.versions={};function z(){}I.on=z;I.addListener=z;I.once=z;I.off=z;I.removeListener=z;I.removeAllListeners=z;I.emit=z;I.prependListener=z;I.prependOnceListener=z;I.listeners=function(e){return[]};I.binding=function(e){throw new Error("process.binding is not supported")};I.cwd=function(){return"/"};I.chdir=function(e){throw new Error("process.chdir is not supported")};I.umask=function(){return 0}});var a,s,Cs,n=f(()=>{a=w(Or()),s=w(Vr()),Cs=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 Wr=f(()=>{"use strict";n()});var Gr=f(()=>{"use strict";n()});var $r=f(()=>{"use strict";n()});var Ct,Hr=f(()=>{"use strict";n();Ct=(o=>(o.SetGuardian="SetGuardian",o.GuardAccount="GuardAccount",o.UnGuardAccount="UnGuardAccount",o))(Ct||{})});var qr=f(()=>{"use strict";n()});var Dt=f(()=>{"use strict";n()});var jr=f(()=>{"use strict";n()});var zr=f(()=>{"use strict";n()});var Kr=f(()=>{"use strict";n()});var Yr=f(()=>{"use strict";n()});var _t,ce,Pt=f(()=>{"use strict";n();_t=require("@multiversx/sdk-dapp-utils/out/constants/crossWindowProviderConstants"),ce=require("@multiversx/sdk-dapp-utils/out/enums/crossWindowProviderEnums")});var Xr,$s,Zr,Hs,K=f(()=>{"use strict";n();Pt();Xr=(r=>(r.signTransactionsWithGuardianResponse="SIGN_TRANSACTIONS_WITH_GUARDIAN_RESPONSE",r.reloginRequest="RELOGIN_REQUEST",r))(Xr||{}),$s=T(T({},ce.CrossWindowProviderRequestEnums),Xr),Zr=(t=>(t.reloginResponse="RELOGIN_RESPONSE",t))(Zr||{}),Hs=T(T({},ce.CrossWindowProviderResponseEnums),Zr)});var Jr=f(()=>{"use strict";n()});var Qr=f(()=>{"use strict";n()});var N=f(()=>{"use strict";n()});var en=f(()=>{"use strict";n()});var tn=f(()=>{"use strict";n()});var rn=f(()=>{"use strict";n()});var P=f(()=>{"use strict";n();zr();Kr();Yr();K();Jr();Qr();N();en();tn();rn()});var Ot,nn,sc,on,cc,an,lc,pc,uc,sn=f(()=>{"use strict";n();P();Ot={devnet:{id:"devnet",chainId:"D",name:"Devnet",egldLabel:"xEGLD",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"https://maiar.page.link/?apn=com.elrond.maiar.wallet&isi=1519405832&ibi=com.elrond.maiar.wallet&link=https://xportal.com/",walletConnectBridgeAddresses:["https://bridge.walletconnect.org"],walletConnectV2RelayAddresses:["wss://relay.walletconnect.com"],walletAddress:"https://devnet-wallet.multiversx.com",xAliasAddress:"https://devnet.xalias.com",apiAddress:"https://devnet-api.multiversx.com",explorerAddress:"http://devnet-explorer.multiversx.com",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",xAliasAddress:"https://testnet.xalias.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",xAliasAddress:"https://xalias.com",apiAddress:"https://api.multiversx.com",explorerAddress:"https://explorer.multiversx.com",apiTimeout:"4000"}},{chainId:nn,egldLabel:sc}=Ot["devnet"],{chainId:on,egldLabel:cc}=Ot["testnet"],{chainId:an,egldLabel:lc}=Ot["mainnet"],pc={["devnet"]:nn,["testnet"]:on,["mainnet"]:an},uc={[nn]:"devnet",[on]:"testnet",[an]:"mainnet"}});var cn=f(()=>{"use strict";n()});var V,ln=f(()=>{"use strict";n();V=require("@multiversx/sdk-web-wallet-provider")});var pn,un,Mt,Tc,yc,dn=f(()=>{"use strict";n();Pt();Mt=String((un=(pn=_t.safeWindow)==null?void 0:pn.navigator)==null?void 0:un.userAgent),Tc=/^((?!chrome|android).)*safari/i.test(Mt),yc=/firefox/i.test(Mt)&&/windows/i.test(Mt)});var Ft,Bt,mn,Pe,gn,le,A=f(()=>{"use strict";n();Wr();Gr();$r();Hr();qr();Dt();jr();sn();cn();ln();dn();Ft=5e4,Bt=1e9,mn=1,Pe="logout",gn="login",le="0"});var Oe,Ut=f(()=>{"use strict";n();Oe=()=>Date.now()/1e3});var fn=f(()=>{"use strict";n()});var Tn=f(()=>{"use strict";n()});var yn=f(()=>{"use strict";n();Ut();fn();Tn()});var Vt={};J(Vt,{clear:()=>Wi,getItem:()=>Ui,localStorageKeys:()=>re,removeItem:()=>Vi,setItem:()=>Bi});var re,Me,Bi,Ui,Vi,Wi,Te=f(()=>{"use strict";n();yn();re={loginExpiresAt:"sdk-dapp-login-expires-at",logoutEvent:"sdk-dapp-logout-event"},Me=typeof localStorage!="undefined",Bi=({key:e,data:t,expires:r})=>{!Me||localStorage.setItem(String(e),JSON.stringify({expires:r,data:t}))},Ui=e=>{if(!Me)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:Oe()>=r.expires?(localStorage.removeItem(String(e)),null):r.data},Vi=e=>{!Me||localStorage.removeItem(String(e))},Wi=()=>{!Me||localStorage.clear()}});var Wt={};J(Wt,{clear:()=>wn,getItem:()=>xn,removeItem:()=>Sn,setItem:()=>hn,storage:()=>Gi});var hn,xn,Sn,wn,Gi,An=f(()=>{"use strict";n();hn=({key:e,data:t,expires:r})=>{sessionStorage.setItem(String(e),JSON.stringify({expires:r,data:t}))},xn=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},Sn=e=>sessionStorage.removeItem(String(e)),wn=()=>sessionStorage.clear(),Gi={setItem:hn,getItem:xn,removeItem:Sn,clear:wn}});var pe,Fe=f(()=>{"use strict";n();Te();An();pe={session:Wt,local:Vt}});var Gt,b,Be,O=f(()=>{"use strict";n();Gt=require("@reduxjs/toolkit");A();b=(0,Gt.createAction)(Pe),Be=(0,Gt.createAction)(gn,e=>({payload:e}))});var Ht,In,bn,Ue,$t,vn,kn,Kc,En,Yc,Xc,Zc,Jc,Qc,el,tl,rl,Ve,We=f(()=>{"use strict";n();Ht=require("@multiversx/sdk-core"),In=require("@reduxjs/toolkit"),bn=require("redux-persist");A();Fe();Te();O();Ue={balance:"...",address:"",isGuarded:!1,nonce:0,txCount:0,scrCount:0,claimableRewards:le},$t={address:"",websocketEvent:null,websocketBatchEvent:null,accounts:{"":Ue},ledgerAccount:null,publicKey:"",walletConnectAccount:null,isAccountLoading:!0,accountLoadingError:null},vn=(0,In.createSlice)({name:"accountInfoSlice",initialState:$t,reducers:{setAddress:(e,t)=>{let r=t.payload;e.address=r,e.publicKey=r?new Ht.Address(r).hex():""},setAccount:(e,t)=>{let r=e.address===t.payload.address;e.accounts={[e.address]:r?t.payload:Ue},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}},setWebsocketBatchEvent:(e,t)=>{e.websocketBatchEvent={timestamp:Date.now(),data:t.payload}}},extraReducers:e=>{e.addCase(b,()=>(pe.local.removeItem(re.loginExpiresAt),$t)),e.addCase(Be,(t,r)=>{let{address:o}=r.payload;t.address=o,t.publicKey=new Ht.Address(o).hex()}),e.addCase(bn.REHYDRATE,(t,r)=>{var y;if(!((y=r.payload)!=null&&y.account))return;let{account:o}=r.payload,{address:i,shard:l,accounts:p,publicKey:d}=o;t.address=i,t.shard=l;let m=p&&i in p;t.accounts=m?p:$t.accounts,t.publicKey=d})}}),{setAccount:kn,setAddress:Kc,setAccountNonce:En,setAccountShard:Yc,setLedgerAccount:Xc,updateLedgerAccount:Zc,setWalletConnectAccount:Jc,setIsAccountLoading:Qc,setAccountLoadingError:el,setWebsocketEvent:tl,setWebsocketBatchEvent:rl}=vn.actions,Ve=vn.reducer});function ye(){return new Date().setHours(new Date().getHours()+24)}function he(e){pe.local.setItem({key:re.loginExpiresAt,data:e,expires:e})}var qt=f(()=>{"use strict";n();Fe();Te()});var Nn,Ln,Rn,ml,gl,fl,Tl,yl,hl,Cn,xl,Sl,Ge,$e=f(()=>{"use strict";n();Nn=require("@reduxjs/toolkit");qt();K();O();Ln={loginMethod:"",walletConnectLogin:null,ledgerLogin:null,tokenLogin:null,walletLogin:null,extensionLogin:null,operaLogin:null,crossWindowLogin:null,isLoginSessionInvalid:!1},Rn=(0,Nn.createSlice)({name:"loginInfoSlice",initialState:Ln,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},setIsWalletConnectV2Initialized:(e,t)=>{e.isWalletConnectV2Initialized=t.payload}},extraReducers:e=>{e.addCase(b,()=>Ln),e.addCase(Be,(t,r)=>{t.isLoginSessionInvalid=!1,t.loginMethod=r.payload.loginMethod,he(ye())})}}),{setLoginMethod:ml,setWalletConnectLogin:gl,setLedgerLogin:fl,setTokenLogin:Tl,setTokenLoginSignature:yl,setWalletLogin:hl,invalidateLoginSession:Cn,setLogoutRoute:xl,setIsWalletConnectV2Initialized:Sl}=Rn.actions,Ge=Rn.reducer});var _n,Dn,Pn,bl,vl,kl,El,He,qe=f(()=>{"use strict";n();_n=require("@reduxjs/toolkit");O();Dn={},Pn=(0,_n.createSlice)({name:"modalsSlice",initialState:Dn,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(b,()=>Dn)}}),{setTxSubmittedModal:bl,setNotificationModal:vl,clearTxSubmittedModal:kl,clearNotificationModal:El}=Pn.actions,He=Pn.reducer});var On=f(()=>{"use strict";n()});var Mn=f(()=>{"use strict";n();On()});function Fn(e){return e[Math.floor(Math.random()*e.length)]}var Bn=f(()=>{"use strict";n()});var Un=f(()=>{"use strict";n();Dt()});var Vn=f(()=>{"use strict";n();Mn();Bn();Un()});var Wn,Gn,$n,jt,$i,Hn,Hl,ql,jl,je,ze=f(()=>{"use strict";n();Wn=require("@reduxjs/toolkit"),Gn=w(require("lodash.omit")),$n=require("redux-persist");O();Vn();jt={id:"not-configured",chainId:"",name:"NOT CONFIGURED",egldLabel:"",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"",walletConnectBridgeAddress:"",walletConnectV2RelayAddress:"",walletConnectV2ProjectId:"",walletConnectV2Options:{},walletAddress:"",apiAddress:"",explorerAddress:"",apiTimeout:"4000"},$i={network:jt,chainID:"-1"},Hn=(0,Wn.createSlice)({name:"appConfig",initialState:$i,reducers:{initializeNetworkConfig:(e,t)=>{let r=Fn(t.payload.walletConnectV2RelayAddresses),o=(0,Gn.default)(t.payload,"walletConnectV2RelayAddresses");e.network=S(T(T({},e.network),o),{walletConnectV2RelayAddress:r})},setChainID:(e,t)=>{e.chainID=t.payload},setCustomWalletAddress:(e,t)=>{e.network.customWalletAddress=t.payload}},extraReducers:e=>{e.addCase(b,t=>{t.network.customWalletAddress=void 0}),e.addCase($n.REHYDRATE,(t,r)=>{var i,l;if(!((l=(i=r.payload)==null?void 0:i.network)!=null&&l.customWalletAddress))return;let{network:{customWalletAddress:o}}=r.payload;t.network.customWalletAddress=o})}}),{initializeNetworkConfig:Hl,setChainID:ql,setCustomWalletAddress:jl}=Hn.actions,je=Hn.reducer});var qn,zt,jn,Jl,Ql,ep,Ke,Ye=f(()=>{"use strict";n();qn=require("@reduxjs/toolkit");P();O();zt={isSigning:!1,signedSessions:{}},jn=(0,qn.createSlice)({name:"signedMessageInfoSliceState",initialState:zt,reducers:{setSignSession:(e,t)=>{let{sessionId:r,signedSession:o,errorMessage:i}=t.payload;i&&(e.errorMessage=i),e.isSigning=o.status==="pending",e.signedSessions[r]=T(T({},e.signedSessions[r]),o)},setSignSessionState:(e,t)=>T(T({},e),t.payload),clearSignedMessageInfo:()=>zt},extraReducers:e=>{e.addCase(b,()=>zt)}}),{setSignSession:Jl,clearSignedMessageInfo:Ql,setSignSessionState:ep}=jn.actions,Ke=jn.reducer});var Kn,Yn,zn,Xn,sp,cp,lp,pp,Xe,Ze=f(()=>{"use strict";n();Kn=require("@reduxjs/toolkit"),Yn=require("redux-persist");P();Ut();O();zn={customToasts:[],transactionToasts:[]},Xn=(0,Kn.createSlice)({name:"toastsSlice",initialState:zn,reducers:{addCustomToast:(e,t)=>{let r=t.payload.toastId||`custom-toast-${e.customToasts.length+1}`,o=e.customToasts.findIndex(i=>i.toastId===r);if(o!==-1){e.customToasts[o]=S(T(T({},e.customToasts[o]),t.payload),{type:"custom",toastId:r});return}e.customToasts.push(S(T({},t.payload),{type:"custom",toastId:r}))},removeCustomToast:(e,t)=>{e.customToasts=e.customToasts.filter(r=>r.toastId!==t.payload)},addTransactionToast:(e,t)=>{e.transactionToasts.push({type:"transaction",startTimestamp:Oe(),toastId:t.payload||`custom-toast-${e.transactionToasts.length+1}`})},removeTransactionToast:(e,t)=>{e.transactionToasts=e.transactionToasts.filter(r=>r.toastId!==t.payload)}},extraReducers:e=>{e.addCase(b,()=>zn),e.addCase(Yn.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:sp,removeCustomToast:cp,addTransactionToast:lp,removeTransactionToast:pp}=Xn.actions,Xe=Xn.reducer});var Zn,Yt,Xt,Zt,Hi,Kt,Jn,gp,fp,Tp,Je,Qe=f(()=>{"use strict";n();Zn=require("@reduxjs/toolkit");O();Yt="Transaction failed",Xt="Transaction successful",Zt="Processing transaction",Hi="Transaction submitted",Kt={},Jn=(0,Zn.createSlice)({name:"transactionsInfo",initialState:Kt,reducers:{setTransactionsDisplayInfo(e,t){let{sessionId:r,transactionsDisplayInfo:o}=t.payload;r!=null&&(e[r]={errorMessage:(o==null?void 0:o.errorMessage)||Yt,successMessage:(o==null?void 0:o.successMessage)||Xt,processingMessage:(o==null?void 0:o.processingMessage)||Zt,submittedMessage:(o==null?void 0:o.submittedMessage)||Hi,transactionDuration:o==null?void 0:o.transactionDuration})},clearTransactionsInfoForSessionId(e,t){t.payload!=null&&delete e[t.payload]},clearTransactionsInfo:()=>Kt},extraReducers:e=>{e.addCase(b,()=>Kt)}}),{clearTransactionsInfo:gp,setTransactionsDisplayInfo:fp,clearTransactionsInfoForSessionId:Tp}=Jn.actions,Je=Jn.reducer});function Qn(e){return e!=null&&(ta(e)||aa(e))}function et(e){return e!=null&&(ra(e)||sa(e))}function tt(e){return e!=null&&(na(e)||ca(e))}function eo(e){return e!=null&&(oa(e)||la(e))}function to(e){return e!=null&&ia(e)}function ta(e){return e!=null&&ji.includes(e)}function ra(e){return e!=null&&zi.includes(e)}function na(e){return e!=null&&Ki.includes(e)}function oa(e){return e!=null&&Yi.includes(e)}function ia(e){return e!=null&&Xi.includes(e)}function aa(e){return e!=null&&Zi.includes(e)}function sa(e){return e!=null&&Ji.includes(e)}function ca(e){return e!=null&&Qi.includes(e)}function la(e){return e!=null&&ea.includes(e)}var ji,zi,Ki,Yi,Xi,Zi,Ji,Qi,ea,Qt=f(()=>{"use strict";n();K();ji=["sent"],zi=["success"],Ki=["fail","cancelled","timedOut"],Yi=["invalid"],Xi=["timedOut"],Zi=["pending"],Ji=["success"],Qi=["fail","invalid"],ea=["not executed"]});var ro,no,xe,pa,oo,vp,kp,Ep,Lp,Np,Rp,Cp,Dp,_p,Pp,Op,rt,nt=f(()=>{"use strict";n();ro=require("@reduxjs/toolkit"),no=require("redux-persist");K();Qt();O();xe={signedTransactions:{},transactionsToSign:null,signTransactionsError:null,signTransactionsCancelMessage:null,customTransactionInformationForSessionId:{}},pa={signWithoutSending:!1,sessionInformation:null,redirectAfterSign:!1},oo=(0,ro.createSlice)({name:"transactionsSlice",initialState:xe,reducers:{moveTransactionsToSignedState:(e,t)=>{var m,y;let{sessionId:r,transactions:o,errorMessage:i,status:l,redirectRoute:p,customTransactionInformation:d}=t.payload;e.customTransactionInformationForSessionId[r]=T(T(T({},pa),((m=e.signedTransactions[r])==null?void 0:m.customTransactionInformation)||{}),e.customTransactionInformationForSessionId[r]||{}),e.signedTransactions[r]={transactions:o,status:l,errorMessage:i,redirectRoute:p,customTransactionInformation:T(T({},e.customTransactionInformationForSessionId[r]),d!=null?d:{})},((y=e==null?void 0:e.transactionsToSign)==null?void 0:y.sessionId)===r&&(e.transactionsToSign=xe.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=T(T({},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 y,x,h,E,k,$,Ee,gr;let{sessionId:r,status:o,errorMessage:i,transactionHash:l,serverTransaction:p,inTransit:d}=t.payload,m=(x=(y=e.signedTransactions)==null?void 0:y[r])==null?void 0:x.transactions;if(m!=null){e.signedTransactions[r].transactions=m.map(H=>H.hash===l?S(T(T({},p!=null?p:{}),H),{status:o,errorMessage:i,inTransit:d}):H);let Zo=(E=(h=e.signedTransactions[r])==null?void 0:h.transactions)==null?void 0:E.every(H=>et(H.status)),Jo=($=(k=e.signedTransactions[r])==null?void 0:k.transactions)==null?void 0:$.some(H=>tt(H.status)),Qo=(gr=(Ee=e.signedTransactions[r])==null?void 0:Ee.transactions)==null?void 0:gr.every(H=>eo(H.status));Zo&&(e.signedTransactions[r].status="success"),Jo&&(e.signedTransactions[r].status="fail"),Qo&&(e.signedTransactions[r].status="invalid")}},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=xe.transactionsToSign,e.signTransactionsError=null},clearAllSignedTransactions:e=>{e.signedTransactions=xe.signedTransactions},setSignTransactionsError:(e,t)=>{e.signTransactionsError=t.payload},setSignTransactionsCancelMessage:(e,t)=>{e.signTransactionsCancelMessage=t.payload},updateSignedTransactionsCustomTransactionInformation:(e,t)=>{let{sessionId:r,customTransactionInformationOverrides:o}=t.payload;e.signedTransactions[r]!=null&&(e.signedTransactions[r].customTransactionInformation=T(T({},e.signedTransactions[r].customTransactionInformation),o))}},extraReducers:e=>{e.addCase(b,()=>xe),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((d,[m,y])=>{let x=new Date(m),h=new Date;return h.setHours(h.getHours()+5),h-x>0||(d[m]=y),d},{});i!=null&&(t.customTransactionInformationForSessionId=i),o!=null&&(t.signedTransactions=l)})}}),{updateSignedTransactionStatus:vp,updateSignedTransactions:kp,setTransactionsToSign:Ep,clearAllTransactionsToSign:Lp,clearAllSignedTransactions:Np,clearSignedTransaction:Rp,clearTransactionToSign:Cp,setSignTransactionsError:Dp,setSignTransactionsCancelMessage:_p,moveTransactionsToSignedState:Pp,updateSignedTransactionsCustomTransactionInformation:Op}=oo.actions,rt=oo.reducer});var io,er,ao,Up,Vp,Wp,Gp,ot,it=f(()=>{"use strict";n();io=require("@reduxjs/toolkit");O();er={},ao=(0,io.createSlice)({name:"batchTransactionsSlice",initialState:er,reducers:{setBatchTransactions:(e,t)=>{e[t.payload.id]=t.payload},updateBatchTransactions:(e,t)=>{e[t.payload.id]=t.payload},clearBatchTransactions:(e,t)=>{delete e[t.payload.batchId]},clearAllBatchTransactions:()=>er},extraReducers:e=>{e.addCase(b,()=>er)}}),{setBatchTransactions:Up,updateBatchTransactions:Vp,clearBatchTransactions:Wp,clearAllBatchTransactions:Gp}=ao.actions,ot=ao.reducer});var co,so,lo,jp,po,tr=f(()=>{"use strict";n();co=require("@reduxjs/toolkit");O();so={},lo=(0,co.createSlice)({name:"dappConfigSlice",initialState:so,reducers:{setDappConfig:(e,t)=>t.payload},extraReducers:e=>{e.addCase(b,()=>so)}}),{setDappConfig:jp}=lo.actions,po=lo.reducer});var ue=f(()=>{"use strict";n();We();$e();qe();ze();Ye();Ze();Qe();nt();it();tr()});var rr=f(()=>{"use strict";n()});var go,ga,fa,ne,ct=f(()=>{"use strict";n();go=require("@reduxjs/toolkit");rr();We();it();tr();$e();qe();ze();Ye();Ze();Qe();nt();ga={["account"]:Ve,["dappConfig"]:po,["loginInfo"]:Ge,["modals"]:He,["networkConfig"]:je,["signedMessageInfo"]:Ke,["toasts"]:Xe,["transactionsInfo"]:Je,["transactions"]:rt,["batchTransactions"]:ot},fa=(e={})=>(0,go.combineReducers)(T(T({},ga),e)),ne=fa});var ho={};J(ho,{default:()=>Ca,sessionStorageReducers:()=>nr});function Y(e,t=[]){return{key:e,version:1,storage:To.default,blacklist:t}}var R,fo,To,Ta,Se,ya,ha,xa,Sa,wa,Aa,Ia,ba,va,ka,yo,Ea,nr,La,Na,Ra,Ca,xo=f(()=>{"use strict";n();R=require("redux-persist"),fo=w(require("redux-persist/lib/storage")),To=w(require("redux-persist/lib/storage/session"));ct();ue();We();it();$e();qe();ze();Ye();Ze();Qe();nt();rr();Ta={persistReducersStorageType:"localStorage"},Se={["account"]:"sdk-dapp-account",["loginInfo"]:"sdk-dapp-login-info",["modals"]:"sdk-dapp-modals",["networkConfig"]:"sdk-dapp-network-config"},ya=Y(Se["account"]),ha=Y(Se["loginInfo"]),xa=Y(Se["modals"]),Sa=Y(Se["networkConfig"]),wa={2:e=>S(T({},e),{networkConfig:jt})};Aa=Y("sdk-dapp-transactionsInfo"),Ia=Y("sdk-dapp-transactions",["transactionsToSign"]),ba=Y("sdk-dapp-batchTransactions",["batchTransactions"]),va=Y("sdk-dapp-toasts"),ka=Y("sdk-dapp-signedMessageInfo"),yo={key:"sdk-dapp-store",version:2,storage:fo.default,whitelist:Object.keys(Se),migrate:(0,R.createMigrate)(wa,{debug:!1})},Ea=S(T({},yo),{whitelist:[]}),nr={["toasts"]:(0,R.persistReducer)(va,Xe),["transactions"]:(0,R.persistReducer)(Ia,rt),["transactionsInfo"]:(0,R.persistReducer)(Aa,Je),["batchTransactions"]:(0,R.persistReducer)(ba,ot),["signedMessageInfo"]:(0,R.persistReducer)(ka,Ke)},La=S(T({},nr),{["account"]:(0,R.persistReducer)(ya,Ve),["loginInfo"]:(0,R.persistReducer)(ha,Ge),["modals"]:(0,R.persistReducer)(xa,He),["networkConfig"]:(0,R.persistReducer)(Sa,je)}),Na=Ta.persistReducersStorageType==="localStorage",Ra=Na?(0,R.persistReducer)(yo,ne(nr)):(0,R.persistReducer)(Ea,ne(La)),Ca=Ra});var So={};J(So,{default:()=>Da});var Da,wo=f(()=>{"use strict";n();ct();Da=ne()});var Ao={};J(Ao,{default:()=>Pa});var _,_a,Pa,Io=f(()=>{"use strict";n();_=require("redux-persist"),_a=[_.FLUSH,_.REHYDRATE,_.PAUSE,_.PERSIST,_.PURGE,_.REGISTER],Pa=_a});var ko={};J(ko,{default:()=>vo});function vo(e){return(0,bo.persistStore)(e)}var bo,Eo=f(()=>{"use strict";n();bo=require("redux-persist")});var vs={};J(vs,{useGetLoginInfo:()=>bs});module.exports=fe(vs);n();n();var _o=require("react"),de=require("react-redux");n();var or=require("@reduxjs/toolkit"),Co=require("react-redux/lib/utils/Subscription");ue();n();var uo=w(require("lodash.throttle"));A();ue();qt();Fe();Te();var ua=[Pe],at=!1,da=(0,uo.default)(()=>{he(ye())},5e3),mo=e=>t=>r=>{if(ua.includes(r.type))return t(r);let o=e.getState(),i=pe.local.getItem(re.loginExpiresAt);if(!Boolean(o==null?void 0:o.account.address))return t(r);if(i==null)return he(ye());let p=Date.now();return i-p<0&&!at?setTimeout(()=>{at=!0,e.dispatch(Cn())},1e3):(at&&(at=!1),da()),t(r)};n();n();function st(){return typeof sessionStorage!="undefined"}var Lo=st()?(xo(),fe(ho)).default:(wo(),fe(So)).default,No=st()?(Io(),fe(Ao)).default:[],Ro=st()?(Eo(),fe(ko)).default:e=>e;ct();var Z=(0,or.configureStore)({reducer:Lo,middleware:e=>e({serializableCheck:{ignoredActions:[...No,En.type,kn.type],ignoredPaths:["payload.nonce","account.account.nonce","providers.accountProvider"]}}).concat(mo)}),Do=(0,Co.createSubscription)(Z),Hu=Ro(Z),qu=(0,or.configureStore)({reducer:ne});var Oa={store:Z,subscription:Do},ir=(0,_o.createContext)(Oa),Yu=(0,de.createStoreHook)(ir),Xu=(0,de.createDispatchHook)(ir),we=(0,de.createSelectorHook)(ir);n();n();ue();n();var Po=w(require("lodash.isequal")),lt=require("reselect"),g=(0,lt.createSelectorCreator)(lt.defaultMemoize,Po.default);var W=e=>e.account,ar=g(W,e=>e.address),pt=g(W,ar,(e,t)=>t in e.accounts?e.accounts[t]:Ue),td=g(W,pt,(e,t)=>{let i=e,{accounts:r}=i,o=yr(i,["accounts"]);return S(T({},o),{address:t.address,account:t})}),rd=g(pt,e=>e.balance),nd=g(pt,e=>{var t;return((t=e==null?void 0:e.nonce)==null?void 0:t.valueOf())||0}),od=g(W,e=>e.shard),id=g(W,e=>e.ledgerAccount),ad=g(W,e=>e.walletConnectAccount),sd=g(W,e=>e.isAccountLoading),cd=g(W,e=>e.accountLoadingError),ld=g(W,e=>e.websocketEvent),pd=g(W,e=>e.websocketBatchEvent);n();var Ma=e=>e.dappConfig,md=g(Ma,e=>e.shouldUseWebViewProvider);n();var C=e=>e.loginInfo,yd=g(C,e=>e.loginMethod),Oo=g(C,ar,(e,t)=>Boolean(t)),hd=g(C,e=>e.walletConnectLogin),xd=g(C,e=>e.ledgerLogin),Sd=g(C,e=>e.walletLogin),wd=g(C,e=>e.isLoginSessionInvalid),Ad=g(C,e=>e.tokenLogin),Id=g(C,e=>e.logoutRoute),bd=g(C,e=>e.isWalletConnectV2Initialized);n();var Mo=e=>e.modals,Ed=g(Mo,e=>e.txSubmittedModal),Ld=g(Mo,e=>e.notificationModal);n();var oe=e=>e.networkConfig,Cd=g(oe,e=>e.chainID),Dd=g(oe,e=>e.network.walletConnectBridgeAddress),_d=g(oe,e=>e.network.walletConnectV2RelayAddress),Pd=g(oe,e=>e.network.walletConnectV2ProjectId),Od=g(oe,e=>e.network.walletConnectV2Options),Md=g(oe,e=>e.network.walletConnectDeepLink),Ae=g(oe,e=>e.network),Fd=g(Ae,e=>e.apiAddress),Fo=g(Ae,e=>e.explorerAddress),Bd=g(Ae,e=>{var t;return(t=e.customWalletAddress)!=null?t:e.walletAddress}),Ud=g(Ae,e=>e.xAliasAddress),Vd=g(Ae,e=>e.egldLabel);n();var ut=e=>e.signedMessageInfo,$d=g(ut,e=>e.isSigning),Hd=g(ut,e=>e.errorMessage),qd=g(ut,e=>{let t=Object.keys(e.signedSessions),r=t.length;return e.signedSessions[t[r-1]]}),jd=g(ut,e=>{let t=Object.keys(e.signedSessions),r=t.length;return t.length>0?t[r-1]:""});n();var Bo=e=>e.toasts,Yd=g(Bo,e=>e.customToasts),Xd=g(Bo,e=>e.transactionToasts);n();ue();var Uo={errorMessage:Yt,successMessage:Xt,processingMessage:Zt},Fa=e=>e.transactionsInfo,em=g(Fa,(e,t)=>t,(e,t)=>t!=null&&(e==null?void 0:e[Number(t)])||Uo);n();n();var G=require("@multiversx/sdk-core");A();n();var cr=require("@multiversx/sdk-core/out");n();n();function sr(e){try{let t=atob(e),r=btoa(t),o=a.Buffer.from(e,"base64").toString(),i=a.Buffer.from(o).toString("base64"),l=e===r||r.startsWith(e),p=e===i||i.startsWith(e);if(l&&p)return!0}catch(t){return!1}return!1}n();n();n();n();var Vo=e=>{let t=e!=null?e:"";return sr(t)?cr.TransactionPayload.fromEncoded(t):new cr.TransactionPayload(t)};n();A();var dt=({data:e,onlySetGuardian:t})=>e?t?e.startsWith("SetGuardian"):Object.values(Ct).some(r=>e.startsWith(r)):!1;function lr(e){var o,i,l;let t=T({},e);dt({data:t.data,onlySetGuardian:!0})&&(delete t.senderUsername,delete t.receiverUsername);let r=new G.Transaction(T(T(S(T(S(T({value:t.value.valueOf(),data:Vo(t.data),nonce:t.nonce.valueOf(),receiver:new G.Address(t.receiver)},t.receiverUsername?{receiverUsername:t.receiverUsername}:{}),{sender:new G.Address(t.sender)}),t.senderUsername?{senderUsername:t.senderUsername}:{}),{gasLimit:(o=t.gasLimit.valueOf())!=null?o:Ft,gasPrice:(i=t.gasPrice.valueOf())!=null?i:Bt,chainID:t.chainID.valueOf(),version:new G.TransactionVersion((l=t.version)!=null?l:mn)}),t.options?{options:new G.TransactionOptions(t.options)}:{}),t.guardian?{guardian:new G.Address(t.guardian)}:{}));return t.guardianSignature&&r.applyGuardianSignature(a.Buffer.from(t.guardianSignature,"hex")),t.signature&&r.applySignature(a.Buffer.from(t.signature,"hex")),r}n();n();A();n();n();n();var Wa=require("@multiversx/sdk-core/out");n();A();n();var Go=require("@multiversx/sdk-core");P();n();var Ga=require("@multiversx/sdk-core");n();n();n();var $a=require("@multiversx/sdk-core"),Ha=w(require("bignumber.js"));K();n();n();n();n();n();n();n();N();n();n();N();n();n();n();var Xa=w(require("bignumber.js"));A();n();var Ya=require("@multiversx/sdk-core"),pr=w(require("bignumber.js"));A();n();var za=w(require("bignumber.js"));n();pr.default.config({ROUNDING_MODE:pr.default.ROUND_FLOOR});n();n();n();A();n();n();n();n();A();n();A();n();var Za=require("@multiversx/sdk-core");A();n();var be=require("@multiversx/sdk-core"),Qa=w(require("bignumber.js"));A();n();n();var Ja=w(require("bignumber.js"));A();n();A();n();n();n();n();n();n();A();n();A();n();A();n();N();var ts=["reDelegateRewards","claimRewards","unBond"],rs=["wrapEgld","unwrapEgld"],ns=["unStake"],os=["unDelegate"];n();n();n();A();n();var ss=w(require("bignumber.js"));n();n();N();n();var ls=w(require("bignumber.js"));n();n();n();n();var us=w(require("bignumber.js"));P();n();n();n();n();K();n();var gs=require("@multiversx/sdk-web-wallet-provider");A();n();var ms=w(require("qs"));n();n();n();n();n();var gt=()=>typeof window!="undefined"&&typeof(window==null?void 0:window.location)!="undefined";n();n();var Zy={search:gt()?window.location.search:"",removeParams:[]};n();n();n();n();N();n();n();n();var fs=w(require("linkifyjs"));n();A();n();var Ts=w(require("bignumber.js"));n();P();n();n();K();n();K();n();n();n();N();n();N();n();var ys=w(require("bignumber.js"));A();N();n();N();n();var Ko=require("react");P();n();n();N();n();n();var hs=require("@multiversx/sdk-core/out"),xs=w(require("bignumber.js"));N();n();P();n();n();P();var qx=[{label:"Raw",value:"raw"},{label:"Text",value:"text"},{label:"Decimal",value:"decimal"},{label:"Smart",value:"smart"}];n();var Yo=require("react");P();n();var ws=require("react");N();var Qx=["create","localMint","ESDTLocalMint","addQuantity","burn","localBurn","ESDTLocalBurn","wipe","writeLog","signalError"];Qt();n();var Tt=e=>e.transactions,ke=g(Tt,e=>e.signedTransactions),$S=g(Tt,e=>e.signTransactionsError),HS=g(Tt,e=>e.signTransactionsCancelMessage),yt=e=>t=>Object.entries(t).reduce((r,[o,i])=>(e(i.status)&&(r[o]=i),r),{}),qS=g(ke,yt(Qn)),jS=g(ke,yt(et)),zS=g(ke,yt(tt)),KS=g(ke,yt(to)),YS=g(Tt,e=>{var t;return(e==null?void 0:e.transactionsToSign)==null?null:S(T({},e.transactionsToSign),{transactions:((t=e==null?void 0:e.transactionsToSign)==null?void 0:t.transactions.map(r=>lr(r)))||[]})}),XS=g(ke,(e,t)=>t,(e,t)=>t!=null?(e==null?void 0:e[t])||{}:{});n();n();n();n();var me=w(require("react"));var As=(0,me.createContext)({}),gw=Z.getState();function ht(){let e=(0,me.useContext)(As);if(e===void 0||Object.values(e).length===0)throw new Error("useAxiosInterceptorContext must be used within an AxiosInterceptorContextProvider");return e}n();var Xo=w(require("react"));n();n();var mr=w(require("react")),Is=w(require("axios"));var bs=()=>{try{let{loginInfo:e,isLoggedIn:t}=ht();return S(T({},e),{isLoggedIn:t})}catch(e){let t=we(C),r=we(Oo);return S(T({},t),{isLoggedIn:r})}};0&&(module.exports={useGetLoginInfo});
2
2
  /*!
3
3
  * The buffer module from node.js, for the browser.
4
4
  *