@multiversx/sdk-dapp 2.19.9-alpha.0 → 2.19.9

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 (723) hide show
  1. package/UI/DappModal/hooks/index.js +1 -1
  2. package/UI/DappModal/hooks/useDappModal.js +1 -1
  3. package/UI/DappModal/index.js +1 -1
  4. package/UI/ExplorerLink/ExplorerLink.js +1 -1
  5. package/UI/ExplorerLink/index.js +1 -1
  6. package/UI/ModalContainer/ModalContainer.js +1 -1
  7. package/UI/ModalContainer/index.js +1 -1
  8. package/UI/NotificationModal/NotificationModal.js +1 -1
  9. package/UI/NotificationModal/index.js +1 -1
  10. package/UI/SignTransactionsModals/SignTransactionsModals.js +1 -1
  11. package/UI/SignTransactionsModals/SignWithDeviceModal/SignStep.js +1 -1
  12. package/UI/SignTransactionsModals/SignWithDeviceModal/SignWithDeviceModal.js +1 -1
  13. package/UI/SignTransactionsModals/SignWithDeviceModal/components/SignStepBody.js +1 -1
  14. package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmAmount/ConfirmAmount.js +1 -1
  15. package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmAmount/index.js +1 -1
  16. package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmFee/ConfirmFee.js +1 -1
  17. package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmFee/index.js +1 -1
  18. package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmReceiver/ConfirmReceiver.js +1 -1
  19. package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmReceiver/components/ReceiverSubValue/ReceiverSubValue.js +1 -1
  20. package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmReceiver/components/ReceiverSubValue/index.js +1 -1
  21. package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmReceiver/components/ReceiverValue/ReceiverValue.js +1 -1
  22. package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmReceiver/components/ReceiverValue/index.js +1 -1
  23. package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmReceiver/index.js +1 -1
  24. package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/NftSftPreviewComponent/NftSftPreviewComponent.js +1 -1
  25. package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/NftSftPreviewComponent/index.js +1 -1
  26. package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/TokenAvatar/TokenAvatar.js +1 -1
  27. package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/TokenAvatar/index.js +1 -1
  28. package/UI/SignTransactionsModals/SignWithDeviceModal/components/index.js +1 -1
  29. package/UI/SignTransactionsModals/SignWithDeviceModal/index.js +1 -1
  30. package/UI/SignTransactionsModals/SignWithExtensionModal/SignWithExtensionModal.js +1 -1
  31. package/UI/SignTransactionsModals/SignWithExtensionModal/index.js +1 -1
  32. package/UI/SignTransactionsModals/SignWithExtraModal/SignWithExtraModal.js +1 -1
  33. package/UI/SignTransactionsModals/SignWithExtraModal/index.js +1 -1
  34. package/UI/SignTransactionsModals/SignWithLedgerModal/LedgerGuardianSigningModalError.js +1 -1
  35. package/UI/SignTransactionsModals/SignWithLedgerModal/SignWithLedgerModal.js +1 -1
  36. package/UI/SignTransactionsModals/SignWithLedgerModal/index.js +1 -1
  37. package/UI/SignTransactionsModals/SignWithOperaModal/SignWithOperaModal.js +1 -1
  38. package/UI/SignTransactionsModals/SignWithOperaModal/index.js +1 -1
  39. package/UI/SignTransactionsModals/SignWithWalletConnectModal/index.js +1 -1
  40. package/UI/SignTransactionsModals/components/ConfirmationScreen.js +1 -1
  41. package/UI/SignTransactionsModals/components/DeviceConfirmationScreen.js +1 -1
  42. package/UI/SignTransactionsModals/components/SignWaitingScreenModal/SignWaitingScreenModal.js +1 -1
  43. package/UI/SignTransactionsModals/components/SignWaitingScreenModal/index.js +1 -1
  44. package/UI/SignTransactionsModals/components/TransactionStatusToast.js +1 -1
  45. package/UI/SignTransactionsModals/components/index.js +1 -1
  46. package/UI/SignTransactionsModals/index.js +1 -1
  47. package/UI/TokenDetails/index.js +1 -1
  48. package/UI/TransactionDetails/TransactionDetails.js +1 -1
  49. package/UI/TransactionDetails/components/TransactionDetailsBody.js +1 -1
  50. package/UI/TransactionDetails/components/index.js +1 -1
  51. package/UI/TransactionDetails/index.js +1 -1
  52. package/UI/TransactionInfo/TransactionInfo.js +1 -1
  53. package/UI/TransactionInfo/components/AddressDetailItem/AddressDetailitem.js +1 -1
  54. package/UI/TransactionInfo/components/AddressDetailItem/index.js +1 -1
  55. package/UI/TransactionInfo/components/EventsList/EventsList.js +1 -1
  56. package/UI/TransactionInfo/components/EventsList/index.js +1 -1
  57. package/UI/TransactionInfo/components/NonceMessage/NonceMessage.js +1 -1
  58. package/UI/TransactionInfo/components/NonceMessage/index.js +1 -1
  59. package/UI/TransactionInfo/components/OperationsList/OperationList.js +1 -1
  60. package/UI/TransactionInfo/components/OperationsList/components/DetailedItem.js +1 -1
  61. package/UI/TransactionInfo/components/OperationsList/components/OperationBlock.js +1 -1
  62. package/UI/TransactionInfo/components/OperationsList/components/OperationRow.js +1 -1
  63. package/UI/TransactionInfo/components/OperationsList/components/OperationText.js +1 -1
  64. package/UI/TransactionInfo/components/OperationsList/components/OperationToken.js +1 -1
  65. package/UI/TransactionInfo/components/OperationsList/components/index.js +1 -1
  66. package/UI/TransactionInfo/components/OperationsList/index.js +1 -1
  67. package/UI/TransactionInfo/components/ScResultsList/ScResultsList.js +1 -1
  68. package/UI/TransactionInfo/components/ScResultsList/components/ResultHash/ResultHash.js +1 -1
  69. package/UI/TransactionInfo/components/ScResultsList/components/ResultHash/index.js +1 -1
  70. package/UI/TransactionInfo/components/ScResultsList/components/ResultReceiver/ResultReceiver.js +1 -1
  71. package/UI/TransactionInfo/components/ScResultsList/components/ResultReceiver/index.js +1 -1
  72. package/UI/TransactionInfo/components/ScResultsList/components/ResultSender/ResultSender.js +1 -1
  73. package/UI/TransactionInfo/components/ScResultsList/components/ResultSender/index.js +1 -1
  74. package/UI/TransactionInfo/components/ScResultsList/index.js +1 -1
  75. package/UI/TransactionInfo/components/ScrDetailItem/ScrDetailItem.js +1 -1
  76. package/UI/TransactionInfo/components/ScrDetailItem/index.js +1 -1
  77. package/UI/TransactionInfo/components/TransactionAction/TransactionAction.js +1 -1
  78. package/UI/TransactionInfo/components/TransactionAction/components/ActionText/index.js +1 -1
  79. package/UI/TransactionInfo/components/TransactionAction/components/ActionToken.js +1 -1
  80. package/UI/TransactionInfo/components/TransactionAction/components/TransactionActionBlock/components/TransactionActionCollection.js +1 -1
  81. package/UI/TransactionInfo/components/TransactionAction/components/TransactionActionBlock/components/TransactionActionNft.js +1 -1
  82. package/UI/TransactionInfo/components/TransactionAction/components/TransactionActionBlock/components/TransactionActionToken.js +1 -1
  83. package/UI/TransactionInfo/components/TransactionAction/components/TransactionActionBlock/components/index.js +1 -1
  84. package/UI/TransactionInfo/components/TransactionAction/components/TransactionActionBlock/index.js +1 -1
  85. package/UI/TransactionInfo/components/TransactionAction/components/index.js +1 -1
  86. package/UI/TransactionInfo/components/TransactionAction/index.js +1 -1
  87. package/UI/TransactionInfo/components/TransactionLogs/TransactionLogs.js +1 -1
  88. package/UI/TransactionInfo/components/TransactionLogs/index.js +1 -1
  89. package/UI/TransactionInfo/components/index.js +1 -1
  90. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoFee/TransactionInfoFee.js +1 -1
  91. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoFee/index.js +1 -1
  92. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoFrom/TransactionInfoFrom.js +1 -1
  93. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoFrom/index.js +1 -1
  94. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoMethod/TransactionInfoMethod.js +1 -1
  95. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoMethod/index.js +1 -1
  96. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoMiniblock/TransactionInfoMiniblock.js +1 -1
  97. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoMiniblock/index.js +1 -1
  98. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoNonce/TransactionInfoNonce.js +1 -1
  99. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoNonce/index.js +1 -1
  100. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoScResults/TransactionInfoScResults.js +1 -1
  101. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoScResults/index.js +1 -1
  102. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoTo/TransactionInfoTo.js +1 -1
  103. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoTo/index.js +1 -1
  104. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoTokenOperations/TransactionInfoTokenOperations.js +1 -1
  105. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoTokenOperations/index.js +1 -1
  106. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoValue/TransactionInfoValue.js +1 -1
  107. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoValue/index.js +1 -1
  108. package/UI/TransactionInfo/components/transactionInfoFields/index.js +1 -1
  109. package/UI/TransactionInfo/index.js +1 -1
  110. package/UI/TransactionsTable/TransactionsTable.js +1 -1
  111. package/UI/TransactionsTable/components/AccountName.js +1 -1
  112. package/UI/TransactionsTable/components/LockedTokenAddressIcon.js +1 -1
  113. package/UI/TransactionsTable/components/TransactionHash.js +1 -1
  114. package/UI/TransactionsTable/components/TransactionReceiver.js +1 -1
  115. package/UI/TransactionsTable/components/TransactionRow.js +1 -1
  116. package/UI/TransactionsTable/components/TransactionSender.js +1 -1
  117. package/UI/TransactionsTable/components/TransactionShardsTransition.js +1 -1
  118. package/UI/TransactionsTable/components/TransactionValue/TransactionValue.js +1 -1
  119. package/UI/TransactionsTable/components/TransactionValue/index.js +1 -1
  120. package/UI/TransactionsTable/components/index.js +1 -1
  121. package/UI/TransactionsTable/index.js +1 -1
  122. package/UI/TransactionsToastList/TransactionsToastList.js +1 -1
  123. package/UI/TransactionsToastList/components/CustomToast/CustomToast.js +1 -1
  124. package/UI/TransactionsToastList/components/CustomToast/components/CustomComponentToast.js +1 -1
  125. package/UI/TransactionsToastList/components/CustomToast/components/IconToast/IconToast.js +1 -1
  126. package/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/IconToastFooter.js +1 -1
  127. package/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/components/ComponentToastFooter.js +1 -1
  128. package/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/components/TransactionToastFooter.js +1 -1
  129. package/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/components/index.js +1 -1
  130. package/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/index.js +1 -1
  131. package/UI/TransactionsToastList/components/CustomToast/components/IconToast/index.js +1 -1
  132. package/UI/TransactionsToastList/components/CustomToast/components/SimpleToast.js +1 -1
  133. package/UI/TransactionsToastList/components/CustomToast/components/index.js +1 -1
  134. package/UI/TransactionsToastList/components/CustomToast/helpers/index.js +1 -1
  135. package/UI/TransactionsToastList/components/CustomToast/helpers/useMemoizedCloseButton.js +1 -1
  136. package/UI/TransactionsToastList/components/CustomToast/index.js +1 -1
  137. package/UI/TransactionsToastList/components/TransactionToast/TransactionToast.js +1 -1
  138. package/UI/TransactionsToastList/components/TransactionToast/components/TransactionToastContent.js +1 -1
  139. package/UI/TransactionsToastList/components/TransactionToast/components/index.js +1 -1
  140. package/UI/TransactionsToastList/components/TransactionToast/hooks/useTransactionToast.js +1 -1
  141. package/UI/TransactionsToastList/components/TransactionToast/index.js +1 -1
  142. package/UI/TransactionsToastList/components/TransactionToastGuard.js +1 -1
  143. package/UI/TransactionsToastList/components/index.js +1 -1
  144. package/UI/TransactionsToastList/index.js +1 -1
  145. package/UI/Trim/Trim.js +1 -1
  146. package/UI/Trim/index.js +1 -1
  147. package/UI/extension/ExtensionLoginButton/ExtensionLoginButton.js +1 -1
  148. package/UI/extension/ExtensionLoginButton/index.js +1 -1
  149. package/UI/index.js +1 -1
  150. package/UI/ledger/LedgerLoginButton/LedgerLoginButton.js +1 -1
  151. package/UI/ledger/LedgerLoginButton/index.js +1 -1
  152. package/UI/ledger/LedgerLoginContainer/AddressRow/AddressRow.js +1 -1
  153. package/UI/ledger/LedgerLoginContainer/AddressRow/index.js +1 -1
  154. package/UI/ledger/LedgerLoginContainer/AddressTable/AddressTable.js +1 -1
  155. package/UI/ledger/LedgerLoginContainer/AddressTable/index.js +1 -1
  156. package/UI/ledger/LedgerLoginContainer/ConfirmAddress/ConfirmAddress.js +1 -1
  157. package/UI/ledger/LedgerLoginContainer/ConfirmAddress/index.js +1 -1
  158. package/UI/ledger/LedgerLoginContainer/LedgerLoginContainer.js +1 -1
  159. package/UI/ledger/LedgerLoginContainer/LedgerLoginContent/LedgerLoginContent.js +1 -1
  160. package/UI/ledger/LedgerLoginContainer/LedgerLoginContent/index.js +1 -1
  161. package/UI/ledger/LedgerLoginContainer/LedgerLoginContentBody/LedgerLoginContentBody.js +1 -1
  162. package/UI/ledger/LedgerLoginContainer/LedgerLoginContentBody/index.js +1 -1
  163. package/UI/ledger/LedgerLoginContainer/LedgerScamPhishingAlert/LedgerScamPhishingAlert.js +1 -1
  164. package/UI/ledger/LedgerLoginContainer/LedgerScamPhishingAlert/index.js +1 -1
  165. package/UI/ledger/LedgerLoginContainer/index.js +1 -1
  166. package/UI/ledger/index.js +1 -1
  167. package/UI/operaWallet/OperaWalletLoginButton/OperaWalletLoginButton.js +1 -1
  168. package/UI/operaWallet/OperaWalletLoginButton/index.js +1 -1
  169. package/UI/pages/UnlockPage/index.js +1 -1
  170. package/UI/pages/index.js +1 -1
  171. package/UI/walletConnect/WalletConnectLoginButton/WalletConnectLoginButton.js +1 -1
  172. package/UI/walletConnect/WalletConnectLoginButton/index.js +1 -1
  173. package/UI/walletConnect/WalletConnectLoginContainer/WalletConnectLoginContainer.js +1 -1
  174. package/UI/walletConnect/WalletConnectLoginContainer/WalletConnectLoginContent/WalletConnectLoginContent.js +1 -1
  175. package/UI/walletConnect/WalletConnectLoginContainer/WalletConnectLoginContent/index.js +1 -1
  176. package/UI/walletConnect/WalletConnectLoginContainer/index.js +1 -1
  177. package/UI/walletConnect/index.js +1 -1
  178. package/UI/webWallet/WebWalletLoginButton/WebWalletLoginButton.js +1 -1
  179. package/UI/webWallet/WebWalletLoginButton/index.js +1 -1
  180. package/__chunks__/{chunk-7YRXKVFC.js → chunk-22653KWI.js} +2 -2
  181. package/__chunks__/{chunk-Y32GY6U3.js → chunk-2B2ZUD6Y.js} +2 -2
  182. package/__chunks__/{chunk-PXG6N5E5.js → chunk-2CGQSZC5.js} +2 -2
  183. package/__chunks__/{chunk-7OQWJKQZ.js → chunk-2JWAQOL5.js} +2 -2
  184. package/__chunks__/{chunk-WUH42OKB.js → chunk-2PJ7UKHW.js} +2 -2
  185. package/__chunks__/{chunk-F2OKX2C5.js → chunk-2TWGAJA5.js} +2 -2
  186. package/__chunks__/{chunk-TAIAX4MR.js → chunk-33TGQ5RJ.js} +2 -2
  187. package/__chunks__/{chunk-VSIN3XSZ.js → chunk-34OWP2CT.js} +2 -2
  188. package/__chunks__/{chunk-Z2IUEYOJ.js → chunk-37UOW7MW.js} +2 -2
  189. package/__chunks__/{chunk-4KX62GHZ.js → chunk-3GGT4GXK.js} +2 -2
  190. package/__chunks__/{chunk-LWPPYSN4.js → chunk-3KS64ZOG.js} +2 -2
  191. package/__chunks__/{chunk-JXYHVVPZ.js → chunk-3WVFLHPP.js} +2 -2
  192. package/__chunks__/chunk-3ZDQAGYC.js +2 -0
  193. package/__chunks__/{chunk-AXCF5MZA.js → chunk-433WKECT.js} +2 -2
  194. package/__chunks__/{chunk-H5IXSA6V.js → chunk-4BH4TDPU.js} +2 -2
  195. package/__chunks__/{chunk-G7SZKQPX.js → chunk-4PZNQBKV.js} +2 -2
  196. package/__chunks__/{chunk-WUL7CKZZ.js → chunk-4VWBAWVD.js} +2 -2
  197. package/__chunks__/chunk-4ZBYJ2OS.js +2 -0
  198. package/__chunks__/chunk-57MGOKWO.js +2 -0
  199. package/__chunks__/{chunk-ZTCM6KQY.js → chunk-5K7S52CX.js} +2 -2
  200. package/__chunks__/{chunk-BPXWSLYZ.js → chunk-5MLKKL7N.js} +2 -2
  201. package/__chunks__/{chunk-6BP3USVT.js → chunk-5NX52ITO.js} +2 -2
  202. package/__chunks__/{chunk-F2BIOTOA.js → chunk-5RE23VF2.js} +2 -2
  203. package/__chunks__/{chunk-QDHQC6SV.js → chunk-5S22EFVA.js} +2 -2
  204. package/__chunks__/{chunk-6GJ5V6RC.js → chunk-5VJOVYK7.js} +2 -2
  205. package/__chunks__/chunk-5ZZ37YSM.js +2 -0
  206. package/__chunks__/{chunk-ZYAAHWXL.js → chunk-6E4G7TK7.js} +2 -2
  207. package/__chunks__/{chunk-IKYETSFR.js → chunk-6GX5FZRL.js} +2 -2
  208. package/__chunks__/{chunk-3L4BJLF3.js → chunk-6TEHRDXX.js} +2 -2
  209. package/__chunks__/{chunk-ZYCVB77J.js → chunk-6WYGRRUJ.js} +2 -2
  210. package/__chunks__/{chunk-T2XIGMSV.js → chunk-75Z3MQJT.js} +2 -2
  211. package/__chunks__/{chunk-F6BF5LL6.js → chunk-7H7WRGGH.js} +2 -2
  212. package/__chunks__/{chunk-VCOJOBPG.js → chunk-7K6NOFWL.js} +2 -2
  213. package/__chunks__/{chunk-M2II2EV3.js → chunk-7NMC6RR5.js} +2 -2
  214. package/__chunks__/{chunk-7MIC3JZI.js → chunk-A7TWVQQK.js} +2 -2
  215. package/__chunks__/{chunk-FFE3XSJM.js → chunk-ADWVWIEM.js} +2 -2
  216. package/__chunks__/chunk-AHFYNRN4.js +2 -0
  217. package/__chunks__/{chunk-T3XCKCHC.js → chunk-APXHZA5D.js} +2 -2
  218. package/__chunks__/{chunk-5MEAWPYC.js → chunk-ASFI47IA.js} +2 -2
  219. package/__chunks__/{chunk-LZMDZY72.js → chunk-AZXKELEZ.js} +2 -2
  220. package/__chunks__/{chunk-JNLUAZSZ.js → chunk-B334KYYI.js} +2 -2
  221. package/__chunks__/{chunk-VJ5MRYB5.js → chunk-B5LQV6SO.js} +2 -2
  222. package/__chunks__/{chunk-EIRH5QU7.js → chunk-B5XOIZK3.js} +2 -2
  223. package/__chunks__/{chunk-F4UH5DGH.js → chunk-B7PIHH4Z.js} +2 -2
  224. package/__chunks__/{chunk-OELCMO4H.js → chunk-BCPALB5T.js} +2 -2
  225. package/__chunks__/{chunk-2TM66TMJ.js → chunk-BES6O6XQ.js} +2 -2
  226. package/__chunks__/chunk-BGSMAY7X.js +2 -0
  227. package/__chunks__/{chunk-BEYDAUI5.js → chunk-BL47BHIP.js} +2 -2
  228. package/__chunks__/{chunk-DVAEAQMA.js → chunk-C33VDAKX.js} +2 -2
  229. package/__chunks__/{chunk-DZ7L5IGD.js → chunk-CPQUBUCI.js} +2 -2
  230. package/__chunks__/{chunk-7HIDWXXF.js → chunk-CTCW7NSO.js} +2 -2
  231. package/__chunks__/{chunk-HSHSXGFJ.js → chunk-D5DFP7CW.js} +2 -2
  232. package/__chunks__/{chunk-NSKYVZJN.js → chunk-DARDVN2R.js} +2 -2
  233. package/__chunks__/{chunk-TPVNIR4Q.js → chunk-DAXRQGPT.js} +2 -2
  234. package/__chunks__/{chunk-QEZCNJUW.js → chunk-DDHUB6G4.js} +2 -2
  235. package/__chunks__/{chunk-ORH5JTJ2.js → chunk-DHOU5N6K.js} +2 -2
  236. package/__chunks__/chunk-DJLWMOF2.js +2 -0
  237. package/__chunks__/{chunk-WHWLRYWR.js → chunk-DL4OIHR7.js} +2 -2
  238. package/__chunks__/{chunk-MUQFSIX7.js → chunk-DOYTFQLL.js} +2 -2
  239. package/__chunks__/{chunk-OLMBOVNZ.js → chunk-DOZ4K2MM.js} +2 -2
  240. package/__chunks__/chunk-DQDJOYJ3.js +2 -0
  241. package/__chunks__/{chunk-QLLZ4VKT.js → chunk-DUR4Z2V4.js} +2 -2
  242. package/__chunks__/{chunk-BFJNVXKL.js → chunk-E52JMGRG.js} +2 -2
  243. package/__chunks__/{chunk-ZREM2SRP.js → chunk-EB7JEQ2D.js} +2 -2
  244. package/__chunks__/chunk-EG2O374G.js +2 -0
  245. package/__chunks__/{chunk-IWVAAFNG.js → chunk-EH3VGFLZ.js} +2 -2
  246. package/__chunks__/{chunk-XQDPCNHU.js → chunk-EM472BS6.js} +2 -2
  247. package/__chunks__/{chunk-TJMA7O7V.js → chunk-EMT7OHS6.js} +2 -2
  248. package/__chunks__/{chunk-3FLQRQDB.js → chunk-EOYYYFHO.js} +2 -2
  249. package/__chunks__/chunk-ERPHTRWS.js +2 -0
  250. package/__chunks__/{chunk-E3BWE6QM.js → chunk-EUCQPZ4G.js} +2 -2
  251. package/__chunks__/{chunk-3XSWVLIK.js → chunk-EVPJF2WQ.js} +2 -2
  252. package/__chunks__/{chunk-4PD6LNNG.js → chunk-EWCT6TNC.js} +2 -2
  253. package/__chunks__/{chunk-7YZGMX36.js → chunk-EZDTHU7S.js} +2 -2
  254. package/__chunks__/{chunk-UKANXYLF.js → chunk-F3VHNKMU.js} +2 -2
  255. package/__chunks__/{chunk-4DF75IC5.js → chunk-FDCOVYKX.js} +2 -2
  256. package/__chunks__/{chunk-2HXGRSSS.js → chunk-FEHH2DKP.js} +2 -2
  257. package/__chunks__/{chunk-CRW7SMSR.js → chunk-FJGHMCO4.js} +2 -2
  258. package/__chunks__/{chunk-WLTVMKRJ.js → chunk-FN7SHYUL.js} +2 -2
  259. package/__chunks__/{chunk-JM3J66S3.js → chunk-FPFBL7X3.js} +2 -2
  260. package/__chunks__/{chunk-RTA2BVZK.js → chunk-FPP2LXZS.js} +2 -2
  261. package/__chunks__/{chunk-QEPIU7ED.js → chunk-FQ2HYNEY.js} +2 -2
  262. package/__chunks__/{chunk-BCDVJEBI.js → chunk-FUCYQDQD.js} +2 -2
  263. package/__chunks__/{chunk-XX2IXQTE.js → chunk-FWYOOREI.js} +2 -2
  264. package/__chunks__/{chunk-ESXKFLUJ.js → chunk-FZXA5PZL.js} +2 -2
  265. package/__chunks__/{chunk-TEYFZ6MA.js → chunk-G6T7IPAD.js} +2 -2
  266. package/__chunks__/{chunk-TW5DYXF6.js → chunk-G6XV4LJU.js} +2 -2
  267. package/__chunks__/{chunk-MBICMG45.js → chunk-GN7NCNWJ.js} +2 -2
  268. package/__chunks__/{chunk-K4Z44UMX.js → chunk-H2VJ3P7H.js} +2 -2
  269. package/__chunks__/{chunk-OZ6EGPY7.js → chunk-H3MYJJUN.js} +2 -2
  270. package/__chunks__/{chunk-EJRNHOH3.js → chunk-HCWIGEAB.js} +2 -2
  271. package/__chunks__/{chunk-55LLOWC3.js → chunk-HGNIP6AF.js} +2 -2
  272. package/__chunks__/{chunk-I43GQEUX.js → chunk-HNLV2NQY.js} +2 -2
  273. package/__chunks__/{chunk-OBJLMTBV.js → chunk-HP225GSK.js} +2 -2
  274. package/__chunks__/{chunk-GZ2TGZQJ.js → chunk-HSGECK3C.js} +2 -2
  275. package/__chunks__/{chunk-DQKH5X26.js → chunk-HXRTSI7F.js} +2 -2
  276. package/__chunks__/{chunk-3ZIHQ4FY.js → chunk-I3AP4JPT.js} +2 -2
  277. package/__chunks__/chunk-I4M525R6.js +2 -0
  278. package/__chunks__/{chunk-Y2F3ZHG3.js → chunk-IQADCPRE.js} +2 -2
  279. package/__chunks__/{chunk-QS4HNV74.js → chunk-IQCMRUJL.js} +2 -2
  280. package/__chunks__/{chunk-NP5EWNFK.js → chunk-IQXQYDM4.js} +2 -2
  281. package/__chunks__/{chunk-HBOCZTQA.js → chunk-J4XFKPBU.js} +2 -2
  282. package/__chunks__/{chunk-SKNRXIT3.js → chunk-JDQTNBFM.js} +2 -2
  283. package/__chunks__/{chunk-UIU6WAFK.js → chunk-JFUMP5HO.js} +2 -2
  284. package/__chunks__/{chunk-QYPS3UJJ.js → chunk-JKR7SOQJ.js} +2 -2
  285. package/__chunks__/{chunk-NWBDVMVY.js → chunk-JQO7AI3Z.js} +2 -2
  286. package/__chunks__/{chunk-ZDBP4W72.js → chunk-JR5GFXG5.js} +2 -2
  287. package/__chunks__/{chunk-LRHOPGQB.js → chunk-JXXT73LC.js} +2 -2
  288. package/__chunks__/{chunk-TFUPSHW4.js → chunk-JYL4VUFX.js} +2 -2
  289. package/__chunks__/chunk-K4E2N6ZV.js +2 -0
  290. package/__chunks__/{chunk-BSISGZWU.js → chunk-K7CGY2SA.js} +2 -2
  291. package/__chunks__/{chunk-T55CUPR7.js → chunk-KEUWEA3Y.js} +2 -2
  292. package/__chunks__/chunk-KIAMPAIZ.js +2 -0
  293. package/__chunks__/{chunk-DSLI6DL5.js → chunk-KIPFAGUD.js} +2 -2
  294. package/__chunks__/{chunk-GEKAXIFE.js → chunk-KPCM63V5.js} +2 -2
  295. package/__chunks__/{chunk-SFLF6YPS.js → chunk-KPUIXMI2.js} +2 -2
  296. package/__chunks__/{chunk-VZP45UJO.js → chunk-KXOZIR3A.js} +2 -2
  297. package/__chunks__/{chunk-FAED2F23.js → chunk-L73C6M5T.js} +2 -2
  298. package/__chunks__/{chunk-R5XRFA4H.js → chunk-L7S3TPVX.js} +2 -2
  299. package/__chunks__/chunk-LCDY24RA.js +2 -0
  300. package/__chunks__/{chunk-KYJ6XGBQ.js → chunk-LCQZICY3.js} +2 -2
  301. package/__chunks__/{chunk-RJ4ERKKX.js → chunk-LDBJIAVF.js} +2 -2
  302. package/__chunks__/{chunk-NTGQ67WH.js → chunk-LMMEFKIY.js} +2 -2
  303. package/__chunks__/{chunk-6MCXGHH5.js → chunk-LOXOWBR5.js} +2 -2
  304. package/__chunks__/chunk-LSQZ3XGZ.js +2 -0
  305. package/__chunks__/chunk-LY4TY33Z.js +2 -0
  306. package/__chunks__/{chunk-GPBYWYWR.js → chunk-MI7FWQXW.js} +2 -2
  307. package/__chunks__/{chunk-6ICEMIRY.js → chunk-MKHO2MGG.js} +2 -2
  308. package/__chunks__/{chunk-ADR5DHE6.js → chunk-MMRXZJXN.js} +2 -2
  309. package/__chunks__/{chunk-LHFN6H4D.js → chunk-MMTL564U.js} +2 -2
  310. package/__chunks__/{chunk-3BKDRZVS.js → chunk-MRMMNAAR.js} +2 -2
  311. package/__chunks__/{chunk-WQZI355W.js → chunk-MU3UG4Z6.js} +2 -2
  312. package/__chunks__/{chunk-3T4BBHN4.js → chunk-N4GDQCA5.js} +2 -2
  313. package/__chunks__/{chunk-C4EHNU42.js → chunk-N6XOPGZY.js} +2 -2
  314. package/__chunks__/{chunk-7IOVMGNB.js → chunk-N6YBWYGC.js} +2 -2
  315. package/__chunks__/{chunk-LFQSKE5Z.js → chunk-NAUHJHLS.js} +2 -2
  316. package/__chunks__/{chunk-PAODO4PW.js → chunk-NERC32MO.js} +2 -2
  317. package/__chunks__/{chunk-I6RLNFRM.js → chunk-NNMZ3IUQ.js} +2 -2
  318. package/__chunks__/{chunk-Z646TLWG.js → chunk-NOEFKPCA.js} +2 -2
  319. package/__chunks__/{chunk-OA3LNTX7.js → chunk-NOMRSCJH.js} +2 -2
  320. package/__chunks__/{chunk-XEJE5SM2.js → chunk-NSFVRFSK.js} +2 -2
  321. package/__chunks__/{chunk-GHAJP36R.js → chunk-NUHNBLHQ.js} +2 -2
  322. package/__chunks__/{chunk-4QMRNCSW.js → chunk-NWCQLHWJ.js} +2 -2
  323. package/__chunks__/{chunk-6LKC435L.js → chunk-O6T4FNQ7.js} +2 -2
  324. package/__chunks__/{chunk-NVBTZHEZ.js → chunk-OBKTSL44.js} +2 -2
  325. package/__chunks__/{chunk-2DOHXYLO.js → chunk-OPBWX3P6.js} +2 -2
  326. package/__chunks__/{chunk-NZCMDCSL.js → chunk-OQXJCRND.js} +2 -2
  327. package/__chunks__/{chunk-ZKNQLI45.js → chunk-OTXSZPC2.js} +2 -2
  328. package/__chunks__/{chunk-2TCV2V27.js → chunk-OVYTUIPF.js} +2 -2
  329. package/__chunks__/chunk-OZTPUXR5.js +2 -0
  330. package/__chunks__/{chunk-3XK4YMPZ.js → chunk-PCVLTKF2.js} +2 -2
  331. package/__chunks__/{chunk-E3C77CW6.js → chunk-PHLAPND5.js} +2 -2
  332. package/__chunks__/{chunk-SJRTDL36.js → chunk-PJXNFPK6.js} +2 -2
  333. package/__chunks__/chunk-PVX44JF2.js +2 -0
  334. package/__chunks__/{chunk-2PV5VAFR.js → chunk-Q5ZHB6AJ.js} +2 -2
  335. package/__chunks__/{chunk-HUJHGULK.js → chunk-QDFC3DEX.js} +2 -2
  336. package/__chunks__/{chunk-M42B43SL.js → chunk-QIMOMR35.js} +2 -2
  337. package/__chunks__/{chunk-7IICAJQP.js → chunk-QIWTS7BE.js} +2 -2
  338. package/__chunks__/{chunk-S7MC7GGU.js → chunk-QMT647VG.js} +2 -2
  339. package/__chunks__/chunk-QPYVFYAD.js +2 -0
  340. package/__chunks__/{chunk-KVGQRVLB.js → chunk-QTHKLGEF.js} +2 -2
  341. package/__chunks__/{chunk-IKNNPDGJ.js → chunk-QW3UIC4A.js} +2 -2
  342. package/__chunks__/{chunk-UOZ6KVPY.js → chunk-QZM2ABCE.js} +2 -2
  343. package/__chunks__/{chunk-Q3BM2D3H.js → chunk-R3V7K4KF.js} +2 -2
  344. package/__chunks__/{chunk-SKIDKYBV.js → chunk-R4ORKK6R.js} +2 -2
  345. package/__chunks__/chunk-R5OKEXDV.js +2 -0
  346. package/__chunks__/{chunk-JZK45TN2.js → chunk-RC5XXUL3.js} +2 -2
  347. package/__chunks__/{chunk-LGTDA76W.js → chunk-RMISIO4V.js} +2 -2
  348. package/__chunks__/{chunk-GOVUXJXV.js → chunk-RRVREJW4.js} +2 -2
  349. package/__chunks__/chunk-RWHXZHL7.js +2 -0
  350. package/__chunks__/{chunk-N26XPT42.js → chunk-S6RZJX63.js} +2 -2
  351. package/__chunks__/{chunk-D2A6MLO5.js → chunk-S6YS7KTI.js} +2 -2
  352. package/__chunks__/chunk-SBSEX5UL.js +2 -0
  353. package/__chunks__/{chunk-PR5TUV5B.js → chunk-SCYR4FC2.js} +2 -2
  354. package/__chunks__/{chunk-ZM7DIGVE.js → chunk-SKQGES6Y.js} +2 -2
  355. package/__chunks__/{chunk-4ZPTVFD4.js → chunk-SLJZL2HK.js} +2 -2
  356. package/__chunks__/{chunk-6GIB7XPM.js → chunk-SPKBMWKW.js} +2 -2
  357. package/__chunks__/{chunk-NVIYAYF3.js → chunk-T2LRDANU.js} +2 -2
  358. package/__chunks__/{chunk-SJBKJ3I7.js → chunk-T2RVKXSY.js} +2 -2
  359. package/__chunks__/{chunk-QLT43ESF.js → chunk-T7ZJNR7I.js} +2 -2
  360. package/__chunks__/{chunk-FOOIDEQY.js → chunk-TAZUF6XN.js} +2 -2
  361. package/__chunks__/{chunk-YRZCKDN3.js → chunk-TH7MCVOU.js} +2 -2
  362. package/__chunks__/{chunk-2N3GINHZ.js → chunk-TI5TSEJK.js} +2 -2
  363. package/__chunks__/{chunk-ZMYWUH7V.js → chunk-U3MPHTJB.js} +2 -2
  364. package/__chunks__/chunk-U5VWFE4A.js +2 -0
  365. package/__chunks__/{chunk-Z3HAPIQM.js → chunk-UCC5EDKC.js} +2 -2
  366. package/__chunks__/{chunk-22T2FCCV.js → chunk-UX47CRDI.js} +2 -2
  367. package/__chunks__/{chunk-QUGFN6JM.js → chunk-V5ALS2ZO.js} +2 -2
  368. package/__chunks__/{chunk-IAXBBYHZ.js → chunk-VGYAWKFN.js} +2 -2
  369. package/__chunks__/{chunk-HO4PPF6H.js → chunk-VJV5P4QZ.js} +2 -2
  370. package/__chunks__/{chunk-T75LEZOX.js → chunk-VJWPVSGV.js} +2 -2
  371. package/__chunks__/chunk-VNGKH6BT.js +2 -0
  372. package/__chunks__/{chunk-I6TZ7D5F.js → chunk-VQP3RZSN.js} +2 -2
  373. package/__chunks__/{chunk-3ECCIDMY.js → chunk-VRXBSDAZ.js} +2 -2
  374. package/__chunks__/{chunk-K7QVTU6G.js → chunk-VXUQOQH5.js} +2 -2
  375. package/__chunks__/{chunk-3DYVQNEA.js → chunk-W53PB4OD.js} +2 -2
  376. package/__chunks__/chunk-WEA4DWBG.js +2 -0
  377. package/__chunks__/{chunk-VQKAC5RF.js → chunk-WHYRSFF3.js} +2 -2
  378. package/__chunks__/chunk-WKHTG3RF.js +2 -0
  379. package/__chunks__/{chunk-ST4AODAO.js → chunk-WLEEOQCW.js} +2 -2
  380. package/__chunks__/{chunk-MXR66C5L.js → chunk-WM2YYO4Q.js} +2 -2
  381. package/__chunks__/{chunk-W2FKJ7OL.js → chunk-WW77BN4C.js} +2 -2
  382. package/__chunks__/{chunk-5DTAADP5.js → chunk-X35MAP4D.js} +2 -2
  383. package/__chunks__/{chunk-32ZZ5NAZ.js → chunk-X5OYJPY5.js} +2 -2
  384. package/__chunks__/{chunk-TZIM423C.js → chunk-XK45GTXU.js} +2 -2
  385. package/__chunks__/chunk-XKE3DOCW.js +2 -0
  386. package/__chunks__/{chunk-2REEJUQS.js → chunk-XNP2DQWS.js} +2 -2
  387. package/__chunks__/{chunk-XJEKGX4Y.js → chunk-XQ2JSGE5.js} +2 -2
  388. package/__chunks__/{chunk-UMDDG7G3.js → chunk-XQKVNX63.js} +2 -2
  389. package/__chunks__/chunk-XVNEOFCE.js +2 -0
  390. package/__chunks__/{chunk-W26NNPMI.js → chunk-YDZ6GJEK.js} +2 -2
  391. package/__chunks__/{chunk-IZ7A4EL6.js → chunk-YOHYVEBJ.js} +2 -2
  392. package/__chunks__/{chunk-XC6KSYHG.js → chunk-Z2OABX4K.js} +2 -2
  393. package/__chunks__/{chunk-NFKUS7KG.js → chunk-Z7O4NSZ7.js} +2 -2
  394. package/__chunks__/{chunk-PWULVZQ7.js → chunk-ZO4QMYOG.js} +2 -2
  395. package/__chunks__/chunk-ZONRTCUB.js +2 -0
  396. package/__chunks__/{chunk-SVLG2RPV.js → chunk-ZXFXP7I4.js} +2 -2
  397. package/__chunks__/{chunk-UBODCMMS.js → chunk-ZZQOQQLY.js} +2 -2
  398. package/__commonjs/UI/DappModal/hooks/index.js +2 -2
  399. package/__commonjs/UI/DappModal/hooks/useDappModal.js +2 -2
  400. package/__commonjs/UI/DappModal/index.js +2 -2
  401. package/__commonjs/UI/NotificationModal/NotificationModal.js +3 -3
  402. package/__commonjs/UI/NotificationModal/index.js +3 -3
  403. package/__commonjs/UI/SignTransactionsModals/SignTransactionsModals.js +1 -1
  404. package/__commonjs/UI/SignTransactionsModals/SignWithDeviceModal/SignWithDeviceModal.js +2 -2
  405. package/__commonjs/UI/SignTransactionsModals/SignWithDeviceModal/index.js +2 -2
  406. package/__commonjs/UI/SignTransactionsModals/SignWithLedgerModal/SignWithLedgerModal.js +1 -1
  407. package/__commonjs/UI/SignTransactionsModals/SignWithLedgerModal/index.js +1 -1
  408. package/__commonjs/UI/SignTransactionsModals/components/TransactionStatusToast.js +3 -3
  409. package/__commonjs/UI/SignTransactionsModals/index.js +1 -1
  410. package/__commonjs/UI/TransactionInfo/components/NonceMessage/NonceMessage.js +3 -3
  411. package/__commonjs/UI/TransactionInfo/components/NonceMessage/index.js +3 -3
  412. package/__commonjs/UI/TransactionInfo/components/ScResultsList/components/ResultReceiver/ResultReceiver.js +1 -1
  413. package/__commonjs/UI/TransactionInfo/components/ScResultsList/components/ResultSender/ResultSender.js +1 -1
  414. package/__commonjs/UI/TransactionInfo/components/TransactionAction/components/TransactionActionBlock/components/TransactionActionCollection.js +2 -2
  415. package/__commonjs/UI/TransactionInfo/components/TransactionAction/components/TransactionActionBlock/components/TransactionActionToken.js +2 -2
  416. package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoFee/TransactionInfoFee.js +3 -3
  417. package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoFee/index.js +3 -3
  418. package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoMiniblock/TransactionInfoMiniblock.js +6 -6
  419. package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoMiniblock/index.js +6 -6
  420. package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoNonce/TransactionInfoNonce.js +3 -3
  421. package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoNonce/index.js +3 -3
  422. package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoValue/TransactionInfoValue.js +3 -3
  423. package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoValue/index.js +3 -3
  424. package/__commonjs/UI/TransactionsTable/components/TransactionReceiver.js +6 -6
  425. package/__commonjs/UI/TransactionsTable/components/TransactionSender.js +6 -6
  426. package/__commonjs/UI/TransactionsToastList/components/CustomToast/CustomToast.js +1 -1
  427. package/__commonjs/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/components/ComponentToastFooter.js +1 -1
  428. package/__commonjs/UI/TransactionsToastList/components/CustomToast/components/index.js +1 -1
  429. package/__commonjs/UI/TransactionsToastList/components/CustomToast/index.js +1 -1
  430. package/__commonjs/UI/extension/ExtensionLoginButton/ExtensionLoginButton.js +1 -1
  431. package/__commonjs/UI/extension/ExtensionLoginButton/index.js +1 -1
  432. package/__commonjs/UI/index.js +2 -2
  433. package/__commonjs/UI/ledger/LedgerLoginButton/LedgerLoginButton.js +1 -1
  434. package/__commonjs/UI/ledger/LedgerLoginButton/index.js +1 -1
  435. package/__commonjs/UI/ledger/LedgerLoginContainer/AddressRow/AddressRow.js +4 -4
  436. package/__commonjs/UI/ledger/LedgerLoginContainer/AddressRow/index.js +4 -4
  437. package/__commonjs/UI/ledger/LedgerLoginContainer/LedgerLoginContainer.js +1 -1
  438. package/__commonjs/UI/ledger/LedgerLoginContainer/LedgerLoginContent/LedgerLoginContent.js +1 -1
  439. package/__commonjs/UI/ledger/LedgerLoginContainer/LedgerLoginContent/index.js +1 -1
  440. package/__commonjs/UI/ledger/LedgerLoginContainer/index.js +1 -1
  441. package/__commonjs/UI/ledger/index.js +2 -2
  442. package/__commonjs/UI/operaWallet/OperaWalletLoginButton/OperaWalletLoginButton.js +1 -1
  443. package/__commonjs/UI/operaWallet/OperaWalletLoginButton/index.js +1 -1
  444. package/__commonjs/UI/pages/UnlockPage/index.js +2 -2
  445. package/__commonjs/UI/pages/index.js +2 -2
  446. package/__commonjs/UI/walletConnect/WalletConnectLoginButton/WalletConnectLoginButton.js +1 -1
  447. package/__commonjs/UI/walletConnect/WalletConnectLoginButton/index.js +1 -1
  448. package/__commonjs/UI/walletConnect/WalletConnectLoginContainer/WalletConnectLoginContainer.js +1 -1
  449. package/__commonjs/UI/walletConnect/WalletConnectLoginContainer/WalletConnectLoginContent/WalletConnectLoginContent.js +2 -2
  450. package/__commonjs/UI/walletConnect/WalletConnectLoginContainer/WalletConnectLoginContent/index.js +2 -2
  451. package/__commonjs/UI/walletConnect/WalletConnectLoginContainer/index.js +1 -1
  452. package/__commonjs/UI/walletConnect/index.js +1 -1
  453. package/__commonjs/__mocks__/index.js +2 -2
  454. package/__commonjs/__mocks__/utils/index.js +2 -2
  455. package/__commonjs/__mocks__/utils/renderWithProvider.js +2 -2
  456. package/__commonjs/apiCalls/utils/getCleanApiAddress.js +1 -1
  457. package/__commonjs/apiCalls/utils/index.js +1 -1
  458. package/__commonjs/components/BatchTransactionsSender/BatchTransactionsSender.js +1 -1
  459. package/__commonjs/components/BatchTransactionsSender/index.js +1 -1
  460. package/__commonjs/components/LogoutListener/LogoutListener.js +1 -1
  461. package/__commonjs/components/LogoutListener/helpers/index.js +1 -1
  462. package/__commonjs/components/LogoutListener/helpers/useLogoutFromMultipleTabs.js +1 -1
  463. package/__commonjs/components/LogoutListener/helpers/useNativeAuthLogout.js +1 -1
  464. package/__commonjs/components/LogoutListener/index.js +1 -1
  465. package/__commonjs/components/ProviderInitializer/ProviderInitializer.js +1 -1
  466. package/__commonjs/components/ProviderInitializer/hooks/index.js +1 -1
  467. package/__commonjs/components/ProviderInitializer/hooks/useSetLedgerProvider.js +1 -1
  468. package/__commonjs/components/ProviderInitializer/index.js +1 -1
  469. package/__commonjs/components/TransactionSender/TransactionSender.js +1 -1
  470. package/__commonjs/components/TransactionSender/index.js +1 -1
  471. package/__commonjs/hooks/account/index.js +1 -1
  472. package/__commonjs/hooks/account/useGetWebsocketEvent.js +1 -1
  473. package/__commonjs/hooks/index.js +3 -3
  474. package/__commonjs/hooks/login/index.js +3 -3
  475. package/__commonjs/hooks/login/useExtensionLogin.js +1 -1
  476. package/__commonjs/hooks/login/useGetModalLoginMethods.js +2 -2
  477. package/__commonjs/hooks/login/useLedgerLogin.js +1 -1
  478. package/__commonjs/hooks/login/useOperaLogin.js +1 -1
  479. package/__commonjs/hooks/login/useWalletConnectV2Login.js +1 -1
  480. package/__commonjs/hooks/transactions/batch/useGetBatchStatus.js +1 -1
  481. package/__commonjs/hooks/transactions/batch/useResolveBatchStatusResponse.js +1 -1
  482. package/__commonjs/hooks/transactions/helpers/index.js +1 -1
  483. package/__commonjs/hooks/transactions/helpers/useGetLedgerProvider.js +1 -1
  484. package/__commonjs/hooks/transactions/index.js +1 -1
  485. package/__commonjs/hooks/transactions/useGetFailedTransactions.js +1 -1
  486. package/__commonjs/hooks/transactions/useGetPendingTransactions.js +1 -1
  487. package/__commonjs/hooks/transactions/useGetSignedTransactions.js +1 -1
  488. package/__commonjs/hooks/transactions/useGetSuccessfulTransactions.js +1 -1
  489. package/__commonjs/hooks/transactions/useSignTransactionsWithDevice.js +1 -1
  490. package/__commonjs/hooks/transactions/useSignTransactionsWithLedger.js +1 -1
  491. package/__commonjs/hooks/transactions/useTrackTransactionStatus.js +1 -1
  492. package/__commonjs/reduxStore/persistedRootReducer.d.ts +1 -1
  493. package/__commonjs/reduxStore/slices/networkConfigSlice.js +1 -1
  494. package/__commonjs/services/nativeAuth/helpers/getAuthorizationInfo.js +1 -1
  495. package/__commonjs/utils/account/refreshAccount.js +1 -1
  496. package/__commonjs/utils/index.js +2 -2
  497. package/__commonjs/utils/internal/index.js +1 -1
  498. package/__commonjs/utils/internal/optionalRedirect.js +1 -1
  499. package/__commonjs/utils/logout.js +1 -1
  500. package/__commonjs/utils/redirect.d.ts +5 -1
  501. package/__commonjs/utils/redirect.js +1 -1
  502. package/__commonjs/web/hooks/index.js +1 -1
  503. package/__commonjs/web/hooks/useIdleTimer.js +1 -1
  504. package/__commonjs/web/index.js +1 -1
  505. package/__commonjs/wrappers/AppInitializer.js +1 -1
  506. package/__commonjs/wrappers/AuthenticatedRoutesWrapper/AuthenticatedRoutesWrapper.js +1 -1
  507. package/__commonjs/wrappers/AuthenticatedRoutesWrapper/index.js +1 -1
  508. package/__commonjs/wrappers/DappProvider/CustomComponents.js +3 -3
  509. package/__commonjs/wrappers/DappProvider/DappProvider.js +2 -2
  510. package/__commonjs/wrappers/DappProvider/index.js +2 -2
  511. package/__commonjs/wrappers/index.js +2 -2
  512. package/__mocks__/index.js +1 -1
  513. package/__mocks__/utils/index.js +1 -1
  514. package/__mocks__/utils/renderWithProvider.js +1 -1
  515. package/apiCalls/accounts/getAccountFromApi.js +1 -1
  516. package/apiCalls/accounts/index.js +1 -1
  517. package/apiCalls/configuration/getNetworkConfig.js +1 -1
  518. package/apiCalls/configuration/index.js +1 -1
  519. package/apiCalls/economics/getEconomicsInfo.js +1 -1
  520. package/apiCalls/economics/index.js +1 -1
  521. package/apiCalls/getScamAddressData.js +1 -1
  522. package/apiCalls/index.js +1 -1
  523. package/apiCalls/transactions/getTransactionsByHashes.js +1 -1
  524. package/apiCalls/transactions/index.js +1 -1
  525. package/apiCalls/transactions/sendSignedTransactions.js +1 -1
  526. package/apiCalls/utils/getCleanApiAddress.js +1 -1
  527. package/apiCalls/utils/index.js +1 -1
  528. package/components/BatchTransactionsSender/BatchTransactionsSender.js +1 -1
  529. package/components/BatchTransactionsSender/index.js +1 -1
  530. package/components/BatchTransactionsTracker/BatchTransactionsTracker.js +1 -1
  531. package/components/LogoutListener/LogoutListener.js +1 -1
  532. package/components/LogoutListener/helpers/index.js +1 -1
  533. package/components/LogoutListener/helpers/useLogoutFromMultipleTabs.js +1 -1
  534. package/components/LogoutListener/helpers/useNativeAuthLogout.js +1 -1
  535. package/components/LogoutListener/helpers/useNativeAuthLogoutWarning/index.js +1 -1
  536. package/components/LogoutListener/helpers/useNativeAuthLogoutWarning/useNativeAuthLogoutWarning.js +1 -1
  537. package/components/LogoutListener/index.js +1 -1
  538. package/components/ProviderInitializer/ProviderInitializer.js +1 -1
  539. package/components/ProviderInitializer/hooks/index.js +1 -1
  540. package/components/ProviderInitializer/hooks/useSetLedgerProvider.js +1 -1
  541. package/components/ProviderInitializer/index.js +1 -1
  542. package/components/TransactionSender/TransactionSender.js +1 -1
  543. package/components/TransactionSender/index.js +1 -1
  544. package/components/TransactionsTracker/TransactionTracker.js +1 -1
  545. package/components/TransactionsTracker/index.js +1 -1
  546. package/components/TransactionsTracker/useTransactionsTracker.js +1 -1
  547. package/hooks/account/index.js +1 -1
  548. package/hooks/account/useGetAccount.js +1 -1
  549. package/hooks/account/useGetAccountFromApi.js +1 -1
  550. package/hooks/account/useGetAccountInfo.js +1 -1
  551. package/hooks/account/useGetIsLoggedIn.js +1 -1
  552. package/hooks/account/useGetLoginInfo.js +1 -1
  553. package/hooks/account/useGetWebsocketEvent.js +1 -1
  554. package/hooks/economics/index.js +1 -1
  555. package/hooks/economics/useGetEgldPrice.js +1 -1
  556. package/hooks/index.js +1 -1
  557. package/hooks/login/index.js +1 -1
  558. package/hooks/login/useExtensionLogin.js +1 -1
  559. package/hooks/login/useGetModalLoginMethods.js +1 -1
  560. package/hooks/login/useLedgerLogin.js +1 -1
  561. package/hooks/login/useLoginService.js +1 -1
  562. package/hooks/login/useOperaLogin.js +1 -1
  563. package/hooks/login/useWalletConnectV2Login.js +1 -1
  564. package/hooks/login/useWebViewLogin.js +1 -1
  565. package/hooks/login/useWebWalletLogin.js +1 -1
  566. package/hooks/signMessage/index.js +1 -1
  567. package/hooks/signMessage/useGetLastSignedMessageSession.js +1 -1
  568. package/hooks/signMessage/useGetSignMessageSession.js +1 -1
  569. package/hooks/signMessage/useGetSignedMessageStatus.js +1 -1
  570. package/hooks/signMessage/useSignMessage.js +1 -1
  571. package/hooks/toasts/index.js +1 -1
  572. package/hooks/toasts/useGetToasts.js +1 -1
  573. package/hooks/toasts/useTransactionsToasts.js +1 -1
  574. package/hooks/transactions/batch/tracker/useBatchTransactionsTracker.js +1 -1
  575. package/hooks/transactions/batch/tracker/useCheckBatch.js +1 -1
  576. package/hooks/transactions/batch/tracker/useCheckBatchesOnWsFailureFallback.js +1 -1
  577. package/hooks/transactions/batch/tracker/useCheckHangingBatchesFallback.js +1 -1
  578. package/hooks/transactions/batch/tracker/useUpdateBatch.js +1 -1
  579. package/hooks/transactions/batch/tracker/useVerifyBatchStatus.js +1 -1
  580. package/hooks/transactions/batch/useGetBatchStatus.js +1 -1
  581. package/hooks/transactions/batch/useGetBatches.js +1 -1
  582. package/hooks/transactions/batch/useResolveBatchStatusResponse.js +1 -1
  583. package/hooks/transactions/batch/useSendBatchTransactions.js +1 -1
  584. package/hooks/transactions/helpers/checkNeedsGuardianSigning.js +1 -1
  585. package/hooks/transactions/helpers/getShouldMoveTransactionsToSignedState.js +1 -1
  586. package/hooks/transactions/helpers/index.js +1 -1
  587. package/hooks/transactions/helpers/useClearTransactionsToSignWithWarning.js +1 -1
  588. package/hooks/transactions/helpers/useGetLedgerProvider.js +1 -1
  589. package/hooks/transactions/helpers/useSetTransactionNonces.js +1 -1
  590. package/hooks/transactions/index.js +1 -1
  591. package/hooks/transactions/useCheckTransactionStatus/checkBatch.js +1 -1
  592. package/hooks/transactions/useCheckTransactionStatus/index.js +1 -1
  593. package/hooks/transactions/useCheckTransactionStatus/manageFailedTransactions.js +1 -1
  594. package/hooks/transactions/useCheckTransactionStatus/manageTimedOutTransactions.js +1 -1
  595. package/hooks/transactions/useCheckTransactionStatus/useCheckTransactionStatus.js +1 -1
  596. package/hooks/transactions/useGetActiveTransactionsStatus.js +1 -1
  597. package/hooks/transactions/useGetFailedTransactions.js +1 -1
  598. package/hooks/transactions/useGetLastPendingTransactionHash.js +1 -1
  599. package/hooks/transactions/useGetPendingTransactions.js +1 -1
  600. package/hooks/transactions/useGetSignTransactionsError.js +1 -1
  601. package/hooks/transactions/useGetSignedTransactions.js +1 -1
  602. package/hooks/transactions/useGetSuccessfulTransactions.js +1 -1
  603. package/hooks/transactions/useGetTokenDetails.js +1 -1
  604. package/hooks/transactions/useGetTransactionDisplayInfo.js +1 -1
  605. package/hooks/transactions/useParseSignedTransactions.js +1 -1
  606. package/hooks/transactions/useSignMultipleTransactions.js +1 -1
  607. package/hooks/transactions/useSignTransactions.js +1 -1
  608. package/hooks/transactions/useSignTransactionsCommonData.js +1 -1
  609. package/hooks/transactions/useSignTransactionsWithDevice.js +1 -1
  610. package/hooks/transactions/useSignTransactionsWithLedger.js +1 -1
  611. package/hooks/transactions/useTrackTransactionStatus.js +1 -1
  612. package/hooks/useGetNetworkConfig.js +1 -1
  613. package/hooks/useGetNotification.js +1 -1
  614. package/hooks/userInterface/index.js +1 -1
  615. package/hooks/userInterface/useIsDappModalVisible.js +1 -1
  616. package/hooks/websocketListener/index.js +1 -1
  617. package/hooks/websocketListener/useInitializeWebsocketConnection.js +1 -1
  618. package/hooks/websocketListener/useRegisterWebsocketListener.js +1 -1
  619. package/package.json +1 -1
  620. package/providers/webviewProvider/index.js +1 -1
  621. package/providers/webviewProvider/requestMethods.js +1 -1
  622. package/providers/webviewProvider/webviewProvider.js +1 -1
  623. package/reduxStore/DappProviderContext.js +1 -1
  624. package/reduxStore/middlewares/loginSessionMiddleware.js +1 -1
  625. package/reduxStore/persistConfig.js +1 -1
  626. package/reduxStore/persistedRootReducer.d.ts +1 -1
  627. package/reduxStore/persistedRootReducer.js +1 -1
  628. package/reduxStore/reducers.js +1 -1
  629. package/reduxStore/rootReducer.js +1 -1
  630. package/reduxStore/selectors/accountInfoSelectors.js +1 -1
  631. package/reduxStore/selectors/index.js +1 -1
  632. package/reduxStore/selectors/loginInfoSelectors.js +1 -1
  633. package/reduxStore/selectors/transactionsInfoSelectors.js +1 -1
  634. package/reduxStore/selectors/transactionsSelectors.js +1 -1
  635. package/reduxStore/slices/index.js +1 -1
  636. package/reduxStore/slices/networkConfigSlice.js +1 -1
  637. package/reduxStore/store.js +1 -1
  638. package/services/index.js +1 -1
  639. package/services/nativeAuth/helpers/getAuthorizationInfo.js +1 -1
  640. package/services/nativeAuth/helpers/getIsNativeAuthSingingForbidden.js +1 -1
  641. package/services/nativeAuth/helpers/index.js +1 -1
  642. package/services/nativeAuth/helpers/loginWithNativeAuthToken.js +1 -1
  643. package/services/transactions/clearTransactions.js +1 -1
  644. package/services/transactions/getBatchTransactionsStatus.js +1 -1
  645. package/services/transactions/getTransactionsDetails.js +1 -1
  646. package/services/transactions/index.js +1 -1
  647. package/services/transactions/sendBatchTransactions.js +1 -1
  648. package/services/transactions/sendTransactions.js +1 -1
  649. package/services/transactions/signTransactions.js +1 -1
  650. package/services/transactions/transformAndSignTransactions.js +1 -1
  651. package/services/transactions/updateSignedTransactions.js +1 -1
  652. package/utils/account/getAccount.js +1 -1
  653. package/utils/account/getAccountBalance.js +1 -1
  654. package/utils/account/getAccountShard.js +1 -1
  655. package/utils/account/getAddress.js +1 -1
  656. package/utils/account/getLatestNonce.js +1 -1
  657. package/utils/account/index.js +1 -1
  658. package/utils/account/loginWithExternalProvider.js +1 -1
  659. package/utils/account/refreshAccount.js +1 -1
  660. package/utils/account/setNonce.js +1 -1
  661. package/utils/account/signMessage.js +1 -1
  662. package/utils/getIsLoggedIn.js +1 -1
  663. package/utils/index.js +1 -1
  664. package/utils/internal/index.js +1 -1
  665. package/utils/internal/optionalRedirect.js +1 -1
  666. package/utils/logout.js +1 -1
  667. package/utils/network/getChainID.js +1 -1
  668. package/utils/network/getEgldLabel.js +1 -1
  669. package/utils/network/getNetworkConfig.js +1 -1
  670. package/utils/network/index.js +1 -1
  671. package/utils/redirect.d.ts +5 -1
  672. package/utils/redirect.js +1 -1
  673. package/utils/toasts/customToastsActions.js +1 -1
  674. package/utils/toasts/index.js +1 -1
  675. package/utils/transactions/batch/updateBatchTransactionsStatuses.js +1 -1
  676. package/utils/transactions/getAllTransactionsLink.js +1 -1
  677. package/utils/transactions/getTransactionLink.js +1 -1
  678. package/utils/transactions/index.js +1 -1
  679. package/web/hooks/index.js +1 -1
  680. package/web/hooks/useIdleTimer.js +1 -1
  681. package/web/index.js +1 -1
  682. package/wrappers/AppInitializer.js +1 -1
  683. package/wrappers/AuthenticatedRoutesWrapper/AuthenticatedRoutesWrapper.js +1 -1
  684. package/wrappers/AuthenticatedRoutesWrapper/index.js +1 -1
  685. package/wrappers/AxiosInterceptorContext/AxiosInterceptorContext.js +1 -1
  686. package/wrappers/AxiosInterceptorContext/components/AxiosInterceptor.js +1 -1
  687. package/wrappers/AxiosInterceptorContext/components/AxiosInterceptorContextProvider.js +1 -1
  688. package/wrappers/AxiosInterceptorContext/components/LoginInfoListener.js +1 -1
  689. package/wrappers/AxiosInterceptorContext/components/index.js +1 -1
  690. package/wrappers/AxiosInterceptorContext/index.js +1 -1
  691. package/wrappers/DappProvider/CustomComponents.js +1 -1
  692. package/wrappers/DappProvider/DappProvider.js +1 -1
  693. package/wrappers/DappProvider/index.js +1 -1
  694. package/wrappers/index.js +1 -1
  695. package/__chunks__/chunk-3XIWCEUJ.js +0 -2
  696. package/__chunks__/chunk-42DJQFQR.js +0 -2
  697. package/__chunks__/chunk-6DYJ7AV5.js +0 -2
  698. package/__chunks__/chunk-6PHK63HZ.js +0 -2
  699. package/__chunks__/chunk-7Q6NSANG.js +0 -2
  700. package/__chunks__/chunk-B5RQKWYU.js +0 -2
  701. package/__chunks__/chunk-BGQUHP2E.js +0 -2
  702. package/__chunks__/chunk-BMEVSK5J.js +0 -2
  703. package/__chunks__/chunk-C3UIMP7Y.js +0 -2
  704. package/__chunks__/chunk-DDC4JTYR.js +0 -2
  705. package/__chunks__/chunk-DXDRYWHX.js +0 -2
  706. package/__chunks__/chunk-FFHPZ73S.js +0 -2
  707. package/__chunks__/chunk-FNEEG6ZY.js +0 -2
  708. package/__chunks__/chunk-GXKO42WX.js +0 -2
  709. package/__chunks__/chunk-H2W5JMHC.js +0 -2
  710. package/__chunks__/chunk-HXWLNVTZ.js +0 -2
  711. package/__chunks__/chunk-L7CWRVHM.js +0 -2
  712. package/__chunks__/chunk-LEFQYMUW.js +0 -2
  713. package/__chunks__/chunk-LOHZMMD3.js +0 -2
  714. package/__chunks__/chunk-NCNZ7R2V.js +0 -2
  715. package/__chunks__/chunk-O2EQQHR7.js +0 -2
  716. package/__chunks__/chunk-OBUPBWMK.js +0 -2
  717. package/__chunks__/chunk-OFS7K4FS.js +0 -2
  718. package/__chunks__/chunk-RC3ETEKD.js +0 -2
  719. package/__chunks__/chunk-RWHYWYMX.js +0 -2
  720. package/__chunks__/chunk-UYFXC4HA.js +0 -2
  721. package/__chunks__/chunk-W4MIP4TL.js +0 -2
  722. package/__chunks__/chunk-ZFOCAVEB.js +0 -2
  723. package/__chunks__/chunk-ZSLVCRAP.js +0 -2
@@ -1,4 +1,4 @@
1
- "use strict";var Ip=Object.create;var Ko=Object.defineProperty,Lp=Object.defineProperties,Np=Object.getOwnPropertyDescriptor,Ep=Object.getOwnPropertyDescriptors,Pp=Object.getOwnPropertyNames,vn=Object.getOwnPropertySymbols,Dp=Object.getPrototypeOf,Ct=Object.prototype.hasOwnProperty,oa=Object.prototype.propertyIsEnumerable;var ea=(e,o,t)=>o in e?Ko(e,o,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[o]=t,h=(e,o)=>{for(var t in o||(o={}))Ct.call(o,t)&&ea(e,t,o[t]);if(vn)for(var t of vn(o))oa.call(o,t)&&ea(e,t,o[t]);return e},C=(e,o)=>Lp(e,Ep(o));var Xo=(e,o)=>{var t={};for(var r in e)Ct.call(e,r)&&o.indexOf(r)<0&&(t[r]=e[r]);if(e!=null&&vn)for(var r of vn(e))o.indexOf(r)<0&&oa.call(e,r)&&(t[r]=e[r]);return t};var S=(e,o)=>()=>(e&&(o=e(e=0)),o);var ie=(e,o)=>()=>(o||e((o={exports:{}}).exports,o),o.exports),Qe=(e,o)=>{for(var t in o)Ko(e,t,{get:o[t],enumerable:!0})},na=(e,o,t,r)=>{if(o&&typeof o=="object"||typeof o=="function")for(let c of Pp(o))!Ct.call(e,c)&&c!==t&&Ko(e,c,{get:()=>o[c],enumerable:!(r=Np(o,c))||r.enumerable});return e};var f=(e,o,t)=>(t=e!=null?Ip(Dp(e)):{},na(o||!e||!e.__esModule?Ko(t,"default",{value:e,enumerable:!0}):t,e)),Yo=e=>na(Ko({},"__esModule",{value:!0}),e);var b=(e,o,t)=>new Promise((r,c)=>{var p=m=>{try{l(t.next(m))}catch(g){c(g)}},d=m=>{try{l(t.throw(m))}catch(g){c(g)}},l=m=>m.done?r(m.value):Promise.resolve(m.value).then(p,d);l((t=t.apply(e,o)).next())});var aa=ie(An=>{"use strict";n();An.byteLength=Rp;An.toByteArray=Bp;An.fromByteArray=Gp;var we=[],de=[],Mp=typeof Uint8Array!="undefined"?Uint8Array:Array,kt="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(eo=0,ta=kt.length;eo<ta;++eo)we[eo]=kt[eo],de[kt.charCodeAt(eo)]=eo;var eo,ta;de["-".charCodeAt(0)]=62;de["_".charCodeAt(0)]=63;function ra(e){var o=e.length;if(o%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var t=e.indexOf("=");t===-1&&(t=o);var r=t===o?0:4-t%4;return[t,r]}function Rp(e){var o=ra(e),t=o[0],r=o[1];return(t+r)*3/4-r}function Op(e,o,t){return(o+t)*3/4-t}function Bp(e){var o,t=ra(e),r=t[0],c=t[1],p=new Mp(Op(e,r,c)),d=0,l=c>0?r-4:r,m;for(m=0;m<l;m+=4)o=de[e.charCodeAt(m)]<<18|de[e.charCodeAt(m+1)]<<12|de[e.charCodeAt(m+2)]<<6|de[e.charCodeAt(m+3)],p[d++]=o>>16&255,p[d++]=o>>8&255,p[d++]=o&255;return c===2&&(o=de[e.charCodeAt(m)]<<2|de[e.charCodeAt(m+1)]>>4,p[d++]=o&255),c===1&&(o=de[e.charCodeAt(m)]<<10|de[e.charCodeAt(m+1)]<<4|de[e.charCodeAt(m+2)]>>2,p[d++]=o>>8&255,p[d++]=o&255),p}function Fp(e){return we[e>>18&63]+we[e>>12&63]+we[e>>6&63]+we[e&63]}function Up(e,o,t){for(var r,c=[],p=o;p<t;p+=3)r=(e[p]<<16&16711680)+(e[p+1]<<8&65280)+(e[p+2]&255),c.push(Fp(r));return c.join("")}function Gp(e){for(var o,t=e.length,r=t%3,c=[],p=16383,d=0,l=t-r;d<l;d+=p)c.push(Up(e,d,d+p>l?l:d+p));return r===1?(o=e[t-1],c.push(we[o>>2]+we[o<<4&63]+"==")):r===2&&(o=(e[t-2]<<8)+e[t-1],c.push(we[o>>10]+we[o>>4&63]+we[o<<2&63]+"=")),c.join("")}});var ia=ie(It=>{n();It.read=function(e,o,t,r,c){var p,d,l=c*8-r-1,m=(1<<l)-1,g=m>>1,y=-7,u=t?c-1:0,T=t?-1:1,w=e[o+u];for(u+=T,p=w&(1<<-y)-1,w>>=-y,y+=l;y>0;p=p*256+e[o+u],u+=T,y-=8);for(d=p&(1<<-y)-1,p>>=-y,y+=r;y>0;d=d*256+e[o+u],u+=T,y-=8);if(p===0)p=1-g;else{if(p===m)return d?NaN:(w?-1:1)*(1/0);d=d+Math.pow(2,r),p=p-g}return(w?-1:1)*d*Math.pow(2,p-r)};It.write=function(e,o,t,r,c,p){var d,l,m,g=p*8-c-1,y=(1<<g)-1,u=y>>1,T=c===23?Math.pow(2,-24)-Math.pow(2,-77):0,w=r?0:p-1,I=r?1:-1,A=o<0||o===0&&1/o<0?1:0;for(o=Math.abs(o),isNaN(o)||o===1/0?(l=isNaN(o)?1:0,d=y):(d=Math.floor(Math.log(o)/Math.LN2),o*(m=Math.pow(2,-d))<1&&(d--,m*=2),d+u>=1?o+=T/m:o+=T*Math.pow(2,1-u),o*m>=2&&(d++,m/=2),d+u>=y?(l=0,d=y):d+u>=1?(l=(o*m-1)*Math.pow(2,c),d=d+u):(l=o*Math.pow(2,u-1)*Math.pow(2,c),d=0));c>=8;e[t+w]=l&255,w+=I,l/=256,c-=8);for(d=d<<c|l,g+=c;g>0;e[t+w]=d&255,w+=I,d/=256,g-=8);e[t+w-I]|=A*128}});var Ta=ie(fo=>{"use strict";n();var Lt=aa(),uo=ia(),sa=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;fo.Buffer=_;fo.SlowBuffer=jp;fo.INSPECT_MAX_BYTES=50;var Cn=2147483647;fo.kMaxLength=Cn;_.TYPED_ARRAY_SUPPORT=Wp();!_.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 Wp(){try{var e=new Uint8Array(1),o={foo:function(){return 42}};return Object.setPrototypeOf(o,Uint8Array.prototype),Object.setPrototypeOf(e,o),e.foo()===42}catch(t){return!1}}Object.defineProperty(_.prototype,"parent",{enumerable:!0,get:function(){if(!!_.isBuffer(this))return this.buffer}});Object.defineProperty(_.prototype,"offset",{enumerable:!0,get:function(){if(!!_.isBuffer(this))return this.byteOffset}});function Re(e){if(e>Cn)throw new RangeError('The value "'+e+'" is invalid for option "size"');var o=new Uint8Array(e);return Object.setPrototypeOf(o,_.prototype),o}function _(e,o,t){if(typeof e=="number"){if(typeof o=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return Dt(e)}return da(e,o,t)}_.poolSize=8192;function da(e,o,t){if(typeof e=="string")return Vp(e,o);if(ArrayBuffer.isView(e))return $p(e);if(e==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e);if(ve(e,ArrayBuffer)||e&&ve(e.buffer,ArrayBuffer)||typeof SharedArrayBuffer!="undefined"&&(ve(e,SharedArrayBuffer)||e&&ve(e.buffer,SharedArrayBuffer)))return Et(e,o,t);if(typeof e=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var r=e.valueOf&&e.valueOf();if(r!=null&&r!==e)return _.from(r,o,t);var c=zp(e);if(c)return c;if(typeof Symbol!="undefined"&&Symbol.toPrimitive!=null&&typeof e[Symbol.toPrimitive]=="function")return _.from(e[Symbol.toPrimitive]("string"),o,t);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e)}_.from=function(e,o,t){return da(e,o,t)};Object.setPrototypeOf(_.prototype,Uint8Array.prototype);Object.setPrototypeOf(_,Uint8Array);function ma(e){if(typeof e!="number")throw new TypeError('"size" argument must be of type number');if(e<0)throw new RangeError('The value "'+e+'" is invalid for option "size"')}function Hp(e,o,t){return ma(e),e<=0?Re(e):o!==void 0?typeof t=="string"?Re(e).fill(o,t):Re(e).fill(o):Re(e)}_.alloc=function(e,o,t){return Hp(e,o,t)};function Dt(e){return ma(e),Re(e<0?0:Mt(e)|0)}_.allocUnsafe=function(e){return Dt(e)};_.allocUnsafeSlow=function(e){return Dt(e)};function Vp(e,o){if((typeof o!="string"||o==="")&&(o="utf8"),!_.isEncoding(o))throw new TypeError("Unknown encoding: "+o);var t=la(e,o)|0,r=Re(t),c=r.write(e,o);return c!==t&&(r=r.slice(0,c)),r}function Nt(e){for(var o=e.length<0?0:Mt(e.length)|0,t=Re(o),r=0;r<o;r+=1)t[r]=e[r]&255;return t}function $p(e){if(ve(e,Uint8Array)){var o=new Uint8Array(e);return Et(o.buffer,o.byteOffset,o.byteLength)}return Nt(e)}function Et(e,o,t){if(o<0||e.byteLength<o)throw new RangeError('"offset" is outside of buffer bounds');if(e.byteLength<o+(t||0))throw new RangeError('"length" is outside of buffer bounds');var r;return o===void 0&&t===void 0?r=new Uint8Array(e):t===void 0?r=new Uint8Array(e,o):r=new Uint8Array(e,o,t),Object.setPrototypeOf(r,_.prototype),r}function zp(e){if(_.isBuffer(e)){var o=Mt(e.length)|0,t=Re(o);return t.length===0||e.copy(t,0,0,o),t}if(e.length!==void 0)return typeof e.length!="number"||Rt(e.length)?Re(0):Nt(e);if(e.type==="Buffer"&&Array.isArray(e.data))return Nt(e.data)}function Mt(e){if(e>=Cn)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+Cn.toString(16)+" bytes");return e|0}function jp(e){return+e!=e&&(e=0),_.alloc(+e)}_.isBuffer=function(o){return o!=null&&o._isBuffer===!0&&o!==_.prototype};_.compare=function(o,t){if(ve(o,Uint8Array)&&(o=_.from(o,o.offset,o.byteLength)),ve(t,Uint8Array)&&(t=_.from(t,t.offset,t.byteLength)),!_.isBuffer(o)||!_.isBuffer(t))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(o===t)return 0;for(var r=o.length,c=t.length,p=0,d=Math.min(r,c);p<d;++p)if(o[p]!==t[p]){r=o[p],c=t[p];break}return r<c?-1:c<r?1:0};_.isEncoding=function(o){switch(String(o).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}};_.concat=function(o,t){if(!Array.isArray(o))throw new TypeError('"list" argument must be an Array of Buffers');if(o.length===0)return _.alloc(0);var r;if(t===void 0)for(t=0,r=0;r<o.length;++r)t+=o[r].length;var c=_.allocUnsafe(t),p=0;for(r=0;r<o.length;++r){var d=o[r];if(ve(d,Uint8Array))p+d.length>c.length?_.from(d).copy(c,p):Uint8Array.prototype.set.call(c,d,p);else if(_.isBuffer(d))d.copy(c,p);else throw new TypeError('"list" argument must be an Array of Buffers');p+=d.length}return c};function la(e,o){if(_.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||ve(e,ArrayBuffer))return e.byteLength;if(typeof e!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof e);var t=e.length,r=arguments.length>2&&arguments[2]===!0;if(!r&&t===0)return 0;for(var c=!1;;)switch(o){case"ascii":case"latin1":case"binary":return t;case"utf8":case"utf-8":return Pt(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return t*2;case"hex":return t>>>1;case"base64":return ya(e).length;default:if(c)return r?-1:Pt(e).length;o=(""+o).toLowerCase(),c=!0}}_.byteLength=la;function qp(e,o,t){var r=!1;if((o===void 0||o<0)&&(o=0),o>this.length||((t===void 0||t>this.length)&&(t=this.length),t<=0)||(t>>>=0,o>>>=0,t<=o))return"";for(e||(e="utf8");;)switch(e){case"hex":return td(this,o,t);case"utf8":case"utf-8":return ga(this,o,t);case"ascii":return od(this,o,t);case"latin1":case"binary":return nd(this,o,t);case"base64":return Qp(this,o,t);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return rd(this,o,t);default:if(r)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),r=!0}}_.prototype._isBuffer=!0;function oo(e,o,t){var r=e[o];e[o]=e[t],e[t]=r}_.prototype.swap16=function(){var o=this.length;if(o%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var t=0;t<o;t+=2)oo(this,t,t+1);return this};_.prototype.swap32=function(){var o=this.length;if(o%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var t=0;t<o;t+=4)oo(this,t,t+3),oo(this,t+1,t+2);return this};_.prototype.swap64=function(){var o=this.length;if(o%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var t=0;t<o;t+=8)oo(this,t,t+7),oo(this,t+1,t+6),oo(this,t+2,t+5),oo(this,t+3,t+4);return this};_.prototype.toString=function(){var o=this.length;return o===0?"":arguments.length===0?ga(this,0,o):qp.apply(this,arguments)};_.prototype.toLocaleString=_.prototype.toString;_.prototype.equals=function(o){if(!_.isBuffer(o))throw new TypeError("Argument must be a Buffer");return this===o?!0:_.compare(this,o)===0};_.prototype.inspect=function(){var o="",t=fo.INSPECT_MAX_BYTES;return o=this.toString("hex",0,t).replace(/(.{2})/g,"$1 ").trim(),this.length>t&&(o+=" ... "),"<Buffer "+o+">"};sa&&(_.prototype[sa]=_.prototype.inspect);_.prototype.compare=function(o,t,r,c,p){if(ve(o,Uint8Array)&&(o=_.from(o,o.offset,o.byteLength)),!_.isBuffer(o))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof o);if(t===void 0&&(t=0),r===void 0&&(r=o?o.length:0),c===void 0&&(c=0),p===void 0&&(p=this.length),t<0||r>o.length||c<0||p>this.length)throw new RangeError("out of range index");if(c>=p&&t>=r)return 0;if(c>=p)return-1;if(t>=r)return 1;if(t>>>=0,r>>>=0,c>>>=0,p>>>=0,this===o)return 0;for(var d=p-c,l=r-t,m=Math.min(d,l),g=this.slice(c,p),y=o.slice(t,r),u=0;u<m;++u)if(g[u]!==y[u]){d=g[u],l=y[u];break}return d<l?-1:l<d?1:0};function _a(e,o,t,r,c){if(e.length===0)return-1;if(typeof t=="string"?(r=t,t=0):t>2147483647?t=2147483647:t<-2147483648&&(t=-2147483648),t=+t,Rt(t)&&(t=c?0:e.length-1),t<0&&(t=e.length+t),t>=e.length){if(c)return-1;t=e.length-1}else if(t<0)if(c)t=0;else return-1;if(typeof o=="string"&&(o=_.from(o,r)),_.isBuffer(o))return o.length===0?-1:ca(e,o,t,r,c);if(typeof o=="number")return o=o&255,typeof Uint8Array.prototype.indexOf=="function"?c?Uint8Array.prototype.indexOf.call(e,o,t):Uint8Array.prototype.lastIndexOf.call(e,o,t):ca(e,[o],t,r,c);throw new TypeError("val must be string, number or Buffer")}function ca(e,o,t,r,c){var p=1,d=e.length,l=o.length;if(r!==void 0&&(r=String(r).toLowerCase(),r==="ucs2"||r==="ucs-2"||r==="utf16le"||r==="utf-16le")){if(e.length<2||o.length<2)return-1;p=2,d/=2,l/=2,t/=2}function m(w,I){return p===1?w[I]:w.readUInt16BE(I*p)}var g;if(c){var y=-1;for(g=t;g<d;g++)if(m(e,g)===m(o,y===-1?0:g-y)){if(y===-1&&(y=g),g-y+1===l)return y*p}else y!==-1&&(g-=g-y),y=-1}else for(t+l>d&&(t=d-l),g=t;g>=0;g--){for(var u=!0,T=0;T<l;T++)if(m(e,g+T)!==m(o,T)){u=!1;break}if(u)return g}return-1}_.prototype.includes=function(o,t,r){return this.indexOf(o,t,r)!==-1};_.prototype.indexOf=function(o,t,r){return _a(this,o,t,r,!0)};_.prototype.lastIndexOf=function(o,t,r){return _a(this,o,t,r,!1)};function Kp(e,o,t,r){t=Number(t)||0;var c=e.length-t;r?(r=Number(r),r>c&&(r=c)):r=c;var p=o.length;r>p/2&&(r=p/2);for(var d=0;d<r;++d){var l=parseInt(o.substr(d*2,2),16);if(Rt(l))return d;e[t+d]=l}return d}function Xp(e,o,t,r){return kn(Pt(o,e.length-t),e,t,r)}function Yp(e,o,t,r){return kn(sd(o),e,t,r)}function Zp(e,o,t,r){return kn(ya(o),e,t,r)}function Jp(e,o,t,r){return kn(cd(o,e.length-t),e,t,r)}_.prototype.write=function(o,t,r,c){if(t===void 0)c="utf8",r=this.length,t=0;else if(r===void 0&&typeof t=="string")c=t,r=this.length,t=0;else if(isFinite(t))t=t>>>0,isFinite(r)?(r=r>>>0,c===void 0&&(c="utf8")):(c=r,r=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var p=this.length-t;if((r===void 0||r>p)&&(r=p),o.length>0&&(r<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");c||(c="utf8");for(var d=!1;;)switch(c){case"hex":return Kp(this,o,t,r);case"utf8":case"utf-8":return Xp(this,o,t,r);case"ascii":case"latin1":case"binary":return Yp(this,o,t,r);case"base64":return Zp(this,o,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Jp(this,o,t,r);default:if(d)throw new TypeError("Unknown encoding: "+c);c=(""+c).toLowerCase(),d=!0}};_.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function Qp(e,o,t){return o===0&&t===e.length?Lt.fromByteArray(e):Lt.fromByteArray(e.slice(o,t))}function ga(e,o,t){t=Math.min(e.length,t);for(var r=[],c=o;c<t;){var p=e[c],d=null,l=p>239?4:p>223?3:p>191?2:1;if(c+l<=t){var m,g,y,u;switch(l){case 1:p<128&&(d=p);break;case 2:m=e[c+1],(m&192)===128&&(u=(p&31)<<6|m&63,u>127&&(d=u));break;case 3:m=e[c+1],g=e[c+2],(m&192)===128&&(g&192)===128&&(u=(p&15)<<12|(m&63)<<6|g&63,u>2047&&(u<55296||u>57343)&&(d=u));break;case 4:m=e[c+1],g=e[c+2],y=e[c+3],(m&192)===128&&(g&192)===128&&(y&192)===128&&(u=(p&15)<<18|(m&63)<<12|(g&63)<<6|y&63,u>65535&&u<1114112&&(d=u))}}d===null?(d=65533,l=1):d>65535&&(d-=65536,r.push(d>>>10&1023|55296),d=56320|d&1023),r.push(d),c+=l}return ed(r)}var pa=4096;function ed(e){var o=e.length;if(o<=pa)return String.fromCharCode.apply(String,e);for(var t="",r=0;r<o;)t+=String.fromCharCode.apply(String,e.slice(r,r+=pa));return t}function od(e,o,t){var r="";t=Math.min(e.length,t);for(var c=o;c<t;++c)r+=String.fromCharCode(e[c]&127);return r}function nd(e,o,t){var r="";t=Math.min(e.length,t);for(var c=o;c<t;++c)r+=String.fromCharCode(e[c]);return r}function td(e,o,t){var r=e.length;(!o||o<0)&&(o=0),(!t||t<0||t>r)&&(t=r);for(var c="",p=o;p<t;++p)c+=pd[e[p]];return c}function rd(e,o,t){for(var r=e.slice(o,t),c="",p=0;p<r.length-1;p+=2)c+=String.fromCharCode(r[p]+r[p+1]*256);return c}_.prototype.slice=function(o,t){var r=this.length;o=~~o,t=t===void 0?r:~~t,o<0?(o+=r,o<0&&(o=0)):o>r&&(o=r),t<0?(t+=r,t<0&&(t=0)):t>r&&(t=r),t<o&&(t=o);var c=this.subarray(o,t);return Object.setPrototypeOf(c,_.prototype),c};function j(e,o,t){if(e%1!==0||e<0)throw new RangeError("offset is not uint");if(e+o>t)throw new RangeError("Trying to access beyond buffer length")}_.prototype.readUintLE=_.prototype.readUIntLE=function(o,t,r){o=o>>>0,t=t>>>0,r||j(o,t,this.length);for(var c=this[o],p=1,d=0;++d<t&&(p*=256);)c+=this[o+d]*p;return c};_.prototype.readUintBE=_.prototype.readUIntBE=function(o,t,r){o=o>>>0,t=t>>>0,r||j(o,t,this.length);for(var c=this[o+--t],p=1;t>0&&(p*=256);)c+=this[o+--t]*p;return c};_.prototype.readUint8=_.prototype.readUInt8=function(o,t){return o=o>>>0,t||j(o,1,this.length),this[o]};_.prototype.readUint16LE=_.prototype.readUInt16LE=function(o,t){return o=o>>>0,t||j(o,2,this.length),this[o]|this[o+1]<<8};_.prototype.readUint16BE=_.prototype.readUInt16BE=function(o,t){return o=o>>>0,t||j(o,2,this.length),this[o]<<8|this[o+1]};_.prototype.readUint32LE=_.prototype.readUInt32LE=function(o,t){return o=o>>>0,t||j(o,4,this.length),(this[o]|this[o+1]<<8|this[o+2]<<16)+this[o+3]*16777216};_.prototype.readUint32BE=_.prototype.readUInt32BE=function(o,t){return o=o>>>0,t||j(o,4,this.length),this[o]*16777216+(this[o+1]<<16|this[o+2]<<8|this[o+3])};_.prototype.readIntLE=function(o,t,r){o=o>>>0,t=t>>>0,r||j(o,t,this.length);for(var c=this[o],p=1,d=0;++d<t&&(p*=256);)c+=this[o+d]*p;return p*=128,c>=p&&(c-=Math.pow(2,8*t)),c};_.prototype.readIntBE=function(o,t,r){o=o>>>0,t=t>>>0,r||j(o,t,this.length);for(var c=t,p=1,d=this[o+--c];c>0&&(p*=256);)d+=this[o+--c]*p;return p*=128,d>=p&&(d-=Math.pow(2,8*t)),d};_.prototype.readInt8=function(o,t){return o=o>>>0,t||j(o,1,this.length),this[o]&128?(255-this[o]+1)*-1:this[o]};_.prototype.readInt16LE=function(o,t){o=o>>>0,t||j(o,2,this.length);var r=this[o]|this[o+1]<<8;return r&32768?r|4294901760:r};_.prototype.readInt16BE=function(o,t){o=o>>>0,t||j(o,2,this.length);var r=this[o+1]|this[o]<<8;return r&32768?r|4294901760:r};_.prototype.readInt32LE=function(o,t){return o=o>>>0,t||j(o,4,this.length),this[o]|this[o+1]<<8|this[o+2]<<16|this[o+3]<<24};_.prototype.readInt32BE=function(o,t){return o=o>>>0,t||j(o,4,this.length),this[o]<<24|this[o+1]<<16|this[o+2]<<8|this[o+3]};_.prototype.readFloatLE=function(o,t){return o=o>>>0,t||j(o,4,this.length),uo.read(this,o,!0,23,4)};_.prototype.readFloatBE=function(o,t){return o=o>>>0,t||j(o,4,this.length),uo.read(this,o,!1,23,4)};_.prototype.readDoubleLE=function(o,t){return o=o>>>0,t||j(o,8,this.length),uo.read(this,o,!0,52,8)};_.prototype.readDoubleBE=function(o,t){return o=o>>>0,t||j(o,8,this.length),uo.read(this,o,!1,52,8)};function te(e,o,t,r,c,p){if(!_.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(o>c||o<p)throw new RangeError('"value" argument is out of bounds');if(t+r>e.length)throw new RangeError("Index out of range")}_.prototype.writeUintLE=_.prototype.writeUIntLE=function(o,t,r,c){if(o=+o,t=t>>>0,r=r>>>0,!c){var p=Math.pow(2,8*r)-1;te(this,o,t,r,p,0)}var d=1,l=0;for(this[t]=o&255;++l<r&&(d*=256);)this[t+l]=o/d&255;return t+r};_.prototype.writeUintBE=_.prototype.writeUIntBE=function(o,t,r,c){if(o=+o,t=t>>>0,r=r>>>0,!c){var p=Math.pow(2,8*r)-1;te(this,o,t,r,p,0)}var d=r-1,l=1;for(this[t+d]=o&255;--d>=0&&(l*=256);)this[t+d]=o/l&255;return t+r};_.prototype.writeUint8=_.prototype.writeUInt8=function(o,t,r){return o=+o,t=t>>>0,r||te(this,o,t,1,255,0),this[t]=o&255,t+1};_.prototype.writeUint16LE=_.prototype.writeUInt16LE=function(o,t,r){return o=+o,t=t>>>0,r||te(this,o,t,2,65535,0),this[t]=o&255,this[t+1]=o>>>8,t+2};_.prototype.writeUint16BE=_.prototype.writeUInt16BE=function(o,t,r){return o=+o,t=t>>>0,r||te(this,o,t,2,65535,0),this[t]=o>>>8,this[t+1]=o&255,t+2};_.prototype.writeUint32LE=_.prototype.writeUInt32LE=function(o,t,r){return o=+o,t=t>>>0,r||te(this,o,t,4,4294967295,0),this[t+3]=o>>>24,this[t+2]=o>>>16,this[t+1]=o>>>8,this[t]=o&255,t+4};_.prototype.writeUint32BE=_.prototype.writeUInt32BE=function(o,t,r){return o=+o,t=t>>>0,r||te(this,o,t,4,4294967295,0),this[t]=o>>>24,this[t+1]=o>>>16,this[t+2]=o>>>8,this[t+3]=o&255,t+4};_.prototype.writeIntLE=function(o,t,r,c){if(o=+o,t=t>>>0,!c){var p=Math.pow(2,8*r-1);te(this,o,t,r,p-1,-p)}var d=0,l=1,m=0;for(this[t]=o&255;++d<r&&(l*=256);)o<0&&m===0&&this[t+d-1]!==0&&(m=1),this[t+d]=(o/l>>0)-m&255;return t+r};_.prototype.writeIntBE=function(o,t,r,c){if(o=+o,t=t>>>0,!c){var p=Math.pow(2,8*r-1);te(this,o,t,r,p-1,-p)}var d=r-1,l=1,m=0;for(this[t+d]=o&255;--d>=0&&(l*=256);)o<0&&m===0&&this[t+d+1]!==0&&(m=1),this[t+d]=(o/l>>0)-m&255;return t+r};_.prototype.writeInt8=function(o,t,r){return o=+o,t=t>>>0,r||te(this,o,t,1,127,-128),o<0&&(o=255+o+1),this[t]=o&255,t+1};_.prototype.writeInt16LE=function(o,t,r){return o=+o,t=t>>>0,r||te(this,o,t,2,32767,-32768),this[t]=o&255,this[t+1]=o>>>8,t+2};_.prototype.writeInt16BE=function(o,t,r){return o=+o,t=t>>>0,r||te(this,o,t,2,32767,-32768),this[t]=o>>>8,this[t+1]=o&255,t+2};_.prototype.writeInt32LE=function(o,t,r){return o=+o,t=t>>>0,r||te(this,o,t,4,2147483647,-2147483648),this[t]=o&255,this[t+1]=o>>>8,this[t+2]=o>>>16,this[t+3]=o>>>24,t+4};_.prototype.writeInt32BE=function(o,t,r){return o=+o,t=t>>>0,r||te(this,o,t,4,2147483647,-2147483648),o<0&&(o=4294967295+o+1),this[t]=o>>>24,this[t+1]=o>>>16,this[t+2]=o>>>8,this[t+3]=o&255,t+4};function ua(e,o,t,r,c,p){if(t+r>e.length)throw new RangeError("Index out of range");if(t<0)throw new RangeError("Index out of range")}function fa(e,o,t,r,c){return o=+o,t=t>>>0,c||ua(e,o,t,4,34028234663852886e22,-34028234663852886e22),uo.write(e,o,t,r,23,4),t+4}_.prototype.writeFloatLE=function(o,t,r){return fa(this,o,t,!0,r)};_.prototype.writeFloatBE=function(o,t,r){return fa(this,o,t,!1,r)};function ha(e,o,t,r,c){return o=+o,t=t>>>0,c||ua(e,o,t,8,17976931348623157e292,-17976931348623157e292),uo.write(e,o,t,r,52,8),t+8}_.prototype.writeDoubleLE=function(o,t,r){return ha(this,o,t,!0,r)};_.prototype.writeDoubleBE=function(o,t,r){return ha(this,o,t,!1,r)};_.prototype.copy=function(o,t,r,c){if(!_.isBuffer(o))throw new TypeError("argument should be a Buffer");if(r||(r=0),!c&&c!==0&&(c=this.length),t>=o.length&&(t=o.length),t||(t=0),c>0&&c<r&&(c=r),c===r||o.length===0||this.length===0)return 0;if(t<0)throw new RangeError("targetStart out of bounds");if(r<0||r>=this.length)throw new RangeError("Index out of range");if(c<0)throw new RangeError("sourceEnd out of bounds");c>this.length&&(c=this.length),o.length-t<c-r&&(c=o.length-t+r);var p=c-r;return this===o&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(t,r,c):Uint8Array.prototype.set.call(o,this.subarray(r,c),t),p};_.prototype.fill=function(o,t,r,c){if(typeof o=="string"){if(typeof t=="string"?(c=t,t=0,r=this.length):typeof r=="string"&&(c=r,r=this.length),c!==void 0&&typeof c!="string")throw new TypeError("encoding must be a string");if(typeof c=="string"&&!_.isEncoding(c))throw new TypeError("Unknown encoding: "+c);if(o.length===1){var p=o.charCodeAt(0);(c==="utf8"&&p<128||c==="latin1")&&(o=p)}}else typeof o=="number"?o=o&255:typeof o=="boolean"&&(o=Number(o));if(t<0||this.length<t||this.length<r)throw new RangeError("Out of range index");if(r<=t)return this;t=t>>>0,r=r===void 0?this.length:r>>>0,o||(o=0);var d;if(typeof o=="number")for(d=t;d<r;++d)this[d]=o;else{var l=_.isBuffer(o)?o:_.from(o,c),m=l.length;if(m===0)throw new TypeError('The value "'+o+'" is invalid for argument "value"');for(d=0;d<r-t;++d)this[d+t]=l[d%m]}return this};var ad=/[^+/0-9A-Za-z-_]/g;function id(e){if(e=e.split("=")[0],e=e.trim().replace(ad,""),e.length<2)return"";for(;e.length%4!==0;)e=e+"=";return e}function Pt(e,o){o=o||1/0;for(var t,r=e.length,c=null,p=[],d=0;d<r;++d){if(t=e.charCodeAt(d),t>55295&&t<57344){if(!c){if(t>56319){(o-=3)>-1&&p.push(239,191,189);continue}else if(d+1===r){(o-=3)>-1&&p.push(239,191,189);continue}c=t;continue}if(t<56320){(o-=3)>-1&&p.push(239,191,189),c=t;continue}t=(c-55296<<10|t-56320)+65536}else c&&(o-=3)>-1&&p.push(239,191,189);if(c=null,t<128){if((o-=1)<0)break;p.push(t)}else if(t<2048){if((o-=2)<0)break;p.push(t>>6|192,t&63|128)}else if(t<65536){if((o-=3)<0)break;p.push(t>>12|224,t>>6&63|128,t&63|128)}else if(t<1114112){if((o-=4)<0)break;p.push(t>>18|240,t>>12&63|128,t>>6&63|128,t&63|128)}else throw new Error("Invalid code point")}return p}function sd(e){for(var o=[],t=0;t<e.length;++t)o.push(e.charCodeAt(t)&255);return o}function cd(e,o){for(var t,r,c,p=[],d=0;d<e.length&&!((o-=2)<0);++d)t=e.charCodeAt(d),r=t>>8,c=t%256,p.push(c),p.push(r);return p}function ya(e){return Lt.toByteArray(id(e))}function kn(e,o,t,r){for(var c=0;c<r&&!(c+t>=o.length||c>=e.length);++c)o[c+t]=e[c];return c}function ve(e,o){return e instanceof o||e!=null&&e.constructor!=null&&e.constructor.name!=null&&e.constructor.name===o.name}function Rt(e){return e!==e}var pd=function(){for(var e="0123456789abcdef",o=new Array(256),t=0;t<16;++t)for(var r=t*16,c=0;c<16;++c)o[r+c]=e[t]+e[c];return o}()});var va=ie((Vg,wa)=>{n();var U=wa.exports={},Ae,Ce;function Ot(){throw new Error("setTimeout has not been defined")}function Bt(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?Ae=setTimeout:Ae=Ot}catch(e){Ae=Ot}try{typeof clearTimeout=="function"?Ce=clearTimeout:Ce=Bt}catch(e){Ce=Bt}})();function xa(e){if(Ae===setTimeout)return setTimeout(e,0);if((Ae===Ot||!Ae)&&setTimeout)return Ae=setTimeout,setTimeout(e,0);try{return Ae(e,0)}catch(o){try{return Ae.call(null,e,0)}catch(t){return Ae.call(this,e,0)}}}function dd(e){if(Ce===clearTimeout)return clearTimeout(e);if((Ce===Bt||!Ce)&&clearTimeout)return Ce=clearTimeout,clearTimeout(e);try{return Ce(e)}catch(o){try{return Ce.call(null,e)}catch(t){return Ce.call(this,e)}}}var Oe=[],ho=!1,no,In=-1;function md(){!ho||!no||(ho=!1,no.length?Oe=no.concat(Oe):In=-1,Oe.length&&ba())}function ba(){if(!ho){var e=xa(md);ho=!0;for(var o=Oe.length;o;){for(no=Oe,Oe=[];++In<o;)no&&no[In].run();In=-1,o=Oe.length}no=null,ho=!1,dd(e)}}U.nextTick=function(e){var o=new Array(arguments.length-1);if(arguments.length>1)for(var t=1;t<arguments.length;t++)o[t-1]=arguments[t];Oe.push(new Sa(e,o)),Oe.length===1&&!ho&&xa(ba)};function Sa(e,o){this.fun=e,this.array=o}Sa.prototype.run=function(){this.fun.apply(null,this.array)};U.title="browser";U.browser=!0;U.env={};U.argv=[];U.version="";U.versions={};function Be(){}U.on=Be;U.addListener=Be;U.once=Be;U.off=Be;U.removeListener=Be;U.removeAllListeners=Be;U.emit=Be;U.prependListener=Be;U.prependOnceListener=Be;U.listeners=function(e){return[]};U.binding=function(e){throw new Error("process.binding is not supported")};U.cwd=function(){return"/"};U.chdir=function(e){throw new Error("process.chdir is not supported")};U.umask=function(){return 0}});var a,s,ld,i,n=S(()=>{a=f(Ta()),s=f(va()),ld=function(e){function o(){var r=this||self;return delete e.prototype.__magic__,r}if(typeof globalThis=="object")return globalThis;if(this)return o();e.defineProperty(e.prototype,"__magic__",{configurable:!0,get:o});var t=__magic__;return t}(Object),i=ld});var Aa=S(()=>{"use strict";n()});var yo,to=S(()=>{"use strict";n();yo="Action not allowed. User is logged in. Call logout() first"});var Ca=S(()=>{"use strict";n()});var ka=S(()=>{"use strict";n()});var Ft,Ut=S(()=>{"use strict";n();Ft={36864:{code:"codeSuccess",message:"Success"},27013:{code:"ERR_USER_DENIED",message:"Rejected by user"},27904:{code:"ERR_UNKNOWN_INSTRUCTION",message:"Unknown instruction"},28160:{code:"ERR_WRONG_CLA",message:"Wrong CLA"},28161:{code:"ERR_INVALID_ARGUMENTS",message:"Invalid arguments"},28162:{code:"ERR_INVALID_MESSAGE",message:"Invalid message"},28163:{code:"ERR_INVALID_P1",message:"Invalid P1"},28164:{code:"ERR_MESSAGE_TOO_LONG",message:"Message too long"},28165:{code:"ERR_RECEIVER_TOO_LONG",message:"Receiver too long"},28166:{code:"ERR_AMOUNT_TOO_LONG",message:"Amount too long"},28167:{code:"ERR_CONTRACT_DATA_DISABLED",message:"Contract data disabled in app options"},28168:{code:"ERR_MESSAGE_INCOMPLETE",message:"Message incomplete"},28176:{code:"ERR_SIGNATURE_FAILED",message:"Signature failed"},28169:{code:"ERR_WRONG_TX_VERSION",message:"Wrong TX version"},28170:{code:"ERR_NONCE_TOO_LONG",message:"Nonce too long"},28171:{code:"ERR_INVALID_AMOUNT",message:"Invalid amount"},28172:{code:"ERR_INVALID_FEE",message:"Invalid fee"},28173:{code:"ERR_PRETTY_FAILED",message:"Pretty failed"},28174:{code:"ERR_DATA_TOO_LONG",message:"Data too long"},28175:{code:"ERR_WRONG_TX_OPTIONS",message:"Invalid transaction options"},28177:{code:"ERR_SIGN_TX_DEPRECATED",message:"Regular transaction signing is deprecated in this version. Use hash signing."}}});var Ia=S(()=>{"use strict";n()});var Gt=S(()=>{"use strict";n()});var La=S(()=>{"use strict";n()});var Na=S(()=>{"use strict";n()});var G=S(()=>{"use strict";n()});var Ea=S(()=>{"use strict";n()});var Pa=S(()=>{"use strict";n()});var re=S(()=>{"use strict";n()});var Da=S(()=>{"use strict";n()});var Ma=S(()=>{"use strict";n()});var Ra=S(()=>{"use strict";n()});var q=S(()=>{"use strict";n();Gt();La();Na();G();Ea();Pa();re();Da();Ma();Ra()});var To,Oa,gu,Ba,uu,Fa,Ua,fu,_d,Ga,Zo=S(()=>{"use strict";n();q();To={devnet:{id:"devnet",chainId:"D",name:"Devnet",egldLabel:"xEGLD",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"https://maiar.page.link/?apn=com.elrond.maiar.wallet&isi=1519405832&ibi=com.elrond.maiar.wallet&link=https://xportal.com/",walletConnectBridgeAddresses:["https://bridge.walletconnect.org"],walletConnectV2RelayAddresses:["wss://relay.walletconnect.com"],walletAddress:"https://devnet-wallet.multiversx.com",apiAddress:"https://devnet-api.multiversx.com",explorerAddress:"http://devnet-explorer.multiversx.com",apiTimeout:"4000"},testnet:{id:"testnet",chainId:"T",name:"Testnet",egldLabel:"xEGLD",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"https://maiar.page.link/?apn=com.elrond.maiar.wallet&isi=1519405832&ibi=com.elrond.maiar.wallet&link=https://xportal.com/",walletConnectBridgeAddresses:["https://bridge.walletconnect.org"],walletConnectV2RelayAddresses:["wss://relay.walletconnect.com"],walletAddress:"https://testnet-wallet.multiversx.com",apiAddress:"https://testnet-api.multiversx.com",explorerAddress:"http://testnet-explorer.multiversx.com",apiTimeout:"4000"},mainnet:{id:"mainnet",chainId:"1",name:"Mainnet",egldLabel:"EGLD",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"https://maiar.page.link/?apn=com.elrond.maiar.wallet&isi=1519405832&ibi=com.elrond.maiar.wallet&link=https://xportal.com/",walletConnectBridgeAddresses:["https://bridge.walletconnect.org"],walletConnectV2RelayAddresses:["wss://relay.walletconnect.com"],walletAddress:"https://wallet.multiversx.com",apiAddress:"https://api.multiversx.com",explorerAddress:"https://explorer.multiversx.com",apiTimeout:"4000"}},{chainId:Oa,egldLabel:gu}=To["devnet"],{chainId:Ba,egldLabel:uu}=To["testnet"],{chainId:Fa,egldLabel:Ua}=To["mainnet"],fu={["devnet"]:Oa,["testnet"]:Ba,["mainnet"]:Fa},_d={[Oa]:"devnet",[Ba]:"testnet",[Fa]:"mainnet"},Ga="multiversx://"});var Wa=S(()=>{"use strict";n()});var ke,Ha=S(()=>{"use strict";n();ke=require("@multiversx/sdk-web-wallet-provider")});var Jo,Ln,se,ro,Va,$a,Nn,za,Ie,ja,k=S(()=>{"use strict";n();Aa();to();Ca();ka();Ut();Ia();Zo();Wa();Ha();Jo=5e4,Ln=1e9,se=18,ro=4,Va=1,$a=1,Nn="logout",za="login",Ie="0",ja="..."});var wo,En=S(()=>{"use strict";n();wo=()=>Date.now()/1e3});var Qa=S(()=>{"use strict";n()});var ei=S(()=>{"use strict";n()});var qt=S(()=>{"use strict";n();En();Qa();ei()});var Kt={};Qe(Kt,{clear:()=>xd,getItem:()=>yd,localStorageKeys:()=>ze,removeItem:()=>Td,setItem:()=>hd});var ze,Pn,hd,yd,Td,xd,vo=S(()=>{"use strict";n();qt();ze={loginExpiresAt:"sdk-dapp-login-expires-at",logoutEvent:"sdk-dapp-logout-event"},Pn=typeof localStorage!="undefined",hd=({key:e,data:o,expires:t})=>{!Pn||localStorage.setItem(String(e),JSON.stringify({expires:t,data:o}))},yd=e=>{if(!Pn)return;let o=localStorage.getItem(String(e));if(!o)return null;let t=JSON.parse(o);return!t||!t.hasOwnProperty("expires")||!t.hasOwnProperty("data")?null:wo()>=t.expires?(localStorage.removeItem(String(e)),null):t.data},Td=e=>{!Pn||localStorage.removeItem(String(e))},xd=()=>{!Pn||localStorage.clear()}});var Xt={};Qe(Xt,{clear:()=>ri,getItem:()=>ni,removeItem:()=>ti,setItem:()=>oi,storage:()=>bd});var oi,ni,ti,ri,bd,ai=S(()=>{"use strict";n();oi=({key:e,data:o,expires:t})=>{sessionStorage.setItem(String(e),JSON.stringify({expires:t,data:o}))},ni=e=>{let o=sessionStorage.getItem(String(e));if(!o)return null;let t=JSON.parse(o);return!t||!t.hasOwnProperty("expires")||!t.hasOwnProperty("data")?null:Date.now()>=t.expires?(sessionStorage.removeItem(String(e)),null):t.data},ti=e=>sessionStorage.removeItem(String(e)),ri=()=>sessionStorage.clear(),bd={setItem:oi,getItem:ni,removeItem:ti,clear:ri}});var ao,Ao=S(()=>{"use strict";n();vo();ai();ao={session:Xt,local:Kt}});var Yt,W,ge,Z=S(()=>{"use strict";n();Yt=require("@reduxjs/toolkit");k();W=(0,Yt.createAction)(Nn),ge=(0,Yt.createAction)(za,e=>({payload:e}))});var Jt,ii,si,Dn,Zt,ci,Qt,ff,er,hf,or,pi,yf,Tf,xf,Sd,wd,Mn,Rn=S(()=>{"use strict";n();Jt=require("@multiversx/sdk-core"),ii=require("@reduxjs/toolkit"),si=require("redux-persist");k();Ao();vo();Z();Dn={balance:"...",address:"",isGuarded:!1,nonce:0,txCount:0,scrCount:0,claimableRewards:Ie},Zt={address:"",websocketEvent:null,websocketBatchEvent:null,accounts:{"":Dn},ledgerAccount:null,publicKey:"",walletConnectAccount:null,isAccountLoading:!0,accountLoadingError:null},ci=(0,ii.createSlice)({name:"accountInfoSlice",initialState:Zt,reducers:{setAddress:(e,o)=>{let t=o.payload;e.address=t,e.publicKey=new Jt.Address(t).hex()},setAccount:(e,o)=>{let t=e.address===o.payload.address;e.accounts={[e.address]:t?o.payload:Dn},e.shard=o.payload.shard,e.isAccountLoading=!1,e.accountLoadingError=null},setAccountNonce:(e,o)=>{let{address:t}=e;e.accounts[t].nonce=o.payload},setAccountShard:(e,o)=>{e.shard=o.payload},setLedgerAccount:(e,o)=>{e.ledgerAccount=o.payload},updateLedgerAccount:(e,o)=>{e.ledgerAccount!=null&&(e.ledgerAccount.index=o.payload.index,e.ledgerAccount.address=o.payload.address)},setWalletConnectAccount:(e,o)=>{e.walletConnectAccount=o.payload},setIsAccountLoading:(e,o)=>{e.isAccountLoading=o.payload,e.accountLoadingError=null},setAccountLoadingError:(e,o)=>{e.accountLoadingError=o.payload,e.isAccountLoading=!1},setWebsocketEvent:(e,o)=>{e.websocketEvent={timestamp:Date.now(),message:o.payload}},setWebsocketBatchEvent:(e,o)=>{e.websocketBatchEvent={timestamp:Date.now(),data:o.payload}}},extraReducers:e=>{e.addCase(W,()=>(ao.local.removeItem(ze.loginExpiresAt),Zt)),e.addCase(ge,(o,t)=>{let{address:r}=t.payload;o.address=r,o.publicKey=new Jt.Address(r).hex()}),e.addCase(si.REHYDRATE,(o,t)=>{var g;if(!((g=t.payload)!=null&&g.account))return;let{account:r}=t.payload,{address:c,shard:p,accounts:d,publicKey:l}=r;o.address=c,o.shard=p;let m=d&&c in d;o.accounts=m?d:Zt.accounts,o.publicKey=l})}}),{setAccount:Qt,setAddress:ff,setAccountNonce:er,setAccountShard:hf,setLedgerAccount:or,updateLedgerAccount:pi,setWalletConnectAccount:yf,setIsAccountLoading:Tf,setAccountLoadingError:xf,setWebsocketEvent:Sd,setWebsocketBatchEvent:wd}=ci.actions,Mn=ci.reducer});function en(){return new Date().setHours(new Date().getHours()+24)}function on(e){ao.local.setItem({key:ze.loginExpiresAt,data:e,expires:e})}var nr=S(()=>{"use strict";n();Ao();vo()});var mi,di,li,Nf,vd,_i,On,Ef,Ad,gi,Pf,Bn,Fn=S(()=>{"use strict";n();mi=require("@reduxjs/toolkit");nr();G();Z();di={loginMethod:"",walletConnectLogin:null,ledgerLogin:null,tokenLogin:null,walletLogin:null,extensionLogin:null,operaLogin:null,isLoginSessionInvalid:!1},li=(0,mi.createSlice)({name:"loginInfoSlice",initialState:di,reducers:{setLoginMethod:(e,o)=>{e.loginMethod=o.payload},setTokenLogin:(e,o)=>{e.tokenLogin=o.payload},setTokenLoginSignature:(e,o)=>{(e==null?void 0:e.tokenLogin)!=null&&(e.tokenLogin.signature=o.payload)},setWalletLogin:(e,o)=>{e.walletLogin=o.payload},setWalletConnectLogin:(e,o)=>{e.walletConnectLogin=o.payload},setLedgerLogin:(e,o)=>{e.ledgerLogin=o.payload},invalidateLoginSession:e=>{e.isLoginSessionInvalid=!0},setLogoutRoute:(e,o)=>{e.logoutRoute=o.payload}},extraReducers:e=>{e.addCase(W,()=>di),e.addCase(ge,(o,t)=>{o.loginMethod=t.payload.loginMethod,on(en())})}}),{setLoginMethod:Nf,setWalletConnectLogin:vd,setLedgerLogin:_i,setTokenLogin:On,setTokenLoginSignature:Ef,setWalletLogin:Ad,invalidateLoginSession:gi,setLogoutRoute:Pf}=li.actions,Bn=li.reducer});var fi,ui,hi,Of,Cd,Bf,kd,Un,Gn=S(()=>{"use strict";n();fi=require("@reduxjs/toolkit");Z();ui={},hi=(0,fi.createSlice)({name:"modalsSlice",initialState:ui,reducers:{setTxSubmittedModal:(e,o)=>{e.txSubmittedModal=o.payload},setNotificationModal:(e,o)=>{e.notificationModal=o.payload},clearTxSubmittedModal:e=>{e.txSubmittedModal=void 0},clearNotificationModal:e=>{e.notificationModal=void 0}},extraReducers:e=>{e.addCase(W,()=>ui)}}),{setTxSubmittedModal:Of,setNotificationModal:Cd,clearTxSubmittedModal:Bf,clearNotificationModal:kd}=hi.actions,Un=hi.reducer});var nn,tn=S(()=>{"use strict";n();nn=()=>typeof window!="undefined"&&typeof(window==null?void 0:window.location)!="undefined"});var R,z=S(()=>{"use strict";n();tn();R=()=>{if(!nn())return{pathname:"",hash:"",origin:"",href:"",search:""};let{location:{pathname:o,hash:t,origin:r,href:c,search:p}}=window;return{pathname:o,hash:t,origin:r,href:c,search:p}}});var Id,Wn,rn=S(()=>{"use strict";n();Id=!1,Wn=(e,o=0)=>{Id||setTimeout(()=>window?(e==null?void 0:e.startsWith("/"))?window.history.pushState("","",e):window.location.assign(e):void 0,o)}});function Co({callbackRoute:e,onLoginRedirect:o,options:t}){let r=Boolean(e),c=typeof o=="function";if(r&&e!=null){if(c)return o(e,t);let{pathname:p}=R();p.includes(e)||Wn(e,Ld)}}var Ld,yi=S(()=>{"use strict";n();z();rn();Ld=200});function Ti(e){return e[Math.floor(Math.random()*e.length)]}var xi=S(()=>{"use strict";n()});function tr(e){let o=null;if((e==null?void 0:e.statusCode)in Ft){let t=e==null?void 0:e.statusCode,{message:r}=Ft[t];o=Pd.includes(t)?bi:r}return{errorMessage:o,defaultErrorMessage:bi}}var bi,Nd,Ed,Pd,rr=S(()=>{"use strict";n();Ut();bi="Check if the MultiversX app is open on Ledger",Nd=28161,Ed=28160,Pd=[Nd,Ed]});var ko=S(()=>{"use strict";n();yi();xi();rr()});var Si,wi,ar,Dd,vi,oh,nh,Hn,Vn=S(()=>{"use strict";n();Si=require("@reduxjs/toolkit"),wi=f(require("lodash.omit"));ko();ar={id:"not-configured",chainId:"",name:"NOT CONFIGURED",egldLabel:"",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"",walletConnectBridgeAddress:"",walletConnectV2RelayAddress:"",walletConnectV2ProjectId:"",walletConnectV2Options:{},walletAddress:"",apiAddress:"",explorerAddress:"",apiTimeout:"4000"},Dd={network:ar,chainID:"-1"},vi=(0,Si.createSlice)({name:"appConfig",initialState:Dd,reducers:{initializeNetworkConfig:(e,o)=>{let t=Ti(o.payload.walletConnectV2RelayAddresses),r=(0,wi.default)(o.payload,"walletConnectV2RelayAddresses");e.network=C(h(h({},e.network),r),{walletConnectV2RelayAddress:t})},setChainID:(e,o)=>{e.chainID=o.payload}}}),{initializeNetworkConfig:oh,setChainID:nh}=vi.actions,Hn=vi.reducer});var Ai,ir,Ci,ch,ph,dh,$n,zn=S(()=>{"use strict";n();Ai=require("@reduxjs/toolkit");q();Z();ir={isSigning:!1,signedSessions:{}},Ci=(0,Ai.createSlice)({name:"signedMessageInfoSliceState",initialState:ir,reducers:{setSignSession:(e,o)=>{let{sessionId:t,signedSession:r,errorMessage:c}=o.payload;c&&(e.errorMessage=c),e.isSigning=r.status==="pending",e.signedSessions[t]=r},setSignSessionState:(e,o)=>h(h({},e),o.payload),clearSignedMessageInfo:()=>ir},extraReducers:e=>{e.addCase(W,()=>ir)}}),{setSignSession:ch,clearSignedMessageInfo:ph,setSignSessionState:dh}=Ci.actions,$n=Ci.reducer});var Ii,Li,ki,Ni,Md,Rd,hh,Od,jn,qn=S(()=>{"use strict";n();Ii=require("@reduxjs/toolkit"),Li=require("redux-persist");q();En();Z();ki={customToasts:[],transactionToasts:[]},Ni=(0,Ii.createSlice)({name:"toastsSlice",initialState:ki,reducers:{addCustomToast:(e,o)=>{e.customToasts.push(C(h({},o.payload),{type:"custom",toastId:o.payload.toastId||`custom-toast-${e.customToasts.length+1}`}))},removeCustomToast:(e,o)=>{e.customToasts=e.customToasts.filter(t=>t.toastId!==o.payload)},addTransactionToast:(e,o)=>{e.transactionToasts.push({type:"transaction",startTimestamp:wo(),toastId:o.payload||`custom-toast-${e.transactionToasts.length+1}`})},removeTransactionToast:(e,o)=>{e.transactionToasts=e.transactionToasts.filter(t=>t.toastId!==o.payload)}},extraReducers:e=>{e.addCase(W,()=>ki),e.addCase(Li.REHYDRATE,(o,t)=>{var c,p;let r=(p=(c=t.customToasts)==null?void 0:c.filter(d=>!("component"in d)))!=null?p:[];o.customToasts=r})}}),{addCustomToast:Md,removeCustomToast:Rd,addTransactionToast:hh,removeTransactionToast:Od}=Ni.actions,jn=Ni.reducer});var Ei,cr,pr,dr,Bd,sr,Pi,bh,Fd,mr,Kn,Xn=S(()=>{"use strict";n();Ei=require("@reduxjs/toolkit");Z();cr="Transaction failed",pr="Transaction successful",dr="Processing transaction",Bd="Transaction submitted",sr={},Pi=(0,Ei.createSlice)({name:"transactionsInfo",initialState:sr,reducers:{setTransactionsDisplayInfo(e,o){let{sessionId:t,transactionsDisplayInfo:r}=o.payload;t!=null&&(e[t]={errorMessage:(r==null?void 0:r.errorMessage)||cr,successMessage:(r==null?void 0:r.successMessage)||pr,processingMessage:(r==null?void 0:r.processingMessage)||dr,submittedMessage:(r==null?void 0:r.submittedMessage)||Bd,transactionDuration:r==null?void 0:r.transactionDuration})},clearTransactionsInfoForSessionId(e,o){o.payload!=null&&delete e[o.payload]},clearTransactionsInfo:()=>sr},extraReducers:e=>{e.addCase(W,()=>sr)}}),{clearTransactionsInfo:bh,setTransactionsDisplayInfo:Fd,clearTransactionsInfoForSessionId:mr}=Pi.actions,Kn=Pi.reducer});function Lo(e){return e!=null&&(Kd(e)||Qd(e))}function No(e){return e!=null&&(Xd(e)||em(e))}function Eo(e){return e!=null&&(Yd(e)||om(e))}function Di(e){return e!=null&&(Zd(e)||nm(e))}function lr(e){return e!=null&&Jd(e)}function Kd(e){return e!=null&&Ud.includes(e)}function Xd(e){return e!=null&&Gd.includes(e)}function Yd(e){return e!=null&&Wd.includes(e)}function Zd(e){return e!=null&&Hd.includes(e)}function Jd(e){return e!=null&&Vd.includes(e)}function Qd(e){return e!=null&&$d.includes(e)}function em(e){return e!=null&&zd.includes(e)}function om(e){return e!=null&&jd.includes(e)}function nm(e){return e!=null&&qd.includes(e)}var Ud,Gd,Wd,Hd,Vd,$d,zd,jd,qd,Po=S(()=>{"use strict";n();G();Ud=["sent"],Gd=["success"],Wd=["fail","cancelled","timedOut"],Hd=["invalid"],Vd=["timedOut"],$d=["pending"],zd=["success"],jd=["fail","invalid"],qd=["not executed"]});var Mi,Ri,an,tm,Oi,Bi,Fi,rm,Yn,am,im,Nh,sm,sn,_r,Zn,Jn=S(()=>{"use strict";n();Mi=require("@reduxjs/toolkit"),Ri=require("redux-persist");G();Po();Z();an={signedTransactions:{},transactionsToSign:null,signTransactionsError:null,signTransactionsCancelMessage:null,customTransactionInformationForSessionId:{}},tm={signWithoutSending:!1,sessionInformation:null,redirectAfterSign:!1},Oi=(0,Mi.createSlice)({name:"transactionsSlice",initialState:an,reducers:{moveTransactionsToSignedState:(e,o)=>{var g,y;let{sessionId:t,transactions:r,errorMessage:c,status:p,redirectRoute:d,customTransactionInformation:l={}}=o.payload,m=((g=e.customTransactionInformationForSessionId)==null?void 0:g[t])||tm;e.signedTransactions[t]={transactions:r,status:p,errorMessage:c,redirectRoute:d,customTransactionInformation:h(h({},m),l)},((y=e==null?void 0:e.transactionsToSign)==null?void 0:y.sessionId)===t&&(e.transactionsToSign=an.transactionsToSign)},clearSignedTransaction:(e,o)=>{e.signedTransactions[o.payload]&&delete e.signedTransactions[o.payload]},clearTransactionToSign:e=>{e!=null&&e.transactionsToSign&&(e.transactionsToSign=null)},updateSignedTransaction:(e,o)=>{e.signedTransactions=h(h({},e.signedTransactions),o.payload)},updateSignedTransactions:(e,o)=>{let{sessionId:t,status:r,errorMessage:c,transactions:p}=o.payload;e.signedTransactions[t]!=null&&(e.signedTransactions[t].status=r,c!=null&&(e.signedTransactions[t].errorMessage=c),p!=null&&(e.signedTransactions[t].transactions=p))},updateSignedTransactionStatus:(e,o)=>{var m,g,y,u,T,w,I,A;let{sessionId:t,status:r,errorMessage:c,transactionHash:p,inTransit:d}=o.payload,l=(g=(m=e.signedTransactions)==null?void 0:m[t])==null?void 0:g.transactions;if(l!=null){e.signedTransactions[t].transactions=l.map(L=>L.hash===p?C(h({},L),{status:r,errorMessage:c,inTransit:d}):L);let E=(u=(y=e.signedTransactions[t])==null?void 0:y.transactions)==null?void 0:u.every(L=>No(L.status)),O=(w=(T=e.signedTransactions[t])==null?void 0:T.transactions)==null?void 0:w.every(L=>Eo(L.status)),B=(A=(I=e.signedTransactions[t])==null?void 0:I.transactions)==null?void 0:A.every(L=>Di(L.status));E&&(e.signedTransactions[t].status="success"),O&&(e.signedTransactions[t].status="fail"),B&&(e.signedTransactions[t].status="invalid")}},setTransactionsToSign:(e,o)=>{e.transactionsToSign=o.payload;let{sessionId:t,customTransactionInformation:r}=o.payload;e.customTransactionInformationForSessionId[t]=r,e.signTransactionsError=null},clearAllTransactionsToSign:e=>{e.transactionsToSign=an.transactionsToSign,e.signTransactionsError=null},clearAllSignedTransactions:e=>{e.signedTransactions=an.signedTransactions},setSignTransactionsError:(e,o)=>{e.signTransactionsError=o.payload},setSignTransactionsCancelMessage:(e,o)=>{e.signTransactionsCancelMessage=o.payload}},extraReducers:e=>{e.addCase(W,()=>an),e.addCase(Ri.REHYDRATE,(o,t)=>{var d;if(o.signTransactionsCancelMessage=null,!((d=t.payload)!=null&&d.transactions))return;let{signedTransactions:r,customTransactionInformationForSessionId:c}=t.payload.transactions,p=Object.entries(r).reduce((l,[m,g])=>{let y=new Date(m),u=new Date;return u.setHours(u.getHours()+5),u-y>0||(l[m]=g),l},{});c!=null&&(o.customTransactionInformationForSessionId=c),r!=null&&(o.signedTransactions=p)})}}),{updateSignedTransactionStatus:Bi,updateSignedTransactions:Fi,setTransactionsToSign:rm,clearAllTransactionsToSign:Yn,clearAllSignedTransactions:am,clearSignedTransaction:im,clearTransactionToSign:Nh,setSignTransactionsError:sm,setSignTransactionsCancelMessage:sn,moveTransactionsToSignedState:_r}=Oi.actions,Zn=Oi.reducer});var Ui,gr,Gi,Mh,Rh,cm,Oh,Qn,et=S(()=>{"use strict";n();Ui=require("@reduxjs/toolkit");Z();gr={},Gi=(0,Ui.createSlice)({name:"batchTransactionsSlice",initialState:gr,reducers:{setBatchTransactions:(e,o)=>{e[o.payload.id]=o.payload},updateBatchTransactions:(e,o)=>{e[o.payload.id]=o.payload},clearBatchTransactions:(e,o)=>{delete e[o.payload.batchId]},clearAllBatchTransactions:()=>gr},extraReducers:e=>{e.addCase(W,()=>gr)}}),{setBatchTransactions:Mh,updateBatchTransactions:Rh,clearBatchTransactions:cm,clearAllBatchTransactions:Oh}=Gi.actions,Qn=Gi.reducer});var Hi,Wi,Vi,Gh,$i,ur=S(()=>{"use strict";n();Hi=require("@reduxjs/toolkit");Z();Wi={},Vi=(0,Hi.createSlice)({name:"dappConfigSlice",initialState:Wi,reducers:{setDappConfig:(e,o)=>{if(e&&o.payload){let{logoutRoute:t,shouldUseWebViewProvider:r,cancelTransactionToastDuration:c}=o.payload;e.logoutRoute=t,e.shouldUseWebViewProvider=r,e.cancelTransactionToastDuration=c}else e=o.payload}},extraReducers:e=>{e.addCase(W,()=>Wi)}}),{setDappConfig:Gh}=Vi.actions,$i=Vi.reducer});var P=S(()=>{"use strict";n();Rn();Fn();Gn();Vn();zn();qn();Xn();Jn();et();ur()});var fr=S(()=>{"use strict";n()});var Ki,qi,Xi,hr,py,dy,my,ly,Yi,Zi,yr=S(()=>{"use strict";n();Ki=require("@reduxjs/toolkit");Z();qi={visible:!1,modal:{showHeader:!0,showFooter:!1,headerText:"",footerText:""}},Xi=(0,Ki.createSlice)({name:"dappModalsSlice",initialState:qi,reducers:{setDappModalVisibility:(e,o)=>{e.visible=o.payload},setDappModalHeaderVisibility:(e,o)=>{e.modal.showHeader=o.payload},setDappModalFooterVisibility:(e,o)=>{e.modal.showFooter=o.payload},setDappModalHeaderText:(e,o)=>{e.modal.headerText=o.payload},setDappModalFooterText:(e,o)=>{e.modal.footerText=o.payload},setDappModalConfig:(e,o)=>{e.modal=h({},o.payload)}},extraReducers:e=>{e.addCase(W,()=>qi)}}),{setDappModalVisibility:hr,setDappModalHeaderVisibility:py,setDappModalFooterVisibility:dy,setDappModalHeaderText:my,setDappModalFooterText:ly,setDappModalConfig:Yi}=Xi.actions,Zi=Xi.reducer});var Ji,lm,_m,io,tt=S(()=>{"use strict";n();Ji=require("@reduxjs/toolkit");fr();Rn();et();ur();yr();Fn();Gn();Vn();zn();qn();Xn();Jn();lm={["account"]:Mn,["dappModal"]:Zi,["dappConfig"]:$i,["loginInfo"]:Bn,["modals"]:Un,["networkConfig"]:Hn,["signedMessageInfo"]:$n,["toasts"]:jn,["transactionsInfo"]:Kn,["transactions"]:Zn,["batchTransactions"]:Qn},_m=(e={})=>(0,Ji.combineReducers)(h(h({},lm),e)),io=_m});var ns={};Qe(ns,{default:()=>Lm,sessionStorageReducers:()=>Tr});function Fe(e,o=[]){return{key:e,version:1,storage:es.default,blacklist:o}}var ae,Qi,es,gm,cn,um,fm,hm,ym,Tm,xm,bm,Sm,wm,vm,os,Am,Tr,Cm,km,Im,Lm,ts=S(()=>{"use strict";n();ae=require("redux-persist"),Qi=f(require("redux-persist/lib/storage")),es=f(require("redux-persist/lib/storage/session"));tt();P();Rn();et();Fn();Gn();Vn();zn();qn();Xn();Jn();fr();gm={persistReducersStorageType:"localStorage"},cn={["account"]:"sdk-dapp-account",["loginInfo"]:"sdk-dapp-login-info",["modals"]:"sdk-dapp-modals",["networkConfig"]:"sdk-dapp-network-config"},um=Fe(cn["account"]),fm=Fe(cn["loginInfo"]),hm=Fe(cn["modals"]),ym=Fe(cn["networkConfig"]),Tm={2:e=>C(h({},e),{networkConfig:ar})};xm=Fe("sdk-dapp-transactionsInfo"),bm=Fe("sdk-dapp-transactions",["transactionsToSign"]),Sm=Fe("sdk-dapp-batchTransactions",["batchTransactions"]),wm=Fe("sdk-dapp-toasts"),vm=Fe("sdk-dapp-signedMessageInfo"),os={key:"sdk-dapp-store",version:2,storage:Qi.default,whitelist:Object.keys(cn),migrate:(0,ae.createMigrate)(Tm,{debug:!1})},Am=C(h({},os),{whitelist:[]}),Tr={["toasts"]:(0,ae.persistReducer)(wm,jn),["transactions"]:(0,ae.persistReducer)(bm,Zn),["transactionsInfo"]:(0,ae.persistReducer)(xm,Kn),["batchTransactions"]:(0,ae.persistReducer)(Sm,Qn),["signedMessageInfo"]:(0,ae.persistReducer)(vm,$n)},Cm=C(h({},Tr),{["account"]:(0,ae.persistReducer)(um,Mn),["loginInfo"]:(0,ae.persistReducer)(fm,Bn),["modals"]:(0,ae.persistReducer)(hm,Un),["networkConfig"]:(0,ae.persistReducer)(ym,Hn)}),km=gm.persistReducersStorageType==="localStorage",Im=km?(0,ae.persistReducer)(os,io(Tr)):(0,ae.persistReducer)(Am,io(Cm)),Lm=Im});var rs={};Qe(rs,{default:()=>Nm});var Nm,as=S(()=>{"use strict";n();tt();Nm=io()});var is={};Qe(is,{default:()=>Pm});var le,Em,Pm,ss=S(()=>{"use strict";n();le=require("redux-persist"),Em=[le.FLUSH,le.REHYDRATE,le.PAUSE,le.PERSIST,le.PURGE,le.REGISTER],Pm=Em});var ds={};Qe(ds,{default:()=>ps});function ps(e){return(0,cs.persistStore)(e)}var cs,ms=S(()=>{"use strict";n();cs=require("redux-persist")});var hc=ie((IP,fc)=>{n();var P_=typeof i=="object"&&i&&i.Object===Object&&i;fc.exports=P_});var Tc=ie((LP,yc)=>{n();var D_=hc(),M_=typeof self=="object"&&self&&self.Object===Object&&self,R_=D_||M_||Function("return this")();yc.exports=R_});var Br=ie((NP,xc)=>{n();var O_=Tc(),B_=O_.Symbol;xc.exports=B_});var vc=ie((EP,wc)=>{n();var bc=Br(),Sc=Object.prototype,F_=Sc.hasOwnProperty,U_=Sc.toString,un=bc?bc.toStringTag:void 0;function G_(e){var o=F_.call(e,un),t=e[un];try{e[un]=void 0;var r=!0}catch(p){}var c=U_.call(e);return r&&(o?e[un]=t:delete e[un]),c}wc.exports=G_});var Cc=ie((PP,Ac)=>{n();var W_=Object.prototype,H_=W_.toString;function V_(e){return H_.call(e)}Ac.exports=V_});var Nc=ie((DP,Lc)=>{n();var kc=Br(),$_=vc(),z_=Cc(),j_="[object Null]",q_="[object Undefined]",Ic=kc?kc.toStringTag:void 0;function K_(e){return e==null?e===void 0?q_:j_:Ic&&Ic in Object(e)?$_(e):z_(e)}Lc.exports=K_});var Pc=ie((MP,Ec)=>{n();var X_=Array.isArray;Ec.exports=X_});var Mc=ie((RP,Dc)=>{n();function Y_(e){return e!=null&&typeof e=="object"}Dc.exports=Y_});var Oc=ie((OP,Rc)=>{n();var Z_=Nc(),J_=Pc(),Q_=Mc(),eg="[object String]";function og(e){return typeof e=="string"||!J_(e)&&Q_(e)&&Z_(e)==eg}Rc.exports=og});var Fg={};Qe(Fg,{LedgerLoginContainer:()=>Bg});module.exports=Yo(Fg);n();n();var wt=f(require("react")),bp=f(require("classnames"));n();n();var Jc=f(require("react"));n();n();n();var bo=f(require("react")),zt=f(require("classnames")),Ja=f(require("react-dom"));k();n();var gd=`.dapp-core-component__dappModalStyles__dappModal {
1
+ "use strict";var Ip=Object.create;var Ko=Object.defineProperty,Lp=Object.defineProperties,Np=Object.getOwnPropertyDescriptor,Ep=Object.getOwnPropertyDescriptors,Pp=Object.getOwnPropertyNames,vn=Object.getOwnPropertySymbols,Dp=Object.getPrototypeOf,Ct=Object.prototype.hasOwnProperty,oa=Object.prototype.propertyIsEnumerable;var ea=(e,o,t)=>o in e?Ko(e,o,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[o]=t,h=(e,o)=>{for(var t in o||(o={}))Ct.call(o,t)&&ea(e,t,o[t]);if(vn)for(var t of vn(o))oa.call(o,t)&&ea(e,t,o[t]);return e},C=(e,o)=>Lp(e,Ep(o));var Xo=(e,o)=>{var t={};for(var r in e)Ct.call(e,r)&&o.indexOf(r)<0&&(t[r]=e[r]);if(e!=null&&vn)for(var r of vn(e))o.indexOf(r)<0&&oa.call(e,r)&&(t[r]=e[r]);return t};var S=(e,o)=>()=>(e&&(o=e(e=0)),o);var ie=(e,o)=>()=>(o||e((o={exports:{}}).exports,o),o.exports),Qe=(e,o)=>{for(var t in o)Ko(e,t,{get:o[t],enumerable:!0})},na=(e,o,t,r)=>{if(o&&typeof o=="object"||typeof o=="function")for(let c of Pp(o))!Ct.call(e,c)&&c!==t&&Ko(e,c,{get:()=>o[c],enumerable:!(r=Np(o,c))||r.enumerable});return e};var f=(e,o,t)=>(t=e!=null?Ip(Dp(e)):{},na(o||!e||!e.__esModule?Ko(t,"default",{value:e,enumerable:!0}):t,e)),Yo=e=>na(Ko({},"__esModule",{value:!0}),e);var b=(e,o,t)=>new Promise((r,c)=>{var p=m=>{try{l(t.next(m))}catch(g){c(g)}},d=m=>{try{l(t.throw(m))}catch(g){c(g)}},l=m=>m.done?r(m.value):Promise.resolve(m.value).then(p,d);l((t=t.apply(e,o)).next())});var aa=ie(An=>{"use strict";n();An.byteLength=Rp;An.toByteArray=Bp;An.fromByteArray=Gp;var we=[],de=[],Mp=typeof Uint8Array!="undefined"?Uint8Array:Array,kt="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(eo=0,ta=kt.length;eo<ta;++eo)we[eo]=kt[eo],de[kt.charCodeAt(eo)]=eo;var eo,ta;de["-".charCodeAt(0)]=62;de["_".charCodeAt(0)]=63;function ra(e){var o=e.length;if(o%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var t=e.indexOf("=");t===-1&&(t=o);var r=t===o?0:4-t%4;return[t,r]}function Rp(e){var o=ra(e),t=o[0],r=o[1];return(t+r)*3/4-r}function Op(e,o,t){return(o+t)*3/4-t}function Bp(e){var o,t=ra(e),r=t[0],c=t[1],p=new Mp(Op(e,r,c)),d=0,l=c>0?r-4:r,m;for(m=0;m<l;m+=4)o=de[e.charCodeAt(m)]<<18|de[e.charCodeAt(m+1)]<<12|de[e.charCodeAt(m+2)]<<6|de[e.charCodeAt(m+3)],p[d++]=o>>16&255,p[d++]=o>>8&255,p[d++]=o&255;return c===2&&(o=de[e.charCodeAt(m)]<<2|de[e.charCodeAt(m+1)]>>4,p[d++]=o&255),c===1&&(o=de[e.charCodeAt(m)]<<10|de[e.charCodeAt(m+1)]<<4|de[e.charCodeAt(m+2)]>>2,p[d++]=o>>8&255,p[d++]=o&255),p}function Fp(e){return we[e>>18&63]+we[e>>12&63]+we[e>>6&63]+we[e&63]}function Up(e,o,t){for(var r,c=[],p=o;p<t;p+=3)r=(e[p]<<16&16711680)+(e[p+1]<<8&65280)+(e[p+2]&255),c.push(Fp(r));return c.join("")}function Gp(e){for(var o,t=e.length,r=t%3,c=[],p=16383,d=0,l=t-r;d<l;d+=p)c.push(Up(e,d,d+p>l?l:d+p));return r===1?(o=e[t-1],c.push(we[o>>2]+we[o<<4&63]+"==")):r===2&&(o=(e[t-2]<<8)+e[t-1],c.push(we[o>>10]+we[o>>4&63]+we[o<<2&63]+"=")),c.join("")}});var ia=ie(It=>{n();It.read=function(e,o,t,r,c){var p,d,l=c*8-r-1,m=(1<<l)-1,g=m>>1,y=-7,u=t?c-1:0,T=t?-1:1,w=e[o+u];for(u+=T,p=w&(1<<-y)-1,w>>=-y,y+=l;y>0;p=p*256+e[o+u],u+=T,y-=8);for(d=p&(1<<-y)-1,p>>=-y,y+=r;y>0;d=d*256+e[o+u],u+=T,y-=8);if(p===0)p=1-g;else{if(p===m)return d?NaN:(w?-1:1)*(1/0);d=d+Math.pow(2,r),p=p-g}return(w?-1:1)*d*Math.pow(2,p-r)};It.write=function(e,o,t,r,c,p){var d,l,m,g=p*8-c-1,y=(1<<g)-1,u=y>>1,T=c===23?Math.pow(2,-24)-Math.pow(2,-77):0,w=r?0:p-1,I=r?1:-1,A=o<0||o===0&&1/o<0?1:0;for(o=Math.abs(o),isNaN(o)||o===1/0?(l=isNaN(o)?1:0,d=y):(d=Math.floor(Math.log(o)/Math.LN2),o*(m=Math.pow(2,-d))<1&&(d--,m*=2),d+u>=1?o+=T/m:o+=T*Math.pow(2,1-u),o*m>=2&&(d++,m/=2),d+u>=y?(l=0,d=y):d+u>=1?(l=(o*m-1)*Math.pow(2,c),d=d+u):(l=o*Math.pow(2,u-1)*Math.pow(2,c),d=0));c>=8;e[t+w]=l&255,w+=I,l/=256,c-=8);for(d=d<<c|l,g+=c;g>0;e[t+w]=d&255,w+=I,d/=256,g-=8);e[t+w-I]|=A*128}});var Ta=ie(fo=>{"use strict";n();var Lt=aa(),uo=ia(),sa=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;fo.Buffer=_;fo.SlowBuffer=jp;fo.INSPECT_MAX_BYTES=50;var Cn=2147483647;fo.kMaxLength=Cn;_.TYPED_ARRAY_SUPPORT=Wp();!_.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 Wp(){try{var e=new Uint8Array(1),o={foo:function(){return 42}};return Object.setPrototypeOf(o,Uint8Array.prototype),Object.setPrototypeOf(e,o),e.foo()===42}catch(t){return!1}}Object.defineProperty(_.prototype,"parent",{enumerable:!0,get:function(){if(!!_.isBuffer(this))return this.buffer}});Object.defineProperty(_.prototype,"offset",{enumerable:!0,get:function(){if(!!_.isBuffer(this))return this.byteOffset}});function Re(e){if(e>Cn)throw new RangeError('The value "'+e+'" is invalid for option "size"');var o=new Uint8Array(e);return Object.setPrototypeOf(o,_.prototype),o}function _(e,o,t){if(typeof e=="number"){if(typeof o=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return Dt(e)}return da(e,o,t)}_.poolSize=8192;function da(e,o,t){if(typeof e=="string")return Vp(e,o);if(ArrayBuffer.isView(e))return $p(e);if(e==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e);if(ve(e,ArrayBuffer)||e&&ve(e.buffer,ArrayBuffer)||typeof SharedArrayBuffer!="undefined"&&(ve(e,SharedArrayBuffer)||e&&ve(e.buffer,SharedArrayBuffer)))return Et(e,o,t);if(typeof e=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var r=e.valueOf&&e.valueOf();if(r!=null&&r!==e)return _.from(r,o,t);var c=zp(e);if(c)return c;if(typeof Symbol!="undefined"&&Symbol.toPrimitive!=null&&typeof e[Symbol.toPrimitive]=="function")return _.from(e[Symbol.toPrimitive]("string"),o,t);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e)}_.from=function(e,o,t){return da(e,o,t)};Object.setPrototypeOf(_.prototype,Uint8Array.prototype);Object.setPrototypeOf(_,Uint8Array);function ma(e){if(typeof e!="number")throw new TypeError('"size" argument must be of type number');if(e<0)throw new RangeError('The value "'+e+'" is invalid for option "size"')}function Hp(e,o,t){return ma(e),e<=0?Re(e):o!==void 0?typeof t=="string"?Re(e).fill(o,t):Re(e).fill(o):Re(e)}_.alloc=function(e,o,t){return Hp(e,o,t)};function Dt(e){return ma(e),Re(e<0?0:Mt(e)|0)}_.allocUnsafe=function(e){return Dt(e)};_.allocUnsafeSlow=function(e){return Dt(e)};function Vp(e,o){if((typeof o!="string"||o==="")&&(o="utf8"),!_.isEncoding(o))throw new TypeError("Unknown encoding: "+o);var t=la(e,o)|0,r=Re(t),c=r.write(e,o);return c!==t&&(r=r.slice(0,c)),r}function Nt(e){for(var o=e.length<0?0:Mt(e.length)|0,t=Re(o),r=0;r<o;r+=1)t[r]=e[r]&255;return t}function $p(e){if(ve(e,Uint8Array)){var o=new Uint8Array(e);return Et(o.buffer,o.byteOffset,o.byteLength)}return Nt(e)}function Et(e,o,t){if(o<0||e.byteLength<o)throw new RangeError('"offset" is outside of buffer bounds');if(e.byteLength<o+(t||0))throw new RangeError('"length" is outside of buffer bounds');var r;return o===void 0&&t===void 0?r=new Uint8Array(e):t===void 0?r=new Uint8Array(e,o):r=new Uint8Array(e,o,t),Object.setPrototypeOf(r,_.prototype),r}function zp(e){if(_.isBuffer(e)){var o=Mt(e.length)|0,t=Re(o);return t.length===0||e.copy(t,0,0,o),t}if(e.length!==void 0)return typeof e.length!="number"||Rt(e.length)?Re(0):Nt(e);if(e.type==="Buffer"&&Array.isArray(e.data))return Nt(e.data)}function Mt(e){if(e>=Cn)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+Cn.toString(16)+" bytes");return e|0}function jp(e){return+e!=e&&(e=0),_.alloc(+e)}_.isBuffer=function(o){return o!=null&&o._isBuffer===!0&&o!==_.prototype};_.compare=function(o,t){if(ve(o,Uint8Array)&&(o=_.from(o,o.offset,o.byteLength)),ve(t,Uint8Array)&&(t=_.from(t,t.offset,t.byteLength)),!_.isBuffer(o)||!_.isBuffer(t))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(o===t)return 0;for(var r=o.length,c=t.length,p=0,d=Math.min(r,c);p<d;++p)if(o[p]!==t[p]){r=o[p],c=t[p];break}return r<c?-1:c<r?1:0};_.isEncoding=function(o){switch(String(o).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}};_.concat=function(o,t){if(!Array.isArray(o))throw new TypeError('"list" argument must be an Array of Buffers');if(o.length===0)return _.alloc(0);var r;if(t===void 0)for(t=0,r=0;r<o.length;++r)t+=o[r].length;var c=_.allocUnsafe(t),p=0;for(r=0;r<o.length;++r){var d=o[r];if(ve(d,Uint8Array))p+d.length>c.length?_.from(d).copy(c,p):Uint8Array.prototype.set.call(c,d,p);else if(_.isBuffer(d))d.copy(c,p);else throw new TypeError('"list" argument must be an Array of Buffers');p+=d.length}return c};function la(e,o){if(_.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||ve(e,ArrayBuffer))return e.byteLength;if(typeof e!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof e);var t=e.length,r=arguments.length>2&&arguments[2]===!0;if(!r&&t===0)return 0;for(var c=!1;;)switch(o){case"ascii":case"latin1":case"binary":return t;case"utf8":case"utf-8":return Pt(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return t*2;case"hex":return t>>>1;case"base64":return ya(e).length;default:if(c)return r?-1:Pt(e).length;o=(""+o).toLowerCase(),c=!0}}_.byteLength=la;function qp(e,o,t){var r=!1;if((o===void 0||o<0)&&(o=0),o>this.length||((t===void 0||t>this.length)&&(t=this.length),t<=0)||(t>>>=0,o>>>=0,t<=o))return"";for(e||(e="utf8");;)switch(e){case"hex":return td(this,o,t);case"utf8":case"utf-8":return ga(this,o,t);case"ascii":return od(this,o,t);case"latin1":case"binary":return nd(this,o,t);case"base64":return Qp(this,o,t);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return rd(this,o,t);default:if(r)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),r=!0}}_.prototype._isBuffer=!0;function oo(e,o,t){var r=e[o];e[o]=e[t],e[t]=r}_.prototype.swap16=function(){var o=this.length;if(o%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var t=0;t<o;t+=2)oo(this,t,t+1);return this};_.prototype.swap32=function(){var o=this.length;if(o%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var t=0;t<o;t+=4)oo(this,t,t+3),oo(this,t+1,t+2);return this};_.prototype.swap64=function(){var o=this.length;if(o%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var t=0;t<o;t+=8)oo(this,t,t+7),oo(this,t+1,t+6),oo(this,t+2,t+5),oo(this,t+3,t+4);return this};_.prototype.toString=function(){var o=this.length;return o===0?"":arguments.length===0?ga(this,0,o):qp.apply(this,arguments)};_.prototype.toLocaleString=_.prototype.toString;_.prototype.equals=function(o){if(!_.isBuffer(o))throw new TypeError("Argument must be a Buffer");return this===o?!0:_.compare(this,o)===0};_.prototype.inspect=function(){var o="",t=fo.INSPECT_MAX_BYTES;return o=this.toString("hex",0,t).replace(/(.{2})/g,"$1 ").trim(),this.length>t&&(o+=" ... "),"<Buffer "+o+">"};sa&&(_.prototype[sa]=_.prototype.inspect);_.prototype.compare=function(o,t,r,c,p){if(ve(o,Uint8Array)&&(o=_.from(o,o.offset,o.byteLength)),!_.isBuffer(o))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof o);if(t===void 0&&(t=0),r===void 0&&(r=o?o.length:0),c===void 0&&(c=0),p===void 0&&(p=this.length),t<0||r>o.length||c<0||p>this.length)throw new RangeError("out of range index");if(c>=p&&t>=r)return 0;if(c>=p)return-1;if(t>=r)return 1;if(t>>>=0,r>>>=0,c>>>=0,p>>>=0,this===o)return 0;for(var d=p-c,l=r-t,m=Math.min(d,l),g=this.slice(c,p),y=o.slice(t,r),u=0;u<m;++u)if(g[u]!==y[u]){d=g[u],l=y[u];break}return d<l?-1:l<d?1:0};function _a(e,o,t,r,c){if(e.length===0)return-1;if(typeof t=="string"?(r=t,t=0):t>2147483647?t=2147483647:t<-2147483648&&(t=-2147483648),t=+t,Rt(t)&&(t=c?0:e.length-1),t<0&&(t=e.length+t),t>=e.length){if(c)return-1;t=e.length-1}else if(t<0)if(c)t=0;else return-1;if(typeof o=="string"&&(o=_.from(o,r)),_.isBuffer(o))return o.length===0?-1:ca(e,o,t,r,c);if(typeof o=="number")return o=o&255,typeof Uint8Array.prototype.indexOf=="function"?c?Uint8Array.prototype.indexOf.call(e,o,t):Uint8Array.prototype.lastIndexOf.call(e,o,t):ca(e,[o],t,r,c);throw new TypeError("val must be string, number or Buffer")}function ca(e,o,t,r,c){var p=1,d=e.length,l=o.length;if(r!==void 0&&(r=String(r).toLowerCase(),r==="ucs2"||r==="ucs-2"||r==="utf16le"||r==="utf-16le")){if(e.length<2||o.length<2)return-1;p=2,d/=2,l/=2,t/=2}function m(w,I){return p===1?w[I]:w.readUInt16BE(I*p)}var g;if(c){var y=-1;for(g=t;g<d;g++)if(m(e,g)===m(o,y===-1?0:g-y)){if(y===-1&&(y=g),g-y+1===l)return y*p}else y!==-1&&(g-=g-y),y=-1}else for(t+l>d&&(t=d-l),g=t;g>=0;g--){for(var u=!0,T=0;T<l;T++)if(m(e,g+T)!==m(o,T)){u=!1;break}if(u)return g}return-1}_.prototype.includes=function(o,t,r){return this.indexOf(o,t,r)!==-1};_.prototype.indexOf=function(o,t,r){return _a(this,o,t,r,!0)};_.prototype.lastIndexOf=function(o,t,r){return _a(this,o,t,r,!1)};function Kp(e,o,t,r){t=Number(t)||0;var c=e.length-t;r?(r=Number(r),r>c&&(r=c)):r=c;var p=o.length;r>p/2&&(r=p/2);for(var d=0;d<r;++d){var l=parseInt(o.substr(d*2,2),16);if(Rt(l))return d;e[t+d]=l}return d}function Xp(e,o,t,r){return kn(Pt(o,e.length-t),e,t,r)}function Yp(e,o,t,r){return kn(sd(o),e,t,r)}function Zp(e,o,t,r){return kn(ya(o),e,t,r)}function Jp(e,o,t,r){return kn(cd(o,e.length-t),e,t,r)}_.prototype.write=function(o,t,r,c){if(t===void 0)c="utf8",r=this.length,t=0;else if(r===void 0&&typeof t=="string")c=t,r=this.length,t=0;else if(isFinite(t))t=t>>>0,isFinite(r)?(r=r>>>0,c===void 0&&(c="utf8")):(c=r,r=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var p=this.length-t;if((r===void 0||r>p)&&(r=p),o.length>0&&(r<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");c||(c="utf8");for(var d=!1;;)switch(c){case"hex":return Kp(this,o,t,r);case"utf8":case"utf-8":return Xp(this,o,t,r);case"ascii":case"latin1":case"binary":return Yp(this,o,t,r);case"base64":return Zp(this,o,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Jp(this,o,t,r);default:if(d)throw new TypeError("Unknown encoding: "+c);c=(""+c).toLowerCase(),d=!0}};_.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function Qp(e,o,t){return o===0&&t===e.length?Lt.fromByteArray(e):Lt.fromByteArray(e.slice(o,t))}function ga(e,o,t){t=Math.min(e.length,t);for(var r=[],c=o;c<t;){var p=e[c],d=null,l=p>239?4:p>223?3:p>191?2:1;if(c+l<=t){var m,g,y,u;switch(l){case 1:p<128&&(d=p);break;case 2:m=e[c+1],(m&192)===128&&(u=(p&31)<<6|m&63,u>127&&(d=u));break;case 3:m=e[c+1],g=e[c+2],(m&192)===128&&(g&192)===128&&(u=(p&15)<<12|(m&63)<<6|g&63,u>2047&&(u<55296||u>57343)&&(d=u));break;case 4:m=e[c+1],g=e[c+2],y=e[c+3],(m&192)===128&&(g&192)===128&&(y&192)===128&&(u=(p&15)<<18|(m&63)<<12|(g&63)<<6|y&63,u>65535&&u<1114112&&(d=u))}}d===null?(d=65533,l=1):d>65535&&(d-=65536,r.push(d>>>10&1023|55296),d=56320|d&1023),r.push(d),c+=l}return ed(r)}var pa=4096;function ed(e){var o=e.length;if(o<=pa)return String.fromCharCode.apply(String,e);for(var t="",r=0;r<o;)t+=String.fromCharCode.apply(String,e.slice(r,r+=pa));return t}function od(e,o,t){var r="";t=Math.min(e.length,t);for(var c=o;c<t;++c)r+=String.fromCharCode(e[c]&127);return r}function nd(e,o,t){var r="";t=Math.min(e.length,t);for(var c=o;c<t;++c)r+=String.fromCharCode(e[c]);return r}function td(e,o,t){var r=e.length;(!o||o<0)&&(o=0),(!t||t<0||t>r)&&(t=r);for(var c="",p=o;p<t;++p)c+=pd[e[p]];return c}function rd(e,o,t){for(var r=e.slice(o,t),c="",p=0;p<r.length-1;p+=2)c+=String.fromCharCode(r[p]+r[p+1]*256);return c}_.prototype.slice=function(o,t){var r=this.length;o=~~o,t=t===void 0?r:~~t,o<0?(o+=r,o<0&&(o=0)):o>r&&(o=r),t<0?(t+=r,t<0&&(t=0)):t>r&&(t=r),t<o&&(t=o);var c=this.subarray(o,t);return Object.setPrototypeOf(c,_.prototype),c};function j(e,o,t){if(e%1!==0||e<0)throw new RangeError("offset is not uint");if(e+o>t)throw new RangeError("Trying to access beyond buffer length")}_.prototype.readUintLE=_.prototype.readUIntLE=function(o,t,r){o=o>>>0,t=t>>>0,r||j(o,t,this.length);for(var c=this[o],p=1,d=0;++d<t&&(p*=256);)c+=this[o+d]*p;return c};_.prototype.readUintBE=_.prototype.readUIntBE=function(o,t,r){o=o>>>0,t=t>>>0,r||j(o,t,this.length);for(var c=this[o+--t],p=1;t>0&&(p*=256);)c+=this[o+--t]*p;return c};_.prototype.readUint8=_.prototype.readUInt8=function(o,t){return o=o>>>0,t||j(o,1,this.length),this[o]};_.prototype.readUint16LE=_.prototype.readUInt16LE=function(o,t){return o=o>>>0,t||j(o,2,this.length),this[o]|this[o+1]<<8};_.prototype.readUint16BE=_.prototype.readUInt16BE=function(o,t){return o=o>>>0,t||j(o,2,this.length),this[o]<<8|this[o+1]};_.prototype.readUint32LE=_.prototype.readUInt32LE=function(o,t){return o=o>>>0,t||j(o,4,this.length),(this[o]|this[o+1]<<8|this[o+2]<<16)+this[o+3]*16777216};_.prototype.readUint32BE=_.prototype.readUInt32BE=function(o,t){return o=o>>>0,t||j(o,4,this.length),this[o]*16777216+(this[o+1]<<16|this[o+2]<<8|this[o+3])};_.prototype.readIntLE=function(o,t,r){o=o>>>0,t=t>>>0,r||j(o,t,this.length);for(var c=this[o],p=1,d=0;++d<t&&(p*=256);)c+=this[o+d]*p;return p*=128,c>=p&&(c-=Math.pow(2,8*t)),c};_.prototype.readIntBE=function(o,t,r){o=o>>>0,t=t>>>0,r||j(o,t,this.length);for(var c=t,p=1,d=this[o+--c];c>0&&(p*=256);)d+=this[o+--c]*p;return p*=128,d>=p&&(d-=Math.pow(2,8*t)),d};_.prototype.readInt8=function(o,t){return o=o>>>0,t||j(o,1,this.length),this[o]&128?(255-this[o]+1)*-1:this[o]};_.prototype.readInt16LE=function(o,t){o=o>>>0,t||j(o,2,this.length);var r=this[o]|this[o+1]<<8;return r&32768?r|4294901760:r};_.prototype.readInt16BE=function(o,t){o=o>>>0,t||j(o,2,this.length);var r=this[o+1]|this[o]<<8;return r&32768?r|4294901760:r};_.prototype.readInt32LE=function(o,t){return o=o>>>0,t||j(o,4,this.length),this[o]|this[o+1]<<8|this[o+2]<<16|this[o+3]<<24};_.prototype.readInt32BE=function(o,t){return o=o>>>0,t||j(o,4,this.length),this[o]<<24|this[o+1]<<16|this[o+2]<<8|this[o+3]};_.prototype.readFloatLE=function(o,t){return o=o>>>0,t||j(o,4,this.length),uo.read(this,o,!0,23,4)};_.prototype.readFloatBE=function(o,t){return o=o>>>0,t||j(o,4,this.length),uo.read(this,o,!1,23,4)};_.prototype.readDoubleLE=function(o,t){return o=o>>>0,t||j(o,8,this.length),uo.read(this,o,!0,52,8)};_.prototype.readDoubleBE=function(o,t){return o=o>>>0,t||j(o,8,this.length),uo.read(this,o,!1,52,8)};function te(e,o,t,r,c,p){if(!_.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(o>c||o<p)throw new RangeError('"value" argument is out of bounds');if(t+r>e.length)throw new RangeError("Index out of range")}_.prototype.writeUintLE=_.prototype.writeUIntLE=function(o,t,r,c){if(o=+o,t=t>>>0,r=r>>>0,!c){var p=Math.pow(2,8*r)-1;te(this,o,t,r,p,0)}var d=1,l=0;for(this[t]=o&255;++l<r&&(d*=256);)this[t+l]=o/d&255;return t+r};_.prototype.writeUintBE=_.prototype.writeUIntBE=function(o,t,r,c){if(o=+o,t=t>>>0,r=r>>>0,!c){var p=Math.pow(2,8*r)-1;te(this,o,t,r,p,0)}var d=r-1,l=1;for(this[t+d]=o&255;--d>=0&&(l*=256);)this[t+d]=o/l&255;return t+r};_.prototype.writeUint8=_.prototype.writeUInt8=function(o,t,r){return o=+o,t=t>>>0,r||te(this,o,t,1,255,0),this[t]=o&255,t+1};_.prototype.writeUint16LE=_.prototype.writeUInt16LE=function(o,t,r){return o=+o,t=t>>>0,r||te(this,o,t,2,65535,0),this[t]=o&255,this[t+1]=o>>>8,t+2};_.prototype.writeUint16BE=_.prototype.writeUInt16BE=function(o,t,r){return o=+o,t=t>>>0,r||te(this,o,t,2,65535,0),this[t]=o>>>8,this[t+1]=o&255,t+2};_.prototype.writeUint32LE=_.prototype.writeUInt32LE=function(o,t,r){return o=+o,t=t>>>0,r||te(this,o,t,4,4294967295,0),this[t+3]=o>>>24,this[t+2]=o>>>16,this[t+1]=o>>>8,this[t]=o&255,t+4};_.prototype.writeUint32BE=_.prototype.writeUInt32BE=function(o,t,r){return o=+o,t=t>>>0,r||te(this,o,t,4,4294967295,0),this[t]=o>>>24,this[t+1]=o>>>16,this[t+2]=o>>>8,this[t+3]=o&255,t+4};_.prototype.writeIntLE=function(o,t,r,c){if(o=+o,t=t>>>0,!c){var p=Math.pow(2,8*r-1);te(this,o,t,r,p-1,-p)}var d=0,l=1,m=0;for(this[t]=o&255;++d<r&&(l*=256);)o<0&&m===0&&this[t+d-1]!==0&&(m=1),this[t+d]=(o/l>>0)-m&255;return t+r};_.prototype.writeIntBE=function(o,t,r,c){if(o=+o,t=t>>>0,!c){var p=Math.pow(2,8*r-1);te(this,o,t,r,p-1,-p)}var d=r-1,l=1,m=0;for(this[t+d]=o&255;--d>=0&&(l*=256);)o<0&&m===0&&this[t+d+1]!==0&&(m=1),this[t+d]=(o/l>>0)-m&255;return t+r};_.prototype.writeInt8=function(o,t,r){return o=+o,t=t>>>0,r||te(this,o,t,1,127,-128),o<0&&(o=255+o+1),this[t]=o&255,t+1};_.prototype.writeInt16LE=function(o,t,r){return o=+o,t=t>>>0,r||te(this,o,t,2,32767,-32768),this[t]=o&255,this[t+1]=o>>>8,t+2};_.prototype.writeInt16BE=function(o,t,r){return o=+o,t=t>>>0,r||te(this,o,t,2,32767,-32768),this[t]=o>>>8,this[t+1]=o&255,t+2};_.prototype.writeInt32LE=function(o,t,r){return o=+o,t=t>>>0,r||te(this,o,t,4,2147483647,-2147483648),this[t]=o&255,this[t+1]=o>>>8,this[t+2]=o>>>16,this[t+3]=o>>>24,t+4};_.prototype.writeInt32BE=function(o,t,r){return o=+o,t=t>>>0,r||te(this,o,t,4,2147483647,-2147483648),o<0&&(o=4294967295+o+1),this[t]=o>>>24,this[t+1]=o>>>16,this[t+2]=o>>>8,this[t+3]=o&255,t+4};function ua(e,o,t,r,c,p){if(t+r>e.length)throw new RangeError("Index out of range");if(t<0)throw new RangeError("Index out of range")}function fa(e,o,t,r,c){return o=+o,t=t>>>0,c||ua(e,o,t,4,34028234663852886e22,-34028234663852886e22),uo.write(e,o,t,r,23,4),t+4}_.prototype.writeFloatLE=function(o,t,r){return fa(this,o,t,!0,r)};_.prototype.writeFloatBE=function(o,t,r){return fa(this,o,t,!1,r)};function ha(e,o,t,r,c){return o=+o,t=t>>>0,c||ua(e,o,t,8,17976931348623157e292,-17976931348623157e292),uo.write(e,o,t,r,52,8),t+8}_.prototype.writeDoubleLE=function(o,t,r){return ha(this,o,t,!0,r)};_.prototype.writeDoubleBE=function(o,t,r){return ha(this,o,t,!1,r)};_.prototype.copy=function(o,t,r,c){if(!_.isBuffer(o))throw new TypeError("argument should be a Buffer");if(r||(r=0),!c&&c!==0&&(c=this.length),t>=o.length&&(t=o.length),t||(t=0),c>0&&c<r&&(c=r),c===r||o.length===0||this.length===0)return 0;if(t<0)throw new RangeError("targetStart out of bounds");if(r<0||r>=this.length)throw new RangeError("Index out of range");if(c<0)throw new RangeError("sourceEnd out of bounds");c>this.length&&(c=this.length),o.length-t<c-r&&(c=o.length-t+r);var p=c-r;return this===o&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(t,r,c):Uint8Array.prototype.set.call(o,this.subarray(r,c),t),p};_.prototype.fill=function(o,t,r,c){if(typeof o=="string"){if(typeof t=="string"?(c=t,t=0,r=this.length):typeof r=="string"&&(c=r,r=this.length),c!==void 0&&typeof c!="string")throw new TypeError("encoding must be a string");if(typeof c=="string"&&!_.isEncoding(c))throw new TypeError("Unknown encoding: "+c);if(o.length===1){var p=o.charCodeAt(0);(c==="utf8"&&p<128||c==="latin1")&&(o=p)}}else typeof o=="number"?o=o&255:typeof o=="boolean"&&(o=Number(o));if(t<0||this.length<t||this.length<r)throw new RangeError("Out of range index");if(r<=t)return this;t=t>>>0,r=r===void 0?this.length:r>>>0,o||(o=0);var d;if(typeof o=="number")for(d=t;d<r;++d)this[d]=o;else{var l=_.isBuffer(o)?o:_.from(o,c),m=l.length;if(m===0)throw new TypeError('The value "'+o+'" is invalid for argument "value"');for(d=0;d<r-t;++d)this[d+t]=l[d%m]}return this};var ad=/[^+/0-9A-Za-z-_]/g;function id(e){if(e=e.split("=")[0],e=e.trim().replace(ad,""),e.length<2)return"";for(;e.length%4!==0;)e=e+"=";return e}function Pt(e,o){o=o||1/0;for(var t,r=e.length,c=null,p=[],d=0;d<r;++d){if(t=e.charCodeAt(d),t>55295&&t<57344){if(!c){if(t>56319){(o-=3)>-1&&p.push(239,191,189);continue}else if(d+1===r){(o-=3)>-1&&p.push(239,191,189);continue}c=t;continue}if(t<56320){(o-=3)>-1&&p.push(239,191,189),c=t;continue}t=(c-55296<<10|t-56320)+65536}else c&&(o-=3)>-1&&p.push(239,191,189);if(c=null,t<128){if((o-=1)<0)break;p.push(t)}else if(t<2048){if((o-=2)<0)break;p.push(t>>6|192,t&63|128)}else if(t<65536){if((o-=3)<0)break;p.push(t>>12|224,t>>6&63|128,t&63|128)}else if(t<1114112){if((o-=4)<0)break;p.push(t>>18|240,t>>12&63|128,t>>6&63|128,t&63|128)}else throw new Error("Invalid code point")}return p}function sd(e){for(var o=[],t=0;t<e.length;++t)o.push(e.charCodeAt(t)&255);return o}function cd(e,o){for(var t,r,c,p=[],d=0;d<e.length&&!((o-=2)<0);++d)t=e.charCodeAt(d),r=t>>8,c=t%256,p.push(c),p.push(r);return p}function ya(e){return Lt.toByteArray(id(e))}function kn(e,o,t,r){for(var c=0;c<r&&!(c+t>=o.length||c>=e.length);++c)o[c+t]=e[c];return c}function ve(e,o){return e instanceof o||e!=null&&e.constructor!=null&&e.constructor.name!=null&&e.constructor.name===o.name}function Rt(e){return e!==e}var pd=function(){for(var e="0123456789abcdef",o=new Array(256),t=0;t<16;++t)for(var r=t*16,c=0;c<16;++c)o[r+c]=e[t]+e[c];return o}()});var va=ie((Vg,wa)=>{n();var U=wa.exports={},Ae,Ce;function Ot(){throw new Error("setTimeout has not been defined")}function Bt(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?Ae=setTimeout:Ae=Ot}catch(e){Ae=Ot}try{typeof clearTimeout=="function"?Ce=clearTimeout:Ce=Bt}catch(e){Ce=Bt}})();function xa(e){if(Ae===setTimeout)return setTimeout(e,0);if((Ae===Ot||!Ae)&&setTimeout)return Ae=setTimeout,setTimeout(e,0);try{return Ae(e,0)}catch(o){try{return Ae.call(null,e,0)}catch(t){return Ae.call(this,e,0)}}}function dd(e){if(Ce===clearTimeout)return clearTimeout(e);if((Ce===Bt||!Ce)&&clearTimeout)return Ce=clearTimeout,clearTimeout(e);try{return Ce(e)}catch(o){try{return Ce.call(null,e)}catch(t){return Ce.call(this,e)}}}var Oe=[],ho=!1,no,In=-1;function md(){!ho||!no||(ho=!1,no.length?Oe=no.concat(Oe):In=-1,Oe.length&&ba())}function ba(){if(!ho){var e=xa(md);ho=!0;for(var o=Oe.length;o;){for(no=Oe,Oe=[];++In<o;)no&&no[In].run();In=-1,o=Oe.length}no=null,ho=!1,dd(e)}}U.nextTick=function(e){var o=new Array(arguments.length-1);if(arguments.length>1)for(var t=1;t<arguments.length;t++)o[t-1]=arguments[t];Oe.push(new Sa(e,o)),Oe.length===1&&!ho&&xa(ba)};function Sa(e,o){this.fun=e,this.array=o}Sa.prototype.run=function(){this.fun.apply(null,this.array)};U.title="browser";U.browser=!0;U.env={};U.argv=[];U.version="";U.versions={};function Be(){}U.on=Be;U.addListener=Be;U.once=Be;U.off=Be;U.removeListener=Be;U.removeAllListeners=Be;U.emit=Be;U.prependListener=Be;U.prependOnceListener=Be;U.listeners=function(e){return[]};U.binding=function(e){throw new Error("process.binding is not supported")};U.cwd=function(){return"/"};U.chdir=function(e){throw new Error("process.chdir is not supported")};U.umask=function(){return 0}});var a,s,ld,i,n=S(()=>{a=f(Ta()),s=f(va()),ld=function(e){function o(){var r=this||self;return delete e.prototype.__magic__,r}if(typeof globalThis=="object")return globalThis;if(this)return o();e.defineProperty(e.prototype,"__magic__",{configurable:!0,get:o});var t=__magic__;return t}(Object),i=ld});var Aa=S(()=>{"use strict";n()});var yo,to=S(()=>{"use strict";n();yo="Action not allowed. User is logged in. Call logout() first"});var Ca=S(()=>{"use strict";n()});var ka=S(()=>{"use strict";n()});var Ft,Ut=S(()=>{"use strict";n();Ft={36864:{code:"codeSuccess",message:"Success"},27013:{code:"ERR_USER_DENIED",message:"Rejected by user"},27904:{code:"ERR_UNKNOWN_INSTRUCTION",message:"Unknown instruction"},28160:{code:"ERR_WRONG_CLA",message:"Wrong CLA"},28161:{code:"ERR_INVALID_ARGUMENTS",message:"Invalid arguments"},28162:{code:"ERR_INVALID_MESSAGE",message:"Invalid message"},28163:{code:"ERR_INVALID_P1",message:"Invalid P1"},28164:{code:"ERR_MESSAGE_TOO_LONG",message:"Message too long"},28165:{code:"ERR_RECEIVER_TOO_LONG",message:"Receiver too long"},28166:{code:"ERR_AMOUNT_TOO_LONG",message:"Amount too long"},28167:{code:"ERR_CONTRACT_DATA_DISABLED",message:"Contract data disabled in app options"},28168:{code:"ERR_MESSAGE_INCOMPLETE",message:"Message incomplete"},28176:{code:"ERR_SIGNATURE_FAILED",message:"Signature failed"},28169:{code:"ERR_WRONG_TX_VERSION",message:"Wrong TX version"},28170:{code:"ERR_NONCE_TOO_LONG",message:"Nonce too long"},28171:{code:"ERR_INVALID_AMOUNT",message:"Invalid amount"},28172:{code:"ERR_INVALID_FEE",message:"Invalid fee"},28173:{code:"ERR_PRETTY_FAILED",message:"Pretty failed"},28174:{code:"ERR_DATA_TOO_LONG",message:"Data too long"},28175:{code:"ERR_WRONG_TX_OPTIONS",message:"Invalid transaction options"},28177:{code:"ERR_SIGN_TX_DEPRECATED",message:"Regular transaction signing is deprecated in this version. Use hash signing."}}});var Ia=S(()=>{"use strict";n()});var Gt=S(()=>{"use strict";n()});var La=S(()=>{"use strict";n()});var Na=S(()=>{"use strict";n()});var G=S(()=>{"use strict";n()});var Ea=S(()=>{"use strict";n()});var Pa=S(()=>{"use strict";n()});var re=S(()=>{"use strict";n()});var Da=S(()=>{"use strict";n()});var Ma=S(()=>{"use strict";n()});var Ra=S(()=>{"use strict";n()});var q=S(()=>{"use strict";n();Gt();La();Na();G();Ea();Pa();re();Da();Ma();Ra()});var To,Oa,gu,Ba,uu,Fa,Ua,fu,_d,Ga,Zo=S(()=>{"use strict";n();q();To={devnet:{id:"devnet",chainId:"D",name:"Devnet",egldLabel:"xEGLD",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"https://maiar.page.link/?apn=com.elrond.maiar.wallet&isi=1519405832&ibi=com.elrond.maiar.wallet&link=https://xportal.com/",walletConnectBridgeAddresses:["https://bridge.walletconnect.org"],walletConnectV2RelayAddresses:["wss://relay.walletconnect.com"],walletAddress:"https://devnet-wallet.multiversx.com",apiAddress:"https://devnet-api.multiversx.com",explorerAddress:"http://devnet-explorer.multiversx.com",apiTimeout:"4000"},testnet:{id:"testnet",chainId:"T",name:"Testnet",egldLabel:"xEGLD",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"https://maiar.page.link/?apn=com.elrond.maiar.wallet&isi=1519405832&ibi=com.elrond.maiar.wallet&link=https://xportal.com/",walletConnectBridgeAddresses:["https://bridge.walletconnect.org"],walletConnectV2RelayAddresses:["wss://relay.walletconnect.com"],walletAddress:"https://testnet-wallet.multiversx.com",apiAddress:"https://testnet-api.multiversx.com",explorerAddress:"http://testnet-explorer.multiversx.com",apiTimeout:"4000"},mainnet:{id:"mainnet",chainId:"1",name:"Mainnet",egldLabel:"EGLD",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"https://maiar.page.link/?apn=com.elrond.maiar.wallet&isi=1519405832&ibi=com.elrond.maiar.wallet&link=https://xportal.com/",walletConnectBridgeAddresses:["https://bridge.walletconnect.org"],walletConnectV2RelayAddresses:["wss://relay.walletconnect.com"],walletAddress:"https://wallet.multiversx.com",apiAddress:"https://api.multiversx.com",explorerAddress:"https://explorer.multiversx.com",apiTimeout:"4000"}},{chainId:Oa,egldLabel:gu}=To["devnet"],{chainId:Ba,egldLabel:uu}=To["testnet"],{chainId:Fa,egldLabel:Ua}=To["mainnet"],fu={["devnet"]:Oa,["testnet"]:Ba,["mainnet"]:Fa},_d={[Oa]:"devnet",[Ba]:"testnet",[Fa]:"mainnet"},Ga="multiversx://"});var Wa=S(()=>{"use strict";n()});var ke,Ha=S(()=>{"use strict";n();ke=require("@multiversx/sdk-web-wallet-provider")});var Jo,Ln,se,ro,Va,$a,Nn,za,Ie,ja,k=S(()=>{"use strict";n();Aa();to();Ca();ka();Ut();Ia();Zo();Wa();Ha();Jo=5e4,Ln=1e9,se=18,ro=4,Va=1,$a=1,Nn="logout",za="login",Ie="0",ja="..."});var wo,En=S(()=>{"use strict";n();wo=()=>Date.now()/1e3});var Qa=S(()=>{"use strict";n()});var ei=S(()=>{"use strict";n()});var qt=S(()=>{"use strict";n();En();Qa();ei()});var Kt={};Qe(Kt,{clear:()=>xd,getItem:()=>yd,localStorageKeys:()=>ze,removeItem:()=>Td,setItem:()=>hd});var ze,Pn,hd,yd,Td,xd,vo=S(()=>{"use strict";n();qt();ze={loginExpiresAt:"sdk-dapp-login-expires-at",logoutEvent:"sdk-dapp-logout-event"},Pn=typeof localStorage!="undefined",hd=({key:e,data:o,expires:t})=>{!Pn||localStorage.setItem(String(e),JSON.stringify({expires:t,data:o}))},yd=e=>{if(!Pn)return;let o=localStorage.getItem(String(e));if(!o)return null;let t=JSON.parse(o);return!t||!t.hasOwnProperty("expires")||!t.hasOwnProperty("data")?null:wo()>=t.expires?(localStorage.removeItem(String(e)),null):t.data},Td=e=>{!Pn||localStorage.removeItem(String(e))},xd=()=>{!Pn||localStorage.clear()}});var Xt={};Qe(Xt,{clear:()=>ri,getItem:()=>ni,removeItem:()=>ti,setItem:()=>oi,storage:()=>bd});var oi,ni,ti,ri,bd,ai=S(()=>{"use strict";n();oi=({key:e,data:o,expires:t})=>{sessionStorage.setItem(String(e),JSON.stringify({expires:t,data:o}))},ni=e=>{let o=sessionStorage.getItem(String(e));if(!o)return null;let t=JSON.parse(o);return!t||!t.hasOwnProperty("expires")||!t.hasOwnProperty("data")?null:Date.now()>=t.expires?(sessionStorage.removeItem(String(e)),null):t.data},ti=e=>sessionStorage.removeItem(String(e)),ri=()=>sessionStorage.clear(),bd={setItem:oi,getItem:ni,removeItem:ti,clear:ri}});var ao,Ao=S(()=>{"use strict";n();vo();ai();ao={session:Xt,local:Kt}});var Yt,W,ge,Z=S(()=>{"use strict";n();Yt=require("@reduxjs/toolkit");k();W=(0,Yt.createAction)(Nn),ge=(0,Yt.createAction)(za,e=>({payload:e}))});var Jt,ii,si,Dn,Zt,ci,Qt,ff,er,hf,or,pi,yf,Tf,xf,Sd,wd,Mn,Rn=S(()=>{"use strict";n();Jt=require("@multiversx/sdk-core"),ii=require("@reduxjs/toolkit"),si=require("redux-persist");k();Ao();vo();Z();Dn={balance:"...",address:"",isGuarded:!1,nonce:0,txCount:0,scrCount:0,claimableRewards:Ie},Zt={address:"",websocketEvent:null,websocketBatchEvent:null,accounts:{"":Dn},ledgerAccount:null,publicKey:"",walletConnectAccount:null,isAccountLoading:!0,accountLoadingError:null},ci=(0,ii.createSlice)({name:"accountInfoSlice",initialState:Zt,reducers:{setAddress:(e,o)=>{let t=o.payload;e.address=t,e.publicKey=new Jt.Address(t).hex()},setAccount:(e,o)=>{let t=e.address===o.payload.address;e.accounts={[e.address]:t?o.payload:Dn},e.shard=o.payload.shard,e.isAccountLoading=!1,e.accountLoadingError=null},setAccountNonce:(e,o)=>{let{address:t}=e;e.accounts[t].nonce=o.payload},setAccountShard:(e,o)=>{e.shard=o.payload},setLedgerAccount:(e,o)=>{e.ledgerAccount=o.payload},updateLedgerAccount:(e,o)=>{e.ledgerAccount!=null&&(e.ledgerAccount.index=o.payload.index,e.ledgerAccount.address=o.payload.address)},setWalletConnectAccount:(e,o)=>{e.walletConnectAccount=o.payload},setIsAccountLoading:(e,o)=>{e.isAccountLoading=o.payload,e.accountLoadingError=null},setAccountLoadingError:(e,o)=>{e.accountLoadingError=o.payload,e.isAccountLoading=!1},setWebsocketEvent:(e,o)=>{e.websocketEvent={timestamp:Date.now(),message:o.payload}},setWebsocketBatchEvent:(e,o)=>{e.websocketBatchEvent={timestamp:Date.now(),data:o.payload}}},extraReducers:e=>{e.addCase(W,()=>(ao.local.removeItem(ze.loginExpiresAt),Zt)),e.addCase(ge,(o,t)=>{let{address:r}=t.payload;o.address=r,o.publicKey=new Jt.Address(r).hex()}),e.addCase(si.REHYDRATE,(o,t)=>{var g;if(!((g=t.payload)!=null&&g.account))return;let{account:r}=t.payload,{address:c,shard:p,accounts:d,publicKey:l}=r;o.address=c,o.shard=p;let m=d&&c in d;o.accounts=m?d:Zt.accounts,o.publicKey=l})}}),{setAccount:Qt,setAddress:ff,setAccountNonce:er,setAccountShard:hf,setLedgerAccount:or,updateLedgerAccount:pi,setWalletConnectAccount:yf,setIsAccountLoading:Tf,setAccountLoadingError:xf,setWebsocketEvent:Sd,setWebsocketBatchEvent:wd}=ci.actions,Mn=ci.reducer});function en(){return new Date().setHours(new Date().getHours()+24)}function on(e){ao.local.setItem({key:ze.loginExpiresAt,data:e,expires:e})}var nr=S(()=>{"use strict";n();Ao();vo()});var mi,di,li,Nf,vd,_i,On,Ef,Ad,gi,Pf,Bn,Fn=S(()=>{"use strict";n();mi=require("@reduxjs/toolkit");nr();G();Z();di={loginMethod:"",walletConnectLogin:null,ledgerLogin:null,tokenLogin:null,walletLogin:null,extensionLogin:null,operaLogin:null,isLoginSessionInvalid:!1},li=(0,mi.createSlice)({name:"loginInfoSlice",initialState:di,reducers:{setLoginMethod:(e,o)=>{e.loginMethod=o.payload},setTokenLogin:(e,o)=>{e.tokenLogin=o.payload},setTokenLoginSignature:(e,o)=>{(e==null?void 0:e.tokenLogin)!=null&&(e.tokenLogin.signature=o.payload)},setWalletLogin:(e,o)=>{e.walletLogin=o.payload},setWalletConnectLogin:(e,o)=>{e.walletConnectLogin=o.payload},setLedgerLogin:(e,o)=>{e.ledgerLogin=o.payload},invalidateLoginSession:e=>{e.isLoginSessionInvalid=!0},setLogoutRoute:(e,o)=>{e.logoutRoute=o.payload}},extraReducers:e=>{e.addCase(W,()=>di),e.addCase(ge,(o,t)=>{o.loginMethod=t.payload.loginMethod,on(en())})}}),{setLoginMethod:Nf,setWalletConnectLogin:vd,setLedgerLogin:_i,setTokenLogin:On,setTokenLoginSignature:Ef,setWalletLogin:Ad,invalidateLoginSession:gi,setLogoutRoute:Pf}=li.actions,Bn=li.reducer});var fi,ui,hi,Of,Cd,Bf,kd,Un,Gn=S(()=>{"use strict";n();fi=require("@reduxjs/toolkit");Z();ui={},hi=(0,fi.createSlice)({name:"modalsSlice",initialState:ui,reducers:{setTxSubmittedModal:(e,o)=>{e.txSubmittedModal=o.payload},setNotificationModal:(e,o)=>{e.notificationModal=o.payload},clearTxSubmittedModal:e=>{e.txSubmittedModal=void 0},clearNotificationModal:e=>{e.notificationModal=void 0}},extraReducers:e=>{e.addCase(W,()=>ui)}}),{setTxSubmittedModal:Of,setNotificationModal:Cd,clearTxSubmittedModal:Bf,clearNotificationModal:kd}=hi.actions,Un=hi.reducer});var nn,tn=S(()=>{"use strict";n();nn=()=>typeof window!="undefined"&&typeof(window==null?void 0:window.location)!="undefined"});var R,z=S(()=>{"use strict";n();tn();R=()=>{if(!nn())return{pathname:"",hash:"",origin:"",href:"",search:""};let{location:{pathname:o,hash:t,origin:r,href:c,search:p}}=window;return{pathname:o,hash:t,origin:r,href:c,search:p}}});var Id,Wn,rn=S(()=>{"use strict";n();Id=!1,Wn=({shouldForcePageReload:e,timeout:o=0,url:t})=>{Id||setTimeout(()=>window?(t==null?void 0:t.startsWith("/"))&&!e?window.history.pushState("","",t):window.location.assign(t):void 0,o)}});function Co({callbackRoute:e,onLoginRedirect:o,options:t}){let r=Boolean(e),c=typeof o=="function";if(r&&e!=null){if(c)return o(e,t);let{pathname:p}=R();p.includes(e)||Wn({url:e,timeout:Ld})}}var Ld,yi=S(()=>{"use strict";n();z();rn();Ld=200});function Ti(e){return e[Math.floor(Math.random()*e.length)]}var xi=S(()=>{"use strict";n()});function tr(e){let o=null;if((e==null?void 0:e.statusCode)in Ft){let t=e==null?void 0:e.statusCode,{message:r}=Ft[t];o=Pd.includes(t)?bi:r}return{errorMessage:o,defaultErrorMessage:bi}}var bi,Nd,Ed,Pd,rr=S(()=>{"use strict";n();Ut();bi="Check if the MultiversX app is open on Ledger",Nd=28161,Ed=28160,Pd=[Nd,Ed]});var ko=S(()=>{"use strict";n();yi();xi();rr()});var Si,wi,ar,Dd,vi,oh,nh,Hn,Vn=S(()=>{"use strict";n();Si=require("@reduxjs/toolkit"),wi=f(require("lodash.omit"));ko();ar={id:"not-configured",chainId:"",name:"NOT CONFIGURED",egldLabel:"",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"",walletConnectBridgeAddress:"",walletConnectV2RelayAddress:"",walletConnectV2ProjectId:"",walletConnectV2Options:{},walletAddress:"",apiAddress:"",explorerAddress:"",apiTimeout:"4000"},Dd={network:ar,chainID:"-1"},vi=(0,Si.createSlice)({name:"appConfig",initialState:Dd,reducers:{initializeNetworkConfig:(e,o)=>{let t=Ti(o.payload.walletConnectV2RelayAddresses),r=(0,wi.default)(o.payload,"walletConnectV2RelayAddresses");e.network=C(h(h({},e.network),r),{walletConnectV2RelayAddress:t})},setChainID:(e,o)=>{e.chainID=o.payload}}}),{initializeNetworkConfig:oh,setChainID:nh}=vi.actions,Hn=vi.reducer});var Ai,ir,Ci,ch,ph,dh,$n,zn=S(()=>{"use strict";n();Ai=require("@reduxjs/toolkit");q();Z();ir={isSigning:!1,signedSessions:{}},Ci=(0,Ai.createSlice)({name:"signedMessageInfoSliceState",initialState:ir,reducers:{setSignSession:(e,o)=>{let{sessionId:t,signedSession:r,errorMessage:c}=o.payload;c&&(e.errorMessage=c),e.isSigning=r.status==="pending",e.signedSessions[t]=r},setSignSessionState:(e,o)=>h(h({},e),o.payload),clearSignedMessageInfo:()=>ir},extraReducers:e=>{e.addCase(W,()=>ir)}}),{setSignSession:ch,clearSignedMessageInfo:ph,setSignSessionState:dh}=Ci.actions,$n=Ci.reducer});var Ii,Li,ki,Ni,Md,Rd,hh,Od,jn,qn=S(()=>{"use strict";n();Ii=require("@reduxjs/toolkit"),Li=require("redux-persist");q();En();Z();ki={customToasts:[],transactionToasts:[]},Ni=(0,Ii.createSlice)({name:"toastsSlice",initialState:ki,reducers:{addCustomToast:(e,o)=>{e.customToasts.push(C(h({},o.payload),{type:"custom",toastId:o.payload.toastId||`custom-toast-${e.customToasts.length+1}`}))},removeCustomToast:(e,o)=>{e.customToasts=e.customToasts.filter(t=>t.toastId!==o.payload)},addTransactionToast:(e,o)=>{e.transactionToasts.push({type:"transaction",startTimestamp:wo(),toastId:o.payload||`custom-toast-${e.transactionToasts.length+1}`})},removeTransactionToast:(e,o)=>{e.transactionToasts=e.transactionToasts.filter(t=>t.toastId!==o.payload)}},extraReducers:e=>{e.addCase(W,()=>ki),e.addCase(Li.REHYDRATE,(o,t)=>{var c,p;let r=(p=(c=t.customToasts)==null?void 0:c.filter(d=>!("component"in d)))!=null?p:[];o.customToasts=r})}}),{addCustomToast:Md,removeCustomToast:Rd,addTransactionToast:hh,removeTransactionToast:Od}=Ni.actions,jn=Ni.reducer});var Ei,cr,pr,dr,Bd,sr,Pi,bh,Fd,mr,Kn,Xn=S(()=>{"use strict";n();Ei=require("@reduxjs/toolkit");Z();cr="Transaction failed",pr="Transaction successful",dr="Processing transaction",Bd="Transaction submitted",sr={},Pi=(0,Ei.createSlice)({name:"transactionsInfo",initialState:sr,reducers:{setTransactionsDisplayInfo(e,o){let{sessionId:t,transactionsDisplayInfo:r}=o.payload;t!=null&&(e[t]={errorMessage:(r==null?void 0:r.errorMessage)||cr,successMessage:(r==null?void 0:r.successMessage)||pr,processingMessage:(r==null?void 0:r.processingMessage)||dr,submittedMessage:(r==null?void 0:r.submittedMessage)||Bd,transactionDuration:r==null?void 0:r.transactionDuration})},clearTransactionsInfoForSessionId(e,o){o.payload!=null&&delete e[o.payload]},clearTransactionsInfo:()=>sr},extraReducers:e=>{e.addCase(W,()=>sr)}}),{clearTransactionsInfo:bh,setTransactionsDisplayInfo:Fd,clearTransactionsInfoForSessionId:mr}=Pi.actions,Kn=Pi.reducer});function Lo(e){return e!=null&&(Kd(e)||Qd(e))}function No(e){return e!=null&&(Xd(e)||em(e))}function Eo(e){return e!=null&&(Yd(e)||om(e))}function Di(e){return e!=null&&(Zd(e)||nm(e))}function lr(e){return e!=null&&Jd(e)}function Kd(e){return e!=null&&Ud.includes(e)}function Xd(e){return e!=null&&Gd.includes(e)}function Yd(e){return e!=null&&Wd.includes(e)}function Zd(e){return e!=null&&Hd.includes(e)}function Jd(e){return e!=null&&Vd.includes(e)}function Qd(e){return e!=null&&$d.includes(e)}function em(e){return e!=null&&zd.includes(e)}function om(e){return e!=null&&jd.includes(e)}function nm(e){return e!=null&&qd.includes(e)}var Ud,Gd,Wd,Hd,Vd,$d,zd,jd,qd,Po=S(()=>{"use strict";n();G();Ud=["sent"],Gd=["success"],Wd=["fail","cancelled","timedOut"],Hd=["invalid"],Vd=["timedOut"],$d=["pending"],zd=["success"],jd=["fail","invalid"],qd=["not executed"]});var Mi,Ri,an,tm,Oi,Bi,Fi,rm,Yn,am,im,Nh,sm,sn,_r,Zn,Jn=S(()=>{"use strict";n();Mi=require("@reduxjs/toolkit"),Ri=require("redux-persist");G();Po();Z();an={signedTransactions:{},transactionsToSign:null,signTransactionsError:null,signTransactionsCancelMessage:null,customTransactionInformationForSessionId:{}},tm={signWithoutSending:!1,sessionInformation:null,redirectAfterSign:!1},Oi=(0,Mi.createSlice)({name:"transactionsSlice",initialState:an,reducers:{moveTransactionsToSignedState:(e,o)=>{var g,y;let{sessionId:t,transactions:r,errorMessage:c,status:p,redirectRoute:d,customTransactionInformation:l={}}=o.payload,m=((g=e.customTransactionInformationForSessionId)==null?void 0:g[t])||tm;e.signedTransactions[t]={transactions:r,status:p,errorMessage:c,redirectRoute:d,customTransactionInformation:h(h({},m),l)},((y=e==null?void 0:e.transactionsToSign)==null?void 0:y.sessionId)===t&&(e.transactionsToSign=an.transactionsToSign)},clearSignedTransaction:(e,o)=>{e.signedTransactions[o.payload]&&delete e.signedTransactions[o.payload]},clearTransactionToSign:e=>{e!=null&&e.transactionsToSign&&(e.transactionsToSign=null)},updateSignedTransaction:(e,o)=>{e.signedTransactions=h(h({},e.signedTransactions),o.payload)},updateSignedTransactions:(e,o)=>{let{sessionId:t,status:r,errorMessage:c,transactions:p}=o.payload;e.signedTransactions[t]!=null&&(e.signedTransactions[t].status=r,c!=null&&(e.signedTransactions[t].errorMessage=c),p!=null&&(e.signedTransactions[t].transactions=p))},updateSignedTransactionStatus:(e,o)=>{var m,g,y,u,T,w,I,A;let{sessionId:t,status:r,errorMessage:c,transactionHash:p,inTransit:d}=o.payload,l=(g=(m=e.signedTransactions)==null?void 0:m[t])==null?void 0:g.transactions;if(l!=null){e.signedTransactions[t].transactions=l.map(L=>L.hash===p?C(h({},L),{status:r,errorMessage:c,inTransit:d}):L);let E=(u=(y=e.signedTransactions[t])==null?void 0:y.transactions)==null?void 0:u.every(L=>No(L.status)),O=(w=(T=e.signedTransactions[t])==null?void 0:T.transactions)==null?void 0:w.every(L=>Eo(L.status)),B=(A=(I=e.signedTransactions[t])==null?void 0:I.transactions)==null?void 0:A.every(L=>Di(L.status));E&&(e.signedTransactions[t].status="success"),O&&(e.signedTransactions[t].status="fail"),B&&(e.signedTransactions[t].status="invalid")}},setTransactionsToSign:(e,o)=>{e.transactionsToSign=o.payload;let{sessionId:t,customTransactionInformation:r}=o.payload;e.customTransactionInformationForSessionId[t]=r,e.signTransactionsError=null},clearAllTransactionsToSign:e=>{e.transactionsToSign=an.transactionsToSign,e.signTransactionsError=null},clearAllSignedTransactions:e=>{e.signedTransactions=an.signedTransactions},setSignTransactionsError:(e,o)=>{e.signTransactionsError=o.payload},setSignTransactionsCancelMessage:(e,o)=>{e.signTransactionsCancelMessage=o.payload}},extraReducers:e=>{e.addCase(W,()=>an),e.addCase(Ri.REHYDRATE,(o,t)=>{var d;if(o.signTransactionsCancelMessage=null,!((d=t.payload)!=null&&d.transactions))return;let{signedTransactions:r,customTransactionInformationForSessionId:c}=t.payload.transactions,p=Object.entries(r).reduce((l,[m,g])=>{let y=new Date(m),u=new Date;return u.setHours(u.getHours()+5),u-y>0||(l[m]=g),l},{});c!=null&&(o.customTransactionInformationForSessionId=c),r!=null&&(o.signedTransactions=p)})}}),{updateSignedTransactionStatus:Bi,updateSignedTransactions:Fi,setTransactionsToSign:rm,clearAllTransactionsToSign:Yn,clearAllSignedTransactions:am,clearSignedTransaction:im,clearTransactionToSign:Nh,setSignTransactionsError:sm,setSignTransactionsCancelMessage:sn,moveTransactionsToSignedState:_r}=Oi.actions,Zn=Oi.reducer});var Ui,gr,Gi,Mh,Rh,cm,Oh,Qn,et=S(()=>{"use strict";n();Ui=require("@reduxjs/toolkit");Z();gr={},Gi=(0,Ui.createSlice)({name:"batchTransactionsSlice",initialState:gr,reducers:{setBatchTransactions:(e,o)=>{e[o.payload.id]=o.payload},updateBatchTransactions:(e,o)=>{e[o.payload.id]=o.payload},clearBatchTransactions:(e,o)=>{delete e[o.payload.batchId]},clearAllBatchTransactions:()=>gr},extraReducers:e=>{e.addCase(W,()=>gr)}}),{setBatchTransactions:Mh,updateBatchTransactions:Rh,clearBatchTransactions:cm,clearAllBatchTransactions:Oh}=Gi.actions,Qn=Gi.reducer});var Hi,Wi,Vi,Gh,$i,ur=S(()=>{"use strict";n();Hi=require("@reduxjs/toolkit");Z();Wi={},Vi=(0,Hi.createSlice)({name:"dappConfigSlice",initialState:Wi,reducers:{setDappConfig:(e,o)=>{if(e&&o.payload){let{logoutRoute:t,shouldUseWebViewProvider:r,cancelTransactionToastDuration:c}=o.payload;e.logoutRoute=t,e.shouldUseWebViewProvider=r,e.cancelTransactionToastDuration=c}else e=o.payload}},extraReducers:e=>{e.addCase(W,()=>Wi)}}),{setDappConfig:Gh}=Vi.actions,$i=Vi.reducer});var P=S(()=>{"use strict";n();Rn();Fn();Gn();Vn();zn();qn();Xn();Jn();et();ur()});var fr=S(()=>{"use strict";n()});var Ki,qi,Xi,hr,py,dy,my,ly,Yi,Zi,yr=S(()=>{"use strict";n();Ki=require("@reduxjs/toolkit");Z();qi={visible:!1,modal:{showHeader:!0,showFooter:!1,headerText:"",footerText:""}},Xi=(0,Ki.createSlice)({name:"dappModalsSlice",initialState:qi,reducers:{setDappModalVisibility:(e,o)=>{e.visible=o.payload},setDappModalHeaderVisibility:(e,o)=>{e.modal.showHeader=o.payload},setDappModalFooterVisibility:(e,o)=>{e.modal.showFooter=o.payload},setDappModalHeaderText:(e,o)=>{e.modal.headerText=o.payload},setDappModalFooterText:(e,o)=>{e.modal.footerText=o.payload},setDappModalConfig:(e,o)=>{e.modal=h({},o.payload)}},extraReducers:e=>{e.addCase(W,()=>qi)}}),{setDappModalVisibility:hr,setDappModalHeaderVisibility:py,setDappModalFooterVisibility:dy,setDappModalHeaderText:my,setDappModalFooterText:ly,setDappModalConfig:Yi}=Xi.actions,Zi=Xi.reducer});var Ji,lm,_m,io,tt=S(()=>{"use strict";n();Ji=require("@reduxjs/toolkit");fr();Rn();et();ur();yr();Fn();Gn();Vn();zn();qn();Xn();Jn();lm={["account"]:Mn,["dappModal"]:Zi,["dappConfig"]:$i,["loginInfo"]:Bn,["modals"]:Un,["networkConfig"]:Hn,["signedMessageInfo"]:$n,["toasts"]:jn,["transactionsInfo"]:Kn,["transactions"]:Zn,["batchTransactions"]:Qn},_m=(e={})=>(0,Ji.combineReducers)(h(h({},lm),e)),io=_m});var ns={};Qe(ns,{default:()=>Lm,sessionStorageReducers:()=>Tr});function Fe(e,o=[]){return{key:e,version:1,storage:es.default,blacklist:o}}var ae,Qi,es,gm,cn,um,fm,hm,ym,Tm,xm,bm,Sm,wm,vm,os,Am,Tr,Cm,km,Im,Lm,ts=S(()=>{"use strict";n();ae=require("redux-persist"),Qi=f(require("redux-persist/lib/storage")),es=f(require("redux-persist/lib/storage/session"));tt();P();Rn();et();Fn();Gn();Vn();zn();qn();Xn();Jn();fr();gm={persistReducersStorageType:"localStorage"},cn={["account"]:"sdk-dapp-account",["loginInfo"]:"sdk-dapp-login-info",["modals"]:"sdk-dapp-modals",["networkConfig"]:"sdk-dapp-network-config"},um=Fe(cn["account"]),fm=Fe(cn["loginInfo"]),hm=Fe(cn["modals"]),ym=Fe(cn["networkConfig"]),Tm={2:e=>C(h({},e),{networkConfig:ar})};xm=Fe("sdk-dapp-transactionsInfo"),bm=Fe("sdk-dapp-transactions",["transactionsToSign"]),Sm=Fe("sdk-dapp-batchTransactions",["batchTransactions"]),wm=Fe("sdk-dapp-toasts"),vm=Fe("sdk-dapp-signedMessageInfo"),os={key:"sdk-dapp-store",version:2,storage:Qi.default,whitelist:Object.keys(cn),migrate:(0,ae.createMigrate)(Tm,{debug:!1})},Am=C(h({},os),{whitelist:[]}),Tr={["toasts"]:(0,ae.persistReducer)(wm,jn),["transactions"]:(0,ae.persistReducer)(bm,Zn),["transactionsInfo"]:(0,ae.persistReducer)(xm,Kn),["batchTransactions"]:(0,ae.persistReducer)(Sm,Qn),["signedMessageInfo"]:(0,ae.persistReducer)(vm,$n)},Cm=C(h({},Tr),{["account"]:(0,ae.persistReducer)(um,Mn),["loginInfo"]:(0,ae.persistReducer)(fm,Bn),["modals"]:(0,ae.persistReducer)(hm,Un),["networkConfig"]:(0,ae.persistReducer)(ym,Hn)}),km=gm.persistReducersStorageType==="localStorage",Im=km?(0,ae.persistReducer)(os,io(Tr)):(0,ae.persistReducer)(Am,io(Cm)),Lm=Im});var rs={};Qe(rs,{default:()=>Nm});var Nm,as=S(()=>{"use strict";n();tt();Nm=io()});var is={};Qe(is,{default:()=>Pm});var le,Em,Pm,ss=S(()=>{"use strict";n();le=require("redux-persist"),Em=[le.FLUSH,le.REHYDRATE,le.PAUSE,le.PERSIST,le.PURGE,le.REGISTER],Pm=Em});var ds={};Qe(ds,{default:()=>ps});function ps(e){return(0,cs.persistStore)(e)}var cs,ms=S(()=>{"use strict";n();cs=require("redux-persist")});var hc=ie((IP,fc)=>{n();var P_=typeof i=="object"&&i&&i.Object===Object&&i;fc.exports=P_});var Tc=ie((LP,yc)=>{n();var D_=hc(),M_=typeof self=="object"&&self&&self.Object===Object&&self,R_=D_||M_||Function("return this")();yc.exports=R_});var Br=ie((NP,xc)=>{n();var O_=Tc(),B_=O_.Symbol;xc.exports=B_});var vc=ie((EP,wc)=>{n();var bc=Br(),Sc=Object.prototype,F_=Sc.hasOwnProperty,U_=Sc.toString,un=bc?bc.toStringTag:void 0;function G_(e){var o=F_.call(e,un),t=e[un];try{e[un]=void 0;var r=!0}catch(p){}var c=U_.call(e);return r&&(o?e[un]=t:delete e[un]),c}wc.exports=G_});var Cc=ie((PP,Ac)=>{n();var W_=Object.prototype,H_=W_.toString;function V_(e){return H_.call(e)}Ac.exports=V_});var Nc=ie((DP,Lc)=>{n();var kc=Br(),$_=vc(),z_=Cc(),j_="[object Null]",q_="[object Undefined]",Ic=kc?kc.toStringTag:void 0;function K_(e){return e==null?e===void 0?q_:j_:Ic&&Ic in Object(e)?$_(e):z_(e)}Lc.exports=K_});var Pc=ie((MP,Ec)=>{n();var X_=Array.isArray;Ec.exports=X_});var Mc=ie((RP,Dc)=>{n();function Y_(e){return e!=null&&typeof e=="object"}Dc.exports=Y_});var Oc=ie((OP,Rc)=>{n();var Z_=Nc(),J_=Pc(),Q_=Mc(),eg="[object String]";function og(e){return typeof e=="string"||!J_(e)&&Q_(e)&&Z_(e)==eg}Rc.exports=og});var Fg={};Qe(Fg,{LedgerLoginContainer:()=>Bg});module.exports=Yo(Fg);n();n();var wt=f(require("react")),bp=f(require("classnames"));n();n();var Jc=f(require("react"));n();n();n();var bo=f(require("react")),zt=f(require("classnames")),Ja=f(require("react-dom"));k();n();var gd=`.dapp-core-component__dappModalStyles__dappModal {
2
2
  position: fixed;
3
3
  z-index: 999;
4
4
  padding-top: 100px;