@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.
- package/UI/DappModal/hooks/index.js +1 -1
- package/UI/DappModal/hooks/useDappModal.js +1 -1
- package/UI/DappModal/index.js +1 -1
- package/UI/ModalContainer/ModalContainer.js +1 -1
- package/UI/ModalContainer/index.js +1 -1
- package/UI/NotificationModal/index.js +1 -1
- package/UI/SignTransactionsModals/SignTransactionsModals.js +1 -1
- package/UI/SignTransactionsModals/SignWithDeviceModal/SignStep.js +1 -1
- package/UI/SignTransactionsModals/SignWithDeviceModal/index.js +1 -1
- package/UI/SignTransactionsModals/SignWithExtensionModal/index.js +1 -1
- package/UI/SignTransactionsModals/SignWithLedgerModal/index.js +1 -1
- package/UI/SignTransactionsModals/SignWithOperaModal/index.js +1 -1
- package/UI/SignTransactionsModals/SignWithWalletConnectModal/index.js +1 -1
- package/UI/SignTransactionsModals/components/ConfirmationScreen.js +1 -1
- package/UI/SignTransactionsModals/components/DeviceConfirmationScreen.js +1 -1
- package/UI/SignTransactionsModals/components/index.js +1 -1
- package/UI/SignTransactionsModals/index.js +1 -1
- package/UI/TransactionInfo/TransactionInfo.js +1 -1
- package/UI/TransactionInfo/components/NonceMessage/NonceMessage.js +1 -1
- package/UI/TransactionInfo/components/NonceMessage/index.js +1 -1
- package/UI/TransactionInfo/components/index.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoNonce/TransactionInfoNonce.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoNonce/index.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/index.js +1 -1
- package/UI/TransactionInfo/index.js +1 -1
- package/UI/TransactionsTable/TransactionsTable.js +1 -1
- package/UI/TransactionsTable/index.js +1 -1
- package/UI/TransactionsToastList/TransactionsToastList.js +1 -1
- package/UI/TransactionsToastList/components/TransactionToast/TransactionToast.js +1 -1
- package/UI/TransactionsToastList/components/TransactionToast/hooks/useTransactionToast.js +1 -1
- package/UI/TransactionsToastList/components/TransactionToast/index.js +1 -1
- package/UI/TransactionsToastList/components/TransactionToastGuard.js +1 -1
- package/UI/TransactionsToastList/components/index.js +1 -1
- package/UI/TransactionsToastList/index.js +1 -1
- package/UI/extension/ExtensionLoginButton/index.js +1 -1
- package/UI/index.js +1 -1
- package/UI/ledger/LedgerLoginButton/index.js +1 -1
- package/UI/ledger/LedgerLoginContainer/ConfirmAddress.js +1 -1
- package/UI/ledger/LedgerLoginContainer/index.js +1 -1
- package/UI/ledger/index.js +1 -1
- package/UI/operaWallet/OperaWalletLoginButton/index.js +1 -1
- package/UI/pages/UnlockPage/index.js +1 -1
- package/UI/pages/index.js +1 -1
- package/UI/walletConnect/WalletConnectLoginButton/index.js +1 -1
- package/UI/walletConnect/WalletConnectLoginContainer/index.js +1 -1
- package/UI/walletConnect/index.js +1 -1
- package/UI/webWallet/WebWalletLoginButton/index.js +1 -1
- package/__chunks__/{chunk-ONXXXCCF.js → chunk-3SKYCSWV.js} +2 -2
- package/__chunks__/chunk-3SRVL7NW.js +2 -0
- package/__chunks__/chunk-5RGNESSR.js +2 -0
- package/__chunks__/{chunk-UHLFOFON.js → chunk-626QJNRP.js} +2 -2
- package/__chunks__/{chunk-WP4VSJLM.js → chunk-7XM2INU5.js} +2 -2
- package/__chunks__/{chunk-DKCOAZU7.js → chunk-BIJQ4KPR.js} +2 -2
- package/__chunks__/{chunk-M6XJNYK2.js → chunk-BVLG73TU.js} +2 -2
- package/__chunks__/{chunk-453MDZQF.js → chunk-CUOTDMV5.js} +2 -2
- package/__chunks__/{chunk-Z7WX5JMQ.js → chunk-DCGZA3FL.js} +2 -2
- package/__chunks__/{chunk-FTKQZDLX.js → chunk-FZX45LTX.js} +2 -2
- package/__chunks__/{chunk-EOQ4GBQT.js → chunk-HARAYXLU.js} +2 -2
- package/__chunks__/{chunk-KI2QJGAZ.js → chunk-HN6A4EU5.js} +2 -2
- package/__chunks__/{chunk-LR2EWIF5.js → chunk-KIRNHCVW.js} +2 -2
- package/__chunks__/{chunk-M5A6L4R7.js → chunk-KZDQY4JZ.js} +2 -2
- package/__chunks__/{chunk-UZBMRAWK.js → chunk-LEIZK3SB.js} +2 -2
- package/__chunks__/{chunk-YYIAF5XK.js → chunk-PR2H2LZF.js} +2 -2
- package/__chunks__/chunk-QE4AERN4.js +2 -0
- package/__chunks__/{chunk-NVREM3LI.js → chunk-TGBCGOC7.js} +2 -2
- package/__chunks__/{chunk-ZXXRMWLI.js → chunk-UYR62LTI.js} +2 -2
- package/__chunks__/{chunk-5TOXE3UO.js → chunk-XYOGQJMR.js} +2 -2
- package/__chunks__/{chunk-R7TIYVAO.js → chunk-YI2C5YZP.js} +2 -2
- package/__commonjs/UI/DappModal/hooks/index.js +1 -1
- package/__commonjs/UI/DappModal/hooks/useDappModal.js +1 -1
- package/__commonjs/UI/DappModal/index.js +3 -3
- package/__commonjs/UI/ModalContainer/ModalContainer.js +1 -1
- package/__commonjs/UI/ModalContainer/index.js +1 -1
- package/__commonjs/UI/NotificationModal/index.js +1 -1
- package/__commonjs/UI/SignTransactionsModals/SignTransactionsModals.js +1 -1
- package/__commonjs/UI/SignTransactionsModals/SignWithDeviceModal/SignStep.js +1 -1
- package/__commonjs/UI/SignTransactionsModals/SignWithDeviceModal/index.js +5 -5
- package/__commonjs/UI/SignTransactionsModals/SignWithExtensionModal/index.js +1 -1
- package/__commonjs/UI/SignTransactionsModals/SignWithLedgerModal/index.js +6 -6
- package/__commonjs/UI/SignTransactionsModals/SignWithOperaModal/index.js +1 -1
- package/__commonjs/UI/SignTransactionsModals/SignWithWalletConnectModal/index.js +1 -1
- package/__commonjs/UI/SignTransactionsModals/components/ConfirmationScreen.js +1 -1
- package/__commonjs/UI/SignTransactionsModals/components/DeviceConfirmationScreen.js +1 -1
- package/__commonjs/UI/SignTransactionsModals/components/index.js +1 -1
- package/__commonjs/UI/SignTransactionsModals/index.js +1 -1
- package/__commonjs/UI/TransactionInfo/TransactionInfo.js +1 -1
- package/__commonjs/UI/TransactionInfo/components/NonceMessage/NonceMessage.js +1 -1
- package/__commonjs/UI/TransactionInfo/components/NonceMessage/index.js +1 -1
- package/__commonjs/UI/TransactionInfo/components/index.js +1 -1
- package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoNonce/TransactionInfoNonce.js +2 -2
- package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoNonce/index.js +2 -2
- package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/index.js +1 -1
- package/__commonjs/UI/TransactionInfo/index.js +1 -1
- package/__commonjs/UI/TransactionsTable/TransactionsTable.js +1 -1
- package/__commonjs/UI/TransactionsTable/index.js +1 -1
- package/__commonjs/UI/TransactionsToastList/TransactionsToastList.js +1 -1
- package/__commonjs/UI/TransactionsToastList/components/TransactionToast/TransactionToast.js +1 -1
- package/__commonjs/UI/TransactionsToastList/components/TransactionToast/hooks/useTransactionToast.js +1 -1
- package/__commonjs/UI/TransactionsToastList/components/TransactionToast/index.js +1 -1
- package/__commonjs/UI/TransactionsToastList/components/TransactionToastGuard.js +8 -8
- package/__commonjs/UI/TransactionsToastList/components/index.js +1 -1
- package/__commonjs/UI/TransactionsToastList/index.js +1 -1
- package/__commonjs/UI/extension/ExtensionLoginButton/index.js +4 -4
- package/__commonjs/UI/index.js +67 -67
- package/__commonjs/UI/ledger/LedgerLoginButton/index.js +14 -14
- package/__commonjs/UI/ledger/LedgerLoginContainer/ConfirmAddress.js +1 -1
- package/__commonjs/UI/ledger/LedgerLoginContainer/index.js +13 -13
- package/__commonjs/UI/ledger/index.js +14 -14
- package/__commonjs/UI/operaWallet/OperaWalletLoginButton/index.js +3 -3
- package/__commonjs/UI/pages/UnlockPage/index.js +17 -17
- package/__commonjs/UI/pages/index.js +17 -17
- package/__commonjs/UI/walletConnect/WalletConnectLoginButton/index.js +6 -6
- package/__commonjs/UI/walletConnect/WalletConnectLoginContainer/index.js +5 -5
- package/__commonjs/UI/walletConnect/index.js +6 -6
- package/__commonjs/UI/webWallet/WebWalletLoginButton/index.js +3 -3
- package/__commonjs/__mocks__/index.js +1 -1
- package/__commonjs/__mocks__/utils/index.js +1 -1
- package/__commonjs/__mocks__/utils/renderWithProvider.js +1 -1
- package/__commonjs/components/LogoutListener/LogoutListener.js +1 -1
- package/__commonjs/components/LogoutListener/helpers/index.js +1 -1
- package/__commonjs/components/LogoutListener/helpers/useLogoutFromMultipleTabs.js +1 -1
- package/__commonjs/components/LogoutListener/helpers/useNativeAuthLogout.js +1 -1
- package/__commonjs/components/LogoutListener/helpers/useNativeAuthLogoutWarning/index.js +1 -1
- package/__commonjs/components/LogoutListener/helpers/useNativeAuthLogoutWarning/useNativeAuthLogoutWarning.js +1 -1
- package/__commonjs/components/LogoutListener/index.js +1 -1
- package/__commonjs/components/ProviderInitializer.js +1 -1
- package/__commonjs/components/TransactionsTracker/TransactionTracker.js +1 -1
- package/__commonjs/components/TransactionsTracker/index.js +1 -1
- package/__commonjs/components/TransactionsTracker/useTransactionsTracker.js +1 -1
- package/__commonjs/hooks/index.js +1 -1
- package/__commonjs/hooks/login/index.js +1 -1
- package/__commonjs/hooks/login/useExtensionLogin.js +1 -1
- package/__commonjs/hooks/login/useLedgerLogin.js +1 -1
- package/__commonjs/hooks/login/useLoginService.js +1 -1
- package/__commonjs/hooks/login/useOperaLogin.js +1 -1
- package/__commonjs/hooks/login/useWalletConnectLogin.js +1 -1
- package/__commonjs/hooks/login/useWalletConnectV2Login.js +1 -1
- package/__commonjs/hooks/login/useWebWalletLogin.js +1 -1
- package/__commonjs/hooks/transactions/index.js +1 -1
- package/__commonjs/hooks/transactions/useTrackTransactionStatus.js +1 -1
- package/__commonjs/services/index.js +1 -1
- package/__commonjs/services/nativeAuth/helpers/getLatestBlockHash.js +1 -1
- package/__commonjs/services/nativeAuth/helpers/index.js +1 -1
- package/__commonjs/services/nativeAuth/index.js +1 -1
- package/__commonjs/services/nativeAuth/methods/getToken.js +1 -1
- package/__commonjs/services/nativeAuth/methods/index.js +1 -1
- package/__commonjs/services/nativeAuth/nativeAuth.js +1 -1
- package/__commonjs/wrappers/DappProvider/CustomComponents.js +1 -1
- package/__commonjs/wrappers/DappProvider/index.js +1 -1
- package/__commonjs/wrappers/index.js +1 -1
- package/__mocks__/index.js +1 -1
- package/__mocks__/utils/index.js +1 -1
- package/__mocks__/utils/renderWithProvider.js +1 -1
- package/components/LogoutListener/LogoutListener.js +1 -1
- package/components/LogoutListener/helpers/index.js +1 -1
- package/components/LogoutListener/helpers/useLogoutFromMultipleTabs.js +1 -1
- package/components/LogoutListener/helpers/useNativeAuthLogout.js +1 -1
- package/components/LogoutListener/helpers/useNativeAuthLogoutWarning/index.js +1 -1
- package/components/LogoutListener/helpers/useNativeAuthLogoutWarning/useNativeAuthLogoutWarning.js +1 -1
- package/components/LogoutListener/index.js +1 -1
- package/components/ProviderInitializer.js +1 -1
- package/components/TransactionsTracker/TransactionTracker.js +1 -1
- package/components/TransactionsTracker/index.js +1 -1
- package/components/TransactionsTracker/useTransactionsTracker.js +1 -1
- package/hooks/index.js +1 -1
- package/hooks/login/index.js +1 -1
- package/hooks/login/useExtensionLogin.js +1 -1
- package/hooks/login/useLedgerLogin.js +1 -1
- package/hooks/login/useLoginService.js +1 -1
- package/hooks/login/useOperaLogin.js +1 -1
- package/hooks/login/useWalletConnectLogin.js +1 -1
- package/hooks/login/useWalletConnectV2Login.js +1 -1
- package/hooks/login/useWebWalletLogin.js +1 -1
- package/hooks/transactions/index.js +1 -1
- package/hooks/transactions/useTrackTransactionStatus.js +1 -1
- package/package.json +1 -1
- package/services/index.js +1 -1
- package/services/nativeAuth/helpers/getLatestBlockHash.d.ts +4 -2
- package/services/nativeAuth/helpers/getLatestBlockHash.js +1 -1
- package/services/nativeAuth/helpers/index.js +1 -1
- package/services/nativeAuth/index.js +1 -1
- package/services/nativeAuth/methods/getToken.js +1 -1
- package/services/nativeAuth/methods/index.js +1 -1
- package/services/nativeAuth/nativeAuth.js +1 -1
- package/wrappers/DappProvider/CustomComponents.js +1 -1
- package/wrappers/DappProvider/index.js +1 -1
- package/wrappers/index.js +1 -1
- package/__chunks__/chunk-AOKD6R54.js +0 -2
- package/__chunks__/chunk-RBBOONZU.js +0 -2
- package/__chunks__/chunk-XZ2PVEHF.js +0 -2
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";var ua=Object.create;var we=Object.defineProperty,fa=Object.defineProperties,xa=Object.getOwnPropertyDescriptor,ha=Object.getOwnPropertyDescriptors,ya=Object.getOwnPropertyNames,Fe=Object.getOwnPropertySymbols,ba=Object.getPrototypeOf,bo=Object.prototype.hasOwnProperty,vn=Object.prototype.propertyIsEnumerable;var kn=(e,o,n)=>o in e?we(e,o,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[o]=n,y=(e,o)=>{for(var n in o||(o={}))bo.call(o,n)&&kn(e,n,o[n]);if(Fe)for(var n of Fe(o))vn.call(o,n)&&kn(e,n,o[n]);return e},S=(e,o)=>fa(e,ha(o));var An=(e,o)=>{var n={};for(var r in e)bo.call(e,r)&&o.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&Fe)for(var r of Fe(e))o.indexOf(r)<0&&vn.call(e,r)&&(n[r]=e[r]);return n};var h=(e,o)=>()=>(e&&(o=e(e=0)),o);var Ue=(e,o)=>()=>(o||e((o={exports:{}}).exports,o),o.exports),oe=(e,o)=>{for(var n in o)we(e,n,{get:o[n],enumerable:!0})},In=(e,o,n,r)=>{if(o&&typeof o=="object"||typeof o=="function")for(let a of ya(o))!bo.call(e,a)&&a!==n&&we(e,a,{get:()=>o[a],enumerable:!(r=xa(o,a))||r.enumerable});return e};var T=(e,o,n)=>(n=e!=null?ua(ba(e)):{},In(o||!e||!e.__esModule?we(n,"default",{value:e,enumerable:!0}):n,e)),Se=e=>In(we({},"__esModule",{value:!0}),e);var O=(e,o,n)=>new Promise((r,a)=>{var s=d=>{try{l(n.next(d))}catch(g){a(g)}},m=d=>{try{l(n.throw(d))}catch(g){a(g)}},l=d=>d.done?r(d.value):Promise.resolve(d.value).then(s,m);l((n=n.apply(e,o)).next())});var Nn=Ue($e=>{"use strict";t();$e.byteLength=wa;$e.toByteArray=ka;$e.fromByteArray=Ia;var U=[],P=[],Ta=typeof Uint8Array!="undefined"?Uint8Array:Array,To="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(ne=0,En=To.length;ne<En;++ne)U[ne]=To[ne],P[To.charCodeAt(ne)]=ne;var ne,En;P["-".charCodeAt(0)]=62;P["_".charCodeAt(0)]=63;function Ln(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 wa(e){var o=Ln(e),n=o[0],r=o[1];return(n+r)*3/4-r}function Sa(e,o,n){return(o+n)*3/4-n}function ka(e){var o,n=Ln(e),r=n[0],a=n[1],s=new Ta(Sa(e,r,a)),m=0,l=a>0?r-4:r,d;for(d=0;d<l;d+=4)o=P[e.charCodeAt(d)]<<18|P[e.charCodeAt(d+1)]<<12|P[e.charCodeAt(d+2)]<<6|P[e.charCodeAt(d+3)],s[m++]=o>>16&255,s[m++]=o>>8&255,s[m++]=o&255;return a===2&&(o=P[e.charCodeAt(d)]<<2|P[e.charCodeAt(d+1)]>>4,s[m++]=o&255),a===1&&(o=P[e.charCodeAt(d)]<<10|P[e.charCodeAt(d+1)]<<4|P[e.charCodeAt(d+2)]>>2,s[m++]=o>>8&255,s[m++]=o&255),s}function va(e){return U[e>>18&63]+U[e>>12&63]+U[e>>6&63]+U[e&63]}function Aa(e,o,n){for(var r,a=[],s=o;s<n;s+=3)r=(e[s]<<16&16711680)+(e[s+1]<<8&65280)+(e[s+2]&255),a.push(va(r));return a.join("")}function Ia(e){for(var o,n=e.length,r=n%3,a=[],s=16383,m=0,l=n-r;m<l;m+=s)a.push(Aa(e,m,m+s>l?l:m+s));return r===1?(o=e[n-1],a.push(U[o>>2]+U[o<<4&63]+"==")):r===2&&(o=(e[n-2]<<8)+e[n-1],a.push(U[o>>10]+U[o>>4&63]+U[o<<2&63]+"=")),a.join("")}});var Cn=Ue(wo=>{t();wo.read=function(e,o,n,r,a){var s,m,l=a*8-r-1,d=(1<<l)-1,g=d>>1,f=-7,x=n?a-1:0,b=n?-1:1,A=e[o+x];for(x+=b,s=A&(1<<-f)-1,A>>=-f,f+=l;f>0;s=s*256+e[o+x],x+=b,f-=8);for(m=s&(1<<-f)-1,s>>=-f,f+=r;f>0;m=m*256+e[o+x],x+=b,f-=8);if(s===0)s=1-g;else{if(s===d)return m?NaN:(A?-1:1)*(1/0);m=m+Math.pow(2,r),s=s-g}return(A?-1:1)*m*Math.pow(2,s-r)};wo.write=function(e,o,n,r,a,s){var m,l,d,g=s*8-a-1,f=(1<<g)-1,x=f>>1,b=a===23?Math.pow(2,-24)-Math.pow(2,-77):0,A=r?0:s-1,w=r?1:-1,I=o<0||o===0&&1/o<0?1:0;for(o=Math.abs(o),isNaN(o)||o===1/0?(l=isNaN(o)?1:0,m=f):(m=Math.floor(Math.log(o)/Math.LN2),o*(d=Math.pow(2,-m))<1&&(m--,d*=2),m+x>=1?o+=b/d:o+=b*Math.pow(2,1-x),o*d>=2&&(m++,d/=2),m+x>=f?(l=0,m=f):m+x>=1?(l=(o*d-1)*Math.pow(2,a),m=m+x):(l=o*Math.pow(2,x-1)*Math.pow(2,a),m=0));a>=8;e[n+A]=l&255,A+=w,l/=256,a-=8);for(m=m<<a|l,g+=a;g>0;e[n+A]=m&255,A+=w,m/=256,g-=8);e[n+A-w]|=I*128}});var Hn=Ue(se=>{"use strict";t();var So=Nn(),ce=Cn(),Dn=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;se.Buffer=_;se.SlowBuffer=Ra;se.INSPECT_MAX_BYTES=50;var Ve=2147483647;se.kMaxLength=Ve;_.TYPED_ARRAY_SUPPORT=Ea();!_.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 Ea(){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(_.prototype,"parent",{enumerable:!0,get:function(){if(!!_.isBuffer(this))return this.buffer}});Object.defineProperty(_.prototype,"offset",{enumerable:!0,get:function(){if(!!_.isBuffer(this))return this.byteOffset}});function q(e){if(e>Ve)throw new RangeError('The value "'+e+'" is invalid for option "size"');var o=new Uint8Array(e);return Object.setPrototypeOf(o,_.prototype),o}function _(e,o,n){if(typeof e=="number"){if(typeof o=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return Io(e)}return Mn(e,o,n)}_.poolSize=8192;function Mn(e,o,n){if(typeof e=="string")return Na(e,o);if(ArrayBuffer.isView(e))return Ca(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($(e,ArrayBuffer)||e&&$(e.buffer,ArrayBuffer)||typeof SharedArrayBuffer!="undefined"&&($(e,SharedArrayBuffer)||e&&$(e.buffer,SharedArrayBuffer)))return vo(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 _.from(r,o,n);var a=Da(e);if(a)return a;if(typeof Symbol!="undefined"&&Symbol.toPrimitive!=null&&typeof e[Symbol.toPrimitive]=="function")return _.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)}_.from=function(e,o,n){return Mn(e,o,n)};Object.setPrototypeOf(_.prototype,Uint8Array.prototype);Object.setPrototypeOf(_,Uint8Array);function Bn(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 La(e,o,n){return Bn(e),e<=0?q(e):o!==void 0?typeof n=="string"?q(e).fill(o,n):q(e).fill(o):q(e)}_.alloc=function(e,o,n){return La(e,o,n)};function Io(e){return Bn(e),q(e<0?0:Eo(e)|0)}_.allocUnsafe=function(e){return Io(e)};_.allocUnsafeSlow=function(e){return Io(e)};function Na(e,o){if((typeof o!="string"||o==="")&&(o="utf8"),!_.isEncoding(o))throw new TypeError("Unknown encoding: "+o);var n=On(e,o)|0,r=q(n),a=r.write(e,o);return a!==n&&(r=r.slice(0,a)),r}function ko(e){for(var o=e.length<0?0:Eo(e.length)|0,n=q(o),r=0;r<o;r+=1)n[r]=e[r]&255;return n}function Ca(e){if($(e,Uint8Array)){var o=new Uint8Array(e);return vo(o.buffer,o.byteOffset,o.byteLength)}return ko(e)}function vo(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,_.prototype),r}function Da(e){if(_.isBuffer(e)){var o=Eo(e.length)|0,n=q(o);return n.length===0||e.copy(n,0,0,o),n}if(e.length!==void 0)return typeof e.length!="number"||Lo(e.length)?q(0):ko(e);if(e.type==="Buffer"&&Array.isArray(e.data))return ko(e.data)}function Eo(e){if(e>=Ve)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+Ve.toString(16)+" bytes");return e|0}function Ra(e){return+e!=e&&(e=0),_.alloc(+e)}_.isBuffer=function(o){return o!=null&&o._isBuffer===!0&&o!==_.prototype};_.compare=function(o,n){if($(o,Uint8Array)&&(o=_.from(o,o.offset,o.byteLength)),$(n,Uint8Array)&&(n=_.from(n,n.offset,n.byteLength)),!_.isBuffer(o)||!_.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,a=n.length,s=0,m=Math.min(r,a);s<m;++s)if(o[s]!==n[s]){r=o[s],a=n[s];break}return r<a?-1:a<r?1:0};_.isEncoding=function(o){switch(String(o).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}};_.concat=function(o,n){if(!Array.isArray(o))throw new TypeError('"list" argument must be an Array of Buffers');if(o.length===0)return _.alloc(0);var r;if(n===void 0)for(n=0,r=0;r<o.length;++r)n+=o[r].length;var a=_.allocUnsafe(n),s=0;for(r=0;r<o.length;++r){var m=o[r];if($(m,Uint8Array))s+m.length>a.length?_.from(m).copy(a,s):Uint8Array.prototype.set.call(a,m,s);else if(_.isBuffer(m))m.copy(a,s);else throw new TypeError('"list" argument must be an Array of Buffers');s+=m.length}return a};function On(e,o){if(_.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||$(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 a=!1;;)switch(o){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":return Ao(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return n*2;case"hex":return n>>>1;case"base64":return Gn(e).length;default:if(a)return r?-1:Ao(e).length;o=(""+o).toLowerCase(),a=!0}}_.byteLength=On;function Pa(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 Ha(this,o,n);case"utf8":case"utf-8":return Un(this,o,n);case"ascii":return Wa(this,o,n);case"latin1":case"binary":return Ga(this,o,n);case"base64":return $a(this,o,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return ja(this,o,n);default:if(r)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),r=!0}}_.prototype._isBuffer=!0;function te(e,o,n){var r=e[o];e[o]=e[n],e[n]=r}_.prototype.swap16=function(){var o=this.length;if(o%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var n=0;n<o;n+=2)te(this,n,n+1);return this};_.prototype.swap32=function(){var o=this.length;if(o%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var n=0;n<o;n+=4)te(this,n,n+3),te(this,n+1,n+2);return this};_.prototype.swap64=function(){var o=this.length;if(o%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var n=0;n<o;n+=8)te(this,n,n+7),te(this,n+1,n+6),te(this,n+2,n+5),te(this,n+3,n+4);return this};_.prototype.toString=function(){var o=this.length;return o===0?"":arguments.length===0?Un(this,0,o):Pa.apply(this,arguments)};_.prototype.toLocaleString=_.prototype.toString;_.prototype.equals=function(o){if(!_.isBuffer(o))throw new TypeError("Argument must be a Buffer");return this===o?!0:_.compare(this,o)===0};_.prototype.inspect=function(){var o="",n=se.INSPECT_MAX_BYTES;return o=this.toString("hex",0,n).replace(/(.{2})/g,"$1 ").trim(),this.length>n&&(o+=" ... "),"<Buffer "+o+">"};Dn&&(_.prototype[Dn]=_.prototype.inspect);_.prototype.compare=function(o,n,r,a,s){if($(o,Uint8Array)&&(o=_.from(o,o.offset,o.byteLength)),!_.isBuffer(o))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof o);if(n===void 0&&(n=0),r===void 0&&(r=o?o.length:0),a===void 0&&(a=0),s===void 0&&(s=this.length),n<0||r>o.length||a<0||s>this.length)throw new RangeError("out of range index");if(a>=s&&n>=r)return 0;if(a>=s)return-1;if(n>=r)return 1;if(n>>>=0,r>>>=0,a>>>=0,s>>>=0,this===o)return 0;for(var m=s-a,l=r-n,d=Math.min(m,l),g=this.slice(a,s),f=o.slice(n,r),x=0;x<d;++x)if(g[x]!==f[x]){m=g[x],l=f[x];break}return m<l?-1:l<m?1:0};function Fn(e,o,n,r,a){if(e.length===0)return-1;if(typeof n=="string"?(r=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),n=+n,Lo(n)&&(n=a?0:e.length-1),n<0&&(n=e.length+n),n>=e.length){if(a)return-1;n=e.length-1}else if(n<0)if(a)n=0;else return-1;if(typeof o=="string"&&(o=_.from(o,r)),_.isBuffer(o))return o.length===0?-1:Rn(e,o,n,r,a);if(typeof o=="number")return o=o&255,typeof Uint8Array.prototype.indexOf=="function"?a?Uint8Array.prototype.indexOf.call(e,o,n):Uint8Array.prototype.lastIndexOf.call(e,o,n):Rn(e,[o],n,r,a);throw new TypeError("val must be string, number or Buffer")}function Rn(e,o,n,r,a){var s=1,m=e.length,l=o.length;if(r!==void 0&&(r=String(r).toLowerCase(),r==="ucs2"||r==="ucs-2"||r==="utf16le"||r==="utf-16le")){if(e.length<2||o.length<2)return-1;s=2,m/=2,l/=2,n/=2}function d(A,w){return s===1?A[w]:A.readUInt16BE(w*s)}var g;if(a){var f=-1;for(g=n;g<m;g++)if(d(e,g)===d(o,f===-1?0:g-f)){if(f===-1&&(f=g),g-f+1===l)return f*s}else f!==-1&&(g-=g-f),f=-1}else for(n+l>m&&(n=m-l),g=n;g>=0;g--){for(var x=!0,b=0;b<l;b++)if(d(e,g+b)!==d(o,b)){x=!1;break}if(x)return g}return-1}_.prototype.includes=function(o,n,r){return this.indexOf(o,n,r)!==-1};_.prototype.indexOf=function(o,n,r){return Fn(this,o,n,r,!0)};_.prototype.lastIndexOf=function(o,n,r){return Fn(this,o,n,r,!1)};function Ma(e,o,n,r){n=Number(n)||0;var a=e.length-n;r?(r=Number(r),r>a&&(r=a)):r=a;var s=o.length;r>s/2&&(r=s/2);for(var m=0;m<r;++m){var l=parseInt(o.substr(m*2,2),16);if(Lo(l))return m;e[n+m]=l}return m}function Ba(e,o,n,r){return We(Ao(o,e.length-n),e,n,r)}function Oa(e,o,n,r){return We(Ka(o),e,n,r)}function Fa(e,o,n,r){return We(Gn(o),e,n,r)}function Ua(e,o,n,r){return We(Xa(o,e.length-n),e,n,r)}_.prototype.write=function(o,n,r,a){if(n===void 0)a="utf8",r=this.length,n=0;else if(r===void 0&&typeof n=="string")a=n,r=this.length,n=0;else if(isFinite(n))n=n>>>0,isFinite(r)?(r=r>>>0,a===void 0&&(a="utf8")):(a=r,r=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var s=this.length-n;if((r===void 0||r>s)&&(r=s),o.length>0&&(r<0||n<0)||n>this.length)throw new RangeError("Attempt to write outside buffer bounds");a||(a="utf8");for(var m=!1;;)switch(a){case"hex":return Ma(this,o,n,r);case"utf8":case"utf-8":return Ba(this,o,n,r);case"ascii":case"latin1":case"binary":return Oa(this,o,n,r);case"base64":return Fa(this,o,n,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Ua(this,o,n,r);default:if(m)throw new TypeError("Unknown encoding: "+a);a=(""+a).toLowerCase(),m=!0}};_.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function $a(e,o,n){return o===0&&n===e.length?So.fromByteArray(e):So.fromByteArray(e.slice(o,n))}function Un(e,o,n){n=Math.min(e.length,n);for(var r=[],a=o;a<n;){var s=e[a],m=null,l=s>239?4:s>223?3:s>191?2:1;if(a+l<=n){var d,g,f,x;switch(l){case 1:s<128&&(m=s);break;case 2:d=e[a+1],(d&192)===128&&(x=(s&31)<<6|d&63,x>127&&(m=x));break;case 3:d=e[a+1],g=e[a+2],(d&192)===128&&(g&192)===128&&(x=(s&15)<<12|(d&63)<<6|g&63,x>2047&&(x<55296||x>57343)&&(m=x));break;case 4:d=e[a+1],g=e[a+2],f=e[a+3],(d&192)===128&&(g&192)===128&&(f&192)===128&&(x=(s&15)<<18|(d&63)<<12|(g&63)<<6|f&63,x>65535&&x<1114112&&(m=x))}}m===null?(m=65533,l=1):m>65535&&(m-=65536,r.push(m>>>10&1023|55296),m=56320|m&1023),r.push(m),a+=l}return Va(r)}var Pn=4096;function Va(e){var o=e.length;if(o<=Pn)return String.fromCharCode.apply(String,e);for(var n="",r=0;r<o;)n+=String.fromCharCode.apply(String,e.slice(r,r+=Pn));return n}function Wa(e,o,n){var r="";n=Math.min(e.length,n);for(var a=o;a<n;++a)r+=String.fromCharCode(e[a]&127);return r}function Ga(e,o,n){var r="";n=Math.min(e.length,n);for(var a=o;a<n;++a)r+=String.fromCharCode(e[a]);return r}function Ha(e,o,n){var r=e.length;(!o||o<0)&&(o=0),(!n||n<0||n>r)&&(n=r);for(var a="",s=o;s<n;++s)a+=Ya[e[s]];return a}function ja(e,o,n){for(var r=e.slice(o,n),a="",s=0;s<r.length-1;s+=2)a+=String.fromCharCode(r[s]+r[s+1]*256);return a}_.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 a=this.subarray(o,n);return Object.setPrototypeOf(a,_.prototype),a};function E(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")}_.prototype.readUintLE=_.prototype.readUIntLE=function(o,n,r){o=o>>>0,n=n>>>0,r||E(o,n,this.length);for(var a=this[o],s=1,m=0;++m<n&&(s*=256);)a+=this[o+m]*s;return a};_.prototype.readUintBE=_.prototype.readUIntBE=function(o,n,r){o=o>>>0,n=n>>>0,r||E(o,n,this.length);for(var a=this[o+--n],s=1;n>0&&(s*=256);)a+=this[o+--n]*s;return a};_.prototype.readUint8=_.prototype.readUInt8=function(o,n){return o=o>>>0,n||E(o,1,this.length),this[o]};_.prototype.readUint16LE=_.prototype.readUInt16LE=function(o,n){return o=o>>>0,n||E(o,2,this.length),this[o]|this[o+1]<<8};_.prototype.readUint16BE=_.prototype.readUInt16BE=function(o,n){return o=o>>>0,n||E(o,2,this.length),this[o]<<8|this[o+1]};_.prototype.readUint32LE=_.prototype.readUInt32LE=function(o,n){return o=o>>>0,n||E(o,4,this.length),(this[o]|this[o+1]<<8|this[o+2]<<16)+this[o+3]*16777216};_.prototype.readUint32BE=_.prototype.readUInt32BE=function(o,n){return o=o>>>0,n||E(o,4,this.length),this[o]*16777216+(this[o+1]<<16|this[o+2]<<8|this[o+3])};_.prototype.readIntLE=function(o,n,r){o=o>>>0,n=n>>>0,r||E(o,n,this.length);for(var a=this[o],s=1,m=0;++m<n&&(s*=256);)a+=this[o+m]*s;return s*=128,a>=s&&(a-=Math.pow(2,8*n)),a};_.prototype.readIntBE=function(o,n,r){o=o>>>0,n=n>>>0,r||E(o,n,this.length);for(var a=n,s=1,m=this[o+--a];a>0&&(s*=256);)m+=this[o+--a]*s;return s*=128,m>=s&&(m-=Math.pow(2,8*n)),m};_.prototype.readInt8=function(o,n){return o=o>>>0,n||E(o,1,this.length),this[o]&128?(255-this[o]+1)*-1:this[o]};_.prototype.readInt16LE=function(o,n){o=o>>>0,n||E(o,2,this.length);var r=this[o]|this[o+1]<<8;return r&32768?r|4294901760:r};_.prototype.readInt16BE=function(o,n){o=o>>>0,n||E(o,2,this.length);var r=this[o+1]|this[o]<<8;return r&32768?r|4294901760:r};_.prototype.readInt32LE=function(o,n){return o=o>>>0,n||E(o,4,this.length),this[o]|this[o+1]<<8|this[o+2]<<16|this[o+3]<<24};_.prototype.readInt32BE=function(o,n){return o=o>>>0,n||E(o,4,this.length),this[o]<<24|this[o+1]<<16|this[o+2]<<8|this[o+3]};_.prototype.readFloatLE=function(o,n){return o=o>>>0,n||E(o,4,this.length),ce.read(this,o,!0,23,4)};_.prototype.readFloatBE=function(o,n){return o=o>>>0,n||E(o,4,this.length),ce.read(this,o,!1,23,4)};_.prototype.readDoubleLE=function(o,n){return o=o>>>0,n||E(o,8,this.length),ce.read(this,o,!0,52,8)};_.prototype.readDoubleBE=function(o,n){return o=o>>>0,n||E(o,8,this.length),ce.read(this,o,!1,52,8)};function C(e,o,n,r,a,s){if(!_.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(o>a||o<s)throw new RangeError('"value" argument is out of bounds');if(n+r>e.length)throw new RangeError("Index out of range")}_.prototype.writeUintLE=_.prototype.writeUIntLE=function(o,n,r,a){if(o=+o,n=n>>>0,r=r>>>0,!a){var s=Math.pow(2,8*r)-1;C(this,o,n,r,s,0)}var m=1,l=0;for(this[n]=o&255;++l<r&&(m*=256);)this[n+l]=o/m&255;return n+r};_.prototype.writeUintBE=_.prototype.writeUIntBE=function(o,n,r,a){if(o=+o,n=n>>>0,r=r>>>0,!a){var s=Math.pow(2,8*r)-1;C(this,o,n,r,s,0)}var m=r-1,l=1;for(this[n+m]=o&255;--m>=0&&(l*=256);)this[n+m]=o/l&255;return n+r};_.prototype.writeUint8=_.prototype.writeUInt8=function(o,n,r){return o=+o,n=n>>>0,r||C(this,o,n,1,255,0),this[n]=o&255,n+1};_.prototype.writeUint16LE=_.prototype.writeUInt16LE=function(o,n,r){return o=+o,n=n>>>0,r||C(this,o,n,2,65535,0),this[n]=o&255,this[n+1]=o>>>8,n+2};_.prototype.writeUint16BE=_.prototype.writeUInt16BE=function(o,n,r){return o=+o,n=n>>>0,r||C(this,o,n,2,65535,0),this[n]=o>>>8,this[n+1]=o&255,n+2};_.prototype.writeUint32LE=_.prototype.writeUInt32LE=function(o,n,r){return o=+o,n=n>>>0,r||C(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};_.prototype.writeUint32BE=_.prototype.writeUInt32BE=function(o,n,r){return o=+o,n=n>>>0,r||C(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};_.prototype.writeIntLE=function(o,n,r,a){if(o=+o,n=n>>>0,!a){var s=Math.pow(2,8*r-1);C(this,o,n,r,s-1,-s)}var m=0,l=1,d=0;for(this[n]=o&255;++m<r&&(l*=256);)o<0&&d===0&&this[n+m-1]!==0&&(d=1),this[n+m]=(o/l>>0)-d&255;return n+r};_.prototype.writeIntBE=function(o,n,r,a){if(o=+o,n=n>>>0,!a){var s=Math.pow(2,8*r-1);C(this,o,n,r,s-1,-s)}var m=r-1,l=1,d=0;for(this[n+m]=o&255;--m>=0&&(l*=256);)o<0&&d===0&&this[n+m+1]!==0&&(d=1),this[n+m]=(o/l>>0)-d&255;return n+r};_.prototype.writeInt8=function(o,n,r){return o=+o,n=n>>>0,r||C(this,o,n,1,127,-128),o<0&&(o=255+o+1),this[n]=o&255,n+1};_.prototype.writeInt16LE=function(o,n,r){return o=+o,n=n>>>0,r||C(this,o,n,2,32767,-32768),this[n]=o&255,this[n+1]=o>>>8,n+2};_.prototype.writeInt16BE=function(o,n,r){return o=+o,n=n>>>0,r||C(this,o,n,2,32767,-32768),this[n]=o>>>8,this[n+1]=o&255,n+2};_.prototype.writeInt32LE=function(o,n,r){return o=+o,n=n>>>0,r||C(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};_.prototype.writeInt32BE=function(o,n,r){return o=+o,n=n>>>0,r||C(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 $n(e,o,n,r,a,s){if(n+r>e.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function Vn(e,o,n,r,a){return o=+o,n=n>>>0,a||$n(e,o,n,4,34028234663852886e22,-34028234663852886e22),ce.write(e,o,n,r,23,4),n+4}_.prototype.writeFloatLE=function(o,n,r){return Vn(this,o,n,!0,r)};_.prototype.writeFloatBE=function(o,n,r){return Vn(this,o,n,!1,r)};function Wn(e,o,n,r,a){return o=+o,n=n>>>0,a||$n(e,o,n,8,17976931348623157e292,-17976931348623157e292),ce.write(e,o,n,r,52,8),n+8}_.prototype.writeDoubleLE=function(o,n,r){return Wn(this,o,n,!0,r)};_.prototype.writeDoubleBE=function(o,n,r){return Wn(this,o,n,!1,r)};_.prototype.copy=function(o,n,r,a){if(!_.isBuffer(o))throw new TypeError("argument should be a Buffer");if(r||(r=0),!a&&a!==0&&(a=this.length),n>=o.length&&(n=o.length),n||(n=0),a>0&&a<r&&(a=r),a===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(a<0)throw new RangeError("sourceEnd out of bounds");a>this.length&&(a=this.length),o.length-n<a-r&&(a=o.length-n+r);var s=a-r;return this===o&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(n,r,a):Uint8Array.prototype.set.call(o,this.subarray(r,a),n),s};_.prototype.fill=function(o,n,r,a){if(typeof o=="string"){if(typeof n=="string"?(a=n,n=0,r=this.length):typeof r=="string"&&(a=r,r=this.length),a!==void 0&&typeof a!="string")throw new TypeError("encoding must be a string");if(typeof a=="string"&&!_.isEncoding(a))throw new TypeError("Unknown encoding: "+a);if(o.length===1){var s=o.charCodeAt(0);(a==="utf8"&&s<128||a==="latin1")&&(o=s)}}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 l=_.isBuffer(o)?o:_.from(o,a),d=l.length;if(d===0)throw new TypeError('The value "'+o+'" is invalid for argument "value"');for(m=0;m<r-n;++m)this[m+n]=l[m%d]}return this};var za=/[^+/0-9A-Za-z-_]/g;function qa(e){if(e=e.split("=")[0],e=e.trim().replace(za,""),e.length<2)return"";for(;e.length%4!==0;)e=e+"=";return e}function Ao(e,o){o=o||1/0;for(var n,r=e.length,a=null,s=[],m=0;m<r;++m){if(n=e.charCodeAt(m),n>55295&&n<57344){if(!a){if(n>56319){(o-=3)>-1&&s.push(239,191,189);continue}else if(m+1===r){(o-=3)>-1&&s.push(239,191,189);continue}a=n;continue}if(n<56320){(o-=3)>-1&&s.push(239,191,189),a=n;continue}n=(a-55296<<10|n-56320)+65536}else a&&(o-=3)>-1&&s.push(239,191,189);if(a=null,n<128){if((o-=1)<0)break;s.push(n)}else if(n<2048){if((o-=2)<0)break;s.push(n>>6|192,n&63|128)}else if(n<65536){if((o-=3)<0)break;s.push(n>>12|224,n>>6&63|128,n&63|128)}else if(n<1114112){if((o-=4)<0)break;s.push(n>>18|240,n>>12&63|128,n>>6&63|128,n&63|128)}else throw new Error("Invalid code point")}return s}function Ka(e){for(var o=[],n=0;n<e.length;++n)o.push(e.charCodeAt(n)&255);return o}function Xa(e,o){for(var n,r,a,s=[],m=0;m<e.length&&!((o-=2)<0);++m)n=e.charCodeAt(m),r=n>>8,a=n%256,s.push(a),s.push(r);return s}function Gn(e){return So.toByteArray(qa(e))}function We(e,o,n,r){for(var a=0;a<r&&!(a+n>=o.length||a>=e.length);++a)o[a+n]=e[a];return a}function $(e,o){return e instanceof o||e!=null&&e.constructor!=null&&e.constructor.name!=null&&e.constructor.name===o.name}function Lo(e){return e!==e}var Ya=function(){for(var e="0123456789abcdef",o=new Array(256),n=0;n<16;++n)for(var r=n*16,a=0;a<16;++a)o[r+a]=e[n]+e[a];return o}()});var Xn=Ue((Hp,Kn)=>{t();var k=Kn.exports={},V,W;function No(){throw new Error("setTimeout has not been defined")}function Co(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?V=setTimeout:V=No}catch(e){V=No}try{typeof clearTimeout=="function"?W=clearTimeout:W=Co}catch(e){W=Co}})();function jn(e){if(V===setTimeout)return setTimeout(e,0);if((V===No||!V)&&setTimeout)return V=setTimeout,setTimeout(e,0);try{return V(e,0)}catch(o){try{return V.call(null,e,0)}catch(n){return V.call(this,e,0)}}}function Za(e){if(W===clearTimeout)return clearTimeout(e);if((W===Co||!W)&&clearTimeout)return W=clearTimeout,clearTimeout(e);try{return W(e)}catch(o){try{return W.call(null,e)}catch(n){return W.call(this,e)}}}var K=[],me=!1,re,Ge=-1;function Ja(){!me||!re||(me=!1,re.length?K=re.concat(K):Ge=-1,K.length&&zn())}function zn(){if(!me){var e=jn(Ja);me=!0;for(var o=K.length;o;){for(re=K,K=[];++Ge<o;)re&&re[Ge].run();Ge=-1,o=K.length}re=null,me=!1,Za(e)}}k.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];K.push(new qn(e,o)),K.length===1&&!me&&jn(zn)};function qn(e,o){this.fun=e,this.array=o}qn.prototype.run=function(){this.fun.apply(null,this.array)};k.title="browser";k.browser=!0;k.env={};k.argv=[];k.version="";k.versions={};function X(){}k.on=X;k.addListener=X;k.once=X;k.off=X;k.removeListener=X;k.removeAllListeners=X;k.emit=X;k.prependListener=X;k.prependOnceListener=X;k.listeners=function(e){return[]};k.binding=function(e){throw new Error("process.binding is not supported")};k.cwd=function(){return"/"};k.chdir=function(e){throw new Error("process.chdir is not supported")};k.umask=function(){return 0}});var i,p,jp,t=h(()=>{i=T(Hn()),p=T(Xn()),jp=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 Yn,Do=h(()=>{"use strict";t();Yn="Action not allowed. User is logged in. Call logout() first"});var Zn=h(()=>{"use strict";t()});var Jn=h(()=>{"use strict";t()});var Qn=h(()=>{"use strict";t()});var M=h(()=>{"use strict";t()});var et=h(()=>{"use strict";t()});var ot=h(()=>{"use strict";t()});var N=h(()=>{"use strict";t()});var nt=h(()=>{"use strict";t()});var tt=h(()=>{"use strict";t()});var G=h(()=>{"use strict";t();Zn();Jn();Qn();M();et();ot();N();nt();tt()});var Ro,rt,mc,at,_c,it,dc,lc,gc,pt=h(()=>{"use strict";t();G();Ro={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:rt,egldLabel:mc}=Ro["devnet"],{chainId:at,egldLabel:_c}=Ro["testnet"],{chainId:it,egldLabel:dc}=Ro["mainnet"],lc={["devnet"]:rt,["testnet"]:at,["mainnet"]:it},gc={[rt]:"devnet",[at]:"testnet",[it]:"mainnet"}});var Po=h(()=>{"use strict";t()});var ct=h(()=>{"use strict";t()});var st,Mo=h(()=>{"use strict";t();st="transaction-status-toast-id"});var H,mt=h(()=>{"use strict";t();H=require("@multiversx/sdk-web-wallet-provider")});var Bo,Oo,_t,He,dt,_e,v=h(()=>{"use strict";t();Do();pt();Po();ct();Mo();mt();Bo=5e4,Oo=1e9,_t=1,He="logout",dt="login",_e="0"});var $o,L,de,j=h(()=>{"use strict";t();$o=require("@reduxjs/toolkit");v();L=(0,$o.createAction)(He),de=(0,$o.createAction)(dt,e=>({payload:e}))});var le,je=h(()=>{"use strict";t();le=()=>Date.now()/1e3});var ut=h(()=>{"use strict";t()});var ft=h(()=>{"use strict";t()});var xt=h(()=>{"use strict";t();je();ut();ft()});var Wo={};oe(Wo,{getItem:()=>pi,localStorageKeys:()=>ae,removeItem:()=>ci,setItem:()=>ii});var ae,Vo,ii,pi,ci,ke=h(()=>{"use strict";t();xt();ae={loginExpiresAt:"sdk-dapp-login-expires-at",logoutEvent:"sdk-dapp-logout-event"},Vo=typeof localStorage!="undefined",ii=({key:e,data:o,expires:n})=>{!Vo||localStorage.setItem(String(e),JSON.stringify({expires:n,data:o}))},pi=e=>{if(!Vo)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:le()>=n.expires?(localStorage.removeItem(String(e)),null):n.data},ci=e=>{!Vo||localStorage.removeItem(String(e))}});var Go={};oe(Go,{clear:()=>Tt,getItem:()=>yt,removeItem:()=>bt,setItem:()=>ht,storage:()=>si});var ht,yt,bt,Tt,si,wt=h(()=>{"use strict";t();ht=({key:e,data:o,expires:n})=>{sessionStorage.setItem(String(e),JSON.stringify({expires:n,data:o}))},yt=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},bt=e=>sessionStorage.removeItem(String(e)),Tt=()=>sessionStorage.clear(),si={setItem:ht,getItem:yt,removeItem:bt,clear:Tt}});var ge,ze=h(()=>{"use strict";t();ke();wt();ge={session:Go,local:Wo}});var jo,St,kt,qe,Ho,vt,At,Yc,It,Zc,Jc,Qc,es,os,ns,ts,Et,zo=h(()=>{"use strict";t();jo=require("@multiversx/sdk-core"),St=require("@reduxjs/toolkit"),kt=require("redux-persist");v();ze();ke();j();qe={balance:"...",address:"",nonce:0,txCount:0,scrCount:0,claimableRewards:_e},Ho={address:"",websocketEvent:null,accounts:{"":qe},ledgerAccount:null,publicKey:"",walletConnectAccount:null,isAccountLoading:!0,accountLoadingError:null},vt=(0,St.createSlice)({name:"accountInfoSlice",initialState:Ho,reducers:{setAddress:(e,o)=>{let n=o.payload;e.address=n,e.publicKey=new jo.Address(n).hex()},setAccount:(e,o)=>{let n=e.address===o.payload.address;e.accounts={[e.address]:n?o.payload:qe},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(L,()=>(ge.local.removeItem(ae.loginExpiresAt),Ho)),e.addCase(de,(o,n)=>{let{address:r}=n.payload;o.address=r,o.publicKey=new jo.Address(r).hex()}),e.addCase(kt.REHYDRATE,(o,n)=>{var g;if(!((g=n.payload)!=null&&g.account))return;let{account:r}=n.payload,{address:a,shard:s,accounts:m,publicKey:l}=r;o.address=a,o.shard=s;let d=m&&a in m;o.accounts=d?m:Ho.accounts,o.publicKey=l})}}),{setAccount:At,setAddress:Yc,setAccountNonce:It,setAccountShard:Zc,setLedgerAccount:Jc,updateLedgerAccount:Qc,setWalletConnectAccount:es,setIsAccountLoading:os,setAccountLoadingError:ns,setWebsocketEvent:ts}=vt.actions,Et=vt.reducer});function ve(){return new Date().setHours(new Date().getHours()+24)}function Ae(e){ge.local.setItem({key:ae.loginExpiresAt,data:e,expires:e})}var qo=h(()=>{"use strict";t();ze();ke()});var Nt,Lt,Ct,ls,gs,us,Ke,fs,xs,Dt,hs,Rt,Ko=h(()=>{"use strict";t();Nt=require("@reduxjs/toolkit");qo();M();j();Lt={loginMethod:"",walletConnectLogin:null,ledgerLogin:null,tokenLogin:null,walletLogin:null,extensionLogin:null,operaLogin:null,isLoginSessionInvalid:!1},Ct=(0,Nt.createSlice)({name:"loginInfoSlice",initialState:Lt,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(L,()=>Lt),e.addCase(de,(o,n)=>{o.loginMethod=n.payload.loginMethod,Ae(ve())})}}),{setLoginMethod:ls,setWalletConnectLogin:gs,setLedgerLogin:us,setTokenLogin:Ke,setTokenLoginSignature:fs,setWalletLogin:xs,invalidateLoginSession:Dt,setLogoutRoute:hs}=Ct.actions,Rt=Ct.reducer});var Mt,Pt,Bt,ws,Ss,ks,vs,Ot,Xo=h(()=>{"use strict";t();Mt=require("@reduxjs/toolkit");j();Pt={},Bt=(0,Mt.createSlice)({name:"modalsSlice",initialState:Pt,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(L,()=>Pt)}}),{setTxSubmittedModal:ws,setNotificationModal:Ss,clearTxSubmittedModal:ks,clearNotificationModal:vs}=Bt.actions,Ot=Bt.reducer});var mi,Ft,Ut=h(()=>{"use strict";t();mi=!1,Ft=(e,o=0)=>{mi||setTimeout(()=>{window.location.href=e,window.location.assign(e)},o)}});function $t({callbackRoute:e,onLoginRedirect:o,options:n}){let r=Boolean(e),a=typeof o=="function",s=a?0:_i;r&&e!=null&&setTimeout(()=>{if(a)return o(e,n);window.location.pathname.includes(e)||Ft(e)},s)}var _i,Vt=h(()=>{"use strict";t();Ut();_i=200});function Yo(e){return e[Math.floor(Math.random()*e.length)]}var Wt=h(()=>{"use strict";t()});var Gt=h(()=>{"use strict";t();Po()});var Zo=h(()=>{"use strict";t();Vt();Wt();Gt()});var Ht,jt,Jo,di,zt,$s,Vs,qt,Qo=h(()=>{"use strict";t();Ht=require("@reduxjs/toolkit"),jt=T(require("lodash.omit"));Zo();Jo={id:"not-configured",chainId:"",name:"NOT CONFIGURED",egldLabel:"",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"",walletConnectBridgeAddress:"",walletConnectV2RelayAddress:"",walletConnectV2ProjectId:"",walletConnectV2Options:{},walletAddress:"",apiAddress:"",explorerAddress:"",apiTimeout:"4000"},di={network:Jo,chainID:"-1"},zt=(0,Ht.createSlice)({name:"appConfig",initialState:di,reducers:{initializeNetworkConfig:(e,o)=>{let n=Yo(o.payload.walletConnectBridgeAddresses),r=Yo(o.payload.walletConnectV2RelayAddresses),a=(0,jt.default)(o.payload,"walletConnectBridgeAddresses","walletConnectV2RelayAddresses");e.network=S(y(y({},e.network),a),{walletConnectBridgeAddress:n,walletConnectV2RelayAddress:r})},setChainID:(e,o)=>{e.chainID=o.payload}}}),{initializeNetworkConfig:$s,setChainID:Vs}=zt.actions,qt=zt.reducer});var Kt,en,Xt,qs,Ks,Xs,Xe,Ye=h(()=>{"use strict";t();Kt=require("@reduxjs/toolkit");G();j();en={isSigning:!1,signedSessions:{}},Xt=(0,Kt.createSlice)({name:"signedMessageInfoSliceState",initialState:en,reducers:{setSignSession:(e,o)=>{let{sessionId:n,signedSession:r,errorMessage:a}=o.payload;return S(y({},e),{errorMessage:a!=null?a:e.errorMessage,isSigning:r.status==="pending",signedSessions:S(y({},e.signedSessions),{[n]:r})})},setSignSessionState:(e,o)=>y(y({},e),o.payload),clearSignedMessageInfo:()=>en},extraReducers:e=>{e.addCase(L,()=>en)}}),{setSignSession:qs,clearSignedMessageInfo:Ks,setSignSessionState:Xs}=Xt.actions,Xe=Xt.reducer});var Zt,Jt,Yt,Qt,tm,rm,am,im,pm,cm,Ze,Je=h(()=>{"use strict";t();Zt=require("@reduxjs/toolkit"),Jt=require("redux-persist");Mo();G();je();j();Yt={customToasts:[],transactionToasts:[],failTransactionToast:null},Qt=(0,Zt.createSlice)({name:"toastsSlice",initialState:Yt,reducers:{addCustomToast:(e,o)=>{e.customToasts.push(S(y({},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:le(),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(y({},o.payload),{toastId:st})},removeFailTransactionToast:e=>{e.failTransactionToast=null}},extraReducers:e=>{e.addCase(L,()=>Yt),e.addCase(Jt.REHYDRATE,(o,n)=>{var a,s;let r=(s=(a=n.customToasts)==null?void 0:a.filter(m=>!("component"in m)))!=null?s:[];o.customToasts=r})}}),{addCustomToast:tm,removeCustomToast:rm,addTransactionToast:am,removeTransactionToast:im,addFailTransactionToast:pm,removeFailTransactionToast:cm}=Qt.actions,Ze=Qt.reducer});var er,nn,tn,rn,li,on,or,dm,lm,gm,Qe,eo=h(()=>{"use strict";t();er=require("@reduxjs/toolkit");j();nn="Transaction failed",tn="Transaction successful",rn="Processing transaction",li="Transaction submitted",on={},or=(0,er.createSlice)({name:"transactionsInfo",initialState:on,reducers:{setTransactionsDisplayInfo(e,o){let{sessionId:n,transactionsDisplayInfo:r}=o.payload;n!=null&&(e[n]={errorMessage:(r==null?void 0:r.errorMessage)||nn,successMessage:(r==null?void 0:r.successMessage)||tn,processingMessage:(r==null?void 0:r.processingMessage)||rn,submittedMessage:(r==null?void 0:r.submittedMessage)||li,transactionDuration:r==null?void 0:r.transactionDuration})},clearTransactionsInfoForSessionId(e,o){o.payload!=null&&delete e[o.payload]},clearTransactionsInfo:()=>on},extraReducers:e=>{e.addCase(L,()=>on)}}),{clearTransactionsInfo:dm,setTransactionsDisplayInfo:lm,clearTransactionsInfoForSessionId:gm}=or.actions,Qe=or.reducer});function nr(e){return e!=null&&(wi(e)||Ai(e))}function oo(e){return e!=null&&(Si(e)||Ii(e))}function no(e){return e!=null&&(ki(e)||Ei(e))}function tr(e){return e!=null&&vi(e)}function wi(e){return e!=null&&ui.includes(e)}function Si(e){return e!=null&&fi.includes(e)}function ki(e){return e!=null&&xi.includes(e)}function vi(e){return e!=null&&hi.includes(e)}function Ai(e){return e!=null&&yi.includes(e)}function Ii(e){return e!=null&&bi.includes(e)}function Ei(e){return e!=null&&Ti.includes(e)}var ui,fi,xi,hi,yi,bi,Ti,pn=h(()=>{"use strict";t();M();ui=["sent"],fi=["success"],xi=["fail","cancelled","timedOut"],hi=["timedOut"],yi=["pending"],bi=["success"],Ti=["fail","invalid"]});var rr,ar,Ie,Li,ir,Sm,km,vm,Am,Im,Em,Lm,Nm,Cm,Dm,to,ro=h(()=>{"use strict";t();rr=require("@reduxjs/toolkit"),ar=require("redux-persist");M();pn();j();Ie={signedTransactions:{},transactionsToSign:null,signTransactionsError:null,signTransactionsCancelMessage:null,customTransactionInformationForSessionId:{}},Li={signWithoutSending:!1,sessionInformation:null,redirectAfterSign:!1},ir=(0,rr.createSlice)({name:"transactionsSlice",initialState:Ie,reducers:{moveTransactionsToSignedState:(e,o)=>{var d,g;let{sessionId:n,transactions:r,errorMessage:a,status:s,redirectRoute:m}=o.payload,l=((d=e.customTransactionInformationForSessionId)==null?void 0:d[n])||Li;e.signedTransactions[n]={transactions:r,status:s,errorMessage:a,redirectRoute:m,customTransactionInformation:l},((g=e==null?void 0:e.transactionsToSign)==null?void 0:g.sessionId)===n&&(e.transactionsToSign=Ie.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=y(y({},e.signedTransactions),o.payload)},updateSignedTransactions:(e,o)=>{let{sessionId:n,status:r,errorMessage:a,transactions:s}=o.payload;e.signedTransactions[n]!=null&&(e.signedTransactions[n].status=r,a!=null&&(e.signedTransactions[n].errorMessage=a),s!=null&&(e.signedTransactions[n].transactions=s))},updateSignedTransactionStatus:(e,o)=>{var l,d,g,f,x,b;let{sessionId:n,status:r,errorMessage:a,transactionHash:s}=o.payload,m=(d=(l=e.signedTransactions)==null?void 0:l[n])==null?void 0:d.transactions;if(m!=null){e.signedTransactions[n].transactions=m.map(I=>I.hash===s?S(y({},I),{status:r,errorMessage:a}):I);let A=(f=(g=e.signedTransactions[n])==null?void 0:g.transactions)==null?void 0:f.every(I=>oo(I.status)),w=(b=(x=e.signedTransactions[n])==null?void 0:x.transactions)==null?void 0:b.every(I=>no(I.status));A&&(e.signedTransactions[n].status="success"),w&&(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=Ie.transactionsToSign,e.signTransactionsError=null},clearAllSignedTransactions:e=>{e.signedTransactions=Ie.signedTransactions},setSignTransactionsError:(e,o)=>{e.signTransactionsError=o.payload},setSignTransactionsCancelMessage:(e,o)=>{e.signTransactionsCancelMessage=o.payload}},extraReducers:e=>{e.addCase(L,()=>Ie),e.addCase(ar.REHYDRATE,(o,n)=>{var m;if(o.signTransactionsCancelMessage=null,!((m=n.payload)!=null&&m.transactions))return;let{signedTransactions:r,customTransactionInformationForSessionId:a}=n.payload.transactions,s=Object.entries(r).reduce((l,[d,g])=>{let f=new Date(d),x=new Date;return x.setHours(x.getHours()+5),x-f>0||(l[d]=g),l},{});a!=null&&(o.customTransactionInformationForSessionId=a),r!=null&&(o.signedTransactions=s)})}}),{updateSignedTransactionStatus:Sm,updateSignedTransactions:km,setTransactionsToSign:vm,clearAllTransactionsToSign:Am,clearAllSignedTransactions:Im,clearSignedTransaction:Em,clearTransactionToSign:Lm,setSignTransactionsError:Nm,setSignTransactionsCancelMessage:Cm,moveTransactionsToSignedState:Dm}=ir.actions,to=ir.reducer});var ie=h(()=>{"use strict";t();zo();Ko();Xo();Qo();Ye();Je();eo();ro()});var cn=h(()=>{"use strict";t()});var _r,mr,dr,n_,t_,r_,a_,i_,p_,lr,gr=h(()=>{"use strict";t();_r=require("@reduxjs/toolkit");j();mr={visible:!1,modal:{showHeader:!0,showFooter:!1,headerText:"",footerText:""}},dr=(0,_r.createSlice)({name:"dappModalsSlice",initialState:mr,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=y({},o.payload)}},extraReducers:e=>{e.addCase(L,()=>mr)}}),{setDappModalVisibility:n_,setDappModalHeaderVisibility:t_,setDappModalFooterVisibility:r_,setDappModalHeaderText:a_,setDappModalFooterText:i_,setDappModalConfig:p_}=dr.actions,lr=dr.reducer});var ur,Ri,Pi,ue,co=h(()=>{"use strict";t();ur=require("@reduxjs/toolkit");cn();zo();gr();Ko();Xo();Qo();Ye();Je();eo();ro();Ri={["account"]:Et,["dappModal"]:lr,["loginInfo"]:Rt,["modals"]:Ot,["networkConfig"]:qt,["signedMessageInfo"]:Xe,["toasts"]:Ze,["transactionsInfo"]:Qe,["transactions"]:to},Pi=(e={})=>(0,ur.combineReducers)(y(y({},Ri),e)),ue=Pi});var hr={};oe(hr,{default:()=>Wi});function so(e,o=[]){return{key:e,version:1,storage:xr.default,blacklist:o}}var Q,fr,xr,Mi,Bi,Oi,Fi,Ui,$i,Vi,Wi,yr=h(()=>{"use strict";t();Q=require("redux-persist"),fr=T(require("redux-persist/lib/storage")),xr=T(require("redux-persist/lib/storage/session"));co();ie();Ye();Je();eo();ro();cn();Mi={2:e=>S(y({},e),{networkConfig:Jo})};Bi=so("sdk-dapp-transactionsInfo"),Oi=so("sdk-dapp-transactions",["transactionsToSign"]),Fi=so("sdk-dapp-toasts"),Ui=so("sdk-dapp-signedMessageInfo"),$i={key:"sdk-dapp-store",version:2,storage:fr.default,whitelist:["account","loginInfo","modals","networkConfig"],migrate:(0,Q.createMigrate)(Mi,{debug:!1})},Vi={["toasts"]:(0,Q.persistReducer)(Fi,Ze),["transactions"]:(0,Q.persistReducer)(Oi,to),["transactionsInfo"]:(0,Q.persistReducer)(Bi,Qe),["signedMessageInfo"]:(0,Q.persistReducer)(Ui,Xe)},Wi=(0,Q.persistReducer)($i,ue(Vi))});var br={};oe(br,{default:()=>Gi});var Gi,Tr=h(()=>{"use strict";t();co();Gi=ue()});var wr={};oe(wr,{default:()=>ji});var B,Hi,ji,Sr=h(()=>{"use strict";t();B=require("redux-persist"),Hi=[B.FLUSH,B.REHYDRATE,B.PAUSE,B.PERSIST,B.PURGE,B.REGISTER],ji=Hi});var Ar={};oe(Ar,{default:()=>vr});function vr(e){return(0,kr.persistStore)(e)}var kr,Ir=h(()=>{"use strict";t();kr=require("redux-persist")});var Up={};oe(Up,{ExtensionLoginButton:()=>Fp});module.exports=Se(Up);t();var be=T(require("react")),da=require("@fortawesome/free-solid-svg-icons"),la=require("@fortawesome/react-fontawesome"),ga=T(require("classnames"));t();var wn=require("react"),ia=require("@multiversx/sdk-extension-provider");Do();t();t();var Qa=require("@multiversx/sdk-extension-provider"),ei=require("@multiversx/sdk-hw-provider"),oi=require("@multiversx/sdk-opera-provider"),ni=require("@multiversx/sdk-wallet-connect-provider/out/walletConnectProvider"),ti=require("@multiversx/sdk-wallet-connect-provider/out/walletConnectV2Provider"),ri=require("@multiversx/sdk-web-wallet-provider");v();M();var Y=e=>`Unable to perform ${e}, Provider not initialized`,Fo=class{init(){return Promise.resolve(!1)}login(o){throw new Error(Y(`login with options: ${o}`))}logout(o){throw new Error(Y(`logout with options: ${o}`))}getAddress(){throw new Error(Y("getAddress"))}isInitialized(){return!1}isConnected(){return Promise.resolve(!1)}sendTransaction(o,n){throw new Error(Y(`sendTransaction with transactions: ${o} options: ${n}`))}signTransaction(o,n){throw new Error(Y(`signTransaction with transactions: ${o} options: ${n}`))}signTransactions(o,n){throw new Error(Y(`signTransactions with transactions: ${o} options: ${n}`))}signMessage(o,n){throw new Error(Y(`signTransactions with ${o} and options ${n}`))}sendCustomMessage({method:o,params:n}){throw new Error(Y(`sendCustomMessage with method: ${o} params: ${n}`))}sendCustomRequest(o){throw new Error(Y(`sendSessionEvent with options: ${o}`))}ping(){return Promise.resolve(!1)}},lt=new Fo;var ai=lt;function gt(e){ai=e}j();t();var Rr=require("react"),fe=require("react-redux");t();var sn=require("@reduxjs/toolkit"),Cr=require("react-redux/lib/utils/Subscription");ie();t();var cr=T(require("lodash.throttle"));v();t();var pr=T(require("lodash.isequal")),ao=require("reselect");G();var u=(0,ao.createSelectorCreator)(ao.defaultMemoize,pr.default),Ee=(e,o)=>e!=""&&Boolean(o);ie();qo();ze();ke();var Ni=[He],io=!1,Ci=(0,cr.default)(()=>{Ae(ve())},5e3),sr=e=>o=>n=>{var d;if(Ni.includes(n.type))return o(n);let r=e.getState(),a=ge.local.getItem(ae.loginExpiresAt);if(!Ee((d=r==null?void 0:r.loginInfo)==null?void 0:d.loginMethod,r==null?void 0:r.account.address))return o(n);if(a==null)return Ae(ve());let m=Date.now();return a-m<0&&!io?setTimeout(()=>{io=!0,e.dispatch(Dt())},1e3):(io&&(io=!1),Ci()),o(n)};t();t();function po(){return typeof sessionStorage!="undefined"}var Er=po()?(yr(),Se(hr)).default:(Tr(),Se(br)).default,Lr=po()?(Sr(),Se(wr)).default:[],Nr=po()?(Ir(),Se(Ar)).default:e=>e;co();var z=(0,sn.configureStore)({reducer:Er,middleware:e=>e({serializableCheck:{ignoredActions:[...Lr,It.type,At.type],ignoredPaths:["payload.nonce","account.account.nonce","providers.accountProvider"]}}).concat(sr)}),Dr=(0,Cr.createSubscription)(z),P_=Nr(z),M_=(0,sn.configureStore)({reducer:ue});var zi={store:z,subscription:Dr},mn=(0,Rr.createContext)(zi),U_=(0,fe.createStoreHook)(mn),mo=(0,fe.createDispatchHook)(mn),Z=(0,fe.createSelectorHook)(mn);M();t();t();t();ie();var J=e=>e.account,_n=u(J,e=>e.address),Le=u(J,_n,(e,o)=>o in e.accounts?e.accounts[o]:qe),qi=u(J,Le,(e,o)=>{let a=e,{accounts:n}=a,r=An(a,["accounts"]);return S(y({},r),{account:o})}),G_=u(Le,e=>e.balance),H_=u(Le,e=>{var o;return((o=e==null?void 0:e.nonce)==null?void 0:o.valueOf())||0}),j_=u(J,e=>e.shard),z_=u(J,e=>e.ledgerAccount),q_=u(J,e=>e.walletConnectAccount),K_=u(J,e=>e.isAccountLoading),X_=u(J,e=>e.accountLoadingError),Ki=u(J,e=>e.websocketEvent);t();var F=e=>e.loginInfo,Q_=u(F,e=>e.loginMethod),dn=u(F,_n,(e,o)=>Ee(e.loginMethod,o)),ed=u(F,e=>e.walletConnectLogin),od=u(F,e=>e.ledgerLogin),nd=u(F,e=>e.walletLogin),td=u(F,e=>e.isLoginSessionInvalid),Pr=u(F,e=>e.tokenLogin),rd=u(F,e=>e.logoutRoute);t();var Mr=e=>e.modals,pd=u(Mr,e=>e.txSubmittedModal),cd=u(Mr,e=>e.notificationModal);t();var pe=e=>e.networkConfig,_d=u(pe,e=>e.chainID),dd=u(pe,e=>e.network.walletConnectBridgeAddress),ld=u(pe,e=>e.network.walletConnectV2RelayAddress),gd=u(pe,e=>e.network.walletConnectV2ProjectId),ud=u(pe,e=>e.network.walletConnectV2Options),fd=u(pe,e=>e.network.walletConnectDeepLink),Ne=u(pe,e=>e.network),xd=u(Ne,e=>e.apiAddress),Br=u(Ne,e=>e.explorerAddress),hd=u(Ne,e=>e.egldLabel);t();var ln=e=>e.signedMessageInfo,Td=u(ln,e=>e.isSigning),wd=u(ln,e=>e.errorMessage),Sd=u(ln,e=>{let o=Object.keys(e.signedSessions),n=o.length;return e.signedSessions[o[n-1]]});t();var gn=e=>e.toasts,Ad=u(gn,e=>e.customToasts),Id=u(gn,e=>e.transactionToasts),Ed=u(gn,e=>e.failTransactionToast);t();ie();var Or={errorMessage:nn,successMessage:tn,processingMessage:rn},Xi=e=>e.transactionsInfo,Dd=u(Xi,(e,o)=>o,(e,o)=>o!=null&&(e==null?void 0:e[Number(o)])||Or);t();t();var D=require("@multiversx/sdk-core");v();t();function un(e){try{return i.Buffer.from(e,"base64").toString()===atob(e)}catch(o){return!1}}function xe(e){return atob(e)}function fn(e){var a,s,m;let{data:o}=e,n=un(o!=null?o:"")?D.TransactionPayload.fromEncoded(o):new D.TransactionPayload(o),r=new D.Transaction(y({value:e.value.valueOf(),data:n,nonce:e.nonce.valueOf(),receiver:new D.Address(e.receiver),sender:new D.Address(e.sender),gasLimit:(a=e.gasLimit.valueOf())!=null?a:Bo,gasPrice:(s=e.gasPrice.valueOf())!=null?s:Oo,chainID:e.chainID.valueOf(),version:new D.TransactionVersion((m=e.version)!=null?m:_t)},e.options?{options:new D.TransactionOptions(e.options)}:{}));return r.applySignature({hex:()=>e.signature||""},new D.Address(e.sender)),r}t();pn();t();var Zi=T(require("bignumber.js"));G();t();t();t();t();var Qi=require("@multiversx/sdk-core"),ep=T(require("bignumber.js"));M();t();var Ji=require("@multiversx/sdk-core");t();t();t();var np=require("@multiversx/sdk-core/out");t();v();t();var Vr=require("@multiversx/sdk-core");G();t();t();t();t();M();t();t();t();t();t();t();t();var xn="blocks";t();t();t();t();N();t();t();N();t();t();t();var cp=T(require("bignumber.js"));v();t();var pp=require("@multiversx/sdk-core"),hn=T(require("bignumber.js"));v();t();var ap=T(require("bignumber.js"));t();hn.default.config({ROUNDING_MODE:hn.default.ROUND_FLOOR});t();t();t();v();t();t();t();t();v();t();v();t();var sp=require("@multiversx/sdk-core");v();t();var Ce=require("@multiversx/sdk-core"),_p=require("@multiversx/sdk-network-providers");v();t();t();var mp=T(require("bignumber.js"));v();t();v();t();t();t();t();t();v();t();N();var lp=["reDelegateRewards","claimRewards","unBond"],gp=["wrapEgld","unwrapEgld"],up=["unStake"],fp=["unDelegate"];t();t();t();v();t();var yp=T(require("bignumber.js"));t();t();t();N();t();var bp=T(require("bignumber.js"));t();t();t();t();N();t();t();t();var wp=T(require("linkifyjs"));t();v();t();var Sp=T(require("bignumber.js"));t();G();t();t();M();t();M();t();t();t();N();t();N();t();var kp=T(require("bignumber.js"));v();N();t();N();t();var zr=require("react");G();t();t();N();t();var vp=require("@multiversx/sdk-core/out"),Ap=T(require("bignumber.js"));N();t();N();t();t();M();var ch=[{label:"Raw",value:"raw"},{label:"Text",value:"text"},{label:"Decimal",value:"decimal"},{label:"Smart",value:"smart"}];t();var qr=require("react");G();t();var Ep=require("react");N();var uh=["create","localMint","ESDTLocalMint","addQuantity","burn","localBurn","ESDTLocalBurn","wipe","writeLog","signalError"];var uo=e=>e.transactions,De=u(uo,e=>e.signedTransactions),Qh=u(uo,e=>e.signTransactionsError),e0=u(uo,e=>e.signTransactionsCancelMessage),fo=e=>o=>Object.entries(o).reduce((n,[r,a])=>(e(a.status)&&(n[r]=a),n),{}),o0=u(De,fo(nr)),n0=u(De,fo(oo)),t0=u(De,fo(no)),r0=u(De,fo(tr)),a0=u(uo,e=>{var o;return(e==null?void 0:e.transactionsToSign)==null?null:S(y({},e.transactionsToSign),{transactions:((o=e==null?void 0:e.transactionsToSign)==null?void 0:o.transactions.map(n=>fn(n)))||[]})}),i0=u(De,(e,o)=>o,(e,o)=>o!=null?(e==null?void 0:e[o])||{}:{});function Kr(){return dn(z.getState())}Zo();t();var ra=require("react"),xo=require("@multiversx/sdk-core");t();t();t();var bn=()=>Z(Le);t();t();t();t();t();var Re=T(require("react"));var R0=(0,Re.createContext)({}),P0=z.getState();t();var Yr=T(require("react"));t();var Tn=T(require("react")),Lp=T(require("axios"));t();t();t();t();ie();t();t();t();var Zr,Pe={hostname:typeof window!="undefined"?(Zr=window==null?void 0:window.location)==null?void 0:Zr.hostname:"",apiAddress:"https://api.multiversx.com",expirySeconds:60*60*24,tokenExpirationToastWarningSeconds:5*60},Me=e=>{var n,r,a,s;return e===!0?Pe:{hostname:(n=e==null?void 0:e.hostname)!=null?n:Pe.hostname,expirySeconds:(r=e==null?void 0:e.expirySeconds)!=null?r:Pe.expirySeconds,apiAddress:(a=e==null?void 0:e.apiAddress)!=null?a:Pe.apiAddress,tokenExpirationToastWarningSeconds:(s=e==null?void 0:e.tokenExpirationToastWarningSeconds)!=null?s:Pe.tokenExpirationToastWarningSeconds}};t();var Cp=e=>e.replace(/\+/g,"-").replace(/\//g,"_").replace(/=/g,""),he=e=>Cp(i.Buffer.from(e,"utf8").toString("base64"));t();var Jr=T(require("axios"));function Qr(e){return O(this,null,function*(){let{data:o}=yield Jr.default.get(`${e}/${xn}?size=1&fields=hash,timestamp`),[n]=o;return n})}t();t();t();function Dp(e){return Object.prototype.toString.call(e)==="[object String]"}var ea=e=>{if(!e||!Dp(e))return null;try{let[o,n,r]=e.split("."),a=xe(o),s=xe(n),[m,l,d,g]=s.split("."),f=JSON.parse(xe(g)),x=xe(m),b={ttl:Number(d),address:a,extraInfo:f,host:x,signature:r,blockHash:l,body:s};return g==="e30"&&delete b.extraInfo,b}catch(o){return null}};var oa=({address:e,token:o,signature:n})=>{let r=he(e),a=he(o);return`${r}.${a}.${n}`};t();je();var na=e=>{let o=ea(e);if(!o)return{isExpired:!1};let n=le(),{ttl:r,extraInfo:a}=o,s=a.timestamp;if(!s)return{isExpired:!1};let m=s+r,l=n>m,d=m-n;return{isExpired:l,expiresAt:m,secondsUntilExpires:d}};var ta=e=>{let{hostname:o,apiAddress:n,expirySeconds:r}=Me(e);return{getNativeAuthConfig:Me,initialize:(...m)=>O(void 0,[...m],function*(s={}){let{hash:l,timestamp:d}=yield Qr(n),g=he(JSON.stringify(y(y({},s),d?{timestamp:d}:{})));return`${he(o)}.${l}.${r}.${g}`}),getToken:oa,getTokenExpiration:na}};t();var Rp=(e,o)=>{var n;return o?o===!0?e:(n=o.apiAddress)!=null?n:e:null},aa=e=>{let o=Z(Ne),n=Z(Pr),r=(0,ra.useRef)(n==null?void 0:n.loginToken),a=Rp(o.apiAddress,e),s=Me(y(y({},e===!0?{}:e),a?{apiAddress:a}:{})),m=Boolean(e),l=ta(s),{address:d}=bn(),g=mo(),f=w=>{r.current=w,g(Ke(y({loginToken:w},a?{nativeAuthConfig:s}:{})))},x=()=>O(void 0,null,function*(){try{return yield l.initialize()}catch(w){console.error("Unable to get block. Login failed.",w);return}}),b=({address:w,signature:I})=>{let R=r.current;if(!R)throw"Token not found. Call `setLoginToken` first.";if(!m){g(Ke({loginToken:R,signature:I}));return}let Te=l.getToken({address:w,token:R,signature:I});g(Ke(y({loginToken:R,signature:I,nativeAuthToken:Te},a?{nativeAuthConfig:s}:{})))};return{configuration:s,setLoginToken:f,getNativeAuthLoginToken:x,setTokenLoginInfo:b,refreshNativeAuthTokenLogin:I=>O(void 0,[I],function*({signMessageCallback:w}){let R=yield x();if(r.current=R,!R)return;let Te=new xo.SignableMessage({address:new xo.Address(d),message:i.Buffer.from(R)}),ho=yield w(Te,{});b({address:d,signature:ho.toJSON().signature})})}};var pa=({callbackRoute:e,token:o,nativeAuth:n,onLoginRedirect:r})=>{let[a,s]=(0,wn.useState)(""),[m,l]=(0,wn.useState)(!1),d=n!=null,g=aa(n),f=o,x=mo(),b=Kr();function A(){return O(this,null,function*(){if(b)throw new Error(Yn);l(!0);let I=ia.ExtensionProvider.getInstance();try{if(!(yield I.init())){console.warn("Something went wrong trying to redirect to wallet login..");return}let Te=encodeURIComponent(`${window.location.origin}${e!=null?e:window.location.pathname}`);if(d&&!f&&(f=yield g.getNativeAuthLoginToken(),!f)){console.warn("Fetching block failed. Login cancelled.");return}f&&g.setLoginToken(f);let ho=y({callbackUrl:Te},f&&{token:f});yield I.login(ho),gt(I);let{signature:yo,address:Oe}=I.account;if(!Oe){l(!1),console.warn("Login cancelled.");return}yo&&f&&g.setTokenLoginInfo({signature:yo,address:Oe}),x(de({address:Oe,loginMethod:"extension"})),$t({callbackRoute:e,onLoginRedirect:r,options:{signature:yo,address:Oe}})}catch(R){console.error("error loging in",R),s("error logging in"+R.message)}finally{l(!1)}})}let w=Boolean(a);return[A,{loginFailed:w,error:a,isLoading:m&&!w,isLoggedIn:b&&!w}]};t();var Sn=T(require("react")),sa=T(require("classnames"));t();var Pp=`.dapp-core-component__main__link-style {
|
|
1
|
+
"use strict";var ha=Object.create;var Se=Object.defineProperty,ya=Object.defineProperties,ba=Object.getOwnPropertyDescriptor,Ta=Object.getOwnPropertyDescriptors,wa=Object.getOwnPropertyNames,Ue=Object.getOwnPropertySymbols,Sa=Object.getPrototypeOf,To=Object.prototype.hasOwnProperty,En=Object.prototype.propertyIsEnumerable;var An=(e,o,n)=>o in e?Se(e,o,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[o]=n,y=(e,o)=>{for(var n in o||(o={}))To.call(o,n)&&An(e,n,o[n]);if(Ue)for(var n of Ue(o))En.call(o,n)&&An(e,n,o[n]);return e},S=(e,o)=>ya(e,Ta(o));var Ln=(e,o)=>{var n={};for(var r in e)To.call(e,r)&&o.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&Ue)for(var r of Ue(e))o.indexOf(r)<0&&En.call(e,r)&&(n[r]=e[r]);return n};var h=(e,o)=>()=>(e&&(o=e(e=0)),o);var Ve=(e,o)=>()=>(o||e((o={exports:{}}).exports,o),o.exports),oe=(e,o)=>{for(var n in o)Se(e,n,{get:o[n],enumerable:!0})},Nn=(e,o,n,r)=>{if(o&&typeof o=="object"||typeof o=="function")for(let a of wa(o))!To.call(e,a)&&a!==n&&Se(e,a,{get:()=>o[a],enumerable:!(r=ba(o,a))||r.enumerable});return e};var T=(e,o,n)=>(n=e!=null?ha(Sa(e)):{},Nn(o||!e||!e.__esModule?Se(n,"default",{value:e,enumerable:!0}):n,e)),ke=e=>Nn(Se({},"__esModule",{value:!0}),e);var D=(e,o,n)=>new Promise((r,a)=>{var s=d=>{try{l(n.next(d))}catch(g){a(g)}},m=d=>{try{l(n.throw(d))}catch(g){a(g)}},l=d=>d.done?r(d.value):Promise.resolve(d.value).then(s,m);l((n=n.apply(e,o)).next())});var Rn=Ve($e=>{"use strict";t();$e.byteLength=va;$e.toByteArray=Aa;$e.fromByteArray=Na;var U=[],M=[],ka=typeof Uint8Array!="undefined"?Uint8Array:Array,wo="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(ne=0,Cn=wo.length;ne<Cn;++ne)U[ne]=wo[ne],M[wo.charCodeAt(ne)]=ne;var ne,Cn;M["-".charCodeAt(0)]=62;M["_".charCodeAt(0)]=63;function Dn(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 va(e){var o=Dn(e),n=o[0],r=o[1];return(n+r)*3/4-r}function Ia(e,o,n){return(o+n)*3/4-n}function Aa(e){var o,n=Dn(e),r=n[0],a=n[1],s=new ka(Ia(e,r,a)),m=0,l=a>0?r-4:r,d;for(d=0;d<l;d+=4)o=M[e.charCodeAt(d)]<<18|M[e.charCodeAt(d+1)]<<12|M[e.charCodeAt(d+2)]<<6|M[e.charCodeAt(d+3)],s[m++]=o>>16&255,s[m++]=o>>8&255,s[m++]=o&255;return a===2&&(o=M[e.charCodeAt(d)]<<2|M[e.charCodeAt(d+1)]>>4,s[m++]=o&255),a===1&&(o=M[e.charCodeAt(d)]<<10|M[e.charCodeAt(d+1)]<<4|M[e.charCodeAt(d+2)]>>2,s[m++]=o>>8&255,s[m++]=o&255),s}function Ea(e){return U[e>>18&63]+U[e>>12&63]+U[e>>6&63]+U[e&63]}function La(e,o,n){for(var r,a=[],s=o;s<n;s+=3)r=(e[s]<<16&16711680)+(e[s+1]<<8&65280)+(e[s+2]&255),a.push(Ea(r));return a.join("")}function Na(e){for(var o,n=e.length,r=n%3,a=[],s=16383,m=0,l=n-r;m<l;m+=s)a.push(La(e,m,m+s>l?l:m+s));return r===1?(o=e[n-1],a.push(U[o>>2]+U[o<<4&63]+"==")):r===2&&(o=(e[n-2]<<8)+e[n-1],a.push(U[o>>10]+U[o>>4&63]+U[o<<2&63]+"=")),a.join("")}});var Pn=Ve(So=>{t();So.read=function(e,o,n,r,a){var s,m,l=a*8-r-1,d=(1<<l)-1,g=d>>1,f=-7,x=n?a-1:0,b=n?-1:1,I=e[o+x];for(x+=b,s=I&(1<<-f)-1,I>>=-f,f+=l;f>0;s=s*256+e[o+x],x+=b,f-=8);for(m=s&(1<<-f)-1,s>>=-f,f+=r;f>0;m=m*256+e[o+x],x+=b,f-=8);if(s===0)s=1-g;else{if(s===d)return m?NaN:(I?-1:1)*(1/0);m=m+Math.pow(2,r),s=s-g}return(I?-1:1)*m*Math.pow(2,s-r)};So.write=function(e,o,n,r,a,s){var m,l,d,g=s*8-a-1,f=(1<<g)-1,x=f>>1,b=a===23?Math.pow(2,-24)-Math.pow(2,-77):0,I=r?0:s-1,w=r?1:-1,A=o<0||o===0&&1/o<0?1:0;for(o=Math.abs(o),isNaN(o)||o===1/0?(l=isNaN(o)?1:0,m=f):(m=Math.floor(Math.log(o)/Math.LN2),o*(d=Math.pow(2,-m))<1&&(m--,d*=2),m+x>=1?o+=b/d:o+=b*Math.pow(2,1-x),o*d>=2&&(m++,d/=2),m+x>=f?(l=0,m=f):m+x>=1?(l=(o*d-1)*Math.pow(2,a),m=m+x):(l=o*Math.pow(2,x-1)*Math.pow(2,a),m=0));a>=8;e[n+I]=l&255,I+=w,l/=256,a-=8);for(m=m<<a|l,g+=a;g>0;e[n+I]=m&255,I+=w,m/=256,g-=8);e[n+I-w]|=A*128}});var qn=Ve(se=>{"use strict";t();var ko=Rn(),ce=Pn(),Mn=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;se.Buffer=_;se.SlowBuffer=Ba;se.INSPECT_MAX_BYTES=50;var We=2147483647;se.kMaxLength=We;_.TYPED_ARRAY_SUPPORT=Ca();!_.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 Ca(){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(_.prototype,"parent",{enumerable:!0,get:function(){if(!!_.isBuffer(this))return this.buffer}});Object.defineProperty(_.prototype,"offset",{enumerable:!0,get:function(){if(!!_.isBuffer(this))return this.byteOffset}});function q(e){if(e>We)throw new RangeError('The value "'+e+'" is invalid for option "size"');var o=new Uint8Array(e);return Object.setPrototypeOf(o,_.prototype),o}function _(e,o,n){if(typeof e=="number"){if(typeof o=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return Eo(e)}return Fn(e,o,n)}_.poolSize=8192;function Fn(e,o,n){if(typeof e=="string")return Ra(e,o);if(ArrayBuffer.isView(e))return Pa(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(V(e,ArrayBuffer)||e&&V(e.buffer,ArrayBuffer)||typeof SharedArrayBuffer!="undefined"&&(V(e,SharedArrayBuffer)||e&&V(e.buffer,SharedArrayBuffer)))return Io(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 _.from(r,o,n);var a=Ma(e);if(a)return a;if(typeof Symbol!="undefined"&&Symbol.toPrimitive!=null&&typeof e[Symbol.toPrimitive]=="function")return _.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)}_.from=function(e,o,n){return Fn(e,o,n)};Object.setPrototypeOf(_.prototype,Uint8Array.prototype);Object.setPrototypeOf(_,Uint8Array);function Un(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 Da(e,o,n){return Un(e),e<=0?q(e):o!==void 0?typeof n=="string"?q(e).fill(o,n):q(e).fill(o):q(e)}_.alloc=function(e,o,n){return Da(e,o,n)};function Eo(e){return Un(e),q(e<0?0:Lo(e)|0)}_.allocUnsafe=function(e){return Eo(e)};_.allocUnsafeSlow=function(e){return Eo(e)};function Ra(e,o){if((typeof o!="string"||o==="")&&(o="utf8"),!_.isEncoding(o))throw new TypeError("Unknown encoding: "+o);var n=Vn(e,o)|0,r=q(n),a=r.write(e,o);return a!==n&&(r=r.slice(0,a)),r}function vo(e){for(var o=e.length<0?0:Lo(e.length)|0,n=q(o),r=0;r<o;r+=1)n[r]=e[r]&255;return n}function Pa(e){if(V(e,Uint8Array)){var o=new Uint8Array(e);return Io(o.buffer,o.byteOffset,o.byteLength)}return vo(e)}function Io(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,_.prototype),r}function Ma(e){if(_.isBuffer(e)){var o=Lo(e.length)|0,n=q(o);return n.length===0||e.copy(n,0,0,o),n}if(e.length!==void 0)return typeof e.length!="number"||No(e.length)?q(0):vo(e);if(e.type==="Buffer"&&Array.isArray(e.data))return vo(e.data)}function Lo(e){if(e>=We)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+We.toString(16)+" bytes");return e|0}function Ba(e){return+e!=e&&(e=0),_.alloc(+e)}_.isBuffer=function(o){return o!=null&&o._isBuffer===!0&&o!==_.prototype};_.compare=function(o,n){if(V(o,Uint8Array)&&(o=_.from(o,o.offset,o.byteLength)),V(n,Uint8Array)&&(n=_.from(n,n.offset,n.byteLength)),!_.isBuffer(o)||!_.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,a=n.length,s=0,m=Math.min(r,a);s<m;++s)if(o[s]!==n[s]){r=o[s],a=n[s];break}return r<a?-1:a<r?1:0};_.isEncoding=function(o){switch(String(o).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}};_.concat=function(o,n){if(!Array.isArray(o))throw new TypeError('"list" argument must be an Array of Buffers');if(o.length===0)return _.alloc(0);var r;if(n===void 0)for(n=0,r=0;r<o.length;++r)n+=o[r].length;var a=_.allocUnsafe(n),s=0;for(r=0;r<o.length;++r){var m=o[r];if(V(m,Uint8Array))s+m.length>a.length?_.from(m).copy(a,s):Uint8Array.prototype.set.call(a,m,s);else if(_.isBuffer(m))m.copy(a,s);else throw new TypeError('"list" argument must be an Array of Buffers');s+=m.length}return a};function Vn(e,o){if(_.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||V(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 a=!1;;)switch(o){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":return Ao(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return n*2;case"hex":return n>>>1;case"base64":return zn(e).length;default:if(a)return r?-1:Ao(e).length;o=(""+o).toLowerCase(),a=!0}}_.byteLength=Vn;function Oa(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 qa(this,o,n);case"utf8":case"utf-8":return Wn(this,o,n);case"ascii":return ja(this,o,n);case"latin1":case"binary":return za(this,o,n);case"base64":return Ga(this,o,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Ka(this,o,n);default:if(r)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),r=!0}}_.prototype._isBuffer=!0;function te(e,o,n){var r=e[o];e[o]=e[n],e[n]=r}_.prototype.swap16=function(){var o=this.length;if(o%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var n=0;n<o;n+=2)te(this,n,n+1);return this};_.prototype.swap32=function(){var o=this.length;if(o%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var n=0;n<o;n+=4)te(this,n,n+3),te(this,n+1,n+2);return this};_.prototype.swap64=function(){var o=this.length;if(o%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var n=0;n<o;n+=8)te(this,n,n+7),te(this,n+1,n+6),te(this,n+2,n+5),te(this,n+3,n+4);return this};_.prototype.toString=function(){var o=this.length;return o===0?"":arguments.length===0?Wn(this,0,o):Oa.apply(this,arguments)};_.prototype.toLocaleString=_.prototype.toString;_.prototype.equals=function(o){if(!_.isBuffer(o))throw new TypeError("Argument must be a Buffer");return this===o?!0:_.compare(this,o)===0};_.prototype.inspect=function(){var o="",n=se.INSPECT_MAX_BYTES;return o=this.toString("hex",0,n).replace(/(.{2})/g,"$1 ").trim(),this.length>n&&(o+=" ... "),"<Buffer "+o+">"};Mn&&(_.prototype[Mn]=_.prototype.inspect);_.prototype.compare=function(o,n,r,a,s){if(V(o,Uint8Array)&&(o=_.from(o,o.offset,o.byteLength)),!_.isBuffer(o))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof o);if(n===void 0&&(n=0),r===void 0&&(r=o?o.length:0),a===void 0&&(a=0),s===void 0&&(s=this.length),n<0||r>o.length||a<0||s>this.length)throw new RangeError("out of range index");if(a>=s&&n>=r)return 0;if(a>=s)return-1;if(n>=r)return 1;if(n>>>=0,r>>>=0,a>>>=0,s>>>=0,this===o)return 0;for(var m=s-a,l=r-n,d=Math.min(m,l),g=this.slice(a,s),f=o.slice(n,r),x=0;x<d;++x)if(g[x]!==f[x]){m=g[x],l=f[x];break}return m<l?-1:l<m?1:0};function $n(e,o,n,r,a){if(e.length===0)return-1;if(typeof n=="string"?(r=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),n=+n,No(n)&&(n=a?0:e.length-1),n<0&&(n=e.length+n),n>=e.length){if(a)return-1;n=e.length-1}else if(n<0)if(a)n=0;else return-1;if(typeof o=="string"&&(o=_.from(o,r)),_.isBuffer(o))return o.length===0?-1:Bn(e,o,n,r,a);if(typeof o=="number")return o=o&255,typeof Uint8Array.prototype.indexOf=="function"?a?Uint8Array.prototype.indexOf.call(e,o,n):Uint8Array.prototype.lastIndexOf.call(e,o,n):Bn(e,[o],n,r,a);throw new TypeError("val must be string, number or Buffer")}function Bn(e,o,n,r,a){var s=1,m=e.length,l=o.length;if(r!==void 0&&(r=String(r).toLowerCase(),r==="ucs2"||r==="ucs-2"||r==="utf16le"||r==="utf-16le")){if(e.length<2||o.length<2)return-1;s=2,m/=2,l/=2,n/=2}function d(I,w){return s===1?I[w]:I.readUInt16BE(w*s)}var g;if(a){var f=-1;for(g=n;g<m;g++)if(d(e,g)===d(o,f===-1?0:g-f)){if(f===-1&&(f=g),g-f+1===l)return f*s}else f!==-1&&(g-=g-f),f=-1}else for(n+l>m&&(n=m-l),g=n;g>=0;g--){for(var x=!0,b=0;b<l;b++)if(d(e,g+b)!==d(o,b)){x=!1;break}if(x)return g}return-1}_.prototype.includes=function(o,n,r){return this.indexOf(o,n,r)!==-1};_.prototype.indexOf=function(o,n,r){return $n(this,o,n,r,!0)};_.prototype.lastIndexOf=function(o,n,r){return $n(this,o,n,r,!1)};function Fa(e,o,n,r){n=Number(n)||0;var a=e.length-n;r?(r=Number(r),r>a&&(r=a)):r=a;var s=o.length;r>s/2&&(r=s/2);for(var m=0;m<r;++m){var l=parseInt(o.substr(m*2,2),16);if(No(l))return m;e[n+m]=l}return m}function Ua(e,o,n,r){return Ge(Ao(o,e.length-n),e,n,r)}function Va(e,o,n,r){return Ge(Za(o),e,n,r)}function $a(e,o,n,r){return Ge(zn(o),e,n,r)}function Wa(e,o,n,r){return Ge(Ja(o,e.length-n),e,n,r)}_.prototype.write=function(o,n,r,a){if(n===void 0)a="utf8",r=this.length,n=0;else if(r===void 0&&typeof n=="string")a=n,r=this.length,n=0;else if(isFinite(n))n=n>>>0,isFinite(r)?(r=r>>>0,a===void 0&&(a="utf8")):(a=r,r=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var s=this.length-n;if((r===void 0||r>s)&&(r=s),o.length>0&&(r<0||n<0)||n>this.length)throw new RangeError("Attempt to write outside buffer bounds");a||(a="utf8");for(var m=!1;;)switch(a){case"hex":return Fa(this,o,n,r);case"utf8":case"utf-8":return Ua(this,o,n,r);case"ascii":case"latin1":case"binary":return Va(this,o,n,r);case"base64":return $a(this,o,n,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Wa(this,o,n,r);default:if(m)throw new TypeError("Unknown encoding: "+a);a=(""+a).toLowerCase(),m=!0}};_.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function Ga(e,o,n){return o===0&&n===e.length?ko.fromByteArray(e):ko.fromByteArray(e.slice(o,n))}function Wn(e,o,n){n=Math.min(e.length,n);for(var r=[],a=o;a<n;){var s=e[a],m=null,l=s>239?4:s>223?3:s>191?2:1;if(a+l<=n){var d,g,f,x;switch(l){case 1:s<128&&(m=s);break;case 2:d=e[a+1],(d&192)===128&&(x=(s&31)<<6|d&63,x>127&&(m=x));break;case 3:d=e[a+1],g=e[a+2],(d&192)===128&&(g&192)===128&&(x=(s&15)<<12|(d&63)<<6|g&63,x>2047&&(x<55296||x>57343)&&(m=x));break;case 4:d=e[a+1],g=e[a+2],f=e[a+3],(d&192)===128&&(g&192)===128&&(f&192)===128&&(x=(s&15)<<18|(d&63)<<12|(g&63)<<6|f&63,x>65535&&x<1114112&&(m=x))}}m===null?(m=65533,l=1):m>65535&&(m-=65536,r.push(m>>>10&1023|55296),m=56320|m&1023),r.push(m),a+=l}return Ha(r)}var On=4096;function Ha(e){var o=e.length;if(o<=On)return String.fromCharCode.apply(String,e);for(var n="",r=0;r<o;)n+=String.fromCharCode.apply(String,e.slice(r,r+=On));return n}function ja(e,o,n){var r="";n=Math.min(e.length,n);for(var a=o;a<n;++a)r+=String.fromCharCode(e[a]&127);return r}function za(e,o,n){var r="";n=Math.min(e.length,n);for(var a=o;a<n;++a)r+=String.fromCharCode(e[a]);return r}function qa(e,o,n){var r=e.length;(!o||o<0)&&(o=0),(!n||n<0||n>r)&&(n=r);for(var a="",s=o;s<n;++s)a+=Qa[e[s]];return a}function Ka(e,o,n){for(var r=e.slice(o,n),a="",s=0;s<r.length-1;s+=2)a+=String.fromCharCode(r[s]+r[s+1]*256);return a}_.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 a=this.subarray(o,n);return Object.setPrototypeOf(a,_.prototype),a};function E(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")}_.prototype.readUintLE=_.prototype.readUIntLE=function(o,n,r){o=o>>>0,n=n>>>0,r||E(o,n,this.length);for(var a=this[o],s=1,m=0;++m<n&&(s*=256);)a+=this[o+m]*s;return a};_.prototype.readUintBE=_.prototype.readUIntBE=function(o,n,r){o=o>>>0,n=n>>>0,r||E(o,n,this.length);for(var a=this[o+--n],s=1;n>0&&(s*=256);)a+=this[o+--n]*s;return a};_.prototype.readUint8=_.prototype.readUInt8=function(o,n){return o=o>>>0,n||E(o,1,this.length),this[o]};_.prototype.readUint16LE=_.prototype.readUInt16LE=function(o,n){return o=o>>>0,n||E(o,2,this.length),this[o]|this[o+1]<<8};_.prototype.readUint16BE=_.prototype.readUInt16BE=function(o,n){return o=o>>>0,n||E(o,2,this.length),this[o]<<8|this[o+1]};_.prototype.readUint32LE=_.prototype.readUInt32LE=function(o,n){return o=o>>>0,n||E(o,4,this.length),(this[o]|this[o+1]<<8|this[o+2]<<16)+this[o+3]*16777216};_.prototype.readUint32BE=_.prototype.readUInt32BE=function(o,n){return o=o>>>0,n||E(o,4,this.length),this[o]*16777216+(this[o+1]<<16|this[o+2]<<8|this[o+3])};_.prototype.readIntLE=function(o,n,r){o=o>>>0,n=n>>>0,r||E(o,n,this.length);for(var a=this[o],s=1,m=0;++m<n&&(s*=256);)a+=this[o+m]*s;return s*=128,a>=s&&(a-=Math.pow(2,8*n)),a};_.prototype.readIntBE=function(o,n,r){o=o>>>0,n=n>>>0,r||E(o,n,this.length);for(var a=n,s=1,m=this[o+--a];a>0&&(s*=256);)m+=this[o+--a]*s;return s*=128,m>=s&&(m-=Math.pow(2,8*n)),m};_.prototype.readInt8=function(o,n){return o=o>>>0,n||E(o,1,this.length),this[o]&128?(255-this[o]+1)*-1:this[o]};_.prototype.readInt16LE=function(o,n){o=o>>>0,n||E(o,2,this.length);var r=this[o]|this[o+1]<<8;return r&32768?r|4294901760:r};_.prototype.readInt16BE=function(o,n){o=o>>>0,n||E(o,2,this.length);var r=this[o+1]|this[o]<<8;return r&32768?r|4294901760:r};_.prototype.readInt32LE=function(o,n){return o=o>>>0,n||E(o,4,this.length),this[o]|this[o+1]<<8|this[o+2]<<16|this[o+3]<<24};_.prototype.readInt32BE=function(o,n){return o=o>>>0,n||E(o,4,this.length),this[o]<<24|this[o+1]<<16|this[o+2]<<8|this[o+3]};_.prototype.readFloatLE=function(o,n){return o=o>>>0,n||E(o,4,this.length),ce.read(this,o,!0,23,4)};_.prototype.readFloatBE=function(o,n){return o=o>>>0,n||E(o,4,this.length),ce.read(this,o,!1,23,4)};_.prototype.readDoubleLE=function(o,n){return o=o>>>0,n||E(o,8,this.length),ce.read(this,o,!0,52,8)};_.prototype.readDoubleBE=function(o,n){return o=o>>>0,n||E(o,8,this.length),ce.read(this,o,!1,52,8)};function C(e,o,n,r,a,s){if(!_.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(o>a||o<s)throw new RangeError('"value" argument is out of bounds');if(n+r>e.length)throw new RangeError("Index out of range")}_.prototype.writeUintLE=_.prototype.writeUIntLE=function(o,n,r,a){if(o=+o,n=n>>>0,r=r>>>0,!a){var s=Math.pow(2,8*r)-1;C(this,o,n,r,s,0)}var m=1,l=0;for(this[n]=o&255;++l<r&&(m*=256);)this[n+l]=o/m&255;return n+r};_.prototype.writeUintBE=_.prototype.writeUIntBE=function(o,n,r,a){if(o=+o,n=n>>>0,r=r>>>0,!a){var s=Math.pow(2,8*r)-1;C(this,o,n,r,s,0)}var m=r-1,l=1;for(this[n+m]=o&255;--m>=0&&(l*=256);)this[n+m]=o/l&255;return n+r};_.prototype.writeUint8=_.prototype.writeUInt8=function(o,n,r){return o=+o,n=n>>>0,r||C(this,o,n,1,255,0),this[n]=o&255,n+1};_.prototype.writeUint16LE=_.prototype.writeUInt16LE=function(o,n,r){return o=+o,n=n>>>0,r||C(this,o,n,2,65535,0),this[n]=o&255,this[n+1]=o>>>8,n+2};_.prototype.writeUint16BE=_.prototype.writeUInt16BE=function(o,n,r){return o=+o,n=n>>>0,r||C(this,o,n,2,65535,0),this[n]=o>>>8,this[n+1]=o&255,n+2};_.prototype.writeUint32LE=_.prototype.writeUInt32LE=function(o,n,r){return o=+o,n=n>>>0,r||C(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};_.prototype.writeUint32BE=_.prototype.writeUInt32BE=function(o,n,r){return o=+o,n=n>>>0,r||C(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};_.prototype.writeIntLE=function(o,n,r,a){if(o=+o,n=n>>>0,!a){var s=Math.pow(2,8*r-1);C(this,o,n,r,s-1,-s)}var m=0,l=1,d=0;for(this[n]=o&255;++m<r&&(l*=256);)o<0&&d===0&&this[n+m-1]!==0&&(d=1),this[n+m]=(o/l>>0)-d&255;return n+r};_.prototype.writeIntBE=function(o,n,r,a){if(o=+o,n=n>>>0,!a){var s=Math.pow(2,8*r-1);C(this,o,n,r,s-1,-s)}var m=r-1,l=1,d=0;for(this[n+m]=o&255;--m>=0&&(l*=256);)o<0&&d===0&&this[n+m+1]!==0&&(d=1),this[n+m]=(o/l>>0)-d&255;return n+r};_.prototype.writeInt8=function(o,n,r){return o=+o,n=n>>>0,r||C(this,o,n,1,127,-128),o<0&&(o=255+o+1),this[n]=o&255,n+1};_.prototype.writeInt16LE=function(o,n,r){return o=+o,n=n>>>0,r||C(this,o,n,2,32767,-32768),this[n]=o&255,this[n+1]=o>>>8,n+2};_.prototype.writeInt16BE=function(o,n,r){return o=+o,n=n>>>0,r||C(this,o,n,2,32767,-32768),this[n]=o>>>8,this[n+1]=o&255,n+2};_.prototype.writeInt32LE=function(o,n,r){return o=+o,n=n>>>0,r||C(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};_.prototype.writeInt32BE=function(o,n,r){return o=+o,n=n>>>0,r||C(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 Gn(e,o,n,r,a,s){if(n+r>e.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function Hn(e,o,n,r,a){return o=+o,n=n>>>0,a||Gn(e,o,n,4,34028234663852886e22,-34028234663852886e22),ce.write(e,o,n,r,23,4),n+4}_.prototype.writeFloatLE=function(o,n,r){return Hn(this,o,n,!0,r)};_.prototype.writeFloatBE=function(o,n,r){return Hn(this,o,n,!1,r)};function jn(e,o,n,r,a){return o=+o,n=n>>>0,a||Gn(e,o,n,8,17976931348623157e292,-17976931348623157e292),ce.write(e,o,n,r,52,8),n+8}_.prototype.writeDoubleLE=function(o,n,r){return jn(this,o,n,!0,r)};_.prototype.writeDoubleBE=function(o,n,r){return jn(this,o,n,!1,r)};_.prototype.copy=function(o,n,r,a){if(!_.isBuffer(o))throw new TypeError("argument should be a Buffer");if(r||(r=0),!a&&a!==0&&(a=this.length),n>=o.length&&(n=o.length),n||(n=0),a>0&&a<r&&(a=r),a===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(a<0)throw new RangeError("sourceEnd out of bounds");a>this.length&&(a=this.length),o.length-n<a-r&&(a=o.length-n+r);var s=a-r;return this===o&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(n,r,a):Uint8Array.prototype.set.call(o,this.subarray(r,a),n),s};_.prototype.fill=function(o,n,r,a){if(typeof o=="string"){if(typeof n=="string"?(a=n,n=0,r=this.length):typeof r=="string"&&(a=r,r=this.length),a!==void 0&&typeof a!="string")throw new TypeError("encoding must be a string");if(typeof a=="string"&&!_.isEncoding(a))throw new TypeError("Unknown encoding: "+a);if(o.length===1){var s=o.charCodeAt(0);(a==="utf8"&&s<128||a==="latin1")&&(o=s)}}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 l=_.isBuffer(o)?o:_.from(o,a),d=l.length;if(d===0)throw new TypeError('The value "'+o+'" is invalid for argument "value"');for(m=0;m<r-n;++m)this[m+n]=l[m%d]}return this};var Xa=/[^+/0-9A-Za-z-_]/g;function Ya(e){if(e=e.split("=")[0],e=e.trim().replace(Xa,""),e.length<2)return"";for(;e.length%4!==0;)e=e+"=";return e}function Ao(e,o){o=o||1/0;for(var n,r=e.length,a=null,s=[],m=0;m<r;++m){if(n=e.charCodeAt(m),n>55295&&n<57344){if(!a){if(n>56319){(o-=3)>-1&&s.push(239,191,189);continue}else if(m+1===r){(o-=3)>-1&&s.push(239,191,189);continue}a=n;continue}if(n<56320){(o-=3)>-1&&s.push(239,191,189),a=n;continue}n=(a-55296<<10|n-56320)+65536}else a&&(o-=3)>-1&&s.push(239,191,189);if(a=null,n<128){if((o-=1)<0)break;s.push(n)}else if(n<2048){if((o-=2)<0)break;s.push(n>>6|192,n&63|128)}else if(n<65536){if((o-=3)<0)break;s.push(n>>12|224,n>>6&63|128,n&63|128)}else if(n<1114112){if((o-=4)<0)break;s.push(n>>18|240,n>>12&63|128,n>>6&63|128,n&63|128)}else throw new Error("Invalid code point")}return s}function Za(e){for(var o=[],n=0;n<e.length;++n)o.push(e.charCodeAt(n)&255);return o}function Ja(e,o){for(var n,r,a,s=[],m=0;m<e.length&&!((o-=2)<0);++m)n=e.charCodeAt(m),r=n>>8,a=n%256,s.push(a),s.push(r);return s}function zn(e){return ko.toByteArray(Ya(e))}function Ge(e,o,n,r){for(var a=0;a<r&&!(a+n>=o.length||a>=e.length);++a)o[a+n]=e[a];return a}function V(e,o){return e instanceof o||e!=null&&e.constructor!=null&&e.constructor.name!=null&&e.constructor.name===o.name}function No(e){return e!==e}var Qa=function(){for(var e="0123456789abcdef",o=new Array(256),n=0;n<16;++n)for(var r=n*16,a=0;a<16;++a)o[r+a]=e[n]+e[a];return o}()});var Jn=Ve((Yp,Zn)=>{t();var k=Zn.exports={},$,W;function Co(){throw new Error("setTimeout has not been defined")}function Do(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?$=setTimeout:$=Co}catch(e){$=Co}try{typeof clearTimeout=="function"?W=clearTimeout:W=Do}catch(e){W=Do}})();function Kn(e){if($===setTimeout)return setTimeout(e,0);if(($===Co||!$)&&setTimeout)return $=setTimeout,setTimeout(e,0);try{return $(e,0)}catch(o){try{return $.call(null,e,0)}catch(n){return $.call(this,e,0)}}}function ei(e){if(W===clearTimeout)return clearTimeout(e);if((W===Do||!W)&&clearTimeout)return W=clearTimeout,clearTimeout(e);try{return W(e)}catch(o){try{return W.call(null,e)}catch(n){return W.call(this,e)}}}var K=[],me=!1,re,He=-1;function oi(){!me||!re||(me=!1,re.length?K=re.concat(K):He=-1,K.length&&Xn())}function Xn(){if(!me){var e=Kn(oi);me=!0;for(var o=K.length;o;){for(re=K,K=[];++He<o;)re&&re[He].run();He=-1,o=K.length}re=null,me=!1,ei(e)}}k.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];K.push(new Yn(e,o)),K.length===1&&!me&&Kn(Xn)};function Yn(e,o){this.fun=e,this.array=o}Yn.prototype.run=function(){this.fun.apply(null,this.array)};k.title="browser";k.browser=!0;k.env={};k.argv=[];k.version="";k.versions={};function X(){}k.on=X;k.addListener=X;k.once=X;k.off=X;k.removeListener=X;k.removeAllListeners=X;k.emit=X;k.prependListener=X;k.prependOnceListener=X;k.listeners=function(e){return[]};k.binding=function(e){throw new Error("process.binding is not supported")};k.cwd=function(){return"/"};k.chdir=function(e){throw new Error("process.chdir is not supported")};k.umask=function(){return 0}});var i,p,Zp,t=h(()=>{i=T(qn()),p=T(Jn()),Zp=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 Qn,Ro=h(()=>{"use strict";t();Qn="Action not allowed. User is logged in. Call logout() first"});var et=h(()=>{"use strict";t()});var ot=h(()=>{"use strict";t()});var nt=h(()=>{"use strict";t()});var B=h(()=>{"use strict";t()});var tt=h(()=>{"use strict";t()});var rt=h(()=>{"use strict";t()});var N=h(()=>{"use strict";t()});var at=h(()=>{"use strict";t()});var it=h(()=>{"use strict";t()});var G=h(()=>{"use strict";t();et();ot();nt();B();tt();rt();N();at();it()});var Po,pt,fc,ct,xc,st,hc,yc,bc,mt=h(()=>{"use strict";t();G();Po={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:pt,egldLabel:fc}=Po["devnet"],{chainId:ct,egldLabel:xc}=Po["testnet"],{chainId:st,egldLabel:hc}=Po["mainnet"],yc={["devnet"]:pt,["testnet"]:ct,["mainnet"]:st},bc={[pt]:"devnet",[ct]:"testnet",[st]:"mainnet"}});var Mo=h(()=>{"use strict";t()});var _t=h(()=>{"use strict";t()});var dt,Bo=h(()=>{"use strict";t();dt="transaction-status-toast-id"});var H,lt=h(()=>{"use strict";t();H=require("@multiversx/sdk-web-wallet-provider")});var Oo,Fo,gt,je,ut,_e,v=h(()=>{"use strict";t();Ro();mt();Mo();_t();Bo();lt();Oo=5e4,Fo=1e9,gt=1,je="logout",ut="login",_e="0"});var $o,L,de,j=h(()=>{"use strict";t();$o=require("@reduxjs/toolkit");v();L=(0,$o.createAction)(je),de=(0,$o.createAction)(ut,e=>({payload:e}))});var le,ze=h(()=>{"use strict";t();le=()=>Date.now()/1e3});var ht=h(()=>{"use strict";t()});var yt=h(()=>{"use strict";t()});var bt=h(()=>{"use strict";t();ze();ht();yt()});var Go={};oe(Go,{getItem:()=>mi,localStorageKeys:()=>ae,removeItem:()=>_i,setItem:()=>si});var ae,Wo,si,mi,_i,ve=h(()=>{"use strict";t();bt();ae={loginExpiresAt:"sdk-dapp-login-expires-at",logoutEvent:"sdk-dapp-logout-event"},Wo=typeof localStorage!="undefined",si=({key:e,data:o,expires:n})=>{!Wo||localStorage.setItem(String(e),JSON.stringify({expires:n,data:o}))},mi=e=>{if(!Wo)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:le()>=n.expires?(localStorage.removeItem(String(e)),null):n.data},_i=e=>{!Wo||localStorage.removeItem(String(e))}});var Ho={};oe(Ho,{clear:()=>kt,getItem:()=>wt,removeItem:()=>St,setItem:()=>Tt,storage:()=>di});var Tt,wt,St,kt,di,vt=h(()=>{"use strict";t();Tt=({key:e,data:o,expires:n})=>{sessionStorage.setItem(String(e),JSON.stringify({expires:n,data:o}))},wt=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},St=e=>sessionStorage.removeItem(String(e)),kt=()=>sessionStorage.clear(),di={setItem:Tt,getItem:wt,removeItem:St,clear:kt}});var ge,qe=h(()=>{"use strict";t();ve();vt();ge={session:Ho,local:Go}});var zo,It,At,Ke,jo,Et,Lt,ns,Nt,ts,rs,as,is,ps,cs,ss,Ct,qo=h(()=>{"use strict";t();zo=require("@multiversx/sdk-core"),It=require("@reduxjs/toolkit"),At=require("redux-persist");v();qe();ve();j();Ke={balance:"...",address:"",nonce:0,txCount:0,scrCount:0,claimableRewards:_e},jo={address:"",websocketEvent:null,accounts:{"":Ke},ledgerAccount:null,publicKey:"",walletConnectAccount:null,isAccountLoading:!0,accountLoadingError:null},Et=(0,It.createSlice)({name:"accountInfoSlice",initialState:jo,reducers:{setAddress:(e,o)=>{let n=o.payload;e.address=n,e.publicKey=new zo.Address(n).hex()},setAccount:(e,o)=>{let n=e.address===o.payload.address;e.accounts={[e.address]:n?o.payload:Ke},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(L,()=>(ge.local.removeItem(ae.loginExpiresAt),jo)),e.addCase(de,(o,n)=>{let{address:r}=n.payload;o.address=r,o.publicKey=new zo.Address(r).hex()}),e.addCase(At.REHYDRATE,(o,n)=>{var g;if(!((g=n.payload)!=null&&g.account))return;let{account:r}=n.payload,{address:a,shard:s,accounts:m,publicKey:l}=r;o.address=a,o.shard=s;let d=m&&a in m;o.accounts=d?m:jo.accounts,o.publicKey=l})}}),{setAccount:Lt,setAddress:ns,setAccountNonce:Nt,setAccountShard:ts,setLedgerAccount:rs,updateLedgerAccount:as,setWalletConnectAccount:is,setIsAccountLoading:ps,setAccountLoadingError:cs,setWebsocketEvent:ss}=Et.actions,Ct=Et.reducer});function Ie(){return new Date().setHours(new Date().getHours()+24)}function Ae(e){ge.local.setItem({key:ae.loginExpiresAt,data:e,expires:e})}var Ko=h(()=>{"use strict";t();qe();ve()});var Rt,Dt,Pt,ys,bs,Ts,Xe,ws,Ss,Mt,ks,Bt,Xo=h(()=>{"use strict";t();Rt=require("@reduxjs/toolkit");Ko();B();j();Dt={loginMethod:"",walletConnectLogin:null,ledgerLogin:null,tokenLogin:null,walletLogin:null,extensionLogin:null,operaLogin:null,isLoginSessionInvalid:!1},Pt=(0,Rt.createSlice)({name:"loginInfoSlice",initialState:Dt,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(L,()=>Dt),e.addCase(de,(o,n)=>{o.loginMethod=n.payload.loginMethod,Ae(Ie())})}}),{setLoginMethod:ys,setWalletConnectLogin:bs,setLedgerLogin:Ts,setTokenLogin:Xe,setTokenLoginSignature:ws,setWalletLogin:Ss,invalidateLoginSession:Mt,setLogoutRoute:ks}=Pt.actions,Bt=Pt.reducer});var Ft,Ot,Ut,Es,Ls,Ns,Cs,Vt,Yo=h(()=>{"use strict";t();Ft=require("@reduxjs/toolkit");j();Ot={},Ut=(0,Ft.createSlice)({name:"modalsSlice",initialState:Ot,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(L,()=>Ot)}}),{setTxSubmittedModal:Es,setNotificationModal:Ls,clearTxSubmittedModal:Ns,clearNotificationModal:Cs}=Ut.actions,Vt=Ut.reducer});var li,$t,Wt=h(()=>{"use strict";t();li=!1,$t=(e,o=0)=>{li||setTimeout(()=>{window.location.href=e,window.location.assign(e)},o)}});function Gt({callbackRoute:e,onLoginRedirect:o,options:n}){let r=Boolean(e),a=typeof o=="function",s=a?0:gi;r&&e!=null&&setTimeout(()=>{if(a)return o(e,n);window.location.pathname.includes(e)||$t(e)},s)}var gi,Ht=h(()=>{"use strict";t();Wt();gi=200});function Zo(e){return e[Math.floor(Math.random()*e.length)]}var jt=h(()=>{"use strict";t()});var zt=h(()=>{"use strict";t();Mo()});var Jo=h(()=>{"use strict";t();Ht();jt();zt()});var qt,Kt,Qo,ui,Xt,zs,qs,Yt,en=h(()=>{"use strict";t();qt=require("@reduxjs/toolkit"),Kt=T(require("lodash.omit"));Jo();Qo={id:"not-configured",chainId:"",name:"NOT CONFIGURED",egldLabel:"",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"",walletConnectBridgeAddress:"",walletConnectV2RelayAddress:"",walletConnectV2ProjectId:"",walletConnectV2Options:{},walletAddress:"",apiAddress:"",explorerAddress:"",apiTimeout:"4000"},ui={network:Qo,chainID:"-1"},Xt=(0,qt.createSlice)({name:"appConfig",initialState:ui,reducers:{initializeNetworkConfig:(e,o)=>{let n=Zo(o.payload.walletConnectBridgeAddresses),r=Zo(o.payload.walletConnectV2RelayAddresses),a=(0,Kt.default)(o.payload,"walletConnectBridgeAddresses","walletConnectV2RelayAddresses");e.network=S(y(y({},e.network),a),{walletConnectBridgeAddress:n,walletConnectV2RelayAddress:r})},setChainID:(e,o)=>{e.chainID=o.payload}}}),{initializeNetworkConfig:zs,setChainID:qs}=Xt.actions,Yt=Xt.reducer});var Zt,on,Jt,Qs,em,om,Ye,Ze=h(()=>{"use strict";t();Zt=require("@reduxjs/toolkit");G();j();on={isSigning:!1,signedSessions:{}},Jt=(0,Zt.createSlice)({name:"signedMessageInfoSliceState",initialState:on,reducers:{setSignSession:(e,o)=>{let{sessionId:n,signedSession:r,errorMessage:a}=o.payload;return S(y({},e),{errorMessage:a!=null?a:e.errorMessage,isSigning:r.status==="pending",signedSessions:S(y({},e.signedSessions),{[n]:r})})},setSignSessionState:(e,o)=>y(y({},e),o.payload),clearSignedMessageInfo:()=>on},extraReducers:e=>{e.addCase(L,()=>on)}}),{setSignSession:Qs,clearSignedMessageInfo:em,setSignSessionState:om}=Jt.actions,Ye=Jt.reducer});var er,or,Qt,nr,sm,mm,_m,dm,lm,gm,Je,Qe=h(()=>{"use strict";t();er=require("@reduxjs/toolkit"),or=require("redux-persist");Bo();G();ze();j();Qt={customToasts:[],transactionToasts:[],failTransactionToast:null},nr=(0,er.createSlice)({name:"toastsSlice",initialState:Qt,reducers:{addCustomToast:(e,o)=>{e.customToasts.push(S(y({},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:le(),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(y({},o.payload),{toastId:dt})},removeFailTransactionToast:e=>{e.failTransactionToast=null}},extraReducers:e=>{e.addCase(L,()=>Qt),e.addCase(or.REHYDRATE,(o,n)=>{var a,s;let r=(s=(a=n.customToasts)==null?void 0:a.filter(m=>!("component"in m)))!=null?s:[];o.customToasts=r})}}),{addCustomToast:sm,removeCustomToast:mm,addTransactionToast:_m,removeTransactionToast:dm,addFailTransactionToast:lm,removeFailTransactionToast:gm}=nr.actions,Je=nr.reducer});var tr,tn,rn,an,fi,nn,rr,hm,ym,bm,eo,oo=h(()=>{"use strict";t();tr=require("@reduxjs/toolkit");j();tn="Transaction failed",rn="Transaction successful",an="Processing transaction",fi="Transaction submitted",nn={},rr=(0,tr.createSlice)({name:"transactionsInfo",initialState:nn,reducers:{setTransactionsDisplayInfo(e,o){let{sessionId:n,transactionsDisplayInfo:r}=o.payload;n!=null&&(e[n]={errorMessage:(r==null?void 0:r.errorMessage)||tn,successMessage:(r==null?void 0:r.successMessage)||rn,processingMessage:(r==null?void 0:r.processingMessage)||an,submittedMessage:(r==null?void 0:r.submittedMessage)||fi,transactionDuration:r==null?void 0:r.transactionDuration})},clearTransactionsInfoForSessionId(e,o){o.payload!=null&&delete e[o.payload]},clearTransactionsInfo:()=>nn},extraReducers:e=>{e.addCase(L,()=>nn)}}),{clearTransactionsInfo:hm,setTransactionsDisplayInfo:ym,clearTransactionsInfoForSessionId:bm}=rr.actions,eo=rr.reducer});function ar(e){return e!=null&&(vi(e)||Li(e))}function no(e){return e!=null&&(Ii(e)||Ni(e))}function to(e){return e!=null&&(Ai(e)||Ci(e))}function ir(e){return e!=null&&Ei(e)}function vi(e){return e!=null&&hi.includes(e)}function Ii(e){return e!=null&&yi.includes(e)}function Ai(e){return e!=null&&bi.includes(e)}function Ei(e){return e!=null&&Ti.includes(e)}function Li(e){return e!=null&&wi.includes(e)}function Ni(e){return e!=null&&Si.includes(e)}function Ci(e){return e!=null&&ki.includes(e)}var hi,yi,bi,Ti,wi,Si,ki,cn=h(()=>{"use strict";t();B();hi=["sent"],yi=["success"],bi=["fail","cancelled","timedOut"],Ti=["timedOut"],wi=["pending"],Si=["success"],ki=["fail","invalid"]});var pr,cr,Ee,Di,sr,Lm,Nm,Cm,Dm,Rm,Pm,Mm,Bm,Om,Fm,ro,ao=h(()=>{"use strict";t();pr=require("@reduxjs/toolkit"),cr=require("redux-persist");B();cn();j();Ee={signedTransactions:{},transactionsToSign:null,signTransactionsError:null,signTransactionsCancelMessage:null,customTransactionInformationForSessionId:{}},Di={signWithoutSending:!1,sessionInformation:null,redirectAfterSign:!1},sr=(0,pr.createSlice)({name:"transactionsSlice",initialState:Ee,reducers:{moveTransactionsToSignedState:(e,o)=>{var d,g;let{sessionId:n,transactions:r,errorMessage:a,status:s,redirectRoute:m}=o.payload,l=((d=e.customTransactionInformationForSessionId)==null?void 0:d[n])||Di;e.signedTransactions[n]={transactions:r,status:s,errorMessage:a,redirectRoute:m,customTransactionInformation:l},((g=e==null?void 0:e.transactionsToSign)==null?void 0:g.sessionId)===n&&(e.transactionsToSign=Ee.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=y(y({},e.signedTransactions),o.payload)},updateSignedTransactions:(e,o)=>{let{sessionId:n,status:r,errorMessage:a,transactions:s}=o.payload;e.signedTransactions[n]!=null&&(e.signedTransactions[n].status=r,a!=null&&(e.signedTransactions[n].errorMessage=a),s!=null&&(e.signedTransactions[n].transactions=s))},updateSignedTransactionStatus:(e,o)=>{var l,d,g,f,x,b;let{sessionId:n,status:r,errorMessage:a,transactionHash:s}=o.payload,m=(d=(l=e.signedTransactions)==null?void 0:l[n])==null?void 0:d.transactions;if(m!=null){e.signedTransactions[n].transactions=m.map(A=>A.hash===s?S(y({},A),{status:r,errorMessage:a}):A);let I=(f=(g=e.signedTransactions[n])==null?void 0:g.transactions)==null?void 0:f.every(A=>no(A.status)),w=(b=(x=e.signedTransactions[n])==null?void 0:x.transactions)==null?void 0:b.every(A=>to(A.status));I&&(e.signedTransactions[n].status="success"),w&&(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=Ee.transactionsToSign,e.signTransactionsError=null},clearAllSignedTransactions:e=>{e.signedTransactions=Ee.signedTransactions},setSignTransactionsError:(e,o)=>{e.signTransactionsError=o.payload},setSignTransactionsCancelMessage:(e,o)=>{e.signTransactionsCancelMessage=o.payload}},extraReducers:e=>{e.addCase(L,()=>Ee),e.addCase(cr.REHYDRATE,(o,n)=>{var m;if(o.signTransactionsCancelMessage=null,!((m=n.payload)!=null&&m.transactions))return;let{signedTransactions:r,customTransactionInformationForSessionId:a}=n.payload.transactions,s=Object.entries(r).reduce((l,[d,g])=>{let f=new Date(d),x=new Date;return x.setHours(x.getHours()+5),x-f>0||(l[d]=g),l},{});a!=null&&(o.customTransactionInformationForSessionId=a),r!=null&&(o.signedTransactions=s)})}}),{updateSignedTransactionStatus:Lm,updateSignedTransactions:Nm,setTransactionsToSign:Cm,clearAllTransactionsToSign:Dm,clearAllSignedTransactions:Rm,clearSignedTransaction:Pm,clearTransactionToSign:Mm,setSignTransactionsError:Bm,setSignTransactionsCancelMessage:Om,moveTransactionsToSignedState:Fm}=sr.actions,ro=sr.reducer});var ie=h(()=>{"use strict";t();qo();Xo();Yo();en();Ze();Qe();oo();ao()});var sn=h(()=>{"use strict";t()});var gr,lr,ur,c_,s_,m_,__,d_,l_,fr,xr=h(()=>{"use strict";t();gr=require("@reduxjs/toolkit");j();lr={visible:!1,modal:{showHeader:!0,showFooter:!1,headerText:"",footerText:""}},ur=(0,gr.createSlice)({name:"dappModalsSlice",initialState:lr,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=y({},o.payload)}},extraReducers:e=>{e.addCase(L,()=>lr)}}),{setDappModalVisibility:c_,setDappModalHeaderVisibility:s_,setDappModalFooterVisibility:m_,setDappModalHeaderText:__,setDappModalFooterText:d_,setDappModalConfig:l_}=ur.actions,fr=ur.reducer});var hr,Bi,Oi,ue,so=h(()=>{"use strict";t();hr=require("@reduxjs/toolkit");sn();qo();xr();Xo();Yo();en();Ze();Qe();oo();ao();Bi={["account"]:Ct,["dappModal"]:fr,["loginInfo"]:Bt,["modals"]:Vt,["networkConfig"]:Yt,["signedMessageInfo"]:Ye,["toasts"]:Je,["transactionsInfo"]:eo,["transactions"]:ro},Oi=(e={})=>(0,hr.combineReducers)(y(y({},Bi),e)),ue=Oi});var Tr={};oe(Tr,{default:()=>ji});function mo(e,o=[]){return{key:e,version:1,storage:br.default,blacklist:o}}var Q,yr,br,Fi,Ui,Vi,$i,Wi,Gi,Hi,ji,wr=h(()=>{"use strict";t();Q=require("redux-persist"),yr=T(require("redux-persist/lib/storage")),br=T(require("redux-persist/lib/storage/session"));so();ie();Ze();Qe();oo();ao();sn();Fi={2:e=>S(y({},e),{networkConfig:Qo})};Ui=mo("sdk-dapp-transactionsInfo"),Vi=mo("sdk-dapp-transactions",["transactionsToSign"]),$i=mo("sdk-dapp-toasts"),Wi=mo("sdk-dapp-signedMessageInfo"),Gi={key:"sdk-dapp-store",version:2,storage:yr.default,whitelist:["account","loginInfo","modals","networkConfig"],migrate:(0,Q.createMigrate)(Fi,{debug:!1})},Hi={["toasts"]:(0,Q.persistReducer)($i,Je),["transactions"]:(0,Q.persistReducer)(Vi,ro),["transactionsInfo"]:(0,Q.persistReducer)(Ui,eo),["signedMessageInfo"]:(0,Q.persistReducer)(Wi,Ye)},ji=(0,Q.persistReducer)(Gi,ue(Hi))});var Sr={};oe(Sr,{default:()=>zi});var zi,kr=h(()=>{"use strict";t();so();zi=ue()});var vr={};oe(vr,{default:()=>Ki});var O,qi,Ki,Ir=h(()=>{"use strict";t();O=require("redux-persist"),qi=[O.FLUSH,O.REHYDRATE,O.PAUSE,O.PERSIST,O.PURGE,O.REGISTER],Ki=qi});var Lr={};oe(Lr,{default:()=>Er});function Er(e){return(0,Ar.persistStore)(e)}var Ar,Nr=h(()=>{"use strict";t();Ar=require("redux-persist")});var jp={};oe(jp,{ExtensionLoginButton:()=>Hp});module.exports=ke(jp);t();var Te=T(require("react")),ua=require("@fortawesome/free-solid-svg-icons"),fa=require("@fortawesome/react-fontawesome"),xa=T(require("classnames"));t();var vn=require("react"),sa=require("@multiversx/sdk-extension-provider");Ro();t();t();var ni=require("@multiversx/sdk-extension-provider"),ti=require("@multiversx/sdk-hw-provider"),ri=require("@multiversx/sdk-opera-provider"),ai=require("@multiversx/sdk-wallet-connect-provider/out/walletConnectProvider"),ii=require("@multiversx/sdk-wallet-connect-provider/out/walletConnectV2Provider"),pi=require("@multiversx/sdk-web-wallet-provider");v();B();var Y=e=>`Unable to perform ${e}, Provider not initialized`,Uo=class{init(){return Promise.resolve(!1)}login(o){throw new Error(Y(`login with options: ${o}`))}logout(o){throw new Error(Y(`logout with options: ${o}`))}getAddress(){throw new Error(Y("getAddress"))}isInitialized(){return!1}isConnected(){return Promise.resolve(!1)}sendTransaction(o,n){throw new Error(Y(`sendTransaction with transactions: ${o} options: ${n}`))}signTransaction(o,n){throw new Error(Y(`signTransaction with transactions: ${o} options: ${n}`))}signTransactions(o,n){throw new Error(Y(`signTransactions with transactions: ${o} options: ${n}`))}signMessage(o,n){throw new Error(Y(`signTransactions with ${o} and options ${n}`))}sendCustomMessage({method:o,params:n}){throw new Error(Y(`sendCustomMessage with method: ${o} params: ${n}`))}sendCustomRequest(o){throw new Error(Y(`sendSessionEvent with options: ${o}`))}ping(){return Promise.resolve(!1)}},ft=new Uo;var ci=ft;function xt(e){ci=e}j();t();var Br=require("react"),fe=require("react-redux");t();var mn=require("@reduxjs/toolkit"),Pr=require("react-redux/lib/utils/Subscription");ie();t();var _r=T(require("lodash.throttle"));v();t();var mr=T(require("lodash.isequal")),io=require("reselect");G();var u=(0,io.createSelectorCreator)(io.defaultMemoize,mr.default),Le=(e,o)=>e!=""&&Boolean(o);ie();Ko();qe();ve();var Ri=[je],po=!1,Pi=(0,_r.default)(()=>{Ae(Ie())},5e3),dr=e=>o=>n=>{var d;if(Ri.includes(n.type))return o(n);let r=e.getState(),a=ge.local.getItem(ae.loginExpiresAt);if(!Le((d=r==null?void 0:r.loginInfo)==null?void 0:d.loginMethod,r==null?void 0:r.account.address))return o(n);if(a==null)return Ae(Ie());let m=Date.now();return a-m<0&&!po?setTimeout(()=>{po=!0,e.dispatch(Mt())},1e3):(po&&(po=!1),Pi()),o(n)};t();t();function co(){return typeof sessionStorage!="undefined"}var Cr=co()?(wr(),ke(Tr)).default:(kr(),ke(Sr)).default,Dr=co()?(Ir(),ke(vr)).default:[],Rr=co()?(Nr(),ke(Lr)).default:e=>e;so();var z=(0,mn.configureStore)({reducer:Cr,middleware:e=>e({serializableCheck:{ignoredActions:[...Dr,Nt.type,Lt.type],ignoredPaths:["payload.nonce","account.account.nonce","providers.accountProvider"]}}).concat(dr)}),Mr=(0,Pr.createSubscription)(z),V_=Rr(z),$_=(0,mn.configureStore)({reducer:ue});var Xi={store:z,subscription:Mr},_n=(0,Br.createContext)(Xi),j_=(0,fe.createStoreHook)(_n),_o=(0,fe.createDispatchHook)(_n),Z=(0,fe.createSelectorHook)(_n);B();t();t();t();ie();var J=e=>e.account,dn=u(J,e=>e.address),Ne=u(J,dn,(e,o)=>o in e.accounts?e.accounts[o]:Ke),Yi=u(J,Ne,(e,o)=>{let a=e,{accounts:n}=a,r=Ln(a,["accounts"]);return S(y({},r),{account:o})}),X_=u(Ne,e=>e.balance),Y_=u(Ne,e=>{var o;return((o=e==null?void 0:e.nonce)==null?void 0:o.valueOf())||0}),Z_=u(J,e=>e.shard),J_=u(J,e=>e.ledgerAccount),Q_=u(J,e=>e.walletConnectAccount),ed=u(J,e=>e.isAccountLoading),od=u(J,e=>e.accountLoadingError),Zi=u(J,e=>e.websocketEvent);t();var F=e=>e.loginInfo,ad=u(F,e=>e.loginMethod),ln=u(F,dn,(e,o)=>Le(e.loginMethod,o)),id=u(F,e=>e.walletConnectLogin),pd=u(F,e=>e.ledgerLogin),cd=u(F,e=>e.walletLogin),sd=u(F,e=>e.isLoginSessionInvalid),Or=u(F,e=>e.tokenLogin),md=u(F,e=>e.logoutRoute);t();var Fr=e=>e.modals,ld=u(Fr,e=>e.txSubmittedModal),gd=u(Fr,e=>e.notificationModal);t();var pe=e=>e.networkConfig,xd=u(pe,e=>e.chainID),hd=u(pe,e=>e.network.walletConnectBridgeAddress),yd=u(pe,e=>e.network.walletConnectV2RelayAddress),bd=u(pe,e=>e.network.walletConnectV2ProjectId),Td=u(pe,e=>e.network.walletConnectV2Options),wd=u(pe,e=>e.network.walletConnectDeepLink),Ce=u(pe,e=>e.network),Sd=u(Ce,e=>e.apiAddress),Ur=u(Ce,e=>e.explorerAddress),kd=u(Ce,e=>e.egldLabel);t();var gn=e=>e.signedMessageInfo,Ad=u(gn,e=>e.isSigning),Ed=u(gn,e=>e.errorMessage),Ld=u(gn,e=>{let o=Object.keys(e.signedSessions),n=o.length;return e.signedSessions[o[n-1]]});t();var un=e=>e.toasts,Dd=u(un,e=>e.customToasts),Rd=u(un,e=>e.transactionToasts),Pd=u(un,e=>e.failTransactionToast);t();ie();var Vr={errorMessage:tn,successMessage:rn,processingMessage:an},Ji=e=>e.transactionsInfo,Fd=u(Ji,(e,o)=>o,(e,o)=>o!=null&&(e==null?void 0:e[Number(o)])||Vr);t();t();var R=require("@multiversx/sdk-core");v();t();function fn(e){try{return i.Buffer.from(e,"base64").toString()===atob(e)}catch(o){return!1}}function xe(e){return atob(e)}function xn(e){var a,s,m;let{data:o}=e,n=fn(o!=null?o:"")?R.TransactionPayload.fromEncoded(o):new R.TransactionPayload(o),r=new R.Transaction(y({value:e.value.valueOf(),data:n,nonce:e.nonce.valueOf(),receiver:new R.Address(e.receiver),sender:new R.Address(e.sender),gasLimit:(a=e.gasLimit.valueOf())!=null?a:Oo,gasPrice:(s=e.gasPrice.valueOf())!=null?s:Fo,chainID:e.chainID.valueOf(),version:new R.TransactionVersion((m=e.version)!=null?m:gt)},e.options?{options:new R.TransactionOptions(e.options)}:{}));return r.applySignature({hex:()=>e.signature||""},new R.Address(e.sender)),r}t();cn();t();var ep=T(require("bignumber.js"));G();t();t();t();t();var np=require("@multiversx/sdk-core"),tp=T(require("bignumber.js"));B();t();var op=require("@multiversx/sdk-core");t();t();t();var ap=require("@multiversx/sdk-core/out");t();v();t();var Hr=require("@multiversx/sdk-core");G();t();t();t();t();B();t();t();t();t();t();t();t();var hn="blocks";t();t();t();t();N();t();t();N();t();t();t();var _p=T(require("bignumber.js"));v();t();var mp=require("@multiversx/sdk-core"),yn=T(require("bignumber.js"));v();t();var cp=T(require("bignumber.js"));t();yn.default.config({ROUNDING_MODE:yn.default.ROUND_FLOOR});t();t();t();v();t();t();t();t();v();t();v();t();var dp=require("@multiversx/sdk-core");v();t();var De=require("@multiversx/sdk-core"),gp=require("@multiversx/sdk-network-providers");v();t();t();var lp=T(require("bignumber.js"));v();t();v();t();t();t();t();t();v();t();N();var fp=["reDelegateRewards","claimRewards","unBond"],xp=["wrapEgld","unwrapEgld"],hp=["unStake"],yp=["unDelegate"];t();t();t();v();t();var wp=T(require("bignumber.js"));t();t();t();N();t();var Sp=T(require("bignumber.js"));t();t();t();t();N();t();t();t();var vp=T(require("linkifyjs"));t();v();t();var Ip=T(require("bignumber.js"));t();G();t();t();B();t();B();t();t();t();N();t();N();t();var Ap=T(require("bignumber.js"));v();N();t();N();t();var Xr=require("react");G();t();t();N();t();var Ep=require("@multiversx/sdk-core/out"),Lp=T(require("bignumber.js"));N();t();N();t();t();B();var gh=[{label:"Raw",value:"raw"},{label:"Text",value:"text"},{label:"Decimal",value:"decimal"},{label:"Smart",value:"smart"}];t();var Yr=require("react");G();t();var Cp=require("react");N();var Th=["create","localMint","ESDTLocalMint","addQuantity","burn","localBurn","ESDTLocalBurn","wipe","writeLog","signalError"];var fo=e=>e.transactions,Re=u(fo,e=>e.signedTransactions),a0=u(fo,e=>e.signTransactionsError),i0=u(fo,e=>e.signTransactionsCancelMessage),xo=e=>o=>Object.entries(o).reduce((n,[r,a])=>(e(a.status)&&(n[r]=a),n),{}),p0=u(Re,xo(ar)),c0=u(Re,xo(no)),s0=u(Re,xo(to)),m0=u(Re,xo(ir)),_0=u(fo,e=>{var o;return(e==null?void 0:e.transactionsToSign)==null?null:S(y({},e.transactionsToSign),{transactions:((o=e==null?void 0:e.transactionsToSign)==null?void 0:o.transactions.map(n=>xn(n)))||[]})}),d0=u(Re,(e,o)=>o,(e,o)=>o!=null?(e==null?void 0:e[o])||{}:{});function Zr(){return ln(z.getState())}Jo();t();var pa=require("react"),ho=require("@multiversx/sdk-core");t();t();t();var Tn=()=>Z(Ne);t();t();t();t();t();var Pe=T(require("react"));var U0=(0,Pe.createContext)({}),V0=z.getState();t();var Qr=T(require("react"));t();var wn=T(require("react")),Dp=T(require("axios"));t();t();t();t();ie();t();t();t();var Pp=e=>e.replace(/\+/g,"-").replace(/\//g,"_").replace(/=/g,""),he=e=>Pp(i.Buffer.from(e,"utf8").toString("base64"));t();var ea=T(require("axios"));var Mp=5e4,Sn=null,ye={current:null},kn=!1;function oa(e){return D(this,null,function*(){if(e==null)throw new Error("missing api url");if(Sn!=null&&Date.now()<Sn&&ye.current!=null)return ye.current;{if(kn)return yield Op();kn=!0,ye.current=null;let n=yield Bp(e);return ye.current=n,Sn=Date.now()+Mp,kn=!1,n}})}function Bp(e){return D(this,null,function*(){let{data:o}=yield ea.default.get(`${e}/${hn}?size=1&fields=hash,timestamp`),[n]=o;return n})}function Op(){return D(this,null,function*(){return new Promise((e,o)=>{let n,r=setInterval(()=>{ye.current!=null&&(e(ye.current),clearInterval(r),clearTimeout(n))},50);n=setTimeout(()=>{clearInterval(r),o("could not generate new token")},5e3)})})}t();var na,Me={hostname:typeof window!="undefined"?(na=window==null?void 0:window.location)==null?void 0:na.hostname:"",apiAddress:"https://api.multiversx.com",expirySeconds:60*60*24,tokenExpirationToastWarningSeconds:5*60},Be=e=>{var n,r,a,s;return e===!0?Me:{hostname:(n=e==null?void 0:e.hostname)!=null?n:Me.hostname,expirySeconds:(r=e==null?void 0:e.expirySeconds)!=null?r:Me.expirySeconds,apiAddress:(a=e==null?void 0:e.apiAddress)!=null?a:Me.apiAddress,tokenExpirationToastWarningSeconds:(s=e==null?void 0:e.tokenExpirationToastWarningSeconds)!=null?s:Me.tokenExpirationToastWarningSeconds}};t();t();t();function Fp(e){return Object.prototype.toString.call(e)==="[object String]"}var ta=e=>{if(!e||!Fp(e))return null;try{let[o,n,r]=e.split("."),a=xe(o),s=xe(n),[m,l,d,g]=s.split("."),f=JSON.parse(xe(g)),x=xe(m),b={ttl:Number(d),address:a,extraInfo:f,host:x,signature:r,blockHash:l,body:s};return g==="e30"&&delete b.extraInfo,b}catch(o){return null}};var ra=({address:e,token:o,signature:n})=>{let r=he(e),a=he(o);return`${r}.${a}.${n}`};t();ze();var aa=e=>{let o=ta(e);if(!o)return{isExpired:!1};let n=le(),{ttl:r,extraInfo:a}=o,s=a.timestamp;if(!s)return{isExpired:!1};let m=s+r,l=n>m,d=m-n;return{isExpired:l,expiresAt:m,secondsUntilExpires:d}};var ia=e=>{let{hostname:o,apiAddress:n,expirySeconds:r}=Be(e);return{getNativeAuthConfig:Be,initialize:(...m)=>D(void 0,[...m],function*(s={}){let{hash:l,timestamp:d}=yield oa(n),g=he(JSON.stringify(y(y({},s),d?{timestamp:d}:{})));return`${he(o)}.${l}.${r}.${g}`}),getToken:ra,getTokenExpiration:aa}};t();var Up=(e,o)=>{var n;return o?o===!0?e:(n=o.apiAddress)!=null?n:e:null},ca=e=>{let o=Z(Ce),n=Z(Or),r=(0,pa.useRef)(n==null?void 0:n.loginToken),a=Up(o.apiAddress,e),s=Be(y(y({},e===!0?{}:e),a?{apiAddress:a}:{})),m=Boolean(e),l=ia(s),{address:d}=Tn(),g=_o(),f=w=>{r.current=w,g(Xe(y({loginToken:w},a?{nativeAuthConfig:s}:{})))},x=()=>D(void 0,null,function*(){try{return yield l.initialize()}catch(w){console.error("Unable to get block. Login failed.",w);return}}),b=({address:w,signature:A})=>{let P=r.current;if(!P)throw"Token not found. Call `setLoginToken` first.";if(!m){g(Xe({loginToken:P,signature:A}));return}let we=l.getToken({address:w,token:P,signature:A});g(Xe(y({loginToken:P,signature:A,nativeAuthToken:we},a?{nativeAuthConfig:s}:{})))};return{configuration:s,setLoginToken:f,getNativeAuthLoginToken:x,setTokenLoginInfo:b,refreshNativeAuthTokenLogin:A=>D(void 0,[A],function*({signMessageCallback:w}){let P=yield x();if(r.current=P,!P)return;let we=new ho.SignableMessage({address:new ho.Address(d),message:i.Buffer.from(P)}),yo=yield w(we,{});b({address:d,signature:yo.toJSON().signature})})}};var ma=({callbackRoute:e,token:o,nativeAuth:n,onLoginRedirect:r})=>{let[a,s]=(0,vn.useState)(""),[m,l]=(0,vn.useState)(!1),d=n!=null,g=ca(n),f=o,x=_o(),b=Zr();function I(){return D(this,null,function*(){if(b)throw new Error(Qn);l(!0);let A=sa.ExtensionProvider.getInstance();try{if(!(yield A.init())){console.warn("Something went wrong trying to redirect to wallet login..");return}let we=encodeURIComponent(`${window.location.origin}${e!=null?e:window.location.pathname}`);if(d&&!f&&(f=yield g.getNativeAuthLoginToken(),!f)){console.warn("Fetching block failed. Login cancelled.");return}f&&g.setLoginToken(f);let yo=y({callbackUrl:we},f&&{token:f});yield A.login(yo),xt(A);let{signature:bo,address:Fe}=A.account;if(!Fe){l(!1),console.warn("Login cancelled.");return}bo&&f&&g.setTokenLoginInfo({signature:bo,address:Fe}),x(de({address:Fe,loginMethod:"extension"})),Gt({callbackRoute:e,onLoginRedirect:r,options:{signature:bo,address:Fe}})}catch(P){console.error("error loging in",P),s("error logging in"+P.message)}finally{l(!1)}})}let w=Boolean(a);return[I,{loginFailed:w,error:a,isLoading:m&&!w,isLoggedIn:b&&!w}]};t();var In=T(require("react")),da=T(require("classnames"));t();var Vp=`.dapp-core-component__main__link-style {
|
|
2
2
|
color: #1392ff;
|
|
3
3
|
}
|
|
4
4
|
|
|
@@ -2686,7 +2686,7 @@ a.dapp-core-component__main__side-link::after {
|
|
|
2686
2686
|
right: 0;
|
|
2687
2687
|
left: unset;
|
|
2688
2688
|
width: calc(100% - 1.85rem);
|
|
2689
|
-
}`;document.head.appendChild(document.createElement("style")).appendChild(document.createTextNode(Pp));var ye={"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();var Mp=`.dapp-core-component__loginButtonStyles__default-login-button {
|
|
2689
|
+
}`;document.head.appendChild(document.createElement("style")).appendChild(document.createTextNode(Vp));var be={"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();var $p=`.dapp-core-component__loginButtonStyles__default-login-button {
|
|
2690
2690
|
color: inherit;
|
|
2691
2691
|
}
|
|
2692
2692
|
|
|
@@ -2712,7 +2712,7 @@ a.dapp-core-component__main__side-link::after {
|
|
|
2712
2712
|
|
|
2713
2713
|
.dapp-core-component__loginButtonStyles__button-icon {
|
|
2714
2714
|
color: inherit;
|
|
2715
|
-
}`;document.head.appendChild(document.createElement("style")).appendChild(document.createTextNode(
|
|
2715
|
+
}`;document.head.appendChild(document.createElement("style")).appendChild(document.createTextNode($p));var _a={"default-login-button":"dapp-core-component__loginButtonStyles__default-login-button",defaultLoginButton:"dapp-core-component__loginButtonStyles__default-login-button",wrapper:"dapp-core-component__loginButtonStyles__wrapper","login-text":"dapp-core-component__loginButtonStyles__login-text",loginText:"dapp-core-component__loginButtonStyles__login-text","button-wrapper":"dapp-core-component__loginButtonStyles__button-wrapper",buttonWrapper:"dapp-core-component__loginButtonStyles__button-wrapper","button-content":"dapp-core-component__loginButtonStyles__button-content",buttonContent:"dapp-core-component__loginButtonStyles__button-content","button-title":"dapp-core-component__loginButtonStyles__button-title",buttonTitle:"dapp-core-component__loginButtonStyles__button-title","button-icon":"dapp-core-component__loginButtonStyles__button-icon",buttonIcon:"dapp-core-component__loginButtonStyles__button-icon"};var la=({onLogin:e,text:o="Default Login Button",className:n="dapp-login-button",btnClassName:r="dapp-default-login-button",disabled:a,"data-testid":s,children:m})=>{let l={wrapper:(0,da.default)(be.btn,be.btnPrimary,be.px4,be.m1,be.mx3,{[r]:r!=null},n),loginText:_a.loginText,wrapperClassName:n};return In.default.createElement("button",{"data-testid":s,disabled:a,className:l.wrapper,onClick:e},m||In.default.createElement("span",{className:l.loginText},o))};t();t();var ga=()=>Boolean(window.elrondWallet);t();var Wp=`.dapp-core-component__extensionLoginButton-styles__extension-login {
|
|
2716
2716
|
color: inherit;
|
|
2717
2717
|
}
|
|
2718
2718
|
|
|
@@ -2743,7 +2743,7 @@ a.dapp-core-component__main__side-link::after {
|
|
|
2743
2743
|
|
|
2744
2744
|
.dapp-core-component__extensionLoginButton-styles__no-extension-button-icon {
|
|
2745
2745
|
color: inherit;
|
|
2746
|
-
}`;document.head.appendChild(document.createElement("style")).appendChild(document.createTextNode(
|
|
2746
|
+
}`;document.head.appendChild(document.createElement("style")).appendChild(document.createTextNode(Wp));var Oe={"extension-login":"dapp-core-component__extensionLoginButton-styles__extension-login",extensionLogin:"dapp-core-component__extensionLoginButton-styles__extension-login",title:"dapp-core-component__extensionLoginButton-styles__title",wrapper:"dapp-core-component__extensionLoginButton-styles__wrapper","login-text":"dapp-core-component__extensionLoginButton-styles__login-text",loginText:"dapp-core-component__extensionLoginButton-styles__login-text","no-extension-button-wrapper":"dapp-core-component__extensionLoginButton-styles__no-extension-button-wrapper",noExtensionButtonWrapper:"dapp-core-component__extensionLoginButton-styles__no-extension-button-wrapper",noExtensionButtonContent:"dapp-core-component__extensionLoginButton-styles__noExtensionButtonContent","no-extension-button-title":"dapp-core-component__extensionLoginButton-styles__no-extension-button-title",noExtensionButtonTitle:"dapp-core-component__extensionLoginButton-styles__no-extension-button-title","no-extension-button-icon":"dapp-core-component__extensionLoginButton-styles__no-extension-button-icon",noExtensionButtonIcon:"dapp-core-component__extensionLoginButton-styles__no-extension-button-icon"};var Gp=ga(),Hp=({token:e,className:o="dapp-extension-login",children:n,callbackRoute:r,buttonClassName:a,nativeAuth:s,loginButtonText:m="MultiversX DeFi Wallet",onLoginRedirect:l,disabled:d,"data-testid":g="extensionLoginButton"})=>{let[f]=ma({callbackRoute:r,token:e,onLoginRedirect:l,nativeAuth:s}),x=navigator.userAgent.indexOf("Firefox")!=-1,b={noExtensionButtonWrapper:(0,xa.default)(Oe.noExtensionButtonWrapper,o),noExtensionButtonContent:Oe.noExtensionButtonContent,noExtensionButtonTitle:Oe.noExtensionButtonTitle,noExtensionButtonIcon:Oe.noExtensionButtonIcon};return Gp?Te.default.createElement(la,{onLogin:()=>{f()},className:o,btnClassName:a,text:m,disabled:d,"data-testid":g},n):Te.default.createElement("a",{rel:"noreferrer",href:x?"https://addons.mozilla.org/en-US/firefox/addon/multiversx-defi-wallet":"https://chrome.google.com/webstore/detail/multiversx-defi-wallet/dngmlblcodfobpdpecaadgfbcggfjfnm",target:"_blank",className:b.noExtensionButtonWrapper},n||Te.default.createElement("div",{className:b.noExtensionButtonContent},Te.default.createElement("div",{className:b.noExtensionButtonTitle},"MultiversX DeFi Wallet"),Te.default.createElement(fa.FontAwesomeIcon,{className:b.noExtensionButtonIcon,icon:ua.faArrowRight})))};0&&(module.exports={ExtensionLoginButton});
|
|
2747
2747
|
/*!
|
|
2748
2748
|
* The buffer module from node.js, for the browser.
|
|
2749
2749
|
*
|