@multiversx/sdk-dapp 2.28.7-alpha.19 → 2.28.7-alpha.20

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 (580) hide show
  1. package/UI/Balance/Balance.d.ts +1 -1
  2. package/UI/Balance/Balance.js +1 -1
  3. package/UI/Balance/index.js +1 -1
  4. package/UI/ExplorerLink/ExplorerLink.js +1 -1
  5. package/UI/ExplorerLink/index.js +1 -1
  6. package/UI/NotificationModal/NotificationModal.js +1 -1
  7. package/UI/NotificationModal/index.js +1 -1
  8. package/UI/SignTransactionsModals/SignTransactionsModals.js +1 -1
  9. package/UI/SignTransactionsModals/SignWithCrossWindowWalletModal/SignWithCrossWindowWalletModal.js +1 -1
  10. package/UI/SignTransactionsModals/SignWithCrossWindowWalletModal/index.js +1 -1
  11. package/UI/SignTransactionsModals/SignWithDeviceModal/SignStep.js +1 -1
  12. package/UI/SignTransactionsModals/SignWithDeviceModal/SignWithDeviceModal.js +1 -1
  13. package/UI/SignTransactionsModals/SignWithDeviceModal/components/SignStepBody.js +1 -1
  14. package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmAmount/ConfirmAmount.js +1 -1
  15. package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmAmount/index.js +1 -1
  16. package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmFee/ConfirmFee.js +1 -1
  17. package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmFee/index.js +1 -1
  18. package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmReceiver/ConfirmReceiver.js +1 -1
  19. package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmReceiver/index.js +1 -1
  20. package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/NftSftPreviewComponent/NftSftPreviewComponent.js +1 -1
  21. package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/NftSftPreviewComponent/index.js +1 -1
  22. package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/TokenAvatar/TokenAvatar.js +1 -1
  23. package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/TokenAvatar/index.js +1 -1
  24. package/UI/SignTransactionsModals/SignWithDeviceModal/components/index.js +1 -1
  25. package/UI/SignTransactionsModals/SignWithDeviceModal/index.js +1 -1
  26. package/UI/SignTransactionsModals/SignWithExtensionModal/SignWithExtensionModal.js +1 -1
  27. package/UI/SignTransactionsModals/SignWithExtensionModal/index.js +1 -1
  28. package/UI/SignTransactionsModals/SignWithExtraModal/SignWithExtraModal.js +1 -1
  29. package/UI/SignTransactionsModals/SignWithExtraModal/index.js +1 -1
  30. package/UI/SignTransactionsModals/SignWithLedgerModal/LedgerGuardianSigningModalError.js +1 -1
  31. package/UI/SignTransactionsModals/SignWithLedgerModal/SignWithLedgerModal.js +1 -1
  32. package/UI/SignTransactionsModals/SignWithLedgerModal/index.js +1 -1
  33. package/UI/SignTransactionsModals/components/ConfirmationScreen.js +1 -1
  34. package/UI/SignTransactionsModals/components/DeviceConfirmationScreen.js +1 -1
  35. package/UI/SignTransactionsModals/components/TransactionStatusToast.js +1 -1
  36. package/UI/SignTransactionsModals/components/index.js +1 -1
  37. package/UI/SignTransactionsModals/index.js +1 -1
  38. package/UI/TokenDetails/index.js +1 -1
  39. package/UI/TransactionDetails/TransactionDetails.js +1 -1
  40. package/UI/TransactionDetails/components/TransactionDetailsBody.js +1 -1
  41. package/UI/TransactionDetails/components/index.js +1 -1
  42. package/UI/TransactionDetails/index.js +1 -1
  43. package/UI/TransactionInfo/TransactionInfo.js +1 -1
  44. package/UI/TransactionInfo/components/AddressDetailItem/AddressDetailitem.js +1 -1
  45. package/UI/TransactionInfo/components/AddressDetailItem/index.js +1 -1
  46. package/UI/TransactionInfo/components/EventsList/EventsList.js +1 -1
  47. package/UI/TransactionInfo/components/EventsList/index.js +1 -1
  48. package/UI/TransactionInfo/components/NonceMessage/NonceMessage.js +1 -1
  49. package/UI/TransactionInfo/components/NonceMessage/index.js +1 -1
  50. package/UI/TransactionInfo/components/OperationsList/OperationList.js +1 -1
  51. package/UI/TransactionInfo/components/OperationsList/components/DetailedItem.js +1 -1
  52. package/UI/TransactionInfo/components/OperationsList/components/OperationBlock.js +1 -1
  53. package/UI/TransactionInfo/components/OperationsList/components/OperationRow.js +1 -1
  54. package/UI/TransactionInfo/components/OperationsList/components/OperationText.js +1 -1
  55. package/UI/TransactionInfo/components/OperationsList/components/OperationToken.js +1 -1
  56. package/UI/TransactionInfo/components/OperationsList/components/index.js +1 -1
  57. package/UI/TransactionInfo/components/OperationsList/index.js +1 -1
  58. package/UI/TransactionInfo/components/ScResultsList/ScResultsList.js +1 -1
  59. package/UI/TransactionInfo/components/ScResultsList/components/ResultHash/ResultHash.js +1 -1
  60. package/UI/TransactionInfo/components/ScResultsList/components/ResultHash/index.js +1 -1
  61. package/UI/TransactionInfo/components/ScResultsList/components/ResultReceiver/ResultReceiver.js +1 -1
  62. package/UI/TransactionInfo/components/ScResultsList/components/ResultReceiver/index.js +1 -1
  63. package/UI/TransactionInfo/components/ScResultsList/components/ResultSender/ResultSender.js +1 -1
  64. package/UI/TransactionInfo/components/ScResultsList/components/ResultSender/index.js +1 -1
  65. package/UI/TransactionInfo/components/ScResultsList/index.js +1 -1
  66. package/UI/TransactionInfo/components/ScrDetailItem/ScrDetailItem.js +1 -1
  67. package/UI/TransactionInfo/components/ScrDetailItem/index.js +1 -1
  68. package/UI/TransactionInfo/components/TransactionAction/TransactionAction.js +1 -1
  69. package/UI/TransactionInfo/components/TransactionAction/components/ActionText/index.js +1 -1
  70. package/UI/TransactionInfo/components/TransactionAction/components/ActionToken.js +1 -1
  71. package/UI/TransactionInfo/components/TransactionAction/components/TransactionActionBlock/components/TransactionActionCollection.js +1 -1
  72. package/UI/TransactionInfo/components/TransactionAction/components/TransactionActionBlock/components/TransactionActionNft.js +1 -1
  73. package/UI/TransactionInfo/components/TransactionAction/components/TransactionActionBlock/components/TransactionActionToken.js +1 -1
  74. package/UI/TransactionInfo/components/TransactionAction/components/TransactionActionBlock/components/index.js +1 -1
  75. package/UI/TransactionInfo/components/TransactionAction/components/TransactionActionBlock/index.js +1 -1
  76. package/UI/TransactionInfo/components/TransactionAction/components/index.js +1 -1
  77. package/UI/TransactionInfo/components/TransactionAction/index.js +1 -1
  78. package/UI/TransactionInfo/components/TransactionLogs/TransactionLogs.js +1 -1
  79. package/UI/TransactionInfo/components/TransactionLogs/index.js +1 -1
  80. package/UI/TransactionInfo/components/index.js +1 -1
  81. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoFee/TransactionInfoFee.js +1 -1
  82. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoFee/index.js +1 -1
  83. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoFrom/TransactionInfoFrom.js +1 -1
  84. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoFrom/index.js +1 -1
  85. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoMethod/TransactionInfoMethod.js +1 -1
  86. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoMethod/index.js +1 -1
  87. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoMiniblock/TransactionInfoMiniblock.js +1 -1
  88. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoMiniblock/index.js +1 -1
  89. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoNonce/TransactionInfoNonce.js +1 -1
  90. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoNonce/index.js +1 -1
  91. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoScResults/TransactionInfoScResults.js +1 -1
  92. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoScResults/index.js +1 -1
  93. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoTo/TransactionInfoTo.js +1 -1
  94. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoTo/index.js +1 -1
  95. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoTokenOperations/TransactionInfoTokenOperations.js +1 -1
  96. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoTokenOperations/index.js +1 -1
  97. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoValue/TransactionInfoValue.js +1 -1
  98. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoValue/index.js +1 -1
  99. package/UI/TransactionInfo/components/transactionInfoFields/index.js +1 -1
  100. package/UI/TransactionInfo/index.js +1 -1
  101. package/UI/TransactionsTable/TransactionsTable.js +1 -1
  102. package/UI/TransactionsTable/components/AccountName.js +1 -1
  103. package/UI/TransactionsTable/components/LockedTokenAddressIcon.js +1 -1
  104. package/UI/TransactionsTable/components/TransactionHash.js +1 -1
  105. package/UI/TransactionsTable/components/TransactionReceiver.js +1 -1
  106. package/UI/TransactionsTable/components/TransactionRow.js +1 -1
  107. package/UI/TransactionsTable/components/TransactionSender.js +1 -1
  108. package/UI/TransactionsTable/components/TransactionShardsTransition.js +1 -1
  109. package/UI/TransactionsTable/components/TransactionValue/TransactionValue.js +1 -1
  110. package/UI/TransactionsTable/components/TransactionValue/index.js +1 -1
  111. package/UI/TransactionsTable/components/index.js +1 -1
  112. package/UI/TransactionsTable/index.js +1 -1
  113. package/UI/TransactionsToastList/TransactionsToastList.js +1 -1
  114. package/UI/TransactionsToastList/components/CustomToast/CustomToast.js +1 -1
  115. package/UI/TransactionsToastList/components/CustomToast/components/CustomComponentToast.js +1 -1
  116. package/UI/TransactionsToastList/components/CustomToast/components/IconToast/IconToast.js +1 -1
  117. package/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/IconToastFooter.js +1 -1
  118. package/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/components/TransactionToastFooter.js +1 -1
  119. package/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/components/index.js +1 -1
  120. package/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/index.js +1 -1
  121. package/UI/TransactionsToastList/components/CustomToast/components/IconToast/index.js +1 -1
  122. package/UI/TransactionsToastList/components/CustomToast/components/SimpleToast.js +1 -1
  123. package/UI/TransactionsToastList/components/CustomToast/components/index.js +1 -1
  124. package/UI/TransactionsToastList/components/CustomToast/helpers/index.js +1 -1
  125. package/UI/TransactionsToastList/components/CustomToast/helpers/useMemoizedCloseButton.js +1 -1
  126. package/UI/TransactionsToastList/components/CustomToast/index.js +1 -1
  127. package/UI/TransactionsToastList/components/TransactionToast/TransactionToast.js +1 -1
  128. package/UI/TransactionsToastList/components/TransactionToast/components/TransactionToastContent.js +1 -1
  129. package/UI/TransactionsToastList/components/TransactionToast/components/index.js +1 -1
  130. package/UI/TransactionsToastList/components/TransactionToast/hooks/useTransactionToast.js +1 -1
  131. package/UI/TransactionsToastList/components/TransactionToast/index.js +1 -1
  132. package/UI/TransactionsToastList/components/TransactionToastGuard.js +1 -1
  133. package/UI/TransactionsToastList/components/index.js +1 -1
  134. package/UI/TransactionsToastList/index.js +1 -1
  135. package/UI/Trim/Trim.js +1 -1
  136. package/UI/Trim/index.js +1 -1
  137. package/UI/extension/ExtensionLoginButton/ExtensionLoginButton.js +1 -1
  138. package/UI/extension/ExtensionLoginButton/index.js +1 -1
  139. package/UI/index.js +1 -1
  140. package/UI/ledger/LedgerLoginButton/LedgerLoginButton.js +1 -1
  141. package/UI/ledger/LedgerLoginButton/index.js +1 -1
  142. package/UI/ledger/LedgerLoginContainer/AddressRow/AddressRow.js +1 -1
  143. package/UI/ledger/LedgerLoginContainer/AddressRow/index.js +1 -1
  144. package/UI/ledger/LedgerLoginContainer/AddressTable/AddressTable.js +1 -1
  145. package/UI/ledger/LedgerLoginContainer/AddressTable/index.js +1 -1
  146. package/UI/ledger/LedgerLoginContainer/ConfirmAddress/ConfirmAddress.js +1 -1
  147. package/UI/ledger/LedgerLoginContainer/ConfirmAddress/index.js +1 -1
  148. package/UI/ledger/LedgerLoginContainer/LedgerLoginContainer.js +1 -1
  149. package/UI/ledger/LedgerLoginContainer/LedgerLoginContent/LedgerLoginContent.js +1 -1
  150. package/UI/ledger/LedgerLoginContainer/LedgerLoginContent/index.js +1 -1
  151. package/UI/ledger/LedgerLoginContainer/LedgerLoginContentBody/LedgerLoginContentBody.js +1 -1
  152. package/UI/ledger/LedgerLoginContainer/LedgerLoginContentBody/index.js +1 -1
  153. package/UI/ledger/LedgerLoginContainer/LedgerScamPhishingAlert/LedgerScamPhishingAlert.js +1 -1
  154. package/UI/ledger/LedgerLoginContainer/LedgerScamPhishingAlert/index.js +1 -1
  155. package/UI/ledger/LedgerLoginContainer/index.js +1 -1
  156. package/UI/ledger/index.js +1 -1
  157. package/UI/operaWallet/OperaWalletLoginButton/OperaWalletLoginButton.js +1 -1
  158. package/UI/operaWallet/OperaWalletLoginButton/index.js +1 -1
  159. package/UI/pages/UnlockPage/index.js +1 -1
  160. package/UI/pages/index.js +1 -1
  161. package/UI/walletConnect/WalletConnectLoginButton/WalletConnectLoginButton.js +1 -1
  162. package/UI/walletConnect/WalletConnectLoginButton/index.js +1 -1
  163. package/UI/walletConnect/WalletConnectLoginContainer/WalletConnectLoginContainer.js +1 -1
  164. package/UI/walletConnect/WalletConnectLoginContainer/WalletConnectLoginContent/WalletConnectLoginContent.js +1 -1
  165. package/UI/walletConnect/WalletConnectLoginContainer/WalletConnectLoginContent/index.js +1 -1
  166. package/UI/walletConnect/WalletConnectLoginContainer/index.js +1 -1
  167. package/UI/walletConnect/index.js +1 -1
  168. package/UI/webWallet/CrossWindowLoginButton/CrossWindowLoginButton.js +1 -1
  169. package/UI/webWallet/CrossWindowLoginButton/index.js +1 -1
  170. package/UI/webWallet/WebWalletLoginButton/WebWalletLoginButton.js +1 -1
  171. package/UI/webWallet/WebWalletLoginButton/index.js +1 -1
  172. package/UI/webWallet/XaliasLoginButton/XaliasLoginButton.js +1 -1
  173. package/UI/webWallet/XaliasLoginButton/index.js +1 -1
  174. package/__chunks__/{chunk-SFU7DXM5.js → chunk-22F2KU3Z.js} +2 -2
  175. package/__chunks__/{chunk-TZCWEGLY.js → chunk-24WY3DYF.js} +2 -2
  176. package/__chunks__/{chunk-Z4DLBFOD.js → chunk-27IV53YO.js} +2 -2
  177. package/__chunks__/{chunk-JRVBCBEZ.js → chunk-2B2CXW5V.js} +2 -2
  178. package/__chunks__/{chunk-RYRBTMY2.js → chunk-2K6F5WYL.js} +2 -2
  179. package/__chunks__/{chunk-Y3PL7HDR.js → chunk-2O2HSWC4.js} +2 -2
  180. package/__chunks__/{chunk-Z5GC52RE.js → chunk-2U2Q3WQC.js} +2 -2
  181. package/__chunks__/{chunk-NRI4UG2O.js → chunk-32QMQW4D.js} +2 -2
  182. package/__chunks__/{chunk-5LLGJBVJ.js → chunk-33F4SAS2.js} +2 -2
  183. package/__chunks__/{chunk-OSSF7KRQ.js → chunk-33SE3RYU.js} +2 -2
  184. package/__chunks__/{chunk-4GGH4G6J.js → chunk-36TAYUQL.js} +2 -2
  185. package/__chunks__/{chunk-7NM7PMG3.js → chunk-3KAHJCUK.js} +2 -2
  186. package/__chunks__/{chunk-KTCBEIWH.js → chunk-3PCSFCZ3.js} +2 -2
  187. package/__chunks__/{chunk-FHNXJ4H7.js → chunk-4C4KU5ZK.js} +2 -2
  188. package/__chunks__/{chunk-WSSSS443.js → chunk-4CZNLO4H.js} +2 -2
  189. package/__chunks__/{chunk-BYHHTXHZ.js → chunk-4DBJA4KZ.js} +2 -2
  190. package/__chunks__/{chunk-OU66WCF6.js → chunk-4HHWFIGX.js} +2 -2
  191. package/__chunks__/{chunk-VVH5NY76.js → chunk-4SZT4HLG.js} +2 -2
  192. package/__chunks__/{chunk-YMIC3WOU.js → chunk-4TLIQU5N.js} +2 -2
  193. package/__chunks__/{chunk-3VZ43JKG.js → chunk-4VEHJ6KY.js} +2 -2
  194. package/__chunks__/{chunk-NK5ZHEMT.js → chunk-4XLLNXAW.js} +2 -2
  195. package/__chunks__/{chunk-RDCMTBRJ.js → chunk-4ZIGSF7V.js} +2 -2
  196. package/__chunks__/{chunk-3EVLJT7S.js → chunk-5EJMRG7L.js} +2 -2
  197. package/__chunks__/{chunk-NJHDAQ25.js → chunk-5FK5BGMF.js} +2 -2
  198. package/__chunks__/{chunk-NW7R224F.js → chunk-5RFKJK2A.js} +2 -2
  199. package/__chunks__/{chunk-RTO5RKNP.js → chunk-5SDXOBMW.js} +2 -2
  200. package/__chunks__/{chunk-YYQQSYLE.js → chunk-6FMWY4OQ.js} +2 -2
  201. package/__chunks__/{chunk-6KRK3CJM.js → chunk-6NG6AMYT.js} +2 -2
  202. package/__chunks__/{chunk-LVEYGABG.js → chunk-6WM2L34E.js} +2 -2
  203. package/__chunks__/{chunk-4SCSF2LJ.js → chunk-6XAKIMDK.js} +2 -2
  204. package/__chunks__/{chunk-BEZINCJ4.js → chunk-6XK6A46K.js} +2 -2
  205. package/__chunks__/chunk-6ZJ6F7HT.js +2 -0
  206. package/__chunks__/{chunk-WRANHVJZ.js → chunk-7257CZJC.js} +2 -2
  207. package/__chunks__/chunk-7DWZ3VOZ.js +2 -0
  208. package/__chunks__/{chunk-ZKY4LHAV.js → chunk-7DY5UMT4.js} +2 -2
  209. package/__chunks__/{chunk-UVVIOPM7.js → chunk-7E5AUKE5.js} +2 -2
  210. package/__chunks__/{chunk-P7ZPPVYE.js → chunk-7S33YEBS.js} +2 -2
  211. package/__chunks__/{chunk-RCTNZQ3L.js → chunk-7SOUUQ3G.js} +2 -2
  212. package/__chunks__/{chunk-EFS46P4C.js → chunk-7TQ7UM5U.js} +2 -2
  213. package/__chunks__/{chunk-LBRXGGCI.js → chunk-7VBBMOPN.js} +2 -2
  214. package/__chunks__/{chunk-7Y4X2UHN.js → chunk-7WTYFIGD.js} +2 -2
  215. package/__chunks__/{chunk-KPECAMVZ.js → chunk-A4GCI5ZM.js} +2 -2
  216. package/__chunks__/{chunk-U3HDKBGZ.js → chunk-A7Q3OTB5.js} +2 -2
  217. package/__chunks__/{chunk-KXYX5US2.js → chunk-ABNBPJEH.js} +2 -2
  218. package/__chunks__/chunk-AGQEI5GU.js +2 -0
  219. package/__chunks__/{chunk-3KVZSUWJ.js → chunk-AIMKOQ36.js} +2 -2
  220. package/__chunks__/{chunk-XI7WHMTQ.js → chunk-AIXCTSXX.js} +2 -2
  221. package/__chunks__/{chunk-WSBNCCZK.js → chunk-APSA45KV.js} +2 -2
  222. package/__chunks__/{chunk-J3TA35BE.js → chunk-ASC7RWXA.js} +2 -2
  223. package/__chunks__/{chunk-RORLB6KW.js → chunk-ASKT2GR2.js} +2 -2
  224. package/__chunks__/{chunk-OX2BHVOJ.js → chunk-AWWL63RZ.js} +2 -2
  225. package/__chunks__/{chunk-O4MGX3TP.js → chunk-AXITES44.js} +2 -2
  226. package/__chunks__/{chunk-6W6RNK6H.js → chunk-B62QAMAY.js} +2 -2
  227. package/__chunks__/{chunk-P6IGCDR7.js → chunk-BRPYV3SY.js} +2 -2
  228. package/__chunks__/{chunk-V4VGVHJI.js → chunk-BT4LLCM5.js} +2 -2
  229. package/__chunks__/{chunk-HJWDKB6P.js → chunk-BY6GG2LI.js} +2 -2
  230. package/__chunks__/{chunk-DKURLGXX.js → chunk-CSED2PVZ.js} +2 -2
  231. package/__chunks__/{chunk-2JTPY7IV.js → chunk-D4TBUFGE.js} +2 -2
  232. package/__chunks__/{chunk-OCXLTC3J.js → chunk-D6QAZWVP.js} +2 -2
  233. package/__chunks__/{chunk-4T6MQ2HM.js → chunk-DLNX4H6G.js} +2 -2
  234. package/__chunks__/{chunk-SK54BLAF.js → chunk-DU6Q2TYE.js} +2 -2
  235. package/__chunks__/{chunk-TGEHCPTM.js → chunk-DW2NOO46.js} +2 -2
  236. package/__chunks__/{chunk-5DAA56UK.js → chunk-DWW3T3DW.js} +2 -2
  237. package/__chunks__/{chunk-722RUJKY.js → chunk-E2ETTJXE.js} +2 -2
  238. package/__chunks__/{chunk-KVS3JOT4.js → chunk-ESPRTERU.js} +2 -2
  239. package/__chunks__/{chunk-RZWYR54T.js → chunk-FM7GOVEX.js} +2 -2
  240. package/__chunks__/{chunk-HUG5JE7T.js → chunk-FSUJ6D7T.js} +2 -2
  241. package/__chunks__/chunk-FURVZ2DD.js +2 -0
  242. package/__chunks__/{chunk-NSRTYEZ7.js → chunk-FZL5I6QQ.js} +2 -2
  243. package/__chunks__/{chunk-AFVJHOVQ.js → chunk-GUZJ32YX.js} +2 -2
  244. package/__chunks__/{chunk-E55WYWVW.js → chunk-GZCGZANJ.js} +2 -2
  245. package/__chunks__/{chunk-DLNLUZDB.js → chunk-H5LL4LZY.js} +2 -2
  246. package/__chunks__/{chunk-NJ4DJ4EJ.js → chunk-HC6LHC5K.js} +2 -2
  247. package/__chunks__/{chunk-HOG3HAHU.js → chunk-HGHC6JXC.js} +2 -2
  248. package/__chunks__/{chunk-N773QDH2.js → chunk-HH5WSIEK.js} +2 -2
  249. package/__chunks__/{chunk-4KBIJKLC.js → chunk-HRWBEHUB.js} +2 -2
  250. package/__chunks__/{chunk-TKNP2HZ7.js → chunk-IA652ZNM.js} +2 -2
  251. package/__chunks__/{chunk-V5BX2DOD.js → chunk-IBQ35OK7.js} +2 -2
  252. package/__chunks__/{chunk-U6U3XHZW.js → chunk-ICA3EXHP.js} +2 -2
  253. package/__chunks__/{chunk-FLHPLEEE.js → chunk-IH3A46LQ.js} +2 -2
  254. package/__chunks__/{chunk-EXGQ5LFT.js → chunk-IRIRVMLA.js} +2 -2
  255. package/__chunks__/{chunk-MQKCVYJB.js → chunk-ITEW4PWU.js} +2 -2
  256. package/__chunks__/{chunk-MLVJ6MOU.js → chunk-ITZMVUTZ.js} +2 -2
  257. package/__chunks__/{chunk-AONIJIYT.js → chunk-IVDDMVBO.js} +2 -2
  258. package/__chunks__/{chunk-7PL2DCGG.js → chunk-J2VYUSA4.js} +2 -2
  259. package/__chunks__/{chunk-2CDWM5ZE.js → chunk-JBKEEOP4.js} +2 -2
  260. package/__chunks__/{chunk-SR7EFQYW.js → chunk-JI2J24LX.js} +2 -2
  261. package/__chunks__/{chunk-R4H4KV5Z.js → chunk-JTXMJOIW.js} +2 -2
  262. package/__chunks__/{chunk-FDVEZMET.js → chunk-JW7G2IHT.js} +2 -2
  263. package/__chunks__/{chunk-R7UYM2VG.js → chunk-JXX37YGS.js} +2 -2
  264. package/__chunks__/{chunk-QRRPUNVO.js → chunk-KAOE4VQF.js} +2 -2
  265. package/__chunks__/{chunk-RBKOSCQD.js → chunk-KKQ7JVSW.js} +2 -2
  266. package/__chunks__/{chunk-J2VQZGJC.js → chunk-KTSJMT2H.js} +2 -2
  267. package/__chunks__/{chunk-Z4SYYQ5I.js → chunk-L26WBHTM.js} +2 -2
  268. package/__chunks__/{chunk-C5EJV7I3.js → chunk-L2PDQ5TC.js} +2 -2
  269. package/__chunks__/{chunk-4GKRDSWZ.js → chunk-L53HPEQE.js} +2 -2
  270. package/__chunks__/chunk-L5QDX6ZU.js +2 -0
  271. package/__chunks__/{chunk-6PIUCJZ6.js → chunk-LGHZKOJW.js} +2 -2
  272. package/__chunks__/{chunk-57PA7IRN.js → chunk-LJYL6KFU.js} +2 -2
  273. package/__chunks__/{chunk-JRYFA46B.js → chunk-LY56AIIK.js} +2 -2
  274. package/__chunks__/{chunk-5ZCLGKEY.js → chunk-LYGBPOXG.js} +2 -2
  275. package/__chunks__/{chunk-ZEX2GI4K.js → chunk-M4MUHFZN.js} +2 -2
  276. package/__chunks__/{chunk-PUJNUYEM.js → chunk-M7BW2NR6.js} +2 -2
  277. package/__chunks__/{chunk-4IRYQHRW.js → chunk-MLZTT2R6.js} +2 -2
  278. package/__chunks__/{chunk-ZP5MHP66.js → chunk-MOK6WIRT.js} +2 -2
  279. package/__chunks__/{chunk-TTBVGH2Q.js → chunk-MTADJMZT.js} +2 -2
  280. package/__chunks__/{chunk-SHMSPYIR.js → chunk-MWQNBLWV.js} +2 -2
  281. package/__chunks__/{chunk-RXOQB5Q2.js → chunk-N3ZXYUCQ.js} +2 -2
  282. package/__chunks__/{chunk-4APDNZXZ.js → chunk-N4IHYZ3C.js} +2 -2
  283. package/__chunks__/{chunk-4LMS2CBW.js → chunk-NKJ3Y7OK.js} +2 -2
  284. package/__chunks__/{chunk-4X634LIE.js → chunk-NNAW3ABA.js} +2 -2
  285. package/__chunks__/{chunk-KSERZNV6.js → chunk-NONQBAJ6.js} +2 -2
  286. package/__chunks__/{chunk-QOLWZRGU.js → chunk-NPPZ3GF2.js} +2 -2
  287. package/__chunks__/{chunk-OEWZSAJ3.js → chunk-NQ3MWKQW.js} +2 -2
  288. package/__chunks__/{chunk-DVQ3M275.js → chunk-NQY6KAS3.js} +2 -2
  289. package/__chunks__/{chunk-XS2LQH35.js → chunk-NRBB4PHP.js} +2 -2
  290. package/__chunks__/{chunk-B6SQRNGF.js → chunk-NSLTRYW5.js} +2 -2
  291. package/__chunks__/{chunk-JTYAXPCS.js → chunk-NYRARHM3.js} +2 -2
  292. package/__chunks__/{chunk-ZMPFPVZ5.js → chunk-NYSGUG6A.js} +2 -2
  293. package/__chunks__/{chunk-Q6A6MOOO.js → chunk-O4227KCA.js} +2 -2
  294. package/__chunks__/{chunk-JRPYH452.js → chunk-O6XFJCN6.js} +2 -2
  295. package/__chunks__/{chunk-WV4NTT3P.js → chunk-OBFB6LGK.js} +2 -2
  296. package/__chunks__/{chunk-GOUDOYWQ.js → chunk-ODWKYGSR.js} +2 -2
  297. package/__chunks__/{chunk-WNZV2EF5.js → chunk-OFUARQP7.js} +2 -2
  298. package/__chunks__/{chunk-Q7SJKVYE.js → chunk-OISZZ3EK.js} +2 -2
  299. package/__chunks__/{chunk-OMBQTU3J.js → chunk-OXIXV2Q5.js} +2 -2
  300. package/__chunks__/chunk-OZIIJWQD.js +2 -0
  301. package/__chunks__/{chunk-D7HOTJC3.js → chunk-P6NX34NY.js} +2 -2
  302. package/__chunks__/{chunk-ARO7CDLO.js → chunk-PLYVFBUX.js} +2 -2
  303. package/__chunks__/chunk-PPME7UHK.js +2 -0
  304. package/__chunks__/{chunk-PTOMGMOS.js → chunk-PPYGGI2A.js} +2 -2
  305. package/__chunks__/{chunk-JGVNIVF5.js → chunk-PV6CKXAS.js} +2 -2
  306. package/__chunks__/{chunk-F2SG4TKT.js → chunk-PVTJPUGG.js} +2 -2
  307. package/__chunks__/{chunk-A5ZYQZUN.js → chunk-PYT4WQDD.js} +2 -2
  308. package/__chunks__/{chunk-4T62RRPI.js → chunk-QCYW3NMB.js} +2 -2
  309. package/__chunks__/{chunk-RUYP3L4R.js → chunk-QSDGW2HL.js} +2 -2
  310. package/__chunks__/chunk-R3SJME7H.js +2 -0
  311. package/__chunks__/chunk-R4S4TBUT.js +2 -0
  312. package/__chunks__/{chunk-U74GPFVT.js → chunk-R75H5FA6.js} +2 -2
  313. package/__chunks__/{chunk-6A44LMPA.js → chunk-RC2NLMS3.js} +2 -2
  314. package/__chunks__/{chunk-7WJ3EYKU.js → chunk-RET3KOGP.js} +2 -2
  315. package/__chunks__/{chunk-H4DNHM3H.js → chunk-RJCGJECL.js} +2 -2
  316. package/__chunks__/{chunk-EG3PTAGY.js → chunk-RMI2BBTS.js} +2 -2
  317. package/__chunks__/{chunk-PL6HEBZS.js → chunk-RRQ2O3TG.js} +2 -2
  318. package/__chunks__/{chunk-ELTCYHHG.js → chunk-RYBQ6MGA.js} +2 -2
  319. package/__chunks__/chunk-RZ532AVU.js +2 -0
  320. package/__chunks__/{chunk-2P6QBHI3.js → chunk-S5LQDBPY.js} +2 -2
  321. package/__chunks__/chunk-S6ROJ7PH.js +2 -0
  322. package/__chunks__/{chunk-5UCEHYGG.js → chunk-SD7PV7QS.js} +2 -2
  323. package/__chunks__/{chunk-BWXRL2TO.js → chunk-SDVE3WSM.js} +2 -2
  324. package/__chunks__/{chunk-BDQBCG7X.js → chunk-SRGXQQHP.js} +2 -2
  325. package/__chunks__/{chunk-QOBZ3GGY.js → chunk-SSCNROAK.js} +2 -2
  326. package/__chunks__/{chunk-R3YH6IL7.js → chunk-T77HZNI4.js} +2 -2
  327. package/__chunks__/{chunk-QHN6XS2L.js → chunk-TGYCKPQN.js} +2 -2
  328. package/__chunks__/{chunk-KCWFTOJ2.js → chunk-TJJGHFKS.js} +2 -2
  329. package/__chunks__/{chunk-XQNI4MSA.js → chunk-UGNLACZ5.js} +2 -2
  330. package/__chunks__/{chunk-DCA4I7U7.js → chunk-UHQACJIB.js} +2 -2
  331. package/__chunks__/{chunk-VFCQRARJ.js → chunk-UQ23OPVY.js} +2 -2
  332. package/__chunks__/chunk-UU77XEDV.js +2 -0
  333. package/__chunks__/{chunk-QL456MRC.js → chunk-UUBX3DNS.js} +2 -2
  334. package/__chunks__/{chunk-D55FMJ25.js → chunk-UVQKEXPS.js} +2 -2
  335. package/__chunks__/{chunk-T5HFGORK.js → chunk-UXHFKL7B.js} +2 -2
  336. package/__chunks__/{chunk-UXZ4X6UZ.js → chunk-UXWVUPTD.js} +2 -2
  337. package/__chunks__/{chunk-IMVIDHEW.js → chunk-VPQHWIE4.js} +2 -2
  338. package/__chunks__/{chunk-S5D4LFWF.js → chunk-VRX2OHZ2.js} +2 -2
  339. package/__chunks__/{chunk-ZFHQWQYC.js → chunk-VV2NRZPY.js} +2 -2
  340. package/__chunks__/{chunk-AWAQ6LB5.js → chunk-W2EWSMQ2.js} +2 -2
  341. package/__chunks__/{chunk-GDSJFYBB.js → chunk-WJ72Z7XD.js} +2 -2
  342. package/__chunks__/{chunk-S7PA2GFZ.js → chunk-WJYVLJSD.js} +2 -2
  343. package/__chunks__/{chunk-K7MS7CI5.js → chunk-WMKUNYVN.js} +2 -2
  344. package/__chunks__/{chunk-BNMS4EAR.js → chunk-WPT726F3.js} +2 -2
  345. package/__chunks__/{chunk-QJ6L7P56.js → chunk-WTB2FNRK.js} +2 -2
  346. package/__chunks__/{chunk-HYCLN6AL.js → chunk-WURXMVIL.js} +2 -2
  347. package/__chunks__/{chunk-EPZEWHWD.js → chunk-WYD2OPVA.js} +2 -2
  348. package/__chunks__/{chunk-QVT3VNNQ.js → chunk-XM2DG6IZ.js} +2 -2
  349. package/__chunks__/{chunk-KCIHMUFP.js → chunk-XO366GYY.js} +2 -2
  350. package/__chunks__/{chunk-V4LRVFXH.js → chunk-XVDWEMHT.js} +2 -2
  351. package/__chunks__/{chunk-IM4K2Y6D.js → chunk-XX2CCVZ4.js} +2 -2
  352. package/__chunks__/{chunk-5FHQG7QK.js → chunk-YIHZQVM2.js} +2 -2
  353. package/__chunks__/{chunk-5JF6GL2P.js → chunk-YIXVNWBA.js} +2 -2
  354. package/__chunks__/{chunk-XUHZJ72U.js → chunk-YJZO2MAP.js} +2 -2
  355. package/__chunks__/{chunk-F33PFIJQ.js → chunk-YNRQT5CH.js} +2 -2
  356. package/__chunks__/{chunk-ICD57O4P.js → chunk-YPB6Y6NE.js} +2 -2
  357. package/__chunks__/{chunk-CJ2DQMI3.js → chunk-YRCD4RF2.js} +2 -2
  358. package/__chunks__/{chunk-UZDAXWKH.js → chunk-YU6OFUSW.js} +2 -2
  359. package/__chunks__/{chunk-FM7GH2NX.js → chunk-YVG2LPSG.js} +2 -2
  360. package/__chunks__/{chunk-BZB667GR.js → chunk-Z5PLSIIH.js} +2 -2
  361. package/__chunks__/{chunk-6IGWXTX2.js → chunk-Z6U5BRLC.js} +2 -2
  362. package/__chunks__/{chunk-DTP4ASYW.js → chunk-ZAYW47TS.js} +2 -2
  363. package/__chunks__/{chunk-CUTE6GKQ.js → chunk-ZCI4OGRJ.js} +2 -2
  364. package/__chunks__/{chunk-FZFZHNUR.js → chunk-ZEDZAXHS.js} +2 -2
  365. package/__chunks__/{chunk-MXSLQB2O.js → chunk-ZHISLHL5.js} +2 -2
  366. package/__chunks__/{chunk-UWOPRIRK.js → chunk-ZHYKCOJ3.js} +2 -2
  367. package/__chunks__/{chunk-MMABKX2W.js → chunk-ZNI7NHSH.js} +2 -2
  368. package/__chunks__/{chunk-FG2PSXYJ.js → chunk-ZPPSEOX4.js} +2 -2
  369. package/__chunks__/{chunk-GQFESQFI.js → chunk-ZUNRFABJ.js} +2 -2
  370. package/__chunks__/{chunk-6CGWVNSE.js → chunk-ZWKUFSEM.js} +2 -2
  371. package/__chunks__/{chunk-E2C76BTP.js → chunk-ZX6ILUJN.js} +2 -2
  372. package/__chunks__/{chunk-F4E4XFTI.js → chunk-ZXWTIMCY.js} +2 -2
  373. package/__commonjs/UI/Balance/Balance.d.ts +1 -1
  374. package/__commonjs/UI/Balance/Balance.js +2 -2
  375. package/__commonjs/UI/Balance/index.js +2 -2
  376. package/__commonjs/UI/SignTransactionsModals/SignTransactionsModals.js +1 -1
  377. package/__commonjs/UI/SignTransactionsModals/SignWithDeviceModal/SignStep.js +3 -3
  378. package/__commonjs/UI/SignTransactionsModals/SignWithDeviceModal/SignWithDeviceModal.js +1 -1
  379. package/__commonjs/UI/SignTransactionsModals/SignWithDeviceModal/components/SignStepBody.js +1 -1
  380. package/__commonjs/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmFee/ConfirmFee.js +3 -3
  381. package/__commonjs/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmFee/index.js +3 -3
  382. package/__commonjs/UI/SignTransactionsModals/SignWithDeviceModal/components/index.js +1 -1
  383. package/__commonjs/UI/SignTransactionsModals/SignWithDeviceModal/index.js +1 -1
  384. package/__commonjs/UI/SignTransactionsModals/SignWithExtraModal/SignWithExtraModal.js +1 -1
  385. package/__commonjs/UI/SignTransactionsModals/SignWithExtraModal/index.js +1 -1
  386. package/__commonjs/UI/SignTransactionsModals/SignWithLedgerModal/SignWithLedgerModal.js +1 -1
  387. package/__commonjs/UI/SignTransactionsModals/SignWithLedgerModal/index.js +1 -1
  388. package/__commonjs/UI/SignTransactionsModals/components/ConfirmationScreen.js +1 -1
  389. package/__commonjs/UI/SignTransactionsModals/components/index.js +1 -1
  390. package/__commonjs/UI/SignTransactionsModals/index.js +1 -1
  391. package/__commonjs/UI/TokenDetails/index.js +1 -1
  392. package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoTokenOperations/TransactionInfoTokenOperations.js +9 -9
  393. package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoTokenOperations/index.js +9 -9
  394. package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/index.js +4 -4
  395. package/__commonjs/UI/TransactionsTable/components/AccountName.js +2 -2
  396. package/__commonjs/UI/TransactionsTable/components/TransactionShardsTransition.js +1 -1
  397. package/__commonjs/UI/Trim/Trim.js +2 -2
  398. package/__commonjs/UI/Trim/index.js +2 -2
  399. package/__commonjs/UI/index.js +10 -10
  400. package/__commonjs/hooks/index.js +1 -1
  401. package/__commonjs/hooks/transactions/helpers/checkNeedsGuardianSigning.js +1 -1
  402. package/__commonjs/hooks/transactions/helpers/index.js +1 -1
  403. package/__commonjs/hooks/transactions/index.js +1 -1
  404. package/__commonjs/hooks/transactions/useSignTransactions.js +1 -1
  405. package/__commonjs/hooks/transactions/useSignTransactionsWithDevice.js +1 -1
  406. package/__commonjs/hooks/transactions/useSignTransactionsWithLedger.js +1 -1
  407. package/__commonjs/services/nativeAuth/helpers/getAuthorizationInfo.js +1 -1
  408. package/__commonjs/utils/index.js +1 -1
  409. package/__commonjs/utils/transactions/builtCallbackUrl.js +1 -1
  410. package/__commonjs/utils/transactions/index.js +1 -1
  411. package/__mocks__/index.js +1 -1
  412. package/__mocks__/utils/index.js +1 -1
  413. package/__mocks__/utils/renderWithProvider.js +1 -1
  414. package/apiCalls/accounts/getAccountFromApi.js +1 -1
  415. package/apiCalls/accounts/index.js +1 -1
  416. package/apiCalls/configuration/getNetworkConfig.js +1 -1
  417. package/apiCalls/configuration/index.js +1 -1
  418. package/apiCalls/economics/getEconomicsInfo.js +1 -1
  419. package/apiCalls/economics/index.js +1 -1
  420. package/apiCalls/getScamAddressData.js +1 -1
  421. package/apiCalls/index.js +1 -1
  422. package/apiCalls/transactions/getTransactionsByHashes.js +1 -1
  423. package/apiCalls/transactions/index.js +1 -1
  424. package/apiCalls/transactions/sendSignedBatchTransactions.js +1 -1
  425. package/apiCalls/transactions/sendSignedTransactions.js +1 -1
  426. package/apiCalls/utils/getCleanApiAddress.js +1 -1
  427. package/apiCalls/utils/index.js +1 -1
  428. package/components/LogoutListener/LogoutListener.js +1 -1
  429. package/components/LogoutListener/helpers/index.js +1 -1
  430. package/components/LogoutListener/helpers/useLogoutFromMultipleTabs.js +1 -1
  431. package/components/LogoutListener/helpers/useNativeAuthLogout.js +1 -1
  432. package/components/LogoutListener/helpers/useNativeAuthLogoutWarning/index.js +1 -1
  433. package/components/LogoutListener/helpers/useNativeAuthLogoutWarning/useNativeAuthLogoutWarning.js +1 -1
  434. package/components/LogoutListener/index.js +1 -1
  435. package/components/ProviderInitializer/ProviderInitializer.js +1 -1
  436. package/components/ProviderInitializer/helpers/index.js +1 -1
  437. package/components/ProviderInitializer/helpers/processMultisigAccount.js +1 -1
  438. package/components/ProviderInitializer/hooks/index.js +1 -1
  439. package/components/ProviderInitializer/hooks/useSetLedgerProvider.js +1 -1
  440. package/components/ProviderInitializer/index.js +1 -1
  441. package/components/TransactionSender/TransactionSender.js +1 -1
  442. package/components/TransactionSender/index.js +1 -1
  443. package/components/TransactionSender/utils/invokeSendTransactions.js +1 -1
  444. package/components/TransactionsTracker/TransactionTracker.js +1 -1
  445. package/components/TransactionsTracker/index.js +1 -1
  446. package/hooks/account/index.js +1 -1
  447. package/hooks/account/useGetAccount.js +1 -1
  448. package/hooks/account/useGetAccountFromApi.js +1 -1
  449. package/hooks/account/useGetAccountInfo.js +1 -1
  450. package/hooks/account/useGetIsLoggedIn.js +1 -1
  451. package/hooks/account/useGetIsWalletConnectV2Initialized.js +1 -1
  452. package/hooks/account/useGetLoginInfo.js +1 -1
  453. package/hooks/account/useGetWebsocketEvent.js +1 -1
  454. package/hooks/economics/index.js +1 -1
  455. package/hooks/economics/useGetEgldPrice.js +1 -1
  456. package/hooks/index.js +1 -1
  457. package/hooks/login/index.js +1 -1
  458. package/hooks/login/useCrossWindowLogin.js +1 -1
  459. package/hooks/login/useExtensionLogin.js +1 -1
  460. package/hooks/login/useGetModalLoginMethods.js +1 -1
  461. package/hooks/login/useLedgerLogin.js +1 -1
  462. package/hooks/login/useLoginService.js +1 -1
  463. package/hooks/login/useOperaLogin.js +1 -1
  464. package/hooks/login/useWalletConnectV2Login.js +1 -1
  465. package/hooks/login/useWebViewLogin.js +1 -1
  466. package/hooks/login/useWebWalletLogin.js +1 -1
  467. package/hooks/login/useXaliasLogin.js +1 -1
  468. package/hooks/signMessage/index.js +1 -1
  469. package/hooks/signMessage/useGetLastSignedMessageSession.js +1 -1
  470. package/hooks/signMessage/useGetSignMessageSession.js +1 -1
  471. package/hooks/signMessage/useGetSignedMessageStatus.js +1 -1
  472. package/hooks/signMessage/useSignMessage.js +1 -1
  473. package/hooks/toasts/index.js +1 -1
  474. package/hooks/toasts/useGetToasts.js +1 -1
  475. package/hooks/toasts/useTransactionsToasts.js +1 -1
  476. package/hooks/transactions/batch/tracker/useBatchTransactionsTracker.js +1 -1
  477. package/hooks/transactions/batch/tracker/useCheckBatch.js +1 -1
  478. package/hooks/transactions/batch/tracker/useCheckBatchesOnWsFailureFallback.js +1 -1
  479. package/hooks/transactions/batch/tracker/useCheckHangingBatchesFallback.js +1 -1
  480. package/hooks/transactions/batch/tracker/useUpdateBatch.js +1 -1
  481. package/hooks/transactions/batch/tracker/useVerifyBatchStatus.js +1 -1
  482. package/hooks/transactions/batch/useGetBatchStatus.js +1 -1
  483. package/hooks/transactions/batch/useResolveBatchStatusResponse.js +1 -1
  484. package/hooks/transactions/batch/useSendBatchTransactions.js +1 -1
  485. package/hooks/transactions/helpers/checkNeedsGuardianSigning.js +1 -1
  486. package/hooks/transactions/helpers/getShouldMoveTransactionsToSignedState.js +1 -1
  487. package/hooks/transactions/helpers/index.js +1 -1
  488. package/hooks/transactions/helpers/useGetLedgerProvider.js +1 -1
  489. package/hooks/transactions/helpers/useSetTransactionNonces.js +1 -1
  490. package/hooks/transactions/index.js +1 -1
  491. package/hooks/transactions/useCheckTransactionStatus/checkBatch.js +1 -1
  492. package/hooks/transactions/useCheckTransactionStatus/index.js +1 -1
  493. package/hooks/transactions/useCheckTransactionStatus/useCheckTransactionStatus.js +1 -1
  494. package/hooks/transactions/useGetActiveTransactionsStatus.js +1 -1
  495. package/hooks/transactions/useGetFailedTransactions.js +1 -1
  496. package/hooks/transactions/useGetLastPendingTransactionHash.js +1 -1
  497. package/hooks/transactions/useGetPendingTransactions.js +1 -1
  498. package/hooks/transactions/useGetSignTransactionsError.js +1 -1
  499. package/hooks/transactions/useGetSignedTransactions.js +1 -1
  500. package/hooks/transactions/useGetSuccessfulTransactions.js +1 -1
  501. package/hooks/transactions/useGetTokenDetails.js +1 -1
  502. package/hooks/transactions/useGetTransactionDisplayInfo.js +1 -1
  503. package/hooks/transactions/useParseSignedTransactions.js +1 -1
  504. package/hooks/transactions/useSignMultipleTransactions.js +1 -1
  505. package/hooks/transactions/useSignTransactions.js +1 -1
  506. package/hooks/transactions/useSignTransactionsCommonData.js +1 -1
  507. package/hooks/transactions/useSignTransactionsWithDevice.js +1 -1
  508. package/hooks/transactions/useSignTransactionsWithLedger.js +1 -1
  509. package/hooks/transactions/useTrackTransactionStatus.js +1 -1
  510. package/hooks/transactions/useTransactionsTracker.js +1 -1
  511. package/hooks/useGetNetworkConfig.js +1 -1
  512. package/hooks/useGetNotification.js +1 -1
  513. package/hooks/websocketListener/index.js +1 -1
  514. package/hooks/websocketListener/useInitializeWebsocketConnection.js +1 -1
  515. package/hooks/websocketListener/useRegisterWebsocketListener.js +1 -1
  516. package/package.json +1 -1
  517. package/reduxStore/selectors/index.js +1 -1
  518. package/reduxStore/selectors/transactionsSelectors.js +1 -1
  519. package/services/index.js +1 -1
  520. package/services/nativeAuth/helpers/getAuthorizationInfo.js +1 -1
  521. package/services/nativeAuth/helpers/getIsNativeAuthSingingForbidden.js +1 -1
  522. package/services/nativeAuth/helpers/index.js +1 -1
  523. package/services/transactions/clearTransactions.js +1 -1
  524. package/services/transactions/getBatchTransactionsStatus.js +1 -1
  525. package/services/transactions/getTransactionsDetails.js +1 -1
  526. package/services/transactions/index.js +1 -1
  527. package/services/transactions/sendBatchTransactions.js +1 -1
  528. package/services/transactions/sendBatchTransactions.test.js +1 -1
  529. package/services/transactions/sendTransactions.js +1 -1
  530. package/services/transactions/transformAndSignTransactions.js +1 -1
  531. package/services/transactions/utils/transformTransactionsToSign.js +1 -1
  532. package/utils/account/getAccount.js +1 -1
  533. package/utils/account/getAccountBalance.js +1 -1
  534. package/utils/account/getAccountShard.js +1 -1
  535. package/utils/account/getAddress.js +1 -1
  536. package/utils/account/getLatestNonce.js +1 -1
  537. package/utils/account/index.js +1 -1
  538. package/utils/account/refreshAccount.js +1 -1
  539. package/utils/account/signMessage.js +1 -1
  540. package/utils/getIsLoggedIn.js +1 -1
  541. package/utils/index.js +1 -1
  542. package/utils/logout.js +1 -1
  543. package/utils/network/getChainID.js +1 -1
  544. package/utils/network/getEgldLabel.js +1 -1
  545. package/utils/network/getNetworkConfig.js +1 -1
  546. package/utils/network/index.js +1 -1
  547. package/utils/transactions/batch/updateBatchTransactionsStatuses.js +1 -1
  548. package/utils/transactions/builtCallbackUrl.js +1 -1
  549. package/utils/transactions/getAllTransactionsLink.js +1 -1
  550. package/utils/transactions/getTransactionLink.js +1 -1
  551. package/utils/transactions/index.js +1 -1
  552. package/utils/waitForChainID.js +1 -1
  553. package/web/hooks/index.js +1 -1
  554. package/web/hooks/useIdleTimer.js +1 -1
  555. package/web/index.js +1 -1
  556. package/wrappers/AppInitializer.js +1 -1
  557. package/wrappers/AuthenticatedRoutesWrapper/AuthenticatedRoutesWrapper.js +1 -1
  558. package/wrappers/AuthenticatedRoutesWrapper/index.js +1 -1
  559. package/wrappers/AxiosInterceptorContext/AxiosInterceptorContext.js +1 -1
  560. package/wrappers/AxiosInterceptorContext/components/AxiosInterceptor.js +1 -1
  561. package/wrappers/AxiosInterceptorContext/components/AxiosInterceptorContextProvider.js +1 -1
  562. package/wrappers/AxiosInterceptorContext/components/LoginInfoListener.js +1 -1
  563. package/wrappers/AxiosInterceptorContext/components/index.js +1 -1
  564. package/wrappers/AxiosInterceptorContext/index.js +1 -1
  565. package/wrappers/DappProvider/CustomComponents.js +1 -1
  566. package/wrappers/DappProvider/DappProvider.js +1 -1
  567. package/wrappers/DappProvider/index.js +1 -1
  568. package/wrappers/index.js +1 -1
  569. package/__chunks__/chunk-3HCMRSUQ.js +0 -2
  570. package/__chunks__/chunk-5235INRK.js +0 -2
  571. package/__chunks__/chunk-5Q6LWPQV.js +0 -2
  572. package/__chunks__/chunk-7EYIF4IW.js +0 -2
  573. package/__chunks__/chunk-DTFXV3DP.js +0 -2
  574. package/__chunks__/chunk-HYNEIDMU.js +0 -2
  575. package/__chunks__/chunk-JCFQULOD.js +0 -2
  576. package/__chunks__/chunk-JMWYITS4.js +0 -2
  577. package/__chunks__/chunk-QXR7TXDU.js +0 -2
  578. package/__chunks__/chunk-RWMFYBGD.js +0 -2
  579. package/__chunks__/chunk-S27JSVVP.js +0 -2
  580. package/__chunks__/chunk-Y6NA6SOG.js +0 -2
@@ -1,2 +1,2 @@
1
- import{a as g}from"./chunk-YV52CXDT.js";import{c as w,d as D}from"./chunk-IK6JSSWX.js";import{a as c}from"./chunk-QPPB6FZN.js";import{a as p}from"./chunk-Z5GC52RE.js";import{a as b}from"./chunk-WAH54MS7.js";import{i as B,m as t}from"./chunk-HBP5N4FR.js";t();import d from"react";import h from"classnames";var S=({address:o,index:e,balance:u,selectedAddress:a,onSelectAddress:v,className:A="dapp-ledger-address-row",ledgerModalTableSelectedItemClassName:i,disabled:m=!1,styles:r})=>{var n;let T=f=>{let{checked:I}=f.target;I&&v({address:o,index:e})};return d.createElement("div",{className:h(r==null?void 0:r.ledgerAddressTableBodyItem,{[i!=null?i:""]:a===o,[(n=r==null?void 0:r.ledgerAddressTableBodyItemSelected)!=null?n:""]:a===o},A)},d.createElement("div",{className:h(r==null?void 0:r.ledgerAddressTableBodyItemData,{disabled:m})},d.createElement("input",{type:"radio",id:`check_${o}`,disabled:m,"data-testid":`check_${o}`,onChange:T,role:"button",checked:a===o,className:r==null?void 0:r.ledgerAddressTableBodyItemDataInput}),d.createElement("label",{htmlFor:`check_${e}`,role:"button","data-testid":`label_${e}`,className:r==null?void 0:r.ledgerAddressTableBodyItemDataLabel},d.createElement("div",{className:r==null?void 0:r.ledgerAddressTableBodyItemDataValue},d.createElement(g,{text:o})))),d.createElement("div",{className:r==null?void 0:r.ledgerAddressTableBodyItemData},d.createElement(c,{value:u,egldLabel:p()})),d.createElement("div",{className:r==null?void 0:r.ledgerAddressTableBodyItemData},e))},P=b(S,{ssrStyles:()=>import("../UI/ledger/LedgerLoginContainer/AddressRow/addressRowStyles.js"),clientStyles:()=>(D(),B(w)).default});export{P as a};
2
- //# sourceMappingURL=chunk-IM4K2Y6D.js.map
1
+ import{a as g}from"./chunk-YV52CXDT.js";import{c as w,d as D}from"./chunk-IK6JSSWX.js";import{a as c}from"./chunk-QPPB6FZN.js";import{a as p}from"./chunk-2U2Q3WQC.js";import{a as b}from"./chunk-WAH54MS7.js";import{i as B,m as t}from"./chunk-HBP5N4FR.js";t();import d from"react";import h from"classnames";var S=({address:o,index:e,balance:u,selectedAddress:a,onSelectAddress:v,className:A="dapp-ledger-address-row",ledgerModalTableSelectedItemClassName:i,disabled:m=!1,styles:r})=>{var n;let T=f=>{let{checked:I}=f.target;I&&v({address:o,index:e})};return d.createElement("div",{className:h(r==null?void 0:r.ledgerAddressTableBodyItem,{[i!=null?i:""]:a===o,[(n=r==null?void 0:r.ledgerAddressTableBodyItemSelected)!=null?n:""]:a===o},A)},d.createElement("div",{className:h(r==null?void 0:r.ledgerAddressTableBodyItemData,{disabled:m})},d.createElement("input",{type:"radio",id:`check_${o}`,disabled:m,"data-testid":`check_${o}`,onChange:T,role:"button",checked:a===o,className:r==null?void 0:r.ledgerAddressTableBodyItemDataInput}),d.createElement("label",{htmlFor:`check_${e}`,role:"button","data-testid":`label_${e}`,className:r==null?void 0:r.ledgerAddressTableBodyItemDataLabel},d.createElement("div",{className:r==null?void 0:r.ledgerAddressTableBodyItemDataValue},d.createElement(g,{text:o})))),d.createElement("div",{className:r==null?void 0:r.ledgerAddressTableBodyItemData},d.createElement(c,{value:u,egldLabel:p()})),d.createElement("div",{className:r==null?void 0:r.ledgerAddressTableBodyItemData},e))},P=b(S,{ssrStyles:()=>import("../UI/ledger/LedgerLoginContainer/AddressRow/addressRowStyles.js"),clientStyles:()=>(D(),B(w)).default});export{P as a};
2
+ //# sourceMappingURL=chunk-XX2CCVZ4.js.map
@@ -1,2 +1,2 @@
1
- import{a as oe}from"./chunk-OX2BHVOJ.js";import{a as ie}from"./chunk-2UFJTGPZ.js";import{a as re}from"./chunk-R7VXMYQB.js";import{a as ne}from"./chunk-PAVHGJ7A.js";import{b as te}from"./chunk-QOLWZRGU.js";import{a as Z}from"./chunk-TKNP2HZ7.js";import{a as ae}from"./chunk-SHMSPYIR.js";import{a as ce}from"./chunk-HUG5JE7T.js";import{a as l}from"./chunk-DKURLGXX.js";import{a as ee}from"./chunk-U3HDKBGZ.js";import{a as c,c as Y}from"./chunk-M72NGQGD.js";import{c as Q,f as X}from"./chunk-UKITMGU5.js";import{c as K,d as n}from"./chunk-S4WC5U6P.js";import{a as $}from"./chunk-GOUDOYWQ.js";import{a as J}from"./chunk-2PO5SHSC.js";import{a as G}from"./chunk-YMIC3WOU.js";import{a as B,b as Ve}from"./chunk-554W3345.js";import{b as M,c as N,d as T,e as O,f as U,h as _,k as Re}from"./chunk-UH74TE5S.js";import{a as V,g as F,m as De}from"./chunk-K2OPPBXN.js";import{b as H,h as j,k as q,n as ze}from"./chunk-FWO3MI5K.js";import{a as xe}from"./chunk-A4KPR7JI.js";import{e as R,g as A,j as L}from"./chunk-IZU4L5ZT.js";import{d as z}from"./chunk-IEJ6UMAD.js";import{c as h,g as x,j as a,k as D}from"./chunk-XTMENGRC.js";import{b as E,c as Ee}from"./chunk-24CUGG55.js";import{r as We}from"./chunk-WEUI2Z4N.js";import{a as p,b as v,j as r,m as W}from"./chunk-HBP5N4FR.js";W();import{useEffect as f,useRef as Fe}from"react";Ee();De();Re();ze();xe();We();Ve();var P=!1;function nt(){let g=n(j),se=n(q),C=n(T),m=n(M),le=n(U),s=n(V),y=n(F),k=n(O),de=n(N),S=n(H),i=n(_),I=i==null?void 0:i.nativeAuthConfig,ue=Z(I||!1),w=Fe(!1),t=K(),{setLedgerProvider:fe,ledgerData:d}=ce();oe();let{callbackRoute:ge,logoutRoute:me}=C||{callbackRoute:"",logoutRoute:""},[we]=te({callbackRoute:ge,logoutRoute:me});f(()=>{pe()},[g]),f(()=>{ke()},[m,S]),f(()=>{he()},[s,g]),f(()=>{ve()},[y,de,d]);function pe(){return r(this,null,function*(){try{let e=yield G();e&&t(z(e.erd_chain_id))}catch(e){console.error("failed refreshing chainId ",e)}})}function ve(){y==null&&k!=null&&d&&t(x({index:k.index,address:s,hasContractDataEnabled:d.dataEnabled,version:d.version}))}function he(){return r(this,null,function*(){if(t(a(!0)),w.current){w.current=!1,t(a(!1));return}if(s)try{let e=yield $(s);e&&t(h(v(p({},e),{address:s,nonce:e.nonce.valueOf()})))}catch(e){t(D("Failed getting account")),console.error("Failed getting account ",e)}t(a(!1))})}function Ae(){return r(this,null,function*(){let e=Q(se);if(c(e),le!=null){try{let o=yield l(),{clearNavigationHistory:b,remainingParams:{signature:Se,multisig:Ie,impersonate:be}}=B(["signature","loginToken","address","multisig","impersonate"]);if(!o)return c(X),t(R(null)),t(A(null)),b();let u=yield ae({loginToken:i==null?void 0:i.loginToken,extraInfoData:{multisig:Ie,impersonate:be},address:o,signature:Se,loginService:ue});u&&(w.current=!0,t(a(!0)),t(E({address:u.address,loginMethod:"wallet"})),t(h(v(p({},u),{nonce:ee(u)}))),t(a(!1))),b()}catch(o){console.error("Failed authenticating wallet user ",o)}t(A(null))}})}function Le(){return r(this,null,function*(){let e=yield l(),o=yield re(e);o&&c(o)})}function Pe(){return r(this,null,function*(){let e=yield l(),o=yield ne(e);o&&c(o)})}function Ce(){return r(this,null,function*(){let e=yield l(),o=yield ie({address:e,walletUrl:g.walletAddress});o&&c(o)})}function ye(){return r(this,null,function*(){try{t(L(!0)),yield we(!1)}catch(e){console.error("Could not initialize WalletConnect")}finally{t(L(!1))}})}function ke(){return r(this,null,function*(){let e=J(S);if(!(m==null||P||!e))switch(m){case"ledger":{P=!0,yield fe(),P=!1;break}case"walletconnectv2":{ye();break}case"extension":{Le();break}case"opera":{Pe();break}case"crossWindow":{Ce();break}case"extra":{Y();break}case"wallet":case"":{Ae();break}default:return}})}return null}export{nt as a};
2
- //# sourceMappingURL=chunk-5FHQG7QK.js.map
1
+ import{a as oe}from"./chunk-AWWL63RZ.js";import{a as ie}from"./chunk-2UFJTGPZ.js";import{a as re}from"./chunk-R7VXMYQB.js";import{a as ne}from"./chunk-PAVHGJ7A.js";import{b as te}from"./chunk-NPPZ3GF2.js";import{a as Z}from"./chunk-IA652ZNM.js";import{a as ae}from"./chunk-MWQNBLWV.js";import{a as ce}from"./chunk-FSUJ6D7T.js";import{a as l}from"./chunk-CSED2PVZ.js";import{a as ee}from"./chunk-A7Q3OTB5.js";import{a as c,c as Y}from"./chunk-M72NGQGD.js";import{c as Q,f as X}from"./chunk-UKITMGU5.js";import{c as K,d as n}from"./chunk-S4WC5U6P.js";import{a as $}from"./chunk-ODWKYGSR.js";import{a as J}from"./chunk-2PO5SHSC.js";import{a as G}from"./chunk-4TLIQU5N.js";import{a as B,b as Ve}from"./chunk-554W3345.js";import{b as M,c as N,d as T,e as O,f as U,h as _,k as Re}from"./chunk-UH74TE5S.js";import{a as V,g as F,m as De}from"./chunk-K2OPPBXN.js";import{b as H,h as j,k as q,n as ze}from"./chunk-FWO3MI5K.js";import{a as xe}from"./chunk-A4KPR7JI.js";import{e as R,g as A,j as L}from"./chunk-IZU4L5ZT.js";import{d as z}from"./chunk-IEJ6UMAD.js";import{c as h,g as x,j as a,k as D}from"./chunk-XTMENGRC.js";import{b as E,c as Ee}from"./chunk-24CUGG55.js";import{r as We}from"./chunk-WEUI2Z4N.js";import{a as p,b as v,j as r,m as W}from"./chunk-HBP5N4FR.js";W();import{useEffect as f,useRef as Fe}from"react";Ee();De();Re();ze();xe();We();Ve();var P=!1;function nt(){let g=n(j),se=n(q),C=n(T),m=n(M),le=n(U),s=n(V),y=n(F),k=n(O),de=n(N),S=n(H),i=n(_),I=i==null?void 0:i.nativeAuthConfig,ue=Z(I||!1),w=Fe(!1),t=K(),{setLedgerProvider:fe,ledgerData:d}=ce();oe();let{callbackRoute:ge,logoutRoute:me}=C||{callbackRoute:"",logoutRoute:""},[we]=te({callbackRoute:ge,logoutRoute:me});f(()=>{pe()},[g]),f(()=>{ke()},[m,S]),f(()=>{he()},[s,g]),f(()=>{ve()},[y,de,d]);function pe(){return r(this,null,function*(){try{let e=yield G();e&&t(z(e.erd_chain_id))}catch(e){console.error("failed refreshing chainId ",e)}})}function ve(){y==null&&k!=null&&d&&t(x({index:k.index,address:s,hasContractDataEnabled:d.dataEnabled,version:d.version}))}function he(){return r(this,null,function*(){if(t(a(!0)),w.current){w.current=!1,t(a(!1));return}if(s)try{let e=yield $(s);e&&t(h(v(p({},e),{address:s,nonce:e.nonce.valueOf()})))}catch(e){t(D("Failed getting account")),console.error("Failed getting account ",e)}t(a(!1))})}function Ae(){return r(this,null,function*(){let e=Q(se);if(c(e),le!=null){try{let o=yield l(),{clearNavigationHistory:b,remainingParams:{signature:Se,multisig:Ie,impersonate:be}}=B(["signature","loginToken","address","multisig","impersonate"]);if(!o)return c(X),t(R(null)),t(A(null)),b();let u=yield ae({loginToken:i==null?void 0:i.loginToken,extraInfoData:{multisig:Ie,impersonate:be},address:o,signature:Se,loginService:ue});u&&(w.current=!0,t(a(!0)),t(E({address:u.address,loginMethod:"wallet"})),t(h(v(p({},u),{nonce:ee(u)}))),t(a(!1))),b()}catch(o){console.error("Failed authenticating wallet user ",o)}t(A(null))}})}function Le(){return r(this,null,function*(){let e=yield l(),o=yield re(e);o&&c(o)})}function Pe(){return r(this,null,function*(){let e=yield l(),o=yield ne(e);o&&c(o)})}function Ce(){return r(this,null,function*(){let e=yield l(),o=yield ie({address:e,walletUrl:g.walletAddress});o&&c(o)})}function ye(){return r(this,null,function*(){try{t(L(!0)),yield we(!1)}catch(e){console.error("Could not initialize WalletConnect")}finally{t(L(!1))}})}function ke(){return r(this,null,function*(){let e=J(S);if(!(m==null||P||!e))switch(m){case"ledger":{P=!0,yield fe(),P=!1;break}case"walletconnectv2":{ye();break}case"extension":{Le();break}case"opera":{Pe();break}case"crossWindow":{Ce();break}case"extra":{Y();break}case"wallet":case"":{Ae();break}default:return}})}return null}export{nt as a};
2
+ //# sourceMappingURL=chunk-YIHZQVM2.js.map
@@ -1,2 +1,2 @@
1
- import{b as m}from"./chunk-PUJNUYEM.js";import{j as u,m as a}from"./chunk-HBP5N4FR.js";a();import x,{useRef as I,useEffect as h}from"react";import s from"axios";var C=({children:f,authenticatedDomains:d})=>{var n;let{loginInfo:r}=m(),t=(n=r==null?void 0:r.tokenLogin)==null?void 0:n.nativeAuthToken,o=I(-1),A=()=>{s.interceptors.response.use(e=>e,e=>{var c,p;let i=(c=e.config)==null?void 0:c.url;return(p=e.config)!=null&&p.params&&(i+=`?${new URLSearchParams(e.config.params).toString()}`),console.error("Axios error for: ",i),Promise.reject(e)})},l=()=>{s.interceptors.request.eject(o.current),o.current=s.interceptors.request.use(e=>u(void 0,null,function*(){return d.includes(String(e==null?void 0:e.baseURL))&&e.headers.set("Authorization",`Bearer ${t}`),e}),e=>{Promise.reject(e)})};return h(A,[]),h(()=>{t&&l()},[t]),x.createElement(x.Fragment,null,f)};export{C as a};
2
- //# sourceMappingURL=chunk-5JF6GL2P.js.map
1
+ import{b as m}from"./chunk-M7BW2NR6.js";import{j as u,m as a}from"./chunk-HBP5N4FR.js";a();import x,{useRef as I,useEffect as h}from"react";import s from"axios";var C=({children:f,authenticatedDomains:d})=>{var n;let{loginInfo:r}=m(),t=(n=r==null?void 0:r.tokenLogin)==null?void 0:n.nativeAuthToken,o=I(-1),A=()=>{s.interceptors.response.use(e=>e,e=>{var c,p;let i=(c=e.config)==null?void 0:c.url;return(p=e.config)!=null&&p.params&&(i+=`?${new URLSearchParams(e.config.params).toString()}`),console.error("Axios error for: ",i),Promise.reject(e)})},l=()=>{s.interceptors.request.eject(o.current),o.current=s.interceptors.request.use(e=>u(void 0,null,function*(){return d.includes(String(e==null?void 0:e.baseURL))&&e.headers.set("Authorization",`Bearer ${t}`),e}),e=>{Promise.reject(e)})};return h(A,[]),h(()=>{t&&l()},[t]),x.createElement(x.Fragment,null,f)};export{C as a};
2
+ //# sourceMappingURL=chunk-YIXVNWBA.js.map
@@ -1,2 +1,2 @@
1
- import{a as o}from"./chunk-B6SQRNGF.js";import{a as d}from"./chunk-D3WFE5YS.js";import{m as a}from"./chunk-HBP5N4FR.js";a();d();var b=()=>{var t,e;let{hasPendingTransactions:i,pendingTransactions:s}=o();if(!i)return"";let c=Object.keys(s).sort().reverse();for(let h of c){let n=(e=(t=s[h].transactions)==null?void 0:t.filter(r=>r.status==="pending"))!=null?e:[];if(n.length>0)return n[n.length-1].hash}return""};export{b as a};
2
- //# sourceMappingURL=chunk-XUHZJ72U.js.map
1
+ import{a as o}from"./chunk-NSLTRYW5.js";import{a as d}from"./chunk-D3WFE5YS.js";import{m as a}from"./chunk-HBP5N4FR.js";a();d();var b=()=>{var t,e;let{hasPendingTransactions:i,pendingTransactions:s}=o();if(!i)return"";let c=Object.keys(s).sort().reverse();for(let h of c){let n=(e=(t=s[h].transactions)==null?void 0:t.filter(r=>r.status==="pending"))!=null?e:[];if(n.length>0)return n[n.length-1].hash}return""};export{b as a};
2
+ //# sourceMappingURL=chunk-YJZO2MAP.js.map
@@ -1,2 +1,2 @@
1
- import{q as g}from"./chunk-UZDAXWKH.js";import{i as n}from"./chunk-FWO3MI5K.js";import{a as o,d as i}from"./chunk-BQ5SL7X6.js";import{e as a,m as r}from"./chunk-HBP5N4FR.js";var C,l=a(()=>{r();g();i();C=e=>{let t=e!=null?e:n(o.getState());return t.endsWith("/")?t.slice(0,-1):t}});export{C as a,l as b};
2
- //# sourceMappingURL=chunk-F33PFIJQ.js.map
1
+ import{q as g}from"./chunk-YU6OFUSW.js";import{i as n}from"./chunk-FWO3MI5K.js";import{a as o,d as i}from"./chunk-BQ5SL7X6.js";import{e as a,m as r}from"./chunk-HBP5N4FR.js";var C,l=a(()=>{r();g();i();C=e=>{let t=e!=null?e:n(o.getState());return t.endsWith("/")?t.slice(0,-1):t}});export{C as a,l as b};
2
+ //# sourceMappingURL=chunk-YNRQT5CH.js.map
@@ -1,2 +1,2 @@
1
- import{a as A,b as z}from"./chunk-U62W3J3X.js";import{a as h,b as q}from"./chunk-U3HDKBGZ.js";import{a as N,b as j}from"./chunk-GOUDOYWQ.js";import{q as Y}from"./chunk-UZDAXWKH.js";import{a as S}from"./chunk-K2OPPBXN.js";import{b as T}from"./chunk-FWO3MI5K.js";import{a as v,b as X}from"./chunk-L6642PEI.js";import{a as o,d as V}from"./chunk-BQ5SL7X6.js";import{b as g,c as p,d as l,e as f,w as U}from"./chunk-BO4I7TU7.js";import{e as O,j as m,k as d,m as u}from"./chunk-HBP5N4FR.js";import{Address as L}from"@multiversx/sdk-core";import G from"bignumber.js";function F({data:n,isGuarded:I}){let e=I?l:0,t=new G(p).plus(e),a=new G(g),r=n?a.times(d.Buffer.from(n).length):0;return t.plus(r).toString(10)}function ot(I){return m(this,arguments,function*({transactions:n}){let e=S(o.getState()),t=yield N(e),a=h(t);return n.map(r=>{let{value:s,receiver:i,data:b="",chainID:w,version:_=1,options:P,gasPrice:R=f,gasLimit:D=F({data:r.data,isGuarded:t==null?void 0:t.isGuarded}),guardian:y,guardianSignature:E,nonce:k=0}=r,c=i;try{c=new L(i).hex()}catch(M){throw"Invalid Receiver address"}let B=A({accountNonce:a,transactionNonce:k}),x=T(o.getState()).valueOf().toString(),C=w||x;return v({value:s,receiver:c,data:b,gasPrice:R,gasLimit:Number(D),nonce:Number(B.valueOf().toString()),sender:new L(e).hex(),chainID:C,version:_,options:P,guardian:y,guardianSignature:E})})})}var H=O(()=>{u();U();X();Y();V();j();q();z()});export{ot as a,H as b};
2
- //# sourceMappingURL=chunk-ICD57O4P.js.map
1
+ import{a as A,b as z}from"./chunk-U62W3J3X.js";import{a as h,b as q}from"./chunk-A7Q3OTB5.js";import{a as N,b as j}from"./chunk-ODWKYGSR.js";import{q as Y}from"./chunk-YU6OFUSW.js";import{a as S}from"./chunk-K2OPPBXN.js";import{b as T}from"./chunk-FWO3MI5K.js";import{a as v,b as X}from"./chunk-L6642PEI.js";import{a as o,d as V}from"./chunk-BQ5SL7X6.js";import{b as g,c as p,d as l,e as f,w as U}from"./chunk-BO4I7TU7.js";import{e as O,j as m,k as d,m as u}from"./chunk-HBP5N4FR.js";import{Address as L}from"@multiversx/sdk-core";import G from"bignumber.js";function F({data:n,isGuarded:I}){let e=I?l:0,t=new G(p).plus(e),a=new G(g),r=n?a.times(d.Buffer.from(n).length):0;return t.plus(r).toString(10)}function ot(I){return m(this,arguments,function*({transactions:n}){let e=S(o.getState()),t=yield N(e),a=h(t);return n.map(r=>{let{value:s,receiver:i,data:b="",chainID:w,version:_=1,options:P,gasPrice:R=f,gasLimit:D=F({data:r.data,isGuarded:t==null?void 0:t.isGuarded}),guardian:y,guardianSignature:E,nonce:k=0}=r,c=i;try{c=new L(i).hex()}catch(M){throw"Invalid Receiver address"}let B=A({accountNonce:a,transactionNonce:k}),x=T(o.getState()).valueOf().toString(),C=w||x;return v({value:s,receiver:c,data:b,gasPrice:R,gasLimit:Number(D),nonce:Number(B.valueOf().toString()),sender:new L(e).hex(),chainID:C,version:_,options:P,guardian:y,guardianSignature:E})})})}var H=O(()=>{u();U();X();Y();V();j();q();z()});export{ot as a,H as b};
2
+ //# sourceMappingURL=chunk-YPB6Y6NE.js.map
@@ -1,2 +1,2 @@
1
- import{a as i}from"./chunk-WLQGSC3V.js";import{a as s}from"./chunk-HUG5JE7T.js";import{j as n,m as d}from"./chunk-HBP5N4FR.js";d();var P=()=>{let{provider:e}=i(),{setLedgerProvider:c}=s();return function(){return n(this,null,function*(){let r;try{let o=yield e.getAddress();r=Boolean(o)}catch(o){r=!1}if(r)return e;let t=yield c({isRelogin:!0});return t||e})}};export{P as a};
2
- //# sourceMappingURL=chunk-CJ2DQMI3.js.map
1
+ import{a as i}from"./chunk-WLQGSC3V.js";import{a as s}from"./chunk-FSUJ6D7T.js";import{j as n,m as d}from"./chunk-HBP5N4FR.js";d();var P=()=>{let{provider:e}=i(),{setLedgerProvider:c}=s();return function(){return n(this,null,function*(){let r;try{let o=yield e.getAddress();r=Boolean(o)}catch(o){r=!1}if(r)return e;let t=yield c({isRelogin:!0});return t||e})}};export{P as a};
2
+ //# sourceMappingURL=chunk-YRCD4RF2.js.map
@@ -1,2 +1,2 @@
1
- import{b as U}from"./chunk-VPUSNB5I.js";import{b as V}from"./chunk-6FZZOEGT.js";import{b as N}from"./chunk-XNFCZFZP.js";import{a as J}from"./chunk-KMD7GHD2.js";import{b as B}from"./chunk-JTYAXPCS.js";import{b as G}from"./chunk-HPDIREBZ.js";import{a as W}from"./chunk-QJSETKCB.js";import{b as K}from"./chunk-AAI7OAOT.js";import{f as F}from"./chunk-BQNI2XMA.js";import{d as _}from"./chunk-7TW5V77R.js";import{c as h}from"./chunk-LWG2223P.js";import{c as P}from"./chunk-H6BZGL2Y.js";import{k as j}from"./chunk-UH74TE5S.js";import{m as M}from"./chunk-K2OPPBXN.js";import{d as q}from"./chunk-ZHMC3BOL.js";import{j as i,n as D}from"./chunk-FWO3MI5K.js";import{a as C,b as z}from"./chunk-L6642PEI.js";import{b as v}from"./chunk-P2ULBRHU.js";import{b as Q}from"./chunk-BVAHQTJA.js";import{c as H}from"./chunk-NEF2FHJC.js";import{a as n,b as L}from"./chunk-3DHA63I3.js";import{a as c,d as $}from"./chunk-BQ5SL7X6.js";import{j as d,k as y,l as I,n as R,x as b}from"./chunk-6J4RJ64N.js";import{a as S,b as u,e,m as t}from"./chunk-HBP5N4FR.js";function Z(r,o=i(c.getState())){return`${o}/transactions/${r}`}var k=e(()=>{t();x();$()});var A=e(()=>{t();B();w();G();J();H();k();K();v();N();Q();U();V();W();b()});var T,s,yr,Ir,l,Rr,Cr,$r,kr,wr,Ar,E=e(()=>{t();z();A();L();T=r=>r.transactions,s=n(T,r=>r.signedTransactions),yr=n(T,r=>r.signTransactionsError),Ir=n(T,r=>r.signTransactionsCancelMessage),l=r=>o=>Object.entries(o).reduce((a,[O,g])=>(r(g.status)&&(a[O]=g),a),{}),Rr=n(s,l(d)),Cr=n(s,l(y)),$r=n(s,l(I)),kr=n(s,l(R)),wr=n(T,r=>{var o;return(r==null?void 0:r.transactionsToSign)==null?null:u(S({},r.transactionsToSign),{transactions:((o=r==null?void 0:r.transactionsToSign)==null?void 0:o.transactions.map(a=>C(a)))||[]})}),Ar=n(s,(r,o)=>o,(r,o)=>o!=null?(r==null?void 0:r[o])||{}:{})});var x=e(()=>{t();M();P();j();q();D();F();_();h();E()});function zr(r,o=i(c.getState())){return`${o}/address/${r}`}var w=e(()=>{t();x();$()});export{zr as a,w as b,Z as c,k as d,A as e,T as f,s as g,yr as h,Ir as i,Rr as j,Cr as k,$r as l,kr as m,wr as n,Ar as o,E as p,x as q};
2
- //# sourceMappingURL=chunk-UZDAXWKH.js.map
1
+ import{b as U}from"./chunk-VPUSNB5I.js";import{b as V}from"./chunk-6FZZOEGT.js";import{b as N}from"./chunk-XNFCZFZP.js";import{a as J}from"./chunk-KMD7GHD2.js";import{b as B}from"./chunk-NYRARHM3.js";import{b as G}from"./chunk-HPDIREBZ.js";import{a as W}from"./chunk-QJSETKCB.js";import{b as K}from"./chunk-AAI7OAOT.js";import{f as F}from"./chunk-BQNI2XMA.js";import{d as _}from"./chunk-7TW5V77R.js";import{c as h}from"./chunk-LWG2223P.js";import{c as P}from"./chunk-H6BZGL2Y.js";import{k as j}from"./chunk-UH74TE5S.js";import{m as M}from"./chunk-K2OPPBXN.js";import{d as q}from"./chunk-ZHMC3BOL.js";import{j as i,n as D}from"./chunk-FWO3MI5K.js";import{a as C,b as z}from"./chunk-L6642PEI.js";import{b as v}from"./chunk-P2ULBRHU.js";import{b as Q}from"./chunk-BVAHQTJA.js";import{c as H}from"./chunk-NEF2FHJC.js";import{a as n,b as L}from"./chunk-3DHA63I3.js";import{a as c,d as $}from"./chunk-BQ5SL7X6.js";import{j as d,k as y,l as I,n as R,x as b}from"./chunk-6J4RJ64N.js";import{a as S,b as u,e,m as t}from"./chunk-HBP5N4FR.js";function Z(r,o=i(c.getState())){return`${o}/transactions/${r}`}var k=e(()=>{t();x();$()});var A=e(()=>{t();B();w();G();J();H();k();K();v();N();Q();U();V();W();b()});var T,s,yr,Ir,l,Rr,Cr,$r,kr,wr,Ar,E=e(()=>{t();z();A();L();T=r=>r.transactions,s=n(T,r=>r.signedTransactions),yr=n(T,r=>r.signTransactionsError),Ir=n(T,r=>r.signTransactionsCancelMessage),l=r=>o=>Object.entries(o).reduce((a,[O,g])=>(r(g.status)&&(a[O]=g),a),{}),Rr=n(s,l(d)),Cr=n(s,l(y)),$r=n(s,l(I)),kr=n(s,l(R)),wr=n(T,r=>{var o;return(r==null?void 0:r.transactionsToSign)==null?null:u(S({},r.transactionsToSign),{transactions:((o=r==null?void 0:r.transactionsToSign)==null?void 0:o.transactions.map(a=>C(a)))||[]})}),Ar=n(s,(r,o)=>o,(r,o)=>o!=null?(r==null?void 0:r[o])||{}:{})});var x=e(()=>{t();M();P();j();q();D();F();_();h();E()});function zr(r,o=i(c.getState())){return`${o}/address/${r}`}var w=e(()=>{t();x();$()});export{zr as a,w as b,Z as c,k as d,A as e,T as f,s as g,yr as h,Ir as i,Rr as j,Cr as k,$r as l,kr as m,wr as n,Ar as o,E as p,x as q};
2
+ //# sourceMappingURL=chunk-YU6OFUSW.js.map
@@ -1,2 +1,2 @@
1
- import{a as f}from"./chunk-B6SQRNGF.js";import{a as u}from"./chunk-E55WYWVW.js";import{a as s}from"./chunk-MQKCVYJB.js";import{j as i,x as T}from"./chunk-6J4RJ64N.js";import{a as o,j as c,m as e}from"./chunk-HBP5N4FR.js";e();T();function I(){let{pendingTransactionsArray:h}=f();function m(a){return c(this,null,function*(){let r=h.filter(([,n])=>{var t;return!((t=n==null?void 0:n.customTransactionInformation)!=null&&t.grouping)}).filter(([n,t])=>n!=null&&i(t.status));if(r.length>0)for(let[n,t]of r)yield u(o({sessionId:n,transactionBatch:t},a));a.shouldRefreshBalance&&(yield s())})}return m}export{I as a};
2
- //# sourceMappingURL=chunk-FM7GH2NX.js.map
1
+ import{a as f}from"./chunk-NSLTRYW5.js";import{a as u}from"./chunk-GZCGZANJ.js";import{a as s}from"./chunk-ITEW4PWU.js";import{j as i,x as T}from"./chunk-6J4RJ64N.js";import{a as o,j as c,m as e}from"./chunk-HBP5N4FR.js";e();T();function I(){let{pendingTransactionsArray:h}=f();function m(a){return c(this,null,function*(){let r=h.filter(([,n])=>{var t;return!((t=n==null?void 0:n.customTransactionInformation)!=null&&t.grouping)}).filter(([n,t])=>n!=null&&i(t.status));if(r.length>0)for(let[n,t]of r)yield u(o({sessionId:n,transactionBatch:t},a));a.shouldRefreshBalance&&(yield s())})}return m}export{I as a};
2
+ //# sourceMappingURL=chunk-YVG2LPSG.js.map
@@ -1,2 +1,2 @@
1
- import{b as T}from"./chunk-QL456MRC.js";import{a as t}from"./chunk-UXZ4X6UZ.js";import{a as o}from"./chunk-QPPB6FZN.js";import{a as p}from"./chunk-WAH54MS7.js";import{c as u}from"./chunk-LVCWBXY5.js";import{j as d}from"./chunk-4SD7Y2KM.js";import{m as n}from"./chunk-HBP5N4FR.js";n();import i from"react";d();u();var f=({operation:m,transaction:e,globalStyles:r})=>{switch(m.type){case"nft":case"esdt":return i.createElement(t,{operation:m,transaction:e},i.createElement(i.Fragment,null,m.esdtType==="NonFungibleESDT"&&i.createElement("div",{className:r==null?void 0:r.mr1},"NFT"),m.esdtType==="SemiFungibleESDT"&&i.createElement("div",{className:r==null?void 0:r.mr1},"SFT quantity"),i.createElement(T,{operation:m})));case"egld":return i.createElement(t,{operation:m,transaction:e},i.createElement(i.Fragment,null,i.createElement("div",{className:r==null?void 0:r.mr2},"Value"),i.createElement(o,{value:m.value,showLastNonZeroDecimal:!0})));default:return null}},V=p(f,{});export{V as a};
2
- //# sourceMappingURL=chunk-BZB667GR.js.map
1
+ import{b as T}from"./chunk-UUBX3DNS.js";import{a as t}from"./chunk-UXWVUPTD.js";import{a as o}from"./chunk-QPPB6FZN.js";import{a as p}from"./chunk-WAH54MS7.js";import{c as u}from"./chunk-LVCWBXY5.js";import{j as d}from"./chunk-4SD7Y2KM.js";import{m as n}from"./chunk-HBP5N4FR.js";n();import i from"react";d();u();var f=({operation:m,transaction:e,globalStyles:r})=>{switch(m.type){case"nft":case"esdt":return i.createElement(t,{operation:m,transaction:e},i.createElement(i.Fragment,null,m.esdtType==="NonFungibleESDT"&&i.createElement("div",{className:r==null?void 0:r.mr1},"NFT"),m.esdtType==="SemiFungibleESDT"&&i.createElement("div",{className:r==null?void 0:r.mr1},"SFT quantity"),i.createElement(T,{operation:m})));case"egld":return i.createElement(t,{operation:m,transaction:e},i.createElement(i.Fragment,null,i.createElement("div",{className:r==null?void 0:r.mr2},"Value"),i.createElement(o,{value:m.value,showLastNonZeroDecimal:!0})));default:return null}},V=p(f,{});export{V as a};
2
+ //# sourceMappingURL=chunk-Z5PLSIIH.js.map
@@ -1,2 +1,2 @@
1
- import{a as p}from"./chunk-DZMN32EC.js";import{c as e,d as f}from"./chunk-QLKV2O3W.js";import{a as m}from"./chunk-7WJ3EYKU.js";import{a as T}from"./chunk-WAH54MS7.js";import{w as L}from"./chunk-BO4I7TU7.js";import{i as k,m as c}from"./chunk-HBP5N4FR.js";c();L();import n from"react";import d from"classnames";var x=({transaction:a,globalStyles:i,styles:r})=>{var h,o;return n.createElement("div",{className:d(i==null?void 0:i.dFlex,i==null?void 0:i.alignItemsCenter,r==null?void 0:r.transactionCell)},n.createElement(m,{page:(h=a.links.senderShardLink)!=null?h:"",className:d(r==null?void 0:r.transactionCellMargin,r==null?void 0:r.transactionCellLink),"data-testid":"shardFromLink"},n.createElement(p,{shard:a.senderShard,"data-testid":"senderShard"})),n.createElement("span",{className:d(i==null?void 0:i.textSecondary,i==null?void 0:i.mx2)},"\u2794"),n.createElement(m,{className:d(r==null?void 0:r.transactionCellMargin,r==null?void 0:r.transactionCellLink),page:(o=a.links.receiverShardLink)!=null?o:"","data-testid":"shardToLink"},n.createElement(p,{shard:a.receiverShard,"data-testid":"receiverShard"})))},w=T(x,{ssrStyles:()=>import("../UI/TransactionsTable/components/transactionsTable.styles.js"),clientStyles:()=>(f(),k(e)).default});export{w as a};
2
- //# sourceMappingURL=chunk-6IGWXTX2.js.map
1
+ import{a as p}from"./chunk-DZMN32EC.js";import{c as e,d as f}from"./chunk-QLKV2O3W.js";import{a as m}from"./chunk-RET3KOGP.js";import{a as T}from"./chunk-WAH54MS7.js";import{w as L}from"./chunk-BO4I7TU7.js";import{i as k,m as c}from"./chunk-HBP5N4FR.js";c();L();import n from"react";import d from"classnames";var x=({transaction:a,globalStyles:i,styles:r})=>{var h,o;return n.createElement("div",{className:d(i==null?void 0:i.dFlex,i==null?void 0:i.alignItemsCenter,r==null?void 0:r.transactionCell)},n.createElement(m,{page:(h=a.links.senderShardLink)!=null?h:"",className:d(r==null?void 0:r.transactionCellMargin,r==null?void 0:r.transactionCellLink),"data-testid":"shardFromLink"},n.createElement(p,{shard:a.senderShard,"data-testid":"senderShard"})),n.createElement("span",{className:d(i==null?void 0:i.textSecondary,i==null?void 0:i.mx2)},"\u2794"),n.createElement(m,{className:d(r==null?void 0:r.transactionCellMargin,r==null?void 0:r.transactionCellLink),page:(o=a.links.receiverShardLink)!=null?o:"","data-testid":"shardToLink"},n.createElement(p,{shard:a.receiverShard,"data-testid":"receiverShard"})))},w=T(x,{ssrStyles:()=>import("../UI/TransactionsTable/components/transactionsTable.styles.js"),clientStyles:()=>(f(),k(e)).default});export{w as a};
2
+ //# sourceMappingURL=chunk-Z6U5BRLC.js.map
@@ -1,2 +1,2 @@
1
- import{c as x,d as D}from"./chunk-IOI4ORQ6.js";import{a as p}from"./chunk-Y6NA6SOG.js";import{a as s}from"./chunk-WAH54MS7.js";import{a as c,b as E}from"./chunk-ZE53XXBC.js";import{a as N,b as a}from"./chunk-56HW42GX.js";import{c as A}from"./chunk-LVCWBXY5.js";import{a as m,b as t,i as d,m as f}from"./chunk-HBP5N4FR.js";f();import r from"react";A();E();a();var F=({token:o,noValue:u,showLastNonZeroDecimal:e,globalStyles:n,styles:T})=>{if(["MetaESDT".toString(),"SemiFungibleESDT","NonFungibleESDT"].includes(o.type))switch(o.type){case"SemiFungibleESDT":{let i=c({token:o,showLastNonZeroDecimal:e});return r.createElement("div",{className:T==null?void 0:T.group},r.createElement("span",{className:n==null?void 0:n.mr1},"SFT quantity"),r.createElement(p.Nft,t(m({},i),{badgeText:null})),r.createElement("span",{className:n==null?void 0:n.mr1},"of collection"),r.createElement(p.Collection,{token:o}))}case"NonFungibleESDT":{let i=c({token:o,noValue:u,showLastNonZeroDecimal:e});return r.createElement("div",{className:T==null?void 0:T.group},r.createElement("span",{className:n==null?void 0:n.mr1},"NFT"),r.createElement(p.Nft,t(m({},i),{badgeText:null})),r.createElement("span",{className:n==null?void 0:n.mr1},"of collection"),r.createElement(p.Collection,{token:o}))}case"MetaESDT":{let i=c({token:o,noValue:u,showLastNonZeroDecimal:e});return r.createElement(p.Nft,t(m({},i),{badgeText:null}))}default:return null}else{let i=N({token:o,noValue:u,showLastNonZeroDecimal:e});return r.createElement(p.Token,t(m({},i),{showLastNonZeroDecimal:!0}))}},z=s(F,{ssrStyles:()=>import("../UI/TransactionInfo/components/TransactionAction/components/styles.js"),clientStyles:()=>(D(),d(x)).default});export{z as a};
2
- //# sourceMappingURL=chunk-DTP4ASYW.js.map
1
+ import{c as x,d as D}from"./chunk-IOI4ORQ6.js";import{a as p}from"./chunk-R4S4TBUT.js";import{a as s}from"./chunk-WAH54MS7.js";import{a as c,b as E}from"./chunk-ZE53XXBC.js";import{a as N,b as a}from"./chunk-56HW42GX.js";import{c as A}from"./chunk-LVCWBXY5.js";import{a as m,b as t,i as d,m as f}from"./chunk-HBP5N4FR.js";f();import r from"react";A();E();a();var F=({token:o,noValue:u,showLastNonZeroDecimal:e,globalStyles:n,styles:T})=>{if(["MetaESDT".toString(),"SemiFungibleESDT","NonFungibleESDT"].includes(o.type))switch(o.type){case"SemiFungibleESDT":{let i=c({token:o,showLastNonZeroDecimal:e});return r.createElement("div",{className:T==null?void 0:T.group},r.createElement("span",{className:n==null?void 0:n.mr1},"SFT quantity"),r.createElement(p.Nft,t(m({},i),{badgeText:null})),r.createElement("span",{className:n==null?void 0:n.mr1},"of collection"),r.createElement(p.Collection,{token:o}))}case"NonFungibleESDT":{let i=c({token:o,noValue:u,showLastNonZeroDecimal:e});return r.createElement("div",{className:T==null?void 0:T.group},r.createElement("span",{className:n==null?void 0:n.mr1},"NFT"),r.createElement(p.Nft,t(m({},i),{badgeText:null})),r.createElement("span",{className:n==null?void 0:n.mr1},"of collection"),r.createElement(p.Collection,{token:o}))}case"MetaESDT":{let i=c({token:o,noValue:u,showLastNonZeroDecimal:e});return r.createElement(p.Nft,t(m({},i),{badgeText:null}))}default:return null}else{let i=N({token:o,noValue:u,showLastNonZeroDecimal:e});return r.createElement(p.Token,t(m({},i),{showLastNonZeroDecimal:!0}))}},z=s(F,{ssrStyles:()=>import("../UI/TransactionInfo/components/TransactionAction/components/styles.js"),clientStyles:()=>(D(),d(x)).default});export{z as a};
2
+ //# sourceMappingURL=chunk-ZAYW47TS.js.map
@@ -1,2 +1,2 @@
1
- import{a as we}from"./chunk-KVS3JOT4.js";import{a as qe}from"./chunk-F2SG4TKT.js";import{a as Te}from"./chunk-UVVIOPM7.js";import{a as Ie}from"./chunk-R4H4KV5Z.js";import{a as Ce}from"./chunk-I2YCVINV.js";import{a as be}from"./chunk-Y3PL7HDR.js";import{a as Se}from"./chunk-35YX2WD6.js";import{a as xe}from"./chunk-WLQGSC3V.js";import{a as _e}from"./chunk-KCWFTOJ2.js";import{a as J,b as Ot}from"./chunk-V23YHW7Z.js";import{b as ve}from"./chunk-UKITMGU5.js";import{c as ge,d as K}from"./chunk-S4WC5U6P.js";import{a as me,b as Pt}from"./chunk-GOUDOYWQ.js";import{i as fe,q as At}from"./chunk-UZDAXWKH.js";import{a as pe,b as yt}from"./chunk-VPUSNB5I.js";import{a as he,b as wt}from"./chunk-JTYAXPCS.js";import{a as de,c as Nt}from"./chunk-EBPDXFTY.js";import{k as le}from"./chunk-FWO3MI5K.js";import{a as bt}from"./chunk-A4KPR7JI.js";import{h as oe}from"./chunk-JWM347Y4.js";import{e as ce,j as ue,k as j}from"./chunk-GZBGMN6S.js";import{m as ie,w as It}from"./chunk-BO4I7TU7.js";import{a as te,c as O,d as ne,e as ae,f as se,i as $}from"./chunk-7YHU2LQD.js";import{a as k,b as Et}from"./chunk-OWBHRN3S.js";import{r as Tt}from"./chunk-WEUI2Z4N.js";import{f as a,h as Ct,j as V,m as r}from"./chunk-HBP5N4FR.js";var Ee=a((ts,ye)=>{r();var Dt=Ot(),Mt=Se(),Rt="[object AsyncFunction]",Gt="[object Function]",Ht="[object GeneratorFunction]",Ft="[object Proxy]";function Wt(e){if(!Mt(e))return!1;var t=Dt(e);return t==Gt||t==Ht||t==Rt||t==Ft}ye.exports=Wt});var Ae=a((ns,Ne)=>{r();var jt=J(),zt=jt["__core-js_shared__"];Ne.exports=zt});var De=a((as,Pe)=>{r();var Y=Ae(),Oe=function(){var e=/[^.]+$/.exec(Y&&Y.keys&&Y.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function Ut(e){return!!Oe&&Oe in e}Pe.exports=Ut});var Re=a((ss,Me)=>{r();var Lt=Function.prototype,Vt=Lt.toString;function $t(e){if(e!=null){try{return Vt.call(e)}catch(t){}try{return e+""}catch(t){}}return""}Me.exports=$t});var He=a((is,Ge)=>{r();var kt=Ee(),Kt=De(),Jt=Se(),Yt=Re(),Zt=/[\\^$.*+?()[\]{}|]/g,Bt=/^\[object .+?Constructor\]$/,Xt=Function.prototype,Qt=Object.prototype,en=Xt.toString,rn=Qt.hasOwnProperty,tn=RegExp("^"+en.call(rn).replace(Zt,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function nn(e){if(!Jt(e)||Kt(e))return!1;var t=kt(e)?tn:Bt;return t.test(Yt(e))}Ge.exports=nn});var We=a((os,Fe)=>{r();function an(e,t){return e==null?void 0:e[t]}Fe.exports=an});var z=a((cs,je)=>{r();var sn=He(),on=We();function cn(e,t){var n=on(e,t);return sn(n)?n:void 0}je.exports=cn});var P=a((us,ze)=>{r();var un=z(),ln=un(Object,"create");ze.exports=ln});var Ve=a((ls,Le)=>{r();var Ue=P();function hn(){this.__data__=Ue?Ue(null):{},this.size=0}Le.exports=hn});var ke=a((hs,$e)=>{r();function pn(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}$e.exports=pn});var Je=a((ps,Ke)=>{r();var dn=P(),fn="__lodash_hash_undefined__",gn=Object.prototype,_n=gn.hasOwnProperty;function vn(e){var t=this.__data__;if(dn){var n=t[e];return n===fn?void 0:n}return _n.call(t,e)?t[e]:void 0}Ke.exports=vn});var Ze=a((ds,Ye)=>{r();var xn=P(),Sn=Object.prototype,mn=Sn.hasOwnProperty;function qn(e){var t=this.__data__;return xn?t[e]!==void 0:mn.call(t,e)}Ye.exports=qn});var Xe=a((fs,Be)=>{r();var Cn=P(),Tn="__lodash_hash_undefined__";function In(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=Cn&&t===void 0?Tn:t,this}Be.exports=In});var er=a((gs,Qe)=>{r();var bn=Ve(),wn=ke(),yn=Je(),En=Ze(),Nn=Xe();function w(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var c=e[t];this.set(c[0],c[1])}}w.prototype.clear=bn;w.prototype.delete=wn;w.prototype.get=yn;w.prototype.has=En;w.prototype.set=Nn;Qe.exports=w});var tr=a((_s,rr)=>{r();function An(){this.__data__=[],this.size=0}rr.exports=An});var ar=a((vs,nr)=>{r();function On(e,t){return e===t||e!==e&&t!==t}nr.exports=On});var D=a((xs,sr)=>{r();var Pn=ar();function Dn(e,t){for(var n=e.length;n--;)if(Pn(e[n][0],t))return n;return-1}sr.exports=Dn});var or=a((Ss,ir)=>{r();var Mn=D(),Rn=Array.prototype,Gn=Rn.splice;function Hn(e){var t=this.__data__,n=Mn(t,e);if(n<0)return!1;var c=t.length-1;return n==c?t.pop():Gn.call(t,n,1),--this.size,!0}ir.exports=Hn});var ur=a((ms,cr)=>{r();var Fn=D();function Wn(e){var t=this.__data__,n=Fn(t,e);return n<0?void 0:t[n][1]}cr.exports=Wn});var hr=a((qs,lr)=>{r();var jn=D();function zn(e){return jn(this.__data__,e)>-1}lr.exports=zn});var dr=a((Cs,pr)=>{r();var Un=D();function Ln(e,t){var n=this.__data__,c=Un(n,e);return c<0?(++this.size,n.push([e,t])):n[c][1]=t,this}pr.exports=Ln});var gr=a((Ts,fr)=>{r();var Vn=tr(),$n=or(),kn=ur(),Kn=hr(),Jn=dr();function y(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var c=e[t];this.set(c[0],c[1])}}y.prototype.clear=Vn;y.prototype.delete=$n;y.prototype.get=kn;y.prototype.has=Kn;y.prototype.set=Jn;fr.exports=y});var vr=a((Is,_r)=>{r();var Yn=z(),Zn=J(),Bn=Yn(Zn,"Map");_r.exports=Bn});var mr=a((bs,Sr)=>{r();var xr=er(),Xn=gr(),Qn=vr();function ea(){this.size=0,this.__data__={hash:new xr,map:new(Qn||Xn),string:new xr}}Sr.exports=ea});var Cr=a((ws,qr)=>{r();function ra(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}qr.exports=ra});var M=a((ys,Tr)=>{r();var ta=Cr();function na(e,t){var n=e.__data__;return ta(t)?n[typeof t=="string"?"string":"hash"]:n.map}Tr.exports=na});var br=a((Es,Ir)=>{r();var aa=M();function sa(e){var t=aa(this,e).delete(e);return this.size-=t?1:0,t}Ir.exports=sa});var yr=a((Ns,wr)=>{r();var ia=M();function oa(e){return ia(this,e).get(e)}wr.exports=oa});var Nr=a((As,Er)=>{r();var ca=M();function ua(e){return ca(this,e).has(e)}Er.exports=ua});var Or=a((Os,Ar)=>{r();var la=M();function ha(e,t){var n=la(this,e),c=n.size;return n.set(e,t),this.size+=n.size==c?0:1,this}Ar.exports=ha});var Dr=a((Ps,Pr)=>{r();var pa=mr(),da=br(),fa=yr(),ga=Nr(),_a=Or();function E(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var c=e[t];this.set(c[0],c[1])}}E.prototype.clear=pa;E.prototype.delete=da;E.prototype.get=fa;E.prototype.has=ga;E.prototype.set=_a;Pr.exports=E});var Rr=a((Ds,Mr)=>{r();var va="__lodash_hash_undefined__";function xa(e){return this.__data__.set(e,va),this}Mr.exports=xa});var Hr=a((Ms,Gr)=>{r();function Sa(e){return this.__data__.has(e)}Gr.exports=Sa});var Wr=a((Rs,Fr)=>{r();var ma=Dr(),qa=Rr(),Ca=Hr();function U(e){var t=-1,n=e==null?0:e.length;for(this.__data__=new ma;++t<n;)this.add(e[t])}U.prototype.add=U.prototype.push=qa;U.prototype.has=Ca;Fr.exports=U});var zr=a((Gs,jr)=>{r();function Ta(e,t,n,c){for(var g=e.length,d=n+(c?1:-1);c?d--:++d<g;)if(t(e[d],d,e))return d;return-1}jr.exports=Ta});var Lr=a((Hs,Ur)=>{r();function Ia(e){return e!==e}Ur.exports=Ia});var $r=a((Fs,Vr)=>{r();function ba(e,t,n){for(var c=n-1,g=e.length;++c<g;)if(e[c]===t)return c;return-1}Vr.exports=ba});var Kr=a((Ws,kr)=>{r();var wa=zr(),ya=Lr(),Ea=$r();function Na(e,t,n){return t===t?Ea(e,t,n):wa(e,ya,n)}kr.exports=Na});var Yr=a((js,Jr)=>{r();var Aa=Kr();function Oa(e,t){var n=e==null?0:e.length;return!!n&&Aa(e,t,0)>-1}Jr.exports=Oa});var Br=a((zs,Zr)=>{r();function Pa(e,t,n){for(var c=-1,g=e==null?0:e.length;++c<g;)if(n(t,e[c]))return!0;return!1}Zr.exports=Pa});var Qr=a((Us,Xr)=>{r();function Da(e,t){return e.has(t)}Xr.exports=Da});var rt=a((Ls,et)=>{r();var Ma=z(),Ra=J(),Ga=Ma(Ra,"Set");et.exports=Ga});var nt=a((Vs,tt)=>{r();function Ha(){}tt.exports=Ha});var Z=a(($s,at)=>{r();function Fa(e){var t=-1,n=Array(e.size);return e.forEach(function(c){n[++t]=c}),n}at.exports=Fa});var it=a((ks,st)=>{r();var B=rt(),Wa=nt(),ja=Z(),za=1/0,Ua=B&&1/ja(new B([,-0]))[1]==za?function(e){return new B(e)}:Wa;st.exports=Ua});var ct=a((Ks,ot)=>{r();var La=Wr(),Va=Yr(),$a=Br(),ka=Qr(),Ka=it(),Ja=Z(),Ya=200;function Za(e,t,n){var c=-1,g=Va,d=e.length,N=!0,m=[],x=m;if(n)N=!1,g=$a;else if(d>=Ya){var R=t?null:Ka(e);if(R)return Ja(R);N=!1,g=ka,x=new La}else x=t?[]:m;e:for(;++c<d;){var u=e[c],C=t?t(u):u;if(u=n||u!==0?u:0,N&&C===C){for(var G=x.length;G--;)if(x[G]===C)continue e;t&&x.push(C),m.push(u)}else g(x,C,n)||(x!==m&&x.push(C),m.push(u))}return m}ot.exports=Za});var lt=a((Js,ut)=>{r();var Ba=ct();function Xa(e){return e&&e.length?Ba(e):[]}ut.exports=Xa});r();var ft=Ct(lt());It();import{useEffect as Qa,useRef as ht}from"react";import{TransactionOptions as es,TransactionVersion as rs}from"@multiversx/sdk-core";import{ExtensionProvider as pt}from"@multiversx/sdk-extension-provider";import{CrossWindowProvider as dt}from"@multiversx/sdk-web-wallet-cross-window-provider";At();bt();Tt();Pt();wt();yt();Nt();Et();var Si=()=>{let e=ge(),t=ht("/"),{provider:n}=xe(),c=K(le),g=ve(n),d=ht(!1),N=Ie(),{isGuarded:m,address:x}=_e(),R=K(fe),{transactionsToSign:u,error:C,setError:G,hasTransactions:L,onAbort:X,clearTransactionStatusMessage:Q}=we();qe(X);function gt(h){var p,q,S,l;let _=n instanceof pt,v=n instanceof dt;e(ce()),e(oe(h)),d.current=!1,!(!_&&!v)&&(Q(),_&&((q=(p=pt.getInstance())==null?void 0:p.cancelAction)==null||q.call(p)),v&&((l=(S=dt.getInstance())==null?void 0:S.cancelAction)==null||l.call(S)))}let H=(h,_)=>{g==="walletconnectv2"&&(h=O);let p=h.includes(O);if(gt(_),p){e(ue(O));return}G(h)},_t=(h,_,v="")=>{let p={[ie]:_},q=v;if(window!=null&&window.location){let{search:l,origin:b}=k(),T=new URLSearchParams(l);q=`${b}${v}`,T.forEach((F,W)=>{p[W]=F})}let S=he({callbackUrl:q,urlParams:p});n.signTransactions(h,{callbackUrl:encodeURIComponent(S)})},vt=()=>V(void 0,null,function*(){var W,ee;if(d.current||!u)return;let{sessionId:h,transactions:_,callbackRoute:v,customTransactionInformation:p}=u,{redirectAfterSign:q}=p,S=de(),l=v||S,b=S.includes(l),T=q&&!b;try{if(!(yield(W=n==null?void 0:n.init)==null?void 0:W.call(n)))return}catch(f){let I=(f==null?void 0:f.message)||f||ae;console.error(I),H(I);return}let F=!p.skipGuardian;try{d.current=!0;let f=(ee=yield n.signTransactions(m&&F?_.map(A=>(A.setVersion(rs.withTxOptions()),A.setOptions(es.withOptions({guarded:!0})),A)):_))!=null?ee:[];if(d.current=!1,!Te(f))return;let St=Object.values(f).map(A=>pe(A)),{needs2FaSigning:mt,sendTransactionsToGuardian:qt}=be({transactions:f,sessionId:h,callbackRoute:v,isGuarded:m&&F,walletAddress:c});if(mt)return qt();let re={sessionId:h,transactions:St,status:"signed"};T&&(re.redirectRoute=l),e(j(re))}catch(f){d.current=!1;let I=(f==null?void 0:f.message)||f||ne;console.error(I),e(j({sessionId:h,status:"cancelled"})),H(I.includes("cancel")?O:I,h)}}),xt=()=>V(void 0,null,function*(){if(!u)return;Q();let{sessionId:h,transactions:_,callbackRoute:v}=u;if(!n){console.error(se);return}let p=(0,ft.default)(_.map(l=>l.getSender().toString()).filter(l=>l));if(p.length>1)throw new Error("Multiple senders are not allowed");let q=p.length?yield me(p[0]):null;if(!Ce(q,x))return console.error($),H($);t.current=v||k().pathname;try{let l=g==="wallet",b=yield N(_);if(l)return _t(b,h,v);vt()}catch(l){let T=(l==null?void 0:l.message)||te;console.error(T),H(T,h),e(j({sessionId:h,status:"cancelled"})),console.error(T,l)}});return Qa(()=>{L?xt():d.current=!1},[u,L]),{error:C,canceledTransactionsMessage:R,onAbort:X,hasTransactions:L,callbackRoute:t.current,sessionId:u==null?void 0:u.sessionId,transactions:u==null?void 0:u.transactions}};export{Si as a};
2
- //# sourceMappingURL=chunk-CUTE6GKQ.js.map
1
+ import{a as we}from"./chunk-ESPRTERU.js";import{a as qe}from"./chunk-PVTJPUGG.js";import{a as Te}from"./chunk-7E5AUKE5.js";import{a as Ie}from"./chunk-JTXMJOIW.js";import{a as Ce}from"./chunk-I2YCVINV.js";import{a as be}from"./chunk-2O2HSWC4.js";import{a as Se}from"./chunk-35YX2WD6.js";import{a as xe}from"./chunk-WLQGSC3V.js";import{a as _e}from"./chunk-TJJGHFKS.js";import{a as J,b as Ot}from"./chunk-V23YHW7Z.js";import{b as ve}from"./chunk-UKITMGU5.js";import{c as ge,d as K}from"./chunk-S4WC5U6P.js";import{a as me,b as Pt}from"./chunk-ODWKYGSR.js";import{i as fe,q as At}from"./chunk-YU6OFUSW.js";import{a as pe,b as yt}from"./chunk-VPUSNB5I.js";import{a as he,b as wt}from"./chunk-NYRARHM3.js";import{a as de,c as Nt}from"./chunk-EBPDXFTY.js";import{k as le}from"./chunk-FWO3MI5K.js";import{a as bt}from"./chunk-A4KPR7JI.js";import{h as oe}from"./chunk-JWM347Y4.js";import{e as ce,j as ue,k as j}from"./chunk-GZBGMN6S.js";import{m as ie,w as It}from"./chunk-BO4I7TU7.js";import{a as te,c as O,d as ne,e as ae,f as se,i as $}from"./chunk-7YHU2LQD.js";import{a as k,b as Et}from"./chunk-OWBHRN3S.js";import{r as Tt}from"./chunk-WEUI2Z4N.js";import{f as a,h as Ct,j as V,m as r}from"./chunk-HBP5N4FR.js";var Ee=a((ts,ye)=>{r();var Dt=Ot(),Mt=Se(),Rt="[object AsyncFunction]",Gt="[object Function]",Ht="[object GeneratorFunction]",Ft="[object Proxy]";function Wt(e){if(!Mt(e))return!1;var t=Dt(e);return t==Gt||t==Ht||t==Rt||t==Ft}ye.exports=Wt});var Ae=a((ns,Ne)=>{r();var jt=J(),zt=jt["__core-js_shared__"];Ne.exports=zt});var De=a((as,Pe)=>{r();var Y=Ae(),Oe=function(){var e=/[^.]+$/.exec(Y&&Y.keys&&Y.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function Ut(e){return!!Oe&&Oe in e}Pe.exports=Ut});var Re=a((ss,Me)=>{r();var Lt=Function.prototype,Vt=Lt.toString;function $t(e){if(e!=null){try{return Vt.call(e)}catch(t){}try{return e+""}catch(t){}}return""}Me.exports=$t});var He=a((is,Ge)=>{r();var kt=Ee(),Kt=De(),Jt=Se(),Yt=Re(),Zt=/[\\^$.*+?()[\]{}|]/g,Bt=/^\[object .+?Constructor\]$/,Xt=Function.prototype,Qt=Object.prototype,en=Xt.toString,rn=Qt.hasOwnProperty,tn=RegExp("^"+en.call(rn).replace(Zt,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function nn(e){if(!Jt(e)||Kt(e))return!1;var t=kt(e)?tn:Bt;return t.test(Yt(e))}Ge.exports=nn});var We=a((os,Fe)=>{r();function an(e,t){return e==null?void 0:e[t]}Fe.exports=an});var z=a((cs,je)=>{r();var sn=He(),on=We();function cn(e,t){var n=on(e,t);return sn(n)?n:void 0}je.exports=cn});var P=a((us,ze)=>{r();var un=z(),ln=un(Object,"create");ze.exports=ln});var Ve=a((ls,Le)=>{r();var Ue=P();function hn(){this.__data__=Ue?Ue(null):{},this.size=0}Le.exports=hn});var ke=a((hs,$e)=>{r();function pn(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}$e.exports=pn});var Je=a((ps,Ke)=>{r();var dn=P(),fn="__lodash_hash_undefined__",gn=Object.prototype,_n=gn.hasOwnProperty;function vn(e){var t=this.__data__;if(dn){var n=t[e];return n===fn?void 0:n}return _n.call(t,e)?t[e]:void 0}Ke.exports=vn});var Ze=a((ds,Ye)=>{r();var xn=P(),Sn=Object.prototype,mn=Sn.hasOwnProperty;function qn(e){var t=this.__data__;return xn?t[e]!==void 0:mn.call(t,e)}Ye.exports=qn});var Xe=a((fs,Be)=>{r();var Cn=P(),Tn="__lodash_hash_undefined__";function In(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=Cn&&t===void 0?Tn:t,this}Be.exports=In});var er=a((gs,Qe)=>{r();var bn=Ve(),wn=ke(),yn=Je(),En=Ze(),Nn=Xe();function w(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var c=e[t];this.set(c[0],c[1])}}w.prototype.clear=bn;w.prototype.delete=wn;w.prototype.get=yn;w.prototype.has=En;w.prototype.set=Nn;Qe.exports=w});var tr=a((_s,rr)=>{r();function An(){this.__data__=[],this.size=0}rr.exports=An});var ar=a((vs,nr)=>{r();function On(e,t){return e===t||e!==e&&t!==t}nr.exports=On});var D=a((xs,sr)=>{r();var Pn=ar();function Dn(e,t){for(var n=e.length;n--;)if(Pn(e[n][0],t))return n;return-1}sr.exports=Dn});var or=a((Ss,ir)=>{r();var Mn=D(),Rn=Array.prototype,Gn=Rn.splice;function Hn(e){var t=this.__data__,n=Mn(t,e);if(n<0)return!1;var c=t.length-1;return n==c?t.pop():Gn.call(t,n,1),--this.size,!0}ir.exports=Hn});var ur=a((ms,cr)=>{r();var Fn=D();function Wn(e){var t=this.__data__,n=Fn(t,e);return n<0?void 0:t[n][1]}cr.exports=Wn});var hr=a((qs,lr)=>{r();var jn=D();function zn(e){return jn(this.__data__,e)>-1}lr.exports=zn});var dr=a((Cs,pr)=>{r();var Un=D();function Ln(e,t){var n=this.__data__,c=Un(n,e);return c<0?(++this.size,n.push([e,t])):n[c][1]=t,this}pr.exports=Ln});var gr=a((Ts,fr)=>{r();var Vn=tr(),$n=or(),kn=ur(),Kn=hr(),Jn=dr();function y(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var c=e[t];this.set(c[0],c[1])}}y.prototype.clear=Vn;y.prototype.delete=$n;y.prototype.get=kn;y.prototype.has=Kn;y.prototype.set=Jn;fr.exports=y});var vr=a((Is,_r)=>{r();var Yn=z(),Zn=J(),Bn=Yn(Zn,"Map");_r.exports=Bn});var mr=a((bs,Sr)=>{r();var xr=er(),Xn=gr(),Qn=vr();function ea(){this.size=0,this.__data__={hash:new xr,map:new(Qn||Xn),string:new xr}}Sr.exports=ea});var Cr=a((ws,qr)=>{r();function ra(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}qr.exports=ra});var M=a((ys,Tr)=>{r();var ta=Cr();function na(e,t){var n=e.__data__;return ta(t)?n[typeof t=="string"?"string":"hash"]:n.map}Tr.exports=na});var br=a((Es,Ir)=>{r();var aa=M();function sa(e){var t=aa(this,e).delete(e);return this.size-=t?1:0,t}Ir.exports=sa});var yr=a((Ns,wr)=>{r();var ia=M();function oa(e){return ia(this,e).get(e)}wr.exports=oa});var Nr=a((As,Er)=>{r();var ca=M();function ua(e){return ca(this,e).has(e)}Er.exports=ua});var Or=a((Os,Ar)=>{r();var la=M();function ha(e,t){var n=la(this,e),c=n.size;return n.set(e,t),this.size+=n.size==c?0:1,this}Ar.exports=ha});var Dr=a((Ps,Pr)=>{r();var pa=mr(),da=br(),fa=yr(),ga=Nr(),_a=Or();function E(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var c=e[t];this.set(c[0],c[1])}}E.prototype.clear=pa;E.prototype.delete=da;E.prototype.get=fa;E.prototype.has=ga;E.prototype.set=_a;Pr.exports=E});var Rr=a((Ds,Mr)=>{r();var va="__lodash_hash_undefined__";function xa(e){return this.__data__.set(e,va),this}Mr.exports=xa});var Hr=a((Ms,Gr)=>{r();function Sa(e){return this.__data__.has(e)}Gr.exports=Sa});var Wr=a((Rs,Fr)=>{r();var ma=Dr(),qa=Rr(),Ca=Hr();function U(e){var t=-1,n=e==null?0:e.length;for(this.__data__=new ma;++t<n;)this.add(e[t])}U.prototype.add=U.prototype.push=qa;U.prototype.has=Ca;Fr.exports=U});var zr=a((Gs,jr)=>{r();function Ta(e,t,n,c){for(var g=e.length,d=n+(c?1:-1);c?d--:++d<g;)if(t(e[d],d,e))return d;return-1}jr.exports=Ta});var Lr=a((Hs,Ur)=>{r();function Ia(e){return e!==e}Ur.exports=Ia});var $r=a((Fs,Vr)=>{r();function ba(e,t,n){for(var c=n-1,g=e.length;++c<g;)if(e[c]===t)return c;return-1}Vr.exports=ba});var Kr=a((Ws,kr)=>{r();var wa=zr(),ya=Lr(),Ea=$r();function Na(e,t,n){return t===t?Ea(e,t,n):wa(e,ya,n)}kr.exports=Na});var Yr=a((js,Jr)=>{r();var Aa=Kr();function Oa(e,t){var n=e==null?0:e.length;return!!n&&Aa(e,t,0)>-1}Jr.exports=Oa});var Br=a((zs,Zr)=>{r();function Pa(e,t,n){for(var c=-1,g=e==null?0:e.length;++c<g;)if(n(t,e[c]))return!0;return!1}Zr.exports=Pa});var Qr=a((Us,Xr)=>{r();function Da(e,t){return e.has(t)}Xr.exports=Da});var rt=a((Ls,et)=>{r();var Ma=z(),Ra=J(),Ga=Ma(Ra,"Set");et.exports=Ga});var nt=a((Vs,tt)=>{r();function Ha(){}tt.exports=Ha});var Z=a(($s,at)=>{r();function Fa(e){var t=-1,n=Array(e.size);return e.forEach(function(c){n[++t]=c}),n}at.exports=Fa});var it=a((ks,st)=>{r();var B=rt(),Wa=nt(),ja=Z(),za=1/0,Ua=B&&1/ja(new B([,-0]))[1]==za?function(e){return new B(e)}:Wa;st.exports=Ua});var ct=a((Ks,ot)=>{r();var La=Wr(),Va=Yr(),$a=Br(),ka=Qr(),Ka=it(),Ja=Z(),Ya=200;function Za(e,t,n){var c=-1,g=Va,d=e.length,N=!0,m=[],x=m;if(n)N=!1,g=$a;else if(d>=Ya){var R=t?null:Ka(e);if(R)return Ja(R);N=!1,g=ka,x=new La}else x=t?[]:m;e:for(;++c<d;){var u=e[c],C=t?t(u):u;if(u=n||u!==0?u:0,N&&C===C){for(var G=x.length;G--;)if(x[G]===C)continue e;t&&x.push(C),m.push(u)}else g(x,C,n)||(x!==m&&x.push(C),m.push(u))}return m}ot.exports=Za});var lt=a((Js,ut)=>{r();var Ba=ct();function Xa(e){return e&&e.length?Ba(e):[]}ut.exports=Xa});r();var ft=Ct(lt());It();import{useEffect as Qa,useRef as ht}from"react";import{TransactionOptions as es,TransactionVersion as rs}from"@multiversx/sdk-core";import{ExtensionProvider as pt}from"@multiversx/sdk-extension-provider";import{CrossWindowProvider as dt}from"@multiversx/sdk-web-wallet-cross-window-provider";At();bt();Tt();Pt();wt();yt();Nt();Et();var Si=()=>{let e=ge(),t=ht("/"),{provider:n}=xe(),c=K(le),g=ve(n),d=ht(!1),N=Ie(),{isGuarded:m,address:x}=_e(),R=K(fe),{transactionsToSign:u,error:C,setError:G,hasTransactions:L,onAbort:X,clearTransactionStatusMessage:Q}=we();qe(X);function gt(h){var p,q,S,l;let _=n instanceof pt,v=n instanceof dt;e(ce()),e(oe(h)),d.current=!1,!(!_&&!v)&&(Q(),_&&((q=(p=pt.getInstance())==null?void 0:p.cancelAction)==null||q.call(p)),v&&((l=(S=dt.getInstance())==null?void 0:S.cancelAction)==null||l.call(S)))}let H=(h,_)=>{g==="walletconnectv2"&&(h=O);let p=h.includes(O);if(gt(_),p){e(ue(O));return}G(h)},_t=(h,_,v="")=>{let p={[ie]:_},q=v;if(window!=null&&window.location){let{search:l,origin:b}=k(),T=new URLSearchParams(l);q=`${b}${v}`,T.forEach((F,W)=>{p[W]=F})}let S=he({callbackUrl:q,urlParams:p});n.signTransactions(h,{callbackUrl:encodeURIComponent(S)})},vt=()=>V(void 0,null,function*(){var W,ee;if(d.current||!u)return;let{sessionId:h,transactions:_,callbackRoute:v,customTransactionInformation:p}=u,{redirectAfterSign:q}=p,S=de(),l=v||S,b=S.includes(l),T=q&&!b;try{if(!(yield(W=n==null?void 0:n.init)==null?void 0:W.call(n)))return}catch(f){let I=(f==null?void 0:f.message)||f||ae;console.error(I),H(I);return}let F=!p.skipGuardian;try{d.current=!0;let f=(ee=yield n.signTransactions(m&&F?_.map(A=>(A.setVersion(rs.withTxOptions()),A.setOptions(es.withOptions({guarded:!0})),A)):_))!=null?ee:[];if(d.current=!1,!Te(f))return;let St=Object.values(f).map(A=>pe(A)),{needs2FaSigning:mt,sendTransactionsToGuardian:qt}=be({transactions:f,sessionId:h,callbackRoute:v,isGuarded:m&&F,walletAddress:c});if(mt)return qt();let re={sessionId:h,transactions:St,status:"signed"};T&&(re.redirectRoute=l),e(j(re))}catch(f){d.current=!1;let I=(f==null?void 0:f.message)||f||ne;console.error(I),e(j({sessionId:h,status:"cancelled"})),H(I.includes("cancel")?O:I,h)}}),xt=()=>V(void 0,null,function*(){if(!u)return;Q();let{sessionId:h,transactions:_,callbackRoute:v}=u;if(!n){console.error(se);return}let p=(0,ft.default)(_.map(l=>l.getSender().toString()).filter(l=>l));if(p.length>1)throw new Error("Multiple senders are not allowed");let q=p.length?yield me(p[0]):null;if(!Ce(q,x))return console.error($),H($);t.current=v||k().pathname;try{let l=g==="wallet",b=yield N(_);if(l)return _t(b,h,v);vt()}catch(l){let T=(l==null?void 0:l.message)||te;console.error(T),H(T,h),e(j({sessionId:h,status:"cancelled"})),console.error(T,l)}});return Qa(()=>{L?xt():d.current=!1},[u,L]),{error:C,canceledTransactionsMessage:R,onAbort:X,hasTransactions:L,callbackRoute:t.current,sessionId:u==null?void 0:u.sessionId,transactions:u==null?void 0:u.transactions}};export{Si as a};
2
+ //# sourceMappingURL=chunk-ZCI4OGRJ.js.map
@@ -1,2 +1,2 @@
1
- import{a as Y}from"./chunk-SLIVTINA.js";import{a as K}from"./chunk-TKNP2HZ7.js";import{a as Q}from"./chunk-DVQ3M275.js";import{a as q,d as J}from"./chunk-M72NGQGD.js";import{d as j}from"./chunk-UKITMGU5.js";import{c as B,d as V}from"./chunk-S4WC5U6P.js";import{q as ve}from"./chunk-UZDAXWKH.js";import{g as X}from"./chunk-K2OPPBXN.js";import{a as Ie}from"./chunk-A4KPR7JI.js";import{d as _}from"./chunk-IZU4L5ZT.js";import{a as we}from"./chunk-YXJVLN63.js";import{a as $}from"./chunk-J42ZO72F.js";import{a as T}from"./chunk-HIMYYDUZ.js";import{g as v,h as U}from"./chunk-XTMENGRC.js";import{b as I,c as Ae}from"./chunk-24CUGG55.js";import{h as R,j as ye}from"./chunk-7YHU2LQD.js";import{r as he}from"./chunk-WEUI2Z4N.js";import{a as N,b as O,j as d,k as F,m as W}from"./chunk-HBP5N4FR.js";W();ye();import{useEffect as S,useState as Z}from"react";import{HWProvider as ee}from"@multiversx/sdk-hw-provider";Ae();ve();Ie();he();we();var u="Check if the MultiversX App is open on Ledger",Re=({callbackRoute:x,token:te,addressesPerPage:L,nativeAuth:P,onLoginRedirect:E})=>{let k=V(X),i=J(),c=B(),z=Q(),oe=P!=null,p=K(P),l=te,{accounts:s,setAccounts:ne,isLoading:ie,setIsLoading:r,setShowAddressList:m,showAddressList:h,startIndex:y,selectedAddress:a,onGoToPrevPage:re,onGoToNextPage:se,onSelectAddress:ae,error:A,setError:g,defaultAddressesPerPage:de}=Y(),ce=L!=null?L:de,[b,le]=Z(""),[C,ge]=Z(!1),H=({address:o,index:e,signature:t})=>{c(_({index:e,loginType:"ledger"})),t&&p.setTokenLoginInfo({signature:t,address:o}),c(I({address:o,loginMethod:"ledger"})),T({callbackRoute:x,onLoginRedirect:E,options:{address:o,signature:t}})},n=(o,e="")=>{var M;let{errorMessage:t,defaultErrorMessage:pe}=$(o),me=(M=t!=null?t:pe)!=null?M:u;g(`${me}.${e}`),r(!1),c(v(null))},f=()=>d(void 0,null,function*(){try{if(i instanceof ee&&i.isInitialized())return yield i.isConnected()}catch(o){n(o)}return!1}),D=()=>d(void 0,null,function*(){if(yield f()){g(""),r(!1);return}try{let e=new ee;(yield e.init())&&q(e),g(""),r(!1)}catch(e){n(e)}}),fe=()=>d(void 0,null,function*(){let o=yield f();if(!a||!o)return n(u);let{index:e}=a;if(oe&&!l&&(l=yield p.getNativeAuthLoginToken(),!l)){console.warn("Fetching block failed. Login cancelled.");return}if(l){p.setLoginToken(l);try{let t=yield i.tokenLogin({token:F.Buffer.from(`${l}{}`),addressIndex:e});H({address:t.address,index:e,signature:t.signature.toString("hex")})}catch(t){n(t,". Update MultiversX App to continue.")}}else try{let t=yield i.login({addressIndex:e});H({address:t,index:e})}catch(t){return n(t),!1}return!0}),ue=()=>d(void 0,null,function*(){try{if(r(!0),a==null)return!1;c(k?U(a):v(O(N({},a),{version:b,hasContractDataEnabled:C}))),r(!1),yield fe()}catch(o){n(o)}finally{r(!1)}return m(!1),!0}),G=()=>d(void 0,null,function*(){if(!(yield f()))return n(A);try{r(!0);let e=yield i.getAccounts(y,ce),t=yield j(i);le(t.version),ge(t.dataEnabled),ne(e),r(!1)}catch(e){n(e)}}),Le=()=>d(void 0,null,function*(){if(z)throw new Error(R);g("");try{if(r(!0),yield D(),!(yield f()))return n(u);if(k!=null){if(!a)return n(u);let e=yield i.login({addressIndex:a.index.valueOf()});if(!e)return n("Login cancelled.");c(I({address:e,loginMethod:"ledger"})),T({callbackRoute:x,onLoginRedirect:E})}else s!=null&&s.length||(yield G()),m(!0)}catch(o){n(o)}finally{r(!1)}});S(()=>{D()},[i]),S(()=>{G()},[y,h,i]),S(()=>{(s==null?void 0:s.length)>0&&!h&&m(!0)},[s]);let w=Boolean(A);return[Le,{loginFailed:w,isLoggedIn:z&&!w,error:A,isLoading:ie&&!w},{accounts:s,showAddressList:h,startIndex:y,selectedAddress:a,version:b,contractDataEnabled:C,onGoToPrevPage:re,onGoToNextPage:se,onSelectAddress:ae,onConfirmSelectedAddress:ue}]};export{Re as a};
2
- //# sourceMappingURL=chunk-FZFZHNUR.js.map
1
+ import{a as Y}from"./chunk-SLIVTINA.js";import{a as K}from"./chunk-IA652ZNM.js";import{a as Q}from"./chunk-NQY6KAS3.js";import{a as q,d as J}from"./chunk-M72NGQGD.js";import{d as j}from"./chunk-UKITMGU5.js";import{c as B,d as V}from"./chunk-S4WC5U6P.js";import{q as ve}from"./chunk-YU6OFUSW.js";import{g as X}from"./chunk-K2OPPBXN.js";import{a as Ie}from"./chunk-A4KPR7JI.js";import{d as _}from"./chunk-IZU4L5ZT.js";import{a as we}from"./chunk-YXJVLN63.js";import{a as $}from"./chunk-J42ZO72F.js";import{a as T}from"./chunk-HIMYYDUZ.js";import{g as v,h as U}from"./chunk-XTMENGRC.js";import{b as I,c as Ae}from"./chunk-24CUGG55.js";import{h as R,j as ye}from"./chunk-7YHU2LQD.js";import{r as he}from"./chunk-WEUI2Z4N.js";import{a as N,b as O,j as d,k as F,m as W}from"./chunk-HBP5N4FR.js";W();ye();import{useEffect as S,useState as Z}from"react";import{HWProvider as ee}from"@multiversx/sdk-hw-provider";Ae();ve();Ie();he();we();var u="Check if the MultiversX App is open on Ledger",Re=({callbackRoute:x,token:te,addressesPerPage:L,nativeAuth:P,onLoginRedirect:E})=>{let k=V(X),i=J(),c=B(),z=Q(),oe=P!=null,p=K(P),l=te,{accounts:s,setAccounts:ne,isLoading:ie,setIsLoading:r,setShowAddressList:m,showAddressList:h,startIndex:y,selectedAddress:a,onGoToPrevPage:re,onGoToNextPage:se,onSelectAddress:ae,error:A,setError:g,defaultAddressesPerPage:de}=Y(),ce=L!=null?L:de,[b,le]=Z(""),[C,ge]=Z(!1),H=({address:o,index:e,signature:t})=>{c(_({index:e,loginType:"ledger"})),t&&p.setTokenLoginInfo({signature:t,address:o}),c(I({address:o,loginMethod:"ledger"})),T({callbackRoute:x,onLoginRedirect:E,options:{address:o,signature:t}})},n=(o,e="")=>{var M;let{errorMessage:t,defaultErrorMessage:pe}=$(o),me=(M=t!=null?t:pe)!=null?M:u;g(`${me}.${e}`),r(!1),c(v(null))},f=()=>d(void 0,null,function*(){try{if(i instanceof ee&&i.isInitialized())return yield i.isConnected()}catch(o){n(o)}return!1}),D=()=>d(void 0,null,function*(){if(yield f()){g(""),r(!1);return}try{let e=new ee;(yield e.init())&&q(e),g(""),r(!1)}catch(e){n(e)}}),fe=()=>d(void 0,null,function*(){let o=yield f();if(!a||!o)return n(u);let{index:e}=a;if(oe&&!l&&(l=yield p.getNativeAuthLoginToken(),!l)){console.warn("Fetching block failed. Login cancelled.");return}if(l){p.setLoginToken(l);try{let t=yield i.tokenLogin({token:F.Buffer.from(`${l}{}`),addressIndex:e});H({address:t.address,index:e,signature:t.signature.toString("hex")})}catch(t){n(t,". Update MultiversX App to continue.")}}else try{let t=yield i.login({addressIndex:e});H({address:t,index:e})}catch(t){return n(t),!1}return!0}),ue=()=>d(void 0,null,function*(){try{if(r(!0),a==null)return!1;c(k?U(a):v(O(N({},a),{version:b,hasContractDataEnabled:C}))),r(!1),yield fe()}catch(o){n(o)}finally{r(!1)}return m(!1),!0}),G=()=>d(void 0,null,function*(){if(!(yield f()))return n(A);try{r(!0);let e=yield i.getAccounts(y,ce),t=yield j(i);le(t.version),ge(t.dataEnabled),ne(e),r(!1)}catch(e){n(e)}}),Le=()=>d(void 0,null,function*(){if(z)throw new Error(R);g("");try{if(r(!0),yield D(),!(yield f()))return n(u);if(k!=null){if(!a)return n(u);let e=yield i.login({addressIndex:a.index.valueOf()});if(!e)return n("Login cancelled.");c(I({address:e,loginMethod:"ledger"})),T({callbackRoute:x,onLoginRedirect:E})}else s!=null&&s.length||(yield G()),m(!0)}catch(o){n(o)}finally{r(!1)}});S(()=>{D()},[i]),S(()=>{G()},[y,h,i]),S(()=>{(s==null?void 0:s.length)>0&&!h&&m(!0)},[s]);let w=Boolean(A);return[Le,{loginFailed:w,isLoggedIn:z&&!w,error:A,isLoading:ie&&!w},{accounts:s,showAddressList:h,startIndex:y,selectedAddress:a,version:b,contractDataEnabled:C,onGoToPrevPage:re,onGoToNextPage:se,onSelectAddress:ae,onConfirmSelectedAddress:ue}]};export{Re as a};
2
+ //# sourceMappingURL=chunk-ZEDZAXHS.js.map
@@ -1,2 +1,2 @@
1
- import{a as p}from"./chunk-Z4SYYQ5I.js";import{a as T}from"./chunk-CUTE6GKQ.js";import{a as c}from"./chunk-S27JSVVP.js";import{a as e}from"./chunk-WLQGSC3V.js";import{a as r,m as i}from"./chunk-HBP5N4FR.js";i();import u from"react";var I=({Screen:n,verifyReceiverScam:m,className:l})=>{if(!n)return null;let{callbackRoute:S,transactions:f,error:g,sessionId:s,hasTransactions:y,onAbort:P,canceledTransactionsMessage:t}=T(),d=c(),{providerType:E}=e(),h=()=>{P(s)},o=g||d,C={handleClose:h,error:o,sessionId:s,transactions:f||[],providerType:E,callbackRoute:S,className:l,verifyReceiverScam:m},x={signError:o,canceledTransactionsMessage:t},a=Boolean(o)||Boolean(t);return!a&&!y?null:a?u.createElement(p,r({},x)):u.createElement(n,r({},C))};export{I as a};
2
- //# sourceMappingURL=chunk-MXSLQB2O.js.map
1
+ import{a as p}from"./chunk-L26WBHTM.js";import{a as T}from"./chunk-ZCI4OGRJ.js";import{a as c}from"./chunk-R3SJME7H.js";import{a as e}from"./chunk-WLQGSC3V.js";import{a as r,m as i}from"./chunk-HBP5N4FR.js";i();import u from"react";var I=({Screen:n,verifyReceiverScam:m,className:l})=>{if(!n)return null;let{callbackRoute:S,transactions:f,error:g,sessionId:s,hasTransactions:y,onAbort:P,canceledTransactionsMessage:t}=T(),d=c(),{providerType:E}=e(),h=()=>{P(s)},o=g||d,C={handleClose:h,error:o,sessionId:s,transactions:f||[],providerType:E,callbackRoute:S,className:l,verifyReceiverScam:m},x={signError:o,canceledTransactionsMessage:t},a=Boolean(o)||Boolean(t);return!a&&!y?null:a?u.createElement(p,r({},x)):u.createElement(n,r({},C))};export{I as a};
2
+ //# sourceMappingURL=chunk-ZHISLHL5.js.map
@@ -1,2 +1,2 @@
1
- import{a as T}from"./chunk-KSERZNV6.js";import{a as p}from"./chunk-7QU5MFOC.js";import{a as d}from"./chunk-R3YH6IL7.js";import{a as n}from"./chunk-N5K5JWQA.js";import{a as f}from"./chunk-WAH54MS7.js";import{m as h}from"./chunk-HBP5N4FR.js";h();import o from"react";import u from"classnames";var I=s=>{var e,m;return((e=s==null?void 0:s.logs)==null?void 0:e.events)&&((m=s.logs.events)==null?void 0:m.length)>0},w=({transaction:s,globalStyles:e})=>{var i;return s.results&&s.results.length>0?o.createElement("div",{className:e==null?void 0:e.row},(i=s.results)==null?void 0:i.map((r,t)=>{var v;return r.logs?o.createElement("div",{key:`tx-result-log-${t}`,className:u(e==null?void 0:e.col12,e==null?void 0:e.borderBottom)},o.createElement(T,{result:r}),r.logs.address!==void 0&&o.createElement(d,{address:r.logs.address}),I(r)&&o.createElement(n,{title:"Events"},o.createElement(p,{events:r.logs.events,id:(v=r.logs)==null?void 0:v.id}))):null})):null},g=f(w,{}),j=({transaction:s})=>{var m,i,r,t;let e=((m=s.logs)==null?void 0:m.events)&&((r=(i=s.logs)==null?void 0:i.events)==null?void 0:r.length)>0;return o.createElement(o.Fragment,null,s.logs&&o.createElement(o.Fragment,null,s.logs.address!=null&&o.createElement(d,{address:s.logs.address}),e&&o.createElement(n,{title:"Events"},o.createElement(p,{events:s.logs.events,id:(t=s.logs)==null?void 0:t.id}))),o.createElement(g,{transaction:s}))};export{j as a};
2
- //# sourceMappingURL=chunk-UWOPRIRK.js.map
1
+ import{a as T}from"./chunk-NONQBAJ6.js";import{a as p}from"./chunk-7QU5MFOC.js";import{a as d}from"./chunk-T77HZNI4.js";import{a as n}from"./chunk-N5K5JWQA.js";import{a as f}from"./chunk-WAH54MS7.js";import{m as h}from"./chunk-HBP5N4FR.js";h();import o from"react";import u from"classnames";var I=s=>{var e,m;return((e=s==null?void 0:s.logs)==null?void 0:e.events)&&((m=s.logs.events)==null?void 0:m.length)>0},w=({transaction:s,globalStyles:e})=>{var i;return s.results&&s.results.length>0?o.createElement("div",{className:e==null?void 0:e.row},(i=s.results)==null?void 0:i.map((r,t)=>{var v;return r.logs?o.createElement("div",{key:`tx-result-log-${t}`,className:u(e==null?void 0:e.col12,e==null?void 0:e.borderBottom)},o.createElement(T,{result:r}),r.logs.address!==void 0&&o.createElement(d,{address:r.logs.address}),I(r)&&o.createElement(n,{title:"Events"},o.createElement(p,{events:r.logs.events,id:(v=r.logs)==null?void 0:v.id}))):null})):null},g=f(w,{}),j=({transaction:s})=>{var m,i,r,t;let e=((m=s.logs)==null?void 0:m.events)&&((r=(i=s.logs)==null?void 0:i.events)==null?void 0:r.length)>0;return o.createElement(o.Fragment,null,s.logs&&o.createElement(o.Fragment,null,s.logs.address!=null&&o.createElement(d,{address:s.logs.address}),e&&o.createElement(n,{title:"Events"},o.createElement(p,{events:s.logs.events,id:(t=s.logs)==null?void 0:t.id}))),o.createElement(g,{transaction:s}))};export{j as a};
2
+ //# sourceMappingURL=chunk-ZHYKCOJ3.js.map
@@ -1,2 +1,2 @@
1
- import{a as g}from"./chunk-JRYFA46B.js";import{a as T}from"./chunk-D3VGFELJ.js";import{a as i}from"./chunk-ZFHQWQYC.js";import{d as n}from"./chunk-S4WC5U6P.js";import{q as v}from"./chunk-UZDAXWKH.js";import{a as f,i as d}from"./chunk-UH74TE5S.js";import{m as a}from"./chunk-HBP5N4FR.js";a();import{useEffect as x,useRef as E}from"react";import A from"bignumber.js";v();var w=()=>{let{address:t}=g(),{tokenLogin:e}=n(f),o=n(d),{isExpired:u,secondsUntilExpires:s,expiresAt:c}=T(e==null?void 0:e.nativeAuthToken),l=E(""),r=E();return x(()=>{t&&u&&i(o)},[u,t,o]),x(()=>{let m=new A(String(s)),p=`${t}_${c}`,N=l.current===p;if(!(s&&m.isGreaterThan(0))||N)return;l.current=p,clearTimeout(r.current);let S=m.times(1e3);return r.current=setTimeout(()=>{i(o)},S.toNumber()),()=>{clearTimeout(r.current)}},[c,t,o]),null};export{w as a};
2
- //# sourceMappingURL=chunk-MMABKX2W.js.map
1
+ import{a as g}from"./chunk-LY56AIIK.js";import{a as T}from"./chunk-D3VGFELJ.js";import{a as i}from"./chunk-VV2NRZPY.js";import{d as n}from"./chunk-S4WC5U6P.js";import{q as v}from"./chunk-YU6OFUSW.js";import{a as f,i as d}from"./chunk-UH74TE5S.js";import{m as a}from"./chunk-HBP5N4FR.js";a();import{useEffect as x,useRef as E}from"react";import A from"bignumber.js";v();var w=()=>{let{address:t}=g(),{tokenLogin:e}=n(f),o=n(d),{isExpired:u,secondsUntilExpires:s,expiresAt:c}=T(e==null?void 0:e.nativeAuthToken),l=E(""),r=E();return x(()=>{t&&u&&i(o)},[u,t,o]),x(()=>{let m=new A(String(s)),p=`${t}_${c}`,N=l.current===p;if(!(s&&m.isGreaterThan(0))||N)return;l.current=p,clearTimeout(r.current);let S=m.times(1e3);return r.current=setTimeout(()=>{i(o)},S.toNumber()),()=>{clearTimeout(r.current)}},[c,t,o]),null};export{w as a};
2
+ //# sourceMappingURL=chunk-ZNI7NHSH.js.map
@@ -1,2 +1,2 @@
1
- import{a as T}from"./chunk-OP55X3A3.js";import{q as g}from"./chunk-UZDAXWKH.js";import{b as p}from"./chunk-K2OPPBXN.js";import{a as n,d as m}from"./chunk-BQ5SL7X6.js";import{a as l}from"./chunk-A4KPR7JI.js";import{e}from"./chunk-45KS7MHU.js";import{e as s,f as d,g as r}from"./chunk-GZBGMN6S.js";import{d as a}from"./chunk-X5V7KMPK.js";import{m as c}from"./chunk-HBP5N4FR.js";c();g();l();m();function b(t){n.dispatch(r(t))}function h(t){var i;n.dispatch(r(t));let o=p(n.getState());n.dispatch(a({batchId:T({sessionId:t,address:(i=o==null?void 0:o.address)!=null?i:""})}))}function j(t){n.dispatch(e(t)),h(t)}function k(){n.dispatch(d())}function q(){n.dispatch(s())}function w(t){n.dispatch(a({batchId:t}))}export{b as a,h as b,j as c,k as d,q as e,w as f};
2
- //# sourceMappingURL=chunk-FG2PSXYJ.js.map
1
+ import{a as T}from"./chunk-OP55X3A3.js";import{q as g}from"./chunk-YU6OFUSW.js";import{b as p}from"./chunk-K2OPPBXN.js";import{a as n,d as m}from"./chunk-BQ5SL7X6.js";import{a as l}from"./chunk-A4KPR7JI.js";import{e}from"./chunk-45KS7MHU.js";import{e as s,f as d,g as r}from"./chunk-GZBGMN6S.js";import{d as a}from"./chunk-X5V7KMPK.js";import{m as c}from"./chunk-HBP5N4FR.js";c();g();l();m();function b(t){n.dispatch(r(t))}function h(t){var i;n.dispatch(r(t));let o=p(n.getState());n.dispatch(a({batchId:T({sessionId:t,address:(i=o==null?void 0:o.address)!=null?i:""})}))}function j(t){n.dispatch(e(t)),h(t)}function k(){n.dispatch(d())}function q(){n.dispatch(s())}function w(t){n.dispatch(a({batchId:t}))}export{b as a,h as b,j as c,k as d,q as e,w as f};
2
+ //# sourceMappingURL=chunk-ZPPSEOX4.js.map
@@ -1,2 +1,2 @@
1
- import{a as l}from"./chunk-QVT3VNNQ.js";import{a as T}from"./chunk-KCWFTOJ2.js";import{a as p}from"./chunk-MQKCVYJB.js";import{c as u}from"./chunk-S4WC5U6P.js";import{a as b}from"./chunk-A4KPR7JI.js";import{b as i}from"./chunk-GZBGMN6S.js";import{a as g}from"./chunk-D3WFE5YS.js";import{j as d,m as f}from"./chunk-HBP5N4FR.js";f();import{useCallback as m}from"react";b();g();function k(){let o=u(),{address:S}=T(),h=m(({sessionId:s,dropUnprocessedTransactions:a,serverTransactions:c,batchTransactions:r})=>{for(let t of r){let e=c.find(n=>n.txHash===t.hash);if(!e){a&&o(i({sessionId:s,status:"fail",transactionHash:t.hash}));continue}o(i({sessionId:s,status:e.status,transactionHash:t.hash}))}},[o]);return m(s=>d(this,null,function*(){if(!s)return;let{transactions:a,isBatchFailed:c,sessionId:r}=s;if(!a||a.length===0)return;if(c){for(let n of a)o(i({sessionId:r,status:"fail",transactionHash:n.hash}));return}let{data:t,success:e}=yield l(a.map(({hash:n})=>n).filter(n=>Boolean(n)));e&&t&&h({sessionId:r,dropUnprocessedTransactions:s.dropUnprocessedTransactions,serverTransactions:t,batchTransactions:a}),s.shouldRefreshBalance&&(yield p())}),[o,S,h])}export{k as a};
2
- //# sourceMappingURL=chunk-GQFESQFI.js.map
1
+ import{a as l}from"./chunk-XM2DG6IZ.js";import{a as T}from"./chunk-TJJGHFKS.js";import{a as p}from"./chunk-ITEW4PWU.js";import{c as u}from"./chunk-S4WC5U6P.js";import{a as b}from"./chunk-A4KPR7JI.js";import{b as i}from"./chunk-GZBGMN6S.js";import{a as g}from"./chunk-D3WFE5YS.js";import{j as d,m as f}from"./chunk-HBP5N4FR.js";f();import{useCallback as m}from"react";b();g();function k(){let o=u(),{address:S}=T(),h=m(({sessionId:s,dropUnprocessedTransactions:a,serverTransactions:c,batchTransactions:r})=>{for(let t of r){let e=c.find(n=>n.txHash===t.hash);if(!e){a&&o(i({sessionId:s,status:"fail",transactionHash:t.hash}));continue}o(i({sessionId:s,status:e.status,transactionHash:t.hash}))}},[o]);return m(s=>d(this,null,function*(){if(!s)return;let{transactions:a,isBatchFailed:c,sessionId:r}=s;if(!a||a.length===0)return;if(c){for(let n of a)o(i({sessionId:r,status:"fail",transactionHash:n.hash}));return}let{data:t,success:e}=yield l(a.map(({hash:n})=>n).filter(n=>Boolean(n)));e&&t&&h({sessionId:r,dropUnprocessedTransactions:s.dropUnprocessedTransactions,serverTransactions:t,batchTransactions:a}),s.shouldRefreshBalance&&(yield p())}),[o,S,h])}export{k as a};
2
+ //# sourceMappingURL=chunk-ZUNRFABJ.js.map
@@ -1,2 +1,2 @@
1
- import{a as s}from"./chunk-WSSSS443.js";import{a as e}from"./chunk-N5K5JWQA.js";import{a as o}from"./chunk-WAH54MS7.js";import{a as t,b as T}from"./chunk-EQSNZZK2.js";import{m}from"./chunk-HBP5N4FR.js";m();import i from"react";import f from"classnames";T();var a=({className:h,transaction:p,globalStyles:n})=>{let r=t(p);return r.length>0?i.createElement(e,{className:h,title:i.createElement(i.Fragment,null,i.createElement("span",{className:n==null?void 0:n.mr2},"Token Operations"),i.createElement("span",{className:f(n==null?void 0:n.badge,n==null?void 0:n.badgeSecondary,n==null?void 0:n.badgePill,n==null?void 0:n.fontWeightLight)},r.length))},i.createElement(s,{transaction:p,operations:r})):null},L=o(a,{});export{L as a};
2
- //# sourceMappingURL=chunk-6CGWVNSE.js.map
1
+ import{a as s}from"./chunk-4CZNLO4H.js";import{a as e}from"./chunk-N5K5JWQA.js";import{a as o}from"./chunk-WAH54MS7.js";import{a as t,b as T}from"./chunk-EQSNZZK2.js";import{m}from"./chunk-HBP5N4FR.js";m();import i from"react";import f from"classnames";T();var a=({className:h,transaction:p,globalStyles:n})=>{let r=t(p);return r.length>0?i.createElement(e,{className:h,title:i.createElement(i.Fragment,null,i.createElement("span",{className:n==null?void 0:n.mr2},"Token Operations"),i.createElement("span",{className:f(n==null?void 0:n.badge,n==null?void 0:n.badgeSecondary,n==null?void 0:n.badgePill,n==null?void 0:n.fontWeightLight)},r.length))},i.createElement(s,{transaction:p,operations:r})):null},L=o(a,{});export{L as a};
2
+ //# sourceMappingURL=chunk-ZWKUFSEM.js.map
@@ -1,2 +1,2 @@
1
- import{d as r}from"./chunk-S4WC5U6P.js";import{q as t}from"./chunk-UZDAXWKH.js";import{a as e}from"./chunk-FWO3MI5K.js";import{m as o}from"./chunk-HBP5N4FR.js";o();t();var p=()=>r(e);export{p as a};
2
- //# sourceMappingURL=chunk-E2C76BTP.js.map
1
+ import{d as r}from"./chunk-S4WC5U6P.js";import{q as t}from"./chunk-YU6OFUSW.js";import{a as e}from"./chunk-FWO3MI5K.js";import{m as o}from"./chunk-HBP5N4FR.js";o();t();var p=()=>r(e);export{p as a};
2
+ //# sourceMappingURL=chunk-ZX6ILUJN.js.map
@@ -1,2 +1,2 @@
1
- import{a as i}from"./chunk-OU66WCF6.js";import{a as s}from"./chunk-LZUF5S3O.js";import{a}from"./chunk-Q6A6MOOO.js";import{m as l}from"./chunk-HBP5N4FR.js";l();import o from"react";var F=({buttonClassName:r="dapp-wallet-connect-login-button",callbackRoute:d,children:p,className:u="dapp-wallet-connect-login",customSpinnerComponent:c,"data-testid":m,disabled:g,hideButtonWhenModalOpens:h=!1,innerWalletConnectComponentsClasses:C,isWalletConnectV2:L=!0,lead:w="Scan the QR code using the xPortal App",loginButtonText:t="xPortal App",logoutRoute:B,modalClassName:M,nativeAuth:f,onLoginRedirect:P,onContentHide:W,onContentShow:b,onModalCloses:x,onModalOpens:A,showScamPhishingAlert:N,title:R="Login with the xPortal App",token:n,wrapContentInsideModal:e=!0,customRequestMethods:S=[]})=>{let{disabledConnectButton:y,handleCloseModal:T,handleOpenModal:k,shouldRenderButton:q,showContent:v,showModal:G}=a({hideButtonWhenModalOpens:h,onContentHide:W,onContentShow:b,onModalCloses:x,onModalOpens:A,token:n,wrapContentInsideModal:e});return o.createElement(o.Fragment,null,q&&o.createElement(s,{btnClassName:r,className:u,"data-testid":m,disabled:g||y,onLogin:k,text:t},p),o.createElement(i,{callbackRoute:d,className:M,customSpinnerComponent:c,innerWalletConnectComponentsClasses:C,isWalletConnectV2:L,lead:w,loginButtonText:t,logoutRoute:B,nativeAuth:f,onClose:T,onLoginRedirect:P,showLoginContent:v,showLoginModal:G,showScamPhishingAlert:N,title:R,token:n,wrapContentInsideModal:e,customRequestMethods:S}))};export{F as a};
2
- //# sourceMappingURL=chunk-F4E4XFTI.js.map
1
+ import{a as i}from"./chunk-4HHWFIGX.js";import{a as s}from"./chunk-LZUF5S3O.js";import{a}from"./chunk-O4227KCA.js";import{m as l}from"./chunk-HBP5N4FR.js";l();import o from"react";var F=({buttonClassName:r="dapp-wallet-connect-login-button",callbackRoute:d,children:p,className:u="dapp-wallet-connect-login",customSpinnerComponent:c,"data-testid":m,disabled:g,hideButtonWhenModalOpens:h=!1,innerWalletConnectComponentsClasses:C,isWalletConnectV2:L=!0,lead:w="Scan the QR code using the xPortal App",loginButtonText:t="xPortal App",logoutRoute:B,modalClassName:M,nativeAuth:f,onLoginRedirect:P,onContentHide:W,onContentShow:b,onModalCloses:x,onModalOpens:A,showScamPhishingAlert:N,title:R="Login with the xPortal App",token:n,wrapContentInsideModal:e=!0,customRequestMethods:S=[]})=>{let{disabledConnectButton:y,handleCloseModal:T,handleOpenModal:k,shouldRenderButton:q,showContent:v,showModal:G}=a({hideButtonWhenModalOpens:h,onContentHide:W,onContentShow:b,onModalCloses:x,onModalOpens:A,token:n,wrapContentInsideModal:e});return o.createElement(o.Fragment,null,q&&o.createElement(s,{btnClassName:r,className:u,"data-testid":m,disabled:g||y,onLogin:k,text:t},p),o.createElement(i,{callbackRoute:d,className:M,customSpinnerComponent:c,innerWalletConnectComponentsClasses:C,isWalletConnectV2:L,lead:w,loginButtonText:t,logoutRoute:B,nativeAuth:f,onClose:T,onLoginRedirect:P,showLoginContent:v,showLoginModal:G,showScamPhishingAlert:N,title:R,token:n,wrapContentInsideModal:e,customRequestMethods:S}))};export{F as a};
2
+ //# sourceMappingURL=chunk-ZXWTIMCY.js.map
@@ -10,7 +10,7 @@ interface BalancePropsType extends WithClassnameType, WithStylesImportType {
10
10
  egldLabel?: string;
11
11
  showEgldLabelSup?: boolean;
12
12
  }
13
- export declare const BalanceComponent: ({ amount, displayAsUsd, addEqualSign, egldIcon, className, showEgldLabel, styles, egldLabel, showEgldLabelSup }: BalancePropsType) => JSX.Element;
13
+ export declare const BalanceComponent: ({ amount, displayAsUsd, addEqualSign, egldIcon, className, showEgldLabel, styles, egldLabel, showEgldLabelSup, "data-testid": dataTestId }: BalancePropsType) => JSX.Element;
14
14
  export declare const Balance: (props: BalancePropsType) => JSX.Element;
15
15
  export {};
16
16
  //# sourceMappingURL=Balance.d.ts.map
@@ -1,4 +1,4 @@
1
- "use strict";var Ko=Object.create;var j=Object.defineProperty,on=Object.defineProperties,nn=Object.getOwnPropertyDescriptor,en=Object.getOwnPropertyDescriptors,_n=Object.getOwnPropertyNames,ho=Object.getOwnPropertySymbols,pn=Object.getPrototypeOf,bo=Object.prototype.hasOwnProperty,an=Object.prototype.propertyIsEnumerable;var uo=(e,o,n)=>o in e?j(e,o,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[o]=n,X=(e,o)=>{for(var n in o||(o={}))bo.call(o,n)&&uo(e,n,o[n]);if(ho)for(var n of ho(o))an.call(o,n)&&uo(e,n,o[n]);return e},xo=(e,o)=>on(e,en(o));var J=(e,o)=>()=>(e&&(o=e(e=0)),o);var q=(e,o)=>()=>(o||e((o={exports:{}}).exports,o),o.exports),O=(e,o)=>{for(var n in o)j(e,n,{get:o[n],enumerable:!0})},wo=(e,o,n,_)=>{if(o&&typeof o=="object"||typeof o=="function")for(let p of _n(o))!bo.call(e,p)&&p!==n&&j(e,p,{get:()=>o[p],enumerable:!(_=nn(o,p))||_.enumerable});return e};var I=(e,o,n)=>(n=e!=null?Ko(pn(e)):{},wo(o||!e||!e.__esModule?j(n,"default",{value:e,enumerable:!0}):n,e)),$=e=>wo(j({},"__esModule",{value:!0}),e);var Q=(e,o,n)=>new Promise((_,p)=>{var r=m=>{try{c(n.next(m))}catch(i){p(i)}},a=m=>{try{c(n.throw(m))}catch(i){p(i)}},c=m=>m.done?_(m.value):Promise.resolve(m.value).then(r,a);c((n=n.apply(e,o)).next())});var vo=q(G=>{"use strict";s();G.byteLength=tn;G.toByteArray=cn;G.fromByteArray=sn;var v=[],b=[],rn=typeof Uint8Array!="undefined"?Uint8Array:Array,Z="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(L=0,yo=Z.length;L<yo;++L)v[L]=Z[L],b[Z.charCodeAt(L)]=L;var L,yo;b["-".charCodeAt(0)]=62;b["_".charCodeAt(0)]=63;function ko(e){var o=e.length;if(o%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var n=e.indexOf("=");n===-1&&(n=o);var _=n===o?0:4-n%4;return[n,_]}function tn(e){var o=ko(e),n=o[0],_=o[1];return(n+_)*3/4-_}function mn(e,o,n){return(o+n)*3/4-n}function cn(e){var o,n=ko(e),_=n[0],p=n[1],r=new rn(mn(e,_,p)),a=0,c=p>0?_-4:_,m;for(m=0;m<c;m+=4)o=b[e.charCodeAt(m)]<<18|b[e.charCodeAt(m+1)]<<12|b[e.charCodeAt(m+2)]<<6|b[e.charCodeAt(m+3)],r[a++]=o>>16&255,r[a++]=o>>8&255,r[a++]=o&255;return p===2&&(o=b[e.charCodeAt(m)]<<2|b[e.charCodeAt(m+1)]>>4,r[a++]=o&255),p===1&&(o=b[e.charCodeAt(m)]<<10|b[e.charCodeAt(m+1)]<<4|b[e.charCodeAt(m+2)]>>2,r[a++]=o>>8&255,r[a++]=o&255),r}function dn(e){return v[e>>18&63]+v[e>>12&63]+v[e>>6&63]+v[e&63]}function ln(e,o,n){for(var _,p=[],r=o;r<n;r+=3)_=(e[r]<<16&16711680)+(e[r+1]<<8&65280)+(e[r+2]&255),p.push(dn(_));return p.join("")}function sn(e){for(var o,n=e.length,_=n%3,p=[],r=16383,a=0,c=n-_;a<c;a+=r)p.push(ln(e,a,a+r>c?c:a+r));return _===1?(o=e[n-1],p.push(v[o>>2]+v[o<<4&63]+"==")):_===2&&(o=(e[n-2]<<8)+e[n-1],p.push(v[o>>10]+v[o>>4&63]+v[o<<2&63]+"=")),p.join("")}});var So=q(K=>{s();K.read=function(e,o,n,_,p){var r,a,c=p*8-_-1,m=(1<<c)-1,i=m>>1,l=-7,d=n?p-1:0,y=n?-1:1,u=e[o+d];for(d+=y,r=u&(1<<-l)-1,u>>=-l,l+=c;l>0;r=r*256+e[o+d],d+=y,l-=8);for(a=r&(1<<-l)-1,r>>=-l,l+=_;l>0;a=a*256+e[o+d],d+=y,l-=8);if(r===0)r=1-i;else{if(r===m)return a?NaN:(u?-1:1)*(1/0);a=a+Math.pow(2,_),r=r-i}return(u?-1:1)*a*Math.pow(2,r-_)};K.write=function(e,o,n,_,p,r){var a,c,m,i=r*8-p-1,l=(1<<i)-1,d=l>>1,y=p===23?Math.pow(2,-24)-Math.pow(2,-77):0,u=_?0:r-1,M=_?1:-1,Zo=o<0||o===0&&1/o<0?1:0;for(o=Math.abs(o),isNaN(o)||o===1/0?(c=isNaN(o)?1:0,a=l):(a=Math.floor(Math.log(o)/Math.LN2),o*(m=Math.pow(2,-a))<1&&(a--,m*=2),a+d>=1?o+=y/m:o+=y*Math.pow(2,1-d),o*m>=2&&(a++,m/=2),a+d>=l?(c=0,a=l):a+d>=1?(c=(o*m-1)*Math.pow(2,p),a=a+d):(c=o*Math.pow(2,d-1)*Math.pow(2,p),a=0));p>=8;e[n+u]=c&255,u+=M,c/=256,p-=8);for(a=a<<p|c,i+=p;i>0;e[n+u]=a&255,u+=M,a/=256,i-=8);e[n+u-M]|=Zo*128}});var zo=q(z=>{"use strict";s();var oo=vo(),R=So(),Eo=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;z.Buffer=t;z.SlowBuffer=xn;z.INSPECT_MAX_BYTES=50;var H=2147483647;z.kMaxLength=H;t.TYPED_ARRAY_SUPPORT=gn();!t.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 gn(){try{var e=new Uint8Array(1),o={foo:function(){return 42}};return Object.setPrototypeOf(o,Uint8Array.prototype),Object.setPrototypeOf(e,o),e.foo()===42}catch(n){return!1}}Object.defineProperty(t.prototype,"parent",{enumerable:!0,get:function(){if(!!t.isBuffer(this))return this.buffer}});Object.defineProperty(t.prototype,"offset",{enumerable:!0,get:function(){if(!!t.isBuffer(this))return this.byteOffset}});function F(e){if(e>H)throw new RangeError('The value "'+e+'" is invalid for option "size"');var o=new Uint8Array(e);return Object.setPrototypeOf(o,t.prototype),o}function t(e,o,n){if(typeof e=="number"){if(typeof o=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return po(e)}return Ao(e,o,n)}t.poolSize=8192;function Ao(e,o,n){if(typeof e=="string")return hn(e,o);if(ArrayBuffer.isView(e))return un(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(S(e,ArrayBuffer)||e&&S(e.buffer,ArrayBuffer)||typeof SharedArrayBuffer!="undefined"&&(S(e,SharedArrayBuffer)||e&&S(e.buffer,SharedArrayBuffer)))return eo(e,o,n);if(typeof e=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var _=e.valueOf&&e.valueOf();if(_!=null&&_!==e)return t.from(_,o,n);var p=bn(e);if(p)return p;if(typeof Symbol!="undefined"&&Symbol.toPrimitive!=null&&typeof e[Symbol.toPrimitive]=="function")return t.from(e[Symbol.toPrimitive]("string"),o,n);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e)}t.from=function(e,o,n){return Ao(e,o,n)};Object.setPrototypeOf(t.prototype,Uint8Array.prototype);Object.setPrototypeOf(t,Uint8Array);function To(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 fn(e,o,n){return To(e),e<=0?F(e):o!==void 0?typeof n=="string"?F(e).fill(o,n):F(e).fill(o):F(e)}t.alloc=function(e,o,n){return fn(e,o,n)};function po(e){return To(e),F(e<0?0:ao(e)|0)}t.allocUnsafe=function(e){return po(e)};t.allocUnsafeSlow=function(e){return po(e)};function hn(e,o){if((typeof o!="string"||o==="")&&(o="utf8"),!t.isEncoding(o))throw new TypeError("Unknown encoding: "+o);var n=Io(e,o)|0,_=F(n),p=_.write(e,o);return p!==n&&(_=_.slice(0,p)),_}function no(e){for(var o=e.length<0?0:ao(e.length)|0,n=F(o),_=0;_<o;_+=1)n[_]=e[_]&255;return n}function un(e){if(S(e,Uint8Array)){var o=new Uint8Array(e);return eo(o.buffer,o.byteOffset,o.byteLength)}return no(e)}function eo(e,o,n){if(o<0||e.byteLength<o)throw new RangeError('"offset" is outside of buffer bounds');if(e.byteLength<o+(n||0))throw new RangeError('"length" is outside of buffer bounds');var _;return o===void 0&&n===void 0?_=new Uint8Array(e):n===void 0?_=new Uint8Array(e,o):_=new Uint8Array(e,o,n),Object.setPrototypeOf(_,t.prototype),_}function bn(e){if(t.isBuffer(e)){var o=ao(e.length)|0,n=F(o);return n.length===0||e.copy(n,0,0,o),n}if(e.length!==void 0)return typeof e.length!="number"||ro(e.length)?F(0):no(e);if(e.type==="Buffer"&&Array.isArray(e.data))return no(e.data)}function ao(e){if(e>=H)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+H.toString(16)+" bytes");return e|0}function xn(e){return+e!=e&&(e=0),t.alloc(+e)}t.isBuffer=function(o){return o!=null&&o._isBuffer===!0&&o!==t.prototype};t.compare=function(o,n){if(S(o,Uint8Array)&&(o=t.from(o,o.offset,o.byteLength)),S(n,Uint8Array)&&(n=t.from(n,n.offset,n.byteLength)),!t.isBuffer(o)||!t.isBuffer(n))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(o===n)return 0;for(var _=o.length,p=n.length,r=0,a=Math.min(_,p);r<a;++r)if(o[r]!==n[r]){_=o[r],p=n[r];break}return _<p?-1:p<_?1:0};t.isEncoding=function(o){switch(String(o).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}};t.concat=function(o,n){if(!Array.isArray(o))throw new TypeError('"list" argument must be an Array of Buffers');if(o.length===0)return t.alloc(0);var _;if(n===void 0)for(n=0,_=0;_<o.length;++_)n+=o[_].length;var p=t.allocUnsafe(n),r=0;for(_=0;_<o.length;++_){var a=o[_];if(S(a,Uint8Array))r+a.length>p.length?t.from(a).copy(p,r):Uint8Array.prototype.set.call(p,a,r);else if(t.isBuffer(a))a.copy(p,r);else throw new TypeError('"list" argument must be an Array of Buffers');r+=a.length}return p};function Io(e,o){if(t.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||S(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 n=e.length,_=arguments.length>2&&arguments[2]===!0;if(!_&&n===0)return 0;for(var p=!1;;)switch(o){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":return _o(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return n*2;case"hex":return n>>>1;case"base64":return Ro(e).length;default:if(p)return _?-1:_o(e).length;o=(""+o).toLowerCase(),p=!0}}t.byteLength=Io;function wn(e,o,n){var _=!1;if((o===void 0||o<0)&&(o=0),o>this.length||((n===void 0||n>this.length)&&(n=this.length),n<=0)||(n>>>=0,o>>>=0,n<=o))return"";for(e||(e="utf8");;)switch(e){case"hex":return In(this,o,n);case"utf8":case"utf-8":return Co(this,o,n);case"ascii":return An(this,o,n);case"latin1":case"binary":return Tn(this,o,n);case"base64":return Bn(this,o,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Ln(this,o,n);default:if(_)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),_=!0}}t.prototype._isBuffer=!0;function C(e,o,n){var _=e[o];e[o]=e[n],e[n]=_}t.prototype.swap16=function(){var o=this.length;if(o%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var n=0;n<o;n+=2)C(this,n,n+1);return this};t.prototype.swap32=function(){var o=this.length;if(o%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var n=0;n<o;n+=4)C(this,n,n+3),C(this,n+1,n+2);return this};t.prototype.swap64=function(){var o=this.length;if(o%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var n=0;n<o;n+=8)C(this,n,n+7),C(this,n+1,n+6),C(this,n+2,n+5),C(this,n+3,n+4);return this};t.prototype.toString=function(){var o=this.length;return o===0?"":arguments.length===0?Co(this,0,o):wn.apply(this,arguments)};t.prototype.toLocaleString=t.prototype.toString;t.prototype.equals=function(o){if(!t.isBuffer(o))throw new TypeError("Argument must be a Buffer");return this===o?!0:t.compare(this,o)===0};t.prototype.inspect=function(){var o="",n=z.INSPECT_MAX_BYTES;return o=this.toString("hex",0,n).replace(/(.{2})/g,"$1 ").trim(),this.length>n&&(o+=" ... "),"<Buffer "+o+">"};Eo&&(t.prototype[Eo]=t.prototype.inspect);t.prototype.compare=function(o,n,_,p,r){if(S(o,Uint8Array)&&(o=t.from(o,o.offset,o.byteLength)),!t.isBuffer(o))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof o);if(n===void 0&&(n=0),_===void 0&&(_=o?o.length:0),p===void 0&&(p=0),r===void 0&&(r=this.length),n<0||_>o.length||p<0||r>this.length)throw new RangeError("out of range index");if(p>=r&&n>=_)return 0;if(p>=r)return-1;if(n>=_)return 1;if(n>>>=0,_>>>=0,p>>>=0,r>>>=0,this===o)return 0;for(var a=r-p,c=_-n,m=Math.min(a,c),i=this.slice(p,r),l=o.slice(n,_),d=0;d<m;++d)if(i[d]!==l[d]){a=i[d],c=l[d];break}return a<c?-1:c<a?1:0};function Lo(e,o,n,_,p){if(e.length===0)return-1;if(typeof n=="string"?(_=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),n=+n,ro(n)&&(n=p?0:e.length-1),n<0&&(n=e.length+n),n>=e.length){if(p)return-1;n=e.length-1}else if(n<0)if(p)n=0;else return-1;if(typeof o=="string"&&(o=t.from(o,_)),t.isBuffer(o))return o.length===0?-1:Bo(e,o,n,_,p);if(typeof o=="number")return o=o&255,typeof Uint8Array.prototype.indexOf=="function"?p?Uint8Array.prototype.indexOf.call(e,o,n):Uint8Array.prototype.lastIndexOf.call(e,o,n):Bo(e,[o],n,_,p);throw new TypeError("val must be string, number or Buffer")}function Bo(e,o,n,_,p){var r=1,a=e.length,c=o.length;if(_!==void 0&&(_=String(_).toLowerCase(),_==="ucs2"||_==="ucs-2"||_==="utf16le"||_==="utf-16le")){if(e.length<2||o.length<2)return-1;r=2,a/=2,c/=2,n/=2}function m(u,M){return r===1?u[M]:u.readUInt16BE(M*r)}var i;if(p){var l=-1;for(i=n;i<a;i++)if(m(e,i)===m(o,l===-1?0:i-l)){if(l===-1&&(l=i),i-l+1===c)return l*r}else l!==-1&&(i-=i-l),l=-1}else for(n+c>a&&(n=a-c),i=n;i>=0;i--){for(var d=!0,y=0;y<c;y++)if(m(e,i+y)!==m(o,y)){d=!1;break}if(d)return i}return-1}t.prototype.includes=function(o,n,_){return this.indexOf(o,n,_)!==-1};t.prototype.indexOf=function(o,n,_){return Lo(this,o,n,_,!0)};t.prototype.lastIndexOf=function(o,n,_){return Lo(this,o,n,_,!1)};function yn(e,o,n,_){n=Number(n)||0;var p=e.length-n;_?(_=Number(_),_>p&&(_=p)):_=p;var r=o.length;_>r/2&&(_=r/2);for(var a=0;a<_;++a){var c=parseInt(o.substr(a*2,2),16);if(ro(c))return a;e[n+a]=c}return a}function kn(e,o,n,_){return P(_o(o,e.length-n),e,n,_)}function vn(e,o,n,_){return P(Nn(o),e,n,_)}function Sn(e,o,n,_){return P(Ro(o),e,n,_)}function En(e,o,n,_){return P(Mn(o,e.length-n),e,n,_)}t.prototype.write=function(o,n,_,p){if(n===void 0)p="utf8",_=this.length,n=0;else if(_===void 0&&typeof n=="string")p=n,_=this.length,n=0;else if(isFinite(n))n=n>>>0,isFinite(_)?(_=_>>>0,p===void 0&&(p="utf8")):(p=_,_=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var r=this.length-n;if((_===void 0||_>r)&&(_=r),o.length>0&&(_<0||n<0)||n>this.length)throw new RangeError("Attempt to write outside buffer bounds");p||(p="utf8");for(var a=!1;;)switch(p){case"hex":return yn(this,o,n,_);case"utf8":case"utf-8":return kn(this,o,n,_);case"ascii":case"latin1":case"binary":return vn(this,o,n,_);case"base64":return Sn(this,o,n,_);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return En(this,o,n,_);default:if(a)throw new TypeError("Unknown encoding: "+p);p=(""+p).toLowerCase(),a=!0}};t.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function Bn(e,o,n){return o===0&&n===e.length?oo.fromByteArray(e):oo.fromByteArray(e.slice(o,n))}function Co(e,o,n){n=Math.min(e.length,n);for(var _=[],p=o;p<n;){var r=e[p],a=null,c=r>239?4:r>223?3:r>191?2:1;if(p+c<=n){var m,i,l,d;switch(c){case 1:r<128&&(a=r);break;case 2:m=e[p+1],(m&192)===128&&(d=(r&31)<<6|m&63,d>127&&(a=d));break;case 3:m=e[p+1],i=e[p+2],(m&192)===128&&(i&192)===128&&(d=(r&15)<<12|(m&63)<<6|i&63,d>2047&&(d<55296||d>57343)&&(a=d));break;case 4:m=e[p+1],i=e[p+2],l=e[p+3],(m&192)===128&&(i&192)===128&&(l&192)===128&&(d=(r&15)<<18|(m&63)<<12|(i&63)<<6|l&63,d>65535&&d<1114112&&(a=d))}}a===null?(a=65533,c=1):a>65535&&(a-=65536,_.push(a>>>10&1023|55296),a=56320|a&1023),_.push(a),p+=c}return Fn(_)}var Fo=4096;function Fn(e){var o=e.length;if(o<=Fo)return String.fromCharCode.apply(String,e);for(var n="",_=0;_<o;)n+=String.fromCharCode.apply(String,e.slice(_,_+=Fo));return n}function An(e,o,n){var _="";n=Math.min(e.length,n);for(var p=o;p<n;++p)_+=String.fromCharCode(e[p]&127);return _}function Tn(e,o,n){var _="";n=Math.min(e.length,n);for(var p=o;p<n;++p)_+=String.fromCharCode(e[p]);return _}function In(e,o,n){var _=e.length;(!o||o<0)&&(o=0),(!n||n<0||n>_)&&(n=_);for(var p="",r=o;r<n;++r)p+=Rn[e[r]];return p}function Ln(e,o,n){for(var _=e.slice(o,n),p="",r=0;r<_.length-1;r+=2)p+=String.fromCharCode(_[r]+_[r+1]*256);return p}t.prototype.slice=function(o,n){var _=this.length;o=~~o,n=n===void 0?_:~~n,o<0?(o+=_,o<0&&(o=0)):o>_&&(o=_),n<0?(n+=_,n<0&&(n=0)):n>_&&(n=_),n<o&&(n=o);var p=this.subarray(o,n);return Object.setPrototypeOf(p,t.prototype),p};function f(e,o,n){if(e%1!==0||e<0)throw new RangeError("offset is not uint");if(e+o>n)throw new RangeError("Trying to access beyond buffer length")}t.prototype.readUintLE=t.prototype.readUIntLE=function(o,n,_){o=o>>>0,n=n>>>0,_||f(o,n,this.length);for(var p=this[o],r=1,a=0;++a<n&&(r*=256);)p+=this[o+a]*r;return p};t.prototype.readUintBE=t.prototype.readUIntBE=function(o,n,_){o=o>>>0,n=n>>>0,_||f(o,n,this.length);for(var p=this[o+--n],r=1;n>0&&(r*=256);)p+=this[o+--n]*r;return p};t.prototype.readUint8=t.prototype.readUInt8=function(o,n){return o=o>>>0,n||f(o,1,this.length),this[o]};t.prototype.readUint16LE=t.prototype.readUInt16LE=function(o,n){return o=o>>>0,n||f(o,2,this.length),this[o]|this[o+1]<<8};t.prototype.readUint16BE=t.prototype.readUInt16BE=function(o,n){return o=o>>>0,n||f(o,2,this.length),this[o]<<8|this[o+1]};t.prototype.readUint32LE=t.prototype.readUInt32LE=function(o,n){return o=o>>>0,n||f(o,4,this.length),(this[o]|this[o+1]<<8|this[o+2]<<16)+this[o+3]*16777216};t.prototype.readUint32BE=t.prototype.readUInt32BE=function(o,n){return o=o>>>0,n||f(o,4,this.length),this[o]*16777216+(this[o+1]<<16|this[o+2]<<8|this[o+3])};t.prototype.readIntLE=function(o,n,_){o=o>>>0,n=n>>>0,_||f(o,n,this.length);for(var p=this[o],r=1,a=0;++a<n&&(r*=256);)p+=this[o+a]*r;return r*=128,p>=r&&(p-=Math.pow(2,8*n)),p};t.prototype.readIntBE=function(o,n,_){o=o>>>0,n=n>>>0,_||f(o,n,this.length);for(var p=n,r=1,a=this[o+--p];p>0&&(r*=256);)a+=this[o+--p]*r;return r*=128,a>=r&&(a-=Math.pow(2,8*n)),a};t.prototype.readInt8=function(o,n){return o=o>>>0,n||f(o,1,this.length),this[o]&128?(255-this[o]+1)*-1:this[o]};t.prototype.readInt16LE=function(o,n){o=o>>>0,n||f(o,2,this.length);var _=this[o]|this[o+1]<<8;return _&32768?_|4294901760:_};t.prototype.readInt16BE=function(o,n){o=o>>>0,n||f(o,2,this.length);var _=this[o+1]|this[o]<<8;return _&32768?_|4294901760:_};t.prototype.readInt32LE=function(o,n){return o=o>>>0,n||f(o,4,this.length),this[o]|this[o+1]<<8|this[o+2]<<16|this[o+3]<<24};t.prototype.readInt32BE=function(o,n){return o=o>>>0,n||f(o,4,this.length),this[o]<<24|this[o+1]<<16|this[o+2]<<8|this[o+3]};t.prototype.readFloatLE=function(o,n){return o=o>>>0,n||f(o,4,this.length),R.read(this,o,!0,23,4)};t.prototype.readFloatBE=function(o,n){return o=o>>>0,n||f(o,4,this.length),R.read(this,o,!1,23,4)};t.prototype.readDoubleLE=function(o,n){return o=o>>>0,n||f(o,8,this.length),R.read(this,o,!0,52,8)};t.prototype.readDoubleBE=function(o,n){return o=o>>>0,n||f(o,8,this.length),R.read(this,o,!1,52,8)};function h(e,o,n,_,p,r){if(!t.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(o>p||o<r)throw new RangeError('"value" argument is out of bounds');if(n+_>e.length)throw new RangeError("Index out of range")}t.prototype.writeUintLE=t.prototype.writeUIntLE=function(o,n,_,p){if(o=+o,n=n>>>0,_=_>>>0,!p){var r=Math.pow(2,8*_)-1;h(this,o,n,_,r,0)}var a=1,c=0;for(this[n]=o&255;++c<_&&(a*=256);)this[n+c]=o/a&255;return n+_};t.prototype.writeUintBE=t.prototype.writeUIntBE=function(o,n,_,p){if(o=+o,n=n>>>0,_=_>>>0,!p){var r=Math.pow(2,8*_)-1;h(this,o,n,_,r,0)}var a=_-1,c=1;for(this[n+a]=o&255;--a>=0&&(c*=256);)this[n+a]=o/c&255;return n+_};t.prototype.writeUint8=t.prototype.writeUInt8=function(o,n,_){return o=+o,n=n>>>0,_||h(this,o,n,1,255,0),this[n]=o&255,n+1};t.prototype.writeUint16LE=t.prototype.writeUInt16LE=function(o,n,_){return o=+o,n=n>>>0,_||h(this,o,n,2,65535,0),this[n]=o&255,this[n+1]=o>>>8,n+2};t.prototype.writeUint16BE=t.prototype.writeUInt16BE=function(o,n,_){return o=+o,n=n>>>0,_||h(this,o,n,2,65535,0),this[n]=o>>>8,this[n+1]=o&255,n+2};t.prototype.writeUint32LE=t.prototype.writeUInt32LE=function(o,n,_){return o=+o,n=n>>>0,_||h(this,o,n,4,4294967295,0),this[n+3]=o>>>24,this[n+2]=o>>>16,this[n+1]=o>>>8,this[n]=o&255,n+4};t.prototype.writeUint32BE=t.prototype.writeUInt32BE=function(o,n,_){return o=+o,n=n>>>0,_||h(this,o,n,4,4294967295,0),this[n]=o>>>24,this[n+1]=o>>>16,this[n+2]=o>>>8,this[n+3]=o&255,n+4};t.prototype.writeIntLE=function(o,n,_,p){if(o=+o,n=n>>>0,!p){var r=Math.pow(2,8*_-1);h(this,o,n,_,r-1,-r)}var a=0,c=1,m=0;for(this[n]=o&255;++a<_&&(c*=256);)o<0&&m===0&&this[n+a-1]!==0&&(m=1),this[n+a]=(o/c>>0)-m&255;return n+_};t.prototype.writeIntBE=function(o,n,_,p){if(o=+o,n=n>>>0,!p){var r=Math.pow(2,8*_-1);h(this,o,n,_,r-1,-r)}var a=_-1,c=1,m=0;for(this[n+a]=o&255;--a>=0&&(c*=256);)o<0&&m===0&&this[n+a+1]!==0&&(m=1),this[n+a]=(o/c>>0)-m&255;return n+_};t.prototype.writeInt8=function(o,n,_){return o=+o,n=n>>>0,_||h(this,o,n,1,127,-128),o<0&&(o=255+o+1),this[n]=o&255,n+1};t.prototype.writeInt16LE=function(o,n,_){return o=+o,n=n>>>0,_||h(this,o,n,2,32767,-32768),this[n]=o&255,this[n+1]=o>>>8,n+2};t.prototype.writeInt16BE=function(o,n,_){return o=+o,n=n>>>0,_||h(this,o,n,2,32767,-32768),this[n]=o>>>8,this[n+1]=o&255,n+2};t.prototype.writeInt32LE=function(o,n,_){return o=+o,n=n>>>0,_||h(this,o,n,4,2147483647,-2147483648),this[n]=o&255,this[n+1]=o>>>8,this[n+2]=o>>>16,this[n+3]=o>>>24,n+4};t.prototype.writeInt32BE=function(o,n,_){return o=+o,n=n>>>0,_||h(this,o,n,4,2147483647,-2147483648),o<0&&(o=4294967295+o+1),this[n]=o>>>24,this[n+1]=o>>>16,this[n+2]=o>>>8,this[n+3]=o&255,n+4};function Uo(e,o,n,_,p,r){if(n+_>e.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function No(e,o,n,_,p){return o=+o,n=n>>>0,p||Uo(e,o,n,4,34028234663852886e22,-34028234663852886e22),R.write(e,o,n,_,23,4),n+4}t.prototype.writeFloatLE=function(o,n,_){return No(this,o,n,!0,_)};t.prototype.writeFloatBE=function(o,n,_){return No(this,o,n,!1,_)};function Mo(e,o,n,_,p){return o=+o,n=n>>>0,p||Uo(e,o,n,8,17976931348623157e292,-17976931348623157e292),R.write(e,o,n,_,52,8),n+8}t.prototype.writeDoubleLE=function(o,n,_){return Mo(this,o,n,!0,_)};t.prototype.writeDoubleBE=function(o,n,_){return Mo(this,o,n,!1,_)};t.prototype.copy=function(o,n,_,p){if(!t.isBuffer(o))throw new TypeError("argument should be a Buffer");if(_||(_=0),!p&&p!==0&&(p=this.length),n>=o.length&&(n=o.length),n||(n=0),p>0&&p<_&&(p=_),p===_||o.length===0||this.length===0)return 0;if(n<0)throw new RangeError("targetStart out of bounds");if(_<0||_>=this.length)throw new RangeError("Index out of range");if(p<0)throw new RangeError("sourceEnd out of bounds");p>this.length&&(p=this.length),o.length-n<p-_&&(p=o.length-n+_);var r=p-_;return this===o&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(n,_,p):Uint8Array.prototype.set.call(o,this.subarray(_,p),n),r};t.prototype.fill=function(o,n,_,p){if(typeof o=="string"){if(typeof n=="string"?(p=n,n=0,_=this.length):typeof _=="string"&&(p=_,_=this.length),p!==void 0&&typeof p!="string")throw new TypeError("encoding must be a string");if(typeof p=="string"&&!t.isEncoding(p))throw new TypeError("Unknown encoding: "+p);if(o.length===1){var r=o.charCodeAt(0);(p==="utf8"&&r<128||p==="latin1")&&(o=r)}}else typeof o=="number"?o=o&255:typeof o=="boolean"&&(o=Number(o));if(n<0||this.length<n||this.length<_)throw new RangeError("Out of range index");if(_<=n)return this;n=n>>>0,_=_===void 0?this.length:_>>>0,o||(o=0);var a;if(typeof o=="number")for(a=n;a<_;++a)this[a]=o;else{var c=t.isBuffer(o)?o:t.from(o,p),m=c.length;if(m===0)throw new TypeError('The value "'+o+'" is invalid for argument "value"');for(a=0;a<_-n;++a)this[a+n]=c[a%m]}return this};var Cn=/[^+/0-9A-Za-z-_]/g;function Un(e){if(e=e.split("=")[0],e=e.trim().replace(Cn,""),e.length<2)return"";for(;e.length%4!==0;)e=e+"=";return e}function _o(e,o){o=o||1/0;for(var n,_=e.length,p=null,r=[],a=0;a<_;++a){if(n=e.charCodeAt(a),n>55295&&n<57344){if(!p){if(n>56319){(o-=3)>-1&&r.push(239,191,189);continue}else if(a+1===_){(o-=3)>-1&&r.push(239,191,189);continue}p=n;continue}if(n<56320){(o-=3)>-1&&r.push(239,191,189),p=n;continue}n=(p-55296<<10|n-56320)+65536}else p&&(o-=3)>-1&&r.push(239,191,189);if(p=null,n<128){if((o-=1)<0)break;r.push(n)}else if(n<2048){if((o-=2)<0)break;r.push(n>>6|192,n&63|128)}else if(n<65536){if((o-=3)<0)break;r.push(n>>12|224,n>>6&63|128,n&63|128)}else if(n<1114112){if((o-=4)<0)break;r.push(n>>18|240,n>>12&63|128,n>>6&63|128,n&63|128)}else throw new Error("Invalid code point")}return r}function Nn(e){for(var o=[],n=0;n<e.length;++n)o.push(e.charCodeAt(n)&255);return o}function Mn(e,o){for(var n,_,p,r=[],a=0;a<e.length&&!((o-=2)<0);++a)n=e.charCodeAt(a),_=n>>8,p=n%256,r.push(p),r.push(_);return r}function Ro(e){return oo.toByteArray(Un(e))}function P(e,o,n,_){for(var p=0;p<_&&!(p+n>=o.length||p>=e.length);++p)o[p+n]=e[p];return p}function S(e,o){return e instanceof o||e!=null&&e.constructor!=null&&e.constructor.name!=null&&e.constructor.name===o.name}function ro(e){return e!==e}var Rn=function(){for(var e="0123456789abcdef",o=new Array(256),n=0;n<16;++n)for(var _=n*16,p=0;p<16;++p)o[_+p]=e[n]+e[p];return o}()});var qo=q(($n,Xo)=>{s();var g=Xo.exports={},E,B;function to(){throw new Error("setTimeout has not been defined")}function mo(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?E=setTimeout:E=to}catch(e){E=to}try{typeof clearTimeout=="function"?B=clearTimeout:B=mo}catch(e){B=mo}})();function Do(e){if(E===setTimeout)return setTimeout(e,0);if((E===to||!E)&&setTimeout)return E=setTimeout,setTimeout(e,0);try{return E(e,0)}catch(o){try{return E.call(null,e,0)}catch(n){return E.call(this,e,0)}}}function zn(e){if(B===clearTimeout)return clearTimeout(e);if((B===mo||!B)&&clearTimeout)return B=clearTimeout,clearTimeout(e);try{return B(e)}catch(o){try{return B.call(null,e)}catch(n){return B.call(this,e)}}}var A=[],D=!1,U,Y=-1;function Dn(){!D||!U||(D=!1,U.length?A=U.concat(A):Y=-1,A.length&&jo())}function jo(){if(!D){var e=Do(Dn);D=!0;for(var o=A.length;o;){for(U=A,A=[];++Y<o;)U&&U[Y].run();Y=-1,o=A.length}U=null,D=!1,zn(e)}}g.nextTick=function(e){var o=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)o[n-1]=arguments[n];A.push(new Wo(e,o)),A.length===1&&!D&&Do(jo)};function Wo(e,o){this.fun=e,this.array=o}Wo.prototype.run=function(){this.fun.apply(null,this.array)};g.title="browser";g.browser=!0;g.env={};g.argv=[];g.version="";g.versions={};function T(){}g.on=T;g.addListener=T;g.once=T;g.off=T;g.removeListener=T;g.removeAllListeners=T;g.emit=T;g.prependListener=T;g.prependOnceListener=T;g.listeners=function(e){return[]};g.binding=function(e){throw new Error("process.binding is not supported")};g.cwd=function(){return"/"};g.chdir=function(e){throw new Error("process.chdir is not supported")};g.umask=function(){return 0}});var x,w,Qn,s=J(()=>{x=I(zo()),w=I(qo()),Qn=function(e){function o(){var _=this||self;return delete e.prototype.__magic__,_}if(typeof globalThis=="object")return globalThis;if(this)return o();e.defineProperty(e.prototype,"__magic__",{configurable:!0,get:o});var n=__magic__;return n}(Object)});var co={};O(co,{css:()=>Yo,default:()=>Wn});var Yo,Wn,io=J(()=>{"use strict";s();Yo=`.dapp-core-component__main__link-style {
1
+ "use strict";var Ko=Object.create;var j=Object.defineProperty,on=Object.defineProperties,nn=Object.getOwnPropertyDescriptor,en=Object.getOwnPropertyDescriptors,_n=Object.getOwnPropertyNames,ho=Object.getOwnPropertySymbols,pn=Object.getPrototypeOf,bo=Object.prototype.hasOwnProperty,an=Object.prototype.propertyIsEnumerable;var uo=(e,o,n)=>o in e?j(e,o,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[o]=n,X=(e,o)=>{for(var n in o||(o={}))bo.call(o,n)&&uo(e,n,o[n]);if(ho)for(var n of ho(o))an.call(o,n)&&uo(e,n,o[n]);return e},xo=(e,o)=>on(e,en(o));var J=(e,o)=>()=>(e&&(o=e(e=0)),o);var q=(e,o)=>()=>(o||e((o={exports:{}}).exports,o),o.exports),O=(e,o)=>{for(var n in o)j(e,n,{get:o[n],enumerable:!0})},wo=(e,o,n,_)=>{if(o&&typeof o=="object"||typeof o=="function")for(let p of _n(o))!bo.call(e,p)&&p!==n&&j(e,p,{get:()=>o[p],enumerable:!(_=nn(o,p))||_.enumerable});return e};var I=(e,o,n)=>(n=e!=null?Ko(pn(e)):{},wo(o||!e||!e.__esModule?j(n,"default",{value:e,enumerable:!0}):n,e)),$=e=>wo(j({},"__esModule",{value:!0}),e);var Q=(e,o,n)=>new Promise((_,p)=>{var r=m=>{try{c(n.next(m))}catch(d){p(d)}},a=m=>{try{c(n.throw(m))}catch(d){p(d)}},c=m=>m.done?_(m.value):Promise.resolve(m.value).then(r,a);c((n=n.apply(e,o)).next())});var vo=q(G=>{"use strict";s();G.byteLength=tn;G.toByteArray=cn;G.fromByteArray=sn;var v=[],x=[],rn=typeof Uint8Array!="undefined"?Uint8Array:Array,Z="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(L=0,yo=Z.length;L<yo;++L)v[L]=Z[L],x[Z.charCodeAt(L)]=L;var L,yo;x["-".charCodeAt(0)]=62;x["_".charCodeAt(0)]=63;function ko(e){var o=e.length;if(o%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var n=e.indexOf("=");n===-1&&(n=o);var _=n===o?0:4-n%4;return[n,_]}function tn(e){var o=ko(e),n=o[0],_=o[1];return(n+_)*3/4-_}function mn(e,o,n){return(o+n)*3/4-n}function cn(e){var o,n=ko(e),_=n[0],p=n[1],r=new rn(mn(e,_,p)),a=0,c=p>0?_-4:_,m;for(m=0;m<c;m+=4)o=x[e.charCodeAt(m)]<<18|x[e.charCodeAt(m+1)]<<12|x[e.charCodeAt(m+2)]<<6|x[e.charCodeAt(m+3)],r[a++]=o>>16&255,r[a++]=o>>8&255,r[a++]=o&255;return p===2&&(o=x[e.charCodeAt(m)]<<2|x[e.charCodeAt(m+1)]>>4,r[a++]=o&255),p===1&&(o=x[e.charCodeAt(m)]<<10|x[e.charCodeAt(m+1)]<<4|x[e.charCodeAt(m+2)]>>2,r[a++]=o>>8&255,r[a++]=o&255),r}function dn(e){return v[e>>18&63]+v[e>>12&63]+v[e>>6&63]+v[e&63]}function ln(e,o,n){for(var _,p=[],r=o;r<n;r+=3)_=(e[r]<<16&16711680)+(e[r+1]<<8&65280)+(e[r+2]&255),p.push(dn(_));return p.join("")}function sn(e){for(var o,n=e.length,_=n%3,p=[],r=16383,a=0,c=n-_;a<c;a+=r)p.push(ln(e,a,a+r>c?c:a+r));return _===1?(o=e[n-1],p.push(v[o>>2]+v[o<<4&63]+"==")):_===2&&(o=(e[n-2]<<8)+e[n-1],p.push(v[o>>10]+v[o>>4&63]+v[o<<2&63]+"=")),p.join("")}});var So=q(K=>{s();K.read=function(e,o,n,_,p){var r,a,c=p*8-_-1,m=(1<<c)-1,d=m>>1,l=-7,i=n?p-1:0,u=n?-1:1,b=e[o+i];for(i+=u,r=b&(1<<-l)-1,b>>=-l,l+=c;l>0;r=r*256+e[o+i],i+=u,l-=8);for(a=r&(1<<-l)-1,r>>=-l,l+=_;l>0;a=a*256+e[o+i],i+=u,l-=8);if(r===0)r=1-d;else{if(r===m)return a?NaN:(b?-1:1)*(1/0);a=a+Math.pow(2,_),r=r-d}return(b?-1:1)*a*Math.pow(2,r-_)};K.write=function(e,o,n,_,p,r){var a,c,m,d=r*8-p-1,l=(1<<d)-1,i=l>>1,u=p===23?Math.pow(2,-24)-Math.pow(2,-77):0,b=_?0:r-1,M=_?1:-1,Zo=o<0||o===0&&1/o<0?1:0;for(o=Math.abs(o),isNaN(o)||o===1/0?(c=isNaN(o)?1:0,a=l):(a=Math.floor(Math.log(o)/Math.LN2),o*(m=Math.pow(2,-a))<1&&(a--,m*=2),a+i>=1?o+=u/m:o+=u*Math.pow(2,1-i),o*m>=2&&(a++,m/=2),a+i>=l?(c=0,a=l):a+i>=1?(c=(o*m-1)*Math.pow(2,p),a=a+i):(c=o*Math.pow(2,i-1)*Math.pow(2,p),a=0));p>=8;e[n+b]=c&255,b+=M,c/=256,p-=8);for(a=a<<p|c,d+=p;d>0;e[n+b]=a&255,b+=M,a/=256,d-=8);e[n+b-M]|=Zo*128}});var zo=q(z=>{"use strict";s();var oo=vo(),R=So(),Eo=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;z.Buffer=t;z.SlowBuffer=xn;z.INSPECT_MAX_BYTES=50;var H=2147483647;z.kMaxLength=H;t.TYPED_ARRAY_SUPPORT=gn();!t.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 gn(){try{var e=new Uint8Array(1),o={foo:function(){return 42}};return Object.setPrototypeOf(o,Uint8Array.prototype),Object.setPrototypeOf(e,o),e.foo()===42}catch(n){return!1}}Object.defineProperty(t.prototype,"parent",{enumerable:!0,get:function(){if(!!t.isBuffer(this))return this.buffer}});Object.defineProperty(t.prototype,"offset",{enumerable:!0,get:function(){if(!!t.isBuffer(this))return this.byteOffset}});function F(e){if(e>H)throw new RangeError('The value "'+e+'" is invalid for option "size"');var o=new Uint8Array(e);return Object.setPrototypeOf(o,t.prototype),o}function t(e,o,n){if(typeof e=="number"){if(typeof o=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return po(e)}return Ao(e,o,n)}t.poolSize=8192;function Ao(e,o,n){if(typeof e=="string")return hn(e,o);if(ArrayBuffer.isView(e))return un(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(S(e,ArrayBuffer)||e&&S(e.buffer,ArrayBuffer)||typeof SharedArrayBuffer!="undefined"&&(S(e,SharedArrayBuffer)||e&&S(e.buffer,SharedArrayBuffer)))return eo(e,o,n);if(typeof e=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var _=e.valueOf&&e.valueOf();if(_!=null&&_!==e)return t.from(_,o,n);var p=bn(e);if(p)return p;if(typeof Symbol!="undefined"&&Symbol.toPrimitive!=null&&typeof e[Symbol.toPrimitive]=="function")return t.from(e[Symbol.toPrimitive]("string"),o,n);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e)}t.from=function(e,o,n){return Ao(e,o,n)};Object.setPrototypeOf(t.prototype,Uint8Array.prototype);Object.setPrototypeOf(t,Uint8Array);function To(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 fn(e,o,n){return To(e),e<=0?F(e):o!==void 0?typeof n=="string"?F(e).fill(o,n):F(e).fill(o):F(e)}t.alloc=function(e,o,n){return fn(e,o,n)};function po(e){return To(e),F(e<0?0:ao(e)|0)}t.allocUnsafe=function(e){return po(e)};t.allocUnsafeSlow=function(e){return po(e)};function hn(e,o){if((typeof o!="string"||o==="")&&(o="utf8"),!t.isEncoding(o))throw new TypeError("Unknown encoding: "+o);var n=Io(e,o)|0,_=F(n),p=_.write(e,o);return p!==n&&(_=_.slice(0,p)),_}function no(e){for(var o=e.length<0?0:ao(e.length)|0,n=F(o),_=0;_<o;_+=1)n[_]=e[_]&255;return n}function un(e){if(S(e,Uint8Array)){var o=new Uint8Array(e);return eo(o.buffer,o.byteOffset,o.byteLength)}return no(e)}function eo(e,o,n){if(o<0||e.byteLength<o)throw new RangeError('"offset" is outside of buffer bounds');if(e.byteLength<o+(n||0))throw new RangeError('"length" is outside of buffer bounds');var _;return o===void 0&&n===void 0?_=new Uint8Array(e):n===void 0?_=new Uint8Array(e,o):_=new Uint8Array(e,o,n),Object.setPrototypeOf(_,t.prototype),_}function bn(e){if(t.isBuffer(e)){var o=ao(e.length)|0,n=F(o);return n.length===0||e.copy(n,0,0,o),n}if(e.length!==void 0)return typeof e.length!="number"||ro(e.length)?F(0):no(e);if(e.type==="Buffer"&&Array.isArray(e.data))return no(e.data)}function ao(e){if(e>=H)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+H.toString(16)+" bytes");return e|0}function xn(e){return+e!=e&&(e=0),t.alloc(+e)}t.isBuffer=function(o){return o!=null&&o._isBuffer===!0&&o!==t.prototype};t.compare=function(o,n){if(S(o,Uint8Array)&&(o=t.from(o,o.offset,o.byteLength)),S(n,Uint8Array)&&(n=t.from(n,n.offset,n.byteLength)),!t.isBuffer(o)||!t.isBuffer(n))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(o===n)return 0;for(var _=o.length,p=n.length,r=0,a=Math.min(_,p);r<a;++r)if(o[r]!==n[r]){_=o[r],p=n[r];break}return _<p?-1:p<_?1:0};t.isEncoding=function(o){switch(String(o).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}};t.concat=function(o,n){if(!Array.isArray(o))throw new TypeError('"list" argument must be an Array of Buffers');if(o.length===0)return t.alloc(0);var _;if(n===void 0)for(n=0,_=0;_<o.length;++_)n+=o[_].length;var p=t.allocUnsafe(n),r=0;for(_=0;_<o.length;++_){var a=o[_];if(S(a,Uint8Array))r+a.length>p.length?t.from(a).copy(p,r):Uint8Array.prototype.set.call(p,a,r);else if(t.isBuffer(a))a.copy(p,r);else throw new TypeError('"list" argument must be an Array of Buffers');r+=a.length}return p};function Io(e,o){if(t.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||S(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 n=e.length,_=arguments.length>2&&arguments[2]===!0;if(!_&&n===0)return 0;for(var p=!1;;)switch(o){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":return _o(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return n*2;case"hex":return n>>>1;case"base64":return Ro(e).length;default:if(p)return _?-1:_o(e).length;o=(""+o).toLowerCase(),p=!0}}t.byteLength=Io;function wn(e,o,n){var _=!1;if((o===void 0||o<0)&&(o=0),o>this.length||((n===void 0||n>this.length)&&(n=this.length),n<=0)||(n>>>=0,o>>>=0,n<=o))return"";for(e||(e="utf8");;)switch(e){case"hex":return In(this,o,n);case"utf8":case"utf-8":return Co(this,o,n);case"ascii":return An(this,o,n);case"latin1":case"binary":return Tn(this,o,n);case"base64":return Bn(this,o,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Ln(this,o,n);default:if(_)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),_=!0}}t.prototype._isBuffer=!0;function C(e,o,n){var _=e[o];e[o]=e[n],e[n]=_}t.prototype.swap16=function(){var o=this.length;if(o%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var n=0;n<o;n+=2)C(this,n,n+1);return this};t.prototype.swap32=function(){var o=this.length;if(o%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var n=0;n<o;n+=4)C(this,n,n+3),C(this,n+1,n+2);return this};t.prototype.swap64=function(){var o=this.length;if(o%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var n=0;n<o;n+=8)C(this,n,n+7),C(this,n+1,n+6),C(this,n+2,n+5),C(this,n+3,n+4);return this};t.prototype.toString=function(){var o=this.length;return o===0?"":arguments.length===0?Co(this,0,o):wn.apply(this,arguments)};t.prototype.toLocaleString=t.prototype.toString;t.prototype.equals=function(o){if(!t.isBuffer(o))throw new TypeError("Argument must be a Buffer");return this===o?!0:t.compare(this,o)===0};t.prototype.inspect=function(){var o="",n=z.INSPECT_MAX_BYTES;return o=this.toString("hex",0,n).replace(/(.{2})/g,"$1 ").trim(),this.length>n&&(o+=" ... "),"<Buffer "+o+">"};Eo&&(t.prototype[Eo]=t.prototype.inspect);t.prototype.compare=function(o,n,_,p,r){if(S(o,Uint8Array)&&(o=t.from(o,o.offset,o.byteLength)),!t.isBuffer(o))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof o);if(n===void 0&&(n=0),_===void 0&&(_=o?o.length:0),p===void 0&&(p=0),r===void 0&&(r=this.length),n<0||_>o.length||p<0||r>this.length)throw new RangeError("out of range index");if(p>=r&&n>=_)return 0;if(p>=r)return-1;if(n>=_)return 1;if(n>>>=0,_>>>=0,p>>>=0,r>>>=0,this===o)return 0;for(var a=r-p,c=_-n,m=Math.min(a,c),d=this.slice(p,r),l=o.slice(n,_),i=0;i<m;++i)if(d[i]!==l[i]){a=d[i],c=l[i];break}return a<c?-1:c<a?1:0};function Lo(e,o,n,_,p){if(e.length===0)return-1;if(typeof n=="string"?(_=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),n=+n,ro(n)&&(n=p?0:e.length-1),n<0&&(n=e.length+n),n>=e.length){if(p)return-1;n=e.length-1}else if(n<0)if(p)n=0;else return-1;if(typeof o=="string"&&(o=t.from(o,_)),t.isBuffer(o))return o.length===0?-1:Bo(e,o,n,_,p);if(typeof o=="number")return o=o&255,typeof Uint8Array.prototype.indexOf=="function"?p?Uint8Array.prototype.indexOf.call(e,o,n):Uint8Array.prototype.lastIndexOf.call(e,o,n):Bo(e,[o],n,_,p);throw new TypeError("val must be string, number or Buffer")}function Bo(e,o,n,_,p){var r=1,a=e.length,c=o.length;if(_!==void 0&&(_=String(_).toLowerCase(),_==="ucs2"||_==="ucs-2"||_==="utf16le"||_==="utf-16le")){if(e.length<2||o.length<2)return-1;r=2,a/=2,c/=2,n/=2}function m(b,M){return r===1?b[M]:b.readUInt16BE(M*r)}var d;if(p){var l=-1;for(d=n;d<a;d++)if(m(e,d)===m(o,l===-1?0:d-l)){if(l===-1&&(l=d),d-l+1===c)return l*r}else l!==-1&&(d-=d-l),l=-1}else for(n+c>a&&(n=a-c),d=n;d>=0;d--){for(var i=!0,u=0;u<c;u++)if(m(e,d+u)!==m(o,u)){i=!1;break}if(i)return d}return-1}t.prototype.includes=function(o,n,_){return this.indexOf(o,n,_)!==-1};t.prototype.indexOf=function(o,n,_){return Lo(this,o,n,_,!0)};t.prototype.lastIndexOf=function(o,n,_){return Lo(this,o,n,_,!1)};function yn(e,o,n,_){n=Number(n)||0;var p=e.length-n;_?(_=Number(_),_>p&&(_=p)):_=p;var r=o.length;_>r/2&&(_=r/2);for(var a=0;a<_;++a){var c=parseInt(o.substr(a*2,2),16);if(ro(c))return a;e[n+a]=c}return a}function kn(e,o,n,_){return P(_o(o,e.length-n),e,n,_)}function vn(e,o,n,_){return P(Nn(o),e,n,_)}function Sn(e,o,n,_){return P(Ro(o),e,n,_)}function En(e,o,n,_){return P(Mn(o,e.length-n),e,n,_)}t.prototype.write=function(o,n,_,p){if(n===void 0)p="utf8",_=this.length,n=0;else if(_===void 0&&typeof n=="string")p=n,_=this.length,n=0;else if(isFinite(n))n=n>>>0,isFinite(_)?(_=_>>>0,p===void 0&&(p="utf8")):(p=_,_=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var r=this.length-n;if((_===void 0||_>r)&&(_=r),o.length>0&&(_<0||n<0)||n>this.length)throw new RangeError("Attempt to write outside buffer bounds");p||(p="utf8");for(var a=!1;;)switch(p){case"hex":return yn(this,o,n,_);case"utf8":case"utf-8":return kn(this,o,n,_);case"ascii":case"latin1":case"binary":return vn(this,o,n,_);case"base64":return Sn(this,o,n,_);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return En(this,o,n,_);default:if(a)throw new TypeError("Unknown encoding: "+p);p=(""+p).toLowerCase(),a=!0}};t.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function Bn(e,o,n){return o===0&&n===e.length?oo.fromByteArray(e):oo.fromByteArray(e.slice(o,n))}function Co(e,o,n){n=Math.min(e.length,n);for(var _=[],p=o;p<n;){var r=e[p],a=null,c=r>239?4:r>223?3:r>191?2:1;if(p+c<=n){var m,d,l,i;switch(c){case 1:r<128&&(a=r);break;case 2:m=e[p+1],(m&192)===128&&(i=(r&31)<<6|m&63,i>127&&(a=i));break;case 3:m=e[p+1],d=e[p+2],(m&192)===128&&(d&192)===128&&(i=(r&15)<<12|(m&63)<<6|d&63,i>2047&&(i<55296||i>57343)&&(a=i));break;case 4:m=e[p+1],d=e[p+2],l=e[p+3],(m&192)===128&&(d&192)===128&&(l&192)===128&&(i=(r&15)<<18|(m&63)<<12|(d&63)<<6|l&63,i>65535&&i<1114112&&(a=i))}}a===null?(a=65533,c=1):a>65535&&(a-=65536,_.push(a>>>10&1023|55296),a=56320|a&1023),_.push(a),p+=c}return Fn(_)}var Fo=4096;function Fn(e){var o=e.length;if(o<=Fo)return String.fromCharCode.apply(String,e);for(var n="",_=0;_<o;)n+=String.fromCharCode.apply(String,e.slice(_,_+=Fo));return n}function An(e,o,n){var _="";n=Math.min(e.length,n);for(var p=o;p<n;++p)_+=String.fromCharCode(e[p]&127);return _}function Tn(e,o,n){var _="";n=Math.min(e.length,n);for(var p=o;p<n;++p)_+=String.fromCharCode(e[p]);return _}function In(e,o,n){var _=e.length;(!o||o<0)&&(o=0),(!n||n<0||n>_)&&(n=_);for(var p="",r=o;r<n;++r)p+=Rn[e[r]];return p}function Ln(e,o,n){for(var _=e.slice(o,n),p="",r=0;r<_.length-1;r+=2)p+=String.fromCharCode(_[r]+_[r+1]*256);return p}t.prototype.slice=function(o,n){var _=this.length;o=~~o,n=n===void 0?_:~~n,o<0?(o+=_,o<0&&(o=0)):o>_&&(o=_),n<0?(n+=_,n<0&&(n=0)):n>_&&(n=_),n<o&&(n=o);var p=this.subarray(o,n);return Object.setPrototypeOf(p,t.prototype),p};function f(e,o,n){if(e%1!==0||e<0)throw new RangeError("offset is not uint");if(e+o>n)throw new RangeError("Trying to access beyond buffer length")}t.prototype.readUintLE=t.prototype.readUIntLE=function(o,n,_){o=o>>>0,n=n>>>0,_||f(o,n,this.length);for(var p=this[o],r=1,a=0;++a<n&&(r*=256);)p+=this[o+a]*r;return p};t.prototype.readUintBE=t.prototype.readUIntBE=function(o,n,_){o=o>>>0,n=n>>>0,_||f(o,n,this.length);for(var p=this[o+--n],r=1;n>0&&(r*=256);)p+=this[o+--n]*r;return p};t.prototype.readUint8=t.prototype.readUInt8=function(o,n){return o=o>>>0,n||f(o,1,this.length),this[o]};t.prototype.readUint16LE=t.prototype.readUInt16LE=function(o,n){return o=o>>>0,n||f(o,2,this.length),this[o]|this[o+1]<<8};t.prototype.readUint16BE=t.prototype.readUInt16BE=function(o,n){return o=o>>>0,n||f(o,2,this.length),this[o]<<8|this[o+1]};t.prototype.readUint32LE=t.prototype.readUInt32LE=function(o,n){return o=o>>>0,n||f(o,4,this.length),(this[o]|this[o+1]<<8|this[o+2]<<16)+this[o+3]*16777216};t.prototype.readUint32BE=t.prototype.readUInt32BE=function(o,n){return o=o>>>0,n||f(o,4,this.length),this[o]*16777216+(this[o+1]<<16|this[o+2]<<8|this[o+3])};t.prototype.readIntLE=function(o,n,_){o=o>>>0,n=n>>>0,_||f(o,n,this.length);for(var p=this[o],r=1,a=0;++a<n&&(r*=256);)p+=this[o+a]*r;return r*=128,p>=r&&(p-=Math.pow(2,8*n)),p};t.prototype.readIntBE=function(o,n,_){o=o>>>0,n=n>>>0,_||f(o,n,this.length);for(var p=n,r=1,a=this[o+--p];p>0&&(r*=256);)a+=this[o+--p]*r;return r*=128,a>=r&&(a-=Math.pow(2,8*n)),a};t.prototype.readInt8=function(o,n){return o=o>>>0,n||f(o,1,this.length),this[o]&128?(255-this[o]+1)*-1:this[o]};t.prototype.readInt16LE=function(o,n){o=o>>>0,n||f(o,2,this.length);var _=this[o]|this[o+1]<<8;return _&32768?_|4294901760:_};t.prototype.readInt16BE=function(o,n){o=o>>>0,n||f(o,2,this.length);var _=this[o+1]|this[o]<<8;return _&32768?_|4294901760:_};t.prototype.readInt32LE=function(o,n){return o=o>>>0,n||f(o,4,this.length),this[o]|this[o+1]<<8|this[o+2]<<16|this[o+3]<<24};t.prototype.readInt32BE=function(o,n){return o=o>>>0,n||f(o,4,this.length),this[o]<<24|this[o+1]<<16|this[o+2]<<8|this[o+3]};t.prototype.readFloatLE=function(o,n){return o=o>>>0,n||f(o,4,this.length),R.read(this,o,!0,23,4)};t.prototype.readFloatBE=function(o,n){return o=o>>>0,n||f(o,4,this.length),R.read(this,o,!1,23,4)};t.prototype.readDoubleLE=function(o,n){return o=o>>>0,n||f(o,8,this.length),R.read(this,o,!0,52,8)};t.prototype.readDoubleBE=function(o,n){return o=o>>>0,n||f(o,8,this.length),R.read(this,o,!1,52,8)};function h(e,o,n,_,p,r){if(!t.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(o>p||o<r)throw new RangeError('"value" argument is out of bounds');if(n+_>e.length)throw new RangeError("Index out of range")}t.prototype.writeUintLE=t.prototype.writeUIntLE=function(o,n,_,p){if(o=+o,n=n>>>0,_=_>>>0,!p){var r=Math.pow(2,8*_)-1;h(this,o,n,_,r,0)}var a=1,c=0;for(this[n]=o&255;++c<_&&(a*=256);)this[n+c]=o/a&255;return n+_};t.prototype.writeUintBE=t.prototype.writeUIntBE=function(o,n,_,p){if(o=+o,n=n>>>0,_=_>>>0,!p){var r=Math.pow(2,8*_)-1;h(this,o,n,_,r,0)}var a=_-1,c=1;for(this[n+a]=o&255;--a>=0&&(c*=256);)this[n+a]=o/c&255;return n+_};t.prototype.writeUint8=t.prototype.writeUInt8=function(o,n,_){return o=+o,n=n>>>0,_||h(this,o,n,1,255,0),this[n]=o&255,n+1};t.prototype.writeUint16LE=t.prototype.writeUInt16LE=function(o,n,_){return o=+o,n=n>>>0,_||h(this,o,n,2,65535,0),this[n]=o&255,this[n+1]=o>>>8,n+2};t.prototype.writeUint16BE=t.prototype.writeUInt16BE=function(o,n,_){return o=+o,n=n>>>0,_||h(this,o,n,2,65535,0),this[n]=o>>>8,this[n+1]=o&255,n+2};t.prototype.writeUint32LE=t.prototype.writeUInt32LE=function(o,n,_){return o=+o,n=n>>>0,_||h(this,o,n,4,4294967295,0),this[n+3]=o>>>24,this[n+2]=o>>>16,this[n+1]=o>>>8,this[n]=o&255,n+4};t.prototype.writeUint32BE=t.prototype.writeUInt32BE=function(o,n,_){return o=+o,n=n>>>0,_||h(this,o,n,4,4294967295,0),this[n]=o>>>24,this[n+1]=o>>>16,this[n+2]=o>>>8,this[n+3]=o&255,n+4};t.prototype.writeIntLE=function(o,n,_,p){if(o=+o,n=n>>>0,!p){var r=Math.pow(2,8*_-1);h(this,o,n,_,r-1,-r)}var a=0,c=1,m=0;for(this[n]=o&255;++a<_&&(c*=256);)o<0&&m===0&&this[n+a-1]!==0&&(m=1),this[n+a]=(o/c>>0)-m&255;return n+_};t.prototype.writeIntBE=function(o,n,_,p){if(o=+o,n=n>>>0,!p){var r=Math.pow(2,8*_-1);h(this,o,n,_,r-1,-r)}var a=_-1,c=1,m=0;for(this[n+a]=o&255;--a>=0&&(c*=256);)o<0&&m===0&&this[n+a+1]!==0&&(m=1),this[n+a]=(o/c>>0)-m&255;return n+_};t.prototype.writeInt8=function(o,n,_){return o=+o,n=n>>>0,_||h(this,o,n,1,127,-128),o<0&&(o=255+o+1),this[n]=o&255,n+1};t.prototype.writeInt16LE=function(o,n,_){return o=+o,n=n>>>0,_||h(this,o,n,2,32767,-32768),this[n]=o&255,this[n+1]=o>>>8,n+2};t.prototype.writeInt16BE=function(o,n,_){return o=+o,n=n>>>0,_||h(this,o,n,2,32767,-32768),this[n]=o>>>8,this[n+1]=o&255,n+2};t.prototype.writeInt32LE=function(o,n,_){return o=+o,n=n>>>0,_||h(this,o,n,4,2147483647,-2147483648),this[n]=o&255,this[n+1]=o>>>8,this[n+2]=o>>>16,this[n+3]=o>>>24,n+4};t.prototype.writeInt32BE=function(o,n,_){return o=+o,n=n>>>0,_||h(this,o,n,4,2147483647,-2147483648),o<0&&(o=4294967295+o+1),this[n]=o>>>24,this[n+1]=o>>>16,this[n+2]=o>>>8,this[n+3]=o&255,n+4};function Uo(e,o,n,_,p,r){if(n+_>e.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function No(e,o,n,_,p){return o=+o,n=n>>>0,p||Uo(e,o,n,4,34028234663852886e22,-34028234663852886e22),R.write(e,o,n,_,23,4),n+4}t.prototype.writeFloatLE=function(o,n,_){return No(this,o,n,!0,_)};t.prototype.writeFloatBE=function(o,n,_){return No(this,o,n,!1,_)};function Mo(e,o,n,_,p){return o=+o,n=n>>>0,p||Uo(e,o,n,8,17976931348623157e292,-17976931348623157e292),R.write(e,o,n,_,52,8),n+8}t.prototype.writeDoubleLE=function(o,n,_){return Mo(this,o,n,!0,_)};t.prototype.writeDoubleBE=function(o,n,_){return Mo(this,o,n,!1,_)};t.prototype.copy=function(o,n,_,p){if(!t.isBuffer(o))throw new TypeError("argument should be a Buffer");if(_||(_=0),!p&&p!==0&&(p=this.length),n>=o.length&&(n=o.length),n||(n=0),p>0&&p<_&&(p=_),p===_||o.length===0||this.length===0)return 0;if(n<0)throw new RangeError("targetStart out of bounds");if(_<0||_>=this.length)throw new RangeError("Index out of range");if(p<0)throw new RangeError("sourceEnd out of bounds");p>this.length&&(p=this.length),o.length-n<p-_&&(p=o.length-n+_);var r=p-_;return this===o&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(n,_,p):Uint8Array.prototype.set.call(o,this.subarray(_,p),n),r};t.prototype.fill=function(o,n,_,p){if(typeof o=="string"){if(typeof n=="string"?(p=n,n=0,_=this.length):typeof _=="string"&&(p=_,_=this.length),p!==void 0&&typeof p!="string")throw new TypeError("encoding must be a string");if(typeof p=="string"&&!t.isEncoding(p))throw new TypeError("Unknown encoding: "+p);if(o.length===1){var r=o.charCodeAt(0);(p==="utf8"&&r<128||p==="latin1")&&(o=r)}}else typeof o=="number"?o=o&255:typeof o=="boolean"&&(o=Number(o));if(n<0||this.length<n||this.length<_)throw new RangeError("Out of range index");if(_<=n)return this;n=n>>>0,_=_===void 0?this.length:_>>>0,o||(o=0);var a;if(typeof o=="number")for(a=n;a<_;++a)this[a]=o;else{var c=t.isBuffer(o)?o:t.from(o,p),m=c.length;if(m===0)throw new TypeError('The value "'+o+'" is invalid for argument "value"');for(a=0;a<_-n;++a)this[a+n]=c[a%m]}return this};var Cn=/[^+/0-9A-Za-z-_]/g;function Un(e){if(e=e.split("=")[0],e=e.trim().replace(Cn,""),e.length<2)return"";for(;e.length%4!==0;)e=e+"=";return e}function _o(e,o){o=o||1/0;for(var n,_=e.length,p=null,r=[],a=0;a<_;++a){if(n=e.charCodeAt(a),n>55295&&n<57344){if(!p){if(n>56319){(o-=3)>-1&&r.push(239,191,189);continue}else if(a+1===_){(o-=3)>-1&&r.push(239,191,189);continue}p=n;continue}if(n<56320){(o-=3)>-1&&r.push(239,191,189),p=n;continue}n=(p-55296<<10|n-56320)+65536}else p&&(o-=3)>-1&&r.push(239,191,189);if(p=null,n<128){if((o-=1)<0)break;r.push(n)}else if(n<2048){if((o-=2)<0)break;r.push(n>>6|192,n&63|128)}else if(n<65536){if((o-=3)<0)break;r.push(n>>12|224,n>>6&63|128,n&63|128)}else if(n<1114112){if((o-=4)<0)break;r.push(n>>18|240,n>>12&63|128,n>>6&63|128,n&63|128)}else throw new Error("Invalid code point")}return r}function Nn(e){for(var o=[],n=0;n<e.length;++n)o.push(e.charCodeAt(n)&255);return o}function Mn(e,o){for(var n,_,p,r=[],a=0;a<e.length&&!((o-=2)<0);++a)n=e.charCodeAt(a),_=n>>8,p=n%256,r.push(p),r.push(_);return r}function Ro(e){return oo.toByteArray(Un(e))}function P(e,o,n,_){for(var p=0;p<_&&!(p+n>=o.length||p>=e.length);++p)o[p+n]=e[p];return p}function S(e,o){return e instanceof o||e!=null&&e.constructor!=null&&e.constructor.name!=null&&e.constructor.name===o.name}function ro(e){return e!==e}var Rn=function(){for(var e="0123456789abcdef",o=new Array(256),n=0;n<16;++n)for(var _=n*16,p=0;p<16;++p)o[_+p]=e[n]+e[p];return o}()});var qo=q(($n,Xo)=>{s();var g=Xo.exports={},E,B;function to(){throw new Error("setTimeout has not been defined")}function mo(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?E=setTimeout:E=to}catch(e){E=to}try{typeof clearTimeout=="function"?B=clearTimeout:B=mo}catch(e){B=mo}})();function Do(e){if(E===setTimeout)return setTimeout(e,0);if((E===to||!E)&&setTimeout)return E=setTimeout,setTimeout(e,0);try{return E(e,0)}catch(o){try{return E.call(null,e,0)}catch(n){return E.call(this,e,0)}}}function zn(e){if(B===clearTimeout)return clearTimeout(e);if((B===mo||!B)&&clearTimeout)return B=clearTimeout,clearTimeout(e);try{return B(e)}catch(o){try{return B.call(null,e)}catch(n){return B.call(this,e)}}}var A=[],D=!1,U,Y=-1;function Dn(){!D||!U||(D=!1,U.length?A=U.concat(A):Y=-1,A.length&&jo())}function jo(){if(!D){var e=Do(Dn);D=!0;for(var o=A.length;o;){for(U=A,A=[];++Y<o;)U&&U[Y].run();Y=-1,o=A.length}U=null,D=!1,zn(e)}}g.nextTick=function(e){var o=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)o[n-1]=arguments[n];A.push(new Wo(e,o)),A.length===1&&!D&&Do(jo)};function Wo(e,o){this.fun=e,this.array=o}Wo.prototype.run=function(){this.fun.apply(null,this.array)};g.title="browser";g.browser=!0;g.env={};g.argv=[];g.version="";g.versions={};function T(){}g.on=T;g.addListener=T;g.once=T;g.off=T;g.removeListener=T;g.removeAllListeners=T;g.emit=T;g.prependListener=T;g.prependOnceListener=T;g.listeners=function(e){return[]};g.binding=function(e){throw new Error("process.binding is not supported")};g.cwd=function(){return"/"};g.chdir=function(e){throw new Error("process.chdir is not supported")};g.umask=function(){return 0}});var w,y,Qn,s=J(()=>{w=I(zo()),y=I(qo()),Qn=function(e){function o(){var _=this||self;return delete e.prototype.__magic__,_}if(typeof globalThis=="object")return globalThis;if(this)return o();e.defineProperty(e.prototype,"__magic__",{configurable:!0,get:o});var n=__magic__;return n}(Object)});var co={};O(co,{css:()=>Yo,default:()=>Wn});var Yo,Wn,io=J(()=>{"use strict";s();Yo=`.dapp-core-component__main__link-style {
2
2
  color: #1392ff;
3
3
  }
4
4
 
@@ -2722,7 +2722,7 @@ a.dapp-core-component__main__side-link::after {
2722
2722
  font-size: 66%;
2723
2723
  position: relative;
2724
2724
  top: -0.125em;
2725
- }`;document.head.appendChild(document.createElement("style")).appendChild(document.createTextNode($o));Gn={balance:"dapp-core-component__balanceStyles__balance",balanceApproximation:"dapp-core-component__balanceStyles__balanceApproximation",balanceSymbol:"dapp-core-component__balanceStyles__balanceSymbol",balanceDecimals:"dapp-core-component__balanceStyles__balanceDecimals",balanceSuffix:"dapp-core-component__balanceStyles__balanceSuffix",balanceSuffixSup:"dapp-core-component__balanceStyles__balanceSuffixSup"}});var Pn={};O(Pn,{Balance:()=>Hn,BalanceComponent:()=>Qo});module.exports=$(Pn);s();var N=I(require("react")),fo=I(require("classnames"));s();var V=I(require("react")),jn=e=>V.createElement("svg",X({width:200,height:200,viewBox:"5 5 10.55 21",fill:"#23f7dd",xmlns:"http://www.w3.org/2000/svg",className:"herotag-logo"},e),V.createElement("g",null,V.createElement("path",{d:"M11.3288 15.0673L20.4563 10.168L18.9218 7.20471L10.5638 10.6011C10.3486 10.6887 10.11 10.6887 9.89482 10.6011L1.53452 7.20708L0 10.168L9.12756 15.0673L0 19.9666L1.53452 22.9299L9.89248 19.5335C10.1077 19.4459 10.3463 19.4459 10.5615 19.5335L18.9195 22.9299L20.454 19.9666L11.3264 15.0673H11.3288Z"}))),Go=jn;s();var Jo=I(require("react"));s();var W=I(require("react"));s();s();var Ho=()=>typeof window!="undefined"&&typeof(window==null?void 0:window.location)!="undefined";var Po=()=>!Ho();var Xn=()=>Q(void 0,null,function*(){return yield Promise.resolve().then(()=>(io(),co))}),qn=()=>(io(),$(co)).default,lo=Po();function Vo({ssrGlobalImportCallback:e,ssrImportCallback:o,clientImportCallback:n}){let[_,p]=W.default.useState(lo?void 0:qn()),[r,a]=W.default.useState(lo||n==null?void 0:n()),c=()=>Q(this,null,function*(){(e?e():Xn()).then(m=>p(m.default)),o==null||o().then(m=>a(m.default))});return(0,W.useEffect)(()=>{lo&&c()},[]),{globalStyles:_,styles:r}}function Oo(e,o){return n=>{let{globalStyles:_,styles:p}=Vo({ssrGlobalImportCallback:o.ssrGlobalStyles,ssrImportCallback:o.ssrStyles,clientImportCallback:o.clientStyles});return Jo.default.createElement(e,xo(X({},n),{globalStyles:_!=null?_:{},styles:p!=null?p:{}}))}}var Qo=({amount:e,displayAsUsd:o,addEqualSign:n,egldIcon:_,className:p,showEgldLabel:r=!0,styles:a,egldLabel:c,showEgldLabelSup:m})=>{let[i,l]=e.split("."),d=o&&i.indexOf("$")<0?`$${i}`:i;return N.default.createElement("div",{className:(0,fo.default)(a==null?void 0:a.balance,p)},_&&!o&&N.default.createElement(Go,{className:a==null?void 0:a.balanceSymbol}),n&&o&&N.default.createElement("span",{className:a==null?void 0:a.balanceApproximation},"\u2248"),N.default.createElement("span",{className:a==null?void 0:a.balanceMain},d),l&&N.default.createElement("span",{className:a==null?void 0:a.balanceDecimals},".",l),!o&&r&&N.default.createElement("span",{className:(0,fo.default)(a==null?void 0:a.balanceSuffix,{[a==null?void 0:a.balanceSuffixSup]:m})},c))},Hn=Oo(Qo,{ssrStyles:()=>Promise.resolve().then(()=>(go(),so)),clientStyles:()=>(go(),$(so)).default});0&&(module.exports={Balance,BalanceComponent});
2725
+ }`;document.head.appendChild(document.createElement("style")).appendChild(document.createTextNode($o));Gn={balance:"dapp-core-component__balanceStyles__balance",balanceApproximation:"dapp-core-component__balanceStyles__balanceApproximation",balanceSymbol:"dapp-core-component__balanceStyles__balanceSymbol",balanceDecimals:"dapp-core-component__balanceStyles__balanceDecimals",balanceSuffix:"dapp-core-component__balanceStyles__balanceSuffix",balanceSuffixSup:"dapp-core-component__balanceStyles__balanceSuffixSup"}});var Pn={};O(Pn,{Balance:()=>Hn,BalanceComponent:()=>Qo});module.exports=$(Pn);s();var N=I(require("react")),fo=I(require("classnames"));s();var V=I(require("react")),jn=e=>V.createElement("svg",X({width:200,height:200,viewBox:"5 5 10.55 21",fill:"#23f7dd",xmlns:"http://www.w3.org/2000/svg",className:"herotag-logo"},e),V.createElement("g",null,V.createElement("path",{d:"M11.3288 15.0673L20.4563 10.168L18.9218 7.20471L10.5638 10.6011C10.3486 10.6887 10.11 10.6887 9.89482 10.6011L1.53452 7.20708L0 10.168L9.12756 15.0673L0 19.9666L1.53452 22.9299L9.89248 19.5335C10.1077 19.4459 10.3463 19.4459 10.5615 19.5335L18.9195 22.9299L20.454 19.9666L11.3264 15.0673H11.3288Z"}))),Go=jn;s();var Jo=I(require("react"));s();var W=I(require("react"));s();s();var Ho=()=>typeof window!="undefined"&&typeof(window==null?void 0:window.location)!="undefined";var Po=()=>!Ho();var Xn=()=>Q(void 0,null,function*(){return yield Promise.resolve().then(()=>(io(),co))}),qn=()=>(io(),$(co)).default,lo=Po();function Vo({ssrGlobalImportCallback:e,ssrImportCallback:o,clientImportCallback:n}){let[_,p]=W.default.useState(lo?void 0:qn()),[r,a]=W.default.useState(lo||n==null?void 0:n()),c=()=>Q(this,null,function*(){(e?e():Xn()).then(m=>p(m.default)),o==null||o().then(m=>a(m.default))});return(0,W.useEffect)(()=>{lo&&c()},[]),{globalStyles:_,styles:r}}function Oo(e,o){return n=>{let{globalStyles:_,styles:p}=Vo({ssrGlobalImportCallback:o.ssrGlobalStyles,ssrImportCallback:o.ssrStyles,clientImportCallback:o.clientStyles});return Jo.default.createElement(e,xo(X({},n),{globalStyles:_!=null?_:{},styles:p!=null?p:{}}))}}var Qo=({amount:e,displayAsUsd:o,addEqualSign:n,egldIcon:_,className:p,showEgldLabel:r=!0,styles:a,egldLabel:c,showEgldLabelSup:m,"data-testid":d})=>{let[l,i]=e.split("."),u=o&&l.indexOf("$")<0?`$${l}`:l;return N.default.createElement("div",{className:(0,fo.default)(a==null?void 0:a.balance,p),"data-testid":d},_&&!o&&N.default.createElement(Go,{className:a==null?void 0:a.balanceSymbol}),n&&o&&N.default.createElement("span",{className:a==null?void 0:a.balanceApproximation},"\u2248"),N.default.createElement("span",{className:a==null?void 0:a.balanceMain},u),i&&N.default.createElement("span",{className:a==null?void 0:a.balanceDecimals},".",i),!o&&r&&N.default.createElement("span",{className:(0,fo.default)(a==null?void 0:a.balanceSuffix,{[a==null?void 0:a.balanceSuffixSup]:m})},c))},Hn=Oo(Qo,{ssrStyles:()=>Promise.resolve().then(()=>(go(),so)),clientStyles:()=>(go(),$(so)).default});0&&(module.exports={Balance,BalanceComponent});
2726
2726
  /*!
2727
2727
  * The buffer module from node.js, for the browser.
2728
2728
  *