@multiversx/sdk-dapp 2.6.2 → 2.6.3

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 (190) 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/ModalContainer/ModalContainer.js +1 -1
  5. package/UI/ModalContainer/index.js +1 -1
  6. package/UI/NotificationModal/index.js +1 -1
  7. package/UI/SignTransactionsModals/SignTransactionsModals.js +1 -1
  8. package/UI/SignTransactionsModals/SignWithDeviceModal/SignStep.js +1 -1
  9. package/UI/SignTransactionsModals/SignWithDeviceModal/index.js +1 -1
  10. package/UI/SignTransactionsModals/SignWithExtensionModal/index.js +1 -1
  11. package/UI/SignTransactionsModals/SignWithLedgerModal/index.js +1 -1
  12. package/UI/SignTransactionsModals/SignWithOperaModal/index.js +1 -1
  13. package/UI/SignTransactionsModals/SignWithWalletConnectModal/index.js +1 -1
  14. package/UI/SignTransactionsModals/components/ConfirmationScreen.js +1 -1
  15. package/UI/SignTransactionsModals/components/DeviceConfirmationScreen.js +1 -1
  16. package/UI/SignTransactionsModals/components/index.js +1 -1
  17. package/UI/SignTransactionsModals/index.js +1 -1
  18. package/UI/TransactionInfo/TransactionInfo.js +1 -1
  19. package/UI/TransactionInfo/components/NonceMessage/NonceMessage.js +1 -1
  20. package/UI/TransactionInfo/components/NonceMessage/index.js +1 -1
  21. package/UI/TransactionInfo/components/index.js +1 -1
  22. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoNonce/TransactionInfoNonce.js +1 -1
  23. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoNonce/index.js +1 -1
  24. package/UI/TransactionInfo/components/transactionInfoFields/index.js +1 -1
  25. package/UI/TransactionInfo/index.js +1 -1
  26. package/UI/TransactionsTable/TransactionsTable.js +1 -1
  27. package/UI/TransactionsTable/index.js +1 -1
  28. package/UI/TransactionsToastList/TransactionsToastList.js +1 -1
  29. package/UI/TransactionsToastList/components/TransactionToast/TransactionToast.js +1 -1
  30. package/UI/TransactionsToastList/components/TransactionToast/hooks/useTransactionToast.js +1 -1
  31. package/UI/TransactionsToastList/components/TransactionToast/index.js +1 -1
  32. package/UI/TransactionsToastList/components/TransactionToastGuard.js +1 -1
  33. package/UI/TransactionsToastList/components/index.js +1 -1
  34. package/UI/TransactionsToastList/index.js +1 -1
  35. package/UI/extension/ExtensionLoginButton/index.js +1 -1
  36. package/UI/index.js +1 -1
  37. package/UI/ledger/LedgerLoginButton/index.js +1 -1
  38. package/UI/ledger/LedgerLoginContainer/ConfirmAddress.js +1 -1
  39. package/UI/ledger/LedgerLoginContainer/index.js +1 -1
  40. package/UI/ledger/index.js +1 -1
  41. package/UI/operaWallet/OperaWalletLoginButton/index.js +1 -1
  42. package/UI/pages/UnlockPage/index.js +1 -1
  43. package/UI/pages/index.js +1 -1
  44. package/UI/walletConnect/WalletConnectLoginButton/index.js +1 -1
  45. package/UI/walletConnect/WalletConnectLoginContainer/index.js +1 -1
  46. package/UI/walletConnect/index.js +1 -1
  47. package/UI/webWallet/WebWalletLoginButton/index.js +1 -1
  48. package/__chunks__/{chunk-ONXXXCCF.js → chunk-3SKYCSWV.js} +2 -2
  49. package/__chunks__/chunk-3SRVL7NW.js +2 -0
  50. package/__chunks__/chunk-5RGNESSR.js +2 -0
  51. package/__chunks__/{chunk-UHLFOFON.js → chunk-626QJNRP.js} +2 -2
  52. package/__chunks__/{chunk-WP4VSJLM.js → chunk-7XM2INU5.js} +2 -2
  53. package/__chunks__/{chunk-DKCOAZU7.js → chunk-BIJQ4KPR.js} +2 -2
  54. package/__chunks__/{chunk-M6XJNYK2.js → chunk-BVLG73TU.js} +2 -2
  55. package/__chunks__/{chunk-453MDZQF.js → chunk-CUOTDMV5.js} +2 -2
  56. package/__chunks__/{chunk-Z7WX5JMQ.js → chunk-DCGZA3FL.js} +2 -2
  57. package/__chunks__/{chunk-FTKQZDLX.js → chunk-FZX45LTX.js} +2 -2
  58. package/__chunks__/{chunk-EOQ4GBQT.js → chunk-HARAYXLU.js} +2 -2
  59. package/__chunks__/{chunk-KI2QJGAZ.js → chunk-HN6A4EU5.js} +2 -2
  60. package/__chunks__/{chunk-LR2EWIF5.js → chunk-KIRNHCVW.js} +2 -2
  61. package/__chunks__/{chunk-M5A6L4R7.js → chunk-KZDQY4JZ.js} +2 -2
  62. package/__chunks__/{chunk-UZBMRAWK.js → chunk-LEIZK3SB.js} +2 -2
  63. package/__chunks__/{chunk-YYIAF5XK.js → chunk-PR2H2LZF.js} +2 -2
  64. package/__chunks__/chunk-QE4AERN4.js +2 -0
  65. package/__chunks__/{chunk-NVREM3LI.js → chunk-TGBCGOC7.js} +2 -2
  66. package/__chunks__/{chunk-ZXXRMWLI.js → chunk-UYR62LTI.js} +2 -2
  67. package/__chunks__/{chunk-5TOXE3UO.js → chunk-XYOGQJMR.js} +2 -2
  68. package/__chunks__/{chunk-R7TIYVAO.js → chunk-YI2C5YZP.js} +2 -2
  69. package/__commonjs/UI/DappModal/hooks/index.js +1 -1
  70. package/__commonjs/UI/DappModal/hooks/useDappModal.js +1 -1
  71. package/__commonjs/UI/DappModal/index.js +3 -3
  72. package/__commonjs/UI/ModalContainer/ModalContainer.js +1 -1
  73. package/__commonjs/UI/ModalContainer/index.js +1 -1
  74. package/__commonjs/UI/NotificationModal/index.js +1 -1
  75. package/__commonjs/UI/SignTransactionsModals/SignTransactionsModals.js +1 -1
  76. package/__commonjs/UI/SignTransactionsModals/SignWithDeviceModal/SignStep.js +1 -1
  77. package/__commonjs/UI/SignTransactionsModals/SignWithDeviceModal/index.js +5 -5
  78. package/__commonjs/UI/SignTransactionsModals/SignWithExtensionModal/index.js +1 -1
  79. package/__commonjs/UI/SignTransactionsModals/SignWithLedgerModal/index.js +6 -6
  80. package/__commonjs/UI/SignTransactionsModals/SignWithOperaModal/index.js +1 -1
  81. package/__commonjs/UI/SignTransactionsModals/SignWithWalletConnectModal/index.js +1 -1
  82. package/__commonjs/UI/SignTransactionsModals/components/ConfirmationScreen.js +1 -1
  83. package/__commonjs/UI/SignTransactionsModals/components/DeviceConfirmationScreen.js +1 -1
  84. package/__commonjs/UI/SignTransactionsModals/components/index.js +1 -1
  85. package/__commonjs/UI/SignTransactionsModals/index.js +1 -1
  86. package/__commonjs/UI/TransactionInfo/TransactionInfo.js +1 -1
  87. package/__commonjs/UI/TransactionInfo/components/NonceMessage/NonceMessage.js +1 -1
  88. package/__commonjs/UI/TransactionInfo/components/NonceMessage/index.js +1 -1
  89. package/__commonjs/UI/TransactionInfo/components/index.js +1 -1
  90. package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoNonce/TransactionInfoNonce.js +2 -2
  91. package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoNonce/index.js +2 -2
  92. package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/index.js +1 -1
  93. package/__commonjs/UI/TransactionInfo/index.js +1 -1
  94. package/__commonjs/UI/TransactionsTable/TransactionsTable.js +1 -1
  95. package/__commonjs/UI/TransactionsTable/index.js +1 -1
  96. package/__commonjs/UI/TransactionsToastList/TransactionsToastList.js +1 -1
  97. package/__commonjs/UI/TransactionsToastList/components/TransactionToast/TransactionToast.js +1 -1
  98. package/__commonjs/UI/TransactionsToastList/components/TransactionToast/hooks/useTransactionToast.js +1 -1
  99. package/__commonjs/UI/TransactionsToastList/components/TransactionToast/index.js +1 -1
  100. package/__commonjs/UI/TransactionsToastList/components/TransactionToastGuard.js +8 -8
  101. package/__commonjs/UI/TransactionsToastList/components/index.js +1 -1
  102. package/__commonjs/UI/TransactionsToastList/index.js +1 -1
  103. package/__commonjs/UI/extension/ExtensionLoginButton/index.js +4 -4
  104. package/__commonjs/UI/index.js +67 -67
  105. package/__commonjs/UI/ledger/LedgerLoginButton/index.js +14 -14
  106. package/__commonjs/UI/ledger/LedgerLoginContainer/ConfirmAddress.js +1 -1
  107. package/__commonjs/UI/ledger/LedgerLoginContainer/index.js +13 -13
  108. package/__commonjs/UI/ledger/index.js +14 -14
  109. package/__commonjs/UI/operaWallet/OperaWalletLoginButton/index.js +3 -3
  110. package/__commonjs/UI/pages/UnlockPage/index.js +17 -17
  111. package/__commonjs/UI/pages/index.js +17 -17
  112. package/__commonjs/UI/walletConnect/WalletConnectLoginButton/index.js +6 -6
  113. package/__commonjs/UI/walletConnect/WalletConnectLoginContainer/index.js +5 -5
  114. package/__commonjs/UI/walletConnect/index.js +6 -6
  115. package/__commonjs/UI/webWallet/WebWalletLoginButton/index.js +3 -3
  116. package/__commonjs/__mocks__/index.js +1 -1
  117. package/__commonjs/__mocks__/utils/index.js +1 -1
  118. package/__commonjs/__mocks__/utils/renderWithProvider.js +1 -1
  119. package/__commonjs/components/LogoutListener/LogoutListener.js +1 -1
  120. package/__commonjs/components/LogoutListener/helpers/index.js +1 -1
  121. package/__commonjs/components/LogoutListener/helpers/useLogoutFromMultipleTabs.js +1 -1
  122. package/__commonjs/components/LogoutListener/helpers/useNativeAuthLogout.js +1 -1
  123. package/__commonjs/components/LogoutListener/helpers/useNativeAuthLogoutWarning/index.js +1 -1
  124. package/__commonjs/components/LogoutListener/helpers/useNativeAuthLogoutWarning/useNativeAuthLogoutWarning.js +1 -1
  125. package/__commonjs/components/LogoutListener/index.js +1 -1
  126. package/__commonjs/components/ProviderInitializer.js +1 -1
  127. package/__commonjs/components/TransactionsTracker/TransactionTracker.js +1 -1
  128. package/__commonjs/components/TransactionsTracker/index.js +1 -1
  129. package/__commonjs/components/TransactionsTracker/useTransactionsTracker.js +1 -1
  130. package/__commonjs/hooks/index.js +1 -1
  131. package/__commonjs/hooks/login/index.js +1 -1
  132. package/__commonjs/hooks/login/useExtensionLogin.js +1 -1
  133. package/__commonjs/hooks/login/useLedgerLogin.js +1 -1
  134. package/__commonjs/hooks/login/useLoginService.js +1 -1
  135. package/__commonjs/hooks/login/useOperaLogin.js +1 -1
  136. package/__commonjs/hooks/login/useWalletConnectLogin.js +1 -1
  137. package/__commonjs/hooks/login/useWalletConnectV2Login.js +1 -1
  138. package/__commonjs/hooks/login/useWebWalletLogin.js +1 -1
  139. package/__commonjs/hooks/transactions/index.js +1 -1
  140. package/__commonjs/hooks/transactions/useTrackTransactionStatus.js +1 -1
  141. package/__commonjs/services/index.js +1 -1
  142. package/__commonjs/services/nativeAuth/helpers/getLatestBlockHash.js +1 -1
  143. package/__commonjs/services/nativeAuth/helpers/index.js +1 -1
  144. package/__commonjs/services/nativeAuth/index.js +1 -1
  145. package/__commonjs/services/nativeAuth/methods/getToken.js +1 -1
  146. package/__commonjs/services/nativeAuth/methods/index.js +1 -1
  147. package/__commonjs/services/nativeAuth/nativeAuth.js +1 -1
  148. package/__commonjs/wrappers/DappProvider/CustomComponents.js +1 -1
  149. package/__commonjs/wrappers/DappProvider/index.js +1 -1
  150. package/__commonjs/wrappers/index.js +1 -1
  151. package/__mocks__/index.js +1 -1
  152. package/__mocks__/utils/index.js +1 -1
  153. package/__mocks__/utils/renderWithProvider.js +1 -1
  154. package/components/LogoutListener/LogoutListener.js +1 -1
  155. package/components/LogoutListener/helpers/index.js +1 -1
  156. package/components/LogoutListener/helpers/useLogoutFromMultipleTabs.js +1 -1
  157. package/components/LogoutListener/helpers/useNativeAuthLogout.js +1 -1
  158. package/components/LogoutListener/helpers/useNativeAuthLogoutWarning/index.js +1 -1
  159. package/components/LogoutListener/helpers/useNativeAuthLogoutWarning/useNativeAuthLogoutWarning.js +1 -1
  160. package/components/LogoutListener/index.js +1 -1
  161. package/components/ProviderInitializer.js +1 -1
  162. package/components/TransactionsTracker/TransactionTracker.js +1 -1
  163. package/components/TransactionsTracker/index.js +1 -1
  164. package/components/TransactionsTracker/useTransactionsTracker.js +1 -1
  165. package/hooks/index.js +1 -1
  166. package/hooks/login/index.js +1 -1
  167. package/hooks/login/useExtensionLogin.js +1 -1
  168. package/hooks/login/useLedgerLogin.js +1 -1
  169. package/hooks/login/useLoginService.js +1 -1
  170. package/hooks/login/useOperaLogin.js +1 -1
  171. package/hooks/login/useWalletConnectLogin.js +1 -1
  172. package/hooks/login/useWalletConnectV2Login.js +1 -1
  173. package/hooks/login/useWebWalletLogin.js +1 -1
  174. package/hooks/transactions/index.js +1 -1
  175. package/hooks/transactions/useTrackTransactionStatus.js +1 -1
  176. package/package.json +1 -1
  177. package/services/index.js +1 -1
  178. package/services/nativeAuth/helpers/getLatestBlockHash.d.ts +4 -2
  179. package/services/nativeAuth/helpers/getLatestBlockHash.js +1 -1
  180. package/services/nativeAuth/helpers/index.js +1 -1
  181. package/services/nativeAuth/index.js +1 -1
  182. package/services/nativeAuth/methods/getToken.js +1 -1
  183. package/services/nativeAuth/methods/index.js +1 -1
  184. package/services/nativeAuth/nativeAuth.js +1 -1
  185. package/wrappers/DappProvider/CustomComponents.js +1 -1
  186. package/wrappers/DappProvider/index.js +1 -1
  187. package/wrappers/index.js +1 -1
  188. package/__chunks__/chunk-AOKD6R54.js +0 -2
  189. package/__chunks__/chunk-RBBOONZU.js +0 -2
  190. package/__chunks__/chunk-XZ2PVEHF.js +0 -2
@@ -1,4 +1,4 @@
1
- "use strict";var Yi=Object.create;var Ze=Object.defineProperty,Zi=Object.defineProperties,Ji=Object.getOwnPropertyDescriptor,Qi=Object.getOwnPropertyDescriptors,es=Object.getOwnPropertyNames,ho=Object.getOwnPropertySymbols,os=Object.getPrototypeOf,cn=Object.prototype.hasOwnProperty,Et=Object.prototype.propertyIsEnumerable;var Lt=(e,o,n)=>o in e?Ze(e,o,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[o]=n,T=(e,o)=>{for(var n in o||(o={}))cn.call(o,n)&&Lt(e,n,o[n]);if(ho)for(var n of ho(o))Et.call(o,n)&&Lt(e,n,o[n]);return e},S=(e,o)=>Zi(e,Qi(o));var xe=(e,o)=>{var n={};for(var r in e)cn.call(e,r)&&o.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&ho)for(var r of ho(e))o.indexOf(r)<0&&Et.call(e,r)&&(n[r]=e[r]);return n};var y=(e,o)=>()=>(e&&(o=e(e=0)),o);var xo=(e,o)=>()=>(o||e((o={exports:{}}).exports,o),o.exports),ye=(e,o)=>{for(var n in o)Ze(e,n,{get:o[n],enumerable:!0})},Ct=(e,o,n,r)=>{if(o&&typeof o=="object"||typeof o=="function")for(let c of es(o))!cn.call(e,c)&&c!==n&&Ze(e,c,{get:()=>o[c],enumerable:!(r=Ji(o,c))||r.enumerable});return e};var f=(e,o,n)=>(n=e!=null?Yi(os(e)):{},Ct(o||!e||!e.__esModule?Ze(n,"default",{value:e,enumerable:!0}):n,e)),Je=e=>Ct(Ze({},"__esModule",{value:!0}),e);var b=(e,o,n)=>new Promise((r,c)=>{var p=l=>{try{_(n.next(l))}catch(g){c(g)}},m=l=>{try{_(n.throw(l))}catch(g){c(g)}},_=l=>l.done?r(l.value):Promise.resolve(l.value).then(p,m);_((n=n.apply(e,o)).next())});var Dt=xo(yo=>{"use strict";t();yo.byteLength=ts;yo.toByteArray=as;yo.fromByteArray=cs;var Z=[],z=[],ns=typeof Uint8Array!="undefined"?Uint8Array:Array,pn="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(be=0,Nt=pn.length;be<Nt;++be)Z[be]=pn[be],z[pn.charCodeAt(be)]=be;var be,Nt;z["-".charCodeAt(0)]=62;z["_".charCodeAt(0)]=63;function Pt(e){var o=e.length;if(o%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var n=e.indexOf("=");n===-1&&(n=o);var r=n===o?0:4-n%4;return[n,r]}function ts(e){var o=Pt(e),n=o[0],r=o[1];return(n+r)*3/4-r}function rs(e,o,n){return(o+n)*3/4-n}function as(e){var o,n=Pt(e),r=n[0],c=n[1],p=new ns(rs(e,r,c)),m=0,_=c>0?r-4:r,l;for(l=0;l<_;l+=4)o=z[e.charCodeAt(l)]<<18|z[e.charCodeAt(l+1)]<<12|z[e.charCodeAt(l+2)]<<6|z[e.charCodeAt(l+3)],p[m++]=o>>16&255,p[m++]=o>>8&255,p[m++]=o&255;return c===2&&(o=z[e.charCodeAt(l)]<<2|z[e.charCodeAt(l+1)]>>4,p[m++]=o&255),c===1&&(o=z[e.charCodeAt(l)]<<10|z[e.charCodeAt(l+1)]<<4|z[e.charCodeAt(l+2)]>>2,p[m++]=o>>8&255,p[m++]=o&255),p}function is(e){return Z[e>>18&63]+Z[e>>12&63]+Z[e>>6&63]+Z[e&63]}function ss(e,o,n){for(var r,c=[],p=o;p<n;p+=3)r=(e[p]<<16&16711680)+(e[p+1]<<8&65280)+(e[p+2]&255),c.push(is(r));return c.join("")}function cs(e){for(var o,n=e.length,r=n%3,c=[],p=16383,m=0,_=n-r;m<_;m+=p)c.push(ss(e,m,m+p>_?_:m+p));return r===1?(o=e[n-1],c.push(Z[o>>2]+Z[o<<4&63]+"==")):r===2&&(o=(e[n-2]<<8)+e[n-1],c.push(Z[o>>10]+Z[o>>4&63]+Z[o<<2&63]+"=")),c.join("")}});var Rt=xo(mn=>{t();mn.read=function(e,o,n,r,c){var p,m,_=c*8-r-1,l=(1<<_)-1,g=l>>1,x=-7,h=n?c-1:0,L=n?-1:1,E=e[o+h];for(h+=L,p=E&(1<<-x)-1,E>>=-x,x+=_;x>0;p=p*256+e[o+h],h+=L,x-=8);for(m=p&(1<<-x)-1,p>>=-x,x+=r;x>0;m=m*256+e[o+h],h+=L,x-=8);if(p===0)p=1-g;else{if(p===l)return m?NaN:(E?-1:1)*(1/0);m=m+Math.pow(2,r),p=p-g}return(E?-1:1)*m*Math.pow(2,p-r)};mn.write=function(e,o,n,r,c,p){var m,_,l,g=p*8-c-1,x=(1<<g)-1,h=x>>1,L=c===23?Math.pow(2,-24)-Math.pow(2,-77):0,E=r?0:p-1,F=r?1:-1,B=o<0||o===0&&1/o<0?1:0;for(o=Math.abs(o),isNaN(o)||o===1/0?(_=isNaN(o)?1:0,m=x):(m=Math.floor(Math.log(o)/Math.LN2),o*(l=Math.pow(2,-m))<1&&(m--,l*=2),m+h>=1?o+=L/l:o+=L*Math.pow(2,1-h),o*l>=2&&(m++,l/=2),m+h>=x?(_=0,m=x):m+h>=1?(_=(o*l-1)*Math.pow(2,c),m=m+h):(_=o*Math.pow(2,h-1)*Math.pow(2,c),m=0));c>=8;e[n+E]=_&255,E+=F,_/=256,c-=8);for(m=m<<c|_,g+=c;g>0;e[n+E]=m&255,E+=F,m/=256,g-=8);e[n+E-F]|=B*128}});var qt=xo(Re=>{"use strict";t();var dn=Dt(),De=Rt(),Mt=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;Re.Buffer=d;Re.SlowBuffer=gs;Re.INSPECT_MAX_BYTES=50;var bo=2147483647;Re.kMaxLength=bo;d.TYPED_ARRAY_SUPPORT=ps();!d.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 ps(){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(n){return!1}}Object.defineProperty(d.prototype,"parent",{enumerable:!0,get:function(){if(!!d.isBuffer(this))return this.buffer}});Object.defineProperty(d.prototype,"offset",{enumerable:!0,get:function(){if(!!d.isBuffer(this))return this.byteOffset}});function re(e){if(e>bo)throw new RangeError('The value "'+e+'" is invalid for option "size"');var o=new Uint8Array(e);return Object.setPrototypeOf(o,d.prototype),o}function d(e,o,n){if(typeof e=="number"){if(typeof o=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return un(e)}return Bt(e,o,n)}d.poolSize=8192;function Bt(e,o,n){if(typeof e=="string")return ds(e,o);if(ArrayBuffer.isView(e))return _s(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(J(e,ArrayBuffer)||e&&J(e.buffer,ArrayBuffer)||typeof SharedArrayBuffer!="undefined"&&(J(e,SharedArrayBuffer)||e&&J(e.buffer,SharedArrayBuffer)))return ln(e,o,n);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 d.from(r,o,n);var c=ls(e);if(c)return c;if(typeof Symbol!="undefined"&&Symbol.toPrimitive!=null&&typeof e[Symbol.toPrimitive]=="function")return d.from(e[Symbol.toPrimitive]("string"),o,n);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e)}d.from=function(e,o,n){return Bt(e,o,n)};Object.setPrototypeOf(d.prototype,Uint8Array.prototype);Object.setPrototypeOf(d,Uint8Array);function Ut(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 ms(e,o,n){return Ut(e),e<=0?re(e):o!==void 0?typeof n=="string"?re(e).fill(o,n):re(e).fill(o):re(e)}d.alloc=function(e,o,n){return ms(e,o,n)};function un(e){return Ut(e),re(e<0?0:fn(e)|0)}d.allocUnsafe=function(e){return un(e)};d.allocUnsafeSlow=function(e){return un(e)};function ds(e,o){if((typeof o!="string"||o==="")&&(o="utf8"),!d.isEncoding(o))throw new TypeError("Unknown encoding: "+o);var n=Wt(e,o)|0,r=re(n),c=r.write(e,o);return c!==n&&(r=r.slice(0,c)),r}function _n(e){for(var o=e.length<0?0:fn(e.length)|0,n=re(o),r=0;r<o;r+=1)n[r]=e[r]&255;return n}function _s(e){if(J(e,Uint8Array)){var o=new Uint8Array(e);return ln(o.buffer,o.byteOffset,o.byteLength)}return _n(e)}function ln(e,o,n){if(o<0||e.byteLength<o)throw new RangeError('"offset" is outside of buffer bounds');if(e.byteLength<o+(n||0))throw new RangeError('"length" is outside of buffer bounds');var r;return o===void 0&&n===void 0?r=new Uint8Array(e):n===void 0?r=new Uint8Array(e,o):r=new Uint8Array(e,o,n),Object.setPrototypeOf(r,d.prototype),r}function ls(e){if(d.isBuffer(e)){var o=fn(e.length)|0,n=re(o);return n.length===0||e.copy(n,0,0,o),n}if(e.length!==void 0)return typeof e.length!="number"||Tn(e.length)?re(0):_n(e);if(e.type==="Buffer"&&Array.isArray(e.data))return _n(e.data)}function fn(e){if(e>=bo)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+bo.toString(16)+" bytes");return e|0}function gs(e){return+e!=e&&(e=0),d.alloc(+e)}d.isBuffer=function(o){return o!=null&&o._isBuffer===!0&&o!==d.prototype};d.compare=function(o,n){if(J(o,Uint8Array)&&(o=d.from(o,o.offset,o.byteLength)),J(n,Uint8Array)&&(n=d.from(n,n.offset,n.byteLength)),!d.isBuffer(o)||!d.isBuffer(n))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(o===n)return 0;for(var r=o.length,c=n.length,p=0,m=Math.min(r,c);p<m;++p)if(o[p]!==n[p]){r=o[p],c=n[p];break}return r<c?-1:c<r?1:0};d.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}};d.concat=function(o,n){if(!Array.isArray(o))throw new TypeError('"list" argument must be an Array of Buffers');if(o.length===0)return d.alloc(0);var r;if(n===void 0)for(n=0,r=0;r<o.length;++r)n+=o[r].length;var c=d.allocUnsafe(n),p=0;for(r=0;r<o.length;++r){var m=o[r];if(J(m,Uint8Array))p+m.length>c.length?d.from(m).copy(c,p):Uint8Array.prototype.set.call(c,m,p);else if(d.isBuffer(m))m.copy(c,p);else throw new TypeError('"list" argument must be an Array of Buffers');p+=m.length}return c};function Wt(e,o){if(d.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||J(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 n=e.length,r=arguments.length>2&&arguments[2]===!0;if(!r&&n===0)return 0;for(var c=!1;;)switch(o){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":return gn(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return n*2;case"hex":return n>>>1;case"base64":return zt(e).length;default:if(c)return r?-1:gn(e).length;o=(""+o).toLowerCase(),c=!0}}d.byteLength=Wt;function us(e,o,n){var r=!1;if((o===void 0||o<0)&&(o=0),o>this.length||((n===void 0||n>this.length)&&(n=this.length),n<=0)||(n>>>=0,o>>>=0,n<=o))return"";for(e||(e="utf8");;)switch(e){case"hex":return ks(this,o,n);case"utf8":case"utf-8":return $t(this,o,n);case"ascii":return ws(this,o,n);case"latin1":case"binary":return vs(this,o,n);case"base64":return bs(this,o,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return As(this,o,n);default:if(r)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),r=!0}}d.prototype._isBuffer=!0;function Se(e,o,n){var r=e[o];e[o]=e[n],e[n]=r}d.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 n=0;n<o;n+=2)Se(this,n,n+1);return this};d.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 n=0;n<o;n+=4)Se(this,n,n+3),Se(this,n+1,n+2);return this};d.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 n=0;n<o;n+=8)Se(this,n,n+7),Se(this,n+1,n+6),Se(this,n+2,n+5),Se(this,n+3,n+4);return this};d.prototype.toString=function(){var o=this.length;return o===0?"":arguments.length===0?$t(this,0,o):us.apply(this,arguments)};d.prototype.toLocaleString=d.prototype.toString;d.prototype.equals=function(o){if(!d.isBuffer(o))throw new TypeError("Argument must be a Buffer");return this===o?!0:d.compare(this,o)===0};d.prototype.inspect=function(){var o="",n=Re.INSPECT_MAX_BYTES;return o=this.toString("hex",0,n).replace(/(.{2})/g,"$1 ").trim(),this.length>n&&(o+=" ... "),"<Buffer "+o+">"};Mt&&(d.prototype[Mt]=d.prototype.inspect);d.prototype.compare=function(o,n,r,c,p){if(J(o,Uint8Array)&&(o=d.from(o,o.offset,o.byteLength)),!d.isBuffer(o))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof o);if(n===void 0&&(n=0),r===void 0&&(r=o?o.length:0),c===void 0&&(c=0),p===void 0&&(p=this.length),n<0||r>o.length||c<0||p>this.length)throw new RangeError("out of range index");if(c>=p&&n>=r)return 0;if(c>=p)return-1;if(n>=r)return 1;if(n>>>=0,r>>>=0,c>>>=0,p>>>=0,this===o)return 0;for(var m=p-c,_=r-n,l=Math.min(m,_),g=this.slice(c,p),x=o.slice(n,r),h=0;h<l;++h)if(g[h]!==x[h]){m=g[h],_=x[h];break}return m<_?-1:_<m?1:0};function Gt(e,o,n,r,c){if(e.length===0)return-1;if(typeof n=="string"?(r=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),n=+n,Tn(n)&&(n=c?0:e.length-1),n<0&&(n=e.length+n),n>=e.length){if(c)return-1;n=e.length-1}else if(n<0)if(c)n=0;else return-1;if(typeof o=="string"&&(o=d.from(o,r)),d.isBuffer(o))return o.length===0?-1:Ot(e,o,n,r,c);if(typeof o=="number")return o=o&255,typeof Uint8Array.prototype.indexOf=="function"?c?Uint8Array.prototype.indexOf.call(e,o,n):Uint8Array.prototype.lastIndexOf.call(e,o,n):Ot(e,[o],n,r,c);throw new TypeError("val must be string, number or Buffer")}function Ot(e,o,n,r,c){var p=1,m=e.length,_=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,m/=2,_/=2,n/=2}function l(E,F){return p===1?E[F]:E.readUInt16BE(F*p)}var g;if(c){var x=-1;for(g=n;g<m;g++)if(l(e,g)===l(o,x===-1?0:g-x)){if(x===-1&&(x=g),g-x+1===_)return x*p}else x!==-1&&(g-=g-x),x=-1}else for(n+_>m&&(n=m-_),g=n;g>=0;g--){for(var h=!0,L=0;L<_;L++)if(l(e,g+L)!==l(o,L)){h=!1;break}if(h)return g}return-1}d.prototype.includes=function(o,n,r){return this.indexOf(o,n,r)!==-1};d.prototype.indexOf=function(o,n,r){return Gt(this,o,n,r,!0)};d.prototype.lastIndexOf=function(o,n,r){return Gt(this,o,n,r,!1)};function fs(e,o,n,r){n=Number(n)||0;var c=e.length-n;r?(r=Number(r),r>c&&(r=c)):r=c;var p=o.length;r>p/2&&(r=p/2);for(var m=0;m<r;++m){var _=parseInt(o.substr(m*2,2),16);if(Tn(_))return m;e[n+m]=_}return m}function Ts(e,o,n,r){return So(gn(o,e.length-n),e,n,r)}function hs(e,o,n,r){return So(Es(o),e,n,r)}function xs(e,o,n,r){return So(zt(o),e,n,r)}function ys(e,o,n,r){return So(Cs(o,e.length-n),e,n,r)}d.prototype.write=function(o,n,r,c){if(n===void 0)c="utf8",r=this.length,n=0;else if(r===void 0&&typeof n=="string")c=n,r=this.length,n=0;else if(isFinite(n))n=n>>>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-n;if((r===void 0||r>p)&&(r=p),o.length>0&&(r<0||n<0)||n>this.length)throw new RangeError("Attempt to write outside buffer bounds");c||(c="utf8");for(var m=!1;;)switch(c){case"hex":return fs(this,o,n,r);case"utf8":case"utf-8":return Ts(this,o,n,r);case"ascii":case"latin1":case"binary":return hs(this,o,n,r);case"base64":return xs(this,o,n,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return ys(this,o,n,r);default:if(m)throw new TypeError("Unknown encoding: "+c);c=(""+c).toLowerCase(),m=!0}};d.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function bs(e,o,n){return o===0&&n===e.length?dn.fromByteArray(e):dn.fromByteArray(e.slice(o,n))}function $t(e,o,n){n=Math.min(e.length,n);for(var r=[],c=o;c<n;){var p=e[c],m=null,_=p>239?4:p>223?3:p>191?2:1;if(c+_<=n){var l,g,x,h;switch(_){case 1:p<128&&(m=p);break;case 2:l=e[c+1],(l&192)===128&&(h=(p&31)<<6|l&63,h>127&&(m=h));break;case 3:l=e[c+1],g=e[c+2],(l&192)===128&&(g&192)===128&&(h=(p&15)<<12|(l&63)<<6|g&63,h>2047&&(h<55296||h>57343)&&(m=h));break;case 4:l=e[c+1],g=e[c+2],x=e[c+3],(l&192)===128&&(g&192)===128&&(x&192)===128&&(h=(p&15)<<18|(l&63)<<12|(g&63)<<6|x&63,h>65535&&h<1114112&&(m=h))}}m===null?(m=65533,_=1):m>65535&&(m-=65536,r.push(m>>>10&1023|55296),m=56320|m&1023),r.push(m),c+=_}return Ss(r)}var Ft=4096;function Ss(e){var o=e.length;if(o<=Ft)return String.fromCharCode.apply(String,e);for(var n="",r=0;r<o;)n+=String.fromCharCode.apply(String,e.slice(r,r+=Ft));return n}function ws(e,o,n){var r="";n=Math.min(e.length,n);for(var c=o;c<n;++c)r+=String.fromCharCode(e[c]&127);return r}function vs(e,o,n){var r="";n=Math.min(e.length,n);for(var c=o;c<n;++c)r+=String.fromCharCode(e[c]);return r}function ks(e,o,n){var r=e.length;(!o||o<0)&&(o=0),(!n||n<0||n>r)&&(n=r);for(var c="",p=o;p<n;++p)c+=Ns[e[p]];return c}function As(e,o,n){for(var r=e.slice(o,n),c="",p=0;p<r.length-1;p+=2)c+=String.fromCharCode(r[p]+r[p+1]*256);return c}d.prototype.slice=function(o,n){var r=this.length;o=~~o,n=n===void 0?r:~~n,o<0?(o+=r,o<0&&(o=0)):o>r&&(o=r),n<0?(n+=r,n<0&&(n=0)):n>r&&(n=r),n<o&&(n=o);var c=this.subarray(o,n);return Object.setPrototypeOf(c,d.prototype),c};function D(e,o,n){if(e%1!==0||e<0)throw new RangeError("offset is not uint");if(e+o>n)throw new RangeError("Trying to access beyond buffer length")}d.prototype.readUintLE=d.prototype.readUIntLE=function(o,n,r){o=o>>>0,n=n>>>0,r||D(o,n,this.length);for(var c=this[o],p=1,m=0;++m<n&&(p*=256);)c+=this[o+m]*p;return c};d.prototype.readUintBE=d.prototype.readUIntBE=function(o,n,r){o=o>>>0,n=n>>>0,r||D(o,n,this.length);for(var c=this[o+--n],p=1;n>0&&(p*=256);)c+=this[o+--n]*p;return c};d.prototype.readUint8=d.prototype.readUInt8=function(o,n){return o=o>>>0,n||D(o,1,this.length),this[o]};d.prototype.readUint16LE=d.prototype.readUInt16LE=function(o,n){return o=o>>>0,n||D(o,2,this.length),this[o]|this[o+1]<<8};d.prototype.readUint16BE=d.prototype.readUInt16BE=function(o,n){return o=o>>>0,n||D(o,2,this.length),this[o]<<8|this[o+1]};d.prototype.readUint32LE=d.prototype.readUInt32LE=function(o,n){return o=o>>>0,n||D(o,4,this.length),(this[o]|this[o+1]<<8|this[o+2]<<16)+this[o+3]*16777216};d.prototype.readUint32BE=d.prototype.readUInt32BE=function(o,n){return o=o>>>0,n||D(o,4,this.length),this[o]*16777216+(this[o+1]<<16|this[o+2]<<8|this[o+3])};d.prototype.readIntLE=function(o,n,r){o=o>>>0,n=n>>>0,r||D(o,n,this.length);for(var c=this[o],p=1,m=0;++m<n&&(p*=256);)c+=this[o+m]*p;return p*=128,c>=p&&(c-=Math.pow(2,8*n)),c};d.prototype.readIntBE=function(o,n,r){o=o>>>0,n=n>>>0,r||D(o,n,this.length);for(var c=n,p=1,m=this[o+--c];c>0&&(p*=256);)m+=this[o+--c]*p;return p*=128,m>=p&&(m-=Math.pow(2,8*n)),m};d.prototype.readInt8=function(o,n){return o=o>>>0,n||D(o,1,this.length),this[o]&128?(255-this[o]+1)*-1:this[o]};d.prototype.readInt16LE=function(o,n){o=o>>>0,n||D(o,2,this.length);var r=this[o]|this[o+1]<<8;return r&32768?r|4294901760:r};d.prototype.readInt16BE=function(o,n){o=o>>>0,n||D(o,2,this.length);var r=this[o+1]|this[o]<<8;return r&32768?r|4294901760:r};d.prototype.readInt32LE=function(o,n){return o=o>>>0,n||D(o,4,this.length),this[o]|this[o+1]<<8|this[o+2]<<16|this[o+3]<<24};d.prototype.readInt32BE=function(o,n){return o=o>>>0,n||D(o,4,this.length),this[o]<<24|this[o+1]<<16|this[o+2]<<8|this[o+3]};d.prototype.readFloatLE=function(o,n){return o=o>>>0,n||D(o,4,this.length),De.read(this,o,!0,23,4)};d.prototype.readFloatBE=function(o,n){return o=o>>>0,n||D(o,4,this.length),De.read(this,o,!1,23,4)};d.prototype.readDoubleLE=function(o,n){return o=o>>>0,n||D(o,8,this.length),De.read(this,o,!0,52,8)};d.prototype.readDoubleBE=function(o,n){return o=o>>>0,n||D(o,8,this.length),De.read(this,o,!1,52,8)};function G(e,o,n,r,c,p){if(!d.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(n+r>e.length)throw new RangeError("Index out of range")}d.prototype.writeUintLE=d.prototype.writeUIntLE=function(o,n,r,c){if(o=+o,n=n>>>0,r=r>>>0,!c){var p=Math.pow(2,8*r)-1;G(this,o,n,r,p,0)}var m=1,_=0;for(this[n]=o&255;++_<r&&(m*=256);)this[n+_]=o/m&255;return n+r};d.prototype.writeUintBE=d.prototype.writeUIntBE=function(o,n,r,c){if(o=+o,n=n>>>0,r=r>>>0,!c){var p=Math.pow(2,8*r)-1;G(this,o,n,r,p,0)}var m=r-1,_=1;for(this[n+m]=o&255;--m>=0&&(_*=256);)this[n+m]=o/_&255;return n+r};d.prototype.writeUint8=d.prototype.writeUInt8=function(o,n,r){return o=+o,n=n>>>0,r||G(this,o,n,1,255,0),this[n]=o&255,n+1};d.prototype.writeUint16LE=d.prototype.writeUInt16LE=function(o,n,r){return o=+o,n=n>>>0,r||G(this,o,n,2,65535,0),this[n]=o&255,this[n+1]=o>>>8,n+2};d.prototype.writeUint16BE=d.prototype.writeUInt16BE=function(o,n,r){return o=+o,n=n>>>0,r||G(this,o,n,2,65535,0),this[n]=o>>>8,this[n+1]=o&255,n+2};d.prototype.writeUint32LE=d.prototype.writeUInt32LE=function(o,n,r){return o=+o,n=n>>>0,r||G(this,o,n,4,4294967295,0),this[n+3]=o>>>24,this[n+2]=o>>>16,this[n+1]=o>>>8,this[n]=o&255,n+4};d.prototype.writeUint32BE=d.prototype.writeUInt32BE=function(o,n,r){return o=+o,n=n>>>0,r||G(this,o,n,4,4294967295,0),this[n]=o>>>24,this[n+1]=o>>>16,this[n+2]=o>>>8,this[n+3]=o&255,n+4};d.prototype.writeIntLE=function(o,n,r,c){if(o=+o,n=n>>>0,!c){var p=Math.pow(2,8*r-1);G(this,o,n,r,p-1,-p)}var m=0,_=1,l=0;for(this[n]=o&255;++m<r&&(_*=256);)o<0&&l===0&&this[n+m-1]!==0&&(l=1),this[n+m]=(o/_>>0)-l&255;return n+r};d.prototype.writeIntBE=function(o,n,r,c){if(o=+o,n=n>>>0,!c){var p=Math.pow(2,8*r-1);G(this,o,n,r,p-1,-p)}var m=r-1,_=1,l=0;for(this[n+m]=o&255;--m>=0&&(_*=256);)o<0&&l===0&&this[n+m+1]!==0&&(l=1),this[n+m]=(o/_>>0)-l&255;return n+r};d.prototype.writeInt8=function(o,n,r){return o=+o,n=n>>>0,r||G(this,o,n,1,127,-128),o<0&&(o=255+o+1),this[n]=o&255,n+1};d.prototype.writeInt16LE=function(o,n,r){return o=+o,n=n>>>0,r||G(this,o,n,2,32767,-32768),this[n]=o&255,this[n+1]=o>>>8,n+2};d.prototype.writeInt16BE=function(o,n,r){return o=+o,n=n>>>0,r||G(this,o,n,2,32767,-32768),this[n]=o>>>8,this[n+1]=o&255,n+2};d.prototype.writeInt32LE=function(o,n,r){return o=+o,n=n>>>0,r||G(this,o,n,4,2147483647,-2147483648),this[n]=o&255,this[n+1]=o>>>8,this[n+2]=o>>>16,this[n+3]=o>>>24,n+4};d.prototype.writeInt32BE=function(o,n,r){return o=+o,n=n>>>0,r||G(this,o,n,4,2147483647,-2147483648),o<0&&(o=4294967295+o+1),this[n]=o>>>24,this[n+1]=o>>>16,this[n+2]=o>>>8,this[n+3]=o&255,n+4};function Vt(e,o,n,r,c,p){if(n+r>e.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function Ht(e,o,n,r,c){return o=+o,n=n>>>0,c||Vt(e,o,n,4,34028234663852886e22,-34028234663852886e22),De.write(e,o,n,r,23,4),n+4}d.prototype.writeFloatLE=function(o,n,r){return Ht(this,o,n,!0,r)};d.prototype.writeFloatBE=function(o,n,r){return Ht(this,o,n,!1,r)};function jt(e,o,n,r,c){return o=+o,n=n>>>0,c||Vt(e,o,n,8,17976931348623157e292,-17976931348623157e292),De.write(e,o,n,r,52,8),n+8}d.prototype.writeDoubleLE=function(o,n,r){return jt(this,o,n,!0,r)};d.prototype.writeDoubleBE=function(o,n,r){return jt(this,o,n,!1,r)};d.prototype.copy=function(o,n,r,c){if(!d.isBuffer(o))throw new TypeError("argument should be a Buffer");if(r||(r=0),!c&&c!==0&&(c=this.length),n>=o.length&&(n=o.length),n||(n=0),c>0&&c<r&&(c=r),c===r||o.length===0||this.length===0)return 0;if(n<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-n<c-r&&(c=o.length-n+r);var p=c-r;return this===o&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(n,r,c):Uint8Array.prototype.set.call(o,this.subarray(r,c),n),p};d.prototype.fill=function(o,n,r,c){if(typeof o=="string"){if(typeof n=="string"?(c=n,n=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"&&!d.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(n<0||this.length<n||this.length<r)throw new RangeError("Out of range index");if(r<=n)return this;n=n>>>0,r=r===void 0?this.length:r>>>0,o||(o=0);var m;if(typeof o=="number")for(m=n;m<r;++m)this[m]=o;else{var _=d.isBuffer(o)?o:d.from(o,c),l=_.length;if(l===0)throw new TypeError('The value "'+o+'" is invalid for argument "value"');for(m=0;m<r-n;++m)this[m+n]=_[m%l]}return this};var Is=/[^+/0-9A-Za-z-_]/g;function Ls(e){if(e=e.split("=")[0],e=e.trim().replace(Is,""),e.length<2)return"";for(;e.length%4!==0;)e=e+"=";return e}function gn(e,o){o=o||1/0;for(var n,r=e.length,c=null,p=[],m=0;m<r;++m){if(n=e.charCodeAt(m),n>55295&&n<57344){if(!c){if(n>56319){(o-=3)>-1&&p.push(239,191,189);continue}else if(m+1===r){(o-=3)>-1&&p.push(239,191,189);continue}c=n;continue}if(n<56320){(o-=3)>-1&&p.push(239,191,189),c=n;continue}n=(c-55296<<10|n-56320)+65536}else c&&(o-=3)>-1&&p.push(239,191,189);if(c=null,n<128){if((o-=1)<0)break;p.push(n)}else if(n<2048){if((o-=2)<0)break;p.push(n>>6|192,n&63|128)}else if(n<65536){if((o-=3)<0)break;p.push(n>>12|224,n>>6&63|128,n&63|128)}else if(n<1114112){if((o-=4)<0)break;p.push(n>>18|240,n>>12&63|128,n>>6&63|128,n&63|128)}else throw new Error("Invalid code point")}return p}function Es(e){for(var o=[],n=0;n<e.length;++n)o.push(e.charCodeAt(n)&255);return o}function Cs(e,o){for(var n,r,c,p=[],m=0;m<e.length&&!((o-=2)<0);++m)n=e.charCodeAt(m),r=n>>8,c=n%256,p.push(c),p.push(r);return p}function zt(e){return dn.toByteArray(Ls(e))}function So(e,o,n,r){for(var c=0;c<r&&!(c+n>=o.length||c>=e.length);++c)o[c+n]=e[c];return c}function J(e,o){return e instanceof o||e!=null&&e.constructor!=null&&e.constructor.name!=null&&e.constructor.name===o.name}function Tn(e){return e!==e}var Ns=function(){for(var e="0123456789abcdef",o=new Array(256),n=0;n<16;++n)for(var r=n*16,c=0;c<16;++c)o[r+c]=e[n]+e[c];return o}()});var Jt=xo((id,Zt)=>{t();var N=Zt.exports={},Q,ee;function hn(){throw new Error("setTimeout has not been defined")}function xn(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?Q=setTimeout:Q=hn}catch(e){Q=hn}try{typeof clearTimeout=="function"?ee=clearTimeout:ee=xn}catch(e){ee=xn}})();function Kt(e){if(Q===setTimeout)return setTimeout(e,0);if((Q===hn||!Q)&&setTimeout)return Q=setTimeout,setTimeout(e,0);try{return Q(e,0)}catch(o){try{return Q.call(null,e,0)}catch(n){return Q.call(this,e,0)}}}function Ps(e){if(ee===clearTimeout)return clearTimeout(e);if((ee===xn||!ee)&&clearTimeout)return ee=clearTimeout,clearTimeout(e);try{return ee(e)}catch(o){try{return ee.call(null,e)}catch(n){return ee.call(this,e)}}}var ae=[],Me=!1,we,wo=-1;function Ds(){!Me||!we||(Me=!1,we.length?ae=we.concat(ae):wo=-1,ae.length&&Xt())}function Xt(){if(!Me){var e=Kt(Ds);Me=!0;for(var o=ae.length;o;){for(we=ae,ae=[];++wo<o;)we&&we[wo].run();wo=-1,o=ae.length}we=null,Me=!1,Ps(e)}}N.nextTick=function(e){var o=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)o[n-1]=arguments[n];ae.push(new Yt(e,o)),ae.length===1&&!Me&&Kt(Xt)};function Yt(e,o){this.fun=e,this.array=o}Yt.prototype.run=function(){this.fun.apply(null,this.array)};N.title="browser";N.browser=!0;N.env={};N.argv=[];N.version="";N.versions={};function ie(){}N.on=ie;N.addListener=ie;N.once=ie;N.off=ie;N.removeListener=ie;N.removeAllListeners=ie;N.emit=ie;N.prependListener=ie;N.prependOnceListener=ie;N.listeners=function(e){return[]};N.binding=function(e){throw new Error("process.binding is not supported")};N.cwd=function(){return"/"};N.chdir=function(e){throw new Error("process.chdir is not supported")};N.umask=function(){return 0}});var a,i,sd,t=y(()=>{a=f(qt()),i=f(Jt()),sd=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 n=__magic__;return n}(Object)});var ve,Qe=y(()=>{"use strict";t();ve=()=>Date.now()/1e3});var Qt,yn=y(()=>{"use strict";t();Qt=e=>new Date().setMilliseconds(new Date().getMilliseconds()+e)/1e3});var er,or=y(()=>{"use strict";t();er=e=>new Date().setSeconds(new Date().getSeconds()+e)/1e3});var vo=y(()=>{"use strict";t();Qe();yn();or()});var Sn={};ye(Sn,{getItem:()=>Ms,localStorageKeys:()=>_e,removeItem:()=>Os,setItem:()=>Rs});var _e,bn,Rs,Ms,Os,Oe=y(()=>{"use strict";t();vo();_e={loginExpiresAt:"sdk-dapp-login-expires-at",logoutEvent:"sdk-dapp-logout-event"},bn=typeof localStorage!="undefined",Rs=({key:e,data:o,expires:n})=>{!bn||localStorage.setItem(String(e),JSON.stringify({expires:n,data:o}))},Ms=e=>{if(!bn)return;let o=localStorage.getItem(String(e));if(!o)return null;let n=JSON.parse(o);return!n||!n.hasOwnProperty("expires")||!n.hasOwnProperty("data")?null:ve()>=n.expires?(localStorage.removeItem(String(e)),null):n.data},Os=e=>{!bn||localStorage.removeItem(String(e))}});var wn={};ye(wn,{clear:()=>ir,getItem:()=>rr,removeItem:()=>ar,setItem:()=>tr,storage:()=>Fs});var tr,rr,ar,ir,Fs,sr=y(()=>{"use strict";t();tr=({key:e,data:o,expires:n})=>{sessionStorage.setItem(String(e),JSON.stringify({expires:n,data:o}))},rr=e=>{let o=sessionStorage.getItem(String(e));if(!o)return null;let n=JSON.parse(o);return!n||!n.hasOwnProperty("expires")||!n.hasOwnProperty("data")?null:Date.now()>=n.expires?(sessionStorage.removeItem(String(e)),null):n.data},ar=e=>sessionStorage.removeItem(String(e)),ir=()=>sessionStorage.clear(),Fs={setItem:tr,getItem:rr,removeItem:ar,clear:ir}});var q,ke=y(()=>{"use strict";t();Oe();sr();q={session:wn,local:Sn}});var C=y(()=>{"use strict";t()});function le(e){return e!=null&&(qs(e)||no(e))}function Be(e){return e!=null&&(Ks(e)||Zs(e))}function Ue(e){return e!=null&&(Xs(e)||Js(e))}function oo(e){return e!=null&&Ys(e)}function qs(e){return e!=null&&Ws.includes(e)}function Ks(e){return e!=null&&Gs.includes(e)}function Xs(e){return e!=null&&$s.includes(e)}function Ys(e){return e!=null&&Vs.includes(e)}function no(e){return e!=null&&Hs.includes(e)}function Zs(e){return e!=null&&js.includes(e)}function Js(e){return e!=null&&zs.includes(e)}var Ws,Gs,$s,Vs,Hs,js,zs,ce=y(()=>{"use strict";t();C();Ws=["sent"],Gs=["success"],$s=["fail","cancelled","timedOut"],Vs=["timedOut"],Hs=["pending"],js=["success"],zs=["fail","invalid"]});var Ae=y(()=>{"use strict";t()});var lr=y(()=>{"use strict";t()});var gr=y(()=>{"use strict";t()});var ur=y(()=>{"use strict";t()});var fr=y(()=>{"use strict";t()});var Tr=y(()=>{"use strict";t()});var W=y(()=>{"use strict";t()});var hr=y(()=>{"use strict";t()});var xr=y(()=>{"use strict";t()});var R=y(()=>{"use strict";t();lr();gr();ur();C();fr();Tr();W();hr();xr()});var to,yr,qd,br,Kd,Sr,Xd,Yd,Qs,ro=y(()=>{"use strict";t();R();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:"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://wallet.multiversx.com",apiAddress:"https://api.multiversx.com",explorerAddress:"https://explorer.multiversx.com",apiTimeout:"4000"}},{chainId:yr,egldLabel:qd}=to["devnet"],{chainId:br,egldLabel:Kd}=to["testnet"],{chainId:Sr,egldLabel:Xd}=to["mainnet"],Yd={["devnet"]:yr,["testnet"]:br,["mainnet"]:Sr},Qs={[yr]:"devnet",[br]:"testnet",[Sr]:"mainnet"}});var An=y(()=>{"use strict";t()});var wr=y(()=>{"use strict";t()});var Ao,In=y(()=>{"use strict";t();Ao="transaction-status-toast-id"});var oe,vr=y(()=>{"use strict";t();oe=require("@multiversx/sdk-web-wallet-provider")});var ao,Io,kr,Ln,Lo,Ar,We,k=y(()=>{"use strict";t();Ae();ro();An();wr();In();vr();ao=5e4,Io=1e9,kr=1,Ln=4294967295,Lo="logout",Ar="login",We="0"});var En,M,ne,O=y(()=>{"use strict";t();En=require("@reduxjs/toolkit");k();M=(0,En.createAction)(Lo),ne=(0,En.createAction)(Ar,e=>({payload:e}))});var Nn,Ir,Lr,Eo,Cn,Er,Pn,T_,Dn,h_,ec,oc,x_,y_,b_,nc,Cr,Rn=y(()=>{"use strict";t();Nn=require("@multiversx/sdk-core"),Ir=require("@reduxjs/toolkit"),Lr=require("redux-persist");k();ke();Oe();O();Eo={balance:"...",address:"",nonce:0,txCount:0,scrCount:0,claimableRewards:We},Cn={address:"",websocketEvent:null,accounts:{"":Eo},ledgerAccount:null,publicKey:"",walletConnectAccount:null,isAccountLoading:!0,accountLoadingError:null},Er=(0,Ir.createSlice)({name:"accountInfoSlice",initialState:Cn,reducers:{setAddress:(e,o)=>{let n=o.payload;e.address=n,e.publicKey=new Nn.Address(n).hex()},setAccount:(e,o)=>{let n=e.address===o.payload.address;e.accounts={[e.address]:n?o.payload:Eo},e.shard=o.payload.shard,e.isAccountLoading=!1,e.accountLoadingError=null},setAccountNonce:(e,o)=>{let{address:n}=e;e.accounts[n].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}}},extraReducers:e=>{e.addCase(M,()=>(q.local.removeItem(_e.loginExpiresAt),Cn)),e.addCase(ne,(o,n)=>{let{address:r}=n.payload;o.address=r,o.publicKey=new Nn.Address(r).hex()}),e.addCase(Lr.REHYDRATE,(o,n)=>{var g;if(!((g=n.payload)!=null&&g.account))return;let{account:r}=n.payload,{address:c,shard:p,accounts:m,publicKey:_}=r;o.address=c,o.shard=p;let l=m&&c in m;o.accounts=l?m:Cn.accounts,o.publicKey=_})}}),{setAccount:Pn,setAddress:T_,setAccountNonce:Dn,setAccountShard:h_,setLedgerAccount:ec,updateLedgerAccount:oc,setWalletConnectAccount:x_,setIsAccountLoading:y_,setAccountLoadingError:b_,setWebsocketEvent:nc}=Er.actions,Cr=Er.reducer});function io(){return new Date().setHours(new Date().getHours()+24)}function so(e){q.local.setItem({key:_e.loginExpiresAt,data:e,expires:e})}var Mn=y(()=>{"use strict";t();ke();Oe()});var Pr,Nr,Dr,N_,Rr,tc,rc,P_,ac,Mr,D_,Or,On=y(()=>{"use strict";t();Pr=require("@reduxjs/toolkit");Mn();C();O();Nr={loginMethod:"",walletConnectLogin:null,ledgerLogin:null,tokenLogin:null,walletLogin:null,extensionLogin:null,operaLogin:null,isLoginSessionInvalid:!1},Dr=(0,Pr.createSlice)({name:"loginInfoSlice",initialState:Nr,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(M,()=>Nr),e.addCase(ne,(o,n)=>{o.loginMethod=n.payload.loginMethod,so(io())})}}),{setLoginMethod:N_,setWalletConnectLogin:Rr,setLedgerLogin:tc,setTokenLogin:rc,setTokenLoginSignature:P_,setWalletLogin:ac,invalidateLoginSession:Mr,setLogoutRoute:D_}=Dr.actions,Or=Dr.reducer});var Br,Fr,Ur,F_,ic,B_,sc,Wr,Fn=y(()=>{"use strict";t();Br=require("@reduxjs/toolkit");O();Fr={},Ur=(0,Br.createSlice)({name:"modalsSlice",initialState:Fr,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(M,()=>Fr)}}),{setTxSubmittedModal:F_,setNotificationModal:ic,clearTxSubmittedModal:B_,clearNotificationModal:sc}=Ur.actions,Wr=Ur.reducer});var co=y(()=>{"use strict";t()});var $r=y(()=>{"use strict";t();co()});function Bn(e){return e[Math.floor(Math.random()*e.length)]}var Vr=y(()=>{"use strict";t()});var Un=y(()=>{"use strict";t();An()});var Ie=y(()=>{"use strict";t();$r();Vr();Un()});var Hr,jr,Wn,cc,zr,Q_,el,qr,Gn=y(()=>{"use strict";t();Hr=require("@reduxjs/toolkit"),jr=f(require("lodash.omit"));Ie();Wn={id:"not-configured",chainId:"",name:"NOT CONFIGURED",egldLabel:"",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"",walletConnectBridgeAddress:"",walletConnectV2RelayAddress:"",walletConnectV2ProjectId:"",walletConnectV2Options:{},walletAddress:"",apiAddress:"",explorerAddress:"",apiTimeout:"4000"},cc={network:Wn,chainID:"-1"},zr=(0,Hr.createSlice)({name:"appConfig",initialState:cc,reducers:{initializeNetworkConfig:(e,o)=>{let n=Bn(o.payload.walletConnectBridgeAddresses),r=Bn(o.payload.walletConnectV2RelayAddresses),c=(0,jr.default)(o.payload,"walletConnectBridgeAddresses","walletConnectV2RelayAddresses");e.network=S(T(T({},e.network),c),{walletConnectBridgeAddress:n,walletConnectV2RelayAddress:r})},setChainID:(e,o)=>{e.chainID=o.payload}}}),{initializeNetworkConfig:Q_,setChainID:el}=zr.actions,qr=zr.reducer});var Kr,$n,Xr,il,sl,cl,Co,No=y(()=>{"use strict";t();Kr=require("@reduxjs/toolkit");R();O();$n={isSigning:!1,signedSessions:{}},Xr=(0,Kr.createSlice)({name:"signedMessageInfoSliceState",initialState:$n,reducers:{setSignSession:(e,o)=>{let{sessionId:n,signedSession:r,errorMessage:c}=o.payload;return S(T({},e),{errorMessage:c!=null?c:e.errorMessage,isSigning:r.status==="pending",signedSessions:S(T({},e.signedSessions),{[n]:r})})},setSignSessionState:(e,o)=>T(T({},e),o.payload),clearSignedMessageInfo:()=>$n},extraReducers:e=>{e.addCase(M,()=>$n)}}),{setSignSession:il,clearSignedMessageInfo:sl,setSignSessionState:cl}=Xr.actions,Co=Xr.reducer});var Zr,Jr,Yr,Qr,pc,Vn,fl,Tl,hl,xl,Po,Do=y(()=>{"use strict";t();Zr=require("@reduxjs/toolkit"),Jr=require("redux-persist");In();R();Qe();O();Yr={customToasts:[],transactionToasts:[],failTransactionToast:null},Qr=(0,Zr.createSlice)({name:"toastsSlice",initialState:Yr,reducers:{addCustomToast:(e,o)=>{e.customToasts.push(S(T({},o.payload),{type:"custom",toastId:o.payload.toastId||`custom-toast-${e.customToasts.length+1}`}))},removeCustomToast:(e,o)=>{e.customToasts=e.customToasts.filter(n=>n.toastId!==o.payload)},addTransactionToast:(e,o)=>{e.transactionToasts.push({type:"transaction",startTimestamp:ve(),toastId:o.payload||`custom-toast-${e.transactionToasts.length+1}`})},removeTransactionToast:(e,o)=>{e.transactionToasts=e.transactionToasts.filter(n=>n.toastId!==o.payload)},addFailTransactionToast:(e,o)=>{e.failTransactionToast=S(T({},o.payload),{toastId:Ao})},removeFailTransactionToast:e=>{e.failTransactionToast=null}},extraReducers:e=>{e.addCase(M,()=>Yr),e.addCase(Jr.REHYDRATE,(o,n)=>{var c,p;let r=(p=(c=n.customToasts)==null?void 0:c.filter(m=>!("component"in m)))!=null?p:[];o.customToasts=r})}}),{addCustomToast:pc,removeCustomToast:Vn,addTransactionToast:fl,removeTransactionToast:Tl,addFailTransactionToast:hl,removeFailTransactionToast:xl}=Qr.actions,Po=Qr.reducer});var ea,jn,zn,qn,mc,Hn,oa,wl,dc,Kn,Ro,Mo=y(()=>{"use strict";t();ea=require("@reduxjs/toolkit");O();jn="Transaction failed",zn="Transaction successful",qn="Processing transaction",mc="Transaction submitted",Hn={},oa=(0,ea.createSlice)({name:"transactionsInfo",initialState:Hn,reducers:{setTransactionsDisplayInfo(e,o){let{sessionId:n,transactionsDisplayInfo:r}=o.payload;n!=null&&(e[n]={errorMessage:(r==null?void 0:r.errorMessage)||jn,successMessage:(r==null?void 0:r.successMessage)||zn,processingMessage:(r==null?void 0:r.processingMessage)||qn,submittedMessage:(r==null?void 0:r.submittedMessage)||mc,transactionDuration:r==null?void 0:r.transactionDuration})},clearTransactionsInfoForSessionId(e,o){o.payload!=null&&delete e[o.payload]},clearTransactionsInfo:()=>Hn},extraReducers:e=>{e.addCase(M,()=>Hn)}}),{clearTransactionsInfo:wl,setTransactionsDisplayInfo:dc,clearTransactionsInfoForSessionId:Kn}=oa.actions,Ro=oa.reducer});var na,ta,po,_c,ra,aa,ia,lc,Oo,gc,uc,Cl,fc,Fo,Xn,Bo,Uo=y(()=>{"use strict";t();na=require("@reduxjs/toolkit"),ta=require("redux-persist");C();ce();O();po={signedTransactions:{},transactionsToSign:null,signTransactionsError:null,signTransactionsCancelMessage:null,customTransactionInformationForSessionId:{}},_c={signWithoutSending:!1,sessionInformation:null,redirectAfterSign:!1},ra=(0,na.createSlice)({name:"transactionsSlice",initialState:po,reducers:{moveTransactionsToSignedState:(e,o)=>{var l,g;let{sessionId:n,transactions:r,errorMessage:c,status:p,redirectRoute:m}=o.payload,_=((l=e.customTransactionInformationForSessionId)==null?void 0:l[n])||_c;e.signedTransactions[n]={transactions:r,status:p,errorMessage:c,redirectRoute:m,customTransactionInformation:_},((g=e==null?void 0:e.transactionsToSign)==null?void 0:g.sessionId)===n&&(e.transactionsToSign=po.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=T(T({},e.signedTransactions),o.payload)},updateSignedTransactions:(e,o)=>{let{sessionId:n,status:r,errorMessage:c,transactions:p}=o.payload;e.signedTransactions[n]!=null&&(e.signedTransactions[n].status=r,c!=null&&(e.signedTransactions[n].errorMessage=c),p!=null&&(e.signedTransactions[n].transactions=p))},updateSignedTransactionStatus:(e,o)=>{var _,l,g,x,h,L;let{sessionId:n,status:r,errorMessage:c,transactionHash:p}=o.payload,m=(l=(_=e.signedTransactions)==null?void 0:_[n])==null?void 0:l.transactions;if(m!=null){e.signedTransactions[n].transactions=m.map(B=>B.hash===p?S(T({},B),{status:r,errorMessage:c}):B);let E=(x=(g=e.signedTransactions[n])==null?void 0:g.transactions)==null?void 0:x.every(B=>Be(B.status)),F=(L=(h=e.signedTransactions[n])==null?void 0:h.transactions)==null?void 0:L.every(B=>Ue(B.status));E&&(e.signedTransactions[n].status="success"),F&&(e.signedTransactions[n].status="fail")}},setTransactionsToSign:(e,o)=>{e.transactionsToSign=o.payload;let{sessionId:n,customTransactionInformation:r}=o.payload;e.customTransactionInformationForSessionId[n]=r,e.signTransactionsError=null},clearAllTransactionsToSign:e=>{e.transactionsToSign=po.transactionsToSign,e.signTransactionsError=null},clearAllSignedTransactions:e=>{e.signedTransactions=po.signedTransactions},setSignTransactionsError:(e,o)=>{e.signTransactionsError=o.payload},setSignTransactionsCancelMessage:(e,o)=>{e.signTransactionsCancelMessage=o.payload}},extraReducers:e=>{e.addCase(M,()=>po),e.addCase(ta.REHYDRATE,(o,n)=>{var m;if(o.signTransactionsCancelMessage=null,!((m=n.payload)!=null&&m.transactions))return;let{signedTransactions:r,customTransactionInformationForSessionId:c}=n.payload.transactions,p=Object.entries(r).reduce((_,[l,g])=>{let x=new Date(l),h=new Date;return h.setHours(h.getHours()+5),h-x>0||(_[l]=g),_},{});c!=null&&(o.customTransactionInformationForSessionId=c),r!=null&&(o.signedTransactions=p)})}}),{updateSignedTransactionStatus:aa,updateSignedTransactions:ia,setTransactionsToSign:lc,clearAllTransactionsToSign:Oo,clearAllSignedTransactions:gc,clearSignedTransaction:uc,clearTransactionToSign:Cl,setSignTransactionsError:fc,setSignTransactionsCancelMessage:Fo,moveTransactionsToSignedState:Xn}=ra.actions,Bo=ra.reducer});var A=y(()=>{"use strict";t();Rn();On();Fn();Gn();No();Do();Mo();Uo()});var tt=y(()=>{"use strict";t()});var ka,va,Aa,hu,xu,yu,bu,Su,wu,Ia,La=y(()=>{"use strict";t();ka=require("@reduxjs/toolkit");O();va={visible:!1,modal:{showHeader:!0,showFooter:!1,headerText:"",footerText:""}},Aa=(0,ka.createSlice)({name:"dappModalsSlice",initialState:va,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=T({},o.payload)}},extraReducers:e=>{e.addCase(M,()=>va)}}),{setDappModalVisibility:hu,setDappModalHeaderVisibility:xu,setDappModalFooterVisibility:yu,setDappModalHeaderText:bu,setDappModalFooterText:Su,setDappModalConfig:wu}=Aa.actions,Ia=Aa.reducer});var Ea,Uc,Wc,$e,zo=y(()=>{"use strict";t();Ea=require("@reduxjs/toolkit");tt();Rn();La();On();Fn();Gn();No();Do();Mo();Uo();Uc={["account"]:Cr,["dappModal"]:Ia,["loginInfo"]:Or,["modals"]:Wr,["networkConfig"]:qr,["signedMessageInfo"]:Co,["toasts"]:Po,["transactionsInfo"]:Ro,["transactions"]:Bo},Wc=(e={})=>(0,Ea.combineReducers)(T(T({},Uc),e)),$e=Wc});var Pa={};ye(Pa,{default:()=>Kc});function qo(e,o=[]){return{key:e,version:1,storage:Na.default,blacklist:o}}var ue,Ca,Na,Gc,$c,Vc,Hc,jc,zc,qc,Kc,Da=y(()=>{"use strict";t();ue=require("redux-persist"),Ca=f(require("redux-persist/lib/storage")),Na=f(require("redux-persist/lib/storage/session"));zo();A();No();Do();Mo();Uo();tt();Gc={2:e=>S(T({},e),{networkConfig:Wn})};$c=qo("sdk-dapp-transactionsInfo"),Vc=qo("sdk-dapp-transactions",["transactionsToSign"]),Hc=qo("sdk-dapp-toasts"),jc=qo("sdk-dapp-signedMessageInfo"),zc={key:"sdk-dapp-store",version:2,storage:Ca.default,whitelist:["account","loginInfo","modals","networkConfig"],migrate:(0,ue.createMigrate)(Gc,{debug:!1})},qc={["toasts"]:(0,ue.persistReducer)(Hc,Po),["transactions"]:(0,ue.persistReducer)(Vc,Bo),["transactionsInfo"]:(0,ue.persistReducer)($c,Ro),["signedMessageInfo"]:(0,ue.persistReducer)(jc,Co)},Kc=(0,ue.persistReducer)(zc,$e(qc))});var Ra={};ye(Ra,{default:()=>Xc});var Xc,Ma=y(()=>{"use strict";t();zo();Xc=$e()});var Oa={};ye(Oa,{default:()=>Zc});var K,Yc,Zc,Fa=y(()=>{"use strict";t();K=require("redux-persist"),Yc=[K.FLUSH,K.REHYDRATE,K.PAUSE,K.PERSIST,K.PURGE,K.REGISTER],Zc=Yc});var Wa={};ye(Wa,{default:()=>Ua});function Ua(e){return(0,Ba.persistStore)(e)}var Ba,Ga=y(()=>{"use strict";t();Ba=require("redux-persist")});var od={};ye(od,{TransactionToastGuard:()=>ed});module.exports=Je(od);t();var Xi=f(require("react"));t();t();var an=f(require("react"));t();var V=f(require("react")),cr=f(require("classnames"));vo();t();var nr=e=>{let r=Math.log(.005),p=(Math.log(2)-r)/(10-0);return Math.exp(r+p*(e-0))};ke();t();var Bs=`.dapp-core-component__progressStyles__progress {
1
+ "use strict";var Yi=Object.create;var Ze=Object.defineProperty,Zi=Object.defineProperties,Ji=Object.getOwnPropertyDescriptor,Qi=Object.getOwnPropertyDescriptors,es=Object.getOwnPropertyNames,ho=Object.getOwnPropertySymbols,os=Object.getPrototypeOf,cn=Object.prototype.hasOwnProperty,Et=Object.prototype.propertyIsEnumerable;var Lt=(e,o,n)=>o in e?Ze(e,o,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[o]=n,T=(e,o)=>{for(var n in o||(o={}))cn.call(o,n)&&Lt(e,n,o[n]);if(ho)for(var n of ho(o))Et.call(o,n)&&Lt(e,n,o[n]);return e},S=(e,o)=>Zi(e,Qi(o));var xe=(e,o)=>{var n={};for(var r in e)cn.call(e,r)&&o.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&ho)for(var r of ho(e))o.indexOf(r)<0&&Et.call(e,r)&&(n[r]=e[r]);return n};var y=(e,o)=>()=>(e&&(o=e(e=0)),o);var xo=(e,o)=>()=>(o||e((o={exports:{}}).exports,o),o.exports),ye=(e,o)=>{for(var n in o)Ze(e,n,{get:o[n],enumerable:!0})},Ct=(e,o,n,r)=>{if(o&&typeof o=="object"||typeof o=="function")for(let c of es(o))!cn.call(e,c)&&c!==n&&Ze(e,c,{get:()=>o[c],enumerable:!(r=Ji(o,c))||r.enumerable});return e};var f=(e,o,n)=>(n=e!=null?Yi(os(e)):{},Ct(o||!e||!e.__esModule?Ze(n,"default",{value:e,enumerable:!0}):n,e)),Je=e=>Ct(Ze({},"__esModule",{value:!0}),e);var b=(e,o,n)=>new Promise((r,c)=>{var p=l=>{try{_(n.next(l))}catch(u){c(u)}},m=l=>{try{_(n.throw(l))}catch(u){c(u)}},_=l=>l.done?r(l.value):Promise.resolve(l.value).then(p,m);_((n=n.apply(e,o)).next())});var Dt=xo(yo=>{"use strict";t();yo.byteLength=ts;yo.toByteArray=as;yo.fromByteArray=cs;var Z=[],z=[],ns=typeof Uint8Array!="undefined"?Uint8Array:Array,pn="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(be=0,Nt=pn.length;be<Nt;++be)Z[be]=pn[be],z[pn.charCodeAt(be)]=be;var be,Nt;z["-".charCodeAt(0)]=62;z["_".charCodeAt(0)]=63;function Pt(e){var o=e.length;if(o%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var n=e.indexOf("=");n===-1&&(n=o);var r=n===o?0:4-n%4;return[n,r]}function ts(e){var o=Pt(e),n=o[0],r=o[1];return(n+r)*3/4-r}function rs(e,o,n){return(o+n)*3/4-n}function as(e){var o,n=Pt(e),r=n[0],c=n[1],p=new ns(rs(e,r,c)),m=0,_=c>0?r-4:r,l;for(l=0;l<_;l+=4)o=z[e.charCodeAt(l)]<<18|z[e.charCodeAt(l+1)]<<12|z[e.charCodeAt(l+2)]<<6|z[e.charCodeAt(l+3)],p[m++]=o>>16&255,p[m++]=o>>8&255,p[m++]=o&255;return c===2&&(o=z[e.charCodeAt(l)]<<2|z[e.charCodeAt(l+1)]>>4,p[m++]=o&255),c===1&&(o=z[e.charCodeAt(l)]<<10|z[e.charCodeAt(l+1)]<<4|z[e.charCodeAt(l+2)]>>2,p[m++]=o>>8&255,p[m++]=o&255),p}function is(e){return Z[e>>18&63]+Z[e>>12&63]+Z[e>>6&63]+Z[e&63]}function ss(e,o,n){for(var r,c=[],p=o;p<n;p+=3)r=(e[p]<<16&16711680)+(e[p+1]<<8&65280)+(e[p+2]&255),c.push(is(r));return c.join("")}function cs(e){for(var o,n=e.length,r=n%3,c=[],p=16383,m=0,_=n-r;m<_;m+=p)c.push(ss(e,m,m+p>_?_:m+p));return r===1?(o=e[n-1],c.push(Z[o>>2]+Z[o<<4&63]+"==")):r===2&&(o=(e[n-2]<<8)+e[n-1],c.push(Z[o>>10]+Z[o>>4&63]+Z[o<<2&63]+"=")),c.join("")}});var Rt=xo(mn=>{t();mn.read=function(e,o,n,r,c){var p,m,_=c*8-r-1,l=(1<<_)-1,u=l>>1,x=-7,h=n?c-1:0,L=n?-1:1,E=e[o+h];for(h+=L,p=E&(1<<-x)-1,E>>=-x,x+=_;x>0;p=p*256+e[o+h],h+=L,x-=8);for(m=p&(1<<-x)-1,p>>=-x,x+=r;x>0;m=m*256+e[o+h],h+=L,x-=8);if(p===0)p=1-u;else{if(p===l)return m?NaN:(E?-1:1)*(1/0);m=m+Math.pow(2,r),p=p-u}return(E?-1:1)*m*Math.pow(2,p-r)};mn.write=function(e,o,n,r,c,p){var m,_,l,u=p*8-c-1,x=(1<<u)-1,h=x>>1,L=c===23?Math.pow(2,-24)-Math.pow(2,-77):0,E=r?0:p-1,F=r?1:-1,B=o<0||o===0&&1/o<0?1:0;for(o=Math.abs(o),isNaN(o)||o===1/0?(_=isNaN(o)?1:0,m=x):(m=Math.floor(Math.log(o)/Math.LN2),o*(l=Math.pow(2,-m))<1&&(m--,l*=2),m+h>=1?o+=L/l:o+=L*Math.pow(2,1-h),o*l>=2&&(m++,l/=2),m+h>=x?(_=0,m=x):m+h>=1?(_=(o*l-1)*Math.pow(2,c),m=m+h):(_=o*Math.pow(2,h-1)*Math.pow(2,c),m=0));c>=8;e[n+E]=_&255,E+=F,_/=256,c-=8);for(m=m<<c|_,u+=c;u>0;e[n+E]=m&255,E+=F,m/=256,u-=8);e[n+E-F]|=B*128}});var qt=xo(Re=>{"use strict";t();var dn=Dt(),De=Rt(),Mt=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;Re.Buffer=d;Re.SlowBuffer=us;Re.INSPECT_MAX_BYTES=50;var bo=2147483647;Re.kMaxLength=bo;d.TYPED_ARRAY_SUPPORT=ps();!d.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 ps(){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(n){return!1}}Object.defineProperty(d.prototype,"parent",{enumerable:!0,get:function(){if(!!d.isBuffer(this))return this.buffer}});Object.defineProperty(d.prototype,"offset",{enumerable:!0,get:function(){if(!!d.isBuffer(this))return this.byteOffset}});function re(e){if(e>bo)throw new RangeError('The value "'+e+'" is invalid for option "size"');var o=new Uint8Array(e);return Object.setPrototypeOf(o,d.prototype),o}function d(e,o,n){if(typeof e=="number"){if(typeof o=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return gn(e)}return Bt(e,o,n)}d.poolSize=8192;function Bt(e,o,n){if(typeof e=="string")return ds(e,o);if(ArrayBuffer.isView(e))return _s(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(J(e,ArrayBuffer)||e&&J(e.buffer,ArrayBuffer)||typeof SharedArrayBuffer!="undefined"&&(J(e,SharedArrayBuffer)||e&&J(e.buffer,SharedArrayBuffer)))return ln(e,o,n);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 d.from(r,o,n);var c=ls(e);if(c)return c;if(typeof Symbol!="undefined"&&Symbol.toPrimitive!=null&&typeof e[Symbol.toPrimitive]=="function")return d.from(e[Symbol.toPrimitive]("string"),o,n);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e)}d.from=function(e,o,n){return Bt(e,o,n)};Object.setPrototypeOf(d.prototype,Uint8Array.prototype);Object.setPrototypeOf(d,Uint8Array);function Ut(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 ms(e,o,n){return Ut(e),e<=0?re(e):o!==void 0?typeof n=="string"?re(e).fill(o,n):re(e).fill(o):re(e)}d.alloc=function(e,o,n){return ms(e,o,n)};function gn(e){return Ut(e),re(e<0?0:fn(e)|0)}d.allocUnsafe=function(e){return gn(e)};d.allocUnsafeSlow=function(e){return gn(e)};function ds(e,o){if((typeof o!="string"||o==="")&&(o="utf8"),!d.isEncoding(o))throw new TypeError("Unknown encoding: "+o);var n=Wt(e,o)|0,r=re(n),c=r.write(e,o);return c!==n&&(r=r.slice(0,c)),r}function _n(e){for(var o=e.length<0?0:fn(e.length)|0,n=re(o),r=0;r<o;r+=1)n[r]=e[r]&255;return n}function _s(e){if(J(e,Uint8Array)){var o=new Uint8Array(e);return ln(o.buffer,o.byteOffset,o.byteLength)}return _n(e)}function ln(e,o,n){if(o<0||e.byteLength<o)throw new RangeError('"offset" is outside of buffer bounds');if(e.byteLength<o+(n||0))throw new RangeError('"length" is outside of buffer bounds');var r;return o===void 0&&n===void 0?r=new Uint8Array(e):n===void 0?r=new Uint8Array(e,o):r=new Uint8Array(e,o,n),Object.setPrototypeOf(r,d.prototype),r}function ls(e){if(d.isBuffer(e)){var o=fn(e.length)|0,n=re(o);return n.length===0||e.copy(n,0,0,o),n}if(e.length!==void 0)return typeof e.length!="number"||Tn(e.length)?re(0):_n(e);if(e.type==="Buffer"&&Array.isArray(e.data))return _n(e.data)}function fn(e){if(e>=bo)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+bo.toString(16)+" bytes");return e|0}function us(e){return+e!=e&&(e=0),d.alloc(+e)}d.isBuffer=function(o){return o!=null&&o._isBuffer===!0&&o!==d.prototype};d.compare=function(o,n){if(J(o,Uint8Array)&&(o=d.from(o,o.offset,o.byteLength)),J(n,Uint8Array)&&(n=d.from(n,n.offset,n.byteLength)),!d.isBuffer(o)||!d.isBuffer(n))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(o===n)return 0;for(var r=o.length,c=n.length,p=0,m=Math.min(r,c);p<m;++p)if(o[p]!==n[p]){r=o[p],c=n[p];break}return r<c?-1:c<r?1:0};d.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}};d.concat=function(o,n){if(!Array.isArray(o))throw new TypeError('"list" argument must be an Array of Buffers');if(o.length===0)return d.alloc(0);var r;if(n===void 0)for(n=0,r=0;r<o.length;++r)n+=o[r].length;var c=d.allocUnsafe(n),p=0;for(r=0;r<o.length;++r){var m=o[r];if(J(m,Uint8Array))p+m.length>c.length?d.from(m).copy(c,p):Uint8Array.prototype.set.call(c,m,p);else if(d.isBuffer(m))m.copy(c,p);else throw new TypeError('"list" argument must be an Array of Buffers');p+=m.length}return c};function Wt(e,o){if(d.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||J(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 n=e.length,r=arguments.length>2&&arguments[2]===!0;if(!r&&n===0)return 0;for(var c=!1;;)switch(o){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":return un(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return n*2;case"hex":return n>>>1;case"base64":return zt(e).length;default:if(c)return r?-1:un(e).length;o=(""+o).toLowerCase(),c=!0}}d.byteLength=Wt;function gs(e,o,n){var r=!1;if((o===void 0||o<0)&&(o=0),o>this.length||((n===void 0||n>this.length)&&(n=this.length),n<=0)||(n>>>=0,o>>>=0,n<=o))return"";for(e||(e="utf8");;)switch(e){case"hex":return ks(this,o,n);case"utf8":case"utf-8":return $t(this,o,n);case"ascii":return ws(this,o,n);case"latin1":case"binary":return vs(this,o,n);case"base64":return bs(this,o,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return As(this,o,n);default:if(r)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),r=!0}}d.prototype._isBuffer=!0;function Se(e,o,n){var r=e[o];e[o]=e[n],e[n]=r}d.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 n=0;n<o;n+=2)Se(this,n,n+1);return this};d.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 n=0;n<o;n+=4)Se(this,n,n+3),Se(this,n+1,n+2);return this};d.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 n=0;n<o;n+=8)Se(this,n,n+7),Se(this,n+1,n+6),Se(this,n+2,n+5),Se(this,n+3,n+4);return this};d.prototype.toString=function(){var o=this.length;return o===0?"":arguments.length===0?$t(this,0,o):gs.apply(this,arguments)};d.prototype.toLocaleString=d.prototype.toString;d.prototype.equals=function(o){if(!d.isBuffer(o))throw new TypeError("Argument must be a Buffer");return this===o?!0:d.compare(this,o)===0};d.prototype.inspect=function(){var o="",n=Re.INSPECT_MAX_BYTES;return o=this.toString("hex",0,n).replace(/(.{2})/g,"$1 ").trim(),this.length>n&&(o+=" ... "),"<Buffer "+o+">"};Mt&&(d.prototype[Mt]=d.prototype.inspect);d.prototype.compare=function(o,n,r,c,p){if(J(o,Uint8Array)&&(o=d.from(o,o.offset,o.byteLength)),!d.isBuffer(o))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof o);if(n===void 0&&(n=0),r===void 0&&(r=o?o.length:0),c===void 0&&(c=0),p===void 0&&(p=this.length),n<0||r>o.length||c<0||p>this.length)throw new RangeError("out of range index");if(c>=p&&n>=r)return 0;if(c>=p)return-1;if(n>=r)return 1;if(n>>>=0,r>>>=0,c>>>=0,p>>>=0,this===o)return 0;for(var m=p-c,_=r-n,l=Math.min(m,_),u=this.slice(c,p),x=o.slice(n,r),h=0;h<l;++h)if(u[h]!==x[h]){m=u[h],_=x[h];break}return m<_?-1:_<m?1:0};function Gt(e,o,n,r,c){if(e.length===0)return-1;if(typeof n=="string"?(r=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),n=+n,Tn(n)&&(n=c?0:e.length-1),n<0&&(n=e.length+n),n>=e.length){if(c)return-1;n=e.length-1}else if(n<0)if(c)n=0;else return-1;if(typeof o=="string"&&(o=d.from(o,r)),d.isBuffer(o))return o.length===0?-1:Ot(e,o,n,r,c);if(typeof o=="number")return o=o&255,typeof Uint8Array.prototype.indexOf=="function"?c?Uint8Array.prototype.indexOf.call(e,o,n):Uint8Array.prototype.lastIndexOf.call(e,o,n):Ot(e,[o],n,r,c);throw new TypeError("val must be string, number or Buffer")}function Ot(e,o,n,r,c){var p=1,m=e.length,_=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,m/=2,_/=2,n/=2}function l(E,F){return p===1?E[F]:E.readUInt16BE(F*p)}var u;if(c){var x=-1;for(u=n;u<m;u++)if(l(e,u)===l(o,x===-1?0:u-x)){if(x===-1&&(x=u),u-x+1===_)return x*p}else x!==-1&&(u-=u-x),x=-1}else for(n+_>m&&(n=m-_),u=n;u>=0;u--){for(var h=!0,L=0;L<_;L++)if(l(e,u+L)!==l(o,L)){h=!1;break}if(h)return u}return-1}d.prototype.includes=function(o,n,r){return this.indexOf(o,n,r)!==-1};d.prototype.indexOf=function(o,n,r){return Gt(this,o,n,r,!0)};d.prototype.lastIndexOf=function(o,n,r){return Gt(this,o,n,r,!1)};function fs(e,o,n,r){n=Number(n)||0;var c=e.length-n;r?(r=Number(r),r>c&&(r=c)):r=c;var p=o.length;r>p/2&&(r=p/2);for(var m=0;m<r;++m){var _=parseInt(o.substr(m*2,2),16);if(Tn(_))return m;e[n+m]=_}return m}function Ts(e,o,n,r){return So(un(o,e.length-n),e,n,r)}function hs(e,o,n,r){return So(Es(o),e,n,r)}function xs(e,o,n,r){return So(zt(o),e,n,r)}function ys(e,o,n,r){return So(Cs(o,e.length-n),e,n,r)}d.prototype.write=function(o,n,r,c){if(n===void 0)c="utf8",r=this.length,n=0;else if(r===void 0&&typeof n=="string")c=n,r=this.length,n=0;else if(isFinite(n))n=n>>>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-n;if((r===void 0||r>p)&&(r=p),o.length>0&&(r<0||n<0)||n>this.length)throw new RangeError("Attempt to write outside buffer bounds");c||(c="utf8");for(var m=!1;;)switch(c){case"hex":return fs(this,o,n,r);case"utf8":case"utf-8":return Ts(this,o,n,r);case"ascii":case"latin1":case"binary":return hs(this,o,n,r);case"base64":return xs(this,o,n,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return ys(this,o,n,r);default:if(m)throw new TypeError("Unknown encoding: "+c);c=(""+c).toLowerCase(),m=!0}};d.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function bs(e,o,n){return o===0&&n===e.length?dn.fromByteArray(e):dn.fromByteArray(e.slice(o,n))}function $t(e,o,n){n=Math.min(e.length,n);for(var r=[],c=o;c<n;){var p=e[c],m=null,_=p>239?4:p>223?3:p>191?2:1;if(c+_<=n){var l,u,x,h;switch(_){case 1:p<128&&(m=p);break;case 2:l=e[c+1],(l&192)===128&&(h=(p&31)<<6|l&63,h>127&&(m=h));break;case 3:l=e[c+1],u=e[c+2],(l&192)===128&&(u&192)===128&&(h=(p&15)<<12|(l&63)<<6|u&63,h>2047&&(h<55296||h>57343)&&(m=h));break;case 4:l=e[c+1],u=e[c+2],x=e[c+3],(l&192)===128&&(u&192)===128&&(x&192)===128&&(h=(p&15)<<18|(l&63)<<12|(u&63)<<6|x&63,h>65535&&h<1114112&&(m=h))}}m===null?(m=65533,_=1):m>65535&&(m-=65536,r.push(m>>>10&1023|55296),m=56320|m&1023),r.push(m),c+=_}return Ss(r)}var Ft=4096;function Ss(e){var o=e.length;if(o<=Ft)return String.fromCharCode.apply(String,e);for(var n="",r=0;r<o;)n+=String.fromCharCode.apply(String,e.slice(r,r+=Ft));return n}function ws(e,o,n){var r="";n=Math.min(e.length,n);for(var c=o;c<n;++c)r+=String.fromCharCode(e[c]&127);return r}function vs(e,o,n){var r="";n=Math.min(e.length,n);for(var c=o;c<n;++c)r+=String.fromCharCode(e[c]);return r}function ks(e,o,n){var r=e.length;(!o||o<0)&&(o=0),(!n||n<0||n>r)&&(n=r);for(var c="",p=o;p<n;++p)c+=Ns[e[p]];return c}function As(e,o,n){for(var r=e.slice(o,n),c="",p=0;p<r.length-1;p+=2)c+=String.fromCharCode(r[p]+r[p+1]*256);return c}d.prototype.slice=function(o,n){var r=this.length;o=~~o,n=n===void 0?r:~~n,o<0?(o+=r,o<0&&(o=0)):o>r&&(o=r),n<0?(n+=r,n<0&&(n=0)):n>r&&(n=r),n<o&&(n=o);var c=this.subarray(o,n);return Object.setPrototypeOf(c,d.prototype),c};function D(e,o,n){if(e%1!==0||e<0)throw new RangeError("offset is not uint");if(e+o>n)throw new RangeError("Trying to access beyond buffer length")}d.prototype.readUintLE=d.prototype.readUIntLE=function(o,n,r){o=o>>>0,n=n>>>0,r||D(o,n,this.length);for(var c=this[o],p=1,m=0;++m<n&&(p*=256);)c+=this[o+m]*p;return c};d.prototype.readUintBE=d.prototype.readUIntBE=function(o,n,r){o=o>>>0,n=n>>>0,r||D(o,n,this.length);for(var c=this[o+--n],p=1;n>0&&(p*=256);)c+=this[o+--n]*p;return c};d.prototype.readUint8=d.prototype.readUInt8=function(o,n){return o=o>>>0,n||D(o,1,this.length),this[o]};d.prototype.readUint16LE=d.prototype.readUInt16LE=function(o,n){return o=o>>>0,n||D(o,2,this.length),this[o]|this[o+1]<<8};d.prototype.readUint16BE=d.prototype.readUInt16BE=function(o,n){return o=o>>>0,n||D(o,2,this.length),this[o]<<8|this[o+1]};d.prototype.readUint32LE=d.prototype.readUInt32LE=function(o,n){return o=o>>>0,n||D(o,4,this.length),(this[o]|this[o+1]<<8|this[o+2]<<16)+this[o+3]*16777216};d.prototype.readUint32BE=d.prototype.readUInt32BE=function(o,n){return o=o>>>0,n||D(o,4,this.length),this[o]*16777216+(this[o+1]<<16|this[o+2]<<8|this[o+3])};d.prototype.readIntLE=function(o,n,r){o=o>>>0,n=n>>>0,r||D(o,n,this.length);for(var c=this[o],p=1,m=0;++m<n&&(p*=256);)c+=this[o+m]*p;return p*=128,c>=p&&(c-=Math.pow(2,8*n)),c};d.prototype.readIntBE=function(o,n,r){o=o>>>0,n=n>>>0,r||D(o,n,this.length);for(var c=n,p=1,m=this[o+--c];c>0&&(p*=256);)m+=this[o+--c]*p;return p*=128,m>=p&&(m-=Math.pow(2,8*n)),m};d.prototype.readInt8=function(o,n){return o=o>>>0,n||D(o,1,this.length),this[o]&128?(255-this[o]+1)*-1:this[o]};d.prototype.readInt16LE=function(o,n){o=o>>>0,n||D(o,2,this.length);var r=this[o]|this[o+1]<<8;return r&32768?r|4294901760:r};d.prototype.readInt16BE=function(o,n){o=o>>>0,n||D(o,2,this.length);var r=this[o+1]|this[o]<<8;return r&32768?r|4294901760:r};d.prototype.readInt32LE=function(o,n){return o=o>>>0,n||D(o,4,this.length),this[o]|this[o+1]<<8|this[o+2]<<16|this[o+3]<<24};d.prototype.readInt32BE=function(o,n){return o=o>>>0,n||D(o,4,this.length),this[o]<<24|this[o+1]<<16|this[o+2]<<8|this[o+3]};d.prototype.readFloatLE=function(o,n){return o=o>>>0,n||D(o,4,this.length),De.read(this,o,!0,23,4)};d.prototype.readFloatBE=function(o,n){return o=o>>>0,n||D(o,4,this.length),De.read(this,o,!1,23,4)};d.prototype.readDoubleLE=function(o,n){return o=o>>>0,n||D(o,8,this.length),De.read(this,o,!0,52,8)};d.prototype.readDoubleBE=function(o,n){return o=o>>>0,n||D(o,8,this.length),De.read(this,o,!1,52,8)};function G(e,o,n,r,c,p){if(!d.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(n+r>e.length)throw new RangeError("Index out of range")}d.prototype.writeUintLE=d.prototype.writeUIntLE=function(o,n,r,c){if(o=+o,n=n>>>0,r=r>>>0,!c){var p=Math.pow(2,8*r)-1;G(this,o,n,r,p,0)}var m=1,_=0;for(this[n]=o&255;++_<r&&(m*=256);)this[n+_]=o/m&255;return n+r};d.prototype.writeUintBE=d.prototype.writeUIntBE=function(o,n,r,c){if(o=+o,n=n>>>0,r=r>>>0,!c){var p=Math.pow(2,8*r)-1;G(this,o,n,r,p,0)}var m=r-1,_=1;for(this[n+m]=o&255;--m>=0&&(_*=256);)this[n+m]=o/_&255;return n+r};d.prototype.writeUint8=d.prototype.writeUInt8=function(o,n,r){return o=+o,n=n>>>0,r||G(this,o,n,1,255,0),this[n]=o&255,n+1};d.prototype.writeUint16LE=d.prototype.writeUInt16LE=function(o,n,r){return o=+o,n=n>>>0,r||G(this,o,n,2,65535,0),this[n]=o&255,this[n+1]=o>>>8,n+2};d.prototype.writeUint16BE=d.prototype.writeUInt16BE=function(o,n,r){return o=+o,n=n>>>0,r||G(this,o,n,2,65535,0),this[n]=o>>>8,this[n+1]=o&255,n+2};d.prototype.writeUint32LE=d.prototype.writeUInt32LE=function(o,n,r){return o=+o,n=n>>>0,r||G(this,o,n,4,4294967295,0),this[n+3]=o>>>24,this[n+2]=o>>>16,this[n+1]=o>>>8,this[n]=o&255,n+4};d.prototype.writeUint32BE=d.prototype.writeUInt32BE=function(o,n,r){return o=+o,n=n>>>0,r||G(this,o,n,4,4294967295,0),this[n]=o>>>24,this[n+1]=o>>>16,this[n+2]=o>>>8,this[n+3]=o&255,n+4};d.prototype.writeIntLE=function(o,n,r,c){if(o=+o,n=n>>>0,!c){var p=Math.pow(2,8*r-1);G(this,o,n,r,p-1,-p)}var m=0,_=1,l=0;for(this[n]=o&255;++m<r&&(_*=256);)o<0&&l===0&&this[n+m-1]!==0&&(l=1),this[n+m]=(o/_>>0)-l&255;return n+r};d.prototype.writeIntBE=function(o,n,r,c){if(o=+o,n=n>>>0,!c){var p=Math.pow(2,8*r-1);G(this,o,n,r,p-1,-p)}var m=r-1,_=1,l=0;for(this[n+m]=o&255;--m>=0&&(_*=256);)o<0&&l===0&&this[n+m+1]!==0&&(l=1),this[n+m]=(o/_>>0)-l&255;return n+r};d.prototype.writeInt8=function(o,n,r){return o=+o,n=n>>>0,r||G(this,o,n,1,127,-128),o<0&&(o=255+o+1),this[n]=o&255,n+1};d.prototype.writeInt16LE=function(o,n,r){return o=+o,n=n>>>0,r||G(this,o,n,2,32767,-32768),this[n]=o&255,this[n+1]=o>>>8,n+2};d.prototype.writeInt16BE=function(o,n,r){return o=+o,n=n>>>0,r||G(this,o,n,2,32767,-32768),this[n]=o>>>8,this[n+1]=o&255,n+2};d.prototype.writeInt32LE=function(o,n,r){return o=+o,n=n>>>0,r||G(this,o,n,4,2147483647,-2147483648),this[n]=o&255,this[n+1]=o>>>8,this[n+2]=o>>>16,this[n+3]=o>>>24,n+4};d.prototype.writeInt32BE=function(o,n,r){return o=+o,n=n>>>0,r||G(this,o,n,4,2147483647,-2147483648),o<0&&(o=4294967295+o+1),this[n]=o>>>24,this[n+1]=o>>>16,this[n+2]=o>>>8,this[n+3]=o&255,n+4};function Vt(e,o,n,r,c,p){if(n+r>e.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function Ht(e,o,n,r,c){return o=+o,n=n>>>0,c||Vt(e,o,n,4,34028234663852886e22,-34028234663852886e22),De.write(e,o,n,r,23,4),n+4}d.prototype.writeFloatLE=function(o,n,r){return Ht(this,o,n,!0,r)};d.prototype.writeFloatBE=function(o,n,r){return Ht(this,o,n,!1,r)};function jt(e,o,n,r,c){return o=+o,n=n>>>0,c||Vt(e,o,n,8,17976931348623157e292,-17976931348623157e292),De.write(e,o,n,r,52,8),n+8}d.prototype.writeDoubleLE=function(o,n,r){return jt(this,o,n,!0,r)};d.prototype.writeDoubleBE=function(o,n,r){return jt(this,o,n,!1,r)};d.prototype.copy=function(o,n,r,c){if(!d.isBuffer(o))throw new TypeError("argument should be a Buffer");if(r||(r=0),!c&&c!==0&&(c=this.length),n>=o.length&&(n=o.length),n||(n=0),c>0&&c<r&&(c=r),c===r||o.length===0||this.length===0)return 0;if(n<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-n<c-r&&(c=o.length-n+r);var p=c-r;return this===o&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(n,r,c):Uint8Array.prototype.set.call(o,this.subarray(r,c),n),p};d.prototype.fill=function(o,n,r,c){if(typeof o=="string"){if(typeof n=="string"?(c=n,n=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"&&!d.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(n<0||this.length<n||this.length<r)throw new RangeError("Out of range index");if(r<=n)return this;n=n>>>0,r=r===void 0?this.length:r>>>0,o||(o=0);var m;if(typeof o=="number")for(m=n;m<r;++m)this[m]=o;else{var _=d.isBuffer(o)?o:d.from(o,c),l=_.length;if(l===0)throw new TypeError('The value "'+o+'" is invalid for argument "value"');for(m=0;m<r-n;++m)this[m+n]=_[m%l]}return this};var Is=/[^+/0-9A-Za-z-_]/g;function Ls(e){if(e=e.split("=")[0],e=e.trim().replace(Is,""),e.length<2)return"";for(;e.length%4!==0;)e=e+"=";return e}function un(e,o){o=o||1/0;for(var n,r=e.length,c=null,p=[],m=0;m<r;++m){if(n=e.charCodeAt(m),n>55295&&n<57344){if(!c){if(n>56319){(o-=3)>-1&&p.push(239,191,189);continue}else if(m+1===r){(o-=3)>-1&&p.push(239,191,189);continue}c=n;continue}if(n<56320){(o-=3)>-1&&p.push(239,191,189),c=n;continue}n=(c-55296<<10|n-56320)+65536}else c&&(o-=3)>-1&&p.push(239,191,189);if(c=null,n<128){if((o-=1)<0)break;p.push(n)}else if(n<2048){if((o-=2)<0)break;p.push(n>>6|192,n&63|128)}else if(n<65536){if((o-=3)<0)break;p.push(n>>12|224,n>>6&63|128,n&63|128)}else if(n<1114112){if((o-=4)<0)break;p.push(n>>18|240,n>>12&63|128,n>>6&63|128,n&63|128)}else throw new Error("Invalid code point")}return p}function Es(e){for(var o=[],n=0;n<e.length;++n)o.push(e.charCodeAt(n)&255);return o}function Cs(e,o){for(var n,r,c,p=[],m=0;m<e.length&&!((o-=2)<0);++m)n=e.charCodeAt(m),r=n>>8,c=n%256,p.push(c),p.push(r);return p}function zt(e){return dn.toByteArray(Ls(e))}function So(e,o,n,r){for(var c=0;c<r&&!(c+n>=o.length||c>=e.length);++c)o[c+n]=e[c];return c}function J(e,o){return e instanceof o||e!=null&&e.constructor!=null&&e.constructor.name!=null&&e.constructor.name===o.name}function Tn(e){return e!==e}var Ns=function(){for(var e="0123456789abcdef",o=new Array(256),n=0;n<16;++n)for(var r=n*16,c=0;c<16;++c)o[r+c]=e[n]+e[c];return o}()});var Jt=xo((id,Zt)=>{t();var N=Zt.exports={},Q,ee;function hn(){throw new Error("setTimeout has not been defined")}function xn(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?Q=setTimeout:Q=hn}catch(e){Q=hn}try{typeof clearTimeout=="function"?ee=clearTimeout:ee=xn}catch(e){ee=xn}})();function Kt(e){if(Q===setTimeout)return setTimeout(e,0);if((Q===hn||!Q)&&setTimeout)return Q=setTimeout,setTimeout(e,0);try{return Q(e,0)}catch(o){try{return Q.call(null,e,0)}catch(n){return Q.call(this,e,0)}}}function Ps(e){if(ee===clearTimeout)return clearTimeout(e);if((ee===xn||!ee)&&clearTimeout)return ee=clearTimeout,clearTimeout(e);try{return ee(e)}catch(o){try{return ee.call(null,e)}catch(n){return ee.call(this,e)}}}var ae=[],Me=!1,we,wo=-1;function Ds(){!Me||!we||(Me=!1,we.length?ae=we.concat(ae):wo=-1,ae.length&&Xt())}function Xt(){if(!Me){var e=Kt(Ds);Me=!0;for(var o=ae.length;o;){for(we=ae,ae=[];++wo<o;)we&&we[wo].run();wo=-1,o=ae.length}we=null,Me=!1,Ps(e)}}N.nextTick=function(e){var o=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)o[n-1]=arguments[n];ae.push(new Yt(e,o)),ae.length===1&&!Me&&Kt(Xt)};function Yt(e,o){this.fun=e,this.array=o}Yt.prototype.run=function(){this.fun.apply(null,this.array)};N.title="browser";N.browser=!0;N.env={};N.argv=[];N.version="";N.versions={};function ie(){}N.on=ie;N.addListener=ie;N.once=ie;N.off=ie;N.removeListener=ie;N.removeAllListeners=ie;N.emit=ie;N.prependListener=ie;N.prependOnceListener=ie;N.listeners=function(e){return[]};N.binding=function(e){throw new Error("process.binding is not supported")};N.cwd=function(){return"/"};N.chdir=function(e){throw new Error("process.chdir is not supported")};N.umask=function(){return 0}});var a,i,sd,t=y(()=>{a=f(qt()),i=f(Jt()),sd=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 n=__magic__;return n}(Object)});var ve,Qe=y(()=>{"use strict";t();ve=()=>Date.now()/1e3});var Qt,yn=y(()=>{"use strict";t();Qt=e=>new Date().setMilliseconds(new Date().getMilliseconds()+e)/1e3});var er,or=y(()=>{"use strict";t();er=e=>new Date().setSeconds(new Date().getSeconds()+e)/1e3});var vo=y(()=>{"use strict";t();Qe();yn();or()});var Sn={};ye(Sn,{getItem:()=>Ms,localStorageKeys:()=>_e,removeItem:()=>Os,setItem:()=>Rs});var _e,bn,Rs,Ms,Os,Oe=y(()=>{"use strict";t();vo();_e={loginExpiresAt:"sdk-dapp-login-expires-at",logoutEvent:"sdk-dapp-logout-event"},bn=typeof localStorage!="undefined",Rs=({key:e,data:o,expires:n})=>{!bn||localStorage.setItem(String(e),JSON.stringify({expires:n,data:o}))},Ms=e=>{if(!bn)return;let o=localStorage.getItem(String(e));if(!o)return null;let n=JSON.parse(o);return!n||!n.hasOwnProperty("expires")||!n.hasOwnProperty("data")?null:ve()>=n.expires?(localStorage.removeItem(String(e)),null):n.data},Os=e=>{!bn||localStorage.removeItem(String(e))}});var wn={};ye(wn,{clear:()=>ir,getItem:()=>rr,removeItem:()=>ar,setItem:()=>tr,storage:()=>Fs});var tr,rr,ar,ir,Fs,sr=y(()=>{"use strict";t();tr=({key:e,data:o,expires:n})=>{sessionStorage.setItem(String(e),JSON.stringify({expires:n,data:o}))},rr=e=>{let o=sessionStorage.getItem(String(e));if(!o)return null;let n=JSON.parse(o);return!n||!n.hasOwnProperty("expires")||!n.hasOwnProperty("data")?null:Date.now()>=n.expires?(sessionStorage.removeItem(String(e)),null):n.data},ar=e=>sessionStorage.removeItem(String(e)),ir=()=>sessionStorage.clear(),Fs={setItem:tr,getItem:rr,removeItem:ar,clear:ir}});var q,ke=y(()=>{"use strict";t();Oe();sr();q={session:wn,local:Sn}});var C=y(()=>{"use strict";t()});function le(e){return e!=null&&(qs(e)||no(e))}function Be(e){return e!=null&&(Ks(e)||Zs(e))}function Ue(e){return e!=null&&(Xs(e)||Js(e))}function oo(e){return e!=null&&Ys(e)}function qs(e){return e!=null&&Ws.includes(e)}function Ks(e){return e!=null&&Gs.includes(e)}function Xs(e){return e!=null&&$s.includes(e)}function Ys(e){return e!=null&&Vs.includes(e)}function no(e){return e!=null&&Hs.includes(e)}function Zs(e){return e!=null&&js.includes(e)}function Js(e){return e!=null&&zs.includes(e)}var Ws,Gs,$s,Vs,Hs,js,zs,ce=y(()=>{"use strict";t();C();Ws=["sent"],Gs=["success"],$s=["fail","cancelled","timedOut"],Vs=["timedOut"],Hs=["pending"],js=["success"],zs=["fail","invalid"]});var Ae=y(()=>{"use strict";t()});var lr=y(()=>{"use strict";t()});var ur=y(()=>{"use strict";t()});var gr=y(()=>{"use strict";t()});var fr=y(()=>{"use strict";t()});var Tr=y(()=>{"use strict";t()});var W=y(()=>{"use strict";t()});var hr=y(()=>{"use strict";t()});var xr=y(()=>{"use strict";t()});var R=y(()=>{"use strict";t();lr();ur();gr();C();fr();Tr();W();hr();xr()});var to,yr,qd,br,Kd,Sr,Xd,Yd,Qs,ro=y(()=>{"use strict";t();R();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:"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://wallet.multiversx.com",apiAddress:"https://api.multiversx.com",explorerAddress:"https://explorer.multiversx.com",apiTimeout:"4000"}},{chainId:yr,egldLabel:qd}=to["devnet"],{chainId:br,egldLabel:Kd}=to["testnet"],{chainId:Sr,egldLabel:Xd}=to["mainnet"],Yd={["devnet"]:yr,["testnet"]:br,["mainnet"]:Sr},Qs={[yr]:"devnet",[br]:"testnet",[Sr]:"mainnet"}});var An=y(()=>{"use strict";t()});var wr=y(()=>{"use strict";t()});var Ao,In=y(()=>{"use strict";t();Ao="transaction-status-toast-id"});var oe,vr=y(()=>{"use strict";t();oe=require("@multiversx/sdk-web-wallet-provider")});var ao,Io,kr,Ln,Lo,Ar,We,k=y(()=>{"use strict";t();Ae();ro();An();wr();In();vr();ao=5e4,Io=1e9,kr=1,Ln=4294967295,Lo="logout",Ar="login",We="0"});var En,M,ne,O=y(()=>{"use strict";t();En=require("@reduxjs/toolkit");k();M=(0,En.createAction)(Lo),ne=(0,En.createAction)(Ar,e=>({payload:e}))});var Nn,Ir,Lr,Eo,Cn,Er,Pn,T_,Dn,h_,ec,oc,x_,y_,b_,nc,Cr,Rn=y(()=>{"use strict";t();Nn=require("@multiversx/sdk-core"),Ir=require("@reduxjs/toolkit"),Lr=require("redux-persist");k();ke();Oe();O();Eo={balance:"...",address:"",nonce:0,txCount:0,scrCount:0,claimableRewards:We},Cn={address:"",websocketEvent:null,accounts:{"":Eo},ledgerAccount:null,publicKey:"",walletConnectAccount:null,isAccountLoading:!0,accountLoadingError:null},Er=(0,Ir.createSlice)({name:"accountInfoSlice",initialState:Cn,reducers:{setAddress:(e,o)=>{let n=o.payload;e.address=n,e.publicKey=new Nn.Address(n).hex()},setAccount:(e,o)=>{let n=e.address===o.payload.address;e.accounts={[e.address]:n?o.payload:Eo},e.shard=o.payload.shard,e.isAccountLoading=!1,e.accountLoadingError=null},setAccountNonce:(e,o)=>{let{address:n}=e;e.accounts[n].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}}},extraReducers:e=>{e.addCase(M,()=>(q.local.removeItem(_e.loginExpiresAt),Cn)),e.addCase(ne,(o,n)=>{let{address:r}=n.payload;o.address=r,o.publicKey=new Nn.Address(r).hex()}),e.addCase(Lr.REHYDRATE,(o,n)=>{var u;if(!((u=n.payload)!=null&&u.account))return;let{account:r}=n.payload,{address:c,shard:p,accounts:m,publicKey:_}=r;o.address=c,o.shard=p;let l=m&&c in m;o.accounts=l?m:Cn.accounts,o.publicKey=_})}}),{setAccount:Pn,setAddress:T_,setAccountNonce:Dn,setAccountShard:h_,setLedgerAccount:ec,updateLedgerAccount:oc,setWalletConnectAccount:x_,setIsAccountLoading:y_,setAccountLoadingError:b_,setWebsocketEvent:nc}=Er.actions,Cr=Er.reducer});function io(){return new Date().setHours(new Date().getHours()+24)}function so(e){q.local.setItem({key:_e.loginExpiresAt,data:e,expires:e})}var Mn=y(()=>{"use strict";t();ke();Oe()});var Pr,Nr,Dr,N_,Rr,tc,rc,P_,ac,Mr,D_,Or,On=y(()=>{"use strict";t();Pr=require("@reduxjs/toolkit");Mn();C();O();Nr={loginMethod:"",walletConnectLogin:null,ledgerLogin:null,tokenLogin:null,walletLogin:null,extensionLogin:null,operaLogin:null,isLoginSessionInvalid:!1},Dr=(0,Pr.createSlice)({name:"loginInfoSlice",initialState:Nr,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(M,()=>Nr),e.addCase(ne,(o,n)=>{o.loginMethod=n.payload.loginMethod,so(io())})}}),{setLoginMethod:N_,setWalletConnectLogin:Rr,setLedgerLogin:tc,setTokenLogin:rc,setTokenLoginSignature:P_,setWalletLogin:ac,invalidateLoginSession:Mr,setLogoutRoute:D_}=Dr.actions,Or=Dr.reducer});var Br,Fr,Ur,F_,ic,B_,sc,Wr,Fn=y(()=>{"use strict";t();Br=require("@reduxjs/toolkit");O();Fr={},Ur=(0,Br.createSlice)({name:"modalsSlice",initialState:Fr,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(M,()=>Fr)}}),{setTxSubmittedModal:F_,setNotificationModal:ic,clearTxSubmittedModal:B_,clearNotificationModal:sc}=Ur.actions,Wr=Ur.reducer});var co=y(()=>{"use strict";t()});var $r=y(()=>{"use strict";t();co()});function Bn(e){return e[Math.floor(Math.random()*e.length)]}var Vr=y(()=>{"use strict";t()});var Un=y(()=>{"use strict";t();An()});var Ie=y(()=>{"use strict";t();$r();Vr();Un()});var Hr,jr,Wn,cc,zr,Q_,el,qr,Gn=y(()=>{"use strict";t();Hr=require("@reduxjs/toolkit"),jr=f(require("lodash.omit"));Ie();Wn={id:"not-configured",chainId:"",name:"NOT CONFIGURED",egldLabel:"",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"",walletConnectBridgeAddress:"",walletConnectV2RelayAddress:"",walletConnectV2ProjectId:"",walletConnectV2Options:{},walletAddress:"",apiAddress:"",explorerAddress:"",apiTimeout:"4000"},cc={network:Wn,chainID:"-1"},zr=(0,Hr.createSlice)({name:"appConfig",initialState:cc,reducers:{initializeNetworkConfig:(e,o)=>{let n=Bn(o.payload.walletConnectBridgeAddresses),r=Bn(o.payload.walletConnectV2RelayAddresses),c=(0,jr.default)(o.payload,"walletConnectBridgeAddresses","walletConnectV2RelayAddresses");e.network=S(T(T({},e.network),c),{walletConnectBridgeAddress:n,walletConnectV2RelayAddress:r})},setChainID:(e,o)=>{e.chainID=o.payload}}}),{initializeNetworkConfig:Q_,setChainID:el}=zr.actions,qr=zr.reducer});var Kr,$n,Xr,il,sl,cl,Co,No=y(()=>{"use strict";t();Kr=require("@reduxjs/toolkit");R();O();$n={isSigning:!1,signedSessions:{}},Xr=(0,Kr.createSlice)({name:"signedMessageInfoSliceState",initialState:$n,reducers:{setSignSession:(e,o)=>{let{sessionId:n,signedSession:r,errorMessage:c}=o.payload;return S(T({},e),{errorMessage:c!=null?c:e.errorMessage,isSigning:r.status==="pending",signedSessions:S(T({},e.signedSessions),{[n]:r})})},setSignSessionState:(e,o)=>T(T({},e),o.payload),clearSignedMessageInfo:()=>$n},extraReducers:e=>{e.addCase(M,()=>$n)}}),{setSignSession:il,clearSignedMessageInfo:sl,setSignSessionState:cl}=Xr.actions,Co=Xr.reducer});var Zr,Jr,Yr,Qr,pc,Vn,fl,Tl,hl,xl,Po,Do=y(()=>{"use strict";t();Zr=require("@reduxjs/toolkit"),Jr=require("redux-persist");In();R();Qe();O();Yr={customToasts:[],transactionToasts:[],failTransactionToast:null},Qr=(0,Zr.createSlice)({name:"toastsSlice",initialState:Yr,reducers:{addCustomToast:(e,o)=>{e.customToasts.push(S(T({},o.payload),{type:"custom",toastId:o.payload.toastId||`custom-toast-${e.customToasts.length+1}`}))},removeCustomToast:(e,o)=>{e.customToasts=e.customToasts.filter(n=>n.toastId!==o.payload)},addTransactionToast:(e,o)=>{e.transactionToasts.push({type:"transaction",startTimestamp:ve(),toastId:o.payload||`custom-toast-${e.transactionToasts.length+1}`})},removeTransactionToast:(e,o)=>{e.transactionToasts=e.transactionToasts.filter(n=>n.toastId!==o.payload)},addFailTransactionToast:(e,o)=>{e.failTransactionToast=S(T({},o.payload),{toastId:Ao})},removeFailTransactionToast:e=>{e.failTransactionToast=null}},extraReducers:e=>{e.addCase(M,()=>Yr),e.addCase(Jr.REHYDRATE,(o,n)=>{var c,p;let r=(p=(c=n.customToasts)==null?void 0:c.filter(m=>!("component"in m)))!=null?p:[];o.customToasts=r})}}),{addCustomToast:pc,removeCustomToast:Vn,addTransactionToast:fl,removeTransactionToast:Tl,addFailTransactionToast:hl,removeFailTransactionToast:xl}=Qr.actions,Po=Qr.reducer});var ea,jn,zn,qn,mc,Hn,oa,wl,dc,Kn,Ro,Mo=y(()=>{"use strict";t();ea=require("@reduxjs/toolkit");O();jn="Transaction failed",zn="Transaction successful",qn="Processing transaction",mc="Transaction submitted",Hn={},oa=(0,ea.createSlice)({name:"transactionsInfo",initialState:Hn,reducers:{setTransactionsDisplayInfo(e,o){let{sessionId:n,transactionsDisplayInfo:r}=o.payload;n!=null&&(e[n]={errorMessage:(r==null?void 0:r.errorMessage)||jn,successMessage:(r==null?void 0:r.successMessage)||zn,processingMessage:(r==null?void 0:r.processingMessage)||qn,submittedMessage:(r==null?void 0:r.submittedMessage)||mc,transactionDuration:r==null?void 0:r.transactionDuration})},clearTransactionsInfoForSessionId(e,o){o.payload!=null&&delete e[o.payload]},clearTransactionsInfo:()=>Hn},extraReducers:e=>{e.addCase(M,()=>Hn)}}),{clearTransactionsInfo:wl,setTransactionsDisplayInfo:dc,clearTransactionsInfoForSessionId:Kn}=oa.actions,Ro=oa.reducer});var na,ta,po,_c,ra,aa,ia,lc,Oo,uc,gc,Cl,fc,Fo,Xn,Bo,Uo=y(()=>{"use strict";t();na=require("@reduxjs/toolkit"),ta=require("redux-persist");C();ce();O();po={signedTransactions:{},transactionsToSign:null,signTransactionsError:null,signTransactionsCancelMessage:null,customTransactionInformationForSessionId:{}},_c={signWithoutSending:!1,sessionInformation:null,redirectAfterSign:!1},ra=(0,na.createSlice)({name:"transactionsSlice",initialState:po,reducers:{moveTransactionsToSignedState:(e,o)=>{var l,u;let{sessionId:n,transactions:r,errorMessage:c,status:p,redirectRoute:m}=o.payload,_=((l=e.customTransactionInformationForSessionId)==null?void 0:l[n])||_c;e.signedTransactions[n]={transactions:r,status:p,errorMessage:c,redirectRoute:m,customTransactionInformation:_},((u=e==null?void 0:e.transactionsToSign)==null?void 0:u.sessionId)===n&&(e.transactionsToSign=po.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=T(T({},e.signedTransactions),o.payload)},updateSignedTransactions:(e,o)=>{let{sessionId:n,status:r,errorMessage:c,transactions:p}=o.payload;e.signedTransactions[n]!=null&&(e.signedTransactions[n].status=r,c!=null&&(e.signedTransactions[n].errorMessage=c),p!=null&&(e.signedTransactions[n].transactions=p))},updateSignedTransactionStatus:(e,o)=>{var _,l,u,x,h,L;let{sessionId:n,status:r,errorMessage:c,transactionHash:p}=o.payload,m=(l=(_=e.signedTransactions)==null?void 0:_[n])==null?void 0:l.transactions;if(m!=null){e.signedTransactions[n].transactions=m.map(B=>B.hash===p?S(T({},B),{status:r,errorMessage:c}):B);let E=(x=(u=e.signedTransactions[n])==null?void 0:u.transactions)==null?void 0:x.every(B=>Be(B.status)),F=(L=(h=e.signedTransactions[n])==null?void 0:h.transactions)==null?void 0:L.every(B=>Ue(B.status));E&&(e.signedTransactions[n].status="success"),F&&(e.signedTransactions[n].status="fail")}},setTransactionsToSign:(e,o)=>{e.transactionsToSign=o.payload;let{sessionId:n,customTransactionInformation:r}=o.payload;e.customTransactionInformationForSessionId[n]=r,e.signTransactionsError=null},clearAllTransactionsToSign:e=>{e.transactionsToSign=po.transactionsToSign,e.signTransactionsError=null},clearAllSignedTransactions:e=>{e.signedTransactions=po.signedTransactions},setSignTransactionsError:(e,o)=>{e.signTransactionsError=o.payload},setSignTransactionsCancelMessage:(e,o)=>{e.signTransactionsCancelMessage=o.payload}},extraReducers:e=>{e.addCase(M,()=>po),e.addCase(ta.REHYDRATE,(o,n)=>{var m;if(o.signTransactionsCancelMessage=null,!((m=n.payload)!=null&&m.transactions))return;let{signedTransactions:r,customTransactionInformationForSessionId:c}=n.payload.transactions,p=Object.entries(r).reduce((_,[l,u])=>{let x=new Date(l),h=new Date;return h.setHours(h.getHours()+5),h-x>0||(_[l]=u),_},{});c!=null&&(o.customTransactionInformationForSessionId=c),r!=null&&(o.signedTransactions=p)})}}),{updateSignedTransactionStatus:aa,updateSignedTransactions:ia,setTransactionsToSign:lc,clearAllTransactionsToSign:Oo,clearAllSignedTransactions:uc,clearSignedTransaction:gc,clearTransactionToSign:Cl,setSignTransactionsError:fc,setSignTransactionsCancelMessage:Fo,moveTransactionsToSignedState:Xn}=ra.actions,Bo=ra.reducer});var A=y(()=>{"use strict";t();Rn();On();Fn();Gn();No();Do();Mo();Uo()});var tt=y(()=>{"use strict";t()});var ka,va,Aa,hg,xg,yg,bg,Sg,wg,Ia,La=y(()=>{"use strict";t();ka=require("@reduxjs/toolkit");O();va={visible:!1,modal:{showHeader:!0,showFooter:!1,headerText:"",footerText:""}},Aa=(0,ka.createSlice)({name:"dappModalsSlice",initialState:va,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=T({},o.payload)}},extraReducers:e=>{e.addCase(M,()=>va)}}),{setDappModalVisibility:hg,setDappModalHeaderVisibility:xg,setDappModalFooterVisibility:yg,setDappModalHeaderText:bg,setDappModalFooterText:Sg,setDappModalConfig:wg}=Aa.actions,Ia=Aa.reducer});var Ea,Uc,Wc,$e,zo=y(()=>{"use strict";t();Ea=require("@reduxjs/toolkit");tt();Rn();La();On();Fn();Gn();No();Do();Mo();Uo();Uc={["account"]:Cr,["dappModal"]:Ia,["loginInfo"]:Or,["modals"]:Wr,["networkConfig"]:qr,["signedMessageInfo"]:Co,["toasts"]:Po,["transactionsInfo"]:Ro,["transactions"]:Bo},Wc=(e={})=>(0,Ea.combineReducers)(T(T({},Uc),e)),$e=Wc});var Pa={};ye(Pa,{default:()=>Kc});function qo(e,o=[]){return{key:e,version:1,storage:Na.default,blacklist:o}}var ge,Ca,Na,Gc,$c,Vc,Hc,jc,zc,qc,Kc,Da=y(()=>{"use strict";t();ge=require("redux-persist"),Ca=f(require("redux-persist/lib/storage")),Na=f(require("redux-persist/lib/storage/session"));zo();A();No();Do();Mo();Uo();tt();Gc={2:e=>S(T({},e),{networkConfig:Wn})};$c=qo("sdk-dapp-transactionsInfo"),Vc=qo("sdk-dapp-transactions",["transactionsToSign"]),Hc=qo("sdk-dapp-toasts"),jc=qo("sdk-dapp-signedMessageInfo"),zc={key:"sdk-dapp-store",version:2,storage:Ca.default,whitelist:["account","loginInfo","modals","networkConfig"],migrate:(0,ge.createMigrate)(Gc,{debug:!1})},qc={["toasts"]:(0,ge.persistReducer)(Hc,Po),["transactions"]:(0,ge.persistReducer)(Vc,Bo),["transactionsInfo"]:(0,ge.persistReducer)($c,Ro),["signedMessageInfo"]:(0,ge.persistReducer)(jc,Co)},Kc=(0,ge.persistReducer)(zc,$e(qc))});var Ra={};ye(Ra,{default:()=>Xc});var Xc,Ma=y(()=>{"use strict";t();zo();Xc=$e()});var Oa={};ye(Oa,{default:()=>Zc});var K,Yc,Zc,Fa=y(()=>{"use strict";t();K=require("redux-persist"),Yc=[K.FLUSH,K.REHYDRATE,K.PAUSE,K.PERSIST,K.PURGE,K.REGISTER],Zc=Yc});var Wa={};ye(Wa,{default:()=>Ua});function Ua(e){return(0,Ba.persistStore)(e)}var Ba,Ga=y(()=>{"use strict";t();Ba=require("redux-persist")});var od={};ye(od,{TransactionToastGuard:()=>ed});module.exports=Je(od);t();var Xi=f(require("react"));t();t();var an=f(require("react"));t();var V=f(require("react")),cr=f(require("classnames"));vo();t();var nr=e=>{let r=Math.log(.005),p=(Math.log(2)-r)/(10-0);return Math.exp(r+p*(e-0))};ke();t();var Bs=`.dapp-core-component__progressStyles__progress {
2
2
  position: relative;
3
3
  }
4
4
  .dapp-core-component__progressStyles__progress .dapp-core-component__progressStyles__bar {
@@ -12,7 +12,7 @@
12
12
  opacity: 0.25;
13
13
  transition: width 0.6s ease;
14
14
  max-width: calc(100% + 1rem);
15
- }`;document.head.appendChild(document.createElement("style")).appendChild(document.createTextNode(Bs));var vn={progress:"dapp-core-component__progressStyles__progress",bar:"dapp-core-component__progressStyles__bar"};var ko="toastProgress",pr=({id:e,children:o,progress:n,done:r,expiresIn:c=10*60,className:p="dapp-progress"})=>{let m=(0,V.useMemo)(()=>{let I=n?n.endTime-n.startTime:0,U=q.session.getItem(ko),sn=Math.floor(Date.now()/1e3),Ye=n?(n.endTime-sn)*100/I:0;return{currentRemaining:U&&e in U?U[e]:Ye,totalSeconds:I}},[]),{totalSeconds:_,currentRemaining:l}=m,g=(0,V.useRef)(null),x=(0,V.useRef)(),h=(0,V.useRef)(l);(0,V.useEffect)(()=>{if(n!=null)return r?B():Xe(),()=>{clearInterval(x.current)}},[n,r]);function L(){let I=q.session.getItem(ko);!Boolean(I==null?void 0:I[e])||(delete I[e],F(I))}function E(I){let U=q.session.getItem(ko)||{};U[e]=I,F(U)}function F(I){q.session.setItem({key:ko,data:I,expires:er(c)})}function B(){x.current=setInterval(()=>{if(g.current==null)return;let U=h.current-1;U<=0?(clearInterval(x.current),L(),de(0)):(E(U),de(U))},5)}function Xe(){let U=_/90,sn=parseFloat(U.toFixed(2))*1e3;x.current=setInterval(()=>{if(g.current==null)return;let Ye=h.current,At=Ye>100-90?1:nr(Ye),It=Ye-At;E(It),de(It)},sn)}function de(I){h.current=I,he()}function he(){if(g.current==null)return;let I=h.current;g.current.style.width=`${I}%`,g.current.ariaValueNow=I}return n?V.default.createElement("div",{className:(0,cr.default)(vn.progress,p)},V.default.createElement("div",{ref:g,role:"progressbar","aria-valuemin":0,"aria-valuemax":100,className:vn.bar}),o):V.default.createElement(V.default.Fragment,null,o)};t();t();var kn=f(require("react")),mr=require("@fortawesome/free-solid-svg-icons"),dr=require("@fortawesome/react-fontawesome"),_r=({className:e="dapp-default-toast-delete-button",onClick:o})=>kn.default.createElement("button",{type:"button",className:e,onClick:o},kn.default.createElement(dr.FontAwesomeIcon,{icon:mr.faTimes,size:"xs"}));t();var Y=f(require("react")),Si=require("@fortawesome/react-fontawesome"),gt=f(require("classnames"));t();var Us=`.dapp-core-component__main__link-style {
15
+ }`;document.head.appendChild(document.createElement("style")).appendChild(document.createTextNode(Bs));var vn={progress:"dapp-core-component__progressStyles__progress",bar:"dapp-core-component__progressStyles__bar"};var ko="toastProgress",pr=({id:e,children:o,progress:n,done:r,expiresIn:c=10*60,className:p="dapp-progress"})=>{let m=(0,V.useMemo)(()=>{let I=n?n.endTime-n.startTime:0,U=q.session.getItem(ko),sn=Math.floor(Date.now()/1e3),Ye=n?(n.endTime-sn)*100/I:0;return{currentRemaining:U&&e in U?U[e]:Ye,totalSeconds:I}},[]),{totalSeconds:_,currentRemaining:l}=m,u=(0,V.useRef)(null),x=(0,V.useRef)(),h=(0,V.useRef)(l);(0,V.useEffect)(()=>{if(n!=null)return r?B():Xe(),()=>{clearInterval(x.current)}},[n,r]);function L(){let I=q.session.getItem(ko);!Boolean(I==null?void 0:I[e])||(delete I[e],F(I))}function E(I){let U=q.session.getItem(ko)||{};U[e]=I,F(U)}function F(I){q.session.setItem({key:ko,data:I,expires:er(c)})}function B(){x.current=setInterval(()=>{if(u.current==null)return;let U=h.current-1;U<=0?(clearInterval(x.current),L(),de(0)):(E(U),de(U))},5)}function Xe(){let U=_/90,sn=parseFloat(U.toFixed(2))*1e3;x.current=setInterval(()=>{if(u.current==null)return;let Ye=h.current,At=Ye>100-90?1:nr(Ye),It=Ye-At;E(It),de(It)},sn)}function de(I){h.current=I,he()}function he(){if(u.current==null)return;let I=h.current;u.current.style.width=`${I}%`,u.current.ariaValueNow=I}return n?V.default.createElement("div",{className:(0,cr.default)(vn.progress,p)},V.default.createElement("div",{ref:u,role:"progressbar","aria-valuemin":0,"aria-valuemax":100,className:vn.bar}),o):V.default.createElement(V.default.Fragment,null,o)};t();t();var kn=f(require("react")),mr=require("@fortawesome/free-solid-svg-icons"),dr=require("@fortawesome/react-fontawesome"),_r=({className:e="dapp-default-toast-delete-button",onClick:o})=>kn.default.createElement("button",{type:"button",className:e,onClick:o},kn.default.createElement(dr.FontAwesomeIcon,{icon:mr.faTimes,size:"xs"}));t();var Y=f(require("react")),Si=require("@fortawesome/react-fontawesome"),ut=f(require("classnames"));t();var Us=`.dapp-core-component__main__link-style {
16
16
  color: #1392ff;
17
17
  }
18
18
 
@@ -2700,11 +2700,11 @@ a.dapp-core-component__main__side-link::after {
2700
2700
  right: 0;
2701
2701
  left: unset;
2702
2702
  width: calc(100% - 1.85rem);
2703
- }`;document.head.appendChild(document.createElement("style")).appendChild(document.createTextNode(Us));var Fe={"link-style":"dapp-core-component__main__link-style",linkStyle:"dapp-core-component__main__link-style","link-second-style":"dapp-core-component__main__link-second-style",linkSecondStyle:"dapp-core-component__main__link-second-style",wrapper:"dapp-core-component__main__wrapper","opacity-6":"dapp-core-component__main__opacity-6",opacity6:"dapp-core-component__main__opacity-6","qr-code-svg-container":"dapp-core-component__main__qr-code-svg-container",qrCodeSvgContainer:"dapp-core-component__main__qr-code-svg-container","pair-list":"dapp-core-component__main__pair-list",pairList:"dapp-core-component__main__pair-list","pair-loader":"dapp-core-component__main__pair-loader",pairLoader:"dapp-core-component__main__pair-loader","pair-image":"dapp-core-component__main__pair-image",pairImage:"dapp-core-component__main__pair-image","pair-remove":"dapp-core-component__main__pair-remove",pairRemove:"dapp-core-component__main__pair-remove","dapp-icon":"dapp-core-component__main__dapp-icon",dappIcon:"dapp-core-component__main__dapp-icon","icon-medium":"dapp-core-component__main__icon-medium",iconMedium:"dapp-core-component__main__icon-medium",centering:"dapp-core-component__main__centering","border-n":"dapp-core-component__main__border-n",borderN:"dapp-core-component__main__border-n","t-shadow":"dapp-core-component__main__t-shadow",tShadow:"dapp-core-component__main__t-shadow",btn:"dapp-core-component__main__btn",media:"dapp-core-component__main__media","media-body":"dapp-core-component__main__media-body",mediaBody:"dapp-core-component__main__media-body","connect-btns":"dapp-core-component__main__connect-btns",connectBtns:"dapp-core-component__main__connect-btns",info:"dapp-core-component__main__info","trust-badge":"dapp-core-component__main__trust-badge",trustBadge:"dapp-core-component__main__trust-badge",navbar:"dapp-core-component__main__navbar","dapp-name":"dapp-core-component__main__dapp-name",dappName:"dapp-core-component__main__dapp-name","action-btn":"dapp-core-component__main__action-btn",actionBtn:"dapp-core-component__main__action-btn",transactions:"dapp-core-component__main__transactions","transaction-icon":"dapp-core-component__main__transaction-icon",transactionIcon:"dapp-core-component__main__transaction-icon",table:"dapp-core-component__main__table","page-state":"dapp-core-component__main__page-state",pageState:"dapp-core-component__main__page-state","lds-ellipsis":"dapp-core-component__main__lds-ellipsis",ldsEllipsis:"dapp-core-component__main__lds-ellipsis","bg-blue":"dapp-core-component__main__bg-blue",bgBlue:"dapp-core-component__main__bg-blue","lds-ellipsis1":"dapp-core-component__main__lds-ellipsis1",ldsEllipsis1:"dapp-core-component__main__lds-ellipsis1","lds-ellipsis2":"dapp-core-component__main__lds-ellipsis2",ldsEllipsis2:"dapp-core-component__main__lds-ellipsis2","lds-ellipsis3":"dapp-core-component__main__lds-ellipsis3",ldsEllipsis3:"dapp-core-component__main__lds-ellipsis3",focus:"dapp-core-component__main__focus",disabled:"dapp-core-component__main__disabled","btn-primary":"dapp-core-component__main__btn-primary",btnPrimary:"dapp-core-component__main__btn-primary","btn-secondary":"dapp-core-component__main__btn-secondary",btnSecondary:"dapp-core-component__main__btn-secondary","btn-warning":"dapp-core-component__main__btn-warning",btnWarning:"dapp-core-component__main__btn-warning","btn-dark":"dapp-core-component__main__btn-dark",btnDark:"dapp-core-component__main__btn-dark","btn-link":"dapp-core-component__main__btn-link",btnLink:"dapp-core-component__main__btn-link","btn-light":"dapp-core-component__main__btn-light",btnLight:"dapp-core-component__main__btn-light",badge:"dapp-core-component__main__badge","badge-pill":"dapp-core-component__main__badge-pill",badgePill:"dapp-core-component__main__badge-pill","badge-primary":"dapp-core-component__main__badge-primary",badgePrimary:"dapp-core-component__main__badge-primary","badge-secondary":"dapp-core-component__main__badge-secondary",badgeSecondary:"dapp-core-component__main__badge-secondary","badge-success":"dapp-core-component__main__badge-success",badgeSuccess:"dapp-core-component__main__badge-success","badge-info":"dapp-core-component__main__badge-info",badgeInfo:"dapp-core-component__main__badge-info","badge-warning":"dapp-core-component__main__badge-warning",badgeWarning:"dapp-core-component__main__badge-warning","badge-danger":"dapp-core-component__main__badge-danger",badgeDanger:"dapp-core-component__main__badge-danger","badge-light":"dapp-core-component__main__badge-light",badgeLight:"dapp-core-component__main__badge-light","badge-dark":"dapp-core-component__main__badge-dark",badgeDark:"dapp-core-component__main__badge-dark",card:"dapp-core-component__main__card","list-group":"dapp-core-component__main__list-group",listGroup:"dapp-core-component__main__list-group","card-header":"dapp-core-component__main__card-header",cardHeader:"dapp-core-component__main__card-header","card-footer":"dapp-core-component__main__card-footer",cardFooter:"dapp-core-component__main__card-footer","card-header-item":"dapp-core-component__main__card-header-item",cardHeaderItem:"dapp-core-component__main__card-header-item",h6:"dapp-core-component__main__h6",compact:"dapp-core-component__main__compact","card-body":"dapp-core-component__main__card-body",cardBody:"dapp-core-component__main__card-body","card-title":"dapp-core-component__main__card-title",cardTitle:"dapp-core-component__main__card-title","card-subtitle":"dapp-core-component__main__card-subtitle",cardSubtitle:"dapp-core-component__main__card-subtitle","card-text":"dapp-core-component__main__card-text",cardText:"dapp-core-component__main__card-text","card-link":"dapp-core-component__main__card-link",cardLink:"dapp-core-component__main__card-link",text:"dapp-core-component__main__text","text-white":"dapp-core-component__main__text-white",textWhite:"dapp-core-component__main__text-white","text-monospace":"dapp-core-component__main__text-monospace",textMonospace:"dapp-core-component__main__text-monospace","trim-size-xl":"dapp-core-component__main__trim-size-xl",trimSizeXl:"dapp-core-component__main__trim-size-xl",trim:"dapp-core-component__main__trim","trim-only-sm":"dapp-core-component__main__trim-only-sm",trimOnlySm:"dapp-core-component__main__trim-only-sm","text-justify":"dapp-core-component__main__text-justify",textJustify:"dapp-core-component__main__text-justify","text-wrap":"dapp-core-component__main__text-wrap",textWrap:"dapp-core-component__main__text-wrap","text-nowrap":"dapp-core-component__main__text-nowrap",textNowrap:"dapp-core-component__main__text-nowrap","text-truncate":"dapp-core-component__main__text-truncate",textTruncate:"dapp-core-component__main__text-truncate","text-left":"dapp-core-component__main__text-left",textLeft:"dapp-core-component__main__text-left","text-right":"dapp-core-component__main__text-right",textRight:"dapp-core-component__main__text-right","text-center":"dapp-core-component__main__text-center",textCenter:"dapp-core-component__main__text-center","text-primary":"dapp-core-component__main__text-primary",textPrimary:"dapp-core-component__main__text-primary","text-secondary":"dapp-core-component__main__text-secondary",textSecondary:"dapp-core-component__main__text-secondary","text-primary-highlight":"dapp-core-component__main__text-primary-highlight",textPrimaryHighlight:"dapp-core-component__main__text-primary-highlight","text-muted":"dapp-core-component__main__text-muted",textMuted:"dapp-core-component__main__text-muted","text-success":"dapp-core-component__main__text-success",textSuccess:"dapp-core-component__main__text-success","text-body":"dapp-core-component__main__text-body",textBody:"dapp-core-component__main__text-body","text-black-50":"dapp-core-component__main__text-black-50",textBlack50:"dapp-core-component__main__text-black-50","text-white-50":"dapp-core-component__main__text-white-50",textWhite50:"dapp-core-component__main__text-white-50","text-lg-right":"dapp-core-component__main__text-lg-right",textLgRight:"dapp-core-component__main__text-lg-right","text-hide":"dapp-core-component__main__text-hide",textHide:"dapp-core-component__main__text-hide","text-decoration-none":"dapp-core-component__main__text-decoration-none",textDecorationNone:"dapp-core-component__main__text-decoration-none","text-break":"dapp-core-component__main__text-break",textBreak:"dapp-core-component__main__text-break","text-reset":"dapp-core-component__main__text-reset",textReset:"dapp-core-component__main__text-reset","text-lowercase":"dapp-core-component__main__text-lowercase",textLowercase:"dapp-core-component__main__text-lowercase","text-uppercase":"dapp-core-component__main__text-uppercase",textUppercase:"dapp-core-component__main__text-uppercase","text-capitalize":"dapp-core-component__main__text-capitalize",textCapitalize:"dapp-core-component__main__text-capitalize","text-danger":"dapp-core-component__main__text-danger",textDanger:"dapp-core-component__main__text-danger","text-warning":"dapp-core-component__main__text-warning",textWarning:"dapp-core-component__main__text-warning","trim-fs-sm":"dapp-core-component__main__trim-fs-sm",trimFsSm:"dapp-core-component__main__trim-fs-sm","mx-auto":"dapp-core-component__main__mx-auto",mxAuto:"dapp-core-component__main__mx-auto","m-0":"dapp-core-component__main__m-0",m0:"dapp-core-component__main__m-0","mt-0":"dapp-core-component__main__mt-0",mt0:"dapp-core-component__main__mt-0","my-0":"dapp-core-component__main__my-0",my0:"dapp-core-component__main__my-0","mr-0":"dapp-core-component__main__mr-0",mr0:"dapp-core-component__main__mr-0","mx-0":"dapp-core-component__main__mx-0",mx0:"dapp-core-component__main__mx-0","mb-0":"dapp-core-component__main__mb-0",mb0:"dapp-core-component__main__mb-0","ml-0":"dapp-core-component__main__ml-0",ml0:"dapp-core-component__main__ml-0","m-1":"dapp-core-component__main__m-1",m1:"dapp-core-component__main__m-1","mt-1":"dapp-core-component__main__mt-1",mt1:"dapp-core-component__main__mt-1","my-1":"dapp-core-component__main__my-1",my1:"dapp-core-component__main__my-1","mr-1":"dapp-core-component__main__mr-1",mr1:"dapp-core-component__main__mr-1","mx-1":"dapp-core-component__main__mx-1",mx1:"dapp-core-component__main__mx-1","mb-1":"dapp-core-component__main__mb-1",mb1:"dapp-core-component__main__mb-1","ml-1":"dapp-core-component__main__ml-1",ml1:"dapp-core-component__main__ml-1","m-2":"dapp-core-component__main__m-2",m2:"dapp-core-component__main__m-2","mt-2":"dapp-core-component__main__mt-2",mt2:"dapp-core-component__main__mt-2","my-2":"dapp-core-component__main__my-2",my2:"dapp-core-component__main__my-2","mr-2":"dapp-core-component__main__mr-2",mr2:"dapp-core-component__main__mr-2","mx-2":"dapp-core-component__main__mx-2",mx2:"dapp-core-component__main__mx-2","mb-2":"dapp-core-component__main__mb-2",mb2:"dapp-core-component__main__mb-2","ml-2":"dapp-core-component__main__ml-2",ml2:"dapp-core-component__main__ml-2","m-3":"dapp-core-component__main__m-3",m3:"dapp-core-component__main__m-3","mt-3":"dapp-core-component__main__mt-3",mt3:"dapp-core-component__main__mt-3","my-3":"dapp-core-component__main__my-3",my3:"dapp-core-component__main__my-3","mr-3":"dapp-core-component__main__mr-3",mr3:"dapp-core-component__main__mr-3","mx-3":"dapp-core-component__main__mx-3",mx3:"dapp-core-component__main__mx-3","mb-3":"dapp-core-component__main__mb-3",mb3:"dapp-core-component__main__mb-3","ml-3":"dapp-core-component__main__ml-3",ml3:"dapp-core-component__main__ml-3","m-4":"dapp-core-component__main__m-4",m4:"dapp-core-component__main__m-4","mt-4":"dapp-core-component__main__mt-4",mt4:"dapp-core-component__main__mt-4","my-4":"dapp-core-component__main__my-4",my4:"dapp-core-component__main__my-4","mr-4":"dapp-core-component__main__mr-4",mr4:"dapp-core-component__main__mr-4","mx-4":"dapp-core-component__main__mx-4",mx4:"dapp-core-component__main__mx-4","mb-4":"dapp-core-component__main__mb-4",mb4:"dapp-core-component__main__mb-4","ml-4":"dapp-core-component__main__ml-4",ml4:"dapp-core-component__main__ml-4","m-5":"dapp-core-component__main__m-5",m5:"dapp-core-component__main__m-5","mt-5":"dapp-core-component__main__mt-5",mt5:"dapp-core-component__main__mt-5","my-5":"dapp-core-component__main__my-5",my5:"dapp-core-component__main__my-5","mr-5":"dapp-core-component__main__mr-5",mr5:"dapp-core-component__main__mr-5","mx-5":"dapp-core-component__main__mx-5",mx5:"dapp-core-component__main__mx-5","mb-5":"dapp-core-component__main__mb-5",mb5:"dapp-core-component__main__mb-5","ml-5":"dapp-core-component__main__ml-5",ml5:"dapp-core-component__main__ml-5","p-0":"dapp-core-component__main__p-0",p0:"dapp-core-component__main__p-0","pt-0":"dapp-core-component__main__pt-0",pt0:"dapp-core-component__main__pt-0","py-0":"dapp-core-component__main__py-0",py0:"dapp-core-component__main__py-0","pr-0":"dapp-core-component__main__pr-0",pr0:"dapp-core-component__main__pr-0","px-0":"dapp-core-component__main__px-0",px0:"dapp-core-component__main__px-0","pb-0":"dapp-core-component__main__pb-0",pb0:"dapp-core-component__main__pb-0","pl-0":"dapp-core-component__main__pl-0",pl0:"dapp-core-component__main__pl-0","p-1":"dapp-core-component__main__p-1",p1:"dapp-core-component__main__p-1","pt-1":"dapp-core-component__main__pt-1",pt1:"dapp-core-component__main__pt-1","py-1":"dapp-core-component__main__py-1",py1:"dapp-core-component__main__py-1","pr-1":"dapp-core-component__main__pr-1",pr1:"dapp-core-component__main__pr-1","px-1":"dapp-core-component__main__px-1",px1:"dapp-core-component__main__px-1","pb-1":"dapp-core-component__main__pb-1",pb1:"dapp-core-component__main__pb-1","pl-1":"dapp-core-component__main__pl-1",pl1:"dapp-core-component__main__pl-1","p-2":"dapp-core-component__main__p-2",p2:"dapp-core-component__main__p-2","pt-2":"dapp-core-component__main__pt-2",pt2:"dapp-core-component__main__pt-2","py-2":"dapp-core-component__main__py-2",py2:"dapp-core-component__main__py-2","pr-2":"dapp-core-component__main__pr-2",pr2:"dapp-core-component__main__pr-2","px-2":"dapp-core-component__main__px-2",px2:"dapp-core-component__main__px-2","pb-2":"dapp-core-component__main__pb-2",pb2:"dapp-core-component__main__pb-2","pl-2":"dapp-core-component__main__pl-2",pl2:"dapp-core-component__main__pl-2","p-3":"dapp-core-component__main__p-3",p3:"dapp-core-component__main__p-3","pt-3":"dapp-core-component__main__pt-3",pt3:"dapp-core-component__main__pt-3","py-3":"dapp-core-component__main__py-3",py3:"dapp-core-component__main__py-3","pr-3":"dapp-core-component__main__pr-3",pr3:"dapp-core-component__main__pr-3","px-3":"dapp-core-component__main__px-3",px3:"dapp-core-component__main__px-3","pb-3":"dapp-core-component__main__pb-3",pb3:"dapp-core-component__main__pb-3","pl-3":"dapp-core-component__main__pl-3",pl3:"dapp-core-component__main__pl-3","p-4":"dapp-core-component__main__p-4",p4:"dapp-core-component__main__p-4","pt-4":"dapp-core-component__main__pt-4",pt4:"dapp-core-component__main__pt-4","py-4":"dapp-core-component__main__py-4",py4:"dapp-core-component__main__py-4","pr-4":"dapp-core-component__main__pr-4",pr4:"dapp-core-component__main__pr-4","px-4":"dapp-core-component__main__px-4",px4:"dapp-core-component__main__px-4","pb-4":"dapp-core-component__main__pb-4",pb4:"dapp-core-component__main__pb-4","pl-4":"dapp-core-component__main__pl-4",pl4:"dapp-core-component__main__pl-4","p-5":"dapp-core-component__main__p-5",p5:"dapp-core-component__main__p-5","pt-5":"dapp-core-component__main__pt-5",pt5:"dapp-core-component__main__pt-5","py-5":"dapp-core-component__main__py-5",py5:"dapp-core-component__main__py-5","pr-5":"dapp-core-component__main__pr-5",pr5:"dapp-core-component__main__pr-5","px-5":"dapp-core-component__main__px-5",px5:"dapp-core-component__main__px-5","pb-5":"dapp-core-component__main__pb-5",pb5:"dapp-core-component__main__pb-5","pl-5":"dapp-core-component__main__pl-5",pl5:"dapp-core-component__main__pl-5","m-n1":"dapp-core-component__main__m-n1",mN1:"dapp-core-component__main__m-n1","mt-n1":"dapp-core-component__main__mt-n1",mtN1:"dapp-core-component__main__mt-n1","my-n1":"dapp-core-component__main__my-n1",myN1:"dapp-core-component__main__my-n1","mr-n1":"dapp-core-component__main__mr-n1",mrN1:"dapp-core-component__main__mr-n1","mx-n1":"dapp-core-component__main__mx-n1",mxN1:"dapp-core-component__main__mx-n1","mb-n1":"dapp-core-component__main__mb-n1",mbN1:"dapp-core-component__main__mb-n1","ml-n1":"dapp-core-component__main__ml-n1",mlN1:"dapp-core-component__main__ml-n1","m-n2":"dapp-core-component__main__m-n2",mN2:"dapp-core-component__main__m-n2","mt-n2":"dapp-core-component__main__mt-n2",mtN2:"dapp-core-component__main__mt-n2","my-n2":"dapp-core-component__main__my-n2",myN2:"dapp-core-component__main__my-n2","mr-n2":"dapp-core-component__main__mr-n2",mrN2:"dapp-core-component__main__mr-n2","mx-n2":"dapp-core-component__main__mx-n2",mxN2:"dapp-core-component__main__mx-n2","mb-n2":"dapp-core-component__main__mb-n2",mbN2:"dapp-core-component__main__mb-n2","ml-n2":"dapp-core-component__main__ml-n2",mlN2:"dapp-core-component__main__ml-n2","m-n3":"dapp-core-component__main__m-n3",mN3:"dapp-core-component__main__m-n3","mt-n3":"dapp-core-component__main__mt-n3",mtN3:"dapp-core-component__main__mt-n3","my-n3":"dapp-core-component__main__my-n3",myN3:"dapp-core-component__main__my-n3","mr-n3":"dapp-core-component__main__mr-n3",mrN3:"dapp-core-component__main__mr-n3","mx-n3":"dapp-core-component__main__mx-n3",mxN3:"dapp-core-component__main__mx-n3","mb-n3":"dapp-core-component__main__mb-n3",mbN3:"dapp-core-component__main__mb-n3","ml-n3":"dapp-core-component__main__ml-n3",mlN3:"dapp-core-component__main__ml-n3","m-n4":"dapp-core-component__main__m-n4",mN4:"dapp-core-component__main__m-n4","mt-n4":"dapp-core-component__main__mt-n4",mtN4:"dapp-core-component__main__mt-n4","my-n4":"dapp-core-component__main__my-n4",myN4:"dapp-core-component__main__my-n4","mr-n4":"dapp-core-component__main__mr-n4",mrN4:"dapp-core-component__main__mr-n4","mx-n4":"dapp-core-component__main__mx-n4",mxN4:"dapp-core-component__main__mx-n4","mb-n4":"dapp-core-component__main__mb-n4",mbN4:"dapp-core-component__main__mb-n4","ml-n4":"dapp-core-component__main__ml-n4",mlN4:"dapp-core-component__main__ml-n4","m-n5":"dapp-core-component__main__m-n5",mN5:"dapp-core-component__main__m-n5","mt-n5":"dapp-core-component__main__mt-n5",mtN5:"dapp-core-component__main__mt-n5","my-n5":"dapp-core-component__main__my-n5",myN5:"dapp-core-component__main__my-n5","mr-n5":"dapp-core-component__main__mr-n5",mrN5:"dapp-core-component__main__mr-n5","mx-n5":"dapp-core-component__main__mx-n5",mxN5:"dapp-core-component__main__mx-n5","mb-n5":"dapp-core-component__main__mb-n5",mbN5:"dapp-core-component__main__mb-n5","ml-n5":"dapp-core-component__main__ml-n5",mlN5:"dapp-core-component__main__ml-n5","m-auto":"dapp-core-component__main__m-auto",mAuto:"dapp-core-component__main__m-auto","mt-auto":"dapp-core-component__main__mt-auto",mtAuto:"dapp-core-component__main__mt-auto","my-auto":"dapp-core-component__main__my-auto",myAuto:"dapp-core-component__main__my-auto","mr-auto":"dapp-core-component__main__mr-auto",mrAuto:"dapp-core-component__main__mr-auto","mb-auto":"dapp-core-component__main__mb-auto",mbAuto:"dapp-core-component__main__mb-auto","ml-auto":"dapp-core-component__main__ml-auto",mlAuto:"dapp-core-component__main__ml-auto","mr-lg-1":"dapp-core-component__main__mr-lg-1",mrLg1:"dapp-core-component__main__mr-lg-1","mr-lg-4":"dapp-core-component__main__mr-lg-4",mrLg4:"dapp-core-component__main__mr-lg-4","mx-lg-4":"dapp-core-component__main__mx-lg-4",mxLg4:"dapp-core-component__main__mx-lg-4","mb-xl-2":"dapp-core-component__main__mb-xl-2",mbXl2:"dapp-core-component__main__mb-xl-2","pr-sm-2":"dapp-core-component__main__pr-sm-2",prSm2:"dapp-core-component__main__pr-sm-2","px-sm-2":"dapp-core-component__main__px-sm-2",pxSm2:"dapp-core-component__main__px-sm-2","pr-xl-0":"dapp-core-component__main__pr-xl-0",prXl0:"dapp-core-component__main__pr-xl-0","px-xl-0":"dapp-core-component__main__px-xl-0",pxXl0:"dapp-core-component__main__px-xl-0",col:"dapp-core-component__main__col",row:"dapp-core-component__main__row","col-xl":"dapp-core-component__main__col-xl",colXl:"dapp-core-component__main__col-xl","col-xl-auto":"dapp-core-component__main__col-xl-auto",colXlAuto:"dapp-core-component__main__col-xl-auto","col-xl-12":"dapp-core-component__main__col-xl-12",colXl12:"dapp-core-component__main__col-xl-12","col-xl-11":"dapp-core-component__main__col-xl-11",colXl11:"dapp-core-component__main__col-xl-11","col-xl-10":"dapp-core-component__main__col-xl-10",colXl10:"dapp-core-component__main__col-xl-10","col-xl-9":"dapp-core-component__main__col-xl-9",colXl9:"dapp-core-component__main__col-xl-9","col-xl-8":"dapp-core-component__main__col-xl-8",colXl8:"dapp-core-component__main__col-xl-8","col-xl-7":"dapp-core-component__main__col-xl-7",colXl7:"dapp-core-component__main__col-xl-7","col-xl-6":"dapp-core-component__main__col-xl-6",colXl6:"dapp-core-component__main__col-xl-6","col-xl-5":"dapp-core-component__main__col-xl-5",colXl5:"dapp-core-component__main__col-xl-5","col-xl-4":"dapp-core-component__main__col-xl-4",colXl4:"dapp-core-component__main__col-xl-4","col-xl-3":"dapp-core-component__main__col-xl-3",colXl3:"dapp-core-component__main__col-xl-3","col-xl-2":"dapp-core-component__main__col-xl-2",colXl2:"dapp-core-component__main__col-xl-2","col-xl-1":"dapp-core-component__main__col-xl-1",colXl1:"dapp-core-component__main__col-xl-1","col-lg":"dapp-core-component__main__col-lg",colLg:"dapp-core-component__main__col-lg","col-lg-auto":"dapp-core-component__main__col-lg-auto",colLgAuto:"dapp-core-component__main__col-lg-auto","col-lg-12":"dapp-core-component__main__col-lg-12",colLg12:"dapp-core-component__main__col-lg-12","col-lg-11":"dapp-core-component__main__col-lg-11",colLg11:"dapp-core-component__main__col-lg-11","col-lg-10":"dapp-core-component__main__col-lg-10",colLg10:"dapp-core-component__main__col-lg-10","col-lg-9":"dapp-core-component__main__col-lg-9",colLg9:"dapp-core-component__main__col-lg-9","col-lg-8":"dapp-core-component__main__col-lg-8",colLg8:"dapp-core-component__main__col-lg-8","col-lg-7":"dapp-core-component__main__col-lg-7",colLg7:"dapp-core-component__main__col-lg-7","col-lg-6":"dapp-core-component__main__col-lg-6",colLg6:"dapp-core-component__main__col-lg-6","col-lg-5":"dapp-core-component__main__col-lg-5",colLg5:"dapp-core-component__main__col-lg-5","col-lg-4":"dapp-core-component__main__col-lg-4",colLg4:"dapp-core-component__main__col-lg-4","col-lg-3":"dapp-core-component__main__col-lg-3",colLg3:"dapp-core-component__main__col-lg-3","col-lg-2":"dapp-core-component__main__col-lg-2",colLg2:"dapp-core-component__main__col-lg-2","col-lg-1":"dapp-core-component__main__col-lg-1",colLg1:"dapp-core-component__main__col-lg-1","col-md":"dapp-core-component__main__col-md",colMd:"dapp-core-component__main__col-md","col-md-auto":"dapp-core-component__main__col-md-auto",colMdAuto:"dapp-core-component__main__col-md-auto","col-md-12":"dapp-core-component__main__col-md-12",colMd12:"dapp-core-component__main__col-md-12","col-md-11":"dapp-core-component__main__col-md-11",colMd11:"dapp-core-component__main__col-md-11","col-md-10":"dapp-core-component__main__col-md-10",colMd10:"dapp-core-component__main__col-md-10","col-md-9":"dapp-core-component__main__col-md-9",colMd9:"dapp-core-component__main__col-md-9","col-md-8":"dapp-core-component__main__col-md-8",colMd8:"dapp-core-component__main__col-md-8","col-md-7":"dapp-core-component__main__col-md-7",colMd7:"dapp-core-component__main__col-md-7","col-md-6":"dapp-core-component__main__col-md-6",colMd6:"dapp-core-component__main__col-md-6","col-md-5":"dapp-core-component__main__col-md-5",colMd5:"dapp-core-component__main__col-md-5","col-md-4":"dapp-core-component__main__col-md-4",colMd4:"dapp-core-component__main__col-md-4","col-md-3":"dapp-core-component__main__col-md-3",colMd3:"dapp-core-component__main__col-md-3","col-md-2":"dapp-core-component__main__col-md-2",colMd2:"dapp-core-component__main__col-md-2","col-md-1":"dapp-core-component__main__col-md-1",colMd1:"dapp-core-component__main__col-md-1","col-sm":"dapp-core-component__main__col-sm",colSm:"dapp-core-component__main__col-sm","col-sm-auto":"dapp-core-component__main__col-sm-auto",colSmAuto:"dapp-core-component__main__col-sm-auto","col-sm-12":"dapp-core-component__main__col-sm-12",colSm12:"dapp-core-component__main__col-sm-12","col-sm-11":"dapp-core-component__main__col-sm-11",colSm11:"dapp-core-component__main__col-sm-11","col-sm-10":"dapp-core-component__main__col-sm-10",colSm10:"dapp-core-component__main__col-sm-10","col-sm-9":"dapp-core-component__main__col-sm-9",colSm9:"dapp-core-component__main__col-sm-9","col-sm-8":"dapp-core-component__main__col-sm-8",colSm8:"dapp-core-component__main__col-sm-8","col-sm-7":"dapp-core-component__main__col-sm-7",colSm7:"dapp-core-component__main__col-sm-7","col-sm-6":"dapp-core-component__main__col-sm-6",colSm6:"dapp-core-component__main__col-sm-6","col-sm-5":"dapp-core-component__main__col-sm-5",colSm5:"dapp-core-component__main__col-sm-5","col-sm-4":"dapp-core-component__main__col-sm-4",colSm4:"dapp-core-component__main__col-sm-4","col-sm-3":"dapp-core-component__main__col-sm-3",colSm3:"dapp-core-component__main__col-sm-3","col-sm-2":"dapp-core-component__main__col-sm-2",colSm2:"dapp-core-component__main__col-sm-2","col-sm-1":"dapp-core-component__main__col-sm-1",colSm1:"dapp-core-component__main__col-sm-1","col-auto":"dapp-core-component__main__col-auto",colAuto:"dapp-core-component__main__col-auto","col-12":"dapp-core-component__main__col-12",col12:"dapp-core-component__main__col-12","col-11":"dapp-core-component__main__col-11",col11:"dapp-core-component__main__col-11","col-10":"dapp-core-component__main__col-10",col10:"dapp-core-component__main__col-10","col-9":"dapp-core-component__main__col-9",col9:"dapp-core-component__main__col-9","col-8":"dapp-core-component__main__col-8",col8:"dapp-core-component__main__col-8","col-7":"dapp-core-component__main__col-7",col7:"dapp-core-component__main__col-7","col-6":"dapp-core-component__main__col-6",col6:"dapp-core-component__main__col-6","col-5":"dapp-core-component__main__col-5",col5:"dapp-core-component__main__col-5","col-4":"dapp-core-component__main__col-4",col4:"dapp-core-component__main__col-4","col-3":"dapp-core-component__main__col-3",col3:"dapp-core-component__main__col-3","col-2":"dapp-core-component__main__col-2",col2:"dapp-core-component__main__col-2","col-1":"dapp-core-component__main__col-1",col1:"dapp-core-component__main__col-1","flex-row":"dapp-core-component__main__flex-row",flexRow:"dapp-core-component__main__flex-row","flex-column":"dapp-core-component__main__flex-column",flexColumn:"dapp-core-component__main__flex-column","flex-row-reverse":"dapp-core-component__main__flex-row-reverse",flexRowReverse:"dapp-core-component__main__flex-row-reverse","flex-column-reverse":"dapp-core-component__main__flex-column-reverse",flexColumnReverse:"dapp-core-component__main__flex-column-reverse","flex-wrap":"dapp-core-component__main__flex-wrap",flexWrap:"dapp-core-component__main__flex-wrap","flex-nowrap":"dapp-core-component__main__flex-nowrap",flexNowrap:"dapp-core-component__main__flex-nowrap","flex-wrap-reverse":"dapp-core-component__main__flex-wrap-reverse",flexWrapReverse:"dapp-core-component__main__flex-wrap-reverse","flex-fill":"dapp-core-component__main__flex-fill",flexFill:"dapp-core-component__main__flex-fill","flex-grow-0":"dapp-core-component__main__flex-grow-0",flexGrow0:"dapp-core-component__main__flex-grow-0","flex-grow-1":"dapp-core-component__main__flex-grow-1",flexGrow1:"dapp-core-component__main__flex-grow-1","flex-shrink-0":"dapp-core-component__main__flex-shrink-0",flexShrink0:"dapp-core-component__main__flex-shrink-0","flex-shrink-1":"dapp-core-component__main__flex-shrink-1",flexShrink1:"dapp-core-component__main__flex-shrink-1","justify-content-start":"dapp-core-component__main__justify-content-start",justifyContentStart:"dapp-core-component__main__justify-content-start","justify-content-end":"dapp-core-component__main__justify-content-end",justifyContentEnd:"dapp-core-component__main__justify-content-end","justify-content-center":"dapp-core-component__main__justify-content-center",justifyContentCenter:"dapp-core-component__main__justify-content-center","justify-content-between":"dapp-core-component__main__justify-content-between",justifyContentBetween:"dapp-core-component__main__justify-content-between","justify-content-around":"dapp-core-component__main__justify-content-around",justifyContentAround:"dapp-core-component__main__justify-content-around","align-items-start":"dapp-core-component__main__align-items-start",alignItemsStart:"dapp-core-component__main__align-items-start","align-items-end":"dapp-core-component__main__align-items-end",alignItemsEnd:"dapp-core-component__main__align-items-end","align-items-center":"dapp-core-component__main__align-items-center",alignItemsCenter:"dapp-core-component__main__align-items-center","align-items-baseline":"dapp-core-component__main__align-items-baseline",alignItemsBaseline:"dapp-core-component__main__align-items-baseline","align-items-stretch":"dapp-core-component__main__align-items-stretch",alignItemsStretch:"dapp-core-component__main__align-items-stretch","align-content-start":"dapp-core-component__main__align-content-start",alignContentStart:"dapp-core-component__main__align-content-start","align-content-end":"dapp-core-component__main__align-content-end",alignContentEnd:"dapp-core-component__main__align-content-end","align-content-center":"dapp-core-component__main__align-content-center",alignContentCenter:"dapp-core-component__main__align-content-center","align-content-between":"dapp-core-component__main__align-content-between",alignContentBetween:"dapp-core-component__main__align-content-between","align-content-around":"dapp-core-component__main__align-content-around",alignContentAround:"dapp-core-component__main__align-content-around","align-content-stretch":"dapp-core-component__main__align-content-stretch",alignContentStretch:"dapp-core-component__main__align-content-stretch","align-self-auto":"dapp-core-component__main__align-self-auto",alignSelfAuto:"dapp-core-component__main__align-self-auto","align-self-start":"dapp-core-component__main__align-self-start",alignSelfStart:"dapp-core-component__main__align-self-start","align-self-end":"dapp-core-component__main__align-self-end",alignSelfEnd:"dapp-core-component__main__align-self-end","align-self-center":"dapp-core-component__main__align-self-center",alignSelfCenter:"dapp-core-component__main__align-self-center","align-self-baseline":"dapp-core-component__main__align-self-baseline",alignSelfBaseline:"dapp-core-component__main__align-self-baseline","align-self-stretch":"dapp-core-component__main__align-self-stretch",alignSelfStretch:"dapp-core-component__main__align-self-stretch","flex-sm-row":"dapp-core-component__main__flex-sm-row",flexSmRow:"dapp-core-component__main__flex-sm-row","flex-lg-row":"dapp-core-component__main__flex-lg-row",flexLgRow:"dapp-core-component__main__flex-lg-row","flex-lg-wrap":"dapp-core-component__main__flex-lg-wrap",flexLgWrap:"dapp-core-component__main__flex-lg-wrap","form-check":"dapp-core-component__main__form-check",formCheck:"dapp-core-component__main__form-check","form-check-label":"dapp-core-component__main__form-check-label",formCheckLabel:"dapp-core-component__main__form-check-label","form-check-input":"dapp-core-component__main__form-check-input",formCheckInput:"dapp-core-component__main__form-check-input","form-group":"dapp-core-component__main__form-group",formGroup:"dapp-core-component__main__form-group","form-control":"dapp-core-component__main__form-control",formControl:"dapp-core-component__main__form-control","form-label":"dapp-core-component__main__form-label",formLabel:"dapp-core-component__main__form-label","form-text":"dapp-core-component__main__form-text",formText:"dapp-core-component__main__form-text",border:"dapp-core-component__main__border","border-top":"dapp-core-component__main__border-top",borderTop:"dapp-core-component__main__border-top","border-right":"dapp-core-component__main__border-right",borderRight:"dapp-core-component__main__border-right","border-bottom":"dapp-core-component__main__border-bottom",borderBottom:"dapp-core-component__main__border-bottom","border-left":"dapp-core-component__main__border-left",borderLeft:"dapp-core-component__main__border-left","border-0":"dapp-core-component__main__border-0",border0:"dapp-core-component__main__border-0","border-top-0":"dapp-core-component__main__border-top-0",borderTop0:"dapp-core-component__main__border-top-0","border-right-0":"dapp-core-component__main__border-right-0",borderRight0:"dapp-core-component__main__border-right-0","border-bottom-0":"dapp-core-component__main__border-bottom-0",borderBottom0:"dapp-core-component__main__border-bottom-0","border-left-0":"dapp-core-component__main__border-left-0",borderLeft0:"dapp-core-component__main__border-left-0","rounded-sm":"dapp-core-component__main__rounded-sm",roundedSm:"dapp-core-component__main__rounded-sm",rounded:"dapp-core-component__main__rounded","rounded-top":"dapp-core-component__main__rounded-top",roundedTop:"dapp-core-component__main__rounded-top","rounded-right":"dapp-core-component__main__rounded-right",roundedRight:"dapp-core-component__main__rounded-right","rounded-bottom":"dapp-core-component__main__rounded-bottom",roundedBottom:"dapp-core-component__main__rounded-bottom","rounded-left":"dapp-core-component__main__rounded-left",roundedLeft:"dapp-core-component__main__rounded-left","rounded-lg":"dapp-core-component__main__rounded-lg",roundedLg:"dapp-core-component__main__rounded-lg","rounded-circle":"dapp-core-component__main__rounded-circle",roundedCircle:"dapp-core-component__main__rounded-circle","rounded-pill":"dapp-core-component__main__rounded-pill",roundedPill:"dapp-core-component__main__rounded-pill","rounded-0":"dapp-core-component__main__rounded-0",rounded0:"dapp-core-component__main__rounded-0",h1:"dapp-core-component__main__h1",h2:"dapp-core-component__main__h2",h3:"dapp-core-component__main__h3",h4:"dapp-core-component__main__h4",h5:"dapp-core-component__main__h5",lead:"dapp-core-component__main__lead","bg-primary":"dapp-core-component__main__bg-primary",bgPrimary:"dapp-core-component__main__bg-primary","bg-warning":"dapp-core-component__main__bg-warning",bgWarning:"dapp-core-component__main__bg-warning",warning:"dapp-core-component__main__warning","bg-danger":"dapp-core-component__main__bg-danger",bgDanger:"dapp-core-component__main__bg-danger",danger:"dapp-core-component__main__danger","bg-success":"dapp-core-component__main__bg-success",bgSuccess:"dapp-core-component__main__bg-success",success:"dapp-core-component__main__success","position-relative":"dapp-core-component__main__position-relative",positionRelative:"dapp-core-component__main__position-relative","position-absolute":"dapp-core-component__main__position-absolute",positionAbsolute:"dapp-core-component__main__position-absolute","w-25":"dapp-core-component__main__w-25",w25:"dapp-core-component__main__w-25","w-50":"dapp-core-component__main__w-50",w50:"dapp-core-component__main__w-50","w-75":"dapp-core-component__main__w-75",w75:"dapp-core-component__main__w-75","w-100":"dapp-core-component__main__w-100",w100:"dapp-core-component__main__w-100","w-auto":"dapp-core-component__main__w-auto",wAuto:"dapp-core-component__main__w-auto","h-25":"dapp-core-component__main__h-25",h25:"dapp-core-component__main__h-25","h-50":"dapp-core-component__main__h-50",h50:"dapp-core-component__main__h-50","h-75":"dapp-core-component__main__h-75",h75:"dapp-core-component__main__h-75","h-100":"dapp-core-component__main__h-100",h100:"dapp-core-component__main__h-100","h-auto":"dapp-core-component__main__h-auto",hAuto:"dapp-core-component__main__h-auto","mw-100":"dapp-core-component__main__mw-100",mw100:"dapp-core-component__main__mw-100","mh-100":"dapp-core-component__main__mh-100",mh100:"dapp-core-component__main__mh-100","min-vw-100":"dapp-core-component__main__min-vw-100",minVw100:"dapp-core-component__main__min-vw-100","min-vh-100":"dapp-core-component__main__min-vh-100",minVh100:"dapp-core-component__main__min-vh-100","vw-100":"dapp-core-component__main__vw-100",vw100:"dapp-core-component__main__vw-100","vh-100":"dapp-core-component__main__vh-100",vh100:"dapp-core-component__main__vh-100","locked-icon":"dapp-core-component__main__locked-icon",lockedIcon:"dapp-core-component__main__locked-icon","shadow-sm":"dapp-core-component__main__shadow-sm",shadowSm:"dapp-core-component__main__shadow-sm",shadow:"dapp-core-component__main__shadow","shadow-lg":"dapp-core-component__main__shadow-lg",shadowLg:"dapp-core-component__main__shadow-lg","shadow-none":"dapp-core-component__main__shadow-none",shadowNone:"dapp-core-component__main__shadow-none","d-none":"dapp-core-component__main__d-none",dNone:"dapp-core-component__main__d-none","d-inline":"dapp-core-component__main__d-inline",dInline:"dapp-core-component__main__d-inline","d-inline-block":"dapp-core-component__main__d-inline-block",dInlineBlock:"dapp-core-component__main__d-inline-block","d-block":"dapp-core-component__main__d-block",dBlock:"dapp-core-component__main__d-block","d-table":"dapp-core-component__main__d-table",dTable:"dapp-core-component__main__d-table","d-table-row":"dapp-core-component__main__d-table-row",dTableRow:"dapp-core-component__main__d-table-row","d-table-cell":"dapp-core-component__main__d-table-cell",dTableCell:"dapp-core-component__main__d-table-cell","d-flex":"dapp-core-component__main__d-flex",dFlex:"dapp-core-component__main__d-flex","d-inline-flex":"dapp-core-component__main__d-inline-flex",dInlineFlex:"dapp-core-component__main__d-inline-flex","d-sm-flex":"dapp-core-component__main__d-sm-flex",dSmFlex:"dapp-core-component__main__d-sm-flex","table-sm":"dapp-core-component__main__table-sm",tableSm:"dapp-core-component__main__table-sm","table-bordered":"dapp-core-component__main__table-bordered",tableBordered:"dapp-core-component__main__table-bordered","table-borderless":"dapp-core-component__main__table-borderless",tableBorderless:"dapp-core-component__main__table-borderless","table-striped":"dapp-core-component__main__table-striped",tableStriped:"dapp-core-component__main__table-striped","thead-dark":"dapp-core-component__main__thead-dark",theadDark:"dapp-core-component__main__thead-dark","thead-light":"dapp-core-component__main__thead-light",theadLight:"dapp-core-component__main__thead-light","table-dark":"dapp-core-component__main__table-dark",tableDark:"dapp-core-component__main__table-dark","table-hover":"dapp-core-component__main__table-hover",tableHover:"dapp-core-component__main__table-hover","table-responsive":"dapp-core-component__main__table-responsive",tableResponsive:"dapp-core-component__main__table-responsive","transaction-hash":"dapp-core-component__main__transaction-hash",transactionHash:"dapp-core-component__main__transaction-hash","font-weight-light":"dapp-core-component__main__font-weight-light",fontWeightLight:"dapp-core-component__main__font-weight-light","font-weight-lighter":"dapp-core-component__main__font-weight-lighter",fontWeightLighter:"dapp-core-component__main__font-weight-lighter","font-weight-normal":"dapp-core-component__main__font-weight-normal",fontWeightNormal:"dapp-core-component__main__font-weight-normal","font-weight-medium":"dapp-core-component__main__font-weight-medium",fontWeightMedium:"dapp-core-component__main__font-weight-medium","font-weight-bold":"dapp-core-component__main__font-weight-bold",fontWeightBold:"dapp-core-component__main__font-weight-bold","font-weight-bolder":"dapp-core-component__main__font-weight-bolder",fontWeightBolder:"dapp-core-component__main__font-weight-bolder","font-italic":"dapp-core-component__main__font-italic",fontItalic:"dapp-core-component__main__font-italic","icon-state":"dapp-core-component__main__icon-state",iconState:"dapp-core-component__main__icon-state",half:"dapp-core-component__main__half","side-icon":"dapp-core-component__main__side-icon",sideIcon:"dapp-core-component__main__side-icon","toast-messages":"dapp-core-component__main__toast-messages",toastMessages:"dapp-core-component__main__toast-messages",toast:"dapp-core-component__main__toast",clickable:"dapp-core-component__main__clickable","toast-visible":"dapp-core-component__main__toast-visible",toastVisible:"dapp-core-component__main__toast-visible",progress:"dapp-core-component__main__progress","progress-bar":"dapp-core-component__main__progress-bar",progressBar:"dapp-core-component__main__progress-bar","content-height":"dapp-core-component__main__content-height",contentHeight:"dapp-core-component__main__content-height","tx-description":"dapp-core-component__main__tx-description",txDescription:"dapp-core-component__main__tx-description",close:"dapp-core-component__main__close","data-field":"dapp-core-component__main__data-field",dataField:"dapp-core-component__main__data-field",textarea:"dapp-core-component__main__textarea",highlighted:"dapp-core-component__main__highlighted","sc-call":"dapp-core-component__main__sc-call",scCall:"dapp-core-component__main__sc-call","small-font":"dapp-core-component__main__small-font",smallFont:"dapp-core-component__main__small-font","progress-steps":"dapp-core-component__main__progress-steps",progressSteps:"dapp-core-component__main__progress-steps",steps:"dapp-core-component__main__steps",dot:"dapp-core-component__main__dot","side-link":"dapp-core-component__main__side-link",sideLink:"dapp-core-component__main__side-link"};t();t();var Te=f(require("react"));ce();t();t();var Ce=f(require("react")),ze=require("@fortawesome/free-solid-svg-icons"),xi=require("@fortawesome/react-fontawesome"),lt=f(require("classnames"));t();t();t();var Mp=f(require("axios"));t();t();A();t();var sa=f(require("lodash.isequal")),Wo=require("reselect");R();var u=(0,Wo.createSelectorCreator)(Wo.defaultMemoize,sa.default),mo=(e,o)=>e!=""&&Boolean(o);var pe=e=>e.account,Ge=u(pe,e=>e.address),_o=u(pe,Ge,(e,o)=>o in e.accounts?e.accounts[o]:Eo),Tc=u(pe,_o,(e,o)=>{let c=e,{accounts:n}=c,r=xe(c,["accounts"]);return S(T({},r),{account:o})}),hc=u(_o,e=>e.balance),xc=u(_o,e=>{var o;return((o=e==null?void 0:e.nonce)==null?void 0:o.valueOf())||0}),ca=u(pe,e=>e.shard),yc=u(pe,e=>e.ledgerAccount),jl=u(pe,e=>e.walletConnectAccount),zl=u(pe,e=>e.isAccountLoading),ql=u(pe,e=>e.accountLoadingError),pa=u(pe,e=>e.websocketEvent);t();var X=e=>e.loginInfo,Zl=u(X,e=>e.loginMethod),Yn=u(X,Ge,(e,o)=>mo(e.loginMethod,o)),Jl=u(X,e=>e.walletConnectLogin),Ql=u(X,e=>e.ledgerLogin),bc=u(X,e=>e.walletLogin),eg=u(X,e=>e.isLoginSessionInvalid),Sc=u(X,e=>e.tokenLogin),og=u(X,e=>e.logoutRoute);t();var ma=e=>e.modals,rg=u(ma,e=>e.txSubmittedModal),wc=u(ma,e=>e.notificationModal);t();var te=e=>e.networkConfig,Go=u(te,e=>e.chainID),vc=u(te,e=>e.network.walletConnectBridgeAddress),kc=u(te,e=>e.network.walletConnectV2RelayAddress),Ac=u(te,e=>e.network.walletConnectV2ProjectId),Ic=u(te,e=>e.network.walletConnectV2Options),da=u(te,e=>e.network.walletConnectDeepLink),ge=u(te,e=>e.network),_a=u(ge,e=>e.apiAddress),la=u(ge,e=>e.explorerAddress),ga=u(ge,e=>e.egldLabel);t();var Zn=e=>e.signedMessageInfo,pg=u(Zn,e=>e.isSigning),mg=u(Zn,e=>e.errorMessage),dg=u(Zn,e=>{let o=Object.keys(e.signedSessions),n=o.length;return e.signedSessions[o[n-1]]});t();var Jn=e=>e.toasts,gg=u(Jn,e=>e.customToasts),ug=u(Jn,e=>e.transactionToasts),fg=u(Jn,e=>e.failTransactionToast);t();A();var ua={errorMessage:jn,successMessage:zn,processingMessage:qn},Lc=e=>e.transactionsInfo,fa=u(Lc,(e,o)=>o,(e,o)=>o!=null&&(e==null?void 0:e[Number(o)])||ua);t();t();var j=require("@multiversx/sdk-core");k();t();function $o(e){try{return a.Buffer.from(e,"base64").toString()===atob(e)}catch(o){return!1}}function Vo(e){var c,p,m;let{data:o}=e,n=$o(o!=null?o:"")?j.TransactionPayload.fromEncoded(o):new j.TransactionPayload(o),r=new j.Transaction(T({value:e.value.valueOf(),data:n,nonce:e.nonce.valueOf(),receiver:new j.Address(e.receiver),sender:new j.Address(e.sender),gasLimit:(c=e.gasLimit.valueOf())!=null?c:ao,gasPrice:(p=e.gasPrice.valueOf())!=null?p:Io,chainID:e.chainID.valueOf(),version:new j.TransactionVersion((m=e.version)!=null?m:kr)},e.options?{options:new j.TransactionOptions(e.options)}:{}));return r.applySignature({hex:()=>e.signature||""},new j.Address(e.sender)),r}t();ce();t();var Cc=f(require("bignumber.js"));R();t();t();t();t();var Pc=require("@multiversx/sdk-core"),Dc=f(require("bignumber.js"));C();t();var Nc=require("@multiversx/sdk-core");t();t();t();var ot=require("@multiversx/sdk-core/out");t();k();var Rc=e=>{let o=a.Buffer.from([0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]);if(e.slice(0,o.length).equals(o))return!0;let r=a.Buffer.alloc(32).fill(0);return e.equals(r)},et=e=>{try{let n=parseInt("11",2),r=parseInt("01",2),c=a.Buffer.from(e,"hex"),p=c[31];if(Rc(c))return Ln;let m=p&n;return m>3-1&&(m=p&r),m}catch(o){return-1}};function xa({receiverAddress:e,senderShard:o,senderAddress:n}){try{let r=new ot.Address(e),c=et(r.pubkey());if(o==null&&n!=null){let p=new ot.Address(n);return et(p)===c}return c===o}catch(r){return!1}}t();var nt=require("@multiversx/sdk-core");R();function ya({receiver:e,data:o}){try{if(!o)return e;let n=$o(o)?nt.TransactionPayload.fromEncoded(o).toString():o,r=Mc(n),c=n.split("@");return r>-1?c[r]:e}catch(n){console.log(n);return}}function Mc(e){return e.includes("MultiESDTNFTTransfer")?1:e.includes("ESDTNFTTransfer")?4:-1}var ba=(e,o=1)=>e!=null?e.reduce((n,{receiver:r,data:c})=>{let p=ya({receiver:r,data:c!=null?c:""});return p==null?n:n&&xa({receiverAddress:p,senderShard:o})},!0):!0;t();t();t();t();C();t();t();var rt=require("@reduxjs/toolkit"),ja=require("react-redux/lib/utils/Subscription");A();t();var Sa=f(require("lodash.throttle"));k();A();Mn();ke();Oe();var Oc=[Lo],Ho=!1,Fc=(0,Sa.default)(()=>{so(io())},5e3),wa=e=>o=>n=>{var l;if(Oc.includes(n.type))return o(n);let r=e.getState(),c=q.local.getItem(_e.loginExpiresAt);if(!mo((l=r==null?void 0:r.loginInfo)==null?void 0:l.loginMethod,r==null?void 0:r.account.address))return o(n);if(c==null)return so(io());let m=Date.now();return c-m<0&&!Ho?setTimeout(()=>{Ho=!0,e.dispatch(Mr())},1e3):(Ho&&(Ho=!1),Fc()),o(n)};t();t();function jo(){return typeof sessionStorage!="undefined"}var $a=jo()?(Da(),Je(Pa)).default:(Ma(),Je(Ra)).default,Va=jo()?(Fa(),Je(Oa)).default:[],Ha=jo()?(Ga(),Je(Wa)).default:e=>e;zo();var w=(0,rt.configureStore)({reducer:$a,middleware:e=>e({serializableCheck:{ignoredActions:[...Va,Dn.type,Pn.type],ignoredPaths:["payload.nonce","account.account.nonce","providers.accountProvider"]}}).concat(wa)}),za=(0,ja.createSubscription)(w),Yu=Ha(w),Zu=(0,rt.configureStore)({reducer:$e});t();t();t();t();t();t();var lo="transactions";t();t();t();t();W();t();var Ka=!1;function tp(e){Ka||(console.error(e),Ka=!0)}function at({explorerAddress:e,to:o}){try{return new URL(o).href}catch(n){return o.startsWith("/")||(tp(`Link not prepended by / : ${o}`),o=`/${o}`),e?`${e}${o}`:o}}t();W();t();t();t();var sp=f(require("bignumber.js"));k();t();var ip=require("@multiversx/sdk-core"),it=f(require("bignumber.js"));k();t();var rp=f(require("bignumber.js"));t();it.default.config({ROUNDING_MODE:it.default.ROUND_FLOOR});t();t();t();k();t();t();t();t();k();t();k();t();var cp=require("@multiversx/sdk-core");k();t();var go=require("@multiversx/sdk-core"),dp=require("@multiversx/sdk-network-providers");k();t();t();var pp=f(require("bignumber.js"));k();t();k();t();t();t();t();t();k();t();W();var lp=["reDelegateRewards","claimRewards","unBond"],gp=["wrapEgld","unwrapEgld"],up=["unStake"],fp=["unDelegate"];t();t();t();k();t();var bp=f(require("bignumber.js"));t();t();t();W();t();var Sp=f(require("bignumber.js"));t();t();t();t();W();t();t();t();var kp=f(require("linkifyjs"));t();k();t();var Ap=f(require("bignumber.js"));t();R();t();t();C();t();C();t();t();t();W();t();W();t();var Ip=f(require("bignumber.js"));k();W();t();W();t();var Qa=require("react");R();t();t();W();t();var Lp=require("@multiversx/sdk-core/out"),Ep=f(require("bignumber.js"));W();t();W();t();t();C();var Cy=[{label:"Raw",value:"raw"},{label:"Text",value:"text"},{label:"Decimal",value:"decimal"},{label:"Smart",value:"smart"}];t();var ei=require("react");R();t();var Np=require("react");W();var Fy=["create","localMint","ESDTLocalMint","addQuantity","burn","localBurn","ESDTLocalBurn","wipe","writeLog","signalError"];var Zo=e=>e.transactions,Ve=u(Zo,e=>e.signedTransactions),Pp=u(Zo,e=>e.signTransactionsError),oi=u(Zo,e=>e.signTransactionsCancelMessage),Jo=e=>o=>Object.entries(o).reduce((n,[r,c])=>(e(c.status)&&(n[r]=c),n),{}),ni=u(Ve,Jo(le)),ti=u(Ve,Jo(Be)),ri=u(Ve,Jo(Ue)),Dp=u(Ve,Jo(oo)),ai=u(Zo,e=>{var o;return(e==null?void 0:e.transactionsToSign)==null?null:S(T({},e.transactionsToSign),{transactions:((o=e==null?void 0:e.transactionsToSign)==null?void 0:o.transactions.map(n=>Vo(n)))||[]})}),Rp=u(Ve,(e,o)=>o,(e,o)=>o!=null?(e==null?void 0:e[o])||{}:{});t();var Op=f(require("axios"));t();var Bp=f(require("axios"));t();t();var Up=f(require("axios"));t();var Wp=f(require("axios"));t();t();t();var $p=f(require("axios"));t();t();t();t();ro();t();var Vp=f(require("axios"));t();var Hp=f(require("axios"));t();ro();t();ro();t();var jp=f(require("axios"));t();var He=f(require("react")),Qo=require("@fortawesome/free-solid-svg-icons"),ct=require("@fortawesome/react-fontawesome"),pi=f(require("classnames"));t();function zp(e){let o=!1,n=document==null?void 0:document.createElement("textarea");n.value=e,n.style.position="fixed",document==null||document.body.appendChild(n),n.focus(),n.select();try{document==null||document.execCommand("copy"),o=!0}catch(r){console.error("Fallback: Oops, unable to copy",r)}return document==null||document.body.removeChild(n),o}function si(e){return b(this,null,function*(){let o=!1;return navigator.clipboard?o=yield navigator.clipboard.writeText(e).then(function(){return!0},function(r){return console.error("Async: Could not copy text: ",r),!1}):o=zp(e),o})}t();var qp=`.dapp-core-component__copyButtonStyles__copy {
2703
+ }`;document.head.appendChild(document.createElement("style")).appendChild(document.createTextNode(Us));var Fe={"link-style":"dapp-core-component__main__link-style",linkStyle:"dapp-core-component__main__link-style","link-second-style":"dapp-core-component__main__link-second-style",linkSecondStyle:"dapp-core-component__main__link-second-style",wrapper:"dapp-core-component__main__wrapper","opacity-6":"dapp-core-component__main__opacity-6",opacity6:"dapp-core-component__main__opacity-6","qr-code-svg-container":"dapp-core-component__main__qr-code-svg-container",qrCodeSvgContainer:"dapp-core-component__main__qr-code-svg-container","pair-list":"dapp-core-component__main__pair-list",pairList:"dapp-core-component__main__pair-list","pair-loader":"dapp-core-component__main__pair-loader",pairLoader:"dapp-core-component__main__pair-loader","pair-image":"dapp-core-component__main__pair-image",pairImage:"dapp-core-component__main__pair-image","pair-remove":"dapp-core-component__main__pair-remove",pairRemove:"dapp-core-component__main__pair-remove","dapp-icon":"dapp-core-component__main__dapp-icon",dappIcon:"dapp-core-component__main__dapp-icon","icon-medium":"dapp-core-component__main__icon-medium",iconMedium:"dapp-core-component__main__icon-medium",centering:"dapp-core-component__main__centering","border-n":"dapp-core-component__main__border-n",borderN:"dapp-core-component__main__border-n","t-shadow":"dapp-core-component__main__t-shadow",tShadow:"dapp-core-component__main__t-shadow",btn:"dapp-core-component__main__btn",media:"dapp-core-component__main__media","media-body":"dapp-core-component__main__media-body",mediaBody:"dapp-core-component__main__media-body","connect-btns":"dapp-core-component__main__connect-btns",connectBtns:"dapp-core-component__main__connect-btns",info:"dapp-core-component__main__info","trust-badge":"dapp-core-component__main__trust-badge",trustBadge:"dapp-core-component__main__trust-badge",navbar:"dapp-core-component__main__navbar","dapp-name":"dapp-core-component__main__dapp-name",dappName:"dapp-core-component__main__dapp-name","action-btn":"dapp-core-component__main__action-btn",actionBtn:"dapp-core-component__main__action-btn",transactions:"dapp-core-component__main__transactions","transaction-icon":"dapp-core-component__main__transaction-icon",transactionIcon:"dapp-core-component__main__transaction-icon",table:"dapp-core-component__main__table","page-state":"dapp-core-component__main__page-state",pageState:"dapp-core-component__main__page-state","lds-ellipsis":"dapp-core-component__main__lds-ellipsis",ldsEllipsis:"dapp-core-component__main__lds-ellipsis","bg-blue":"dapp-core-component__main__bg-blue",bgBlue:"dapp-core-component__main__bg-blue","lds-ellipsis1":"dapp-core-component__main__lds-ellipsis1",ldsEllipsis1:"dapp-core-component__main__lds-ellipsis1","lds-ellipsis2":"dapp-core-component__main__lds-ellipsis2",ldsEllipsis2:"dapp-core-component__main__lds-ellipsis2","lds-ellipsis3":"dapp-core-component__main__lds-ellipsis3",ldsEllipsis3:"dapp-core-component__main__lds-ellipsis3",focus:"dapp-core-component__main__focus",disabled:"dapp-core-component__main__disabled","btn-primary":"dapp-core-component__main__btn-primary",btnPrimary:"dapp-core-component__main__btn-primary","btn-secondary":"dapp-core-component__main__btn-secondary",btnSecondary:"dapp-core-component__main__btn-secondary","btn-warning":"dapp-core-component__main__btn-warning",btnWarning:"dapp-core-component__main__btn-warning","btn-dark":"dapp-core-component__main__btn-dark",btnDark:"dapp-core-component__main__btn-dark","btn-link":"dapp-core-component__main__btn-link",btnLink:"dapp-core-component__main__btn-link","btn-light":"dapp-core-component__main__btn-light",btnLight:"dapp-core-component__main__btn-light",badge:"dapp-core-component__main__badge","badge-pill":"dapp-core-component__main__badge-pill",badgePill:"dapp-core-component__main__badge-pill","badge-primary":"dapp-core-component__main__badge-primary",badgePrimary:"dapp-core-component__main__badge-primary","badge-secondary":"dapp-core-component__main__badge-secondary",badgeSecondary:"dapp-core-component__main__badge-secondary","badge-success":"dapp-core-component__main__badge-success",badgeSuccess:"dapp-core-component__main__badge-success","badge-info":"dapp-core-component__main__badge-info",badgeInfo:"dapp-core-component__main__badge-info","badge-warning":"dapp-core-component__main__badge-warning",badgeWarning:"dapp-core-component__main__badge-warning","badge-danger":"dapp-core-component__main__badge-danger",badgeDanger:"dapp-core-component__main__badge-danger","badge-light":"dapp-core-component__main__badge-light",badgeLight:"dapp-core-component__main__badge-light","badge-dark":"dapp-core-component__main__badge-dark",badgeDark:"dapp-core-component__main__badge-dark",card:"dapp-core-component__main__card","list-group":"dapp-core-component__main__list-group",listGroup:"dapp-core-component__main__list-group","card-header":"dapp-core-component__main__card-header",cardHeader:"dapp-core-component__main__card-header","card-footer":"dapp-core-component__main__card-footer",cardFooter:"dapp-core-component__main__card-footer","card-header-item":"dapp-core-component__main__card-header-item",cardHeaderItem:"dapp-core-component__main__card-header-item",h6:"dapp-core-component__main__h6",compact:"dapp-core-component__main__compact","card-body":"dapp-core-component__main__card-body",cardBody:"dapp-core-component__main__card-body","card-title":"dapp-core-component__main__card-title",cardTitle:"dapp-core-component__main__card-title","card-subtitle":"dapp-core-component__main__card-subtitle",cardSubtitle:"dapp-core-component__main__card-subtitle","card-text":"dapp-core-component__main__card-text",cardText:"dapp-core-component__main__card-text","card-link":"dapp-core-component__main__card-link",cardLink:"dapp-core-component__main__card-link",text:"dapp-core-component__main__text","text-white":"dapp-core-component__main__text-white",textWhite:"dapp-core-component__main__text-white","text-monospace":"dapp-core-component__main__text-monospace",textMonospace:"dapp-core-component__main__text-monospace","trim-size-xl":"dapp-core-component__main__trim-size-xl",trimSizeXl:"dapp-core-component__main__trim-size-xl",trim:"dapp-core-component__main__trim","trim-only-sm":"dapp-core-component__main__trim-only-sm",trimOnlySm:"dapp-core-component__main__trim-only-sm","text-justify":"dapp-core-component__main__text-justify",textJustify:"dapp-core-component__main__text-justify","text-wrap":"dapp-core-component__main__text-wrap",textWrap:"dapp-core-component__main__text-wrap","text-nowrap":"dapp-core-component__main__text-nowrap",textNowrap:"dapp-core-component__main__text-nowrap","text-truncate":"dapp-core-component__main__text-truncate",textTruncate:"dapp-core-component__main__text-truncate","text-left":"dapp-core-component__main__text-left",textLeft:"dapp-core-component__main__text-left","text-right":"dapp-core-component__main__text-right",textRight:"dapp-core-component__main__text-right","text-center":"dapp-core-component__main__text-center",textCenter:"dapp-core-component__main__text-center","text-primary":"dapp-core-component__main__text-primary",textPrimary:"dapp-core-component__main__text-primary","text-secondary":"dapp-core-component__main__text-secondary",textSecondary:"dapp-core-component__main__text-secondary","text-primary-highlight":"dapp-core-component__main__text-primary-highlight",textPrimaryHighlight:"dapp-core-component__main__text-primary-highlight","text-muted":"dapp-core-component__main__text-muted",textMuted:"dapp-core-component__main__text-muted","text-success":"dapp-core-component__main__text-success",textSuccess:"dapp-core-component__main__text-success","text-body":"dapp-core-component__main__text-body",textBody:"dapp-core-component__main__text-body","text-black-50":"dapp-core-component__main__text-black-50",textBlack50:"dapp-core-component__main__text-black-50","text-white-50":"dapp-core-component__main__text-white-50",textWhite50:"dapp-core-component__main__text-white-50","text-lg-right":"dapp-core-component__main__text-lg-right",textLgRight:"dapp-core-component__main__text-lg-right","text-hide":"dapp-core-component__main__text-hide",textHide:"dapp-core-component__main__text-hide","text-decoration-none":"dapp-core-component__main__text-decoration-none",textDecorationNone:"dapp-core-component__main__text-decoration-none","text-break":"dapp-core-component__main__text-break",textBreak:"dapp-core-component__main__text-break","text-reset":"dapp-core-component__main__text-reset",textReset:"dapp-core-component__main__text-reset","text-lowercase":"dapp-core-component__main__text-lowercase",textLowercase:"dapp-core-component__main__text-lowercase","text-uppercase":"dapp-core-component__main__text-uppercase",textUppercase:"dapp-core-component__main__text-uppercase","text-capitalize":"dapp-core-component__main__text-capitalize",textCapitalize:"dapp-core-component__main__text-capitalize","text-danger":"dapp-core-component__main__text-danger",textDanger:"dapp-core-component__main__text-danger","text-warning":"dapp-core-component__main__text-warning",textWarning:"dapp-core-component__main__text-warning","trim-fs-sm":"dapp-core-component__main__trim-fs-sm",trimFsSm:"dapp-core-component__main__trim-fs-sm","mx-auto":"dapp-core-component__main__mx-auto",mxAuto:"dapp-core-component__main__mx-auto","m-0":"dapp-core-component__main__m-0",m0:"dapp-core-component__main__m-0","mt-0":"dapp-core-component__main__mt-0",mt0:"dapp-core-component__main__mt-0","my-0":"dapp-core-component__main__my-0",my0:"dapp-core-component__main__my-0","mr-0":"dapp-core-component__main__mr-0",mr0:"dapp-core-component__main__mr-0","mx-0":"dapp-core-component__main__mx-0",mx0:"dapp-core-component__main__mx-0","mb-0":"dapp-core-component__main__mb-0",mb0:"dapp-core-component__main__mb-0","ml-0":"dapp-core-component__main__ml-0",ml0:"dapp-core-component__main__ml-0","m-1":"dapp-core-component__main__m-1",m1:"dapp-core-component__main__m-1","mt-1":"dapp-core-component__main__mt-1",mt1:"dapp-core-component__main__mt-1","my-1":"dapp-core-component__main__my-1",my1:"dapp-core-component__main__my-1","mr-1":"dapp-core-component__main__mr-1",mr1:"dapp-core-component__main__mr-1","mx-1":"dapp-core-component__main__mx-1",mx1:"dapp-core-component__main__mx-1","mb-1":"dapp-core-component__main__mb-1",mb1:"dapp-core-component__main__mb-1","ml-1":"dapp-core-component__main__ml-1",ml1:"dapp-core-component__main__ml-1","m-2":"dapp-core-component__main__m-2",m2:"dapp-core-component__main__m-2","mt-2":"dapp-core-component__main__mt-2",mt2:"dapp-core-component__main__mt-2","my-2":"dapp-core-component__main__my-2",my2:"dapp-core-component__main__my-2","mr-2":"dapp-core-component__main__mr-2",mr2:"dapp-core-component__main__mr-2","mx-2":"dapp-core-component__main__mx-2",mx2:"dapp-core-component__main__mx-2","mb-2":"dapp-core-component__main__mb-2",mb2:"dapp-core-component__main__mb-2","ml-2":"dapp-core-component__main__ml-2",ml2:"dapp-core-component__main__ml-2","m-3":"dapp-core-component__main__m-3",m3:"dapp-core-component__main__m-3","mt-3":"dapp-core-component__main__mt-3",mt3:"dapp-core-component__main__mt-3","my-3":"dapp-core-component__main__my-3",my3:"dapp-core-component__main__my-3","mr-3":"dapp-core-component__main__mr-3",mr3:"dapp-core-component__main__mr-3","mx-3":"dapp-core-component__main__mx-3",mx3:"dapp-core-component__main__mx-3","mb-3":"dapp-core-component__main__mb-3",mb3:"dapp-core-component__main__mb-3","ml-3":"dapp-core-component__main__ml-3",ml3:"dapp-core-component__main__ml-3","m-4":"dapp-core-component__main__m-4",m4:"dapp-core-component__main__m-4","mt-4":"dapp-core-component__main__mt-4",mt4:"dapp-core-component__main__mt-4","my-4":"dapp-core-component__main__my-4",my4:"dapp-core-component__main__my-4","mr-4":"dapp-core-component__main__mr-4",mr4:"dapp-core-component__main__mr-4","mx-4":"dapp-core-component__main__mx-4",mx4:"dapp-core-component__main__mx-4","mb-4":"dapp-core-component__main__mb-4",mb4:"dapp-core-component__main__mb-4","ml-4":"dapp-core-component__main__ml-4",ml4:"dapp-core-component__main__ml-4","m-5":"dapp-core-component__main__m-5",m5:"dapp-core-component__main__m-5","mt-5":"dapp-core-component__main__mt-5",mt5:"dapp-core-component__main__mt-5","my-5":"dapp-core-component__main__my-5",my5:"dapp-core-component__main__my-5","mr-5":"dapp-core-component__main__mr-5",mr5:"dapp-core-component__main__mr-5","mx-5":"dapp-core-component__main__mx-5",mx5:"dapp-core-component__main__mx-5","mb-5":"dapp-core-component__main__mb-5",mb5:"dapp-core-component__main__mb-5","ml-5":"dapp-core-component__main__ml-5",ml5:"dapp-core-component__main__ml-5","p-0":"dapp-core-component__main__p-0",p0:"dapp-core-component__main__p-0","pt-0":"dapp-core-component__main__pt-0",pt0:"dapp-core-component__main__pt-0","py-0":"dapp-core-component__main__py-0",py0:"dapp-core-component__main__py-0","pr-0":"dapp-core-component__main__pr-0",pr0:"dapp-core-component__main__pr-0","px-0":"dapp-core-component__main__px-0",px0:"dapp-core-component__main__px-0","pb-0":"dapp-core-component__main__pb-0",pb0:"dapp-core-component__main__pb-0","pl-0":"dapp-core-component__main__pl-0",pl0:"dapp-core-component__main__pl-0","p-1":"dapp-core-component__main__p-1",p1:"dapp-core-component__main__p-1","pt-1":"dapp-core-component__main__pt-1",pt1:"dapp-core-component__main__pt-1","py-1":"dapp-core-component__main__py-1",py1:"dapp-core-component__main__py-1","pr-1":"dapp-core-component__main__pr-1",pr1:"dapp-core-component__main__pr-1","px-1":"dapp-core-component__main__px-1",px1:"dapp-core-component__main__px-1","pb-1":"dapp-core-component__main__pb-1",pb1:"dapp-core-component__main__pb-1","pl-1":"dapp-core-component__main__pl-1",pl1:"dapp-core-component__main__pl-1","p-2":"dapp-core-component__main__p-2",p2:"dapp-core-component__main__p-2","pt-2":"dapp-core-component__main__pt-2",pt2:"dapp-core-component__main__pt-2","py-2":"dapp-core-component__main__py-2",py2:"dapp-core-component__main__py-2","pr-2":"dapp-core-component__main__pr-2",pr2:"dapp-core-component__main__pr-2","px-2":"dapp-core-component__main__px-2",px2:"dapp-core-component__main__px-2","pb-2":"dapp-core-component__main__pb-2",pb2:"dapp-core-component__main__pb-2","pl-2":"dapp-core-component__main__pl-2",pl2:"dapp-core-component__main__pl-2","p-3":"dapp-core-component__main__p-3",p3:"dapp-core-component__main__p-3","pt-3":"dapp-core-component__main__pt-3",pt3:"dapp-core-component__main__pt-3","py-3":"dapp-core-component__main__py-3",py3:"dapp-core-component__main__py-3","pr-3":"dapp-core-component__main__pr-3",pr3:"dapp-core-component__main__pr-3","px-3":"dapp-core-component__main__px-3",px3:"dapp-core-component__main__px-3","pb-3":"dapp-core-component__main__pb-3",pb3:"dapp-core-component__main__pb-3","pl-3":"dapp-core-component__main__pl-3",pl3:"dapp-core-component__main__pl-3","p-4":"dapp-core-component__main__p-4",p4:"dapp-core-component__main__p-4","pt-4":"dapp-core-component__main__pt-4",pt4:"dapp-core-component__main__pt-4","py-4":"dapp-core-component__main__py-4",py4:"dapp-core-component__main__py-4","pr-4":"dapp-core-component__main__pr-4",pr4:"dapp-core-component__main__pr-4","px-4":"dapp-core-component__main__px-4",px4:"dapp-core-component__main__px-4","pb-4":"dapp-core-component__main__pb-4",pb4:"dapp-core-component__main__pb-4","pl-4":"dapp-core-component__main__pl-4",pl4:"dapp-core-component__main__pl-4","p-5":"dapp-core-component__main__p-5",p5:"dapp-core-component__main__p-5","pt-5":"dapp-core-component__main__pt-5",pt5:"dapp-core-component__main__pt-5","py-5":"dapp-core-component__main__py-5",py5:"dapp-core-component__main__py-5","pr-5":"dapp-core-component__main__pr-5",pr5:"dapp-core-component__main__pr-5","px-5":"dapp-core-component__main__px-5",px5:"dapp-core-component__main__px-5","pb-5":"dapp-core-component__main__pb-5",pb5:"dapp-core-component__main__pb-5","pl-5":"dapp-core-component__main__pl-5",pl5:"dapp-core-component__main__pl-5","m-n1":"dapp-core-component__main__m-n1",mN1:"dapp-core-component__main__m-n1","mt-n1":"dapp-core-component__main__mt-n1",mtN1:"dapp-core-component__main__mt-n1","my-n1":"dapp-core-component__main__my-n1",myN1:"dapp-core-component__main__my-n1","mr-n1":"dapp-core-component__main__mr-n1",mrN1:"dapp-core-component__main__mr-n1","mx-n1":"dapp-core-component__main__mx-n1",mxN1:"dapp-core-component__main__mx-n1","mb-n1":"dapp-core-component__main__mb-n1",mbN1:"dapp-core-component__main__mb-n1","ml-n1":"dapp-core-component__main__ml-n1",mlN1:"dapp-core-component__main__ml-n1","m-n2":"dapp-core-component__main__m-n2",mN2:"dapp-core-component__main__m-n2","mt-n2":"dapp-core-component__main__mt-n2",mtN2:"dapp-core-component__main__mt-n2","my-n2":"dapp-core-component__main__my-n2",myN2:"dapp-core-component__main__my-n2","mr-n2":"dapp-core-component__main__mr-n2",mrN2:"dapp-core-component__main__mr-n2","mx-n2":"dapp-core-component__main__mx-n2",mxN2:"dapp-core-component__main__mx-n2","mb-n2":"dapp-core-component__main__mb-n2",mbN2:"dapp-core-component__main__mb-n2","ml-n2":"dapp-core-component__main__ml-n2",mlN2:"dapp-core-component__main__ml-n2","m-n3":"dapp-core-component__main__m-n3",mN3:"dapp-core-component__main__m-n3","mt-n3":"dapp-core-component__main__mt-n3",mtN3:"dapp-core-component__main__mt-n3","my-n3":"dapp-core-component__main__my-n3",myN3:"dapp-core-component__main__my-n3","mr-n3":"dapp-core-component__main__mr-n3",mrN3:"dapp-core-component__main__mr-n3","mx-n3":"dapp-core-component__main__mx-n3",mxN3:"dapp-core-component__main__mx-n3","mb-n3":"dapp-core-component__main__mb-n3",mbN3:"dapp-core-component__main__mb-n3","ml-n3":"dapp-core-component__main__ml-n3",mlN3:"dapp-core-component__main__ml-n3","m-n4":"dapp-core-component__main__m-n4",mN4:"dapp-core-component__main__m-n4","mt-n4":"dapp-core-component__main__mt-n4",mtN4:"dapp-core-component__main__mt-n4","my-n4":"dapp-core-component__main__my-n4",myN4:"dapp-core-component__main__my-n4","mr-n4":"dapp-core-component__main__mr-n4",mrN4:"dapp-core-component__main__mr-n4","mx-n4":"dapp-core-component__main__mx-n4",mxN4:"dapp-core-component__main__mx-n4","mb-n4":"dapp-core-component__main__mb-n4",mbN4:"dapp-core-component__main__mb-n4","ml-n4":"dapp-core-component__main__ml-n4",mlN4:"dapp-core-component__main__ml-n4","m-n5":"dapp-core-component__main__m-n5",mN5:"dapp-core-component__main__m-n5","mt-n5":"dapp-core-component__main__mt-n5",mtN5:"dapp-core-component__main__mt-n5","my-n5":"dapp-core-component__main__my-n5",myN5:"dapp-core-component__main__my-n5","mr-n5":"dapp-core-component__main__mr-n5",mrN5:"dapp-core-component__main__mr-n5","mx-n5":"dapp-core-component__main__mx-n5",mxN5:"dapp-core-component__main__mx-n5","mb-n5":"dapp-core-component__main__mb-n5",mbN5:"dapp-core-component__main__mb-n5","ml-n5":"dapp-core-component__main__ml-n5",mlN5:"dapp-core-component__main__ml-n5","m-auto":"dapp-core-component__main__m-auto",mAuto:"dapp-core-component__main__m-auto","mt-auto":"dapp-core-component__main__mt-auto",mtAuto:"dapp-core-component__main__mt-auto","my-auto":"dapp-core-component__main__my-auto",myAuto:"dapp-core-component__main__my-auto","mr-auto":"dapp-core-component__main__mr-auto",mrAuto:"dapp-core-component__main__mr-auto","mb-auto":"dapp-core-component__main__mb-auto",mbAuto:"dapp-core-component__main__mb-auto","ml-auto":"dapp-core-component__main__ml-auto",mlAuto:"dapp-core-component__main__ml-auto","mr-lg-1":"dapp-core-component__main__mr-lg-1",mrLg1:"dapp-core-component__main__mr-lg-1","mr-lg-4":"dapp-core-component__main__mr-lg-4",mrLg4:"dapp-core-component__main__mr-lg-4","mx-lg-4":"dapp-core-component__main__mx-lg-4",mxLg4:"dapp-core-component__main__mx-lg-4","mb-xl-2":"dapp-core-component__main__mb-xl-2",mbXl2:"dapp-core-component__main__mb-xl-2","pr-sm-2":"dapp-core-component__main__pr-sm-2",prSm2:"dapp-core-component__main__pr-sm-2","px-sm-2":"dapp-core-component__main__px-sm-2",pxSm2:"dapp-core-component__main__px-sm-2","pr-xl-0":"dapp-core-component__main__pr-xl-0",prXl0:"dapp-core-component__main__pr-xl-0","px-xl-0":"dapp-core-component__main__px-xl-0",pxXl0:"dapp-core-component__main__px-xl-0",col:"dapp-core-component__main__col",row:"dapp-core-component__main__row","col-xl":"dapp-core-component__main__col-xl",colXl:"dapp-core-component__main__col-xl","col-xl-auto":"dapp-core-component__main__col-xl-auto",colXlAuto:"dapp-core-component__main__col-xl-auto","col-xl-12":"dapp-core-component__main__col-xl-12",colXl12:"dapp-core-component__main__col-xl-12","col-xl-11":"dapp-core-component__main__col-xl-11",colXl11:"dapp-core-component__main__col-xl-11","col-xl-10":"dapp-core-component__main__col-xl-10",colXl10:"dapp-core-component__main__col-xl-10","col-xl-9":"dapp-core-component__main__col-xl-9",colXl9:"dapp-core-component__main__col-xl-9","col-xl-8":"dapp-core-component__main__col-xl-8",colXl8:"dapp-core-component__main__col-xl-8","col-xl-7":"dapp-core-component__main__col-xl-7",colXl7:"dapp-core-component__main__col-xl-7","col-xl-6":"dapp-core-component__main__col-xl-6",colXl6:"dapp-core-component__main__col-xl-6","col-xl-5":"dapp-core-component__main__col-xl-5",colXl5:"dapp-core-component__main__col-xl-5","col-xl-4":"dapp-core-component__main__col-xl-4",colXl4:"dapp-core-component__main__col-xl-4","col-xl-3":"dapp-core-component__main__col-xl-3",colXl3:"dapp-core-component__main__col-xl-3","col-xl-2":"dapp-core-component__main__col-xl-2",colXl2:"dapp-core-component__main__col-xl-2","col-xl-1":"dapp-core-component__main__col-xl-1",colXl1:"dapp-core-component__main__col-xl-1","col-lg":"dapp-core-component__main__col-lg",colLg:"dapp-core-component__main__col-lg","col-lg-auto":"dapp-core-component__main__col-lg-auto",colLgAuto:"dapp-core-component__main__col-lg-auto","col-lg-12":"dapp-core-component__main__col-lg-12",colLg12:"dapp-core-component__main__col-lg-12","col-lg-11":"dapp-core-component__main__col-lg-11",colLg11:"dapp-core-component__main__col-lg-11","col-lg-10":"dapp-core-component__main__col-lg-10",colLg10:"dapp-core-component__main__col-lg-10","col-lg-9":"dapp-core-component__main__col-lg-9",colLg9:"dapp-core-component__main__col-lg-9","col-lg-8":"dapp-core-component__main__col-lg-8",colLg8:"dapp-core-component__main__col-lg-8","col-lg-7":"dapp-core-component__main__col-lg-7",colLg7:"dapp-core-component__main__col-lg-7","col-lg-6":"dapp-core-component__main__col-lg-6",colLg6:"dapp-core-component__main__col-lg-6","col-lg-5":"dapp-core-component__main__col-lg-5",colLg5:"dapp-core-component__main__col-lg-5","col-lg-4":"dapp-core-component__main__col-lg-4",colLg4:"dapp-core-component__main__col-lg-4","col-lg-3":"dapp-core-component__main__col-lg-3",colLg3:"dapp-core-component__main__col-lg-3","col-lg-2":"dapp-core-component__main__col-lg-2",colLg2:"dapp-core-component__main__col-lg-2","col-lg-1":"dapp-core-component__main__col-lg-1",colLg1:"dapp-core-component__main__col-lg-1","col-md":"dapp-core-component__main__col-md",colMd:"dapp-core-component__main__col-md","col-md-auto":"dapp-core-component__main__col-md-auto",colMdAuto:"dapp-core-component__main__col-md-auto","col-md-12":"dapp-core-component__main__col-md-12",colMd12:"dapp-core-component__main__col-md-12","col-md-11":"dapp-core-component__main__col-md-11",colMd11:"dapp-core-component__main__col-md-11","col-md-10":"dapp-core-component__main__col-md-10",colMd10:"dapp-core-component__main__col-md-10","col-md-9":"dapp-core-component__main__col-md-9",colMd9:"dapp-core-component__main__col-md-9","col-md-8":"dapp-core-component__main__col-md-8",colMd8:"dapp-core-component__main__col-md-8","col-md-7":"dapp-core-component__main__col-md-7",colMd7:"dapp-core-component__main__col-md-7","col-md-6":"dapp-core-component__main__col-md-6",colMd6:"dapp-core-component__main__col-md-6","col-md-5":"dapp-core-component__main__col-md-5",colMd5:"dapp-core-component__main__col-md-5","col-md-4":"dapp-core-component__main__col-md-4",colMd4:"dapp-core-component__main__col-md-4","col-md-3":"dapp-core-component__main__col-md-3",colMd3:"dapp-core-component__main__col-md-3","col-md-2":"dapp-core-component__main__col-md-2",colMd2:"dapp-core-component__main__col-md-2","col-md-1":"dapp-core-component__main__col-md-1",colMd1:"dapp-core-component__main__col-md-1","col-sm":"dapp-core-component__main__col-sm",colSm:"dapp-core-component__main__col-sm","col-sm-auto":"dapp-core-component__main__col-sm-auto",colSmAuto:"dapp-core-component__main__col-sm-auto","col-sm-12":"dapp-core-component__main__col-sm-12",colSm12:"dapp-core-component__main__col-sm-12","col-sm-11":"dapp-core-component__main__col-sm-11",colSm11:"dapp-core-component__main__col-sm-11","col-sm-10":"dapp-core-component__main__col-sm-10",colSm10:"dapp-core-component__main__col-sm-10","col-sm-9":"dapp-core-component__main__col-sm-9",colSm9:"dapp-core-component__main__col-sm-9","col-sm-8":"dapp-core-component__main__col-sm-8",colSm8:"dapp-core-component__main__col-sm-8","col-sm-7":"dapp-core-component__main__col-sm-7",colSm7:"dapp-core-component__main__col-sm-7","col-sm-6":"dapp-core-component__main__col-sm-6",colSm6:"dapp-core-component__main__col-sm-6","col-sm-5":"dapp-core-component__main__col-sm-5",colSm5:"dapp-core-component__main__col-sm-5","col-sm-4":"dapp-core-component__main__col-sm-4",colSm4:"dapp-core-component__main__col-sm-4","col-sm-3":"dapp-core-component__main__col-sm-3",colSm3:"dapp-core-component__main__col-sm-3","col-sm-2":"dapp-core-component__main__col-sm-2",colSm2:"dapp-core-component__main__col-sm-2","col-sm-1":"dapp-core-component__main__col-sm-1",colSm1:"dapp-core-component__main__col-sm-1","col-auto":"dapp-core-component__main__col-auto",colAuto:"dapp-core-component__main__col-auto","col-12":"dapp-core-component__main__col-12",col12:"dapp-core-component__main__col-12","col-11":"dapp-core-component__main__col-11",col11:"dapp-core-component__main__col-11","col-10":"dapp-core-component__main__col-10",col10:"dapp-core-component__main__col-10","col-9":"dapp-core-component__main__col-9",col9:"dapp-core-component__main__col-9","col-8":"dapp-core-component__main__col-8",col8:"dapp-core-component__main__col-8","col-7":"dapp-core-component__main__col-7",col7:"dapp-core-component__main__col-7","col-6":"dapp-core-component__main__col-6",col6:"dapp-core-component__main__col-6","col-5":"dapp-core-component__main__col-5",col5:"dapp-core-component__main__col-5","col-4":"dapp-core-component__main__col-4",col4:"dapp-core-component__main__col-4","col-3":"dapp-core-component__main__col-3",col3:"dapp-core-component__main__col-3","col-2":"dapp-core-component__main__col-2",col2:"dapp-core-component__main__col-2","col-1":"dapp-core-component__main__col-1",col1:"dapp-core-component__main__col-1","flex-row":"dapp-core-component__main__flex-row",flexRow:"dapp-core-component__main__flex-row","flex-column":"dapp-core-component__main__flex-column",flexColumn:"dapp-core-component__main__flex-column","flex-row-reverse":"dapp-core-component__main__flex-row-reverse",flexRowReverse:"dapp-core-component__main__flex-row-reverse","flex-column-reverse":"dapp-core-component__main__flex-column-reverse",flexColumnReverse:"dapp-core-component__main__flex-column-reverse","flex-wrap":"dapp-core-component__main__flex-wrap",flexWrap:"dapp-core-component__main__flex-wrap","flex-nowrap":"dapp-core-component__main__flex-nowrap",flexNowrap:"dapp-core-component__main__flex-nowrap","flex-wrap-reverse":"dapp-core-component__main__flex-wrap-reverse",flexWrapReverse:"dapp-core-component__main__flex-wrap-reverse","flex-fill":"dapp-core-component__main__flex-fill",flexFill:"dapp-core-component__main__flex-fill","flex-grow-0":"dapp-core-component__main__flex-grow-0",flexGrow0:"dapp-core-component__main__flex-grow-0","flex-grow-1":"dapp-core-component__main__flex-grow-1",flexGrow1:"dapp-core-component__main__flex-grow-1","flex-shrink-0":"dapp-core-component__main__flex-shrink-0",flexShrink0:"dapp-core-component__main__flex-shrink-0","flex-shrink-1":"dapp-core-component__main__flex-shrink-1",flexShrink1:"dapp-core-component__main__flex-shrink-1","justify-content-start":"dapp-core-component__main__justify-content-start",justifyContentStart:"dapp-core-component__main__justify-content-start","justify-content-end":"dapp-core-component__main__justify-content-end",justifyContentEnd:"dapp-core-component__main__justify-content-end","justify-content-center":"dapp-core-component__main__justify-content-center",justifyContentCenter:"dapp-core-component__main__justify-content-center","justify-content-between":"dapp-core-component__main__justify-content-between",justifyContentBetween:"dapp-core-component__main__justify-content-between","justify-content-around":"dapp-core-component__main__justify-content-around",justifyContentAround:"dapp-core-component__main__justify-content-around","align-items-start":"dapp-core-component__main__align-items-start",alignItemsStart:"dapp-core-component__main__align-items-start","align-items-end":"dapp-core-component__main__align-items-end",alignItemsEnd:"dapp-core-component__main__align-items-end","align-items-center":"dapp-core-component__main__align-items-center",alignItemsCenter:"dapp-core-component__main__align-items-center","align-items-baseline":"dapp-core-component__main__align-items-baseline",alignItemsBaseline:"dapp-core-component__main__align-items-baseline","align-items-stretch":"dapp-core-component__main__align-items-stretch",alignItemsStretch:"dapp-core-component__main__align-items-stretch","align-content-start":"dapp-core-component__main__align-content-start",alignContentStart:"dapp-core-component__main__align-content-start","align-content-end":"dapp-core-component__main__align-content-end",alignContentEnd:"dapp-core-component__main__align-content-end","align-content-center":"dapp-core-component__main__align-content-center",alignContentCenter:"dapp-core-component__main__align-content-center","align-content-between":"dapp-core-component__main__align-content-between",alignContentBetween:"dapp-core-component__main__align-content-between","align-content-around":"dapp-core-component__main__align-content-around",alignContentAround:"dapp-core-component__main__align-content-around","align-content-stretch":"dapp-core-component__main__align-content-stretch",alignContentStretch:"dapp-core-component__main__align-content-stretch","align-self-auto":"dapp-core-component__main__align-self-auto",alignSelfAuto:"dapp-core-component__main__align-self-auto","align-self-start":"dapp-core-component__main__align-self-start",alignSelfStart:"dapp-core-component__main__align-self-start","align-self-end":"dapp-core-component__main__align-self-end",alignSelfEnd:"dapp-core-component__main__align-self-end","align-self-center":"dapp-core-component__main__align-self-center",alignSelfCenter:"dapp-core-component__main__align-self-center","align-self-baseline":"dapp-core-component__main__align-self-baseline",alignSelfBaseline:"dapp-core-component__main__align-self-baseline","align-self-stretch":"dapp-core-component__main__align-self-stretch",alignSelfStretch:"dapp-core-component__main__align-self-stretch","flex-sm-row":"dapp-core-component__main__flex-sm-row",flexSmRow:"dapp-core-component__main__flex-sm-row","flex-lg-row":"dapp-core-component__main__flex-lg-row",flexLgRow:"dapp-core-component__main__flex-lg-row","flex-lg-wrap":"dapp-core-component__main__flex-lg-wrap",flexLgWrap:"dapp-core-component__main__flex-lg-wrap","form-check":"dapp-core-component__main__form-check",formCheck:"dapp-core-component__main__form-check","form-check-label":"dapp-core-component__main__form-check-label",formCheckLabel:"dapp-core-component__main__form-check-label","form-check-input":"dapp-core-component__main__form-check-input",formCheckInput:"dapp-core-component__main__form-check-input","form-group":"dapp-core-component__main__form-group",formGroup:"dapp-core-component__main__form-group","form-control":"dapp-core-component__main__form-control",formControl:"dapp-core-component__main__form-control","form-label":"dapp-core-component__main__form-label",formLabel:"dapp-core-component__main__form-label","form-text":"dapp-core-component__main__form-text",formText:"dapp-core-component__main__form-text",border:"dapp-core-component__main__border","border-top":"dapp-core-component__main__border-top",borderTop:"dapp-core-component__main__border-top","border-right":"dapp-core-component__main__border-right",borderRight:"dapp-core-component__main__border-right","border-bottom":"dapp-core-component__main__border-bottom",borderBottom:"dapp-core-component__main__border-bottom","border-left":"dapp-core-component__main__border-left",borderLeft:"dapp-core-component__main__border-left","border-0":"dapp-core-component__main__border-0",border0:"dapp-core-component__main__border-0","border-top-0":"dapp-core-component__main__border-top-0",borderTop0:"dapp-core-component__main__border-top-0","border-right-0":"dapp-core-component__main__border-right-0",borderRight0:"dapp-core-component__main__border-right-0","border-bottom-0":"dapp-core-component__main__border-bottom-0",borderBottom0:"dapp-core-component__main__border-bottom-0","border-left-0":"dapp-core-component__main__border-left-0",borderLeft0:"dapp-core-component__main__border-left-0","rounded-sm":"dapp-core-component__main__rounded-sm",roundedSm:"dapp-core-component__main__rounded-sm",rounded:"dapp-core-component__main__rounded","rounded-top":"dapp-core-component__main__rounded-top",roundedTop:"dapp-core-component__main__rounded-top","rounded-right":"dapp-core-component__main__rounded-right",roundedRight:"dapp-core-component__main__rounded-right","rounded-bottom":"dapp-core-component__main__rounded-bottom",roundedBottom:"dapp-core-component__main__rounded-bottom","rounded-left":"dapp-core-component__main__rounded-left",roundedLeft:"dapp-core-component__main__rounded-left","rounded-lg":"dapp-core-component__main__rounded-lg",roundedLg:"dapp-core-component__main__rounded-lg","rounded-circle":"dapp-core-component__main__rounded-circle",roundedCircle:"dapp-core-component__main__rounded-circle","rounded-pill":"dapp-core-component__main__rounded-pill",roundedPill:"dapp-core-component__main__rounded-pill","rounded-0":"dapp-core-component__main__rounded-0",rounded0:"dapp-core-component__main__rounded-0",h1:"dapp-core-component__main__h1",h2:"dapp-core-component__main__h2",h3:"dapp-core-component__main__h3",h4:"dapp-core-component__main__h4",h5:"dapp-core-component__main__h5",lead:"dapp-core-component__main__lead","bg-primary":"dapp-core-component__main__bg-primary",bgPrimary:"dapp-core-component__main__bg-primary","bg-warning":"dapp-core-component__main__bg-warning",bgWarning:"dapp-core-component__main__bg-warning",warning:"dapp-core-component__main__warning","bg-danger":"dapp-core-component__main__bg-danger",bgDanger:"dapp-core-component__main__bg-danger",danger:"dapp-core-component__main__danger","bg-success":"dapp-core-component__main__bg-success",bgSuccess:"dapp-core-component__main__bg-success",success:"dapp-core-component__main__success","position-relative":"dapp-core-component__main__position-relative",positionRelative:"dapp-core-component__main__position-relative","position-absolute":"dapp-core-component__main__position-absolute",positionAbsolute:"dapp-core-component__main__position-absolute","w-25":"dapp-core-component__main__w-25",w25:"dapp-core-component__main__w-25","w-50":"dapp-core-component__main__w-50",w50:"dapp-core-component__main__w-50","w-75":"dapp-core-component__main__w-75",w75:"dapp-core-component__main__w-75","w-100":"dapp-core-component__main__w-100",w100:"dapp-core-component__main__w-100","w-auto":"dapp-core-component__main__w-auto",wAuto:"dapp-core-component__main__w-auto","h-25":"dapp-core-component__main__h-25",h25:"dapp-core-component__main__h-25","h-50":"dapp-core-component__main__h-50",h50:"dapp-core-component__main__h-50","h-75":"dapp-core-component__main__h-75",h75:"dapp-core-component__main__h-75","h-100":"dapp-core-component__main__h-100",h100:"dapp-core-component__main__h-100","h-auto":"dapp-core-component__main__h-auto",hAuto:"dapp-core-component__main__h-auto","mw-100":"dapp-core-component__main__mw-100",mw100:"dapp-core-component__main__mw-100","mh-100":"dapp-core-component__main__mh-100",mh100:"dapp-core-component__main__mh-100","min-vw-100":"dapp-core-component__main__min-vw-100",minVw100:"dapp-core-component__main__min-vw-100","min-vh-100":"dapp-core-component__main__min-vh-100",minVh100:"dapp-core-component__main__min-vh-100","vw-100":"dapp-core-component__main__vw-100",vw100:"dapp-core-component__main__vw-100","vh-100":"dapp-core-component__main__vh-100",vh100:"dapp-core-component__main__vh-100","locked-icon":"dapp-core-component__main__locked-icon",lockedIcon:"dapp-core-component__main__locked-icon","shadow-sm":"dapp-core-component__main__shadow-sm",shadowSm:"dapp-core-component__main__shadow-sm",shadow:"dapp-core-component__main__shadow","shadow-lg":"dapp-core-component__main__shadow-lg",shadowLg:"dapp-core-component__main__shadow-lg","shadow-none":"dapp-core-component__main__shadow-none",shadowNone:"dapp-core-component__main__shadow-none","d-none":"dapp-core-component__main__d-none",dNone:"dapp-core-component__main__d-none","d-inline":"dapp-core-component__main__d-inline",dInline:"dapp-core-component__main__d-inline","d-inline-block":"dapp-core-component__main__d-inline-block",dInlineBlock:"dapp-core-component__main__d-inline-block","d-block":"dapp-core-component__main__d-block",dBlock:"dapp-core-component__main__d-block","d-table":"dapp-core-component__main__d-table",dTable:"dapp-core-component__main__d-table","d-table-row":"dapp-core-component__main__d-table-row",dTableRow:"dapp-core-component__main__d-table-row","d-table-cell":"dapp-core-component__main__d-table-cell",dTableCell:"dapp-core-component__main__d-table-cell","d-flex":"dapp-core-component__main__d-flex",dFlex:"dapp-core-component__main__d-flex","d-inline-flex":"dapp-core-component__main__d-inline-flex",dInlineFlex:"dapp-core-component__main__d-inline-flex","d-sm-flex":"dapp-core-component__main__d-sm-flex",dSmFlex:"dapp-core-component__main__d-sm-flex","table-sm":"dapp-core-component__main__table-sm",tableSm:"dapp-core-component__main__table-sm","table-bordered":"dapp-core-component__main__table-bordered",tableBordered:"dapp-core-component__main__table-bordered","table-borderless":"dapp-core-component__main__table-borderless",tableBorderless:"dapp-core-component__main__table-borderless","table-striped":"dapp-core-component__main__table-striped",tableStriped:"dapp-core-component__main__table-striped","thead-dark":"dapp-core-component__main__thead-dark",theadDark:"dapp-core-component__main__thead-dark","thead-light":"dapp-core-component__main__thead-light",theadLight:"dapp-core-component__main__thead-light","table-dark":"dapp-core-component__main__table-dark",tableDark:"dapp-core-component__main__table-dark","table-hover":"dapp-core-component__main__table-hover",tableHover:"dapp-core-component__main__table-hover","table-responsive":"dapp-core-component__main__table-responsive",tableResponsive:"dapp-core-component__main__table-responsive","transaction-hash":"dapp-core-component__main__transaction-hash",transactionHash:"dapp-core-component__main__transaction-hash","font-weight-light":"dapp-core-component__main__font-weight-light",fontWeightLight:"dapp-core-component__main__font-weight-light","font-weight-lighter":"dapp-core-component__main__font-weight-lighter",fontWeightLighter:"dapp-core-component__main__font-weight-lighter","font-weight-normal":"dapp-core-component__main__font-weight-normal",fontWeightNormal:"dapp-core-component__main__font-weight-normal","font-weight-medium":"dapp-core-component__main__font-weight-medium",fontWeightMedium:"dapp-core-component__main__font-weight-medium","font-weight-bold":"dapp-core-component__main__font-weight-bold",fontWeightBold:"dapp-core-component__main__font-weight-bold","font-weight-bolder":"dapp-core-component__main__font-weight-bolder",fontWeightBolder:"dapp-core-component__main__font-weight-bolder","font-italic":"dapp-core-component__main__font-italic",fontItalic:"dapp-core-component__main__font-italic","icon-state":"dapp-core-component__main__icon-state",iconState:"dapp-core-component__main__icon-state",half:"dapp-core-component__main__half","side-icon":"dapp-core-component__main__side-icon",sideIcon:"dapp-core-component__main__side-icon","toast-messages":"dapp-core-component__main__toast-messages",toastMessages:"dapp-core-component__main__toast-messages",toast:"dapp-core-component__main__toast",clickable:"dapp-core-component__main__clickable","toast-visible":"dapp-core-component__main__toast-visible",toastVisible:"dapp-core-component__main__toast-visible",progress:"dapp-core-component__main__progress","progress-bar":"dapp-core-component__main__progress-bar",progressBar:"dapp-core-component__main__progress-bar","content-height":"dapp-core-component__main__content-height",contentHeight:"dapp-core-component__main__content-height","tx-description":"dapp-core-component__main__tx-description",txDescription:"dapp-core-component__main__tx-description",close:"dapp-core-component__main__close","data-field":"dapp-core-component__main__data-field",dataField:"dapp-core-component__main__data-field",textarea:"dapp-core-component__main__textarea",highlighted:"dapp-core-component__main__highlighted","sc-call":"dapp-core-component__main__sc-call",scCall:"dapp-core-component__main__sc-call","small-font":"dapp-core-component__main__small-font",smallFont:"dapp-core-component__main__small-font","progress-steps":"dapp-core-component__main__progress-steps",progressSteps:"dapp-core-component__main__progress-steps",steps:"dapp-core-component__main__steps",dot:"dapp-core-component__main__dot","side-link":"dapp-core-component__main__side-link",sideLink:"dapp-core-component__main__side-link"};t();t();var Te=f(require("react"));ce();t();t();var Ce=f(require("react")),ze=require("@fortawesome/free-solid-svg-icons"),xi=require("@fortawesome/react-fontawesome"),lt=f(require("classnames"));t();t();t();var Mp=f(require("axios"));t();t();A();t();var sa=f(require("lodash.isequal")),Wo=require("reselect");R();var g=(0,Wo.createSelectorCreator)(Wo.defaultMemoize,sa.default),mo=(e,o)=>e!=""&&Boolean(o);var pe=e=>e.account,Ge=g(pe,e=>e.address),_o=g(pe,Ge,(e,o)=>o in e.accounts?e.accounts[o]:Eo),Tc=g(pe,_o,(e,o)=>{let c=e,{accounts:n}=c,r=xe(c,["accounts"]);return S(T({},r),{account:o})}),hc=g(_o,e=>e.balance),xc=g(_o,e=>{var o;return((o=e==null?void 0:e.nonce)==null?void 0:o.valueOf())||0}),ca=g(pe,e=>e.shard),yc=g(pe,e=>e.ledgerAccount),jl=g(pe,e=>e.walletConnectAccount),zl=g(pe,e=>e.isAccountLoading),ql=g(pe,e=>e.accountLoadingError),pa=g(pe,e=>e.websocketEvent);t();var X=e=>e.loginInfo,Zl=g(X,e=>e.loginMethod),Yn=g(X,Ge,(e,o)=>mo(e.loginMethod,o)),Jl=g(X,e=>e.walletConnectLogin),Ql=g(X,e=>e.ledgerLogin),bc=g(X,e=>e.walletLogin),eu=g(X,e=>e.isLoginSessionInvalid),Sc=g(X,e=>e.tokenLogin),ou=g(X,e=>e.logoutRoute);t();var ma=e=>e.modals,ru=g(ma,e=>e.txSubmittedModal),wc=g(ma,e=>e.notificationModal);t();var te=e=>e.networkConfig,Go=g(te,e=>e.chainID),vc=g(te,e=>e.network.walletConnectBridgeAddress),kc=g(te,e=>e.network.walletConnectV2RelayAddress),Ac=g(te,e=>e.network.walletConnectV2ProjectId),Ic=g(te,e=>e.network.walletConnectV2Options),da=g(te,e=>e.network.walletConnectDeepLink),ue=g(te,e=>e.network),_a=g(ue,e=>e.apiAddress),la=g(ue,e=>e.explorerAddress),ua=g(ue,e=>e.egldLabel);t();var Zn=e=>e.signedMessageInfo,pu=g(Zn,e=>e.isSigning),mu=g(Zn,e=>e.errorMessage),du=g(Zn,e=>{let o=Object.keys(e.signedSessions),n=o.length;return e.signedSessions[o[n-1]]});t();var Jn=e=>e.toasts,uu=g(Jn,e=>e.customToasts),gu=g(Jn,e=>e.transactionToasts),fu=g(Jn,e=>e.failTransactionToast);t();A();var ga={errorMessage:jn,successMessage:zn,processingMessage:qn},Lc=e=>e.transactionsInfo,fa=g(Lc,(e,o)=>o,(e,o)=>o!=null&&(e==null?void 0:e[Number(o)])||ga);t();t();var j=require("@multiversx/sdk-core");k();t();function $o(e){try{return a.Buffer.from(e,"base64").toString()===atob(e)}catch(o){return!1}}function Vo(e){var c,p,m;let{data:o}=e,n=$o(o!=null?o:"")?j.TransactionPayload.fromEncoded(o):new j.TransactionPayload(o),r=new j.Transaction(T({value:e.value.valueOf(),data:n,nonce:e.nonce.valueOf(),receiver:new j.Address(e.receiver),sender:new j.Address(e.sender),gasLimit:(c=e.gasLimit.valueOf())!=null?c:ao,gasPrice:(p=e.gasPrice.valueOf())!=null?p:Io,chainID:e.chainID.valueOf(),version:new j.TransactionVersion((m=e.version)!=null?m:kr)},e.options?{options:new j.TransactionOptions(e.options)}:{}));return r.applySignature({hex:()=>e.signature||""},new j.Address(e.sender)),r}t();ce();t();var Cc=f(require("bignumber.js"));R();t();t();t();t();var Pc=require("@multiversx/sdk-core"),Dc=f(require("bignumber.js"));C();t();var Nc=require("@multiversx/sdk-core");t();t();t();var ot=require("@multiversx/sdk-core/out");t();k();var Rc=e=>{let o=a.Buffer.from([0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]);if(e.slice(0,o.length).equals(o))return!0;let r=a.Buffer.alloc(32).fill(0);return e.equals(r)},et=e=>{try{let n=parseInt("11",2),r=parseInt("01",2),c=a.Buffer.from(e,"hex"),p=c[31];if(Rc(c))return Ln;let m=p&n;return m>3-1&&(m=p&r),m}catch(o){return-1}};function xa({receiverAddress:e,senderShard:o,senderAddress:n}){try{let r=new ot.Address(e),c=et(r.pubkey());if(o==null&&n!=null){let p=new ot.Address(n);return et(p)===c}return c===o}catch(r){return!1}}t();var nt=require("@multiversx/sdk-core");R();function ya({receiver:e,data:o}){try{if(!o)return e;let n=$o(o)?nt.TransactionPayload.fromEncoded(o).toString():o,r=Mc(n),c=n.split("@");return r>-1?c[r]:e}catch(n){console.log(n);return}}function Mc(e){return e.includes("MultiESDTNFTTransfer")?1:e.includes("ESDTNFTTransfer")?4:-1}var ba=(e,o=1)=>e!=null?e.reduce((n,{receiver:r,data:c})=>{let p=ya({receiver:r,data:c!=null?c:""});return p==null?n:n&&xa({receiverAddress:p,senderShard:o})},!0):!0;t();t();t();t();C();t();t();var rt=require("@reduxjs/toolkit"),ja=require("react-redux/lib/utils/Subscription");A();t();var Sa=f(require("lodash.throttle"));k();A();Mn();ke();Oe();var Oc=[Lo],Ho=!1,Fc=(0,Sa.default)(()=>{so(io())},5e3),wa=e=>o=>n=>{var l;if(Oc.includes(n.type))return o(n);let r=e.getState(),c=q.local.getItem(_e.loginExpiresAt);if(!mo((l=r==null?void 0:r.loginInfo)==null?void 0:l.loginMethod,r==null?void 0:r.account.address))return o(n);if(c==null)return so(io());let m=Date.now();return c-m<0&&!Ho?setTimeout(()=>{Ho=!0,e.dispatch(Mr())},1e3):(Ho&&(Ho=!1),Fc()),o(n)};t();t();function jo(){return typeof sessionStorage!="undefined"}var $a=jo()?(Da(),Je(Pa)).default:(Ma(),Je(Ra)).default,Va=jo()?(Fa(),Je(Oa)).default:[],Ha=jo()?(Ga(),Je(Wa)).default:e=>e;zo();var w=(0,rt.configureStore)({reducer:$a,middleware:e=>e({serializableCheck:{ignoredActions:[...Va,Dn.type,Pn.type],ignoredPaths:["payload.nonce","account.account.nonce","providers.accountProvider"]}}).concat(wa)}),za=(0,ja.createSubscription)(w),Yg=Ha(w),Zg=(0,rt.configureStore)({reducer:$e});t();t();t();t();t();t();var lo="transactions";t();t();t();t();W();t();var Ka=!1;function tp(e){Ka||(console.error(e),Ka=!0)}function at({explorerAddress:e,to:o}){try{return new URL(o).href}catch(n){return o.startsWith("/")||(tp(`Link not prepended by / : ${o}`),o=`/${o}`),e?`${e}${o}`:o}}t();W();t();t();t();var sp=f(require("bignumber.js"));k();t();var ip=require("@multiversx/sdk-core"),it=f(require("bignumber.js"));k();t();var rp=f(require("bignumber.js"));t();it.default.config({ROUNDING_MODE:it.default.ROUND_FLOOR});t();t();t();k();t();t();t();t();k();t();k();t();var cp=require("@multiversx/sdk-core");k();t();var uo=require("@multiversx/sdk-core"),dp=require("@multiversx/sdk-network-providers");k();t();t();var pp=f(require("bignumber.js"));k();t();k();t();t();t();t();t();k();t();W();var lp=["reDelegateRewards","claimRewards","unBond"],up=["wrapEgld","unwrapEgld"],gp=["unStake"],fp=["unDelegate"];t();t();t();k();t();var bp=f(require("bignumber.js"));t();t();t();W();t();var Sp=f(require("bignumber.js"));t();t();t();t();W();t();t();t();var kp=f(require("linkifyjs"));t();k();t();var Ap=f(require("bignumber.js"));t();R();t();t();C();t();C();t();t();t();W();t();W();t();var Ip=f(require("bignumber.js"));k();W();t();W();t();var Qa=require("react");R();t();t();W();t();var Lp=require("@multiversx/sdk-core/out"),Ep=f(require("bignumber.js"));W();t();W();t();t();C();var Cy=[{label:"Raw",value:"raw"},{label:"Text",value:"text"},{label:"Decimal",value:"decimal"},{label:"Smart",value:"smart"}];t();var ei=require("react");R();t();var Np=require("react");W();var Fy=["create","localMint","ESDTLocalMint","addQuantity","burn","localBurn","ESDTLocalBurn","wipe","writeLog","signalError"];var Zo=e=>e.transactions,Ve=g(Zo,e=>e.signedTransactions),Pp=g(Zo,e=>e.signTransactionsError),oi=g(Zo,e=>e.signTransactionsCancelMessage),Jo=e=>o=>Object.entries(o).reduce((n,[r,c])=>(e(c.status)&&(n[r]=c),n),{}),ni=g(Ve,Jo(le)),ti=g(Ve,Jo(Be)),ri=g(Ve,Jo(Ue)),Dp=g(Ve,Jo(oo)),ai=g(Zo,e=>{var o;return(e==null?void 0:e.transactionsToSign)==null?null:S(T({},e.transactionsToSign),{transactions:((o=e==null?void 0:e.transactionsToSign)==null?void 0:o.transactions.map(n=>Vo(n)))||[]})}),Rp=g(Ve,(e,o)=>o,(e,o)=>o!=null?(e==null?void 0:e[o])||{}:{});t();var Op=f(require("axios"));t();var Bp=f(require("axios"));t();t();var Up=f(require("axios"));t();var Wp=f(require("axios"));t();t();t();var $p=f(require("axios"));t();t();t();t();ro();t();var Vp=f(require("axios"));t();var Hp=f(require("axios"));t();ro();t();ro();t();var jp=f(require("axios"));t();var He=f(require("react")),Qo=require("@fortawesome/free-solid-svg-icons"),ct=require("@fortawesome/react-fontawesome"),pi=f(require("classnames"));t();function zp(e){let o=!1,n=document==null?void 0:document.createElement("textarea");n.value=e,n.style.position="fixed",document==null||document.body.appendChild(n),n.focus(),n.select();try{document==null||document.execCommand("copy"),o=!0}catch(r){console.error("Fallback: Oops, unable to copy",r)}return document==null||document.body.removeChild(n),o}function si(e){return b(this,null,function*(){let o=!1;return navigator.clipboard?o=yield navigator.clipboard.writeText(e).then(function(){return!0},function(r){return console.error("Async: Could not copy text: ",r),!1}):o=zp(e),o})}t();var qp=`.dapp-core-component__copyButtonStyles__copy {
2704
2704
  color: #6c757d;
2705
- }`;document.head.appendChild(document.createElement("style")).appendChild(document.createTextNode(qp));var ci={copy:"dapp-core-component__copyButtonStyles__copy"};var mi=({text:e,className:o="dapp-copy-button"})=>{let[n,r]=(0,He.useState)({default:!0,success:!1});return He.default.createElement("a",{href:"/#",onClick:p=>b(void 0,null,function*(){p.preventDefault(),p.stopPropagation();let m=e&&e.trim();r({default:!1,success:yield si(m)}),setTimeout(()=>{r({default:!0,success:!1})},1e3)}),className:(0,pi.default)(ci.copy,o)},n.default||!n.success?He.default.createElement(ct.FontAwesomeIcon,{icon:Qo.faCopy}):He.default.createElement(ct.FontAwesomeIcon,{icon:Qo.faCheck}))};t();t();var dt=f(require("react")),_i=require("@fortawesome/free-solid-svg-icons"),li=require("@fortawesome/react-fontawesome"),gi=f(require("classnames"));t();t();var di=require("react"),je=require("react-redux");var Kp={store:w,subscription:za},pt=(0,di.createContext)(Kp),Q0=(0,je.createStoreHook)(pt),$=(0,je.createDispatchHook)(pt),v=(0,je.createSelectorHook)(pt);var en=()=>v(te);t();var Xp=`.dapp-core-component__explorerLinkStyles__link .dapp-core-component__explorerLinkStyles__search {
2705
+ }`;document.head.appendChild(document.createElement("style")).appendChild(document.createTextNode(qp));var ci={copy:"dapp-core-component__copyButtonStyles__copy"};var mi=({text:e,className:o="dapp-copy-button"})=>{let[n,r]=(0,He.useState)({default:!0,success:!1});return He.default.createElement("a",{href:"/#",onClick:p=>b(void 0,null,function*(){p.preventDefault(),p.stopPropagation();let m=e&&e.trim();r({default:!1,success:yield si(m)}),setTimeout(()=>{r({default:!0,success:!1})},1e3)}),className:(0,pi.default)(ci.copy,o)},n.default||!n.success?He.default.createElement(ct.FontAwesomeIcon,{icon:Qo.faCopy}):He.default.createElement(ct.FontAwesomeIcon,{icon:Qo.faCheck}))};t();t();var dt=f(require("react")),_i=require("@fortawesome/free-solid-svg-icons"),li=require("@fortawesome/react-fontawesome"),ui=f(require("classnames"));t();t();var di=require("react"),je=require("react-redux");var Kp={store:w,subscription:za},pt=(0,di.createContext)(Kp),Q0=(0,je.createStoreHook)(pt),$=(0,je.createDispatchHook)(pt),v=(0,je.createSelectorHook)(pt);var en=()=>v(te);t();var Xp=`.dapp-core-component__explorerLinkStyles__link .dapp-core-component__explorerLinkStyles__search {
2706
2706
  color: #6c757d;
2707
- }`;document.head.appendChild(document.createElement("style")).appendChild(document.createTextNode(Xp));var mt={link:"dapp-core-component__explorerLinkStyles__link",search:"dapp-core-component__explorerLinkStyles__search"};var ui=p=>{var m=p,{page:e,text:o,className:n="dapp-explorer-link",children:r}=m,c=xe(m,["page","text","className","children"]);let{network:{explorerAddress:_}}=en(),l=o!=null?o:dt.default.createElement(li.FontAwesomeIcon,{icon:_i.faSearch,className:mt.search}),g=at({explorerAddress:String(_),to:e});return dt.default.createElement("a",T({href:g,target:"_blank",className:(0,gi.default)(mt.link,Fe.ml2,n),rel:"noreferrer"},c),r!=null?r:l)};t();var Yp=`.dapp-core-component__transactionDetails-styles__title {
2707
+ }`;document.head.appendChild(document.createElement("style")).appendChild(document.createTextNode(Xp));var mt={link:"dapp-core-component__explorerLinkStyles__link",search:"dapp-core-component__explorerLinkStyles__search"};var gi=p=>{var m=p,{page:e,text:o,className:n="dapp-explorer-link",children:r}=m,c=xe(m,["page","text","className","children"]);let{network:{explorerAddress:_}}=en(),l=o!=null?o:dt.default.createElement(li.FontAwesomeIcon,{icon:_i.faSearch,className:mt.search}),u=at({explorerAddress:String(_),to:e});return dt.default.createElement("a",T({href:u,target:"_blank",className:(0,ui.default)(mt.link,Fe.ml2,n),rel:"noreferrer"},c),r!=null?r:l)};t();var Yp=`.dapp-core-component__transactionDetails-styles__title {
2708
2708
  margin-bottom: 0;
2709
2709
  }
2710
2710
 
@@ -2851,7 +2851,7 @@ a > .dapp-core-component__trim-styles__trim span.dapp-core-component__trim-style
2851
2851
  .dapp-core-component__trim-styles__table .dapp-core-component__trim-styles__trim-size-xl .dapp-core-component__trim-styles__trim {
2852
2852
  max-width: 13rem;
2853
2853
  }
2854
- }`;document.head.appendChild(document.createElement("style")).appendChild(document.createTextNode(Zp));var Ee={trim:"dapp-core-component__trim-styles__trim",overflow:"dapp-core-component__trim-styles__overflow",ellipsis:"dapp-core-component__trim-styles__ellipsis",left:"dapp-core-component__trim-styles__left",right:"dapp-core-component__trim-styles__right","hidden-text-ref":"dapp-core-component__trim-styles__hidden-text-ref",hiddenTextRef:"dapp-core-component__trim-styles__hidden-text-ref","trim-wrapper":"dapp-core-component__trim-styles__trim-wrapper",trimWrapper:"dapp-core-component__trim-styles__trim-wrapper","text-primary":"dapp-core-component__trim-styles__text-primary",textPrimary:"dapp-core-component__trim-styles__text-primary",table:"dapp-core-component__trim-styles__table","trim-only-sm":"dapp-core-component__trim-styles__trim-only-sm",trimOnlySm:"dapp-core-component__trim-styles__trim-only-sm","trim-fs-sm":"dapp-core-component__trim-styles__trim-fs-sm",trimFsSm:"dapp-core-component__trim-styles__trim-fs-sm","trim-size-xl":"dapp-core-component__trim-styles__trim-size-xl",trimSizeXl:"dapp-core-component__trim-styles__trim-size-xl"};var hi=({text:e,className:o="dapp-trim",dataTestId:n="trim-text-component",color:r})=>{let[c,p]=(0,P.useState)(!1),m=(0,P.useRef)(document==null?void 0:document.createElement("span")),_=(0,P.useRef)(document==null?void 0:document.createElement("span")),l=(0,P.useCallback)((0,Ti.default)(()=>{if(m.current&&_.current){let x=_.current.offsetWidth-m.current.offsetWidth;p(x>1)}},300),[]);return(0,P.useEffect)(()=>(window.addEventListener("resize",l),()=>{window.removeEventListener("resize",l)})),(0,P.useEffect)(()=>{l()},[]),P.default.createElement("span",{ref:m,className:(0,fi.default)(Ee.trim,r!=null?r:"",{[Ee.overflow]:c},o),"data-testid":n},P.default.createElement("span",{ref:_,className:Ee.hiddenTextRef},e),c?P.default.createElement(P.default.Fragment,null,P.default.createElement("span",{className:Ee.left},P.default.createElement("span",null,String(e).substring(0,Math.floor(e.length/2)))),P.default.createElement("span",{className:Ee.ellipsis},"..."),P.default.createElement("span",{className:Ee.right},P.default.createElement("span",null,String(e).substring(Math.ceil(e.length/2))))):P.default.createElement("span",null,e))};ce();var Jp={icon:ze.faCheck},_t={icon:ze.faTimes},Qp={icon:ze.faCircleNotch},em={pending:Qp,success:Jp,fail:_t,invalid:_t,timedOut:_t},yi=({className:e,hash:o,status:n,iconSrc:r,isTimedOut:c})=>{var _;let p=n?em[n]:null,m=(_=r==null?void 0:r.icon)!=null?_:p==null?void 0:p.icon;return Ce.default.createElement("div",{className:(0,lt.default)(Le.container,e),key:o},!c&&m!=null&&Ce.default.createElement(xi.FontAwesomeIcon,{icon:m,className:(0,lt.default)(Le.icon,{"fa-spin slow-spin":n==="pending"})}),Ce.default.createElement("span",{className:Le.trim},Ce.default.createElement(hi,{text:o})),Ce.default.createElement(mi,{text:o}),!no(n)&&Ce.default.createElement(ui,{page:`/${lo}/${o}`,className:Fe.ml2}))};var bi=({title:e,transactions:o,isTimedOut:n=!1,className:r="dapp-transaction-details"})=>{if(o==null)return null;let c=(0,Te.useMemo)(()=>{let p=o.filter(_=>!no(_==null?void 0:_.status)),m=o.length;return`${p.length} / ${m} transactions processed`},[o]);return Te.default.createElement(Te.default.Fragment,null,e&&Te.default.createElement("div",{className:Le.title},e),Te.default.createElement("div",{className:Le.status},c),o.map(({hash:p,status:m})=>Te.default.createElement(yi,S(T({},{className:r,hash:p,status:m,isTimedOut:n}),{key:p}))))};t();var om=`.dapp-core-component__transactionToast-styles__content {
2854
+ }`;document.head.appendChild(document.createElement("style")).appendChild(document.createTextNode(Zp));var Ee={trim:"dapp-core-component__trim-styles__trim",overflow:"dapp-core-component__trim-styles__overflow",ellipsis:"dapp-core-component__trim-styles__ellipsis",left:"dapp-core-component__trim-styles__left",right:"dapp-core-component__trim-styles__right","hidden-text-ref":"dapp-core-component__trim-styles__hidden-text-ref",hiddenTextRef:"dapp-core-component__trim-styles__hidden-text-ref","trim-wrapper":"dapp-core-component__trim-styles__trim-wrapper",trimWrapper:"dapp-core-component__trim-styles__trim-wrapper","text-primary":"dapp-core-component__trim-styles__text-primary",textPrimary:"dapp-core-component__trim-styles__text-primary",table:"dapp-core-component__trim-styles__table","trim-only-sm":"dapp-core-component__trim-styles__trim-only-sm",trimOnlySm:"dapp-core-component__trim-styles__trim-only-sm","trim-fs-sm":"dapp-core-component__trim-styles__trim-fs-sm",trimFsSm:"dapp-core-component__trim-styles__trim-fs-sm","trim-size-xl":"dapp-core-component__trim-styles__trim-size-xl",trimSizeXl:"dapp-core-component__trim-styles__trim-size-xl"};var hi=({text:e,className:o="dapp-trim",dataTestId:n="trim-text-component",color:r})=>{let[c,p]=(0,P.useState)(!1),m=(0,P.useRef)(document==null?void 0:document.createElement("span")),_=(0,P.useRef)(document==null?void 0:document.createElement("span")),l=(0,P.useCallback)((0,Ti.default)(()=>{if(m.current&&_.current){let x=_.current.offsetWidth-m.current.offsetWidth;p(x>1)}},300),[]);return(0,P.useEffect)(()=>(window.addEventListener("resize",l),()=>{window.removeEventListener("resize",l)})),(0,P.useEffect)(()=>{l()},[]),P.default.createElement("span",{ref:m,className:(0,fi.default)(Ee.trim,r!=null?r:"",{[Ee.overflow]:c},o),"data-testid":n},P.default.createElement("span",{ref:_,className:Ee.hiddenTextRef},e),c?P.default.createElement(P.default.Fragment,null,P.default.createElement("span",{className:Ee.left},P.default.createElement("span",null,String(e).substring(0,Math.floor(e.length/2)))),P.default.createElement("span",{className:Ee.ellipsis},"..."),P.default.createElement("span",{className:Ee.right},P.default.createElement("span",null,String(e).substring(Math.ceil(e.length/2))))):P.default.createElement("span",null,e))};ce();var Jp={icon:ze.faCheck},_t={icon:ze.faTimes},Qp={icon:ze.faCircleNotch},em={pending:Qp,success:Jp,fail:_t,invalid:_t,timedOut:_t},yi=({className:e,hash:o,status:n,iconSrc:r,isTimedOut:c})=>{var _;let p=n?em[n]:null,m=(_=r==null?void 0:r.icon)!=null?_:p==null?void 0:p.icon;return Ce.default.createElement("div",{className:(0,lt.default)(Le.container,e),key:o},!c&&m!=null&&Ce.default.createElement(xi.FontAwesomeIcon,{icon:m,className:(0,lt.default)(Le.icon,{"fa-spin slow-spin":n==="pending"})}),Ce.default.createElement("span",{className:Le.trim},Ce.default.createElement(hi,{text:o})),Ce.default.createElement(mi,{text:o}),!no(n)&&Ce.default.createElement(gi,{page:`/${lo}/${o}`,className:Fe.ml2}))};var bi=({title:e,transactions:o,isTimedOut:n=!1,className:r="dapp-transaction-details"})=>{if(o==null)return null;let c=(0,Te.useMemo)(()=>{let p=o.filter(_=>!no(_==null?void 0:_.status)),m=o.length;return`${p.length} / ${m} transactions processed`},[o]);return Te.default.createElement(Te.default.Fragment,null,e&&Te.default.createElement("div",{className:Le.title},e),Te.default.createElement("div",{className:Le.status},c),o.map(({hash:p,status:m})=>Te.default.createElement(yi,S(T({},{className:r,hash:p,status:m,isTimedOut:n}),{key:p}))))};t();var om=`.dapp-core-component__transactionToast-styles__content {
2855
2855
  display: flex;
2856
2856
  align-items: center;
2857
2857
  }
@@ -2922,7 +2922,7 @@ a > .dapp-core-component__trim-styles__trim span.dapp-core-component__trim-style
2922
2922
  }
2923
2923
  .dapp-core-component__transactionToast-styles__content .dapp-core-component__transactionToast-styles__right .dapp-core-component__transactionToast-styles__heading .dapp-core-component__transactionToast-styles__footer {
2924
2924
  display: block;
2925
- }`;document.head.appendChild(document.createElement("style")).appendChild(document.createTextNode(om));var qe={content:"dapp-core-component__transactionToast-styles__content",left:"dapp-core-component__transactionToast-styles__left",warning:"dapp-core-component__transactionToast-styles__warning",danger:"dapp-core-component__transactionToast-styles__danger",success:"dapp-core-component__transactionToast-styles__success",icon:"dapp-core-component__transactionToast-styles__icon",svg:"dapp-core-component__transactionToast-styles__svg",right:"dapp-core-component__transactionToast-styles__right",heading:"dapp-core-component__transactionToast-styles__heading",title:"dapp-core-component__transactionToast-styles__title",close:"dapp-core-component__transactionToast-styles__close",footer:"dapp-core-component__transactionToast-styles__footer"};var wi=({style:e,toastDataState:o,transactions:n,showCloseButton:r,onDeleteToast:c,toastTitle:p,isTimedOut:m,customElements:_={CustomCloseButton:_r,TransactionToastStatusIcon:Si.FontAwesomeIcon,TransactionDetails:bi}})=>{let l=_==null?void 0:_.TransactionDetails,g=_==null?void 0:_.TransactionToastStatusIcon,x=_==null?void 0:_.CustomCloseButton;return Y.default.createElement("div",{className:e.content},Y.default.createElement("div",{className:e.left},Y.default.createElement("div",{className:(0,gt.default)(e.icon,o.iconClassName)},g&&Y.default.createElement(g,{size:"5x",icon:o.icon,className:e.svg}))),Y.default.createElement("div",{className:e.right},Y.default.createElement("div",{className:e.heading},Y.default.createElement("h5",{className:(0,gt.default)([Fe.h5,e.mb4])},o.title),r&&x&&Y.default.createElement(x,{className:qe.close,onClick:c})),Y.default.createElement("div",{className:e.footer},l&&Y.default.createElement(l,{transactions:n,title:p,isTimedOut:m}))))};t();var vi=f(require("react")),ki=f(require("classnames"));t();var nm=`.dapp-core-component__transactionsToastList-styles__toasts {
2925
+ }`;document.head.appendChild(document.createElement("style")).appendChild(document.createTextNode(om));var qe={content:"dapp-core-component__transactionToast-styles__content",left:"dapp-core-component__transactionToast-styles__left",warning:"dapp-core-component__transactionToast-styles__warning",danger:"dapp-core-component__transactionToast-styles__danger",success:"dapp-core-component__transactionToast-styles__success",icon:"dapp-core-component__transactionToast-styles__icon",svg:"dapp-core-component__transactionToast-styles__svg",right:"dapp-core-component__transactionToast-styles__right",heading:"dapp-core-component__transactionToast-styles__heading",title:"dapp-core-component__transactionToast-styles__title",close:"dapp-core-component__transactionToast-styles__close",footer:"dapp-core-component__transactionToast-styles__footer"};var wi=({style:e,toastDataState:o,transactions:n,showCloseButton:r,onDeleteToast:c,toastTitle:p,isTimedOut:m,customElements:_={CustomCloseButton:_r,TransactionToastStatusIcon:Si.FontAwesomeIcon,TransactionDetails:bi}})=>{let l=_==null?void 0:_.TransactionDetails,u=_==null?void 0:_.TransactionToastStatusIcon,x=_==null?void 0:_.CustomCloseButton;return Y.default.createElement("div",{className:e.content},Y.default.createElement("div",{className:e.left},Y.default.createElement("div",{className:(0,ut.default)(e.icon,o.iconClassName)},u&&Y.default.createElement(u,{size:"5x",icon:o.icon,className:e.svg}))),Y.default.createElement("div",{className:e.right},Y.default.createElement("div",{className:e.heading},Y.default.createElement("h5",{className:(0,ut.default)([Fe.h5,e.mb4])},o.title),r&&x&&Y.default.createElement(x,{className:qe.close,onClick:c})),Y.default.createElement("div",{className:e.footer},l&&Y.default.createElement(l,{transactions:n,title:p,isTimedOut:m}))))};t();var vi=f(require("react")),ki=f(require("classnames"));t();var nm=`.dapp-core-component__transactionsToastList-styles__toasts {
2926
2926
  position: fixed;
2927
2927
  bottom: 1rem;
2928
2928
  left: 1rem;
@@ -2954,7 +2954,7 @@ a > .dapp-core-component__trim-styles__trim span.dapp-core-component__trim-style
2954
2954
  100% {
2955
2955
  width: 0%;
2956
2956
  }
2957
- }`;document.head.appendChild(document.createElement("style")).appendChild(document.createTextNode(nm));var ut={toasts:"dapp-core-component__transactionsToastList-styles__toasts",toastWrapper:"dapp-core-component__transactionsToastList-styles__toastWrapper",loader:"dapp-core-component__transactionsToastList-styles__loader"};var Ai=({className:e="dapp-transaction-toast-wrapper",children:o,id:n})=>vi.default.createElement("div",{id:n,className:(0,ki.default)(ut.toasts,ut.toastWrapper,e)},o);t();var To=require("react");k();t();t();var Ii=require("react");t();A();t();t();function Li(e){return v(o=>fa(o,e))}t();var rm=require("react"),am=require("@multiversx/sdk-web-wallet-provider"),im=f(require("qs"));k();A();C();t();var Ri=require("react"),bm=require("@multiversx/sdk-extension-provider");k();t();t();t();t();var sm=require("@multiversx/sdk-extension-provider"),cm=require("@multiversx/sdk-hw-provider"),pm=require("@multiversx/sdk-opera-provider"),mm=require("@multiversx/sdk-wallet-connect-provider/out/walletConnectProvider"),dm=require("@multiversx/sdk-wallet-connect-provider/out/walletConnectV2Provider"),_m=require("@multiversx/sdk-web-wallet-provider");k();C();var me=e=>`Unable to perform ${e}, Provider not initialized`,ft=class{init(){return Promise.resolve(!1)}login(o){throw new Error(me(`login with options: ${o}`))}logout(o){throw new Error(me(`logout with options: ${o}`))}getAddress(){throw new Error(me("getAddress"))}isInitialized(){return!1}isConnected(){return Promise.resolve(!1)}sendTransaction(o,n){throw new Error(me(`sendTransaction with transactions: ${o} options: ${n}`))}signTransaction(o,n){throw new Error(me(`signTransaction with transactions: ${o} options: ${n}`))}signTransactions(o,n){throw new Error(me(`signTransactions with transactions: ${o} options: ${n}`))}signMessage(o,n){throw new Error(me(`signTransactions with ${o} and options ${n}`))}sendCustomMessage({method:o,params:n}){throw new Error(me(`sendCustomMessage with method: ${o} params: ${n}`))}sendCustomRequest(o){throw new Error(me(`sendSessionEvent with options: ${o}`))}ping(){return Promise.resolve(!1)}},lm=new ft;A();C();t();t();t();t();t();t();var Di=require("react"),Tm=require("@multiversx/sdk-extension-provider");k();t();t();t();t();t();t();t();t();var uo=f(require("react"));var nv=(0,uo.createContext)({}),tv=w.getState();t();var Pi=f(require("react"));t();var yt=f(require("react")),gm=f(require("axios"));t();t();A();t();t();var Sm=f(require("axios")),wm=f(require("swr"));t();t();var Oi=require("react");t();var Mi=require("react");Un();A();R();t();t();co();t();Ae();A();t();t();t();t();t();t();A();t();C();ce();t();A();C();t();t();A();t();t();var Bi=require("@multiversx/sdk-core");t();O();R();t();ce();t();A();C();t();A();R();t();var Rm=require("react");t();t();t();A();t();t();var Lm=f(require("bignumber.js"));k();A();R();t();var Im=f(require("bignumber.js"));k();t();var Em=require("@multiversx/sdk-core"),Cm=f(require("bignumber.js"));k();t();t();t();var Ui,EI={hostname:typeof window!="undefined"?(Ui=window==null?void 0:window.location)==null?void 0:Ui.hostname:"",apiAddress:"https://api.multiversx.com",expirySeconds:60*60*24,tokenExpirationToastWarningSeconds:5*60};t();t();var Nm=f(require("axios"));t();t();t();t();Qe();C();ce();t();t();t();t();var Wi=require("react");t();t();var Om=require("react"),Fm=require("@multiversx/sdk-extension-provider");Ae();O();C();t();Ie();t();var Mm=require("react"),Gi=require("@multiversx/sdk-core");A();t();t();var Bm=require("react"),Um=require("@multiversx/sdk-opera-provider");Ae();O();C();Ie();t();var $m=require("react");Ae();A();t();t();t();vo();t();t();var Wm=f(require("platform"));t();O();R();co();ke();Oe();t();t();t();t();t();co();t();t();t();t();ke();t();t();t();A();t();t();var Gm=f(require("axios"));t();t();var $i=require("react"),Hm=require("@multiversx/sdk-hw-provider");Ae();O();A();C();Ie();t();var Vm=require("react");t();var wt=require("react"),qm=require("@multiversx/sdk-wallet-connect-provider/out/walletConnectProvider");O();A();C();Ie();t();var vt=require("react"),Km=require("@multiversx/sdk-wallet-connect-provider/out/walletConnectV2Provider");O();A();C();Ie();t();t();var Vi=require("react");t();var Zm=require("react");t();var kt=require("react"),Ym=require("socket.io-client");A();t();t();t();t();var Hi=e=>e.dappModal,Jm=u(Hi,e=>e.visible),rn=u(Hi,e=>e.modal),AN=u(rn,e=>e.showHeader),IN=u(rn,e=>e.showFooter),LN=u(rn,e=>e.headerText),EN=u(rn,e=>e.footerText);R();Qe();yn();ce();t();t();var Pe=require("@fortawesome/free-solid-svg-icons");R();var ji=({status:e,toastId:o,classes:n={success:"success",danger:"danger",warning:"warning"},transactionDisplayInfo:r})=>{var l,g,x,h;let c={id:o,icon:Pe.faCheck,expires:3e4,hasCloseButton:!0,title:(l=r==null?void 0:r.successMessage)!=null?l:"Transaction successful",iconClassName:n.success},p={id:o,expires:!1,icon:Pe.faHourglass,hasCloseButton:!1,title:(g=r==null?void 0:r.processingMessage)!=null?g:"Processing transaction",iconClassName:n.warning},m={id:o,icon:Pe.faTimes,title:(x=r==null?void 0:r.errorMessage)!=null?x:"Transaction failed",hasCloseButton:!0,iconClassName:n.danger},_={id:o,icon:Pe.faTimes,title:(h=r==null?void 0:r.timedOutMessage)!=null?h:"Transaction timed out",hasCloseButton:!0,iconClassName:n.warning};switch(e){case"signed":case"sent":return p;case"success":return c;case"cancelled":case"fail":return m;case"timedOut":return _;default:return p}};var qi=({toastId:e,transactions:o,status:n,lifetimeAfterSuccess:r,startTimestamp:c,endTimeProgress:p,onDelete:m})=>{let _=Li(e),l=v(ca),x=(0,To.useMemo)(()=>ba(o,l),[o,l])?6e3:5*6e3,h=(_==null?void 0:_.transactionDuration)||x,[L,E]=(0,To.useMemo)(()=>{let I=c||ve(),U=p||Qt(h);return[I,U]},[]),F={startTime:L,endTime:E},B=le(n),Xe=oo(n),de=ji({status:n,toastId:e,transactionDisplayInfo:_,classes:qe}),he=()=>{m==null||m(e)};return(0,To.useEffect)(()=>{if(n!=="success"||!r)return;let I=setTimeout(()=>{he()},r);return()=>{clearTimeout(I)}},[r,n]),{progress:F,isPending:B,isTimedOut:Xe,toastDataState:de,handleDeleteToast:he}};var Ki=({toastId:e,title:o="",className:n="dapp-transaction-toast",onDelete:r,startTimestamp:c,endTimeProgress:p,lifetimeAfterSuccess:m,status:_,transactions:l,customization:g})=>{var de,he;let{progress:x,isPending:h,isTimedOut:L,toastDataState:E,handleDeleteToast:F}=qi({toastId:e,transactions:l,status:_,lifetimeAfterSuccess:m,startTimestamp:c,endTimeProgress:p,onDelete:r}),B=(de=g==null?void 0:g.Progress)!=null?de:pr,Xe=(he=g==null?void 0:g.TransactionToastContent)!=null?he:wi;return an.default.createElement(Ai,{className:n},an.default.createElement(B,{key:e,id:e,progress:x,expiresIn:m,done:!h||L},an.default.createElement(Xe,{style:qe,toastDataState:E,transactions:l!=null?l:[],toastTitle:o,isTimedOut:L,showCloseButton:!h,onDeleteToast:F,customElements:g==null?void 0:g.TransactionToastContentCustomElements})))};var ed=({className:e,signedTransactionsToRender:o,successfulToastLifetime:n,handleDeleteTransactionToast:r,startTimestamp:c,toastId:p})=>{let m=o[p];if(m==null||(m==null?void 0:m.transactions)==null||(m==null?void 0:m.status)==null)return null;let{transactions:l,status:g}=m;return Xi.default.createElement(Ki,{key:p,startTimestamp:c,toastId:p,transactions:l,status:g,lifetimeAfterSuccess:n,onDelete:r,className:e})};0&&(module.exports={TransactionToastGuard});
2957
+ }`;document.head.appendChild(document.createElement("style")).appendChild(document.createTextNode(nm));var gt={toasts:"dapp-core-component__transactionsToastList-styles__toasts",toastWrapper:"dapp-core-component__transactionsToastList-styles__toastWrapper",loader:"dapp-core-component__transactionsToastList-styles__loader"};var Ai=({className:e="dapp-transaction-toast-wrapper",children:o,id:n})=>vi.default.createElement("div",{id:n,className:(0,ki.default)(gt.toasts,gt.toastWrapper,e)},o);t();var To=require("react");k();t();t();var Ii=require("react");t();A();t();t();function Li(e){return v(o=>fa(o,e))}t();var rm=require("react"),am=require("@multiversx/sdk-web-wallet-provider"),im=f(require("qs"));k();A();C();t();var Ri=require("react"),bm=require("@multiversx/sdk-extension-provider");k();t();t();t();t();var sm=require("@multiversx/sdk-extension-provider"),cm=require("@multiversx/sdk-hw-provider"),pm=require("@multiversx/sdk-opera-provider"),mm=require("@multiversx/sdk-wallet-connect-provider/out/walletConnectProvider"),dm=require("@multiversx/sdk-wallet-connect-provider/out/walletConnectV2Provider"),_m=require("@multiversx/sdk-web-wallet-provider");k();C();var me=e=>`Unable to perform ${e}, Provider not initialized`,ft=class{init(){return Promise.resolve(!1)}login(o){throw new Error(me(`login with options: ${o}`))}logout(o){throw new Error(me(`logout with options: ${o}`))}getAddress(){throw new Error(me("getAddress"))}isInitialized(){return!1}isConnected(){return Promise.resolve(!1)}sendTransaction(o,n){throw new Error(me(`sendTransaction with transactions: ${o} options: ${n}`))}signTransaction(o,n){throw new Error(me(`signTransaction with transactions: ${o} options: ${n}`))}signTransactions(o,n){throw new Error(me(`signTransactions with transactions: ${o} options: ${n}`))}signMessage(o,n){throw new Error(me(`signTransactions with ${o} and options ${n}`))}sendCustomMessage({method:o,params:n}){throw new Error(me(`sendCustomMessage with method: ${o} params: ${n}`))}sendCustomRequest(o){throw new Error(me(`sendSessionEvent with options: ${o}`))}ping(){return Promise.resolve(!1)}},lm=new ft;A();C();t();t();t();t();t();t();var Di=require("react"),Tm=require("@multiversx/sdk-extension-provider");k();t();t();t();t();t();t();t();t();var go=f(require("react"));var nv=(0,go.createContext)({}),tv=w.getState();t();var Pi=f(require("react"));t();var yt=f(require("react")),um=f(require("axios"));t();t();A();t();t();var Sm=f(require("axios")),wm=f(require("swr"));t();t();var Oi=require("react");t();var Mi=require("react");Un();A();R();t();t();co();t();Ae();A();t();t();t();t();t();t();A();t();C();ce();t();A();C();t();t();A();t();t();var Bi=require("@multiversx/sdk-core");t();O();R();t();ce();t();A();C();t();A();R();t();var Rm=require("react");t();t();t();A();t();t();var Lm=f(require("bignumber.js"));k();A();R();t();var Im=f(require("bignumber.js"));k();t();var Em=require("@multiversx/sdk-core"),Cm=f(require("bignumber.js"));k();t();t();t();t();var Nm=f(require("axios"));t();var Ui,PI={hostname:typeof window!="undefined"?(Ui=window==null?void 0:window.location)==null?void 0:Ui.hostname:"",apiAddress:"https://api.multiversx.com",expirySeconds:60*60*24,tokenExpirationToastWarningSeconds:5*60};t();t();t();t();Qe();C();ce();t();t();t();t();var Wi=require("react");t();t();var Om=require("react"),Fm=require("@multiversx/sdk-extension-provider");Ae();O();C();t();Ie();t();var Mm=require("react"),Gi=require("@multiversx/sdk-core");A();t();t();var Bm=require("react"),Um=require("@multiversx/sdk-opera-provider");Ae();O();C();Ie();t();var $m=require("react");Ae();A();t();t();t();vo();t();t();var Wm=f(require("platform"));t();O();R();co();ke();Oe();t();t();t();t();t();co();t();t();t();t();ke();t();t();t();A();t();t();var Gm=f(require("axios"));t();t();var $i=require("react"),Hm=require("@multiversx/sdk-hw-provider");Ae();O();A();C();Ie();t();var Vm=require("react");t();var wt=require("react"),qm=require("@multiversx/sdk-wallet-connect-provider/out/walletConnectProvider");O();A();C();Ie();t();var vt=require("react"),Km=require("@multiversx/sdk-wallet-connect-provider/out/walletConnectV2Provider");O();A();C();Ie();t();t();var Vi=require("react");t();var Zm=require("react");t();var kt=require("react"),Ym=require("socket.io-client");A();t();t();t();t();var Hi=e=>e.dappModal,Jm=g(Hi,e=>e.visible),rn=g(Hi,e=>e.modal),AN=g(rn,e=>e.showHeader),IN=g(rn,e=>e.showFooter),LN=g(rn,e=>e.headerText),EN=g(rn,e=>e.footerText);R();Qe();yn();ce();t();t();var Pe=require("@fortawesome/free-solid-svg-icons");R();var ji=({status:e,toastId:o,classes:n={success:"success",danger:"danger",warning:"warning"},transactionDisplayInfo:r})=>{var l,u,x,h;let c={id:o,icon:Pe.faCheck,expires:3e4,hasCloseButton:!0,title:(l=r==null?void 0:r.successMessage)!=null?l:"Transaction successful",iconClassName:n.success},p={id:o,expires:!1,icon:Pe.faHourglass,hasCloseButton:!1,title:(u=r==null?void 0:r.processingMessage)!=null?u:"Processing transaction",iconClassName:n.warning},m={id:o,icon:Pe.faTimes,title:(x=r==null?void 0:r.errorMessage)!=null?x:"Transaction failed",hasCloseButton:!0,iconClassName:n.danger},_={id:o,icon:Pe.faTimes,title:(h=r==null?void 0:r.timedOutMessage)!=null?h:"Transaction timed out",hasCloseButton:!0,iconClassName:n.warning};switch(e){case"signed":case"sent":return p;case"success":return c;case"cancelled":case"fail":return m;case"timedOut":return _;default:return p}};var qi=({toastId:e,transactions:o,status:n,lifetimeAfterSuccess:r,startTimestamp:c,endTimeProgress:p,onDelete:m})=>{let _=Li(e),l=v(ca),x=(0,To.useMemo)(()=>ba(o,l),[o,l])?6e3:5*6e3,h=(_==null?void 0:_.transactionDuration)||x,[L,E]=(0,To.useMemo)(()=>{let I=c||ve(),U=p||Qt(h);return[I,U]},[]),F={startTime:L,endTime:E},B=le(n),Xe=oo(n),de=ji({status:n,toastId:e,transactionDisplayInfo:_,classes:qe}),he=()=>{m==null||m(e)};return(0,To.useEffect)(()=>{if(n!=="success"||!r)return;let I=setTimeout(()=>{he()},r);return()=>{clearTimeout(I)}},[r,n]),{progress:F,isPending:B,isTimedOut:Xe,toastDataState:de,handleDeleteToast:he}};var Ki=({toastId:e,title:o="",className:n="dapp-transaction-toast",onDelete:r,startTimestamp:c,endTimeProgress:p,lifetimeAfterSuccess:m,status:_,transactions:l,customization:u})=>{var de,he;let{progress:x,isPending:h,isTimedOut:L,toastDataState:E,handleDeleteToast:F}=qi({toastId:e,transactions:l,status:_,lifetimeAfterSuccess:m,startTimestamp:c,endTimeProgress:p,onDelete:r}),B=(de=u==null?void 0:u.Progress)!=null?de:pr,Xe=(he=u==null?void 0:u.TransactionToastContent)!=null?he:wi;return an.default.createElement(Ai,{className:n},an.default.createElement(B,{key:e,id:e,progress:x,expiresIn:m,done:!h||L},an.default.createElement(Xe,{style:qe,toastDataState:E,transactions:l!=null?l:[],toastTitle:o,isTimedOut:L,showCloseButton:!h,onDeleteToast:F,customElements:u==null?void 0:u.TransactionToastContentCustomElements})))};var ed=({className:e,signedTransactionsToRender:o,successfulToastLifetime:n,handleDeleteTransactionToast:r,startTimestamp:c,toastId:p})=>{let m=o[p];if(m==null||(m==null?void 0:m.transactions)==null||(m==null?void 0:m.status)==null)return null;let{transactions:l,status:u}=m;return Xi.default.createElement(Ki,{key:p,startTimestamp:c,toastId:p,transactions:l,status:u,lifetimeAfterSuccess:n,onDelete:r,className:e})};0&&(module.exports={TransactionToastGuard});
2958
2958
  /*!
2959
2959
  * The buffer module from node.js, for the browser.
2960
2960
  *