@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 Yr=Object.create;var M=Object.defineProperty;var $r=Object.getOwnPropertyDescriptor;var zr=Object.getOwnPropertyNames,ur=Object.getOwnPropertySymbols,Xr=Object.getPrototypeOf,cr=Object.prototype.hasOwnProperty,Jr=Object.prototype.propertyIsEnumerable;var pr=(t,r,e)=>r in t?M(t,r,{enumerable:!0,configurable:!0,writable:!0,value:e}):t[r]=e,W=(t,r)=>{for(var e in r||(r={}))cr.call(r,e)&&pr(t,e,r[e]);if(ur)for(var e of ur(r))Jr.call(r,e)&&pr(t,e,r[e]);return t};var Kr=(t,r)=>()=>(t&&(r=t(t=0)),r);var G=(t,r)=>()=>(r||t((r={exports:{}}).exports,r),r.exports),jr=(t,r)=>{for(var e in r)M(t,e,{get:r[e],enumerable:!0})},lr=(t,r,e,n)=>{if(r&&typeof r=="object"||typeof r=="function")for(let i of zr(r))!cr.call(t,i)&&i!==e&&M(t,i,{get:()=>r[i],enumerable:!(n=$r(r,i))||n.enumerable});return t};var H=(t,r,e)=>(e=t!=null?Yr(Xr(t)):{},lr(r||!t||!t.__esModule?M(e,"default",{value:t,enumerable:!0}):e,t)),Qr=t=>lr(M({},"__esModule",{value:!0}),t);var dr=G(q=>{"use strict";l();q.byteLength=re;q.toByteArray=te;q.fromByteArray=oe;var F=[],b=[],Zr=typeof Uint8Array!="undefined"?Uint8Array:Array,X="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(C=0,fr=X.length;C<fr;++C)F[C]=X[C],b[X.charCodeAt(C)]=C;var C,fr;b["-".charCodeAt(0)]=62;b["_".charCodeAt(0)]=63;function gr(t){var r=t.length;if(r%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var e=t.indexOf("=");e===-1&&(e=r);var n=e===r?0:4-e%4;return[e,n]}function re(t){var r=gr(t),e=r[0],n=r[1];return(e+n)*3/4-n}function ee(t,r,e){return(r+e)*3/4-e}function te(t){var r,e=gr(t),n=e[0],i=e[1],o=new Zr(ee(t,n,i)),a=0,u=i>0?n-4:n,p;for(p=0;p<u;p+=4)r=b[t.charCodeAt(p)]<<18|b[t.charCodeAt(p+1)]<<12|b[t.charCodeAt(p+2)]<<6|b[t.charCodeAt(p+3)],o[a++]=r>>16&255,o[a++]=r>>8&255,o[a++]=r&255;return i===2&&(r=b[t.charCodeAt(p)]<<2|b[t.charCodeAt(p+1)]>>4,o[a++]=r&255),i===1&&(r=b[t.charCodeAt(p)]<<10|b[t.charCodeAt(p+1)]<<4|b[t.charCodeAt(p+2)]>>2,o[a++]=r>>8&255,o[a++]=r&255),o}function ne(t){return F[t>>18&63]+F[t>>12&63]+F[t>>6&63]+F[t&63]}function ie(t,r,e){for(var n,i=[],o=r;o<e;o+=3)n=(t[o]<<16&16711680)+(t[o+1]<<8&65280)+(t[o+2]&255),i.push(ne(n));return i.join("")}function oe(t){for(var r,e=t.length,n=e%3,i=[],o=16383,a=0,u=e-n;a<u;a+=o)i.push(ie(t,a,a+o>u?u:a+o));return n===1?(r=t[e-1],i.push(F[r>>2]+F[r<<4&63]+"==")):n===2&&(r=(t[e-2]<<8)+t[e-1],i.push(F[r>>10]+F[r>>4&63]+F[r<<2&63]+"=")),i.join("")}});var hr=G(J=>{l();J.read=function(t,r,e,n,i){var o,a,u=i*8-n-1,p=(1<<u)-1,f=p>>1,g=-7,c=e?i-1:0,d=e?-1:1,w=t[r+c];for(c+=d,o=w&(1<<-g)-1,w>>=-g,g+=u;g>0;o=o*256+t[r+c],c+=d,g-=8);for(a=o&(1<<-g)-1,o>>=-g,g+=n;g>0;a=a*256+t[r+c],c+=d,g-=8);if(o===0)o=1-f;else{if(o===p)return a?NaN:(w?-1:1)*(1/0);a=a+Math.pow(2,n),o=o-f}return(w?-1:1)*a*Math.pow(2,o-n)};J.write=function(t,r,e,n,i,o){var a,u,p,f=o*8-i-1,g=(1<<f)-1,c=g>>1,d=i===23?Math.pow(2,-24)-Math.pow(2,-77):0,w=n?0:o-1,k=n?1:-1,Vr=r<0||r===0&&1/r<0?1:0;for(r=Math.abs(r),isNaN(r)||r===1/0?(u=isNaN(r)?1:0,a=g):(a=Math.floor(Math.log(r)/Math.LN2),r*(p=Math.pow(2,-a))<1&&(a--,p*=2),a+c>=1?r+=d/p:r+=d*Math.pow(2,1-c),r*p>=2&&(a++,p/=2),a+c>=g?(u=0,a=g):a+c>=1?(u=(r*p-1)*Math.pow(2,i),a=a+c):(u=r*Math.pow(2,c-1)*Math.pow(2,i),a=0));i>=8;t[e+w]=u&255,w+=k,u/=256,i-=8);for(a=a<<i|u,f+=i;f>0;t[e+w]=a&255,w+=k,a/=256,f-=8);t[e+w-k]|=Vr*128}});var Rr=G(U=>{"use strict";l();var K=dr(),L=hr(),mr=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;U.Buffer=s;U.SlowBuffer=le;U.INSPECT_MAX_BYTES=50;var O=2147483647;U.kMaxLength=O;s.TYPED_ARRAY_SUPPORT=ae();!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 ae(){try{var t=new Uint8Array(1),r={foo:function(){return 42}};return Object.setPrototypeOf(r,Uint8Array.prototype),Object.setPrototypeOf(t,r),t.foo()===42}catch(e){return!1}}Object.defineProperty(s.prototype,"parent",{enumerable:!0,get:function(){if(!!s.isBuffer(this))return this.buffer}});Object.defineProperty(s.prototype,"offset",{enumerable:!0,get:function(){if(!!s.isBuffer(this))return this.byteOffset}});function R(t){if(t>O)throw new RangeError('The value "'+t+'" is invalid for option "size"');var r=new Uint8Array(t);return Object.setPrototypeOf(r,s.prototype),r}function s(t,r,e){if(typeof t=="number"){if(typeof r=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return rr(t)}return Tr(t,r,e)}s.poolSize=8192;function Tr(t,r,e){if(typeof t=="string")return ue(t,r);if(ArrayBuffer.isView(t))return pe(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(I(t,ArrayBuffer)||t&&I(t.buffer,ArrayBuffer)||typeof SharedArrayBuffer!="undefined"&&(I(t,SharedArrayBuffer)||t&&I(t.buffer,SharedArrayBuffer)))return Q(t,r,e);if(typeof t=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var n=t.valueOf&&t.valueOf();if(n!=null&&n!==t)return s.from(n,r,e);var i=ce(t);if(i)return i;if(typeof Symbol!="undefined"&&Symbol.toPrimitive!=null&&typeof t[Symbol.toPrimitive]=="function")return s.from(t[Symbol.toPrimitive]("string"),r,e);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t)}s.from=function(t,r,e){return Tr(t,r,e)};Object.setPrototypeOf(s.prototype,Uint8Array.prototype);Object.setPrototypeOf(s,Uint8Array);function wr(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 se(t,r,e){return wr(t),t<=0?R(t):r!==void 0?typeof e=="string"?R(t).fill(r,e):R(t).fill(r):R(t)}s.alloc=function(t,r,e){return se(t,r,e)};function rr(t){return wr(t),R(t<0?0:er(t)|0)}s.allocUnsafe=function(t){return rr(t)};s.allocUnsafeSlow=function(t){return rr(t)};function ue(t,r){if((typeof r!="string"||r==="")&&(r="utf8"),!s.isEncoding(r))throw new TypeError("Unknown encoding: "+r);var e=vr(t,r)|0,n=R(e),i=n.write(t,r);return i!==e&&(n=n.slice(0,i)),n}function j(t){for(var r=t.length<0?0:er(t.length)|0,e=R(r),n=0;n<r;n+=1)e[n]=t[n]&255;return e}function pe(t){if(I(t,Uint8Array)){var r=new Uint8Array(t);return Q(r.buffer,r.byteOffset,r.byteLength)}return j(t)}function Q(t,r,e){if(r<0||t.byteLength<r)throw new RangeError('"offset" is outside of buffer bounds');if(t.byteLength<r+(e||0))throw new RangeError('"length" is outside of buffer bounds');var n;return r===void 0&&e===void 0?n=new Uint8Array(t):e===void 0?n=new Uint8Array(t,r):n=new Uint8Array(t,r,e),Object.setPrototypeOf(n,s.prototype),n}function ce(t){if(s.isBuffer(t)){var r=er(t.length)|0,e=R(r);return e.length===0||t.copy(e,0,0,r),e}if(t.length!==void 0)return typeof t.length!="number"||tr(t.length)?R(0):j(t);if(t.type==="Buffer"&&Array.isArray(t.data))return j(t.data)}function er(t){if(t>=O)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+O.toString(16)+" bytes");return t|0}function le(t){return+t!=t&&(t=0),s.alloc(+t)}s.isBuffer=function(r){return r!=null&&r._isBuffer===!0&&r!==s.prototype};s.compare=function(r,e){if(I(r,Uint8Array)&&(r=s.from(r,r.offset,r.byteLength)),I(e,Uint8Array)&&(e=s.from(e,e.offset,e.byteLength)),!s.isBuffer(r)||!s.isBuffer(e))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(r===e)return 0;for(var n=r.length,i=e.length,o=0,a=Math.min(n,i);o<a;++o)if(r[o]!==e[o]){n=r[o],i=e[o];break}return n<i?-1:i<n?1:0};s.isEncoding=function(r){switch(String(r).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}};s.concat=function(r,e){if(!Array.isArray(r))throw new TypeError('"list" argument must be an Array of Buffers');if(r.length===0)return s.alloc(0);var n;if(e===void 0)for(e=0,n=0;n<r.length;++n)e+=r[n].length;var i=s.allocUnsafe(e),o=0;for(n=0;n<r.length;++n){var a=r[n];if(I(a,Uint8Array))o+a.length>i.length?s.from(a).copy(i,o):Uint8Array.prototype.set.call(i,a,o);else if(s.isBuffer(a))a.copy(i,o);else throw new TypeError('"list" argument must be an Array of Buffers');o+=a.length}return i};function vr(t,r){if(s.isBuffer(t))return t.length;if(ArrayBuffer.isView(t)||I(t,ArrayBuffer))return t.byteLength;if(typeof t!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof t);var e=t.length,n=arguments.length>2&&arguments[2]===!0;if(!n&&e===0)return 0;for(var i=!1;;)switch(r){case"ascii":case"latin1":case"binary":return e;case"utf8":case"utf-8":return Z(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return e*2;case"hex":return e>>>1;case"base64":return Br(t).length;default:if(i)return n?-1:Z(t).length;r=(""+r).toLowerCase(),i=!0}}s.byteLength=vr;function fe(t,r,e){var n=!1;if((r===void 0||r<0)&&(r=0),r>this.length||((e===void 0||e>this.length)&&(e=this.length),e<=0)||(e>>>=0,r>>>=0,e<=r))return"";for(t||(t="utf8");;)switch(t){case"hex":return be(this,r,e);case"utf8":case"utf-8":return kr(this,r,e);case"ascii":return we(this,r,e);case"latin1":case"binary":return ve(this,r,e);case"base64":return xe(this,r,e);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return ke(this,r,e);default:if(n)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),n=!0}}s.prototype._isBuffer=!0;function E(t,r,e){var n=t[r];t[r]=t[e],t[e]=n}s.prototype.swap16=function(){var r=this.length;if(r%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var e=0;e<r;e+=2)E(this,e,e+1);return this};s.prototype.swap32=function(){var r=this.length;if(r%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var e=0;e<r;e+=4)E(this,e,e+3),E(this,e+1,e+2);return this};s.prototype.swap64=function(){var r=this.length;if(r%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var e=0;e<r;e+=8)E(this,e,e+7),E(this,e+1,e+6),E(this,e+2,e+5),E(this,e+3,e+4);return this};s.prototype.toString=function(){var r=this.length;return r===0?"":arguments.length===0?kr(this,0,r):fe.apply(this,arguments)};s.prototype.toLocaleString=s.prototype.toString;s.prototype.equals=function(r){if(!s.isBuffer(r))throw new TypeError("Argument must be a Buffer");return this===r?!0:s.compare(this,r)===0};s.prototype.inspect=function(){var r="",e=U.INSPECT_MAX_BYTES;return r=this.toString("hex",0,e).replace(/(.{2})/g,"$1 ").trim(),this.length>e&&(r+=" ... "),"<Buffer "+r+">"};mr&&(s.prototype[mr]=s.prototype.inspect);s.prototype.compare=function(r,e,n,i,o){if(I(r,Uint8Array)&&(r=s.from(r,r.offset,r.byteLength)),!s.isBuffer(r))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof r);if(e===void 0&&(e=0),n===void 0&&(n=r?r.length:0),i===void 0&&(i=0),o===void 0&&(o=this.length),e<0||n>r.length||i<0||o>this.length)throw new RangeError("out of range index");if(i>=o&&e>=n)return 0;if(i>=o)return-1;if(e>=n)return 1;if(e>>>=0,n>>>=0,i>>>=0,o>>>=0,this===r)return 0;for(var a=o-i,u=n-e,p=Math.min(a,u),f=this.slice(i,o),g=r.slice(e,n),c=0;c<p;++c)if(f[c]!==g[c]){a=f[c],u=g[c];break}return a<u?-1:u<a?1:0};function br(t,r,e,n,i){if(t.length===0)return-1;if(typeof e=="string"?(n=e,e=0):e>2147483647?e=2147483647:e<-2147483648&&(e=-2147483648),e=+e,tr(e)&&(e=i?0:t.length-1),e<0&&(e=t.length+e),e>=t.length){if(i)return-1;e=t.length-1}else if(e<0)if(i)e=0;else return-1;if(typeof r=="string"&&(r=s.from(r,n)),s.isBuffer(r))return r.length===0?-1:yr(t,r,e,n,i);if(typeof r=="number")return r=r&255,typeof Uint8Array.prototype.indexOf=="function"?i?Uint8Array.prototype.indexOf.call(t,r,e):Uint8Array.prototype.lastIndexOf.call(t,r,e):yr(t,[r],e,n,i);throw new TypeError("val must be string, number or Buffer")}function yr(t,r,e,n,i){var o=1,a=t.length,u=r.length;if(n!==void 0&&(n=String(n).toLowerCase(),n==="ucs2"||n==="ucs-2"||n==="utf16le"||n==="utf-16le")){if(t.length<2||r.length<2)return-1;o=2,a/=2,u/=2,e/=2}function p(w,k){return o===1?w[k]:w.readUInt16BE(k*o)}var f;if(i){var g=-1;for(f=e;f<a;f++)if(p(t,f)===p(r,g===-1?0:f-g)){if(g===-1&&(g=f),f-g+1===u)return g*o}else g!==-1&&(f-=f-g),g=-1}else for(e+u>a&&(e=a-u),f=e;f>=0;f--){for(var c=!0,d=0;d<u;d++)if(p(t,f+d)!==p(r,d)){c=!1;break}if(c)return f}return-1}s.prototype.includes=function(r,e,n){return this.indexOf(r,e,n)!==-1};s.prototype.indexOf=function(r,e,n){return br(this,r,e,n,!0)};s.prototype.lastIndexOf=function(r,e,n){return br(this,r,e,n,!1)};function ge(t,r,e,n){e=Number(e)||0;var i=t.length-e;n?(n=Number(n),n>i&&(n=i)):n=i;var o=r.length;n>o/2&&(n=o/2);for(var a=0;a<n;++a){var u=parseInt(r.substr(a*2,2),16);if(tr(u))return a;t[e+a]=u}return a}function de(t,r,e,n){return V(Z(r,t.length-e),t,e,n)}function he(t,r,e,n){return V(Se(r),t,e,n)}function me(t,r,e,n){return V(Br(r),t,e,n)}function ye(t,r,e,n){return V(Be(r,t.length-e),t,e,n)}s.prototype.write=function(r,e,n,i){if(e===void 0)i="utf8",n=this.length,e=0;else if(n===void 0&&typeof e=="string")i=e,n=this.length,e=0;else if(isFinite(e))e=e>>>0,isFinite(n)?(n=n>>>0,i===void 0&&(i="utf8")):(i=n,n=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var o=this.length-e;if((n===void 0||n>o)&&(n=o),r.length>0&&(n<0||e<0)||e>this.length)throw new RangeError("Attempt to write outside buffer bounds");i||(i="utf8");for(var a=!1;;)switch(i){case"hex":return ge(this,r,e,n);case"utf8":case"utf-8":return de(this,r,e,n);case"ascii":case"latin1":case"binary":return he(this,r,e,n);case"base64":return me(this,r,e,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return ye(this,r,e,n);default:if(a)throw new TypeError("Unknown encoding: "+i);i=(""+i).toLowerCase(),a=!0}};s.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function xe(t,r,e){return r===0&&e===t.length?K.fromByteArray(t):K.fromByteArray(t.slice(r,e))}function kr(t,r,e){e=Math.min(t.length,e);for(var n=[],i=r;i<e;){var o=t[i],a=null,u=o>239?4:o>223?3:o>191?2:1;if(i+u<=e){var p,f,g,c;switch(u){case 1:o<128&&(a=o);break;case 2:p=t[i+1],(p&192)===128&&(c=(o&31)<<6|p&63,c>127&&(a=c));break;case 3:p=t[i+1],f=t[i+2],(p&192)===128&&(f&192)===128&&(c=(o&15)<<12|(p&63)<<6|f&63,c>2047&&(c<55296||c>57343)&&(a=c));break;case 4:p=t[i+1],f=t[i+2],g=t[i+3],(p&192)===128&&(f&192)===128&&(g&192)===128&&(c=(o&15)<<18|(p&63)<<12|(f&63)<<6|g&63,c>65535&&c<1114112&&(a=c))}}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 Te(n)}var xr=4096;function Te(t){var r=t.length;if(r<=xr)return String.fromCharCode.apply(String,t);for(var e="",n=0;n<r;)e+=String.fromCharCode.apply(String,t.slice(n,n+=xr));return e}function we(t,r,e){var n="";e=Math.min(t.length,e);for(var i=r;i<e;++i)n+=String.fromCharCode(t[i]&127);return n}function ve(t,r,e){var n="";e=Math.min(t.length,e);for(var i=r;i<e;++i)n+=String.fromCharCode(t[i]);return n}function be(t,r,e){var n=t.length;(!r||r<0)&&(r=0),(!e||e<0||e>n)&&(e=n);for(var i="",o=r;o<e;++o)i+=Re[t[o]];return i}function ke(t,r,e){for(var n=t.slice(r,e),i="",o=0;o<n.length-1;o+=2)i+=String.fromCharCode(n[o]+n[o+1]*256);return i}s.prototype.slice=function(r,e){var n=this.length;r=~~r,e=e===void 0?n:~~e,r<0?(r+=n,r<0&&(r=0)):r>n&&(r=n),e<0?(e+=n,e<0&&(e=0)):e>n&&(e=n),e<r&&(e=r);var i=this.subarray(r,e);return Object.setPrototypeOf(i,s.prototype),i};function T(t,r,e){if(t%1!==0||t<0)throw new RangeError("offset is not uint");if(t+r>e)throw new RangeError("Trying to access beyond buffer length")}s.prototype.readUintLE=s.prototype.readUIntLE=function(r,e,n){r=r>>>0,e=e>>>0,n||T(r,e,this.length);for(var i=this[r],o=1,a=0;++a<e&&(o*=256);)i+=this[r+a]*o;return i};s.prototype.readUintBE=s.prototype.readUIntBE=function(r,e,n){r=r>>>0,e=e>>>0,n||T(r,e,this.length);for(var i=this[r+--e],o=1;e>0&&(o*=256);)i+=this[r+--e]*o;return i};s.prototype.readUint8=s.prototype.readUInt8=function(r,e){return r=r>>>0,e||T(r,1,this.length),this[r]};s.prototype.readUint16LE=s.prototype.readUInt16LE=function(r,e){return r=r>>>0,e||T(r,2,this.length),this[r]|this[r+1]<<8};s.prototype.readUint16BE=s.prototype.readUInt16BE=function(r,e){return r=r>>>0,e||T(r,2,this.length),this[r]<<8|this[r+1]};s.prototype.readUint32LE=s.prototype.readUInt32LE=function(r,e){return r=r>>>0,e||T(r,4,this.length),(this[r]|this[r+1]<<8|this[r+2]<<16)+this[r+3]*16777216};s.prototype.readUint32BE=s.prototype.readUInt32BE=function(r,e){return r=r>>>0,e||T(r,4,this.length),this[r]*16777216+(this[r+1]<<16|this[r+2]<<8|this[r+3])};s.prototype.readIntLE=function(r,e,n){r=r>>>0,e=e>>>0,n||T(r,e,this.length);for(var i=this[r],o=1,a=0;++a<e&&(o*=256);)i+=this[r+a]*o;return o*=128,i>=o&&(i-=Math.pow(2,8*e)),i};s.prototype.readIntBE=function(r,e,n){r=r>>>0,e=e>>>0,n||T(r,e,this.length);for(var i=e,o=1,a=this[r+--i];i>0&&(o*=256);)a+=this[r+--i]*o;return o*=128,a>=o&&(a-=Math.pow(2,8*e)),a};s.prototype.readInt8=function(r,e){return r=r>>>0,e||T(r,1,this.length),this[r]&128?(255-this[r]+1)*-1:this[r]};s.prototype.readInt16LE=function(r,e){r=r>>>0,e||T(r,2,this.length);var n=this[r]|this[r+1]<<8;return n&32768?n|4294901760:n};s.prototype.readInt16BE=function(r,e){r=r>>>0,e||T(r,2,this.length);var n=this[r+1]|this[r]<<8;return n&32768?n|4294901760:n};s.prototype.readInt32LE=function(r,e){return r=r>>>0,e||T(r,4,this.length),this[r]|this[r+1]<<8|this[r+2]<<16|this[r+3]<<24};s.prototype.readInt32BE=function(r,e){return r=r>>>0,e||T(r,4,this.length),this[r]<<24|this[r+1]<<16|this[r+2]<<8|this[r+3]};s.prototype.readFloatLE=function(r,e){return r=r>>>0,e||T(r,4,this.length),L.read(this,r,!0,23,4)};s.prototype.readFloatBE=function(r,e){return r=r>>>0,e||T(r,4,this.length),L.read(this,r,!1,23,4)};s.prototype.readDoubleLE=function(r,e){return r=r>>>0,e||T(r,8,this.length),L.read(this,r,!0,52,8)};s.prototype.readDoubleBE=function(r,e){return r=r>>>0,e||T(r,8,this.length),L.read(this,r,!1,52,8)};function v(t,r,e,n,i,o){if(!s.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(r>i||r<o)throw new RangeError('"value" argument is out of bounds');if(e+n>t.length)throw new RangeError("Index out of range")}s.prototype.writeUintLE=s.prototype.writeUIntLE=function(r,e,n,i){if(r=+r,e=e>>>0,n=n>>>0,!i){var o=Math.pow(2,8*n)-1;v(this,r,e,n,o,0)}var a=1,u=0;for(this[e]=r&255;++u<n&&(a*=256);)this[e+u]=r/a&255;return e+n};s.prototype.writeUintBE=s.prototype.writeUIntBE=function(r,e,n,i){if(r=+r,e=e>>>0,n=n>>>0,!i){var o=Math.pow(2,8*n)-1;v(this,r,e,n,o,0)}var a=n-1,u=1;for(this[e+a]=r&255;--a>=0&&(u*=256);)this[e+a]=r/u&255;return e+n};s.prototype.writeUint8=s.prototype.writeUInt8=function(r,e,n){return r=+r,e=e>>>0,n||v(this,r,e,1,255,0),this[e]=r&255,e+1};s.prototype.writeUint16LE=s.prototype.writeUInt16LE=function(r,e,n){return r=+r,e=e>>>0,n||v(this,r,e,2,65535,0),this[e]=r&255,this[e+1]=r>>>8,e+2};s.prototype.writeUint16BE=s.prototype.writeUInt16BE=function(r,e,n){return r=+r,e=e>>>0,n||v(this,r,e,2,65535,0),this[e]=r>>>8,this[e+1]=r&255,e+2};s.prototype.writeUint32LE=s.prototype.writeUInt32LE=function(r,e,n){return r=+r,e=e>>>0,n||v(this,r,e,4,4294967295,0),this[e+3]=r>>>24,this[e+2]=r>>>16,this[e+1]=r>>>8,this[e]=r&255,e+4};s.prototype.writeUint32BE=s.prototype.writeUInt32BE=function(r,e,n){return r=+r,e=e>>>0,n||v(this,r,e,4,4294967295,0),this[e]=r>>>24,this[e+1]=r>>>16,this[e+2]=r>>>8,this[e+3]=r&255,e+4};s.prototype.writeIntLE=function(r,e,n,i){if(r=+r,e=e>>>0,!i){var o=Math.pow(2,8*n-1);v(this,r,e,n,o-1,-o)}var a=0,u=1,p=0;for(this[e]=r&255;++a<n&&(u*=256);)r<0&&p===0&&this[e+a-1]!==0&&(p=1),this[e+a]=(r/u>>0)-p&255;return e+n};s.prototype.writeIntBE=function(r,e,n,i){if(r=+r,e=e>>>0,!i){var o=Math.pow(2,8*n-1);v(this,r,e,n,o-1,-o)}var a=n-1,u=1,p=0;for(this[e+a]=r&255;--a>=0&&(u*=256);)r<0&&p===0&&this[e+a+1]!==0&&(p=1),this[e+a]=(r/u>>0)-p&255;return e+n};s.prototype.writeInt8=function(r,e,n){return r=+r,e=e>>>0,n||v(this,r,e,1,127,-128),r<0&&(r=255+r+1),this[e]=r&255,e+1};s.prototype.writeInt16LE=function(r,e,n){return r=+r,e=e>>>0,n||v(this,r,e,2,32767,-32768),this[e]=r&255,this[e+1]=r>>>8,e+2};s.prototype.writeInt16BE=function(r,e,n){return r=+r,e=e>>>0,n||v(this,r,e,2,32767,-32768),this[e]=r>>>8,this[e+1]=r&255,e+2};s.prototype.writeInt32LE=function(r,e,n){return r=+r,e=e>>>0,n||v(this,r,e,4,2147483647,-2147483648),this[e]=r&255,this[e+1]=r>>>8,this[e+2]=r>>>16,this[e+3]=r>>>24,e+4};s.prototype.writeInt32BE=function(r,e,n){return r=+r,e=e>>>0,n||v(this,r,e,4,2147483647,-2147483648),r<0&&(r=4294967295+r+1),this[e]=r>>>24,this[e+1]=r>>>16,this[e+2]=r>>>8,this[e+3]=r&255,e+4};function Fr(t,r,e,n,i,o){if(e+n>t.length)throw new RangeError("Index out of range");if(e<0)throw new RangeError("Index out of range")}function Ir(t,r,e,n,i){return r=+r,e=e>>>0,i||Fr(t,r,e,4,34028234663852886e22,-34028234663852886e22),L.write(t,r,e,n,23,4),e+4}s.prototype.writeFloatLE=function(r,e,n){return Ir(this,r,e,!0,n)};s.prototype.writeFloatBE=function(r,e,n){return Ir(this,r,e,!1,n)};function Sr(t,r,e,n,i){return r=+r,e=e>>>0,i||Fr(t,r,e,8,17976931348623157e292,-17976931348623157e292),L.write(t,r,e,n,52,8),e+8}s.prototype.writeDoubleLE=function(r,e,n){return Sr(this,r,e,!0,n)};s.prototype.writeDoubleBE=function(r,e,n){return Sr(this,r,e,!1,n)};s.prototype.copy=function(r,e,n,i){if(!s.isBuffer(r))throw new TypeError("argument should be a Buffer");if(n||(n=0),!i&&i!==0&&(i=this.length),e>=r.length&&(e=r.length),e||(e=0),i>0&&i<n&&(i=n),i===n||r.length===0||this.length===0)return 0;if(e<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw new RangeError("Index out of range");if(i<0)throw new RangeError("sourceEnd out of bounds");i>this.length&&(i=this.length),r.length-e<i-n&&(i=r.length-e+n);var o=i-n;return this===r&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(e,n,i):Uint8Array.prototype.set.call(r,this.subarray(n,i),e),o};s.prototype.fill=function(r,e,n,i){if(typeof r=="string"){if(typeof e=="string"?(i=e,e=0,n=this.length):typeof n=="string"&&(i=n,n=this.length),i!==void 0&&typeof i!="string")throw new TypeError("encoding must be a string");if(typeof i=="string"&&!s.isEncoding(i))throw new TypeError("Unknown encoding: "+i);if(r.length===1){var o=r.charCodeAt(0);(i==="utf8"&&o<128||i==="latin1")&&(r=o)}}else typeof r=="number"?r=r&255:typeof r=="boolean"&&(r=Number(r));if(e<0||this.length<e||this.length<n)throw new RangeError("Out of range index");if(n<=e)return this;e=e>>>0,n=n===void 0?this.length:n>>>0,r||(r=0);var a;if(typeof r=="number")for(a=e;a<n;++a)this[a]=r;else{var u=s.isBuffer(r)?r:s.from(r,i),p=u.length;if(p===0)throw new TypeError('The value "'+r+'" is invalid for argument "value"');for(a=0;a<n-e;++a)this[a+e]=u[a%p]}return this};var Fe=/[^+/0-9A-Za-z-_]/g;function Ie(t){if(t=t.split("=")[0],t=t.trim().replace(Fe,""),t.length<2)return"";for(;t.length%4!==0;)t=t+"=";return t}function Z(t,r){r=r||1/0;for(var e,n=t.length,i=null,o=[],a=0;a<n;++a){if(e=t.charCodeAt(a),e>55295&&e<57344){if(!i){if(e>56319){(r-=3)>-1&&o.push(239,191,189);continue}else if(a+1===n){(r-=3)>-1&&o.push(239,191,189);continue}i=e;continue}if(e<56320){(r-=3)>-1&&o.push(239,191,189),i=e;continue}e=(i-55296<<10|e-56320)+65536}else i&&(r-=3)>-1&&o.push(239,191,189);if(i=null,e<128){if((r-=1)<0)break;o.push(e)}else if(e<2048){if((r-=2)<0)break;o.push(e>>6|192,e&63|128)}else if(e<65536){if((r-=3)<0)break;o.push(e>>12|224,e>>6&63|128,e&63|128)}else if(e<1114112){if((r-=4)<0)break;o.push(e>>18|240,e>>12&63|128,e>>6&63|128,e&63|128)}else throw new Error("Invalid code point")}return o}function Se(t){for(var r=[],e=0;e<t.length;++e)r.push(t.charCodeAt(e)&255);return r}function Be(t,r){for(var e,n,i,o=[],a=0;a<t.length&&!((r-=2)<0);++a)e=t.charCodeAt(a),n=e>>8,i=e%256,o.push(i),o.push(n);return o}function Br(t){return K.toByteArray(Ie(t))}function V(t,r,e,n){for(var i=0;i<n&&!(i+e>=r.length||i>=t.length);++i)r[i+e]=t[i];return i}function I(t,r){return t instanceof r||t!=null&&t.constructor!=null&&t.constructor.name!=null&&t.constructor.name===r.name}function tr(t){return t!==t}var Re=function(){for(var t="0123456789abcdef",r=new Array(256),e=0;e<16;++e)for(var n=e*16,i=0;i<16;++i)r[n+i]=t[e]+t[i];return r}()});var _r=G((Ge,Er)=>{l();var x=Er.exports={},S,B;function nr(){throw new Error("setTimeout has not been defined")}function ir(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?S=setTimeout:S=nr}catch(t){S=nr}try{typeof clearTimeout=="function"?B=clearTimeout:B=ir}catch(t){B=ir}})();function Ar(t){if(S===setTimeout)return setTimeout(t,0);if((S===nr||!S)&&setTimeout)return S=setTimeout,setTimeout(t,0);try{return S(t,0)}catch(r){try{return S.call(null,t,0)}catch(e){return S.call(this,t,0)}}}function Ae(t){if(B===clearTimeout)return clearTimeout(t);if((B===ir||!B)&&clearTimeout)return B=clearTimeout,clearTimeout(t);try{return B(t)}catch(r){try{return B.call(null,t)}catch(e){return B.call(this,t)}}}var A=[],N=!1,_,Y=-1;function De(){!N||!_||(N=!1,_.length?A=_.concat(A):Y=-1,A.length&&Dr())}function Dr(){if(!N){var t=Ar(De);N=!0;for(var r=A.length;r;){for(_=A,A=[];++Y<r;)_&&_[Y].run();Y=-1,r=A.length}_=null,N=!1,Ae(t)}}x.nextTick=function(t){var r=new Array(arguments.length-1);if(arguments.length>1)for(var e=1;e<arguments.length;e++)r[e-1]=arguments[e];A.push(new Cr(t,r)),A.length===1&&!N&&Ar(Dr)};function Cr(t,r){this.fun=t,this.array=r}Cr.prototype.run=function(){this.fun.apply(null,this.array)};x.title="browser";x.browser=!0;x.env={};x.argv=[];x.version="";x.versions={};function D(){}x.on=D;x.addListener=D;x.once=D;x.off=D;x.removeListener=D;x.removeAllListeners=D;x.emit=D;x.prependListener=D;x.prependOnceListener=D;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 h,m,He,l=Kr(()=>{h=H(Rr()),m=H(_r()),He=function(t){function r(){var n=this||self;return delete t.prototype.__magic__,n}if(typeof globalThis=="object")return globalThis;if(this)return r();t.defineProperty(t.prototype,"__magic__",{configurable:!0,get:r});var e=__magic__;return e}(Object)});var Ue={};jr(Ue,{parseMultiEsdtTransferDataForMultipleTransactions:()=>Le});module.exports=Qr(Ue);l();l();var ar=require("@multiversx/sdk-core"),z=H(require("bignumber.js"));l();l();var Ce=require("@multiversx/sdk-dapp-utils/out/constants/crossWindowProviderConstants"),P=require("@multiversx/sdk-dapp-utils/out/enums/crossWindowProviderEnums");var Lr=(e=>(e.signTransactionsWithGuardianResponse="SIGN_TRANSACTIONS_WITH_GUARDIAN_RESPONSE",e.reloginRequest="RELOGIN_REQUEST",e))(Lr||{}),Ye=W(W({},P.CrossWindowProviderRequestEnums),Lr),Ur=(r=>(r.reloginResponse="RELOGIN_RESPONSE",r))(Ur||{}),$e=W(W({},P.CrossWindowProviderResponseEnums),Ur);l();var Nr=require("@multiversx/sdk-core");function Ee(t){try{let r=new Nr.Address(t);return Boolean(r.bech32())}catch(r){return!1}}function Pr(t){return(t==null?void 0:t.startsWith("erd"))&&t.length===62&&/^\w+$/.test(t)&&Ee(t)}l();l();function Mr(t){for(let r=0;r<t.length;r++)if(t.charCodeAt(r)>127)return!1;return!0}function $(t){let r=t;try{let e=h.Buffer.from(t,"hex").toString();Mr(e)&&e.length>1&&(r=e)}catch(e){}return r}var or={tokenId:"",amount:""},Wr=t=>t.split("@").map((o,a)=>[2,3].includes(a)?o:$(o));function Gr(t){if(!t)return or;let r=t.startsWith("ESDTTransfer"),e=t.startsWith("ESDTNFTTransfer")&&t.includes("@"),n=t.startsWith("ESDTNFTBurn")&&t.includes("@");if(r){let[,i,o]=t.split("@");try{let a=h.Buffer.from(i,"hex").toString("ascii");if(!a)return or;let u=new z.default("0x"+o.replace("0x","")).toString(10);return{tokenId:a,amount:u}}catch(a){console.error("Error getting token from transaction data",a)}}if(e)try{let[,i,o,a,u]=Wr(t);if([i,o,a,u].every(p=>Boolean(p))&&Pr(new ar.Address(u).bech32()))return{tokenId:`${i}-${o}`,amount:new z.default(a,16).toString(10),collection:i,nonce:o,receiver:new ar.Address(u).bech32()}}catch(i){}if(n)try{let[,i,o,a]=Wr(t);if([i,o,a].every(u=>Boolean(u)))return{tokenId:`${i}-${o}`,amount:new z.default(a,16).toString(10),collection:i,nonce:o}}catch(i){}return or}l();var sr=H(require("bignumber.js"));l();l();l();l();l();l();l();l();l();l();l();var Hr=(t,r)=>{let e=[],n=t.indexOf(r,0);for(;n>=0;)e.push(n),n=t.indexOf(r,n+1);return e};function qr(t){let r=[],e=0;try{if((t==null?void 0:t.startsWith("MultiESDTNFTTransfer"))&&(t==null?void 0:t.includes("@"))){let[,n,i,...o]=t==null?void 0:t.split("@");if(n){let a=new sr.default(i,16).toNumber();if(a>=Number.MAX_SAFE_INTEGER)return[];let u=0;for(let c=0;c<a;c++){let d={type:"nftTransaction",data:"",receiver:n};for(let w=0;w<3;w++){switch(w){case 0:d.token=$(o[u]),d.data=o[u];break;case 1:{let k=o[u]&&o[u].length?o[u]:"";k&&k!=="00"?d.nonce=k:d.type="esdtTransaction",d.data=`${d.data}@${o[u]}`;break}case 2:d.amount=new sr.default(o[u],16).toString(10),d.data=`${d.data}@${o[u]}`;break;default:break}e=u+1,u++}r[c]=d}let p=r.length!==a,f=r.some(c=>Hr(c.data,"@").length!==2),g=r.some(c=>c.data.startsWith("@"));if(p||f||g)return[];if(o[e]){let c=o[e];for(let d=e+1;d<o.length;d++)c+="@"+o[d];r[a]={type:"scCall",data:c,receiver:n}}}}}catch(n){return console.error("failed parsing tx",n),r}return r}function Or({parsedTransactionsByDataField:t,data:r,txInfo:e}){!t||(t[r]=e)}function Le({transactions:t}){let r={},e=[];return!t||t.length===0?{allTransactions:e,parsedTransactionsByDataField:r}:(t.forEach((n,i)=>{let o=n.getData().toString(),a=qr(o);if(a.length>0)a.forEach((u,p)=>{let f={transaction:n,multiTxData:u.data,transactionIndex:p};Or({parsedTransactionsByDataField:r,data:u.data,txInfo:{tokenId:u.token?u.token:"",amount:u.amount?u.amount:"",type:u.type,nonce:u.nonce?u.nonce:"",multiTxData:u.data,receiver:u.receiver}}),e.push(f)});else{let u=n.getData().toString(),{tokenId:p,amount:f}=Gr(u);p&&Or({parsedTransactionsByDataField:r,data:u,txInfo:{tokenId:p,amount:f,receiver:n.getReceiver().bech32()}}),e.push({transaction:n,transactionIndex:i,multiTxData:u})}}),{allTransactions:e,parsedTransactionsByDataField:r})}0&&(module.exports={parseMultiEsdtTransferDataForMultipleTransactions});
1
+ "use strict";var Yr=Object.create;var M=Object.defineProperty;var $r=Object.getOwnPropertyDescriptor;var zr=Object.getOwnPropertyNames,ur=Object.getOwnPropertySymbols,Xr=Object.getPrototypeOf,cr=Object.prototype.hasOwnProperty,Jr=Object.prototype.propertyIsEnumerable;var pr=(t,r,e)=>r in t?M(t,r,{enumerable:!0,configurable:!0,writable:!0,value:e}):t[r]=e,W=(t,r)=>{for(var e in r||(r={}))cr.call(r,e)&&pr(t,e,r[e]);if(ur)for(var e of ur(r))Jr.call(r,e)&&pr(t,e,r[e]);return t};var Kr=(t,r)=>()=>(t&&(r=t(t=0)),r);var G=(t,r)=>()=>(r||t((r={exports:{}}).exports,r),r.exports),jr=(t,r)=>{for(var e in r)M(t,e,{get:r[e],enumerable:!0})},lr=(t,r,e,n)=>{if(r&&typeof r=="object"||typeof r=="function")for(let i of zr(r))!cr.call(t,i)&&i!==e&&M(t,i,{get:()=>r[i],enumerable:!(n=$r(r,i))||n.enumerable});return t};var H=(t,r,e)=>(e=t!=null?Yr(Xr(t)):{},lr(r||!t||!t.__esModule?M(e,"default",{value:t,enumerable:!0}):e,t)),Qr=t=>lr(M({},"__esModule",{value:!0}),t);var dr=G(q=>{"use strict";l();q.byteLength=re;q.toByteArray=te;q.fromByteArray=oe;var F=[],b=[],Zr=typeof Uint8Array!="undefined"?Uint8Array:Array,X="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(C=0,fr=X.length;C<fr;++C)F[C]=X[C],b[X.charCodeAt(C)]=C;var C,fr;b["-".charCodeAt(0)]=62;b["_".charCodeAt(0)]=63;function gr(t){var r=t.length;if(r%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var e=t.indexOf("=");e===-1&&(e=r);var n=e===r?0:4-e%4;return[e,n]}function re(t){var r=gr(t),e=r[0],n=r[1];return(e+n)*3/4-n}function ee(t,r,e){return(r+e)*3/4-e}function te(t){var r,e=gr(t),n=e[0],i=e[1],o=new Zr(ee(t,n,i)),a=0,u=i>0?n-4:n,p;for(p=0;p<u;p+=4)r=b[t.charCodeAt(p)]<<18|b[t.charCodeAt(p+1)]<<12|b[t.charCodeAt(p+2)]<<6|b[t.charCodeAt(p+3)],o[a++]=r>>16&255,o[a++]=r>>8&255,o[a++]=r&255;return i===2&&(r=b[t.charCodeAt(p)]<<2|b[t.charCodeAt(p+1)]>>4,o[a++]=r&255),i===1&&(r=b[t.charCodeAt(p)]<<10|b[t.charCodeAt(p+1)]<<4|b[t.charCodeAt(p+2)]>>2,o[a++]=r>>8&255,o[a++]=r&255),o}function ne(t){return F[t>>18&63]+F[t>>12&63]+F[t>>6&63]+F[t&63]}function ie(t,r,e){for(var n,i=[],o=r;o<e;o+=3)n=(t[o]<<16&16711680)+(t[o+1]<<8&65280)+(t[o+2]&255),i.push(ne(n));return i.join("")}function oe(t){for(var r,e=t.length,n=e%3,i=[],o=16383,a=0,u=e-n;a<u;a+=o)i.push(ie(t,a,a+o>u?u:a+o));return n===1?(r=t[e-1],i.push(F[r>>2]+F[r<<4&63]+"==")):n===2&&(r=(t[e-2]<<8)+t[e-1],i.push(F[r>>10]+F[r>>4&63]+F[r<<2&63]+"=")),i.join("")}});var hr=G(J=>{l();J.read=function(t,r,e,n,i){var o,a,u=i*8-n-1,p=(1<<u)-1,f=p>>1,g=-7,c=e?i-1:0,d=e?-1:1,w=t[r+c];for(c+=d,o=w&(1<<-g)-1,w>>=-g,g+=u;g>0;o=o*256+t[r+c],c+=d,g-=8);for(a=o&(1<<-g)-1,o>>=-g,g+=n;g>0;a=a*256+t[r+c],c+=d,g-=8);if(o===0)o=1-f;else{if(o===p)return a?NaN:(w?-1:1)*(1/0);a=a+Math.pow(2,n),o=o-f}return(w?-1:1)*a*Math.pow(2,o-n)};J.write=function(t,r,e,n,i,o){var a,u,p,f=o*8-i-1,g=(1<<f)-1,c=g>>1,d=i===23?Math.pow(2,-24)-Math.pow(2,-77):0,w=n?0:o-1,k=n?1:-1,Vr=r<0||r===0&&1/r<0?1:0;for(r=Math.abs(r),isNaN(r)||r===1/0?(u=isNaN(r)?1:0,a=g):(a=Math.floor(Math.log(r)/Math.LN2),r*(p=Math.pow(2,-a))<1&&(a--,p*=2),a+c>=1?r+=d/p:r+=d*Math.pow(2,1-c),r*p>=2&&(a++,p/=2),a+c>=g?(u=0,a=g):a+c>=1?(u=(r*p-1)*Math.pow(2,i),a=a+c):(u=r*Math.pow(2,c-1)*Math.pow(2,i),a=0));i>=8;t[e+w]=u&255,w+=k,u/=256,i-=8);for(a=a<<i|u,f+=i;f>0;t[e+w]=a&255,w+=k,a/=256,f-=8);t[e+w-k]|=Vr*128}});var Rr=G(L=>{"use strict";l();var K=dr(),U=hr(),mr=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;L.Buffer=s;L.SlowBuffer=le;L.INSPECT_MAX_BYTES=50;var O=2147483647;L.kMaxLength=O;s.TYPED_ARRAY_SUPPORT=ae();!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 ae(){try{var t=new Uint8Array(1),r={foo:function(){return 42}};return Object.setPrototypeOf(r,Uint8Array.prototype),Object.setPrototypeOf(t,r),t.foo()===42}catch(e){return!1}}Object.defineProperty(s.prototype,"parent",{enumerable:!0,get:function(){if(!!s.isBuffer(this))return this.buffer}});Object.defineProperty(s.prototype,"offset",{enumerable:!0,get:function(){if(!!s.isBuffer(this))return this.byteOffset}});function R(t){if(t>O)throw new RangeError('The value "'+t+'" is invalid for option "size"');var r=new Uint8Array(t);return Object.setPrototypeOf(r,s.prototype),r}function s(t,r,e){if(typeof t=="number"){if(typeof r=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return rr(t)}return Tr(t,r,e)}s.poolSize=8192;function Tr(t,r,e){if(typeof t=="string")return ue(t,r);if(ArrayBuffer.isView(t))return pe(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(I(t,ArrayBuffer)||t&&I(t.buffer,ArrayBuffer)||typeof SharedArrayBuffer!="undefined"&&(I(t,SharedArrayBuffer)||t&&I(t.buffer,SharedArrayBuffer)))return Q(t,r,e);if(typeof t=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var n=t.valueOf&&t.valueOf();if(n!=null&&n!==t)return s.from(n,r,e);var i=ce(t);if(i)return i;if(typeof Symbol!="undefined"&&Symbol.toPrimitive!=null&&typeof t[Symbol.toPrimitive]=="function")return s.from(t[Symbol.toPrimitive]("string"),r,e);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t)}s.from=function(t,r,e){return Tr(t,r,e)};Object.setPrototypeOf(s.prototype,Uint8Array.prototype);Object.setPrototypeOf(s,Uint8Array);function wr(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 se(t,r,e){return wr(t),t<=0?R(t):r!==void 0?typeof e=="string"?R(t).fill(r,e):R(t).fill(r):R(t)}s.alloc=function(t,r,e){return se(t,r,e)};function rr(t){return wr(t),R(t<0?0:er(t)|0)}s.allocUnsafe=function(t){return rr(t)};s.allocUnsafeSlow=function(t){return rr(t)};function ue(t,r){if((typeof r!="string"||r==="")&&(r="utf8"),!s.isEncoding(r))throw new TypeError("Unknown encoding: "+r);var e=vr(t,r)|0,n=R(e),i=n.write(t,r);return i!==e&&(n=n.slice(0,i)),n}function j(t){for(var r=t.length<0?0:er(t.length)|0,e=R(r),n=0;n<r;n+=1)e[n]=t[n]&255;return e}function pe(t){if(I(t,Uint8Array)){var r=new Uint8Array(t);return Q(r.buffer,r.byteOffset,r.byteLength)}return j(t)}function Q(t,r,e){if(r<0||t.byteLength<r)throw new RangeError('"offset" is outside of buffer bounds');if(t.byteLength<r+(e||0))throw new RangeError('"length" is outside of buffer bounds');var n;return r===void 0&&e===void 0?n=new Uint8Array(t):e===void 0?n=new Uint8Array(t,r):n=new Uint8Array(t,r,e),Object.setPrototypeOf(n,s.prototype),n}function ce(t){if(s.isBuffer(t)){var r=er(t.length)|0,e=R(r);return e.length===0||t.copy(e,0,0,r),e}if(t.length!==void 0)return typeof t.length!="number"||tr(t.length)?R(0):j(t);if(t.type==="Buffer"&&Array.isArray(t.data))return j(t.data)}function er(t){if(t>=O)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+O.toString(16)+" bytes");return t|0}function le(t){return+t!=t&&(t=0),s.alloc(+t)}s.isBuffer=function(r){return r!=null&&r._isBuffer===!0&&r!==s.prototype};s.compare=function(r,e){if(I(r,Uint8Array)&&(r=s.from(r,r.offset,r.byteLength)),I(e,Uint8Array)&&(e=s.from(e,e.offset,e.byteLength)),!s.isBuffer(r)||!s.isBuffer(e))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(r===e)return 0;for(var n=r.length,i=e.length,o=0,a=Math.min(n,i);o<a;++o)if(r[o]!==e[o]){n=r[o],i=e[o];break}return n<i?-1:i<n?1:0};s.isEncoding=function(r){switch(String(r).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}};s.concat=function(r,e){if(!Array.isArray(r))throw new TypeError('"list" argument must be an Array of Buffers');if(r.length===0)return s.alloc(0);var n;if(e===void 0)for(e=0,n=0;n<r.length;++n)e+=r[n].length;var i=s.allocUnsafe(e),o=0;for(n=0;n<r.length;++n){var a=r[n];if(I(a,Uint8Array))o+a.length>i.length?s.from(a).copy(i,o):Uint8Array.prototype.set.call(i,a,o);else if(s.isBuffer(a))a.copy(i,o);else throw new TypeError('"list" argument must be an Array of Buffers');o+=a.length}return i};function vr(t,r){if(s.isBuffer(t))return t.length;if(ArrayBuffer.isView(t)||I(t,ArrayBuffer))return t.byteLength;if(typeof t!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof t);var e=t.length,n=arguments.length>2&&arguments[2]===!0;if(!n&&e===0)return 0;for(var i=!1;;)switch(r){case"ascii":case"latin1":case"binary":return e;case"utf8":case"utf-8":return Z(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return e*2;case"hex":return e>>>1;case"base64":return Br(t).length;default:if(i)return n?-1:Z(t).length;r=(""+r).toLowerCase(),i=!0}}s.byteLength=vr;function fe(t,r,e){var n=!1;if((r===void 0||r<0)&&(r=0),r>this.length||((e===void 0||e>this.length)&&(e=this.length),e<=0)||(e>>>=0,r>>>=0,e<=r))return"";for(t||(t="utf8");;)switch(t){case"hex":return be(this,r,e);case"utf8":case"utf-8":return kr(this,r,e);case"ascii":return we(this,r,e);case"latin1":case"binary":return ve(this,r,e);case"base64":return xe(this,r,e);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return ke(this,r,e);default:if(n)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),n=!0}}s.prototype._isBuffer=!0;function E(t,r,e){var n=t[r];t[r]=t[e],t[e]=n}s.prototype.swap16=function(){var r=this.length;if(r%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var e=0;e<r;e+=2)E(this,e,e+1);return this};s.prototype.swap32=function(){var r=this.length;if(r%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var e=0;e<r;e+=4)E(this,e,e+3),E(this,e+1,e+2);return this};s.prototype.swap64=function(){var r=this.length;if(r%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var e=0;e<r;e+=8)E(this,e,e+7),E(this,e+1,e+6),E(this,e+2,e+5),E(this,e+3,e+4);return this};s.prototype.toString=function(){var r=this.length;return r===0?"":arguments.length===0?kr(this,0,r):fe.apply(this,arguments)};s.prototype.toLocaleString=s.prototype.toString;s.prototype.equals=function(r){if(!s.isBuffer(r))throw new TypeError("Argument must be a Buffer");return this===r?!0:s.compare(this,r)===0};s.prototype.inspect=function(){var r="",e=L.INSPECT_MAX_BYTES;return r=this.toString("hex",0,e).replace(/(.{2})/g,"$1 ").trim(),this.length>e&&(r+=" ... "),"<Buffer "+r+">"};mr&&(s.prototype[mr]=s.prototype.inspect);s.prototype.compare=function(r,e,n,i,o){if(I(r,Uint8Array)&&(r=s.from(r,r.offset,r.byteLength)),!s.isBuffer(r))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof r);if(e===void 0&&(e=0),n===void 0&&(n=r?r.length:0),i===void 0&&(i=0),o===void 0&&(o=this.length),e<0||n>r.length||i<0||o>this.length)throw new RangeError("out of range index");if(i>=o&&e>=n)return 0;if(i>=o)return-1;if(e>=n)return 1;if(e>>>=0,n>>>=0,i>>>=0,o>>>=0,this===r)return 0;for(var a=o-i,u=n-e,p=Math.min(a,u),f=this.slice(i,o),g=r.slice(e,n),c=0;c<p;++c)if(f[c]!==g[c]){a=f[c],u=g[c];break}return a<u?-1:u<a?1:0};function br(t,r,e,n,i){if(t.length===0)return-1;if(typeof e=="string"?(n=e,e=0):e>2147483647?e=2147483647:e<-2147483648&&(e=-2147483648),e=+e,tr(e)&&(e=i?0:t.length-1),e<0&&(e=t.length+e),e>=t.length){if(i)return-1;e=t.length-1}else if(e<0)if(i)e=0;else return-1;if(typeof r=="string"&&(r=s.from(r,n)),s.isBuffer(r))return r.length===0?-1:yr(t,r,e,n,i);if(typeof r=="number")return r=r&255,typeof Uint8Array.prototype.indexOf=="function"?i?Uint8Array.prototype.indexOf.call(t,r,e):Uint8Array.prototype.lastIndexOf.call(t,r,e):yr(t,[r],e,n,i);throw new TypeError("val must be string, number or Buffer")}function yr(t,r,e,n,i){var o=1,a=t.length,u=r.length;if(n!==void 0&&(n=String(n).toLowerCase(),n==="ucs2"||n==="ucs-2"||n==="utf16le"||n==="utf-16le")){if(t.length<2||r.length<2)return-1;o=2,a/=2,u/=2,e/=2}function p(w,k){return o===1?w[k]:w.readUInt16BE(k*o)}var f;if(i){var g=-1;for(f=e;f<a;f++)if(p(t,f)===p(r,g===-1?0:f-g)){if(g===-1&&(g=f),f-g+1===u)return g*o}else g!==-1&&(f-=f-g),g=-1}else for(e+u>a&&(e=a-u),f=e;f>=0;f--){for(var c=!0,d=0;d<u;d++)if(p(t,f+d)!==p(r,d)){c=!1;break}if(c)return f}return-1}s.prototype.includes=function(r,e,n){return this.indexOf(r,e,n)!==-1};s.prototype.indexOf=function(r,e,n){return br(this,r,e,n,!0)};s.prototype.lastIndexOf=function(r,e,n){return br(this,r,e,n,!1)};function ge(t,r,e,n){e=Number(e)||0;var i=t.length-e;n?(n=Number(n),n>i&&(n=i)):n=i;var o=r.length;n>o/2&&(n=o/2);for(var a=0;a<n;++a){var u=parseInt(r.substr(a*2,2),16);if(tr(u))return a;t[e+a]=u}return a}function de(t,r,e,n){return V(Z(r,t.length-e),t,e,n)}function he(t,r,e,n){return V(Se(r),t,e,n)}function me(t,r,e,n){return V(Br(r),t,e,n)}function ye(t,r,e,n){return V(Be(r,t.length-e),t,e,n)}s.prototype.write=function(r,e,n,i){if(e===void 0)i="utf8",n=this.length,e=0;else if(n===void 0&&typeof e=="string")i=e,n=this.length,e=0;else if(isFinite(e))e=e>>>0,isFinite(n)?(n=n>>>0,i===void 0&&(i="utf8")):(i=n,n=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var o=this.length-e;if((n===void 0||n>o)&&(n=o),r.length>0&&(n<0||e<0)||e>this.length)throw new RangeError("Attempt to write outside buffer bounds");i||(i="utf8");for(var a=!1;;)switch(i){case"hex":return ge(this,r,e,n);case"utf8":case"utf-8":return de(this,r,e,n);case"ascii":case"latin1":case"binary":return he(this,r,e,n);case"base64":return me(this,r,e,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return ye(this,r,e,n);default:if(a)throw new TypeError("Unknown encoding: "+i);i=(""+i).toLowerCase(),a=!0}};s.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function xe(t,r,e){return r===0&&e===t.length?K.fromByteArray(t):K.fromByteArray(t.slice(r,e))}function kr(t,r,e){e=Math.min(t.length,e);for(var n=[],i=r;i<e;){var o=t[i],a=null,u=o>239?4:o>223?3:o>191?2:1;if(i+u<=e){var p,f,g,c;switch(u){case 1:o<128&&(a=o);break;case 2:p=t[i+1],(p&192)===128&&(c=(o&31)<<6|p&63,c>127&&(a=c));break;case 3:p=t[i+1],f=t[i+2],(p&192)===128&&(f&192)===128&&(c=(o&15)<<12|(p&63)<<6|f&63,c>2047&&(c<55296||c>57343)&&(a=c));break;case 4:p=t[i+1],f=t[i+2],g=t[i+3],(p&192)===128&&(f&192)===128&&(g&192)===128&&(c=(o&15)<<18|(p&63)<<12|(f&63)<<6|g&63,c>65535&&c<1114112&&(a=c))}}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 Te(n)}var xr=4096;function Te(t){var r=t.length;if(r<=xr)return String.fromCharCode.apply(String,t);for(var e="",n=0;n<r;)e+=String.fromCharCode.apply(String,t.slice(n,n+=xr));return e}function we(t,r,e){var n="";e=Math.min(t.length,e);for(var i=r;i<e;++i)n+=String.fromCharCode(t[i]&127);return n}function ve(t,r,e){var n="";e=Math.min(t.length,e);for(var i=r;i<e;++i)n+=String.fromCharCode(t[i]);return n}function be(t,r,e){var n=t.length;(!r||r<0)&&(r=0),(!e||e<0||e>n)&&(e=n);for(var i="",o=r;o<e;++o)i+=Re[t[o]];return i}function ke(t,r,e){for(var n=t.slice(r,e),i="",o=0;o<n.length-1;o+=2)i+=String.fromCharCode(n[o]+n[o+1]*256);return i}s.prototype.slice=function(r,e){var n=this.length;r=~~r,e=e===void 0?n:~~e,r<0?(r+=n,r<0&&(r=0)):r>n&&(r=n),e<0?(e+=n,e<0&&(e=0)):e>n&&(e=n),e<r&&(e=r);var i=this.subarray(r,e);return Object.setPrototypeOf(i,s.prototype),i};function T(t,r,e){if(t%1!==0||t<0)throw new RangeError("offset is not uint");if(t+r>e)throw new RangeError("Trying to access beyond buffer length")}s.prototype.readUintLE=s.prototype.readUIntLE=function(r,e,n){r=r>>>0,e=e>>>0,n||T(r,e,this.length);for(var i=this[r],o=1,a=0;++a<e&&(o*=256);)i+=this[r+a]*o;return i};s.prototype.readUintBE=s.prototype.readUIntBE=function(r,e,n){r=r>>>0,e=e>>>0,n||T(r,e,this.length);for(var i=this[r+--e],o=1;e>0&&(o*=256);)i+=this[r+--e]*o;return i};s.prototype.readUint8=s.prototype.readUInt8=function(r,e){return r=r>>>0,e||T(r,1,this.length),this[r]};s.prototype.readUint16LE=s.prototype.readUInt16LE=function(r,e){return r=r>>>0,e||T(r,2,this.length),this[r]|this[r+1]<<8};s.prototype.readUint16BE=s.prototype.readUInt16BE=function(r,e){return r=r>>>0,e||T(r,2,this.length),this[r]<<8|this[r+1]};s.prototype.readUint32LE=s.prototype.readUInt32LE=function(r,e){return r=r>>>0,e||T(r,4,this.length),(this[r]|this[r+1]<<8|this[r+2]<<16)+this[r+3]*16777216};s.prototype.readUint32BE=s.prototype.readUInt32BE=function(r,e){return r=r>>>0,e||T(r,4,this.length),this[r]*16777216+(this[r+1]<<16|this[r+2]<<8|this[r+3])};s.prototype.readIntLE=function(r,e,n){r=r>>>0,e=e>>>0,n||T(r,e,this.length);for(var i=this[r],o=1,a=0;++a<e&&(o*=256);)i+=this[r+a]*o;return o*=128,i>=o&&(i-=Math.pow(2,8*e)),i};s.prototype.readIntBE=function(r,e,n){r=r>>>0,e=e>>>0,n||T(r,e,this.length);for(var i=e,o=1,a=this[r+--i];i>0&&(o*=256);)a+=this[r+--i]*o;return o*=128,a>=o&&(a-=Math.pow(2,8*e)),a};s.prototype.readInt8=function(r,e){return r=r>>>0,e||T(r,1,this.length),this[r]&128?(255-this[r]+1)*-1:this[r]};s.prototype.readInt16LE=function(r,e){r=r>>>0,e||T(r,2,this.length);var n=this[r]|this[r+1]<<8;return n&32768?n|4294901760:n};s.prototype.readInt16BE=function(r,e){r=r>>>0,e||T(r,2,this.length);var n=this[r+1]|this[r]<<8;return n&32768?n|4294901760:n};s.prototype.readInt32LE=function(r,e){return r=r>>>0,e||T(r,4,this.length),this[r]|this[r+1]<<8|this[r+2]<<16|this[r+3]<<24};s.prototype.readInt32BE=function(r,e){return r=r>>>0,e||T(r,4,this.length),this[r]<<24|this[r+1]<<16|this[r+2]<<8|this[r+3]};s.prototype.readFloatLE=function(r,e){return r=r>>>0,e||T(r,4,this.length),U.read(this,r,!0,23,4)};s.prototype.readFloatBE=function(r,e){return r=r>>>0,e||T(r,4,this.length),U.read(this,r,!1,23,4)};s.prototype.readDoubleLE=function(r,e){return r=r>>>0,e||T(r,8,this.length),U.read(this,r,!0,52,8)};s.prototype.readDoubleBE=function(r,e){return r=r>>>0,e||T(r,8,this.length),U.read(this,r,!1,52,8)};function v(t,r,e,n,i,o){if(!s.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(r>i||r<o)throw new RangeError('"value" argument is out of bounds');if(e+n>t.length)throw new RangeError("Index out of range")}s.prototype.writeUintLE=s.prototype.writeUIntLE=function(r,e,n,i){if(r=+r,e=e>>>0,n=n>>>0,!i){var o=Math.pow(2,8*n)-1;v(this,r,e,n,o,0)}var a=1,u=0;for(this[e]=r&255;++u<n&&(a*=256);)this[e+u]=r/a&255;return e+n};s.prototype.writeUintBE=s.prototype.writeUIntBE=function(r,e,n,i){if(r=+r,e=e>>>0,n=n>>>0,!i){var o=Math.pow(2,8*n)-1;v(this,r,e,n,o,0)}var a=n-1,u=1;for(this[e+a]=r&255;--a>=0&&(u*=256);)this[e+a]=r/u&255;return e+n};s.prototype.writeUint8=s.prototype.writeUInt8=function(r,e,n){return r=+r,e=e>>>0,n||v(this,r,e,1,255,0),this[e]=r&255,e+1};s.prototype.writeUint16LE=s.prototype.writeUInt16LE=function(r,e,n){return r=+r,e=e>>>0,n||v(this,r,e,2,65535,0),this[e]=r&255,this[e+1]=r>>>8,e+2};s.prototype.writeUint16BE=s.prototype.writeUInt16BE=function(r,e,n){return r=+r,e=e>>>0,n||v(this,r,e,2,65535,0),this[e]=r>>>8,this[e+1]=r&255,e+2};s.prototype.writeUint32LE=s.prototype.writeUInt32LE=function(r,e,n){return r=+r,e=e>>>0,n||v(this,r,e,4,4294967295,0),this[e+3]=r>>>24,this[e+2]=r>>>16,this[e+1]=r>>>8,this[e]=r&255,e+4};s.prototype.writeUint32BE=s.prototype.writeUInt32BE=function(r,e,n){return r=+r,e=e>>>0,n||v(this,r,e,4,4294967295,0),this[e]=r>>>24,this[e+1]=r>>>16,this[e+2]=r>>>8,this[e+3]=r&255,e+4};s.prototype.writeIntLE=function(r,e,n,i){if(r=+r,e=e>>>0,!i){var o=Math.pow(2,8*n-1);v(this,r,e,n,o-1,-o)}var a=0,u=1,p=0;for(this[e]=r&255;++a<n&&(u*=256);)r<0&&p===0&&this[e+a-1]!==0&&(p=1),this[e+a]=(r/u>>0)-p&255;return e+n};s.prototype.writeIntBE=function(r,e,n,i){if(r=+r,e=e>>>0,!i){var o=Math.pow(2,8*n-1);v(this,r,e,n,o-1,-o)}var a=n-1,u=1,p=0;for(this[e+a]=r&255;--a>=0&&(u*=256);)r<0&&p===0&&this[e+a+1]!==0&&(p=1),this[e+a]=(r/u>>0)-p&255;return e+n};s.prototype.writeInt8=function(r,e,n){return r=+r,e=e>>>0,n||v(this,r,e,1,127,-128),r<0&&(r=255+r+1),this[e]=r&255,e+1};s.prototype.writeInt16LE=function(r,e,n){return r=+r,e=e>>>0,n||v(this,r,e,2,32767,-32768),this[e]=r&255,this[e+1]=r>>>8,e+2};s.prototype.writeInt16BE=function(r,e,n){return r=+r,e=e>>>0,n||v(this,r,e,2,32767,-32768),this[e]=r>>>8,this[e+1]=r&255,e+2};s.prototype.writeInt32LE=function(r,e,n){return r=+r,e=e>>>0,n||v(this,r,e,4,2147483647,-2147483648),this[e]=r&255,this[e+1]=r>>>8,this[e+2]=r>>>16,this[e+3]=r>>>24,e+4};s.prototype.writeInt32BE=function(r,e,n){return r=+r,e=e>>>0,n||v(this,r,e,4,2147483647,-2147483648),r<0&&(r=4294967295+r+1),this[e]=r>>>24,this[e+1]=r>>>16,this[e+2]=r>>>8,this[e+3]=r&255,e+4};function Fr(t,r,e,n,i,o){if(e+n>t.length)throw new RangeError("Index out of range");if(e<0)throw new RangeError("Index out of range")}function Ir(t,r,e,n,i){return r=+r,e=e>>>0,i||Fr(t,r,e,4,34028234663852886e22,-34028234663852886e22),U.write(t,r,e,n,23,4),e+4}s.prototype.writeFloatLE=function(r,e,n){return Ir(this,r,e,!0,n)};s.prototype.writeFloatBE=function(r,e,n){return Ir(this,r,e,!1,n)};function Sr(t,r,e,n,i){return r=+r,e=e>>>0,i||Fr(t,r,e,8,17976931348623157e292,-17976931348623157e292),U.write(t,r,e,n,52,8),e+8}s.prototype.writeDoubleLE=function(r,e,n){return Sr(this,r,e,!0,n)};s.prototype.writeDoubleBE=function(r,e,n){return Sr(this,r,e,!1,n)};s.prototype.copy=function(r,e,n,i){if(!s.isBuffer(r))throw new TypeError("argument should be a Buffer");if(n||(n=0),!i&&i!==0&&(i=this.length),e>=r.length&&(e=r.length),e||(e=0),i>0&&i<n&&(i=n),i===n||r.length===0||this.length===0)return 0;if(e<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw new RangeError("Index out of range");if(i<0)throw new RangeError("sourceEnd out of bounds");i>this.length&&(i=this.length),r.length-e<i-n&&(i=r.length-e+n);var o=i-n;return this===r&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(e,n,i):Uint8Array.prototype.set.call(r,this.subarray(n,i),e),o};s.prototype.fill=function(r,e,n,i){if(typeof r=="string"){if(typeof e=="string"?(i=e,e=0,n=this.length):typeof n=="string"&&(i=n,n=this.length),i!==void 0&&typeof i!="string")throw new TypeError("encoding must be a string");if(typeof i=="string"&&!s.isEncoding(i))throw new TypeError("Unknown encoding: "+i);if(r.length===1){var o=r.charCodeAt(0);(i==="utf8"&&o<128||i==="latin1")&&(r=o)}}else typeof r=="number"?r=r&255:typeof r=="boolean"&&(r=Number(r));if(e<0||this.length<e||this.length<n)throw new RangeError("Out of range index");if(n<=e)return this;e=e>>>0,n=n===void 0?this.length:n>>>0,r||(r=0);var a;if(typeof r=="number")for(a=e;a<n;++a)this[a]=r;else{var u=s.isBuffer(r)?r:s.from(r,i),p=u.length;if(p===0)throw new TypeError('The value "'+r+'" is invalid for argument "value"');for(a=0;a<n-e;++a)this[a+e]=u[a%p]}return this};var Fe=/[^+/0-9A-Za-z-_]/g;function Ie(t){if(t=t.split("=")[0],t=t.trim().replace(Fe,""),t.length<2)return"";for(;t.length%4!==0;)t=t+"=";return t}function Z(t,r){r=r||1/0;for(var e,n=t.length,i=null,o=[],a=0;a<n;++a){if(e=t.charCodeAt(a),e>55295&&e<57344){if(!i){if(e>56319){(r-=3)>-1&&o.push(239,191,189);continue}else if(a+1===n){(r-=3)>-1&&o.push(239,191,189);continue}i=e;continue}if(e<56320){(r-=3)>-1&&o.push(239,191,189),i=e;continue}e=(i-55296<<10|e-56320)+65536}else i&&(r-=3)>-1&&o.push(239,191,189);if(i=null,e<128){if((r-=1)<0)break;o.push(e)}else if(e<2048){if((r-=2)<0)break;o.push(e>>6|192,e&63|128)}else if(e<65536){if((r-=3)<0)break;o.push(e>>12|224,e>>6&63|128,e&63|128)}else if(e<1114112){if((r-=4)<0)break;o.push(e>>18|240,e>>12&63|128,e>>6&63|128,e&63|128)}else throw new Error("Invalid code point")}return o}function Se(t){for(var r=[],e=0;e<t.length;++e)r.push(t.charCodeAt(e)&255);return r}function Be(t,r){for(var e,n,i,o=[],a=0;a<t.length&&!((r-=2)<0);++a)e=t.charCodeAt(a),n=e>>8,i=e%256,o.push(i),o.push(n);return o}function Br(t){return K.toByteArray(Ie(t))}function V(t,r,e,n){for(var i=0;i<n&&!(i+e>=r.length||i>=t.length);++i)r[i+e]=t[i];return i}function I(t,r){return t instanceof r||t!=null&&t.constructor!=null&&t.constructor.name!=null&&t.constructor.name===r.name}function tr(t){return t!==t}var Re=function(){for(var t="0123456789abcdef",r=new Array(256),e=0;e<16;++e)for(var n=e*16,i=0;i<16;++i)r[n+i]=t[e]+t[i];return r}()});var _r=G((Ge,Er)=>{l();var x=Er.exports={},S,B;function nr(){throw new Error("setTimeout has not been defined")}function ir(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?S=setTimeout:S=nr}catch(t){S=nr}try{typeof clearTimeout=="function"?B=clearTimeout:B=ir}catch(t){B=ir}})();function Ar(t){if(S===setTimeout)return setTimeout(t,0);if((S===nr||!S)&&setTimeout)return S=setTimeout,setTimeout(t,0);try{return S(t,0)}catch(r){try{return S.call(null,t,0)}catch(e){return S.call(this,t,0)}}}function Ae(t){if(B===clearTimeout)return clearTimeout(t);if((B===ir||!B)&&clearTimeout)return B=clearTimeout,clearTimeout(t);try{return B(t)}catch(r){try{return B.call(null,t)}catch(e){return B.call(this,t)}}}var A=[],N=!1,_,Y=-1;function De(){!N||!_||(N=!1,_.length?A=_.concat(A):Y=-1,A.length&&Dr())}function Dr(){if(!N){var t=Ar(De);N=!0;for(var r=A.length;r;){for(_=A,A=[];++Y<r;)_&&_[Y].run();Y=-1,r=A.length}_=null,N=!1,Ae(t)}}x.nextTick=function(t){var r=new Array(arguments.length-1);if(arguments.length>1)for(var e=1;e<arguments.length;e++)r[e-1]=arguments[e];A.push(new Cr(t,r)),A.length===1&&!N&&Ar(Dr)};function Cr(t,r){this.fun=t,this.array=r}Cr.prototype.run=function(){this.fun.apply(null,this.array)};x.title="browser";x.browser=!0;x.env={};x.argv=[];x.version="";x.versions={};function D(){}x.on=D;x.addListener=D;x.once=D;x.off=D;x.removeListener=D;x.removeAllListeners=D;x.emit=D;x.prependListener=D;x.prependOnceListener=D;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 h,m,He,l=Kr(()=>{h=H(Rr()),m=H(_r()),He=function(t){function r(){var n=this||self;return delete t.prototype.__magic__,n}if(typeof globalThis=="object")return globalThis;if(this)return r();t.defineProperty(t.prototype,"__magic__",{configurable:!0,get:r});var e=__magic__;return e}(Object)});var Le={};jr(Le,{parseMultiEsdtTransferDataForMultipleTransactions:()=>Ue});module.exports=Qr(Le);l();l();var ar=require("@multiversx/sdk-core"),z=H(require("bignumber.js"));l();l();var Ce=require("@multiversx/sdk-dapp-utils/out/constants/crossWindowProviderConstants"),P=require("@multiversx/sdk-dapp-utils/out/enums/crossWindowProviderEnums");var Ur=(e=>(e.signTransactionsWithGuardianResponse="SIGN_TRANSACTIONS_WITH_GUARDIAN_RESPONSE",e.reloginRequest="RELOGIN_REQUEST",e))(Ur||{}),Ye=W(W({},P.CrossWindowProviderRequestEnums),Ur),Lr=(r=>(r.reloginResponse="RELOGIN_RESPONSE",r))(Lr||{}),$e=W(W({},P.CrossWindowProviderResponseEnums),Lr);l();var Nr=require("@multiversx/sdk-core");function Ee(t){try{let r=new Nr.Address(t);return Boolean(r.bech32())}catch(r){return!1}}function Pr(t){return(t==null?void 0:t.startsWith("erd"))&&t.length===62&&/^\w+$/.test(t)&&Ee(t)}l();l();function Mr(t){for(let r=0;r<t.length;r++)if(t.charCodeAt(r)>127)return!1;return!0}function $(t){let r=t;try{let e=h.Buffer.from(t,"hex").toString();Mr(e)&&e.length>1&&(r=e)}catch(e){}return r}var or={tokenId:"",amount:""},Wr=t=>t.split("@").map((o,a)=>[2,3].includes(a)?o:$(o));function Gr(t){if(!t)return or;let r=t.startsWith("ESDTTransfer"),e=t.startsWith("ESDTNFTTransfer")&&t.includes("@"),n=t.startsWith("ESDTNFTBurn")&&t.includes("@");if(r){let[,i,o]=t.split("@");try{let a=h.Buffer.from(i,"hex").toString("ascii");if(!a)return or;let u=new z.default("0x"+o.replace("0x","")).toString(10);return{tokenId:a,amount:u}}catch(a){console.error("Error getting token from transaction data",a)}}if(e)try{let[,i,o,a,u]=Wr(t);if([i,o,a,u].every(p=>Boolean(p))&&Pr(new ar.Address(u).bech32()))return{tokenId:`${i}-${o}`,amount:new z.default(a,16).toString(10),collection:i,nonce:o,receiver:new ar.Address(u).bech32()}}catch(i){}if(n)try{let[,i,o,a]=Wr(t);if([i,o,a].every(u=>Boolean(u)))return{tokenId:`${i}-${o}`,amount:new z.default(a,16).toString(10),collection:i,nonce:o}}catch(i){}return or}l();var sr=H(require("bignumber.js"));l();l();l();l();l();l();l();l();l();l();l();var Hr=(t,r)=>{let e=[],n=t.indexOf(r,0);for(;n>=0;)e.push(n),n=t.indexOf(r,n+1);return e};function qr(t){let r=[],e=0;try{if((t==null?void 0:t.startsWith("MultiESDTNFTTransfer"))&&(t==null?void 0:t.includes("@"))){let[,n,i,...o]=t==null?void 0:t.split("@");if(n){let a=new sr.default(i,16).toNumber();if(a>=Number.MAX_SAFE_INTEGER)return[];let u=0;for(let c=0;c<a;c++){let d={type:"nftTransaction",data:"",receiver:n};for(let w=0;w<3;w++){switch(w){case 0:d.token=$(o[u]),d.data=o[u];break;case 1:{let k=o[u]&&o[u].length?o[u]:"";k&&k!=="00"?d.nonce=k:d.type="esdtTransaction",d.data=`${d.data}@${o[u]}`;break}case 2:d.amount=new sr.default(o[u],16).toString(10),d.data=`${d.data}@${o[u]}`;break;default:break}e=u+1,u++}r[c]=d}let p=r.length!==a,f=r.some(c=>Hr(c.data,"@").length!==2),g=r.some(c=>c.data.startsWith("@"));if(p||f||g)return[];if(o[e]){let c=o[e];for(let d=e+1;d<o.length;d++)c+="@"+o[d];r[a]={type:"scCall",data:c,receiver:n}}}}}catch(n){return console.error("failed parsing tx",n),r}return r}function Or({parsedTransactionsByDataField:t,data:r,txInfo:e}){!t||(t[r]=e)}function Ue({transactions:t}){let r={},e=[];return!t||t.length===0?{allTransactions:e,parsedTransactionsByDataField:r}:(t.forEach((n,i)=>{let o=n.getData().toString(),a=qr(o);if(a.length>0)a.forEach((u,p)=>{let f={transaction:n,multiTxData:u.data,transactionIndex:p};Or({parsedTransactionsByDataField:r,data:u.data,txInfo:{tokenId:u.token?u.token:"",amount:u.amount?u.amount:"",type:u.type,nonce:u.nonce?u.nonce:"",multiTxData:u.data,receiver:u.receiver}}),e.push(f)});else{let u=n.getData().toString(),{tokenId:p,amount:f}=Gr(u);p&&Or({parsedTransactionsByDataField:r,data:u,txInfo:{tokenId:p,amount:f,receiver:n.getReceiver().bech32()}}),e.push({transaction:n,transactionIndex:i,multiTxData:u})}}),{allTransactions:e,parsedTransactionsByDataField:r})}0&&(module.exports={parseMultiEsdtTransferDataForMultipleTransactions});
2
2
  /*!
3
3
  * The buffer module from node.js, for the browser.
4
4
  *
@@ -1,4 +1,4 @@
1
- "use strict";var qr=Object.create;var W=Object.defineProperty;var Or=Object.getOwnPropertyDescriptor;var Yr=Object.getOwnPropertyNames,sr=Object.getOwnPropertySymbols,zr=Object.getPrototypeOf,pr=Object.prototype.hasOwnProperty,Xr=Object.prototype.propertyIsEnumerable;var ur=(t,r,e)=>r in t?W(t,r,{enumerable:!0,configurable:!0,writable:!0,value:e}):t[r]=e,H=(t,r)=>{for(var e in r||(r={}))pr.call(r,e)&&ur(t,e,r[e]);if(sr)for(var e of sr(r))Xr.call(r,e)&&ur(t,e,r[e]);return t};var $r=(t,r)=>()=>(t&&(r=t(t=0)),r);var G=(t,r)=>()=>(r||t((r={exports:{}}).exports,r),r.exports),jr=(t,r)=>{for(var e in r)W(t,e,{get:r[e],enumerable:!0})},cr=(t,r,e,n)=>{if(r&&typeof r=="object"||typeof r=="function")for(let i of Yr(r))!pr.call(t,i)&&i!==e&&W(t,i,{get:()=>r[i],enumerable:!(n=Or(r,i))||n.enumerable});return t};var X=(t,r,e)=>(e=t!=null?qr(zr(t)):{},cr(r||!t||!t.__esModule?W(e,"default",{value:t,enumerable:!0}):e,t)),Jr=t=>cr(W({},"__esModule",{value:!0}),t);var dr=G(V=>{"use strict";u();V.byteLength=Qr;V.toByteArray=re;V.fromByteArray=ne;var F=[],v=[],Kr=typeof Uint8Array!="undefined"?Uint8Array:Array,$="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(C=0,lr=$.length;C<lr;++C)F[C]=$[C],v[$.charCodeAt(C)]=C;var C,lr;v["-".charCodeAt(0)]=62;v["_".charCodeAt(0)]=63;function fr(t){var r=t.length;if(r%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var e=t.indexOf("=");e===-1&&(e=r);var n=e===r?0:4-e%4;return[e,n]}function Qr(t){var r=fr(t),e=r[0],n=r[1];return(e+n)*3/4-n}function Zr(t,r,e){return(r+e)*3/4-e}function re(t){var r,e=fr(t),n=e[0],i=e[1],o=new Kr(Zr(t,n,i)),a=0,p=i>0?n-4:n,c;for(c=0;c<p;c+=4)r=v[t.charCodeAt(c)]<<18|v[t.charCodeAt(c+1)]<<12|v[t.charCodeAt(c+2)]<<6|v[t.charCodeAt(c+3)],o[a++]=r>>16&255,o[a++]=r>>8&255,o[a++]=r&255;return i===2&&(r=v[t.charCodeAt(c)]<<2|v[t.charCodeAt(c+1)]>>4,o[a++]=r&255),i===1&&(r=v[t.charCodeAt(c)]<<10|v[t.charCodeAt(c+1)]<<4|v[t.charCodeAt(c+2)]>>2,o[a++]=r>>8&255,o[a++]=r&255),o}function ee(t){return F[t>>18&63]+F[t>>12&63]+F[t>>6&63]+F[t&63]}function te(t,r,e){for(var n,i=[],o=r;o<e;o+=3)n=(t[o]<<16&16711680)+(t[o+1]<<8&65280)+(t[o+2]&255),i.push(ee(n));return i.join("")}function ne(t){for(var r,e=t.length,n=e%3,i=[],o=16383,a=0,p=e-n;a<p;a+=o)i.push(te(t,a,a+o>p?p:a+o));return n===1?(r=t[e-1],i.push(F[r>>2]+F[r<<4&63]+"==")):n===2&&(r=(t[e-2]<<8)+t[e-1],i.push(F[r>>10]+F[r>>4&63]+F[r<<2&63]+"=")),i.join("")}});var gr=G(j=>{u();j.read=function(t,r,e,n,i){var o,a,p=i*8-n-1,c=(1<<p)-1,d=c>>1,g=-7,l=e?i-1:0,b=e?-1:1,w=t[r+l];for(l+=b,o=w&(1<<-g)-1,w>>=-g,g+=p;g>0;o=o*256+t[r+l],l+=b,g-=8);for(a=o&(1<<-g)-1,o>>=-g,g+=n;g>0;a=a*256+t[r+l],l+=b,g-=8);if(o===0)o=1-d;else{if(o===c)return a?NaN:(w?-1:1)*(1/0);a=a+Math.pow(2,n),o=o-d}return(w?-1:1)*a*Math.pow(2,o-n)};j.write=function(t,r,e,n,i,o){var a,p,c,d=o*8-i-1,g=(1<<d)-1,l=g>>1,b=i===23?Math.pow(2,-24)-Math.pow(2,-77):0,w=n?0:o-1,_=n?1:-1,Vr=r<0||r===0&&1/r<0?1:0;for(r=Math.abs(r),isNaN(r)||r===1/0?(p=isNaN(r)?1:0,a=g):(a=Math.floor(Math.log(r)/Math.LN2),r*(c=Math.pow(2,-a))<1&&(a--,c*=2),a+l>=1?r+=b/c:r+=b*Math.pow(2,1-l),r*c>=2&&(a++,c/=2),a+l>=g?(p=0,a=g):a+l>=1?(p=(r*c-1)*Math.pow(2,i),a=a+l):(p=r*Math.pow(2,l-1)*Math.pow(2,i),a=0));i>=8;t[e+w]=p&255,w+=_,p/=256,i-=8);for(a=a<<i|p,d+=i;d>0;t[e+w]=a&255,w+=_,a/=256,d-=8);t[e+w-_]|=Vr*128}});var Br=G(P=>{"use strict";u();var J=dr(),U=gr(),hr=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;P.Buffer=s;P.SlowBuffer=pe;P.INSPECT_MAX_BYTES=50;var q=2147483647;P.kMaxLength=q;s.TYPED_ARRAY_SUPPORT=ie();!s.TYPED_ARRAY_SUPPORT&&typeof console!="undefined"&&typeof console.error=="function"&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function ie(){try{var t=new Uint8Array(1),r={foo:function(){return 42}};return Object.setPrototypeOf(r,Uint8Array.prototype),Object.setPrototypeOf(t,r),t.foo()===42}catch(e){return!1}}Object.defineProperty(s.prototype,"parent",{enumerable:!0,get:function(){if(!!s.isBuffer(this))return this.buffer}});Object.defineProperty(s.prototype,"offset",{enumerable:!0,get:function(){if(!!s.isBuffer(this))return this.byteOffset}});function B(t){if(t>q)throw new RangeError('The value "'+t+'" is invalid for option "size"');var r=new Uint8Array(t);return Object.setPrototypeOf(r,s.prototype),r}function s(t,r,e){if(typeof t=="number"){if(typeof r=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return rr(t)}return xr(t,r,e)}s.poolSize=8192;function xr(t,r,e){if(typeof t=="string")return ae(t,r);if(ArrayBuffer.isView(t))return se(t);if(t==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t);if(k(t,ArrayBuffer)||t&&k(t.buffer,ArrayBuffer)||typeof SharedArrayBuffer!="undefined"&&(k(t,SharedArrayBuffer)||t&&k(t.buffer,SharedArrayBuffer)))return Q(t,r,e);if(typeof t=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var n=t.valueOf&&t.valueOf();if(n!=null&&n!==t)return s.from(n,r,e);var i=ue(t);if(i)return i;if(typeof Symbol!="undefined"&&Symbol.toPrimitive!=null&&typeof t[Symbol.toPrimitive]=="function")return s.from(t[Symbol.toPrimitive]("string"),r,e);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t)}s.from=function(t,r,e){return xr(t,r,e)};Object.setPrototypeOf(s.prototype,Uint8Array.prototype);Object.setPrototypeOf(s,Uint8Array);function Tr(t){if(typeof t!="number")throw new TypeError('"size" argument must be of type number');if(t<0)throw new RangeError('The value "'+t+'" is invalid for option "size"')}function oe(t,r,e){return Tr(t),t<=0?B(t):r!==void 0?typeof e=="string"?B(t).fill(r,e):B(t).fill(r):B(t)}s.alloc=function(t,r,e){return oe(t,r,e)};function rr(t){return Tr(t),B(t<0?0:er(t)|0)}s.allocUnsafe=function(t){return rr(t)};s.allocUnsafeSlow=function(t){return rr(t)};function ae(t,r){if((typeof r!="string"||r==="")&&(r="utf8"),!s.isEncoding(r))throw new TypeError("Unknown encoding: "+r);var e=wr(t,r)|0,n=B(e),i=n.write(t,r);return i!==e&&(n=n.slice(0,i)),n}function K(t){for(var r=t.length<0?0:er(t.length)|0,e=B(r),n=0;n<r;n+=1)e[n]=t[n]&255;return e}function se(t){if(k(t,Uint8Array)){var r=new Uint8Array(t);return Q(r.buffer,r.byteOffset,r.byteLength)}return K(t)}function Q(t,r,e){if(r<0||t.byteLength<r)throw new RangeError('"offset" is outside of buffer bounds');if(t.byteLength<r+(e||0))throw new RangeError('"length" is outside of buffer bounds');var n;return r===void 0&&e===void 0?n=new Uint8Array(t):e===void 0?n=new Uint8Array(t,r):n=new Uint8Array(t,r,e),Object.setPrototypeOf(n,s.prototype),n}function ue(t){if(s.isBuffer(t)){var r=er(t.length)|0,e=B(r);return e.length===0||t.copy(e,0,0,r),e}if(t.length!==void 0)return typeof t.length!="number"||tr(t.length)?B(0):K(t);if(t.type==="Buffer"&&Array.isArray(t.data))return K(t.data)}function er(t){if(t>=q)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+q.toString(16)+" bytes");return t|0}function pe(t){return+t!=t&&(t=0),s.alloc(+t)}s.isBuffer=function(r){return r!=null&&r._isBuffer===!0&&r!==s.prototype};s.compare=function(r,e){if(k(r,Uint8Array)&&(r=s.from(r,r.offset,r.byteLength)),k(e,Uint8Array)&&(e=s.from(e,e.offset,e.byteLength)),!s.isBuffer(r)||!s.isBuffer(e))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(r===e)return 0;for(var n=r.length,i=e.length,o=0,a=Math.min(n,i);o<a;++o)if(r[o]!==e[o]){n=r[o],i=e[o];break}return n<i?-1:i<n?1:0};s.isEncoding=function(r){switch(String(r).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}};s.concat=function(r,e){if(!Array.isArray(r))throw new TypeError('"list" argument must be an Array of Buffers');if(r.length===0)return s.alloc(0);var n;if(e===void 0)for(e=0,n=0;n<r.length;++n)e+=r[n].length;var i=s.allocUnsafe(e),o=0;for(n=0;n<r.length;++n){var a=r[n];if(k(a,Uint8Array))o+a.length>i.length?s.from(a).copy(i,o):Uint8Array.prototype.set.call(i,a,o);else if(s.isBuffer(a))a.copy(i,o);else throw new TypeError('"list" argument must be an Array of Buffers');o+=a.length}return i};function wr(t,r){if(s.isBuffer(t))return t.length;if(ArrayBuffer.isView(t)||k(t,ArrayBuffer))return t.byteLength;if(typeof t!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof t);var e=t.length,n=arguments.length>2&&arguments[2]===!0;if(!n&&e===0)return 0;for(var i=!1;;)switch(r){case"ascii":case"latin1":case"binary":return e;case"utf8":case"utf-8":return Z(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return e*2;case"hex":return e>>>1;case"base64":return Ir(t).length;default:if(i)return n?-1:Z(t).length;r=(""+r).toLowerCase(),i=!0}}s.byteLength=wr;function ce(t,r,e){var n=!1;if((r===void 0||r<0)&&(r=0),r>this.length||((e===void 0||e>this.length)&&(e=this.length),e<=0)||(e>>>=0,r>>>=0,e<=r))return"";for(t||(t="utf8");;)switch(t){case"hex":return we(this,r,e);case"utf8":case"utf-8":return br(this,r,e);case"ascii":return xe(this,r,e);case"latin1":case"binary":return Te(this,r,e);case"base64":return me(this,r,e);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return ve(this,r,e);default:if(n)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),n=!0}}s.prototype._isBuffer=!0;function E(t,r,e){var n=t[r];t[r]=t[e],t[e]=n}s.prototype.swap16=function(){var r=this.length;if(r%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var e=0;e<r;e+=2)E(this,e,e+1);return this};s.prototype.swap32=function(){var r=this.length;if(r%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var e=0;e<r;e+=4)E(this,e,e+3),E(this,e+1,e+2);return this};s.prototype.swap64=function(){var r=this.length;if(r%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var e=0;e<r;e+=8)E(this,e,e+7),E(this,e+1,e+6),E(this,e+2,e+5),E(this,e+3,e+4);return this};s.prototype.toString=function(){var r=this.length;return r===0?"":arguments.length===0?br(this,0,r):ce.apply(this,arguments)};s.prototype.toLocaleString=s.prototype.toString;s.prototype.equals=function(r){if(!s.isBuffer(r))throw new TypeError("Argument must be a Buffer");return this===r?!0:s.compare(this,r)===0};s.prototype.inspect=function(){var r="",e=P.INSPECT_MAX_BYTES;return r=this.toString("hex",0,e).replace(/(.{2})/g,"$1 ").trim(),this.length>e&&(r+=" ... "),"<Buffer "+r+">"};hr&&(s.prototype[hr]=s.prototype.inspect);s.prototype.compare=function(r,e,n,i,o){if(k(r,Uint8Array)&&(r=s.from(r,r.offset,r.byteLength)),!s.isBuffer(r))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof r);if(e===void 0&&(e=0),n===void 0&&(n=r?r.length:0),i===void 0&&(i=0),o===void 0&&(o=this.length),e<0||n>r.length||i<0||o>this.length)throw new RangeError("out of range index");if(i>=o&&e>=n)return 0;if(i>=o)return-1;if(e>=n)return 1;if(e>>>=0,n>>>=0,i>>>=0,o>>>=0,this===r)return 0;for(var a=o-i,p=n-e,c=Math.min(a,p),d=this.slice(i,o),g=r.slice(e,n),l=0;l<c;++l)if(d[l]!==g[l]){a=d[l],p=g[l];break}return a<p?-1:p<a?1:0};function vr(t,r,e,n,i){if(t.length===0)return-1;if(typeof e=="string"?(n=e,e=0):e>2147483647?e=2147483647:e<-2147483648&&(e=-2147483648),e=+e,tr(e)&&(e=i?0:t.length-1),e<0&&(e=t.length+e),e>=t.length){if(i)return-1;e=t.length-1}else if(e<0)if(i)e=0;else return-1;if(typeof r=="string"&&(r=s.from(r,n)),s.isBuffer(r))return r.length===0?-1:mr(t,r,e,n,i);if(typeof r=="number")return r=r&255,typeof Uint8Array.prototype.indexOf=="function"?i?Uint8Array.prototype.indexOf.call(t,r,e):Uint8Array.prototype.lastIndexOf.call(t,r,e):mr(t,[r],e,n,i);throw new TypeError("val must be string, number or Buffer")}function mr(t,r,e,n,i){var o=1,a=t.length,p=r.length;if(n!==void 0&&(n=String(n).toLowerCase(),n==="ucs2"||n==="ucs-2"||n==="utf16le"||n==="utf-16le")){if(t.length<2||r.length<2)return-1;o=2,a/=2,p/=2,e/=2}function c(w,_){return o===1?w[_]:w.readUInt16BE(_*o)}var d;if(i){var g=-1;for(d=e;d<a;d++)if(c(t,d)===c(r,g===-1?0:d-g)){if(g===-1&&(g=d),d-g+1===p)return g*o}else g!==-1&&(d-=d-g),g=-1}else for(e+p>a&&(e=a-p),d=e;d>=0;d--){for(var l=!0,b=0;b<p;b++)if(c(t,d+b)!==c(r,b)){l=!1;break}if(l)return d}return-1}s.prototype.includes=function(r,e,n){return this.indexOf(r,e,n)!==-1};s.prototype.indexOf=function(r,e,n){return vr(this,r,e,n,!0)};s.prototype.lastIndexOf=function(r,e,n){return vr(this,r,e,n,!1)};function le(t,r,e,n){e=Number(e)||0;var i=t.length-e;n?(n=Number(n),n>i&&(n=i)):n=i;var o=r.length;n>o/2&&(n=o/2);for(var a=0;a<n;++a){var p=parseInt(r.substr(a*2,2),16);if(tr(p))return a;t[e+a]=p}return a}function fe(t,r,e,n){return O(Z(r,t.length-e),t,e,n)}function de(t,r,e,n){return O(ke(r),t,e,n)}function ge(t,r,e,n){return O(Ir(r),t,e,n)}function he(t,r,e,n){return O(Se(r,t.length-e),t,e,n)}s.prototype.write=function(r,e,n,i){if(e===void 0)i="utf8",n=this.length,e=0;else if(n===void 0&&typeof e=="string")i=e,n=this.length,e=0;else if(isFinite(e))e=e>>>0,isFinite(n)?(n=n>>>0,i===void 0&&(i="utf8")):(i=n,n=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var o=this.length-e;if((n===void 0||n>o)&&(n=o),r.length>0&&(n<0||e<0)||e>this.length)throw new RangeError("Attempt to write outside buffer bounds");i||(i="utf8");for(var a=!1;;)switch(i){case"hex":return le(this,r,e,n);case"utf8":case"utf-8":return fe(this,r,e,n);case"ascii":case"latin1":case"binary":return de(this,r,e,n);case"base64":return ge(this,r,e,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return he(this,r,e,n);default:if(a)throw new TypeError("Unknown encoding: "+i);i=(""+i).toLowerCase(),a=!0}};s.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function me(t,r,e){return r===0&&e===t.length?J.fromByteArray(t):J.fromByteArray(t.slice(r,e))}function br(t,r,e){e=Math.min(t.length,e);for(var n=[],i=r;i<e;){var o=t[i],a=null,p=o>239?4:o>223?3:o>191?2:1;if(i+p<=e){var c,d,g,l;switch(p){case 1:o<128&&(a=o);break;case 2:c=t[i+1],(c&192)===128&&(l=(o&31)<<6|c&63,l>127&&(a=l));break;case 3:c=t[i+1],d=t[i+2],(c&192)===128&&(d&192)===128&&(l=(o&15)<<12|(c&63)<<6|d&63,l>2047&&(l<55296||l>57343)&&(a=l));break;case 4:c=t[i+1],d=t[i+2],g=t[i+3],(c&192)===128&&(d&192)===128&&(g&192)===128&&(l=(o&15)<<18|(c&63)<<12|(d&63)<<6|g&63,l>65535&&l<1114112&&(a=l))}}a===null?(a=65533,p=1):a>65535&&(a-=65536,n.push(a>>>10&1023|55296),a=56320|a&1023),n.push(a),i+=p}return ye(n)}var yr=4096;function ye(t){var r=t.length;if(r<=yr)return String.fromCharCode.apply(String,t);for(var e="",n=0;n<r;)e+=String.fromCharCode.apply(String,t.slice(n,n+=yr));return e}function xe(t,r,e){var n="";e=Math.min(t.length,e);for(var i=r;i<e;++i)n+=String.fromCharCode(t[i]&127);return n}function Te(t,r,e){var n="";e=Math.min(t.length,e);for(var i=r;i<e;++i)n+=String.fromCharCode(t[i]);return n}function we(t,r,e){var n=t.length;(!r||r<0)&&(r=0),(!e||e<0||e>n)&&(e=n);for(var i="",o=r;o<e;++o)i+=Ie[t[o]];return i}function ve(t,r,e){for(var n=t.slice(r,e),i="",o=0;o<n.length-1;o+=2)i+=String.fromCharCode(n[o]+n[o+1]*256);return i}s.prototype.slice=function(r,e){var n=this.length;r=~~r,e=e===void 0?n:~~e,r<0?(r+=n,r<0&&(r=0)):r>n&&(r=n),e<0?(e+=n,e<0&&(e=0)):e>n&&(e=n),e<r&&(e=r);var i=this.subarray(r,e);return Object.setPrototypeOf(i,s.prototype),i};function x(t,r,e){if(t%1!==0||t<0)throw new RangeError("offset is not uint");if(t+r>e)throw new RangeError("Trying to access beyond buffer length")}s.prototype.readUintLE=s.prototype.readUIntLE=function(r,e,n){r=r>>>0,e=e>>>0,n||x(r,e,this.length);for(var i=this[r],o=1,a=0;++a<e&&(o*=256);)i+=this[r+a]*o;return i};s.prototype.readUintBE=s.prototype.readUIntBE=function(r,e,n){r=r>>>0,e=e>>>0,n||x(r,e,this.length);for(var i=this[r+--e],o=1;e>0&&(o*=256);)i+=this[r+--e]*o;return i};s.prototype.readUint8=s.prototype.readUInt8=function(r,e){return r=r>>>0,e||x(r,1,this.length),this[r]};s.prototype.readUint16LE=s.prototype.readUInt16LE=function(r,e){return r=r>>>0,e||x(r,2,this.length),this[r]|this[r+1]<<8};s.prototype.readUint16BE=s.prototype.readUInt16BE=function(r,e){return r=r>>>0,e||x(r,2,this.length),this[r]<<8|this[r+1]};s.prototype.readUint32LE=s.prototype.readUInt32LE=function(r,e){return r=r>>>0,e||x(r,4,this.length),(this[r]|this[r+1]<<8|this[r+2]<<16)+this[r+3]*16777216};s.prototype.readUint32BE=s.prototype.readUInt32BE=function(r,e){return r=r>>>0,e||x(r,4,this.length),this[r]*16777216+(this[r+1]<<16|this[r+2]<<8|this[r+3])};s.prototype.readIntLE=function(r,e,n){r=r>>>0,e=e>>>0,n||x(r,e,this.length);for(var i=this[r],o=1,a=0;++a<e&&(o*=256);)i+=this[r+a]*o;return o*=128,i>=o&&(i-=Math.pow(2,8*e)),i};s.prototype.readIntBE=function(r,e,n){r=r>>>0,e=e>>>0,n||x(r,e,this.length);for(var i=e,o=1,a=this[r+--i];i>0&&(o*=256);)a+=this[r+--i]*o;return o*=128,a>=o&&(a-=Math.pow(2,8*e)),a};s.prototype.readInt8=function(r,e){return r=r>>>0,e||x(r,1,this.length),this[r]&128?(255-this[r]+1)*-1:this[r]};s.prototype.readInt16LE=function(r,e){r=r>>>0,e||x(r,2,this.length);var n=this[r]|this[r+1]<<8;return n&32768?n|4294901760:n};s.prototype.readInt16BE=function(r,e){r=r>>>0,e||x(r,2,this.length);var n=this[r+1]|this[r]<<8;return n&32768?n|4294901760:n};s.prototype.readInt32LE=function(r,e){return r=r>>>0,e||x(r,4,this.length),this[r]|this[r+1]<<8|this[r+2]<<16|this[r+3]<<24};s.prototype.readInt32BE=function(r,e){return r=r>>>0,e||x(r,4,this.length),this[r]<<24|this[r+1]<<16|this[r+2]<<8|this[r+3]};s.prototype.readFloatLE=function(r,e){return r=r>>>0,e||x(r,4,this.length),U.read(this,r,!0,23,4)};s.prototype.readFloatBE=function(r,e){return r=r>>>0,e||x(r,4,this.length),U.read(this,r,!1,23,4)};s.prototype.readDoubleLE=function(r,e){return r=r>>>0,e||x(r,8,this.length),U.read(this,r,!0,52,8)};s.prototype.readDoubleBE=function(r,e){return r=r>>>0,e||x(r,8,this.length),U.read(this,r,!1,52,8)};function T(t,r,e,n,i,o){if(!s.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(r>i||r<o)throw new RangeError('"value" argument is out of bounds');if(e+n>t.length)throw new RangeError("Index out of range")}s.prototype.writeUintLE=s.prototype.writeUIntLE=function(r,e,n,i){if(r=+r,e=e>>>0,n=n>>>0,!i){var o=Math.pow(2,8*n)-1;T(this,r,e,n,o,0)}var a=1,p=0;for(this[e]=r&255;++p<n&&(a*=256);)this[e+p]=r/a&255;return e+n};s.prototype.writeUintBE=s.prototype.writeUIntBE=function(r,e,n,i){if(r=+r,e=e>>>0,n=n>>>0,!i){var o=Math.pow(2,8*n)-1;T(this,r,e,n,o,0)}var a=n-1,p=1;for(this[e+a]=r&255;--a>=0&&(p*=256);)this[e+a]=r/p&255;return e+n};s.prototype.writeUint8=s.prototype.writeUInt8=function(r,e,n){return r=+r,e=e>>>0,n||T(this,r,e,1,255,0),this[e]=r&255,e+1};s.prototype.writeUint16LE=s.prototype.writeUInt16LE=function(r,e,n){return r=+r,e=e>>>0,n||T(this,r,e,2,65535,0),this[e]=r&255,this[e+1]=r>>>8,e+2};s.prototype.writeUint16BE=s.prototype.writeUInt16BE=function(r,e,n){return r=+r,e=e>>>0,n||T(this,r,e,2,65535,0),this[e]=r>>>8,this[e+1]=r&255,e+2};s.prototype.writeUint32LE=s.prototype.writeUInt32LE=function(r,e,n){return r=+r,e=e>>>0,n||T(this,r,e,4,4294967295,0),this[e+3]=r>>>24,this[e+2]=r>>>16,this[e+1]=r>>>8,this[e]=r&255,e+4};s.prototype.writeUint32BE=s.prototype.writeUInt32BE=function(r,e,n){return r=+r,e=e>>>0,n||T(this,r,e,4,4294967295,0),this[e]=r>>>24,this[e+1]=r>>>16,this[e+2]=r>>>8,this[e+3]=r&255,e+4};s.prototype.writeIntLE=function(r,e,n,i){if(r=+r,e=e>>>0,!i){var o=Math.pow(2,8*n-1);T(this,r,e,n,o-1,-o)}var a=0,p=1,c=0;for(this[e]=r&255;++a<n&&(p*=256);)r<0&&c===0&&this[e+a-1]!==0&&(c=1),this[e+a]=(r/p>>0)-c&255;return e+n};s.prototype.writeIntBE=function(r,e,n,i){if(r=+r,e=e>>>0,!i){var o=Math.pow(2,8*n-1);T(this,r,e,n,o-1,-o)}var a=n-1,p=1,c=0;for(this[e+a]=r&255;--a>=0&&(p*=256);)r<0&&c===0&&this[e+a+1]!==0&&(c=1),this[e+a]=(r/p>>0)-c&255;return e+n};s.prototype.writeInt8=function(r,e,n){return r=+r,e=e>>>0,n||T(this,r,e,1,127,-128),r<0&&(r=255+r+1),this[e]=r&255,e+1};s.prototype.writeInt16LE=function(r,e,n){return r=+r,e=e>>>0,n||T(this,r,e,2,32767,-32768),this[e]=r&255,this[e+1]=r>>>8,e+2};s.prototype.writeInt16BE=function(r,e,n){return r=+r,e=e>>>0,n||T(this,r,e,2,32767,-32768),this[e]=r>>>8,this[e+1]=r&255,e+2};s.prototype.writeInt32LE=function(r,e,n){return r=+r,e=e>>>0,n||T(this,r,e,4,2147483647,-2147483648),this[e]=r&255,this[e+1]=r>>>8,this[e+2]=r>>>16,this[e+3]=r>>>24,e+4};s.prototype.writeInt32BE=function(r,e,n){return r=+r,e=e>>>0,n||T(this,r,e,4,2147483647,-2147483648),r<0&&(r=4294967295+r+1),this[e]=r>>>24,this[e+1]=r>>>16,this[e+2]=r>>>8,this[e+3]=r&255,e+4};function Fr(t,r,e,n,i,o){if(e+n>t.length)throw new RangeError("Index out of range");if(e<0)throw new RangeError("Index out of range")}function kr(t,r,e,n,i){return r=+r,e=e>>>0,i||Fr(t,r,e,4,34028234663852886e22,-34028234663852886e22),U.write(t,r,e,n,23,4),e+4}s.prototype.writeFloatLE=function(r,e,n){return kr(this,r,e,!0,n)};s.prototype.writeFloatBE=function(r,e,n){return kr(this,r,e,!1,n)};function Sr(t,r,e,n,i){return r=+r,e=e>>>0,i||Fr(t,r,e,8,17976931348623157e292,-17976931348623157e292),U.write(t,r,e,n,52,8),e+8}s.prototype.writeDoubleLE=function(r,e,n){return Sr(this,r,e,!0,n)};s.prototype.writeDoubleBE=function(r,e,n){return Sr(this,r,e,!1,n)};s.prototype.copy=function(r,e,n,i){if(!s.isBuffer(r))throw new TypeError("argument should be a Buffer");if(n||(n=0),!i&&i!==0&&(i=this.length),e>=r.length&&(e=r.length),e||(e=0),i>0&&i<n&&(i=n),i===n||r.length===0||this.length===0)return 0;if(e<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw new RangeError("Index out of range");if(i<0)throw new RangeError("sourceEnd out of bounds");i>this.length&&(i=this.length),r.length-e<i-n&&(i=r.length-e+n);var o=i-n;return this===r&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(e,n,i):Uint8Array.prototype.set.call(r,this.subarray(n,i),e),o};s.prototype.fill=function(r,e,n,i){if(typeof r=="string"){if(typeof e=="string"?(i=e,e=0,n=this.length):typeof n=="string"&&(i=n,n=this.length),i!==void 0&&typeof i!="string")throw new TypeError("encoding must be a string");if(typeof i=="string"&&!s.isEncoding(i))throw new TypeError("Unknown encoding: "+i);if(r.length===1){var o=r.charCodeAt(0);(i==="utf8"&&o<128||i==="latin1")&&(r=o)}}else typeof r=="number"?r=r&255:typeof r=="boolean"&&(r=Number(r));if(e<0||this.length<e||this.length<n)throw new RangeError("Out of range index");if(n<=e)return this;e=e>>>0,n=n===void 0?this.length:n>>>0,r||(r=0);var a;if(typeof r=="number")for(a=e;a<n;++a)this[a]=r;else{var p=s.isBuffer(r)?r:s.from(r,i),c=p.length;if(c===0)throw new TypeError('The value "'+r+'" is invalid for argument "value"');for(a=0;a<n-e;++a)this[a+e]=p[a%c]}return this};var be=/[^+/0-9A-Za-z-_]/g;function Fe(t){if(t=t.split("=")[0],t=t.trim().replace(be,""),t.length<2)return"";for(;t.length%4!==0;)t=t+"=";return t}function Z(t,r){r=r||1/0;for(var e,n=t.length,i=null,o=[],a=0;a<n;++a){if(e=t.charCodeAt(a),e>55295&&e<57344){if(!i){if(e>56319){(r-=3)>-1&&o.push(239,191,189);continue}else if(a+1===n){(r-=3)>-1&&o.push(239,191,189);continue}i=e;continue}if(e<56320){(r-=3)>-1&&o.push(239,191,189),i=e;continue}e=(i-55296<<10|e-56320)+65536}else i&&(r-=3)>-1&&o.push(239,191,189);if(i=null,e<128){if((r-=1)<0)break;o.push(e)}else if(e<2048){if((r-=2)<0)break;o.push(e>>6|192,e&63|128)}else if(e<65536){if((r-=3)<0)break;o.push(e>>12|224,e>>6&63|128,e&63|128)}else if(e<1114112){if((r-=4)<0)break;o.push(e>>18|240,e>>12&63|128,e>>6&63|128,e&63|128)}else throw new Error("Invalid code point")}return o}function ke(t){for(var r=[],e=0;e<t.length;++e)r.push(t.charCodeAt(e)&255);return r}function Se(t,r){for(var e,n,i,o=[],a=0;a<t.length&&!((r-=2)<0);++a)e=t.charCodeAt(a),n=e>>8,i=e%256,o.push(i),o.push(n);return o}function Ir(t){return J.toByteArray(Fe(t))}function O(t,r,e,n){for(var i=0;i<n&&!(i+e>=r.length||i>=t.length);++i)r[i+e]=t[i];return i}function k(t,r){return t instanceof r||t!=null&&t.constructor!=null&&t.constructor.name!=null&&t.constructor.name===r.name}function tr(t){return t!==t}var Ie=function(){for(var t="0123456789abcdef",r=new Array(256),e=0;e<16;++e)for(var n=e*16,i=0;i<16;++i)r[n+i]=t[e]+t[i];return r}()});var Er=G((We,Cr)=>{u();var y=Cr.exports={},S,I;function nr(){throw new Error("setTimeout has not been defined")}function ir(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?S=setTimeout:S=nr}catch(t){S=nr}try{typeof clearTimeout=="function"?I=clearTimeout:I=ir}catch(t){I=ir}})();function Rr(t){if(S===setTimeout)return setTimeout(t,0);if((S===nr||!S)&&setTimeout)return S=setTimeout,setTimeout(t,0);try{return S(t,0)}catch(r){try{return S.call(null,t,0)}catch(e){return S.call(this,t,0)}}}function Be(t){if(I===clearTimeout)return clearTimeout(t);if((I===ir||!I)&&clearTimeout)return I=clearTimeout,clearTimeout(t);try{return I(t)}catch(r){try{return I.call(null,t)}catch(e){return I.call(this,t)}}}var R=[],N=!1,L,Y=-1;function Re(){!N||!L||(N=!1,L.length?R=L.concat(R):Y=-1,R.length&&Dr())}function Dr(){if(!N){var t=Rr(Re);N=!0;for(var r=R.length;r;){for(L=R,R=[];++Y<r;)L&&L[Y].run();Y=-1,r=R.length}L=null,N=!1,Be(t)}}y.nextTick=function(t){var r=new Array(arguments.length-1);if(arguments.length>1)for(var e=1;e<arguments.length;e++)r[e-1]=arguments[e];R.push(new Ar(t,r)),R.length===1&&!N&&Rr(Dr)};function Ar(t,r){this.fun=t,this.array=r}Ar.prototype.run=function(){this.fun.apply(null,this.array)};y.title="browser";y.browser=!0;y.env={};y.argv=[];y.version="";y.versions={};function D(){}y.on=D;y.addListener=D;y.once=D;y.off=D;y.removeListener=D;y.removeAllListeners=D;y.emit=D;y.prependListener=D;y.prependOnceListener=D;y.listeners=function(t){return[]};y.binding=function(t){throw new Error("process.binding is not supported")};y.cwd=function(){return"/"};y.chdir=function(t){throw new Error("process.chdir is not supported")};y.umask=function(){return 0}});var f,h,He,u=$r(()=>{f=X(Br()),h=X(Er()),He=function(t){function r(){var n=this||self;return delete t.prototype.__magic__,n}if(typeof globalThis=="object")return globalThis;if(this)return r();t.defineProperty(t.prototype,"__magic__",{configurable:!0,get:r});var e=__magic__;return e}(Object)});var _e={};jr(_e,{decodeForDisplay:()=>Le});module.exports=Jr(_e);u();u();u();u();var Nr=require("@multiversx/sdk-core/out"),ar=X(require("bignumber.js"));u();var Lr=require("@multiversx/sdk-core");function De(t){try{let r=new Lr.Address(t);return Boolean(r.bech32())}catch(r){return!1}}function _r(t){return(t==null?void 0:t.startsWith("erd"))&&t.length===62&&/^\w+$/.test(t)&&De(t)}u();u();u();u();function or(t){for(let r=0;r<t.length;r++)if(t.charCodeAt(r)>127)return!1;return!0}u();u();var Ur=t=>/\d/.test(t);var A=(t,r,e)=>{try{switch(r){case"text":return Ur(t)?f.Buffer.from(t,"hex").toString("utf8"):t;case"decimal":return new ar.default(t,16).toString(10);case"smart":let i=Nr.Address.fromHex(t).toString();if(_r(i))return i;let o=f.Buffer.from(t,"hex").toString("utf8");return or(o)||e&&[...e.esdts,...e.nfts].some(c=>o.includes(c))?o:new ar.default(t,16).toString(10);case"raw":default:return t}}catch(n){return console.error(`Error during data decoding of "${t}" as "${r}"`,n),t}};u();u();u();u();u();u();u();var Ae=require("@multiversx/sdk-dapp-utils/out/constants/crossWindowProviderConstants"),M=require("@multiversx/sdk-dapp-utils/out/enums/crossWindowProviderEnums");var Mr=(e=>(e.signTransactionsWithGuardianResponse="SIGN_TRANSACTIONS_WITH_GUARDIAN_RESPONSE",e.reloginRequest="RELOGIN_REQUEST",e))(Mr||{}),ct=H(H({},M.CrossWindowProviderRequestEnums),Mr),Wr=(r=>(r.reloginResponse="RELOGIN_RESPONSE",r))(Wr||{}),lt=H(H({},M.CrossWindowProviderResponseEnums),Wr);u();u();u();u();u();u();var Ce=t=>t.toLowerCase().match(/[0-9a-f]/g),Ee=t=>t.length%2===0,Hr=t=>{let r=[];return t&&!Ce(t)&&r.push(`Invalid Hex characters on argument @${t}`),t&&!Ee(t)&&r.push(`Odd number of Hex characters on argument @${t}`),r};u();var z=({parts:t,decodedParts:r,identifier:e})=>{let n=[...r];if(t[0]==="ESDTNFTTransfer"&&t[2]&&(n[2]=A(t[2],"decimal")),e==="ESDTNFTTransfer"&&t[1]){let i=f.Buffer.from(String(t[1]),"base64");n[1]=A(i.toString("hex"),"decimal")}return n};var Gr=({parts:t,decodeMethod:r,identifier:e,display:n})=>{let i=t.map((o,a)=>{if(t.length>=2&&(a===0&&o.length<64||a===1&&!t[0]))return/[^a-z0-9]/gi.test(o)?A(o,r):o;{let p=Hr(o);return p.length&&(n.validationWarnings=Array.from(new Set([...n.validationWarnings,...p]))),A(o,r)}});return r==="smart"?z({parts:t,decodedParts:i,identifier:e}):i};var Le=({input:t,decodeMethod:r,identifier:e})=>{let n={displayValue:"",validationWarnings:[]};if(t.includes("@")){let i=t.split("@"),o=Gr({parts:i,identifier:e,decodeMethod:r,display:n});return n.displayValue=o.join("@"),n}if(t.includes(`
1
+ "use strict";var qr=Object.create;var W=Object.defineProperty;var Or=Object.getOwnPropertyDescriptor;var Yr=Object.getOwnPropertyNames,sr=Object.getOwnPropertySymbols,zr=Object.getPrototypeOf,pr=Object.prototype.hasOwnProperty,Xr=Object.prototype.propertyIsEnumerable;var ur=(t,r,e)=>r in t?W(t,r,{enumerable:!0,configurable:!0,writable:!0,value:e}):t[r]=e,H=(t,r)=>{for(var e in r||(r={}))pr.call(r,e)&&ur(t,e,r[e]);if(sr)for(var e of sr(r))Xr.call(r,e)&&ur(t,e,r[e]);return t};var $r=(t,r)=>()=>(t&&(r=t(t=0)),r);var G=(t,r)=>()=>(r||t((r={exports:{}}).exports,r),r.exports),jr=(t,r)=>{for(var e in r)W(t,e,{get:r[e],enumerable:!0})},cr=(t,r,e,n)=>{if(r&&typeof r=="object"||typeof r=="function")for(let i of Yr(r))!pr.call(t,i)&&i!==e&&W(t,i,{get:()=>r[i],enumerable:!(n=Or(r,i))||n.enumerable});return t};var X=(t,r,e)=>(e=t!=null?qr(zr(t)):{},cr(r||!t||!t.__esModule?W(e,"default",{value:t,enumerable:!0}):e,t)),Jr=t=>cr(W({},"__esModule",{value:!0}),t);var dr=G(V=>{"use strict";u();V.byteLength=Qr;V.toByteArray=re;V.fromByteArray=ne;var F=[],v=[],Kr=typeof Uint8Array!="undefined"?Uint8Array:Array,$="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(C=0,lr=$.length;C<lr;++C)F[C]=$[C],v[$.charCodeAt(C)]=C;var C,lr;v["-".charCodeAt(0)]=62;v["_".charCodeAt(0)]=63;function fr(t){var r=t.length;if(r%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var e=t.indexOf("=");e===-1&&(e=r);var n=e===r?0:4-e%4;return[e,n]}function Qr(t){var r=fr(t),e=r[0],n=r[1];return(e+n)*3/4-n}function Zr(t,r,e){return(r+e)*3/4-e}function re(t){var r,e=fr(t),n=e[0],i=e[1],o=new Kr(Zr(t,n,i)),a=0,p=i>0?n-4:n,c;for(c=0;c<p;c+=4)r=v[t.charCodeAt(c)]<<18|v[t.charCodeAt(c+1)]<<12|v[t.charCodeAt(c+2)]<<6|v[t.charCodeAt(c+3)],o[a++]=r>>16&255,o[a++]=r>>8&255,o[a++]=r&255;return i===2&&(r=v[t.charCodeAt(c)]<<2|v[t.charCodeAt(c+1)]>>4,o[a++]=r&255),i===1&&(r=v[t.charCodeAt(c)]<<10|v[t.charCodeAt(c+1)]<<4|v[t.charCodeAt(c+2)]>>2,o[a++]=r>>8&255,o[a++]=r&255),o}function ee(t){return F[t>>18&63]+F[t>>12&63]+F[t>>6&63]+F[t&63]}function te(t,r,e){for(var n,i=[],o=r;o<e;o+=3)n=(t[o]<<16&16711680)+(t[o+1]<<8&65280)+(t[o+2]&255),i.push(ee(n));return i.join("")}function ne(t){for(var r,e=t.length,n=e%3,i=[],o=16383,a=0,p=e-n;a<p;a+=o)i.push(te(t,a,a+o>p?p:a+o));return n===1?(r=t[e-1],i.push(F[r>>2]+F[r<<4&63]+"==")):n===2&&(r=(t[e-2]<<8)+t[e-1],i.push(F[r>>10]+F[r>>4&63]+F[r<<2&63]+"=")),i.join("")}});var gr=G(j=>{u();j.read=function(t,r,e,n,i){var o,a,p=i*8-n-1,c=(1<<p)-1,d=c>>1,g=-7,l=e?i-1:0,b=e?-1:1,w=t[r+l];for(l+=b,o=w&(1<<-g)-1,w>>=-g,g+=p;g>0;o=o*256+t[r+l],l+=b,g-=8);for(a=o&(1<<-g)-1,o>>=-g,g+=n;g>0;a=a*256+t[r+l],l+=b,g-=8);if(o===0)o=1-d;else{if(o===c)return a?NaN:(w?-1:1)*(1/0);a=a+Math.pow(2,n),o=o-d}return(w?-1:1)*a*Math.pow(2,o-n)};j.write=function(t,r,e,n,i,o){var a,p,c,d=o*8-i-1,g=(1<<d)-1,l=g>>1,b=i===23?Math.pow(2,-24)-Math.pow(2,-77):0,w=n?0:o-1,U=n?1:-1,Vr=r<0||r===0&&1/r<0?1:0;for(r=Math.abs(r),isNaN(r)||r===1/0?(p=isNaN(r)?1:0,a=g):(a=Math.floor(Math.log(r)/Math.LN2),r*(c=Math.pow(2,-a))<1&&(a--,c*=2),a+l>=1?r+=b/c:r+=b*Math.pow(2,1-l),r*c>=2&&(a++,c/=2),a+l>=g?(p=0,a=g):a+l>=1?(p=(r*c-1)*Math.pow(2,i),a=a+l):(p=r*Math.pow(2,l-1)*Math.pow(2,i),a=0));i>=8;t[e+w]=p&255,w+=U,p/=256,i-=8);for(a=a<<i|p,d+=i;d>0;t[e+w]=a&255,w+=U,a/=256,d-=8);t[e+w-U]|=Vr*128}});var Br=G(P=>{"use strict";u();var J=dr(),_=gr(),hr=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;P.Buffer=s;P.SlowBuffer=pe;P.INSPECT_MAX_BYTES=50;var q=2147483647;P.kMaxLength=q;s.TYPED_ARRAY_SUPPORT=ie();!s.TYPED_ARRAY_SUPPORT&&typeof console!="undefined"&&typeof console.error=="function"&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function ie(){try{var t=new Uint8Array(1),r={foo:function(){return 42}};return Object.setPrototypeOf(r,Uint8Array.prototype),Object.setPrototypeOf(t,r),t.foo()===42}catch(e){return!1}}Object.defineProperty(s.prototype,"parent",{enumerable:!0,get:function(){if(!!s.isBuffer(this))return this.buffer}});Object.defineProperty(s.prototype,"offset",{enumerable:!0,get:function(){if(!!s.isBuffer(this))return this.byteOffset}});function B(t){if(t>q)throw new RangeError('The value "'+t+'" is invalid for option "size"');var r=new Uint8Array(t);return Object.setPrototypeOf(r,s.prototype),r}function s(t,r,e){if(typeof t=="number"){if(typeof r=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return rr(t)}return xr(t,r,e)}s.poolSize=8192;function xr(t,r,e){if(typeof t=="string")return ae(t,r);if(ArrayBuffer.isView(t))return se(t);if(t==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t);if(k(t,ArrayBuffer)||t&&k(t.buffer,ArrayBuffer)||typeof SharedArrayBuffer!="undefined"&&(k(t,SharedArrayBuffer)||t&&k(t.buffer,SharedArrayBuffer)))return Q(t,r,e);if(typeof t=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var n=t.valueOf&&t.valueOf();if(n!=null&&n!==t)return s.from(n,r,e);var i=ue(t);if(i)return i;if(typeof Symbol!="undefined"&&Symbol.toPrimitive!=null&&typeof t[Symbol.toPrimitive]=="function")return s.from(t[Symbol.toPrimitive]("string"),r,e);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t)}s.from=function(t,r,e){return xr(t,r,e)};Object.setPrototypeOf(s.prototype,Uint8Array.prototype);Object.setPrototypeOf(s,Uint8Array);function Tr(t){if(typeof t!="number")throw new TypeError('"size" argument must be of type number');if(t<0)throw new RangeError('The value "'+t+'" is invalid for option "size"')}function oe(t,r,e){return Tr(t),t<=0?B(t):r!==void 0?typeof e=="string"?B(t).fill(r,e):B(t).fill(r):B(t)}s.alloc=function(t,r,e){return oe(t,r,e)};function rr(t){return Tr(t),B(t<0?0:er(t)|0)}s.allocUnsafe=function(t){return rr(t)};s.allocUnsafeSlow=function(t){return rr(t)};function ae(t,r){if((typeof r!="string"||r==="")&&(r="utf8"),!s.isEncoding(r))throw new TypeError("Unknown encoding: "+r);var e=wr(t,r)|0,n=B(e),i=n.write(t,r);return i!==e&&(n=n.slice(0,i)),n}function K(t){for(var r=t.length<0?0:er(t.length)|0,e=B(r),n=0;n<r;n+=1)e[n]=t[n]&255;return e}function se(t){if(k(t,Uint8Array)){var r=new Uint8Array(t);return Q(r.buffer,r.byteOffset,r.byteLength)}return K(t)}function Q(t,r,e){if(r<0||t.byteLength<r)throw new RangeError('"offset" is outside of buffer bounds');if(t.byteLength<r+(e||0))throw new RangeError('"length" is outside of buffer bounds');var n;return r===void 0&&e===void 0?n=new Uint8Array(t):e===void 0?n=new Uint8Array(t,r):n=new Uint8Array(t,r,e),Object.setPrototypeOf(n,s.prototype),n}function ue(t){if(s.isBuffer(t)){var r=er(t.length)|0,e=B(r);return e.length===0||t.copy(e,0,0,r),e}if(t.length!==void 0)return typeof t.length!="number"||tr(t.length)?B(0):K(t);if(t.type==="Buffer"&&Array.isArray(t.data))return K(t.data)}function er(t){if(t>=q)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+q.toString(16)+" bytes");return t|0}function pe(t){return+t!=t&&(t=0),s.alloc(+t)}s.isBuffer=function(r){return r!=null&&r._isBuffer===!0&&r!==s.prototype};s.compare=function(r,e){if(k(r,Uint8Array)&&(r=s.from(r,r.offset,r.byteLength)),k(e,Uint8Array)&&(e=s.from(e,e.offset,e.byteLength)),!s.isBuffer(r)||!s.isBuffer(e))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(r===e)return 0;for(var n=r.length,i=e.length,o=0,a=Math.min(n,i);o<a;++o)if(r[o]!==e[o]){n=r[o],i=e[o];break}return n<i?-1:i<n?1:0};s.isEncoding=function(r){switch(String(r).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}};s.concat=function(r,e){if(!Array.isArray(r))throw new TypeError('"list" argument must be an Array of Buffers');if(r.length===0)return s.alloc(0);var n;if(e===void 0)for(e=0,n=0;n<r.length;++n)e+=r[n].length;var i=s.allocUnsafe(e),o=0;for(n=0;n<r.length;++n){var a=r[n];if(k(a,Uint8Array))o+a.length>i.length?s.from(a).copy(i,o):Uint8Array.prototype.set.call(i,a,o);else if(s.isBuffer(a))a.copy(i,o);else throw new TypeError('"list" argument must be an Array of Buffers');o+=a.length}return i};function wr(t,r){if(s.isBuffer(t))return t.length;if(ArrayBuffer.isView(t)||k(t,ArrayBuffer))return t.byteLength;if(typeof t!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof t);var e=t.length,n=arguments.length>2&&arguments[2]===!0;if(!n&&e===0)return 0;for(var i=!1;;)switch(r){case"ascii":case"latin1":case"binary":return e;case"utf8":case"utf-8":return Z(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return e*2;case"hex":return e>>>1;case"base64":return Ir(t).length;default:if(i)return n?-1:Z(t).length;r=(""+r).toLowerCase(),i=!0}}s.byteLength=wr;function ce(t,r,e){var n=!1;if((r===void 0||r<0)&&(r=0),r>this.length||((e===void 0||e>this.length)&&(e=this.length),e<=0)||(e>>>=0,r>>>=0,e<=r))return"";for(t||(t="utf8");;)switch(t){case"hex":return we(this,r,e);case"utf8":case"utf-8":return br(this,r,e);case"ascii":return xe(this,r,e);case"latin1":case"binary":return Te(this,r,e);case"base64":return me(this,r,e);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return ve(this,r,e);default:if(n)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),n=!0}}s.prototype._isBuffer=!0;function E(t,r,e){var n=t[r];t[r]=t[e],t[e]=n}s.prototype.swap16=function(){var r=this.length;if(r%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var e=0;e<r;e+=2)E(this,e,e+1);return this};s.prototype.swap32=function(){var r=this.length;if(r%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var e=0;e<r;e+=4)E(this,e,e+3),E(this,e+1,e+2);return this};s.prototype.swap64=function(){var r=this.length;if(r%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var e=0;e<r;e+=8)E(this,e,e+7),E(this,e+1,e+6),E(this,e+2,e+5),E(this,e+3,e+4);return this};s.prototype.toString=function(){var r=this.length;return r===0?"":arguments.length===0?br(this,0,r):ce.apply(this,arguments)};s.prototype.toLocaleString=s.prototype.toString;s.prototype.equals=function(r){if(!s.isBuffer(r))throw new TypeError("Argument must be a Buffer");return this===r?!0:s.compare(this,r)===0};s.prototype.inspect=function(){var r="",e=P.INSPECT_MAX_BYTES;return r=this.toString("hex",0,e).replace(/(.{2})/g,"$1 ").trim(),this.length>e&&(r+=" ... "),"<Buffer "+r+">"};hr&&(s.prototype[hr]=s.prototype.inspect);s.prototype.compare=function(r,e,n,i,o){if(k(r,Uint8Array)&&(r=s.from(r,r.offset,r.byteLength)),!s.isBuffer(r))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof r);if(e===void 0&&(e=0),n===void 0&&(n=r?r.length:0),i===void 0&&(i=0),o===void 0&&(o=this.length),e<0||n>r.length||i<0||o>this.length)throw new RangeError("out of range index");if(i>=o&&e>=n)return 0;if(i>=o)return-1;if(e>=n)return 1;if(e>>>=0,n>>>=0,i>>>=0,o>>>=0,this===r)return 0;for(var a=o-i,p=n-e,c=Math.min(a,p),d=this.slice(i,o),g=r.slice(e,n),l=0;l<c;++l)if(d[l]!==g[l]){a=d[l],p=g[l];break}return a<p?-1:p<a?1:0};function vr(t,r,e,n,i){if(t.length===0)return-1;if(typeof e=="string"?(n=e,e=0):e>2147483647?e=2147483647:e<-2147483648&&(e=-2147483648),e=+e,tr(e)&&(e=i?0:t.length-1),e<0&&(e=t.length+e),e>=t.length){if(i)return-1;e=t.length-1}else if(e<0)if(i)e=0;else return-1;if(typeof r=="string"&&(r=s.from(r,n)),s.isBuffer(r))return r.length===0?-1:mr(t,r,e,n,i);if(typeof r=="number")return r=r&255,typeof Uint8Array.prototype.indexOf=="function"?i?Uint8Array.prototype.indexOf.call(t,r,e):Uint8Array.prototype.lastIndexOf.call(t,r,e):mr(t,[r],e,n,i);throw new TypeError("val must be string, number or Buffer")}function mr(t,r,e,n,i){var o=1,a=t.length,p=r.length;if(n!==void 0&&(n=String(n).toLowerCase(),n==="ucs2"||n==="ucs-2"||n==="utf16le"||n==="utf-16le")){if(t.length<2||r.length<2)return-1;o=2,a/=2,p/=2,e/=2}function c(w,U){return o===1?w[U]:w.readUInt16BE(U*o)}var d;if(i){var g=-1;for(d=e;d<a;d++)if(c(t,d)===c(r,g===-1?0:d-g)){if(g===-1&&(g=d),d-g+1===p)return g*o}else g!==-1&&(d-=d-g),g=-1}else for(e+p>a&&(e=a-p),d=e;d>=0;d--){for(var l=!0,b=0;b<p;b++)if(c(t,d+b)!==c(r,b)){l=!1;break}if(l)return d}return-1}s.prototype.includes=function(r,e,n){return this.indexOf(r,e,n)!==-1};s.prototype.indexOf=function(r,e,n){return vr(this,r,e,n,!0)};s.prototype.lastIndexOf=function(r,e,n){return vr(this,r,e,n,!1)};function le(t,r,e,n){e=Number(e)||0;var i=t.length-e;n?(n=Number(n),n>i&&(n=i)):n=i;var o=r.length;n>o/2&&(n=o/2);for(var a=0;a<n;++a){var p=parseInt(r.substr(a*2,2),16);if(tr(p))return a;t[e+a]=p}return a}function fe(t,r,e,n){return O(Z(r,t.length-e),t,e,n)}function de(t,r,e,n){return O(ke(r),t,e,n)}function ge(t,r,e,n){return O(Ir(r),t,e,n)}function he(t,r,e,n){return O(Se(r,t.length-e),t,e,n)}s.prototype.write=function(r,e,n,i){if(e===void 0)i="utf8",n=this.length,e=0;else if(n===void 0&&typeof e=="string")i=e,n=this.length,e=0;else if(isFinite(e))e=e>>>0,isFinite(n)?(n=n>>>0,i===void 0&&(i="utf8")):(i=n,n=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var o=this.length-e;if((n===void 0||n>o)&&(n=o),r.length>0&&(n<0||e<0)||e>this.length)throw new RangeError("Attempt to write outside buffer bounds");i||(i="utf8");for(var a=!1;;)switch(i){case"hex":return le(this,r,e,n);case"utf8":case"utf-8":return fe(this,r,e,n);case"ascii":case"latin1":case"binary":return de(this,r,e,n);case"base64":return ge(this,r,e,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return he(this,r,e,n);default:if(a)throw new TypeError("Unknown encoding: "+i);i=(""+i).toLowerCase(),a=!0}};s.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function me(t,r,e){return r===0&&e===t.length?J.fromByteArray(t):J.fromByteArray(t.slice(r,e))}function br(t,r,e){e=Math.min(t.length,e);for(var n=[],i=r;i<e;){var o=t[i],a=null,p=o>239?4:o>223?3:o>191?2:1;if(i+p<=e){var c,d,g,l;switch(p){case 1:o<128&&(a=o);break;case 2:c=t[i+1],(c&192)===128&&(l=(o&31)<<6|c&63,l>127&&(a=l));break;case 3:c=t[i+1],d=t[i+2],(c&192)===128&&(d&192)===128&&(l=(o&15)<<12|(c&63)<<6|d&63,l>2047&&(l<55296||l>57343)&&(a=l));break;case 4:c=t[i+1],d=t[i+2],g=t[i+3],(c&192)===128&&(d&192)===128&&(g&192)===128&&(l=(o&15)<<18|(c&63)<<12|(d&63)<<6|g&63,l>65535&&l<1114112&&(a=l))}}a===null?(a=65533,p=1):a>65535&&(a-=65536,n.push(a>>>10&1023|55296),a=56320|a&1023),n.push(a),i+=p}return ye(n)}var yr=4096;function ye(t){var r=t.length;if(r<=yr)return String.fromCharCode.apply(String,t);for(var e="",n=0;n<r;)e+=String.fromCharCode.apply(String,t.slice(n,n+=yr));return e}function xe(t,r,e){var n="";e=Math.min(t.length,e);for(var i=r;i<e;++i)n+=String.fromCharCode(t[i]&127);return n}function Te(t,r,e){var n="";e=Math.min(t.length,e);for(var i=r;i<e;++i)n+=String.fromCharCode(t[i]);return n}function we(t,r,e){var n=t.length;(!r||r<0)&&(r=0),(!e||e<0||e>n)&&(e=n);for(var i="",o=r;o<e;++o)i+=Ie[t[o]];return i}function ve(t,r,e){for(var n=t.slice(r,e),i="",o=0;o<n.length-1;o+=2)i+=String.fromCharCode(n[o]+n[o+1]*256);return i}s.prototype.slice=function(r,e){var n=this.length;r=~~r,e=e===void 0?n:~~e,r<0?(r+=n,r<0&&(r=0)):r>n&&(r=n),e<0?(e+=n,e<0&&(e=0)):e>n&&(e=n),e<r&&(e=r);var i=this.subarray(r,e);return Object.setPrototypeOf(i,s.prototype),i};function x(t,r,e){if(t%1!==0||t<0)throw new RangeError("offset is not uint");if(t+r>e)throw new RangeError("Trying to access beyond buffer length")}s.prototype.readUintLE=s.prototype.readUIntLE=function(r,e,n){r=r>>>0,e=e>>>0,n||x(r,e,this.length);for(var i=this[r],o=1,a=0;++a<e&&(o*=256);)i+=this[r+a]*o;return i};s.prototype.readUintBE=s.prototype.readUIntBE=function(r,e,n){r=r>>>0,e=e>>>0,n||x(r,e,this.length);for(var i=this[r+--e],o=1;e>0&&(o*=256);)i+=this[r+--e]*o;return i};s.prototype.readUint8=s.prototype.readUInt8=function(r,e){return r=r>>>0,e||x(r,1,this.length),this[r]};s.prototype.readUint16LE=s.prototype.readUInt16LE=function(r,e){return r=r>>>0,e||x(r,2,this.length),this[r]|this[r+1]<<8};s.prototype.readUint16BE=s.prototype.readUInt16BE=function(r,e){return r=r>>>0,e||x(r,2,this.length),this[r]<<8|this[r+1]};s.prototype.readUint32LE=s.prototype.readUInt32LE=function(r,e){return r=r>>>0,e||x(r,4,this.length),(this[r]|this[r+1]<<8|this[r+2]<<16)+this[r+3]*16777216};s.prototype.readUint32BE=s.prototype.readUInt32BE=function(r,e){return r=r>>>0,e||x(r,4,this.length),this[r]*16777216+(this[r+1]<<16|this[r+2]<<8|this[r+3])};s.prototype.readIntLE=function(r,e,n){r=r>>>0,e=e>>>0,n||x(r,e,this.length);for(var i=this[r],o=1,a=0;++a<e&&(o*=256);)i+=this[r+a]*o;return o*=128,i>=o&&(i-=Math.pow(2,8*e)),i};s.prototype.readIntBE=function(r,e,n){r=r>>>0,e=e>>>0,n||x(r,e,this.length);for(var i=e,o=1,a=this[r+--i];i>0&&(o*=256);)a+=this[r+--i]*o;return o*=128,a>=o&&(a-=Math.pow(2,8*e)),a};s.prototype.readInt8=function(r,e){return r=r>>>0,e||x(r,1,this.length),this[r]&128?(255-this[r]+1)*-1:this[r]};s.prototype.readInt16LE=function(r,e){r=r>>>0,e||x(r,2,this.length);var n=this[r]|this[r+1]<<8;return n&32768?n|4294901760:n};s.prototype.readInt16BE=function(r,e){r=r>>>0,e||x(r,2,this.length);var n=this[r+1]|this[r]<<8;return n&32768?n|4294901760:n};s.prototype.readInt32LE=function(r,e){return r=r>>>0,e||x(r,4,this.length),this[r]|this[r+1]<<8|this[r+2]<<16|this[r+3]<<24};s.prototype.readInt32BE=function(r,e){return r=r>>>0,e||x(r,4,this.length),this[r]<<24|this[r+1]<<16|this[r+2]<<8|this[r+3]};s.prototype.readFloatLE=function(r,e){return r=r>>>0,e||x(r,4,this.length),_.read(this,r,!0,23,4)};s.prototype.readFloatBE=function(r,e){return r=r>>>0,e||x(r,4,this.length),_.read(this,r,!1,23,4)};s.prototype.readDoubleLE=function(r,e){return r=r>>>0,e||x(r,8,this.length),_.read(this,r,!0,52,8)};s.prototype.readDoubleBE=function(r,e){return r=r>>>0,e||x(r,8,this.length),_.read(this,r,!1,52,8)};function T(t,r,e,n,i,o){if(!s.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(r>i||r<o)throw new RangeError('"value" argument is out of bounds');if(e+n>t.length)throw new RangeError("Index out of range")}s.prototype.writeUintLE=s.prototype.writeUIntLE=function(r,e,n,i){if(r=+r,e=e>>>0,n=n>>>0,!i){var o=Math.pow(2,8*n)-1;T(this,r,e,n,o,0)}var a=1,p=0;for(this[e]=r&255;++p<n&&(a*=256);)this[e+p]=r/a&255;return e+n};s.prototype.writeUintBE=s.prototype.writeUIntBE=function(r,e,n,i){if(r=+r,e=e>>>0,n=n>>>0,!i){var o=Math.pow(2,8*n)-1;T(this,r,e,n,o,0)}var a=n-1,p=1;for(this[e+a]=r&255;--a>=0&&(p*=256);)this[e+a]=r/p&255;return e+n};s.prototype.writeUint8=s.prototype.writeUInt8=function(r,e,n){return r=+r,e=e>>>0,n||T(this,r,e,1,255,0),this[e]=r&255,e+1};s.prototype.writeUint16LE=s.prototype.writeUInt16LE=function(r,e,n){return r=+r,e=e>>>0,n||T(this,r,e,2,65535,0),this[e]=r&255,this[e+1]=r>>>8,e+2};s.prototype.writeUint16BE=s.prototype.writeUInt16BE=function(r,e,n){return r=+r,e=e>>>0,n||T(this,r,e,2,65535,0),this[e]=r>>>8,this[e+1]=r&255,e+2};s.prototype.writeUint32LE=s.prototype.writeUInt32LE=function(r,e,n){return r=+r,e=e>>>0,n||T(this,r,e,4,4294967295,0),this[e+3]=r>>>24,this[e+2]=r>>>16,this[e+1]=r>>>8,this[e]=r&255,e+4};s.prototype.writeUint32BE=s.prototype.writeUInt32BE=function(r,e,n){return r=+r,e=e>>>0,n||T(this,r,e,4,4294967295,0),this[e]=r>>>24,this[e+1]=r>>>16,this[e+2]=r>>>8,this[e+3]=r&255,e+4};s.prototype.writeIntLE=function(r,e,n,i){if(r=+r,e=e>>>0,!i){var o=Math.pow(2,8*n-1);T(this,r,e,n,o-1,-o)}var a=0,p=1,c=0;for(this[e]=r&255;++a<n&&(p*=256);)r<0&&c===0&&this[e+a-1]!==0&&(c=1),this[e+a]=(r/p>>0)-c&255;return e+n};s.prototype.writeIntBE=function(r,e,n,i){if(r=+r,e=e>>>0,!i){var o=Math.pow(2,8*n-1);T(this,r,e,n,o-1,-o)}var a=n-1,p=1,c=0;for(this[e+a]=r&255;--a>=0&&(p*=256);)r<0&&c===0&&this[e+a+1]!==0&&(c=1),this[e+a]=(r/p>>0)-c&255;return e+n};s.prototype.writeInt8=function(r,e,n){return r=+r,e=e>>>0,n||T(this,r,e,1,127,-128),r<0&&(r=255+r+1),this[e]=r&255,e+1};s.prototype.writeInt16LE=function(r,e,n){return r=+r,e=e>>>0,n||T(this,r,e,2,32767,-32768),this[e]=r&255,this[e+1]=r>>>8,e+2};s.prototype.writeInt16BE=function(r,e,n){return r=+r,e=e>>>0,n||T(this,r,e,2,32767,-32768),this[e]=r>>>8,this[e+1]=r&255,e+2};s.prototype.writeInt32LE=function(r,e,n){return r=+r,e=e>>>0,n||T(this,r,e,4,2147483647,-2147483648),this[e]=r&255,this[e+1]=r>>>8,this[e+2]=r>>>16,this[e+3]=r>>>24,e+4};s.prototype.writeInt32BE=function(r,e,n){return r=+r,e=e>>>0,n||T(this,r,e,4,2147483647,-2147483648),r<0&&(r=4294967295+r+1),this[e]=r>>>24,this[e+1]=r>>>16,this[e+2]=r>>>8,this[e+3]=r&255,e+4};function Fr(t,r,e,n,i,o){if(e+n>t.length)throw new RangeError("Index out of range");if(e<0)throw new RangeError("Index out of range")}function kr(t,r,e,n,i){return r=+r,e=e>>>0,i||Fr(t,r,e,4,34028234663852886e22,-34028234663852886e22),_.write(t,r,e,n,23,4),e+4}s.prototype.writeFloatLE=function(r,e,n){return kr(this,r,e,!0,n)};s.prototype.writeFloatBE=function(r,e,n){return kr(this,r,e,!1,n)};function Sr(t,r,e,n,i){return r=+r,e=e>>>0,i||Fr(t,r,e,8,17976931348623157e292,-17976931348623157e292),_.write(t,r,e,n,52,8),e+8}s.prototype.writeDoubleLE=function(r,e,n){return Sr(this,r,e,!0,n)};s.prototype.writeDoubleBE=function(r,e,n){return Sr(this,r,e,!1,n)};s.prototype.copy=function(r,e,n,i){if(!s.isBuffer(r))throw new TypeError("argument should be a Buffer");if(n||(n=0),!i&&i!==0&&(i=this.length),e>=r.length&&(e=r.length),e||(e=0),i>0&&i<n&&(i=n),i===n||r.length===0||this.length===0)return 0;if(e<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw new RangeError("Index out of range");if(i<0)throw new RangeError("sourceEnd out of bounds");i>this.length&&(i=this.length),r.length-e<i-n&&(i=r.length-e+n);var o=i-n;return this===r&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(e,n,i):Uint8Array.prototype.set.call(r,this.subarray(n,i),e),o};s.prototype.fill=function(r,e,n,i){if(typeof r=="string"){if(typeof e=="string"?(i=e,e=0,n=this.length):typeof n=="string"&&(i=n,n=this.length),i!==void 0&&typeof i!="string")throw new TypeError("encoding must be a string");if(typeof i=="string"&&!s.isEncoding(i))throw new TypeError("Unknown encoding: "+i);if(r.length===1){var o=r.charCodeAt(0);(i==="utf8"&&o<128||i==="latin1")&&(r=o)}}else typeof r=="number"?r=r&255:typeof r=="boolean"&&(r=Number(r));if(e<0||this.length<e||this.length<n)throw new RangeError("Out of range index");if(n<=e)return this;e=e>>>0,n=n===void 0?this.length:n>>>0,r||(r=0);var a;if(typeof r=="number")for(a=e;a<n;++a)this[a]=r;else{var p=s.isBuffer(r)?r:s.from(r,i),c=p.length;if(c===0)throw new TypeError('The value "'+r+'" is invalid for argument "value"');for(a=0;a<n-e;++a)this[a+e]=p[a%c]}return this};var be=/[^+/0-9A-Za-z-_]/g;function Fe(t){if(t=t.split("=")[0],t=t.trim().replace(be,""),t.length<2)return"";for(;t.length%4!==0;)t=t+"=";return t}function Z(t,r){r=r||1/0;for(var e,n=t.length,i=null,o=[],a=0;a<n;++a){if(e=t.charCodeAt(a),e>55295&&e<57344){if(!i){if(e>56319){(r-=3)>-1&&o.push(239,191,189);continue}else if(a+1===n){(r-=3)>-1&&o.push(239,191,189);continue}i=e;continue}if(e<56320){(r-=3)>-1&&o.push(239,191,189),i=e;continue}e=(i-55296<<10|e-56320)+65536}else i&&(r-=3)>-1&&o.push(239,191,189);if(i=null,e<128){if((r-=1)<0)break;o.push(e)}else if(e<2048){if((r-=2)<0)break;o.push(e>>6|192,e&63|128)}else if(e<65536){if((r-=3)<0)break;o.push(e>>12|224,e>>6&63|128,e&63|128)}else if(e<1114112){if((r-=4)<0)break;o.push(e>>18|240,e>>12&63|128,e>>6&63|128,e&63|128)}else throw new Error("Invalid code point")}return o}function ke(t){for(var r=[],e=0;e<t.length;++e)r.push(t.charCodeAt(e)&255);return r}function Se(t,r){for(var e,n,i,o=[],a=0;a<t.length&&!((r-=2)<0);++a)e=t.charCodeAt(a),n=e>>8,i=e%256,o.push(i),o.push(n);return o}function Ir(t){return J.toByteArray(Fe(t))}function O(t,r,e,n){for(var i=0;i<n&&!(i+e>=r.length||i>=t.length);++i)r[i+e]=t[i];return i}function k(t,r){return t instanceof r||t!=null&&t.constructor!=null&&t.constructor.name!=null&&t.constructor.name===r.name}function tr(t){return t!==t}var Ie=function(){for(var t="0123456789abcdef",r=new Array(256),e=0;e<16;++e)for(var n=e*16,i=0;i<16;++i)r[n+i]=t[e]+t[i];return r}()});var Er=G((We,Cr)=>{u();var y=Cr.exports={},S,I;function nr(){throw new Error("setTimeout has not been defined")}function ir(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?S=setTimeout:S=nr}catch(t){S=nr}try{typeof clearTimeout=="function"?I=clearTimeout:I=ir}catch(t){I=ir}})();function Rr(t){if(S===setTimeout)return setTimeout(t,0);if((S===nr||!S)&&setTimeout)return S=setTimeout,setTimeout(t,0);try{return S(t,0)}catch(r){try{return S.call(null,t,0)}catch(e){return S.call(this,t,0)}}}function Be(t){if(I===clearTimeout)return clearTimeout(t);if((I===ir||!I)&&clearTimeout)return I=clearTimeout,clearTimeout(t);try{return I(t)}catch(r){try{return I.call(null,t)}catch(e){return I.call(this,t)}}}var R=[],N=!1,L,Y=-1;function Re(){!N||!L||(N=!1,L.length?R=L.concat(R):Y=-1,R.length&&Dr())}function Dr(){if(!N){var t=Rr(Re);N=!0;for(var r=R.length;r;){for(L=R,R=[];++Y<r;)L&&L[Y].run();Y=-1,r=R.length}L=null,N=!1,Be(t)}}y.nextTick=function(t){var r=new Array(arguments.length-1);if(arguments.length>1)for(var e=1;e<arguments.length;e++)r[e-1]=arguments[e];R.push(new Ar(t,r)),R.length===1&&!N&&Rr(Dr)};function Ar(t,r){this.fun=t,this.array=r}Ar.prototype.run=function(){this.fun.apply(null,this.array)};y.title="browser";y.browser=!0;y.env={};y.argv=[];y.version="";y.versions={};function D(){}y.on=D;y.addListener=D;y.once=D;y.off=D;y.removeListener=D;y.removeAllListeners=D;y.emit=D;y.prependListener=D;y.prependOnceListener=D;y.listeners=function(t){return[]};y.binding=function(t){throw new Error("process.binding is not supported")};y.cwd=function(){return"/"};y.chdir=function(t){throw new Error("process.chdir is not supported")};y.umask=function(){return 0}});var f,h,He,u=$r(()=>{f=X(Br()),h=X(Er()),He=function(t){function r(){var n=this||self;return delete t.prototype.__magic__,n}if(typeof globalThis=="object")return globalThis;if(this)return r();t.defineProperty(t.prototype,"__magic__",{configurable:!0,get:r});var e=__magic__;return e}(Object)});var Ue={};jr(Ue,{decodeForDisplay:()=>Le});module.exports=Jr(Ue);u();u();u();u();var Nr=require("@multiversx/sdk-core/out"),ar=X(require("bignumber.js"));u();var Lr=require("@multiversx/sdk-core");function De(t){try{let r=new Lr.Address(t);return Boolean(r.bech32())}catch(r){return!1}}function Ur(t){return(t==null?void 0:t.startsWith("erd"))&&t.length===62&&/^\w+$/.test(t)&&De(t)}u();u();u();u();function or(t){for(let r=0;r<t.length;r++)if(t.charCodeAt(r)>127)return!1;return!0}u();u();var _r=t=>/\d/.test(t);var A=(t,r,e)=>{try{switch(r){case"text":return _r(t)?f.Buffer.from(t,"hex").toString("utf8"):t;case"decimal":return new ar.default(t,16).toString(10);case"smart":let i=Nr.Address.fromHex(t).toString();if(Ur(i))return i;let o=f.Buffer.from(t,"hex").toString("utf8");return or(o)||e&&[...e.esdts,...e.nfts].some(c=>o.includes(c))?o:new ar.default(t,16).toString(10);case"raw":default:return t}}catch(n){return console.error(`Error during data decoding of "${t}" as "${r}"`,n),t}};u();u();u();u();u();u();u();var Ae=require("@multiversx/sdk-dapp-utils/out/constants/crossWindowProviderConstants"),M=require("@multiversx/sdk-dapp-utils/out/enums/crossWindowProviderEnums");var Mr=(e=>(e.signTransactionsWithGuardianResponse="SIGN_TRANSACTIONS_WITH_GUARDIAN_RESPONSE",e.reloginRequest="RELOGIN_REQUEST",e))(Mr||{}),ct=H(H({},M.CrossWindowProviderRequestEnums),Mr),Wr=(r=>(r.reloginResponse="RELOGIN_RESPONSE",r))(Wr||{}),lt=H(H({},M.CrossWindowProviderResponseEnums),Wr);u();u();u();u();u();u();var Ce=t=>t.toLowerCase().match(/[0-9a-f]/g),Ee=t=>t.length%2===0,Hr=t=>{let r=[];return t&&!Ce(t)&&r.push(`Invalid Hex characters on argument @${t}`),t&&!Ee(t)&&r.push(`Odd number of Hex characters on argument @${t}`),r};u();var z=({parts:t,decodedParts:r,identifier:e})=>{let n=[...r];if(t[0]==="ESDTNFTTransfer"&&t[2]&&(n[2]=A(t[2],"decimal")),e==="ESDTNFTTransfer"&&t[1]){let i=f.Buffer.from(String(t[1]),"base64");n[1]=A(i.toString("hex"),"decimal")}return n};var Gr=({parts:t,decodeMethod:r,identifier:e,display:n})=>{let i=t.map((o,a)=>{if(t.length>=2&&(a===0&&o.length<64||a===1&&!t[0]))return/[^a-z0-9]/gi.test(o)?A(o,r):o;{let p=Hr(o);return p.length&&(n.validationWarnings=Array.from(new Set([...n.validationWarnings,...p]))),A(o,r)}});return r==="smart"?z({parts:t,decodedParts:i,identifier:e}):i};var Le=({input:t,decodeMethod:r,identifier:e})=>{let n={displayValue:"",validationWarnings:[]};if(t.includes("@")){let i=t.split("@"),o=Gr({parts:i,identifier:e,decodeMethod:r,display:n});return n.displayValue=o.join("@"),n}if(t.includes(`
2
2
  `)){let i=t.split(`
3
3
  `),o=i.map(p=>{let c=f.Buffer.from(String(p),"base64");return r==="raw"?p:A(c.toString("hex"),r)}),a=r==="smart"?z({parts:i,decodedParts:o,identifier:e}):o;return n.displayValue=a.join(`
4
4
  `),n}return n.displayValue=A(t,r),n};0&&(module.exports={decodeForDisplay});
@@ -1,4 +1,4 @@
1
- "use strict";var Gr=Object.create;var W=Object.defineProperty;var qr=Object.getOwnPropertyDescriptor;var Vr=Object.getOwnPropertyNames,ar=Object.getOwnPropertySymbols,Or=Object.getPrototypeOf,ur=Object.prototype.hasOwnProperty,Yr=Object.prototype.propertyIsEnumerable;var sr=(t,r,e)=>r in t?W(t,r,{enumerable:!0,configurable:!0,writable:!0,value:e}):t[r]=e,H=(t,r)=>{for(var e in r||(r={}))ur.call(r,e)&&sr(t,e,r[e]);if(ar)for(var e of ar(r))Yr.call(r,e)&&sr(t,e,r[e]);return t};var zr=(t,r)=>()=>(t&&(r=t(t=0)),r);var G=(t,r)=>()=>(r||t((r={exports:{}}).exports,r),r.exports),Xr=(t,r)=>{for(var e in r)W(t,e,{get:r[e],enumerable:!0})},pr=(t,r,e,n)=>{if(r&&typeof r=="object"||typeof r=="function")for(let i of Vr(r))!ur.call(t,i)&&i!==e&&W(t,i,{get:()=>r[i],enumerable:!(n=qr(r,i))||n.enumerable});return t};var z=(t,r,e)=>(e=t!=null?Gr(Or(t)):{},pr(r||!t||!t.__esModule?W(e,"default",{value:t,enumerable:!0}):e,t)),$r=t=>pr(W({},"__esModule",{value:!0}),t);var fr=G(q=>{"use strict";p();q.byteLength=Kr;q.toByteArray=Qr;q.fromByteArray=ee;var F=[],v=[],Jr=typeof Uint8Array!="undefined"?Uint8Array:Array,X="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(C=0,cr=X.length;C<cr;++C)F[C]=X[C],v[X.charCodeAt(C)]=C;var C,cr;v["-".charCodeAt(0)]=62;v["_".charCodeAt(0)]=63;function lr(t){var r=t.length;if(r%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var e=t.indexOf("=");e===-1&&(e=r);var n=e===r?0:4-e%4;return[e,n]}function Kr(t){var r=lr(t),e=r[0],n=r[1];return(e+n)*3/4-n}function jr(t,r,e){return(r+e)*3/4-e}function Qr(t){var r,e=lr(t),n=e[0],i=e[1],o=new Jr(jr(t,n,i)),a=0,u=i>0?n-4:n,c;for(c=0;c<u;c+=4)r=v[t.charCodeAt(c)]<<18|v[t.charCodeAt(c+1)]<<12|v[t.charCodeAt(c+2)]<<6|v[t.charCodeAt(c+3)],o[a++]=r>>16&255,o[a++]=r>>8&255,o[a++]=r&255;return i===2&&(r=v[t.charCodeAt(c)]<<2|v[t.charCodeAt(c+1)]>>4,o[a++]=r&255),i===1&&(r=v[t.charCodeAt(c)]<<10|v[t.charCodeAt(c+1)]<<4|v[t.charCodeAt(c+2)]>>2,o[a++]=r>>8&255,o[a++]=r&255),o}function Zr(t){return F[t>>18&63]+F[t>>12&63]+F[t>>6&63]+F[t&63]}function re(t,r,e){for(var n,i=[],o=r;o<e;o+=3)n=(t[o]<<16&16711680)+(t[o+1]<<8&65280)+(t[o+2]&255),i.push(Zr(n));return i.join("")}function ee(t){for(var r,e=t.length,n=e%3,i=[],o=16383,a=0,u=e-n;a<u;a+=o)i.push(re(t,a,a+o>u?u:a+o));return n===1?(r=t[e-1],i.push(F[r>>2]+F[r<<4&63]+"==")):n===2&&(r=(t[e-2]<<8)+t[e-1],i.push(F[r>>10]+F[r>>4&63]+F[r<<2&63]+"=")),i.join("")}});var gr=G($=>{p();$.read=function(t,r,e,n,i){var o,a,u=i*8-n-1,c=(1<<u)-1,f=c>>1,g=-7,l=e?i-1:0,b=e?-1:1,T=t[r+l];for(l+=b,o=T&(1<<-g)-1,T>>=-g,g+=u;g>0;o=o*256+t[r+l],l+=b,g-=8);for(a=o&(1<<-g)-1,o>>=-g,g+=n;g>0;a=a*256+t[r+l],l+=b,g-=8);if(o===0)o=1-f;else{if(o===c)return a?NaN:(T?-1:1)*(1/0);a=a+Math.pow(2,n),o=o-f}return(T?-1:1)*a*Math.pow(2,o-n)};$.write=function(t,r,e,n,i,o){var a,u,c,f=o*8-i-1,g=(1<<f)-1,l=g>>1,b=i===23?Math.pow(2,-24)-Math.pow(2,-77):0,T=n?0:o-1,L=n?1:-1,Hr=r<0||r===0&&1/r<0?1:0;for(r=Math.abs(r),isNaN(r)||r===1/0?(u=isNaN(r)?1:0,a=g):(a=Math.floor(Math.log(r)/Math.LN2),r*(c=Math.pow(2,-a))<1&&(a--,c*=2),a+l>=1?r+=b/c:r+=b*Math.pow(2,1-l),r*c>=2&&(a++,c/=2),a+l>=g?(u=0,a=g):a+l>=1?(u=(r*c-1)*Math.pow(2,i),a=a+l):(u=r*Math.pow(2,l-1)*Math.pow(2,i),a=0));i>=8;t[e+T]=u&255,T+=L,u/=256,i-=8);for(a=a<<i|u,f+=i;f>0;t[e+T]=a&255,T+=L,a/=256,f-=8);t[e+T-L]|=Hr*128}});var Sr=G(U=>{"use strict";p();var J=fr(),_=gr(),dr=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;U.Buffer=s;U.SlowBuffer=se;U.INSPECT_MAX_BYTES=50;var V=2147483647;U.kMaxLength=V;s.TYPED_ARRAY_SUPPORT=te();!s.TYPED_ARRAY_SUPPORT&&typeof console!="undefined"&&typeof console.error=="function"&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function te(){try{var t=new Uint8Array(1),r={foo:function(){return 42}};return Object.setPrototypeOf(r,Uint8Array.prototype),Object.setPrototypeOf(t,r),t.foo()===42}catch(e){return!1}}Object.defineProperty(s.prototype,"parent",{enumerable:!0,get:function(){if(!!s.isBuffer(this))return this.buffer}});Object.defineProperty(s.prototype,"offset",{enumerable:!0,get:function(){if(!!s.isBuffer(this))return this.byteOffset}});function B(t){if(t>V)throw new RangeError('The value "'+t+'" is invalid for option "size"');var r=new Uint8Array(t);return Object.setPrototypeOf(r,s.prototype),r}function s(t,r,e){if(typeof t=="number"){if(typeof r=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return Z(t)}return yr(t,r,e)}s.poolSize=8192;function yr(t,r,e){if(typeof t=="string")return ie(t,r);if(ArrayBuffer.isView(t))return oe(t);if(t==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t);if(k(t,ArrayBuffer)||t&&k(t.buffer,ArrayBuffer)||typeof SharedArrayBuffer!="undefined"&&(k(t,SharedArrayBuffer)||t&&k(t.buffer,SharedArrayBuffer)))return j(t,r,e);if(typeof t=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var n=t.valueOf&&t.valueOf();if(n!=null&&n!==t)return s.from(n,r,e);var i=ae(t);if(i)return i;if(typeof Symbol!="undefined"&&Symbol.toPrimitive!=null&&typeof t[Symbol.toPrimitive]=="function")return s.from(t[Symbol.toPrimitive]("string"),r,e);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t)}s.from=function(t,r,e){return yr(t,r,e)};Object.setPrototypeOf(s.prototype,Uint8Array.prototype);Object.setPrototypeOf(s,Uint8Array);function xr(t){if(typeof t!="number")throw new TypeError('"size" argument must be of type number');if(t<0)throw new RangeError('The value "'+t+'" is invalid for option "size"')}function ne(t,r,e){return xr(t),t<=0?B(t):r!==void 0?typeof e=="string"?B(t).fill(r,e):B(t).fill(r):B(t)}s.alloc=function(t,r,e){return ne(t,r,e)};function Z(t){return xr(t),B(t<0?0:rr(t)|0)}s.allocUnsafe=function(t){return Z(t)};s.allocUnsafeSlow=function(t){return Z(t)};function ie(t,r){if((typeof r!="string"||r==="")&&(r="utf8"),!s.isEncoding(r))throw new TypeError("Unknown encoding: "+r);var e=wr(t,r)|0,n=B(e),i=n.write(t,r);return i!==e&&(n=n.slice(0,i)),n}function K(t){for(var r=t.length<0?0:rr(t.length)|0,e=B(r),n=0;n<r;n+=1)e[n]=t[n]&255;return e}function oe(t){if(k(t,Uint8Array)){var r=new Uint8Array(t);return j(r.buffer,r.byteOffset,r.byteLength)}return K(t)}function j(t,r,e){if(r<0||t.byteLength<r)throw new RangeError('"offset" is outside of buffer bounds');if(t.byteLength<r+(e||0))throw new RangeError('"length" is outside of buffer bounds');var n;return r===void 0&&e===void 0?n=new Uint8Array(t):e===void 0?n=new Uint8Array(t,r):n=new Uint8Array(t,r,e),Object.setPrototypeOf(n,s.prototype),n}function ae(t){if(s.isBuffer(t)){var r=rr(t.length)|0,e=B(r);return e.length===0||t.copy(e,0,0,r),e}if(t.length!==void 0)return typeof t.length!="number"||er(t.length)?B(0):K(t);if(t.type==="Buffer"&&Array.isArray(t.data))return K(t.data)}function rr(t){if(t>=V)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+V.toString(16)+" bytes");return t|0}function se(t){return+t!=t&&(t=0),s.alloc(+t)}s.isBuffer=function(r){return r!=null&&r._isBuffer===!0&&r!==s.prototype};s.compare=function(r,e){if(k(r,Uint8Array)&&(r=s.from(r,r.offset,r.byteLength)),k(e,Uint8Array)&&(e=s.from(e,e.offset,e.byteLength)),!s.isBuffer(r)||!s.isBuffer(e))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(r===e)return 0;for(var n=r.length,i=e.length,o=0,a=Math.min(n,i);o<a;++o)if(r[o]!==e[o]){n=r[o],i=e[o];break}return n<i?-1:i<n?1:0};s.isEncoding=function(r){switch(String(r).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}};s.concat=function(r,e){if(!Array.isArray(r))throw new TypeError('"list" argument must be an Array of Buffers');if(r.length===0)return s.alloc(0);var n;if(e===void 0)for(e=0,n=0;n<r.length;++n)e+=r[n].length;var i=s.allocUnsafe(e),o=0;for(n=0;n<r.length;++n){var a=r[n];if(k(a,Uint8Array))o+a.length>i.length?s.from(a).copy(i,o):Uint8Array.prototype.set.call(i,a,o);else if(s.isBuffer(a))a.copy(i,o);else throw new TypeError('"list" argument must be an Array of Buffers');o+=a.length}return i};function wr(t,r){if(s.isBuffer(t))return t.length;if(ArrayBuffer.isView(t)||k(t,ArrayBuffer))return t.byteLength;if(typeof t!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof t);var e=t.length,n=arguments.length>2&&arguments[2]===!0;if(!n&&e===0)return 0;for(var i=!1;;)switch(r){case"ascii":case"latin1":case"binary":return e;case"utf8":case"utf-8":return Q(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return e*2;case"hex":return e>>>1;case"base64":return Ir(t).length;default:if(i)return n?-1:Q(t).length;r=(""+r).toLowerCase(),i=!0}}s.byteLength=wr;function ue(t,r,e){var n=!1;if((r===void 0||r<0)&&(r=0),r>this.length||((e===void 0||e>this.length)&&(e=this.length),e<=0)||(e>>>=0,r>>>=0,e<=r))return"";for(t||(t="utf8");;)switch(t){case"hex":return xe(this,r,e);case"utf8":case"utf-8":return vr(this,r,e);case"ascii":return me(this,r,e);case"latin1":case"binary":return ye(this,r,e);case"base64":return de(this,r,e);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return we(this,r,e);default:if(n)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),n=!0}}s.prototype._isBuffer=!0;function D(t,r,e){var n=t[r];t[r]=t[e],t[e]=n}s.prototype.swap16=function(){var r=this.length;if(r%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var e=0;e<r;e+=2)D(this,e,e+1);return this};s.prototype.swap32=function(){var r=this.length;if(r%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var e=0;e<r;e+=4)D(this,e,e+3),D(this,e+1,e+2);return this};s.prototype.swap64=function(){var r=this.length;if(r%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var e=0;e<r;e+=8)D(this,e,e+7),D(this,e+1,e+6),D(this,e+2,e+5),D(this,e+3,e+4);return this};s.prototype.toString=function(){var r=this.length;return r===0?"":arguments.length===0?vr(this,0,r):ue.apply(this,arguments)};s.prototype.toLocaleString=s.prototype.toString;s.prototype.equals=function(r){if(!s.isBuffer(r))throw new TypeError("Argument must be a Buffer");return this===r?!0:s.compare(this,r)===0};s.prototype.inspect=function(){var r="",e=U.INSPECT_MAX_BYTES;return r=this.toString("hex",0,e).replace(/(.{2})/g,"$1 ").trim(),this.length>e&&(r+=" ... "),"<Buffer "+r+">"};dr&&(s.prototype[dr]=s.prototype.inspect);s.prototype.compare=function(r,e,n,i,o){if(k(r,Uint8Array)&&(r=s.from(r,r.offset,r.byteLength)),!s.isBuffer(r))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof r);if(e===void 0&&(e=0),n===void 0&&(n=r?r.length:0),i===void 0&&(i=0),o===void 0&&(o=this.length),e<0||n>r.length||i<0||o>this.length)throw new RangeError("out of range index");if(i>=o&&e>=n)return 0;if(i>=o)return-1;if(e>=n)return 1;if(e>>>=0,n>>>=0,i>>>=0,o>>>=0,this===r)return 0;for(var a=o-i,u=n-e,c=Math.min(a,u),f=this.slice(i,o),g=r.slice(e,n),l=0;l<c;++l)if(f[l]!==g[l]){a=f[l],u=g[l];break}return a<u?-1:u<a?1:0};function Tr(t,r,e,n,i){if(t.length===0)return-1;if(typeof e=="string"?(n=e,e=0):e>2147483647?e=2147483647:e<-2147483648&&(e=-2147483648),e=+e,er(e)&&(e=i?0:t.length-1),e<0&&(e=t.length+e),e>=t.length){if(i)return-1;e=t.length-1}else if(e<0)if(i)e=0;else return-1;if(typeof r=="string"&&(r=s.from(r,n)),s.isBuffer(r))return r.length===0?-1:hr(t,r,e,n,i);if(typeof r=="number")return r=r&255,typeof Uint8Array.prototype.indexOf=="function"?i?Uint8Array.prototype.indexOf.call(t,r,e):Uint8Array.prototype.lastIndexOf.call(t,r,e):hr(t,[r],e,n,i);throw new TypeError("val must be string, number or Buffer")}function hr(t,r,e,n,i){var o=1,a=t.length,u=r.length;if(n!==void 0&&(n=String(n).toLowerCase(),n==="ucs2"||n==="ucs-2"||n==="utf16le"||n==="utf-16le")){if(t.length<2||r.length<2)return-1;o=2,a/=2,u/=2,e/=2}function c(T,L){return o===1?T[L]:T.readUInt16BE(L*o)}var f;if(i){var g=-1;for(f=e;f<a;f++)if(c(t,f)===c(r,g===-1?0:f-g)){if(g===-1&&(g=f),f-g+1===u)return g*o}else g!==-1&&(f-=f-g),g=-1}else for(e+u>a&&(e=a-u),f=e;f>=0;f--){for(var l=!0,b=0;b<u;b++)if(c(t,f+b)!==c(r,b)){l=!1;break}if(l)return f}return-1}s.prototype.includes=function(r,e,n){return this.indexOf(r,e,n)!==-1};s.prototype.indexOf=function(r,e,n){return Tr(this,r,e,n,!0)};s.prototype.lastIndexOf=function(r,e,n){return Tr(this,r,e,n,!1)};function pe(t,r,e,n){e=Number(e)||0;var i=t.length-e;n?(n=Number(n),n>i&&(n=i)):n=i;var o=r.length;n>o/2&&(n=o/2);for(var a=0;a<n;++a){var u=parseInt(r.substr(a*2,2),16);if(er(u))return a;t[e+a]=u}return a}function ce(t,r,e,n){return O(Q(r,t.length-e),t,e,n)}function le(t,r,e,n){return O(be(r),t,e,n)}function fe(t,r,e,n){return O(Ir(r),t,e,n)}function ge(t,r,e,n){return O(Fe(r,t.length-e),t,e,n)}s.prototype.write=function(r,e,n,i){if(e===void 0)i="utf8",n=this.length,e=0;else if(n===void 0&&typeof e=="string")i=e,n=this.length,e=0;else if(isFinite(e))e=e>>>0,isFinite(n)?(n=n>>>0,i===void 0&&(i="utf8")):(i=n,n=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var o=this.length-e;if((n===void 0||n>o)&&(n=o),r.length>0&&(n<0||e<0)||e>this.length)throw new RangeError("Attempt to write outside buffer bounds");i||(i="utf8");for(var a=!1;;)switch(i){case"hex":return pe(this,r,e,n);case"utf8":case"utf-8":return ce(this,r,e,n);case"ascii":case"latin1":case"binary":return le(this,r,e,n);case"base64":return fe(this,r,e,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return ge(this,r,e,n);default:if(a)throw new TypeError("Unknown encoding: "+i);i=(""+i).toLowerCase(),a=!0}};s.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function de(t,r,e){return r===0&&e===t.length?J.fromByteArray(t):J.fromByteArray(t.slice(r,e))}function vr(t,r,e){e=Math.min(t.length,e);for(var n=[],i=r;i<e;){var o=t[i],a=null,u=o>239?4:o>223?3:o>191?2:1;if(i+u<=e){var c,f,g,l;switch(u){case 1:o<128&&(a=o);break;case 2:c=t[i+1],(c&192)===128&&(l=(o&31)<<6|c&63,l>127&&(a=l));break;case 3:c=t[i+1],f=t[i+2],(c&192)===128&&(f&192)===128&&(l=(o&15)<<12|(c&63)<<6|f&63,l>2047&&(l<55296||l>57343)&&(a=l));break;case 4:c=t[i+1],f=t[i+2],g=t[i+3],(c&192)===128&&(f&192)===128&&(g&192)===128&&(l=(o&15)<<18|(c&63)<<12|(f&63)<<6|g&63,l>65535&&l<1114112&&(a=l))}}a===null?(a=65533,u=1):a>65535&&(a-=65536,n.push(a>>>10&1023|55296),a=56320|a&1023),n.push(a),i+=u}return he(n)}var mr=4096;function he(t){var r=t.length;if(r<=mr)return String.fromCharCode.apply(String,t);for(var e="",n=0;n<r;)e+=String.fromCharCode.apply(String,t.slice(n,n+=mr));return e}function me(t,r,e){var n="";e=Math.min(t.length,e);for(var i=r;i<e;++i)n+=String.fromCharCode(t[i]&127);return n}function ye(t,r,e){var n="";e=Math.min(t.length,e);for(var i=r;i<e;++i)n+=String.fromCharCode(t[i]);return n}function xe(t,r,e){var n=t.length;(!r||r<0)&&(r=0),(!e||e<0||e>n)&&(e=n);for(var i="",o=r;o<e;++o)i+=ke[t[o]];return i}function we(t,r,e){for(var n=t.slice(r,e),i="",o=0;o<n.length-1;o+=2)i+=String.fromCharCode(n[o]+n[o+1]*256);return i}s.prototype.slice=function(r,e){var n=this.length;r=~~r,e=e===void 0?n:~~e,r<0?(r+=n,r<0&&(r=0)):r>n&&(r=n),e<0?(e+=n,e<0&&(e=0)):e>n&&(e=n),e<r&&(e=r);var i=this.subarray(r,e);return Object.setPrototypeOf(i,s.prototype),i};function x(t,r,e){if(t%1!==0||t<0)throw new RangeError("offset is not uint");if(t+r>e)throw new RangeError("Trying to access beyond buffer length")}s.prototype.readUintLE=s.prototype.readUIntLE=function(r,e,n){r=r>>>0,e=e>>>0,n||x(r,e,this.length);for(var i=this[r],o=1,a=0;++a<e&&(o*=256);)i+=this[r+a]*o;return i};s.prototype.readUintBE=s.prototype.readUIntBE=function(r,e,n){r=r>>>0,e=e>>>0,n||x(r,e,this.length);for(var i=this[r+--e],o=1;e>0&&(o*=256);)i+=this[r+--e]*o;return i};s.prototype.readUint8=s.prototype.readUInt8=function(r,e){return r=r>>>0,e||x(r,1,this.length),this[r]};s.prototype.readUint16LE=s.prototype.readUInt16LE=function(r,e){return r=r>>>0,e||x(r,2,this.length),this[r]|this[r+1]<<8};s.prototype.readUint16BE=s.prototype.readUInt16BE=function(r,e){return r=r>>>0,e||x(r,2,this.length),this[r]<<8|this[r+1]};s.prototype.readUint32LE=s.prototype.readUInt32LE=function(r,e){return r=r>>>0,e||x(r,4,this.length),(this[r]|this[r+1]<<8|this[r+2]<<16)+this[r+3]*16777216};s.prototype.readUint32BE=s.prototype.readUInt32BE=function(r,e){return r=r>>>0,e||x(r,4,this.length),this[r]*16777216+(this[r+1]<<16|this[r+2]<<8|this[r+3])};s.prototype.readIntLE=function(r,e,n){r=r>>>0,e=e>>>0,n||x(r,e,this.length);for(var i=this[r],o=1,a=0;++a<e&&(o*=256);)i+=this[r+a]*o;return o*=128,i>=o&&(i-=Math.pow(2,8*e)),i};s.prototype.readIntBE=function(r,e,n){r=r>>>0,e=e>>>0,n||x(r,e,this.length);for(var i=e,o=1,a=this[r+--i];i>0&&(o*=256);)a+=this[r+--i]*o;return o*=128,a>=o&&(a-=Math.pow(2,8*e)),a};s.prototype.readInt8=function(r,e){return r=r>>>0,e||x(r,1,this.length),this[r]&128?(255-this[r]+1)*-1:this[r]};s.prototype.readInt16LE=function(r,e){r=r>>>0,e||x(r,2,this.length);var n=this[r]|this[r+1]<<8;return n&32768?n|4294901760:n};s.prototype.readInt16BE=function(r,e){r=r>>>0,e||x(r,2,this.length);var n=this[r+1]|this[r]<<8;return n&32768?n|4294901760:n};s.prototype.readInt32LE=function(r,e){return r=r>>>0,e||x(r,4,this.length),this[r]|this[r+1]<<8|this[r+2]<<16|this[r+3]<<24};s.prototype.readInt32BE=function(r,e){return r=r>>>0,e||x(r,4,this.length),this[r]<<24|this[r+1]<<16|this[r+2]<<8|this[r+3]};s.prototype.readFloatLE=function(r,e){return r=r>>>0,e||x(r,4,this.length),_.read(this,r,!0,23,4)};s.prototype.readFloatBE=function(r,e){return r=r>>>0,e||x(r,4,this.length),_.read(this,r,!1,23,4)};s.prototype.readDoubleLE=function(r,e){return r=r>>>0,e||x(r,8,this.length),_.read(this,r,!0,52,8)};s.prototype.readDoubleBE=function(r,e){return r=r>>>0,e||x(r,8,this.length),_.read(this,r,!1,52,8)};function w(t,r,e,n,i,o){if(!s.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(r>i||r<o)throw new RangeError('"value" argument is out of bounds');if(e+n>t.length)throw new RangeError("Index out of range")}s.prototype.writeUintLE=s.prototype.writeUIntLE=function(r,e,n,i){if(r=+r,e=e>>>0,n=n>>>0,!i){var o=Math.pow(2,8*n)-1;w(this,r,e,n,o,0)}var a=1,u=0;for(this[e]=r&255;++u<n&&(a*=256);)this[e+u]=r/a&255;return e+n};s.prototype.writeUintBE=s.prototype.writeUIntBE=function(r,e,n,i){if(r=+r,e=e>>>0,n=n>>>0,!i){var o=Math.pow(2,8*n)-1;w(this,r,e,n,o,0)}var a=n-1,u=1;for(this[e+a]=r&255;--a>=0&&(u*=256);)this[e+a]=r/u&255;return e+n};s.prototype.writeUint8=s.prototype.writeUInt8=function(r,e,n){return r=+r,e=e>>>0,n||w(this,r,e,1,255,0),this[e]=r&255,e+1};s.prototype.writeUint16LE=s.prototype.writeUInt16LE=function(r,e,n){return r=+r,e=e>>>0,n||w(this,r,e,2,65535,0),this[e]=r&255,this[e+1]=r>>>8,e+2};s.prototype.writeUint16BE=s.prototype.writeUInt16BE=function(r,e,n){return r=+r,e=e>>>0,n||w(this,r,e,2,65535,0),this[e]=r>>>8,this[e+1]=r&255,e+2};s.prototype.writeUint32LE=s.prototype.writeUInt32LE=function(r,e,n){return r=+r,e=e>>>0,n||w(this,r,e,4,4294967295,0),this[e+3]=r>>>24,this[e+2]=r>>>16,this[e+1]=r>>>8,this[e]=r&255,e+4};s.prototype.writeUint32BE=s.prototype.writeUInt32BE=function(r,e,n){return r=+r,e=e>>>0,n||w(this,r,e,4,4294967295,0),this[e]=r>>>24,this[e+1]=r>>>16,this[e+2]=r>>>8,this[e+3]=r&255,e+4};s.prototype.writeIntLE=function(r,e,n,i){if(r=+r,e=e>>>0,!i){var o=Math.pow(2,8*n-1);w(this,r,e,n,o-1,-o)}var a=0,u=1,c=0;for(this[e]=r&255;++a<n&&(u*=256);)r<0&&c===0&&this[e+a-1]!==0&&(c=1),this[e+a]=(r/u>>0)-c&255;return e+n};s.prototype.writeIntBE=function(r,e,n,i){if(r=+r,e=e>>>0,!i){var o=Math.pow(2,8*n-1);w(this,r,e,n,o-1,-o)}var a=n-1,u=1,c=0;for(this[e+a]=r&255;--a>=0&&(u*=256);)r<0&&c===0&&this[e+a+1]!==0&&(c=1),this[e+a]=(r/u>>0)-c&255;return e+n};s.prototype.writeInt8=function(r,e,n){return r=+r,e=e>>>0,n||w(this,r,e,1,127,-128),r<0&&(r=255+r+1),this[e]=r&255,e+1};s.prototype.writeInt16LE=function(r,e,n){return r=+r,e=e>>>0,n||w(this,r,e,2,32767,-32768),this[e]=r&255,this[e+1]=r>>>8,e+2};s.prototype.writeInt16BE=function(r,e,n){return r=+r,e=e>>>0,n||w(this,r,e,2,32767,-32768),this[e]=r>>>8,this[e+1]=r&255,e+2};s.prototype.writeInt32LE=function(r,e,n){return r=+r,e=e>>>0,n||w(this,r,e,4,2147483647,-2147483648),this[e]=r&255,this[e+1]=r>>>8,this[e+2]=r>>>16,this[e+3]=r>>>24,e+4};s.prototype.writeInt32BE=function(r,e,n){return r=+r,e=e>>>0,n||w(this,r,e,4,2147483647,-2147483648),r<0&&(r=4294967295+r+1),this[e]=r>>>24,this[e+1]=r>>>16,this[e+2]=r>>>8,this[e+3]=r&255,e+4};function br(t,r,e,n,i,o){if(e+n>t.length)throw new RangeError("Index out of range");if(e<0)throw new RangeError("Index out of range")}function Fr(t,r,e,n,i){return r=+r,e=e>>>0,i||br(t,r,e,4,34028234663852886e22,-34028234663852886e22),_.write(t,r,e,n,23,4),e+4}s.prototype.writeFloatLE=function(r,e,n){return Fr(this,r,e,!0,n)};s.prototype.writeFloatBE=function(r,e,n){return Fr(this,r,e,!1,n)};function kr(t,r,e,n,i){return r=+r,e=e>>>0,i||br(t,r,e,8,17976931348623157e292,-17976931348623157e292),_.write(t,r,e,n,52,8),e+8}s.prototype.writeDoubleLE=function(r,e,n){return kr(this,r,e,!0,n)};s.prototype.writeDoubleBE=function(r,e,n){return kr(this,r,e,!1,n)};s.prototype.copy=function(r,e,n,i){if(!s.isBuffer(r))throw new TypeError("argument should be a Buffer");if(n||(n=0),!i&&i!==0&&(i=this.length),e>=r.length&&(e=r.length),e||(e=0),i>0&&i<n&&(i=n),i===n||r.length===0||this.length===0)return 0;if(e<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw new RangeError("Index out of range");if(i<0)throw new RangeError("sourceEnd out of bounds");i>this.length&&(i=this.length),r.length-e<i-n&&(i=r.length-e+n);var o=i-n;return this===r&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(e,n,i):Uint8Array.prototype.set.call(r,this.subarray(n,i),e),o};s.prototype.fill=function(r,e,n,i){if(typeof r=="string"){if(typeof e=="string"?(i=e,e=0,n=this.length):typeof n=="string"&&(i=n,n=this.length),i!==void 0&&typeof i!="string")throw new TypeError("encoding must be a string");if(typeof i=="string"&&!s.isEncoding(i))throw new TypeError("Unknown encoding: "+i);if(r.length===1){var o=r.charCodeAt(0);(i==="utf8"&&o<128||i==="latin1")&&(r=o)}}else typeof r=="number"?r=r&255:typeof r=="boolean"&&(r=Number(r));if(e<0||this.length<e||this.length<n)throw new RangeError("Out of range index");if(n<=e)return this;e=e>>>0,n=n===void 0?this.length:n>>>0,r||(r=0);var a;if(typeof r=="number")for(a=e;a<n;++a)this[a]=r;else{var u=s.isBuffer(r)?r:s.from(r,i),c=u.length;if(c===0)throw new TypeError('The value "'+r+'" is invalid for argument "value"');for(a=0;a<n-e;++a)this[a+e]=u[a%c]}return this};var Te=/[^+/0-9A-Za-z-_]/g;function ve(t){if(t=t.split("=")[0],t=t.trim().replace(Te,""),t.length<2)return"";for(;t.length%4!==0;)t=t+"=";return t}function Q(t,r){r=r||1/0;for(var e,n=t.length,i=null,o=[],a=0;a<n;++a){if(e=t.charCodeAt(a),e>55295&&e<57344){if(!i){if(e>56319){(r-=3)>-1&&o.push(239,191,189);continue}else if(a+1===n){(r-=3)>-1&&o.push(239,191,189);continue}i=e;continue}if(e<56320){(r-=3)>-1&&o.push(239,191,189),i=e;continue}e=(i-55296<<10|e-56320)+65536}else i&&(r-=3)>-1&&o.push(239,191,189);if(i=null,e<128){if((r-=1)<0)break;o.push(e)}else if(e<2048){if((r-=2)<0)break;o.push(e>>6|192,e&63|128)}else if(e<65536){if((r-=3)<0)break;o.push(e>>12|224,e>>6&63|128,e&63|128)}else if(e<1114112){if((r-=4)<0)break;o.push(e>>18|240,e>>12&63|128,e>>6&63|128,e&63|128)}else throw new Error("Invalid code point")}return o}function be(t){for(var r=[],e=0;e<t.length;++e)r.push(t.charCodeAt(e)&255);return r}function Fe(t,r){for(var e,n,i,o=[],a=0;a<t.length&&!((r-=2)<0);++a)e=t.charCodeAt(a),n=e>>8,i=e%256,o.push(i),o.push(n);return o}function Ir(t){return J.toByteArray(ve(t))}function O(t,r,e,n){for(var i=0;i<n&&!(i+e>=r.length||i>=t.length);++i)r[i+e]=t[i];return i}function k(t,r){return t instanceof r||t!=null&&t.constructor!=null&&t.constructor.name!=null&&t.constructor.name===r.name}function er(t){return t!==t}var ke=function(){for(var t="0123456789abcdef",r=new Array(256),e=0;e<16;++e)for(var n=e*16,i=0;i<16;++i)r[n+i]=t[e]+t[i];return r}()});var Dr=G((Me,Cr)=>{p();var y=Cr.exports={},I,S;function tr(){throw new Error("setTimeout has not been defined")}function nr(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?I=setTimeout:I=tr}catch(t){I=tr}try{typeof clearTimeout=="function"?S=clearTimeout:S=nr}catch(t){S=nr}})();function Br(t){if(I===setTimeout)return setTimeout(t,0);if((I===tr||!I)&&setTimeout)return I=setTimeout,setTimeout(t,0);try{return I(t,0)}catch(r){try{return I.call(null,t,0)}catch(e){return I.call(this,t,0)}}}function Ie(t){if(S===clearTimeout)return clearTimeout(t);if((S===nr||!S)&&clearTimeout)return S=clearTimeout,clearTimeout(t);try{return S(t)}catch(r){try{return S.call(null,t)}catch(e){return S.call(this,t)}}}var R=[],P=!1,E,Y=-1;function Se(){!P||!E||(P=!1,E.length?R=E.concat(R):Y=-1,R.length&&Rr())}function Rr(){if(!P){var t=Br(Se);P=!0;for(var r=R.length;r;){for(E=R,R=[];++Y<r;)E&&E[Y].run();Y=-1,r=R.length}E=null,P=!1,Ie(t)}}y.nextTick=function(t){var r=new Array(arguments.length-1);if(arguments.length>1)for(var e=1;e<arguments.length;e++)r[e-1]=arguments[e];R.push(new Ar(t,r)),R.length===1&&!P&&Br(Rr)};function Ar(t,r){this.fun=t,this.array=r}Ar.prototype.run=function(){this.fun.apply(null,this.array)};y.title="browser";y.browser=!0;y.env={};y.argv=[];y.version="";y.versions={};function A(){}y.on=A;y.addListener=A;y.once=A;y.off=A;y.removeListener=A;y.removeAllListeners=A;y.emit=A;y.prependListener=A;y.prependOnceListener=A;y.listeners=function(t){return[]};y.binding=function(t){throw new Error("process.binding is not supported")};y.cwd=function(){return"/"};y.chdir=function(t){throw new Error("process.chdir is not supported")};y.umask=function(){return 0}});var d,h,We,p=zr(()=>{d=z(Sr()),h=z(Dr()),We=function(t){function r(){var n=this||self;return delete t.prototype.__magic__,n}if(typeof globalThis=="object")return globalThis;if(this)return r();t.defineProperty(t.prototype,"__magic__",{configurable:!0,get:r});var e=__magic__;return e}(Object)});var Le={};Xr(Le,{getDisplayValueAndValidationWarnings:()=>Ee});module.exports=$r(Le);p();p();p();p();p();p();p();var Be=require("@multiversx/sdk-dapp-utils/out/constants/crossWindowProviderConstants"),N=require("@multiversx/sdk-dapp-utils/out/enums/crossWindowProviderEnums");var Er=(e=>(e.signTransactionsWithGuardianResponse="SIGN_TRANSACTIONS_WITH_GUARDIAN_RESPONSE",e.reloginRequest="RELOGIN_REQUEST",e))(Er||{}),Oe=H(H({},N.CrossWindowProviderRequestEnums),Er),Lr=(r=>(r.reloginResponse="RELOGIN_RESPONSE",r))(Lr||{}),Ye=H(H({},N.CrossWindowProviderResponseEnums),Lr);p();p();p();p();p();p();p();var Nr=require("@multiversx/sdk-core/out"),or=z(require("bignumber.js"));p();var _r=require("@multiversx/sdk-core");function Re(t){try{let r=new _r.Address(t);return Boolean(r.bech32())}catch(r){return!1}}function Ur(t){return(t==null?void 0:t.startsWith("erd"))&&t.length===62&&/^\w+$/.test(t)&&Re(t)}p();p();p();p();function ir(t){for(let r=0;r<t.length;r++)if(t.charCodeAt(r)>127)return!1;return!0}p();p();var Pr=t=>/\d/.test(t);var M=(t,r,e)=>{try{switch(r){case"text":return Pr(t)?d.Buffer.from(t,"hex").toString("utf8"):t;case"decimal":return new or.default(t,16).toString(10);case"smart":let i=Nr.Address.fromHex(t).toString();if(Ur(i))return i;let o=d.Buffer.from(t,"hex").toString("utf8");return ir(o)||e&&[...e.esdts,...e.nfts].some(c=>o.includes(c))?o:new or.default(t,16).toString(10);case"raw":default:return t}}catch(n){return console.error(`Error during data decoding of "${t}" as "${r}"`,n),t}};p();var Ce=t=>t.toLowerCase().match(/[0-9a-f]/g),De=t=>t.length%2===0,Mr=t=>{let r=[];return t&&!Ce(t)&&r.push(`Invalid Hex characters on argument @${t}`),t&&!De(t)&&r.push(`Odd number of Hex characters on argument @${t}`),r};p();var Wr=({parts:t,decodedParts:r,identifier:e})=>{let n=[...r];if(t[0]==="ESDTNFTTransfer"&&t[2]&&(n[2]=M(t[2],"decimal")),e==="ESDTNFTTransfer"&&t[1]){let i=d.Buffer.from(String(t[1]),"base64");n[1]=M(i.toString("hex"),"decimal")}return n};var Ee=({parts:t,decodeMethod:r,identifier:e,display:n})=>{let i=t.map((o,a)=>{if(t.length>=2&&(a===0&&o.length<64||a===1&&!t[0]))return/[^a-z0-9]/gi.test(o)?M(o,r):o;{let u=Mr(o);return u.length&&(n.validationWarnings=Array.from(new Set([...n.validationWarnings,...u]))),M(o,r)}});return r==="smart"?Wr({parts:t,decodedParts:i,identifier:e}):i};0&&(module.exports={getDisplayValueAndValidationWarnings});
1
+ "use strict";var Gr=Object.create;var W=Object.defineProperty;var qr=Object.getOwnPropertyDescriptor;var Vr=Object.getOwnPropertyNames,ar=Object.getOwnPropertySymbols,Or=Object.getPrototypeOf,ur=Object.prototype.hasOwnProperty,Yr=Object.prototype.propertyIsEnumerable;var sr=(t,r,e)=>r in t?W(t,r,{enumerable:!0,configurable:!0,writable:!0,value:e}):t[r]=e,H=(t,r)=>{for(var e in r||(r={}))ur.call(r,e)&&sr(t,e,r[e]);if(ar)for(var e of ar(r))Yr.call(r,e)&&sr(t,e,r[e]);return t};var zr=(t,r)=>()=>(t&&(r=t(t=0)),r);var G=(t,r)=>()=>(r||t((r={exports:{}}).exports,r),r.exports),Xr=(t,r)=>{for(var e in r)W(t,e,{get:r[e],enumerable:!0})},pr=(t,r,e,n)=>{if(r&&typeof r=="object"||typeof r=="function")for(let i of Vr(r))!ur.call(t,i)&&i!==e&&W(t,i,{get:()=>r[i],enumerable:!(n=qr(r,i))||n.enumerable});return t};var z=(t,r,e)=>(e=t!=null?Gr(Or(t)):{},pr(r||!t||!t.__esModule?W(e,"default",{value:t,enumerable:!0}):e,t)),$r=t=>pr(W({},"__esModule",{value:!0}),t);var fr=G(q=>{"use strict";p();q.byteLength=Kr;q.toByteArray=Qr;q.fromByteArray=ee;var F=[],v=[],Jr=typeof Uint8Array!="undefined"?Uint8Array:Array,X="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(C=0,cr=X.length;C<cr;++C)F[C]=X[C],v[X.charCodeAt(C)]=C;var C,cr;v["-".charCodeAt(0)]=62;v["_".charCodeAt(0)]=63;function lr(t){var r=t.length;if(r%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var e=t.indexOf("=");e===-1&&(e=r);var n=e===r?0:4-e%4;return[e,n]}function Kr(t){var r=lr(t),e=r[0],n=r[1];return(e+n)*3/4-n}function jr(t,r,e){return(r+e)*3/4-e}function Qr(t){var r,e=lr(t),n=e[0],i=e[1],o=new Jr(jr(t,n,i)),a=0,u=i>0?n-4:n,c;for(c=0;c<u;c+=4)r=v[t.charCodeAt(c)]<<18|v[t.charCodeAt(c+1)]<<12|v[t.charCodeAt(c+2)]<<6|v[t.charCodeAt(c+3)],o[a++]=r>>16&255,o[a++]=r>>8&255,o[a++]=r&255;return i===2&&(r=v[t.charCodeAt(c)]<<2|v[t.charCodeAt(c+1)]>>4,o[a++]=r&255),i===1&&(r=v[t.charCodeAt(c)]<<10|v[t.charCodeAt(c+1)]<<4|v[t.charCodeAt(c+2)]>>2,o[a++]=r>>8&255,o[a++]=r&255),o}function Zr(t){return F[t>>18&63]+F[t>>12&63]+F[t>>6&63]+F[t&63]}function re(t,r,e){for(var n,i=[],o=r;o<e;o+=3)n=(t[o]<<16&16711680)+(t[o+1]<<8&65280)+(t[o+2]&255),i.push(Zr(n));return i.join("")}function ee(t){for(var r,e=t.length,n=e%3,i=[],o=16383,a=0,u=e-n;a<u;a+=o)i.push(re(t,a,a+o>u?u:a+o));return n===1?(r=t[e-1],i.push(F[r>>2]+F[r<<4&63]+"==")):n===2&&(r=(t[e-2]<<8)+t[e-1],i.push(F[r>>10]+F[r>>4&63]+F[r<<2&63]+"=")),i.join("")}});var gr=G($=>{p();$.read=function(t,r,e,n,i){var o,a,u=i*8-n-1,c=(1<<u)-1,f=c>>1,g=-7,l=e?i-1:0,b=e?-1:1,T=t[r+l];for(l+=b,o=T&(1<<-g)-1,T>>=-g,g+=u;g>0;o=o*256+t[r+l],l+=b,g-=8);for(a=o&(1<<-g)-1,o>>=-g,g+=n;g>0;a=a*256+t[r+l],l+=b,g-=8);if(o===0)o=1-f;else{if(o===c)return a?NaN:(T?-1:1)*(1/0);a=a+Math.pow(2,n),o=o-f}return(T?-1:1)*a*Math.pow(2,o-n)};$.write=function(t,r,e,n,i,o){var a,u,c,f=o*8-i-1,g=(1<<f)-1,l=g>>1,b=i===23?Math.pow(2,-24)-Math.pow(2,-77):0,T=n?0:o-1,L=n?1:-1,Hr=r<0||r===0&&1/r<0?1:0;for(r=Math.abs(r),isNaN(r)||r===1/0?(u=isNaN(r)?1:0,a=g):(a=Math.floor(Math.log(r)/Math.LN2),r*(c=Math.pow(2,-a))<1&&(a--,c*=2),a+l>=1?r+=b/c:r+=b*Math.pow(2,1-l),r*c>=2&&(a++,c/=2),a+l>=g?(u=0,a=g):a+l>=1?(u=(r*c-1)*Math.pow(2,i),a=a+l):(u=r*Math.pow(2,l-1)*Math.pow(2,i),a=0));i>=8;t[e+T]=u&255,T+=L,u/=256,i-=8);for(a=a<<i|u,f+=i;f>0;t[e+T]=a&255,T+=L,a/=256,f-=8);t[e+T-L]|=Hr*128}});var Sr=G(_=>{"use strict";p();var J=fr(),U=gr(),dr=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;_.Buffer=s;_.SlowBuffer=se;_.INSPECT_MAX_BYTES=50;var V=2147483647;_.kMaxLength=V;s.TYPED_ARRAY_SUPPORT=te();!s.TYPED_ARRAY_SUPPORT&&typeof console!="undefined"&&typeof console.error=="function"&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function te(){try{var t=new Uint8Array(1),r={foo:function(){return 42}};return Object.setPrototypeOf(r,Uint8Array.prototype),Object.setPrototypeOf(t,r),t.foo()===42}catch(e){return!1}}Object.defineProperty(s.prototype,"parent",{enumerable:!0,get:function(){if(!!s.isBuffer(this))return this.buffer}});Object.defineProperty(s.prototype,"offset",{enumerable:!0,get:function(){if(!!s.isBuffer(this))return this.byteOffset}});function B(t){if(t>V)throw new RangeError('The value "'+t+'" is invalid for option "size"');var r=new Uint8Array(t);return Object.setPrototypeOf(r,s.prototype),r}function s(t,r,e){if(typeof t=="number"){if(typeof r=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return Z(t)}return yr(t,r,e)}s.poolSize=8192;function yr(t,r,e){if(typeof t=="string")return ie(t,r);if(ArrayBuffer.isView(t))return oe(t);if(t==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t);if(k(t,ArrayBuffer)||t&&k(t.buffer,ArrayBuffer)||typeof SharedArrayBuffer!="undefined"&&(k(t,SharedArrayBuffer)||t&&k(t.buffer,SharedArrayBuffer)))return j(t,r,e);if(typeof t=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var n=t.valueOf&&t.valueOf();if(n!=null&&n!==t)return s.from(n,r,e);var i=ae(t);if(i)return i;if(typeof Symbol!="undefined"&&Symbol.toPrimitive!=null&&typeof t[Symbol.toPrimitive]=="function")return s.from(t[Symbol.toPrimitive]("string"),r,e);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t)}s.from=function(t,r,e){return yr(t,r,e)};Object.setPrototypeOf(s.prototype,Uint8Array.prototype);Object.setPrototypeOf(s,Uint8Array);function xr(t){if(typeof t!="number")throw new TypeError('"size" argument must be of type number');if(t<0)throw new RangeError('The value "'+t+'" is invalid for option "size"')}function ne(t,r,e){return xr(t),t<=0?B(t):r!==void 0?typeof e=="string"?B(t).fill(r,e):B(t).fill(r):B(t)}s.alloc=function(t,r,e){return ne(t,r,e)};function Z(t){return xr(t),B(t<0?0:rr(t)|0)}s.allocUnsafe=function(t){return Z(t)};s.allocUnsafeSlow=function(t){return Z(t)};function ie(t,r){if((typeof r!="string"||r==="")&&(r="utf8"),!s.isEncoding(r))throw new TypeError("Unknown encoding: "+r);var e=wr(t,r)|0,n=B(e),i=n.write(t,r);return i!==e&&(n=n.slice(0,i)),n}function K(t){for(var r=t.length<0?0:rr(t.length)|0,e=B(r),n=0;n<r;n+=1)e[n]=t[n]&255;return e}function oe(t){if(k(t,Uint8Array)){var r=new Uint8Array(t);return j(r.buffer,r.byteOffset,r.byteLength)}return K(t)}function j(t,r,e){if(r<0||t.byteLength<r)throw new RangeError('"offset" is outside of buffer bounds');if(t.byteLength<r+(e||0))throw new RangeError('"length" is outside of buffer bounds');var n;return r===void 0&&e===void 0?n=new Uint8Array(t):e===void 0?n=new Uint8Array(t,r):n=new Uint8Array(t,r,e),Object.setPrototypeOf(n,s.prototype),n}function ae(t){if(s.isBuffer(t)){var r=rr(t.length)|0,e=B(r);return e.length===0||t.copy(e,0,0,r),e}if(t.length!==void 0)return typeof t.length!="number"||er(t.length)?B(0):K(t);if(t.type==="Buffer"&&Array.isArray(t.data))return K(t.data)}function rr(t){if(t>=V)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+V.toString(16)+" bytes");return t|0}function se(t){return+t!=t&&(t=0),s.alloc(+t)}s.isBuffer=function(r){return r!=null&&r._isBuffer===!0&&r!==s.prototype};s.compare=function(r,e){if(k(r,Uint8Array)&&(r=s.from(r,r.offset,r.byteLength)),k(e,Uint8Array)&&(e=s.from(e,e.offset,e.byteLength)),!s.isBuffer(r)||!s.isBuffer(e))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(r===e)return 0;for(var n=r.length,i=e.length,o=0,a=Math.min(n,i);o<a;++o)if(r[o]!==e[o]){n=r[o],i=e[o];break}return n<i?-1:i<n?1:0};s.isEncoding=function(r){switch(String(r).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}};s.concat=function(r,e){if(!Array.isArray(r))throw new TypeError('"list" argument must be an Array of Buffers');if(r.length===0)return s.alloc(0);var n;if(e===void 0)for(e=0,n=0;n<r.length;++n)e+=r[n].length;var i=s.allocUnsafe(e),o=0;for(n=0;n<r.length;++n){var a=r[n];if(k(a,Uint8Array))o+a.length>i.length?s.from(a).copy(i,o):Uint8Array.prototype.set.call(i,a,o);else if(s.isBuffer(a))a.copy(i,o);else throw new TypeError('"list" argument must be an Array of Buffers');o+=a.length}return i};function wr(t,r){if(s.isBuffer(t))return t.length;if(ArrayBuffer.isView(t)||k(t,ArrayBuffer))return t.byteLength;if(typeof t!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof t);var e=t.length,n=arguments.length>2&&arguments[2]===!0;if(!n&&e===0)return 0;for(var i=!1;;)switch(r){case"ascii":case"latin1":case"binary":return e;case"utf8":case"utf-8":return Q(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return e*2;case"hex":return e>>>1;case"base64":return Ir(t).length;default:if(i)return n?-1:Q(t).length;r=(""+r).toLowerCase(),i=!0}}s.byteLength=wr;function ue(t,r,e){var n=!1;if((r===void 0||r<0)&&(r=0),r>this.length||((e===void 0||e>this.length)&&(e=this.length),e<=0)||(e>>>=0,r>>>=0,e<=r))return"";for(t||(t="utf8");;)switch(t){case"hex":return xe(this,r,e);case"utf8":case"utf-8":return vr(this,r,e);case"ascii":return me(this,r,e);case"latin1":case"binary":return ye(this,r,e);case"base64":return de(this,r,e);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return we(this,r,e);default:if(n)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),n=!0}}s.prototype._isBuffer=!0;function D(t,r,e){var n=t[r];t[r]=t[e],t[e]=n}s.prototype.swap16=function(){var r=this.length;if(r%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var e=0;e<r;e+=2)D(this,e,e+1);return this};s.prototype.swap32=function(){var r=this.length;if(r%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var e=0;e<r;e+=4)D(this,e,e+3),D(this,e+1,e+2);return this};s.prototype.swap64=function(){var r=this.length;if(r%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var e=0;e<r;e+=8)D(this,e,e+7),D(this,e+1,e+6),D(this,e+2,e+5),D(this,e+3,e+4);return this};s.prototype.toString=function(){var r=this.length;return r===0?"":arguments.length===0?vr(this,0,r):ue.apply(this,arguments)};s.prototype.toLocaleString=s.prototype.toString;s.prototype.equals=function(r){if(!s.isBuffer(r))throw new TypeError("Argument must be a Buffer");return this===r?!0:s.compare(this,r)===0};s.prototype.inspect=function(){var r="",e=_.INSPECT_MAX_BYTES;return r=this.toString("hex",0,e).replace(/(.{2})/g,"$1 ").trim(),this.length>e&&(r+=" ... "),"<Buffer "+r+">"};dr&&(s.prototype[dr]=s.prototype.inspect);s.prototype.compare=function(r,e,n,i,o){if(k(r,Uint8Array)&&(r=s.from(r,r.offset,r.byteLength)),!s.isBuffer(r))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof r);if(e===void 0&&(e=0),n===void 0&&(n=r?r.length:0),i===void 0&&(i=0),o===void 0&&(o=this.length),e<0||n>r.length||i<0||o>this.length)throw new RangeError("out of range index");if(i>=o&&e>=n)return 0;if(i>=o)return-1;if(e>=n)return 1;if(e>>>=0,n>>>=0,i>>>=0,o>>>=0,this===r)return 0;for(var a=o-i,u=n-e,c=Math.min(a,u),f=this.slice(i,o),g=r.slice(e,n),l=0;l<c;++l)if(f[l]!==g[l]){a=f[l],u=g[l];break}return a<u?-1:u<a?1:0};function Tr(t,r,e,n,i){if(t.length===0)return-1;if(typeof e=="string"?(n=e,e=0):e>2147483647?e=2147483647:e<-2147483648&&(e=-2147483648),e=+e,er(e)&&(e=i?0:t.length-1),e<0&&(e=t.length+e),e>=t.length){if(i)return-1;e=t.length-1}else if(e<0)if(i)e=0;else return-1;if(typeof r=="string"&&(r=s.from(r,n)),s.isBuffer(r))return r.length===0?-1:hr(t,r,e,n,i);if(typeof r=="number")return r=r&255,typeof Uint8Array.prototype.indexOf=="function"?i?Uint8Array.prototype.indexOf.call(t,r,e):Uint8Array.prototype.lastIndexOf.call(t,r,e):hr(t,[r],e,n,i);throw new TypeError("val must be string, number or Buffer")}function hr(t,r,e,n,i){var o=1,a=t.length,u=r.length;if(n!==void 0&&(n=String(n).toLowerCase(),n==="ucs2"||n==="ucs-2"||n==="utf16le"||n==="utf-16le")){if(t.length<2||r.length<2)return-1;o=2,a/=2,u/=2,e/=2}function c(T,L){return o===1?T[L]:T.readUInt16BE(L*o)}var f;if(i){var g=-1;for(f=e;f<a;f++)if(c(t,f)===c(r,g===-1?0:f-g)){if(g===-1&&(g=f),f-g+1===u)return g*o}else g!==-1&&(f-=f-g),g=-1}else for(e+u>a&&(e=a-u),f=e;f>=0;f--){for(var l=!0,b=0;b<u;b++)if(c(t,f+b)!==c(r,b)){l=!1;break}if(l)return f}return-1}s.prototype.includes=function(r,e,n){return this.indexOf(r,e,n)!==-1};s.prototype.indexOf=function(r,e,n){return Tr(this,r,e,n,!0)};s.prototype.lastIndexOf=function(r,e,n){return Tr(this,r,e,n,!1)};function pe(t,r,e,n){e=Number(e)||0;var i=t.length-e;n?(n=Number(n),n>i&&(n=i)):n=i;var o=r.length;n>o/2&&(n=o/2);for(var a=0;a<n;++a){var u=parseInt(r.substr(a*2,2),16);if(er(u))return a;t[e+a]=u}return a}function ce(t,r,e,n){return O(Q(r,t.length-e),t,e,n)}function le(t,r,e,n){return O(be(r),t,e,n)}function fe(t,r,e,n){return O(Ir(r),t,e,n)}function ge(t,r,e,n){return O(Fe(r,t.length-e),t,e,n)}s.prototype.write=function(r,e,n,i){if(e===void 0)i="utf8",n=this.length,e=0;else if(n===void 0&&typeof e=="string")i=e,n=this.length,e=0;else if(isFinite(e))e=e>>>0,isFinite(n)?(n=n>>>0,i===void 0&&(i="utf8")):(i=n,n=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var o=this.length-e;if((n===void 0||n>o)&&(n=o),r.length>0&&(n<0||e<0)||e>this.length)throw new RangeError("Attempt to write outside buffer bounds");i||(i="utf8");for(var a=!1;;)switch(i){case"hex":return pe(this,r,e,n);case"utf8":case"utf-8":return ce(this,r,e,n);case"ascii":case"latin1":case"binary":return le(this,r,e,n);case"base64":return fe(this,r,e,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return ge(this,r,e,n);default:if(a)throw new TypeError("Unknown encoding: "+i);i=(""+i).toLowerCase(),a=!0}};s.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function de(t,r,e){return r===0&&e===t.length?J.fromByteArray(t):J.fromByteArray(t.slice(r,e))}function vr(t,r,e){e=Math.min(t.length,e);for(var n=[],i=r;i<e;){var o=t[i],a=null,u=o>239?4:o>223?3:o>191?2:1;if(i+u<=e){var c,f,g,l;switch(u){case 1:o<128&&(a=o);break;case 2:c=t[i+1],(c&192)===128&&(l=(o&31)<<6|c&63,l>127&&(a=l));break;case 3:c=t[i+1],f=t[i+2],(c&192)===128&&(f&192)===128&&(l=(o&15)<<12|(c&63)<<6|f&63,l>2047&&(l<55296||l>57343)&&(a=l));break;case 4:c=t[i+1],f=t[i+2],g=t[i+3],(c&192)===128&&(f&192)===128&&(g&192)===128&&(l=(o&15)<<18|(c&63)<<12|(f&63)<<6|g&63,l>65535&&l<1114112&&(a=l))}}a===null?(a=65533,u=1):a>65535&&(a-=65536,n.push(a>>>10&1023|55296),a=56320|a&1023),n.push(a),i+=u}return he(n)}var mr=4096;function he(t){var r=t.length;if(r<=mr)return String.fromCharCode.apply(String,t);for(var e="",n=0;n<r;)e+=String.fromCharCode.apply(String,t.slice(n,n+=mr));return e}function me(t,r,e){var n="";e=Math.min(t.length,e);for(var i=r;i<e;++i)n+=String.fromCharCode(t[i]&127);return n}function ye(t,r,e){var n="";e=Math.min(t.length,e);for(var i=r;i<e;++i)n+=String.fromCharCode(t[i]);return n}function xe(t,r,e){var n=t.length;(!r||r<0)&&(r=0),(!e||e<0||e>n)&&(e=n);for(var i="",o=r;o<e;++o)i+=ke[t[o]];return i}function we(t,r,e){for(var n=t.slice(r,e),i="",o=0;o<n.length-1;o+=2)i+=String.fromCharCode(n[o]+n[o+1]*256);return i}s.prototype.slice=function(r,e){var n=this.length;r=~~r,e=e===void 0?n:~~e,r<0?(r+=n,r<0&&(r=0)):r>n&&(r=n),e<0?(e+=n,e<0&&(e=0)):e>n&&(e=n),e<r&&(e=r);var i=this.subarray(r,e);return Object.setPrototypeOf(i,s.prototype),i};function x(t,r,e){if(t%1!==0||t<0)throw new RangeError("offset is not uint");if(t+r>e)throw new RangeError("Trying to access beyond buffer length")}s.prototype.readUintLE=s.prototype.readUIntLE=function(r,e,n){r=r>>>0,e=e>>>0,n||x(r,e,this.length);for(var i=this[r],o=1,a=0;++a<e&&(o*=256);)i+=this[r+a]*o;return i};s.prototype.readUintBE=s.prototype.readUIntBE=function(r,e,n){r=r>>>0,e=e>>>0,n||x(r,e,this.length);for(var i=this[r+--e],o=1;e>0&&(o*=256);)i+=this[r+--e]*o;return i};s.prototype.readUint8=s.prototype.readUInt8=function(r,e){return r=r>>>0,e||x(r,1,this.length),this[r]};s.prototype.readUint16LE=s.prototype.readUInt16LE=function(r,e){return r=r>>>0,e||x(r,2,this.length),this[r]|this[r+1]<<8};s.prototype.readUint16BE=s.prototype.readUInt16BE=function(r,e){return r=r>>>0,e||x(r,2,this.length),this[r]<<8|this[r+1]};s.prototype.readUint32LE=s.prototype.readUInt32LE=function(r,e){return r=r>>>0,e||x(r,4,this.length),(this[r]|this[r+1]<<8|this[r+2]<<16)+this[r+3]*16777216};s.prototype.readUint32BE=s.prototype.readUInt32BE=function(r,e){return r=r>>>0,e||x(r,4,this.length),this[r]*16777216+(this[r+1]<<16|this[r+2]<<8|this[r+3])};s.prototype.readIntLE=function(r,e,n){r=r>>>0,e=e>>>0,n||x(r,e,this.length);for(var i=this[r],o=1,a=0;++a<e&&(o*=256);)i+=this[r+a]*o;return o*=128,i>=o&&(i-=Math.pow(2,8*e)),i};s.prototype.readIntBE=function(r,e,n){r=r>>>0,e=e>>>0,n||x(r,e,this.length);for(var i=e,o=1,a=this[r+--i];i>0&&(o*=256);)a+=this[r+--i]*o;return o*=128,a>=o&&(a-=Math.pow(2,8*e)),a};s.prototype.readInt8=function(r,e){return r=r>>>0,e||x(r,1,this.length),this[r]&128?(255-this[r]+1)*-1:this[r]};s.prototype.readInt16LE=function(r,e){r=r>>>0,e||x(r,2,this.length);var n=this[r]|this[r+1]<<8;return n&32768?n|4294901760:n};s.prototype.readInt16BE=function(r,e){r=r>>>0,e||x(r,2,this.length);var n=this[r+1]|this[r]<<8;return n&32768?n|4294901760:n};s.prototype.readInt32LE=function(r,e){return r=r>>>0,e||x(r,4,this.length),this[r]|this[r+1]<<8|this[r+2]<<16|this[r+3]<<24};s.prototype.readInt32BE=function(r,e){return r=r>>>0,e||x(r,4,this.length),this[r]<<24|this[r+1]<<16|this[r+2]<<8|this[r+3]};s.prototype.readFloatLE=function(r,e){return r=r>>>0,e||x(r,4,this.length),U.read(this,r,!0,23,4)};s.prototype.readFloatBE=function(r,e){return r=r>>>0,e||x(r,4,this.length),U.read(this,r,!1,23,4)};s.prototype.readDoubleLE=function(r,e){return r=r>>>0,e||x(r,8,this.length),U.read(this,r,!0,52,8)};s.prototype.readDoubleBE=function(r,e){return r=r>>>0,e||x(r,8,this.length),U.read(this,r,!1,52,8)};function w(t,r,e,n,i,o){if(!s.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(r>i||r<o)throw new RangeError('"value" argument is out of bounds');if(e+n>t.length)throw new RangeError("Index out of range")}s.prototype.writeUintLE=s.prototype.writeUIntLE=function(r,e,n,i){if(r=+r,e=e>>>0,n=n>>>0,!i){var o=Math.pow(2,8*n)-1;w(this,r,e,n,o,0)}var a=1,u=0;for(this[e]=r&255;++u<n&&(a*=256);)this[e+u]=r/a&255;return e+n};s.prototype.writeUintBE=s.prototype.writeUIntBE=function(r,e,n,i){if(r=+r,e=e>>>0,n=n>>>0,!i){var o=Math.pow(2,8*n)-1;w(this,r,e,n,o,0)}var a=n-1,u=1;for(this[e+a]=r&255;--a>=0&&(u*=256);)this[e+a]=r/u&255;return e+n};s.prototype.writeUint8=s.prototype.writeUInt8=function(r,e,n){return r=+r,e=e>>>0,n||w(this,r,e,1,255,0),this[e]=r&255,e+1};s.prototype.writeUint16LE=s.prototype.writeUInt16LE=function(r,e,n){return r=+r,e=e>>>0,n||w(this,r,e,2,65535,0),this[e]=r&255,this[e+1]=r>>>8,e+2};s.prototype.writeUint16BE=s.prototype.writeUInt16BE=function(r,e,n){return r=+r,e=e>>>0,n||w(this,r,e,2,65535,0),this[e]=r>>>8,this[e+1]=r&255,e+2};s.prototype.writeUint32LE=s.prototype.writeUInt32LE=function(r,e,n){return r=+r,e=e>>>0,n||w(this,r,e,4,4294967295,0),this[e+3]=r>>>24,this[e+2]=r>>>16,this[e+1]=r>>>8,this[e]=r&255,e+4};s.prototype.writeUint32BE=s.prototype.writeUInt32BE=function(r,e,n){return r=+r,e=e>>>0,n||w(this,r,e,4,4294967295,0),this[e]=r>>>24,this[e+1]=r>>>16,this[e+2]=r>>>8,this[e+3]=r&255,e+4};s.prototype.writeIntLE=function(r,e,n,i){if(r=+r,e=e>>>0,!i){var o=Math.pow(2,8*n-1);w(this,r,e,n,o-1,-o)}var a=0,u=1,c=0;for(this[e]=r&255;++a<n&&(u*=256);)r<0&&c===0&&this[e+a-1]!==0&&(c=1),this[e+a]=(r/u>>0)-c&255;return e+n};s.prototype.writeIntBE=function(r,e,n,i){if(r=+r,e=e>>>0,!i){var o=Math.pow(2,8*n-1);w(this,r,e,n,o-1,-o)}var a=n-1,u=1,c=0;for(this[e+a]=r&255;--a>=0&&(u*=256);)r<0&&c===0&&this[e+a+1]!==0&&(c=1),this[e+a]=(r/u>>0)-c&255;return e+n};s.prototype.writeInt8=function(r,e,n){return r=+r,e=e>>>0,n||w(this,r,e,1,127,-128),r<0&&(r=255+r+1),this[e]=r&255,e+1};s.prototype.writeInt16LE=function(r,e,n){return r=+r,e=e>>>0,n||w(this,r,e,2,32767,-32768),this[e]=r&255,this[e+1]=r>>>8,e+2};s.prototype.writeInt16BE=function(r,e,n){return r=+r,e=e>>>0,n||w(this,r,e,2,32767,-32768),this[e]=r>>>8,this[e+1]=r&255,e+2};s.prototype.writeInt32LE=function(r,e,n){return r=+r,e=e>>>0,n||w(this,r,e,4,2147483647,-2147483648),this[e]=r&255,this[e+1]=r>>>8,this[e+2]=r>>>16,this[e+3]=r>>>24,e+4};s.prototype.writeInt32BE=function(r,e,n){return r=+r,e=e>>>0,n||w(this,r,e,4,2147483647,-2147483648),r<0&&(r=4294967295+r+1),this[e]=r>>>24,this[e+1]=r>>>16,this[e+2]=r>>>8,this[e+3]=r&255,e+4};function br(t,r,e,n,i,o){if(e+n>t.length)throw new RangeError("Index out of range");if(e<0)throw new RangeError("Index out of range")}function Fr(t,r,e,n,i){return r=+r,e=e>>>0,i||br(t,r,e,4,34028234663852886e22,-34028234663852886e22),U.write(t,r,e,n,23,4),e+4}s.prototype.writeFloatLE=function(r,e,n){return Fr(this,r,e,!0,n)};s.prototype.writeFloatBE=function(r,e,n){return Fr(this,r,e,!1,n)};function kr(t,r,e,n,i){return r=+r,e=e>>>0,i||br(t,r,e,8,17976931348623157e292,-17976931348623157e292),U.write(t,r,e,n,52,8),e+8}s.prototype.writeDoubleLE=function(r,e,n){return kr(this,r,e,!0,n)};s.prototype.writeDoubleBE=function(r,e,n){return kr(this,r,e,!1,n)};s.prototype.copy=function(r,e,n,i){if(!s.isBuffer(r))throw new TypeError("argument should be a Buffer");if(n||(n=0),!i&&i!==0&&(i=this.length),e>=r.length&&(e=r.length),e||(e=0),i>0&&i<n&&(i=n),i===n||r.length===0||this.length===0)return 0;if(e<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw new RangeError("Index out of range");if(i<0)throw new RangeError("sourceEnd out of bounds");i>this.length&&(i=this.length),r.length-e<i-n&&(i=r.length-e+n);var o=i-n;return this===r&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(e,n,i):Uint8Array.prototype.set.call(r,this.subarray(n,i),e),o};s.prototype.fill=function(r,e,n,i){if(typeof r=="string"){if(typeof e=="string"?(i=e,e=0,n=this.length):typeof n=="string"&&(i=n,n=this.length),i!==void 0&&typeof i!="string")throw new TypeError("encoding must be a string");if(typeof i=="string"&&!s.isEncoding(i))throw new TypeError("Unknown encoding: "+i);if(r.length===1){var o=r.charCodeAt(0);(i==="utf8"&&o<128||i==="latin1")&&(r=o)}}else typeof r=="number"?r=r&255:typeof r=="boolean"&&(r=Number(r));if(e<0||this.length<e||this.length<n)throw new RangeError("Out of range index");if(n<=e)return this;e=e>>>0,n=n===void 0?this.length:n>>>0,r||(r=0);var a;if(typeof r=="number")for(a=e;a<n;++a)this[a]=r;else{var u=s.isBuffer(r)?r:s.from(r,i),c=u.length;if(c===0)throw new TypeError('The value "'+r+'" is invalid for argument "value"');for(a=0;a<n-e;++a)this[a+e]=u[a%c]}return this};var Te=/[^+/0-9A-Za-z-_]/g;function ve(t){if(t=t.split("=")[0],t=t.trim().replace(Te,""),t.length<2)return"";for(;t.length%4!==0;)t=t+"=";return t}function Q(t,r){r=r||1/0;for(var e,n=t.length,i=null,o=[],a=0;a<n;++a){if(e=t.charCodeAt(a),e>55295&&e<57344){if(!i){if(e>56319){(r-=3)>-1&&o.push(239,191,189);continue}else if(a+1===n){(r-=3)>-1&&o.push(239,191,189);continue}i=e;continue}if(e<56320){(r-=3)>-1&&o.push(239,191,189),i=e;continue}e=(i-55296<<10|e-56320)+65536}else i&&(r-=3)>-1&&o.push(239,191,189);if(i=null,e<128){if((r-=1)<0)break;o.push(e)}else if(e<2048){if((r-=2)<0)break;o.push(e>>6|192,e&63|128)}else if(e<65536){if((r-=3)<0)break;o.push(e>>12|224,e>>6&63|128,e&63|128)}else if(e<1114112){if((r-=4)<0)break;o.push(e>>18|240,e>>12&63|128,e>>6&63|128,e&63|128)}else throw new Error("Invalid code point")}return o}function be(t){for(var r=[],e=0;e<t.length;++e)r.push(t.charCodeAt(e)&255);return r}function Fe(t,r){for(var e,n,i,o=[],a=0;a<t.length&&!((r-=2)<0);++a)e=t.charCodeAt(a),n=e>>8,i=e%256,o.push(i),o.push(n);return o}function Ir(t){return J.toByteArray(ve(t))}function O(t,r,e,n){for(var i=0;i<n&&!(i+e>=r.length||i>=t.length);++i)r[i+e]=t[i];return i}function k(t,r){return t instanceof r||t!=null&&t.constructor!=null&&t.constructor.name!=null&&t.constructor.name===r.name}function er(t){return t!==t}var ke=function(){for(var t="0123456789abcdef",r=new Array(256),e=0;e<16;++e)for(var n=e*16,i=0;i<16;++i)r[n+i]=t[e]+t[i];return r}()});var Dr=G((Me,Cr)=>{p();var y=Cr.exports={},I,S;function tr(){throw new Error("setTimeout has not been defined")}function nr(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?I=setTimeout:I=tr}catch(t){I=tr}try{typeof clearTimeout=="function"?S=clearTimeout:S=nr}catch(t){S=nr}})();function Br(t){if(I===setTimeout)return setTimeout(t,0);if((I===tr||!I)&&setTimeout)return I=setTimeout,setTimeout(t,0);try{return I(t,0)}catch(r){try{return I.call(null,t,0)}catch(e){return I.call(this,t,0)}}}function Ie(t){if(S===clearTimeout)return clearTimeout(t);if((S===nr||!S)&&clearTimeout)return S=clearTimeout,clearTimeout(t);try{return S(t)}catch(r){try{return S.call(null,t)}catch(e){return S.call(this,t)}}}var R=[],P=!1,E,Y=-1;function Se(){!P||!E||(P=!1,E.length?R=E.concat(R):Y=-1,R.length&&Rr())}function Rr(){if(!P){var t=Br(Se);P=!0;for(var r=R.length;r;){for(E=R,R=[];++Y<r;)E&&E[Y].run();Y=-1,r=R.length}E=null,P=!1,Ie(t)}}y.nextTick=function(t){var r=new Array(arguments.length-1);if(arguments.length>1)for(var e=1;e<arguments.length;e++)r[e-1]=arguments[e];R.push(new Ar(t,r)),R.length===1&&!P&&Br(Rr)};function Ar(t,r){this.fun=t,this.array=r}Ar.prototype.run=function(){this.fun.apply(null,this.array)};y.title="browser";y.browser=!0;y.env={};y.argv=[];y.version="";y.versions={};function A(){}y.on=A;y.addListener=A;y.once=A;y.off=A;y.removeListener=A;y.removeAllListeners=A;y.emit=A;y.prependListener=A;y.prependOnceListener=A;y.listeners=function(t){return[]};y.binding=function(t){throw new Error("process.binding is not supported")};y.cwd=function(){return"/"};y.chdir=function(t){throw new Error("process.chdir is not supported")};y.umask=function(){return 0}});var d,h,We,p=zr(()=>{d=z(Sr()),h=z(Dr()),We=function(t){function r(){var n=this||self;return delete t.prototype.__magic__,n}if(typeof globalThis=="object")return globalThis;if(this)return r();t.defineProperty(t.prototype,"__magic__",{configurable:!0,get:r});var e=__magic__;return e}(Object)});var Le={};Xr(Le,{getDisplayValueAndValidationWarnings:()=>Ee});module.exports=$r(Le);p();p();p();p();p();p();p();var Be=require("@multiversx/sdk-dapp-utils/out/constants/crossWindowProviderConstants"),N=require("@multiversx/sdk-dapp-utils/out/enums/crossWindowProviderEnums");var Er=(e=>(e.signTransactionsWithGuardianResponse="SIGN_TRANSACTIONS_WITH_GUARDIAN_RESPONSE",e.reloginRequest="RELOGIN_REQUEST",e))(Er||{}),Oe=H(H({},N.CrossWindowProviderRequestEnums),Er),Lr=(r=>(r.reloginResponse="RELOGIN_RESPONSE",r))(Lr||{}),Ye=H(H({},N.CrossWindowProviderResponseEnums),Lr);p();p();p();p();p();p();p();var Nr=require("@multiversx/sdk-core/out"),or=z(require("bignumber.js"));p();var Ur=require("@multiversx/sdk-core");function Re(t){try{let r=new Ur.Address(t);return Boolean(r.bech32())}catch(r){return!1}}function _r(t){return(t==null?void 0:t.startsWith("erd"))&&t.length===62&&/^\w+$/.test(t)&&Re(t)}p();p();p();p();function ir(t){for(let r=0;r<t.length;r++)if(t.charCodeAt(r)>127)return!1;return!0}p();p();var Pr=t=>/\d/.test(t);var M=(t,r,e)=>{try{switch(r){case"text":return Pr(t)?d.Buffer.from(t,"hex").toString("utf8"):t;case"decimal":return new or.default(t,16).toString(10);case"smart":let i=Nr.Address.fromHex(t).toString();if(_r(i))return i;let o=d.Buffer.from(t,"hex").toString("utf8");return ir(o)||e&&[...e.esdts,...e.nfts].some(c=>o.includes(c))?o:new or.default(t,16).toString(10);case"raw":default:return t}}catch(n){return console.error(`Error during data decoding of "${t}" as "${r}"`,n),t}};p();var Ce=t=>t.toLowerCase().match(/[0-9a-f]/g),De=t=>t.length%2===0,Mr=t=>{let r=[];return t&&!Ce(t)&&r.push(`Invalid Hex characters on argument @${t}`),t&&!De(t)&&r.push(`Odd number of Hex characters on argument @${t}`),r};p();var Wr=({parts:t,decodedParts:r,identifier:e})=>{let n=[...r];if(t[0]==="ESDTNFTTransfer"&&t[2]&&(n[2]=M(t[2],"decimal")),e==="ESDTNFTTransfer"&&t[1]){let i=d.Buffer.from(String(t[1]),"base64");n[1]=M(i.toString("hex"),"decimal")}return n};var Ee=({parts:t,decodeMethod:r,identifier:e,display:n})=>{let i=t.map((o,a)=>{if(t.length>=2&&(a===0&&o.length<64||a===1&&!t[0]))return/[^a-z0-9]/gi.test(o)?M(o,r):o;{let u=Mr(o);return u.length&&(n.validationWarnings=Array.from(new Set([...n.validationWarnings,...u]))),M(o,r)}});return r==="smart"?Wr({parts:t,decodedParts:i,identifier:e}):i};0&&(module.exports={getDisplayValueAndValidationWarnings});
2
2
  /*!
3
3
  * The buffer module from node.js, for the browser.
4
4
  *