@multiversx/sdk-dapp 2.40.5 → 2.40.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (828) hide show
  1. package/UI/Denominate/index.js +1 -1
  2. package/UI/ExplorerLink/ExplorerLink.js +1 -1
  3. package/UI/ExplorerLink/index.js +1 -1
  4. package/UI/FormatAmount/FormatAmount.js +1 -1
  5. package/UI/FormatAmount/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/components/ConfirmAmountData/ConfirmAmountData.js +1 -1
  16. package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmAmount/components/ConfirmAmountData/index.js +1 -1
  17. package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmAmount/components/ConfirmAmountNftSft/ConfirmAmountNftSft.js +1 -1
  18. package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmAmount/components/ConfirmAmountNftSft/index.js +1 -1
  19. package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmAmount/components/index.js +1 -1
  20. package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmAmount/index.js +1 -1
  21. package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmFee/ConfirmFee.js +1 -1
  22. package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmFee/index.js +1 -1
  23. package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmReceiver/ConfirmReceiver.js +1 -1
  24. package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmReceiver/index.js +1 -1
  25. package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/index.js +1 -1
  26. package/UI/SignTransactionsModals/SignWithDeviceModal/components/index.js +1 -1
  27. package/UI/SignTransactionsModals/SignWithDeviceModal/index.js +1 -1
  28. package/UI/SignTransactionsModals/SignWithExtensionModal/SignWithExtensionModal.js +1 -1
  29. package/UI/SignTransactionsModals/SignWithExtensionModal/index.js +1 -1
  30. package/UI/SignTransactionsModals/SignWithExtraModal/SignWithExtraModal.js +1 -1
  31. package/UI/SignTransactionsModals/SignWithExtraModal/index.js +1 -1
  32. package/UI/SignTransactionsModals/SignWithIframeModal/SignWithIframeModal.js +1 -1
  33. package/UI/SignTransactionsModals/SignWithIframeModal/index.js +1 -1
  34. package/UI/SignTransactionsModals/SignWithLedgerModal/LedgerGuardianSigningModalError.js +1 -1
  35. package/UI/SignTransactionsModals/SignWithLedgerModal/SignWithLedgerModal.js +1 -1
  36. package/UI/SignTransactionsModals/SignWithLedgerModal/index.js +1 -1
  37. package/UI/SignTransactionsModals/SignWithMetamaskModal/SignWithMetamaskModal.js +1 -1
  38. package/UI/SignTransactionsModals/SignWithMetamaskModal/index.js +1 -1
  39. package/UI/SignTransactionsModals/SignWithPasskeyModal/SignWithPasskeyModal.js +1 -1
  40. package/UI/SignTransactionsModals/SignWithPasskeyModal/index.js +1 -1
  41. package/UI/SignTransactionsModals/components/ConfirmationScreen.js +1 -1
  42. package/UI/SignTransactionsModals/components/DeviceConfirmationScreen.js +1 -1
  43. package/UI/SignTransactionsModals/components/TransactionStatusToast.js +1 -1
  44. package/UI/SignTransactionsModals/components/index.js +1 -1
  45. package/UI/SignTransactionsModals/index.js +1 -1
  46. package/UI/TokenDetails/index.js +1 -1
  47. package/UI/TransactionDetails/TransactionDetails.js +1 -1
  48. package/UI/TransactionDetails/components/TransactionDetailsBody.js +1 -1
  49. package/UI/TransactionDetails/components/index.js +1 -1
  50. package/UI/TransactionDetails/index.js +1 -1
  51. package/UI/TransactionInfo/TransactionInfo.js +1 -1
  52. package/UI/TransactionInfo/components/AddressDetailItem/AddressDetailitem.js +1 -1
  53. package/UI/TransactionInfo/components/AddressDetailItem/index.js +1 -1
  54. package/UI/TransactionInfo/components/DataDecode/DataDecode.js +1 -1
  55. package/UI/TransactionInfo/components/DataDecode/index.js +1 -1
  56. package/UI/TransactionInfo/components/DataField/DataField.js +1 -1
  57. package/UI/TransactionInfo/components/DataField/index.js +1 -1
  58. package/UI/TransactionInfo/components/EventsList/EventsList.js +1 -1
  59. package/UI/TransactionInfo/components/EventsList/index.js +1 -1
  60. package/UI/TransactionInfo/components/NonceMessage/NonceMessage.js +1 -1
  61. package/UI/TransactionInfo/components/NonceMessage/index.js +1 -1
  62. package/UI/TransactionInfo/components/OperationsList/OperationList.js +1 -1
  63. package/UI/TransactionInfo/components/OperationsList/components/DetailedItem.js +1 -1
  64. package/UI/TransactionInfo/components/OperationsList/components/OperationBlock.js +1 -1
  65. package/UI/TransactionInfo/components/OperationsList/components/OperationRow.js +1 -1
  66. package/UI/TransactionInfo/components/OperationsList/components/OperationText.js +1 -1
  67. package/UI/TransactionInfo/components/OperationsList/components/OperationToken.js +1 -1
  68. package/UI/TransactionInfo/components/OperationsList/components/index.js +1 -1
  69. package/UI/TransactionInfo/components/OperationsList/index.js +1 -1
  70. package/UI/TransactionInfo/components/ScResultsList/ScResultsList.js +1 -1
  71. package/UI/TransactionInfo/components/ScResultsList/components/ResultData/ResultData.js +1 -1
  72. package/UI/TransactionInfo/components/ScResultsList/components/ResultData/index.js +1 -1
  73. package/UI/TransactionInfo/components/ScResultsList/components/ResultHash/ResultHash.js +1 -1
  74. package/UI/TransactionInfo/components/ScResultsList/components/ResultHash/index.js +1 -1
  75. package/UI/TransactionInfo/components/ScResultsList/components/ResultReceiver/ResultReceiver.js +1 -1
  76. package/UI/TransactionInfo/components/ScResultsList/components/ResultReceiver/index.js +1 -1
  77. package/UI/TransactionInfo/components/ScResultsList/components/ResultSender/ResultSender.js +1 -1
  78. package/UI/TransactionInfo/components/ScResultsList/components/ResultSender/index.js +1 -1
  79. package/UI/TransactionInfo/components/ScResultsList/index.js +1 -1
  80. package/UI/TransactionInfo/components/ScrDetailItem/ScrDetailItem.js +1 -1
  81. package/UI/TransactionInfo/components/ScrDetailItem/index.js +1 -1
  82. package/UI/TransactionInfo/components/TransactionAction/TransactionAction.js +1 -1
  83. package/UI/TransactionInfo/components/TransactionAction/components/ActionText/index.js +1 -1
  84. package/UI/TransactionInfo/components/TransactionAction/components/ActionToken.js +1 -1
  85. package/UI/TransactionInfo/components/TransactionAction/components/TransactionActionBlock/components/TransactionActionCollection.js +1 -1
  86. package/UI/TransactionInfo/components/TransactionAction/components/TransactionActionBlock/components/TransactionActionNft.js +1 -1
  87. package/UI/TransactionInfo/components/TransactionAction/components/TransactionActionBlock/components/TransactionActionToken.js +1 -1
  88. package/UI/TransactionInfo/components/TransactionAction/components/TransactionActionBlock/components/index.js +1 -1
  89. package/UI/TransactionInfo/components/TransactionAction/components/TransactionActionBlock/index.js +1 -1
  90. package/UI/TransactionInfo/components/TransactionAction/components/index.js +1 -1
  91. package/UI/TransactionInfo/components/TransactionAction/index.js +1 -1
  92. package/UI/TransactionInfo/components/TransactionLogs/TransactionLogs.js +1 -1
  93. package/UI/TransactionInfo/components/TransactionLogs/index.js +1 -1
  94. package/UI/TransactionInfo/components/TransactionStatus/TransactionStatus.js +1 -1
  95. package/UI/TransactionInfo/components/TransactionStatus/index.js +1 -1
  96. package/UI/TransactionInfo/components/index.js +1 -1
  97. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoFee/TransactionInfoFee.js +1 -1
  98. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoFee/index.js +1 -1
  99. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoFrom/TransactionInfoFrom.js +1 -1
  100. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoFrom/index.js +1 -1
  101. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoGasUsed/TransactionInfoGasUsed.js +1 -1
  102. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoGasUsed/index.js +1 -1
  103. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoInputData/TransactionInfoInputData.js +1 -1
  104. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoInputData/index.js +1 -1
  105. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoMethod/TransactionInfoMethod.js +1 -1
  106. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoMethod/index.js +1 -1
  107. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoMiniblock/TransactionInfoMiniblock.js +1 -1
  108. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoMiniblock/index.js +1 -1
  109. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoNonce/TransactionInfoNonce.js +1 -1
  110. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoNonce/index.js +1 -1
  111. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoScResults/TransactionInfoScResults.js +1 -1
  112. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoScResults/index.js +1 -1
  113. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoStatus/TransactionInfoStatus.js +1 -1
  114. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoStatus/index.js +1 -1
  115. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoTo/TransactionInfoTo.js +1 -1
  116. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoTo/index.js +1 -1
  117. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoTokenOperations/TransactionInfoTokenOperations.js +1 -1
  118. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoTokenOperations/index.js +1 -1
  119. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoValue/TransactionInfoValue.js +1 -1
  120. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoValue/index.js +1 -1
  121. package/UI/TransactionInfo/components/transactionInfoFields/index.js +1 -1
  122. package/UI/TransactionInfo/index.js +1 -1
  123. package/UI/TransactionsTable/TransactionsTable.js +1 -1
  124. package/UI/TransactionsTable/components/AccountName.js +1 -1
  125. package/UI/TransactionsTable/components/LockedTokenAddressIcon.js +1 -1
  126. package/UI/TransactionsTable/components/ScAddressIcon.js +1 -1
  127. package/UI/TransactionsTable/components/TransactionHash.js +1 -1
  128. package/UI/TransactionsTable/components/TransactionReceiver.js +1 -1
  129. package/UI/TransactionsTable/components/TransactionRow.js +1 -1
  130. package/UI/TransactionsTable/components/TransactionSender.js +1 -1
  131. package/UI/TransactionsTable/components/TransactionShardsTransition.js +1 -1
  132. package/UI/TransactionsTable/components/TransactionValue/TransactionValue.js +1 -1
  133. package/UI/TransactionsTable/components/TransactionValue/index.js +1 -1
  134. package/UI/TransactionsTable/components/index.js +1 -1
  135. package/UI/TransactionsTable/index.js +1 -1
  136. package/UI/TransactionsToastList/TransactionsToastList.js +1 -1
  137. package/UI/TransactionsToastList/components/CustomToast/CustomToast.js +1 -1
  138. package/UI/TransactionsToastList/components/CustomToast/components/CustomComponentToast.js +1 -1
  139. package/UI/TransactionsToastList/components/CustomToast/components/IconToast/IconToast.js +1 -1
  140. package/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/IconToastFooter.js +1 -1
  141. package/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/components/TransactionToastFooter.js +1 -1
  142. package/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/components/index.js +1 -1
  143. package/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/index.js +1 -1
  144. package/UI/TransactionsToastList/components/CustomToast/components/IconToast/index.js +1 -1
  145. package/UI/TransactionsToastList/components/CustomToast/components/SimpleToast.js +1 -1
  146. package/UI/TransactionsToastList/components/CustomToast/components/index.js +1 -1
  147. package/UI/TransactionsToastList/components/CustomToast/helpers/index.js +1 -1
  148. package/UI/TransactionsToastList/components/CustomToast/helpers/useMemoizedCloseButton.js +1 -1
  149. package/UI/TransactionsToastList/components/CustomToast/index.js +1 -1
  150. package/UI/TransactionsToastList/components/TransactionToast/TransactionToast.js +1 -1
  151. package/UI/TransactionsToastList/components/TransactionToast/components/TransactionToastContent.js +1 -1
  152. package/UI/TransactionsToastList/components/TransactionToast/components/index.js +1 -1
  153. package/UI/TransactionsToastList/components/TransactionToast/hooks/useTransactionToast.js +1 -1
  154. package/UI/TransactionsToastList/components/TransactionToast/index.js +1 -1
  155. package/UI/TransactionsToastList/components/TransactionToastGuard.js +1 -1
  156. package/UI/TransactionsToastList/components/index.js +1 -1
  157. package/UI/TransactionsToastList/index.js +1 -1
  158. package/UI/Trim/Trim.js +1 -1
  159. package/UI/Trim/index.js +1 -1
  160. package/UI/extension/ExtensionLoginButton/ExtensionLoginButton.js +1 -1
  161. package/UI/extension/ExtensionLoginButton/index.js +1 -1
  162. package/UI/iframe/IframeLoginButton/IframeButton.js +1 -1
  163. package/UI/iframe/IframeLoginButton/index.js +1 -1
  164. package/UI/index.js +1 -1
  165. package/UI/ledger/LedgerLoginButton/LedgerLoginButton.js +1 -1
  166. package/UI/ledger/LedgerLoginButton/index.js +1 -1
  167. package/UI/ledger/LedgerLoginContainer/AddressRow/AddressRow.js +1 -1
  168. package/UI/ledger/LedgerLoginContainer/AddressRow/index.js +1 -1
  169. package/UI/ledger/LedgerLoginContainer/AddressTable/AddressTable.js +1 -1
  170. package/UI/ledger/LedgerLoginContainer/AddressTable/index.js +1 -1
  171. package/UI/ledger/LedgerLoginContainer/ConfirmAddress/ConfirmAddress.js +1 -1
  172. package/UI/ledger/LedgerLoginContainer/ConfirmAddress/index.js +1 -1
  173. package/UI/ledger/LedgerLoginContainer/LedgerLoginContainer.js +1 -1
  174. package/UI/ledger/LedgerLoginContainer/LedgerLoginContent/LedgerLoginContent.js +1 -1
  175. package/UI/ledger/LedgerLoginContainer/LedgerLoginContent/index.js +1 -1
  176. package/UI/ledger/LedgerLoginContainer/LedgerLoginContentBody/LedgerLoginContentBody.js +1 -1
  177. package/UI/ledger/LedgerLoginContainer/LedgerLoginContentBody/index.js +1 -1
  178. package/UI/ledger/LedgerLoginContainer/LedgerScamPhishingAlert/LedgerScamPhishingAlert.js +1 -1
  179. package/UI/ledger/LedgerLoginContainer/LedgerScamPhishingAlert/index.js +1 -1
  180. package/UI/ledger/LedgerLoginContainer/index.js +1 -1
  181. package/UI/ledger/index.js +1 -1
  182. package/UI/metamask/MetamaskLoginButton/MetamaskLoginButton.js +1 -1
  183. package/UI/metamask/MetamaskLoginButton/index.js +1 -1
  184. package/UI/operaWallet/OperaWalletLoginButton/OperaWalletLoginButton.js +1 -1
  185. package/UI/operaWallet/OperaWalletLoginButton/index.js +1 -1
  186. package/UI/pages/UnlockPage/index.js +1 -1
  187. package/UI/pages/index.js +1 -1
  188. package/UI/passkey/PasskeyLoginButton/PasskeyLoginButton.js +1 -1
  189. package/UI/passkey/PasskeyLoginButton/index.js +1 -1
  190. package/UI/walletConnect/WalletConnectLoginButton/WalletConnectLoginButton.js +1 -1
  191. package/UI/walletConnect/WalletConnectLoginButton/index.js +1 -1
  192. package/UI/walletConnect/WalletConnectLoginContainer/WalletConnectLoginContainer.js +1 -1
  193. package/UI/walletConnect/WalletConnectLoginContainer/WalletConnectLoginContent/WalletConnectLoginContent.js +1 -1
  194. package/UI/walletConnect/WalletConnectLoginContainer/WalletConnectLoginContent/index.js +1 -1
  195. package/UI/walletConnect/WalletConnectLoginContainer/index.js +1 -1
  196. package/UI/walletConnect/index.js +1 -1
  197. package/UI/webWallet/CrossWindowLoginButton/CrossWindowLoginButton.js +1 -1
  198. package/UI/webWallet/CrossWindowLoginButton/index.js +1 -1
  199. package/UI/webWallet/WebWalletLoginButton/WebWalletLoginButton.js +1 -1
  200. package/UI/webWallet/WebWalletLoginButton/index.js +1 -1
  201. package/UI/webWallet/XaliasCrossWindowLoginButton/XaliasCrossWindowLoginButton.js +1 -1
  202. package/UI/webWallet/XaliasCrossWindowLoginButton/index.js +1 -1
  203. package/UI/webWallet/XaliasLoginButton/XaliasLoginButton.js +1 -1
  204. package/UI/webWallet/XaliasLoginButton/index.js +1 -1
  205. package/__chunks__/{chunk-GTTQMZBT.js → chunk-256ELXUN.js} +2 -2
  206. package/__chunks__/{chunk-JCNAOAHB.js → chunk-2I2CD3JW.js} +2 -2
  207. package/__chunks__/chunk-2O3XAXVP.js +2 -0
  208. package/__chunks__/chunk-2P4QW6L2.js +2 -0
  209. package/__chunks__/{chunk-D6AWNAHC.js → chunk-2RBMIVLO.js} +2 -2
  210. package/__chunks__/{chunk-ORD45C6B.js → chunk-2SUDHD3F.js} +2 -2
  211. package/__chunks__/{chunk-42XO3XDT.js → chunk-2ULLNCOZ.js} +2 -2
  212. package/__chunks__/{chunk-W3CUABJ2.js → chunk-2YGGTKCM.js} +2 -2
  213. package/__chunks__/{chunk-H7A3B56E.js → chunk-33C5OTPC.js} +2 -2
  214. package/__chunks__/{chunk-PMIUKWDC.js → chunk-3CI3JNO2.js} +2 -2
  215. package/__chunks__/{chunk-6BE7QH2R.js → chunk-3IUCDOHS.js} +2 -2
  216. package/__chunks__/{chunk-WJBFGFNP.js → chunk-3KBUXJNU.js} +2 -2
  217. package/__chunks__/{chunk-7H6ICC2C.js → chunk-3QMF6PSW.js} +2 -2
  218. package/__chunks__/{chunk-TAXES22D.js → chunk-3SLF3S4V.js} +2 -2
  219. package/__chunks__/{chunk-H2JJPQCB.js → chunk-3SV3CIMC.js} +2 -2
  220. package/__chunks__/{chunk-ZI7DR2J3.js → chunk-3W6UEGJU.js} +2 -2
  221. package/__chunks__/{chunk-GHJFKD4B.js → chunk-4EUNTSNN.js} +2 -2
  222. package/__chunks__/{chunk-GMGOHWFR.js → chunk-4FZRLMXO.js} +2 -2
  223. package/__chunks__/{chunk-EDCV2TZQ.js → chunk-4K3BTVR7.js} +2 -2
  224. package/__chunks__/{chunk-ONKEXPNQ.js → chunk-4MVNCUTP.js} +2 -2
  225. package/__chunks__/{chunk-H3FGN72B.js → chunk-4OYQINH3.js} +2 -2
  226. package/__chunks__/{chunk-TPTVNJLE.js → chunk-4PPUW3MU.js} +2 -2
  227. package/__chunks__/{chunk-KDPBQM7D.js → chunk-4SECHEFP.js} +2 -2
  228. package/__chunks__/{chunk-CKA5JFH5.js → chunk-4WBOQ2JX.js} +2 -2
  229. package/__chunks__/{chunk-JJFHJEWJ.js → chunk-5BARWVI6.js} +2 -2
  230. package/__chunks__/{chunk-R65FEYIW.js → chunk-5BLO5LC4.js} +2 -2
  231. package/__chunks__/{chunk-DRUENIF6.js → chunk-5DNMHYUQ.js} +2 -2
  232. package/__chunks__/{chunk-Z7OIXQYX.js → chunk-5I4EOIWP.js} +2 -2
  233. package/__chunks__/{chunk-OW5RAG33.js → chunk-5LLZAO75.js} +2 -2
  234. package/__chunks__/{chunk-I335IWQB.js → chunk-5P2LHLTD.js} +2 -2
  235. package/__chunks__/{chunk-EQUQ7BRA.js → chunk-5UF3KVGT.js} +2 -2
  236. package/__chunks__/{chunk-OHGSFOQA.js → chunk-647EPCPB.js} +2 -2
  237. package/__chunks__/chunk-64Y5SFL2.js +2 -0
  238. package/__chunks__/{chunk-UDOUGPVZ.js → chunk-6AQMPEBH.js} +2 -2
  239. package/__chunks__/{chunk-KBNEFBJT.js → chunk-6DKTUH4L.js} +2 -2
  240. package/__chunks__/chunk-6NNKJDPQ.js +2 -0
  241. package/__chunks__/chunk-6Q6SKGP3.js +2 -0
  242. package/__chunks__/{chunk-FHGKTS7E.js → chunk-73TAL55E.js} +2 -2
  243. package/__chunks__/{chunk-X6EAVIFT.js → chunk-7AAFEBYY.js} +2 -2
  244. package/__chunks__/{chunk-H46BD7WR.js → chunk-7BQ6JQGO.js} +2 -2
  245. package/__chunks__/{chunk-AQOBNZAQ.js → chunk-7EXVTLNQ.js} +2 -2
  246. package/__chunks__/{chunk-47CMJ2FZ.js → chunk-7EZMJ5IL.js} +2 -2
  247. package/__chunks__/{chunk-XL76YPAY.js → chunk-7F35K7XA.js} +2 -2
  248. package/__chunks__/chunk-7FYDX26G.js +2 -0
  249. package/__chunks__/chunk-7OWGSABI.js +2 -0
  250. package/__chunks__/{chunk-UHD67VUL.js → chunk-7SDB5EVR.js} +2 -2
  251. package/__chunks__/{chunk-2732T4DP.js → chunk-A6BXACIU.js} +2 -2
  252. package/__chunks__/{chunk-4BRT3VKO.js → chunk-AB6NSEZO.js} +2 -2
  253. package/__chunks__/{chunk-PJO4K5FT.js → chunk-ACGSNTB5.js} +2 -2
  254. package/__chunks__/chunk-AGCR3BWU.js +2 -0
  255. package/__chunks__/{chunk-UBRZRH5O.js → chunk-AIQD2X3F.js} +2 -2
  256. package/__chunks__/chunk-APNJKWK3.js +2 -0
  257. package/__chunks__/{chunk-CSLJELG7.js → chunk-AWBKIM76.js} +2 -2
  258. package/__chunks__/{chunk-LPK2XK3Z.js → chunk-B2EHHHHT.js} +2 -2
  259. package/__chunks__/{chunk-XCL2DJCN.js → chunk-B4MDUUC4.js} +2 -2
  260. package/__chunks__/{chunk-RQAMPTFS.js → chunk-B7UOTI2W.js} +2 -2
  261. package/__chunks__/{chunk-RWYXEBL2.js → chunk-BIJJEFX4.js} +2 -2
  262. package/__chunks__/{chunk-WCZX3I5K.js → chunk-BLKMOBM3.js} +2 -2
  263. package/__chunks__/{chunk-ACSMK7V6.js → chunk-BVBFUEXJ.js} +2 -2
  264. package/__chunks__/{chunk-6YGA42WQ.js → chunk-BWOFE7ED.js} +2 -2
  265. package/__chunks__/{chunk-REDUKIAW.js → chunk-BYU6XDUR.js} +2 -2
  266. package/__chunks__/{chunk-4VU2EPIT.js → chunk-C6L3K6EE.js} +2 -2
  267. package/__chunks__/{chunk-WFENM6WT.js → chunk-C7PAJLAT.js} +2 -2
  268. package/__chunks__/{chunk-5RR2E2Q4.js → chunk-CKL6I5PT.js} +2 -2
  269. package/__chunks__/{chunk-WPADQQNW.js → chunk-CL4H4IVM.js} +2 -2
  270. package/__chunks__/{chunk-4NXJHGDL.js → chunk-CSXA4TQQ.js} +2 -2
  271. package/__chunks__/{chunk-2MHBQF2A.js → chunk-CTMSGWKY.js} +2 -2
  272. package/__chunks__/{chunk-BG4AMJGX.js → chunk-CWSFAAKZ.js} +2 -2
  273. package/__chunks__/chunk-CZN2PADO.js +2 -0
  274. package/__chunks__/{chunk-MKGT6MMC.js → chunk-DCTZVFXY.js} +2 -2
  275. package/__chunks__/{chunk-ACW7VGCL.js → chunk-DGYISS44.js} +2 -2
  276. package/__chunks__/{chunk-PRAJF6BO.js → chunk-DLU7MRBR.js} +2 -2
  277. package/__chunks__/{chunk-MW7OPBWJ.js → chunk-E2N4A72V.js} +2 -2
  278. package/__chunks__/{chunk-VFAGY6CY.js → chunk-E3OXSBXP.js} +2 -2
  279. package/__chunks__/{chunk-WECAQCJD.js → chunk-EF6O73FT.js} +2 -2
  280. package/__chunks__/{chunk-OGU4J5WX.js → chunk-EOHDGODE.js} +2 -2
  281. package/__chunks__/{chunk-CLU7FG6U.js → chunk-EXGP7MBK.js} +2 -2
  282. package/__chunks__/{chunk-J24B4EEC.js → chunk-EYXOIZHH.js} +2 -2
  283. package/__chunks__/{chunk-Y4W5CUVC.js → chunk-F4MIIKBO.js} +2 -2
  284. package/__chunks__/{chunk-Z4FB6ODT.js → chunk-FFELGPPN.js} +2 -2
  285. package/__chunks__/{chunk-74WZECDO.js → chunk-FHSUBK37.js} +2 -2
  286. package/__chunks__/chunk-FKO7ZBQK.js +2 -0
  287. package/__chunks__/{chunk-6WVSBV6U.js → chunk-FOTWB46L.js} +2 -2
  288. package/__chunks__/{chunk-NW4OM7A4.js → chunk-FPCNDKKN.js} +2 -2
  289. package/__chunks__/{chunk-AUA3WRKV.js → chunk-FT7ZBDDX.js} +2 -2
  290. package/__chunks__/{chunk-QSQB3KPF.js → chunk-FWBFJPYW.js} +2 -2
  291. package/__chunks__/{chunk-3ZB5INPG.js → chunk-G4P4EJFU.js} +2 -2
  292. package/__chunks__/{chunk-ESO4IBXM.js → chunk-G5EIEPV2.js} +2 -2
  293. package/__chunks__/chunk-GIWNPTO6.js +2 -0
  294. package/__chunks__/{chunk-XR6WKP5A.js → chunk-GLOK5WOD.js} +2 -2
  295. package/__chunks__/{chunk-QYUJ2XSZ.js → chunk-GQGPKKCC.js} +2 -2
  296. package/__chunks__/{chunk-XUWF3Y7T.js → chunk-GTMNF6CO.js} +2 -2
  297. package/__chunks__/{chunk-CFX3WU4C.js → chunk-GVJDKDHX.js} +2 -2
  298. package/__chunks__/{chunk-67O3JK6B.js → chunk-GXVRKXVI.js} +2 -2
  299. package/__chunks__/{chunk-TZU2AHJQ.js → chunk-HCQ7FAID.js} +2 -2
  300. package/__chunks__/{chunk-L6SNPAEU.js → chunk-HPKAJG6T.js} +2 -2
  301. package/__chunks__/{chunk-QGA6ODTA.js → chunk-HQVZMIEO.js} +2 -2
  302. package/__chunks__/{chunk-DHDUT3G3.js → chunk-HWG4JVJI.js} +2 -2
  303. package/__chunks__/{chunk-QIYMIFHX.js → chunk-HX3R3AAV.js} +2 -2
  304. package/__chunks__/{chunk-7L57DIXF.js → chunk-I3C542XR.js} +2 -2
  305. package/__chunks__/{chunk-YWPKM4DH.js → chunk-IDL7ZJZU.js} +2 -2
  306. package/__chunks__/{chunk-KGIQNRTR.js → chunk-IDRELJ3S.js} +2 -2
  307. package/__chunks__/{chunk-Q3K6CQUI.js → chunk-IOY2Q7PE.js} +2 -2
  308. package/__chunks__/{chunk-U7ZNOVTM.js → chunk-IQYXZFFP.js} +2 -2
  309. package/__chunks__/{chunk-MGUF7U3E.js → chunk-IXJMOCYK.js} +2 -2
  310. package/__chunks__/{chunk-FS3TVPEX.js → chunk-J53IRRIS.js} +2 -2
  311. package/__chunks__/{chunk-KWNNXZRA.js → chunk-JAGDPU4B.js} +2 -2
  312. package/__chunks__/{chunk-T4J5TTGX.js → chunk-JAZLAI24.js} +2 -2
  313. package/__chunks__/{chunk-7WIEB6PO.js → chunk-JBVJWBTS.js} +2 -2
  314. package/__chunks__/{chunk-EHNHHJRF.js → chunk-JCBDAJYT.js} +2 -2
  315. package/__chunks__/{chunk-QAIBUAMW.js → chunk-JQOEARYD.js} +2 -2
  316. package/__chunks__/{chunk-ITVS5RYQ.js → chunk-JSJMO42V.js} +2 -2
  317. package/__chunks__/{chunk-HHXJC4G2.js → chunk-JSZ53WUI.js} +2 -2
  318. package/__chunks__/{chunk-JJXFIDJV.js → chunk-JWDEMVRQ.js} +2 -2
  319. package/__chunks__/{chunk-WA5BOWGU.js → chunk-JXF2JB3C.js} +2 -2
  320. package/__chunks__/{chunk-4STW42B2.js → chunk-KC5YD7BH.js} +2 -2
  321. package/__chunks__/{chunk-TRZ3QVRF.js → chunk-KF6JN34Y.js} +2 -2
  322. package/__chunks__/{chunk-BXAOBLS6.js → chunk-KIH63IPZ.js} +2 -2
  323. package/__chunks__/{chunk-TIF3XCLE.js → chunk-KIQNKTYD.js} +2 -2
  324. package/__chunks__/chunk-KS4SI3EJ.js +2 -0
  325. package/__chunks__/{chunk-2B2F5FAB.js → chunk-KUNVZQD4.js} +2 -2
  326. package/__chunks__/{chunk-IV2G2DQ7.js → chunk-KWY63ZV6.js} +2 -2
  327. package/__chunks__/chunk-KXQRDG5F.js +2 -0
  328. package/__chunks__/{chunk-MGXEC7PT.js → chunk-L3H7CU2R.js} +2 -2
  329. package/__chunks__/{chunk-UQDJEUTM.js → chunk-LCPV5GQG.js} +2 -2
  330. package/__chunks__/{chunk-NNLLAEDW.js → chunk-LFN65XGW.js} +2 -2
  331. package/__chunks__/{chunk-P7KS6ZGK.js → chunk-LGCFDGVP.js} +2 -2
  332. package/__chunks__/{chunk-C2DIQAR5.js → chunk-LLV2VJ5L.js} +2 -2
  333. package/__chunks__/{chunk-PYOAZZLY.js → chunk-LR6MY64W.js} +2 -2
  334. package/__chunks__/{chunk-UYCTCFY6.js → chunk-LSO7R2OQ.js} +2 -2
  335. package/__chunks__/{chunk-CKXOZQKO.js → chunk-M3H563MI.js} +2 -2
  336. package/__chunks__/{chunk-AFWXURLX.js → chunk-MEJLQRVP.js} +2 -2
  337. package/__chunks__/{chunk-3CXZOGXV.js → chunk-MHLVWX64.js} +2 -2
  338. package/__chunks__/{chunk-7LOO3ROQ.js → chunk-MTP44NBW.js} +2 -2
  339. package/__chunks__/{chunk-YUTL3ZNS.js → chunk-NERNXPH2.js} +2 -2
  340. package/__chunks__/{chunk-ISHTCWDR.js → chunk-NFZ7JO2Z.js} +2 -2
  341. package/__chunks__/{chunk-OAMC6DAX.js → chunk-NH6FT3IZ.js} +2 -2
  342. package/__chunks__/{chunk-O2JJ7TX2.js → chunk-NNOOMFID.js} +2 -2
  343. package/__chunks__/{chunk-DNHNKFHJ.js → chunk-NUUCOV6X.js} +2 -2
  344. package/__chunks__/{chunk-JLBHATQM.js → chunk-NW5ZGNQV.js} +2 -2
  345. package/__chunks__/{chunk-V3VNZ3LF.js → chunk-NZQKUKIU.js} +2 -2
  346. package/__chunks__/{chunk-JIE5CDBM.js → chunk-NZVWRMBH.js} +2 -2
  347. package/__chunks__/{chunk-7JQ3JF2S.js → chunk-O27E4JG4.js} +2 -2
  348. package/__chunks__/{chunk-BIMZTWXB.js → chunk-O2EPXHIC.js} +2 -2
  349. package/__chunks__/{chunk-JLIP76TX.js → chunk-O3X2Z3NX.js} +2 -2
  350. package/__chunks__/{chunk-CYUQTFV4.js → chunk-O57K5BPD.js} +2 -2
  351. package/__chunks__/{chunk-WPS5WCAD.js → chunk-OA5NXEM5.js} +2 -2
  352. package/__chunks__/{chunk-K2GJDKLB.js → chunk-OCSDRIZL.js} +2 -2
  353. package/__chunks__/{chunk-VSDJBGTI.js → chunk-OFZL7QGE.js} +2 -2
  354. package/__chunks__/{chunk-EGXFICI6.js → chunk-OHAZISBB.js} +2 -2
  355. package/__chunks__/{chunk-ULY6I5G4.js → chunk-OHLUDCZP.js} +2 -2
  356. package/__chunks__/{chunk-E5WZG22Q.js → chunk-OJJW7N3Y.js} +2 -2
  357. package/__chunks__/{chunk-LHOGTSVM.js → chunk-OK5VPSYN.js} +2 -2
  358. package/__chunks__/{chunk-7WIVWVYG.js → chunk-OM4HIUZV.js} +2 -2
  359. package/__chunks__/{chunk-JTA3GVIR.js → chunk-OPYMG7J6.js} +2 -2
  360. package/__chunks__/{chunk-TT6I2JPD.js → chunk-OXT27KBX.js} +2 -2
  361. package/__chunks__/{chunk-XV5T3OGI.js → chunk-P2I2W66R.js} +2 -2
  362. package/__chunks__/{chunk-YY7YJV3Z.js → chunk-P2TS43BL.js} +2 -2
  363. package/__chunks__/{chunk-2MTCVCJY.js → chunk-P3WILR7P.js} +2 -2
  364. package/__chunks__/{chunk-Y4NWJTDF.js → chunk-P7OHWGVE.js} +2 -2
  365. package/__chunks__/{chunk-2BLD2S6Y.js → chunk-PCBKXJAS.js} +2 -2
  366. package/__chunks__/{chunk-LBMDUUX2.js → chunk-PEE6QS7F.js} +2 -2
  367. package/__chunks__/{chunk-VBHFVCAT.js → chunk-PEHJVSQJ.js} +2 -2
  368. package/__chunks__/{chunk-EFYPXCHD.js → chunk-PJAESNTN.js} +2 -2
  369. package/__chunks__/chunk-PVDQFAJH.js +2 -0
  370. package/__chunks__/{chunk-4I2R2YBI.js → chunk-PZIEUX5I.js} +2 -2
  371. package/__chunks__/{chunk-5JAHGJZ3.js → chunk-Q4CSBUGG.js} +2 -2
  372. package/__chunks__/{chunk-2QJMUXY5.js → chunk-Q4MYQMLU.js} +2 -2
  373. package/__chunks__/{chunk-BN5LCWRP.js → chunk-Q5GRUOBA.js} +2 -2
  374. package/__chunks__/{chunk-AZ7PQ7BZ.js → chunk-Q6RIPAYC.js} +2 -2
  375. package/__chunks__/{chunk-ZZGKPNPK.js → chunk-QBKC3L3M.js} +2 -2
  376. package/__chunks__/{chunk-B5FEJ4M2.js → chunk-QIG55ESS.js} +2 -2
  377. package/__chunks__/{chunk-2QH46LHC.js → chunk-QJKWCOAE.js} +2 -2
  378. package/__chunks__/{chunk-GWWXW44U.js → chunk-QLTKW7UX.js} +2 -2
  379. package/__chunks__/{chunk-QBXIIWYO.js → chunk-RFBKEGBF.js} +2 -2
  380. package/__chunks__/{chunk-37HZU2NS.js → chunk-RI25J73C.js} +2 -2
  381. package/__chunks__/{chunk-HTIHDRK6.js → chunk-S2PFP7G2.js} +2 -2
  382. package/__chunks__/{chunk-OOXMCSWF.js → chunk-S5NJJAPQ.js} +2 -2
  383. package/__chunks__/{chunk-YO5YBMN5.js → chunk-S77UNI5R.js} +2 -2
  384. package/__chunks__/{chunk-Q4ULGJFI.js → chunk-SAVFWFK5.js} +2 -2
  385. package/__chunks__/{chunk-XKSXFTS2.js → chunk-SBQ57SK6.js} +2 -2
  386. package/__chunks__/{chunk-LW7ND3VE.js → chunk-SIC3HEYU.js} +2 -2
  387. package/__chunks__/{chunk-LICFOMVB.js → chunk-SK7YYO4P.js} +2 -2
  388. package/__chunks__/{chunk-VL7NMTCR.js → chunk-SWCKOXSX.js} +2 -2
  389. package/__chunks__/{chunk-GVJVBY3M.js → chunk-SY3UOM25.js} +2 -2
  390. package/__chunks__/{chunk-U6A2XQPV.js → chunk-SZCMNOHY.js} +2 -2
  391. package/__chunks__/{chunk-UOQBG7X3.js → chunk-TBIV2K6X.js} +2 -2
  392. package/__chunks__/{chunk-6OWJWBI5.js → chunk-TCHHIVWG.js} +2 -2
  393. package/__chunks__/{chunk-A4G62MA5.js → chunk-TEEBL6AK.js} +2 -2
  394. package/__chunks__/{chunk-Y7WN66J2.js → chunk-TH7LB4LY.js} +2 -2
  395. package/__chunks__/{chunk-NK7ZL2DT.js → chunk-THR6RXYS.js} +2 -2
  396. package/__chunks__/{chunk-VXRXUNEN.js → chunk-TL4XBKDU.js} +2 -2
  397. package/__chunks__/{chunk-CFF5LJLP.js → chunk-TMGLGASZ.js} +2 -2
  398. package/__chunks__/{chunk-T5WSVPXH.js → chunk-TNTBYP6K.js} +2 -2
  399. package/__chunks__/{chunk-JVP5G4OH.js → chunk-TRZUUKRO.js} +2 -2
  400. package/__chunks__/{chunk-3XKG2IZ7.js → chunk-TVESPVBL.js} +2 -2
  401. package/__chunks__/{chunk-GZU4XOBN.js → chunk-TZ7D3ABD.js} +2 -2
  402. package/__chunks__/{chunk-Y4JO6CBF.js → chunk-U3QQELXI.js} +2 -2
  403. package/__chunks__/{chunk-4XGVEFWE.js → chunk-U5QW2K3I.js} +2 -2
  404. package/__chunks__/{chunk-GCE7L2D3.js → chunk-U5UIO4UF.js} +2 -2
  405. package/__chunks__/{chunk-I7VLLM33.js → chunk-UICSKYIJ.js} +2 -2
  406. package/__chunks__/{chunk-YHTSP4GJ.js → chunk-ULECHZKW.js} +2 -2
  407. package/__chunks__/{chunk-B2JEMS3V.js → chunk-URAYO74E.js} +2 -2
  408. package/__chunks__/{chunk-7RCWI5DV.js → chunk-US4GXOAG.js} +2 -2
  409. package/__chunks__/{chunk-OEFBVOVP.js → chunk-UWKLKRGH.js} +2 -2
  410. package/__chunks__/{chunk-QJCZJ43W.js → chunk-V25ZKV7N.js} +2 -2
  411. package/__chunks__/{chunk-5V2VVYR4.js → chunk-VNJCCAFW.js} +2 -2
  412. package/__chunks__/{chunk-FBKUW7RX.js → chunk-VRP4T4FV.js} +2 -2
  413. package/__chunks__/chunk-VSE72FLZ.js +2 -0
  414. package/__chunks__/{chunk-4QMZL3QQ.js → chunk-VVNYKZD5.js} +2 -2
  415. package/__chunks__/{chunk-EI42VQCK.js → chunk-VZ72WJ2X.js} +2 -2
  416. package/__chunks__/{chunk-UYBXREWT.js → chunk-W6KBLENQ.js} +2 -2
  417. package/__chunks__/{chunk-MSXOQLN2.js → chunk-W7YIY5E7.js} +2 -2
  418. package/__chunks__/{chunk-LO3VURDM.js → chunk-WBKRKXLD.js} +2 -2
  419. package/__chunks__/{chunk-XEGV54WV.js → chunk-WCBZ6Z34.js} +2 -2
  420. package/__chunks__/{chunk-OPHZSLD4.js → chunk-WGEOYDAG.js} +2 -2
  421. package/__chunks__/{chunk-BWZPYI5B.js → chunk-WSRC4TQI.js} +2 -2
  422. package/__chunks__/{chunk-UH43PEYV.js → chunk-WTRR3D36.js} +2 -2
  423. package/__chunks__/{chunk-HXJ4HFX7.js → chunk-WW2ZOHAS.js} +2 -2
  424. package/__chunks__/chunk-WYDCYB2E.js +2 -0
  425. package/__chunks__/chunk-X3FCPAMI.js +2 -0
  426. package/__chunks__/chunk-X7WDIBT5.js +2 -0
  427. package/__chunks__/{chunk-JWOJVPSQ.js → chunk-XCGDGLK3.js} +2 -2
  428. package/__chunks__/{chunk-YHGHGEDP.js → chunk-XGACROB3.js} +2 -2
  429. package/__chunks__/{chunk-AGHBEBGH.js → chunk-XLJJNITC.js} +2 -2
  430. package/__chunks__/{chunk-CKTVDXZB.js → chunk-XPDTLVYA.js} +2 -2
  431. package/__chunks__/{chunk-IAAPCWKC.js → chunk-XQP76V2M.js} +2 -2
  432. package/__chunks__/{chunk-EQJ5TR37.js → chunk-XVF4IG3A.js} +2 -2
  433. package/__chunks__/{chunk-HLBUCVWT.js → chunk-XWPLCBYN.js} +2 -2
  434. package/__chunks__/{chunk-QHOAQEWT.js → chunk-XYT2TK3Q.js} +2 -2
  435. package/__chunks__/{chunk-NLHXFLTD.js → chunk-Y6KSTO3A.js} +2 -2
  436. package/__chunks__/{chunk-6ERULYYM.js → chunk-Y7ZCJ622.js} +2 -2
  437. package/__chunks__/{chunk-LV3SR5AZ.js → chunk-YCSJTLCS.js} +2 -2
  438. package/__chunks__/{chunk-AOWSKJU4.js → chunk-YG7VDKRN.js} +2 -2
  439. package/__chunks__/{chunk-VZP77QAT.js → chunk-YMS7SA5X.js} +2 -2
  440. package/__chunks__/{chunk-ALACRIIG.js → chunk-YTPED4VI.js} +2 -2
  441. package/__chunks__/{chunk-WZGTPUPX.js → chunk-YY2JXRIX.js} +2 -2
  442. package/__chunks__/{chunk-QZDIC3DK.js → chunk-Z2TN7537.js} +2 -2
  443. package/__chunks__/{chunk-SZZD7FYR.js → chunk-Z42BLK44.js} +2 -2
  444. package/__chunks__/chunk-Z5BQ5KOQ.js +2 -0
  445. package/__chunks__/{chunk-5CAUCI7D.js → chunk-ZBA5RQC3.js} +2 -2
  446. package/__chunks__/{chunk-LDY2FDOV.js → chunk-ZEM76I54.js} +2 -2
  447. package/__chunks__/{chunk-64PUFCWO.js → chunk-ZGZXVEDL.js} +2 -2
  448. package/__chunks__/{chunk-3MJ5MEYW.js → chunk-ZMMELDU7.js} +2 -2
  449. package/__chunks__/{chunk-7EY2LJ6M.js → chunk-ZO6MKGLO.js} +2 -2
  450. package/__commonjs/UI/SignTransactionsModals/SignTransactionsModals.js +1 -1
  451. package/__commonjs/UI/SignTransactionsModals/SignWithDeviceModal/SignStep.js +1 -1
  452. package/__commonjs/UI/SignTransactionsModals/SignWithDeviceModal/SignWithDeviceModal.js +1 -1
  453. package/__commonjs/UI/SignTransactionsModals/SignWithDeviceModal/components/SignStepBody.js +1 -1
  454. package/__commonjs/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmReceiver/ConfirmReceiver.js +1 -1
  455. package/__commonjs/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmReceiver/index.js +1 -1
  456. package/__commonjs/UI/SignTransactionsModals/SignWithDeviceModal/components/components/index.js +1 -1
  457. package/__commonjs/UI/SignTransactionsModals/SignWithDeviceModal/components/index.js +1 -1
  458. package/__commonjs/UI/SignTransactionsModals/SignWithDeviceModal/index.js +1 -1
  459. package/__commonjs/UI/SignTransactionsModals/SignWithExtraModal/SignWithExtraModal.js +1 -1
  460. package/__commonjs/UI/SignTransactionsModals/SignWithExtraModal/index.js +1 -1
  461. package/__commonjs/UI/SignTransactionsModals/SignWithLedgerModal/SignWithLedgerModal.js +1 -1
  462. package/__commonjs/UI/SignTransactionsModals/SignWithLedgerModal/index.js +1 -1
  463. package/__commonjs/UI/SignTransactionsModals/SignWithMetamaskModal/SignWithMetamaskModal.js +1 -1
  464. package/__commonjs/UI/SignTransactionsModals/SignWithMetamaskModal/index.js +1 -1
  465. package/__commonjs/UI/SignTransactionsModals/components/ConfirmationScreen.js +1 -1
  466. package/__commonjs/UI/SignTransactionsModals/components/index.js +1 -1
  467. package/__commonjs/UI/SignTransactionsModals/index.js +1 -1
  468. package/__commonjs/UI/TransactionDetails/components/TransactionDetailsBody.js +3 -3
  469. package/__commonjs/UI/TransactionDetails/components/index.js +3 -3
  470. package/__commonjs/UI/TransactionInfo/TransactionInfo.js +1 -1
  471. package/__commonjs/UI/TransactionInfo/components/AddressDetailItem/AddressDetailitem.js +1 -1
  472. package/__commonjs/UI/TransactionInfo/components/AddressDetailItem/index.js +1 -1
  473. package/__commonjs/UI/TransactionInfo/components/DataDecode/DataDecode.js +1 -1
  474. package/__commonjs/UI/TransactionInfo/components/DataDecode/index.js +1 -1
  475. package/__commonjs/UI/TransactionInfo/components/DataField/DataField.js +1 -1
  476. package/__commonjs/UI/TransactionInfo/components/DataField/index.js +1 -1
  477. package/__commonjs/UI/TransactionInfo/components/EventsList/EventsList.js +1 -1
  478. package/__commonjs/UI/TransactionInfo/components/EventsList/index.js +1 -1
  479. package/__commonjs/UI/TransactionInfo/components/OperationsList/OperationList.js +1 -1
  480. package/__commonjs/UI/TransactionInfo/components/OperationsList/components/DetailedItem.js +1 -1
  481. package/__commonjs/UI/TransactionInfo/components/OperationsList/components/OperationBlock.js +1 -1
  482. package/__commonjs/UI/TransactionInfo/components/OperationsList/components/OperationRow.js +1 -1
  483. package/__commonjs/UI/TransactionInfo/components/OperationsList/components/OperationText.js +1 -1
  484. package/__commonjs/UI/TransactionInfo/components/OperationsList/components/index.js +1 -1
  485. package/__commonjs/UI/TransactionInfo/components/OperationsList/index.js +1 -1
  486. package/__commonjs/UI/TransactionInfo/components/ScResultsList/ScResultsList.js +1 -1
  487. package/__commonjs/UI/TransactionInfo/components/ScResultsList/components/ResultData/ResultData.js +1 -1
  488. package/__commonjs/UI/TransactionInfo/components/ScResultsList/components/ResultData/index.js +1 -1
  489. package/__commonjs/UI/TransactionInfo/components/ScResultsList/components/ResultReceiver/ResultReceiver.js +1 -1
  490. package/__commonjs/UI/TransactionInfo/components/ScResultsList/components/ResultReceiver/index.js +1 -1
  491. package/__commonjs/UI/TransactionInfo/components/ScResultsList/components/ResultSender/ResultSender.js +1 -1
  492. package/__commonjs/UI/TransactionInfo/components/ScResultsList/components/ResultSender/index.js +1 -1
  493. package/__commonjs/UI/TransactionInfo/components/ScResultsList/index.js +1 -1
  494. package/__commonjs/UI/TransactionInfo/components/TransactionAction/TransactionAction.js +1 -1
  495. package/__commonjs/UI/TransactionInfo/components/TransactionAction/components/ActionText/index.js +1 -1
  496. package/__commonjs/UI/TransactionInfo/components/TransactionAction/components/index.js +1 -1
  497. package/__commonjs/UI/TransactionInfo/components/TransactionAction/index.js +1 -1
  498. package/__commonjs/UI/TransactionInfo/components/TransactionLogs/TransactionLogs.js +1 -1
  499. package/__commonjs/UI/TransactionInfo/components/TransactionLogs/index.js +1 -1
  500. package/__commonjs/UI/TransactionInfo/components/index.js +41 -41
  501. package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoFrom/TransactionInfoFrom.js +15 -15
  502. package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoFrom/index.js +15 -15
  503. package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoInputData/TransactionInfoInputData.js +1 -1
  504. package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoInputData/index.js +1 -1
  505. package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoMethod/TransactionInfoMethod.js +1 -1
  506. package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoMethod/index.js +1 -1
  507. package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoScResults/TransactionInfoScResults.js +1 -1
  508. package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoScResults/index.js +1 -1
  509. package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoTo/TransactionInfoTo.js +1 -1
  510. package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoTo/index.js +1 -1
  511. package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoTokenOperations/TransactionInfoTokenOperations.js +8 -8
  512. package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoTokenOperations/index.js +8 -8
  513. package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/index.js +1 -1
  514. package/__commonjs/UI/TransactionInfo/index.js +1 -1
  515. package/__commonjs/UI/TransactionsTable/TransactionsTable.js +1 -1
  516. package/__commonjs/UI/TransactionsTable/components/LockedTokenAddressIcon.js +1 -1
  517. package/__commonjs/UI/TransactionsTable/components/ScAddressIcon.js +1 -1
  518. package/__commonjs/UI/TransactionsTable/components/TransactionReceiver.js +1 -1
  519. package/__commonjs/UI/TransactionsTable/components/TransactionRow.js +1 -1
  520. package/__commonjs/UI/TransactionsTable/components/TransactionSender.js +1 -1
  521. package/__commonjs/UI/TransactionsTable/components/index.js +1 -1
  522. package/__commonjs/UI/TransactionsTable/index.js +1 -1
  523. package/__commonjs/UI/TransactionsToastList/TransactionsToastList.js +1 -1
  524. package/__commonjs/UI/TransactionsToastList/components/CustomToast/CustomToast.js +1 -1
  525. package/__commonjs/UI/TransactionsToastList/components/CustomToast/components/IconToast/IconToast.js +1 -1
  526. package/__commonjs/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/IconToastFooter.js +1 -1
  527. package/__commonjs/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/components/TransactionToastFooter.js +1 -1
  528. package/__commonjs/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/components/index.js +7 -7
  529. package/__commonjs/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/index.js +1 -1
  530. package/__commonjs/UI/TransactionsToastList/components/CustomToast/components/IconToast/index.js +1 -1
  531. package/__commonjs/UI/TransactionsToastList/components/CustomToast/components/index.js +1 -1
  532. package/__commonjs/UI/TransactionsToastList/components/CustomToast/index.js +1 -1
  533. package/__commonjs/UI/TransactionsToastList/components/index.js +1 -1
  534. package/__commonjs/UI/TransactionsToastList/index.js +1 -1
  535. package/__commonjs/UI/index.js +1 -1
  536. package/__commonjs/UI/pages/UnlockPage/index.js +1 -1
  537. package/__commonjs/UI/pages/index.js +1 -1
  538. package/__commonjs/UI/walletConnect/WalletConnectLoginButton/WalletConnectLoginButton.js +1 -1
  539. package/__commonjs/UI/walletConnect/WalletConnectLoginButton/index.js +1 -1
  540. package/__commonjs/UI/walletConnect/WalletConnectLoginContainer/WalletConnectLoginContainer.js +1 -1
  541. package/__commonjs/UI/walletConnect/WalletConnectLoginContainer/WalletConnectLoginContent/WalletConnectLoginContent.js +1 -1
  542. package/__commonjs/UI/walletConnect/WalletConnectLoginContainer/WalletConnectLoginContent/index.js +1 -1
  543. package/__commonjs/UI/walletConnect/WalletConnectLoginContainer/index.js +1 -1
  544. package/__commonjs/UI/walletConnect/index.js +1 -1
  545. package/__commonjs/__mocks__/index.js +1 -1
  546. package/__commonjs/__mocks__/utils/index.js +1 -1
  547. package/__commonjs/__mocks__/utils/renderWithProvider.js +1 -1
  548. package/__commonjs/components/LogoutListener/LogoutListener.js +1 -1
  549. package/__commonjs/components/LogoutListener/helpers/index.js +1 -1
  550. package/__commonjs/components/LogoutListener/helpers/useLogoutFromMultipleTabs.js +1 -1
  551. package/__commonjs/components/LogoutListener/helpers/useNativeAuthLogout.js +1 -1
  552. package/__commonjs/components/LogoutListener/index.js +1 -1
  553. package/__commonjs/components/ProviderInitializer/ProviderInitializer.js +1 -1
  554. package/__commonjs/components/ProviderInitializer/hooks/index.js +1 -1
  555. package/__commonjs/components/ProviderInitializer/hooks/useSetLedgerProvider.js +1 -1
  556. package/__commonjs/components/ProviderInitializer/index.js +1 -1
  557. package/__commonjs/components/TransactionsTracker/TransactionTracker.js +1 -1
  558. package/__commonjs/components/TransactionsTracker/index.js +1 -1
  559. package/__commonjs/hooks/account/useGetBatchWebsocketEvent.js +1 -1
  560. package/__commonjs/hooks/account/useGetWebsocketEvent.js +1 -1
  561. package/__commonjs/hooks/index.js +1 -1
  562. package/__commonjs/hooks/login/index.js +1 -1
  563. package/__commonjs/hooks/login/useWalletConnectV2Login.js +1 -1
  564. package/__commonjs/hooks/signMessage/index.js +1 -1
  565. package/__commonjs/hooks/signMessage/useSignMessage.js +1 -1
  566. package/__commonjs/hooks/transactions/batch/tracker/useBatchTransactionsTracker.js +1 -1
  567. package/__commonjs/hooks/transactions/batch/tracker/useCheckBatchesOnWsFailureFallback.js +1 -1
  568. package/__commonjs/hooks/transactions/batch/tracker/useCheckHangingBatchesFallback.js +1 -1
  569. package/__commonjs/hooks/transactions/batch/tracker/useUpdateBatch.js +1 -1
  570. package/__commonjs/hooks/transactions/batch/tracker/useVerifyBatchStatus.js +1 -1
  571. package/__commonjs/hooks/transactions/helpers/checkNeedsGuardianSigning.js +1 -1
  572. package/__commonjs/hooks/transactions/helpers/index.js +1 -1
  573. package/__commonjs/hooks/transactions/helpers/useGetLedgerProvider.js +1 -1
  574. package/__commonjs/hooks/transactions/index.js +1 -1
  575. package/__commonjs/hooks/transactions/useCheckTransactionStatus/checkBatch.js +1 -1
  576. package/__commonjs/hooks/transactions/useCheckTransactionStatus/index.js +1 -1
  577. package/__commonjs/hooks/transactions/useCheckTransactionStatus/useCheckTransactionStatus.js +1 -1
  578. package/__commonjs/hooks/transactions/useGetLastPendingTransactionHash.js +1 -1
  579. package/__commonjs/hooks/transactions/useParseMultiEsdtTransferData.js +1 -1
  580. package/__commonjs/hooks/transactions/useSignMultipleTransactions.js +1 -1
  581. package/__commonjs/hooks/transactions/useSignTransactions.js +1 -1
  582. package/__commonjs/hooks/transactions/useSignTransactionsWithDevice.js +1 -1
  583. package/__commonjs/hooks/transactions/useSignTransactionsWithLedger.js +1 -1
  584. package/__commonjs/hooks/transactions/useTransactionsTracker.js +1 -1
  585. package/__commonjs/hooks/websocketListener/index.js +1 -1
  586. package/__commonjs/hooks/websocketListener/useRegisterWebsocketListener.js +1 -1
  587. package/__commonjs/utils/account/addressIsValid.js +1 -1
  588. package/__commonjs/utils/account/getAddress.js +1 -1
  589. package/__commonjs/utils/account/getSearchParamAddress.js +1 -1
  590. package/__commonjs/utils/account/index.js +1 -1
  591. package/__commonjs/utils/account/refreshAccount.js +1 -1
  592. package/__commonjs/utils/account/signMessage.js +1 -1
  593. package/__commonjs/utils/index.js +1 -1
  594. package/__commonjs/utils/logout.js +1 -1
  595. package/__commonjs/utils/smartContracts.js +1 -1
  596. package/__commonjs/utils/transactions/builtCallbackUrl.js +1 -1
  597. package/__commonjs/utils/transactions/getInterpretedTransaction/getInterpretedTransaction.js +1 -1
  598. package/__commonjs/utils/transactions/getInterpretedTransaction/index.js +1 -1
  599. package/__commonjs/utils/transactions/getTokenFromData.js +1 -1
  600. package/__commonjs/utils/transactions/index.js +1 -1
  601. package/__commonjs/utils/transactions/parseMultiEsdtTransferDataForMultipleTransactions.js +1 -1
  602. package/__commonjs/utils/transactions/transactionInfoHelpers/decodeForDisplay/decodeForDisplay.js +1 -1
  603. package/__commonjs/utils/transactions/transactionInfoHelpers/decodeForDisplay/helpers/decodeByMethod.js +1 -1
  604. package/__commonjs/utils/transactions/transactionInfoHelpers/decodeForDisplay/helpers/getDisplayValueAndValidationWarnings.js +1 -1
  605. package/__commonjs/utils/transactions/transactionInfoHelpers/decodeForDisplay/helpers/getSmartDecodedParts.js +1 -1
  606. package/__commonjs/utils/transactions/transactionInfoHelpers/decodeForDisplay/helpers/index.js +1 -1
  607. package/__commonjs/utils/transactions/transactionInfoHelpers/decodeForDisplay/index.js +1 -1
  608. package/__commonjs/utils/transactions/transactionInfoHelpers/index.js +1 -1
  609. package/__commonjs/utils/transactions/transactionInfoHelpers/useDataDecode.js +2 -2
  610. package/__commonjs/web/hooks/index.js +1 -1
  611. package/__commonjs/web/hooks/useIdleTimer.js +1 -1
  612. package/__commonjs/web/index.js +1 -1
  613. package/__commonjs/wrappers/AppInitializer.js +1 -1
  614. package/__commonjs/wrappers/AuthenticatedRoutesWrapper/AuthenticatedRoutesWrapper.js +1 -1
  615. package/__commonjs/wrappers/AuthenticatedRoutesWrapper/index.js +1 -1
  616. package/__commonjs/wrappers/DappProvider/CustomComponents.js +1 -1
  617. package/__commonjs/wrappers/DappProvider/DappProvider.js +1 -1
  618. package/__commonjs/wrappers/DappProvider/index.js +1 -1
  619. package/__commonjs/wrappers/index.js +1 -1
  620. package/__mocks__/index.js +1 -1
  621. package/__mocks__/utils/index.js +1 -1
  622. package/__mocks__/utils/renderWithProvider.js +1 -1
  623. package/apiCalls/accounts/getAccountFromApi.js +1 -1
  624. package/apiCalls/accounts/index.js +1 -1
  625. package/apiCalls/accounts/useGetAccountFromApi.js +1 -1
  626. package/apiCalls/configuration/getNetworkConfig.js +1 -1
  627. package/apiCalls/configuration/index.js +1 -1
  628. package/apiCalls/configuration/useGetNetworkConfigFromApi.js +1 -1
  629. package/apiCalls/configuration/useGetServerConfigurationFromApi.js +1 -1
  630. package/apiCalls/economics/getEconomicsInfo.js +1 -1
  631. package/apiCalls/economics/index.js +1 -1
  632. package/apiCalls/economics/useGetEconomicsInfoFromApi.js +1 -1
  633. package/apiCalls/index.js +1 -1
  634. package/apiCalls/transactions/getTransactionsByHashes.js +1 -1
  635. package/apiCalls/transactions/index.js +1 -1
  636. package/apiCalls/transactions/sendSignedBatchTransactions.js +1 -1
  637. package/apiCalls/transactions/sendSignedTransactions.js +1 -1
  638. package/apiCalls/transactions/useGetTransactionsFromApi.js +1 -1
  639. package/apiCalls/utils/getCleanApiAddress.js +1 -1
  640. package/apiCalls/utils/getScamAddressData.js +1 -1
  641. package/apiCalls/utils/index.js +1 -1
  642. package/apiCalls/utils/useApiFetch.js +1 -1
  643. package/components/LogoutListener/LogoutListener.js +1 -1
  644. package/components/LogoutListener/helpers/index.js +1 -1
  645. package/components/LogoutListener/helpers/useLogoutFromMultipleTabs.js +1 -1
  646. package/components/LogoutListener/helpers/useNativeAuthLogout.js +1 -1
  647. package/components/LogoutListener/helpers/useNativeAuthLogoutWarning/index.js +1 -1
  648. package/components/LogoutListener/helpers/useNativeAuthLogoutWarning/useNativeAuthLogoutWarning.js +1 -1
  649. package/components/LogoutListener/index.js +1 -1
  650. package/components/ProviderInitializer/ProviderInitializer.js +1 -1
  651. package/components/ProviderInitializer/helpers/index.js +1 -1
  652. package/components/ProviderInitializer/helpers/processModifiedAccount.js +1 -1
  653. package/components/ProviderInitializer/hooks/index.js +1 -1
  654. package/components/ProviderInitializer/hooks/useSetLedgerProvider.js +1 -1
  655. package/components/ProviderInitializer/index.js +1 -1
  656. package/components/TransactionSender/TransactionSender.js +1 -1
  657. package/components/TransactionSender/index.js +1 -1
  658. package/components/TransactionSender/utils/invokeSendTransactions.js +1 -1
  659. package/components/TransactionsTracker/TransactionTracker.js +1 -1
  660. package/components/TransactionsTracker/index.js +1 -1
  661. package/hooks/account/index.js +1 -1
  662. package/hooks/account/useGetAccount.js +1 -1
  663. package/hooks/account/useGetAccountInfo.js +1 -1
  664. package/hooks/account/useGetBatchWebsocketEvent.js +1 -1
  665. package/hooks/account/useGetIsLoggedIn.js +1 -1
  666. package/hooks/account/useGetIsWalletConnectV2Initialized.js +1 -1
  667. package/hooks/account/useGetLoginInfo.js +1 -1
  668. package/hooks/account/useGetWebsocketEvent.js +1 -1
  669. package/hooks/economics/index.js +1 -1
  670. package/hooks/economics/useGetEgldPrice.js +1 -1
  671. package/hooks/index.js +1 -1
  672. package/hooks/login/index.js +1 -1
  673. package/hooks/login/useCrossWindowLogin.js +1 -1
  674. package/hooks/login/useExtensionLogin.js +1 -1
  675. package/hooks/login/useGetModalLoginMethods.js +1 -1
  676. package/hooks/login/useIframeLogin.js +1 -1
  677. package/hooks/login/useLedgerLogin.js +1 -1
  678. package/hooks/login/useLoginService.js +1 -1
  679. package/hooks/login/useMetamaskLogin.js +1 -1
  680. package/hooks/login/useOperaLogin.js +1 -1
  681. package/hooks/login/usePasskeyLogin.js +1 -1
  682. package/hooks/login/useWalletConnectV2Login.js +1 -1
  683. package/hooks/login/useWebViewLogin.js +1 -1
  684. package/hooks/login/useWebWalletLogin.js +1 -1
  685. package/hooks/login/useXaliasLogin.js +1 -1
  686. package/hooks/signMessage/index.js +1 -1
  687. package/hooks/signMessage/useGetLastSignedMessageSession.js +1 -1
  688. package/hooks/signMessage/useGetSignMessageSession.js +1 -1
  689. package/hooks/signMessage/useGetSignedMessageStatus.js +1 -1
  690. package/hooks/signMessage/useSignMessage.js +1 -1
  691. package/hooks/toasts/index.js +1 -1
  692. package/hooks/toasts/useGetToasts.js +1 -1
  693. package/hooks/toasts/useTransactionsToasts.js +1 -1
  694. package/hooks/transactions/batch/tracker/useBatchTransactionsTracker.js +1 -1
  695. package/hooks/transactions/batch/tracker/useCheckBatch.js +1 -1
  696. package/hooks/transactions/batch/tracker/useCheckBatchesOnWsFailureFallback.js +1 -1
  697. package/hooks/transactions/batch/tracker/useCheckHangingBatchesFallback.js +1 -1
  698. package/hooks/transactions/batch/tracker/useUpdateBatch.js +1 -1
  699. package/hooks/transactions/batch/tracker/useVerifyBatchStatus.js +1 -1
  700. package/hooks/transactions/batch/useGetBatchStatus.js +1 -1
  701. package/hooks/transactions/batch/useResolveBatchStatusResponse.js +1 -1
  702. package/hooks/transactions/batch/useSendBatchTransactions.js +1 -1
  703. package/hooks/transactions/helpers/checkNeedsGuardianSigning.js +1 -1
  704. package/hooks/transactions/helpers/getShouldMoveTransactionsToSignedState.js +1 -1
  705. package/hooks/transactions/helpers/index.js +1 -1
  706. package/hooks/transactions/helpers/useGetLedgerProvider.js +1 -1
  707. package/hooks/transactions/helpers/useSetTransactionNonces.js +1 -1
  708. package/hooks/transactions/index.js +1 -1
  709. package/hooks/transactions/useCheckTransactionStatus/checkBatch.js +1 -1
  710. package/hooks/transactions/useCheckTransactionStatus/index.js +1 -1
  711. package/hooks/transactions/useCheckTransactionStatus/useCheckTransactionStatus.js +1 -1
  712. package/hooks/transactions/useGetActiveTransactionsStatus.js +1 -1
  713. package/hooks/transactions/useGetFailedTransactions.js +1 -1
  714. package/hooks/transactions/useGetLastPendingTransactionHash.js +1 -1
  715. package/hooks/transactions/useGetPendingTransactions.js +1 -1
  716. package/hooks/transactions/useGetPollingInterval.js +1 -1
  717. package/hooks/transactions/useGetSignTransactionsError.js +1 -1
  718. package/hooks/transactions/useGetSignedTransactions.js +1 -1
  719. package/hooks/transactions/useGetSuccessfulTransactions.js +1 -1
  720. package/hooks/transactions/useGetTokenDetails.js +1 -1
  721. package/hooks/transactions/useGetTransactionDisplayInfo.js +1 -1
  722. package/hooks/transactions/useParseMultiEsdtTransferData.js +1 -1
  723. package/hooks/transactions/useParseSignedTransactions.js +1 -1
  724. package/hooks/transactions/useSignMultipleTransactions.js +1 -1
  725. package/hooks/transactions/useSignTransactions.js +1 -1
  726. package/hooks/transactions/useSignTransactionsCommonData.js +1 -1
  727. package/hooks/transactions/useSignTransactionsWithDevice.js +1 -1
  728. package/hooks/transactions/useSignTransactionsWithLedger.js +1 -1
  729. package/hooks/transactions/useTrackTransactionStatus.js +1 -1
  730. package/hooks/transactions/useTransactionsTracker.js +1 -1
  731. package/hooks/useGetNetworkConfig.js +1 -1
  732. package/hooks/useGetNotification.js +1 -1
  733. package/hooks/websocketListener/index.js +1 -1
  734. package/hooks/websocketListener/useInitializeWebsocketConnection.js +1 -1
  735. package/hooks/websocketListener/useRegisterWebsocketListener.js +1 -1
  736. package/package.json +2 -2
  737. package/providers/experimentalWebViewProvider/ExperimentalWebviewProvider.js +1 -1
  738. package/providers/experimentalWebViewProvider/index.js +1 -1
  739. package/reduxStore/selectors/index.js +1 -1
  740. package/reduxStore/selectors/transactionsSelectors.js +1 -1
  741. package/services/index.js +1 -1
  742. package/services/nativeAuth/helpers/getAuthorizationInfo.js +1 -1
  743. package/services/nativeAuth/helpers/getIsNativeAuthSingingForbidden.js +1 -1
  744. package/services/nativeAuth/helpers/index.js +1 -1
  745. package/services/transactions/clearTransactions.js +1 -1
  746. package/services/transactions/getBatchTransactionsStatus.js +1 -1
  747. package/services/transactions/getTransactionsDetails.js +1 -1
  748. package/services/transactions/index.js +1 -1
  749. package/services/transactions/sendBatchTransactions.js +1 -1
  750. package/services/transactions/sendBatchTransactions.test.js +1 -1
  751. package/services/transactions/sendTransactions.js +1 -1
  752. package/services/transactions/transformAndSignTransactions.js +1 -1
  753. package/services/transactions/utils/transformTransactionsToSign.js +1 -1
  754. package/utils/account/addressIsValid.js +1 -1
  755. package/utils/account/getAccount.js +1 -1
  756. package/utils/account/getAccountBalance.js +1 -1
  757. package/utils/account/getAccountShard.js +1 -1
  758. package/utils/account/getAddress.js +1 -1
  759. package/utils/account/getLatestNonce.js +1 -1
  760. package/utils/account/getSearchParamAddress.js +1 -1
  761. package/utils/account/getWebviewToken.js +1 -1
  762. package/utils/account/index.js +1 -1
  763. package/utils/account/refreshAccount.js +1 -1
  764. package/utils/account/signMessage.js +1 -1
  765. package/utils/getIsLoggedIn.js +1 -1
  766. package/utils/index.js +1 -1
  767. package/utils/logout.js +1 -1
  768. package/utils/network/getChainID.js +1 -1
  769. package/utils/network/getEgldLabel.js +1 -1
  770. package/utils/network/getNetworkConfig.js +1 -1
  771. package/utils/network/index.js +1 -1
  772. package/utils/smartContracts.js +1 -1
  773. package/utils/transactions/batch/updateBatchTransactionsStatuses.js +1 -1
  774. package/utils/transactions/builtCallbackUrl.js +1 -1
  775. package/utils/transactions/getAllTransactionsLink.js +1 -1
  776. package/utils/transactions/getAreTransactionsOnSameShard.js +1 -1
  777. package/utils/transactions/getInterpretedTransaction/getInterpretedTransaction.js +1 -1
  778. package/utils/transactions/getInterpretedTransaction/index.js +1 -1
  779. package/utils/transactions/getOperationsDetails.js +1 -1
  780. package/utils/transactions/getTokenFromData.js +1 -1
  781. package/utils/transactions/getTransactionLink.js +1 -1
  782. package/utils/transactions/index.js +1 -1
  783. package/utils/transactions/parseMultiEsdtTransferDataForMultipleTransactions.js +1 -1
  784. package/utils/transactions/transactionInfoHelpers/decodeForDisplay/decodeForDisplay.js +1 -1
  785. package/utils/transactions/transactionInfoHelpers/decodeForDisplay/helpers/decodeByMethod.js +1 -1
  786. package/utils/transactions/transactionInfoHelpers/decodeForDisplay/helpers/getDisplayValueAndValidationWarnings.js +1 -1
  787. package/utils/transactions/transactionInfoHelpers/decodeForDisplay/helpers/getSmartDecodedParts.js +1 -1
  788. package/utils/transactions/transactionInfoHelpers/decodeForDisplay/helpers/index.js +1 -1
  789. package/utils/transactions/transactionInfoHelpers/decodeForDisplay/index.js +1 -1
  790. package/utils/transactions/transactionInfoHelpers/index.js +1 -1
  791. package/utils/transactions/transactionInfoHelpers/useDataDecode.js +1 -1
  792. package/utils/waitForChainID.js +1 -1
  793. package/web/hooks/index.js +1 -1
  794. package/web/hooks/useIdleTimer.js +1 -1
  795. package/web/index.js +1 -1
  796. package/wrappers/AppInitializer.js +1 -1
  797. package/wrappers/AuthenticatedRoutesWrapper/AuthenticatedRoutesWrapper.js +1 -1
  798. package/wrappers/AuthenticatedRoutesWrapper/index.js +1 -1
  799. package/wrappers/AxiosInterceptorContext/AxiosInterceptorContext.js +1 -1
  800. package/wrappers/AxiosInterceptorContext/components/AxiosInterceptor.js +1 -1
  801. package/wrappers/AxiosInterceptorContext/components/AxiosInterceptorContextProvider.js +1 -1
  802. package/wrappers/AxiosInterceptorContext/components/LoginInfoListener.js +1 -1
  803. package/wrappers/AxiosInterceptorContext/components/index.js +1 -1
  804. package/wrappers/AxiosInterceptorContext/index.js +1 -1
  805. package/wrappers/DappProvider/CustomComponents.js +1 -1
  806. package/wrappers/DappProvider/DappProvider.js +1 -1
  807. package/wrappers/DappProvider/index.js +1 -1
  808. package/wrappers/index.js +1 -1
  809. package/__chunks__/chunk-3DRKBT5E.js +0 -2
  810. package/__chunks__/chunk-3YXLL6MW.js +0 -2
  811. package/__chunks__/chunk-5RZCYYFB.js +0 -2
  812. package/__chunks__/chunk-6OFEUWAW.js +0 -2
  813. package/__chunks__/chunk-6ORF3QPY.js +0 -2
  814. package/__chunks__/chunk-AYX7II5D.js +0 -2
  815. package/__chunks__/chunk-B2HUNSVF.js +0 -2
  816. package/__chunks__/chunk-FDI635JG.js +0 -2
  817. package/__chunks__/chunk-FIJSATLB.js +0 -2
  818. package/__chunks__/chunk-KGBCMOWB.js +0 -2
  819. package/__chunks__/chunk-M7XHLNDA.js +0 -2
  820. package/__chunks__/chunk-OFNDNL4K.js +0 -2
  821. package/__chunks__/chunk-OQPKYQ27.js +0 -2
  822. package/__chunks__/chunk-PUT4EQQN.js +0 -2
  823. package/__chunks__/chunk-V3DA6SW6.js +0 -2
  824. package/__chunks__/chunk-VBL2PL7V.js +0 -2
  825. package/__chunks__/chunk-WAYWMIAI.js +0 -2
  826. package/__chunks__/chunk-Y2CELDON.js +0 -2
  827. package/__chunks__/chunk-YLWL2XAU.js +0 -2
  828. package/__chunks__/chunk-Z5GTNNXT.js +0 -2
@@ -1,4 +1,4 @@
1
- "use strict";var Wr=Object.create;var M=Object.defineProperty;var Gr=Object.getOwnPropertyDescriptor;var Hr=Object.getOwnPropertyNames,ar=Object.getOwnPropertySymbols,qr=Object.getPrototypeOf,ur=Object.prototype.hasOwnProperty,Or=Object.prototype.propertyIsEnumerable;var sr=(t,r,e)=>r in t?M(t,r,{enumerable:!0,configurable:!0,writable:!0,value:e}):t[r]=e,W=(t,r)=>{for(var e in r||(r={}))ur.call(r,e)&&sr(t,e,r[e]);if(ar)for(var e of ar(r))Or.call(r,e)&&sr(t,e,r[e]);return t};var Vr=(t,r)=>()=>(t&&(r=t(t=0)),r);var G=(t,r)=>()=>(r||t((r={exports:{}}).exports,r),r.exports),Yr=(t,r)=>{for(var e in r)M(t,e,{get:r[e],enumerable:!0})},pr=(t,r,e,n)=>{if(r&&typeof r=="object"||typeof r=="function")for(let i of Hr(r))!ur.call(t,i)&&i!==e&&M(t,i,{get:()=>r[i],enumerable:!(n=Gr(r,i))||n.enumerable});return t};var Y=(t,r,e)=>(e=t!=null?Wr(qr(t)):{},pr(r||!t||!t.__esModule?M(e,"default",{value:t,enumerable:!0}):e,t)),zr=t=>pr(M({},"__esModule",{value:!0}),t);var fr=G(H=>{"use strict";c();H.byteLength=Jr;H.toByteArray=Kr;H.fromByteArray=Zr;var F=[],v=[],Xr=typeof Uint8Array!="undefined"?Uint8Array:Array,z="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(C=0,cr=z.length;C<cr;++C)F[C]=z[C],v[z.charCodeAt(C)]=C;var C,cr;v["-".charCodeAt(0)]=62;v["_".charCodeAt(0)]=63;function lr(t){var r=t.length;if(r%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var e=t.indexOf("=");e===-1&&(e=r);var n=e===r?0:4-e%4;return[e,n]}function Jr(t){var r=lr(t),e=r[0],n=r[1];return(e+n)*3/4-n}function $r(t,r,e){return(r+e)*3/4-e}function Kr(t){var r,e=lr(t),n=e[0],i=e[1],o=new Xr($r(t,n,i)),a=0,p=i>0?n-4:n,u;for(u=0;u<p;u+=4)r=v[t.charCodeAt(u)]<<18|v[t.charCodeAt(u+1)]<<12|v[t.charCodeAt(u+2)]<<6|v[t.charCodeAt(u+3)],o[a++]=r>>16&255,o[a++]=r>>8&255,o[a++]=r&255;return i===2&&(r=v[t.charCodeAt(u)]<<2|v[t.charCodeAt(u+1)]>>4,o[a++]=r&255),i===1&&(r=v[t.charCodeAt(u)]<<10|v[t.charCodeAt(u+1)]<<4|v[t.charCodeAt(u+2)]>>2,o[a++]=r>>8&255,o[a++]=r&255),o}function jr(t){return F[t>>18&63]+F[t>>12&63]+F[t>>6&63]+F[t&63]}function Qr(t,r,e){for(var n,i=[],o=r;o<e;o+=3)n=(t[o]<<16&16711680)+(t[o+1]<<8&65280)+(t[o+2]&255),i.push(jr(n));return i.join("")}function Zr(t){for(var r,e=t.length,n=e%3,i=[],o=16383,a=0,p=e-n;a<p;a+=o)i.push(Qr(t,a,a+o>p?p:a+o));return n===1?(r=t[e-1],i.push(F[r>>2]+F[r<<4&63]+"==")):n===2&&(r=(t[e-2]<<8)+t[e-1],i.push(F[r>>10]+F[r>>4&63]+F[r<<2&63]+"=")),i.join("")}});var gr=G(X=>{c();X.read=function(t,r,e,n,i){var o,a,p=i*8-n-1,u=(1<<p)-1,f=u>>1,g=-7,l=e?i-1:0,b=e?-1:1,T=t[r+l];for(l+=b,o=T&(1<<-g)-1,T>>=-g,g+=p;g>0;o=o*256+t[r+l],l+=b,g-=8);for(a=o&(1<<-g)-1,o>>=-g,g+=n;g>0;a=a*256+t[r+l],l+=b,g-=8);if(o===0)o=1-f;else{if(o===u)return a?NaN:(T?-1:1)*(1/0);a=a+Math.pow(2,n),o=o-f}return(T?-1:1)*a*Math.pow(2,o-n)};X.write=function(t,r,e,n,i,o){var a,p,u,f=o*8-i-1,g=(1<<f)-1,l=g>>1,b=i===23?Math.pow(2,-24)-Math.pow(2,-77):0,T=n?0:o-1,E=n?1:-1,Mr=r<0||r===0&&1/r<0?1:0;for(r=Math.abs(r),isNaN(r)||r===1/0?(p=isNaN(r)?1:0,a=g):(a=Math.floor(Math.log(r)/Math.LN2),r*(u=Math.pow(2,-a))<1&&(a--,u*=2),a+l>=1?r+=b/u:r+=b*Math.pow(2,1-l),r*u>=2&&(a++,u/=2),a+l>=g?(p=0,a=g):a+l>=1?(p=(r*u-1)*Math.pow(2,i),a=a+l):(p=r*Math.pow(2,l-1)*Math.pow(2,i),a=0));i>=8;t[e+T]=p&255,T+=E,p/=256,i-=8);for(a=a<<i|p,f+=i;f>0;t[e+T]=a&255,T+=E,a/=256,f-=8);t[e+T-E]|=Mr*128}});var Sr=G(D=>{"use strict";c();var J=fr(),L=gr(),dr=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;D.Buffer=s;D.SlowBuffer=oe;D.INSPECT_MAX_BYTES=50;var q=2147483647;D.kMaxLength=q;s.TYPED_ARRAY_SUPPORT=re();!s.TYPED_ARRAY_SUPPORT&&typeof console!="undefined"&&typeof console.error=="function"&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function re(){try{var t=new Uint8Array(1),r={foo:function(){return 42}};return Object.setPrototypeOf(r,Uint8Array.prototype),Object.setPrototypeOf(t,r),t.foo()===42}catch(e){return!1}}Object.defineProperty(s.prototype,"parent",{enumerable:!0,get:function(){if(!!s.isBuffer(this))return this.buffer}});Object.defineProperty(s.prototype,"offset",{enumerable:!0,get:function(){if(!!s.isBuffer(this))return this.byteOffset}});function B(t){if(t>q)throw new RangeError('The value "'+t+'" is invalid for option "size"');var r=new Uint8Array(t);return Object.setPrototypeOf(r,s.prototype),r}function s(t,r,e){if(typeof t=="number"){if(typeof r=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return Q(t)}return yr(t,r,e)}s.poolSize=8192;function yr(t,r,e){if(typeof t=="string")return te(t,r);if(ArrayBuffer.isView(t))return ne(t);if(t==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t);if(k(t,ArrayBuffer)||t&&k(t.buffer,ArrayBuffer)||typeof SharedArrayBuffer!="undefined"&&(k(t,SharedArrayBuffer)||t&&k(t.buffer,SharedArrayBuffer)))return K(t,r,e);if(typeof t=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var n=t.valueOf&&t.valueOf();if(n!=null&&n!==t)return s.from(n,r,e);var i=ie(t);if(i)return i;if(typeof Symbol!="undefined"&&Symbol.toPrimitive!=null&&typeof t[Symbol.toPrimitive]=="function")return s.from(t[Symbol.toPrimitive]("string"),r,e);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t)}s.from=function(t,r,e){return yr(t,r,e)};Object.setPrototypeOf(s.prototype,Uint8Array.prototype);Object.setPrototypeOf(s,Uint8Array);function xr(t){if(typeof t!="number")throw new TypeError('"size" argument must be of type number');if(t<0)throw new RangeError('The value "'+t+'" is invalid for option "size"')}function ee(t,r,e){return xr(t),t<=0?B(t):r!==void 0?typeof e=="string"?B(t).fill(r,e):B(t).fill(r):B(t)}s.alloc=function(t,r,e){return ee(t,r,e)};function Q(t){return xr(t),B(t<0?0:Z(t)|0)}s.allocUnsafe=function(t){return Q(t)};s.allocUnsafeSlow=function(t){return Q(t)};function te(t,r){if((typeof r!="string"||r==="")&&(r="utf8"),!s.isEncoding(r))throw new TypeError("Unknown encoding: "+r);var e=wr(t,r)|0,n=B(e),i=n.write(t,r);return i!==e&&(n=n.slice(0,i)),n}function $(t){for(var r=t.length<0?0:Z(t.length)|0,e=B(r),n=0;n<r;n+=1)e[n]=t[n]&255;return e}function ne(t){if(k(t,Uint8Array)){var r=new Uint8Array(t);return K(r.buffer,r.byteOffset,r.byteLength)}return $(t)}function K(t,r,e){if(r<0||t.byteLength<r)throw new RangeError('"offset" is outside of buffer bounds');if(t.byteLength<r+(e||0))throw new RangeError('"length" is outside of buffer bounds');var n;return r===void 0&&e===void 0?n=new Uint8Array(t):e===void 0?n=new Uint8Array(t,r):n=new Uint8Array(t,r,e),Object.setPrototypeOf(n,s.prototype),n}function ie(t){if(s.isBuffer(t)){var r=Z(t.length)|0,e=B(r);return e.length===0||t.copy(e,0,0,r),e}if(t.length!==void 0)return typeof t.length!="number"||rr(t.length)?B(0):$(t);if(t.type==="Buffer"&&Array.isArray(t.data))return $(t.data)}function Z(t){if(t>=q)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+q.toString(16)+" bytes");return t|0}function oe(t){return+t!=t&&(t=0),s.alloc(+t)}s.isBuffer=function(r){return r!=null&&r._isBuffer===!0&&r!==s.prototype};s.compare=function(r,e){if(k(r,Uint8Array)&&(r=s.from(r,r.offset,r.byteLength)),k(e,Uint8Array)&&(e=s.from(e,e.offset,e.byteLength)),!s.isBuffer(r)||!s.isBuffer(e))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(r===e)return 0;for(var n=r.length,i=e.length,o=0,a=Math.min(n,i);o<a;++o)if(r[o]!==e[o]){n=r[o],i=e[o];break}return n<i?-1:i<n?1:0};s.isEncoding=function(r){switch(String(r).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}};s.concat=function(r,e){if(!Array.isArray(r))throw new TypeError('"list" argument must be an Array of Buffers');if(r.length===0)return s.alloc(0);var n;if(e===void 0)for(e=0,n=0;n<r.length;++n)e+=r[n].length;var i=s.allocUnsafe(e),o=0;for(n=0;n<r.length;++n){var a=r[n];if(k(a,Uint8Array))o+a.length>i.length?s.from(a).copy(i,o):Uint8Array.prototype.set.call(i,a,o);else if(s.isBuffer(a))a.copy(i,o);else throw new TypeError('"list" argument must be an Array of Buffers');o+=a.length}return i};function wr(t,r){if(s.isBuffer(t))return t.length;if(ArrayBuffer.isView(t)||k(t,ArrayBuffer))return t.byteLength;if(typeof t!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof t);var e=t.length,n=arguments.length>2&&arguments[2]===!0;if(!n&&e===0)return 0;for(var i=!1;;)switch(r){case"ascii":case"latin1":case"binary":return e;case"utf8":case"utf-8":return j(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return e*2;case"hex":return e>>>1;case"base64":return Ir(t).length;default:if(i)return n?-1:j(t).length;r=(""+r).toLowerCase(),i=!0}}s.byteLength=wr;function ae(t,r,e){var n=!1;if((r===void 0||r<0)&&(r=0),r>this.length||((e===void 0||e>this.length)&&(e=this.length),e<=0)||(e>>>=0,r>>>=0,e<=r))return"";for(t||(t="utf8");;)switch(t){case"hex":return me(this,r,e);case"utf8":case"utf-8":return vr(this,r,e);case"ascii":return de(this,r,e);case"latin1":case"binary":return he(this,r,e);case"base64":return fe(this,r,e);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return ye(this,r,e);default:if(n)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),n=!0}}s.prototype._isBuffer=!0;function U(t,r,e){var n=t[r];t[r]=t[e],t[e]=n}s.prototype.swap16=function(){var r=this.length;if(r%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var e=0;e<r;e+=2)U(this,e,e+1);return this};s.prototype.swap32=function(){var r=this.length;if(r%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var e=0;e<r;e+=4)U(this,e,e+3),U(this,e+1,e+2);return this};s.prototype.swap64=function(){var r=this.length;if(r%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var e=0;e<r;e+=8)U(this,e,e+7),U(this,e+1,e+6),U(this,e+2,e+5),U(this,e+3,e+4);return this};s.prototype.toString=function(){var r=this.length;return r===0?"":arguments.length===0?vr(this,0,r):ae.apply(this,arguments)};s.prototype.toLocaleString=s.prototype.toString;s.prototype.equals=function(r){if(!s.isBuffer(r))throw new TypeError("Argument must be a Buffer");return this===r?!0:s.compare(this,r)===0};s.prototype.inspect=function(){var r="",e=D.INSPECT_MAX_BYTES;return r=this.toString("hex",0,e).replace(/(.{2})/g,"$1 ").trim(),this.length>e&&(r+=" ... "),"<Buffer "+r+">"};dr&&(s.prototype[dr]=s.prototype.inspect);s.prototype.compare=function(r,e,n,i,o){if(k(r,Uint8Array)&&(r=s.from(r,r.offset,r.byteLength)),!s.isBuffer(r))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof r);if(e===void 0&&(e=0),n===void 0&&(n=r?r.length:0),i===void 0&&(i=0),o===void 0&&(o=this.length),e<0||n>r.length||i<0||o>this.length)throw new RangeError("out of range index");if(i>=o&&e>=n)return 0;if(i>=o)return-1;if(e>=n)return 1;if(e>>>=0,n>>>=0,i>>>=0,o>>>=0,this===r)return 0;for(var a=o-i,p=n-e,u=Math.min(a,p),f=this.slice(i,o),g=r.slice(e,n),l=0;l<u;++l)if(f[l]!==g[l]){a=f[l],p=g[l];break}return a<p?-1:p<a?1:0};function Tr(t,r,e,n,i){if(t.length===0)return-1;if(typeof e=="string"?(n=e,e=0):e>2147483647?e=2147483647:e<-2147483648&&(e=-2147483648),e=+e,rr(e)&&(e=i?0:t.length-1),e<0&&(e=t.length+e),e>=t.length){if(i)return-1;e=t.length-1}else if(e<0)if(i)e=0;else return-1;if(typeof r=="string"&&(r=s.from(r,n)),s.isBuffer(r))return r.length===0?-1:hr(t,r,e,n,i);if(typeof r=="number")return r=r&255,typeof Uint8Array.prototype.indexOf=="function"?i?Uint8Array.prototype.indexOf.call(t,r,e):Uint8Array.prototype.lastIndexOf.call(t,r,e):hr(t,[r],e,n,i);throw new TypeError("val must be string, number or Buffer")}function hr(t,r,e,n,i){var o=1,a=t.length,p=r.length;if(n!==void 0&&(n=String(n).toLowerCase(),n==="ucs2"||n==="ucs-2"||n==="utf16le"||n==="utf-16le")){if(t.length<2||r.length<2)return-1;o=2,a/=2,p/=2,e/=2}function u(T,E){return o===1?T[E]:T.readUInt16BE(E*o)}var f;if(i){var g=-1;for(f=e;f<a;f++)if(u(t,f)===u(r,g===-1?0:f-g)){if(g===-1&&(g=f),f-g+1===p)return g*o}else g!==-1&&(f-=f-g),g=-1}else for(e+p>a&&(e=a-p),f=e;f>=0;f--){for(var l=!0,b=0;b<p;b++)if(u(t,f+b)!==u(r,b)){l=!1;break}if(l)return f}return-1}s.prototype.includes=function(r,e,n){return this.indexOf(r,e,n)!==-1};s.prototype.indexOf=function(r,e,n){return Tr(this,r,e,n,!0)};s.prototype.lastIndexOf=function(r,e,n){return Tr(this,r,e,n,!1)};function se(t,r,e,n){e=Number(e)||0;var i=t.length-e;n?(n=Number(n),n>i&&(n=i)):n=i;var o=r.length;n>o/2&&(n=o/2);for(var a=0;a<n;++a){var p=parseInt(r.substr(a*2,2),16);if(rr(p))return a;t[e+a]=p}return a}function ue(t,r,e,n){return O(j(r,t.length-e),t,e,n)}function pe(t,r,e,n){return O(Te(r),t,e,n)}function ce(t,r,e,n){return O(Ir(r),t,e,n)}function le(t,r,e,n){return O(ve(r,t.length-e),t,e,n)}s.prototype.write=function(r,e,n,i){if(e===void 0)i="utf8",n=this.length,e=0;else if(n===void 0&&typeof e=="string")i=e,n=this.length,e=0;else if(isFinite(e))e=e>>>0,isFinite(n)?(n=n>>>0,i===void 0&&(i="utf8")):(i=n,n=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var o=this.length-e;if((n===void 0||n>o)&&(n=o),r.length>0&&(n<0||e<0)||e>this.length)throw new RangeError("Attempt to write outside buffer bounds");i||(i="utf8");for(var a=!1;;)switch(i){case"hex":return se(this,r,e,n);case"utf8":case"utf-8":return ue(this,r,e,n);case"ascii":case"latin1":case"binary":return pe(this,r,e,n);case"base64":return ce(this,r,e,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return le(this,r,e,n);default:if(a)throw new TypeError("Unknown encoding: "+i);i=(""+i).toLowerCase(),a=!0}};s.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function fe(t,r,e){return r===0&&e===t.length?J.fromByteArray(t):J.fromByteArray(t.slice(r,e))}function vr(t,r,e){e=Math.min(t.length,e);for(var n=[],i=r;i<e;){var o=t[i],a=null,p=o>239?4:o>223?3:o>191?2:1;if(i+p<=e){var u,f,g,l;switch(p){case 1:o<128&&(a=o);break;case 2:u=t[i+1],(u&192)===128&&(l=(o&31)<<6|u&63,l>127&&(a=l));break;case 3:u=t[i+1],f=t[i+2],(u&192)===128&&(f&192)===128&&(l=(o&15)<<12|(u&63)<<6|f&63,l>2047&&(l<55296||l>57343)&&(a=l));break;case 4:u=t[i+1],f=t[i+2],g=t[i+3],(u&192)===128&&(f&192)===128&&(g&192)===128&&(l=(o&15)<<18|(u&63)<<12|(f&63)<<6|g&63,l>65535&&l<1114112&&(a=l))}}a===null?(a=65533,p=1):a>65535&&(a-=65536,n.push(a>>>10&1023|55296),a=56320|a&1023),n.push(a),i+=p}return ge(n)}var mr=4096;function ge(t){var r=t.length;if(r<=mr)return String.fromCharCode.apply(String,t);for(var e="",n=0;n<r;)e+=String.fromCharCode.apply(String,t.slice(n,n+=mr));return e}function de(t,r,e){var n="";e=Math.min(t.length,e);for(var i=r;i<e;++i)n+=String.fromCharCode(t[i]&127);return n}function he(t,r,e){var n="";e=Math.min(t.length,e);for(var i=r;i<e;++i)n+=String.fromCharCode(t[i]);return n}function me(t,r,e){var n=t.length;(!r||r<0)&&(r=0),(!e||e<0||e>n)&&(e=n);for(var i="",o=r;o<e;++o)i+=be[t[o]];return i}function ye(t,r,e){for(var n=t.slice(r,e),i="",o=0;o<n.length-1;o+=2)i+=String.fromCharCode(n[o]+n[o+1]*256);return i}s.prototype.slice=function(r,e){var n=this.length;r=~~r,e=e===void 0?n:~~e,r<0?(r+=n,r<0&&(r=0)):r>n&&(r=n),e<0?(e+=n,e<0&&(e=0)):e>n&&(e=n),e<r&&(e=r);var i=this.subarray(r,e);return Object.setPrototypeOf(i,s.prototype),i};function x(t,r,e){if(t%1!==0||t<0)throw new RangeError("offset is not uint");if(t+r>e)throw new RangeError("Trying to access beyond buffer length")}s.prototype.readUintLE=s.prototype.readUIntLE=function(r,e,n){r=r>>>0,e=e>>>0,n||x(r,e,this.length);for(var i=this[r],o=1,a=0;++a<e&&(o*=256);)i+=this[r+a]*o;return i};s.prototype.readUintBE=s.prototype.readUIntBE=function(r,e,n){r=r>>>0,e=e>>>0,n||x(r,e,this.length);for(var i=this[r+--e],o=1;e>0&&(o*=256);)i+=this[r+--e]*o;return i};s.prototype.readUint8=s.prototype.readUInt8=function(r,e){return r=r>>>0,e||x(r,1,this.length),this[r]};s.prototype.readUint16LE=s.prototype.readUInt16LE=function(r,e){return r=r>>>0,e||x(r,2,this.length),this[r]|this[r+1]<<8};s.prototype.readUint16BE=s.prototype.readUInt16BE=function(r,e){return r=r>>>0,e||x(r,2,this.length),this[r]<<8|this[r+1]};s.prototype.readUint32LE=s.prototype.readUInt32LE=function(r,e){return r=r>>>0,e||x(r,4,this.length),(this[r]|this[r+1]<<8|this[r+2]<<16)+this[r+3]*16777216};s.prototype.readUint32BE=s.prototype.readUInt32BE=function(r,e){return r=r>>>0,e||x(r,4,this.length),this[r]*16777216+(this[r+1]<<16|this[r+2]<<8|this[r+3])};s.prototype.readIntLE=function(r,e,n){r=r>>>0,e=e>>>0,n||x(r,e,this.length);for(var i=this[r],o=1,a=0;++a<e&&(o*=256);)i+=this[r+a]*o;return o*=128,i>=o&&(i-=Math.pow(2,8*e)),i};s.prototype.readIntBE=function(r,e,n){r=r>>>0,e=e>>>0,n||x(r,e,this.length);for(var i=e,o=1,a=this[r+--i];i>0&&(o*=256);)a+=this[r+--i]*o;return o*=128,a>=o&&(a-=Math.pow(2,8*e)),a};s.prototype.readInt8=function(r,e){return r=r>>>0,e||x(r,1,this.length),this[r]&128?(255-this[r]+1)*-1:this[r]};s.prototype.readInt16LE=function(r,e){r=r>>>0,e||x(r,2,this.length);var n=this[r]|this[r+1]<<8;return n&32768?n|4294901760:n};s.prototype.readInt16BE=function(r,e){r=r>>>0,e||x(r,2,this.length);var n=this[r+1]|this[r]<<8;return n&32768?n|4294901760:n};s.prototype.readInt32LE=function(r,e){return r=r>>>0,e||x(r,4,this.length),this[r]|this[r+1]<<8|this[r+2]<<16|this[r+3]<<24};s.prototype.readInt32BE=function(r,e){return r=r>>>0,e||x(r,4,this.length),this[r]<<24|this[r+1]<<16|this[r+2]<<8|this[r+3]};s.prototype.readFloatLE=function(r,e){return r=r>>>0,e||x(r,4,this.length),L.read(this,r,!0,23,4)};s.prototype.readFloatBE=function(r,e){return r=r>>>0,e||x(r,4,this.length),L.read(this,r,!1,23,4)};s.prototype.readDoubleLE=function(r,e){return r=r>>>0,e||x(r,8,this.length),L.read(this,r,!0,52,8)};s.prototype.readDoubleBE=function(r,e){return r=r>>>0,e||x(r,8,this.length),L.read(this,r,!1,52,8)};function w(t,r,e,n,i,o){if(!s.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(r>i||r<o)throw new RangeError('"value" argument is out of bounds');if(e+n>t.length)throw new RangeError("Index out of range")}s.prototype.writeUintLE=s.prototype.writeUIntLE=function(r,e,n,i){if(r=+r,e=e>>>0,n=n>>>0,!i){var o=Math.pow(2,8*n)-1;w(this,r,e,n,o,0)}var a=1,p=0;for(this[e]=r&255;++p<n&&(a*=256);)this[e+p]=r/a&255;return e+n};s.prototype.writeUintBE=s.prototype.writeUIntBE=function(r,e,n,i){if(r=+r,e=e>>>0,n=n>>>0,!i){var o=Math.pow(2,8*n)-1;w(this,r,e,n,o,0)}var a=n-1,p=1;for(this[e+a]=r&255;--a>=0&&(p*=256);)this[e+a]=r/p&255;return e+n};s.prototype.writeUint8=s.prototype.writeUInt8=function(r,e,n){return r=+r,e=e>>>0,n||w(this,r,e,1,255,0),this[e]=r&255,e+1};s.prototype.writeUint16LE=s.prototype.writeUInt16LE=function(r,e,n){return r=+r,e=e>>>0,n||w(this,r,e,2,65535,0),this[e]=r&255,this[e+1]=r>>>8,e+2};s.prototype.writeUint16BE=s.prototype.writeUInt16BE=function(r,e,n){return r=+r,e=e>>>0,n||w(this,r,e,2,65535,0),this[e]=r>>>8,this[e+1]=r&255,e+2};s.prototype.writeUint32LE=s.prototype.writeUInt32LE=function(r,e,n){return r=+r,e=e>>>0,n||w(this,r,e,4,4294967295,0),this[e+3]=r>>>24,this[e+2]=r>>>16,this[e+1]=r>>>8,this[e]=r&255,e+4};s.prototype.writeUint32BE=s.prototype.writeUInt32BE=function(r,e,n){return r=+r,e=e>>>0,n||w(this,r,e,4,4294967295,0),this[e]=r>>>24,this[e+1]=r>>>16,this[e+2]=r>>>8,this[e+3]=r&255,e+4};s.prototype.writeIntLE=function(r,e,n,i){if(r=+r,e=e>>>0,!i){var o=Math.pow(2,8*n-1);w(this,r,e,n,o-1,-o)}var a=0,p=1,u=0;for(this[e]=r&255;++a<n&&(p*=256);)r<0&&u===0&&this[e+a-1]!==0&&(u=1),this[e+a]=(r/p>>0)-u&255;return e+n};s.prototype.writeIntBE=function(r,e,n,i){if(r=+r,e=e>>>0,!i){var o=Math.pow(2,8*n-1);w(this,r,e,n,o-1,-o)}var a=n-1,p=1,u=0;for(this[e+a]=r&255;--a>=0&&(p*=256);)r<0&&u===0&&this[e+a+1]!==0&&(u=1),this[e+a]=(r/p>>0)-u&255;return e+n};s.prototype.writeInt8=function(r,e,n){return r=+r,e=e>>>0,n||w(this,r,e,1,127,-128),r<0&&(r=255+r+1),this[e]=r&255,e+1};s.prototype.writeInt16LE=function(r,e,n){return r=+r,e=e>>>0,n||w(this,r,e,2,32767,-32768),this[e]=r&255,this[e+1]=r>>>8,e+2};s.prototype.writeInt16BE=function(r,e,n){return r=+r,e=e>>>0,n||w(this,r,e,2,32767,-32768),this[e]=r>>>8,this[e+1]=r&255,e+2};s.prototype.writeInt32LE=function(r,e,n){return r=+r,e=e>>>0,n||w(this,r,e,4,2147483647,-2147483648),this[e]=r&255,this[e+1]=r>>>8,this[e+2]=r>>>16,this[e+3]=r>>>24,e+4};s.prototype.writeInt32BE=function(r,e,n){return r=+r,e=e>>>0,n||w(this,r,e,4,2147483647,-2147483648),r<0&&(r=4294967295+r+1),this[e]=r>>>24,this[e+1]=r>>>16,this[e+2]=r>>>8,this[e+3]=r&255,e+4};function br(t,r,e,n,i,o){if(e+n>t.length)throw new RangeError("Index out of range");if(e<0)throw new RangeError("Index out of range")}function Fr(t,r,e,n,i){return r=+r,e=e>>>0,i||br(t,r,e,4,34028234663852886e22,-34028234663852886e22),L.write(t,r,e,n,23,4),e+4}s.prototype.writeFloatLE=function(r,e,n){return Fr(this,r,e,!0,n)};s.prototype.writeFloatBE=function(r,e,n){return Fr(this,r,e,!1,n)};function kr(t,r,e,n,i){return r=+r,e=e>>>0,i||br(t,r,e,8,17976931348623157e292,-17976931348623157e292),L.write(t,r,e,n,52,8),e+8}s.prototype.writeDoubleLE=function(r,e,n){return kr(this,r,e,!0,n)};s.prototype.writeDoubleBE=function(r,e,n){return kr(this,r,e,!1,n)};s.prototype.copy=function(r,e,n,i){if(!s.isBuffer(r))throw new TypeError("argument should be a Buffer");if(n||(n=0),!i&&i!==0&&(i=this.length),e>=r.length&&(e=r.length),e||(e=0),i>0&&i<n&&(i=n),i===n||r.length===0||this.length===0)return 0;if(e<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw new RangeError("Index out of range");if(i<0)throw new RangeError("sourceEnd out of bounds");i>this.length&&(i=this.length),r.length-e<i-n&&(i=r.length-e+n);var o=i-n;return this===r&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(e,n,i):Uint8Array.prototype.set.call(r,this.subarray(n,i),e),o};s.prototype.fill=function(r,e,n,i){if(typeof r=="string"){if(typeof e=="string"?(i=e,e=0,n=this.length):typeof n=="string"&&(i=n,n=this.length),i!==void 0&&typeof i!="string")throw new TypeError("encoding must be a string");if(typeof i=="string"&&!s.isEncoding(i))throw new TypeError("Unknown encoding: "+i);if(r.length===1){var o=r.charCodeAt(0);(i==="utf8"&&o<128||i==="latin1")&&(r=o)}}else typeof r=="number"?r=r&255:typeof r=="boolean"&&(r=Number(r));if(e<0||this.length<e||this.length<n)throw new RangeError("Out of range index");if(n<=e)return this;e=e>>>0,n=n===void 0?this.length:n>>>0,r||(r=0);var a;if(typeof r=="number")for(a=e;a<n;++a)this[a]=r;else{var p=s.isBuffer(r)?r:s.from(r,i),u=p.length;if(u===0)throw new TypeError('The value "'+r+'" is invalid for argument "value"');for(a=0;a<n-e;++a)this[a+e]=p[a%u]}return this};var xe=/[^+/0-9A-Za-z-_]/g;function we(t){if(t=t.split("=")[0],t=t.trim().replace(xe,""),t.length<2)return"";for(;t.length%4!==0;)t=t+"=";return t}function j(t,r){r=r||1/0;for(var e,n=t.length,i=null,o=[],a=0;a<n;++a){if(e=t.charCodeAt(a),e>55295&&e<57344){if(!i){if(e>56319){(r-=3)>-1&&o.push(239,191,189);continue}else if(a+1===n){(r-=3)>-1&&o.push(239,191,189);continue}i=e;continue}if(e<56320){(r-=3)>-1&&o.push(239,191,189),i=e;continue}e=(i-55296<<10|e-56320)+65536}else i&&(r-=3)>-1&&o.push(239,191,189);if(i=null,e<128){if((r-=1)<0)break;o.push(e)}else if(e<2048){if((r-=2)<0)break;o.push(e>>6|192,e&63|128)}else if(e<65536){if((r-=3)<0)break;o.push(e>>12|224,e>>6&63|128,e&63|128)}else if(e<1114112){if((r-=4)<0)break;o.push(e>>18|240,e>>12&63|128,e>>6&63|128,e&63|128)}else throw new Error("Invalid code point")}return o}function Te(t){for(var r=[],e=0;e<t.length;++e)r.push(t.charCodeAt(e)&255);return r}function ve(t,r){for(var e,n,i,o=[],a=0;a<t.length&&!((r-=2)<0);++a)e=t.charCodeAt(a),n=e>>8,i=e%256,o.push(i),o.push(n);return o}function Ir(t){return J.toByteArray(we(t))}function O(t,r,e,n){for(var i=0;i<n&&!(i+e>=r.length||i>=t.length);++i)r[i+e]=t[i];return i}function k(t,r){return t instanceof r||t!=null&&t.constructor!=null&&t.constructor.name!=null&&t.constructor.name===r.name}function rr(t){return t!==t}var be=function(){for(var t="0123456789abcdef",r=new Array(256),e=0;e<16;++e)for(var n=e*16,i=0;i<16;++i)r[n+i]=t[e]+t[i];return r}()});var Ur=G((Ee,Cr)=>{c();var y=Cr.exports={},I,S;function er(){throw new Error("setTimeout has not been defined")}function tr(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?I=setTimeout:I=er}catch(t){I=er}try{typeof clearTimeout=="function"?S=clearTimeout:S=tr}catch(t){S=tr}})();function Br(t){if(I===setTimeout)return setTimeout(t,0);if((I===er||!I)&&setTimeout)return I=setTimeout,setTimeout(t,0);try{return I(t,0)}catch(r){try{return I.call(null,t,0)}catch(e){return I.call(this,t,0)}}}function Fe(t){if(S===clearTimeout)return clearTimeout(t);if((S===tr||!S)&&clearTimeout)return S=clearTimeout,clearTimeout(t);try{return S(t)}catch(r){try{return S.call(null,t)}catch(e){return S.call(this,t)}}}var R=[],P=!1,_,V=-1;function ke(){!P||!_||(P=!1,_.length?R=_.concat(R):V=-1,R.length&&Rr())}function Rr(){if(!P){var t=Br(ke);P=!0;for(var r=R.length;r;){for(_=R,R=[];++V<r;)_&&_[V].run();V=-1,r=R.length}_=null,P=!1,Fe(t)}}y.nextTick=function(t){var r=new Array(arguments.length-1);if(arguments.length>1)for(var e=1;e<arguments.length;e++)r[e-1]=arguments[e];R.push(new Ar(t,r)),R.length===1&&!P&&Br(Rr)};function Ar(t,r){this.fun=t,this.array=r}Ar.prototype.run=function(){this.fun.apply(null,this.array)};y.title="browser";y.browser=!0;y.env={};y.argv=[];y.version="";y.versions={};function A(){}y.on=A;y.addListener=A;y.once=A;y.off=A;y.removeListener=A;y.removeAllListeners=A;y.emit=A;y.prependListener=A;y.prependOnceListener=A;y.listeners=function(t){return[]};y.binding=function(t){throw new Error("process.binding is not supported")};y.cwd=function(){return"/"};y.chdir=function(t){throw new Error("process.chdir is not supported")};y.umask=function(){return 0}});var d,h,Le,c=Vr(()=>{d=Y(Sr()),h=Y(Ur()),Le=function(t){function r(){var n=this||self;return delete t.prototype.__magic__,n}if(typeof globalThis=="object")return globalThis;if(this)return r();t.defineProperty(t.prototype,"__magic__",{configurable:!0,get:r});var e=__magic__;return e}(Object)});var Re={};Yr(Re,{getSmartDecodedParts:()=>Be});module.exports=zr(Re);c();c();c();c();c();c();c();var Ie=require("@multiversx/sdk-dapp-utils/out/constants/browserConstants"),N=require("@multiversx/sdk-dapp-utils/out/enums/windowProviderEnums");var _r=(e=>(e.signTransactionsWithGuardianResponse="SIGN_TRANSACTIONS_WITH_GUARDIAN_RESPONSE",e.reloginRequest="RELOGIN_REQUEST",e))(_r||{}),We=W(W({},N.WindowProviderRequestEnums),_r),Er=(r=>(r.reloginResponse="RELOGIN_RESPONSE",r))(Er||{}),Ge=W(W({},N.WindowProviderResponseEnums),Er);c();c();c();c();c();c();c();var Nr=require("@multiversx/sdk-core/out"),ir=Y(require("bignumber.js"));c();var Lr=require("@multiversx/sdk-core");function Se(t){try{let r=new Lr.Address(t);return Boolean(r.bech32())}catch(r){return!1}}function Dr(t){return(t==null?void 0:t.startsWith("erd"))&&t.length===62&&/^\w+$/.test(t)&&Se(t)}c();c();c();c();function nr(t){for(let r=0;r<t.length;r++)if(t.charCodeAt(r)>127)return!1;return!0}c();c();var Pr=t=>/\d/.test(t);var or=(t,r,e)=>{try{switch(r){case"text":return Pr(t)?d.Buffer.from(t,"hex").toString("utf8"):t;case"decimal":return new ir.default(t,16).toString(10);case"smart":let i=Nr.Address.fromHex(t).toString();if(Dr(i))return i;let o=d.Buffer.from(t,"hex").toString("utf8");return nr(o)||e&&[...e.esdts,...e.nfts].some(u=>o.includes(u))?o:new ir.default(t,16).toString(10);case"raw":default:return t}}catch(n){return console.error(`Error during data decoding of "${t}" as "${r}"`,n),t}};var Be=({parts:t,decodedParts:r,identifier:e})=>{let n=[...r];if(t[0]==="ESDTNFTTransfer"&&t[2]&&(n[2]=or(t[2],"decimal")),e==="ESDTNFTTransfer"&&t[1]){let i=d.Buffer.from(String(t[1]),"base64");n[1]=or(i.toString("hex"),"decimal")}return n};0&&(module.exports={getSmartDecodedParts});
1
+ "use strict";var Wr=Object.create;var M=Object.defineProperty;var Gr=Object.getOwnPropertyDescriptor;var Hr=Object.getOwnPropertyNames,ar=Object.getOwnPropertySymbols,qr=Object.getPrototypeOf,ur=Object.prototype.hasOwnProperty,Or=Object.prototype.propertyIsEnumerable;var sr=(t,r,e)=>r in t?M(t,r,{enumerable:!0,configurable:!0,writable:!0,value:e}):t[r]=e,W=(t,r)=>{for(var e in r||(r={}))ur.call(r,e)&&sr(t,e,r[e]);if(ar)for(var e of ar(r))Or.call(r,e)&&sr(t,e,r[e]);return t};var Vr=(t,r)=>()=>(t&&(r=t(t=0)),r);var G=(t,r)=>()=>(r||t((r={exports:{}}).exports,r),r.exports),Yr=(t,r)=>{for(var e in r)M(t,e,{get:r[e],enumerable:!0})},pr=(t,r,e,n)=>{if(r&&typeof r=="object"||typeof r=="function")for(let i of Hr(r))!ur.call(t,i)&&i!==e&&M(t,i,{get:()=>r[i],enumerable:!(n=Gr(r,i))||n.enumerable});return t};var Y=(t,r,e)=>(e=t!=null?Wr(qr(t)):{},pr(r||!t||!t.__esModule?M(e,"default",{value:t,enumerable:!0}):e,t)),zr=t=>pr(M({},"__esModule",{value:!0}),t);var fr=G(H=>{"use strict";c();H.byteLength=Jr;H.toByteArray=Kr;H.fromByteArray=Zr;var F=[],v=[],Xr=typeof Uint8Array!="undefined"?Uint8Array:Array,z="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(C=0,cr=z.length;C<cr;++C)F[C]=z[C],v[z.charCodeAt(C)]=C;var C,cr;v["-".charCodeAt(0)]=62;v["_".charCodeAt(0)]=63;function lr(t){var r=t.length;if(r%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var e=t.indexOf("=");e===-1&&(e=r);var n=e===r?0:4-e%4;return[e,n]}function Jr(t){var r=lr(t),e=r[0],n=r[1];return(e+n)*3/4-n}function $r(t,r,e){return(r+e)*3/4-e}function Kr(t){var r,e=lr(t),n=e[0],i=e[1],o=new Xr($r(t,n,i)),a=0,p=i>0?n-4:n,u;for(u=0;u<p;u+=4)r=v[t.charCodeAt(u)]<<18|v[t.charCodeAt(u+1)]<<12|v[t.charCodeAt(u+2)]<<6|v[t.charCodeAt(u+3)],o[a++]=r>>16&255,o[a++]=r>>8&255,o[a++]=r&255;return i===2&&(r=v[t.charCodeAt(u)]<<2|v[t.charCodeAt(u+1)]>>4,o[a++]=r&255),i===1&&(r=v[t.charCodeAt(u)]<<10|v[t.charCodeAt(u+1)]<<4|v[t.charCodeAt(u+2)]>>2,o[a++]=r>>8&255,o[a++]=r&255),o}function jr(t){return F[t>>18&63]+F[t>>12&63]+F[t>>6&63]+F[t&63]}function Qr(t,r,e){for(var n,i=[],o=r;o<e;o+=3)n=(t[o]<<16&16711680)+(t[o+1]<<8&65280)+(t[o+2]&255),i.push(jr(n));return i.join("")}function Zr(t){for(var r,e=t.length,n=e%3,i=[],o=16383,a=0,p=e-n;a<p;a+=o)i.push(Qr(t,a,a+o>p?p:a+o));return n===1?(r=t[e-1],i.push(F[r>>2]+F[r<<4&63]+"==")):n===2&&(r=(t[e-2]<<8)+t[e-1],i.push(F[r>>10]+F[r>>4&63]+F[r<<2&63]+"=")),i.join("")}});var gr=G(X=>{c();X.read=function(t,r,e,n,i){var o,a,p=i*8-n-1,u=(1<<p)-1,f=u>>1,g=-7,l=e?i-1:0,b=e?-1:1,T=t[r+l];for(l+=b,o=T&(1<<-g)-1,T>>=-g,g+=p;g>0;o=o*256+t[r+l],l+=b,g-=8);for(a=o&(1<<-g)-1,o>>=-g,g+=n;g>0;a=a*256+t[r+l],l+=b,g-=8);if(o===0)o=1-f;else{if(o===u)return a?NaN:(T?-1:1)*(1/0);a=a+Math.pow(2,n),o=o-f}return(T?-1:1)*a*Math.pow(2,o-n)};X.write=function(t,r,e,n,i,o){var a,p,u,f=o*8-i-1,g=(1<<f)-1,l=g>>1,b=i===23?Math.pow(2,-24)-Math.pow(2,-77):0,T=n?0:o-1,E=n?1:-1,Mr=r<0||r===0&&1/r<0?1:0;for(r=Math.abs(r),isNaN(r)||r===1/0?(p=isNaN(r)?1:0,a=g):(a=Math.floor(Math.log(r)/Math.LN2),r*(u=Math.pow(2,-a))<1&&(a--,u*=2),a+l>=1?r+=b/u:r+=b*Math.pow(2,1-l),r*u>=2&&(a++,u/=2),a+l>=g?(p=0,a=g):a+l>=1?(p=(r*u-1)*Math.pow(2,i),a=a+l):(p=r*Math.pow(2,l-1)*Math.pow(2,i),a=0));i>=8;t[e+T]=p&255,T+=E,p/=256,i-=8);for(a=a<<i|p,f+=i;f>0;t[e+T]=a&255,T+=E,a/=256,f-=8);t[e+T-E]|=Mr*128}});var Sr=G(D=>{"use strict";c();var J=fr(),L=gr(),dr=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;D.Buffer=s;D.SlowBuffer=oe;D.INSPECT_MAX_BYTES=50;var q=2147483647;D.kMaxLength=q;s.TYPED_ARRAY_SUPPORT=re();!s.TYPED_ARRAY_SUPPORT&&typeof console!="undefined"&&typeof console.error=="function"&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function re(){try{var t=new Uint8Array(1),r={foo:function(){return 42}};return Object.setPrototypeOf(r,Uint8Array.prototype),Object.setPrototypeOf(t,r),t.foo()===42}catch(e){return!1}}Object.defineProperty(s.prototype,"parent",{enumerable:!0,get:function(){if(!!s.isBuffer(this))return this.buffer}});Object.defineProperty(s.prototype,"offset",{enumerable:!0,get:function(){if(!!s.isBuffer(this))return this.byteOffset}});function B(t){if(t>q)throw new RangeError('The value "'+t+'" is invalid for option "size"');var r=new Uint8Array(t);return Object.setPrototypeOf(r,s.prototype),r}function s(t,r,e){if(typeof t=="number"){if(typeof r=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return Q(t)}return yr(t,r,e)}s.poolSize=8192;function yr(t,r,e){if(typeof t=="string")return te(t,r);if(ArrayBuffer.isView(t))return ne(t);if(t==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t);if(k(t,ArrayBuffer)||t&&k(t.buffer,ArrayBuffer)||typeof SharedArrayBuffer!="undefined"&&(k(t,SharedArrayBuffer)||t&&k(t.buffer,SharedArrayBuffer)))return K(t,r,e);if(typeof t=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var n=t.valueOf&&t.valueOf();if(n!=null&&n!==t)return s.from(n,r,e);var i=ie(t);if(i)return i;if(typeof Symbol!="undefined"&&Symbol.toPrimitive!=null&&typeof t[Symbol.toPrimitive]=="function")return s.from(t[Symbol.toPrimitive]("string"),r,e);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t)}s.from=function(t,r,e){return yr(t,r,e)};Object.setPrototypeOf(s.prototype,Uint8Array.prototype);Object.setPrototypeOf(s,Uint8Array);function xr(t){if(typeof t!="number")throw new TypeError('"size" argument must be of type number');if(t<0)throw new RangeError('The value "'+t+'" is invalid for option "size"')}function ee(t,r,e){return xr(t),t<=0?B(t):r!==void 0?typeof e=="string"?B(t).fill(r,e):B(t).fill(r):B(t)}s.alloc=function(t,r,e){return ee(t,r,e)};function Q(t){return xr(t),B(t<0?0:Z(t)|0)}s.allocUnsafe=function(t){return Q(t)};s.allocUnsafeSlow=function(t){return Q(t)};function te(t,r){if((typeof r!="string"||r==="")&&(r="utf8"),!s.isEncoding(r))throw new TypeError("Unknown encoding: "+r);var e=wr(t,r)|0,n=B(e),i=n.write(t,r);return i!==e&&(n=n.slice(0,i)),n}function $(t){for(var r=t.length<0?0:Z(t.length)|0,e=B(r),n=0;n<r;n+=1)e[n]=t[n]&255;return e}function ne(t){if(k(t,Uint8Array)){var r=new Uint8Array(t);return K(r.buffer,r.byteOffset,r.byteLength)}return $(t)}function K(t,r,e){if(r<0||t.byteLength<r)throw new RangeError('"offset" is outside of buffer bounds');if(t.byteLength<r+(e||0))throw new RangeError('"length" is outside of buffer bounds');var n;return r===void 0&&e===void 0?n=new Uint8Array(t):e===void 0?n=new Uint8Array(t,r):n=new Uint8Array(t,r,e),Object.setPrototypeOf(n,s.prototype),n}function ie(t){if(s.isBuffer(t)){var r=Z(t.length)|0,e=B(r);return e.length===0||t.copy(e,0,0,r),e}if(t.length!==void 0)return typeof t.length!="number"||rr(t.length)?B(0):$(t);if(t.type==="Buffer"&&Array.isArray(t.data))return $(t.data)}function Z(t){if(t>=q)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+q.toString(16)+" bytes");return t|0}function oe(t){return+t!=t&&(t=0),s.alloc(+t)}s.isBuffer=function(r){return r!=null&&r._isBuffer===!0&&r!==s.prototype};s.compare=function(r,e){if(k(r,Uint8Array)&&(r=s.from(r,r.offset,r.byteLength)),k(e,Uint8Array)&&(e=s.from(e,e.offset,e.byteLength)),!s.isBuffer(r)||!s.isBuffer(e))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(r===e)return 0;for(var n=r.length,i=e.length,o=0,a=Math.min(n,i);o<a;++o)if(r[o]!==e[o]){n=r[o],i=e[o];break}return n<i?-1:i<n?1:0};s.isEncoding=function(r){switch(String(r).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}};s.concat=function(r,e){if(!Array.isArray(r))throw new TypeError('"list" argument must be an Array of Buffers');if(r.length===0)return s.alloc(0);var n;if(e===void 0)for(e=0,n=0;n<r.length;++n)e+=r[n].length;var i=s.allocUnsafe(e),o=0;for(n=0;n<r.length;++n){var a=r[n];if(k(a,Uint8Array))o+a.length>i.length?s.from(a).copy(i,o):Uint8Array.prototype.set.call(i,a,o);else if(s.isBuffer(a))a.copy(i,o);else throw new TypeError('"list" argument must be an Array of Buffers');o+=a.length}return i};function wr(t,r){if(s.isBuffer(t))return t.length;if(ArrayBuffer.isView(t)||k(t,ArrayBuffer))return t.byteLength;if(typeof t!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof t);var e=t.length,n=arguments.length>2&&arguments[2]===!0;if(!n&&e===0)return 0;for(var i=!1;;)switch(r){case"ascii":case"latin1":case"binary":return e;case"utf8":case"utf-8":return j(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return e*2;case"hex":return e>>>1;case"base64":return Ir(t).length;default:if(i)return n?-1:j(t).length;r=(""+r).toLowerCase(),i=!0}}s.byteLength=wr;function ae(t,r,e){var n=!1;if((r===void 0||r<0)&&(r=0),r>this.length||((e===void 0||e>this.length)&&(e=this.length),e<=0)||(e>>>=0,r>>>=0,e<=r))return"";for(t||(t="utf8");;)switch(t){case"hex":return me(this,r,e);case"utf8":case"utf-8":return vr(this,r,e);case"ascii":return de(this,r,e);case"latin1":case"binary":return he(this,r,e);case"base64":return fe(this,r,e);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return ye(this,r,e);default:if(n)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),n=!0}}s.prototype._isBuffer=!0;function U(t,r,e){var n=t[r];t[r]=t[e],t[e]=n}s.prototype.swap16=function(){var r=this.length;if(r%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var e=0;e<r;e+=2)U(this,e,e+1);return this};s.prototype.swap32=function(){var r=this.length;if(r%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var e=0;e<r;e+=4)U(this,e,e+3),U(this,e+1,e+2);return this};s.prototype.swap64=function(){var r=this.length;if(r%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var e=0;e<r;e+=8)U(this,e,e+7),U(this,e+1,e+6),U(this,e+2,e+5),U(this,e+3,e+4);return this};s.prototype.toString=function(){var r=this.length;return r===0?"":arguments.length===0?vr(this,0,r):ae.apply(this,arguments)};s.prototype.toLocaleString=s.prototype.toString;s.prototype.equals=function(r){if(!s.isBuffer(r))throw new TypeError("Argument must be a Buffer");return this===r?!0:s.compare(this,r)===0};s.prototype.inspect=function(){var r="",e=D.INSPECT_MAX_BYTES;return r=this.toString("hex",0,e).replace(/(.{2})/g,"$1 ").trim(),this.length>e&&(r+=" ... "),"<Buffer "+r+">"};dr&&(s.prototype[dr]=s.prototype.inspect);s.prototype.compare=function(r,e,n,i,o){if(k(r,Uint8Array)&&(r=s.from(r,r.offset,r.byteLength)),!s.isBuffer(r))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof r);if(e===void 0&&(e=0),n===void 0&&(n=r?r.length:0),i===void 0&&(i=0),o===void 0&&(o=this.length),e<0||n>r.length||i<0||o>this.length)throw new RangeError("out of range index");if(i>=o&&e>=n)return 0;if(i>=o)return-1;if(e>=n)return 1;if(e>>>=0,n>>>=0,i>>>=0,o>>>=0,this===r)return 0;for(var a=o-i,p=n-e,u=Math.min(a,p),f=this.slice(i,o),g=r.slice(e,n),l=0;l<u;++l)if(f[l]!==g[l]){a=f[l],p=g[l];break}return a<p?-1:p<a?1:0};function Tr(t,r,e,n,i){if(t.length===0)return-1;if(typeof e=="string"?(n=e,e=0):e>2147483647?e=2147483647:e<-2147483648&&(e=-2147483648),e=+e,rr(e)&&(e=i?0:t.length-1),e<0&&(e=t.length+e),e>=t.length){if(i)return-1;e=t.length-1}else if(e<0)if(i)e=0;else return-1;if(typeof r=="string"&&(r=s.from(r,n)),s.isBuffer(r))return r.length===0?-1:hr(t,r,e,n,i);if(typeof r=="number")return r=r&255,typeof Uint8Array.prototype.indexOf=="function"?i?Uint8Array.prototype.indexOf.call(t,r,e):Uint8Array.prototype.lastIndexOf.call(t,r,e):hr(t,[r],e,n,i);throw new TypeError("val must be string, number or Buffer")}function hr(t,r,e,n,i){var o=1,a=t.length,p=r.length;if(n!==void 0&&(n=String(n).toLowerCase(),n==="ucs2"||n==="ucs-2"||n==="utf16le"||n==="utf-16le")){if(t.length<2||r.length<2)return-1;o=2,a/=2,p/=2,e/=2}function u(T,E){return o===1?T[E]:T.readUInt16BE(E*o)}var f;if(i){var g=-1;for(f=e;f<a;f++)if(u(t,f)===u(r,g===-1?0:f-g)){if(g===-1&&(g=f),f-g+1===p)return g*o}else g!==-1&&(f-=f-g),g=-1}else for(e+p>a&&(e=a-p),f=e;f>=0;f--){for(var l=!0,b=0;b<p;b++)if(u(t,f+b)!==u(r,b)){l=!1;break}if(l)return f}return-1}s.prototype.includes=function(r,e,n){return this.indexOf(r,e,n)!==-1};s.prototype.indexOf=function(r,e,n){return Tr(this,r,e,n,!0)};s.prototype.lastIndexOf=function(r,e,n){return Tr(this,r,e,n,!1)};function se(t,r,e,n){e=Number(e)||0;var i=t.length-e;n?(n=Number(n),n>i&&(n=i)):n=i;var o=r.length;n>o/2&&(n=o/2);for(var a=0;a<n;++a){var p=parseInt(r.substr(a*2,2),16);if(rr(p))return a;t[e+a]=p}return a}function ue(t,r,e,n){return O(j(r,t.length-e),t,e,n)}function pe(t,r,e,n){return O(Te(r),t,e,n)}function ce(t,r,e,n){return O(Ir(r),t,e,n)}function le(t,r,e,n){return O(ve(r,t.length-e),t,e,n)}s.prototype.write=function(r,e,n,i){if(e===void 0)i="utf8",n=this.length,e=0;else if(n===void 0&&typeof e=="string")i=e,n=this.length,e=0;else if(isFinite(e))e=e>>>0,isFinite(n)?(n=n>>>0,i===void 0&&(i="utf8")):(i=n,n=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var o=this.length-e;if((n===void 0||n>o)&&(n=o),r.length>0&&(n<0||e<0)||e>this.length)throw new RangeError("Attempt to write outside buffer bounds");i||(i="utf8");for(var a=!1;;)switch(i){case"hex":return se(this,r,e,n);case"utf8":case"utf-8":return ue(this,r,e,n);case"ascii":case"latin1":case"binary":return pe(this,r,e,n);case"base64":return ce(this,r,e,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return le(this,r,e,n);default:if(a)throw new TypeError("Unknown encoding: "+i);i=(""+i).toLowerCase(),a=!0}};s.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function fe(t,r,e){return r===0&&e===t.length?J.fromByteArray(t):J.fromByteArray(t.slice(r,e))}function vr(t,r,e){e=Math.min(t.length,e);for(var n=[],i=r;i<e;){var o=t[i],a=null,p=o>239?4:o>223?3:o>191?2:1;if(i+p<=e){var u,f,g,l;switch(p){case 1:o<128&&(a=o);break;case 2:u=t[i+1],(u&192)===128&&(l=(o&31)<<6|u&63,l>127&&(a=l));break;case 3:u=t[i+1],f=t[i+2],(u&192)===128&&(f&192)===128&&(l=(o&15)<<12|(u&63)<<6|f&63,l>2047&&(l<55296||l>57343)&&(a=l));break;case 4:u=t[i+1],f=t[i+2],g=t[i+3],(u&192)===128&&(f&192)===128&&(g&192)===128&&(l=(o&15)<<18|(u&63)<<12|(f&63)<<6|g&63,l>65535&&l<1114112&&(a=l))}}a===null?(a=65533,p=1):a>65535&&(a-=65536,n.push(a>>>10&1023|55296),a=56320|a&1023),n.push(a),i+=p}return ge(n)}var mr=4096;function ge(t){var r=t.length;if(r<=mr)return String.fromCharCode.apply(String,t);for(var e="",n=0;n<r;)e+=String.fromCharCode.apply(String,t.slice(n,n+=mr));return e}function de(t,r,e){var n="";e=Math.min(t.length,e);for(var i=r;i<e;++i)n+=String.fromCharCode(t[i]&127);return n}function he(t,r,e){var n="";e=Math.min(t.length,e);for(var i=r;i<e;++i)n+=String.fromCharCode(t[i]);return n}function me(t,r,e){var n=t.length;(!r||r<0)&&(r=0),(!e||e<0||e>n)&&(e=n);for(var i="",o=r;o<e;++o)i+=be[t[o]];return i}function ye(t,r,e){for(var n=t.slice(r,e),i="",o=0;o<n.length-1;o+=2)i+=String.fromCharCode(n[o]+n[o+1]*256);return i}s.prototype.slice=function(r,e){var n=this.length;r=~~r,e=e===void 0?n:~~e,r<0?(r+=n,r<0&&(r=0)):r>n&&(r=n),e<0?(e+=n,e<0&&(e=0)):e>n&&(e=n),e<r&&(e=r);var i=this.subarray(r,e);return Object.setPrototypeOf(i,s.prototype),i};function x(t,r,e){if(t%1!==0||t<0)throw new RangeError("offset is not uint");if(t+r>e)throw new RangeError("Trying to access beyond buffer length")}s.prototype.readUintLE=s.prototype.readUIntLE=function(r,e,n){r=r>>>0,e=e>>>0,n||x(r,e,this.length);for(var i=this[r],o=1,a=0;++a<e&&(o*=256);)i+=this[r+a]*o;return i};s.prototype.readUintBE=s.prototype.readUIntBE=function(r,e,n){r=r>>>0,e=e>>>0,n||x(r,e,this.length);for(var i=this[r+--e],o=1;e>0&&(o*=256);)i+=this[r+--e]*o;return i};s.prototype.readUint8=s.prototype.readUInt8=function(r,e){return r=r>>>0,e||x(r,1,this.length),this[r]};s.prototype.readUint16LE=s.prototype.readUInt16LE=function(r,e){return r=r>>>0,e||x(r,2,this.length),this[r]|this[r+1]<<8};s.prototype.readUint16BE=s.prototype.readUInt16BE=function(r,e){return r=r>>>0,e||x(r,2,this.length),this[r]<<8|this[r+1]};s.prototype.readUint32LE=s.prototype.readUInt32LE=function(r,e){return r=r>>>0,e||x(r,4,this.length),(this[r]|this[r+1]<<8|this[r+2]<<16)+this[r+3]*16777216};s.prototype.readUint32BE=s.prototype.readUInt32BE=function(r,e){return r=r>>>0,e||x(r,4,this.length),this[r]*16777216+(this[r+1]<<16|this[r+2]<<8|this[r+3])};s.prototype.readIntLE=function(r,e,n){r=r>>>0,e=e>>>0,n||x(r,e,this.length);for(var i=this[r],o=1,a=0;++a<e&&(o*=256);)i+=this[r+a]*o;return o*=128,i>=o&&(i-=Math.pow(2,8*e)),i};s.prototype.readIntBE=function(r,e,n){r=r>>>0,e=e>>>0,n||x(r,e,this.length);for(var i=e,o=1,a=this[r+--i];i>0&&(o*=256);)a+=this[r+--i]*o;return o*=128,a>=o&&(a-=Math.pow(2,8*e)),a};s.prototype.readInt8=function(r,e){return r=r>>>0,e||x(r,1,this.length),this[r]&128?(255-this[r]+1)*-1:this[r]};s.prototype.readInt16LE=function(r,e){r=r>>>0,e||x(r,2,this.length);var n=this[r]|this[r+1]<<8;return n&32768?n|4294901760:n};s.prototype.readInt16BE=function(r,e){r=r>>>0,e||x(r,2,this.length);var n=this[r+1]|this[r]<<8;return n&32768?n|4294901760:n};s.prototype.readInt32LE=function(r,e){return r=r>>>0,e||x(r,4,this.length),this[r]|this[r+1]<<8|this[r+2]<<16|this[r+3]<<24};s.prototype.readInt32BE=function(r,e){return r=r>>>0,e||x(r,4,this.length),this[r]<<24|this[r+1]<<16|this[r+2]<<8|this[r+3]};s.prototype.readFloatLE=function(r,e){return r=r>>>0,e||x(r,4,this.length),L.read(this,r,!0,23,4)};s.prototype.readFloatBE=function(r,e){return r=r>>>0,e||x(r,4,this.length),L.read(this,r,!1,23,4)};s.prototype.readDoubleLE=function(r,e){return r=r>>>0,e||x(r,8,this.length),L.read(this,r,!0,52,8)};s.prototype.readDoubleBE=function(r,e){return r=r>>>0,e||x(r,8,this.length),L.read(this,r,!1,52,8)};function w(t,r,e,n,i,o){if(!s.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(r>i||r<o)throw new RangeError('"value" argument is out of bounds');if(e+n>t.length)throw new RangeError("Index out of range")}s.prototype.writeUintLE=s.prototype.writeUIntLE=function(r,e,n,i){if(r=+r,e=e>>>0,n=n>>>0,!i){var o=Math.pow(2,8*n)-1;w(this,r,e,n,o,0)}var a=1,p=0;for(this[e]=r&255;++p<n&&(a*=256);)this[e+p]=r/a&255;return e+n};s.prototype.writeUintBE=s.prototype.writeUIntBE=function(r,e,n,i){if(r=+r,e=e>>>0,n=n>>>0,!i){var o=Math.pow(2,8*n)-1;w(this,r,e,n,o,0)}var a=n-1,p=1;for(this[e+a]=r&255;--a>=0&&(p*=256);)this[e+a]=r/p&255;return e+n};s.prototype.writeUint8=s.prototype.writeUInt8=function(r,e,n){return r=+r,e=e>>>0,n||w(this,r,e,1,255,0),this[e]=r&255,e+1};s.prototype.writeUint16LE=s.prototype.writeUInt16LE=function(r,e,n){return r=+r,e=e>>>0,n||w(this,r,e,2,65535,0),this[e]=r&255,this[e+1]=r>>>8,e+2};s.prototype.writeUint16BE=s.prototype.writeUInt16BE=function(r,e,n){return r=+r,e=e>>>0,n||w(this,r,e,2,65535,0),this[e]=r>>>8,this[e+1]=r&255,e+2};s.prototype.writeUint32LE=s.prototype.writeUInt32LE=function(r,e,n){return r=+r,e=e>>>0,n||w(this,r,e,4,4294967295,0),this[e+3]=r>>>24,this[e+2]=r>>>16,this[e+1]=r>>>8,this[e]=r&255,e+4};s.prototype.writeUint32BE=s.prototype.writeUInt32BE=function(r,e,n){return r=+r,e=e>>>0,n||w(this,r,e,4,4294967295,0),this[e]=r>>>24,this[e+1]=r>>>16,this[e+2]=r>>>8,this[e+3]=r&255,e+4};s.prototype.writeIntLE=function(r,e,n,i){if(r=+r,e=e>>>0,!i){var o=Math.pow(2,8*n-1);w(this,r,e,n,o-1,-o)}var a=0,p=1,u=0;for(this[e]=r&255;++a<n&&(p*=256);)r<0&&u===0&&this[e+a-1]!==0&&(u=1),this[e+a]=(r/p>>0)-u&255;return e+n};s.prototype.writeIntBE=function(r,e,n,i){if(r=+r,e=e>>>0,!i){var o=Math.pow(2,8*n-1);w(this,r,e,n,o-1,-o)}var a=n-1,p=1,u=0;for(this[e+a]=r&255;--a>=0&&(p*=256);)r<0&&u===0&&this[e+a+1]!==0&&(u=1),this[e+a]=(r/p>>0)-u&255;return e+n};s.prototype.writeInt8=function(r,e,n){return r=+r,e=e>>>0,n||w(this,r,e,1,127,-128),r<0&&(r=255+r+1),this[e]=r&255,e+1};s.prototype.writeInt16LE=function(r,e,n){return r=+r,e=e>>>0,n||w(this,r,e,2,32767,-32768),this[e]=r&255,this[e+1]=r>>>8,e+2};s.prototype.writeInt16BE=function(r,e,n){return r=+r,e=e>>>0,n||w(this,r,e,2,32767,-32768),this[e]=r>>>8,this[e+1]=r&255,e+2};s.prototype.writeInt32LE=function(r,e,n){return r=+r,e=e>>>0,n||w(this,r,e,4,2147483647,-2147483648),this[e]=r&255,this[e+1]=r>>>8,this[e+2]=r>>>16,this[e+3]=r>>>24,e+4};s.prototype.writeInt32BE=function(r,e,n){return r=+r,e=e>>>0,n||w(this,r,e,4,2147483647,-2147483648),r<0&&(r=4294967295+r+1),this[e]=r>>>24,this[e+1]=r>>>16,this[e+2]=r>>>8,this[e+3]=r&255,e+4};function br(t,r,e,n,i,o){if(e+n>t.length)throw new RangeError("Index out of range");if(e<0)throw new RangeError("Index out of range")}function Fr(t,r,e,n,i){return r=+r,e=e>>>0,i||br(t,r,e,4,34028234663852886e22,-34028234663852886e22),L.write(t,r,e,n,23,4),e+4}s.prototype.writeFloatLE=function(r,e,n){return Fr(this,r,e,!0,n)};s.prototype.writeFloatBE=function(r,e,n){return Fr(this,r,e,!1,n)};function kr(t,r,e,n,i){return r=+r,e=e>>>0,i||br(t,r,e,8,17976931348623157e292,-17976931348623157e292),L.write(t,r,e,n,52,8),e+8}s.prototype.writeDoubleLE=function(r,e,n){return kr(this,r,e,!0,n)};s.prototype.writeDoubleBE=function(r,e,n){return kr(this,r,e,!1,n)};s.prototype.copy=function(r,e,n,i){if(!s.isBuffer(r))throw new TypeError("argument should be a Buffer");if(n||(n=0),!i&&i!==0&&(i=this.length),e>=r.length&&(e=r.length),e||(e=0),i>0&&i<n&&(i=n),i===n||r.length===0||this.length===0)return 0;if(e<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw new RangeError("Index out of range");if(i<0)throw new RangeError("sourceEnd out of bounds");i>this.length&&(i=this.length),r.length-e<i-n&&(i=r.length-e+n);var o=i-n;return this===r&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(e,n,i):Uint8Array.prototype.set.call(r,this.subarray(n,i),e),o};s.prototype.fill=function(r,e,n,i){if(typeof r=="string"){if(typeof e=="string"?(i=e,e=0,n=this.length):typeof n=="string"&&(i=n,n=this.length),i!==void 0&&typeof i!="string")throw new TypeError("encoding must be a string");if(typeof i=="string"&&!s.isEncoding(i))throw new TypeError("Unknown encoding: "+i);if(r.length===1){var o=r.charCodeAt(0);(i==="utf8"&&o<128||i==="latin1")&&(r=o)}}else typeof r=="number"?r=r&255:typeof r=="boolean"&&(r=Number(r));if(e<0||this.length<e||this.length<n)throw new RangeError("Out of range index");if(n<=e)return this;e=e>>>0,n=n===void 0?this.length:n>>>0,r||(r=0);var a;if(typeof r=="number")for(a=e;a<n;++a)this[a]=r;else{var p=s.isBuffer(r)?r:s.from(r,i),u=p.length;if(u===0)throw new TypeError('The value "'+r+'" is invalid for argument "value"');for(a=0;a<n-e;++a)this[a+e]=p[a%u]}return this};var xe=/[^+/0-9A-Za-z-_]/g;function we(t){if(t=t.split("=")[0],t=t.trim().replace(xe,""),t.length<2)return"";for(;t.length%4!==0;)t=t+"=";return t}function j(t,r){r=r||1/0;for(var e,n=t.length,i=null,o=[],a=0;a<n;++a){if(e=t.charCodeAt(a),e>55295&&e<57344){if(!i){if(e>56319){(r-=3)>-1&&o.push(239,191,189);continue}else if(a+1===n){(r-=3)>-1&&o.push(239,191,189);continue}i=e;continue}if(e<56320){(r-=3)>-1&&o.push(239,191,189),i=e;continue}e=(i-55296<<10|e-56320)+65536}else i&&(r-=3)>-1&&o.push(239,191,189);if(i=null,e<128){if((r-=1)<0)break;o.push(e)}else if(e<2048){if((r-=2)<0)break;o.push(e>>6|192,e&63|128)}else if(e<65536){if((r-=3)<0)break;o.push(e>>12|224,e>>6&63|128,e&63|128)}else if(e<1114112){if((r-=4)<0)break;o.push(e>>18|240,e>>12&63|128,e>>6&63|128,e&63|128)}else throw new Error("Invalid code point")}return o}function Te(t){for(var r=[],e=0;e<t.length;++e)r.push(t.charCodeAt(e)&255);return r}function ve(t,r){for(var e,n,i,o=[],a=0;a<t.length&&!((r-=2)<0);++a)e=t.charCodeAt(a),n=e>>8,i=e%256,o.push(i),o.push(n);return o}function Ir(t){return J.toByteArray(we(t))}function O(t,r,e,n){for(var i=0;i<n&&!(i+e>=r.length||i>=t.length);++i)r[i+e]=t[i];return i}function k(t,r){return t instanceof r||t!=null&&t.constructor!=null&&t.constructor.name!=null&&t.constructor.name===r.name}function rr(t){return t!==t}var be=function(){for(var t="0123456789abcdef",r=new Array(256),e=0;e<16;++e)for(var n=e*16,i=0;i<16;++i)r[n+i]=t[e]+t[i];return r}()});var Ur=G((Ee,Cr)=>{c();var y=Cr.exports={},I,S;function er(){throw new Error("setTimeout has not been defined")}function tr(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?I=setTimeout:I=er}catch(t){I=er}try{typeof clearTimeout=="function"?S=clearTimeout:S=tr}catch(t){S=tr}})();function Br(t){if(I===setTimeout)return setTimeout(t,0);if((I===er||!I)&&setTimeout)return I=setTimeout,setTimeout(t,0);try{return I(t,0)}catch(r){try{return I.call(null,t,0)}catch(e){return I.call(this,t,0)}}}function Fe(t){if(S===clearTimeout)return clearTimeout(t);if((S===tr||!S)&&clearTimeout)return S=clearTimeout,clearTimeout(t);try{return S(t)}catch(r){try{return S.call(null,t)}catch(e){return S.call(this,t)}}}var R=[],P=!1,_,V=-1;function ke(){!P||!_||(P=!1,_.length?R=_.concat(R):V=-1,R.length&&Rr())}function Rr(){if(!P){var t=Br(ke);P=!0;for(var r=R.length;r;){for(_=R,R=[];++V<r;)_&&_[V].run();V=-1,r=R.length}_=null,P=!1,Fe(t)}}y.nextTick=function(t){var r=new Array(arguments.length-1);if(arguments.length>1)for(var e=1;e<arguments.length;e++)r[e-1]=arguments[e];R.push(new Ar(t,r)),R.length===1&&!P&&Br(Rr)};function Ar(t,r){this.fun=t,this.array=r}Ar.prototype.run=function(){this.fun.apply(null,this.array)};y.title="browser";y.browser=!0;y.env={};y.argv=[];y.version="";y.versions={};function A(){}y.on=A;y.addListener=A;y.once=A;y.off=A;y.removeListener=A;y.removeAllListeners=A;y.emit=A;y.prependListener=A;y.prependOnceListener=A;y.listeners=function(t){return[]};y.binding=function(t){throw new Error("process.binding is not supported")};y.cwd=function(){return"/"};y.chdir=function(t){throw new Error("process.chdir is not supported")};y.umask=function(){return 0}});var d,h,Le,c=Vr(()=>{d=Y(Sr()),h=Y(Ur()),Le=function(t){function r(){var n=this||self;return delete t.prototype.__magic__,n}if(typeof globalThis=="object")return globalThis;if(this)return r();t.defineProperty(t.prototype,"__magic__",{configurable:!0,get:r});var e=__magic__;return e}(Object)});var Re={};Yr(Re,{getSmartDecodedParts:()=>Be});module.exports=zr(Re);c();c();c();c();c();c();c();var Ie=require("@multiversx/sdk-dapp-utils/out/constants/browserConstants"),N=require("@multiversx/sdk-dapp-utils/out/enums/windowProviderEnums");var _r=(e=>(e.signTransactionsWithGuardianResponse="SIGN_TRANSACTIONS_WITH_GUARDIAN_RESPONSE",e.reloginRequest="RELOGIN_REQUEST",e))(_r||{}),We=W(W({},N.WindowProviderRequestEnums),_r),Er=(r=>(r.reloginResponse="RELOGIN_RESPONSE",r))(Er||{}),Ge=W(W({},N.WindowProviderResponseEnums),Er);c();c();c();c();c();c();c();var Nr=require("@multiversx/sdk-core/out"),ir=Y(require("bignumber.js"));c();var Lr=require("@multiversx/sdk-core");function Se(t){try{let r=new Lr.Address(t);return Boolean(r.bech32())}catch(r){return!1}}function Dr(t){return(t==null?void 0:t.length)===62&&/^\w+$/.test(t)&&Se(t)}c();c();c();c();function nr(t){for(let r=0;r<t.length;r++)if(t.charCodeAt(r)>127)return!1;return!0}c();c();var Pr=t=>/\d/.test(t);var or=(t,r,e)=>{try{switch(r){case"text":return Pr(t)?d.Buffer.from(t,"hex").toString("utf8"):t;case"decimal":return new ir.default(t,16).toString(10);case"smart":let i=Nr.Address.fromHex(t).toString();if(Dr(i))return i;let o=d.Buffer.from(t,"hex").toString("utf8");return nr(o)||e&&[...e.esdts,...e.nfts].some(u=>o.includes(u))?o:new ir.default(t,16).toString(10);case"raw":default:return t}}catch(n){return console.error(`Error during data decoding of "${t}" as "${r}"`,n),t}};var Be=({parts:t,decodedParts:r,identifier:e})=>{let n=[...r];if(t[0]==="ESDTNFTTransfer"&&t[2]&&(n[2]=or(t[2],"decimal")),e==="ESDTNFTTransfer"&&t[1]){let i=d.Buffer.from(String(t[1]),"base64");n[1]=or(i.toString("hex"),"decimal")}return n};0&&(module.exports={getSmartDecodedParts});
2
2
  /*!
3
3
  * The buffer module from node.js, for the browser.
4
4
  *
@@ -1,4 +1,4 @@
1
- "use strict";var Gr=Object.create;var W=Object.defineProperty;var qr=Object.getOwnPropertyDescriptor;var Vr=Object.getOwnPropertyNames,ur=Object.getOwnPropertySymbols,Or=Object.getPrototypeOf,cr=Object.prototype.hasOwnProperty,Yr=Object.prototype.propertyIsEnumerable;var pr=(t,r,e)=>r in t?W(t,r,{enumerable:!0,configurable:!0,writable:!0,value:e}):t[r]=e,H=(t,r)=>{for(var e in r||(r={}))cr.call(r,e)&&pr(t,e,r[e]);if(ur)for(var e of ur(r))Yr.call(r,e)&&pr(t,e,r[e]);return t};var zr=(t,r)=>()=>(t&&(r=t(t=0)),r);var G=(t,r)=>()=>(r||t((r={exports:{}}).exports,r),r.exports),Xr=(t,r)=>{for(var e in r)W(t,e,{get:r[e],enumerable:!0})},lr=(t,r,e,n)=>{if(r&&typeof r=="object"||typeof r=="function")for(let i of Vr(r))!cr.call(t,i)&&i!==e&&W(t,i,{get:()=>r[i],enumerable:!(n=qr(r,i))||n.enumerable});return t};var z=(t,r,e)=>(e=t!=null?Gr(Or(t)):{},lr(r||!t||!t.__esModule?W(e,"default",{value:t,enumerable:!0}):e,t)),$r=t=>lr(W({},"__esModule",{value:!0}),t);var dr=G(q=>{"use strict";u();q.byteLength=Kr;q.toByteArray=Qr;q.fromByteArray=ee;var F=[],v=[],Jr=typeof Uint8Array!="undefined"?Uint8Array:Array,X="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(D=0,fr=X.length;D<fr;++D)F[D]=X[D],v[X.charCodeAt(D)]=D;var D,fr;v["-".charCodeAt(0)]=62;v["_".charCodeAt(0)]=63;function gr(t){var r=t.length;if(r%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var e=t.indexOf("=");e===-1&&(e=r);var n=e===r?0:4-e%4;return[e,n]}function Kr(t){var r=gr(t),e=r[0],n=r[1];return(e+n)*3/4-n}function jr(t,r,e){return(r+e)*3/4-e}function Qr(t){var r,e=gr(t),n=e[0],i=e[1],o=new Jr(jr(t,n,i)),a=0,p=i>0?n-4:n,c;for(c=0;c<p;c+=4)r=v[t.charCodeAt(c)]<<18|v[t.charCodeAt(c+1)]<<12|v[t.charCodeAt(c+2)]<<6|v[t.charCodeAt(c+3)],o[a++]=r>>16&255,o[a++]=r>>8&255,o[a++]=r&255;return i===2&&(r=v[t.charCodeAt(c)]<<2|v[t.charCodeAt(c+1)]>>4,o[a++]=r&255),i===1&&(r=v[t.charCodeAt(c)]<<10|v[t.charCodeAt(c+1)]<<4|v[t.charCodeAt(c+2)]>>2,o[a++]=r>>8&255,o[a++]=r&255),o}function Zr(t){return F[t>>18&63]+F[t>>12&63]+F[t>>6&63]+F[t&63]}function re(t,r,e){for(var n,i=[],o=r;o<e;o+=3)n=(t[o]<<16&16711680)+(t[o+1]<<8&65280)+(t[o+2]&255),i.push(Zr(n));return i.join("")}function ee(t){for(var r,e=t.length,n=e%3,i=[],o=16383,a=0,p=e-n;a<p;a+=o)i.push(re(t,a,a+o>p?p:a+o));return n===1?(r=t[e-1],i.push(F[r>>2]+F[r<<4&63]+"==")):n===2&&(r=(t[e-2]<<8)+t[e-1],i.push(F[r>>10]+F[r>>4&63]+F[r<<2&63]+"=")),i.join("")}});var hr=G($=>{u();$.read=function(t,r,e,n,i){var o,a,p=i*8-n-1,c=(1<<p)-1,f=c>>1,g=-7,l=e?i-1:0,b=e?-1:1,T=t[r+l];for(l+=b,o=T&(1<<-g)-1,T>>=-g,g+=p;g>0;o=o*256+t[r+l],l+=b,g-=8);for(a=o&(1<<-g)-1,o>>=-g,g+=n;g>0;a=a*256+t[r+l],l+=b,g-=8);if(o===0)o=1-f;else{if(o===c)return a?NaN:(T?-1:1)*(1/0);a=a+Math.pow(2,n),o=o-f}return(T?-1:1)*a*Math.pow(2,o-n)};$.write=function(t,r,e,n,i,o){var a,p,c,f=o*8-i-1,g=(1<<f)-1,l=g>>1,b=i===23?Math.pow(2,-24)-Math.pow(2,-77):0,T=n?0:o-1,_=n?1:-1,Hr=r<0||r===0&&1/r<0?1:0;for(r=Math.abs(r),isNaN(r)||r===1/0?(p=isNaN(r)?1:0,a=g):(a=Math.floor(Math.log(r)/Math.LN2),r*(c=Math.pow(2,-a))<1&&(a--,c*=2),a+l>=1?r+=b/c:r+=b*Math.pow(2,1-l),r*c>=2&&(a++,c/=2),a+l>=g?(p=0,a=g):a+l>=1?(p=(r*c-1)*Math.pow(2,i),a=a+l):(p=r*Math.pow(2,l-1)*Math.pow(2,i),a=0));i>=8;t[e+T]=p&255,T+=_,p/=256,i-=8);for(a=a<<i|p,f+=i;f>0;t[e+T]=a&255,T+=_,a/=256,f-=8);t[e+T-_]|=Hr*128}});var Rr=G(P=>{"use strict";u();var J=dr(),L=hr(),mr=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;P.Buffer=s;P.SlowBuffer=se;P.INSPECT_MAX_BYTES=50;var V=2147483647;P.kMaxLength=V;s.TYPED_ARRAY_SUPPORT=te();!s.TYPED_ARRAY_SUPPORT&&typeof console!="undefined"&&typeof console.error=="function"&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function te(){try{var t=new Uint8Array(1),r={foo:function(){return 42}};return Object.setPrototypeOf(r,Uint8Array.prototype),Object.setPrototypeOf(t,r),t.foo()===42}catch(e){return!1}}Object.defineProperty(s.prototype,"parent",{enumerable:!0,get:function(){if(!!s.isBuffer(this))return this.buffer}});Object.defineProperty(s.prototype,"offset",{enumerable:!0,get:function(){if(!!s.isBuffer(this))return this.byteOffset}});function B(t){if(t>V)throw new RangeError('The value "'+t+'" is invalid for option "size"');var r=new Uint8Array(t);return Object.setPrototypeOf(r,s.prototype),r}function s(t,r,e){if(typeof t=="number"){if(typeof r=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return Z(t)}return wr(t,r,e)}s.poolSize=8192;function wr(t,r,e){if(typeof t=="string")return ie(t,r);if(ArrayBuffer.isView(t))return oe(t);if(t==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t);if(k(t,ArrayBuffer)||t&&k(t.buffer,ArrayBuffer)||typeof SharedArrayBuffer!="undefined"&&(k(t,SharedArrayBuffer)||t&&k(t.buffer,SharedArrayBuffer)))return j(t,r,e);if(typeof t=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var n=t.valueOf&&t.valueOf();if(n!=null&&n!==t)return s.from(n,r,e);var i=ae(t);if(i)return i;if(typeof Symbol!="undefined"&&Symbol.toPrimitive!=null&&typeof t[Symbol.toPrimitive]=="function")return s.from(t[Symbol.toPrimitive]("string"),r,e);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t)}s.from=function(t,r,e){return wr(t,r,e)};Object.setPrototypeOf(s.prototype,Uint8Array.prototype);Object.setPrototypeOf(s,Uint8Array);function Tr(t){if(typeof t!="number")throw new TypeError('"size" argument must be of type number');if(t<0)throw new RangeError('The value "'+t+'" is invalid for option "size"')}function ne(t,r,e){return Tr(t),t<=0?B(t):r!==void 0?typeof e=="string"?B(t).fill(r,e):B(t).fill(r):B(t)}s.alloc=function(t,r,e){return ne(t,r,e)};function Z(t){return Tr(t),B(t<0?0:rr(t)|0)}s.allocUnsafe=function(t){return Z(t)};s.allocUnsafeSlow=function(t){return Z(t)};function ie(t,r){if((typeof r!="string"||r==="")&&(r="utf8"),!s.isEncoding(r))throw new TypeError("Unknown encoding: "+r);var e=vr(t,r)|0,n=B(e),i=n.write(t,r);return i!==e&&(n=n.slice(0,i)),n}function K(t){for(var r=t.length<0?0:rr(t.length)|0,e=B(r),n=0;n<r;n+=1)e[n]=t[n]&255;return e}function oe(t){if(k(t,Uint8Array)){var r=new Uint8Array(t);return j(r.buffer,r.byteOffset,r.byteLength)}return K(t)}function j(t,r,e){if(r<0||t.byteLength<r)throw new RangeError('"offset" is outside of buffer bounds');if(t.byteLength<r+(e||0))throw new RangeError('"length" is outside of buffer bounds');var n;return r===void 0&&e===void 0?n=new Uint8Array(t):e===void 0?n=new Uint8Array(t,r):n=new Uint8Array(t,r,e),Object.setPrototypeOf(n,s.prototype),n}function ae(t){if(s.isBuffer(t)){var r=rr(t.length)|0,e=B(r);return e.length===0||t.copy(e,0,0,r),e}if(t.length!==void 0)return typeof t.length!="number"||er(t.length)?B(0):K(t);if(t.type==="Buffer"&&Array.isArray(t.data))return K(t.data)}function rr(t){if(t>=V)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+V.toString(16)+" bytes");return t|0}function se(t){return+t!=t&&(t=0),s.alloc(+t)}s.isBuffer=function(r){return r!=null&&r._isBuffer===!0&&r!==s.prototype};s.compare=function(r,e){if(k(r,Uint8Array)&&(r=s.from(r,r.offset,r.byteLength)),k(e,Uint8Array)&&(e=s.from(e,e.offset,e.byteLength)),!s.isBuffer(r)||!s.isBuffer(e))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(r===e)return 0;for(var n=r.length,i=e.length,o=0,a=Math.min(n,i);o<a;++o)if(r[o]!==e[o]){n=r[o],i=e[o];break}return n<i?-1:i<n?1:0};s.isEncoding=function(r){switch(String(r).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}};s.concat=function(r,e){if(!Array.isArray(r))throw new TypeError('"list" argument must be an Array of Buffers');if(r.length===0)return s.alloc(0);var n;if(e===void 0)for(e=0,n=0;n<r.length;++n)e+=r[n].length;var i=s.allocUnsafe(e),o=0;for(n=0;n<r.length;++n){var a=r[n];if(k(a,Uint8Array))o+a.length>i.length?s.from(a).copy(i,o):Uint8Array.prototype.set.call(i,a,o);else if(s.isBuffer(a))a.copy(i,o);else throw new TypeError('"list" argument must be an Array of Buffers');o+=a.length}return i};function vr(t,r){if(s.isBuffer(t))return t.length;if(ArrayBuffer.isView(t)||k(t,ArrayBuffer))return t.byteLength;if(typeof t!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof t);var e=t.length,n=arguments.length>2&&arguments[2]===!0;if(!n&&e===0)return 0;for(var i=!1;;)switch(r){case"ascii":case"latin1":case"binary":return e;case"utf8":case"utf-8":return Q(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return e*2;case"hex":return e>>>1;case"base64":return Br(t).length;default:if(i)return n?-1:Q(t).length;r=(""+r).toLowerCase(),i=!0}}s.byteLength=vr;function ue(t,r,e){var n=!1;if((r===void 0||r<0)&&(r=0),r>this.length||((e===void 0||e>this.length)&&(e=this.length),e<=0)||(e>>>=0,r>>>=0,e<=r))return"";for(t||(t="utf8");;)switch(t){case"hex":return xe(this,r,e);case"utf8":case"utf-8":return Fr(this,r,e);case"ascii":return me(this,r,e);case"latin1":case"binary":return ye(this,r,e);case"base64":return de(this,r,e);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return we(this,r,e);default:if(n)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),n=!0}}s.prototype._isBuffer=!0;function C(t,r,e){var n=t[r];t[r]=t[e],t[e]=n}s.prototype.swap16=function(){var r=this.length;if(r%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var e=0;e<r;e+=2)C(this,e,e+1);return this};s.prototype.swap32=function(){var r=this.length;if(r%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var e=0;e<r;e+=4)C(this,e,e+3),C(this,e+1,e+2);return this};s.prototype.swap64=function(){var r=this.length;if(r%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var e=0;e<r;e+=8)C(this,e,e+7),C(this,e+1,e+6),C(this,e+2,e+5),C(this,e+3,e+4);return this};s.prototype.toString=function(){var r=this.length;return r===0?"":arguments.length===0?Fr(this,0,r):ue.apply(this,arguments)};s.prototype.toLocaleString=s.prototype.toString;s.prototype.equals=function(r){if(!s.isBuffer(r))throw new TypeError("Argument must be a Buffer");return this===r?!0:s.compare(this,r)===0};s.prototype.inspect=function(){var r="",e=P.INSPECT_MAX_BYTES;return r=this.toString("hex",0,e).replace(/(.{2})/g,"$1 ").trim(),this.length>e&&(r+=" ... "),"<Buffer "+r+">"};mr&&(s.prototype[mr]=s.prototype.inspect);s.prototype.compare=function(r,e,n,i,o){if(k(r,Uint8Array)&&(r=s.from(r,r.offset,r.byteLength)),!s.isBuffer(r))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof r);if(e===void 0&&(e=0),n===void 0&&(n=r?r.length:0),i===void 0&&(i=0),o===void 0&&(o=this.length),e<0||n>r.length||i<0||o>this.length)throw new RangeError("out of range index");if(i>=o&&e>=n)return 0;if(i>=o)return-1;if(e>=n)return 1;if(e>>>=0,n>>>=0,i>>>=0,o>>>=0,this===r)return 0;for(var a=o-i,p=n-e,c=Math.min(a,p),f=this.slice(i,o),g=r.slice(e,n),l=0;l<c;++l)if(f[l]!==g[l]){a=f[l],p=g[l];break}return a<p?-1:p<a?1:0};function br(t,r,e,n,i){if(t.length===0)return-1;if(typeof e=="string"?(n=e,e=0):e>2147483647?e=2147483647:e<-2147483648&&(e=-2147483648),e=+e,er(e)&&(e=i?0:t.length-1),e<0&&(e=t.length+e),e>=t.length){if(i)return-1;e=t.length-1}else if(e<0)if(i)e=0;else return-1;if(typeof r=="string"&&(r=s.from(r,n)),s.isBuffer(r))return r.length===0?-1:yr(t,r,e,n,i);if(typeof r=="number")return r=r&255,typeof Uint8Array.prototype.indexOf=="function"?i?Uint8Array.prototype.indexOf.call(t,r,e):Uint8Array.prototype.lastIndexOf.call(t,r,e):yr(t,[r],e,n,i);throw new TypeError("val must be string, number or Buffer")}function yr(t,r,e,n,i){var o=1,a=t.length,p=r.length;if(n!==void 0&&(n=String(n).toLowerCase(),n==="ucs2"||n==="ucs-2"||n==="utf16le"||n==="utf-16le")){if(t.length<2||r.length<2)return-1;o=2,a/=2,p/=2,e/=2}function c(T,_){return o===1?T[_]:T.readUInt16BE(_*o)}var f;if(i){var g=-1;for(f=e;f<a;f++)if(c(t,f)===c(r,g===-1?0:f-g)){if(g===-1&&(g=f),f-g+1===p)return g*o}else g!==-1&&(f-=f-g),g=-1}else for(e+p>a&&(e=a-p),f=e;f>=0;f--){for(var l=!0,b=0;b<p;b++)if(c(t,f+b)!==c(r,b)){l=!1;break}if(l)return f}return-1}s.prototype.includes=function(r,e,n){return this.indexOf(r,e,n)!==-1};s.prototype.indexOf=function(r,e,n){return br(this,r,e,n,!0)};s.prototype.lastIndexOf=function(r,e,n){return br(this,r,e,n,!1)};function pe(t,r,e,n){e=Number(e)||0;var i=t.length-e;n?(n=Number(n),n>i&&(n=i)):n=i;var o=r.length;n>o/2&&(n=o/2);for(var a=0;a<n;++a){var p=parseInt(r.substr(a*2,2),16);if(er(p))return a;t[e+a]=p}return a}function ce(t,r,e,n){return O(Q(r,t.length-e),t,e,n)}function le(t,r,e,n){return O(be(r),t,e,n)}function fe(t,r,e,n){return O(Br(r),t,e,n)}function ge(t,r,e,n){return O(Fe(r,t.length-e),t,e,n)}s.prototype.write=function(r,e,n,i){if(e===void 0)i="utf8",n=this.length,e=0;else if(n===void 0&&typeof e=="string")i=e,n=this.length,e=0;else if(isFinite(e))e=e>>>0,isFinite(n)?(n=n>>>0,i===void 0&&(i="utf8")):(i=n,n=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var o=this.length-e;if((n===void 0||n>o)&&(n=o),r.length>0&&(n<0||e<0)||e>this.length)throw new RangeError("Attempt to write outside buffer bounds");i||(i="utf8");for(var a=!1;;)switch(i){case"hex":return pe(this,r,e,n);case"utf8":case"utf-8":return ce(this,r,e,n);case"ascii":case"latin1":case"binary":return le(this,r,e,n);case"base64":return fe(this,r,e,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return ge(this,r,e,n);default:if(a)throw new TypeError("Unknown encoding: "+i);i=(""+i).toLowerCase(),a=!0}};s.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function de(t,r,e){return r===0&&e===t.length?J.fromByteArray(t):J.fromByteArray(t.slice(r,e))}function Fr(t,r,e){e=Math.min(t.length,e);for(var n=[],i=r;i<e;){var o=t[i],a=null,p=o>239?4:o>223?3:o>191?2:1;if(i+p<=e){var c,f,g,l;switch(p){case 1:o<128&&(a=o);break;case 2:c=t[i+1],(c&192)===128&&(l=(o&31)<<6|c&63,l>127&&(a=l));break;case 3:c=t[i+1],f=t[i+2],(c&192)===128&&(f&192)===128&&(l=(o&15)<<12|(c&63)<<6|f&63,l>2047&&(l<55296||l>57343)&&(a=l));break;case 4:c=t[i+1],f=t[i+2],g=t[i+3],(c&192)===128&&(f&192)===128&&(g&192)===128&&(l=(o&15)<<18|(c&63)<<12|(f&63)<<6|g&63,l>65535&&l<1114112&&(a=l))}}a===null?(a=65533,p=1):a>65535&&(a-=65536,n.push(a>>>10&1023|55296),a=56320|a&1023),n.push(a),i+=p}return he(n)}var xr=4096;function he(t){var r=t.length;if(r<=xr)return String.fromCharCode.apply(String,t);for(var e="",n=0;n<r;)e+=String.fromCharCode.apply(String,t.slice(n,n+=xr));return e}function me(t,r,e){var n="";e=Math.min(t.length,e);for(var i=r;i<e;++i)n+=String.fromCharCode(t[i]&127);return n}function ye(t,r,e){var n="";e=Math.min(t.length,e);for(var i=r;i<e;++i)n+=String.fromCharCode(t[i]);return n}function xe(t,r,e){var n=t.length;(!r||r<0)&&(r=0),(!e||e<0||e>n)&&(e=n);for(var i="",o=r;o<e;++o)i+=ke[t[o]];return i}function we(t,r,e){for(var n=t.slice(r,e),i="",o=0;o<n.length-1;o+=2)i+=String.fromCharCode(n[o]+n[o+1]*256);return i}s.prototype.slice=function(r,e){var n=this.length;r=~~r,e=e===void 0?n:~~e,r<0?(r+=n,r<0&&(r=0)):r>n&&(r=n),e<0?(e+=n,e<0&&(e=0)):e>n&&(e=n),e<r&&(e=r);var i=this.subarray(r,e);return Object.setPrototypeOf(i,s.prototype),i};function x(t,r,e){if(t%1!==0||t<0)throw new RangeError("offset is not uint");if(t+r>e)throw new RangeError("Trying to access beyond buffer length")}s.prototype.readUintLE=s.prototype.readUIntLE=function(r,e,n){r=r>>>0,e=e>>>0,n||x(r,e,this.length);for(var i=this[r],o=1,a=0;++a<e&&(o*=256);)i+=this[r+a]*o;return i};s.prototype.readUintBE=s.prototype.readUIntBE=function(r,e,n){r=r>>>0,e=e>>>0,n||x(r,e,this.length);for(var i=this[r+--e],o=1;e>0&&(o*=256);)i+=this[r+--e]*o;return i};s.prototype.readUint8=s.prototype.readUInt8=function(r,e){return r=r>>>0,e||x(r,1,this.length),this[r]};s.prototype.readUint16LE=s.prototype.readUInt16LE=function(r,e){return r=r>>>0,e||x(r,2,this.length),this[r]|this[r+1]<<8};s.prototype.readUint16BE=s.prototype.readUInt16BE=function(r,e){return r=r>>>0,e||x(r,2,this.length),this[r]<<8|this[r+1]};s.prototype.readUint32LE=s.prototype.readUInt32LE=function(r,e){return r=r>>>0,e||x(r,4,this.length),(this[r]|this[r+1]<<8|this[r+2]<<16)+this[r+3]*16777216};s.prototype.readUint32BE=s.prototype.readUInt32BE=function(r,e){return r=r>>>0,e||x(r,4,this.length),this[r]*16777216+(this[r+1]<<16|this[r+2]<<8|this[r+3])};s.prototype.readIntLE=function(r,e,n){r=r>>>0,e=e>>>0,n||x(r,e,this.length);for(var i=this[r],o=1,a=0;++a<e&&(o*=256);)i+=this[r+a]*o;return o*=128,i>=o&&(i-=Math.pow(2,8*e)),i};s.prototype.readIntBE=function(r,e,n){r=r>>>0,e=e>>>0,n||x(r,e,this.length);for(var i=e,o=1,a=this[r+--i];i>0&&(o*=256);)a+=this[r+--i]*o;return o*=128,a>=o&&(a-=Math.pow(2,8*e)),a};s.prototype.readInt8=function(r,e){return r=r>>>0,e||x(r,1,this.length),this[r]&128?(255-this[r]+1)*-1:this[r]};s.prototype.readInt16LE=function(r,e){r=r>>>0,e||x(r,2,this.length);var n=this[r]|this[r+1]<<8;return n&32768?n|4294901760:n};s.prototype.readInt16BE=function(r,e){r=r>>>0,e||x(r,2,this.length);var n=this[r+1]|this[r]<<8;return n&32768?n|4294901760:n};s.prototype.readInt32LE=function(r,e){return r=r>>>0,e||x(r,4,this.length),this[r]|this[r+1]<<8|this[r+2]<<16|this[r+3]<<24};s.prototype.readInt32BE=function(r,e){return r=r>>>0,e||x(r,4,this.length),this[r]<<24|this[r+1]<<16|this[r+2]<<8|this[r+3]};s.prototype.readFloatLE=function(r,e){return r=r>>>0,e||x(r,4,this.length),L.read(this,r,!0,23,4)};s.prototype.readFloatBE=function(r,e){return r=r>>>0,e||x(r,4,this.length),L.read(this,r,!1,23,4)};s.prototype.readDoubleLE=function(r,e){return r=r>>>0,e||x(r,8,this.length),L.read(this,r,!0,52,8)};s.prototype.readDoubleBE=function(r,e){return r=r>>>0,e||x(r,8,this.length),L.read(this,r,!1,52,8)};function w(t,r,e,n,i,o){if(!s.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(r>i||r<o)throw new RangeError('"value" argument is out of bounds');if(e+n>t.length)throw new RangeError("Index out of range")}s.prototype.writeUintLE=s.prototype.writeUIntLE=function(r,e,n,i){if(r=+r,e=e>>>0,n=n>>>0,!i){var o=Math.pow(2,8*n)-1;w(this,r,e,n,o,0)}var a=1,p=0;for(this[e]=r&255;++p<n&&(a*=256);)this[e+p]=r/a&255;return e+n};s.prototype.writeUintBE=s.prototype.writeUIntBE=function(r,e,n,i){if(r=+r,e=e>>>0,n=n>>>0,!i){var o=Math.pow(2,8*n)-1;w(this,r,e,n,o,0)}var a=n-1,p=1;for(this[e+a]=r&255;--a>=0&&(p*=256);)this[e+a]=r/p&255;return e+n};s.prototype.writeUint8=s.prototype.writeUInt8=function(r,e,n){return r=+r,e=e>>>0,n||w(this,r,e,1,255,0),this[e]=r&255,e+1};s.prototype.writeUint16LE=s.prototype.writeUInt16LE=function(r,e,n){return r=+r,e=e>>>0,n||w(this,r,e,2,65535,0),this[e]=r&255,this[e+1]=r>>>8,e+2};s.prototype.writeUint16BE=s.prototype.writeUInt16BE=function(r,e,n){return r=+r,e=e>>>0,n||w(this,r,e,2,65535,0),this[e]=r>>>8,this[e+1]=r&255,e+2};s.prototype.writeUint32LE=s.prototype.writeUInt32LE=function(r,e,n){return r=+r,e=e>>>0,n||w(this,r,e,4,4294967295,0),this[e+3]=r>>>24,this[e+2]=r>>>16,this[e+1]=r>>>8,this[e]=r&255,e+4};s.prototype.writeUint32BE=s.prototype.writeUInt32BE=function(r,e,n){return r=+r,e=e>>>0,n||w(this,r,e,4,4294967295,0),this[e]=r>>>24,this[e+1]=r>>>16,this[e+2]=r>>>8,this[e+3]=r&255,e+4};s.prototype.writeIntLE=function(r,e,n,i){if(r=+r,e=e>>>0,!i){var o=Math.pow(2,8*n-1);w(this,r,e,n,o-1,-o)}var a=0,p=1,c=0;for(this[e]=r&255;++a<n&&(p*=256);)r<0&&c===0&&this[e+a-1]!==0&&(c=1),this[e+a]=(r/p>>0)-c&255;return e+n};s.prototype.writeIntBE=function(r,e,n,i){if(r=+r,e=e>>>0,!i){var o=Math.pow(2,8*n-1);w(this,r,e,n,o-1,-o)}var a=n-1,p=1,c=0;for(this[e+a]=r&255;--a>=0&&(p*=256);)r<0&&c===0&&this[e+a+1]!==0&&(c=1),this[e+a]=(r/p>>0)-c&255;return e+n};s.prototype.writeInt8=function(r,e,n){return r=+r,e=e>>>0,n||w(this,r,e,1,127,-128),r<0&&(r=255+r+1),this[e]=r&255,e+1};s.prototype.writeInt16LE=function(r,e,n){return r=+r,e=e>>>0,n||w(this,r,e,2,32767,-32768),this[e]=r&255,this[e+1]=r>>>8,e+2};s.prototype.writeInt16BE=function(r,e,n){return r=+r,e=e>>>0,n||w(this,r,e,2,32767,-32768),this[e]=r>>>8,this[e+1]=r&255,e+2};s.prototype.writeInt32LE=function(r,e,n){return r=+r,e=e>>>0,n||w(this,r,e,4,2147483647,-2147483648),this[e]=r&255,this[e+1]=r>>>8,this[e+2]=r>>>16,this[e+3]=r>>>24,e+4};s.prototype.writeInt32BE=function(r,e,n){return r=+r,e=e>>>0,n||w(this,r,e,4,2147483647,-2147483648),r<0&&(r=4294967295+r+1),this[e]=r>>>24,this[e+1]=r>>>16,this[e+2]=r>>>8,this[e+3]=r&255,e+4};function kr(t,r,e,n,i,o){if(e+n>t.length)throw new RangeError("Index out of range");if(e<0)throw new RangeError("Index out of range")}function Ir(t,r,e,n,i){return r=+r,e=e>>>0,i||kr(t,r,e,4,34028234663852886e22,-34028234663852886e22),L.write(t,r,e,n,23,4),e+4}s.prototype.writeFloatLE=function(r,e,n){return Ir(this,r,e,!0,n)};s.prototype.writeFloatBE=function(r,e,n){return Ir(this,r,e,!1,n)};function Sr(t,r,e,n,i){return r=+r,e=e>>>0,i||kr(t,r,e,8,17976931348623157e292,-17976931348623157e292),L.write(t,r,e,n,52,8),e+8}s.prototype.writeDoubleLE=function(r,e,n){return Sr(this,r,e,!0,n)};s.prototype.writeDoubleBE=function(r,e,n){return Sr(this,r,e,!1,n)};s.prototype.copy=function(r,e,n,i){if(!s.isBuffer(r))throw new TypeError("argument should be a Buffer");if(n||(n=0),!i&&i!==0&&(i=this.length),e>=r.length&&(e=r.length),e||(e=0),i>0&&i<n&&(i=n),i===n||r.length===0||this.length===0)return 0;if(e<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw new RangeError("Index out of range");if(i<0)throw new RangeError("sourceEnd out of bounds");i>this.length&&(i=this.length),r.length-e<i-n&&(i=r.length-e+n);var o=i-n;return this===r&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(e,n,i):Uint8Array.prototype.set.call(r,this.subarray(n,i),e),o};s.prototype.fill=function(r,e,n,i){if(typeof r=="string"){if(typeof e=="string"?(i=e,e=0,n=this.length):typeof n=="string"&&(i=n,n=this.length),i!==void 0&&typeof i!="string")throw new TypeError("encoding must be a string");if(typeof i=="string"&&!s.isEncoding(i))throw new TypeError("Unknown encoding: "+i);if(r.length===1){var o=r.charCodeAt(0);(i==="utf8"&&o<128||i==="latin1")&&(r=o)}}else typeof r=="number"?r=r&255:typeof r=="boolean"&&(r=Number(r));if(e<0||this.length<e||this.length<n)throw new RangeError("Out of range index");if(n<=e)return this;e=e>>>0,n=n===void 0?this.length:n>>>0,r||(r=0);var a;if(typeof r=="number")for(a=e;a<n;++a)this[a]=r;else{var p=s.isBuffer(r)?r:s.from(r,i),c=p.length;if(c===0)throw new TypeError('The value "'+r+'" is invalid for argument "value"');for(a=0;a<n-e;++a)this[a+e]=p[a%c]}return this};var Te=/[^+/0-9A-Za-z-_]/g;function ve(t){if(t=t.split("=")[0],t=t.trim().replace(Te,""),t.length<2)return"";for(;t.length%4!==0;)t=t+"=";return t}function Q(t,r){r=r||1/0;for(var e,n=t.length,i=null,o=[],a=0;a<n;++a){if(e=t.charCodeAt(a),e>55295&&e<57344){if(!i){if(e>56319){(r-=3)>-1&&o.push(239,191,189);continue}else if(a+1===n){(r-=3)>-1&&o.push(239,191,189);continue}i=e;continue}if(e<56320){(r-=3)>-1&&o.push(239,191,189),i=e;continue}e=(i-55296<<10|e-56320)+65536}else i&&(r-=3)>-1&&o.push(239,191,189);if(i=null,e<128){if((r-=1)<0)break;o.push(e)}else if(e<2048){if((r-=2)<0)break;o.push(e>>6|192,e&63|128)}else if(e<65536){if((r-=3)<0)break;o.push(e>>12|224,e>>6&63|128,e&63|128)}else if(e<1114112){if((r-=4)<0)break;o.push(e>>18|240,e>>12&63|128,e>>6&63|128,e&63|128)}else throw new Error("Invalid code point")}return o}function be(t){for(var r=[],e=0;e<t.length;++e)r.push(t.charCodeAt(e)&255);return r}function Fe(t,r){for(var e,n,i,o=[],a=0;a<t.length&&!((r-=2)<0);++a)e=t.charCodeAt(a),n=e>>8,i=e%256,o.push(i),o.push(n);return o}function Br(t){return J.toByteArray(ve(t))}function O(t,r,e,n){for(var i=0;i<n&&!(i+e>=r.length||i>=t.length);++i)r[i+e]=t[i];return i}function k(t,r){return t instanceof r||t!=null&&t.constructor!=null&&t.constructor.name!=null&&t.constructor.name===r.name}function er(t){return t!==t}var ke=function(){for(var t="0123456789abcdef",r=new Array(256),e=0;e<16;++e)for(var n=e*16,i=0;i<16;++i)r[n+i]=t[e]+t[i];return r}()});var Ur=G((Me,Er)=>{u();var y=Er.exports={},I,S;function tr(){throw new Error("setTimeout has not been defined")}function nr(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?I=setTimeout:I=tr}catch(t){I=tr}try{typeof clearTimeout=="function"?S=clearTimeout:S=nr}catch(t){S=nr}})();function Ar(t){if(I===setTimeout)return setTimeout(t,0);if((I===tr||!I)&&setTimeout)return I=setTimeout,setTimeout(t,0);try{return I(t,0)}catch(r){try{return I.call(null,t,0)}catch(e){return I.call(this,t,0)}}}function Ie(t){if(S===clearTimeout)return clearTimeout(t);if((S===nr||!S)&&clearTimeout)return S=clearTimeout,clearTimeout(t);try{return S(t)}catch(r){try{return S.call(null,t)}catch(e){return S.call(this,t)}}}var R=[],N=!1,E,Y=-1;function Se(){!N||!E||(N=!1,E.length?R=E.concat(R):Y=-1,R.length&&Dr())}function Dr(){if(!N){var t=Ar(Se);N=!0;for(var r=R.length;r;){for(E=R,R=[];++Y<r;)E&&E[Y].run();Y=-1,r=R.length}E=null,N=!1,Ie(t)}}y.nextTick=function(t){var r=new Array(arguments.length-1);if(arguments.length>1)for(var e=1;e<arguments.length;e++)r[e-1]=arguments[e];R.push(new Cr(t,r)),R.length===1&&!N&&Ar(Dr)};function Cr(t,r){this.fun=t,this.array=r}Cr.prototype.run=function(){this.fun.apply(null,this.array)};y.title="browser";y.browser=!0;y.env={};y.argv=[];y.version="";y.versions={};function A(){}y.on=A;y.addListener=A;y.once=A;y.off=A;y.removeListener=A;y.removeAllListeners=A;y.emit=A;y.prependListener=A;y.prependOnceListener=A;y.listeners=function(t){return[]};y.binding=function(t){throw new Error("process.binding is not supported")};y.cwd=function(){return"/"};y.chdir=function(t){throw new Error("process.chdir is not supported")};y.umask=function(){return 0}});var d,h,We,u=zr(()=>{d=z(Rr()),h=z(Ur()),We=function(t){function r(){var n=this||self;return delete t.prototype.__magic__,n}if(typeof globalThis=="object")return globalThis;if(this)return r();t.defineProperty(t.prototype,"__magic__",{configurable:!0,get:r});var e=__magic__;return e}(Object)});var Ue={};Xr(Ue,{decodeByMethod:()=>U,getDisplayValueAndValidationWarnings:()=>Ee,getHexValidationWarnings:()=>ar,getSmartDecodedParts:()=>sr});module.exports=$r(Ue);u();u();var Nr=require("@multiversx/sdk-core/out"),or=z(require("bignumber.js"));u();u();var _r=require("@multiversx/sdk-core");function Be(t){try{let r=new _r.Address(t);return Boolean(r.bech32())}catch(r){return!1}}function Lr(t){return(t==null?void 0:t.startsWith("erd"))&&t.length===62&&/^\w+$/.test(t)&&Be(t)}u();u();u();u();function ir(t){for(let r=0;r<t.length;r++)if(t.charCodeAt(r)>127)return!1;return!0}u();u();var Pr=t=>/\d/.test(t);var U=(t,r,e)=>{try{switch(r){case"text":return Pr(t)?d.Buffer.from(t,"hex").toString("utf8"):t;case"decimal":return new or.default(t,16).toString(10);case"smart":let i=Nr.Address.fromHex(t).toString();if(Lr(i))return i;let o=d.Buffer.from(t,"hex").toString("utf8");return ir(o)||e&&[...e.esdts,...e.nfts].some(c=>o.includes(c))?o:new or.default(t,16).toString(10);case"raw":default:return t}}catch(n){return console.error(`Error during data decoding of "${t}" as "${r}"`,n),t}};u();u();u();u();u();u();u();var Ae=require("@multiversx/sdk-dapp-utils/out/constants/browserConstants"),M=require("@multiversx/sdk-dapp-utils/out/enums/windowProviderEnums");var Mr=(e=>(e.signTransactionsWithGuardianResponse="SIGN_TRANSACTIONS_WITH_GUARDIAN_RESPONSE",e.reloginRequest="RELOGIN_REQUEST",e))(Mr||{}),pt=H(H({},M.WindowProviderRequestEnums),Mr),Wr=(r=>(r.reloginResponse="RELOGIN_RESPONSE",r))(Wr||{}),ct=H(H({},M.WindowProviderResponseEnums),Wr);u();u();u();u();u();u();var De=t=>t.toLowerCase().match(/[0-9a-f]/g),Ce=t=>t.length%2===0,ar=t=>{let r=[];return t&&!De(t)&&r.push(`Invalid Hex characters on argument @${t}`),t&&!Ce(t)&&r.push(`Odd number of Hex characters on argument @${t}`),r};u();var sr=({parts:t,decodedParts:r,identifier:e})=>{let n=[...r];if(t[0]==="ESDTNFTTransfer"&&t[2]&&(n[2]=U(t[2],"decimal")),e==="ESDTNFTTransfer"&&t[1]){let i=d.Buffer.from(String(t[1]),"base64");n[1]=U(i.toString("hex"),"decimal")}return n};var Ee=({parts:t,decodeMethod:r,identifier:e,display:n})=>{let i=t.map((o,a)=>{if(t.length>=2&&(a===0&&o.length<64||a===1&&!t[0]))return/[^a-z0-9]/gi.test(o)?U(o,r):o;{let p=ar(o);return p.length&&(n.validationWarnings=Array.from(new Set([...n.validationWarnings,...p]))),U(o,r)}});return r==="smart"?sr({parts:t,decodedParts:i,identifier:e}):i};0&&(module.exports={decodeByMethod,getDisplayValueAndValidationWarnings,getHexValidationWarnings,getSmartDecodedParts});
1
+ "use strict";var Gr=Object.create;var W=Object.defineProperty;var qr=Object.getOwnPropertyDescriptor;var Vr=Object.getOwnPropertyNames,ur=Object.getOwnPropertySymbols,Or=Object.getPrototypeOf,cr=Object.prototype.hasOwnProperty,Yr=Object.prototype.propertyIsEnumerable;var pr=(t,r,e)=>r in t?W(t,r,{enumerable:!0,configurable:!0,writable:!0,value:e}):t[r]=e,H=(t,r)=>{for(var e in r||(r={}))cr.call(r,e)&&pr(t,e,r[e]);if(ur)for(var e of ur(r))Yr.call(r,e)&&pr(t,e,r[e]);return t};var zr=(t,r)=>()=>(t&&(r=t(t=0)),r);var G=(t,r)=>()=>(r||t((r={exports:{}}).exports,r),r.exports),Xr=(t,r)=>{for(var e in r)W(t,e,{get:r[e],enumerable:!0})},lr=(t,r,e,n)=>{if(r&&typeof r=="object"||typeof r=="function")for(let i of Vr(r))!cr.call(t,i)&&i!==e&&W(t,i,{get:()=>r[i],enumerable:!(n=qr(r,i))||n.enumerable});return t};var z=(t,r,e)=>(e=t!=null?Gr(Or(t)):{},lr(r||!t||!t.__esModule?W(e,"default",{value:t,enumerable:!0}):e,t)),$r=t=>lr(W({},"__esModule",{value:!0}),t);var dr=G(q=>{"use strict";u();q.byteLength=Kr;q.toByteArray=Qr;q.fromByteArray=ee;var F=[],v=[],Jr=typeof Uint8Array!="undefined"?Uint8Array:Array,X="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(D=0,fr=X.length;D<fr;++D)F[D]=X[D],v[X.charCodeAt(D)]=D;var D,fr;v["-".charCodeAt(0)]=62;v["_".charCodeAt(0)]=63;function gr(t){var r=t.length;if(r%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var e=t.indexOf("=");e===-1&&(e=r);var n=e===r?0:4-e%4;return[e,n]}function Kr(t){var r=gr(t),e=r[0],n=r[1];return(e+n)*3/4-n}function jr(t,r,e){return(r+e)*3/4-e}function Qr(t){var r,e=gr(t),n=e[0],i=e[1],o=new Jr(jr(t,n,i)),a=0,p=i>0?n-4:n,c;for(c=0;c<p;c+=4)r=v[t.charCodeAt(c)]<<18|v[t.charCodeAt(c+1)]<<12|v[t.charCodeAt(c+2)]<<6|v[t.charCodeAt(c+3)],o[a++]=r>>16&255,o[a++]=r>>8&255,o[a++]=r&255;return i===2&&(r=v[t.charCodeAt(c)]<<2|v[t.charCodeAt(c+1)]>>4,o[a++]=r&255),i===1&&(r=v[t.charCodeAt(c)]<<10|v[t.charCodeAt(c+1)]<<4|v[t.charCodeAt(c+2)]>>2,o[a++]=r>>8&255,o[a++]=r&255),o}function Zr(t){return F[t>>18&63]+F[t>>12&63]+F[t>>6&63]+F[t&63]}function re(t,r,e){for(var n,i=[],o=r;o<e;o+=3)n=(t[o]<<16&16711680)+(t[o+1]<<8&65280)+(t[o+2]&255),i.push(Zr(n));return i.join("")}function ee(t){for(var r,e=t.length,n=e%3,i=[],o=16383,a=0,p=e-n;a<p;a+=o)i.push(re(t,a,a+o>p?p:a+o));return n===1?(r=t[e-1],i.push(F[r>>2]+F[r<<4&63]+"==")):n===2&&(r=(t[e-2]<<8)+t[e-1],i.push(F[r>>10]+F[r>>4&63]+F[r<<2&63]+"=")),i.join("")}});var hr=G($=>{u();$.read=function(t,r,e,n,i){var o,a,p=i*8-n-1,c=(1<<p)-1,f=c>>1,g=-7,l=e?i-1:0,b=e?-1:1,T=t[r+l];for(l+=b,o=T&(1<<-g)-1,T>>=-g,g+=p;g>0;o=o*256+t[r+l],l+=b,g-=8);for(a=o&(1<<-g)-1,o>>=-g,g+=n;g>0;a=a*256+t[r+l],l+=b,g-=8);if(o===0)o=1-f;else{if(o===c)return a?NaN:(T?-1:1)*(1/0);a=a+Math.pow(2,n),o=o-f}return(T?-1:1)*a*Math.pow(2,o-n)};$.write=function(t,r,e,n,i,o){var a,p,c,f=o*8-i-1,g=(1<<f)-1,l=g>>1,b=i===23?Math.pow(2,-24)-Math.pow(2,-77):0,T=n?0:o-1,_=n?1:-1,Hr=r<0||r===0&&1/r<0?1:0;for(r=Math.abs(r),isNaN(r)||r===1/0?(p=isNaN(r)?1:0,a=g):(a=Math.floor(Math.log(r)/Math.LN2),r*(c=Math.pow(2,-a))<1&&(a--,c*=2),a+l>=1?r+=b/c:r+=b*Math.pow(2,1-l),r*c>=2&&(a++,c/=2),a+l>=g?(p=0,a=g):a+l>=1?(p=(r*c-1)*Math.pow(2,i),a=a+l):(p=r*Math.pow(2,l-1)*Math.pow(2,i),a=0));i>=8;t[e+T]=p&255,T+=_,p/=256,i-=8);for(a=a<<i|p,f+=i;f>0;t[e+T]=a&255,T+=_,a/=256,f-=8);t[e+T-_]|=Hr*128}});var Ar=G(P=>{"use strict";u();var J=dr(),L=hr(),mr=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;P.Buffer=s;P.SlowBuffer=se;P.INSPECT_MAX_BYTES=50;var V=2147483647;P.kMaxLength=V;s.TYPED_ARRAY_SUPPORT=te();!s.TYPED_ARRAY_SUPPORT&&typeof console!="undefined"&&typeof console.error=="function"&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function te(){try{var t=new Uint8Array(1),r={foo:function(){return 42}};return Object.setPrototypeOf(r,Uint8Array.prototype),Object.setPrototypeOf(t,r),t.foo()===42}catch(e){return!1}}Object.defineProperty(s.prototype,"parent",{enumerable:!0,get:function(){if(!!s.isBuffer(this))return this.buffer}});Object.defineProperty(s.prototype,"offset",{enumerable:!0,get:function(){if(!!s.isBuffer(this))return this.byteOffset}});function B(t){if(t>V)throw new RangeError('The value "'+t+'" is invalid for option "size"');var r=new Uint8Array(t);return Object.setPrototypeOf(r,s.prototype),r}function s(t,r,e){if(typeof t=="number"){if(typeof r=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return Z(t)}return wr(t,r,e)}s.poolSize=8192;function wr(t,r,e){if(typeof t=="string")return ie(t,r);if(ArrayBuffer.isView(t))return oe(t);if(t==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t);if(k(t,ArrayBuffer)||t&&k(t.buffer,ArrayBuffer)||typeof SharedArrayBuffer!="undefined"&&(k(t,SharedArrayBuffer)||t&&k(t.buffer,SharedArrayBuffer)))return j(t,r,e);if(typeof t=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var n=t.valueOf&&t.valueOf();if(n!=null&&n!==t)return s.from(n,r,e);var i=ae(t);if(i)return i;if(typeof Symbol!="undefined"&&Symbol.toPrimitive!=null&&typeof t[Symbol.toPrimitive]=="function")return s.from(t[Symbol.toPrimitive]("string"),r,e);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t)}s.from=function(t,r,e){return wr(t,r,e)};Object.setPrototypeOf(s.prototype,Uint8Array.prototype);Object.setPrototypeOf(s,Uint8Array);function Tr(t){if(typeof t!="number")throw new TypeError('"size" argument must be of type number');if(t<0)throw new RangeError('The value "'+t+'" is invalid for option "size"')}function ne(t,r,e){return Tr(t),t<=0?B(t):r!==void 0?typeof e=="string"?B(t).fill(r,e):B(t).fill(r):B(t)}s.alloc=function(t,r,e){return ne(t,r,e)};function Z(t){return Tr(t),B(t<0?0:rr(t)|0)}s.allocUnsafe=function(t){return Z(t)};s.allocUnsafeSlow=function(t){return Z(t)};function ie(t,r){if((typeof r!="string"||r==="")&&(r="utf8"),!s.isEncoding(r))throw new TypeError("Unknown encoding: "+r);var e=vr(t,r)|0,n=B(e),i=n.write(t,r);return i!==e&&(n=n.slice(0,i)),n}function K(t){for(var r=t.length<0?0:rr(t.length)|0,e=B(r),n=0;n<r;n+=1)e[n]=t[n]&255;return e}function oe(t){if(k(t,Uint8Array)){var r=new Uint8Array(t);return j(r.buffer,r.byteOffset,r.byteLength)}return K(t)}function j(t,r,e){if(r<0||t.byteLength<r)throw new RangeError('"offset" is outside of buffer bounds');if(t.byteLength<r+(e||0))throw new RangeError('"length" is outside of buffer bounds');var n;return r===void 0&&e===void 0?n=new Uint8Array(t):e===void 0?n=new Uint8Array(t,r):n=new Uint8Array(t,r,e),Object.setPrototypeOf(n,s.prototype),n}function ae(t){if(s.isBuffer(t)){var r=rr(t.length)|0,e=B(r);return e.length===0||t.copy(e,0,0,r),e}if(t.length!==void 0)return typeof t.length!="number"||er(t.length)?B(0):K(t);if(t.type==="Buffer"&&Array.isArray(t.data))return K(t.data)}function rr(t){if(t>=V)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+V.toString(16)+" bytes");return t|0}function se(t){return+t!=t&&(t=0),s.alloc(+t)}s.isBuffer=function(r){return r!=null&&r._isBuffer===!0&&r!==s.prototype};s.compare=function(r,e){if(k(r,Uint8Array)&&(r=s.from(r,r.offset,r.byteLength)),k(e,Uint8Array)&&(e=s.from(e,e.offset,e.byteLength)),!s.isBuffer(r)||!s.isBuffer(e))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(r===e)return 0;for(var n=r.length,i=e.length,o=0,a=Math.min(n,i);o<a;++o)if(r[o]!==e[o]){n=r[o],i=e[o];break}return n<i?-1:i<n?1:0};s.isEncoding=function(r){switch(String(r).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}};s.concat=function(r,e){if(!Array.isArray(r))throw new TypeError('"list" argument must be an Array of Buffers');if(r.length===0)return s.alloc(0);var n;if(e===void 0)for(e=0,n=0;n<r.length;++n)e+=r[n].length;var i=s.allocUnsafe(e),o=0;for(n=0;n<r.length;++n){var a=r[n];if(k(a,Uint8Array))o+a.length>i.length?s.from(a).copy(i,o):Uint8Array.prototype.set.call(i,a,o);else if(s.isBuffer(a))a.copy(i,o);else throw new TypeError('"list" argument must be an Array of Buffers');o+=a.length}return i};function vr(t,r){if(s.isBuffer(t))return t.length;if(ArrayBuffer.isView(t)||k(t,ArrayBuffer))return t.byteLength;if(typeof t!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof t);var e=t.length,n=arguments.length>2&&arguments[2]===!0;if(!n&&e===0)return 0;for(var i=!1;;)switch(r){case"ascii":case"latin1":case"binary":return e;case"utf8":case"utf-8":return Q(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return e*2;case"hex":return e>>>1;case"base64":return Br(t).length;default:if(i)return n?-1:Q(t).length;r=(""+r).toLowerCase(),i=!0}}s.byteLength=vr;function ue(t,r,e){var n=!1;if((r===void 0||r<0)&&(r=0),r>this.length||((e===void 0||e>this.length)&&(e=this.length),e<=0)||(e>>>=0,r>>>=0,e<=r))return"";for(t||(t="utf8");;)switch(t){case"hex":return xe(this,r,e);case"utf8":case"utf-8":return Fr(this,r,e);case"ascii":return me(this,r,e);case"latin1":case"binary":return ye(this,r,e);case"base64":return de(this,r,e);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return we(this,r,e);default:if(n)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),n=!0}}s.prototype._isBuffer=!0;function C(t,r,e){var n=t[r];t[r]=t[e],t[e]=n}s.prototype.swap16=function(){var r=this.length;if(r%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var e=0;e<r;e+=2)C(this,e,e+1);return this};s.prototype.swap32=function(){var r=this.length;if(r%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var e=0;e<r;e+=4)C(this,e,e+3),C(this,e+1,e+2);return this};s.prototype.swap64=function(){var r=this.length;if(r%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var e=0;e<r;e+=8)C(this,e,e+7),C(this,e+1,e+6),C(this,e+2,e+5),C(this,e+3,e+4);return this};s.prototype.toString=function(){var r=this.length;return r===0?"":arguments.length===0?Fr(this,0,r):ue.apply(this,arguments)};s.prototype.toLocaleString=s.prototype.toString;s.prototype.equals=function(r){if(!s.isBuffer(r))throw new TypeError("Argument must be a Buffer");return this===r?!0:s.compare(this,r)===0};s.prototype.inspect=function(){var r="",e=P.INSPECT_MAX_BYTES;return r=this.toString("hex",0,e).replace(/(.{2})/g,"$1 ").trim(),this.length>e&&(r+=" ... "),"<Buffer "+r+">"};mr&&(s.prototype[mr]=s.prototype.inspect);s.prototype.compare=function(r,e,n,i,o){if(k(r,Uint8Array)&&(r=s.from(r,r.offset,r.byteLength)),!s.isBuffer(r))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof r);if(e===void 0&&(e=0),n===void 0&&(n=r?r.length:0),i===void 0&&(i=0),o===void 0&&(o=this.length),e<0||n>r.length||i<0||o>this.length)throw new RangeError("out of range index");if(i>=o&&e>=n)return 0;if(i>=o)return-1;if(e>=n)return 1;if(e>>>=0,n>>>=0,i>>>=0,o>>>=0,this===r)return 0;for(var a=o-i,p=n-e,c=Math.min(a,p),f=this.slice(i,o),g=r.slice(e,n),l=0;l<c;++l)if(f[l]!==g[l]){a=f[l],p=g[l];break}return a<p?-1:p<a?1:0};function br(t,r,e,n,i){if(t.length===0)return-1;if(typeof e=="string"?(n=e,e=0):e>2147483647?e=2147483647:e<-2147483648&&(e=-2147483648),e=+e,er(e)&&(e=i?0:t.length-1),e<0&&(e=t.length+e),e>=t.length){if(i)return-1;e=t.length-1}else if(e<0)if(i)e=0;else return-1;if(typeof r=="string"&&(r=s.from(r,n)),s.isBuffer(r))return r.length===0?-1:yr(t,r,e,n,i);if(typeof r=="number")return r=r&255,typeof Uint8Array.prototype.indexOf=="function"?i?Uint8Array.prototype.indexOf.call(t,r,e):Uint8Array.prototype.lastIndexOf.call(t,r,e):yr(t,[r],e,n,i);throw new TypeError("val must be string, number or Buffer")}function yr(t,r,e,n,i){var o=1,a=t.length,p=r.length;if(n!==void 0&&(n=String(n).toLowerCase(),n==="ucs2"||n==="ucs-2"||n==="utf16le"||n==="utf-16le")){if(t.length<2||r.length<2)return-1;o=2,a/=2,p/=2,e/=2}function c(T,_){return o===1?T[_]:T.readUInt16BE(_*o)}var f;if(i){var g=-1;for(f=e;f<a;f++)if(c(t,f)===c(r,g===-1?0:f-g)){if(g===-1&&(g=f),f-g+1===p)return g*o}else g!==-1&&(f-=f-g),g=-1}else for(e+p>a&&(e=a-p),f=e;f>=0;f--){for(var l=!0,b=0;b<p;b++)if(c(t,f+b)!==c(r,b)){l=!1;break}if(l)return f}return-1}s.prototype.includes=function(r,e,n){return this.indexOf(r,e,n)!==-1};s.prototype.indexOf=function(r,e,n){return br(this,r,e,n,!0)};s.prototype.lastIndexOf=function(r,e,n){return br(this,r,e,n,!1)};function pe(t,r,e,n){e=Number(e)||0;var i=t.length-e;n?(n=Number(n),n>i&&(n=i)):n=i;var o=r.length;n>o/2&&(n=o/2);for(var a=0;a<n;++a){var p=parseInt(r.substr(a*2,2),16);if(er(p))return a;t[e+a]=p}return a}function ce(t,r,e,n){return O(Q(r,t.length-e),t,e,n)}function le(t,r,e,n){return O(be(r),t,e,n)}function fe(t,r,e,n){return O(Br(r),t,e,n)}function ge(t,r,e,n){return O(Fe(r,t.length-e),t,e,n)}s.prototype.write=function(r,e,n,i){if(e===void 0)i="utf8",n=this.length,e=0;else if(n===void 0&&typeof e=="string")i=e,n=this.length,e=0;else if(isFinite(e))e=e>>>0,isFinite(n)?(n=n>>>0,i===void 0&&(i="utf8")):(i=n,n=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var o=this.length-e;if((n===void 0||n>o)&&(n=o),r.length>0&&(n<0||e<0)||e>this.length)throw new RangeError("Attempt to write outside buffer bounds");i||(i="utf8");for(var a=!1;;)switch(i){case"hex":return pe(this,r,e,n);case"utf8":case"utf-8":return ce(this,r,e,n);case"ascii":case"latin1":case"binary":return le(this,r,e,n);case"base64":return fe(this,r,e,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return ge(this,r,e,n);default:if(a)throw new TypeError("Unknown encoding: "+i);i=(""+i).toLowerCase(),a=!0}};s.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function de(t,r,e){return r===0&&e===t.length?J.fromByteArray(t):J.fromByteArray(t.slice(r,e))}function Fr(t,r,e){e=Math.min(t.length,e);for(var n=[],i=r;i<e;){var o=t[i],a=null,p=o>239?4:o>223?3:o>191?2:1;if(i+p<=e){var c,f,g,l;switch(p){case 1:o<128&&(a=o);break;case 2:c=t[i+1],(c&192)===128&&(l=(o&31)<<6|c&63,l>127&&(a=l));break;case 3:c=t[i+1],f=t[i+2],(c&192)===128&&(f&192)===128&&(l=(o&15)<<12|(c&63)<<6|f&63,l>2047&&(l<55296||l>57343)&&(a=l));break;case 4:c=t[i+1],f=t[i+2],g=t[i+3],(c&192)===128&&(f&192)===128&&(g&192)===128&&(l=(o&15)<<18|(c&63)<<12|(f&63)<<6|g&63,l>65535&&l<1114112&&(a=l))}}a===null?(a=65533,p=1):a>65535&&(a-=65536,n.push(a>>>10&1023|55296),a=56320|a&1023),n.push(a),i+=p}return he(n)}var xr=4096;function he(t){var r=t.length;if(r<=xr)return String.fromCharCode.apply(String,t);for(var e="",n=0;n<r;)e+=String.fromCharCode.apply(String,t.slice(n,n+=xr));return e}function me(t,r,e){var n="";e=Math.min(t.length,e);for(var i=r;i<e;++i)n+=String.fromCharCode(t[i]&127);return n}function ye(t,r,e){var n="";e=Math.min(t.length,e);for(var i=r;i<e;++i)n+=String.fromCharCode(t[i]);return n}function xe(t,r,e){var n=t.length;(!r||r<0)&&(r=0),(!e||e<0||e>n)&&(e=n);for(var i="",o=r;o<e;++o)i+=ke[t[o]];return i}function we(t,r,e){for(var n=t.slice(r,e),i="",o=0;o<n.length-1;o+=2)i+=String.fromCharCode(n[o]+n[o+1]*256);return i}s.prototype.slice=function(r,e){var n=this.length;r=~~r,e=e===void 0?n:~~e,r<0?(r+=n,r<0&&(r=0)):r>n&&(r=n),e<0?(e+=n,e<0&&(e=0)):e>n&&(e=n),e<r&&(e=r);var i=this.subarray(r,e);return Object.setPrototypeOf(i,s.prototype),i};function x(t,r,e){if(t%1!==0||t<0)throw new RangeError("offset is not uint");if(t+r>e)throw new RangeError("Trying to access beyond buffer length")}s.prototype.readUintLE=s.prototype.readUIntLE=function(r,e,n){r=r>>>0,e=e>>>0,n||x(r,e,this.length);for(var i=this[r],o=1,a=0;++a<e&&(o*=256);)i+=this[r+a]*o;return i};s.prototype.readUintBE=s.prototype.readUIntBE=function(r,e,n){r=r>>>0,e=e>>>0,n||x(r,e,this.length);for(var i=this[r+--e],o=1;e>0&&(o*=256);)i+=this[r+--e]*o;return i};s.prototype.readUint8=s.prototype.readUInt8=function(r,e){return r=r>>>0,e||x(r,1,this.length),this[r]};s.prototype.readUint16LE=s.prototype.readUInt16LE=function(r,e){return r=r>>>0,e||x(r,2,this.length),this[r]|this[r+1]<<8};s.prototype.readUint16BE=s.prototype.readUInt16BE=function(r,e){return r=r>>>0,e||x(r,2,this.length),this[r]<<8|this[r+1]};s.prototype.readUint32LE=s.prototype.readUInt32LE=function(r,e){return r=r>>>0,e||x(r,4,this.length),(this[r]|this[r+1]<<8|this[r+2]<<16)+this[r+3]*16777216};s.prototype.readUint32BE=s.prototype.readUInt32BE=function(r,e){return r=r>>>0,e||x(r,4,this.length),this[r]*16777216+(this[r+1]<<16|this[r+2]<<8|this[r+3])};s.prototype.readIntLE=function(r,e,n){r=r>>>0,e=e>>>0,n||x(r,e,this.length);for(var i=this[r],o=1,a=0;++a<e&&(o*=256);)i+=this[r+a]*o;return o*=128,i>=o&&(i-=Math.pow(2,8*e)),i};s.prototype.readIntBE=function(r,e,n){r=r>>>0,e=e>>>0,n||x(r,e,this.length);for(var i=e,o=1,a=this[r+--i];i>0&&(o*=256);)a+=this[r+--i]*o;return o*=128,a>=o&&(a-=Math.pow(2,8*e)),a};s.prototype.readInt8=function(r,e){return r=r>>>0,e||x(r,1,this.length),this[r]&128?(255-this[r]+1)*-1:this[r]};s.prototype.readInt16LE=function(r,e){r=r>>>0,e||x(r,2,this.length);var n=this[r]|this[r+1]<<8;return n&32768?n|4294901760:n};s.prototype.readInt16BE=function(r,e){r=r>>>0,e||x(r,2,this.length);var n=this[r+1]|this[r]<<8;return n&32768?n|4294901760:n};s.prototype.readInt32LE=function(r,e){return r=r>>>0,e||x(r,4,this.length),this[r]|this[r+1]<<8|this[r+2]<<16|this[r+3]<<24};s.prototype.readInt32BE=function(r,e){return r=r>>>0,e||x(r,4,this.length),this[r]<<24|this[r+1]<<16|this[r+2]<<8|this[r+3]};s.prototype.readFloatLE=function(r,e){return r=r>>>0,e||x(r,4,this.length),L.read(this,r,!0,23,4)};s.prototype.readFloatBE=function(r,e){return r=r>>>0,e||x(r,4,this.length),L.read(this,r,!1,23,4)};s.prototype.readDoubleLE=function(r,e){return r=r>>>0,e||x(r,8,this.length),L.read(this,r,!0,52,8)};s.prototype.readDoubleBE=function(r,e){return r=r>>>0,e||x(r,8,this.length),L.read(this,r,!1,52,8)};function w(t,r,e,n,i,o){if(!s.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(r>i||r<o)throw new RangeError('"value" argument is out of bounds');if(e+n>t.length)throw new RangeError("Index out of range")}s.prototype.writeUintLE=s.prototype.writeUIntLE=function(r,e,n,i){if(r=+r,e=e>>>0,n=n>>>0,!i){var o=Math.pow(2,8*n)-1;w(this,r,e,n,o,0)}var a=1,p=0;for(this[e]=r&255;++p<n&&(a*=256);)this[e+p]=r/a&255;return e+n};s.prototype.writeUintBE=s.prototype.writeUIntBE=function(r,e,n,i){if(r=+r,e=e>>>0,n=n>>>0,!i){var o=Math.pow(2,8*n)-1;w(this,r,e,n,o,0)}var a=n-1,p=1;for(this[e+a]=r&255;--a>=0&&(p*=256);)this[e+a]=r/p&255;return e+n};s.prototype.writeUint8=s.prototype.writeUInt8=function(r,e,n){return r=+r,e=e>>>0,n||w(this,r,e,1,255,0),this[e]=r&255,e+1};s.prototype.writeUint16LE=s.prototype.writeUInt16LE=function(r,e,n){return r=+r,e=e>>>0,n||w(this,r,e,2,65535,0),this[e]=r&255,this[e+1]=r>>>8,e+2};s.prototype.writeUint16BE=s.prototype.writeUInt16BE=function(r,e,n){return r=+r,e=e>>>0,n||w(this,r,e,2,65535,0),this[e]=r>>>8,this[e+1]=r&255,e+2};s.prototype.writeUint32LE=s.prototype.writeUInt32LE=function(r,e,n){return r=+r,e=e>>>0,n||w(this,r,e,4,4294967295,0),this[e+3]=r>>>24,this[e+2]=r>>>16,this[e+1]=r>>>8,this[e]=r&255,e+4};s.prototype.writeUint32BE=s.prototype.writeUInt32BE=function(r,e,n){return r=+r,e=e>>>0,n||w(this,r,e,4,4294967295,0),this[e]=r>>>24,this[e+1]=r>>>16,this[e+2]=r>>>8,this[e+3]=r&255,e+4};s.prototype.writeIntLE=function(r,e,n,i){if(r=+r,e=e>>>0,!i){var o=Math.pow(2,8*n-1);w(this,r,e,n,o-1,-o)}var a=0,p=1,c=0;for(this[e]=r&255;++a<n&&(p*=256);)r<0&&c===0&&this[e+a-1]!==0&&(c=1),this[e+a]=(r/p>>0)-c&255;return e+n};s.prototype.writeIntBE=function(r,e,n,i){if(r=+r,e=e>>>0,!i){var o=Math.pow(2,8*n-1);w(this,r,e,n,o-1,-o)}var a=n-1,p=1,c=0;for(this[e+a]=r&255;--a>=0&&(p*=256);)r<0&&c===0&&this[e+a+1]!==0&&(c=1),this[e+a]=(r/p>>0)-c&255;return e+n};s.prototype.writeInt8=function(r,e,n){return r=+r,e=e>>>0,n||w(this,r,e,1,127,-128),r<0&&(r=255+r+1),this[e]=r&255,e+1};s.prototype.writeInt16LE=function(r,e,n){return r=+r,e=e>>>0,n||w(this,r,e,2,32767,-32768),this[e]=r&255,this[e+1]=r>>>8,e+2};s.prototype.writeInt16BE=function(r,e,n){return r=+r,e=e>>>0,n||w(this,r,e,2,32767,-32768),this[e]=r>>>8,this[e+1]=r&255,e+2};s.prototype.writeInt32LE=function(r,e,n){return r=+r,e=e>>>0,n||w(this,r,e,4,2147483647,-2147483648),this[e]=r&255,this[e+1]=r>>>8,this[e+2]=r>>>16,this[e+3]=r>>>24,e+4};s.prototype.writeInt32BE=function(r,e,n){return r=+r,e=e>>>0,n||w(this,r,e,4,2147483647,-2147483648),r<0&&(r=4294967295+r+1),this[e]=r>>>24,this[e+1]=r>>>16,this[e+2]=r>>>8,this[e+3]=r&255,e+4};function kr(t,r,e,n,i,o){if(e+n>t.length)throw new RangeError("Index out of range");if(e<0)throw new RangeError("Index out of range")}function Ir(t,r,e,n,i){return r=+r,e=e>>>0,i||kr(t,r,e,4,34028234663852886e22,-34028234663852886e22),L.write(t,r,e,n,23,4),e+4}s.prototype.writeFloatLE=function(r,e,n){return Ir(this,r,e,!0,n)};s.prototype.writeFloatBE=function(r,e,n){return Ir(this,r,e,!1,n)};function Sr(t,r,e,n,i){return r=+r,e=e>>>0,i||kr(t,r,e,8,17976931348623157e292,-17976931348623157e292),L.write(t,r,e,n,52,8),e+8}s.prototype.writeDoubleLE=function(r,e,n){return Sr(this,r,e,!0,n)};s.prototype.writeDoubleBE=function(r,e,n){return Sr(this,r,e,!1,n)};s.prototype.copy=function(r,e,n,i){if(!s.isBuffer(r))throw new TypeError("argument should be a Buffer");if(n||(n=0),!i&&i!==0&&(i=this.length),e>=r.length&&(e=r.length),e||(e=0),i>0&&i<n&&(i=n),i===n||r.length===0||this.length===0)return 0;if(e<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw new RangeError("Index out of range");if(i<0)throw new RangeError("sourceEnd out of bounds");i>this.length&&(i=this.length),r.length-e<i-n&&(i=r.length-e+n);var o=i-n;return this===r&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(e,n,i):Uint8Array.prototype.set.call(r,this.subarray(n,i),e),o};s.prototype.fill=function(r,e,n,i){if(typeof r=="string"){if(typeof e=="string"?(i=e,e=0,n=this.length):typeof n=="string"&&(i=n,n=this.length),i!==void 0&&typeof i!="string")throw new TypeError("encoding must be a string");if(typeof i=="string"&&!s.isEncoding(i))throw new TypeError("Unknown encoding: "+i);if(r.length===1){var o=r.charCodeAt(0);(i==="utf8"&&o<128||i==="latin1")&&(r=o)}}else typeof r=="number"?r=r&255:typeof r=="boolean"&&(r=Number(r));if(e<0||this.length<e||this.length<n)throw new RangeError("Out of range index");if(n<=e)return this;e=e>>>0,n=n===void 0?this.length:n>>>0,r||(r=0);var a;if(typeof r=="number")for(a=e;a<n;++a)this[a]=r;else{var p=s.isBuffer(r)?r:s.from(r,i),c=p.length;if(c===0)throw new TypeError('The value "'+r+'" is invalid for argument "value"');for(a=0;a<n-e;++a)this[a+e]=p[a%c]}return this};var Te=/[^+/0-9A-Za-z-_]/g;function ve(t){if(t=t.split("=")[0],t=t.trim().replace(Te,""),t.length<2)return"";for(;t.length%4!==0;)t=t+"=";return t}function Q(t,r){r=r||1/0;for(var e,n=t.length,i=null,o=[],a=0;a<n;++a){if(e=t.charCodeAt(a),e>55295&&e<57344){if(!i){if(e>56319){(r-=3)>-1&&o.push(239,191,189);continue}else if(a+1===n){(r-=3)>-1&&o.push(239,191,189);continue}i=e;continue}if(e<56320){(r-=3)>-1&&o.push(239,191,189),i=e;continue}e=(i-55296<<10|e-56320)+65536}else i&&(r-=3)>-1&&o.push(239,191,189);if(i=null,e<128){if((r-=1)<0)break;o.push(e)}else if(e<2048){if((r-=2)<0)break;o.push(e>>6|192,e&63|128)}else if(e<65536){if((r-=3)<0)break;o.push(e>>12|224,e>>6&63|128,e&63|128)}else if(e<1114112){if((r-=4)<0)break;o.push(e>>18|240,e>>12&63|128,e>>6&63|128,e&63|128)}else throw new Error("Invalid code point")}return o}function be(t){for(var r=[],e=0;e<t.length;++e)r.push(t.charCodeAt(e)&255);return r}function Fe(t,r){for(var e,n,i,o=[],a=0;a<t.length&&!((r-=2)<0);++a)e=t.charCodeAt(a),n=e>>8,i=e%256,o.push(i),o.push(n);return o}function Br(t){return J.toByteArray(ve(t))}function O(t,r,e,n){for(var i=0;i<n&&!(i+e>=r.length||i>=t.length);++i)r[i+e]=t[i];return i}function k(t,r){return t instanceof r||t!=null&&t.constructor!=null&&t.constructor.name!=null&&t.constructor.name===r.name}function er(t){return t!==t}var ke=function(){for(var t="0123456789abcdef",r=new Array(256),e=0;e<16;++e)for(var n=e*16,i=0;i<16;++i)r[n+i]=t[e]+t[i];return r}()});var Ur=G((Me,Er)=>{u();var y=Er.exports={},I,S;function tr(){throw new Error("setTimeout has not been defined")}function nr(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?I=setTimeout:I=tr}catch(t){I=tr}try{typeof clearTimeout=="function"?S=clearTimeout:S=nr}catch(t){S=nr}})();function Rr(t){if(I===setTimeout)return setTimeout(t,0);if((I===tr||!I)&&setTimeout)return I=setTimeout,setTimeout(t,0);try{return I(t,0)}catch(r){try{return I.call(null,t,0)}catch(e){return I.call(this,t,0)}}}function Ie(t){if(S===clearTimeout)return clearTimeout(t);if((S===nr||!S)&&clearTimeout)return S=clearTimeout,clearTimeout(t);try{return S(t)}catch(r){try{return S.call(null,t)}catch(e){return S.call(this,t)}}}var A=[],N=!1,E,Y=-1;function Se(){!N||!E||(N=!1,E.length?A=E.concat(A):Y=-1,A.length&&Dr())}function Dr(){if(!N){var t=Rr(Se);N=!0;for(var r=A.length;r;){for(E=A,A=[];++Y<r;)E&&E[Y].run();Y=-1,r=A.length}E=null,N=!1,Ie(t)}}y.nextTick=function(t){var r=new Array(arguments.length-1);if(arguments.length>1)for(var e=1;e<arguments.length;e++)r[e-1]=arguments[e];A.push(new Cr(t,r)),A.length===1&&!N&&Rr(Dr)};function Cr(t,r){this.fun=t,this.array=r}Cr.prototype.run=function(){this.fun.apply(null,this.array)};y.title="browser";y.browser=!0;y.env={};y.argv=[];y.version="";y.versions={};function R(){}y.on=R;y.addListener=R;y.once=R;y.off=R;y.removeListener=R;y.removeAllListeners=R;y.emit=R;y.prependListener=R;y.prependOnceListener=R;y.listeners=function(t){return[]};y.binding=function(t){throw new Error("process.binding is not supported")};y.cwd=function(){return"/"};y.chdir=function(t){throw new Error("process.chdir is not supported")};y.umask=function(){return 0}});var d,h,We,u=zr(()=>{d=z(Ar()),h=z(Ur()),We=function(t){function r(){var n=this||self;return delete t.prototype.__magic__,n}if(typeof globalThis=="object")return globalThis;if(this)return r();t.defineProperty(t.prototype,"__magic__",{configurable:!0,get:r});var e=__magic__;return e}(Object)});var Ue={};Xr(Ue,{decodeByMethod:()=>U,getDisplayValueAndValidationWarnings:()=>Ee,getHexValidationWarnings:()=>ar,getSmartDecodedParts:()=>sr});module.exports=$r(Ue);u();u();var Nr=require("@multiversx/sdk-core/out"),or=z(require("bignumber.js"));u();u();var _r=require("@multiversx/sdk-core");function Be(t){try{let r=new _r.Address(t);return Boolean(r.bech32())}catch(r){return!1}}function Lr(t){return(t==null?void 0:t.length)===62&&/^\w+$/.test(t)&&Be(t)}u();u();u();u();function ir(t){for(let r=0;r<t.length;r++)if(t.charCodeAt(r)>127)return!1;return!0}u();u();var Pr=t=>/\d/.test(t);var U=(t,r,e)=>{try{switch(r){case"text":return Pr(t)?d.Buffer.from(t,"hex").toString("utf8"):t;case"decimal":return new or.default(t,16).toString(10);case"smart":let i=Nr.Address.fromHex(t).toString();if(Lr(i))return i;let o=d.Buffer.from(t,"hex").toString("utf8");return ir(o)||e&&[...e.esdts,...e.nfts].some(c=>o.includes(c))?o:new or.default(t,16).toString(10);case"raw":default:return t}}catch(n){return console.error(`Error during data decoding of "${t}" as "${r}"`,n),t}};u();u();u();u();u();u();u();var Re=require("@multiversx/sdk-dapp-utils/out/constants/browserConstants"),M=require("@multiversx/sdk-dapp-utils/out/enums/windowProviderEnums");var Mr=(e=>(e.signTransactionsWithGuardianResponse="SIGN_TRANSACTIONS_WITH_GUARDIAN_RESPONSE",e.reloginRequest="RELOGIN_REQUEST",e))(Mr||{}),pt=H(H({},M.WindowProviderRequestEnums),Mr),Wr=(r=>(r.reloginResponse="RELOGIN_RESPONSE",r))(Wr||{}),ct=H(H({},M.WindowProviderResponseEnums),Wr);u();u();u();u();u();u();var De=t=>t.toLowerCase().match(/[0-9a-f]/g),Ce=t=>t.length%2===0,ar=t=>{let r=[];return t&&!De(t)&&r.push(`Invalid Hex characters on argument @${t}`),t&&!Ce(t)&&r.push(`Odd number of Hex characters on argument @${t}`),r};u();var sr=({parts:t,decodedParts:r,identifier:e})=>{let n=[...r];if(t[0]==="ESDTNFTTransfer"&&t[2]&&(n[2]=U(t[2],"decimal")),e==="ESDTNFTTransfer"&&t[1]){let i=d.Buffer.from(String(t[1]),"base64");n[1]=U(i.toString("hex"),"decimal")}return n};var Ee=({parts:t,decodeMethod:r,identifier:e,display:n})=>{let i=t.map((o,a)=>{if(t.length>=2&&(a===0&&o.length<64||a===1&&!t[0]))return/[^a-z0-9]/gi.test(o)?U(o,r):o;{let p=ar(o);return p.length&&(n.validationWarnings=Array.from(new Set([...n.validationWarnings,...p]))),U(o,r)}});return r==="smart"?sr({parts:t,decodedParts:i,identifier:e}):i};0&&(module.exports={decodeByMethod,getDisplayValueAndValidationWarnings,getHexValidationWarnings,getSmartDecodedParts});
2
2
  /*!
3
3
  * The buffer module from node.js, for the browser.
4
4
  *
@@ -1,4 +1,4 @@
1
- "use strict";var qr=Object.create;var M=Object.defineProperty;var Or=Object.getOwnPropertyDescriptor;var Yr=Object.getOwnPropertyNames,sr=Object.getOwnPropertySymbols,zr=Object.getPrototypeOf,pr=Object.prototype.hasOwnProperty,Xr=Object.prototype.propertyIsEnumerable;var ur=(t,r,e)=>r in t?M(t,r,{enumerable:!0,configurable:!0,writable:!0,value:e}):t[r]=e,H=(t,r)=>{for(var e in r||(r={}))pr.call(r,e)&&ur(t,e,r[e]);if(sr)for(var e of sr(r))Xr.call(r,e)&&ur(t,e,r[e]);return t};var $r=(t,r)=>()=>(t&&(r=t(t=0)),r);var G=(t,r)=>()=>(r||t((r={exports:{}}).exports,r),r.exports),jr=(t,r)=>{for(var e in r)M(t,e,{get:r[e],enumerable:!0})},cr=(t,r,e,n)=>{if(r&&typeof r=="object"||typeof r=="function")for(let i of Yr(r))!pr.call(t,i)&&i!==e&&M(t,i,{get:()=>r[i],enumerable:!(n=Or(r,i))||n.enumerable});return t};var X=(t,r,e)=>(e=t!=null?qr(zr(t)):{},cr(r||!t||!t.__esModule?M(e,"default",{value:t,enumerable:!0}):e,t)),Jr=t=>cr(M({},"__esModule",{value:!0}),t);var dr=G(V=>{"use strict";u();V.byteLength=Qr;V.toByteArray=re;V.fromByteArray=ne;var F=[],v=[],Kr=typeof Uint8Array!="undefined"?Uint8Array:Array,$="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(C=0,lr=$.length;C<lr;++C)F[C]=$[C],v[$.charCodeAt(C)]=C;var C,lr;v["-".charCodeAt(0)]=62;v["_".charCodeAt(0)]=63;function fr(t){var r=t.length;if(r%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var e=t.indexOf("=");e===-1&&(e=r);var n=e===r?0:4-e%4;return[e,n]}function Qr(t){var r=fr(t),e=r[0],n=r[1];return(e+n)*3/4-n}function Zr(t,r,e){return(r+e)*3/4-e}function re(t){var r,e=fr(t),n=e[0],i=e[1],o=new Kr(Zr(t,n,i)),a=0,p=i>0?n-4:n,c;for(c=0;c<p;c+=4)r=v[t.charCodeAt(c)]<<18|v[t.charCodeAt(c+1)]<<12|v[t.charCodeAt(c+2)]<<6|v[t.charCodeAt(c+3)],o[a++]=r>>16&255,o[a++]=r>>8&255,o[a++]=r&255;return i===2&&(r=v[t.charCodeAt(c)]<<2|v[t.charCodeAt(c+1)]>>4,o[a++]=r&255),i===1&&(r=v[t.charCodeAt(c)]<<10|v[t.charCodeAt(c+1)]<<4|v[t.charCodeAt(c+2)]>>2,o[a++]=r>>8&255,o[a++]=r&255),o}function ee(t){return F[t>>18&63]+F[t>>12&63]+F[t>>6&63]+F[t&63]}function te(t,r,e){for(var n,i=[],o=r;o<e;o+=3)n=(t[o]<<16&16711680)+(t[o+1]<<8&65280)+(t[o+2]&255),i.push(ee(n));return i.join("")}function ne(t){for(var r,e=t.length,n=e%3,i=[],o=16383,a=0,p=e-n;a<p;a+=o)i.push(te(t,a,a+o>p?p:a+o));return n===1?(r=t[e-1],i.push(F[r>>2]+F[r<<4&63]+"==")):n===2&&(r=(t[e-2]<<8)+t[e-1],i.push(F[r>>10]+F[r>>4&63]+F[r<<2&63]+"=")),i.join("")}});var gr=G(j=>{u();j.read=function(t,r,e,n,i){var o,a,p=i*8-n-1,c=(1<<p)-1,d=c>>1,g=-7,l=e?i-1:0,b=e?-1:1,w=t[r+l];for(l+=b,o=w&(1<<-g)-1,w>>=-g,g+=p;g>0;o=o*256+t[r+l],l+=b,g-=8);for(a=o&(1<<-g)-1,o>>=-g,g+=n;g>0;a=a*256+t[r+l],l+=b,g-=8);if(o===0)o=1-d;else{if(o===c)return a?NaN:(w?-1:1)*(1/0);a=a+Math.pow(2,n),o=o-d}return(w?-1:1)*a*Math.pow(2,o-n)};j.write=function(t,r,e,n,i,o){var a,p,c,d=o*8-i-1,g=(1<<d)-1,l=g>>1,b=i===23?Math.pow(2,-24)-Math.pow(2,-77):0,w=n?0:o-1,_=n?1:-1,Vr=r<0||r===0&&1/r<0?1:0;for(r=Math.abs(r),isNaN(r)||r===1/0?(p=isNaN(r)?1:0,a=g):(a=Math.floor(Math.log(r)/Math.LN2),r*(c=Math.pow(2,-a))<1&&(a--,c*=2),a+l>=1?r+=b/c:r+=b*Math.pow(2,1-l),r*c>=2&&(a++,c/=2),a+l>=g?(p=0,a=g):a+l>=1?(p=(r*c-1)*Math.pow(2,i),a=a+l):(p=r*Math.pow(2,l-1)*Math.pow(2,i),a=0));i>=8;t[e+w]=p&255,w+=_,p/=256,i-=8);for(a=a<<i|p,d+=i;d>0;t[e+w]=a&255,w+=_,a/=256,d-=8);t[e+w-_]|=Vr*128}});var Br=G(P=>{"use strict";u();var J=dr(),L=gr(),hr=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;P.Buffer=s;P.SlowBuffer=pe;P.INSPECT_MAX_BYTES=50;var q=2147483647;P.kMaxLength=q;s.TYPED_ARRAY_SUPPORT=ie();!s.TYPED_ARRAY_SUPPORT&&typeof console!="undefined"&&typeof console.error=="function"&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function ie(){try{var t=new Uint8Array(1),r={foo:function(){return 42}};return Object.setPrototypeOf(r,Uint8Array.prototype),Object.setPrototypeOf(t,r),t.foo()===42}catch(e){return!1}}Object.defineProperty(s.prototype,"parent",{enumerable:!0,get:function(){if(!!s.isBuffer(this))return this.buffer}});Object.defineProperty(s.prototype,"offset",{enumerable:!0,get:function(){if(!!s.isBuffer(this))return this.byteOffset}});function B(t){if(t>q)throw new RangeError('The value "'+t+'" is invalid for option "size"');var r=new Uint8Array(t);return Object.setPrototypeOf(r,s.prototype),r}function s(t,r,e){if(typeof t=="number"){if(typeof r=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return rr(t)}return xr(t,r,e)}s.poolSize=8192;function xr(t,r,e){if(typeof t=="string")return ae(t,r);if(ArrayBuffer.isView(t))return se(t);if(t==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t);if(k(t,ArrayBuffer)||t&&k(t.buffer,ArrayBuffer)||typeof SharedArrayBuffer!="undefined"&&(k(t,SharedArrayBuffer)||t&&k(t.buffer,SharedArrayBuffer)))return Q(t,r,e);if(typeof t=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var n=t.valueOf&&t.valueOf();if(n!=null&&n!==t)return s.from(n,r,e);var i=ue(t);if(i)return i;if(typeof Symbol!="undefined"&&Symbol.toPrimitive!=null&&typeof t[Symbol.toPrimitive]=="function")return s.from(t[Symbol.toPrimitive]("string"),r,e);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t)}s.from=function(t,r,e){return xr(t,r,e)};Object.setPrototypeOf(s.prototype,Uint8Array.prototype);Object.setPrototypeOf(s,Uint8Array);function Tr(t){if(typeof t!="number")throw new TypeError('"size" argument must be of type number');if(t<0)throw new RangeError('The value "'+t+'" is invalid for option "size"')}function oe(t,r,e){return Tr(t),t<=0?B(t):r!==void 0?typeof e=="string"?B(t).fill(r,e):B(t).fill(r):B(t)}s.alloc=function(t,r,e){return oe(t,r,e)};function rr(t){return Tr(t),B(t<0?0:er(t)|0)}s.allocUnsafe=function(t){return rr(t)};s.allocUnsafeSlow=function(t){return rr(t)};function ae(t,r){if((typeof r!="string"||r==="")&&(r="utf8"),!s.isEncoding(r))throw new TypeError("Unknown encoding: "+r);var e=wr(t,r)|0,n=B(e),i=n.write(t,r);return i!==e&&(n=n.slice(0,i)),n}function K(t){for(var r=t.length<0?0:er(t.length)|0,e=B(r),n=0;n<r;n+=1)e[n]=t[n]&255;return e}function se(t){if(k(t,Uint8Array)){var r=new Uint8Array(t);return Q(r.buffer,r.byteOffset,r.byteLength)}return K(t)}function Q(t,r,e){if(r<0||t.byteLength<r)throw new RangeError('"offset" is outside of buffer bounds');if(t.byteLength<r+(e||0))throw new RangeError('"length" is outside of buffer bounds');var n;return r===void 0&&e===void 0?n=new Uint8Array(t):e===void 0?n=new Uint8Array(t,r):n=new Uint8Array(t,r,e),Object.setPrototypeOf(n,s.prototype),n}function ue(t){if(s.isBuffer(t)){var r=er(t.length)|0,e=B(r);return e.length===0||t.copy(e,0,0,r),e}if(t.length!==void 0)return typeof t.length!="number"||tr(t.length)?B(0):K(t);if(t.type==="Buffer"&&Array.isArray(t.data))return K(t.data)}function er(t){if(t>=q)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+q.toString(16)+" bytes");return t|0}function pe(t){return+t!=t&&(t=0),s.alloc(+t)}s.isBuffer=function(r){return r!=null&&r._isBuffer===!0&&r!==s.prototype};s.compare=function(r,e){if(k(r,Uint8Array)&&(r=s.from(r,r.offset,r.byteLength)),k(e,Uint8Array)&&(e=s.from(e,e.offset,e.byteLength)),!s.isBuffer(r)||!s.isBuffer(e))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(r===e)return 0;for(var n=r.length,i=e.length,o=0,a=Math.min(n,i);o<a;++o)if(r[o]!==e[o]){n=r[o],i=e[o];break}return n<i?-1:i<n?1:0};s.isEncoding=function(r){switch(String(r).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}};s.concat=function(r,e){if(!Array.isArray(r))throw new TypeError('"list" argument must be an Array of Buffers');if(r.length===0)return s.alloc(0);var n;if(e===void 0)for(e=0,n=0;n<r.length;++n)e+=r[n].length;var i=s.allocUnsafe(e),o=0;for(n=0;n<r.length;++n){var a=r[n];if(k(a,Uint8Array))o+a.length>i.length?s.from(a).copy(i,o):Uint8Array.prototype.set.call(i,a,o);else if(s.isBuffer(a))a.copy(i,o);else throw new TypeError('"list" argument must be an Array of Buffers');o+=a.length}return i};function wr(t,r){if(s.isBuffer(t))return t.length;if(ArrayBuffer.isView(t)||k(t,ArrayBuffer))return t.byteLength;if(typeof t!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof t);var e=t.length,n=arguments.length>2&&arguments[2]===!0;if(!n&&e===0)return 0;for(var i=!1;;)switch(r){case"ascii":case"latin1":case"binary":return e;case"utf8":case"utf-8":return Z(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return e*2;case"hex":return e>>>1;case"base64":return Ir(t).length;default:if(i)return n?-1:Z(t).length;r=(""+r).toLowerCase(),i=!0}}s.byteLength=wr;function ce(t,r,e){var n=!1;if((r===void 0||r<0)&&(r=0),r>this.length||((e===void 0||e>this.length)&&(e=this.length),e<=0)||(e>>>=0,r>>>=0,e<=r))return"";for(t||(t="utf8");;)switch(t){case"hex":return we(this,r,e);case"utf8":case"utf-8":return br(this,r,e);case"ascii":return xe(this,r,e);case"latin1":case"binary":return Te(this,r,e);case"base64":return me(this,r,e);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return ve(this,r,e);default:if(n)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),n=!0}}s.prototype._isBuffer=!0;function E(t,r,e){var n=t[r];t[r]=t[e],t[e]=n}s.prototype.swap16=function(){var r=this.length;if(r%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var e=0;e<r;e+=2)E(this,e,e+1);return this};s.prototype.swap32=function(){var r=this.length;if(r%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var e=0;e<r;e+=4)E(this,e,e+3),E(this,e+1,e+2);return this};s.prototype.swap64=function(){var r=this.length;if(r%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var e=0;e<r;e+=8)E(this,e,e+7),E(this,e+1,e+6),E(this,e+2,e+5),E(this,e+3,e+4);return this};s.prototype.toString=function(){var r=this.length;return r===0?"":arguments.length===0?br(this,0,r):ce.apply(this,arguments)};s.prototype.toLocaleString=s.prototype.toString;s.prototype.equals=function(r){if(!s.isBuffer(r))throw new TypeError("Argument must be a Buffer");return this===r?!0:s.compare(this,r)===0};s.prototype.inspect=function(){var r="",e=P.INSPECT_MAX_BYTES;return r=this.toString("hex",0,e).replace(/(.{2})/g,"$1 ").trim(),this.length>e&&(r+=" ... "),"<Buffer "+r+">"};hr&&(s.prototype[hr]=s.prototype.inspect);s.prototype.compare=function(r,e,n,i,o){if(k(r,Uint8Array)&&(r=s.from(r,r.offset,r.byteLength)),!s.isBuffer(r))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof r);if(e===void 0&&(e=0),n===void 0&&(n=r?r.length:0),i===void 0&&(i=0),o===void 0&&(o=this.length),e<0||n>r.length||i<0||o>this.length)throw new RangeError("out of range index");if(i>=o&&e>=n)return 0;if(i>=o)return-1;if(e>=n)return 1;if(e>>>=0,n>>>=0,i>>>=0,o>>>=0,this===r)return 0;for(var a=o-i,p=n-e,c=Math.min(a,p),d=this.slice(i,o),g=r.slice(e,n),l=0;l<c;++l)if(d[l]!==g[l]){a=d[l],p=g[l];break}return a<p?-1:p<a?1:0};function vr(t,r,e,n,i){if(t.length===0)return-1;if(typeof e=="string"?(n=e,e=0):e>2147483647?e=2147483647:e<-2147483648&&(e=-2147483648),e=+e,tr(e)&&(e=i?0:t.length-1),e<0&&(e=t.length+e),e>=t.length){if(i)return-1;e=t.length-1}else if(e<0)if(i)e=0;else return-1;if(typeof r=="string"&&(r=s.from(r,n)),s.isBuffer(r))return r.length===0?-1:mr(t,r,e,n,i);if(typeof r=="number")return r=r&255,typeof Uint8Array.prototype.indexOf=="function"?i?Uint8Array.prototype.indexOf.call(t,r,e):Uint8Array.prototype.lastIndexOf.call(t,r,e):mr(t,[r],e,n,i);throw new TypeError("val must be string, number or Buffer")}function mr(t,r,e,n,i){var o=1,a=t.length,p=r.length;if(n!==void 0&&(n=String(n).toLowerCase(),n==="ucs2"||n==="ucs-2"||n==="utf16le"||n==="utf-16le")){if(t.length<2||r.length<2)return-1;o=2,a/=2,p/=2,e/=2}function c(w,_){return o===1?w[_]:w.readUInt16BE(_*o)}var d;if(i){var g=-1;for(d=e;d<a;d++)if(c(t,d)===c(r,g===-1?0:d-g)){if(g===-1&&(g=d),d-g+1===p)return g*o}else g!==-1&&(d-=d-g),g=-1}else for(e+p>a&&(e=a-p),d=e;d>=0;d--){for(var l=!0,b=0;b<p;b++)if(c(t,d+b)!==c(r,b)){l=!1;break}if(l)return d}return-1}s.prototype.includes=function(r,e,n){return this.indexOf(r,e,n)!==-1};s.prototype.indexOf=function(r,e,n){return vr(this,r,e,n,!0)};s.prototype.lastIndexOf=function(r,e,n){return vr(this,r,e,n,!1)};function le(t,r,e,n){e=Number(e)||0;var i=t.length-e;n?(n=Number(n),n>i&&(n=i)):n=i;var o=r.length;n>o/2&&(n=o/2);for(var a=0;a<n;++a){var p=parseInt(r.substr(a*2,2),16);if(tr(p))return a;t[e+a]=p}return a}function fe(t,r,e,n){return O(Z(r,t.length-e),t,e,n)}function de(t,r,e,n){return O(ke(r),t,e,n)}function ge(t,r,e,n){return O(Ir(r),t,e,n)}function he(t,r,e,n){return O(Se(r,t.length-e),t,e,n)}s.prototype.write=function(r,e,n,i){if(e===void 0)i="utf8",n=this.length,e=0;else if(n===void 0&&typeof e=="string")i=e,n=this.length,e=0;else if(isFinite(e))e=e>>>0,isFinite(n)?(n=n>>>0,i===void 0&&(i="utf8")):(i=n,n=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var o=this.length-e;if((n===void 0||n>o)&&(n=o),r.length>0&&(n<0||e<0)||e>this.length)throw new RangeError("Attempt to write outside buffer bounds");i||(i="utf8");for(var a=!1;;)switch(i){case"hex":return le(this,r,e,n);case"utf8":case"utf-8":return fe(this,r,e,n);case"ascii":case"latin1":case"binary":return de(this,r,e,n);case"base64":return ge(this,r,e,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return he(this,r,e,n);default:if(a)throw new TypeError("Unknown encoding: "+i);i=(""+i).toLowerCase(),a=!0}};s.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function me(t,r,e){return r===0&&e===t.length?J.fromByteArray(t):J.fromByteArray(t.slice(r,e))}function br(t,r,e){e=Math.min(t.length,e);for(var n=[],i=r;i<e;){var o=t[i],a=null,p=o>239?4:o>223?3:o>191?2:1;if(i+p<=e){var c,d,g,l;switch(p){case 1:o<128&&(a=o);break;case 2:c=t[i+1],(c&192)===128&&(l=(o&31)<<6|c&63,l>127&&(a=l));break;case 3:c=t[i+1],d=t[i+2],(c&192)===128&&(d&192)===128&&(l=(o&15)<<12|(c&63)<<6|d&63,l>2047&&(l<55296||l>57343)&&(a=l));break;case 4:c=t[i+1],d=t[i+2],g=t[i+3],(c&192)===128&&(d&192)===128&&(g&192)===128&&(l=(o&15)<<18|(c&63)<<12|(d&63)<<6|g&63,l>65535&&l<1114112&&(a=l))}}a===null?(a=65533,p=1):a>65535&&(a-=65536,n.push(a>>>10&1023|55296),a=56320|a&1023),n.push(a),i+=p}return ye(n)}var yr=4096;function ye(t){var r=t.length;if(r<=yr)return String.fromCharCode.apply(String,t);for(var e="",n=0;n<r;)e+=String.fromCharCode.apply(String,t.slice(n,n+=yr));return e}function xe(t,r,e){var n="";e=Math.min(t.length,e);for(var i=r;i<e;++i)n+=String.fromCharCode(t[i]&127);return n}function Te(t,r,e){var n="";e=Math.min(t.length,e);for(var i=r;i<e;++i)n+=String.fromCharCode(t[i]);return n}function we(t,r,e){var n=t.length;(!r||r<0)&&(r=0),(!e||e<0||e>n)&&(e=n);for(var i="",o=r;o<e;++o)i+=Ie[t[o]];return i}function ve(t,r,e){for(var n=t.slice(r,e),i="",o=0;o<n.length-1;o+=2)i+=String.fromCharCode(n[o]+n[o+1]*256);return i}s.prototype.slice=function(r,e){var n=this.length;r=~~r,e=e===void 0?n:~~e,r<0?(r+=n,r<0&&(r=0)):r>n&&(r=n),e<0?(e+=n,e<0&&(e=0)):e>n&&(e=n),e<r&&(e=r);var i=this.subarray(r,e);return Object.setPrototypeOf(i,s.prototype),i};function x(t,r,e){if(t%1!==0||t<0)throw new RangeError("offset is not uint");if(t+r>e)throw new RangeError("Trying to access beyond buffer length")}s.prototype.readUintLE=s.prototype.readUIntLE=function(r,e,n){r=r>>>0,e=e>>>0,n||x(r,e,this.length);for(var i=this[r],o=1,a=0;++a<e&&(o*=256);)i+=this[r+a]*o;return i};s.prototype.readUintBE=s.prototype.readUIntBE=function(r,e,n){r=r>>>0,e=e>>>0,n||x(r,e,this.length);for(var i=this[r+--e],o=1;e>0&&(o*=256);)i+=this[r+--e]*o;return i};s.prototype.readUint8=s.prototype.readUInt8=function(r,e){return r=r>>>0,e||x(r,1,this.length),this[r]};s.prototype.readUint16LE=s.prototype.readUInt16LE=function(r,e){return r=r>>>0,e||x(r,2,this.length),this[r]|this[r+1]<<8};s.prototype.readUint16BE=s.prototype.readUInt16BE=function(r,e){return r=r>>>0,e||x(r,2,this.length),this[r]<<8|this[r+1]};s.prototype.readUint32LE=s.prototype.readUInt32LE=function(r,e){return r=r>>>0,e||x(r,4,this.length),(this[r]|this[r+1]<<8|this[r+2]<<16)+this[r+3]*16777216};s.prototype.readUint32BE=s.prototype.readUInt32BE=function(r,e){return r=r>>>0,e||x(r,4,this.length),this[r]*16777216+(this[r+1]<<16|this[r+2]<<8|this[r+3])};s.prototype.readIntLE=function(r,e,n){r=r>>>0,e=e>>>0,n||x(r,e,this.length);for(var i=this[r],o=1,a=0;++a<e&&(o*=256);)i+=this[r+a]*o;return o*=128,i>=o&&(i-=Math.pow(2,8*e)),i};s.prototype.readIntBE=function(r,e,n){r=r>>>0,e=e>>>0,n||x(r,e,this.length);for(var i=e,o=1,a=this[r+--i];i>0&&(o*=256);)a+=this[r+--i]*o;return o*=128,a>=o&&(a-=Math.pow(2,8*e)),a};s.prototype.readInt8=function(r,e){return r=r>>>0,e||x(r,1,this.length),this[r]&128?(255-this[r]+1)*-1:this[r]};s.prototype.readInt16LE=function(r,e){r=r>>>0,e||x(r,2,this.length);var n=this[r]|this[r+1]<<8;return n&32768?n|4294901760:n};s.prototype.readInt16BE=function(r,e){r=r>>>0,e||x(r,2,this.length);var n=this[r+1]|this[r]<<8;return n&32768?n|4294901760:n};s.prototype.readInt32LE=function(r,e){return r=r>>>0,e||x(r,4,this.length),this[r]|this[r+1]<<8|this[r+2]<<16|this[r+3]<<24};s.prototype.readInt32BE=function(r,e){return r=r>>>0,e||x(r,4,this.length),this[r]<<24|this[r+1]<<16|this[r+2]<<8|this[r+3]};s.prototype.readFloatLE=function(r,e){return r=r>>>0,e||x(r,4,this.length),L.read(this,r,!0,23,4)};s.prototype.readFloatBE=function(r,e){return r=r>>>0,e||x(r,4,this.length),L.read(this,r,!1,23,4)};s.prototype.readDoubleLE=function(r,e){return r=r>>>0,e||x(r,8,this.length),L.read(this,r,!0,52,8)};s.prototype.readDoubleBE=function(r,e){return r=r>>>0,e||x(r,8,this.length),L.read(this,r,!1,52,8)};function T(t,r,e,n,i,o){if(!s.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(r>i||r<o)throw new RangeError('"value" argument is out of bounds');if(e+n>t.length)throw new RangeError("Index out of range")}s.prototype.writeUintLE=s.prototype.writeUIntLE=function(r,e,n,i){if(r=+r,e=e>>>0,n=n>>>0,!i){var o=Math.pow(2,8*n)-1;T(this,r,e,n,o,0)}var a=1,p=0;for(this[e]=r&255;++p<n&&(a*=256);)this[e+p]=r/a&255;return e+n};s.prototype.writeUintBE=s.prototype.writeUIntBE=function(r,e,n,i){if(r=+r,e=e>>>0,n=n>>>0,!i){var o=Math.pow(2,8*n)-1;T(this,r,e,n,o,0)}var a=n-1,p=1;for(this[e+a]=r&255;--a>=0&&(p*=256);)this[e+a]=r/p&255;return e+n};s.prototype.writeUint8=s.prototype.writeUInt8=function(r,e,n){return r=+r,e=e>>>0,n||T(this,r,e,1,255,0),this[e]=r&255,e+1};s.prototype.writeUint16LE=s.prototype.writeUInt16LE=function(r,e,n){return r=+r,e=e>>>0,n||T(this,r,e,2,65535,0),this[e]=r&255,this[e+1]=r>>>8,e+2};s.prototype.writeUint16BE=s.prototype.writeUInt16BE=function(r,e,n){return r=+r,e=e>>>0,n||T(this,r,e,2,65535,0),this[e]=r>>>8,this[e+1]=r&255,e+2};s.prototype.writeUint32LE=s.prototype.writeUInt32LE=function(r,e,n){return r=+r,e=e>>>0,n||T(this,r,e,4,4294967295,0),this[e+3]=r>>>24,this[e+2]=r>>>16,this[e+1]=r>>>8,this[e]=r&255,e+4};s.prototype.writeUint32BE=s.prototype.writeUInt32BE=function(r,e,n){return r=+r,e=e>>>0,n||T(this,r,e,4,4294967295,0),this[e]=r>>>24,this[e+1]=r>>>16,this[e+2]=r>>>8,this[e+3]=r&255,e+4};s.prototype.writeIntLE=function(r,e,n,i){if(r=+r,e=e>>>0,!i){var o=Math.pow(2,8*n-1);T(this,r,e,n,o-1,-o)}var a=0,p=1,c=0;for(this[e]=r&255;++a<n&&(p*=256);)r<0&&c===0&&this[e+a-1]!==0&&(c=1),this[e+a]=(r/p>>0)-c&255;return e+n};s.prototype.writeIntBE=function(r,e,n,i){if(r=+r,e=e>>>0,!i){var o=Math.pow(2,8*n-1);T(this,r,e,n,o-1,-o)}var a=n-1,p=1,c=0;for(this[e+a]=r&255;--a>=0&&(p*=256);)r<0&&c===0&&this[e+a+1]!==0&&(c=1),this[e+a]=(r/p>>0)-c&255;return e+n};s.prototype.writeInt8=function(r,e,n){return r=+r,e=e>>>0,n||T(this,r,e,1,127,-128),r<0&&(r=255+r+1),this[e]=r&255,e+1};s.prototype.writeInt16LE=function(r,e,n){return r=+r,e=e>>>0,n||T(this,r,e,2,32767,-32768),this[e]=r&255,this[e+1]=r>>>8,e+2};s.prototype.writeInt16BE=function(r,e,n){return r=+r,e=e>>>0,n||T(this,r,e,2,32767,-32768),this[e]=r>>>8,this[e+1]=r&255,e+2};s.prototype.writeInt32LE=function(r,e,n){return r=+r,e=e>>>0,n||T(this,r,e,4,2147483647,-2147483648),this[e]=r&255,this[e+1]=r>>>8,this[e+2]=r>>>16,this[e+3]=r>>>24,e+4};s.prototype.writeInt32BE=function(r,e,n){return r=+r,e=e>>>0,n||T(this,r,e,4,2147483647,-2147483648),r<0&&(r=4294967295+r+1),this[e]=r>>>24,this[e+1]=r>>>16,this[e+2]=r>>>8,this[e+3]=r&255,e+4};function Fr(t,r,e,n,i,o){if(e+n>t.length)throw new RangeError("Index out of range");if(e<0)throw new RangeError("Index out of range")}function kr(t,r,e,n,i){return r=+r,e=e>>>0,i||Fr(t,r,e,4,34028234663852886e22,-34028234663852886e22),L.write(t,r,e,n,23,4),e+4}s.prototype.writeFloatLE=function(r,e,n){return kr(this,r,e,!0,n)};s.prototype.writeFloatBE=function(r,e,n){return kr(this,r,e,!1,n)};function Sr(t,r,e,n,i){return r=+r,e=e>>>0,i||Fr(t,r,e,8,17976931348623157e292,-17976931348623157e292),L.write(t,r,e,n,52,8),e+8}s.prototype.writeDoubleLE=function(r,e,n){return Sr(this,r,e,!0,n)};s.prototype.writeDoubleBE=function(r,e,n){return Sr(this,r,e,!1,n)};s.prototype.copy=function(r,e,n,i){if(!s.isBuffer(r))throw new TypeError("argument should be a Buffer");if(n||(n=0),!i&&i!==0&&(i=this.length),e>=r.length&&(e=r.length),e||(e=0),i>0&&i<n&&(i=n),i===n||r.length===0||this.length===0)return 0;if(e<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw new RangeError("Index out of range");if(i<0)throw new RangeError("sourceEnd out of bounds");i>this.length&&(i=this.length),r.length-e<i-n&&(i=r.length-e+n);var o=i-n;return this===r&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(e,n,i):Uint8Array.prototype.set.call(r,this.subarray(n,i),e),o};s.prototype.fill=function(r,e,n,i){if(typeof r=="string"){if(typeof e=="string"?(i=e,e=0,n=this.length):typeof n=="string"&&(i=n,n=this.length),i!==void 0&&typeof i!="string")throw new TypeError("encoding must be a string");if(typeof i=="string"&&!s.isEncoding(i))throw new TypeError("Unknown encoding: "+i);if(r.length===1){var o=r.charCodeAt(0);(i==="utf8"&&o<128||i==="latin1")&&(r=o)}}else typeof r=="number"?r=r&255:typeof r=="boolean"&&(r=Number(r));if(e<0||this.length<e||this.length<n)throw new RangeError("Out of range index");if(n<=e)return this;e=e>>>0,n=n===void 0?this.length:n>>>0,r||(r=0);var a;if(typeof r=="number")for(a=e;a<n;++a)this[a]=r;else{var p=s.isBuffer(r)?r:s.from(r,i),c=p.length;if(c===0)throw new TypeError('The value "'+r+'" is invalid for argument "value"');for(a=0;a<n-e;++a)this[a+e]=p[a%c]}return this};var be=/[^+/0-9A-Za-z-_]/g;function Fe(t){if(t=t.split("=")[0],t=t.trim().replace(be,""),t.length<2)return"";for(;t.length%4!==0;)t=t+"=";return t}function Z(t,r){r=r||1/0;for(var e,n=t.length,i=null,o=[],a=0;a<n;++a){if(e=t.charCodeAt(a),e>55295&&e<57344){if(!i){if(e>56319){(r-=3)>-1&&o.push(239,191,189);continue}else if(a+1===n){(r-=3)>-1&&o.push(239,191,189);continue}i=e;continue}if(e<56320){(r-=3)>-1&&o.push(239,191,189),i=e;continue}e=(i-55296<<10|e-56320)+65536}else i&&(r-=3)>-1&&o.push(239,191,189);if(i=null,e<128){if((r-=1)<0)break;o.push(e)}else if(e<2048){if((r-=2)<0)break;o.push(e>>6|192,e&63|128)}else if(e<65536){if((r-=3)<0)break;o.push(e>>12|224,e>>6&63|128,e&63|128)}else if(e<1114112){if((r-=4)<0)break;o.push(e>>18|240,e>>12&63|128,e>>6&63|128,e&63|128)}else throw new Error("Invalid code point")}return o}function ke(t){for(var r=[],e=0;e<t.length;++e)r.push(t.charCodeAt(e)&255);return r}function Se(t,r){for(var e,n,i,o=[],a=0;a<t.length&&!((r-=2)<0);++a)e=t.charCodeAt(a),n=e>>8,i=e%256,o.push(i),o.push(n);return o}function Ir(t){return J.toByteArray(Fe(t))}function O(t,r,e,n){for(var i=0;i<n&&!(i+e>=r.length||i>=t.length);++i)r[i+e]=t[i];return i}function k(t,r){return t instanceof r||t!=null&&t.constructor!=null&&t.constructor.name!=null&&t.constructor.name===r.name}function tr(t){return t!==t}var Ie=function(){for(var t="0123456789abcdef",r=new Array(256),e=0;e<16;++e)for(var n=e*16,i=0;i<16;++i)r[n+i]=t[e]+t[i];return r}()});var Er=G((Me,Cr)=>{u();var y=Cr.exports={},S,I;function nr(){throw new Error("setTimeout has not been defined")}function ir(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?S=setTimeout:S=nr}catch(t){S=nr}try{typeof clearTimeout=="function"?I=clearTimeout:I=ir}catch(t){I=ir}})();function Ar(t){if(S===setTimeout)return setTimeout(t,0);if((S===nr||!S)&&setTimeout)return S=setTimeout,setTimeout(t,0);try{return S(t,0)}catch(r){try{return S.call(null,t,0)}catch(e){return S.call(this,t,0)}}}function Be(t){if(I===clearTimeout)return clearTimeout(t);if((I===ir||!I)&&clearTimeout)return I=clearTimeout,clearTimeout(t);try{return I(t)}catch(r){try{return I.call(null,t)}catch(e){return I.call(this,t)}}}var A=[],N=!1,U,Y=-1;function Ae(){!N||!U||(N=!1,U.length?A=U.concat(A):Y=-1,A.length&&Rr())}function Rr(){if(!N){var t=Ar(Ae);N=!0;for(var r=A.length;r;){for(U=A,A=[];++Y<r;)U&&U[Y].run();Y=-1,r=A.length}U=null,N=!1,Be(t)}}y.nextTick=function(t){var r=new Array(arguments.length-1);if(arguments.length>1)for(var e=1;e<arguments.length;e++)r[e-1]=arguments[e];A.push(new Dr(t,r)),A.length===1&&!N&&Ar(Rr)};function Dr(t,r){this.fun=t,this.array=r}Dr.prototype.run=function(){this.fun.apply(null,this.array)};y.title="browser";y.browser=!0;y.env={};y.argv=[];y.version="";y.versions={};function R(){}y.on=R;y.addListener=R;y.once=R;y.off=R;y.removeListener=R;y.removeAllListeners=R;y.emit=R;y.prependListener=R;y.prependOnceListener=R;y.listeners=function(t){return[]};y.binding=function(t){throw new Error("process.binding is not supported")};y.cwd=function(){return"/"};y.chdir=function(t){throw new Error("process.chdir is not supported")};y.umask=function(){return 0}});var f,h,He,u=$r(()=>{f=X(Br()),h=X(Er()),He=function(t){function r(){var n=this||self;return delete t.prototype.__magic__,n}if(typeof globalThis=="object")return globalThis;if(this)return r();t.defineProperty(t.prototype,"__magic__",{configurable:!0,get:r});var e=__magic__;return e}(Object)});var _e={};jr(_e,{decodeForDisplay:()=>Ue});module.exports=Jr(_e);u();u();u();u();u();var Nr=require("@multiversx/sdk-core/out"),ar=X(require("bignumber.js"));u();var Ur=require("@multiversx/sdk-core");function Re(t){try{let r=new Ur.Address(t);return Boolean(r.bech32())}catch(r){return!1}}function _r(t){return(t==null?void 0:t.startsWith("erd"))&&t.length===62&&/^\w+$/.test(t)&&Re(t)}u();u();u();u();function or(t){for(let r=0;r<t.length;r++)if(t.charCodeAt(r)>127)return!1;return!0}u();u();var Lr=t=>/\d/.test(t);var D=(t,r,e)=>{try{switch(r){case"text":return Lr(t)?f.Buffer.from(t,"hex").toString("utf8"):t;case"decimal":return new ar.default(t,16).toString(10);case"smart":let i=Nr.Address.fromHex(t).toString();if(_r(i))return i;let o=f.Buffer.from(t,"hex").toString("utf8");return or(o)||e&&[...e.esdts,...e.nfts].some(c=>o.includes(c))?o:new ar.default(t,16).toString(10);case"raw":default:return t}}catch(n){return console.error(`Error during data decoding of "${t}" as "${r}"`,n),t}};u();u();u();u();u();u();u();var De=require("@multiversx/sdk-dapp-utils/out/constants/browserConstants"),W=require("@multiversx/sdk-dapp-utils/out/enums/windowProviderEnums");var Wr=(e=>(e.signTransactionsWithGuardianResponse="SIGN_TRANSACTIONS_WITH_GUARDIAN_RESPONSE",e.reloginRequest="RELOGIN_REQUEST",e))(Wr||{}),ct=H(H({},W.WindowProviderRequestEnums),Wr),Mr=(r=>(r.reloginResponse="RELOGIN_RESPONSE",r))(Mr||{}),lt=H(H({},W.WindowProviderResponseEnums),Mr);u();u();u();u();u();u();var Ce=t=>t.toLowerCase().match(/[0-9a-f]/g),Ee=t=>t.length%2===0,Hr=t=>{let r=[];return t&&!Ce(t)&&r.push(`Invalid Hex characters on argument @${t}`),t&&!Ee(t)&&r.push(`Odd number of Hex characters on argument @${t}`),r};u();var z=({parts:t,decodedParts:r,identifier:e})=>{let n=[...r];if(t[0]==="ESDTNFTTransfer"&&t[2]&&(n[2]=D(t[2],"decimal")),e==="ESDTNFTTransfer"&&t[1]){let i=f.Buffer.from(String(t[1]),"base64");n[1]=D(i.toString("hex"),"decimal")}return n};var Gr=({parts:t,decodeMethod:r,identifier:e,display:n})=>{let i=t.map((o,a)=>{if(t.length>=2&&(a===0&&o.length<64||a===1&&!t[0]))return/[^a-z0-9]/gi.test(o)?D(o,r):o;{let p=Hr(o);return p.length&&(n.validationWarnings=Array.from(new Set([...n.validationWarnings,...p]))),D(o,r)}});return r==="smart"?z({parts:t,decodedParts:i,identifier:e}):i};var Ue=({input:t,decodeMethod:r,identifier:e})=>{let n={displayValue:"",validationWarnings:[]};if(t.includes("@")){let i=t.split("@"),o=Gr({parts:i,identifier:e,decodeMethod:r,display:n});return n.displayValue=o.join("@"),n}if(t.includes(`
1
+ "use strict";var qr=Object.create;var M=Object.defineProperty;var Or=Object.getOwnPropertyDescriptor;var Yr=Object.getOwnPropertyNames,sr=Object.getOwnPropertySymbols,zr=Object.getPrototypeOf,pr=Object.prototype.hasOwnProperty,Xr=Object.prototype.propertyIsEnumerable;var ur=(t,r,e)=>r in t?M(t,r,{enumerable:!0,configurable:!0,writable:!0,value:e}):t[r]=e,H=(t,r)=>{for(var e in r||(r={}))pr.call(r,e)&&ur(t,e,r[e]);if(sr)for(var e of sr(r))Xr.call(r,e)&&ur(t,e,r[e]);return t};var $r=(t,r)=>()=>(t&&(r=t(t=0)),r);var G=(t,r)=>()=>(r||t((r={exports:{}}).exports,r),r.exports),jr=(t,r)=>{for(var e in r)M(t,e,{get:r[e],enumerable:!0})},cr=(t,r,e,n)=>{if(r&&typeof r=="object"||typeof r=="function")for(let i of Yr(r))!pr.call(t,i)&&i!==e&&M(t,i,{get:()=>r[i],enumerable:!(n=Or(r,i))||n.enumerable});return t};var X=(t,r,e)=>(e=t!=null?qr(zr(t)):{},cr(r||!t||!t.__esModule?M(e,"default",{value:t,enumerable:!0}):e,t)),Jr=t=>cr(M({},"__esModule",{value:!0}),t);var dr=G(V=>{"use strict";u();V.byteLength=Qr;V.toByteArray=re;V.fromByteArray=ne;var F=[],v=[],Kr=typeof Uint8Array!="undefined"?Uint8Array:Array,$="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(C=0,lr=$.length;C<lr;++C)F[C]=$[C],v[$.charCodeAt(C)]=C;var C,lr;v["-".charCodeAt(0)]=62;v["_".charCodeAt(0)]=63;function fr(t){var r=t.length;if(r%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var e=t.indexOf("=");e===-1&&(e=r);var n=e===r?0:4-e%4;return[e,n]}function Qr(t){var r=fr(t),e=r[0],n=r[1];return(e+n)*3/4-n}function Zr(t,r,e){return(r+e)*3/4-e}function re(t){var r,e=fr(t),n=e[0],i=e[1],o=new Kr(Zr(t,n,i)),a=0,p=i>0?n-4:n,c;for(c=0;c<p;c+=4)r=v[t.charCodeAt(c)]<<18|v[t.charCodeAt(c+1)]<<12|v[t.charCodeAt(c+2)]<<6|v[t.charCodeAt(c+3)],o[a++]=r>>16&255,o[a++]=r>>8&255,o[a++]=r&255;return i===2&&(r=v[t.charCodeAt(c)]<<2|v[t.charCodeAt(c+1)]>>4,o[a++]=r&255),i===1&&(r=v[t.charCodeAt(c)]<<10|v[t.charCodeAt(c+1)]<<4|v[t.charCodeAt(c+2)]>>2,o[a++]=r>>8&255,o[a++]=r&255),o}function ee(t){return F[t>>18&63]+F[t>>12&63]+F[t>>6&63]+F[t&63]}function te(t,r,e){for(var n,i=[],o=r;o<e;o+=3)n=(t[o]<<16&16711680)+(t[o+1]<<8&65280)+(t[o+2]&255),i.push(ee(n));return i.join("")}function ne(t){for(var r,e=t.length,n=e%3,i=[],o=16383,a=0,p=e-n;a<p;a+=o)i.push(te(t,a,a+o>p?p:a+o));return n===1?(r=t[e-1],i.push(F[r>>2]+F[r<<4&63]+"==")):n===2&&(r=(t[e-2]<<8)+t[e-1],i.push(F[r>>10]+F[r>>4&63]+F[r<<2&63]+"=")),i.join("")}});var gr=G(j=>{u();j.read=function(t,r,e,n,i){var o,a,p=i*8-n-1,c=(1<<p)-1,d=c>>1,g=-7,l=e?i-1:0,b=e?-1:1,w=t[r+l];for(l+=b,o=w&(1<<-g)-1,w>>=-g,g+=p;g>0;o=o*256+t[r+l],l+=b,g-=8);for(a=o&(1<<-g)-1,o>>=-g,g+=n;g>0;a=a*256+t[r+l],l+=b,g-=8);if(o===0)o=1-d;else{if(o===c)return a?NaN:(w?-1:1)*(1/0);a=a+Math.pow(2,n),o=o-d}return(w?-1:1)*a*Math.pow(2,o-n)};j.write=function(t,r,e,n,i,o){var a,p,c,d=o*8-i-1,g=(1<<d)-1,l=g>>1,b=i===23?Math.pow(2,-24)-Math.pow(2,-77):0,w=n?0:o-1,_=n?1:-1,Vr=r<0||r===0&&1/r<0?1:0;for(r=Math.abs(r),isNaN(r)||r===1/0?(p=isNaN(r)?1:0,a=g):(a=Math.floor(Math.log(r)/Math.LN2),r*(c=Math.pow(2,-a))<1&&(a--,c*=2),a+l>=1?r+=b/c:r+=b*Math.pow(2,1-l),r*c>=2&&(a++,c/=2),a+l>=g?(p=0,a=g):a+l>=1?(p=(r*c-1)*Math.pow(2,i),a=a+l):(p=r*Math.pow(2,l-1)*Math.pow(2,i),a=0));i>=8;t[e+w]=p&255,w+=_,p/=256,i-=8);for(a=a<<i|p,d+=i;d>0;t[e+w]=a&255,w+=_,a/=256,d-=8);t[e+w-_]|=Vr*128}});var Br=G(P=>{"use strict";u();var J=dr(),L=gr(),hr=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;P.Buffer=s;P.SlowBuffer=pe;P.INSPECT_MAX_BYTES=50;var q=2147483647;P.kMaxLength=q;s.TYPED_ARRAY_SUPPORT=ie();!s.TYPED_ARRAY_SUPPORT&&typeof console!="undefined"&&typeof console.error=="function"&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function ie(){try{var t=new Uint8Array(1),r={foo:function(){return 42}};return Object.setPrototypeOf(r,Uint8Array.prototype),Object.setPrototypeOf(t,r),t.foo()===42}catch(e){return!1}}Object.defineProperty(s.prototype,"parent",{enumerable:!0,get:function(){if(!!s.isBuffer(this))return this.buffer}});Object.defineProperty(s.prototype,"offset",{enumerable:!0,get:function(){if(!!s.isBuffer(this))return this.byteOffset}});function B(t){if(t>q)throw new RangeError('The value "'+t+'" is invalid for option "size"');var r=new Uint8Array(t);return Object.setPrototypeOf(r,s.prototype),r}function s(t,r,e){if(typeof t=="number"){if(typeof r=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return rr(t)}return xr(t,r,e)}s.poolSize=8192;function xr(t,r,e){if(typeof t=="string")return ae(t,r);if(ArrayBuffer.isView(t))return se(t);if(t==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t);if(k(t,ArrayBuffer)||t&&k(t.buffer,ArrayBuffer)||typeof SharedArrayBuffer!="undefined"&&(k(t,SharedArrayBuffer)||t&&k(t.buffer,SharedArrayBuffer)))return Q(t,r,e);if(typeof t=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var n=t.valueOf&&t.valueOf();if(n!=null&&n!==t)return s.from(n,r,e);var i=ue(t);if(i)return i;if(typeof Symbol!="undefined"&&Symbol.toPrimitive!=null&&typeof t[Symbol.toPrimitive]=="function")return s.from(t[Symbol.toPrimitive]("string"),r,e);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t)}s.from=function(t,r,e){return xr(t,r,e)};Object.setPrototypeOf(s.prototype,Uint8Array.prototype);Object.setPrototypeOf(s,Uint8Array);function Tr(t){if(typeof t!="number")throw new TypeError('"size" argument must be of type number');if(t<0)throw new RangeError('The value "'+t+'" is invalid for option "size"')}function oe(t,r,e){return Tr(t),t<=0?B(t):r!==void 0?typeof e=="string"?B(t).fill(r,e):B(t).fill(r):B(t)}s.alloc=function(t,r,e){return oe(t,r,e)};function rr(t){return Tr(t),B(t<0?0:er(t)|0)}s.allocUnsafe=function(t){return rr(t)};s.allocUnsafeSlow=function(t){return rr(t)};function ae(t,r){if((typeof r!="string"||r==="")&&(r="utf8"),!s.isEncoding(r))throw new TypeError("Unknown encoding: "+r);var e=wr(t,r)|0,n=B(e),i=n.write(t,r);return i!==e&&(n=n.slice(0,i)),n}function K(t){for(var r=t.length<0?0:er(t.length)|0,e=B(r),n=0;n<r;n+=1)e[n]=t[n]&255;return e}function se(t){if(k(t,Uint8Array)){var r=new Uint8Array(t);return Q(r.buffer,r.byteOffset,r.byteLength)}return K(t)}function Q(t,r,e){if(r<0||t.byteLength<r)throw new RangeError('"offset" is outside of buffer bounds');if(t.byteLength<r+(e||0))throw new RangeError('"length" is outside of buffer bounds');var n;return r===void 0&&e===void 0?n=new Uint8Array(t):e===void 0?n=new Uint8Array(t,r):n=new Uint8Array(t,r,e),Object.setPrototypeOf(n,s.prototype),n}function ue(t){if(s.isBuffer(t)){var r=er(t.length)|0,e=B(r);return e.length===0||t.copy(e,0,0,r),e}if(t.length!==void 0)return typeof t.length!="number"||tr(t.length)?B(0):K(t);if(t.type==="Buffer"&&Array.isArray(t.data))return K(t.data)}function er(t){if(t>=q)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+q.toString(16)+" bytes");return t|0}function pe(t){return+t!=t&&(t=0),s.alloc(+t)}s.isBuffer=function(r){return r!=null&&r._isBuffer===!0&&r!==s.prototype};s.compare=function(r,e){if(k(r,Uint8Array)&&(r=s.from(r,r.offset,r.byteLength)),k(e,Uint8Array)&&(e=s.from(e,e.offset,e.byteLength)),!s.isBuffer(r)||!s.isBuffer(e))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(r===e)return 0;for(var n=r.length,i=e.length,o=0,a=Math.min(n,i);o<a;++o)if(r[o]!==e[o]){n=r[o],i=e[o];break}return n<i?-1:i<n?1:0};s.isEncoding=function(r){switch(String(r).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}};s.concat=function(r,e){if(!Array.isArray(r))throw new TypeError('"list" argument must be an Array of Buffers');if(r.length===0)return s.alloc(0);var n;if(e===void 0)for(e=0,n=0;n<r.length;++n)e+=r[n].length;var i=s.allocUnsafe(e),o=0;for(n=0;n<r.length;++n){var a=r[n];if(k(a,Uint8Array))o+a.length>i.length?s.from(a).copy(i,o):Uint8Array.prototype.set.call(i,a,o);else if(s.isBuffer(a))a.copy(i,o);else throw new TypeError('"list" argument must be an Array of Buffers');o+=a.length}return i};function wr(t,r){if(s.isBuffer(t))return t.length;if(ArrayBuffer.isView(t)||k(t,ArrayBuffer))return t.byteLength;if(typeof t!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof t);var e=t.length,n=arguments.length>2&&arguments[2]===!0;if(!n&&e===0)return 0;for(var i=!1;;)switch(r){case"ascii":case"latin1":case"binary":return e;case"utf8":case"utf-8":return Z(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return e*2;case"hex":return e>>>1;case"base64":return Ir(t).length;default:if(i)return n?-1:Z(t).length;r=(""+r).toLowerCase(),i=!0}}s.byteLength=wr;function ce(t,r,e){var n=!1;if((r===void 0||r<0)&&(r=0),r>this.length||((e===void 0||e>this.length)&&(e=this.length),e<=0)||(e>>>=0,r>>>=0,e<=r))return"";for(t||(t="utf8");;)switch(t){case"hex":return we(this,r,e);case"utf8":case"utf-8":return br(this,r,e);case"ascii":return xe(this,r,e);case"latin1":case"binary":return Te(this,r,e);case"base64":return me(this,r,e);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return ve(this,r,e);default:if(n)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),n=!0}}s.prototype._isBuffer=!0;function E(t,r,e){var n=t[r];t[r]=t[e],t[e]=n}s.prototype.swap16=function(){var r=this.length;if(r%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var e=0;e<r;e+=2)E(this,e,e+1);return this};s.prototype.swap32=function(){var r=this.length;if(r%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var e=0;e<r;e+=4)E(this,e,e+3),E(this,e+1,e+2);return this};s.prototype.swap64=function(){var r=this.length;if(r%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var e=0;e<r;e+=8)E(this,e,e+7),E(this,e+1,e+6),E(this,e+2,e+5),E(this,e+3,e+4);return this};s.prototype.toString=function(){var r=this.length;return r===0?"":arguments.length===0?br(this,0,r):ce.apply(this,arguments)};s.prototype.toLocaleString=s.prototype.toString;s.prototype.equals=function(r){if(!s.isBuffer(r))throw new TypeError("Argument must be a Buffer");return this===r?!0:s.compare(this,r)===0};s.prototype.inspect=function(){var r="",e=P.INSPECT_MAX_BYTES;return r=this.toString("hex",0,e).replace(/(.{2})/g,"$1 ").trim(),this.length>e&&(r+=" ... "),"<Buffer "+r+">"};hr&&(s.prototype[hr]=s.prototype.inspect);s.prototype.compare=function(r,e,n,i,o){if(k(r,Uint8Array)&&(r=s.from(r,r.offset,r.byteLength)),!s.isBuffer(r))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof r);if(e===void 0&&(e=0),n===void 0&&(n=r?r.length:0),i===void 0&&(i=0),o===void 0&&(o=this.length),e<0||n>r.length||i<0||o>this.length)throw new RangeError("out of range index");if(i>=o&&e>=n)return 0;if(i>=o)return-1;if(e>=n)return 1;if(e>>>=0,n>>>=0,i>>>=0,o>>>=0,this===r)return 0;for(var a=o-i,p=n-e,c=Math.min(a,p),d=this.slice(i,o),g=r.slice(e,n),l=0;l<c;++l)if(d[l]!==g[l]){a=d[l],p=g[l];break}return a<p?-1:p<a?1:0};function vr(t,r,e,n,i){if(t.length===0)return-1;if(typeof e=="string"?(n=e,e=0):e>2147483647?e=2147483647:e<-2147483648&&(e=-2147483648),e=+e,tr(e)&&(e=i?0:t.length-1),e<0&&(e=t.length+e),e>=t.length){if(i)return-1;e=t.length-1}else if(e<0)if(i)e=0;else return-1;if(typeof r=="string"&&(r=s.from(r,n)),s.isBuffer(r))return r.length===0?-1:mr(t,r,e,n,i);if(typeof r=="number")return r=r&255,typeof Uint8Array.prototype.indexOf=="function"?i?Uint8Array.prototype.indexOf.call(t,r,e):Uint8Array.prototype.lastIndexOf.call(t,r,e):mr(t,[r],e,n,i);throw new TypeError("val must be string, number or Buffer")}function mr(t,r,e,n,i){var o=1,a=t.length,p=r.length;if(n!==void 0&&(n=String(n).toLowerCase(),n==="ucs2"||n==="ucs-2"||n==="utf16le"||n==="utf-16le")){if(t.length<2||r.length<2)return-1;o=2,a/=2,p/=2,e/=2}function c(w,_){return o===1?w[_]:w.readUInt16BE(_*o)}var d;if(i){var g=-1;for(d=e;d<a;d++)if(c(t,d)===c(r,g===-1?0:d-g)){if(g===-1&&(g=d),d-g+1===p)return g*o}else g!==-1&&(d-=d-g),g=-1}else for(e+p>a&&(e=a-p),d=e;d>=0;d--){for(var l=!0,b=0;b<p;b++)if(c(t,d+b)!==c(r,b)){l=!1;break}if(l)return d}return-1}s.prototype.includes=function(r,e,n){return this.indexOf(r,e,n)!==-1};s.prototype.indexOf=function(r,e,n){return vr(this,r,e,n,!0)};s.prototype.lastIndexOf=function(r,e,n){return vr(this,r,e,n,!1)};function le(t,r,e,n){e=Number(e)||0;var i=t.length-e;n?(n=Number(n),n>i&&(n=i)):n=i;var o=r.length;n>o/2&&(n=o/2);for(var a=0;a<n;++a){var p=parseInt(r.substr(a*2,2),16);if(tr(p))return a;t[e+a]=p}return a}function fe(t,r,e,n){return O(Z(r,t.length-e),t,e,n)}function de(t,r,e,n){return O(ke(r),t,e,n)}function ge(t,r,e,n){return O(Ir(r),t,e,n)}function he(t,r,e,n){return O(Se(r,t.length-e),t,e,n)}s.prototype.write=function(r,e,n,i){if(e===void 0)i="utf8",n=this.length,e=0;else if(n===void 0&&typeof e=="string")i=e,n=this.length,e=0;else if(isFinite(e))e=e>>>0,isFinite(n)?(n=n>>>0,i===void 0&&(i="utf8")):(i=n,n=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var o=this.length-e;if((n===void 0||n>o)&&(n=o),r.length>0&&(n<0||e<0)||e>this.length)throw new RangeError("Attempt to write outside buffer bounds");i||(i="utf8");for(var a=!1;;)switch(i){case"hex":return le(this,r,e,n);case"utf8":case"utf-8":return fe(this,r,e,n);case"ascii":case"latin1":case"binary":return de(this,r,e,n);case"base64":return ge(this,r,e,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return he(this,r,e,n);default:if(a)throw new TypeError("Unknown encoding: "+i);i=(""+i).toLowerCase(),a=!0}};s.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function me(t,r,e){return r===0&&e===t.length?J.fromByteArray(t):J.fromByteArray(t.slice(r,e))}function br(t,r,e){e=Math.min(t.length,e);for(var n=[],i=r;i<e;){var o=t[i],a=null,p=o>239?4:o>223?3:o>191?2:1;if(i+p<=e){var c,d,g,l;switch(p){case 1:o<128&&(a=o);break;case 2:c=t[i+1],(c&192)===128&&(l=(o&31)<<6|c&63,l>127&&(a=l));break;case 3:c=t[i+1],d=t[i+2],(c&192)===128&&(d&192)===128&&(l=(o&15)<<12|(c&63)<<6|d&63,l>2047&&(l<55296||l>57343)&&(a=l));break;case 4:c=t[i+1],d=t[i+2],g=t[i+3],(c&192)===128&&(d&192)===128&&(g&192)===128&&(l=(o&15)<<18|(c&63)<<12|(d&63)<<6|g&63,l>65535&&l<1114112&&(a=l))}}a===null?(a=65533,p=1):a>65535&&(a-=65536,n.push(a>>>10&1023|55296),a=56320|a&1023),n.push(a),i+=p}return ye(n)}var yr=4096;function ye(t){var r=t.length;if(r<=yr)return String.fromCharCode.apply(String,t);for(var e="",n=0;n<r;)e+=String.fromCharCode.apply(String,t.slice(n,n+=yr));return e}function xe(t,r,e){var n="";e=Math.min(t.length,e);for(var i=r;i<e;++i)n+=String.fromCharCode(t[i]&127);return n}function Te(t,r,e){var n="";e=Math.min(t.length,e);for(var i=r;i<e;++i)n+=String.fromCharCode(t[i]);return n}function we(t,r,e){var n=t.length;(!r||r<0)&&(r=0),(!e||e<0||e>n)&&(e=n);for(var i="",o=r;o<e;++o)i+=Ie[t[o]];return i}function ve(t,r,e){for(var n=t.slice(r,e),i="",o=0;o<n.length-1;o+=2)i+=String.fromCharCode(n[o]+n[o+1]*256);return i}s.prototype.slice=function(r,e){var n=this.length;r=~~r,e=e===void 0?n:~~e,r<0?(r+=n,r<0&&(r=0)):r>n&&(r=n),e<0?(e+=n,e<0&&(e=0)):e>n&&(e=n),e<r&&(e=r);var i=this.subarray(r,e);return Object.setPrototypeOf(i,s.prototype),i};function x(t,r,e){if(t%1!==0||t<0)throw new RangeError("offset is not uint");if(t+r>e)throw new RangeError("Trying to access beyond buffer length")}s.prototype.readUintLE=s.prototype.readUIntLE=function(r,e,n){r=r>>>0,e=e>>>0,n||x(r,e,this.length);for(var i=this[r],o=1,a=0;++a<e&&(o*=256);)i+=this[r+a]*o;return i};s.prototype.readUintBE=s.prototype.readUIntBE=function(r,e,n){r=r>>>0,e=e>>>0,n||x(r,e,this.length);for(var i=this[r+--e],o=1;e>0&&(o*=256);)i+=this[r+--e]*o;return i};s.prototype.readUint8=s.prototype.readUInt8=function(r,e){return r=r>>>0,e||x(r,1,this.length),this[r]};s.prototype.readUint16LE=s.prototype.readUInt16LE=function(r,e){return r=r>>>0,e||x(r,2,this.length),this[r]|this[r+1]<<8};s.prototype.readUint16BE=s.prototype.readUInt16BE=function(r,e){return r=r>>>0,e||x(r,2,this.length),this[r]<<8|this[r+1]};s.prototype.readUint32LE=s.prototype.readUInt32LE=function(r,e){return r=r>>>0,e||x(r,4,this.length),(this[r]|this[r+1]<<8|this[r+2]<<16)+this[r+3]*16777216};s.prototype.readUint32BE=s.prototype.readUInt32BE=function(r,e){return r=r>>>0,e||x(r,4,this.length),this[r]*16777216+(this[r+1]<<16|this[r+2]<<8|this[r+3])};s.prototype.readIntLE=function(r,e,n){r=r>>>0,e=e>>>0,n||x(r,e,this.length);for(var i=this[r],o=1,a=0;++a<e&&(o*=256);)i+=this[r+a]*o;return o*=128,i>=o&&(i-=Math.pow(2,8*e)),i};s.prototype.readIntBE=function(r,e,n){r=r>>>0,e=e>>>0,n||x(r,e,this.length);for(var i=e,o=1,a=this[r+--i];i>0&&(o*=256);)a+=this[r+--i]*o;return o*=128,a>=o&&(a-=Math.pow(2,8*e)),a};s.prototype.readInt8=function(r,e){return r=r>>>0,e||x(r,1,this.length),this[r]&128?(255-this[r]+1)*-1:this[r]};s.prototype.readInt16LE=function(r,e){r=r>>>0,e||x(r,2,this.length);var n=this[r]|this[r+1]<<8;return n&32768?n|4294901760:n};s.prototype.readInt16BE=function(r,e){r=r>>>0,e||x(r,2,this.length);var n=this[r+1]|this[r]<<8;return n&32768?n|4294901760:n};s.prototype.readInt32LE=function(r,e){return r=r>>>0,e||x(r,4,this.length),this[r]|this[r+1]<<8|this[r+2]<<16|this[r+3]<<24};s.prototype.readInt32BE=function(r,e){return r=r>>>0,e||x(r,4,this.length),this[r]<<24|this[r+1]<<16|this[r+2]<<8|this[r+3]};s.prototype.readFloatLE=function(r,e){return r=r>>>0,e||x(r,4,this.length),L.read(this,r,!0,23,4)};s.prototype.readFloatBE=function(r,e){return r=r>>>0,e||x(r,4,this.length),L.read(this,r,!1,23,4)};s.prototype.readDoubleLE=function(r,e){return r=r>>>0,e||x(r,8,this.length),L.read(this,r,!0,52,8)};s.prototype.readDoubleBE=function(r,e){return r=r>>>0,e||x(r,8,this.length),L.read(this,r,!1,52,8)};function T(t,r,e,n,i,o){if(!s.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(r>i||r<o)throw new RangeError('"value" argument is out of bounds');if(e+n>t.length)throw new RangeError("Index out of range")}s.prototype.writeUintLE=s.prototype.writeUIntLE=function(r,e,n,i){if(r=+r,e=e>>>0,n=n>>>0,!i){var o=Math.pow(2,8*n)-1;T(this,r,e,n,o,0)}var a=1,p=0;for(this[e]=r&255;++p<n&&(a*=256);)this[e+p]=r/a&255;return e+n};s.prototype.writeUintBE=s.prototype.writeUIntBE=function(r,e,n,i){if(r=+r,e=e>>>0,n=n>>>0,!i){var o=Math.pow(2,8*n)-1;T(this,r,e,n,o,0)}var a=n-1,p=1;for(this[e+a]=r&255;--a>=0&&(p*=256);)this[e+a]=r/p&255;return e+n};s.prototype.writeUint8=s.prototype.writeUInt8=function(r,e,n){return r=+r,e=e>>>0,n||T(this,r,e,1,255,0),this[e]=r&255,e+1};s.prototype.writeUint16LE=s.prototype.writeUInt16LE=function(r,e,n){return r=+r,e=e>>>0,n||T(this,r,e,2,65535,0),this[e]=r&255,this[e+1]=r>>>8,e+2};s.prototype.writeUint16BE=s.prototype.writeUInt16BE=function(r,e,n){return r=+r,e=e>>>0,n||T(this,r,e,2,65535,0),this[e]=r>>>8,this[e+1]=r&255,e+2};s.prototype.writeUint32LE=s.prototype.writeUInt32LE=function(r,e,n){return r=+r,e=e>>>0,n||T(this,r,e,4,4294967295,0),this[e+3]=r>>>24,this[e+2]=r>>>16,this[e+1]=r>>>8,this[e]=r&255,e+4};s.prototype.writeUint32BE=s.prototype.writeUInt32BE=function(r,e,n){return r=+r,e=e>>>0,n||T(this,r,e,4,4294967295,0),this[e]=r>>>24,this[e+1]=r>>>16,this[e+2]=r>>>8,this[e+3]=r&255,e+4};s.prototype.writeIntLE=function(r,e,n,i){if(r=+r,e=e>>>0,!i){var o=Math.pow(2,8*n-1);T(this,r,e,n,o-1,-o)}var a=0,p=1,c=0;for(this[e]=r&255;++a<n&&(p*=256);)r<0&&c===0&&this[e+a-1]!==0&&(c=1),this[e+a]=(r/p>>0)-c&255;return e+n};s.prototype.writeIntBE=function(r,e,n,i){if(r=+r,e=e>>>0,!i){var o=Math.pow(2,8*n-1);T(this,r,e,n,o-1,-o)}var a=n-1,p=1,c=0;for(this[e+a]=r&255;--a>=0&&(p*=256);)r<0&&c===0&&this[e+a+1]!==0&&(c=1),this[e+a]=(r/p>>0)-c&255;return e+n};s.prototype.writeInt8=function(r,e,n){return r=+r,e=e>>>0,n||T(this,r,e,1,127,-128),r<0&&(r=255+r+1),this[e]=r&255,e+1};s.prototype.writeInt16LE=function(r,e,n){return r=+r,e=e>>>0,n||T(this,r,e,2,32767,-32768),this[e]=r&255,this[e+1]=r>>>8,e+2};s.prototype.writeInt16BE=function(r,e,n){return r=+r,e=e>>>0,n||T(this,r,e,2,32767,-32768),this[e]=r>>>8,this[e+1]=r&255,e+2};s.prototype.writeInt32LE=function(r,e,n){return r=+r,e=e>>>0,n||T(this,r,e,4,2147483647,-2147483648),this[e]=r&255,this[e+1]=r>>>8,this[e+2]=r>>>16,this[e+3]=r>>>24,e+4};s.prototype.writeInt32BE=function(r,e,n){return r=+r,e=e>>>0,n||T(this,r,e,4,2147483647,-2147483648),r<0&&(r=4294967295+r+1),this[e]=r>>>24,this[e+1]=r>>>16,this[e+2]=r>>>8,this[e+3]=r&255,e+4};function Fr(t,r,e,n,i,o){if(e+n>t.length)throw new RangeError("Index out of range");if(e<0)throw new RangeError("Index out of range")}function kr(t,r,e,n,i){return r=+r,e=e>>>0,i||Fr(t,r,e,4,34028234663852886e22,-34028234663852886e22),L.write(t,r,e,n,23,4),e+4}s.prototype.writeFloatLE=function(r,e,n){return kr(this,r,e,!0,n)};s.prototype.writeFloatBE=function(r,e,n){return kr(this,r,e,!1,n)};function Sr(t,r,e,n,i){return r=+r,e=e>>>0,i||Fr(t,r,e,8,17976931348623157e292,-17976931348623157e292),L.write(t,r,e,n,52,8),e+8}s.prototype.writeDoubleLE=function(r,e,n){return Sr(this,r,e,!0,n)};s.prototype.writeDoubleBE=function(r,e,n){return Sr(this,r,e,!1,n)};s.prototype.copy=function(r,e,n,i){if(!s.isBuffer(r))throw new TypeError("argument should be a Buffer");if(n||(n=0),!i&&i!==0&&(i=this.length),e>=r.length&&(e=r.length),e||(e=0),i>0&&i<n&&(i=n),i===n||r.length===0||this.length===0)return 0;if(e<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw new RangeError("Index out of range");if(i<0)throw new RangeError("sourceEnd out of bounds");i>this.length&&(i=this.length),r.length-e<i-n&&(i=r.length-e+n);var o=i-n;return this===r&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(e,n,i):Uint8Array.prototype.set.call(r,this.subarray(n,i),e),o};s.prototype.fill=function(r,e,n,i){if(typeof r=="string"){if(typeof e=="string"?(i=e,e=0,n=this.length):typeof n=="string"&&(i=n,n=this.length),i!==void 0&&typeof i!="string")throw new TypeError("encoding must be a string");if(typeof i=="string"&&!s.isEncoding(i))throw new TypeError("Unknown encoding: "+i);if(r.length===1){var o=r.charCodeAt(0);(i==="utf8"&&o<128||i==="latin1")&&(r=o)}}else typeof r=="number"?r=r&255:typeof r=="boolean"&&(r=Number(r));if(e<0||this.length<e||this.length<n)throw new RangeError("Out of range index");if(n<=e)return this;e=e>>>0,n=n===void 0?this.length:n>>>0,r||(r=0);var a;if(typeof r=="number")for(a=e;a<n;++a)this[a]=r;else{var p=s.isBuffer(r)?r:s.from(r,i),c=p.length;if(c===0)throw new TypeError('The value "'+r+'" is invalid for argument "value"');for(a=0;a<n-e;++a)this[a+e]=p[a%c]}return this};var be=/[^+/0-9A-Za-z-_]/g;function Fe(t){if(t=t.split("=")[0],t=t.trim().replace(be,""),t.length<2)return"";for(;t.length%4!==0;)t=t+"=";return t}function Z(t,r){r=r||1/0;for(var e,n=t.length,i=null,o=[],a=0;a<n;++a){if(e=t.charCodeAt(a),e>55295&&e<57344){if(!i){if(e>56319){(r-=3)>-1&&o.push(239,191,189);continue}else if(a+1===n){(r-=3)>-1&&o.push(239,191,189);continue}i=e;continue}if(e<56320){(r-=3)>-1&&o.push(239,191,189),i=e;continue}e=(i-55296<<10|e-56320)+65536}else i&&(r-=3)>-1&&o.push(239,191,189);if(i=null,e<128){if((r-=1)<0)break;o.push(e)}else if(e<2048){if((r-=2)<0)break;o.push(e>>6|192,e&63|128)}else if(e<65536){if((r-=3)<0)break;o.push(e>>12|224,e>>6&63|128,e&63|128)}else if(e<1114112){if((r-=4)<0)break;o.push(e>>18|240,e>>12&63|128,e>>6&63|128,e&63|128)}else throw new Error("Invalid code point")}return o}function ke(t){for(var r=[],e=0;e<t.length;++e)r.push(t.charCodeAt(e)&255);return r}function Se(t,r){for(var e,n,i,o=[],a=0;a<t.length&&!((r-=2)<0);++a)e=t.charCodeAt(a),n=e>>8,i=e%256,o.push(i),o.push(n);return o}function Ir(t){return J.toByteArray(Fe(t))}function O(t,r,e,n){for(var i=0;i<n&&!(i+e>=r.length||i>=t.length);++i)r[i+e]=t[i];return i}function k(t,r){return t instanceof r||t!=null&&t.constructor!=null&&t.constructor.name!=null&&t.constructor.name===r.name}function tr(t){return t!==t}var Ie=function(){for(var t="0123456789abcdef",r=new Array(256),e=0;e<16;++e)for(var n=e*16,i=0;i<16;++i)r[n+i]=t[e]+t[i];return r}()});var Er=G((Me,Cr)=>{u();var y=Cr.exports={},S,I;function nr(){throw new Error("setTimeout has not been defined")}function ir(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?S=setTimeout:S=nr}catch(t){S=nr}try{typeof clearTimeout=="function"?I=clearTimeout:I=ir}catch(t){I=ir}})();function Ar(t){if(S===setTimeout)return setTimeout(t,0);if((S===nr||!S)&&setTimeout)return S=setTimeout,setTimeout(t,0);try{return S(t,0)}catch(r){try{return S.call(null,t,0)}catch(e){return S.call(this,t,0)}}}function Be(t){if(I===clearTimeout)return clearTimeout(t);if((I===ir||!I)&&clearTimeout)return I=clearTimeout,clearTimeout(t);try{return I(t)}catch(r){try{return I.call(null,t)}catch(e){return I.call(this,t)}}}var A=[],N=!1,U,Y=-1;function Ae(){!N||!U||(N=!1,U.length?A=U.concat(A):Y=-1,A.length&&Rr())}function Rr(){if(!N){var t=Ar(Ae);N=!0;for(var r=A.length;r;){for(U=A,A=[];++Y<r;)U&&U[Y].run();Y=-1,r=A.length}U=null,N=!1,Be(t)}}y.nextTick=function(t){var r=new Array(arguments.length-1);if(arguments.length>1)for(var e=1;e<arguments.length;e++)r[e-1]=arguments[e];A.push(new Dr(t,r)),A.length===1&&!N&&Ar(Rr)};function Dr(t,r){this.fun=t,this.array=r}Dr.prototype.run=function(){this.fun.apply(null,this.array)};y.title="browser";y.browser=!0;y.env={};y.argv=[];y.version="";y.versions={};function R(){}y.on=R;y.addListener=R;y.once=R;y.off=R;y.removeListener=R;y.removeAllListeners=R;y.emit=R;y.prependListener=R;y.prependOnceListener=R;y.listeners=function(t){return[]};y.binding=function(t){throw new Error("process.binding is not supported")};y.cwd=function(){return"/"};y.chdir=function(t){throw new Error("process.chdir is not supported")};y.umask=function(){return 0}});var f,h,He,u=$r(()=>{f=X(Br()),h=X(Er()),He=function(t){function r(){var n=this||self;return delete t.prototype.__magic__,n}if(typeof globalThis=="object")return globalThis;if(this)return r();t.defineProperty(t.prototype,"__magic__",{configurable:!0,get:r});var e=__magic__;return e}(Object)});var _e={};jr(_e,{decodeForDisplay:()=>Ue});module.exports=Jr(_e);u();u();u();u();u();var Nr=require("@multiversx/sdk-core/out"),ar=X(require("bignumber.js"));u();var Ur=require("@multiversx/sdk-core");function Re(t){try{let r=new Ur.Address(t);return Boolean(r.bech32())}catch(r){return!1}}function _r(t){return(t==null?void 0:t.length)===62&&/^\w+$/.test(t)&&Re(t)}u();u();u();u();function or(t){for(let r=0;r<t.length;r++)if(t.charCodeAt(r)>127)return!1;return!0}u();u();var Lr=t=>/\d/.test(t);var D=(t,r,e)=>{try{switch(r){case"text":return Lr(t)?f.Buffer.from(t,"hex").toString("utf8"):t;case"decimal":return new ar.default(t,16).toString(10);case"smart":let i=Nr.Address.fromHex(t).toString();if(_r(i))return i;let o=f.Buffer.from(t,"hex").toString("utf8");return or(o)||e&&[...e.esdts,...e.nfts].some(c=>o.includes(c))?o:new ar.default(t,16).toString(10);case"raw":default:return t}}catch(n){return console.error(`Error during data decoding of "${t}" as "${r}"`,n),t}};u();u();u();u();u();u();u();var De=require("@multiversx/sdk-dapp-utils/out/constants/browserConstants"),W=require("@multiversx/sdk-dapp-utils/out/enums/windowProviderEnums");var Wr=(e=>(e.signTransactionsWithGuardianResponse="SIGN_TRANSACTIONS_WITH_GUARDIAN_RESPONSE",e.reloginRequest="RELOGIN_REQUEST",e))(Wr||{}),ct=H(H({},W.WindowProviderRequestEnums),Wr),Mr=(r=>(r.reloginResponse="RELOGIN_RESPONSE",r))(Mr||{}),lt=H(H({},W.WindowProviderResponseEnums),Mr);u();u();u();u();u();u();var Ce=t=>t.toLowerCase().match(/[0-9a-f]/g),Ee=t=>t.length%2===0,Hr=t=>{let r=[];return t&&!Ce(t)&&r.push(`Invalid Hex characters on argument @${t}`),t&&!Ee(t)&&r.push(`Odd number of Hex characters on argument @${t}`),r};u();var z=({parts:t,decodedParts:r,identifier:e})=>{let n=[...r];if(t[0]==="ESDTNFTTransfer"&&t[2]&&(n[2]=D(t[2],"decimal")),e==="ESDTNFTTransfer"&&t[1]){let i=f.Buffer.from(String(t[1]),"base64");n[1]=D(i.toString("hex"),"decimal")}return n};var Gr=({parts:t,decodeMethod:r,identifier:e,display:n})=>{let i=t.map((o,a)=>{if(t.length>=2&&(a===0&&o.length<64||a===1&&!t[0]))return/[^a-z0-9]/gi.test(o)?D(o,r):o;{let p=Hr(o);return p.length&&(n.validationWarnings=Array.from(new Set([...n.validationWarnings,...p]))),D(o,r)}});return r==="smart"?z({parts:t,decodedParts:i,identifier:e}):i};var Ue=({input:t,decodeMethod:r,identifier:e})=>{let n={displayValue:"",validationWarnings:[]};if(t.includes("@")){let i=t.split("@"),o=Gr({parts:i,identifier:e,decodeMethod:r,display:n});return n.displayValue=o.join("@"),n}if(t.includes(`
2
2
  `)){let i=t.split(`
3
3
  `),o=i.map(p=>{let c=f.Buffer.from(String(p),"base64");return r==="raw"?p:D(c.toString("hex"),r)}),a=r==="smart"?z({parts:i,decodedParts:o,identifier:e}):o;return n.displayValue=a.join(`
4
4
  `),n}return n.displayValue=D(t,r),n};0&&(module.exports={decodeForDisplay});