@multiversx/sdk-dapp 2.10.11 → 2.10.12
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/SignWithExtraModal/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/TransactionStatusToast.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/CustomToast/CustomToast.js +1 -1
- package/UI/TransactionsToastList/components/CustomToast/components/IconToast/IconToast.js +1 -1
- package/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/IconToastFooter.js +1 -1
- package/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/components/TransactionToastFooter.js +1 -1
- package/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/components/index.js +1 -1
- package/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/index.js +1 -1
- package/UI/TransactionsToastList/components/CustomToast/components/IconToast/index.js +1 -1
- package/UI/TransactionsToastList/components/CustomToast/components/index.js +1 -1
- package/UI/TransactionsToastList/components/CustomToast/index.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/index.js +1 -1
- package/UI/ledger/LedgerLoginButton/index.js +1 -1
- package/UI/ledger/LedgerLoginContainer/AddressTable.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-FFCO2QCC.js → chunk-45ARMIIV.js} +2 -2
- package/__chunks__/{chunk-NAEZYYME.js → chunk-4AY436A3.js} +2 -2
- package/__chunks__/chunk-64WNNRH3.js +2 -0
- package/__chunks__/{chunk-2DEMXGE3.js → chunk-AGGHZD2X.js} +2 -2
- package/__chunks__/{chunk-ZD2FOYXH.js → chunk-BUAPQSLE.js} +2 -2
- package/__chunks__/{chunk-SXK2WRU5.js → chunk-D6K2SNBC.js} +2 -2
- package/__chunks__/{chunk-GO5RYX6I.js → chunk-HO5YNQLL.js} +2 -2
- package/__chunks__/{chunk-NV453TM2.js → chunk-HOF5K2JI.js} +2 -2
- package/__chunks__/{chunk-6U5ZKZIN.js → chunk-IHUJVHF6.js} +2 -2
- package/__chunks__/{chunk-YGN4D6EE.js → chunk-IVVW25DH.js} +2 -2
- package/__chunks__/{chunk-TM4XVRT6.js → chunk-M2A6EX5R.js} +2 -2
- package/__chunks__/{chunk-E4EQIILV.js → chunk-MGZU5WBA.js} +2 -2
- package/__chunks__/chunk-WISK7MIJ.js +2 -0
- package/__chunks__/{chunk-XZCNMRIW.js → chunk-YSWO56CP.js} +2 -2
- package/__chunks__/{chunk-A3ANJRRQ.js → chunk-YUXJXHBM.js} +2 -2
- package/__chunks__/chunk-ZRLJX7WH.js +2 -0
- package/__commonjs/UI/DappModal/hooks/index.js +5 -5
- package/__commonjs/UI/DappModal/hooks/useDappModal.js +5 -5
- package/__commonjs/UI/DappModal/index.js +9 -9
- package/__commonjs/UI/ModalContainer/ModalContainer.js +7 -7
- package/__commonjs/UI/ModalContainer/index.js +7 -7
- package/__commonjs/UI/NotificationModal/index.js +8 -8
- package/__commonjs/UI/SignTransactionsModals/SignTransactionsModals.js +26 -26
- package/__commonjs/UI/SignTransactionsModals/SignWithDeviceModal/SignStep.js +9 -9
- package/__commonjs/UI/SignTransactionsModals/SignWithDeviceModal/index.js +11 -11
- package/__commonjs/UI/SignTransactionsModals/SignWithExtensionModal/index.js +9 -9
- package/__commonjs/UI/SignTransactionsModals/SignWithExtraModal/index.js +1 -1
- package/__commonjs/UI/SignTransactionsModals/SignWithLedgerModal/index.js +11 -11
- package/__commonjs/UI/SignTransactionsModals/SignWithOperaModal/index.js +9 -9
- package/__commonjs/UI/SignTransactionsModals/SignWithWalletConnectModal/index.js +9 -9
- package/__commonjs/UI/SignTransactionsModals/components/ConfirmationScreen.js +18 -18
- package/__commonjs/UI/SignTransactionsModals/components/DeviceConfirmationScreen.js +19 -19
- package/__commonjs/UI/SignTransactionsModals/components/TransactionStatusToast.js +14 -14
- package/__commonjs/UI/SignTransactionsModals/components/index.js +18 -18
- package/__commonjs/UI/SignTransactionsModals/index.js +26 -26
- package/__commonjs/UI/TransactionInfo/TransactionInfo.js +40 -40
- package/__commonjs/UI/TransactionInfo/components/NonceMessage/NonceMessage.js +6 -6
- package/__commonjs/UI/TransactionInfo/components/NonceMessage/index.js +6 -6
- package/__commonjs/UI/TransactionInfo/components/index.js +41 -41
- package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoNonce/TransactionInfoNonce.js +7 -7
- package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoNonce/index.js +7 -7
- package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/index.js +37 -37
- package/__commonjs/UI/TransactionInfo/index.js +41 -41
- package/__commonjs/UI/TransactionsTable/TransactionsTable.js +18 -18
- package/__commonjs/UI/TransactionsTable/index.js +18 -18
- package/__commonjs/UI/TransactionsToastList/TransactionsToastList.js +18 -18
- package/__commonjs/UI/TransactionsToastList/components/CustomToast/CustomToast.js +13 -13
- package/__commonjs/UI/TransactionsToastList/components/CustomToast/components/IconToast/IconToast.js +13 -13
- package/__commonjs/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/IconToastFooter.js +13 -13
- package/__commonjs/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/components/TransactionToastFooter.js +11 -11
- package/__commonjs/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/components/index.js +11 -11
- package/__commonjs/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/index.js +13 -13
- package/__commonjs/UI/TransactionsToastList/components/CustomToast/components/IconToast/index.js +13 -13
- package/__commonjs/UI/TransactionsToastList/components/CustomToast/components/index.js +13 -13
- package/__commonjs/UI/TransactionsToastList/components/CustomToast/index.js +13 -13
- package/__commonjs/UI/TransactionsToastList/components/TransactionToast/TransactionToast.js +13 -13
- package/__commonjs/UI/TransactionsToastList/components/TransactionToast/hooks/useTransactionToast.js +6 -6
- package/__commonjs/UI/TransactionsToastList/components/TransactionToast/index.js +13 -13
- package/__commonjs/UI/TransactionsToastList/components/TransactionToastGuard.js +13 -13
- package/__commonjs/UI/TransactionsToastList/components/index.js +18 -18
- package/__commonjs/UI/TransactionsToastList/index.js +18 -18
- package/__commonjs/UI/index.js +68 -68
- package/__commonjs/UI/ledger/LedgerLoginButton/index.js +20 -20
- package/__commonjs/UI/ledger/LedgerLoginContainer/AddressTable.js +8 -8
- package/__commonjs/UI/ledger/LedgerLoginContainer/ConfirmAddress.js +6 -6
- package/__commonjs/UI/ledger/LedgerLoginContainer/index.js +20 -20
- package/__commonjs/UI/ledger/index.js +20 -20
- package/__commonjs/UI/operaWallet/OperaWalletLoginButton/index.js +7 -7
- package/__commonjs/UI/pages/UnlockPage/index.js +23 -23
- package/__commonjs/UI/pages/index.js +23 -23
- package/__commonjs/UI/walletConnect/WalletConnectLoginButton/index.js +13 -13
- package/__commonjs/UI/walletConnect/WalletConnectLoginContainer/index.js +10 -10
- package/__commonjs/UI/walletConnect/index.js +13 -13
- package/__commonjs/UI/webWallet/WebWalletLoginButton/index.js +7 -7
- package/__commonjs/__mocks__/index.js +5 -5
- package/__commonjs/__mocks__/utils/index.js +11 -11
- package/__commonjs/__mocks__/utils/renderWithProvider.js +11 -11
- package/__commonjs/components/LogoutListener/LogoutListener.js +5 -5
- package/__commonjs/components/LogoutListener/helpers/index.js +5 -5
- package/__commonjs/components/LogoutListener/helpers/useLogoutFromMultipleTabs.js +5 -5
- package/__commonjs/components/LogoutListener/helpers/useNativeAuthLogout.js +5 -5
- package/__commonjs/components/LogoutListener/helpers/useNativeAuthLogoutWarning/index.js +5 -5
- package/__commonjs/components/LogoutListener/helpers/useNativeAuthLogoutWarning/useNativeAuthLogoutWarning.js +5 -5
- package/__commonjs/components/LogoutListener/index.js +5 -5
- package/__commonjs/components/ProviderInitializer.js +11 -11
- package/__commonjs/components/TransactionStatusToast/FailedTransactionStatusToast.js +14 -14
- package/__commonjs/components/TransactionsTracker/TransactionTracker.js +5 -5
- package/__commonjs/components/TransactionsTracker/index.js +5 -5
- package/__commonjs/components/TransactionsTracker/useTransactionsTracker.js +5 -5
- package/__commonjs/hooks/index.js +7 -7
- package/__commonjs/hooks/login/index.js +5 -5
- package/__commonjs/hooks/login/useLedgerLogin.js +5 -5
- package/__commonjs/hooks/login/useWebWalletLogin.js +5 -5
- package/__commonjs/hooks/signMessage/index.js +1 -1
- package/__commonjs/hooks/signMessage/useSignMessage.js +1 -1
- package/__commonjs/hooks/transactions/index.js +5 -5
- package/__commonjs/hooks/transactions/useParseSignedTransactions.js +1 -1
- package/__commonjs/hooks/transactions/useSignTransactions.js +1 -1
- package/__commonjs/hooks/transactions/useSignTransactionsCommonData.js +1 -1
- package/__commonjs/hooks/transactions/useSignTransactionsWithDevice.js +1 -1
- package/__commonjs/hooks/transactions/useSignTransactionsWithLedger.js +1 -1
- package/__commonjs/utils/index.js +3 -3
- package/__commonjs/utils/parseNavigationParams.js +1 -1
- package/__commonjs/wrappers/DappProvider/CustomComponents.js +5 -5
- package/__commonjs/wrappers/DappProvider/index.js +11 -11
- package/__commonjs/wrappers/index.js +5 -5
- 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/TransactionStatusToast/FailedTransactionStatusToast.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/useLedgerLogin.js +1 -1
- package/hooks/login/useWebWalletLogin.js +1 -1
- package/hooks/signMessage/index.js +1 -1
- package/hooks/signMessage/useSignMessage.js +1 -1
- package/hooks/transactions/index.js +1 -1
- package/hooks/transactions/useParseSignedTransactions.js +1 -1
- package/hooks/transactions/useSignTransactions.js +1 -1
- package/hooks/transactions/useSignTransactionsCommonData.js +1 -1
- package/hooks/transactions/useSignTransactionsWithDevice.js +1 -1
- package/hooks/transactions/useSignTransactionsWithLedger.js +1 -1
- package/package.json +1 -1
- package/utils/index.js +1 -1
- package/utils/parseNavigationParams.d.ts +12 -1
- package/utils/parseNavigationParams.js +1 -1
- package/utils/tests/parseNavigationParams.test.d.ts +2 -0
- package/wrappers/DappProvider/CustomComponents.js +1 -1
- package/wrappers/DappProvider/index.js +1 -1
- package/wrappers/index.js +1 -1
- package/__chunks__/chunk-BKQNIGD5.js +0 -2
- package/__chunks__/chunk-D35V4POU.js +0 -2
- package/__chunks__/chunk-W47X2A4Z.js +0 -2
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
"use strict";var _v=Object.create;var Cr=Object.defineProperty,bv=Object.defineProperties,Lv=Object.getOwnPropertyDescriptor,Ev=Object.getOwnPropertyDescriptors,Cv=Object.getOwnPropertyNames,Bo=Object.getOwnPropertySymbols,kv=Object.getPrototypeOf,Js=Object.prototype.hasOwnProperty,Bu=Object.prototype.propertyIsEnumerable;var Uu=(n,o,i)=>o in n?Cr(n,o,{enumerable:!0,configurable:!0,writable:!0,value:i}):n[o]=i,O=(n,o)=>{for(var i in o||(o={}))Js.call(o,i)&&Uu(n,i,o[i]);if(Bo)for(var i of Bo(o))Bu.call(o,i)&&Uu(n,i,o[i]);return n},Q=(n,o)=>bv(n,Ev(o));var Wo=(n,o)=>{var i={};for(var l in n)Js.call(n,l)&&o.indexOf(l)<0&&(i[l]=n[l]);if(n!=null&&Bo)for(var l of Bo(n))o.indexOf(l)<0&&Bu.call(n,l)&&(i[l]=n[l]);return i};var W=(n,o)=>()=>(n&&(o=n(n=0)),o);var kr=(n,o)=>()=>(o||n((o={exports:{}}).exports,o),o.exports),hn=(n,o)=>{for(var i in o)Cr(n,i,{get:o[i],enumerable:!0})},Wu=(n,o,i,l)=>{if(o&&typeof o=="object"||typeof o=="function")for(let m of Cv(o))!Js.call(n,m)&&m!==i&&Cr(n,m,{get:()=>o[m],enumerable:!(l=Lv(o,m))||l.enumerable});return n};var V=(n,o,i)=>(i=n!=null?_v(kv(n)):{},Wu(o||!n||!n.__esModule?Cr(i,"default",{value:n,enumerable:!0}):i,n)),Pr=n=>Wu(Cr({},"__esModule",{value:!0}),n);var K=(n,o,i)=>new Promise((l,m)=>{var v=E=>{try{k(i.next(E))}catch(N){m(N)}},S=E=>{try{k(i.throw(E))}catch(N){m(N)}},k=E=>E.done?l(E.value):Promise.resolve(E.value).then(v,S);k((i=i.apply(n,o)).next())});var Hu=kr(Go=>{"use strict";s();Go.byteLength=Dv;Go.toByteArray=Nv;Go.fromByteArray=Fv;var vt=[],it=[],Pv=typeof Uint8Array!="undefined"?Uint8Array:Array,Qs="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(yn=0,Gu=Qs.length;yn<Gu;++yn)vt[yn]=Qs[yn],it[Qs.charCodeAt(yn)]=yn;var yn,Gu;it["-".charCodeAt(0)]=62;it["_".charCodeAt(0)]=63;function $u(n){var o=n.length;if(o%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var i=n.indexOf("=");i===-1&&(i=o);var l=i===o?0:4-i%4;return[i,l]}function Dv(n){var o=$u(n),i=o[0],l=o[1];return(i+l)*3/4-l}function Rv(n,o,i){return(o+i)*3/4-i}function Nv(n){var o,i=$u(n),l=i[0],m=i[1],v=new Pv(Rv(n,l,m)),S=0,k=m>0?l-4:l,E;for(E=0;E<k;E+=4)o=it[n.charCodeAt(E)]<<18|it[n.charCodeAt(E+1)]<<12|it[n.charCodeAt(E+2)]<<6|it[n.charCodeAt(E+3)],v[S++]=o>>16&255,v[S++]=o>>8&255,v[S++]=o&255;return m===2&&(o=it[n.charCodeAt(E)]<<2|it[n.charCodeAt(E+1)]>>4,v[S++]=o&255),m===1&&(o=it[n.charCodeAt(E)]<<10|it[n.charCodeAt(E+1)]<<4|it[n.charCodeAt(E+2)]>>2,v[S++]=o>>8&255,v[S++]=o&255),v}function Ov(n){return vt[n>>18&63]+vt[n>>12&63]+vt[n>>6&63]+vt[n&63]}function Mv(n,o,i){for(var l,m=[],v=o;v<i;v+=3)l=(n[v]<<16&16711680)+(n[v+1]<<8&65280)+(n[v+2]&255),m.push(Ov(l));return m.join("")}function Fv(n){for(var o,i=n.length,l=i%3,m=[],v=16383,S=0,k=i-l;S<k;S+=v)m.push(Mv(n,S,S+v>k?k:S+v));return l===1?(o=n[i-1],m.push(vt[o>>2]+vt[o<<4&63]+"==")):l===2&&(o=(n[i-2]<<8)+n[i-1],m.push(vt[o>>10]+vt[o>>4&63]+vt[o<<2&63]+"=")),m.join("")}});var Vu=kr(js=>{s();js.read=function(n,o,i,l,m){var v,S,k=m*8-l-1,E=(1<<k)-1,N=E>>1,G=-7,M=i?m-1:0,ce=i?-1:1,pe=n[o+M];for(M+=ce,v=pe&(1<<-G)-1,pe>>=-G,G+=k;G>0;v=v*256+n[o+M],M+=ce,G-=8);for(S=v&(1<<-G)-1,v>>=-G,G+=l;G>0;S=S*256+n[o+M],M+=ce,G-=8);if(v===0)v=1-N;else{if(v===E)return S?NaN:(pe?-1:1)*(1/0);S=S+Math.pow(2,l),v=v-N}return(pe?-1:1)*S*Math.pow(2,v-l)};js.write=function(n,o,i,l,m,v){var S,k,E,N=v*8-m-1,G=(1<<N)-1,M=G>>1,ce=m===23?Math.pow(2,-24)-Math.pow(2,-77):0,pe=l?0:v-1,me=l?1:-1,_e=o<0||o===0&&1/o<0?1:0;for(o=Math.abs(o),isNaN(o)||o===1/0?(k=isNaN(o)?1:0,S=G):(S=Math.floor(Math.log(o)/Math.LN2),o*(E=Math.pow(2,-S))<1&&(S--,E*=2),S+M>=1?o+=ce/E:o+=ce*Math.pow(2,1-M),o*E>=2&&(S++,E/=2),S+M>=G?(k=0,S=G):S+M>=1?(k=(o*E-1)*Math.pow(2,m),S=S+M):(k=o*Math.pow(2,M-1)*Math.pow(2,m),S=0));m>=8;n[i+pe]=k&255,pe+=me,k/=256,m-=8);for(S=S<<m|k,N+=m;N>0;n[i+pe]=S&255,pe+=me,S/=256,N-=8);n[i+pe-me]|=_e*128}});var rp=kr(qn=>{"use strict";s();var ea=Hu(),Vn=Vu(),qu=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;qn.Buffer=I;qn.SlowBuffer=Hv;qn.INSPECT_MAX_BYTES=50;var $o=2147483647;qn.kMaxLength=$o;I.TYPED_ARRAY_SUPPORT=Uv();!I.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 Uv(){try{var n=new Uint8Array(1),o={foo:function(){return 42}};return Object.setPrototypeOf(o,Uint8Array.prototype),Object.setPrototypeOf(n,o),n.foo()===42}catch(i){return!1}}Object.defineProperty(I.prototype,"parent",{enumerable:!0,get:function(){if(!!I.isBuffer(this))return this.buffer}});Object.defineProperty(I.prototype,"offset",{enumerable:!0,get:function(){if(!!I.isBuffer(this))return this.byteOffset}});function Ut(n){if(n>$o)throw new RangeError('The value "'+n+'" is invalid for option "size"');var o=new Uint8Array(n);return Object.setPrototypeOf(o,I.prototype),o}function I(n,o,i){if(typeof n=="number"){if(typeof o=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return oa(n)}return Yu(n,o,i)}I.poolSize=8192;function Yu(n,o,i){if(typeof n=="string")return Wv(n,o);if(ArrayBuffer.isView(n))return Gv(n);if(n==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof n);if(wt(n,ArrayBuffer)||n&&wt(n.buffer,ArrayBuffer)||typeof SharedArrayBuffer!="undefined"&&(wt(n,SharedArrayBuffer)||n&&wt(n.buffer,SharedArrayBuffer)))return na(n,o,i);if(typeof n=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var l=n.valueOf&&n.valueOf();if(l!=null&&l!==n)return I.from(l,o,i);var m=$v(n);if(m)return m;if(typeof Symbol!="undefined"&&Symbol.toPrimitive!=null&&typeof n[Symbol.toPrimitive]=="function")return I.from(n[Symbol.toPrimitive]("string"),o,i);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof n)}I.from=function(n,o,i){return Yu(n,o,i)};Object.setPrototypeOf(I.prototype,Uint8Array.prototype);Object.setPrototypeOf(I,Uint8Array);function Zu(n){if(typeof n!="number")throw new TypeError('"size" argument must be of type number');if(n<0)throw new RangeError('The value "'+n+'" is invalid for option "size"')}function Bv(n,o,i){return Zu(n),n<=0?Ut(n):o!==void 0?typeof i=="string"?Ut(n).fill(o,i):Ut(n).fill(o):Ut(n)}I.alloc=function(n,o,i){return Bv(n,o,i)};function oa(n){return Zu(n),Ut(n<0?0:ia(n)|0)}I.allocUnsafe=function(n){return oa(n)};I.allocUnsafeSlow=function(n){return oa(n)};function Wv(n,o){if((typeof o!="string"||o==="")&&(o="utf8"),!I.isEncoding(o))throw new TypeError("Unknown encoding: "+o);var i=Xu(n,o)|0,l=Ut(i),m=l.write(n,o);return m!==i&&(l=l.slice(0,m)),l}function ta(n){for(var o=n.length<0?0:ia(n.length)|0,i=Ut(o),l=0;l<o;l+=1)i[l]=n[l]&255;return i}function Gv(n){if(wt(n,Uint8Array)){var o=new Uint8Array(n);return na(o.buffer,o.byteOffset,o.byteLength)}return ta(n)}function na(n,o,i){if(o<0||n.byteLength<o)throw new RangeError('"offset" is outside of buffer bounds');if(n.byteLength<o+(i||0))throw new RangeError('"length" is outside of buffer bounds');var l;return o===void 0&&i===void 0?l=new Uint8Array(n):i===void 0?l=new Uint8Array(n,o):l=new Uint8Array(n,o,i),Object.setPrototypeOf(l,I.prototype),l}function $v(n){if(I.isBuffer(n)){var o=ia(n.length)|0,i=Ut(o);return i.length===0||n.copy(i,0,0,o),i}if(n.length!==void 0)return typeof n.length!="number"||sa(n.length)?Ut(0):ta(n);if(n.type==="Buffer"&&Array.isArray(n.data))return ta(n.data)}function ia(n){if(n>=$o)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+$o.toString(16)+" bytes");return n|0}function Hv(n){return+n!=n&&(n=0),I.alloc(+n)}I.isBuffer=function(o){return o!=null&&o._isBuffer===!0&&o!==I.prototype};I.compare=function(o,i){if(wt(o,Uint8Array)&&(o=I.from(o,o.offset,o.byteLength)),wt(i,Uint8Array)&&(i=I.from(i,i.offset,i.byteLength)),!I.isBuffer(o)||!I.isBuffer(i))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(o===i)return 0;for(var l=o.length,m=i.length,v=0,S=Math.min(l,m);v<S;++v)if(o[v]!==i[v]){l=o[v],m=i[v];break}return l<m?-1:m<l?1:0};I.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}};I.concat=function(o,i){if(!Array.isArray(o))throw new TypeError('"list" argument must be an Array of Buffers');if(o.length===0)return I.alloc(0);var l;if(i===void 0)for(i=0,l=0;l<o.length;++l)i+=o[l].length;var m=I.allocUnsafe(i),v=0;for(l=0;l<o.length;++l){var S=o[l];if(wt(S,Uint8Array))v+S.length>m.length?I.from(S).copy(m,v):Uint8Array.prototype.set.call(m,S,v);else if(I.isBuffer(S))S.copy(m,v);else throw new TypeError('"list" argument must be an Array of Buffers');v+=S.length}return m};function Xu(n,o){if(I.isBuffer(n))return n.length;if(ArrayBuffer.isView(n)||wt(n,ArrayBuffer))return n.byteLength;if(typeof n!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof n);var i=n.length,l=arguments.length>2&&arguments[2]===!0;if(!l&&i===0)return 0;for(var m=!1;;)switch(o){case"ascii":case"latin1":case"binary":return i;case"utf8":case"utf-8":return ra(n).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return i*2;case"hex":return i>>>1;case"base64":return np(n).length;default:if(m)return l?-1:ra(n).length;o=(""+o).toLowerCase(),m=!0}}I.byteLength=Xu;function Vv(n,o,i){var l=!1;if((o===void 0||o<0)&&(o=0),o>this.length||((i===void 0||i>this.length)&&(i=this.length),i<=0)||(i>>>=0,o>>>=0,i<=o))return"";for(n||(n="utf8");;)switch(n){case"hex":return e0(this,o,i);case"utf8":case"utf-8":return Qu(this,o,i);case"ascii":return Qv(this,o,i);case"latin1":case"binary":return jv(this,o,i);case"base64":return Xv(this,o,i);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return t0(this,o,i);default:if(l)throw new TypeError("Unknown encoding: "+n);n=(n+"").toLowerCase(),l=!0}}I.prototype._isBuffer=!0;function xn(n,o,i){var l=n[o];n[o]=n[i],n[i]=l}I.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 i=0;i<o;i+=2)xn(this,i,i+1);return this};I.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 i=0;i<o;i+=4)xn(this,i,i+3),xn(this,i+1,i+2);return this};I.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 i=0;i<o;i+=8)xn(this,i,i+7),xn(this,i+1,i+6),xn(this,i+2,i+5),xn(this,i+3,i+4);return this};I.prototype.toString=function(){var o=this.length;return o===0?"":arguments.length===0?Qu(this,0,o):Vv.apply(this,arguments)};I.prototype.toLocaleString=I.prototype.toString;I.prototype.equals=function(o){if(!I.isBuffer(o))throw new TypeError("Argument must be a Buffer");return this===o?!0:I.compare(this,o)===0};I.prototype.inspect=function(){var o="",i=qn.INSPECT_MAX_BYTES;return o=this.toString("hex",0,i).replace(/(.{2})/g,"$1 ").trim(),this.length>i&&(o+=" ... "),"<Buffer "+o+">"};qu&&(I.prototype[qu]=I.prototype.inspect);I.prototype.compare=function(o,i,l,m,v){if(wt(o,Uint8Array)&&(o=I.from(o,o.offset,o.byteLength)),!I.isBuffer(o))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof o);if(i===void 0&&(i=0),l===void 0&&(l=o?o.length:0),m===void 0&&(m=0),v===void 0&&(v=this.length),i<0||l>o.length||m<0||v>this.length)throw new RangeError("out of range index");if(m>=v&&i>=l)return 0;if(m>=v)return-1;if(i>=l)return 1;if(i>>>=0,l>>>=0,m>>>=0,v>>>=0,this===o)return 0;for(var S=v-m,k=l-i,E=Math.min(S,k),N=this.slice(m,v),G=o.slice(i,l),M=0;M<E;++M)if(N[M]!==G[M]){S=N[M],k=G[M];break}return S<k?-1:k<S?1:0};function Ju(n,o,i,l,m){if(n.length===0)return-1;if(typeof i=="string"?(l=i,i=0):i>2147483647?i=2147483647:i<-2147483648&&(i=-2147483648),i=+i,sa(i)&&(i=m?0:n.length-1),i<0&&(i=n.length+i),i>=n.length){if(m)return-1;i=n.length-1}else if(i<0)if(m)i=0;else return-1;if(typeof o=="string"&&(o=I.from(o,l)),I.isBuffer(o))return o.length===0?-1:zu(n,o,i,l,m);if(typeof o=="number")return o=o&255,typeof Uint8Array.prototype.indexOf=="function"?m?Uint8Array.prototype.indexOf.call(n,o,i):Uint8Array.prototype.lastIndexOf.call(n,o,i):zu(n,[o],i,l,m);throw new TypeError("val must be string, number or Buffer")}function zu(n,o,i,l,m){var v=1,S=n.length,k=o.length;if(l!==void 0&&(l=String(l).toLowerCase(),l==="ucs2"||l==="ucs-2"||l==="utf16le"||l==="utf-16le")){if(n.length<2||o.length<2)return-1;v=2,S/=2,k/=2,i/=2}function E(pe,me){return v===1?pe[me]:pe.readUInt16BE(me*v)}var N;if(m){var G=-1;for(N=i;N<S;N++)if(E(n,N)===E(o,G===-1?0:N-G)){if(G===-1&&(G=N),N-G+1===k)return G*v}else G!==-1&&(N-=N-G),G=-1}else for(i+k>S&&(i=S-k),N=i;N>=0;N--){for(var M=!0,ce=0;ce<k;ce++)if(E(n,N+ce)!==E(o,ce)){M=!1;break}if(M)return N}return-1}I.prototype.includes=function(o,i,l){return this.indexOf(o,i,l)!==-1};I.prototype.indexOf=function(o,i,l){return Ju(this,o,i,l,!0)};I.prototype.lastIndexOf=function(o,i,l){return Ju(this,o,i,l,!1)};function qv(n,o,i,l){i=Number(i)||0;var m=n.length-i;l?(l=Number(l),l>m&&(l=m)):l=m;var v=o.length;l>v/2&&(l=v/2);for(var S=0;S<l;++S){var k=parseInt(o.substr(S*2,2),16);if(sa(k))return S;n[i+S]=k}return S}function zv(n,o,i,l){return Ho(ra(o,n.length-i),n,i,l)}function Kv(n,o,i,l){return Ho(o0(o),n,i,l)}function Yv(n,o,i,l){return Ho(np(o),n,i,l)}function Zv(n,o,i,l){return Ho(i0(o,n.length-i),n,i,l)}I.prototype.write=function(o,i,l,m){if(i===void 0)m="utf8",l=this.length,i=0;else if(l===void 0&&typeof i=="string")m=i,l=this.length,i=0;else if(isFinite(i))i=i>>>0,isFinite(l)?(l=l>>>0,m===void 0&&(m="utf8")):(m=l,l=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var v=this.length-i;if((l===void 0||l>v)&&(l=v),o.length>0&&(l<0||i<0)||i>this.length)throw new RangeError("Attempt to write outside buffer bounds");m||(m="utf8");for(var S=!1;;)switch(m){case"hex":return qv(this,o,i,l);case"utf8":case"utf-8":return zv(this,o,i,l);case"ascii":case"latin1":case"binary":return Kv(this,o,i,l);case"base64":return Yv(this,o,i,l);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Zv(this,o,i,l);default:if(S)throw new TypeError("Unknown encoding: "+m);m=(""+m).toLowerCase(),S=!0}};I.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function Xv(n,o,i){return o===0&&i===n.length?ea.fromByteArray(n):ea.fromByteArray(n.slice(o,i))}function Qu(n,o,i){i=Math.min(n.length,i);for(var l=[],m=o;m<i;){var v=n[m],S=null,k=v>239?4:v>223?3:v>191?2:1;if(m+k<=i){var E,N,G,M;switch(k){case 1:v<128&&(S=v);break;case 2:E=n[m+1],(E&192)===128&&(M=(v&31)<<6|E&63,M>127&&(S=M));break;case 3:E=n[m+1],N=n[m+2],(E&192)===128&&(N&192)===128&&(M=(v&15)<<12|(E&63)<<6|N&63,M>2047&&(M<55296||M>57343)&&(S=M));break;case 4:E=n[m+1],N=n[m+2],G=n[m+3],(E&192)===128&&(N&192)===128&&(G&192)===128&&(M=(v&15)<<18|(E&63)<<12|(N&63)<<6|G&63,M>65535&&M<1114112&&(S=M))}}S===null?(S=65533,k=1):S>65535&&(S-=65536,l.push(S>>>10&1023|55296),S=56320|S&1023),l.push(S),m+=k}return Jv(l)}var Ku=4096;function Jv(n){var o=n.length;if(o<=Ku)return String.fromCharCode.apply(String,n);for(var i="",l=0;l<o;)i+=String.fromCharCode.apply(String,n.slice(l,l+=Ku));return i}function Qv(n,o,i){var l="";i=Math.min(n.length,i);for(var m=o;m<i;++m)l+=String.fromCharCode(n[m]&127);return l}function jv(n,o,i){var l="";i=Math.min(n.length,i);for(var m=o;m<i;++m)l+=String.fromCharCode(n[m]);return l}function e0(n,o,i){var l=n.length;(!o||o<0)&&(o=0),(!i||i<0||i>l)&&(i=l);for(var m="",v=o;v<i;++v)m+=s0[n[v]];return m}function t0(n,o,i){for(var l=n.slice(o,i),m="",v=0;v<l.length-1;v+=2)m+=String.fromCharCode(l[v]+l[v+1]*256);return m}I.prototype.slice=function(o,i){var l=this.length;o=~~o,i=i===void 0?l:~~i,o<0?(o+=l,o<0&&(o=0)):o>l&&(o=l),i<0?(i+=l,i<0&&(i=0)):i>l&&(i=l),i<o&&(i=o);var m=this.subarray(o,i);return Object.setPrototypeOf(m,I.prototype),m};function Ae(n,o,i){if(n%1!==0||n<0)throw new RangeError("offset is not uint");if(n+o>i)throw new RangeError("Trying to access beyond buffer length")}I.prototype.readUintLE=I.prototype.readUIntLE=function(o,i,l){o=o>>>0,i=i>>>0,l||Ae(o,i,this.length);for(var m=this[o],v=1,S=0;++S<i&&(v*=256);)m+=this[o+S]*v;return m};I.prototype.readUintBE=I.prototype.readUIntBE=function(o,i,l){o=o>>>0,i=i>>>0,l||Ae(o,i,this.length);for(var m=this[o+--i],v=1;i>0&&(v*=256);)m+=this[o+--i]*v;return m};I.prototype.readUint8=I.prototype.readUInt8=function(o,i){return o=o>>>0,i||Ae(o,1,this.length),this[o]};I.prototype.readUint16LE=I.prototype.readUInt16LE=function(o,i){return o=o>>>0,i||Ae(o,2,this.length),this[o]|this[o+1]<<8};I.prototype.readUint16BE=I.prototype.readUInt16BE=function(o,i){return o=o>>>0,i||Ae(o,2,this.length),this[o]<<8|this[o+1]};I.prototype.readUint32LE=I.prototype.readUInt32LE=function(o,i){return o=o>>>0,i||Ae(o,4,this.length),(this[o]|this[o+1]<<8|this[o+2]<<16)+this[o+3]*16777216};I.prototype.readUint32BE=I.prototype.readUInt32BE=function(o,i){return o=o>>>0,i||Ae(o,4,this.length),this[o]*16777216+(this[o+1]<<16|this[o+2]<<8|this[o+3])};I.prototype.readIntLE=function(o,i,l){o=o>>>0,i=i>>>0,l||Ae(o,i,this.length);for(var m=this[o],v=1,S=0;++S<i&&(v*=256);)m+=this[o+S]*v;return v*=128,m>=v&&(m-=Math.pow(2,8*i)),m};I.prototype.readIntBE=function(o,i,l){o=o>>>0,i=i>>>0,l||Ae(o,i,this.length);for(var m=i,v=1,S=this[o+--m];m>0&&(v*=256);)S+=this[o+--m]*v;return v*=128,S>=v&&(S-=Math.pow(2,8*i)),S};I.prototype.readInt8=function(o,i){return o=o>>>0,i||Ae(o,1,this.length),this[o]&128?(255-this[o]+1)*-1:this[o]};I.prototype.readInt16LE=function(o,i){o=o>>>0,i||Ae(o,2,this.length);var l=this[o]|this[o+1]<<8;return l&32768?l|4294901760:l};I.prototype.readInt16BE=function(o,i){o=o>>>0,i||Ae(o,2,this.length);var l=this[o+1]|this[o]<<8;return l&32768?l|4294901760:l};I.prototype.readInt32LE=function(o,i){return o=o>>>0,i||Ae(o,4,this.length),this[o]|this[o+1]<<8|this[o+2]<<16|this[o+3]<<24};I.prototype.readInt32BE=function(o,i){return o=o>>>0,i||Ae(o,4,this.length),this[o]<<24|this[o+1]<<16|this[o+2]<<8|this[o+3]};I.prototype.readFloatLE=function(o,i){return o=o>>>0,i||Ae(o,4,this.length),Vn.read(this,o,!0,23,4)};I.prototype.readFloatBE=function(o,i){return o=o>>>0,i||Ae(o,4,this.length),Vn.read(this,o,!1,23,4)};I.prototype.readDoubleLE=function(o,i){return o=o>>>0,i||Ae(o,8,this.length),Vn.read(this,o,!0,52,8)};I.prototype.readDoubleBE=function(o,i){return o=o>>>0,i||Ae(o,8,this.length),Vn.read(this,o,!1,52,8)};function Be(n,o,i,l,m,v){if(!I.isBuffer(n))throw new TypeError('"buffer" argument must be a Buffer instance');if(o>m||o<v)throw new RangeError('"value" argument is out of bounds');if(i+l>n.length)throw new RangeError("Index out of range")}I.prototype.writeUintLE=I.prototype.writeUIntLE=function(o,i,l,m){if(o=+o,i=i>>>0,l=l>>>0,!m){var v=Math.pow(2,8*l)-1;Be(this,o,i,l,v,0)}var S=1,k=0;for(this[i]=o&255;++k<l&&(S*=256);)this[i+k]=o/S&255;return i+l};I.prototype.writeUintBE=I.prototype.writeUIntBE=function(o,i,l,m){if(o=+o,i=i>>>0,l=l>>>0,!m){var v=Math.pow(2,8*l)-1;Be(this,o,i,l,v,0)}var S=l-1,k=1;for(this[i+S]=o&255;--S>=0&&(k*=256);)this[i+S]=o/k&255;return i+l};I.prototype.writeUint8=I.prototype.writeUInt8=function(o,i,l){return o=+o,i=i>>>0,l||Be(this,o,i,1,255,0),this[i]=o&255,i+1};I.prototype.writeUint16LE=I.prototype.writeUInt16LE=function(o,i,l){return o=+o,i=i>>>0,l||Be(this,o,i,2,65535,0),this[i]=o&255,this[i+1]=o>>>8,i+2};I.prototype.writeUint16BE=I.prototype.writeUInt16BE=function(o,i,l){return o=+o,i=i>>>0,l||Be(this,o,i,2,65535,0),this[i]=o>>>8,this[i+1]=o&255,i+2};I.prototype.writeUint32LE=I.prototype.writeUInt32LE=function(o,i,l){return o=+o,i=i>>>0,l||Be(this,o,i,4,4294967295,0),this[i+3]=o>>>24,this[i+2]=o>>>16,this[i+1]=o>>>8,this[i]=o&255,i+4};I.prototype.writeUint32BE=I.prototype.writeUInt32BE=function(o,i,l){return o=+o,i=i>>>0,l||Be(this,o,i,4,4294967295,0),this[i]=o>>>24,this[i+1]=o>>>16,this[i+2]=o>>>8,this[i+3]=o&255,i+4};I.prototype.writeIntLE=function(o,i,l,m){if(o=+o,i=i>>>0,!m){var v=Math.pow(2,8*l-1);Be(this,o,i,l,v-1,-v)}var S=0,k=1,E=0;for(this[i]=o&255;++S<l&&(k*=256);)o<0&&E===0&&this[i+S-1]!==0&&(E=1),this[i+S]=(o/k>>0)-E&255;return i+l};I.prototype.writeIntBE=function(o,i,l,m){if(o=+o,i=i>>>0,!m){var v=Math.pow(2,8*l-1);Be(this,o,i,l,v-1,-v)}var S=l-1,k=1,E=0;for(this[i+S]=o&255;--S>=0&&(k*=256);)o<0&&E===0&&this[i+S+1]!==0&&(E=1),this[i+S]=(o/k>>0)-E&255;return i+l};I.prototype.writeInt8=function(o,i,l){return o=+o,i=i>>>0,l||Be(this,o,i,1,127,-128),o<0&&(o=255+o+1),this[i]=o&255,i+1};I.prototype.writeInt16LE=function(o,i,l){return o=+o,i=i>>>0,l||Be(this,o,i,2,32767,-32768),this[i]=o&255,this[i+1]=o>>>8,i+2};I.prototype.writeInt16BE=function(o,i,l){return o=+o,i=i>>>0,l||Be(this,o,i,2,32767,-32768),this[i]=o>>>8,this[i+1]=o&255,i+2};I.prototype.writeInt32LE=function(o,i,l){return o=+o,i=i>>>0,l||Be(this,o,i,4,2147483647,-2147483648),this[i]=o&255,this[i+1]=o>>>8,this[i+2]=o>>>16,this[i+3]=o>>>24,i+4};I.prototype.writeInt32BE=function(o,i,l){return o=+o,i=i>>>0,l||Be(this,o,i,4,2147483647,-2147483648),o<0&&(o=4294967295+o+1),this[i]=o>>>24,this[i+1]=o>>>16,this[i+2]=o>>>8,this[i+3]=o&255,i+4};function ju(n,o,i,l,m,v){if(i+l>n.length)throw new RangeError("Index out of range");if(i<0)throw new RangeError("Index out of range")}function ep(n,o,i,l,m){return o=+o,i=i>>>0,m||ju(n,o,i,4,34028234663852886e22,-34028234663852886e22),Vn.write(n,o,i,l,23,4),i+4}I.prototype.writeFloatLE=function(o,i,l){return ep(this,o,i,!0,l)};I.prototype.writeFloatBE=function(o,i,l){return ep(this,o,i,!1,l)};function tp(n,o,i,l,m){return o=+o,i=i>>>0,m||ju(n,o,i,8,17976931348623157e292,-17976931348623157e292),Vn.write(n,o,i,l,52,8),i+8}I.prototype.writeDoubleLE=function(o,i,l){return tp(this,o,i,!0,l)};I.prototype.writeDoubleBE=function(o,i,l){return tp(this,o,i,!1,l)};I.prototype.copy=function(o,i,l,m){if(!I.isBuffer(o))throw new TypeError("argument should be a Buffer");if(l||(l=0),!m&&m!==0&&(m=this.length),i>=o.length&&(i=o.length),i||(i=0),m>0&&m<l&&(m=l),m===l||o.length===0||this.length===0)return 0;if(i<0)throw new RangeError("targetStart out of bounds");if(l<0||l>=this.length)throw new RangeError("Index out of range");if(m<0)throw new RangeError("sourceEnd out of bounds");m>this.length&&(m=this.length),o.length-i<m-l&&(m=o.length-i+l);var v=m-l;return this===o&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(i,l,m):Uint8Array.prototype.set.call(o,this.subarray(l,m),i),v};I.prototype.fill=function(o,i,l,m){if(typeof o=="string"){if(typeof i=="string"?(m=i,i=0,l=this.length):typeof l=="string"&&(m=l,l=this.length),m!==void 0&&typeof m!="string")throw new TypeError("encoding must be a string");if(typeof m=="string"&&!I.isEncoding(m))throw new TypeError("Unknown encoding: "+m);if(o.length===1){var v=o.charCodeAt(0);(m==="utf8"&&v<128||m==="latin1")&&(o=v)}}else typeof o=="number"?o=o&255:typeof o=="boolean"&&(o=Number(o));if(i<0||this.length<i||this.length<l)throw new RangeError("Out of range index");if(l<=i)return this;i=i>>>0,l=l===void 0?this.length:l>>>0,o||(o=0);var S;if(typeof o=="number")for(S=i;S<l;++S)this[S]=o;else{var k=I.isBuffer(o)?o:I.from(o,m),E=k.length;if(E===0)throw new TypeError('The value "'+o+'" is invalid for argument "value"');for(S=0;S<l-i;++S)this[S+i]=k[S%E]}return this};var n0=/[^+/0-9A-Za-z-_]/g;function r0(n){if(n=n.split("=")[0],n=n.trim().replace(n0,""),n.length<2)return"";for(;n.length%4!==0;)n=n+"=";return n}function ra(n,o){o=o||1/0;for(var i,l=n.length,m=null,v=[],S=0;S<l;++S){if(i=n.charCodeAt(S),i>55295&&i<57344){if(!m){if(i>56319){(o-=3)>-1&&v.push(239,191,189);continue}else if(S+1===l){(o-=3)>-1&&v.push(239,191,189);continue}m=i;continue}if(i<56320){(o-=3)>-1&&v.push(239,191,189),m=i;continue}i=(m-55296<<10|i-56320)+65536}else m&&(o-=3)>-1&&v.push(239,191,189);if(m=null,i<128){if((o-=1)<0)break;v.push(i)}else if(i<2048){if((o-=2)<0)break;v.push(i>>6|192,i&63|128)}else if(i<65536){if((o-=3)<0)break;v.push(i>>12|224,i>>6&63|128,i&63|128)}else if(i<1114112){if((o-=4)<0)break;v.push(i>>18|240,i>>12&63|128,i>>6&63|128,i&63|128)}else throw new Error("Invalid code point")}return v}function o0(n){for(var o=[],i=0;i<n.length;++i)o.push(n.charCodeAt(i)&255);return o}function i0(n,o){for(var i,l,m,v=[],S=0;S<n.length&&!((o-=2)<0);++S)i=n.charCodeAt(S),l=i>>8,m=i%256,v.push(m),v.push(l);return v}function np(n){return ea.toByteArray(r0(n))}function Ho(n,o,i,l){for(var m=0;m<l&&!(m+i>=o.length||m>=n.length);++m)o[m+i]=n[m];return m}function wt(n,o){return n instanceof o||n!=null&&n.constructor!=null&&n.constructor.name!=null&&n.constructor.name===o.name}function sa(n){return n!==n}var s0=function(){for(var n="0123456789abcdef",o=new Array(256),i=0;i<16;++i)for(var l=i*16,m=0;m<16;++m)o[l+m]=n[i]+n[m];return o}()});var cp=kr((LI,ap)=>{s();var ye=ap.exports={},At,It;function aa(){throw new Error("setTimeout has not been defined")}function ca(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?At=setTimeout:At=aa}catch(n){At=aa}try{typeof clearTimeout=="function"?It=clearTimeout:It=ca}catch(n){It=ca}})();function op(n){if(At===setTimeout)return setTimeout(n,0);if((At===aa||!At)&&setTimeout)return At=setTimeout,setTimeout(n,0);try{return At(n,0)}catch(o){try{return At.call(null,n,0)}catch(i){return At.call(this,n,0)}}}function a0(n){if(It===clearTimeout)return clearTimeout(n);if((It===ca||!It)&&clearTimeout)return It=clearTimeout,clearTimeout(n);try{return It(n)}catch(o){try{return It.call(null,n)}catch(i){return It.call(this,n)}}}var Bt=[],zn=!1,Sn,Vo=-1;function c0(){!zn||!Sn||(zn=!1,Sn.length?Bt=Sn.concat(Bt):Vo=-1,Bt.length&&ip())}function ip(){if(!zn){var n=op(c0);zn=!0;for(var o=Bt.length;o;){for(Sn=Bt,Bt=[];++Vo<o;)Sn&&Sn[Vo].run();Vo=-1,o=Bt.length}Sn=null,zn=!1,a0(n)}}ye.nextTick=function(n){var o=new Array(arguments.length-1);if(arguments.length>1)for(var i=1;i<arguments.length;i++)o[i-1]=arguments[i];Bt.push(new sp(n,o)),Bt.length===1&&!zn&&op(ip)};function sp(n,o){this.fun=n,this.array=o}sp.prototype.run=function(){this.fun.apply(null,this.array)};ye.title="browser";ye.browser=!0;ye.env={};ye.argv=[];ye.version="";ye.versions={};function Wt(){}ye.on=Wt;ye.addListener=Wt;ye.once=Wt;ye.off=Wt;ye.removeListener=Wt;ye.removeAllListeners=Wt;ye.emit=Wt;ye.prependListener=Wt;ye.prependOnceListener=Wt;ye.listeners=function(n){return[]};ye.binding=function(n){throw new Error("process.binding is not supported")};ye.cwd=function(){return"/"};ye.chdir=function(n){throw new Error("process.chdir is not supported")};ye.umask=function(){return 0}});var d,g,l0,f,s=W(()=>{d=V(rp()),g=V(cp()),l0=function(n){function o(){var l=this||self;return delete n.prototype.__magic__,l}if(typeof globalThis=="object")return globalThis;if(this)return o();n.defineProperty(n.prototype,"__magic__",{configurable:!0,get:o});var i=__magic__;return i}(Object),f=l0});var vn=W(()=>{"use strict";s()});var lp=W(()=>{"use strict";s()});var up=W(()=>{"use strict";s()});var pp=W(()=>{"use strict";s()});var ge=W(()=>{"use strict";s()});var fp=W(()=>{"use strict";s()});var dp=W(()=>{"use strict";s()});var We=W(()=>{"use strict";s()});var gp=W(()=>{"use strict";s()});var mp=W(()=>{"use strict";s()});var Ie=W(()=>{"use strict";s();lp();up();pp();ge();fp();dp();We();gp();mp()});var la,Tp,zI,hp,KI,yp,YI,ZI,XI,xp=W(()=>{"use strict";s();Ie();la={devnet:{id:"devnet",chainId:"D",name:"Devnet",egldLabel:"xEGLD",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"https://maiar.page.link/?apn=com.elrond.maiar.wallet&isi=1519405832&ibi=com.elrond.maiar.wallet&link=https://xportal.com/",walletConnectBridgeAddresses:["https://bridge.walletconnect.org"],walletConnectV2RelayAddresses:["wss://relay.walletconnect.com"],walletAddress:"https://devnet-wallet.multiversx.com",apiAddress:"https://devnet-api.multiversx.com",explorerAddress:"http://devnet-explorer.multiversx.com",apiTimeout:"4000"},testnet:{id:"testnet",chainId:"T",name:"Testnet",egldLabel:"xEGLD",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"https://maiar.page.link/?apn=com.elrond.maiar.wallet&isi=1519405832&ibi=com.elrond.maiar.wallet&link=https://xportal.com/",walletConnectBridgeAddresses:["https://bridge.walletconnect.org"],walletConnectV2RelayAddresses:["wss://relay.walletconnect.com"],walletAddress:"https://testnet-wallet.multiversx.com",apiAddress:"https://testnet-api.multiversx.com",explorerAddress:"http://testnet-explorer.multiversx.com",apiTimeout:"4000"},mainnet:{id:"mainnet",chainId:"1",name:"Mainnet",egldLabel:"EGLD",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"https://maiar.page.link/?apn=com.elrond.maiar.wallet&isi=1519405832&ibi=com.elrond.maiar.wallet&link=https://xportal.com/",walletConnectBridgeAddresses:["https://bridge.walletconnect.org"],walletConnectV2RelayAddresses:["wss://relay.walletconnect.com"],walletAddress:"https://wallet.multiversx.com",apiAddress:"https://api.multiversx.com",explorerAddress:"https://explorer.multiversx.com",apiTimeout:"4000"}},{chainId:Tp,egldLabel:zI}=la["devnet"],{chainId:hp,egldLabel:KI}=la["testnet"],{chainId:yp,egldLabel:YI}=la["mainnet"],ZI={["devnet"]:Tp,["testnet"]:hp,["mainnet"]:yp},XI={[Tp]:"devnet",[hp]:"testnet",[yp]:"mainnet"}});var ua=W(()=>{"use strict";s()});var Sp=W(()=>{"use strict";s()});var qo,pa=W(()=>{"use strict";s();qo="transaction-status-toast-id"});var _t,vp=W(()=>{"use strict";s();_t=require("@multiversx/sdk-web-wallet-provider")});var wp=W(()=>{"use strict";s()});var Dr,zo,Ap,Ko,Ip,Kn,se=W(()=>{"use strict";s();vn();xp();ua();Sp();pa();vp();wp();Dr=5e4,zo=1e9,Ap=1,Ko="logout",Ip="login",Kn="0"});var Rr,Yo=W(()=>{"use strict";s();Rr=()=>Date.now()/1e3});var _p=W(()=>{"use strict";s()});var bp=W(()=>{"use strict";s()});var fa=W(()=>{"use strict";s();Yo();_p();bp()});var ga={};hn(ga,{getItem:()=>p0,localStorageKeys:()=>nn,removeItem:()=>f0,setItem:()=>u0});var nn,da,u0,p0,f0,Yn=W(()=>{"use strict";s();fa();nn={loginExpiresAt:"sdk-dapp-login-expires-at",logoutEvent:"sdk-dapp-logout-event"},da=typeof localStorage!="undefined",u0=({key:n,data:o,expires:i})=>{!da||localStorage.setItem(String(n),JSON.stringify({expires:i,data:o}))},p0=n=>{if(!da)return;let o=localStorage.getItem(String(n));if(!o)return null;let i=JSON.parse(o);return!i||!i.hasOwnProperty("expires")||!i.hasOwnProperty("data")?null:Rr()>=i.expires?(localStorage.removeItem(String(n)),null):i.data},f0=n=>{!da||localStorage.removeItem(String(n))}});var ma={};hn(ma,{clear:()=>kp,getItem:()=>Ep,removeItem:()=>Cp,setItem:()=>Lp,storage:()=>d0});var Lp,Ep,Cp,kp,d0,Pp=W(()=>{"use strict";s();Lp=({key:n,data:o,expires:i})=>{sessionStorage.setItem(String(n),JSON.stringify({expires:i,data:o}))},Ep=n=>{let o=sessionStorage.getItem(String(n));if(!o)return null;let i=JSON.parse(o);return!i||!i.hasOwnProperty("expires")||!i.hasOwnProperty("data")?null:Date.now()>=i.expires?(sessionStorage.removeItem(String(n)),null):i.data},Cp=n=>sessionStorage.removeItem(String(n)),kp=()=>sessionStorage.clear(),d0={setItem:Lp,getItem:Ep,removeItem:Cp,clear:kp}});var wn,Zn=W(()=>{"use strict";s();Yn();Pp();wn={session:ma,local:ga}});var Ta,Le,bt,ke=W(()=>{"use strict";s();Ta=require("@reduxjs/toolkit");se();Le=(0,Ta.createAction)(Ko),bt=(0,Ta.createAction)(Ip,n=>({payload:n}))});var ya,Dp,Rp,Zo,ha,Np,xa,E_,Sa,C_,g0,m0,k_,P_,D_,T0,Xo,Jo=W(()=>{"use strict";s();ya=require("@multiversx/sdk-core"),Dp=require("@reduxjs/toolkit"),Rp=require("redux-persist");se();Zn();Yn();ke();Zo={balance:"...",address:"",nonce:0,txCount:0,scrCount:0,claimableRewards:Kn},ha={address:"",websocketEvent:null,accounts:{"":Zo},ledgerAccount:null,publicKey:"",walletConnectAccount:null,isAccountLoading:!0,accountLoadingError:null},Np=(0,Dp.createSlice)({name:"accountInfoSlice",initialState:ha,reducers:{setAddress:(n,o)=>{let i=o.payload;n.address=i,n.publicKey=new ya.Address(i).hex()},setAccount:(n,o)=>{let i=n.address===o.payload.address;n.accounts={[n.address]:i?o.payload:Zo},n.shard=o.payload.shard,n.isAccountLoading=!1,n.accountLoadingError=null},setAccountNonce:(n,o)=>{let{address:i}=n;n.accounts[i].nonce=o.payload},setAccountShard:(n,o)=>{n.shard=o.payload},setLedgerAccount:(n,o)=>{n.ledgerAccount=o.payload},updateLedgerAccount:(n,o)=>{n.ledgerAccount!=null&&(n.ledgerAccount.index=o.payload.index,n.ledgerAccount.address=o.payload.address)},setWalletConnectAccount:(n,o)=>{n.walletConnectAccount=o.payload},setIsAccountLoading:(n,o)=>{n.isAccountLoading=o.payload,n.accountLoadingError=null},setAccountLoadingError:(n,o)=>{n.accountLoadingError=o.payload,n.isAccountLoading=!1},setWebsocketEvent:(n,o)=>{n.websocketEvent={timestamp:Date.now(),message:o.payload}}},extraReducers:n=>{n.addCase(Le,()=>(wn.local.removeItem(nn.loginExpiresAt),ha)),n.addCase(bt,(o,i)=>{let{address:l}=i.payload;o.address=l,o.publicKey=new ya.Address(l).hex()}),n.addCase(Rp.REHYDRATE,(o,i)=>{var N;if(!((N=i.payload)!=null&&N.account))return;let{account:l}=i.payload,{address:m,shard:v,accounts:S,publicKey:k}=l;o.address=m,o.shard=v;let E=S&&m in S;o.accounts=E?S:ha.accounts,o.publicKey=k})}}),{setAccount:xa,setAddress:E_,setAccountNonce:Sa,setAccountShard:C_,setLedgerAccount:g0,updateLedgerAccount:m0,setWalletConnectAccount:k_,setIsAccountLoading:P_,setAccountLoadingError:D_,setWebsocketEvent:T0}=Np.actions,Xo=Np.reducer});function Nr(){return new Date().setHours(new Date().getHours()+24)}function Or(n){wn.local.setItem({key:nn.loginExpiresAt,data:n,expires:n})}var va=W(()=>{"use strict";s();Zn();Yn()});var Mp,Op,Fp,$_,Up,h0,y0,H_,x0,Bp,V_,Qo,jo=W(()=>{"use strict";s();Mp=require("@reduxjs/toolkit");va();ge();ke();Op={loginMethod:"",walletConnectLogin:null,ledgerLogin:null,tokenLogin:null,walletLogin:null,extensionLogin:null,operaLogin:null,isLoginSessionInvalid:!1},Fp=(0,Mp.createSlice)({name:"loginInfoSlice",initialState:Op,reducers:{setLoginMethod:(n,o)=>{n.loginMethod=o.payload},setTokenLogin:(n,o)=>{n.tokenLogin=o.payload},setTokenLoginSignature:(n,o)=>{(n==null?void 0:n.tokenLogin)!=null&&(n.tokenLogin.signature=o.payload)},setWalletLogin:(n,o)=>{n.walletLogin=o.payload},setWalletConnectLogin:(n,o)=>{n.walletConnectLogin=o.payload},setLedgerLogin:(n,o)=>{n.ledgerLogin=o.payload},invalidateLoginSession:n=>{n.isLoginSessionInvalid=!0},setLogoutRoute:(n,o)=>{n.logoutRoute=o.payload}},extraReducers:n=>{n.addCase(Le,()=>Op),n.addCase(bt,(o,i)=>{o.loginMethod=i.payload.loginMethod,Or(Nr())})}}),{setLoginMethod:$_,setWalletConnectLogin:Up,setLedgerLogin:h0,setTokenLogin:y0,setTokenLoginSignature:H_,setWalletLogin:x0,invalidateLoginSession:Bp,setLogoutRoute:V_}=Fp.actions,Qo=Fp.reducer});var Gp,Wp,$p,Y_,S0,Z_,v0,ei,ti=W(()=>{"use strict";s();Gp=require("@reduxjs/toolkit");ke();Wp={},$p=(0,Gp.createSlice)({name:"modalsSlice",initialState:Wp,reducers:{setTxSubmittedModal:(n,o)=>{n.txSubmittedModal=o.payload},setNotificationModal:(n,o)=>{n.notificationModal=o.payload},clearTxSubmittedModal:n=>{n.txSubmittedModal=void 0},clearNotificationModal:n=>{n.notificationModal=void 0}},extraReducers:n=>{n.addCase(Le,()=>Wp)}}),{setTxSubmittedModal:Y_,setNotificationModal:S0,clearTxSubmittedModal:Z_,clearNotificationModal:v0}=$p.actions,ei=$p.reducer});var Mr=W(()=>{"use strict";s()});var Vp=W(()=>{"use strict";s();Mr()});function wa(n){return n[Math.floor(Math.random()*n.length)]}var qp=W(()=>{"use strict";s()});var Aa=W(()=>{"use strict";s();ua()});var An=W(()=>{"use strict";s();Vp();qp();Aa()});var zp,Kp,Ia,w0,Yp,ub,pb,ni,ri=W(()=>{"use strict";s();zp=require("@reduxjs/toolkit"),Kp=V(require("lodash.omit"));An();Ia={id:"not-configured",chainId:"",name:"NOT CONFIGURED",egldLabel:"",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"",walletConnectBridgeAddress:"",walletConnectV2RelayAddress:"",walletConnectV2ProjectId:"",walletConnectV2Options:{},walletAddress:"",apiAddress:"",explorerAddress:"",apiTimeout:"4000"},w0={network:Ia,chainID:"-1"},Yp=(0,zp.createSlice)({name:"appConfig",initialState:w0,reducers:{initializeNetworkConfig:(n,o)=>{let i=wa(o.payload.walletConnectBridgeAddresses),l=wa(o.payload.walletConnectV2RelayAddresses),m=(0,Kp.default)(o.payload,"walletConnectBridgeAddresses","walletConnectV2RelayAddresses");n.network=Q(O(O({},n.network),m),{walletConnectBridgeAddress:i,walletConnectV2RelayAddress:l})},setChainID:(n,o)=>{n.chainID=o.payload}}}),{initializeNetworkConfig:ub,setChainID:pb}=Yp.actions,ni=Yp.reducer});var Zp,_a,Xp,hb,yb,xb,oi,ii=W(()=>{"use strict";s();Zp=require("@reduxjs/toolkit");Ie();ke();_a={isSigning:!1,signedSessions:{}},Xp=(0,Zp.createSlice)({name:"signedMessageInfoSliceState",initialState:_a,reducers:{setSignSession:(n,o)=>{let{sessionId:i,signedSession:l,errorMessage:m}=o.payload;return Q(O({},n),{errorMessage:m!=null?m:n.errorMessage,isSigning:l.status==="pending",signedSessions:Q(O({},n.signedSessions),{[i]:l})})},setSignSessionState:(n,o)=>O(O({},n),o.payload),clearSignedMessageInfo:()=>_a},extraReducers:n=>{n.addCase(Le,()=>_a)}}),{setSignSession:hb,clearSignedMessageInfo:yb,setSignSessionState:xb}=Xp.actions,oi=Xp.reducer});var Qp,jp,Jp,ef,A0,ba,Lb,Eb,Cb,kb,si,ai=W(()=>{"use strict";s();Qp=require("@reduxjs/toolkit"),jp=require("redux-persist");pa();Ie();Yo();ke();Jp={customToasts:[],transactionToasts:[],failTransactionToast:null},ef=(0,Qp.createSlice)({name:"toastsSlice",initialState:Jp,reducers:{addCustomToast:(n,o)=>{n.customToasts.push(Q(O({},o.payload),{type:"custom",toastId:o.payload.toastId||`custom-toast-${n.customToasts.length+1}`}))},removeCustomToast:(n,o)=>{n.customToasts=n.customToasts.filter(i=>i.toastId!==o.payload)},addTransactionToast:(n,o)=>{n.transactionToasts.push({type:"transaction",startTimestamp:Rr(),toastId:o.payload||`custom-toast-${n.transactionToasts.length+1}`})},removeTransactionToast:(n,o)=>{n.transactionToasts=n.transactionToasts.filter(i=>i.toastId!==o.payload)},addFailTransactionToast:(n,o)=>{n.failTransactionToast=Q(O({},o.payload),{toastId:qo})},removeFailTransactionToast:n=>{n.failTransactionToast=null}},extraReducers:n=>{n.addCase(Le,()=>Jp),n.addCase(jp.REHYDRATE,(o,i)=>{var m,v;let l=(v=(m=i.customToasts)==null?void 0:m.filter(S=>!("component"in S)))!=null?v:[];o.customToasts=l})}}),{addCustomToast:A0,removeCustomToast:ba,addTransactionToast:Lb,removeTransactionToast:Eb,addFailTransactionToast:Cb,removeFailTransactionToast:kb}=ef.actions,si=ef.reducer});var tf,Ea,Ca,ka,I0,La,nf,Nb,_0,Pa,ci,li=W(()=>{"use strict";s();tf=require("@reduxjs/toolkit");ke();Ea="Transaction failed",Ca="Transaction successful",ka="Processing transaction",I0="Transaction submitted",La={},nf=(0,tf.createSlice)({name:"transactionsInfo",initialState:La,reducers:{setTransactionsDisplayInfo(n,o){let{sessionId:i,transactionsDisplayInfo:l}=o.payload;i!=null&&(n[i]={errorMessage:(l==null?void 0:l.errorMessage)||Ea,successMessage:(l==null?void 0:l.successMessage)||Ca,processingMessage:(l==null?void 0:l.processingMessage)||ka,submittedMessage:(l==null?void 0:l.submittedMessage)||I0,transactionDuration:l==null?void 0:l.transactionDuration})},clearTransactionsInfoForSessionId(n,o){o.payload!=null&&delete n[o.payload]},clearTransactionsInfo:()=>La},extraReducers:n=>{n.addCase(Le,()=>La)}}),{clearTransactionsInfo:Nb,setTransactionsDisplayInfo:_0,clearTransactionsInfoForSessionId:Pa}=nf.actions,ci=nf.reducer});function Jn(n){return n!=null&&(R0(n)||F0(n))}function Qn(n){return n!=null&&(N0(n)||U0(n))}function jn(n){return n!=null&&(O0(n)||B0(n))}function Da(n){return n!=null&&M0(n)}function R0(n){return n!=null&&b0.includes(n)}function N0(n){return n!=null&&L0.includes(n)}function O0(n){return n!=null&&E0.includes(n)}function M0(n){return n!=null&&C0.includes(n)}function F0(n){return n!=null&&k0.includes(n)}function U0(n){return n!=null&&P0.includes(n)}function B0(n){return n!=null&&D0.includes(n)}var b0,L0,E0,C0,k0,P0,D0,er=W(()=>{"use strict";s();ge();b0=["sent"],L0=["success"],E0=["fail","cancelled","timedOut"],C0=["timedOut"],k0=["pending"],P0=["success"],D0=["fail","invalid"]});var rf,of,Fr,W0,sf,af,cf,G0,ui,$0,H0,Hb,V0,pi,Ra,fi,di=W(()=>{"use strict";s();rf=require("@reduxjs/toolkit"),of=require("redux-persist");ge();er();ke();Fr={signedTransactions:{},transactionsToSign:null,signTransactionsError:null,signTransactionsCancelMessage:null,customTransactionInformationForSessionId:{}},W0={signWithoutSending:!1,sessionInformation:null,redirectAfterSign:!1},sf=(0,rf.createSlice)({name:"transactionsSlice",initialState:Fr,reducers:{moveTransactionsToSignedState:(n,o)=>{var E,N;let{sessionId:i,transactions:l,errorMessage:m,status:v,redirectRoute:S}=o.payload,k=((E=n.customTransactionInformationForSessionId)==null?void 0:E[i])||W0;n.signedTransactions[i]={transactions:l,status:v,errorMessage:m,redirectRoute:S,customTransactionInformation:k},((N=n==null?void 0:n.transactionsToSign)==null?void 0:N.sessionId)===i&&(n.transactionsToSign=Fr.transactionsToSign)},clearSignedTransaction:(n,o)=>{n.signedTransactions[o.payload]&&delete n.signedTransactions[o.payload]},clearTransactionToSign:n=>{n!=null&&n.transactionsToSign&&(n.transactionsToSign=null)},updateSignedTransaction:(n,o)=>{n.signedTransactions=O(O({},n.signedTransactions),o.payload)},updateSignedTransactions:(n,o)=>{let{sessionId:i,status:l,errorMessage:m,transactions:v}=o.payload;n.signedTransactions[i]!=null&&(n.signedTransactions[i].status=l,m!=null&&(n.signedTransactions[i].errorMessage=m),v!=null&&(n.signedTransactions[i].transactions=v))},updateSignedTransactionStatus:(n,o)=>{var k,E,N,G,M,ce;let{sessionId:i,status:l,errorMessage:m,transactionHash:v}=o.payload,S=(E=(k=n.signedTransactions)==null?void 0:k[i])==null?void 0:E.transactions;if(S!=null){n.signedTransactions[i].transactions=S.map(_e=>_e.hash===v?Q(O({},_e),{status:l,errorMessage:m}):_e);let pe=(G=(N=n.signedTransactions[i])==null?void 0:N.transactions)==null?void 0:G.every(_e=>Qn(_e.status)),me=(ce=(M=n.signedTransactions[i])==null?void 0:M.transactions)==null?void 0:ce.every(_e=>jn(_e.status));pe&&(n.signedTransactions[i].status="success"),me&&(n.signedTransactions[i].status="fail")}},setTransactionsToSign:(n,o)=>{n.transactionsToSign=o.payload;let{sessionId:i,customTransactionInformation:l}=o.payload;n.customTransactionInformationForSessionId[i]=l,n.signTransactionsError=null},clearAllTransactionsToSign:n=>{n.transactionsToSign=Fr.transactionsToSign,n.signTransactionsError=null},clearAllSignedTransactions:n=>{n.signedTransactions=Fr.signedTransactions},setSignTransactionsError:(n,o)=>{n.signTransactionsError=o.payload},setSignTransactionsCancelMessage:(n,o)=>{n.signTransactionsCancelMessage=o.payload}},extraReducers:n=>{n.addCase(Le,()=>Fr),n.addCase(of.REHYDRATE,(o,i)=>{var S;if(o.signTransactionsCancelMessage=null,!((S=i.payload)!=null&&S.transactions))return;let{signedTransactions:l,customTransactionInformationForSessionId:m}=i.payload.transactions,v=Object.entries(l).reduce((k,[E,N])=>{let G=new Date(E),M=new Date;return M.setHours(M.getHours()+5),M-G>0||(k[E]=N),k},{});m!=null&&(o.customTransactionInformationForSessionId=m),l!=null&&(o.signedTransactions=v)})}}),{updateSignedTransactionStatus:af,updateSignedTransactions:cf,setTransactionsToSign:G0,clearAllTransactionsToSign:ui,clearAllSignedTransactions:$0,clearSignedTransaction:H0,clearTransactionToSign:Hb,setSignTransactionsError:V0,setSignTransactionsCancelMessage:pi,moveTransactionsToSignedState:Ra}=sf.actions,fi=sf.reducer});var ae=W(()=>{"use strict";s();Jo();jo();ti();ri();ii();ai();li();di()});var Na=W(()=>{"use strict";s()});var df,ff,gf,dL,gL,mL,TL,hL,yL,mf,Tf=W(()=>{"use strict";s();df=require("@reduxjs/toolkit");ke();ff={visible:!1,modal:{showHeader:!0,showFooter:!1,headerText:"",footerText:""}},gf=(0,df.createSlice)({name:"dappModalsSlice",initialState:ff,reducers:{setDappModalVisibility:(n,o)=>{n.visible=o.payload},setDappModalHeaderVisibility:(n,o)=>{n.modal.showHeader=o.payload},setDappModalFooterVisibility:(n,o)=>{n.modal.showFooter=o.payload},setDappModalHeaderText:(n,o)=>{n.modal.headerText=o.payload},setDappModalFooterText:(n,o)=>{n.modal.footerText=o.payload},setDappModalConfig:(n,o)=>{n.modal=O({},o.payload)}},extraReducers:n=>{n.addCase(Le,()=>ff)}}),{setDappModalVisibility:dL,setDappModalHeaderVisibility:gL,setDappModalFooterVisibility:mL,setDappModalHeaderText:TL,setDappModalFooterText:hL,setDappModalConfig:yL}=gf.actions,mf=gf.reducer});var hf,Y0,Z0,_n,hi=W(()=>{"use strict";s();hf=require("@reduxjs/toolkit");Na();Jo();Tf();jo();ti();ri();ii();ai();li();di();Y0={["account"]:Xo,["dappModal"]:mf,["loginInfo"]:Qo,["modals"]:ei,["networkConfig"]:ni,["signedMessageInfo"]:oi,["toasts"]:si,["transactionsInfo"]:ci,["transactions"]:fi},Z0=(n={})=>(0,hf.combineReducers)(O(O({},Y0),n)),_n=Z0});var vf={};hn(vf,{default:()=>uw,sessionStorageReducers:()=>Oa});function rn(n,o=[]){return{key:n,version:1,storage:xf.default,blacklist:o}}var Ze,yf,xf,X0,Br,J0,Q0,j0,ew,tw,nw,rw,ow,iw,Sf,sw,Oa,aw,cw,lw,uw,wf=W(()=>{"use strict";s();Ze=require("redux-persist"),yf=V(require("redux-persist/lib/storage")),xf=V(require("redux-persist/lib/storage/session"));hi();ae();Jo();jo();ti();ri();ii();ai();li();di();Na();X0={persistReducersStorageType:"localStorage"},Br={["account"]:"sdk-dapp-account",["loginInfo"]:"sdk-dapp-login-info",["modals"]:"sdk-dapp-modals",["networkConfig"]:"sdk-dapp-network-config"},J0=rn(Br["account"]),Q0=rn(Br["loginInfo"]),j0=rn(Br["modals"]),ew=rn(Br["networkConfig"]),tw={2:n=>Q(O({},n),{networkConfig:Ia})};nw=rn("sdk-dapp-transactionsInfo"),rw=rn("sdk-dapp-transactions",["transactionsToSign"]),ow=rn("sdk-dapp-toasts"),iw=rn("sdk-dapp-signedMessageInfo"),Sf={key:"sdk-dapp-store",version:2,storage:yf.default,whitelist:Object.keys(Br),migrate:(0,Ze.createMigrate)(tw,{debug:!1})},sw=Q(O({},Sf),{whitelist:[]}),Oa={["toasts"]:(0,Ze.persistReducer)(ow,si),["transactions"]:(0,Ze.persistReducer)(rw,fi),["transactionsInfo"]:(0,Ze.persistReducer)(nw,ci),["signedMessageInfo"]:(0,Ze.persistReducer)(iw,oi)},aw=Q(O({},Oa),{["account"]:(0,Ze.persistReducer)(J0,Xo),["loginInfo"]:(0,Ze.persistReducer)(Q0,Qo),["modals"]:(0,Ze.persistReducer)(j0,ei),["networkConfig"]:(0,Ze.persistReducer)(ew,ni)}),cw=X0.persistReducersStorageType==="localStorage",lw=cw?(0,Ze.persistReducer)(Sf,_n(Oa)):(0,Ze.persistReducer)(sw,_n(aw)),uw=lw});var Af={};hn(Af,{default:()=>pw});var pw,If=W(()=>{"use strict";s();hi();pw=_n()});var _f={};hn(_f,{default:()=>dw});var st,fw,dw,bf=W(()=>{"use strict";s();st=require("redux-persist"),fw=[st.FLUSH,st.REHYDRATE,st.PAUSE,st.PERSIST,st.PURGE,st.REGISTER],dw=fw});var Cf={};hn(Cf,{default:()=>Ef});function Ef(n){return(0,Lf.persistStore)(n)}var Lf,kf=W(()=>{"use strict";s();Lf=require("redux-persist")});var Ad=kr((or,Hr)=>{s();(function(){var n,o="4.17.21",i=200,l="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",m="Expected a function",v="Invalid `variable` option passed into `_.template`",S="__lodash_hash_undefined__",k=500,E="__lodash_placeholder__",N=1,G=2,M=4,ce=1,pe=2,me=1,_e=2,ic=4,mt=8,Ln=16,Tt=32,En=64,Lt=128,sr=256,Ci=512,kd=30,Pd="...",Dd=800,Rd=16,sc=1,Nd=2,Od=3,an=1/0,qt=9007199254740991,Md=17976931348623157e292,qr=0/0,ht=4294967295,Fd=ht-1,Ud=ht>>>1,Bd=[["ary",Lt],["bind",me],["bindKey",_e],["curry",mt],["curryRight",Ln],["flip",Ci],["partial",Tt],["partialRight",En],["rearg",sr]],Cn="[object Arguments]",zr="[object Array]",Wd="[object AsyncFunction]",ar="[object Boolean]",cr="[object Date]",Gd="[object DOMException]",Kr="[object Error]",Yr="[object Function]",ac="[object GeneratorFunction]",at="[object Map]",lr="[object Number]",$d="[object Null]",Et="[object Object]",cc="[object Promise]",Hd="[object Proxy]",ur="[object RegExp]",ct="[object Set]",pr="[object String]",Zr="[object Symbol]",Vd="[object Undefined]",fr="[object WeakMap]",qd="[object WeakSet]",dr="[object ArrayBuffer]",kn="[object DataView]",ki="[object Float32Array]",Pi="[object Float64Array]",Di="[object Int8Array]",Ri="[object Int16Array]",Ni="[object Int32Array]",Oi="[object Uint8Array]",Mi="[object Uint8ClampedArray]",Fi="[object Uint16Array]",Ui="[object Uint32Array]",zd=/\b__p \+= '';/g,Kd=/\b(__p \+=) '' \+/g,Yd=/(__e\(.*?\)|\b__t\)) \+\n'';/g,lc=/&(?:amp|lt|gt|quot|#39);/g,uc=/[&<>"']/g,Zd=RegExp(lc.source),Xd=RegExp(uc.source),Jd=/<%-([\s\S]+?)%>/g,Qd=/<%([\s\S]+?)%>/g,pc=/<%=([\s\S]+?)%>/g,jd=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,eg=/^\w*$/,tg=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Bi=/[\\^$.*+?()[\]{}|]/g,ng=RegExp(Bi.source),Wi=/^\s+/,rg=/\s/,og=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,ig=/\{\n\/\* \[wrapped with (.+)\] \*/,sg=/,? & /,ag=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,cg=/[()=,{}\[\]\/\s]/,lg=/\\(\\)?/g,ug=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,fc=/\w*$/,pg=/^[-+]0x[0-9a-f]+$/i,fg=/^0b[01]+$/i,dg=/^\[object .+?Constructor\]$/,gg=/^0o[0-7]+$/i,mg=/^(?:0|[1-9]\d*)$/,Tg=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Xr=/($^)/,hg=/['\n\r\u2028\u2029\\]/g,Jr="\\ud800-\\udfff",yg="\\u0300-\\u036f",xg="\\ufe20-\\ufe2f",Sg="\\u20d0-\\u20ff",dc=yg+xg+Sg,gc="\\u2700-\\u27bf",mc="a-z\\xdf-\\xf6\\xf8-\\xff",vg="\\xac\\xb1\\xd7\\xf7",wg="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",Ag="\\u2000-\\u206f",Ig=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",Tc="A-Z\\xc0-\\xd6\\xd8-\\xde",hc="\\ufe0e\\ufe0f",yc=vg+wg+Ag+Ig,Gi="['\u2019]",_g="["+Jr+"]",xc="["+yc+"]",Qr="["+dc+"]",Sc="\\d+",bg="["+gc+"]",vc="["+mc+"]",wc="[^"+Jr+yc+Sc+gc+mc+Tc+"]",$i="\\ud83c[\\udffb-\\udfff]",Lg="(?:"+Qr+"|"+$i+")",Ac="[^"+Jr+"]",Hi="(?:\\ud83c[\\udde6-\\uddff]){2}",Vi="[\\ud800-\\udbff][\\udc00-\\udfff]",Pn="["+Tc+"]",Ic="\\u200d",_c="(?:"+vc+"|"+wc+")",Eg="(?:"+Pn+"|"+wc+")",bc="(?:"+Gi+"(?:d|ll|m|re|s|t|ve))?",Lc="(?:"+Gi+"(?:D|LL|M|RE|S|T|VE))?",Ec=Lg+"?",Cc="["+hc+"]?",Cg="(?:"+Ic+"(?:"+[Ac,Hi,Vi].join("|")+")"+Cc+Ec+")*",kg="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Pg="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",kc=Cc+Ec+Cg,Dg="(?:"+[bg,Hi,Vi].join("|")+")"+kc,Rg="(?:"+[Ac+Qr+"?",Qr,Hi,Vi,_g].join("|")+")",Ng=RegExp(Gi,"g"),Og=RegExp(Qr,"g"),qi=RegExp($i+"(?="+$i+")|"+Rg+kc,"g"),Mg=RegExp([Pn+"?"+vc+"+"+bc+"(?="+[xc,Pn,"$"].join("|")+")",Eg+"+"+Lc+"(?="+[xc,Pn+_c,"$"].join("|")+")",Pn+"?"+_c+"+"+bc,Pn+"+"+Lc,Pg,kg,Sc,Dg].join("|"),"g"),Fg=RegExp("["+Ic+Jr+dc+hc+"]"),Ug=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,Bg=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],Wg=-1,le={};le[ki]=le[Pi]=le[Di]=le[Ri]=le[Ni]=le[Oi]=le[Mi]=le[Fi]=le[Ui]=!0,le[Cn]=le[zr]=le[dr]=le[ar]=le[kn]=le[cr]=le[Kr]=le[Yr]=le[at]=le[lr]=le[Et]=le[ur]=le[ct]=le[pr]=le[fr]=!1;var ie={};ie[Cn]=ie[zr]=ie[dr]=ie[kn]=ie[ar]=ie[cr]=ie[ki]=ie[Pi]=ie[Di]=ie[Ri]=ie[Ni]=ie[at]=ie[lr]=ie[Et]=ie[ur]=ie[ct]=ie[pr]=ie[Zr]=ie[Oi]=ie[Mi]=ie[Fi]=ie[Ui]=!0,ie[Kr]=ie[Yr]=ie[fr]=!1;var Gg={\u00C0:"A",\u00C1:"A",\u00C2:"A",\u00C3:"A",\u00C4:"A",\u00C5:"A",\u00E0:"a",\u00E1:"a",\u00E2:"a",\u00E3:"a",\u00E4:"a",\u00E5:"a",\u00C7:"C",\u00E7:"c",\u00D0:"D",\u00F0:"d",\u00C8:"E",\u00C9:"E",\u00CA:"E",\u00CB:"E",\u00E8:"e",\u00E9:"e",\u00EA:"e",\u00EB:"e",\u00CC:"I",\u00CD:"I",\u00CE:"I",\u00CF:"I",\u00EC:"i",\u00ED:"i",\u00EE:"i",\u00EF:"i",\u00D1:"N",\u00F1:"n",\u00D2:"O",\u00D3:"O",\u00D4:"O",\u00D5:"O",\u00D6:"O",\u00D8:"O",\u00F2:"o",\u00F3:"o",\u00F4:"o",\u00F5:"o",\u00F6:"o",\u00F8:"o",\u00D9:"U",\u00DA:"U",\u00DB:"U",\u00DC:"U",\u00F9:"u",\u00FA:"u",\u00FB:"u",\u00FC:"u",\u00DD:"Y",\u00FD:"y",\u00FF:"y",\u00C6:"Ae",\u00E6:"ae",\u00DE:"Th",\u00FE:"th",\u00DF:"ss",\u0100:"A",\u0102:"A",\u0104:"A",\u0101:"a",\u0103:"a",\u0105:"a",\u0106:"C",\u0108:"C",\u010A:"C",\u010C:"C",\u0107:"c",\u0109:"c",\u010B:"c",\u010D:"c",\u010E:"D",\u0110:"D",\u010F:"d",\u0111:"d",\u0112:"E",\u0114:"E",\u0116:"E",\u0118:"E",\u011A:"E",\u0113:"e",\u0115:"e",\u0117:"e",\u0119:"e",\u011B:"e",\u011C:"G",\u011E:"G",\u0120:"G",\u0122:"G",\u011D:"g",\u011F:"g",\u0121:"g",\u0123:"g",\u0124:"H",\u0126:"H",\u0125:"h",\u0127:"h",\u0128:"I",\u012A:"I",\u012C:"I",\u012E:"I",\u0130:"I",\u0129:"i",\u012B:"i",\u012D:"i",\u012F:"i",\u0131:"i",\u0134:"J",\u0135:"j",\u0136:"K",\u0137:"k",\u0138:"k",\u0139:"L",\u013B:"L",\u013D:"L",\u013F:"L",\u0141:"L",\u013A:"l",\u013C:"l",\u013E:"l",\u0140:"l",\u0142:"l",\u0143:"N",\u0145:"N",\u0147:"N",\u014A:"N",\u0144:"n",\u0146:"n",\u0148:"n",\u014B:"n",\u014C:"O",\u014E:"O",\u0150:"O",\u014D:"o",\u014F:"o",\u0151:"o",\u0154:"R",\u0156:"R",\u0158:"R",\u0155:"r",\u0157:"r",\u0159:"r",\u015A:"S",\u015C:"S",\u015E:"S",\u0160:"S",\u015B:"s",\u015D:"s",\u015F:"s",\u0161:"s",\u0162:"T",\u0164:"T",\u0166:"T",\u0163:"t",\u0165:"t",\u0167:"t",\u0168:"U",\u016A:"U",\u016C:"U",\u016E:"U",\u0170:"U",\u0172:"U",\u0169:"u",\u016B:"u",\u016D:"u",\u016F:"u",\u0171:"u",\u0173:"u",\u0174:"W",\u0175:"w",\u0176:"Y",\u0177:"y",\u0178:"Y",\u0179:"Z",\u017B:"Z",\u017D:"Z",\u017A:"z",\u017C:"z",\u017E:"z",\u0132:"IJ",\u0133:"ij",\u0152:"Oe",\u0153:"oe",\u0149:"'n",\u017F:"s"},$g={"&":"&","<":"<",">":">",'"':""","'":"'"},Hg={"&":"&","<":"<",">":">",""":'"',"'":"'"},Vg={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},qg=parseFloat,zg=parseInt,Pc=typeof f=="object"&&f&&f.Object===Object&&f,Kg=typeof self=="object"&&self&&self.Object===Object&&self,ve=Pc||Kg||Function("return this")(),zi=typeof or=="object"&&or&&!or.nodeType&&or,cn=zi&&typeof Hr=="object"&&Hr&&!Hr.nodeType&&Hr,Dc=cn&&cn.exports===zi,Ki=Dc&&Pc.process,Je=function(){try{var y=cn&&cn.require&&cn.require("util").types;return y||Ki&&Ki.binding&&Ki.binding("util")}catch(A){}}(),Rc=Je&&Je.isArrayBuffer,Nc=Je&&Je.isDate,Oc=Je&&Je.isMap,Mc=Je&&Je.isRegExp,Fc=Je&&Je.isSet,Uc=Je&&Je.isTypedArray;function $e(y,A,w){switch(w.length){case 0:return y.call(A);case 1:return y.call(A,w[0]);case 2:return y.call(A,w[0],w[1]);case 3:return y.call(A,w[0],w[1],w[2])}return y.apply(A,w)}function Yg(y,A,w,P){for(var $=-1,j=y==null?0:y.length;++$<j;){var xe=y[$];A(P,xe,w(xe),y)}return P}function Qe(y,A){for(var w=-1,P=y==null?0:y.length;++w<P&&A(y[w],w,y)!==!1;);return y}function Zg(y,A){for(var w=y==null?0:y.length;w--&&A(y[w],w,y)!==!1;);return y}function Bc(y,A){for(var w=-1,P=y==null?0:y.length;++w<P;)if(!A(y[w],w,y))return!1;return!0}function zt(y,A){for(var w=-1,P=y==null?0:y.length,$=0,j=[];++w<P;){var xe=y[w];A(xe,w,y)&&(j[$++]=xe)}return j}function jr(y,A){var w=y==null?0:y.length;return!!w&&Dn(y,A,0)>-1}function Yi(y,A,w){for(var P=-1,$=y==null?0:y.length;++P<$;)if(w(A,y[P]))return!0;return!1}function ue(y,A){for(var w=-1,P=y==null?0:y.length,$=Array(P);++w<P;)$[w]=A(y[w],w,y);return $}function Kt(y,A){for(var w=-1,P=A.length,$=y.length;++w<P;)y[$+w]=A[w];return y}function Zi(y,A,w,P){var $=-1,j=y==null?0:y.length;for(P&&j&&(w=y[++$]);++$<j;)w=A(w,y[$],$,y);return w}function Xg(y,A,w,P){var $=y==null?0:y.length;for(P&&$&&(w=y[--$]);$--;)w=A(w,y[$],$,y);return w}function Xi(y,A){for(var w=-1,P=y==null?0:y.length;++w<P;)if(A(y[w],w,y))return!0;return!1}var Jg=Ji("length");function Qg(y){return y.split("")}function jg(y){return y.match(ag)||[]}function Wc(y,A,w){var P;return w(y,function($,j,xe){if(A($,j,xe))return P=j,!1}),P}function eo(y,A,w,P){for(var $=y.length,j=w+(P?1:-1);P?j--:++j<$;)if(A(y[j],j,y))return j;return-1}function Dn(y,A,w){return A===A?pm(y,A,w):eo(y,Gc,w)}function em(y,A,w,P){for(var $=w-1,j=y.length;++$<j;)if(P(y[$],A))return $;return-1}function Gc(y){return y!==y}function $c(y,A){var w=y==null?0:y.length;return w?ji(y,A)/w:qr}function Ji(y){return function(A){return A==null?n:A[y]}}function Qi(y){return function(A){return y==null?n:y[A]}}function Hc(y,A,w,P,$){return $(y,function(j,xe,oe){w=P?(P=!1,j):A(w,j,xe,oe)}),w}function tm(y,A){var w=y.length;for(y.sort(A);w--;)y[w]=y[w].value;return y}function ji(y,A){for(var w,P=-1,$=y.length;++P<$;){var j=A(y[P]);j!==n&&(w=w===n?j:w+j)}return w}function es(y,A){for(var w=-1,P=Array(y);++w<y;)P[w]=A(w);return P}function nm(y,A){return ue(A,function(w){return[w,y[w]]})}function Vc(y){return y&&y.slice(0,Yc(y)+1).replace(Wi,"")}function He(y){return function(A){return y(A)}}function ts(y,A){return ue(A,function(w){return y[w]})}function gr(y,A){return y.has(A)}function qc(y,A){for(var w=-1,P=y.length;++w<P&&Dn(A,y[w],0)>-1;);return w}function zc(y,A){for(var w=y.length;w--&&Dn(A,y[w],0)>-1;);return w}function rm(y,A){for(var w=y.length,P=0;w--;)y[w]===A&&++P;return P}var om=Qi(Gg),im=Qi($g);function sm(y){return"\\"+Vg[y]}function am(y,A){return y==null?n:y[A]}function Rn(y){return Fg.test(y)}function cm(y){return Ug.test(y)}function lm(y){for(var A,w=[];!(A=y.next()).done;)w.push(A.value);return w}function ns(y){var A=-1,w=Array(y.size);return y.forEach(function(P,$){w[++A]=[$,P]}),w}function Kc(y,A){return function(w){return y(A(w))}}function Yt(y,A){for(var w=-1,P=y.length,$=0,j=[];++w<P;){var xe=y[w];(xe===A||xe===E)&&(y[w]=E,j[$++]=w)}return j}function to(y){var A=-1,w=Array(y.size);return y.forEach(function(P){w[++A]=P}),w}function um(y){var A=-1,w=Array(y.size);return y.forEach(function(P){w[++A]=[P,P]}),w}function pm(y,A,w){for(var P=w-1,$=y.length;++P<$;)if(y[P]===A)return P;return-1}function fm(y,A,w){for(var P=w+1;P--;)if(y[P]===A)return P;return P}function Nn(y){return Rn(y)?gm(y):Jg(y)}function lt(y){return Rn(y)?mm(y):Qg(y)}function Yc(y){for(var A=y.length;A--&&rg.test(y.charAt(A)););return A}var dm=Qi(Hg);function gm(y){for(var A=qi.lastIndex=0;qi.test(y);)++A;return A}function mm(y){return y.match(qi)||[]}function Tm(y){return y.match(Mg)||[]}var hm=function y(A){A=A==null?ve:Zt.defaults(ve.Object(),A,Zt.pick(ve,Bg));var w=A.Array,P=A.Date,$=A.Error,j=A.Function,xe=A.Math,oe=A.Object,rs=A.RegExp,ym=A.String,je=A.TypeError,no=w.prototype,xm=j.prototype,On=oe.prototype,ro=A["__core-js_shared__"],oo=xm.toString,re=On.hasOwnProperty,Sm=0,Zc=function(){var e=/[^.]+$/.exec(ro&&ro.keys&&ro.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}(),io=On.toString,vm=oo.call(oe),wm=ve._,Am=rs("^"+oo.call(re).replace(Bi,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),so=Dc?A.Buffer:n,Xt=A.Symbol,ao=A.Uint8Array,Xc=so?so.allocUnsafe:n,co=Kc(oe.getPrototypeOf,oe),Jc=oe.create,Qc=On.propertyIsEnumerable,lo=no.splice,jc=Xt?Xt.isConcatSpreadable:n,mr=Xt?Xt.iterator:n,ln=Xt?Xt.toStringTag:n,uo=function(){try{var e=gn(oe,"defineProperty");return e({},"",{}),e}catch(t){}}(),Im=A.clearTimeout!==ve.clearTimeout&&A.clearTimeout,_m=P&&P.now!==ve.Date.now&&P.now,bm=A.setTimeout!==ve.setTimeout&&A.setTimeout,po=xe.ceil,fo=xe.floor,os=oe.getOwnPropertySymbols,Lm=so?so.isBuffer:n,el=A.isFinite,Em=no.join,Cm=Kc(oe.keys,oe),Se=xe.max,Ee=xe.min,km=P.now,Pm=A.parseInt,tl=xe.random,Dm=no.reverse,is=gn(A,"DataView"),Tr=gn(A,"Map"),ss=gn(A,"Promise"),Mn=gn(A,"Set"),hr=gn(A,"WeakMap"),yr=gn(oe,"create"),go=hr&&new hr,Fn={},Rm=mn(is),Nm=mn(Tr),Om=mn(ss),Mm=mn(Mn),Fm=mn(hr),mo=Xt?Xt.prototype:n,xr=mo?mo.valueOf:n,nl=mo?mo.toString:n;function u(e){if(de(e)&&!H(e)&&!(e instanceof X)){if(e instanceof et)return e;if(re.call(e,"__wrapped__"))return ru(e)}return new et(e)}var Un=function(){function e(){}return function(t){if(!fe(t))return{};if(Jc)return Jc(t);e.prototype=t;var r=new e;return e.prototype=n,r}}();function To(){}function et(e,t){this.__wrapped__=e,this.__actions__=[],this.__chain__=!!t,this.__index__=0,this.__values__=n}u.templateSettings={escape:Jd,evaluate:Qd,interpolate:pc,variable:"",imports:{_:u}},u.prototype=To.prototype,u.prototype.constructor=u,et.prototype=Un(To.prototype),et.prototype.constructor=et;function X(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=ht,this.__views__=[]}function Um(){var e=new X(this.__wrapped__);return e.__actions__=Oe(this.__actions__),e.__dir__=this.__dir__,e.__filtered__=this.__filtered__,e.__iteratees__=Oe(this.__iteratees__),e.__takeCount__=this.__takeCount__,e.__views__=Oe(this.__views__),e}function Bm(){if(this.__filtered__){var e=new X(this);e.__dir__=-1,e.__filtered__=!0}else e=this.clone(),e.__dir__*=-1;return e}function Wm(){var e=this.__wrapped__.value(),t=this.__dir__,r=H(e),a=t<0,c=r?e.length:0,p=QT(0,c,this.__views__),T=p.start,h=p.end,x=h-T,_=a?h:T-1,b=this.__iteratees__,L=b.length,C=0,R=Ee(x,this.__takeCount__);if(!r||!a&&c==x&&R==x)return bl(e,this.__actions__);var U=[];e:for(;x--&&C<R;){_+=t;for(var z=-1,B=e[_];++z<L;){var Z=b[z],J=Z.iteratee,ze=Z.type,Ne=J(B);if(ze==Nd)B=Ne;else if(!Ne){if(ze==sc)continue e;break e}}U[C++]=B}return U}X.prototype=Un(To.prototype),X.prototype.constructor=X;function un(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var a=e[t];this.set(a[0],a[1])}}function Gm(){this.__data__=yr?yr(null):{},this.size=0}function $m(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}function Hm(e){var t=this.__data__;if(yr){var r=t[e];return r===S?n:r}return re.call(t,e)?t[e]:n}function Vm(e){var t=this.__data__;return yr?t[e]!==n:re.call(t,e)}function qm(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=yr&&t===n?S:t,this}un.prototype.clear=Gm,un.prototype.delete=$m,un.prototype.get=Hm,un.prototype.has=Vm,un.prototype.set=qm;function Ct(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var a=e[t];this.set(a[0],a[1])}}function zm(){this.__data__=[],this.size=0}function Km(e){var t=this.__data__,r=ho(t,e);if(r<0)return!1;var a=t.length-1;return r==a?t.pop():lo.call(t,r,1),--this.size,!0}function Ym(e){var t=this.__data__,r=ho(t,e);return r<0?n:t[r][1]}function Zm(e){return ho(this.__data__,e)>-1}function Xm(e,t){var r=this.__data__,a=ho(r,e);return a<0?(++this.size,r.push([e,t])):r[a][1]=t,this}Ct.prototype.clear=zm,Ct.prototype.delete=Km,Ct.prototype.get=Ym,Ct.prototype.has=Zm,Ct.prototype.set=Xm;function kt(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var a=e[t];this.set(a[0],a[1])}}function Jm(){this.size=0,this.__data__={hash:new un,map:new(Tr||Ct),string:new un}}function Qm(e){var t=Co(this,e).delete(e);return this.size-=t?1:0,t}function jm(e){return Co(this,e).get(e)}function eT(e){return Co(this,e).has(e)}function tT(e,t){var r=Co(this,e),a=r.size;return r.set(e,t),this.size+=r.size==a?0:1,this}kt.prototype.clear=Jm,kt.prototype.delete=Qm,kt.prototype.get=jm,kt.prototype.has=eT,kt.prototype.set=tT;function pn(e){var t=-1,r=e==null?0:e.length;for(this.__data__=new kt;++t<r;)this.add(e[t])}function nT(e){return this.__data__.set(e,S),this}function rT(e){return this.__data__.has(e)}pn.prototype.add=pn.prototype.push=nT,pn.prototype.has=rT;function ut(e){var t=this.__data__=new Ct(e);this.size=t.size}function oT(){this.__data__=new Ct,this.size=0}function iT(e){var t=this.__data__,r=t.delete(e);return this.size=t.size,r}function sT(e){return this.__data__.get(e)}function aT(e){return this.__data__.has(e)}function cT(e,t){var r=this.__data__;if(r instanceof Ct){var a=r.__data__;if(!Tr||a.length<i-1)return a.push([e,t]),this.size=++r.size,this;r=this.__data__=new kt(a)}return r.set(e,t),this.size=r.size,this}ut.prototype.clear=oT,ut.prototype.delete=iT,ut.prototype.get=sT,ut.prototype.has=aT,ut.prototype.set=cT;function rl(e,t){var r=H(e),a=!r&&Tn(e),c=!r&&!a&&tn(e),p=!r&&!a&&!c&&$n(e),T=r||a||c||p,h=T?es(e.length,ym):[],x=h.length;for(var _ in e)(t||re.call(e,_))&&!(T&&(_=="length"||c&&(_=="offset"||_=="parent")||p&&(_=="buffer"||_=="byteLength"||_=="byteOffset")||Nt(_,x)))&&h.push(_);return h}function ol(e){var t=e.length;return t?e[hs(0,t-1)]:n}function lT(e,t){return ko(Oe(e),fn(t,0,e.length))}function uT(e){return ko(Oe(e))}function as(e,t,r){(r!==n&&!pt(e[t],r)||r===n&&!(t in e))&&Pt(e,t,r)}function Sr(e,t,r){var a=e[t];(!(re.call(e,t)&&pt(a,r))||r===n&&!(t in e))&&Pt(e,t,r)}function ho(e,t){for(var r=e.length;r--;)if(pt(e[r][0],t))return r;return-1}function pT(e,t,r,a){return Jt(e,function(c,p,T){t(a,c,r(c),T)}),a}function il(e,t){return e&&xt(t,we(t),e)}function fT(e,t){return e&&xt(t,Fe(t),e)}function Pt(e,t,r){t=="__proto__"&&uo?uo(e,t,{configurable:!0,enumerable:!0,value:r,writable:!0}):e[t]=r}function cs(e,t){for(var r=-1,a=t.length,c=w(a),p=e==null;++r<a;)c[r]=p?n:$s(e,t[r]);return c}function fn(e,t,r){return e===e&&(r!==n&&(e=e<=r?e:r),t!==n&&(e=e>=t?e:t)),e}function tt(e,t,r,a,c,p){var T,h=t&N,x=t&G,_=t&M;if(r&&(T=c?r(e,a,c,p):r(e)),T!==n)return T;if(!fe(e))return e;var b=H(e);if(b){if(T=eh(e),!h)return Oe(e,T)}else{var L=Ce(e),C=L==Yr||L==ac;if(tn(e))return Cl(e,h);if(L==Et||L==Cn||C&&!c){if(T=x||C?{}:Yl(e),!h)return x?HT(e,fT(T,e)):$T(e,il(T,e))}else{if(!ie[L])return c?e:{};T=th(e,L,h)}}p||(p=new ut);var R=p.get(e);if(R)return R;p.set(e,T),Au(e)?e.forEach(function(B){T.add(tt(B,t,r,B,e,p))}):vu(e)&&e.forEach(function(B,Z){T.set(Z,tt(B,t,r,Z,e,p))});var U=_?x?Es:Ls:x?Fe:we,z=b?n:U(e);return Qe(z||e,function(B,Z){z&&(Z=B,B=e[Z]),Sr(T,Z,tt(B,t,r,Z,e,p))}),T}function dT(e){var t=we(e);return function(r){return sl(r,e,t)}}function sl(e,t,r){var a=r.length;if(e==null)return!a;for(e=oe(e);a--;){var c=r[a],p=t[c],T=e[c];if(T===n&&!(c in e)||!p(T))return!1}return!0}function al(e,t,r){if(typeof e!="function")throw new je(m);return Lr(function(){e.apply(n,r)},t)}function vr(e,t,r,a){var c=-1,p=jr,T=!0,h=e.length,x=[],_=t.length;if(!h)return x;r&&(t=ue(t,He(r))),a?(p=Yi,T=!1):t.length>=i&&(p=gr,T=!1,t=new pn(t));e:for(;++c<h;){var b=e[c],L=r==null?b:r(b);if(b=a||b!==0?b:0,T&&L===L){for(var C=_;C--;)if(t[C]===L)continue e;x.push(b)}else p(t,L,a)||x.push(b)}return x}var Jt=Nl(yt),cl=Nl(us,!0);function gT(e,t){var r=!0;return Jt(e,function(a,c,p){return r=!!t(a,c,p),r}),r}function yo(e,t,r){for(var a=-1,c=e.length;++a<c;){var p=e[a],T=t(p);if(T!=null&&(h===n?T===T&&!qe(T):r(T,h)))var h=T,x=p}return x}function mT(e,t,r,a){var c=e.length;for(r=q(r),r<0&&(r=-r>c?0:c+r),a=a===n||a>c?c:q(a),a<0&&(a+=c),a=r>a?0:_u(a);r<a;)e[r++]=t;return e}function ll(e,t){var r=[];return Jt(e,function(a,c,p){t(a,c,p)&&r.push(a)}),r}function be(e,t,r,a,c){var p=-1,T=e.length;for(r||(r=rh),c||(c=[]);++p<T;){var h=e[p];t>0&&r(h)?t>1?be(h,t-1,r,a,c):Kt(c,h):a||(c[c.length]=h)}return c}var ls=Ol(),ul=Ol(!0);function yt(e,t){return e&&ls(e,t,we)}function us(e,t){return e&&ul(e,t,we)}function xo(e,t){return zt(t,function(r){return Ot(e[r])})}function dn(e,t){t=jt(t,e);for(var r=0,a=t.length;e!=null&&r<a;)e=e[St(t[r++])];return r&&r==a?e:n}function pl(e,t,r){var a=t(e);return H(e)?a:Kt(a,r(e))}function De(e){return e==null?e===n?Vd:$d:ln&&ln in oe(e)?JT(e):uh(e)}function ps(e,t){return e>t}function TT(e,t){return e!=null&&re.call(e,t)}function hT(e,t){return e!=null&&t in oe(e)}function yT(e,t,r){return e>=Ee(t,r)&&e<Se(t,r)}function fs(e,t,r){for(var a=r?Yi:jr,c=e[0].length,p=e.length,T=p,h=w(p),x=1/0,_=[];T--;){var b=e[T];T&&t&&(b=ue(b,He(t))),x=Ee(b.length,x),h[T]=!r&&(t||c>=120&&b.length>=120)?new pn(T&&b):n}b=e[0];var L=-1,C=h[0];e:for(;++L<c&&_.length<x;){var R=b[L],U=t?t(R):R;if(R=r||R!==0?R:0,!(C?gr(C,U):a(_,U,r))){for(T=p;--T;){var z=h[T];if(!(z?gr(z,U):a(e[T],U,r)))continue e}C&&C.push(U),_.push(R)}}return _}function xT(e,t,r,a){return yt(e,function(c,p,T){t(a,r(c),p,T)}),a}function wr(e,t,r){t=jt(t,e),e=Ql(e,t);var a=e==null?e:e[St(rt(t))];return a==null?n:$e(a,e,r)}function fl(e){return de(e)&&De(e)==Cn}function ST(e){return de(e)&&De(e)==dr}function vT(e){return de(e)&&De(e)==cr}function Ar(e,t,r,a,c){return e===t?!0:e==null||t==null||!de(e)&&!de(t)?e!==e&&t!==t:wT(e,t,r,a,Ar,c)}function wT(e,t,r,a,c,p){var T=H(e),h=H(t),x=T?zr:Ce(e),_=h?zr:Ce(t);x=x==Cn?Et:x,_=_==Cn?Et:_;var b=x==Et,L=_==Et,C=x==_;if(C&&tn(e)){if(!tn(t))return!1;T=!0,b=!1}if(C&&!b)return p||(p=new ut),T||$n(e)?ql(e,t,r,a,c,p):ZT(e,t,x,r,a,c,p);if(!(r&ce)){var R=b&&re.call(e,"__wrapped__"),U=L&&re.call(t,"__wrapped__");if(R||U){var z=R?e.value():e,B=U?t.value():t;return p||(p=new ut),c(z,B,r,a,p)}}return C?(p||(p=new ut),XT(e,t,r,a,c,p)):!1}function AT(e){return de(e)&&Ce(e)==at}function ds(e,t,r,a){var c=r.length,p=c,T=!a;if(e==null)return!p;for(e=oe(e);c--;){var h=r[c];if(T&&h[2]?h[1]!==e[h[0]]:!(h[0]in e))return!1}for(;++c<p;){h=r[c];var x=h[0],_=e[x],b=h[1];if(T&&h[2]){if(_===n&&!(x in e))return!1}else{var L=new ut;if(a)var C=a(_,b,x,e,t,L);if(!(C===n?Ar(b,_,ce|pe,a,L):C))return!1}}return!0}function dl(e){if(!fe(e)||ih(e))return!1;var t=Ot(e)?Am:dg;return t.test(mn(e))}function IT(e){return de(e)&&De(e)==ur}function _T(e){return de(e)&&Ce(e)==ct}function bT(e){return de(e)&&Mo(e.length)&&!!le[De(e)]}function gl(e){return typeof e=="function"?e:e==null?Ue:typeof e=="object"?H(e)?hl(e[0],e[1]):Tl(e):Mu(e)}function gs(e){if(!br(e))return Cm(e);var t=[];for(var r in oe(e))re.call(e,r)&&r!="constructor"&&t.push(r);return t}function LT(e){if(!fe(e))return lh(e);var t=br(e),r=[];for(var a in e)a=="constructor"&&(t||!re.call(e,a))||r.push(a);return r}function ms(e,t){return e<t}function ml(e,t){var r=-1,a=Me(e)?w(e.length):[];return Jt(e,function(c,p,T){a[++r]=t(c,p,T)}),a}function Tl(e){var t=ks(e);return t.length==1&&t[0][2]?Xl(t[0][0],t[0][1]):function(r){return r===e||ds(r,e,t)}}function hl(e,t){return Ds(e)&&Zl(t)?Xl(St(e),t):function(r){var a=$s(r,e);return a===n&&a===t?Hs(r,e):Ar(t,a,ce|pe)}}function So(e,t,r,a,c){e!==t&&ls(t,function(p,T){if(c||(c=new ut),fe(p))ET(e,t,T,r,So,a,c);else{var h=a?a(Ns(e,T),p,T+"",e,t,c):n;h===n&&(h=p),as(e,T,h)}},Fe)}function ET(e,t,r,a,c,p,T){var h=Ns(e,r),x=Ns(t,r),_=T.get(x);if(_){as(e,r,_);return}var b=p?p(h,x,r+"",e,t,T):n,L=b===n;if(L){var C=H(x),R=!C&&tn(x),U=!C&&!R&&$n(x);b=x,C||R||U?H(h)?b=h:Te(h)?b=Oe(h):R?(L=!1,b=Cl(x,!0)):U?(L=!1,b=kl(x,!0)):b=[]:Er(x)||Tn(x)?(b=h,Tn(h)?b=bu(h):(!fe(h)||Ot(h))&&(b=Yl(x))):L=!1}L&&(T.set(x,b),c(b,x,a,p,T),T.delete(x)),as(e,r,b)}function yl(e,t){var r=e.length;if(!!r)return t+=t<0?r:0,Nt(t,r)?e[t]:n}function xl(e,t,r){t.length?t=ue(t,function(p){return H(p)?function(T){return dn(T,p.length===1?p[0]:p)}:p}):t=[Ue];var a=-1;t=ue(t,He(F()));var c=ml(e,function(p,T,h){var x=ue(t,function(_){return _(p)});return{criteria:x,index:++a,value:p}});return tm(c,function(p,T){return GT(p,T,r)})}function CT(e,t){return Sl(e,t,function(r,a){return Hs(e,a)})}function Sl(e,t,r){for(var a=-1,c=t.length,p={};++a<c;){var T=t[a],h=dn(e,T);r(h,T)&&Ir(p,jt(T,e),h)}return p}function kT(e){return function(t){return dn(t,e)}}function Ts(e,t,r,a){var c=a?em:Dn,p=-1,T=t.length,h=e;for(e===t&&(t=Oe(t)),r&&(h=ue(e,He(r)));++p<T;)for(var x=0,_=t[p],b=r?r(_):_;(x=c(h,b,x,a))>-1;)h!==e&&lo.call(h,x,1),lo.call(e,x,1);return e}function vl(e,t){for(var r=e?t.length:0,a=r-1;r--;){var c=t[r];if(r==a||c!==p){var p=c;Nt(c)?lo.call(e,c,1):Ss(e,c)}}return e}function hs(e,t){return e+fo(tl()*(t-e+1))}function PT(e,t,r,a){for(var c=-1,p=Se(po((t-e)/(r||1)),0),T=w(p);p--;)T[a?p:++c]=e,e+=r;return T}function ys(e,t){var r="";if(!e||t<1||t>qt)return r;do t%2&&(r+=e),t=fo(t/2),t&&(e+=e);while(t);return r}function Y(e,t){return Os(Jl(e,t,Ue),e+"")}function DT(e){return ol(Hn(e))}function RT(e,t){var r=Hn(e);return ko(r,fn(t,0,r.length))}function Ir(e,t,r,a){if(!fe(e))return e;t=jt(t,e);for(var c=-1,p=t.length,T=p-1,h=e;h!=null&&++c<p;){var x=St(t[c]),_=r;if(x==="__proto__"||x==="constructor"||x==="prototype")return e;if(c!=T){var b=h[x];_=a?a(b,x,h):n,_===n&&(_=fe(b)?b:Nt(t[c+1])?[]:{})}Sr(h,x,_),h=h[x]}return e}var wl=go?function(e,t){return go.set(e,t),e}:Ue,NT=uo?function(e,t){return uo(e,"toString",{configurable:!0,enumerable:!1,value:qs(t),writable:!0})}:Ue;function OT(e){return ko(Hn(e))}function nt(e,t,r){var a=-1,c=e.length;t<0&&(t=-t>c?0:c+t),r=r>c?c:r,r<0&&(r+=c),c=t>r?0:r-t>>>0,t>>>=0;for(var p=w(c);++a<c;)p[a]=e[a+t];return p}function MT(e,t){var r;return Jt(e,function(a,c,p){return r=t(a,c,p),!r}),!!r}function vo(e,t,r){var a=0,c=e==null?a:e.length;if(typeof t=="number"&&t===t&&c<=Ud){for(;a<c;){var p=a+c>>>1,T=e[p];T!==null&&!qe(T)&&(r?T<=t:T<t)?a=p+1:c=p}return c}return xs(e,t,Ue,r)}function xs(e,t,r,a){var c=0,p=e==null?0:e.length;if(p===0)return 0;t=r(t);for(var T=t!==t,h=t===null,x=qe(t),_=t===n;c<p;){var b=fo((c+p)/2),L=r(e[b]),C=L!==n,R=L===null,U=L===L,z=qe(L);if(T)var B=a||U;else _?B=U&&(a||C):h?B=U&&C&&(a||!R):x?B=U&&C&&!R&&(a||!z):R||z?B=!1:B=a?L<=t:L<t;B?c=b+1:p=b}return Ee(p,Fd)}function Al(e,t){for(var r=-1,a=e.length,c=0,p=[];++r<a;){var T=e[r],h=t?t(T):T;if(!r||!pt(h,x)){var x=h;p[c++]=T===0?0:T}}return p}function Il(e){return typeof e=="number"?e:qe(e)?qr:+e}function Ve(e){if(typeof e=="string")return e;if(H(e))return ue(e,Ve)+"";if(qe(e))return nl?nl.call(e):"";var t=e+"";return t=="0"&&1/e==-an?"-0":t}function Qt(e,t,r){var a=-1,c=jr,p=e.length,T=!0,h=[],x=h;if(r)T=!1,c=Yi;else if(p>=i){var _=t?null:KT(e);if(_)return to(_);T=!1,c=gr,x=new pn}else x=t?[]:h;e:for(;++a<p;){var b=e[a],L=t?t(b):b;if(b=r||b!==0?b:0,T&&L===L){for(var C=x.length;C--;)if(x[C]===L)continue e;t&&x.push(L),h.push(b)}else c(x,L,r)||(x!==h&&x.push(L),h.push(b))}return h}function Ss(e,t){return t=jt(t,e),e=Ql(e,t),e==null||delete e[St(rt(t))]}function _l(e,t,r,a){return Ir(e,t,r(dn(e,t)),a)}function wo(e,t,r,a){for(var c=e.length,p=a?c:-1;(a?p--:++p<c)&&t(e[p],p,e););return r?nt(e,a?0:p,a?p+1:c):nt(e,a?p+1:0,a?c:p)}function bl(e,t){var r=e;return r instanceof X&&(r=r.value()),Zi(t,function(a,c){return c.func.apply(c.thisArg,Kt([a],c.args))},r)}function vs(e,t,r){var a=e.length;if(a<2)return a?Qt(e[0]):[];for(var c=-1,p=w(a);++c<a;)for(var T=e[c],h=-1;++h<a;)h!=c&&(p[c]=vr(p[c]||T,e[h],t,r));return Qt(be(p,1),t,r)}function Ll(e,t,r){for(var a=-1,c=e.length,p=t.length,T={};++a<c;){var h=a<p?t[a]:n;r(T,e[a],h)}return T}function ws(e){return Te(e)?e:[]}function As(e){return typeof e=="function"?e:Ue}function jt(e,t){return H(e)?e:Ds(e,t)?[e]:nu(te(e))}var FT=Y;function en(e,t,r){var a=e.length;return r=r===n?a:r,!t&&r>=a?e:nt(e,t,r)}var El=Im||function(e){return ve.clearTimeout(e)};function Cl(e,t){if(t)return e.slice();var r=e.length,a=Xc?Xc(r):new e.constructor(r);return e.copy(a),a}function Is(e){var t=new e.constructor(e.byteLength);return new ao(t).set(new ao(e)),t}function UT(e,t){var r=t?Is(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.byteLength)}function BT(e){var t=new e.constructor(e.source,fc.exec(e));return t.lastIndex=e.lastIndex,t}function WT(e){return xr?oe(xr.call(e)):{}}function kl(e,t){var r=t?Is(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.length)}function Pl(e,t){if(e!==t){var r=e!==n,a=e===null,c=e===e,p=qe(e),T=t!==n,h=t===null,x=t===t,_=qe(t);if(!h&&!_&&!p&&e>t||p&&T&&x&&!h&&!_||a&&T&&x||!r&&x||!c)return 1;if(!a&&!p&&!_&&e<t||_&&r&&c&&!a&&!p||h&&r&&c||!T&&c||!x)return-1}return 0}function GT(e,t,r){for(var a=-1,c=e.criteria,p=t.criteria,T=c.length,h=r.length;++a<T;){var x=Pl(c[a],p[a]);if(x){if(a>=h)return x;var _=r[a];return x*(_=="desc"?-1:1)}}return e.index-t.index}function Dl(e,t,r,a){for(var c=-1,p=e.length,T=r.length,h=-1,x=t.length,_=Se(p-T,0),b=w(x+_),L=!a;++h<x;)b[h]=t[h];for(;++c<T;)(L||c<p)&&(b[r[c]]=e[c]);for(;_--;)b[h++]=e[c++];return b}function Rl(e,t,r,a){for(var c=-1,p=e.length,T=-1,h=r.length,x=-1,_=t.length,b=Se(p-h,0),L=w(b+_),C=!a;++c<b;)L[c]=e[c];for(var R=c;++x<_;)L[R+x]=t[x];for(;++T<h;)(C||c<p)&&(L[R+r[T]]=e[c++]);return L}function Oe(e,t){var r=-1,a=e.length;for(t||(t=w(a));++r<a;)t[r]=e[r];return t}function xt(e,t,r,a){var c=!r;r||(r={});for(var p=-1,T=t.length;++p<T;){var h=t[p],x=a?a(r[h],e[h],h,r,e):n;x===n&&(x=e[h]),c?Pt(r,h,x):Sr(r,h,x)}return r}function $T(e,t){return xt(e,Ps(e),t)}function HT(e,t){return xt(e,zl(e),t)}function Ao(e,t){return function(r,a){var c=H(r)?Yg:pT,p=t?t():{};return c(r,e,F(a,2),p)}}function Bn(e){return Y(function(t,r){var a=-1,c=r.length,p=c>1?r[c-1]:n,T=c>2?r[2]:n;for(p=e.length>3&&typeof p=="function"?(c--,p):n,T&&Re(r[0],r[1],T)&&(p=c<3?n:p,c=1),t=oe(t);++a<c;){var h=r[a];h&&e(t,h,a,p)}return t})}function Nl(e,t){return function(r,a){if(r==null)return r;if(!Me(r))return e(r,a);for(var c=r.length,p=t?c:-1,T=oe(r);(t?p--:++p<c)&&a(T[p],p,T)!==!1;);return r}}function Ol(e){return function(t,r,a){for(var c=-1,p=oe(t),T=a(t),h=T.length;h--;){var x=T[e?h:++c];if(r(p[x],x,p)===!1)break}return t}}function VT(e,t,r){var a=t&me,c=_r(e);function p(){var T=this&&this!==ve&&this instanceof p?c:e;return T.apply(a?r:this,arguments)}return p}function Ml(e){return function(t){t=te(t);var r=Rn(t)?lt(t):n,a=r?r[0]:t.charAt(0),c=r?en(r,1).join(""):t.slice(1);return a[e]()+c}}function Wn(e){return function(t){return Zi(Nu(Ru(t).replace(Ng,"")),e,"")}}function _r(e){return function(){var t=arguments;switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3]);case 5:return new e(t[0],t[1],t[2],t[3],t[4]);case 6:return new e(t[0],t[1],t[2],t[3],t[4],t[5]);case 7:return new e(t[0],t[1],t[2],t[3],t[4],t[5],t[6])}var r=Un(e.prototype),a=e.apply(r,t);return fe(a)?a:r}}function qT(e,t,r){var a=_r(e);function c(){for(var p=arguments.length,T=w(p),h=p,x=Gn(c);h--;)T[h]=arguments[h];var _=p<3&&T[0]!==x&&T[p-1]!==x?[]:Yt(T,x);if(p-=_.length,p<r)return Gl(e,t,Io,c.placeholder,n,T,_,n,n,r-p);var b=this&&this!==ve&&this instanceof c?a:e;return $e(b,this,T)}return c}function Fl(e){return function(t,r,a){var c=oe(t);if(!Me(t)){var p=F(r,3);t=we(t),r=function(h){return p(c[h],h,c)}}var T=e(t,r,a);return T>-1?c[p?t[T]:T]:n}}function Ul(e){return Rt(function(t){var r=t.length,a=r,c=et.prototype.thru;for(e&&t.reverse();a--;){var p=t[a];if(typeof p!="function")throw new je(m);if(c&&!T&&Eo(p)=="wrapper")var T=new et([],!0)}for(a=T?a:r;++a<r;){p=t[a];var h=Eo(p),x=h=="wrapper"?Cs(p):n;x&&Rs(x[0])&&x[1]==(Lt|mt|Tt|sr)&&!x[4].length&&x[9]==1?T=T[Eo(x[0])].apply(T,x[3]):T=p.length==1&&Rs(p)?T[h]():T.thru(p)}return function(){var _=arguments,b=_[0];if(T&&_.length==1&&H(b))return T.plant(b).value();for(var L=0,C=r?t[L].apply(this,_):b;++L<r;)C=t[L].call(this,C);return C}})}function Io(e,t,r,a,c,p,T,h,x,_){var b=t&Lt,L=t&me,C=t&_e,R=t&(mt|Ln),U=t&Ci,z=C?n:_r(e);function B(){for(var Z=arguments.length,J=w(Z),ze=Z;ze--;)J[ze]=arguments[ze];if(R)var Ne=Gn(B),Ke=rm(J,Ne);if(a&&(J=Dl(J,a,c,R)),p&&(J=Rl(J,p,T,R)),Z-=Ke,R&&Z<_){var he=Yt(J,Ne);return Gl(e,t,Io,B.placeholder,r,J,he,h,x,_-Z)}var ft=L?r:this,Ft=C?ft[e]:e;return Z=J.length,h?J=ph(J,h):U&&Z>1&&J.reverse(),b&&x<Z&&(J.length=x),this&&this!==ve&&this instanceof B&&(Ft=z||_r(Ft)),Ft.apply(ft,J)}return B}function Bl(e,t){return function(r,a){return xT(r,e,t(a),{})}}function _o(e,t){return function(r,a){var c;if(r===n&&a===n)return t;if(r!==n&&(c=r),a!==n){if(c===n)return a;typeof r=="string"||typeof a=="string"?(r=Ve(r),a=Ve(a)):(r=Il(r),a=Il(a)),c=e(r,a)}return c}}function _s(e){return Rt(function(t){return t=ue(t,He(F())),Y(function(r){var a=this;return e(t,function(c){return $e(c,a,r)})})})}function bo(e,t){t=t===n?" ":Ve(t);var r=t.length;if(r<2)return r?ys(t,e):t;var a=ys(t,po(e/Nn(t)));return Rn(t)?en(lt(a),0,e).join(""):a.slice(0,e)}function zT(e,t,r,a){var c=t&me,p=_r(e);function T(){for(var h=-1,x=arguments.length,_=-1,b=a.length,L=w(b+x),C=this&&this!==ve&&this instanceof T?p:e;++_<b;)L[_]=a[_];for(;x--;)L[_++]=arguments[++h];return $e(C,c?r:this,L)}return T}function Wl(e){return function(t,r,a){return a&&typeof a!="number"&&Re(t,r,a)&&(r=a=n),t=Mt(t),r===n?(r=t,t=0):r=Mt(r),a=a===n?t<r?1:-1:Mt(a),PT(t,r,a,e)}}function Lo(e){return function(t,r){return typeof t=="string"&&typeof r=="string"||(t=ot(t),r=ot(r)),e(t,r)}}function Gl(e,t,r,a,c,p,T,h,x,_){var b=t&mt,L=b?T:n,C=b?n:T,R=b?p:n,U=b?n:p;t|=b?Tt:En,t&=~(b?En:Tt),t&ic||(t&=~(me|_e));var z=[e,t,c,R,L,U,C,h,x,_],B=r.apply(n,z);return Rs(e)&&jl(B,z),B.placeholder=a,eu(B,e,t)}function bs(e){var t=xe[e];return function(r,a){if(r=ot(r),a=a==null?0:Ee(q(a),292),a&&el(r)){var c=(te(r)+"e").split("e"),p=t(c[0]+"e"+(+c[1]+a));return c=(te(p)+"e").split("e"),+(c[0]+"e"+(+c[1]-a))}return t(r)}}var KT=Mn&&1/to(new Mn([,-0]))[1]==an?function(e){return new Mn(e)}:Ys;function $l(e){return function(t){var r=Ce(t);return r==at?ns(t):r==ct?um(t):nm(t,e(t))}}function Dt(e,t,r,a,c,p,T,h){var x=t&_e;if(!x&&typeof e!="function")throw new je(m);var _=a?a.length:0;if(_||(t&=~(Tt|En),a=c=n),T=T===n?T:Se(q(T),0),h=h===n?h:q(h),_-=c?c.length:0,t&En){var b=a,L=c;a=c=n}var C=x?n:Cs(e),R=[e,t,r,a,c,b,L,p,T,h];if(C&&ch(R,C),e=R[0],t=R[1],r=R[2],a=R[3],c=R[4],h=R[9]=R[9]===n?x?0:e.length:Se(R[9]-_,0),!h&&t&(mt|Ln)&&(t&=~(mt|Ln)),!t||t==me)var U=VT(e,t,r);else t==mt||t==Ln?U=qT(e,t,h):(t==Tt||t==(me|Tt))&&!c.length?U=zT(e,t,r,a):U=Io.apply(n,R);var z=C?wl:jl;return eu(z(U,R),e,t)}function Hl(e,t,r,a){return e===n||pt(e,On[r])&&!re.call(a,r)?t:e}function Vl(e,t,r,a,c,p){return fe(e)&&fe(t)&&(p.set(t,e),So(e,t,n,Vl,p),p.delete(t)),e}function YT(e){return Er(e)?n:e}function ql(e,t,r,a,c,p){var T=r&ce,h=e.length,x=t.length;if(h!=x&&!(T&&x>h))return!1;var _=p.get(e),b=p.get(t);if(_&&b)return _==t&&b==e;var L=-1,C=!0,R=r&pe?new pn:n;for(p.set(e,t),p.set(t,e);++L<h;){var U=e[L],z=t[L];if(a)var B=T?a(z,U,L,t,e,p):a(U,z,L,e,t,p);if(B!==n){if(B)continue;C=!1;break}if(R){if(!Xi(t,function(Z,J){if(!gr(R,J)&&(U===Z||c(U,Z,r,a,p)))return R.push(J)})){C=!1;break}}else if(!(U===z||c(U,z,r,a,p))){C=!1;break}}return p.delete(e),p.delete(t),C}function ZT(e,t,r,a,c,p,T){switch(r){case kn:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case dr:return!(e.byteLength!=t.byteLength||!p(new ao(e),new ao(t)));case ar:case cr:case lr:return pt(+e,+t);case Kr:return e.name==t.name&&e.message==t.message;case ur:case pr:return e==t+"";case at:var h=ns;case ct:var x=a&ce;if(h||(h=to),e.size!=t.size&&!x)return!1;var _=T.get(e);if(_)return _==t;a|=pe,T.set(e,t);var b=ql(h(e),h(t),a,c,p,T);return T.delete(e),b;case Zr:if(xr)return xr.call(e)==xr.call(t)}return!1}function XT(e,t,r,a,c,p){var T=r&ce,h=Ls(e),x=h.length,_=Ls(t),b=_.length;if(x!=b&&!T)return!1;for(var L=x;L--;){var C=h[L];if(!(T?C in t:re.call(t,C)))return!1}var R=p.get(e),U=p.get(t);if(R&&U)return R==t&&U==e;var z=!0;p.set(e,t),p.set(t,e);for(var B=T;++L<x;){C=h[L];var Z=e[C],J=t[C];if(a)var ze=T?a(J,Z,C,t,e,p):a(Z,J,C,e,t,p);if(!(ze===n?Z===J||c(Z,J,r,a,p):ze)){z=!1;break}B||(B=C=="constructor")}if(z&&!B){var Ne=e.constructor,Ke=t.constructor;Ne!=Ke&&"constructor"in e&&"constructor"in t&&!(typeof Ne=="function"&&Ne instanceof Ne&&typeof Ke=="function"&&Ke instanceof Ke)&&(z=!1)}return p.delete(e),p.delete(t),z}function Rt(e){return Os(Jl(e,n,su),e+"")}function Ls(e){return pl(e,we,Ps)}function Es(e){return pl(e,Fe,zl)}var Cs=go?function(e){return go.get(e)}:Ys;function Eo(e){for(var t=e.name+"",r=Fn[t],a=re.call(Fn,t)?r.length:0;a--;){var c=r[a],p=c.func;if(p==null||p==e)return c.name}return t}function Gn(e){var t=re.call(u,"placeholder")?u:e;return t.placeholder}function F(){var e=u.iteratee||zs;return e=e===zs?gl:e,arguments.length?e(arguments[0],arguments[1]):e}function Co(e,t){var r=e.__data__;return oh(t)?r[typeof t=="string"?"string":"hash"]:r.map}function ks(e){for(var t=we(e),r=t.length;r--;){var a=t[r],c=e[a];t[r]=[a,c,Zl(c)]}return t}function gn(e,t){var r=am(e,t);return dl(r)?r:n}function JT(e){var t=re.call(e,ln),r=e[ln];try{e[ln]=n;var a=!0}catch(p){}var c=io.call(e);return a&&(t?e[ln]=r:delete e[ln]),c}var Ps=os?function(e){return e==null?[]:(e=oe(e),zt(os(e),function(t){return Qc.call(e,t)}))}:Zs,zl=os?function(e){for(var t=[];e;)Kt(t,Ps(e)),e=co(e);return t}:Zs,Ce=De;(is&&Ce(new is(new ArrayBuffer(1)))!=kn||Tr&&Ce(new Tr)!=at||ss&&Ce(ss.resolve())!=cc||Mn&&Ce(new Mn)!=ct||hr&&Ce(new hr)!=fr)&&(Ce=function(e){var t=De(e),r=t==Et?e.constructor:n,a=r?mn(r):"";if(a)switch(a){case Rm:return kn;case Nm:return at;case Om:return cc;case Mm:return ct;case Fm:return fr}return t});function QT(e,t,r){for(var a=-1,c=r.length;++a<c;){var p=r[a],T=p.size;switch(p.type){case"drop":e+=T;break;case"dropRight":t-=T;break;case"take":t=Ee(t,e+T);break;case"takeRight":e=Se(e,t-T);break}}return{start:e,end:t}}function jT(e){var t=e.match(ig);return t?t[1].split(sg):[]}function Kl(e,t,r){t=jt(t,e);for(var a=-1,c=t.length,p=!1;++a<c;){var T=St(t[a]);if(!(p=e!=null&&r(e,T)))break;e=e[T]}return p||++a!=c?p:(c=e==null?0:e.length,!!c&&Mo(c)&&Nt(T,c)&&(H(e)||Tn(e)))}function eh(e){var t=e.length,r=new e.constructor(t);return t&&typeof e[0]=="string"&&re.call(e,"index")&&(r.index=e.index,r.input=e.input),r}function Yl(e){return typeof e.constructor=="function"&&!br(e)?Un(co(e)):{}}function th(e,t,r){var a=e.constructor;switch(t){case dr:return Is(e);case ar:case cr:return new a(+e);case kn:return UT(e,r);case ki:case Pi:case Di:case Ri:case Ni:case Oi:case Mi:case Fi:case Ui:return kl(e,r);case at:return new a;case lr:case pr:return new a(e);case ur:return BT(e);case ct:return new a;case Zr:return WT(e)}}function nh(e,t){var r=t.length;if(!r)return e;var a=r-1;return t[a]=(r>1?"& ":"")+t[a],t=t.join(r>2?", ":" "),e.replace(og,`{
|
|
1
|
+
"use strict";var Lv=Object.create;var Cr=Object.defineProperty,Ev=Object.defineProperties,Cv=Object.getOwnPropertyDescriptor,kv=Object.getOwnPropertyDescriptors,Pv=Object.getOwnPropertyNames,Bo=Object.getOwnPropertySymbols,Dv=Object.getPrototypeOf,Js=Object.prototype.hasOwnProperty,Bu=Object.prototype.propertyIsEnumerable;var Uu=(n,o,i)=>o in n?Cr(n,o,{enumerable:!0,configurable:!0,writable:!0,value:i}):n[o]=i,O=(n,o)=>{for(var i in o||(o={}))Js.call(o,i)&&Uu(n,i,o[i]);if(Bo)for(var i of Bo(o))Bu.call(o,i)&&Uu(n,i,o[i]);return n},Q=(n,o)=>Ev(n,kv(o));var Wo=(n,o)=>{var i={};for(var l in n)Js.call(n,l)&&o.indexOf(l)<0&&(i[l]=n[l]);if(n!=null&&Bo)for(var l of Bo(n))o.indexOf(l)<0&&Bu.call(n,l)&&(i[l]=n[l]);return i};var W=(n,o)=>()=>(n&&(o=n(n=0)),o);var kr=(n,o)=>()=>(o||n((o={exports:{}}).exports,o),o.exports),hn=(n,o)=>{for(var i in o)Cr(n,i,{get:o[i],enumerable:!0})},Wu=(n,o,i,l)=>{if(o&&typeof o=="object"||typeof o=="function")for(let m of Pv(o))!Js.call(n,m)&&m!==i&&Cr(n,m,{get:()=>o[m],enumerable:!(l=Cv(o,m))||l.enumerable});return n};var V=(n,o,i)=>(i=n!=null?Lv(Dv(n)):{},Wu(o||!n||!n.__esModule?Cr(i,"default",{value:n,enumerable:!0}):i,n)),Pr=n=>Wu(Cr({},"__esModule",{value:!0}),n);var K=(n,o,i)=>new Promise((l,m)=>{var v=E=>{try{k(i.next(E))}catch(N){m(N)}},S=E=>{try{k(i.throw(E))}catch(N){m(N)}},k=E=>E.done?l(E.value):Promise.resolve(E.value).then(v,S);k((i=i.apply(n,o)).next())});var Hu=kr(Go=>{"use strict";s();Go.byteLength=Nv;Go.toByteArray=Mv;Go.fromByteArray=Bv;var vt=[],it=[],Rv=typeof Uint8Array!="undefined"?Uint8Array:Array,Qs="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(yn=0,Gu=Qs.length;yn<Gu;++yn)vt[yn]=Qs[yn],it[Qs.charCodeAt(yn)]=yn;var yn,Gu;it["-".charCodeAt(0)]=62;it["_".charCodeAt(0)]=63;function $u(n){var o=n.length;if(o%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var i=n.indexOf("=");i===-1&&(i=o);var l=i===o?0:4-i%4;return[i,l]}function Nv(n){var o=$u(n),i=o[0],l=o[1];return(i+l)*3/4-l}function Ov(n,o,i){return(o+i)*3/4-i}function Mv(n){var o,i=$u(n),l=i[0],m=i[1],v=new Rv(Ov(n,l,m)),S=0,k=m>0?l-4:l,E;for(E=0;E<k;E+=4)o=it[n.charCodeAt(E)]<<18|it[n.charCodeAt(E+1)]<<12|it[n.charCodeAt(E+2)]<<6|it[n.charCodeAt(E+3)],v[S++]=o>>16&255,v[S++]=o>>8&255,v[S++]=o&255;return m===2&&(o=it[n.charCodeAt(E)]<<2|it[n.charCodeAt(E+1)]>>4,v[S++]=o&255),m===1&&(o=it[n.charCodeAt(E)]<<10|it[n.charCodeAt(E+1)]<<4|it[n.charCodeAt(E+2)]>>2,v[S++]=o>>8&255,v[S++]=o&255),v}function Fv(n){return vt[n>>18&63]+vt[n>>12&63]+vt[n>>6&63]+vt[n&63]}function Uv(n,o,i){for(var l,m=[],v=o;v<i;v+=3)l=(n[v]<<16&16711680)+(n[v+1]<<8&65280)+(n[v+2]&255),m.push(Fv(l));return m.join("")}function Bv(n){for(var o,i=n.length,l=i%3,m=[],v=16383,S=0,k=i-l;S<k;S+=v)m.push(Uv(n,S,S+v>k?k:S+v));return l===1?(o=n[i-1],m.push(vt[o>>2]+vt[o<<4&63]+"==")):l===2&&(o=(n[i-2]<<8)+n[i-1],m.push(vt[o>>10]+vt[o>>4&63]+vt[o<<2&63]+"=")),m.join("")}});var Vu=kr(js=>{s();js.read=function(n,o,i,l,m){var v,S,k=m*8-l-1,E=(1<<k)-1,N=E>>1,G=-7,M=i?m-1:0,ce=i?-1:1,pe=n[o+M];for(M+=ce,v=pe&(1<<-G)-1,pe>>=-G,G+=k;G>0;v=v*256+n[o+M],M+=ce,G-=8);for(S=v&(1<<-G)-1,v>>=-G,G+=l;G>0;S=S*256+n[o+M],M+=ce,G-=8);if(v===0)v=1-N;else{if(v===E)return S?NaN:(pe?-1:1)*(1/0);S=S+Math.pow(2,l),v=v-N}return(pe?-1:1)*S*Math.pow(2,v-l)};js.write=function(n,o,i,l,m,v){var S,k,E,N=v*8-m-1,G=(1<<N)-1,M=G>>1,ce=m===23?Math.pow(2,-24)-Math.pow(2,-77):0,pe=l?0:v-1,me=l?1:-1,_e=o<0||o===0&&1/o<0?1:0;for(o=Math.abs(o),isNaN(o)||o===1/0?(k=isNaN(o)?1:0,S=G):(S=Math.floor(Math.log(o)/Math.LN2),o*(E=Math.pow(2,-S))<1&&(S--,E*=2),S+M>=1?o+=ce/E:o+=ce*Math.pow(2,1-M),o*E>=2&&(S++,E/=2),S+M>=G?(k=0,S=G):S+M>=1?(k=(o*E-1)*Math.pow(2,m),S=S+M):(k=o*Math.pow(2,M-1)*Math.pow(2,m),S=0));m>=8;n[i+pe]=k&255,pe+=me,k/=256,m-=8);for(S=S<<m|k,N+=m;N>0;n[i+pe]=S&255,pe+=me,S/=256,N-=8);n[i+pe-me]|=_e*128}});var rp=kr(qn=>{"use strict";s();var ea=Hu(),Vn=Vu(),qu=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;qn.Buffer=I;qn.SlowBuffer=qv;qn.INSPECT_MAX_BYTES=50;var $o=2147483647;qn.kMaxLength=$o;I.TYPED_ARRAY_SUPPORT=Wv();!I.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 Wv(){try{var n=new Uint8Array(1),o={foo:function(){return 42}};return Object.setPrototypeOf(o,Uint8Array.prototype),Object.setPrototypeOf(n,o),n.foo()===42}catch(i){return!1}}Object.defineProperty(I.prototype,"parent",{enumerable:!0,get:function(){if(!!I.isBuffer(this))return this.buffer}});Object.defineProperty(I.prototype,"offset",{enumerable:!0,get:function(){if(!!I.isBuffer(this))return this.byteOffset}});function Ut(n){if(n>$o)throw new RangeError('The value "'+n+'" is invalid for option "size"');var o=new Uint8Array(n);return Object.setPrototypeOf(o,I.prototype),o}function I(n,o,i){if(typeof n=="number"){if(typeof o=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return oa(n)}return Yu(n,o,i)}I.poolSize=8192;function Yu(n,o,i){if(typeof n=="string")return $v(n,o);if(ArrayBuffer.isView(n))return Hv(n);if(n==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof n);if(wt(n,ArrayBuffer)||n&&wt(n.buffer,ArrayBuffer)||typeof SharedArrayBuffer!="undefined"&&(wt(n,SharedArrayBuffer)||n&&wt(n.buffer,SharedArrayBuffer)))return na(n,o,i);if(typeof n=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var l=n.valueOf&&n.valueOf();if(l!=null&&l!==n)return I.from(l,o,i);var m=Vv(n);if(m)return m;if(typeof Symbol!="undefined"&&Symbol.toPrimitive!=null&&typeof n[Symbol.toPrimitive]=="function")return I.from(n[Symbol.toPrimitive]("string"),o,i);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof n)}I.from=function(n,o,i){return Yu(n,o,i)};Object.setPrototypeOf(I.prototype,Uint8Array.prototype);Object.setPrototypeOf(I,Uint8Array);function Zu(n){if(typeof n!="number")throw new TypeError('"size" argument must be of type number');if(n<0)throw new RangeError('The value "'+n+'" is invalid for option "size"')}function Gv(n,o,i){return Zu(n),n<=0?Ut(n):o!==void 0?typeof i=="string"?Ut(n).fill(o,i):Ut(n).fill(o):Ut(n)}I.alloc=function(n,o,i){return Gv(n,o,i)};function oa(n){return Zu(n),Ut(n<0?0:ia(n)|0)}I.allocUnsafe=function(n){return oa(n)};I.allocUnsafeSlow=function(n){return oa(n)};function $v(n,o){if((typeof o!="string"||o==="")&&(o="utf8"),!I.isEncoding(o))throw new TypeError("Unknown encoding: "+o);var i=Xu(n,o)|0,l=Ut(i),m=l.write(n,o);return m!==i&&(l=l.slice(0,m)),l}function ta(n){for(var o=n.length<0?0:ia(n.length)|0,i=Ut(o),l=0;l<o;l+=1)i[l]=n[l]&255;return i}function Hv(n){if(wt(n,Uint8Array)){var o=new Uint8Array(n);return na(o.buffer,o.byteOffset,o.byteLength)}return ta(n)}function na(n,o,i){if(o<0||n.byteLength<o)throw new RangeError('"offset" is outside of buffer bounds');if(n.byteLength<o+(i||0))throw new RangeError('"length" is outside of buffer bounds');var l;return o===void 0&&i===void 0?l=new Uint8Array(n):i===void 0?l=new Uint8Array(n,o):l=new Uint8Array(n,o,i),Object.setPrototypeOf(l,I.prototype),l}function Vv(n){if(I.isBuffer(n)){var o=ia(n.length)|0,i=Ut(o);return i.length===0||n.copy(i,0,0,o),i}if(n.length!==void 0)return typeof n.length!="number"||sa(n.length)?Ut(0):ta(n);if(n.type==="Buffer"&&Array.isArray(n.data))return ta(n.data)}function ia(n){if(n>=$o)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+$o.toString(16)+" bytes");return n|0}function qv(n){return+n!=n&&(n=0),I.alloc(+n)}I.isBuffer=function(o){return o!=null&&o._isBuffer===!0&&o!==I.prototype};I.compare=function(o,i){if(wt(o,Uint8Array)&&(o=I.from(o,o.offset,o.byteLength)),wt(i,Uint8Array)&&(i=I.from(i,i.offset,i.byteLength)),!I.isBuffer(o)||!I.isBuffer(i))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(o===i)return 0;for(var l=o.length,m=i.length,v=0,S=Math.min(l,m);v<S;++v)if(o[v]!==i[v]){l=o[v],m=i[v];break}return l<m?-1:m<l?1:0};I.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}};I.concat=function(o,i){if(!Array.isArray(o))throw new TypeError('"list" argument must be an Array of Buffers');if(o.length===0)return I.alloc(0);var l;if(i===void 0)for(i=0,l=0;l<o.length;++l)i+=o[l].length;var m=I.allocUnsafe(i),v=0;for(l=0;l<o.length;++l){var S=o[l];if(wt(S,Uint8Array))v+S.length>m.length?I.from(S).copy(m,v):Uint8Array.prototype.set.call(m,S,v);else if(I.isBuffer(S))S.copy(m,v);else throw new TypeError('"list" argument must be an Array of Buffers');v+=S.length}return m};function Xu(n,o){if(I.isBuffer(n))return n.length;if(ArrayBuffer.isView(n)||wt(n,ArrayBuffer))return n.byteLength;if(typeof n!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof n);var i=n.length,l=arguments.length>2&&arguments[2]===!0;if(!l&&i===0)return 0;for(var m=!1;;)switch(o){case"ascii":case"latin1":case"binary":return i;case"utf8":case"utf-8":return ra(n).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return i*2;case"hex":return i>>>1;case"base64":return np(n).length;default:if(m)return l?-1:ra(n).length;o=(""+o).toLowerCase(),m=!0}}I.byteLength=Xu;function zv(n,o,i){var l=!1;if((o===void 0||o<0)&&(o=0),o>this.length||((i===void 0||i>this.length)&&(i=this.length),i<=0)||(i>>>=0,o>>>=0,i<=o))return"";for(n||(n="utf8");;)switch(n){case"hex":return n0(this,o,i);case"utf8":case"utf-8":return Qu(this,o,i);case"ascii":return e0(this,o,i);case"latin1":case"binary":return t0(this,o,i);case"base64":return Qv(this,o,i);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return r0(this,o,i);default:if(l)throw new TypeError("Unknown encoding: "+n);n=(n+"").toLowerCase(),l=!0}}I.prototype._isBuffer=!0;function xn(n,o,i){var l=n[o];n[o]=n[i],n[i]=l}I.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 i=0;i<o;i+=2)xn(this,i,i+1);return this};I.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 i=0;i<o;i+=4)xn(this,i,i+3),xn(this,i+1,i+2);return this};I.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 i=0;i<o;i+=8)xn(this,i,i+7),xn(this,i+1,i+6),xn(this,i+2,i+5),xn(this,i+3,i+4);return this};I.prototype.toString=function(){var o=this.length;return o===0?"":arguments.length===0?Qu(this,0,o):zv.apply(this,arguments)};I.prototype.toLocaleString=I.prototype.toString;I.prototype.equals=function(o){if(!I.isBuffer(o))throw new TypeError("Argument must be a Buffer");return this===o?!0:I.compare(this,o)===0};I.prototype.inspect=function(){var o="",i=qn.INSPECT_MAX_BYTES;return o=this.toString("hex",0,i).replace(/(.{2})/g,"$1 ").trim(),this.length>i&&(o+=" ... "),"<Buffer "+o+">"};qu&&(I.prototype[qu]=I.prototype.inspect);I.prototype.compare=function(o,i,l,m,v){if(wt(o,Uint8Array)&&(o=I.from(o,o.offset,o.byteLength)),!I.isBuffer(o))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof o);if(i===void 0&&(i=0),l===void 0&&(l=o?o.length:0),m===void 0&&(m=0),v===void 0&&(v=this.length),i<0||l>o.length||m<0||v>this.length)throw new RangeError("out of range index");if(m>=v&&i>=l)return 0;if(m>=v)return-1;if(i>=l)return 1;if(i>>>=0,l>>>=0,m>>>=0,v>>>=0,this===o)return 0;for(var S=v-m,k=l-i,E=Math.min(S,k),N=this.slice(m,v),G=o.slice(i,l),M=0;M<E;++M)if(N[M]!==G[M]){S=N[M],k=G[M];break}return S<k?-1:k<S?1:0};function Ju(n,o,i,l,m){if(n.length===0)return-1;if(typeof i=="string"?(l=i,i=0):i>2147483647?i=2147483647:i<-2147483648&&(i=-2147483648),i=+i,sa(i)&&(i=m?0:n.length-1),i<0&&(i=n.length+i),i>=n.length){if(m)return-1;i=n.length-1}else if(i<0)if(m)i=0;else return-1;if(typeof o=="string"&&(o=I.from(o,l)),I.isBuffer(o))return o.length===0?-1:zu(n,o,i,l,m);if(typeof o=="number")return o=o&255,typeof Uint8Array.prototype.indexOf=="function"?m?Uint8Array.prototype.indexOf.call(n,o,i):Uint8Array.prototype.lastIndexOf.call(n,o,i):zu(n,[o],i,l,m);throw new TypeError("val must be string, number or Buffer")}function zu(n,o,i,l,m){var v=1,S=n.length,k=o.length;if(l!==void 0&&(l=String(l).toLowerCase(),l==="ucs2"||l==="ucs-2"||l==="utf16le"||l==="utf-16le")){if(n.length<2||o.length<2)return-1;v=2,S/=2,k/=2,i/=2}function E(pe,me){return v===1?pe[me]:pe.readUInt16BE(me*v)}var N;if(m){var G=-1;for(N=i;N<S;N++)if(E(n,N)===E(o,G===-1?0:N-G)){if(G===-1&&(G=N),N-G+1===k)return G*v}else G!==-1&&(N-=N-G),G=-1}else for(i+k>S&&(i=S-k),N=i;N>=0;N--){for(var M=!0,ce=0;ce<k;ce++)if(E(n,N+ce)!==E(o,ce)){M=!1;break}if(M)return N}return-1}I.prototype.includes=function(o,i,l){return this.indexOf(o,i,l)!==-1};I.prototype.indexOf=function(o,i,l){return Ju(this,o,i,l,!0)};I.prototype.lastIndexOf=function(o,i,l){return Ju(this,o,i,l,!1)};function Kv(n,o,i,l){i=Number(i)||0;var m=n.length-i;l?(l=Number(l),l>m&&(l=m)):l=m;var v=o.length;l>v/2&&(l=v/2);for(var S=0;S<l;++S){var k=parseInt(o.substr(S*2,2),16);if(sa(k))return S;n[i+S]=k}return S}function Yv(n,o,i,l){return Ho(ra(o,n.length-i),n,i,l)}function Zv(n,o,i,l){return Ho(s0(o),n,i,l)}function Xv(n,o,i,l){return Ho(np(o),n,i,l)}function Jv(n,o,i,l){return Ho(a0(o,n.length-i),n,i,l)}I.prototype.write=function(o,i,l,m){if(i===void 0)m="utf8",l=this.length,i=0;else if(l===void 0&&typeof i=="string")m=i,l=this.length,i=0;else if(isFinite(i))i=i>>>0,isFinite(l)?(l=l>>>0,m===void 0&&(m="utf8")):(m=l,l=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var v=this.length-i;if((l===void 0||l>v)&&(l=v),o.length>0&&(l<0||i<0)||i>this.length)throw new RangeError("Attempt to write outside buffer bounds");m||(m="utf8");for(var S=!1;;)switch(m){case"hex":return Kv(this,o,i,l);case"utf8":case"utf-8":return Yv(this,o,i,l);case"ascii":case"latin1":case"binary":return Zv(this,o,i,l);case"base64":return Xv(this,o,i,l);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Jv(this,o,i,l);default:if(S)throw new TypeError("Unknown encoding: "+m);m=(""+m).toLowerCase(),S=!0}};I.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function Qv(n,o,i){return o===0&&i===n.length?ea.fromByteArray(n):ea.fromByteArray(n.slice(o,i))}function Qu(n,o,i){i=Math.min(n.length,i);for(var l=[],m=o;m<i;){var v=n[m],S=null,k=v>239?4:v>223?3:v>191?2:1;if(m+k<=i){var E,N,G,M;switch(k){case 1:v<128&&(S=v);break;case 2:E=n[m+1],(E&192)===128&&(M=(v&31)<<6|E&63,M>127&&(S=M));break;case 3:E=n[m+1],N=n[m+2],(E&192)===128&&(N&192)===128&&(M=(v&15)<<12|(E&63)<<6|N&63,M>2047&&(M<55296||M>57343)&&(S=M));break;case 4:E=n[m+1],N=n[m+2],G=n[m+3],(E&192)===128&&(N&192)===128&&(G&192)===128&&(M=(v&15)<<18|(E&63)<<12|(N&63)<<6|G&63,M>65535&&M<1114112&&(S=M))}}S===null?(S=65533,k=1):S>65535&&(S-=65536,l.push(S>>>10&1023|55296),S=56320|S&1023),l.push(S),m+=k}return jv(l)}var Ku=4096;function jv(n){var o=n.length;if(o<=Ku)return String.fromCharCode.apply(String,n);for(var i="",l=0;l<o;)i+=String.fromCharCode.apply(String,n.slice(l,l+=Ku));return i}function e0(n,o,i){var l="";i=Math.min(n.length,i);for(var m=o;m<i;++m)l+=String.fromCharCode(n[m]&127);return l}function t0(n,o,i){var l="";i=Math.min(n.length,i);for(var m=o;m<i;++m)l+=String.fromCharCode(n[m]);return l}function n0(n,o,i){var l=n.length;(!o||o<0)&&(o=0),(!i||i<0||i>l)&&(i=l);for(var m="",v=o;v<i;++v)m+=c0[n[v]];return m}function r0(n,o,i){for(var l=n.slice(o,i),m="",v=0;v<l.length-1;v+=2)m+=String.fromCharCode(l[v]+l[v+1]*256);return m}I.prototype.slice=function(o,i){var l=this.length;o=~~o,i=i===void 0?l:~~i,o<0?(o+=l,o<0&&(o=0)):o>l&&(o=l),i<0?(i+=l,i<0&&(i=0)):i>l&&(i=l),i<o&&(i=o);var m=this.subarray(o,i);return Object.setPrototypeOf(m,I.prototype),m};function Ae(n,o,i){if(n%1!==0||n<0)throw new RangeError("offset is not uint");if(n+o>i)throw new RangeError("Trying to access beyond buffer length")}I.prototype.readUintLE=I.prototype.readUIntLE=function(o,i,l){o=o>>>0,i=i>>>0,l||Ae(o,i,this.length);for(var m=this[o],v=1,S=0;++S<i&&(v*=256);)m+=this[o+S]*v;return m};I.prototype.readUintBE=I.prototype.readUIntBE=function(o,i,l){o=o>>>0,i=i>>>0,l||Ae(o,i,this.length);for(var m=this[o+--i],v=1;i>0&&(v*=256);)m+=this[o+--i]*v;return m};I.prototype.readUint8=I.prototype.readUInt8=function(o,i){return o=o>>>0,i||Ae(o,1,this.length),this[o]};I.prototype.readUint16LE=I.prototype.readUInt16LE=function(o,i){return o=o>>>0,i||Ae(o,2,this.length),this[o]|this[o+1]<<8};I.prototype.readUint16BE=I.prototype.readUInt16BE=function(o,i){return o=o>>>0,i||Ae(o,2,this.length),this[o]<<8|this[o+1]};I.prototype.readUint32LE=I.prototype.readUInt32LE=function(o,i){return o=o>>>0,i||Ae(o,4,this.length),(this[o]|this[o+1]<<8|this[o+2]<<16)+this[o+3]*16777216};I.prototype.readUint32BE=I.prototype.readUInt32BE=function(o,i){return o=o>>>0,i||Ae(o,4,this.length),this[o]*16777216+(this[o+1]<<16|this[o+2]<<8|this[o+3])};I.prototype.readIntLE=function(o,i,l){o=o>>>0,i=i>>>0,l||Ae(o,i,this.length);for(var m=this[o],v=1,S=0;++S<i&&(v*=256);)m+=this[o+S]*v;return v*=128,m>=v&&(m-=Math.pow(2,8*i)),m};I.prototype.readIntBE=function(o,i,l){o=o>>>0,i=i>>>0,l||Ae(o,i,this.length);for(var m=i,v=1,S=this[o+--m];m>0&&(v*=256);)S+=this[o+--m]*v;return v*=128,S>=v&&(S-=Math.pow(2,8*i)),S};I.prototype.readInt8=function(o,i){return o=o>>>0,i||Ae(o,1,this.length),this[o]&128?(255-this[o]+1)*-1:this[o]};I.prototype.readInt16LE=function(o,i){o=o>>>0,i||Ae(o,2,this.length);var l=this[o]|this[o+1]<<8;return l&32768?l|4294901760:l};I.prototype.readInt16BE=function(o,i){o=o>>>0,i||Ae(o,2,this.length);var l=this[o+1]|this[o]<<8;return l&32768?l|4294901760:l};I.prototype.readInt32LE=function(o,i){return o=o>>>0,i||Ae(o,4,this.length),this[o]|this[o+1]<<8|this[o+2]<<16|this[o+3]<<24};I.prototype.readInt32BE=function(o,i){return o=o>>>0,i||Ae(o,4,this.length),this[o]<<24|this[o+1]<<16|this[o+2]<<8|this[o+3]};I.prototype.readFloatLE=function(o,i){return o=o>>>0,i||Ae(o,4,this.length),Vn.read(this,o,!0,23,4)};I.prototype.readFloatBE=function(o,i){return o=o>>>0,i||Ae(o,4,this.length),Vn.read(this,o,!1,23,4)};I.prototype.readDoubleLE=function(o,i){return o=o>>>0,i||Ae(o,8,this.length),Vn.read(this,o,!0,52,8)};I.prototype.readDoubleBE=function(o,i){return o=o>>>0,i||Ae(o,8,this.length),Vn.read(this,o,!1,52,8)};function Be(n,o,i,l,m,v){if(!I.isBuffer(n))throw new TypeError('"buffer" argument must be a Buffer instance');if(o>m||o<v)throw new RangeError('"value" argument is out of bounds');if(i+l>n.length)throw new RangeError("Index out of range")}I.prototype.writeUintLE=I.prototype.writeUIntLE=function(o,i,l,m){if(o=+o,i=i>>>0,l=l>>>0,!m){var v=Math.pow(2,8*l)-1;Be(this,o,i,l,v,0)}var S=1,k=0;for(this[i]=o&255;++k<l&&(S*=256);)this[i+k]=o/S&255;return i+l};I.prototype.writeUintBE=I.prototype.writeUIntBE=function(o,i,l,m){if(o=+o,i=i>>>0,l=l>>>0,!m){var v=Math.pow(2,8*l)-1;Be(this,o,i,l,v,0)}var S=l-1,k=1;for(this[i+S]=o&255;--S>=0&&(k*=256);)this[i+S]=o/k&255;return i+l};I.prototype.writeUint8=I.prototype.writeUInt8=function(o,i,l){return o=+o,i=i>>>0,l||Be(this,o,i,1,255,0),this[i]=o&255,i+1};I.prototype.writeUint16LE=I.prototype.writeUInt16LE=function(o,i,l){return o=+o,i=i>>>0,l||Be(this,o,i,2,65535,0),this[i]=o&255,this[i+1]=o>>>8,i+2};I.prototype.writeUint16BE=I.prototype.writeUInt16BE=function(o,i,l){return o=+o,i=i>>>0,l||Be(this,o,i,2,65535,0),this[i]=o>>>8,this[i+1]=o&255,i+2};I.prototype.writeUint32LE=I.prototype.writeUInt32LE=function(o,i,l){return o=+o,i=i>>>0,l||Be(this,o,i,4,4294967295,0),this[i+3]=o>>>24,this[i+2]=o>>>16,this[i+1]=o>>>8,this[i]=o&255,i+4};I.prototype.writeUint32BE=I.prototype.writeUInt32BE=function(o,i,l){return o=+o,i=i>>>0,l||Be(this,o,i,4,4294967295,0),this[i]=o>>>24,this[i+1]=o>>>16,this[i+2]=o>>>8,this[i+3]=o&255,i+4};I.prototype.writeIntLE=function(o,i,l,m){if(o=+o,i=i>>>0,!m){var v=Math.pow(2,8*l-1);Be(this,o,i,l,v-1,-v)}var S=0,k=1,E=0;for(this[i]=o&255;++S<l&&(k*=256);)o<0&&E===0&&this[i+S-1]!==0&&(E=1),this[i+S]=(o/k>>0)-E&255;return i+l};I.prototype.writeIntBE=function(o,i,l,m){if(o=+o,i=i>>>0,!m){var v=Math.pow(2,8*l-1);Be(this,o,i,l,v-1,-v)}var S=l-1,k=1,E=0;for(this[i+S]=o&255;--S>=0&&(k*=256);)o<0&&E===0&&this[i+S+1]!==0&&(E=1),this[i+S]=(o/k>>0)-E&255;return i+l};I.prototype.writeInt8=function(o,i,l){return o=+o,i=i>>>0,l||Be(this,o,i,1,127,-128),o<0&&(o=255+o+1),this[i]=o&255,i+1};I.prototype.writeInt16LE=function(o,i,l){return o=+o,i=i>>>0,l||Be(this,o,i,2,32767,-32768),this[i]=o&255,this[i+1]=o>>>8,i+2};I.prototype.writeInt16BE=function(o,i,l){return o=+o,i=i>>>0,l||Be(this,o,i,2,32767,-32768),this[i]=o>>>8,this[i+1]=o&255,i+2};I.prototype.writeInt32LE=function(o,i,l){return o=+o,i=i>>>0,l||Be(this,o,i,4,2147483647,-2147483648),this[i]=o&255,this[i+1]=o>>>8,this[i+2]=o>>>16,this[i+3]=o>>>24,i+4};I.prototype.writeInt32BE=function(o,i,l){return o=+o,i=i>>>0,l||Be(this,o,i,4,2147483647,-2147483648),o<0&&(o=4294967295+o+1),this[i]=o>>>24,this[i+1]=o>>>16,this[i+2]=o>>>8,this[i+3]=o&255,i+4};function ju(n,o,i,l,m,v){if(i+l>n.length)throw new RangeError("Index out of range");if(i<0)throw new RangeError("Index out of range")}function ep(n,o,i,l,m){return o=+o,i=i>>>0,m||ju(n,o,i,4,34028234663852886e22,-34028234663852886e22),Vn.write(n,o,i,l,23,4),i+4}I.prototype.writeFloatLE=function(o,i,l){return ep(this,o,i,!0,l)};I.prototype.writeFloatBE=function(o,i,l){return ep(this,o,i,!1,l)};function tp(n,o,i,l,m){return o=+o,i=i>>>0,m||ju(n,o,i,8,17976931348623157e292,-17976931348623157e292),Vn.write(n,o,i,l,52,8),i+8}I.prototype.writeDoubleLE=function(o,i,l){return tp(this,o,i,!0,l)};I.prototype.writeDoubleBE=function(o,i,l){return tp(this,o,i,!1,l)};I.prototype.copy=function(o,i,l,m){if(!I.isBuffer(o))throw new TypeError("argument should be a Buffer");if(l||(l=0),!m&&m!==0&&(m=this.length),i>=o.length&&(i=o.length),i||(i=0),m>0&&m<l&&(m=l),m===l||o.length===0||this.length===0)return 0;if(i<0)throw new RangeError("targetStart out of bounds");if(l<0||l>=this.length)throw new RangeError("Index out of range");if(m<0)throw new RangeError("sourceEnd out of bounds");m>this.length&&(m=this.length),o.length-i<m-l&&(m=o.length-i+l);var v=m-l;return this===o&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(i,l,m):Uint8Array.prototype.set.call(o,this.subarray(l,m),i),v};I.prototype.fill=function(o,i,l,m){if(typeof o=="string"){if(typeof i=="string"?(m=i,i=0,l=this.length):typeof l=="string"&&(m=l,l=this.length),m!==void 0&&typeof m!="string")throw new TypeError("encoding must be a string");if(typeof m=="string"&&!I.isEncoding(m))throw new TypeError("Unknown encoding: "+m);if(o.length===1){var v=o.charCodeAt(0);(m==="utf8"&&v<128||m==="latin1")&&(o=v)}}else typeof o=="number"?o=o&255:typeof o=="boolean"&&(o=Number(o));if(i<0||this.length<i||this.length<l)throw new RangeError("Out of range index");if(l<=i)return this;i=i>>>0,l=l===void 0?this.length:l>>>0,o||(o=0);var S;if(typeof o=="number")for(S=i;S<l;++S)this[S]=o;else{var k=I.isBuffer(o)?o:I.from(o,m),E=k.length;if(E===0)throw new TypeError('The value "'+o+'" is invalid for argument "value"');for(S=0;S<l-i;++S)this[S+i]=k[S%E]}return this};var o0=/[^+/0-9A-Za-z-_]/g;function i0(n){if(n=n.split("=")[0],n=n.trim().replace(o0,""),n.length<2)return"";for(;n.length%4!==0;)n=n+"=";return n}function ra(n,o){o=o||1/0;for(var i,l=n.length,m=null,v=[],S=0;S<l;++S){if(i=n.charCodeAt(S),i>55295&&i<57344){if(!m){if(i>56319){(o-=3)>-1&&v.push(239,191,189);continue}else if(S+1===l){(o-=3)>-1&&v.push(239,191,189);continue}m=i;continue}if(i<56320){(o-=3)>-1&&v.push(239,191,189),m=i;continue}i=(m-55296<<10|i-56320)+65536}else m&&(o-=3)>-1&&v.push(239,191,189);if(m=null,i<128){if((o-=1)<0)break;v.push(i)}else if(i<2048){if((o-=2)<0)break;v.push(i>>6|192,i&63|128)}else if(i<65536){if((o-=3)<0)break;v.push(i>>12|224,i>>6&63|128,i&63|128)}else if(i<1114112){if((o-=4)<0)break;v.push(i>>18|240,i>>12&63|128,i>>6&63|128,i&63|128)}else throw new Error("Invalid code point")}return v}function s0(n){for(var o=[],i=0;i<n.length;++i)o.push(n.charCodeAt(i)&255);return o}function a0(n,o){for(var i,l,m,v=[],S=0;S<n.length&&!((o-=2)<0);++S)i=n.charCodeAt(S),l=i>>8,m=i%256,v.push(m),v.push(l);return v}function np(n){return ea.toByteArray(i0(n))}function Ho(n,o,i,l){for(var m=0;m<l&&!(m+i>=o.length||m>=n.length);++m)o[m+i]=n[m];return m}function wt(n,o){return n instanceof o||n!=null&&n.constructor!=null&&n.constructor.name!=null&&n.constructor.name===o.name}function sa(n){return n!==n}var c0=function(){for(var n="0123456789abcdef",o=new Array(256),i=0;i<16;++i)for(var l=i*16,m=0;m<16;++m)o[l+m]=n[i]+n[m];return o}()});var cp=kr((CI,ap)=>{s();var ye=ap.exports={},At,It;function aa(){throw new Error("setTimeout has not been defined")}function ca(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?At=setTimeout:At=aa}catch(n){At=aa}try{typeof clearTimeout=="function"?It=clearTimeout:It=ca}catch(n){It=ca}})();function op(n){if(At===setTimeout)return setTimeout(n,0);if((At===aa||!At)&&setTimeout)return At=setTimeout,setTimeout(n,0);try{return At(n,0)}catch(o){try{return At.call(null,n,0)}catch(i){return At.call(this,n,0)}}}function l0(n){if(It===clearTimeout)return clearTimeout(n);if((It===ca||!It)&&clearTimeout)return It=clearTimeout,clearTimeout(n);try{return It(n)}catch(o){try{return It.call(null,n)}catch(i){return It.call(this,n)}}}var Bt=[],zn=!1,Sn,Vo=-1;function u0(){!zn||!Sn||(zn=!1,Sn.length?Bt=Sn.concat(Bt):Vo=-1,Bt.length&&ip())}function ip(){if(!zn){var n=op(u0);zn=!0;for(var o=Bt.length;o;){for(Sn=Bt,Bt=[];++Vo<o;)Sn&&Sn[Vo].run();Vo=-1,o=Bt.length}Sn=null,zn=!1,l0(n)}}ye.nextTick=function(n){var o=new Array(arguments.length-1);if(arguments.length>1)for(var i=1;i<arguments.length;i++)o[i-1]=arguments[i];Bt.push(new sp(n,o)),Bt.length===1&&!zn&&op(ip)};function sp(n,o){this.fun=n,this.array=o}sp.prototype.run=function(){this.fun.apply(null,this.array)};ye.title="browser";ye.browser=!0;ye.env={};ye.argv=[];ye.version="";ye.versions={};function Wt(){}ye.on=Wt;ye.addListener=Wt;ye.once=Wt;ye.off=Wt;ye.removeListener=Wt;ye.removeAllListeners=Wt;ye.emit=Wt;ye.prependListener=Wt;ye.prependOnceListener=Wt;ye.listeners=function(n){return[]};ye.binding=function(n){throw new Error("process.binding is not supported")};ye.cwd=function(){return"/"};ye.chdir=function(n){throw new Error("process.chdir is not supported")};ye.umask=function(){return 0}});var d,g,p0,f,s=W(()=>{d=V(rp()),g=V(cp()),p0=function(n){function o(){var l=this||self;return delete n.prototype.__magic__,l}if(typeof globalThis=="object")return globalThis;if(this)return o();n.defineProperty(n.prototype,"__magic__",{configurable:!0,get:o});var i=__magic__;return i}(Object),f=p0});var vn=W(()=>{"use strict";s()});var lp=W(()=>{"use strict";s()});var up=W(()=>{"use strict";s()});var pp=W(()=>{"use strict";s()});var ge=W(()=>{"use strict";s()});var fp=W(()=>{"use strict";s()});var dp=W(()=>{"use strict";s()});var We=W(()=>{"use strict";s()});var gp=W(()=>{"use strict";s()});var mp=W(()=>{"use strict";s()});var Ie=W(()=>{"use strict";s();lp();up();pp();ge();fp();dp();We();gp();mp()});var la,Tp,YI,hp,ZI,yp,XI,JI,QI,xp=W(()=>{"use strict";s();Ie();la={devnet:{id:"devnet",chainId:"D",name:"Devnet",egldLabel:"xEGLD",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"https://maiar.page.link/?apn=com.elrond.maiar.wallet&isi=1519405832&ibi=com.elrond.maiar.wallet&link=https://xportal.com/",walletConnectBridgeAddresses:["https://bridge.walletconnect.org"],walletConnectV2RelayAddresses:["wss://relay.walletconnect.com"],walletAddress:"https://devnet-wallet.multiversx.com",apiAddress:"https://devnet-api.multiversx.com",explorerAddress:"http://devnet-explorer.multiversx.com",apiTimeout:"4000"},testnet:{id:"testnet",chainId:"T",name:"Testnet",egldLabel:"xEGLD",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"https://maiar.page.link/?apn=com.elrond.maiar.wallet&isi=1519405832&ibi=com.elrond.maiar.wallet&link=https://xportal.com/",walletConnectBridgeAddresses:["https://bridge.walletconnect.org"],walletConnectV2RelayAddresses:["wss://relay.walletconnect.com"],walletAddress:"https://testnet-wallet.multiversx.com",apiAddress:"https://testnet-api.multiversx.com",explorerAddress:"http://testnet-explorer.multiversx.com",apiTimeout:"4000"},mainnet:{id:"mainnet",chainId:"1",name:"Mainnet",egldLabel:"EGLD",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"https://maiar.page.link/?apn=com.elrond.maiar.wallet&isi=1519405832&ibi=com.elrond.maiar.wallet&link=https://xportal.com/",walletConnectBridgeAddresses:["https://bridge.walletconnect.org"],walletConnectV2RelayAddresses:["wss://relay.walletconnect.com"],walletAddress:"https://wallet.multiversx.com",apiAddress:"https://api.multiversx.com",explorerAddress:"https://explorer.multiversx.com",apiTimeout:"4000"}},{chainId:Tp,egldLabel:YI}=la["devnet"],{chainId:hp,egldLabel:ZI}=la["testnet"],{chainId:yp,egldLabel:XI}=la["mainnet"],JI={["devnet"]:Tp,["testnet"]:hp,["mainnet"]:yp},QI={[Tp]:"devnet",[hp]:"testnet",[yp]:"mainnet"}});var ua=W(()=>{"use strict";s()});var Sp=W(()=>{"use strict";s()});var qo,pa=W(()=>{"use strict";s();qo="transaction-status-toast-id"});var _t,vp=W(()=>{"use strict";s();_t=require("@multiversx/sdk-web-wallet-provider")});var wp=W(()=>{"use strict";s()});var Dr,zo,Ap,Ko,Ip,Kn,se=W(()=>{"use strict";s();vn();xp();ua();Sp();pa();vp();wp();Dr=5e4,zo=1e9,Ap=1,Ko="logout",Ip="login",Kn="0"});var Rr,Yo=W(()=>{"use strict";s();Rr=()=>Date.now()/1e3});var _p=W(()=>{"use strict";s()});var bp=W(()=>{"use strict";s()});var fa=W(()=>{"use strict";s();Yo();_p();bp()});var ga={};hn(ga,{getItem:()=>d0,localStorageKeys:()=>nn,removeItem:()=>g0,setItem:()=>f0});var nn,da,f0,d0,g0,Yn=W(()=>{"use strict";s();fa();nn={loginExpiresAt:"sdk-dapp-login-expires-at",logoutEvent:"sdk-dapp-logout-event"},da=typeof localStorage!="undefined",f0=({key:n,data:o,expires:i})=>{!da||localStorage.setItem(String(n),JSON.stringify({expires:i,data:o}))},d0=n=>{if(!da)return;let o=localStorage.getItem(String(n));if(!o)return null;let i=JSON.parse(o);return!i||!i.hasOwnProperty("expires")||!i.hasOwnProperty("data")?null:Rr()>=i.expires?(localStorage.removeItem(String(n)),null):i.data},g0=n=>{!da||localStorage.removeItem(String(n))}});var ma={};hn(ma,{clear:()=>kp,getItem:()=>Ep,removeItem:()=>Cp,setItem:()=>Lp,storage:()=>m0});var Lp,Ep,Cp,kp,m0,Pp=W(()=>{"use strict";s();Lp=({key:n,data:o,expires:i})=>{sessionStorage.setItem(String(n),JSON.stringify({expires:i,data:o}))},Ep=n=>{let o=sessionStorage.getItem(String(n));if(!o)return null;let i=JSON.parse(o);return!i||!i.hasOwnProperty("expires")||!i.hasOwnProperty("data")?null:Date.now()>=i.expires?(sessionStorage.removeItem(String(n)),null):i.data},Cp=n=>sessionStorage.removeItem(String(n)),kp=()=>sessionStorage.clear(),m0={setItem:Lp,getItem:Ep,removeItem:Cp,clear:kp}});var wn,Zn=W(()=>{"use strict";s();Yn();Pp();wn={session:ma,local:ga}});var Ta,Le,bt,ke=W(()=>{"use strict";s();Ta=require("@reduxjs/toolkit");se();Le=(0,Ta.createAction)(Ko),bt=(0,Ta.createAction)(Ip,n=>({payload:n}))});var ya,Dp,Rp,Zo,ha,Np,xa,k_,Sa,P_,T0,h0,D_,R_,N_,y0,Xo,Jo=W(()=>{"use strict";s();ya=require("@multiversx/sdk-core"),Dp=require("@reduxjs/toolkit"),Rp=require("redux-persist");se();Zn();Yn();ke();Zo={balance:"...",address:"",nonce:0,txCount:0,scrCount:0,claimableRewards:Kn},ha={address:"",websocketEvent:null,accounts:{"":Zo},ledgerAccount:null,publicKey:"",walletConnectAccount:null,isAccountLoading:!0,accountLoadingError:null},Np=(0,Dp.createSlice)({name:"accountInfoSlice",initialState:ha,reducers:{setAddress:(n,o)=>{let i=o.payload;n.address=i,n.publicKey=new ya.Address(i).hex()},setAccount:(n,o)=>{let i=n.address===o.payload.address;n.accounts={[n.address]:i?o.payload:Zo},n.shard=o.payload.shard,n.isAccountLoading=!1,n.accountLoadingError=null},setAccountNonce:(n,o)=>{let{address:i}=n;n.accounts[i].nonce=o.payload},setAccountShard:(n,o)=>{n.shard=o.payload},setLedgerAccount:(n,o)=>{n.ledgerAccount=o.payload},updateLedgerAccount:(n,o)=>{n.ledgerAccount!=null&&(n.ledgerAccount.index=o.payload.index,n.ledgerAccount.address=o.payload.address)},setWalletConnectAccount:(n,o)=>{n.walletConnectAccount=o.payload},setIsAccountLoading:(n,o)=>{n.isAccountLoading=o.payload,n.accountLoadingError=null},setAccountLoadingError:(n,o)=>{n.accountLoadingError=o.payload,n.isAccountLoading=!1},setWebsocketEvent:(n,o)=>{n.websocketEvent={timestamp:Date.now(),message:o.payload}}},extraReducers:n=>{n.addCase(Le,()=>(wn.local.removeItem(nn.loginExpiresAt),ha)),n.addCase(bt,(o,i)=>{let{address:l}=i.payload;o.address=l,o.publicKey=new ya.Address(l).hex()}),n.addCase(Rp.REHYDRATE,(o,i)=>{var N;if(!((N=i.payload)!=null&&N.account))return;let{account:l}=i.payload,{address:m,shard:v,accounts:S,publicKey:k}=l;o.address=m,o.shard=v;let E=S&&m in S;o.accounts=E?S:ha.accounts,o.publicKey=k})}}),{setAccount:xa,setAddress:k_,setAccountNonce:Sa,setAccountShard:P_,setLedgerAccount:T0,updateLedgerAccount:h0,setWalletConnectAccount:D_,setIsAccountLoading:R_,setAccountLoadingError:N_,setWebsocketEvent:y0}=Np.actions,Xo=Np.reducer});function Nr(){return new Date().setHours(new Date().getHours()+24)}function Or(n){wn.local.setItem({key:nn.loginExpiresAt,data:n,expires:n})}var va=W(()=>{"use strict";s();Zn();Yn()});var Mp,Op,Fp,V_,Up,x0,S0,q_,v0,Bp,z_,Qo,jo=W(()=>{"use strict";s();Mp=require("@reduxjs/toolkit");va();ge();ke();Op={loginMethod:"",walletConnectLogin:null,ledgerLogin:null,tokenLogin:null,walletLogin:null,extensionLogin:null,operaLogin:null,isLoginSessionInvalid:!1},Fp=(0,Mp.createSlice)({name:"loginInfoSlice",initialState:Op,reducers:{setLoginMethod:(n,o)=>{n.loginMethod=o.payload},setTokenLogin:(n,o)=>{n.tokenLogin=o.payload},setTokenLoginSignature:(n,o)=>{(n==null?void 0:n.tokenLogin)!=null&&(n.tokenLogin.signature=o.payload)},setWalletLogin:(n,o)=>{n.walletLogin=o.payload},setWalletConnectLogin:(n,o)=>{n.walletConnectLogin=o.payload},setLedgerLogin:(n,o)=>{n.ledgerLogin=o.payload},invalidateLoginSession:n=>{n.isLoginSessionInvalid=!0},setLogoutRoute:(n,o)=>{n.logoutRoute=o.payload}},extraReducers:n=>{n.addCase(Le,()=>Op),n.addCase(bt,(o,i)=>{o.loginMethod=i.payload.loginMethod,Or(Nr())})}}),{setLoginMethod:V_,setWalletConnectLogin:Up,setLedgerLogin:x0,setTokenLogin:S0,setTokenLoginSignature:q_,setWalletLogin:v0,invalidateLoginSession:Bp,setLogoutRoute:z_}=Fp.actions,Qo=Fp.reducer});var Gp,Wp,$p,X_,w0,J_,A0,ei,ti=W(()=>{"use strict";s();Gp=require("@reduxjs/toolkit");ke();Wp={},$p=(0,Gp.createSlice)({name:"modalsSlice",initialState:Wp,reducers:{setTxSubmittedModal:(n,o)=>{n.txSubmittedModal=o.payload},setNotificationModal:(n,o)=>{n.notificationModal=o.payload},clearTxSubmittedModal:n=>{n.txSubmittedModal=void 0},clearNotificationModal:n=>{n.notificationModal=void 0}},extraReducers:n=>{n.addCase(Le,()=>Wp)}}),{setTxSubmittedModal:X_,setNotificationModal:w0,clearTxSubmittedModal:J_,clearNotificationModal:A0}=$p.actions,ei=$p.reducer});var Mr=W(()=>{"use strict";s()});var Vp=W(()=>{"use strict";s();Mr()});function wa(n){return n[Math.floor(Math.random()*n.length)]}var qp=W(()=>{"use strict";s()});var Aa=W(()=>{"use strict";s();ua()});var An=W(()=>{"use strict";s();Vp();qp();Aa()});var zp,Kp,Ia,I0,Yp,fb,db,ni,ri=W(()=>{"use strict";s();zp=require("@reduxjs/toolkit"),Kp=V(require("lodash.omit"));An();Ia={id:"not-configured",chainId:"",name:"NOT CONFIGURED",egldLabel:"",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"",walletConnectBridgeAddress:"",walletConnectV2RelayAddress:"",walletConnectV2ProjectId:"",walletConnectV2Options:{},walletAddress:"",apiAddress:"",explorerAddress:"",apiTimeout:"4000"},I0={network:Ia,chainID:"-1"},Yp=(0,zp.createSlice)({name:"appConfig",initialState:I0,reducers:{initializeNetworkConfig:(n,o)=>{let i=wa(o.payload.walletConnectBridgeAddresses),l=wa(o.payload.walletConnectV2RelayAddresses),m=(0,Kp.default)(o.payload,"walletConnectBridgeAddresses","walletConnectV2RelayAddresses");n.network=Q(O(O({},n.network),m),{walletConnectBridgeAddress:i,walletConnectV2RelayAddress:l})},setChainID:(n,o)=>{n.chainID=o.payload}}}),{initializeNetworkConfig:fb,setChainID:db}=Yp.actions,ni=Yp.reducer});var Zp,_a,Xp,xb,Sb,vb,oi,ii=W(()=>{"use strict";s();Zp=require("@reduxjs/toolkit");Ie();ke();_a={isSigning:!1,signedSessions:{}},Xp=(0,Zp.createSlice)({name:"signedMessageInfoSliceState",initialState:_a,reducers:{setSignSession:(n,o)=>{let{sessionId:i,signedSession:l,errorMessage:m}=o.payload;return Q(O({},n),{errorMessage:m!=null?m:n.errorMessage,isSigning:l.status==="pending",signedSessions:Q(O({},n.signedSessions),{[i]:l})})},setSignSessionState:(n,o)=>O(O({},n),o.payload),clearSignedMessageInfo:()=>_a},extraReducers:n=>{n.addCase(Le,()=>_a)}}),{setSignSession:xb,clearSignedMessageInfo:Sb,setSignSessionState:vb}=Xp.actions,oi=Xp.reducer});var Qp,jp,Jp,ef,_0,ba,Cb,kb,Pb,Db,si,ai=W(()=>{"use strict";s();Qp=require("@reduxjs/toolkit"),jp=require("redux-persist");pa();Ie();Yo();ke();Jp={customToasts:[],transactionToasts:[],failTransactionToast:null},ef=(0,Qp.createSlice)({name:"toastsSlice",initialState:Jp,reducers:{addCustomToast:(n,o)=>{n.customToasts.push(Q(O({},o.payload),{type:"custom",toastId:o.payload.toastId||`custom-toast-${n.customToasts.length+1}`}))},removeCustomToast:(n,o)=>{n.customToasts=n.customToasts.filter(i=>i.toastId!==o.payload)},addTransactionToast:(n,o)=>{n.transactionToasts.push({type:"transaction",startTimestamp:Rr(),toastId:o.payload||`custom-toast-${n.transactionToasts.length+1}`})},removeTransactionToast:(n,o)=>{n.transactionToasts=n.transactionToasts.filter(i=>i.toastId!==o.payload)},addFailTransactionToast:(n,o)=>{n.failTransactionToast=Q(O({},o.payload),{toastId:qo})},removeFailTransactionToast:n=>{n.failTransactionToast=null}},extraReducers:n=>{n.addCase(Le,()=>Jp),n.addCase(jp.REHYDRATE,(o,i)=>{var m,v;let l=(v=(m=i.customToasts)==null?void 0:m.filter(S=>!("component"in S)))!=null?v:[];o.customToasts=l})}}),{addCustomToast:_0,removeCustomToast:ba,addTransactionToast:Cb,removeTransactionToast:kb,addFailTransactionToast:Pb,removeFailTransactionToast:Db}=ef.actions,si=ef.reducer});var tf,Ea,Ca,ka,b0,La,nf,Mb,L0,Pa,ci,li=W(()=>{"use strict";s();tf=require("@reduxjs/toolkit");ke();Ea="Transaction failed",Ca="Transaction successful",ka="Processing transaction",b0="Transaction submitted",La={},nf=(0,tf.createSlice)({name:"transactionsInfo",initialState:La,reducers:{setTransactionsDisplayInfo(n,o){let{sessionId:i,transactionsDisplayInfo:l}=o.payload;i!=null&&(n[i]={errorMessage:(l==null?void 0:l.errorMessage)||Ea,successMessage:(l==null?void 0:l.successMessage)||Ca,processingMessage:(l==null?void 0:l.processingMessage)||ka,submittedMessage:(l==null?void 0:l.submittedMessage)||b0,transactionDuration:l==null?void 0:l.transactionDuration})},clearTransactionsInfoForSessionId(n,o){o.payload!=null&&delete n[o.payload]},clearTransactionsInfo:()=>La},extraReducers:n=>{n.addCase(Le,()=>La)}}),{clearTransactionsInfo:Mb,setTransactionsDisplayInfo:L0,clearTransactionsInfoForSessionId:Pa}=nf.actions,ci=nf.reducer});function Jn(n){return n!=null&&(O0(n)||B0(n))}function Qn(n){return n!=null&&(M0(n)||W0(n))}function jn(n){return n!=null&&(F0(n)||G0(n))}function Da(n){return n!=null&&U0(n)}function O0(n){return n!=null&&E0.includes(n)}function M0(n){return n!=null&&C0.includes(n)}function F0(n){return n!=null&&k0.includes(n)}function U0(n){return n!=null&&P0.includes(n)}function B0(n){return n!=null&&D0.includes(n)}function W0(n){return n!=null&&R0.includes(n)}function G0(n){return n!=null&&N0.includes(n)}var E0,C0,k0,P0,D0,R0,N0,er=W(()=>{"use strict";s();ge();E0=["sent"],C0=["success"],k0=["fail","cancelled","timedOut"],P0=["timedOut"],D0=["pending"],R0=["success"],N0=["fail","invalid"]});var rf,of,Fr,$0,sf,af,cf,H0,ui,V0,q0,qb,z0,pi,Ra,fi,di=W(()=>{"use strict";s();rf=require("@reduxjs/toolkit"),of=require("redux-persist");ge();er();ke();Fr={signedTransactions:{},transactionsToSign:null,signTransactionsError:null,signTransactionsCancelMessage:null,customTransactionInformationForSessionId:{}},$0={signWithoutSending:!1,sessionInformation:null,redirectAfterSign:!1},sf=(0,rf.createSlice)({name:"transactionsSlice",initialState:Fr,reducers:{moveTransactionsToSignedState:(n,o)=>{var E,N;let{sessionId:i,transactions:l,errorMessage:m,status:v,redirectRoute:S}=o.payload,k=((E=n.customTransactionInformationForSessionId)==null?void 0:E[i])||$0;n.signedTransactions[i]={transactions:l,status:v,errorMessage:m,redirectRoute:S,customTransactionInformation:k},((N=n==null?void 0:n.transactionsToSign)==null?void 0:N.sessionId)===i&&(n.transactionsToSign=Fr.transactionsToSign)},clearSignedTransaction:(n,o)=>{n.signedTransactions[o.payload]&&delete n.signedTransactions[o.payload]},clearTransactionToSign:n=>{n!=null&&n.transactionsToSign&&(n.transactionsToSign=null)},updateSignedTransaction:(n,o)=>{n.signedTransactions=O(O({},n.signedTransactions),o.payload)},updateSignedTransactions:(n,o)=>{let{sessionId:i,status:l,errorMessage:m,transactions:v}=o.payload;n.signedTransactions[i]!=null&&(n.signedTransactions[i].status=l,m!=null&&(n.signedTransactions[i].errorMessage=m),v!=null&&(n.signedTransactions[i].transactions=v))},updateSignedTransactionStatus:(n,o)=>{var k,E,N,G,M,ce;let{sessionId:i,status:l,errorMessage:m,transactionHash:v}=o.payload,S=(E=(k=n.signedTransactions)==null?void 0:k[i])==null?void 0:E.transactions;if(S!=null){n.signedTransactions[i].transactions=S.map(_e=>_e.hash===v?Q(O({},_e),{status:l,errorMessage:m}):_e);let pe=(G=(N=n.signedTransactions[i])==null?void 0:N.transactions)==null?void 0:G.every(_e=>Qn(_e.status)),me=(ce=(M=n.signedTransactions[i])==null?void 0:M.transactions)==null?void 0:ce.every(_e=>jn(_e.status));pe&&(n.signedTransactions[i].status="success"),me&&(n.signedTransactions[i].status="fail")}},setTransactionsToSign:(n,o)=>{n.transactionsToSign=o.payload;let{sessionId:i,customTransactionInformation:l}=o.payload;n.customTransactionInformationForSessionId[i]=l,n.signTransactionsError=null},clearAllTransactionsToSign:n=>{n.transactionsToSign=Fr.transactionsToSign,n.signTransactionsError=null},clearAllSignedTransactions:n=>{n.signedTransactions=Fr.signedTransactions},setSignTransactionsError:(n,o)=>{n.signTransactionsError=o.payload},setSignTransactionsCancelMessage:(n,o)=>{n.signTransactionsCancelMessage=o.payload}},extraReducers:n=>{n.addCase(Le,()=>Fr),n.addCase(of.REHYDRATE,(o,i)=>{var S;if(o.signTransactionsCancelMessage=null,!((S=i.payload)!=null&&S.transactions))return;let{signedTransactions:l,customTransactionInformationForSessionId:m}=i.payload.transactions,v=Object.entries(l).reduce((k,[E,N])=>{let G=new Date(E),M=new Date;return M.setHours(M.getHours()+5),M-G>0||(k[E]=N),k},{});m!=null&&(o.customTransactionInformationForSessionId=m),l!=null&&(o.signedTransactions=v)})}}),{updateSignedTransactionStatus:af,updateSignedTransactions:cf,setTransactionsToSign:H0,clearAllTransactionsToSign:ui,clearAllSignedTransactions:V0,clearSignedTransaction:q0,clearTransactionToSign:qb,setSignTransactionsError:z0,setSignTransactionsCancelMessage:pi,moveTransactionsToSignedState:Ra}=sf.actions,fi=sf.reducer});var ae=W(()=>{"use strict";s();Jo();jo();ti();ri();ii();ai();li();di()});var Na=W(()=>{"use strict";s()});var df,ff,gf,mL,TL,hL,yL,xL,SL,mf,Tf=W(()=>{"use strict";s();df=require("@reduxjs/toolkit");ke();ff={visible:!1,modal:{showHeader:!0,showFooter:!1,headerText:"",footerText:""}},gf=(0,df.createSlice)({name:"dappModalsSlice",initialState:ff,reducers:{setDappModalVisibility:(n,o)=>{n.visible=o.payload},setDappModalHeaderVisibility:(n,o)=>{n.modal.showHeader=o.payload},setDappModalFooterVisibility:(n,o)=>{n.modal.showFooter=o.payload},setDappModalHeaderText:(n,o)=>{n.modal.headerText=o.payload},setDappModalFooterText:(n,o)=>{n.modal.footerText=o.payload},setDappModalConfig:(n,o)=>{n.modal=O({},o.payload)}},extraReducers:n=>{n.addCase(Le,()=>ff)}}),{setDappModalVisibility:mL,setDappModalHeaderVisibility:TL,setDappModalFooterVisibility:hL,setDappModalHeaderText:yL,setDappModalFooterText:xL,setDappModalConfig:SL}=gf.actions,mf=gf.reducer});var hf,X0,J0,_n,hi=W(()=>{"use strict";s();hf=require("@reduxjs/toolkit");Na();Jo();Tf();jo();ti();ri();ii();ai();li();di();X0={["account"]:Xo,["dappModal"]:mf,["loginInfo"]:Qo,["modals"]:ei,["networkConfig"]:ni,["signedMessageInfo"]:oi,["toasts"]:si,["transactionsInfo"]:ci,["transactions"]:fi},J0=(n={})=>(0,hf.combineReducers)(O(O({},X0),n)),_n=J0});var vf={};hn(vf,{default:()=>fw,sessionStorageReducers:()=>Oa});function rn(n,o=[]){return{key:n,version:1,storage:xf.default,blacklist:o}}var Ze,yf,xf,Q0,Br,j0,ew,tw,nw,rw,ow,iw,sw,aw,Sf,cw,Oa,lw,uw,pw,fw,wf=W(()=>{"use strict";s();Ze=require("redux-persist"),yf=V(require("redux-persist/lib/storage")),xf=V(require("redux-persist/lib/storage/session"));hi();ae();Jo();jo();ti();ri();ii();ai();li();di();Na();Q0={persistReducersStorageType:"localStorage"},Br={["account"]:"sdk-dapp-account",["loginInfo"]:"sdk-dapp-login-info",["modals"]:"sdk-dapp-modals",["networkConfig"]:"sdk-dapp-network-config"},j0=rn(Br["account"]),ew=rn(Br["loginInfo"]),tw=rn(Br["modals"]),nw=rn(Br["networkConfig"]),rw={2:n=>Q(O({},n),{networkConfig:Ia})};ow=rn("sdk-dapp-transactionsInfo"),iw=rn("sdk-dapp-transactions",["transactionsToSign"]),sw=rn("sdk-dapp-toasts"),aw=rn("sdk-dapp-signedMessageInfo"),Sf={key:"sdk-dapp-store",version:2,storage:yf.default,whitelist:Object.keys(Br),migrate:(0,Ze.createMigrate)(rw,{debug:!1})},cw=Q(O({},Sf),{whitelist:[]}),Oa={["toasts"]:(0,Ze.persistReducer)(sw,si),["transactions"]:(0,Ze.persistReducer)(iw,fi),["transactionsInfo"]:(0,Ze.persistReducer)(ow,ci),["signedMessageInfo"]:(0,Ze.persistReducer)(aw,oi)},lw=Q(O({},Oa),{["account"]:(0,Ze.persistReducer)(j0,Xo),["loginInfo"]:(0,Ze.persistReducer)(ew,Qo),["modals"]:(0,Ze.persistReducer)(tw,ei),["networkConfig"]:(0,Ze.persistReducer)(nw,ni)}),uw=Q0.persistReducersStorageType==="localStorage",pw=uw?(0,Ze.persistReducer)(Sf,_n(Oa)):(0,Ze.persistReducer)(cw,_n(lw)),fw=pw});var Af={};hn(Af,{default:()=>dw});var dw,If=W(()=>{"use strict";s();hi();dw=_n()});var _f={};hn(_f,{default:()=>mw});var st,gw,mw,bf=W(()=>{"use strict";s();st=require("redux-persist"),gw=[st.FLUSH,st.REHYDRATE,st.PAUSE,st.PERSIST,st.PURGE,st.REGISTER],mw=gw});var Cf={};hn(Cf,{default:()=>Ef});function Ef(n){return(0,Lf.persistStore)(n)}var Lf,kf=W(()=>{"use strict";s();Lf=require("redux-persist")});var _d=kr((or,Hr)=>{s();(function(){var n,o="4.17.21",i=200,l="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",m="Expected a function",v="Invalid `variable` option passed into `_.template`",S="__lodash_hash_undefined__",k=500,E="__lodash_placeholder__",N=1,G=2,M=4,ce=1,pe=2,me=1,_e=2,ic=4,mt=8,Ln=16,Tt=32,En=64,Lt=128,sr=256,Ci=512,Dd=30,Rd="...",Nd=800,Od=16,sc=1,Md=2,Fd=3,an=1/0,qt=9007199254740991,Ud=17976931348623157e292,qr=0/0,ht=4294967295,Bd=ht-1,Wd=ht>>>1,Gd=[["ary",Lt],["bind",me],["bindKey",_e],["curry",mt],["curryRight",Ln],["flip",Ci],["partial",Tt],["partialRight",En],["rearg",sr]],Cn="[object Arguments]",zr="[object Array]",$d="[object AsyncFunction]",ar="[object Boolean]",cr="[object Date]",Hd="[object DOMException]",Kr="[object Error]",Yr="[object Function]",ac="[object GeneratorFunction]",at="[object Map]",lr="[object Number]",Vd="[object Null]",Et="[object Object]",cc="[object Promise]",qd="[object Proxy]",ur="[object RegExp]",ct="[object Set]",pr="[object String]",Zr="[object Symbol]",zd="[object Undefined]",fr="[object WeakMap]",Kd="[object WeakSet]",dr="[object ArrayBuffer]",kn="[object DataView]",ki="[object Float32Array]",Pi="[object Float64Array]",Di="[object Int8Array]",Ri="[object Int16Array]",Ni="[object Int32Array]",Oi="[object Uint8Array]",Mi="[object Uint8ClampedArray]",Fi="[object Uint16Array]",Ui="[object Uint32Array]",Yd=/\b__p \+= '';/g,Zd=/\b(__p \+=) '' \+/g,Xd=/(__e\(.*?\)|\b__t\)) \+\n'';/g,lc=/&(?:amp|lt|gt|quot|#39);/g,uc=/[&<>"']/g,Jd=RegExp(lc.source),Qd=RegExp(uc.source),jd=/<%-([\s\S]+?)%>/g,eg=/<%([\s\S]+?)%>/g,pc=/<%=([\s\S]+?)%>/g,tg=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,ng=/^\w*$/,rg=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Bi=/[\\^$.*+?()[\]{}|]/g,og=RegExp(Bi.source),Wi=/^\s+/,ig=/\s/,sg=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,ag=/\{\n\/\* \[wrapped with (.+)\] \*/,cg=/,? & /,lg=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,ug=/[()=,{}\[\]\/\s]/,pg=/\\(\\)?/g,fg=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,fc=/\w*$/,dg=/^[-+]0x[0-9a-f]+$/i,gg=/^0b[01]+$/i,mg=/^\[object .+?Constructor\]$/,Tg=/^0o[0-7]+$/i,hg=/^(?:0|[1-9]\d*)$/,yg=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Xr=/($^)/,xg=/['\n\r\u2028\u2029\\]/g,Jr="\\ud800-\\udfff",Sg="\\u0300-\\u036f",vg="\\ufe20-\\ufe2f",wg="\\u20d0-\\u20ff",dc=Sg+vg+wg,gc="\\u2700-\\u27bf",mc="a-z\\xdf-\\xf6\\xf8-\\xff",Ag="\\xac\\xb1\\xd7\\xf7",Ig="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",_g="\\u2000-\\u206f",bg=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",Tc="A-Z\\xc0-\\xd6\\xd8-\\xde",hc="\\ufe0e\\ufe0f",yc=Ag+Ig+_g+bg,Gi="['\u2019]",Lg="["+Jr+"]",xc="["+yc+"]",Qr="["+dc+"]",Sc="\\d+",Eg="["+gc+"]",vc="["+mc+"]",wc="[^"+Jr+yc+Sc+gc+mc+Tc+"]",$i="\\ud83c[\\udffb-\\udfff]",Cg="(?:"+Qr+"|"+$i+")",Ac="[^"+Jr+"]",Hi="(?:\\ud83c[\\udde6-\\uddff]){2}",Vi="[\\ud800-\\udbff][\\udc00-\\udfff]",Pn="["+Tc+"]",Ic="\\u200d",_c="(?:"+vc+"|"+wc+")",kg="(?:"+Pn+"|"+wc+")",bc="(?:"+Gi+"(?:d|ll|m|re|s|t|ve))?",Lc="(?:"+Gi+"(?:D|LL|M|RE|S|T|VE))?",Ec=Cg+"?",Cc="["+hc+"]?",Pg="(?:"+Ic+"(?:"+[Ac,Hi,Vi].join("|")+")"+Cc+Ec+")*",Dg="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Rg="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",kc=Cc+Ec+Pg,Ng="(?:"+[Eg,Hi,Vi].join("|")+")"+kc,Og="(?:"+[Ac+Qr+"?",Qr,Hi,Vi,Lg].join("|")+")",Mg=RegExp(Gi,"g"),Fg=RegExp(Qr,"g"),qi=RegExp($i+"(?="+$i+")|"+Og+kc,"g"),Ug=RegExp([Pn+"?"+vc+"+"+bc+"(?="+[xc,Pn,"$"].join("|")+")",kg+"+"+Lc+"(?="+[xc,Pn+_c,"$"].join("|")+")",Pn+"?"+_c+"+"+bc,Pn+"+"+Lc,Rg,Dg,Sc,Ng].join("|"),"g"),Bg=RegExp("["+Ic+Jr+dc+hc+"]"),Wg=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,Gg=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],$g=-1,le={};le[ki]=le[Pi]=le[Di]=le[Ri]=le[Ni]=le[Oi]=le[Mi]=le[Fi]=le[Ui]=!0,le[Cn]=le[zr]=le[dr]=le[ar]=le[kn]=le[cr]=le[Kr]=le[Yr]=le[at]=le[lr]=le[Et]=le[ur]=le[ct]=le[pr]=le[fr]=!1;var ie={};ie[Cn]=ie[zr]=ie[dr]=ie[kn]=ie[ar]=ie[cr]=ie[ki]=ie[Pi]=ie[Di]=ie[Ri]=ie[Ni]=ie[at]=ie[lr]=ie[Et]=ie[ur]=ie[ct]=ie[pr]=ie[Zr]=ie[Oi]=ie[Mi]=ie[Fi]=ie[Ui]=!0,ie[Kr]=ie[Yr]=ie[fr]=!1;var Hg={\u00C0:"A",\u00C1:"A",\u00C2:"A",\u00C3:"A",\u00C4:"A",\u00C5:"A",\u00E0:"a",\u00E1:"a",\u00E2:"a",\u00E3:"a",\u00E4:"a",\u00E5:"a",\u00C7:"C",\u00E7:"c",\u00D0:"D",\u00F0:"d",\u00C8:"E",\u00C9:"E",\u00CA:"E",\u00CB:"E",\u00E8:"e",\u00E9:"e",\u00EA:"e",\u00EB:"e",\u00CC:"I",\u00CD:"I",\u00CE:"I",\u00CF:"I",\u00EC:"i",\u00ED:"i",\u00EE:"i",\u00EF:"i",\u00D1:"N",\u00F1:"n",\u00D2:"O",\u00D3:"O",\u00D4:"O",\u00D5:"O",\u00D6:"O",\u00D8:"O",\u00F2:"o",\u00F3:"o",\u00F4:"o",\u00F5:"o",\u00F6:"o",\u00F8:"o",\u00D9:"U",\u00DA:"U",\u00DB:"U",\u00DC:"U",\u00F9:"u",\u00FA:"u",\u00FB:"u",\u00FC:"u",\u00DD:"Y",\u00FD:"y",\u00FF:"y",\u00C6:"Ae",\u00E6:"ae",\u00DE:"Th",\u00FE:"th",\u00DF:"ss",\u0100:"A",\u0102:"A",\u0104:"A",\u0101:"a",\u0103:"a",\u0105:"a",\u0106:"C",\u0108:"C",\u010A:"C",\u010C:"C",\u0107:"c",\u0109:"c",\u010B:"c",\u010D:"c",\u010E:"D",\u0110:"D",\u010F:"d",\u0111:"d",\u0112:"E",\u0114:"E",\u0116:"E",\u0118:"E",\u011A:"E",\u0113:"e",\u0115:"e",\u0117:"e",\u0119:"e",\u011B:"e",\u011C:"G",\u011E:"G",\u0120:"G",\u0122:"G",\u011D:"g",\u011F:"g",\u0121:"g",\u0123:"g",\u0124:"H",\u0126:"H",\u0125:"h",\u0127:"h",\u0128:"I",\u012A:"I",\u012C:"I",\u012E:"I",\u0130:"I",\u0129:"i",\u012B:"i",\u012D:"i",\u012F:"i",\u0131:"i",\u0134:"J",\u0135:"j",\u0136:"K",\u0137:"k",\u0138:"k",\u0139:"L",\u013B:"L",\u013D:"L",\u013F:"L",\u0141:"L",\u013A:"l",\u013C:"l",\u013E:"l",\u0140:"l",\u0142:"l",\u0143:"N",\u0145:"N",\u0147:"N",\u014A:"N",\u0144:"n",\u0146:"n",\u0148:"n",\u014B:"n",\u014C:"O",\u014E:"O",\u0150:"O",\u014D:"o",\u014F:"o",\u0151:"o",\u0154:"R",\u0156:"R",\u0158:"R",\u0155:"r",\u0157:"r",\u0159:"r",\u015A:"S",\u015C:"S",\u015E:"S",\u0160:"S",\u015B:"s",\u015D:"s",\u015F:"s",\u0161:"s",\u0162:"T",\u0164:"T",\u0166:"T",\u0163:"t",\u0165:"t",\u0167:"t",\u0168:"U",\u016A:"U",\u016C:"U",\u016E:"U",\u0170:"U",\u0172:"U",\u0169:"u",\u016B:"u",\u016D:"u",\u016F:"u",\u0171:"u",\u0173:"u",\u0174:"W",\u0175:"w",\u0176:"Y",\u0177:"y",\u0178:"Y",\u0179:"Z",\u017B:"Z",\u017D:"Z",\u017A:"z",\u017C:"z",\u017E:"z",\u0132:"IJ",\u0133:"ij",\u0152:"Oe",\u0153:"oe",\u0149:"'n",\u017F:"s"},Vg={"&":"&","<":"<",">":">",'"':""","'":"'"},qg={"&":"&","<":"<",">":">",""":'"',"'":"'"},zg={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},Kg=parseFloat,Yg=parseInt,Pc=typeof f=="object"&&f&&f.Object===Object&&f,Zg=typeof self=="object"&&self&&self.Object===Object&&self,ve=Pc||Zg||Function("return this")(),zi=typeof or=="object"&&or&&!or.nodeType&&or,cn=zi&&typeof Hr=="object"&&Hr&&!Hr.nodeType&&Hr,Dc=cn&&cn.exports===zi,Ki=Dc&&Pc.process,Je=function(){try{var y=cn&&cn.require&&cn.require("util").types;return y||Ki&&Ki.binding&&Ki.binding("util")}catch(A){}}(),Rc=Je&&Je.isArrayBuffer,Nc=Je&&Je.isDate,Oc=Je&&Je.isMap,Mc=Je&&Je.isRegExp,Fc=Je&&Je.isSet,Uc=Je&&Je.isTypedArray;function $e(y,A,w){switch(w.length){case 0:return y.call(A);case 1:return y.call(A,w[0]);case 2:return y.call(A,w[0],w[1]);case 3:return y.call(A,w[0],w[1],w[2])}return y.apply(A,w)}function Xg(y,A,w,P){for(var $=-1,j=y==null?0:y.length;++$<j;){var xe=y[$];A(P,xe,w(xe),y)}return P}function Qe(y,A){for(var w=-1,P=y==null?0:y.length;++w<P&&A(y[w],w,y)!==!1;);return y}function Jg(y,A){for(var w=y==null?0:y.length;w--&&A(y[w],w,y)!==!1;);return y}function Bc(y,A){for(var w=-1,P=y==null?0:y.length;++w<P;)if(!A(y[w],w,y))return!1;return!0}function zt(y,A){for(var w=-1,P=y==null?0:y.length,$=0,j=[];++w<P;){var xe=y[w];A(xe,w,y)&&(j[$++]=xe)}return j}function jr(y,A){var w=y==null?0:y.length;return!!w&&Dn(y,A,0)>-1}function Yi(y,A,w){for(var P=-1,$=y==null?0:y.length;++P<$;)if(w(A,y[P]))return!0;return!1}function ue(y,A){for(var w=-1,P=y==null?0:y.length,$=Array(P);++w<P;)$[w]=A(y[w],w,y);return $}function Kt(y,A){for(var w=-1,P=A.length,$=y.length;++w<P;)y[$+w]=A[w];return y}function Zi(y,A,w,P){var $=-1,j=y==null?0:y.length;for(P&&j&&(w=y[++$]);++$<j;)w=A(w,y[$],$,y);return w}function Qg(y,A,w,P){var $=y==null?0:y.length;for(P&&$&&(w=y[--$]);$--;)w=A(w,y[$],$,y);return w}function Xi(y,A){for(var w=-1,P=y==null?0:y.length;++w<P;)if(A(y[w],w,y))return!0;return!1}var jg=Ji("length");function em(y){return y.split("")}function tm(y){return y.match(lg)||[]}function Wc(y,A,w){var P;return w(y,function($,j,xe){if(A($,j,xe))return P=j,!1}),P}function eo(y,A,w,P){for(var $=y.length,j=w+(P?1:-1);P?j--:++j<$;)if(A(y[j],j,y))return j;return-1}function Dn(y,A,w){return A===A?dm(y,A,w):eo(y,Gc,w)}function nm(y,A,w,P){for(var $=w-1,j=y.length;++$<j;)if(P(y[$],A))return $;return-1}function Gc(y){return y!==y}function $c(y,A){var w=y==null?0:y.length;return w?ji(y,A)/w:qr}function Ji(y){return function(A){return A==null?n:A[y]}}function Qi(y){return function(A){return y==null?n:y[A]}}function Hc(y,A,w,P,$){return $(y,function(j,xe,oe){w=P?(P=!1,j):A(w,j,xe,oe)}),w}function rm(y,A){var w=y.length;for(y.sort(A);w--;)y[w]=y[w].value;return y}function ji(y,A){for(var w,P=-1,$=y.length;++P<$;){var j=A(y[P]);j!==n&&(w=w===n?j:w+j)}return w}function es(y,A){for(var w=-1,P=Array(y);++w<y;)P[w]=A(w);return P}function om(y,A){return ue(A,function(w){return[w,y[w]]})}function Vc(y){return y&&y.slice(0,Yc(y)+1).replace(Wi,"")}function He(y){return function(A){return y(A)}}function ts(y,A){return ue(A,function(w){return y[w]})}function gr(y,A){return y.has(A)}function qc(y,A){for(var w=-1,P=y.length;++w<P&&Dn(A,y[w],0)>-1;);return w}function zc(y,A){for(var w=y.length;w--&&Dn(A,y[w],0)>-1;);return w}function im(y,A){for(var w=y.length,P=0;w--;)y[w]===A&&++P;return P}var sm=Qi(Hg),am=Qi(Vg);function cm(y){return"\\"+zg[y]}function lm(y,A){return y==null?n:y[A]}function Rn(y){return Bg.test(y)}function um(y){return Wg.test(y)}function pm(y){for(var A,w=[];!(A=y.next()).done;)w.push(A.value);return w}function ns(y){var A=-1,w=Array(y.size);return y.forEach(function(P,$){w[++A]=[$,P]}),w}function Kc(y,A){return function(w){return y(A(w))}}function Yt(y,A){for(var w=-1,P=y.length,$=0,j=[];++w<P;){var xe=y[w];(xe===A||xe===E)&&(y[w]=E,j[$++]=w)}return j}function to(y){var A=-1,w=Array(y.size);return y.forEach(function(P){w[++A]=P}),w}function fm(y){var A=-1,w=Array(y.size);return y.forEach(function(P){w[++A]=[P,P]}),w}function dm(y,A,w){for(var P=w-1,$=y.length;++P<$;)if(y[P]===A)return P;return-1}function gm(y,A,w){for(var P=w+1;P--;)if(y[P]===A)return P;return P}function Nn(y){return Rn(y)?Tm(y):jg(y)}function lt(y){return Rn(y)?hm(y):em(y)}function Yc(y){for(var A=y.length;A--&&ig.test(y.charAt(A)););return A}var mm=Qi(qg);function Tm(y){for(var A=qi.lastIndex=0;qi.test(y);)++A;return A}function hm(y){return y.match(qi)||[]}function ym(y){return y.match(Ug)||[]}var xm=function y(A){A=A==null?ve:Zt.defaults(ve.Object(),A,Zt.pick(ve,Gg));var w=A.Array,P=A.Date,$=A.Error,j=A.Function,xe=A.Math,oe=A.Object,rs=A.RegExp,Sm=A.String,je=A.TypeError,no=w.prototype,vm=j.prototype,On=oe.prototype,ro=A["__core-js_shared__"],oo=vm.toString,re=On.hasOwnProperty,wm=0,Zc=function(){var e=/[^.]+$/.exec(ro&&ro.keys&&ro.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}(),io=On.toString,Am=oo.call(oe),Im=ve._,_m=rs("^"+oo.call(re).replace(Bi,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),so=Dc?A.Buffer:n,Xt=A.Symbol,ao=A.Uint8Array,Xc=so?so.allocUnsafe:n,co=Kc(oe.getPrototypeOf,oe),Jc=oe.create,Qc=On.propertyIsEnumerable,lo=no.splice,jc=Xt?Xt.isConcatSpreadable:n,mr=Xt?Xt.iterator:n,ln=Xt?Xt.toStringTag:n,uo=function(){try{var e=gn(oe,"defineProperty");return e({},"",{}),e}catch(t){}}(),bm=A.clearTimeout!==ve.clearTimeout&&A.clearTimeout,Lm=P&&P.now!==ve.Date.now&&P.now,Em=A.setTimeout!==ve.setTimeout&&A.setTimeout,po=xe.ceil,fo=xe.floor,os=oe.getOwnPropertySymbols,Cm=so?so.isBuffer:n,el=A.isFinite,km=no.join,Pm=Kc(oe.keys,oe),Se=xe.max,Ee=xe.min,Dm=P.now,Rm=A.parseInt,tl=xe.random,Nm=no.reverse,is=gn(A,"DataView"),Tr=gn(A,"Map"),ss=gn(A,"Promise"),Mn=gn(A,"Set"),hr=gn(A,"WeakMap"),yr=gn(oe,"create"),go=hr&&new hr,Fn={},Om=mn(is),Mm=mn(Tr),Fm=mn(ss),Um=mn(Mn),Bm=mn(hr),mo=Xt?Xt.prototype:n,xr=mo?mo.valueOf:n,nl=mo?mo.toString:n;function u(e){if(de(e)&&!H(e)&&!(e instanceof X)){if(e instanceof et)return e;if(re.call(e,"__wrapped__"))return ru(e)}return new et(e)}var Un=function(){function e(){}return function(t){if(!fe(t))return{};if(Jc)return Jc(t);e.prototype=t;var r=new e;return e.prototype=n,r}}();function To(){}function et(e,t){this.__wrapped__=e,this.__actions__=[],this.__chain__=!!t,this.__index__=0,this.__values__=n}u.templateSettings={escape:jd,evaluate:eg,interpolate:pc,variable:"",imports:{_:u}},u.prototype=To.prototype,u.prototype.constructor=u,et.prototype=Un(To.prototype),et.prototype.constructor=et;function X(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=ht,this.__views__=[]}function Wm(){var e=new X(this.__wrapped__);return e.__actions__=Oe(this.__actions__),e.__dir__=this.__dir__,e.__filtered__=this.__filtered__,e.__iteratees__=Oe(this.__iteratees__),e.__takeCount__=this.__takeCount__,e.__views__=Oe(this.__views__),e}function Gm(){if(this.__filtered__){var e=new X(this);e.__dir__=-1,e.__filtered__=!0}else e=this.clone(),e.__dir__*=-1;return e}function $m(){var e=this.__wrapped__.value(),t=this.__dir__,r=H(e),a=t<0,c=r?e.length:0,p=eh(0,c,this.__views__),T=p.start,h=p.end,x=h-T,_=a?h:T-1,b=this.__iteratees__,L=b.length,C=0,R=Ee(x,this.__takeCount__);if(!r||!a&&c==x&&R==x)return bl(e,this.__actions__);var U=[];e:for(;x--&&C<R;){_+=t;for(var z=-1,B=e[_];++z<L;){var Z=b[z],J=Z.iteratee,ze=Z.type,Ne=J(B);if(ze==Md)B=Ne;else if(!Ne){if(ze==sc)continue e;break e}}U[C++]=B}return U}X.prototype=Un(To.prototype),X.prototype.constructor=X;function un(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var a=e[t];this.set(a[0],a[1])}}function Hm(){this.__data__=yr?yr(null):{},this.size=0}function Vm(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}function qm(e){var t=this.__data__;if(yr){var r=t[e];return r===S?n:r}return re.call(t,e)?t[e]:n}function zm(e){var t=this.__data__;return yr?t[e]!==n:re.call(t,e)}function Km(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=yr&&t===n?S:t,this}un.prototype.clear=Hm,un.prototype.delete=Vm,un.prototype.get=qm,un.prototype.has=zm,un.prototype.set=Km;function Ct(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var a=e[t];this.set(a[0],a[1])}}function Ym(){this.__data__=[],this.size=0}function Zm(e){var t=this.__data__,r=ho(t,e);if(r<0)return!1;var a=t.length-1;return r==a?t.pop():lo.call(t,r,1),--this.size,!0}function Xm(e){var t=this.__data__,r=ho(t,e);return r<0?n:t[r][1]}function Jm(e){return ho(this.__data__,e)>-1}function Qm(e,t){var r=this.__data__,a=ho(r,e);return a<0?(++this.size,r.push([e,t])):r[a][1]=t,this}Ct.prototype.clear=Ym,Ct.prototype.delete=Zm,Ct.prototype.get=Xm,Ct.prototype.has=Jm,Ct.prototype.set=Qm;function kt(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var a=e[t];this.set(a[0],a[1])}}function jm(){this.size=0,this.__data__={hash:new un,map:new(Tr||Ct),string:new un}}function eT(e){var t=Co(this,e).delete(e);return this.size-=t?1:0,t}function tT(e){return Co(this,e).get(e)}function nT(e){return Co(this,e).has(e)}function rT(e,t){var r=Co(this,e),a=r.size;return r.set(e,t),this.size+=r.size==a?0:1,this}kt.prototype.clear=jm,kt.prototype.delete=eT,kt.prototype.get=tT,kt.prototype.has=nT,kt.prototype.set=rT;function pn(e){var t=-1,r=e==null?0:e.length;for(this.__data__=new kt;++t<r;)this.add(e[t])}function oT(e){return this.__data__.set(e,S),this}function iT(e){return this.__data__.has(e)}pn.prototype.add=pn.prototype.push=oT,pn.prototype.has=iT;function ut(e){var t=this.__data__=new Ct(e);this.size=t.size}function sT(){this.__data__=new Ct,this.size=0}function aT(e){var t=this.__data__,r=t.delete(e);return this.size=t.size,r}function cT(e){return this.__data__.get(e)}function lT(e){return this.__data__.has(e)}function uT(e,t){var r=this.__data__;if(r instanceof Ct){var a=r.__data__;if(!Tr||a.length<i-1)return a.push([e,t]),this.size=++r.size,this;r=this.__data__=new kt(a)}return r.set(e,t),this.size=r.size,this}ut.prototype.clear=sT,ut.prototype.delete=aT,ut.prototype.get=cT,ut.prototype.has=lT,ut.prototype.set=uT;function rl(e,t){var r=H(e),a=!r&&Tn(e),c=!r&&!a&&tn(e),p=!r&&!a&&!c&&$n(e),T=r||a||c||p,h=T?es(e.length,Sm):[],x=h.length;for(var _ in e)(t||re.call(e,_))&&!(T&&(_=="length"||c&&(_=="offset"||_=="parent")||p&&(_=="buffer"||_=="byteLength"||_=="byteOffset")||Nt(_,x)))&&h.push(_);return h}function ol(e){var t=e.length;return t?e[hs(0,t-1)]:n}function pT(e,t){return ko(Oe(e),fn(t,0,e.length))}function fT(e){return ko(Oe(e))}function as(e,t,r){(r!==n&&!pt(e[t],r)||r===n&&!(t in e))&&Pt(e,t,r)}function Sr(e,t,r){var a=e[t];(!(re.call(e,t)&&pt(a,r))||r===n&&!(t in e))&&Pt(e,t,r)}function ho(e,t){for(var r=e.length;r--;)if(pt(e[r][0],t))return r;return-1}function dT(e,t,r,a){return Jt(e,function(c,p,T){t(a,c,r(c),T)}),a}function il(e,t){return e&&xt(t,we(t),e)}function gT(e,t){return e&&xt(t,Fe(t),e)}function Pt(e,t,r){t=="__proto__"&&uo?uo(e,t,{configurable:!0,enumerable:!0,value:r,writable:!0}):e[t]=r}function cs(e,t){for(var r=-1,a=t.length,c=w(a),p=e==null;++r<a;)c[r]=p?n:$s(e,t[r]);return c}function fn(e,t,r){return e===e&&(r!==n&&(e=e<=r?e:r),t!==n&&(e=e>=t?e:t)),e}function tt(e,t,r,a,c,p){var T,h=t&N,x=t&G,_=t&M;if(r&&(T=c?r(e,a,c,p):r(e)),T!==n)return T;if(!fe(e))return e;var b=H(e);if(b){if(T=nh(e),!h)return Oe(e,T)}else{var L=Ce(e),C=L==Yr||L==ac;if(tn(e))return Cl(e,h);if(L==Et||L==Cn||C&&!c){if(T=x||C?{}:Yl(e),!h)return x?qT(e,gT(T,e)):VT(e,il(T,e))}else{if(!ie[L])return c?e:{};T=rh(e,L,h)}}p||(p=new ut);var R=p.get(e);if(R)return R;p.set(e,T),Au(e)?e.forEach(function(B){T.add(tt(B,t,r,B,e,p))}):vu(e)&&e.forEach(function(B,Z){T.set(Z,tt(B,t,r,Z,e,p))});var U=_?x?Es:Ls:x?Fe:we,z=b?n:U(e);return Qe(z||e,function(B,Z){z&&(Z=B,B=e[Z]),Sr(T,Z,tt(B,t,r,Z,e,p))}),T}function mT(e){var t=we(e);return function(r){return sl(r,e,t)}}function sl(e,t,r){var a=r.length;if(e==null)return!a;for(e=oe(e);a--;){var c=r[a],p=t[c],T=e[c];if(T===n&&!(c in e)||!p(T))return!1}return!0}function al(e,t,r){if(typeof e!="function")throw new je(m);return Lr(function(){e.apply(n,r)},t)}function vr(e,t,r,a){var c=-1,p=jr,T=!0,h=e.length,x=[],_=t.length;if(!h)return x;r&&(t=ue(t,He(r))),a?(p=Yi,T=!1):t.length>=i&&(p=gr,T=!1,t=new pn(t));e:for(;++c<h;){var b=e[c],L=r==null?b:r(b);if(b=a||b!==0?b:0,T&&L===L){for(var C=_;C--;)if(t[C]===L)continue e;x.push(b)}else p(t,L,a)||x.push(b)}return x}var Jt=Nl(yt),cl=Nl(us,!0);function TT(e,t){var r=!0;return Jt(e,function(a,c,p){return r=!!t(a,c,p),r}),r}function yo(e,t,r){for(var a=-1,c=e.length;++a<c;){var p=e[a],T=t(p);if(T!=null&&(h===n?T===T&&!qe(T):r(T,h)))var h=T,x=p}return x}function hT(e,t,r,a){var c=e.length;for(r=q(r),r<0&&(r=-r>c?0:c+r),a=a===n||a>c?c:q(a),a<0&&(a+=c),a=r>a?0:_u(a);r<a;)e[r++]=t;return e}function ll(e,t){var r=[];return Jt(e,function(a,c,p){t(a,c,p)&&r.push(a)}),r}function be(e,t,r,a,c){var p=-1,T=e.length;for(r||(r=ih),c||(c=[]);++p<T;){var h=e[p];t>0&&r(h)?t>1?be(h,t-1,r,a,c):Kt(c,h):a||(c[c.length]=h)}return c}var ls=Ol(),ul=Ol(!0);function yt(e,t){return e&&ls(e,t,we)}function us(e,t){return e&&ul(e,t,we)}function xo(e,t){return zt(t,function(r){return Ot(e[r])})}function dn(e,t){t=jt(t,e);for(var r=0,a=t.length;e!=null&&r<a;)e=e[St(t[r++])];return r&&r==a?e:n}function pl(e,t,r){var a=t(e);return H(e)?a:Kt(a,r(e))}function De(e){return e==null?e===n?zd:Vd:ln&&ln in oe(e)?jT(e):fh(e)}function ps(e,t){return e>t}function yT(e,t){return e!=null&&re.call(e,t)}function xT(e,t){return e!=null&&t in oe(e)}function ST(e,t,r){return e>=Ee(t,r)&&e<Se(t,r)}function fs(e,t,r){for(var a=r?Yi:jr,c=e[0].length,p=e.length,T=p,h=w(p),x=1/0,_=[];T--;){var b=e[T];T&&t&&(b=ue(b,He(t))),x=Ee(b.length,x),h[T]=!r&&(t||c>=120&&b.length>=120)?new pn(T&&b):n}b=e[0];var L=-1,C=h[0];e:for(;++L<c&&_.length<x;){var R=b[L],U=t?t(R):R;if(R=r||R!==0?R:0,!(C?gr(C,U):a(_,U,r))){for(T=p;--T;){var z=h[T];if(!(z?gr(z,U):a(e[T],U,r)))continue e}C&&C.push(U),_.push(R)}}return _}function vT(e,t,r,a){return yt(e,function(c,p,T){t(a,r(c),p,T)}),a}function wr(e,t,r){t=jt(t,e),e=Ql(e,t);var a=e==null?e:e[St(rt(t))];return a==null?n:$e(a,e,r)}function fl(e){return de(e)&&De(e)==Cn}function wT(e){return de(e)&&De(e)==dr}function AT(e){return de(e)&&De(e)==cr}function Ar(e,t,r,a,c){return e===t?!0:e==null||t==null||!de(e)&&!de(t)?e!==e&&t!==t:IT(e,t,r,a,Ar,c)}function IT(e,t,r,a,c,p){var T=H(e),h=H(t),x=T?zr:Ce(e),_=h?zr:Ce(t);x=x==Cn?Et:x,_=_==Cn?Et:_;var b=x==Et,L=_==Et,C=x==_;if(C&&tn(e)){if(!tn(t))return!1;T=!0,b=!1}if(C&&!b)return p||(p=new ut),T||$n(e)?ql(e,t,r,a,c,p):JT(e,t,x,r,a,c,p);if(!(r&ce)){var R=b&&re.call(e,"__wrapped__"),U=L&&re.call(t,"__wrapped__");if(R||U){var z=R?e.value():e,B=U?t.value():t;return p||(p=new ut),c(z,B,r,a,p)}}return C?(p||(p=new ut),QT(e,t,r,a,c,p)):!1}function _T(e){return de(e)&&Ce(e)==at}function ds(e,t,r,a){var c=r.length,p=c,T=!a;if(e==null)return!p;for(e=oe(e);c--;){var h=r[c];if(T&&h[2]?h[1]!==e[h[0]]:!(h[0]in e))return!1}for(;++c<p;){h=r[c];var x=h[0],_=e[x],b=h[1];if(T&&h[2]){if(_===n&&!(x in e))return!1}else{var L=new ut;if(a)var C=a(_,b,x,e,t,L);if(!(C===n?Ar(b,_,ce|pe,a,L):C))return!1}}return!0}function dl(e){if(!fe(e)||ah(e))return!1;var t=Ot(e)?_m:mg;return t.test(mn(e))}function bT(e){return de(e)&&De(e)==ur}function LT(e){return de(e)&&Ce(e)==ct}function ET(e){return de(e)&&Mo(e.length)&&!!le[De(e)]}function gl(e){return typeof e=="function"?e:e==null?Ue:typeof e=="object"?H(e)?hl(e[0],e[1]):Tl(e):Mu(e)}function gs(e){if(!br(e))return Pm(e);var t=[];for(var r in oe(e))re.call(e,r)&&r!="constructor"&&t.push(r);return t}function CT(e){if(!fe(e))return ph(e);var t=br(e),r=[];for(var a in e)a=="constructor"&&(t||!re.call(e,a))||r.push(a);return r}function ms(e,t){return e<t}function ml(e,t){var r=-1,a=Me(e)?w(e.length):[];return Jt(e,function(c,p,T){a[++r]=t(c,p,T)}),a}function Tl(e){var t=ks(e);return t.length==1&&t[0][2]?Xl(t[0][0],t[0][1]):function(r){return r===e||ds(r,e,t)}}function hl(e,t){return Ds(e)&&Zl(t)?Xl(St(e),t):function(r){var a=$s(r,e);return a===n&&a===t?Hs(r,e):Ar(t,a,ce|pe)}}function So(e,t,r,a,c){e!==t&&ls(t,function(p,T){if(c||(c=new ut),fe(p))kT(e,t,T,r,So,a,c);else{var h=a?a(Ns(e,T),p,T+"",e,t,c):n;h===n&&(h=p),as(e,T,h)}},Fe)}function kT(e,t,r,a,c,p,T){var h=Ns(e,r),x=Ns(t,r),_=T.get(x);if(_){as(e,r,_);return}var b=p?p(h,x,r+"",e,t,T):n,L=b===n;if(L){var C=H(x),R=!C&&tn(x),U=!C&&!R&&$n(x);b=x,C||R||U?H(h)?b=h:Te(h)?b=Oe(h):R?(L=!1,b=Cl(x,!0)):U?(L=!1,b=kl(x,!0)):b=[]:Er(x)||Tn(x)?(b=h,Tn(h)?b=bu(h):(!fe(h)||Ot(h))&&(b=Yl(x))):L=!1}L&&(T.set(x,b),c(b,x,a,p,T),T.delete(x)),as(e,r,b)}function yl(e,t){var r=e.length;if(!!r)return t+=t<0?r:0,Nt(t,r)?e[t]:n}function xl(e,t,r){t.length?t=ue(t,function(p){return H(p)?function(T){return dn(T,p.length===1?p[0]:p)}:p}):t=[Ue];var a=-1;t=ue(t,He(F()));var c=ml(e,function(p,T,h){var x=ue(t,function(_){return _(p)});return{criteria:x,index:++a,value:p}});return rm(c,function(p,T){return HT(p,T,r)})}function PT(e,t){return Sl(e,t,function(r,a){return Hs(e,a)})}function Sl(e,t,r){for(var a=-1,c=t.length,p={};++a<c;){var T=t[a],h=dn(e,T);r(h,T)&&Ir(p,jt(T,e),h)}return p}function DT(e){return function(t){return dn(t,e)}}function Ts(e,t,r,a){var c=a?nm:Dn,p=-1,T=t.length,h=e;for(e===t&&(t=Oe(t)),r&&(h=ue(e,He(r)));++p<T;)for(var x=0,_=t[p],b=r?r(_):_;(x=c(h,b,x,a))>-1;)h!==e&&lo.call(h,x,1),lo.call(e,x,1);return e}function vl(e,t){for(var r=e?t.length:0,a=r-1;r--;){var c=t[r];if(r==a||c!==p){var p=c;Nt(c)?lo.call(e,c,1):Ss(e,c)}}return e}function hs(e,t){return e+fo(tl()*(t-e+1))}function RT(e,t,r,a){for(var c=-1,p=Se(po((t-e)/(r||1)),0),T=w(p);p--;)T[a?p:++c]=e,e+=r;return T}function ys(e,t){var r="";if(!e||t<1||t>qt)return r;do t%2&&(r+=e),t=fo(t/2),t&&(e+=e);while(t);return r}function Y(e,t){return Os(Jl(e,t,Ue),e+"")}function NT(e){return ol(Hn(e))}function OT(e,t){var r=Hn(e);return ko(r,fn(t,0,r.length))}function Ir(e,t,r,a){if(!fe(e))return e;t=jt(t,e);for(var c=-1,p=t.length,T=p-1,h=e;h!=null&&++c<p;){var x=St(t[c]),_=r;if(x==="__proto__"||x==="constructor"||x==="prototype")return e;if(c!=T){var b=h[x];_=a?a(b,x,h):n,_===n&&(_=fe(b)?b:Nt(t[c+1])?[]:{})}Sr(h,x,_),h=h[x]}return e}var wl=go?function(e,t){return go.set(e,t),e}:Ue,MT=uo?function(e,t){return uo(e,"toString",{configurable:!0,enumerable:!1,value:qs(t),writable:!0})}:Ue;function FT(e){return ko(Hn(e))}function nt(e,t,r){var a=-1,c=e.length;t<0&&(t=-t>c?0:c+t),r=r>c?c:r,r<0&&(r+=c),c=t>r?0:r-t>>>0,t>>>=0;for(var p=w(c);++a<c;)p[a]=e[a+t];return p}function UT(e,t){var r;return Jt(e,function(a,c,p){return r=t(a,c,p),!r}),!!r}function vo(e,t,r){var a=0,c=e==null?a:e.length;if(typeof t=="number"&&t===t&&c<=Wd){for(;a<c;){var p=a+c>>>1,T=e[p];T!==null&&!qe(T)&&(r?T<=t:T<t)?a=p+1:c=p}return c}return xs(e,t,Ue,r)}function xs(e,t,r,a){var c=0,p=e==null?0:e.length;if(p===0)return 0;t=r(t);for(var T=t!==t,h=t===null,x=qe(t),_=t===n;c<p;){var b=fo((c+p)/2),L=r(e[b]),C=L!==n,R=L===null,U=L===L,z=qe(L);if(T)var B=a||U;else _?B=U&&(a||C):h?B=U&&C&&(a||!R):x?B=U&&C&&!R&&(a||!z):R||z?B=!1:B=a?L<=t:L<t;B?c=b+1:p=b}return Ee(p,Bd)}function Al(e,t){for(var r=-1,a=e.length,c=0,p=[];++r<a;){var T=e[r],h=t?t(T):T;if(!r||!pt(h,x)){var x=h;p[c++]=T===0?0:T}}return p}function Il(e){return typeof e=="number"?e:qe(e)?qr:+e}function Ve(e){if(typeof e=="string")return e;if(H(e))return ue(e,Ve)+"";if(qe(e))return nl?nl.call(e):"";var t=e+"";return t=="0"&&1/e==-an?"-0":t}function Qt(e,t,r){var a=-1,c=jr,p=e.length,T=!0,h=[],x=h;if(r)T=!1,c=Yi;else if(p>=i){var _=t?null:ZT(e);if(_)return to(_);T=!1,c=gr,x=new pn}else x=t?[]:h;e:for(;++a<p;){var b=e[a],L=t?t(b):b;if(b=r||b!==0?b:0,T&&L===L){for(var C=x.length;C--;)if(x[C]===L)continue e;t&&x.push(L),h.push(b)}else c(x,L,r)||(x!==h&&x.push(L),h.push(b))}return h}function Ss(e,t){return t=jt(t,e),e=Ql(e,t),e==null||delete e[St(rt(t))]}function _l(e,t,r,a){return Ir(e,t,r(dn(e,t)),a)}function wo(e,t,r,a){for(var c=e.length,p=a?c:-1;(a?p--:++p<c)&&t(e[p],p,e););return r?nt(e,a?0:p,a?p+1:c):nt(e,a?p+1:0,a?c:p)}function bl(e,t){var r=e;return r instanceof X&&(r=r.value()),Zi(t,function(a,c){return c.func.apply(c.thisArg,Kt([a],c.args))},r)}function vs(e,t,r){var a=e.length;if(a<2)return a?Qt(e[0]):[];for(var c=-1,p=w(a);++c<a;)for(var T=e[c],h=-1;++h<a;)h!=c&&(p[c]=vr(p[c]||T,e[h],t,r));return Qt(be(p,1),t,r)}function Ll(e,t,r){for(var a=-1,c=e.length,p=t.length,T={};++a<c;){var h=a<p?t[a]:n;r(T,e[a],h)}return T}function ws(e){return Te(e)?e:[]}function As(e){return typeof e=="function"?e:Ue}function jt(e,t){return H(e)?e:Ds(e,t)?[e]:nu(te(e))}var BT=Y;function en(e,t,r){var a=e.length;return r=r===n?a:r,!t&&r>=a?e:nt(e,t,r)}var El=bm||function(e){return ve.clearTimeout(e)};function Cl(e,t){if(t)return e.slice();var r=e.length,a=Xc?Xc(r):new e.constructor(r);return e.copy(a),a}function Is(e){var t=new e.constructor(e.byteLength);return new ao(t).set(new ao(e)),t}function WT(e,t){var r=t?Is(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.byteLength)}function GT(e){var t=new e.constructor(e.source,fc.exec(e));return t.lastIndex=e.lastIndex,t}function $T(e){return xr?oe(xr.call(e)):{}}function kl(e,t){var r=t?Is(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.length)}function Pl(e,t){if(e!==t){var r=e!==n,a=e===null,c=e===e,p=qe(e),T=t!==n,h=t===null,x=t===t,_=qe(t);if(!h&&!_&&!p&&e>t||p&&T&&x&&!h&&!_||a&&T&&x||!r&&x||!c)return 1;if(!a&&!p&&!_&&e<t||_&&r&&c&&!a&&!p||h&&r&&c||!T&&c||!x)return-1}return 0}function HT(e,t,r){for(var a=-1,c=e.criteria,p=t.criteria,T=c.length,h=r.length;++a<T;){var x=Pl(c[a],p[a]);if(x){if(a>=h)return x;var _=r[a];return x*(_=="desc"?-1:1)}}return e.index-t.index}function Dl(e,t,r,a){for(var c=-1,p=e.length,T=r.length,h=-1,x=t.length,_=Se(p-T,0),b=w(x+_),L=!a;++h<x;)b[h]=t[h];for(;++c<T;)(L||c<p)&&(b[r[c]]=e[c]);for(;_--;)b[h++]=e[c++];return b}function Rl(e,t,r,a){for(var c=-1,p=e.length,T=-1,h=r.length,x=-1,_=t.length,b=Se(p-h,0),L=w(b+_),C=!a;++c<b;)L[c]=e[c];for(var R=c;++x<_;)L[R+x]=t[x];for(;++T<h;)(C||c<p)&&(L[R+r[T]]=e[c++]);return L}function Oe(e,t){var r=-1,a=e.length;for(t||(t=w(a));++r<a;)t[r]=e[r];return t}function xt(e,t,r,a){var c=!r;r||(r={});for(var p=-1,T=t.length;++p<T;){var h=t[p],x=a?a(r[h],e[h],h,r,e):n;x===n&&(x=e[h]),c?Pt(r,h,x):Sr(r,h,x)}return r}function VT(e,t){return xt(e,Ps(e),t)}function qT(e,t){return xt(e,zl(e),t)}function Ao(e,t){return function(r,a){var c=H(r)?Xg:dT,p=t?t():{};return c(r,e,F(a,2),p)}}function Bn(e){return Y(function(t,r){var a=-1,c=r.length,p=c>1?r[c-1]:n,T=c>2?r[2]:n;for(p=e.length>3&&typeof p=="function"?(c--,p):n,T&&Re(r[0],r[1],T)&&(p=c<3?n:p,c=1),t=oe(t);++a<c;){var h=r[a];h&&e(t,h,a,p)}return t})}function Nl(e,t){return function(r,a){if(r==null)return r;if(!Me(r))return e(r,a);for(var c=r.length,p=t?c:-1,T=oe(r);(t?p--:++p<c)&&a(T[p],p,T)!==!1;);return r}}function Ol(e){return function(t,r,a){for(var c=-1,p=oe(t),T=a(t),h=T.length;h--;){var x=T[e?h:++c];if(r(p[x],x,p)===!1)break}return t}}function zT(e,t,r){var a=t&me,c=_r(e);function p(){var T=this&&this!==ve&&this instanceof p?c:e;return T.apply(a?r:this,arguments)}return p}function Ml(e){return function(t){t=te(t);var r=Rn(t)?lt(t):n,a=r?r[0]:t.charAt(0),c=r?en(r,1).join(""):t.slice(1);return a[e]()+c}}function Wn(e){return function(t){return Zi(Nu(Ru(t).replace(Mg,"")),e,"")}}function _r(e){return function(){var t=arguments;switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3]);case 5:return new e(t[0],t[1],t[2],t[3],t[4]);case 6:return new e(t[0],t[1],t[2],t[3],t[4],t[5]);case 7:return new e(t[0],t[1],t[2],t[3],t[4],t[5],t[6])}var r=Un(e.prototype),a=e.apply(r,t);return fe(a)?a:r}}function KT(e,t,r){var a=_r(e);function c(){for(var p=arguments.length,T=w(p),h=p,x=Gn(c);h--;)T[h]=arguments[h];var _=p<3&&T[0]!==x&&T[p-1]!==x?[]:Yt(T,x);if(p-=_.length,p<r)return Gl(e,t,Io,c.placeholder,n,T,_,n,n,r-p);var b=this&&this!==ve&&this instanceof c?a:e;return $e(b,this,T)}return c}function Fl(e){return function(t,r,a){var c=oe(t);if(!Me(t)){var p=F(r,3);t=we(t),r=function(h){return p(c[h],h,c)}}var T=e(t,r,a);return T>-1?c[p?t[T]:T]:n}}function Ul(e){return Rt(function(t){var r=t.length,a=r,c=et.prototype.thru;for(e&&t.reverse();a--;){var p=t[a];if(typeof p!="function")throw new je(m);if(c&&!T&&Eo(p)=="wrapper")var T=new et([],!0)}for(a=T?a:r;++a<r;){p=t[a];var h=Eo(p),x=h=="wrapper"?Cs(p):n;x&&Rs(x[0])&&x[1]==(Lt|mt|Tt|sr)&&!x[4].length&&x[9]==1?T=T[Eo(x[0])].apply(T,x[3]):T=p.length==1&&Rs(p)?T[h]():T.thru(p)}return function(){var _=arguments,b=_[0];if(T&&_.length==1&&H(b))return T.plant(b).value();for(var L=0,C=r?t[L].apply(this,_):b;++L<r;)C=t[L].call(this,C);return C}})}function Io(e,t,r,a,c,p,T,h,x,_){var b=t&Lt,L=t&me,C=t&_e,R=t&(mt|Ln),U=t&Ci,z=C?n:_r(e);function B(){for(var Z=arguments.length,J=w(Z),ze=Z;ze--;)J[ze]=arguments[ze];if(R)var Ne=Gn(B),Ke=im(J,Ne);if(a&&(J=Dl(J,a,c,R)),p&&(J=Rl(J,p,T,R)),Z-=Ke,R&&Z<_){var he=Yt(J,Ne);return Gl(e,t,Io,B.placeholder,r,J,he,h,x,_-Z)}var ft=L?r:this,Ft=C?ft[e]:e;return Z=J.length,h?J=dh(J,h):U&&Z>1&&J.reverse(),b&&x<Z&&(J.length=x),this&&this!==ve&&this instanceof B&&(Ft=z||_r(Ft)),Ft.apply(ft,J)}return B}function Bl(e,t){return function(r,a){return vT(r,e,t(a),{})}}function _o(e,t){return function(r,a){var c;if(r===n&&a===n)return t;if(r!==n&&(c=r),a!==n){if(c===n)return a;typeof r=="string"||typeof a=="string"?(r=Ve(r),a=Ve(a)):(r=Il(r),a=Il(a)),c=e(r,a)}return c}}function _s(e){return Rt(function(t){return t=ue(t,He(F())),Y(function(r){var a=this;return e(t,function(c){return $e(c,a,r)})})})}function bo(e,t){t=t===n?" ":Ve(t);var r=t.length;if(r<2)return r?ys(t,e):t;var a=ys(t,po(e/Nn(t)));return Rn(t)?en(lt(a),0,e).join(""):a.slice(0,e)}function YT(e,t,r,a){var c=t&me,p=_r(e);function T(){for(var h=-1,x=arguments.length,_=-1,b=a.length,L=w(b+x),C=this&&this!==ve&&this instanceof T?p:e;++_<b;)L[_]=a[_];for(;x--;)L[_++]=arguments[++h];return $e(C,c?r:this,L)}return T}function Wl(e){return function(t,r,a){return a&&typeof a!="number"&&Re(t,r,a)&&(r=a=n),t=Mt(t),r===n?(r=t,t=0):r=Mt(r),a=a===n?t<r?1:-1:Mt(a),RT(t,r,a,e)}}function Lo(e){return function(t,r){return typeof t=="string"&&typeof r=="string"||(t=ot(t),r=ot(r)),e(t,r)}}function Gl(e,t,r,a,c,p,T,h,x,_){var b=t&mt,L=b?T:n,C=b?n:T,R=b?p:n,U=b?n:p;t|=b?Tt:En,t&=~(b?En:Tt),t&ic||(t&=~(me|_e));var z=[e,t,c,R,L,U,C,h,x,_],B=r.apply(n,z);return Rs(e)&&jl(B,z),B.placeholder=a,eu(B,e,t)}function bs(e){var t=xe[e];return function(r,a){if(r=ot(r),a=a==null?0:Ee(q(a),292),a&&el(r)){var c=(te(r)+"e").split("e"),p=t(c[0]+"e"+(+c[1]+a));return c=(te(p)+"e").split("e"),+(c[0]+"e"+(+c[1]-a))}return t(r)}}var ZT=Mn&&1/to(new Mn([,-0]))[1]==an?function(e){return new Mn(e)}:Ys;function $l(e){return function(t){var r=Ce(t);return r==at?ns(t):r==ct?fm(t):om(t,e(t))}}function Dt(e,t,r,a,c,p,T,h){var x=t&_e;if(!x&&typeof e!="function")throw new je(m);var _=a?a.length:0;if(_||(t&=~(Tt|En),a=c=n),T=T===n?T:Se(q(T),0),h=h===n?h:q(h),_-=c?c.length:0,t&En){var b=a,L=c;a=c=n}var C=x?n:Cs(e),R=[e,t,r,a,c,b,L,p,T,h];if(C&&uh(R,C),e=R[0],t=R[1],r=R[2],a=R[3],c=R[4],h=R[9]=R[9]===n?x?0:e.length:Se(R[9]-_,0),!h&&t&(mt|Ln)&&(t&=~(mt|Ln)),!t||t==me)var U=zT(e,t,r);else t==mt||t==Ln?U=KT(e,t,h):(t==Tt||t==(me|Tt))&&!c.length?U=YT(e,t,r,a):U=Io.apply(n,R);var z=C?wl:jl;return eu(z(U,R),e,t)}function Hl(e,t,r,a){return e===n||pt(e,On[r])&&!re.call(a,r)?t:e}function Vl(e,t,r,a,c,p){return fe(e)&&fe(t)&&(p.set(t,e),So(e,t,n,Vl,p),p.delete(t)),e}function XT(e){return Er(e)?n:e}function ql(e,t,r,a,c,p){var T=r&ce,h=e.length,x=t.length;if(h!=x&&!(T&&x>h))return!1;var _=p.get(e),b=p.get(t);if(_&&b)return _==t&&b==e;var L=-1,C=!0,R=r&pe?new pn:n;for(p.set(e,t),p.set(t,e);++L<h;){var U=e[L],z=t[L];if(a)var B=T?a(z,U,L,t,e,p):a(U,z,L,e,t,p);if(B!==n){if(B)continue;C=!1;break}if(R){if(!Xi(t,function(Z,J){if(!gr(R,J)&&(U===Z||c(U,Z,r,a,p)))return R.push(J)})){C=!1;break}}else if(!(U===z||c(U,z,r,a,p))){C=!1;break}}return p.delete(e),p.delete(t),C}function JT(e,t,r,a,c,p,T){switch(r){case kn:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case dr:return!(e.byteLength!=t.byteLength||!p(new ao(e),new ao(t)));case ar:case cr:case lr:return pt(+e,+t);case Kr:return e.name==t.name&&e.message==t.message;case ur:case pr:return e==t+"";case at:var h=ns;case ct:var x=a&ce;if(h||(h=to),e.size!=t.size&&!x)return!1;var _=T.get(e);if(_)return _==t;a|=pe,T.set(e,t);var b=ql(h(e),h(t),a,c,p,T);return T.delete(e),b;case Zr:if(xr)return xr.call(e)==xr.call(t)}return!1}function QT(e,t,r,a,c,p){var T=r&ce,h=Ls(e),x=h.length,_=Ls(t),b=_.length;if(x!=b&&!T)return!1;for(var L=x;L--;){var C=h[L];if(!(T?C in t:re.call(t,C)))return!1}var R=p.get(e),U=p.get(t);if(R&&U)return R==t&&U==e;var z=!0;p.set(e,t),p.set(t,e);for(var B=T;++L<x;){C=h[L];var Z=e[C],J=t[C];if(a)var ze=T?a(J,Z,C,t,e,p):a(Z,J,C,e,t,p);if(!(ze===n?Z===J||c(Z,J,r,a,p):ze)){z=!1;break}B||(B=C=="constructor")}if(z&&!B){var Ne=e.constructor,Ke=t.constructor;Ne!=Ke&&"constructor"in e&&"constructor"in t&&!(typeof Ne=="function"&&Ne instanceof Ne&&typeof Ke=="function"&&Ke instanceof Ke)&&(z=!1)}return p.delete(e),p.delete(t),z}function Rt(e){return Os(Jl(e,n,su),e+"")}function Ls(e){return pl(e,we,Ps)}function Es(e){return pl(e,Fe,zl)}var Cs=go?function(e){return go.get(e)}:Ys;function Eo(e){for(var t=e.name+"",r=Fn[t],a=re.call(Fn,t)?r.length:0;a--;){var c=r[a],p=c.func;if(p==null||p==e)return c.name}return t}function Gn(e){var t=re.call(u,"placeholder")?u:e;return t.placeholder}function F(){var e=u.iteratee||zs;return e=e===zs?gl:e,arguments.length?e(arguments[0],arguments[1]):e}function Co(e,t){var r=e.__data__;return sh(t)?r[typeof t=="string"?"string":"hash"]:r.map}function ks(e){for(var t=we(e),r=t.length;r--;){var a=t[r],c=e[a];t[r]=[a,c,Zl(c)]}return t}function gn(e,t){var r=lm(e,t);return dl(r)?r:n}function jT(e){var t=re.call(e,ln),r=e[ln];try{e[ln]=n;var a=!0}catch(p){}var c=io.call(e);return a&&(t?e[ln]=r:delete e[ln]),c}var Ps=os?function(e){return e==null?[]:(e=oe(e),zt(os(e),function(t){return Qc.call(e,t)}))}:Zs,zl=os?function(e){for(var t=[];e;)Kt(t,Ps(e)),e=co(e);return t}:Zs,Ce=De;(is&&Ce(new is(new ArrayBuffer(1)))!=kn||Tr&&Ce(new Tr)!=at||ss&&Ce(ss.resolve())!=cc||Mn&&Ce(new Mn)!=ct||hr&&Ce(new hr)!=fr)&&(Ce=function(e){var t=De(e),r=t==Et?e.constructor:n,a=r?mn(r):"";if(a)switch(a){case Om:return kn;case Mm:return at;case Fm:return cc;case Um:return ct;case Bm:return fr}return t});function eh(e,t,r){for(var a=-1,c=r.length;++a<c;){var p=r[a],T=p.size;switch(p.type){case"drop":e+=T;break;case"dropRight":t-=T;break;case"take":t=Ee(t,e+T);break;case"takeRight":e=Se(e,t-T);break}}return{start:e,end:t}}function th(e){var t=e.match(ag);return t?t[1].split(cg):[]}function Kl(e,t,r){t=jt(t,e);for(var a=-1,c=t.length,p=!1;++a<c;){var T=St(t[a]);if(!(p=e!=null&&r(e,T)))break;e=e[T]}return p||++a!=c?p:(c=e==null?0:e.length,!!c&&Mo(c)&&Nt(T,c)&&(H(e)||Tn(e)))}function nh(e){var t=e.length,r=new e.constructor(t);return t&&typeof e[0]=="string"&&re.call(e,"index")&&(r.index=e.index,r.input=e.input),r}function Yl(e){return typeof e.constructor=="function"&&!br(e)?Un(co(e)):{}}function rh(e,t,r){var a=e.constructor;switch(t){case dr:return Is(e);case ar:case cr:return new a(+e);case kn:return WT(e,r);case ki:case Pi:case Di:case Ri:case Ni:case Oi:case Mi:case Fi:case Ui:return kl(e,r);case at:return new a;case lr:case pr:return new a(e);case ur:return GT(e);case ct:return new a;case Zr:return $T(e)}}function oh(e,t){var r=t.length;if(!r)return e;var a=r-1;return t[a]=(r>1?"& ":"")+t[a],t=t.join(r>2?", ":" "),e.replace(sg,`{
|
|
2
2
|
/* [wrapped with `+t+`] */
|
|
3
|
-
`)}function rh(e){return H(e)||Tn(e)||!!(jc&&e&&e[jc])}function Nt(e,t){var r=typeof e;return t=t==null?qt:t,!!t&&(r=="number"||r!="symbol"&&mg.test(e))&&e>-1&&e%1==0&&e<t}function Re(e,t,r){if(!fe(r))return!1;var a=typeof t;return(a=="number"?Me(r)&&Nt(t,r.length):a=="string"&&t in r)?pt(r[t],e):!1}function Ds(e,t){if(H(e))return!1;var r=typeof e;return r=="number"||r=="symbol"||r=="boolean"||e==null||qe(e)?!0:eg.test(e)||!jd.test(e)||t!=null&&e in oe(t)}function oh(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}function Rs(e){var t=Eo(e),r=u[t];if(typeof r!="function"||!(t in X.prototype))return!1;if(e===r)return!0;var a=Cs(r);return!!a&&e===a[0]}function ih(e){return!!Zc&&Zc in e}var sh=ro?Ot:Xs;function br(e){var t=e&&e.constructor,r=typeof t=="function"&&t.prototype||On;return e===r}function Zl(e){return e===e&&!fe(e)}function Xl(e,t){return function(r){return r==null?!1:r[e]===t&&(t!==n||e in oe(r))}}function ah(e){var t=No(e,function(a){return r.size===k&&r.clear(),a}),r=t.cache;return t}function ch(e,t){var r=e[1],a=t[1],c=r|a,p=c<(me|_e|Lt),T=a==Lt&&r==mt||a==Lt&&r==sr&&e[7].length<=t[8]||a==(Lt|sr)&&t[7].length<=t[8]&&r==mt;if(!(p||T))return e;a&me&&(e[2]=t[2],c|=r&me?0:ic);var h=t[3];if(h){var x=e[3];e[3]=x?Dl(x,h,t[4]):h,e[4]=x?Yt(e[3],E):t[4]}return h=t[5],h&&(x=e[5],e[5]=x?Rl(x,h,t[6]):h,e[6]=x?Yt(e[5],E):t[6]),h=t[7],h&&(e[7]=h),a&Lt&&(e[8]=e[8]==null?t[8]:Ee(e[8],t[8])),e[9]==null&&(e[9]=t[9]),e[0]=t[0],e[1]=c,e}function lh(e){var t=[];if(e!=null)for(var r in oe(e))t.push(r);return t}function uh(e){return io.call(e)}function Jl(e,t,r){return t=Se(t===n?e.length-1:t,0),function(){for(var a=arguments,c=-1,p=Se(a.length-t,0),T=w(p);++c<p;)T[c]=a[t+c];c=-1;for(var h=w(t+1);++c<t;)h[c]=a[c];return h[t]=r(T),$e(e,this,h)}}function Ql(e,t){return t.length<2?e:dn(e,nt(t,0,-1))}function ph(e,t){for(var r=e.length,a=Ee(t.length,r),c=Oe(e);a--;){var p=t[a];e[a]=Nt(p,r)?c[p]:n}return e}function Ns(e,t){if(!(t==="constructor"&&typeof e[t]=="function")&&t!="__proto__")return e[t]}var jl=tu(wl),Lr=bm||function(e,t){return ve.setTimeout(e,t)},Os=tu(NT);function eu(e,t,r){var a=t+"";return Os(e,nh(a,fh(jT(a),r)))}function tu(e){var t=0,r=0;return function(){var a=km(),c=Rd-(a-r);if(r=a,c>0){if(++t>=Dd)return arguments[0]}else t=0;return e.apply(n,arguments)}}function ko(e,t){var r=-1,a=e.length,c=a-1;for(t=t===n?a:t;++r<t;){var p=hs(r,c),T=e[p];e[p]=e[r],e[r]=T}return e.length=t,e}var nu=ah(function(e){var t=[];return e.charCodeAt(0)===46&&t.push(""),e.replace(tg,function(r,a,c,p){t.push(c?p.replace(lg,"$1"):a||r)}),t});function St(e){if(typeof e=="string"||qe(e))return e;var t=e+"";return t=="0"&&1/e==-an?"-0":t}function mn(e){if(e!=null){try{return oo.call(e)}catch(t){}try{return e+""}catch(t){}}return""}function fh(e,t){return Qe(Bd,function(r){var a="_."+r[0];t&r[1]&&!jr(e,a)&&e.push(a)}),e.sort()}function ru(e){if(e instanceof X)return e.clone();var t=new et(e.__wrapped__,e.__chain__);return t.__actions__=Oe(e.__actions__),t.__index__=e.__index__,t.__values__=e.__values__,t}function dh(e,t,r){(r?Re(e,t,r):t===n)?t=1:t=Se(q(t),0);var a=e==null?0:e.length;if(!a||t<1)return[];for(var c=0,p=0,T=w(po(a/t));c<a;)T[p++]=nt(e,c,c+=t);return T}function gh(e){for(var t=-1,r=e==null?0:e.length,a=0,c=[];++t<r;){var p=e[t];p&&(c[a++]=p)}return c}function mh(){var e=arguments.length;if(!e)return[];for(var t=w(e-1),r=arguments[0],a=e;a--;)t[a-1]=arguments[a];return Kt(H(r)?Oe(r):[r],be(t,1))}var Th=Y(function(e,t){return Te(e)?vr(e,be(t,1,Te,!0)):[]}),hh=Y(function(e,t){var r=rt(t);return Te(r)&&(r=n),Te(e)?vr(e,be(t,1,Te,!0),F(r,2)):[]}),yh=Y(function(e,t){var r=rt(t);return Te(r)&&(r=n),Te(e)?vr(e,be(t,1,Te,!0),n,r):[]});function xh(e,t,r){var a=e==null?0:e.length;return a?(t=r||t===n?1:q(t),nt(e,t<0?0:t,a)):[]}function Sh(e,t,r){var a=e==null?0:e.length;return a?(t=r||t===n?1:q(t),t=a-t,nt(e,0,t<0?0:t)):[]}function vh(e,t){return e&&e.length?wo(e,F(t,3),!0,!0):[]}function wh(e,t){return e&&e.length?wo(e,F(t,3),!0):[]}function Ah(e,t,r,a){var c=e==null?0:e.length;return c?(r&&typeof r!="number"&&Re(e,t,r)&&(r=0,a=c),mT(e,t,r,a)):[]}function ou(e,t,r){var a=e==null?0:e.length;if(!a)return-1;var c=r==null?0:q(r);return c<0&&(c=Se(a+c,0)),eo(e,F(t,3),c)}function iu(e,t,r){var a=e==null?0:e.length;if(!a)return-1;var c=a-1;return r!==n&&(c=q(r),c=r<0?Se(a+c,0):Ee(c,a-1)),eo(e,F(t,3),c,!0)}function su(e){var t=e==null?0:e.length;return t?be(e,1):[]}function Ih(e){var t=e==null?0:e.length;return t?be(e,an):[]}function _h(e,t){var r=e==null?0:e.length;return r?(t=t===n?1:q(t),be(e,t)):[]}function bh(e){for(var t=-1,r=e==null?0:e.length,a={};++t<r;){var c=e[t];a[c[0]]=c[1]}return a}function au(e){return e&&e.length?e[0]:n}function Lh(e,t,r){var a=e==null?0:e.length;if(!a)return-1;var c=r==null?0:q(r);return c<0&&(c=Se(a+c,0)),Dn(e,t,c)}function Eh(e){var t=e==null?0:e.length;return t?nt(e,0,-1):[]}var Ch=Y(function(e){var t=ue(e,ws);return t.length&&t[0]===e[0]?fs(t):[]}),kh=Y(function(e){var t=rt(e),r=ue(e,ws);return t===rt(r)?t=n:r.pop(),r.length&&r[0]===e[0]?fs(r,F(t,2)):[]}),Ph=Y(function(e){var t=rt(e),r=ue(e,ws);return t=typeof t=="function"?t:n,t&&r.pop(),r.length&&r[0]===e[0]?fs(r,n,t):[]});function Dh(e,t){return e==null?"":Em.call(e,t)}function rt(e){var t=e==null?0:e.length;return t?e[t-1]:n}function Rh(e,t,r){var a=e==null?0:e.length;if(!a)return-1;var c=a;return r!==n&&(c=q(r),c=c<0?Se(a+c,0):Ee(c,a-1)),t===t?fm(e,t,c):eo(e,Gc,c,!0)}function Nh(e,t){return e&&e.length?yl(e,q(t)):n}var Oh=Y(cu);function cu(e,t){return e&&e.length&&t&&t.length?Ts(e,t):e}function Mh(e,t,r){return e&&e.length&&t&&t.length?Ts(e,t,F(r,2)):e}function Fh(e,t,r){return e&&e.length&&t&&t.length?Ts(e,t,n,r):e}var Uh=Rt(function(e,t){var r=e==null?0:e.length,a=cs(e,t);return vl(e,ue(t,function(c){return Nt(c,r)?+c:c}).sort(Pl)),a});function Bh(e,t){var r=[];if(!(e&&e.length))return r;var a=-1,c=[],p=e.length;for(t=F(t,3);++a<p;){var T=e[a];t(T,a,e)&&(r.push(T),c.push(a))}return vl(e,c),r}function Ms(e){return e==null?e:Dm.call(e)}function Wh(e,t,r){var a=e==null?0:e.length;return a?(r&&typeof r!="number"&&Re(e,t,r)?(t=0,r=a):(t=t==null?0:q(t),r=r===n?a:q(r)),nt(e,t,r)):[]}function Gh(e,t){return vo(e,t)}function $h(e,t,r){return xs(e,t,F(r,2))}function Hh(e,t){var r=e==null?0:e.length;if(r){var a=vo(e,t);if(a<r&&pt(e[a],t))return a}return-1}function Vh(e,t){return vo(e,t,!0)}function qh(e,t,r){return xs(e,t,F(r,2),!0)}function zh(e,t){var r=e==null?0:e.length;if(r){var a=vo(e,t,!0)-1;if(pt(e[a],t))return a}return-1}function Kh(e){return e&&e.length?Al(e):[]}function Yh(e,t){return e&&e.length?Al(e,F(t,2)):[]}function Zh(e){var t=e==null?0:e.length;return t?nt(e,1,t):[]}function Xh(e,t,r){return e&&e.length?(t=r||t===n?1:q(t),nt(e,0,t<0?0:t)):[]}function Jh(e,t,r){var a=e==null?0:e.length;return a?(t=r||t===n?1:q(t),t=a-t,nt(e,t<0?0:t,a)):[]}function Qh(e,t){return e&&e.length?wo(e,F(t,3),!1,!0):[]}function jh(e,t){return e&&e.length?wo(e,F(t,3)):[]}var ey=Y(function(e){return Qt(be(e,1,Te,!0))}),ty=Y(function(e){var t=rt(e);return Te(t)&&(t=n),Qt(be(e,1,Te,!0),F(t,2))}),ny=Y(function(e){var t=rt(e);return t=typeof t=="function"?t:n,Qt(be(e,1,Te,!0),n,t)});function ry(e){return e&&e.length?Qt(e):[]}function oy(e,t){return e&&e.length?Qt(e,F(t,2)):[]}function iy(e,t){return t=typeof t=="function"?t:n,e&&e.length?Qt(e,n,t):[]}function Fs(e){if(!(e&&e.length))return[];var t=0;return e=zt(e,function(r){if(Te(r))return t=Se(r.length,t),!0}),es(t,function(r){return ue(e,Ji(r))})}function lu(e,t){if(!(e&&e.length))return[];var r=Fs(e);return t==null?r:ue(r,function(a){return $e(t,n,a)})}var sy=Y(function(e,t){return Te(e)?vr(e,t):[]}),ay=Y(function(e){return vs(zt(e,Te))}),cy=Y(function(e){var t=rt(e);return Te(t)&&(t=n),vs(zt(e,Te),F(t,2))}),ly=Y(function(e){var t=rt(e);return t=typeof t=="function"?t:n,vs(zt(e,Te),n,t)}),uy=Y(Fs);function py(e,t){return Ll(e||[],t||[],Sr)}function fy(e,t){return Ll(e||[],t||[],Ir)}var dy=Y(function(e){var t=e.length,r=t>1?e[t-1]:n;return r=typeof r=="function"?(e.pop(),r):n,lu(e,r)});function uu(e){var t=u(e);return t.__chain__=!0,t}function gy(e,t){return t(e),e}function Po(e,t){return t(e)}var my=Rt(function(e){var t=e.length,r=t?e[0]:0,a=this.__wrapped__,c=function(p){return cs(p,e)};return t>1||this.__actions__.length||!(a instanceof X)||!Nt(r)?this.thru(c):(a=a.slice(r,+r+(t?1:0)),a.__actions__.push({func:Po,args:[c],thisArg:n}),new et(a,this.__chain__).thru(function(p){return t&&!p.length&&p.push(n),p}))});function Ty(){return uu(this)}function hy(){return new et(this.value(),this.__chain__)}function yy(){this.__values__===n&&(this.__values__=Iu(this.value()));var e=this.__index__>=this.__values__.length,t=e?n:this.__values__[this.__index__++];return{done:e,value:t}}function xy(){return this}function Sy(e){for(var t,r=this;r instanceof To;){var a=ru(r);a.__index__=0,a.__values__=n,t?c.__wrapped__=a:t=a;var c=a;r=r.__wrapped__}return c.__wrapped__=e,t}function vy(){var e=this.__wrapped__;if(e instanceof X){var t=e;return this.__actions__.length&&(t=new X(this)),t=t.reverse(),t.__actions__.push({func:Po,args:[Ms],thisArg:n}),new et(t,this.__chain__)}return this.thru(Ms)}function wy(){return bl(this.__wrapped__,this.__actions__)}var Ay=Ao(function(e,t,r){re.call(e,r)?++e[r]:Pt(e,r,1)});function Iy(e,t,r){var a=H(e)?Bc:gT;return r&&Re(e,t,r)&&(t=n),a(e,F(t,3))}function _y(e,t){var r=H(e)?zt:ll;return r(e,F(t,3))}var by=Fl(ou),Ly=Fl(iu);function Ey(e,t){return be(Do(e,t),1)}function Cy(e,t){return be(Do(e,t),an)}function ky(e,t,r){return r=r===n?1:q(r),be(Do(e,t),r)}function pu(e,t){var r=H(e)?Qe:Jt;return r(e,F(t,3))}function fu(e,t){var r=H(e)?Zg:cl;return r(e,F(t,3))}var Py=Ao(function(e,t,r){re.call(e,r)?e[r].push(t):Pt(e,r,[t])});function Dy(e,t,r,a){e=Me(e)?e:Hn(e),r=r&&!a?q(r):0;var c=e.length;return r<0&&(r=Se(c+r,0)),Fo(e)?r<=c&&e.indexOf(t,r)>-1:!!c&&Dn(e,t,r)>-1}var Ry=Y(function(e,t,r){var a=-1,c=typeof t=="function",p=Me(e)?w(e.length):[];return Jt(e,function(T){p[++a]=c?$e(t,T,r):wr(T,t,r)}),p}),Ny=Ao(function(e,t,r){Pt(e,r,t)});function Do(e,t){var r=H(e)?ue:ml;return r(e,F(t,3))}function Oy(e,t,r,a){return e==null?[]:(H(t)||(t=t==null?[]:[t]),r=a?n:r,H(r)||(r=r==null?[]:[r]),xl(e,t,r))}var My=Ao(function(e,t,r){e[r?0:1].push(t)},function(){return[[],[]]});function Fy(e,t,r){var a=H(e)?Zi:Hc,c=arguments.length<3;return a(e,F(t,4),r,c,Jt)}function Uy(e,t,r){var a=H(e)?Xg:Hc,c=arguments.length<3;return a(e,F(t,4),r,c,cl)}function By(e,t){var r=H(e)?zt:ll;return r(e,Oo(F(t,3)))}function Wy(e){var t=H(e)?ol:DT;return t(e)}function Gy(e,t,r){(r?Re(e,t,r):t===n)?t=1:t=q(t);var a=H(e)?lT:RT;return a(e,t)}function $y(e){var t=H(e)?uT:OT;return t(e)}function Hy(e){if(e==null)return 0;if(Me(e))return Fo(e)?Nn(e):e.length;var t=Ce(e);return t==at||t==ct?e.size:gs(e).length}function Vy(e,t,r){var a=H(e)?Xi:MT;return r&&Re(e,t,r)&&(t=n),a(e,F(t,3))}var qy=Y(function(e,t){if(e==null)return[];var r=t.length;return r>1&&Re(e,t[0],t[1])?t=[]:r>2&&Re(t[0],t[1],t[2])&&(t=[t[0]]),xl(e,be(t,1),[])}),Ro=_m||function(){return ve.Date.now()};function zy(e,t){if(typeof t!="function")throw new je(m);return e=q(e),function(){if(--e<1)return t.apply(this,arguments)}}function du(e,t,r){return t=r?n:t,t=e&&t==null?e.length:t,Dt(e,Lt,n,n,n,n,t)}function gu(e,t){var r;if(typeof t!="function")throw new je(m);return e=q(e),function(){return--e>0&&(r=t.apply(this,arguments)),e<=1&&(t=n),r}}var Us=Y(function(e,t,r){var a=me;if(r.length){var c=Yt(r,Gn(Us));a|=Tt}return Dt(e,a,t,r,c)}),mu=Y(function(e,t,r){var a=me|_e;if(r.length){var c=Yt(r,Gn(mu));a|=Tt}return Dt(t,a,e,r,c)});function Tu(e,t,r){t=r?n:t;var a=Dt(e,mt,n,n,n,n,n,t);return a.placeholder=Tu.placeholder,a}function hu(e,t,r){t=r?n:t;var a=Dt(e,Ln,n,n,n,n,n,t);return a.placeholder=hu.placeholder,a}function yu(e,t,r){var a,c,p,T,h,x,_=0,b=!1,L=!1,C=!0;if(typeof e!="function")throw new je(m);t=ot(t)||0,fe(r)&&(b=!!r.leading,L="maxWait"in r,p=L?Se(ot(r.maxWait)||0,t):p,C="trailing"in r?!!r.trailing:C);function R(he){var ft=a,Ft=c;return a=c=n,_=he,T=e.apply(Ft,ft),T}function U(he){return _=he,h=Lr(Z,t),b?R(he):T}function z(he){var ft=he-x,Ft=he-_,Fu=t-ft;return L?Ee(Fu,p-Ft):Fu}function B(he){var ft=he-x,Ft=he-_;return x===n||ft>=t||ft<0||L&&Ft>=p}function Z(){var he=Ro();if(B(he))return J(he);h=Lr(Z,z(he))}function J(he){return h=n,C&&a?R(he):(a=c=n,T)}function ze(){h!==n&&El(h),_=0,a=x=c=h=n}function Ne(){return h===n?T:J(Ro())}function Ke(){var he=Ro(),ft=B(he);if(a=arguments,c=this,x=he,ft){if(h===n)return U(x);if(L)return El(h),h=Lr(Z,t),R(x)}return h===n&&(h=Lr(Z,t)),T}return Ke.cancel=ze,Ke.flush=Ne,Ke}var Ky=Y(function(e,t){return al(e,1,t)}),Yy=Y(function(e,t,r){return al(e,ot(t)||0,r)});function Zy(e){return Dt(e,Ci)}function No(e,t){if(typeof e!="function"||t!=null&&typeof t!="function")throw new je(m);var r=function(){var a=arguments,c=t?t.apply(this,a):a[0],p=r.cache;if(p.has(c))return p.get(c);var T=e.apply(this,a);return r.cache=p.set(c,T)||p,T};return r.cache=new(No.Cache||kt),r}No.Cache=kt;function Oo(e){if(typeof e!="function")throw new je(m);return function(){var t=arguments;switch(t.length){case 0:return!e.call(this);case 1:return!e.call(this,t[0]);case 2:return!e.call(this,t[0],t[1]);case 3:return!e.call(this,t[0],t[1],t[2])}return!e.apply(this,t)}}function Xy(e){return gu(2,e)}var Jy=FT(function(e,t){t=t.length==1&&H(t[0])?ue(t[0],He(F())):ue(be(t,1),He(F()));var r=t.length;return Y(function(a){for(var c=-1,p=Ee(a.length,r);++c<p;)a[c]=t[c].call(this,a[c]);return $e(e,this,a)})}),Bs=Y(function(e,t){var r=Yt(t,Gn(Bs));return Dt(e,Tt,n,t,r)}),xu=Y(function(e,t){var r=Yt(t,Gn(xu));return Dt(e,En,n,t,r)}),Qy=Rt(function(e,t){return Dt(e,sr,n,n,n,t)});function jy(e,t){if(typeof e!="function")throw new je(m);return t=t===n?t:q(t),Y(e,t)}function ex(e,t){if(typeof e!="function")throw new je(m);return t=t==null?0:Se(q(t),0),Y(function(r){var a=r[t],c=en(r,0,t);return a&&Kt(c,a),$e(e,this,c)})}function tx(e,t,r){var a=!0,c=!0;if(typeof e!="function")throw new je(m);return fe(r)&&(a="leading"in r?!!r.leading:a,c="trailing"in r?!!r.trailing:c),yu(e,t,{leading:a,maxWait:t,trailing:c})}function nx(e){return du(e,1)}function rx(e,t){return Bs(As(t),e)}function ox(){if(!arguments.length)return[];var e=arguments[0];return H(e)?e:[e]}function ix(e){return tt(e,M)}function sx(e,t){return t=typeof t=="function"?t:n,tt(e,M,t)}function ax(e){return tt(e,N|M)}function cx(e,t){return t=typeof t=="function"?t:n,tt(e,N|M,t)}function lx(e,t){return t==null||sl(e,t,we(t))}function pt(e,t){return e===t||e!==e&&t!==t}var ux=Lo(ps),px=Lo(function(e,t){return e>=t}),Tn=fl(function(){return arguments}())?fl:function(e){return de(e)&&re.call(e,"callee")&&!Qc.call(e,"callee")},H=w.isArray,fx=Rc?He(Rc):ST;function Me(e){return e!=null&&Mo(e.length)&&!Ot(e)}function Te(e){return de(e)&&Me(e)}function dx(e){return e===!0||e===!1||de(e)&&De(e)==ar}var tn=Lm||Xs,gx=Nc?He(Nc):vT;function mx(e){return de(e)&&e.nodeType===1&&!Er(e)}function Tx(e){if(e==null)return!0;if(Me(e)&&(H(e)||typeof e=="string"||typeof e.splice=="function"||tn(e)||$n(e)||Tn(e)))return!e.length;var t=Ce(e);if(t==at||t==ct)return!e.size;if(br(e))return!gs(e).length;for(var r in e)if(re.call(e,r))return!1;return!0}function hx(e,t){return Ar(e,t)}function yx(e,t,r){r=typeof r=="function"?r:n;var a=r?r(e,t):n;return a===n?Ar(e,t,n,r):!!a}function Ws(e){if(!de(e))return!1;var t=De(e);return t==Kr||t==Gd||typeof e.message=="string"&&typeof e.name=="string"&&!Er(e)}function xx(e){return typeof e=="number"&&el(e)}function Ot(e){if(!fe(e))return!1;var t=De(e);return t==Yr||t==ac||t==Wd||t==Hd}function Su(e){return typeof e=="number"&&e==q(e)}function Mo(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=qt}function fe(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}function de(e){return e!=null&&typeof e=="object"}var vu=Oc?He(Oc):AT;function Sx(e,t){return e===t||ds(e,t,ks(t))}function vx(e,t,r){return r=typeof r=="function"?r:n,ds(e,t,ks(t),r)}function wx(e){return wu(e)&&e!=+e}function Ax(e){if(sh(e))throw new $(l);return dl(e)}function Ix(e){return e===null}function _x(e){return e==null}function wu(e){return typeof e=="number"||de(e)&&De(e)==lr}function Er(e){if(!de(e)||De(e)!=Et)return!1;var t=co(e);if(t===null)return!0;var r=re.call(t,"constructor")&&t.constructor;return typeof r=="function"&&r instanceof r&&oo.call(r)==vm}var Gs=Mc?He(Mc):IT;function bx(e){return Su(e)&&e>=-qt&&e<=qt}var Au=Fc?He(Fc):_T;function Fo(e){return typeof e=="string"||!H(e)&&de(e)&&De(e)==pr}function qe(e){return typeof e=="symbol"||de(e)&&De(e)==Zr}var $n=Uc?He(Uc):bT;function Lx(e){return e===n}function Ex(e){return de(e)&&Ce(e)==fr}function Cx(e){return de(e)&&De(e)==qd}var kx=Lo(ms),Px=Lo(function(e,t){return e<=t});function Iu(e){if(!e)return[];if(Me(e))return Fo(e)?lt(e):Oe(e);if(mr&&e[mr])return lm(e[mr]());var t=Ce(e),r=t==at?ns:t==ct?to:Hn;return r(e)}function Mt(e){if(!e)return e===0?e:0;if(e=ot(e),e===an||e===-an){var t=e<0?-1:1;return t*Md}return e===e?e:0}function q(e){var t=Mt(e),r=t%1;return t===t?r?t-r:t:0}function _u(e){return e?fn(q(e),0,ht):0}function ot(e){if(typeof e=="number")return e;if(qe(e))return qr;if(fe(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=fe(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=Vc(e);var r=fg.test(e);return r||gg.test(e)?zg(e.slice(2),r?2:8):pg.test(e)?qr:+e}function bu(e){return xt(e,Fe(e))}function Dx(e){return e?fn(q(e),-qt,qt):e===0?e:0}function te(e){return e==null?"":Ve(e)}var Rx=Bn(function(e,t){if(br(t)||Me(t)){xt(t,we(t),e);return}for(var r in t)re.call(t,r)&&Sr(e,r,t[r])}),Lu=Bn(function(e,t){xt(t,Fe(t),e)}),Uo=Bn(function(e,t,r,a){xt(t,Fe(t),e,a)}),Nx=Bn(function(e,t,r,a){xt(t,we(t),e,a)}),Ox=Rt(cs);function Mx(e,t){var r=Un(e);return t==null?r:il(r,t)}var Fx=Y(function(e,t){e=oe(e);var r=-1,a=t.length,c=a>2?t[2]:n;for(c&&Re(t[0],t[1],c)&&(a=1);++r<a;)for(var p=t[r],T=Fe(p),h=-1,x=T.length;++h<x;){var _=T[h],b=e[_];(b===n||pt(b,On[_])&&!re.call(e,_))&&(e[_]=p[_])}return e}),Ux=Y(function(e){return e.push(n,Vl),$e(Eu,n,e)});function Bx(e,t){return Wc(e,F(t,3),yt)}function Wx(e,t){return Wc(e,F(t,3),us)}function Gx(e,t){return e==null?e:ls(e,F(t,3),Fe)}function $x(e,t){return e==null?e:ul(e,F(t,3),Fe)}function Hx(e,t){return e&&yt(e,F(t,3))}function Vx(e,t){return e&&us(e,F(t,3))}function qx(e){return e==null?[]:xo(e,we(e))}function zx(e){return e==null?[]:xo(e,Fe(e))}function $s(e,t,r){var a=e==null?n:dn(e,t);return a===n?r:a}function Kx(e,t){return e!=null&&Kl(e,t,TT)}function Hs(e,t){return e!=null&&Kl(e,t,hT)}var Yx=Bl(function(e,t,r){t!=null&&typeof t.toString!="function"&&(t=io.call(t)),e[t]=r},qs(Ue)),Zx=Bl(function(e,t,r){t!=null&&typeof t.toString!="function"&&(t=io.call(t)),re.call(e,t)?e[t].push(r):e[t]=[r]},F),Xx=Y(wr);function we(e){return Me(e)?rl(e):gs(e)}function Fe(e){return Me(e)?rl(e,!0):LT(e)}function Jx(e,t){var r={};return t=F(t,3),yt(e,function(a,c,p){Pt(r,t(a,c,p),a)}),r}function Qx(e,t){var r={};return t=F(t,3),yt(e,function(a,c,p){Pt(r,c,t(a,c,p))}),r}var jx=Bn(function(e,t,r){So(e,t,r)}),Eu=Bn(function(e,t,r,a){So(e,t,r,a)}),eS=Rt(function(e,t){var r={};if(e==null)return r;var a=!1;t=ue(t,function(p){return p=jt(p,e),a||(a=p.length>1),p}),xt(e,Es(e),r),a&&(r=tt(r,N|G|M,YT));for(var c=t.length;c--;)Ss(r,t[c]);return r});function tS(e,t){return Cu(e,Oo(F(t)))}var nS=Rt(function(e,t){return e==null?{}:CT(e,t)});function Cu(e,t){if(e==null)return{};var r=ue(Es(e),function(a){return[a]});return t=F(t),Sl(e,r,function(a,c){return t(a,c[0])})}function rS(e,t,r){t=jt(t,e);var a=-1,c=t.length;for(c||(c=1,e=n);++a<c;){var p=e==null?n:e[St(t[a])];p===n&&(a=c,p=r),e=Ot(p)?p.call(e):p}return e}function oS(e,t,r){return e==null?e:Ir(e,t,r)}function iS(e,t,r,a){return a=typeof a=="function"?a:n,e==null?e:Ir(e,t,r,a)}var ku=$l(we),Pu=$l(Fe);function sS(e,t,r){var a=H(e),c=a||tn(e)||$n(e);if(t=F(t,4),r==null){var p=e&&e.constructor;c?r=a?new p:[]:fe(e)?r=Ot(p)?Un(co(e)):{}:r={}}return(c?Qe:yt)(e,function(T,h,x){return t(r,T,h,x)}),r}function aS(e,t){return e==null?!0:Ss(e,t)}function cS(e,t,r){return e==null?e:_l(e,t,As(r))}function lS(e,t,r,a){return a=typeof a=="function"?a:n,e==null?e:_l(e,t,As(r),a)}function Hn(e){return e==null?[]:ts(e,we(e))}function uS(e){return e==null?[]:ts(e,Fe(e))}function pS(e,t,r){return r===n&&(r=t,t=n),r!==n&&(r=ot(r),r=r===r?r:0),t!==n&&(t=ot(t),t=t===t?t:0),fn(ot(e),t,r)}function fS(e,t,r){return t=Mt(t),r===n?(r=t,t=0):r=Mt(r),e=ot(e),yT(e,t,r)}function dS(e,t,r){if(r&&typeof r!="boolean"&&Re(e,t,r)&&(t=r=n),r===n&&(typeof t=="boolean"?(r=t,t=n):typeof e=="boolean"&&(r=e,e=n)),e===n&&t===n?(e=0,t=1):(e=Mt(e),t===n?(t=e,e=0):t=Mt(t)),e>t){var a=e;e=t,t=a}if(r||e%1||t%1){var c=tl();return Ee(e+c*(t-e+qg("1e-"+((c+"").length-1))),t)}return hs(e,t)}var gS=Wn(function(e,t,r){return t=t.toLowerCase(),e+(r?Du(t):t)});function Du(e){return Vs(te(e).toLowerCase())}function Ru(e){return e=te(e),e&&e.replace(Tg,om).replace(Og,"")}function mS(e,t,r){e=te(e),t=Ve(t);var a=e.length;r=r===n?a:fn(q(r),0,a);var c=r;return r-=t.length,r>=0&&e.slice(r,c)==t}function TS(e){return e=te(e),e&&Xd.test(e)?e.replace(uc,im):e}function hS(e){return e=te(e),e&&ng.test(e)?e.replace(Bi,"\\$&"):e}var yS=Wn(function(e,t,r){return e+(r?"-":"")+t.toLowerCase()}),xS=Wn(function(e,t,r){return e+(r?" ":"")+t.toLowerCase()}),SS=Ml("toLowerCase");function vS(e,t,r){e=te(e),t=q(t);var a=t?Nn(e):0;if(!t||a>=t)return e;var c=(t-a)/2;return bo(fo(c),r)+e+bo(po(c),r)}function wS(e,t,r){e=te(e),t=q(t);var a=t?Nn(e):0;return t&&a<t?e+bo(t-a,r):e}function AS(e,t,r){e=te(e),t=q(t);var a=t?Nn(e):0;return t&&a<t?bo(t-a,r)+e:e}function IS(e,t,r){return r||t==null?t=0:t&&(t=+t),Pm(te(e).replace(Wi,""),t||0)}function _S(e,t,r){return(r?Re(e,t,r):t===n)?t=1:t=q(t),ys(te(e),t)}function bS(){var e=arguments,t=te(e[0]);return e.length<3?t:t.replace(e[1],e[2])}var LS=Wn(function(e,t,r){return e+(r?"_":"")+t.toLowerCase()});function ES(e,t,r){return r&&typeof r!="number"&&Re(e,t,r)&&(t=r=n),r=r===n?ht:r>>>0,r?(e=te(e),e&&(typeof t=="string"||t!=null&&!Gs(t))&&(t=Ve(t),!t&&Rn(e))?en(lt(e),0,r):e.split(t,r)):[]}var CS=Wn(function(e,t,r){return e+(r?" ":"")+Vs(t)});function kS(e,t,r){return e=te(e),r=r==null?0:fn(q(r),0,e.length),t=Ve(t),e.slice(r,r+t.length)==t}function PS(e,t,r){var a=u.templateSettings;r&&Re(e,t,r)&&(t=n),e=te(e),t=Uo({},t,a,Hl);var c=Uo({},t.imports,a.imports,Hl),p=we(c),T=ts(c,p),h,x,_=0,b=t.interpolate||Xr,L="__p += '",C=rs((t.escape||Xr).source+"|"+b.source+"|"+(b===pc?ug:Xr).source+"|"+(t.evaluate||Xr).source+"|$","g"),R="//# sourceURL="+(re.call(t,"sourceURL")?(t.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++Wg+"]")+`
|
|
4
|
-
`;e.replace(C,function(B,Z,J,ze,Ne,Ke){return J||(J=ze),L+=e.slice(_,Ke).replace(
|
|
3
|
+
`)}function ih(e){return H(e)||Tn(e)||!!(jc&&e&&e[jc])}function Nt(e,t){var r=typeof e;return t=t==null?qt:t,!!t&&(r=="number"||r!="symbol"&&hg.test(e))&&e>-1&&e%1==0&&e<t}function Re(e,t,r){if(!fe(r))return!1;var a=typeof t;return(a=="number"?Me(r)&&Nt(t,r.length):a=="string"&&t in r)?pt(r[t],e):!1}function Ds(e,t){if(H(e))return!1;var r=typeof e;return r=="number"||r=="symbol"||r=="boolean"||e==null||qe(e)?!0:ng.test(e)||!tg.test(e)||t!=null&&e in oe(t)}function sh(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}function Rs(e){var t=Eo(e),r=u[t];if(typeof r!="function"||!(t in X.prototype))return!1;if(e===r)return!0;var a=Cs(r);return!!a&&e===a[0]}function ah(e){return!!Zc&&Zc in e}var ch=ro?Ot:Xs;function br(e){var t=e&&e.constructor,r=typeof t=="function"&&t.prototype||On;return e===r}function Zl(e){return e===e&&!fe(e)}function Xl(e,t){return function(r){return r==null?!1:r[e]===t&&(t!==n||e in oe(r))}}function lh(e){var t=No(e,function(a){return r.size===k&&r.clear(),a}),r=t.cache;return t}function uh(e,t){var r=e[1],a=t[1],c=r|a,p=c<(me|_e|Lt),T=a==Lt&&r==mt||a==Lt&&r==sr&&e[7].length<=t[8]||a==(Lt|sr)&&t[7].length<=t[8]&&r==mt;if(!(p||T))return e;a&me&&(e[2]=t[2],c|=r&me?0:ic);var h=t[3];if(h){var x=e[3];e[3]=x?Dl(x,h,t[4]):h,e[4]=x?Yt(e[3],E):t[4]}return h=t[5],h&&(x=e[5],e[5]=x?Rl(x,h,t[6]):h,e[6]=x?Yt(e[5],E):t[6]),h=t[7],h&&(e[7]=h),a&Lt&&(e[8]=e[8]==null?t[8]:Ee(e[8],t[8])),e[9]==null&&(e[9]=t[9]),e[0]=t[0],e[1]=c,e}function ph(e){var t=[];if(e!=null)for(var r in oe(e))t.push(r);return t}function fh(e){return io.call(e)}function Jl(e,t,r){return t=Se(t===n?e.length-1:t,0),function(){for(var a=arguments,c=-1,p=Se(a.length-t,0),T=w(p);++c<p;)T[c]=a[t+c];c=-1;for(var h=w(t+1);++c<t;)h[c]=a[c];return h[t]=r(T),$e(e,this,h)}}function Ql(e,t){return t.length<2?e:dn(e,nt(t,0,-1))}function dh(e,t){for(var r=e.length,a=Ee(t.length,r),c=Oe(e);a--;){var p=t[a];e[a]=Nt(p,r)?c[p]:n}return e}function Ns(e,t){if(!(t==="constructor"&&typeof e[t]=="function")&&t!="__proto__")return e[t]}var jl=tu(wl),Lr=Em||function(e,t){return ve.setTimeout(e,t)},Os=tu(MT);function eu(e,t,r){var a=t+"";return Os(e,oh(a,gh(th(a),r)))}function tu(e){var t=0,r=0;return function(){var a=Dm(),c=Od-(a-r);if(r=a,c>0){if(++t>=Nd)return arguments[0]}else t=0;return e.apply(n,arguments)}}function ko(e,t){var r=-1,a=e.length,c=a-1;for(t=t===n?a:t;++r<t;){var p=hs(r,c),T=e[p];e[p]=e[r],e[r]=T}return e.length=t,e}var nu=lh(function(e){var t=[];return e.charCodeAt(0)===46&&t.push(""),e.replace(rg,function(r,a,c,p){t.push(c?p.replace(pg,"$1"):a||r)}),t});function St(e){if(typeof e=="string"||qe(e))return e;var t=e+"";return t=="0"&&1/e==-an?"-0":t}function mn(e){if(e!=null){try{return oo.call(e)}catch(t){}try{return e+""}catch(t){}}return""}function gh(e,t){return Qe(Gd,function(r){var a="_."+r[0];t&r[1]&&!jr(e,a)&&e.push(a)}),e.sort()}function ru(e){if(e instanceof X)return e.clone();var t=new et(e.__wrapped__,e.__chain__);return t.__actions__=Oe(e.__actions__),t.__index__=e.__index__,t.__values__=e.__values__,t}function mh(e,t,r){(r?Re(e,t,r):t===n)?t=1:t=Se(q(t),0);var a=e==null?0:e.length;if(!a||t<1)return[];for(var c=0,p=0,T=w(po(a/t));c<a;)T[p++]=nt(e,c,c+=t);return T}function Th(e){for(var t=-1,r=e==null?0:e.length,a=0,c=[];++t<r;){var p=e[t];p&&(c[a++]=p)}return c}function hh(){var e=arguments.length;if(!e)return[];for(var t=w(e-1),r=arguments[0],a=e;a--;)t[a-1]=arguments[a];return Kt(H(r)?Oe(r):[r],be(t,1))}var yh=Y(function(e,t){return Te(e)?vr(e,be(t,1,Te,!0)):[]}),xh=Y(function(e,t){var r=rt(t);return Te(r)&&(r=n),Te(e)?vr(e,be(t,1,Te,!0),F(r,2)):[]}),Sh=Y(function(e,t){var r=rt(t);return Te(r)&&(r=n),Te(e)?vr(e,be(t,1,Te,!0),n,r):[]});function vh(e,t,r){var a=e==null?0:e.length;return a?(t=r||t===n?1:q(t),nt(e,t<0?0:t,a)):[]}function wh(e,t,r){var a=e==null?0:e.length;return a?(t=r||t===n?1:q(t),t=a-t,nt(e,0,t<0?0:t)):[]}function Ah(e,t){return e&&e.length?wo(e,F(t,3),!0,!0):[]}function Ih(e,t){return e&&e.length?wo(e,F(t,3),!0):[]}function _h(e,t,r,a){var c=e==null?0:e.length;return c?(r&&typeof r!="number"&&Re(e,t,r)&&(r=0,a=c),hT(e,t,r,a)):[]}function ou(e,t,r){var a=e==null?0:e.length;if(!a)return-1;var c=r==null?0:q(r);return c<0&&(c=Se(a+c,0)),eo(e,F(t,3),c)}function iu(e,t,r){var a=e==null?0:e.length;if(!a)return-1;var c=a-1;return r!==n&&(c=q(r),c=r<0?Se(a+c,0):Ee(c,a-1)),eo(e,F(t,3),c,!0)}function su(e){var t=e==null?0:e.length;return t?be(e,1):[]}function bh(e){var t=e==null?0:e.length;return t?be(e,an):[]}function Lh(e,t){var r=e==null?0:e.length;return r?(t=t===n?1:q(t),be(e,t)):[]}function Eh(e){for(var t=-1,r=e==null?0:e.length,a={};++t<r;){var c=e[t];a[c[0]]=c[1]}return a}function au(e){return e&&e.length?e[0]:n}function Ch(e,t,r){var a=e==null?0:e.length;if(!a)return-1;var c=r==null?0:q(r);return c<0&&(c=Se(a+c,0)),Dn(e,t,c)}function kh(e){var t=e==null?0:e.length;return t?nt(e,0,-1):[]}var Ph=Y(function(e){var t=ue(e,ws);return t.length&&t[0]===e[0]?fs(t):[]}),Dh=Y(function(e){var t=rt(e),r=ue(e,ws);return t===rt(r)?t=n:r.pop(),r.length&&r[0]===e[0]?fs(r,F(t,2)):[]}),Rh=Y(function(e){var t=rt(e),r=ue(e,ws);return t=typeof t=="function"?t:n,t&&r.pop(),r.length&&r[0]===e[0]?fs(r,n,t):[]});function Nh(e,t){return e==null?"":km.call(e,t)}function rt(e){var t=e==null?0:e.length;return t?e[t-1]:n}function Oh(e,t,r){var a=e==null?0:e.length;if(!a)return-1;var c=a;return r!==n&&(c=q(r),c=c<0?Se(a+c,0):Ee(c,a-1)),t===t?gm(e,t,c):eo(e,Gc,c,!0)}function Mh(e,t){return e&&e.length?yl(e,q(t)):n}var Fh=Y(cu);function cu(e,t){return e&&e.length&&t&&t.length?Ts(e,t):e}function Uh(e,t,r){return e&&e.length&&t&&t.length?Ts(e,t,F(r,2)):e}function Bh(e,t,r){return e&&e.length&&t&&t.length?Ts(e,t,n,r):e}var Wh=Rt(function(e,t){var r=e==null?0:e.length,a=cs(e,t);return vl(e,ue(t,function(c){return Nt(c,r)?+c:c}).sort(Pl)),a});function Gh(e,t){var r=[];if(!(e&&e.length))return r;var a=-1,c=[],p=e.length;for(t=F(t,3);++a<p;){var T=e[a];t(T,a,e)&&(r.push(T),c.push(a))}return vl(e,c),r}function Ms(e){return e==null?e:Nm.call(e)}function $h(e,t,r){var a=e==null?0:e.length;return a?(r&&typeof r!="number"&&Re(e,t,r)?(t=0,r=a):(t=t==null?0:q(t),r=r===n?a:q(r)),nt(e,t,r)):[]}function Hh(e,t){return vo(e,t)}function Vh(e,t,r){return xs(e,t,F(r,2))}function qh(e,t){var r=e==null?0:e.length;if(r){var a=vo(e,t);if(a<r&&pt(e[a],t))return a}return-1}function zh(e,t){return vo(e,t,!0)}function Kh(e,t,r){return xs(e,t,F(r,2),!0)}function Yh(e,t){var r=e==null?0:e.length;if(r){var a=vo(e,t,!0)-1;if(pt(e[a],t))return a}return-1}function Zh(e){return e&&e.length?Al(e):[]}function Xh(e,t){return e&&e.length?Al(e,F(t,2)):[]}function Jh(e){var t=e==null?0:e.length;return t?nt(e,1,t):[]}function Qh(e,t,r){return e&&e.length?(t=r||t===n?1:q(t),nt(e,0,t<0?0:t)):[]}function jh(e,t,r){var a=e==null?0:e.length;return a?(t=r||t===n?1:q(t),t=a-t,nt(e,t<0?0:t,a)):[]}function ey(e,t){return e&&e.length?wo(e,F(t,3),!1,!0):[]}function ty(e,t){return e&&e.length?wo(e,F(t,3)):[]}var ny=Y(function(e){return Qt(be(e,1,Te,!0))}),ry=Y(function(e){var t=rt(e);return Te(t)&&(t=n),Qt(be(e,1,Te,!0),F(t,2))}),oy=Y(function(e){var t=rt(e);return t=typeof t=="function"?t:n,Qt(be(e,1,Te,!0),n,t)});function iy(e){return e&&e.length?Qt(e):[]}function sy(e,t){return e&&e.length?Qt(e,F(t,2)):[]}function ay(e,t){return t=typeof t=="function"?t:n,e&&e.length?Qt(e,n,t):[]}function Fs(e){if(!(e&&e.length))return[];var t=0;return e=zt(e,function(r){if(Te(r))return t=Se(r.length,t),!0}),es(t,function(r){return ue(e,Ji(r))})}function lu(e,t){if(!(e&&e.length))return[];var r=Fs(e);return t==null?r:ue(r,function(a){return $e(t,n,a)})}var cy=Y(function(e,t){return Te(e)?vr(e,t):[]}),ly=Y(function(e){return vs(zt(e,Te))}),uy=Y(function(e){var t=rt(e);return Te(t)&&(t=n),vs(zt(e,Te),F(t,2))}),py=Y(function(e){var t=rt(e);return t=typeof t=="function"?t:n,vs(zt(e,Te),n,t)}),fy=Y(Fs);function dy(e,t){return Ll(e||[],t||[],Sr)}function gy(e,t){return Ll(e||[],t||[],Ir)}var my=Y(function(e){var t=e.length,r=t>1?e[t-1]:n;return r=typeof r=="function"?(e.pop(),r):n,lu(e,r)});function uu(e){var t=u(e);return t.__chain__=!0,t}function Ty(e,t){return t(e),e}function Po(e,t){return t(e)}var hy=Rt(function(e){var t=e.length,r=t?e[0]:0,a=this.__wrapped__,c=function(p){return cs(p,e)};return t>1||this.__actions__.length||!(a instanceof X)||!Nt(r)?this.thru(c):(a=a.slice(r,+r+(t?1:0)),a.__actions__.push({func:Po,args:[c],thisArg:n}),new et(a,this.__chain__).thru(function(p){return t&&!p.length&&p.push(n),p}))});function yy(){return uu(this)}function xy(){return new et(this.value(),this.__chain__)}function Sy(){this.__values__===n&&(this.__values__=Iu(this.value()));var e=this.__index__>=this.__values__.length,t=e?n:this.__values__[this.__index__++];return{done:e,value:t}}function vy(){return this}function wy(e){for(var t,r=this;r instanceof To;){var a=ru(r);a.__index__=0,a.__values__=n,t?c.__wrapped__=a:t=a;var c=a;r=r.__wrapped__}return c.__wrapped__=e,t}function Ay(){var e=this.__wrapped__;if(e instanceof X){var t=e;return this.__actions__.length&&(t=new X(this)),t=t.reverse(),t.__actions__.push({func:Po,args:[Ms],thisArg:n}),new et(t,this.__chain__)}return this.thru(Ms)}function Iy(){return bl(this.__wrapped__,this.__actions__)}var _y=Ao(function(e,t,r){re.call(e,r)?++e[r]:Pt(e,r,1)});function by(e,t,r){var a=H(e)?Bc:TT;return r&&Re(e,t,r)&&(t=n),a(e,F(t,3))}function Ly(e,t){var r=H(e)?zt:ll;return r(e,F(t,3))}var Ey=Fl(ou),Cy=Fl(iu);function ky(e,t){return be(Do(e,t),1)}function Py(e,t){return be(Do(e,t),an)}function Dy(e,t,r){return r=r===n?1:q(r),be(Do(e,t),r)}function pu(e,t){var r=H(e)?Qe:Jt;return r(e,F(t,3))}function fu(e,t){var r=H(e)?Jg:cl;return r(e,F(t,3))}var Ry=Ao(function(e,t,r){re.call(e,r)?e[r].push(t):Pt(e,r,[t])});function Ny(e,t,r,a){e=Me(e)?e:Hn(e),r=r&&!a?q(r):0;var c=e.length;return r<0&&(r=Se(c+r,0)),Fo(e)?r<=c&&e.indexOf(t,r)>-1:!!c&&Dn(e,t,r)>-1}var Oy=Y(function(e,t,r){var a=-1,c=typeof t=="function",p=Me(e)?w(e.length):[];return Jt(e,function(T){p[++a]=c?$e(t,T,r):wr(T,t,r)}),p}),My=Ao(function(e,t,r){Pt(e,r,t)});function Do(e,t){var r=H(e)?ue:ml;return r(e,F(t,3))}function Fy(e,t,r,a){return e==null?[]:(H(t)||(t=t==null?[]:[t]),r=a?n:r,H(r)||(r=r==null?[]:[r]),xl(e,t,r))}var Uy=Ao(function(e,t,r){e[r?0:1].push(t)},function(){return[[],[]]});function By(e,t,r){var a=H(e)?Zi:Hc,c=arguments.length<3;return a(e,F(t,4),r,c,Jt)}function Wy(e,t,r){var a=H(e)?Qg:Hc,c=arguments.length<3;return a(e,F(t,4),r,c,cl)}function Gy(e,t){var r=H(e)?zt:ll;return r(e,Oo(F(t,3)))}function $y(e){var t=H(e)?ol:NT;return t(e)}function Hy(e,t,r){(r?Re(e,t,r):t===n)?t=1:t=q(t);var a=H(e)?pT:OT;return a(e,t)}function Vy(e){var t=H(e)?fT:FT;return t(e)}function qy(e){if(e==null)return 0;if(Me(e))return Fo(e)?Nn(e):e.length;var t=Ce(e);return t==at||t==ct?e.size:gs(e).length}function zy(e,t,r){var a=H(e)?Xi:UT;return r&&Re(e,t,r)&&(t=n),a(e,F(t,3))}var Ky=Y(function(e,t){if(e==null)return[];var r=t.length;return r>1&&Re(e,t[0],t[1])?t=[]:r>2&&Re(t[0],t[1],t[2])&&(t=[t[0]]),xl(e,be(t,1),[])}),Ro=Lm||function(){return ve.Date.now()};function Yy(e,t){if(typeof t!="function")throw new je(m);return e=q(e),function(){if(--e<1)return t.apply(this,arguments)}}function du(e,t,r){return t=r?n:t,t=e&&t==null?e.length:t,Dt(e,Lt,n,n,n,n,t)}function gu(e,t){var r;if(typeof t!="function")throw new je(m);return e=q(e),function(){return--e>0&&(r=t.apply(this,arguments)),e<=1&&(t=n),r}}var Us=Y(function(e,t,r){var a=me;if(r.length){var c=Yt(r,Gn(Us));a|=Tt}return Dt(e,a,t,r,c)}),mu=Y(function(e,t,r){var a=me|_e;if(r.length){var c=Yt(r,Gn(mu));a|=Tt}return Dt(t,a,e,r,c)});function Tu(e,t,r){t=r?n:t;var a=Dt(e,mt,n,n,n,n,n,t);return a.placeholder=Tu.placeholder,a}function hu(e,t,r){t=r?n:t;var a=Dt(e,Ln,n,n,n,n,n,t);return a.placeholder=hu.placeholder,a}function yu(e,t,r){var a,c,p,T,h,x,_=0,b=!1,L=!1,C=!0;if(typeof e!="function")throw new je(m);t=ot(t)||0,fe(r)&&(b=!!r.leading,L="maxWait"in r,p=L?Se(ot(r.maxWait)||0,t):p,C="trailing"in r?!!r.trailing:C);function R(he){var ft=a,Ft=c;return a=c=n,_=he,T=e.apply(Ft,ft),T}function U(he){return _=he,h=Lr(Z,t),b?R(he):T}function z(he){var ft=he-x,Ft=he-_,Fu=t-ft;return L?Ee(Fu,p-Ft):Fu}function B(he){var ft=he-x,Ft=he-_;return x===n||ft>=t||ft<0||L&&Ft>=p}function Z(){var he=Ro();if(B(he))return J(he);h=Lr(Z,z(he))}function J(he){return h=n,C&&a?R(he):(a=c=n,T)}function ze(){h!==n&&El(h),_=0,a=x=c=h=n}function Ne(){return h===n?T:J(Ro())}function Ke(){var he=Ro(),ft=B(he);if(a=arguments,c=this,x=he,ft){if(h===n)return U(x);if(L)return El(h),h=Lr(Z,t),R(x)}return h===n&&(h=Lr(Z,t)),T}return Ke.cancel=ze,Ke.flush=Ne,Ke}var Zy=Y(function(e,t){return al(e,1,t)}),Xy=Y(function(e,t,r){return al(e,ot(t)||0,r)});function Jy(e){return Dt(e,Ci)}function No(e,t){if(typeof e!="function"||t!=null&&typeof t!="function")throw new je(m);var r=function(){var a=arguments,c=t?t.apply(this,a):a[0],p=r.cache;if(p.has(c))return p.get(c);var T=e.apply(this,a);return r.cache=p.set(c,T)||p,T};return r.cache=new(No.Cache||kt),r}No.Cache=kt;function Oo(e){if(typeof e!="function")throw new je(m);return function(){var t=arguments;switch(t.length){case 0:return!e.call(this);case 1:return!e.call(this,t[0]);case 2:return!e.call(this,t[0],t[1]);case 3:return!e.call(this,t[0],t[1],t[2])}return!e.apply(this,t)}}function Qy(e){return gu(2,e)}var jy=BT(function(e,t){t=t.length==1&&H(t[0])?ue(t[0],He(F())):ue(be(t,1),He(F()));var r=t.length;return Y(function(a){for(var c=-1,p=Ee(a.length,r);++c<p;)a[c]=t[c].call(this,a[c]);return $e(e,this,a)})}),Bs=Y(function(e,t){var r=Yt(t,Gn(Bs));return Dt(e,Tt,n,t,r)}),xu=Y(function(e,t){var r=Yt(t,Gn(xu));return Dt(e,En,n,t,r)}),ex=Rt(function(e,t){return Dt(e,sr,n,n,n,t)});function tx(e,t){if(typeof e!="function")throw new je(m);return t=t===n?t:q(t),Y(e,t)}function nx(e,t){if(typeof e!="function")throw new je(m);return t=t==null?0:Se(q(t),0),Y(function(r){var a=r[t],c=en(r,0,t);return a&&Kt(c,a),$e(e,this,c)})}function rx(e,t,r){var a=!0,c=!0;if(typeof e!="function")throw new je(m);return fe(r)&&(a="leading"in r?!!r.leading:a,c="trailing"in r?!!r.trailing:c),yu(e,t,{leading:a,maxWait:t,trailing:c})}function ox(e){return du(e,1)}function ix(e,t){return Bs(As(t),e)}function sx(){if(!arguments.length)return[];var e=arguments[0];return H(e)?e:[e]}function ax(e){return tt(e,M)}function cx(e,t){return t=typeof t=="function"?t:n,tt(e,M,t)}function lx(e){return tt(e,N|M)}function ux(e,t){return t=typeof t=="function"?t:n,tt(e,N|M,t)}function px(e,t){return t==null||sl(e,t,we(t))}function pt(e,t){return e===t||e!==e&&t!==t}var fx=Lo(ps),dx=Lo(function(e,t){return e>=t}),Tn=fl(function(){return arguments}())?fl:function(e){return de(e)&&re.call(e,"callee")&&!Qc.call(e,"callee")},H=w.isArray,gx=Rc?He(Rc):wT;function Me(e){return e!=null&&Mo(e.length)&&!Ot(e)}function Te(e){return de(e)&&Me(e)}function mx(e){return e===!0||e===!1||de(e)&&De(e)==ar}var tn=Cm||Xs,Tx=Nc?He(Nc):AT;function hx(e){return de(e)&&e.nodeType===1&&!Er(e)}function yx(e){if(e==null)return!0;if(Me(e)&&(H(e)||typeof e=="string"||typeof e.splice=="function"||tn(e)||$n(e)||Tn(e)))return!e.length;var t=Ce(e);if(t==at||t==ct)return!e.size;if(br(e))return!gs(e).length;for(var r in e)if(re.call(e,r))return!1;return!0}function xx(e,t){return Ar(e,t)}function Sx(e,t,r){r=typeof r=="function"?r:n;var a=r?r(e,t):n;return a===n?Ar(e,t,n,r):!!a}function Ws(e){if(!de(e))return!1;var t=De(e);return t==Kr||t==Hd||typeof e.message=="string"&&typeof e.name=="string"&&!Er(e)}function vx(e){return typeof e=="number"&&el(e)}function Ot(e){if(!fe(e))return!1;var t=De(e);return t==Yr||t==ac||t==$d||t==qd}function Su(e){return typeof e=="number"&&e==q(e)}function Mo(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=qt}function fe(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}function de(e){return e!=null&&typeof e=="object"}var vu=Oc?He(Oc):_T;function wx(e,t){return e===t||ds(e,t,ks(t))}function Ax(e,t,r){return r=typeof r=="function"?r:n,ds(e,t,ks(t),r)}function Ix(e){return wu(e)&&e!=+e}function _x(e){if(ch(e))throw new $(l);return dl(e)}function bx(e){return e===null}function Lx(e){return e==null}function wu(e){return typeof e=="number"||de(e)&&De(e)==lr}function Er(e){if(!de(e)||De(e)!=Et)return!1;var t=co(e);if(t===null)return!0;var r=re.call(t,"constructor")&&t.constructor;return typeof r=="function"&&r instanceof r&&oo.call(r)==Am}var Gs=Mc?He(Mc):bT;function Ex(e){return Su(e)&&e>=-qt&&e<=qt}var Au=Fc?He(Fc):LT;function Fo(e){return typeof e=="string"||!H(e)&&de(e)&&De(e)==pr}function qe(e){return typeof e=="symbol"||de(e)&&De(e)==Zr}var $n=Uc?He(Uc):ET;function Cx(e){return e===n}function kx(e){return de(e)&&Ce(e)==fr}function Px(e){return de(e)&&De(e)==Kd}var Dx=Lo(ms),Rx=Lo(function(e,t){return e<=t});function Iu(e){if(!e)return[];if(Me(e))return Fo(e)?lt(e):Oe(e);if(mr&&e[mr])return pm(e[mr]());var t=Ce(e),r=t==at?ns:t==ct?to:Hn;return r(e)}function Mt(e){if(!e)return e===0?e:0;if(e=ot(e),e===an||e===-an){var t=e<0?-1:1;return t*Ud}return e===e?e:0}function q(e){var t=Mt(e),r=t%1;return t===t?r?t-r:t:0}function _u(e){return e?fn(q(e),0,ht):0}function ot(e){if(typeof e=="number")return e;if(qe(e))return qr;if(fe(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=fe(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=Vc(e);var r=gg.test(e);return r||Tg.test(e)?Yg(e.slice(2),r?2:8):dg.test(e)?qr:+e}function bu(e){return xt(e,Fe(e))}function Nx(e){return e?fn(q(e),-qt,qt):e===0?e:0}function te(e){return e==null?"":Ve(e)}var Ox=Bn(function(e,t){if(br(t)||Me(t)){xt(t,we(t),e);return}for(var r in t)re.call(t,r)&&Sr(e,r,t[r])}),Lu=Bn(function(e,t){xt(t,Fe(t),e)}),Uo=Bn(function(e,t,r,a){xt(t,Fe(t),e,a)}),Mx=Bn(function(e,t,r,a){xt(t,we(t),e,a)}),Fx=Rt(cs);function Ux(e,t){var r=Un(e);return t==null?r:il(r,t)}var Bx=Y(function(e,t){e=oe(e);var r=-1,a=t.length,c=a>2?t[2]:n;for(c&&Re(t[0],t[1],c)&&(a=1);++r<a;)for(var p=t[r],T=Fe(p),h=-1,x=T.length;++h<x;){var _=T[h],b=e[_];(b===n||pt(b,On[_])&&!re.call(e,_))&&(e[_]=p[_])}return e}),Wx=Y(function(e){return e.push(n,Vl),$e(Eu,n,e)});function Gx(e,t){return Wc(e,F(t,3),yt)}function $x(e,t){return Wc(e,F(t,3),us)}function Hx(e,t){return e==null?e:ls(e,F(t,3),Fe)}function Vx(e,t){return e==null?e:ul(e,F(t,3),Fe)}function qx(e,t){return e&&yt(e,F(t,3))}function zx(e,t){return e&&us(e,F(t,3))}function Kx(e){return e==null?[]:xo(e,we(e))}function Yx(e){return e==null?[]:xo(e,Fe(e))}function $s(e,t,r){var a=e==null?n:dn(e,t);return a===n?r:a}function Zx(e,t){return e!=null&&Kl(e,t,yT)}function Hs(e,t){return e!=null&&Kl(e,t,xT)}var Xx=Bl(function(e,t,r){t!=null&&typeof t.toString!="function"&&(t=io.call(t)),e[t]=r},qs(Ue)),Jx=Bl(function(e,t,r){t!=null&&typeof t.toString!="function"&&(t=io.call(t)),re.call(e,t)?e[t].push(r):e[t]=[r]},F),Qx=Y(wr);function we(e){return Me(e)?rl(e):gs(e)}function Fe(e){return Me(e)?rl(e,!0):CT(e)}function jx(e,t){var r={};return t=F(t,3),yt(e,function(a,c,p){Pt(r,t(a,c,p),a)}),r}function eS(e,t){var r={};return t=F(t,3),yt(e,function(a,c,p){Pt(r,c,t(a,c,p))}),r}var tS=Bn(function(e,t,r){So(e,t,r)}),Eu=Bn(function(e,t,r,a){So(e,t,r,a)}),nS=Rt(function(e,t){var r={};if(e==null)return r;var a=!1;t=ue(t,function(p){return p=jt(p,e),a||(a=p.length>1),p}),xt(e,Es(e),r),a&&(r=tt(r,N|G|M,XT));for(var c=t.length;c--;)Ss(r,t[c]);return r});function rS(e,t){return Cu(e,Oo(F(t)))}var oS=Rt(function(e,t){return e==null?{}:PT(e,t)});function Cu(e,t){if(e==null)return{};var r=ue(Es(e),function(a){return[a]});return t=F(t),Sl(e,r,function(a,c){return t(a,c[0])})}function iS(e,t,r){t=jt(t,e);var a=-1,c=t.length;for(c||(c=1,e=n);++a<c;){var p=e==null?n:e[St(t[a])];p===n&&(a=c,p=r),e=Ot(p)?p.call(e):p}return e}function sS(e,t,r){return e==null?e:Ir(e,t,r)}function aS(e,t,r,a){return a=typeof a=="function"?a:n,e==null?e:Ir(e,t,r,a)}var ku=$l(we),Pu=$l(Fe);function cS(e,t,r){var a=H(e),c=a||tn(e)||$n(e);if(t=F(t,4),r==null){var p=e&&e.constructor;c?r=a?new p:[]:fe(e)?r=Ot(p)?Un(co(e)):{}:r={}}return(c?Qe:yt)(e,function(T,h,x){return t(r,T,h,x)}),r}function lS(e,t){return e==null?!0:Ss(e,t)}function uS(e,t,r){return e==null?e:_l(e,t,As(r))}function pS(e,t,r,a){return a=typeof a=="function"?a:n,e==null?e:_l(e,t,As(r),a)}function Hn(e){return e==null?[]:ts(e,we(e))}function fS(e){return e==null?[]:ts(e,Fe(e))}function dS(e,t,r){return r===n&&(r=t,t=n),r!==n&&(r=ot(r),r=r===r?r:0),t!==n&&(t=ot(t),t=t===t?t:0),fn(ot(e),t,r)}function gS(e,t,r){return t=Mt(t),r===n?(r=t,t=0):r=Mt(r),e=ot(e),ST(e,t,r)}function mS(e,t,r){if(r&&typeof r!="boolean"&&Re(e,t,r)&&(t=r=n),r===n&&(typeof t=="boolean"?(r=t,t=n):typeof e=="boolean"&&(r=e,e=n)),e===n&&t===n?(e=0,t=1):(e=Mt(e),t===n?(t=e,e=0):t=Mt(t)),e>t){var a=e;e=t,t=a}if(r||e%1||t%1){var c=tl();return Ee(e+c*(t-e+Kg("1e-"+((c+"").length-1))),t)}return hs(e,t)}var TS=Wn(function(e,t,r){return t=t.toLowerCase(),e+(r?Du(t):t)});function Du(e){return Vs(te(e).toLowerCase())}function Ru(e){return e=te(e),e&&e.replace(yg,sm).replace(Fg,"")}function hS(e,t,r){e=te(e),t=Ve(t);var a=e.length;r=r===n?a:fn(q(r),0,a);var c=r;return r-=t.length,r>=0&&e.slice(r,c)==t}function yS(e){return e=te(e),e&&Qd.test(e)?e.replace(uc,am):e}function xS(e){return e=te(e),e&&og.test(e)?e.replace(Bi,"\\$&"):e}var SS=Wn(function(e,t,r){return e+(r?"-":"")+t.toLowerCase()}),vS=Wn(function(e,t,r){return e+(r?" ":"")+t.toLowerCase()}),wS=Ml("toLowerCase");function AS(e,t,r){e=te(e),t=q(t);var a=t?Nn(e):0;if(!t||a>=t)return e;var c=(t-a)/2;return bo(fo(c),r)+e+bo(po(c),r)}function IS(e,t,r){e=te(e),t=q(t);var a=t?Nn(e):0;return t&&a<t?e+bo(t-a,r):e}function _S(e,t,r){e=te(e),t=q(t);var a=t?Nn(e):0;return t&&a<t?bo(t-a,r)+e:e}function bS(e,t,r){return r||t==null?t=0:t&&(t=+t),Rm(te(e).replace(Wi,""),t||0)}function LS(e,t,r){return(r?Re(e,t,r):t===n)?t=1:t=q(t),ys(te(e),t)}function ES(){var e=arguments,t=te(e[0]);return e.length<3?t:t.replace(e[1],e[2])}var CS=Wn(function(e,t,r){return e+(r?"_":"")+t.toLowerCase()});function kS(e,t,r){return r&&typeof r!="number"&&Re(e,t,r)&&(t=r=n),r=r===n?ht:r>>>0,r?(e=te(e),e&&(typeof t=="string"||t!=null&&!Gs(t))&&(t=Ve(t),!t&&Rn(e))?en(lt(e),0,r):e.split(t,r)):[]}var PS=Wn(function(e,t,r){return e+(r?" ":"")+Vs(t)});function DS(e,t,r){return e=te(e),r=r==null?0:fn(q(r),0,e.length),t=Ve(t),e.slice(r,r+t.length)==t}function RS(e,t,r){var a=u.templateSettings;r&&Re(e,t,r)&&(t=n),e=te(e),t=Uo({},t,a,Hl);var c=Uo({},t.imports,a.imports,Hl),p=we(c),T=ts(c,p),h,x,_=0,b=t.interpolate||Xr,L="__p += '",C=rs((t.escape||Xr).source+"|"+b.source+"|"+(b===pc?fg:Xr).source+"|"+(t.evaluate||Xr).source+"|$","g"),R="//# sourceURL="+(re.call(t,"sourceURL")?(t.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++$g+"]")+`
|
|
4
|
+
`;e.replace(C,function(B,Z,J,ze,Ne,Ke){return J||(J=ze),L+=e.slice(_,Ke).replace(xg,cm),Z&&(h=!0,L+=`' +
|
|
5
5
|
__e(`+Z+`) +
|
|
6
6
|
'`),Ne&&(x=!0,L+=`';
|
|
7
7
|
`+Ne+`;
|
|
@@ -11,13 +11,13 @@ __p += '`),J&&(L+=`' +
|
|
|
11
11
|
`;var U=re.call(t,"variable")&&t.variable;if(!U)L=`with (obj) {
|
|
12
12
|
`+L+`
|
|
13
13
|
}
|
|
14
|
-
`;else if(
|
|
14
|
+
`;else if(ug.test(U))throw new $(v);L=(x?L.replace(Yd,""):L).replace(Zd,"$1").replace(Xd,"$1;"),L="function("+(U||"obj")+`) {
|
|
15
15
|
`+(U?"":`obj || (obj = {});
|
|
16
16
|
`)+"var __t, __p = ''"+(h?", __e = _.escape":"")+(x?`, __j = Array.prototype.join;
|
|
17
17
|
function print() { __p += __j.call(arguments, '') }
|
|
18
18
|
`:`;
|
|
19
19
|
`)+L+`return __p
|
|
20
|
-
}`;var z=Ou(function(){return j(p,R+"return "+L).apply(n,T)});if(z.source=L,Ws(z))throw z;return z}function DS(e){return te(e).toLowerCase()}function RS(e){return te(e).toUpperCase()}function NS(e,t,r){if(e=te(e),e&&(r||t===n))return Vc(e);if(!e||!(t=Ve(t)))return e;var a=lt(e),c=lt(t),p=qc(a,c),T=zc(a,c)+1;return en(a,p,T).join("")}function OS(e,t,r){if(e=te(e),e&&(r||t===n))return e.slice(0,Yc(e)+1);if(!e||!(t=Ve(t)))return e;var a=lt(e),c=zc(a,lt(t))+1;return en(a,0,c).join("")}function MS(e,t,r){if(e=te(e),e&&(r||t===n))return e.replace(Wi,"");if(!e||!(t=Ve(t)))return e;var a=lt(e),c=qc(a,lt(t));return en(a,c).join("")}function FS(e,t){var r=kd,a=Pd;if(fe(t)){var c="separator"in t?t.separator:c;r="length"in t?q(t.length):r,a="omission"in t?Ve(t.omission):a}e=te(e);var p=e.length;if(Rn(e)){var T=lt(e);p=T.length}if(r>=p)return e;var h=r-Nn(a);if(h<1)return a;var x=T?en(T,0,h).join(""):e.slice(0,h);if(c===n)return x+a;if(T&&(h+=x.length-h),Gs(c)){if(e.slice(h).search(c)){var _,b=x;for(c.global||(c=rs(c.source,te(fc.exec(c))+"g")),c.lastIndex=0;_=c.exec(b);)var L=_.index;x=x.slice(0,L===n?h:L)}}else if(e.indexOf(Ve(c),h)!=h){var C=x.lastIndexOf(c);C>-1&&(x=x.slice(0,C))}return x+a}function US(e){return e=te(e),e&&Zd.test(e)?e.replace(lc,dm):e}var BS=Wn(function(e,t,r){return e+(r?" ":"")+t.toUpperCase()}),Vs=Ml("toUpperCase");function Nu(e,t,r){return e=te(e),t=r?n:t,t===n?cm(e)?Tm(e):jg(e):e.match(t)||[]}var Ou=Y(function(e,t){try{return $e(e,n,t)}catch(r){return Ws(r)?r:new $(r)}}),WS=Rt(function(e,t){return Qe(t,function(r){r=St(r),Pt(e,r,Us(e[r],e))}),e});function GS(e){var t=e==null?0:e.length,r=F();return e=t?ue(e,function(a){if(typeof a[1]!="function")throw new je(m);return[r(a[0]),a[1]]}):[],Y(function(a){for(var c=-1;++c<t;){var p=e[c];if($e(p[0],this,a))return $e(p[1],this,a)}})}function $S(e){return dT(tt(e,N))}function qs(e){return function(){return e}}function HS(e,t){return e==null||e!==e?t:e}var VS=Ul(),qS=Ul(!0);function Ue(e){return e}function zs(e){return gl(typeof e=="function"?e:tt(e,N))}function zS(e){return Tl(tt(e,N))}function KS(e,t){return hl(e,tt(t,N))}var YS=Y(function(e,t){return function(r){return wr(r,e,t)}}),ZS=Y(function(e,t){return function(r){return wr(e,r,t)}});function Ks(e,t,r){var a=we(t),c=xo(t,a);r==null&&!(fe(t)&&(c.length||!a.length))&&(r=t,t=e,e=this,c=xo(t,we(t)));var p=!(fe(r)&&"chain"in r)||!!r.chain,T=Ot(e);return Qe(c,function(h){var x=t[h];e[h]=x,T&&(e.prototype[h]=function(){var _=this.__chain__;if(p||_){var b=e(this.__wrapped__),L=b.__actions__=Oe(this.__actions__);return L.push({func:x,args:arguments,thisArg:e}),b.__chain__=_,b}return x.apply(e,Kt([this.value()],arguments))})}),e}function XS(){return ve._===this&&(ve._=wm),this}function Ys(){}function JS(e){return e=q(e),Y(function(t){return yl(t,e)})}var QS=_s(ue),jS=_s(Bc),ev=_s(Xi);function Mu(e){return Ds(e)?Ji(St(e)):kT(e)}function tv(e){return function(t){return e==null?n:dn(e,t)}}var nv=Wl(),rv=Wl(!0);function Zs(){return[]}function Xs(){return!1}function ov(){return{}}function iv(){return""}function sv(){return!0}function av(e,t){if(e=q(e),e<1||e>qt)return[];var r=ht,a=Ee(e,ht);t=F(t),e-=ht;for(var c=es(a,t);++r<e;)t(r);return c}function cv(e){return H(e)?ue(e,St):qe(e)?[e]:Oe(nu(te(e)))}function lv(e){var t=++Sm;return te(e)+t}var uv=_o(function(e,t){return e+t},0),pv=bs("ceil"),fv=_o(function(e,t){return e/t},1),dv=bs("floor");function gv(e){return e&&e.length?yo(e,Ue,ps):n}function mv(e,t){return e&&e.length?yo(e,F(t,2),ps):n}function Tv(e){return $c(e,Ue)}function hv(e,t){return $c(e,F(t,2))}function yv(e){return e&&e.length?yo(e,Ue,ms):n}function xv(e,t){return e&&e.length?yo(e,F(t,2),ms):n}var Sv=_o(function(e,t){return e*t},1),vv=bs("round"),wv=_o(function(e,t){return e-t},0);function Av(e){return e&&e.length?ji(e,Ue):0}function Iv(e,t){return e&&e.length?ji(e,F(t,2)):0}return u.after=zy,u.ary=du,u.assign=Rx,u.assignIn=Lu,u.assignInWith=Uo,u.assignWith=Nx,u.at=Ox,u.before=gu,u.bind=Us,u.bindAll=WS,u.bindKey=mu,u.castArray=ox,u.chain=uu,u.chunk=dh,u.compact=gh,u.concat=mh,u.cond=GS,u.conforms=$S,u.constant=qs,u.countBy=Ay,u.create=Mx,u.curry=Tu,u.curryRight=hu,u.debounce=yu,u.defaults=Fx,u.defaultsDeep=Ux,u.defer=Ky,u.delay=Yy,u.difference=Th,u.differenceBy=hh,u.differenceWith=yh,u.drop=xh,u.dropRight=Sh,u.dropRightWhile=vh,u.dropWhile=wh,u.fill=Ah,u.filter=_y,u.flatMap=Ey,u.flatMapDeep=Cy,u.flatMapDepth=ky,u.flatten=su,u.flattenDeep=Ih,u.flattenDepth=_h,u.flip=Zy,u.flow=VS,u.flowRight=qS,u.fromPairs=bh,u.functions=qx,u.functionsIn=zx,u.groupBy=Py,u.initial=Eh,u.intersection=Ch,u.intersectionBy=kh,u.intersectionWith=Ph,u.invert=Yx,u.invertBy=Zx,u.invokeMap=Ry,u.iteratee=zs,u.keyBy=Ny,u.keys=we,u.keysIn=Fe,u.map=Do,u.mapKeys=Jx,u.mapValues=Qx,u.matches=zS,u.matchesProperty=KS,u.memoize=No,u.merge=jx,u.mergeWith=Eu,u.method=YS,u.methodOf=ZS,u.mixin=Ks,u.negate=Oo,u.nthArg=JS,u.omit=eS,u.omitBy=tS,u.once=Xy,u.orderBy=Oy,u.over=QS,u.overArgs=Jy,u.overEvery=jS,u.overSome=ev,u.partial=Bs,u.partialRight=xu,u.partition=My,u.pick=nS,u.pickBy=Cu,u.property=Mu,u.propertyOf=tv,u.pull=Oh,u.pullAll=cu,u.pullAllBy=Mh,u.pullAllWith=Fh,u.pullAt=Uh,u.range=nv,u.rangeRight=rv,u.rearg=Qy,u.reject=By,u.remove=Bh,u.rest=jy,u.reverse=Ms,u.sampleSize=Gy,u.set=oS,u.setWith=iS,u.shuffle=$y,u.slice=Wh,u.sortBy=qy,u.sortedUniq=Kh,u.sortedUniqBy=Yh,u.split=ES,u.spread=ex,u.tail=Zh,u.take=Xh,u.takeRight=Jh,u.takeRightWhile=Qh,u.takeWhile=jh,u.tap=gy,u.throttle=tx,u.thru=Po,u.toArray=Iu,u.toPairs=ku,u.toPairsIn=Pu,u.toPath=cv,u.toPlainObject=bu,u.transform=sS,u.unary=nx,u.union=ey,u.unionBy=ty,u.unionWith=ny,u.uniq=ry,u.uniqBy=oy,u.uniqWith=iy,u.unset=aS,u.unzip=Fs,u.unzipWith=lu,u.update=cS,u.updateWith=lS,u.values=Hn,u.valuesIn=uS,u.without=sy,u.words=Nu,u.wrap=rx,u.xor=ay,u.xorBy=cy,u.xorWith=ly,u.zip=uy,u.zipObject=py,u.zipObjectDeep=fy,u.zipWith=dy,u.entries=ku,u.entriesIn=Pu,u.extend=Lu,u.extendWith=Uo,Ks(u,u),u.add=uv,u.attempt=Ou,u.camelCase=gS,u.capitalize=Du,u.ceil=pv,u.clamp=pS,u.clone=ix,u.cloneDeep=ax,u.cloneDeepWith=cx,u.cloneWith=sx,u.conformsTo=lx,u.deburr=Ru,u.defaultTo=HS,u.divide=fv,u.endsWith=mS,u.eq=pt,u.escape=TS,u.escapeRegExp=hS,u.every=Iy,u.find=by,u.findIndex=ou,u.findKey=Bx,u.findLast=Ly,u.findLastIndex=iu,u.findLastKey=Wx,u.floor=dv,u.forEach=pu,u.forEachRight=fu,u.forIn=Gx,u.forInRight=$x,u.forOwn=Hx,u.forOwnRight=Vx,u.get=$s,u.gt=ux,u.gte=px,u.has=Kx,u.hasIn=Hs,u.head=au,u.identity=Ue,u.includes=Dy,u.indexOf=Lh,u.inRange=fS,u.invoke=Xx,u.isArguments=Tn,u.isArray=H,u.isArrayBuffer=fx,u.isArrayLike=Me,u.isArrayLikeObject=Te,u.isBoolean=dx,u.isBuffer=tn,u.isDate=gx,u.isElement=mx,u.isEmpty=Tx,u.isEqual=hx,u.isEqualWith=yx,u.isError=Ws,u.isFinite=xx,u.isFunction=Ot,u.isInteger=Su,u.isLength=Mo,u.isMap=vu,u.isMatch=Sx,u.isMatchWith=vx,u.isNaN=wx,u.isNative=Ax,u.isNil=_x,u.isNull=Ix,u.isNumber=wu,u.isObject=fe,u.isObjectLike=de,u.isPlainObject=Er,u.isRegExp=Gs,u.isSafeInteger=bx,u.isSet=Au,u.isString=Fo,u.isSymbol=qe,u.isTypedArray=$n,u.isUndefined=Lx,u.isWeakMap=Ex,u.isWeakSet=Cx,u.join=Dh,u.kebabCase=yS,u.last=rt,u.lastIndexOf=Rh,u.lowerCase=xS,u.lowerFirst=SS,u.lt=kx,u.lte=Px,u.max=gv,u.maxBy=mv,u.mean=Tv,u.meanBy=hv,u.min=yv,u.minBy=xv,u.stubArray=Zs,u.stubFalse=Xs,u.stubObject=ov,u.stubString=iv,u.stubTrue=sv,u.multiply=Sv,u.nth=Nh,u.noConflict=XS,u.noop=Ys,u.now=Ro,u.pad=vS,u.padEnd=wS,u.padStart=AS,u.parseInt=IS,u.random=dS,u.reduce=Fy,u.reduceRight=Uy,u.repeat=_S,u.replace=bS,u.result=rS,u.round=vv,u.runInContext=y,u.sample=Wy,u.size=Hy,u.snakeCase=LS,u.some=Vy,u.sortedIndex=Gh,u.sortedIndexBy=$h,u.sortedIndexOf=Hh,u.sortedLastIndex=Vh,u.sortedLastIndexBy=qh,u.sortedLastIndexOf=zh,u.startCase=CS,u.startsWith=kS,u.subtract=wv,u.sum=Av,u.sumBy=Iv,u.template=PS,u.times=av,u.toFinite=Mt,u.toInteger=q,u.toLength=_u,u.toLower=DS,u.toNumber=ot,u.toSafeInteger=Dx,u.toString=te,u.toUpper=RS,u.trim=NS,u.trimEnd=OS,u.trimStart=MS,u.truncate=FS,u.unescape=US,u.uniqueId=lv,u.upperCase=BS,u.upperFirst=Vs,u.each=pu,u.eachRight=fu,u.first=au,Ks(u,function(){var e={};return yt(u,function(t,r){re.call(u.prototype,r)||(e[r]=t)}),e}(),{chain:!1}),u.VERSION=o,Qe(["bind","bindKey","curry","curryRight","partial","partialRight"],function(e){u[e].placeholder=u}),Qe(["drop","take"],function(e,t){X.prototype[e]=function(r){r=r===n?1:Se(q(r),0);var a=this.__filtered__&&!t?new X(this):this.clone();return a.__filtered__?a.__takeCount__=Ee(r,a.__takeCount__):a.__views__.push({size:Ee(r,ht),type:e+(a.__dir__<0?"Right":"")}),a},X.prototype[e+"Right"]=function(r){return this.reverse()[e](r).reverse()}}),Qe(["filter","map","takeWhile"],function(e,t){var r=t+1,a=r==sc||r==Od;X.prototype[e]=function(c){var p=this.clone();return p.__iteratees__.push({iteratee:F(c,3),type:r}),p.__filtered__=p.__filtered__||a,p}}),Qe(["head","last"],function(e,t){var r="take"+(t?"Right":"");X.prototype[e]=function(){return this[r](1).value()[0]}}),Qe(["initial","tail"],function(e,t){var r="drop"+(t?"":"Right");X.prototype[e]=function(){return this.__filtered__?new X(this):this[r](1)}}),X.prototype.compact=function(){return this.filter(Ue)},X.prototype.find=function(e){return this.filter(e).head()},X.prototype.findLast=function(e){return this.reverse().find(e)},X.prototype.invokeMap=Y(function(e,t){return typeof e=="function"?new X(this):this.map(function(r){return wr(r,e,t)})}),X.prototype.reject=function(e){return this.filter(Oo(F(e)))},X.prototype.slice=function(e,t){e=q(e);var r=this;return r.__filtered__&&(e>0||t<0)?new X(r):(e<0?r=r.takeRight(-e):e&&(r=r.drop(e)),t!==n&&(t=q(t),r=t<0?r.dropRight(-t):r.take(t-e)),r)},X.prototype.takeRightWhile=function(e){return this.reverse().takeWhile(e).reverse()},X.prototype.toArray=function(){return this.take(ht)},yt(X.prototype,function(e,t){var r=/^(?:filter|find|map|reject)|While$/.test(t),a=/^(?:head|last)$/.test(t),c=u[a?"take"+(t=="last"?"Right":""):t],p=a||/^find/.test(t);!c||(u.prototype[t]=function(){var T=this.__wrapped__,h=a?[1]:arguments,x=T instanceof X,_=h[0],b=x||H(T),L=function(Z){var J=c.apply(u,Kt([Z],h));return a&&C?J[0]:J};b&&r&&typeof _=="function"&&_.length!=1&&(x=b=!1);var C=this.__chain__,R=!!this.__actions__.length,U=p&&!C,z=x&&!R;if(!p&&b){T=z?T:new X(this);var B=e.apply(T,h);return B.__actions__.push({func:Po,args:[L],thisArg:n}),new et(B,C)}return U&&z?e.apply(this,h):(B=this.thru(L),U?a?B.value()[0]:B.value():B)})}),Qe(["pop","push","shift","sort","splice","unshift"],function(e){var t=no[e],r=/^(?:push|sort|unshift)$/.test(e)?"tap":"thru",a=/^(?:pop|shift)$/.test(e);u.prototype[e]=function(){var c=arguments;if(a&&!this.__chain__){var p=this.value();return t.apply(H(p)?p:[],c)}return this[r](function(T){return t.apply(H(T)?T:[],c)})}}),yt(X.prototype,function(e,t){var r=u[t];if(r){var a=r.name+"";re.call(Fn,a)||(Fn[a]=[]),Fn[a].push({name:t,func:r})}}),Fn[Io(n,_e).name]=[{name:"wrapper",func:n}],X.prototype.clone=Um,X.prototype.reverse=Bm,X.prototype.value=Wm,u.prototype.at=my,u.prototype.chain=Ty,u.prototype.commit=hy,u.prototype.next=yy,u.prototype.plant=Sy,u.prototype.reverse=vy,u.prototype.toJSON=u.prototype.valueOf=u.prototype.value=wy,u.prototype.first=u.prototype.head,mr&&(u.prototype[mr]=xy),u},Zt=hm();typeof define=="function"&&typeof define.amd=="object"&&define.amd?(ve._=Zt,define(function(){return Zt})):cn?((cn.exports=Zt)._=Zt,zi._=Zt):ve._=Zt}).call(or)});var wI={};hn(wI,{ConfirmAddress:()=>vI});module.exports=Pr(wI);s();var Pe=V(require("react")),Vt=V(require("classnames"));s();s();s();var Mf=require("react"),tr=require("react-redux");s();var Ma=require("@reduxjs/toolkit"),Nf=require("react-redux/lib/utils/Subscription");ae();s();var uf=V(require("lodash.throttle"));se();s();var lf=V(require("lodash.isequal")),gi=require("reselect");Ie();var D=(0,gi.createSelectorCreator)(gi.defaultMemoize,lf.default),Ur=(n,o)=>n!=""&&Boolean(o);ae();va();Zn();Yn();var q0=[Ko],mi=!1,z0=(0,uf.default)(()=>{Or(Nr())},5e3),pf=n=>o=>i=>{var E;if(q0.includes(i.type))return o(i);let l=n.getState(),m=wn.local.getItem(nn.loginExpiresAt);if(!Ur((E=l==null?void 0:l.loginInfo)==null?void 0:E.loginMethod,l==null?void 0:l.account.address))return o(i);if(m==null)return Or(Nr());let S=Date.now();return m-S<0&&!mi?setTimeout(()=>{mi=!0,n.dispatch(Bp())},1e3):(mi&&(mi=!1),z0()),o(i)};s();s();function Ti(){return typeof sessionStorage!="undefined"}var Pf=Ti()?(wf(),Pr(vf)).default:(If(),Pr(Af)).default,Df=Ti()?(bf(),Pr(_f)).default:[],Rf=Ti()?(kf(),Pr(Cf)).default:n=>n;hi();var ee=(0,Ma.configureStore)({reducer:Pf,middleware:n=>n({serializableCheck:{ignoredActions:[...Df,Sa.type,xa.type],ignoredPaths:["payload.nonce","account.account.nonce","providers.accountProvider"]}}).concat(pf)}),Of=(0,Nf.createSubscription)(ee),ZL=Rf(ee),XL=(0,Ma.configureStore)({reducer:_n});var gw={store:ee,subscription:Of},Fa=(0,Mf.createContext)(gw),eE=(0,tr.createStoreHook)(Fa),Ge=(0,tr.createDispatchHook)(Fa),ne=(0,tr.createSelectorHook)(Fa);s();s();ae();var Gt=n=>n.account,nr=D(Gt,n=>n.address),Wr=D(Gt,nr,(n,o)=>o in n.accounts?n.accounts[o]:Zo),Ff=D(Gt,Wr,(n,o)=>{let m=n,{accounts:i}=m,l=Wo(m,["accounts"]);return Q(O({},l),{account:o})}),mw=D(Wr,n=>n.balance),Tw=D(Wr,n=>{var o;return((o=n==null?void 0:n.nonce)==null?void 0:o.valueOf())||0}),oE=D(Gt,n=>n.shard),hw=D(Gt,n=>n.ledgerAccount),iE=D(Gt,n=>n.walletConnectAccount),sE=D(Gt,n=>n.isAccountLoading),aE=D(Gt,n=>n.accountLoadingError),Uf=D(Gt,n=>n.websocketEvent);s();var dt=n=>n.loginInfo,pE=D(dt,n=>n.loginMethod),Ua=D(dt,nr,(n,o)=>Ur(n.loginMethod,o)),fE=D(dt,n=>n.walletConnectLogin),dE=D(dt,n=>n.ledgerLogin),yw=D(dt,n=>n.walletLogin),gE=D(dt,n=>n.isLoginSessionInvalid),Ba=D(dt,n=>n.tokenLogin),mE=D(dt,n=>n.logoutRoute);s();var Bf=n=>n.modals,yE=D(Bf,n=>n.txSubmittedModal),xw=D(Bf,n=>n.notificationModal);s();var $t=n=>n.networkConfig,yi=D($t,n=>n.chainID),Sw=D($t,n=>n.network.walletConnectBridgeAddress),vw=D($t,n=>n.network.walletConnectV2RelayAddress),ww=D($t,n=>n.network.walletConnectV2ProjectId),Aw=D($t,n=>n.network.walletConnectV2Options),Wf=D($t,n=>n.network.walletConnectDeepLink),on=D($t,n=>n.network),Gf=D(on,n=>n.apiAddress),$f=D(on,n=>n.explorerAddress),Hf=D(on,n=>n.egldLabel);s();var Wa=n=>n.signedMessageInfo,AE=D(Wa,n=>n.isSigning),IE=D(Wa,n=>n.errorMessage),_E=D(Wa,n=>{let o=Object.keys(n.signedSessions),i=o.length;return n.signedSessions[o[i-1]]});s();var Ga=n=>n.toasts,EE=D(Ga,n=>n.customToasts),CE=D(Ga,n=>n.transactionToasts),kE=D(Ga,n=>n.failTransactionToast);s();ae();var Vf={errorMessage:Ea,successMessage:Ca,processingMessage:ka},Iw=n=>n.transactionsInfo,_w=D(Iw,(n,o)=>o,(n,o)=>o!=null&&(n==null?void 0:n[Number(o)])||Vf);s();s();var Xe=require("@multiversx/sdk-core");se();s();function $a(n){try{return d.Buffer.from(n,"base64").toString()===atob(n)}catch(o){return!1}}function xi(n){var m,v,S;let{data:o}=n,i=$a(o!=null?o:"")?Xe.TransactionPayload.fromEncoded(o):new Xe.TransactionPayload(o),l=new Xe.Transaction(O({value:n.value.valueOf(),data:i,nonce:n.nonce.valueOf(),receiver:new Xe.Address(n.receiver),sender:new Xe.Address(n.sender),gasLimit:(m=n.gasLimit.valueOf())!=null?m:Dr,gasPrice:(v=n.gasPrice.valueOf())!=null?v:zo,chainID:n.chainID.valueOf(),version:new Xe.TransactionVersion((S=n.version)!=null?S:Ap)},n.options?{options:new Xe.TransactionOptions(n.options)}:{}));return l.applySignature({hex:()=>n.signature||""},new Xe.Address(n.sender)),l}s();s();s();s();s();var Lw=require("@multiversx/sdk-core/out");s();se();s();var qf=require("@multiversx/sdk-core");Ie();s();var Ew=require("@multiversx/sdk-core");s();s();s();var kw=require("@multiversx/sdk-core"),Pw=V(require("bignumber.js"));ge();s();s();s();s();s();var Va="blocks";s();s();s();s();We();s();s();We();s();s();s();var Bw=V(require("bignumber.js"));se();s();var Uw=require("@multiversx/sdk-core"),qa=V(require("bignumber.js"));se();s();var Mw=V(require("bignumber.js"));s();qa.default.config({ROUNDING_MODE:qa.default.ROUND_FLOOR});s();s();s();se();s();s();s();s();se();s();se();s();var Ww=require("@multiversx/sdk-core");se();s();var Gr=require("@multiversx/sdk-core"),Hw=require("@multiversx/sdk-network-providers");se();s();s();var Gw=V(require("bignumber.js"));se();s();se();s();s();s();s();s();se();s();We();var qw=["reDelegateRewards","claimRewards","unBond"],zw=["wrapEgld","unwrapEgld"],Kw=["unStake"],Yw=["unDelegate"];s();s();s();se();s();var Qw=V(require("bignumber.js"));s();s();s();s();We();s();var jw=V(require("bignumber.js"));s();s();s();var nA=V(require("bignumber.js"));Ie();s();s();s();s();ge();s();s();s();s();We();s();s();s();var rA=V(require("linkifyjs"));s();se();s();var oA=V(require("bignumber.js"));s();Ie();s();s();ge();s();ge();s();s();s();We();s();We();s();var iA=V(require("bignumber.js"));se();We();s();We();s();var td=require("react");Ie();s();s();We();s();s();var sA=require("@multiversx/sdk-core/out"),aA=V(require("bignumber.js"));We();s();Ie();s();s();Ie();var uR=[{label:"Raw",value:"raw"},{label:"Text",value:"text"},{label:"Decimal",value:"decimal"},{label:"Smart",value:"smart"}];s();var nd=require("react");Ie();s();var lA=require("react");We();var hR=["create","localMint","ESDTLocalMint","addQuantity","burn","localBurn","ESDTLocalBurn","wipe","writeLog","signalError"];er();var Ai=n=>n.transactions,rr=D(Ai,n=>n.signedTransactions),uA=D(Ai,n=>n.signTransactionsError),rd=D(Ai,n=>n.signTransactionsCancelMessage),Ii=n=>o=>Object.entries(o).reduce((i,[l,m])=>(n(m.status)&&(i[l]=m),i),{}),od=D(rr,Ii(Jn)),id=D(rr,Ii(Qn)),sd=D(rr,Ii(jn)),pA=D(rr,Ii(Da)),ad=D(Ai,n=>{var o;return(n==null?void 0:n.transactionsToSign)==null?null:Q(O({},n.transactionsToSign),{transactions:((o=n==null?void 0:n.transactionsToSign)==null?void 0:o.transactions.map(i=>xi(i)))||[]})}),fA=D(rr,(n,o)=>o,(n,o)=>o!=null?(n==null?void 0:n[o])||{}:{});s();var cd=require("react");s();ae();s();s();s();s();s();s();s();s();var dA=require("@multiversx/sdk-extension-provider"),gA=require("@multiversx/sdk-hw-provider"),mA=require("@multiversx/sdk-opera-provider"),TA=require("@multiversx/sdk-wallet-connect-provider/out/walletConnectProvider"),hA=require("@multiversx/sdk-wallet-connect-provider/out/walletConnectV2Provider"),yA=require("@multiversx/sdk-web-wallet-provider");se();ge();var Ht=n=>`Unable to perform ${n}, Provider not initialized`,Ka=class{init(){return Promise.resolve(!1)}login(o){throw new Error(Ht(`login with options: ${o}`))}logout(o){throw new Error(Ht(`logout with options: ${o}`))}getAddress(){throw new Error(Ht("getAddress"))}isInitialized(){return!1}isConnected(){return Promise.resolve(!1)}sendTransaction(o,i){throw new Error(Ht(`sendTransaction with transactions: ${o} options: ${i}`))}signTransaction(o,i){throw new Error(Ht(`signTransaction with transactions: ${o} options: ${i}`))}signTransactions(o,i){throw new Error(Ht(`signTransactions with transactions: ${o} options: ${i}`))}signMessage(o,i){throw new Error(Ht(`signTransactions with ${o} and options ${i}`))}sendCustomMessage({method:o,params:i}){throw new Error(Ht(`sendCustomMessage with method: ${o} params: ${i}`))}sendCustomRequest(o){throw new Error(Ht(`sendSessionEvent with options: ${o}`))}ping(){return Promise.resolve(!1)}},xA=new Ka;ae();s();s();var SA=V(require("axios"));s();s();s();ge();s();s();s();er();s();s();s();var vA=V(require("axios"));s();var wA=V(require("axios"));s();var IA=V(require("axios"));s();s();var _A=V(require("axios"));s();var bA=V(require("axios"));s();ae();ge();s();s();ae();s();s();var fd=require("@multiversx/sdk-core");s();ke();Ie();s();er();s();ae();ge();s();ae();Ie();s();s();s();Ie();s();s();s();s();var kA=V(require("axios")),PA=V(require("swr"));s();s();var dd=require("react");s();var RA=require("react"),NA=require("@multiversx/sdk-web-wallet-provider"),OA=V(require("qs"));se();ae();ge();s();var md=require("react");Aa();s();var xd=require("react"),VA=require("@multiversx/sdk-extension-provider");se();s();ae();ge();s();s();s();s();var yd=require("react"),WA=require("@multiversx/sdk-extension-provider");se();s();s();var Xa=()=>ne(Ff);s();s();s();s();s();s();var $r=V(require("react"));var rU=(0,$r.createContext)({}),oU=ee.getState();s();var hd=V(require("react"));s();var Qa=V(require("react")),FA=V(require("axios"));s();s();ae();s();s();var qA=V(require("axios"));ae();Ie();Mr();s();vn();ae();s();s();var tI=require("react");s();s();s();ae();s();s();var YA=V(require("bignumber.js"));se();ae();Ie();s();var KA=V(require("bignumber.js"));se();s();var ZA=require("@multiversx/sdk-core"),XA=V(require("bignumber.js"));se();s();s();s();s();var wd=V(require("axios"));s();s();s();function Sd(n){return K(this,null,function*(){return yield new Promise(o=>{setTimeout(()=>o(),n)})})}s();var vd=(n,o,i,l=0)=>K(void 0,null,function*(){try{return yield n(...i)}catch(m){return l<o.retries?((o==null?void 0:o.delay)!=null&&(yield Sd(o.delay)),yield vd(n,o,i,l+1)):null}}),ec=(n,o={retries:5,delay:500})=>(...i)=>K(void 0,null,function*(){return yield vd(n,o,i)});var JA=4;var K2=ec((n,o)=>K(void 0,null,function*(){let{data:i}=yield wd.default.get(`${n}/${Va}?from=${JA}&size=1&fields=hash,timestamp${o?"&shard="+o:""}`),[l]=i;return l}));s();s();Yo();s();s();var QA=V(Ad());s();var Id,sW={origin:typeof window!="undefined"?(Id=window==null?void 0:window.location)==null?void 0:Id.origin:"",apiAddress:"https://api.multiversx.com",expirySeconds:60*60*24,tokenExpirationToastWarningSeconds:5*60};s();ge();er();s();var _d=require("react");s();s();var rI=require("react"),oI=require("@multiversx/sdk-extension-provider");vn();ke();ge();s();An();s();var nI=require("react"),bd=require("@multiversx/sdk-core");ae();s();var iI=require("react"),sI=require("@multiversx/sdk-opera-provider");vn();ke();ge();An();s();var lI=require("react");vn();ae();s();s();s();fa();s();s();var aI=V(require("platform"));s();ke();Ie();Mr();Zn();Yn();s();s();s();s();s();s();s();s();s();s();ge();s();Mr();Zn();s();s();s();ae();s();s();var cI=V(require("axios"));s();s();var Ld=require("react"),pI=require("@multiversx/sdk-hw-provider");vn();ke();ae();ge();An();s();var uI=require("react");s();var nc=require("react"),gI=require("@multiversx/sdk-wallet-connect-provider/out/walletConnectProvider");ke();ae();ge();An();s();var rc=require("react"),mI=require("@multiversx/sdk-wallet-connect-provider/out/walletConnectV2Provider");ke();ae();ge();An();s();s();var Ed=require("react");s();var yI=require("react");s();var oc=require("react"),hI=require("socket.io-client");ae();s();s();s();s();var Cd=n=>n.dappModal,xI=D(Cd,n=>n.visible),Ei=D(Cd,n=>n.modal),G6=D(Ei,n=>n.showHeader),$6=D(Ei,n=>n.showFooter),H6=D(Ei,n=>n.headerText),V6=D(Ei,n=>n.footerText);s();var SI=`.dapp-core-component__confirmAddressStyles__ledger-confirm-address {
|
|
20
|
+
}`;var z=Ou(function(){return j(p,R+"return "+L).apply(n,T)});if(z.source=L,Ws(z))throw z;return z}function NS(e){return te(e).toLowerCase()}function OS(e){return te(e).toUpperCase()}function MS(e,t,r){if(e=te(e),e&&(r||t===n))return Vc(e);if(!e||!(t=Ve(t)))return e;var a=lt(e),c=lt(t),p=qc(a,c),T=zc(a,c)+1;return en(a,p,T).join("")}function FS(e,t,r){if(e=te(e),e&&(r||t===n))return e.slice(0,Yc(e)+1);if(!e||!(t=Ve(t)))return e;var a=lt(e),c=zc(a,lt(t))+1;return en(a,0,c).join("")}function US(e,t,r){if(e=te(e),e&&(r||t===n))return e.replace(Wi,"");if(!e||!(t=Ve(t)))return e;var a=lt(e),c=qc(a,lt(t));return en(a,c).join("")}function BS(e,t){var r=Dd,a=Rd;if(fe(t)){var c="separator"in t?t.separator:c;r="length"in t?q(t.length):r,a="omission"in t?Ve(t.omission):a}e=te(e);var p=e.length;if(Rn(e)){var T=lt(e);p=T.length}if(r>=p)return e;var h=r-Nn(a);if(h<1)return a;var x=T?en(T,0,h).join(""):e.slice(0,h);if(c===n)return x+a;if(T&&(h+=x.length-h),Gs(c)){if(e.slice(h).search(c)){var _,b=x;for(c.global||(c=rs(c.source,te(fc.exec(c))+"g")),c.lastIndex=0;_=c.exec(b);)var L=_.index;x=x.slice(0,L===n?h:L)}}else if(e.indexOf(Ve(c),h)!=h){var C=x.lastIndexOf(c);C>-1&&(x=x.slice(0,C))}return x+a}function WS(e){return e=te(e),e&&Jd.test(e)?e.replace(lc,mm):e}var GS=Wn(function(e,t,r){return e+(r?" ":"")+t.toUpperCase()}),Vs=Ml("toUpperCase");function Nu(e,t,r){return e=te(e),t=r?n:t,t===n?um(e)?ym(e):tm(e):e.match(t)||[]}var Ou=Y(function(e,t){try{return $e(e,n,t)}catch(r){return Ws(r)?r:new $(r)}}),$S=Rt(function(e,t){return Qe(t,function(r){r=St(r),Pt(e,r,Us(e[r],e))}),e});function HS(e){var t=e==null?0:e.length,r=F();return e=t?ue(e,function(a){if(typeof a[1]!="function")throw new je(m);return[r(a[0]),a[1]]}):[],Y(function(a){for(var c=-1;++c<t;){var p=e[c];if($e(p[0],this,a))return $e(p[1],this,a)}})}function VS(e){return mT(tt(e,N))}function qs(e){return function(){return e}}function qS(e,t){return e==null||e!==e?t:e}var zS=Ul(),KS=Ul(!0);function Ue(e){return e}function zs(e){return gl(typeof e=="function"?e:tt(e,N))}function YS(e){return Tl(tt(e,N))}function ZS(e,t){return hl(e,tt(t,N))}var XS=Y(function(e,t){return function(r){return wr(r,e,t)}}),JS=Y(function(e,t){return function(r){return wr(e,r,t)}});function Ks(e,t,r){var a=we(t),c=xo(t,a);r==null&&!(fe(t)&&(c.length||!a.length))&&(r=t,t=e,e=this,c=xo(t,we(t)));var p=!(fe(r)&&"chain"in r)||!!r.chain,T=Ot(e);return Qe(c,function(h){var x=t[h];e[h]=x,T&&(e.prototype[h]=function(){var _=this.__chain__;if(p||_){var b=e(this.__wrapped__),L=b.__actions__=Oe(this.__actions__);return L.push({func:x,args:arguments,thisArg:e}),b.__chain__=_,b}return x.apply(e,Kt([this.value()],arguments))})}),e}function QS(){return ve._===this&&(ve._=Im),this}function Ys(){}function jS(e){return e=q(e),Y(function(t){return yl(t,e)})}var ev=_s(ue),tv=_s(Bc),nv=_s(Xi);function Mu(e){return Ds(e)?Ji(St(e)):DT(e)}function rv(e){return function(t){return e==null?n:dn(e,t)}}var ov=Wl(),iv=Wl(!0);function Zs(){return[]}function Xs(){return!1}function sv(){return{}}function av(){return""}function cv(){return!0}function lv(e,t){if(e=q(e),e<1||e>qt)return[];var r=ht,a=Ee(e,ht);t=F(t),e-=ht;for(var c=es(a,t);++r<e;)t(r);return c}function uv(e){return H(e)?ue(e,St):qe(e)?[e]:Oe(nu(te(e)))}function pv(e){var t=++wm;return te(e)+t}var fv=_o(function(e,t){return e+t},0),dv=bs("ceil"),gv=_o(function(e,t){return e/t},1),mv=bs("floor");function Tv(e){return e&&e.length?yo(e,Ue,ps):n}function hv(e,t){return e&&e.length?yo(e,F(t,2),ps):n}function yv(e){return $c(e,Ue)}function xv(e,t){return $c(e,F(t,2))}function Sv(e){return e&&e.length?yo(e,Ue,ms):n}function vv(e,t){return e&&e.length?yo(e,F(t,2),ms):n}var wv=_o(function(e,t){return e*t},1),Av=bs("round"),Iv=_o(function(e,t){return e-t},0);function _v(e){return e&&e.length?ji(e,Ue):0}function bv(e,t){return e&&e.length?ji(e,F(t,2)):0}return u.after=Yy,u.ary=du,u.assign=Ox,u.assignIn=Lu,u.assignInWith=Uo,u.assignWith=Mx,u.at=Fx,u.before=gu,u.bind=Us,u.bindAll=$S,u.bindKey=mu,u.castArray=sx,u.chain=uu,u.chunk=mh,u.compact=Th,u.concat=hh,u.cond=HS,u.conforms=VS,u.constant=qs,u.countBy=_y,u.create=Ux,u.curry=Tu,u.curryRight=hu,u.debounce=yu,u.defaults=Bx,u.defaultsDeep=Wx,u.defer=Zy,u.delay=Xy,u.difference=yh,u.differenceBy=xh,u.differenceWith=Sh,u.drop=vh,u.dropRight=wh,u.dropRightWhile=Ah,u.dropWhile=Ih,u.fill=_h,u.filter=Ly,u.flatMap=ky,u.flatMapDeep=Py,u.flatMapDepth=Dy,u.flatten=su,u.flattenDeep=bh,u.flattenDepth=Lh,u.flip=Jy,u.flow=zS,u.flowRight=KS,u.fromPairs=Eh,u.functions=Kx,u.functionsIn=Yx,u.groupBy=Ry,u.initial=kh,u.intersection=Ph,u.intersectionBy=Dh,u.intersectionWith=Rh,u.invert=Xx,u.invertBy=Jx,u.invokeMap=Oy,u.iteratee=zs,u.keyBy=My,u.keys=we,u.keysIn=Fe,u.map=Do,u.mapKeys=jx,u.mapValues=eS,u.matches=YS,u.matchesProperty=ZS,u.memoize=No,u.merge=tS,u.mergeWith=Eu,u.method=XS,u.methodOf=JS,u.mixin=Ks,u.negate=Oo,u.nthArg=jS,u.omit=nS,u.omitBy=rS,u.once=Qy,u.orderBy=Fy,u.over=ev,u.overArgs=jy,u.overEvery=tv,u.overSome=nv,u.partial=Bs,u.partialRight=xu,u.partition=Uy,u.pick=oS,u.pickBy=Cu,u.property=Mu,u.propertyOf=rv,u.pull=Fh,u.pullAll=cu,u.pullAllBy=Uh,u.pullAllWith=Bh,u.pullAt=Wh,u.range=ov,u.rangeRight=iv,u.rearg=ex,u.reject=Gy,u.remove=Gh,u.rest=tx,u.reverse=Ms,u.sampleSize=Hy,u.set=sS,u.setWith=aS,u.shuffle=Vy,u.slice=$h,u.sortBy=Ky,u.sortedUniq=Zh,u.sortedUniqBy=Xh,u.split=kS,u.spread=nx,u.tail=Jh,u.take=Qh,u.takeRight=jh,u.takeRightWhile=ey,u.takeWhile=ty,u.tap=Ty,u.throttle=rx,u.thru=Po,u.toArray=Iu,u.toPairs=ku,u.toPairsIn=Pu,u.toPath=uv,u.toPlainObject=bu,u.transform=cS,u.unary=ox,u.union=ny,u.unionBy=ry,u.unionWith=oy,u.uniq=iy,u.uniqBy=sy,u.uniqWith=ay,u.unset=lS,u.unzip=Fs,u.unzipWith=lu,u.update=uS,u.updateWith=pS,u.values=Hn,u.valuesIn=fS,u.without=cy,u.words=Nu,u.wrap=ix,u.xor=ly,u.xorBy=uy,u.xorWith=py,u.zip=fy,u.zipObject=dy,u.zipObjectDeep=gy,u.zipWith=my,u.entries=ku,u.entriesIn=Pu,u.extend=Lu,u.extendWith=Uo,Ks(u,u),u.add=fv,u.attempt=Ou,u.camelCase=TS,u.capitalize=Du,u.ceil=dv,u.clamp=dS,u.clone=ax,u.cloneDeep=lx,u.cloneDeepWith=ux,u.cloneWith=cx,u.conformsTo=px,u.deburr=Ru,u.defaultTo=qS,u.divide=gv,u.endsWith=hS,u.eq=pt,u.escape=yS,u.escapeRegExp=xS,u.every=by,u.find=Ey,u.findIndex=ou,u.findKey=Gx,u.findLast=Cy,u.findLastIndex=iu,u.findLastKey=$x,u.floor=mv,u.forEach=pu,u.forEachRight=fu,u.forIn=Hx,u.forInRight=Vx,u.forOwn=qx,u.forOwnRight=zx,u.get=$s,u.gt=fx,u.gte=dx,u.has=Zx,u.hasIn=Hs,u.head=au,u.identity=Ue,u.includes=Ny,u.indexOf=Ch,u.inRange=gS,u.invoke=Qx,u.isArguments=Tn,u.isArray=H,u.isArrayBuffer=gx,u.isArrayLike=Me,u.isArrayLikeObject=Te,u.isBoolean=mx,u.isBuffer=tn,u.isDate=Tx,u.isElement=hx,u.isEmpty=yx,u.isEqual=xx,u.isEqualWith=Sx,u.isError=Ws,u.isFinite=vx,u.isFunction=Ot,u.isInteger=Su,u.isLength=Mo,u.isMap=vu,u.isMatch=wx,u.isMatchWith=Ax,u.isNaN=Ix,u.isNative=_x,u.isNil=Lx,u.isNull=bx,u.isNumber=wu,u.isObject=fe,u.isObjectLike=de,u.isPlainObject=Er,u.isRegExp=Gs,u.isSafeInteger=Ex,u.isSet=Au,u.isString=Fo,u.isSymbol=qe,u.isTypedArray=$n,u.isUndefined=Cx,u.isWeakMap=kx,u.isWeakSet=Px,u.join=Nh,u.kebabCase=SS,u.last=rt,u.lastIndexOf=Oh,u.lowerCase=vS,u.lowerFirst=wS,u.lt=Dx,u.lte=Rx,u.max=Tv,u.maxBy=hv,u.mean=yv,u.meanBy=xv,u.min=Sv,u.minBy=vv,u.stubArray=Zs,u.stubFalse=Xs,u.stubObject=sv,u.stubString=av,u.stubTrue=cv,u.multiply=wv,u.nth=Mh,u.noConflict=QS,u.noop=Ys,u.now=Ro,u.pad=AS,u.padEnd=IS,u.padStart=_S,u.parseInt=bS,u.random=mS,u.reduce=By,u.reduceRight=Wy,u.repeat=LS,u.replace=ES,u.result=iS,u.round=Av,u.runInContext=y,u.sample=$y,u.size=qy,u.snakeCase=CS,u.some=zy,u.sortedIndex=Hh,u.sortedIndexBy=Vh,u.sortedIndexOf=qh,u.sortedLastIndex=zh,u.sortedLastIndexBy=Kh,u.sortedLastIndexOf=Yh,u.startCase=PS,u.startsWith=DS,u.subtract=Iv,u.sum=_v,u.sumBy=bv,u.template=RS,u.times=lv,u.toFinite=Mt,u.toInteger=q,u.toLength=_u,u.toLower=NS,u.toNumber=ot,u.toSafeInteger=Nx,u.toString=te,u.toUpper=OS,u.trim=MS,u.trimEnd=FS,u.trimStart=US,u.truncate=BS,u.unescape=WS,u.uniqueId=pv,u.upperCase=GS,u.upperFirst=Vs,u.each=pu,u.eachRight=fu,u.first=au,Ks(u,function(){var e={};return yt(u,function(t,r){re.call(u.prototype,r)||(e[r]=t)}),e}(),{chain:!1}),u.VERSION=o,Qe(["bind","bindKey","curry","curryRight","partial","partialRight"],function(e){u[e].placeholder=u}),Qe(["drop","take"],function(e,t){X.prototype[e]=function(r){r=r===n?1:Se(q(r),0);var a=this.__filtered__&&!t?new X(this):this.clone();return a.__filtered__?a.__takeCount__=Ee(r,a.__takeCount__):a.__views__.push({size:Ee(r,ht),type:e+(a.__dir__<0?"Right":"")}),a},X.prototype[e+"Right"]=function(r){return this.reverse()[e](r).reverse()}}),Qe(["filter","map","takeWhile"],function(e,t){var r=t+1,a=r==sc||r==Fd;X.prototype[e]=function(c){var p=this.clone();return p.__iteratees__.push({iteratee:F(c,3),type:r}),p.__filtered__=p.__filtered__||a,p}}),Qe(["head","last"],function(e,t){var r="take"+(t?"Right":"");X.prototype[e]=function(){return this[r](1).value()[0]}}),Qe(["initial","tail"],function(e,t){var r="drop"+(t?"":"Right");X.prototype[e]=function(){return this.__filtered__?new X(this):this[r](1)}}),X.prototype.compact=function(){return this.filter(Ue)},X.prototype.find=function(e){return this.filter(e).head()},X.prototype.findLast=function(e){return this.reverse().find(e)},X.prototype.invokeMap=Y(function(e,t){return typeof e=="function"?new X(this):this.map(function(r){return wr(r,e,t)})}),X.prototype.reject=function(e){return this.filter(Oo(F(e)))},X.prototype.slice=function(e,t){e=q(e);var r=this;return r.__filtered__&&(e>0||t<0)?new X(r):(e<0?r=r.takeRight(-e):e&&(r=r.drop(e)),t!==n&&(t=q(t),r=t<0?r.dropRight(-t):r.take(t-e)),r)},X.prototype.takeRightWhile=function(e){return this.reverse().takeWhile(e).reverse()},X.prototype.toArray=function(){return this.take(ht)},yt(X.prototype,function(e,t){var r=/^(?:filter|find|map|reject)|While$/.test(t),a=/^(?:head|last)$/.test(t),c=u[a?"take"+(t=="last"?"Right":""):t],p=a||/^find/.test(t);!c||(u.prototype[t]=function(){var T=this.__wrapped__,h=a?[1]:arguments,x=T instanceof X,_=h[0],b=x||H(T),L=function(Z){var J=c.apply(u,Kt([Z],h));return a&&C?J[0]:J};b&&r&&typeof _=="function"&&_.length!=1&&(x=b=!1);var C=this.__chain__,R=!!this.__actions__.length,U=p&&!C,z=x&&!R;if(!p&&b){T=z?T:new X(this);var B=e.apply(T,h);return B.__actions__.push({func:Po,args:[L],thisArg:n}),new et(B,C)}return U&&z?e.apply(this,h):(B=this.thru(L),U?a?B.value()[0]:B.value():B)})}),Qe(["pop","push","shift","sort","splice","unshift"],function(e){var t=no[e],r=/^(?:push|sort|unshift)$/.test(e)?"tap":"thru",a=/^(?:pop|shift)$/.test(e);u.prototype[e]=function(){var c=arguments;if(a&&!this.__chain__){var p=this.value();return t.apply(H(p)?p:[],c)}return this[r](function(T){return t.apply(H(T)?T:[],c)})}}),yt(X.prototype,function(e,t){var r=u[t];if(r){var a=r.name+"";re.call(Fn,a)||(Fn[a]=[]),Fn[a].push({name:t,func:r})}}),Fn[Io(n,_e).name]=[{name:"wrapper",func:n}],X.prototype.clone=Wm,X.prototype.reverse=Gm,X.prototype.value=$m,u.prototype.at=hy,u.prototype.chain=yy,u.prototype.commit=xy,u.prototype.next=Sy,u.prototype.plant=wy,u.prototype.reverse=Ay,u.prototype.toJSON=u.prototype.valueOf=u.prototype.value=Iy,u.prototype.first=u.prototype.head,mr&&(u.prototype[mr]=vy),u},Zt=xm();typeof define=="function"&&typeof define.amd=="object"&&define.amd?(ve._=Zt,define(function(){return Zt})):cn?((cn.exports=Zt)._=Zt,zi._=Zt):ve._=Zt}).call(or)});var II={};hn(II,{ConfirmAddress:()=>AI});module.exports=Pr(II);s();var Pe=V(require("react")),Vt=V(require("classnames"));s();s();s();var Mf=require("react"),tr=require("react-redux");s();var Ma=require("@reduxjs/toolkit"),Nf=require("react-redux/lib/utils/Subscription");ae();s();var uf=V(require("lodash.throttle"));se();s();var lf=V(require("lodash.isequal")),gi=require("reselect");Ie();var D=(0,gi.createSelectorCreator)(gi.defaultMemoize,lf.default),Ur=(n,o)=>n!=""&&Boolean(o);ae();va();Zn();Yn();var K0=[Ko],mi=!1,Y0=(0,uf.default)(()=>{Or(Nr())},5e3),pf=n=>o=>i=>{var E;if(K0.includes(i.type))return o(i);let l=n.getState(),m=wn.local.getItem(nn.loginExpiresAt);if(!Ur((E=l==null?void 0:l.loginInfo)==null?void 0:E.loginMethod,l==null?void 0:l.account.address))return o(i);if(m==null)return Or(Nr());let S=Date.now();return m-S<0&&!mi?setTimeout(()=>{mi=!0,n.dispatch(Bp())},1e3):(mi&&(mi=!1),Y0()),o(i)};s();s();function Ti(){return typeof sessionStorage!="undefined"}var Pf=Ti()?(wf(),Pr(vf)).default:(If(),Pr(Af)).default,Df=Ti()?(bf(),Pr(_f)).default:[],Rf=Ti()?(kf(),Pr(Cf)).default:n=>n;hi();var ee=(0,Ma.configureStore)({reducer:Pf,middleware:n=>n({serializableCheck:{ignoredActions:[...Df,Sa.type,xa.type],ignoredPaths:["payload.nonce","account.account.nonce","providers.accountProvider"]}}).concat(pf)}),Of=(0,Nf.createSubscription)(ee),JL=Rf(ee),QL=(0,Ma.configureStore)({reducer:_n});var Tw={store:ee,subscription:Of},Fa=(0,Mf.createContext)(Tw),nE=(0,tr.createStoreHook)(Fa),Ge=(0,tr.createDispatchHook)(Fa),ne=(0,tr.createSelectorHook)(Fa);s();s();ae();var Gt=n=>n.account,nr=D(Gt,n=>n.address),Wr=D(Gt,nr,(n,o)=>o in n.accounts?n.accounts[o]:Zo),Ff=D(Gt,Wr,(n,o)=>{let m=n,{accounts:i}=m,l=Wo(m,["accounts"]);return Q(O({},l),{account:o})}),hw=D(Wr,n=>n.balance),yw=D(Wr,n=>{var o;return((o=n==null?void 0:n.nonce)==null?void 0:o.valueOf())||0}),sE=D(Gt,n=>n.shard),xw=D(Gt,n=>n.ledgerAccount),aE=D(Gt,n=>n.walletConnectAccount),cE=D(Gt,n=>n.isAccountLoading),lE=D(Gt,n=>n.accountLoadingError),Uf=D(Gt,n=>n.websocketEvent);s();var dt=n=>n.loginInfo,dE=D(dt,n=>n.loginMethod),Ua=D(dt,nr,(n,o)=>Ur(n.loginMethod,o)),gE=D(dt,n=>n.walletConnectLogin),mE=D(dt,n=>n.ledgerLogin),Sw=D(dt,n=>n.walletLogin),TE=D(dt,n=>n.isLoginSessionInvalid),Ba=D(dt,n=>n.tokenLogin),hE=D(dt,n=>n.logoutRoute);s();var Bf=n=>n.modals,SE=D(Bf,n=>n.txSubmittedModal),vw=D(Bf,n=>n.notificationModal);s();var $t=n=>n.networkConfig,yi=D($t,n=>n.chainID),ww=D($t,n=>n.network.walletConnectBridgeAddress),Aw=D($t,n=>n.network.walletConnectV2RelayAddress),Iw=D($t,n=>n.network.walletConnectV2ProjectId),_w=D($t,n=>n.network.walletConnectV2Options),Wf=D($t,n=>n.network.walletConnectDeepLink),on=D($t,n=>n.network),Gf=D(on,n=>n.apiAddress),$f=D(on,n=>n.explorerAddress),Hf=D(on,n=>n.egldLabel);s();var Wa=n=>n.signedMessageInfo,_E=D(Wa,n=>n.isSigning),bE=D(Wa,n=>n.errorMessage),LE=D(Wa,n=>{let o=Object.keys(n.signedSessions),i=o.length;return n.signedSessions[o[i-1]]});s();var Ga=n=>n.toasts,kE=D(Ga,n=>n.customToasts),PE=D(Ga,n=>n.transactionToasts),DE=D(Ga,n=>n.failTransactionToast);s();ae();var Vf={errorMessage:Ea,successMessage:Ca,processingMessage:ka},bw=n=>n.transactionsInfo,Lw=D(bw,(n,o)=>o,(n,o)=>o!=null&&(n==null?void 0:n[Number(o)])||Vf);s();s();var Xe=require("@multiversx/sdk-core");se();s();function $a(n){try{return d.Buffer.from(n,"base64").toString()===atob(n)}catch(o){return!1}}function xi(n){var m,v,S;let{data:o}=n,i=$a(o!=null?o:"")?Xe.TransactionPayload.fromEncoded(o):new Xe.TransactionPayload(o),l=new Xe.Transaction(O({value:n.value.valueOf(),data:i,nonce:n.nonce.valueOf(),receiver:new Xe.Address(n.receiver),sender:new Xe.Address(n.sender),gasLimit:(m=n.gasLimit.valueOf())!=null?m:Dr,gasPrice:(v=n.gasPrice.valueOf())!=null?v:zo,chainID:n.chainID.valueOf(),version:new Xe.TransactionVersion((S=n.version)!=null?S:Ap)},n.options?{options:new Xe.TransactionOptions(n.options)}:{}));return l.applySignature({hex:()=>n.signature||""},new Xe.Address(n.sender)),l}s();s();s();s();s();var Cw=require("@multiversx/sdk-core/out");s();se();s();var qf=require("@multiversx/sdk-core");Ie();s();var kw=require("@multiversx/sdk-core");s();s();s();var Dw=require("@multiversx/sdk-core"),Rw=V(require("bignumber.js"));ge();s();s();s();s();s();var Va="blocks";s();s();s();s();We();s();s();We();s();s();s();var Gw=V(require("bignumber.js"));se();s();var Ww=require("@multiversx/sdk-core"),qa=V(require("bignumber.js"));se();s();var Uw=V(require("bignumber.js"));s();qa.default.config({ROUNDING_MODE:qa.default.ROUND_FLOOR});s();s();s();se();s();s();s();s();se();s();se();s();var $w=require("@multiversx/sdk-core");se();s();var Gr=require("@multiversx/sdk-core"),qw=require("@multiversx/sdk-network-providers");se();s();s();var Hw=V(require("bignumber.js"));se();s();se();s();s();s();s();s();se();s();We();var Kw=["reDelegateRewards","claimRewards","unBond"],Yw=["wrapEgld","unwrapEgld"],Zw=["unStake"],Xw=["unDelegate"];s();s();s();se();s();var eA=V(require("bignumber.js"));s();s();s();s();We();s();var tA=V(require("bignumber.js"));s();s();s();var oA=V(require("bignumber.js"));Ie();s();s();s();s();ge();s();s();s();s();We();s();s();s();var iA=V(require("linkifyjs"));s();se();s();var sA=V(require("bignumber.js"));s();Ie();s();s();ge();s();ge();s();s();s();We();s();We();s();var aA=V(require("bignumber.js"));se();We();s();We();s();var td=require("react");Ie();s();s();We();s();s();var cA=require("@multiversx/sdk-core/out"),lA=V(require("bignumber.js"));We();s();Ie();s();s();Ie();var fR=[{label:"Raw",value:"raw"},{label:"Text",value:"text"},{label:"Decimal",value:"decimal"},{label:"Smart",value:"smart"}];s();var nd=require("react");Ie();s();var pA=require("react");We();var xR=["create","localMint","ESDTLocalMint","addQuantity","burn","localBurn","ESDTLocalBurn","wipe","writeLog","signalError"];er();var Ai=n=>n.transactions,rr=D(Ai,n=>n.signedTransactions),fA=D(Ai,n=>n.signTransactionsError),rd=D(Ai,n=>n.signTransactionsCancelMessage),Ii=n=>o=>Object.entries(o).reduce((i,[l,m])=>(n(m.status)&&(i[l]=m),i),{}),od=D(rr,Ii(Jn)),id=D(rr,Ii(Qn)),sd=D(rr,Ii(jn)),dA=D(rr,Ii(Da)),ad=D(Ai,n=>{var o;return(n==null?void 0:n.transactionsToSign)==null?null:Q(O({},n.transactionsToSign),{transactions:((o=n==null?void 0:n.transactionsToSign)==null?void 0:o.transactions.map(i=>xi(i)))||[]})}),gA=D(rr,(n,o)=>o,(n,o)=>o!=null?(n==null?void 0:n[o])||{}:{});s();var cd=require("react");s();ae();s();s();s();s();s();s();s();s();var mA=require("@multiversx/sdk-extension-provider"),TA=require("@multiversx/sdk-hw-provider"),hA=require("@multiversx/sdk-opera-provider"),yA=require("@multiversx/sdk-wallet-connect-provider/out/walletConnectProvider"),xA=require("@multiversx/sdk-wallet-connect-provider/out/walletConnectV2Provider"),SA=require("@multiversx/sdk-web-wallet-provider");se();ge();var Ht=n=>`Unable to perform ${n}, Provider not initialized`,Ka=class{init(){return Promise.resolve(!1)}login(o){throw new Error(Ht(`login with options: ${o}`))}logout(o){throw new Error(Ht(`logout with options: ${o}`))}getAddress(){throw new Error(Ht("getAddress"))}isInitialized(){return!1}isConnected(){return Promise.resolve(!1)}sendTransaction(o,i){throw new Error(Ht(`sendTransaction with transactions: ${o} options: ${i}`))}signTransaction(o,i){throw new Error(Ht(`signTransaction with transactions: ${o} options: ${i}`))}signTransactions(o,i){throw new Error(Ht(`signTransactions with transactions: ${o} options: ${i}`))}signMessage(o,i){throw new Error(Ht(`signTransactions with ${o} and options ${i}`))}sendCustomMessage({method:o,params:i}){throw new Error(Ht(`sendCustomMessage with method: ${o} params: ${i}`))}sendCustomRequest(o){throw new Error(Ht(`sendSessionEvent with options: ${o}`))}ping(){return Promise.resolve(!1)}},vA=new Ka;ae();s();s();var wA=V(require("axios"));s();s();s();ge();s();s();s();er();s();s();s();var AA=V(require("axios"));s();var IA=V(require("axios"));s();var bA=V(require("axios"));s();s();var LA=V(require("axios"));s();var EA=V(require("axios"));s();ae();ge();s();s();ae();s();s();var fd=require("@multiversx/sdk-core");s();ke();Ie();s();er();s();ae();ge();s();ae();Ie();s();s();s();Ie();s();s();s();s();var DA=V(require("axios")),RA=V(require("swr"));s();s();var dd=require("react");s();var MA=require("react"),Td=require("@multiversx/sdk-web-wallet-provider"),FA=V(require("qs"));se();ae();ge();s();s();var gd,vF={search:(gd=window==null?void 0:window.location)==null?void 0:gd.search,removeParams:[]};s();var hd=require("react");Aa();s();var vd=require("react"),zA=require("@multiversx/sdk-extension-provider");se();s();ae();ge();s();s();s();s();var Sd=require("react"),$A=require("@multiversx/sdk-extension-provider");se();s();s();var Xa=()=>ne(Ff);s();s();s();s();s();s();var $r=V(require("react"));var fU=(0,$r.createContext)({}),dU=ee.getState();s();var xd=V(require("react"));s();var Qa=V(require("react")),BA=V(require("axios"));s();s();ae();s();s();var KA=V(require("axios"));ae();Ie();Mr();s();vn();ae();s();s();var rI=require("react");s();s();s();ae();s();s();var XA=V(require("bignumber.js"));se();ae();Ie();s();var ZA=V(require("bignumber.js"));se();s();var JA=require("@multiversx/sdk-core"),QA=V(require("bignumber.js"));se();s();s();s();s();var Id=V(require("axios"));s();s();s();function wd(n){return K(this,null,function*(){return yield new Promise(o=>{setTimeout(()=>o(),n)})})}s();var Ad=(n,o,i,l=0)=>K(void 0,null,function*(){try{return yield n(...i)}catch(m){return l<o.retries?((o==null?void 0:o.delay)!=null&&(yield wd(o.delay)),yield Ad(n,o,i,l+1)):null}}),ec=(n,o={retries:5,delay:500})=>(...i)=>K(void 0,null,function*(){return yield Ad(n,o,i)});var jA=4;var nW=ec((n,o)=>K(void 0,null,function*(){let{data:i}=yield Id.default.get(`${n}/${Va}?from=${jA}&size=1&fields=hash,timestamp${o?"&shard="+o:""}`),[l]=i;return l}));s();s();Yo();s();s();var eI=V(_d());s();var bd,mW={origin:typeof window!="undefined"?(bd=window==null?void 0:window.location)==null?void 0:bd.origin:"",apiAddress:"https://api.multiversx.com",expirySeconds:60*60*24,tokenExpirationToastWarningSeconds:5*60};s();ge();er();s();var Ld=require("react");s();s();var iI=require("react"),sI=require("@multiversx/sdk-extension-provider");vn();ke();ge();s();An();s();var oI=require("react"),Ed=require("@multiversx/sdk-core");ae();s();var aI=require("react"),cI=require("@multiversx/sdk-opera-provider");vn();ke();ge();An();s();var pI=require("react");vn();ae();s();s();fa();s();s();var lI=V(require("platform"));s();ke();Ie();Mr();Zn();Yn();s();s();s();s();s();s();s();s();s();ge();s();Mr();Zn();s();s();s();ae();s();s();var uI=V(require("axios"));s();s();var Cd=require("react"),dI=require("@multiversx/sdk-hw-provider");vn();ke();ae();ge();An();s();var fI=require("react");s();var nc=require("react"),TI=require("@multiversx/sdk-wallet-connect-provider/out/walletConnectProvider");ke();ae();ge();An();s();var rc=require("react"),hI=require("@multiversx/sdk-wallet-connect-provider/out/walletConnectV2Provider");ke();ae();ge();An();s();s();var kd=require("react");s();var SI=require("react");s();var oc=require("react"),xI=require("socket.io-client");ae();s();s();s();s();var Pd=n=>n.dappModal,vI=D(Pd,n=>n.visible),Ei=D(Pd,n=>n.modal),z6=D(Ei,n=>n.showHeader),K6=D(Ei,n=>n.showFooter),Y6=D(Ei,n=>n.headerText),Z6=D(Ei,n=>n.footerText);s();var wI=`.dapp-core-component__confirmAddressStyles__ledger-confirm-address {
|
|
21
21
|
text-align: center;
|
|
22
22
|
padding: 48px 16px;
|
|
23
23
|
overflow: hidden;
|
|
@@ -71,7 +71,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
71
71
|
}
|
|
72
72
|
.dapp-core-component__confirmAddressStyles__ledger-confirm-address .dapp-core-component__confirmAddressStyles__ledger-confirm-address-footer a {
|
|
73
73
|
color: #1b46c2;
|
|
74
|
-
}`;document.head.appendChild(document.createElement("style")).appendChild(document.createTextNode(
|
|
74
|
+
}`;document.head.appendChild(document.createElement("style")).appendChild(document.createTextNode(wI));var gt={"ledger-confirm-address":"dapp-core-component__confirmAddressStyles__ledger-confirm-address",ledgerConfirmAddress:"dapp-core-component__confirmAddressStyles__ledger-confirm-address","ledger-confirm-address-heading":"dapp-core-component__confirmAddressStyles__ledger-confirm-address-heading",ledgerConfirmAddressHeading:"dapp-core-component__confirmAddressStyles__ledger-confirm-address-heading","ledger-confirm-address-section":"dapp-core-component__confirmAddressStyles__ledger-confirm-address-section",ledgerConfirmAddressSection:"dapp-core-component__confirmAddressStyles__ledger-confirm-address-section","ledger-confirm-address-description":"dapp-core-component__confirmAddressStyles__ledger-confirm-address-description",ledgerConfirmAddressDescription:"dapp-core-component__confirmAddressStyles__ledger-confirm-address-description","ledger-confirm-address-data":"dapp-core-component__confirmAddressStyles__ledger-confirm-address-data",ledgerConfirmAddressData:"dapp-core-component__confirmAddressStyles__ledger-confirm-address-data","ledger-confirm-address-footer":"dapp-core-component__confirmAddressStyles__ledger-confirm-address-footer",ledgerConfirmAddressFooter:"dapp-core-component__confirmAddressStyles__ledger-confirm-address-footer"};var AI=({token:n,className:o="dapp-ledger-confirm-address",customContentComponent:i,confirmAddressClassNames:l})=>{var ce,pe;let{ledgerAccount:m}=Xa(),{ledgerModalTitleClassName:v,ledgerModalConfirmDescriptionClassName:S,ledgerModalConfirmDataClassName:k,ledgerModalConfirmFooterClassName:E,ledgerModalConfirmContentClassName:N}=l||{},G=ne(Ba),M=(ce=G==null?void 0:G.loginToken)!=null?ce:n;return Pe.default.createElement("div",{className:(0,Vt.default)(gt.ledgerConfirmAddress,N,o)},Pe.default.createElement("h4",{className:(0,Vt.default)(gt.ledgerConfirmAddressHeading,v)},"Confirm Ledger Address"),i,Pe.default.createElement("div",{className:gt.ledgerConfirmAddressSection},Pe.default.createElement("div",{className:(0,Vt.default)(gt.ledgerConfirmAddressDescription,S)},"For security, please confirm that your address:"),Pe.default.createElement("div",{className:(0,Vt.default)(gt.ledgerConfirmAddressData,k)},Pe.default.createElement(Pe.default.Fragment,null,(pe=m==null?void 0:m.address)!=null?pe:""))),M&&Pe.default.createElement("div",{className:gt.ledgerConfirmAddressSection},Pe.default.createElement("div",{className:(0,Vt.default)(gt.ledgerConfirmAddressDescription,S)},"and Auth Token:"),Pe.default.createElement("div",{className:(0,Vt.default)(gt.ledgerConfirmAddressData,k)},`${M}{}`),Pe.default.createElement("div",{className:(0,Vt.default)(gt.ledgerConfirmAddressDescription,S)},M?"are the one shown on your Ledger device screen now.":"is the one shown on your Ledger device screen now.")),Pe.default.createElement("div",{className:(0,Vt.default)(gt.ledgerConfirmAddressFooter,E)},Pe.default.createElement("div",null,"Select Approve on your device to confirm."),Pe.default.createElement("div",null,"Or, if it does not match, close this page and"," ",Pe.default.createElement("a",{href:"https://help.multiversx.com/en/",target:"_blank",rel:"noreferrer"},"contact support"),".")))};0&&(module.exports={ConfirmAddress});
|
|
75
75
|
/*!
|
|
76
76
|
* The buffer module from node.js, for the browser.
|
|
77
77
|
*
|