@multiversx/sdk-dapp 2.28.7-alpha.21 → 2.28.7-alpha.22

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 (1005) hide show
  1. package/UI/DappModal/components/DappModal.js +1 -1
  2. package/UI/DappModal/components/index.js +1 -1
  3. package/UI/DappModal/index.js +1 -1
  4. package/UI/Denominate/index.js +1 -1
  5. package/UI/ExplorerLink/ExplorerLink.js +1 -1
  6. package/UI/ExplorerLink/index.js +1 -1
  7. package/UI/FormatAmount/FormatAmount.js +1 -1
  8. package/UI/FormatAmount/index.js +1 -1
  9. package/UI/ModalContainer/ModalContainer.js +1 -1
  10. package/UI/ModalContainer/index.js +1 -1
  11. package/UI/NotificationModal/NotificationModal.js +1 -1
  12. package/UI/NotificationModal/index.js +1 -1
  13. package/UI/SignTransactionsModals/SignTransactionsModals.js +1 -1
  14. package/UI/SignTransactionsModals/SignWithCrossWindowWalletModal/SignWithCrossWindowWalletModal.js +1 -1
  15. package/UI/SignTransactionsModals/SignWithCrossWindowWalletModal/index.js +1 -1
  16. package/UI/SignTransactionsModals/SignWithDeviceModal/SignStep.js +1 -1
  17. package/UI/SignTransactionsModals/SignWithDeviceModal/SignWithDeviceModal.js +1 -1
  18. package/UI/SignTransactionsModals/SignWithDeviceModal/components/SignStepBody.js +1 -1
  19. package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmAmount/ConfirmAmount.js +1 -1
  20. package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmAmount/components/ConfirmAmountData/ConfirmAmountData.js +1 -1
  21. package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmAmount/components/ConfirmAmountData/index.js +1 -1
  22. package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmAmount/components/ConfirmAmountNftSft/ConfirmAmountNftSft.js +1 -1
  23. package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmAmount/components/ConfirmAmountNftSft/index.js +1 -1
  24. package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmAmount/components/index.js +1 -1
  25. package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmAmount/index.js +1 -1
  26. package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmFee/ConfirmFee.js +1 -1
  27. package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmFee/index.js +1 -1
  28. package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmReceiver/ConfirmReceiver.js +1 -1
  29. package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmReceiver/index.js +1 -1
  30. package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/index.js +1 -1
  31. package/UI/SignTransactionsModals/SignWithDeviceModal/components/index.js +1 -1
  32. package/UI/SignTransactionsModals/SignWithDeviceModal/index.js +1 -1
  33. package/UI/SignTransactionsModals/SignWithDeviceModal/signWithDeviceModal.types.js +1 -1
  34. package/UI/SignTransactionsModals/SignWithExtensionModal/SignWithExtensionModal.js +1 -1
  35. package/UI/SignTransactionsModals/SignWithExtensionModal/index.js +1 -1
  36. package/UI/SignTransactionsModals/SignWithExtraModal/SignWithExtraModal.js +1 -1
  37. package/UI/SignTransactionsModals/SignWithExtraModal/index.js +1 -1
  38. package/UI/SignTransactionsModals/SignWithLedgerModal/LedgerGuardianSigningModalError.js +1 -1
  39. package/UI/SignTransactionsModals/SignWithLedgerModal/SignWithLedgerModal.js +1 -1
  40. package/UI/SignTransactionsModals/SignWithLedgerModal/index.js +1 -1
  41. package/UI/SignTransactionsModals/SignWithOperaModal/SignWithOperaModal.js +1 -1
  42. package/UI/SignTransactionsModals/SignWithOperaModal/index.js +1 -1
  43. package/UI/SignTransactionsModals/SignWithWalletConnectModal/SignWithWalletConnectModal.js +1 -1
  44. package/UI/SignTransactionsModals/SignWithWalletConnectModal/index.js +1 -1
  45. package/UI/SignTransactionsModals/components/ConfirmationScreen.js +1 -1
  46. package/UI/SignTransactionsModals/components/DeviceConfirmationScreen.js +1 -1
  47. package/UI/SignTransactionsModals/components/SignWaitingScreenModal/SignWaitingScreenModal.js +1 -1
  48. package/UI/SignTransactionsModals/components/SignWaitingScreenModal/index.js +1 -1
  49. package/UI/SignTransactionsModals/components/TransactionStatusToast.js +1 -1
  50. package/UI/SignTransactionsModals/components/index.js +1 -1
  51. package/UI/SignTransactionsModals/index.js +1 -1
  52. package/UI/TokenDetails/index.js +1 -1
  53. package/UI/TransactionData/TransactionData.js +1 -1
  54. package/UI/TransactionData/index.js +1 -1
  55. package/UI/TransactionDetails/TransactionDetails.js +1 -1
  56. package/UI/TransactionDetails/components/TransactionDetailsBody.js +1 -1
  57. package/UI/TransactionDetails/components/index.js +1 -1
  58. package/UI/TransactionDetails/index.js +1 -1
  59. package/UI/TransactionInfo/TransactionInfo.js +1 -1
  60. package/UI/TransactionInfo/components/AddressDetailItem/AddressDetailitem.js +1 -1
  61. package/UI/TransactionInfo/components/AddressDetailItem/index.js +1 -1
  62. package/UI/TransactionInfo/components/DataDecode/DataDecode.js +1 -1
  63. package/UI/TransactionInfo/components/DataDecode/index.js +1 -1
  64. package/UI/TransactionInfo/components/DataField/DataField.js +1 -1
  65. package/UI/TransactionInfo/components/DataField/components/ModalLink/ModalLink.js +1 -1
  66. package/UI/TransactionInfo/components/DataField/components/ModalLink/index.js +1 -1
  67. package/UI/TransactionInfo/components/DataField/components/index.js +1 -1
  68. package/UI/TransactionInfo/components/DataField/index.js +1 -1
  69. package/UI/TransactionInfo/components/EventsList/EventsList.js +1 -1
  70. package/UI/TransactionInfo/components/EventsList/index.js +1 -1
  71. package/UI/TransactionInfo/components/NonceMessage/NonceMessage.js +1 -1
  72. package/UI/TransactionInfo/components/NonceMessage/index.js +1 -1
  73. package/UI/TransactionInfo/components/OperationsList/OperationList.js +1 -1
  74. package/UI/TransactionInfo/components/OperationsList/components/DetailedItem.js +1 -1
  75. package/UI/TransactionInfo/components/OperationsList/components/OperationBlock.js +1 -1
  76. package/UI/TransactionInfo/components/OperationsList/components/OperationRow.js +1 -1
  77. package/UI/TransactionInfo/components/OperationsList/components/OperationText.js +1 -1
  78. package/UI/TransactionInfo/components/OperationsList/components/OperationToken.js +1 -1
  79. package/UI/TransactionInfo/components/OperationsList/components/index.js +1 -1
  80. package/UI/TransactionInfo/components/OperationsList/index.js +1 -1
  81. package/UI/TransactionInfo/components/ScResultsList/ScResultsList.js +1 -1
  82. package/UI/TransactionInfo/components/ScResultsList/components/ResultData/ResultData.js +1 -1
  83. package/UI/TransactionInfo/components/ScResultsList/components/ResultData/index.js +1 -1
  84. package/UI/TransactionInfo/components/ScResultsList/components/ResultHash/ResultHash.js +1 -1
  85. package/UI/TransactionInfo/components/ScResultsList/components/ResultHash/index.js +1 -1
  86. package/UI/TransactionInfo/components/ScResultsList/components/ResultReceiver/ResultReceiver.js +1 -1
  87. package/UI/TransactionInfo/components/ScResultsList/components/ResultReceiver/index.js +1 -1
  88. package/UI/TransactionInfo/components/ScResultsList/components/ResultSender/ResultSender.js +1 -1
  89. package/UI/TransactionInfo/components/ScResultsList/components/ResultSender/index.js +1 -1
  90. package/UI/TransactionInfo/components/ScResultsList/index.js +1 -1
  91. package/UI/TransactionInfo/components/ScrDetailItem/ScrDetailItem.js +1 -1
  92. package/UI/TransactionInfo/components/ScrDetailItem/index.js +1 -1
  93. package/UI/TransactionInfo/components/TransactionAction/TransactionAction.js +1 -1
  94. package/UI/TransactionInfo/components/TransactionAction/components/ActionText/index.js +1 -1
  95. package/UI/TransactionInfo/components/TransactionAction/components/ActionToken.js +1 -1
  96. package/UI/TransactionInfo/components/TransactionAction/components/TransactionActionBlock/components/TransactionActionCollection.js +1 -1
  97. package/UI/TransactionInfo/components/TransactionAction/components/TransactionActionBlock/components/TransactionActionNft.js +1 -1
  98. package/UI/TransactionInfo/components/TransactionAction/components/TransactionActionBlock/components/TransactionActionToken.js +1 -1
  99. package/UI/TransactionInfo/components/TransactionAction/components/TransactionActionBlock/components/index.js +1 -1
  100. package/UI/TransactionInfo/components/TransactionAction/components/TransactionActionBlock/index.js +1 -1
  101. package/UI/TransactionInfo/components/TransactionAction/components/index.js +1 -1
  102. package/UI/TransactionInfo/components/TransactionAction/index.js +1 -1
  103. package/UI/TransactionInfo/components/TransactionLogs/TransactionLogs.js +1 -1
  104. package/UI/TransactionInfo/components/TransactionLogs/index.js +1 -1
  105. package/UI/TransactionInfo/components/TransactionStatus/TransactionStatus.js +1 -1
  106. package/UI/TransactionInfo/components/TransactionStatus/index.js +1 -1
  107. package/UI/TransactionInfo/components/index.js +1 -1
  108. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoAge/TransactionInfoAge.js +1 -1
  109. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoAge/index.js +1 -1
  110. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoEgldPrice/TransactionInfoEgldPrice.js +1 -1
  111. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoEgldPrice/index.js +1 -1
  112. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoFee/TransactionInfoFee.js +1 -1
  113. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoFee/index.js +1 -1
  114. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoFrom/TransactionInfoFrom.js +1 -1
  115. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoFrom/index.js +1 -1
  116. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoGasLimit/TransactionInfoGasLimit.js +1 -1
  117. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoGasLimit/index.js +1 -1
  118. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoGasPrice/TransactionInfoGasPrice.js +1 -1
  119. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoGasPrice/index.js +1 -1
  120. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoGasUsed/TransactionInfoGasUsed.js +1 -1
  121. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoGasUsed/index.js +1 -1
  122. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoInputData/TransactionInfoInputData.js +1 -1
  123. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoInputData/index.js +1 -1
  124. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoMethod/TransactionInfoMethod.js +1 -1
  125. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoMethod/index.js +1 -1
  126. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoMiniblock/TransactionInfoMiniblock.js +1 -1
  127. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoMiniblock/index.js +1 -1
  128. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoNonce/TransactionInfoNonce.js +1 -1
  129. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoNonce/index.js +1 -1
  130. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoScResults/TransactionInfoScResults.js +1 -1
  131. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoScResults/index.js +1 -1
  132. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoStatus/TransactionInfoStatus.js +1 -1
  133. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoStatus/index.js +1 -1
  134. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoTo/TransactionInfoTo.js +1 -1
  135. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoTo/index.js +1 -1
  136. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoTokenOperations/TransactionInfoTokenOperations.js +1 -1
  137. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoTokenOperations/index.js +1 -1
  138. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoValue/TransactionInfoValue.js +1 -1
  139. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoValue/index.js +1 -1
  140. package/UI/TransactionInfo/components/transactionInfoFields/index.js +1 -1
  141. package/UI/TransactionInfo/index.js +1 -1
  142. package/UI/TransactionsTable/TransactionsTable.js +1 -1
  143. package/UI/TransactionsTable/components/AccountName.js +1 -1
  144. package/UI/TransactionsTable/components/FailedTransactions.js +1 -1
  145. package/UI/TransactionsTable/components/LockedTokenAddressIcon.js +1 -1
  146. package/UI/TransactionsTable/components/ScAddressIcon.js +1 -1
  147. package/UI/TransactionsTable/components/ShardSpan.js +1 -1
  148. package/UI/TransactionsTable/components/TransactionHash.js +1 -1
  149. package/UI/TransactionsTable/components/TransactionIcon.js +1 -1
  150. package/UI/TransactionsTable/components/TransactionMethod.js +1 -1
  151. package/UI/TransactionsTable/components/TransactionReceiver.js +1 -1
  152. package/UI/TransactionsTable/components/TransactionRow.js +1 -1
  153. package/UI/TransactionsTable/components/TransactionSender.js +1 -1
  154. package/UI/TransactionsTable/components/TransactionShardsTransition.js +1 -1
  155. package/UI/TransactionsTable/components/TransactionValue/TransactionValue.js +1 -1
  156. package/UI/TransactionsTable/components/TransactionValue/index.js +1 -1
  157. package/UI/TransactionsTable/components/index.js +1 -1
  158. package/UI/TransactionsTable/index.js +1 -1
  159. package/UI/TransactionsToastList/TransactionsToastList.js +1 -1
  160. package/UI/TransactionsToastList/components/CustomToast/CustomToast.js +1 -1
  161. package/UI/TransactionsToastList/components/CustomToast/components/CustomComponentToast.js +1 -1
  162. package/UI/TransactionsToastList/components/CustomToast/components/IconToast/IconToast.js +1 -1
  163. package/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/IconToastFooter.js +1 -1
  164. package/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/components/ComponentToastFooter.js +1 -1
  165. package/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/components/TransactionToastFooter.js +1 -1
  166. package/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/components/index.js +1 -1
  167. package/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/index.js +1 -1
  168. package/UI/TransactionsToastList/components/CustomToast/components/IconToast/index.js +1 -1
  169. package/UI/TransactionsToastList/components/CustomToast/components/SimpleToast.js +1 -1
  170. package/UI/TransactionsToastList/components/CustomToast/components/index.js +1 -1
  171. package/UI/TransactionsToastList/components/CustomToast/helpers/getIsTransaction.js +1 -1
  172. package/UI/TransactionsToastList/components/CustomToast/helpers/index.js +1 -1
  173. package/UI/TransactionsToastList/components/CustomToast/helpers/useMemoizedCloseButton.js +1 -1
  174. package/UI/TransactionsToastList/components/CustomToast/index.js +1 -1
  175. package/UI/TransactionsToastList/components/TransactionToast/TransactionToast.js +1 -1
  176. package/UI/TransactionsToastList/components/TransactionToast/components/DefaultToastDeleteButton.js +1 -1
  177. package/UI/TransactionsToastList/components/TransactionToast/components/TransactionToastContent.js +1 -1
  178. package/UI/TransactionsToastList/components/TransactionToast/components/index.js +1 -1
  179. package/UI/TransactionsToastList/components/TransactionToast/hooks/useTransactionToast.js +1 -1
  180. package/UI/TransactionsToastList/components/TransactionToast/index.js +1 -1
  181. package/UI/TransactionsToastList/components/TransactionToast/utils/getToastDataStateByStatus.js +1 -1
  182. package/UI/TransactionsToastList/components/TransactionToast/utils/index.js +1 -1
  183. package/UI/TransactionsToastList/components/TransactionToastGuard.js +1 -1
  184. package/UI/TransactionsToastList/components/index.js +1 -1
  185. package/UI/TransactionsToastList/index.js +1 -1
  186. package/UI/Trim/Trim.js +1 -1
  187. package/UI/Trim/index.js +1 -1
  188. package/UI/UsdValue/UsdValue.js +1 -1
  189. package/UI/UsdValue/index.js +1 -1
  190. package/UI/extension/ExtensionLoginButton/ExtensionLoginButton.js +1 -1
  191. package/UI/extension/ExtensionLoginButton/index.js +1 -1
  192. package/UI/index.js +1 -1
  193. package/UI/ledger/LedgerLoginButton/LedgerLoginButton.js +1 -1
  194. package/UI/ledger/LedgerLoginButton/index.js +1 -1
  195. package/UI/ledger/LedgerLoginContainer/AddressRow/AddressRow.js +1 -1
  196. package/UI/ledger/LedgerLoginContainer/AddressRow/index.js +1 -1
  197. package/UI/ledger/LedgerLoginContainer/AddressTable/AddressTable.js +1 -1
  198. package/UI/ledger/LedgerLoginContainer/AddressTable/index.js +1 -1
  199. package/UI/ledger/LedgerLoginContainer/ConfirmAddress/ConfirmAddress.js +1 -1
  200. package/UI/ledger/LedgerLoginContainer/ConfirmAddress/helpers/getAuthTokenText.js +1 -1
  201. package/UI/ledger/LedgerLoginContainer/ConfirmAddress/helpers/index.js +1 -1
  202. package/UI/ledger/LedgerLoginContainer/ConfirmAddress/index.js +1 -1
  203. package/UI/ledger/LedgerLoginContainer/LedgerConnect/LedgerConnect.js +1 -1
  204. package/UI/ledger/LedgerLoginContainer/LedgerConnect/index.js +1 -1
  205. package/UI/ledger/LedgerLoginContainer/LedgerLoading/LedgerLoading.js +1 -1
  206. package/UI/ledger/LedgerLoginContainer/LedgerLoading/index.js +1 -1
  207. package/UI/ledger/LedgerLoginContainer/LedgerLoginContainer.js +1 -1
  208. package/UI/ledger/LedgerLoginContainer/LedgerLoginContent/LedgerLoginContent.js +1 -1
  209. package/UI/ledger/LedgerLoginContainer/LedgerLoginContent/index.js +1 -1
  210. package/UI/ledger/LedgerLoginContainer/LedgerLoginContentBody/LedgerLoginContentBody.js +1 -1
  211. package/UI/ledger/LedgerLoginContainer/LedgerLoginContentBody/index.js +1 -1
  212. package/UI/ledger/LedgerLoginContainer/LedgerScamPhishingAlert/LedgerScamPhishingAlert.js +1 -1
  213. package/UI/ledger/LedgerLoginContainer/LedgerScamPhishingAlert/index.js +1 -1
  214. package/UI/ledger/LedgerLoginContainer/index.js +1 -1
  215. package/UI/ledger/index.js +1 -1
  216. package/UI/operaWallet/OperaWalletLoginButton/OperaWalletLoginButton.js +1 -1
  217. package/UI/operaWallet/OperaWalletLoginButton/index.js +1 -1
  218. package/UI/pages/UnlockPage/index.js +1 -1
  219. package/UI/pages/index.js +1 -1
  220. package/UI/walletConnect/WalletConnectConnectionStatus/WalletConnectConnectionStatus.js +1 -1
  221. package/UI/walletConnect/WalletConnectConnectionStatus/index.js +1 -1
  222. package/UI/walletConnect/WalletConnectLoginButton/WalletConnectLoginButton.js +1 -1
  223. package/UI/walletConnect/WalletConnectLoginButton/index.js +1 -1
  224. package/UI/walletConnect/WalletConnectLoginContainer/WalletConnectLoginContainer.js +1 -1
  225. package/UI/walletConnect/WalletConnectLoginContainer/WalletConnectLoginContent/WalletConnectLoginContent.js +1 -1
  226. package/UI/walletConnect/WalletConnectLoginContainer/WalletConnectLoginContent/index.js +1 -1
  227. package/UI/walletConnect/WalletConnectLoginContainer/index.js +1 -1
  228. package/UI/walletConnect/index.js +1 -1
  229. package/UI/webWallet/CrossWindowLoginButton/CrossWindowLoginButton.js +1 -1
  230. package/UI/webWallet/CrossWindowLoginButton/index.js +1 -1
  231. package/UI/webWallet/WebWalletLoginButton/WebWalletLoginButton.js +1 -1
  232. package/UI/webWallet/WebWalletLoginButton/index.js +1 -1
  233. package/UI/webWallet/XaliasLoginButton/XaliasLoginButton.js +1 -1
  234. package/UI/webWallet/XaliasLoginButton/index.js +1 -1
  235. package/__chunks__/{chunk-LYPYXUJV.js → chunk-2ERYD4ZD.js} +2 -2
  236. package/__chunks__/{chunk-WLJZR6MI.js → chunk-2FI2XFEB.js} +2 -2
  237. package/__chunks__/{chunk-JQUIPCY5.js → chunk-2MX5NY6P.js} +2 -2
  238. package/__chunks__/{chunk-FJT4NIX5.js → chunk-2OSEQDFR.js} +2 -2
  239. package/__chunks__/{chunk-B5D55AUB.js → chunk-2R3SDGLV.js} +2 -2
  240. package/__chunks__/chunk-2SGND5VW.js +2 -0
  241. package/__chunks__/{chunk-UH74TE5S.js → chunk-32OEQS2D.js} +2 -2
  242. package/__chunks__/{chunk-LKP6MFXK.js → chunk-35Q3N5XX.js} +2 -2
  243. package/__chunks__/{chunk-P62RAJK6.js → chunk-3GYEUMHL.js} +2 -2
  244. package/__chunks__/chunk-3JT5VCHV.js +2 -0
  245. package/__chunks__/{chunk-WINVVAR2.js → chunk-3OAVJKGK.js} +2 -2
  246. package/__chunks__/{chunk-J6T2EE5S.js → chunk-3Q6F2HJ6.js} +2 -2
  247. package/__chunks__/{chunk-45KS7MHU.js → chunk-3RUGJIXL.js} +2 -2
  248. package/__chunks__/chunk-3WMTU7D6.js +2 -0
  249. package/__chunks__/chunk-43EXZCW2.js +2 -0
  250. package/__chunks__/{chunk-TKDQ67OU.js → chunk-45WWKRVA.js} +2 -2
  251. package/__chunks__/{chunk-WRHAGDVV.js → chunk-4B3MOWFW.js} +2 -2
  252. package/__chunks__/{chunk-2I3SIP7I.js → chunk-4HKT77ZD.js} +2 -2
  253. package/__chunks__/{chunk-JUXUKQXA.js → chunk-4RYF5VPZ.js} +2 -2
  254. package/__chunks__/{chunk-JC4R6MW6.js → chunk-4SPYBRWY.js} +2 -2
  255. package/__chunks__/chunk-4U5X73LG.js +2 -0
  256. package/__chunks__/chunk-52I2BI6Z.js +2 -0
  257. package/__chunks__/{chunk-LNWKWD36.js → chunk-53D66PL3.js} +2 -2
  258. package/__chunks__/{chunk-BDNFTUNX.js → chunk-55WOWFKB.js} +2 -2
  259. package/__chunks__/chunk-5BRAFDAC.js +2 -0
  260. package/__chunks__/{chunk-YEW2MY76.js → chunk-5EJX6WW5.js} +2 -2
  261. package/__chunks__/{chunk-NCHTNS4A.js → chunk-5HHZDE2P.js} +2 -2
  262. package/__chunks__/{chunk-2TKLBHNZ.js → chunk-5MZU2OXW.js} +2 -2
  263. package/__chunks__/{chunk-DKNSMNAR.js → chunk-5N2CDJQ4.js} +2 -2
  264. package/__chunks__/chunk-5SYUFB4T.js +2 -0
  265. package/__chunks__/{chunk-CQZQ6E5V.js → chunk-5UOPDZ6E.js} +2 -2
  266. package/__chunks__/{chunk-YA3IK5HD.js → chunk-5VIHCVAC.js} +2 -2
  267. package/__chunks__/{chunk-IJIOWKDI.js → chunk-5WHZXANI.js} +2 -2
  268. package/__chunks__/{chunk-KOHZDKJE.js → chunk-5XHXBLRW.js} +2 -2
  269. package/__chunks__/chunk-67GE423Z.js +2 -0
  270. package/__chunks__/{chunk-6ULNLMEQ.js → chunk-6DKE6XGL.js} +2 -2
  271. package/__chunks__/chunk-6JVK3U3P.js +2 -0
  272. package/__chunks__/{chunk-5TJ3HDWX.js → chunk-6QKDH7BO.js} +2 -2
  273. package/__chunks__/{chunk-QSUM5QNK.js → chunk-6WIVTBKC.js} +2 -2
  274. package/__chunks__/chunk-75EWJ2IY.js +2 -0
  275. package/__chunks__/{chunk-TYLSUIT3.js → chunk-7AK6HBWA.js} +2 -2
  276. package/__chunks__/{chunk-QYSSH5NX.js → chunk-7BG7OJFY.js} +2 -2
  277. package/__chunks__/{chunk-L6BRJFR6.js → chunk-7CJEB4QU.js} +2 -2
  278. package/__chunks__/{chunk-YV52CXDT.js → chunk-7D5RMPCM.js} +2 -2
  279. package/__chunks__/{chunk-W7IEFYKT.js → chunk-7G2PG2HJ.js} +2 -2
  280. package/__chunks__/{chunk-WMRN2SKZ.js → chunk-7G3N5UXY.js} +2 -2
  281. package/__chunks__/{chunk-D7OEA777.js → chunk-7IHUWBE2.js} +2 -2
  282. package/__chunks__/{chunk-RKI72TMN.js → chunk-7J5FLOSX.js} +2 -2
  283. package/__chunks__/{chunk-LWG2223P.js → chunk-7LSQ7ACU.js} +2 -2
  284. package/__chunks__/{chunk-OOZM2I42.js → chunk-7NDTJX2Q.js} +2 -2
  285. package/__chunks__/{chunk-S4ISWHOB.js → chunk-7NZRWTON.js} +2 -2
  286. package/__chunks__/{chunk-ZT67ERD5.js → chunk-7Q65CTX4.js} +2 -2
  287. package/__chunks__/chunk-7SWQCGUR.js +2 -0
  288. package/__chunks__/{chunk-JDBSIMC3.js → chunk-7VMQ5PJC.js} +2 -2
  289. package/__chunks__/{chunk-T4CD54EC.js → chunk-7WYYZIP7.js} +2 -2
  290. package/__chunks__/chunk-7X7AHJNX.js +2 -0
  291. package/__chunks__/{chunk-S4GJX4XN.js → chunk-7ZGFUH4M.js} +2 -2
  292. package/__chunks__/{chunk-LH6BCDIW.js → chunk-A2BS44NX.js} +2 -2
  293. package/__chunks__/{chunk-FVY4PX7G.js → chunk-AD5GF3EO.js} +2 -2
  294. package/__chunks__/chunk-AFSFP2AH.js +2 -0
  295. package/__chunks__/{chunk-UHYGR5YC.js → chunk-AGWE3CA7.js} +2 -2
  296. package/__chunks__/{chunk-EQSL3LHM.js → chunk-AHQKUBGT.js} +2 -2
  297. package/__chunks__/chunk-AJK4FD6T.js +2 -0
  298. package/__chunks__/{chunk-P2ULBRHU.js → chunk-ANJIBOLB.js} +2 -2
  299. package/__chunks__/{chunk-DRMJ7OYY.js → chunk-ANVS3LWC.js} +2 -2
  300. package/__chunks__/{chunk-RLSKTSOC.js → chunk-APUPP3SO.js} +2 -2
  301. package/__chunks__/{chunk-OMD6VJ7Q.js → chunk-APW4UMNQ.js} +2 -2
  302. package/__chunks__/{chunk-OZZBMCJB.js → chunk-ARUR4UYT.js} +2 -2
  303. package/__chunks__/chunk-ATPARQD4.js +2 -0
  304. package/__chunks__/{chunk-3HKLQO3N.js → chunk-AYFYNNWF.js} +2 -2
  305. package/__chunks__/{chunk-4WGPSXLR.js → chunk-B7KPSMKH.js} +2 -2
  306. package/__chunks__/{chunk-U2E5WIJJ.js → chunk-BA56LBTO.js} +2 -2
  307. package/__chunks__/chunk-BB7Y5RUP.js +2 -0
  308. package/__chunks__/{chunk-GZBGMN6S.js → chunk-BBAQDTOC.js} +2 -2
  309. package/__chunks__/{chunk-N6GP5UZH.js → chunk-BCHXOUUJ.js} +2 -2
  310. package/__chunks__/chunk-BDWKIY35.js +2 -0
  311. package/__chunks__/{chunk-MCS4VY23.js → chunk-BECO26VQ.js} +2 -2
  312. package/__chunks__/{chunk-RMO53XUM.js → chunk-BHY3Z3ET.js} +2 -2
  313. package/__chunks__/{chunk-MNANJF37.js → chunk-BOS6J3XK.js} +2 -2
  314. package/__chunks__/{chunk-HEJFGYB4.js → chunk-BQWEKJQY.js} +2 -2
  315. package/__chunks__/{chunk-ALRWYKJ3.js → chunk-BVA74VPG.js} +2 -2
  316. package/__chunks__/{chunk-6PBH3KEW.js → chunk-BXA5P6LR.js} +2 -2
  317. package/__chunks__/chunk-BZYN5SVI.js +2 -0
  318. package/__chunks__/{chunk-R2M2NREB.js → chunk-C3DRE3XL.js} +2 -2
  319. package/__chunks__/{chunk-FTUA3HTU.js → chunk-C4HPD3DA.js} +2 -2
  320. package/__chunks__/{chunk-UKITMGU5.js → chunk-C5VMAZGA.js} +2 -2
  321. package/__chunks__/{chunk-CT4XGGLM.js → chunk-CEDKTHSG.js} +2 -2
  322. package/__chunks__/{chunk-MDYH3TAR.js → chunk-CGGFQR3H.js} +2 -2
  323. package/__chunks__/{chunk-XXN2SRRE.js → chunk-CHMNM54S.js} +2 -2
  324. package/__chunks__/{chunk-K2OPPBXN.js → chunk-CIXIB66V.js} +2 -2
  325. package/__chunks__/{chunk-4KOQ4XPF.js → chunk-CKGPXFPI.js} +2 -2
  326. package/__chunks__/{chunk-SSYG5MZ3.js → chunk-CP3KWVXW.js} +2 -2
  327. package/__chunks__/{chunk-IZU4L5ZT.js → chunk-CQAZBUMQ.js} +2 -2
  328. package/__chunks__/{chunk-OMJE5LZ5.js → chunk-CZJYZVFY.js} +2 -2
  329. package/__chunks__/{chunk-H7M2MJO2.js → chunk-D2ORSE3O.js} +2 -2
  330. package/__chunks__/{chunk-MRQXI6BL.js → chunk-D2ZNJPI4.js} +2 -2
  331. package/__chunks__/{chunk-D5WNZ2KW.js → chunk-D5PW6PC2.js} +2 -2
  332. package/__chunks__/{chunk-ROKSIDG4.js → chunk-DCY6S64L.js} +2 -2
  333. package/__chunks__/chunk-DEDBLRRQ.js +2 -0
  334. package/__chunks__/{chunk-S3RQVME5.js → chunk-DEQUL5OZ.js} +2 -2
  335. package/__chunks__/{chunk-EYBL2DZQ.js → chunk-DGFIEGKE.js} +2 -2
  336. package/__chunks__/{chunk-6I4KDAEC.js → chunk-DGJGGAFC.js} +2 -2
  337. package/__chunks__/{chunk-LJDUUEVE.js → chunk-DGWY723D.js} +2 -2
  338. package/__chunks__/{chunk-6SDN6VYU.js → chunk-DH6UKHV7.js} +2 -2
  339. package/__chunks__/chunk-DMNVYUZI.js +2 -0
  340. package/__chunks__/chunk-DSBFDCAY.js +2 -0
  341. package/__chunks__/{chunk-SPUHV23C.js → chunk-DVMRHYP2.js} +2 -2
  342. package/__chunks__/{chunk-PTNZZ33O.js → chunk-DWKHF6GZ.js} +2 -2
  343. package/__chunks__/{chunk-NJKH2I7A.js → chunk-E7QFSJPE.js} +2 -2
  344. package/__chunks__/{chunk-5MVZTGDS.js → chunk-EHHJWFN7.js} +2 -2
  345. package/__chunks__/{chunk-HXGWOGYH.js → chunk-EMGL6ISD.js} +2 -2
  346. package/__chunks__/{chunk-J3UC3VZX.js → chunk-EOATHPT6.js} +2 -2
  347. package/__chunks__/{chunk-776CE2KN.js → chunk-EOSAEMI2.js} +2 -2
  348. package/__chunks__/chunk-ESLS6YRW.js +2 -0
  349. package/__chunks__/{chunk-44ZY2IG5.js → chunk-ET2LB4HU.js} +2 -2
  350. package/__chunks__/{chunk-QWMOQ7N7.js → chunk-EVOOEQLP.js} +2 -2
  351. package/__chunks__/{chunk-VUE4762S.js → chunk-EVYMXGHI.js} +2 -2
  352. package/__chunks__/chunk-EW6DK2M3.js +2 -0
  353. package/__chunks__/{chunk-FZHLZFLL.js → chunk-F7YI44JE.js} +2 -2
  354. package/__chunks__/{chunk-XYS3N3TZ.js → chunk-FA42PZCG.js} +2 -2
  355. package/__chunks__/{chunk-63CVVKHG.js → chunk-FGLQLS5G.js} +2 -2
  356. package/__chunks__/{chunk-BDKGJYTU.js → chunk-FK7TQ6GT.js} +2 -2
  357. package/__chunks__/{chunk-JV7XSR2M.js → chunk-FNO4BWIV.js} +2 -2
  358. package/__chunks__/{chunk-WQJYO2YY.js → chunk-FRP2DBXW.js} +2 -2
  359. package/__chunks__/{chunk-CNBYHU7O.js → chunk-FSFSGXZX.js} +2 -2
  360. package/__chunks__/{chunk-IEJ6UMAD.js → chunk-FX253HDQ.js} +2 -2
  361. package/__chunks__/chunk-FY2SAUJP.js +2 -0
  362. package/__chunks__/{chunk-OJ3JMAGT.js → chunk-GG6P5SOY.js} +2 -2
  363. package/__chunks__/{chunk-R7OX4IST.js → chunk-GGTG3OLU.js} +2 -2
  364. package/__chunks__/{chunk-C3KHOLAQ.js → chunk-GKSD5MXQ.js} +2 -2
  365. package/__chunks__/{chunk-Y7OU5KIO.js → chunk-GLPZTVJR.js} +2 -2
  366. package/__chunks__/{chunk-BU52W6U4.js → chunk-GLXTHXQZ.js} +2 -2
  367. package/__chunks__/{chunk-K6T7FXKT.js → chunk-GVMVOVZM.js} +2 -2
  368. package/__chunks__/{chunk-HVBPAKEW.js → chunk-GWJZAREP.js} +2 -2
  369. package/__chunks__/{chunk-PSDFAMAR.js → chunk-GXZFUOIZ.js} +2 -2
  370. package/__chunks__/{chunk-UOEDTZAI.js → chunk-GZACSDSD.js} +2 -2
  371. package/__chunks__/{chunk-HUUAZE4W.js → chunk-H3CUGDQT.js} +2 -2
  372. package/__chunks__/{chunk-NEUTOONN.js → chunk-H6HVGNKL.js} +2 -2
  373. package/__chunks__/chunk-H7NWEHKK.js +2 -0
  374. package/__chunks__/chunk-HCMZNSGG.js +2 -0
  375. package/__chunks__/{chunk-UBV5MZTH.js → chunk-HF2BVD7V.js} +2 -2
  376. package/__chunks__/chunk-HFAS7WJT.js +2 -0
  377. package/__chunks__/{chunk-BO4I7TU7.js → chunk-HINPJG36.js} +2 -2
  378. package/__chunks__/chunk-HITYUHEV.js +2 -0
  379. package/__chunks__/{chunk-PWNTLE7O.js → chunk-HJVL63AM.js} +2 -2
  380. package/__chunks__/{chunk-ZEKSL6RM.js → chunk-HLXMCLRD.js} +2 -2
  381. package/__chunks__/{chunk-26PNCEN6.js → chunk-HOYGFWRN.js} +2 -2
  382. package/__chunks__/{chunk-LUKXK4PJ.js → chunk-HPZDSCI6.js} +2 -2
  383. package/__chunks__/{chunk-TYN4NL7P.js → chunk-HQVA6BN4.js} +2 -2
  384. package/__chunks__/{chunk-K24Q7A25.js → chunk-HTRWR64S.js} +2 -2
  385. package/__chunks__/{chunk-Z7CXRSOE.js → chunk-HXC6OQ62.js} +2 -2
  386. package/__chunks__/{chunk-OB343ORN.js → chunk-HXG6DPBV.js} +2 -2
  387. package/__chunks__/{chunk-K5ZKFH4M.js → chunk-I5LCH7GI.js} +2 -2
  388. package/__chunks__/chunk-IBXG3FTQ.js +2 -0
  389. package/__chunks__/{chunk-5VEXZKXZ.js → chunk-IG63UBHO.js} +2 -2
  390. package/__chunks__/{chunk-QKAGGKMZ.js → chunk-IH6XL5SK.js} +2 -2
  391. package/__chunks__/{chunk-QV7H3KVT.js → chunk-IJBNOFRU.js} +2 -2
  392. package/__chunks__/{chunk-M72NGQGD.js → chunk-ITGCTIQR.js} +2 -2
  393. package/__chunks__/{chunk-6S7QMZNK.js → chunk-IXE232G2.js} +2 -2
  394. package/__chunks__/chunk-IZFMBOQX.js +2 -0
  395. package/__chunks__/chunk-IZVUCFGS.js +2 -0
  396. package/__chunks__/{chunk-SYQOUCPR.js → chunk-J2ZVGV5V.js} +2 -2
  397. package/__chunks__/{chunk-FOXLWZNI.js → chunk-JBUYDFLY.js} +2 -2
  398. package/__chunks__/{chunk-D3WFE5YS.js → chunk-JCY3XPSZ.js} +2 -2
  399. package/__chunks__/{chunk-IC6Q4EU4.js → chunk-JGP7DL5H.js} +2 -2
  400. package/__chunks__/{chunk-6AGOAZNP.js → chunk-JHMCLNLR.js} +2 -2
  401. package/__chunks__/{chunk-ZBEKS6PS.js → chunk-JIKTTFUV.js} +2 -2
  402. package/__chunks__/chunk-JRUHJBQL.js +2 -0
  403. package/__chunks__/chunk-JSZLJIB6.js +2 -0
  404. package/__chunks__/{chunk-V2VRYADK.js → chunk-JX5HWH4J.js} +2 -2
  405. package/__chunks__/{chunk-GSY5IELC.js → chunk-JY6OL6ND.js} +2 -2
  406. package/__chunks__/{chunk-37ID6NXL.js → chunk-JZTWJVWG.js} +2 -2
  407. package/__chunks__/{chunk-VOCTSFNO.js → chunk-K77PSVIN.js} +2 -2
  408. package/__chunks__/{chunk-5SSLY5Y3.js → chunk-KAYJGVHY.js} +2 -2
  409. package/__chunks__/chunk-KCZPUQMS.js +2 -0
  410. package/__chunks__/{chunk-U6EQKACI.js → chunk-KMW3NDPZ.js} +2 -2
  411. package/__chunks__/{chunk-6PYKJOPZ.js → chunk-KNT7OBR5.js} +2 -2
  412. package/__chunks__/chunk-KOQMQ6NG.js +2 -0
  413. package/__chunks__/chunk-KTH3M5IT.js +2 -0
  414. package/__chunks__/{chunk-SKBIXZTQ.js → chunk-KUHSL5X5.js} +2 -2
  415. package/__chunks__/{chunk-PEHW2ZJ4.js → chunk-KWOUJGVB.js} +2 -2
  416. package/__chunks__/{chunk-MEZ7Y2GV.js → chunk-KWYZG2KO.js} +2 -2
  417. package/__chunks__/{chunk-APIHXAWO.js → chunk-KXNGKRWN.js} +2 -2
  418. package/__chunks__/chunk-KZG6ZKUF.js +2 -0
  419. package/__chunks__/chunk-L76ZGHEN.js +2 -0
  420. package/__chunks__/chunk-L7K7RJH7.js +2 -0
  421. package/__chunks__/chunk-LAKQHUPZ.js +2 -0
  422. package/__chunks__/{chunk-3WHZ33T5.js → chunk-LFEKSKQ2.js} +2 -2
  423. package/__chunks__/{chunk-PE3D2MZ6.js → chunk-LH4MJYLH.js} +2 -2
  424. package/__chunks__/{chunk-7ZMQL73G.js → chunk-LLRPL7VG.js} +2 -2
  425. package/__chunks__/{chunk-PY3TMMVZ.js → chunk-LM4U25YU.js} +2 -2
  426. package/__chunks__/{chunk-SIWZ2PMD.js → chunk-LU3YKJFB.js} +2 -2
  427. package/__chunks__/{chunk-PVA7E7LL.js → chunk-LY4FYJ4C.js} +2 -2
  428. package/__chunks__/{chunk-QPPB6FZN.js → chunk-MCXTDL7M.js} +2 -2
  429. package/__chunks__/{chunk-ZQ37SRMI.js → chunk-MGE5DV6U.js} +2 -2
  430. package/__chunks__/{chunk-B7PYBZU4.js → chunk-MQIDJN7U.js} +2 -2
  431. package/__chunks__/{chunk-2MP2EF4U.js → chunk-MRJ4QW6X.js} +2 -2
  432. package/__chunks__/chunk-MTTVEC3D.js +2 -0
  433. package/__chunks__/{chunk-K3M27SZ4.js → chunk-MVKLXKTF.js} +2 -2
  434. package/__chunks__/{chunk-N7OBCE6V.js → chunk-MVUDZB34.js} +2 -2
  435. package/__chunks__/chunk-MWQ7RWF2.js +2 -0
  436. package/__chunks__/{chunk-YUUAC2ZS.js → chunk-MYGVPVCS.js} +2 -2
  437. package/__chunks__/{chunk-XTMENGRC.js → chunk-MZ5SG35I.js} +2 -2
  438. package/__chunks__/{chunk-2WUN7ZR2.js → chunk-N5RGN6AW.js} +2 -2
  439. package/__chunks__/{chunk-LZJ3KLAE.js → chunk-N6LQOJNC.js} +2 -2
  440. package/__chunks__/{chunk-FWX5LT3Y.js → chunk-N6NXFMIH.js} +2 -2
  441. package/__chunks__/{chunk-26N2EF27.js → chunk-N6PWQZFC.js} +2 -2
  442. package/__chunks__/{chunk-TUOZQXHC.js → chunk-N6QOVYEG.js} +2 -2
  443. package/__chunks__/{chunk-JWM347Y4.js → chunk-NANP63QY.js} +2 -2
  444. package/__chunks__/{chunk-IEVWAPRT.js → chunk-NAODEQRI.js} +2 -2
  445. package/__chunks__/{chunk-IBZVKTPJ.js → chunk-NH72OC6D.js} +2 -2
  446. package/__chunks__/chunk-NMGQUARD.js +2 -0
  447. package/__chunks__/{chunk-OBIDQER4.js → chunk-NST37LLV.js} +2 -2
  448. package/__chunks__/{chunk-FZWTKNRZ.js → chunk-NTQMD3HJ.js} +2 -2
  449. package/__chunks__/{chunk-FAWBFUEX.js → chunk-NW5FJ6T6.js} +2 -2
  450. package/__chunks__/{chunk-J24KOCLN.js → chunk-NY2AEE55.js} +2 -2
  451. package/__chunks__/{chunk-MREKWZJ5.js → chunk-O3BM5GVO.js} +2 -2
  452. package/__chunks__/{chunk-3AK2QRZU.js → chunk-O4ES6T7Q.js} +2 -2
  453. package/__chunks__/{chunk-VHZNGPYU.js → chunk-O5ARJAY2.js} +2 -2
  454. package/__chunks__/{chunk-3TGDWC4B.js → chunk-O6R4VP27.js} +2 -2
  455. package/__chunks__/{chunk-6FZZOEGT.js → chunk-O7PO2TJD.js} +2 -2
  456. package/__chunks__/{chunk-BNP5ANPK.js → chunk-ODTGXHHX.js} +2 -2
  457. package/__chunks__/{chunk-RKRZ3GJI.js → chunk-OL2TMWZ3.js} +2 -2
  458. package/__chunks__/{chunk-LAOQIQ3S.js → chunk-OM2PBUXL.js} +2 -2
  459. package/__chunks__/{chunk-RNFUGVZR.js → chunk-OME7FKGA.js} +2 -2
  460. package/__chunks__/{chunk-ERWYH4Q3.js → chunk-OQDYMJP6.js} +2 -2
  461. package/__chunks__/{chunk-CNCN56C4.js → chunk-OQQHKPP3.js} +2 -2
  462. package/__chunks__/{chunk-RCTXKYF2.js → chunk-OREAUDQO.js} +2 -2
  463. package/__chunks__/{chunk-3JXPYC67.js → chunk-OWCZQ7VV.js} +2 -2
  464. package/__chunks__/chunk-OXPUAJQT.js +2 -0
  465. package/__chunks__/{chunk-KLESNFXM.js → chunk-OYQ32WMZ.js} +2 -2
  466. package/__chunks__/{chunk-QOHPZQIO.js → chunk-P2GUUP3M.js} +2 -2
  467. package/__chunks__/{chunk-LXUXSM3O.js → chunk-P5YT37CB.js} +2 -2
  468. package/__chunks__/chunk-P65Y7FVM.js +2 -0
  469. package/__chunks__/{chunk-6PIL672R.js → chunk-PENF3NVS.js} +2 -2
  470. package/__chunks__/{chunk-XW4GS322.js → chunk-PI3UCK7W.js} +2 -2
  471. package/__chunks__/{chunk-HNLGRL3D.js → chunk-PL3OTX5V.js} +2 -2
  472. package/__chunks__/{chunk-DCQDEXLU.js → chunk-PMOBF2HP.js} +2 -2
  473. package/__chunks__/{chunk-BQ5SL7X6.js → chunk-PMUWC3LS.js} +2 -2
  474. package/__chunks__/chunk-PP4TDQ6A.js +2 -0
  475. package/__chunks__/chunk-PPWYTKX5.js +2 -0
  476. package/__chunks__/{chunk-W6W7PAHO.js → chunk-PZM3RIMM.js} +2 -2
  477. package/__chunks__/{chunk-7HRT7DOR.js → chunk-Q4RVW24P.js} +2 -2
  478. package/__chunks__/{chunk-KIIXBWPE.js → chunk-Q6INIDZK.js} +2 -2
  479. package/__chunks__/{chunk-34GEGF5Y.js → chunk-Q7K6WI67.js} +2 -2
  480. package/__chunks__/{chunk-A22MS5SV.js → chunk-QCC45LJR.js} +2 -2
  481. package/__chunks__/{chunk-SV7VIM6Y.js → chunk-QE6ERRDA.js} +2 -2
  482. package/__chunks__/{chunk-WEYBWJHQ.js → chunk-QHFOHQUF.js} +2 -2
  483. package/__chunks__/{chunk-KO4BXGXX.js → chunk-QIXTNSSF.js} +2 -2
  484. package/__chunks__/chunk-QN565FYS.js +2 -0
  485. package/__chunks__/{chunk-FBL3RDGV.js → chunk-QOSVZC6E.js} +2 -2
  486. package/__chunks__/chunk-QP2M2C7R.js +2 -0
  487. package/__chunks__/chunk-QRS362VB.js +2 -0
  488. package/__chunks__/{chunk-DZMN32EC.js → chunk-QSXZEDPY.js} +2 -2
  489. package/__chunks__/{chunk-YKFSAHDW.js → chunk-QT4WN7AI.js} +2 -2
  490. package/__chunks__/chunk-QTLUMJZZ.js +2 -0
  491. package/__chunks__/{chunk-SYRCA6PM.js → chunk-R2W2U2DE.js} +2 -2
  492. package/__chunks__/{chunk-W52B4DN5.js → chunk-R3D7OGJ4.js} +2 -2
  493. package/__chunks__/{chunk-LYR3NXVH.js → chunk-R6JVITNR.js} +2 -2
  494. package/__chunks__/{chunk-PZRXFWXQ.js → chunk-RDLHGENA.js} +2 -2
  495. package/__chunks__/chunk-RGPCH3U7.js +2 -0
  496. package/__chunks__/chunk-RGVBDNCQ.js +2 -0
  497. package/__chunks__/{chunk-PV6TLW3J.js → chunk-RKBWHASN.js} +2 -2
  498. package/__chunks__/chunk-RPAZXC2F.js +2 -0
  499. package/__chunks__/{chunk-ICGF3OUL.js → chunk-RRGE6Q5M.js} +2 -2
  500. package/__chunks__/{chunk-R27H6XH2.js → chunk-RSSKXLYT.js} +2 -2
  501. package/__chunks__/{chunk-ZX4PHT7S.js → chunk-RV633TYI.js} +2 -2
  502. package/__chunks__/chunk-RX2NGJSD.js +2 -0
  503. package/__chunks__/{chunk-L4PN3IXM.js → chunk-S2AYGEWF.js} +2 -2
  504. package/__chunks__/chunk-S3KD5KK2.js +2 -0
  505. package/__chunks__/{chunk-A5L2WT53.js → chunk-S7N4ISBJ.js} +2 -2
  506. package/__chunks__/{chunk-BAGNFQBH.js → chunk-SGXU64BV.js} +2 -2
  507. package/__chunks__/{chunk-ATZ4IWH3.js → chunk-SHLZDPET.js} +2 -2
  508. package/__chunks__/{chunk-5UARG2MD.js → chunk-SIYAGK7F.js} +2 -2
  509. package/__chunks__/{chunk-4T6VXNQ2.js → chunk-SJJVXAIR.js} +2 -2
  510. package/__chunks__/{chunk-7K6OV53X.js → chunk-SO7GR5JK.js} +2 -2
  511. package/__chunks__/{chunk-UPEPL6SX.js → chunk-SQ5WG7US.js} +2 -2
  512. package/__chunks__/{chunk-4CWAT63N.js → chunk-SQ7M7N35.js} +2 -2
  513. package/__chunks__/chunk-SRHRU7FN.js +2 -0
  514. package/__chunks__/{chunk-XOVZT32V.js → chunk-SRWKZ2NL.js} +2 -2
  515. package/__chunks__/{chunk-QKXJD4A3.js → chunk-SUMSAHEJ.js} +2 -2
  516. package/__chunks__/{chunk-VIAWGYHZ.js → chunk-SZSOMMLZ.js} +2 -2
  517. package/__chunks__/chunk-T63IP2TZ.js +2 -0
  518. package/__chunks__/{chunk-DJENMVSO.js → chunk-TAAADPTZ.js} +2 -2
  519. package/__chunks__/{chunk-WMIVV347.js → chunk-TBQRWNZE.js} +2 -2
  520. package/__chunks__/chunk-TFIPRE2I.js +2 -0
  521. package/__chunks__/chunk-U4VASFRN.js +2 -0
  522. package/__chunks__/{chunk-Y4N6ZKFU.js → chunk-UDKFBMCS.js} +2 -2
  523. package/__chunks__/{chunk-PLCDAHXF.js → chunk-UET5NZUD.js} +2 -2
  524. package/__chunks__/{chunk-OCV7NNTI.js → chunk-UFIQJELD.js} +2 -2
  525. package/__chunks__/{chunk-5Q6I6ZSP.js → chunk-ULFF6SZM.js} +2 -2
  526. package/__chunks__/{chunk-XF2JZN2T.js → chunk-UPXLULNI.js} +2 -2
  527. package/__chunks__/{chunk-D3FW5S76.js → chunk-UTXHFTRR.js} +2 -2
  528. package/__chunks__/{chunk-JVQSZJWT.js → chunk-V6JNDMAV.js} +2 -2
  529. package/__chunks__/{chunk-4WSTU7EL.js → chunk-V7EWDPEH.js} +2 -2
  530. package/__chunks__/{chunk-UCIKNUQ5.js → chunk-VG2N5QZN.js} +2 -2
  531. package/__chunks__/{chunk-GCPFA5DS.js → chunk-VNDWQVPX.js} +2 -2
  532. package/__chunks__/chunk-VSLTOYD7.js +2 -0
  533. package/__chunks__/{chunk-5QWM46KI.js → chunk-VT4AOWMZ.js} +2 -2
  534. package/__chunks__/{chunk-Q3MPXHVT.js → chunk-VWU2KLAH.js} +2 -2
  535. package/__chunks__/{chunk-UWXFBSC4.js → chunk-W6UGF3HH.js} +2 -2
  536. package/__chunks__/{chunk-GCJYHTRG.js → chunk-W7O4NHIZ.js} +2 -2
  537. package/__chunks__/{chunk-T5NSPA2G.js → chunk-WAZQLWQR.js} +2 -2
  538. package/__chunks__/{chunk-Q7IG7FVX.js → chunk-WBJOW4A3.js} +2 -2
  539. package/__chunks__/{chunk-VULOUSUG.js → chunk-WBRILQOH.js} +2 -2
  540. package/__chunks__/{chunk-NJV5SUG7.js → chunk-WDPVE2XW.js} +2 -2
  541. package/__chunks__/{chunk-RBKZGMZL.js → chunk-WE3UEXTW.js} +2 -2
  542. package/__chunks__/chunk-WGXCA2WQ.js +2 -0
  543. package/__chunks__/{chunk-Z4NTTIYC.js → chunk-WLT7RNJI.js} +2 -2
  544. package/__chunks__/{chunk-WO6QZHE6.js → chunk-WS7UERKL.js} +2 -2
  545. package/__chunks__/{chunk-XYZQOUPZ.js → chunk-WWNFE6GO.js} +2 -2
  546. package/__chunks__/{chunk-BVAHQTJA.js → chunk-X4XJKUDS.js} +2 -2
  547. package/__chunks__/{chunk-W73YZCYP.js → chunk-X55LBY4T.js} +2 -2
  548. package/__chunks__/{chunk-3S2KZLIA.js → chunk-X5N4DDKX.js} +2 -2
  549. package/__chunks__/{chunk-D4SIPVFT.js → chunk-X7B7HGQH.js} +2 -2
  550. package/__chunks__/{chunk-X5V7KMPK.js → chunk-XCRCY2N2.js} +2 -2
  551. package/__chunks__/{chunk-W22VDMHZ.js → chunk-XGCZQQL6.js} +2 -2
  552. package/__chunks__/chunk-XHJBHORZ.js +2 -0
  553. package/__chunks__/{chunk-HCBCQSLR.js → chunk-XJCZNTZG.js} +2 -2
  554. package/__chunks__/{chunk-HPP6QB6F.js → chunk-XMQ2X44K.js} +2 -2
  555. package/__chunks__/{chunk-ENPJSPIZ.js → chunk-XQX65RBG.js} +2 -2
  556. package/__chunks__/{chunk-HPDIREBZ.js → chunk-XRBJHWQX.js} +2 -2
  557. package/__chunks__/{chunk-PMEKOZBG.js → chunk-XS5UHSTJ.js} +2 -2
  558. package/__chunks__/{chunk-IOXCV3K2.js → chunk-XVDAFFMR.js} +2 -2
  559. package/__chunks__/{chunk-FMBAMOHT.js → chunk-XZJMSDFH.js} +2 -2
  560. package/__chunks__/{chunk-FRRFZ4DE.js → chunk-Y52GGTVY.js} +2 -2
  561. package/__chunks__/{chunk-QRP7IHAC.js → chunk-YBWO3VVO.js} +2 -2
  562. package/__chunks__/{chunk-HQBTZQC4.js → chunk-YDE4SQGZ.js} +2 -2
  563. package/__chunks__/{chunk-BMUXABC4.js → chunk-YJMMSAIM.js} +2 -2
  564. package/__chunks__/chunk-YNSLXCXD.js +2 -0
  565. package/__chunks__/{chunk-WLI45HHV.js → chunk-YOHOCUV2.js} +2 -2
  566. package/__chunks__/{chunk-DZ3L4OD5.js → chunk-YRTHW4UH.js} +2 -2
  567. package/__chunks__/{chunk-U7BRR2HV.js → chunk-YWEI7PTS.js} +2 -2
  568. package/__chunks__/chunk-YYXZECKA.js +2 -0
  569. package/__chunks__/chunk-Z2FY7RSN.js +2 -0
  570. package/__chunks__/{chunk-3QB5E2I7.js → chunk-Z3XCW7WY.js} +2 -2
  571. package/__chunks__/{chunk-HGL3VDIT.js → chunk-ZAX7SBAA.js} +2 -2
  572. package/__chunks__/{chunk-H5I4F6FF.js → chunk-ZERI3KFG.js} +2 -2
  573. package/__chunks__/{chunk-GG7AAYXE.js → chunk-ZGYFH7QB.js} +2 -2
  574. package/__chunks__/{chunk-S4WC5U6P.js → chunk-ZHN6UHDQ.js} +2 -2
  575. package/__chunks__/{chunk-C74JA23D.js → chunk-ZKNJEXUK.js} +2 -2
  576. package/__chunks__/{chunk-INV22AP7.js → chunk-ZLJKAQJC.js} +2 -2
  577. package/__chunks__/{chunk-B3BGTTGQ.js → chunk-ZLLO4S7S.js} +2 -2
  578. package/__chunks__/{chunk-H47XIPVZ.js → chunk-ZNTXKKKO.js} +2 -2
  579. package/__chunks__/{chunk-EKUV2K5K.js → chunk-ZS72PCLB.js} +2 -2
  580. package/__chunks__/chunk-ZTTE3F5O.js +2 -0
  581. package/__chunks__/{chunk-IBLFHVWI.js → chunk-ZUP7EEJG.js} +2 -2
  582. package/__chunks__/{chunk-ASGKLYIR.js → chunk-ZWAD6DXX.js} +2 -2
  583. package/__chunks__/{chunk-24CUGG55.js → chunk-ZWQBM3X3.js} +2 -2
  584. package/__chunks__/chunk-ZYEB2QZV.js +2 -0
  585. package/__chunks__/{chunk-NVNHGKKE.js → chunk-ZYRGHDFE.js} +2 -2
  586. package/__commonjs/UI/SignTransactionsModals/SignTransactionsModals.js +5 -5
  587. package/__commonjs/UI/SignTransactionsModals/SignWithDeviceModal/SignStep.js +1 -1
  588. package/__commonjs/UI/SignTransactionsModals/SignWithDeviceModal/SignWithDeviceModal.js +4 -4
  589. package/__commonjs/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmAmount/ConfirmAmount.js +3 -3
  590. package/__commonjs/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmAmount/components/ConfirmAmountNftSft/ConfirmAmountNftSft.js +3 -3
  591. package/__commonjs/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmAmount/components/ConfirmAmountNftSft/index.js +3 -3
  592. package/__commonjs/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmAmount/index.js +3 -3
  593. package/__commonjs/UI/SignTransactionsModals/SignWithDeviceModal/index.js +4 -4
  594. package/__commonjs/UI/SignTransactionsModals/SignWithExtraModal/SignWithExtraModal.js +1 -1
  595. package/__commonjs/UI/SignTransactionsModals/SignWithExtraModal/index.js +1 -1
  596. package/__commonjs/UI/SignTransactionsModals/SignWithLedgerModal/SignWithLedgerModal.js +21 -21
  597. package/__commonjs/UI/SignTransactionsModals/SignWithLedgerModal/index.js +21 -21
  598. package/__commonjs/UI/SignTransactionsModals/components/ConfirmationScreen.js +2 -2
  599. package/__commonjs/UI/SignTransactionsModals/components/DeviceConfirmationScreen.js +2 -2
  600. package/__commonjs/UI/SignTransactionsModals/components/index.js +1 -1
  601. package/__commonjs/UI/SignTransactionsModals/index.js +5 -5
  602. package/__commonjs/UI/TransactionInfo/components/NonceMessage/NonceMessage.js +3 -3
  603. package/__commonjs/UI/TransactionInfo/components/NonceMessage/index.js +3 -3
  604. package/__commonjs/UI/TransactionInfo/components/ScResultsList/components/ResultSender/ResultSender.js +10 -10
  605. package/__commonjs/UI/TransactionInfo/components/ScResultsList/components/ResultSender/index.js +10 -10
  606. package/__commonjs/UI/TransactionInfo/components/TransactionAction/components/ActionText/index.js +4 -4
  607. package/__commonjs/UI/TransactionInfo/components/TransactionAction/components/index.js +4 -4
  608. package/__commonjs/UI/TransactionInfo/components/TransactionLogs/TransactionLogs.js +20 -20
  609. package/__commonjs/UI/TransactionInfo/components/TransactionLogs/index.js +20 -20
  610. package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoGasUsed/TransactionInfoGasUsed.js +3 -3
  611. package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoGasUsed/index.js +3 -3
  612. package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoScResults/TransactionInfoScResults.js +22 -22
  613. package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoScResults/index.js +22 -22
  614. package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/index.js +4 -4
  615. package/__commonjs/UI/TransactionsTable/components/AccountName.js +4 -4
  616. package/__commonjs/UI/TransactionsTable/components/TransactionReceiver.js +2 -2
  617. package/__commonjs/UI/TransactionsTable/components/TransactionSender.js +2 -2
  618. package/__commonjs/UI/TransactionsToastList/components/TransactionToast/components/DefaultToastDeleteButton.js +1 -1
  619. package/__commonjs/UI/TransactionsToastList/components/TransactionToast/utils/getToastDataStateByStatus.js +1 -1
  620. package/__commonjs/UI/index.js +20 -20
  621. package/__commonjs/UI/ledger/LedgerLoginButton/LedgerLoginButton.js +20 -20
  622. package/__commonjs/UI/ledger/LedgerLoginContainer/AddressTable/AddressTable.js +4 -4
  623. package/__commonjs/UI/ledger/LedgerLoginContainer/AddressTable/index.js +4 -4
  624. package/__commonjs/UI/ledger/LedgerLoginContainer/LedgerLoginContainer.js +20 -20
  625. package/__commonjs/UI/ledger/LedgerLoginContainer/index.js +20 -20
  626. package/__commonjs/UI/walletConnect/WalletConnectLoginButton/WalletConnectLoginButton.js +2 -2
  627. package/__commonjs/UI/walletConnect/WalletConnectLoginButton/index.js +2 -2
  628. package/__commonjs/UI/walletConnect/index.js +2 -2
  629. package/__commonjs/components/LogoutListener/helpers/useLogoutFromMultipleTabs.js +2 -2
  630. package/__commonjs/components/LogoutListener/helpers/useNativeAuthLogout.js +2 -2
  631. package/__commonjs/components/ProviderInitializer/hooks/index.js +1 -1
  632. package/__commonjs/components/ProviderInitializer/hooks/useSetLedgerProvider.js +1 -1
  633. package/__commonjs/components/TransactionSender/utils/handleSendTransactionsErrors.js +1 -1
  634. package/__commonjs/hooks/economics/index.js +1 -1
  635. package/__commonjs/hooks/economics/useGetEgldPrice.js +1 -1
  636. package/__commonjs/hooks/index.js +3 -3
  637. package/__commonjs/hooks/transactions/batch/useGetBatches.js +1 -1
  638. package/__commonjs/hooks/transactions/helpers/checkNeedsGuardianSigning.js +1 -1
  639. package/__commonjs/hooks/transactions/helpers/getAreAllTransactionsSignedByGuardian.js +1 -1
  640. package/__commonjs/hooks/transactions/helpers/index.js +1 -1
  641. package/__commonjs/hooks/transactions/index.js +1 -1
  642. package/__commonjs/hooks/transactions/useCheckTransactionStatus/manageFailedTransactions.js +1 -1
  643. package/__commonjs/hooks/transactions/useCheckTransactionStatus/manageTimedOutTransactions.js +1 -1
  644. package/__commonjs/hooks/transactions/useSignMultipleTransactions.js +1 -1
  645. package/__commonjs/hooks/transactions/useSignTransactions.js +1 -1
  646. package/__commonjs/hooks/transactions/useSignTransactionsWithDevice.d.ts +1 -1
  647. package/__commonjs/hooks/transactions/useSignTransactionsWithDevice.js +1 -1
  648. package/__commonjs/hooks/transactions/useSignTransactionsWithLedger.js +1 -1
  649. package/__commonjs/hooks/transactions/useTransactionsTracker.js +2 -2
  650. package/__commonjs/reduxStore/slices/toastsSlice.js +1 -1
  651. package/__commonjs/services/transactions/getBatchTransactionsStatus.js +1 -1
  652. package/__commonjs/services/transactions/utils.js +1 -1
  653. package/__commonjs/types/index.js +1 -1
  654. package/__commonjs/types/transactions.types.d.ts +1 -1
  655. package/__commonjs/utils/account/getShardOfAddress.js +1 -1
  656. package/__commonjs/utils/index.js +1 -1
  657. package/__commonjs/utils/operations/ledger/getLedgerVersionOptions.js +1 -1
  658. package/__commonjs/utils/operations/ledger/index.js +1 -1
  659. package/__commonjs/utils/transactions/builtCallbackUrl.js +1 -1
  660. package/__commonjs/utils/transactions/index.js +1 -1
  661. package/__commonjs/wrappers/DappProvider/DappProvider.js +3 -3
  662. package/__mocks__/accountConfig.js +1 -1
  663. package/__mocks__/index.js +1 -1
  664. package/__mocks__/server.js +1 -1
  665. package/__mocks__/utils/index.js +1 -1
  666. package/__mocks__/utils/renderWithProvider.js +1 -1
  667. package/apiCalls/accounts/getAccountFromApi.js +1 -1
  668. package/apiCalls/accounts/index.js +1 -1
  669. package/apiCalls/configuration/getApiAddressForChainId.js +1 -1
  670. package/apiCalls/configuration/getEnvironmentForChainId.js +1 -1
  671. package/apiCalls/configuration/getNetworkConfig.js +1 -1
  672. package/apiCalls/configuration/getServerConfigurationForEnvironment.js +1 -1
  673. package/apiCalls/configuration/index.js +1 -1
  674. package/apiCalls/economics/getEconomicsInfo.js +1 -1
  675. package/apiCalls/economics/index.js +1 -1
  676. package/apiCalls/getScamAddressData.js +1 -1
  677. package/apiCalls/index.js +1 -1
  678. package/apiCalls/transactions/getTransactionsByHashes.js +1 -1
  679. package/apiCalls/transactions/index.js +1 -1
  680. package/apiCalls/transactions/sendSignedBatchTransactions.js +1 -1
  681. package/apiCalls/transactions/sendSignedTransactions.js +1 -1
  682. package/apiCalls/utils/getCleanApiAddress.js +1 -1
  683. package/apiCalls/utils/index.js +1 -1
  684. package/components/LogoutListener/LogoutListener.js +1 -1
  685. package/components/LogoutListener/helpers/index.js +1 -1
  686. package/components/LogoutListener/helpers/useLogoutFromMultipleTabs.js +1 -1
  687. package/components/LogoutListener/helpers/useNativeAuthLogout.js +1 -1
  688. package/components/LogoutListener/helpers/useNativeAuthLogoutWarning/index.js +1 -1
  689. package/components/LogoutListener/helpers/useNativeAuthLogoutWarning/useNativeAuthLogoutWarning.js +1 -1
  690. package/components/LogoutListener/index.js +1 -1
  691. package/components/ProviderInitializer/ProviderInitializer.js +1 -1
  692. package/components/ProviderInitializer/helpers/index.js +1 -1
  693. package/components/ProviderInitializer/helpers/processMultisigAccount.js +1 -1
  694. package/components/ProviderInitializer/hooks/index.js +1 -1
  695. package/components/ProviderInitializer/hooks/useSetLedgerProvider.js +1 -1
  696. package/components/ProviderInitializer/index.js +1 -1
  697. package/components/TransactionSender/TransactionSender.js +1 -1
  698. package/components/TransactionSender/index.js +1 -1
  699. package/components/TransactionSender/utils/handleSendBatchTransactionsErrors.js +1 -1
  700. package/components/TransactionSender/utils/handleSendTransactionsErrors.js +1 -1
  701. package/components/TransactionSender/utils/invokeSendTransactions.js +1 -1
  702. package/components/TransactionsTracker/TransactionTracker.js +1 -1
  703. package/components/TransactionsTracker/index.js +1 -1
  704. package/constants/index.js +1 -1
  705. package/constants/network.js +1 -1
  706. package/hooks/account/index.js +1 -1
  707. package/hooks/account/useGetAccount.js +1 -1
  708. package/hooks/account/useGetAccountFromApi.js +1 -1
  709. package/hooks/account/useGetAccountInfo.js +1 -1
  710. package/hooks/account/useGetAccountProvider.js +1 -1
  711. package/hooks/account/useGetIsLoggedIn.js +1 -1
  712. package/hooks/account/useGetIsWalletConnectV2Initialized.js +1 -1
  713. package/hooks/account/useGetLoginInfo.js +1 -1
  714. package/hooks/account/useGetWebsocketEvent.js +1 -1
  715. package/hooks/economics/index.js +1 -1
  716. package/hooks/economics/useGetEgldPrice.js +1 -1
  717. package/hooks/index.js +1 -1
  718. package/hooks/login/index.js +1 -1
  719. package/hooks/login/useCrossWindowLogin.js +1 -1
  720. package/hooks/login/useExtensionLogin.js +1 -1
  721. package/hooks/login/useGetModalLoginMethods.js +1 -1
  722. package/hooks/login/useLedgerLogin.js +1 -1
  723. package/hooks/login/useLoginService.js +1 -1
  724. package/hooks/login/useOperaLogin.js +1 -1
  725. package/hooks/login/useWalletConnectV2Login.js +1 -1
  726. package/hooks/login/useWebViewLogin.js +1 -1
  727. package/hooks/login/useWebWalletLogin.js +1 -1
  728. package/hooks/login/useXaliasLogin.js +1 -1
  729. package/hooks/signMessage/index.js +1 -1
  730. package/hooks/signMessage/useGetLastSignedMessageSession.js +1 -1
  731. package/hooks/signMessage/useGetSignMessageSession.js +1 -1
  732. package/hooks/signMessage/useGetSignedMessageStatus.js +1 -1
  733. package/hooks/signMessage/useSignMessage.js +1 -1
  734. package/hooks/toasts/index.js +1 -1
  735. package/hooks/toasts/useGetToasts.js +1 -1
  736. package/hooks/toasts/useTransactionsToasts.js +1 -1
  737. package/hooks/transactions/batch/tracker/useBatchTransactionsTracker.js +1 -1
  738. package/hooks/transactions/batch/tracker/useCheckBatch.js +1 -1
  739. package/hooks/transactions/batch/tracker/useCheckBatchesOnWsFailureFallback.js +1 -1
  740. package/hooks/transactions/batch/tracker/useCheckHangingBatchesFallback.js +1 -1
  741. package/hooks/transactions/batch/tracker/useUpdateBatch.js +1 -1
  742. package/hooks/transactions/batch/tracker/useVerifyBatchStatus.js +1 -1
  743. package/hooks/transactions/batch/useGetBatchStatus.js +1 -1
  744. package/hooks/transactions/batch/useGetBatches.js +1 -1
  745. package/hooks/transactions/batch/useResolveBatchStatusResponse.js +1 -1
  746. package/hooks/transactions/batch/useSendBatchTransactions.js +1 -1
  747. package/hooks/transactions/helpers/buildBatchId.js +1 -1
  748. package/hooks/transactions/helpers/checkNeedsGuardianSigning.js +1 -1
  749. package/hooks/transactions/helpers/extractSessionId.js +1 -1
  750. package/hooks/transactions/helpers/getAreAllTransactionsSignedByGuardian.js +1 -1
  751. package/hooks/transactions/helpers/getShouldMoveTransactionsToSignedState.js +1 -1
  752. package/hooks/transactions/helpers/index.js +1 -1
  753. package/hooks/transactions/helpers/useClearTransactionsToSignWithWarning.js +1 -1
  754. package/hooks/transactions/helpers/useGetLedgerProvider.js +1 -1
  755. package/hooks/transactions/helpers/useSetTransactionNonces.js +1 -1
  756. package/hooks/transactions/index.js +1 -1
  757. package/hooks/transactions/useCancelWalletConnectAction.js +1 -1
  758. package/hooks/transactions/useCheckTransactionStatus/checkBatch.js +1 -1
  759. package/hooks/transactions/useCheckTransactionStatus/index.js +1 -1
  760. package/hooks/transactions/useCheckTransactionStatus/manageFailedTransactions.js +1 -1
  761. package/hooks/transactions/useCheckTransactionStatus/manageTimedOutTransactions.js +1 -1
  762. package/hooks/transactions/useCheckTransactionStatus/useCheckTransactionStatus.js +1 -1
  763. package/hooks/transactions/useGetActiveTransactionsStatus.js +1 -1
  764. package/hooks/transactions/useGetFailedTransactions.js +1 -1
  765. package/hooks/transactions/useGetLastPendingTransactionHash.js +1 -1
  766. package/hooks/transactions/useGetPendingTransactions.js +1 -1
  767. package/hooks/transactions/useGetSignTransactionsError.js +1 -1
  768. package/hooks/transactions/useGetSignedTransactions.js +1 -1
  769. package/hooks/transactions/useGetSuccessfulTransactions.js +1 -1
  770. package/hooks/transactions/useGetTokenDetails.js +1 -1
  771. package/hooks/transactions/useGetTransactionDisplayInfo.js +1 -1
  772. package/hooks/transactions/useParseMultiEsdtTransferData.js +1 -1
  773. package/hooks/transactions/useParseSignedTransactions.js +1 -1
  774. package/hooks/transactions/useSignMultipleTransactions.js +1 -1
  775. package/hooks/transactions/useSignTransactions.js +1 -1
  776. package/hooks/transactions/useSignTransactionsCommonData.js +1 -1
  777. package/hooks/transactions/useSignTransactionsWithDevice.d.ts +1 -1
  778. package/hooks/transactions/useSignTransactionsWithDevice.js +1 -1
  779. package/hooks/transactions/useSignTransactionsWithLedger.js +1 -1
  780. package/hooks/transactions/useTrackTransactionStatus.js +1 -1
  781. package/hooks/transactions/useTransactionsTracker.js +1 -1
  782. package/hooks/useGetNetworkConfig.js +1 -1
  783. package/hooks/useGetNotification.js +1 -1
  784. package/hooks/websocketListener/index.js +1 -1
  785. package/hooks/websocketListener/useInitializeWebsocketConnection.js +1 -1
  786. package/hooks/websocketListener/useRegisterWebsocketListener.js +1 -1
  787. package/models/index.js +1 -1
  788. package/models/newTransaction.js +1 -1
  789. package/package.json +1 -1
  790. package/providers/accountProvider.js +1 -1
  791. package/providers/experimentalWebViewProvider/ExperimentalWebviewProvider.js +1 -1
  792. package/providers/experimentalWebViewProvider/index.js +1 -1
  793. package/providers/index.js +1 -1
  794. package/providers/utils.js +1 -1
  795. package/providers/webviewProvider/index.js +1 -1
  796. package/providers/webviewProvider/requestMethods.js +1 -1
  797. package/providers/webviewProvider/webviewProvider.js +1 -1
  798. package/reduxStore/DappProviderContext.js +1 -1
  799. package/reduxStore/commonActions.js +1 -1
  800. package/reduxStore/middlewares/loginSessionMiddleware.js +1 -1
  801. package/reduxStore/persistConfig.js +1 -1
  802. package/reduxStore/persistedRootReducer.js +1 -1
  803. package/reduxStore/reducers.js +1 -1
  804. package/reduxStore/rootReducer.js +1 -1
  805. package/reduxStore/selectors/accountInfoSelectors.js +1 -1
  806. package/reduxStore/selectors/index.js +1 -1
  807. package/reduxStore/selectors/loginInfoSelectors.js +1 -1
  808. package/reduxStore/selectors/transactionsInfoSelectors.js +1 -1
  809. package/reduxStore/selectors/transactionsSelectors.js +1 -1
  810. package/reduxStore/slices/accountInfoSlice.js +1 -1
  811. package/reduxStore/slices/batchTransactionsSlice.js +1 -1
  812. package/reduxStore/slices/dappConfigSlice.js +1 -1
  813. package/reduxStore/slices/index.js +1 -1
  814. package/reduxStore/slices/loginInfoSlice.js +1 -1
  815. package/reduxStore/slices/modalsSlice.js +1 -1
  816. package/reduxStore/slices/networkConfigSlice.js +1 -1
  817. package/reduxStore/slices/signedMessageInfoSlice.js +1 -1
  818. package/reduxStore/slices/toastsSlice.js +1 -1
  819. package/reduxStore/slices/transactionsInfoSlice.js +1 -1
  820. package/reduxStore/slices/transactionsSlice.js +1 -1
  821. package/reduxStore/store.js +1 -1
  822. package/services/index.js +1 -1
  823. package/services/nativeAuth/helpers/getAuthorizationInfo.js +1 -1
  824. package/services/nativeAuth/helpers/getIsNativeAuthSingingForbidden.js +1 -1
  825. package/services/nativeAuth/helpers/index.js +1 -1
  826. package/services/nativeAuth/helpers/loginWithNativeAuthToken.js +1 -1
  827. package/services/transactions/clearTransactions.js +1 -1
  828. package/services/transactions/getBatchTransactionsStatus.js +1 -1
  829. package/services/transactions/getTransactionsDetails.js +1 -1
  830. package/services/transactions/index.js +1 -1
  831. package/services/transactions/isCrossShardTransaction.js +1 -1
  832. package/services/transactions/sendBatchTransactions.js +1 -1
  833. package/services/transactions/sendBatchTransactions.test.js +1 -1
  834. package/services/transactions/sendTransactions.js +1 -1
  835. package/services/transactions/signTransactions.js +1 -1
  836. package/services/transactions/transformAndSignTransactions.js +1 -1
  837. package/services/transactions/updateSignedTransactions.js +1 -1
  838. package/services/transactions/utils/transformTransactionsToSign.js +1 -1
  839. package/services/transactions/utils.js +1 -1
  840. package/types/index.js +1 -1
  841. package/types/transactions.types.d.ts +1 -1
  842. package/types/transactions.types.js +1 -1
  843. package/utils/account/getAccount.js +1 -1
  844. package/utils/account/getAccountBalance.js +1 -1
  845. package/utils/account/getAccountProviderType.js +1 -1
  846. package/utils/account/getAccountShard.js +1 -1
  847. package/utils/account/getAddress.js +1 -1
  848. package/utils/account/getIsProviderEqualTo.js +1 -1
  849. package/utils/account/getLatestNonce.js +1 -1
  850. package/utils/account/getShardOfAddress.js +1 -1
  851. package/utils/account/index.js +1 -1
  852. package/utils/account/loginWithExternalProvider.js +1 -1
  853. package/utils/account/refreshAccount.js +1 -1
  854. package/utils/account/setNonce.js +1 -1
  855. package/utils/account/signMessage.js +1 -1
  856. package/utils/getIsLoggedIn.js +1 -1
  857. package/utils/index.js +1 -1
  858. package/utils/logout.js +1 -1
  859. package/utils/network/getChainID.js +1 -1
  860. package/utils/network/getEgldLabel.js +1 -1
  861. package/utils/network/getNetworkConfig.js +1 -1
  862. package/utils/network/index.js +1 -1
  863. package/utils/operations/calculateFeeInFiat.js +1 -1
  864. package/utils/operations/calculateFeeLimit.js +1 -1
  865. package/utils/operations/denominate.js +1 -1
  866. package/utils/operations/formatAmount.js +1 -1
  867. package/utils/operations/index.js +1 -1
  868. package/utils/operations/ledger/getLedgerVersionOptions.js +1 -1
  869. package/utils/operations/ledger/index.js +1 -1
  870. package/utils/operations/nominate.js +1 -1
  871. package/utils/operations/parseAmount.js +1 -1
  872. package/utils/smartContracts.js +1 -1
  873. package/utils/toasts/customToastsActions.js +1 -1
  874. package/utils/toasts/index.js +1 -1
  875. package/utils/transactions/batch/getTransactionsStatus.js +1 -1
  876. package/utils/transactions/batch/updateBatchTransactionsStatuses.js +1 -1
  877. package/utils/transactions/builtCallbackUrl.js +1 -1
  878. package/utils/transactions/getAllTransactionsLink.js +1 -1
  879. package/utils/transactions/getAreTransactionsOnSameShard.js +1 -1
  880. package/utils/transactions/getInterpretedTransaction/getInterpretedTransaction.js +1 -1
  881. package/utils/transactions/getInterpretedTransaction/helpers/getReceiptMessage.js +1 -1
  882. package/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/getTransactionValue.js +1 -1
  883. package/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/helpers/getEgldValueData.js +1 -1
  884. package/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/helpers/getTitleText.js +1 -1
  885. package/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/helpers/getValueFromActions.js +1 -1
  886. package/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/helpers/getValueFromDataField.js +1 -1
  887. package/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/helpers/getValueFromOperations.js +1 -1
  888. package/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/helpers/index.js +1 -1
  889. package/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/index.js +1 -1
  890. package/utils/transactions/getInterpretedTransaction/helpers/index.js +1 -1
  891. package/utils/transactions/getInterpretedTransaction/index.js +1 -1
  892. package/utils/transactions/getTransactionLink.js +1 -1
  893. package/utils/transactions/index.js +1 -1
  894. package/utils/transactions/isGuardianTx.js +1 -1
  895. package/utils/transactions/parseMultiEsdtTransferData.js +1 -1
  896. package/utils/transactions/parseTransactionAfterSigning.js +1 -1
  897. package/utils/transactions/removeTransactionParamsFromUrl.js +1 -1
  898. package/utils/transactions/transactionInfoHelpers/decodeForDisplay/decodeForDisplay.js +1 -1
  899. package/utils/transactions/transactionInfoHelpers/decodeForDisplay/helpers/getDisplayValueAndValidationWarnings.js +1 -1
  900. package/utils/transactions/transactionInfoHelpers/decodeForDisplay/helpers/getSmartDecodedParts.js +1 -1
  901. package/utils/transactions/transactionInfoHelpers/decodeForDisplay/helpers/index.js +1 -1
  902. package/utils/transactions/transactionInfoHelpers/decodeForDisplay/index.js +1 -1
  903. package/utils/transactions/transactionInfoHelpers/getScResultsInitialDecodeMethod.js +1 -1
  904. package/utils/transactions/transactionInfoHelpers/getShardText.js +1 -1
  905. package/utils/transactions/transactionInfoHelpers/getTransactionActionNftText.js +1 -1
  906. package/utils/transactions/transactionInfoHelpers/getTransactionActionTokenText.js +1 -1
  907. package/utils/transactions/transactionInfoHelpers/getTransactionLinkWithLabel.js +1 -1
  908. package/utils/transactions/transactionInfoHelpers/getTransactionMessages.js +1 -1
  909. package/utils/transactions/transactionInfoHelpers/index.js +1 -1
  910. package/utils/transactions/transactionInfoHelpers/transactionActionUnwrapper/helpers/index.js +1 -1
  911. package/utils/transactions/transactionInfoHelpers/transactionActionUnwrapper/helpers/mexUnwrapper.js +1 -1
  912. package/utils/transactions/transactionInfoHelpers/transactionActionUnwrapper/index.js +1 -1
  913. package/utils/transactions/transactionInfoHelpers/transactionActionUnwrapper/transactionActionUnwrapper.js +1 -1
  914. package/utils/transactions/transactionInfoHelpers/useDataDecode.js +1 -1
  915. package/utils/transactions/transactionInfoHelpers/useDataDecodeMethod.js +1 -1
  916. package/utils/validation/index.js +1 -1
  917. package/utils/validation/maxDecimals.js +1 -1
  918. package/utils/validation/stringIsFloat.js +1 -1
  919. package/utils/waitForChainID.js +1 -1
  920. package/utils/walletconnect/__mocks__/sdkWalletconnectProvider.js +1 -1
  921. package/web/hooks/index.js +1 -1
  922. package/web/hooks/useIdleTimer.js +1 -1
  923. package/web/index.js +1 -1
  924. package/wrappers/AppInitializer.js +1 -1
  925. package/wrappers/AuthenticatedRoutesWrapper/AuthenticatedRoutesWrapper.js +1 -1
  926. package/wrappers/AuthenticatedRoutesWrapper/index.js +1 -1
  927. package/wrappers/AxiosInterceptorContext/AxiosInterceptorContext.js +1 -1
  928. package/wrappers/AxiosInterceptorContext/components/AxiosInterceptor.js +1 -1
  929. package/wrappers/AxiosInterceptorContext/components/AxiosInterceptorContextProvider.js +1 -1
  930. package/wrappers/AxiosInterceptorContext/components/LoginInfoListener.js +1 -1
  931. package/wrappers/AxiosInterceptorContext/components/index.js +1 -1
  932. package/wrappers/AxiosInterceptorContext/index.js +1 -1
  933. package/wrappers/DappProvider/CustomComponents.js +1 -1
  934. package/wrappers/DappProvider/DappProvider.js +1 -1
  935. package/wrappers/DappProvider/index.js +1 -1
  936. package/wrappers/index.js +1 -1
  937. package/__chunks__/chunk-2EICWYAO.js +0 -2
  938. package/__chunks__/chunk-2PO5SHSC.js +0 -2
  939. package/__chunks__/chunk-35SGKCOU.js +0 -2
  940. package/__chunks__/chunk-3STJCHFZ.js +0 -2
  941. package/__chunks__/chunk-3YL7HPLO.js +0 -2
  942. package/__chunks__/chunk-4BNKFRT5.js +0 -2
  943. package/__chunks__/chunk-4ERO36BQ.js +0 -2
  944. package/__chunks__/chunk-55BMTC73.js +0 -2
  945. package/__chunks__/chunk-5GKGLG3C.js +0 -2
  946. package/__chunks__/chunk-5IRTJ2IS.js +0 -2
  947. package/__chunks__/chunk-5ISZDK75.js +0 -2
  948. package/__chunks__/chunk-5KIGTVMH.js +0 -2
  949. package/__chunks__/chunk-5V357D2K.js +0 -2
  950. package/__chunks__/chunk-6HDFHW3U.js +0 -2
  951. package/__chunks__/chunk-77CAR527.js +0 -2
  952. package/__chunks__/chunk-7CIEG4KL.js +0 -2
  953. package/__chunks__/chunk-A4KPR7JI.js +0 -2
  954. package/__chunks__/chunk-B7IDIKYC.js +0 -2
  955. package/__chunks__/chunk-BURMO7Y7.js +0 -2
  956. package/__chunks__/chunk-CNHB7DKN.js +0 -2
  957. package/__chunks__/chunk-CSMH53OE.js +0 -2
  958. package/__chunks__/chunk-CUKBB747.js +0 -2
  959. package/__chunks__/chunk-DE7DTRFZ.js +0 -2
  960. package/__chunks__/chunk-DN6SQKAR.js +0 -2
  961. package/__chunks__/chunk-DZFSWLDH.js +0 -2
  962. package/__chunks__/chunk-EOZZODLX.js +0 -2
  963. package/__chunks__/chunk-F3QMVJM2.js +0 -2
  964. package/__chunks__/chunk-FAQPQFJT.js +0 -2
  965. package/__chunks__/chunk-FN5FS6KR.js +0 -2
  966. package/__chunks__/chunk-G3NHQGLA.js +0 -2
  967. package/__chunks__/chunk-GOWBQDOK.js +0 -2
  968. package/__chunks__/chunk-H5MXJ4SU.js +0 -2
  969. package/__chunks__/chunk-HDRHCVHT.js +0 -2
  970. package/__chunks__/chunk-IBH7CXIG.js +0 -2
  971. package/__chunks__/chunk-IE2CKCF5.js +0 -2
  972. package/__chunks__/chunk-IYF2OKIK.js +0 -2
  973. package/__chunks__/chunk-JCSZQ6SA.js +0 -2
  974. package/__chunks__/chunk-JMUMAHF6.js +0 -2
  975. package/__chunks__/chunk-K363HEWE.js +0 -2
  976. package/__chunks__/chunk-K5FX4M4S.js +0 -2
  977. package/__chunks__/chunk-KM7D7NWH.js +0 -2
  978. package/__chunks__/chunk-MHB6ADVS.js +0 -2
  979. package/__chunks__/chunk-MPOTFCAH.js +0 -2
  980. package/__chunks__/chunk-MPSUTQ7H.js +0 -2
  981. package/__chunks__/chunk-NOCIL3TW.js +0 -2
  982. package/__chunks__/chunk-NYI44NMA.js +0 -2
  983. package/__chunks__/chunk-OCVLDPJK.js +0 -2
  984. package/__chunks__/chunk-OKRWYL74.js +0 -2
  985. package/__chunks__/chunk-OP55X3A3.js +0 -2
  986. package/__chunks__/chunk-PKZOVMST.js +0 -2
  987. package/__chunks__/chunk-Q43FJCOB.js +0 -2
  988. package/__chunks__/chunk-QTU5BZ7I.js +0 -2
  989. package/__chunks__/chunk-QVZZKOJL.js +0 -2
  990. package/__chunks__/chunk-QWJKKWKY.js +0 -2
  991. package/__chunks__/chunk-RC3L4FCU.js +0 -2
  992. package/__chunks__/chunk-RRE2WE74.js +0 -2
  993. package/__chunks__/chunk-UCGMOEJJ.js +0 -2
  994. package/__chunks__/chunk-UGDCNGU4.js +0 -2
  995. package/__chunks__/chunk-UJ3S465K.js +0 -2
  996. package/__chunks__/chunk-UJYUCC3G.js +0 -2
  997. package/__chunks__/chunk-UUYNGUKK.js +0 -2
  998. package/__chunks__/chunk-V2KD2K5B.js +0 -2
  999. package/__chunks__/chunk-VGR7NDCB.js +0 -2
  1000. package/__chunks__/chunk-VPLXJILL.js +0 -2
  1001. package/__chunks__/chunk-WE7GDLUF.js +0 -2
  1002. package/__chunks__/chunk-WLQGSC3V.js +0 -2
  1003. package/__chunks__/chunk-XTOXUHOV.js +0 -2
  1004. package/__chunks__/chunk-XUH2HPCH.js +0 -2
  1005. package/__chunks__/chunk-XXYLPTR7.js +0 -2
@@ -1,4 +1,4 @@
1
- "use strict";var er=Object.create;var W=Object.defineProperty;var rr=Object.getOwnPropertyDescriptor;var tr=Object.getOwnPropertyNames,ce=Object.getOwnPropertySymbols,nr=Object.getPrototypeOf,ue=Object.prototype.hasOwnProperty,ir=Object.prototype.propertyIsEnumerable;var pe=(t,e,r)=>e in t?W(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,D=(t,e)=>{for(var r in e||(e={}))ue.call(e,r)&&pe(t,r,e[r]);if(ce)for(var r of ce(e))ir.call(e,r)&&pe(t,r,e[r]);return t};var or=(t,e)=>()=>(t&&(e=t(t=0)),e);var V=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),ar=(t,e)=>{for(var r in e)W(t,r,{get:e[r],enumerable:!0})},de=(t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of tr(e))!ue.call(t,i)&&i!==r&&W(t,i,{get:()=>e[i],enumerable:!(n=rr(e,i))||n.enumerable});return t};var O=(t,e,r)=>(r=t!=null?er(nr(t)):{},de(e||!t||!t.__esModule?W(r,"default",{value:t,enumerable:!0}):r,t)),sr=t=>de(W({},"__esModule",{value:!0}),t);var me=V(H=>{"use strict";l();H.byteLength=cr;H.toByteArray=ur;H.fromByteArray=fr;var _=[],v=[],lr=typeof Uint8Array!="undefined"?Uint8Array:Array,K="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(C=0,ge=K.length;C<ge;++C)_[C]=K[C],v[K.charCodeAt(C)]=C;var C,ge;v["-".charCodeAt(0)]=62;v["_".charCodeAt(0)]=63;function fe(t){var e=t.length;if(e%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var r=t.indexOf("=");r===-1&&(r=e);var n=r===e?0:4-r%4;return[r,n]}function cr(t){var e=fe(t),r=e[0],n=e[1];return(r+n)*3/4-n}function pr(t,e,r){return(e+r)*3/4-r}function ur(t){var e,r=fe(t),n=r[0],i=r[1],o=new lr(pr(t,n,i)),a=0,c=i>0?n-4:n,p;for(p=0;p<c;p+=4)e=v[t.charCodeAt(p)]<<18|v[t.charCodeAt(p+1)]<<12|v[t.charCodeAt(p+2)]<<6|v[t.charCodeAt(p+3)],o[a++]=e>>16&255,o[a++]=e>>8&255,o[a++]=e&255;return i===2&&(e=v[t.charCodeAt(p)]<<2|v[t.charCodeAt(p+1)]>>4,o[a++]=e&255),i===1&&(e=v[t.charCodeAt(p)]<<10|v[t.charCodeAt(p+1)]<<4|v[t.charCodeAt(p+2)]>>2,o[a++]=e>>8&255,o[a++]=e&255),o}function dr(t){return _[t>>18&63]+_[t>>12&63]+_[t>>6&63]+_[t&63]}function gr(t,e,r){for(var n,i=[],o=e;o<r;o+=3)n=(t[o]<<16&16711680)+(t[o+1]<<8&65280)+(t[o+2]&255),i.push(dr(n));return i.join("")}function fr(t){for(var e,r=t.length,n=r%3,i=[],o=16383,a=0,c=r-n;a<c;a+=o)i.push(gr(t,a,a+o>c?c:a+o));return n===1?(e=t[r-1],i.push(_[e>>2]+_[e<<4&63]+"==")):n===2&&(e=(t[r-2]<<8)+t[r-1],i.push(_[e>>10]+_[e>>4&63]+_[e<<2&63]+"=")),i.join("")}});var he=V(Z=>{l();Z.read=function(t,e,r,n,i){var o,a,c=i*8-n-1,p=(1<<c)-1,d=p>>1,g=-7,u=r?i-1:0,T=r?-1:1,w=t[e+u];for(u+=T,o=w&(1<<-g)-1,w>>=-g,g+=c;g>0;o=o*256+t[e+u],u+=T,g-=8);for(a=o&(1<<-g)-1,o>>=-g,g+=n;g>0;a=a*256+t[e+u],u+=T,g-=8);if(o===0)o=1-d;else{if(o===p)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)};Z.write=function(t,e,r,n,i,o){var a,c,p,d=o*8-i-1,g=(1<<d)-1,u=g>>1,T=i===23?Math.pow(2,-24)-Math.pow(2,-77):0,w=n?0:o-1,L=n?1:-1,$e=e<0||e===0&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(c=isNaN(e)?1:0,a=g):(a=Math.floor(Math.log(e)/Math.LN2),e*(p=Math.pow(2,-a))<1&&(a--,p*=2),a+u>=1?e+=T/p:e+=T*Math.pow(2,1-u),e*p>=2&&(a++,p/=2),a+u>=g?(c=0,a=g):a+u>=1?(c=(e*p-1)*Math.pow(2,i),a=a+u):(c=e*Math.pow(2,u-1)*Math.pow(2,i),a=0));i>=8;t[r+w]=c&255,w+=L,c/=256,i-=8);for(a=a<<i|c,d+=i;d>0;t[r+w]=a&255,w+=L,a/=256,d-=8);t[r+w-L]|=$e*128}});var Le=V(G=>{"use strict";l();var J=me(),P=he(),ye=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;G.Buffer=s;G.SlowBuffer=br;G.INSPECT_MAX_BYTES=50;var q=2147483647;G.kMaxLength=q;s.TYPED_ARRAY_SUPPORT=mr();!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 mr(){try{var t=new Uint8Array(1),e={foo:function(){return 42}};return Object.setPrototypeOf(e,Uint8Array.prototype),Object.setPrototypeOf(t,e),t.foo()===42}catch(r){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 E(t){if(t>q)throw new RangeError('The value "'+t+'" is invalid for option "size"');var e=new Uint8Array(t);return Object.setPrototypeOf(e,s.prototype),e}function s(t,e,r){if(typeof t=="number"){if(typeof e=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return re(t)}return be(t,e,r)}s.poolSize=8192;function be(t,e,r){if(typeof t=="string")return yr(t,e);if(ArrayBuffer.isView(t))return xr(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(A(t,ArrayBuffer)||t&&A(t.buffer,ArrayBuffer)||typeof SharedArrayBuffer!="undefined"&&(A(t,SharedArrayBuffer)||t&&A(t.buffer,SharedArrayBuffer)))return $(t,e,r);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,e,r);var i=wr(t);if(i)return i;if(typeof Symbol!="undefined"&&Symbol.toPrimitive!=null&&typeof t[Symbol.toPrimitive]=="function")return s.from(t[Symbol.toPrimitive]("string"),e,r);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,e,r){return be(t,e,r)};Object.setPrototypeOf(s.prototype,Uint8Array.prototype);Object.setPrototypeOf(s,Uint8Array);function Te(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 hr(t,e,r){return Te(t),t<=0?E(t):e!==void 0?typeof r=="string"?E(t).fill(e,r):E(t).fill(e):E(t)}s.alloc=function(t,e,r){return hr(t,e,r)};function re(t){return Te(t),E(t<0?0:te(t)|0)}s.allocUnsafe=function(t){return re(t)};s.allocUnsafeSlow=function(t){return re(t)};function yr(t,e){if((typeof e!="string"||e==="")&&(e="utf8"),!s.isEncoding(e))throw new TypeError("Unknown encoding: "+e);var r=ve(t,e)|0,n=E(r),i=n.write(t,e);return i!==r&&(n=n.slice(0,i)),n}function Q(t){for(var e=t.length<0?0:te(t.length)|0,r=E(e),n=0;n<e;n+=1)r[n]=t[n]&255;return r}function xr(t){if(A(t,Uint8Array)){var e=new Uint8Array(t);return $(e.buffer,e.byteOffset,e.byteLength)}return Q(t)}function $(t,e,r){if(e<0||t.byteLength<e)throw new RangeError('"offset" is outside of buffer bounds');if(t.byteLength<e+(r||0))throw new RangeError('"length" is outside of buffer bounds');var n;return e===void 0&&r===void 0?n=new Uint8Array(t):r===void 0?n=new Uint8Array(t,e):n=new Uint8Array(t,e,r),Object.setPrototypeOf(n,s.prototype),n}function wr(t){if(s.isBuffer(t)){var e=te(t.length)|0,r=E(e);return r.length===0||t.copy(r,0,0,e),r}if(t.length!==void 0)return typeof t.length!="number"||ne(t.length)?E(0):Q(t);if(t.type==="Buffer"&&Array.isArray(t.data))return Q(t.data)}function te(t){if(t>=q)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+q.toString(16)+" bytes");return t|0}function br(t){return+t!=t&&(t=0),s.alloc(+t)}s.isBuffer=function(e){return e!=null&&e._isBuffer===!0&&e!==s.prototype};s.compare=function(e,r){if(A(e,Uint8Array)&&(e=s.from(e,e.offset,e.byteLength)),A(r,Uint8Array)&&(r=s.from(r,r.offset,r.byteLength)),!s.isBuffer(e)||!s.isBuffer(r))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(e===r)return 0;for(var n=e.length,i=r.length,o=0,a=Math.min(n,i);o<a;++o)if(e[o]!==r[o]){n=e[o],i=r[o];break}return n<i?-1:i<n?1:0};s.isEncoding=function(e){switch(String(e).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(e,r){if(!Array.isArray(e))throw new TypeError('"list" argument must be an Array of Buffers');if(e.length===0)return s.alloc(0);var n;if(r===void 0)for(r=0,n=0;n<e.length;++n)r+=e[n].length;var i=s.allocUnsafe(r),o=0;for(n=0;n<e.length;++n){var a=e[n];if(A(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 ve(t,e){if(s.isBuffer(t))return t.length;if(ArrayBuffer.isView(t)||A(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 r=t.length,n=arguments.length>2&&arguments[2]===!0;if(!n&&r===0)return 0;for(var i=!1;;)switch(e){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":return ee(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return r*2;case"hex":return r>>>1;case"base64":return Ie(t).length;default:if(i)return n?-1:ee(t).length;e=(""+e).toLowerCase(),i=!0}}s.byteLength=ve;function Tr(t,e,r){var n=!1;if((e===void 0||e<0)&&(e=0),e>this.length||((r===void 0||r>this.length)&&(r=this.length),r<=0)||(r>>>=0,e>>>=0,r<=e))return"";for(t||(t="utf8");;)switch(t){case"hex":return Nr(this,e,r);case"utf8":case"utf-8":return _e(this,e,r);case"ascii":return Lr(this,e,r);case"latin1":case"binary":return Er(this,e,r);case"base64":return Sr(this,e,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Fr(this,e,r);default:if(n)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),n=!0}}s.prototype._isBuffer=!0;function B(t,e,r){var n=t[e];t[e]=t[r],t[r]=n}s.prototype.swap16=function(){var e=this.length;if(e%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var r=0;r<e;r+=2)B(this,r,r+1);return this};s.prototype.swap32=function(){var e=this.length;if(e%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var r=0;r<e;r+=4)B(this,r,r+3),B(this,r+1,r+2);return this};s.prototype.swap64=function(){var e=this.length;if(e%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var r=0;r<e;r+=8)B(this,r,r+7),B(this,r+1,r+6),B(this,r+2,r+5),B(this,r+3,r+4);return this};s.prototype.toString=function(){var e=this.length;return e===0?"":arguments.length===0?_e(this,0,e):Tr.apply(this,arguments)};s.prototype.toLocaleString=s.prototype.toString;s.prototype.equals=function(e){if(!s.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e?!0:s.compare(this,e)===0};s.prototype.inspect=function(){var e="",r=G.INSPECT_MAX_BYTES;return e=this.toString("hex",0,r).replace(/(.{2})/g,"$1 ").trim(),this.length>r&&(e+=" ... "),"<Buffer "+e+">"};ye&&(s.prototype[ye]=s.prototype.inspect);s.prototype.compare=function(e,r,n,i,o){if(A(e,Uint8Array)&&(e=s.from(e,e.offset,e.byteLength)),!s.isBuffer(e))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof e);if(r===void 0&&(r=0),n===void 0&&(n=e?e.length:0),i===void 0&&(i=0),o===void 0&&(o=this.length),r<0||n>e.length||i<0||o>this.length)throw new RangeError("out of range index");if(i>=o&&r>=n)return 0;if(i>=o)return-1;if(r>=n)return 1;if(r>>>=0,n>>>=0,i>>>=0,o>>>=0,this===e)return 0;for(var a=o-i,c=n-r,p=Math.min(a,c),d=this.slice(i,o),g=e.slice(r,n),u=0;u<p;++u)if(d[u]!==g[u]){a=d[u],c=g[u];break}return a<c?-1:c<a?1:0};function ke(t,e,r,n,i){if(t.length===0)return-1;if(typeof r=="string"?(n=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),r=+r,ne(r)&&(r=i?0:t.length-1),r<0&&(r=t.length+r),r>=t.length){if(i)return-1;r=t.length-1}else if(r<0)if(i)r=0;else return-1;if(typeof e=="string"&&(e=s.from(e,n)),s.isBuffer(e))return e.length===0?-1:xe(t,e,r,n,i);if(typeof e=="number")return e=e&255,typeof Uint8Array.prototype.indexOf=="function"?i?Uint8Array.prototype.indexOf.call(t,e,r):Uint8Array.prototype.lastIndexOf.call(t,e,r):xe(t,[e],r,n,i);throw new TypeError("val must be string, number or Buffer")}function xe(t,e,r,n,i){var o=1,a=t.length,c=e.length;if(n!==void 0&&(n=String(n).toLowerCase(),n==="ucs2"||n==="ucs-2"||n==="utf16le"||n==="utf-16le")){if(t.length<2||e.length<2)return-1;o=2,a/=2,c/=2,r/=2}function p(w,L){return o===1?w[L]:w.readUInt16BE(L*o)}var d;if(i){var g=-1;for(d=r;d<a;d++)if(p(t,d)===p(e,g===-1?0:d-g)){if(g===-1&&(g=d),d-g+1===c)return g*o}else g!==-1&&(d-=d-g),g=-1}else for(r+c>a&&(r=a-c),d=r;d>=0;d--){for(var u=!0,T=0;T<c;T++)if(p(t,d+T)!==p(e,T)){u=!1;break}if(u)return d}return-1}s.prototype.includes=function(e,r,n){return this.indexOf(e,r,n)!==-1};s.prototype.indexOf=function(e,r,n){return ke(this,e,r,n,!0)};s.prototype.lastIndexOf=function(e,r,n){return ke(this,e,r,n,!1)};function vr(t,e,r,n){r=Number(r)||0;var i=t.length-r;n?(n=Number(n),n>i&&(n=i)):n=i;var o=e.length;n>o/2&&(n=o/2);for(var a=0;a<n;++a){var c=parseInt(e.substr(a*2,2),16);if(ne(c))return a;t[r+a]=c}return a}function kr(t,e,r,n){return z(ee(e,t.length-r),t,r,n)}function _r(t,e,r,n){return z(Ur(e),t,r,n)}function Ar(t,e,r,n){return z(Ie(e),t,r,n)}function Rr(t,e,r,n){return z(Dr(e,t.length-r),t,r,n)}s.prototype.write=function(e,r,n,i){if(r===void 0)i="utf8",n=this.length,r=0;else if(n===void 0&&typeof r=="string")i=r,n=this.length,r=0;else if(isFinite(r))r=r>>>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-r;if((n===void 0||n>o)&&(n=o),e.length>0&&(n<0||r<0)||r>this.length)throw new RangeError("Attempt to write outside buffer bounds");i||(i="utf8");for(var a=!1;;)switch(i){case"hex":return vr(this,e,r,n);case"utf8":case"utf-8":return kr(this,e,r,n);case"ascii":case"latin1":case"binary":return _r(this,e,r,n);case"base64":return Ar(this,e,r,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Rr(this,e,r,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 Sr(t,e,r){return e===0&&r===t.length?J.fromByteArray(t):J.fromByteArray(t.slice(e,r))}function _e(t,e,r){r=Math.min(t.length,r);for(var n=[],i=e;i<r;){var o=t[i],a=null,c=o>239?4:o>223?3:o>191?2:1;if(i+c<=r){var p,d,g,u;switch(c){case 1:o<128&&(a=o);break;case 2:p=t[i+1],(p&192)===128&&(u=(o&31)<<6|p&63,u>127&&(a=u));break;case 3:p=t[i+1],d=t[i+2],(p&192)===128&&(d&192)===128&&(u=(o&15)<<12|(p&63)<<6|d&63,u>2047&&(u<55296||u>57343)&&(a=u));break;case 4:p=t[i+1],d=t[i+2],g=t[i+3],(p&192)===128&&(d&192)===128&&(g&192)===128&&(u=(o&15)<<18|(p&63)<<12|(d&63)<<6|g&63,u>65535&&u<1114112&&(a=u))}}a===null?(a=65533,c=1):a>65535&&(a-=65536,n.push(a>>>10&1023|55296),a=56320|a&1023),n.push(a),i+=c}return Ir(n)}var we=4096;function Ir(t){var e=t.length;if(e<=we)return String.fromCharCode.apply(String,t);for(var r="",n=0;n<e;)r+=String.fromCharCode.apply(String,t.slice(n,n+=we));return r}function Lr(t,e,r){var n="";r=Math.min(t.length,r);for(var i=e;i<r;++i)n+=String.fromCharCode(t[i]&127);return n}function Er(t,e,r){var n="";r=Math.min(t.length,r);for(var i=e;i<r;++i)n+=String.fromCharCode(t[i]);return n}function Nr(t,e,r){var n=t.length;(!e||e<0)&&(e=0),(!r||r<0||r>n)&&(r=n);for(var i="",o=e;o<r;++o)i+=Or[t[o]];return i}function Fr(t,e,r){for(var n=t.slice(e,r),i="",o=0;o<n.length-1;o+=2)i+=String.fromCharCode(n[o]+n[o+1]*256);return i}s.prototype.slice=function(e,r){var n=this.length;e=~~e,r=r===void 0?n:~~r,e<0?(e+=n,e<0&&(e=0)):e>n&&(e=n),r<0?(r+=n,r<0&&(r=0)):r>n&&(r=n),r<e&&(r=e);var i=this.subarray(e,r);return Object.setPrototypeOf(i,s.prototype),i};function x(t,e,r){if(t%1!==0||t<0)throw new RangeError("offset is not uint");if(t+e>r)throw new RangeError("Trying to access beyond buffer length")}s.prototype.readUintLE=s.prototype.readUIntLE=function(e,r,n){e=e>>>0,r=r>>>0,n||x(e,r,this.length);for(var i=this[e],o=1,a=0;++a<r&&(o*=256);)i+=this[e+a]*o;return i};s.prototype.readUintBE=s.prototype.readUIntBE=function(e,r,n){e=e>>>0,r=r>>>0,n||x(e,r,this.length);for(var i=this[e+--r],o=1;r>0&&(o*=256);)i+=this[e+--r]*o;return i};s.prototype.readUint8=s.prototype.readUInt8=function(e,r){return e=e>>>0,r||x(e,1,this.length),this[e]};s.prototype.readUint16LE=s.prototype.readUInt16LE=function(e,r){return e=e>>>0,r||x(e,2,this.length),this[e]|this[e+1]<<8};s.prototype.readUint16BE=s.prototype.readUInt16BE=function(e,r){return e=e>>>0,r||x(e,2,this.length),this[e]<<8|this[e+1]};s.prototype.readUint32LE=s.prototype.readUInt32LE=function(e,r){return e=e>>>0,r||x(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+this[e+3]*16777216};s.prototype.readUint32BE=s.prototype.readUInt32BE=function(e,r){return e=e>>>0,r||x(e,4,this.length),this[e]*16777216+(this[e+1]<<16|this[e+2]<<8|this[e+3])};s.prototype.readIntLE=function(e,r,n){e=e>>>0,r=r>>>0,n||x(e,r,this.length);for(var i=this[e],o=1,a=0;++a<r&&(o*=256);)i+=this[e+a]*o;return o*=128,i>=o&&(i-=Math.pow(2,8*r)),i};s.prototype.readIntBE=function(e,r,n){e=e>>>0,r=r>>>0,n||x(e,r,this.length);for(var i=r,o=1,a=this[e+--i];i>0&&(o*=256);)a+=this[e+--i]*o;return o*=128,a>=o&&(a-=Math.pow(2,8*r)),a};s.prototype.readInt8=function(e,r){return e=e>>>0,r||x(e,1,this.length),this[e]&128?(255-this[e]+1)*-1:this[e]};s.prototype.readInt16LE=function(e,r){e=e>>>0,r||x(e,2,this.length);var n=this[e]|this[e+1]<<8;return n&32768?n|4294901760:n};s.prototype.readInt16BE=function(e,r){e=e>>>0,r||x(e,2,this.length);var n=this[e+1]|this[e]<<8;return n&32768?n|4294901760:n};s.prototype.readInt32LE=function(e,r){return e=e>>>0,r||x(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24};s.prototype.readInt32BE=function(e,r){return e=e>>>0,r||x(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]};s.prototype.readFloatLE=function(e,r){return e=e>>>0,r||x(e,4,this.length),P.read(this,e,!0,23,4)};s.prototype.readFloatBE=function(e,r){return e=e>>>0,r||x(e,4,this.length),P.read(this,e,!1,23,4)};s.prototype.readDoubleLE=function(e,r){return e=e>>>0,r||x(e,8,this.length),P.read(this,e,!0,52,8)};s.prototype.readDoubleBE=function(e,r){return e=e>>>0,r||x(e,8,this.length),P.read(this,e,!1,52,8)};function b(t,e,r,n,i,o){if(!s.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>i||e<o)throw new RangeError('"value" argument is out of bounds');if(r+n>t.length)throw new RangeError("Index out of range")}s.prototype.writeUintLE=s.prototype.writeUIntLE=function(e,r,n,i){if(e=+e,r=r>>>0,n=n>>>0,!i){var o=Math.pow(2,8*n)-1;b(this,e,r,n,o,0)}var a=1,c=0;for(this[r]=e&255;++c<n&&(a*=256);)this[r+c]=e/a&255;return r+n};s.prototype.writeUintBE=s.prototype.writeUIntBE=function(e,r,n,i){if(e=+e,r=r>>>0,n=n>>>0,!i){var o=Math.pow(2,8*n)-1;b(this,e,r,n,o,0)}var a=n-1,c=1;for(this[r+a]=e&255;--a>=0&&(c*=256);)this[r+a]=e/c&255;return r+n};s.prototype.writeUint8=s.prototype.writeUInt8=function(e,r,n){return e=+e,r=r>>>0,n||b(this,e,r,1,255,0),this[r]=e&255,r+1};s.prototype.writeUint16LE=s.prototype.writeUInt16LE=function(e,r,n){return e=+e,r=r>>>0,n||b(this,e,r,2,65535,0),this[r]=e&255,this[r+1]=e>>>8,r+2};s.prototype.writeUint16BE=s.prototype.writeUInt16BE=function(e,r,n){return e=+e,r=r>>>0,n||b(this,e,r,2,65535,0),this[r]=e>>>8,this[r+1]=e&255,r+2};s.prototype.writeUint32LE=s.prototype.writeUInt32LE=function(e,r,n){return e=+e,r=r>>>0,n||b(this,e,r,4,4294967295,0),this[r+3]=e>>>24,this[r+2]=e>>>16,this[r+1]=e>>>8,this[r]=e&255,r+4};s.prototype.writeUint32BE=s.prototype.writeUInt32BE=function(e,r,n){return e=+e,r=r>>>0,n||b(this,e,r,4,4294967295,0),this[r]=e>>>24,this[r+1]=e>>>16,this[r+2]=e>>>8,this[r+3]=e&255,r+4};s.prototype.writeIntLE=function(e,r,n,i){if(e=+e,r=r>>>0,!i){var o=Math.pow(2,8*n-1);b(this,e,r,n,o-1,-o)}var a=0,c=1,p=0;for(this[r]=e&255;++a<n&&(c*=256);)e<0&&p===0&&this[r+a-1]!==0&&(p=1),this[r+a]=(e/c>>0)-p&255;return r+n};s.prototype.writeIntBE=function(e,r,n,i){if(e=+e,r=r>>>0,!i){var o=Math.pow(2,8*n-1);b(this,e,r,n,o-1,-o)}var a=n-1,c=1,p=0;for(this[r+a]=e&255;--a>=0&&(c*=256);)e<0&&p===0&&this[r+a+1]!==0&&(p=1),this[r+a]=(e/c>>0)-p&255;return r+n};s.prototype.writeInt8=function(e,r,n){return e=+e,r=r>>>0,n||b(this,e,r,1,127,-128),e<0&&(e=255+e+1),this[r]=e&255,r+1};s.prototype.writeInt16LE=function(e,r,n){return e=+e,r=r>>>0,n||b(this,e,r,2,32767,-32768),this[r]=e&255,this[r+1]=e>>>8,r+2};s.prototype.writeInt16BE=function(e,r,n){return e=+e,r=r>>>0,n||b(this,e,r,2,32767,-32768),this[r]=e>>>8,this[r+1]=e&255,r+2};s.prototype.writeInt32LE=function(e,r,n){return e=+e,r=r>>>0,n||b(this,e,r,4,2147483647,-2147483648),this[r]=e&255,this[r+1]=e>>>8,this[r+2]=e>>>16,this[r+3]=e>>>24,r+4};s.prototype.writeInt32BE=function(e,r,n){return e=+e,r=r>>>0,n||b(this,e,r,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),this[r]=e>>>24,this[r+1]=e>>>16,this[r+2]=e>>>8,this[r+3]=e&255,r+4};function Ae(t,e,r,n,i,o){if(r+n>t.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function Re(t,e,r,n,i){return e=+e,r=r>>>0,i||Ae(t,e,r,4,34028234663852886e22,-34028234663852886e22),P.write(t,e,r,n,23,4),r+4}s.prototype.writeFloatLE=function(e,r,n){return Re(this,e,r,!0,n)};s.prototype.writeFloatBE=function(e,r,n){return Re(this,e,r,!1,n)};function Se(t,e,r,n,i){return e=+e,r=r>>>0,i||Ae(t,e,r,8,17976931348623157e292,-17976931348623157e292),P.write(t,e,r,n,52,8),r+8}s.prototype.writeDoubleLE=function(e,r,n){return Se(this,e,r,!0,n)};s.prototype.writeDoubleBE=function(e,r,n){return Se(this,e,r,!1,n)};s.prototype.copy=function(e,r,n,i){if(!s.isBuffer(e))throw new TypeError("argument should be a Buffer");if(n||(n=0),!i&&i!==0&&(i=this.length),r>=e.length&&(r=e.length),r||(r=0),i>0&&i<n&&(i=n),i===n||e.length===0||this.length===0)return 0;if(r<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),e.length-r<i-n&&(i=e.length-r+n);var o=i-n;return this===e&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(r,n,i):Uint8Array.prototype.set.call(e,this.subarray(n,i),r),o};s.prototype.fill=function(e,r,n,i){if(typeof e=="string"){if(typeof r=="string"?(i=r,r=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(e.length===1){var o=e.charCodeAt(0);(i==="utf8"&&o<128||i==="latin1")&&(e=o)}}else typeof e=="number"?e=e&255:typeof e=="boolean"&&(e=Number(e));if(r<0||this.length<r||this.length<n)throw new RangeError("Out of range index");if(n<=r)return this;r=r>>>0,n=n===void 0?this.length:n>>>0,e||(e=0);var a;if(typeof e=="number")for(a=r;a<n;++a)this[a]=e;else{var c=s.isBuffer(e)?e:s.from(e,i),p=c.length;if(p===0)throw new TypeError('The value "'+e+'" is invalid for argument "value"');for(a=0;a<n-r;++a)this[a+r]=c[a%p]}return this};var Cr=/[^+/0-9A-Za-z-_]/g;function Br(t){if(t=t.split("=")[0],t=t.trim().replace(Cr,""),t.length<2)return"";for(;t.length%4!==0;)t=t+"=";return t}function ee(t,e){e=e||1/0;for(var r,n=t.length,i=null,o=[],a=0;a<n;++a){if(r=t.charCodeAt(a),r>55295&&r<57344){if(!i){if(r>56319){(e-=3)>-1&&o.push(239,191,189);continue}else if(a+1===n){(e-=3)>-1&&o.push(239,191,189);continue}i=r;continue}if(r<56320){(e-=3)>-1&&o.push(239,191,189),i=r;continue}r=(i-55296<<10|r-56320)+65536}else i&&(e-=3)>-1&&o.push(239,191,189);if(i=null,r<128){if((e-=1)<0)break;o.push(r)}else if(r<2048){if((e-=2)<0)break;o.push(r>>6|192,r&63|128)}else if(r<65536){if((e-=3)<0)break;o.push(r>>12|224,r>>6&63|128,r&63|128)}else if(r<1114112){if((e-=4)<0)break;o.push(r>>18|240,r>>12&63|128,r>>6&63|128,r&63|128)}else throw new Error("Invalid code point")}return o}function Ur(t){for(var e=[],r=0;r<t.length;++r)e.push(t.charCodeAt(r)&255);return e}function Dr(t,e){for(var r,n,i,o=[],a=0;a<t.length&&!((e-=2)<0);++a)r=t.charCodeAt(a),n=r>>8,i=r%256,o.push(i),o.push(n);return o}function Ie(t){return J.toByteArray(Br(t))}function z(t,e,r,n){for(var i=0;i<n&&!(i+r>=e.length||i>=t.length);++i)e[i+r]=t[i];return i}function A(t,e){return t instanceof e||t!=null&&t.constructor!=null&&t.constructor.name!=null&&t.constructor.name===e.name}function ne(t){return t!==t}var Or=function(){for(var t="0123456789abcdef",e=new Array(256),r=0;r<16;++r)for(var n=r*16,i=0;i<16;++i)e[n+i]=t[r]+t[i];return e}()});var Be=V((jr,Ce)=>{l();var y=Ce.exports={},R,S;function ie(){throw new Error("setTimeout has not been defined")}function oe(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?R=setTimeout:R=ie}catch(t){R=ie}try{typeof clearTimeout=="function"?S=clearTimeout:S=oe}catch(t){S=oe}})();function Ee(t){if(R===setTimeout)return setTimeout(t,0);if((R===ie||!R)&&setTimeout)return R=setTimeout,setTimeout(t,0);try{return R(t,0)}catch(e){try{return R.call(null,t,0)}catch(r){return R.call(this,t,0)}}}function Pr(t){if(S===clearTimeout)return clearTimeout(t);if((S===oe||!S)&&clearTimeout)return S=clearTimeout,clearTimeout(t);try{return S(t)}catch(e){try{return S.call(null,t)}catch(r){return S.call(this,t)}}}var N=[],M=!1,U,j=-1;function Gr(){!M||!U||(M=!1,U.length?N=U.concat(N):j=-1,N.length&&Ne())}function Ne(){if(!M){var t=Ee(Gr);M=!0;for(var e=N.length;e;){for(U=N,N=[];++j<e;)U&&U[j].run();j=-1,e=N.length}U=null,M=!1,Pr(t)}}y.nextTick=function(t){var e=new Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)e[r-1]=arguments[r];N.push(new Fe(t,e)),N.length===1&&!M&&Ee(Ne)};function Fe(t,e){this.fun=t,this.array=e}Fe.prototype.run=function(){this.fun.apply(null,this.array)};y.title="browser";y.browser=!0;y.env={};y.argv=[];y.version="";y.versions={};function F(){}y.on=F;y.addListener=F;y.once=F;y.off=F;y.removeListener=F;y.removeAllListeners=F;y.emit=F;y.prependListener=F;y.prependOnceListener=F;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,m,Xr,l=or(()=>{f=O(Le()),m=O(Be()),Xr=function(t){function e(){var n=this||self;return delete t.prototype.__magic__,n}if(typeof globalThis=="object")return globalThis;if(this)return e();t.defineProperty(t.prototype,"__magic__",{configurable:!0,get:e});var r=__magic__;return r}(Object)});var Wr={};ar(Wr,{calcTotalFee:()=>Mr});module.exports=sr(Wr);l();var le=O(require("bignumber.js"));l();l();l();l();l();var ae=(n=>(n.SetGuardian="SetGuardian",n.GuardAccount="GuardAccount",n.UnGuardAccount="UnGuardAccount",n))(ae||{});l();l();l();l();l();l();l();l();l();var X=require("@multiversx/sdk-web-wallet-cross-window-provider/out/types");var Ue=(r=>(r.signTransactionsWithGuardianResponse="SIGN_TRANSACTIONS_WITH_GUARDIAN_RESPONSE",r.reloginRequest="RELOGIN_REQUEST",r))(Ue||{}),nt=D(D({},X.CrossWindowProviderRequestEnums),Ue),De=(e=>(e.reloginResponse="RELOGIN_RESPONSE",e))(De||{}),it=D(D({},X.CrossWindowProviderResponseEnums),De);l();l();l();l();l();l();var se={devnet:{id:"devnet",chainId:"D",name:"Devnet",egldLabel:"xEGLD",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"https://maiar.page.link/?apn=com.elrond.maiar.wallet&isi=1519405832&ibi=com.elrond.maiar.wallet&link=https://xportal.com/",walletConnectBridgeAddresses:["https://bridge.walletconnect.org"],walletConnectV2RelayAddresses:["wss://relay.walletconnect.com"],walletAddress:"https://devnet-wallet.multiversx.com",xAliasAddress:"https://devnet.xalias.com",apiAddress:"https://devnet-api.multiversx.com",explorerAddress:"http://devnet-explorer.multiversx.com",apiTimeout:"4000"},testnet:{id:"testnet",chainId:"T",name:"Testnet",egldLabel:"xEGLD",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"https://maiar.page.link/?apn=com.elrond.maiar.wallet&isi=1519405832&ibi=com.elrond.maiar.wallet&link=https://xportal.com/",walletConnectBridgeAddresses:["https://bridge.walletconnect.org"],walletConnectV2RelayAddresses:["wss://relay.walletconnect.com"],walletAddress:"https://testnet-wallet.multiversx.com",xAliasAddress:"https://testnet.xalias.com",apiAddress:"https://testnet-api.multiversx.com",explorerAddress:"http://testnet-explorer.multiversx.com",apiTimeout:"4000"},mainnet:{id:"mainnet",chainId:"1",name:"Mainnet",egldLabel:"EGLD",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"https://maiar.page.link/?apn=com.elrond.maiar.wallet&isi=1519405832&ibi=com.elrond.maiar.wallet&link=https://xportal.com/",walletConnectBridgeAddresses:["https://bridge.walletconnect.org"],walletConnectV2RelayAddresses:["wss://relay.walletconnect.com"],walletAddress:"https://wallet.multiversx.com",xAliasAddress:"https://xalias.com",apiAddress:"https://api.multiversx.com",explorerAddress:"https://explorer.multiversx.com",apiTimeout:"4000"}},{chainId:Oe,egldLabel:Tt}=se["devnet"],{chainId:Pe,egldLabel:vt}=se["testnet"],{chainId:Ge,egldLabel:kt}=se["mainnet"];var _t={["devnet"]:Oe,["testnet"]:Pe,["mainnet"]:Ge},At={[Oe]:"devnet",[Pe]:"testnet",[Ge]:"mainnet"};l();l();var I=require("@multiversx/sdk-web-wallet-provider");var Me=.01,We=1500,Ve=5e4,He=5e4,qe=1e9;var Y="0";l();var k=require("@multiversx/sdk-core"),Je=O(require("bignumber.js"));l();var ze=({data:t,onlySetGuardian:e})=>t?e?t.startsWith("SetGuardian"):Object.values(ae).some(r=>t.startsWith(r)):!1;l();l();var je=O(require("bignumber.js")),Xe=(t,e=!0)=>{let r=String(t);if(!r.match(/^[-]?\d+$/))return!1;let n=new je.default(r),i=e?0:-1;return n.toString(10)===r&&n.comparedTo(0)>=i};l();var Ye=O(require("bignumber.js"));var Ke=t=>{if(isNaN(t)||t==null||String(t).includes("Infinity"))return!1;let[e,r]=t.split(".");if(r)for(;r.charAt(r.length-1)===Y;)r=r.slice(0,-1);let n=r?[e,r].join("."):e,i=new Ye.default(n);return i.toString(10)===n&&i.comparedTo(0)>=0};l();l();var Ze={from:"erd12dnfhej64s6c56ka369gkyj3hwv5ms0y5rxgsk2k7hkd2vuk7rvqxkalsa",to:"erd12dnfhej64s6c56ka369gkyj3hwv5ms0y5rxgsk2k7hkd2vuk7rvqxkalsa"};function Qe({minGasLimit:t=String(Ve),gasLimit:e,gasPrice:r,data:n,gasPerDataByte:i,gasPriceModifier:o,defaultGasPrice:a=String(qe),chainId:c}){let p=n||"",d=Xe(e)?e:t,g=ze({data:p})?He:0,u=new Je.default(d).plus(g).toNumber(),T=Ke(r)?r:a,w=new k.Transaction({nonce:0,value:k.TokenPayment.egldFromAmount("0"),receiver:new k.Address(Ze.to),sender:new k.Address(Ze.to),gasPrice:parseInt(T),gasLimit:u,data:new k.TransactionPayload(p.trim()),chainID:c,version:new k.TransactionVersion(1)});try{return w.computeFee({GasPerDataByte:parseInt(i),MinGasLimit:parseInt(t),GasPriceModifier:parseFloat(o),ChainID:c}).toString(10)}catch(L){return console.error(L),Y}}function Mr(t,e){let r=new le.default(0);return t.forEach(n=>{let i=Qe({gasPerDataByte:String(We),gasPriceModifier:String(Me),minGasLimit:String(e),gasLimit:n.getGasLimit().valueOf().toString(),gasPrice:n.getGasPrice().valueOf().toString(),data:n.getData().toString(),chainId:n.getChainID().valueOf()});r=r.plus(new le.default(i))}),r}0&&(module.exports={calcTotalFee});
1
+ "use strict";var er=Object.create;var W=Object.defineProperty;var rr=Object.getOwnPropertyDescriptor;var tr=Object.getOwnPropertyNames,ce=Object.getOwnPropertySymbols,nr=Object.getPrototypeOf,ue=Object.prototype.hasOwnProperty,ir=Object.prototype.propertyIsEnumerable;var pe=(t,e,r)=>e in t?W(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,D=(t,e)=>{for(var r in e||(e={}))ue.call(e,r)&&pe(t,r,e[r]);if(ce)for(var r of ce(e))ir.call(e,r)&&pe(t,r,e[r]);return t};var or=(t,e)=>()=>(t&&(e=t(t=0)),e);var V=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),ar=(t,e)=>{for(var r in e)W(t,r,{get:e[r],enumerable:!0})},de=(t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of tr(e))!ue.call(t,i)&&i!==r&&W(t,i,{get:()=>e[i],enumerable:!(n=rr(e,i))||n.enumerable});return t};var P=(t,e,r)=>(r=t!=null?er(nr(t)):{},de(e||!t||!t.__esModule?W(r,"default",{value:t,enumerable:!0}):r,t)),sr=t=>de(W({},"__esModule",{value:!0}),t);var me=V(H=>{"use strict";l();H.byteLength=cr;H.toByteArray=ur;H.fromByteArray=fr;var _=[],v=[],lr=typeof Uint8Array!="undefined"?Uint8Array:Array,K="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(C=0,ge=K.length;C<ge;++C)_[C]=K[C],v[K.charCodeAt(C)]=C;var C,ge;v["-".charCodeAt(0)]=62;v["_".charCodeAt(0)]=63;function fe(t){var e=t.length;if(e%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var r=t.indexOf("=");r===-1&&(r=e);var n=r===e?0:4-r%4;return[r,n]}function cr(t){var e=fe(t),r=e[0],n=e[1];return(r+n)*3/4-n}function pr(t,e,r){return(e+r)*3/4-r}function ur(t){var e,r=fe(t),n=r[0],i=r[1],o=new lr(pr(t,n,i)),a=0,c=i>0?n-4:n,p;for(p=0;p<c;p+=4)e=v[t.charCodeAt(p)]<<18|v[t.charCodeAt(p+1)]<<12|v[t.charCodeAt(p+2)]<<6|v[t.charCodeAt(p+3)],o[a++]=e>>16&255,o[a++]=e>>8&255,o[a++]=e&255;return i===2&&(e=v[t.charCodeAt(p)]<<2|v[t.charCodeAt(p+1)]>>4,o[a++]=e&255),i===1&&(e=v[t.charCodeAt(p)]<<10|v[t.charCodeAt(p+1)]<<4|v[t.charCodeAt(p+2)]>>2,o[a++]=e>>8&255,o[a++]=e&255),o}function dr(t){return _[t>>18&63]+_[t>>12&63]+_[t>>6&63]+_[t&63]}function gr(t,e,r){for(var n,i=[],o=e;o<r;o+=3)n=(t[o]<<16&16711680)+(t[o+1]<<8&65280)+(t[o+2]&255),i.push(dr(n));return i.join("")}function fr(t){for(var e,r=t.length,n=r%3,i=[],o=16383,a=0,c=r-n;a<c;a+=o)i.push(gr(t,a,a+o>c?c:a+o));return n===1?(e=t[r-1],i.push(_[e>>2]+_[e<<4&63]+"==")):n===2&&(e=(t[r-2]<<8)+t[r-1],i.push(_[e>>10]+_[e>>4&63]+_[e<<2&63]+"=")),i.join("")}});var he=V(Z=>{l();Z.read=function(t,e,r,n,i){var o,a,c=i*8-n-1,p=(1<<c)-1,d=p>>1,g=-7,u=r?i-1:0,T=r?-1:1,w=t[e+u];for(u+=T,o=w&(1<<-g)-1,w>>=-g,g+=c;g>0;o=o*256+t[e+u],u+=T,g-=8);for(a=o&(1<<-g)-1,o>>=-g,g+=n;g>0;a=a*256+t[e+u],u+=T,g-=8);if(o===0)o=1-d;else{if(o===p)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)};Z.write=function(t,e,r,n,i,o){var a,c,p,d=o*8-i-1,g=(1<<d)-1,u=g>>1,T=i===23?Math.pow(2,-24)-Math.pow(2,-77):0,w=n?0:o-1,L=n?1:-1,$e=e<0||e===0&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(c=isNaN(e)?1:0,a=g):(a=Math.floor(Math.log(e)/Math.LN2),e*(p=Math.pow(2,-a))<1&&(a--,p*=2),a+u>=1?e+=T/p:e+=T*Math.pow(2,1-u),e*p>=2&&(a++,p/=2),a+u>=g?(c=0,a=g):a+u>=1?(c=(e*p-1)*Math.pow(2,i),a=a+u):(c=e*Math.pow(2,u-1)*Math.pow(2,i),a=0));i>=8;t[r+w]=c&255,w+=L,c/=256,i-=8);for(a=a<<i|c,d+=i;d>0;t[r+w]=a&255,w+=L,a/=256,d-=8);t[r+w-L]|=$e*128}});var Le=V(G=>{"use strict";l();var J=me(),O=he(),ye=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;G.Buffer=s;G.SlowBuffer=br;G.INSPECT_MAX_BYTES=50;var q=2147483647;G.kMaxLength=q;s.TYPED_ARRAY_SUPPORT=mr();!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 mr(){try{var t=new Uint8Array(1),e={foo:function(){return 42}};return Object.setPrototypeOf(e,Uint8Array.prototype),Object.setPrototypeOf(t,e),t.foo()===42}catch(r){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 E(t){if(t>q)throw new RangeError('The value "'+t+'" is invalid for option "size"');var e=new Uint8Array(t);return Object.setPrototypeOf(e,s.prototype),e}function s(t,e,r){if(typeof t=="number"){if(typeof e=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return re(t)}return be(t,e,r)}s.poolSize=8192;function be(t,e,r){if(typeof t=="string")return yr(t,e);if(ArrayBuffer.isView(t))return xr(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(A(t,ArrayBuffer)||t&&A(t.buffer,ArrayBuffer)||typeof SharedArrayBuffer!="undefined"&&(A(t,SharedArrayBuffer)||t&&A(t.buffer,SharedArrayBuffer)))return $(t,e,r);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,e,r);var i=wr(t);if(i)return i;if(typeof Symbol!="undefined"&&Symbol.toPrimitive!=null&&typeof t[Symbol.toPrimitive]=="function")return s.from(t[Symbol.toPrimitive]("string"),e,r);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,e,r){return be(t,e,r)};Object.setPrototypeOf(s.prototype,Uint8Array.prototype);Object.setPrototypeOf(s,Uint8Array);function Te(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 hr(t,e,r){return Te(t),t<=0?E(t):e!==void 0?typeof r=="string"?E(t).fill(e,r):E(t).fill(e):E(t)}s.alloc=function(t,e,r){return hr(t,e,r)};function re(t){return Te(t),E(t<0?0:te(t)|0)}s.allocUnsafe=function(t){return re(t)};s.allocUnsafeSlow=function(t){return re(t)};function yr(t,e){if((typeof e!="string"||e==="")&&(e="utf8"),!s.isEncoding(e))throw new TypeError("Unknown encoding: "+e);var r=ve(t,e)|0,n=E(r),i=n.write(t,e);return i!==r&&(n=n.slice(0,i)),n}function Q(t){for(var e=t.length<0?0:te(t.length)|0,r=E(e),n=0;n<e;n+=1)r[n]=t[n]&255;return r}function xr(t){if(A(t,Uint8Array)){var e=new Uint8Array(t);return $(e.buffer,e.byteOffset,e.byteLength)}return Q(t)}function $(t,e,r){if(e<0||t.byteLength<e)throw new RangeError('"offset" is outside of buffer bounds');if(t.byteLength<e+(r||0))throw new RangeError('"length" is outside of buffer bounds');var n;return e===void 0&&r===void 0?n=new Uint8Array(t):r===void 0?n=new Uint8Array(t,e):n=new Uint8Array(t,e,r),Object.setPrototypeOf(n,s.prototype),n}function wr(t){if(s.isBuffer(t)){var e=te(t.length)|0,r=E(e);return r.length===0||t.copy(r,0,0,e),r}if(t.length!==void 0)return typeof t.length!="number"||ne(t.length)?E(0):Q(t);if(t.type==="Buffer"&&Array.isArray(t.data))return Q(t.data)}function te(t){if(t>=q)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+q.toString(16)+" bytes");return t|0}function br(t){return+t!=t&&(t=0),s.alloc(+t)}s.isBuffer=function(e){return e!=null&&e._isBuffer===!0&&e!==s.prototype};s.compare=function(e,r){if(A(e,Uint8Array)&&(e=s.from(e,e.offset,e.byteLength)),A(r,Uint8Array)&&(r=s.from(r,r.offset,r.byteLength)),!s.isBuffer(e)||!s.isBuffer(r))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(e===r)return 0;for(var n=e.length,i=r.length,o=0,a=Math.min(n,i);o<a;++o)if(e[o]!==r[o]){n=e[o],i=r[o];break}return n<i?-1:i<n?1:0};s.isEncoding=function(e){switch(String(e).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(e,r){if(!Array.isArray(e))throw new TypeError('"list" argument must be an Array of Buffers');if(e.length===0)return s.alloc(0);var n;if(r===void 0)for(r=0,n=0;n<e.length;++n)r+=e[n].length;var i=s.allocUnsafe(r),o=0;for(n=0;n<e.length;++n){var a=e[n];if(A(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 ve(t,e){if(s.isBuffer(t))return t.length;if(ArrayBuffer.isView(t)||A(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 r=t.length,n=arguments.length>2&&arguments[2]===!0;if(!n&&r===0)return 0;for(var i=!1;;)switch(e){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":return ee(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return r*2;case"hex":return r>>>1;case"base64":return Ie(t).length;default:if(i)return n?-1:ee(t).length;e=(""+e).toLowerCase(),i=!0}}s.byteLength=ve;function Tr(t,e,r){var n=!1;if((e===void 0||e<0)&&(e=0),e>this.length||((r===void 0||r>this.length)&&(r=this.length),r<=0)||(r>>>=0,e>>>=0,r<=e))return"";for(t||(t="utf8");;)switch(t){case"hex":return Nr(this,e,r);case"utf8":case"utf-8":return _e(this,e,r);case"ascii":return Lr(this,e,r);case"latin1":case"binary":return Er(this,e,r);case"base64":return Sr(this,e,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Fr(this,e,r);default:if(n)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),n=!0}}s.prototype._isBuffer=!0;function B(t,e,r){var n=t[e];t[e]=t[r],t[r]=n}s.prototype.swap16=function(){var e=this.length;if(e%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var r=0;r<e;r+=2)B(this,r,r+1);return this};s.prototype.swap32=function(){var e=this.length;if(e%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var r=0;r<e;r+=4)B(this,r,r+3),B(this,r+1,r+2);return this};s.prototype.swap64=function(){var e=this.length;if(e%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var r=0;r<e;r+=8)B(this,r,r+7),B(this,r+1,r+6),B(this,r+2,r+5),B(this,r+3,r+4);return this};s.prototype.toString=function(){var e=this.length;return e===0?"":arguments.length===0?_e(this,0,e):Tr.apply(this,arguments)};s.prototype.toLocaleString=s.prototype.toString;s.prototype.equals=function(e){if(!s.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e?!0:s.compare(this,e)===0};s.prototype.inspect=function(){var e="",r=G.INSPECT_MAX_BYTES;return e=this.toString("hex",0,r).replace(/(.{2})/g,"$1 ").trim(),this.length>r&&(e+=" ... "),"<Buffer "+e+">"};ye&&(s.prototype[ye]=s.prototype.inspect);s.prototype.compare=function(e,r,n,i,o){if(A(e,Uint8Array)&&(e=s.from(e,e.offset,e.byteLength)),!s.isBuffer(e))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof e);if(r===void 0&&(r=0),n===void 0&&(n=e?e.length:0),i===void 0&&(i=0),o===void 0&&(o=this.length),r<0||n>e.length||i<0||o>this.length)throw new RangeError("out of range index");if(i>=o&&r>=n)return 0;if(i>=o)return-1;if(r>=n)return 1;if(r>>>=0,n>>>=0,i>>>=0,o>>>=0,this===e)return 0;for(var a=o-i,c=n-r,p=Math.min(a,c),d=this.slice(i,o),g=e.slice(r,n),u=0;u<p;++u)if(d[u]!==g[u]){a=d[u],c=g[u];break}return a<c?-1:c<a?1:0};function ke(t,e,r,n,i){if(t.length===0)return-1;if(typeof r=="string"?(n=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),r=+r,ne(r)&&(r=i?0:t.length-1),r<0&&(r=t.length+r),r>=t.length){if(i)return-1;r=t.length-1}else if(r<0)if(i)r=0;else return-1;if(typeof e=="string"&&(e=s.from(e,n)),s.isBuffer(e))return e.length===0?-1:xe(t,e,r,n,i);if(typeof e=="number")return e=e&255,typeof Uint8Array.prototype.indexOf=="function"?i?Uint8Array.prototype.indexOf.call(t,e,r):Uint8Array.prototype.lastIndexOf.call(t,e,r):xe(t,[e],r,n,i);throw new TypeError("val must be string, number or Buffer")}function xe(t,e,r,n,i){var o=1,a=t.length,c=e.length;if(n!==void 0&&(n=String(n).toLowerCase(),n==="ucs2"||n==="ucs-2"||n==="utf16le"||n==="utf-16le")){if(t.length<2||e.length<2)return-1;o=2,a/=2,c/=2,r/=2}function p(w,L){return o===1?w[L]:w.readUInt16BE(L*o)}var d;if(i){var g=-1;for(d=r;d<a;d++)if(p(t,d)===p(e,g===-1?0:d-g)){if(g===-1&&(g=d),d-g+1===c)return g*o}else g!==-1&&(d-=d-g),g=-1}else for(r+c>a&&(r=a-c),d=r;d>=0;d--){for(var u=!0,T=0;T<c;T++)if(p(t,d+T)!==p(e,T)){u=!1;break}if(u)return d}return-1}s.prototype.includes=function(e,r,n){return this.indexOf(e,r,n)!==-1};s.prototype.indexOf=function(e,r,n){return ke(this,e,r,n,!0)};s.prototype.lastIndexOf=function(e,r,n){return ke(this,e,r,n,!1)};function vr(t,e,r,n){r=Number(r)||0;var i=t.length-r;n?(n=Number(n),n>i&&(n=i)):n=i;var o=e.length;n>o/2&&(n=o/2);for(var a=0;a<n;++a){var c=parseInt(e.substr(a*2,2),16);if(ne(c))return a;t[r+a]=c}return a}function kr(t,e,r,n){return z(ee(e,t.length-r),t,r,n)}function _r(t,e,r,n){return z(Ur(e),t,r,n)}function Ar(t,e,r,n){return z(Ie(e),t,r,n)}function Rr(t,e,r,n){return z(Dr(e,t.length-r),t,r,n)}s.prototype.write=function(e,r,n,i){if(r===void 0)i="utf8",n=this.length,r=0;else if(n===void 0&&typeof r=="string")i=r,n=this.length,r=0;else if(isFinite(r))r=r>>>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-r;if((n===void 0||n>o)&&(n=o),e.length>0&&(n<0||r<0)||r>this.length)throw new RangeError("Attempt to write outside buffer bounds");i||(i="utf8");for(var a=!1;;)switch(i){case"hex":return vr(this,e,r,n);case"utf8":case"utf-8":return kr(this,e,r,n);case"ascii":case"latin1":case"binary":return _r(this,e,r,n);case"base64":return Ar(this,e,r,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Rr(this,e,r,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 Sr(t,e,r){return e===0&&r===t.length?J.fromByteArray(t):J.fromByteArray(t.slice(e,r))}function _e(t,e,r){r=Math.min(t.length,r);for(var n=[],i=e;i<r;){var o=t[i],a=null,c=o>239?4:o>223?3:o>191?2:1;if(i+c<=r){var p,d,g,u;switch(c){case 1:o<128&&(a=o);break;case 2:p=t[i+1],(p&192)===128&&(u=(o&31)<<6|p&63,u>127&&(a=u));break;case 3:p=t[i+1],d=t[i+2],(p&192)===128&&(d&192)===128&&(u=(o&15)<<12|(p&63)<<6|d&63,u>2047&&(u<55296||u>57343)&&(a=u));break;case 4:p=t[i+1],d=t[i+2],g=t[i+3],(p&192)===128&&(d&192)===128&&(g&192)===128&&(u=(o&15)<<18|(p&63)<<12|(d&63)<<6|g&63,u>65535&&u<1114112&&(a=u))}}a===null?(a=65533,c=1):a>65535&&(a-=65536,n.push(a>>>10&1023|55296),a=56320|a&1023),n.push(a),i+=c}return Ir(n)}var we=4096;function Ir(t){var e=t.length;if(e<=we)return String.fromCharCode.apply(String,t);for(var r="",n=0;n<e;)r+=String.fromCharCode.apply(String,t.slice(n,n+=we));return r}function Lr(t,e,r){var n="";r=Math.min(t.length,r);for(var i=e;i<r;++i)n+=String.fromCharCode(t[i]&127);return n}function Er(t,e,r){var n="";r=Math.min(t.length,r);for(var i=e;i<r;++i)n+=String.fromCharCode(t[i]);return n}function Nr(t,e,r){var n=t.length;(!e||e<0)&&(e=0),(!r||r<0||r>n)&&(r=n);for(var i="",o=e;o<r;++o)i+=Pr[t[o]];return i}function Fr(t,e,r){for(var n=t.slice(e,r),i="",o=0;o<n.length-1;o+=2)i+=String.fromCharCode(n[o]+n[o+1]*256);return i}s.prototype.slice=function(e,r){var n=this.length;e=~~e,r=r===void 0?n:~~r,e<0?(e+=n,e<0&&(e=0)):e>n&&(e=n),r<0?(r+=n,r<0&&(r=0)):r>n&&(r=n),r<e&&(r=e);var i=this.subarray(e,r);return Object.setPrototypeOf(i,s.prototype),i};function x(t,e,r){if(t%1!==0||t<0)throw new RangeError("offset is not uint");if(t+e>r)throw new RangeError("Trying to access beyond buffer length")}s.prototype.readUintLE=s.prototype.readUIntLE=function(e,r,n){e=e>>>0,r=r>>>0,n||x(e,r,this.length);for(var i=this[e],o=1,a=0;++a<r&&(o*=256);)i+=this[e+a]*o;return i};s.prototype.readUintBE=s.prototype.readUIntBE=function(e,r,n){e=e>>>0,r=r>>>0,n||x(e,r,this.length);for(var i=this[e+--r],o=1;r>0&&(o*=256);)i+=this[e+--r]*o;return i};s.prototype.readUint8=s.prototype.readUInt8=function(e,r){return e=e>>>0,r||x(e,1,this.length),this[e]};s.prototype.readUint16LE=s.prototype.readUInt16LE=function(e,r){return e=e>>>0,r||x(e,2,this.length),this[e]|this[e+1]<<8};s.prototype.readUint16BE=s.prototype.readUInt16BE=function(e,r){return e=e>>>0,r||x(e,2,this.length),this[e]<<8|this[e+1]};s.prototype.readUint32LE=s.prototype.readUInt32LE=function(e,r){return e=e>>>0,r||x(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+this[e+3]*16777216};s.prototype.readUint32BE=s.prototype.readUInt32BE=function(e,r){return e=e>>>0,r||x(e,4,this.length),this[e]*16777216+(this[e+1]<<16|this[e+2]<<8|this[e+3])};s.prototype.readIntLE=function(e,r,n){e=e>>>0,r=r>>>0,n||x(e,r,this.length);for(var i=this[e],o=1,a=0;++a<r&&(o*=256);)i+=this[e+a]*o;return o*=128,i>=o&&(i-=Math.pow(2,8*r)),i};s.prototype.readIntBE=function(e,r,n){e=e>>>0,r=r>>>0,n||x(e,r,this.length);for(var i=r,o=1,a=this[e+--i];i>0&&(o*=256);)a+=this[e+--i]*o;return o*=128,a>=o&&(a-=Math.pow(2,8*r)),a};s.prototype.readInt8=function(e,r){return e=e>>>0,r||x(e,1,this.length),this[e]&128?(255-this[e]+1)*-1:this[e]};s.prototype.readInt16LE=function(e,r){e=e>>>0,r||x(e,2,this.length);var n=this[e]|this[e+1]<<8;return n&32768?n|4294901760:n};s.prototype.readInt16BE=function(e,r){e=e>>>0,r||x(e,2,this.length);var n=this[e+1]|this[e]<<8;return n&32768?n|4294901760:n};s.prototype.readInt32LE=function(e,r){return e=e>>>0,r||x(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24};s.prototype.readInt32BE=function(e,r){return e=e>>>0,r||x(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]};s.prototype.readFloatLE=function(e,r){return e=e>>>0,r||x(e,4,this.length),O.read(this,e,!0,23,4)};s.prototype.readFloatBE=function(e,r){return e=e>>>0,r||x(e,4,this.length),O.read(this,e,!1,23,4)};s.prototype.readDoubleLE=function(e,r){return e=e>>>0,r||x(e,8,this.length),O.read(this,e,!0,52,8)};s.prototype.readDoubleBE=function(e,r){return e=e>>>0,r||x(e,8,this.length),O.read(this,e,!1,52,8)};function b(t,e,r,n,i,o){if(!s.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>i||e<o)throw new RangeError('"value" argument is out of bounds');if(r+n>t.length)throw new RangeError("Index out of range")}s.prototype.writeUintLE=s.prototype.writeUIntLE=function(e,r,n,i){if(e=+e,r=r>>>0,n=n>>>0,!i){var o=Math.pow(2,8*n)-1;b(this,e,r,n,o,0)}var a=1,c=0;for(this[r]=e&255;++c<n&&(a*=256);)this[r+c]=e/a&255;return r+n};s.prototype.writeUintBE=s.prototype.writeUIntBE=function(e,r,n,i){if(e=+e,r=r>>>0,n=n>>>0,!i){var o=Math.pow(2,8*n)-1;b(this,e,r,n,o,0)}var a=n-1,c=1;for(this[r+a]=e&255;--a>=0&&(c*=256);)this[r+a]=e/c&255;return r+n};s.prototype.writeUint8=s.prototype.writeUInt8=function(e,r,n){return e=+e,r=r>>>0,n||b(this,e,r,1,255,0),this[r]=e&255,r+1};s.prototype.writeUint16LE=s.prototype.writeUInt16LE=function(e,r,n){return e=+e,r=r>>>0,n||b(this,e,r,2,65535,0),this[r]=e&255,this[r+1]=e>>>8,r+2};s.prototype.writeUint16BE=s.prototype.writeUInt16BE=function(e,r,n){return e=+e,r=r>>>0,n||b(this,e,r,2,65535,0),this[r]=e>>>8,this[r+1]=e&255,r+2};s.prototype.writeUint32LE=s.prototype.writeUInt32LE=function(e,r,n){return e=+e,r=r>>>0,n||b(this,e,r,4,4294967295,0),this[r+3]=e>>>24,this[r+2]=e>>>16,this[r+1]=e>>>8,this[r]=e&255,r+4};s.prototype.writeUint32BE=s.prototype.writeUInt32BE=function(e,r,n){return e=+e,r=r>>>0,n||b(this,e,r,4,4294967295,0),this[r]=e>>>24,this[r+1]=e>>>16,this[r+2]=e>>>8,this[r+3]=e&255,r+4};s.prototype.writeIntLE=function(e,r,n,i){if(e=+e,r=r>>>0,!i){var o=Math.pow(2,8*n-1);b(this,e,r,n,o-1,-o)}var a=0,c=1,p=0;for(this[r]=e&255;++a<n&&(c*=256);)e<0&&p===0&&this[r+a-1]!==0&&(p=1),this[r+a]=(e/c>>0)-p&255;return r+n};s.prototype.writeIntBE=function(e,r,n,i){if(e=+e,r=r>>>0,!i){var o=Math.pow(2,8*n-1);b(this,e,r,n,o-1,-o)}var a=n-1,c=1,p=0;for(this[r+a]=e&255;--a>=0&&(c*=256);)e<0&&p===0&&this[r+a+1]!==0&&(p=1),this[r+a]=(e/c>>0)-p&255;return r+n};s.prototype.writeInt8=function(e,r,n){return e=+e,r=r>>>0,n||b(this,e,r,1,127,-128),e<0&&(e=255+e+1),this[r]=e&255,r+1};s.prototype.writeInt16LE=function(e,r,n){return e=+e,r=r>>>0,n||b(this,e,r,2,32767,-32768),this[r]=e&255,this[r+1]=e>>>8,r+2};s.prototype.writeInt16BE=function(e,r,n){return e=+e,r=r>>>0,n||b(this,e,r,2,32767,-32768),this[r]=e>>>8,this[r+1]=e&255,r+2};s.prototype.writeInt32LE=function(e,r,n){return e=+e,r=r>>>0,n||b(this,e,r,4,2147483647,-2147483648),this[r]=e&255,this[r+1]=e>>>8,this[r+2]=e>>>16,this[r+3]=e>>>24,r+4};s.prototype.writeInt32BE=function(e,r,n){return e=+e,r=r>>>0,n||b(this,e,r,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),this[r]=e>>>24,this[r+1]=e>>>16,this[r+2]=e>>>8,this[r+3]=e&255,r+4};function Ae(t,e,r,n,i,o){if(r+n>t.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function Re(t,e,r,n,i){return e=+e,r=r>>>0,i||Ae(t,e,r,4,34028234663852886e22,-34028234663852886e22),O.write(t,e,r,n,23,4),r+4}s.prototype.writeFloatLE=function(e,r,n){return Re(this,e,r,!0,n)};s.prototype.writeFloatBE=function(e,r,n){return Re(this,e,r,!1,n)};function Se(t,e,r,n,i){return e=+e,r=r>>>0,i||Ae(t,e,r,8,17976931348623157e292,-17976931348623157e292),O.write(t,e,r,n,52,8),r+8}s.prototype.writeDoubleLE=function(e,r,n){return Se(this,e,r,!0,n)};s.prototype.writeDoubleBE=function(e,r,n){return Se(this,e,r,!1,n)};s.prototype.copy=function(e,r,n,i){if(!s.isBuffer(e))throw new TypeError("argument should be a Buffer");if(n||(n=0),!i&&i!==0&&(i=this.length),r>=e.length&&(r=e.length),r||(r=0),i>0&&i<n&&(i=n),i===n||e.length===0||this.length===0)return 0;if(r<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),e.length-r<i-n&&(i=e.length-r+n);var o=i-n;return this===e&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(r,n,i):Uint8Array.prototype.set.call(e,this.subarray(n,i),r),o};s.prototype.fill=function(e,r,n,i){if(typeof e=="string"){if(typeof r=="string"?(i=r,r=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(e.length===1){var o=e.charCodeAt(0);(i==="utf8"&&o<128||i==="latin1")&&(e=o)}}else typeof e=="number"?e=e&255:typeof e=="boolean"&&(e=Number(e));if(r<0||this.length<r||this.length<n)throw new RangeError("Out of range index");if(n<=r)return this;r=r>>>0,n=n===void 0?this.length:n>>>0,e||(e=0);var a;if(typeof e=="number")for(a=r;a<n;++a)this[a]=e;else{var c=s.isBuffer(e)?e:s.from(e,i),p=c.length;if(p===0)throw new TypeError('The value "'+e+'" is invalid for argument "value"');for(a=0;a<n-r;++a)this[a+r]=c[a%p]}return this};var Cr=/[^+/0-9A-Za-z-_]/g;function Br(t){if(t=t.split("=")[0],t=t.trim().replace(Cr,""),t.length<2)return"";for(;t.length%4!==0;)t=t+"=";return t}function ee(t,e){e=e||1/0;for(var r,n=t.length,i=null,o=[],a=0;a<n;++a){if(r=t.charCodeAt(a),r>55295&&r<57344){if(!i){if(r>56319){(e-=3)>-1&&o.push(239,191,189);continue}else if(a+1===n){(e-=3)>-1&&o.push(239,191,189);continue}i=r;continue}if(r<56320){(e-=3)>-1&&o.push(239,191,189),i=r;continue}r=(i-55296<<10|r-56320)+65536}else i&&(e-=3)>-1&&o.push(239,191,189);if(i=null,r<128){if((e-=1)<0)break;o.push(r)}else if(r<2048){if((e-=2)<0)break;o.push(r>>6|192,r&63|128)}else if(r<65536){if((e-=3)<0)break;o.push(r>>12|224,r>>6&63|128,r&63|128)}else if(r<1114112){if((e-=4)<0)break;o.push(r>>18|240,r>>12&63|128,r>>6&63|128,r&63|128)}else throw new Error("Invalid code point")}return o}function Ur(t){for(var e=[],r=0;r<t.length;++r)e.push(t.charCodeAt(r)&255);return e}function Dr(t,e){for(var r,n,i,o=[],a=0;a<t.length&&!((e-=2)<0);++a)r=t.charCodeAt(a),n=r>>8,i=r%256,o.push(i),o.push(n);return o}function Ie(t){return J.toByteArray(Br(t))}function z(t,e,r,n){for(var i=0;i<n&&!(i+r>=e.length||i>=t.length);++i)e[i+r]=t[i];return i}function A(t,e){return t instanceof e||t!=null&&t.constructor!=null&&t.constructor.name!=null&&t.constructor.name===e.name}function ne(t){return t!==t}var Pr=function(){for(var t="0123456789abcdef",e=new Array(256),r=0;r<16;++r)for(var n=r*16,i=0;i<16;++i)e[n+i]=t[r]+t[i];return e}()});var Be=V((jr,Ce)=>{l();var y=Ce.exports={},R,S;function ie(){throw new Error("setTimeout has not been defined")}function oe(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?R=setTimeout:R=ie}catch(t){R=ie}try{typeof clearTimeout=="function"?S=clearTimeout:S=oe}catch(t){S=oe}})();function Ee(t){if(R===setTimeout)return setTimeout(t,0);if((R===ie||!R)&&setTimeout)return R=setTimeout,setTimeout(t,0);try{return R(t,0)}catch(e){try{return R.call(null,t,0)}catch(r){return R.call(this,t,0)}}}function Or(t){if(S===clearTimeout)return clearTimeout(t);if((S===oe||!S)&&clearTimeout)return S=clearTimeout,clearTimeout(t);try{return S(t)}catch(e){try{return S.call(null,t)}catch(r){return S.call(this,t)}}}var N=[],M=!1,U,j=-1;function Gr(){!M||!U||(M=!1,U.length?N=U.concat(N):j=-1,N.length&&Ne())}function Ne(){if(!M){var t=Ee(Gr);M=!0;for(var e=N.length;e;){for(U=N,N=[];++j<e;)U&&U[j].run();j=-1,e=N.length}U=null,M=!1,Or(t)}}y.nextTick=function(t){var e=new Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)e[r-1]=arguments[r];N.push(new Fe(t,e)),N.length===1&&!M&&Ee(Ne)};function Fe(t,e){this.fun=t,this.array=e}Fe.prototype.run=function(){this.fun.apply(null,this.array)};y.title="browser";y.browser=!0;y.env={};y.argv=[];y.version="";y.versions={};function F(){}y.on=F;y.addListener=F;y.once=F;y.off=F;y.removeListener=F;y.removeAllListeners=F;y.emit=F;y.prependListener=F;y.prependOnceListener=F;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,m,Xr,l=or(()=>{f=P(Le()),m=P(Be()),Xr=function(t){function e(){var n=this||self;return delete t.prototype.__magic__,n}if(typeof globalThis=="object")return globalThis;if(this)return e();t.defineProperty(t.prototype,"__magic__",{configurable:!0,get:e});var r=__magic__;return r}(Object)});var Wr={};ar(Wr,{calcTotalFee:()=>Mr});module.exports=sr(Wr);l();var le=P(require("bignumber.js"));l();l();l();l();l();var ae=(n=>(n.SetGuardian="SetGuardian",n.GuardAccount="GuardAccount",n.UnGuardAccount="UnGuardAccount",n))(ae||{});l();l();l();l();l();l();l();l();l();var X=require("@multiversx/sdk-web-wallet-cross-window-provider/out/types");var Ue=(r=>(r.signTransactionsWithGuardianResponse="SIGN_TRANSACTIONS_WITH_GUARDIAN_RESPONSE",r.reloginRequest="RELOGIN_REQUEST",r))(Ue||{}),nt=D(D({},X.CrossWindowProviderRequestEnums),Ue),De=(e=>(e.reloginResponse="RELOGIN_RESPONSE",e))(De||{}),it=D(D({},X.CrossWindowProviderResponseEnums),De);l();l();l();l();l();l();var se={devnet:{id:"devnet",chainId:"D",name:"Devnet",egldLabel:"xEGLD",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"https://maiar.page.link/?apn=com.elrond.maiar.wallet&isi=1519405832&ibi=com.elrond.maiar.wallet&link=https://xportal.com/",walletConnectBridgeAddresses:["https://bridge.walletconnect.org"],walletConnectV2RelayAddresses:["wss://relay.walletconnect.com"],walletAddress:"https://devnet-wallet.multiversx.com",xAliasAddress:"https://devnet.xalias.com",apiAddress:"https://devnet-api.multiversx.com",explorerAddress:"http://devnet-explorer.multiversx.com",apiTimeout:"4000"},testnet:{id:"testnet",chainId:"T",name:"Testnet",egldLabel:"xEGLD",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"https://maiar.page.link/?apn=com.elrond.maiar.wallet&isi=1519405832&ibi=com.elrond.maiar.wallet&link=https://xportal.com/",walletConnectBridgeAddresses:["https://bridge.walletconnect.org"],walletConnectV2RelayAddresses:["wss://relay.walletconnect.com"],walletAddress:"https://testnet-wallet.multiversx.com",xAliasAddress:"https://testnet.xalias.com",apiAddress:"https://testnet-api.multiversx.com",explorerAddress:"http://testnet-explorer.multiversx.com",apiTimeout:"4000"},mainnet:{id:"mainnet",chainId:"1",name:"Mainnet",egldLabel:"EGLD",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"https://maiar.page.link/?apn=com.elrond.maiar.wallet&isi=1519405832&ibi=com.elrond.maiar.wallet&link=https://xportal.com/",walletConnectBridgeAddresses:["https://bridge.walletconnect.org"],walletConnectV2RelayAddresses:["wss://relay.walletconnect.com"],walletAddress:"https://wallet.multiversx.com",xAliasAddress:"https://xalias.com",apiAddress:"https://api.multiversx.com",explorerAddress:"https://explorer.multiversx.com",apiTimeout:"4000"}},{chainId:Pe,egldLabel:Tt}=se["devnet"],{chainId:Oe,egldLabel:vt}=se["testnet"],{chainId:Ge,egldLabel:kt}=se["mainnet"];var _t={["devnet"]:Pe,["testnet"]:Oe,["mainnet"]:Ge},At={[Pe]:"devnet",[Oe]:"testnet",[Ge]:"mainnet"};l();l();var I=require("@multiversx/sdk-web-wallet-provider");var Me=.01,We=1500,Ve=5e4,He=5e4,qe=1e9;var Y="0";l();var k=require("@multiversx/sdk-core"),Je=P(require("bignumber.js"));l();var ze=({data:t,onlySetGuardian:e})=>t?e?t.startsWith("SetGuardian"):Object.values(ae).some(r=>t.startsWith(r)):!1;l();l();var je=P(require("bignumber.js")),Xe=(t,e=!0)=>{let r=String(t);if(!r.match(/^[-]?\d+$/))return!1;let n=new je.default(r),i=e?0:-1;return n.toString(10)===r&&n.comparedTo(0)>=i};l();var Ye=P(require("bignumber.js"));var Ke=t=>{if(isNaN(t)||t==null||String(t).includes("Infinity"))return!1;let[e,r]=t.split(".");if(r)for(;r.charAt(r.length-1)===Y;)r=r.slice(0,-1);let n=r?[e,r].join("."):e,i=new Ye.default(n);return i.toString(10)===n&&i.comparedTo(0)>=0};l();l();var Ze={from:"erd12dnfhej64s6c56ka369gkyj3hwv5ms0y5rxgsk2k7hkd2vuk7rvqxkalsa",to:"erd12dnfhej64s6c56ka369gkyj3hwv5ms0y5rxgsk2k7hkd2vuk7rvqxkalsa"};function Qe({minGasLimit:t=String(Ve),gasLimit:e,gasPrice:r,data:n,gasPerDataByte:i,gasPriceModifier:o,defaultGasPrice:a=String(qe),chainId:c}){let p=n||"",d=Xe(e)?e:t,g=ze({data:p})?He:0,u=new Je.default(d).plus(g).toNumber(),T=Ke(r)?r:a,w=new k.Transaction({nonce:0,value:k.TokenPayment.egldFromAmount("0"),receiver:new k.Address(Ze.to),sender:new k.Address(Ze.to),gasPrice:parseInt(T),gasLimit:u,data:new k.TransactionPayload(p.trim()),chainID:c,version:new k.TransactionVersion(1)});try{return w.computeFee({GasPerDataByte:parseInt(i),MinGasLimit:parseInt(t),GasPriceModifier:parseFloat(o),ChainID:c}).toString(10)}catch(L){return console.error(L),Y}}function Mr(t,e){let r=new le.default(0);return t.forEach(n=>{let i=Qe({gasPerDataByte:String(We),gasPriceModifier:String(Me),minGasLimit:String(e),gasLimit:n.getGasLimit().valueOf().toString(),gasPrice:n.getGasPrice().valueOf().toString(),data:n.getData().toString(),chainId:n.getChainID().valueOf()});r=r.plus(new le.default(i))}),r}0&&(module.exports={calcTotalFee});
2
2
  /*!
3
3
  * The buffer module from node.js, for the browser.
4
4
  *
@@ -1,4 +1,4 @@
1
- "use strict";var re=Object.create;var G=Object.defineProperty;var ee=Object.getOwnPropertyDescriptor;var te=Object.getOwnPropertyNames,ar=Object.getOwnPropertySymbols,ne=Object.getPrototypeOf,sr=Object.prototype.hasOwnProperty,ie=Object.prototype.propertyIsEnumerable;var or=(t,r,e)=>r in t?G(t,r,{enumerable:!0,configurable:!0,writable:!0,value:e}):t[r]=e,W=(t,r)=>{for(var e in r||(r={}))sr.call(r,e)&&or(t,e,r[e]);if(ar)for(var e of ar(r))ie.call(r,e)&&or(t,e,r[e]);return t};var ae=(t,r)=>()=>(t&&(r=t(t=0)),r);var H=(t,r)=>()=>(r||t((r={exports:{}}).exports,r),r.exports),oe=(t,r)=>{for(var e in r)G(t,e,{get:r[e],enumerable:!0})},pr=(t,r,e,n)=>{if(r&&typeof r=="object"||typeof r=="function")for(let i of te(r))!sr.call(t,i)&&i!==e&&G(t,i,{get:()=>r[i],enumerable:!(n=ee(r,i))||n.enumerable});return t};var ur=(t,r,e)=>(e=t!=null?re(ne(t)):{},pr(r||!t||!t.__esModule?G(e,"default",{value:t,enumerable:!0}):e,t)),se=t=>pr(G({},"__esModule",{value:!0}),t);var fr=H(q=>{"use strict";d();q.byteLength=ue;q.toByteArray=le;q.fromByteArray=de;var I=[],F=[],pe=typeof Uint8Array!="undefined"?Uint8Array:Array,z="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(C=0,cr=z.length;C<cr;++C)I[C]=z[C],F[z.charCodeAt(C)]=C;var C,cr;F["-".charCodeAt(0)]=62;F["_".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 ue(t){var r=lr(t),e=r[0],n=r[1];return(e+n)*3/4-n}function ce(t,r,e){return(r+e)*3/4-e}function le(t){var r,e=lr(t),n=e[0],i=e[1],a=new pe(ce(t,n,i)),o=0,p=i>0?n-4:n,u;for(u=0;u<p;u+=4)r=F[t.charCodeAt(u)]<<18|F[t.charCodeAt(u+1)]<<12|F[t.charCodeAt(u+2)]<<6|F[t.charCodeAt(u+3)],a[o++]=r>>16&255,a[o++]=r>>8&255,a[o++]=r&255;return i===2&&(r=F[t.charCodeAt(u)]<<2|F[t.charCodeAt(u+1)]>>4,a[o++]=r&255),i===1&&(r=F[t.charCodeAt(u)]<<10|F[t.charCodeAt(u+1)]<<4|F[t.charCodeAt(u+2)]>>2,a[o++]=r>>8&255,a[o++]=r&255),a}function fe(t){return I[t>>18&63]+I[t>>12&63]+I[t>>6&63]+I[t&63]}function ge(t,r,e){for(var n,i=[],a=r;a<e;a+=3)n=(t[a]<<16&16711680)+(t[a+1]<<8&65280)+(t[a+2]&255),i.push(fe(n));return i.join("")}function de(t){for(var r,e=t.length,n=e%3,i=[],a=16383,o=0,p=e-n;o<p;o+=a)i.push(ge(t,o,o+a>p?p:o+a));return n===1?(r=t[e-1],i.push(I[r>>2]+I[r<<4&63]+"==")):n===2&&(r=(t[e-2]<<8)+t[e-1],i.push(I[r>>10]+I[r>>4&63]+I[r<<2&63]+"=")),i.join("")}});var gr=H(X=>{d();X.read=function(t,r,e,n,i){var a,o,p=i*8-n-1,u=(1<<p)-1,l=u>>1,g=-7,f=e?i-1:0,k=e?-1:1,b=t[r+f];for(f+=k,a=b&(1<<-g)-1,b>>=-g,g+=p;g>0;a=a*256+t[r+f],f+=k,g-=8);for(o=a&(1<<-g)-1,a>>=-g,g+=n;g>0;o=o*256+t[r+f],f+=k,g-=8);if(a===0)a=1-l;else{if(a===u)return o?NaN:(b?-1:1)*(1/0);o=o+Math.pow(2,n),a=a-l}return(b?-1:1)*o*Math.pow(2,a-n)};X.write=function(t,r,e,n,i,a){var o,p,u,l=a*8-i-1,g=(1<<l)-1,f=g>>1,k=i===23?Math.pow(2,-24)-Math.pow(2,-77):0,b=n?0:a-1,h=n?1:-1,$r=r<0||r===0&&1/r<0?1:0;for(r=Math.abs(r),isNaN(r)||r===1/0?(p=isNaN(r)?1:0,o=g):(o=Math.floor(Math.log(r)/Math.LN2),r*(u=Math.pow(2,-o))<1&&(o--,u*=2),o+f>=1?r+=k/u:r+=k*Math.pow(2,1-f),r*u>=2&&(o++,u/=2),o+f>=g?(p=0,o=g):o+f>=1?(p=(r*u-1)*Math.pow(2,i),o=o+f):(p=r*Math.pow(2,f-1)*Math.pow(2,i),o=0));i>=8;t[e+b]=p&255,b+=h,p/=256,i-=8);for(o=o<<i|p,l+=i;l>0;t[e+b]=o&255,b+=h,o/=256,l-=8);t[e+b-h]|=$r*128}});var Sr=H(N=>{"use strict";d();var J=fr(),D=gr(),dr=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;N.Buffer=s;N.SlowBuffer=Te;N.INSPECT_MAX_BYTES=50;var O=2147483647;N.kMaxLength=O;s.TYPED_ARRAY_SUPPORT=he();!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 he(){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 A(t){if(t>O)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 xr(t,r,e)}s.poolSize=8192;function xr(t,r,e){if(typeof t=="string")return xe(t,r);if(ArrayBuffer.isView(t))return me(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(S(t,ArrayBuffer)||t&&S(t.buffer,ArrayBuffer)||typeof SharedArrayBuffer!="undefined"&&(S(t,SharedArrayBuffer)||t&&S(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=we(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 mr(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 ye(t,r,e){return mr(t),t<=0?A(t):r!==void 0?typeof e=="string"?A(t).fill(r,e):A(t).fill(r):A(t)}s.alloc=function(t,r,e){return ye(t,r,e)};function Z(t){return mr(t),A(t<0?0:$(t)|0)}s.allocUnsafe=function(t){return Z(t)};s.allocUnsafeSlow=function(t){return Z(t)};function xe(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=A(e),i=n.write(t,r);return i!==e&&(n=n.slice(0,i)),n}function j(t){for(var r=t.length<0?0:$(t.length)|0,e=A(r),n=0;n<r;n+=1)e[n]=t[n]&255;return e}function me(t){if(S(t,Uint8Array)){var r=new Uint8Array(t);return K(r.buffer,r.byteOffset,r.byteLength)}return j(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 we(t){if(s.isBuffer(t)){var r=$(t.length)|0,e=A(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)?A(0):j(t);if(t.type==="Buffer"&&Array.isArray(t.data))return j(t.data)}function $(t){if(t>=O)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+O.toString(16)+" bytes");return t|0}function Te(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(S(r,Uint8Array)&&(r=s.from(r,r.offset,r.byteLength)),S(e,Uint8Array)&&(e=s.from(e,e.offset,e.byteLength)),!s.isBuffer(r)||!s.isBuffer(e))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(r===e)return 0;for(var n=r.length,i=e.length,a=0,o=Math.min(n,i);a<o;++a)if(r[a]!==e[a]){n=r[a],i=e[a];break}return n<i?-1:i<n?1:0};s.isEncoding=function(r){switch(String(r).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}};s.concat=function(r,e){if(!Array.isArray(r))throw new TypeError('"list" argument must be an Array of Buffers');if(r.length===0)return s.alloc(0);var n;if(e===void 0)for(e=0,n=0;n<r.length;++n)e+=r[n].length;var i=s.allocUnsafe(e),a=0;for(n=0;n<r.length;++n){var o=r[n];if(S(o,Uint8Array))a+o.length>i.length?s.from(o).copy(i,a):Uint8Array.prototype.set.call(i,o,a);else if(s.isBuffer(o))o.copy(i,a);else throw new TypeError('"list" argument must be an Array of Buffers');a+=o.length}return i};function wr(t,r){if(s.isBuffer(t))return t.length;if(ArrayBuffer.isView(t)||S(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 Ir(t).length;default:if(i)return n?-1:Q(t).length;r=(""+r).toLowerCase(),i=!0}}s.byteLength=wr;function ve(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 _e(this,r,e);case"utf8":case"utf-8":return vr(this,r,e);case"ascii":return Ae(this,r,e);case"latin1":case"binary":return Le(this,r,e);case"base64":return Be(this,r,e);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Ce(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):ve.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=N.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,a){if(S(r,Uint8Array)&&(r=s.from(r,r.offset,r.byteLength)),!s.isBuffer(r))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof r);if(e===void 0&&(e=0),n===void 0&&(n=r?r.length:0),i===void 0&&(i=0),a===void 0&&(a=this.length),e<0||n>r.length||i<0||a>this.length)throw new RangeError("out of range index");if(i>=a&&e>=n)return 0;if(i>=a)return-1;if(e>=n)return 1;if(e>>>=0,n>>>=0,i>>>=0,a>>>=0,this===r)return 0;for(var o=a-i,p=n-e,u=Math.min(o,p),l=this.slice(i,a),g=r.slice(e,n),f=0;f<u;++f)if(l[f]!==g[f]){o=l[f],p=g[f];break}return o<p?-1:p<o?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 a=1,o=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;a=2,o/=2,p/=2,e/=2}function u(b,h){return a===1?b[h]:b.readUInt16BE(h*a)}var l;if(i){var g=-1;for(l=e;l<o;l++)if(u(t,l)===u(r,g===-1?0:l-g)){if(g===-1&&(g=l),l-g+1===p)return g*a}else g!==-1&&(l-=l-g),g=-1}else for(e+p>o&&(e=o-p),l=e;l>=0;l--){for(var f=!0,k=0;k<p;k++)if(u(t,l+k)!==u(r,k)){f=!1;break}if(f)return l}return-1}s.prototype.includes=function(r,e,n){return this.indexOf(r,e,n)!==-1};s.prototype.indexOf=function(r,e,n){return Tr(this,r,e,n,!0)};s.prototype.lastIndexOf=function(r,e,n){return Tr(this,r,e,n,!1)};function be(t,r,e,n){e=Number(e)||0;var i=t.length-e;n?(n=Number(n),n>i&&(n=i)):n=i;var a=r.length;n>a/2&&(n=a/2);for(var o=0;o<n;++o){var p=parseInt(r.substr(o*2,2),16);if(rr(p))return o;t[e+o]=p}return o}function Fe(t,r,e,n){return V(Q(r,t.length-e),t,e,n)}function ke(t,r,e,n){return V(De(r),t,e,n)}function Ie(t,r,e,n){return V(Ir(r),t,e,n)}function Se(t,r,e,n){return V(Ne(r,t.length-e),t,e,n)}s.prototype.write=function(r,e,n,i){if(e===void 0)i="utf8",n=this.length,e=0;else if(n===void 0&&typeof e=="string")i=e,n=this.length,e=0;else if(isFinite(e))e=e>>>0,isFinite(n)?(n=n>>>0,i===void 0&&(i="utf8")):(i=n,n=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var a=this.length-e;if((n===void 0||n>a)&&(n=a),r.length>0&&(n<0||e<0)||e>this.length)throw new RangeError("Attempt to write outside buffer bounds");i||(i="utf8");for(var o=!1;;)switch(i){case"hex":return be(this,r,e,n);case"utf8":case"utf-8":return Fe(this,r,e,n);case"ascii":case"latin1":case"binary":return ke(this,r,e,n);case"base64":return Ie(this,r,e,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Se(this,r,e,n);default:if(o)throw new TypeError("Unknown encoding: "+i);i=(""+i).toLowerCase(),o=!0}};s.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function Be(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 a=t[i],o=null,p=a>239?4:a>223?3:a>191?2:1;if(i+p<=e){var u,l,g,f;switch(p){case 1:a<128&&(o=a);break;case 2:u=t[i+1],(u&192)===128&&(f=(a&31)<<6|u&63,f>127&&(o=f));break;case 3:u=t[i+1],l=t[i+2],(u&192)===128&&(l&192)===128&&(f=(a&15)<<12|(u&63)<<6|l&63,f>2047&&(f<55296||f>57343)&&(o=f));break;case 4:u=t[i+1],l=t[i+2],g=t[i+3],(u&192)===128&&(l&192)===128&&(g&192)===128&&(f=(a&15)<<18|(u&63)<<12|(l&63)<<6|g&63,f>65535&&f<1114112&&(o=f))}}o===null?(o=65533,p=1):o>65535&&(o-=65536,n.push(o>>>10&1023|55296),o=56320|o&1023),n.push(o),i+=p}return Re(n)}var yr=4096;function Re(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 Ae(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 Le(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 _e(t,r,e){var n=t.length;(!r||r<0)&&(r=0),(!e||e<0||e>n)&&(e=n);for(var i="",a=r;a<e;++a)i+=Pe[t[a]];return i}function Ce(t,r,e){for(var n=t.slice(r,e),i="",a=0;a<n.length-1;a+=2)i+=String.fromCharCode(n[a]+n[a+1]*256);return i}s.prototype.slice=function(r,e){var n=this.length;r=~~r,e=e===void 0?n:~~e,r<0?(r+=n,r<0&&(r=0)):r>n&&(r=n),e<0?(e+=n,e<0&&(e=0)):e>n&&(e=n),e<r&&(e=r);var i=this.subarray(r,e);return Object.setPrototypeOf(i,s.prototype),i};function 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],a=1,o=0;++o<e&&(a*=256);)i+=this[r+o]*a;return i};s.prototype.readUintBE=s.prototype.readUIntBE=function(r,e,n){r=r>>>0,e=e>>>0,n||x(r,e,this.length);for(var i=this[r+--e],a=1;e>0&&(a*=256);)i+=this[r+--e]*a;return i};s.prototype.readUint8=s.prototype.readUInt8=function(r,e){return r=r>>>0,e||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],a=1,o=0;++o<e&&(a*=256);)i+=this[r+o]*a;return a*=128,i>=a&&(i-=Math.pow(2,8*e)),i};s.prototype.readIntBE=function(r,e,n){r=r>>>0,e=e>>>0,n||x(r,e,this.length);for(var i=e,a=1,o=this[r+--i];i>0&&(a*=256);)o+=this[r+--i]*a;return a*=128,o>=a&&(o-=Math.pow(2,8*e)),o};s.prototype.readInt8=function(r,e){return r=r>>>0,e||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),D.read(this,r,!0,23,4)};s.prototype.readFloatBE=function(r,e){return r=r>>>0,e||x(r,4,this.length),D.read(this,r,!1,23,4)};s.prototype.readDoubleLE=function(r,e){return r=r>>>0,e||x(r,8,this.length),D.read(this,r,!0,52,8)};s.prototype.readDoubleBE=function(r,e){return r=r>>>0,e||x(r,8,this.length),D.read(this,r,!1,52,8)};function v(t,r,e,n,i,a){if(!s.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(r>i||r<a)throw new RangeError('"value" argument is out of bounds');if(e+n>t.length)throw new RangeError("Index out of range")}s.prototype.writeUintLE=s.prototype.writeUIntLE=function(r,e,n,i){if(r=+r,e=e>>>0,n=n>>>0,!i){var a=Math.pow(2,8*n)-1;v(this,r,e,n,a,0)}var o=1,p=0;for(this[e]=r&255;++p<n&&(o*=256);)this[e+p]=r/o&255;return e+n};s.prototype.writeUintBE=s.prototype.writeUIntBE=function(r,e,n,i){if(r=+r,e=e>>>0,n=n>>>0,!i){var a=Math.pow(2,8*n)-1;v(this,r,e,n,a,0)}var o=n-1,p=1;for(this[e+o]=r&255;--o>=0&&(p*=256);)this[e+o]=r/p&255;return e+n};s.prototype.writeUint8=s.prototype.writeUInt8=function(r,e,n){return r=+r,e=e>>>0,n||v(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||v(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||v(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||v(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||v(this,r,e,4,4294967295,0),this[e]=r>>>24,this[e+1]=r>>>16,this[e+2]=r>>>8,this[e+3]=r&255,e+4};s.prototype.writeIntLE=function(r,e,n,i){if(r=+r,e=e>>>0,!i){var a=Math.pow(2,8*n-1);v(this,r,e,n,a-1,-a)}var o=0,p=1,u=0;for(this[e]=r&255;++o<n&&(p*=256);)r<0&&u===0&&this[e+o-1]!==0&&(u=1),this[e+o]=(r/p>>0)-u&255;return e+n};s.prototype.writeIntBE=function(r,e,n,i){if(r=+r,e=e>>>0,!i){var a=Math.pow(2,8*n-1);v(this,r,e,n,a-1,-a)}var o=n-1,p=1,u=0;for(this[e+o]=r&255;--o>=0&&(p*=256);)r<0&&u===0&&this[e+o+1]!==0&&(u=1),this[e+o]=(r/p>>0)-u&255;return e+n};s.prototype.writeInt8=function(r,e,n){return r=+r,e=e>>>0,n||v(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||v(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||v(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||v(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||v(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,a){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),D.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),D.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 a=i-n;return this===r&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(e,n,i):Uint8Array.prototype.set.call(r,this.subarray(n,i),e),a};s.prototype.fill=function(r,e,n,i){if(typeof r=="string"){if(typeof e=="string"?(i=e,e=0,n=this.length):typeof n=="string"&&(i=n,n=this.length),i!==void 0&&typeof i!="string")throw new TypeError("encoding must be a string");if(typeof i=="string"&&!s.isEncoding(i))throw new TypeError("Unknown encoding: "+i);if(r.length===1){var a=r.charCodeAt(0);(i==="utf8"&&a<128||i==="latin1")&&(r=a)}}else typeof r=="number"?r=r&255:typeof r=="boolean"&&(r=Number(r));if(e<0||this.length<e||this.length<n)throw new RangeError("Out of range index");if(n<=e)return this;e=e>>>0,n=n===void 0?this.length:n>>>0,r||(r=0);var o;if(typeof r=="number")for(o=e;o<n;++o)this[o]=r;else{var 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(o=0;o<n-e;++o)this[o+e]=p[o%u]}return this};var Ue=/[^+/0-9A-Za-z-_]/g;function Ee(t){if(t=t.split("=")[0],t=t.trim().replace(Ue,""),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,a=[],o=0;o<n;++o){if(e=t.charCodeAt(o),e>55295&&e<57344){if(!i){if(e>56319){(r-=3)>-1&&a.push(239,191,189);continue}else if(o+1===n){(r-=3)>-1&&a.push(239,191,189);continue}i=e;continue}if(e<56320){(r-=3)>-1&&a.push(239,191,189),i=e;continue}e=(i-55296<<10|e-56320)+65536}else i&&(r-=3)>-1&&a.push(239,191,189);if(i=null,e<128){if((r-=1)<0)break;a.push(e)}else if(e<2048){if((r-=2)<0)break;a.push(e>>6|192,e&63|128)}else if(e<65536){if((r-=3)<0)break;a.push(e>>12|224,e>>6&63|128,e&63|128)}else if(e<1114112){if((r-=4)<0)break;a.push(e>>18|240,e>>12&63|128,e>>6&63|128,e&63|128)}else throw new Error("Invalid code point")}return a}function De(t){for(var r=[],e=0;e<t.length;++e)r.push(t.charCodeAt(e)&255);return r}function Ne(t,r){for(var e,n,i,a=[],o=0;o<t.length&&!((r-=2)<0);++o)e=t.charCodeAt(o),n=e>>8,i=e%256,a.push(i),a.push(n);return a}function Ir(t){return J.toByteArray(Ee(t))}function V(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 S(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 Pe=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 _r=H((Xe,Lr)=>{d();var y=Lr.exports={},B,R;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"?B=setTimeout:B=er}catch(t){B=er}try{typeof clearTimeout=="function"?R=clearTimeout:R=tr}catch(t){R=tr}})();function Br(t){if(B===setTimeout)return setTimeout(t,0);if((B===er||!B)&&setTimeout)return B=setTimeout,setTimeout(t,0);try{return B(t,0)}catch(r){try{return B.call(null,t,0)}catch(e){return B.call(this,t,0)}}}function Me(t){if(R===clearTimeout)return clearTimeout(t);if((R===tr||!R)&&clearTimeout)return R=clearTimeout,clearTimeout(t);try{return R(t)}catch(r){try{return R.call(null,t)}catch(e){return R.call(this,t)}}}var L=[],P=!1,E,Y=-1;function Ge(){!P||!E||(P=!1,E.length?L=E.concat(L):Y=-1,L.length&&Rr())}function Rr(){if(!P){var t=Br(Ge);P=!0;for(var r=L.length;r;){for(E=L,L=[];++Y<r;)E&&E[Y].run();Y=-1,r=L.length}E=null,P=!1,Me(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];L.push(new Ar(t,r)),L.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 _(){}y.on=_;y.addListener=_;y.once=_;y.off=_;y.removeListener=_;y.removeAllListeners=_;y.emit=_;y.prependListener=_;y.prependOnceListener=_;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 m,w,Je,d=ae(()=>{m=ur(Sr()),w=ur(_r()),Je=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 qe={};oe(qe,{BatchTransactionStatus:()=>Zr,CrossWindowProviderRequestEnums:()=>M.CrossWindowProviderRequestEnums,CrossWindowProviderResponseEnums:()=>M.CrossWindowProviderResponseEnums,DecodeMethodEnum:()=>Qr,EnvironmentsEnum:()=>Gr,HiddenTransactionOperationType:()=>Jr,LoginMethodsEnum:()=>Nr,NotificationTypesEnum:()=>Pr,PlatformsEnum:()=>Or,SignedMessageQueryParamsEnum:()=>Cr,SignedMessageStatusesEnum:()=>Er,ToastsEnum:()=>Wr,TransactionActionCategoryEnum:()=>Yr,TransactionActionsEnum:()=>Vr,TransactionBatchStatusesEnum:()=>Dr,TransactionDirectionEnum:()=>Kr,TransactionOperationActionTypeEnum:()=>zr,TransactionServerStatusesEnum:()=>Ur,TransactionTypesEnum:()=>Hr,TransactionsDefaultTitles:()=>qr,TransferTypeEnum:()=>jr,TypesOfSmartContractCallsEnum:()=>Mr,VisibleTransactionOperationType:()=>Xr,WebViewProviderRequestBaseEnums:()=>nr,WebViewProviderRequestEnums:()=>We,WebViewProviderResponseBaseEnums:()=>ir,WebViewProviderResponseEnums:()=>He});module.exports=se(qe);d();d();var Cr=(i=>(i.signature="signature",i.sessionId="sessionId",i.status="status",i.address="address",i))(Cr||{});d();d();d();var M=require("@multiversx/sdk-web-wallet-cross-window-provider/out/types");var Ur=(p=>(p.pending="pending",p.fail="fail",p.invalid="invalid",p.success="success",p.executed="executed",p.notExecuted="not executed",p.rewardReverted="reward-reverted",p))(Ur||{}),Er=(i=>(i.pending="pending",i.failed="failed",i.signed="signed",i.cancelled="cancelled",i))(Er||{}),Dr=(p=>(p.signed="signed",p.cancelled="cancelled",p.success="success",p.sent="sent",p.fail="fail",p.timedOut="timedOut",p.invalid="invalid",p))(Dr||{}),Nr=(l=>(l.ledger="ledger",l.walletconnect="walletconnect",l.walletconnectv2="walletconnectv2",l.wallet="wallet",l.crossWindow="crossWindow",l.extension="extension",l.opera="opera",l.extra="extra",l.none="",l))(Nr||{}),Pr=(n=>(n.warning="warning",n.error="error",n.success="success",n))(Pr||{}),Mr=(e=>(e.MultiESDTNFTTransfer="MultiESDTNFTTransfer",e.ESDTNFTTransfer="ESDTNFTTransfer",e))(Mr||{}),Gr=(n=>(n.testnet="testnet",n.devnet="devnet",n.mainnet="mainnet",n))(Gr||{}),Wr=(e=>(e.custom="custom",e.transaction="transaction",e))(Wr||{}),Hr=(p=>(p.MultiESDTNFTTransfer="MultiESDTNFTTransfer",p.ESDTTransfer="ESDTTransfer",p.ESDTNFTBurn="ESDTNFTBurn",p.ESDTNFTTransfer="ESDTNFTTransfer",p.esdtTransaction="esdtTransaction",p.nftTransaction="nftTransaction",p.scCall="scCall",p))(Hr||{}),qr=(a=>(a.success="Transaction successful",a.failed="Transaction failed",a.pending="Processing transaction",a.timedOut="Transaction timed out",a.invalid="Transaction invalid",a))(qr||{}),Or=(i=>(i.ios="ios",i.reactNative="reactNative",i.web="web",i.webWallet="webWallet",i))(Or||{}),nr=(e=>(e.signTransactionsWithGuardianResponse="SIGN_TRANSACTIONS_WITH_GUARDIAN_RESPONSE",e.reloginRequest="RELOGIN_REQUEST",e))(nr||{}),We=W(W({},M.CrossWindowProviderRequestEnums),nr),ir=(r=>(r.reloginResponse="RELOGIN_RESPONSE",r))(ir||{}),He=W(W({},M.CrossWindowProviderResponseEnums),ir);d();d();d();var Vr=(c=>(c.transfer="transfer",c.unBond="unBond",c.unStake="unStake",c.delegate="delegate",c.stake="stake",c.unDelegate="unDelegate",c.stakeClaimRewards="claimRewards",c.reDelegateRewards="reDelegateRewards",c.withdraw="withdraw",c.claimLockedAssets="claimLockedAssets",c.swapTokensFixedInput="swapTokensFixedInput",c.swapTokensFixedOutput="swapTokensFixedOutput",c.swap="swap",c.addLiquidity="addLiquidity",c.addLiquidityProxy="addLiquidityProxy",c.removeLiquidity="removeLiquidity",c.removeLiquidityProxy="removeLiquidityProxy",c.enterFarm="enterFarm",c.enterFarmProxy="enterFarmProxy",c.enterFarmAndLockRewards="enterFarmAndLockRewards",c.enterFarmAndLockRewardsProxy="enterFarmAndLockRewardsProxy",c.exitFarm="exitFarm",c.exitFarmProxy="exitFarmProxy",c.claimRewards="claimRewards",c.claimRewardsProxy="claimRewardsProxy",c.compoundRewards="compoundRewards",c.compoundRewardsProxy="compoundRewardsProxy",c.wrapEgld="wrapEgld",c.unwrapEgld="unwrapEgld",c.unlockAssets="unlockAssets",c.mergeLockedAssetTokens="mergeLockedAssetTokens",c.stakeFarm="stakeFarm",c.stakeFarmProxy="stakeFarmProxy",c.stakeFarmTokens="stakeFarmTokens",c.stakeFarmTokensProxy="stakeFarmTokensProxy",c.unstakeFarm="unstakeFarm",c.unstakeFarmProxy="unstakeFarmProxy",c.unstakeFarmTokens="unstakeFarmTokens",c.unstakeFarmTokensProxy="unstakeFarmTokensProxy",c.claimDualYield="claimDualYield",c.claimDualYieldProxy="claimDualYieldProxy",c.unbondFarm="unbondFarm",c.ping="ping",c.lockTokens="lockTokens",c.migrateOldTokens="migrateOldTokens",c))(Vr||{}),Yr=(i=>(i.esdtNft="esdtNft",i.mex="mex",i.stake="stake",i.scCall="scCall",i))(Yr||{}),zr=(h=>(h.none="none",h.transfer="transfer",h.burn="burn",h.addQuantity="addQuantity",h.create="create",h.multiTransfer="multiTransfer",h.localMint="localMint",h.localBurn="localBurn",h.wipe="wipe",h.freeze="freeze",h.writeLog="writeLog",h.signalError="signalError",h.ESDTLocalMint="ESDTLocalMint",h.ESDTLocalBurn="ESDTLocalBurn",h))(zr||{}),Xr=(n=>(n.nft="nft",n.esdt="esdt",n.egld="egld",n))(Xr||{}),Jr=(n=>(n.none="none",n.error="error",n.log="log",n))(Jr||{}),jr=(e=>(e.Transaction="Transaction",e.SmartContractResult="SmartContractResult",e))(jr||{}),Kr=(i=>(i.SELF="Self",i.INTERNAL="Internal",i.IN="In",i.OUT="Out",i))(Kr||{}),Qr=(i=>(i.raw="raw",i.text="text",i.decimal="decimal",i.smart="smart",i))(Qr||{}),Zr=(a=>(a.pending="pending",a.success="success",a.invalid="invalid",a.dropped="dropped",a.fail="fail",a))(Zr||{});d();d();d();0&&(module.exports={BatchTransactionStatus,CrossWindowProviderRequestEnums,CrossWindowProviderResponseEnums,DecodeMethodEnum,EnvironmentsEnum,HiddenTransactionOperationType,LoginMethodsEnum,NotificationTypesEnum,PlatformsEnum,SignedMessageQueryParamsEnum,SignedMessageStatusesEnum,ToastsEnum,TransactionActionCategoryEnum,TransactionActionsEnum,TransactionBatchStatusesEnum,TransactionDirectionEnum,TransactionOperationActionTypeEnum,TransactionServerStatusesEnum,TransactionTypesEnum,TransactionsDefaultTitles,TransferTypeEnum,TypesOfSmartContractCallsEnum,VisibleTransactionOperationType,WebViewProviderRequestBaseEnums,WebViewProviderRequestEnums,WebViewProviderResponseBaseEnums,WebViewProviderResponseEnums});
1
+ "use strict";var re=Object.create;var G=Object.defineProperty;var ee=Object.getOwnPropertyDescriptor;var te=Object.getOwnPropertyNames,ar=Object.getOwnPropertySymbols,ne=Object.getPrototypeOf,sr=Object.prototype.hasOwnProperty,ie=Object.prototype.propertyIsEnumerable;var or=(t,r,e)=>r in t?G(t,r,{enumerable:!0,configurable:!0,writable:!0,value:e}):t[r]=e,W=(t,r)=>{for(var e in r||(r={}))sr.call(r,e)&&or(t,e,r[e]);if(ar)for(var e of ar(r))ie.call(r,e)&&or(t,e,r[e]);return t};var ae=(t,r)=>()=>(t&&(r=t(t=0)),r);var H=(t,r)=>()=>(r||t((r={exports:{}}).exports,r),r.exports),oe=(t,r)=>{for(var e in r)G(t,e,{get:r[e],enumerable:!0})},pr=(t,r,e,n)=>{if(r&&typeof r=="object"||typeof r=="function")for(let i of te(r))!sr.call(t,i)&&i!==e&&G(t,i,{get:()=>r[i],enumerable:!(n=ee(r,i))||n.enumerable});return t};var ur=(t,r,e)=>(e=t!=null?re(ne(t)):{},pr(r||!t||!t.__esModule?G(e,"default",{value:t,enumerable:!0}):e,t)),se=t=>pr(G({},"__esModule",{value:!0}),t);var fr=H(q=>{"use strict";d();q.byteLength=ue;q.toByteArray=le;q.fromByteArray=de;var I=[],F=[],pe=typeof Uint8Array!="undefined"?Uint8Array:Array,z="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(C=0,cr=z.length;C<cr;++C)I[C]=z[C],F[z.charCodeAt(C)]=C;var C,cr;F["-".charCodeAt(0)]=62;F["_".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 ue(t){var r=lr(t),e=r[0],n=r[1];return(e+n)*3/4-n}function ce(t,r,e){return(r+e)*3/4-e}function le(t){var r,e=lr(t),n=e[0],i=e[1],a=new pe(ce(t,n,i)),o=0,p=i>0?n-4:n,u;for(u=0;u<p;u+=4)r=F[t.charCodeAt(u)]<<18|F[t.charCodeAt(u+1)]<<12|F[t.charCodeAt(u+2)]<<6|F[t.charCodeAt(u+3)],a[o++]=r>>16&255,a[o++]=r>>8&255,a[o++]=r&255;return i===2&&(r=F[t.charCodeAt(u)]<<2|F[t.charCodeAt(u+1)]>>4,a[o++]=r&255),i===1&&(r=F[t.charCodeAt(u)]<<10|F[t.charCodeAt(u+1)]<<4|F[t.charCodeAt(u+2)]>>2,a[o++]=r>>8&255,a[o++]=r&255),a}function fe(t){return I[t>>18&63]+I[t>>12&63]+I[t>>6&63]+I[t&63]}function ge(t,r,e){for(var n,i=[],a=r;a<e;a+=3)n=(t[a]<<16&16711680)+(t[a+1]<<8&65280)+(t[a+2]&255),i.push(fe(n));return i.join("")}function de(t){for(var r,e=t.length,n=e%3,i=[],a=16383,o=0,p=e-n;o<p;o+=a)i.push(ge(t,o,o+a>p?p:o+a));return n===1?(r=t[e-1],i.push(I[r>>2]+I[r<<4&63]+"==")):n===2&&(r=(t[e-2]<<8)+t[e-1],i.push(I[r>>10]+I[r>>4&63]+I[r<<2&63]+"=")),i.join("")}});var gr=H(X=>{d();X.read=function(t,r,e,n,i){var a,o,p=i*8-n-1,u=(1<<p)-1,l=u>>1,g=-7,f=e?i-1:0,k=e?-1:1,b=t[r+f];for(f+=k,a=b&(1<<-g)-1,b>>=-g,g+=p;g>0;a=a*256+t[r+f],f+=k,g-=8);for(o=a&(1<<-g)-1,a>>=-g,g+=n;g>0;o=o*256+t[r+f],f+=k,g-=8);if(a===0)a=1-l;else{if(a===u)return o?NaN:(b?-1:1)*(1/0);o=o+Math.pow(2,n),a=a-l}return(b?-1:1)*o*Math.pow(2,a-n)};X.write=function(t,r,e,n,i,a){var o,p,u,l=a*8-i-1,g=(1<<l)-1,f=g>>1,k=i===23?Math.pow(2,-24)-Math.pow(2,-77):0,b=n?0:a-1,h=n?1:-1,$r=r<0||r===0&&1/r<0?1:0;for(r=Math.abs(r),isNaN(r)||r===1/0?(p=isNaN(r)?1:0,o=g):(o=Math.floor(Math.log(r)/Math.LN2),r*(u=Math.pow(2,-o))<1&&(o--,u*=2),o+f>=1?r+=k/u:r+=k*Math.pow(2,1-f),r*u>=2&&(o++,u/=2),o+f>=g?(p=0,o=g):o+f>=1?(p=(r*u-1)*Math.pow(2,i),o=o+f):(p=r*Math.pow(2,f-1)*Math.pow(2,i),o=0));i>=8;t[e+b]=p&255,b+=h,p/=256,i-=8);for(o=o<<i|p,l+=i;l>0;t[e+b]=o&255,b+=h,o/=256,l-=8);t[e+b-h]|=$r*128}});var Sr=H(N=>{"use strict";d();var J=fr(),D=gr(),dr=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;N.Buffer=s;N.SlowBuffer=Te;N.INSPECT_MAX_BYTES=50;var O=2147483647;N.kMaxLength=O;s.TYPED_ARRAY_SUPPORT=he();!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 he(){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 A(t){if(t>O)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 mr(t,r,e)}s.poolSize=8192;function mr(t,r,e){if(typeof t=="string")return me(t,r);if(ArrayBuffer.isView(t))return xe(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(S(t,ArrayBuffer)||t&&S(t.buffer,ArrayBuffer)||typeof SharedArrayBuffer!="undefined"&&(S(t,SharedArrayBuffer)||t&&S(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=we(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 mr(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 ye(t,r,e){return xr(t),t<=0?A(t):r!==void 0?typeof e=="string"?A(t).fill(r,e):A(t).fill(r):A(t)}s.alloc=function(t,r,e){return ye(t,r,e)};function Z(t){return xr(t),A(t<0?0:$(t)|0)}s.allocUnsafe=function(t){return Z(t)};s.allocUnsafeSlow=function(t){return Z(t)};function me(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=A(e),i=n.write(t,r);return i!==e&&(n=n.slice(0,i)),n}function j(t){for(var r=t.length<0?0:$(t.length)|0,e=A(r),n=0;n<r;n+=1)e[n]=t[n]&255;return e}function xe(t){if(S(t,Uint8Array)){var r=new Uint8Array(t);return K(r.buffer,r.byteOffset,r.byteLength)}return j(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 we(t){if(s.isBuffer(t)){var r=$(t.length)|0,e=A(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)?A(0):j(t);if(t.type==="Buffer"&&Array.isArray(t.data))return j(t.data)}function $(t){if(t>=O)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+O.toString(16)+" bytes");return t|0}function Te(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(S(r,Uint8Array)&&(r=s.from(r,r.offset,r.byteLength)),S(e,Uint8Array)&&(e=s.from(e,e.offset,e.byteLength)),!s.isBuffer(r)||!s.isBuffer(e))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(r===e)return 0;for(var n=r.length,i=e.length,a=0,o=Math.min(n,i);a<o;++a)if(r[a]!==e[a]){n=r[a],i=e[a];break}return n<i?-1:i<n?1:0};s.isEncoding=function(r){switch(String(r).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}};s.concat=function(r,e){if(!Array.isArray(r))throw new TypeError('"list" argument must be an Array of Buffers');if(r.length===0)return s.alloc(0);var n;if(e===void 0)for(e=0,n=0;n<r.length;++n)e+=r[n].length;var i=s.allocUnsafe(e),a=0;for(n=0;n<r.length;++n){var o=r[n];if(S(o,Uint8Array))a+o.length>i.length?s.from(o).copy(i,a):Uint8Array.prototype.set.call(i,o,a);else if(s.isBuffer(o))o.copy(i,a);else throw new TypeError('"list" argument must be an Array of Buffers');a+=o.length}return i};function wr(t,r){if(s.isBuffer(t))return t.length;if(ArrayBuffer.isView(t)||S(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 Ir(t).length;default:if(i)return n?-1:Q(t).length;r=(""+r).toLowerCase(),i=!0}}s.byteLength=wr;function ve(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 _e(this,r,e);case"utf8":case"utf-8":return vr(this,r,e);case"ascii":return Ae(this,r,e);case"latin1":case"binary":return Le(this,r,e);case"base64":return Be(this,r,e);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Ce(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):ve.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=N.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,a){if(S(r,Uint8Array)&&(r=s.from(r,r.offset,r.byteLength)),!s.isBuffer(r))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof r);if(e===void 0&&(e=0),n===void 0&&(n=r?r.length:0),i===void 0&&(i=0),a===void 0&&(a=this.length),e<0||n>r.length||i<0||a>this.length)throw new RangeError("out of range index");if(i>=a&&e>=n)return 0;if(i>=a)return-1;if(e>=n)return 1;if(e>>>=0,n>>>=0,i>>>=0,a>>>=0,this===r)return 0;for(var o=a-i,p=n-e,u=Math.min(o,p),l=this.slice(i,a),g=r.slice(e,n),f=0;f<u;++f)if(l[f]!==g[f]){o=l[f],p=g[f];break}return o<p?-1:p<o?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 a=1,o=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;a=2,o/=2,p/=2,e/=2}function u(b,h){return a===1?b[h]:b.readUInt16BE(h*a)}var l;if(i){var g=-1;for(l=e;l<o;l++)if(u(t,l)===u(r,g===-1?0:l-g)){if(g===-1&&(g=l),l-g+1===p)return g*a}else g!==-1&&(l-=l-g),g=-1}else for(e+p>o&&(e=o-p),l=e;l>=0;l--){for(var f=!0,k=0;k<p;k++)if(u(t,l+k)!==u(r,k)){f=!1;break}if(f)return l}return-1}s.prototype.includes=function(r,e,n){return this.indexOf(r,e,n)!==-1};s.prototype.indexOf=function(r,e,n){return Tr(this,r,e,n,!0)};s.prototype.lastIndexOf=function(r,e,n){return Tr(this,r,e,n,!1)};function be(t,r,e,n){e=Number(e)||0;var i=t.length-e;n?(n=Number(n),n>i&&(n=i)):n=i;var a=r.length;n>a/2&&(n=a/2);for(var o=0;o<n;++o){var p=parseInt(r.substr(o*2,2),16);if(rr(p))return o;t[e+o]=p}return o}function Fe(t,r,e,n){return V(Q(r,t.length-e),t,e,n)}function ke(t,r,e,n){return V(De(r),t,e,n)}function Ie(t,r,e,n){return V(Ir(r),t,e,n)}function Se(t,r,e,n){return V(Ne(r,t.length-e),t,e,n)}s.prototype.write=function(r,e,n,i){if(e===void 0)i="utf8",n=this.length,e=0;else if(n===void 0&&typeof e=="string")i=e,n=this.length,e=0;else if(isFinite(e))e=e>>>0,isFinite(n)?(n=n>>>0,i===void 0&&(i="utf8")):(i=n,n=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var a=this.length-e;if((n===void 0||n>a)&&(n=a),r.length>0&&(n<0||e<0)||e>this.length)throw new RangeError("Attempt to write outside buffer bounds");i||(i="utf8");for(var o=!1;;)switch(i){case"hex":return be(this,r,e,n);case"utf8":case"utf-8":return Fe(this,r,e,n);case"ascii":case"latin1":case"binary":return ke(this,r,e,n);case"base64":return Ie(this,r,e,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Se(this,r,e,n);default:if(o)throw new TypeError("Unknown encoding: "+i);i=(""+i).toLowerCase(),o=!0}};s.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function Be(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 a=t[i],o=null,p=a>239?4:a>223?3:a>191?2:1;if(i+p<=e){var u,l,g,f;switch(p){case 1:a<128&&(o=a);break;case 2:u=t[i+1],(u&192)===128&&(f=(a&31)<<6|u&63,f>127&&(o=f));break;case 3:u=t[i+1],l=t[i+2],(u&192)===128&&(l&192)===128&&(f=(a&15)<<12|(u&63)<<6|l&63,f>2047&&(f<55296||f>57343)&&(o=f));break;case 4:u=t[i+1],l=t[i+2],g=t[i+3],(u&192)===128&&(l&192)===128&&(g&192)===128&&(f=(a&15)<<18|(u&63)<<12|(l&63)<<6|g&63,f>65535&&f<1114112&&(o=f))}}o===null?(o=65533,p=1):o>65535&&(o-=65536,n.push(o>>>10&1023|55296),o=56320|o&1023),n.push(o),i+=p}return Re(n)}var yr=4096;function Re(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 Ae(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 Le(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 _e(t,r,e){var n=t.length;(!r||r<0)&&(r=0),(!e||e<0||e>n)&&(e=n);for(var i="",a=r;a<e;++a)i+=Pe[t[a]];return i}function Ce(t,r,e){for(var n=t.slice(r,e),i="",a=0;a<n.length-1;a+=2)i+=String.fromCharCode(n[a]+n[a+1]*256);return i}s.prototype.slice=function(r,e){var n=this.length;r=~~r,e=e===void 0?n:~~e,r<0?(r+=n,r<0&&(r=0)):r>n&&(r=n),e<0?(e+=n,e<0&&(e=0)):e>n&&(e=n),e<r&&(e=r);var i=this.subarray(r,e);return Object.setPrototypeOf(i,s.prototype),i};function m(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||m(r,e,this.length);for(var i=this[r],a=1,o=0;++o<e&&(a*=256);)i+=this[r+o]*a;return i};s.prototype.readUintBE=s.prototype.readUIntBE=function(r,e,n){r=r>>>0,e=e>>>0,n||m(r,e,this.length);for(var i=this[r+--e],a=1;e>0&&(a*=256);)i+=this[r+--e]*a;return i};s.prototype.readUint8=s.prototype.readUInt8=function(r,e){return r=r>>>0,e||m(r,1,this.length),this[r]};s.prototype.readUint16LE=s.prototype.readUInt16LE=function(r,e){return r=r>>>0,e||m(r,2,this.length),this[r]|this[r+1]<<8};s.prototype.readUint16BE=s.prototype.readUInt16BE=function(r,e){return r=r>>>0,e||m(r,2,this.length),this[r]<<8|this[r+1]};s.prototype.readUint32LE=s.prototype.readUInt32LE=function(r,e){return r=r>>>0,e||m(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||m(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||m(r,e,this.length);for(var i=this[r],a=1,o=0;++o<e&&(a*=256);)i+=this[r+o]*a;return a*=128,i>=a&&(i-=Math.pow(2,8*e)),i};s.prototype.readIntBE=function(r,e,n){r=r>>>0,e=e>>>0,n||m(r,e,this.length);for(var i=e,a=1,o=this[r+--i];i>0&&(a*=256);)o+=this[r+--i]*a;return a*=128,o>=a&&(o-=Math.pow(2,8*e)),o};s.prototype.readInt8=function(r,e){return r=r>>>0,e||m(r,1,this.length),this[r]&128?(255-this[r]+1)*-1:this[r]};s.prototype.readInt16LE=function(r,e){r=r>>>0,e||m(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||m(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||m(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||m(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||m(r,4,this.length),D.read(this,r,!0,23,4)};s.prototype.readFloatBE=function(r,e){return r=r>>>0,e||m(r,4,this.length),D.read(this,r,!1,23,4)};s.prototype.readDoubleLE=function(r,e){return r=r>>>0,e||m(r,8,this.length),D.read(this,r,!0,52,8)};s.prototype.readDoubleBE=function(r,e){return r=r>>>0,e||m(r,8,this.length),D.read(this,r,!1,52,8)};function v(t,r,e,n,i,a){if(!s.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(r>i||r<a)throw new RangeError('"value" argument is out of bounds');if(e+n>t.length)throw new RangeError("Index out of range")}s.prototype.writeUintLE=s.prototype.writeUIntLE=function(r,e,n,i){if(r=+r,e=e>>>0,n=n>>>0,!i){var a=Math.pow(2,8*n)-1;v(this,r,e,n,a,0)}var o=1,p=0;for(this[e]=r&255;++p<n&&(o*=256);)this[e+p]=r/o&255;return e+n};s.prototype.writeUintBE=s.prototype.writeUIntBE=function(r,e,n,i){if(r=+r,e=e>>>0,n=n>>>0,!i){var a=Math.pow(2,8*n)-1;v(this,r,e,n,a,0)}var o=n-1,p=1;for(this[e+o]=r&255;--o>=0&&(p*=256);)this[e+o]=r/p&255;return e+n};s.prototype.writeUint8=s.prototype.writeUInt8=function(r,e,n){return r=+r,e=e>>>0,n||v(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||v(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||v(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||v(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||v(this,r,e,4,4294967295,0),this[e]=r>>>24,this[e+1]=r>>>16,this[e+2]=r>>>8,this[e+3]=r&255,e+4};s.prototype.writeIntLE=function(r,e,n,i){if(r=+r,e=e>>>0,!i){var a=Math.pow(2,8*n-1);v(this,r,e,n,a-1,-a)}var o=0,p=1,u=0;for(this[e]=r&255;++o<n&&(p*=256);)r<0&&u===0&&this[e+o-1]!==0&&(u=1),this[e+o]=(r/p>>0)-u&255;return e+n};s.prototype.writeIntBE=function(r,e,n,i){if(r=+r,e=e>>>0,!i){var a=Math.pow(2,8*n-1);v(this,r,e,n,a-1,-a)}var o=n-1,p=1,u=0;for(this[e+o]=r&255;--o>=0&&(p*=256);)r<0&&u===0&&this[e+o+1]!==0&&(u=1),this[e+o]=(r/p>>0)-u&255;return e+n};s.prototype.writeInt8=function(r,e,n){return r=+r,e=e>>>0,n||v(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||v(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||v(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||v(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||v(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,a){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),D.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),D.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 a=i-n;return this===r&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(e,n,i):Uint8Array.prototype.set.call(r,this.subarray(n,i),e),a};s.prototype.fill=function(r,e,n,i){if(typeof r=="string"){if(typeof e=="string"?(i=e,e=0,n=this.length):typeof n=="string"&&(i=n,n=this.length),i!==void 0&&typeof i!="string")throw new TypeError("encoding must be a string");if(typeof i=="string"&&!s.isEncoding(i))throw new TypeError("Unknown encoding: "+i);if(r.length===1){var a=r.charCodeAt(0);(i==="utf8"&&a<128||i==="latin1")&&(r=a)}}else typeof r=="number"?r=r&255:typeof r=="boolean"&&(r=Number(r));if(e<0||this.length<e||this.length<n)throw new RangeError("Out of range index");if(n<=e)return this;e=e>>>0,n=n===void 0?this.length:n>>>0,r||(r=0);var o;if(typeof r=="number")for(o=e;o<n;++o)this[o]=r;else{var 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(o=0;o<n-e;++o)this[o+e]=p[o%u]}return this};var Ue=/[^+/0-9A-Za-z-_]/g;function Ee(t){if(t=t.split("=")[0],t=t.trim().replace(Ue,""),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,a=[],o=0;o<n;++o){if(e=t.charCodeAt(o),e>55295&&e<57344){if(!i){if(e>56319){(r-=3)>-1&&a.push(239,191,189);continue}else if(o+1===n){(r-=3)>-1&&a.push(239,191,189);continue}i=e;continue}if(e<56320){(r-=3)>-1&&a.push(239,191,189),i=e;continue}e=(i-55296<<10|e-56320)+65536}else i&&(r-=3)>-1&&a.push(239,191,189);if(i=null,e<128){if((r-=1)<0)break;a.push(e)}else if(e<2048){if((r-=2)<0)break;a.push(e>>6|192,e&63|128)}else if(e<65536){if((r-=3)<0)break;a.push(e>>12|224,e>>6&63|128,e&63|128)}else if(e<1114112){if((r-=4)<0)break;a.push(e>>18|240,e>>12&63|128,e>>6&63|128,e&63|128)}else throw new Error("Invalid code point")}return a}function De(t){for(var r=[],e=0;e<t.length;++e)r.push(t.charCodeAt(e)&255);return r}function Ne(t,r){for(var e,n,i,a=[],o=0;o<t.length&&!((r-=2)<0);++o)e=t.charCodeAt(o),n=e>>8,i=e%256,a.push(i),a.push(n);return a}function Ir(t){return J.toByteArray(Ee(t))}function V(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 S(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 Pe=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 _r=H((Xe,Lr)=>{d();var y=Lr.exports={},B,R;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"?B=setTimeout:B=er}catch(t){B=er}try{typeof clearTimeout=="function"?R=clearTimeout:R=tr}catch(t){R=tr}})();function Br(t){if(B===setTimeout)return setTimeout(t,0);if((B===er||!B)&&setTimeout)return B=setTimeout,setTimeout(t,0);try{return B(t,0)}catch(r){try{return B.call(null,t,0)}catch(e){return B.call(this,t,0)}}}function Me(t){if(R===clearTimeout)return clearTimeout(t);if((R===tr||!R)&&clearTimeout)return R=clearTimeout,clearTimeout(t);try{return R(t)}catch(r){try{return R.call(null,t)}catch(e){return R.call(this,t)}}}var L=[],P=!1,E,Y=-1;function Ge(){!P||!E||(P=!1,E.length?L=E.concat(L):Y=-1,L.length&&Rr())}function Rr(){if(!P){var t=Br(Ge);P=!0;for(var r=L.length;r;){for(E=L,L=[];++Y<r;)E&&E[Y].run();Y=-1,r=L.length}E=null,P=!1,Me(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];L.push(new Ar(t,r)),L.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 _(){}y.on=_;y.addListener=_;y.once=_;y.off=_;y.removeListener=_;y.removeAllListeners=_;y.emit=_;y.prependListener=_;y.prependOnceListener=_;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 x,w,Je,d=ae(()=>{x=ur(Sr()),w=ur(_r()),Je=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 qe={};oe(qe,{BatchTransactionStatus:()=>Zr,CrossWindowProviderRequestEnums:()=>M.CrossWindowProviderRequestEnums,CrossWindowProviderResponseEnums:()=>M.CrossWindowProviderResponseEnums,DecodeMethodEnum:()=>Qr,EnvironmentsEnum:()=>Gr,HiddenTransactionOperationType:()=>Jr,LoginMethodsEnum:()=>Nr,NotificationTypesEnum:()=>Pr,PlatformsEnum:()=>Or,SignedMessageQueryParamsEnum:()=>Cr,SignedMessageStatusesEnum:()=>Er,ToastsEnum:()=>Wr,TransactionActionCategoryEnum:()=>Yr,TransactionActionsEnum:()=>Vr,TransactionBatchStatusesEnum:()=>Dr,TransactionDirectionEnum:()=>Kr,TransactionOperationActionTypeEnum:()=>zr,TransactionServerStatusesEnum:()=>Ur,TransactionTypesEnum:()=>Hr,TransactionsDefaultTitles:()=>qr,TransferTypeEnum:()=>jr,TypesOfSmartContractCallsEnum:()=>Mr,VisibleTransactionOperationType:()=>Xr,WebViewProviderRequestBaseEnums:()=>nr,WebViewProviderRequestEnums:()=>We,WebViewProviderResponseBaseEnums:()=>ir,WebViewProviderResponseEnums:()=>He});module.exports=se(qe);d();d();var Cr=(i=>(i.signature="signature",i.sessionId="sessionId",i.status="status",i.address="address",i))(Cr||{});d();d();d();var M=require("@multiversx/sdk-web-wallet-cross-window-provider/out/types");var Ur=(p=>(p.pending="pending",p.fail="fail",p.invalid="invalid",p.success="success",p.executed="executed",p.notExecuted="not executed",p.rewardReverted="reward-reverted",p))(Ur||{}),Er=(i=>(i.pending="pending",i.failed="failed",i.signed="signed",i.cancelled="cancelled",i))(Er||{}),Dr=(p=>(p.signed="signed",p.cancelled="cancelled",p.success="success",p.sent="sent",p.fail="fail",p.timedOut="timedOut",p.invalid="invalid",p))(Dr||{}),Nr=(l=>(l.ledger="ledger",l.walletconnect="walletconnect",l.walletconnectv2="walletconnectv2",l.wallet="wallet",l.crossWindow="crossWindow",l.extension="extension",l.opera="opera",l.extra="extra",l.none="",l))(Nr||{}),Pr=(n=>(n.warning="warning",n.error="error",n.success="success",n))(Pr||{}),Mr=(e=>(e.MultiESDTNFTTransfer="MultiESDTNFTTransfer",e.ESDTNFTTransfer="ESDTNFTTransfer",e))(Mr||{}),Gr=(n=>(n.testnet="testnet",n.devnet="devnet",n.mainnet="mainnet",n))(Gr||{}),Wr=(e=>(e.custom="custom",e.transaction="transaction",e))(Wr||{}),Hr=(p=>(p.MultiESDTNFTTransfer="MultiESDTNFTTransfer",p.ESDTTransfer="ESDTTransfer",p.ESDTNFTBurn="ESDTNFTBurn",p.ESDTNFTTransfer="ESDTNFTTransfer",p.esdtTransaction="esdtTransaction",p.nftTransaction="nftTransaction",p.scCall="scCall",p))(Hr||{}),qr=(a=>(a.success="Transaction successful",a.failed="Transaction failed",a.pending="Processing transaction",a.timedOut="Transaction timed out",a.invalid="Transaction invalid",a))(qr||{}),Or=(i=>(i.ios="ios",i.reactNative="reactNative",i.web="web",i.webWallet="webWallet",i))(Or||{}),nr=(e=>(e.signTransactionsWithGuardianResponse="SIGN_TRANSACTIONS_WITH_GUARDIAN_RESPONSE",e.reloginRequest="RELOGIN_REQUEST",e))(nr||{}),We=W(W({},M.CrossWindowProviderRequestEnums),nr),ir=(r=>(r.reloginResponse="RELOGIN_RESPONSE",r))(ir||{}),He=W(W({},M.CrossWindowProviderResponseEnums),ir);d();d();d();var Vr=(c=>(c.transfer="transfer",c.unBond="unBond",c.unStake="unStake",c.delegate="delegate",c.stake="stake",c.unDelegate="unDelegate",c.stakeClaimRewards="claimRewards",c.reDelegateRewards="reDelegateRewards",c.withdraw="withdraw",c.claimLockedAssets="claimLockedAssets",c.swapTokensFixedInput="swapTokensFixedInput",c.swapTokensFixedOutput="swapTokensFixedOutput",c.swap="swap",c.addLiquidity="addLiquidity",c.addLiquidityProxy="addLiquidityProxy",c.removeLiquidity="removeLiquidity",c.removeLiquidityProxy="removeLiquidityProxy",c.enterFarm="enterFarm",c.enterFarmProxy="enterFarmProxy",c.enterFarmAndLockRewards="enterFarmAndLockRewards",c.enterFarmAndLockRewardsProxy="enterFarmAndLockRewardsProxy",c.exitFarm="exitFarm",c.exitFarmProxy="exitFarmProxy",c.claimRewards="claimRewards",c.claimRewardsProxy="claimRewardsProxy",c.compoundRewards="compoundRewards",c.compoundRewardsProxy="compoundRewardsProxy",c.wrapEgld="wrapEgld",c.unwrapEgld="unwrapEgld",c.unlockAssets="unlockAssets",c.mergeLockedAssetTokens="mergeLockedAssetTokens",c.stakeFarm="stakeFarm",c.stakeFarmProxy="stakeFarmProxy",c.stakeFarmTokens="stakeFarmTokens",c.stakeFarmTokensProxy="stakeFarmTokensProxy",c.unstakeFarm="unstakeFarm",c.unstakeFarmProxy="unstakeFarmProxy",c.unstakeFarmTokens="unstakeFarmTokens",c.unstakeFarmTokensProxy="unstakeFarmTokensProxy",c.claimDualYield="claimDualYield",c.claimDualYieldProxy="claimDualYieldProxy",c.unbondFarm="unbondFarm",c.ping="ping",c.lockTokens="lockTokens",c.migrateOldTokens="migrateOldTokens",c))(Vr||{}),Yr=(i=>(i.esdtNft="esdtNft",i.mex="mex",i.stake="stake",i.scCall="scCall",i))(Yr||{}),zr=(h=>(h.none="none",h.transfer="transfer",h.burn="burn",h.addQuantity="addQuantity",h.create="create",h.multiTransfer="multiTransfer",h.localMint="localMint",h.localBurn="localBurn",h.wipe="wipe",h.freeze="freeze",h.writeLog="writeLog",h.signalError="signalError",h.ESDTLocalMint="ESDTLocalMint",h.ESDTLocalBurn="ESDTLocalBurn",h))(zr||{}),Xr=(n=>(n.nft="nft",n.esdt="esdt",n.egld="egld",n))(Xr||{}),Jr=(n=>(n.none="none",n.error="error",n.log="log",n))(Jr||{}),jr=(e=>(e.Transaction="Transaction",e.SmartContractResult="SmartContractResult",e))(jr||{}),Kr=(i=>(i.SELF="Self",i.INTERNAL="Internal",i.IN="In",i.OUT="Out",i))(Kr||{}),Qr=(i=>(i.raw="raw",i.text="text",i.decimal="decimal",i.smart="smart",i))(Qr||{}),Zr=(a=>(a.pending="pending",a.success="success",a.invalid="invalid",a.dropped="dropped",a.fail="fail",a))(Zr||{});d();d();d();0&&(module.exports={BatchTransactionStatus,CrossWindowProviderRequestEnums,CrossWindowProviderResponseEnums,DecodeMethodEnum,EnvironmentsEnum,HiddenTransactionOperationType,LoginMethodsEnum,NotificationTypesEnum,PlatformsEnum,SignedMessageQueryParamsEnum,SignedMessageStatusesEnum,ToastsEnum,TransactionActionCategoryEnum,TransactionActionsEnum,TransactionBatchStatusesEnum,TransactionDirectionEnum,TransactionOperationActionTypeEnum,TransactionServerStatusesEnum,TransactionTypesEnum,TransactionsDefaultTitles,TransferTypeEnum,TypesOfSmartContractCallsEnum,VisibleTransactionOperationType,WebViewProviderRequestBaseEnums,WebViewProviderRequestEnums,WebViewProviderResponseBaseEnums,WebViewProviderResponseEnums});
2
2
  /*!
3
3
  * The buffer module from node.js, for the browser.
4
4
  *
@@ -156,7 +156,7 @@ export interface SmartContractResult {
156
156
  export declare type DeviceSignedTransactions = Record<number, Transaction>;
157
157
  export interface GuardianScreenType extends WithClassnameType {
158
158
  address: string;
159
- onSignTransaction: () => void;
159
+ onSignTransaction: () => Promise<void>;
160
160
  onPrev: () => void;
161
161
  title?: ReactNode;
162
162
  signStepInnerClasses?: SignStepInnerClassesType;
@@ -1,4 +1,4 @@
1
- "use strict";var Me=Object.create;var M=Object.defineProperty;var Pe=Object.getOwnPropertyDescriptor;var Ge=Object.getOwnPropertyNames,ie=Object.getOwnPropertySymbols,Ve=Object.getPrototypeOf,ae=Object.prototype.hasOwnProperty,We=Object.prototype.propertyIsEnumerable;var oe=(t,e,r)=>e in t?M(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,P=(t,e)=>{for(var r in e||(e={}))ae.call(e,r)&&oe(t,r,e[r]);if(ie)for(var r of ie(e))We.call(e,r)&&oe(t,r,e[r]);return t};var He=(t,e)=>()=>(t&&(e=t(t=0)),e);var G=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),qe=(t,e)=>{for(var r in e)M(t,r,{get:e[r],enumerable:!0})},se=(t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of Ge(e))!ae.call(t,i)&&i!==r&&M(t,i,{get:()=>e[i],enumerable:!(n=Pe(e,i))||n.enumerable});return t};var le=(t,e,r)=>(r=t!=null?Me(Ve(t)):{},se(e||!t||!t.__esModule?M(r,"default",{value:t,enumerable:!0}):r,t)),ze=t=>se(M({},"__esModule",{value:!0}),t);var ue=G(V=>{"use strict";l();V.byteLength=Xe;V.toByteArray=Ke;V.fromByteArray=Qe;var k=[],T=[],je=typeof Uint8Array!="undefined"?Uint8Array:Array,j="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(N=0,ce=j.length;N<ce;++N)k[N]=j[N],T[j.charCodeAt(N)]=N;var N,ce;T["-".charCodeAt(0)]=62;T["_".charCodeAt(0)]=63;function pe(t){var e=t.length;if(e%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var r=t.indexOf("=");r===-1&&(r=e);var n=r===e?0:4-r%4;return[r,n]}function Xe(t){var e=pe(t),r=e[0],n=e[1];return(r+n)*3/4-n}function Ye(t,e,r){return(e+r)*3/4-r}function Ke(t){var e,r=pe(t),n=r[0],i=r[1],o=new je(Ye(t,n,i)),a=0,c=i>0?n-4:n,p;for(p=0;p<c;p+=4)e=T[t.charCodeAt(p)]<<18|T[t.charCodeAt(p+1)]<<12|T[t.charCodeAt(p+2)]<<6|T[t.charCodeAt(p+3)],o[a++]=e>>16&255,o[a++]=e>>8&255,o[a++]=e&255;return i===2&&(e=T[t.charCodeAt(p)]<<2|T[t.charCodeAt(p+1)]>>4,o[a++]=e&255),i===1&&(e=T[t.charCodeAt(p)]<<10|T[t.charCodeAt(p+1)]<<4|T[t.charCodeAt(p+2)]>>2,o[a++]=e>>8&255,o[a++]=e&255),o}function Je(t){return k[t>>18&63]+k[t>>12&63]+k[t>>6&63]+k[t&63]}function Ze(t,e,r){for(var n,i=[],o=e;o<r;o+=3)n=(t[o]<<16&16711680)+(t[o+1]<<8&65280)+(t[o+2]&255),i.push(Je(n));return i.join("")}function Qe(t){for(var e,r=t.length,n=r%3,i=[],o=16383,a=0,c=r-n;a<c;a+=o)i.push(Ze(t,a,a+o>c?c:a+o));return n===1?(e=t[r-1],i.push(k[e>>2]+k[e<<4&63]+"==")):n===2&&(e=(t[r-2]<<8)+t[r-1],i.push(k[e>>10]+k[e>>4&63]+k[e<<2&63]+"=")),i.join("")}});var de=G(X=>{l();X.read=function(t,e,r,n,i){var o,a,c=i*8-n-1,p=(1<<c)-1,d=p>>1,g=-7,u=r?i-1:0,v=r?-1:1,b=t[e+u];for(u+=v,o=b&(1<<-g)-1,b>>=-g,g+=c;g>0;o=o*256+t[e+u],u+=v,g-=8);for(a=o&(1<<-g)-1,o>>=-g,g+=n;g>0;a=a*256+t[e+u],u+=v,g-=8);if(o===0)o=1-d;else{if(o===p)return a?NaN:(b?-1:1)*(1/0);a=a+Math.pow(2,n),o=o-d}return(b?-1:1)*a*Math.pow(2,o-n)};X.write=function(t,e,r,n,i,o){var a,c,p,d=o*8-i-1,g=(1<<d)-1,u=g>>1,v=i===23?Math.pow(2,-24)-Math.pow(2,-77):0,b=n?0:o-1,B=n?1:-1,Oe=e<0||e===0&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(c=isNaN(e)?1:0,a=g):(a=Math.floor(Math.log(e)/Math.LN2),e*(p=Math.pow(2,-a))<1&&(a--,p*=2),a+u>=1?e+=v/p:e+=v*Math.pow(2,1-u),e*p>=2&&(a++,p/=2),a+u>=g?(c=0,a=g):a+u>=1?(c=(e*p-1)*Math.pow(2,i),a=a+u):(c=e*Math.pow(2,u-1)*Math.pow(2,i),a=0));i>=8;t[r+b]=c&255,b+=B,c/=256,i-=8);for(a=a<<i|c,d+=i;d>0;t[r+b]=a&255,b+=B,a/=256,d-=8);t[r+b-B]|=Oe*128}});var Ae=G(D=>{"use strict";l();var Y=ue(),U=de(),ge=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;D.Buffer=s;D.SlowBuffer=ir;D.INSPECT_MAX_BYTES=50;var W=2147483647;D.kMaxLength=W;s.TYPED_ARRAY_SUPPORT=$e();!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 $e(){try{var t=new Uint8Array(1),e={foo:function(){return 42}};return Object.setPrototypeOf(e,Uint8Array.prototype),Object.setPrototypeOf(t,e),t.foo()===42}catch(r){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 I(t){if(t>W)throw new RangeError('The value "'+t+'" is invalid for option "size"');var e=new Uint8Array(t);return Object.setPrototypeOf(e,s.prototype),e}function s(t,e,r){if(typeof t=="number"){if(typeof e=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return Q(t)}return me(t,e,r)}s.poolSize=8192;function me(t,e,r){if(typeof t=="string")return rr(t,e);if(ArrayBuffer.isView(t))return tr(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(_(t,ArrayBuffer)||t&&_(t.buffer,ArrayBuffer)||typeof SharedArrayBuffer!="undefined"&&(_(t,SharedArrayBuffer)||t&&_(t.buffer,SharedArrayBuffer)))return J(t,e,r);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,e,r);var i=nr(t);if(i)return i;if(typeof Symbol!="undefined"&&Symbol.toPrimitive!=null&&typeof t[Symbol.toPrimitive]=="function")return s.from(t[Symbol.toPrimitive]("string"),e,r);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,e,r){return me(t,e,r)};Object.setPrototypeOf(s.prototype,Uint8Array.prototype);Object.setPrototypeOf(s,Uint8Array);function ye(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 er(t,e,r){return ye(t),t<=0?I(t):e!==void 0?typeof r=="string"?I(t).fill(e,r):I(t).fill(e):I(t)}s.alloc=function(t,e,r){return er(t,e,r)};function Q(t){return ye(t),I(t<0?0:$(t)|0)}s.allocUnsafe=function(t){return Q(t)};s.allocUnsafeSlow=function(t){return Q(t)};function rr(t,e){if((typeof e!="string"||e==="")&&(e="utf8"),!s.isEncoding(e))throw new TypeError("Unknown encoding: "+e);var r=xe(t,e)|0,n=I(r),i=n.write(t,e);return i!==r&&(n=n.slice(0,i)),n}function K(t){for(var e=t.length<0?0:$(t.length)|0,r=I(e),n=0;n<e;n+=1)r[n]=t[n]&255;return r}function tr(t){if(_(t,Uint8Array)){var e=new Uint8Array(t);return J(e.buffer,e.byteOffset,e.byteLength)}return K(t)}function J(t,e,r){if(e<0||t.byteLength<e)throw new RangeError('"offset" is outside of buffer bounds');if(t.byteLength<e+(r||0))throw new RangeError('"length" is outside of buffer bounds');var n;return e===void 0&&r===void 0?n=new Uint8Array(t):r===void 0?n=new Uint8Array(t,e):n=new Uint8Array(t,e,r),Object.setPrototypeOf(n,s.prototype),n}function nr(t){if(s.isBuffer(t)){var e=$(t.length)|0,r=I(e);return r.length===0||t.copy(r,0,0,e),r}if(t.length!==void 0)return typeof t.length!="number"||ee(t.length)?I(0):K(t);if(t.type==="Buffer"&&Array.isArray(t.data))return K(t.data)}function $(t){if(t>=W)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+W.toString(16)+" bytes");return t|0}function ir(t){return+t!=t&&(t=0),s.alloc(+t)}s.isBuffer=function(e){return e!=null&&e._isBuffer===!0&&e!==s.prototype};s.compare=function(e,r){if(_(e,Uint8Array)&&(e=s.from(e,e.offset,e.byteLength)),_(r,Uint8Array)&&(r=s.from(r,r.offset,r.byteLength)),!s.isBuffer(e)||!s.isBuffer(r))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(e===r)return 0;for(var n=e.length,i=r.length,o=0,a=Math.min(n,i);o<a;++o)if(e[o]!==r[o]){n=e[o],i=r[o];break}return n<i?-1:i<n?1:0};s.isEncoding=function(e){switch(String(e).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(e,r){if(!Array.isArray(e))throw new TypeError('"list" argument must be an Array of Buffers');if(e.length===0)return s.alloc(0);var n;if(r===void 0)for(r=0,n=0;n<e.length;++n)r+=e[n].length;var i=s.allocUnsafe(r),o=0;for(n=0;n<e.length;++n){var a=e[n];if(_(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 xe(t,e){if(s.isBuffer(t))return t.length;if(ArrayBuffer.isView(t)||_(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 r=t.length,n=arguments.length>2&&arguments[2]===!0;if(!n&&r===0)return 0;for(var i=!1;;)switch(e){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":return Z(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return r*2;case"hex":return r>>>1;case"base64":return _e(t).length;default:if(i)return n?-1:Z(t).length;e=(""+e).toLowerCase(),i=!0}}s.byteLength=xe;function or(t,e,r){var n=!1;if((e===void 0||e<0)&&(e=0),e>this.length||((r===void 0||r>this.length)&&(r=this.length),r<=0)||(r>>>=0,e>>>=0,r<=e))return"";for(t||(t="utf8");;)switch(t){case"hex":return hr(this,e,r);case"utf8":case"utf-8":return be(this,e,r);case"ascii":return gr(this,e,r);case"latin1":case"binary":return fr(this,e,r);case"base64":return ur(this,e,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return mr(this,e,r);default:if(n)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),n=!0}}s.prototype._isBuffer=!0;function F(t,e,r){var n=t[e];t[e]=t[r],t[r]=n}s.prototype.swap16=function(){var e=this.length;if(e%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var r=0;r<e;r+=2)F(this,r,r+1);return this};s.prototype.swap32=function(){var e=this.length;if(e%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var r=0;r<e;r+=4)F(this,r,r+3),F(this,r+1,r+2);return this};s.prototype.swap64=function(){var e=this.length;if(e%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var r=0;r<e;r+=8)F(this,r,r+7),F(this,r+1,r+6),F(this,r+2,r+5),F(this,r+3,r+4);return this};s.prototype.toString=function(){var e=this.length;return e===0?"":arguments.length===0?be(this,0,e):or.apply(this,arguments)};s.prototype.toLocaleString=s.prototype.toString;s.prototype.equals=function(e){if(!s.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e?!0:s.compare(this,e)===0};s.prototype.inspect=function(){var e="",r=D.INSPECT_MAX_BYTES;return e=this.toString("hex",0,r).replace(/(.{2})/g,"$1 ").trim(),this.length>r&&(e+=" ... "),"<Buffer "+e+">"};ge&&(s.prototype[ge]=s.prototype.inspect);s.prototype.compare=function(e,r,n,i,o){if(_(e,Uint8Array)&&(e=s.from(e,e.offset,e.byteLength)),!s.isBuffer(e))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof e);if(r===void 0&&(r=0),n===void 0&&(n=e?e.length:0),i===void 0&&(i=0),o===void 0&&(o=this.length),r<0||n>e.length||i<0||o>this.length)throw new RangeError("out of range index");if(i>=o&&r>=n)return 0;if(i>=o)return-1;if(r>=n)return 1;if(r>>>=0,n>>>=0,i>>>=0,o>>>=0,this===e)return 0;for(var a=o-i,c=n-r,p=Math.min(a,c),d=this.slice(i,o),g=e.slice(r,n),u=0;u<p;++u)if(d[u]!==g[u]){a=d[u],c=g[u];break}return a<c?-1:c<a?1:0};function we(t,e,r,n,i){if(t.length===0)return-1;if(typeof r=="string"?(n=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),r=+r,ee(r)&&(r=i?0:t.length-1),r<0&&(r=t.length+r),r>=t.length){if(i)return-1;r=t.length-1}else if(r<0)if(i)r=0;else return-1;if(typeof e=="string"&&(e=s.from(e,n)),s.isBuffer(e))return e.length===0?-1:fe(t,e,r,n,i);if(typeof e=="number")return e=e&255,typeof Uint8Array.prototype.indexOf=="function"?i?Uint8Array.prototype.indexOf.call(t,e,r):Uint8Array.prototype.lastIndexOf.call(t,e,r):fe(t,[e],r,n,i);throw new TypeError("val must be string, number or Buffer")}function fe(t,e,r,n,i){var o=1,a=t.length,c=e.length;if(n!==void 0&&(n=String(n).toLowerCase(),n==="ucs2"||n==="ucs-2"||n==="utf16le"||n==="utf-16le")){if(t.length<2||e.length<2)return-1;o=2,a/=2,c/=2,r/=2}function p(b,B){return o===1?b[B]:b.readUInt16BE(B*o)}var d;if(i){var g=-1;for(d=r;d<a;d++)if(p(t,d)===p(e,g===-1?0:d-g)){if(g===-1&&(g=d),d-g+1===c)return g*o}else g!==-1&&(d-=d-g),g=-1}else for(r+c>a&&(r=a-c),d=r;d>=0;d--){for(var u=!0,v=0;v<c;v++)if(p(t,d+v)!==p(e,v)){u=!1;break}if(u)return d}return-1}s.prototype.includes=function(e,r,n){return this.indexOf(e,r,n)!==-1};s.prototype.indexOf=function(e,r,n){return we(this,e,r,n,!0)};s.prototype.lastIndexOf=function(e,r,n){return we(this,e,r,n,!1)};function ar(t,e,r,n){r=Number(r)||0;var i=t.length-r;n?(n=Number(n),n>i&&(n=i)):n=i;var o=e.length;n>o/2&&(n=o/2);for(var a=0;a<n;++a){var c=parseInt(e.substr(a*2,2),16);if(ee(c))return a;t[r+a]=c}return a}function sr(t,e,r,n){return H(Z(e,t.length-r),t,r,n)}function lr(t,e,r,n){return H(wr(e),t,r,n)}function cr(t,e,r,n){return H(_e(e),t,r,n)}function pr(t,e,r,n){return H(br(e,t.length-r),t,r,n)}s.prototype.write=function(e,r,n,i){if(r===void 0)i="utf8",n=this.length,r=0;else if(n===void 0&&typeof r=="string")i=r,n=this.length,r=0;else if(isFinite(r))r=r>>>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-r;if((n===void 0||n>o)&&(n=o),e.length>0&&(n<0||r<0)||r>this.length)throw new RangeError("Attempt to write outside buffer bounds");i||(i="utf8");for(var a=!1;;)switch(i){case"hex":return ar(this,e,r,n);case"utf8":case"utf-8":return sr(this,e,r,n);case"ascii":case"latin1":case"binary":return lr(this,e,r,n);case"base64":return cr(this,e,r,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return pr(this,e,r,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 ur(t,e,r){return e===0&&r===t.length?Y.fromByteArray(t):Y.fromByteArray(t.slice(e,r))}function be(t,e,r){r=Math.min(t.length,r);for(var n=[],i=e;i<r;){var o=t[i],a=null,c=o>239?4:o>223?3:o>191?2:1;if(i+c<=r){var p,d,g,u;switch(c){case 1:o<128&&(a=o);break;case 2:p=t[i+1],(p&192)===128&&(u=(o&31)<<6|p&63,u>127&&(a=u));break;case 3:p=t[i+1],d=t[i+2],(p&192)===128&&(d&192)===128&&(u=(o&15)<<12|(p&63)<<6|d&63,u>2047&&(u<55296||u>57343)&&(a=u));break;case 4:p=t[i+1],d=t[i+2],g=t[i+3],(p&192)===128&&(d&192)===128&&(g&192)===128&&(u=(o&15)<<18|(p&63)<<12|(d&63)<<6|g&63,u>65535&&u<1114112&&(a=u))}}a===null?(a=65533,c=1):a>65535&&(a-=65536,n.push(a>>>10&1023|55296),a=56320|a&1023),n.push(a),i+=c}return dr(n)}var he=4096;function dr(t){var e=t.length;if(e<=he)return String.fromCharCode.apply(String,t);for(var r="",n=0;n<e;)r+=String.fromCharCode.apply(String,t.slice(n,n+=he));return r}function gr(t,e,r){var n="";r=Math.min(t.length,r);for(var i=e;i<r;++i)n+=String.fromCharCode(t[i]&127);return n}function fr(t,e,r){var n="";r=Math.min(t.length,r);for(var i=e;i<r;++i)n+=String.fromCharCode(t[i]);return n}function hr(t,e,r){var n=t.length;(!e||e<0)&&(e=0),(!r||r<0||r>n)&&(r=n);for(var i="",o=e;o<r;++o)i+=Tr[t[o]];return i}function mr(t,e,r){for(var n=t.slice(e,r),i="",o=0;o<n.length-1;o+=2)i+=String.fromCharCode(n[o]+n[o+1]*256);return i}s.prototype.slice=function(e,r){var n=this.length;e=~~e,r=r===void 0?n:~~r,e<0?(e+=n,e<0&&(e=0)):e>n&&(e=n),r<0?(r+=n,r<0&&(r=0)):r>n&&(r=n),r<e&&(r=e);var i=this.subarray(e,r);return Object.setPrototypeOf(i,s.prototype),i};function x(t,e,r){if(t%1!==0||t<0)throw new RangeError("offset is not uint");if(t+e>r)throw new RangeError("Trying to access beyond buffer length")}s.prototype.readUintLE=s.prototype.readUIntLE=function(e,r,n){e=e>>>0,r=r>>>0,n||x(e,r,this.length);for(var i=this[e],o=1,a=0;++a<r&&(o*=256);)i+=this[e+a]*o;return i};s.prototype.readUintBE=s.prototype.readUIntBE=function(e,r,n){e=e>>>0,r=r>>>0,n||x(e,r,this.length);for(var i=this[e+--r],o=1;r>0&&(o*=256);)i+=this[e+--r]*o;return i};s.prototype.readUint8=s.prototype.readUInt8=function(e,r){return e=e>>>0,r||x(e,1,this.length),this[e]};s.prototype.readUint16LE=s.prototype.readUInt16LE=function(e,r){return e=e>>>0,r||x(e,2,this.length),this[e]|this[e+1]<<8};s.prototype.readUint16BE=s.prototype.readUInt16BE=function(e,r){return e=e>>>0,r||x(e,2,this.length),this[e]<<8|this[e+1]};s.prototype.readUint32LE=s.prototype.readUInt32LE=function(e,r){return e=e>>>0,r||x(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+this[e+3]*16777216};s.prototype.readUint32BE=s.prototype.readUInt32BE=function(e,r){return e=e>>>0,r||x(e,4,this.length),this[e]*16777216+(this[e+1]<<16|this[e+2]<<8|this[e+3])};s.prototype.readIntLE=function(e,r,n){e=e>>>0,r=r>>>0,n||x(e,r,this.length);for(var i=this[e],o=1,a=0;++a<r&&(o*=256);)i+=this[e+a]*o;return o*=128,i>=o&&(i-=Math.pow(2,8*r)),i};s.prototype.readIntBE=function(e,r,n){e=e>>>0,r=r>>>0,n||x(e,r,this.length);for(var i=r,o=1,a=this[e+--i];i>0&&(o*=256);)a+=this[e+--i]*o;return o*=128,a>=o&&(a-=Math.pow(2,8*r)),a};s.prototype.readInt8=function(e,r){return e=e>>>0,r||x(e,1,this.length),this[e]&128?(255-this[e]+1)*-1:this[e]};s.prototype.readInt16LE=function(e,r){e=e>>>0,r||x(e,2,this.length);var n=this[e]|this[e+1]<<8;return n&32768?n|4294901760:n};s.prototype.readInt16BE=function(e,r){e=e>>>0,r||x(e,2,this.length);var n=this[e+1]|this[e]<<8;return n&32768?n|4294901760:n};s.prototype.readInt32LE=function(e,r){return e=e>>>0,r||x(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24};s.prototype.readInt32BE=function(e,r){return e=e>>>0,r||x(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]};s.prototype.readFloatLE=function(e,r){return e=e>>>0,r||x(e,4,this.length),U.read(this,e,!0,23,4)};s.prototype.readFloatBE=function(e,r){return e=e>>>0,r||x(e,4,this.length),U.read(this,e,!1,23,4)};s.prototype.readDoubleLE=function(e,r){return e=e>>>0,r||x(e,8,this.length),U.read(this,e,!0,52,8)};s.prototype.readDoubleBE=function(e,r){return e=e>>>0,r||x(e,8,this.length),U.read(this,e,!1,52,8)};function w(t,e,r,n,i,o){if(!s.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>i||e<o)throw new RangeError('"value" argument is out of bounds');if(r+n>t.length)throw new RangeError("Index out of range")}s.prototype.writeUintLE=s.prototype.writeUIntLE=function(e,r,n,i){if(e=+e,r=r>>>0,n=n>>>0,!i){var o=Math.pow(2,8*n)-1;w(this,e,r,n,o,0)}var a=1,c=0;for(this[r]=e&255;++c<n&&(a*=256);)this[r+c]=e/a&255;return r+n};s.prototype.writeUintBE=s.prototype.writeUIntBE=function(e,r,n,i){if(e=+e,r=r>>>0,n=n>>>0,!i){var o=Math.pow(2,8*n)-1;w(this,e,r,n,o,0)}var a=n-1,c=1;for(this[r+a]=e&255;--a>=0&&(c*=256);)this[r+a]=e/c&255;return r+n};s.prototype.writeUint8=s.prototype.writeUInt8=function(e,r,n){return e=+e,r=r>>>0,n||w(this,e,r,1,255,0),this[r]=e&255,r+1};s.prototype.writeUint16LE=s.prototype.writeUInt16LE=function(e,r,n){return e=+e,r=r>>>0,n||w(this,e,r,2,65535,0),this[r]=e&255,this[r+1]=e>>>8,r+2};s.prototype.writeUint16BE=s.prototype.writeUInt16BE=function(e,r,n){return e=+e,r=r>>>0,n||w(this,e,r,2,65535,0),this[r]=e>>>8,this[r+1]=e&255,r+2};s.prototype.writeUint32LE=s.prototype.writeUInt32LE=function(e,r,n){return e=+e,r=r>>>0,n||w(this,e,r,4,4294967295,0),this[r+3]=e>>>24,this[r+2]=e>>>16,this[r+1]=e>>>8,this[r]=e&255,r+4};s.prototype.writeUint32BE=s.prototype.writeUInt32BE=function(e,r,n){return e=+e,r=r>>>0,n||w(this,e,r,4,4294967295,0),this[r]=e>>>24,this[r+1]=e>>>16,this[r+2]=e>>>8,this[r+3]=e&255,r+4};s.prototype.writeIntLE=function(e,r,n,i){if(e=+e,r=r>>>0,!i){var o=Math.pow(2,8*n-1);w(this,e,r,n,o-1,-o)}var a=0,c=1,p=0;for(this[r]=e&255;++a<n&&(c*=256);)e<0&&p===0&&this[r+a-1]!==0&&(p=1),this[r+a]=(e/c>>0)-p&255;return r+n};s.prototype.writeIntBE=function(e,r,n,i){if(e=+e,r=r>>>0,!i){var o=Math.pow(2,8*n-1);w(this,e,r,n,o-1,-o)}var a=n-1,c=1,p=0;for(this[r+a]=e&255;--a>=0&&(c*=256);)e<0&&p===0&&this[r+a+1]!==0&&(p=1),this[r+a]=(e/c>>0)-p&255;return r+n};s.prototype.writeInt8=function(e,r,n){return e=+e,r=r>>>0,n||w(this,e,r,1,127,-128),e<0&&(e=255+e+1),this[r]=e&255,r+1};s.prototype.writeInt16LE=function(e,r,n){return e=+e,r=r>>>0,n||w(this,e,r,2,32767,-32768),this[r]=e&255,this[r+1]=e>>>8,r+2};s.prototype.writeInt16BE=function(e,r,n){return e=+e,r=r>>>0,n||w(this,e,r,2,32767,-32768),this[r]=e>>>8,this[r+1]=e&255,r+2};s.prototype.writeInt32LE=function(e,r,n){return e=+e,r=r>>>0,n||w(this,e,r,4,2147483647,-2147483648),this[r]=e&255,this[r+1]=e>>>8,this[r+2]=e>>>16,this[r+3]=e>>>24,r+4};s.prototype.writeInt32BE=function(e,r,n){return e=+e,r=r>>>0,n||w(this,e,r,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),this[r]=e>>>24,this[r+1]=e>>>16,this[r+2]=e>>>8,this[r+3]=e&255,r+4};function Te(t,e,r,n,i,o){if(r+n>t.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function ve(t,e,r,n,i){return e=+e,r=r>>>0,i||Te(t,e,r,4,34028234663852886e22,-34028234663852886e22),U.write(t,e,r,n,23,4),r+4}s.prototype.writeFloatLE=function(e,r,n){return ve(this,e,r,!0,n)};s.prototype.writeFloatBE=function(e,r,n){return ve(this,e,r,!1,n)};function ke(t,e,r,n,i){return e=+e,r=r>>>0,i||Te(t,e,r,8,17976931348623157e292,-17976931348623157e292),U.write(t,e,r,n,52,8),r+8}s.prototype.writeDoubleLE=function(e,r,n){return ke(this,e,r,!0,n)};s.prototype.writeDoubleBE=function(e,r,n){return ke(this,e,r,!1,n)};s.prototype.copy=function(e,r,n,i){if(!s.isBuffer(e))throw new TypeError("argument should be a Buffer");if(n||(n=0),!i&&i!==0&&(i=this.length),r>=e.length&&(r=e.length),r||(r=0),i>0&&i<n&&(i=n),i===n||e.length===0||this.length===0)return 0;if(r<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),e.length-r<i-n&&(i=e.length-r+n);var o=i-n;return this===e&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(r,n,i):Uint8Array.prototype.set.call(e,this.subarray(n,i),r),o};s.prototype.fill=function(e,r,n,i){if(typeof e=="string"){if(typeof r=="string"?(i=r,r=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(e.length===1){var o=e.charCodeAt(0);(i==="utf8"&&o<128||i==="latin1")&&(e=o)}}else typeof e=="number"?e=e&255:typeof e=="boolean"&&(e=Number(e));if(r<0||this.length<r||this.length<n)throw new RangeError("Out of range index");if(n<=r)return this;r=r>>>0,n=n===void 0?this.length:n>>>0,e||(e=0);var a;if(typeof e=="number")for(a=r;a<n;++a)this[a]=e;else{var c=s.isBuffer(e)?e:s.from(e,i),p=c.length;if(p===0)throw new TypeError('The value "'+e+'" is invalid for argument "value"');for(a=0;a<n-r;++a)this[a+r]=c[a%p]}return this};var yr=/[^+/0-9A-Za-z-_]/g;function xr(t){if(t=t.split("=")[0],t=t.trim().replace(yr,""),t.length<2)return"";for(;t.length%4!==0;)t=t+"=";return t}function Z(t,e){e=e||1/0;for(var r,n=t.length,i=null,o=[],a=0;a<n;++a){if(r=t.charCodeAt(a),r>55295&&r<57344){if(!i){if(r>56319){(e-=3)>-1&&o.push(239,191,189);continue}else if(a+1===n){(e-=3)>-1&&o.push(239,191,189);continue}i=r;continue}if(r<56320){(e-=3)>-1&&o.push(239,191,189),i=r;continue}r=(i-55296<<10|r-56320)+65536}else i&&(e-=3)>-1&&o.push(239,191,189);if(i=null,r<128){if((e-=1)<0)break;o.push(r)}else if(r<2048){if((e-=2)<0)break;o.push(r>>6|192,r&63|128)}else if(r<65536){if((e-=3)<0)break;o.push(r>>12|224,r>>6&63|128,r&63|128)}else if(r<1114112){if((e-=4)<0)break;o.push(r>>18|240,r>>12&63|128,r>>6&63|128,r&63|128)}else throw new Error("Invalid code point")}return o}function wr(t){for(var e=[],r=0;r<t.length;++r)e.push(t.charCodeAt(r)&255);return e}function br(t,e){for(var r,n,i,o=[],a=0;a<t.length&&!((e-=2)<0);++a)r=t.charCodeAt(a),n=r>>8,i=r%256,o.push(i),o.push(n);return o}function _e(t){return Y.toByteArray(xr(t))}function H(t,e,r,n){for(var i=0;i<n&&!(i+r>=e.length||i>=t.length);++i)e[i+r]=t[i];return i}function _(t,e){return t instanceof e||t!=null&&t.constructor!=null&&t.constructor.name!=null&&t.constructor.name===e.name}function ee(t){return t!==t}var Tr=function(){for(var t="0123456789abcdef",e=new Array(256),r=0;r<16;++r)for(var n=r*16,i=0;i<16;++i)e[n+i]=t[r]+t[i];return e}()});var Ee=G((Nr,Le)=>{l();var y=Le.exports={},A,R;function re(){throw new Error("setTimeout has not been defined")}function te(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?A=setTimeout:A=re}catch(t){A=re}try{typeof clearTimeout=="function"?R=clearTimeout:R=te}catch(t){R=te}})();function Re(t){if(A===setTimeout)return setTimeout(t,0);if((A===re||!A)&&setTimeout)return A=setTimeout,setTimeout(t,0);try{return A(t,0)}catch(e){try{return A.call(null,t,0)}catch(r){return A.call(this,t,0)}}}function vr(t){if(R===clearTimeout)return clearTimeout(t);if((R===te||!R)&&clearTimeout)return R=clearTimeout,clearTimeout(t);try{return R(t)}catch(e){try{return R.call(null,t)}catch(r){return R.call(this,t)}}}var L=[],O=!1,C,q=-1;function kr(){!O||!C||(O=!1,C.length?L=C.concat(L):q=-1,L.length&&Se())}function Se(){if(!O){var t=Re(kr);O=!0;for(var e=L.length;e;){for(C=L,L=[];++q<e;)C&&C[q].run();q=-1,e=L.length}C=null,O=!1,vr(t)}}y.nextTick=function(t){var e=new Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)e[r-1]=arguments[r];L.push(new Ie(t,e)),L.length===1&&!O&&Re(Se)};function Ie(t,e){this.fun=t,this.array=e}Ie.prototype.run=function(){this.fun.apply(null,this.array)};y.title="browser";y.browser=!0;y.env={};y.argv=[];y.version="";y.versions={};function E(){}y.on=E;y.addListener=E;y.once=E;y.off=E;y.removeListener=E;y.removeAllListeners=E;y.emit=E;y.prependListener=E;y.prependOnceListener=E;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,Fr,l=He(()=>{f=le(Ae()),h=le(Ee()),Fr=function(t){function e(){var n=this||self;return delete t.prototype.__magic__,n}if(typeof globalThis=="object")return globalThis;if(this)return e();t.defineProperty(t.prototype,"__magic__",{configurable:!0,get:e});var r=__magic__;return r}(Object)});var Rr={};qe(Rr,{getShardOfAddress:()=>Ar});module.exports=ze(Rr);l();l();l();l();l();l();l();l();l();l();l();l();l();l();l();var z=require("@multiversx/sdk-web-wallet-cross-window-provider/out/types");var Ne=(r=>(r.signTransactionsWithGuardianResponse="SIGN_TRANSACTIONS_WITH_GUARDIAN_RESPONSE",r.reloginRequest="RELOGIN_REQUEST",r))(Ne||{}),Wr=P(P({},z.CrossWindowProviderRequestEnums),Ne),Fe=(e=>(e.reloginResponse="RELOGIN_RESPONSE",e))(Fe||{}),Hr=P(P({},z.CrossWindowProviderResponseEnums),Fe);l();l();l();l();l();l();var ne={devnet:{id:"devnet",chainId:"D",name:"Devnet",egldLabel:"xEGLD",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"https://maiar.page.link/?apn=com.elrond.maiar.wallet&isi=1519405832&ibi=com.elrond.maiar.wallet&link=https://xportal.com/",walletConnectBridgeAddresses:["https://bridge.walletconnect.org"],walletConnectV2RelayAddresses:["wss://relay.walletconnect.com"],walletAddress:"https://devnet-wallet.multiversx.com",xAliasAddress:"https://devnet.xalias.com",apiAddress:"https://devnet-api.multiversx.com",explorerAddress:"http://devnet-explorer.multiversx.com",apiTimeout:"4000"},testnet:{id:"testnet",chainId:"T",name:"Testnet",egldLabel:"xEGLD",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"https://maiar.page.link/?apn=com.elrond.maiar.wallet&isi=1519405832&ibi=com.elrond.maiar.wallet&link=https://xportal.com/",walletConnectBridgeAddresses:["https://bridge.walletconnect.org"],walletConnectV2RelayAddresses:["wss://relay.walletconnect.com"],walletAddress:"https://testnet-wallet.multiversx.com",xAliasAddress:"https://testnet.xalias.com",apiAddress:"https://testnet-api.multiversx.com",explorerAddress:"http://testnet-explorer.multiversx.com",apiTimeout:"4000"},mainnet:{id:"mainnet",chainId:"1",name:"Mainnet",egldLabel:"EGLD",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"https://maiar.page.link/?apn=com.elrond.maiar.wallet&isi=1519405832&ibi=com.elrond.maiar.wallet&link=https://xportal.com/",walletConnectBridgeAddresses:["https://bridge.walletconnect.org"],walletConnectV2RelayAddresses:["wss://relay.walletconnect.com"],walletAddress:"https://wallet.multiversx.com",xAliasAddress:"https://xalias.com",apiAddress:"https://api.multiversx.com",explorerAddress:"https://explorer.multiversx.com",apiTimeout:"4000"}},{chainId:Ce,egldLabel:at}=ne["devnet"],{chainId:Be,egldLabel:st}=ne["testnet"],{chainId:Ue,egldLabel:lt}=ne["mainnet"];var ct={["devnet"]:Ce,["testnet"]:Be,["mainnet"]:Ue},pt={[Ce]:"devnet",[Be]:"testnet",[Ue]:"mainnet"};l();l();var S=require("@multiversx/sdk-web-wallet-provider");var De=4294967295;var _r=t=>{let e=f.Buffer.from([0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]);if(t.slice(0,e.length).equals(e))return!0;let n=f.Buffer.alloc(32).fill(0);return t.equals(n)},Ar=t=>{try{let r=parseInt("11",2),n=parseInt("01",2),i=f.Buffer.from(t,"hex"),o=i[31];if(_r(i))return De;let a=o&r;return a>3-1&&(a=o&n),a}catch(e){return-1}};0&&(module.exports={getShardOfAddress});
1
+ "use strict";var Pe=Object.create;var P=Object.defineProperty;var Me=Object.getOwnPropertyDescriptor;var Ge=Object.getOwnPropertyNames,ie=Object.getOwnPropertySymbols,Ve=Object.getPrototypeOf,ae=Object.prototype.hasOwnProperty,We=Object.prototype.propertyIsEnumerable;var oe=(t,e,r)=>e in t?P(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,M=(t,e)=>{for(var r in e||(e={}))ae.call(e,r)&&oe(t,r,e[r]);if(ie)for(var r of ie(e))We.call(e,r)&&oe(t,r,e[r]);return t};var He=(t,e)=>()=>(t&&(e=t(t=0)),e);var G=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),qe=(t,e)=>{for(var r in e)P(t,r,{get:e[r],enumerable:!0})},se=(t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of Ge(e))!ae.call(t,i)&&i!==r&&P(t,i,{get:()=>e[i],enumerable:!(n=Me(e,i))||n.enumerable});return t};var le=(t,e,r)=>(r=t!=null?Pe(Ve(t)):{},se(e||!t||!t.__esModule?P(r,"default",{value:t,enumerable:!0}):r,t)),ze=t=>se(P({},"__esModule",{value:!0}),t);var ue=G(V=>{"use strict";l();V.byteLength=Xe;V.toByteArray=Ke;V.fromByteArray=Qe;var k=[],T=[],je=typeof Uint8Array!="undefined"?Uint8Array:Array,j="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(N=0,ce=j.length;N<ce;++N)k[N]=j[N],T[j.charCodeAt(N)]=N;var N,ce;T["-".charCodeAt(0)]=62;T["_".charCodeAt(0)]=63;function pe(t){var e=t.length;if(e%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var r=t.indexOf("=");r===-1&&(r=e);var n=r===e?0:4-r%4;return[r,n]}function Xe(t){var e=pe(t),r=e[0],n=e[1];return(r+n)*3/4-n}function Ye(t,e,r){return(e+r)*3/4-r}function Ke(t){var e,r=pe(t),n=r[0],i=r[1],o=new je(Ye(t,n,i)),a=0,c=i>0?n-4:n,p;for(p=0;p<c;p+=4)e=T[t.charCodeAt(p)]<<18|T[t.charCodeAt(p+1)]<<12|T[t.charCodeAt(p+2)]<<6|T[t.charCodeAt(p+3)],o[a++]=e>>16&255,o[a++]=e>>8&255,o[a++]=e&255;return i===2&&(e=T[t.charCodeAt(p)]<<2|T[t.charCodeAt(p+1)]>>4,o[a++]=e&255),i===1&&(e=T[t.charCodeAt(p)]<<10|T[t.charCodeAt(p+1)]<<4|T[t.charCodeAt(p+2)]>>2,o[a++]=e>>8&255,o[a++]=e&255),o}function Je(t){return k[t>>18&63]+k[t>>12&63]+k[t>>6&63]+k[t&63]}function Ze(t,e,r){for(var n,i=[],o=e;o<r;o+=3)n=(t[o]<<16&16711680)+(t[o+1]<<8&65280)+(t[o+2]&255),i.push(Je(n));return i.join("")}function Qe(t){for(var e,r=t.length,n=r%3,i=[],o=16383,a=0,c=r-n;a<c;a+=o)i.push(Ze(t,a,a+o>c?c:a+o));return n===1?(e=t[r-1],i.push(k[e>>2]+k[e<<4&63]+"==")):n===2&&(e=(t[r-2]<<8)+t[r-1],i.push(k[e>>10]+k[e>>4&63]+k[e<<2&63]+"=")),i.join("")}});var de=G(X=>{l();X.read=function(t,e,r,n,i){var o,a,c=i*8-n-1,p=(1<<c)-1,d=p>>1,g=-7,u=r?i-1:0,v=r?-1:1,b=t[e+u];for(u+=v,o=b&(1<<-g)-1,b>>=-g,g+=c;g>0;o=o*256+t[e+u],u+=v,g-=8);for(a=o&(1<<-g)-1,o>>=-g,g+=n;g>0;a=a*256+t[e+u],u+=v,g-=8);if(o===0)o=1-d;else{if(o===p)return a?NaN:(b?-1:1)*(1/0);a=a+Math.pow(2,n),o=o-d}return(b?-1:1)*a*Math.pow(2,o-n)};X.write=function(t,e,r,n,i,o){var a,c,p,d=o*8-i-1,g=(1<<d)-1,u=g>>1,v=i===23?Math.pow(2,-24)-Math.pow(2,-77):0,b=n?0:o-1,B=n?1:-1,Oe=e<0||e===0&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(c=isNaN(e)?1:0,a=g):(a=Math.floor(Math.log(e)/Math.LN2),e*(p=Math.pow(2,-a))<1&&(a--,p*=2),a+u>=1?e+=v/p:e+=v*Math.pow(2,1-u),e*p>=2&&(a++,p/=2),a+u>=g?(c=0,a=g):a+u>=1?(c=(e*p-1)*Math.pow(2,i),a=a+u):(c=e*Math.pow(2,u-1)*Math.pow(2,i),a=0));i>=8;t[r+b]=c&255,b+=B,c/=256,i-=8);for(a=a<<i|c,d+=i;d>0;t[r+b]=a&255,b+=B,a/=256,d-=8);t[r+b-B]|=Oe*128}});var Ae=G(D=>{"use strict";l();var Y=ue(),U=de(),ge=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;D.Buffer=s;D.SlowBuffer=ir;D.INSPECT_MAX_BYTES=50;var W=2147483647;D.kMaxLength=W;s.TYPED_ARRAY_SUPPORT=$e();!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 $e(){try{var t=new Uint8Array(1),e={foo:function(){return 42}};return Object.setPrototypeOf(e,Uint8Array.prototype),Object.setPrototypeOf(t,e),t.foo()===42}catch(r){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 I(t){if(t>W)throw new RangeError('The value "'+t+'" is invalid for option "size"');var e=new Uint8Array(t);return Object.setPrototypeOf(e,s.prototype),e}function s(t,e,r){if(typeof t=="number"){if(typeof e=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return Q(t)}return me(t,e,r)}s.poolSize=8192;function me(t,e,r){if(typeof t=="string")return rr(t,e);if(ArrayBuffer.isView(t))return tr(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(_(t,ArrayBuffer)||t&&_(t.buffer,ArrayBuffer)||typeof SharedArrayBuffer!="undefined"&&(_(t,SharedArrayBuffer)||t&&_(t.buffer,SharedArrayBuffer)))return J(t,e,r);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,e,r);var i=nr(t);if(i)return i;if(typeof Symbol!="undefined"&&Symbol.toPrimitive!=null&&typeof t[Symbol.toPrimitive]=="function")return s.from(t[Symbol.toPrimitive]("string"),e,r);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,e,r){return me(t,e,r)};Object.setPrototypeOf(s.prototype,Uint8Array.prototype);Object.setPrototypeOf(s,Uint8Array);function ye(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 er(t,e,r){return ye(t),t<=0?I(t):e!==void 0?typeof r=="string"?I(t).fill(e,r):I(t).fill(e):I(t)}s.alloc=function(t,e,r){return er(t,e,r)};function Q(t){return ye(t),I(t<0?0:$(t)|0)}s.allocUnsafe=function(t){return Q(t)};s.allocUnsafeSlow=function(t){return Q(t)};function rr(t,e){if((typeof e!="string"||e==="")&&(e="utf8"),!s.isEncoding(e))throw new TypeError("Unknown encoding: "+e);var r=xe(t,e)|0,n=I(r),i=n.write(t,e);return i!==r&&(n=n.slice(0,i)),n}function K(t){for(var e=t.length<0?0:$(t.length)|0,r=I(e),n=0;n<e;n+=1)r[n]=t[n]&255;return r}function tr(t){if(_(t,Uint8Array)){var e=new Uint8Array(t);return J(e.buffer,e.byteOffset,e.byteLength)}return K(t)}function J(t,e,r){if(e<0||t.byteLength<e)throw new RangeError('"offset" is outside of buffer bounds');if(t.byteLength<e+(r||0))throw new RangeError('"length" is outside of buffer bounds');var n;return e===void 0&&r===void 0?n=new Uint8Array(t):r===void 0?n=new Uint8Array(t,e):n=new Uint8Array(t,e,r),Object.setPrototypeOf(n,s.prototype),n}function nr(t){if(s.isBuffer(t)){var e=$(t.length)|0,r=I(e);return r.length===0||t.copy(r,0,0,e),r}if(t.length!==void 0)return typeof t.length!="number"||ee(t.length)?I(0):K(t);if(t.type==="Buffer"&&Array.isArray(t.data))return K(t.data)}function $(t){if(t>=W)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+W.toString(16)+" bytes");return t|0}function ir(t){return+t!=t&&(t=0),s.alloc(+t)}s.isBuffer=function(e){return e!=null&&e._isBuffer===!0&&e!==s.prototype};s.compare=function(e,r){if(_(e,Uint8Array)&&(e=s.from(e,e.offset,e.byteLength)),_(r,Uint8Array)&&(r=s.from(r,r.offset,r.byteLength)),!s.isBuffer(e)||!s.isBuffer(r))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(e===r)return 0;for(var n=e.length,i=r.length,o=0,a=Math.min(n,i);o<a;++o)if(e[o]!==r[o]){n=e[o],i=r[o];break}return n<i?-1:i<n?1:0};s.isEncoding=function(e){switch(String(e).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(e,r){if(!Array.isArray(e))throw new TypeError('"list" argument must be an Array of Buffers');if(e.length===0)return s.alloc(0);var n;if(r===void 0)for(r=0,n=0;n<e.length;++n)r+=e[n].length;var i=s.allocUnsafe(r),o=0;for(n=0;n<e.length;++n){var a=e[n];if(_(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 xe(t,e){if(s.isBuffer(t))return t.length;if(ArrayBuffer.isView(t)||_(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 r=t.length,n=arguments.length>2&&arguments[2]===!0;if(!n&&r===0)return 0;for(var i=!1;;)switch(e){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":return Z(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return r*2;case"hex":return r>>>1;case"base64":return _e(t).length;default:if(i)return n?-1:Z(t).length;e=(""+e).toLowerCase(),i=!0}}s.byteLength=xe;function or(t,e,r){var n=!1;if((e===void 0||e<0)&&(e=0),e>this.length||((r===void 0||r>this.length)&&(r=this.length),r<=0)||(r>>>=0,e>>>=0,r<=e))return"";for(t||(t="utf8");;)switch(t){case"hex":return hr(this,e,r);case"utf8":case"utf-8":return be(this,e,r);case"ascii":return gr(this,e,r);case"latin1":case"binary":return fr(this,e,r);case"base64":return ur(this,e,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return mr(this,e,r);default:if(n)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),n=!0}}s.prototype._isBuffer=!0;function F(t,e,r){var n=t[e];t[e]=t[r],t[r]=n}s.prototype.swap16=function(){var e=this.length;if(e%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var r=0;r<e;r+=2)F(this,r,r+1);return this};s.prototype.swap32=function(){var e=this.length;if(e%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var r=0;r<e;r+=4)F(this,r,r+3),F(this,r+1,r+2);return this};s.prototype.swap64=function(){var e=this.length;if(e%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var r=0;r<e;r+=8)F(this,r,r+7),F(this,r+1,r+6),F(this,r+2,r+5),F(this,r+3,r+4);return this};s.prototype.toString=function(){var e=this.length;return e===0?"":arguments.length===0?be(this,0,e):or.apply(this,arguments)};s.prototype.toLocaleString=s.prototype.toString;s.prototype.equals=function(e){if(!s.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e?!0:s.compare(this,e)===0};s.prototype.inspect=function(){var e="",r=D.INSPECT_MAX_BYTES;return e=this.toString("hex",0,r).replace(/(.{2})/g,"$1 ").trim(),this.length>r&&(e+=" ... "),"<Buffer "+e+">"};ge&&(s.prototype[ge]=s.prototype.inspect);s.prototype.compare=function(e,r,n,i,o){if(_(e,Uint8Array)&&(e=s.from(e,e.offset,e.byteLength)),!s.isBuffer(e))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof e);if(r===void 0&&(r=0),n===void 0&&(n=e?e.length:0),i===void 0&&(i=0),o===void 0&&(o=this.length),r<0||n>e.length||i<0||o>this.length)throw new RangeError("out of range index");if(i>=o&&r>=n)return 0;if(i>=o)return-1;if(r>=n)return 1;if(r>>>=0,n>>>=0,i>>>=0,o>>>=0,this===e)return 0;for(var a=o-i,c=n-r,p=Math.min(a,c),d=this.slice(i,o),g=e.slice(r,n),u=0;u<p;++u)if(d[u]!==g[u]){a=d[u],c=g[u];break}return a<c?-1:c<a?1:0};function we(t,e,r,n,i){if(t.length===0)return-1;if(typeof r=="string"?(n=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),r=+r,ee(r)&&(r=i?0:t.length-1),r<0&&(r=t.length+r),r>=t.length){if(i)return-1;r=t.length-1}else if(r<0)if(i)r=0;else return-1;if(typeof e=="string"&&(e=s.from(e,n)),s.isBuffer(e))return e.length===0?-1:fe(t,e,r,n,i);if(typeof e=="number")return e=e&255,typeof Uint8Array.prototype.indexOf=="function"?i?Uint8Array.prototype.indexOf.call(t,e,r):Uint8Array.prototype.lastIndexOf.call(t,e,r):fe(t,[e],r,n,i);throw new TypeError("val must be string, number or Buffer")}function fe(t,e,r,n,i){var o=1,a=t.length,c=e.length;if(n!==void 0&&(n=String(n).toLowerCase(),n==="ucs2"||n==="ucs-2"||n==="utf16le"||n==="utf-16le")){if(t.length<2||e.length<2)return-1;o=2,a/=2,c/=2,r/=2}function p(b,B){return o===1?b[B]:b.readUInt16BE(B*o)}var d;if(i){var g=-1;for(d=r;d<a;d++)if(p(t,d)===p(e,g===-1?0:d-g)){if(g===-1&&(g=d),d-g+1===c)return g*o}else g!==-1&&(d-=d-g),g=-1}else for(r+c>a&&(r=a-c),d=r;d>=0;d--){for(var u=!0,v=0;v<c;v++)if(p(t,d+v)!==p(e,v)){u=!1;break}if(u)return d}return-1}s.prototype.includes=function(e,r,n){return this.indexOf(e,r,n)!==-1};s.prototype.indexOf=function(e,r,n){return we(this,e,r,n,!0)};s.prototype.lastIndexOf=function(e,r,n){return we(this,e,r,n,!1)};function ar(t,e,r,n){r=Number(r)||0;var i=t.length-r;n?(n=Number(n),n>i&&(n=i)):n=i;var o=e.length;n>o/2&&(n=o/2);for(var a=0;a<n;++a){var c=parseInt(e.substr(a*2,2),16);if(ee(c))return a;t[r+a]=c}return a}function sr(t,e,r,n){return H(Z(e,t.length-r),t,r,n)}function lr(t,e,r,n){return H(wr(e),t,r,n)}function cr(t,e,r,n){return H(_e(e),t,r,n)}function pr(t,e,r,n){return H(br(e,t.length-r),t,r,n)}s.prototype.write=function(e,r,n,i){if(r===void 0)i="utf8",n=this.length,r=0;else if(n===void 0&&typeof r=="string")i=r,n=this.length,r=0;else if(isFinite(r))r=r>>>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-r;if((n===void 0||n>o)&&(n=o),e.length>0&&(n<0||r<0)||r>this.length)throw new RangeError("Attempt to write outside buffer bounds");i||(i="utf8");for(var a=!1;;)switch(i){case"hex":return ar(this,e,r,n);case"utf8":case"utf-8":return sr(this,e,r,n);case"ascii":case"latin1":case"binary":return lr(this,e,r,n);case"base64":return cr(this,e,r,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return pr(this,e,r,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 ur(t,e,r){return e===0&&r===t.length?Y.fromByteArray(t):Y.fromByteArray(t.slice(e,r))}function be(t,e,r){r=Math.min(t.length,r);for(var n=[],i=e;i<r;){var o=t[i],a=null,c=o>239?4:o>223?3:o>191?2:1;if(i+c<=r){var p,d,g,u;switch(c){case 1:o<128&&(a=o);break;case 2:p=t[i+1],(p&192)===128&&(u=(o&31)<<6|p&63,u>127&&(a=u));break;case 3:p=t[i+1],d=t[i+2],(p&192)===128&&(d&192)===128&&(u=(o&15)<<12|(p&63)<<6|d&63,u>2047&&(u<55296||u>57343)&&(a=u));break;case 4:p=t[i+1],d=t[i+2],g=t[i+3],(p&192)===128&&(d&192)===128&&(g&192)===128&&(u=(o&15)<<18|(p&63)<<12|(d&63)<<6|g&63,u>65535&&u<1114112&&(a=u))}}a===null?(a=65533,c=1):a>65535&&(a-=65536,n.push(a>>>10&1023|55296),a=56320|a&1023),n.push(a),i+=c}return dr(n)}var he=4096;function dr(t){var e=t.length;if(e<=he)return String.fromCharCode.apply(String,t);for(var r="",n=0;n<e;)r+=String.fromCharCode.apply(String,t.slice(n,n+=he));return r}function gr(t,e,r){var n="";r=Math.min(t.length,r);for(var i=e;i<r;++i)n+=String.fromCharCode(t[i]&127);return n}function fr(t,e,r){var n="";r=Math.min(t.length,r);for(var i=e;i<r;++i)n+=String.fromCharCode(t[i]);return n}function hr(t,e,r){var n=t.length;(!e||e<0)&&(e=0),(!r||r<0||r>n)&&(r=n);for(var i="",o=e;o<r;++o)i+=Tr[t[o]];return i}function mr(t,e,r){for(var n=t.slice(e,r),i="",o=0;o<n.length-1;o+=2)i+=String.fromCharCode(n[o]+n[o+1]*256);return i}s.prototype.slice=function(e,r){var n=this.length;e=~~e,r=r===void 0?n:~~r,e<0?(e+=n,e<0&&(e=0)):e>n&&(e=n),r<0?(r+=n,r<0&&(r=0)):r>n&&(r=n),r<e&&(r=e);var i=this.subarray(e,r);return Object.setPrototypeOf(i,s.prototype),i};function x(t,e,r){if(t%1!==0||t<0)throw new RangeError("offset is not uint");if(t+e>r)throw new RangeError("Trying to access beyond buffer length")}s.prototype.readUintLE=s.prototype.readUIntLE=function(e,r,n){e=e>>>0,r=r>>>0,n||x(e,r,this.length);for(var i=this[e],o=1,a=0;++a<r&&(o*=256);)i+=this[e+a]*o;return i};s.prototype.readUintBE=s.prototype.readUIntBE=function(e,r,n){e=e>>>0,r=r>>>0,n||x(e,r,this.length);for(var i=this[e+--r],o=1;r>0&&(o*=256);)i+=this[e+--r]*o;return i};s.prototype.readUint8=s.prototype.readUInt8=function(e,r){return e=e>>>0,r||x(e,1,this.length),this[e]};s.prototype.readUint16LE=s.prototype.readUInt16LE=function(e,r){return e=e>>>0,r||x(e,2,this.length),this[e]|this[e+1]<<8};s.prototype.readUint16BE=s.prototype.readUInt16BE=function(e,r){return e=e>>>0,r||x(e,2,this.length),this[e]<<8|this[e+1]};s.prototype.readUint32LE=s.prototype.readUInt32LE=function(e,r){return e=e>>>0,r||x(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+this[e+3]*16777216};s.prototype.readUint32BE=s.prototype.readUInt32BE=function(e,r){return e=e>>>0,r||x(e,4,this.length),this[e]*16777216+(this[e+1]<<16|this[e+2]<<8|this[e+3])};s.prototype.readIntLE=function(e,r,n){e=e>>>0,r=r>>>0,n||x(e,r,this.length);for(var i=this[e],o=1,a=0;++a<r&&(o*=256);)i+=this[e+a]*o;return o*=128,i>=o&&(i-=Math.pow(2,8*r)),i};s.prototype.readIntBE=function(e,r,n){e=e>>>0,r=r>>>0,n||x(e,r,this.length);for(var i=r,o=1,a=this[e+--i];i>0&&(o*=256);)a+=this[e+--i]*o;return o*=128,a>=o&&(a-=Math.pow(2,8*r)),a};s.prototype.readInt8=function(e,r){return e=e>>>0,r||x(e,1,this.length),this[e]&128?(255-this[e]+1)*-1:this[e]};s.prototype.readInt16LE=function(e,r){e=e>>>0,r||x(e,2,this.length);var n=this[e]|this[e+1]<<8;return n&32768?n|4294901760:n};s.prototype.readInt16BE=function(e,r){e=e>>>0,r||x(e,2,this.length);var n=this[e+1]|this[e]<<8;return n&32768?n|4294901760:n};s.prototype.readInt32LE=function(e,r){return e=e>>>0,r||x(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24};s.prototype.readInt32BE=function(e,r){return e=e>>>0,r||x(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]};s.prototype.readFloatLE=function(e,r){return e=e>>>0,r||x(e,4,this.length),U.read(this,e,!0,23,4)};s.prototype.readFloatBE=function(e,r){return e=e>>>0,r||x(e,4,this.length),U.read(this,e,!1,23,4)};s.prototype.readDoubleLE=function(e,r){return e=e>>>0,r||x(e,8,this.length),U.read(this,e,!0,52,8)};s.prototype.readDoubleBE=function(e,r){return e=e>>>0,r||x(e,8,this.length),U.read(this,e,!1,52,8)};function w(t,e,r,n,i,o){if(!s.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>i||e<o)throw new RangeError('"value" argument is out of bounds');if(r+n>t.length)throw new RangeError("Index out of range")}s.prototype.writeUintLE=s.prototype.writeUIntLE=function(e,r,n,i){if(e=+e,r=r>>>0,n=n>>>0,!i){var o=Math.pow(2,8*n)-1;w(this,e,r,n,o,0)}var a=1,c=0;for(this[r]=e&255;++c<n&&(a*=256);)this[r+c]=e/a&255;return r+n};s.prototype.writeUintBE=s.prototype.writeUIntBE=function(e,r,n,i){if(e=+e,r=r>>>0,n=n>>>0,!i){var o=Math.pow(2,8*n)-1;w(this,e,r,n,o,0)}var a=n-1,c=1;for(this[r+a]=e&255;--a>=0&&(c*=256);)this[r+a]=e/c&255;return r+n};s.prototype.writeUint8=s.prototype.writeUInt8=function(e,r,n){return e=+e,r=r>>>0,n||w(this,e,r,1,255,0),this[r]=e&255,r+1};s.prototype.writeUint16LE=s.prototype.writeUInt16LE=function(e,r,n){return e=+e,r=r>>>0,n||w(this,e,r,2,65535,0),this[r]=e&255,this[r+1]=e>>>8,r+2};s.prototype.writeUint16BE=s.prototype.writeUInt16BE=function(e,r,n){return e=+e,r=r>>>0,n||w(this,e,r,2,65535,0),this[r]=e>>>8,this[r+1]=e&255,r+2};s.prototype.writeUint32LE=s.prototype.writeUInt32LE=function(e,r,n){return e=+e,r=r>>>0,n||w(this,e,r,4,4294967295,0),this[r+3]=e>>>24,this[r+2]=e>>>16,this[r+1]=e>>>8,this[r]=e&255,r+4};s.prototype.writeUint32BE=s.prototype.writeUInt32BE=function(e,r,n){return e=+e,r=r>>>0,n||w(this,e,r,4,4294967295,0),this[r]=e>>>24,this[r+1]=e>>>16,this[r+2]=e>>>8,this[r+3]=e&255,r+4};s.prototype.writeIntLE=function(e,r,n,i){if(e=+e,r=r>>>0,!i){var o=Math.pow(2,8*n-1);w(this,e,r,n,o-1,-o)}var a=0,c=1,p=0;for(this[r]=e&255;++a<n&&(c*=256);)e<0&&p===0&&this[r+a-1]!==0&&(p=1),this[r+a]=(e/c>>0)-p&255;return r+n};s.prototype.writeIntBE=function(e,r,n,i){if(e=+e,r=r>>>0,!i){var o=Math.pow(2,8*n-1);w(this,e,r,n,o-1,-o)}var a=n-1,c=1,p=0;for(this[r+a]=e&255;--a>=0&&(c*=256);)e<0&&p===0&&this[r+a+1]!==0&&(p=1),this[r+a]=(e/c>>0)-p&255;return r+n};s.prototype.writeInt8=function(e,r,n){return e=+e,r=r>>>0,n||w(this,e,r,1,127,-128),e<0&&(e=255+e+1),this[r]=e&255,r+1};s.prototype.writeInt16LE=function(e,r,n){return e=+e,r=r>>>0,n||w(this,e,r,2,32767,-32768),this[r]=e&255,this[r+1]=e>>>8,r+2};s.prototype.writeInt16BE=function(e,r,n){return e=+e,r=r>>>0,n||w(this,e,r,2,32767,-32768),this[r]=e>>>8,this[r+1]=e&255,r+2};s.prototype.writeInt32LE=function(e,r,n){return e=+e,r=r>>>0,n||w(this,e,r,4,2147483647,-2147483648),this[r]=e&255,this[r+1]=e>>>8,this[r+2]=e>>>16,this[r+3]=e>>>24,r+4};s.prototype.writeInt32BE=function(e,r,n){return e=+e,r=r>>>0,n||w(this,e,r,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),this[r]=e>>>24,this[r+1]=e>>>16,this[r+2]=e>>>8,this[r+3]=e&255,r+4};function Te(t,e,r,n,i,o){if(r+n>t.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function ve(t,e,r,n,i){return e=+e,r=r>>>0,i||Te(t,e,r,4,34028234663852886e22,-34028234663852886e22),U.write(t,e,r,n,23,4),r+4}s.prototype.writeFloatLE=function(e,r,n){return ve(this,e,r,!0,n)};s.prototype.writeFloatBE=function(e,r,n){return ve(this,e,r,!1,n)};function ke(t,e,r,n,i){return e=+e,r=r>>>0,i||Te(t,e,r,8,17976931348623157e292,-17976931348623157e292),U.write(t,e,r,n,52,8),r+8}s.prototype.writeDoubleLE=function(e,r,n){return ke(this,e,r,!0,n)};s.prototype.writeDoubleBE=function(e,r,n){return ke(this,e,r,!1,n)};s.prototype.copy=function(e,r,n,i){if(!s.isBuffer(e))throw new TypeError("argument should be a Buffer");if(n||(n=0),!i&&i!==0&&(i=this.length),r>=e.length&&(r=e.length),r||(r=0),i>0&&i<n&&(i=n),i===n||e.length===0||this.length===0)return 0;if(r<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),e.length-r<i-n&&(i=e.length-r+n);var o=i-n;return this===e&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(r,n,i):Uint8Array.prototype.set.call(e,this.subarray(n,i),r),o};s.prototype.fill=function(e,r,n,i){if(typeof e=="string"){if(typeof r=="string"?(i=r,r=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(e.length===1){var o=e.charCodeAt(0);(i==="utf8"&&o<128||i==="latin1")&&(e=o)}}else typeof e=="number"?e=e&255:typeof e=="boolean"&&(e=Number(e));if(r<0||this.length<r||this.length<n)throw new RangeError("Out of range index");if(n<=r)return this;r=r>>>0,n=n===void 0?this.length:n>>>0,e||(e=0);var a;if(typeof e=="number")for(a=r;a<n;++a)this[a]=e;else{var c=s.isBuffer(e)?e:s.from(e,i),p=c.length;if(p===0)throw new TypeError('The value "'+e+'" is invalid for argument "value"');for(a=0;a<n-r;++a)this[a+r]=c[a%p]}return this};var yr=/[^+/0-9A-Za-z-_]/g;function xr(t){if(t=t.split("=")[0],t=t.trim().replace(yr,""),t.length<2)return"";for(;t.length%4!==0;)t=t+"=";return t}function Z(t,e){e=e||1/0;for(var r,n=t.length,i=null,o=[],a=0;a<n;++a){if(r=t.charCodeAt(a),r>55295&&r<57344){if(!i){if(r>56319){(e-=3)>-1&&o.push(239,191,189);continue}else if(a+1===n){(e-=3)>-1&&o.push(239,191,189);continue}i=r;continue}if(r<56320){(e-=3)>-1&&o.push(239,191,189),i=r;continue}r=(i-55296<<10|r-56320)+65536}else i&&(e-=3)>-1&&o.push(239,191,189);if(i=null,r<128){if((e-=1)<0)break;o.push(r)}else if(r<2048){if((e-=2)<0)break;o.push(r>>6|192,r&63|128)}else if(r<65536){if((e-=3)<0)break;o.push(r>>12|224,r>>6&63|128,r&63|128)}else if(r<1114112){if((e-=4)<0)break;o.push(r>>18|240,r>>12&63|128,r>>6&63|128,r&63|128)}else throw new Error("Invalid code point")}return o}function wr(t){for(var e=[],r=0;r<t.length;++r)e.push(t.charCodeAt(r)&255);return e}function br(t,e){for(var r,n,i,o=[],a=0;a<t.length&&!((e-=2)<0);++a)r=t.charCodeAt(a),n=r>>8,i=r%256,o.push(i),o.push(n);return o}function _e(t){return Y.toByteArray(xr(t))}function H(t,e,r,n){for(var i=0;i<n&&!(i+r>=e.length||i>=t.length);++i)e[i+r]=t[i];return i}function _(t,e){return t instanceof e||t!=null&&t.constructor!=null&&t.constructor.name!=null&&t.constructor.name===e.name}function ee(t){return t!==t}var Tr=function(){for(var t="0123456789abcdef",e=new Array(256),r=0;r<16;++r)for(var n=r*16,i=0;i<16;++i)e[n+i]=t[r]+t[i];return e}()});var Ee=G((Nr,Le)=>{l();var y=Le.exports={},A,R;function re(){throw new Error("setTimeout has not been defined")}function te(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?A=setTimeout:A=re}catch(t){A=re}try{typeof clearTimeout=="function"?R=clearTimeout:R=te}catch(t){R=te}})();function Re(t){if(A===setTimeout)return setTimeout(t,0);if((A===re||!A)&&setTimeout)return A=setTimeout,setTimeout(t,0);try{return A(t,0)}catch(e){try{return A.call(null,t,0)}catch(r){return A.call(this,t,0)}}}function vr(t){if(R===clearTimeout)return clearTimeout(t);if((R===te||!R)&&clearTimeout)return R=clearTimeout,clearTimeout(t);try{return R(t)}catch(e){try{return R.call(null,t)}catch(r){return R.call(this,t)}}}var L=[],O=!1,C,q=-1;function kr(){!O||!C||(O=!1,C.length?L=C.concat(L):q=-1,L.length&&Se())}function Se(){if(!O){var t=Re(kr);O=!0;for(var e=L.length;e;){for(C=L,L=[];++q<e;)C&&C[q].run();q=-1,e=L.length}C=null,O=!1,vr(t)}}y.nextTick=function(t){var e=new Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)e[r-1]=arguments[r];L.push(new Ie(t,e)),L.length===1&&!O&&Re(Se)};function Ie(t,e){this.fun=t,this.array=e}Ie.prototype.run=function(){this.fun.apply(null,this.array)};y.title="browser";y.browser=!0;y.env={};y.argv=[];y.version="";y.versions={};function E(){}y.on=E;y.addListener=E;y.once=E;y.off=E;y.removeListener=E;y.removeAllListeners=E;y.emit=E;y.prependListener=E;y.prependOnceListener=E;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,Fr,l=He(()=>{f=le(Ae()),h=le(Ee()),Fr=function(t){function e(){var n=this||self;return delete t.prototype.__magic__,n}if(typeof globalThis=="object")return globalThis;if(this)return e();t.defineProperty(t.prototype,"__magic__",{configurable:!0,get:e});var r=__magic__;return r}(Object)});var Rr={};qe(Rr,{getShardOfAddress:()=>Ar});module.exports=ze(Rr);l();l();l();l();l();l();l();l();l();l();l();l();l();l();l();var z=require("@multiversx/sdk-web-wallet-cross-window-provider/out/types");var Ne=(r=>(r.signTransactionsWithGuardianResponse="SIGN_TRANSACTIONS_WITH_GUARDIAN_RESPONSE",r.reloginRequest="RELOGIN_REQUEST",r))(Ne||{}),Wr=M(M({},z.CrossWindowProviderRequestEnums),Ne),Fe=(e=>(e.reloginResponse="RELOGIN_RESPONSE",e))(Fe||{}),Hr=M(M({},z.CrossWindowProviderResponseEnums),Fe);l();l();l();l();l();l();var ne={devnet:{id:"devnet",chainId:"D",name:"Devnet",egldLabel:"xEGLD",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"https://maiar.page.link/?apn=com.elrond.maiar.wallet&isi=1519405832&ibi=com.elrond.maiar.wallet&link=https://xportal.com/",walletConnectBridgeAddresses:["https://bridge.walletconnect.org"],walletConnectV2RelayAddresses:["wss://relay.walletconnect.com"],walletAddress:"https://devnet-wallet.multiversx.com",xAliasAddress:"https://devnet.xalias.com",apiAddress:"https://devnet-api.multiversx.com",explorerAddress:"http://devnet-explorer.multiversx.com",apiTimeout:"4000"},testnet:{id:"testnet",chainId:"T",name:"Testnet",egldLabel:"xEGLD",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"https://maiar.page.link/?apn=com.elrond.maiar.wallet&isi=1519405832&ibi=com.elrond.maiar.wallet&link=https://xportal.com/",walletConnectBridgeAddresses:["https://bridge.walletconnect.org"],walletConnectV2RelayAddresses:["wss://relay.walletconnect.com"],walletAddress:"https://testnet-wallet.multiversx.com",xAliasAddress:"https://testnet.xalias.com",apiAddress:"https://testnet-api.multiversx.com",explorerAddress:"http://testnet-explorer.multiversx.com",apiTimeout:"4000"},mainnet:{id:"mainnet",chainId:"1",name:"Mainnet",egldLabel:"EGLD",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"https://maiar.page.link/?apn=com.elrond.maiar.wallet&isi=1519405832&ibi=com.elrond.maiar.wallet&link=https://xportal.com/",walletConnectBridgeAddresses:["https://bridge.walletconnect.org"],walletConnectV2RelayAddresses:["wss://relay.walletconnect.com"],walletAddress:"https://wallet.multiversx.com",xAliasAddress:"https://xalias.com",apiAddress:"https://api.multiversx.com",explorerAddress:"https://explorer.multiversx.com",apiTimeout:"4000"}},{chainId:Ce,egldLabel:at}=ne["devnet"],{chainId:Be,egldLabel:st}=ne["testnet"],{chainId:Ue,egldLabel:lt}=ne["mainnet"];var ct={["devnet"]:Ce,["testnet"]:Be,["mainnet"]:Ue},pt={[Ce]:"devnet",[Be]:"testnet",[Ue]:"mainnet"};l();l();var S=require("@multiversx/sdk-web-wallet-provider");var De=4294967295;var _r=t=>{let e=f.Buffer.from([0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]);if(t.slice(0,e.length).equals(e))return!0;let n=f.Buffer.alloc(32).fill(0);return t.equals(n)},Ar=t=>{try{let r=parseInt("11",2),n=parseInt("01",2),i=f.Buffer.from(t,"hex"),o=i[31];if(_r(i))return De;let a=o&r;return a>3-1&&(a=o&n),a}catch(e){return-1}};0&&(module.exports={getShardOfAddress});
2
2
  /*!
3
3
  * The buffer module from node.js, for the browser.
4
4
  *