@multiversx/sdk-dapp 2.36.2 → 2.36.4

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 (1055) 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/ConfirmAmountLabel/ConfirmAmountLabel.js +1 -1
  23. package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmAmount/components/ConfirmAmountLabel/index.js +1 -1
  24. package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmAmount/components/ConfirmAmountNftSft/ConfirmAmountNftSft.js +1 -1
  25. package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmAmount/components/ConfirmAmountNftSft/index.js +1 -1
  26. package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmAmount/components/index.js +1 -1
  27. package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmAmount/index.js +1 -1
  28. package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmFee/ConfirmFee.js +1 -1
  29. package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmFee/index.js +1 -1
  30. package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmReceiver/ConfirmReceiver.js +1 -1
  31. package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmReceiver/index.js +1 -1
  32. package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/index.js +1 -1
  33. package/UI/SignTransactionsModals/SignWithDeviceModal/components/index.js +1 -1
  34. package/UI/SignTransactionsModals/SignWithDeviceModal/index.js +1 -1
  35. package/UI/SignTransactionsModals/SignWithDeviceModal/signWithDeviceModal.types.js +1 -1
  36. package/UI/SignTransactionsModals/SignWithExtensionModal/SignWithExtensionModal.js +1 -1
  37. package/UI/SignTransactionsModals/SignWithExtensionModal/index.js +1 -1
  38. package/UI/SignTransactionsModals/SignWithExtraModal/SignWithExtraModal.js +1 -1
  39. package/UI/SignTransactionsModals/SignWithExtraModal/index.js +1 -1
  40. package/UI/SignTransactionsModals/SignWithIFrameModal/SignWithIFrameModal.js +1 -1
  41. package/UI/SignTransactionsModals/SignWithIFrameModal/index.js +1 -1
  42. package/UI/SignTransactionsModals/SignWithLedgerModal/LedgerGuardianSigningModalError.js +1 -1
  43. package/UI/SignTransactionsModals/SignWithLedgerModal/SignWithLedgerModal.js +1 -1
  44. package/UI/SignTransactionsModals/SignWithLedgerModal/index.js +1 -1
  45. package/UI/SignTransactionsModals/SignWithMetamaskModal/SignWithMetamaskModal.js +1 -1
  46. package/UI/SignTransactionsModals/SignWithMetamaskModal/index.js +1 -1
  47. package/UI/SignTransactionsModals/SignWithOperaModal/SignWithOperaModal.js +1 -1
  48. package/UI/SignTransactionsModals/SignWithOperaModal/index.js +1 -1
  49. package/UI/SignTransactionsModals/SignWithWalletConnectModal/SignWithWalletConnectModal.js +1 -1
  50. package/UI/SignTransactionsModals/SignWithWalletConnectModal/index.js +1 -1
  51. package/UI/SignTransactionsModals/components/ConfirmationScreen.js +1 -1
  52. package/UI/SignTransactionsModals/components/DeviceConfirmationScreen.js +1 -1
  53. package/UI/SignTransactionsModals/components/SignWaitingScreenModal/SignWaitingScreenModal.js +1 -1
  54. package/UI/SignTransactionsModals/components/SignWaitingScreenModal/index.js +1 -1
  55. package/UI/SignTransactionsModals/components/TransactionStatusToast.js +1 -1
  56. package/UI/SignTransactionsModals/components/index.js +1 -1
  57. package/UI/SignTransactionsModals/index.js +1 -1
  58. package/UI/TokenDetails/index.js +1 -1
  59. package/UI/TransactionData/TransactionData.js +1 -1
  60. package/UI/TransactionData/index.js +1 -1
  61. package/UI/TransactionDetails/TransactionDetails.js +1 -1
  62. package/UI/TransactionDetails/components/TransactionDetailsBody.js +1 -1
  63. package/UI/TransactionDetails/components/index.js +1 -1
  64. package/UI/TransactionDetails/index.js +1 -1
  65. package/UI/TransactionInfo/TransactionInfo.js +1 -1
  66. package/UI/TransactionInfo/components/AddressDetailItem/AddressDetailitem.js +1 -1
  67. package/UI/TransactionInfo/components/AddressDetailItem/index.js +1 -1
  68. package/UI/TransactionInfo/components/DataDecode/DataDecode.js +1 -1
  69. package/UI/TransactionInfo/components/DataDecode/index.js +1 -1
  70. package/UI/TransactionInfo/components/DataField/DataField.js +1 -1
  71. package/UI/TransactionInfo/components/DataField/components/ModalLink/ModalLink.js +1 -1
  72. package/UI/TransactionInfo/components/DataField/components/ModalLink/index.js +1 -1
  73. package/UI/TransactionInfo/components/DataField/components/index.js +1 -1
  74. package/UI/TransactionInfo/components/DataField/index.js +1 -1
  75. package/UI/TransactionInfo/components/EventsList/EventsList.js +1 -1
  76. package/UI/TransactionInfo/components/EventsList/index.js +1 -1
  77. package/UI/TransactionInfo/components/NonceMessage/NonceMessage.js +1 -1
  78. package/UI/TransactionInfo/components/NonceMessage/index.js +1 -1
  79. package/UI/TransactionInfo/components/OperationsList/OperationList.js +1 -1
  80. package/UI/TransactionInfo/components/OperationsList/components/DetailedItem.js +1 -1
  81. package/UI/TransactionInfo/components/OperationsList/components/OperationBlock.js +1 -1
  82. package/UI/TransactionInfo/components/OperationsList/components/OperationRow.js +1 -1
  83. package/UI/TransactionInfo/components/OperationsList/components/OperationText.js +1 -1
  84. package/UI/TransactionInfo/components/OperationsList/components/OperationToken.js +1 -1
  85. package/UI/TransactionInfo/components/OperationsList/components/index.js +1 -1
  86. package/UI/TransactionInfo/components/OperationsList/index.js +1 -1
  87. package/UI/TransactionInfo/components/ScResultsList/ScResultsList.js +1 -1
  88. package/UI/TransactionInfo/components/ScResultsList/components/ResultData/ResultData.js +1 -1
  89. package/UI/TransactionInfo/components/ScResultsList/components/ResultData/index.js +1 -1
  90. package/UI/TransactionInfo/components/ScResultsList/components/ResultHash/ResultHash.js +1 -1
  91. package/UI/TransactionInfo/components/ScResultsList/components/ResultHash/index.js +1 -1
  92. package/UI/TransactionInfo/components/ScResultsList/components/ResultReceiver/ResultReceiver.js +1 -1
  93. package/UI/TransactionInfo/components/ScResultsList/components/ResultReceiver/index.js +1 -1
  94. package/UI/TransactionInfo/components/ScResultsList/components/ResultSender/ResultSender.js +1 -1
  95. package/UI/TransactionInfo/components/ScResultsList/components/ResultSender/index.js +1 -1
  96. package/UI/TransactionInfo/components/ScResultsList/index.js +1 -1
  97. package/UI/TransactionInfo/components/ScrDetailItem/ScrDetailItem.js +1 -1
  98. package/UI/TransactionInfo/components/ScrDetailItem/index.js +1 -1
  99. package/UI/TransactionInfo/components/TransactionAction/TransactionAction.js +1 -1
  100. package/UI/TransactionInfo/components/TransactionAction/components/ActionText/index.js +1 -1
  101. package/UI/TransactionInfo/components/TransactionAction/components/ActionToken.js +1 -1
  102. package/UI/TransactionInfo/components/TransactionAction/components/TransactionActionBlock/components/TransactionActionCollection.js +1 -1
  103. package/UI/TransactionInfo/components/TransactionAction/components/TransactionActionBlock/components/TransactionActionNft.js +1 -1
  104. package/UI/TransactionInfo/components/TransactionAction/components/TransactionActionBlock/components/TransactionActionToken.js +1 -1
  105. package/UI/TransactionInfo/components/TransactionAction/components/TransactionActionBlock/components/index.js +1 -1
  106. package/UI/TransactionInfo/components/TransactionAction/components/TransactionActionBlock/index.js +1 -1
  107. package/UI/TransactionInfo/components/TransactionAction/components/index.js +1 -1
  108. package/UI/TransactionInfo/components/TransactionAction/index.js +1 -1
  109. package/UI/TransactionInfo/components/TransactionLogs/TransactionLogs.js +1 -1
  110. package/UI/TransactionInfo/components/TransactionLogs/index.js +1 -1
  111. package/UI/TransactionInfo/components/TransactionStatus/TransactionStatus.js +1 -1
  112. package/UI/TransactionInfo/components/TransactionStatus/index.js +1 -1
  113. package/UI/TransactionInfo/components/index.js +1 -1
  114. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoAge/TransactionInfoAge.js +1 -1
  115. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoAge/index.js +1 -1
  116. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoEgldPrice/TransactionInfoEgldPrice.js +1 -1
  117. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoEgldPrice/index.js +1 -1
  118. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoFee/TransactionInfoFee.js +1 -1
  119. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoFee/index.js +1 -1
  120. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoFrom/TransactionInfoFrom.js +1 -1
  121. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoFrom/index.js +1 -1
  122. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoGasLimit/TransactionInfoGasLimit.js +1 -1
  123. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoGasLimit/index.js +1 -1
  124. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoGasPrice/TransactionInfoGasPrice.js +1 -1
  125. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoGasPrice/index.js +1 -1
  126. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoGasUsed/TransactionInfoGasUsed.js +1 -1
  127. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoGasUsed/index.js +1 -1
  128. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoInputData/TransactionInfoInputData.js +1 -1
  129. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoInputData/index.js +1 -1
  130. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoMethod/TransactionInfoMethod.js +1 -1
  131. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoMethod/index.js +1 -1
  132. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoMiniblock/TransactionInfoMiniblock.js +1 -1
  133. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoMiniblock/index.js +1 -1
  134. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoNonce/TransactionInfoNonce.js +1 -1
  135. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoNonce/index.js +1 -1
  136. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoScResults/TransactionInfoScResults.js +1 -1
  137. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoScResults/index.js +1 -1
  138. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoStatus/TransactionInfoStatus.js +1 -1
  139. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoStatus/index.js +1 -1
  140. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoTo/TransactionInfoTo.js +1 -1
  141. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoTo/index.js +1 -1
  142. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoTokenOperations/TransactionInfoTokenOperations.js +1 -1
  143. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoTokenOperations/index.js +1 -1
  144. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoValue/TransactionInfoValue.js +1 -1
  145. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoValue/index.js +1 -1
  146. package/UI/TransactionInfo/components/transactionInfoFields/index.js +1 -1
  147. package/UI/TransactionInfo/index.js +1 -1
  148. package/UI/TransactionsTable/TransactionsTable.js +1 -1
  149. package/UI/TransactionsTable/components/AccountName.js +1 -1
  150. package/UI/TransactionsTable/components/FailedTransactions.js +1 -1
  151. package/UI/TransactionsTable/components/LockedTokenAddressIcon.js +1 -1
  152. package/UI/TransactionsTable/components/ScAddressIcon.js +1 -1
  153. package/UI/TransactionsTable/components/ShardSpan.js +1 -1
  154. package/UI/TransactionsTable/components/TransactionHash.js +1 -1
  155. package/UI/TransactionsTable/components/TransactionIcon.js +1 -1
  156. package/UI/TransactionsTable/components/TransactionMethod.js +1 -1
  157. package/UI/TransactionsTable/components/TransactionReceiver.js +1 -1
  158. package/UI/TransactionsTable/components/TransactionRow.js +1 -1
  159. package/UI/TransactionsTable/components/TransactionSender.js +1 -1
  160. package/UI/TransactionsTable/components/TransactionShardsTransition.js +1 -1
  161. package/UI/TransactionsTable/components/TransactionValue/TransactionValue.js +1 -1
  162. package/UI/TransactionsTable/components/TransactionValue/index.js +1 -1
  163. package/UI/TransactionsTable/components/index.js +1 -1
  164. package/UI/TransactionsTable/index.js +1 -1
  165. package/UI/TransactionsToastList/TransactionsToastList.js +1 -1
  166. package/UI/TransactionsToastList/components/CustomToast/CustomToast.js +1 -1
  167. package/UI/TransactionsToastList/components/CustomToast/components/CustomComponentToast.js +1 -1
  168. package/UI/TransactionsToastList/components/CustomToast/components/IconToast/IconToast.js +1 -1
  169. package/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/IconToastFooter.js +1 -1
  170. package/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/components/ComponentToastFooter.js +1 -1
  171. package/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/components/TransactionToastFooter.js +1 -1
  172. package/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/components/index.js +1 -1
  173. package/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/index.js +1 -1
  174. package/UI/TransactionsToastList/components/CustomToast/components/IconToast/index.js +1 -1
  175. package/UI/TransactionsToastList/components/CustomToast/components/SimpleToast.js +1 -1
  176. package/UI/TransactionsToastList/components/CustomToast/components/index.js +1 -1
  177. package/UI/TransactionsToastList/components/CustomToast/helpers/getIsTransaction.js +1 -1
  178. package/UI/TransactionsToastList/components/CustomToast/helpers/index.js +1 -1
  179. package/UI/TransactionsToastList/components/CustomToast/helpers/useMemoizedCloseButton.js +1 -1
  180. package/UI/TransactionsToastList/components/CustomToast/index.js +1 -1
  181. package/UI/TransactionsToastList/components/TransactionToast/TransactionToast.js +1 -1
  182. package/UI/TransactionsToastList/components/TransactionToast/components/DefaultToastDeleteButton.js +1 -1
  183. package/UI/TransactionsToastList/components/TransactionToast/components/TransactionToastContent.js +1 -1
  184. package/UI/TransactionsToastList/components/TransactionToast/components/index.js +1 -1
  185. package/UI/TransactionsToastList/components/TransactionToast/hooks/useTransactionToast.js +1 -1
  186. package/UI/TransactionsToastList/components/TransactionToast/index.js +1 -1
  187. package/UI/TransactionsToastList/components/TransactionToast/utils/getToastDataStateByStatus.js +1 -1
  188. package/UI/TransactionsToastList/components/TransactionToast/utils/index.js +1 -1
  189. package/UI/TransactionsToastList/components/TransactionToastGuard.js +1 -1
  190. package/UI/TransactionsToastList/components/index.js +1 -1
  191. package/UI/TransactionsToastList/index.js +1 -1
  192. package/UI/Trim/Trim.js +1 -1
  193. package/UI/Trim/index.js +1 -1
  194. package/UI/UsdValue/UsdValue.js +1 -1
  195. package/UI/UsdValue/index.js +1 -1
  196. package/UI/extension/ExtensionLoginButton/ExtensionLoginButton.js +1 -1
  197. package/UI/extension/ExtensionLoginButton/index.js +1 -1
  198. package/UI/iframe/IFrameLoginButton/IFrameLoginButton.js +1 -1
  199. package/UI/iframe/IFrameLoginButton/index.js +1 -1
  200. package/UI/index.js +1 -1
  201. package/UI/ledger/LedgerLoginButton/LedgerLoginButton.js +1 -1
  202. package/UI/ledger/LedgerLoginButton/index.js +1 -1
  203. package/UI/ledger/LedgerLoginContainer/AddressRow/AddressRow.js +1 -1
  204. package/UI/ledger/LedgerLoginContainer/AddressRow/index.js +1 -1
  205. package/UI/ledger/LedgerLoginContainer/AddressTable/AddressTable.js +1 -1
  206. package/UI/ledger/LedgerLoginContainer/AddressTable/index.js +1 -1
  207. package/UI/ledger/LedgerLoginContainer/ConfirmAddress/ConfirmAddress.js +1 -1
  208. package/UI/ledger/LedgerLoginContainer/ConfirmAddress/helpers/getAuthTokenText.js +1 -1
  209. package/UI/ledger/LedgerLoginContainer/ConfirmAddress/helpers/index.js +1 -1
  210. package/UI/ledger/LedgerLoginContainer/ConfirmAddress/index.js +1 -1
  211. package/UI/ledger/LedgerLoginContainer/LedgerConnect/LedgerConnect.js +1 -1
  212. package/UI/ledger/LedgerLoginContainer/LedgerConnect/index.js +1 -1
  213. package/UI/ledger/LedgerLoginContainer/LedgerLoading/LedgerLoading.js +1 -1
  214. package/UI/ledger/LedgerLoginContainer/LedgerLoading/index.js +1 -1
  215. package/UI/ledger/LedgerLoginContainer/LedgerLoginContainer.js +1 -1
  216. package/UI/ledger/LedgerLoginContainer/LedgerLoginContent/LedgerLoginContent.js +1 -1
  217. package/UI/ledger/LedgerLoginContainer/LedgerLoginContent/index.js +1 -1
  218. package/UI/ledger/LedgerLoginContainer/LedgerLoginContentBody/LedgerLoginContentBody.js +1 -1
  219. package/UI/ledger/LedgerLoginContainer/LedgerLoginContentBody/index.js +1 -1
  220. package/UI/ledger/LedgerLoginContainer/LedgerScamPhishingAlert/LedgerScamPhishingAlert.js +1 -1
  221. package/UI/ledger/LedgerLoginContainer/LedgerScamPhishingAlert/index.js +1 -1
  222. package/UI/ledger/LedgerLoginContainer/index.js +1 -1
  223. package/UI/ledger/index.js +1 -1
  224. package/UI/metamask/MetamaskLoginButton/MetamaskLoginButton.js +1 -1
  225. package/UI/metamask/MetamaskLoginButton/index.js +1 -1
  226. package/UI/operaWallet/OperaWalletLoginButton/OperaWalletLoginButton.js +1 -1
  227. package/UI/operaWallet/OperaWalletLoginButton/index.js +1 -1
  228. package/UI/pages/UnlockPage/index.js +1 -1
  229. package/UI/pages/index.js +1 -1
  230. package/UI/walletConnect/WalletConnectConnectionStatus/WalletConnectConnectionStatus.js +1 -1
  231. package/UI/walletConnect/WalletConnectConnectionStatus/index.js +1 -1
  232. package/UI/walletConnect/WalletConnectLoginButton/WalletConnectLoginButton.js +1 -1
  233. package/UI/walletConnect/WalletConnectLoginButton/index.js +1 -1
  234. package/UI/walletConnect/WalletConnectLoginContainer/WalletConnectLoginContainer.js +1 -1
  235. package/UI/walletConnect/WalletConnectLoginContainer/WalletConnectLoginContent/WalletConnectLoginContent.js +1 -1
  236. package/UI/walletConnect/WalletConnectLoginContainer/WalletConnectLoginContent/index.js +1 -1
  237. package/UI/walletConnect/WalletConnectLoginContainer/index.js +1 -1
  238. package/UI/walletConnect/index.js +1 -1
  239. package/UI/webWallet/CrossWindowLoginButton/CrossWindowLoginButton.js +1 -1
  240. package/UI/webWallet/CrossWindowLoginButton/index.js +1 -1
  241. package/UI/webWallet/WebWalletLoginButton/WebWalletLoginButton.js +1 -1
  242. package/UI/webWallet/WebWalletLoginButton/index.js +1 -1
  243. package/UI/webWallet/XaliasCrossWindowLoginButton/XaliasCrossWindowLoginButton.js +1 -1
  244. package/UI/webWallet/XaliasCrossWindowLoginButton/index.js +1 -1
  245. package/UI/webWallet/XaliasLoginButton/XaliasLoginButton.js +1 -1
  246. package/UI/webWallet/XaliasLoginButton/index.js +1 -1
  247. package/__chunks__/{chunk-AXT2NJ6M.js → chunk-22NL5KVU.js} +2 -2
  248. package/__chunks__/{chunk-OKETHBNH.js → chunk-263QEREQ.js} +2 -2
  249. package/__chunks__/{chunk-T7A252MR.js → chunk-2AQXK6RW.js} +2 -2
  250. package/__chunks__/{chunk-VEX4PCPV.js → chunk-2CNZYW2L.js} +2 -2
  251. package/__chunks__/{chunk-2ECHCB27.js → chunk-2JW3VPBD.js} +2 -2
  252. package/__chunks__/{chunk-NJJHDONL.js → chunk-2OX5HZ3L.js} +2 -2
  253. package/__chunks__/chunk-2RFBXUEF.js +2 -0
  254. package/__chunks__/chunk-2RMZEUEW.js +2 -0
  255. package/__chunks__/{chunk-OBETDLBL.js → chunk-2WY5CRBB.js} +2 -2
  256. package/__chunks__/chunk-326NYTS7.js +2 -0
  257. package/__chunks__/{chunk-6VJWZ6XD.js → chunk-34OERG34.js} +2 -2
  258. package/__chunks__/{chunk-U5L7PDYG.js → chunk-3CCODDPO.js} +2 -2
  259. package/__chunks__/{chunk-JZ5SJUOB.js → chunk-3DL36PIP.js} +2 -2
  260. package/__chunks__/{chunk-KPE6QAXM.js → chunk-3EXHRXIB.js} +2 -2
  261. package/__chunks__/{chunk-GP5MWMBG.js → chunk-3JIG2MPI.js} +2 -2
  262. package/__chunks__/{chunk-YDQ4A5HV.js → chunk-3JUG45XO.js} +2 -2
  263. package/__chunks__/{chunk-42LAF2T4.js → chunk-3KOL2IIG.js} +2 -2
  264. package/__chunks__/{chunk-XURWB6M3.js → chunk-3OC3EIKR.js} +2 -2
  265. package/__chunks__/{chunk-N3PS4ZYW.js → chunk-3Q6THULX.js} +2 -2
  266. package/__chunks__/{chunk-MYT6G7XU.js → chunk-3SK7YSMB.js} +2 -2
  267. package/__chunks__/{chunk-32TPAORL.js → chunk-3WMNO3QV.js} +2 -2
  268. package/__chunks__/{chunk-X4QCW6SI.js → chunk-3Y5NQN3R.js} +2 -2
  269. package/__chunks__/chunk-42ZQDQRP.js +2 -0
  270. package/__chunks__/{chunk-TOPR7NTF.js → chunk-4ANTU7BC.js} +2 -2
  271. package/__chunks__/chunk-4AX7KFHM.js +2 -0
  272. package/__chunks__/{chunk-HAY6GH2M.js → chunk-4HGJ73XW.js} +2 -2
  273. package/__chunks__/{chunk-FT7U46MK.js → chunk-4L6ZGJNC.js} +2 -2
  274. package/__chunks__/{chunk-CZQN6YVY.js → chunk-4MMHQIOJ.js} +2 -2
  275. package/__chunks__/{chunk-AGFQOAEX.js → chunk-4P7HQ2MM.js} +2 -2
  276. package/__chunks__/chunk-4PXN2ILM.js +2 -0
  277. package/__chunks__/{chunk-U4S27NGT.js → chunk-4QXVWZOL.js} +2 -2
  278. package/__chunks__/{chunk-WNA4AUNL.js → chunk-4T2PZCU6.js} +2 -2
  279. package/__chunks__/{chunk-FCZK3OS7.js → chunk-4ZBF2475.js} +2 -2
  280. package/__chunks__/chunk-4ZUDDQA7.js +2 -0
  281. package/__chunks__/{chunk-6R5H3KQY.js → chunk-53C6ZZJF.js} +2 -2
  282. package/__chunks__/{chunk-ZDVO67JF.js → chunk-5525Y2IL.js} +2 -2
  283. package/__chunks__/{chunk-LPFTTAQZ.js → chunk-5F45Q4LN.js} +2 -2
  284. package/__chunks__/{chunk-2VMHQZQE.js → chunk-5KI4X7IW.js} +2 -2
  285. package/__chunks__/{chunk-J7UK3MV5.js → chunk-5M4VB2HL.js} +2 -2
  286. package/__chunks__/{chunk-YKXAUKTY.js → chunk-5MJBIWDO.js} +2 -2
  287. package/__chunks__/{chunk-YUC3TNTE.js → chunk-5QLD5RW4.js} +2 -2
  288. package/__chunks__/chunk-5RQHNQMT.js +2 -0
  289. package/__chunks__/{chunk-ZMMKZPNL.js → chunk-5UPQ4YDM.js} +2 -2
  290. package/__chunks__/{chunk-2AYYYWM7.js → chunk-5X7UVMO4.js} +2 -2
  291. package/__chunks__/{chunk-ZULCOQAM.js → chunk-6225OKQB.js} +2 -2
  292. package/__chunks__/chunk-62E6F6AS.js +2 -0
  293. package/__chunks__/{chunk-ECAWVBBK.js → chunk-6CEV6VVD.js} +2 -2
  294. package/__chunks__/{chunk-XHMRLUWQ.js → chunk-6GTAQOXM.js} +2 -2
  295. package/__chunks__/chunk-6KUNSZ3H.js +2 -0
  296. package/__chunks__/{chunk-NOGEBGQ6.js → chunk-6NT2MRKF.js} +2 -2
  297. package/__chunks__/chunk-6PME7GKG.js +2 -0
  298. package/__chunks__/{chunk-265FXP7D.js → chunk-6QOGDEAH.js} +2 -2
  299. package/__chunks__/{chunk-TFV55Y6B.js → chunk-6SLEVFBK.js} +2 -2
  300. package/__chunks__/{chunk-LKYFPHQ6.js → chunk-6WKEYUX3.js} +2 -2
  301. package/__chunks__/{chunk-XY3I7TIZ.js → chunk-6XNH3L4Y.js} +2 -2
  302. package/__chunks__/{chunk-G3QTWPPJ.js → chunk-6YGJKPSC.js} +2 -2
  303. package/__chunks__/{chunk-7JNTLUHJ.js → chunk-6YW57DZB.js} +2 -2
  304. package/__chunks__/{chunk-3CX2APRN.js → chunk-6Z3ZDZOE.js} +2 -2
  305. package/__chunks__/{chunk-Z5FYOQ2R.js → chunk-7365XOMV.js} +2 -2
  306. package/__chunks__/{chunk-M5R4M7GY.js → chunk-75A73QSF.js} +2 -2
  307. package/__chunks__/{chunk-G6QUVPUM.js → chunk-773HQK72.js} +2 -2
  308. package/__chunks__/{chunk-QH2VC252.js → chunk-7C2KN5W5.js} +2 -2
  309. package/__chunks__/{chunk-QUYH5Z4D.js → chunk-7HQH3HFX.js} +2 -2
  310. package/__chunks__/{chunk-CWPKLRF5.js → chunk-7MNGGH5B.js} +2 -2
  311. package/__chunks__/{chunk-EHBBM33V.js → chunk-7NMZI7HV.js} +2 -2
  312. package/__chunks__/{chunk-EVQ3TOER.js → chunk-7QF7R7OU.js} +2 -2
  313. package/__chunks__/chunk-7QGWRPSN.js +2 -0
  314. package/__chunks__/{chunk-UTLM6LOP.js → chunk-7QIIDSAL.js} +2 -2
  315. package/__chunks__/chunk-7RPJBS3E.js +2 -0
  316. package/__chunks__/{chunk-TTJL7RV4.js → chunk-A33H37UF.js} +2 -2
  317. package/__chunks__/{chunk-24DCJJ6Q.js → chunk-A4X23LAP.js} +2 -2
  318. package/__chunks__/{chunk-FX5R65NP.js → chunk-A5DQT2VK.js} +2 -2
  319. package/__chunks__/{chunk-YULPNTKJ.js → chunk-A6VF2F65.js} +2 -2
  320. package/__chunks__/{chunk-2FO6OVMJ.js → chunk-ABYUUP6Z.js} +2 -2
  321. package/__chunks__/{chunk-YXNQU5R6.js → chunk-ABYWPEBT.js} +2 -2
  322. package/__chunks__/chunk-AEOLMPGD.js +2 -0
  323. package/__chunks__/{chunk-JBMDQJWO.js → chunk-AG4WVAZZ.js} +2 -2
  324. package/__chunks__/chunk-AGZYPUV7.js +2 -0
  325. package/__chunks__/{chunk-CCQTCGL7.js → chunk-ALMFTPLP.js} +2 -2
  326. package/__chunks__/{chunk-IZKTM53G.js → chunk-ANMY5WKZ.js} +2 -2
  327. package/__chunks__/{chunk-XOV2JI7Y.js → chunk-AVO3NCQ7.js} +2 -2
  328. package/__chunks__/{chunk-GZ445QFY.js → chunk-AWG7IVSG.js} +2 -2
  329. package/__chunks__/chunk-B3BJNWSH.js +2 -0
  330. package/__chunks__/{chunk-VQNBNBQC.js → chunk-B5HXAMYZ.js} +2 -2
  331. package/__chunks__/{chunk-H73QTD7L.js → chunk-BAULOA25.js} +2 -2
  332. package/__chunks__/chunk-BC7OAC42.js +2 -0
  333. package/__chunks__/{chunk-CS7AC2GX.js → chunk-BCII6JBU.js} +2 -2
  334. package/__chunks__/{chunk-D5CCN3U3.js → chunk-BDEUDYJN.js} +2 -2
  335. package/__chunks__/{chunk-JBWNNWB3.js → chunk-BH4SLVQB.js} +2 -2
  336. package/__chunks__/{chunk-JGEIY6QR.js → chunk-BHGZQF7I.js} +2 -2
  337. package/__chunks__/{chunk-BRCYT2LL.js → chunk-BHZD73AO.js} +2 -2
  338. package/__chunks__/chunk-BIHYEUP2.js +2 -0
  339. package/__chunks__/chunk-BIT2KX3T.js +2 -0
  340. package/__chunks__/{chunk-FMYJXYUY.js → chunk-BLZTJLDV.js} +2 -2
  341. package/__chunks__/{chunk-VWMUHBWI.js → chunk-BNC6AALE.js} +2 -2
  342. package/__chunks__/{chunk-OPT53KU2.js → chunk-BPDTN6ZF.js} +2 -2
  343. package/__chunks__/{chunk-MMSXJJU4.js → chunk-BPKAPSLS.js} +2 -2
  344. package/__chunks__/{chunk-IVOW2G6O.js → chunk-BS34YNYJ.js} +2 -2
  345. package/__chunks__/{chunk-R6HZGF2V.js → chunk-BWS76JLB.js} +2 -2
  346. package/__chunks__/{chunk-VPGHPBKS.js → chunk-C6NWNWUO.js} +2 -2
  347. package/__chunks__/{chunk-NY6IER44.js → chunk-C6TDNX2X.js} +2 -2
  348. package/__chunks__/{chunk-U4AK27WF.js → chunk-CEWXKY6D.js} +2 -2
  349. package/__chunks__/{chunk-MCMRNN6D.js → chunk-CIL5J5HY.js} +2 -2
  350. package/__chunks__/chunk-CJIH7PBV.js +2 -0
  351. package/__chunks__/{chunk-4JR5PHON.js → chunk-CNIUXAUQ.js} +2 -2
  352. package/__chunks__/{chunk-DJTOARV4.js → chunk-CO6PPSNX.js} +2 -2
  353. package/__chunks__/{chunk-T3D7W54K.js → chunk-CQ6RXURT.js} +2 -2
  354. package/__chunks__/{chunk-R3DRJPJK.js → chunk-CTNPRHWC.js} +2 -2
  355. package/__chunks__/{chunk-REFLHE3K.js → chunk-CVWMF2KK.js} +2 -2
  356. package/__chunks__/chunk-DBHFP7IG.js +2 -0
  357. package/__chunks__/{chunk-CBSN52CJ.js → chunk-DE7YT6KJ.js} +2 -2
  358. package/__chunks__/{chunk-P3KRNDFF.js → chunk-DF2KA2ET.js} +2 -2
  359. package/__chunks__/{chunk-BAIZQH6N.js → chunk-DG5SZY2S.js} +2 -2
  360. package/__chunks__/{chunk-ACS4ZQ2O.js → chunk-DMLTICCL.js} +2 -2
  361. package/__chunks__/chunk-DNOIUYEE.js +2 -0
  362. package/__chunks__/{chunk-HHADFPSM.js → chunk-DNRVQEZY.js} +2 -2
  363. package/__chunks__/chunk-DQ23TKBG.js +2 -0
  364. package/__chunks__/{chunk-OF2TURKY.js → chunk-DQYHGKTH.js} +2 -2
  365. package/__chunks__/{chunk-WBWWLVNL.js → chunk-DSXC6BEX.js} +2 -2
  366. package/__chunks__/{chunk-DON4TKGL.js → chunk-DYCJPB34.js} +2 -2
  367. package/__chunks__/{chunk-PHAX7MV7.js → chunk-E3IOODCV.js} +2 -2
  368. package/__chunks__/{chunk-Y2BUOYGM.js → chunk-E5O2J726.js} +2 -2
  369. package/__chunks__/chunk-EAACBYLO.js +2 -0
  370. package/__chunks__/{chunk-C5RUR77K.js → chunk-EF5M7T5X.js} +2 -2
  371. package/__chunks__/{chunk-BPRQ5VAO.js → chunk-EGEARFJK.js} +2 -2
  372. package/__chunks__/{chunk-SMGKY3YH.js → chunk-EH6QQ7IH.js} +2 -2
  373. package/__chunks__/{chunk-MQL663WK.js → chunk-EJBO7WYV.js} +2 -2
  374. package/__chunks__/{chunk-TBUI6FX5.js → chunk-ELNBOUQO.js} +2 -2
  375. package/__chunks__/{chunk-BIVRUZ74.js → chunk-EQT7KZKR.js} +2 -2
  376. package/__chunks__/{chunk-32DYL57R.js → chunk-ER5WV2BS.js} +2 -2
  377. package/__chunks__/{chunk-ULZVV32S.js → chunk-EXOJ47S6.js} +2 -2
  378. package/__chunks__/{chunk-KKC3IDKV.js → chunk-EZVYWWKB.js} +2 -2
  379. package/__chunks__/{chunk-6UAYWDIJ.js → chunk-F4QL3GHT.js} +2 -2
  380. package/__chunks__/chunk-F7LJVKFQ.js +2 -0
  381. package/__chunks__/{chunk-7VDD2Y34.js → chunk-FA5JD2Q7.js} +2 -2
  382. package/__chunks__/chunk-FBC5OJ4S.js +2 -0
  383. package/__chunks__/chunk-FBRE6DKI.js +2 -0
  384. package/__chunks__/{chunk-6JUFMGDG.js → chunk-FBZUZ2LR.js} +2 -2
  385. package/__chunks__/chunk-FGYKN2JQ.js +2 -0
  386. package/__chunks__/{chunk-KYWEFQT3.js → chunk-FII3XBZ5.js} +2 -2
  387. package/__chunks__/{chunk-LDPTFZ3Q.js → chunk-FJVR34XY.js} +2 -2
  388. package/__chunks__/{chunk-UAG6FVFR.js → chunk-FVBFDJAD.js} +2 -2
  389. package/__chunks__/chunk-FZ73NGHD.js +2 -0
  390. package/__chunks__/{chunk-5ZXZT374.js → chunk-FZDD33ND.js} +2 -2
  391. package/__chunks__/{chunk-MZZCQLVP.js → chunk-GCUPOEIO.js} +2 -2
  392. package/__chunks__/{chunk-JDD2CEXG.js → chunk-GD7RLXNS.js} +2 -2
  393. package/__chunks__/{chunk-OQH542VG.js → chunk-GDW2MRUG.js} +2 -2
  394. package/__chunks__/{chunk-KJSHELVB.js → chunk-GDW6XQMO.js} +2 -2
  395. package/__chunks__/{chunk-PCPSQGQX.js → chunk-GEOETS27.js} +2 -2
  396. package/__chunks__/{chunk-55TC4Q7L.js → chunk-GGJRL4PN.js} +2 -2
  397. package/__chunks__/chunk-GLYHFV65.js +2 -0
  398. package/__chunks__/{chunk-6HW4S5UJ.js → chunk-H5DUDKSL.js} +2 -2
  399. package/__chunks__/{chunk-2BZFYAGQ.js → chunk-H6K2CJA6.js} +2 -2
  400. package/__chunks__/{chunk-XMKYUF4L.js → chunk-H7ZYBTPN.js} +2 -2
  401. package/__chunks__/chunk-HAFA7IOV.js +2 -0
  402. package/__chunks__/{chunk-7S6Z4XAZ.js → chunk-HCEHLYZQ.js} +2 -2
  403. package/__chunks__/{chunk-FUUPMXM2.js → chunk-HDM5CY5R.js} +2 -2
  404. package/__chunks__/{chunk-EBDKYFBR.js → chunk-HDP4AVHO.js} +2 -2
  405. package/__chunks__/{chunk-RK3CQOUD.js → chunk-HFGOYQBH.js} +2 -2
  406. package/__chunks__/{chunk-RFVM33IM.js → chunk-HHRDVYGM.js} +2 -2
  407. package/__chunks__/{chunk-34CBCJXY.js → chunk-HI3UJZQ7.js} +2 -2
  408. package/__chunks__/{chunk-J43BFCEQ.js → chunk-HLA2S32U.js} +2 -2
  409. package/__chunks__/chunk-HLXWVJCV.js +2 -0
  410. package/__chunks__/{chunk-XWEM4CPS.js → chunk-HWYLU6JG.js} +2 -2
  411. package/__chunks__/{chunk-AFOD6OK5.js → chunk-HZF3LAGQ.js} +2 -2
  412. package/__chunks__/chunk-HZLDEQOQ.js +2 -0
  413. package/__chunks__/{chunk-3X3NEJ4I.js → chunk-I24BOTRA.js} +2 -2
  414. package/__chunks__/{chunk-ZFP4LZ2H.js → chunk-I2NDPUAL.js} +2 -2
  415. package/__chunks__/{chunk-LB4R737M.js → chunk-IE3WTYIK.js} +2 -2
  416. package/__chunks__/{chunk-YEHOFAFU.js → chunk-IFAMO55J.js} +2 -2
  417. package/__chunks__/{chunk-5NO7EN2P.js → chunk-IGDRNKJB.js} +2 -2
  418. package/__chunks__/chunk-IO6QBGZC.js +2 -0
  419. package/__chunks__/{chunk-E5RGGJYG.js → chunk-IS2LSV7C.js} +2 -2
  420. package/__chunks__/{chunk-KSOJH4Y7.js → chunk-IVRVWEY3.js} +2 -2
  421. package/__chunks__/{chunk-6KJT6OIA.js → chunk-IWCALUSV.js} +2 -2
  422. package/__chunks__/{chunk-MGERGAS6.js → chunk-IWM4O3GF.js} +2 -2
  423. package/__chunks__/{chunk-MO4GHVXO.js → chunk-J3BX4S7G.js} +2 -2
  424. package/__chunks__/{chunk-NDCXAEA7.js → chunk-J3YXJOAZ.js} +2 -2
  425. package/__chunks__/{chunk-NDMJ35QO.js → chunk-J6PN25SQ.js} +2 -2
  426. package/__chunks__/{chunk-GFDS5AUZ.js → chunk-J7OUVGGQ.js} +2 -2
  427. package/__chunks__/{chunk-S7VUMPN6.js → chunk-J7UPCCQP.js} +2 -2
  428. package/__chunks__/{chunk-SF2P3GKY.js → chunk-JC6ZWGJK.js} +2 -2
  429. package/__chunks__/chunk-JDIVNWAP.js +2 -0
  430. package/__chunks__/{chunk-KK2DW4CI.js → chunk-JHWS62OJ.js} +2 -2
  431. package/__chunks__/chunk-JI3JKS2X.js +2 -0
  432. package/__chunks__/{chunk-35BLKHOL.js → chunk-JLFIEUD2.js} +2 -2
  433. package/__chunks__/{chunk-4B2I5JTE.js → chunk-JM5LD73F.js} +2 -2
  434. package/__chunks__/{chunk-B3FQHLLP.js → chunk-JSMCUOEY.js} +2 -2
  435. package/__chunks__/{chunk-Y4AKLABT.js → chunk-JSVQI66Q.js} +2 -2
  436. package/__chunks__/{chunk-PO4YPZL4.js → chunk-K4HNOQSS.js} +2 -2
  437. package/__chunks__/{chunk-GHECG7OC.js → chunk-K5NHBAED.js} +2 -2
  438. package/__chunks__/{chunk-4PKC4T3J.js → chunk-KAWW7TRG.js} +2 -2
  439. package/__chunks__/{chunk-T366I6EZ.js → chunk-KBNAXLHN.js} +2 -2
  440. package/__chunks__/{chunk-LKNBKF5D.js → chunk-KFY4Z4P5.js} +2 -2
  441. package/__chunks__/{chunk-RCRUQ2QU.js → chunk-KG7DIVST.js} +2 -2
  442. package/__chunks__/{chunk-FTOFVPSI.js → chunk-KGBX3WAH.js} +2 -2
  443. package/__chunks__/{chunk-HVWPPTUV.js → chunk-KGCJPGGQ.js} +2 -2
  444. package/__chunks__/{chunk-GQIWCB4G.js → chunk-KHQ2B6CP.js} +2 -2
  445. package/__chunks__/{chunk-H2W4TKGM.js → chunk-KKYAAXWO.js} +2 -2
  446. package/__chunks__/{chunk-A7ZEXBKQ.js → chunk-KL2HRXBW.js} +2 -2
  447. package/__chunks__/{chunk-M43QNJKO.js → chunk-KMFJTUQ6.js} +2 -2
  448. package/__chunks__/{chunk-5VGU3BID.js → chunk-KTJQPR5D.js} +2 -2
  449. package/__chunks__/{chunk-HITG5WTY.js → chunk-KWHBQRR2.js} +2 -2
  450. package/__chunks__/{chunk-OYTVJPO3.js → chunk-L6PHU5O3.js} +2 -2
  451. package/__chunks__/{chunk-2XRNT2BH.js → chunk-LA2WC46B.js} +2 -2
  452. package/__chunks__/{chunk-CLFGDG6X.js → chunk-LHHPCAUQ.js} +2 -2
  453. package/__chunks__/{chunk-BDTVLUO2.js → chunk-LL2DFFVM.js} +2 -2
  454. package/__chunks__/{chunk-47CDUE6Y.js → chunk-LMO5FEAS.js} +2 -2
  455. package/__chunks__/chunk-LUL6X7VQ.js +2 -0
  456. package/__chunks__/{chunk-THEZHELL.js → chunk-LV67XAQF.js} +2 -2
  457. package/__chunks__/{chunk-7PK7PR2C.js → chunk-LV6UWNXY.js} +2 -2
  458. package/__chunks__/{chunk-2NFT7DWU.js → chunk-LZNQJP6X.js} +2 -2
  459. package/__chunks__/chunk-M2IECNFK.js +2 -0
  460. package/__chunks__/chunk-M5ADAFIL.js +2 -0
  461. package/__chunks__/{chunk-4MXAS6WK.js → chunk-MAAHFWM3.js} +2 -2
  462. package/__chunks__/{chunk-6OW6O67Q.js → chunk-MHMWPLDM.js} +2 -2
  463. package/__chunks__/{chunk-WFTSWXJI.js → chunk-MLM5H5IV.js} +2 -2
  464. package/__chunks__/{chunk-2BSZIAY6.js → chunk-MLP3MMHB.js} +2 -2
  465. package/__chunks__/{chunk-MNIGISRP.js → chunk-MUSYOCLE.js} +2 -2
  466. package/__chunks__/{chunk-W3F2QHJ3.js → chunk-MUVAFQMB.js} +2 -2
  467. package/__chunks__/{chunk-B3PE5S4V.js → chunk-MYU2TMCS.js} +2 -2
  468. package/__chunks__/{chunk-MZPPK6LW.js → chunk-NADPYO2U.js} +2 -2
  469. package/__chunks__/{chunk-VRGFHMYD.js → chunk-NBZQ6LW2.js} +2 -2
  470. package/__chunks__/{chunk-E3QVPAME.js → chunk-NC5R2VQI.js} +2 -2
  471. package/__chunks__/{chunk-I5JYVRJC.js → chunk-NE6Z3Z5I.js} +2 -2
  472. package/__chunks__/{chunk-7NUA6WDU.js → chunk-NJE4KH6K.js} +2 -2
  473. package/__chunks__/{chunk-V7XUGXKZ.js → chunk-NMKMNZUL.js} +2 -2
  474. package/__chunks__/chunk-NSXJBAFM.js +2 -0
  475. package/__chunks__/chunk-NT24CQ75.js +2 -0
  476. package/__chunks__/{chunk-FTELAZT2.js → chunk-NV5DEA6H.js} +2 -2
  477. package/__chunks__/chunk-NWHMOVZR.js +2 -0
  478. package/__chunks__/{chunk-PTXJSLGZ.js → chunk-NZDQOH3O.js} +2 -2
  479. package/__chunks__/{chunk-C6ISHLDB.js → chunk-O3L47SZJ.js} +2 -2
  480. package/__chunks__/{chunk-45N4W57V.js → chunk-O6UTV357.js} +2 -2
  481. package/__chunks__/chunk-O755JQ2C.js +2 -0
  482. package/__chunks__/{chunk-WFPZ7PD4.js → chunk-O7ZSPIKC.js} +2 -2
  483. package/__chunks__/chunk-ODFYLTIX.js +2 -0
  484. package/__chunks__/chunk-OHAS2JVU.js +2 -0
  485. package/__chunks__/{chunk-NVXN73KW.js → chunk-OMP3CULX.js} +2 -2
  486. package/__chunks__/{chunk-HHU3MCPI.js → chunk-OMS7WFXI.js} +2 -2
  487. package/__chunks__/{chunk-VOPKSGGR.js → chunk-OOOXQVB3.js} +2 -2
  488. package/__chunks__/{chunk-25LMXUXS.js → chunk-OULNDE72.js} +2 -2
  489. package/__chunks__/{chunk-JMAY6EDP.js → chunk-OWNLH2L3.js} +2 -2
  490. package/__chunks__/{chunk-P6MER6WJ.js → chunk-P4OACCZ2.js} +2 -2
  491. package/__chunks__/{chunk-J3OXMEBR.js → chunk-P63DU7CJ.js} +2 -2
  492. package/__chunks__/{chunk-XO76EVDN.js → chunk-PB6GIEUV.js} +2 -2
  493. package/__chunks__/chunk-PGST3AJD.js +2 -0
  494. package/__chunks__/{chunk-5TGWYFXL.js → chunk-PHTOBMYZ.js} +2 -2
  495. package/__chunks__/{chunk-QXI3FOJ3.js → chunk-PKF4YG47.js} +2 -2
  496. package/__chunks__/{chunk-H554FL3P.js → chunk-PRWMQVGB.js} +2 -2
  497. package/__chunks__/{chunk-XPQ2JDTA.js → chunk-PYXXVEHK.js} +2 -2
  498. package/__chunks__/{chunk-6CWB4N22.js → chunk-Q27OF5NJ.js} +2 -2
  499. package/__chunks__/{chunk-7OUOFEP7.js → chunk-Q5PQNY6I.js} +2 -2
  500. package/__chunks__/{chunk-AXYOTXTB.js → chunk-Q6M6TLC4.js} +2 -2
  501. package/__chunks__/{chunk-PCEQPMCW.js → chunk-QDXTRY6V.js} +2 -2
  502. package/__chunks__/{chunk-TESWZDVO.js → chunk-QFXI2FEW.js} +2 -2
  503. package/__chunks__/{chunk-R5WTDDW4.js → chunk-QFYSEJLR.js} +2 -2
  504. package/__chunks__/{chunk-CHSTNX5V.js → chunk-QGWHDHAY.js} +2 -2
  505. package/__chunks__/chunk-QSYQ7OPK.js +2 -0
  506. package/__chunks__/{chunk-L3DRRNVY.js → chunk-QVPUDPS2.js} +2 -2
  507. package/__chunks__/{chunk-N4XG5O5Q.js → chunk-QWFSNVU2.js} +2 -2
  508. package/__chunks__/{chunk-25224BYA.js → chunk-QYWYIZ6J.js} +1 -1
  509. package/__chunks__/{chunk-CWWYFBDN.js → chunk-RATNXNI5.js} +2 -2
  510. package/__chunks__/{chunk-5B7COVPQ.js → chunk-RDXITJX4.js} +2 -2
  511. package/__chunks__/{chunk-NTRWO4ZZ.js → chunk-REHHHVIW.js} +2 -2
  512. package/__chunks__/{chunk-PWDWH2HO.js → chunk-RJJPSWQ4.js} +2 -2
  513. package/__chunks__/{chunk-XHGLFQMK.js → chunk-RMIP35GK.js} +2 -2
  514. package/__chunks__/chunk-RRJNG4DW.js +2 -0
  515. package/__chunks__/{chunk-EKBFVOH2.js → chunk-RUIB4DCQ.js} +2 -2
  516. package/__chunks__/{chunk-25WD44IY.js → chunk-RX4ASQO3.js} +2 -2
  517. package/__chunks__/{chunk-N2GSK6CG.js → chunk-RX7W3RZF.js} +2 -2
  518. package/__chunks__/chunk-S6M2NPJ3.js +2 -0
  519. package/__chunks__/{chunk-RMLMANBO.js → chunk-SHH4WAFT.js} +2 -2
  520. package/__chunks__/{chunk-D3ZWRGJ5.js → chunk-SHQA43ST.js} +2 -2
  521. package/__chunks__/{chunk-V4EPMQXC.js → chunk-SI2HYIUQ.js} +2 -2
  522. package/__chunks__/{chunk-HDPAE5QJ.js → chunk-SQDSPOKP.js} +2 -2
  523. package/__chunks__/{chunk-CVPV6URM.js → chunk-SS6Z44Q5.js} +2 -2
  524. package/__chunks__/chunk-SSFXKM7O.js +2 -0
  525. package/__chunks__/{chunk-FFL2VYJQ.js → chunk-SYSIYGJW.js} +2 -2
  526. package/__chunks__/{chunk-E2RMQWGG.js → chunk-T5KD7KMU.js} +2 -2
  527. package/__chunks__/chunk-T63XMEJP.js +2 -0
  528. package/__chunks__/chunk-THU73BSX.js +2 -0
  529. package/__chunks__/{chunk-PRQXTXJ7.js → chunk-TI73OMS7.js} +2 -2
  530. package/__chunks__/{chunk-3BGB4UFD.js → chunk-TKRVCGIV.js} +2 -2
  531. package/__chunks__/chunk-TRZKVX3B.js +2 -0
  532. package/__chunks__/chunk-TUVOQCOS.js +2 -0
  533. package/__chunks__/{chunk-NEK6AS2M.js → chunk-TV7FO7UX.js} +2 -2
  534. package/__chunks__/{chunk-L46WJQL6.js → chunk-TWMZFPZL.js} +2 -2
  535. package/__chunks__/{chunk-XJKNGYY6.js → chunk-TYH24JTR.js} +2 -2
  536. package/__chunks__/{chunk-E2QYOZTD.js → chunk-TZJBUFKB.js} +2 -2
  537. package/__chunks__/{chunk-WW7P3VC4.js → chunk-TZOGN2SQ.js} +2 -2
  538. package/__chunks__/{chunk-CJDSZZZW.js → chunk-U23UOGEF.js} +2 -2
  539. package/__chunks__/{chunk-MBO2452D.js → chunk-U43XJEFO.js} +2 -2
  540. package/__chunks__/{chunk-S4VAA3K6.js → chunk-U4MHHFTC.js} +2 -2
  541. package/__chunks__/{chunk-5P3RTEFT.js → chunk-UCTZLH5U.js} +2 -2
  542. package/__chunks__/{chunk-NBAYQG5H.js → chunk-UEJAA3YB.js} +2 -2
  543. package/__chunks__/{chunk-BYNDMMFE.js → chunk-UEK73MZ7.js} +2 -2
  544. package/__chunks__/{chunk-UB2WM7HO.js → chunk-UFGTKOVO.js} +2 -2
  545. package/__chunks__/chunk-UGJZOET7.js +2 -0
  546. package/__chunks__/{chunk-7QWV2XMI.js → chunk-UK5HNYKN.js} +2 -2
  547. package/__chunks__/chunk-UOP4UWP5.js +2 -0
  548. package/__chunks__/chunk-UP2LLWD7.js +2 -0
  549. package/__chunks__/{chunk-5NXEREAL.js → chunk-UTAMUPGQ.js} +2 -2
  550. package/__chunks__/{chunk-N4KCMGOW.js → chunk-UTXIKAHE.js} +2 -2
  551. package/__chunks__/{chunk-D3PWFDCF.js → chunk-UW2KJATA.js} +2 -2
  552. package/__chunks__/chunk-UY3NSULC.js +2 -0
  553. package/__chunks__/{chunk-36OAPZC2.js → chunk-V5PHYVQ2.js} +2 -2
  554. package/__chunks__/{chunk-YPTPL552.js → chunk-V6RAHCWS.js} +2 -2
  555. package/__chunks__/{chunk-XWNDHDX4.js → chunk-VEIIUDNH.js} +2 -2
  556. package/__chunks__/{chunk-FS4SIK7V.js → chunk-VFVNMA34.js} +2 -2
  557. package/__chunks__/{chunk-ACQWHZKS.js → chunk-VQ2Z72MK.js} +2 -2
  558. package/__chunks__/{chunk-5RSA4N2E.js → chunk-VUVDDHOP.js} +2 -2
  559. package/__chunks__/{chunk-MZ55YJAE.js → chunk-VYBL4INT.js} +2 -2
  560. package/__chunks__/{chunk-FN3VUN4R.js → chunk-W7BUK3NS.js} +2 -2
  561. package/__chunks__/chunk-W7SNPBWC.js +2 -0
  562. package/__chunks__/{chunk-7565LO2R.js → chunk-WD6IKSDA.js} +2 -2
  563. package/__chunks__/chunk-WGEIO5X5.js +2 -0
  564. package/__chunks__/{chunk-26PIKYNK.js → chunk-WHGLHDGO.js} +2 -2
  565. package/__chunks__/chunk-WIJTV27R.js +2 -0
  566. package/__chunks__/{chunk-OXGK3MCE.js → chunk-WMSR43W3.js} +2 -2
  567. package/__chunks__/{chunk-SWDA7BXJ.js → chunk-WONQPXTH.js} +2 -2
  568. package/__chunks__/chunk-WSNQ46QW.js +2 -0
  569. package/__chunks__/{chunk-7IEXZO37.js → chunk-WUQXMLZX.js} +2 -2
  570. package/__chunks__/{chunk-OSUM2E2Z.js → chunk-X4M6GZI7.js} +2 -2
  571. package/__chunks__/{chunk-5DPFBOCN.js → chunk-X57I2LYP.js} +2 -2
  572. package/__chunks__/{chunk-Z3DC4QWG.js → chunk-X76LCIJV.js} +2 -2
  573. package/__chunks__/{chunk-X2BPFV4M.js → chunk-XEDIB622.js} +2 -2
  574. package/__chunks__/chunk-XLP2Z2JW.js +2 -0
  575. package/__chunks__/chunk-XLX7KQKE.js +2 -0
  576. package/__chunks__/{chunk-G62LHBJL.js → chunk-XOV6EUZ4.js} +2 -2
  577. package/__chunks__/{chunk-L5PEKVBN.js → chunk-XRA32HHJ.js} +2 -2
  578. package/__chunks__/{chunk-7X5Q43ZB.js → chunk-XUMGQWAR.js} +2 -2
  579. package/__chunks__/chunk-XUQPCYXU.js +2 -0
  580. package/__chunks__/{chunk-5AWNQ57V.js → chunk-Y3X56YEG.js} +2 -2
  581. package/__chunks__/{chunk-WC7GDILD.js → chunk-Y4I4NEQE.js} +2 -2
  582. package/__chunks__/{chunk-D6WQMOLN.js → chunk-Y6UL7MGM.js} +2 -2
  583. package/__chunks__/{chunk-IRI7V62E.js → chunk-Y7OKYENZ.js} +2 -2
  584. package/__chunks__/{chunk-T6EOAWGG.js → chunk-YFCVCWQO.js} +2 -2
  585. package/__chunks__/{chunk-I3AIXHPJ.js → chunk-YG3WSXJN.js} +2 -2
  586. package/__chunks__/{chunk-KYII5HN2.js → chunk-YHSDJ5V7.js} +2 -2
  587. package/__chunks__/{chunk-CUMZS4TT.js → chunk-YL46XNUZ.js} +2 -2
  588. package/__chunks__/{chunk-ATMAQCWS.js → chunk-YOIARGLW.js} +2 -2
  589. package/__chunks__/chunk-YPLX5JAZ.js +2 -0
  590. package/__chunks__/{chunk-O3AUC2EL.js → chunk-YSQ5SVDE.js} +2 -2
  591. package/__chunks__/{chunk-SQWYTULI.js → chunk-YWU4TLKM.js} +2 -2
  592. package/__chunks__/{chunk-67CUPMIH.js → chunk-YZO74UN3.js} +2 -2
  593. package/__chunks__/chunk-YZTHOTO6.js +2 -0
  594. package/__chunks__/{chunk-OIJAJXR6.js → chunk-Z2I3DGL2.js} +2 -2
  595. package/__chunks__/{chunk-ED6CHDA6.js → chunk-Z4POFG7D.js} +2 -2
  596. package/__chunks__/{chunk-M7LTJZ4W.js → chunk-Z6BL5NID.js} +2 -2
  597. package/__chunks__/chunk-Z6O7MCB6.js +2 -0
  598. package/__chunks__/{chunk-EMZ3BCFI.js → chunk-Z75D4LKQ.js} +2 -2
  599. package/__chunks__/{chunk-ESLG35LF.js → chunk-Z7IH662I.js} +2 -2
  600. package/__chunks__/{chunk-UH5C2R46.js → chunk-ZB5L2AWQ.js} +2 -2
  601. package/__chunks__/{chunk-RWBQT444.js → chunk-ZEVIVJDC.js} +2 -2
  602. package/__chunks__/chunk-ZKVHGICZ.js +2 -0
  603. package/__chunks__/{chunk-T6MOEN4K.js → chunk-ZLL3JFMR.js} +2 -2
  604. package/__chunks__/{chunk-FLEWPR7S.js → chunk-ZMTTP7AM.js} +2 -2
  605. package/__chunks__/chunk-ZNXDRWE6.js +2 -0
  606. package/__chunks__/chunk-ZR5RV5V7.js +2 -0
  607. package/__chunks__/{chunk-UEVKCJI7.js → chunk-ZSDZL5TO.js} +2 -2
  608. package/__chunks__/{chunk-AO7XJJ4T.js → chunk-ZTJGIKMJ.js} +2 -2
  609. package/__chunks__/{chunk-UAHN74YA.js → chunk-ZTO3IFCZ.js} +2 -2
  610. package/__chunks__/{chunk-6FHLIUDC.js → chunk-ZUYSENTZ.js} +2 -2
  611. package/__chunks__/{chunk-ID5PBWOV.js → chunk-ZXRA4FPU.js} +2 -2
  612. package/__chunks__/{chunk-MVK7OVB5.js → chunk-ZXZSKUYG.js} +2 -2
  613. package/__chunks__/{chunk-CS73QV34.js → chunk-ZYP6MLKS.js} +2 -2
  614. package/__chunks__/{chunk-CJS5LCZT.js → chunk-ZZXWU46M.js} +2 -2
  615. package/__commonjs/UI/SignTransactionsModals/SignTransactionsModals.js +23 -23
  616. package/__commonjs/UI/SignTransactionsModals/SignWithCrossWindowWalletModal/SignWithCrossWindowWalletModal.js +3 -3
  617. package/__commonjs/UI/SignTransactionsModals/SignWithCrossWindowWalletModal/index.js +3 -3
  618. package/__commonjs/UI/SignTransactionsModals/SignWithDeviceModal/SignStep.js +6 -6
  619. package/__commonjs/UI/SignTransactionsModals/SignWithDeviceModal/SignWithDeviceModal.js +3 -3
  620. package/__commonjs/UI/SignTransactionsModals/SignWithDeviceModal/index.js +3 -3
  621. package/__commonjs/UI/SignTransactionsModals/SignWithExtraModal/SignWithExtraModal.js +1 -1
  622. package/__commonjs/UI/SignTransactionsModals/SignWithExtraModal/index.js +1 -1
  623. package/__commonjs/UI/SignTransactionsModals/SignWithIFrameModal/SignWithIFrameModal.js +3 -3
  624. package/__commonjs/UI/SignTransactionsModals/SignWithIFrameModal/index.js +3 -3
  625. package/__commonjs/UI/SignTransactionsModals/SignWithLedgerModal/SignWithLedgerModal.js +2 -2
  626. package/__commonjs/UI/SignTransactionsModals/SignWithLedgerModal/index.js +2 -2
  627. package/__commonjs/UI/SignTransactionsModals/components/ConfirmationScreen.js +2 -2
  628. package/__commonjs/UI/SignTransactionsModals/components/DeviceConfirmationScreen.js +3 -3
  629. package/__commonjs/UI/SignTransactionsModals/components/index.js +2 -2
  630. package/__commonjs/UI/SignTransactionsModals/index.js +23 -23
  631. package/__commonjs/UI/TransactionInfo/components/AddressDetailItem/AddressDetailitem.js +3 -3
  632. package/__commonjs/UI/TransactionInfo/components/AddressDetailItem/index.js +3 -3
  633. package/__commonjs/UI/TransactionInfo/components/NonceMessage/NonceMessage.js +3 -3
  634. package/__commonjs/UI/TransactionInfo/components/NonceMessage/index.js +3 -3
  635. package/__commonjs/UI/TransactionInfo/components/OperationsList/components/OperationRow.js +11 -11
  636. package/__commonjs/UI/TransactionInfo/components/OperationsList/components/index.js +11 -11
  637. package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoNonce/TransactionInfoNonce.js +3 -3
  638. package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoNonce/index.js +3 -3
  639. package/__commonjs/UI/TransactionsTable/components/AccountName.js +3 -3
  640. package/__commonjs/UI/TransactionsTable/components/TransactionHash.js +15 -15
  641. package/__commonjs/UI/TransactionsTable/components/TransactionMethod.js +2 -2
  642. package/__commonjs/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/components/TransactionToastFooter.js +6 -6
  643. package/__commonjs/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/components/index.js +7 -7
  644. package/__commonjs/UI/index.js +79 -79
  645. package/__commonjs/UI/ledger/LedgerLoginButton/LedgerLoginButton.js +10 -10
  646. package/__commonjs/UI/ledger/LedgerLoginButton/index.js +10 -10
  647. package/__commonjs/UI/ledger/index.js +8 -8
  648. package/__commonjs/UI/walletConnect/WalletConnectConnectionStatus/WalletConnectConnectionStatus.js +2 -2
  649. package/__commonjs/UI/walletConnect/WalletConnectConnectionStatus/index.js +2 -2
  650. package/__commonjs/UI/walletConnect/WalletConnectLoginButton/WalletConnectLoginButton.js +3 -3
  651. package/__commonjs/UI/walletConnect/WalletConnectLoginButton/index.js +3 -3
  652. package/__commonjs/UI/walletConnect/WalletConnectLoginContainer/WalletConnectLoginContent/WalletConnectLoginContent.js +5 -5
  653. package/__commonjs/UI/walletConnect/WalletConnectLoginContainer/WalletConnectLoginContent/index.js +5 -5
  654. package/__commonjs/UI/walletConnect/index.js +3 -3
  655. package/__commonjs/UI/webWallet/XaliasCrossWindowLoginButton/XaliasCrossWindowLoginButton.js +2 -2
  656. package/__commonjs/UI/webWallet/XaliasCrossWindowLoginButton/index.js +2 -2
  657. package/__commonjs/__mocks__/index.js +2 -2
  658. package/__commonjs/__mocks__/utils/index.js +1 -1
  659. package/__commonjs/__mocks__/utils/renderWithProvider.js +1 -1
  660. package/__commonjs/apiCalls/configuration/getServerConfigurationForEnvironment.js +1 -1
  661. package/__commonjs/components/LogoutListener/helpers/useNativeAuthLogout.js +3 -3
  662. package/__commonjs/components/ProviderInitializer/ProviderInitializer.js +1 -1
  663. package/__commonjs/components/ProviderInitializer/index.js +1 -1
  664. package/__commonjs/hooks/index.js +3 -3
  665. package/__commonjs/hooks/login/useWalletConnectV2Login.js +1 -1
  666. package/__commonjs/hooks/login/useWebWalletLogin.js +1 -1
  667. package/__commonjs/hooks/transactions/batch/useGetBatches.js +1 -1
  668. package/__commonjs/hooks/transactions/helpers/checkNeedsGuardianSigning.js +1 -1
  669. package/__commonjs/hooks/transactions/helpers/index.js +1 -1
  670. package/__commonjs/hooks/transactions/helpers/useClearTransactionsToSignWithWarning.js +1 -1
  671. package/__commonjs/hooks/transactions/index.js +1 -1
  672. package/__commonjs/hooks/transactions/useSignMultipleTransactions.js +1 -1
  673. package/__commonjs/hooks/transactions/useSignTransactions.js +1 -1
  674. package/__commonjs/hooks/transactions/useSignTransactionsCommonData.js +1 -1
  675. package/__commonjs/hooks/transactions/useSignTransactionsWithDevice.js +1 -1
  676. package/__commonjs/hooks/transactions/useSignTransactionsWithLedger.js +1 -1
  677. package/__commonjs/providers/experimentalWebViewProvider/ExperimentalWebviewProvider.js +1 -1
  678. package/__commonjs/providers/experimentalWebViewProvider/index.js +1 -1
  679. package/__commonjs/types/transactions.types.d.ts +4 -0
  680. package/__commonjs/types/transactions.types.js +1 -1
  681. package/__commonjs/utils/account/getIsProviderEqualTo.js +1 -1
  682. package/__commonjs/utils/index.js +1 -1
  683. package/__commonjs/utils/transactions/builtCallbackUrl.js +1 -1
  684. package/__commonjs/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/getTransactionValue.js +1 -1
  685. package/__commonjs/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/index.js +1 -1
  686. package/__commonjs/utils/transactions/index.js +1 -1
  687. package/__commonjs/utils/transactions/parseMultiEsdtTransferData.js +1 -1
  688. package/__commonjs/utils/transactions/parseMultiEsdtTransferDataForMultipleTransactions.js +1 -1
  689. package/__commonjs/utils/transactions/transactionInfoHelpers/decodeForDisplay/decodeForDisplay.js +1 -1
  690. package/__commonjs/utils/transactions/transactionInfoHelpers/decodeForDisplay/helpers/getDisplayValueAndValidationWarnings.js +1 -1
  691. package/__commonjs/utils/transactions/transactionInfoHelpers/decodeForDisplay/helpers/getSmartDecodedParts.js +1 -1
  692. package/__commonjs/utils/transactions/transactionInfoHelpers/decodeForDisplay/helpers/index.js +1 -1
  693. package/__commonjs/utils/transactions/transactionInfoHelpers/decodeForDisplay/index.js +1 -1
  694. package/__commonjs/utils/transactions/transactionInfoHelpers/getTransactionActionNftText.js +1 -1
  695. package/__commonjs/utils/transactions/transactionInfoHelpers/index.js +2 -2
  696. package/__commonjs/utils/transactions/transactionInfoHelpers/useDataDecode.js +2 -2
  697. package/__commonjs/wrappers/DappProvider/DappProvider.js +1 -1
  698. package/__commonjs/wrappers/DappProvider/index.js +1 -1
  699. package/__commonjs/wrappers/index.js +3 -3
  700. package/__mocks__/accountConfig.js +1 -1
  701. package/__mocks__/index.js +1 -1
  702. package/__mocks__/server.js +1 -1
  703. package/__mocks__/utils/index.js +1 -1
  704. package/__mocks__/utils/renderWithProvider.js +1 -1
  705. package/apiCalls/accounts/getAccountFromApi.js +1 -1
  706. package/apiCalls/accounts/index.js +1 -1
  707. package/apiCalls/accounts/useGetAccountFromApi.js +1 -1
  708. package/apiCalls/configuration/getApiAddressForChainId.js +1 -1
  709. package/apiCalls/configuration/getEnvironmentForChainId.js +1 -1
  710. package/apiCalls/configuration/getNetworkConfig.js +1 -1
  711. package/apiCalls/configuration/getServerConfigurationForEnvironment.js +1 -1
  712. package/apiCalls/configuration/index.js +1 -1
  713. package/apiCalls/configuration/useGetNetworkConfigFromApi.js +1 -1
  714. package/apiCalls/configuration/useGetServerConfigurationFromApi.js +1 -1
  715. package/apiCalls/economics/getEconomicsInfo.js +1 -1
  716. package/apiCalls/economics/index.js +1 -1
  717. package/apiCalls/economics/useGetEconomicsInfoFromApi.js +1 -1
  718. package/apiCalls/index.js +1 -1
  719. package/apiCalls/transactions/getTransactionsByHashes.js +1 -1
  720. package/apiCalls/transactions/index.js +1 -1
  721. package/apiCalls/transactions/sendSignedBatchTransactions.js +1 -1
  722. package/apiCalls/transactions/sendSignedTransactions.js +1 -1
  723. package/apiCalls/transactions/useGetTransactionsFromApi.js +1 -1
  724. package/apiCalls/utils/getCleanApiAddress.js +1 -1
  725. package/apiCalls/utils/getScamAddressData.js +1 -1
  726. package/apiCalls/utils/index.js +1 -1
  727. package/apiCalls/utils/useApiFetch.js +1 -1
  728. package/components/LogoutListener/LogoutListener.js +1 -1
  729. package/components/LogoutListener/helpers/index.js +1 -1
  730. package/components/LogoutListener/helpers/useLogoutFromMultipleTabs.js +1 -1
  731. package/components/LogoutListener/helpers/useNativeAuthLogout.js +1 -1
  732. package/components/LogoutListener/helpers/useNativeAuthLogoutWarning/index.js +1 -1
  733. package/components/LogoutListener/helpers/useNativeAuthLogoutWarning/useNativeAuthLogoutWarning.js +1 -1
  734. package/components/LogoutListener/index.js +1 -1
  735. package/components/ProviderInitializer/ProviderInitializer.js +1 -1
  736. package/components/ProviderInitializer/helpers/index.js +1 -1
  737. package/components/ProviderInitializer/helpers/processModifiedAccount.js +1 -1
  738. package/components/ProviderInitializer/hooks/index.js +1 -1
  739. package/components/ProviderInitializer/hooks/useSetLedgerProvider.js +1 -1
  740. package/components/ProviderInitializer/index.js +1 -1
  741. package/components/TransactionSender/TransactionSender.js +1 -1
  742. package/components/TransactionSender/index.js +1 -1
  743. package/components/TransactionSender/utils/handleSendBatchTransactionsErrors.js +1 -1
  744. package/components/TransactionSender/utils/handleSendTransactionsErrors.js +1 -1
  745. package/components/TransactionSender/utils/invokeSendTransactions.js +1 -1
  746. package/components/TransactionsTracker/TransactionTracker.js +1 -1
  747. package/components/TransactionsTracker/index.js +1 -1
  748. package/constants/index.js +1 -1
  749. package/constants/network.js +1 -1
  750. package/hooks/account/index.js +1 -1
  751. package/hooks/account/useGetAccount.js +1 -1
  752. package/hooks/account/useGetAccountInfo.js +1 -1
  753. package/hooks/account/useGetAccountProvider.js +1 -1
  754. package/hooks/account/useGetBatchWebsocketEvent.js +1 -1
  755. package/hooks/account/useGetIsLoggedIn.js +1 -1
  756. package/hooks/account/useGetIsWalletConnectV2Initialized.js +1 -1
  757. package/hooks/account/useGetLoginInfo.js +1 -1
  758. package/hooks/account/useGetWebsocketEvent.js +1 -1
  759. package/hooks/economics/index.js +1 -1
  760. package/hooks/economics/useGetEgldPrice.js +1 -1
  761. package/hooks/index.js +1 -1
  762. package/hooks/login/index.js +1 -1
  763. package/hooks/login/useCrossWindowLogin.js +1 -1
  764. package/hooks/login/useExtensionLogin.js +1 -1
  765. package/hooks/login/useGetModalLoginMethods.js +1 -1
  766. package/hooks/login/useIFrameLogin.js +1 -1
  767. package/hooks/login/useLedgerLogin.js +1 -1
  768. package/hooks/login/useLoginService.js +1 -1
  769. package/hooks/login/useMetamaskLogin.js +1 -1
  770. package/hooks/login/useOperaLogin.js +1 -1
  771. package/hooks/login/useWalletConnectV2Login.js +1 -1
  772. package/hooks/login/useWebViewLogin.js +1 -1
  773. package/hooks/login/useWebWalletLogin.js +1 -1
  774. package/hooks/login/useXaliasLogin.js +1 -1
  775. package/hooks/signMessage/index.js +1 -1
  776. package/hooks/signMessage/useGetLastSignedMessageSession.js +1 -1
  777. package/hooks/signMessage/useGetSignMessageSession.js +1 -1
  778. package/hooks/signMessage/useGetSignedMessageStatus.js +1 -1
  779. package/hooks/signMessage/useSignMessage.js +1 -1
  780. package/hooks/toasts/index.js +1 -1
  781. package/hooks/toasts/useGetToasts.js +1 -1
  782. package/hooks/toasts/useTransactionsToasts.js +1 -1
  783. package/hooks/transactions/batch/tracker/useBatchTransactionsTracker.js +1 -1
  784. package/hooks/transactions/batch/tracker/useCheckBatch.js +1 -1
  785. package/hooks/transactions/batch/tracker/useCheckBatchesOnWsFailureFallback.js +1 -1
  786. package/hooks/transactions/batch/tracker/useCheckHangingBatchesFallback.js +1 -1
  787. package/hooks/transactions/batch/tracker/useUpdateBatch.js +1 -1
  788. package/hooks/transactions/batch/tracker/useVerifyBatchStatus.js +1 -1
  789. package/hooks/transactions/batch/useGetBatchStatus.js +1 -1
  790. package/hooks/transactions/batch/useGetBatches.js +1 -1
  791. package/hooks/transactions/batch/useResolveBatchStatusResponse.js +1 -1
  792. package/hooks/transactions/batch/useSendBatchTransactions.js +1 -1
  793. package/hooks/transactions/helpers/buildBatchId.js +1 -1
  794. package/hooks/transactions/helpers/checkNeedsGuardianSigning.js +1 -1
  795. package/hooks/transactions/helpers/extractSessionId.js +1 -1
  796. package/hooks/transactions/helpers/getShouldMoveTransactionsToSignedState.js +1 -1
  797. package/hooks/transactions/helpers/index.js +1 -1
  798. package/hooks/transactions/helpers/useClearTransactionsToSignWithWarning.js +1 -1
  799. package/hooks/transactions/helpers/useGetLedgerProvider.js +1 -1
  800. package/hooks/transactions/helpers/useSetTransactionNonces.js +1 -1
  801. package/hooks/transactions/index.js +1 -1
  802. package/hooks/transactions/useCancelWalletConnectAction.js +1 -1
  803. package/hooks/transactions/useCheckTransactionStatus/checkBatch.js +1 -1
  804. package/hooks/transactions/useCheckTransactionStatus/index.js +1 -1
  805. package/hooks/transactions/useCheckTransactionStatus/manageFailedTransactions.js +1 -1
  806. package/hooks/transactions/useCheckTransactionStatus/manageTimedOutTransactions.js +1 -1
  807. package/hooks/transactions/useCheckTransactionStatus/useCheckTransactionStatus.js +1 -1
  808. package/hooks/transactions/useGetActiveTransactionsStatus.js +1 -1
  809. package/hooks/transactions/useGetFailedTransactions.js +1 -1
  810. package/hooks/transactions/useGetLastPendingTransactionHash.js +1 -1
  811. package/hooks/transactions/useGetPendingTransactions.js +1 -1
  812. package/hooks/transactions/useGetPollingInterval.js +1 -1
  813. package/hooks/transactions/useGetSignTransactionsError.js +1 -1
  814. package/hooks/transactions/useGetSignedTransactions.js +1 -1
  815. package/hooks/transactions/useGetSuccessfulTransactions.js +1 -1
  816. package/hooks/transactions/useGetTokenDetails.js +1 -1
  817. package/hooks/transactions/useGetTransactionDisplayInfo.js +1 -1
  818. package/hooks/transactions/useParseMultiEsdtTransferData.js +1 -1
  819. package/hooks/transactions/useParseSignedTransactions.js +1 -1
  820. package/hooks/transactions/useSignMultipleTransactions.js +1 -1
  821. package/hooks/transactions/useSignTransactions.js +1 -1
  822. package/hooks/transactions/useSignTransactionsCommonData.js +1 -1
  823. package/hooks/transactions/useSignTransactionsWithDevice.js +1 -1
  824. package/hooks/transactions/useSignTransactionsWithLedger.js +1 -1
  825. package/hooks/transactions/useTrackTransactionStatus.js +1 -1
  826. package/hooks/transactions/useTransactionsTracker.js +1 -1
  827. package/hooks/useGetNetworkConfig.js +1 -1
  828. package/hooks/useGetNotification.js +1 -1
  829. package/hooks/websocketListener/index.js +1 -1
  830. package/hooks/websocketListener/useInitializeWebsocketConnection.js +1 -1
  831. package/hooks/websocketListener/useRegisterWebsocketListener.js +1 -1
  832. package/models/index.js +1 -1
  833. package/models/newTransaction.js +1 -1
  834. package/package.json +2 -2
  835. package/providers/accountProvider.js +1 -1
  836. package/providers/experimentalWebViewProvider/ExperimentalWebviewProvider.js +1 -1
  837. package/providers/experimentalWebViewProvider/index.js +1 -1
  838. package/providers/index.js +1 -1
  839. package/providers/utils.js +1 -1
  840. package/providers/webviewProvider/index.js +1 -1
  841. package/providers/webviewProvider/requestMethods.js +1 -1
  842. package/providers/webviewProvider/webviewProvider.js +1 -1
  843. package/reduxStore/DappProviderContext.js +1 -1
  844. package/reduxStore/commonActions.js +1 -1
  845. package/reduxStore/middlewares/loginSessionMiddleware.js +1 -1
  846. package/reduxStore/persistConfig.js +1 -1
  847. package/reduxStore/persistedRootReducer.js +1 -1
  848. package/reduxStore/reducers.js +1 -1
  849. package/reduxStore/rootReducer.js +1 -1
  850. package/reduxStore/selectors/accountInfoSelectors.js +1 -1
  851. package/reduxStore/selectors/index.js +1 -1
  852. package/reduxStore/selectors/loginInfoSelectors.js +1 -1
  853. package/reduxStore/selectors/transactionsInfoSelectors.js +1 -1
  854. package/reduxStore/selectors/transactionsSelectors.js +1 -1
  855. package/reduxStore/slices/accountInfoSlice.js +1 -1
  856. package/reduxStore/slices/batchTransactionsSlice.js +1 -1
  857. package/reduxStore/slices/dappConfigSlice.js +1 -1
  858. package/reduxStore/slices/index.js +1 -1
  859. package/reduxStore/slices/loginInfoSlice.js +1 -1
  860. package/reduxStore/slices/modalsSlice.js +1 -1
  861. package/reduxStore/slices/networkConfigSlice.js +1 -1
  862. package/reduxStore/slices/signedMessageInfoSlice.js +1 -1
  863. package/reduxStore/slices/toastsSlice.js +1 -1
  864. package/reduxStore/slices/transactionsInfoSlice.js +1 -1
  865. package/reduxStore/slices/transactionsSlice.js +1 -1
  866. package/reduxStore/store.js +1 -1
  867. package/services/index.js +1 -1
  868. package/services/nativeAuth/helpers/getAuthorizationInfo.js +1 -1
  869. package/services/nativeAuth/helpers/getIsNativeAuthSingingForbidden.js +1 -1
  870. package/services/nativeAuth/helpers/index.js +1 -1
  871. package/services/nativeAuth/helpers/loginWithNativeAuthToken.js +1 -1
  872. package/services/transactions/clearTransactions.js +1 -1
  873. package/services/transactions/getBatchTransactionsStatus.js +1 -1
  874. package/services/transactions/getTransactionsDetails.js +1 -1
  875. package/services/transactions/index.js +1 -1
  876. package/services/transactions/isCrossShardTransaction.js +1 -1
  877. package/services/transactions/sendBatchTransactions.js +1 -1
  878. package/services/transactions/sendBatchTransactions.test.js +1 -1
  879. package/services/transactions/sendTransactions.js +1 -1
  880. package/services/transactions/signTransactions.js +1 -1
  881. package/services/transactions/transformAndSignTransactions.js +1 -1
  882. package/services/transactions/updateSignedTransactions.js +1 -1
  883. package/services/transactions/utils/transformTransactionsToSign.js +1 -1
  884. package/services/transactions/utils.js +1 -1
  885. package/types/index.js +1 -1
  886. package/types/transactions.types.d.ts +4 -0
  887. package/types/transactions.types.js +1 -1
  888. package/utils/account/getAccount.js +1 -1
  889. package/utils/account/getAccountBalance.js +1 -1
  890. package/utils/account/getAccountProviderType.js +1 -1
  891. package/utils/account/getAccountShard.js +1 -1
  892. package/utils/account/getAddress.js +1 -1
  893. package/utils/account/getIsProviderEqualTo.js +1 -1
  894. package/utils/account/getLatestNonce.js +1 -1
  895. package/utils/account/getShardOfAddress.js +1 -1
  896. package/utils/account/getWebviewToken.js +1 -1
  897. package/utils/account/index.js +1 -1
  898. package/utils/account/loginWithExternalProvider.js +1 -1
  899. package/utils/account/refreshAccount.js +1 -1
  900. package/utils/account/setNonce.js +1 -1
  901. package/utils/account/signMessage.js +1 -1
  902. package/utils/getIsLoggedIn.js +1 -1
  903. package/utils/index.js +1 -1
  904. package/utils/logout.js +1 -1
  905. package/utils/network/getChainID.js +1 -1
  906. package/utils/network/getEgldLabel.js +1 -1
  907. package/utils/network/getNetworkConfig.js +1 -1
  908. package/utils/network/index.js +1 -1
  909. package/utils/operations/calculateFeeInFiat.js +1 -1
  910. package/utils/operations/calculateFeeLimit.js +1 -1
  911. package/utils/operations/denominate.js +1 -1
  912. package/utils/operations/formatAmount.js +1 -1
  913. package/utils/operations/index.js +1 -1
  914. package/utils/operations/ledger/getLedgerVersionOptions.js +1 -1
  915. package/utils/operations/ledger/index.js +1 -1
  916. package/utils/operations/nominate.js +1 -1
  917. package/utils/operations/parseAmount.js +1 -1
  918. package/utils/smartContracts.js +1 -1
  919. package/utils/toasts/customToastsActions.js +1 -1
  920. package/utils/toasts/index.js +1 -1
  921. package/utils/transactions/batch/getTransactionsStatus.js +1 -1
  922. package/utils/transactions/batch/updateBatchTransactionsStatuses.js +1 -1
  923. package/utils/transactions/builtCallbackUrl.js +1 -1
  924. package/utils/transactions/getAllTransactionsLink.js +1 -1
  925. package/utils/transactions/getAreTransactionsOnSameShard.js +1 -1
  926. package/utils/transactions/getInterpretedTransaction/getInterpretedTransaction.js +1 -1
  927. package/utils/transactions/getInterpretedTransaction/helpers/getReceiptMessage.js +1 -1
  928. package/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/getTransactionValue.js +1 -1
  929. package/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/helpers/getEgldValueData.js +1 -1
  930. package/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/helpers/getTitleText.js +1 -1
  931. package/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/helpers/getValueFromActions.js +1 -1
  932. package/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/helpers/getValueFromDataField.js +1 -1
  933. package/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/helpers/getValueFromOperations.js +1 -1
  934. package/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/helpers/index.js +1 -1
  935. package/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/index.js +1 -1
  936. package/utils/transactions/getInterpretedTransaction/helpers/index.js +1 -1
  937. package/utils/transactions/getInterpretedTransaction/index.js +1 -1
  938. package/utils/transactions/getOperationsDetails.js +1 -1
  939. package/utils/transactions/getTransactionLink.js +1 -1
  940. package/utils/transactions/index.js +1 -1
  941. package/utils/transactions/isGuardianTx.js +1 -1
  942. package/utils/transactions/parseMultiEsdtTransferData.js +1 -1
  943. package/utils/transactions/parseMultiEsdtTransferDataForMultipleTransactions.js +1 -1
  944. package/utils/transactions/parseTransactionAfterSigning.js +1 -1
  945. package/utils/transactions/removeTransactionParamsFromUrl.js +1 -1
  946. package/utils/transactions/transactionInfoHelpers/decodeForDisplay/decodeForDisplay.js +1 -1
  947. package/utils/transactions/transactionInfoHelpers/decodeForDisplay/helpers/getDisplayValueAndValidationWarnings.js +1 -1
  948. package/utils/transactions/transactionInfoHelpers/decodeForDisplay/helpers/getSmartDecodedParts.js +1 -1
  949. package/utils/transactions/transactionInfoHelpers/decodeForDisplay/helpers/index.js +1 -1
  950. package/utils/transactions/transactionInfoHelpers/decodeForDisplay/index.js +1 -1
  951. package/utils/transactions/transactionInfoHelpers/getScResultsInitialDecodeMethod.js +1 -1
  952. package/utils/transactions/transactionInfoHelpers/getShardText.js +1 -1
  953. package/utils/transactions/transactionInfoHelpers/getTransactionActionNftText.js +1 -1
  954. package/utils/transactions/transactionInfoHelpers/getTransactionActionTokenText.js +1 -1
  955. package/utils/transactions/transactionInfoHelpers/getTransactionLinkWithLabel.js +1 -1
  956. package/utils/transactions/transactionInfoHelpers/getTransactionMessages.js +1 -1
  957. package/utils/transactions/transactionInfoHelpers/index.js +1 -1
  958. package/utils/transactions/transactionInfoHelpers/transactionActionUnwrapper/helpers/index.js +1 -1
  959. package/utils/transactions/transactionInfoHelpers/transactionActionUnwrapper/helpers/mexUnwrapper.js +1 -1
  960. package/utils/transactions/transactionInfoHelpers/transactionActionUnwrapper/index.js +1 -1
  961. package/utils/transactions/transactionInfoHelpers/transactionActionUnwrapper/transactionActionUnwrapper.js +1 -1
  962. package/utils/transactions/transactionInfoHelpers/useDataDecode.js +1 -1
  963. package/utils/transactions/transactionInfoHelpers/useDataDecodeMethod.js +1 -1
  964. package/utils/validation/index.js +1 -1
  965. package/utils/validation/maxDecimals.js +1 -1
  966. package/utils/validation/stringIsFloat.js +1 -1
  967. package/utils/waitForChainID.js +1 -1
  968. package/utils/walletconnect/__mocks__/sdkWalletconnectProvider.js +1 -1
  969. package/web/hooks/index.js +1 -1
  970. package/web/hooks/useIdleTimer.js +1 -1
  971. package/web/index.js +1 -1
  972. package/wrappers/AppInitializer.js +1 -1
  973. package/wrappers/AuthenticatedRoutesWrapper/AuthenticatedRoutesWrapper.js +1 -1
  974. package/wrappers/AuthenticatedRoutesWrapper/index.js +1 -1
  975. package/wrappers/AxiosInterceptorContext/AxiosInterceptorContext.js +1 -1
  976. package/wrappers/AxiosInterceptorContext/components/AxiosInterceptor.js +1 -1
  977. package/wrappers/AxiosInterceptorContext/components/AxiosInterceptorContextProvider.js +1 -1
  978. package/wrappers/AxiosInterceptorContext/components/LoginInfoListener.js +1 -1
  979. package/wrappers/AxiosInterceptorContext/components/index.js +1 -1
  980. package/wrappers/AxiosInterceptorContext/index.js +1 -1
  981. package/wrappers/DappProvider/CustomComponents.js +1 -1
  982. package/wrappers/DappProvider/DappProvider.js +1 -1
  983. package/wrappers/DappProvider/index.js +1 -1
  984. package/wrappers/index.js +1 -1
  985. package/__chunks__/chunk-24J2SFIL.js +0 -2
  986. package/__chunks__/chunk-25OJEZOV.js +0 -2
  987. package/__chunks__/chunk-2G46X67I.js +0 -2
  988. package/__chunks__/chunk-2HDARLLD.js +0 -2
  989. package/__chunks__/chunk-2IJMYU3Z.js +0 -2
  990. package/__chunks__/chunk-2RCERQQC.js +0 -2
  991. package/__chunks__/chunk-3E72O2TE.js +0 -2
  992. package/__chunks__/chunk-3KBNOIZH.js +0 -2
  993. package/__chunks__/chunk-4P3KM4RK.js +0 -2
  994. package/__chunks__/chunk-52I6ZHAV.js +0 -2
  995. package/__chunks__/chunk-567YERSK.js +0 -2
  996. package/__chunks__/chunk-5R5ATC6Q.js +0 -2
  997. package/__chunks__/chunk-75HJXKGG.js +0 -2
  998. package/__chunks__/chunk-7WGIRG6R.js +0 -2
  999. package/__chunks__/chunk-AK426JRJ.js +0 -2
  1000. package/__chunks__/chunk-AMWGLB7Q.js +0 -2
  1001. package/__chunks__/chunk-BANQ2YDY.js +0 -2
  1002. package/__chunks__/chunk-BI6WU2XX.js +0 -2
  1003. package/__chunks__/chunk-BSRQQSH5.js +0 -2
  1004. package/__chunks__/chunk-CABVPSBM.js +0 -2
  1005. package/__chunks__/chunk-CAYVW65H.js +0 -2
  1006. package/__chunks__/chunk-DKB3QJEF.js +0 -2
  1007. package/__chunks__/chunk-DMASTXTI.js +0 -2
  1008. package/__chunks__/chunk-ETVFMLG5.js +0 -2
  1009. package/__chunks__/chunk-FCB25C2P.js +0 -2
  1010. package/__chunks__/chunk-FCJQDLMQ.js +0 -2
  1011. package/__chunks__/chunk-FLJAAJ3D.js +0 -2
  1012. package/__chunks__/chunk-FYXMKKRM.js +0 -2
  1013. package/__chunks__/chunk-G4MDPRKJ.js +0 -2
  1014. package/__chunks__/chunk-GBOU3QYQ.js +0 -2
  1015. package/__chunks__/chunk-GK3W3YCM.js +0 -2
  1016. package/__chunks__/chunk-HESWSIYW.js +0 -2
  1017. package/__chunks__/chunk-HPDHRZKN.js +0 -2
  1018. package/__chunks__/chunk-IH7E6GNV.js +0 -2
  1019. package/__chunks__/chunk-IXYS4V7P.js +0 -2
  1020. package/__chunks__/chunk-JDO3FQRL.js +0 -2
  1021. package/__chunks__/chunk-JMAZFZTE.js +0 -2
  1022. package/__chunks__/chunk-KAVQKT7Z.js +0 -2
  1023. package/__chunks__/chunk-KXT6CLKE.js +0 -2
  1024. package/__chunks__/chunk-LB7UQX3U.js +0 -2
  1025. package/__chunks__/chunk-LFOFGZQJ.js +0 -2
  1026. package/__chunks__/chunk-LJDYVI33.js +0 -2
  1027. package/__chunks__/chunk-M5FH5RWV.js +0 -2
  1028. package/__chunks__/chunk-MTWXTTVB.js +0 -2
  1029. package/__chunks__/chunk-MXMHRWXB.js +0 -2
  1030. package/__chunks__/chunk-N2ZQKDTB.js +0 -2
  1031. package/__chunks__/chunk-NCFTPP3B.js +0 -2
  1032. package/__chunks__/chunk-NK4MGAYQ.js +0 -2
  1033. package/__chunks__/chunk-NLTZ3VAD.js +0 -2
  1034. package/__chunks__/chunk-NNFNK3WA.js +0 -2
  1035. package/__chunks__/chunk-OMAPZFOJ.js +0 -2
  1036. package/__chunks__/chunk-PEDXTBXA.js +0 -2
  1037. package/__chunks__/chunk-RIAKKXN4.js +0 -2
  1038. package/__chunks__/chunk-SI7MMIOZ.js +0 -2
  1039. package/__chunks__/chunk-SOOK3G4D.js +0 -2
  1040. package/__chunks__/chunk-SZYXVDX7.js +0 -2
  1041. package/__chunks__/chunk-TI4GMGE5.js +0 -2
  1042. package/__chunks__/chunk-TIDUKAQ5.js +0 -2
  1043. package/__chunks__/chunk-TJJZD2VA.js +0 -2
  1044. package/__chunks__/chunk-U4FCKQZN.js +0 -2
  1045. package/__chunks__/chunk-U4UATH5K.js +0 -2
  1046. package/__chunks__/chunk-UR3ULHFU.js +0 -2
  1047. package/__chunks__/chunk-WDCKV6FU.js +0 -2
  1048. package/__chunks__/chunk-WLMDQRCM.js +0 -2
  1049. package/__chunks__/chunk-WP4YBUQU.js +0 -2
  1050. package/__chunks__/chunk-WQMXMHIO.js +0 -2
  1051. package/__chunks__/chunk-WW4IPV3P.js +0 -2
  1052. package/__chunks__/chunk-XKDCWKMR.js +0 -2
  1053. package/__chunks__/chunk-XWRBMS62.js +0 -2
  1054. package/__chunks__/chunk-Z6HRNH3V.js +0 -2
  1055. package/__chunks__/chunk-ZFSNVBEB.js +0 -2
@@ -1,4 +1,4 @@
1
- "use strict";var He=Object.create;var G=Object.defineProperty,qe=Object.defineProperties,ze=Object.getOwnPropertyDescriptor,je=Object.getOwnPropertyDescriptors,Xe=Object.getOwnPropertyNames,ae=Object.getOwnPropertySymbols,Ke=Object.getPrototypeOf,le=Object.prototype.hasOwnProperty,Ye=Object.prototype.propertyIsEnumerable;var se=(t,e,r)=>e in t?G(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,I=(t,e)=>{for(var r in e||(e={}))le.call(e,r)&&se(t,r,e[r]);if(ae)for(var r of ae(e))Ye.call(e,r)&&se(t,r,e[r]);return t},ce=(t,e)=>qe(t,je(e));var $e=(t,e)=>()=>(t&&(e=t(t=0)),e);var W=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),Je=(t,e)=>{for(var r in e)G(t,r,{get:e[r],enumerable:!0})},pe=(t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of Xe(e))!le.call(t,i)&&i!==r&&G(t,i,{get:()=>e[i],enumerable:!(n=ze(e,i))||n.enumerable});return t};var ue=(t,e,r)=>(r=t!=null?He(Ke(t)):{},pe(e||!t||!t.__esModule?G(r,"default",{value:t,enumerable:!0}):r,t)),Ze=t=>pe(G({},"__esModule",{value:!0}),t);var fe=W(V=>{"use strict";l();V.byteLength=er;V.toByteArray=tr;V.fromByteArray=or;var k=[],v=[],Qe=typeof Uint8Array!="undefined"?Uint8Array:Array,j="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(F=0,de=j.length;F<de;++F)k[F]=j[F],v[j.charCodeAt(F)]=F;var F,de;v["-".charCodeAt(0)]=62;v["_".charCodeAt(0)]=63;function ge(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 er(t){var e=ge(t),r=e[0],n=e[1];return(r+n)*3/4-n}function rr(t,e,r){return(e+r)*3/4-r}function tr(t){var e,r=ge(t),n=r[0],i=r[1],o=new Qe(rr(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 nr(t){return k[t>>18&63]+k[t>>12&63]+k[t>>6&63]+k[t&63]}function ir(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(nr(n));return i.join("")}function or(t){for(var e,r=t.length,n=r%3,i=[],o=16383,a=0,c=r-n;a<c;a+=o)i.push(ir(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 me=W(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,T=r?-1:1,b=t[e+u];for(u+=T,o=b&(1<<-g)-1,b>>=-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:(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,T=i===23?Math.pow(2,-24)-Math.pow(2,-77):0,b=n?0:o-1,U=n?1:-1,Ve=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+b]=c&255,b+=U,c/=256,i-=8);for(a=a<<i|c,d+=i;d>0;t[r+b]=a&255,b+=U,a/=256,d-=8);t[r+b-U]|=Ve*128}});var Ie=W(P=>{"use strict";l();var K=fe(),D=me(),he=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;P.Buffer=s;P.SlowBuffer=ur;P.INSPECT_MAX_BYTES=50;var H=2147483647;P.kMaxLength=H;s.TYPED_ARRAY_SUPPORT=ar();!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 ar(){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 L(t){if(t>H)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 Z(t)}return we(t,e,r)}s.poolSize=8192;function we(t,e,r){if(typeof t=="string")return lr(t,e);if(ArrayBuffer.isView(t))return cr(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 $(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=pr(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 we(t,e,r)};Object.setPrototypeOf(s.prototype,Uint8Array.prototype);Object.setPrototypeOf(s,Uint8Array);function be(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 sr(t,e,r){return be(t),t<=0?L(t):e!==void 0?typeof r=="string"?L(t).fill(e,r):L(t).fill(e):L(t)}s.alloc=function(t,e,r){return sr(t,e,r)};function Z(t){return be(t),L(t<0?0:Q(t)|0)}s.allocUnsafe=function(t){return Z(t)};s.allocUnsafeSlow=function(t){return Z(t)};function lr(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=L(r),i=n.write(t,e);return i!==r&&(n=n.slice(0,i)),n}function Y(t){for(var e=t.length<0?0:Q(t.length)|0,r=L(e),n=0;n<e;n+=1)r[n]=t[n]&255;return r}function cr(t){if(_(t,Uint8Array)){var e=new Uint8Array(t);return $(e.buffer,e.byteOffset,e.byteLength)}return Y(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 pr(t){if(s.isBuffer(t)){var e=Q(t.length)|0,r=L(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)?L(0):Y(t);if(t.type==="Buffer"&&Array.isArray(t.data))return Y(t.data)}function Q(t){if(t>=H)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+H.toString(16)+" bytes");return t|0}function ur(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 ve(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 J(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return r*2;case"hex":return r>>>1;case"base64":return Se(t).length;default:if(i)return n?-1:J(t).length;e=(""+e).toLowerCase(),i=!0}}s.byteLength=ve;function dr(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 Tr(this,e,r);case"utf8":case"utf-8":return ke(this,e,r);case"ascii":return br(this,e,r);case"latin1":case"binary":return vr(this,e,r);case"base64":return xr(this,e,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return kr(this,e,r);default:if(n)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),n=!0}}s.prototype._isBuffer=!0;function C(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)C(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)C(this,r,r+3),C(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)C(this,r,r+7),C(this,r+1,r+6),C(this,r+2,r+5),C(this,r+3,r+4);return this};s.prototype.toString=function(){var e=this.length;return e===0?"":arguments.length===0?ke(this,0,e):dr.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=P.INSPECT_MAX_BYTES;return e=this.toString("hex",0,r).replace(/(.{2})/g,"$1 ").trim(),this.length>r&&(e+=" ... "),"<Buffer "+e+">"};he&&(s.prototype[he]=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 Te(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:ye(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):ye(t,[e],r,n,i);throw new TypeError("val must be string, number or Buffer")}function ye(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,U){return o===1?b[U]:b.readUInt16BE(U*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 Te(this,e,r,n,!0)};s.prototype.lastIndexOf=function(e,r,n){return Te(this,e,r,n,!1)};function gr(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 fr(t,e,r,n){return q(J(e,t.length-r),t,r,n)}function mr(t,e,r,n){return q(Rr(e),t,r,n)}function hr(t,e,r,n){return q(Se(e),t,r,n)}function yr(t,e,r,n){return q(Sr(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 gr(this,e,r,n);case"utf8":case"utf-8":return fr(this,e,r,n);case"ascii":case"latin1":case"binary":return mr(this,e,r,n);case"base64":return hr(this,e,r,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return yr(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 xr(t,e,r){return e===0&&r===t.length?K.fromByteArray(t):K.fromByteArray(t.slice(e,r))}function ke(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 wr(n)}var xe=4096;function wr(t){var e=t.length;if(e<=xe)return String.fromCharCode.apply(String,t);for(var r="",n=0;n<e;)r+=String.fromCharCode.apply(String,t.slice(n,n+=xe));return r}function br(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 vr(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 Tr(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+=Ir[t[o]];return i}function kr(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),D.read(this,e,!0,23,4)};s.prototype.readFloatBE=function(e,r){return e=e>>>0,r||x(e,4,this.length),D.read(this,e,!1,23,4)};s.prototype.readDoubleLE=function(e,r){return e=e>>>0,r||x(e,8,this.length),D.read(this,e,!0,52,8)};s.prototype.readDoubleBE=function(e,r){return e=e>>>0,r||x(e,8,this.length),D.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 _e(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 Ae(t,e,r,n,i){return e=+e,r=r>>>0,i||_e(t,e,r,4,34028234663852886e22,-34028234663852886e22),D.write(t,e,r,n,23,4),r+4}s.prototype.writeFloatLE=function(e,r,n){return Ae(this,e,r,!0,n)};s.prototype.writeFloatBE=function(e,r,n){return Ae(this,e,r,!1,n)};function Re(t,e,r,n,i){return e=+e,r=r>>>0,i||_e(t,e,r,8,17976931348623157e292,-17976931348623157e292),D.write(t,e,r,n,52,8),r+8}s.prototype.writeDoubleLE=function(e,r,n){return Re(this,e,r,!0,n)};s.prototype.writeDoubleBE=function(e,r,n){return Re(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 _r=/[^+/0-9A-Za-z-_]/g;function Ar(t){if(t=t.split("=")[0],t=t.trim().replace(_r,""),t.length<2)return"";for(;t.length%4!==0;)t=t+"=";return t}function J(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 Rr(t){for(var e=[],r=0;r<t.length;++r)e.push(t.charCodeAt(r)&255);return e}function Sr(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 Se(t){return K.toByteArray(Ar(t))}function q(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 Ir=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 Ce=W((Mr,Fe)=>{l();var y=Fe.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 Le(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 Lr(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 E=[],O=!1,B,z=-1;function Er(){!O||!B||(O=!1,B.length?E=B.concat(E):z=-1,E.length&&Ee())}function Ee(){if(!O){var t=Le(Er);O=!0;for(var e=E.length;e;){for(B=E,E=[];++z<e;)B&&B[z].run();z=-1,e=E.length}B=null,O=!1,Lr(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];E.push(new Ne(t,e)),E.length===1&&!O&&Le(Ee)};function Ne(t,e){this.fun=t,this.array=e}Ne.prototype.run=function(){this.fun.apply(null,this.array)};y.title="browser";y.browser=!0;y.env={};y.argv=[];y.version="";y.versions={};function N(){}y.on=N;y.addListener=N;y.once=N;y.off=N;y.removeListener=N;y.removeAllListeners=N;y.emit=N;y.prependListener=N;y.prependOnceListener=N;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,Gr,l=$e(()=>{f=ue(Ie()),m=ue(Ce()),Gr=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 Br={};Je(Br,{builtCallbackUrl:()=>Cr});module.exports=Ze(Br);l();l();l();l();l();l();l();l();l();l();l();l();l();l();l();l();var ne=require("@multiversx/sdk-dapp-utils/out/constants/crossWindowProviderConstants"),M=require("@multiversx/sdk-dapp-utils/out/enums/crossWindowProviderEnums");var Be=(r=>(r.signTransactionsWithGuardianResponse="SIGN_TRANSACTIONS_WITH_GUARDIAN_RESPONSE",r.reloginRequest="RELOGIN_REQUEST",r))(Be||{}),Zr=I(I({},M.CrossWindowProviderRequestEnums),Be),Ue=(e=>(e.reloginResponse="RELOGIN_RESPONSE",e))(Ue||{}),Qr=I(I({},M.CrossWindowProviderResponseEnums),Ue);l();l();l();l();l();l();var ie={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",roundDuration:6e3},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",roundDuration:6e3},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",roundDuration:6e3}},{chainId:De,egldLabel:ht}=ie["devnet"],{chainId:Pe,egldLabel:yt}=ie["testnet"],{chainId:Oe,egldLabel:xt}=ie["mainnet"];var wt={["devnet"]:De,["testnet"]:Pe,["mainnet"]:Oe},bt={[De]:"devnet",[Pe]:"testnet",[Oe]:"mainnet"};l();l();var S=require("@multiversx/sdk-web-wallet-provider");l();var Me,Ge,oe=String((Ge=(Me=ne.safeWindow)==null?void 0:Me.navigator)==null?void 0:Ge.userAgent),At=/^((?!chrome|android).)*safari/i.test(oe),Rt=/firefox/i.test(oe)&&/windows/i.test(oe);var We="sdk-dapp-version";function Nr(t,e){let r=new URLSearchParams(t),n=Object.fromEntries(r);return{nextUrlParams:new URLSearchParams(I(I({},n),e)).toString(),params:n}}var Fr="2.36.2";function Cr({callbackUrl:t,urlParams:e={}}){let r=t;if(Object.entries(e).length>0)try{let{search:n,origin:i,pathname:o,hash:a}=new URL(t),c=ce(I({},e),{[We]:Fr}),{nextUrlParams:p}=Nr(n,c);r=`${i}${o}?${p}${a}`}catch(n){return console.error("Unable to construct URL from: ",t,n),r}return r}0&&(module.exports={builtCallbackUrl});
1
+ "use strict";var He=Object.create;var G=Object.defineProperty,qe=Object.defineProperties,ze=Object.getOwnPropertyDescriptor,je=Object.getOwnPropertyDescriptors,Xe=Object.getOwnPropertyNames,ae=Object.getOwnPropertySymbols,Ke=Object.getPrototypeOf,le=Object.prototype.hasOwnProperty,Ye=Object.prototype.propertyIsEnumerable;var se=(t,e,r)=>e in t?G(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,I=(t,e)=>{for(var r in e||(e={}))le.call(e,r)&&se(t,r,e[r]);if(ae)for(var r of ae(e))Ye.call(e,r)&&se(t,r,e[r]);return t},ce=(t,e)=>qe(t,je(e));var $e=(t,e)=>()=>(t&&(e=t(t=0)),e);var W=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),Je=(t,e)=>{for(var r in e)G(t,r,{get:e[r],enumerable:!0})},pe=(t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of Xe(e))!le.call(t,i)&&i!==r&&G(t,i,{get:()=>e[i],enumerable:!(n=ze(e,i))||n.enumerable});return t};var ue=(t,e,r)=>(r=t!=null?He(Ke(t)):{},pe(e||!t||!t.__esModule?G(r,"default",{value:t,enumerable:!0}):r,t)),Ze=t=>pe(G({},"__esModule",{value:!0}),t);var fe=W(V=>{"use strict";l();V.byteLength=er;V.toByteArray=tr;V.fromByteArray=or;var k=[],v=[],Qe=typeof Uint8Array!="undefined"?Uint8Array:Array,j="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(F=0,de=j.length;F<de;++F)k[F]=j[F],v[j.charCodeAt(F)]=F;var F,de;v["-".charCodeAt(0)]=62;v["_".charCodeAt(0)]=63;function ge(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 er(t){var e=ge(t),r=e[0],n=e[1];return(r+n)*3/4-n}function rr(t,e,r){return(e+r)*3/4-r}function tr(t){var e,r=ge(t),n=r[0],i=r[1],o=new Qe(rr(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 nr(t){return k[t>>18&63]+k[t>>12&63]+k[t>>6&63]+k[t&63]}function ir(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(nr(n));return i.join("")}function or(t){for(var e,r=t.length,n=r%3,i=[],o=16383,a=0,c=r-n;a<c;a+=o)i.push(ir(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 me=W(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,T=r?-1:1,b=t[e+u];for(u+=T,o=b&(1<<-g)-1,b>>=-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:(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,T=i===23?Math.pow(2,-24)-Math.pow(2,-77):0,b=n?0:o-1,U=n?1:-1,Ve=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+b]=c&255,b+=U,c/=256,i-=8);for(a=a<<i|c,d+=i;d>0;t[r+b]=a&255,b+=U,a/=256,d-=8);t[r+b-U]|=Ve*128}});var Ie=W(P=>{"use strict";l();var K=fe(),D=me(),he=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;P.Buffer=s;P.SlowBuffer=ur;P.INSPECT_MAX_BYTES=50;var H=2147483647;P.kMaxLength=H;s.TYPED_ARRAY_SUPPORT=ar();!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 ar(){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 L(t){if(t>H)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 Z(t)}return we(t,e,r)}s.poolSize=8192;function we(t,e,r){if(typeof t=="string")return lr(t,e);if(ArrayBuffer.isView(t))return cr(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 $(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=pr(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 we(t,e,r)};Object.setPrototypeOf(s.prototype,Uint8Array.prototype);Object.setPrototypeOf(s,Uint8Array);function be(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 sr(t,e,r){return be(t),t<=0?L(t):e!==void 0?typeof r=="string"?L(t).fill(e,r):L(t).fill(e):L(t)}s.alloc=function(t,e,r){return sr(t,e,r)};function Z(t){return be(t),L(t<0?0:Q(t)|0)}s.allocUnsafe=function(t){return Z(t)};s.allocUnsafeSlow=function(t){return Z(t)};function lr(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=L(r),i=n.write(t,e);return i!==r&&(n=n.slice(0,i)),n}function Y(t){for(var e=t.length<0?0:Q(t.length)|0,r=L(e),n=0;n<e;n+=1)r[n]=t[n]&255;return r}function cr(t){if(_(t,Uint8Array)){var e=new Uint8Array(t);return $(e.buffer,e.byteOffset,e.byteLength)}return Y(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 pr(t){if(s.isBuffer(t)){var e=Q(t.length)|0,r=L(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)?L(0):Y(t);if(t.type==="Buffer"&&Array.isArray(t.data))return Y(t.data)}function Q(t){if(t>=H)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+H.toString(16)+" bytes");return t|0}function ur(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 ve(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 J(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return r*2;case"hex":return r>>>1;case"base64":return Se(t).length;default:if(i)return n?-1:J(t).length;e=(""+e).toLowerCase(),i=!0}}s.byteLength=ve;function dr(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 Tr(this,e,r);case"utf8":case"utf-8":return ke(this,e,r);case"ascii":return br(this,e,r);case"latin1":case"binary":return vr(this,e,r);case"base64":return xr(this,e,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return kr(this,e,r);default:if(n)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),n=!0}}s.prototype._isBuffer=!0;function C(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)C(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)C(this,r,r+3),C(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)C(this,r,r+7),C(this,r+1,r+6),C(this,r+2,r+5),C(this,r+3,r+4);return this};s.prototype.toString=function(){var e=this.length;return e===0?"":arguments.length===0?ke(this,0,e):dr.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=P.INSPECT_MAX_BYTES;return e=this.toString("hex",0,r).replace(/(.{2})/g,"$1 ").trim(),this.length>r&&(e+=" ... "),"<Buffer "+e+">"};he&&(s.prototype[he]=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 Te(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:ye(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):ye(t,[e],r,n,i);throw new TypeError("val must be string, number or Buffer")}function ye(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,U){return o===1?b[U]:b.readUInt16BE(U*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 Te(this,e,r,n,!0)};s.prototype.lastIndexOf=function(e,r,n){return Te(this,e,r,n,!1)};function gr(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 fr(t,e,r,n){return q(J(e,t.length-r),t,r,n)}function mr(t,e,r,n){return q(Rr(e),t,r,n)}function hr(t,e,r,n){return q(Se(e),t,r,n)}function yr(t,e,r,n){return q(Sr(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 gr(this,e,r,n);case"utf8":case"utf-8":return fr(this,e,r,n);case"ascii":case"latin1":case"binary":return mr(this,e,r,n);case"base64":return hr(this,e,r,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return yr(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 xr(t,e,r){return e===0&&r===t.length?K.fromByteArray(t):K.fromByteArray(t.slice(e,r))}function ke(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 wr(n)}var xe=4096;function wr(t){var e=t.length;if(e<=xe)return String.fromCharCode.apply(String,t);for(var r="",n=0;n<e;)r+=String.fromCharCode.apply(String,t.slice(n,n+=xe));return r}function br(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 vr(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 Tr(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+=Ir[t[o]];return i}function kr(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),D.read(this,e,!0,23,4)};s.prototype.readFloatBE=function(e,r){return e=e>>>0,r||x(e,4,this.length),D.read(this,e,!1,23,4)};s.prototype.readDoubleLE=function(e,r){return e=e>>>0,r||x(e,8,this.length),D.read(this,e,!0,52,8)};s.prototype.readDoubleBE=function(e,r){return e=e>>>0,r||x(e,8,this.length),D.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 _e(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 Ae(t,e,r,n,i){return e=+e,r=r>>>0,i||_e(t,e,r,4,34028234663852886e22,-34028234663852886e22),D.write(t,e,r,n,23,4),r+4}s.prototype.writeFloatLE=function(e,r,n){return Ae(this,e,r,!0,n)};s.prototype.writeFloatBE=function(e,r,n){return Ae(this,e,r,!1,n)};function Re(t,e,r,n,i){return e=+e,r=r>>>0,i||_e(t,e,r,8,17976931348623157e292,-17976931348623157e292),D.write(t,e,r,n,52,8),r+8}s.prototype.writeDoubleLE=function(e,r,n){return Re(this,e,r,!0,n)};s.prototype.writeDoubleBE=function(e,r,n){return Re(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 _r=/[^+/0-9A-Za-z-_]/g;function Ar(t){if(t=t.split("=")[0],t=t.trim().replace(_r,""),t.length<2)return"";for(;t.length%4!==0;)t=t+"=";return t}function J(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 Rr(t){for(var e=[],r=0;r<t.length;++r)e.push(t.charCodeAt(r)&255);return e}function Sr(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 Se(t){return K.toByteArray(Ar(t))}function q(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 Ir=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 Ce=W((Mr,Fe)=>{l();var y=Fe.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 Le(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 Lr(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 E=[],O=!1,B,z=-1;function Er(){!O||!B||(O=!1,B.length?E=B.concat(E):z=-1,E.length&&Ee())}function Ee(){if(!O){var t=Le(Er);O=!0;for(var e=E.length;e;){for(B=E,E=[];++z<e;)B&&B[z].run();z=-1,e=E.length}B=null,O=!1,Lr(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];E.push(new Ne(t,e)),E.length===1&&!O&&Le(Ee)};function Ne(t,e){this.fun=t,this.array=e}Ne.prototype.run=function(){this.fun.apply(null,this.array)};y.title="browser";y.browser=!0;y.env={};y.argv=[];y.version="";y.versions={};function N(){}y.on=N;y.addListener=N;y.once=N;y.off=N;y.removeListener=N;y.removeAllListeners=N;y.emit=N;y.prependListener=N;y.prependOnceListener=N;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,Gr,l=$e(()=>{f=ue(Ie()),m=ue(Ce()),Gr=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 Br={};Je(Br,{builtCallbackUrl:()=>Cr});module.exports=Ze(Br);l();l();l();l();l();l();l();l();l();l();l();l();l();l();l();l();var ne=require("@multiversx/sdk-dapp-utils/out/constants/crossWindowProviderConstants"),M=require("@multiversx/sdk-dapp-utils/out/enums/crossWindowProviderEnums");var Be=(r=>(r.signTransactionsWithGuardianResponse="SIGN_TRANSACTIONS_WITH_GUARDIAN_RESPONSE",r.reloginRequest="RELOGIN_REQUEST",r))(Be||{}),Zr=I(I({},M.CrossWindowProviderRequestEnums),Be),Ue=(e=>(e.reloginResponse="RELOGIN_RESPONSE",e))(Ue||{}),Qr=I(I({},M.CrossWindowProviderResponseEnums),Ue);l();l();l();l();l();l();var ie={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",roundDuration:6e3},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",roundDuration:6e3},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",roundDuration:6e3}},{chainId:De,egldLabel:ht}=ie["devnet"],{chainId:Pe,egldLabel:yt}=ie["testnet"],{chainId:Oe,egldLabel:xt}=ie["mainnet"];var wt={["devnet"]:De,["testnet"]:Pe,["mainnet"]:Oe},bt={[De]:"devnet",[Pe]:"testnet",[Oe]:"mainnet"};l();l();var S=require("@multiversx/sdk-web-wallet-provider");l();var Me,Ge,oe=String((Ge=(Me=ne.safeWindow)==null?void 0:Me.navigator)==null?void 0:Ge.userAgent),At=/^((?!chrome|android).)*safari/i.test(oe),Rt=/firefox/i.test(oe)&&/windows/i.test(oe);var We="sdk-dapp-version";function Nr(t,e){let r=new URLSearchParams(t),n=Object.fromEntries(r);return{nextUrlParams:new URLSearchParams(I(I({},n),e)).toString(),params:n}}var Fr="2.36.4";function Cr({callbackUrl:t,urlParams:e={}}){let r=t;if(Object.entries(e).length>0)try{let{search:n,origin:i,pathname:o,hash:a}=new URL(t),c=ce(I({},e),{[We]:Fr}),{nextUrlParams:p}=Nr(n,c);r=`${i}${o}?${p}${a}`}catch(n){return console.error("Unable to construct URL from: ",t,n),r}return r}0&&(module.exports={builtCallbackUrl});
2
2
  /*!
3
3
  * The buffer module from node.js, for the browser.
4
4
  *
@@ -1,4 +1,4 @@
1
- "use strict";var zr=Object.create;var J=Object.defineProperty,Kr=Object.defineProperties,Xr=Object.getOwnPropertyDescriptor,Yr=Object.getOwnPropertyDescriptors,Zr=Object.getOwnPropertyNames,Be=Object.getOwnPropertySymbols,Jr=Object.getPrototypeOf,Pe=Object.prototype.hasOwnProperty,Qr=Object.prototype.propertyIsEnumerable;var Ue=(t,e,r)=>e in t?J(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,D=(t,e)=>{for(var r in e||(e={}))Pe.call(e,r)&&Ue(t,r,e[r]);if(Be)for(var r of Be(e))Qr.call(e,r)&&Ue(t,r,e[r]);return t},ne=(t,e)=>Kr(t,Yr(e));var et=(t,e)=>()=>(t&&(e=t(t=0)),e);var ie=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),rt=(t,e)=>{for(var r in e)J(t,r,{get:e[r],enumerable:!0})},Me=(t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of Zr(e))!Pe.call(t,i)&&i!==r&&J(t,i,{get:()=>e[i],enumerable:!(n=Xr(e,i))||n.enumerable});return t};var U=(t,e,r)=>(r=t!=null?zr(Jr(t)):{},Me(e||!t||!t.__esModule?J(r,"default",{value:t,enumerable:!0}):r,t)),tt=t=>Me(J({},"__esModule",{value:!0}),t);var We=ie(oe=>{"use strict";s();oe.byteLength=it;oe.toByteArray=at;oe.fromByteArray=ct;var _=[],A=[],nt=typeof Uint8Array!="undefined"?Uint8Array:Array,he="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(V=0,Ge=he.length;V<Ge;++V)_[V]=he[V],A[he.charCodeAt(V)]=V;var V,Ge;A["-".charCodeAt(0)]=62;A["_".charCodeAt(0)]=63;function Ve(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 it(t){var e=Ve(t),r=e[0],n=e[1];return(r+n)*3/4-n}function ot(t,e,r){return(e+r)*3/4-r}function at(t){var e,r=Ve(t),n=r[0],i=r[1],o=new nt(ot(t,n,i)),a=0,u=i>0?n-4:n,g;for(g=0;g<u;g+=4)e=A[t.charCodeAt(g)]<<18|A[t.charCodeAt(g+1)]<<12|A[t.charCodeAt(g+2)]<<6|A[t.charCodeAt(g+3)],o[a++]=e>>16&255,o[a++]=e>>8&255,o[a++]=e&255;return i===2&&(e=A[t.charCodeAt(g)]<<2|A[t.charCodeAt(g+1)]>>4,o[a++]=e&255),i===1&&(e=A[t.charCodeAt(g)]<<10|A[t.charCodeAt(g+1)]<<4|A[t.charCodeAt(g+2)]>>2,o[a++]=e>>8&255,o[a++]=e&255),o}function st(t){return _[t>>18&63]+_[t>>12&63]+_[t>>6&63]+_[t&63]}function lt(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(st(n));return i.join("")}function ct(t){for(var e,r=t.length,n=r%3,i=[],o=16383,a=0,u=r-n;a<u;a+=o)i.push(lt(t,a,a+o>u?u: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 $e=ie(ye=>{s();ye.read=function(t,e,r,n,i){var o,a,u=i*8-n-1,g=(1<<u)-1,m=g>>1,h=-7,f=r?i-1:0,y=r?-1:1,T=t[e+f];for(f+=y,o=T&(1<<-h)-1,T>>=-h,h+=u;h>0;o=o*256+t[e+f],f+=y,h-=8);for(a=o&(1<<-h)-1,o>>=-h,h+=n;h>0;a=a*256+t[e+f],f+=y,h-=8);if(o===0)o=1-m;else{if(o===g)return a?NaN:(T?-1:1)*(1/0);a=a+Math.pow(2,n),o=o-m}return(T?-1:1)*a*Math.pow(2,o-n)};ye.write=function(t,e,r,n,i,o){var a,u,g,m=o*8-i-1,h=(1<<m)-1,f=h>>1,y=i===23?Math.pow(2,-24)-Math.pow(2,-77):0,T=n?0:o-1,w=n?1:-1,q=e<0||e===0&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(u=isNaN(e)?1:0,a=h):(a=Math.floor(Math.log(e)/Math.LN2),e*(g=Math.pow(2,-a))<1&&(a--,g*=2),a+f>=1?e+=y/g:e+=y*Math.pow(2,1-f),e*g>=2&&(a++,g/=2),a+f>=h?(u=0,a=h):a+f>=1?(u=(e*g-1)*Math.pow(2,i),a=a+f):(u=e*Math.pow(2,f-1)*Math.pow(2,i),a=0));i>=8;t[r+T]=u&255,T+=w,u/=256,i-=8);for(a=a<<i|u,m+=i;m>0;t[r+T]=a&255,T+=w,a/=256,m-=8);t[r+T-w]|=q*128}});var tr=ie(z=>{"use strict";s();var xe=We(),j=$e(),He=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;z.Buffer=l;z.SlowBuffer=ft;z.INSPECT_MAX_BYTES=50;var ae=2147483647;z.kMaxLength=ae;l.TYPED_ARRAY_SUPPORT=ut();!l.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 ut(){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(l.prototype,"parent",{enumerable:!0,get:function(){if(!!l.isBuffer(this))return this.buffer}});Object.defineProperty(l.prototype,"offset",{enumerable:!0,get:function(){if(!!l.isBuffer(this))return this.byteOffset}});function F(t){if(t>ae)throw new RangeError('The value "'+t+'" is invalid for option "size"');var e=new Uint8Array(t);return Object.setPrototypeOf(e,l.prototype),e}function l(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 ve(t)}return ze(t,e,r)}l.poolSize=8192;function ze(t,e,r){if(typeof t=="string")return dt(t,e);if(ArrayBuffer.isView(t))return gt(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(N(t,ArrayBuffer)||t&&N(t.buffer,ArrayBuffer)||typeof SharedArrayBuffer!="undefined"&&(N(t,SharedArrayBuffer)||t&&N(t.buffer,SharedArrayBuffer)))return be(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 l.from(n,e,r);var i=mt(t);if(i)return i;if(typeof Symbol!="undefined"&&Symbol.toPrimitive!=null&&typeof t[Symbol.toPrimitive]=="function")return l.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)}l.from=function(t,e,r){return ze(t,e,r)};Object.setPrototypeOf(l.prototype,Uint8Array.prototype);Object.setPrototypeOf(l,Uint8Array);function Ke(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 pt(t,e,r){return Ke(t),t<=0?F(t):e!==void 0?typeof r=="string"?F(t).fill(e,r):F(t).fill(e):F(t)}l.alloc=function(t,e,r){return pt(t,e,r)};function ve(t){return Ke(t),F(t<0?0:ke(t)|0)}l.allocUnsafe=function(t){return ve(t)};l.allocUnsafeSlow=function(t){return ve(t)};function dt(t,e){if((typeof e!="string"||e==="")&&(e="utf8"),!l.isEncoding(e))throw new TypeError("Unknown encoding: "+e);var r=Xe(t,e)|0,n=F(r),i=n.write(t,e);return i!==r&&(n=n.slice(0,i)),n}function Te(t){for(var e=t.length<0?0:ke(t.length)|0,r=F(e),n=0;n<e;n+=1)r[n]=t[n]&255;return r}function gt(t){if(N(t,Uint8Array)){var e=new Uint8Array(t);return be(e.buffer,e.byteOffset,e.byteLength)}return Te(t)}function be(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,l.prototype),n}function mt(t){if(l.isBuffer(t)){var e=ke(t.length)|0,r=F(e);return r.length===0||t.copy(r,0,0,e),r}if(t.length!==void 0)return typeof t.length!="number"||Ae(t.length)?F(0):Te(t);if(t.type==="Buffer"&&Array.isArray(t.data))return Te(t.data)}function ke(t){if(t>=ae)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+ae.toString(16)+" bytes");return t|0}function ft(t){return+t!=t&&(t=0),l.alloc(+t)}l.isBuffer=function(e){return e!=null&&e._isBuffer===!0&&e!==l.prototype};l.compare=function(e,r){if(N(e,Uint8Array)&&(e=l.from(e,e.offset,e.byteLength)),N(r,Uint8Array)&&(r=l.from(r,r.offset,r.byteLength)),!l.isBuffer(e)||!l.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};l.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}};l.concat=function(e,r){if(!Array.isArray(e))throw new TypeError('"list" argument must be an Array of Buffers');if(e.length===0)return l.alloc(0);var n;if(r===void 0)for(r=0,n=0;n<e.length;++n)r+=e[n].length;var i=l.allocUnsafe(r),o=0;for(n=0;n<e.length;++n){var a=e[n];if(N(a,Uint8Array))o+a.length>i.length?l.from(a).copy(i,o):Uint8Array.prototype.set.call(i,a,o);else if(l.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(l.isBuffer(t))return t.length;if(ArrayBuffer.isView(t)||N(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 we(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return r*2;case"hex":return r>>>1;case"base64":return rr(t).length;default:if(i)return n?-1:we(t).length;e=(""+e).toLowerCase(),i=!0}}l.byteLength=Xe;function ht(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 St(this,e,r);case"utf8":case"utf-8":return Ze(this,e,r);case"ascii":return At(this,e,r);case"latin1":case"binary":return It(this,e,r);case"base64":return vt(this,e,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return _t(this,e,r);default:if(n)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),n=!0}}l.prototype._isBuffer=!0;function W(t,e,r){var n=t[e];t[e]=t[r],t[r]=n}l.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)W(this,r,r+1);return this};l.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)W(this,r,r+3),W(this,r+1,r+2);return this};l.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)W(this,r,r+7),W(this,r+1,r+6),W(this,r+2,r+5),W(this,r+3,r+4);return this};l.prototype.toString=function(){var e=this.length;return e===0?"":arguments.length===0?Ze(this,0,e):ht.apply(this,arguments)};l.prototype.toLocaleString=l.prototype.toString;l.prototype.equals=function(e){if(!l.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e?!0:l.compare(this,e)===0};l.prototype.inspect=function(){var e="",r=z.INSPECT_MAX_BYTES;return e=this.toString("hex",0,r).replace(/(.{2})/g,"$1 ").trim(),this.length>r&&(e+=" ... "),"<Buffer "+e+">"};He&&(l.prototype[He]=l.prototype.inspect);l.prototype.compare=function(e,r,n,i,o){if(N(e,Uint8Array)&&(e=l.from(e,e.offset,e.byteLength)),!l.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,u=n-r,g=Math.min(a,u),m=this.slice(i,o),h=e.slice(r,n),f=0;f<g;++f)if(m[f]!==h[f]){a=m[f],u=h[f];break}return a<u?-1:u<a?1:0};function Ye(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,Ae(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=l.from(e,n)),l.isBuffer(e))return e.length===0?-1:qe(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):qe(t,[e],r,n,i);throw new TypeError("val must be string, number or Buffer")}function qe(t,e,r,n,i){var o=1,a=t.length,u=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,u/=2,r/=2}function g(T,w){return o===1?T[w]:T.readUInt16BE(w*o)}var m;if(i){var h=-1;for(m=r;m<a;m++)if(g(t,m)===g(e,h===-1?0:m-h)){if(h===-1&&(h=m),m-h+1===u)return h*o}else h!==-1&&(m-=m-h),h=-1}else for(r+u>a&&(r=a-u),m=r;m>=0;m--){for(var f=!0,y=0;y<u;y++)if(g(t,m+y)!==g(e,y)){f=!1;break}if(f)return m}return-1}l.prototype.includes=function(e,r,n){return this.indexOf(e,r,n)!==-1};l.prototype.indexOf=function(e,r,n){return Ye(this,e,r,n,!0)};l.prototype.lastIndexOf=function(e,r,n){return Ye(this,e,r,n,!1)};function yt(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 u=parseInt(e.substr(a*2,2),16);if(Ae(u))return a;t[r+a]=u}return a}function xt(t,e,r,n){return se(we(e,t.length-r),t,r,n)}function Tt(t,e,r,n){return se(Rt(e),t,r,n)}function bt(t,e,r,n){return se(rr(e),t,r,n)}function wt(t,e,r,n){return se(Lt(e,t.length-r),t,r,n)}l.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 yt(this,e,r,n);case"utf8":case"utf-8":return xt(this,e,r,n);case"ascii":case"latin1":case"binary":return Tt(this,e,r,n);case"base64":return bt(this,e,r,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return wt(this,e,r,n);default:if(a)throw new TypeError("Unknown encoding: "+i);i=(""+i).toLowerCase(),a=!0}};l.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function vt(t,e,r){return e===0&&r===t.length?xe.fromByteArray(t):xe.fromByteArray(t.slice(e,r))}function Ze(t,e,r){r=Math.min(t.length,r);for(var n=[],i=e;i<r;){var o=t[i],a=null,u=o>239?4:o>223?3:o>191?2:1;if(i+u<=r){var g,m,h,f;switch(u){case 1:o<128&&(a=o);break;case 2:g=t[i+1],(g&192)===128&&(f=(o&31)<<6|g&63,f>127&&(a=f));break;case 3:g=t[i+1],m=t[i+2],(g&192)===128&&(m&192)===128&&(f=(o&15)<<12|(g&63)<<6|m&63,f>2047&&(f<55296||f>57343)&&(a=f));break;case 4:g=t[i+1],m=t[i+2],h=t[i+3],(g&192)===128&&(m&192)===128&&(h&192)===128&&(f=(o&15)<<18|(g&63)<<12|(m&63)<<6|h&63,f>65535&&f<1114112&&(a=f))}}a===null?(a=65533,u=1):a>65535&&(a-=65536,n.push(a>>>10&1023|55296),a=56320|a&1023),n.push(a),i+=u}return kt(n)}var je=4096;function kt(t){var e=t.length;if(e<=je)return String.fromCharCode.apply(String,t);for(var r="",n=0;n<e;)r+=String.fromCharCode.apply(String,t.slice(n,n+=je));return r}function At(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 It(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 St(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+=Dt[t[o]];return i}function _t(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}l.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,l.prototype),i};function b(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")}l.prototype.readUintLE=l.prototype.readUIntLE=function(e,r,n){e=e>>>0,r=r>>>0,n||b(e,r,this.length);for(var i=this[e],o=1,a=0;++a<r&&(o*=256);)i+=this[e+a]*o;return i};l.prototype.readUintBE=l.prototype.readUIntBE=function(e,r,n){e=e>>>0,r=r>>>0,n||b(e,r,this.length);for(var i=this[e+--r],o=1;r>0&&(o*=256);)i+=this[e+--r]*o;return i};l.prototype.readUint8=l.prototype.readUInt8=function(e,r){return e=e>>>0,r||b(e,1,this.length),this[e]};l.prototype.readUint16LE=l.prototype.readUInt16LE=function(e,r){return e=e>>>0,r||b(e,2,this.length),this[e]|this[e+1]<<8};l.prototype.readUint16BE=l.prototype.readUInt16BE=function(e,r){return e=e>>>0,r||b(e,2,this.length),this[e]<<8|this[e+1]};l.prototype.readUint32LE=l.prototype.readUInt32LE=function(e,r){return e=e>>>0,r||b(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+this[e+3]*16777216};l.prototype.readUint32BE=l.prototype.readUInt32BE=function(e,r){return e=e>>>0,r||b(e,4,this.length),this[e]*16777216+(this[e+1]<<16|this[e+2]<<8|this[e+3])};l.prototype.readIntLE=function(e,r,n){e=e>>>0,r=r>>>0,n||b(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};l.prototype.readIntBE=function(e,r,n){e=e>>>0,r=r>>>0,n||b(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};l.prototype.readInt8=function(e,r){return e=e>>>0,r||b(e,1,this.length),this[e]&128?(255-this[e]+1)*-1:this[e]};l.prototype.readInt16LE=function(e,r){e=e>>>0,r||b(e,2,this.length);var n=this[e]|this[e+1]<<8;return n&32768?n|4294901760:n};l.prototype.readInt16BE=function(e,r){e=e>>>0,r||b(e,2,this.length);var n=this[e+1]|this[e]<<8;return n&32768?n|4294901760:n};l.prototype.readInt32LE=function(e,r){return e=e>>>0,r||b(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24};l.prototype.readInt32BE=function(e,r){return e=e>>>0,r||b(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]};l.prototype.readFloatLE=function(e,r){return e=e>>>0,r||b(e,4,this.length),j.read(this,e,!0,23,4)};l.prototype.readFloatBE=function(e,r){return e=e>>>0,r||b(e,4,this.length),j.read(this,e,!1,23,4)};l.prototype.readDoubleLE=function(e,r){return e=e>>>0,r||b(e,8,this.length),j.read(this,e,!0,52,8)};l.prototype.readDoubleBE=function(e,r){return e=e>>>0,r||b(e,8,this.length),j.read(this,e,!1,52,8)};function v(t,e,r,n,i,o){if(!l.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")}l.prototype.writeUintLE=l.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;v(this,e,r,n,o,0)}var a=1,u=0;for(this[r]=e&255;++u<n&&(a*=256);)this[r+u]=e/a&255;return r+n};l.prototype.writeUintBE=l.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;v(this,e,r,n,o,0)}var a=n-1,u=1;for(this[r+a]=e&255;--a>=0&&(u*=256);)this[r+a]=e/u&255;return r+n};l.prototype.writeUint8=l.prototype.writeUInt8=function(e,r,n){return e=+e,r=r>>>0,n||v(this,e,r,1,255,0),this[r]=e&255,r+1};l.prototype.writeUint16LE=l.prototype.writeUInt16LE=function(e,r,n){return e=+e,r=r>>>0,n||v(this,e,r,2,65535,0),this[r]=e&255,this[r+1]=e>>>8,r+2};l.prototype.writeUint16BE=l.prototype.writeUInt16BE=function(e,r,n){return e=+e,r=r>>>0,n||v(this,e,r,2,65535,0),this[r]=e>>>8,this[r+1]=e&255,r+2};l.prototype.writeUint32LE=l.prototype.writeUInt32LE=function(e,r,n){return e=+e,r=r>>>0,n||v(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};l.prototype.writeUint32BE=l.prototype.writeUInt32BE=function(e,r,n){return e=+e,r=r>>>0,n||v(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};l.prototype.writeIntLE=function(e,r,n,i){if(e=+e,r=r>>>0,!i){var o=Math.pow(2,8*n-1);v(this,e,r,n,o-1,-o)}var a=0,u=1,g=0;for(this[r]=e&255;++a<n&&(u*=256);)e<0&&g===0&&this[r+a-1]!==0&&(g=1),this[r+a]=(e/u>>0)-g&255;return r+n};l.prototype.writeIntBE=function(e,r,n,i){if(e=+e,r=r>>>0,!i){var o=Math.pow(2,8*n-1);v(this,e,r,n,o-1,-o)}var a=n-1,u=1,g=0;for(this[r+a]=e&255;--a>=0&&(u*=256);)e<0&&g===0&&this[r+a+1]!==0&&(g=1),this[r+a]=(e/u>>0)-g&255;return r+n};l.prototype.writeInt8=function(e,r,n){return e=+e,r=r>>>0,n||v(this,e,r,1,127,-128),e<0&&(e=255+e+1),this[r]=e&255,r+1};l.prototype.writeInt16LE=function(e,r,n){return e=+e,r=r>>>0,n||v(this,e,r,2,32767,-32768),this[r]=e&255,this[r+1]=e>>>8,r+2};l.prototype.writeInt16BE=function(e,r,n){return e=+e,r=r>>>0,n||v(this,e,r,2,32767,-32768),this[r]=e>>>8,this[r+1]=e&255,r+2};l.prototype.writeInt32LE=function(e,r,n){return e=+e,r=r>>>0,n||v(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};l.prototype.writeInt32BE=function(e,r,n){return e=+e,r=r>>>0,n||v(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 Je(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 Qe(t,e,r,n,i){return e=+e,r=r>>>0,i||Je(t,e,r,4,34028234663852886e22,-34028234663852886e22),j.write(t,e,r,n,23,4),r+4}l.prototype.writeFloatLE=function(e,r,n){return Qe(this,e,r,!0,n)};l.prototype.writeFloatBE=function(e,r,n){return Qe(this,e,r,!1,n)};function er(t,e,r,n,i){return e=+e,r=r>>>0,i||Je(t,e,r,8,17976931348623157e292,-17976931348623157e292),j.write(t,e,r,n,52,8),r+8}l.prototype.writeDoubleLE=function(e,r,n){return er(this,e,r,!0,n)};l.prototype.writeDoubleBE=function(e,r,n){return er(this,e,r,!1,n)};l.prototype.copy=function(e,r,n,i){if(!l.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};l.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"&&!l.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 u=l.isBuffer(e)?e:l.from(e,i),g=u.length;if(g===0)throw new TypeError('The value "'+e+'" is invalid for argument "value"');for(a=0;a<n-r;++a)this[a+r]=u[a%g]}return this};var Nt=/[^+/0-9A-Za-z-_]/g;function Et(t){if(t=t.split("=")[0],t=t.trim().replace(Nt,""),t.length<2)return"";for(;t.length%4!==0;)t=t+"=";return t}function we(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 Rt(t){for(var e=[],r=0;r<t.length;++r)e.push(t.charCodeAt(r)&255);return e}function Lt(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 rr(t){return xe.toByteArray(Et(t))}function se(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 N(t,e){return t instanceof e||t!=null&&t.constructor!=null&&t.constructor.name!=null&&t.constructor.name===e.name}function Ae(t){return t!==t}var Dt=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 sr=ie((jt,ar)=>{s();var x=ar.exports={},E,R;function Ie(){throw new Error("setTimeout has not been defined")}function Se(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?E=setTimeout:E=Ie}catch(t){E=Ie}try{typeof clearTimeout=="function"?R=clearTimeout:R=Se}catch(t){R=Se}})();function nr(t){if(E===setTimeout)return setTimeout(t,0);if((E===Ie||!E)&&setTimeout)return E=setTimeout,setTimeout(t,0);try{return E(t,0)}catch(e){try{return E.call(null,t,0)}catch(r){return E.call(this,t,0)}}}function Ft(t){if(R===clearTimeout)return clearTimeout(t);if((R===Se||!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 C=[],K=!1,$,le=-1;function Ct(){!K||!$||(K=!1,$.length?C=$.concat(C):le=-1,C.length&&ir())}function ir(){if(!K){var t=nr(Ct);K=!0;for(var e=C.length;e;){for($=C,C=[];++le<e;)$&&$[le].run();le=-1,e=C.length}$=null,K=!1,Ft(t)}}x.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];C.push(new or(t,e)),C.length===1&&!K&&nr(ir)};function or(t,e){this.fun=t,this.array=e}or.prototype.run=function(){this.fun.apply(null,this.array)};x.title="browser";x.browser=!0;x.env={};x.argv=[];x.version="";x.versions={};function O(){}x.on=O;x.addListener=O;x.once=O;x.off=O;x.removeListener=O;x.removeAllListeners=O;x.emit=O;x.prependListener=O;x.prependOnceListener=O;x.listeners=function(t){return[]};x.binding=function(t){throw new Error("process.binding is not supported")};x.cwd=function(){return"/"};x.chdir=function(t){throw new Error("process.chdir is not supported")};x.umask=function(){return 0}});var c,p,zt,s=et(()=>{c=U(tr()),p=U(sr()),zt=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 Gt={};rt(Gt,{getTransactionValue:()=>Mt});module.exports=tt(Gt);s();s();s();s();s();s();s();s();s();s();s();s();s();s();s();s();var _e=require("@multiversx/sdk-dapp-utils/out/constants/crossWindowProviderConstants"),X=require("@multiversx/sdk-dapp-utils/out/enums/crossWindowProviderEnums");var lr=(r=>(r.signTransactionsWithGuardianResponse="SIGN_TRANSACTIONS_WITH_GUARDIAN_RESPONSE",r.reloginRequest="RELOGIN_REQUEST",r))(lr||{}),an=D(D({},X.CrossWindowProviderRequestEnums),lr),cr=(e=>(e.reloginResponse="RELOGIN_RESPONSE",e))(cr||{}),sn=D(D({},X.CrossWindowProviderResponseEnums),cr);s();s();s();var Ne=(n=>(n.nft="nft",n.esdt="esdt",n.egld="egld",n))(Ne||{});s();s();s();var Ee={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",roundDuration:6e3},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",roundDuration:6e3},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",roundDuration:6e3}},{chainId:ur,egldLabel:An}=Ee["devnet"],{chainId:pr,egldLabel:In}=Ee["testnet"],{chainId:dr,egldLabel:Sn}=Ee["mainnet"];var _n={["devnet"]:ur,["testnet"]:pr,["mainnet"]:dr},Nn={[ur]:"devnet",[pr]:"testnet",[dr]:"mainnet"};s();s();var L=require("@multiversx/sdk-web-wallet-provider");s();var gr,mr,Re=String((mr=(gr=_e.safeWindow)==null?void 0:gr.navigator)==null?void 0:mr.userAgent),Fn=/^((?!chrome|android).)*safari/i.test(Re),Cn=/firefox/i.test(Re)&&/windows/i.test(Re);var k=18,ce=4;var ue="0";s();var pe=(n=>(n.NonFungibleESDT="NonFungibleESDT",n.SemiFungibleESDT="SemiFungibleESDT",n.MetaESDT="MetaESDT",n))(pe||{});s();var fr=t=>{var e,r,n,i;if(t.action){let o=[(e=t.action.arguments)==null?void 0:e.token,(r=t.action.arguments)==null?void 0:r.token1,(n=t.action.arguments)==null?void 0:n.token2,(i=t.action.arguments)==null?void 0:i.transfers].filter(u=>u!=null);return[].concat(...o)}return[]};s();s();s();s();var yr=require("@multiversx/sdk-core"),P=U(require("bignumber.js"));s();var hr=U(require("bignumber.js")),Le=(t,e=!0)=>{let r=String(t);if(!r.match(/^[-]?\d+$/))return!1;let n=new hr.default(r),i=e?0:-1;return n.toString(10)===r&&n.comparedTo(0)>=i};s();function B(t){return{if:function(e){return e?{then:r=>r instanceof Function?B(r(t)):B(r)}:{then:()=>B(t)}},then:e=>e instanceof Function?B(e(t)):B(e),valueOf:function(){return t}}}P.default.config({ROUNDING_MODE:P.default.ROUND_FLOOR});function M({input:t,decimals:e=k,digits:r=ce,showLastNonZeroDecimal:n=!0,showIsLessThanDecimalsLabel:i=!1,addCommas:o=!1}){if(!Le(t,!1))throw new Error("Invalid input");let a=new P.default(t).isNegative(),u=t;return a&&(u=t.substring(1)),B(u).then(()=>yr.TokenTransfer.fungibleFromBigInteger("",u,e).amountAsBigInteger.shiftedBy(-e).toFixed(e)).then(g=>{let m=new P.default(g);if(m.isZero())return ue;let h=m.toString(10),[f,y]=h.split("."),T=new P.default(y||0),w=B(0).if(Boolean(y&&n)).then(()=>Math.max(y.length,r)).if(T.isZero()&&!n).then(0).if(Boolean(y&&!n)).then(()=>Math.min(y.length,r)).valueOf(),q=y&&r>=1&&r<=y.length&&T.isGreaterThan(0)&&new P.default(y.substring(0,r)).isZero(),fe=m.toFormat(w);return B(h).if(o).then(fe).if(Boolean(q)).then(ee=>{let Z=new P.default(f).isZero(),[S,re]=ee.split("."),te=new Array(r-1).fill(0),qr=[...te,0].join(""),jr=[...te,1].join("");return Z?i?`<${S}.${jr}`:n?`${S}.${re}`:S:`${S}.${qr}`}).if(Boolean(!q&&y)).then(ee=>{let[Z]=ee.split("."),S=y.substring(0,w);if(n){let re=r-S.length;if(re>0){let te=Array(re).fill(0).join("");return S=`${S}${te}`,`${Z}.${S}`}return ee}return S?`${Z}.${S}`:Z}).valueOf()}).if(a).then(g=>`-${g}`).valueOf()}s();s();var Ot=require("@multiversx/sdk-core");s();var Q=require("@multiversx/sdk-core"),Ut=U(require("bignumber.js"));s();s();s();var Bt=U(require("bignumber.js"));s();s();var De={isEsdt:!1,isNft:!1,isEgld:!1};function xr(t){let e=t==null?void 0:t.split("-").length;return e===2?ne(D({},De),{isEsdt:!0}):e===3?ne(D({},De),{isNft:!0}):ne(D({},De),{isEgld:!0})}s();s();s();s();s();s();s();s();var G="accounts";var Tr="blocks",br="code",wr="collections";var vr="contracts";var kr="identities";var Ar="locked-accounts",Ir="logs",Sr="miniblocks";var Fe="nfts",_r="nodes",Ce="providers",Nr="roles",Oe="sc-results";var Y="tokens";var H="transactions";var de={shard:t=>`/${Tr}?shard=${t}`,receiverShard:t=>`/${H}?receivershard=${t}`,senderShard:t=>`/${H}?sendershard=${t}`,transactionDetails:t=>`/${H}/${t}`,transactionDetailsScResults:t=>`/${H}/${t}/${Oe}`,transactionDetailsLogs:t=>`/${H}/${t}/${Ir}`,nodeDetails:t=>`/${_r}/${t}`,accountDetails:t=>`/${G}/${t}`,accountDetailsContractCode:t=>`/${G}/${t}/${br}`,accountDetailsTokens:t=>`/${G}/${t}/${Y}`,accountDetailsNfts:t=>`/${G}/${t}/${Fe}`,accountDetailsScResults:t=>`/${G}/${t}/${Oe}`,accountDetailsContracts:t=>`/${G}/${t}/${vr}`,identityDetails:t=>`/${kr}/${t}`,tokenDetails:t=>`/${Y}/${t}`,tokenDetailsAccounts:t=>`/${Y}/${t}/${G}`,tokenDetailsLockedAccounts:t=>`/${Y}/${t}/${Ar}`,tokenDetailsRoles:t=>`/${Y}/${t}/${Nr}`,collectionDetails:t=>`/${wr}/${t}`,nftDetails:t=>`/${Fe}/${t}`,providerDetails:t=>`/${Ce}/${t}`,providerDetailsTransactions:t=>`/${Ce}/${t}/${H}`,miniblockDetails:t=>`/${Sr}/${t}`};function ge({token:t,noValue:e,showLastNonZeroDecimal:r}){var m;let n=!e&&t.value&&t.type!=="NonFungibleESDT",i=t.decimals!=null,o="";t.type==="NonFungibleESDT"&&(o="NFT"),t.type==="SemiFungibleESDT"&&(o="SFT"),t.type==="MetaESDT"&&(o="Meta-ESDT");let a="";n&&i&&(a=i?M({input:t.value,decimals:t.decimals,digits:2,showLastNonZeroDecimal:r}):Number(t.value).toLocaleString("en"));let u=de.nftDetails(String(t.identifier)),g=t.ticker===t.collection&&(m=t.identifier)!=null?m:t.ticker;return{badgeText:o,tokenFormattedAmount:n?a:null,tokenExplorerLink:u,tokenLinkText:g,token:t,noValue:e,showLastNonZeroDecimal:r}}s();function me({token:t,noValue:e,showLastNonZeroDecimal:r}){var u;let n=Boolean(!e&&t.value),i=n?M({input:t.value,decimals:(u=t.decimals)!=null?u:k,digits:2,showLastNonZeroDecimal:r,addCommas:!0}):null,o=de.tokenDetails(String(t.token)),a=t.ticker;return{tokenExplorerLink:o,tokenFormattedAmount:i,showFormattedAmount:n,tokenLinkText:a,token:t,showLastNonZeroDecimal:r}}s();var Er=["reDelegateRewards","claimRewards","unBond"],Rr=["wrapEgld","unwrapEgld"],Lr=["unStake"],Dr=["unDelegate"];s();s();var Fr=t=>{let e=t.map(n=>{let{isNft:i}=xr(n.type);if(i){let{badgeText:h,tokenFormattedAmount:f,tokenLinkText:y}=ge({token:n});return`${h!=null?`(${h}) `:""}${f} ${y}`}let{tokenFormattedAmount:o,tokenLinkText:a,token:u}=me({token:n}),g=u.collection?u.identifier:u.token;return`${o} ${a} (${g})`});return decodeURI(e.join("%0A"))};s();var I=t=>({egldValueData:{value:t,formattedValue:M({input:t}),decimals:k}});s();var Br=U(require("bignumber.js"));s();s();function Pt(t){try{let e=atob(t),r=btoa(e),n=c.Buffer.from(t,"base64").toString(),i=c.Buffer.from(n).toString("base64"),o=t===r||r.startsWith(t),a=t===i||i.startsWith(t);if(o&&a)return!0}catch(e){return!1}return!1}function Cr(t){return Pt(t)?atob(t):t}s();s();s();s();var Or=!1;function Ur(t){var e;try{let n=Cr(t.data).replace(`${(e=t.action)==null?void 0:e.name}@`,""),i=new Br.default(n,16);if(!i.isNaN())return I(i.toString(10))}catch(r){Or||(console.error(`Unable to extract value for txHash: ${t.txHash}`),Or=!0)}return I(t.value)}s();s();var Pr=t=>{var r,n;return(n=(r=t==null?void 0:t.operations)==null?void 0:r.filter(i=>Object.values(Ne).includes(i.type)))!=null?n:[]};var Mr=!1,Gr=t=>{Mr||(console.error(`Operations field missing for txHash: ${t}.
1
+ "use strict";var zr=Object.create;var J=Object.defineProperty,Kr=Object.defineProperties,Xr=Object.getOwnPropertyDescriptor,Yr=Object.getOwnPropertyDescriptors,Zr=Object.getOwnPropertyNames,Be=Object.getOwnPropertySymbols,Jr=Object.getPrototypeOf,Pe=Object.prototype.hasOwnProperty,Qr=Object.prototype.propertyIsEnumerable;var Ue=(t,e,r)=>e in t?J(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,D=(t,e)=>{for(var r in e||(e={}))Pe.call(e,r)&&Ue(t,r,e[r]);if(Be)for(var r of Be(e))Qr.call(e,r)&&Ue(t,r,e[r]);return t},ne=(t,e)=>Kr(t,Yr(e));var et=(t,e)=>()=>(t&&(e=t(t=0)),e);var ie=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),rt=(t,e)=>{for(var r in e)J(t,r,{get:e[r],enumerable:!0})},Me=(t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of Zr(e))!Pe.call(t,i)&&i!==r&&J(t,i,{get:()=>e[i],enumerable:!(n=Xr(e,i))||n.enumerable});return t};var U=(t,e,r)=>(r=t!=null?zr(Jr(t)):{},Me(e||!t||!t.__esModule?J(r,"default",{value:t,enumerable:!0}):r,t)),tt=t=>Me(J({},"__esModule",{value:!0}),t);var We=ie(oe=>{"use strict";s();oe.byteLength=it;oe.toByteArray=at;oe.fromByteArray=ct;var N=[],A=[],nt=typeof Uint8Array!="undefined"?Uint8Array:Array,he="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(V=0,Ge=he.length;V<Ge;++V)N[V]=he[V],A[he.charCodeAt(V)]=V;var V,Ge;A["-".charCodeAt(0)]=62;A["_".charCodeAt(0)]=63;function Ve(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 it(t){var e=Ve(t),r=e[0],n=e[1];return(r+n)*3/4-n}function ot(t,e,r){return(e+r)*3/4-r}function at(t){var e,r=Ve(t),n=r[0],i=r[1],o=new nt(ot(t,n,i)),a=0,u=i>0?n-4:n,g;for(g=0;g<u;g+=4)e=A[t.charCodeAt(g)]<<18|A[t.charCodeAt(g+1)]<<12|A[t.charCodeAt(g+2)]<<6|A[t.charCodeAt(g+3)],o[a++]=e>>16&255,o[a++]=e>>8&255,o[a++]=e&255;return i===2&&(e=A[t.charCodeAt(g)]<<2|A[t.charCodeAt(g+1)]>>4,o[a++]=e&255),i===1&&(e=A[t.charCodeAt(g)]<<10|A[t.charCodeAt(g+1)]<<4|A[t.charCodeAt(g+2)]>>2,o[a++]=e>>8&255,o[a++]=e&255),o}function st(t){return N[t>>18&63]+N[t>>12&63]+N[t>>6&63]+N[t&63]}function lt(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(st(n));return i.join("")}function ct(t){for(var e,r=t.length,n=r%3,i=[],o=16383,a=0,u=r-n;a<u;a+=o)i.push(lt(t,a,a+o>u?u:a+o));return n===1?(e=t[r-1],i.push(N[e>>2]+N[e<<4&63]+"==")):n===2&&(e=(t[r-2]<<8)+t[r-1],i.push(N[e>>10]+N[e>>4&63]+N[e<<2&63]+"=")),i.join("")}});var $e=ie(ye=>{s();ye.read=function(t,e,r,n,i){var o,a,u=i*8-n-1,g=(1<<u)-1,m=g>>1,h=-7,f=r?i-1:0,y=r?-1:1,T=t[e+f];for(f+=y,o=T&(1<<-h)-1,T>>=-h,h+=u;h>0;o=o*256+t[e+f],f+=y,h-=8);for(a=o&(1<<-h)-1,o>>=-h,h+=n;h>0;a=a*256+t[e+f],f+=y,h-=8);if(o===0)o=1-m;else{if(o===g)return a?NaN:(T?-1:1)*(1/0);a=a+Math.pow(2,n),o=o-m}return(T?-1:1)*a*Math.pow(2,o-n)};ye.write=function(t,e,r,n,i,o){var a,u,g,m=o*8-i-1,h=(1<<m)-1,f=h>>1,y=i===23?Math.pow(2,-24)-Math.pow(2,-77):0,T=n?0:o-1,w=n?1:-1,q=e<0||e===0&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(u=isNaN(e)?1:0,a=h):(a=Math.floor(Math.log(e)/Math.LN2),e*(g=Math.pow(2,-a))<1&&(a--,g*=2),a+f>=1?e+=y/g:e+=y*Math.pow(2,1-f),e*g>=2&&(a++,g/=2),a+f>=h?(u=0,a=h):a+f>=1?(u=(e*g-1)*Math.pow(2,i),a=a+f):(u=e*Math.pow(2,f-1)*Math.pow(2,i),a=0));i>=8;t[r+T]=u&255,T+=w,u/=256,i-=8);for(a=a<<i|u,m+=i;m>0;t[r+T]=a&255,T+=w,a/=256,m-=8);t[r+T-w]|=q*128}});var tr=ie(z=>{"use strict";s();var xe=We(),j=$e(),He=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;z.Buffer=l;z.SlowBuffer=ft;z.INSPECT_MAX_BYTES=50;var ae=2147483647;z.kMaxLength=ae;l.TYPED_ARRAY_SUPPORT=ut();!l.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 ut(){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(l.prototype,"parent",{enumerable:!0,get:function(){if(!!l.isBuffer(this))return this.buffer}});Object.defineProperty(l.prototype,"offset",{enumerable:!0,get:function(){if(!!l.isBuffer(this))return this.byteOffset}});function F(t){if(t>ae)throw new RangeError('The value "'+t+'" is invalid for option "size"');var e=new Uint8Array(t);return Object.setPrototypeOf(e,l.prototype),e}function l(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 ve(t)}return ze(t,e,r)}l.poolSize=8192;function ze(t,e,r){if(typeof t=="string")return dt(t,e);if(ArrayBuffer.isView(t))return gt(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 be(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 l.from(n,e,r);var i=mt(t);if(i)return i;if(typeof Symbol!="undefined"&&Symbol.toPrimitive!=null&&typeof t[Symbol.toPrimitive]=="function")return l.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)}l.from=function(t,e,r){return ze(t,e,r)};Object.setPrototypeOf(l.prototype,Uint8Array.prototype);Object.setPrototypeOf(l,Uint8Array);function Ke(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 pt(t,e,r){return Ke(t),t<=0?F(t):e!==void 0?typeof r=="string"?F(t).fill(e,r):F(t).fill(e):F(t)}l.alloc=function(t,e,r){return pt(t,e,r)};function ve(t){return Ke(t),F(t<0?0:ke(t)|0)}l.allocUnsafe=function(t){return ve(t)};l.allocUnsafeSlow=function(t){return ve(t)};function dt(t,e){if((typeof e!="string"||e==="")&&(e="utf8"),!l.isEncoding(e))throw new TypeError("Unknown encoding: "+e);var r=Xe(t,e)|0,n=F(r),i=n.write(t,e);return i!==r&&(n=n.slice(0,i)),n}function Te(t){for(var e=t.length<0?0:ke(t.length)|0,r=F(e),n=0;n<e;n+=1)r[n]=t[n]&255;return r}function gt(t){if(_(t,Uint8Array)){var e=new Uint8Array(t);return be(e.buffer,e.byteOffset,e.byteLength)}return Te(t)}function be(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,l.prototype),n}function mt(t){if(l.isBuffer(t)){var e=ke(t.length)|0,r=F(e);return r.length===0||t.copy(r,0,0,e),r}if(t.length!==void 0)return typeof t.length!="number"||Ae(t.length)?F(0):Te(t);if(t.type==="Buffer"&&Array.isArray(t.data))return Te(t.data)}function ke(t){if(t>=ae)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+ae.toString(16)+" bytes");return t|0}function ft(t){return+t!=t&&(t=0),l.alloc(+t)}l.isBuffer=function(e){return e!=null&&e._isBuffer===!0&&e!==l.prototype};l.compare=function(e,r){if(_(e,Uint8Array)&&(e=l.from(e,e.offset,e.byteLength)),_(r,Uint8Array)&&(r=l.from(r,r.offset,r.byteLength)),!l.isBuffer(e)||!l.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};l.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}};l.concat=function(e,r){if(!Array.isArray(e))throw new TypeError('"list" argument must be an Array of Buffers');if(e.length===0)return l.alloc(0);var n;if(r===void 0)for(r=0,n=0;n<e.length;++n)r+=e[n].length;var i=l.allocUnsafe(r),o=0;for(n=0;n<e.length;++n){var a=e[n];if(_(a,Uint8Array))o+a.length>i.length?l.from(a).copy(i,o):Uint8Array.prototype.set.call(i,a,o);else if(l.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(l.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 we(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return r*2;case"hex":return r>>>1;case"base64":return rr(t).length;default:if(i)return n?-1:we(t).length;e=(""+e).toLowerCase(),i=!0}}l.byteLength=Xe;function ht(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 St(this,e,r);case"utf8":case"utf-8":return Ze(this,e,r);case"ascii":return At(this,e,r);case"latin1":case"binary":return It(this,e,r);case"base64":return vt(this,e,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Nt(this,e,r);default:if(n)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),n=!0}}l.prototype._isBuffer=!0;function W(t,e,r){var n=t[e];t[e]=t[r],t[r]=n}l.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)W(this,r,r+1);return this};l.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)W(this,r,r+3),W(this,r+1,r+2);return this};l.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)W(this,r,r+7),W(this,r+1,r+6),W(this,r+2,r+5),W(this,r+3,r+4);return this};l.prototype.toString=function(){var e=this.length;return e===0?"":arguments.length===0?Ze(this,0,e):ht.apply(this,arguments)};l.prototype.toLocaleString=l.prototype.toString;l.prototype.equals=function(e){if(!l.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e?!0:l.compare(this,e)===0};l.prototype.inspect=function(){var e="",r=z.INSPECT_MAX_BYTES;return e=this.toString("hex",0,r).replace(/(.{2})/g,"$1 ").trim(),this.length>r&&(e+=" ... "),"<Buffer "+e+">"};He&&(l.prototype[He]=l.prototype.inspect);l.prototype.compare=function(e,r,n,i,o){if(_(e,Uint8Array)&&(e=l.from(e,e.offset,e.byteLength)),!l.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,u=n-r,g=Math.min(a,u),m=this.slice(i,o),h=e.slice(r,n),f=0;f<g;++f)if(m[f]!==h[f]){a=m[f],u=h[f];break}return a<u?-1:u<a?1:0};function Ye(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,Ae(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=l.from(e,n)),l.isBuffer(e))return e.length===0?-1:qe(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):qe(t,[e],r,n,i);throw new TypeError("val must be string, number or Buffer")}function qe(t,e,r,n,i){var o=1,a=t.length,u=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,u/=2,r/=2}function g(T,w){return o===1?T[w]:T.readUInt16BE(w*o)}var m;if(i){var h=-1;for(m=r;m<a;m++)if(g(t,m)===g(e,h===-1?0:m-h)){if(h===-1&&(h=m),m-h+1===u)return h*o}else h!==-1&&(m-=m-h),h=-1}else for(r+u>a&&(r=a-u),m=r;m>=0;m--){for(var f=!0,y=0;y<u;y++)if(g(t,m+y)!==g(e,y)){f=!1;break}if(f)return m}return-1}l.prototype.includes=function(e,r,n){return this.indexOf(e,r,n)!==-1};l.prototype.indexOf=function(e,r,n){return Ye(this,e,r,n,!0)};l.prototype.lastIndexOf=function(e,r,n){return Ye(this,e,r,n,!1)};function yt(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 u=parseInt(e.substr(a*2,2),16);if(Ae(u))return a;t[r+a]=u}return a}function xt(t,e,r,n){return se(we(e,t.length-r),t,r,n)}function Tt(t,e,r,n){return se(Rt(e),t,r,n)}function bt(t,e,r,n){return se(rr(e),t,r,n)}function wt(t,e,r,n){return se(Lt(e,t.length-r),t,r,n)}l.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 yt(this,e,r,n);case"utf8":case"utf-8":return xt(this,e,r,n);case"ascii":case"latin1":case"binary":return Tt(this,e,r,n);case"base64":return bt(this,e,r,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return wt(this,e,r,n);default:if(a)throw new TypeError("Unknown encoding: "+i);i=(""+i).toLowerCase(),a=!0}};l.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function vt(t,e,r){return e===0&&r===t.length?xe.fromByteArray(t):xe.fromByteArray(t.slice(e,r))}function Ze(t,e,r){r=Math.min(t.length,r);for(var n=[],i=e;i<r;){var o=t[i],a=null,u=o>239?4:o>223?3:o>191?2:1;if(i+u<=r){var g,m,h,f;switch(u){case 1:o<128&&(a=o);break;case 2:g=t[i+1],(g&192)===128&&(f=(o&31)<<6|g&63,f>127&&(a=f));break;case 3:g=t[i+1],m=t[i+2],(g&192)===128&&(m&192)===128&&(f=(o&15)<<12|(g&63)<<6|m&63,f>2047&&(f<55296||f>57343)&&(a=f));break;case 4:g=t[i+1],m=t[i+2],h=t[i+3],(g&192)===128&&(m&192)===128&&(h&192)===128&&(f=(o&15)<<18|(g&63)<<12|(m&63)<<6|h&63,f>65535&&f<1114112&&(a=f))}}a===null?(a=65533,u=1):a>65535&&(a-=65536,n.push(a>>>10&1023|55296),a=56320|a&1023),n.push(a),i+=u}return kt(n)}var je=4096;function kt(t){var e=t.length;if(e<=je)return String.fromCharCode.apply(String,t);for(var r="",n=0;n<e;)r+=String.fromCharCode.apply(String,t.slice(n,n+=je));return r}function At(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 It(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 St(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+=Dt[t[o]];return i}function Nt(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}l.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,l.prototype),i};function b(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")}l.prototype.readUintLE=l.prototype.readUIntLE=function(e,r,n){e=e>>>0,r=r>>>0,n||b(e,r,this.length);for(var i=this[e],o=1,a=0;++a<r&&(o*=256);)i+=this[e+a]*o;return i};l.prototype.readUintBE=l.prototype.readUIntBE=function(e,r,n){e=e>>>0,r=r>>>0,n||b(e,r,this.length);for(var i=this[e+--r],o=1;r>0&&(o*=256);)i+=this[e+--r]*o;return i};l.prototype.readUint8=l.prototype.readUInt8=function(e,r){return e=e>>>0,r||b(e,1,this.length),this[e]};l.prototype.readUint16LE=l.prototype.readUInt16LE=function(e,r){return e=e>>>0,r||b(e,2,this.length),this[e]|this[e+1]<<8};l.prototype.readUint16BE=l.prototype.readUInt16BE=function(e,r){return e=e>>>0,r||b(e,2,this.length),this[e]<<8|this[e+1]};l.prototype.readUint32LE=l.prototype.readUInt32LE=function(e,r){return e=e>>>0,r||b(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+this[e+3]*16777216};l.prototype.readUint32BE=l.prototype.readUInt32BE=function(e,r){return e=e>>>0,r||b(e,4,this.length),this[e]*16777216+(this[e+1]<<16|this[e+2]<<8|this[e+3])};l.prototype.readIntLE=function(e,r,n){e=e>>>0,r=r>>>0,n||b(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};l.prototype.readIntBE=function(e,r,n){e=e>>>0,r=r>>>0,n||b(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};l.prototype.readInt8=function(e,r){return e=e>>>0,r||b(e,1,this.length),this[e]&128?(255-this[e]+1)*-1:this[e]};l.prototype.readInt16LE=function(e,r){e=e>>>0,r||b(e,2,this.length);var n=this[e]|this[e+1]<<8;return n&32768?n|4294901760:n};l.prototype.readInt16BE=function(e,r){e=e>>>0,r||b(e,2,this.length);var n=this[e+1]|this[e]<<8;return n&32768?n|4294901760:n};l.prototype.readInt32LE=function(e,r){return e=e>>>0,r||b(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24};l.prototype.readInt32BE=function(e,r){return e=e>>>0,r||b(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]};l.prototype.readFloatLE=function(e,r){return e=e>>>0,r||b(e,4,this.length),j.read(this,e,!0,23,4)};l.prototype.readFloatBE=function(e,r){return e=e>>>0,r||b(e,4,this.length),j.read(this,e,!1,23,4)};l.prototype.readDoubleLE=function(e,r){return e=e>>>0,r||b(e,8,this.length),j.read(this,e,!0,52,8)};l.prototype.readDoubleBE=function(e,r){return e=e>>>0,r||b(e,8,this.length),j.read(this,e,!1,52,8)};function v(t,e,r,n,i,o){if(!l.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")}l.prototype.writeUintLE=l.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;v(this,e,r,n,o,0)}var a=1,u=0;for(this[r]=e&255;++u<n&&(a*=256);)this[r+u]=e/a&255;return r+n};l.prototype.writeUintBE=l.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;v(this,e,r,n,o,0)}var a=n-1,u=1;for(this[r+a]=e&255;--a>=0&&(u*=256);)this[r+a]=e/u&255;return r+n};l.prototype.writeUint8=l.prototype.writeUInt8=function(e,r,n){return e=+e,r=r>>>0,n||v(this,e,r,1,255,0),this[r]=e&255,r+1};l.prototype.writeUint16LE=l.prototype.writeUInt16LE=function(e,r,n){return e=+e,r=r>>>0,n||v(this,e,r,2,65535,0),this[r]=e&255,this[r+1]=e>>>8,r+2};l.prototype.writeUint16BE=l.prototype.writeUInt16BE=function(e,r,n){return e=+e,r=r>>>0,n||v(this,e,r,2,65535,0),this[r]=e>>>8,this[r+1]=e&255,r+2};l.prototype.writeUint32LE=l.prototype.writeUInt32LE=function(e,r,n){return e=+e,r=r>>>0,n||v(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};l.prototype.writeUint32BE=l.prototype.writeUInt32BE=function(e,r,n){return e=+e,r=r>>>0,n||v(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};l.prototype.writeIntLE=function(e,r,n,i){if(e=+e,r=r>>>0,!i){var o=Math.pow(2,8*n-1);v(this,e,r,n,o-1,-o)}var a=0,u=1,g=0;for(this[r]=e&255;++a<n&&(u*=256);)e<0&&g===0&&this[r+a-1]!==0&&(g=1),this[r+a]=(e/u>>0)-g&255;return r+n};l.prototype.writeIntBE=function(e,r,n,i){if(e=+e,r=r>>>0,!i){var o=Math.pow(2,8*n-1);v(this,e,r,n,o-1,-o)}var a=n-1,u=1,g=0;for(this[r+a]=e&255;--a>=0&&(u*=256);)e<0&&g===0&&this[r+a+1]!==0&&(g=1),this[r+a]=(e/u>>0)-g&255;return r+n};l.prototype.writeInt8=function(e,r,n){return e=+e,r=r>>>0,n||v(this,e,r,1,127,-128),e<0&&(e=255+e+1),this[r]=e&255,r+1};l.prototype.writeInt16LE=function(e,r,n){return e=+e,r=r>>>0,n||v(this,e,r,2,32767,-32768),this[r]=e&255,this[r+1]=e>>>8,r+2};l.prototype.writeInt16BE=function(e,r,n){return e=+e,r=r>>>0,n||v(this,e,r,2,32767,-32768),this[r]=e>>>8,this[r+1]=e&255,r+2};l.prototype.writeInt32LE=function(e,r,n){return e=+e,r=r>>>0,n||v(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};l.prototype.writeInt32BE=function(e,r,n){return e=+e,r=r>>>0,n||v(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 Je(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 Qe(t,e,r,n,i){return e=+e,r=r>>>0,i||Je(t,e,r,4,34028234663852886e22,-34028234663852886e22),j.write(t,e,r,n,23,4),r+4}l.prototype.writeFloatLE=function(e,r,n){return Qe(this,e,r,!0,n)};l.prototype.writeFloatBE=function(e,r,n){return Qe(this,e,r,!1,n)};function er(t,e,r,n,i){return e=+e,r=r>>>0,i||Je(t,e,r,8,17976931348623157e292,-17976931348623157e292),j.write(t,e,r,n,52,8),r+8}l.prototype.writeDoubleLE=function(e,r,n){return er(this,e,r,!0,n)};l.prototype.writeDoubleBE=function(e,r,n){return er(this,e,r,!1,n)};l.prototype.copy=function(e,r,n,i){if(!l.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};l.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"&&!l.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 u=l.isBuffer(e)?e:l.from(e,i),g=u.length;if(g===0)throw new TypeError('The value "'+e+'" is invalid for argument "value"');for(a=0;a<n-r;++a)this[a+r]=u[a%g]}return this};var _t=/[^+/0-9A-Za-z-_]/g;function Et(t){if(t=t.split("=")[0],t=t.trim().replace(_t,""),t.length<2)return"";for(;t.length%4!==0;)t=t+"=";return t}function we(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 Rt(t){for(var e=[],r=0;r<t.length;++r)e.push(t.charCodeAt(r)&255);return e}function Lt(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 rr(t){return xe.toByteArray(Et(t))}function se(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 Ae(t){return t!==t}var Dt=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 sr=ie((jt,ar)=>{s();var x=ar.exports={},E,R;function Ie(){throw new Error("setTimeout has not been defined")}function Se(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?E=setTimeout:E=Ie}catch(t){E=Ie}try{typeof clearTimeout=="function"?R=clearTimeout:R=Se}catch(t){R=Se}})();function nr(t){if(E===setTimeout)return setTimeout(t,0);if((E===Ie||!E)&&setTimeout)return E=setTimeout,setTimeout(t,0);try{return E(t,0)}catch(e){try{return E.call(null,t,0)}catch(r){return E.call(this,t,0)}}}function Ft(t){if(R===clearTimeout)return clearTimeout(t);if((R===Se||!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 C=[],K=!1,$,le=-1;function Ct(){!K||!$||(K=!1,$.length?C=$.concat(C):le=-1,C.length&&ir())}function ir(){if(!K){var t=nr(Ct);K=!0;for(var e=C.length;e;){for($=C,C=[];++le<e;)$&&$[le].run();le=-1,e=C.length}$=null,K=!1,Ft(t)}}x.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];C.push(new or(t,e)),C.length===1&&!K&&nr(ir)};function or(t,e){this.fun=t,this.array=e}or.prototype.run=function(){this.fun.apply(null,this.array)};x.title="browser";x.browser=!0;x.env={};x.argv=[];x.version="";x.versions={};function O(){}x.on=O;x.addListener=O;x.once=O;x.off=O;x.removeListener=O;x.removeAllListeners=O;x.emit=O;x.prependListener=O;x.prependOnceListener=O;x.listeners=function(t){return[]};x.binding=function(t){throw new Error("process.binding is not supported")};x.cwd=function(){return"/"};x.chdir=function(t){throw new Error("process.chdir is not supported")};x.umask=function(){return 0}});var c,p,zt,s=et(()=>{c=U(tr()),p=U(sr()),zt=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 Gt={};rt(Gt,{getTransactionValue:()=>Mt});module.exports=tt(Gt);s();s();s();s();s();s();s();s();s();s();s();s();s();s();s();s();var Ne=require("@multiversx/sdk-dapp-utils/out/constants/crossWindowProviderConstants"),X=require("@multiversx/sdk-dapp-utils/out/enums/crossWindowProviderEnums");var lr=(r=>(r.signTransactionsWithGuardianResponse="SIGN_TRANSACTIONS_WITH_GUARDIAN_RESPONSE",r.reloginRequest="RELOGIN_REQUEST",r))(lr||{}),an=D(D({},X.CrossWindowProviderRequestEnums),lr),cr=(e=>(e.reloginResponse="RELOGIN_RESPONSE",e))(cr||{}),sn=D(D({},X.CrossWindowProviderResponseEnums),cr);s();s();s();var _e=(n=>(n.nft="nft",n.esdt="esdt",n.egld="egld",n))(_e||{});s();s();s();var Ee={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",roundDuration:6e3},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",roundDuration:6e3},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",roundDuration:6e3}},{chainId:ur,egldLabel:An}=Ee["devnet"],{chainId:pr,egldLabel:In}=Ee["testnet"],{chainId:dr,egldLabel:Sn}=Ee["mainnet"];var Nn={["devnet"]:ur,["testnet"]:pr,["mainnet"]:dr},_n={[ur]:"devnet",[pr]:"testnet",[dr]:"mainnet"};s();s();var L=require("@multiversx/sdk-web-wallet-provider");s();var gr,mr,Re=String((mr=(gr=Ne.safeWindow)==null?void 0:gr.navigator)==null?void 0:mr.userAgent),Fn=/^((?!chrome|android).)*safari/i.test(Re),Cn=/firefox/i.test(Re)&&/windows/i.test(Re);var k=18,ce=4;var ue="0";s();var pe=(n=>(n.NonFungibleESDT="NonFungibleESDT",n.SemiFungibleESDT="SemiFungibleESDT",n.MetaESDT="MetaESDT",n))(pe||{});s();var fr=t=>{var e,r,n,i;if(t.action){let o=[(e=t.action.arguments)==null?void 0:e.token,(r=t.action.arguments)==null?void 0:r.token1,(n=t.action.arguments)==null?void 0:n.token2,(i=t.action.arguments)==null?void 0:i.transfers].filter(u=>u!=null);return[].concat(...o)}return[]};s();s();s();s();var yr=require("@multiversx/sdk-core"),P=U(require("bignumber.js"));s();var hr=U(require("bignumber.js")),Le=(t,e=!0)=>{let r=String(t);if(!r.match(/^[-]?\d+$/))return!1;let n=new hr.default(r),i=e?0:-1;return n.toString(10)===r&&n.comparedTo(0)>=i};s();function B(t){return{if:function(e){return e?{then:r=>r instanceof Function?B(r(t)):B(r)}:{then:()=>B(t)}},then:e=>e instanceof Function?B(e(t)):B(e),valueOf:function(){return t}}}P.default.config({ROUNDING_MODE:P.default.ROUND_FLOOR});function M({input:t,decimals:e=k,digits:r=ce,showLastNonZeroDecimal:n=!0,showIsLessThanDecimalsLabel:i=!1,addCommas:o=!1}){if(!Le(t,!1))throw new Error("Invalid input");let a=new P.default(t).isNegative(),u=t;return a&&(u=t.substring(1)),B(u).then(()=>yr.TokenTransfer.fungibleFromBigInteger("",u,e).amountAsBigInteger.shiftedBy(-e).toFixed(e)).then(g=>{let m=new P.default(g);if(m.isZero())return ue;let h=m.toString(10),[f,y]=h.split("."),T=new P.default(y||0),w=B(0).if(Boolean(y&&n)).then(()=>Math.max(y.length,r)).if(T.isZero()&&!n).then(0).if(Boolean(y&&!n)).then(()=>Math.min(y.length,r)).valueOf(),q=y&&r>=1&&r<=y.length&&T.isGreaterThan(0)&&new P.default(y.substring(0,r)).isZero(),fe=m.toFormat(w);return B(h).if(o).then(fe).if(Boolean(q)).then(ee=>{let Z=new P.default(f).isZero(),[S,re]=ee.split("."),te=new Array(r-1).fill(0),qr=[...te,0].join(""),jr=[...te,1].join("");return Z?i?`<${S}.${jr}`:n?`${S}.${re}`:S:`${S}.${qr}`}).if(Boolean(!q&&y)).then(ee=>{let[Z]=ee.split("."),S=y.substring(0,w);if(n){let re=r-S.length;if(re>0){let te=Array(re).fill(0).join("");return S=`${S}${te}`,`${Z}.${S}`}return ee}return S?`${Z}.${S}`:Z}).valueOf()}).if(a).then(g=>`-${g}`).valueOf()}s();s();var Ot=require("@multiversx/sdk-core");s();var Q=require("@multiversx/sdk-core"),Ut=U(require("bignumber.js"));s();s();s();var Bt=U(require("bignumber.js"));s();s();var De={isEsdt:!1,isNft:!1,isEgld:!1};function xr(t){let e=t==null?void 0:t.split("-").length;return e===2?ne(D({},De),{isEsdt:!0}):e===3?ne(D({},De),{isNft:!0}):ne(D({},De),{isEgld:!0})}s();s();s();s();s();s();s();s();var G="accounts";var Tr="blocks",br="code",wr="collections";var vr="contracts";var kr="identities";var Ar="locked-accounts",Ir="logs",Sr="miniblocks";var Fe="nfts",Nr="nodes",Ce="providers",_r="roles",Oe="sc-results";var Y="tokens";var H="transactions";var de={shard:t=>`/${Tr}?shard=${t}`,receiverShard:t=>`/${H}?receivershard=${t}`,senderShard:t=>`/${H}?sendershard=${t}`,transactionDetails:t=>`/${H}/${t}`,transactionDetailsScResults:t=>`/${H}/${t}/${Oe}`,transactionDetailsLogs:t=>`/${H}/${t}/${Ir}`,nodeDetails:t=>`/${Nr}/${t}`,accountDetails:t=>`/${G}/${t}`,accountDetailsContractCode:t=>`/${G}/${t}/${br}`,accountDetailsTokens:t=>`/${G}/${t}/${Y}`,accountDetailsNfts:t=>`/${G}/${t}/${Fe}`,accountDetailsScResults:t=>`/${G}/${t}/${Oe}`,accountDetailsContracts:t=>`/${G}/${t}/${vr}`,identityDetails:t=>`/${kr}/${t}`,tokenDetails:t=>`/${Y}/${t}`,tokenDetailsAccounts:t=>`/${Y}/${t}/${G}`,tokenDetailsLockedAccounts:t=>`/${Y}/${t}/${Ar}`,tokenDetailsRoles:t=>`/${Y}/${t}/${_r}`,collectionDetails:t=>`/${wr}/${t}`,nftDetails:t=>`/${Fe}/${t}`,providerDetails:t=>`/${Ce}/${t}`,providerDetailsTransactions:t=>`/${Ce}/${t}/${H}`,miniblockDetails:t=>`/${Sr}/${t}`};function ge({token:t,noValue:e,showLastNonZeroDecimal:r}){var m;let n=!e&&t.value&&t.type!=="NonFungibleESDT",i=t.decimals!=null,o="";t.type==="NonFungibleESDT"&&(o="NFT"),t.type==="SemiFungibleESDT"&&(o="SFT"),t.type==="MetaESDT"&&(o="Meta-ESDT");let a="";n&&i&&(a=i?M({input:t.value,decimals:t.decimals,digits:2,showLastNonZeroDecimal:r}):Number(t.value).toLocaleString("en"));let u=de.nftDetails(String(t.identifier)),g=t.ticker===t.collection&&(m=t.identifier)!=null?m:t.ticker;return{badgeText:o,tokenFormattedAmount:n?a:null,tokenExplorerLink:u,tokenLinkText:g,token:t,noValue:e,showLastNonZeroDecimal:r}}s();function me({token:t,noValue:e,showLastNonZeroDecimal:r}){var u;let n=Boolean(!e&&t.value),i=n?M({input:t.value,decimals:(u=t.decimals)!=null?u:k,digits:2,showLastNonZeroDecimal:r,addCommas:!0}):null,o=de.tokenDetails(String(t.token)),a=t.ticker;return{tokenExplorerLink:o,tokenFormattedAmount:i,showFormattedAmount:n,tokenLinkText:a,token:t,showLastNonZeroDecimal:r}}s();var Er=["reDelegateRewards","claimRewards","unBond"],Rr=["wrapEgld","unwrapEgld"],Lr=["unStake"],Dr=["unDelegate"];s();s();var Fr=t=>{let e=t.map(n=>{let{isNft:i}=xr(n.type);if(i){let{badgeText:h,tokenFormattedAmount:f,tokenLinkText:y}=ge({token:n});return`${h!=null?`(${h}) `:""}${f} ${y}`}let{tokenFormattedAmount:o,tokenLinkText:a,token:u}=me({token:n}),g=u.collection?u.identifier:u.token;return`${o} ${a} (${g})`});return decodeURI(e.join("%0A"))};s();var I=t=>({egldValueData:{value:t,formattedValue:M({input:t}),decimals:k}});s();var Br=U(require("bignumber.js"));s();s();function Pt(t){try{let e=atob(t),r=btoa(e),n=c.Buffer.from(t,"base64").toString(),i=c.Buffer.from(n).toString("base64"),o=t===r||r.startsWith(t),a=t===i||i.startsWith(t);if(o&&a)return!0}catch(e){return!1}return!1}function Cr(t){return Pt(t)?atob(t):t}s();s();s();s();var Or=!1;function Ur(t){var e;try{let n=Cr(t.data).replace(`${(e=t.action)==null?void 0:e.name}@`,""),i=new Br.default(n,16);if(!i.isNaN())return I(i.toString(10))}catch(r){Or||(console.error(`Unable to extract value for txHash: ${t.txHash}`),Or=!0)}return I(t.value)}s();s();var Pr=t=>{var r,n;return(n=(r=t==null?void 0:t.operations)==null?void 0:r.filter(i=>Object.values(_e).includes(i.type)))!=null?n:[]};var Mr=!1,Gr=t=>{Mr||(console.error(`Operations field missing for txHash: ${t}.
2
2
  Unable to compute value field.`),Mr=!0)};function Vr(t){try{if(t.operations){let[e]=Pr(t);return I(e==null?void 0:e.value)}else Gr(t.txHash)}catch(e){Gr(t.txHash)}return I(t.value)}s();var $r=U(require("bignumber.js"));var Wr=!1;function Hr(t){var r,n,i,o,a;return new $r.default((n=(r=t.action)==null?void 0:r.arguments)==null?void 0:n.value).isNaN()?(Wr||(console.error(`Unable to interpret ${(a=t.action)==null?void 0:a.name} data for txHash: ${t.txHash}`),Wr=!0),I(t.value)):I((o=(i=t.action)==null?void 0:i.arguments)==null?void 0:o.value)}var Mt=({transaction:t,hideMultipleBadge:e})=>{var r;if(t.action){if(Rr.includes(t.action.name))return I(t.value);if(Lr.includes(t.action.name))return Ur(t);if(Er.includes(t.action.name))return Vr(t);if(Dr.includes(t.action.name))return Hr(t);let n=fr(t);if(n.length){let i=n[0],o=Object.values(pe).includes(i.type),u=!e&&n.length>1?Fr(n):"";if(o){let{badgeText:T,tokenFormattedAmount:w,tokenExplorerLink:q,tokenLinkText:fe}=ge({token:i});return{nftValueData:{badgeText:T,tokenFormattedAmount:w,tokenExplorerLink:q,tokenLinkText:fe,transactionTokens:n,token:i,value:w!=null?i.value:null,decimals:w!=null?i.decimals:null,titleText:u}}}let{tokenExplorerLink:g,showFormattedAmount:m,tokenFormattedAmount:h,tokenLinkText:f,token:y}=me({token:i});return{tokenValueData:{tokenExplorerLink:g,showFormattedAmount:m,tokenFormattedAmount:h,tokenLinkText:f,transactionTokens:n,token:y,value:i.value,decimals:(r=i.decimals)!=null?r:k,titleText:u}}}}return I(t.value)};0&&(module.exports={getTransactionValue});
3
3
  /*!
4
4
  * The buffer module from node.js, for the browser.
@@ -1,4 +1,4 @@
1
- "use strict";var zr=Object.create;var J=Object.defineProperty,Kr=Object.defineProperties,Xr=Object.getOwnPropertyDescriptor,Yr=Object.getOwnPropertyDescriptors,Zr=Object.getOwnPropertyNames,Be=Object.getOwnPropertySymbols,Jr=Object.getPrototypeOf,Pe=Object.prototype.hasOwnProperty,Qr=Object.prototype.propertyIsEnumerable;var Ue=(t,e,r)=>e in t?J(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,D=(t,e)=>{for(var r in e||(e={}))Pe.call(e,r)&&Ue(t,r,e[r]);if(Be)for(var r of Be(e))Qr.call(e,r)&&Ue(t,r,e[r]);return t},ne=(t,e)=>Kr(t,Yr(e));var et=(t,e)=>()=>(t&&(e=t(t=0)),e);var ie=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),rt=(t,e)=>{for(var r in e)J(t,r,{get:e[r],enumerable:!0})},Me=(t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of Zr(e))!Pe.call(t,i)&&i!==r&&J(t,i,{get:()=>e[i],enumerable:!(n=Xr(e,i))||n.enumerable});return t};var U=(t,e,r)=>(r=t!=null?zr(Jr(t)):{},Me(e||!t||!t.__esModule?J(r,"default",{value:t,enumerable:!0}):r,t)),tt=t=>Me(J({},"__esModule",{value:!0}),t);var We=ie(oe=>{"use strict";s();oe.byteLength=it;oe.toByteArray=at;oe.fromByteArray=ct;var _=[],A=[],nt=typeof Uint8Array!="undefined"?Uint8Array:Array,he="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(V=0,Ge=he.length;V<Ge;++V)_[V]=he[V],A[he.charCodeAt(V)]=V;var V,Ge;A["-".charCodeAt(0)]=62;A["_".charCodeAt(0)]=63;function Ve(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 it(t){var e=Ve(t),r=e[0],n=e[1];return(r+n)*3/4-n}function ot(t,e,r){return(e+r)*3/4-r}function at(t){var e,r=Ve(t),n=r[0],i=r[1],o=new nt(ot(t,n,i)),a=0,u=i>0?n-4:n,g;for(g=0;g<u;g+=4)e=A[t.charCodeAt(g)]<<18|A[t.charCodeAt(g+1)]<<12|A[t.charCodeAt(g+2)]<<6|A[t.charCodeAt(g+3)],o[a++]=e>>16&255,o[a++]=e>>8&255,o[a++]=e&255;return i===2&&(e=A[t.charCodeAt(g)]<<2|A[t.charCodeAt(g+1)]>>4,o[a++]=e&255),i===1&&(e=A[t.charCodeAt(g)]<<10|A[t.charCodeAt(g+1)]<<4|A[t.charCodeAt(g+2)]>>2,o[a++]=e>>8&255,o[a++]=e&255),o}function st(t){return _[t>>18&63]+_[t>>12&63]+_[t>>6&63]+_[t&63]}function lt(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(st(n));return i.join("")}function ct(t){for(var e,r=t.length,n=r%3,i=[],o=16383,a=0,u=r-n;a<u;a+=o)i.push(lt(t,a,a+o>u?u: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 $e=ie(ye=>{s();ye.read=function(t,e,r,n,i){var o,a,u=i*8-n-1,g=(1<<u)-1,m=g>>1,h=-7,f=r?i-1:0,y=r?-1:1,T=t[e+f];for(f+=y,o=T&(1<<-h)-1,T>>=-h,h+=u;h>0;o=o*256+t[e+f],f+=y,h-=8);for(a=o&(1<<-h)-1,o>>=-h,h+=n;h>0;a=a*256+t[e+f],f+=y,h-=8);if(o===0)o=1-m;else{if(o===g)return a?NaN:(T?-1:1)*(1/0);a=a+Math.pow(2,n),o=o-m}return(T?-1:1)*a*Math.pow(2,o-n)};ye.write=function(t,e,r,n,i,o){var a,u,g,m=o*8-i-1,h=(1<<m)-1,f=h>>1,y=i===23?Math.pow(2,-24)-Math.pow(2,-77):0,T=n?0:o-1,w=n?1:-1,q=e<0||e===0&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(u=isNaN(e)?1:0,a=h):(a=Math.floor(Math.log(e)/Math.LN2),e*(g=Math.pow(2,-a))<1&&(a--,g*=2),a+f>=1?e+=y/g:e+=y*Math.pow(2,1-f),e*g>=2&&(a++,g/=2),a+f>=h?(u=0,a=h):a+f>=1?(u=(e*g-1)*Math.pow(2,i),a=a+f):(u=e*Math.pow(2,f-1)*Math.pow(2,i),a=0));i>=8;t[r+T]=u&255,T+=w,u/=256,i-=8);for(a=a<<i|u,m+=i;m>0;t[r+T]=a&255,T+=w,a/=256,m-=8);t[r+T-w]|=q*128}});var tr=ie(z=>{"use strict";s();var xe=We(),j=$e(),He=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;z.Buffer=l;z.SlowBuffer=ft;z.INSPECT_MAX_BYTES=50;var ae=2147483647;z.kMaxLength=ae;l.TYPED_ARRAY_SUPPORT=ut();!l.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 ut(){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(l.prototype,"parent",{enumerable:!0,get:function(){if(!!l.isBuffer(this))return this.buffer}});Object.defineProperty(l.prototype,"offset",{enumerable:!0,get:function(){if(!!l.isBuffer(this))return this.byteOffset}});function F(t){if(t>ae)throw new RangeError('The value "'+t+'" is invalid for option "size"');var e=new Uint8Array(t);return Object.setPrototypeOf(e,l.prototype),e}function l(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 ve(t)}return ze(t,e,r)}l.poolSize=8192;function ze(t,e,r){if(typeof t=="string")return dt(t,e);if(ArrayBuffer.isView(t))return gt(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(N(t,ArrayBuffer)||t&&N(t.buffer,ArrayBuffer)||typeof SharedArrayBuffer!="undefined"&&(N(t,SharedArrayBuffer)||t&&N(t.buffer,SharedArrayBuffer)))return be(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 l.from(n,e,r);var i=mt(t);if(i)return i;if(typeof Symbol!="undefined"&&Symbol.toPrimitive!=null&&typeof t[Symbol.toPrimitive]=="function")return l.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)}l.from=function(t,e,r){return ze(t,e,r)};Object.setPrototypeOf(l.prototype,Uint8Array.prototype);Object.setPrototypeOf(l,Uint8Array);function Ke(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 pt(t,e,r){return Ke(t),t<=0?F(t):e!==void 0?typeof r=="string"?F(t).fill(e,r):F(t).fill(e):F(t)}l.alloc=function(t,e,r){return pt(t,e,r)};function ve(t){return Ke(t),F(t<0?0:ke(t)|0)}l.allocUnsafe=function(t){return ve(t)};l.allocUnsafeSlow=function(t){return ve(t)};function dt(t,e){if((typeof e!="string"||e==="")&&(e="utf8"),!l.isEncoding(e))throw new TypeError("Unknown encoding: "+e);var r=Xe(t,e)|0,n=F(r),i=n.write(t,e);return i!==r&&(n=n.slice(0,i)),n}function Te(t){for(var e=t.length<0?0:ke(t.length)|0,r=F(e),n=0;n<e;n+=1)r[n]=t[n]&255;return r}function gt(t){if(N(t,Uint8Array)){var e=new Uint8Array(t);return be(e.buffer,e.byteOffset,e.byteLength)}return Te(t)}function be(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,l.prototype),n}function mt(t){if(l.isBuffer(t)){var e=ke(t.length)|0,r=F(e);return r.length===0||t.copy(r,0,0,e),r}if(t.length!==void 0)return typeof t.length!="number"||Ae(t.length)?F(0):Te(t);if(t.type==="Buffer"&&Array.isArray(t.data))return Te(t.data)}function ke(t){if(t>=ae)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+ae.toString(16)+" bytes");return t|0}function ft(t){return+t!=t&&(t=0),l.alloc(+t)}l.isBuffer=function(e){return e!=null&&e._isBuffer===!0&&e!==l.prototype};l.compare=function(e,r){if(N(e,Uint8Array)&&(e=l.from(e,e.offset,e.byteLength)),N(r,Uint8Array)&&(r=l.from(r,r.offset,r.byteLength)),!l.isBuffer(e)||!l.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};l.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}};l.concat=function(e,r){if(!Array.isArray(e))throw new TypeError('"list" argument must be an Array of Buffers');if(e.length===0)return l.alloc(0);var n;if(r===void 0)for(r=0,n=0;n<e.length;++n)r+=e[n].length;var i=l.allocUnsafe(r),o=0;for(n=0;n<e.length;++n){var a=e[n];if(N(a,Uint8Array))o+a.length>i.length?l.from(a).copy(i,o):Uint8Array.prototype.set.call(i,a,o);else if(l.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(l.isBuffer(t))return t.length;if(ArrayBuffer.isView(t)||N(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 we(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return r*2;case"hex":return r>>>1;case"base64":return rr(t).length;default:if(i)return n?-1:we(t).length;e=(""+e).toLowerCase(),i=!0}}l.byteLength=Xe;function ht(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 St(this,e,r);case"utf8":case"utf-8":return Ze(this,e,r);case"ascii":return At(this,e,r);case"latin1":case"binary":return It(this,e,r);case"base64":return vt(this,e,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return _t(this,e,r);default:if(n)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),n=!0}}l.prototype._isBuffer=!0;function W(t,e,r){var n=t[e];t[e]=t[r],t[r]=n}l.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)W(this,r,r+1);return this};l.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)W(this,r,r+3),W(this,r+1,r+2);return this};l.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)W(this,r,r+7),W(this,r+1,r+6),W(this,r+2,r+5),W(this,r+3,r+4);return this};l.prototype.toString=function(){var e=this.length;return e===0?"":arguments.length===0?Ze(this,0,e):ht.apply(this,arguments)};l.prototype.toLocaleString=l.prototype.toString;l.prototype.equals=function(e){if(!l.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e?!0:l.compare(this,e)===0};l.prototype.inspect=function(){var e="",r=z.INSPECT_MAX_BYTES;return e=this.toString("hex",0,r).replace(/(.{2})/g,"$1 ").trim(),this.length>r&&(e+=" ... "),"<Buffer "+e+">"};He&&(l.prototype[He]=l.prototype.inspect);l.prototype.compare=function(e,r,n,i,o){if(N(e,Uint8Array)&&(e=l.from(e,e.offset,e.byteLength)),!l.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,u=n-r,g=Math.min(a,u),m=this.slice(i,o),h=e.slice(r,n),f=0;f<g;++f)if(m[f]!==h[f]){a=m[f],u=h[f];break}return a<u?-1:u<a?1:0};function Ye(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,Ae(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=l.from(e,n)),l.isBuffer(e))return e.length===0?-1:qe(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):qe(t,[e],r,n,i);throw new TypeError("val must be string, number or Buffer")}function qe(t,e,r,n,i){var o=1,a=t.length,u=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,u/=2,r/=2}function g(T,w){return o===1?T[w]:T.readUInt16BE(w*o)}var m;if(i){var h=-1;for(m=r;m<a;m++)if(g(t,m)===g(e,h===-1?0:m-h)){if(h===-1&&(h=m),m-h+1===u)return h*o}else h!==-1&&(m-=m-h),h=-1}else for(r+u>a&&(r=a-u),m=r;m>=0;m--){for(var f=!0,y=0;y<u;y++)if(g(t,m+y)!==g(e,y)){f=!1;break}if(f)return m}return-1}l.prototype.includes=function(e,r,n){return this.indexOf(e,r,n)!==-1};l.prototype.indexOf=function(e,r,n){return Ye(this,e,r,n,!0)};l.prototype.lastIndexOf=function(e,r,n){return Ye(this,e,r,n,!1)};function yt(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 u=parseInt(e.substr(a*2,2),16);if(Ae(u))return a;t[r+a]=u}return a}function xt(t,e,r,n){return se(we(e,t.length-r),t,r,n)}function Tt(t,e,r,n){return se(Rt(e),t,r,n)}function bt(t,e,r,n){return se(rr(e),t,r,n)}function wt(t,e,r,n){return se(Lt(e,t.length-r),t,r,n)}l.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 yt(this,e,r,n);case"utf8":case"utf-8":return xt(this,e,r,n);case"ascii":case"latin1":case"binary":return Tt(this,e,r,n);case"base64":return bt(this,e,r,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return wt(this,e,r,n);default:if(a)throw new TypeError("Unknown encoding: "+i);i=(""+i).toLowerCase(),a=!0}};l.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function vt(t,e,r){return e===0&&r===t.length?xe.fromByteArray(t):xe.fromByteArray(t.slice(e,r))}function Ze(t,e,r){r=Math.min(t.length,r);for(var n=[],i=e;i<r;){var o=t[i],a=null,u=o>239?4:o>223?3:o>191?2:1;if(i+u<=r){var g,m,h,f;switch(u){case 1:o<128&&(a=o);break;case 2:g=t[i+1],(g&192)===128&&(f=(o&31)<<6|g&63,f>127&&(a=f));break;case 3:g=t[i+1],m=t[i+2],(g&192)===128&&(m&192)===128&&(f=(o&15)<<12|(g&63)<<6|m&63,f>2047&&(f<55296||f>57343)&&(a=f));break;case 4:g=t[i+1],m=t[i+2],h=t[i+3],(g&192)===128&&(m&192)===128&&(h&192)===128&&(f=(o&15)<<18|(g&63)<<12|(m&63)<<6|h&63,f>65535&&f<1114112&&(a=f))}}a===null?(a=65533,u=1):a>65535&&(a-=65536,n.push(a>>>10&1023|55296),a=56320|a&1023),n.push(a),i+=u}return kt(n)}var je=4096;function kt(t){var e=t.length;if(e<=je)return String.fromCharCode.apply(String,t);for(var r="",n=0;n<e;)r+=String.fromCharCode.apply(String,t.slice(n,n+=je));return r}function At(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 It(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 St(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+=Dt[t[o]];return i}function _t(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}l.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,l.prototype),i};function b(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")}l.prototype.readUintLE=l.prototype.readUIntLE=function(e,r,n){e=e>>>0,r=r>>>0,n||b(e,r,this.length);for(var i=this[e],o=1,a=0;++a<r&&(o*=256);)i+=this[e+a]*o;return i};l.prototype.readUintBE=l.prototype.readUIntBE=function(e,r,n){e=e>>>0,r=r>>>0,n||b(e,r,this.length);for(var i=this[e+--r],o=1;r>0&&(o*=256);)i+=this[e+--r]*o;return i};l.prototype.readUint8=l.prototype.readUInt8=function(e,r){return e=e>>>0,r||b(e,1,this.length),this[e]};l.prototype.readUint16LE=l.prototype.readUInt16LE=function(e,r){return e=e>>>0,r||b(e,2,this.length),this[e]|this[e+1]<<8};l.prototype.readUint16BE=l.prototype.readUInt16BE=function(e,r){return e=e>>>0,r||b(e,2,this.length),this[e]<<8|this[e+1]};l.prototype.readUint32LE=l.prototype.readUInt32LE=function(e,r){return e=e>>>0,r||b(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+this[e+3]*16777216};l.prototype.readUint32BE=l.prototype.readUInt32BE=function(e,r){return e=e>>>0,r||b(e,4,this.length),this[e]*16777216+(this[e+1]<<16|this[e+2]<<8|this[e+3])};l.prototype.readIntLE=function(e,r,n){e=e>>>0,r=r>>>0,n||b(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};l.prototype.readIntBE=function(e,r,n){e=e>>>0,r=r>>>0,n||b(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};l.prototype.readInt8=function(e,r){return e=e>>>0,r||b(e,1,this.length),this[e]&128?(255-this[e]+1)*-1:this[e]};l.prototype.readInt16LE=function(e,r){e=e>>>0,r||b(e,2,this.length);var n=this[e]|this[e+1]<<8;return n&32768?n|4294901760:n};l.prototype.readInt16BE=function(e,r){e=e>>>0,r||b(e,2,this.length);var n=this[e+1]|this[e]<<8;return n&32768?n|4294901760:n};l.prototype.readInt32LE=function(e,r){return e=e>>>0,r||b(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24};l.prototype.readInt32BE=function(e,r){return e=e>>>0,r||b(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]};l.prototype.readFloatLE=function(e,r){return e=e>>>0,r||b(e,4,this.length),j.read(this,e,!0,23,4)};l.prototype.readFloatBE=function(e,r){return e=e>>>0,r||b(e,4,this.length),j.read(this,e,!1,23,4)};l.prototype.readDoubleLE=function(e,r){return e=e>>>0,r||b(e,8,this.length),j.read(this,e,!0,52,8)};l.prototype.readDoubleBE=function(e,r){return e=e>>>0,r||b(e,8,this.length),j.read(this,e,!1,52,8)};function v(t,e,r,n,i,o){if(!l.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")}l.prototype.writeUintLE=l.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;v(this,e,r,n,o,0)}var a=1,u=0;for(this[r]=e&255;++u<n&&(a*=256);)this[r+u]=e/a&255;return r+n};l.prototype.writeUintBE=l.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;v(this,e,r,n,o,0)}var a=n-1,u=1;for(this[r+a]=e&255;--a>=0&&(u*=256);)this[r+a]=e/u&255;return r+n};l.prototype.writeUint8=l.prototype.writeUInt8=function(e,r,n){return e=+e,r=r>>>0,n||v(this,e,r,1,255,0),this[r]=e&255,r+1};l.prototype.writeUint16LE=l.prototype.writeUInt16LE=function(e,r,n){return e=+e,r=r>>>0,n||v(this,e,r,2,65535,0),this[r]=e&255,this[r+1]=e>>>8,r+2};l.prototype.writeUint16BE=l.prototype.writeUInt16BE=function(e,r,n){return e=+e,r=r>>>0,n||v(this,e,r,2,65535,0),this[r]=e>>>8,this[r+1]=e&255,r+2};l.prototype.writeUint32LE=l.prototype.writeUInt32LE=function(e,r,n){return e=+e,r=r>>>0,n||v(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};l.prototype.writeUint32BE=l.prototype.writeUInt32BE=function(e,r,n){return e=+e,r=r>>>0,n||v(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};l.prototype.writeIntLE=function(e,r,n,i){if(e=+e,r=r>>>0,!i){var o=Math.pow(2,8*n-1);v(this,e,r,n,o-1,-o)}var a=0,u=1,g=0;for(this[r]=e&255;++a<n&&(u*=256);)e<0&&g===0&&this[r+a-1]!==0&&(g=1),this[r+a]=(e/u>>0)-g&255;return r+n};l.prototype.writeIntBE=function(e,r,n,i){if(e=+e,r=r>>>0,!i){var o=Math.pow(2,8*n-1);v(this,e,r,n,o-1,-o)}var a=n-1,u=1,g=0;for(this[r+a]=e&255;--a>=0&&(u*=256);)e<0&&g===0&&this[r+a+1]!==0&&(g=1),this[r+a]=(e/u>>0)-g&255;return r+n};l.prototype.writeInt8=function(e,r,n){return e=+e,r=r>>>0,n||v(this,e,r,1,127,-128),e<0&&(e=255+e+1),this[r]=e&255,r+1};l.prototype.writeInt16LE=function(e,r,n){return e=+e,r=r>>>0,n||v(this,e,r,2,32767,-32768),this[r]=e&255,this[r+1]=e>>>8,r+2};l.prototype.writeInt16BE=function(e,r,n){return e=+e,r=r>>>0,n||v(this,e,r,2,32767,-32768),this[r]=e>>>8,this[r+1]=e&255,r+2};l.prototype.writeInt32LE=function(e,r,n){return e=+e,r=r>>>0,n||v(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};l.prototype.writeInt32BE=function(e,r,n){return e=+e,r=r>>>0,n||v(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 Je(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 Qe(t,e,r,n,i){return e=+e,r=r>>>0,i||Je(t,e,r,4,34028234663852886e22,-34028234663852886e22),j.write(t,e,r,n,23,4),r+4}l.prototype.writeFloatLE=function(e,r,n){return Qe(this,e,r,!0,n)};l.prototype.writeFloatBE=function(e,r,n){return Qe(this,e,r,!1,n)};function er(t,e,r,n,i){return e=+e,r=r>>>0,i||Je(t,e,r,8,17976931348623157e292,-17976931348623157e292),j.write(t,e,r,n,52,8),r+8}l.prototype.writeDoubleLE=function(e,r,n){return er(this,e,r,!0,n)};l.prototype.writeDoubleBE=function(e,r,n){return er(this,e,r,!1,n)};l.prototype.copy=function(e,r,n,i){if(!l.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};l.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"&&!l.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 u=l.isBuffer(e)?e:l.from(e,i),g=u.length;if(g===0)throw new TypeError('The value "'+e+'" is invalid for argument "value"');for(a=0;a<n-r;++a)this[a+r]=u[a%g]}return this};var Nt=/[^+/0-9A-Za-z-_]/g;function Et(t){if(t=t.split("=")[0],t=t.trim().replace(Nt,""),t.length<2)return"";for(;t.length%4!==0;)t=t+"=";return t}function we(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 Rt(t){for(var e=[],r=0;r<t.length;++r)e.push(t.charCodeAt(r)&255);return e}function Lt(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 rr(t){return xe.toByteArray(Et(t))}function se(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 N(t,e){return t instanceof e||t!=null&&t.constructor!=null&&t.constructor.name!=null&&t.constructor.name===e.name}function Ae(t){return t!==t}var Dt=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 sr=ie((jt,ar)=>{s();var x=ar.exports={},E,R;function Ie(){throw new Error("setTimeout has not been defined")}function Se(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?E=setTimeout:E=Ie}catch(t){E=Ie}try{typeof clearTimeout=="function"?R=clearTimeout:R=Se}catch(t){R=Se}})();function nr(t){if(E===setTimeout)return setTimeout(t,0);if((E===Ie||!E)&&setTimeout)return E=setTimeout,setTimeout(t,0);try{return E(t,0)}catch(e){try{return E.call(null,t,0)}catch(r){return E.call(this,t,0)}}}function Ft(t){if(R===clearTimeout)return clearTimeout(t);if((R===Se||!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 C=[],K=!1,$,le=-1;function Ct(){!K||!$||(K=!1,$.length?C=$.concat(C):le=-1,C.length&&ir())}function ir(){if(!K){var t=nr(Ct);K=!0;for(var e=C.length;e;){for($=C,C=[];++le<e;)$&&$[le].run();le=-1,e=C.length}$=null,K=!1,Ft(t)}}x.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];C.push(new or(t,e)),C.length===1&&!K&&nr(ir)};function or(t,e){this.fun=t,this.array=e}or.prototype.run=function(){this.fun.apply(null,this.array)};x.title="browser";x.browser=!0;x.env={};x.argv=[];x.version="";x.versions={};function O(){}x.on=O;x.addListener=O;x.once=O;x.off=O;x.removeListener=O;x.removeAllListeners=O;x.emit=O;x.prependListener=O;x.prependOnceListener=O;x.listeners=function(t){return[]};x.binding=function(t){throw new Error("process.binding is not supported")};x.cwd=function(){return"/"};x.chdir=function(t){throw new Error("process.chdir is not supported")};x.umask=function(){return 0}});var c,p,zt,s=et(()=>{c=U(tr()),p=U(sr()),zt=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 Gt={};rt(Gt,{getTransactionValue:()=>Mt});module.exports=tt(Gt);s();s();s();s();s();s();s();s();s();s();s();s();s();s();s();s();s();var _e=require("@multiversx/sdk-dapp-utils/out/constants/crossWindowProviderConstants"),X=require("@multiversx/sdk-dapp-utils/out/enums/crossWindowProviderEnums");var lr=(r=>(r.signTransactionsWithGuardianResponse="SIGN_TRANSACTIONS_WITH_GUARDIAN_RESPONSE",r.reloginRequest="RELOGIN_REQUEST",r))(lr||{}),an=D(D({},X.CrossWindowProviderRequestEnums),lr),cr=(e=>(e.reloginResponse="RELOGIN_RESPONSE",e))(cr||{}),sn=D(D({},X.CrossWindowProviderResponseEnums),cr);s();s();s();var Ne=(n=>(n.nft="nft",n.esdt="esdt",n.egld="egld",n))(Ne||{});s();s();s();var Ee={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",roundDuration:6e3},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",roundDuration:6e3},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",roundDuration:6e3}},{chainId:ur,egldLabel:An}=Ee["devnet"],{chainId:pr,egldLabel:In}=Ee["testnet"],{chainId:dr,egldLabel:Sn}=Ee["mainnet"];var _n={["devnet"]:ur,["testnet"]:pr,["mainnet"]:dr},Nn={[ur]:"devnet",[pr]:"testnet",[dr]:"mainnet"};s();s();var L=require("@multiversx/sdk-web-wallet-provider");s();var gr,mr,Re=String((mr=(gr=_e.safeWindow)==null?void 0:gr.navigator)==null?void 0:mr.userAgent),Fn=/^((?!chrome|android).)*safari/i.test(Re),Cn=/firefox/i.test(Re)&&/windows/i.test(Re);var k=18,ce=4;var ue="0";s();var pe=(n=>(n.NonFungibleESDT="NonFungibleESDT",n.SemiFungibleESDT="SemiFungibleESDT",n.MetaESDT="MetaESDT",n))(pe||{});s();var fr=t=>{var e,r,n,i;if(t.action){let o=[(e=t.action.arguments)==null?void 0:e.token,(r=t.action.arguments)==null?void 0:r.token1,(n=t.action.arguments)==null?void 0:n.token2,(i=t.action.arguments)==null?void 0:i.transfers].filter(u=>u!=null);return[].concat(...o)}return[]};s();s();s();s();var yr=require("@multiversx/sdk-core"),P=U(require("bignumber.js"));s();var hr=U(require("bignumber.js")),Le=(t,e=!0)=>{let r=String(t);if(!r.match(/^[-]?\d+$/))return!1;let n=new hr.default(r),i=e?0:-1;return n.toString(10)===r&&n.comparedTo(0)>=i};s();function B(t){return{if:function(e){return e?{then:r=>r instanceof Function?B(r(t)):B(r)}:{then:()=>B(t)}},then:e=>e instanceof Function?B(e(t)):B(e),valueOf:function(){return t}}}P.default.config({ROUNDING_MODE:P.default.ROUND_FLOOR});function M({input:t,decimals:e=k,digits:r=ce,showLastNonZeroDecimal:n=!0,showIsLessThanDecimalsLabel:i=!1,addCommas:o=!1}){if(!Le(t,!1))throw new Error("Invalid input");let a=new P.default(t).isNegative(),u=t;return a&&(u=t.substring(1)),B(u).then(()=>yr.TokenTransfer.fungibleFromBigInteger("",u,e).amountAsBigInteger.shiftedBy(-e).toFixed(e)).then(g=>{let m=new P.default(g);if(m.isZero())return ue;let h=m.toString(10),[f,y]=h.split("."),T=new P.default(y||0),w=B(0).if(Boolean(y&&n)).then(()=>Math.max(y.length,r)).if(T.isZero()&&!n).then(0).if(Boolean(y&&!n)).then(()=>Math.min(y.length,r)).valueOf(),q=y&&r>=1&&r<=y.length&&T.isGreaterThan(0)&&new P.default(y.substring(0,r)).isZero(),fe=m.toFormat(w);return B(h).if(o).then(fe).if(Boolean(q)).then(ee=>{let Z=new P.default(f).isZero(),[S,re]=ee.split("."),te=new Array(r-1).fill(0),qr=[...te,0].join(""),jr=[...te,1].join("");return Z?i?`<${S}.${jr}`:n?`${S}.${re}`:S:`${S}.${qr}`}).if(Boolean(!q&&y)).then(ee=>{let[Z]=ee.split("."),S=y.substring(0,w);if(n){let re=r-S.length;if(re>0){let te=Array(re).fill(0).join("");return S=`${S}${te}`,`${Z}.${S}`}return ee}return S?`${Z}.${S}`:Z}).valueOf()}).if(a).then(g=>`-${g}`).valueOf()}s();s();var Ot=require("@multiversx/sdk-core");s();var Q=require("@multiversx/sdk-core"),Ut=U(require("bignumber.js"));s();s();s();var Bt=U(require("bignumber.js"));s();s();var De={isEsdt:!1,isNft:!1,isEgld:!1};function xr(t){let e=t==null?void 0:t.split("-").length;return e===2?ne(D({},De),{isEsdt:!0}):e===3?ne(D({},De),{isNft:!0}):ne(D({},De),{isEgld:!0})}s();s();s();s();s();s();s();s();var G="accounts";var Tr="blocks",br="code",wr="collections";var vr="contracts";var kr="identities";var Ar="locked-accounts",Ir="logs",Sr="miniblocks";var Fe="nfts",_r="nodes",Ce="providers",Nr="roles",Oe="sc-results";var Y="tokens";var H="transactions";var de={shard:t=>`/${Tr}?shard=${t}`,receiverShard:t=>`/${H}?receivershard=${t}`,senderShard:t=>`/${H}?sendershard=${t}`,transactionDetails:t=>`/${H}/${t}`,transactionDetailsScResults:t=>`/${H}/${t}/${Oe}`,transactionDetailsLogs:t=>`/${H}/${t}/${Ir}`,nodeDetails:t=>`/${_r}/${t}`,accountDetails:t=>`/${G}/${t}`,accountDetailsContractCode:t=>`/${G}/${t}/${br}`,accountDetailsTokens:t=>`/${G}/${t}/${Y}`,accountDetailsNfts:t=>`/${G}/${t}/${Fe}`,accountDetailsScResults:t=>`/${G}/${t}/${Oe}`,accountDetailsContracts:t=>`/${G}/${t}/${vr}`,identityDetails:t=>`/${kr}/${t}`,tokenDetails:t=>`/${Y}/${t}`,tokenDetailsAccounts:t=>`/${Y}/${t}/${G}`,tokenDetailsLockedAccounts:t=>`/${Y}/${t}/${Ar}`,tokenDetailsRoles:t=>`/${Y}/${t}/${Nr}`,collectionDetails:t=>`/${wr}/${t}`,nftDetails:t=>`/${Fe}/${t}`,providerDetails:t=>`/${Ce}/${t}`,providerDetailsTransactions:t=>`/${Ce}/${t}/${H}`,miniblockDetails:t=>`/${Sr}/${t}`};function ge({token:t,noValue:e,showLastNonZeroDecimal:r}){var m;let n=!e&&t.value&&t.type!=="NonFungibleESDT",i=t.decimals!=null,o="";t.type==="NonFungibleESDT"&&(o="NFT"),t.type==="SemiFungibleESDT"&&(o="SFT"),t.type==="MetaESDT"&&(o="Meta-ESDT");let a="";n&&i&&(a=i?M({input:t.value,decimals:t.decimals,digits:2,showLastNonZeroDecimal:r}):Number(t.value).toLocaleString("en"));let u=de.nftDetails(String(t.identifier)),g=t.ticker===t.collection&&(m=t.identifier)!=null?m:t.ticker;return{badgeText:o,tokenFormattedAmount:n?a:null,tokenExplorerLink:u,tokenLinkText:g,token:t,noValue:e,showLastNonZeroDecimal:r}}s();function me({token:t,noValue:e,showLastNonZeroDecimal:r}){var u;let n=Boolean(!e&&t.value),i=n?M({input:t.value,decimals:(u=t.decimals)!=null?u:k,digits:2,showLastNonZeroDecimal:r,addCommas:!0}):null,o=de.tokenDetails(String(t.token)),a=t.ticker;return{tokenExplorerLink:o,tokenFormattedAmount:i,showFormattedAmount:n,tokenLinkText:a,token:t,showLastNonZeroDecimal:r}}s();var Er=["reDelegateRewards","claimRewards","unBond"],Rr=["wrapEgld","unwrapEgld"],Lr=["unStake"],Dr=["unDelegate"];s();s();var Fr=t=>{let e=t.map(n=>{let{isNft:i}=xr(n.type);if(i){let{badgeText:h,tokenFormattedAmount:f,tokenLinkText:y}=ge({token:n});return`${h!=null?`(${h}) `:""}${f} ${y}`}let{tokenFormattedAmount:o,tokenLinkText:a,token:u}=me({token:n}),g=u.collection?u.identifier:u.token;return`${o} ${a} (${g})`});return decodeURI(e.join("%0A"))};s();var I=t=>({egldValueData:{value:t,formattedValue:M({input:t}),decimals:k}});s();var Br=U(require("bignumber.js"));s();s();function Pt(t){try{let e=atob(t),r=btoa(e),n=c.Buffer.from(t,"base64").toString(),i=c.Buffer.from(n).toString("base64"),o=t===r||r.startsWith(t),a=t===i||i.startsWith(t);if(o&&a)return!0}catch(e){return!1}return!1}function Cr(t){return Pt(t)?atob(t):t}s();s();s();s();var Or=!1;function Ur(t){var e;try{let n=Cr(t.data).replace(`${(e=t.action)==null?void 0:e.name}@`,""),i=new Br.default(n,16);if(!i.isNaN())return I(i.toString(10))}catch(r){Or||(console.error(`Unable to extract value for txHash: ${t.txHash}`),Or=!0)}return I(t.value)}s();s();var Pr=t=>{var r,n;return(n=(r=t==null?void 0:t.operations)==null?void 0:r.filter(i=>Object.values(Ne).includes(i.type)))!=null?n:[]};var Mr=!1,Gr=t=>{Mr||(console.error(`Operations field missing for txHash: ${t}.
1
+ "use strict";var zr=Object.create;var J=Object.defineProperty,Kr=Object.defineProperties,Xr=Object.getOwnPropertyDescriptor,Yr=Object.getOwnPropertyDescriptors,Zr=Object.getOwnPropertyNames,Be=Object.getOwnPropertySymbols,Jr=Object.getPrototypeOf,Pe=Object.prototype.hasOwnProperty,Qr=Object.prototype.propertyIsEnumerable;var Ue=(t,e,r)=>e in t?J(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,D=(t,e)=>{for(var r in e||(e={}))Pe.call(e,r)&&Ue(t,r,e[r]);if(Be)for(var r of Be(e))Qr.call(e,r)&&Ue(t,r,e[r]);return t},ne=(t,e)=>Kr(t,Yr(e));var et=(t,e)=>()=>(t&&(e=t(t=0)),e);var ie=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),rt=(t,e)=>{for(var r in e)J(t,r,{get:e[r],enumerable:!0})},Me=(t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of Zr(e))!Pe.call(t,i)&&i!==r&&J(t,i,{get:()=>e[i],enumerable:!(n=Xr(e,i))||n.enumerable});return t};var U=(t,e,r)=>(r=t!=null?zr(Jr(t)):{},Me(e||!t||!t.__esModule?J(r,"default",{value:t,enumerable:!0}):r,t)),tt=t=>Me(J({},"__esModule",{value:!0}),t);var We=ie(oe=>{"use strict";s();oe.byteLength=it;oe.toByteArray=at;oe.fromByteArray=ct;var N=[],A=[],nt=typeof Uint8Array!="undefined"?Uint8Array:Array,he="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(V=0,Ge=he.length;V<Ge;++V)N[V]=he[V],A[he.charCodeAt(V)]=V;var V,Ge;A["-".charCodeAt(0)]=62;A["_".charCodeAt(0)]=63;function Ve(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 it(t){var e=Ve(t),r=e[0],n=e[1];return(r+n)*3/4-n}function ot(t,e,r){return(e+r)*3/4-r}function at(t){var e,r=Ve(t),n=r[0],i=r[1],o=new nt(ot(t,n,i)),a=0,u=i>0?n-4:n,g;for(g=0;g<u;g+=4)e=A[t.charCodeAt(g)]<<18|A[t.charCodeAt(g+1)]<<12|A[t.charCodeAt(g+2)]<<6|A[t.charCodeAt(g+3)],o[a++]=e>>16&255,o[a++]=e>>8&255,o[a++]=e&255;return i===2&&(e=A[t.charCodeAt(g)]<<2|A[t.charCodeAt(g+1)]>>4,o[a++]=e&255),i===1&&(e=A[t.charCodeAt(g)]<<10|A[t.charCodeAt(g+1)]<<4|A[t.charCodeAt(g+2)]>>2,o[a++]=e>>8&255,o[a++]=e&255),o}function st(t){return N[t>>18&63]+N[t>>12&63]+N[t>>6&63]+N[t&63]}function lt(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(st(n));return i.join("")}function ct(t){for(var e,r=t.length,n=r%3,i=[],o=16383,a=0,u=r-n;a<u;a+=o)i.push(lt(t,a,a+o>u?u:a+o));return n===1?(e=t[r-1],i.push(N[e>>2]+N[e<<4&63]+"==")):n===2&&(e=(t[r-2]<<8)+t[r-1],i.push(N[e>>10]+N[e>>4&63]+N[e<<2&63]+"=")),i.join("")}});var $e=ie(ye=>{s();ye.read=function(t,e,r,n,i){var o,a,u=i*8-n-1,g=(1<<u)-1,m=g>>1,h=-7,f=r?i-1:0,y=r?-1:1,T=t[e+f];for(f+=y,o=T&(1<<-h)-1,T>>=-h,h+=u;h>0;o=o*256+t[e+f],f+=y,h-=8);for(a=o&(1<<-h)-1,o>>=-h,h+=n;h>0;a=a*256+t[e+f],f+=y,h-=8);if(o===0)o=1-m;else{if(o===g)return a?NaN:(T?-1:1)*(1/0);a=a+Math.pow(2,n),o=o-m}return(T?-1:1)*a*Math.pow(2,o-n)};ye.write=function(t,e,r,n,i,o){var a,u,g,m=o*8-i-1,h=(1<<m)-1,f=h>>1,y=i===23?Math.pow(2,-24)-Math.pow(2,-77):0,T=n?0:o-1,w=n?1:-1,q=e<0||e===0&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(u=isNaN(e)?1:0,a=h):(a=Math.floor(Math.log(e)/Math.LN2),e*(g=Math.pow(2,-a))<1&&(a--,g*=2),a+f>=1?e+=y/g:e+=y*Math.pow(2,1-f),e*g>=2&&(a++,g/=2),a+f>=h?(u=0,a=h):a+f>=1?(u=(e*g-1)*Math.pow(2,i),a=a+f):(u=e*Math.pow(2,f-1)*Math.pow(2,i),a=0));i>=8;t[r+T]=u&255,T+=w,u/=256,i-=8);for(a=a<<i|u,m+=i;m>0;t[r+T]=a&255,T+=w,a/=256,m-=8);t[r+T-w]|=q*128}});var tr=ie(z=>{"use strict";s();var xe=We(),j=$e(),He=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;z.Buffer=l;z.SlowBuffer=ft;z.INSPECT_MAX_BYTES=50;var ae=2147483647;z.kMaxLength=ae;l.TYPED_ARRAY_SUPPORT=ut();!l.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 ut(){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(l.prototype,"parent",{enumerable:!0,get:function(){if(!!l.isBuffer(this))return this.buffer}});Object.defineProperty(l.prototype,"offset",{enumerable:!0,get:function(){if(!!l.isBuffer(this))return this.byteOffset}});function F(t){if(t>ae)throw new RangeError('The value "'+t+'" is invalid for option "size"');var e=new Uint8Array(t);return Object.setPrototypeOf(e,l.prototype),e}function l(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 ve(t)}return ze(t,e,r)}l.poolSize=8192;function ze(t,e,r){if(typeof t=="string")return dt(t,e);if(ArrayBuffer.isView(t))return gt(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 be(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 l.from(n,e,r);var i=mt(t);if(i)return i;if(typeof Symbol!="undefined"&&Symbol.toPrimitive!=null&&typeof t[Symbol.toPrimitive]=="function")return l.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)}l.from=function(t,e,r){return ze(t,e,r)};Object.setPrototypeOf(l.prototype,Uint8Array.prototype);Object.setPrototypeOf(l,Uint8Array);function Ke(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 pt(t,e,r){return Ke(t),t<=0?F(t):e!==void 0?typeof r=="string"?F(t).fill(e,r):F(t).fill(e):F(t)}l.alloc=function(t,e,r){return pt(t,e,r)};function ve(t){return Ke(t),F(t<0?0:ke(t)|0)}l.allocUnsafe=function(t){return ve(t)};l.allocUnsafeSlow=function(t){return ve(t)};function dt(t,e){if((typeof e!="string"||e==="")&&(e="utf8"),!l.isEncoding(e))throw new TypeError("Unknown encoding: "+e);var r=Xe(t,e)|0,n=F(r),i=n.write(t,e);return i!==r&&(n=n.slice(0,i)),n}function Te(t){for(var e=t.length<0?0:ke(t.length)|0,r=F(e),n=0;n<e;n+=1)r[n]=t[n]&255;return r}function gt(t){if(_(t,Uint8Array)){var e=new Uint8Array(t);return be(e.buffer,e.byteOffset,e.byteLength)}return Te(t)}function be(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,l.prototype),n}function mt(t){if(l.isBuffer(t)){var e=ke(t.length)|0,r=F(e);return r.length===0||t.copy(r,0,0,e),r}if(t.length!==void 0)return typeof t.length!="number"||Ae(t.length)?F(0):Te(t);if(t.type==="Buffer"&&Array.isArray(t.data))return Te(t.data)}function ke(t){if(t>=ae)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+ae.toString(16)+" bytes");return t|0}function ft(t){return+t!=t&&(t=0),l.alloc(+t)}l.isBuffer=function(e){return e!=null&&e._isBuffer===!0&&e!==l.prototype};l.compare=function(e,r){if(_(e,Uint8Array)&&(e=l.from(e,e.offset,e.byteLength)),_(r,Uint8Array)&&(r=l.from(r,r.offset,r.byteLength)),!l.isBuffer(e)||!l.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};l.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}};l.concat=function(e,r){if(!Array.isArray(e))throw new TypeError('"list" argument must be an Array of Buffers');if(e.length===0)return l.alloc(0);var n;if(r===void 0)for(r=0,n=0;n<e.length;++n)r+=e[n].length;var i=l.allocUnsafe(r),o=0;for(n=0;n<e.length;++n){var a=e[n];if(_(a,Uint8Array))o+a.length>i.length?l.from(a).copy(i,o):Uint8Array.prototype.set.call(i,a,o);else if(l.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(l.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 we(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return r*2;case"hex":return r>>>1;case"base64":return rr(t).length;default:if(i)return n?-1:we(t).length;e=(""+e).toLowerCase(),i=!0}}l.byteLength=Xe;function ht(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 St(this,e,r);case"utf8":case"utf-8":return Ze(this,e,r);case"ascii":return At(this,e,r);case"latin1":case"binary":return It(this,e,r);case"base64":return vt(this,e,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Nt(this,e,r);default:if(n)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),n=!0}}l.prototype._isBuffer=!0;function W(t,e,r){var n=t[e];t[e]=t[r],t[r]=n}l.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)W(this,r,r+1);return this};l.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)W(this,r,r+3),W(this,r+1,r+2);return this};l.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)W(this,r,r+7),W(this,r+1,r+6),W(this,r+2,r+5),W(this,r+3,r+4);return this};l.prototype.toString=function(){var e=this.length;return e===0?"":arguments.length===0?Ze(this,0,e):ht.apply(this,arguments)};l.prototype.toLocaleString=l.prototype.toString;l.prototype.equals=function(e){if(!l.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e?!0:l.compare(this,e)===0};l.prototype.inspect=function(){var e="",r=z.INSPECT_MAX_BYTES;return e=this.toString("hex",0,r).replace(/(.{2})/g,"$1 ").trim(),this.length>r&&(e+=" ... "),"<Buffer "+e+">"};He&&(l.prototype[He]=l.prototype.inspect);l.prototype.compare=function(e,r,n,i,o){if(_(e,Uint8Array)&&(e=l.from(e,e.offset,e.byteLength)),!l.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,u=n-r,g=Math.min(a,u),m=this.slice(i,o),h=e.slice(r,n),f=0;f<g;++f)if(m[f]!==h[f]){a=m[f],u=h[f];break}return a<u?-1:u<a?1:0};function Ye(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,Ae(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=l.from(e,n)),l.isBuffer(e))return e.length===0?-1:qe(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):qe(t,[e],r,n,i);throw new TypeError("val must be string, number or Buffer")}function qe(t,e,r,n,i){var o=1,a=t.length,u=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,u/=2,r/=2}function g(T,w){return o===1?T[w]:T.readUInt16BE(w*o)}var m;if(i){var h=-1;for(m=r;m<a;m++)if(g(t,m)===g(e,h===-1?0:m-h)){if(h===-1&&(h=m),m-h+1===u)return h*o}else h!==-1&&(m-=m-h),h=-1}else for(r+u>a&&(r=a-u),m=r;m>=0;m--){for(var f=!0,y=0;y<u;y++)if(g(t,m+y)!==g(e,y)){f=!1;break}if(f)return m}return-1}l.prototype.includes=function(e,r,n){return this.indexOf(e,r,n)!==-1};l.prototype.indexOf=function(e,r,n){return Ye(this,e,r,n,!0)};l.prototype.lastIndexOf=function(e,r,n){return Ye(this,e,r,n,!1)};function yt(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 u=parseInt(e.substr(a*2,2),16);if(Ae(u))return a;t[r+a]=u}return a}function xt(t,e,r,n){return se(we(e,t.length-r),t,r,n)}function Tt(t,e,r,n){return se(Rt(e),t,r,n)}function bt(t,e,r,n){return se(rr(e),t,r,n)}function wt(t,e,r,n){return se(Lt(e,t.length-r),t,r,n)}l.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 yt(this,e,r,n);case"utf8":case"utf-8":return xt(this,e,r,n);case"ascii":case"latin1":case"binary":return Tt(this,e,r,n);case"base64":return bt(this,e,r,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return wt(this,e,r,n);default:if(a)throw new TypeError("Unknown encoding: "+i);i=(""+i).toLowerCase(),a=!0}};l.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function vt(t,e,r){return e===0&&r===t.length?xe.fromByteArray(t):xe.fromByteArray(t.slice(e,r))}function Ze(t,e,r){r=Math.min(t.length,r);for(var n=[],i=e;i<r;){var o=t[i],a=null,u=o>239?4:o>223?3:o>191?2:1;if(i+u<=r){var g,m,h,f;switch(u){case 1:o<128&&(a=o);break;case 2:g=t[i+1],(g&192)===128&&(f=(o&31)<<6|g&63,f>127&&(a=f));break;case 3:g=t[i+1],m=t[i+2],(g&192)===128&&(m&192)===128&&(f=(o&15)<<12|(g&63)<<6|m&63,f>2047&&(f<55296||f>57343)&&(a=f));break;case 4:g=t[i+1],m=t[i+2],h=t[i+3],(g&192)===128&&(m&192)===128&&(h&192)===128&&(f=(o&15)<<18|(g&63)<<12|(m&63)<<6|h&63,f>65535&&f<1114112&&(a=f))}}a===null?(a=65533,u=1):a>65535&&(a-=65536,n.push(a>>>10&1023|55296),a=56320|a&1023),n.push(a),i+=u}return kt(n)}var je=4096;function kt(t){var e=t.length;if(e<=je)return String.fromCharCode.apply(String,t);for(var r="",n=0;n<e;)r+=String.fromCharCode.apply(String,t.slice(n,n+=je));return r}function At(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 It(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 St(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+=Dt[t[o]];return i}function Nt(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}l.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,l.prototype),i};function b(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")}l.prototype.readUintLE=l.prototype.readUIntLE=function(e,r,n){e=e>>>0,r=r>>>0,n||b(e,r,this.length);for(var i=this[e],o=1,a=0;++a<r&&(o*=256);)i+=this[e+a]*o;return i};l.prototype.readUintBE=l.prototype.readUIntBE=function(e,r,n){e=e>>>0,r=r>>>0,n||b(e,r,this.length);for(var i=this[e+--r],o=1;r>0&&(o*=256);)i+=this[e+--r]*o;return i};l.prototype.readUint8=l.prototype.readUInt8=function(e,r){return e=e>>>0,r||b(e,1,this.length),this[e]};l.prototype.readUint16LE=l.prototype.readUInt16LE=function(e,r){return e=e>>>0,r||b(e,2,this.length),this[e]|this[e+1]<<8};l.prototype.readUint16BE=l.prototype.readUInt16BE=function(e,r){return e=e>>>0,r||b(e,2,this.length),this[e]<<8|this[e+1]};l.prototype.readUint32LE=l.prototype.readUInt32LE=function(e,r){return e=e>>>0,r||b(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+this[e+3]*16777216};l.prototype.readUint32BE=l.prototype.readUInt32BE=function(e,r){return e=e>>>0,r||b(e,4,this.length),this[e]*16777216+(this[e+1]<<16|this[e+2]<<8|this[e+3])};l.prototype.readIntLE=function(e,r,n){e=e>>>0,r=r>>>0,n||b(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};l.prototype.readIntBE=function(e,r,n){e=e>>>0,r=r>>>0,n||b(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};l.prototype.readInt8=function(e,r){return e=e>>>0,r||b(e,1,this.length),this[e]&128?(255-this[e]+1)*-1:this[e]};l.prototype.readInt16LE=function(e,r){e=e>>>0,r||b(e,2,this.length);var n=this[e]|this[e+1]<<8;return n&32768?n|4294901760:n};l.prototype.readInt16BE=function(e,r){e=e>>>0,r||b(e,2,this.length);var n=this[e+1]|this[e]<<8;return n&32768?n|4294901760:n};l.prototype.readInt32LE=function(e,r){return e=e>>>0,r||b(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24};l.prototype.readInt32BE=function(e,r){return e=e>>>0,r||b(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]};l.prototype.readFloatLE=function(e,r){return e=e>>>0,r||b(e,4,this.length),j.read(this,e,!0,23,4)};l.prototype.readFloatBE=function(e,r){return e=e>>>0,r||b(e,4,this.length),j.read(this,e,!1,23,4)};l.prototype.readDoubleLE=function(e,r){return e=e>>>0,r||b(e,8,this.length),j.read(this,e,!0,52,8)};l.prototype.readDoubleBE=function(e,r){return e=e>>>0,r||b(e,8,this.length),j.read(this,e,!1,52,8)};function v(t,e,r,n,i,o){if(!l.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")}l.prototype.writeUintLE=l.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;v(this,e,r,n,o,0)}var a=1,u=0;for(this[r]=e&255;++u<n&&(a*=256);)this[r+u]=e/a&255;return r+n};l.prototype.writeUintBE=l.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;v(this,e,r,n,o,0)}var a=n-1,u=1;for(this[r+a]=e&255;--a>=0&&(u*=256);)this[r+a]=e/u&255;return r+n};l.prototype.writeUint8=l.prototype.writeUInt8=function(e,r,n){return e=+e,r=r>>>0,n||v(this,e,r,1,255,0),this[r]=e&255,r+1};l.prototype.writeUint16LE=l.prototype.writeUInt16LE=function(e,r,n){return e=+e,r=r>>>0,n||v(this,e,r,2,65535,0),this[r]=e&255,this[r+1]=e>>>8,r+2};l.prototype.writeUint16BE=l.prototype.writeUInt16BE=function(e,r,n){return e=+e,r=r>>>0,n||v(this,e,r,2,65535,0),this[r]=e>>>8,this[r+1]=e&255,r+2};l.prototype.writeUint32LE=l.prototype.writeUInt32LE=function(e,r,n){return e=+e,r=r>>>0,n||v(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};l.prototype.writeUint32BE=l.prototype.writeUInt32BE=function(e,r,n){return e=+e,r=r>>>0,n||v(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};l.prototype.writeIntLE=function(e,r,n,i){if(e=+e,r=r>>>0,!i){var o=Math.pow(2,8*n-1);v(this,e,r,n,o-1,-o)}var a=0,u=1,g=0;for(this[r]=e&255;++a<n&&(u*=256);)e<0&&g===0&&this[r+a-1]!==0&&(g=1),this[r+a]=(e/u>>0)-g&255;return r+n};l.prototype.writeIntBE=function(e,r,n,i){if(e=+e,r=r>>>0,!i){var o=Math.pow(2,8*n-1);v(this,e,r,n,o-1,-o)}var a=n-1,u=1,g=0;for(this[r+a]=e&255;--a>=0&&(u*=256);)e<0&&g===0&&this[r+a+1]!==0&&(g=1),this[r+a]=(e/u>>0)-g&255;return r+n};l.prototype.writeInt8=function(e,r,n){return e=+e,r=r>>>0,n||v(this,e,r,1,127,-128),e<0&&(e=255+e+1),this[r]=e&255,r+1};l.prototype.writeInt16LE=function(e,r,n){return e=+e,r=r>>>0,n||v(this,e,r,2,32767,-32768),this[r]=e&255,this[r+1]=e>>>8,r+2};l.prototype.writeInt16BE=function(e,r,n){return e=+e,r=r>>>0,n||v(this,e,r,2,32767,-32768),this[r]=e>>>8,this[r+1]=e&255,r+2};l.prototype.writeInt32LE=function(e,r,n){return e=+e,r=r>>>0,n||v(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};l.prototype.writeInt32BE=function(e,r,n){return e=+e,r=r>>>0,n||v(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 Je(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 Qe(t,e,r,n,i){return e=+e,r=r>>>0,i||Je(t,e,r,4,34028234663852886e22,-34028234663852886e22),j.write(t,e,r,n,23,4),r+4}l.prototype.writeFloatLE=function(e,r,n){return Qe(this,e,r,!0,n)};l.prototype.writeFloatBE=function(e,r,n){return Qe(this,e,r,!1,n)};function er(t,e,r,n,i){return e=+e,r=r>>>0,i||Je(t,e,r,8,17976931348623157e292,-17976931348623157e292),j.write(t,e,r,n,52,8),r+8}l.prototype.writeDoubleLE=function(e,r,n){return er(this,e,r,!0,n)};l.prototype.writeDoubleBE=function(e,r,n){return er(this,e,r,!1,n)};l.prototype.copy=function(e,r,n,i){if(!l.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};l.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"&&!l.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 u=l.isBuffer(e)?e:l.from(e,i),g=u.length;if(g===0)throw new TypeError('The value "'+e+'" is invalid for argument "value"');for(a=0;a<n-r;++a)this[a+r]=u[a%g]}return this};var _t=/[^+/0-9A-Za-z-_]/g;function Et(t){if(t=t.split("=")[0],t=t.trim().replace(_t,""),t.length<2)return"";for(;t.length%4!==0;)t=t+"=";return t}function we(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 Rt(t){for(var e=[],r=0;r<t.length;++r)e.push(t.charCodeAt(r)&255);return e}function Lt(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 rr(t){return xe.toByteArray(Et(t))}function se(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 Ae(t){return t!==t}var Dt=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 sr=ie((jt,ar)=>{s();var x=ar.exports={},E,R;function Ie(){throw new Error("setTimeout has not been defined")}function Se(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?E=setTimeout:E=Ie}catch(t){E=Ie}try{typeof clearTimeout=="function"?R=clearTimeout:R=Se}catch(t){R=Se}})();function nr(t){if(E===setTimeout)return setTimeout(t,0);if((E===Ie||!E)&&setTimeout)return E=setTimeout,setTimeout(t,0);try{return E(t,0)}catch(e){try{return E.call(null,t,0)}catch(r){return E.call(this,t,0)}}}function Ft(t){if(R===clearTimeout)return clearTimeout(t);if((R===Se||!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 C=[],K=!1,$,le=-1;function Ct(){!K||!$||(K=!1,$.length?C=$.concat(C):le=-1,C.length&&ir())}function ir(){if(!K){var t=nr(Ct);K=!0;for(var e=C.length;e;){for($=C,C=[];++le<e;)$&&$[le].run();le=-1,e=C.length}$=null,K=!1,Ft(t)}}x.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];C.push(new or(t,e)),C.length===1&&!K&&nr(ir)};function or(t,e){this.fun=t,this.array=e}or.prototype.run=function(){this.fun.apply(null,this.array)};x.title="browser";x.browser=!0;x.env={};x.argv=[];x.version="";x.versions={};function O(){}x.on=O;x.addListener=O;x.once=O;x.off=O;x.removeListener=O;x.removeAllListeners=O;x.emit=O;x.prependListener=O;x.prependOnceListener=O;x.listeners=function(t){return[]};x.binding=function(t){throw new Error("process.binding is not supported")};x.cwd=function(){return"/"};x.chdir=function(t){throw new Error("process.chdir is not supported")};x.umask=function(){return 0}});var c,p,zt,s=et(()=>{c=U(tr()),p=U(sr()),zt=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 Gt={};rt(Gt,{getTransactionValue:()=>Mt});module.exports=tt(Gt);s();s();s();s();s();s();s();s();s();s();s();s();s();s();s();s();s();var Ne=require("@multiversx/sdk-dapp-utils/out/constants/crossWindowProviderConstants"),X=require("@multiversx/sdk-dapp-utils/out/enums/crossWindowProviderEnums");var lr=(r=>(r.signTransactionsWithGuardianResponse="SIGN_TRANSACTIONS_WITH_GUARDIAN_RESPONSE",r.reloginRequest="RELOGIN_REQUEST",r))(lr||{}),an=D(D({},X.CrossWindowProviderRequestEnums),lr),cr=(e=>(e.reloginResponse="RELOGIN_RESPONSE",e))(cr||{}),sn=D(D({},X.CrossWindowProviderResponseEnums),cr);s();s();s();var _e=(n=>(n.nft="nft",n.esdt="esdt",n.egld="egld",n))(_e||{});s();s();s();var Ee={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",roundDuration:6e3},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",roundDuration:6e3},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",roundDuration:6e3}},{chainId:ur,egldLabel:An}=Ee["devnet"],{chainId:pr,egldLabel:In}=Ee["testnet"],{chainId:dr,egldLabel:Sn}=Ee["mainnet"];var Nn={["devnet"]:ur,["testnet"]:pr,["mainnet"]:dr},_n={[ur]:"devnet",[pr]:"testnet",[dr]:"mainnet"};s();s();var L=require("@multiversx/sdk-web-wallet-provider");s();var gr,mr,Re=String((mr=(gr=Ne.safeWindow)==null?void 0:gr.navigator)==null?void 0:mr.userAgent),Fn=/^((?!chrome|android).)*safari/i.test(Re),Cn=/firefox/i.test(Re)&&/windows/i.test(Re);var k=18,ce=4;var ue="0";s();var pe=(n=>(n.NonFungibleESDT="NonFungibleESDT",n.SemiFungibleESDT="SemiFungibleESDT",n.MetaESDT="MetaESDT",n))(pe||{});s();var fr=t=>{var e,r,n,i;if(t.action){let o=[(e=t.action.arguments)==null?void 0:e.token,(r=t.action.arguments)==null?void 0:r.token1,(n=t.action.arguments)==null?void 0:n.token2,(i=t.action.arguments)==null?void 0:i.transfers].filter(u=>u!=null);return[].concat(...o)}return[]};s();s();s();s();var yr=require("@multiversx/sdk-core"),P=U(require("bignumber.js"));s();var hr=U(require("bignumber.js")),Le=(t,e=!0)=>{let r=String(t);if(!r.match(/^[-]?\d+$/))return!1;let n=new hr.default(r),i=e?0:-1;return n.toString(10)===r&&n.comparedTo(0)>=i};s();function B(t){return{if:function(e){return e?{then:r=>r instanceof Function?B(r(t)):B(r)}:{then:()=>B(t)}},then:e=>e instanceof Function?B(e(t)):B(e),valueOf:function(){return t}}}P.default.config({ROUNDING_MODE:P.default.ROUND_FLOOR});function M({input:t,decimals:e=k,digits:r=ce,showLastNonZeroDecimal:n=!0,showIsLessThanDecimalsLabel:i=!1,addCommas:o=!1}){if(!Le(t,!1))throw new Error("Invalid input");let a=new P.default(t).isNegative(),u=t;return a&&(u=t.substring(1)),B(u).then(()=>yr.TokenTransfer.fungibleFromBigInteger("",u,e).amountAsBigInteger.shiftedBy(-e).toFixed(e)).then(g=>{let m=new P.default(g);if(m.isZero())return ue;let h=m.toString(10),[f,y]=h.split("."),T=new P.default(y||0),w=B(0).if(Boolean(y&&n)).then(()=>Math.max(y.length,r)).if(T.isZero()&&!n).then(0).if(Boolean(y&&!n)).then(()=>Math.min(y.length,r)).valueOf(),q=y&&r>=1&&r<=y.length&&T.isGreaterThan(0)&&new P.default(y.substring(0,r)).isZero(),fe=m.toFormat(w);return B(h).if(o).then(fe).if(Boolean(q)).then(ee=>{let Z=new P.default(f).isZero(),[S,re]=ee.split("."),te=new Array(r-1).fill(0),qr=[...te,0].join(""),jr=[...te,1].join("");return Z?i?`<${S}.${jr}`:n?`${S}.${re}`:S:`${S}.${qr}`}).if(Boolean(!q&&y)).then(ee=>{let[Z]=ee.split("."),S=y.substring(0,w);if(n){let re=r-S.length;if(re>0){let te=Array(re).fill(0).join("");return S=`${S}${te}`,`${Z}.${S}`}return ee}return S?`${Z}.${S}`:Z}).valueOf()}).if(a).then(g=>`-${g}`).valueOf()}s();s();var Ot=require("@multiversx/sdk-core");s();var Q=require("@multiversx/sdk-core"),Ut=U(require("bignumber.js"));s();s();s();var Bt=U(require("bignumber.js"));s();s();var De={isEsdt:!1,isNft:!1,isEgld:!1};function xr(t){let e=t==null?void 0:t.split("-").length;return e===2?ne(D({},De),{isEsdt:!0}):e===3?ne(D({},De),{isNft:!0}):ne(D({},De),{isEgld:!0})}s();s();s();s();s();s();s();s();var G="accounts";var Tr="blocks",br="code",wr="collections";var vr="contracts";var kr="identities";var Ar="locked-accounts",Ir="logs",Sr="miniblocks";var Fe="nfts",Nr="nodes",Ce="providers",_r="roles",Oe="sc-results";var Y="tokens";var H="transactions";var de={shard:t=>`/${Tr}?shard=${t}`,receiverShard:t=>`/${H}?receivershard=${t}`,senderShard:t=>`/${H}?sendershard=${t}`,transactionDetails:t=>`/${H}/${t}`,transactionDetailsScResults:t=>`/${H}/${t}/${Oe}`,transactionDetailsLogs:t=>`/${H}/${t}/${Ir}`,nodeDetails:t=>`/${Nr}/${t}`,accountDetails:t=>`/${G}/${t}`,accountDetailsContractCode:t=>`/${G}/${t}/${br}`,accountDetailsTokens:t=>`/${G}/${t}/${Y}`,accountDetailsNfts:t=>`/${G}/${t}/${Fe}`,accountDetailsScResults:t=>`/${G}/${t}/${Oe}`,accountDetailsContracts:t=>`/${G}/${t}/${vr}`,identityDetails:t=>`/${kr}/${t}`,tokenDetails:t=>`/${Y}/${t}`,tokenDetailsAccounts:t=>`/${Y}/${t}/${G}`,tokenDetailsLockedAccounts:t=>`/${Y}/${t}/${Ar}`,tokenDetailsRoles:t=>`/${Y}/${t}/${_r}`,collectionDetails:t=>`/${wr}/${t}`,nftDetails:t=>`/${Fe}/${t}`,providerDetails:t=>`/${Ce}/${t}`,providerDetailsTransactions:t=>`/${Ce}/${t}/${H}`,miniblockDetails:t=>`/${Sr}/${t}`};function ge({token:t,noValue:e,showLastNonZeroDecimal:r}){var m;let n=!e&&t.value&&t.type!=="NonFungibleESDT",i=t.decimals!=null,o="";t.type==="NonFungibleESDT"&&(o="NFT"),t.type==="SemiFungibleESDT"&&(o="SFT"),t.type==="MetaESDT"&&(o="Meta-ESDT");let a="";n&&i&&(a=i?M({input:t.value,decimals:t.decimals,digits:2,showLastNonZeroDecimal:r}):Number(t.value).toLocaleString("en"));let u=de.nftDetails(String(t.identifier)),g=t.ticker===t.collection&&(m=t.identifier)!=null?m:t.ticker;return{badgeText:o,tokenFormattedAmount:n?a:null,tokenExplorerLink:u,tokenLinkText:g,token:t,noValue:e,showLastNonZeroDecimal:r}}s();function me({token:t,noValue:e,showLastNonZeroDecimal:r}){var u;let n=Boolean(!e&&t.value),i=n?M({input:t.value,decimals:(u=t.decimals)!=null?u:k,digits:2,showLastNonZeroDecimal:r,addCommas:!0}):null,o=de.tokenDetails(String(t.token)),a=t.ticker;return{tokenExplorerLink:o,tokenFormattedAmount:i,showFormattedAmount:n,tokenLinkText:a,token:t,showLastNonZeroDecimal:r}}s();var Er=["reDelegateRewards","claimRewards","unBond"],Rr=["wrapEgld","unwrapEgld"],Lr=["unStake"],Dr=["unDelegate"];s();s();var Fr=t=>{let e=t.map(n=>{let{isNft:i}=xr(n.type);if(i){let{badgeText:h,tokenFormattedAmount:f,tokenLinkText:y}=ge({token:n});return`${h!=null?`(${h}) `:""}${f} ${y}`}let{tokenFormattedAmount:o,tokenLinkText:a,token:u}=me({token:n}),g=u.collection?u.identifier:u.token;return`${o} ${a} (${g})`});return decodeURI(e.join("%0A"))};s();var I=t=>({egldValueData:{value:t,formattedValue:M({input:t}),decimals:k}});s();var Br=U(require("bignumber.js"));s();s();function Pt(t){try{let e=atob(t),r=btoa(e),n=c.Buffer.from(t,"base64").toString(),i=c.Buffer.from(n).toString("base64"),o=t===r||r.startsWith(t),a=t===i||i.startsWith(t);if(o&&a)return!0}catch(e){return!1}return!1}function Cr(t){return Pt(t)?atob(t):t}s();s();s();s();var Or=!1;function Ur(t){var e;try{let n=Cr(t.data).replace(`${(e=t.action)==null?void 0:e.name}@`,""),i=new Br.default(n,16);if(!i.isNaN())return I(i.toString(10))}catch(r){Or||(console.error(`Unable to extract value for txHash: ${t.txHash}`),Or=!0)}return I(t.value)}s();s();var Pr=t=>{var r,n;return(n=(r=t==null?void 0:t.operations)==null?void 0:r.filter(i=>Object.values(_e).includes(i.type)))!=null?n:[]};var Mr=!1,Gr=t=>{Mr||(console.error(`Operations field missing for txHash: ${t}.
2
2
  Unable to compute value field.`),Mr=!0)};function Vr(t){try{if(t.operations){let[e]=Pr(t);return I(e==null?void 0:e.value)}else Gr(t.txHash)}catch(e){Gr(t.txHash)}return I(t.value)}s();var $r=U(require("bignumber.js"));var Wr=!1;function Hr(t){var r,n,i,o,a;return new $r.default((n=(r=t.action)==null?void 0:r.arguments)==null?void 0:n.value).isNaN()?(Wr||(console.error(`Unable to interpret ${(a=t.action)==null?void 0:a.name} data for txHash: ${t.txHash}`),Wr=!0),I(t.value)):I((o=(i=t.action)==null?void 0:i.arguments)==null?void 0:o.value)}var Mt=({transaction:t,hideMultipleBadge:e})=>{var r;if(t.action){if(Rr.includes(t.action.name))return I(t.value);if(Lr.includes(t.action.name))return Ur(t);if(Er.includes(t.action.name))return Vr(t);if(Dr.includes(t.action.name))return Hr(t);let n=fr(t);if(n.length){let i=n[0],o=Object.values(pe).includes(i.type),u=!e&&n.length>1?Fr(n):"";if(o){let{badgeText:T,tokenFormattedAmount:w,tokenExplorerLink:q,tokenLinkText:fe}=ge({token:i});return{nftValueData:{badgeText:T,tokenFormattedAmount:w,tokenExplorerLink:q,tokenLinkText:fe,transactionTokens:n,token:i,value:w!=null?i.value:null,decimals:w!=null?i.decimals:null,titleText:u}}}let{tokenExplorerLink:g,showFormattedAmount:m,tokenFormattedAmount:h,tokenLinkText:f,token:y}=me({token:i});return{tokenValueData:{tokenExplorerLink:g,showFormattedAmount:m,tokenFormattedAmount:h,tokenLinkText:f,transactionTokens:n,token:y,value:i.value,decimals:(r=i.decimals)!=null?r:k,titleText:u}}}}return I(t.value)};0&&(module.exports={getTransactionValue});
3
3
  /*!
4
4
  * The buffer module from node.js, for the browser.